blob: f3b9ef7f743040d5bd4bbbb9ff5896783cd27ff8 [file] [log] [blame]
/*! For license information please see pmml-envelope.js.LICENSE.txt */
(()=>{var e={11385:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Chart:()=>Sg,ChartArea:()=>_b,ChartAreaSortOrder:()=>bb,ChartAxis:()=>yb,ChartAxisTheme:()=>kp,ChartBar:()=>Vb,ChartBaseTheme:()=>Mp,ChartBullet:()=>B_,ChartBulletComparativeErrorMeasure:()=>g_,ChartBulletComparativeErrorMeasureTheme:()=>Dp,ChartBulletComparativeMeasure:()=>f_,ChartBulletComparativeMeasureTheme:()=>Np,ChartBulletComparativeWarningMeasure:()=>m_,ChartBulletComparativeWarningMeasureTheme:()=>Ip,ChartBulletGroupTitleTheme:()=>Tp,ChartBulletPrimaryDotMeasure:()=>N_,ChartBulletPrimaryDotMeasureTheme:()=>Lp,ChartBulletPrimaryNegativeMeasureTheme:()=>Bp,ChartBulletPrimarySegmentedMeasure:()=>I_,ChartBulletPrimarySegmentedMeasureTheme:()=>Op,ChartBulletQualitativeRange:()=>T_,ChartBulletQualitativeRangeTheme:()=>Fp,ChartBulletStyles:()=>Qf,ChartBulletTheme:()=>Pp,ChartCommonStyles:()=>Uf,ChartContainer:()=>uf,ChartCursorContainer:()=>ny,ChartCursorFlyout:()=>oy,ChartCursorTooltip:()=>uy,ChartDonut:()=>Iy,ChartDonutLabelPosition:()=>My,ChartDonutSortOrder:()=>Dy,ChartDonutStyles:()=>Gf,ChartDonutSubTitlePosition:()=>Ny,ChartDonutTheme:()=>zp,ChartDonutThreshold:()=>Fy,ChartDonutThresholdDonutOrientation:()=>Ty,ChartDonutThresholdDynamicTheme:()=>Vp,ChartDonutThresholdLabelOrientation:()=>Ly,ChartDonutThresholdLabelPosition:()=>By,ChartDonutThresholdSortOrder:()=>Oy,ChartDonutThresholdStaticTheme:()=>Wp,ChartDonutThresholdSubTitlePosition:()=>Py,ChartDonutUtilization:()=>Hy,ChartDonutUtilizationDynamicTheme:()=>Rp,ChartDonutUtilizationLabelPosition:()=>Ry,ChartDonutUtilizationLegendOrientation:()=>jy,ChartDonutUtilizationLegendPosition:()=>zy,ChartDonutUtilizationSortOrder:()=>Vy,ChartDonutUtilizationStaticTheme:()=>jp,ChartDonutUtilizationStyles:()=>Kf,ChartDonutUtilizationSubTitlePosition:()=>Wy,ChartGroup:()=>nA,ChartGroupSortOrder:()=>Xy,ChartLabel:()=>Zf,ChartLabelDirection:()=>Jf,ChartLabelPlacement:()=>qf,ChartLegend:()=>rg,ChartLegendOrientation:()=>ng,ChartLegendPosition:()=>ig,ChartLegendRowGutter:()=>og,ChartLegendTooltip:()=>rA,ChartLegendTooltipContent:()=>oA,ChartLegendTooltipLabel:()=>iA,ChartLegendTooltipStyles:()=>Yf,ChartLine:()=>wA,ChartLineSortOrder:()=>AA,ChartPie:()=>ky,ChartPieLabelPosition:()=>xy,ChartPieLegendPosition:()=>Sy,ChartPieSortOrder:()=>Ey,ChartPoint:()=>tg,ChartScatter:()=>D_,ChartScatterSortOrder:()=>M_,ChartScatterStyles:()=>$f,ChartStack:()=>LA,ChartThemeColor:()=>Sp,ChartThemeVariant:()=>Ep,ChartThreshold:()=>BA,ChartThresholdTheme:()=>Hp,ChartTooltip:()=>p_,ChartVoronoiContainer:()=>Jw,ChartVoronoiDimension:()=>$w,createContainer:()=>Qw,doesLegendFit:()=>gg,getAxisTheme:()=>Qp,getBulletComparativeErrorMeasureTheme:()=>Kp,getBulletComparativeMeasureTheme:()=>Yp,getBulletComparativeWarningMeasureTheme:()=>$p,getBulletGroupTitleTheme:()=>Jp,getBulletLabelX:()=>lg,getBulletLabelY:()=>cg,getBulletLegendY:()=>_g,getBulletPrimaryDotMeasureTheme:()=>qp,getBulletPrimaryNegativeMeasureTheme:()=>Zp,getBulletPrimarySegmentedMeasureTheme:()=>Xp,getBulletQualitativeRangeTheme:()=>ef,getBulletTheme:()=>Gp,getChartLegendX:()=>yg,getChartLegendY:()=>Ag,getClassName:()=>df,getComputedLegend:()=>pg,getCursorTooltipCenterOffset:()=>ry,getCursorTooltipPoniterOrientation:()=>ay,getCustomTheme:()=>Up,getDarkThemeColors:()=>af,getDomain:()=>Jb,getDomains:()=>qb,getDonutTheme:()=>tf,getDonutThresholdDynamicTheme:()=>nf,getDonutThresholdStaticTheme:()=>of,getDonutUtilizationTheme:()=>rf,getInteractiveLegendEvents:()=>Gw,getInteractiveLegendItemStyles:()=>Kw,getLabelTextSize:()=>hg,getLegendDimensions:()=>fg,getLegendItemsPerRow:()=>mg,getLegendTooltipDataProps:()=>sy,getLegendTooltipSize:()=>ly,getLegendTooltipVisibleData:()=>cy,getLegendTooltipVisibleText:()=>dy,getLegendX:()=>vg,getLegendY:()=>bg,getLightThemeColors:()=>sf,getMaxLegendTextSize:()=>xg,getPaddingForSide:()=>ag,getPieLabelX:()=>dg,getPieLabelY:()=>ug,getPieLegendX:()=>wg,getPieLegendY:()=>Cg,getPieOrigin:()=>sg,getTheme:()=>lf,getThresholdTheme:()=>cf});var i={};n.r(i),n.d(i,{interpolateCool:()=>Rr,interpolateCubehelixDefault:()=>Pr,interpolateInferno:()=>Ur,interpolateMagma:()=>Hr,interpolatePlasma:()=>Qr,interpolateRainbow:()=>zr,interpolateViridis:()=>Wr,interpolateWarm:()=>Fr,scaleBand:()=>dt,scaleIdentity:()=>In,scaleImplicit:()=>lt,scaleLinear:()=>Nn,scaleLog:()=>jn,scaleOrdinal:()=>ct,scalePoint:()=>ht,scalePow:()=>Vn,scaleQuantile:()=>Hn,scaleQuantize:()=>Un,scaleSequential:()=>Gr,scaleSqrt:()=>Wn,scaleThreshold:()=>Qn,scaleTime:()=>lr,scaleUtc:()=>gr,schemeCategory10:()=>vr,schemeCategory20:()=>yr,schemeCategory20b:()=>br,schemeCategory20c:()=>_r});var o={};n.r(o),n.d(o,{easeBack:()=>Cd,easeBackIn:()=>Ad,easeBackInOut:()=>Cd,easeBackOut:()=>wd,easeBounce:()=>bd,easeBounceIn:()=>vd,easeBounceInOut:()=>_d,easeBounceOut:()=>bd,easeCircle:()=>gd,easeCircleIn:()=>pd,easeCircleInOut:()=>gd,easeCircleOut:()=>fd,easeCubic:()=>ed,easeCubicIn:()=>Zc,easeCubicInOut:()=>ed,easeCubicOut:()=>Xc,easeElastic:()=>Ed,easeElasticIn:()=>Sd,easeElasticInOut:()=>kd,easeElasticOut:()=>Ed,easeExp:()=>hd,easeExpIn:()=>dd,easeExpInOut:()=>hd,easeExpOut:()=>ud,easeLinear:()=>Yc,easePoly:()=>id,easePolyIn:()=>td,easePolyInOut:()=>id,easePolyOut:()=>nd,easeQuad:()=>qc,easeQuadIn:()=>$c,easeQuadInOut:()=>qc,easeQuadOut:()=>Jc,easeSin:()=>ld,easeSinIn:()=>ad,easeSinInOut:()=>ld,easeSinOut:()=>sd});var r={};n.r(r),n.d(r,{arc:()=>em,area:()=>am,areaRadial:()=>gm,curveBasis:()=>$m,curveBasisClosed:()=>qm,curveBasisOpen:()=>Xm,curveBundle:()=>tv,curveCardinal:()=>ov,curveCardinalClosed:()=>av,curveCardinalOpen:()=>lv,curveCatmullRom:()=>uv,curveCatmullRomClosed:()=>pv,curveCatmullRomOpen:()=>gv,curveLinear:()=>nm,curveLinearClosed:()=>vv,curveMonotoneX:()=>Sv,curveMonotoneY:()=>Ev,curveNatural:()=>Dv,curveStep:()=>Iv,curveStepAfter:()=>Lv,curveStepBefore:()=>Tv,line:()=>rm,lineRadial:()=>fm,linkHorizontal:()=>xm,linkRadial:()=>Em,linkVertical:()=>Sm,pie:()=>cm,pointRadial:()=>mm,radialArea:()=>gm,radialLine:()=>fm,stack:()=>Fv,stackOffsetDiverging:()=>jv,stackOffsetExpand:()=>Rv,stackOffsetNone:()=>Bv,stackOffsetSilhouette:()=>zv,stackOffsetWiggle:()=>Vv,stackOrderAppearance:()=>Wv,stackOrderAscending:()=>Uv,stackOrderDescending:()=>Gv,stackOrderInsideOut:()=>Kv,stackOrderNone:()=>Ov,stackOrderReverse:()=>Yv,symbol:()=>Qm,symbolCircle:()=>km,symbolCross:()=>Mm,symbolDiamond:()=>Im,symbolSquare:()=>Pm,symbolStar:()=>Om,symbolTriangle:()=>Rm,symbolWye:()=>Hm,symbols:()=>Um});var a=n(78951),s=n(29901),l=n(10063),c=n.n(l);const d=16;var u=n(29787),h=n.n(u),p=n(14198),f=n.n(p),g=n(70241),m=n.n(g),v=n(7862),b=n.n(v),_=n(54256),y=n.n(_),A=n(31682),w=n.n(A),C=n(3010),x=n.n(C),S=n(39907),E=n.n(S),k=n(29040),M=n.n(k),D=n(90292),N=n.n(D),I=n(45563),T=n.n(I),L=n(62923),B=n.n(L),O=n(92238),P=n.n(O),F=n(42876),R=n.n(F),j=n(40916),z=n.n(j),V=n(38569),W=n.n(V),H=n(89941),U=n.n(H),Q=n(93702),G=n.n(Q),K=n(80229),Y=n.n(K);function $(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function J(e){return Array.isArray(e)&&e.length>0}function q(e){return Array.isArray(e)&&e.some((function(e){return"string"==typeof e}))}function Z(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}function X(e){return J(e)&&e.every(Array.isArray)}function ee(e){return e.filter((function(e){return void 0!==e}))}function te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=e.concat(n);return Z(o)?new Date(Math.max.apply(Math,$(o))):Math.max.apply(Math,$(o))}function ne(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=e.concat(n);return Z(o)?new Date(Math.min.apply(Math,$(o))):Math.min.apply(Math,$(o))}var ie=n(19553),oe=n.n(ie),re=n(26707),ae=n.n(re),se=n(55371),le=n.n(se),ce=n(86474),de=n.n(ce),ue=n(85466),he=n.n(ue),pe=n(94437),fe=n.n(pe),ge=n(77875),me=n.n(ge),ve=n(62096),be=n.n(ve),_e=n(49335),ye=n.n(_e);function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function we(e){var t=function(e){return void 0!==e},n=e._x,i=e._x1,o=e._x0,r=e._voronoiX,a=e._y,s=e._y1,l=e._y0,c=e._voronoiY,d=t(i)?i:n,u=t(s)?s:a,h={x:t(r)?r:d,x0:t(o)?o:n,y:t(c)?c:u,y0:t(l)?l:a};return m()({},h,e)}function Ce(e,t){var n=e.scale,i=e.polar,o=e.horizontal,r=we(t),a=e.origin||{x:0,y:0},s=o?n.y(r.y):n.x(r.x),l=o?n.y(r.y0):n.x(r.x0),c=o?n.x(r.x):n.y(r.y),d=o?n.x(r.x0):n.y(r.y0);return{x:i?c*Math.cos(s)+a.x:s,x0:i?d*Math.cos(l)+a.x:l,y:i?-c*Math.sin(s)+a.y:c,y0:i?-d*Math.sin(l)+a.x:d}}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"padding",n=e[t],i="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||i,bottom:o.bottom||i,left:o.left||i,right:o.right||i}}function Se(e){return"tooltip"===(e&&e.type&&e.type.role)}function Ee(e,t){var n=e.theme,i=void 0===n?{}:n,o=e.labelComponent,r=i[t]&&i[t].style||{};if(!Se(o))return r;var a=i.tooltip&&i.tooltip.style||{},s=m()({},a,r.labels);return m()({},{labels:s},r)}function ke(e,t){var n="100%",i="100%";if(!e)return m()({parent:{height:i,width:n}},t);var o=e.data,r=e.labels,a=e.parent,s=t&&t.parent||{},l=t&&t.labels||{},c=t&&t.data||{};return{parent:m()({},a,s,{width:n,height:i}),labels:m()({},r,l),data:m()({},o,c)}}function Me(e,t){return T()(e)?e(t):e}function De(e,t){return t.disableInlineStyles?{}:e&&be()(e).some((function(t){return T()(e[t])}))?be()(e).reduce((function(n,i){return n[i]=Me(e[i],t),n}),{}):e}function Ne(e){return"number"==typeof e?e*(Math.PI/180):e}function Ie(e){return"number"==typeof e?e/(Math.PI/180):e}function Te(e){var t=xe(e),n=t.left,i=t.right,o=t.top,r=t.bottom,a=e.width,s=e.height;return Math.min(a-n-i,s-o-r)/2}function Le(e){var t=e.width,n=e.height,i=xe(e),o=i.top,r=i.bottom,a=i.left,s=i.right,l=Math.min(t-a-s,n-o-r)/2,c=t/2+a-s,d=n/2+o-r;return{x:c+l>t?l+a-s:c,y:d+l>n?l+o-r:d}}function Be(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e,t){return"x"===t?[Ne(e.startAngle||0),Ne(e.endAngle||360)]:[e.innerRadius||0,Te(e)]}(e,t):function(e,t){var n="x"!==t,i=xe(e);return n?[e.height-i.bottom,i.top]:[i.left,e.width-i.right]}(e,t)}function Oe(e){return T()(e)?e:null==e?function(e){return e}:fe()(e)}function Pe(e,t,n){var i=Ae(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),o=function(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,n){var i=n.props||{};return e||i.horizontal||!i.children?e=e||i.horizontal:t(s.Children.toArray(i.children))}),!1)};return t(s.Children.toArray(e.children))}(e),r=void 0===o?{}:{horizontal:o};return m()(r,e,i,t)}function Fe(e,t){return t?"x"===e?"y":"x":e}function Re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},r=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],a=function(e,l,c){return e.reduce((function(e,i,d){var u=i.type&&i.type.role,h=i.props.name||"".concat(u,"-").concat(l[d]);if(i.props&&i.props.children){var p=f()({},i.props,ye()(n,r)),g=i.type&&"stack"===i.type.role&&T()(i.type.getChildren)?i.type.getChildren(p):s.Children.toArray(i.props.children).map((function(e){var t=f()({},e.props,ye()(p,r));return s.cloneElement(e,t)})),m=g.map((function(e,t){return"".concat(h,"-").concat(t)})),v=a(g,m,i);e=o(e,v)}else{var b=t(i,h,c);b&&(e=o(e,b))}return e}),i)},l=e.map((function(e,t){return t}));return a(e,l)}function je(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ze(e){var t;return 1===e.length&&(t=e,e=function(e,n){return je(t(e),n)}),{left:function(t,n,i,o){for(null==i&&(i=0),null==o&&(o=t.length);i<o;){var r=i+o>>>1;e(t[r],n)<0?i=r+1:o=r}return i},right:function(t,n,i,o){for(null==i&&(i=0),null==o&&(o=t.length);i<o;){var r=i+o>>>1;e(t[r],n)>0?o=r:i=r+1}return i}}}var Ve=ze(je),We=Ve.right;Ve.left;const He=We;var Ue=Array.prototype,Qe=(Ue.slice,Ue.map,Math.sqrt(50)),Ge=Math.sqrt(10),Ke=Math.sqrt(2);function Ye(e,t,n){var i,o,r,a,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((i=t<e)&&(o=e,e=t,t=o),0===(a=$e(e,t,n))||!isFinite(a))return[];if(a>0)for(e=Math.ceil(e/a),t=Math.floor(t/a),r=new Array(o=Math.ceil(t-e+1));++s<o;)r[s]=(e+s)*a;else for(e=Math.floor(e*a),t=Math.ceil(t*a),r=new Array(o=Math.ceil(e-t+1));++s<o;)r[s]=(e-s)/a;return i&&r.reverse(),r}function $e(e,t,n){var i=(t-e)/Math.max(0,n),o=Math.floor(Math.log(i)/Math.LN10),r=i/Math.pow(10,o);return o>=0?(r>=Qe?10:r>=Ge?5:r>=Ke?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(r>=Qe?10:r>=Ge?5:r>=Ke?2:1)}function Je(e,t,n){var i=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),r=i/o;return r>=Qe?o*=10:r>=Ge?o*=5:r>=Ke&&(o*=2),t<e?-o:o}function qe(e){return null===e?NaN:+e}function Ze(e,t,n){if(null==n&&(n=qe),i=e.length){if((t=+t)<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,o=(i-1)*t,r=Math.floor(o),a=+n(e[r],r,e);return a+(+n(e[r+1],r+1,e)-a)*(o-r)}}var Xe="$";function et(){}function tt(e,t){var n=new et;if(e instanceof et)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var i,o=-1,r=e.length;if(null==t)for(;++o<r;)n.set(o,e[o]);else for(;++o<r;)n.set(t(i=e[o],o,e),i)}else if(e)for(var a in e)n.set(a,e[a]);return n}et.prototype=tt.prototype={constructor:et,has:function(e){return Xe+e in this},get:function(e){return this[Xe+e]},set:function(e,t){return this[Xe+e]=t,this},remove:function(e){var t=Xe+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===Xe&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===Xe&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===Xe&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===Xe&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===Xe&&++e;return e},empty:function(){for(var e in this)if(e[0]===Xe)return!1;return!0},each:function(e){for(var t in this)t[0]===Xe&&e(this[t],t.slice(1),this)}};const nt=tt;function it(){}var ot=nt.prototype;it.prototype=function(e,t){var n=new it;if(e instanceof it)e.each((function(e){n.add(e)}));else if(e){var i=-1,o=e.length;if(null==t)for(;++i<o;)n.add(e[i]);else for(;++i<o;)n.add(t(e[i],i,e))}return n}.prototype={constructor:it,has:ot.has,add:function(e){return this[Xe+(e+="")]=e,this},remove:ot.remove,clear:ot.clear,values:ot.keys,size:ot.size,empty:ot.empty,each:ot.each};var rt=Array.prototype,at=rt.map,st=rt.slice,lt={name:"implicit"};function ct(e){var t=nt(),n=[],i=lt;function o(o){var r=o+"",a=t.get(r);if(!a){if(i!==lt)return i;t.set(r,a=n.push(o))}return e[(a-1)%e.length]}return e=null==e?[]:st.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=nt();for(var i,r,a=-1,s=e.length;++a<s;)t.has(r=(i=e[a])+"")||t.set(r,n.push(i));return o},o.range=function(t){return arguments.length?(e=st.call(t),o):e.slice()},o.unknown=function(e){return arguments.length?(i=e,o):i},o.copy=function(){return ct().domain(n).range(e).unknown(i)},o}function dt(){var e,t,n=ct().unknown(void 0),i=n.domain,o=n.range,r=[0,1],a=!1,s=0,l=0,c=.5;function d(){var n=i().length,d=r[1]<r[0],u=r[d-0],h=r[1-d];e=(h-u)/Math.max(1,n-s+2*l),a&&(e=Math.floor(e)),u+=(h-u-e*(n-s))*c,t=e*(1-s),a&&(u=Math.round(u),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var i=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),r=new Array(o);++i<o;)r[i]=e+i*n;return r}(n).map((function(t){return u+e*t}));return o(d?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(i(e),d()):i()},n.range=function(e){return arguments.length?(r=[+e[0],+e[1]],d()):r.slice()},n.rangeRound=function(e){return r=[+e[0],+e[1]],a=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,d()):a},n.padding=function(e){return arguments.length?(s=l=Math.max(0,Math.min(1,e)),d()):s},n.paddingInner=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),d()):s},n.paddingOuter=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),d()):l},n.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),d()):c},n.copy=function(){return dt().domain(i()).range(r).round(a).paddingInner(s).paddingOuter(l).align(c)},d()}function ut(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ut(t())},e}function ht(){return ut(dt().paddingInner(1))}function pt(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function ft(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function gt(e,t){var n=Object.create(e.prototype);for(var i in t)n[i]=t[i];return n}function mt(){}var vt=.7,bt=1/vt,_t="\\s*([+-]?\\d+)\\s*",yt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",At="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wt=/^#([0-9a-f]{3,8})$/,Ct=new RegExp("^rgb\\("+[_t,_t,_t]+"\\)$"),xt=new RegExp("^rgb\\("+[At,At,At]+"\\)$"),St=new RegExp("^rgba\\("+[_t,_t,_t,yt]+"\\)$"),Et=new RegExp("^rgba\\("+[At,At,At,yt]+"\\)$"),kt=new RegExp("^hsl\\("+[yt,At,At]+"\\)$"),Mt=new RegExp("^hsla\\("+[yt,At,At,yt]+"\\)$"),Dt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Nt(){return this.rgb().formatHex()}function It(){return this.rgb().formatRgb()}function Tt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=wt.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Lt(t):3===n?new Ft(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Bt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Bt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ct.exec(e))?new Ft(t[1],t[2],t[3],1):(t=xt.exec(e))?new Ft(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=St.exec(e))?Bt(t[1],t[2],t[3],t[4]):(t=Et.exec(e))?Bt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=kt.exec(e))?Vt(t[1],t[2]/100,t[3]/100,1):(t=Mt.exec(e))?Vt(t[1],t[2]/100,t[3]/100,t[4]):Dt.hasOwnProperty(e)?Lt(Dt[e]):"transparent"===e?new Ft(NaN,NaN,NaN,0):null}function Lt(e){return new Ft(e>>16&255,e>>8&255,255&e,1)}function Bt(e,t,n,i){return i<=0&&(e=t=n=NaN),new Ft(e,t,n,i)}function Ot(e){return e instanceof mt||(e=Tt(e)),e?new Ft((e=e.rgb()).r,e.g,e.b,e.opacity):new Ft}function Pt(e,t,n,i){return 1===arguments.length?Ot(e):new Ft(e,t,n,null==i?1:i)}function Ft(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}function Rt(){return"#"+zt(this.r)+zt(this.g)+zt(this.b)}function jt(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function zt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Vt(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ht(e,t,n,i)}function Wt(e){if(e instanceof Ht)return new Ht(e.h,e.s,e.l,e.opacity);if(e instanceof mt||(e=Tt(e)),!e)return new Ht;if(e instanceof Ht)return e;var t=(e=e.rgb()).r/255,n=e.g/255,i=e.b/255,o=Math.min(t,n,i),r=Math.max(t,n,i),a=NaN,s=r-o,l=(r+o)/2;return s?(a=t===r?(n-i)/s+6*(n<i):n===r?(i-t)/s+2:(t-n)/s+4,s/=l<.5?r+o:2-r-o,a*=60):s=l>0&&l<1?0:a,new Ht(a,s,l,e.opacity)}function Ht(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function Ut(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Qt(e,t,n,i,o){var r=e*e,a=r*e;return((1-3*e+3*r-a)*t+(4-6*r+3*a)*n+(1+3*e+3*r-3*a)*i+a*o)/6}function Gt(e){return function(){return e}}function Kt(e,t){return function(n){return e+n*t}}function Yt(e,t){var n=t-e;return n?Kt(e,n):Gt(isNaN(e)?t:e)}ft(mt,Tt,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Nt,formatHex:Nt,formatHsl:function(){return Wt(this).formatHsl()},formatRgb:It,toString:It}),ft(Ft,Pt,gt(mt,{brighter:function(e){return e=null==e?bt:Math.pow(bt,e),new Ft(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?vt:Math.pow(vt,e),new Ft(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Rt,formatHex:Rt,formatRgb:jt,toString:jt})),ft(Ht,(function(e,t,n,i){return 1===arguments.length?Wt(e):new Ht(e,t,n,null==i?1:i)}),gt(mt,{brighter:function(e){return e=null==e?bt:Math.pow(bt,e),new Ht(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?vt:Math.pow(vt,e),new Ht(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,o=2*n-i;return new Ft(Ut(e>=240?e-240:e+120,o,i),Ut(e,o,i),Ut(e<120?e+240:e-120,o,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const $t=function e(t){var n=function(e){return 1==(e=+e)?Yt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(i){return Math.pow(e+i*t,n)}}(t,n,e):Gt(isNaN(t)?n:t)}}(t);function i(e,t){var i=n((e=Pt(e)).r,(t=Pt(t)).r),o=n(e.g,t.g),r=n(e.b,t.b),a=Yt(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=r(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function Jt(e){return function(t){var n,i,o=t.length,r=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)i=Pt(t[n]),r[n]=i.r||0,a[n]=i.g||0,s[n]=i.b||0;return r=e(r),a=e(a),s=e(s),i.opacity=1,function(e){return i.r=r(e),i.g=a(e),i.b=s(e),i+""}}}function qt(e,t){var n,i=t?t.length:0,o=e?Math.min(i,e.length):0,r=new Array(o),a=new Array(i);for(n=0;n<o;++n)r[n]=rn(e[n],t[n]);for(;n<i;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=r[n](e);return a}}function Zt(e,t){var n=new Date;return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function Xt(e,t){var n,i={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=rn(e[n],t[n]):o[n]=t[n];return function(e){for(n in i)o[n]=i[n](e);return o}}Jt((function(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],r=e[i+1],a=i>0?e[i-1]:2*o-r,s=i<t-1?e[i+2]:2*r-o;return Qt((n-i/t)*t,a,o,r,s)}})),Jt((function(e){var t=e.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*t),o=e[(i+t-1)%t],r=e[i%t],a=e[(i+1)%t],s=e[(i+2)%t];return Qt((n-i/t)*t,o,r,a,s)}}));var en=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tn=new RegExp(en.source,"g");function nn(e,t){var n,i,o,r=en.lastIndex=tn.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=en.exec(e))&&(i=tn.exec(t));)(o=i.index)>r&&(o=t.slice(r,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:pt(n,i)})),r=tn.lastIndex;return r<t.length&&(o=t.slice(r),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,i=0;i<t;++i)s[(n=l[i]).i]=n.x(e);return s.join("")})}function on(e,t){t||(t=[]);var n,i=e?Math.min(t.length,e.length):0,o=t.slice();return function(r){for(n=0;n<i;++n)o[n]=e[n]*(1-r)+t[n]*r;return o}}function rn(e,t){var n,i,o=typeof t;return null==t||"boolean"===o?Gt(t):("number"===o?pt:"string"===o?(n=Tt(t))?(t=n,$t):nn:t instanceof Tt?$t:t instanceof Date?Zt:(i=t,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(t)?qt:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Xt:pt:on))(e,t)}function an(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function sn(e){return function(){return e}}function ln(e){return+e}var cn=[0,1];function dn(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:sn(t)}function un(e,t,n,i){var o=e[0],r=e[1],a=t[0],s=t[1];return r<o?(o=n(r,o),a=i(s,a)):(o=n(o,r),a=i(a,s)),function(e){return a(o(e))}}function hn(e,t,n,i){var o=Math.min(e.length,t.length)-1,r=new Array(o),a=new Array(o),s=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<o;)r[s]=n(e[s],e[s+1]),a[s]=i(t[s],t[s+1]);return function(t){var n=He(e,t,1,o)-1;return a[n](r[n](t))}}function pn(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function fn(e,t){var n,i,o,r=cn,a=cn,s=rn,l=!1;function c(){return n=Math.min(r.length,a.length)>2?hn:un,i=o=null,d}function d(t){return(i||(i=n(r,a,l?function(e){return function(t,n){var i=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:i(e)}}}(e):e,s)))(+t)}return d.invert=function(e){return(o||(o=n(a,r,dn,l?function(e){return function(t,n){var i=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:i(e)}}}(t):t)))(+e)},d.domain=function(e){return arguments.length?(r=at.call(e,ln),c()):r.slice()},d.range=function(e){return arguments.length?(a=st.call(e),c()):a.slice()},d.rangeRound=function(e){return a=st.call(e),s=an,c()},d.clamp=function(e){return arguments.length?(l=!!e,c()):l},d.interpolate=function(e){return arguments.length?(s=e,c()):s},c()}var gn,mn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vn(e){if(!(t=mn.exec(e)))throw new Error("invalid format: "+e);var t;return new bn({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function bn(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function _n(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,i=e.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}function yn(e){return(e=_n(Math.abs(e)))?e[1]:NaN}function An(e,t){var n=_n(e,t);if(!n)return e+"";var i=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}vn.prototype=bn.prototype,bn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const wn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return An(100*e,t)},r:An,s:function(e,t){var n=_n(e,t);if(!n)return e+"";var i=n[0],o=n[1],r=o-(gn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=i.length;return r===a?i:r>a?i+new Array(r-a+1).join("0"):r>0?i.slice(0,r)+"."+i.slice(r):"0."+new Array(1-r).join("0")+_n(e,Math.max(0,t+r-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Cn(e){return e}var xn,Sn,En,kn=Array.prototype.map,Mn=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"];function Dn(e){var t=e.domain;return e.ticks=function(e){var n=t();return Ye(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return function(e,t,n){var i,o=e[0],r=e[e.length-1],a=Je(o,r,null==t?10:t);switch((n=vn(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(o),Math.abs(r));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(yn(t)/3)))-yn(Math.abs(e)))}(a,s))||(n.precision=i),En(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,yn(t)-yn(e))+1}(a,Math.max(Math.abs(o),Math.abs(r))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-yn(Math.abs(e)))}(a))||(n.precision=i-2*("%"===n.type))}return Sn(n)}(t(),e,n)},e.nice=function(n){null==n&&(n=10);var i,o=t(),r=0,a=o.length-1,s=o[r],l=o[a];return l<s&&(i=s,s=l,l=i,i=r,r=a,a=i),(i=$e(s,l,n))>0?i=$e(s=Math.floor(s/i)*i,l=Math.ceil(l/i)*i,n):i<0&&(i=$e(s=Math.ceil(s*i)/i,l=Math.floor(l*i)/i,n)),i>0?(o[r]=Math.floor(s/i)*i,o[a]=Math.ceil(l/i)*i,t(o)):i<0&&(o[r]=Math.ceil(s*i)/i,o[a]=Math.floor(l*i)/i,t(o)),e},e}function Nn(){var e=fn(dn,pt);return e.copy=function(){return pn(e,Nn())},Dn(e)}function In(){var e=[0,1];function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=at.call(n,ln),t):e.slice()},t.copy=function(){return In().domain(e)},Dn(t)}function Tn(e,t){var n,i=0,o=(e=e.slice()).length-1,r=e[i],a=e[o];return a<r&&(n=i,i=o,o=n,n=r,r=a,a=n),e[i]=t.floor(r),e[o]=t.ceil(a),e}function Ln(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:sn(t)}function Bn(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function On(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Pn(e){return 10===e?On:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function Fn(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function Rn(e){return function(t){return-e(-t)}}function jn(){var e=fn(Ln,Bn).domain([1,10]),t=e.domain,n=10,i=Fn(10),o=Pn(10);function r(){return i=Fn(n),o=Pn(n),t()[0]<0&&(i=Rn(i),o=Rn(o)),e}return e.base=function(e){return arguments.length?(n=+e,r()):n},e.domain=function(e){return arguments.length?(t(e),r()):t()},e.ticks=function(e){var r,a=t(),s=a[0],l=a[a.length-1];(r=l<s)&&(h=s,s=l,l=h);var c,d,u,h=i(s),p=i(l),f=null==e?10:+e,g=[];if(!(n%1)&&p-h<f){if(h=Math.round(h)-1,p=Math.round(p)+1,s>0){for(;h<p;++h)for(d=1,c=o(h);d<n;++d)if(!((u=c*d)<s)){if(u>l)break;g.push(u)}}else for(;h<p;++h)for(d=n-1,c=o(h);d>=1;--d)if(!((u=c*d)<s)){if(u>l)break;g.push(u)}}else g=Ye(h,p,Math.min(p-h,f)).map(o);return r?g.reverse():g},e.tickFormat=function(t,r){if(null==r&&(r=10===n?".0e":","),"function"!=typeof r&&(r=Sn(r)),t===1/0)return r;null==t&&(t=10);var a=Math.max(1,n*t/e.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*n<n-.5&&(t*=n),t<=a?r(e):""}},e.nice=function(){return t(Tn(t(),{floor:function(e){return o(Math.floor(i(e)))},ceil:function(e){return o(Math.ceil(i(e)))}}))},e.copy=function(){return pn(e,jn().base(n))},e}function zn(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function Vn(){var e=1,t=fn((function(t,n){return(n=zn(n,e)-(t=zn(t,e)))?function(i){return(zn(i,e)-t)/n}:sn(n)}),(function(t,n){return n=zn(n,e)-(t=zn(t,e)),function(i){return zn(t+n*i,1/e)}})),n=t.domain;return t.exponent=function(t){return arguments.length?(e=+t,n(n())):e},t.copy=function(){return pn(t,Vn().exponent(e))},Dn(t)}function Wn(){return Vn().exponent(.5)}function Hn(){var e=[],t=[],n=[];function i(){var i=0,r=Math.max(1,t.length);for(n=new Array(r-1);++i<r;)n[i-1]=Ze(e,i/r);return o}function o(e){if(!isNaN(e=+e))return t[He(n,e)]}return o.invertExtent=function(i){var o=t.indexOf(i);return o<0?[NaN,NaN]:[o>0?n[o-1]:e[0],o<n.length?n[o]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,o=0,r=t.length;o<r;++o)null==(n=t[o])||isNaN(n=+n)||e.push(n);return e.sort(je),i()},o.range=function(e){return arguments.length?(t=st.call(e),i()):t.slice()},o.quantiles=function(){return n.slice()},o.copy=function(){return Hn().domain(e).range(t)},o}function Un(){var e=0,t=1,n=1,i=[.5],o=[0,1];function r(e){if(e<=e)return o[He(i,e,0,n)]}function a(){var o=-1;for(i=new Array(n);++o<n;)i[o]=((o+1)*t-(o-n)*e)/(n+1);return r}return r.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],a()):[e,t]},r.range=function(e){return arguments.length?(n=(o=st.call(e)).length-1,a()):o.slice()},r.invertExtent=function(r){var a=o.indexOf(r);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=n?[i[n-1],t]:[i[a-1],i[a]]},r.copy=function(){return Un().domain([e,t]).range(o)},Dn(r)}function Qn(){var e=[.5],t=[0,1],n=1;function i(i){if(i<=i)return t[He(e,i,0,n)]}return i.domain=function(o){return arguments.length?(e=st.call(o),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(o){return arguments.length?(t=st.call(o),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var i=t.indexOf(n);return[e[i-1],e[i]]},i.copy=function(){return Qn().domain(e).range(t)},i}xn=function(e){var t,n,i=void 0===e.grouping||void 0===e.thousands?Cn:(t=kn.call(e.grouping,Number),n=e.thousands+"",function(e,i){for(var o=e.length,r=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),r.push(e.substring(o-=s,o+s)),!((l+=s+1)>i));)s=t[a=(a+1)%t.length];return r.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Cn:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(kn.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",d=void 0===e.nan?"NaN":e.nan+"";function u(e){var t=(e=vn(e)).fill,n=e.align,u=e.sign,h=e.symbol,p=e.zero,f=e.width,g=e.comma,m=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):wn[b]||(void 0===m&&(m=12),v=!0,b="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var _="$"===h?o:"#"===h&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",y="$"===h?r:/[%p]/.test(b)?l:"",A=wn[b],w=/[defgprs%]/.test(b);function C(e){var o,r,l,h=_,C=y;if("c"===b)C=A(e)+C,e="";else{var x=(e=+e)<0||1/e<0;if(e=isNaN(e)?d:A(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,i=1,o=-1;i<n;++i)switch(e[i]){case".":o=t=i;break;case"0":0===o&&(o=i),t=i;break;default:if(!+e[i])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),x&&0==+e&&"+"!==u&&(x=!1),h=(x?"("===u?u:c:"-"===u||"("===u?"":u)+h,C=("s"===b?Mn[8+gn/3]:"")+C+(x&&"("===u?")":""),w)for(o=-1,r=e.length;++o<r;)if(48>(l=e.charCodeAt(o))||l>57){C=(46===l?a+e.slice(o+1):e.slice(o))+C,e=e.slice(0,o);break}}g&&!p&&(e=i(e,1/0));var S=h.length+e.length+C.length,E=S<f?new Array(f-S+1).join(t):"";switch(g&&p&&(e=i(E+e,E.length?f-C.length:1/0),E=""),n){case"<":e=h+e+C+E;break;case"=":e=h+E+e+C;break;case"^":e=E.slice(0,S=E.length>>1)+h+e+C+E.slice(S);break;default:e=E+h+e+C}return s(e)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),C.toString=function(){return e+""},C}return{format:u,formatPrefix:function(e,t){var n=u(((e=vn(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(yn(t)/3))),o=Math.pow(10,-i),r=Mn[8+i/3];return function(e){return n(o*e)+r}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Sn=xn.format,En=xn.formatPrefix;var Gn=new Date,Kn=new Date;function Yn(e,t,n,i){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,i,r){var a,s=[];if(n=o.ceil(n),r=null==r?1:Math.floor(r),!(n<i&&r>0))return s;do{s.push(a=new Date(+n)),t(n,r),e(n)}while(a<n&&n<i);return s},o.filter=function(n){return Yn((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,i){if(e>=e)if(i<0)for(;++i<=0;)for(;t(e,-1),!n(e););else for(;--i>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,i){return Gn.setTime(+t),Kn.setTime(+i),e(Gn),e(Kn),Math.floor(n(Gn,Kn))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(i?function(t){return i(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var $n=Yn((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));$n.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Yn((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};const Jn=$n;$n.range;var qn=Yn((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));const Zn=qn;qn.range;var Xn=1e3,ei=6e4,ti=36e5,ni=864e5,ii=6048e5;function oi(e){return Yn((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ei)/ii}))}var ri=oi(0),ai=oi(1),si=oi(2),li=oi(3),ci=oi(4),di=oi(5),ui=oi(6),hi=(ri.range,ai.range,si.range,li.range,ci.range,di.range,ui.range,Yn((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ei)/ni}),(function(e){return e.getDate()-1})));const pi=hi;hi.range;var fi=Yn((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Xn-e.getMinutes()*ei)}),(function(e,t){e.setTime(+e+t*ti)}),(function(e,t){return(t-e)/ti}),(function(e){return e.getHours()}));const gi=fi;fi.range;var mi=Yn((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Xn)}),(function(e,t){e.setTime(+e+t*ei)}),(function(e,t){return(t-e)/ei}),(function(e){return e.getMinutes()}));const vi=mi;mi.range;var bi=Yn((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Xn)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getUTCSeconds()}));const _i=bi;bi.range;var yi=Yn((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));yi.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Yn((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):yi:null};const Ai=yi;function wi(e){return Yn((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/ii}))}yi.range;var Ci=wi(0),xi=wi(1),Si=wi(2),Ei=wi(3),ki=wi(4),Mi=wi(5),Di=wi(6),Ni=(Ci.range,xi.range,Si.range,Ei.range,ki.range,Mi.range,Di.range,Yn((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/ni}),(function(e){return e.getUTCDate()-1})));const Ii=Ni;Ni.range;var Ti=Yn((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));Ti.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Yn((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};const Li=Ti;function Bi(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Oi(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Pi(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Ti.range;var Fi,Ri,ji,zi={"-":"",_:" ",0:"0"},Vi=/^\s*\d+/,Wi=/^%/,Hi=/[\\^$*+?|[\]().{}]/g;function Ui(e,t,n){var i=e<0?"-":"",o=(i?-e:e)+"",r=o.length;return i+(r<n?new Array(n-r+1).join(t)+o:o)}function Qi(e){return e.replace(Hi,"\\$&")}function Gi(e){return new RegExp("^(?:"+e.map(Qi).join("|")+")","i")}function Ki(e){for(var t={},n=-1,i=e.length;++n<i;)t[e[n].toLowerCase()]=n;return t}function Yi(e,t,n){var i=Vi.exec(t.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function $i(e,t,n){var i=Vi.exec(t.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function Ji(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function qi(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function Zi(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Xi(e,t,n){var i=Vi.exec(t.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function eo(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function to(e,t,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function no(e,t,n){var i=Vi.exec(t.slice(n,n+1));return i?(e.q=3*i[0]-3,n+i[0].length):-1}function io(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function oo(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function ro(e,t,n){var i=Vi.exec(t.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function ao(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function so(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function lo(e,t,n){var i=Vi.exec(t.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function co(e,t,n){var i=Vi.exec(t.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function uo(e,t,n){var i=Vi.exec(t.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function ho(e,t,n){var i=Wi.exec(t.slice(n,n+1));return i?n+i[0].length:-1}function po(e,t,n){var i=Vi.exec(t.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function fo(e,t,n){var i=Vi.exec(t.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function go(e,t){return Ui(e.getDate(),t,2)}function mo(e,t){return Ui(e.getHours(),t,2)}function vo(e,t){return Ui(e.getHours()%12||12,t,2)}function bo(e,t){return Ui(1+pi.count(Jn(e),e),t,3)}function _o(e,t){return Ui(e.getMilliseconds(),t,3)}function yo(e,t){return _o(e,t)+"000"}function Ao(e,t){return Ui(e.getMonth()+1,t,2)}function wo(e,t){return Ui(e.getMinutes(),t,2)}function Co(e,t){return Ui(e.getSeconds(),t,2)}function xo(e){var t=e.getDay();return 0===t?7:t}function So(e,t){return Ui(ri.count(Jn(e)-1,e),t,2)}function Eo(e){var t=e.getDay();return t>=4||0===t?ci(e):ci.ceil(e)}function ko(e,t){return e=Eo(e),Ui(ci.count(Jn(e),e)+(4===Jn(e).getDay()),t,2)}function Mo(e){return e.getDay()}function Do(e,t){return Ui(ai.count(Jn(e)-1,e),t,2)}function No(e,t){return Ui(e.getFullYear()%100,t,2)}function Io(e,t){return Ui((e=Eo(e)).getFullYear()%100,t,2)}function To(e,t){return Ui(e.getFullYear()%1e4,t,4)}function Lo(e,t){var n=e.getDay();return Ui((e=n>=4||0===n?ci(e):ci.ceil(e)).getFullYear()%1e4,t,4)}function Bo(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Ui(t/60|0,"0",2)+Ui(t%60,"0",2)}function Oo(e,t){return Ui(e.getUTCDate(),t,2)}function Po(e,t){return Ui(e.getUTCHours(),t,2)}function Fo(e,t){return Ui(e.getUTCHours()%12||12,t,2)}function Ro(e,t){return Ui(1+Ii.count(Li(e),e),t,3)}function jo(e,t){return Ui(e.getUTCMilliseconds(),t,3)}function zo(e,t){return jo(e,t)+"000"}function Vo(e,t){return Ui(e.getUTCMonth()+1,t,2)}function Wo(e,t){return Ui(e.getUTCMinutes(),t,2)}function Ho(e,t){return Ui(e.getUTCSeconds(),t,2)}function Uo(e){var t=e.getUTCDay();return 0===t?7:t}function Qo(e,t){return Ui(Ci.count(Li(e)-1,e),t,2)}function Go(e){var t=e.getUTCDay();return t>=4||0===t?ki(e):ki.ceil(e)}function Ko(e,t){return e=Go(e),Ui(ki.count(Li(e),e)+(4===Li(e).getUTCDay()),t,2)}function Yo(e){return e.getUTCDay()}function $o(e,t){return Ui(xi.count(Li(e)-1,e),t,2)}function Jo(e,t){return Ui(e.getUTCFullYear()%100,t,2)}function qo(e,t){return Ui((e=Go(e)).getUTCFullYear()%100,t,2)}function Zo(e,t){return Ui(e.getUTCFullYear()%1e4,t,4)}function Xo(e,t){var n=e.getUTCDay();return Ui((e=n>=4||0===n?ki(e):ki.ceil(e)).getUTCFullYear()%1e4,t,4)}function er(){return"+0000"}function tr(){return"%"}function nr(e){return+e}function ir(e){return Math.floor(+e/1e3)}Fi=function(e){var t=e.dateTime,n=e.date,i=e.time,o=e.periods,r=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Gi(o),d=Ki(o),u=Gi(r),h=Ki(r),p=Gi(a),f=Ki(a),g=Gi(s),m=Ki(s),v=Gi(l),b=Ki(l),_={a:function(e){return a[e.getDay()]},A:function(e){return r[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:go,e:go,f:yo,g:Io,G:Lo,H:mo,I:vo,j:bo,L:_o,m:Ao,M:wo,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:nr,s:ir,S:Co,u:xo,U:So,V:ko,w:Mo,W:Do,x:null,X:null,y:No,Y:To,Z:Bo,"%":tr},y={a:function(e){return a[e.getUTCDay()]},A:function(e){return r[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Oo,e:Oo,f:zo,g:qo,G:Xo,H:Po,I:Fo,j:Ro,L:jo,m:Vo,M:Wo,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:nr,s:ir,S:Ho,u:Uo,U:Qo,V:Ko,w:Yo,W:$o,x:null,X:null,y:Jo,Y:Zo,Z:er,"%":tr},A={a:function(e,t,n){var i=p.exec(t.slice(n));return i?(e.w=f[i[0].toLowerCase()],n+i[0].length):-1},A:function(e,t,n){var i=u.exec(t.slice(n));return i?(e.w=h[i[0].toLowerCase()],n+i[0].length):-1},b:function(e,t,n){var i=v.exec(t.slice(n));return i?(e.m=b[i[0].toLowerCase()],n+i[0].length):-1},B:function(e,t,n){var i=g.exec(t.slice(n));return i?(e.m=m[i[0].toLowerCase()],n+i[0].length):-1},c:function(e,n,i){return x(e,t,n,i)},d:oo,e:oo,f:uo,g:eo,G:Xi,H:ao,I:ao,j:ro,L:co,m:io,M:so,p:function(e,t,n){var i=c.exec(t.slice(n));return i?(e.p=d[i[0].toLowerCase()],n+i[0].length):-1},q:no,Q:po,s:fo,S:lo,u:$i,U:Ji,V:qi,w:Yi,W:Zi,x:function(e,t,i){return x(e,n,t,i)},X:function(e,t,n){return x(e,i,t,n)},y:eo,Y:Xi,Z:to,"%":ho};function w(e,t){return function(n){var i,o,r,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=zi[i=e.charAt(++s)])?i=e.charAt(++s):o="e"===i?" ":"0",(r=t[i])&&(i=r(n,o)),a.push(i),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function C(e,t){return function(n){var i,o,r=Pi(1900,void 0,1);if(x(r,e,n+="",0)!=n.length)return null;if("Q"in r)return new Date(r.Q);if("s"in r)return new Date(1e3*r.s+("L"in r?r.L:0));if(t&&!("Z"in r)&&(r.Z=0),"p"in r&&(r.H=r.H%12+12*r.p),void 0===r.m&&(r.m="q"in r?r.q:0),"V"in r){if(r.V<1||r.V>53)return null;"w"in r||(r.w=1),"Z"in r?(o=(i=Oi(Pi(r.y,0,1))).getUTCDay(),i=o>4||0===o?xi.ceil(i):xi(i),i=Ii.offset(i,7*(r.V-1)),r.y=i.getUTCFullYear(),r.m=i.getUTCMonth(),r.d=i.getUTCDate()+(r.w+6)%7):(o=(i=Bi(Pi(r.y,0,1))).getDay(),i=o>4||0===o?ai.ceil(i):ai(i),i=pi.offset(i,7*(r.V-1)),r.y=i.getFullYear(),r.m=i.getMonth(),r.d=i.getDate()+(r.w+6)%7)}else("W"in r||"U"in r)&&("w"in r||(r.w="u"in r?r.u%7:"W"in r?1:0),o="Z"in r?Oi(Pi(r.y,0,1)).getUTCDay():Bi(Pi(r.y,0,1)).getDay(),r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(o+5)%7:r.w+7*r.U-(o+6)%7);return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,Oi(r)):Bi(r)}}function x(e,t,n,i){for(var o,r,a=0,s=t.length,l=n.length;a<s;){if(i>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(r=A[o in zi?t.charAt(a++):o])||(i=r(e,n,i))<0)return-1}else if(o!=n.charCodeAt(i++))return-1}return i}return _.x=w(n,_),_.X=w(i,_),_.c=w(t,_),y.x=w(n,y),y.X=w(i,y),y.c=w(t,y),{format:function(e){var t=w(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Ri=Fi.format,Fi.parse,ji=Fi.utcFormat,Fi.utcParse;var or=31536e6;function rr(e){return new Date(e)}function ar(e){return e instanceof Date?+e:+new Date(+e)}function sr(e,t,n,i,o,r,a,s,l){var c=fn(dn,pt),d=c.invert,u=c.domain,h=l(".%L"),p=l(":%S"),f=l("%I:%M"),g=l("%I %p"),m=l("%a %d"),v=l("%b %d"),b=l("%B"),_=l("%Y"),y=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[r,1,6e4],[r,5,3e5],[r,15,9e5],[r,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[i,1,864e5],[i,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,or]];function A(s){return(a(s)<s?h:r(s)<s?p:o(s)<s?f:i(s)<s?g:t(s)<s?n(s)<s?m:v:e(s)<s?b:_)(s)}function w(t,n,i,o){if(null==t&&(t=10),"number"==typeof t){var r=Math.abs(i-n)/t,a=ze((function(e){return e[2]})).right(y,r);a===y.length?(o=Je(n/or,i/or,t),t=e):a?(o=(a=y[r/y[a-1][2]<y[a][2]/r?a-1:a])[1],t=a[0]):(o=Math.max(Je(n,i,t),1),t=s)}return null==o?t:t.every(o)}return c.invert=function(e){return new Date(d(e))},c.domain=function(e){return arguments.length?u(at.call(e,ar)):u().map(rr)},c.ticks=function(e,t){var n,i=u(),o=i[0],r=i[i.length-1],a=r<o;return a&&(n=o,o=r,r=n),n=(n=w(e,o,r,t))?n.range(o,r+1):[],a?n.reverse():n},c.tickFormat=function(e,t){return null==t?A:l(t)},c.nice=function(e,t){var n=u();return(e=w(e,n[0],n[n.length-1],t))?u(Tn(n,e)):c},c.copy=function(){return pn(c,sr(e,t,n,i,o,r,a,s,l))},c}function lr(){return sr(Jn,Zn,ri,pi,gi,vi,_i,Ai,Ri).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var cr=Yn((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));const dr=cr;cr.range;var ur=Yn((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*ti)}),(function(e,t){return(t-e)/ti}),(function(e){return e.getUTCHours()}));const hr=ur;ur.range;var pr=Yn((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*ei)}),(function(e,t){return(t-e)/ei}),(function(e){return e.getUTCMinutes()}));const fr=pr;function gr(){return sr(Li,dr,Ci,Ii,hr,fr,_i,Ai,ji).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function mr(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}pr.range;const vr=mr("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),br=mr("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),_r=mr("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),yr=mr("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var Ar=Math.PI/180,wr=180/Math.PI,Cr=-.14861,xr=1.78277,Sr=-.29227,Er=-.90649,kr=1.97294,Mr=kr*Er,Dr=kr*xr,Nr=xr*Sr-Er*Cr;function Ir(e){if(e instanceof Lr)return new Lr(e.h,e.s,e.l,e.opacity);e instanceof Ft||(e=Ot(e));var t=e.r/255,n=e.g/255,i=e.b/255,o=(Nr*i+Mr*t-Dr*n)/(Nr+Mr-Dr),r=i-o,a=(kr*(n-o)-Sr*r)/Er,s=Math.sqrt(a*a+r*r)/(kr*o*(1-o)),l=s?Math.atan2(a,r)*wr-120:NaN;return new Lr(l<0?l+360:l,s,o,e.opacity)}function Tr(e,t,n,i){return 1===arguments.length?Ir(e):new Lr(e,t,n,null==i?1:i)}function Lr(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function Br(e){return function t(n){function i(t,i){var o=e((t=Tr(t)).h,(i=Tr(i)).h),r=Yt(t.s,i.s),a=Yt(t.l,i.l),s=Yt(t.opacity,i.opacity);return function(e){return t.h=o(e),t.s=r(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,i.gamma=t,i}(1)}ft(Lr,Tr,gt(mt,{brighter:function(e){return e=null==e?bt:Math.pow(bt,e),new Lr(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?vt:Math.pow(vt,e),new Lr(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Ar,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),i=Math.cos(e),o=Math.sin(e);return new Ft(255*(t+n*(Cr*i+xr*o)),255*(t+n*(Sr*i+Er*o)),255*(t+n*(kr*i)),this.opacity)}})),Br((function(e,t){var n=t-e;return n?Kt(e,n>180||n<-180?n-360*Math.round(n/360):n):Gt(isNaN(e)?t:e)}));var Or=Br(Yt);const Pr=Or(Tr(300,.5,0),Tr(-240,.5,1));var Fr=Or(Tr(-100,.75,.35),Tr(80,1.5,.8)),Rr=Or(Tr(260,.75,.35),Tr(80,1.5,.8)),jr=Tr();function zr(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return jr.h=360*e-100,jr.s=1.5-1.5*t,jr.l=.8-.9*t,jr+""}function Vr(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const Wr=Vr(mr("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var Hr=Vr(mr("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Ur=Vr(mr("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Qr=Vr(mr("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function Gr(e){var t=0,n=1,i=!1;function o(o){var r=(o-t)/(n-t);return e(i?Math.max(0,Math.min(1,r)):r)}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.clamp=function(e){return arguments.length?(i=!!e,o):i},o.interpolator=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return Gr(e).domain([t,n]).clamp(i)},Dn(o)}var Kr=["linear","time","log","sqrt"];function Yr(e){return"scale".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}function $r(e){return"function"==typeof e?T()(e.copy)&&T()(e.domain)&&T()(e.range):"string"==typeof e&&R()(Kr,e)}function Jr(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function qr(e,t){if(!e.data)return"linear";var n=Oe(e[t]);return Z(e.data.map((function(e){var i=y()(n(e))?n(e)[t]:n(e);return void 0!==i?i:e[t]})))?"time":"linear"}function Zr(e){return $r(e)?i[Yr(e)]():Nn()}function Xr(e,t){var n=ea(e,t);if(n)return"string"==typeof n?Zr(n):n;var o=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return Z(n)?"time":"linear"}(e,t)||qr(e,t);return i[Yr(o)]()}function ea(e,t){if(Jr(e,t)){var n=e.scale[t]||e.scale;return $r(n)?T()(n)?n:i[Yr(n)]():void 0}}function ta(e,t){return function(e,t){if(Jr(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:na(n)}}(e,t)||qr(e,t)}function na(e){if("string"==typeof e)return e;var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}function ia(e){return!(!e||!e["@@__IMMUTABLE_ITERABLE__@@"])}function oa(e,t){return ia(e)?e.reduce((function(e,n,i){return t&&t[i]&&(n=oa(n)),e[i]=n,e}),function(e){return!(!e||!e["@@__IMMUTABLE_LIST__@@"])}(e)?[]:{}):e}function ra(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function aa(e){var t;return ia(t=e)||function(e){return!(!e||!e["@@__IMMUTABLE_RECORD__@@"])}(t)?oa(e,{errorX:!0,errorY:!0}):e}function sa(e){return ia(e)?e.size:e.length}function la(e,t){var n=(y()(e.domain)?e.domain[t]:e.domain)||Xr(e,t).domain(),i=e.samples||1,o=Math.max.apply(Math,ra(n)),r=Math.min.apply(Math,ra(n)),a=(o-r)/i,s=W()(r,o,a);return me()(s)===o?s:s.concat(o)}function ca(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var i="ascending"===n?"asc":"desc";return z()(e,t,i)}function da(e,t,n){var i=function(e){return void 0!==e},o=ne(t.x),r=te(t.x),a=ne(t.y),s=te(t.y),l=function(e){return function(t){return i(t)&&t<e}},c=function(e){return function(t){return i(t)&&t>e}},d=l(o),u=l(a),h=c(r),p=c(s);return e.map((function(e){var t=e._x,o=e._y,r=e._y0,l=e._y1;(d(t)||h(t))&&(t=null);var c=i(r)?r:n,g=i(l)?l:o;return i(g)?(i(c)||!u(g)&&!p(g)||(o=null),(u(c)&&u(g)||p(c)&&p(g))&&(o=r=l=null),u(c)&&!u(g)&&(r=a),p(c)&&!p(g)&&(r=s),f()({},e,le()({_x:t,_y:o,_y0:r,_y1:l},de()))):e}))}function ua(e,t){var n=ga(e,t),i=ma(e,t),o=function(e,t){if(!Array.isArray(e.data)&&!ia(e.data))return[];var n=Oe(void 0===e[t]?t:e[t]);return ca(e.data.reduce((function(e,t){return e.push(aa(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=aa(t),e.push(n(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}(e,t),r=N()(ra(n).concat(ra(i),ra(o)));return 0===r.length?null:r.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function ha(e,t,n){if(!Array.isArray(e)&&!ia(e)||sa(e)<1)return[];var i,o=["x","y","y0"],r=(n=Array.isArray(n)?n:o).reduce((function(e,n){var i;return e[n]=Oe(void 0!==t[i=n]?t[i]:i),e}),{}),a=he()(n,o)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;!1===a&&(i={x:-1!==n.indexOf("x")?ua(t,"x"):void 0,y:-1!==n.indexOf("y")?ua(t,"y"):void 0,y0:-1!==n.indexOf("y0")?ua(t,"y"):void 0});var s=a?e:e.reduce((function(e,t,o){var a={x:o,y:t=aa(t)},s=n.reduce((function(e,n){var o=r[n](t),s=void 0!==o?o:a[n];return void 0!==s&&("string"==typeof s&&i[n]?(e["".concat(n,"Name")]=s,e["_".concat(n)]=i[n][s]):e["_".concat(n)]=s),e}),{}),l=f()({},s,t);return h()(l)||e.push(l),e}),[]),l=function(e,t){var n=1/Number.MAX_SAFE_INTEGER,i={x:ta(t,"x"),y:ta(t,"y")};if("log"!==i.x&&"log"!==i.y)return e;var o=function(e,t){return"log"!==i[t]||0!==e["_".concat(t)]};return e.map((function(e){return o(e,"x")&&o(e,"y")&&o(e,"y0")?e:function(e){var t=o(e,"x")?e._x:n,i=o(e,"y")?e._y:n,r=o(e,"y0")?e._y0:n;return f()({},e,{_x:t,_y:i,_y0:r})}(e)}))}(ca(s,t.sortKey,t.sortOrder),t);return function(e,t){var n,i=!!e.eventKey,o=(n=e.eventKey,T()(n)?n:null==n?function(){}:fe()(n));return t.map((function(e,t){if(void 0!==e.eventKey)return e;if(i){var n=o(e,t);return void 0!==n?f()({eventKey:n},e):e}return e}))}(t,l)}function pa(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function fa(e){return e.data?ha(e.data,e):ha(function(e){var t=la(e,"x"),n=la(e,"y");return t.map((function(e,t){return{x:e,y:n[t]}}))}(e),e)}function ga(e,t){var n=e.tickValues,i=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:i&&Array.isArray(i)?i:[]).filter((function(e){return"string"==typeof e}))}function ma(e,t){if(!e.categories)return[];var n=pa(e,t),i=n&&n.filter((function(e){return"string"==typeof e}));return i?ee(i):[]}function va(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var i=s.Children.toArray(e.props.children);n=i.length?t(i[0]):""}return R()(["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}function ba(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",i=function(e){return"max"===n?Math.max.apply(Math,ba(e)):Math.min.apply(Math,ba(e))},o="max"===n?-1/0:1/0,r=!1,a=B()(e).reduce((function(e,n){var o=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],a=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],s=i([o,a]);return r=r||o instanceof Date||a instanceof Date,i([e,s])}),o);return r?new Date(a):a}function ya(e,t){return e=T()(e)?e:Ca,t=T()(t)?t:Aa,function(n,i){var o=Sa(n,i);if(o)return t(o,n,i);var r=pa(n,i),a=r?function(e,t,n){n=n||pa(e,t);var i=e.polar,o=e.startAngle,r=void 0===o?0:o,a=e.endAngle,s=void 0===a?360:a;if(n){var l=Ma(e,t),c=ka(e,t),d=q(n)?ma(e,t):[],u=0===d.length?null:d.reduce((function(e,t,n){return e[t]=n+1,e}),{}),h=u?n.map((function(e){return u[e]})):n,p=xa(void 0!==l?l:ne(h),void 0!==c?c:te(h));return i&&"x"===t&&360===Math.abs(r-s)?Da(p,h):p}}(n,i,r):e(n,i);return a?t(a,n,i):void 0}}function Aa(e,t,n){return function(e,t,n){return"log"!==ta(t,n)?e:(o=(i=e)[0]<0||i[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===i[0]?o:i[0],0===i[1]?o:i[1]]);var i,o}(function(e,t,n){if(!t.domainPadding)return e;var i=Ma(t,n),o=ka(t,n),r=function(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return y()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!r.left&&!r.right)return e;var a=ne(e),s=te(e),l=Be(t,Fe(n,t.horizontal)),c=Math.abs(l[0]-l[1]),d=Math.max(c-r.left-r.right,1),u=Math.abs(s.valueOf()-a.valueOf())/d*c,h=u*r.left/c,p=u*r.right/c,f={min:a.valueOf()-h,max:s.valueOf()+p},g=y()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,m=function(e,t){return"min"===t&&a>=0&&e<=0||"max"===t&&s<=0&&e>=0?0:e};if((a>=0&&f.min<=0||s<=0&&f.max>=0)&&!1!==g){var v={left:Math.abs(s-a)*r.left/c,right:Math.abs(s-a)*r.right/c},b={min:m(a.valueOf()-v.left,"min"),max:m(s.valueOf()+v.right,"max")},_={left:Math.abs(b.max-b.min)*r.left/c,right:Math.abs(b.max-b.min)*r.right/c};f={min:m(a.valueOf()-_.left,"min"),max:m(s.valueOf()+_.right,"max")}}var A={min:void 0!==i?i:f.min,max:void 0!==o?o:f.max};return a instanceof Date||s instanceof Date?xa(new Date(A.min),new Date(A.max)):xa(A.min,A.max)}(e,t,n),t,n)}function wa(e,t){return ya()(e,t)}function Ca(e,t,n){n=n||fa(e);var i=e.polar,o=e.startAngle,r=void 0===o?0:o,a=e.endAngle,s=void 0===a?360:a,l=Ma(e,t),c=ka(e,t);if(n.length<1)return void 0!==l&&void 0!==c?xa(l,c):void 0;var d=xa(void 0!==l?l:_a(n,t,"min"),void 0!==c?c:_a(n,t,"max"));return i&&"x"===t&&360===Math.abs(r-s)?Da(d,function(e,t){return B()(e).map((function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]}))}(n,t)):d}function xa(e,t){var n,i,o,r;return+e==+t?(i=0===(n=t)?2*Math.pow(10,-10):Math.pow(10,-10),o=n instanceof Date?new Date(+n-1):+n-i,r=n instanceof Date?new Date(+n+1):+n+i,0===n?[0,r]:[o,r]):[e,t]}function Sa(e,t){var n=Ma(e,t),i=ka(e,t);return y()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==i?xa(n,i):void 0}function Ea(e,t){var n=Sa(e,t);if(n)return n;var i=fa(e),o=i.reduce((function(e,t){return t._y0<e?t._y0:e}),1/0);return ya((function(){return Ca(e,t,i)}),(function(n){return Aa(function(n){if("x"===t)return n;var i=o!==1/0?o:0,r=ka(e,t),a=Ma(e,t),s=void 0!==r?r:te(n,i);return xa(void 0!==a?a:ne(n,i),s)}(n),e,t)}))(e,t)}function ka(e,t){return y()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain||oe()(e.maxDomain)?e.maxDomain:void 0}function Ma(e,t){return y()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain||oe()(e.minDomain)?e.minDomain:void 0}function Da(e,t){var n=ae()(t.sort((function(e,t){return e-t}))),i=n[1]-n[0];return[e[0],e[1]+i]}function Na(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var i=s.Children.toArray(e.props.children);n=i.length?t(i[0]):""}return R()(["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"],n)}function Ia(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ta(e){return e.dependentAxis?"y":"x"}function La(e,t){t=t||Y();var n=function(e){return e.reduce((function(e,i){return i.type&&"axis"===i.type.role&&t(i)?e.concat(i):i.props&&i.props.children?e.concat(n(s.Children.toArray(i.props.children))):e}),[])};return n(e)}function Ba(e,t){return La(e,(function(e){return e.type.getAxis(e.props)===t}))[0]}function Oa(e,t){var n=function(e){return e.reduce((function(e,i){return i.type&&"axis"===i.type.role&&function(e){return"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis}(i)||i.props&&i.props.children&&n(s.Children.toArray(i.props.children)).length>0?e.concat(i):e}),[])};return n(e)}function Pa(e){var t=function(e){var t=Math.min.apply(Math,Ia(e)),n=Math.max.apply(Math,Ia(e));return n<0?n:Math.max(0,t)};return{x:Z(e.x)?new Date(Math.min.apply(Math,Ia(e.x))):t(e.x),y:Z(e.y)?new Date(Math.min.apply(Math,Ia(e.y))):t(e.y)}}function Fa(e,t){return Z(t)?"positive":e<=0&&Math.max.apply(Math,Ia(t))<=0?"negative":"positive"}function Ra(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function ja(e){return void 0!==e.tickValues&&q(e.tickValues)}function za(e){var t=e.tickValues,n=e.tickFormat,i=Ta(e),o=e.stringMap&&e.stringMap[i],r=t;o&&(r=function(e){var t,n=Ta(e),i=e.stringMap&&e.stringMap[n],o=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[n],r=o&&J(t=o)&&t.every((function(e){return"string"==typeof e}))?o.map((function(e){return i[e]})):void 0,a=i&&w()(i);return r&&0!==r.length?r:a}(e)),t&&q(t)&&(r=o?t.map((function(e){return o[e]})):W()(1,t.length+1));var a=r?N()(r):function(){if(n&&Array.isArray(n))return q(n)?n.map((function(e,t){return t})):n}();return Array.isArray(a)&&a.length?function(t){var n=[],o=e.domain&&e.domain[i]||e.domain;return t?(t.forEach((function(e,t){Array.isArray(o)?e>=ne(o)&&e<=te(o)&&n.push({value:e,index:t}):n.push({value:e,index:t})})),n):void 0}(a):void 0}function Va(e,t){var n=e.tickFormat,i=Ta(e),o=e.stringMap&&e.stringMap[i];if(n){if(n&&Array.isArray(n)){var r=za(e),a=r?r.map((function(e){return e.index})):void 0,s=n.filter((function(e,t){return a.includes(t)}));return function(e,t){return s[t]}}return n&&T()(n)?o?function(t,n,i){var r=U()(o),a=i.map((function(e){return r[e]}));return e.tickFormat(r[t],n,a)}:n:function(e){return e}}var l=function(e){var t=e.tickValues,n=Ta(e),i=e.stringMap&&e.stringMap[n],o=t&&!Z(t)?function(e){return e}:void 0;if(i){var r=i&&U()(i),a=z()(w()(i),(function(e){return e})).map((function(e){return r[e]})),s=[""].concat(Ia(a),[""]);return function(e){return s[e]}}return ja(e)?function(e,n){return t[n]}:o}(e),c=t.tickFormat&&T()(t.tickFormat)?t.tickFormat():function(e){return e};return l||c}function Wa(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter((function(e,t){return t%n==0}))}function Ha(e,t,n){var i=e.tickCount,o=za(e),r=o?o.map((function(e){return e.value})):void 0;if(r)return Wa(r,i);if(t.ticks&&T()(t.ticks)){var a=i||5,s=t.ticks(a),l=Wa(Array.isArray(s)&&s.length?s:t.domain(),i);if(n){var c=R()(l,0)?P()(l,0):l;return c.length?c:l}return l}return t.domain()}function Ua(e,t){var n=e.polar,i=e.startAngle,o=void 0===i?0:i,r=e.endAngle,a=void 0===r?360:r,s=za(e),l=s?s.map((function(e){return e.value})):void 0;if(Array.isArray(l)){var c=Ma(e,t),d=ka(e,t),u=ja(e),h=l.map((function(e){return+e})),p=u?1:ne(h),f=u?l.length:te(h),g=xa(void 0!==c?c:p,void 0!==d?d:f),m=n&&"x"===t&&360===Math.abs(o-a)?Da(g,h):g;return Ra(e)&&!n&&m.reverse(),m}}function Qa(e,t){var n=Ta(e);if(!t||t===n)return ya(Ua)(e,n)}function Ga(e,t){if(e.axisValue){var n="x"===t?"y":"x",i=G()(e.scale)&&T()(e.scale[n])?e.scale[n]:void 0;if(i){var o="x"===t?"y":"x",r=G()(e.stringMap)&&e.stringMap[o];return i(r&&"string"==typeof e.axisValue?r[e.axisValue]:e.axisValue)}}}function Ka(e,t){if(!G()(e.theme))return Pe(e,t,"axis");var n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return Pe(e,t,"axis");var i=m()({},e.theme[n],e.theme.axis),o=f()({},e.theme,{axis:i});return Pe(f()({},e,{theme:o}),t,"axis")}var Ya=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(n.length>0)return n.reduce((function(e,t){return[e,Ya(t)].join(" ")}),Ya(e)).trim();if(null==e||"string"==typeof e)return e;var o=[];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];o.push("".concat(r,"(").concat(a,")"))}return o.join(" ").trim()};function $a(e){var t={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return e?t[e]:t.grayscale}function Ja(e,t){return(e.key||t).toString()}function qa(e){return e.reduce((function(e,t,n){return e[Ja(t,n)]=t,e}),{})}function Za(e,t){var n=!1,i=be()(e).reduce((function(e,i){return i in t||(n=!0,e[i]=!0),e}),{});return n&&i}function Xa(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function es(e,t){var n=!1,i=!1,o=function(e,t){return e.map((function(r,a){return r&&r.props&&r.props.children&&t[a]?o(s.Children.toArray(e[a].props.children),s.Children.toArray(t[a].props.children)):function(e,t){if(!t||e.type!==t.type)return{};var o,r,a,s,l=(o=Xa(e),r=Xa(t),a=o&&qa(o),s=r&&qa(r),{entering:a&&Za(s,a),exiting:s&&Za(a,s)}||{}),c=l.entering,d=l.exiting;return n=n||!!d,i=i||!!c,{entering:c||!1,exiting:d||!1}}(r,t[a])}))},r=o(s.Children.toArray(e),s.Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:i,childrenTransitions:r,nodesShouldEnter:!1}}function ts(e,t,n){var i=t&&t.nodesWillExit,o=t&&t.nodesWillEnter,r=t&&t.nodesShouldEnter,a=t&&t.nodesShouldLoad,s=t&&t.nodesDoneLoad,l=t&&t.childrenTransitions||[],c={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},d=function(e,t,i){return a?function(e,t,i){if((e=f()({},e,{onEnd:function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var o=e.onLoad&&e.onLoad.after?e.onLoad.after:Y();return{animate:e,data:t=t.map((function(e,n){return f()({},e,o(e,n,t))}))}}(i,t):function(e,t,i,o){if((e=f()({},e,{onEnd:function(){n({nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:i};var r=e.onLoad&&e.onLoad.before?e.onLoad.before:Y();return{animate:e,data:i=i.map((function(e,t){return f()({},e,r(e,t,i))})),clipWidth:0}}(i,0,t)},u=function(e,t,i,o){return function(e,t,i,o,r){var a=e&&e.onExit;if(e=f()({},e,a),o){e.onEnd=function(){n({nodesWillExit:!1})};var s=e.onExit&&e.onExit.before?e.onExit.before:Y();i=i.map((function(e,t){var n=(e.key||t).toString();return o[n]?f()({},e,s(e,t,i)):e}))}return{animate:e,data:i}}(o,0,i,e)},h=function(e,t,i,o){return r?function(e,t,i,o){var r=e&&e.onEnter;if(e=f()({},e,r),i){e.onEnd=function(){n({nodesWillEnter:!1})};var a=e.onEnter&&e.onEnter.after?e.onEnter.after:Y();t=t.map((function(e,n){var o=Ja(e,n);return i[o]?f()({},e,a(e,n,t)):e}))}return{animate:e,data:t}}(o,i,e):function(e,t,i,o,r){if(o){var a=(e=f()({},e,{onEnd:function(){n({nodesShouldEnter:!0})}})).onEnter&&e.onEnter.before?e.onEnter.before:Y();i=i.map((function(e,t){var n=(e.key||t).toString();return o[n]?f()({},e,a(e,t,i)):e}))}return{animate:e,data:i}}(o,0,i,e)},p=function(e,t){var n=e.props.animate;if(!e.type)return{};var i=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(i){var o=n[t]&&n[t].duration;return void 0!==o?o:i[t]&&i[t].duration}return{}};return function(n,a){var g=Xa(n)||[],v=m()({},e.animate,n.props.animate),b=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;v.onExit=m()({},v.onExit,b&&b.onExit),v.onEnter=m()({},v.onEnter,b&&b.onEnter),v.onLoad=m()({},v.onLoad,b&&b.onLoad);var _=l[a]||l[0];if(!s){var y={duration:void 0!==c.load?c.load:p(n,"onLoad")};return d(0,g,f()({},v,y))}if(i){var A=_&&_.exiting,w=void 0!==c.exit?c.exit:p(n,"onExit"),C=A?{duration:w}:{delay:w};return u(A,0,g,f()({},v,C))}if(o){var x=_&&_.entering,S=void 0!==c.enter?c.enter:p(n,"onEnter"),E=void 0!==c.move?c.move:n.props.animate&&n.props.animate.duration,k={duration:r&&x?S:E};return h(x,0,g,f()({},v,k))}return!t&&v&&v.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:Y();return{data:t.map((function(e,i){return f()({},e,n(e,i,t))}))}}(v,g):{animate:v,data:g}}}var ns=n(71800),is=n.n(ns);function os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var as=/^onGlobal(.*)$/;function ss(e,t,n,i){var o,r=this,a=function(e){var i,o=(i=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?R()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e:e.concat(n)}),[]),void 0!==n&&"parent"!==t?i.filter((function(e){var t=e.eventKey,i=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some((function(e){return i(e)})):i(t)})):i);return Array.isArray(o)&&o.reduce((function(e,t){return t?f()(e,t.eventHandlers):e}),{})},s=Array.isArray(r.componentEvents)?Array.isArray(e.events)?(o=r.componentEvents).concat.apply(o,rs(e.events)):r.componentEvents:e.events,l=s&&T()(i)?i(a(s),t):void 0;if(!e.sharedEvents)return l;var c=e.sharedEvents.getEvents,d=e.sharedEvents.events&&c(a(e.sharedEvents.events),t);return f()({},d,l)}function ls(e,t,n,i){var o=this;if(h()(e))return{};i=i||this.baseProps;var r=function(e,t){var n=e.childName,r=e.target,a=e.key,s="props"===t?i:o.state||{},l=null!=n&&s[n]?s[n]:s;return"parent"===a?l.parent:l[a]&&l[a][r]},a=function(e,a){var s="parent"===t?e.childName:e.childName||n,l=e.target||t,c=function(t,n){var a=o.state||{};if(!T()(e.mutation))return a;var s=r({childName:n,key:t,target:l},"props"),c=r({childName:n,key:t,target:l},"state"),d=e.mutation(f()({},s,c),i),u=a[n]||{},h=function(e){return d?function(e){return"parent"===l?f()(e,os({},t,f()(e[t],d))):f()(e,os({},t,f()(e[t],os({},l,d))))}(e):function(e){return e[t]&&e[t][l]&&delete e[t][l],e[t]&&!be()(e[t]).length&&delete e[t],e}(e)};return null!=n?f()(a,os({},n,h(u))):h(a)},d=function(t){var n=function(t){return"parent"===l?"parent":"all"===e.eventKey?i[t]?P()(be()(i[t]),"parent"):P()(be()(i),"parent"):void 0===e.eventKey&&"parent"===a?i[t]?be()(i[t]):be()(i):void 0!==e.eventKey?e.eventKey:a}(t);return Array.isArray(n)?n.reduce((function(e,n){return f()(e,c(n,t))}),{}):c(n,t)},u="all"===s?P()(be()(i),"parent"):s;return Array.isArray(u)?u.reduce((function(e,t){return f()(e,d(t))}),{}):d(u)},s=function(t,n,i,r){var s=e[r](t,n,i,o);if(!h()(s)){var l=function(e){var t=function(e){return T()(e.callback)&&e.callback},n=(Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]).filter((function(e){return!1!==e}));return n.length?function(){return n.forEach((function(e){return e()}))}:void 0}(s);o.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return f()({},e,a(n,t))}),{}):a(e,t)}(s,i),l)}};return be()(e).reduce((function(e,t){return e[t]=s,e}),{})}function cs(e,t,n){return e?be()(e).reduce((function(i,o){return i[o]=function(i){return e[o](i,n,t,o)},i}),{}):{}}function ds(e,t,n){var i=this.state||{};return n?i[n]&&i[n][e]&&i[n][e][t]:"parent"===e?i[e]&&i[e][t]||i[e]:i[e]&&i[e][t]}function us(e,t,n,i){return t=t||{},n=n||{},be()(t).reduce((function(o,r){var a=n[r]||{},s=t[r]||{};if("parent"===r){var l=hs(e,s,a,{eventKey:r,target:"parent"});o[r]=void 0!==l?f()({},a,l):a}else{var c=N()(be()(s).concat(be()(a)));o[r]=c.reduce((function(t,n){var o={eventKey:r,target:n,childName:i},l=hs(e,s[n],a[n],o);return t[n]=void 0!==l?f()({},a[n],l):a[n],is()(t,(function(e){return!h()(e)}))}),{})}return is()(o,(function(e){return!h()(e)}))}),{})}function hs(e,t,n,i){var o=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===i[t];if(Array.isArray(e[t])){var n=e[t].map((function(e){return"".concat(e)}));return R()(n,i[t])}return!1},r=e=Array.isArray(e)?e:[e];i.childName&&(r=e.filter((function(e){return o(e,"childName")})));var a=r.filter((function(e){return o(e,"target")}));if(!h()(a)){var s=a.filter((function(e){return o(e,"eventKey")}));if(!h()(s))return s.reduce((function(e,i){var o=(i&&T()(i.mutation)?i.mutation:function(){})(f()({},t,n));return f()({},e,o)}),{})}}function ps(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var i,o=e[n],r=o&&o.type&&o.type.defaultEvents,a=T()(r)?r(o.props):r;return Array.isArray(a)?(i=t).concat.apply(i,rs(a)):t}),[]);return n&&n.length?n:void 0}function fs(e){var t=e.match(as);return t&&t[1]&&t[1].toLowerCase()}var gs=function(e){return is()(e,(function(e,t){return as.test(t)}))},ms=function(e){return le()(e,(function(e,t){return as.test(t)}))},vs=function(e){return f()(e,{nativeEvent:e})};function bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}const ys={getData:function(e,t){return e.data?fa(e):(t=t||s.Children.toArray(e.children),this.getDataFromChildren(t))},getDefaultDomainPadding:function(e,t,n){if(!e.polar&&"x"===t){var i=n.filter((function(e){return e.type&&e.type.role&&"group"===e.type.role}));if(!(i.length<1)){var o=i[0].props,r=o.offset,a=o.children;if(r){var s=Array.isArray(a)&&a[0];if(s){var l=s.props.barWidth,c=s.props.data&&s.props.data.length||1;if(s&&"stack"===s.type.role){var d=s.props.children&&s.props.children[0];if(!d)return;l=d.props.barWidth,c=s.props.children.length}var u=l||this.getWidth(e,a.length,c);return{x:u*a.length/2+(r-u*((a.length-1)/2))}}}}}},getDomain:function(e,t,n){n=n||s.Children.toArray(e.children);var i,o=Sa(e,t),r=this.getDefaultDomainPadding(e,t,n);if(o)i=o;else{var a=Ma(e,t),l=ka(e,t),c=(e.data||e.y)&&fa(e),d=c?Ca(e,t,c):[],u=this.getDomainFromChildren(e,t,n);i=xa(a||ne(_s(d).concat(_s(u))),l||te(_s(d).concat(_s(u))))}return Aa(i,f()({domainPadding:r},e),t)},getScale:function(e,t,n){if(e.data)return Xr(e,t);var i=n?n.slice(0):s.Children.toArray(e.children),o=N()(Re(i,(function(n){return ta(f()({},n.props,{horizontal:e.horizontal}),t)}),e));return o.length>1?Zr("linear"):Zr(o[0])},setAnimationState:function(e,t){if(e.animate)if(e.animate.parentState){var n=e.animate.parentState.nodesWillExit?e:null;this.setState(m()({oldProps:n,nextProps:t},e.animate.parentState))}else{var i=s.Children.toArray(e.children),o=s.Children.toArray(t.children),r=function(e){var t=function(e){return e.type&&e.type.continuous};return Array.isArray(e)?M()(e,t):t(e)},a=!e.polar&&M()(i,(function(e){return r(e)||e.props.children&&r(e.props.children)})),l=es(i,o),c=l.nodesWillExit,d=l.nodesWillEnter,u=l.childrenTransitions,h=l.nodesShouldEnter;this.setState({nodesWillExit:c,nodesWillEnter:d,nodesShouldEnter:h,childrenTransitions:X(u)?u[0]:u,oldProps:c?e:null,nextProps:t,continuous:a})}},getAllEvents:function(e){this.componentEvents=ps(e,["groupComponent","containerComponent","labelComponent"]);var t,n=e.events;return Array.isArray(this.componentEvents)&&(n=Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,_s(e.events)):this.componentEvents),n||[]},getAnimationProps:function(e,t,n){var i=this;if(!e.animate)return t.props.animate;var o,r=e.animate&&e.animate.getTransitions,a=(o=X(o=i.state&&i.state.childrenTransitions)?o[n]:o,m()({childrenTransitions:o},i.state)),s=e.animate&&e.animate.parentState||a;if(!r){var l=ts(e,a,(function(e){return i.setState(e)}));r=function(e){return l(e,n)}}return m()({getTransitions:r,parentState:s},e.animate,t.props.animate)},getDomainFromChildren:function(e,t,n){var i=n?n.slice(0):s.Children.toArray(e.children),o=e.data?fa(e):void 0,r=e.polar,a=e.startAngle,l=e.endAngle,c=e.categories,d=e.minDomain,u=e.maxDomain,h={horizontal:e.horizontal,polar:r,startAngle:a,endAngle:l,minDomain:d,maxDomain:u,categories:c},p=o?f()(h,{data:o}):h,g=Re(i,(function(e){var n=f()({},e.props,p);return Na(e)?e.type&&T()(e.type.getDomain)?e.props&&e.type.getDomain(n,t):wa(n,t):null}),e);return[0===g.length?0:ne(g),0===g.length?1:te(g)]},addBinsToParentPropsIfHistogram:function(e){var t=e.children,n=e.props,i=e.childComponents,o=e.parentProps,r=t.some((function(e){return e.type&&"histogram"===e.type.role})),a=r&&t.length&&t.every((function(e){return e.type&&"histogram"===e.type.role}));if(!a)return o;var s=n.bins||i[0].props.bins;if(!Array.isArray(s)){var l=t.reduce((function(e,t){var n=Oe(t.props.x||"x");return e.concat(t.props.data.map((function(e){return{x:n(e)}})))}),[]);s=(0,t[0].type.getFormattedData)({data:l,bins:s}).reduce((function(e,t,n){var i=t.x0,o=t.x1;return 0===n?e.concat([i,o]):e.concat(o)}),[])}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){bs(e,t,n[t])}))}return e}({},o,{bins:s})},getDataFromChildren:function(e,t){var n={polar:e.polar,startAngle:e.startAngle,endAngle:e.endAngle,categories:e.categories,minDomain:e.minDomain,maxDomain:e.maxDomain},i=0,o=t?t.slice(0):s.Children.toArray(e.children);n=this.addBinsToParentPropsIfHistogram({children:o,props:e,childComponents:t,parentProps:n});var r=o.filter((function(e){return e.type&&"stack"===e.type.role})).length,a=Re(o,(function(e,t,o){var r,a=f()({},e.props,n);return va(e)?(r=e.type&&T()(e.type.getData)?(e=o?s.cloneElement(e,o.props):e).type.getData(a):fa(a),i+=1,r.map((function(e,t){return f()({_stack:i,_group:t},e)}))):null}),e,[],(function(e,t){return e.concat(x()(t,"_group"))})),l=r?"_group":"_stack";return w()(E()(a,l))},getColor:function(e,t,n){var i=e.style,o=e.colorScale,r=e.color;if(i&&i.data&&i.data.fill)return i.data.fill;if(o=t.props&&t.props.colorScale?t.props.colorScale:o,r=t.props&&t.props.color?t.props.color:r,o||r){var a=Array.isArray(o)?o:$a(o);return r||a[n%a.length]}},getWidth:function(e,t,n){var i=e.datasets,o=Be(e,e.horizontal?"y":"x"),r=Math.abs(o[1]-o[0]);n=void 0!==n?n:Array.isArray(i[0])&&i[0].length||1;var a=(t=t||i.length)*n;return Math.round(.5*r/a)},getStyle:function(e,t,n){return ke(t,e&&e[n]&&e[n].style?e[n].style:{})},getChildStyle:function(e,t,n){var i=n.style,o=n.role,r=e.props.style||{};if(Array.isArray(r))return r;var a=e.type&&e.type.role,s="stack"===a?void 0:this.getColor(n,e,t),l="line"===a?{fill:"none",stroke:s}:{fill:s},c="stack"===o?{}:{width:this.getWidth(n)},d=m()({},r.data,f()({},c,i.data,l)),u=m()({},r.labels,i.labels);return{parent:i.parent,data:d,labels:u}},getStringsFromCategories:function(e,t){return Re(e.slice(0),(function(e){var n=e.props||{};if(Na(e)&&n.categories){var i=n.categories&&!Array.isArray(n.categories)?n.categories[t]:n.props.categories,o=i&&i.filter((function(e){return"string"==typeof e}));return o?ee(o):[]}return null}))},getStringsFromData:function(e){return Re(e.slice(0),(function(e){var t=e.props||{};return va(e)?(e.type&&T()(e.type.getData)?e.type.getData(t):fa(t)).map((function(e){return{x:e.xName,y:e.yName}})):null}),{},{x:[],y:[]},(function(e,t){var n=Array.isArray(t)?t.map((function(e){return e.x})).filter(Boolean):t.x,i=Array.isArray(t)?t.map((function(e){return e.y})).filter(Boolean):t.y;return{x:void 0!==n?e.x.concat(n):e.x,y:void 0!==i?e.y.concat(i):e.y}}))},getCategoryAndAxisStringsFromChildren:function(e,t,n){var i=y()(e.categories)?e.categories[t]:e.categories,o=Ba(n,t),r=o?ga(o.props,t):[],a=i||this.getStringsFromCategories(n,t);return N()(B()(_s(a).concat(_s(r))))},getStringsFromChildren:function(e,t){t=t||s.Children.toArray(e.children);var n=this.getCategoryAndAxisStringsFromChildren(e,"x",t),i=this.getCategoryAndAxisStringsFromChildren(e,"y",t),o=this.getStringsFromData(t);return{x:N()(B()(_s(n).concat(_s(o.x)))),y:N()(B()(_s(i).concat(_s(o.y))))}},getCategories:function(e,t,n){var i=e.categories&&!Array.isArray(e.categories)?e.categories.x:e.categories,o=e.categories&&!Array.isArray(e.categories)?e.categories.y:e.categories,r=i&&o?{}:n||this.getStringsFromChildren(e,t),a=i||r.x,s=o||r.y;return{x:a.length>0?a:void 0,y:s.length>0?s:void 0}}};var As=n(68290),ws=n.n(As),Cs=n(26969),xs=n.n(Cs),Ss=function(e){var t=function(t,n,i,o){var r=n[i];if(null==r)return t?new Error("Required `".concat(i,"` was not specified in `").concat(o,"`.")):null;for(var a=arguments.length,s=new Array(a>4?a-4:0),l=4;l<a;l++)s[l-4]=arguments[l];return e.apply(void 0,[n,i,o].concat(s))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},Es=function(){return null},ks=function(){},Ms=function(e){return void 0===e?ks:null===e?Es:e.constructor},Ds=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};function Ns(e,t){return function(n,i,o){return null!=n[i]&&'"'.concat(i,'" property of "').concat(o,'" has been deprecated ').concat(t),b().checkPropTypes(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},i,e),n,i,o)}}function Is(e){return Ss((function(t,n,i){for(var o=arguments.length,r=new Array(o>3?o-3:0),a=3;a<o;a++)r[a-3]=arguments[a];return e.reduce((function(e,o){return e||o.apply(void 0,[t,n,i].concat(r))}),void 0)}))}var Ts=Ss((function(e,t,n){var i=e[t];if("number"!=typeof i||i<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),Ls=Ss((function(e,t,n){var i=e[t];if("number"!=typeof i||i%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),Bs=Ss((function(e,t,n){var i=e[t];if("number"!=typeof i||i<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),Os=Ss((function(e,t,n){var i=e[t];if(!Array.isArray(i)||2!==i.length||i[1]===i[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),Ps=Ss((function(e,t,n){var i;if(i=e[t],!(T()(i)?T()(i.copy)&&T()(i.domain)&&T()(i.range):"string"==typeof i&&-1!==["linear","time","log","sqrt"].indexOf(i)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),Fs=Ss((function(e,t,n){var i=e[t];if(!Array.isArray(i))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(i.length<2)){var o=Ms(i[0]),r=xs()(i,(function(e){return o!==Ms(e)}));if(r){var a=Ds(i[0]),s=Ds(r);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(a,"` and ")+"`".concat(s,"`."))}}})),Rs=(Ss((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))})),Ss((function(e,t,n){if(e[t]&&!ws()(e[t]))return new Error("`".concat(t,"` in `").concat(n,"` must be a regular expression."))}))),js={categories:b().oneOfType([b().arrayOf(b().string),b().shape({x:b().arrayOf(b().string),y:b().arrayOf(b().string)})]),data:b().oneOfType([b().array,b().object]),dataComponent:b().element,disableInlineStyles:b().bool,labelComponent:b().element,labels:b().oneOfType([b().func,b().array]),samples:Ts,sortKey:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)]),sortOrder:b().oneOf(["ascending","descending"]),style:b().shape({parent:b().object,data:b().object,labels:b().object}),x:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)]),y:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)]),y0:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)])},zs={animate:b().oneOfType([b().bool,b().object]),containerComponent:b().element,domain:b().oneOfType([Os,b().shape({x:Os,y:Os})]),maxDomain:b().oneOfType([b().number,b().instanceOf(Date),b().shape({x:b().oneOfType([b().number,b().instanceOf(Date)]),y:b().oneOfType([b().number,b().instanceOf(Date)])})]),minDomain:b().oneOfType([b().number,b().instanceOf(Date),b().shape({x:b().oneOfType([b().number,b().instanceOf(Date)]),y:b().oneOfType([b().number,b().instanceOf(Date)])})]),domainPadding:b().oneOfType([b().shape({x:b().oneOfType([b().number,b().arrayOf(b().number)]),y:b().oneOfType([b().number,b().arrayOf(b().number)])}),b().number,b().arrayOf(b().number)]),eventKey:b().oneOfType([b().func,Is([Ls,Ts]),b().string]),events:b().arrayOf(b().shape({target:b().oneOf(["data","labels","parent"]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),eventHandlers:b().object})),externalEventMutations:b().arrayOf(b().shape({callback:b().function,childName:b().oneOfType([b().string,b().array]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),mutation:b().function,target:b().oneOfType([b().string,b().array])})),groupComponent:b().element,height:Ts,name:b().string,origin:b().shape({x:b().number,y:b().number}),padding:b().oneOfType([b().number,b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number})]),polar:b().bool,range:b().oneOfType([Os,b().shape({x:Os,y:Os})]),scale:b().oneOfType([Ps,b().shape({x:Ps,y:Ps})]),sharedEvents:b().shape({events:b().array,getEventState:b().func}),singleQuadrantDomainPadding:b().oneOfType([b().bool,b().shape({x:b().oneOfType([b().bool]),y:b().oneOfType([b().bool])})]),standalone:b().bool,theme:b().object,width:Ts},Vs={active:b().bool,ariaLabel:b().oneOfType([b().string,b().func]),className:b().string,clipPath:b().string,data:b().oneOfType([b().array,b().object]),desc:b().oneOfType([b().string,b().func]),disableInlineStyles:b().bool,events:b().object,id:b().oneOfType([b().number,b().string,b().func]),index:b().oneOfType([b().number,b().string]),origin:b().shape({x:b().number,y:b().number}),polar:b().bool,role:b().string,scale:b().oneOfType([Ps,b().shape({x:Ps,y:Ps})]),shapeRendering:b().string,style:b().object,tabIndex:b().oneOfType([b().number,b().func]),transform:b().string};function Ws(){return Ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ws.apply(this,arguments)}const Hs=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?s.createElement("rect",Ws({vectorEffect:"non-scaling-stroke"},n),s.createElement("desc",null,t)):s.createElement("rect",Ws({vectorEffect:"non-scaling-stroke"},n))};function Us(){return Us=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Us.apply(this,arguments)}const Qs=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?s.createElement("circle",Us({vectorEffect:"non-scaling-stroke"},n),s.createElement("desc",null,t)):s.createElement("circle",Us({vectorEffect:"non-scaling-stroke"},n))};function Gs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Ks(e,t,n[t])}))}return e}function Ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ys=function(e){return(e=function(e){var t=Me(e.id,e);return f()({},e,{id:t})}(e)).polar?s.cloneElement(e.circleComponent,Gs({},e.events,{style:e.style,role:e.role,shapeRendering:e.shapeRendering,cx:e.x,cy:e.y,r:e.height,className:e.className})):s.cloneElement(e.rectComponent,Gs({},e.events,{style:e.style,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,rx:e.rx,ry:e.ry,width:e.width,height:e.height,className:e.className}))};Ys.propTypes=Gs({},Vs,{circleComponent:b().element,height:b().number,rectComponent:b().element,rx:b().number,ry:b().number,width:b().number,x:b().number,y:b().number}),Ys.defaultProps={circleComponent:s.createElement(Qs,null),rectComponent:s.createElement(Hs,null),role:"presentation",shapeRendering:"auto"};const $s=Ys;var Js=n(61422),qs=n.n(Js);function Zs(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Xs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var el=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Xs(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(Xs(n)),n.portalRegister=n.portalRegister.bind(Xs(n)),n.portalDeregister=n.portalDeregister.bind(Xs(n)),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return be()(this.map).map((function(t){var n=e.map[t];return n?s.cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return s.createElement("svg",this.props,this.getChildren())}}])&&Zs(n.prototype,i),t}(s.Component);Object.defineProperty(el,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(el,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:b().string,height:Ts,style:b().object,viewBox:b().string,width:Ts}});var tl=s.createContext({});tl.displayName="PortalContext";const nl=tl;var il,ol,rl=0,al=0,sl=0,ll=0,cl=0,dl=0,ul="object"==typeof performance&&performance.now?performance:Date,hl="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function pl(){return cl||(hl(fl),cl=ul.now()+dl)}function fl(){cl=0}function gl(){this._call=this._time=this._next=null}function ml(e,t,n){var i=new gl;return i.restart(e,t,n),i}function vl(){cl=(ll=ul.now())+dl,rl=al=0;try{!function(){pl(),++rl;for(var e,t=il;t;)(e=cl-t._time)>=0&&t._call.call(null,e),t=t._next;--rl}()}finally{rl=0,function(){for(var e,t,n=il,i=1/0;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:il=t);ol=e,_l(i)}(),cl=0}}function bl(){var e=ul.now(),t=e-ll;t>1e3&&(dl-=t,ll=e)}function _l(e){rl||(al&&(al=clearTimeout(al)),e-cl>24?(e<1/0&&(al=setTimeout(vl,e-ul.now()-dl)),sl&&(sl=clearInterval(sl))):(sl||(ll=ul.now(),sl=setInterval(bl,1e3)),rl=1,hl(vl)))}function yl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}gl.prototype=ml.prototype={constructor:gl,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?pl():+n)+(null==t?0:+t),this._next||ol===this||(ol?ol._next=this:il=this,ol=this),this._call=e,this._time=n,_l()},stop:function(){this._call&&(this._call=null,this._time=1/0,_l())}};var Al=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=null,this.activeSubscriptions=0}var t,n;return t=e,n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(pl()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer||(this.timer=ml(this.loop))}},{key:"stop",value:function(){this.timer&&(this.timer.stop(),this.timer=null)}},{key:"subscribe",value:function(e,t){t=this.shouldAnimate?t:0;var n=this.subscribers.push({startTime:pl(),callback:e,duration:t});return this.activeSubscriptions++,this.start(),n}},{key:"unsubscribe",value:function(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}],n&&yl(t.prototype,n),e}(),wl=s.createContext({transitionTimer:new Al,animationTimer:new Al});wl.displayName="TimerContext";const Cl=wl;function xl(){return xl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xl.apply(this,arguments)}function Sl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){El(e,t,n[t])}))}return e}function El(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var Ml=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).containerId=G()(e)&&void 0!==e.containerId?e.containerId:qs()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n.saveContainerRef=e&&T()(e.containerRef)?e.containerRef:function(e){return n.containerRef=e,e},n.shouldHandleWheel=e&&e.events&&e.events.onWheel,n.shouldHandleWheel&&(n.handleWheel=function(e){return e.preventDefault()}),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.addEventListener("wheel",this.handleWheel)}},{key:"componentWillUnmount",value:function(){this.shouldHandleWheel&&this.containerRef&&this.containerRef.removeEventListener("wheel",this.handleWheel)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"getOUIAProps",value:function(e){var t=e.ouiaId,n=e.ouiaSafe,i=e.ouiaType;return Sl({},t&&{"data-ouia-component-id":t},i&&{"data-ouia-component-type":i},void 0!==n&&{"data-ouia-safe":n})}},{key:"renderContainer",value:function(e,t,n){var i=e.title,o=e.desc,r=e.portalComponent,a=e.className,l=e.width,c=e.height,d=e.portalZIndex,u=e.responsive,h=this.getChildren(e),p=u?{width:"100%",height:"100%"}:{width:l,height:c},g=f()({pointerEvents:"none",touchAction:"none",position:"relative"},p),v=f()({zIndex:d,position:"absolute",top:0,left:0},p),b=f()({pointerEvents:"all"},p),_=f()({overflow:"visible"},p),y={width:l,height:c,viewBox:t.viewBox,preserveAspectRatio:t.preserveAspectRatio,style:_};return s.createElement(nl.Provider,{value:{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister}},s.createElement("div",xl({style:m()({},n,g),className:a,ref:this.saveContainerRef},this.getOUIAProps(e)),s.createElement("svg",xl({},t,{style:b}),i?s.createElement("title",{id:this.getIdForElement("title")},i):null,o?s.createElement("desc",{id:this.getIdForElement("desc")},o):null,h),s.createElement("div",{style:v},s.cloneElement(r,Sl({},y,{ref:this.savePortalRef})))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,i=e.responsive,o=e.events,r=e.title,a=e.desc,s=e.tabIndex,l=e.preserveAspectRatio,c=e.role,d=i?this.props.style:Ae(this.props.style,["height","width"]),u=f()({width:t,height:n,tabIndex:s,role:c,"aria-labelledby":[r&&this.getIdForElement("title"),this.props["aria-labelledby"]].filter(Boolean).join(" ")||void 0,"aria-describedby":[a&&this.getIdForElement("desc"),this.props["aria-describedby"]].filter(Boolean).join(" ")||void 0,viewBox:i?"0 0 ".concat(t," ").concat(n):void 0,preserveAspectRatio:i?l:void 0},o);return this.renderContainer(this.props,u,d)}}])&&kl(n.prototype,i),t}(s.Component);Object.defineProperty(Ml,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(Ml,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(Ml,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-describedby":b().string,"aria-labelledby":b().string,children:b().oneOfType([b().arrayOf(b().node),b().node]),className:b().string,containerId:b().oneOfType([b().number,b().string]),containerRef:b().func,desc:b().string,events:b().object,height:Ts,name:b().string,origin:b().shape({x:Ts,y:Ts}),ouiaId:b().oneOfType([b().number,b().string]),ouiaSafe:b().bool,ouiaType:b().string,polar:b().bool,portalComponent:b().element,portalZIndex:Ls,preserveAspectRatio:b().string,responsive:b().bool,role:b().string,style:b().object,tabIndex:b().number,theme:b().object,title:b().string,width:Ts}}),Object.defineProperty(Ml,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:s.createElement(el,null),portalZIndex:99,responsive:!0,role:"img"}}),Object.defineProperty(Ml,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Cl});var Dl=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Nl="#ECEFF1",Il="#90A4AE",Tl="#455A64",Ll="#212121",Bl={width:350,height:350,padding:50},Ol={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Tl,stroke:"transparent",strokeWidth:0},Pl=f()({textAnchor:"middle"},Ol),Fl="round",Rl="round";const jl={area:f()({style:{data:{fill:Ll},labels:Ol}},Bl),axis:f()({style:{axis:{fill:"transparent",stroke:Il,strokeWidth:2,strokeLinecap:Fl,strokeLinejoin:Rl},axisLabel:f()({},Pl,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Nl,strokeDasharray:"10, 5",strokeLinecap:Fl,strokeLinejoin:Rl,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Il,strokeWidth:1,strokeLinecap:Fl,strokeLinejoin:Rl},tickLabels:f()({},Ol,{fill:Tl})}},Bl),polarDependentAxis:f()({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:f()({style:{data:{fill:Tl,padding:8,strokeWidth:0},labels:Ol}},Bl),boxplot:f()({style:{max:{padding:8,stroke:Tl,strokeWidth:1},maxLabels:f()({},Ol,{padding:3}),median:{padding:8,stroke:Tl,strokeWidth:1},medianLabels:f()({},Ol,{padding:3}),min:{padding:8,stroke:Tl,strokeWidth:1},minLabels:f()({},Ol,{padding:3}),q1:{padding:8,fill:Tl},q1Labels:f()({},Ol,{padding:3}),q3:{padding:8,fill:Tl},q3Labels:f()({},Ol,{padding:3})},boxWidth:20},Bl),candlestick:f()({style:{data:{stroke:Tl},labels:f()({},Ol,{padding:5})},candleColors:{positive:"#ffffff",negative:Tl}},Bl),chart:Bl,errorbar:f()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Tl,strokeWidth:2},labels:Ol}},Bl),group:f()({colorScale:Dl},Bl),histogram:f()({style:{data:{fill:Tl,stroke:Ll,strokeWidth:2},labels:Ol}},Bl),legend:{colorScale:Dl,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Ol,title:f()({},Ol,{padding:5})}},line:f()({style:{data:{fill:"transparent",opacity:1,stroke:Tl,strokeWidth:2},labels:Ol}},Bl),pie:f()({colorScale:Dl,style:{data:{padding:8,stroke:Nl,strokeWidth:1},labels:f()({},Ol,{padding:20})}},Bl),scatter:f()({style:{data:{fill:Tl,opacity:1,stroke:"transparent",strokeWidth:0},labels:Ol}},Bl),stack:f()({colorScale:Dl},Bl),tooltip:{style:f()({},Ol,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Ll,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:f()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:f()({},Ol,{padding:5,pointerEvents:"none"}),flyout:{stroke:Ll,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Bl)};var zl=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Vl="#252525",Wl="#969696",Hl={width:450,height:300,padding:50,colorScale:zl},Ul={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Vl,stroke:"transparent"},Ql=f()({textAnchor:"middle"},Ul);const Gl={material:jl,grayscale:{area:f()({style:{data:{fill:Vl},labels:Ul}},Hl),axis:f()({style:{axis:{fill:"transparent",stroke:Vl,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:f()({},Ql,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Ul}},Hl),bar:f()({style:{data:{fill:Vl,padding:8,strokeWidth:0},labels:Ul}},Hl),boxplot:f()({style:{max:{padding:8,stroke:Vl,strokeWidth:1},maxLabels:f()({},Ul,{padding:3}),median:{padding:8,stroke:Vl,strokeWidth:1},medianLabels:f()({},Ul,{padding:3}),min:{padding:8,stroke:Vl,strokeWidth:1},minLabels:f()({},Ul,{padding:3}),q1:{padding:8,fill:Wl},q1Labels:f()({},Ul,{padding:3}),q3:{padding:8,fill:Wl},q3Labels:f()({},Ul,{padding:3})},boxWidth:20},Hl),candlestick:f()({style:{data:{stroke:Vl,strokeWidth:1},labels:f()({},Ul,{padding:5})},candleColors:{positive:"#ffffff",negative:Vl}},Hl),chart:Hl,errorbar:f()({borderWidth:8,style:{data:{fill:"transparent",stroke:Vl,strokeWidth:2},labels:Ul}},Hl),group:f()({colorScale:zl},Hl),histogram:f()({style:{data:{fill:Wl,stroke:Vl,strokeWidth:2},labels:Ul}},Hl),legend:{colorScale:zl,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Ul,title:f()({},Ul,{padding:5})}},line:f()({style:{data:{fill:"transparent",stroke:Vl,strokeWidth:2},labels:Ul}},Hl),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:f()({},Ul,{padding:20})},colorScale:zl,width:400,height:400,padding:50},scatter:f()({style:{data:{fill:Vl,stroke:"transparent",strokeWidth:0},labels:Ul}},Hl),stack:f()({colorScale:zl},Hl),tooltip:{style:f()({},Ul,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Vl,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:f()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:f()({},Ul,{padding:5,pointerEvents:"none"}),flyout:{stroke:Vl,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Hl)}};var Kl=n(5271),Yl=n.n(Kl),$l=n(21061),Jl=n.n($l),ql=n(30693),Zl=n.n(ql),Xl=n(88232),ec=n.n(Xl);function tc(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function nc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ic=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?nc(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state=n.state||{},n.getScopedEvents=ls.bind(nc(n)),n.getEventState=ds.bind(nc(n)),n.baseProps=n.getBaseProps(e),n.sharedEventsCache={},n.globalEvents={},n.prevGlobalEventKeys=[],n.boundGlobalEvents={},n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"shouldComponentUpdate",value:function(e){if(!Zl()(this.props,e)){this.baseProps=this.getBaseProps(e);var t=this.getExternalMutations(e,this.baseProps);this.applyExternalMutations(e,t)}return!0}},{key:"componentDidMount",value:function(){var e=this,t=be()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(){var e=this,t=be()(this.globalEvents);Yl()(this.prevGlobalEventKeys,t).forEach((function(t){return e.removeGlobalListener(t)})),Yl()(t,this.prevGlobalEventKeys).forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var i=t.globalEvents[e];return i&&i(vs(n))};this.boundGlobalEvents[e]=n,window.addEventListener(fs(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(fs(e),this.boundGlobalEvents[e])}},{key:"getAllEvents",value:function(e){var t,n=ps(e,["container","groupComponent"]);return Array.isArray(n)?Array.isArray(e.events)?n.concat.apply(n,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t=e.events)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):n:e.events}},{key:"applyExternalMutations",value:function(e,t){if(!h()(t)){var n=e.externalEventMutations.reduce((function(e,t){return T()(t.callback)?e.concat(t.callback):e}),[]),i=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,i)}}},{key:"getExternalMutations",value:function(e,t){return h()(e.externalEventMutations)?void 0:function(e,t,n,i){return t=t||{},n=n||{},i.reduce((function(i,o){var r=n[o],a=us(e,t[o],n[o],o);return i[o]=a||r,is()(i,(function(e){return!h()(e)}))}),{})}(e.externalEventMutations,t,this.state,be()(t))}},{key:"cacheSharedEvents",value:function(e,t,n){this.sharedEventsCache[e]=[t,n]}},{key:"getCachedSharedEvents",value:function(e,t){var n,i,o=(n=this.sharedEventsCache[e]||[],i=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),r=o[0],a=o[1];if(r&&Zl()(t,a))return r}},{key:"getBaseProps",value:function(e){var t=e.container,n=s.Children.toArray(this.props.children),i=this.getBasePropsFromChildren(n),o=t?t.props:{};return f()({},i,{parent:o})}},{key:"getBasePropsFromChildren",value:function(e){var t=Re(e,(function(e,t){if(e.type&&T()(e.type.getBaseProps)){var n=e.props&&e.type.getBaseProps(e.props);return n?[[t,n]]:null}return null}));return Jl()(t)}},{key:"getNewChildren",value:function(e,t){var n=this,i=e.events,o=e.eventKey,r=function(e,a){return e.reduce((function(e,l,c){if(l.props.children){var d=s.Children.toArray(l.props.children),u=a.slice(c,c+d.length),h=s.cloneElement(l,l.props,r(d,u));return e.concat(h)}if("parent"!==a[c]&&l.type&&T()(l.type.getBaseProps)){var p=l.props.name||a[c],g=Array.isArray(i)&&i.filter((function(e){return"parent"!==e.target&&(Array.isArray(e.childName)?e.childName.indexOf(p)>-1:e.childName===p||"all"===e.childName)})),m=[p,t,g,ec()(n.state[p])],v=n.getCachedSharedEvents(p,m)||{events:g,getEvents:function(e,i){return n.getScopedEvents(e,i,p,t)},getEventState:function(e,t){return n.getEventState(e,t,p)}};return n.cacheSharedEvents(p,v,m),e.concat(s.cloneElement(l,f()({key:"events-".concat(p),sharedEvents:v,eventKey:o,name:p},l.props)))}return e.concat(l)}),[])},a=be()(t),l=s.Children.toArray(e.children);return r(l,a)}},{key:"getContainer",value:function(e,t,n){var i=this,o=this.getNewChildren(e,t),r=Array.isArray(n)&&n.filter((function(e){return"parent"===e.target})),a=r.length>0?{events:r,getEvents:function(e,n){return i.getScopedEvents(e,n,null,t)},getEventState:this.getEventState}:null,l=e.container||e.groupComponent,c=l.type&&l.type.role,d=l.props||{},u=ss.bind(this),h=a&&u({sharedEvents:a},"parent"),p=m()({},this.getEventState("parent","parent"),d,t.parent,{children:o}),g=m()({},cs(h,"parent",p),d.events);this.globalEvents=gs(g);var v=ms(g);return"container"===c?s.cloneElement(l,f()({},p,{events:v})):s.cloneElement(l,v,o)}},{key:"render",value:function(){var e=this.getAllEvents(this.props);return e?this.getContainer(this.props,this.baseProps,e):s.cloneElement(this.props.container,{children:this.props.children})}}],i&&tc(n.prototype,i),t}(s.Component);Object.defineProperty(ic,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySharedEvents"}),Object.defineProperty(ic,"role",{configurable:!0,enumerable:!0,writable:!0,value:"shared-event-wrapper"}),Object.defineProperty(ic,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:b().oneOfType([b().arrayOf(b().node),b().node]),container:b().node,eventKey:b().oneOfType([b().array,b().func,Is([Ls,Ts]),b().string]),events:b().arrayOf(b().shape({childName:b().oneOfType([b().string,b().array]),eventHandlers:b().object,eventKey:b().oneOfType([b().array,b().func,Is([Ls,Ts]),b().string]),target:b().string})),externalEventMutations:b().arrayOf(b().shape({callback:b().function,childName:b().oneOfType([b().string,b().array]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),mutation:b().function,target:b().oneOfType([b().string,b().array])})),groupComponent:b().node}}),Object.defineProperty(ic,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:s.createElement("g",null)}}),Object.defineProperty(ic,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Cl});var oc={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},rc={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},ac={em:1,ex:.5},sc={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},lc=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},cc=function(e,t,n){var i=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(i)*e)+Math.abs(Math.sin(i)*t)},dc=function(e,t){var n=e.match(/[a-zA-Z%]+/)&&e.match(/[a-zA-Z%]+/)[0],i=e.match(/[0-9.,]+/);return n?rc.hasOwnProperty(n)?i*rc[n]:ac.hasOwnProperty(n)?(t?i*t:i*sc.fontSize)*ac[n]:i:i||0},uc=function(e,t){var n=Array.isArray(e)?e[t]:e,i=m()({},n,sc);return f()({},i,{fontFamily:i.fontFamily,letterSpacing:"number"==typeof i.letterSpacing?i.letterSpacing:dc(String(i.letterSpacing),i.fontSize),fontSize:"number"==typeof i.fontSize?i.fontSize:dc(String(i.fontSize))})},hc=function(e,t){if(void 0===e||""===e||null===e)return 0;var n,i=lc(e).map((function(e,n){var i,o,r=e.toString().length,a=uc(t,n),s=a.fontSize,l=a.letterSpacing,c=(i=a.fontFamily,o=i.split(",").map((function(e){return e.replace(/'|"/g,"")})).find((function(e){return oc[e]}))||"Helvetica",oc[o]),d=e.toString().split("").map((function(e){return e.charCodeAt(0)<c.widths.length?c.widths[e.charCodeAt(0)]:c.avg})).reduce((function(e,t){return t+e}),0)*s;return d+l*Math.max(r-1,0)}));return Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=i)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},pc=function(e,t){return function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,i=function(e,t){return void 0===e||""===e||null===e?0:lc(e).reduce((function(e,n,i){var o=uc(t,i),r=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return e+o.lineHeight*r}),0)}(e,t),o=hc(e,t);return{width:n?cc(o,i,n):o,height:1.05*(n?cc(i,o,n):i)}}(e,t)};function fc(){return fc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fc.apply(this,arguments)}const gc=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?s.createElement("line",fc({vectorEffect:"non-scaling-stroke"},n),s.createElement("desc",null,t)):s.createElement("line",fc({vectorEffect:"non-scaling-stroke"},n))};function mc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){vc(e,t,n[t])}))}return e}function vc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bc=function(e){return e=function(e){var t=Me(e.ariaLabel,e),n=Me(e.desc,e),i=Me(e.id,e),o=De(f()({stroke:"black"},e.style),e),r=Me(e.tabIndex,e);return f()({},e,{ariaLabel:t,desc:n,id:i,style:o,tabIndex:r})}(e),s.cloneElement(e.lineComponent,mc({},e.events,{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,transform:e.transform,clipPath:e.clipPath}))};bc.propTypes=mc({},Vs,{datum:b().any,lineComponent:b().element,x1:b().number,x2:b().number,y1:b().number,y2:b().number}),bc.defaultProps={lineComponent:s.createElement(gc,null),role:"presentation",shapeRendering:"auto"};const _c=bc;function yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ac(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function wc(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Cc=function(e){function t(){return yc(this,t),wc(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},i=n.groupComponent?{groupComponent:t,standalone:!1}:{},o=m()(i,n,Ae(this.props,["children","groupComponent"])),r=e&&s.cloneElement(e,o);return this.renderPortal(r)}}])&&Ac(n.prototype,i),t}(s.Component);function xc(e){var t=e.labelComponent,n=e.labelPlacement,i=e.polar?"perpendicular":"vertical";return n||t.props&&t.props.labelPlacement||i}function Sc(e,t,n){return void 0!==(t=t||{}).label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function Ec(e,t){var n=xc(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function kc(e,t){var n=xc(e),i=function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}(t);return"parallel"===n||"left"===i||"right"===i?"middle":"top"===i?"end":"start"}function Mc(e,t){var n=e.labelPlacement,i=e.datum;if(!n||"vertical"===n)return 0;var o=void 0!==t?t%360:Dc(e,i),r=0;return 0===o||180===o?r=90:o>0&&o<180?r=90-o:o>180&&o<360&&(r=270-o),r+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}function Dc(e,t){var n=we(t).x;return Ie(e.scale.x(n))%360}function Nc(e,t){var n=e.scale,i=e.data,o=e.style,r=e.horizontal,a=e.polar,s=e.width,l=e.height,c=e.theme,d=e.labelComponent,u=e.disableInlineStyles,h=i[t],p=Dc(e,h),f=a?Ec(e,p):function(e,t){t=t||{};var n=e.style,i=e.horizontal,o=t._y>=0?1:-1,r=n&&n.labels||{};return t.verticalAnchor||r.verticalAnchor?t.verticalAnchor||r.verticalAnchor:i?o>=0?"start":"end":"middle"}(e,h),g=a?kc(e,p):function(e,t){var n=(t=t||{})._y>=0?1:-1,i=e.style&&e.style.labels||{};return t.verticalAnchor||i.verticalAnchor?t.verticalAnchor||i.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}(e,h),v=function(e,t){t=t||{};var n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}(e,h),b=Sc(e,h,t),_=xc(e),y=function(e,t){var n=e.polar,i=Ce(e,t),o=i.x,r=i.y;if(n){var a=function(e,t){var n=e.style,i=Dc(e,t),o=Me((n.labels||{}).padding,e)||0,r=Ne(i);return{x:o*Math.cos(r),y:-o*Math.sin(r)}}(e,t);return{x:o+a.x,y:r+a.y}}return{x:o,y:r}}(e,h),A=y.x,w=y.y,C=function(e,t){if(e.polar)return{};var n=function(e,t){t=t||{};var n=e.horizontal,i=Me((e.style.labels||{}).padding,e)||0,o=t._y<0?-1:1;return{x:n?o*i:0,y:n?0:-1*o*i}}(e,t);return{dx:n.x,dy:n.y}}(e,h),x={angle:v,data:i,datum:h,disableInlineStyles:u,horizontal:r,index:t,polar:a,scale:n,labelPlacement:_,text:b,textAnchor:f,verticalAnchor:g,x:A,y:w,dx:C.dx,dy:C.dy,width:s,height:l,style:o.labels};if(!Se(d))return x;var S=c&&c.tooltip||{};return m()({},x,Ae(S,["style"]))}Object.defineProperty(Cc,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(Cc,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(Cc,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:b().node,groupComponent:b().element}}),Object.defineProperty(Cc,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:s.createElement("g",null)}}),Object.defineProperty(Cc,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:nl});var Ic=function(e){var t=e.children,n=e.title,i=e.desc,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","title","desc"]);return s.createElement("text",o,n&&s.createElement("title",null,n),i&&s.createElement("desc",null,i),t)};Ic.propTypes={children:b().node,desc:b().string,title:b().string};const Tc=Ic;function Lc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Oc={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Serยญavek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Pc=function(e,t){return e.datum?Ce(e,e.datum)[t]:0},Fc=function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return Oc.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?Oc.fontSize:n}return Oc.fontSize},Rc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)?e[t]||e[0]:e},jc=function(e){var t=e.backgroundStyle,n=e.backgroundPadding;return Array.isArray(t)&&!h()(t)||Array.isArray(n)&&!h()(n)},zc=function(e,t){var n=e.direction,i=e.textAnchor,o=e.x,r=e.dx;if("rtl"===n)return o-t;switch(i){case"middle":return Math.round(o-t/2);case"end":return Math.round(o-t);default:return o+(r||0)}},Vc=function(e,t){var n=e.verticalAnchor,i=e.y,o=e.originalDy,r=i+(void 0===o?0:o);switch(n){case"start":return Math.floor(r);case"end":return Math.ceil(r-t);default:return Math.floor(r-t/2)}},Wc=function(e,t){return jc(e)?function(e,t){var n=e.dy,i=e.dx,o=e.transform,r=e.backgroundStyle,a=e.backgroundPadding,l=e.backgroundComponent,c=e.inline,d=e.y,u=t.map((function(e,o){var r=Rc(t,o-1),s=e.textSize,l=e.fontSize*e.lineHeight,u=Math.ceil(l),h=Rc(a,o),p=Rc(a,o-1),f=c&&i||0,g=o&&!c?r.fontSize*r.lineHeight+p.top+p.bottom:n-.5*l-(e.fontSize-e.capHeight);return{textHeight:u,labelSize:s,heightWithPadding:u+h.top+h.bottom,widthWithPadding:s.width+h.left+h.right+f,y:d,fontSize:e.fontSize,dy:g}}));return u.map((function(t,n){var i=zc(e,t.labelSize.width),h=u.slice(0,n+1).reduce((function(e,t){return e+t.dy}),d),p=Rc(a,n),f=t.heightWithPadding,g=c?function(e,t,n){var i=e.textAnchor,o=t.map((function(e){return e.widthWithPadding})),r=-o.reduce((function(e,t){return e+t}),0)/2;switch(i){case"start":return o.reduce((function(e,t,i){return i<n?e+t:e}),0);case"end":return o.reduce((function(e,t,i){return i>n?e-t:e}),0);default:return o.reduce((function(e,t,i){return i===n?e+t/2:e+(i<n?t:0)}),r)}}(e,u,n)+i-p.left:i,v=c?Vc(e,f)-p.top:h,b={key:"tspan-background-".concat(n),height:f,style:Rc(r,n),width:t.widthWithPadding,transform:o,x:g-p.left,y:v};return s.cloneElement(l,m()({},l.props,b))}))}(e,t):function(e,t){var n=e.dx,i=void 0===n?0:n,o=e.transform,r=e.backgroundComponent,a=e.backgroundStyle,l=e.inline,c=e.backgroundPadding,d=e.capHeight,u=t.map((function(e){return e.textSize})),h=l?Math.max.apply(Math,Bc(u.map((function(e){return e.height})))):u.reduce((function(e,n,i){var o=i?0:d/2;return e+n.height*(t[i].lineHeight-o)}),0),p=l?u.reduce((function(e,t,n){var o=n?i:0;return e+t.width+o}),0):Math.max.apply(Math,Bc(u.map((function(e){return e.width})))),f=zc(e,p),g=Vc(e,h),v={key:"background",height:h+c.top+c.bottom,style:a,transform:o,width:p+c.left+c.right,x:l?f-c.left:f+i-c.left,y:g};return s.cloneElement(r,m()({},r.props,v))}(e,t)},Hc=function(e,t,n){var i=t.inline,o=Rc(e,n);return n&&!i?function(e,t,n){var i=Rc(e,t),o=Rc(e,t-1),r=o.fontSize*o.lineHeight,a=i.fontSize*i.lineHeight,s=o.fontSize-o.capHeight,l=i.fontSize-i.capHeight,c=r-o.fontSize/2+i.fontSize/2-r/2+a/2-l/2+s/2;return jc(n)?c+i.backgroundPadding.top+o.backgroundPadding.bottom:c}(e,n,t):i?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},Uc=function(e){if(null===(e=function(e){var t=function(e,t){if(null!=e){if(Array.isArray(e))return e.map((function(e){return Me(e,t)}));var n=Me(e,t);if(null!=n)return Array.isArray(n)?n:"".concat(n).split("\n")}}(e.text,e),n=function(e,t){if(t.disableInlineStyles){var n=De(e,t);return{fontSize:Fc(n)}}var i=function(e){var n=De(e=e?m()({},e,Oc):Oc,t);return f()({},n,{fontSize:Fc(n)})};return Array.isArray(e)&&!h()(e)?e.map((function(e){return i(e)})):i(e)}(e.style,f()({},e,{text:t})),i=function(e,t){if(e)return Array.isArray(e)&&!h()(e)?e.map((function(e){return De(e,t)})):De(e,t)}(e.backgroundStyle,f()({},e,{text:t,style:n})),o=function(e){return e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((function(t){return xe({padding:Me(t,e)})})):xe({padding:Me(e.backgroundPadding,e)})}(f()({},e,{text:t,style:n,backgroundStyle:i})),r=Me(e.id,e);return f()({},e,{backgroundStyle:i,backgroundPadding:o,style:n,text:t,id:r})}(e)).text||void 0===e.text)return null;var t=function(e){var t=Me(e.ariaLabel,e),n=Rc(e.style),i=function(e){var t=Me(e.lineHeight,e);return Array.isArray(t)&&h()(t)?[1]:t}(e),o=e.direction?Me(e.direction,e):"inherit",r=e.textAnchor?Me(e.textAnchor,e):n.textAnchor||"start",a=e.verticalAnchor?Me(e.verticalAnchor,e):n.verticalAnchor||"middle",s=e.dx?Me(e.dx,e):0,l=function(e,t,n){var i=e.dy?Me(e.dy,e):0,o=e.inline?1:e.text.length,r=Me(e.capHeight,e),a=t?Me(t,e):"middle",s=Bc(Array(o).keys()).map((function(t){return Rc(e.style,t).fontSize})),l=Bc(Array(o).keys()).map((function(e){return Rc(n,e)}));if("start"===a)return i+(r/2+l[0]/2)*s[0];if(e.inline)return"end"===a?i+(r/2-l[0]/2)*s[0]:i+r/2*s[0];if(1===o)return"end"===a?i+(r/2+(.5-o)*l[0])*s[0]:i+(r/2+(.5-o/2)*l[0])*s[0];var c=Bc(Array(o).keys()).reduce((function(e,t){return e+(r/2+(.5-o)*l[t])*s[t]/o}),0);return"end"===a?i+c:i+c/2+r/2*l[o-1]*s[o-1]}(e,a,i),c=void 0!==e.x?e.x:Pc(e,"x"),d=void 0!==e.y?e.y:Pc(e,"y"),u=function(e,t,n){var i=e.polar,o=Rc(e.style),r=i?Mc(e):0,a=void 0===o.angle?Me(e.angle,e):o.angle,s=void 0===a?r:a,l=e.transform||o.transform,c=l&&Me(l,e);return c||s?Ya(c,s&&{rotate:[s,t,n]}):void 0}(e,c,d);return f()({},e,{ariaLabel:t,lineHeight:i,direction:o,textAnchor:r,verticalAnchor:a,dx:s,dy:l,originalDy:e.dy,transform:u,x:c,y:d})}(e),n=t.text,i=t.style,o=t.capHeight,r=t.backgroundPadding,a=t.lineHeight,l=n.map((function(e,t){var n=Rc(i,t),s=dc("".concat(o,"em"),n.fontSize),l=Rc(a,t);return{style:n,fontSize:n.fontSize||Oc.fontSize,capHeight:s,text:e,textSize:pc(e,n),lineHeight:l,backgroundPadding:Rc(r,t)}})),c=function(e,t){var n=e.ariaLabel,i=e.inline,o=e.className,r=e.title,a=e.events,l=e.direction,c=e.text,d=e.textAnchor,u=e.dx,h=e.dy,p=e.transform,f=e.x,g=e.y,m=e.desc,v=e.id,b=e.tabIndex,_=e.tspanComponent,y=e.textComponent,A=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Lc(e,t,n[t])}))}return e}({"aria-label":n,key:"text"},a,{direction:l,dx:u,x:f,y:g+h,transform:p,className:o,title:r,desc:Me(m,e),tabIndex:Me(b,e),id:v}),w=c.map((function(n,o){var r=t[o].style,a={key:"".concat(v,"-key-").concat(o),x:i?void 0:f,dx:i?u+t[o].backgroundPadding.left:u,dy:Hc(t,e,o),textAnchor:r.textAnchor||d,style:r,children:n};return s.cloneElement(_,a)}));return s.cloneElement(y,A,w)}(t,l);if(e.backgroundStyle){var d=[Wc(t,l),c],u=s.cloneElement(e.groupComponent,{},d);return e.renderInPortal?s.createElement(Cc,null,u):u}return e.renderInPortal?s.createElement(Cc,null,c):c};Uc.displayName="VictoryLabel",Uc.role="label",Uc.defaultStyles=Oc,Uc.propTypes={active:b().bool,angle:b().oneOfType([b().string,b().number,b().func]),ariaLabel:b().oneOfType([b().string,b().func]),backgroundComponent:b().element,backgroundPadding:b().oneOfType([b().number,b().object,b().array]),backgroundStyle:b().oneOfType([b().object,b().array]),capHeight:b().oneOfType([b().string,Ts,b().func]),className:b().string,data:b().array,datum:b().any,desc:b().oneOfType([b().string,b().func]),direction:b().oneOf(["rtl","ltr","inherit"]),dx:b().oneOfType([b().number,b().string,b().func]),dy:b().oneOfType([b().number,b().string,b().func]),events:b().object,groupComponent:b().element,id:b().oneOfType([b().number,b().string,b().func]),index:b().oneOfType([b().number,b().string]),inline:b().bool,labelPlacement:b().oneOf(["parallel","perpendicular","vertical"]),lineHeight:b().oneOfType([b().string,Ts,b().func,b().array]),origin:b().shape({x:Ts,y:Ts}),polar:b().bool,renderInPortal:b().bool,scale:b().shape({x:Ps,y:Ps}),style:b().oneOfType([b().object,b().array]),tabIndex:b().oneOfType([b().number,b().func]),text:b().oneOfType([b().string,b().number,b().func,b().array]),textAnchor:b().oneOfType([b().oneOf(["start","middle","end","inherit"]),b().func]),textComponent:b().element,title:b().string,transform:b().oneOfType([b().string,b().object,b().func]),tspanComponent:b().element,verticalAnchor:b().oneOfType([b().oneOf(["start","middle","end"]),b().func]),x:b().oneOfType([b().number,b().string]),y:b().oneOfType([b().number,b().string])},Uc.defaultProps={backgroundComponent:s.createElement(Hs,null),groupComponent:s.createElement("g",null),direction:"inherit",textComponent:s.createElement(Tc,null),tspanComponent:s.createElement((function(e){return s.createElement("tspan",e)}),null),capHeight:.71,lineHeight:1};const Qc=Uc;var Gc=n(14698),Kc=n.n(Gc);function Yc(e){return+e}function $c(e){return e*e}function Jc(e){return e*(2-e)}function qc(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Zc(e){return e*e*e}function Xc(e){return--e*e*e+1}function ed(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var td=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),nd=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),id=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),od=Math.PI,rd=od/2;function ad(e){return 1==+e?1:1-Math.cos(e*rd)}function sd(e){return Math.sin(e*rd)}function ld(e){return(1-Math.cos(od*e))/2}function cd(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function dd(e){return cd(1-+e)}function ud(e){return 1-cd(e)}function hd(e){return((e*=2)<=1?cd(1-e):2-cd(e-1))/2}function pd(e){return 1-Math.sqrt(1-e*e)}function fd(e){return Math.sqrt(1- --e*e)}function gd(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var md=7.5625;function vd(e){return 1-bd(1-e)}function bd(e){return(e=+e)<.36363636363636365?md*e*e:e<.7272727272727273?md*(e-=.5454545454545454)*e+.75:e<.9090909090909091?md*(e-=.8181818181818182)*e+.9375:md*(e-=.9545454545454546)*e+.984375}function _d(e){return((e*=2)<=1?1-bd(1-e):bd(e-1)+1)/2}var yd=1.70158,Ad=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(yd),wd=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(yd),Cd=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(yd),xd=2*Math.PI,Sd=function e(t,n){var i=Math.asin(1/(t=Math.max(1,t)))*(n/=xd);function o(e){return t*cd(- --e)*Math.sin((i-e)/n)}return o.amplitude=function(t){return e(t,n*xd)},o.period=function(n){return e(t,n)},o}(1,.3),Ed=function e(t,n){var i=Math.asin(1/(t=Math.max(1,t)))*(n/=xd);function o(e){return 1-t*cd(e=+e)*Math.sin((e+i)/n)}return o.amplitude=function(t){return e(t,n*xd)},o.period=function(n){return e(t,n)},o}(1,.3),kd=function e(t,n){var i=Math.asin(1/(t=Math.max(1,t)))*(n/=xd);function o(e){return((e=2*e-1)<0?t*cd(-e)*Math.sin((i-e)/n):2-t*cd(e)*Math.sin((i+e)/n))/2}return o.amplitude=function(t){return e(t,n*xd)},o.period=function(n){return e(t,n)},o}(1,.3),Md=function(e){if(null!==e)switch(typeof e){case"undefined":case"boolean":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return e instanceof Date||Array.isArray(e)||y()(e)}return!1},Dd=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(i){return i<n?e:t}},Nd=function(e,t){return function(n){return n>=1?t:function(){var i="function"==typeof e?e.apply(this,arguments):e,o="function"==typeof t?t.apply(this,arguments):t;return rn(i,o)(n)}}},Id=function(e,t){var n,i,o,r=function(e){return Array.isArray(e)?z()(e,"key"):e},a={},s={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?a[n]=(i=r(e[n]))!==(o=r(t[n]))&&Md(i)&&Md(o)?"function"==typeof i||"function"==typeof o?Nd(i,o):"object"==typeof i&&y()(i)||"object"==typeof o&&y()(o)?Id(i,o):rn(i,o):Dd(i,o):s[n]=t[n];return function(e){for(n in a)s[n]=a[n](e);return s}};function Td(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ld(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Bd=function(e){function t(e,n){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ld(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={data:Array.isArray(i.props.data)?i.props.data[0]:i.props.data,animationInfo:{progress:0,animating:!1}},i.interpolator=null,i.queue=Array.isArray(i.props.data)?i.props.data.slice(1):[],i.ease=o[i.toNewName(i.props.easing)],i.functionToBeRunEachFrame=i.functionToBeRunEachFrame.bind(Ld(i)),i.timer=i.context.animationTimer,i}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentDidUpdate",value:function(e){if(!Zl()(this.props,e))if(this.interpolator&&this.state.animationInfo&&this.state.animationInfo.progress<1)this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}});else{var t;this.timer.unsubscribe(this.loopID),Array.isArray(this.props.data)?(t=this.queue).push.apply(t,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=this.props.data)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):(this.queue.length=0,this.queue.push(this.props.data)),this.traverseQueue()}var n}},{key:"componentWillUnmount",value:function(){this.loopID?this.timer.unsubscribe(this.loopID):this.timer.stop()}},{key:"toNewName",value:function(e){return"ease".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))}},{key:"traverseQueue",value:function(){var e=this;if(this.queue.length){var t=this.queue[0];this.interpolator=function(e,t){return e!==t&&Md(e)&&Md(t)?"function"==typeof e||"function"==typeof t?Nd(e,t):y()(e)||y()(t)?Id(e,t):"string"==typeof e||"string"==typeof t?function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return rn(n(e),n(t))}(e,t):rn(e,t):Dd(e,t)}(this.state.data,t),this.props.delay?setTimeout((function(){e.loopID=e.timer.subscribe(e.functionToBeRunEachFrame,e.props.duration)}),this.props.delay):this.loopID=this.timer.subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(e,t){var n=(t=void 0!==t?t:this.props.duration)?e/t:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),this.loopID&&this.timer.unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}],i&&Td(n.prototype,i),t}(s.Component);function Od(){return Od=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Od.apply(this,arguments)}function Pd(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Fd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(Bd,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(Bd,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:b().func,data:b().oneOfType([b().object,b().array]),delay:b().number,duration:b().number,easing:b().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:b().func}}),Object.defineProperty(Bd,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(Bd,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Cl});var Rd=function(e){function t(e,n){var i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Fd(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var o=i.props.children,r=o.props.polar;return i.continuous=!r&&o.type&&!0===o.type.continuous,i.getTransitionState=i.getTransitionState.bind(Fd(i)),i.timer=i.context.transitionTimer,i}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return Zl()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(function(){return t.timer.resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.timer.stop()}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};var i=es(s.Children.toArray(e.children),s.Children.toArray(t.children)),o=i.nodesWillExit;return{nodesWillExit:o,nodesWillEnter:i.nodesWillEnter,childrenTransitions:i.childrenTransitions,nodesShouldEnter:i.nodesShouldEnter,oldProps:o?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce((function(e,i){if(i.type&&T()(i.type.getDomain)){var o=i.props&&i.type.getDomain(i.props,t);return o?e.concat(o):e}return i.props&&i.props.children?e.concat(n(s.Children.toArray(i.props.children))):e}),[])},i=s.Children.toArray(e.children)[0],o=i.props||{},r=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[t];if(!o.children&&r)return r;var a=n([i]);return 0===a.length?[0,1]:[ne(a),te(a)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=G()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?(this.continous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}},{key:"getClipWidth",value:function(e,t){var n,i=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==i?i:(n=Be(t.props,"x"))?Math.abs(n[1]-n[0]):e.width}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=G()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:ts(t,this.state,(function(t){return e.setState(t)})),i=s.Children.toArray(t.children)[0],o=n(i);this.transitionProps=o;var r={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,i),l=m()({domain:r,clipWidth:a},o,i.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),d=c.length?ye()(l,c):l;return s.createElement(Bd,Od({},l.animate,{data:d}),(function(t){if(i.props.groupComponent){var n=e.continuous?s.cloneElement(i.props.groupComponent,{clipWidth:t.clipWidth||0}):i.props.groupComponent;return s.cloneElement(i,m()({animate:null,animating:!0,groupComponent:n},t,l))}return s.cloneElement(i,m()({animate:null,animating:!0},t,l))}))}}],i&&Pd(n.prototype,i),t}(s.Component);function jd(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function zd(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Vd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(Rd,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(Rd,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:b().oneOfType([b().bool,b().object]),animationWhitelist:b().array,children:b().node}}),Object.defineProperty(Rd,"contextType",{configurable:!0,enumerable:!0,writable:!0,value:Cl});var Wd=function(e){return!Kc()(e._x)&&!Kc()(e._y)},Hd=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];const Ud=function(e,t){return function(n){function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Vd(e):t}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,e));var n=ls.bind(Vd(t)),o=ss.bind(Vd(t));t.state={},t.getEvents=function(e,t,i){return o(e,t,i,n)},t.getEventState=ds.bind(Vd(t));var r=t.getCalculatedValues(e);return t.cacheValues(r),t.externalMutations=t.getExternalMutations(e),t.calculatedState=t.getStateChanges(e),t.globalEvents={},t.prevGlobalEventKeys=[],t.boundGlobalEvents={},t}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n),o=i,r=[{key:"shouldComponentUpdate",value:function(e){var t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,i=!Zl()(t,this.externalMutations);if(n||i)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;var o=this.getStateChanges(e);return Zl()(this.calculatedState,o)?!Zl()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}},{key:"componentDidMount",value:function(){var e=this,t=be()(this.globalEvents);t.forEach((function(t){return e.addGlobalListener(t)})),this.prevGlobalEventKeys=t}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.getStateChanges(e);this.calculatedState=n;var i=be()(this.globalEvents);Yl()(this.prevGlobalEventKeys,i).forEach((function(e){return t.removeGlobalListener(e)})),Yl()(i,this.prevGlobalEventKeys).forEach((function(e){return t.addGlobalListener(e)})),this.prevGlobalEventKeys=i}},{key:"componentWillUnmount",value:function(){var e=this;this.prevGlobalEventKeys.forEach((function(t){return e.removeGlobalListener(t)}))}},{key:"addGlobalListener",value:function(e){var t=this,n=function(n){var i=t.globalEvents[e];return i&&i(vs(n))};this.boundGlobalEvents[e]=n,window.addEventListener(fs(e),n)}},{key:"removeGlobalListener",value:function(e){window.removeEventListener(fs(e),this.boundGlobalEvents[e])}},{key:"getStateChanges",value:function(e){var n=this;if(!this.hasEvents)return{};var i=function(e,t){var i=m()({},n.getEventState(e,t),n.getSharedEventState(e,t));return h()(i)?void 0:i};return((t=t||{}).components||Hd).map((function(t){return e.standalone||"parent"!==t.name?void 0!==t.index?i(t.index,t.name):n.dataKeys.map((function(e){return i(e,t.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!h()(t)){var n=e.externalEventMutations.reduce((function(e,t){return T()(t.callback)?e.concat(t.callback):e}),[]),i=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,i)}}},{key:"getCalculatedValues",value:function(t){var n=t.sharedEvents,i=ps(t,e.expectedComponents),o=n&&T()(n.getEventState)?n.getEventState:function(){},r=this.getBaseProps(t,o);return{componentEvents:i,getSharedEventState:o,baseProps:r,dataKeys:be()(r).filter((function(e){return"parent"!==e})),hasEvents:t.events||t.sharedEvents||i,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return h()(n)||t?void 0:us(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;be()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(t,n){var i=(n=n||this.getSharedEventState)("parent","parent"),o=this.getEventState("parent","parent"),r=m()({},o,i),a=r.parentControlledProps,s=a?ye()(r,a):{},l=m()({},s,t);return T()(e.getBaseProps)?e.getBaseProps(l):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,jd(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(t,n,i){var o=this.props.name||e.role,r=this.dataKeys&&this.dataKeys[i]||i,a="".concat(o,"-").concat(n,"-").concat(r),s=this.baseProps[r]&&this.baseProps[r][n]||this.baseProps[r];if(s||this.hasEvents){if(this.hasEvents){var l=this.getEvents(this.props,n,r),c=m()({index:i,key:a},this.getEventState(r,n),this.getSharedEventState(r,n),t.props,s,{id:a}),d=m()({},cs(l,r,c),c.events);return f()({},c,{events:d})}return m()({index:i,key:a},t.props,s,{id:a})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return n.events&&(this.globalEvents=gs(n.events),n.events=ms(n.events)),s.cloneElement(e,n,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return s.createElement(Rd,{animate:e.animate,animationWhitelist:n},s.createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,i=e.labelComponent,o=e.groupComponent,r=P()(this.dataKeys,"all").reduce((function(e,n){var o=t.getComponentProps(i,"labels",n);return o&&void 0!==o.text&&null!==o.text&&(e=e.concat(s.cloneElement(i,o))),e}),[]),a=this.getComponentProps(n,"data","all"),l=[s.cloneElement(n,a)].concat(jd(r));return this.renderContainer(o,l)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wd,i=e.dataComponent,o=e.labelComponent,r=e.groupComponent,a=this.dataKeys.reduce((function(e,o,r){var a=t.getComponentProps(i,"data",r);return n(a.datum)&&e.push(s.cloneElement(i,a)),e}),[]),l=this.dataKeys.map((function(e,n){var i=t.getComponentProps(o,"labels",n);if(void 0!==i.text&&null!==i.text)return s.cloneElement(o,i)})).filter(Boolean),c=jd(a).concat(jd(l));return this.renderContainer(r,c)}}],r&&zd(o.prototype,r),i}(e)};function Qd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gd={top:-1,left:-1,right:1,bottom:1},Kd=function(e){return null!=e},Yd=function(e,t){var n=e.style||{};return t=t||{},{parent:m()(n.parent,t.parent,{height:"100%",width:"100%"}),axis:m()({},n.axis,t.axis),axisLabel:m()({},n.axisLabel,t.axisLabel),grid:m()({},n.grid,t.grid),ticks:m()({},n.ticks,t.ticks),tickLabels:m()({},n.tickLabels,t.tickLabels)}},$d=function(e,t,n){var i=e.position,o=e.transform;return{x1:o.x,y1:o.y,x2:o.x+i.x2,y2:o.y+i.y2,style:t,datum:n}},Jd=function(e,t,n,i,o){var r=e.position,a=e.transform;return{style:t,x:a.x+r.x,y:a.y+r.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:t.angle,text:o,datum:i}},qd=function(e,t,n){var i=e.edge,o=e.transform;return{x1:o.x,y1:o.y,x2:i.x+o.x,y2:i.y+o.y,style:t,datum:n}},Zd=function(e,t,n){var i=t||"positive";return n?{positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}}[i][e]:{positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}}[i][e]},Xd=function(e,t,n){var i=t.orientation,o=Ga(e,t.axis);return{top:{x:0,y:void 0!==o?o:n.y},bottom:{x:0,y:void 0!==o?o:e.height-n.y},left:{x:void 0!==o?o:n.x,y:0},right:{x:void 0!==o?o:e.width-n.x,y:0}}[i]},eu=function(e,t,n){var i=e.tickStyle,o=e.labelStyle,r=i.size||0,a=r+(i.padding||0)+(o.padding||0),s=Gd[t];return{x:n?s*a:0,x2:n?s*r:0,y:n?0:s*a,y2:n?0:s*r}},tu=function(e,t,n){return{x:n?t.x:e+t.x,y:n?e+t.y:t.y}},nu=function(e,t){var n=t.orientation,i=t.padding,o=t.isVertical,r=-Gd[n];return{x:o?r*(e.width-(i.left+i.right)):0,y:o?0:r*(e.height-(i.top+i.bottom))}},iu=function(e,t){var n=e.padding,i=e.orientation,o=e.crossAxis,r="right"===i?n.right:n.left,a="top"===i?n.top:n.bottom;return{x:o?t.x-r:0,y:o?t.y-a:0}},ou=function(e,t){var n;return n=t.domain.x&&t.domain.y?e.horizontal?function(e,t){var n=t.scale,i=t.origin,o=t.orientation,r=t.orientations,a=t.domain,s=t.padding,l=s.top,c=s.bottom,d=s.left,u=s.right,h="bottom"===o||"top"===o?o:r.x,p="left"===o||"right"===o?o:r.y,f={x:"bottom"===h?c:l,y:"left"===p?d:u},g="left"===p?0:e.width,m="bottom"===h?e.height:0,v=i.x===a.x[0]||i.x===a.x[1]?0:n.x(i.x),b=i.y===a.y[0]||i.y===a.y[1]?0:n.y(i.y),_=v?Math.abs(m-v):f.x,y=b?Math.abs(g-b):f.y;return{x:Kd(e.offsetX)?e.offsetX:y,y:Kd(e.offsetY)?e.offsetY:_}}(e,t):function(e,t){var n=t.scale,i=t.origin,o=t.orientation,r=t.orientations,a=t.domain,s=t.padding,l=s.top,c=s.bottom,d=s.left,u=s.right,h="bottom"===o||"top"===o?o:r.x,p="left"===o||"right"===o?o:r.y,f={x:"left"===p?d:u,y:"bottom"===h?c:l},g="left"===p?0:e.width,m="bottom"===h?e.height:0,v=i.x===a.x[0]||i.x===a.x[1]?0:n.x(i.x),b=i.y===a.y[0]||i.y===a.y[1]?0:n.y(i.y),_=v?Math.abs(g-v):f.x,y=b?Math.abs(m-b):f.y;return{x:Kd(e.offsetX)?e.offsetX:_,y:Kd(e.offsetY)?e.offsetY:y}}(e,t):function(e,t){var n,i=t.style,o=t.scale,r=t.orientation,a=t.padding,s=t.axis,l=t.ticks,c=t.stringTicks,d=t.isVertical,u=t.labelPadding,h=e.polar,p=e.horizontal,g={scale:Qd({},s,o),polar:h,horizontal:p,ticks:l,stringTicks:c},m="right"===r?a.right:a.left,v="top"===r?a.top:a.bottom,b=null!==e.offsetX&&void 0!==e.offsetX?e.offsetX:m,_=null!==e.offsetY&&void 0!==e.offsetY?e.offsetY:v,y=i.axisLabel.fontSize||14,A=l.map((function(t,n){var o=c?e.tickValues[t-1]:t;return De(i.ticks,f()({},g,{tick:o,index:n})).size||0})),w=y+2*Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=A)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())+u,C=1.2*y;return{x:null!=b?b:d?w:C,y:null!=_?_:d?C:w}}(e,t),{globalTransform:Xd(e,t,n),gridOffset:iu(t,n),gridEdge:nu(e,t)}},ru=function(e,t){var n=function(e){var t=function(e){var t=e.theme,n=e.dependentAxis,i=t&&t.axis&&t.axis.style,o=n?"dependentAxis":"independentAxis",r=t&&t[o]&&t[o].style;return i&&r?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=m()({},r[t],i[t]),e}),{}):r||i}(e),n=Yd(e,t),i=xe(e),o=function(e,t){var n=t.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var i=Ra(e),o=n.fontSize||14;return e.label?o*(i?2.3:1.6):0}(e,n),r=ja(e)?e.tickValues:void 0,a=Ta(e),s=Qa(e),l=function(e){var t=Ta(e),n=function(e,t){var n=e.orientation,i=e.horizontal;return n?{top:"x",bottom:"x",left:"y",right:"y"}[n]:i?"x"===t?"y":"x":t}(e,t),i=Xr(e,t),o=e.domain&&e.domain[t]||Qa(e)||i.domain();return i.range(Be(e,n)),i.domain(o),i}(e),c="x"===a?s:void 0,d="y"===a?s:void 0,u="x"===a?l:void 0,h="y"===a?l:void 0,p=!1!==e.crossAxis&&!0!==e.standalone,f=Ha(e,l,p),g=Va(e,l),v={x:Be(e,"x"),y:Be(e,"y")},b={x:e.domain&&e.domain.x?e.domain.x:c,y:e.domain&&e.domain.y?e.domain.y:d},_={x:e.domain&&e.domain.x?Xr(e,"x").domain(e.domain.x).range(e.horizontal?v.y:v.x):u,y:e.domain&&e.domain.y?Xr(e,"y").domain(e.domain.y).range(e.horizontal?v.x:v.y):h},y=b.x&&b.y?Pa(b):void 0,A=y?{x:Fa(y.x,b.x),y:Fa(y.y,b.y)}:void 0,w=A?{x:Zd("x",A.y,e.horizontal),y:Zd("y",A.x,e.horizontal)}:void 0,C=w?e.orientation||w[a]:function(e){if(e.orientation)return e.orientation;var t={dependent:e.horizontal?"bottom":"left",independent:e.horizontal?"left":"bottom"};return e.dependentAxis?t.dependent:t.independent}(e),x=Ra(Object.assign({},e,{orientation:C})),S=function(e,t){var n={top:"end",left:"end",right:"start",bottom:"start"}[e];return{textAnchor:t?n:"middle",verticalAnchor:t?"middle":n}}(C,x);return{anchors:S,axis:a,crossAxis:p,domain:b,isVertical:x,labelPadding:o,orientation:C,orientations:w,origin:y,padding:i,scale:_,stringTicks:r,style:n,tickFormat:g,ticks:f}}(e=Ka(e,t)),i=n.axis,o=n.style,r=n.orientation,a=n.isVertical,s=n.scale,l=n.ticks,c=n.tickFormat,d=n.anchors,u=n.domain,h=n.stringTicks,p=n.name,g="x"===i?"y":"x",v=e,b=v.width,_=v.height,y=v.standalone,A=v.theme,w=v.polar,C=v.padding,x=v.horizontal,S=ou(e,n),E=S.globalTransform,k=S.gridOffset,M=S.gridEdge,D={scale:Qd({},i,s[i]),polar:w,horizontal:x,ticks:l,stringTicks:h},N=function(e,t,n){var i=t.style,o=t.padding,r=t.isVertical,a=e.width,s=e.height;return{style:i.axis,x1:r?n.x:o.left+n.x,x2:r?n.x:a-o.right+n.x,y1:r?o.top+n.y:n.y,y2:r?s-o.bottom+n.y:n.y}}(e,n,E),I=function(e,t,n){var i=t.style,o=t.orientation,r=t.padding,a=t.labelPadding,s=t.isVertical,l=Gd[o],c=r.left+r.right,d=r.top+r.bottom,u=l<0?"end":"start",h=i.axisLabel,p=s?-90:0;return{x:s?n.x+l*a:(e.width-c)/2+r.left+n.x,y:s?(e.height-d)/2+r.top+n.y:l*a+n.y,verticalAnchor:h.verticalAnchor||u,textAnchor:h.textAnchor||"middle",angle:void 0===h.angle?p:h.angle,style:h,text:e.label}}(e,n,E),T={parent:f()({style:o.parent,ticks:l,standalone:y,theme:A,width:b,height:_,padding:C,domain:u,name:p},D)},L={dimension:g,range:Qd({},g,Be(e,g)),scale:e.scale&&e.scale[g]?Qd({},g,e.scale[g]):void 0};return l.reduce((function(e,t,n){var u=h?h[n]:t,p=c(t,n,l),g=function(e,t){return{tickStyle:De(e.ticks,t),labelStyle:De(e.tickLabels,t),gridStyle:De(e.grid,t)}}(o,f()({},D,{tick:u,tickValue:t,index:n,text:p})),m={position:eu(g,r,a),transform:tu(s[i](t),E,a)},v={edge:M,transform:{x:a?-k.x+E.x:s[i](t)+E.x,y:a?s[i](t)+E.y:k.y+E.y}};return e[n]={axis:f()({dimension:i},D,N),axisLabel:f()({},D,I),ticks:f()({},D,$d(m,g.tickStyle,t)),tickLabels:f()({},D,Jd(m,g.labelStyle,d,t,p)),grid:f()({},D,L,qd(v,g.gridStyle,t))},e}),T)};function au(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lu(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function cu(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var du={width:450,height:300,padding:50},uu=function(e){function t(){return su(this,t),cu(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"renderLine",value:function(e){var t=e.axisComponent,n=this.getComponentProps(t,"axis",0);return s.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent;if(!e.label)return null;var n=this.getComponentProps(t,"axisLabel",0);return s.cloneElement(t,n)}},{key:"renderGridAndTicks",value:function(e){var t=this,n=e.tickComponent,i=e.tickLabelComponent,o=e.gridComponent,r=e.name,a=function(e){var t=e.style,n=void 0===t?{}:t,i=e.events,o=void 0===i?{}:i;return"transparent"!==n.stroke&&"none"!==n.stroke&&0!==n.strokeWidth||!h()(o)};return this.dataKeys.map((function(l,c){var d=t.getComponentProps(n,"ticks",c),u=s.cloneElement(n,d),h=a(u.props)?u:void 0,p=t.getComponentProps(o,"grid",c),f=s.cloneElement(o,p),g=a(f.props)?f:void 0,m=t.getComponentProps(i,"tickLabels",c),v=[g,h,s.cloneElement(i,m)].filter(Boolean);return s.cloneElement(e.groupComponent,{key:"".concat(r,"-tick-group-").concat(l)},v)}))}},{key:"fixLabelOverlap",value:function(e,t){var n=Ra(t),i=n?t.height:t.width,o=function(e){return e.type&&"label"===e.type.role},r=e.map((function(e){return e.props.children})).reduce((function(e,t){return e.concat(t)}),[]).filter(o).map((function(e){return e.props})).reduce((function(e,t){var i=function(e){return"object"==typeof e?f()({},{top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}(t.style.padding),o=pc(t.text,{angle:t.angle,fontSize:t.style.fontSize,letterSpacing:t.style.letterSpacing,fontFamily:t.style.fontFamily});return e+(n?o.height+i.top+i.bottom:o.width+i.right+i.left)}),0),a=Math.floor(i*e.length/r),s=Math.ceil(e.length/a)||1,l=function(e){return e.props.children.filter(o).reduce((function(e,t){return(n?t.props.y:t.props.x)||0}),0)},c=e.sort((function(e,t){return n?l(t)-l(e):l(e)-l(t)}));return c.filter((function(e,t){return t%s==0}))}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=Ka(this.props,du);if(this.shouldAnimate())return this.animateComponent(n,e);var i,o=this.renderGridAndTicks(n),r=n.fixLabelOverlap?this.fixLabelOverlap(o,n):o,a=[this.renderLine(n),this.renderLabel(n)].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(i=r)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}());return n.standalone?this.renderContainer(n.containerComponent,a):s.cloneElement(n.groupComponent,{},a)}}],i&&lu(n.prototype,i),t}(s.Component);Object.defineProperty(uu,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"]}),Object.defineProperty(uu,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(uu,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(uu,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(uu,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){au(e,t,n[t])}))}return e}({},zs,{axisComponent:b().element,axisLabelComponent:b().element,axisValue:b().oneOfType([b().number,b().string,b().object]),categories:b().oneOfType([b().arrayOf(b().string),b().shape({x:b().arrayOf(b().string),y:b().arrayOf(b().string)})]),crossAxis:b().bool,dependentAxis:b().bool,events:b().arrayOf(b().shape({target:b().oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),eventHandlers:b().object})),fixLabelOverlap:b().bool,gridComponent:b().element,groupComponent:b().element,invertAxis:b().bool,label:b().any,offsetX:b().number,offsetY:b().number,orientation:b().oneOf(["top","bottom","left","right"]),origin:b().shape({x:b().number,y:b().number}),stringMap:b().object,style:b().shape({parent:b().object,axis:b().object,axisLabel:b().object,grid:b().object,ticks:b().object,tickLabels:b().object}),tickComponent:b().element,tickCount:Is([Ls,Bs]),tickFormat:b().oneOfType([b().func,Fs]),tickLabelComponent:b().element,tickValues:Fs})}),Object.defineProperty(uu,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:s.createElement(_c,null),axisLabelComponent:s.createElement(Qc,null),tickLabelComponent:s.createElement(Qc,null),tickComponent:s.createElement(_c,null),gridComponent:s.createElement(_c,null),standalone:!0,theme:Gl.grayscale,containerComponent:s.createElement(Ml,null),groupComponent:s.createElement("g",{role:"presentation"}),fixLabelOverlap:!1}}),Object.defineProperty(uu,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:Qa}),Object.defineProperty(uu,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:Ta}),Object.defineProperty(uu,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Yd(e,du.style)}}),Object.defineProperty(uu,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return ru(e,du)}}),Object.defineProperty(uu,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"]});const hu=Ud(uu,{components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]}),pu=function(e){var t=e.desc,n=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["desc"]);return t?s.createElement("path",n,s.createElement("desc",null,t)):s.createElement("path",n)};function fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){gu(e,t,n[t])}))}return e}function gu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mu=function(e){var t=e.cx,n=e.cy,i=e.r,o=e.startAngle,r=e.endAngle,a=e.closedPath,s=Math.abs(r-o)/2+o,l=t+i*Math.cos(Ne(o)),c=n-i*Math.sin(Ne(o)),d=t+i*Math.cos(Ne(s)),u=n-i*Math.sin(Ne(s)),h=t+i*Math.cos(Ne(r)),p=n-i*Math.sin(Ne(r)),f=s-o<=180?0:1,g=r-s<=180?0:1,m=a?" M ".concat(t,", ").concat(n," L ").concat(l,", ").concat(c):"M ".concat(l,", ").concat(c),v="A ".concat(i,", ").concat(i,", 0, ").concat(f,", 0, ").concat(d,", ").concat(u),b="A ".concat(i,", ").concat(i,", 0, ").concat(g,", 0, ").concat(h,", ").concat(p),_=a?"Z":"";return"".concat(m," ").concat(v," ").concat(b," ").concat(_)},vu=function(e){return e=function(e){var t=Me(e.ariaLabel,e),n=Me(e.desc,e),i=Me(e.id,e),o=De(f()({stroke:"black",fill:"none"},e.style),e),r=Me(e.tabIndex,e);return f()({},e,{ariaLabel:t,desc:n,id:i,style:o,tabIndex:r})}(e),s.cloneElement(e.pathComponent,fu({},e.events,{"aria-label":e.ariaLabel,d:mu(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,className:e.className,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform,clipPath:e.clipPath}))};vu.propTypes=fu({},Vs,{closedPath:b().bool,cx:b().number,cy:b().number,datum:b().any,endAngle:b().number,pathComponent:b().element,r:b().number,startAngle:b().number}),vu.defaultProps={pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const bu=vu;var _u=function(e,t,n){return"x"===n?e*Math.cos(t):-e*Math.sin(t)},yu=function(e){var t=e.dependentAxis?"radial":"angular",n="angular"===t?"radial":"angular";return e.horizontal?n:t},Au=function(e,t){return{tickStyle:De(e.ticks,t),labelStyle:De(e.tickLabels,t),gridStyle:De(e.grid,t)}},wu=function(e){var t=xe(e),n=t.left,i=t.right,o=t.top,r=t.bottom,a=e.width,s=e.height;return Math.min(a-n-i,s-o-r)/2},Cu=function(e,t){if(e.range&&e.range[t])return e.range[t];if(e.range&&Array.isArray(e.range))return e.range;if("angular"===yu(e))return[Ne(e.startAngle),Ne(e.endAngle)];var n=wu(e);return[e.innerRadius||0,n]},xu=function(e){var t=Ta(e),n=Xr(e,t),i=Qa(e,t)||n.domain(),o=Cu(e,t);return n.range(o),n.domain(i),n},Su=function(e,t){if(e.disableInlineStyles)return{};var n=e.style||{};return t=t||{},{parent:m()({height:"auto",width:"100%"},n.parent,t.parent),axis:m()({},n.axis,t.axis),axisLabel:m()({},n.axisLabel,t.axisLabel),grid:m()({},n.grid,t.grid),ticks:m()({},n.ticks,t.ticks),tickLabels:m()({},n.tickLabels,t.tickLabels)}},Eu=function(e){var t=e.axisAngle,n=e.startAngle,i=e.dependentAxis,o=Ga(e,Ta(e));return void 0!==o&&i?Ie(o):void 0===t?n:t},ku=function(e,t,n,i){var o=t.axisType,r=t.radius,a=t.scale,s=t.style,l=t.stringTicks,c=t.ticks,d=t.tickFormat,u=t.origin,h=d(n,i,c),p=l?l[i]:n,f=Au(s,{tick:p,tickValue:n,index:i,ticks:c,stringTicks:l,radius:r,scale:a,axisType:o,text:h}).tickStyle,g="radial"===o?Eu(e):void 0,m=f.padding||f.size||0,v=Ne(90-g),b="angular"===o?a(n):Ne(-1*g),_="angular"===o?r:a(n);return"angular"===o?{index:i,datum:p,style:f,x1:_u(_,b,"x")+u.x,y1:_u(_,b,"y")+u.y,x2:_u(_+m,b,"x")+u.x,y2:_u(_+m,b,"y")+u.y}:{index:i,datum:p,style:f,x1:_*Math.cos(b)+Math.cos(v)*m+u.x,x2:_*Math.cos(b)-Math.cos(v)*m+u.x,y1:_*Math.sin(b)+Math.sin(v)*m+u.y,y2:_*Math.sin(b)-Math.sin(v)*m+u.y}},Mu=function(e,t,n,i){var o=t.axisType,r=t.radius,a=t.tickFormat,s=t.style,l=t.scale,c=t.ticks,d=t.stringTicks,u=t.origin,h=a(n,i,c),p=d?d[i]:n,g=Au(s,{text:h,tick:p,tickValue:n,index:i,ticks:c,stringTicks:d,radius:r,scale:l,axisType:o}).labelStyle,m=e.tickLabelComponent,v=m.props&&m.props.labelPlacement?m.props.labelPlacement:e.labelPlacement,b=g.padding||0,_="radial"===o?Eu(e):void 0,y="angular"===o?Ie(l(n)):_+0,A=void 0===g.angle?Mc(f()({},e,{labelPlacement:v}),y):g.angle,w="angular"===o?r+b:l(n);return{index:i,datum:p,style:g,angle:A,textAnchor:g.textAnchor||Ec(f()({},e,{labelPlacement:v}),y),text:h,x:w*Math.cos(Ne(y))+u.x,y:-w*Math.sin(Ne(y))+u.y}},Du=function(e,t,n,i){var o=t.axisType,r=t.radius,a=t.style,s=t.scale,l=t.stringTicks,c=t.ticks,d=t.tickFormat,u=t.origin,h=d(n,i,c),p=e.startAngle,f=e.endAngle,g=e.innerRadius,m=void 0===g?0:g,v=l?l[i]:n,b=Au(a,{tick:v,tickValue:n,index:i,ticks:c,stringTicks:l,radius:r,scale:s,axisType:o,text:h}).gridStyle,_=s(n);return"angular"===o?{index:i,datum:v,style:b,x1:_u(r,_,"x")+u.x,y1:_u(r,_,"y")+u.y,x2:_u(m,_,"x")+u.x,y2:_u(m,_,"y")+u.y}:{style:b,index:i,datum:v,cx:u.x,cy:u.y,r:s(n),startAngle:p,endAngle:f}},Nu=function(e,t){var n=function(e){var t=function(e){var t=e.theme,n=void 0===t?{}:t,i=e.dependentAxis,o=n.polarAxis&&n.polarAxis.style||n.axis&&n.axis.style,r=i?"polarDependentAxis":"polarIndependentAxis",a=i?"dependentAxis":"independentAxis",s=n[r]&&n[r].style||n[a]&&n[a].style;return o&&s?["axis","axisLabel","grid","parent","tickLabels","ticks"].reduce((function(e,t){return e[t]=m()({},s[t],o[t]),e}),{}):s||o}(e=f()({polar:!0},e)),n=Su(e,t),i=xe(e),o=Ta(e),r=yu(e),a=ja(e)?e.tickValues:void 0,s=Qa(e,o),l=Cu(e,o),c=xu(e),d=Ha(e,c),u="angular"===r?function(e,t){return x()(e,(function(e){return t(e)%(2*Math.PI)}))}(d,c):d;return{axis:o,style:n,padding:i,stringTicks:a,axisType:r,scale:c,ticks:u,tickFormat:Va(e,c),domain:s,range:l,radius:wu(e),origin:Le(e)}}(e=Ka(e,t)),i=n.style,o=n.scale,r=n.ticks,a=n.domain,s=e,l=s.width,c=s.height,d=s.standalone,u=s.theme,h=s.name,p=function(e,t){var n=t.style,i=t.axisType,o=t.radius,r=(t.scale,t.origin),a=e.startAngle,s=e.endAngle,l=e.innerRadius,c=void 0===l?0:l,d="radial"===i?Ne(Eu(e)):void 0;return"radial"===i?{style:n.axis,x1:_u(c,d,"x")+r.x,x2:_u(o,d,"x")+r.x,y1:_u(c,d,"y")+r.y,y2:_u(o,d,"y")+r.y}:{style:n.axis,cx:r.x,cy:r.y,r:o,startAngle:a,endAngle:s}}(e,n),g=function(e,t){var n=t.axisType,i=t.radius,o=t.style,r=(t.scale,t.origin),a=e.axisLabelComponent;if("radial"!==n)return{};var s=a.props&&a.props.labelPlacement?a.props.labelPlacement:e.labelPlacement,l=o&&o.axisLabel||{},c="radial"===n?Eu(e):void 0,d=void 0===l.angle?Mc(f()({},e,{labelPlacement:s}),c):l.angle,u=i+(l.padding||0);return{style:l,angle:d,textAnchor:l.textAnchor||Ec(f()({},e,{labelPlacement:s}),c),verticalAnchor:l.verticalAnchor||kc(f()({},e,{labelPlacement:s}),c),text:e.label,x:_u(u,Ne(c),"x")+r.x,y:_u(u,Ne(c),"y")+r.y}}(e,n),v={parent:{style:i.parent,ticks:r,scale:o,width:l,height:c,domain:a,standalone:d,theme:u,name:h}};return r.reduce((function(t,i,o){return t[o]={axis:p,axisLabel:g,ticks:ku(e,n,i,o),tickLabels:Mu(e,n,i,o),grid:Du(e,n,i,o)},t}),v)};function Iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Lu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bu(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ou(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Pu={width:450,height:300,padding:50},Fu=function(e){function t(){return Lu(this,t),Ou(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"renderAxisLine",value:function(e){var t=e.dependentAxis?e.axisComponent:e.circularAxisComponent,n=this.getComponentProps(t,"axis",0);return s.cloneElement(t,n)}},{key:"renderLabel",value:function(e){var t=e.axisLabelComponent,n=e.dependentAxis;if(!e.label||!n)return null;var i=this.getComponentProps(t,"axisLabel",0);return s.cloneElement(t,i)}},{key:"renderAxis",value:function(e){var t=this,n=e.tickComponent,i=e.tickLabelComponent,o=e.name,r=function(e){var t=e.style,n=void 0===t?{}:t,i=e.events,o=void 0===i?{}:i;return"transparent"!==n.stroke&&"none"!==n.stroke&&0!==n.strokeWidth||!h()(o)},a="radial"==(e.dependentAxis?"radial":"angular")?e.circularGridComponent:e.gridComponent,l=this.dataKeys.map((function(e,i){var a=f()({key:"".concat(o,"-tick-").concat(e)},t.getComponentProps(n,"ticks",i)),l=s.cloneElement(n,a);return r(l.props)?l:void 0})).filter(Boolean),c=this.dataKeys.map((function(e,n){var i=f()({key:"".concat(o,"-grid-").concat(e)},t.getComponentProps(a,"grid",n)),l=s.cloneElement(a,i);return r(l.props)?l:void 0})).filter(Boolean),d=this.dataKeys.map((function(e,n){var r=f()({key:"".concat(o,"-tick-").concat(e)},t.getComponentProps(i,"tickLabels",n));return s.cloneElement(i,r)})),u=[this.renderAxisLine(e),this.renderLabel(e)].concat(Tu(l),Tu(c),Tu(d));return this.renderGroup(e,u)}},{key:"renderGroup",value:function(e,t){var n=e.groupComponent;return s.cloneElement(n,{},t)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=Ka(this.props,Pu);if(this.shouldAnimate())return this.animateComponent(n,e);var i=this.renderAxis(n);return n.standalone?this.renderContainer(n.containerComponent,i):i}}])&&Bu(n.prototype,i),t}(s.Component);Object.defineProperty(Fu,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["style","domain","range","tickCount","tickValues","padding","width","height"]}),Object.defineProperty(Fu,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAxis"}),Object.defineProperty(Fu,"role",{configurable:!0,enumerable:!0,writable:!0,value:"axis"}),Object.defineProperty(Fu,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(Fu,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Iu(e,t,n[t])}))}return e}({},zs,{axisAngle:b().number,axisComponent:b().element,axisLabelComponent:b().element,axisValue:b().oneOfType([b().number,b().string,b().object]),categories:b().oneOfType([b().arrayOf(b().string),b().shape({x:b().arrayOf(b().string),y:b().arrayOf(b().string)})]),circularAxisComponent:b().element,circularGridComponent:b().element,containerComponent:b().element,dependentAxis:b().bool,disableInlineStyles:b().bool,endAngle:b().number,events:b().arrayOf(b().shape({target:b().oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),eventHandlers:b().object})),gridComponent:b().element,innerRadius:Ts,labelPlacement:b().oneOf(["parallel","perpendicular","vertical"]),startAngle:b().number,stringMap:b().object,style:b().shape({parent:b().object,axis:b().object,axisLabel:b().object,grid:b().object,ticks:b().object,tickLabels:b().object}),tickComponent:b().element,tickCount:Is([Ls,Bs]),tickFormat:b().oneOfType([b().func,Fs]),tickLabelComponent:b().element,tickValues:Fs})}),Object.defineProperty(Fu,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{axisComponent:s.createElement(_c,null),axisLabelComponent:s.createElement(Qc,null),circularAxisComponent:s.createElement(bu,null),circularGridComponent:s.createElement(bu,null),containerComponent:s.createElement(Ml,null),endAngle:360,gridComponent:s.createElement(_c,null),groupComponent:s.createElement("g",{role:"presentation"}),labelPlacement:"parallel",startAngle:0,standalone:!0,theme:Gl.grayscale,tickComponent:s.createElement(_c,null),tickLabelComponent:s.createElement(Qc,null)}}),Object.defineProperty(Fu,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:Qa}),Object.defineProperty(Fu,"getAxis",{configurable:!0,enumerable:!0,writable:!0,value:Ta}),Object.defineProperty(Fu,"getScale",{configurable:!0,enumerable:!0,writable:!0,value:xu}),Object.defineProperty(Fu,"getStyles",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Su(e,Pu.style)}}),Object.defineProperty(Fu,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Nu(e,Pu)}}),Object.defineProperty(Fu,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["axisComponent","circularAxisComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent","circularGridComponent"]});const Ru=Ud(Fu,{components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]});var ju={width:450,height:300,padding:50};function zu(e,t){var n=function(e){var t=e.style&&e.style.parent;return{parent:m()({},t,{height:"100%",width:"100%",userSelect:"none"})}}(e),i=e=Pe(e,ju,"chart"),o=i.horizontal,r=i.polar,a=ys.getStringsFromChildren(e,t),s=ys.getCategories(e,t,a),l=Hu(e,t,a),c={x:Wu(f()({},e,{categories:s}),"x",t),y:Wu(f()({},e,{categories:s}),"y",t)},d={x:Be(e,"x"),y:Be(e,"y")},u={x:ea(e,"x")||ys.getScale(e,"x"),y:ea(e,"y")||ys.getScale(e,"y")};return{categories:s,domain:c,range:d,horizontal:o,scale:{x:u.x.domain(c.x).range(o?d.y:d.x),y:u.y.domain(c.y).range(o?d.x:d.y)},stringMap:l,style:n,origin:r?Le(e):Pa(c),padding:xe(e)}}var Vu=function(e,t){var n,i=s.Children.toArray(e.children),o=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=i)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}();if(0===i.length)o.push(t.independent,t.dependent);else{var r={dependent:Oa(i,"dependent"),independent:Oa(i,"independent")};0===r.dependent.length&&0===r.independent.length&&(o=e.prependDefaultAxes?[t.independent,t.dependent].concat(o):o.concat([t.independent,t.dependent]))}return o},Wu=function(e,t,n){n=n||s.Children.toArray(e.children);var i=ys.getDomain(e,t,n),o=Ba(n,t);return o&&o.props&&o.props.invertAxis?i.concat().reverse():i},Hu=function(e,t,n){var i=n.x&&0!==n.x.length?n.x.reduce((function(e,t,n){return e[t]=n+1,e}),{}):null,o=n.y&&0!==n.y.length?n.y.reduce((function(e,t,n){return e[t]=n+1,e}),{}):null;return{x:i,y:o}};function Uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Gu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ku={width:450,height:300,padding:50},Yu=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Gu(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state={},e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=ys.setAnimationState.bind(Gu(n))),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!Zl()(this.props,e)&&(this.setAnimationState(this.props,e),1))}},{key:"getNewChildren",value:function(e,t,n){var i=function(e,t,n){t=t||Vu(e);var i=(n=n||zu(e,t)).style.parent,o=e.height,r=e.polar,a=e.theme,l=e.width,c=n,d=c.origin,u=c.horizontal,h=e.name||"chart";return t.map((function(t,c){var p=t.type&&t.type.role,f=Array.isArray(t.props.style)?t.props.style:m()({},t.props.style,{parent:i}),g=function(e,t,n){var i=La([e]);return i.length>0?function(e,t,n){var i=n.domain,o=n.scale,r=n.stringMap,a=n.categories;return{stringMap:r,horizontal:n.horizontal,categories:a,startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,domain:i,scale:o}}(i[0],t,n):{categories:n.categories,domain:n.domain,range:n.range,scale:n.scale,stringMap:n.stringMap,horizontal:n.horizontal}}(t,e,n),v=t.props.name||"".concat(h,"-").concat(p,"-").concat(c),b=m()({horizontal:u,height:o,polar:r,theme:a,width:l,style:f,name:v,origin:r?d:void 0,padding:n.padding,key:"".concat(v,"-key-").concat(c),standalone:!1},g);return s.cloneElement(t,b)}))}(e,t,n),o=ys.getAnimationProps.bind(this),r=i.map((function(t,n){var i=f()({animate:o(e,t,n)},t.props);return s.cloneElement(t,i)}));if(e.style&&e.style.background){var a=function(e,t){var n=e.backgroundComponent,i=e.polar?t.range.y[1]:t.range.y[0]-t.range.y[1],o=t.range.x[1]-t.range.x[0],r=e.horizontal?t.scale.y.range()[0]:t.scale.x.range()[0],a=e.horizontal?t.scale.x.range()[1]:t.scale.y.range()[1],l=e.polar?t.origin.x:r,c=e.polar?t.origin.y:a,d=e.name||"chart",u={height:i,polar:e.polar,scale:t.scale,style:e.style.background,x:l,y:c,key:"".concat(d,"-background"),width:o};return s.cloneElement(n,m()({},n.props,u))}(e,n);r.unshift(a)}return r}},{key:"renderContainer",value:function(e,t){var n=m()({},e.props,t);return s.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,i=e.height,o=e.standalone,r=e.theme,a=e.polar,s=e.name,l=t.domain,c=t.scale,d=t.style,u=t.origin,h=t.radius,p=t.horizontal;return{domain:l,scale:c,width:n,height:i,standalone:o,theme:r,style:d.parent,horizontal:p,name:s,polar:a,radius:h,origin:a?u:void 0}}},{key:"render",value:function(){var e=this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props,t=Pe(e,Ku,"chart"),n=t.eventKey,i=t.containerComponent,o=t.groupComponent,r=t.standalone,a=t.externalEventMutations,l=e.polar?t.defaultPolarAxes:t.defaultAxes,c=Vu(t,l),d=zu(t,c),u=this.getNewChildren(t,c,d),p=r?this.getContainerProps(t,d):{},f=r?this.renderContainer(i,p):o,g=ys.getAllEvents(e);return h()(g)?s.cloneElement(f,f.props,u):s.createElement(ic,{container:f,eventKey:n,events:g,externalEventMutations:a},u)}}],i&&Qu(n.prototype,i),t}(s.Component);Object.defineProperty(Yu,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryChart"}),Object.defineProperty(Yu,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Uu(e,t,n[t])}))}return e}({},zs,{backgroundComponent:b().element,children:b().oneOfType([b().arrayOf(b().node),b().node]),defaultAxes:b().shape({independent:b().element,dependent:b().element}),defaultPolarAxes:b().shape({independent:b().element,dependent:b().element}),endAngle:b().number,innerRadius:Ts,prependDefaultAxes:b().bool,startAngle:b().number})}),Object.defineProperty(Yu,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{backgroundComponent:s.createElement($s,null),containerComponent:s.createElement(Ml,null),defaultAxes:{independent:s.createElement(hu,null),dependent:s.createElement(hu,{dependentAxis:!0})},defaultPolarAxes:{independent:s.createElement(Ru,null),dependent:s.createElement(Ru,{dependentAxis:!0})},groupComponent:s.createElement("g",null),standalone:!0,theme:Gl.grayscale}}),Object.defineProperty(Yu,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent"]});var $u=n(77179),Ju=n.n($u),qu=n(88469),Zu=n.n(qu);const Xu="#8bc1f7",eh="#519de9",th="#06c",nh="#004b95",ih="#002f5d",oh=e=>{const{COLOR_SCALE:t}=e;return{area:{colorScale:t,style:{data:{fill:t[0]}}},axis:{colorScale:t},bar:{colorScale:t,style:{data:{fill:t[0]}}},boxplot:{colorScale:t},candlestick:{colorScale:t},chart:{colorScale:t},errorbar:{colorScale:t},group:{colorScale:t},legend:{colorScale:t},line:{colorScale:t,style:{data:{stroke:t[0]}}},pie:{colorScale:t},scatter:{colorScale:t},stack:{colorScale:t},voronoi:{colorScale:t}}},rh=[th,Xu,ih,eh,nh],ah=oh({COLOR_SCALE:rh}),sh="#a2d9d9",lh="#73c5c5",ch="#009596",dh="#005f60",uh="#003737",hh=[ch,sh,uh,lh,dh],ph=oh({COLOR_SCALE:hh}),fh="#f9e0a2",gh="#f6d173",mh="#f4c145",vh="#f0ab00",bh="#c58c00",_h=[mh,fh,bh,gh,vh],yh=oh({COLOR_SCALE:_h}),Ah="#f0f0f0",wh="#d2d2d2",Ch="#b8bbbe",xh="#8a8d90",Sh="#6a6e73",Eh=[Ch,Ah,Sh,wh,xh],kh=oh({COLOR_SCALE:Eh}),Mh="#bde2b9",Dh="#7cc674",Nh="#4cb140",Ih="#38812f",Th="#23511e",Lh=[Nh,Mh,Th,Dh,Ih],Bh=oh({COLOR_SCALE:Lh}),Oh="#f4b678",Ph="#ef9234",Fh="#ec7a08",Rh="#c46100",jh="#8f4700",zh=[th,Nh,ch,mh,Fh,Xu,Th,sh,fh,jh,ih,Mh,uh,bh,Oh,eh,Ih,lh,gh,Rh,nh,Dh,dh,vh,Ph],Vh=oh({COLOR_SCALE:zh}),Wh="#b2b0ea",Hh="#8481dd",Uh="#5752d1",Qh="#3c3d99",Gh="#2a265f",Kh=oh({COLOR_SCALE:[th,mh,Nh,Uh,Fh,ch,Ch,Xu,bh,Mh,Gh,Oh,uh,Ah,ih,fh,Th,Wh,jh,sh,Sh,eh,vh,Dh,Qh,Ph,dh,wh,nh,gh,Ih,Hh,Rh,lh,xh]}),Yh=oh({COLOR_SCALE:[Fh,Oh,jh,Ph,Rh]}),$h=oh({COLOR_SCALE:[Uh,Wh,Gh,Hh,Qh]}),Jh=oh({COLOR_SCALE:[th,Xu,ih,eh,nh]}),qh=oh({COLOR_SCALE:[ch,sh,uh,lh,dh]}),Zh=oh({COLOR_SCALE:[mh,fh,bh,gh,vh]}),Xh=oh({COLOR_SCALE:[Ch,Ah,Sh,wh,xh]}),ep=oh({COLOR_SCALE:[Nh,Mh,Th,Dh,Ih]}),tp=oh({COLOR_SCALE:[th,Nh,ch,mh,Fh,Xu,Th,sh,fh,jh,ih,Mh,uh,bh,Oh,eh,Ih,lh,gh,Rh,nh,Dh,dh,vh,Ph]}),np=oh({COLOR_SCALE:[th,mh,Nh,Uh,Fh,ch,Ch,Xu,bh,Mh,Gh,Oh,uh,Ah,ih,fh,Th,Wh,jh,sh,Sh,eh,vh,Dh,Qh,Ph,dh,wh,nh,gh,Ih,Hh,Rh,lh,xh]}),ip=oh({COLOR_SCALE:[Fh,Oh,jh,Ph,Rh]}),op=oh({COLOR_SCALE:[Uh,Wh,Gh,Hh,Qh]}),rp="#d2d2d2",ap={axis:{style:{grid:{stroke:"#d2d2d2"},ticks:{stroke:rp}}}},sp={name:"--pf-chart-global--FontFamily",value:'"RedHatText", "Overpass", overpass, helvetica, arial, sans-serif',var:"var(--pf-chart-global--FontFamily)"},lp="normal",cp="var(--pf-chart-global--letter-spacing)",dp=14,up=50,hp=.3,pp="#f0f0f0",fp=dp,gp={fontFamily:sp.value.replace(/ /g,""),fontSize:fp,letterSpacing:lp,padding:10,stroke:"transparent"},mp=Object.assign(Object.assign({},gp),{textAnchor:"middle"}),vp={padding:up,height:300,width:450},bp="round",_p="round",yp={area:Object.assign(Object.assign({},vp),{style:{data:{fill:"#151515",fillOpacity:hp,strokeWidth:2},labels:mp}}),axis:Object.assign(Object.assign({},vp),{style:{axis:{fill:"transparent",strokeWidth:1,stroke:"#d2d2d2",strokeLinecap:bp,strokeLinejoin:_p},axisLabel:Object.assign(Object.assign({},mp),{padding:40,stroke:"transparent"}),grid:{fill:"none",stroke:"none",pointerEvents:"painted",strokeLinecap:bp,strokeLinejoin:_p},ticks:{fill:"transparent",size:5,stroke:rp,strokeLinecap:bp,strokeLinejoin:_p,strokeWidth:1},tickLabels:Object.assign(Object.assign({},gp),{fill:"#4f5255"})}}),bar:Object.assign(Object.assign({},vp),{barWidth:10,style:{data:{fill:"#151515",padding:8,stroke:"none",strokeWidth:0},labels:gp}}),boxplot:Object.assign(Object.assign({},vp),{style:{max:{padding:8,stroke:"#151515",strokeWidth:1},maxLabels:gp,median:{padding:8,stroke:"#151515",strokeWidth:1},medianLabels:gp,min:{padding:8,stroke:"#151515",strokeWidth:1},minLabels:gp,q1:{fill:"#8a8d90",padding:8},q1Labels:gp,q3:{fill:"#8a8d90",padding:8},q3Labels:gp},boxWidth:20}),candlestick:Object.assign(Object.assign({},vp),{candleColors:{positive:"#fff",negative:"#151515"},style:{data:{stroke:"#151515",strokeWidth:1},labels:mp}}),chart:Object.assign({},vp),errorbar:Object.assign(Object.assign({},vp),{borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#151515",strokeWidth:2},labels:mp}}),group:Object.assign({},vp),legend:{gutter:20,orientation:"horizontal",titleOrientation:"top",style:{data:{type:"square"},labels:gp,title:Object.assign(Object.assign({},gp),{fontSize:fp,padding:2})}},line:Object.assign(Object.assign({},vp),{style:{data:{fill:"transparent",opacity:1,stroke:"#151515",strokeWidth:2},labels:mp}}),pie:{padding:20,style:{data:{padding:8,stroke:"transparent",strokeWidth:1},labels:Object.assign(Object.assign({},gp),{padding:8})},height:230,width:230},scatter:Object.assign(Object.assign({},vp),{style:{data:{fill:"#151515",opacity:1,stroke:"transparent",strokeWidth:0},labels:mp}}),stack:Object.assign(Object.assign({},vp),{style:{data:{strokeWidth:1}}}),tooltip:{cornerRadius:0,flyoutPadding:8,flyoutStyle:{cornerRadius:0,fill:"#151515",pointerEvents:"none",stroke:"#151515",strokeWidth:0},pointerLength:10,pointerWidth:20,style:{fill:"#f0f0f0",pointerEvents:"none"}},voronoi:Object.assign(Object.assign({},vp),{style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign(Object.assign({},mp),{fill:pp,padding:8,pointerEvents:"none"}),flyout:{fill:"#151515",pointerEvents:"none",stroke:"#151515",strokeWidth:1}}})},Ap=140,wp="#f0f0f0",Cp="#d2d2d2",xp="#b8bbbe",Sp={blue:"blue",cyan:"cyan",default:"blue",gold:"gold",gray:"gray",green:"green",multi:"multi",multiOrdered:"multi-ordered",multiUnordered:"multi-unordered",orange:"orange",purple:"purple"},Ep={dark:"dark",default:"light",light:"light"},kp=ap,Mp=yp,Dp={bar:{height:Ap,style:{data:{fill:"#c9190b",stroke:"#c9190b",strokeWidth:2}}}},Np={bar:{height:Ap,style:{data:{fill:"#4f5255",stroke:"#4f5255",strokeWidth:1}}}},Ip={bar:{height:Ap,style:{data:{fill:"#ec7a08",stroke:"#ec7a08",strokeWidth:2}}}},Tp={chart:{padding:{bottom:0,left:0,right:0,top:up}},line:{style:{data:{fill:"#f0f0f0",stroke:"#f0f0f0",strokeWidth:2}}}},Lp={group:{height:Ap}},Bp={group:{colorScale:["#c9190b","#a30000","#7d1007","#470000","#2c0000"],height:Ap}},Op={group:{height:Ap}},Pp={chart:{height:Ap}},Fp={group:{colorScale:[Ah,wh,Ch,xh,Sh],height:Ap}},Rp={pie:{height:230,padding:20,padAngle:1,width:230}},jp={legend:{colorScale:[wp,Cp,xp]},pie:{colorScale:[wp],padding:20}},zp={pie:{height:230,padding:20,padAngle:1,width:230}},Vp={legend:{colorScale:[Cp,xp]},pie:{height:202,padding:20,width:202}},Wp={pie:{colorScale:[wp,Cp,xp],height:230,padAngle:1,padding:20,width:230}},Hp={line:{style:{data:{strokeDasharray:"4,2",strokeWidth:1.5}}}},Up=(e,t,n)=>Zu()(lf(e,t),n),Qp=(e,t)=>Up(e,t,kp),Gp=(e,t)=>Up(e,t,Pp),Kp=(e,t)=>Up(e,t,Dp),Yp=(e,t)=>Up(e,t,Np),$p=(e,t)=>Up(e,t,Ip),Jp=(e,t)=>Up(e,t,Tp),qp=(e,t)=>Up(e,t,Lp),Zp=(e,t)=>Up(e,t,Bp),Xp=(e,t)=>Up(e,t,Op),ef=(e,t)=>Up(e,t,Fp),tf=(e,t)=>Up(e,t,zp),nf=(e,t)=>{const n=Up(e,t,Vp);return n.legend.colorScale=[n.pie.colorScale[0],...Vp.legend.colorScale],n.pie.colorScale=[n.pie.colorScale[0],...Wp.pie.colorScale],n},of=(e,t,n)=>{const i=Ju()(Wp);return n&&i.pie.colorScale instanceof Array&&(i.pie.colorScale=i.pie.colorScale.reverse()),Up(e,t,i)},rf=(e,t)=>{const n=Up(e,t,Rp);return n.pie.colorScale=[n.pie.colorScale[0],...jp.pie.colorScale],n.legend.colorScale=[n.legend.colorScale[0],...jp.legend.colorScale],n},af=e=>{switch(e){case Sp.blue:return ah;case Sp.cyan:return ph;case Sp.gold:return yh;case Sp.gray:return kh;case Sp.green:return Bh;case Sp.multi:case Sp.multiOrdered:return Vh;case Sp.multiUnordered:return Kh;case Sp.orange:return Yh;case Sp.purple:return $h;default:return ah}},sf=e=>{switch(e){case Sp.blue:return Jh;case Sp.cyan:return qh;case Sp.gold:return Zh;case Sp.gray:return Xh;case Sp.green:return ep;case Sp.multi:case Sp.multiOrdered:return tp;case Sp.multiUnordered:return np;case Sp.orange:return ip;case Sp.purple:return op;default:return Jh}},lf=(e,t)=>{const n=Object.assign({},JSON.parse(JSON.stringify(Mp)));switch(t){case Ep.dark:return Zu()(n,af(e));case Ep.light:default:return Zu()(n,sf(e))}},cf=(e,t)=>Up(e,t,Hp),df=({className:e})=>{let t;return e&&(t=e.replace(/VictoryContainer/g,"").replace(/pf-c-chart/g,"").replace(/\s+/g," ").trim()),t&&t.length?`pf-c-chart ${t}`:"pf-c-chart"},uf=e=>{var{className:t,themeColor:n,themeVariant:i,theme:o=lf(n,i)}=e,r=(0,a.__rest)(e,["className","themeColor","themeVariant","theme"]);const l=df({className:t});return s.createElement(Ml,Object.assign({className:l,theme:o},r))};uf.displayName="ChartContainer",c()(uf,Ml);var hf=n(28102),pf=n.n(hf);function ff(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mf=function(e){var t=e.data,n=e.style;return t.map((function(e,i){return De(m()({},e.labels,n.labels),{datum:e,index:i,data:t})}))},vf=function(e){var t=e.orientation,n=e.theme,i=function(e,t){var n=e.style||{};return t=t||{},{parent:m()(n.parent,t.parent,{height:"100%",width:"100%"}),data:m()({},n.data,t.data),labels:m()({},n.labels,t.labels),border:m()({},n.border,t.border),title:m()({},n.title,t.title)}}(e,n&&n.legend&&n.legend.style?n.legend.style:{}),o=function(e){var t=e.colorScale;return"string"==typeof t?$a(t):t||[]}(e),r="horizontal"===t,a=xe({padding:e.borderPadding});return f()({},e,{style:i,isHorizontal:r,colorScale:o,borderPadding:a})},bf=function(e,t){var n=e.itemsPerRow,i=e.isHorizontal;return n?i?t%n:Math.floor(t/n):i?t:0},_f=function(e,t){var n=e.itemsPerRow,i=e.isHorizontal;return n?i?Math.floor(t/n):t%n:i?0:t},yf=function(e){var t=e.data,n=e.style&&e.style.data||{},i=mf(e);return t.map((function(t,o){var r=t.symbol||{},a=i[o].fontSize,s=r.size||n.size||a/2.5;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){gf(e,t,n[t])}))}return e}({},t,{size:s,symbolSpacer:e.symbolSpacer||Math.max(s,a),fontSize:a,textSize:pc(t.name,i[o]),column:bf(e,o),row:_f(e,o)})}))},Af=function(e,t){var n=e.gutter||{},i="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=E()(t,"column");return be()(o).reduce((function(e,t,n){var r=o[t].map((function(e){return e.textSize.width+e.size+e.symbolSpacer+i}));return e[n]=Math.max.apply(Math,ff(r)),e}),[])},wf=function(e,t){var n=e.rowGutter||{},i="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=E()(t,"row");return be()(o).reduce((function(e,t,n){var r=o[t].map((function(e){return e.textSize.height+e.symbolSpacer+i}));return e[n]=Math.max.apply(Math,ff(r)),e}),[])},Cf=function(e){var t=e.style&&e.style.title||{},n=pc(e.title,t),i=t.padding||0;return{height:n.height+2*i||0,width:n.width+2*i||0}},xf=function(e,t){var n=Pe(e,t,"legend"),i=e=f()({},n,vf(n)),o=i.title,r=i.titleOrientation,a=yf(e),s=Af(e,a),l=wf(e,a),c=o?Cf(e):{height:0,width:0};return{height:"left"===r||"right"===r?Math.max(pf()(l),c.height):pf()(l)+c.height,width:"left"===r||"right"===r?pf()(s)+c.width:Math.max(pf()(s),c.width)}},Sf=function(e,t){var n=Pe(e,t,"legend"),i=e=f()({},n,vf(n)),o=i.data,r=i.standalone,a=i.theme,s=i.padding,l=i.style,c=i.colorScale,d=i.gutter,u=i.rowGutter,h=i.borderPadding,p=i.title,g=i.titleOrientation,v=i.name,b=i.x,_=void 0===b?0:b,y=i.y,A=void 0===y?0:y,w=yf(e),C=Af(e,w),x=wf(e,w),S=mf(e),E=p?Cf(e):{height:0,width:0},k="left"===g?E.width:0,M="top"===g?E.height:0,D=d&&"object"==typeof d&&d.left||0,N=u&&"object"==typeof u&&u.top||0,I=xf(e,t),T=function(e,t,n){var i=e.x,o=e.y,r=e.borderPadding,a=e.style;return{x:i,y:o,height:(t||0)+r.top+r.bottom,width:(n||0)+r.left+r.right,style:f()({fill:"none"},a.border)}}(e,I.height,I.width),L=function(e,t){var n=e.title,i=e.titleOrientation,o=e.centerTitle,r=e.borderPadding,a=t.height,s=t.width,l=function(e){var t=e.titleOrientation,n=e.centerTitle,i=e.titleComponent,o=e.style&&e.style.title||{},r=i.props&&i.props.style||{},a=function(e,t){var n={textAnchor:"right"===e?"end":"start",verticalAnchor:"bottom"===e?"end":"start"};if(t){var i="top"===e||"bottom"===e;return{textAnchor:i?"middle":n.textAnchor,verticalAnchor:i?n.verticalAnchor:"middle"}}return n}(t,n);return Array.isArray(r)?r.map((function(e){return m()({},e,o,a)})):m()({},r,o,a)}(e),c=Array.isArray(l)?l[0].padding:l.padding,d="top"===i||"bottom"===i,u="right"===i?"right":"left",h={x:o?s/2:r["bottom"===i?"bottom":"top"]+(c||0),y:o?a/2:r[u]+(c||0)},p=function(){return r[i]+(c||0)},f=d?h.x:p(),g=d?p():h.y;return{x:"right"===i?e.x+s-f:e.x+f,y:"bottom"===i?e.y+a-g:e.y+g,style:l,text:n}}(e,T),B={parent:{data:o,standalone:r,theme:a,padding:s,name:v,height:e.height,width:e.width,style:l.parent},all:{border:T,title:L}};return w.reduce((function(e,t,n){var i=c[n%c.length],r=m()({},t.symbol,l.data,{fill:i}),a=Kc()(t.eventKey)?n:t.eventKey,s=function(e,t,n){var i=e.column,o=e.row;return{x:W()(i).reduce((function(e,t){return e+n[t]}),0),y:W()(o).reduce((function(e,n){return e+t[n]}),0)}}(t,x,C),d=A+h.top+t.symbolSpacer,u=_+h.left+t.symbolSpacer,p={index:n,data:o,datum:t,symbol:r.type||r.symbol||"circle",size:t.size,style:r,y:d+s.y+M+N,x:u+s.x+k+D},f={datum:t,data:o,text:t.name,style:S[n],y:p.y,x:p.x+t.symbolSpacer+t.size/2};return e[a]={data:p,labels:f},e}),B)};function Ef(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){kf(e,t,n[t])}))}return e}function kf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mf=function(e){return e=function(e){var t=Me(e.ariaLabel,e),n=Me(e.desc,e),i=Me(e.id,e),o=De(f()({fill:"none"},e.style),e),r=Me(e.tabIndex,e);return f()({},e,{ariaLabel:t,desc:n,id:i,style:o,tabIndex:r})}(e),s.cloneElement(e.rectComponent,Ef({},e.events,{"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,transform:e.transform,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,width:e.width,height:e.height,clipPath:e.clipPath}))};Mf.propTypes=Ef({},Vs,{height:b().number,rectComponent:b().element,width:b().number,x:b().number,y:b().number}),Mf.defaultProps={rectComponent:s.createElement(Hs,null),role:"presentation",shapeRendering:"auto"};const Df=Mf,Nf={circle:function(e,t,n){return"M ".concat(e,", ").concat(t,"\n m ").concat(-n,", 0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*n,",0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*-n,",0")},square:function(e,t,n){var i=.87*n,o=e-i,r=t+i,a=e+i-o;return"M ".concat(o,", ").concat(r,"\n h").concat(a,"\n v-").concat(a,"\n h-").concat(a,"\n z")},diamond:function(e,t,n){var i=.87*n,o=Math.sqrt(i*i*2);return"M ".concat(e,", ").concat(t+o,"\n l ").concat(o,", -").concat(o,"\n l -").concat(o,", -").concat(o,"\n l -").concat(o,", ").concat(o,"\n l ").concat(o,", ").concat(o,"\n z")},triangleDown:function(e,t,n){var i=e+n,o=t-n,r=t+n/2*Math.sqrt(3);return"M ".concat(e-n,", ").concat(o,"\n L ").concat(i,", ").concat(o,"\n L ").concat(e,", ").concat(r,"\n z")},triangleUp:function(e,t,n){var i=e+n,o=t-n/2*Math.sqrt(3),r=t+n;return"M ".concat(e-n,", ").concat(r,"\n L ").concat(i,", ").concat(r,"\n L ").concat(e,", ").concat(o,"\n z")},plus:function(e,t,n){var i=1.1*n,o=i/1.5;return"\n M ".concat(e-o/2,", ").concat(t+i,"\n v-").concat(o,"\n h-").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h-").concat(o,"\n v").concat(o,"\n z")},cross:function(e,t,n){var i=.8*n,o=i/1.5;return"\n M ".concat(e-o/2,", ").concat(t+i+o,"\n v-").concat(2*o,"\n h-").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v-").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h").concat(o,"\n v").concat(o,"\n h-").concat(o,"\n v").concat(2*o,"\n z")},minus:function(e,t,n){var i=1.1*n,o=i-.3*i,r=e-i,a=t+o/2,s=e+i-r;return"M ".concat(r,", ").concat(a,"\n h").concat(s,"\n v-").concat(o,"\n h-").concat(s,"\n z")},star:function(e,t,n){var i=1.35*n,o=Math.PI/5,r=W()(10).map((function(n){var r=n%2==0?i:i/2;return"".concat(r*Math.sin(o*(n+1))+e,",\n ").concat(r*Math.cos(o*(n+1))+t)}));return"M ".concat(r.join("L")," z")}};function If(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Tf(e,t,n[t])}))}return e}function Tf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lf=function(e){var t=e.x,n=e.y,i=e.size,o=e.symbol;if(e.getPath)return e.getPath(t,n,i);var r={circle:Nf.circle,square:Nf.square,diamond:Nf.diamond,triangleDown:Nf.triangleDown,triangleUp:Nf.triangleUp,plus:Nf.plus,minus:Nf.minus,star:Nf.star,cross:Nf.cross};return("function"==typeof r[o]?r[o]:r.circle)(t,n,i)},Bf=function(e){return e=function(e){var t=Me(e.ariaLabel,e),n=Me(e.desc,e),i=Me(e.id,e),o=Me(e.size,e),r=De(e.style,e),a=Me(e.symbol,e),s=Me(e.tabIndex,e);return f()({},e,{ariaLabel:t,desc:n,id:i,size:o,style:r,symbol:a,tabIndex:s})}(e),s.cloneElement(e.pathComponent,If({},e.events,{"aria-label":e.ariaLabel,d:Lf(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,role:e.role,shapeRendering:e.shapeRendering,className:e.className,transform:e.transform,clipPath:e.clipPath}))};Bf.propTypes=If({},Vs,{datum:b().object,getPath:b().func,pathComponent:b().element,size:b().oneOfType([b().number,b().func]),symbol:b().oneOfType([b().oneOf(["circle","cross","diamond","plus","minus","square","star","triangleDown","triangleUp"]),b().func]),x:b().number,y:b().number}),Bf.defaultProps={pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const Of=Bf;function Pf(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ff(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function jf(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var zf={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Vf=function(e){function t(){return Ff(this,t),jf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"renderChildren",value:function(e){var t=this,n=e.dataComponent,i=e.labelComponent,o=e.title,r=this.dataKeys.map((function(e,i){if("all"!==e){var o=t.getComponentProps(n,"data",i);return s.cloneElement(n,o)}})).filter(Boolean),a=this.dataKeys.map((function(e,n){if("all"!==e){var o=t.getComponentProps(i,"labels",n);return void 0!==o.text&&null!==o.text?s.cloneElement(i,o):void 0}})).filter(Boolean),l=this.getComponentProps(e.borderComponent,"border","all"),c=s.cloneElement(e.borderComponent,l);if(o){var d=this.getComponentProps(e.title,"title","all"),u=s.cloneElement(e.titleComponent,d);return[c].concat(Pf(r),[u],Pf(a))}return[c].concat(Pf(r),Pf(a))}},{key:"render",value:function(){var e=this.constructor.role,t=Pe(this.props,zf,e),n=[this.renderChildren(t)];return t.standalone?this.renderContainer(t.containerComponent,n):s.cloneElement(t.groupComponent,{},n)}}],i&&Rf(n.prototype,i),t}(s.Component);Object.defineProperty(Vf,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLegend"}),Object.defineProperty(Vf,"role",{configurable:!0,enumerable:!0,writable:!0,value:"legend"}),Object.defineProperty(Vf,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:b().element,borderPadding:b().oneOfType([b().number,b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number})]),centerTitle:b().bool,colorScale:b().oneOfType([b().arrayOf(b().string),b().oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:b().element,data:b().arrayOf(b().shape({name:b().string.isRequired,label:b().object,symbol:b().object})),dataComponent:b().element,eventKey:b().oneOfType([b().func,Is([Ls,Ts]),b().string]),events:b().arrayOf(b().shape({target:b().oneOf(["data","labels","parent"]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),eventHandlers:b().object})),externalEventMutations:b().arrayOf(b().shape({callback:b().function,childName:b().oneOfType([b().string,b().array]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),mutation:b().function,target:b().oneOfType([b().string,b().array])})),groupComponent:b().element,gutter:b().oneOfType([b().number,b().shape({left:b().number,right:b().number})]),height:Ts,itemsPerRow:Ts,labelComponent:b().element,name:b().string,orientation:b().oneOf(["horizontal","vertical"]),padding:b().oneOfType([b().number,b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number})]),rowGutter:b().oneOfType([b().number,b().shape({top:b().number,bottom:b().number})]),sharedEvents:b().shape({events:b().array,getEventState:b().func}),standalone:b().bool,style:b().shape({border:b().object,data:b().object,labels:b().object,parent:b().object,title:b().object}),symbolSpacer:b().number,theme:b().object,title:b().oneOfType([b().string,b().array]),titleComponent:b().element,titleOrientation:b().oneOf(["top","bottom","left","right"]),width:Ts,x:Ts,y:Ts}}),Object.defineProperty(Vf,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{borderComponent:s.createElement(Df,null),data:[{name:"Series 1"},{name:"Series 2"}],containerComponent:s.createElement(Ml,null),dataComponent:s.createElement(Of,null),groupComponent:s.createElement("g",null),labelComponent:s.createElement(Qc,null),standalone:!0,theme:Gl.grayscale,titleComponent:s.createElement(Qc,null)}}),Object.defineProperty(Vf,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return Sf(e,zf)}}),Object.defineProperty(Vf,"getDimensions",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return xf(e,zf)}}),Object.defineProperty(Vf,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"]});const Wf=Ud(Vf),Hf=24,Uf={label:{fontFamily:sp.var,fontSize:dp,letterSpacing:cp,margin:8},legend:{margin:d,position:"right"}},Qf={axisTickCount:5,comparativeMeasureErrorWidth:30,comparativeMeasureWarningWidth:30,comparativeMeasureWidth:30,label:{groupTitle:{fontSize:Hf},subTitle:{fill:"#b8bbbe",fontSize:dp},title:{fontSize:18}},primaryDotMeasureSize:6,primarySegmentedMeasureWidth:9,qualitativeRangeWidth:30},Gf={label:{subTitle:{fill:"#b8bbbe",fontSize:dp},subTitlePosition:"center",title:{fontSize:Hf}}},Kf={thresholds:{colorScale:["#f0ab00","#c9190b"]}},Yf={flyout:{padding:40},label:{fill:pp,fontWeight:"600"}},$f={activeSize:5,size:3};var Jf,qf;!function(e){e.rtl="rtl",e.ltr="ltr",e.inherit="inherit"}(Jf||(Jf={})),function(e){e.parallel="parallel",e.perpendicular="perpendicular",e.vertical="vertical"}(qf||(qf={}));const Zf=e=>{var{style:t,textAnchor:n}=e,i=(0,a.__rest)(e,["style","textAnchor"]);const o=e=>m()(Object.assign(Object.assign({},e),{textAnchor:n}),{fontFamily:Uf.label.fontFamily,fontSize:Uf.label.fontSize,letterSpacing:Uf.label.letterSpacing}),r=Array.isArray(t)?t.map(o):o(t);return s.createElement(Qc,Object.assign({style:r,textAnchor:n},i))};Zf.displayName="ChartLabel",c()(Zf,Qc);const Xf={circle:(e,t,n)=>`M ${e}, ${t}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`,dash:(e,t,n)=>{const i=1.1*n,o=i-.3*i,r=e-i,a=t+o/2,s=.3*(e+i-r),l=s/3;return`M ${r}, ${a}\n h${s}\n v-${o}\n h-${s}\n z\n M ${r+s+l}, ${a}\n h${s}\n v-${o}\n h-${s}\n z\n M ${r+2*s+2*l}, ${a}\n h${s}\n v-${o}\n h-${s}\n z`},diamond:(e,t,n)=>{const i=.87*n,o=Math.sqrt(i*i*2);return`M ${e}, ${t+o}\n l ${o}, -${o}\n l -${o}, -${o}\n l -${o}, ${o}\n l ${o}, ${o}\n z`},eyeSlash:(e,t,n)=>`m${e-.87*n}, ${t-1.25*n} .013 .013 0 0 2.179 2.219c.7-.204 1.418-.307 2.152-.307 2.859 0 5.464 1.551 7.814 4.654.243 .321.268 .753.073 1.097l-.073.111-.236.305c-.632.801-1.282 1.491-1.951 2.071l1.773 1.806c.382.389 .382 1.012 0 1.401l-.058.059c-.387.394-1.02.4-1.414.013l-.013-.013-11.732-11.956c-.382-.389-.382-1.012 0-1.401l.058-.059c.387-.394 1.02-.4 1.414-.013zm-.674 3.71 1.407 1.436c-.329.604-.516 1.298-.516 2.038 0 2.323 1.848 4.206 4.127 4.206.726 0 1.408-.191 2-.526l.966.984c-.956.396-1.945.593-2.966.593-2.859 0-5.464-1.551-7.814-4.654-.243-.321-.268-.753-.073-1.097l.073-.111.236-.305c.823-1.042 1.676-1.897 2.56-2.565zm2.177 2.22 4.072 4.149c-.377.167-.793.259-1.23.259-1.71 0-3.096-1.412-3.096-3.155 0-.445.091-.869.254-1.253zm2.842-2.953c-.43 0-.845.067-1.234.191l.865.882c.121-.015.244-.022.369-.022 1.71 0 3.096 1.412 3.096 3.155 0 .127-.007.252-.022.375l.866.882c.122-.397.187-.819.187-1.257 0-2.323-1.848-4.206-4.127-4.206z`,minus:(e,t,n)=>{const i=1.1*n,o=i-.3*i,r=e-i,a=e+i-r;return`M ${r}, ${t+o/2}\n h${a}\n v-${o}\n h-${a}\n z`},plus:(e,t,n)=>{const i=1.1*n,o=i/1.5;return`\n M ${e-o/2}, ${t+i}\n v-${o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${o}\n z`},star:(e,t,n)=>{const i=1.35*n,o=Math.PI/5;return`M ${[...Array(10).keys()].map((n=>{const r=n%2==0?i:i/2;return`${r*Math.sin(o*(n+1))+e},\n ${r*Math.cos(o*(n+1))+t}`})).join("L")} z`},square:(e,t,n)=>{const i=.87*n,o=e-i,r=e+i-o;return`M ${o}, ${t+i}\n h${r}\n v-${r}\n h-${r}\n z`},threshold:(e,t,n)=>{const i=1.1*n,o=i-.3*i,r=e-i,a=t+o/2,s=.5*(e+i-r);return`M ${r}, ${a}\n h${s}\n v-${o}\n h-${s}\n z\n M ${r+s+s/3}, ${a}\n h${s}\n v-${o}\n h-${s}\n z`},triangleDown:(e,t,n)=>{const i=t-n;return`M ${e-n}, ${i}\n L ${e+n}, ${i}\n L ${e}, ${t+n/2*Math.sqrt(3)}\n z`},triangleLeft:(e,t,n)=>{const i=e+n;return`M ${i}, ${t-n}\n L ${i}, ${t+n}\n L ${e-n/2*Math.sqrt(3)}, ${t}\n z`},triangleRight:(e,t,n)=>{const i=e-n;return`M ${i}, ${t-n}\n L ${i}, ${t+n}\n L ${e+n/2*Math.sqrt(3)}, ${t}\n z`},triangleUp:(e,t,n)=>{const i=t+n;return`M ${e-n}, ${i}\n L ${e+n}, ${i}\n L ${e}, ${t-n/2*Math.sqrt(3)}\n z`}},eg=e=>{const{x:t,y:n}=e,i=Me(e.size,e);if(e.getPath)return e.getPath(t,n,i);const o={circle:Xf.circle,square:Xf.square,diamond:Xf.diamond,eyeSlash:Xf.eyeSlash,triangleDown:Xf.triangleDown,triangleLeft:Xf.triangleLeft,triangleRight:Xf.triangleRight,triangleUp:Xf.triangleUp,plus:Xf.plus,minus:Xf.minus,star:Xf.star,dash:Xf.dash,threshold:Xf.threshold},r=Me(e.symbol,e);return("function"==typeof o[r]?o[r]:o.square)(t,n,i)},tg=e=>{var{active:t,className:n,clipPath:i,datum:o,desc:r,events:l,pathComponent:c=s.createElement(pu,null),role:d="presentation",shapeRendering:u="auto",tabIndex:h,transform:p}=e,f=(0,a.__rest)(e,["active","className","clipPath","datum","desc","events","pathComponent","role","shapeRendering","tabIndex","transform"]);const g=Object.assign({active:t,className:n,clipPath:i,datum:o,desc:r,events:l,role:d,shapeRendering:u,tabIndex:h,transform:p},f);return s.cloneElement(c,Object.assign(Object.assign({className:n,clipPath:i,d:eg(g),desc:Me(r,g)},l),{role:d,shapeRendering:u,style:De(f.style,g),tabIndex:Me(h,g),transform:p}))};var ng,ig,og;tg.displayName="ChartPoint",function(e){e.horizontal="horizontal",e.vertical="vertical"}(ng||(ng={})),function(e){e.bottom="bottom",e.bottomLeft="bottom-left",e.right="right"}(ig||(ig={})),function(e){e.bottom="bottom",e.top="top"}(og||(og={}));const rg=e=>{var{containerComponent:t=s.createElement(uf,null),dataComponent:n=s.createElement(tg,null),labelComponent:i=s.createElement(Zf,null),responsive:o=!0,themeColor:r,themeVariant:l,titleComponent:c=s.createElement(Zf,null),theme:d=lf(r,l)}=e,u=(0,a.__rest)(e,["containerComponent","dataComponent","labelComponent","responsive","themeColor","themeVariant","titleComponent","theme"]);const h=s.cloneElement(t,Object.assign({responsive:o,theme:d},t.props));return s.createElement(Wf,Object.assign({containerComponent:h,dataComponent:n,labelComponent:i,theme:d,titleComponent:c},u))};rg.displayName="ChartLegend",c()(rg,Wf,{getBaseProps:!0}),rg.getBaseProps=e=>{const t=lf(null,null);return Wf.getBaseProps(Object.assign({titleComponent:s.createElement(Zf,null)},e),{height:t.chart.height,orientation:t.legend.orientation,titleOrientation:t.legend.titleOrientation,x:0,y:0,width:t.chart.width})};const ag=(e,t,n)=>"number"==typeof t?t:"object"==typeof t&&Object.keys(t).length>0?t[e]||0:ag(e,n,0),sg=({height:e,padding:t,width:n})=>{const{top:i,bottom:o,left:r,right:a}=xe({padding:t}),s=Te({height:e,width:n,padding:t});return{x:s+r+(n-2*s-r-a)/2,y:s+i+(e-2*s-i-o)/2}},lg=({chartWidth:e,dx:t=0,labelPosition:n})=>"top"===n&&e?Math.round(e/2):t,cg=({chartHeight:e,dy:t=0,labelPosition:n})=>{switch(n){case"bottom":return e+Uf.label.margin+t;case"left":return e?Math.round(e/2)+t:t;default:return t}},dg=({dx:e=0,height:t,labelPosition:n,legendPosition:i,padding:o,width:r})=>{const a=sg({height:t,padding:o,width:r}),s=Te({height:t,width:r,padding:o});switch(n){case"bottom":case"center":return a.x+e;case"right":switch(i){case"bottom":return a.x+Uf.label.margin+e+s;case"right":return a.x+Uf.label.margin+e;default:return e}default:return e}},ug=({dy:e=0,height:t,labelPosition:n,padding:i,width:o})=>{const r=sg({height:t,padding:i,width:o}),a=Te({height:t,width:o,padding:i});switch(n){case"center":case"right":return r.y+e;case"bottom":return r.y+a+2*Uf.label.margin+e;default:return e}},hg=({text:e,theme:t})=>{const n=t.legend.style.labels;return pc(e,Object.assign({},n))},pg=({allowWrap:e=!0,chartType:t="chart",dx:n=0,dy:i=0,height:o,legendComponent:r,padding:a,position:l=Uf.legend.position,theme:c,width:d,orientation:u=c.legend.orientation})=>{const h=r.props?r.props:{},p=e?mg({chartType:t,dx:n,height:o,legendData:h.data,legendOrientation:h.legendOrientation?h.legendOrientation:u,legendPosition:l,legendProps:h,padding:a,theme:c,width:d}):void 0,f=m()({},r.props,{itemsPerRow:p}),g=vg({chartType:t,dx:n,height:o,legendData:f.data,legendOrientation:f.legendOrientation?f.legendOrientation:u,legendPosition:l,legendProps:f,padding:a,theme:c,width:d}),v=bg({chartType:t,dy:i,height:o,legendData:f.data,legendOrientation:f.legendOrientation?f.legendOrientation:u,legendProps:f,legendPosition:l,padding:a,theme:c,width:d}),b=m()({},r.props,{itemsPerRow:p,orientation:u,standalone:!1,theme:c,x:g>0?g:0,y:v>0?v:0});return s.cloneElement(r,b)},fg=({legendData:e,legendOrientation:t,legendProps:n,theme:i})=>e||n.data?Wf.getDimensions(Object.assign({data:e,orientation:t,theme:i},n)):{},gg=({dx:e=0,height:t,legendPosition:n,legendData:i,legendOrientation:o,legendProps:r,padding:a,theme:s,width:l})=>{const{left:c,right:d}=xe({padding:a}),u=l-c-d,h=fg({legendData:i,legendOrientation:o,legendProps:r,theme:s});let p=0;switch(n){case"bottom-left":p=c+e;break;case"right":p=u+Uf.legend.margin+c+e;break;default:p=e}return l-p>h.width},mg=({dx:e,height:t,legendPosition:n,legendData:i,legendOrientation:o,legendProps:r,padding:a,theme:s,width:l})=>{let c=i?i.length:0;for(let d=c;d>0;d--)if(gg({dx:e,height:t,legendPosition:n,legendData:i,legendOrientation:o,legendProps:Object.assign(Object.assign({},r),{itemsPerRow:d}),padding:a,theme:s,width:l})){c=d;break}return c},vg=e=>{var{chartType:t}=e,n=(0,a.__rest)(e,["chartType"]);return"pie"===t?wg(n):yg(n)},bg=e=>{var{chartType:t}=e,n=(0,a.__rest)(e,["chartType"]);switch(t){case"pie":return Cg(n);case"bullet":return _g(n);default:return Ag(n)}},_g=({dy:e=0,height:t,legendPosition:n,legendData:i,legendOrientation:o,legendProps:r,padding:a,theme:s,width:l})=>{const{left:c,right:d}=xe({padding:a}),u=t;switch(n){case"bottom":case"bottom-left":return u+Uf.legend.margin+e;case"right":{const e=e=>e&&e.length>0?17:0;return(u-fg({legendData:i,legendOrientation:o,legendProps:r,theme:s}).height)/2+e(i)}default:return e}},yg=({dx:e=0,height:t,legendData:n,legendOrientation:i,legendPosition:o,legendProps:r,padding:a,theme:s,width:l})=>{const{top:c,bottom:d,left:u,right:h}=xe({padding:a}),p=(Math.abs(t-(d+c)),Math.abs(l-(u+h))),f=fg({legendData:n,legendOrientation:i,legendProps:r,theme:s});switch(o){case"bottom":return l>f.width?Math.round((l-f.width)/2)+e:e;case"bottom-left":return u+e;case"right":return p+Uf.legend.margin+u+e;default:return e}},Ag=({dy:e=0,height:t,legendPosition:n,legendData:i,legendOrientation:o,legendProps:r,padding:a,theme:s,width:l})=>{const{top:c,bottom:d,left:u,right:h}=xe({padding:a}),p=Math.abs(t-(d+c));switch(Math.abs(l-(u+h)),n){case"bottom":case"bottom-left":return p+2*Uf.legend.margin+c+e;case"right":{const e=e=>e&&e.length>0?2:0;return p/2+c-fg({legendData:i,legendOrientation:o,legendProps:r,theme:s}).height/2+e(i)}default:return e}},wg=({dx:e=0,height:t,legendData:n,legendOrientation:i,legendPosition:o,legendProps:r,padding:a,theme:s,width:l})=>{const c=sg({height:t,padding:a,width:l}),d=Te({height:t,width:l,padding:a}),u=fg({legendData:n,legendOrientation:i,legendProps:r,theme:s});switch(o){case"bottom":return l>u.width?Math.round((l-u.width)/2)+e:e;case"right":return c.x+Uf.label.margin+e+d;default:return e}},Cg=({dy:e=0,height:t,legendPosition:n,legendData:i,legendOrientation:o,legendProps:r,padding:a,theme:s,width:l})=>{const c=sg({height:t,padding:a,width:l}),d=Te({height:t,width:l,padding:a});switch(n){case"bottom":return c.y+Uf.legend.margin+d+e;case"right":{const e=fg({legendData:i,legendOrientation:o,legendProps:r,theme:s}),t=e=>e&&e.length>0?2:0;return c.y-e.height/2+t(i)}default:return e}},xg=({legendData:e,theme:t})=>{const n=t&&t.legend&&t.legend.style?t.legend.style.labels:void 0;if(!e||!e.length)return 0;let i="";return e.forEach((e=>{e.name&&e.name.length>i.length&&(i=e.name)})),pc(i,Object.assign({},n)).width},Sg=e=>{var{ariaDesc:t,ariaTitle:n,children:i,legendAllowWrap:o=!1,legendComponent:r=s.createElement(rg,null),legendData:l,legendPosition:c=Uf.legend.position,padding:u,showAxis:h=!0,themeColor:p,themeVariant:f,theme:g=lf(p,f),containerComponent:m=s.createElement(uf,null),legendOrientation:v=g.legend.orientation,height:b=g.chart.height,width:_=g.chart.width}=e,y=(0,a.__rest)(e,["ariaDesc","ariaTitle","children","legendAllowWrap","legendComponent","legendData","legendPosition","padding","showAxis","themeColor","themeVariant","theme","containerComponent","legendOrientation","height","width"]);const A={bottom:ag("bottom",u,g.chart.padding),left:ag("left",u,g.chart.padding),right:ag("right",u,g.chart.padding),top:ag("top",u,g.chart.padding)},w=s.cloneElement(m,Object.assign(Object.assign({desc:t,title:n,theme:g},m.props),{className:df({className:m.props.className})})),C=s.cloneElement(r,Object.assign({data:l,orientation:v,theme:g},r.props)),x=Yu;if(!h){const e=()=>null;x.defaultProps.defaultAxes.dependent=s.createElement(e,null),x.defaultProps.defaultAxes.independent=s.createElement(e,null)}return s.createElement(x,Object.assign({containerComponent:w,height:b,padding:A,theme:g,width:_},y),i,(()=>{if(!C.props.data)return null;let e=0,t=0,n=0,r=C.props.title?10:0;return s.Children.toArray(i).map((e=>{"axis"===e.type.role&&e.props.label&&!e.props.dependentAxis&&(n=hg({text:e.props.label,theme:g}).height+10,r=0)})),c===ig.bottom?t+=n+r:c===ig.bottomLeft&&(t+=n+r,e=-10),h||(t-=d),pg({allowWrap:o,chartType:"chart",dx:e,dy:t,height:b,legendComponent:C,padding:A,position:c,theme:g,width:_})})())};Sg.displayName="Chart",c()(Sg,Yu);var Eg=Math.PI,kg=2*Eg,Mg=1e-6,Dg=kg-Mg;function Ng(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ig(){return new Ng}Ng.prototype=Ig.prototype={constructor:Ng,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,i){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(e,t,n,i,o,r){this._+="C"+ +e+","+ +t+","+ +n+","+ +i+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(e,t,n,i,o){e=+e,t=+t,n=+n,i=+i,o=+o;var r=this._x1,a=this._y1,s=n-e,l=i-t,c=r-e,d=a-t,u=c*c+d*d;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(u>Mg)if(Math.abs(d*s-l*c)>Mg&&o){var h=n-r,p=i-a,f=s*s+l*l,g=h*h+p*p,m=Math.sqrt(f),v=Math.sqrt(u),b=o*Math.tan((Eg-Math.acos((f+u-g)/(2*m*v)))/2),_=b/v,y=b/m;Math.abs(_-1)>Mg&&(this._+="L"+(e+_*c)+","+(t+_*d)),this._+="A"+o+","+o+",0,0,"+ +(d*h>c*p)+","+(this._x1=e+y*s)+","+(this._y1=t+y*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,i,o,r){e=+e,t=+t,r=!!r;var a=(n=+n)*Math.cos(i),s=n*Math.sin(i),l=e+a,c=t+s,d=1^r,u=r?i-o:o-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>Mg||Math.abs(this._y1-c)>Mg)&&(this._+="L"+l+","+c),n&&(u<0&&(u=u%kg+kg),u>Dg?this._+="A"+n+","+n+",0,1,"+d+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+d+","+(this._x1=l)+","+(this._y1=c):u>Mg&&(this._+="A"+n+","+n+",0,"+ +(u>=Eg)+","+d+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,i){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};const Tg=Ig;function Lg(e){return function(){return e}}var Bg=Math.abs,Og=Math.atan2,Pg=Math.cos,Fg=Math.max,Rg=Math.min,jg=Math.sin,zg=Math.sqrt,Vg=1e-12,Wg=Math.PI,Hg=Wg/2,Ug=2*Wg;function Qg(e){return e>1?0:e<-1?Wg:Math.acos(e)}function Gg(e){return e>=1?Hg:e<=-1?-Hg:Math.asin(e)}function Kg(e){return e.innerRadius}function Yg(e){return e.outerRadius}function $g(e){return e.startAngle}function Jg(e){return e.endAngle}function qg(e){return e&&e.padAngle}function Zg(e,t,n,i,o,r,a,s){var l=n-e,c=i-t,d=a-o,u=s-r,h=u*l-d*c;if(!(h*h<Vg))return[e+(h=(d*(t-r)-u*(e-o))/h)*l,t+h*c]}function Xg(e,t,n,i,o,r,a){var s=e-n,l=t-i,c=(a?r:-r)/zg(s*s+l*l),d=c*l,u=-c*s,h=e+d,p=t+u,f=n+d,g=i+u,m=(h+f)/2,v=(p+g)/2,b=f-h,_=g-p,y=b*b+_*_,A=o-r,w=h*g-f*p,C=(_<0?-1:1)*zg(Fg(0,A*A*y-w*w)),x=(w*_-b*C)/y,S=(-w*b-_*C)/y,E=(w*_+b*C)/y,k=(-w*b+_*C)/y,M=x-m,D=S-v,N=E-m,I=k-v;return M*M+D*D>N*N+I*I&&(x=E,S=k),{cx:x,cy:S,x01:-d,y01:-u,x11:x*(o/A-1),y11:S*(o/A-1)}}function em(){var e=Kg,t=Yg,n=Lg(0),i=null,o=$g,r=Jg,a=qg,s=null;function l(){var l,c,d=+e.apply(this,arguments),u=+t.apply(this,arguments),h=o.apply(this,arguments)-Hg,p=r.apply(this,arguments)-Hg,f=Bg(p-h),g=p>h;if(s||(s=l=Tg()),u<d&&(c=u,u=d,d=c),u>Vg)if(f>Ug-Vg)s.moveTo(u*Pg(h),u*jg(h)),s.arc(0,0,u,h,p,!g),d>Vg&&(s.moveTo(d*Pg(p),d*jg(p)),s.arc(0,0,d,p,h,g));else{var m,v,b=h,_=p,y=h,A=p,w=f,C=f,x=a.apply(this,arguments)/2,S=x>Vg&&(i?+i.apply(this,arguments):zg(d*d+u*u)),E=Rg(Bg(u-d)/2,+n.apply(this,arguments)),k=E,M=E;if(S>Vg){var D=Gg(S/d*jg(x)),N=Gg(S/u*jg(x));(w-=2*D)>Vg?(y+=D*=g?1:-1,A-=D):(w=0,y=A=(h+p)/2),(C-=2*N)>Vg?(b+=N*=g?1:-1,_-=N):(C=0,b=_=(h+p)/2)}var I=u*Pg(b),T=u*jg(b),L=d*Pg(A),B=d*jg(A);if(E>Vg){var O,P=u*Pg(_),F=u*jg(_),R=d*Pg(y),j=d*jg(y);if(f<Wg&&(O=Zg(I,T,R,j,P,F,L,B))){var z=I-O[0],V=T-O[1],W=P-O[0],H=F-O[1],U=1/jg(Qg((z*W+V*H)/(zg(z*z+V*V)*zg(W*W+H*H)))/2),Q=zg(O[0]*O[0]+O[1]*O[1]);k=Rg(E,(d-Q)/(U-1)),M=Rg(E,(u-Q)/(U+1))}}C>Vg?M>Vg?(m=Xg(R,j,I,T,u,M,g),v=Xg(P,F,L,B,u,M,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),M<E?s.arc(m.cx,m.cy,M,Og(m.y01,m.x01),Og(v.y01,v.x01),!g):(s.arc(m.cx,m.cy,M,Og(m.y01,m.x01),Og(m.y11,m.x11),!g),s.arc(0,0,u,Og(m.cy+m.y11,m.cx+m.x11),Og(v.cy+v.y11,v.cx+v.x11),!g),s.arc(v.cx,v.cy,M,Og(v.y11,v.x11),Og(v.y01,v.x01),!g))):(s.moveTo(I,T),s.arc(0,0,u,b,_,!g)):s.moveTo(I,T),d>Vg&&w>Vg?k>Vg?(m=Xg(L,B,P,F,d,-k,g),v=Xg(I,T,R,j,d,-k,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),k<E?s.arc(m.cx,m.cy,k,Og(m.y01,m.x01),Og(v.y01,v.x01),!g):(s.arc(m.cx,m.cy,k,Og(m.y01,m.x01),Og(m.y11,m.x11),!g),s.arc(0,0,d,Og(m.cy+m.y11,m.cx+m.x11),Og(v.cy+v.y11,v.cx+v.x11),g),s.arc(v.cx,v.cy,k,Og(v.y11,v.x11),Og(v.y01,v.x01),!g))):s.arc(0,0,d,A,y,g):s.lineTo(L,B)}else s.moveTo(0,0);if(s.closePath(),l)return s=null,l+""||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,i=(+o.apply(this,arguments)+ +r.apply(this,arguments))/2-Wg/2;return[Pg(i)*n,jg(i)*n]},l.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Lg(+t),l):e},l.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Lg(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Lg(+e),l):n},l.padRadius=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:Lg(+e),l):i},l.startAngle=function(e){return arguments.length?(o="function"==typeof e?e:Lg(+e),l):o},l.endAngle=function(e){return arguments.length?(r="function"==typeof e?e:Lg(+e),l):r},l.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Lg(+e),l):a},l.context=function(e){return arguments.length?(s=null==e?null:e,l):s},l}function tm(e){this._context=e}function nm(e){return new tm(e)}function im(e){return e[0]}function om(e){return e[1]}function rm(){var e=im,t=om,n=Lg(!0),i=null,o=nm,r=null;function a(a){var s,l,c,d=a.length,u=!1;for(null==i&&(r=o(c=Tg())),s=0;s<=d;++s)!(s<d&&n(l=a[s],s,a))===u&&((u=!u)?r.lineStart():r.lineEnd()),u&&r.point(+e(l,s,a),+t(l,s,a));if(c)return r=null,c+""||null}return a.x=function(t){return arguments.length?(e="function"==typeof t?t:Lg(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:Lg(+e),a):t},a.defined=function(e){return arguments.length?(n="function"==typeof e?e:Lg(!!e),a):n},a.curve=function(e){return arguments.length?(o=e,null!=i&&(r=o(i)),a):o},a.context=function(e){return arguments.length?(null==e?i=r=null:r=o(i=e),a):i},a}function am(){var e=im,t=null,n=Lg(0),i=om,o=Lg(!0),r=null,a=nm,s=null;function l(l){var c,d,u,h,p,f=l.length,g=!1,m=new Array(f),v=new Array(f);for(null==r&&(s=a(p=Tg())),c=0;c<=f;++c){if(!(c<f&&o(h=l[c],c,l))===g)if(g=!g)d=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),u=c-1;u>=d;--u)s.point(m[u],v[u]);s.lineEnd(),s.areaEnd()}g&&(m[c]=+e(h,c,l),v[c]=+n(h,c,l),s.point(t?+t(h,c,l):m[c],i?+i(h,c,l):v[c]))}if(p)return s=null,p+""||null}function c(){return rm().defined(o).curve(a).context(r)}return l.x=function(n){return arguments.length?(e="function"==typeof n?n:Lg(+n),t=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:Lg(+t),l):e},l.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:Lg(+e),l):t},l.y=function(e){return arguments.length?(n="function"==typeof e?e:Lg(+e),i=null,l):n},l.y0=function(e){return arguments.length?(n="function"==typeof e?e:Lg(+e),l):n},l.y1=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:Lg(+e),l):i},l.lineX0=l.lineY0=function(){return c().x(e).y(n)},l.lineY1=function(){return c().x(e).y(i)},l.lineX1=function(){return c().x(t).y(n)},l.defined=function(e){return arguments.length?(o="function"==typeof e?e:Lg(!!e),l):o},l.curve=function(e){return arguments.length?(a=e,null!=r&&(s=a(r)),l):a},l.context=function(e){return arguments.length?(null==e?r=s=null:s=a(r=e),l):r},l}function sm(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function lm(e){return e}function cm(){var e=lm,t=sm,n=null,i=Lg(0),o=Lg(Ug),r=Lg(0);function a(a){var s,l,c,d,u,h=a.length,p=0,f=new Array(h),g=new Array(h),m=+i.apply(this,arguments),v=Math.min(Ug,Math.max(-Ug,o.apply(this,arguments)-m)),b=Math.min(Math.abs(v)/h,r.apply(this,arguments)),_=b*(v<0?-1:1);for(s=0;s<h;++s)(u=g[f[s]=s]=+e(a[s],s,a))>0&&(p+=u);for(null!=t?f.sort((function(e,n){return t(g[e],g[n])})):null!=n&&f.sort((function(e,t){return n(a[e],a[t])})),s=0,c=p?(v-h*_)/p:0;s<h;++s,m=d)l=f[s],d=m+((u=g[l])>0?u*c:0)+_,g[l]={data:a[l],index:s,value:u,startAngle:m,endAngle:d,padAngle:b};return g}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:Lg(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Lg(+e),a):i},a.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Lg(+e),a):o},a.padAngle=function(e){return arguments.length?(r="function"==typeof e?e:Lg(+e),a):r},a}tm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var dm=hm(nm);function um(e){this._curve=e}function hm(e){function t(t){return new um(e(t))}return t._curve=e,t}function pm(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(hm(e)):t()._curve},e}function fm(){return pm(rm().curve(dm))}function gm(){var e=am().curve(dm),t=e.curve,n=e.lineX0,i=e.lineX1,o=e.lineY0,r=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return pm(n())},delete e.lineX0,e.lineEndAngle=function(){return pm(i())},delete e.lineX1,e.lineInnerRadius=function(){return pm(o())},delete e.lineY0,e.lineOuterRadius=function(){return pm(r())},delete e.lineY1,e.curve=function(e){return arguments.length?t(hm(e)):t()._curve},e}function mm(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}um.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var vm=Array.prototype.slice;function bm(e){return e.source}function _m(e){return e.target}function ym(e){var t=bm,n=_m,i=im,o=om,r=null;function a(){var a,s=vm.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(r||(r=a=Tg()),e(r,+i.apply(this,(s[0]=l,s)),+o.apply(this,s),+i.apply(this,(s[0]=c,s)),+o.apply(this,s)),a)return r=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(i="function"==typeof e?e:Lg(+e),a):i},a.y=function(e){return arguments.length?(o="function"==typeof e?e:Lg(+e),a):o},a.context=function(e){return arguments.length?(r=null==e?null:e,a):r},a}function Am(e,t,n,i,o){e.moveTo(t,n),e.bezierCurveTo(t=(t+i)/2,n,t,o,i,o)}function wm(e,t,n,i,o){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+o)/2,i,n,i,o)}function Cm(e,t,n,i,o){var r=mm(t,n),a=mm(t,n=(n+o)/2),s=mm(i,n),l=mm(i,o);e.moveTo(r[0],r[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}function xm(){return ym(Am)}function Sm(){return ym(wm)}function Em(){var e=ym(Cm);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}const km={draw:function(e,t){var n=Math.sqrt(t/Wg);e.moveTo(n,0),e.arc(0,0,n,0,Ug)}},Mm={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}};var Dm=Math.sqrt(1/3),Nm=2*Dm;const Im={draw:function(e,t){var n=Math.sqrt(t/Nm),i=n*Dm;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}};var Tm=Math.sin(Wg/10)/Math.sin(7*Wg/10),Lm=Math.sin(Ug/10)*Tm,Bm=-Math.cos(Ug/10)*Tm;const Om={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),i=Lm*n,o=Bm*n;e.moveTo(0,-n),e.lineTo(i,o);for(var r=1;r<5;++r){var a=Ug*r/5,s=Math.cos(a),l=Math.sin(a);e.lineTo(l*n,-s*n),e.lineTo(s*i-l*o,l*i+s*o)}e.closePath()}},Pm={draw:function(e,t){var n=Math.sqrt(t),i=-n/2;e.rect(i,i,n,n)}};var Fm=Math.sqrt(3);const Rm={draw:function(e,t){var n=-Math.sqrt(t/(3*Fm));e.moveTo(0,2*n),e.lineTo(-Fm*n,-n),e.lineTo(Fm*n,-n),e.closePath()}};var jm=-.5,zm=Math.sqrt(3)/2,Vm=1/Math.sqrt(12),Wm=3*(Vm/2+1);const Hm={draw:function(e,t){var n=Math.sqrt(t/Wm),i=n/2,o=n*Vm,r=i,a=n*Vm+n,s=-r,l=a;e.moveTo(i,o),e.lineTo(r,a),e.lineTo(s,l),e.lineTo(jm*i-zm*o,zm*i+jm*o),e.lineTo(jm*r-zm*a,zm*r+jm*a),e.lineTo(jm*s-zm*l,zm*s+jm*l),e.lineTo(jm*i+zm*o,jm*o-zm*i),e.lineTo(jm*r+zm*a,jm*a-zm*r),e.lineTo(jm*s+zm*l,jm*l-zm*s),e.closePath()}};var Um=[km,Mm,Im,Pm,Om,Rm,Hm];function Qm(){var e=Lg(km),t=Lg(64),n=null;function i(){var i;if(n||(n=i=Tg()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return i.type=function(t){return arguments.length?(e="function"==typeof t?t:Lg(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:Lg(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i}function Gm(){}function Km(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Ym(e){this._context=e}function $m(e){return new Ym(e)}function Jm(e){this._context=e}function qm(e){return new Jm(e)}function Zm(e){this._context=e}function Xm(e){return new Zm(e)}function ev(e,t){this._basis=new Ym(e),this._beta=t}Ym.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Km(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Km(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Jm.prototype={areaStart:Gm,areaEnd:Gm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Km(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Zm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:Km(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ev.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var i,o=e[0],r=t[0],a=e[n]-o,s=t[n]-r,l=-1;++l<=n;)i=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+i*a),this._beta*t[l]+(1-this._beta)*(r+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const tv=function e(t){function n(e){return 1===t?new Ym(e):new ev(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function nv(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function iv(e,t){this._context=e,this._k=(1-t)/6}iv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:nv(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:nv(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const ov=function e(t){function n(e){return new iv(e,t)}return n.tension=function(t){return e(+t)},n}(0);function rv(e,t){this._context=e,this._k=(1-t)/6}rv.prototype={areaStart:Gm,areaEnd:Gm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:nv(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const av=function e(t){function n(e){return new rv(e,t)}return n.tension=function(t){return e(+t)},n}(0);function sv(e,t){this._context=e,this._k=(1-t)/6}sv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:nv(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const lv=function e(t){function n(e){return new sv(e,t)}return n.tension=function(t){return e(+t)},n}(0);function cv(e,t,n){var i=e._x1,o=e._y1,r=e._x2,a=e._y2;if(e._l01_a>Vg){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>Vg){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);r=(r*c+e._x1*e._l23_2a-t*e._l12_2a)/d,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/d}e._context.bezierCurveTo(i,o,r,a,e._x2,e._y2)}function dv(e,t){this._context=e,this._alpha=t}dv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,i=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:cv(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const uv=function e(t){function n(e){return t?new dv(e,t):new iv(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function hv(e,t){this._context=e,this._alpha=t}hv.prototype={areaStart:Gm,areaEnd:Gm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,i=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:cv(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const pv=function e(t){function n(e){return t?new hv(e,t):new rv(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function fv(e,t){this._context=e,this._alpha=t}fv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,i=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:cv(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const gv=function e(t){function n(e){return t?new fv(e,t):new sv(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function mv(e){this._context=e}function vv(e){return new mv(e)}function bv(e){return e<0?-1:1}function _v(e,t,n){var i=e._x1-e._x0,o=t-e._x1,r=(e._y1-e._y0)/(i||o<0&&-0),a=(n-e._y1)/(o||i<0&&-0),s=(r*o+a*i)/(i+o);return(bv(r)+bv(a))*Math.min(Math.abs(r),Math.abs(a),.5*Math.abs(s))||0}function yv(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Av(e,t,n){var i=e._x0,o=e._y0,r=e._x1,a=e._y1,s=(r-i)/3;e._context.bezierCurveTo(i+s,o+s*t,r-s,a-s*n,r,a)}function wv(e){this._context=e}function Cv(e){this._context=new xv(e)}function xv(e){this._context=e}function Sv(e){return new wv(e)}function Ev(e){return new Cv(e)}function kv(e){this._context=e}function Mv(e){var t,n,i=e.length-1,o=new Array(i),r=new Array(i),a=new Array(i);for(o[0]=0,r[0]=2,a[0]=e[0]+2*e[1],t=1;t<i-1;++t)o[t]=1,r[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[i-1]=2,r[i-1]=7,a[i-1]=8*e[i-1]+e[i],t=1;t<i;++t)n=o[t]/r[t-1],r[t]-=n,a[t]-=n*a[t-1];for(o[i-1]=a[i-1]/r[i-1],t=i-2;t>=0;--t)o[t]=(a[t]-o[t+1])/r[t];for(r[i-1]=(e[i]+o[i-1])/2,t=0;t<i-1;++t)r[t]=2*e[t+1]-o[t+1];return[o,r]}function Dv(e){return new kv(e)}function Nv(e,t){this._context=e,this._t=t}function Iv(e){return new Nv(e,.5)}function Tv(e){return new Nv(e,0)}function Lv(e){return new Nv(e,1)}function Bv(e,t){if((o=e.length)>1)for(var n,i,o,r=1,a=e[t[0]],s=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function Ov(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Pv(e,t){return e[t]}function Fv(){var e=Lg([]),t=Ov,n=Bv,i=Pv;function o(o){var r,a,s=e.apply(this,arguments),l=o.length,c=s.length,d=new Array(c);for(r=0;r<c;++r){for(var u,h=s[r],p=d[r]=new Array(l),f=0;f<l;++f)p[f]=u=[0,+i(o[f],h,f,o)],u.data=o[f];p.key=h}for(r=0,a=t(d);r<c;++r)d[a[r]].index=r;return n(d,a),d}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:Lg(vm.call(t)),o):e},o.value=function(e){return arguments.length?(i="function"==typeof e?e:Lg(+e),o):i},o.order=function(e){return arguments.length?(t=null==e?Ov:"function"==typeof e?e:Lg(vm.call(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?Bv:e,o):n},o}function Rv(e,t){if((i=e.length)>0){for(var n,i,o,r=0,a=e[0].length;r<a;++r){for(o=n=0;n<i;++n)o+=e[n][r][1]||0;if(o)for(n=0;n<i;++n)e[n][r][1]/=o}Bv(e,t)}}function jv(e,t){if((s=e.length)>0)for(var n,i,o,r,a,s,l=0,c=e[t[0]].length;l<c;++l)for(r=a=0,n=0;n<s;++n)(o=(i=e[t[n]][l])[1]-i[0])>0?(i[0]=r,i[1]=r+=o):o<0?(i[1]=a,i[0]=a+=o):(i[0]=0,i[1]=o)}function zv(e,t){if((n=e.length)>0){for(var n,i=0,o=e[t[0]],r=o.length;i<r;++i){for(var a=0,s=0;a<n;++a)s+=e[a][i][1]||0;o[i][1]+=o[i][0]=-s/2}Bv(e,t)}}function Vv(e,t){if((o=e.length)>0&&(i=(n=e[t[0]]).length)>0){for(var n,i,o,r=0,a=1;a<i;++a){for(var s=0,l=0,c=0;s<o;++s){for(var d=e[t[s]],u=d[a][1]||0,h=(u-(d[a-1][1]||0))/2,p=0;p<s;++p){var f=e[t[p]];h+=(f[a][1]||0)-(f[a-1][1]||0)}l+=u,c+=h*u}n[a-1][1]+=n[a-1][0]=r,l&&(r-=c/l)}n[a-1][1]+=n[a-1][0]=r,Bv(e,t)}}function Wv(e){var t=e.map(Hv);return Ov(e).sort((function(e,n){return t[e]-t[n]}))}function Hv(e){for(var t,n=-1,i=0,o=e.length,r=-1/0;++n<o;)(t=+e[n][1])>r&&(r=t,i=n);return i}function Uv(e){var t=e.map(Qv);return Ov(e).sort((function(e,n){return t[e]-t[n]}))}function Qv(e){for(var t,n=0,i=-1,o=e.length;++i<o;)(t=+e[i][1])&&(n+=t);return n}function Gv(e){return Uv(e).reverse()}function Kv(e){var t,n,i=e.length,o=e.map(Qv),r=Wv(e),a=0,s=0,l=[],c=[];for(t=0;t<i;++t)n=r[t],a<s?(a+=o[n],l.push(n)):(s+=o[n],c.push(n));return c.reverse().concat(l)}function Yv(e){return Ov(e).reverse()}function $v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Jv(e,t,n[t])}))}return e}function Jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}mv.prototype={areaStart:Gm,areaEnd:Gm,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},wv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Av(this,this._t0,yv(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Av(this,yv(this,n=_v(this,e,t)),n);break;default:Av(this,this._t0,n=_v(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Cv.prototype=Object.create(wv.prototype)).point=function(e,t){wv.prototype.point.call(this,t,e)},xv.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,i,o,r){this._context.bezierCurveTo(t,e,i,n,r,o)}},kv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var i=Mv(e),o=Mv(t),r=0,a=1;a<n;++r,++a)this._context.bezierCurveTo(i[0][r],o[0][r],i[1][r],o[1][r],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Nv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var qv=function(e){return null!=(void 0!==e._y1?e._y1:e._y)&&null!==e._y0},Zv=function(e){return function(t){return e.x(void 0!==t._x1?t._x1:t._x)}},Xv=function(e){return function(t){return e.y(void 0!==t._y1?t._y1:t._y)}},eb=function(e){return function(t){return e.y(t._y0)}},tb=function(e){return function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}},nb=function(e){return"curve".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))},ib=function(e){e=function(e){var t=Me(e.ariaLabel,e),n=Me(e.desc,e),i=Me(e.id,e),o=De(f()({fill:"black"},e.style),e),r=Me(e.tabIndex,e);return f()({},e,{ariaLabel:t,desc:n,id:i,style:o,tabIndex:r})}(e);var t=e,n=t.ariaLabel,i=t.role,o=t.shapeRendering,a=t.className,l=t.polar,c=t.origin,d=t.data,u=t.pathComponent,h=t.events,p=t.groupComponent,g=t.clipPath,m=t.id,v=t.style,b=t.desc,_=t.tabIndex,y=l&&c?"translate(".concat(c.x,", ").concat(c.y,")"):void 0,A=e.transform||y,w=v.stroke&&"none"!==v.stroke&&"transparent"!==v.stroke,C=function(e){var t=e.polar,n=e.scale,i="function"==typeof e.interpolation&&e.interpolation,o="string"==typeof e.interpolation&&nb(e.interpolation),a=i||o;return t?gm().defined(qv).curve(i||r["".concat(o,"Closed")]).angle(tb(n)).outerRadius(Xv(n)).innerRadius(eb(n)):function(e,t){var n=e.horizontal,i=e.scale,o="function"==typeof t&&t,a="string"==typeof t&&t;return n?am().defined(qv).curve(o||r[a]).x0(eb(i)).x1(Xv(i)).y(Zv(i)):am().defined(qv).curve(o||r[a]).x(Zv(i)).y1(Xv(i)).y0(eb(i))}(e,a)}(e),x=w&&function(e){var t=e.polar,n=e.scale,i=e.horizontal,o="function"==typeof e.interpolation&&e.interpolation,a="string"==typeof e.interpolation&&nb(e.interpolation);return t?fm().defined(qv).curve(o||r["".concat(a,"Closed")]).angle(tb(n)).radius(Xv(n)):rm().defined(qv).curve(o||r[a]).x(i?Xv(n):Zv(n)).y(i?Zv(n):Xv(n))}(e),S=v.stroke?"none":v.fill,E=$v({"aria-label":n,className:a,role:i,shapeRendering:o,transform:A},h,{clipPath:g,tabIndex:_}),k=s.cloneElement(u,f()({key:"".concat(m,"-area"),style:f()({},v,{stroke:S}),d:C(d),desc:b,tabIndex:_},E)),M=w?s.cloneElement(u,f()({key:"".concat(m,"-area-stroke"),style:f()({},v,{fill:"none"}),d:x(d)},E)):null;return w?s.cloneElement(p,{},[k,M]):k};ib.propTypes=$v({},Vs,{groupComponent:b().element,interpolation:b().oneOfType([b().string,b().func]),pathComponent:b().element}),ib.defaultProps={groupComponent:s.createElement("g",null),pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const ob=ib;var rb=function(e){return s.createElement("defs",null,s.createElement("clipPath",{id:e.clipId},e.children))};rb.propTypes={children:b().oneOfType([b().arrayOf(b().node),b().node]),clipId:b().oneOfType([b().number,b().string])};const ab=rb;function sb(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function lb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cb(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var db=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).clipId=G()(e)&&void 0!==e.clipId?e.clipId:qs()("victory-clip-"),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"calculateAttributes",value:function(e){var t=e.polar,n=e.origin,i=e.clipWidth,o=void 0===i?0:i,r=e.clipHeight,a=void 0===r?0:r,s=e.translateX,l=void 0===s?0:s,c=e.translateY,d=void 0===c?0:c,u=xe({padding:e.clipPadding}),h=e.radius||Te(e);return{x:(t?n.x:l)-u.left,y:(t?n.y:d)-u.top,width:Math.max((t?h:o)+u.left+u.right,0),height:Math.max((t?h:a)+u.top+u.bottom,0)}}},{key:"renderClippedGroup",value:function(e,t){var n=e.style,i=e.events,o=e.transform,r=e.children,a=e.className,l=e.groupComponent,c=e.tabIndex,d=this.renderClipComponent(e,t),u=f()({className:a,style:n,transform:o,key:"clipped-group-".concat(t),clipPath:"url(#".concat(t,")")},i);return s.cloneElement(l,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){lb(e,t,n[t])}))}return e}({},u,{"aria-label":e["aria-label"],tabIndex:c}),[d].concat(sb(s.Children.toArray(r))))}},{key:"renderGroup",value:function(e){var t=e.style,n=e.events,i=e.transform,o=e.children,r=e.className,a=e.groupComponent,l=e.tabIndex;return s.cloneElement(a,f()({className:r,style:t,transform:i,"aria-label":e["aria-label"],tabIndex:l},n),o)}},{key:"renderClipComponent",value:function(e,t){var n,i=e.polar,o=e.origin,r=e.clipWidth,a=void 0===r?0:r,l=e.clipHeight,c=void 0===l?0:l,d=e.translateX,u=void 0===d?0:d,h=e.translateY,p=void 0===h?0:h,g=e.circleComponent,m=e.rectComponent,v=e.clipPathComponent,b=xe({padding:e.clipPadding}),_=b.top,y=b.bottom,A=b.left,w=b.right;if(i){var C=e.radius||Te(e),x={r:Math.max(C+A+w,C+_+y,0),cx:o.x-A,cy:o.y-_};n=s.cloneElement(g,x)}else{var S={x:u-A,y:p-_,width:Math.max(a+A+w,0),height:Math.max(c+_+y,0)};n=s.cloneElement(m,S)}return s.cloneElement(v,f()({key:"clip-path-".concat(t)},e,{clipId:t}),n)}},{key:"getClipValue",value:function(e,t){var n={x:e.clipWidth,y:e.clipHeight};if(void 0!==n[t])return n[t];var i=Be(e,t);return i&&Math.abs(i[0]-i[1])||void 0}},{key:"getTranslateValue",value:function(e,t){var n={x:e.translateX,y:e.translateY};if(void 0!==n[t])return n[t];var i=Be(e,t);return i?Math.min.apply(Math,sb(i)):void 0}},{key:"render",value:function(){var e=this.getClipValue(this.props,"y"),t=this.getClipValue(this.props,"x");if(void 0===t||void 0===e)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),i=this.getTranslateValue(this.props,"y"),o=m()({},this.props,{clipHeight:e,clipWidth:t,translateX:n,translateY:i});return this.renderClippedGroup(o,this.clipId)}}],i&&cb(n.prototype,i),t}(s.Component);function ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pb(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function fb(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}Object.defineProperty(db,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryClipContainer"}),Object.defineProperty(db,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(db,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{"aria-label":b().string,children:b().oneOfType([b().arrayOf(b().node),b().node]),circleComponent:b().element,className:b().string,clipHeight:Ts,clipId:b().oneOfType([b().number,b().string]),clipPadding:b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number}),clipPathComponent:b().element,clipWidth:Ts,events:b().object,groupComponent:b().element,origin:b().shape({x:Ts,y:Ts}),polar:b().bool,radius:Ts,style:b().object,tabIndex:b().number,transform:b().string,translateX:b().number,translateY:b().number}}),Object.defineProperty(db,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{circleComponent:s.createElement(Qs,null),rectComponent:s.createElement(Hs,null),clipPathComponent:s.createElement(ab,null),groupComponent:s.createElement("g",null)}});var gb={width:450,height:300,padding:50,interpolation:"linear"},mb=function(e){function t(){return hb(this,t),fb(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,i=Pe(this.props,gb,n);if(this.shouldAnimate())return this.animateComponent(i,e);var o=this.renderContinuousData(i);return i.standalone?this.renderContainer(i.containerComponent,o):o}}])&&pb(n.prototype,i),t}(s.Component);Object.defineProperty(mb,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","style","width"]}),Object.defineProperty(mb,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){ub(e,t,n[t])}))}return e}({},zs,js,{interpolation:b().oneOfType([b().oneOf(["basis","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),b().func]),label:Ns(b().string,"Use `labels` instead for individual data labels")})}),Object.defineProperty(mb,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:s.createElement(Ml,null),dataComponent:s.createElement(ob,null),groupComponent:s.createElement(db,null),labelComponent:s.createElement(Qc,{renderInPortal:!0}),samples:50,sortKey:"x",sortOrder:"ascending",standalone:!0,theme:Gl.grayscale}}),Object.defineProperty(mb,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryArea"}),Object.defineProperty(mb,"role",{configurable:!0,enumerable:!0,writable:!0,value:"area"}),Object.defineProperty(mb,"continuous",{configurable:!0,enumerable:!0,writable:!0,value:!0}),Object.defineProperty(mb,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(mb,"defaultPolarTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(e,t,n){var i=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:i("_x"),_y:i("_y"),_y0:i("_y0")}}},onEnter:{duration:500,before:function(e,t,n){var i=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:i("_x"),_y:i("_y"),_y0:i("_y0")}},after:function(e){return{_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0}}}}}),Object.defineProperty(mb,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:Ea}),Object.defineProperty(mb,"getData",{configurable:!0,enumerable:!0,writable:!0,value:fa}),Object.defineProperty(mb,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return function(e,t){var n=Pe(e,t,"area"),i=e=f()({},n,function(e){var t=e.polar,n=Ee(e,"area"),i=ke(e.style,n),o={x:Be(e,"x"),y:Be(e,"y")},r={x:Ea(e,"x"),y:Ea(e,"y")},a={x:Xr(e,"x").domain(r.x).range(e.horizontal?o.y:o.x),y:Xr(e,"y").domain(r.y).range(e.horizontal?o.x:o.y)},s=t?e.origin||Le(e):void 0,l=function(e,t){var n=fa(e);n.length<2&&(n=[]);var i=function(e){var n="log"===na(t[e])?1/Number.MAX_SAFE_INTEGER:0,i=t[e].domain(),o=ne(i),r=te(i),a=n;return o<0&&r<=0?a=r:o>=0&&r>0&&(a=o),Z(i)?new Date(a):a};return n.map((function(e){var t=void 0!==e._y1?e._y1:e._y,n=void 0!==e._y0?e._y0:i("y"),o=void 0!==e._x1?e._x1:e._x,r=void 0!==e._x0?e._x0:i("x");return f()({},e,{_y0:n,_y1:t,_x0:r,_x1:o})}))}(e,a);return{style:i,data:l,scale:a,domain:r,origin:s}}(n)),o=i.data,r=i.domain,a=i.events,s=i.groupComponent,l=i.height,c=i.horizontal,d=i.interpolation,u=i.origin,h=i.padding,p=i.polar,g=i.scale,m=i.sharedEvents,v=i.standalone,b=i.style,_=i.theme,y=i.width,A=i.labels,w=i.name,C=i.disableInlineStyles,x={parent:{style:b.parent,width:y,height:l,scale:g,data:o,domain:r,standalone:v,theme:_,polar:p,origin:u,padding:h,name:w,horizontal:c},all:{data:{horizontal:c,polar:p,origin:u,scale:g,data:o,interpolation:d,groupComponent:s,style:C?{}:b.data,disableInlineStyles:C}}};return o.reduce((function(t,n,i){return(null!=Sc(e,n,i)||A&&(a||m))&&(t[Kc()(n.eventKey)?i:n.eventKey]={labels:Nc(e,i)}),t}),x)}(e,gb)}}),Object.defineProperty(mb,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]});const vb=Ud(mb,{components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]});var bb;!function(e){e.ascending="ascending",e.descending="descending"}(bb||(bb={}));const _b=e=>{var{containerComponent:t=s.createElement(uf,null),themeColor:n,themeVariant:i,theme:o=lf(n,i)}=e,r=(0,a.__rest)(e,["containerComponent","themeColor","themeVariant","theme"]);const l=s.cloneElement(t,Object.assign({theme:o},t.props));return s.createElement(vb,Object.assign({containerComponent:l,theme:o},r))};_b.displayName="ChartArea",c()(_b,vb);const yb=e=>{var{containerComponent:t=s.createElement(uf,null),showGrid:n=!1,themeColor:i,themeVariant:o,theme:r=lf(i,o)}=e,l=(0,a.__rest)(e,["containerComponent","showGrid","themeColor","themeVariant","theme"]);const c=s.cloneElement(t,Object.assign({theme:r},t.props));return s.createElement(hu,Object.assign({containerComponent:c,theme:n?Qp(i,o):r},l))};yb.displayName="ChartAxis",c()(yb,hu);var Ab=function(e,t){return{x:e,y:t,distance:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},add:function(e){return Ab(this.x+e.x,this.y+e.y)},subtract:function(e){return Ab(this.x-e.x,this.y-e.y)},scalarMult:function(e){return Ab(this.x*e,this.y*e)},scalarDivide:function(e){if(0===e)throw new Error("Division by 0 error");return Ab(this.x/e,this.y/e)},equals:function(e){return this.x===e.x&&this.y===e.y}}},wb=function(e,t){return{center:e,radius:t,hasIntersection:function(e){var t=this.center,n=e.center,i=this.radius,o=e.radius,r=t.distance(n);return!(r>i+o||r<Math.abs(i-o))},equals:function(e){var t=this.center,n=e.center;return this.radius===e.radius&&t.equals(n)},intersection:function(e){var t=this.center,n=e.center,i=this.radius,o=e.radius,r=t.distance(n);if(!this.hasIntersection(e)||this.equals(e))return[];var a=(Math.pow(i,2)-Math.pow(o,2)+Math.pow(r,2))/(2*r),s=Math.sqrt(Math.pow(i,2)-Math.pow(a,2)),l=t.add(n.subtract(t).scalarMult(a).scalarDivide(r)),c=t.x,d=t.y,u=n.x,h=n.y,p=l.x,f=l.y,g=[Ab(p-s*(h-d)/r,f+s*(u-c)/r),Ab(p+s*(h-d)/r,f-s*(u-c)/r)];return g.sort((function(e,t){return e.x-t.x})),g},solveX:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.y,2));return[this.center.x-t,this.center.x+t]},solveY:function(e){var t=Math.sqrt(Math.pow(this.radius,2)-Math.pow(e-this.center.x,2));return[this.center.y-t,this.center.y+t]}}};function Cb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xb(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Sb=function(e,t){var n=e.x,i=e.x0,o=e.y,r=e.y0,a=e.horizontal,s=e.alignment||"middle",l="middle"===s?t/2:t,c=a?-1:1;return a?{x0:i,x1:n,y0:"start"===s?o:o-c*l,y1:"end"===s?o:o+c*l}:{x0:"start"===s?n:n-c*l,x1:"end"===s?n:n+c*l,y0:r,y1:o}},Eb=function(e,t){var n=e.data,i=e.scale,o=void 0===n[t]._x1?"_x":"_x1";return i.x(n[t][o])},kb=function(e){return-1*e+Math.PI/2},Mb=function(e,t,n){var i="".concat(t.topLeft," ").concat(t.topLeft," ").concat(n),o="".concat(t.topRight," ").concat(t.topRight," ").concat(n),r="".concat(t.bottomLeft," ").concat(t.bottomLeft," ").concat(n),a="".concat(t.bottomRight," ").concat(t.bottomRight," ").concat(n),s=["M","A ".concat(r,","),"L","A ".concat(i,","),"L","A ".concat(o,","),"L","A ".concat(a,",")].reduce((function(t,n,i){return t+"".concat(n," ").concat(e[i].x,", ").concat(e[i].y," \n")}),"");return"".concat(s," z")};function Db(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Nb(e,t,n[t])}))}return e}function Nb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ib=function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.disableInlineStyles)return{};var n={fill:"black",stroke:e.fill||"black"};return De(f()(n,e),t)}(e.style,e),n=function(e,t){var n=t.scale,i=t.data,o=t.defaultBarWidth,r=t.style;if(e)return Me(e,t);if(r.width)return r.width;var a=n.x.range(),s=Math.abs(a[1]-a[0]),l=i.length+2,c=(t.barRatio||.5)*(i.length<2?o:s/l);return Math.max(1,c)}(e.barWidth,f()({},e,{style:t})),i=function(e,t){var n={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0};return e?y()(e)?function(e,t){var n={topLeft:0,topRight:0,bottomLeft:0,bottomRight:0},i=function(i,o){Kc()(e[i])?Kc()(e[o])||(n[i]=Me(e[o],t)):n[i]=Me(e[i],t)};return i("topLeft","top"),i("topRight","top"),i("bottomLeft","bottom"),i("bottomRight","bottom"),n}(e,t):(n.topLeft=Me(e,t),n.topRight=Me(e,t),n):n}(e.cornerRadius,f()({},e,{style:t,barWidth:n})),o=Me(e.ariaLabel,e),r=Me(e.desc,e),a=Me(e.id,e),s=Me(e.tabIndex,e);return f()({},e,{ariaLabel:o,style:t,barWidth:n,cornerRadius:i,desc:r,id:a,tabIndex:s})},Tb=function(e){var t=e=Ib(e),n=t.polar,i=t.origin,o=t.style,r=t.barWidth,a=t.cornerRadius,l=n?function(e,t){return function(e,t){var n,i,o=e.datum,r=e.scale,a=e.index,s=e.alignment,l=e.style,c=r.y(o._y0||0),d=r.y(void 0!==o._y1?o._y1:o._y),u=r.x(void 0!==o._x1?o._x1:o._x);if(l.width){var h=function(e,t){var n=e.scale,i=n.y.range(),o=Math.max.apply(Math,xb(i)),r=Math.abs(n.x.range()[1]-n.x.range()[0]);return t/(2*Math.PI*o)*r}(e,l.width),p="middle"===s?h/2:h;n="start"===s?u:u-p,i="end"===s?u:u+p}else n=function(e,t){var n=e.data,i=e.scale,o=e.alignment,r=Eb(e,t),a=Math.abs(i.x.range()[1]-i.x.range()[0]),s=0===t?Eb(e,n.length-1)-2*Math.PI:Eb(e,t-1);return 0===t&&a<2*Math.PI?i.x.range()[0]:"start"===o||"end"===o?"start"===o?s:r:(r+s)/2}(e,a),i=function(e,t){var n=e.data,i=e.scale,o=e.alignment,r=Eb(e,t),a=Math.abs(i.x.range()[1]-i.x.range()[0]),s=i.x.range()[1]===2*Math.PI?Eb(e,0)+2*Math.PI:i.x.range()[1],l=t===n.length-1?Eb(e,0)+2*Math.PI:Eb(e,t+1);return t===n.length-1&&a<2*Math.PI?s:"start"===o||"end"===o?"start"===o?r:l:(r+l)/2}(e,a);var f=function(e){return em().innerRadius(c).outerRadius(d).startAngle(kb(n)).endAngle(kb(i)).cornerRadius(t[e])()},g=function(e){var t=f("".concat(e,"Right")),n=t.match(/[A-Z]/g),i=t.split(/[A-Z]/).slice(1),o=n.indexOf("L"),r=f("".concat(e,"Left")),a=r.match(/[A-Z]/g),s=r.split(/[A-Z]/).slice(1),l=a.indexOf("L");return{rightMoves:n,rightCoords:i,rightMiddle:o,leftMoves:a,leftCoords:s,leftMiddle:l}},m=function(){var e,o,r=t.topRight,a=t.topLeft,s=d*Math.abs(i-n),l=g("top"),c=l.rightMoves,u=l.rightCoords,h=l.rightMiddle,p=l.leftMoves,f=l.leftCoords,m=l.leftMiddle;if(r===a||s<2*r+2*a)e=r>a?c:p,o=r>a?u:f;else{var v,b=function(e){return e<3},_=a>r&&b(h)?1:2;if(r>a){var y=b(h)?m:m-2;v=b(m)?m-1:y}else{var A=b(m)?1:2;v=b(h)?A:m-2}e=xb(c.slice(0,_)).concat(xb(p.slice(v))),o=xb(u.slice(0,_)).concat(xb(f.slice(v)))}var w=e.indexOf("L"),C=e.slice(0,w),x=o.slice(0,w);return C.map((function(e,t){return{command:e,coords:x[t].split(",")}}))}(),v=function(){var e,o,r=t.bottomRight,a=t.bottomLeft,s=c*Math.abs(i-n),l=g("bottom"),d=l.rightMoves,u=l.rightCoords,h=l.rightMiddle,p=l.leftMoves,f=l.leftCoords,m=l.leftMiddle;if(r===a||s<2*r+2*a)e=r>a?d:p,o=r>a?u:f;else{var v=function(e,t){return e.length-t<4},b=(r>a?v(d,h):v(p,m))?-1:-3;e=xb(p.slice(0,m+2)).concat(xb(d.slice(b))),o=xb(f.slice(0,m+2)).concat(xb(u.slice(b)))}var _=e.indexOf("L"),y=e.slice(_,-1),A=o.slice(_,-1);return y.map((function(e,t){return{command:e,coords:A[t].split(",")}}))}(),b=xb(m).concat(xb(v)).reduce((function(e,t){return e+"".concat(t.command," ").concat(t.coords.join())}),"");return"".concat(b," z")}(e,t)}(e,a):function(e,t,n){return e.getPath?function(e,t){var n=e.getPath,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Cb(e,t,n[t])}))}return e}({},e,Sb(e,t));return n(i)}(e,t):e.horizontal?function(e,t,n){var i=Sb(e,t),o=i.x0<i.x1?1:-1,r={topRight:o>0?n.topLeft:n.bottomLeft,bottomRight:o>0?n.topRight:n.bottomRight,bottomLeft:o>0?n.bottomRight:n.topRight,topLeft:o>0?n.bottomLeft:n.topLeft},a=function(e,t,n){var i=e.y0,o=e.y1,r=e.x0<e.x1?e.x0:e.x1,a=e.x0<e.x1?e.x1:e.x0,s=function(e){var s="top"===e,l=s?-1:1,c=s?o:i,d={x:r,y:c-l*n["".concat(e,"Left")]},u={x:r+n["".concat(e,"Left")],y:c},h={x:a-n["".concat(e,"Right")],y:c},p={x:a,y:c-l*n["".concat(e,"Right")]};if(u.x>h.x){var f=Ab(r+n["".concat(e,"Left")],c-l*n["".concat(e,"Left")]),g=wb(f,n["".concat(e,"Left")]),m=Ab(a-n["".concat(e,"Right")],c-l*n["".concat(e,"Right")]),v=wb(m,n["".concat(e,"Right")]),b=g.intersection(v);if(b.length>0){var _=b[t>0?1:0];u={x:_.x,y:_.y},h={x:_.x,y:_.y}}else if(n["".concat(e,"Right")]>n["".concat(e,"Left")]){var y=v.solveY(r)[s?0:1];d={x:r,y},u={x:r,y},h={x:r,y}}else{var A=g.solveY(a)[s?0:1];p={x:a,y:A},h={x:a,y:A},u={x:a,y:A}}}return[d,u,h,p]},l=s("top"),c=s("bottom");return[c[1],c[0]].concat(xb(l),[c[3],c[2]])}(i,o,r);return Mb(a,r,"0 0 1")}(e,t,n):function(e,t,n){var i=Sb(e,t),o=i.y0>i.y1?1:-1,r=o>0?"0 0 1":"0 0 0",a=function(e,t,n){var i=e.x0,o=e.x1,r=e.y0,a=e.y1,s=function(e){var s="Left"===e,l=s?1:-1,c=s?i:o,d={x:c+l*n["bottom".concat(e)],y:r},u={x:c,y:r-t*n["bottom".concat(e)]},h={x:c,y:a+t*n["top".concat(e)]},p={x:c+l*n["top".concat(e)],y:a};if(1===t?r-n["bottom".concat(e)]<a+n["top".concat(e)]:r+n["bottom".concat(e)]>a-n["top".concat(e)]){var f=Ab(c+l*n["top".concat(e)],a+t*n["top".concat(e)]),g=wb(f,n["top".concat(e)]),m=Ab(c+l*n["bottom".concat(e)],r-t*n["bottom".concat(e)]),v=wb(m,n["bottom".concat(e)]),b=g.intersection(v);if(b.length>0){var _=b[s?0:1];u={x:_.x,y:_.y},h={x:_.x,y:_.y}}else if(n["top".concat(e)]>n["bottom".concat(e)]){var y=g.solveX(r)[s?0:1];d={x:y,y:r},u={x:y,y:r},h={x:y,y:r}}else{var A=v.solveX(a)[s?0:1];u={x:A,y:a},h={x:A,y:a},p={x:A,y:a}}}var w=[d,u,h,p];return s?w:w.reverse()};return s("Left").concat(s("Right"))}(i,o,n);return Mb(a,n,r)}(e,t,n)}(e,r,a),c=n&&i?"translate(".concat(i.x,", ").concat(i.y,")"):void 0;return s.cloneElement(e.pathComponent,Db({},e.events,{"aria-label":e.ariaLabel,style:o,d:l,className:e.className,clipPath:e.clipPath,desc:e.desc,index:e.index,role:e.role,shapeRendering:e.shapeRendering,transform:e.transform||c,tabIndex:e.tabIndex}))};Tb.propTypes=Db({},Vs,{alignment:b().oneOf(["start","middle","end"]),barRatio:b().number,barWidth:b().oneOfType([b().number,b().func]),cornerRadius:b().oneOfType([b().number,b().func,b().shape({top:b().oneOfType([b().number,b().func]),topLeft:b().oneOfType([b().number,b().func]),topRight:b().oneOfType([b().number,b().func]),bottom:b().oneOfType([b().number,b().func]),bottomLeft:b().oneOfType([b().number,b().func]),bottomRight:b().oneOfType([b().number,b().func])})]),datum:b().object,getPath:b().func,horizontal:b().bool,pathComponent:b().element,width:b().number,x:b().number,y:b().number,y0:b().number}),Tb.defaultProps={defaultBarWidth:8,pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const Lb=Tb;function Bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ob(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Fb(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Rb={width:450,height:300,padding:50},jb=function(e){function t(){return Ob(this,t),Fb(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,i=Pe(this.props,Rb,n);if(this.shouldAnimate())return this.animateComponent(i,e);var o=this.renderData(i);return i.standalone?this.renderContainer(i.containerComponent,o):o}}])&&Pb(n.prototype,i),t}(s.Component);Object.defineProperty(jb,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","style","width"]}),Object.defineProperty(jb,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBar"}),Object.defineProperty(jb,"role",{configurable:!0,enumerable:!0,writable:!0,value:"bar"}),Object.defineProperty(jb,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}}}}),Object.defineProperty(jb,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Bb(e,t,n[t])}))}return e}({},zs,js,{alignment:b().oneOf(["start","middle","end"]),barRatio:b().number,barWidth:b().oneOfType([b().number,b().func]),cornerRadius:b().oneOfType([b().number,b().func,b().shape({top:b().oneOfType([b().number,b().func]),topLeft:b().oneOfType([b().number,b().func]),topRight:b().oneOfType([b().number,b().func]),bottom:b().oneOfType([b().number,b().func]),bottomLeft:b().oneOfType([b().number,b().func]),bottomRight:b().oneOfType([b().number,b().func])})]),getPath:b().func,horizontal:b().bool})}),Object.defineProperty(jb,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:s.createElement(Ml,null),data:[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],dataComponent:s.createElement(Lb,null),groupComponent:s.createElement("g",{role:"presentation"}),labelComponent:s.createElement(Qc,null),samples:50,sortOrder:"ascending",standalone:!0,theme:Gl.grayscale}}),Object.defineProperty(jb,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:Ea}),Object.defineProperty(jb,"getData",{configurable:!0,enumerable:!0,writable:!0,value:fa}),Object.defineProperty(jb,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return function(e,t){var n=Pe(e,t,"bar");e=f()({},n,function(e){var t=e.polar,n=Ee(e,"bar"),i=e.disableInlineStyles?{}:ke(e.style,n),o=e.range||{x:Be(e,"x"),y:Be(e,"y")},r={x:Ea(e,"x"),y:Ea(e,"y")},a={x:Xr(e,"x").domain(r.x).range(e.horizontal?o.y:o.x),y:Xr(e,"y").domain(r.y).range(e.horizontal?o.x:o.y)},s=t?e.origin||Le(e):void 0,l=fa(e);return{style:i,data:l=da(l,r,0),scale:a,domain:r,origin:s}}(n));var i=e,o=i.alignment,r=i.barRatio,a=i.cornerRadius,s=i.data,l=i.disableInlineStyles,c=i.domain,d=i.events,u=i.height,h=i.horizontal,p=i.origin,g=i.padding,m=i.polar,v=i.scale,b=i.sharedEvents,_=i.standalone,y=i.style,A=i.theme,w=i.width,C=i.labels,x=i.name,S=i.barWidth,E=i.getPath,k={parent:{horizontal:h,domain:c,scale:v,width:w,height:u,data:s,standalone:_,name:x,theme:A,polar:m,origin:p,padding:g,style:y.parent}};return s.reduce((function(t,n,i){var c=Kc()(n.eventKey)?i:n.eventKey,g=function(e,t){var n=function(n){var i="log"===na(e.scale[n])?1/Number.MAX_SAFE_INTEGER:0,o=ne(e.domain[n]),r=te(e.domain[n]);return o<0&&r<=0?i=r:o>=0&&r>0&&(i=o),t["_".concat(n)]instanceof Date?new Date(i):i},i=void 0!==t._y0?t._y0:n("y"),o=void 0!==t._x0?t._x0:n("x");return Ce(e,f()({},t,{_y0:i,_x0:o}))}(e,n),_=g.x,A=g.y,x=g.y0,k=g.x0,M={alignment:o,barRatio:r,barWidth:S,cornerRadius:a,data:s,datum:n,disableInlineStyles:l,getPath:E,horizontal:h,index:i,polar:m,origin:p,scale:v,style:y.data,width:w,height:u,x:_,y:A,y0:x,x0:k};return t[c]={data:M},(null!=Sc(e,n,i)||C&&(d||b))&&(t[c].labels=Nc(e,i)),t}),k)}(e,Rb)}}),Object.defineProperty(jb,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]});const zb=Ud(jb),Vb=e=>{var{containerComponent:t=s.createElement(uf,null),themeColor:n,themeVariant:i,theme:o=lf(n,i)}=e,r=(0,a.__rest)(e,["containerComponent","themeColor","themeVariant","theme"]);const l=s.cloneElement(t,Object.assign({theme:o},t.props));return s.createElement(zb,Object.assign({containerComponent:l,theme:o},r))};Vb.displayName="ChartBar",c()(Vb,zb);const Wb=({defaultSize:e,height:t,horizontal:n=!0,scale:i=1,value:o,width:r})=>n&&t>e?o+(t-e)*i:n?o-(e-t)*i:r>e?o+(r-e)*i:o-(e-r)*i,Hb=e=>Math.max(Wb(e),0),Ub=({height:e,horizontal:t,themeColor:n,themeVariant:i,width:o,theme:r=Kp(n,i)})=>Hb({defaultSize:r.bar.height,height:e,horizontal:t,value:Qf.comparativeMeasureErrorWidth,width:o}),Qb=({height:e,horizontal:t,themeColor:n,themeVariant:i,width:o,theme:r=Yp(n,i)})=>Hb({defaultSize:r.bar.height,height:e,horizontal:t,value:Qf.comparativeMeasureWidth,width:o}),Gb=({height:e,horizontal:t,themeColor:n,themeVariant:i,width:o,theme:r=$p(n,i)})=>Hb({defaultSize:r.bar.height,height:e,horizontal:t,value:Qf.comparativeMeasureWarningWidth,width:o}),Kb=({height:e,horizontal:t,themeColor:n,themeVariant:i,width:o,theme:r=qp(n,i)})=>(e=>{var{value:t}=e,n=(0,a.__rest)(e,["value"]);return Math.round(Wb(Object.assign({scale:1/t,value:t},n)))})({defaultSize:r.group.height,height:e,horizontal:t,value:Qf.primaryDotMeasureSize,width:o}),Yb=({height:e,horizontal:t,themeColor:n,themeVariant:i,width:o,theme:r=Xp(n,i)})=>Hb({defaultSize:r.group.height,height:e,horizontal:t,scale:.3,value:Qf.primarySegmentedMeasureWidth,width:o}),$b=({height:e,horizontal:t,themeColor:n,themeVariant:i,width:o,theme:r=ef(n,i)})=>Hb({defaultSize:r.group.height,height:e,horizontal:t,value:Qf.qualitativeRangeWidth,width:o}),Jb=({data:e,maxDomain:t,minDomain:n,x:i,y:o})=>{let r=0,a=0,s=!0,l=!0;void 0!==n&&void 0!==n.x?(r=n.x,s=!1):void 0!==n&&void 0===n.y&&(r=n,s=!1),void 0!==t&&void 0!==t.x?(a=t.x,l=!1):void 0!==t&&void 0===t.y&&(a=t,l=!1);let c=0,d=0,u=!0,h=!0;return void 0!==n&&void 0!==n.y?(c=n.y,u=!1):void 0!==n&&void 0===n.x&&(c=n,u=!1),void 0!==t&&void 0!==t.y?(d=t.y,h=!1):void 0!==t&&void 0===t.x&&(d=t,h=!1),ha(e,{x:i,y:o},["x","y"]).forEach((e=>{s&&e._x<r&&(r=e._x),l&&e._x>a&&(a=e._x),u&&e._y<c&&(c=e._y),h&&e._y>d&&(d=e._y)})),{x:[r,a],y:[c,d]}},qb=({maxDomain:e,minDomain:t,sources:n})=>{const i=[];n.forEach((n=>{const{data:o=n.data}=n.component?n.component.props:void 0,r=Jb({data:o,maxDomain:e,minDomain:t,x:n.component?n.component.props.x:void 0,y:n.component?n.component.props.y:void 0});i.push(r)}));const o=[],r=[];return i.forEach((e=>{o.push(...e.x),r.push(...e.y)})),{x:[Math.min(...o),Math.max(...o)],y:[Math.min(...r),Math.max(...r)]}},Zb=({comparativeErrorMeasureComponent:e,comparativeErrorMeasureData:t,comparativeWarningMeasureComponent:n,comparativeWarningMeasureData:i,primaryDotMeasureComponent:o,primaryDotMeasureData:r,primarySegmentedMeasureComponent:a,primarySegmentedMeasureData:s,maxDomain:l,minDomain:c,qualitativeRangeComponent:d,qualitativeRangeData:u})=>{const h=qb({maxDomain:l,minDomain:c,sources:[{component:e,data:t},{component:n,data:i},{component:o,data:r},{component:a,data:s},{component:d,data:u}]});return h.x=[0,2],h},Xb=({data:e,themeColor:t,themeVariant:n,theme:i=Yp(t,n),y:o})=>{const r=[];return ha(e,{y:o},["y"]).forEach(((e,t)=>{r.push(Object.assign(Object.assign({},e),{_index:t}))})),r.map((e=>Object.assign(Object.assign({},e),{x:1,_x:1,y0:e._y,_y0:e._y,_color:i.bar.style.data.fill})))},e_=({data:e,invert:t,themeColor:n,themeVariant:i,theme:o=qp(n,i),y:r,y0:a})=>Xb({data:e,invert:t,theme:o,themeColor:n,themeVariant:i,y:r,y0:a}),t_=({data:e,invert:t,themeColor:n,themeVariant:i,theme:o=Xp(n,i),negativeMeasureTheme:r=Zp(n,i),y:a,y0:s})=>{const l=[],c=[];ha(e,{y:a,y0:s},["y","y0"]).forEach(((e,t)=>{e._y<0?l.push(Object.assign(Object.assign({},e),{_index:t})):c.push(Object.assign(Object.assign({},e),{_index:t}))}));const d=l.sort(((e,t)=>t._y-e._y)).map(((e,n)=>Object.assign(Object.assign({},e),{x:1,_x:1,_color:t?o.group.colorScale[n%o.group.colorScale.length]:r.group.colorScale[n%o.group.colorScale.length]}))).reverse(),u=c.sort(((e,t)=>e._y-t._y)).map(((e,n)=>Object.assign(Object.assign({},e),{x:1,_x:1,_color:t?r.group.colorScale[n%o.group.colorScale.length]:o.group.colorScale[n%o.group.colorScale.length]}))).reverse();return[...d,...u]},n_=({data:e,invert:t,themeColor:n,themeVariant:i,theme:o=ef(n,i),y:r,y0:a})=>{const s=[];ha(e,{y:r,y0:a},["y","y0"]).forEach(((e,t)=>{s.push(Object.assign(Object.assign({},e),{_index:t}))}));const l=s.sort(((e,n)=>t?n._y-e._y:e._y-n._y)).map(((e,t)=>Object.assign(Object.assign({},e),{x:1,_x:1,_color:o.group.colorScale[t%o.group.colorScale.length]}))).reverse();return l},i_=(e,t)=>{const n=[];return t.forEach(((t,i)=>{for(const t of e)i===t._index&&n.push(t._color)})),n},o_=({comparativeErrorMeasureData:e,comparativeErrorMeasureLegendData:t,comparativeWarningMeasureData:n,comparativeWarningMeasureLegendData:i,invert:o,primaryDotMeasureData:r,primaryDotMeasureLegendData:a,primarySegmentedMeasureData:s,primarySegmentedMeasureLegendData:l,qualitativeRangeData:c,qualitativeRangeLegendData:d,themeColor:u,themeVariant:h})=>{const p=(({comparativeErrorMeasureData:e,comparativeErrorMeasureLegendData:t,comparativeWarningMeasureData:n,comparativeWarningMeasureLegendData:i,invert:o,primaryDotMeasureData:r,primaryDotMeasureLegendData:a,primarySegmentedMeasureData:s,primarySegmentedMeasureLegendData:l,qualitativeRangeData:c,qualitativeRangeLegendData:d,themeColor:u,themeVariant:h})=>{const p=[];if(a&&a.length){const e=e_({data:r,invert:o});p.push(...i_(e,a))}if(l&&l.length){const e=t_({data:s,invert:o,themeColor:u,themeVariant:h});p.push(...i_(e,l))}if(i&&i.length){const e=(({data:e,themeColor:t,themeVariant:n,theme:i=$p(t,n),y:o})=>Xb({data:e,theme:i,themeColor:t,themeVariant:n,y:o}))({data:n,invert:o,themeColor:u,themeVariant:h});p.push(...i_(e,i))}if(t&&t.length){const n=(({data:e,themeColor:t,themeVariant:n,theme:i=Kp(t,n),y:o})=>Xb({data:e,theme:i,themeColor:t,themeVariant:n,y:o}))({data:e,invert:o,themeColor:u,themeVariant:h});p.push(...i_(n,t))}if(d&&d.length){const e=n_({data:c,invert:o});p.push(...i_(e,d))}return p})({comparativeErrorMeasureData:e,comparativeErrorMeasureLegendData:t,comparativeWarningMeasureData:n,comparativeWarningMeasureLegendData:i,invert:o,primaryDotMeasureData:r,primaryDotMeasureLegendData:a,primarySegmentedMeasureData:s,primarySegmentedMeasureLegendData:l,qualitativeRangeData:c,qualitativeRangeLegendData:d,themeColor:u,themeVariant:h}),f=Gp(u,h);return f.legend.colorScale=[...p],f};function r_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){a_(e,t,n[t])}))}return e}function a_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s_=function(e){var t=e.orientation||"top";return"left"===t||"right"===t?function(e){var t=e.pointerWidth,n=e.cornerRadius,i=e.orientation,o=e.width,r=e.height,a=e.center,s="left"===i?1:-1,l=e.x+(e.dx||0),c=e.y+(e.dy||0),d=y()(a)&&a.x,u=y()(a)&&a.y,h=d-s*(o/2),p=d+s*(o/2),f=u+r/2,g=u-r/2,m=s*(l-h)>0?0:e.pointerLength,v="left"===i?"0 0 0":"0 0 1",b="".concat(n," ").concat(n," ").concat(v);return"M ".concat(h,", ").concat(u-t/2,"\n L ").concat(m?l:h,", ").concat(m?c:u+t/2,"\n L ").concat(h,", ").concat(u+t/2,"\n L ").concat(h,", ").concat(f-n,"\n A ").concat(b," ").concat(h+s*n,", ").concat(f,"\n L ").concat(p-s*n,", ").concat(f,"\n A ").concat(b," ").concat(p,", ").concat(f-n,"\n L ").concat(p,", ").concat(g+n,"\n A ").concat(b," ").concat(p-s*n,", ").concat(g,"\n L ").concat(h+s*n,", ").concat(g,"\n A ").concat(b," ").concat(h,", ").concat(g+n,"\n z")}(e):function(e){var t=e.pointerWidth,n=e.cornerRadius,i=e.orientation,o=e.width,r=e.height,a=e.center,s="bottom"===i?1:-1,l=e.x+(e.dx||0),c=e.y+(e.dy||0),d=y()(a)&&a.x,u=y()(a)&&a.y,h=u+s*(r/2),p=u-s*(r/2),f=d+o/2,g=d-o/2,m=s*(c-h)<0?0:e.pointerLength,v="bottom"===i?"0 0 0":"0 0 1",b="".concat(n," ").concat(n," ").concat(v);return"M ".concat(d-t/2,", ").concat(h,"\n L ").concat(m?l:d+t/2,", ").concat(m?c:h,"\n L ").concat(d+t/2,", ").concat(h,"\n L ").concat(f-n,", ").concat(h,"\n A ").concat(b," ").concat(f,", ").concat(h-s*n,"\n L ").concat(f,", ").concat(p+s*n,"\n A ").concat(b," ").concat(f-n,", ").concat(p,"\n L ").concat(g+n,", ").concat(p,"\n A ").concat(b," ").concat(g,", ").concat(p+s*n,"\n L ").concat(g,", ").concat(h-s*n,"\n A ").concat(b," ").concat(g+n,", ").concat(h,"\n z")}(e)},l_=function(e){return e=function(e){var t=Me(e.id,e),n=De(e.style,e);return f()({},e,{id:t,style:n})}(e),s.cloneElement(e.pathComponent,r_({},e.events,{style:e.style,d:s_(e),className:e.className,shapeRendering:e.shapeRendering,role:e.role,transform:e.transform,clipPath:e.clipPath}))};l_.propTypes=r_({},Vs,{center:b().shape({x:b().number,y:b().number}),cornerRadius:b().number,datum:b().object,dx:b().number,dy:b().number,height:b().number,orientation:b().oneOf(["top","bottom","left","right"]),pathComponent:b().element,pointerLength:b().number,pointerWidth:b().number,width:b().number,x:b().number,y:b().number}),l_.defaultProps={pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const c_=l_;function d_(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u_={cornerRadius:5,pointerLength:10,pointerWidth:10},h_=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).id=void 0===e.id?qs()("tooltip-"):e.id,n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"getDefaultOrientation",value:function(e){var t=e.datum,n=e.horizontal;if(e.polar)return this.getPolarOrientation(e,t);var i=n?"right":"top",o=n?"left":"bottom";return t&&t.y<0?o:i}},{key:"getPolarOrientation",value:function(e,t){var n=Dc(e,t),i=e.labelPlacement||"vertical";return" vertical"===i?this.getVerticalOrientations(n):"parallel"===i?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}},{key:"getStyles",value:function(e){var t=e.theme||Gl.grayscale,n=t&&t.tooltip&&t.tooltip.style?t.tooltip.style:{},i=Array.isArray(e.style)?e.style.map((function(e){return m()({},e,n)})):m()({},e.style,n),o=t&&t.tooltip&&t.tooltip.flyoutStyle?t.tooltip.flyoutStyle:{},r=e.flyoutStyle?m()({},e.flyoutStyle,o):o,a=Array.isArray(i)?i.map((function(t){return De(t,e)})):De(i,e);return{style:a,flyoutStyle:De(r,f()({},e,{style:a}))}}},{key:"getEvaluatedProps",value:function(e){var t=e.cornerRadius,n=e.centerOffset,i=e.dx,o=e.dy,r=Me(e.active,e),a=Me(e.text,f()({},e,{active:r})),s=this.getStyles(f()({},e,{active:r,text:a})),l=s.style,c=s.flyoutStyle,d=Me(e.orientation,f()({},e,{active:r,text:a,style:l,flyoutStyle:c}))||this.getDefaultOrientation(e),u=xe({padding:Me(e.flyoutPadding,f()({},e,{active:r,text:a,style:l,flyoutStyle:c,orientation:d}))||this.getLabelPadding(l)}),h=Me(e.pointerWidth,f()({},e,{active:r,text:a,style:l,flyoutStyle:c,orientation:d})),p=Me(e.pointerLength,f()({},e,{active:r,text:a,style:l,flyoutStyle:c,orientation:d})),g=pc(a,l),m=this.getDimensions(f()({},e,{style:l,flyoutStyle:c,active:r,text:a,orientation:d,flyoutPadding:u,pointerWidth:h,pointerLength:p}),g),v=m.flyoutHeight,b=m.flyoutWidth,_=f()({},e,{active:r,text:a,style:l,flyoutStyle:c,orientation:d,flyoutHeight:v,flyoutWidth:b,flyoutPadding:u,pointerWidth:h,pointerLength:p}),A=y()(n)&&void 0!==n.x?Me(n.x,_):0,w=y()(n)&&void 0!==n.y?Me(n.y,_):0;return f()({},_,{centerOffset:{x:A,y:w},dx:void 0!==i?Me(i,_):0,dy:void 0!==o?Me(o,_):0,cornerRadius:Me(t,_)})}},{key:"getCalculatedValues",value:function(e){var t=e.style,n=e.text,i=e.flyoutStyle,o={height:e.flyoutHeight,width:e.flyoutWidth};return{style:t,flyoutStyle:i,labelSize:pc(n,t),flyoutDimensions:o,flyoutCenter:this.getFlyoutCenter(e,o),transform:this.getTransform(e)}}},{key:"getTransform",value:function(e){var t=e.x,n=e.y,i=(e.style||{}).angle||e.angle||this.getDefaultAngle(e);return i?"rotate(".concat(i," ").concat(t," ").concat(n,")"):void 0}},{key:"getDefaultAngle",value:function(e){var t=e.polar,n=e.labelPlacement,i=e.orientation,o=e.datum;if(!t||!n||"vertical"===n)return 0;var r,a=Dc(e,o);return 0===a||180===a?r="top"===i&&180===a?270:90:a>0&&a<180?r=90-a:a>180&&a<360&&(r=270-a),r+(a>90&&a<180||a>270?1:-1)*("perpendicular"===n?0:90)}},{key:"constrainTooltip",value:function(e,t,n){var i=e.x,o=e.y,r=n.width,a=n.height,s=[0,t.width],l=[0,t.height],c=[i-r/2,i+r/2],d=[o-a/2,o+a/2],u=[c[0]<s[0]?s[0]-c[0]:0,c[1]>s[1]?c[1]-s[1]:0],h=[d[0]<l[0]?l[0]-d[0]:0,d[1]>l[1]?d[1]-l[1]:0];return{x:Math.round(i+u[0]-u[1]),y:Math.round(o+h[0]-h[1])}}},{key:"getFlyoutCenter",value:function(e,t){var n=e.x,i=e.y,o=e.dx,r=e.dy,a=e.pointerLength,s=e.orientation,l=e.constrainToVisibleArea,c=e.centerOffset,d=t.height,u=t.width,h="left"===s?-1:1,p="bottom"===s?-1:1,f={x:"left"===s||"right"===s?n+h*(a+u/2+h*o):n+o,y:"top"===s||"bottom"===s?i-p*(a+d/2-p*r):i+r},g=y()(e.center)&&void 0!==e.center.x?e.center.x:f.x,m=y()(e.center)&&void 0!==e.center.y?e.center.y:f.y,v={x:g+c.x,y:m+c.y};return l?this.constrainTooltip(v,e,t):v}},{key:"getLabelPadding",value:function(e){if(!e)return 0;var t,n=Array.isArray(e)?e.map((function(e){return e.padding})):[e.padding];return Math.max.apply(Math,(t=n,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([0]))}},{key:"getDimensions",value:function(e,t){var n,i,o,r,a=e.orientation,s=e.pointerLength,l=e.pointerWidth,c=e.flyoutHeight,d=e.flyoutWidth,u=e.flyoutPadding,h=Me(e.cornerRadius,e);return{flyoutHeight:c?Me(c,e):(o=t.height+u.top+u.bottom,r="top"===a||"bottom"===a?2*h:2*h+l,Math.max(r,o)),flyoutWidth:d?Me(d,e):(n=t.width+u.left+u.right,i="left"===a||"right"===a?2*h+s:2*h,Math.max(i,n))}}},{key:"getLabelProps",value:function(e,t){var n=t.flyoutCenter,i=t.style,o=t.labelSize,r=t.dy,a=void 0===r?0:r,s=t.dx,l=void 0===s?0:s,c=e.text,d=e.datum,u=e.activePoints,h=e.labelComponent,p=e.index,f=e.flyoutPadding,g=(Array.isArray(i)&&i.length?i[0].textAnchor:i.textAnchor)||"middle";return m()({},h.props,{key:"".concat(this.id,"-label-").concat(p),text:c,datum:d,activePoints:u,textAnchor:g,dy:a,dx:l,style:i,x:function(){if(!g||"middle"===g)return n.x;var e="end"===g?-1:1;return n.x-e*(o.width/2)}()+(f.left-f.right)/2,y:n.y+(f.top-f.bottom)/2,verticalAnchor:"middle",angle:i.angle})}},{key:"getPointerOrientation",value:function(e,t,n){var i=t.y+n.height/2,o=t.y-n.height/2,r=t.x-n.width/2,a=t.x+n.width/2,s=[{side:"top",val:o>e.y?o-e.y:-1},{side:"bottom",val:i<e.y?e.y-i:-1},{side:"right",val:a<e.x?e.x-a:-1},{side:"left",val:r>e.x?r-e.x:-1}];return z()(s,"val","desc")[0].side}},{key:"getFlyoutProps",value:function(e,t){var n=t.flyoutDimensions,i=t.flyoutStyle,o=t.flyoutCenter,r=e.x,a=e.y,s=e.dx,l=e.dy,c=e.datum,d=e.activePoints,u=e.index,h=e.pointerLength,p=e.pointerWidth,f=e.cornerRadius,g=e.events,v=e.flyoutComponent,b=Me(e.pointerOrientation,e);return m()({},v.props,{x:r,y:a,dx:s,dy:l,datum:c,activePoints:d,index:u,pointerLength:h,pointerWidth:p,cornerRadius:f,events:g,orientation:b||this.getPointerOrientation({x:r,y:a},o,n),key:"".concat(this.id,"-tooltip-").concat(u),width:n.width,height:n.height,style:i,center:o})}},{key:"renderTooltip",value:function(e){var t=Me(e.active,e),n=e.renderInPortal;if(!t)return n?s.createElement(Cc,null,null):null;var i=this.getEvaluatedProps(e),o=i.flyoutComponent,r=i.labelComponent,a=i.groupComponent,l=this.getCalculatedValues(i),c=[s.cloneElement(o,this.getFlyoutProps(i,l)),s.cloneElement(r,this.getLabelProps(i,l))],d=s.cloneElement(a,{role:"presentation",transform:l.transform},c);return n?s.createElement(Cc,null,d):d}},{key:"render",value:function(){var e=Pe(this.props,u_,"tooltip");return this.renderTooltip(e)}}],i&&d_(n.prototype,i),t}(s.Component);Object.defineProperty(h_,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTooltip"}),Object.defineProperty(h_,"role",{configurable:!0,enumerable:!0,writable:!0,value:"tooltip"}),Object.defineProperty(h_,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{activateData:b().bool,active:b().oneOfType([b().bool,b().func]),activePoints:b().array,angle:b().number,center:b().shape({x:Ts,y:Ts}),centerOffset:b().shape({x:b().oneOfType([b().number,b().func]),y:b().oneOfType([b().number,b().func])}),constrainToVisibleArea:b().bool,cornerRadius:b().oneOfType([Ts,b().func]),data:b().array,datum:b().object,dx:b().oneOfType([b().number,b().func]),dy:b().oneOfType([b().number,b().func]),events:b().object,flyoutComponent:b().element,flyoutHeight:b().oneOfType([Ts,b().func]),flyoutPadding:b().oneOfType([b().func,b().number,b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number})]),flyoutStyle:b().object,flyoutWidth:b().oneOfType([Ts,b().func]),groupComponent:b().element,height:b().number,horizontal:b().bool,id:b().oneOfType([b().number,b().string]),index:b().oneOfType([b().number,b().string]),labelComponent:b().element,orientation:b().oneOfType([b().oneOf(["top","bottom","left","right"]),b().func]),pointerLength:b().oneOfType([Ts,b().func]),pointerOrientation:b().oneOfType([b().oneOf(["top","bottom","left","right"]),b().func]),pointerWidth:b().oneOfType([Ts,b().func]),polar:b().bool,renderInPortal:b().bool,scale:b().shape({x:Ps,y:Ps}),style:b().oneOfType([b().object,b().array]),text:b().oneOfType([b().string,b().number,b().func,b().array]),theme:b().object,width:b().number,x:b().number,y:b().number}}),Object.defineProperty(h_,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{active:!1,renderInPortal:!0,labelComponent:s.createElement(Qc,null),flyoutComponent:s.createElement(c_,null),groupComponent:s.createElement("g",null)}}),Object.defineProperty(h_,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}],n=e.activateData?[{target:"labels",mutation:function(){return{active:void 0}}},{target:"data",mutation:function(){return{active:void 0}}}]:[{target:"labels",mutation:function(){return{active:void 0}}}];return[{target:"data",eventHandlers:{onMouseOver:function(){return t},onFocus:function(){return t},onTouchStart:function(){return t},onMouseOut:function(){return n},onBlur:function(){return n},onTouchEnd:function(){return n}}}]}});const p_=e=>{var{constrainToVisibleArea:t=!1,labelComponent:n=s.createElement(Zf,null),labelTextAnchor:i,themeColor:o,themeVariant:r,theme:l=lf(o,r)}=e,c=(0,a.__rest)(e,["constrainToVisibleArea","labelComponent","labelTextAnchor","themeColor","themeVariant","theme"]);const d=s.cloneElement(n,Object.assign({textAnchor:i,theme:l},n.props));return s.createElement(h_,Object.assign({constrainToVisibleArea:t,labelComponent:d,theme:l},c))};p_.displayName="ChartTooltip",c()(p_,h_);const f_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,barWidth:i=Qf.comparativeMeasureWidth,constrainToVisibleArea:o=!1,data:r,domain:a,horizontal:l=!0,labels:c,measureComponent:d=s.createElement(Vb,null),padding:u,standalone:h=!0,themeColor:p,themeVariant:f,y:g,theme:m=Yp(p,f),height:v=m.bar.height,width:b=m.bar.width,labelComponent:_=s.createElement(p_,null)})=>{const y=Xb({data:r,theme:m,y:g}),A=s.cloneElement(_,Object.assign({constrainToVisibleArea:o,dx:()=>l?0:("function"==typeof i?i(r):i)/2,dy:()=>l?-("function"==typeof i?i(r):i)/2:0,orientation:"top"},_.props)),w=y.map(((t,n)=>s.cloneElement(d,Object.assign({barWidth:i,data:[Object.assign({},t)],domain:a,height:v,horizontal:l,labelComponent:e?A:void 0,labels:c,key:`pf-chart-bullet-comparative-measure-${n}`,padding:u,standalone:!1,theme:m,width:b},d.props))));return h?s.createElement(uf,{desc:t,height:v,title:n,width:b},w):s.createElement(s.Fragment,null,w)};f_.displayName="ChartBulletComparativeMeasure",c()(f_,zb);const g_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,barWidth:i,constrainToVisibleArea:o=!1,data:r,domain:a,horizontal:l=!0,labelComponent:c,labels:d,measureComponent:u=s.createElement(f_,null),padding:h,standalone:p=!0,themeColor:f,themeVariant:g,y:m,theme:v=Kp(f,g),height:b=v.bar.height,width:_=v.bar.width})=>{const y=s.cloneElement(u,Object.assign({allowTooltip:e,ariaDesc:t,ariaTitle:n,barWidth:i,constrainToVisibleArea:o,data:r,domain:a,height:b,horizontal:l,labelComponent:c,labels:d,padding:h,standalone:!1,theme:v,width:_,y:m},u.props));return p?s.createElement(uf,{desc:t,height:b,title:n,width:_},y):s.createElement(s.Fragment,null,y)};g_.displayName="ChartBulletComparativeErrorMeasure",c()(g_,zb);const m_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,barWidth:i,constrainToVisibleArea:o=!1,data:r,domain:a,horizontal:l=!0,labelComponent:c,labels:d,measureComponent:u=s.createElement(f_,null),padding:h,standalone:p=!0,themeColor:f,themeVariant:g,y:m,theme:v=$p(f,g),height:b=v.bar.height,width:_=v.bar.width})=>{const y=s.cloneElement(u,Object.assign({allowTooltip:e,ariaDesc:t,ariaTitle:n,barWidth:i,constrainToVisibleArea:o,data:r,domain:a,height:b,horizontal:l,labelComponent:c,labels:d,padding:h,standalone:!1,theme:v,width:_,y:m},u.props));return p?s.createElement(uf,{desc:t,height:b,title:n,width:_},y):s.createElement(s.Fragment,null,y)};m_.displayName="ChartBulletComparativeWarningMeasure",c()(m_,zb);const v_=({ariaDesc:e,ariaTitle:t,capHeight:n=1.1,dividerComponent:i=s.createElement(gc,null),padding:o,standalone:r=!0,subTitle:a,themeColor:l,themeVariant:c,title:d,titleComponent:u=s.createElement(Zf,null),theme:h=Jp(l,c),height:p=h.chart.height,width:f=h.chart.width})=>{const g={bottom:ag("bottom",o,h.chart.padding),left:ag("left",o,h.chart.padding),right:ag("right",o,h.chart.padding),top:ag("top",o,h.chart.padding)},m=ag("bottom",o,Number(h.legend.style.labels.padding)),v=(ag("left",o,Number(h.legend.style.labels.padding)),ag("right",o,Number(h.legend.style.labels.padding)),ag("top",o,Number(h.legend.style.labels.padding))),b=Boolean(d)&&s.createElement(s.Fragment,null,(()=>{const e=u?u.props:{},t=d&&a;return s.cloneElement(u,Object.assign(Object.assign(Object.assign({},t&&{capHeight:n}),{style:[Qf.label.groupTitle,Qf.label.subTitle],text:t?[d,a]:d,textAnchor:"middle",verticalAnchor:"middle",x:lg({chartWidth:f,labelPosition:"top"}),y:cg({chartHeight:p,dy:g.top,labelPosition:"top"})}),e))})(),(()=>{const e=hg({text:d,theme:h}),t=hg({text:a,theme:h}),n=d&&a?e.height+t.height+v+m:e.height+v+m;return s.cloneElement(i,Object.assign({x1:g.left,x2:f-g.right,y1:g.top+n,y2:g.top+n,style:h.line.style.data},i.props))})());return r?s.createElement(uf,{desc:e,height:p,title:t,width:f},b):s.createElement(s.Fragment,null,b)};function b_(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}v_.displayName="ChartBulletGroupTitle";var __=function(e,t){return t.bubbleProperty?"circle":e.symbol||t.symbol},y_=function(e,t){var n=t.size,i=t.z;return e.size?"function"==typeof e.size?e.size:Math.max(e.size,1):"function"==typeof t.size?n:e[i]?function(e,t){var n,i=t.data,o=t.z,r=t.maxBubbleSize,a=t.minBubbleSize,s=i.map((function(e){return e[o]})),l=Math.min.apply(Math,b_(s)),c=Math.max.apply(Math,b_(s)),d=r||(n=Math.min.apply(Math,b_(w()(xe(t)))),Math.max(n,5)),u=a||.1*d;if(c===l)return Math.max(u,1);var h=Math.PI*Math.pow(d,2),p=Math.PI*Math.pow(u,2),f=(e[o]-l)/(c-l)*h,g=Math.max(f,p),m=Math.sqrt(g/Math.PI);return Math.max(m,1)}(e,t):Math.max(n||0,1)};function A_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C_(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function x_(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var S_={width:450,height:300,padding:50,size:3,symbol:"circle"},E_=function(e){function t(){return w_(this,t),x_(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,i=Pe(this.props,S_,n);if(this.shouldAnimate())return this.animateComponent(i,e);var o=this.renderData(i);return i.standalone?this.renderContainer(i.containerComponent,o):o}}])&&C_(n.prototype,i),t}(s.Component);Object.defineProperty(E_,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","maxBubbleSize","padding","samples","size","style","width"]}),Object.defineProperty(E_,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryScatter"}),Object.defineProperty(E_,"role",{configurable:!0,enumerable:!0,writable:!0,value:"scatter"}),Object.defineProperty(E_,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(e){return e}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(e){return e}}}}),Object.defineProperty(E_,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){A_(e,t,n[t])}))}return e}({},zs,js,{bubbleProperty:b().string,maxBubbleSize:Ts,minBubbleSize:Ts,size:b().oneOfType([Ts,b().func]),symbol:b().oneOfType([b().oneOf(["circle","cross","diamond","plus","minus","square","star","triangleDown","triangleUp"]),b().func])})}),Object.defineProperty(E_,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:s.createElement(Ml,null),dataComponent:s.createElement(Of,null),labelComponent:s.createElement(Qc,null),groupComponent:s.createElement("g",null),samples:50,sortOrder:"ascending",standalone:!0,theme:Gl.grayscale}}),Object.defineProperty(E_,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:wa}),Object.defineProperty(E_,"getData",{configurable:!0,enumerable:!0,writable:!0,value:fa}),Object.defineProperty(E_,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return function(e,t){var n=Pe(e,t,"scatter");e=f()({},n,function(e){var t=Ee(e,"scatter"),n=ke(e.style,t),i={x:Be(e,"x"),y:Be(e,"y")},o={x:wa(e,"x"),y:wa(e,"y")},r={x:Xr(e,"x").domain(o.x).range(e.horizontal?i.y:i.x),y:Xr(e,"y").domain(o.y).range(e.horizontal?i.x:i.y)},a=e.polar?e.origin||Le(e):void 0,s=e.bubbleProperty||"z",l=fa(e);return{domain:o,data:l=da(l,o),scale:r,style:n,origin:a,z:s}}(n));var i=e,o=i.data,r=i.domain,a=i.events,s=i.height,l=i.origin,c=i.padding,d=i.polar,u=i.scale,h=i.name,p=i.sharedEvents,g=i.standalone,m=i.style,v=i.theme,b=i.width,_=i.labels,y=i.horizontal,A=i.disableInlineStyles,w={parent:{style:m.parent,scale:u,domain:r,data:o,height:s,width:b,standalone:g,theme:v,origin:l,polar:d,padding:c,name:h,horizontal:y}};return o.reduce((function(t,n,i){var r=Kc()(n.eventKey)?i:n.eventKey,s=Ce(e,n),c={x:s.x,y:s.y,datum:n,data:o,index:i,scale:u,polar:d,origin:l,horizontal:y,size:y_(n,e),symbol:__(n,e),style:A?{}:m.data,disableInlineStyles:A};return t[r]={data:c},(null!=Sc(e,n,i)||_&&(a||p))&&(t[r].labels=Nc(e,i)),t}),w)}(e,S_)}}),Object.defineProperty(E_,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]});const k_=Ud(E_);var M_;!function(e){e.ascending="ascending",e.descending="descending"}(M_||(M_={}));const D_=e=>{var{containerComponent:t=s.createElement(uf,null),themeColor:n,themeVariant:i,theme:o=lf(n,i),size:r=(({active:e})=>e?$f.activeSize:$f.size)}=e,l=(0,a.__rest)(e,["containerComponent","themeColor","themeVariant","theme","size"]);const c=s.cloneElement(t,Object.assign({theme:o},t.props));return s.createElement(k_,Object.assign({containerComponent:c,size:r,theme:o},l))};D_.displayName="ChartScatter",c()(D_,k_);const N_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,constrainToVisibleArea:i=!1,data:o,domain:r,horizontal:a=!0,invert:l=!1,labels:c,measureComponent:d=s.createElement(D_,null),padding:u,size:h=Qf.primaryDotMeasureSize,standalone:p=!0,themeColor:f,themeVariant:g,y:m,y0:v,theme:b=qp(f,g),labelComponent:_=s.createElement(p_,null),height:y=b.group.height,width:A=b.group.width})=>{const w=e_({data:o,invert:l,theme:b,y:m,y0:v}),C=s.cloneElement(_,Object.assign({constrainToVisibleArea:i,dx:0,dy:a?-h:0,orientation:"top"},_.props)),x=w.map(((t,n)=>s.cloneElement(d,Object.assign({data:[Object.assign({},t)],domain:r,height:y,horizontal:a,key:`pf-chart-bullet-primary-dot-measure-${n}`,labelComponent:e?C:void 0,labels:c,padding:u,size:h,standalone:!1,style:{data:{fill:t._color}},theme:b,width:A},d.props))));return p?s.createElement(uf,{desc:t,height:y,title:n,width:A},x):s.createElement(s.Fragment,null,x)};N_.displayName="ChartBulletPrimaryDotMeasure",c()(N_,k_);const I_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,barWidth:i=Qf.primarySegmentedMeasureWidth,constrainToVisibleArea:o=!1,data:r,domain:a,horizontal:l=!0,invert:c=!1,labels:d,measureComponent:u=s.createElement(Vb,null),padding:h,standalone:p=!0,themeColor:f,themeVariant:g,y:m,y0:v,theme:b=Xp(f,g),negativeMeasureTheme:_=Zp(f,g),height:y=b.group.height,width:A=b.group.width,labelComponent:w=s.createElement(p_,null)})=>{const C=t_({data:r,invert:c,negativeMeasureTheme:_,theme:b,y:m,y0:v}),x=s.cloneElement(w,Object.assign({constrainToVisibleArea:o,dx:()=>l?0:("function"==typeof i?i(r):i)/2,dy:()=>l?-("function"==typeof i?i(r):i)/2:0,orientation:"top"},w.props)),S=C.map(((t,n)=>s.cloneElement(u,Object.assign({barWidth:i,data:[Object.assign({},t)],domain:a,height:y,horizontal:l,key:`pf-chart-bullet-primary-segmented-measure-${n}`,labelComponent:e?x:void 0,labels:d,padding:h,standalone:!1,style:{data:{fill:t._color}},theme:b,width:A},u.props))));return p?s.createElement(uf,{desc:t,height:y,title:n,width:A},S):s.createElement(s.Fragment,null,S)};I_.displayName="ChartBulletPrimarySegmentedMeasure",c()(I_,zb);const T_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,barWidth:i=Qf.qualitativeRangeWidth,constrainToVisibleArea:o=!1,data:r,domain:a,horizontal:l=!0,invert:c=!1,labels:d,measureComponent:u=s.createElement(Vb,null),padding:h,standalone:p=!0,themeColor:f,themeVariant:g,y:m,y0:v,theme:b=ef(f,g),height:_=b.group.height,width:y=b.group.width,labelComponent:A=s.createElement(p_,null)})=>{const w=n_({data:r,invert:c,theme:b,y:m,y0:v}),C=s.cloneElement(A,Object.assign({constrainToVisibleArea:o,dx:()=>l?0:("function"==typeof i?i(r):i)/2,dy:()=>l?-("function"==typeof i?i(r):i)/2:0,orientation:"top"},A.props)),x=w.map(((t,n)=>s.cloneElement(u,Object.assign({barWidth:i,data:[Object.assign({},t)],domain:a,height:_,horizontal:l,key:`pf-chart-bullet-qualitative-range-${n}`,labelComponent:e?C:void 0,labels:d,padding:h,standalone:!1,style:{data:{fill:t._color}},theme:b,width:y},u.props))));return p?s.createElement(uf,{desc:t,height:_,title:n,width:y},x):s.createElement(s.Fragment,null,x)};T_.displayName="ChartBulletQualitativeRange",c()(T_,zb);const L_=({ariaDesc:e,ariaTitle:t,capHeight:n=1.1,horizontal:i=!0,legendPosition:o="bottom",padding:r,standalone:a=!0,subTitle:l,themeColor:c,themeVariant:d,title:u,titleComponent:h=s.createElement(Zf,null),titlePosition:p,theme:f=Gp(c,d),height:g=(i?f.chart.height:f.chart.width),width:m=(i?f.chart.width:f.chart.height)})=>{const v={height:i?f.chart.height:g,width:i?m:f.chart.height},b={bottom:ag("bottom",r,f.chart.padding),left:ag("left",r,f.chart.padding),right:ag("right",r,f.chart.padding),top:ag("top",r,f.chart.padding)},_=()=>{const e=u&&l;let t=i?"left":"bottom";p&&p.includes("left")&&i&&(t=p);let r="middle";"top-left"===t?r="start":i&&(r="end");let a=2*Uf.legend.margin-b.bottom;if("top-left"===t){const t=e?0:1;a=.5*b.top+(.5*b.bottom-b.bottom)+58-Uf.legend.margin+t}else i&&(a=.5*b.top+(.5*b.bottom-b.bottom));return s.cloneElement(h,Object.assign(Object.assign(Object.assign({},e&&{capHeight:n}),{style:[Qf.label.title,Qf.label.subTitle],text:e?[u,l]:u,textAnchor:r,verticalAnchor:"top-left"===t?"end":"middle",x:i?lg({chartWidth:v.width,dx:"top-left"===t?b.left:b.left-1.75*Uf.label.margin,labelPosition:"left",legendPosition:o,svgWidth:m}):.5*b.left+(.5*b.right-(b.right-50))+Qf.qualitativeRangeWidth/2,y:cg({chartHeight:v.height,dy:a,labelPosition:t})}),h.props))};return a?s.createElement(uf,{desc:e,height:g,title:t,width:m},_()):s.createElement(s.Fragment,null,_())};L_.displayName="ChartBulletTitle";const B_=({allowTooltip:e=!0,ariaDesc:t,ariaTitle:n,axisComponent:i=s.createElement(yb,null),comparativeErrorMeasureComponent:o=s.createElement(g_,null),comparativeErrorMeasureData:r,comparativeErrorMeasureDataY:a,comparativeErrorMeasureLegendData:l,comparativeWarningMeasureComponent:c=s.createElement(m_,null),comparativeWarningMeasureData:d,comparativeWarningMeasureDataY:u,comparativeWarningMeasureLegendData:h,comparativeZeroMeasureComponent:p=s.createElement(f_,null),constrainToVisibleArea:f=!1,groupTitleComponent:g=s.createElement(v_,null),groupSubTitle:m,groupTitle:v,horizontal:b=!0,invert:_=!1,labels:y,legendAllowWrap:A=!1,legendComponent:w=s.createElement(rg,null),legendItemsPerRow:C,legendPosition:x="bottom",maxDomain:S,minDomain:E,padding:k,primaryDotMeasureComponent:M=s.createElement(N_,null),primaryDotMeasureData:D,primaryDotMeasureDataY:N,primaryDotMeasureLegendData:I,primarySegmentedMeasureComponent:T=s.createElement(I_,null),primarySegmentedMeasureData:L,primarySegmentedMeasureDataY:B,primarySegmentedMeasureLegendData:O,qualitativeRangeComponent:P=s.createElement(T_,null),qualitativeRangeData:F,qualitativeRangeDataY:R,qualitativeRangeDataY0:j,qualitativeRangeLegendData:z,standalone:V=!0,subTitle:W,themeColor:H,themeVariant:U,title:Q,titleComponent:G=s.createElement(L_,null),titlePosition:K,theme:Y=o_({comparativeErrorMeasureData:r,comparativeErrorMeasureLegendData:l,comparativeWarningMeasureData:d,comparativeWarningMeasureLegendData:h,invert:_,primaryDotMeasureData:D,primaryDotMeasureLegendData:I,primarySegmentedMeasureData:L,primarySegmentedMeasureLegendData:O,qualitativeRangeData:F,qualitativeRangeLegendData:z,themeColor:H,themeVariant:U}),domain:$=Zb({comparativeErrorMeasureComponent:o,comparativeErrorMeasureData:r,comparativeWarningMeasureComponent:c,comparativeWarningMeasureData:d,maxDomain:S,minDomain:E,primaryDotMeasureComponent:M,primaryDotMeasureData:D,primarySegmentedMeasureComponent:T,primarySegmentedMeasureData:L,qualitativeRangeComponent:P,qualitativeRangeData:F}),legendOrientation:J=Y.legend.orientation,height:q=(b?Y.chart.height:Y.chart.width),width:Z=(b?Y.chart.width:Y.chart.height),bulletSize:X=Y.chart.height})=>{const ee={height:b?X:q,width:b?Z:X},te={bottom:ag("bottom",k,Y.chart.padding),left:ag("left",k,Y.chart.padding),right:ag("right",k,Y.chart.padding),top:ag("top",k,Y.chart.padding)},ne=s.cloneElement(g,Object.assign({height:q,standalone:!1,subTitle:m,title:v,width:Z},g.props)),ie=s.cloneElement(G,Object.assign({height:q,horizontal:b,legendPosition:x,padding:k,standalone:!1,subTitle:W,theme:Y,title:Q,titlePosition:K,width:Z},G.props)),oe=s.cloneElement(o,Object.assign({allowTooltip:e,barWidth:Ub({height:ee.height,horizontal:b,width:ee.width}),constrainToVisibleArea:f,data:r,domain:$,height:ee.height,horizontal:b,labelComponent:e?s.createElement(p_,{height:q,theme:Y,width:Z}):void 0,labels:y,padding:k,standalone:!1,width:ee.width,y:a},o.props)),re=s.cloneElement(c,Object.assign({allowTooltip:e,barWidth:Gb({height:ee.height,horizontal:b,width:ee.width}),constrainToVisibleArea:f,data:d,domain:$,height:ee.height,horizontal:b,labelComponent:e?s.createElement(p_,{height:q,theme:Y,width:Z}):void 0,labels:y,padding:k,standalone:!1,width:ee.width,y:u},c.props)),ae=s.cloneElement(p,Object.assign({barWidth:Qb({height:ee.height,horizontal:b,width:ee.width}),data:[{y:0}],domain:$,height:ee.height,horizontal:b,padding:k,standalone:!1,width:ee.width},p.props)),se=s.cloneElement(w,Object.assign({data:[...I||[],...O||[],...h||[],...l||[],...z||[]],itemsPerRow:C,orientation:J,position:x,theme:Y},w.props)),le=s.cloneElement(M,Object.assign({allowTooltip:e,constrainToVisibleArea:f,data:D,domain:$,height:ee.height,horizontal:b,invert:_,labelComponent:e?s.createElement(p_,{height:q,theme:Y,width:Z}):void 0,labels:y,padding:k,size:Kb({height:ee.height,horizontal:b,width:ee.width}),standalone:!1,themeColor:H,themeVariant:U,width:ee.width,y:N},M.props)),ce=s.cloneElement(T,Object.assign({allowTooltip:e,constrainToVisibleArea:f,barWidth:Yb({height:ee.height,horizontal:b,width:ee.width}),data:L,domain:$,height:ee.height,horizontal:b,invert:_,labelComponent:e?s.createElement(p_,{height:q,theme:Y,width:Z}):void 0,labels:y,padding:k,standalone:!1,themeColor:H,themeVariant:U,width:ee.width,y:B},T.props)),de=s.cloneElement(P,Object.assign({allowTooltip:e,constrainToVisibleArea:f,barWidth:$b({height:ee.height,horizontal:b,width:ee.width}),data:F,domain:$,height:ee.height,horizontal:b,invert:_,labelComponent:e?s.createElement(p_,{height:q,theme:Y,width:Z}):void 0,labels:y,padding:k,standalone:!1,width:ee.width,y:R,y0:j},P.props)),ue=s.cloneElement(i,Object.assign({dependentAxis:!b,domain:b?{x:$.y,y:$.x}:$,height:ee.height,offsetX:b?0:.5*te.left+(.5*te.right-(te.right-55)),offsetY:b?80-.5*te.top+(.5*te.bottom-25):0,padding:k,standalone:!1,tickCount:Qf.axisTickCount,tickValues:((e,t)=>{const n=[e,t];let i=0;i=e<0&&t<0?Math.abs(e-t):e<0?Math.abs(e)+t:t-e;const o=i/(Qf.axisTickCount-1);for(let i=e;i<t;)i+=o,n.push(Math.ceil(i));return n})($.y[0],$.y[1]),width:ee.width},i.props)),he=s.createElement(s.Fragment,null,ue,ne,ie,de,ce,le,oe,re,(()=>{const e=$;let t=0;Array.isArray(e)?t=e[0]:e.y&&Array.isArray(e.y)&&(t=e.y[0]);let n=0;return Array.isArray(e)?n=e[e.length-1]:e.y&&Array.isArray(e.y)&&(n=e.y[e.y.length-1]),t<0&&n>0?ae:null})(),(()=>{if(!se.props.data)return null;let e=0,t=0;return x===ig.bottom?t=b?.5*te.top+(.5*te.bottom-te.bottom)-25:Q?60-te.bottom:-te.bottom:x===ig.bottomLeft&&(t=b?.5*te.top+(.5*te.bottom-te.bottom)-25:Q?60-te.bottom:-te.bottom,e=-10),pg({allowWrap:A,chartType:"bullet",dx:e,dy:t,height:ee.height,legendComponent:se,padding:te,position:x,theme:Y,width:ee.width})})());return V?s.createElement(uf,{desc:t,height:q,title:n,theme:Y,width:Z},he):s.createElement(s.Fragment,null,he)};B_.displayName="ChartBullet",c()(B_,Yu);var O_=n(61230),P_=n.n(O_),F_=n(14633),R_=n.n(F_);function j_(e,t,n){var i=t.a,o=t.d,r=t.e,a=t.f;return"y"===n?o*e+a:i*e+r}function z_(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function V_(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||z_(e));return{x:j_(e.clientX,n,"x"),y:j_(e.clientY,n,"y")}}function W_(e,t){var n=e.scale,i=e.horizontal;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:i?[n.y(t.y[0]),n.y(t.y[1])]:[n.x(t.x[0]),n.x(t.x[1])],y:i?[n.x(t.x[0]),n.x(t.x[1])]:[n.y(t.y[0]),n.y(t.y[1])]}}function H_(e,t,n,i){var o=e.polar,r=e.horizontal;if(o){var a=e.origin||{x:0,y:0},s=n-a.x,l=i-a.y,c=Math.abs(s*Math.sqrt(1+Math.pow(-l/s,2))),d=(-Math.atan2(l,s)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(d),y:t.y.invert(c)}}return{x:r?t.x.invert(i):t.x.invert(n),y:r?t.y.invert(n):t.y.invert(i)}}function U_(e){var t=e.x1,n=e.x2,i=e.y1,o=e.y2,r=e.scale,a=H_(e,r,t,i),s=H_(e,r,n,o),l=function(e,t){return[ne([e,t]),te([e,t])]};return{x:l(a.x,s.x),y:l(a.y,s.y)}}function Q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G_={getDimension:function(e){var t=e.horizontal,n=e.cursorDimension;return t&&n?"x"===n?"y":"x":n},withinBounds:function(e,t){var n=P_()(t,Number),i=n.x1,o=n.x2,r=n.y1,a=n.y2,s=P_()(e,Number),l=s.x,c=s.y;return l>=Math.min(i,o)&&l<=Math.max(i,o)&&c>=Math.min(r,a)&&c<=Math.max(r,a)},onMouseMove:function(e,t){var n=t.onCursorChange,i=t.domain,o=this.getDimension(t),r=t.parentSVG||z_(e),a=V_(e,r),s=H_(t,t.scale,a.x,a.y),l=this.withinBounds(s,{x1:i.x[0],x2:i.x[1],y1:i.y[0],y2:i.y[1]});return l||(s=null),T()(n)&&(l?n(o?s[o]:s,t):s!==t.cursorValue&&n(t.defaultCursorValue||null,t)),[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:s,parentSVG:r}}}]},onTouchEnd:function(e,t){var n=t.onCursorChange;return T()(t.onCursorChange)&&n(null,t),[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:null}}}]}};const K_=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Q_(e,t,n[t])}))}return e}({},G_,{onMouseMove:R_()(G_.onMouseMove.bind(G_),16,{leading:!0,trailing:!1}),onMouseLeave:G_.onMouseMove.bind(G_),onTouchEnd:G_.onTouchEnd.bind(G_)});function Y_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){J_(e,t,n[t])}))}return e}function $_(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function J_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z_(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function X_(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var ey=function(e){var t,n;return n=t=function(e){function t(){return q_(this,t),X_(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"getCursorPosition",value:function(e){var t=e.cursorValue,n=e.defaultCursorValue,i=e.domain,o=e.cursorDimension;return t||("number"==typeof n?J_({x:(i.x[0]+i.x[1])/2,y:(i.y[0]+i.y[1])/2},o,n):n)}},{key:"getCursorLabelOffset",value:function(e){var t=e.cursorLabelOffset;return"number"==typeof t?{x:t,y:t}:t}},{key:"getPadding",value:function(e){if(void 0===e.padding){var t=e.children.find((function(e){return G()(e.props)&&void 0!==e.props.padding}));return xe(t.props)}return xe(e)}},{key:"getCursorElements",value:function(e){var t=e.scale,n=e.cursorLabelComponent,i=e.cursorLabel,o=e.cursorComponent,r=e.width,a=e.height,l=e.name,c=e.horizontal,d=e.theme,u=K_.getDimension(e),h=this.getCursorPosition(e),p=this.getCursorLabelOffset(e);if(!h)return[];var g=[],v=this.getPadding(e),b={x:c?t.y(h.y):t.x(h.x),y:c?t.x(h.x):t.y(h.y)};if(i){var _=m()({active:!0},n.props,{x:b.x+p.x,y:b.y+p.y,datum:h,active:!0,key:"".concat(l,"-cursor-label")});if(Se(n)){var y=d&&d.tooltip||{};_=m()({},_,y)}g.push(s.cloneElement(n,m()({},_,{text:Me(i,_)})))}var A=f()({stroke:"black"},o.props.style);return"x"!==u&&void 0!==u||g.push(s.cloneElement(o,{key:"".concat(l,"-x-cursor"),x1:b.x,x2:b.x,y1:v.top,y2:a-v.bottom,style:A})),"y"!==u&&void 0!==u||g.push(s.cloneElement(o,{key:"".concat(l,"-y-cursor"),x1:v.left,x2:r-v.right,y1:b.y,y2:b.y,style:A})),g}},{key:"getChildren",value:function(e){return $_(s.Children.toArray(e.children)).concat($_(this.getCursorElements(e)))}}],i&&Z_(n.prototype,i),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryCursorContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Y_({},Ml.propTypes,{cursorDimension:b().oneOf(["x","y"]),cursorLabel:b().func,cursorLabelComponent:b().element,cursorLabelOffset:b().oneOfType([b().number,b().shape({x:b().number,y:b().number})]),defaultCursorValue:b().oneOfType([b().number,b().shape({x:b().number,y:b().number})]),disable:b().bool,onCursorChange:b().func})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Y_({},Ml.defaultProps,{cursorLabelComponent:s.createElement(Qc,null),cursorLabelOffset:{x:5,y:-10},cursorComponent:s.createElement(_c,null)})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(t,n){return e.disable?{}:K_.onMouseLeave(t,n)},onTouchCancel:function(){return[]},onMouseMove:function(t,n){return e.disable?{}:K_.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:K_.onMouseMove(t,n)}}}]}}),n};const ty=ey(Ml),ny=e=>{var{className:t,themeColor:n,themeVariant:i,theme:o=lf(n,i),cursorLabelComponent:r=s.createElement(Zf,null)}=e,l=(0,a.__rest)(e,["className","themeColor","themeVariant","theme","cursorLabelComponent"]);const c=df({className:t}),d=s.cloneElement(r,Object.assign({theme:o},r.props));return s.createElement(ty,Object.assign({className:c,cursorLabelComponent:d,theme:o},l))};ny.displayName="ChartCursorContainer",ny.defaultProps=ty.defaultProps,c()(ny,ty);const iy=e=>{const t=e.orientation||"top";return"left"===t||"right"===t?(e=>{const{pointerWidth:t,cornerRadius:n,orientation:i,width:o,height:r,center:a}=e,s="left"===i?1:-1,l=y()(a)&&a.x,c=y()(a)&&a.y,d=l-s*(o/2),u=l+s*(o/2),h=c+r/2,p=c-r/2,f="left"===i?d-e.pointerLength+(e.dx||0):d+e.pointerLength+(e.dx||0),g=a.y+(e.dy||0),m=s*(f-d)>0?0:e.pointerLength,v=`${n} ${n} ${"left"===i?"0 0 0":"0 0 1"}`;return`M ${d}, ${c-t/2}\n L ${m?f:d}, ${m?g:c+t/2}\n L ${d}, ${c+t/2}\n L ${d}, ${h-n}\n A ${v} ${d+s*n}, ${h}\n L ${u-s*n}, ${h}\n A ${v} ${u}, ${h-n}\n L ${u}, ${p+n}\n A ${v} ${u-s*n}, ${p}\n L ${d+s*n}, ${p}\n A ${v} ${d}, ${p+n}\n z`})(e):(e=>{const{pointerWidth:t,cornerRadius:n,orientation:i,width:o,height:r,center:a}=e,s="bottom"===i?1:-1,l=y()(a)&&a.x,c=y()(a)&&a.y,d=c+s*(r/2),u=c-s*(r/2),h=l+o/2,p=l-o/2,f=a.x+(e.dx||0),g="bottom"===i?d+e.pointerLength+(e.dy||0):d-e.pointerLength+(e.dy||0),m=s*(g-d)<0?0:e.pointerLength,v=`${n} ${n} ${"bottom"===i?"0 0 0":"0 0 1"}`;return`M ${l-t/2}, ${d}\n L ${m?f:l+t/2}, ${m?g:d}\n L ${l+t/2}, ${d}\n L ${h-n}, ${d}\n A ${v} ${h}, ${d-s*n}\n L ${h}, ${u+s*n}\n A ${v} ${h-n}, ${u}\n L ${p+n}, ${u}\n A ${v} ${p}, ${u+s*n}\n L ${p}, ${d-s*n}\n A ${v} ${p+n}, ${d}\n z`})(e)},oy=e=>(e=(e=>{const t=Me(e.id,e),n=De(e.style,e);return Object.assign({},e,{id:t,style:n})})(e),s.cloneElement(e.pathComponent,Object.assign(Object.assign({},e.events),{style:e.style,d:iy(e),className:e.className,shapeRendering:e.shapeRendering,role:e.role,transform:e.transform,clipPath:e.clipPath})));oy.propTypes=Object.assign(Object.assign({},Vs),{center:b().shape({x:b().number,y:b().number}),cornerRadius:b().number,datum:b().object,dx:b().number,dy:b().number,height:b().number,orientation:b().oneOf(["top","bottom","left","right"]),pathComponent:b().element,pointerLength:b().number,pointerWidth:b().number,width:b().number,x:b().number,y:b().number}),oy.defaultProps={pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const ry=({offsetCursorDimensionX:e=!1,offsetCursorDimensionY:t=!1,theme:n})=>{const i=n&&n.tooltip?Me(n.tooltip.pointerLength):10;return{x:e?({center:e,flyoutWidth:t,width:n})=>{const o=t/2+i;return n>e.x+t+i?o:-o}:0,y:t?({center:e,flyoutHeight:t,width:n})=>{const o=t/2+i;return n>e.y+t+i?-o:o}:0}},ay=({horizontal:e=!0,theme:t})=>{const n=t&&t.tooltip?Me(t.tooltip.pointerLength):10;return e?({center:e,flyoutWidth:t,width:i})=>i>e.x+t+n?"left":"right":({center:e,flyoutHeight:t,height:i})=>i>e.y+t+n?"top":"bottom"},sy=e=>Object.assign({borderPadding:0,gutter:0,orientation:"vertical",padding:0,rowGutter:0,style:{labels:{fill:Yf.label.fill,lineHeight:.275,padding:0},title:{fill:Yf.label.fill,padding:0}}},e),ly=({legendData:e,legendOrientation:t="vertical",legendProps:n,text:i="",theme:o})=>{const r=Me(i),a=Array.isArray(r)?r:[r];let s=0,l=0;a.map(((t,n)=>{t&&(t.length>l&&(l=t.length),e&&e[n]&&e[n].name&&e[n].name.length>s&&(s=e[n].name.length))}));let c=s+l;s<20&&(c+=2);const d=a.map(((t,n)=>{const i=e&&e[n]&&e[n].name,o=i?((e,t)=>{let n="";if(0===c)return n;const i=(e?e.length:0)+(t?t.length:0);for(;n.length<c-i;)n+="x";return n})(e[n].name,t):"";return{name:`${i?e[n].name:""}${o}${t}`}})).map((e=>({name:e.name.replace(/ /g,"x")}))),u=fg({legendData:d,legendOrientation:t,legendProps:n,theme:o});return{height:fg({legendData:a.map((e=>({name:e}))),legendOrientation:t,legendProps:n,theme:o}).height,width:u.width>0?u.width:0}},cy=({activePoints:e,colorScale:t,legendData:n,text:i,textAsLegendData:o=!1,theme:r})=>{const a=Me(i),s=Array.isArray(a)?a:[a],l=[];if(n){let i=-1;for(let a=0;a<n.length;a++){const c=n[a];if(e&&e.find((e=>e.childName===c.childName))&&(!c.symbol||"eyeSlash"!==c.symbol.type||c.symbol.fill!==Sh)&&i++<s.length-1){const e=r&&r.legend&&r.legend.colorScale?r.legend.colorScale[a%r.legend.colorScale.length]:void 0;l.push({name:o?s[i]:c.name,symbol:Object.assign({fill:t?t[a%t.length]:e},c.symbol)})}}}return l},dy=({activePoints:e,legendData:t,text:n})=>{const i=Me(n),o=Array.isArray(i)?i:[i],r=[];if(t){let n=-1;for(const i of t)!e||!e.find((e=>e.childName===i.childName))||i.symbol&&"eyeSlash"===i.symbol.type&&i.symbol.fill===Sh||n++<o.length-1&&r.push(o[n])}return r},uy=e=>{var{constrainToVisibleArea:t=!0,flyoutComponent:n=s.createElement(oy,null),labelComponent:i=s.createElement(Zf,null),labelTextAnchor:o="start",showPointer:r=!0,style:l,themeColor:c,themeVariant:d,theme:u=lf(c,d),centerOffset:h=ry({offsetCursorDimensionX:!0,theme:u}),pointerOrientation:p=ay({horizontal:!0,theme:u}),pointerLength:f=(r&&u&&u.tooltip?u.tooltip.pointerLength:0),pointerWidth:g=u.tooltip.pointerWidth}=e,m=(0,a.__rest)(e,["constrainToVisibleArea","flyoutComponent","labelComponent","labelTextAnchor","showPointer","style","themeColor","themeVariant","theme","centerOffset","pointerOrientation","pointerLength","pointerWidth"]);const v=e=>Object.assign(Object.assign({},e),{textAnchor:o}),b=Array.isArray(l)?l.map(v):v(l);return s.createElement(p_,Object.assign({centerOffset:h,constrainToVisibleArea:t,flyoutComponent:(()=>{let e=Me(f);return r&&0===e&&(e=u&&u.tooltip?Me(u.tooltip.pointerLength):10),s.cloneElement(n,Object.assign({pointerLength:e,pointerWidth:g},n.props))})(),labelComponent:i,labelTextAnchor:o,pointerOrientation:p,style:b,theme:u},m))};function hy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){py(e,t,n[t])}))}return e}function py(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}uy.displayName="ChartCursorTooltip",c()(uy,h_);var fy=function(e){var t=e.slice,n=e.radius,i=e.innerRadius,o=e.cornerRadius;if(T()(e.pathFunction))return e.pathFunction(t);var r=Ne(e.padAngle),a=Ne(e.sliceStartAngle),s=Ne(e.sliceEndAngle);return em().cornerRadius(o).outerRadius(n).innerRadius(i||0)(m()({startAngle:a,endAngle:s,padAngle:r},t))},gy=function(e){var t=(e=function(e){var t=De(e.style,e),n=Me(e.radius,f()({},e,{style:t})),i=Me(e.innerRadius,f()({},e,{style:t,radius:n})),o=Me(e.ariaLabel,e),r=Me(e.id,e),a=Me(e.cornerRadius,e),s=Me(e.padAngle,e),l=Me(e.sliceStartAngle,e),c=Me(e.sliceEndAngle,e),d=Me(e.tabIndex,e);return f()({},e,{ariaLabel:o,style:t,radius:n,innerRadius:i,id:r,cornerRadius:a,padAngle:s,sliceStartAngle:l,sliceEndAngle:c,tabIndex:d})}(e)).origin?"translate(".concat(e.origin.x,", ").concat(e.origin.y,")"):void 0;return s.cloneElement(e.pathComponent,hy({},e.events,{"aria-label":e.ariaLabel,d:fy(e),style:e.style,transform:e.transform||t,className:e.className,role:e.role,shapeRendering:e.shapeRendering,clipPath:e.clipPath,tabIndex:e.tabIndex}))};gy.propTypes=hy({},Vs,{cornerRadius:b().oneOfType([b().number,b().func]),datum:b().object,innerRadius:b().oneOfType([b().number,b().func]),padAngle:b().oneOfType([b().number,b().func]),pathComponent:b().element,pathFunction:b().func,radius:b().oneOfType([b().number,b().func]),slice:b().object,sliceEndAngle:b().oneOfType([b().number,b().func]),sliceStartAngle:b().oneOfType([b().number,b().func])}),gy.defaultProps={pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const my=gy;var vy=function(e,t){var n=t.style,i=function(e,t,n){return e&&e.data&&e.data.fill?e.data.fill:t&&t[n%t.length]}(n,t.colors,e);return f()({fill:i},n.data)};function by(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _y(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function yy(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ay={endAngle:360,height:400,innerRadius:0,cornerRadius:0,padAngle:0,padding:30,width:400,startAngle:0,colorScale:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],labelPosition:"centroid"},wy=function(e){function t(){return by(this,t),yy(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"shouldAnimate",value:function(){return Boolean(this.props.animate)}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,i=Pe(this.props,Ay,n);if(this.shouldAnimate())return this.animateComponent(i,e);var o=this.renderData(i);return i.standalone?this.renderContainer(i.containerComponent,o):o}}])&&_y(n.prototype,i),t}(s.Component);Object.defineProperty(wy,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","endAngle","height","innerRadius","cornerRadius","padAngle","padding","colorScale","startAngle","style","width"]}),Object.defineProperty(wy,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPie"}),Object.defineProperty(wy,"role",{configurable:!0,enumerable:!0,writable:!0,value:"pie"}),Object.defineProperty(wy,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onExit:{duration:500,before:function(){return{_y:0,label:" "}}},onEnter:{duration:500,before:function(){return{_y:0,label:" "}},after:function(e){return{y_:e._y,label:e.label}}}}}),Object.defineProperty(wy,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:b().oneOfType([b().bool,b().object]),colorScale:b().oneOfType([b().arrayOf(b().string),b().oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:b().element,cornerRadius:b().oneOfType([Ts,b().func]),data:b().array,dataComponent:b().element,disableInlineStyes:b().bool,endAngle:b().number,eventKey:b().oneOfType([b().func,Is([Ls,Ts]),b().string]),events:b().arrayOf(b().shape({target:b().oneOf(["data","labels","parent"]),eventKey:b().oneOfType([b().func,Is([Ls,Ts]),b().string]),eventHandlers:b().object})),externalEventMutations:b().arrayOf(b().shape({callback:b().function,childName:b().oneOfType([b().string,b().array]),eventKey:b().oneOfType([b().array,Is([Ls,Ts]),b().string]),mutation:b().function,target:b().oneOfType([b().string,b().array])})),groupComponent:b().element,height:Ts,innerRadius:b().oneOfType([Ts,b().func]),labelComponent:b().element,labelPlacement:b().oneOfType([b().func,b().oneOf(["parallel","perpendicular","vertical"])]),labelPosition:b().oneOfType([b().func,b().oneOf(["startAngle","centroid","endAngle"])]),labelRadius:b().oneOfType([Ts,b().func]),labels:b().oneOfType([b().func,b().array]),name:b().string,origin:b().shape({x:Ts,y:Ts}),padAngle:b().oneOfType([Ts,b().func]),padding:b().oneOfType([b().number,b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number})]),radius:b().oneOfType([Ts,b().func]),sharedEvents:b().shape({events:b().array,getEventState:b().func}),sortKey:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)]),sortOrder:b().oneOf(["ascending","descending"]),standalone:b().bool,startAngle:b().number,style:b().shape({parent:b().object,data:b().object,labels:b().object}),theme:b().object,width:Ts,x:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)]),y:b().oneOfType([b().func,Is([Ls,Ts]),b().string,b().arrayOf(b().string)])}}),Object.defineProperty(wy,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:[{x:"A",y:1},{x:"B",y:2},{x:"C",y:3},{x:"D",y:1},{x:"E",y:2}],standalone:!0,dataComponent:s.createElement(my,null),labelComponent:s.createElement(Qc,null),containerComponent:s.createElement(Ml,null),groupComponent:s.createElement("g",null),sortOrder:"ascending",theme:Gl.grayscale}}),Object.defineProperty(wy,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return function(e,t){var n=function(e){var t=e.colorScale,n=Ee(e,"pie"),i=ke(e.style,n),o=Array.isArray(t)?t:$a(t),r=xe(e),a=function(e,t){return"number"==typeof e.radius?e.radius:Math.min(e.width-t.left-t.right,e.height-t.top-t.bottom)/2}(e,r),s=function(e,t){var n=e.width,i=e.height,o=y()(e.origin)?e.origin:{};return{x:void 0!==o.x?o.x:(t.left-t.right+n)/2,y:void 0!==o.y?o.y:(t.top-t.bottom+i)/2}}(e,r),l=fa(e),c=function(e,t){var n=T()(e.padAngle)?0:e.padAngle;return cm().sort(null).startAngle(Ne(e.startAngle)).endAngle(Ne(e.endAngle)).padAngle(Ne(n)).value((function(e){return e._y}))(t)}(e,l);return f()({},e,{style:i,colors:o,padding:r,defaultRadius:a,data:l,slices:c,origin:s})}(e=Pe(e,t,"pie")),i=n.slices,o=n.style,r=n.data,a=n.origin,s=n.defaultRadius,l=n.labels,c=n.events,d=n.sharedEvents,u=n.height,h=n.width,p=n.standalone,g=n.name,v=n.innerRadius,b=n.cornerRadius,_=n.padAngle,A=n.disableInlineStyles,w=e.radius||s,C={parent:{standalone:p,height:u,width:h,slices:i,name:g,style:o.parent}};return i.reduce((function(t,i,o){var s=m()({},r[o],{startAngle:Ie(i.startAngle),endAngle:Ie(i.endAngle),padAngle:Ie(i.padAngle)}),u=Kc()(s.eventKey)?o:s.eventKey,h={index:o,slice:i,datum:s,data:r,origin:a,innerRadius:v,radius:w,cornerRadius:b,padAngle:_,style:A?{}:vy(o,n),disableInlineStyles:A};t[u]={data:h};var p=function(e,t,n){return null==(i=t.label?t.label:Array.isArray(e.labels)?e.labels[n]:T()(e.labels)?e.labels:t.xName||t._x)||T()(i)?i:"".concat(i);var i}(e,s,o);if(null!=p||l&&(c||d)){var g=Me(p,h);t[u].labels=function(e,t,n){var i=t.index,o=t.datum,r=t.data,a=t.slice,s=t.labelComponent,l=t.theme,c=n.style,d=n.defaultRadius,u=n.origin,h=n.width,p=n.height,g=Me(n.labelRadius,f()({text:e},t)),v=Me(n.labelPosition,f()({text:e},t))||"centroid",b=Me(n.labelPlacement,f()({text:e},t))||"vertical",_=f()({padding:0},c.labels),y=function(e,t,n){var i=n&&n.padding||0,o=t||e+i;return em().outerRadius(o).innerRadius(o)}(d,g,De(_,f()({labelRadius:g,text:e},t))),A=function(e,t,n){var i={startAngle:"startAngle"===n?t.startAngle:t.endAngle,endAngle:"endAngle"===n?t.endAngle:t.startAngle},o=f()({},t,i);return e.centroid(o)}(y,a,v),w=function(e,t,n){var i;return((i=void 0!==t.angle?n.angle:Ie("centroid"===t?(e.startAngle+e.endAngle)/2:"startAngle"===t?e.startAngle:e.endAngle))<0?360-i:i)%360}(a,v,_),C=function(e,t){return"vertical"===t?0:"parallel"===t?e>180&&e<360?e+90:e-90:e>90&&e<270?e-180:e}(w,b),x=function(e,t){return"perpendicular"===t?e>90&&e<270?"bottom":"top":"parallel"===t?e>=0&&e<=180?"right":"left":e<45||e>315?"top":e>=45&&e<135?"right":e>=135&&e<225?"bottom":"left"}(w,b),S=_.textAnchor||function(e){return"top"===e||"bottom"===e?"middle":"right"===e?"start":"end"}(x),E=_.verticalAnchor||function(e){return"left"===e||"right"===e?"middle":"bottom"===e?"start":"end"}(x),k={width:h,height:p,index:i,datum:o,data:r,slice:a,orientation:x,text:e,style:_,x:Math.round(A[0])+u.x,y:Math.round(A[1])+u.y,textAnchor:S,verticalAnchor:E,angle:C};if(!Se(s))return k;var M=l&&l.tooltip||{};return m()({},k,Ae(M,["style"]))}(g,f()({},e,h),n)}return t}),C)}(e,Ay)}}),Object.defineProperty(wy,"getData",{configurable:!0,enumerable:!0,writable:!0,value:fa}),Object.defineProperty(wy,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]});const Cy=Ud(wy);var xy,Sy,Ey;!function(e){e.centroid="centroid",e.endAngle="endAngle",e.startAngle="startAngle"}(xy||(xy={})),function(e){e.bottom="bottom",e.right="right"}(Sy||(Sy={})),function(e){e.ascending="ascending",e.descending="descending"}(Ey||(Ey={}));const ky=e=>{var{allowTooltip:t=!0,ariaDesc:n,ariaTitle:i,constrainToVisibleArea:o=!1,containerComponent:r=s.createElement(uf,null),labels:l,legendAllowWrap:c=!1,legendComponent:d=s.createElement(rg,null),legendData:u,legendPosition:h=Uf.legend.position,padding:p,radius:f,standalone:g=!0,themeColor:m,themeVariant:v,theme:b=lf(m,v),labelComponent:_=(t?s.createElement(p_,{constrainToVisibleArea:o,theme:b}):void 0),legendOrientation:y=b.legend.orientation,height:A=b.pie.height,width:w=b.pie.width}=e,C=(0,a.__rest)(e,["allowTooltip","ariaDesc","ariaTitle","constrainToVisibleArea","containerComponent","labels","legendAllowWrap","legendComponent","legendData","legendPosition","padding","radius","standalone","themeColor","themeVariant","theme","labelComponent","legendOrientation","height","width"]);const x={bottom:ag("bottom",p,b.pie.padding),left:ag("left",p,b.pie.padding),right:ag("right",p,b.pie.padding),top:ag("top",p,b.pie.padding)},S=f||(()=>{const e=Te({height:A,width:w,padding:x});return e>-1?e:void 0})(),E=s.createElement(Cy,Object.assign({height:A,key:"pf-chart-pie",labels:l,labelComponent:_,padding:p,radius:S,standalone:!1,theme:b,width:w},C)),k=s.cloneElement(d,Object.assign({data:u,key:"pf-chart-pie-legend",orientation:y,theme:b},d.props)),M=()=>k.props.data?pg({allowWrap:c,chartType:"pie",height:A,legendComponent:k,padding:x,position:h,theme:b,width:w}):null,D=s.cloneElement(r,Object.assign({desc:n,height:A,title:i,width:w,theme:b},r.props),[E,M()]);return g?s.createElement(s.Fragment,null,D):s.createElement(s.Fragment,null,E,M())};var My,Dy,Ny;ky.displayName="ChartPie",c()(ky,Cy),function(e){e.centroid="centroid",e.endAngle="endAngle",e.startAngle="startAngle"}(My||(My={})),function(e){e.ascending="ascending",e.descending="descending"}(Dy||(Dy={})),function(e){e.bottom="bottom",e.center="center",e.right="right"}(Ny||(Ny={}));const Iy=e=>{var{allowTooltip:t=!0,ariaDesc:n,ariaTitle:i,capHeight:o=1.1,containerComponent:r=s.createElement(uf,null),innerRadius:l,legendAllowWrap:c,legendPosition:d=Uf.legend.position,padAngle:u,padding:h,radius:p,standalone:f=!0,subTitle:g,subTitleComponent:m,subTitlePosition:v=Gf.label.subTitlePosition,themeColor:b,themeVariant:_,title:y,titleComponent:A=s.createElement(Zf,null),theme:w=tf(b,_),height:C=w.pie.height,width:x=w.pie.width}=e,S=(0,a.__rest)(e,["allowTooltip","ariaDesc","ariaTitle","capHeight","containerComponent","innerRadius","legendAllowWrap","legendPosition","padAngle","padding","radius","standalone","subTitle","subTitleComponent","subTitlePosition","themeColor","themeVariant","title","titleComponent","theme","height","width"]);const E={bottom:ag("bottom",h,w.pie.padding),left:ag("left",h,w.pie.padding),right:ag("right",h,w.pie.padding),top:ag("top",h,w.pie.padding)},k=p||Te({height:C,width:x,padding:E}),M=l||k-9,D=g&&v===Ny.center,N=()=>!m&&D?T({styles:[Gf.label.title,Gf.label.subTitle],titles:[y,g]}):s.createElement(s.Fragment,{key:"pf-chart-donut-titles"},T({titles:y,dy:D?-8:0}),I({textComponent:m,dy:D?15:0})),I=({dy:e=0,textComponent:t=s.createElement(Zf,null)})=>{if(!g)return null;const n=t.props?t.props:{};return s.cloneElement(t,Object.assign({key:"pf-chart-donut-subtitle",style:Gf.label.subTitle,text:g,textAnchor:"right"===v?"start":"middle",verticalAnchor:"middle",x:dg({height:C,labelPosition:v,legendPosition:d,padding:E,width:x}),y:ug({dy:e,height:C,labelPosition:v,padding:E,width:x})},n))},T=({dy:e=0,styles:t=Gf.label.title,titles:n=y})=>{if(!n)return null;const i=A?A.props:{};return s.cloneElement(A,Object.assign(Object.assign(Object.assign({},Array.isArray(n)&&{capHeight:o}),{key:"pf-chart-donut-title",style:t,text:n,textAnchor:"middle",verticalAnchor:"middle",x:dg({height:C,labelPosition:"center",legendPosition:d,padding:E,width:x}),y:ug({dy:e,height:C,labelPosition:"center",padding:E,width:x})}),i))},L=s.createElement(ky,Object.assign({allowTooltip:t,height:C,innerRadius:M>0?M:0,key:"pf-chart-donut-pie",legendAllowWrap:c,legendPosition:d,padAngle:void 0!==u?u:({datum:e})=>e._y>0?w.pie.padAngle:0,padding:h,radius:k>0?k:0,standalone:!1,theme:w,width:x},S)),B=s.cloneElement(r,Object.assign({desc:n,height:C,title:i,width:x,theme:w},r.props),[L,N()]);return f?s.createElement(s.Fragment,null,B):s.createElement(s.Fragment,null,L,N())};var Ty,Ly,By,Oy,Py;Iy.displayName="ChartDonut",c()(Iy,Cy),function(e){e.left="left",e.right="right",e.top="top"}(Ty||(Ty={})),function(e){e.horizontal="horizontal",e.vertical="vertical"}(Ly||(Ly={})),function(e){e.centroid="centroid",e.endAngle="endAngle",e.startAngle="startAngle"}(By||(By={})),function(e){e.ascending="ascending",e.descending="descending"}(Oy||(Oy={})),function(e){e.bottom="bottom",e.center="center",e.right="right"}(Py||(Py={}));const Fy=e=>{var{allowTooltip:t=!0,ariaDesc:n,ariaTitle:i,children:o,constrainToVisibleArea:r=!1,containerComponent:l=s.createElement(uf,null),data:c=[],invert:d=!1,labels:u=[],padding:h,radius:p,standalone:f=!0,subTitlePosition:g=Gf.label.subTitlePosition,themeColor:m,themeVariant:v,x:b,y:_,theme:y=of(m,v,d),height:A=y.pie.height,width:w=y.pie.width}=e,C=(0,a.__rest)(e,["allowTooltip","ariaDesc","ariaTitle","children","constrainToVisibleArea","containerComponent","data","invert","labels","padding","radius","standalone","subTitlePosition","themeColor","themeVariant","x","y","theme","height","width"]);const x={bottom:ag("bottom",h,y.pie.padding),left:ag("left",h,y.pie.padding),right:ag("right",h,y.pie.padding),top:ag("top",h,y.pie.padding)},S=p||Te({height:A,width:w,padding:x}),E=()=>s.Children.toArray(o).map(((e,t)=>{if(s.isValidElement(e)){const n=e.props,{data:i}=n,o=(0,a.__rest)(n,["data"]),l=ha([i],o,["x","y"]),c=o.theme||nf(o.themeColor||m,o.themeVariant||v);return s.cloneElement(e,Object.assign({constrainToVisibleArea:r,data:i,endAngle:360*(l[0]._y?l[0]._y/100:0),height:A,invert:d,key:`pf-chart-donut-threshold-child-${t}`,padding:x,radius:S-14,showStatic:!1,standalone:!1,subTitlePosition:o.subTitlePosition||g,theme:c,width:w},o))}return e})),k=s.createElement(Iy,Object.assign({allowTooltip:t,constrainToVisibleArea:r,data:(()=>{const e=ha(c,Object.assign({x:b,y:_},C),["x","y"]).sort(((e,t)=>e._y-t._y)),[t,n]=e.reduce(((e,t)=>[t._y,[...e[1],{x:t._x,y:t._y-e[0]}]]),[0,[]]);return[...n,{y:t?100-t:0}]})(),height:A,key:"pf-chart-donut-threshold",labels:u,padding:x,standalone:!1,theme:y,width:w},C)),M=s.cloneElement(l,Object.assign({desc:n,height:A,title:i,width:w,theme:y},l.props),[k,E()]);return f?s.createElement(s.Fragment,null,M):s.createElement(s.Fragment,null,k,E())};var Ry,jy,zy,Vy,Wy;Fy.displayName="ChartDonutThreshold",c()(Fy,Cy),function(e){e.centroid="centroid",e.endAngle="endAngle",e.startAngle="startAngle"}(Ry||(Ry={})),function(e){e.horizontal="horizontal",e.vertical="vertical"}(jy||(jy={})),function(e){e.bottom="bottom",e.right="right"}(zy||(zy={})),function(e){e.ascending="ascending",e.descending="descending"}(Vy||(Vy={})),function(e){e.bottom="bottom",e.center="center",e.right="right"}(Wy||(Wy={}));const Hy=e=>{var{allowTooltip:t=!0,ariaDesc:n,ariaTitle:i,containerComponent:o=s.createElement(uf,null),data:r,invert:l=!1,legendPosition:c=Uf.legend.position,padding:d,showStatic:u=!0,standalone:h=!0,themeColor:p,themeVariant:f,thresholds:g,x:m,y:v,theme:b=rf(p,f),height:_=b.pie.height,width:y=b.pie.width}=e,A=(0,a.__rest)(e,["allowTooltip","ariaDesc","ariaTitle","containerComponent","data","invert","legendPosition","padding","showStatic","standalone","themeColor","themeVariant","thresholds","x","y","theme","height","width"]);const w=()=>ha([Object.assign({},r)],Object.assign({x:m,y:v},A),["x","y"]).sort(((e,t)=>e._y-t._y)),C=s.createElement(Iy,Object.assign({allowTooltip:t,data:(()=>{const e=w(),t=[{x:e[0]._x,y:e[0]._y||0}];return u&&t.push({y:e[0]._x?Math.abs(100-e[0]._y):100}),t})(),height:_,key:"pf-chart-donut-utilization",legendPosition:c,padding:d,standalone:!1,theme:(()=>{const e=Object.assign({},b);if(r){const t=w(),n=(()=>{const e=[];if(g){const t=z()(g,"value",l?"desc":"asc"),n=Kf.thresholds.colorScale.length;for(let i=0;i<t.length;i++)e.push({color:t[i].color?t[i].color:Kf.thresholds.colorScale[i%n],value:t[i].value})}return e})(),i=t=>{e.pie.colorScale instanceof Array?e.pie.colorScale[0]=n[t].color:e.pie.colorScale=n[t].color,e.legend.colorScale instanceof Array?e.legend.colorScale[0]=n[t].color:e.legend.colorScale=n[t].color};for(let e=0;e<n.length;e++)l?t[0]._y<=n[e].value&&i(e):t[0]._y>=n[e].value&&i(e)}return e})(),width:y},A)),x=s.cloneElement(o,Object.assign({desc:n,height:_,title:i,width:y,theme:b},o.props),[C]);return h?s.createElement(s.Fragment,null,x):s.createElement(s.Fragment,null,C)};function Uy(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Hy.displayName="ChartDonutUtilization",c()(Hy,Cy);var Qy={width:450,height:300,padding:50,offset:0};function Gy(e,t){var n="group";e=Pe(e,Qy,n);var i=ys.getStyle(e.theme,e.style,n),o=e,r=o.offset,a=o.colorScale,s=o.color,l=o.polar,c=o.horizontal,d=e.categories||ys.getCategories(e,t),u=e.datasets||ys.getDataFromChildren(e),h={x:ys.getDomain(f()({},e,{categories:d}),"x",t),y:ys.getDomain(f()({},e,{categories:d}),"y",t)},p=e.range||{x:Be(e,"x"),y:Be(e,"y")},g={x:ea(e,"x")||ys.getScale(e,"x"),y:ea(e,"y")||ys.getScale(e,"y")};return{datasets:u,categories:d,range:p,domain:h,horizontal:c,scale:{x:g.x.domain(h.x).range(e.horizontal?p.y:p.x),y:g.y.domain(h.y).range(e.horizontal?p.x:p.y)},style:i,colorScale:a,color:s,offset:r,origin:l?e.origin:Le(e),padding:xe(e)}}function Ky(e,t){var n=t.type&&t.type.role,i=t.props.colorScale||e.colorScale;if("group"===n||"stack"===n)return e.theme&&e.theme.group?i||e.theme.group.colorScale:i}function Yy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=e.data||e.y?fa(e):t,o=n||0;return i.map((function(e){var t=e._x instanceof Date?new Date(e._x.getTime()+o):e._x+o;return f()({},e,{_x1:t})}))}function $y(e,t,n){e=Pe(e,Qy,"stack"),t=t||s.Children.toArray(e.children);var i=(n=n||Gy(e,t)).datasets,o=e,r=o.labelComponent,a=o.polar,l=function(e,t){var n=t.categories,i=t.domain,o=t.range,r=t.scale,a=t.horizontal,s=t.origin,l=t.padding,c=e.width;return{height:e.height,width:c,theme:e.theme,polar:e.polar,origin:s,categories:n,domain:i,range:o,scale:r,horizontal:a,padding:l,standalone:!1}}(e,n),c=e.name||"group";return t.map((function(t,o){var d=t.type&&t.type.role,u=a?function(e,t,n,i){var o=(("stack"===i?t.datasets[0].length:t.datasets.length)-1)/2,r=function(e,t){var n=t.range,i=Math.abs(n.x[1]-n.x[0]),o=Math.max.apply(Math,Uy(n.y));return e.offset/(2*Math.PI*o)*i}(e,t);return(n-o)*r}(e,n,o,d):function(e,t,n,i){var o=(("stack"===i?t.datasets[0].length:t.datasets.length)-1)/2,r=function(e,t,n){if(!e.offset)return 0;var i=Fe("x",e.horizontal),o=n.domain.x,r=n.range[i];return(Math.max.apply(Math,Uy(o))-Math.min.apply(Math,Uy(o)))/(Math.max.apply(Math,Uy(r))-Math.min.apply(Math,Uy(r)))*e.offset}(e,0,t);return(n-o)*r}(e,n,o,d),h="voronoi"===d||"tooltip"===d||"label"===d?t.props.style:ys.getChildStyle(t,o,n),p=e.labels?function(e,t,n){if(e.labels)return Math.floor(t.length/2)===n?e.labels:void 0}(e,i,o):t.props.labels,g=t.props.name||"".concat(c,"-").concat(d,"-").concat(o);return s.cloneElement(t,f()({labels:p,style:h,key:"".concat(g,"-key-").concat(o),name:g,data:Yy(e,i[o],u),colorScale:Ky(e,t),labelComponent:r||t.props.labelComponent,xOffset:u},l))}))}function Jy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qy(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Zy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Xy,eA={width:450,height:300,padding:50,offset:0},tA=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Zy(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=ys.setAnimationState.bind(Zy(n))),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!Zl()(this.props,e)&&(this.setAnimationState(this.props,e),1))}},{key:"getNewChildren",value:function(e,t,n){var i=$y(e,t,n),o=ys.getAnimationProps.bind(this);return i.map((function(t,n){var i=f()({animate:o(e,t,n)},t.props);return s.cloneElement(t,i)}))}},{key:"renderContainer",value:function(e,t){var n=m()({},e.props,t);return s.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,i=e.height,o=e.standalone,r=e.theme,a=e.polar,s=e.horizontal,l=e.name,c=t.domain,d=t.scale,u=t.style,h=t.origin;return{domain:c,scale:d,width:n,height:i,standalone:o,theme:r,style:u.parent,horizontal:s,polar:a,origin:h,name:l}}},{key:"render",value:function(){var e=this.constructor.role,t=this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props,n=Pe(t,eA,e),i=n.eventKey,o=n.containerComponent,r=n.standalone,a=n.groupComponent,l=n.externalEventMutations,c=s.Children.toArray(n.children),d=Gy(n,c),u=this.getNewChildren(n,c,d),p=r?this.getContainerProps(n,d):{},f=r?this.renderContainer(o,p):a,g=ys.getAllEvents(t);return h()(g)?s.cloneElement(f,f.props,u):s.createElement(ic,{container:f,eventKey:i,events:g,externalEventMutations:l},u)}}],i&&qy(n.prototype,i),t}(s.Component);Object.defineProperty(tA,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryGroup"}),Object.defineProperty(tA,"role",{configurable:!0,enumerable:!0,writable:!0,value:"group"}),Object.defineProperty(tA,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Jy(e,t,n[t])}))}return e}({},zs,js,{children:b().oneOfType([b().arrayOf(b().node),b().node]),color:b().oneOfType([b().string,b().func]),colorScale:b().oneOfType([b().arrayOf(b().string),b().oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),horizontal:b().bool,offset:b().number})}),Object.defineProperty(tA,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:s.createElement(Ml,null),groupComponent:s.createElement("g",null),samples:50,sortOrder:"ascending",standalone:!0,theme:Gl.grayscale}}),Object.defineProperty(tA,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent","labelComponent"]}),Object.defineProperty(tA,"getChildren",{configurable:!0,enumerable:!0,writable:!0,value:$y}),function(e){e.ascending="ascending",e.descending="descending"}(Xy||(Xy={}));const nA=e=>{var{ariaDesc:t,ariaTitle:n,children:i,containerComponent:o=s.createElement(uf,null),themeColor:r,themeVariant:l,theme:c=lf(r,l)}=e,d=(0,a.__rest)(e,["ariaDesc","ariaTitle","children","containerComponent","themeColor","themeVariant","theme"]);const u=s.cloneElement(o,Object.assign(Object.assign({desc:t,title:n,theme:c},o.props),{className:df({className:o.props.className})}));return s.createElement(tA,Object.assign({containerComponent:u,theme:c},d),i)};nA.displayName="ChartGroup",c()(nA,tA);const iA=e=>{var{dx:t=0,index:n=0,legendData:i,legendLabelComponent:o=s.createElement(Zf,null),style:r,text:l,textAnchor:c="end",x:d,y:u}=e,h=(0,a.__rest)(e,["dx","index","legendData","legendLabelComponent","style","text","textAnchor","x","y"]);const p=e=>{const t=e=>m()(Object.assign({},e),{fill:Yf.label.fill});return Array.isArray(e)?e.map(t):t(e)},f=(()=>{const e=i&&i.length?i[n].name:void 0;return s.cloneElement(o,{style:p({}),text:e,textAnchor:"start",x:d,y:u})})(),g=(()=>{const e=d+Me(t);return s.createElement(Zf,Object.assign({style:p(r),text:l,textAnchor:c,x:e,y:u},h))})();return s.createElement(s.Fragment,null,f,g)};iA.displayName="ChartLegendTooltipLabel",c()(iA,Qc);const oA=e=>{var{activePoints:t,center:n,datum:i,dx:o=0,dy:r=0,flyoutHeight:l,flyoutWidth:c,height:d,labelComponent:u=s.createElement(iA,null),legendComponent:h=s.createElement(rg,null),legendData:p,text:f,themeColor:g,themeVariant:m,title:v,titleComponent:b=s.createElement(Zf,null),width:_,theme:y=lf(g,m)}=e,A=(0,a.__rest)(e,["activePoints","center","datum","dx","dy","flyoutHeight","flyoutWidth","height","labelComponent","legendComponent","legendData","text","themeColor","themeVariant","title","titleComponent","width","theme"]);const w=y&&y.tooltip?Me(y.tooltip.pointerLength):10,C=sy(h.props),x=cy({activePoints:t,colorScale:C.colorScale,legendData:p,text:f,theme:y}),S=v?5:-10,E=()=>{if(!(n||c||_)){return A.x||void 0}const e=Me(c);return _>n.x+e+w?n.x+Yf.flyout.padding/2:n.x<e+w?Yf.flyout.padding/2-w:n.x-e},k=()=>{if(!(n||l||d)){return A.y||void 0}const e=Me(l);return n.y<e/2?Yf.flyout.padding/2:n.y>d-e/2?d-e+Yf.flyout.padding/2:n.y-e/2+Yf.flyout.padding/2},M=ly({legendData:x,legendProps:C,text:dy({activePoints:t,legendData:p,text:f}),theme:y}),D=ly({legendData:[{name:""}],legendProps:C,theme:y});return s.createElement(s.Fragment,null,(()=>{const e=v instanceof Function?v(i):v;return s.cloneElement(b,Object.assign({style:{fill:Yf.label.fill,fontWeight:Yf.label.fontWeight},text:e,textAnchor:"start",x:E()+10+Me(o),y:k()+0+Me(r)},b.props))})(),s.cloneElement(h,Object.assign({data:cy({activePoints:t,colorScale:C.colorScale,legendData:p,text:f,textAsLegendData:!0,theme:y}),labelComponent:s.cloneElement(u,Object.assign({dx:M.width-D.width,legendData:x},u.props)),standalone:!1,theme:y,x:E()+0+Me(o),y:k()+S+Me(r)},C)))};oA.displayName="ChartLegendTooltipContent",c()(oA,Wf,{getBaseProps:!0});const rA=e=>{var{activePoints:t,datum:n,center:i={x:0,y:0},flyoutHeight:o,flyoutWidth:r,height:l,isCursorTooltip:c=!0,labelComponent:d=s.createElement(oA,null),legendData:u,text:h,themeColor:p,themeVariant:f,title:g,width:m,theme:v=lf(p,f)}=e,b=(0,a.__rest)(e,["activePoints","datum","center","flyoutHeight","flyoutWidth","height","isCursorTooltip","labelComponent","legendData","text","themeColor","themeVariant","title","width","theme"]);const _=v&&v.tooltip?Me(v.tooltip.pointerLength):10,y=({height:e})=>{const t=e+Yf.flyout.padding;return g?t:t-10},A=({width:e})=>e+Yf.flyout.padding;return(()=>{const e=ly({legendData:cy({activePoints:t,legendData:u,text:h,theme:v}),legendProps:sy(d.props.legendComponent),text:dy({activePoints:t,legendData:u,text:h}),theme:v});if(0===e.height&&0===e.width)return null;const a=A(e),p=c?s.createElement(uy,null):s.createElement(p_,null);return s.cloneElement(p,Object.assign(Object.assign(Object.assign({activePoints:t,center:i,datum:n,flyoutHeight:o||y(e),flyoutWidth:r||A(e),height:l,labelComponent:(f=e,s.cloneElement(d,Object.assign({center:i,flyoutHeight:o||y(f),flyoutWidth:r||A(f),height:l,legendData:u,title:g,width:m},d.props)))},void 0===r&&{showPointer:m>a+i.x+_||i.x>a+_}),{text:h,theme:v,width:m}),b));var f})()};rA.displayName="ChartLegendTooltip",c()(rA,h_);function aA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){sA(e,t,n[t])}))}return e}function sA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lA=function(e){return null!=(void 0!==e._y1?e._y1:e._y)&&null!==e._y0},cA=function(e){return function(t){return e.x(void 0!==t._x1?t._x1:t._x)}},dA=function(e){return function(t){return e.y(void 0!==t._y1?t._y1:t._y)}},uA=function(e){return"curve".concat(function(e){return e&&e[0].toUpperCase()+e.slice(1)}(e))},hA=function(e){var t=e=function(e){var t=Me(e.ariaLabel,e),n=Me(e.id,e),i=De(f()({fill:"none",stroke:"black"},e.style),e),o=Me(e.tabIndex,e);return f()({},e,{ariaLabel:t,id:n,style:i,tabIndex:o})}(e),n=t.polar,i=t.origin,o=function(e){var t=e.polar,n=e.scale,i=e.horizontal,o=!t,a=void 0===e.openCurve?o:e.openCurve,s="function"==typeof e.interpolation&&e.interpolation,l="string"==typeof e.interpolation&&(a?uA(e.interpolation):"".concat(uA(e.interpolation),"Closed"));return t?fm().defined(lA).curve(s||r[l]).angle(function(e){return function(t){return-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2}}(n)).radius(dA(n)):rm().defined(lA).curve(s||r[l]).x(i?dA(n):cA(n)).y(i?cA(n):dA(n))}(e),a=n&&i?"translate(".concat(i.x,", ").concat(i.y,")"):void 0;return s.cloneElement(e.pathComponent,aA({},e.events,{"aria-label":e.ariaLabel,d:o(e.data),style:e.style,transform:e.transform||a,className:e.className,role:e.role,shapeRendering:e.shapeRendering,clipPath:e.clipPath,tabIndex:e.tabIndex}))};hA.propTypes=aA({},Vs,{interpolation:b().oneOfType([b().string,b().func]),openCurve:b().bool,origin:b().object,pathComponent:b().element,polar:b().bool}),hA.defaultProps={pathComponent:s.createElement(pu,null),role:"presentation",shapeRendering:"auto"};const pA=hA;function fA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mA(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function vA(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var bA={width:450,height:300,padding:50,interpolation:"linear"},_A=function(e){function t(){return gA(this,t),vA(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var e=t.animationWhitelist,n=t.role,i=Pe(this.props,bA,n);if(this.shouldAnimate())return this.animateComponent(i,e);var o=this.renderContinuousData(i);return i.standalone?this.renderContainer(i.containerComponent,o):o}}])&&mA(n.prototype,i),t}(s.Component);Object.defineProperty(_A,"animationWhitelist",{configurable:!0,enumerable:!0,writable:!0,value:["data","domain","height","padding","samples","style","width"]}),Object.defineProperty(_A,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLine"}),Object.defineProperty(_A,"role",{configurable:!0,enumerable:!0,writable:!0,value:"line"}),Object.defineProperty(_A,"defaultTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}}),Object.defineProperty(_A,"defaultPolarTransitions",{configurable:!0,enumerable:!0,writable:!0,value:{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(e,t,n){var i=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:i("_x"),_y:i("_y"),_y0:i("_y0")}}},onEnter:{duration:500,before:function(e,t,n){var i=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:i("_x"),_y:i("_y"),_y0:i("_y0")}},after:function(e){return{_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0}}}}}),Object.defineProperty(_A,"continuous",{configurable:!0,enumerable:!0,writable:!0,value:!0}),Object.defineProperty(_A,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){fA(e,t,n[t])}))}return e}({},zs,js,{interpolation:b().oneOfType([b().oneOf(["basis","bundle","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),b().func]),label:Ns(b().string,"Use `labels` instead for individual data labels")})}),Object.defineProperty(_A,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:s.createElement(Ml,null),dataComponent:s.createElement(pA,null),labelComponent:s.createElement(Qc,{renderInPortal:!0}),groupComponent:s.createElement(db,null),samples:50,sortKey:"x",sortOrder:"ascending",standalone:!0,theme:Gl.grayscale}}),Object.defineProperty(_A,"getDomain",{configurable:!0,enumerable:!0,writable:!0,value:wa}),Object.defineProperty(_A,"getData",{configurable:!0,enumerable:!0,writable:!0,value:fa}),Object.defineProperty(_A,"getBaseProps",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return function(e,t){var n=Pe(e,t,"line");e=f()({},n,function(e){var t=fa(e);t.length<2&&(t=[]);var n={x:Be(e,"x"),y:Be(e,"y")},i={x:wa(e,"x"),y:wa(e,"y")},o={x:Xr(e,"x").domain(i.x).range(e.horizontal?n.y:n.x),y:Xr(e,"y").domain(i.y).range(e.horizontal?n.x:n.y)},r=e.polar?e.origin||Le(e):void 0,a=Ee(e,"line");return{domain:i,data:t,scale:o,style:ke(e.style,a),origin:r}}(n));var i=e,o=i.data,r=i.domain,a=i.events,s=i.groupComponent,l=i.height,c=i.horizontal,d=i.interpolation,u=i.origin,h=i.padding,p=i.polar,g=i.scale,m=i.sharedEvents,v=i.standalone,b=i.style,_=i.theme,y=i.width,A=i.labels,w=i.name,C=i.disableInlineStyles,x={parent:{style:b.parent,scale:g,data:o,height:l,width:y,name:w,domain:r,standalone:v,polar:p,origin:u,padding:h,horizontal:c},all:{data:{horizontal:c,polar:p,origin:u,scale:g,data:o,interpolation:d,groupComponent:s,style:C?{}:b.data,theme:_,disableInlineStyles:C}}};return o.reduce((function(t,n,i){return(null!=Sc(e,n,i)||A&&(a||m))&&(t[Kc()(n.eventKey)?i:n.eventKey]={labels:Nc(e,i)}),t}),x)}(e,bA)}}),Object.defineProperty(_A,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["dataComponent","labelComponent","groupComponent","containerComponent"]});const yA=Ud(_A,{components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]});var AA;!function(e){e.ascending="ascending",e.descending="descending"}(AA||(AA={}));const wA=e=>{var{containerComponent:t=s.createElement(uf,null),themeColor:n,themeVariant:i,theme:o=lf(n,i)}=e,r=(0,a.__rest)(e,["containerComponent","themeColor","themeVariant","theme"]);const l=s.cloneElement(t,Object.assign({theme:o},t.props));return s.createElement(yA,Object.assign({containerComponent:l,theme:o},r))};wA.displayName="ChartLine",c()(wA,yA);var CA={width:450,height:300,padding:50};function xA(e,t){var n=ys.getDataFromChildren(e,t).map((function(e){return e.filter((function(e){return null!==e._x&&null!==e._y}))})),i=function(e,t){var n=e.fillInMissingData,i=t.reduce((function(e,t){return t.forEach((function(t){e[t._x instanceof Date?t._x.getTime():t._x]=!0})),e}),{}),o=be()(i).map((function(e){return+e})),r=z()(o);return t.map((function(e){var t=0,i=e[0]&&e[0]._x instanceof Date;return r.map((function(o,r){o=+o;var a=e[r-t];if(a){if((i?a._x.getTime():a._x)===o)return a;t++;var s=n?0:null;return{x:o=i?new Date(o):o,y:s,_x:o,_y:s}}var l=n?0:null;return{x:o=i?new Date(o):o,y:l,_x:o,_y:l}}))}))}(e,n);return i.map((function(t,n){return function(e,t,n){var i=e.xOffset||0;return t[n].map((function(e){var o=function(e,t,n){if(e.y0)return e.y0;var i=e._y,o=e._group,r=n[0].map((function(e){return e.y0})),a=n.slice(0,t).reduce((function(t,n){return t.concat(n.filter((function(t){return e._x instanceof Date?t._x.getTime()===e._x.getTime():t._x===e._x})).map((function(e){return e._y||0})))}),[]),s=a.length&&a.reduce((function(e,t){return i<0&&t<0||i>=0&&t>=0?+t+e:e}),r[o]||0);return a.some((function(e){return e instanceof Date}))?new Date(s):s}(e,n,t)||0;return f()({},e,{_y0:e._y instanceof Date?o?new Date(o):e._y:o,_y1:null===e._y?null:e._y instanceof Date?new Date(+e._y+ +o):e._y+o,_x1:null===e._x?null:e._x instanceof Date?new Date(+e._x+ +i):e._x+i})}))}(e,i,n)}))}function SA(e,t){t=t||s.Children.toArray(e.children);var n="stack";e=Pe(e,CA,n);var i=ys.getStyle(e.theme,e.style,n),o=e.categories||ys.getCategories(e,t),r=e.datasets||xA(e,t),a=t.map((function(e,t){return s.cloneElement(e,{data:r[t]})})),l={x:ys.getDomain(f()({},e,{categories:o}),"x",a),y:ys.getDomain(f()({},e,{categories:o}),"y",a)},c=e.range||{x:Be(e,"x"),y:Be(e,"y")},d={x:ea(e,"x")||ys.getScale(e,"x"),y:ea(e,"y")||ys.getScale(e,"y")},u={x:d.x.domain(l.x).range(e.horizontal?c.y:c.x),y:d.y.domain(l.y).range(e.horizontal?c.x:c.y)},h=e,p=h.colorScale,g=h.horizontal;return{datasets:r,categories:o,range:c,domain:l,horizontal:g,scale:u,style:i,colorScale:p,role:n}}function EA(e,t){var n=t.type&&t.type.role,i=t.props.colorScale||e.colorScale;if("group"===n||"stack"===n)return e.theme?i||e.theme.props.colorScale:i}function kA(e,t,n){e=Pe(e,CA,"stack"),t=t||s.Children.toArray(e.children);var i=(n=n||SA(e,t)).datasets,o=function(e,t){var n=t.categories,i=t.domain,o=t.range,r=t.scale,a=t.horizontal;return{height:e.height,width:e.width,padding:xe(e),standalone:!1,theme:e.theme,categories:n,domain:i,range:o,scale:r,horizontal:a}}(e,n),r=e.name||"stack";return t.map((function(t,a){var l=t.type&&t.type.role,c=i[a],d=ys.getChildStyle(t,a,n),u=e.labels?function(e,t,n){if(e.labels)return t.length===n+1?e.labels:void 0}(e,i,a):t.props.labels,h=t.props.name||"".concat(r,"-").concat(l,"-").concat(a);return s.cloneElement(t,f()({key:"".concat(h,"-key-").concat(a),labels:u,name:h,domainPadding:t.props.domainPadding||e.domainPadding,theme:e.theme,labelComponent:e.labelComponent||t.props.labelComponent,style:d,colorScale:EA(e,t),data:c,polar:e.polar},o))}))}function MA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DA(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function NA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var IA={width:450,height:300,padding:50},TA=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?NA(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),e.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=ys.setAnimationState.bind(NA(n))),n}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"shouldComponentUpdate",value:function(e){return!(this.props.animate&&!Zl()(this.props,e)&&(this.setAnimationState(this.props,e),1))}},{key:"getNewChildren",value:function(e,t,n){var i=kA(e,t,n),o=ys.getAnimationProps.bind(this);return i.map((function(t,n){var i=f()({animate:o(e,t,n)},t.props);return s.cloneElement(t,i)})).reverse()}},{key:"renderContainer",value:function(e,t){var n=m()({},e.props,t);return s.cloneElement(e,n)}},{key:"getContainerProps",value:function(e,t){var n=e.width,i=e.height,o=e.standalone,r=e.theme,a=e.polar,s=e.horizontal,l=e.name,c=t.domain,d=t.scale,u=t.style,h=t.origin;return{domain:c,scale:d,width:n,height:i,standalone:o,theme:r,style:u.parent,horizontal:s,polar:a,origin:h,name:l}}},{key:"render",value:function(){var e=this.constructor.role,t=this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props,n=Pe(t,IA,e),i=n.eventKey,o=n.containerComponent,r=n.standalone,a=n.groupComponent,l=n.externalEventMutations,c=s.Children.toArray(n.children),d=SA(n,c),u=this.getNewChildren(n,c,d),p=r?this.getContainerProps(n,d):{},f=r?this.renderContainer(o,p):a,g=ys.getAllEvents(t);return h()(g)?s.cloneElement(f,f.props,u):s.createElement(ic,{container:f,eventKey:i,events:g,externalEventMutations:l},u)}}],i&&DA(n.prototype,i),t}(s.Component);Object.defineProperty(TA,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryStack"}),Object.defineProperty(TA,"role",{configurable:!0,enumerable:!0,writable:!0,value:"stack"}),Object.defineProperty(TA,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){MA(e,t,n[t])}))}return e}({},zs,{bins:b().oneOfType([b().arrayOf(b().oneOfType([Ts,b().instanceOf(Date)])),Ts]),categories:b().oneOfType([b().arrayOf(b().string),b().shape({x:b().arrayOf(b().string),y:b().arrayOf(b().string)})]),children:b().oneOfType([b().arrayOf(b().node),b().node]),colorScale:b().oneOfType([b().arrayOf(b().string),b().oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),fillInMissingData:b().bool,horizontal:b().bool,labelComponent:b().element,labels:b().oneOfType([b().func,b().array]),style:b().shape({parent:b().object,data:b().object,labels:b().object}),xOffset:b().number})}),Object.defineProperty(TA,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{containerComponent:s.createElement(Ml,null),groupComponent:s.createElement("g",null),standalone:!0,theme:Gl.grayscale,fillInMissingData:!0}}),Object.defineProperty(TA,"expectedComponents",{configurable:!0,enumerable:!0,writable:!0,value:["groupComponent","containerComponent","labelComponent"]}),Object.defineProperty(TA,"getChildren",{configurable:!0,enumerable:!0,writable:!0,value:kA});const LA=e=>{var{ariaDesc:t,ariaTitle:n,children:i,containerComponent:o=s.createElement(uf,null),themeColor:r,themeVariant:l,theme:c=lf(r,l)}=e,d=(0,a.__rest)(e,["ariaDesc","ariaTitle","children","containerComponent","themeColor","themeVariant","theme"]);const u=s.cloneElement(o,Object.assign(Object.assign({desc:t,title:n,theme:c},o.props),{className:df({className:o.props.className})}));return s.createElement(TA,Object.assign({containerComponent:u,theme:c},d),i)};LA.displayName="ChartStack",c()(LA,TA);const BA=e=>{var{style:t={},themeColor:n,themeVariant:i,theme:o=cf(n,i)}=e,r=(0,a.__rest)(e,["style","themeColor","themeVariant","theme"]);const l=()=>t&&t.data&&t.data.strokeDasharray?t.data.strokeDasharray:cf(n,i).line.style.data.strokeDasharray,c=()=>t&&t.data&&t.data.strokeWidth?t.data.strokeWidth:cf(n,i).line.style.data.strokeWidth,d=Ju()(t);return d.data?(d.data.strokeDasharray=l(),d.data.strokeWidth=c()):d.data={strokeDasharray:l(),strokeWidth:c()},s.createElement(wA,Object.assign({style:d,theme:o},r))};BA.displayName="ChartThreshold",c()(BA,yA);var OA=n(23089),PA=n.n(OA),FA=n(14802),RA=n.n(FA),jA=n(37675),zA=n.n(jA),VA=n(76705),WA=n.n(VA),HA=n(63368);function UA(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var QA={withinBounds:function(e,t){var n=e.width,i=e.height,o=e.polar,r=e.origin,a=e.scale,s=xe(e,"voronoiPadding"),l=t.x,c=t.y;if(o){var d=Math.pow(l-r.x,2)+Math.pow(c-r.y,2),u=Math.max.apply(Math,UA(a.y.range()));return d<Math.pow(u,2)}return l>=s.left&&l<=n-s.right&&c>=s.top&&c<=i-s.bottom},getDatasets:function(e){var t={x:ne(e.domain.x),y:ne(e.domain.y)},n=s.Children.toArray(e.children),i=function(n,i,o){var r=o&&o.type&&o.type.continuous,a=o?o.props&&o.props.style:e.style;return n.map((function(n,o){var s=we(n),l=s.x,c=s.y,d=s.y0,u=(+l+ +s.x0)/2,h=(+c+ +d)/2;return f()({_voronoiX:"y"===e.voronoiDimension?t.x:u,_voronoiY:"x"===e.voronoiDimension?t.y:h,eventKey:o,childName:i,continuous:r,style:a},n)}))};if(e.data)return i(e.data);var o=function(e){var t=fa(e);return Array.isArray(t)&&t.length>0?t:void 0};return Re(n,(function(t,n){var r=(t.props||{}).name||n,a=e.voronoiBlacklist||[],s=a.filter(WA()),l=a.filter(ws()).some((function(e){return e.test(r)}));if(!va(t)||R()(s,r)||l)return null;var c=(t.type&&T()(t.type.getData)?t.type.getData:o)(t.props);return c?i(c,r,t):null}),e)},findPoints:function(e,t){return e.filter((function(e){return t._voronoiX===e._voronoiX&&t._voronoiY===e._voronoiY}))},withinRadius:function(e,t,n){if(!e)return!1;if(!n)return!0;var i=t.x,o=t.y;return Math.pow(i-e[0],2)+Math.pow(o-e[1],2)<Math.pow(n,2)},getVoronoiPoints:function(e,t){var n=this.getDatasets(e),i=n.map((function(t){var n=Ce(e,t);return[n.x,n.y]})),o=HA.Z.from(i).find(t.x,t.y);return{points:this.withinRadius(i[o],t,e.radius)?this.findPoints(n,n[o]):[],index:o}},getActiveMutations:function(e,t){var n=t.childName,i=t.continuous,o=e.activateData,r=e.activateLabels,a=e.labels;if(!o&&!r)return[];var s=o?["data"]:[],l=a&&!r?s:s.concat("labels");return h()(l)?[]:l.map((function(e){var o=!0===i&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:o,target:e,mutation:function(){return{active:!0}}}}))},getInactiveMutations:function(e,t){var n=t.childName,i=t.continuous,o=e.activateData,r=e.activateLabels,a=e.labels;if(!o&&!r)return[];var s=o?["data"]:[],l=a&&!r?s:s.concat("labels");return h()(l)?[]:l.map((function(e){var o=i&&"data"===e?"all":t.eventKey;return{childName:n,eventKey:o,target:e,mutation:function(){return null}}}))},getParentMutation:function(e,t,n,i){return[{target:"parent",eventKey:"parent",mutation:function(){return{activePoints:e,mousePosition:t,parentSVG:n,vIndex:i}}}]},onActivated:function(e,t){T()(e.onActivated)&&e.onActivated(t,e)},onDeactivated:function(e,t){T()(e.onDeactivated)&&e.onDeactivated(t,e)},onMouseLeave:function(e,t){var n,i=this,o=t.activePoints||[];this.onDeactivated(t,o);var r=o.length?o.map((function(e){return i.getInactiveMutations(t,e)})):[];return(n=this.getParentMutation([])).concat.apply(n,UA(r))},onMouseMove:function(e,t){var n=this,i=t.activePoints||[],o=t.parentSVG||z_(e),r=V_(e,o);if(!this.withinBounds(t,r)){var a;this.onDeactivated(t,i);var s=i.length?i.map((function(e){return n.getInactiveMutations(t,e)})):[];return(a=this.getParentMutation([],r,o)).concat.apply(a,UA(s))}var l=this.getVoronoiPoints(t,r),c=l.points,d=void 0===c?[]:c,u=l.index,h=this.getParentMutation(d,r,o,u);if(i.length&&Zl()(d,i))return h;this.onActivated(t,d),this.onDeactivated(t,i);var p=d.length?d.map((function(e){return n.getActiveMutations(t,e)})):[],f=i.length?i.map((function(e){return n.getInactiveMutations(t,e)})):[];return h.concat.apply(h,UA(f).concat(UA(p)))}};const GA={onMouseLeave:QA.onMouseLeave.bind(QA),onMouseMove:R_()(QA.onMouseMove.bind(QA),32,{leading:!0,trailing:!1})};function KA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){YA(e,t,n[t])}))}return e}function YA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JA(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function qA(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var ZA=function(e){var t,n;return n=t=function(e){function t(){return $A(this,t),qA(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"getDimension",value:function(e){var t=e.horizontal,n=e.voronoiDimension;return t&&n?"x"===n?"y":"x":n}},{key:"getPoint",value:function(e){return ye()(e,["_x","_x1","_x0","_y","_y1","_y0"])}},{key:"getLabelPosition",value:function(e,t,n){var i=e.mousePosition,o=e.mouseFollowTooltips,r=this.getDimension(e),a=Ce(e,this.getPoint(n[0])),s=o?i:void 0;if(!r||n.length<2)return KA({},a,{center:m()({},t.center,s)});var l="y"===r?i.x:a.x,c="x"===r?i.y:a.y;return s=o?i:{x:l,y:c},{x:l,y:c,center:m()({},t.center,s)}}},{key:"getStyle",value:function(e,t,n){var i=e.labels,o=e.labelComponent,r=e.theme,a=o.props||{},s=r&&r.voronoi&&r.voronoi.style?r.voronoi.style:{},l="flyout"===n?a.flyoutStyle:a.style;return t.reduce((function(e,t,o){var r=m()({},a,{datum:t,active:!0}),c=T()(i)?i(r):void 0,d=void 0!==c?"".concat(c).split("\n"):[],u=t.style&&t.style[n]||{},h=Array.isArray(l)?l[o]:l,p=De(m()({},h,u,s[n]),r),f=d.length?d.map((function(){return p})):[p];return e.concat(f)}),[])}},{key:"getDefaultLabelProps",value:function(e,t){var n=e.voronoiDimension,i=e.horizontal,o=e.mouseFollowTooltips,r=this.getPoint(t[0]),a=n&&t.length>1,s=void 0!==r._y1?r._y1:r._y;return{orientation:o?void 0:i?s<0?"left":"right":s<0?"bottom":"top",pointerLength:a?0:void 0,constrainToVisibleArea:!(!a&&!o)||void 0}}},{key:"getLabelProps",value:function(e,t){var n=e.labels,i=e.scale,o=e.labelComponent,r=e.theme,a=e.width,s=e.height,l=o.props||{},c=t.reduce((function(e,t){var i=m()({},l,{datum:t,active:!0}),o=T()(n)?n(i):null;return null==o?e:e=e.concat("".concat(o).split("\n"))}),[]),d=t[0],u=d.childName,h=d.eventKey,p=(d.style,d.continuous,function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(d,["childName","eventKey","style","continuous"])),f=e.name===u?u:"".concat(e.name,"-").concat(u),g=m()({key:"".concat(f,"-").concat(h,"-voronoi-tooltip"),id:"".concat(f,"-").concat(h,"-voronoi-tooltip"),active:!0,renderInPortal:!1,activePoints:t,datum:p,scale:i,theme:r},l,{text:c,width:a,height:s,style:this.getStyle(e,t,"labels"),flyoutStyle:this.getStyle(e,t,"flyout")[0]},this.getDefaultLabelProps(e,t)),v=this.getLabelPosition(e,g,t);return m()({},v,g)}},{key:"getTooltip",value:function(e){var t=e.labels,n=e.activePoints,i=e.labelComponent;if(!t)return null;if(Array.isArray(n)&&n.length){var o=this.getLabelProps(e,n),r=o.text;return(Array.isArray(r)?r.filter(Boolean).length:r)?s.cloneElement(i,o):null}return null}},{key:"getChildren",value:function(e){return(t=s.Children.toArray(e.children),function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([this.getTooltip(e)]);var t}}],i&&JA(n.prototype,i),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryVoronoiContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:KA({},Ml.propTypes,{activateData:b().bool,activateLabels:b().bool,disable:b().bool,labelComponent:b().element,labels:b().func,mouseFollowTooltips:b().bool,onActivated:b().func,onDeactivated:b().func,radius:b().number,voronoiBlacklist:b().arrayOf(b().oneOfType([b().string,Rs])),voronoiDimension:b().oneOf(["x","y"]),voronoiPadding:b().oneOfType([b().number,b().shape({top:b().number,bottom:b().number,left:b().number,right:b().number})])})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:KA({},Ml.defaultProps,{activateData:!0,activateLabels:!0,labelComponent:s.createElement(h_,null),voronoiPadding:5})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseLeave:function(t,n){return e.disable?{}:GA.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:GA.onMouseLeave(t,n)},onMouseMove:function(t,n){return e.disable?{}:GA.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:GA.onMouseMove(t,n)}}},{target:"data",eventHandlers:e.disable?{}:{onMouseOver:function(){return null},onMouseOut:function(){return null},onMouseMove:function(){return null}}}]}}),n};const XA=ZA(Ml);var ew=n(96385),tw=n.n(ew);function nw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var iw={checkDomainEquality:function(e,t){var n=function(n){var i=e&&e[n],o=t&&t[n];return!i&&!o||!(!i||!o)&&+i[0]==+o[0]&&+i[1]==+o[1]};return n("x")&&n("y")},scale:function(e,t,n,i){var o=nw(e,2),r=o[0],a=o[1],s=Math.abs(a-r),l=n.minimumZoom&&n.minimumZoom[i],c=this.getScaleFactor(t);if(l&&s<=l&&c<1)return e;var d=nw(this.getDomain(n)[i],2),u=d[0],h=d[1],p=this.getScalePercent(t,n,i),f=c*r+p*(c*s),g=this.getMinimumDomain(f,n,i),m=nw(this.getScaledDomain(e,c,p),2),v=m[0],b=m[1],_=[v>u&&v<h?v:u,b<h&&b>u?b:h],y=Math.abs(g[1]-g[0])>Math.abs(_[1]-_[0])?g:_;return Z([u,h])?[new Date(y[0]),new Date(y[1])]:y},getScaledDomain:function(e,t,n){var i=nw(e,2),o=i[0],r=i[1],a=Math.abs(r-o),s=a-a*t,l=+o+s*n,c=+r-s*(1-n);return[Math.min(l,c),Math.max(l,c)]},getMinimumDomain:function(e,t,n){var i=t.minimumZoom,o=nw(this.getDomain(t)[n],2),r=o[0],a=o[1],s=Math.abs(r-a)/1e3,l=i&&i[n]||s,c=e-l/2,d=e+l/2;return[c>r&&c<a?c:r,d<a&&d>r?d:+r+l/2]},zoommingOut:function(e){return e.deltaY>0},getScaleFactor:function(e){var t=this.zoommingOut(e)?1:-1,n=Math.min(Math.abs(e.deltaY/300),.5);return Math.abs(1+t*n)},getScalePercent:function(e,t,n){var i=this.getDomain(t),o=nw(i[n],2),r=o[0],a=o[1];return(this.getPosition(e,t,i)[n]-r)/Math.abs(a-r)},getPosition:function(e,t,n){var i=V_(e),o=i.x,r=i.y,a={x:t.scale.x.domain(n.x),y:t.scale.y.domain(n.y)};return H_(t,a,o,r)},pan:function(e,t,n){var i,o=nw(e.map((function(e){return+e})),2),r=o[0],a=o[1],s=nw(t.map((function(e){return+e})),2),l=s[0],c=s[1],d=r+n,u=a+n;return i=d>l&&u<c?[d,u]:d<l?[l,l+(a-r)]:u>c?[c-(a-r),c]:e,Z(e)||Z(t)?i.map((function(e){return new Date(e)})):i},getDomainScale:function(e,t,n,i){var o=nw(Array.isArray(e)?e:e[n],2),r=o[0],a=o[1],s=i?t["x"===n?"y":"x"].range():t[n].range();return Math.abs(s[0]-s[1])/(a-r)},handleAnimation:function(e){var t=e.context.animationTimer,n=e.context.transitionTimer;return n.bypassAnimation(),t.bypassAnimation(),tw()((function(){t.resumeAnimation(),n.resumeAnimation()}),16)},getLastDomain:function(e,t){var n=e.zoomDomain,i=e.cachedZoomDomain,o=e.currentDomain,r=e.domain;return n&&!this.checkDomainEquality(n,i)?m()({},n,r):m()({},o||n||t,r)},getDomain:function(e){var t=e.originalDomain,n=e.domain,i=e.children,o=e.zoomDimension,r=s.Children.toArray(i),a={};return r.length&&(a=o?function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},o,ys.getDomainFromChildren(e,o,r)):{x:ys.getDomainFromChildren(e,"x",r),y:ys.getDomainFromChildren(e,"y",r)}),m()({},a,t,n)},onMouseDown:function(e,t){if(e.preventDefault(),t.allowPan){var n=t.parentSVG||z_(e),i=V_(e,n),o=i.x,r=i.y;return[{target:"parent",mutation:function(){return{startX:o,startY:r,panning:!0,parentSVG:n,parentControlledProps:["domain"]}}}]}},onMouseUp:function(e,t){if(t.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseLeave:function(e,t){if(t.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseMove:function(e,t,n,i){if(t.panning&&t.allowPan){var o=t.scale,r=t.startX,a=t.startY,s=t.onZoomDomainChange,l=t.zoomDomain,c=t.zoomDimension,d=t.horizontal,u=t.parentSVG||z_(e),h=V_(e,u),p=h.x,f=h.y,g=this.getDomain(t),v=this.getLastDomain(t,g),b=d?r-p:f-a,_=(d?f-a:r-p)/this.getDomainScale(v,o,"x",d),y=b/this.getDomainScale(v,o,"y",d),A={x:"y"===c?g.x:this.pan(v.x,g.x,_),y:"x"===c?g.y:this.pan(v.y,g.y,y)},w=this.handleAnimation(i),C={parentControlledProps:["domain"],startX:p,startY:f,parentSVG:u,currentDomain:A,originalDomain:g,cachedZoomDomain:l,zoomActive:!this.checkDomainEquality(g,v)};return T()(s)&&s(A,m()({},C,t)),[{target:"parent",callback:w,mutation:function(){return C}}]}},onWheel:function(e,t,n,i){if(t.allowZoom){var o=t.onZoomDomainChange,r=t.zoomDimension,a=t.zoomDomain,s=this.getDomain(t),l=this.getLastDomain(t,s),c=l.x,d=l.y,u={x:"y"===r?l.x:this.scale(c,e,t,"x"),y:"x"===r?l.y:this.scale(d,e,t,"y")},h=this.handleAnimation(i),p={currentDomain:u,originalDomain:s,cachedZoomDomain:a,parentControlledProps:["domain"],panning:!1,zoomActive:!this.zoommingOut(e)||t.zoomActive&&!this.checkDomainEquality(s,l)};return T()(o)&&o(u,m()({},p,t)),[{target:"parent",callback:h,mutation:function(){return p}}]}}};const ow={checkDomainEquality:iw.checkDomainEquality.bind(iw),onMouseDown:iw.onMouseDown.bind(iw),onMouseUp:iw.onMouseUp.bind(iw),onMouseLeave:iw.onMouseLeave.bind(iw),onMouseMove:R_()(iw.onMouseMove.bind(iw),16,{leading:!0,trailing:!1}),onWheel:R_()(iw.onWheel.bind(iw),16,{leading:!0,trailing:!1})};function rw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){aw(e,t,n[t])}))}return e}function aw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sw(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function dw(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var uw=function(e){var t,n;return n=t=function(e){function t(){return lw(this,t),dw(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"clipDataComponents",value:function(e,t){var n=t.scale,i=t.clipContainerComponent,o=t.polar,r=t.origin,a=t.horizontal,l=a?n.y.range():n.x.range(),c=a?n.x.range():n.y.range(),d=Math.abs(l[0]-l[1]),u=Math.abs(c[0]-c[1]),h=Math.max.apply(Math,sw(c)),p=s.cloneElement(i,rw({clipWidth:d,clipHeight:u,translateX:Math.min.apply(Math,sw(l)),translateY:Math.min.apply(Math,sw(c)),polar:o,origin:o?r:void 0,radius:o?h:void 0},i.props));return s.Children.toArray(e).map((function(e){return va(e)?s.cloneElement(e,{groupComponent:p}):e}))}},{key:"modifyPolarDomain",value:function(e,t){return{x:t.x,y:[0,e.y[1]]}}},{key:"downsampleZoomData",value:function(e,t,n){var i=e.downsample,o=function(e){var n=e.data,i=e.x,o=e.y,r=t.type&&T()(t.type.getData)?t.type.getData:function(){};return!Array.isArray(n)||i||o?r(e):n}(t.props);if(i&&n&&o){var r=!0===i?150:i,a=e.zoomDimension||"x",s=o.findIndex((function(e){return e[a]>=n[a][0]})),l=o.findIndex((function(e){return e[a]>n[a][1]}));return 0!==s&&(s-=1),-1!==l&&(l+=1),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=sa(e);if(i>t){var o=Math.pow(2,Math.ceil(Math.log2(i/t)));return e.filter((function(e,t){return(t+n)%o==0}))}return e}(o.slice(s,l),r,s)}}},{key:"modifyChildren",value:function(e){var t=this;return s.Children.toArray(e.children).map((function(n){var i,o=n.type&&n.type.role,r=va(n),a=e.currentDomain,l=e.zoomActive,c=e.allowZoom,d=m()({},e.originalDomain,e.domain),u=m()({},e.zoomDomain,e.domain),h=m()({},e.cachedZoomDomain,e.domain);i=ow.checkDomainEquality(u,h)?c&&!l?n.props.domain:m()({},a,d):u;var p=e.polar?t.modifyPolarDomain(i,d):i;p&&e.zoomDimension&&(p=rw({},u,aw({},e.zoomDimension,p[e.zoomDimension])));var f=r&&"stack"!==o?{domain:p,data:t.downsampleZoomData(e,n,p)}:{domain:p};return s.cloneElement(n,m()(f,n.props))}))}},{key:"getChildren",value:function(e){var t=this.modifyChildren(e);return this.clipDataComponents(t,e)}}],i&&cw(n.prototype,i),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryZoomContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:rw({},Ml.propTypes,{allowPan:b().bool,allowZoom:b().bool,clipContainerComponent:b().element.isRequired,disable:b().bool,downsample:b().oneOfType([b().bool,b().number]),minimumZoom:b().shape({x:b().number,y:b().number}),onZoomDomainChange:b().func,zoomDimension:b().oneOf(["x","y"]),zoomDomain:b().shape({x:Os,y:Os})})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:rw({},Ml.defaultProps,{clipContainerComponent:s.createElement(db,null),allowPan:!0,allowZoom:!0,zoomActive:!1})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:rw({onMouseDown:function(t,n){return e.disable?{}:ow.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:ow.onMouseDown(t,n)},onMouseUp:function(t,n){return e.disable?{}:ow.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:ow.onMouseUp(t,n)},onMouseLeave:function(t,n){return e.disable?{}:ow.onMouseLeave(t,n)},onTouchCancel:function(t,n){return e.disable?{}:ow.onMouseLeave(t,n)},onMouseMove:function(t,n,i,o){return e.disable?{}:ow.onMouseMove(t,n,i,o)},onTouchMove:function(t,n,i,o){return e.disable?{}:(t.preventDefault(),ow.onMouseMove(t,n,i,o))}},e.disable||!e.allowZoom?{}:{onWheel:ow.onWheel})}]}}),n};function hw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}uw(Ml);var pw={getDimension:function(e){var t=e.horizontal,n=e.selectionDimension;return t&&n?"x"===n?"y":"x":n},getDatasets:function(e){return e.data?[{data:e.data}]:Re(s.Children.toArray(e.children),(function(t,n,i){var o=e.selectionBlacklist||[];if(!va(t)||R()(o,n))return null;if(t.type&&T()(t.type.getData)){var r=(t=i?s.cloneElement(t,i.props):t).props&&t.type.getData(t.props);return r?{childName:n,data:r}:null}var a,l=(a=fa(t.props),Array.isArray(a)&&a.length>0?a:void 0);return l?{childName:n,data:l}:null}),e)},filterDatasets:function(e,t,n){var i=this,o=t.reduce((function(t,o){var r=i.getSelectedData(e,o.data,n);return r?t.concat({childName:o.childName,eventKey:r.eventKey,data:r.data}):t}),[]);return o.length?o:null},getSelectedData:function(e,t){for(var n,i=e.x1,o=e.y1,r=e.x2,a=e.y2,s=[],l=[],c=0,d=0,u=t.length;d<u;d++){var h=t[d];void 0,(n=Ce(e,h)).x>=Math.min(i,r)&&n.x<=Math.max(i,r)&&n.y>=Math.min(o,a)&&n.y<=Math.max(o,a)&&(l[c]=h,s[c]=void 0===h.eventKey?d:h.eventKey,c++)}return c>0?{eventKey:s,data:l}:null},onMouseDown:function(e,t){e.preventDefault();var n=t.activateSelectedData,i=t.allowSelection,o=t.polar,r=t.selectedData;if(!i)return{};var a=this.getDimension(t),s=t.parentSVG||z_(e),l=V_(e,s),c=l.x,d=l.y,u={x1:o||"y"!==a?c:W_(t).x[0],y1:o||"x"!==a?d:W_(t).y[0],select:!0,x2:o||"y"!==a?c:W_(t).x[1],y2:o||"x"!==a?d:W_(t).y[1],parentSVG:s};r&&T()(t.onSelectionCleared)&&t.onSelectionCleared(m()({},u,t));var h,p=[{target:"parent",mutation:function(){return u}}],f=r&&n?r.map((function(e){return{childName:e.childName,eventKey:e.eventKey,target:"data",mutation:function(){return null}}})):[];return p.concat.apply(p,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(h=f)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(h)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())},onMouseMove:function(e,t){var n=t.allowSelection,i=t.select,o=t.polar,r=this.getDimension(t);if(n&&i){var a=t.parentSVG||z_(e),s=V_(e,a),l=s.x,c=s.y,d=o||"y"!==r?l:W_(t).x[1],u=o||"x"!==r?c:W_(t).y[1];return{target:"parent",mutation:function(){return{x2:d,y2:u,parentSVG:a}}}}return null},onMouseUp:function(e,t){var n=t.activateSelectedData,i=t.allowSelection,o=t.x2,r=t.y2;if(!i)return null;if(!o||!r)return[{target:"parent",mutation:function(){return{select:!1,x1:null,x2:null,y1:null,y2:null}}}];var a=this.getDatasets(t),s=U_(t),l=this.filterDatasets(t,a,s),c={selectedData:l,datasets:a,select:!1,x1:null,x2:null,y1:null,y2:null},d=l&&T()(t.onSelection)?t.onSelection(l,s,m()({},c,t)):{},u=[{target:"parent",mutation:function(){return c}}],h=l&&n?l.map((function(e){return{childName:e.childName,eventKey:e.eventKey,target:"data",mutation:function(){return f()({active:!0},d)}}})):[];return u.concat(h)}};const fw=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){hw(e,t,n[t])}))}return e}({},pw,{onMouseDown:pw.onMouseDown.bind(pw),onMouseUp:pw.onMouseUp.bind(pw),onMouseMove:R_()(pw.onMouseMove.bind(pw),16,{leading:!0,trailing:!1})});function gw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){mw(e,t,n[t])}))}return e}function mw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _w(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var yw=function(e){var t,n;return n=t=function(e){function t(){return vw(this,t),_w(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"getRect",value:function(e){var t=e.x1,n=e.x2,i=e.y1,o=e.y2,r=e.selectionStyle,a=e.selectionComponent,l=e.name,c=Math.abs(n-t)||1,d=Math.abs(o-i)||1,u=Math.min(t,n),h=Math.min(i,o);return o&&n&&t&&i?s.cloneElement(a,{key:"".concat(l,"-selection"),x:u,y:h,width:c,height:d,style:r}):null}},{key:"getChildren",value:function(e){return(t=s.Children.toArray(e.children),function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).concat([this.getRect(e)]);var t}}])&&bw(n.prototype,i),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictorySelectionContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:gw({},Ml.propTypes,{activateSelectedData:b().bool,allowSelection:b().bool,disable:b().bool,onSelection:b().func,onSelectionCleared:b().func,selectionBlacklist:b().arrayOf(b().string),selectionComponent:b().element,selectionDimension:b().oneOf(["x","y"]),selectionStyle:b().object})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:gw({},Ml.defaultProps,{activateSelectedData:!0,allowSelection:!0,selectionComponent:s.createElement(Hs,null),selectionStyle:{stroke:"transparent",fill:"black",fillOpacity:.1}})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:fw.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:fw.onMouseDown(t,n)},onMouseMove:function(t,n){return e.disable?{}:fw.onMouseMove(t,n)},onTouchMove:function(t,n){return e.disable?{}:fw.onMouseMove(t,n)},onMouseUp:function(t,n){return e.disable?{}:fw.onMouseUp(t,n)},onTouchEnd:function(t,n){return e.disable?{}:fw.onMouseUp(t,n)}}}]}}),n};function Aw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){ww(e,t,n[t])}))}return e}function ww(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cw(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}yw(Ml);var xw={getDimension:function(e){var t=e.horizontal,n=e.brushDimension;return t&&n?"x"===n?"y":"x":n},withinBounds:function(e,t,n){var i=P_()(t,Number),o=i.x1,r=i.x2,a=i.y1,s=i.y2,l=P_()(e,Number),c=l.x,d=l.y;return c+(n=n?n/2:0)>=Math.min(o,r)&&c-n<=Math.max(o,r)&&d+n>=Math.min(a,s)&&d-n<=Math.max(a,s)},getDomainBox:function(e,t,n){var i=this.getDimension(e);t=m()({},t,e.domain),n=m()({},n,t);var o=W_(e,t),r=W_(e,n);return{x1:"y"!==i?Math.min.apply(Math,Cw(r.x)):Math.min.apply(Math,Cw(o.x)),x2:"y"!==i?Math.max.apply(Math,Cw(r.x)):Math.max.apply(Math,Cw(o.x)),y1:"x"!==i?Math.min.apply(Math,Cw(r.y)):Math.min.apply(Math,Cw(o.y)),y2:"x"!==i?Math.max.apply(Math,Cw(r.y)):Math.max.apply(Math,Cw(o.y))}},getHandles:function(e,t){var n=this.getDimension(e),i=t.x1,o=t.x2,r=t.y1,a=t.y2,s=Math.min(i,o),l=Math.max(i,o),c=Math.min(r,a),d=Math.max(r,a),u=e.handleWidth/2;return{left:"y"!==n&&{x1:s-u,x2:s+u,y1:r,y2:a},right:"y"!==n&&{x1:l-u,x2:l+u,y1:r,y2:a},top:"x"!==n&&{x1:i,x2:o,y1:c-u,y2:c+u},bottom:"x"!==n&&{x1:i,x2:o,y1:d-u,y2:d+u}}},getActiveHandles:function(e,t,n){var i=this,o=this.getHandles(t,n),r=["top","bottom","left","right"].reduce((function(t,n){return o[n]&&i.withinBounds(e,o[n])?t.concat(n):t}),[]);return r.length&&r},getResizeMutation:function(e,t){var n=e.x1,i=e.y1,o=e.x2,r=e.y2,a={left:{x1:Math.max(n,o),x2:Math.min(n,o),y1:i,y2:r},right:{x1:Math.min(n,o),x2:Math.max(n,o),y1:i,y2:r},top:{y1:Math.max(i,r),y2:Math.min(i,r),x1:n,x2:o},bottom:{y1:Math.min(i,r),y2:Math.max(i,r),x1:n,x2:o}};return t.reduce((function(e,t){return f()(e,a[t])}),{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getDefaultBrushArea:function(e,t,n){var i=e.domain,o=e.fullDomain,r=e.scale,a=e.horizontal,s=e.allowResize||e.defaultBrushArea?e.defaultBrushArea:"move";if("none"===s)return this.getMinimumDomain();if("disable"===s)return t;if("move"===s){var l=this.getDomainBox(e,o,t),c=e.parentSVG||z_(n),d=this.panBox(Aw({},e,l,{brushDomain:t,startX:(l.x1+l.x2)/2,startY:(l.y1+l.y2)/2}),V_(n,c)),u=e.fullDomainBox||this.getDomainBox(e,o);return U_(Aw({},this.constrainBox(d,u),{scale:r,horizontal:a}))}return i},getSelectionMutation:function(e,t,n){var i=e.x,o=e.y,r=t.x1,a=t.x2,s=t.y1,l=t.y2;return{x1:"y"!==n?i:r,y1:"x"!==n?o:s,x2:"y"!==n?i:a,y2:"x"!==n?o:l}},panBox:function(e,t){var n=e.domain,i=e.startX,o=e.startY,r=this.getDimension(e),a=m()({},e.brushDomain,n),s=m()({},e.fullDomain,n),l=e.x1?e:this.getDomainBox(e,s,a),c=l.x1,d=l.x2,u=l.y1,h=l.y2,p=t.x,f=t.y,g=i?i-p:0,v=o?o-f:0;return{x1:"y"!==r?Math.min(c,d)-g:Math.min(c,d),x2:"y"!==r?Math.max(c,d)-g:Math.max(c,d),y1:"x"!==r?Math.min(u,h)-v:Math.min(u,h),y2:"x"!==r?Math.max(u,h)-v:Math.max(u,h)}},constrainBox:function(e,t){var n=P_()(t,Number),i=n.x1,o=n.y1,r=n.x2,a=n.y2;return{x1:e.x2>r?r-Math.abs(e.x2-e.x1):Math.max(e.x1,i),y1:e.y2>a?a-Math.abs(e.y2-e.y1):Math.max(e.y1,o),x2:e.x1<i?i+Math.abs(e.x2-e.x1):Math.min(e.x2,r),y2:e.y1<o?o+Math.abs(e.y2-e.y1):Math.min(e.y2,a)}},constrainPoint:function(e,t){var n=P_()(t,Number),i=n.x1,o=n.y1,r=n.x2,a=n.y2;return{x:Math.min(Math.max(e.x,i),r),y:Math.min(Math.max(e.y,o),a)}},hasMoved:function(e){var t=e.x1,n=e.x2,i=e.y1,o=e.y2,r=e.mouseMoveThreshold,a=this.getDimension(e),s=Math.abs(t-n)>=r,l=Math.abs(i-o)>=r;switch(a){case"x":return s;case"y":return l;default:return s||l}},onMouseDown:function(e,t){var n=this;e.preventDefault();var i=t.handleWidth,o=t.cachedBrushDomain,r=t.domain,a=t.allowResize,s=t.allowDrag,l=t.allowDraw,c=this.getDimension(t),d=a||t.defaultBrushArea?t.defaultBrushArea:"move";if(!a&&!s)return{};var u=t.fullDomainBox||this.getDomainBox(t,r),h=t.parentSVG||z_(e),p=V_(e,h),f=p.x,g=p.y;if(!this.withinBounds({x:f,y:g},u,i))return{};var v=m()({},t.brushDomain,r),b=Zl()(v,o)?t.currentDomain||v||r:v||r,_=this.getDomainBox(t,r,b),y=a&&this.getActiveHandles({x:f,y:g},t,_);return y?[{target:"parent",mutation:function(){return Aw({isSelecting:!0,domainBox:_,fullDomainBox:u,cachedBrushDomain:v,currentDomain:b,parentSVG:h},n.getResizeMutation(_,y))}}]:this.withinBounds({x:f,y:g},_)&&!Zl()(r,b)?[{target:"parent",mutation:function(){return Aw({isPanning:s,startX:f,startY:g,domainBox:_,fullDomainBox:u,currentDomain:b,cachedBrushDomain:v,parentSVG:h},_)}}]:l?[{target:"parent",mutation:function(){return Aw({isSelecting:a||"move"===d,domainBox:_,fullDomainBox:u,parentSVG:h,cachedBrushDomain:v,cachedCurrentDomain:b,currentDomain:n.getMinimumDomain()},n.getSelectionMutation({x:f,y:g},_,c))}}]:{}},onGlobalMouseMove:function(e,t){var n=t.scale,i=t.isPanning,o=t.isSelecting,r=t.fullDomainBox,a=t.onBrushDomainChange,s=t.allowResize,l=t.allowDrag,c=t.horizontal,d=t.mouseMoveThreshold,u=t.parentSVG,h=this.getDimension(t),p=V_(e,u),f=p.x,g=p.y;if(!s&&!l||d>0&&!this.hasMoved(Aw({},t,{x2:f,y2:g})))return{};if(l&&i){var v=t.startX,b=t.startY,_=this.panBox(t,{x:f,y:g}),y=this.constrainBox(_,r),A=U_(Aw({},y,{scale:n,horizontal:c})),w=Aw({currentDomain:A,parentSVG:u,startX:_.x2>=r.x2||_.x1<=r.x1?v:f,startY:_.y2>=r.y2||_.y1<=r.y1?b:g},y);return T()(a)&&a(A,m()({},w,t)),[{target:"parent",mutation:function(){return w}}]}if(s&&o){var C=this.constrainPoint({x:"y"!==h?f:t.x2,y:"x"!==h?g:t.y2},r),x=C.x,S=C.y,E=U_({x2:x,y2:S,x1:t.x1,y1:t.y1,scale:n,horizontal:c}),k={x2:x,y2:S,currentDomain:E,parentSVG:u};return T()(a)&&a(E,m()({},k,t)),[{target:"parent",mutation:function(){return k}}]}return{}},onGlobalMouseUp:function(e,t){if(!t.isPanning&&!t.isSelecting)return{};var n=t.x1,i=t.y1,o=t.x2,r=t.y2,a=t.isPanning,s=t.isSelecting,l=t.onBrushDomainChange,c=t.onBrushDomainChangeEnd,d=t.onBrushCleared,u=t.currentDomain,h=t.allowResize,p=t.allowDrag,f=h||t.defaultBrushArea?t.defaultBrushArea:"move",g={isPanning:!1,isSelecting:!1};if(!h&&(void 0===f||"none"===f)||n!==o&&i!==r)(p&&a||h&&s)&&T()(c)&&c(u,m()({},g,t));else{var v=t.cachedCurrentDomain||u,b=this.getDefaultBrushArea(t,v,e);g.currentDomain=b,T()(l)&&l(b,m()({},g,t)),T()(c)&&c(b,m()({},g,t)),T()(d)&&d(b,m()({},g,t))}return[{target:"parent",mutation:function(){return g}}]}};const Sw=Aw({},xw,{onMouseDown:xw.onMouseDown.bind(xw),onGlobalMouseUp:xw.onGlobalMouseUp.bind(xw),onGlobalMouseMove:R_()(xw.onGlobalMouseMove.bind(xw),16,{leading:!0,trailing:!1})});function Ew(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){kw(e,t,n[t])}))}return e}function kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mw(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Dw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nw(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Iw(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Tw=function(e){var t,n;return n=t=function(e){function t(){return Dw(this,t),Iw(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,i=[{key:"getSelectBox",value:function(e,t){var n=t.x,i=t.y,o=e.brushStyle,r=e.brushComponent,a=e.name,l=r.props&&r.props.style,c=e.allowDrag||e.allowResize?"move":"auto";return n[0]!==n[1]&&i[0]!==i[1]?s.cloneElement(r,{key:"".concat(a,"-brush"),width:Math.abs(n[1]-n[0])||1,height:Math.abs(i[1]-i[0])||1,x:Math.min(n[0],n[1]),y:Math.min(i[0],i[1]),cursor:c,style:m()({},l,o)}):null}},{key:"getCursorPointers",value:function(e){var t={yProps:"ns-resize",xProps:"ew-resize"};return!e.allowResize&&e.allowDrag?(t.xProps="move",t.yProps="move"):e.allowResize||e.allowDrag||(t.xProps="auto",t.yProps="auto"),t}},{key:"getHandles",value:function(e,t){var n=e.handleWidth,i=e.handleStyle,o=e.handleComponent,r=e.name,a=Sw.getDomainBox(e,t),l=a.x1,c=a.x2,d=a.y1,u=a.y2,h=Sw.getHandles(e,a),p=h.top,g=h.bottom,v=h.left,b=h.right,_=Math.abs(c-l)||1,y=Math.abs(u-d)||1,A=o.props&&o.props.style||{},w=m()({},A,i),C=this.getCursorPointers(e),x={style:w,width:_,height:n,cursor:C.yProps},S={style:w,width:n,height:y,cursor:C.xProps},E={top:p&&f()({x:p.x1,y:p.y1},x),bottom:g&&f()({x:g.x1,y:g.y1},x),left:v&&f()({y:v.y1,x:v.x1},S),right:b&&f()({y:b.y1,x:b.x1},S)},k=["top","bottom","left","right"].reduce((function(e,t){return E[t]?e.concat(s.cloneElement(o,f()({key:"".concat(r,"-handle-").concat(t)},E[t]))):e}),[]);return k.length?k:null}},{key:"getRect",value:function(e){var t=e.currentDomain,n=e.cachedBrushDomain,i=m()({},e.brushDomain,e.domain),o=Zl()(i,n)?m()({},t,i):i,r=W_(e,o),a=this.getSelectBox(e,r);return a?[a,this.getHandles(e,o)]:[]}},{key:"getChildren",value:function(e){return Mw(s.Children.toArray(e.children)).concat(Mw(this.getRect(e)))}}],i&&Nw(n.prototype,i),t}(e),Object.defineProperty(t,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryBrushContainer"}),Object.defineProperty(t,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:Ew({},Ml.propTypes,{allowDrag:b().bool,allowDraw:b().bool,allowResize:b().bool,brushComponent:b().element,brushDimension:b().oneOf(["x","y"]),brushDomain:b().shape({x:b().array,y:b().array}),brushStyle:b().object,defaultBrushArea:b().oneOf(["all","disable","none","move"]),disable:b().bool,handleComponent:b().element,handleStyle:b().object,handleWidth:b().number,onBrushCleared:b().func,onBrushDomainChange:b().func,onBrushDomainChangeEnd:b().func})}),Object.defineProperty(t,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:Ew({},Ml.defaultProps,{allowDrag:!0,allowDraw:!0,allowResize:!0,brushComponent:s.createElement(Hs,null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:s.createElement(Hs,null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8,mouseMoveThreshold:0})}),Object.defineProperty(t,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return[{target:"parent",eventHandlers:{onMouseDown:function(t,n){return e.disable?{}:Sw.onMouseDown(t,n)},onTouchStart:function(t,n){return e.disable?{}:Sw.onMouseDown(t,n)},onGlobalMouseMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Sw.onGlobalMouseMove(t,n)},onGlobalTouchMove:function(t,n){return e.disable||!n.isPanning&&!n.isSelecting?{}:Sw.onGlobalMouseMove(t,n)},onGlobalMouseUp:function(t,n){return e.disable?{}:Sw.onGlobalMouseUp(t,n)},onGlobalTouchEnd:function(t,n){return e.disable?{}:Sw.onGlobalMouseUp(t,n)},onGlobalTouchCancel:function(t,n){return e.disable?{}:Sw.onGlobalMouseUp(t,n)}}}]}}),n};function Lw(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Bw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Ow(e,t,n[t])}))}return e}function Ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Rw(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}Tw(Ml);var jw,zw,Vw=function(e){return e?Array.isArray(e)?e:[e]:[]},Ww=function(e,t){var n,i,o=e.map((function(e){return e(t)})),r=o.map((function(e){return new e})),a=PA()(e)(t),s=o.map((function(e){return e.displayName.match(/Victory(.*)Container/)[1]||""})).join("");return i=n=function(e){function t(){return Pw(this,t),Rw(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(i=[{key:"getChildren",value:function(e){return r.reduce((function(t,n){return n.getChildren(Bw({},e,{children:t}))}),e.children)}}])&&Fw(n.prototype,i),t}(a),Object.defineProperty(n,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Victory".concat(s,"Container")}),Object.defineProperty(n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:o.reduce((function(e,t){return Bw({},e,t.propTypes)}),{})}),Object.defineProperty(n,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:o.reduce((function(e,t){return Bw({},e,t.defaultProps)}),{})}),Object.defineProperty(n,"defaultEvents",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return t=o.reduce((function(t,n){var i=T()(n.defaultEvents)?n.defaultEvents(e):n.defaultEvents;return Lw(t).concat(Lw(i))}),[]),n=E()(t,"target"),i=zA()(n).map((function(e){var t,n,i,o=(i=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),r=o[0],a=o[1];return a=a.filter(Boolean),h()(a)?null:{target:r,eventHandlers:(t=a.map((function(e){return e.eventHandlers})),t.reduce((function(e,t){return RA()(e,(function(e,n){var i=t[n];t[n]=i?function(){var t=Vw(i.apply(void 0,arguments)),n=Vw(e.apply(void 0,arguments));return t.concat(n)}:e})),t})))}})),i.filter(Boolean);var t,n,i}}),i},Hw=function(e,t){e&&!R()(t,e)&&'"'.concat(e,'" is not a valid behavior. Choose from [').concat(t.join(", "),"].")},Uw=(jw={zoom:[uw],voronoi:[ZA],selection:[yw],cursor:[ey],brush:[Tw]},zw=Ml,function(e,t){var n=be()(jw);Hw(e,n),Hw(t,n);var i=jw[e],o=jw[t]||[];return i?Ww(Lw(i).concat(Lw(o)),zw):zw});const Qw=(e,t)=>{const n=Uw(e,t),i="voronoi"===e||"voronoi"===t;return("cursor"===e||"cursor"===t)&&(n.defaultProps.cursorLabelComponent=s.createElement(Zf,{textAnchor:"start"})),i&&(n.defaultProps.labelComponent=s.createElement(uy,null)),n},Gw=e=>[...Yw(Object.assign(Object.assign({},e),{target:"data"})),...Yw(Object.assign(Object.assign({},e),{target:"labels"}))],Kw=(e=!1)=>e?{labels:{fill:Sh},symbol:{fill:Sh,type:"eyeSlash"}}:{},Yw=({chartNames:e,isDataHidden:t=(()=>!1),isHidden:n=(()=>!1),legendName:i,onLegendClick:o=(()=>null),target:r})=>void 0===e||void 0===i?(console.error("getInteractiveLegendTargetEvents:","requires chartNames and legendName to be specified"),[]):e.map(((a,s)=>{const l=(({chartNames:e,omitIndex:t})=>{const n=[];return e.map(((e,i)=>{i!==t&&(Array.isArray(e)?e.forEach((e=>n.push(e))):n.push(e))})),n})({chartNames:e,legendName:i,omitIndex:s}),c=(({chartNames:e,omitIndex:t})=>{const n=[];return e.map(((e,i)=>{i!==t&&n.push(i)})),n})({chartNames:e,legendName:i,omitIndex:s});return{childName:i,target:r,eventKey:s,eventHandlers:{onClick:()=>[{target:"data",mutation:e=>(o(e),null)}],onMouseOver:()=>n(s)?null:[{childName:l,target:"data",eventKey:"all",mutation:e=>t(e.data)?null:{style:void 0!==e.padAngle?Object.assign(Object.assign({},e.style),s!==e.index&&{opacity:hp}):Object.assign(Object.assign({},e.style),{opacity:hp})}},{childName:i,target:"data",eventKey:c,mutation:e=>n(e.index)?null:{style:Object.assign(Object.assign({},e.style),{opacity:hp})}},{childName:i,target:"labels",eventKey:c,mutation:e=>{const t=e.datum&&e.datum.column?e.datum.column:0;return n(t)?null:{style:Object.assign(Object.assign({},e.style),{opacity:hp})}}}],onMouseOut:()=>[{childName:"all",target:"data",eventKey:"all",mutation:()=>null},{childName:"legend",target:"data",eventKey:c,mutation:()=>null},{childName:"legend",target:"labels",eventKey:c,mutation:()=>null}]}}}));var $w;!function(e){e.x="x",e.y="y"}($w||($w={}));const Jw=e=>{var{className:t,constrainToVisibleArea:n=!1,themeColor:i,themeVariant:o,theme:r=lf(i,o),labelComponent:l=s.createElement(p_,null)}=e,c=(0,a.__rest)(e,["className","constrainToVisibleArea","themeColor","themeVariant","theme","labelComponent"]);const d=df({className:t}),u=s.cloneElement(l,Object.assign({constrainToVisibleArea:n,theme:r},l.props));return s.createElement(XA,Object.assign({className:d,labelComponent:u,theme:r},c))};Jw.displayName="ChartVoronoiContainer",Jw.defaultProps=XA.defaultProps,c()(Jw,XA)},30452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=t.AlertVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(29901),a=n(61151),s=i.__importDefault(n(34116)),l=i.__importDefault(n(66096)),c=n(94102),d=n(85881),u=n(35177),h=i.__importDefault(n(69391)),p=n(22174),f=n(27759);var g;!function(e){e.success="success",e.danger="danger",e.warning="warning",e.info="info",e.default="default"}(g=t.AlertVariant||(t.AlertVariant={})),t.Alert=e=>{var{variant:n=g.default,isInline:m=!1,isPlain:v=!1,isLiveRegion:b=!1,variantLabel:_=`${d.capitalize(n)} alert:`,"aria-label":y=`${d.capitalize(n)} Alert`,actionClose:A,actionLinks:w,title:C,children:x="",className:S="",ouiaId:E,ouiaSafe:k=!0,timeout:M=!1,timeoutAnimation:D=3e3,onTimeout:N=(()=>{}),truncateTitle:I=0,tooltipPosition:T,customIcon:L,isExpandable:B=!1,toggleAriaLabel:O=`${d.capitalize(n)} alert details`,onMouseEnter:P=(()=>{}),onMouseLeave:F=(()=>{})}=e,R=i.__rest(e,["variant","isInline","isPlain","isLiveRegion","variantLabel","aria-label","actionClose","actionLinks","title","children","className","ouiaId","ouiaSafe","timeout","timeoutAnimation","onTimeout","truncateTitle","tooltipPosition","customIcon","isExpandable","toggleAriaLabel","onMouseEnter","onMouseLeave"]);const j=d.useOUIAProps(t.Alert.displayName,E,k,n),z=o.createElement(o.Fragment,null,o.createElement("span",{className:a.css(l.default.screenReader)},_),C),V=o.useRef(null),W=o.useRef(),[H,U]=r.useState(!1);o.useEffect((()=>{if(!V.current||!I)return;V.current.style.setProperty(h.default.name,I.toString());const e=V.current&&V.current.offsetHeight<V.current.scrollHeight;H!==e&&U(e)}),[V,I,H]);const[Q,G]=r.useState(!1),[K,Y]=r.useState(!0),[$,J]=r.useState(),[q,Z]=r.useState(),X=Q&&K&&!$&&!q;o.useEffect((()=>{if((M=!0===M?8e3:Number(M))>0){const e=setTimeout((()=>G(!0)),M);return()=>clearTimeout(e)}}),[]),o.useEffect((()=>{const e=()=>{W.current&&(W.current.contains(document.activeElement)?(Z(!0),Y(!1)):q&&Z(!1))};return document.addEventListener("focus",e,!0),()=>document.removeEventListener("focus",e,!0)}),[q]),o.useEffect((()=>{if(!1===q||!1===$){const e=setTimeout((()=>Y(!0)),D);return()=>clearTimeout(e)}}),[q,$]),o.useEffect((()=>{X&&N()}),[X]);const[ee,te]=r.useState(!1);if(X)return null;const ne=o.createElement("h4",Object.assign({},H&&{tabIndex:0},{ref:V,className:a.css(s.default.alertTitle,I&&s.default.modifiers.truncate)}),z);return o.createElement("div",Object.assign({ref:W,className:a.css(s.default.alert,m&&s.default.modifiers.inline,v&&s.default.modifiers.plain,B&&s.default.modifiers.expandable,ee&&s.default.modifiers.expanded,s.default.modifiers[n],S),"aria-label":y},j,b&&{"aria-live":"polite","aria-atomic":"false"},{onMouseEnter:e=>{J(!0),Y(!1),P(e)},onMouseLeave:e=>{J(!1),F(e)}},R),B&&o.createElement(u.AlertContext.Provider,{value:{title:C,variantLabel:_}},o.createElement("div",{className:a.css(s.default.alertToggle)},o.createElement(f.AlertToggleExpandButton,{isExpanded:ee,onToggleExpand:()=>{te(!ee)},"aria-label":O}))),o.createElement(c.AlertIcon,{variant:n,customIcon:L}),H?o.createElement(p.Tooltip,{content:z,position:T},ne):ne,A&&o.createElement(u.AlertContext.Provider,{value:{title:C,variantLabel:_}},o.createElement("div",{className:a.css(s.default.alertAction)},A)),x&&(!B||B&&ee)&&o.createElement("div",{className:a.css(s.default.alertDescription)},x),w&&o.createElement("div",{className:a.css(s.default.alertActionGroup)},w))},t.Alert.displayName="Alert"},27665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlertActionCloseButton=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(40002),a=i.__importDefault(n(62442)),s=n(35177);t.AlertActionCloseButton=e=>{var{className:t="",onClose:n=(()=>{}),"aria-label":l="",variantLabel:c}=e,d=i.__rest(e,["className","onClose","aria-label","variantLabel"]);return o.createElement(s.AlertContext.Consumer,null,(({title:e,variantLabel:t})=>o.createElement(r.Button,Object.assign({variant:r.ButtonVariant.plain,onClick:n,"aria-label":""===l?`Close ${c||t} alert: ${e}`:l},d),o.createElement(a.default,null))))},t.AlertActionCloseButton.displayName="AlertActionCloseButton"},21908:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlertActionLink=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(40002);t.AlertActionLink=e=>{var{className:t="",children:n}=e,a=i.__rest(e,["className","children"]);return o.createElement(r.Button,Object.assign({variant:r.ButtonVariant.link,isInline:!0,className:t},a),n)},t.AlertActionLink.displayName="AlertActionLink"},35177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlertContext=void 0;const i=n(78951).__importStar(n(29901));t.AlertContext=i.createContext(null)},94102:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlertIcon=t.variantIcons=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(34116)),s=i.__importDefault(n(66352)),l=i.__importDefault(n(31822)),c=i.__importDefault(n(44834)),d=i.__importDefault(n(96508)),u=i.__importDefault(n(61049));t.variantIcons={success:s.default,danger:l.default,warning:c.default,info:d.default,default:u.default},t.AlertIcon=e=>{var{variant:n,customIcon:s,className:l=""}=e,c=i.__rest(e,["variant","customIcon","className"]);const d=t.variantIcons[n];return o.createElement("div",Object.assign({},c,{className:r.css(a.default.alertIcon,l)}),s||o.createElement(d,null))}},27759:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlertToggleExpandButton=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(40002),a=n(35177),s=i.__importDefault(n(20406)),l=n(61151),c=i.__importDefault(n(34116));t.AlertToggleExpandButton=e=>{var{"aria-label":t,variantLabel:n,onToggleExpand:d,isExpanded:u}=e,h=i.__rest(e,["aria-label","variantLabel","onToggleExpand","isExpanded"]);const{title:p,variantLabel:f}=o.useContext(a.AlertContext);return o.createElement(r.Button,Object.assign({variant:r.ButtonVariant.plain,onClick:d,"aria-expanded":u,"aria-label":""===t?`Toggle ${n||f} alert: ${p}`:t},h),o.createElement("span",{className:l.css(c.default.alertToggleIcon)},o.createElement(s.default,{"aria-hidden":"true"})))},t.AlertToggleExpandButton.displayName="AlertToggleExpandButton"},51319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(30452),t),i.__exportStar(n(35177),t),i.__exportStar(n(27665),t),i.__exportStar(n(21908),t)},82164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationLauncherSeparator=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(94041);t.ApplicationLauncherSeparator=e=>{var{children:t}=e,n=i.__rest(e,["children"]);return o.createElement(r.DropdownSeparator,Object.assign({},n))},t.ApplicationLauncherSeparator.displayName="ApplicationLauncherSeparator"},35846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Backdrop=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(33468));t.Backdrop=e=>{var{children:t=null,className:n=""}=e,s=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({},s,{className:r.css(a.default.backdrop,n)}),t)},t.Backdrop.displayName="Backdrop"},30447:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonType=t.ButtonVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(38701)),a=n(61151),s=n(89811),l=n(85881);var c,d;!function(e){e.primary="primary",e.secondary="secondary",e.tertiary="tertiary",e.danger="danger",e.warning="warning",e.link="link",e.plain="plain",e.control="control"}(c=t.ButtonVariant||(t.ButtonVariant={})),function(e){e.button="button",e.submit="submit",e.reset="reset"}(d=t.ButtonType||(t.ButtonType={}));const u=e=>{var{children:n=null,className:u="",component:h="button",isActive:p=!1,isBlock:f=!1,isDisabled:g=!1,isAriaDisabled:m=!1,isLoading:v=null,isDanger:b=!1,spinnerAriaValueText:_,isSmall:y=!1,isLarge:A=!1,inoperableEvents:w=["onClick","onKeyPress"],isInline:C=!1,type:x=d.button,variant:S=c.primary,iconPosition:E="left","aria-label":k=null,icon:M=null,ouiaId:D,ouiaSafe:N=!0,tabIndex:I=null,innerRef:T}=e,L=i.__rest(e,["children","className","component","isActive","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","isSmall","isLarge","inoperableEvents","isInline","type","variant","iconPosition","aria-label","icon","ouiaId","ouiaSafe","tabIndex","innerRef"]);const B=l.useOUIAProps(t.Button.displayName,D,N,S),O=h,P="button"===O,F=C&&"span"===O,R=w.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{});return o.createElement(O,Object.assign({},L,m?R:null,{"aria-disabled":g||m,"aria-label":k,className:a.css(r.default.button,r.default.modifiers[S],f&&r.default.modifiers.block,g&&r.default.modifiers.disabled,m&&r.default.modifiers.ariaDisabled,p&&r.default.modifiers.active,C&&S===c.link&&r.default.modifiers.inline,b&&(S===c.secondary||S===c.link)&&r.default.modifiers.danger,null!==v&&r.default.modifiers.progress,v&&r.default.modifiers.inProgress,y&&r.default.modifiers.small,A&&r.default.modifiers.displayLg,u),disabled:P?g:null,tabIndex:null!==I?I:g?P?null:-1:m?null:F?0:void 0,type:P||F?x:null,role:F?"button":null,ref:T},B),v&&o.createElement("span",{className:a.css(r.default.buttonProgress)},o.createElement(s.Spinner,{size:s.spinnerSize.md,"aria-valuetext":_})),S!==c.plain&&M&&"left"===E&&o.createElement("span",{className:a.css(r.default.buttonIcon,r.default.modifiers.start)},M),n,S!==c.plain&&M&&"right"===E&&o.createElement("span",{className:a.css(r.default.buttonIcon,r.default.modifiers.end)},M))};t.Button=o.forwardRef(((e,t)=>o.createElement(u,Object.assign({innerRef:t},e)))),t.Button.displayName="Button"},40002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(30447),t)},80042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=t.CardContext=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82467)),a=n(61151),s=n(85881);t.CardContext=o.createContext({cardId:"",isExpanded:!1}),t.Card=e=>{var{children:n=null,id:l="",className:c="",component:d="article",isHoverable:u=!1,isCompact:h=!1,isSelectable:p=!1,isSelected:f=!1,isFlat:g=!1,isExpanded:m=!1,isRounded:v=!1,isLarge:b=!1,isFullHeight:_=!1,isPlain:y=!1,ouiaId:A,ouiaSafe:w=!0}=e,C=i.__rest(e,["children","id","className","component","isHoverable","isCompact","isSelectable","isSelected","isFlat","isExpanded","isRounded","isLarge","isFullHeight","isPlain","ouiaId","ouiaSafe"]);const x=d,S=s.useOUIAProps(t.Card.displayName,A,w);return h&&b&&(console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"),b=!1),o.createElement(t.CardContext.Provider,{value:{cardId:l,isExpanded:m}},o.createElement(x,Object.assign({id:l,className:a.css(r.default.card,u&&r.default.modifiers.hoverable,h&&r.default.modifiers.compact,p&&r.default.modifiers.selectable,f&&p&&r.default.modifiers.selected,m&&r.default.modifiers.expanded,g&&r.default.modifiers.flat,v&&r.default.modifiers.rounded,b&&r.default.modifiers.displayLg,_&&r.default.modifiers.fullHeight,y&&r.default.modifiers.plain,c),tabIndex:p?"0":void 0},C,S),n))},t.Card.displayName="Card"},80720:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardActions=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(82467));t.CardActions=e=>{var{children:t=null,className:n="",hasNoOffset:s=!1}=e,l=i.__rest(e,["children","className","hasNoOffset"]);return o.createElement("div",Object.assign({className:r.css(a.default.cardActions,s&&a.default.modifiers.noOffset,n)},l),t)},t.CardActions.displayName="CardActions"},62294:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardBody=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82467)),a=n(61151);t.CardBody=e=>{var{children:t=null,className:n="",component:s="div",isFilled:l=!0}=e,c=i.__rest(e,["children","className","component","isFilled"]);const d=s;return o.createElement(d,Object.assign({className:a.css(r.default.cardBody,!l&&r.default.modifiers.noFill,n)},c),t)},t.CardBody.displayName="CardBody"},62363:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardExpandableContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82467)),a=n(61151),s=n(80042);t.CardExpandableContent=e=>{var{children:t=null,className:n=""}=e,l=i.__rest(e,["children","className"]);return o.createElement(s.CardContext.Consumer,null,(({isExpanded:e})=>e?o.createElement("div",Object.assign({className:a.css(r.default.cardExpandableContent,n)},l),t):null))},t.CardExpandableContent.displayName="CardExpandableContent"},68218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardFooter=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82467)),a=n(61151);t.CardFooter=e=>{var{children:t=null,className:n="",component:s="div"}=e,l=i.__rest(e,["children","className","component"]);const c=s;return o.createElement(c,Object.assign({className:a.css(r.default.cardFooter,n)},l),t)},t.CardFooter.displayName="CardFooter"},4378:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardHeader=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(82467)),s=n(80042),l=n(40002),c=i.__importDefault(n(20406));t.CardHeader=e=>{var{children:t=null,className:n="",id:d,onExpand:u,toggleButtonProps:h,isToggleRightAligned:p}=e,f=i.__rest(e,["children","className","id","onExpand","toggleButtonProps","isToggleRightAligned"]);return o.createElement(s.CardContext.Consumer,null,(({cardId:e})=>{const i=o.createElement("div",{className:r.css(a.default.cardHeaderToggle)},o.createElement(l.Button,Object.assign({variant:"plain",type:"button",onClick:t=>{u(t,e)}},h),o.createElement("span",{className:r.css(a.default.cardHeaderToggleIcon)},o.createElement(c.default,{"aria-hidden":"true"}))));return o.createElement("div",Object.assign({className:r.css(a.default.cardHeader,p&&a.default.modifiers.toggleRight,n),id:d},f),u&&!p&&i,t,u&&p&&i)}))},t.CardHeader.displayName="CardHeader"},41618:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardHeaderMain=void 0;const i=n(78951),o=i.__importStar(n(29901));t.CardHeaderMain=e=>{var{children:t=null,className:n=""}=e,r=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({className:n},r),t)},t.CardHeaderMain.displayName="CardHeaderMain"},89390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardTitle=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(82467));t.CardTitle=e=>{var{children:t=null,className:n="",component:s="div"}=e,l=i.__rest(e,["children","className","component"]);const c=s;return o.createElement(c,Object.assign({className:r.css(a.default.cardTitle,n)},l),t)},t.CardTitle.displayName="CardTitle"},8635:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(80042),t),i.__exportStar(n(80720),t),i.__exportStar(n(62294),t),i.__exportStar(n(62363),t),i.__exportStar(n(68218),t),i.__exportStar(n(89390),t),i.__exportStar(n(4378),t),i.__exportStar(n(41618),t)},82675:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(80383)),a=n(61151),s=n(85881),l=()=>{};class c extends o.Component{constructor(e){super(e),this.handleChange=e=>{this.props.onChange(e.currentTarget.checked,e)},this.state={ouiaStateId:s.getDefaultOUIAId(c.displayName)}}render(){const e=this.props,{"aria-label":t,className:n,onChange:d,isValid:u,isDisabled:h,isChecked:p,label:f,checked:g,defaultChecked:m,description:v,body:b,ouiaId:_,ouiaSafe:y}=e,A=i.__rest(e,["aria-label","className","onChange","isValid","isDisabled","isChecked","label","checked","defaultChecked","description","body","ouiaId","ouiaSafe"]);A.id||console.error("Checkbox:","id is required to make input accessible");const w={};return([!0,!1].includes(g)||!0===p)&&(w.checked=g||p),d!==l&&(w.checked=p),[!1,!0].includes(m)&&(w.defaultChecked=m),w.checked=null!==w.checked&&w.checked,o.createElement("div",{className:a.css(r.default.check,!f&&r.default.modifiers.standalone,n)},o.createElement("input",Object.assign({},A,{className:a.css(r.default.checkInput),type:"checkbox",onChange:this.handleChange,"aria-invalid":!u,"aria-label":t,disabled:h,ref:e=>e&&(e.indeterminate=null===p)},w,s.getOUIAProps(c.displayName,void 0!==_?_:this.state.ouiaStateId,y))),f&&o.createElement("label",{className:a.css(r.default.checkLabel,h&&r.default.modifiers.disabled),htmlFor:A.id},f),v&&o.createElement("span",{className:a.css(r.default.checkDescription)},v),b&&o.createElement("span",{className:a.css(r.default.checkBody)},b))}}t.Checkbox=c,c.displayName="Checkbox",c.defaultProps={className:"",isValid:!0,isDisabled:!1,isChecked:!1,onChange:l,ouiaSafe:!0}},36435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(82675),t)},40839:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chip=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=n(40002),s=n(22174),l=i.__importDefault(n(62442)),c=i.__importDefault(n(29238)),d=n(87158),u=n(85881);class h extends o.Component{constructor(e){super(e),this.span=o.createRef(),this.renderOverflowChip=()=>{const{children:e,className:t,onClick:n,ouiaId:i}=this.props,a=this.props.component;return o.createElement(a,Object.assign({onClick:n,className:r.css(c.default.chip,c.default.modifiers.overflow,t)},"button"===this.props.component?{type:"button"}:{},u.getOUIAProps("OverflowChip",void 0!==i?i:this.state.ouiaStateId)),o.createElement("span",{className:r.css(c.default.chipText)},e))},this.renderChip=e=>{const{children:t,tooltipPosition:n}=this.props;return this.state.isTooltipVisible?o.createElement(s.Tooltip,{position:n,content:t},this.renderInnerChip(e)):this.renderInnerChip(e)},this.state={isTooltipVisible:!1,ouiaStateId:u.getDefaultOUIAId(h.displayName)}}componentDidMount(){this.setState({isTooltipVisible:Boolean(this.span.current&&this.span.current.offsetWidth<this.span.current.scrollWidth)})}renderInnerChip(e){const{children:t,className:n,onClick:i,closeBtnAriaLabel:s,isReadOnly:d,component:p,ouiaId:f}=this.props,g=p;return o.createElement(g,Object.assign({className:r.css(c.default.chip,n)},this.state.isTooltipVisible&&{tabIndex:0},u.getOUIAProps(h.displayName,void 0!==f?f:this.state.ouiaStateId)),o.createElement("span",{ref:this.span,className:r.css(c.default.chipText),id:e},t),!d&&o.createElement(a.Button,{onClick:i,variant:"plain","aria-label":s,id:`remove_${e}`,"aria-labelledby":`remove_${e} ${e}`,ouiaId:f||s},o.createElement(l.default,{"aria-hidden":"true"})))}render(){const{isOverflowChip:e}=this.props;return o.createElement(d.GenerateId,null,(t=>e?this.renderOverflowChip():this.renderChip(this.props.id||t)))}}t.Chip=h,h.displayName="Chip",h.defaultProps={closeBtnAriaLabel:"close",className:"",isOverflowChip:!1,isReadOnly:!1,tooltipPosition:"top",onClick:e=>{},component:"div"}},94422:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChipGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(13365)),a=n(61151),s=n(40002),l=n(40839),c=n(22174),d=i.__importDefault(n(77225)),u=n(85881),h=n(87158),p=n(85881);class f extends o.Component{constructor(e){super(e),this.headingRef=o.createRef(),this.toggleCollapse=()=>{this.setState((e=>({isOpen:!e.isOpen,isTooltipVisible:Boolean(this.headingRef.current&&this.headingRef.current.offsetWidth<this.headingRef.current.scrollWidth)})))},this.state={isOpen:this.props.defaultIsOpen,isTooltipVisible:!1}}componentDidMount(){this.setState({isTooltipVisible:Boolean(this.headingRef.current&&this.headingRef.current.offsetWidth<this.headingRef.current.scrollWidth)})}renderLabel(e){const{categoryName:t,tooltipPosition:n}=this.props,{isTooltipVisible:i}=this.state;return i?o.createElement(c.Tooltip,{position:n,content:t},o.createElement("span",{tabIndex:0,ref:this.headingRef,className:a.css(r.default.chipGroupLabel),id:e,"aria-label":t},o.createElement("span",{"aria-hidden":"true"},t))):o.createElement("span",{ref:this.headingRef,className:a.css(r.default.chipGroupLabel),"aria-hidden":"true",id:e},t)}render(){const e=this.props,{categoryName:t,children:n,className:c,isClosable:g,closeBtnAriaLabel:m,"aria-label":v,onClick:b,onOverflowChipClick:_,numChips:y,expandedText:A,collapsedText:w,ouiaId:C,defaultIsOpen:x,tooltipPosition:S}=e,E=i.__rest(e,["categoryName","children","className","isClosable","closeBtnAriaLabel","aria-label","onClick","onOverflowChipClick","numChips","expandedText","collapsedText","ouiaId","defaultIsOpen","tooltipPosition"]),{isOpen:k}=this.state,M=o.Children.count(n),D=u.fillTemplate(w,{remaining:o.Children.count(n)-y}),N=e=>{const i=k?o.Children.toArray(n):o.Children.toArray(n).slice(0,y);return o.createElement("div",Object.assign({className:a.css(r.default.chipGroup,c,t&&r.default.modifiers.category)},p.getOUIAProps(f.displayName,C)),o.createElement("div",{className:a.css(r.default.chipGroupMain)},t&&this.renderLabel(e),o.createElement("ul",Object.assign({className:a.css(r.default.chipGroupList)},t&&{"aria-labelledby":e},!t&&{"aria-label":v},{role:"list"},E),i.map(((e,t)=>o.createElement("li",{className:a.css(r.default.chipGroupListItem),key:t},e))),M>y&&o.createElement("li",{className:a.css(r.default.chipGroupListItem)},o.createElement(l.Chip,{isOverflowChip:!0,onClick:e=>{this.toggleCollapse(),_(e)},component:"button"},k?A:D)))),g&&o.createElement("div",{className:a.css(r.default.chipGroupClose)},o.createElement(s.Button,{variant:"plain","aria-label":m,onClick:b,id:`remove_group_${e}`,"aria-labelledby":`remove_group_${e} ${e}`,ouiaId:C||m},o.createElement(d.default,{"aria-hidden":"true"}))))};return 0===M?null:o.createElement(h.GenerateId,null,(e=>N(this.props.id||e)))}}t.ChipGroup=f,f.displayName="ChipGroup",f.defaultProps={expandedText:"Show Less",collapsedText:"${remaining} more",categoryName:"",defaultIsOpen:!1,numChips:3,isClosable:!1,onClick:e=>{},onOverflowChipClick:e=>{},closeBtnAriaLabel:"Close chip group",tooltipPosition:"top","aria-label":"Chip group category"}},40358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(94422),t),i.__exportStar(n(40839),t)},86482:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Divider=t.DividerVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(2987)),s=n(4187);var l;!function(e){e.hr="hr",e.li="li",e.div="div"}(l=t.DividerVariant||(t.DividerVariant={})),t.Divider=e=>{var{className:t,component:n=l.hr,isVertical:c=!1,inset:d}=e,u=i.__rest(e,["className","component","isVertical","inset"]);const h=n;return o.createElement(h,Object.assign({className:r.css(a.default.divider,c&&a.default.modifiers.vertical,s.formatBreakpointMods(d,a.default),t)},"hr"!==n&&{role:"separator"},u))},t.Divider.displayName="Divider"},5403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(86482),t)},57787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Drawer=t.DrawerContext=t.DrawerColorVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151);var s;(s=t.DrawerColorVariant||(t.DrawerColorVariant={})).default="default",s.light200="light-200",t.DrawerContext=o.createContext({isExpanded:!1,isStatic:!1,onExpand:()=>{},position:"right",drawerRef:null}),t.Drawer=e=>{var{className:n="",children:s,isExpanded:l=!1,isInline:c=!1,isStatic:d=!1,position:u="right",onExpand:h=(()=>{})}=e,p=i.__rest(e,["className","children","isExpanded","isInline","isStatic","position","onExpand"]);const f=o.useRef();return o.createElement(t.DrawerContext.Provider,{value:{isExpanded:l,isStatic:d,onExpand:h,position:u,drawerRef:f}},o.createElement("div",Object.assign({className:a.css(r.default.drawer,l&&r.default.modifiers.expanded,c&&r.default.modifiers.inline,d&&r.default.modifiers.static,"left"===u&&r.default.modifiers.panelLeft,"bottom"===u&&r.default.modifiers.panelBottom,n),ref:f},p),s))},t.Drawer.displayName="Drawer"},3510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerActions=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151);t.DrawerActions=e=>{var{className:t="",children:n}=e,s=i.__rest(e,["className","children"]);return o.createElement("div",Object.assign({className:a.css(r.default.drawerActions,t)},s),n)},t.DrawerActions.displayName="DrawerActions"},42138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerCloseButton=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151),s=n(40002),l=i.__importDefault(n(62442));t.DrawerCloseButton=e=>{var{className:t="",onClose:n=(()=>{}),"aria-label":c="Close drawer panel"}=e,d=i.__rest(e,["className","onClose","aria-label"]);return o.createElement("div",Object.assign({className:a.css(r.default.drawerClose,t)},d),o.createElement(s.Button,{variant:"plain",onClick:n,"aria-label":c},o.createElement(l.default,null)))},t.DrawerCloseButton.displayName="DrawerCloseButton"},36051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151),s=n(26407),l=n(57787);t.DrawerContent=e=>{var{className:t="",children:n,panelContent:c,colorVariant:d=l.DrawerColorVariant.default}=e,u=i.__rest(e,["className","children","panelContent","colorVariant"]);return o.createElement(s.DrawerMain,null,o.createElement("div",Object.assign({className:a.css(r.default.drawerContent,d===l.DrawerColorVariant.light200&&r.default.modifiers.light_200,t)},u),n),c)},t.DrawerContent.displayName="DrawerContent"},27645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerContentBody=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151);t.DrawerContentBody=e=>{var{className:t="",children:n,hasPadding:s=!1}=e,l=i.__rest(e,["className","children","hasPadding"]);return o.createElement("div",Object.assign({className:a.css(r.default.drawerBody,s&&r.default.modifiers.padding,t)},l),n)},t.DrawerContentBody.displayName="DrawerContentBody"},27755:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerHead=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151),s=n(55270);t.DrawerHead=e=>{var{className:t="",children:n,hasNoPadding:l=!1}=e,c=i.__rest(e,["className","children","hasNoPadding"]);return o.createElement(s.DrawerPanelBody,{hasNoPadding:l},o.createElement("div",Object.assign({className:a.css(r.default.drawerHead,t)},c),n))},t.DrawerHead.displayName="DrawerHead"},26407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerMain=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151);t.DrawerMain=e=>{var{className:t="",children:n}=e,s=i.__rest(e,["className","children"]);return o.createElement("div",Object.assign({className:a.css(r.default.drawerMain,t)},s),n)},t.DrawerMain.displayName="DrawerMain"},55270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerPanelBody=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151);t.DrawerPanelBody=e=>{var{className:t="",children:n,hasNoPadding:s=!1}=e,l=i.__rest(e,["className","children","hasNoPadding"]);return o.createElement("div",Object.assign({className:a.css(r.default.drawerBody,s&&r.default.modifiers.noPadding,t)},l),n)},t.DrawerPanelBody.displayName="DrawerPanelBody"},71009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerPanelContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151),s=n(57787),l=n(4187);let c=null,d=0;t.DrawerPanelContent=e=>{var{className:t="",id:n,children:u,hasNoBorder:h=!1,isResizable:p=!1,onResize:f,minSize:g,defaultSize:m,maxSize:v,increment:b=5,resizeAriaLabel:_="Resize",resizeAriaDescribedBy:y="Press space to begin resizing, and use the arrow keys to grow or shrink the panel. Press enter or escape to finish resizing.",widths:A,colorVariant:w=s.DrawerColorVariant.default}=e,C=i.__rest(e,["className","id","children","hasNoBorder","isResizable","onResize","minSize","defaultSize","maxSize","increment","resizeAriaLabel","resizeAriaDescribedBy","widths","colorVariant"]);const x=o.useRef(),{position:S,isExpanded:E,isStatic:k,onExpand:M,drawerRef:D}=o.useContext(s.DrawerContext),N=!k&&!E,[I,T]=o.useState(!N);let L,B,O,P,F=0,R=!0;o.useEffect((()=>{!k&&E&&T(E)}),[k,E]);const j=(e,t)=>{if(e.stopPropagation(),!c)return;R&&(L=x.current.getBoundingClientRect(),B=L.right,O=L.left,P=L.bottom,R=!1);let n=0;n="right"===S?B-t:"left"===S?t-O:P-t,"bottom"===S&&(x.current.style.overflowAnchor="none"),x.current.style.setProperty("--pf-c-drawer__panel--md--FlexBasis",n+"px"),F=n},z=o.useCallback((e=>{const t="bottom"===S?e.clientY:e.clientX;j(e,t)}),[]),V=o.useCallback((e=>{e.stopPropagation(),c&&(c=!1,f&&f(F,n),document.removeEventListener("touchmove",W),document.removeEventListener("touchend",V))}),[]),W=o.useCallback((e=>{e.preventDefault(),e.stopImmediatePropagation();const t="bottom"===S?e.touches[0].clientY:e.touches[0].clientX;j(e,t)}),[]),H=o.useCallback((()=>{c&&(D.current.classList.remove(a.css(r.default.modifiers.resizing)),c=!1,f&&f(F,n),R=!0,document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",H))}),[]),U={};return m&&(U["--pf-c-drawer__panel--md--FlexBasis"]=m),g&&(U["--pf-c-drawer__panel--md--FlexBasis--min"]=g),v&&(U["--pf-c-drawer__panel--md--FlexBasis--max"]=v),o.createElement("div",Object.assign({id:n,className:a.css(r.default.drawerPanel,p&&r.default.modifiers.resizable,h&&r.default.modifiers.noBorder,l.formatBreakpointMods(A,r.default),w===s.DrawerColorVariant.light200&&r.default.modifiers.light_200,t),ref:x,onTransitionEnd:e=>{N||"transform"!==e.nativeEvent.propertyName||M(),T(!N)},hidden:N},(m||g||v)&&{style:U},C),I&&o.createElement(o.Fragment,null,p&&o.createElement(o.Fragment,null,o.createElement("div",{className:a.css(r.default.drawerSplitter,"bottom"!==S&&r.default.modifiers.vertical),role:"separator",tabIndex:0,"aria-orientation":"bottom"===S?"horizontal":"vertical","aria-label":_,"aria-describedby":y,onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),document.addEventListener("mousemove",z),document.addEventListener("mouseup",H),D.current.classList.add(a.css(r.default.modifiers.resizing)),c=!0,R=!0},onKeyDown:e=>{const t=e.key;if(" "===t||"Escape"===t||"Enter"===t||"ArrowUp"===t||"ArrowDown"===t||"ArrowLeft"===t||"ArrowRight"===t){if(e.preventDefault()," "===t||"Escape"===t||"Enter"===t){" "===t?c=!0:(c=!1,f&&f(F,n));const e=x.current.getBoundingClientRect();d="bottom"===S?e.height:e.width}if(c){let e=0;"ArrowRight"===t?e="left"===S?b:-b:"ArrowLeft"===t?e="left"===S?-b:b:"ArrowUp"===t?e=b:"ArrowDown"===t&&(e=-b),d+=e,"bottom"===S&&(x.current.style.overflowAnchor="none"),x.current.style.setProperty("--pf-c-drawer__panel--md--FlexBasis",d+"px"),F=d}}else c&&e.preventDefault()},onTouchStart:e=>{e.stopPropagation(),document.addEventListener("touchmove",W,{passive:!1}),document.addEventListener("touchend",V),c=!0}},o.createElement("div",{className:a.css(r.default.drawerSplitterHandle),"aria-hidden":!0})),o.createElement("div",{className:a.css(r.default.drawerPanelMain)},u)),!p&&u))},t.DrawerPanelContent.displayName="DrawerPanelContent"},2967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DrawerSection=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(75479)),a=n(61151),s=n(57787);t.DrawerSection=e=>{var{className:t="",children:n,colorVariant:l=s.DrawerColorVariant.default}=e,c=i.__rest(e,["className","children","colorVariant"]);return o.createElement("div",Object.assign({className:a.css(r.default.drawerSection,l===s.DrawerColorVariant.light200&&r.default.modifiers.light_200,t)},c),n)},t.DrawerSection.displayName="DrawerSection"},82816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(57787),t),i.__exportStar(n(3510),t),i.__exportStar(n(42138),t),i.__exportStar(n(36051),t),i.__exportStar(n(27645),t),i.__exportStar(n(27755),t),i.__exportStar(n(55270),t),i.__exportStar(n(71009),t),i.__exportStar(n(2967),t)},94041:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownSeparator=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(25255),a=n(22238),s=n(5403),l=n(85881);t.DropdownSeparator=e=>{var{className:n="",ref:c,ouiaId:d,ouiaSafe:u}=e,h=i.__rest(e,["className","ref","ouiaId","ouiaSafe"]);const p=l.useOUIAProps(t.DropdownSeparator.displayName,d,u);return o.createElement(r.DropdownArrowContext.Consumer,null,(e=>o.createElement(a.InternalDropdownItem,Object.assign({},h,{context:e,component:o.createElement(s.Divider,{component:s.DividerVariant.div}),className:n,role:"separator"},p))))},t.DropdownSeparator.displayName="DropdownSeparator"},22238:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalDropdownItem=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=n(25255),s=n(18868),l=n(4187),c=n(22174),d=i.__importDefault(n(83036));class u extends o.Component{constructor(){super(...arguments),this.ref=o.createRef(),this.additionalRef=o.createRef(),this.getInnerNode=e=>e&&e.childNodes&&e.childNodes.length?e.childNodes[0]:e,this.onKeyDown=e=>{const t=e.target===this.ref.current?0:1;this.props.customChild||e.preventDefault(),"ArrowUp"===e.key?(this.props.context.keyHandler(this.props.index,t,s.KEYHANDLER_DIRECTION.UP),e.stopPropagation()):"ArrowDown"===e.key?(this.props.context.keyHandler(this.props.index,t,s.KEYHANDLER_DIRECTION.DOWN),e.stopPropagation()):"ArrowRight"===e.key?(this.props.context.keyHandler(this.props.index,t,s.KEYHANDLER_DIRECTION.RIGHT),e.stopPropagation()):"ArrowLeft"===e.key?(this.props.context.keyHandler(this.props.index,t,s.KEYHANDLER_DIRECTION.LEFT),e.stopPropagation()):"Enter"!==e.key&&" "!==e.key||(e.target.click(),this.props.enterTriggersArrowDown&&this.props.context.keyHandler(this.props.index,t,s.KEYHANDLER_DIRECTION.DOWN))},this.componentRef=e=>{this.ref.current=e;const{component:t}=this.props,n=t.ref;n&&("function"==typeof n?n(e):n.current=e)}}componentDidMount(){const{context:e,index:t,isDisabled:n,role:i,customChild:o,autoFocus:r}=this.props,a=o?this.getInnerNode(this.ref.current):this.ref.current;e.sendRef(t,[a,o?a:this.additionalRef.current],n,"separator"===i),r&&setTimeout((()=>a.focus()))}componentDidUpdate(){const{context:e,index:t,isDisabled:n,role:i,customChild:o}=this.props,r=o?this.getInnerNode(this.ref.current):this.ref.current;e.sendRef(t,[r,o?r:this.additionalRef.current],n,"separator"===i)}extendAdditionalChildRef(){const{additionalChild:e}=this.props;return o.cloneElement(e,{ref:this.additionalRef})}render(){const e=this.props,{className:t,children:n,isHovered:s,context:u,onClick:h,component:p,role:f,isDisabled:g,isAriaDisabled:m,isPlainText:v,index:b,href:_,tooltip:y,tooltipProps:A,id:w,componentID:C,listItemClassName:x,additionalChild:S,customChild:E,enterTriggersArrowDown:k,icon:M,autoFocus:D,styleChildren:N,description:I,inoperableEvents:T}=e,L=i.__rest(e,["className","children","isHovered","context","onClick","component","role","isDisabled","isAriaDisabled","isPlainText","index","href","tooltip","tooltipProps","id","componentID","listItemClassName","additionalChild","customChild","enterTriggersArrowDown","icon","autoFocus","styleChildren","description","inoperableEvents"]);let B=r.css(M&&d.default.modifiers.icon,m&&d.default.modifiers.ariaDisabled,t);"a"===p?L["aria-disabled"]=g||m:"button"===p&&(L["aria-disabled"]=g||m,L.type=L.type||"button");const O=e=>o.cloneElement(e,Object.assign(Object.assign({},N&&{className:r.css(e.props.className,B)}),"separator"!==this.props.role&&{ref:this.componentRef})),P=e=>{const t=e,i=I?o.createElement(o.Fragment,null,o.createElement("div",{className:d.default.dropdownMenuItemMain},M&&o.createElement("span",{className:r.css(d.default.dropdownMenuItemIcon)},M),n),o.createElement("div",{className:d.default.dropdownMenuItemDescription},I)):o.createElement(o.Fragment,null,M&&o.createElement("span",{className:r.css(d.default.dropdownMenuItemIcon)},M),n);return o.createElement(t,Object.assign({},L,g||m?l.preventedEvents(T):null,{href:_,ref:this.ref,className:B,id:C}),i)};return o.createElement(a.DropdownContext.Consumer,null,(({onSelect:e,itemClass:t,disabledClass:n,plainTextClass:i})=>{return"separator"!==this.props.role&&(B=r.css(B,g&&n,v&&i,t,I&&d.default.modifiers.description)),E?o.cloneElement(E,{ref:this.ref,onKeyDown:this.onKeyDown}):o.createElement("li",{className:x||null,role:f,onKeyDown:this.onKeyDown,onClick:t=>{g||m||(h(t),e(t))},id:w},(a=o.isValidElement(p)?O(p):P(p),y?o.createElement(c.Tooltip,Object.assign({content:y},A),a):a),S&&this.extendAdditionalChildRef());var a}))}}t.InternalDropdownItem=u,u.displayName="InternalDropdownItem",u.defaultProps={className:"",isHovered:!1,component:"a",role:"none",isDisabled:!1,isPlainText:!1,tooltipProps:{},onClick:e=>{},index:-1,context:{keyHandler:()=>{},sendRef:()=>{}},enterTriggersArrowDown:!1,icon:null,styleChildren:!0,description:null,inoperableEvents:["onClick","onKeyPress"]}},25255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownArrowContext=t.DropdownContext=t.DropdownDirection=t.DropdownPosition=void 0;const i=n(78951).__importStar(n(29901));var o,r;(r=t.DropdownPosition||(t.DropdownPosition={})).right="right",r.left="left",(o=t.DropdownDirection||(t.DropdownDirection={})).up="up",o.down="down",t.DropdownContext=i.createContext({onSelect:e=>{},id:"",toggleIndicatorClass:"",toggleIconClass:"",toggleTextClass:"",menuClass:"",itemClass:"",toggleClass:"",baseClass:"",baseComponent:"div",sectionClass:"",sectionTitleClass:"",sectionComponent:"section",disabledClass:"",plainTextClass:"",menuComponent:"ul"}),t.DropdownArrowContext=i.createContext({keyHandler:null,sendRef:null})},52421:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyState=t.EmptyStateVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(90930));var s;!function(e){e.xs="xs",e.small="small",e.large="large",e.xl="xl",e.full="full"}(s=t.EmptyStateVariant||(t.EmptyStateVariant={})),t.EmptyState=e=>{var{children:t,className:n="",variant:l=s.full,isFullHeight:c}=e,d=i.__rest(e,["children","className","variant","isFullHeight"]);return o.createElement("div",Object.assign({className:r.css(a.default.emptyState,"xs"===l&&a.default.modifiers.xs,"small"===l&&a.default.modifiers.sm,"large"===l&&a.default.modifiers.lg,"xl"===l&&a.default.modifiers.xl,c&&a.default.modifiers.fullHeight,n)},d),o.createElement("div",{className:r.css(a.default.emptyStateContent)},t))},t.EmptyState.displayName="EmptyState"},95207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateBody=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(90930));t.EmptyStateBody=e=>{var{children:t,className:n=""}=e,s=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({className:r.css(a.default.emptyStateBody,n)},s),t)},t.EmptyStateBody.displayName="EmptyStateBody"},59403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateIcon=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(90930));t.EmptyStateIcon=e=>{var{className:t="",icon:n,component:s,variant:l="icon"}=e,c=i.__rest(e,["className","icon","component","variant"]);const d=r.css(a.default.emptyStateIcon,t);return"icon"===l?o.createElement(n,Object.assign({className:d},c,{"aria-hidden":"true"})):o.createElement("div",{className:d},o.createElement(s,null))},t.EmptyStateIcon.displayName="EmptyStateIcon"},38914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStatePrimary=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(90930));t.EmptyStatePrimary=e=>{var{children:t,className:n=""}=e,s=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({className:r.css(a.default.emptyStatePrimary,n)},s),t)},t.EmptyStatePrimary.displayName="EmptyStatePrimary"},65372:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateSecondaryActions=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(90930));t.EmptyStateSecondaryActions=e=>{var{children:t=null,className:n=""}=e,s=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({className:r.css(a.default.emptyStateSecondary,n)},s),t)},t.EmptyStateSecondaryActions.displayName="EmptyStateSecondaryActions"},4010:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(52421),t),i.__exportStar(n(95207),t),i.__exportStar(n(59403),t),i.__exportStar(n(65372),t),i.__exportStar(n(38914),t)},52941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(61151);t.ActionGroup=e=>{var{children:t=null,className:n=""}=e,s=i.__rest(e,["children","className"]);const l=a.css(r.default.formGroup,r.default.modifiers.action,n),c=o.createElement("div",{className:a.css(r.default.formActions)},t);return o.createElement("div",Object.assign({},s,{className:l}),o.createElement("div",{className:a.css(r.default.formGroupControl)},c))},t.ActionGroup.displayName="ActionGroup"},58677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Form=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(61151);t.Form=e=>{var{children:t=null,className:n="",isHorizontal:s=!1,isWidthLimited:l=!1}=e,c=i.__rest(e,["children","className","isHorizontal","isWidthLimited"]);return o.createElement("form",Object.assign({noValidate:!0},c,{className:a.css(r.default.form,s&&r.default.modifiers.horizontal,l&&r.default.modifiers.limitWidth,n)}),t)},t.Form.displayName="Form"},19749:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormAlert=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151);t.FormAlert=e=>{var{children:t=null,className:n=""}=e,a=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({},a,{className:r.css("pf-c-form__alert",n)}),t)},t.FormAlert.displayName="FormAlert"},63002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormFieldGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(31711);t.FormFieldGroup=e=>{var{children:t,className:n,header:a}=e,s=i.__rest(e,["children","className","header"]);return o.createElement(r.InternalFormFieldGroup,Object.assign({className:n,header:a},s),t)},t.FormFieldGroup.displayName="FormFieldGroup"},68e3:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormFieldGroupExpandable=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(29901),a=n(31711);t.FormFieldGroupExpandable=e=>{var{children:t,className:n,header:s,isExpanded:l=!1,toggleAriaLabel:c}=e,d=i.__rest(e,["children","className","header","isExpanded","toggleAriaLabel"]);const[u,h]=r.useState(l);return o.createElement(a.InternalFormFieldGroup,Object.assign({className:n,header:s,isExpandable:!0,isExpanded:u,toggleAriaLabel:c,onToggle:()=>h(!u)},d),t)},t.FormFieldGroupExpandable.displayName="FormFieldGroupExpandable"},34250:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormFieldGroupHeader=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(61151);t.FormFieldGroupHeader=e=>{var{className:t,titleText:n,titleDescription:s,actions:l}=e,c=i.__rest(e,["className","titleText","titleDescription","actions"]);return o.createElement("div",Object.assign({className:a.css(r.default.formFieldGroupHeader,t)},c),o.createElement("div",{className:a.css(r.default.formFieldGroupHeaderMain)},n&&o.createElement("div",{className:a.css(r.default.formFieldGroupHeaderTitle)},o.createElement("div",{className:a.css(r.default.formFieldGroupHeaderTitleText),id:n.id},n.text)),s&&o.createElement("div",{className:a.css(r.default.formFieldGroupHeaderDescription)},s)),o.createElement("div",{className:a.css(r.default.formFieldGroupHeaderActions)},l&&l))},t.FormFieldGroupHeader.displayName="FormFieldGroupHeader"},67661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormFieldGroupToggle=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(61151),s=i.__importDefault(n(20406)),l=n(40002);t.FormFieldGroupToggle=e=>{var{className:t,onToggle:n,isExpanded:c,"aria-label":d,"aria-labelledby":u,toggleId:h}=e,p=i.__rest(e,["className","onToggle","isExpanded","aria-label","aria-labelledby","toggleId"]);return o.createElement("div",Object.assign({className:a.css(r.default.formFieldGroupToggle,t)},p),o.createElement("div",{className:a.css(r.default.formFieldGroupToggleButton)},o.createElement(l.Button,{variant:"plain","aria-label":d,onClick:n,"aria-expanded":c,"aria-labelledby":u,id:h},o.createElement("span",{className:a.css(r.default.formFieldGroupToggleIcon)},o.createElement(s.default,{"aria-hidden":"true"})))))},t.FormFieldGroupToggle.displayName="FormFieldGroupToggle"},94586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(19710),s=n(61151),l=n(18868);t.FormGroup=e=>{var{children:t=null,className:n="",label:c,labelInfo:d,labelIcon:u,isRequired:h=!1,validated:p="default",isInline:f=!1,hasNoPaddingTop:g=!1,isStack:m=!1,helperText:v,isHelperTextBeforeField:b=!1,helperTextInvalid:_,helperTextIcon:y,helperTextInvalidIcon:A,fieldId:w}=e,C=i.__rest(e,["children","className","label","labelInfo","labelIcon","isRequired","validated","isInline","hasNoPaddingTop","isStack","helperText","isHelperTextBeforeField","helperTextInvalid","helperTextIcon","helperTextInvalidIcon","fieldId"]);const x="string"!=typeof v?v:o.createElement("div",{className:s.css(r.default.formHelperText,p===l.ValidatedOptions.success&&r.default.modifiers.success,p===l.ValidatedOptions.warning&&r.default.modifiers.warning),id:`${w}-helper`,"aria-live":"polite"},y&&o.createElement("span",{className:s.css(r.default.formHelperTextIcon)},y),v),S="string"!=typeof _?_:o.createElement("div",{className:s.css(r.default.formHelperText,r.default.modifiers.error),id:`${w}-helper`,"aria-live":"polite"},A&&o.createElement("span",{className:s.css(r.default.formHelperTextIcon)},A),_),E=p===l.ValidatedOptions.error&&_?S:p!==l.ValidatedOptions.error&&v?x:"",k=o.createElement(o.Fragment,null,o.createElement("label",{className:s.css(r.default.formLabel),htmlFor:w},o.createElement("span",{className:s.css(r.default.formLabelText)},c),h&&o.createElement("span",{className:s.css(r.default.formLabelRequired),"aria-hidden":"true"}," ",a.ASTERISK))," ",o.isValidElement(u)&&u);return o.createElement("div",Object.assign({},C,{className:s.css(r.default.formGroup,n)}),c&&o.createElement("div",{className:s.css(r.default.formGroupLabel,d&&r.default.modifiers.info,g&&r.default.modifiers.noPaddingTop)},d&&o.createElement(o.Fragment,null,o.createElement("div",{className:s.css(r.default.formGroupLabelMain)},k),o.createElement("div",{className:s.css(r.default.formGroupLabelInfo)},d)),!d&&k),o.createElement("div",{className:s.css(r.default.formGroupControl,f&&r.default.modifiers.inline,m&&r.default.modifiers.stack)},b&&E,t,!b&&E))},t.FormGroup.displayName="FormGroup"},97979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormHelperText=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(40189));t.FormHelperText=e=>{var{children:t=null,isError:n=!1,isHidden:s=!0,className:l="",icon:c=null,component:d="p"}=e,u=i.__rest(e,["children","isError","isHidden","className","icon","component"]);const h=d;return o.createElement(h,Object.assign({className:r.css(a.default.formHelperText,n&&a.default.modifiers.error,s&&a.default.modifiers.hidden,l)},u),c&&o.createElement("span",{className:r.css(a.default.formHelperTextIcon)},c),t)},t.FormHelperText.displayName="FormHelperText"},65113:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormSection=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(61151);t.FormSection=e=>{var{className:t="",children:n,title:s="",titleElement:l="div"}=e,c=i.__rest(e,["className","children","title","titleElement"]);return o.createElement("section",Object.assign({},c,{className:a.css(r.default.formSection,t)}),s&&o.createElement(l,{className:a.css(r.default.formSectionTitle,t)},s),n)},t.FormSection.displayName="FormSection"},31711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InternalFormFieldGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(40189)),a=n(61151),s=n(67661),l=n(85881);t.InternalFormFieldGroup=e=>{var{children:t,className:n,header:c,isExpandable:d,isExpanded:u,onToggle:h,toggleAriaLabel:p}=e,f=i.__rest(e,["children","className","header","isExpandable","isExpanded","onToggle","toggleAriaLabel"]);const g=c?c.props.titleText:null;return!d||p||g||console.error("FormFieldGroupExpandable:","toggleAriaLabel or the titleText prop of FormFieldGroupHeader is required to make the toggle button accessible"),o.createElement("div",Object.assign({className:a.css(r.default.formFieldGroup,u&&d&&r.default.modifiers.expanded,n)},f),d&&o.createElement(l.GenerateId,{prefix:"form-field-group-toggle"},(e=>o.createElement(s.FormFieldGroupToggle,Object.assign({onToggle:h,isExpanded:u,"aria-label":p,toggleId:e},g&&{"aria-labelledby":`${c.props.titleText.id} ${e}`})))),c&&c,(!d||d&&u)&&o.createElement("div",{className:a.css(r.default.formFieldGroupBody)},t))},t.InternalFormFieldGroup.displayName="InternalFormFieldGroup"},36841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(52941),t),i.__exportStar(n(58677),t),i.__exportStar(n(19749),t),i.__exportStar(n(63002),t),i.__exportStar(n(68e3),t),i.__exportStar(n(34250),t),i.__exportStar(n(94586),t),i.__exportStar(n(97979),t),i.__exportStar(n(65113),t)},93164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormSelect=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(38294)),a=n(61151),s=n(18868),l=n(85881);class c extends o.Component{constructor(e){super(e),this.handleChange=e=>{this.props.onChange(e.currentTarget.value,e)},e.id||e["aria-label"]||console.error("FormSelect requires either an id or aria-label to be specified"),this.state={ouiaStateId:l.getDefaultOUIAId(c.displayName,e.validated)}}render(){const e=this.props,{children:t,className:n,value:d,validated:u,isDisabled:h,isRequired:p,ouiaId:f,ouiaSafe:g}=e,m=i.__rest(e,["children","className","value","validated","isDisabled","isRequired","ouiaId","ouiaSafe"]),v=o.Children.toArray(t).find((e=>e.props.value===d)),b=v&&v.props.isPlaceholder;return o.createElement("select",Object.assign({},m,{className:a.css(r.default.formControl,n,u===s.ValidatedOptions.success&&r.default.modifiers.success,u===s.ValidatedOptions.warning&&r.default.modifiers.warning,b&&r.default.modifiers.placeholder),"aria-invalid":u===s.ValidatedOptions.error},l.getOUIAProps(c.displayName,void 0!==f?f:this.state.ouiaStateId,g),{onChange:this.handleChange,disabled:h,required:p,value:d}),t)}}t.FormSelect=c,c.displayName="FormSelect",c.defaultProps={className:"",value:"",validated:"default",isDisabled:!1,isRequired:!1,onBlur:()=>{},onFocus:()=>{},onChange:()=>{},ouiaSafe:!0}},72104:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormSelectOption=void 0;const i=n(78951),o=i.__importStar(n(29901));t.FormSelectOption=e=>{var{className:t="",value:n="",isDisabled:r=!1,label:a,isPlaceholder:s=!1}=e,l=i.__rest(e,["className","value","isDisabled","label","isPlaceholder"]);return o.createElement("option",Object.assign({},l,{className:t,value:n,disabled:r}),a)},t.FormSelectOption.displayName="FormSelectOption"},14309:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormSelectOptionGroup=void 0;const i=n(78951),o=i.__importStar(n(29901));t.FormSelectOptionGroup=e=>{var{children:t=null,className:n="",isDisabled:r=!1,label:a}=e,s=i.__rest(e,["children","className","isDisabled","label"]);return o.createElement("optgroup",Object.assign({},s,{disabled:!!r,className:n,label:a}),t)},t.FormSelectOptionGroup.displayName="FormSelectOptionGroup"},66938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(93164),t),i.__exportStar(n(72104),t),i.__exportStar(n(14309),t)},82428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InputGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(21952)),a=n(61151),s=n(66938),l=n(72755),c=n(93104);t.InputGroup=e=>{var{className:t="",children:n}=e,d=i.__rest(e,["className","children"]);const u=[s.FormSelect,l.TextArea,c.TextInput].map((e=>e.displayName)),h=o.Children.toArray(n).find((e=>!u.includes(e.type.displayName)&&e.props.id));return o.createElement("div",Object.assign({className:a.css(r.default.inputGroup,t)},d),h?o.Children.map(n,(e=>u.includes(e.type.displayName)?o.cloneElement(e,{"aria-describedby":h.props.id}):e)):n)},t.InputGroup.displayName="InputGroup"},60808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InputGroupText=t.InputGroupTextVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(21952)),a=n(61151);var s;!function(e){e.default="default",e.plain="plain"}(s=t.InputGroupTextVariant||(t.InputGroupTextVariant={})),t.InputGroupText=e=>{var{className:t="",component:n="span",children:l,variant:c=s.default}=e,d=i.__rest(e,["className","component","children","variant"]);const u=n;return o.createElement(u,Object.assign({className:a.css(r.default.inputGroupText,c===s.plain&&r.default.modifiers.plain,t)},d),l)},t.InputGroupText.displayName="InputGroupText"},50960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(82428),t),i.__exportStar(n(60808),t)},29014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Label=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(29901),a=i.__importDefault(n(78060)),s=i.__importDefault(n(24356)),l=i.__importDefault(n(78320)),c=n(40002),d=n(22174),u=n(61151),h=i.__importDefault(n(62442)),p=n(85881),f={blue:a.default.modifiers.blue,cyan:a.default.modifiers.cyan,green:a.default.modifiers.green,orange:a.default.modifiers.orange,purple:a.default.modifiers.purple,red:a.default.modifiers.red,grey:""};t.Label=e=>{var{children:t,className:n="",color:g="grey",variant:m="filled",isCompact:v=!1,isEditable:b=!1,editableProps:_,isTruncated:y=!1,tooltipPosition:A,icon:w,onClose:C,onEditCancel:x,onEditComplete:S,closeBtn:E,closeBtnAriaLabel:k,closeBtnProps:M,href:D,isOverflowLabel:N,render:I}=e,T=i.__rest(e,["children","className","color","variant","isCompact","isEditable","editableProps","isTruncated","tooltipPosition","icon","onClose","onEditCancel","onEditComplete","closeBtn","closeBtnAriaLabel","closeBtnProps","href","isOverflowLabel","render"]);const[L,B]=r.useState(!1),O=o.createRef();o.useEffect((()=>(document.addEventListener("click",P),document.addEventListener("keydown",F),()=>{document.removeEventListener("click",P),document.removeEventListener("keydown",F)})));const P=e=>{L&&O&&O.current&&!O.current.contains(e.target)&&(S&&S(O.current.textContent),B(!1))},F=e=>{const n=e.key;if(O&&O.current&&O.current.contains(e.target)&&(!L||"Enter"!==n&&"Tab"!==n||(e.preventDefault(),e.stopImmediatePropagation(),S&&S(O.current.textContent),B(!1)),L&&"Escape"===n&&(e.preventDefault(),e.stopImmediatePropagation(),O.current.textContent=t,x&&x(t),B(!1)),!L&&"Enter"===n)){e.preventDefault(),e.stopImmediatePropagation(),B(!0);const t=e.target,n=document.createRange(),i=window.getSelection();n.selectNodeContents(t),n.collapse(!1),i.removeAllRanges(),i.addRange(n)}},R=N?"button":"span",j=D?"a":"span",z=E||o.createElement(c.Button,Object.assign({type:"button",variant:"plain",onClick:C,"aria-label":k||`Close ${t}`},M),o.createElement(h.default,null)),V=o.createRef(),W=o.useRef(),[H,U]=o.useState(!1);p.useIsomorphicLayoutEffect((()=>{U(V.current&&V.current.offsetWidth<V.current.scrollWidth)}),[]);let Q=o.createElement(o.Fragment,null,w&&o.createElement("span",{className:u.css(a.default.labelIcon)},w),y&&o.createElement("span",{ref:V,className:u.css(a.default.labelText)},t),!y&&t);b&&(Q=o.createElement(o.Fragment,null,o.createElement("div",{className:u.css(l.default.inlineEdit)},o.createElement("div",Object.assign({tabIndex:0,ref:O,className:u.css(l.default.inlineEditEditableText),role:"textbox"},L&&{contentEditable:!0},{suppressContentEditableWarning:!0},_),t))));let G=o.createElement(j,Object.assign({className:u.css(a.default.labelContent)},D&&{href:D}),Q);return I?G=o.createElement(o.Fragment,null,H&&o.createElement(d.Tooltip,{reference:W,content:t,position:A}),I({className:a.default.labelContent,content:Q,componentRef:W})):H&&(G=o.createElement(d.Tooltip,{content:t,position:A},o.createElement(j,Object.assign({className:u.css(a.default.labelContent)},D&&{href:D}),Q))),o.createElement(R,Object.assign({},T,{className:u.css(a.default.label,f[g],"outline"===m&&a.default.modifiers.outline,N&&a.default.modifiers.overflow,v&&a.default.modifiers.compact,b&&s.default.modifiers.editable,L&&a.default.modifiers.editableActive,n)},b&&{onClick:e=>{null===e.target.closest("button")&&(B(!0),O.current.focus())}}),G,C&&z)},t.Label.displayName="Label"},21717:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(29014),t)},78578:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=t.ModalVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importStar(n(10571)),a=n(85881),s=n(61151),l=i.__importDefault(n(33468)),c=n(54858),d=n(85881);var u;(u=t.ModalVariant||(t.ModalVariant={})).small="small",u.medium="medium",u.large="large",u.default="default";class h extends o.Component{constructor(e){super(e),this.boxId="",this.labelId="",this.descriptorId="",this.handleEscKeyClick=e=>{const{onEscapePress:t}=this.props;e.keyCode===a.KEY_CODES.ESCAPE_KEY&&this.props.isOpen&&(t?t(e):this.props.onClose())},this.getElement=e=>"function"==typeof e?e():e||document.body,this.toggleSiblingsFromScreenReaders=e=>{const{appendTo:t}=this.props,n=this.getElement(t).children;for(const t of Array.from(n))t!==this.state.container&&(e?t.setAttribute("aria-hidden",""+e):t.removeAttribute("aria-hidden"))},this.isEmpty=e=>null==e||""===e;const t=h.currentId++,n=t+1,i=t+2;this.boxId=e.id||`pf-modal-part-${t}`,this.labelId=`pf-modal-part-${n}`,this.descriptorId=`pf-modal-part-${i}`,this.state={container:void 0,ouiaStateId:d.getDefaultOUIAId(h.displayName,e.variant)}}componentDidMount(){const{appendTo:e,title:t,"aria-label":n,"aria-labelledby":i,hasNoBodyWrapper:o,header:r}=this.props,a=this.getElement(e),c=document.createElement("div");this.setState({container:c}),a.appendChild(c),a.addEventListener("keydown",this.handleEscKeyClick,!1),this.props.isOpen?a.classList.add(s.css(l.default.backdropOpen)):a.classList.remove(s.css(l.default.backdropOpen)),this.isEmpty(t)&&this.isEmpty(n)&&this.isEmpty(i)&&console.error("Modal: Specify at least one of: title, aria-label, aria-labelledby."),this.isEmpty(n)&&this.isEmpty(i)&&(o||r)&&console.error("Modal: When using hasNoBodyWrapper or setting a custom header, ensure you assign an accessible name to the the modal container with aria-label or aria-labelledby.")}componentDidUpdate(){const{appendTo:e}=this.props,t=this.getElement(e);this.props.isOpen?(t.classList.add(s.css(l.default.backdropOpen)),this.toggleSiblingsFromScreenReaders(!0)):(t.classList.remove(s.css(l.default.backdropOpen)),this.toggleSiblingsFromScreenReaders(!1))}componentWillUnmount(){const{appendTo:e}=this.props,t=this.getElement(e);this.state.container&&t.removeChild(this.state.container),t.removeEventListener("keydown",this.handleEscKeyClick,!1),t.classList.remove(s.css(l.default.backdropOpen))}render(){const e=this.props,{appendTo:t,onEscapePress:n,"aria-labelledby":s,"aria-label":l,"aria-describedby":d,title:u,titleIconVariant:h,titleLabel:p,ouiaId:f,ouiaSafe:g}=e,m=i.__rest(e,["appendTo","onEscapePress","aria-labelledby","aria-label","aria-describedby","title","titleIconVariant","titleLabel","ouiaId","ouiaSafe"]),{container:v}=this.state;return a.canUseDOM&&v?r.createPortal(o.createElement(c.ModalContent,Object.assign({},m,{boxId:this.boxId,labelId:this.labelId,descriptorId:this.descriptorId,title:u,titleIconVariant:h,titleLabel:p,"aria-label":l,"aria-describedby":d,"aria-labelledby":s,ouiaId:void 0!==f?f:this.state.ouiaStateId,ouiaSafe:g})),v):null}}t.Modal=h,h.displayName="Modal",h.currentId=0,h.defaultProps={className:"",isOpen:!1,title:"",titleIconVariant:null,titleLabel:"","aria-label":"",showClose:!0,"aria-describedby":"","aria-labelledby":"",id:void 0,actions:[],onClose:()=>{},variant:"default",hasNoBodyWrapper:!1,appendTo:()=>document.body,ouiaSafe:!0}},65530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBox=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(48481)),s=i.__importDefault(n(61641));t.ModalBox=e=>{var{children:t,className:n="",variant:l="default",position:c,positionOffset:d,"aria-labelledby":u,"aria-label":h="","aria-describedby":p,style:f}=e,g=i.__rest(e,["children","className","variant","position","positionOffset","aria-labelledby","aria-label","aria-describedby","style"]);return d&&((f=f||{})[s.default.name]=d),o.createElement("div",Object.assign({},g,{role:"dialog","aria-label":h||null,"aria-labelledby":u||null,"aria-describedby":p,"aria-modal":"true",className:r.css(a.default.modalBox,n,"top"===c&&a.default.modifiers.alignTop,"large"===l&&a.default.modifiers.lg,"small"===l&&a.default.modifiers.sm,"medium"===l&&a.default.modifiers.md),style:f}),t)},t.ModalBox.displayName="ModalBox"},83554:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBoxBody=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(48481));t.ModalBoxBody=e=>{var{children:t=null,className:n=""}=e,s=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({},s,{className:r.css(a.default.modalBoxBody,n)}),t)},t.ModalBoxBody.displayName="ModalBoxBody"},85825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBoxCloseButton=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(40002),a=i.__importDefault(n(62442));t.ModalBoxCloseButton=e=>{var{className:t="",onClose:n=(()=>{})}=e,s=i.__rest(e,["className","onClose"]);return o.createElement(r.Button,Object.assign({className:t,variant:"plain",onClick:n,"aria-label":"Close"},s),o.createElement(a.default,null))},t.ModalBoxCloseButton.displayName="ModalBoxCloseButton"},22958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBoxDescription=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(48481));t.ModalBoxDescription=e=>{var{children:t=null,className:n="",id:s=""}=e,l=i.__rest(e,["children","className","id"]);return o.createElement("div",Object.assign({},l,{id:s,className:r.css(a.default.modalBoxDescription,n)}),t)},t.ModalBoxDescription.displayName="ModalBoxDescription"},44816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBoxFooter=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(48481));t.ModalBoxFooter=e=>{var{children:t=null,className:n=""}=e,s=i.__rest(e,["children","className"]);return o.createElement("footer",Object.assign({},s,{className:r.css(a.default.modalBoxFooter,n)}),t)},t.ModalBoxFooter.displayName="ModalBoxFooter"},12777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBoxHeader=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(48481));t.ModalBoxHeader=e=>{var{children:t=null,className:n="",help:s=null}=e,l=i.__rest(e,["children","className","help"]);return o.createElement("header",Object.assign({className:r.css(a.default.modalBoxHeader,s&&a.default.modifiers.help,n)},l),s&&o.createElement(o.Fragment,null,o.createElement("div",{className:r.css(a.default.modalBoxHeaderMain)},t),o.createElement("div",{className:"pf-c-modal-box__header-help"},s)),!s&&t)},t.ModalBoxHeader.displayName="ModalBoxHeader"},71410:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalBoxTitle=t.isVariantIcon=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(48481)),a=n(61151),s=i.__importDefault(n(66096)),l=n(85881),c=n(22174),d=i.__importDefault(n(66352)),u=i.__importDefault(n(31822)),h=i.__importDefault(n(44834)),p=i.__importDefault(n(96508)),f=i.__importDefault(n(61049)),g=n(85881);t.isVariantIcon=e=>["success","danger","warning","info","default"].includes(e),t.ModalBoxTitle=e=>{var{className:n="",id:m,title:v,titleIconVariant:b,titleLabel:_=""}=e,y=i.__rest(e,["className","id","title","titleIconVariant","titleLabel"]);const[A,w]=o.useState(!1),C=o.useRef(),x=_||(t.isVariantIcon(b)?`${l.capitalize(b)} alert:`:_),S={success:o.createElement(d.default,null),danger:o.createElement(u.default,null),warning:o.createElement(h.default,null),info:o.createElement(p.default,null),default:o.createElement(f.default,null)},E=!t.isVariantIcon(b)&&b;g.useIsomorphicLayoutEffect((()=>{w(C.current&&C.current.offsetWidth<C.current.scrollWidth)}),[]);const k=o.createElement("h1",Object.assign({id:m,ref:C,className:a.css(r.default.modalBoxTitle,b&&r.default.modifiers.icon,n)},y),b&&o.createElement("span",{className:a.css(r.default.modalBoxTitleIcon)},t.isVariantIcon(b)?S[b]:o.createElement(E,null)),x&&o.createElement("span",{className:a.css(s.default.screenReader)},x),o.createElement("span",{className:a.css(r.default.modalBoxTitleText)},v));return A?o.createElement(c.Tooltip,{content:v,isVisible:!0},k):k},t.ModalBoxTitle.displayName="ModalBoxTitle"},54858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(85881),a=i.__importDefault(n(48481)),s=i.__importDefault(n(3597)),l=n(61151),c=n(85881),d=n(35846),u=n(83554),h=n(85825),p=n(65530),f=n(44816),g=n(22958),m=n(12777),v=n(71410);t.ModalContent=e=>{var{children:n,className:b="",isOpen:_=!1,header:y=null,help:A=null,description:w=null,title:C="",titleIconVariant:x=null,titleLabel:S="","aria-label":E="","aria-describedby":k,"aria-labelledby":M,showClose:D=!0,footer:N=null,actions:I=[],onClose:T=(()=>{}),variant:L="default",position:B,positionOffset:O,width:P=-1,boxId:F,labelId:R,descriptorId:j,disableFocusTrap:z=!1,hasNoBodyWrapper:V=!1,ouiaId:W,ouiaSafe:H=!0}=e,U=i.__rest(e,["children","className","isOpen","header","help","description","title","titleIconVariant","titleLabel","aria-label","aria-describedby","aria-labelledby","showClose","footer","actions","onClose","variant","position","positionOffset","width","boxId","labelId","descriptorId","disableFocusTrap","hasNoBodyWrapper","ouiaId","ouiaSafe"]);if(!_)return null;const Q=y?o.createElement(m.ModalBoxHeader,{help:A},y):C&&o.createElement(m.ModalBoxHeader,{help:A},o.createElement(v.ModalBoxTitle,{title:C,titleIconVariant:x,titleLabel:S,id:R}),w&&o.createElement(g.ModalBoxDescription,{id:j},w)),G=N?o.createElement(f.ModalBoxFooter,null,N):I.length>0&&o.createElement(f.ModalBoxFooter,null,I),K=V?n:o.createElement(u.ModalBoxBody,Object.assign({},U,!w&&!k&&{id:j}),n),Y=-1===P?{}:{width:P},$=o.createElement(p.ModalBox,Object.assign({id:F,style:Y,className:l.css(b,v.isVariantIcon(x)&&a.default.modifiers[x]),variant:L,position:B,positionOffset:O,"aria-label":E,"aria-labelledby":(()=>{if(null===M)return null;const e=[];return""!==(E&&F)&&e.push(E&&F),M&&e.push(M),C&&e.push(R),e.join(" ")})(),"aria-describedby":k||(V?null:j)},c.getOUIAProps(t.ModalContent.displayName,W,H)),D&&o.createElement(h.ModalBoxCloseButton,{onClose:T}),Q,K,G);return o.createElement(d.Backdrop,null,o.createElement(r.FocusTrap,{active:!z,focusTrapOptions:{clickOutsideDeactivates:!0},className:l.css(s.default.bullseye)},$))},t.ModalContent.displayName="ModalContent"},63392:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(78578),t),i.__exportStar(n(65530),t),i.__exportStar(n(83554),t),i.__exportStar(n(85825),t),i.__exportStar(n(12777),t),i.__exportStar(n(44816),t),i.__exportStar(n(54858),t)},79591:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Page=t.PageContextConsumer=t.PageContextProvider=t.PageLayouts=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151),s=i.__importDefault(n(77279)),l=n(4187),c=n(82816),d=n(78864);var u;(u=t.PageLayouts||(t.PageLayouts={})).vertical="vertical",u.horizontal="horizontal";const h=o.createContext({isManagedSidebar:!1,isNavOpen:!1,onNavToggle:()=>null});t.PageContextProvider=h.Provider,t.PageContextConsumer=h.Consumer;class p extends o.Component{constructor(e){super(e),this.mainRef=o.createRef(),this.getWindowWidth=()=>l.canUseDOM?window.innerWidth:1200,this.isMobile=()=>this.getWindowWidth()<Number.parseInt(s.default.value,10),this.resize=()=>{const{onPageResize:e}=this.props,t=this.isMobile();e&&e({mobileView:t,windowSize:this.getWindowWidth()}),t!==this.state.mobileView&&this.setState({mobileView:t})},this.handleResize=l.debounce(this.resize,250),this.handleMainClick=()=>{this.isMobile()&&this.state.mobileIsNavOpen&&this.mainRef.current&&this.setState({mobileIsNavOpen:!1})},this.onNavToggleMobile=()=>{this.setState((e=>({mobileIsNavOpen:!e.mobileIsNavOpen})))},this.onNavToggleDesktop=()=>{this.setState((e=>({desktopIsNavOpen:!e.desktopIsNavOpen})))};const{isManagedSidebar:t,defaultManagedSidebarIsOpen:n}=e,i=!t||n;this.state={desktopIsNavOpen:i,mobileIsNavOpen:!1,mobileView:!1}}componentDidMount(){const{isManagedSidebar:e,onPageResize:t}=this.props;if(e||t){l.canUseDOM&&window.addEventListener("resize",this.handleResize);const e=this.mainRef.current;e&&(e.addEventListener("mousedown",this.handleMainClick),e.addEventListener("touchstart",this.handleMainClick)),this.resize()}}componentWillUnmount(){const{isManagedSidebar:e,onPageResize:t}=this.props;if(e||t){l.canUseDOM&&window.removeEventListener("resize",this.handleResize);const e=this.mainRef.current;e&&(e.removeEventListener("mousedown",this.handleMainClick),e.removeEventListener("touchstart",this.handleMainClick))}}render(){const e=this.props,{breadcrumb:n,isBreadcrumbWidthLimited:s,className:l,children:u,header:h,sidebar:p,notificationDrawer:f,isNotificationDrawerExpanded:g,onNotificationDrawerExpand:m,isTertiaryNavWidthLimited:v,skipToContent:b,role:_,mainContainerId:y,isManagedSidebar:A,defaultManagedSidebarIsOpen:w,onPageResize:C,mainAriaLabel:x,mainTabIndex:S,tertiaryNav:E,isTertiaryNavGrouped:k,isBreadcrumbGrouped:M,additionalGroupedContent:D,groupProps:N}=e,I=i.__rest(e,["breadcrumb","isBreadcrumbWidthLimited","className","children","header","sidebar","notificationDrawer","isNotificationDrawerExpanded","onNotificationDrawerExpand","isTertiaryNavWidthLimited","skipToContent","role","mainContainerId","isManagedSidebar","defaultManagedSidebarIsOpen","onPageResize","mainAriaLabel","mainTabIndex","tertiaryNav","isTertiaryNavGrouped","isBreadcrumbGrouped","additionalGroupedContent","groupProps"]),{mobileView:T,mobileIsNavOpen:L,desktopIsNavOpen:B}=this.state,O={isManagedSidebar:A,onNavToggle:T?this.onNavToggleMobile:this.onNavToggleDesktop,isNavOpen:T?L:B};let P=null;E&&v?P=o.createElement("div",{className:a.css(r.default.pageMainNav,r.default.modifiers.limitWidth)},o.createElement("div",{className:a.css(r.default.pageMainBody)},E)):E&&(P=o.createElement("div",{className:a.css(r.default.pageMainNav)},E));let F=null;n&&s?F=o.createElement("section",{className:a.css(r.default.pageMainBreadcrumb,r.default.modifiers.limitWidth)},o.createElement("div",{className:a.css(r.default.pageMainBody)},n)):n&&(F=o.createElement("section",{className:a.css(r.default.pageMainBreadcrumb)},n));const R=k||M||D?o.createElement(d.PageGroup,Object.assign({},N),k&&P,M&&F,D):null,j=o.createElement("main",{ref:this.mainRef,role:_,id:y,className:a.css(r.default.pageMain),tabIndex:S,"aria-label":x},R,!k&&P,!M&&F,u),z=o.createElement(c.DrawerPanelContent,null,f);return o.createElement(t.PageContextProvider,{value:O},o.createElement("div",Object.assign({},I,{className:a.css(r.default.page,l)}),b,h,p,f&&o.createElement("div",{className:a.css(r.default.pageDrawer)},o.createElement(c.Drawer,{isExpanded:g,onExpand:m},o.createElement(c.DrawerContent,{panelContent:z},o.createElement(c.DrawerContentBody,null,j)))),!f&&j))}}t.Page=p,p.displayName="Page",p.defaultProps={isManagedSidebar:!1,isBreadcrumbWidthLimited:!1,defaultManagedSidebarIsOpen:!0,onPageResize:()=>null,mainTabIndex:-1,isNotificationDrawerExpanded:!1,onNotificationDrawerExpand:()=>null}},98685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageBreadcrumb=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(66004));t.PageBreadcrumb=e=>{var{className:t="",children:n,isWidthLimited:s,sticky:l,hasShadowTop:c=!1,hasShadowBottom:d=!1,hasOverflowScroll:u=!1}=e,h=i.__rest(e,["className","children","isWidthLimited","sticky","hasShadowTop","hasShadowBottom","hasOverflowScroll"]);return o.createElement("section",Object.assign({className:r.css(a.default.pageMainBreadcrumb,s&&a.default.modifiers.limitWidth,"top"===l&&a.default.modifiers.stickyTop,"bottom"===l&&a.default.modifiers.stickyBottom,c&&a.default.modifiers.shadowTop,d&&a.default.modifiers.shadowBottom,u&&a.default.modifiers.overflowScroll,t)},h),s&&o.createElement("div",{className:r.css(a.default.pageMainBody)},n),!s&&n)},t.PageBreadcrumb.displayName="PageBreadcrumb"},78864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(66004));t.PageGroup=e=>{var{className:t="",children:n,sticky:s,hasShadowTop:l=!1,hasShadowBottom:c=!1,hasOverflowScroll:d=!1}=e,u=i.__rest(e,["className","children","sticky","hasShadowTop","hasShadowBottom","hasOverflowScroll"]);return o.createElement("div",Object.assign({},u,{className:r.css(a.default.pageMainGroup,"top"===s&&a.default.modifiers.stickyTop,"bottom"===s&&a.default.modifiers.stickyBottom,l&&a.default.modifiers.shadowTop,c&&a.default.modifiers.shadowBottom,d&&a.default.modifiers.overflowScroll,t)}),n)},t.PageGroup.displayName="PageGroup"},39767:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageHeader=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151),s=i.__importDefault(n(81472)),l=n(40002),c=n(79591);t.PageHeader=e=>{var{className:t="",logo:n=null,logoProps:d=null,logoComponent:u="a",headerTools:h=null,topNav:p=null,isNavOpen:f=!0,isManagedSidebar:g,role:m,showNavToggle:v=!1,onNavToggle:b=(()=>{}),"aria-label":_="Global navigation","aria-controls":y=null}=e,A=i.__rest(e,["className","logo","logoProps","logoComponent","headerTools","topNav","isNavOpen","isManagedSidebar","role","showNavToggle","onNavToggle","aria-label","aria-controls"]);const w=u;return[!1,!0].includes(g)&&console.warn("isManagedSidebar is deprecated in the PageHeader component. To make the sidebar toggle uncontrolled, pass this prop in the Page component"),o.createElement(c.PageContextConsumer,null,(({isManagedSidebar:e,onNavToggle:i,isNavOpen:c})=>{const u=e?i:b,g=e?c:f;return o.createElement("header",Object.assign({role:m,className:a.css(r.default.pageHeader,t)},A),(v||n)&&o.createElement("div",{className:a.css(r.default.pageHeaderBrand)},v&&o.createElement("div",{className:a.css(r.default.pageHeaderBrandToggle)},o.createElement(l.Button,{id:"nav-toggle",onClick:u,"aria-label":_,"aria-controls":y,"aria-expanded":g?"true":"false",variant:l.ButtonVariant.plain},o.createElement(s.default,null))),n&&o.createElement(w,Object.assign({className:a.css(r.default.pageHeaderBrandLink)},d),n)),p&&o.createElement("div",{className:a.css(r.default.pageHeaderNav)},p),h)}))},t.PageHeader.displayName="PageHeader"},59142:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageHeaderTools=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151);t.PageHeaderTools=e=>{var{children:t,className:n}=e,s=i.__rest(e,["children","className"]);return o.createElement("div",Object.assign({className:a.css(r.default.pageHeaderTools,n)},s),t)},t.PageHeaderTools.displayName="PageHeaderTools"},83273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageHeaderToolsGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151),s=n(4187);t.PageHeaderToolsGroup=e=>{var{children:t,className:n,visibility:l}=e,c=i.__rest(e,["children","className","visibility"]);return o.createElement("div",Object.assign({className:a.css(r.default.pageHeaderToolsGroup,s.formatBreakpointMods(l,r.default),n)},c),t)},t.PageHeaderToolsGroup.displayName="PageHeaderToolsGroup"},62674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageHeaderToolsItem=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151),s=n(4187);t.PageHeaderToolsItem=({children:e,id:t,className:n,visibility:i,isSelected:l})=>o.createElement("div",{className:a.css(r.default.pageHeaderToolsItem,l&&r.default.modifiers.selected,s.formatBreakpointMods(i,r.default),n),id:t},e),t.PageHeaderToolsItem.displayName="PageHeaderToolsItem"},94415:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageNavigation=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(66004));t.PageNavigation=e=>{var{className:t="",children:n,isWidthLimited:s,sticky:l,hasShadowTop:c=!1,hasShadowBottom:d=!1,hasOverflowScroll:u=!1}=e,h=i.__rest(e,["className","children","isWidthLimited","sticky","hasShadowTop","hasShadowBottom","hasOverflowScroll"]);return o.createElement("div",Object.assign({className:r.css(a.default.pageMainNav,s&&a.default.modifiers.limitWidth,"top"===l&&a.default.modifiers.stickyTop,"bottom"===l&&a.default.modifiers.stickyBottom,c&&a.default.modifiers.shadowTop,d&&a.default.modifiers.shadowBottom,u&&a.default.modifiers.overflowScroll,t)},h),s&&o.createElement("div",{className:r.css(a.default.pageMainBody)},n),!s&&n)},t.PageNavigation.displayName="PageNavigation"},76680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageSection=t.PageSectionTypes=t.PageSectionVariants=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151),s=n(4187);var l,c;!function(e){e.default="default",e.light="light",e.dark="dark",e.darker="darker"}(l=t.PageSectionVariants||(t.PageSectionVariants={})),function(e){e.default="default",e.nav="nav",e.subNav="subnav",e.breadcrumb="breadcrumb",e.tabs="tabs",e.wizard="wizard"}(c=t.PageSectionTypes||(t.PageSectionTypes={}));const d={[c.default]:r.default.pageMainSection,[c.nav]:r.default.pageMainNav,[c.subNav]:r.default.pageMainSubnav,[c.breadcrumb]:r.default.pageMainBreadcrumb,[c.tabs]:r.default.pageMainTabs,[c.wizard]:r.default.pageMainWizard},u={[l.default]:"",[l.light]:r.default.modifiers.light,[l.dark]:r.default.modifiers.dark_200,[l.darker]:r.default.modifiers.dark_100};t.PageSection=e=>{var{className:t="",children:n,variant:l="default",type:c="default",padding:h,isFilled:p,isWidthLimited:f=!1,sticky:g,hasShadowTop:m=!1,hasShadowBottom:v=!1,hasOverflowScroll:b=!1}=e,_=i.__rest(e,["className","children","variant","type","padding","isFilled","isWidthLimited","sticky","hasShadowTop","hasShadowBottom","hasOverflowScroll"]);return o.createElement("section",Object.assign({},_,{className:a.css(d[c],s.formatBreakpointMods(h,r.default),u[l],!1===p&&r.default.modifiers.noFill,!0===p&&r.default.modifiers.fill,f&&r.default.modifiers.limitWidth,"top"===g&&r.default.modifiers.stickyTop,"bottom"===g&&r.default.modifiers.stickyBottom,m&&r.default.modifiers.shadowTop,v&&r.default.modifiers.shadowBottom,b&&r.default.modifiers.overflowScroll,t)}),f&&o.createElement("div",{className:a.css(r.default.pageMainBody)},n),!f&&n)},t.PageSection.displayName="PageSection"},43722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageSidebar=t.PageSidebarContext=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(66004)),a=n(61151),s=n(79591);t.PageSidebarContext=o.createContext({isNavOpen:!0}),t.PageSidebar=e=>{var{className:n="",nav:l,isNavOpen:c=!0,theme:d="dark"}=e,u=i.__rest(e,["className","nav","isNavOpen","theme"]);return o.createElement(s.PageContextConsumer,null,(({isManagedSidebar:e,isNavOpen:i})=>{const s=e?i:c;return o.createElement("div",Object.assign({id:"page-sidebar",className:a.css(r.default.pageSidebar,"light"===d&&r.default.modifiers.light,s&&r.default.modifiers.expanded,!s&&r.default.modifiers.collapsed,n),"aria-hidden":!s},u),o.createElement("div",{className:a.css(r.default.pageSidebarBody)},o.createElement(t.PageSidebarContext.Provider,{value:{isNavOpen:s}},l)))}))},t.PageSidebar.displayName="PageSidebar"},82336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageToggleButton=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(40002),a=n(79591);t.PageToggleButton=e=>{var{children:t,isNavOpen:n=!0,onNavToggle:s=(()=>{})}=e,l=i.__rest(e,["children","isNavOpen","onNavToggle"]);return o.createElement(a.PageContextConsumer,null,(({isManagedSidebar:e,onNavToggle:i,isNavOpen:a})=>{const c=e?i:s,d=e?a:n;return o.createElement(r.Button,Object.assign({id:"nav-toggle",onClick:c,"aria-label":"Side navigation toggle","aria-expanded":d?"true":"false",variant:r.ButtonVariant.plain},l),t)}))},t.PageToggleButton.displayName="PageToggleButton"},30123:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(79591),t),i.__exportStar(n(98685),t),i.__exportStar(n(78864),t),i.__exportStar(n(39767),t),i.__exportStar(n(43722),t),i.__exportStar(n(76680),t),i.__exportStar(n(59142),t),i.__exportStar(n(83273),t),i.__exportStar(n(62674),t),i.__exportStar(n(94415),t),i.__exportStar(n(82336),t)},60777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Radio=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(42317)),a=n(61151),s=n(85881);class l extends o.Component{constructor(e){super(e),this.handleChange=e=>{this.props.onChange(e.currentTarget.checked,e)},e.label||e["aria-label"]||console.error("Radio:","Radio requires an aria-label to be specified"),this.state={ouiaStateId:s.getDefaultOUIAId(l.displayName)}}render(){const e=this.props,{"aria-label":t,checked:n,className:c,defaultChecked:d,isLabelWrapped:u,isLabelBeforeButton:h,isChecked:p,isDisabled:f,isValid:g,label:m,onChange:v,description:b,body:_,ouiaId:y,ouiaSafe:A=!0}=e,w=i.__rest(e,["aria-label","checked","className","defaultChecked","isLabelWrapped","isLabelBeforeButton","isChecked","isDisabled","isValid","label","onChange","description","body","ouiaId","ouiaSafe"]);w.id||console.error("Radio:","id is required to make input accessible");const C=o.createElement("input",Object.assign({},w,{className:a.css(r.default.radioInput),type:"radio",onChange:this.handleChange,"aria-invalid":!g,disabled:f,checked:n||p},void 0===n&&{defaultChecked:d},!m&&{"aria-label":t},s.getOUIAProps(l.displayName,void 0!==y?y:this.state.ouiaStateId,A)));let x=null;m&&u?x=o.createElement("span",{className:a.css(r.default.radioLabel,f&&r.default.modifiers.disabled)},m):m&&(x=o.createElement("label",{className:a.css(r.default.radioLabel,f&&r.default.modifiers.disabled),htmlFor:w.id},m));const S=b?o.createElement("span",{className:a.css(r.default.radioDescription)},b):null,E=_?o.createElement("span",{className:a.css(r.default.radioBody)},_):null,k=h?o.createElement(o.Fragment,null,x,C,S,E):o.createElement(o.Fragment,null,C,x,S,E);return u?o.createElement("label",{className:a.css(r.default.radio,c),htmlFor:w.id},k):o.createElement("div",{className:a.css(r.default.radio,!m&&r.default.modifiers.standalone,c)},k)}}t.Radio=l,l.displayName="Radio",l.defaultProps={className:"",isDisabled:!1,isValid:!0,onChange:()=>{}}},3680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(60777),t)},8694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Select=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(96886)),a=i.__importDefault(n(726)),s=i.__importDefault(n(38294)),l=i.__importDefault(n(38701)),c=n(61151),d=i.__importDefault(n(77225)),u=i.__importDefault(n(66352)),h=i.__importDefault(n(44834)),p=i.__importDefault(n(31822)),f=n(75056),g=n(93407),m=n(31059),v=n(60826),b=n(2912),_=n(40358),y=n(89811),A=n(85881),w=n(5403),C=n(87188),x=n(46492),S=n(18868);let E=0;class k extends o.Component{constructor(){super(...arguments),this.parentRef=o.createRef(),this.menuComponentRef=o.createRef(),this.filterRef=o.createRef(),this.clearRef=o.createRef(),this.inputRef=o.createRef(),this.refCollection=[[]],this.optionContainerRefCollection=[],this.footerRef=o.createRef(),this.state={focusFirstOption:!1,typeaheadInputValue:null,typeaheadFilteredChildren:o.Children.toArray(this.props.children),favoritesGroup:[],typeaheadCurrIndex:-1,typeaheadStoredIndex:-1,creatableValue:"",tabbedIntoFavoritesMenu:!1,ouiaStateId:A.getDefaultOUIAId(k.displayName,this.props.variant),viewMoreNextIndex:-1},this.getTypeaheadActiveChild=e=>this.refCollection[e]?this.refCollection[e][0]:null,this.componentDidUpdate=(e,t)=>{if(this.props.hasInlineFilter&&(this.refCollection[0][0]=this.filterRef.current),!t.focusFirstOption&&this.state.focusFirstOption&&!this.props.customContent){const e=this.refCollection.find((e=>null!==e));e&&e[0]&&e[0].focus()}if(-1!==this.state.viewMoreNextIndex&&this.refCollection.length>this.state.viewMoreNextIndex&&"spinner"!==this.props.loadingVariant&&this.refCollection[this.state.viewMoreNextIndex][0].focus(),(e.children.length!==this.props.children.length||e.children.some(((e,t)=>e.props&&this.props.children[t].props?e.props.value!==this.props.children[t].props.value:e!==this.props.children[t])))&&this.updateTypeAheadFilteredChildren(t.typeaheadInputValue||"",null),this.props.onFavorite&&(this.props.favorites.length!==e.favorites.length||this.state.typeaheadFilteredChildren!==t.typeaheadFilteredChildren)){const e="typeahead"===this.props.variant||"typeaheadmulti"===this.props.variant?this.state.typeaheadFilteredChildren:this.props.children,t=x.createRenderableFavorites(e,this.props.isGrouped,this.props.favorites),n=t.length?[o.createElement(m.SelectGroup,{key:"favorites",label:this.props.favoritesLabel},t),o.createElement(w.Divider,{key:"favorites-group-divider"})]:[];this.setState({favoritesGroup:n})}},this.onEnter=()=>{this.setState({focusFirstOption:!0})},this.onToggle=e=>{const{isInputValuePersisted:t,onSelect:n,onToggle:i,hasInlineFilter:o}=this.props;!e&&t&&n&&n(void 0,this.inputRef.current?this.inputRef.current.value:""),e&&o&&this.setState({focusFirstOption:!0}),i(e)},this.onClose=()=>{this.setState({focusFirstOption:!1,typeaheadInputValue:null,typeaheadFilteredChildren:o.Children.toArray(this.props.children),typeaheadCurrIndex:-1,tabbedIntoFavoritesMenu:!1})},this.onChange=e=>{""===e.target.value.toString()||this.props.isOpen||this.onToggle(!0),this.props.onTypeaheadInputChanged&&this.props.onTypeaheadInputChanged(e.target.value.toString()),this.setState({typeaheadCurrIndex:-1,typeaheadInputValue:e.target.value,creatableValue:e.target.value}),this.updateTypeAheadFilteredChildren(e.target.value.toString(),e),this.refCollection=[[]]},this.updateTypeAheadFilteredChildren=(e,t)=>{let n;const{onFilter:i,isCreatable:r,onCreateOption:a,createText:s,noResultsFoundText:l,children:c,isGrouped:d,isCreateSelectOptionObject:u}=this.props;if(i)n=i(t,t?t.target.value:e)||c;else{let t;try{t=new RegExp(e.toString(),"i")}catch(n){t=new RegExp(e.toString().replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i")}const i=o.Children.toArray(c);if(d){const r=e=>e.props.value&&e.props.value.toString&&0===this.getDisplay(e.props.value.toString(),"text").search(t);n=""!==e.toString()?o.Children.map(c,(e=>{if(e.type!==m.SelectGroup)return o.Children.toArray(e).filter(r);{const t=o.Children.toArray(e.props.children).filter(r);if(t.length>0)return o.cloneElement(e,{titleId:e.props.label&&e.props.label.replace(/\W/g,"-"),children:t})}})):i}else n=""!==e.toString()?i.filter((n=>{const i=n.props.value;return!i||("string"!=typeof i&&i.toString&&i.compareTo?i.compareTo(e):0===this.getDisplay(n.props.value.toString(),"text").search(t))})):i}if(n||(n=[]),0===n.length&&!r&&n.push(o.createElement(g.SelectOption,{isDisabled:!0,key:"no-results",value:l,isNoResultsOption:!0})),r&&""!==e){const t=e;if(!n.find((e=>e.props.value&&e.props.value.toString().toLowerCase()===t.toString().toLowerCase()))){const e=u?{toString:()=>t,compareTo:e=>this.toString().toLowerCase().includes(e.toString().toLowerCase())}:t;n.push(o.createElement(g.SelectOption,{key:`create ${t}`,value:e,onClick:()=>a&&a(t)},s,' "',t,'"'))}}this.setState({typeaheadFilteredChildren:n})},this.onClick=e=>{this.props.isOpen||this.onToggle(!0)},this.clearSelection=e=>{this.setState({typeaheadInputValue:null,typeaheadFilteredChildren:o.Children.toArray(this.props.children),typeaheadCurrIndex:-1})},this.sendRef=(e,t,n,i)=>{this.refCollection[i]=[e,t],this.optionContainerRefCollection[i]=n},this.handleMenuKeys=(e,t,n)=>{A.keyHandler(e,t,n,this.refCollection,this.refCollection),this.props.variant!==b.SelectVariant.typeahead&&this.props.variant!==b.SelectVariant.typeaheadMulti||"tab"!==n&&this.handleTypeaheadKeys(n)},this.moveFocus=(e,t=!0)=>{const{isCreatable:n,createText:i}=this.props,o=Boolean(this.refCollection[e][0]&&this.refCollection[e][0].classList.contains("pf-m-description"))?this.refCollection[e][0].firstElementChild:this.refCollection[e][0];let r="";n&&o.innerText.includes(i)?r=this.state.creatableValue:o&&(r=o.innerText),this.setState((n=>({typeaheadCurrIndex:t?e:n.typeaheadCurrIndex,typeaheadStoredIndex:e,typeaheadInputValue:r})))},this.handleTypeaheadKeys=e=>{const{isOpen:t,onFavorite:n}=this.props,{typeaheadCurrIndex:i,tabbedIntoFavoritesMenu:o,typeaheadStoredIndex:r}=this.state,a=this.getTypeaheadActiveChild(i);if(t)if("enter"===e)(a||this.refCollection[0]&&this.refCollection[0][0])&&(this.setState({typeaheadInputValue:a&&a.innerText||this.refCollection[0][0].innerText}),a?a.click():this.refCollection[0][0].click());else if("tab"===e)if(n)if(this.inputRef.current===document.activeElement){let e=0;-1!==i?e=i:-1!==r&&(e=r),null!==this.refCollection[e]&&null!==this.refCollection[e][0]?this.refCollection[e][0].focus():this.clearRef.current.focus(),this.setState({tabbedIntoFavoritesMenu:!0,typeaheadCurrIndex:-1})}else this.inputRef.current.focus(),this.setState({tabbedIntoFavoritesMenu:!1});else this.onToggle(!1);else if(o){const e=this.refCollection.findIndex((e=>void 0!==e&&(e[0]===document.activeElement||e[1]===document.activeElement)));this.moveFocus(e)}else{if(null===this.refCollection[0][0])return;let t;if(t=-1===i&&"down"===e?0:-1===i&&"up"===e?this.refCollection.length-1:"left"!==e&&"right"!==e?A.getNextIndex(i,e,this.refCollection):i,null===this.refCollection[t])return;this.moveFocus(t)}},this.onClickTypeaheadToggleButton=()=>{this.inputRef&&this.inputRef.current&&this.inputRef.current.focus()},this.getDisplay=(e,t="node")=>{if(!e)return;const n=this.props.isGrouped?o.Children.toArray(this.props.children).reduce(((e,t)=>[...e,...o.Children.toArray(t.props.children)]),[]).find((t=>t.props.value.toString()===e.toString())):o.Children.toArray(this.props.children).find((t=>t.props.value&&t.props.value.toString()===e.toString()));return n?n&&n.props.children?"node"===t?n.props.children:this.findText(n):n.props.value.toString():e.toString()},this.findText=e=>{if("string"==typeof e)return e;if(o.isValidElement(e)){const t=[];return o.Children.toArray(e.props.children).forEach((e=>t.push(this.findText(e)))),t.join("")}return""},this.generateSelectedBadge=()=>{const{customBadgeText:e,selections:t}=this.props;return null!==e?e:Array.isArray(t)&&t.length>0?t.length:null},this.setVieMoreNextIndex=()=>{this.setState({viewMoreNextIndex:this.refCollection.length-1})},this.isLastOptionBeforeFooter=e=>!(!this.props.footer||e!==this.refCollection.length-1)}extendTypeaheadChildren(e,t){const{isGrouped:n,onFavorite:i}=this.props,r=t?t.concat(this.state.typeaheadFilteredChildren):this.state.typeaheadFilteredChildren,a=this.optionContainerRefCollection[e];let s=this.getTypeaheadActiveChild(e);return s&&s.classList.contains("pf-m-description")&&(s=s.firstElementChild),this.refCollection=[[]],this.optionContainerRefCollection=[],n?o.Children.map(r,(e=>e.type===w.Divider?e:e.type===m.SelectGroup&&i?o.cloneElement(e,{titleId:e.props.label&&e.props.label.replace(/\W/g,"-"),children:o.Children.map(e.props.children,(t=>t.type===w.Divider?t:o.cloneElement(t,{isFocused:a&&(a.id===t.props.id||this.props.isCreatable&&s.innerText===`{createText} "${e.props.value}"`)})))}):e.type===m.SelectGroup?o.cloneElement(e,{titleId:e.props.label&&e.props.label.replace(/\W/g,"-"),children:o.Children.map(e.props.children,(e=>e.type===w.Divider?e:o.cloneElement(e,{isFocused:s&&(s.innerText===e.props.value.toString()||this.props.isCreatable&&s.innerText===`{createText} "${e.props.value}"`)})))}):o.cloneElement(e,{isFocused:s&&(s.innerText===e.props.value.toString()||this.props.isCreatable&&s.innerText===`{createText} "${e.props.value}"`)}))):r.map((e=>"Divider"===e.type.displayName?e:o.cloneElement(e,{isFocused:s&&(s.innerText===e.props.value.toString()||this.props.isCreatable&&s.innerText===`{createText} "${e.props.value}"`)})))}render(){const e=this.props,{children:t,chipGroupProps:n,chipGroupComponent:m,className:M,customContent:D,variant:N,direction:I,onSelect:T,onClear:L,toggleId:B,isOpen:O,isGrouped:P,isPlain:F,isDisabled:R,hasPlaceholderStyle:j,validated:z,selections:V,typeAheadAriaLabel:W,clearSelectionsAriaLabel:H,toggleAriaLabel:U,removeSelectionAriaLabel:Q,"aria-label":G,"aria-labelledby":K,"aria-describedby":Y,"aria-invalid":$,placeholderText:J,width:q,maxHeight:Z,toggleIcon:X,ouiaId:ee,ouiaSafe:te,hasInlineFilter:ne,isCheckboxSelectionBadgeHidden:ie,inlineFilterPlaceholderText:oe,onFilter:re,onTypeaheadInputChanged:ae,onCreateOption:se,isCreatable:le,onToggle:ce,createText:de,noResultsFoundText:ue,customBadgeText:he,inputIdPrefix:pe,isInputValuePersisted:fe,menuAppendTo:ge,favorites:me,onFavorite:ve,favoritesLabel:be,footer:_e,loadingVariant:ye,isCreateSelectOptionObject:Ae}=e,we=i.__rest(e,["children","chipGroupProps","chipGroupComponent","className","customContent","variant","direction","onSelect","onClear","toggleId","isOpen","isGrouped","isPlain","isDisabled","hasPlaceholderStyle","validated","selections","typeAheadAriaLabel","clearSelectionsAriaLabel","toggleAriaLabel","removeSelectionAriaLabel","aria-label","aria-labelledby","aria-describedby","aria-invalid","placeholderText","width","maxHeight","toggleIcon","ouiaId","ouiaSafe","hasInlineFilter","isCheckboxSelectionBadgeHidden","inlineFilterPlaceholderText","onFilter","onTypeaheadInputChanged","onCreateOption","isCreatable","onToggle","createText","noResultsFoundText","customBadgeText","inputIdPrefix","isInputValuePersisted","menuAppendTo","favorites","onFavorite","favoritesLabel","footer","loadingVariant","isCreateSelectOptionObject"]),{focusFirstOption:Ce,typeaheadCurrIndex:xe,typeaheadInputValue:Se,typeaheadFilteredChildren:Ee,favoritesGroup:ke}=this.state,Me=B||"pf-select-toggle-id-"+E++,De=Array.isArray(V)?V:[V],Ne=o.Children.toArray(t).find((e=>e.props.value===De[0])),Ie=Ne&&Ne.props.isPlaceholder,Te=Boolean(De[0]&&""!==De[0]),Le=this.getTypeaheadActiveChild(xe);let Be=null,Oe=[];if(ve){let e=t;"typeahead"===N||"typeaheadmulti"===N?e=this.extendTypeaheadChildren(xe,ke):ve&&(e=ke.concat(t)),Oe=x.extendItemsWithFavorite(e,P,me)}else Oe=t;if(!D&&!Te&&!J){const e=o.Children.toArray(t).filter((e=>!0===e.props.isPlaceholder));Be=e[0]&&this.getDisplay(e[0].props.value,"node")||t[0]&&this.getDisplay(t[0].props.value,"node")}O&&void 0===Oe.find((e=>{var t;return"loading"===(null===(t=e)||void 0===t?void 0:t.key)}))&&("spinner"===ye?Oe.push(o.createElement(g.SelectOption,{isLoading:!0,key:"loading",value:"loading"},o.createElement(y.Spinner,{size:"lg"}))):(null==ye?void 0:ye.text)&&Oe.push(o.createElement(g.SelectOption,{isLoad:!0,key:"loading",value:ye.text,setViewMoreNextIndex:this.setVieMoreNextIndex,onClick:null==ye?void 0:ye.onClick})));const Pe=L!==k.defaultProps.onClear,Fe=o.createElement("button",{className:c.css(l.default.button,l.default.modifiers.plain,r.default.selectToggleClear),onClick:e=>{this.clearSelection(e),L(e)},"aria-label":H,type:"button",disabled:R,ref:this.clearRef,onKeyDown:e=>{e.key===b.KeyTypes.Enter&&this.clearRef.current.click()}},o.createElement(d.default,{"aria-hidden":!0}));let Re,je,ze=null;if(N===b.SelectVariant.typeaheadMulti&&(ze=m||o.createElement(_.ChipGroup,Object.assign({},n),De&&De.map((e=>o.createElement(_.Chip,{key:e,onClick:t=>T(t,e),closeBtnAriaLabel:Q},this.getDisplay(e,"node")))))),ne&&(Oe=[o.createElement(o.Fragment,null,o.createElement("div",{key:"inline-filter",className:c.css(r.default.selectMenuSearch)},o.createElement("input",{key:"inline-filter-input",type:"search",className:c.css(s.default.formControl,s.default.modifiers.search),onChange:this.onChange,placeholder:oe,onKeyDown:e=>{e.key===b.KeyTypes.ArrowUp?(this.handleMenuKeys(0,0,"up"),e.preventDefault()):e.key===b.KeyTypes.ArrowDown?(this.handleMenuKeys(0,0,"down"),e.preventDefault()):e.key===b.KeyTypes.ArrowLeft?(this.handleMenuKeys(0,0,"left"),e.preventDefault()):e.key===b.KeyTypes.ArrowRight?(this.handleMenuKeys(0,0,"right"),e.preventDefault()):e.key===b.KeyTypes.Tab&&N===b.SelectVariant.checkbox&&(e.shiftKey?this.handleMenuKeys(0,0,"up"):this.handleMenuKeys(0,0,"down"),e.stopPropagation(),e.preventDefault())},ref:this.filterRef,autoComplete:"off"})),o.createElement(w.Divider,{key:"inline-filter-divider"})),...Ee].map(((e,t)=>o.cloneElement(e,{key:t})))),D)Re={selected:De,openedOnEnter:Ce,isCustomContent:!0},je=D;else switch(N){case"single":Re={selected:De[0],hasInlineFilter:ne,openedOnEnter:Ce},je=Oe;break;case"checkbox":Re={checked:De,isGrouped:P,hasInlineFilter:ne,openedOnEnter:Ce},je=Oe;break;case"typeahead":Re={selected:De[0],openedOnEnter:Ce},je=ve?Oe:this.extendTypeaheadChildren(xe),0===je.length&&je.push(o.createElement(g.SelectOption,{isDisabled:!0,key:0,value:ue,isNoResultsOption:!0}));break;case"typeaheadmulti":Re={selected:De,openedOnEnter:Ce},je=ve?Oe:this.extendTypeaheadChildren(xe),0===je.length&&je.push(o.createElement(g.SelectOption,{isDisabled:!0,key:0,value:ue,isNoResultsOption:!0}))}const Ve=o.createElement(f.SelectMenu,Object.assign({},we,{isGrouped:P,selected:De},Re,{openedOnEnter:Ce,"aria-label":G,"aria-labelledby":K,sendRef:this.sendRef,keyHandler:this.handleMenuKeys,maxHeight:Z,ref:this.menuComponentRef,footer:_e,footerRef:this.footerRef,isLastOptionBeforeFooter:this.isLastOptionBeforeFooter}),je),We=_e?o.createElement("div",{className:c.css(r.default.selectMenu)}," ",Ve," "):Ve,He=o.createElement("div",Object.assign({className:c.css(r.default.select,O&&r.default.modifiers.expanded,z===S.ValidatedOptions.success&&r.default.modifiers.success,z===S.ValidatedOptions.warning&&r.default.modifiers.warning,z===S.ValidatedOptions.error&&r.default.modifiers.invalid,I===b.SelectDirection.up&&r.default.modifiers.top,M)},q&&{style:{width:q}},z!==S.ValidatedOptions.default&&{"aria-describedby":Y},z!==S.ValidatedOptions.default&&{"aria-invalid":$}),O&&We),Ue=o.createElement("div",Object.assign({className:c.css(r.default.select,O&&r.default.modifiers.expanded,z===S.ValidatedOptions.success&&r.default.modifiers.success,z===S.ValidatedOptions.warning&&r.default.modifiers.warning,z===S.ValidatedOptions.error&&r.default.modifiers.invalid,I===b.SelectDirection.up&&r.default.modifiers.top,M),ref:this.parentRef},A.getOUIAProps(k.displayName,void 0!==ee?ee:this.state.ouiaStateId,te),q&&{style:{width:q}},z!==S.ValidatedOptions.default&&{"aria-describedby":Y},z!==S.ValidatedOptions.default&&{"aria-invalid":$}),o.createElement(v.SelectToggle,Object.assign({id:Me,parentRef:this.parentRef,menuRef:this.menuComponentRef},_e&&{footerRef:this.footerRef},{isOpen:O,isPlain:F,hasPlaceholderStyle:j&&(!De.length||null===De[0]||Ie),onToggle:this.onToggle,onEnter:this.onEnter,onClose:this.onClose,variant:N,"aria-labelledby":`${K||""} ${Me}`,"aria-label":U,handleTypeaheadKeys:this.handleTypeaheadKeys,isDisabled:R,hasClearButton:Pe,hasFooter:void 0!==_e,onClickTypeaheadToggleButton:this.onClickTypeaheadToggleButton}),D&&o.createElement("div",{className:c.css(r.default.selectToggleWrapper)},X&&o.createElement("span",{className:c.css(r.default.selectToggleIcon)},X),o.createElement("span",{className:c.css(r.default.selectToggleText)},J)),N===b.SelectVariant.single&&!D&&o.createElement(o.Fragment,null,o.createElement("div",{className:c.css(r.default.selectToggleWrapper)},X&&o.createElement("span",{className:c.css(r.default.selectToggleIcon)},X),o.createElement("span",{className:c.css(r.default.selectToggleText)},this.getDisplay(De[0],"node")||J||Be)),Pe&&Te&&Fe),N===b.SelectVariant.checkbox&&!D&&o.createElement(o.Fragment,null,o.createElement("div",{className:c.css(r.default.selectToggleWrapper)},X&&o.createElement("span",{className:c.css(r.default.selectToggleIcon)},X),o.createElement("span",{className:c.css(r.default.selectToggleText)},J),!ie&&Te&&o.createElement("div",{className:c.css(r.default.selectToggleBadge)},o.createElement("span",{className:c.css(a.default.badge,a.default.modifiers.read)},this.generateSelectedBadge()))),Pe&&Te&&Fe),N===b.SelectVariant.typeahead&&!D&&o.createElement(o.Fragment,null,o.createElement("div",{className:c.css(r.default.selectToggleWrapper)},X&&o.createElement("span",{className:c.css(r.default.selectToggleIcon)},X),o.createElement("input",{className:c.css(s.default.formControl,r.default.selectToggleTypeahead),"aria-activedescendant":Le&&Le.id,id:`${Me}-select-typeahead`,"aria-label":W,placeholder:J,value:null!==Se?Se:this.getDisplay(De[0],"text")||"",type:"text",onClick:this.onClick,onChange:this.onChange,autoComplete:"off",disabled:R,ref:this.inputRef})),Pe&&(De[0]||Se)&&Fe),N===b.SelectVariant.typeaheadMulti&&!D&&o.createElement(o.Fragment,null,o.createElement("div",{className:c.css(r.default.selectToggleWrapper)},X&&o.createElement("span",{className:c.css(r.default.selectToggleIcon)},X),De&&Array.isArray(De)&&De.length>0&&ze,o.createElement("input",{className:c.css(s.default.formControl,r.default.selectToggleTypeahead),"aria-activedescendant":Le&&Le.id,id:`${Me}-select-multi-typeahead-typeahead`,"aria-label":W,"aria-invalid":z===S.ValidatedOptions.error,placeholder:J,value:null!==Se?Se:"",type:"text",onChange:this.onChange,onClick:this.onClick,autoComplete:"off",disabled:R,ref:this.inputRef})),Pe&&(De&&De.length>0||Se)&&Fe),z===S.ValidatedOptions.success&&o.createElement("span",{className:c.css(r.default.selectToggleStatusIcon)},o.createElement(u.default,{"aria-hidden":"true"})),z===S.ValidatedOptions.error&&o.createElement("span",{className:c.css(r.default.selectToggleStatusIcon)},o.createElement(p.default,{"aria-hidden":"true"})),z===S.ValidatedOptions.warning&&o.createElement("span",{className:c.css(r.default.selectToggleStatusIcon)},o.createElement(h.default,{"aria-hidden":"true"}))),O&&"inline"===ge&&We),Qe=()=>this.parentRef&&this.parentRef.current?this.parentRef.current.parentElement:null;return o.createElement(A.GenerateId,null,(e=>o.createElement(b.SelectContext.Provider,{value:{onSelect:T,onFavorite:ve,onClose:this.onClose,variant:N,inputIdPrefix:pe||e}},"inline"===ge?Ue:o.createElement(C.Popper,{trigger:Ue,popper:He,direction:I,appendTo:"parent"===ge?Qe():ge,isVisible:O}))))}}t.Select=k,k.displayName="Select",k.defaultProps={children:[],className:"",position:b.SelectPosition.left,direction:b.SelectDirection.down,toggleId:null,isOpen:!1,isGrouped:!1,isPlain:!1,isDisabled:!1,hasPlaceholderStyle:!1,isCreatable:!1,validated:"default","aria-label":"","aria-labelledby":"","aria-describedby":"","aria-invalid":!1,typeAheadAriaLabel:"",clearSelectionsAriaLabel:"Clear all",toggleAriaLabel:"Options menu",removeSelectionAriaLabel:"Remove",selections:[],createText:"Create",placeholderText:"",noResultsFoundText:"No results found",variant:b.SelectVariant.single,width:"",onClear:()=>{},onCreateOption:()=>{},toggleIcon:null,onFilter:null,onTypeaheadInputChanged:null,customContent:null,hasInlineFilter:!1,inlineFilterPlaceholderText:null,customBadgeText:null,inputIdPrefix:"",menuAppendTo:"inline",favorites:[],favoritesLabel:"Favorites",ouiaSafe:!0,chipGroupComponent:null,isInputValuePersisted:!1,isCreateSelectOptionObject:!1}},31059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(96886)),a=n(61151),s=n(2912);t.SelectGroup=e=>{var{children:t=[],className:n="",label:l="",titleId:c=""}=e,d=i.__rest(e,["children","className","label","titleId"]);return o.createElement(s.SelectConsumer,null,(({variant:e})=>o.createElement("div",Object.assign({},d,{className:a.css(r.default.selectMenuGroup,n)}),o.createElement("div",{className:a.css(r.default.selectMenuGroupTitle),id:c,"aria-hidden":!0},l),e===s.SelectVariant.checkbox?t:o.createElement("ul",{role:"listbox"},t))))},t.SelectGroup.displayName="SelectGroup"},75056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectMenu=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(96886)),a=i.__importDefault(n(40189)),s=n(61151),l=n(93407),c=n(2912),d=n(31059),u=n(86482);class h extends o.Component{extendChildren(e){const{children:t,hasInlineFilter:n,isGrouped:i}=this.props,r=t;let a=n?1:0;return i?o.Children.map(r,(t=>t.type===d.SelectGroup?o.cloneElement(t,{titleId:t.props.label&&t.props.label.replace(/\W/g,"-"),children:o.Children.map(t.props.children,(t=>this.cloneOption(t,a++,e)))}):this.cloneOption(t,a++,e))):o.Children.map(r,(t=>this.cloneOption(t,a++,e)))}cloneOption(e,t,n){const{selected:i,sendRef:r,keyHandler:a}=this.props,s=this.checkForValue(e.props.value,i);return e.type===u.Divider?e:o.cloneElement(e,{inputId:`${n}-${t}`,isSelected:s,sendRef:r,keyHandler:a,index:t})}checkForValue(e,t){if(!t||!e)return!1;const n="string"!=typeof e&&e.toString&&e.compareTo;return Array.isArray(t)?n?t.some((t=>t.compareTo(e))):t.includes(e):n?t.compareTo(e):t===e}extendCheckboxChildren(e){const{isGrouped:t,checked:n,sendRef:i,keyHandler:a,hasInlineFilter:c,isLastOptionBeforeFooter:d}=this.props;let h=c?1:0;return t?o.Children.map(e,(e=>e.type===l.SelectOption||e.type===u.Divider?e:o.cloneElement(e,{titleId:e.props.label&&e.props.label.replace(/\W/g,"-"),children:e.props.children?o.createElement("fieldset",{"aria-labelledby":e.props.label&&e.props.label.replace(/\W/g,"-"),className:s.css(r.default.selectMenuFieldset)},o.Children.map(e.props.children,(e=>e.type===u.Divider?e:o.cloneElement(e,{isChecked:this.checkForValue(e.props.value,n),sendRef:i,keyHandler:a,index:h++})))):null}))):o.Children.map(e,(e=>e.type===u.Divider?e:o.cloneElement(e,{isChecked:this.checkForValue(e.props.value,n),sendRef:i,keyHandler:a,index:h++,isLastOptionBeforeFooter:d})))}renderSelectMenu({variant:e,inputIdPrefix:t}){const n=this.props,{children:l,isCustomContent:d,className:u,isExpanded:h,openedOnEnter:p,selected:f,checked:g,isGrouped:m,position:v,sendRef:b,keyHandler:_,maxHeight:y,noResultsFoundText:A,createText:w,"aria-label":C,"aria-labelledby":x,hasInlineFilter:S,innerRef:E,footer:k,footerRef:M,isLastOptionBeforeFooter:D}=n,N=i.__rest(n,["children","isCustomContent","className","isExpanded","openedOnEnter","selected","checked","isGrouped","position","sendRef","keyHandler","maxHeight","noResultsFoundText","createText","aria-label","aria-labelledby","hasInlineFilter","innerRef","footer","footerRef","isLastOptionBeforeFooter"]);let I="div";const T=Object.assign({ref:E,className:s.css(k?"pf-c-select__menu-list":r.default.selectMenu,v===c.SelectPosition.right&&r.default.modifiers.alignRight,u)},y&&{style:{maxHeight:y,overflow:"auto"}}),L=()=>e===c.SelectVariant.checkbox?this.extendCheckboxChildren(l):this.extendChildren(t);return d?T.children=l:S?0===o.Children.count(l)?T.children=o.createElement("fieldset",{className:s.css(r.default.selectMenuFieldset)}):T.children=o.createElement("fieldset",{"aria-label":C,"aria-labelledby":!C&&x||null,className:s.css(a.default.formFieldset)},l.shift(),L()):(T.children=L(),m||(I="ul",T.role="listbox",T["aria-label"]=C,T["aria-labelledby"]=!C&&x||null)),o.createElement(o.Fragment,null,o.createElement(I,Object.assign({},T,N)),k&&o.createElement("div",{className:s.css(r.default.selectMenuFooter),ref:M},k))}render(){return o.createElement(c.SelectConsumer,null,(e=>this.renderSelectMenu(e)))}}h.displayName="SelectMenu",h.defaultProps={className:"",isExpanded:!1,isGrouped:!1,openedOnEnter:!1,selected:"",maxHeight:"",position:c.SelectPosition.left,sendRef:()=>{},keyHandler:()=>{},isCustomContent:!1,hasInlineFilter:!1,isLastOptionBeforeFooter:()=>{}},t.SelectMenu=o.forwardRef(((e,t)=>o.createElement(h,Object.assign({innerRef:t},e),e.children)))},93407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectOption=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(96886)),a=i.__importDefault(n(80383)),s=n(61151),l=i.__importDefault(n(97159)),c=n(2912),d=i.__importDefault(n(63930)),u=n(4187);class h extends o.Component{constructor(){super(...arguments),this.ref=o.createRef(),this.liRef=o.createRef(),this.favoriteRef=o.createRef(),this.onKeyDown=(e,t,n,i)=>{const{index:o,keyHandler:r,isLastOptionBeforeFooter:a}=this.props;let s=!1;void 0!==a&&(s=a(o)),e.key===c.KeyTypes.Tab&&(i&&!s?(e.shiftKey?r(o,t,"up"):r(o,t,"down"),e.stopPropagation()):r(o,t,"tab")),e.preventDefault(),e.key===c.KeyTypes.ArrowUp?r(o,t,"up"):e.key===c.KeyTypes.ArrowDown?r(o,t,"down"):e.key===c.KeyTypes.ArrowLeft?r(o,t,"left"):e.key===c.KeyTypes.ArrowRight?r(o,t,"right"):e.key===c.KeyTypes.Enter&&(void 0!==n?n():this.ref.current.click())}}componentDidMount(){this.props.sendRef(this.props.isDisabled?null:this.ref.current,this.props.isDisabled?null:this.favoriteRef.current,this.props.isDisabled?null:this.liRef.current,this.props.index)}componentDidUpdate(){this.props.sendRef(this.props.isDisabled?null:this.ref.current,this.props.isDisabled?null:this.favoriteRef.current,this.props.isDisabled?null:this.liRef.current,this.props.index)}render(){const e=this.props,{children:t,className:n,id:h,description:p,itemCount:f,value:g,onClick:m,isDisabled:v,isPlaceholder:b,isNoResultsOption:_,isSelected:y,isChecked:A,isFocused:w,sendRef:C,keyHandler:x,index:S,component:E,inputId:k,isFavorite:M,ariaIsFavoriteLabel:D="starred",ariaIsNotFavoriteLabel:N="not starred",isLoad:I,isLoading:T,setViewMoreNextIndex:L,isLastOptionBeforeFooter:B}=e,O=i.__rest(e,["children","className","id","description","itemCount","value","onClick","isDisabled","isPlaceholder","isNoResultsOption","isSelected","isChecked","isFocused","sendRef","keyHandler","index","component","inputId","isFavorite","ariaIsFavoriteLabel","ariaIsNotFavoriteLabel","isLoad","isLoading","setViewMoreNextIndex","isLastOptionBeforeFooter"]),P=E;h||null===M||console.error("Please provide an id to use the favorites feature.");const F=h||u.getUniqueId("select-option"),R=e=>o.createElement("button",{className:s.css(r.default.selectMenuItem,r.default.modifiers.action,r.default.modifiers.favoriteAction),"aria-label":M?D:N,onClick:()=>{e(F.replace("favorite-",""),M)},onKeyDown:t=>{this.onKeyDown(t,1,(()=>e(F.replace("favorite-",""))))},ref:this.favoriteRef},o.createElement("span",{className:s.css(r.default.selectMenuItemActionIcon)},o.createElement(d.default,null))),j=f?o.createElement("span",{className:s.css(r.default.selectMenuItemRow)},o.createElement("span",{className:s.css(r.default.selectMenuItemText)},t||g&&g.toString&&g.toString()),o.createElement("span",{className:s.css(r.default.selectMenuItemCount)},f)):t||g.toString(),z=e=>{L(),m(e)};return o.createElement(c.SelectConsumer,null,(({onSelect:e,onClose:i,variant:d,inputIdPrefix:u,onFavorite:f})=>o.createElement(o.Fragment,null,d!==c.SelectVariant.checkbox&&o.createElement("li",{id:F,role:"presentation",className:s.css(T&&r.default.selectListItem,!I&&!T&&r.default.selectMenuWrapper,M&&r.default.modifiers.favorite,w&&r.default.modifiers.focus,T&&r.default.modifiers.loading),ref:this.liRef},T&&t,!T&&o.createElement(o.Fragment,null,o.createElement(P,Object.assign({},O,{className:s.css(r.default.selectMenuItem,I&&r.default.modifiers.load,y&&r.default.modifiers.selected,v&&r.default.modifiers.disabled,p&&r.default.modifiers.description,null!==M&&r.default.modifiers.link,n),onClick:t=>{I?(z(t),t.stopPropagation()):v||T||(m(t),e(t,g,b),i())},role:"option","aria-selected":y||null,ref:this.ref,onKeyDown:e=>{this.onKeyDown(e,0)},type:"button"}),p&&o.createElement(o.Fragment,null,o.createElement("span",{className:s.css(r.default.selectMenuItemMain)},j,y&&o.createElement("span",{className:s.css(r.default.selectMenuItemIcon)},o.createElement(l.default,{"aria-hidden":!0}))),o.createElement("span",{className:s.css(r.default.selectMenuItemDescription)},p)),!p&&o.createElement(o.Fragment,null,j,y&&o.createElement("span",{className:s.css(r.default.selectMenuItemIcon)},o.createElement(l.default,{"aria-hidden":!0})))),null!==M&&h&&R(f))),d===c.SelectVariant.checkbox&&I&&o.createElement("button",{className:s.css(r.default.selectMenuItem,r.default.modifiers.load,w&&r.default.modifiers.focus,n),onKeyDown:e=>{this.onKeyDown(e,0,void 0,!0)},onClick:e=>{z(e),e.stopPropagation()},ref:this.ref},t||g&&g.toString&&g.toString()),d===c.SelectVariant.checkbox&&T&&o.createElement("div",{className:s.css(r.default.selectListItem,T&&r.default.modifiers.loading,n)},t),d===c.SelectVariant.checkbox&&!_&&!T&&!I&&o.createElement("label",Object.assign({},O,{className:s.css(a.default.check,r.default.selectMenuItem,v&&r.default.modifiers.disabled,p&&r.default.modifiers.description,n),onKeyDown:e=>{this.onKeyDown(e,0,void 0,!0)}}),o.createElement("input",{id:k||`${u}-${g.toString()}`,className:s.css(a.default.checkInput),type:"checkbox",onChange:t=>{v||(m(t),e(t,g))},ref:this.ref,checked:A||!1,disabled:v}),o.createElement("span",{className:s.css(a.default.checkLabel,v&&r.default.modifiers.disabled)},j),p&&o.createElement("div",{className:s.css(a.default.checkDescription)},p)),d===c.SelectVariant.checkbox&&_&&!T&&!I&&o.createElement("div",null,o.createElement(P,Object.assign({},O,{className:s.css(r.default.selectMenuItem,y&&r.default.modifiers.selected,v&&r.default.modifiers.disabled,n),role:"option","aria-selected":y||null,ref:this.ref,onKeyDown:e=>{this.onKeyDown(e,0,void 0,!0)},type:"button"}),j)))))}}t.SelectOption=h,h.displayName="SelectOption",h.defaultProps={className:"",value:"",index:0,isDisabled:!1,isPlaceholder:!1,isSelected:!1,isChecked:!1,isNoResultsOption:!1,component:"button",onClick:()=>{},sendRef:()=>{},keyHandler:()=>{},inputId:"",isFavorite:null,isLoad:!1,isLoading:!1,setViewMoreNextIndex:()=>{},isLastOptionBeforeFooter:()=>!1}},60826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectToggle=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(96886)),a=i.__importDefault(n(38701)),s=n(61151),l=i.__importDefault(n(19872)),c=n(2912);class d extends o.Component{constructor(e){super(e),this.onDocClick=e=>{const{parentRef:t,menuRef:n,isOpen:i,onToggle:o,onClose:r}=this.props,a=t&&t.current&&t.current.contains(e.target),s=n&&n.current&&n.current.contains&&n.current.contains(e.target);!i||a||s||(o(!1),r())},this.findTabbableFooterElements=()=>{const e=this.props.footerRef.current.querySelectorAll("input, button, select, textarea, a[href]");return Array.prototype.filter.call(e,(function(e){return e.tabIndex>="0"}))},this.handleGlobalKeys=e=>{const{parentRef:t,menuRef:n,hasFooter:i,isOpen:o,variant:r,onToggle:a,onClose:s}=this.props,l=t&&t.current&&t.current.contains(e.target),d=n&&n.current&&n.current.contains&&n.current.contains(e.target);if(o&&e.key===c.KeyTypes.Tab&&(r===c.SelectVariant.typeahead||r===c.SelectVariant.typeaheadMulti))return this.props.handleTypeaheadKeys("tab"),void e.preventDefault();if(o&&e.key===c.KeyTypes.Tab&&i){const t=this.findTabbableFooterElements();if(t.length<=0)return a(!1),s(),void this.toggle.current.focus();{const n=t.findIndex((e=>e===document.activeElement));if(-1===n)return void t[0].focus();if(e.shiftKey)return;return n+1<t.length?t[n+1].focus():(a(!1),s(),this.toggle.current.focus()),void e.preventDefault()}}!o||e.key!==c.KeyTypes.Escape&&e.key!==c.KeyTypes.Tab||!l&&!d||(a(!1),s(),this.toggle.current.focus())},this.onKeyDown=e=>{const{isOpen:t,onToggle:n,variant:i,onClose:o,onEnter:r,handleTypeaheadKeys:a}=this.props;i!==c.SelectVariant.typeahead&&i!==c.SelectVariant.typeaheadMulti||(e.key===c.KeyTypes.ArrowDown||e.key===c.KeyTypes.ArrowUp?(a(e.key===c.KeyTypes.ArrowDown?"down":e.key===c.KeyTypes.ArrowUp&&"up"),e.preventDefault()):e.key===c.KeyTypes.Enter&&(t?a("enter"):n(!t))),i===c.SelectVariant.typeahead||i===c.SelectVariant.typeaheadMulti||e.key===c.KeyTypes.Tab&&!t||e.key!==c.KeyTypes.Enter&&e.key!==c.KeyTypes.Space||(e.preventDefault(),e.key!==c.KeyTypes.Tab&&e.key!==c.KeyTypes.Enter&&e.key!==c.KeyTypes.Space||!t?e.key!==c.KeyTypes.Enter&&e.key!==c.KeyTypes.Space||t||(n(!t),r()):(n(!t),o(),this.toggle.current.focus()))};const{variant:t}=e;t===c.SelectVariant.typeahead||c.SelectVariant.typeaheadMulti,this.toggle=o.createRef()}componentDidMount(){document.addEventListener("click",this.onDocClick),document.addEventListener("touchstart",this.onDocClick),document.addEventListener("keydown",this.handleGlobalKeys)}componentWillUnmount(){document.removeEventListener("click",this.onDocClick),document.removeEventListener("touchstart",this.onDocClick),document.removeEventListener("keydown",this.handleGlobalKeys)}render(){const e=this.props,{className:t,children:n,isOpen:d,isActive:u,isPlain:h,isDisabled:p,hasPlaceholderStyle:f,variant:g,onToggle:m,onEnter:v,onClose:b,onClickTypeaheadToggleButton:_,handleTypeaheadKeys:y,parentRef:A,menuRef:w,id:C,type:x,hasClearButton:S,"aria-labelledby":E,"aria-label":k,hasFooter:M,footerRef:D}=e,N=i.__rest(e,["className","children","isOpen","isActive","isPlain","isDisabled","hasPlaceholderStyle","variant","onToggle","onEnter","onClose","onClickTypeaheadToggleButton","handleTypeaheadKeys","parentRef","menuRef","id","type","hasClearButton","aria-labelledby","aria-label","hasFooter","footerRef"]),I=g===c.SelectVariant.typeahead||g===c.SelectVariant.typeaheadMulti||S,T={id:C,"aria-labelledby":E,"aria-expanded":d,"aria-haspopup":g!==c.SelectVariant.checkbox?"listbox":null};return o.createElement(o.Fragment,null,!I&&o.createElement("button",Object.assign({},N,T,{ref:this.toggle,type:x,className:s.css(r.default.selectToggle,f&&r.default.modifiers.placeholder,p&&r.default.modifiers.disabled,h&&r.default.modifiers.plain,u&&r.default.modifiers.active,t),"aria-label":k,onClick:e=>{m(!d),d&&b()},onKeyDown:this.onKeyDown,disabled:p}),n,o.createElement("span",{className:s.css(r.default.selectToggleArrow)},o.createElement(l.default,null))),I&&o.createElement("div",Object.assign({},N,{ref:this.toggle,className:s.css(r.default.selectToggle,f&&r.default.modifiers.placeholder,p&&r.default.modifiers.disabled,h&&r.default.modifiers.plain,I&&r.default.modifiers.typeahead,t),onClick:e=>{p||m(!d)},onKeyDown:this.onKeyDown}),n,o.createElement("button",Object.assign({},T,{type:x,className:s.css(a.default.button,r.default.selectToggleButton,r.default.modifiers.plain),"aria-label":k,onClick:e=>{m(!d),d&&b(),_()}},(g===c.SelectVariant.typeahead||g===c.SelectVariant.typeaheadMulti)&&{tabIndex:-1},{disabled:p}),o.createElement(l.default,{className:s.css(r.default.selectToggleArrow)}))))}}t.SelectToggle=d,d.displayName="SelectToggle",d.defaultProps={className:"",isOpen:!1,isActive:!1,isPlain:!1,isDisabled:!1,hasPlaceholderStyle:!1,hasClearButton:!1,hasFooter:!1,variant:"single","aria-labelledby":"","aria-label":"",type:"button",onToggle:()=>{},onEnter:()=>{},onClose:()=>{},onClickTypeaheadToggleButton:()=>{}}},60158:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(8694),t),i.__exportStar(n(31059),t),i.__exportStar(n(93407),t),i.__exportStar(n(2912),t)},2912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyTypes=t.SelectDirection=t.SelectPosition=t.SelectVariant=t.SelectConsumer=t.SelectProvider=t.SelectContext=void 0;const i=n(78951).__importStar(n(29901));var o,r,a;t.SelectContext=i.createContext(null),t.SelectProvider=t.SelectContext.Provider,t.SelectConsumer=t.SelectContext.Consumer,(a=t.SelectVariant||(t.SelectVariant={})).single="single",a.checkbox="checkbox",a.typeahead="typeahead",a.typeaheadMulti="typeaheadmulti",(r=t.SelectPosition||(t.SelectPosition={})).right="right",r.left="left",(o=t.SelectDirection||(t.SelectDirection={})).up="up",o.down="down",t.KeyTypes={Tab:"Tab",Space:" ",Escape:"Escape",Enter:"Enter",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"}},35538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=t.spinnerSize=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(32852)),a=n(61151);var s;(s=t.spinnerSize||(t.spinnerSize={})).sm="sm",s.md="md",s.lg="lg",s.xl="xl",t.Spinner=e=>{var{className:t="",size:n="xl","aria-valuetext":s="Loading...",isSVG:l=!1,diameter:c}=e,d=i.__rest(e,["className","size","aria-valuetext","isSVG","diameter"]);const u=l?"svg":"span";return o.createElement(u,Object.assign({className:a.css(r.default.spinner,r.default.modifiers[n],t),role:"progressbar","aria-valuetext":s},l&&{viewBox:"0 0 100 100"},c&&{style:{"--pf-c-spinner--diameter":c}},d),l?o.createElement("circle",{className:r.default.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):o.createElement(o.Fragment,null,o.createElement("span",{className:a.css(r.default.spinnerClipper)}),o.createElement("span",{className:a.css(r.default.spinnerLeadBall)}),o.createElement("span",{className:a.css(r.default.spinnerTailBall)})))},t.Spinner.displayName="Spinner"},89811:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(35538),t)},47604:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(80159)),a=n(61151),s=i.__importDefault(n(97159)),l=n(4187),c=n(85881);class d extends o.Component{constructor(e){super(e),e.label||e["aria-label"]||console.error("Switch: Switch requires either a label or an aria-label to be specified"),this.id=e.id||l.getUniqueId(),this.state={ouiaStateId:c.getDefaultOUIAId(d.displayName)}}render(){const e=this.props,{id:t,className:n,label:l,labelOff:u,isChecked:h,isDisabled:p,onChange:f,isReversed:g,ouiaId:m,ouiaSafe:v}=e,b=i.__rest(e,["id","className","label","labelOff","isChecked","isDisabled","onChange","isReversed","ouiaId","ouiaSafe"]),_=""===b["aria-label"];return o.createElement("label",Object.assign({className:a.css(r.default.switch,g&&r.default.modifiers.reverse,n),htmlFor:this.id},c.getOUIAProps(d.displayName,void 0!==m?m:this.state.ouiaStateId,v)),o.createElement("input",Object.assign({id:this.id,className:a.css(r.default.switchInput),type:"checkbox",onChange:e=>f(e.target.checked,e),checked:h,disabled:p,"aria-labelledby":_?`${this.id}-on`:null},b)),void 0!==l?o.createElement(o.Fragment,null,o.createElement("span",{className:a.css(r.default.switchToggle)}),o.createElement("span",{className:a.css(r.default.switchLabel,r.default.modifiers.on),id:_?`${this.id}-on`:null,"aria-hidden":"true"},l),o.createElement("span",{className:a.css(r.default.switchLabel,r.default.modifiers.off),id:_?`${this.id}-off`:null,"aria-hidden":"true"},void 0!==u?u:l)):o.createElement("span",{className:a.css(r.default.switchToggle)},o.createElement("div",{className:a.css(r.default.switchToggleIcon),"aria-hidden":"true"},o.createElement(s.default,{noVerticalAlign:!0}))))}}t.Switch=d,d.displayName="Switch",d.defaultProps={isChecked:!0,isDisabled:!1,isReversed:!1,"aria-label":"",onChange:()=>{}}},33632:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(47604),t)},82091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=t.TextVariants=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(98575)),s=n(85881);var l;!function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6",e.p="p",e.a="a",e.small="small",e.blockquote="blockquote",e.pre="pre"}(l=t.TextVariants||(t.TextVariants={})),t.Text=e=>{var{children:n=null,className:c="",component:d=l.p,isVisitedLink:u=!1,ouiaId:h,ouiaSafe:p=!0}=e,f=i.__rest(e,["children","className","component","isVisitedLink","ouiaId","ouiaSafe"]);const g=d,m=s.useOUIAProps(t.Text.displayName,h,p);return o.createElement(g,Object.assign({},m,f,{"data-pf-content":!0,className:r.css(u&&d===l.a&&a.default.modifiers.visited,c)}),n)},t.Text.displayName="Text"},59548:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(98575)),a=n(61151);t.TextContent=e=>{var{children:t=null,className:n="",isVisited:s=!1}=e,l=i.__rest(e,["children","className","isVisited"]);return o.createElement("div",Object.assign({},l,{className:a.css(r.default.content,s&&r.default.modifiers.visited,n)}),t)},t.TextContent.displayName="TextContent"},79469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextList=t.TextListVariants=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151);var a;!function(e){e.ul="ul",e.ol="ol",e.dl="dl"}(a=t.TextListVariants||(t.TextListVariants={})),t.TextList=e=>{var{children:t=null,className:n="",component:s=a.ul}=e,l=i.__rest(e,["children","className","component"]);const c=s;return o.createElement(c,Object.assign({},l,{"data-pf-content":!0,className:r.css(n)}),t)},t.TextList.displayName="TextList"},39569:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextListItem=t.TextListItemVariants=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151);var a;!function(e){e.li="li",e.dt="dt",e.dd="dd"}(a=t.TextListItemVariants||(t.TextListItemVariants={})),t.TextListItem=e=>{var{children:t=null,className:n="",component:s=a.li}=e,l=i.__rest(e,["children","className","component"]);const c=s;return o.createElement(c,Object.assign({},l,{"data-pf-content":!0,className:r.css(n)}),t)},t.TextListItem.displayName="TextListItem"},53299:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(59548),t),i.__exportStar(n(82091),t),i.__exportStar(n(79469),t),i.__exportStar(n(39569),t)},72357:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextArea=t.TextAreaBase=t.TextAreResizeOrientation=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(38294)),a=i.__importDefault(n(80717)),s=n(61151),l=n(85881);var c;!function(e){e.horizontal="horizontal",e.vertical="vertical",e.both="both"}(c=t.TextAreResizeOrientation||(t.TextAreResizeOrientation={}));class d extends o.Component{constructor(e){super(e),this.handleChange=e=>{const t=e.currentTarget;if(this.props.autoResize&&l.canUseDOM){t.style.setProperty(a.default.name,"inherit");const e=window.getComputedStyle(t),n=parseInt(e.getPropertyValue("border-top-width"))+parseInt(e.getPropertyValue("padding-top"))+t.scrollHeight+parseInt(e.getPropertyValue("padding-bottom"))+parseInt(e.getPropertyValue("border-bottom-width"));t.style.setProperty(a.default.name,`${n}px`)}this.props.onChange&&this.props.onChange(t.value,e)},e.id||e["aria-label"]||console.error("TextArea: TextArea requires either an id or aria-label to be specified")}render(){const e=this.props,{className:t,value:n,validated:a,isRequired:d,isDisabled:u,isReadOnly:h,resizeOrientation:p,innerRef:f,readOnly:g,disabled:m,autoResize:v,onChange:b}=e,_=i.__rest(e,["className","value","validated","isRequired","isDisabled","isReadOnly","resizeOrientation","innerRef","readOnly","disabled","autoResize","onChange"]),y=`resize${l.capitalize(p)}`;return o.createElement("textarea",Object.assign({className:s.css(r.default.formControl,t,p!==c.both&&r.default.modifiers[y],a===l.ValidatedOptions.success&&r.default.modifiers.success,a===l.ValidatedOptions.warning&&r.default.modifiers.warning),onChange:this.handleChange},"string"!=typeof this.props.defaultValue&&{value:n},{"aria-invalid":a===l.ValidatedOptions.error,required:d,disabled:u||m,readOnly:h||g,ref:f},_))}}t.TextAreaBase=d,d.displayName="TextArea",d.defaultProps={innerRef:o.createRef(),className:"",isRequired:!1,isDisabled:!1,validated:"default",resizeOrientation:"both","aria-label":null},t.TextArea=o.forwardRef(((e,t)=>o.createElement(d,Object.assign({},e,{innerRef:t})))),t.TextArea.displayName="TextArea"},72755:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(72357),t)},85405:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextInput=t.TextInputBase=t.TextInputTypes=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(38294)),a=n(61151),s=n(18868),l=n(4187),c=n(85881);var d;!function(e){e.text="text",e.date="date",e.datetimeLocal="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url"}(d=t.TextInputTypes||(t.TextInputTypes={}));class u extends o.Component{constructor(e){super(e),this.inputRef=o.createRef(),this.handleChange=e=>{this.props.onChange&&this.props.onChange(e.currentTarget.value,e)},this.handleResize=()=>{const e=this.props.innerRef||this.inputRef;e&&e.current&&l.trimLeft(e.current,String(this.props.value))},this.restoreText=()=>{const e=this.props.innerRef||this.inputRef;e.current.value=String(this.props.value),e.current.scrollLeft=e.current.scrollWidth},this.onFocus=e=>{const{isLeftTruncated:t,onFocus:n}=this.props;t&&this.restoreText(),n&&n(e)},this.onBlur=e=>{const{isLeftTruncated:t,onBlur:n}=this.props;t&&this.handleResize(),n&&n(e)},e.id||e["aria-label"]||e["aria-labelledby"]||console.error("Text input:","Text input requires either an id or aria-label to be specified"),this.state={ouiaStateId:c.getDefaultOUIAId(u.displayName)}}componentDidMount(){this.props.isLeftTruncated&&(this.handleResize(),l.canUseDOM&&window.addEventListener("resize",l.debounce(this.handleResize,250)))}componentWillUnmount(){this.props.isLeftTruncated&&l.canUseDOM&&window.removeEventListener("resize",l.debounce(this.handleResize,250))}render(){const e=this.props,{innerRef:n,className:l,type:d,value:u,validated:h,onChange:p,onFocus:f,onBlur:g,isLeftTruncated:m,isReadOnly:v,isRequired:b,isDisabled:_,iconVariant:y,customIconUrl:A,customIconDimensions:w,ouiaId:C,ouiaSafe:x}=e,S=i.__rest(e,["innerRef","className","type","value","validated","onChange","onFocus","onBlur","isLeftTruncated","isReadOnly","isRequired","isDisabled","iconVariant","customIconUrl","customIconDimensions","ouiaId","ouiaSafe"]),E={};return A&&(E.backgroundImage=`url('${A}')`),w&&(E.backgroundSize=w),o.createElement("input",Object.assign({},S,{onFocus:this.onFocus,onBlur:this.onBlur,className:a.css(r.default.formControl,h===s.ValidatedOptions.success&&r.default.modifiers.success,h===s.ValidatedOptions.warning&&r.default.modifiers.warning,(y&&"search"!==y||A)&&r.default.modifiers.icon,y&&r.default.modifiers[y],l),onChange:this.handleChange,type:d,value:u,"aria-invalid":S["aria-invalid"]?S["aria-invalid"]:h===s.ValidatedOptions.error,required:b,disabled:_,readOnly:v,ref:n||this.inputRef},(A||w)&&{style:E},c.getOUIAProps(t.TextInput.displayName,void 0!==C?C:this.state.ouiaStateId,x)))}}t.TextInputBase=u,u.displayName="TextInputBase",u.defaultProps={"aria-label":null,className:"",isRequired:!1,validated:"default",isDisabled:!1,isReadOnly:!1,type:d.text,isLeftTruncated:!1,onChange:()=>{},ouiaSafe:!0},t.TextInput=o.forwardRef(((e,t)=>o.createElement(u,Object.assign({},e,{innerRef:t})))),t.TextInput.displayName="TextInput"},93104:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(85405),t)},24481:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Title=t.TitleSizes=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(83089)),s=n(85881);var l,c;(c=t.TitleSizes||(t.TitleSizes={})).md="md",c.lg="lg",c.xl="xl",c["2xl"]="2xl",c["3xl"]="3xl",c["4xl"]="4xl",function(e){e.h1="2xl",e.h2="xl",e.h3="lg",e.h4="md",e.h5="md",e.h6="md"}(l||(l={})),t.Title=e=>{var{className:n="",children:c="",headingLevel:d,size:u=l[d],ouiaId:h,ouiaSafe:p=!0}=e,f=i.__rest(e,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const g=s.useOUIAProps(t.Title.displayName,h,p);return o.createElement(d,Object.assign({},g,f,{className:r.css(a.default.title,u&&a.default.modifiers[u],n)}),c)},t.Title.displayName="Title"},49726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(24481),t)},72298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Toolbar=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(87158),s=n(61151),l=n(26576),c=n(9524),d=n(4187),u=n(85881);class h extends o.Component{constructor(){super(...arguments),this.chipGroupContentRef=o.createRef(),this.staticFilterInfo={},this.state={isManagedToggleExpanded:!1,filterInfo:{},windowWidth:d.canUseDOM?window.innerWidth:1200,ouiaStateId:u.getDefaultOUIAId(h.displayName)},this.isToggleManaged=()=>!(this.props.isExpanded||this.props.toggleIsExpanded),this.toggleIsExpanded=()=>{this.setState((e=>({isManagedToggleExpanded:!e.isManagedToggleExpanded})))},this.closeExpandableContent=e=>{e.target.innerWidth!==this.state.windowWidth&&this.setState((()=>({isManagedToggleExpanded:!1,windowWidth:e.target.innerWidth})))},this.updateNumberFilters=(e,t)=>{const n=Object.assign({},this.staticFilterInfo);n.hasOwnProperty(e)&&n[e]===t||(n[e]=t,this.staticFilterInfo=n,this.setState({filterInfo:n}))},this.getNumberOfFilters=()=>Object.values(this.state.filterInfo).reduce(((e,t)=>e+t),0),this.renderToolbar=e=>{const t=this.props,{clearAllFilters:n,clearFiltersButtonText:a,collapseListedFiltersBreakpoint:p,isExpanded:f,toggleIsExpanded:g,className:m,children:v,isFullHeight:b,isStatic:_,inset:y,usePageInsets:A,isSticky:w,ouiaId:C}=t,x=i.__rest(t,["clearAllFilters","clearFiltersButtonText","collapseListedFiltersBreakpoint","isExpanded","toggleIsExpanded","className","children","isFullHeight","isStatic","inset","usePageInsets","isSticky","ouiaId"]),{isManagedToggleExpanded:S}=this.state,E=this.isToggleManaged(),k=E?S:f,M=this.getNumberOfFilters(),D=M>0;return o.createElement("div",Object.assign({className:s.css(r.default.toolbar,b&&r.default.modifiers.fullHeight,_&&r.default.modifiers.static,A&&r.default.modifiers.pageInsets,w&&r.default.modifiers.sticky,d.formatBreakpointMods(y,r.default),m),id:e},u.getOUIAProps(h.displayName,void 0!==C?C:this.state.ouiaStateId),x),o.createElement(l.ToolbarContext.Provider,{value:{isExpanded:k,toggleIsExpanded:E?this.toggleIsExpanded:g,chipGroupContentRef:this.chipGroupContentRef,updateNumberFilters:this.updateNumberFilters,numberOfFilters:M,clearAllFilters:n,clearFiltersButtonText:a,showClearFiltersButton:D,toolbarId:e}},v,o.createElement(c.ToolbarChipGroupContent,{isExpanded:k,chipGroupContentRef:this.chipGroupContentRef,clearAllFilters:n,showClearFiltersButton:D,clearFiltersButtonText:a,numberOfFilters:M,collapseListedFiltersBreakpoint:p})))}}componentDidMount(){this.isToggleManaged()&&d.canUseDOM&&window.addEventListener("resize",this.closeExpandableContent)}componentWillUnmount(){this.isToggleManaged()&&d.canUseDOM&&window.removeEventListener("resize",this.closeExpandableContent)}render(){return this.props.id?this.renderToolbar(this.props.id):o.createElement(a.GenerateId,null,(e=>this.renderToolbar(e)))}}t.Toolbar=h,h.displayName="Toolbar"},9524:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarChipGroupContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(61151),s=n(4187),l=n(73821),c=n(40002),d=n(94200),u=n(26576);class h extends o.Component{render(){const e=this.props,{className:t,isExpanded:n,chipGroupContentRef:h,clearAllFilters:p,showClearFiltersButton:f,clearFiltersButtonText:g,collapseListedFiltersBreakpoint:m,numberOfFilters:v}=e,b=i.__rest(e,["className","isExpanded","chipGroupContentRef","clearAllFilters","showClearFiltersButton","clearFiltersButtonText","collapseListedFiltersBreakpoint","numberOfFilters"]);let _=!1;return"all"===m?_=!0:s.canUseDOM&&(_=(s.canUseDOM?window.innerWidth:1200)<u.globalBreakpoints[m]),o.createElement("div",Object.assign({className:a.css(r.default.toolbarContent,(0===v||n)&&r.default.modifiers.hidden,t)},(0===v||n)&&{hidden:!0},{ref:h},b),o.createElement(d.ToolbarGroup,Object.assign({className:a.css(_&&r.default.modifiers.hidden)},_&&{hidden:!0},_&&{"aria-hidden":!0})),_&&v>0&&!n&&o.createElement(d.ToolbarGroup,null,o.createElement(l.ToolbarItem,null,v," filters applied")),f&&!n&&o.createElement(l.ToolbarItem,null,o.createElement(c.Button,{variant:"link",onClick:()=>{p()},isInline:!0},g)))}}t.ToolbarChipGroupContent=h,h.displayName="ToolbarChipGroupContent",h.defaultProps={clearFiltersButtonText:"Clear all filters",collapseListedFiltersBreakpoint:"lg"}},72899:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(61151),s=n(26576),l=n(4187),c=n(45953);class d extends o.Component{constructor(){super(...arguments),this.expandableContentRef=o.createRef(),this.chipContainerRef=o.createRef()}render(){const e=this.props,{className:t,children:n,isExpanded:u,toolbarId:h,visibility:p,visiblity:f,alignment:g,clearAllFilters:m,showClearFiltersButton:v,clearFiltersButtonText:b}=e,_=i.__rest(e,["className","children","isExpanded","toolbarId","visibility","visiblity","alignment","clearAllFilters","showClearFiltersButton","clearFiltersButtonText"]);return void 0!==f&&console.warn("The ToolbarContent visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead."),o.createElement("div",Object.assign({className:a.css(r.default.toolbarContent,l.formatBreakpointMods(p||f,r.default),l.formatBreakpointMods(g,r.default),t)},_),o.createElement(s.ToolbarContext.Consumer,null,(({clearAllFilters:e,clearFiltersButtonText:t,showClearFiltersButton:i,toolbarId:l})=>{const p=`${h||l}-expandable-content-${d.currentId++}`;return o.createElement(s.ToolbarContentContext.Provider,{value:{expandableContentRef:this.expandableContentRef,expandableContentId:p,chipContainerRef:this.chipContainerRef}},o.createElement("div",{className:a.css(r.default.toolbarContentSection)},n),o.createElement(c.ToolbarExpandableContent,{id:p,isExpanded:u,expandableContentRef:this.expandableContentRef,chipContainerRef:this.chipContainerRef,clearAllFilters:m||e,showClearFiltersButton:v||i,clearFiltersButtonText:b||t}))})))}}t.ToolbarContent=d,d.displayName="ToolbarContent",d.currentId=0,d.defaultProps={isExpanded:!1,showClearFiltersButton:!1}},77223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarExpandIconWrapper=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(61151);t.ToolbarExpandIconWrapper=e=>{var{children:t,className:n}=e,s=i.__rest(e,["children","className"]);return o.createElement("span",Object.assign({},s,{className:a.css(r.default.toolbarExpandAllIcon,n)}),t)},t.ToolbarExpandIconWrapper.displayName="ToolbarExpandIconWrapper"},45953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarExpandableContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(61151),s=n(94200),l=n(73821),c=n(40002),d=n(26576);class u extends o.Component{render(){const e=this.props,{className:t,expandableContentRef:n,chipContainerRef:d,isExpanded:u,clearAllFilters:h,clearFiltersButtonText:p,showClearFiltersButton:f}=e,g=i.__rest(e,["className","expandableContentRef","chipContainerRef","isExpanded","clearAllFilters","clearFiltersButtonText","showClearFiltersButton"]),{numberOfFilters:m}=this.context;return o.createElement("div",Object.assign({className:a.css(r.default.toolbarExpandableContent,t),ref:n},g),o.createElement(s.ToolbarGroup,null),m>0&&o.createElement(s.ToolbarGroup,{className:r.default.modifiers.chipContainer},o.createElement(s.ToolbarGroup,{ref:d}),f&&o.createElement(l.ToolbarItem,null,o.createElement(c.Button,{variant:"link",onClick:()=>{h()},isInline:!0},p))))}}t.ToolbarExpandableContent=u,u.displayName="ToolbarExpandableContent",u.contextType=d.ToolbarContext,u.defaultProps={isExpanded:!1,clearFiltersButtonText:"Clear all filters"}},68514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarFilter=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importStar(n(10571)),a=n(73821),s=n(40358),l=n(26576);class c extends o.Component{constructor(e){super(e),this.state={isMounted:!1}}componentDidMount(){const{categoryName:e,chips:t}=this.props;this.context.updateNumberFilters("string"!=typeof e&&e.hasOwnProperty("key")?e.key:e.toString(),t.length),this.setState({isMounted:!0})}componentDidUpdate(){const{categoryName:e,chips:t}=this.props;this.context.updateNumberFilters("string"!=typeof e&&e.hasOwnProperty("key")?e.key:e.toString(),t.length)}render(){const e=this.props,{children:t,chips:n,deleteChipGroup:c,deleteChip:d,chipGroupExpandedText:u,chipGroupCollapsedText:h,categoryName:p,showToolbarItem:f}=e,g=i.__rest(e,["children","chips","deleteChipGroup","deleteChip","chipGroupExpandedText","chipGroupCollapsedText","categoryName","showToolbarItem"]),{isExpanded:m,chipGroupContentRef:v}=this.context,b="string"!=typeof p&&p.hasOwnProperty("key")?p.key:p.toString(),_=n.length?o.createElement(a.ToolbarItem,{variant:"chip-group"},o.createElement(s.ChipGroup,{key:b,categoryName:"string"==typeof p?p:p.name,isClosable:void 0!==c,onClick:()=>c(p),collapsedText:h,expandedText:u},n.map((e=>"string"==typeof e?o.createElement(s.Chip,{key:e,onClick:()=>d(b,e)},e):o.createElement(s.Chip,{key:e.key,onClick:()=>d(b,e)},e.node))))):null;return!m&&this.state.isMounted?o.createElement(o.Fragment,null,f&&o.createElement(a.ToolbarItem,Object.assign({},g),t),r.createPortal(_,v.current.firstElementChild)):o.createElement(l.ToolbarContentContext.Consumer,null,(({chipContainerRef:e})=>o.createElement(o.Fragment,null,f&&o.createElement(a.ToolbarItem,Object.assign({},g),t),e.current&&r.createPortal(_,e.current))))}}t.ToolbarFilter=c,c.displayName="ToolbarFilter",c.contextType=l.ToolbarContext,c.defaultProps={chips:[],showToolbarItem:!0}},94200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarGroup=t.ToolbarGroupVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(61151),s=n(4187);var l;(l=t.ToolbarGroupVariant||(t.ToolbarGroupVariant={}))["filter-group"]="filter-group",l["icon-button-group"]="icon-button-group",l["button-group"]="button-group";class c extends o.Component{render(){const e=this.props,{visibility:t,visiblity:n,alignment:l,spacer:c,spaceItems:d,className:u,variant:h,children:p,innerRef:f}=e,g=i.__rest(e,["visibility","visiblity","alignment","spacer","spaceItems","className","variant","children","innerRef"]);return void 0!==n&&console.warn("The ToolbarGroup visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead."),o.createElement("div",Object.assign({className:a.css(r.default.toolbarGroup,h&&r.default.modifiers[s.toCamel(h)],s.formatBreakpointMods(t||n,r.default),s.formatBreakpointMods(l,r.default),s.formatBreakpointMods(c,r.default),s.formatBreakpointMods(d,r.default),u)},g,{ref:f}),p)}}t.ToolbarGroup=o.forwardRef(((e,t)=>o.createElement(c,Object.assign({},e,{innerRef:t}))))},73821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarItem=t.ToolbarItemVariant=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(27081)),a=n(61151),s=n(4187),l=n(5403);var c;!function(e){e.separator="separator",e["bulk-select"]="bulk-select",e["overflow-menu"]="overflow-menu",e.pagination="pagination",e["search-filter"]="search-filter",e.label="label",e["chip-group"]="chip-group",e["expand-all"]="expand-all"}(c=t.ToolbarItemVariant||(t.ToolbarItemVariant={})),t.ToolbarItem=e=>{var{className:t,variant:n,visibility:d,visiblity:u,alignment:h,spacer:p,widths:f,id:g,children:m,isAllExpanded:v}=e,b=i.__rest(e,["className","variant","visibility","visiblity","alignment","spacer","widths","id","children","isAllExpanded"]);if(n===c.separator)return o.createElement(l.Divider,Object.assign({className:a.css(r.default.modifiers.vertical,t)},b));void 0!==u&&console.warn("The ToolbarItem visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead.");const _={};return f&&Object.entries(f||{}).map((([e,t])=>_["--pf-c-toolbar__item--Width"+("default"!==e?`-on-${e}`:"")]=t)),o.createElement("div",Object.assign({className:a.css(r.default.toolbarItem,n&&r.default.modifiers[s.toCamel(n)],v&&r.default.modifiers.expanded,s.formatBreakpointMods(d||u,r.default),s.formatBreakpointMods(h,r.default),s.formatBreakpointMods(p,r.default),t)},"label"===n&&{"aria-hidden":!0},{id:g},b,f&&{style:Object.assign(Object.assign({},_),b.style)}),m)},t.ToolbarItem.displayName="ToolbarItem"},46071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarToggleGroup=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importStar(n(10571)),a=i.__importDefault(n(27081)),s=n(61151),l=n(26576),c=n(40002),d=i.__importDefault(n(22892)),u=n(4187);class h extends o.Component{constructor(){super(...arguments),this.isContentPopup=()=>(u.canUseDOM?window.innerWidth:1200)<parseInt(d.default.value)}render(){const e=this.props,{toggleIcon:t,variant:n,visibility:d,visiblity:h,breakpoint:p,alignment:f,spacer:g,spaceItems:m,className:v,children:b}=e,_=i.__rest(e,["toggleIcon","variant","visibility","visiblity","breakpoint","alignment","spacer","spaceItems","className","children"]);return p||t||console.error("ToolbarToggleGroup will not be visible without a breakpoint or toggleIcon."),void 0!==h&&console.warn("The ToolbarToggleGroup visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead."),o.createElement(l.ToolbarContext.Consumer,null,(({isExpanded:e,toggleIsExpanded:i})=>o.createElement(l.ToolbarContentContext.Consumer,null,(({expandableContentRef:l,expandableContentId:y})=>(l.current&&l.current.classList&&(e?l.current.classList.add(a.default.modifiers.expanded):l.current.classList.remove(a.default.modifiers.expanded)),o.createElement("div",Object.assign({className:s.css(a.default.toolbarGroup,a.default.modifiers.toggleGroup,n&&a.default.modifiers[u.toCamel(n)],p&&a.default.modifiers[`showOn${u.capitalize(p.replace("2xl","_2xl"))}`],u.formatBreakpointMods(d||h,a.default),u.formatBreakpointMods(f,a.default),u.formatBreakpointMods(g,a.default),u.formatBreakpointMods(m,a.default),v)},_),o.createElement("div",{className:s.css(a.default.toolbarToggle)},o.createElement(c.Button,Object.assign({variant:"plain",onClick:i,"aria-label":"Show Filters"},e&&{"aria-expanded":!0},{"aria-haspopup":e&&this.isContentPopup(),"aria-controls":y}),t)),e?r.createPortal(b,l.current.firstElementChild):b))))))}}t.ToolbarToggleGroup=h,h.displayName="ToolbarToggleGroup"},26576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalBreakpoints=t.ToolbarContentContext=t.ToolbarContext=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(85722)),a=i.__importDefault(n(22892)),s=i.__importDefault(n(77279)),l=i.__importDefault(n(41508));t.ToolbarContext=o.createContext({isExpanded:!1,toggleIsExpanded:()=>{},chipGroupContentRef:null,updateNumberFilters:()=>{},numberOfFilters:0,clearAllFilters:()=>{}}),t.ToolbarContentContext=o.createContext({expandableContentRef:null,expandableContentId:"",chipContainerRef:null}),t.globalBreakpoints={md:parseInt(r.default.value),lg:parseInt(a.default.value),xl:parseInt(s.default.value),"2xl":parseInt(l.default.value)}},65411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(72298),t),i.__exportStar(n(72899),t),i.__exportStar(n(77223),t),i.__exportStar(n(94200),t),i.__exportStar(n(73821),t),i.__exportStar(n(68514),t),i.__exportStar(n(46071),t),i.__exportStar(n(26576),t)},74350:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=t.TooltipPosition=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82793)),a=n(61151),s=n(25642),l=n(34799),c=n(18868),d=i.__importDefault(n(85907)),u=n(87188);var h;(h=t.TooltipPosition||(t.TooltipPosition={})).auto="auto",h.top="top",h.bottom="bottom",h.left="left",h.right="right";let p=1;t.Tooltip=e=>{var{content:t,position:n="top",trigger:h="mouseenter focus",isVisible:f=!1,isContentLeftAligned:g=!1,enableFlip:m=!0,className:v="",entryDelay:b=300,exitDelay:_=0,appendTo:y=(()=>document.body),zIndex:A=9999,maxWidth:w=d.default.value,distance:C=15,aria:x="describedby",flipBehavior:S=["top","right","bottom","left","top","right","bottom"],id:E="pf-tooltip-"+p++,children:k,animationDuration:M=300,reference:D,boundary:N,isAppLauncher:I,tippyProps:T}=e,L=i.__rest(e,["content","position","trigger","isVisible","isContentLeftAligned","enableFlip","className","entryDelay","exitDelay","appendTo","zIndex","maxWidth","distance","aria","flipBehavior","id","children","animationDuration","reference","boundary","isAppLauncher","tippyProps"]);const B=h.includes("mouseenter"),O=h.includes("focus"),P=h.includes("click"),F="manual"===h,[R,j]=o.useState(!1),[z,V]=o.useState(0),W=o.useRef(null),H=o.useRef(null),U=o.useRef(null),Q=e=>{e.forEach((e=>{e.current&&clearTimeout(e.current)}))};o.useEffect((()=>()=>{Q([W,U,H])}),[]),o.useEffect((()=>{f?G():K()}),[f]);const G=()=>{Q([W,U]),H.current=setTimeout((()=>{j(!0),V(1)}),b)},K=()=>{Q([H]),U.current=setTimeout((()=>{V(0),W.current=setTimeout((()=>j(!1)),M)}),_)},Y={top:r.default.modifiers.top,bottom:r.default.modifiers.bottom,left:r.default.modifiers.left,right:r.default.modifiers.right},$=w!==d.default.value,J=o.createElement("div",Object.assign({className:a.css(r.default.tooltip,v),role:"tooltip",id:E,style:{maxWidth:$?w:null,opacity:z,transition:u.getOpacityTransition(M)}},L),o.createElement(l.TooltipArrow,null),o.createElement(s.TooltipContent,{isLeftAligned:g},t));return o.createElement(u.Popper,{trigger:"none"!==x&&R?"describedby"===x&&k&&k.props&&!k.props["aria-describedby"]?o.cloneElement(k,{"aria-describedby":E}):"labelledby"===x&&k.props&&!k.props["aria-labelledby"]?o.cloneElement(k,{"aria-labelledby":E}):k:k,reference:D,popper:J,popperMatchesTriggerWidth:!1,appendTo:y,isVisible:R,positionModifiers:Y,distance:C,placement:n,onMouseEnter:B&&G,onMouseLeave:B&&K,onFocus:O&&G,onBlur:O&&K,onDocumentClick:P&&((e,t)=>{R?K():e.target===t&&G()}),onDocumentKeyDown:F?null:e=>{F||e.keyCode===c.KEY_CODES.ESCAPE_KEY&&R&&K()},onTriggerEnter:F?null:e=>{e.keyCode===c.KEY_CODES.ENTER&&(R?K():G())},enableFlip:m,zIndex:A,flipBehavior:S})},t.Tooltip.displayName="Tooltip"},34799:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipArrow=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82793)),a=n(61151);t.TooltipArrow=e=>{var{className:t}=e,n=i.__rest(e,["className"]);return o.createElement("div",Object.assign({className:a.css(r.default.tooltipArrow,t)},n))},t.TooltipArrow.displayName="TooltipArrow"},25642:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipContent=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(82793)),a=n(61151);t.TooltipContent=e=>{var{className:t,children:n,isLeftAligned:s}=e,l=i.__rest(e,["className","children","isLeftAligned"]);return o.createElement("div",Object.assign({className:a.css(r.default.tooltipContent,s&&r.default.modifiers.textAlignLeft,t)},l),n)},t.TooltipContent.displayName="TooltipContent"},22174:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(74350),t)},92439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FocusTrap=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(30150);class a extends o.Component{constructor(e){super(e),this.divRef=o.createRef(),"undefined"!=typeof document&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=r.createFocusTrap(this.divRef.current,Object.assign(Object.assign({},this.props.focusTrapOptions),{returnFocusOnDeactivate:!1})),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}componentDidUpdate(e){e.active&&!this.props.active?this.focusTrap.deactivate():!e.active&&this.props.active&&this.focusTrap.activate(),e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}componentWillUnmount(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus({preventScroll:this.props.preventScrollOnDeactivate})}render(){const e=this.props,{children:t,className:n,focusTrapOptions:r,active:a,paused:s,preventScrollOnDeactivate:l}=e,c=i.__rest(e,["children","className","focusTrapOptions","active","paused","preventScrollOnDeactivate"]);return o.createElement("div",Object.assign({ref:this.divRef,className:n},c),t)}}t.FocusTrap=a,a.displayName="FocusTrap",a.defaultProps={active:!0,paused:!1,focusTrapOptions:{},preventScrollOnDeactivate:!1}},87158:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenerateId=void 0;const i=n(78951).__importStar(n(29901));let o=0;class r extends i.Component{constructor(){super(...arguments),this.id=`${this.props.prefix}${o++}`}render(){return this.props.children(this.id)}}t.GenerateId=r,r.displayName="GenerateId",r.defaultProps={prefix:"pf-random-id-"}},22982:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardHandler=t.setTabIndex=t.handleArrows=void 0;const i=n(78951).__importStar(n(29901)),o=n(4187);t.handleArrows=(e,t,n=(e=>document.activeElement.contains(e)),i=(e=>e),o=["A","BUTTON","INPUT"],r=!1,a=!1,s=!0,l=!0)=>{const c=document.activeElement,d=e.key;let u=null;if(!r&&["ArrowUp","ArrowDown"].includes(d)){e.preventDefault(),e.stopImmediatePropagation();let o=-1;t.forEach(((e,r)=>{if(n(e)){let e=0;for(;!u&&e<t.length&&-1*e<t.length;)"ArrowUp"===d?e--:e++,o=r+e,o>=t.length&&(o=0),o<0&&(o=t.length-1),u=i(t[o])}}))}if(!a&&["ArrowLeft","ArrowRight"].includes(d)){e.preventDefault(),e.stopImmediatePropagation();let i=-1;t.forEach(((r,a)=>{if(n(r)){const n=t[a].querySelectorAll(o.join(","));if(!n.length||l){let e=c;for(;e;)if(e="ArrowLeft"===d?e.previousElementSibling:e.nextElementSibling,e&&o.includes(e.tagName)){u=e;break}}else n.forEach(((t,o)=>{e.target===t&&(i=o+("ArrowLeft"===d?-1:1),i>=n.length&&(i=0),i<0&&(i=n.length-1),u=n[i])}))}}))}u&&(s&&(c.tabIndex=-1,u.tabIndex=0),u.focus())},t.setTabIndex=e=>{e&&e.length>0&&(e.forEach((e=>{e.tabIndex=-1})),e[0].tabIndex=0)};class r extends i.Component{constructor(){super(...arguments),this.keyHandler=e=>{const{isEventFromContainer:n}=this.props;if(n?!n(e):!this._isEventFromContainer(e))return;const{isActiveElement:i,getFocusableElement:o,noVerticalArrowHandling:r,noHorizontalArrowHandling:a,noEnterHandling:s,noSpaceHandling:l,updateTabIndex:c,validSiblingTags:d,additionalKeyHandler:u,createNavigableElements:h}=this.props;u&&u(e);const p=h();if(!p)return void console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");const f=e.key;s||"Enter"===f&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),l||" "===f&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),t.handleArrows(e,p,i,o,d,r,a,c)},this._isEventFromContainer=e=>{const{containerRef:t}=this.props;return t.current&&t.current.contains(e.target)}}componentDidMount(){o.canUseDOM&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){o.canUseDOM&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}t.KeyboardHandler=r,r.displayName="KeyboardHandler",r.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:e=>document.activeElement===e,getFocusableElement:e=>e,validSiblingTags:["BUTTON","A"],updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1}},13962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultOUIAId=t.useOUIAId=t.useOUIAProps=t.getOUIAProps=void 0;const i=n(29901);let o=0;const r="OUIA-Generated-",a={};function s(e,t){try{const n=`${window.location.href}-${e}-${t||""}`;return a[n]||(a[n]=0),`${r}${e}-${t?`${t}-`:""}${++a[n]}`}catch(n){return`${r}${e}-${t?`${t}-`:""}${++o}`}}t.getOUIAProps=function(e,t,n=!0){return{"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":n,"data-ouia-component-id":t}},t.useOUIAProps=(e,n,i=!0,o)=>({"data-ouia-component-type":`PF4/${e}`,"data-ouia-safe":i,"data-ouia-component-id":t.useOUIAId(e,n,o)}),t.useOUIAId=(e,t,n)=>void 0!==t?t:i.useMemo((()=>s(e,n)),[e,n]),t.getDefaultOUIAId=s},42995:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindRefWrapper=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importStar(n(10571));class a extends o.Component{componentDidMount(){const e=r.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}t.FindRefWrapper=a,a.displayName="FindRefWrapper"},87188:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Popper=t.getOpacityTransition=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importStar(n(10571)),a=n(42995),s=n(85062),l=n(61151);n(15718);const c={left:"right",right:"left",bottom:"top",top:"bottom"};t.getOpacityTransition=e=>`opacity ${e}ms cubic-bezier(.54, 1.5, .38, 1.11)`,t.Popper=({trigger:e,popper:t,popperMatchesTriggerWidth:n=!0,direction:i="down",position:d="left",placement:u,appendTo:h=(()=>document.body),zIndex:p=9999,isVisible:f=!0,positionModifiers:g,distance:m=0,onMouseEnter:v,onMouseLeave:b,onFocus:_,onBlur:y,onDocumentClick:A,onTriggerClick:w,onTriggerEnter:C,onPopperClick:x,onDocumentKeyDown:S,enableFlip:E=!0,flipBehavior:k="flip",reference:M})=>{const[D,N]=o.useState(null),[I,T]=o.useState(null),[L,B]=o.useState(null),[O,P]=o.useState(!1),F=I||D,R=o.useCallback((e=>A(e,F,L)),[f,D,I,L,A]);o.useEffect((()=>{P(!0)}),[]),o.useEffect((()=>{M&&(M.current?T(M.current):"function"==typeof M&&T(M()))}),[M]);const j=(e,t,n)=>{e&&t&&t.addEventListener(n,e)},z=(e,t,n)=>{e&&t&&t.removeEventListener(n,e)};o.useEffect((()=>(j(v,F,"mouseenter"),j(b,F,"mouseleave"),j(_,F,"focus"),j(y,F,"blur"),j(w,F,"click"),j(C,F,"keydown"),j(x,L,"click"),A&&j(R,document,"click"),j(S,document,"keydown"),()=>{z(v,F,"mouseenter"),z(b,F,"mouseleave"),z(_,F,"focus"),z(y,F,"blur"),z(w,F,"click"),z(C,F,"keydown"),z(x,L,"click"),A&&z(R,document,"click"),z(S,document,"keydown")})),[D,L,v,b,_,y,w,C,x,A,S,I]);const V=()=>{if(u)return u;let e="up"===i?"top":"bottom";return"center"!==d&&(e=`${e}-${"right"===d?"end":"start"}`),e},W=o.useMemo(V,[i,d,u]),H=o.useMemo((()=>(e=>e.replace(/left|right|bottom|top/g,(e=>c[e])))(V())),[i,d,u]),U=o.useMemo((()=>({name:"sameWidth",enabled:n,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>(e.elements.popper.style.width=`${e.elements.reference.offsetWidth}px`,()=>{})})),[n]),{styles:Q,attributes:G}=s.usePopper(F,L,{placement:W,modifiers:[{name:"offset",options:{offset:[0,m]}},{name:"preventOverflow",enabled:!1},{name:"hide",enabled:!0},{name:"flip",enabled:W.startsWith("auto")||E,options:{fallbackPlacements:"flip"===k?[H]:k}},U]}),K=o.cloneElement(t,Object.assign({className:l.css(t.props&&t.props.className,g&&(()=>{if(G&&G.popper&&G.popper["data-popper-placement"]){const e=G.popper["data-popper-placement"];return g[e]}return g.top})()),style:Object.assign(Object.assign(Object.assign({},t.props&&t.props.style||{}),Q.popper),{zIndex:p})},G.popper));return o.createElement(o.Fragment,null,!M&&e&&o.createElement(a.FindRefWrapper,{onFoundRef:e=>N(e)},e),O&&f&&r.createPortal(o.createElement(a.FindRefWrapper,{onFoundRef:e=>B(e)},K),"function"==typeof h?h():h))},t.Popper.displayName="Popper"},47699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){let n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}},87147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}},57116:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=n(17239),r=i.__importDefault(n(10599)),a=i.__importDefault(n(79771)),s=i.__importDefault(n(77874)),l=i.__importDefault(n(19006)),c=i.__importDefault(n(98420)),d=i.__importDefault(n(617)),u=n(7129),h=i.__importDefault(n(87147)),p=i.__importDefault(n(14329)),f=i.__importDefault(n(47699)),g=i.__importDefault(n(19031)),m=i.__importDefault(n(58206));function v(e,t){return t===o.viewport?m.default(r.default(e)):u.isHTMLElement(t)?function(e){const t=h.default(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):m.default(a.default(c.default(e)))}t.default=function(e,t,n){const i="clippingParents"===t?function(e){const t=s.default(p.default(e)),n=["absolute","fixed"].indexOf(d.default(e).position)>=0&&u.isHTMLElement(e)?l.default(e):e;return u.isElement(n)?t.filter((e=>u.isElement(e)&&f.default(e,n)&&"body"!==g.default(e))):[]}(e):[].concat(t),o=[...i,n],r=o[0],a=o.reduce(((t,n)=>{const i=v(e,n);return t.top=Math.max(i.top,t.top),t.right=Math.min(i.right,t.right),t.bottom=Math.min(i.bottom,t.bottom),t.left=Math.max(i.left,t.left),t}),v(e,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}},2305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(87147)),r=i.__importDefault(n(74331)),a=i.__importDefault(n(19031)),s=n(7129),l=i.__importDefault(n(96633)),c=i.__importDefault(n(98420)),d=i.__importDefault(n(70657));t.default=function(e,t,n=!1){const i=c.default(t),u=o.default(e),h=s.isHTMLElement(t);let p={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(h||!h&&!n)&&(("body"!==a.default(t)||d.default(i))&&(p=r.default(t)),s.isHTMLElement(t)?(f=o.default(t),f.x+=t.clientLeft,f.y+=t.clientTop):i&&(f.x=l.default(i))),{x:u.left+p.scrollLeft-f.x,y:u.top+p.scrollTop-f.y,width:u.width,height:u.height}}},617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(93234));t.default=function(e){return i.default(e).getComputedStyle(e)}},98420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(7129);t.default=function(e){return(i.isElement(e)?e.ownerDocument:e.document).documentElement}},79771:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(98420)),r=i.__importDefault(n(617)),a=i.__importDefault(n(96633)),s=i.__importDefault(n(21538));t.default=function(e){const t=o.default(e),n=s.default(e),i=e.ownerDocument.body,l=Math.max(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),c=Math.max(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let d=-n.scrollLeft+a.default(e);const u=-n.scrollTop;return"rtl"===r.default(i||t).direction&&(d+=Math.max(t.clientWidth,i?i.clientWidth:0)-l),{width:l,height:c,x:d,y:u}}},92873:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},9639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}},19031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?(e.nodeName||"").toLowerCase():null}},74331:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(21538)),r=i.__importDefault(n(93234)),a=n(7129),s=i.__importDefault(n(92873));t.default=function(e){return e!==r.default(e)&&a.isHTMLElement(e)?s.default(e):o.default(e)}},19006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(93234)),r=i.__importDefault(n(19031)),a=i.__importDefault(n(617)),s=n(7129),l=i.__importDefault(n(35162)),c=i.__importDefault(n(14329)),d=i.__importDefault(n(98420));function u(e){if(!s.isHTMLElement(e)||"fixed"===a.default(e).position)return null;const t=e.offsetParent;if(t){const e=d.default(t);if("body"===r.default(t)&&"static"===a.default(t).position&&"static"!==a.default(e).position)return e}return t}t.default=function(e){const t=o.default(e);let n=u(e);for(;n&&l.default(n)&&"static"===a.default(n).position;)n=u(n);return n&&"body"===r.default(n)&&"static"===a.default(n).position?t:n||function(e){let t=c.default(e);for(;s.isHTMLElement(t)&&["html","body"].indexOf(r.default(t))<0;){const e=a.default(t);if("none"!==e.transform||"none"!==e.perspective||e.willChange&&"auto"!==e.willChange)return t;t=t.parentNode}return null}(e)||t}},14329:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(19031)),r=i.__importDefault(n(98420));t.default=function(e){return"html"===o.default(e)?e:e.assignedSlot||e.parentNode||e.host||r.default(e)}},79215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(14329)),r=i.__importDefault(n(70657)),a=i.__importDefault(n(19031)),s=n(7129);t.default=function e(t){return["html","body","#document"].indexOf(a.default(t))>=0?t.ownerDocument.body:s.isHTMLElement(t)&&r.default(t)?t:e(o.default(t))}},10599:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(93234)),r=i.__importDefault(n(98420)),a=i.__importDefault(n(96633));t.default=function(e){const t=o.default(e),n=r.default(e),i=t.visualViewport;let s=n.clientWidth,l=n.clientHeight,c=0,d=0;return i&&(s=i.width,l=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=i.offsetLeft,d=i.offsetTop)),{width:s,height:l,x:c+a.default(e),y:d}}},93234:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("[object Window]"!==e.toString()){const t=e.ownerDocument;return t?t.defaultView:window}return e}},21538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(93234));t.default=function(e){const t=i.default(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},96633:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(87147)),r=i.__importDefault(n(98420)),a=i.__importDefault(n(21538));t.default=function(e){return o.default(r.default(e)).left+a.default(e).scrollLeft}},7129:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTMLElement=t.isElement=void 0;const i=n(78951).__importDefault(n(93234));t.isElement=function(e){return e instanceof i.default(e).Element||e instanceof Element},t.isHTMLElement=function(e){return e instanceof i.default(e).HTMLElement||e instanceof HTMLElement}},70657:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(617));t.default=function(e){const{overflow:t,overflowX:n,overflowY:o}=i.default(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}},35162:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(19031));t.default=function(e){return["table","td","th"].indexOf(i.default(e))>=0}},77874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(79215)),r=i.__importDefault(n(14329)),a=i.__importDefault(n(19031)),s=i.__importDefault(n(93234)),l=i.__importDefault(n(70657));t.default=function e(t,n=[]){const i=o.default(t),c="body"===a.default(i),d=s.default(i),u=c?[d].concat(d.visualViewport||[],l.default(i)?i:[]):i,h=n.concat(u);return c?h:h.concat(e(r.default(u)))}},17239:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modifierPhases=t.afterWrite=t.write=t.beforeWrite=t.afterMain=t.main=t.beforeMain=t.afterRead=t.read=t.beforeRead=t.placements=t.variationPlacements=t.reference=t.popper=t.viewport=t.clippingParents=t.end=t.start=t.basePlacements=t.auto=t.left=t.right=t.bottom=t.top=void 0,t.top="top",t.bottom="bottom",t.right="right",t.left="left",t.auto="auto",t.basePlacements=[t.top,t.bottom,t.right,t.left],t.start="start",t.end="end",t.clippingParents="clippingParents",t.viewport="viewport",t.popper="popper",t.reference="reference",t.variationPlacements=t.basePlacements.reduce(((e,n)=>e.concat([`${n}-${t.start}`,`${n}-${t.end}`])),[]),t.placements=[...t.basePlacements,t.auto].reduce(((e,n)=>e.concat([n,`${n}-${t.start}`,`${n}-${t.end}`])),[]),t.beforeRead="beforeRead",t.read="read",t.afterRead="afterRead",t.beforeMain="beforeMain",t.main="main",t.afterMain="afterMain",t.beforeWrite="beforeWrite",t.write="write",t.afterWrite="afterWrite",t.modifierPhases=[t.beforeRead,t.read,t.afterRead,t.beforeMain,t.main,t.afterMain,t.beforeWrite,t.write,t.afterWrite]},64631:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectOverflow=t.createPopper=t.popperGenerator=void 0;const i=n(78951),o=i.__importDefault(n(2305)),r=i.__importDefault(n(9639)),a=i.__importDefault(n(77874)),s=i.__importDefault(n(19006)),l=(i.__importDefault(n(617)),i.__importDefault(n(45124))),c=i.__importDefault(n(88309)),d=(i.__importDefault(n(50038)),i.__importDefault(n(35813)),i.__importDefault(n(50720)),i.__importDefault(n(72414))),u=i.__importDefault(n(82328));t.detectOverflow=u.default;const h=n(7129);n(17239),i.__exportStar(n(60987),t),i.__exportStar(n(17239),t);const p={placement:"bottom",modifiers:[],strategy:"absolute"};function f(...e){return!e.some((e=>!(e&&"function"==typeof e.getBoundingClientRect)))}function g(e={}){const{defaultModifiers:t=[],defaultOptions:n=p}=e;return function(e,i,u=n){let g={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},p),n),modifiersData:{},elements:{reference:e,popper:i},attributes:{},styles:{}},m=[],v=!1;const b={state:g,setOptions(o){_(),g.options=Object.assign(Object.assign(Object.assign({},n),g.options),o),g.scrollParents={reference:h.isElement(e)?a.default(e):e.contextElement?a.default(e.contextElement):[],popper:a.default(i)};const r=l.default(d.default([...t,...g.options.modifiers]));return g.orderedModifiers=r.filter((e=>e.enabled)),g.orderedModifiers.forEach((({name:e,options:t={},effect:n})=>{if("function"==typeof n){const i=n({state:g,name:e,instance:b,options:t}),o=()=>{};m.push(i||o)}})),b.update()},forceUpdate(){if(v)return;const{reference:e,popper:t}=g.elements;if(f(e,t)){g.rects={reference:o.default(e,s.default(t),"fixed"===g.options.strategy),popper:r.default(t)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach((e=>g.modifiersData[e.name]=Object.assign({},e.data)));for(let e=0;e<g.orderedModifiers.length;e++){if(!0===g.reset){g.reset=!1,e=-1;continue}const{fn:t,options:n={},name:i}=g.orderedModifiers[e];"function"==typeof t&&(g=t({state:g,options:n,name:i,instance:b})||g)}}},update:c.default((()=>new Promise((e=>{b.forceUpdate(),e(g)})))),destroy(){_(),v=!0}};if(!f(e,i))return b;function _(){m.forEach((e=>e())),m=[]}return b.setOptions(u).then((e=>{!v&&u.onFirstUpdate&&u.onFirstUpdate(e)})),b}}t.popperGenerator=g,t.createPopper=g()},89369:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(19031)),o=n(7129);t.default={name:"applyStyles",enabled:!0,phase:"write",fn:function({state:e}){Object.keys(e.elements).forEach((t=>{const n=e.styles[t]||{},r=e.attributes[t]||{},a=e.elements[t];o.isHTMLElement(a)&&i.default(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((e=>{const t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function({state:e}){const t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),()=>{Object.keys(e.elements).forEach((n=>{const r=e.elements[n],a=e.attributes[n]||{},s=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(((e,t)=>(e[t]="",e)),{});o.isHTMLElement(r)&&i.default(r)&&(Object.assign(r.style,s),Object.keys(a).forEach((e=>{r.removeAttribute(e)})))}))}},requires:["computeStyles"]}},76164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(50720)),r=i.__importDefault(n(9639)),a=i.__importDefault(n(47699)),s=i.__importDefault(n(19006)),l=i.__importDefault(n(60974)),c=i.__importDefault(n(75083)),d=i.__importDefault(n(1852)),u=i.__importDefault(n(22768)),h=n(17239);n(7129),t.default={name:"arrow",enabled:!0,phase:"main",fn:function({state:e,name:t}){const n=e.elements.arrow,i=e.modifiersData.popperOffsets,a=o.default(e.placement),d=l.default(a),u=[h.left,h.right].indexOf(a)>=0?"height":"width";if(!n||!i)return;const p=e.modifiersData[`${t}#persistent`].padding,f=r.default(n),g="y"===d?h.top:h.left,m="y"===d?h.bottom:h.right,v=e.rects.reference[u]+e.rects.reference[d]-i[d]-e.rects.popper[u],b=i[d]-e.rects.reference[d],_=s.default(n),y=_?"y"===d?_.clientHeight||0:_.clientWidth||0:0,A=v/2-b/2,w=p[g],C=y-f[u]-p[m],x=y/2-f[u]/2+A,S=c.default(w,x,C),E=d;e.modifiersData[t]={[E]:S,centerOffset:S-x}},effect:function({state:e,options:t,name:n}){let{element:i="[data-popper-arrow]",padding:o=0}=t;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i),i))&&a.default(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[`${n}#persistent`]={padding:d.default("number"!=typeof o?o:u.default(o,h.basePlacements))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},76143:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToStyles=void 0;const i=n(78951),o=n(17239),r=i.__importDefault(n(19006)),a=i.__importDefault(n(93234)),s=i.__importDefault(n(98420)),l=(i.__importDefault(n(617)),i.__importDefault(n(50720))),c={top:"auto",right:"auto",bottom:"auto",left:"auto"};function d({popper:e,popperRect:t,placement:n,offsets:i,position:l,gpuAcceleration:d,adaptive:u}){let{x:h,y:p}=function({x:e,y:t}){const n=window.devicePixelRatio||1;return{x:Math.round(e*n)/n||0,y:Math.round(t*n)/n||0}}(i);const f=i.hasOwnProperty("x"),g=i.hasOwnProperty("y");let m=o.left,v=o.top;const b=window;if(u){let i=r.default(e);i===a.default(e)&&(i=s.default(e)),n===o.top&&(v=o.bottom,p-=i.clientHeight-t.height,p*=d?1:-1),n===o.left&&(m=o.right,h-=i.clientWidth-t.width,h*=d?1:-1)}const _=Object.assign({position:l},u&&c);return d?Object.assign(Object.assign({},_),{[v]:g?"0":"",[m]:f?"0":"",transform:(b.devicePixelRatio||1)<2?`translate(${h}px, ${p}px)`:`translate3d(${h}px, ${p}px, 0)`}):Object.assign(Object.assign({},_),{[v]:g?`${p}px`:"",[m]:f?`${h}px`:"",transform:""})}t.mapToStyles=d,t.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function({state:e,options:t}){const{gpuAcceleration:n=!0,adaptive:i=!0}=t,o={placement:l.default(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),d(Object.assign(Object.assign({},o),{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),d(Object.assign(Object.assign({},o),{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-placement":e.placement})},data:{}}},5895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(93234)),o={passive:!0};t.default={name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:function({state:e,instance:t,options:n}){const{scroll:r=!0,resize:a=!0}=n,s=i.default(e.elements.popper),l=[...e.scrollParents.reference,...e.scrollParents.popper];return r&&l.forEach((e=>{e.addEventListener("scroll",t.update,o)})),a&&s.addEventListener("resize",t.update,o),()=>{r&&l.forEach((e=>{e.removeEventListener("scroll",t.update,o)})),a&&s.removeEventListener("resize",t.update,o)}},data:{}}},54955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(85277)),r=i.__importDefault(n(50720)),a=i.__importDefault(n(29186)),s=i.__importDefault(n(82328)),l=i.__importDefault(n(16395)),c=n(17239),d=i.__importDefault(n(27024));t.default={name:"flip",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){if(e.modifiersData[n]._skip)return;const{mainAxis:i=!0,altAxis:u=!0,fallbackPlacements:h,padding:p,boundary:f,rootBoundary:g,altBoundary:m,flipVariations:v=!0,allowedAutoPlacements:b}=t,_=e.options.placement,y=r.default(_),A=[_,...h||(y!==_&&v?function(e){if(r.default(e)===c.auto)return[];const t=o.default(e);return[a.default(e),t,a.default(t)]}(_):[o.default(_)])].reduce(((t,n)=>t.concat(r.default(n)===c.auto?l.default(e,{placement:n,boundary:f,rootBoundary:g,padding:p,flipVariations:v,allowedAutoPlacements:b}):n)),[]),w=e.rects.reference,C=e.rects.popper,x=new Map;let S=!0,E=A[0];for(let t=0;t<A.length;t++){const n=A[t],a=r.default(n),l=d.default(n)===c.start,h=[c.top,c.bottom].indexOf(a)>=0,v=h?"width":"height",b=s.default(e,{placement:n,boundary:f,rootBoundary:g,altBoundary:m,padding:p});let _=h?l?c.right:c.left:l?c.bottom:c.top;w[v]>C[v]&&(_=o.default(_));const y=o.default(_),k=[];if(i&&k.push(b[a]<=0),u&&k.push(b[_]<=0,b[y]<=0),k.every((e=>e))){E=n,S=!1;break}x.set(n,k)}if(S)for(let e=v?3:1;e>0;e--){const t=A.find((t=>{const n=x.get(t);if(n)return n.slice(0,e).every((e=>e))}));if(t){E=t;break}}e.placement!==E&&(e.modifiersData[n]._skip=!0,e.placement=E,e.reset=!0)},requiresIfExists:["offset"],data:{_skip:!1}}},92549:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=n(17239),r=i.__importDefault(n(82328));function a(e,t,n={x:0,y:0}){return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function s(e){return[o.top,o.right,o.bottom,o.left].some((t=>e[t]>=0))}t.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function({state:e,name:t}){const n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,l=r.default(e,{elementContext:"reference"}),c=r.default(e,{altBoundary:!0}),d=a(l,n),u=a(c,i,o),h=s(d),p=s(u);e.modifiersData[t]={referenceClippingOffsets:d,popperEscapeOffsets:u,isReferenceHidden:h,hasPopperEscaped:p},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{"data-popper-reference-hidden":h,"data-popper-escaped":p})}}},60101:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distanceAndSkiddingToXY=void 0;const i=n(78951).__importDefault(n(50720)),o=n(17239);function r(e,t,n){const r=i.default(e),a=[o.left,o.top].indexOf(r)>=0?-1:1;let[s,l]="function"==typeof n?n(Object.assign(Object.assign({},t),{placement:e})):n;return s=s||0,l=(l||0)*a,[o.left,o.right].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}t.distanceAndSkiddingToXY=r,t.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function({state:e,options:t,name:n}){const{offset:i=[0,0]}=t,a=o.placements.reduce(((t,n)=>(t[n]=r(n,e.rects,i),t)),{}),{x:s,y:l}=a[e.placement];null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s,e.modifiersData.popperOffsets.y+=l),e.modifiersData[n]=a}}},77692:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(5127));t.default={name:"popperOffsets",enabled:!0,phase:"read",fn:function({state:e,name:t}){e.modifiersData[t]=i.default({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},25869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=n(17239),r=i.__importDefault(n(50720)),a=i.__importDefault(n(60974)),s=i.__importDefault(n(40329)),l=i.__importDefault(n(75083)),c=i.__importDefault(n(9639)),d=i.__importDefault(n(19006)),u=i.__importDefault(n(82328)),h=i.__importDefault(n(27024)),p=i.__importDefault(n(91506));t.default={name:"preventOverflow",enabled:!0,phase:"main",fn:function({state:e,options:t,name:n}){const{mainAxis:i=!0,altAxis:f=!1,boundary:g,rootBoundary:m,altBoundary:v,padding:b,tether:_=!0,tetherOffset:y=0}=t,A=u.default(e,{boundary:g,rootBoundary:m,padding:b,altBoundary:v}),w=r.default(e.placement),C=h.default(e.placement),x=!C,S=a.default(w),E=s.default(S),k=e.modifiersData.popperOffsets,M=e.rects.reference,D=e.rects.popper,N="function"==typeof y?y(Object.assign(Object.assign({},e.rects),{placement:e.placement})):y,I={x:0,y:0};if(k){if(i){const t="y"===S?o.top:o.left,n="y"===S?o.bottom:o.right,i="y"===S?"height":"width",r=k[S],a=k[S]+A[t],s=k[S]-A[n],u=_?-D[i]/2:0,h=C===o.start?M[i]:D[i],f=C===o.start?-D[i]:-M[i],g=e.elements.arrow,m=_&&g?c.default(g):{width:0,height:0},v=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:p.default(),b=v[t],y=v[n],w=l.default(0,M[i],m[i]),E=x?M[i]/2-u-w-b-N:h-w-b-N,T=x?-M[i]/2+u+w+y+N:f+w+y+N,L=e.elements.arrow&&d.default(e.elements.arrow),B=L?"y"===S?L.clientTop||0:L.clientLeft||0:0,O=e.modifiersData.offset?e.modifiersData.offset[e.placement][S]:0,P=k[S]+E-O-B,F=k[S]+T-O,R=l.default(_?Math.min(a,P):a,r,_?Math.max(s,F):s);k[S]=R,I[S]=R-r}if(f){const e="x"===S?o.top:o.left,t="x"===S?o.bottom:o.right,n=k[E],i=n+A[e],r=n-A[t],a=l.default(i,n,r);k[E]=a,I[E]=a-n}e.modifiersData[n]=I}},requiresIfExists:["offset"]}},66381:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectOverflow=t.defaultModifiers=t.popperGenerator=t.createPopper=void 0;const i=n(78951),o=n(64631);Object.defineProperty(t,"popperGenerator",{enumerable:!0,get:function(){return o.popperGenerator}}),Object.defineProperty(t,"detectOverflow",{enumerable:!0,get:function(){return o.detectOverflow}});const r=i.__importDefault(n(5895)),a=i.__importDefault(n(77692)),s=i.__importDefault(n(76143)),l=i.__importDefault(n(89369)),c=i.__importDefault(n(60101)),d=i.__importDefault(n(54955)),u=i.__importDefault(n(25869)),h=i.__importDefault(n(76164)),p=i.__importDefault(n(92549));i.__exportStar(n(60987),t);const f=[r.default,a.default,s.default,l.default,c.default,d.default,u.default,h.default,p.default];t.defaultModifiers=f;const g=o.popperGenerator({defaultModifiers:f});t.createPopper=g},60987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16395:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(27024)),r=n(17239),a=i.__importDefault(n(82328)),s=i.__importDefault(n(50720));t.default=function(e,t={}){const{placement:n,boundary:i,rootBoundary:l,padding:c,flipVariations:d,allowedAutoPlacements:u=r.placements}=t,h=o.default(n),p=h?d?r.variationPlacements:r.variationPlacements.filter((e=>o.default(e)===h)):r.basePlacements;let f=p.filter((e=>u.indexOf(e)>=0));0===f.length&&(f=p);const g=f.reduce(((t,n)=>(t[n]=a.default(e,{placement:n,boundary:i,rootBoundary:l,padding:c})[s.default(n)],t)),{});return Object.keys(g).sort(((e,t)=>g[e]-g[t]))}},5127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(50720)),r=i.__importDefault(n(27024)),a=i.__importDefault(n(60974)),s=n(17239);t.default=function({reference:e,element:t,placement:n}){const i=n?o.default(n):null,l=n?r.default(n):null,c=e.x+e.width/2-t.width/2,d=e.y+e.height/2-t.height/2;let u;switch(i){case s.top:u={x:c,y:e.y-t.height};break;case s.bottom:u={x:c,y:e.y+e.height};break;case s.right:u={x:e.x+e.width,y:d};break;case s.left:u={x:e.x-t.width,y:d};break;default:u={x:e.x,y:e.y}}const h=i?a.default(i):null;if(null!=h){const n="y"===h?"height":"width";switch(l){case s.start:u[h]=Math.floor(u[h])-Math.floor(e[n]/2-t[n]/2);break;case s.end:u[h]=Math.floor(u[h])+Math.ceil(e[n]/2-t[n]/2)}}return u}},88309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t;return()=>(t||(t=new Promise((n=>{Promise.resolve().then((()=>{t=void 0,n(e())}))}))),t)}},82328:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951),o=i.__importDefault(n(87147)),r=i.__importDefault(n(57116)),a=i.__importDefault(n(98420)),s=i.__importDefault(n(5127)),l=i.__importDefault(n(58206)),c=n(17239),d=n(7129),u=i.__importDefault(n(1852)),h=i.__importDefault(n(22768));t.default=function(e,t={}){const{placement:n=e.placement,boundary:i=c.clippingParents,rootBoundary:p=c.viewport,elementContext:f=c.popper,altBoundary:g=!1,padding:m=0}=t,v=u.default("number"!=typeof m?m:h.default(m,c.basePlacements)),b=f===c.popper?c.reference:c.popper,_=e.elements.reference,y=e.rects.popper,A=e.elements[g?b:f],w=r.default(d.isElement(A)?A:A.contextElement||a.default(e.elements.popper),i,p),C=o.default(_),x=s.default({reference:C,element:y,strategy:"absolute",placement:n}),S=l.default(Object.assign(Object.assign({},y),x)),E=f===c.popper?S:C,k={top:w.top-E.top+v.top,bottom:E.bottom-w.bottom+v.bottom,left:w.left-E.left+v.left,right:E.right-w.right+v.right},M=e.modifiersData.offset;if(f===c.popper&&M){const e=M[n];Object.keys(k).forEach((t=>{const n=[c.right,c.bottom].indexOf(t)>=0?1:-1,i=[c.top,c.bottom].indexOf(t)>=0?"y":"x";k[t]+=e[i]*n}))}return k}},22768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t.reduce(((t,n)=>(t[n]=e,t)),{})}},50552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){return[...t].reduce(((e,t)=>e.replace(/%s/,t)),e)}},40329:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"x"===e?"y":"x"}},50720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("-")[0]}},91506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{top:0,right:0,bottom:0,left:0}}},60974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},85277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={left:"right",right:"left",bottom:"top",top:"bottom"};t.default=function(e){return e.replace(/left|right|bottom|top/g,(e=>n[e]))}},29186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={start:"end",end:"start"};t.default=function(e){return e.replace(/start|end/g,(e=>n[e]))}},27024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("-")[1]}},72414:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.reduce(((e,t)=>{const n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((e=>t[e]))}},1852:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(91506));t.default=function(e){return Object.assign(Object.assign({},i.default()),e)}},45124:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(17239);function o(e){const t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[...e.requires||[],...e.requiresIfExists||[]].forEach((e=>{if(!n.has(e)){const n=t.get(e);n&&o(n)}})),i.push(e)}return e.forEach((e=>{t.set(e.name,e)})),e.forEach((e=>{n.has(e.name)||o(e)})),i}t.default=function(e){const t=o(e);return i.modifierPhases.reduce(((e,n)=>e.concat(t.filter((e=>e.phase===n)))),[])}},58206:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.assign(Object.assign({},e),{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=new Set;return e.filter((e=>{const i=t(e);if(!n.has(i))return n.add(i),!0}))}},50038:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951).__importDefault(n(50552)),o=n(17239),r='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',a=["name","enabled","phase","fn","effect","requires","options"];t.default=function(e){e.forEach((t=>{Object.keys(t).forEach((n=>{switch(n){case"name":"string"!=typeof t.name&&console.error(i.default(r,String(t.name),'"name"','"string"',`"${String(t.name)}"`));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(i.default(r,t.name,'"enabled"','"boolean"',`"${String(t.enabled)}"`));case"phase":o.modifierPhases.indexOf(t.phase)<0&&console.error(i.default(r,t.name,'"phase"',`either ${o.modifierPhases.join(", ")}`,`"${String(t.phase)}"`));break;case"fn":"function"!=typeof t.fn&&console.error(i.default(r,t.name,'"fn"','"function"',`"${String(t.fn)}"`));break;case"effect":"function"!=typeof t.effect&&console.error(i.default(r,t.name,'"effect"','"function"',`"${String(t.fn)}"`));break;case"requires":Array.isArray(t.requires)||console.error(i.default(r,t.name,'"requires"','"array"',`"${String(t.requires)}"`));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(i.default(r,t.name,'"requiresIfExists"','"array"',`"${String(t.requiresIfExists)}"`));break;case"options":case"data":break;default:console.error(`PopperJS: an invalid property has been provided to the "${t.name}" modifier, valid properties are ${a.map((e=>`"${e}"`)).join(", ")}; but "${n}" was provided.`)}t.requires&&t.requires.forEach((n=>{null==e.find((e=>e.name===n))&&console.error(i.default('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}},75083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return Math.max(e,Math.min(t,n))}},85062:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePopper=void 0;const i=n(78951).__importStar(n(29901)),o=n(66381),r=n(92954),a=e=>e.reduce(((e,[t,n])=>(e[t]=n,e)),{}),s=[];t.usePopper=(e,t,n={})=>{const l=i.useRef(null),c={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||s},[d,u]=i.useState({styles:{popper:{position:c.strategy,left:"0",top:"0"}},attributes:{}}),h=i.useMemo((()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Object.keys(e.elements);u({styles:a(t.map((t=>[t,e.styles[t]||{}]))),attributes:a(t.map((t=>[t,e.attributes[t]])))})},requires:["computeStyles"]})),[]),p=i.useMemo((()=>{const e={onFirstUpdate:c.onFirstUpdate,placement:c.placement,strategy:c.strategy,modifiers:[...c.modifiers,h,{name:"applyStyles",enabled:!1}]};return t=l.current,n=e,JSON.stringify(t)===JSON.stringify(n)?l.current||e:(l.current=e,e);var t,n}),[c.onFirstUpdate,c.placement,c.strategy,c.modifiers,h]),f=i.useRef();return r.useIsomorphicLayoutEffect((()=>{f&&f.current&&f.current.setOptions(p)}),[p]),r.useIsomorphicLayoutEffect((()=>{if(null==e||null==t)return;const i=(n.createPopper||o.createPopper)(e,t,p);return f.current=i,()=>{i.destroy(),f.current=null}}),[e,t,n.createPopper]),{state:f.current?f.current.state:null,styles:d.styles,attributes:d.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}}},18868:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ValidatedOptions=t.KEYHANDLER_DIRECTION=t.SIDE=t.KEY_CODES=void 0,t.KEY_CODES={ARROW_UP:38,ARROW_DOWN:40,ESCAPE_KEY:27,TAB:9,ENTER:13,SPACE:32},t.SIDE={RIGHT:"right",LEFT:"left",BOTH:"both",NONE:"none"},t.KEYHANDLER_DIRECTION={UP:"up",DOWN:"down",RIGHT:"right",LEFT:"left"},(n=t.ValidatedOptions||(t.ValidatedOptions={})).success="success",n.error="error",n.warning="warning",n.default="default"},46492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendItemsWithFavorite=t.createRenderableFavorites=void 0;const i=n(78951).__importStar(n(29901)),o=n(82164),r=n(86482);t.createRenderableFavorites=(e,t,n,o)=>{if(t){const t=[];return e.forEach((e=>{if(n.length>0)return e.props.children&&e.props.children.filter((e=>n.includes(e.props.id))).map((e=>o?t.push(i.cloneElement(e,{isFavorite:!0,enterTriggersArrowDown:o,id:`favorite-${e.props.id}`})):t.push(i.cloneElement(e,{isFavorite:!0,id:`favorite-${e.props.id}`}))))})),t}return e.filter((e=>n.includes(e.props.id))).map((e=>i.cloneElement(e,{isFavorite:!0,enterTriggersArrowDown:o})))},t.extendItemsWithFavorite=(e,t,n)=>t?e.map((e=>i.cloneElement(e,{children:i.Children.map(e.props.children,(e=>e.type===o.ApplicationLauncherSeparator||e.type===r.Divider?e:i.cloneElement(e,{isFavorite:n.some((t=>t===e.props.id||`favorite-${t}`===e.props.id))})))}))):e.map((e=>i.cloneElement(e,{isFavorite:n.some((t=>t===e.props.id))})))},19710:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ASTERISK=void 0,t.ASTERISK="*"},85881:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(18868),t),i.__exportStar(n(92439),t),i.__exportStar(n(87158),t),i.__exportStar(n(19710),t),i.__exportStar(n(87942),t),i.__exportStar(n(13962),t),i.__exportStar(n(4187),t),i.__exportStar(n(87188),t),i.__exportStar(n(92954),t),i.__exportStar(n(22982),t)},87942:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},92954:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIsomorphicLayoutEffect=void 0;const i=n(78951).__importStar(n(29901)),o=n(4187);t.useIsomorphicLayoutEffect=o.canUseDOM?i.useLayoutEffect:i.useEffect},4187:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preventedEvents=t.trimLeft=t.innerDimensions=t.getTextWidth=t.canUseDOM=t.toCamel=t.formatBreakpointMods=t.setBreakpointCssVars=t.pluralize=t.getNextIndex=t.keyHandler=t.fillTemplate=t.sideElementIsOutOfView=t.isElementInView=t.debounce=t.getUniqueId=t.capitalize=void 0;const i=n(78951).__importStar(n(10571)),o=n(18868);t.capitalize=function(e){return e[0].toUpperCase()+e.substring(1)},t.getUniqueId=function(e="pf"){return`${e}-${(new Date).getTime()+Math.random().toString(36).slice(2)}`},t.debounce=function(e,t){let n;return(...i)=>{clearTimeout(n),n=setTimeout((()=>e.apply(this,i)),t)}},t.isElementInView=function(e,t,n){if(!e||!t)return!1;const i=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=Math.floor(i.left),a=Math.floor(i.right),s=Math.floor(o.left),l=Math.floor(o.right);return s>=r&&l<=a||n&&(s<r&&l>r||l>a&&s<a)},t.sideElementIsOutOfView=function(e,t){const n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=Math.floor(n.left),a=Math.floor(n.right),s=Math.floor(i.left)<r,l=Math.floor(i.right)>a;let c=o.SIDE.NONE;return l&&s?c=o.SIDE.BOTH:l?c=o.SIDE.RIGHT:s&&(c=o.SIDE.LEFT),c},t.fillTemplate=function(e,t){return e.replace(/\${(.*?)}/g,((e,n)=>t[n]||""))},t.keyHandler=function e(t,n,o,r,a,s=!1){if(!Array.isArray(a))return;const l=r.filter((e=>e))[0].constructor===Array;let c=t,d=n;"up"===o?c=0===t?a.length-1:t-1:"down"===o?c=t===a.length-1?0:t+1:"left"===o?d=0===n?r[t].length-1:n-1:"right"===o&&(d=n===r[t].length-1?0:n+1),null===r[c]||void 0===r[c]||l&&(null===r[c][d]||void 0===r[c][d])?e(c,d,o,r,a,s):s?(r[c].focus&&r[c].focus(),i.findDOMNode(r[c]).focus()):"tab"!==o&&(l?r[c][d].focus():r[c].focus())},t.getNextIndex=function e(t,n,i){let o;return o="up"===n?0===t?i.length-1:t-1:t===i.length-1?0:t+1,void 0===i[o]||null===i[o][0]?e(o,n,i):o},t.pluralize=function(e,t,n){return n||(n=`${t}s`),`${e||0} ${1===e?t:n}`},t.setBreakpointCssVars=(e,t)=>Object.entries(e||{}).reduce(((e,[n,i])=>"default"===n?Object.assign(Object.assign({},e),{[t]:i}):Object.assign(Object.assign({},e),{[`${t}-on-${n}`]:i})),{}),t.formatBreakpointMods=(e,n,i="")=>Object.entries(e||{}).map((([e,t])=>`${i}${t}${"default"!==e?`-on-${e}`:""}`)).map(t.toCamel).map((e=>e.replace(/-?(\dxl)/gi,((e,t)=>`_${t}`)))).map((e=>n.modifiers[e])).filter(Boolean).join(" ");const r=e=>e.toUpperCase().replace("-","").replace("_","");t.toCamel=e=>e.replace(/([-_][a-z])/gi,r),t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.getTextWidth=(e,t)=>{const n=getComputedStyle(t),i=document.createElement("canvas").getContext("2d");return i.font=n.font||(()=>{let e="";const t={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"};let i;return i=n.fontStretch in t?t[n.fontStretch]:"normal",e=n.fontStyle+" "+n.fontVariant+" "+n.fontWeight+" "+i+" "+n.fontSize+"/"+n.lineHeight+" "+n.fontFamily,e})(),i.measureText(e).width},t.innerDimensions=e=>{const t=getComputedStyle(e);let n=e.clientWidth,i=e.clientHeight;return i-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),{height:i,width:n}},t.trimLeft=(e,n)=>{const i=t.innerDimensions(e).width;let o=n;if(t.getTextWidth(n,e)>i){for(;t.getTextWidth(`...${o}`,e)>i;)o=o.substring(1);e.value?e.value=`...${o}`:e.innerText=`...${o}`}else e.value?e.value=n:e.innerText=n},t.preventedEvents=e=>e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:e=>{e.preventDefault()}})),{})},56619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bullseye=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(3597));t.Bullseye=e=>{var{children:t=null,className:n="",component:s="div"}=e,l=i.__rest(e,["children","className","component"]);const c=s;return o.createElement(c,Object.assign({className:r.css(a.default.bullseye,n)},l),t)},t.Bullseye.displayName="Bullseye"},7003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(78951).__exportStar(n(56619),t)},39308:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Flex=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(51774)),s=i.__importStar(n(33488)),l=n(4187);t.Flex=e=>{var{children:t=null,className:n="",component:c="div",spacer:d,spaceItems:u,grow:h,shrink:p,flex:f,direction:g,alignItems:m,alignContent:v,alignSelf:b,align:_,justifyContent:y,display:A,fullWidth:w,flexWrap:C,order:x,style:S}=e,E=i.__rest(e,["children","className","component","spacer","spaceItems","grow","shrink","flex","direction","alignItems","alignContent","alignSelf","align","justifyContent","display","fullWidth","flexWrap","order","style"]);const k=c;return o.createElement(k,Object.assign({className:r.css(a.default.flex,l.formatBreakpointMods(d,a.default),l.formatBreakpointMods(u,a.default),l.formatBreakpointMods(h,a.default),l.formatBreakpointMods(p,a.default),l.formatBreakpointMods(f,a.default),l.formatBreakpointMods(g,a.default),l.formatBreakpointMods(m,a.default),l.formatBreakpointMods(v,a.default),l.formatBreakpointMods(b,a.default),l.formatBreakpointMods(_,a.default),l.formatBreakpointMods(y,a.default),l.formatBreakpointMods(A,a.default),l.formatBreakpointMods(w,a.default),l.formatBreakpointMods(C,a.default),n),style:S||x?Object.assign(Object.assign({},S),l.setBreakpointCssVars(x,s.l_flex_item_Order.name)):void 0},E),t)},t.Flex.displayName="Flex"},30584:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlexItem=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(51774)),s=i.__importStar(n(33488)),l=n(4187);t.FlexItem=e=>{var{children:t=null,className:n="",component:c="div",spacer:d,grow:u,shrink:h,flex:p,alignSelf:f,align:g,fullWidth:m,order:v,style:b}=e,_=i.__rest(e,["children","className","component","spacer","grow","shrink","flex","alignSelf","align","fullWidth","order","style"]);const y=c;return o.createElement(y,Object.assign({},_,{className:r.css(l.formatBreakpointMods(d,a.default),l.formatBreakpointMods(u,a.default),l.formatBreakpointMods(h,a.default),l.formatBreakpointMods(p,a.default),l.formatBreakpointMods(f,a.default),l.formatBreakpointMods(g,a.default),l.formatBreakpointMods(m,a.default),n),style:b||v?Object.assign(Object.assign({},b),l.setBreakpointCssVars(v,s.l_flex_item_Order.name)):void 0}),t)},t.FlexItem.displayName="FlexItem"},63187:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(39308),t),i.__exportStar(n(30584),t)},60911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Gallery=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(8010));t.Gallery=e=>{var{children:t=null,className:n="",component:s="div",hasGutter:l=!1,minWidths:c,maxWidths:d}=e,u=i.__rest(e,["children","className","component","hasGutter","minWidths","maxWidths"]);const h={},p=s;c&&Object.entries(c||{}).map((([e,t])=>h["--pf-l-gallery--GridTemplateColumns--min"+("default"!==e?`-on-${e}`:"")]=t));const f={};d&&Object.entries(d||{}).map((([e,t])=>f["--pf-l-gallery--GridTemplateColumns--max"+("default"!==e?`-on-${e}`:"")]=t));const g=Object.assign(Object.assign({},h),f);return o.createElement(p,Object.assign({className:r.css(a.default.gallery,l&&a.default.modifiers.gutter,n)},u,(c||d)&&{style:Object.assign(Object.assign({},g),u.style)}),t)},t.Gallery.displayName="Gallery"},34372:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GalleryItem=void 0;const i=n(78951),o=i.__importStar(n(29901));t.GalleryItem=e=>{var{children:t=null,component:n="div"}=e,r=i.__rest(e,["children","component"]);const a=n;return o.createElement(a,Object.assign({},r),t)},t.GalleryItem.displayName="GalleryItem"},35405:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(60911),t),i.__exportStar(n(34372),t)},40493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Level=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=n(61151),a=i.__importDefault(n(24366));t.Level=e=>{var{hasGutter:t,className:n="",children:s=null}=e,l=i.__rest(e,["hasGutter","className","children"]);return o.createElement("div",Object.assign({},l,{className:r.css(a.default.level,t&&a.default.modifiers.gutter,n)}),s)},t.Level.displayName="Level"},97907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LevelItem=void 0;const i=n(78951),o=i.__importStar(n(29901));t.LevelItem=e=>{var{children:t=null}=e,n=i.__rest(e,["children"]);return o.createElement("div",Object.assign({},n),t)},t.LevelItem.displayName="LevelItem"},55370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(40493),t),i.__exportStar(n(97907),t)},97966:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Split=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(95942)),a=n(61151);t.Split=e=>{var{hasGutter:t=!1,isWrappable:n=!1,className:s="",children:l=null,component:c="div"}=e,d=i.__rest(e,["hasGutter","isWrappable","className","children","component"]);const u=c;return o.createElement(u,Object.assign({},d,{className:a.css(r.default.split,t&&r.default.modifiers.gutter,n&&r.default.modifiers.wrap,s)}),l)},t.Split.displayName="Split"},3934:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SplitItem=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(95942)),a=n(61151);t.SplitItem=e=>{var{isFilled:t=!1,className:n="",children:s=null}=e,l=i.__rest(e,["isFilled","className","children"]);return o.createElement("div",Object.assign({},l,{className:a.css(r.default.splitItem,t&&r.default.modifiers.fill,n)}),s)},t.SplitItem.displayName="SplitItem"},79477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(97966),t),i.__exportStar(n(3934),t)},21064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(61998)),a=n(61151);t.Stack=e=>{var{hasGutter:t=!1,className:n="",children:s=null,component:l="div"}=e,c=i.__rest(e,["hasGutter","className","children","component"]);const d=l;return o.createElement(d,Object.assign({},c,{className:a.css(r.default.stack,t&&r.default.modifiers.gutter,n)}),s)},t.Stack.displayName="Stack"},66686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StackItem=void 0;const i=n(78951),o=i.__importStar(n(29901)),r=i.__importDefault(n(61998)),a=n(61151);t.StackItem=e=>{var{isFilled:t=!1,className:n="",children:s=null}=e,l=i.__rest(e,["isFilled","className","children"]);return o.createElement("div",Object.assign({},l,{className:a.css(r.default.stackItem,t&&r.default.modifiers.fill,n)}),s)},t.StackItem.displayName="StackItem"},23554:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(78951);i.__exportStar(n(21064),t),i.__exportStar(n(66686),t)},74312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIcon=t.getSize=t.IconSize=void 0;const i=n(78951),o=i.__importStar(n(29901));var r;!function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"}(r=t.IconSize||(t.IconSize={})),t.getSize=e=>{switch(e){case r.sm:return"1em";case r.md:return"1.5em";case r.lg:return"2em";case r.xl:return"3em";default:return"1em"}};let a=0;t.createIcon=function({name:e,xOffset:n=0,yOffset:s=0,width:l,height:c,svgPath:d}){var u;return u=class extends o.Component{constructor(){super(...arguments),this.id="icon-title-"+a++}render(){const e=this.props,{size:r,color:a,title:u,noVerticalAlign:h}=e,p=i.__rest(e,["size","color","title","noVerticalAlign"]),f=Boolean(u),g=t.getSize(r),m=-.125*Number.parseFloat(g),v=h?null:{verticalAlign:`${m}em`},b=[n,s,l,c].join(" ");return o.createElement("svg",Object.assign({style:v,fill:a,height:g,width:g,viewBox:b,"aria-labelledby":f?this.id:null,"aria-hidden":!f||null,role:"img"},p),f&&o.createElement("title",{id:this.id},u),o.createElement("path",{d}))}},u.displayName=e,u.defaultProps={color:"currentColor",size:r.sm,noVerticalAlign:!1},u}},20406:(e,t,n)=>{"use strict";t.__esModule=!0,t.AngleRightIconConfig={name:"AngleRightIcon",height:512,width:256,svgPath:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z",yOffset:0,xOffset:0},t.AngleRightIcon=n(74312).createIcon(t.AngleRightIconConfig),t.default=t.AngleRightIcon},19618:(e,t,n)=>{"use strict";t.__esModule=!0,t.ArrowAltCircleLeftIconConfig={name:"ArrowAltCircleLeftIcon",height:512,width:512,svgPath:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm116-292H256v-70.9c0-10.7-13-16.1-20.5-8.5L121.2 247.5c-4.7 4.7-4.7 12.2 0 16.9l114.3 114.9c7.6 7.6 20.5 2.2 20.5-8.5V300h116c6.6 0 12-5.4 12-12v-64c0-6.6-5.4-12-12-12z",yOffset:0,xOffset:0},t.ArrowAltCircleLeftIcon=n(74312).createIcon(t.ArrowAltCircleLeftIconConfig),t.default=t.ArrowAltCircleLeftIcon},31363:(e,t,n)=>{"use strict";t.__esModule=!0,t.ArrowAltCircleRightIconConfig={name:"ArrowAltCircleRightIcon",height:512,width:512,svgPath:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z",yOffset:0,xOffset:0},t.ArrowAltCircleRightIcon=n(74312).createIcon(t.ArrowAltCircleRightIconConfig),t.default=t.ArrowAltCircleRightIcon},81472:(e,t,n)=>{"use strict";t.__esModule=!0,t.BarsIconConfig={name:"BarsIcon",height:512,width:448,svgPath:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z",yOffset:0,xOffset:0},t.BarsIcon=n(74312).createIcon(t.BarsIconConfig),t.default=t.BarsIcon},61049:(e,t,n)=>{"use strict";t.__esModule=!0,t.BellIconConfig={name:"BellIcon",height:1024,width:896,svgPath:"M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z",yOffset:0,xOffset:0},t.BellIcon=n(74312).createIcon(t.BellIconConfig),t.default=t.BellIcon},16685:(e,t,n)=>{"use strict";t.__esModule=!0,t.BoltIconConfig={name:"BoltIcon",height:512,width:320,svgPath:"M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z",yOffset:0,xOffset:0},t.BoltIcon=n(74312).createIcon(t.BoltIconConfig),t.default=t.BoltIcon},19333:(e,t,n)=>{"use strict";t.__esModule=!0,t.BoxesIconConfig={name:"BoxesIcon",height:512,width:576,svgPath:"M560 288h-80v96l-32-21.3-32 21.3v-96h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-384-64h224c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16h-80v96l-32-21.3L256 96V0h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16zm64 64h-80v96l-32-21.3L96 384v-96H16c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16z",yOffset:0,xOffset:0},t.BoxesIcon=n(74312).createIcon(t.BoxesIconConfig),t.default=t.BoxesIcon},84594:(e,t,n)=>{"use strict";t.__esModule=!0,t.CalculatorIconConfig={name:"CalculatorIcon",height:512,width:448,svgPath:"M400 0H48C22.4 0 0 22.4 0 48v416c0 25.6 22.4 48 48 48h352c25.6 0 48-22.4 48-48V48c0-25.6-22.4-48-48-48zM128 435.2c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8V268.8c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v166.4zm0-256c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8V76.8C64 70.4 70.4 64 76.8 64h294.4c6.4 0 12.8 6.4 12.8 12.8v102.4z",yOffset:0,xOffset:0},t.CalculatorIcon=n(74312).createIcon(t.CalculatorIconConfig),t.default=t.CalculatorIcon},19872:(e,t,n)=>{"use strict";t.__esModule=!0,t.CaretDownIconConfig={name:"CaretDownIcon",height:512,width:320,svgPath:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z",yOffset:0,xOffset:0},t.CaretDownIcon=n(74312).createIcon(t.CaretDownIconConfig),t.default=t.CaretDownIcon},66352:(e,t,n)=>{"use strict";t.__esModule=!0,t.CheckCircleIconConfig={name:"CheckCircleIcon",height:512,width:512,svgPath:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z",yOffset:0,xOffset:0},t.CheckCircleIcon=n(74312).createIcon(t.CheckCircleIconConfig),t.default=t.CheckCircleIcon},97159:(e,t,n)=>{"use strict";t.__esModule=!0,t.CheckIconConfig={name:"CheckIcon",height:512,width:512,svgPath:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",yOffset:0,xOffset:0},t.CheckIcon=n(74312).createIcon(t.CheckIconConfig),t.default=t.CheckIcon},3801:(e,t,n)=>{"use strict";t.__esModule=!0,t.CloseIconConfig={name:"CloseIcon",height:1024,width:730,svgPath:"M725.499315,767.757345 L469.242169,511.500499 L725.499315,255.243653 C729.196254,251.545719 731.096195,247.248119 731,242.4498 C731,237.653479 728.997365,233.35588 725.299427,229.558002 L647.542773,151.701495 C643.743891,147.903617 639.446287,146 634.64996,146 C629.852635,146 625.55503,147.803673 621.857092,151.500607 L365.5,407.857398 L109.241857,151.500607 C105.544917,147.803673 101.246314,145.904733 96.4499876,146 C91.6526619,146.104622 87.3550577,148.002562 83.5571748,151.701495 L5.7005771,229.457058 C1.90269428,233.255936 0,237.553535 0,242.350855 C0,247.148175 1.80175055,251.444775 5.50068853,255.143709 L261.857779,511.500499 L5.50068853,767.757345 C1.80175055,771.454279 -0.0961914123,775.752878 0,779.750645 C0.103697157,784.547965 2.00263857,788.845564 5.7005771,792.642443 L83.4572306,871.299502 C87.2541139,875.096381 91.5527176,877 96.3500433,877 C101.147369,877 105.444973,875.197325 109.142912,871.499391 L365.400058,615.241545 L621.657203,871.499391 C625.355142,875.197325 629.652746,877.095265 634.449072,877 C639.246398,877 643.545002,874.997437 647.342885,871.299502 L725.099538,793.54294 C728.896421,789.745062 730.796362,785.446463 730.796362,780.649143 C731.096195,775.752878 729.196254,771.454279 725.499315,767.757345",yOffset:0,xOffset:0},t.CloseIcon=n(74312).createIcon(t.CloseIconConfig),t.default=t.CloseIcon},66582:(e,t,n)=>{"use strict";t.__esModule=!0,t.DiceSixIconConfig={name:"DiceSixIcon",height:512,width:448,svgPath:"M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z",yOffset:0,xOffset:0},t.DiceSixIcon=n(74312).createIcon(t.DiceSixIconConfig),t.default=t.DiceSixIcon},31822:(e,t,n)=>{"use strict";t.__esModule=!0,t.ExclamationCircleIconConfig={name:"ExclamationCircleIcon",height:512,width:512,svgPath:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z",yOffset:0,xOffset:0},t.ExclamationCircleIcon=n(74312).createIcon(t.ExclamationCircleIconConfig),t.default=t.ExclamationCircleIcon},44834:(e,t,n)=>{"use strict";t.__esModule=!0,t.ExclamationTriangleIconConfig={name:"ExclamationTriangleIcon",height:512,width:576,svgPath:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z",yOffset:0,xOffset:0},t.ExclamationTriangleIcon=n(74312).createIcon(t.ExclamationTriangleIconConfig),t.default=t.ExclamationTriangleIcon},95619:(e,t,n)=>{"use strict";t.__esModule=!0,t.GripVerticalIconConfig={name:"GripVerticalIcon",height:512,width:320,svgPath:"M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z",yOffset:0,xOffset:0},t.GripVerticalIcon=n(74312).createIcon(t.GripVerticalIconConfig),t.default=t.GripVerticalIcon},13136:(e,t,n)=>{"use strict";t.__esModule=!0,t.HelpIconConfig={name:"HelpIcon",height:1024,width:1024,svgPath:"M521.3,576 C627.5,576 713.7,502 713.7,413.7 C713.7,325.4 627.6,253.6 521.3,253.6 C366,253.6 334.5,337.7 329.2,407.2 C329.2,414.3 335.2,416 343.5,416 L445,416 C450.5,416 458,415.5 460.8,406.5 C460.8,362.6 582.9,357.1 582.9,413.6 C582.9,441.9 556.2,470.9 521.3,473 C486.4,475.1 447.3,479.8 447.3,521.7 L447.3,553.8 C447.3,570.8 456.1,576 472,576 C487.9,576 521.3,576 521.3,576 M575.3,751.3 L575.3,655.3 C575.313862,651.055109 573.620137,646.982962 570.6,644 C567.638831,640.947672 563.552355,639.247987 559.3,639.29884 L463.3,639.29884 C459.055109,639.286138 454.982962,640.979863 452,644 C448.947672,646.961169 447.247987,651.047645 447.29884,655.3 L447.29884,751.3 C447.286138,755.544891 448.979863,759.617038 452,762.6 C454.961169,765.652328 459.047645,767.352013 463.3,767.30116 L559.3,767.30116 C563.544891,767.313862 567.617038,765.620137 570.6,762.6 C573.659349,759.643612 575.360354,755.553963 575.3,751.3 M512,896 C300.2,896 128,723.9 128,512 C128,300.3 300.2,128 512,128 C723.8,128 896,300.2 896,512 C896,723.8 723.7,896 512,896 M512.1,0 C229.7,0 0,229.8 0,512 C0,794.2 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0",yOffset:0,xOffset:0},t.HelpIcon=n(74312).createIcon(t.HelpIconConfig),t.default=t.HelpIcon},96508:(e,t,n)=>{"use strict";t.__esModule=!0,t.InfoCircleIconConfig={name:"InfoCircleIcon",height:512,width:512,svgPath:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",yOffset:0,xOffset:0},t.InfoCircleIcon=n(74312).createIcon(t.InfoCircleIconConfig),t.default=t.InfoCircleIcon},70170:(e,t,n)=>{"use strict";t.__esModule=!0,t.KeyboardIconConfig={name:"KeyboardIcon",height:512,width:576,svgPath:"M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z",yOffset:0,xOffset:0},t.KeyboardIcon=n(74312).createIcon(t.KeyboardIconConfig),t.default=t.KeyboardIcon},9409:(e,t,n)=>{"use strict";t.__esModule=!0,t.PlusIconConfig={name:"PlusIcon",height:512,width:448,svgPath:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",yOffset:0,xOffset:0},t.PlusIcon=n(74312).createIcon(t.PlusIconConfig),t.default=t.PlusIcon},46065:(e,t,n)=>{"use strict";t.__esModule=!0,t.SearchIconConfig={name:"SearchIcon",height:512,width:512,svgPath:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z",yOffset:0,xOffset:0},t.SearchIcon=n(74312).createIcon(t.SearchIconConfig),t.default=t.SearchIcon},8150:(e,t,n)=>{"use strict";t.__esModule=!0,t.SignOutAltIconConfig={name:"SignOutAltIcon",height:512,width:512,svgPath:"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z",yOffset:0,xOffset:0},t.SignOutAltIcon=n(74312).createIcon(t.SignOutAltIconConfig),t.default=t.SignOutAltIcon},18995:(e,t,n)=>{"use strict";t.__esModule=!0,t.SortIconConfig={name:"SortIcon",height:512,width:320,svgPath:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z",yOffset:0,xOffset:0},t.SortIcon=n(74312).createIcon(t.SortIconConfig),t.default=t.SortIcon},63930:(e,t,n)=>{"use strict";t.__esModule=!0,t.StarIconConfig={name:"StarIcon",height:512,width:576,svgPath:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z",yOffset:0,xOffset:0},t.StarIcon=n(74312).createIcon(t.StarIconConfig),t.default=t.StarIcon},77225:(e,t,n)=>{"use strict";t.__esModule=!0,t.TimesCircleIconConfig={name:"TimesCircleIcon",height:512,width:512,svgPath:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z",yOffset:0,xOffset:0},t.TimesCircleIcon=n(74312).createIcon(t.TimesCircleIconConfig),t.default=t.TimesCircleIcon},62442:(e,t,n)=>{"use strict";t.__esModule=!0,t.TimesIconConfig={name:"TimesIcon",height:512,width:352,svgPath:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z",yOffset:0,xOffset:0},t.TimesIcon=n(74312).createIcon(t.TimesIconConfig),t.default=t.TimesIcon},61042:(e,t,n)=>{"use strict";t.__esModule=!0,t.TrashIconConfig={name:"TrashIcon",height:512,width:448,svgPath:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z",yOffset:0,xOffset:0},t.TrashIcon=n(74312).createIcon(t.TrashIconConfig),t.default=t.TrashIcon},6807:(e,t,n)=>{"use strict";t.__esModule=!0,t.WarningTriangleIconConfig={name:"WarningTriangleIcon",height:1024,width:1088,svgPath:"M1057.10141,663.5 L845.101405,215.4 C787.101405,71.8 665.401405,0 542.901405,0 C420.201405,0 296.701405,71.9 235.001405,215.6 L31.7014051,648.5 C10.4014051,700 -0.0985948775,752.3 0.000697596367,800.8 C0.301405123,924.8 70.2014051,1024 209.101405,1024 L868.401405,1024 C1005.80141,1024 1087.70141,918.6 1088.00215,795.5 C1088.10141,752.4 1078.20141,707.2 1057.10141,663.5 Z M959.401405,800.3 C958.701405,822.9 952.901405,843.5 942.601405,859.7 C926.801405,884.6 902.601405,896.7 868.301405,896.7 L209.101405,896.7 C191.201405,896.7 176.601405,893.8 165.401405,888.2 C157.301405,884 150.801405,878.4 145.401405,870.3 C135.101405,855 129.101405,832 128.401405,805.6 C127.601405,772.8 134.901405,736.5 149.401405,700.5 L353.001405,266.7 C363.201405,242.9 376.101405,221.5 391.101405,203.2 C404.801405,186.6 420.301405,172.4 437.401405,161.1 C469.201405,139.9 505.701405,128.8 542.901405,128.8 C579.701405,128.8 615.401405,139.8 646.001405,160.5 C662.401405,171.6 677.101405,185.4 690.101405,201.6 C704.501405,219.6 716.401405,240.6 725.901405,264 L940.901405,718.9 L941.101405,719.3 L941.301405,719.7 C953.901405,746 960.201405,773.9 959.401405,800.3 Z M586.601405,832 L501.301405,832 C489.501405,831.8 480.201405,821.5 480.001405,808.7 L480.001405,727.3 C480.201405,714.5 489.601405,704.3 501.301405,704 L586.601405,704 C598.401405,704.2 607.701405,714.5 607.901405,727.3 L607.901405,808.7 L608.001405,808.7 C607.701405,821.5 598.301405,831.8 586.601405,832 M639.901405,290.7 L613.201405,610.4 C611.801405,626.9 598.001405,640 581.301405,640 L506.601405,640 C490.001405,640 476.101405,627.2 474.701405,610.7 L448.101405,291 C446.501405,272.3 461.301405,256.3 480.001405,256.3 L608.001405,256 C626.701405,256 641.401405,272 639.901405,290.7",yOffset:0,xOffset:0},t.WarningTriangleIcon=n(74312).createIcon(t.WarningTriangleIconConfig),t.default=t.WarningTriangleIcon},34116:(e,t,n)=>{"use strict";t.__esModule=!0,n(14659),t.default={alert:"pf-c-alert",alertAction:"pf-c-alert__action",alertActionGroup:"pf-c-alert__action-group",alertDescription:"pf-c-alert__description",alertIcon:"pf-c-alert__icon",alertTitle:"pf-c-alert__title",alertToggle:"pf-c-alert__toggle",alertToggleIcon:"pf-c-alert__toggle-icon",button:"pf-c-button",modifiers:{success:"pf-m-success",danger:"pf-m-danger",warning:"pf-m-warning",info:"pf-m-info",inline:"pf-m-inline",plain:"pf-m-plain",expandable:"pf-m-expandable",expanded:"pf-m-expanded",truncate:"pf-m-truncate",overpassFont:"pf-m-overpass-font"}}},33468:(e,t,n)=>{"use strict";t.__esModule=!0,n(43287),t.default={backdrop:"pf-c-backdrop",backdropOpen:"pf-c-backdrop__open"}},726:(e,t,n)=>{"use strict";t.__esModule=!0,n(27843),t.default={badge:"pf-c-badge",modifiers:{read:"pf-m-read",unread:"pf-m-unread"}}},38701:(e,t,n)=>{"use strict";t.__esModule=!0,n(25498),t.default={button:"pf-c-button",buttonIcon:"pf-c-button__icon",buttonProgress:"pf-c-button__progress",modifiers:{active:"pf-m-active",block:"pf-m-block",small:"pf-m-small",primary:"pf-m-primary",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",danger:"pf-m-danger",warning:"pf-m-warning",control:"pf-m-control",expanded:"pf-m-expanded",plain:"pf-m-plain",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end",overpassFont:"pf-m-overpass-font"},spinner:"pf-c-spinner"}},82467:(e,t,n)=>{"use strict";t.__esModule=!0,n(74411),t.default={card:"pf-c-card",cardActions:"pf-c-card__actions",cardBody:"pf-c-card__body",cardExpandableContent:"pf-c-card__expandable-content",cardFooter:"pf-c-card__footer",cardHeader:"pf-c-card__header",cardHeaderToggle:"pf-c-card__header-toggle",cardHeaderToggleIcon:"pf-c-card__header-toggle-icon",cardTitle:"pf-c-card__title",divider:"pf-c-divider",modifiers:{hoverable:"pf-m-hoverable",selectable:"pf-m-selectable",selected:"pf-m-selected",hoverableRaised:"pf-m-hoverable-raised",selectableRaised:"pf-m-selectable-raised",selectedRaised:"pf-m-selected-raised",compact:"pf-m-compact",displayLg:"pf-m-display-lg",flat:"pf-m-flat",plain:"pf-m-plain",rounded:"pf-m-rounded",expanded:"pf-m-expanded",fullHeight:"pf-m-full-height",toggleRight:"pf-m-toggle-right",noOffset:"pf-m-no-offset",noFill:"pf-m-no-fill",overpassFont:"pf-m-overpass-font"}}},80383:(e,t,n)=>{"use strict";t.__esModule=!0,n(70939),t.default={check:"pf-c-check",checkBody:"pf-c-check__body",checkDescription:"pf-c-check__description",checkInput:"pf-c-check__input",checkLabel:"pf-c-check__label",modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"}}},29238:(e,t,n)=>{"use strict";t.__esModule=!0,n(5744),t.default={badge:"pf-c-badge",button:"pf-c-button",chip:"pf-c-chip",chipIcon:"pf-c-chip__icon",chipText:"pf-c-chip__text",modifiers:{overflow:"pf-m-overflow",draggable:"pf-m-draggable"}}},13365:(e,t,n)=>{"use strict";t.__esModule=!0,n(71415),t.default={chipGroup:"pf-c-chip-group",chipGroupClose:"pf-c-chip-group__close",chipGroupLabel:"pf-c-chip-group__label",chipGroupList:"pf-c-chip-group__list",chipGroupListItem:"pf-c-chip-group__list-item",chipGroupMain:"pf-c-chip-group__main",modifiers:{category:"pf-m-category"}}},98575:(e,t,n)=>{"use strict";t.__esModule=!0,n(4818),t.default={content:"pf-c-content",modifiers:{visited:"pf-m-visited",overpassFont:"pf-m-overpass-font"}}},2987:(e,t,n)=>{"use strict";t.__esModule=!0,n(85172),t.default={divider:"pf-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",vertical:"pf-m-vertical",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl"}}},75479:(e,t,n)=>{"use strict";t.__esModule=!0,n(4081),t.default={drawer:"pf-c-drawer",drawerActions:"pf-c-drawer__actions",drawerBody:"pf-c-drawer__body",drawerClose:"pf-c-drawer__close",drawerContent:"pf-c-drawer__content",drawerHead:"pf-c-drawer__head",drawerMain:"pf-c-drawer__main",drawerPanel:"pf-c-drawer__panel",drawerPanelMain:"pf-c-drawer__panel-main",drawerSection:"pf-c-drawer__section",drawerSplitter:"pf-c-drawer__splitter",drawerSplitterHandle:"pf-c-drawer__splitter-handle",modifiers:{panelBottom:"pf-m-panel-bottom",inline:"pf-m-inline",noBorder:"pf-m-no-border",resizable:"pf-m-resizable",static:"pf-m-static",panelLeft:"pf-m-panel-left",expanded:"pf-m-expanded",resizing:"pf-m-resizing",noBackground:"pf-m-no-background",light_200:"pf-m-light-200",noPadding:"pf-m-no-padding",padding:"pf-m-padding",vertical:"pf-m-vertical",width_25:"pf-m-width-25",width_33:"pf-m-width-33",width_50:"pf-m-width-50",width_66:"pf-m-width-66",width_75:"pf-m-width-75",width_100:"pf-m-width-100",width_25OnLg:"pf-m-width-25-on-lg",width_33OnLg:"pf-m-width-33-on-lg",width_50OnLg:"pf-m-width-50-on-lg",width_66OnLg:"pf-m-width-66-on-lg",width_75OnLg:"pf-m-width-75-on-lg",width_100OnLg:"pf-m-width-100-on-lg",width_25OnXl:"pf-m-width-25-on-xl",width_33OnXl:"pf-m-width-33-on-xl",width_50OnXl:"pf-m-width-50-on-xl",width_66OnXl:"pf-m-width-66-on-xl",width_75OnXl:"pf-m-width-75-on-xl",width_100OnXl:"pf-m-width-100-on-xl",width_25On_2xl:"pf-m-width-25-on-2xl",width_33On_2xl:"pf-m-width-33-on-2xl",width_50On_2xl:"pf-m-width-50-on-2xl",width_66On_2xl:"pf-m-width-66-on-2xl",width_75On_2xl:"pf-m-width-75-on-2xl",width_100On_2xl:"pf-m-width-100-on-2xl",inlineOnLg:"pf-m-inline-on-lg",staticOnLg:"pf-m-static-on-lg",inlineOnXl:"pf-m-inline-on-xl",staticOnXl:"pf-m-static-on-xl",inlineOn_2xl:"pf-m-inline-on-2xl",staticOn_2xl:"pf-m-static-on-2xl"},pageMain:"pf-c-page__main"}},83036:(e,t,n)=>{"use strict";t.__esModule=!0,n(52772),t.default={badge:"pf-c-badge",check:"pf-c-check",divider:"pf-c-divider",dropdown:"pf-c-dropdown",dropdownGroup:"pf-c-dropdown__group",dropdownGroupTitle:"pf-c-dropdown__group-title",dropdownMenu:"pf-c-dropdown__menu",dropdownMenuItem:"pf-c-dropdown__menu-item",dropdownMenuItemDescription:"pf-c-dropdown__menu-item-description",dropdownMenuItemIcon:"pf-c-dropdown__menu-item-icon",dropdownMenuItemMain:"pf-c-dropdown__menu-item-main",dropdownToggle:"pf-c-dropdown__toggle",dropdownToggleButton:"pf-c-dropdown__toggle-button",dropdownToggleCheck:"pf-c-dropdown__toggle-check",dropdownToggleIcon:"pf-c-dropdown__toggle-icon",dropdownToggleImage:"pf-c-dropdown__toggle-image",dropdownToggleText:"pf-c-dropdown__toggle-text",menu:"pf-c-menu",modifiers:{fullHeight:"pf-m-full-height",action:"pf-m-action",disabled:"pf-m-disabled",plain:"pf-m-plain",splitButton:"pf-m-split-button",active:"pf-m-active",expanded:"pf-m-expanded",primary:"pf-m-primary",top:"pf-m-top",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",ariaDisabled:"pf-m-aria-disabled",icon:"pf-m-icon",description:"pf-m-description",text:"pf-m-text"}}},90930:(e,t,n)=>{"use strict";t.__esModule=!0,n(43538),t.default={button:"pf-c-button",emptyState:"pf-c-empty-state",emptyStateBody:"pf-c-empty-state__body",emptyStateContent:"pf-c-empty-state__content",emptyStateIcon:"pf-c-empty-state__icon",emptyStatePrimary:"pf-c-empty-state__primary",emptyStateSecondary:"pf-c-empty-state__secondary",modifiers:{xs:"pf-m-xs",sm:"pf-m-sm",lg:"pf-m-lg",xl:"pf-m-xl",fullHeight:"pf-m-full-height",primary:"pf-m-primary",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"}},40189:(e,t,n)=>{"use strict";t.__esModule=!0,n(905),t.default={form:"pf-c-form",formActions:"pf-c-form__actions",formFieldGroup:"pf-c-form__field-group",formFieldGroupBody:"pf-c-form__field-group-body",formFieldGroupHeader:"pf-c-form__field-group-header",formFieldGroupHeaderActions:"pf-c-form__field-group-header-actions",formFieldGroupHeaderDescription:"pf-c-form__field-group-header-description",formFieldGroupHeaderMain:"pf-c-form__field-group-header-main",formFieldGroupHeaderTitle:"pf-c-form__field-group-header-title",formFieldGroupHeaderTitleText:"pf-c-form__field-group-header-title-text",formFieldGroupToggle:"pf-c-form__field-group-toggle",formFieldGroupToggleButton:"pf-c-form__field-group-toggle-button",formFieldGroupToggleIcon:"pf-c-form__field-group-toggle-icon",formFieldset:"pf-c-form__fieldset",formGroup:"pf-c-form__group",formGroupControl:"pf-c-form__group-control",formGroupLabel:"pf-c-form__group-label",formGroupLabelHelp:"pf-c-form__group-label-help",formGroupLabelInfo:"pf-c-form__group-label-info",formGroupLabelMain:"pf-c-form__group-label-main",formHelperText:"pf-c-form__helper-text",formHelperTextIcon:"pf-c-form__helper-text-icon",formLabel:"pf-c-form__label",formLabelRequired:"pf-c-form__label-required",formLabelText:"pf-c-form__label-text",formSection:"pf-c-form__section",formSectionTitle:"pf-c-form__section-title",modifiers:{horizontal:"pf-m-horizontal",alignRight:"pf-m-align-right",noPaddingTop:"pf-m-no-padding-top",limitWidth:"pf-m-limit-width",action:"pf-m-action",info:"pf-m-info",disabled:"pf-m-disabled",inline:"pf-m-inline",stack:"pf-m-stack",error:"pf-m-error",success:"pf-m-success",warning:"pf-m-warning",inactive:"pf-m-inactive",hidden:"pf-m-hidden",expanded:"pf-m-expanded"}}},38294:(e,t,n)=>{"use strict";t.__esModule=!0,n(35478),t.default={formControl:"pf-c-form-control",modifiers:{success:"pf-m-success",expanded:"pf-m-expanded",icon:"pf-m-icon",warning:"pf-m-warning",search:"pf-m-search",calendar:"pf-m-calendar",clock:"pf-m-clock",placeholder:"pf-m-placeholder",resizeVertical:"pf-m-resize-vertical",resizeHorizontal:"pf-m-resize-horizontal"}}},78320:(e,t,n)=>{"use strict";t.__esModule=!0,n(75386),t.default={button:"pf-c-button",inlineEdit:"pf-c-inline-edit",inlineEditAction:"pf-c-inline-edit__action",inlineEditEditableText:"pf-c-inline-edit__editable-text",inlineEditGroup:"pf-c-inline-edit__group",inlineEditInput:"pf-c-inline-edit__input",inlineEditLabel:"pf-c-inline-edit__label",inlineEditValue:"pf-c-inline-edit__value",modifiers:{iconGroup:"pf-m-icon-group",footer:"pf-m-footer",column:"pf-m-column",valid:"pf-m-valid",plain:"pf-m-plain",actionGroup:"pf-m-action-group",enableEditable:"pf-m-enable-editable",inlineEditable:"pf-m-inline-editable",enable:"pf-m-enable",bold:"pf-m-bold"}}},21952:(e,t,n)=>{"use strict";t.__esModule=!0,n(45344),t.default={formControl:"pf-c-form-control",inputGroup:"pf-c-input-group",inputGroupText:"pf-c-input-group__text",modifiers:{plain:"pf-m-plain"}}},78060:(e,t,n)=>{"use strict";t.__esModule=!0,n(3898),t.default={button:"pf-c-button",label:"pf-c-label",labelContent:"pf-c-label__content",labelIcon:"pf-c-label__icon",labelText:"pf-c-label__text",modifiers:{compact:"pf-m-compact",blue:"pf-m-blue",green:"pf-m-green",orange:"pf-m-orange",red:"pf-m-red",purple:"pf-m-purple",cyan:"pf-m-cyan",outline:"pf-m-outline",overflow:"pf-m-overflow",editableActive:"pf-m-editable-active"}}},24356:(e,t,n)=>{"use strict";t.__esModule=!0,n(68062),t.default={button:"pf-c-button",labelGroup:"pf-c-label-group",labelGroupClose:"pf-c-label-group__close",labelGroupLabel:"pf-c-label-group__label",labelGroupList:"pf-c-label-group__list",labelGroupListItem:"pf-c-label-group__list-item",labelGroupMain:"pf-c-label-group__main",labelGroupTextarea:"pf-c-label-group__textarea",modifiers:{category:"pf-m-category",vertical:"pf-m-vertical",editable:"pf-m-editable",textarea:"pf-m-textarea"}}},48481:(e,t,n)=>{"use strict";t.__esModule=!0,n(8585),t.default={button:"pf-c-button",modalBox:"pf-c-modal-box",modalBoxBody:"pf-c-modal-box__body",modalBoxDescription:"pf-c-modal-box__description",modalBoxFooter:"pf-c-modal-box__footer",modalBoxHeader:"pf-c-modal-box__header",modalBoxHeaderMain:"pf-c-modal-box__header-main",modalBoxTitle:"pf-c-modal-box__title",modalBoxTitleIcon:"pf-c-modal-box__title-icon",modalBoxTitleText:"pf-c-modal-box__title-text",modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",alignTop:"pf-m-align-top",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",default:"pf-m-default",info:"pf-m-info",help:"pf-m-help",icon:"pf-m-icon"}}},66004:(e,t,n)=>{"use strict";t.__esModule=!0,n(13738),t.default={avatar:"pf-c-avatar",brand:"pf-c-brand",button:"pf-c-button",card:"pf-c-card",contextSelector:"pf-c-context-selector",drawer:"pf-c-drawer",masthead:"pf-c-masthead",modifiers:{light:"pf-m-light",menu:"pf-m-menu",hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",read:"pf-m-read",selected:"pf-m-selected",unread:"pf-m-unread",attention:"pf-m-attention",expanded:"pf-m-expanded",collapsed:"pf-m-collapsed",limitWidth:"pf-m-limit-width",alignCenter:"pf-m-align-center",stickyTop:"pf-m-sticky-top",stickyBottom:"pf-m-sticky-bottom",overflowScroll:"pf-m-overflow-scroll",shadowBottom:"pf-m-shadow-bottom",shadowTop:"pf-m-shadow-top",fill:"pf-m-fill",noFill:"pf-m-no-fill",dark_100:"pf-m-dark-100",dark_200:"pf-m-dark-200",padding:"pf-m-padding",noPadding:"pf-m-no-padding",paddingOnSm:"pf-m-padding-on-sm",noPaddingOnSm:"pf-m-no-padding-on-sm",paddingOnMd:"pf-m-padding-on-md",noPaddingOnMd:"pf-m-no-padding-on-md",paddingOnLg:"pf-m-padding-on-lg",noPaddingOnLg:"pf-m-no-padding-on-lg",paddingOnXl:"pf-m-padding-on-xl",noPaddingOnXl:"pf-m-no-padding-on-xl",paddingOn_2xl:"pf-m-padding-on-2xl",noPaddingOn_2xl:"pf-m-no-padding-on-2xl"},nav:"pf-c-nav",notificationBadge:"pf-c-notification-badge",page:"pf-c-page",pageDrawer:"pf-c-page__drawer",pageHeader:"pf-c-page__header",pageHeaderBrand:"pf-c-page__header-brand",pageHeaderBrandLink:"pf-c-page__header-brand-link",pageHeaderBrandToggle:"pf-c-page__header-brand-toggle",pageHeaderNav:"pf-c-page__header-nav",pageHeaderTools:"pf-c-page__header-tools",pageHeaderToolsGroup:"pf-c-page__header-tools-group",pageHeaderToolsItem:"pf-c-page__header-tools-item",pageMain:"pf-c-page__main",pageMainBody:"pf-c-page__main-body",pageMainBreadcrumb:"pf-c-page__main-breadcrumb",pageMainDrawer:"pf-c-page__main-drawer",pageMainGroup:"pf-c-page__main-group",pageMainNav:"pf-c-page__main-nav",pageMainSection:"pf-c-page__main-section",pageMainSubnav:"pf-c-page__main-subnav",pageMainTabs:"pf-c-page__main-tabs",pageMainWizard:"pf-c-page__main-wizard",pageSidebar:"pf-c-page__sidebar",pageSidebarBody:"pf-c-page__sidebar-body"}},42317:(e,t,n)=>{"use strict";t.__esModule=!0,n(15285),t.default={modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"},radio:"pf-c-radio",radioBody:"pf-c-radio__body",radioDescription:"pf-c-radio__description",radioInput:"pf-c-radio__input",radioLabel:"pf-c-radio__label"}},96886:(e,t,n)=>{"use strict";t.__esModule=!0,n(9896),t.default={check:"pf-c-check",checkLabel:"pf-c-check__label",chipGroup:"pf-c-chip-group",divider:"pf-c-divider",formControl:"pf-c-form-control",modifiers:{invalid:"pf-m-invalid",success:"pf-m-success",warning:"pf-m-warning",disabled:"pf-m-disabled",active:"pf-m-active",expanded:"pf-m-expanded",plain:"pf-m-plain",typeahead:"pf-m-typeahead",placeholder:"pf-m-placeholder",top:"pf-m-top",alignRight:"pf-m-align-right",favorite:"pf-m-favorite",favoriteAction:"pf-m-favorite-action",focus:"pf-m-focus",link:"pf-m-link",action:"pf-m-action",selected:"pf-m-selected",description:"pf-m-description",load:"pf-m-load",loading:"pf-m-loading"},select:"pf-c-select",selectListItem:"pf-c-select__list-item",selectMenu:"pf-c-select__menu",selectMenuFieldset:"pf-c-select__menu-fieldset",selectMenuFooter:"pf-c-select__menu-footer",selectMenuGroup:"pf-c-select__menu-group",selectMenuGroupTitle:"pf-c-select__menu-group-title",selectMenuItem:"pf-c-select__menu-item",selectMenuItemActionIcon:"pf-c-select__menu-item-action-icon",selectMenuItemCount:"pf-c-select__menu-item-count",selectMenuItemDescription:"pf-c-select__menu-item-description",selectMenuItemIcon:"pf-c-select__menu-item-icon",selectMenuItemMain:"pf-c-select__menu-item-main",selectMenuItemMatch:"pf-c-select__menu-item--match",selectMenuItemRow:"pf-c-select__menu-item-row",selectMenuItemText:"pf-c-select__menu-item-text",selectMenuSearch:"pf-c-select__menu-search",selectMenuWrapper:"pf-c-select__menu-wrapper",selectToggle:"pf-c-select__toggle",selectToggleArrow:"pf-c-select__toggle-arrow",selectToggleBadge:"pf-c-select__toggle-badge",selectToggleButton:"pf-c-select__toggle-button",selectToggleClear:"pf-c-select__toggle-clear",selectToggleIcon:"pf-c-select__toggle-icon",selectToggleStatusIcon:"pf-c-select__toggle-status-icon",selectToggleText:"pf-c-select__toggle-text",selectToggleTypeahead:"pf-c-select__toggle-typeahead",selectToggleWrapper:"pf-c-select__toggle-wrapper"}},32852:(e,t,n)=>{"use strict";t.__esModule=!0,n(34122),t.default={modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-c-spinner",spinnerClipper:"pf-c-spinner__clipper",spinnerLeadBall:"pf-c-spinner__lead-ball",spinnerPath:"pf-c-spinner__path",spinnerTailBall:"pf-c-spinner__tail-ball"}},80159:(e,t,n)=>{"use strict";t.__esModule=!0,n(90788),t.default={modifiers:{reverse:"pf-m-reverse",off:"pf-m-off",on:"pf-m-on"},switch:"pf-c-switch",switchInput:"pf-c-switch__input",switchLabel:"pf-c-switch__label",switchToggle:"pf-c-switch__toggle",switchToggleIcon:"pf-c-switch__toggle-icon"}},83089:(e,t,n)=>{"use strict";t.__esModule=!0,n(81214),t.default={modifiers:{"4xl":"pf-m-4xl","3xl":"pf-m-3xl","2xl":"pf-m-2xl",xl:"pf-m-xl",lg:"pf-m-lg",md:"pf-m-md",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"}},27081:(e,t,n)=>{"use strict";t.__esModule=!0,n(71582),t.default={button:"pf-c-button",chipGroup:"pf-c-chip-group",divider:"pf-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",pageInsets:"pf-m-page-insets",sticky:"pf-m-sticky",fullHeight:"pf-m-full-height",static:"pf-m-static",vertical:"pf-m-vertical",buttonGroup:"pf-m-button-group",iconButtonGroup:"pf-m-icon-button-group",filterGroup:"pf-m-filter-group",toggleGroup:"pf-m-toggle-group",overflowMenu:"pf-m-overflow-menu",bulkSelect:"pf-m-bulk-select",expandAll:"pf-m-expand-all",expanded:"pf-m-expanded",searchFilter:"pf-m-search-filter",chipGroup:"pf-m-chip-group",label:"pf-m-label",pagination:"pf-m-pagination",chipContainer:"pf-m-chip-container",plain:"pf-m-plain",show:"pf-m-show",showOnSm:"pf-m-show-on-sm",showOnMd:"pf-m-show-on-md",showOnLg:"pf-m-show-on-lg",showOnXl:"pf-m-show-on-xl",showOn_2xl:"pf-m-show-on-2xl",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",nowrap:"pf-m-nowrap",wrap:"pf-m-wrap",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",nowrapOnSm:"pf-m-nowrap-on-sm",wrapOnSm:"pf-m-wrap-on-sm",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",nowrapOnMd:"pf-m-nowrap-on-md",wrapOnMd:"pf-m-wrap-on-md",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",nowrapOnLg:"pf-m-nowrap-on-lg",wrapOnLg:"pf-m-wrap-on-lg",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",nowrapOnXl:"pf-m-nowrap-on-xl",wrapOnXl:"pf-m-wrap-on-xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",nowrapOn_2xl:"pf-m-nowrap-on-2xl",wrapOn_2xl:"pf-m-wrap-on-2xl",spaceItemsNone:"pf-m-space-items-none",spaceItemsSm:"pf-m-space-items-sm",spaceItemsMd:"pf-m-space-items-md",spaceItemsLg:"pf-m-space-items-lg",spaceItemsNoneOnSm:"pf-m-space-items-none-on-sm",spaceItemsSmOnSm:"pf-m-space-items-sm-on-sm",spaceItemsMdOnSm:"pf-m-space-items-md-on-sm",spaceItemsLgOnSm:"pf-m-space-items-lg-on-sm",spaceItemsNoneOnMd:"pf-m-space-items-none-on-md",spaceItemsSmOnMd:"pf-m-space-items-sm-on-md",spaceItemsMdOnMd:"pf-m-space-items-md-on-md",spaceItemsLgOnMd:"pf-m-space-items-lg-on-md",spaceItemsNoneOnLg:"pf-m-space-items-none-on-lg",spaceItemsSmOnLg:"pf-m-space-items-sm-on-lg",spaceItemsMdOnLg:"pf-m-space-items-md-on-lg",spaceItemsLgOnLg:"pf-m-space-items-lg-on-lg",spaceItemsNoneOnXl:"pf-m-space-items-none-on-xl",spaceItemsSmOnXl:"pf-m-space-items-sm-on-xl",spaceItemsMdOnXl:"pf-m-space-items-md-on-xl",spaceItemsLgOnXl:"pf-m-space-items-lg-on-xl",spaceItemsNoneOn_2xl:"pf-m-space-items-none-on-2xl",spaceItemsSmOn_2xl:"pf-m-space-items-sm-on-2xl",spaceItemsMdOn_2xl:"pf-m-space-items-md-on-2xl",spaceItemsLgOn_2xl:"pf-m-space-items-lg-on-2xl",spacerNone:"pf-m-spacer-none",spacerSm:"pf-m-spacer-sm",spacerMd:"pf-m-spacer-md",spacerLg:"pf-m-spacer-lg",spacerNoneOnSm:"pf-m-spacer-none-on-sm",spacerSmOnSm:"pf-m-spacer-sm-on-sm",spacerMdOnSm:"pf-m-spacer-md-on-sm",spacerLgOnSm:"pf-m-spacer-lg-on-sm",spacerNoneOnMd:"pf-m-spacer-none-on-md",spacerSmOnMd:"pf-m-spacer-sm-on-md",spacerMdOnMd:"pf-m-spacer-md-on-md",spacerLgOnMd:"pf-m-spacer-lg-on-md",spacerNoneOnLg:"pf-m-spacer-none-on-lg",spacerSmOnLg:"pf-m-spacer-sm-on-lg",spacerMdOnLg:"pf-m-spacer-md-on-lg",spacerLgOnLg:"pf-m-spacer-lg-on-lg",spacerNoneOnXl:"pf-m-spacer-none-on-xl",spacerSmOnXl:"pf-m-spacer-sm-on-xl",spacerMdOnXl:"pf-m-spacer-md-on-xl",spacerLgOnXl:"pf-m-spacer-lg-on-xl",spacerNoneOn_2xl:"pf-m-spacer-none-on-2xl",spacerSmOn_2xl:"pf-m-spacer-sm-on-2xl",spacerMdOn_2xl:"pf-m-spacer-md-on-2xl",spacerLgOn_2xl:"pf-m-spacer-lg-on-2xl",insetNone:"pf-m-inset-none",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",insetNoneOnSm:"pf-m-inset-none-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",insetNoneOnMd:"pf-m-inset-none-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",insetNoneOnLg:"pf-m-inset-none-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",insetNoneOnXl:"pf-m-inset-none-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl"},pagination:"pf-c-pagination",toolbar:"pf-c-toolbar",toolbarContent:"pf-c-toolbar__content",toolbarContentSection:"pf-c-toolbar__content-section",toolbarExpandAllIcon:"pf-c-toolbar__expand-all-icon",toolbarExpandableContent:"pf-c-toolbar__expandable-content",toolbarGroup:"pf-c-toolbar__group",toolbarItem:"pf-c-toolbar__item",toolbarToggle:"pf-c-toolbar__toggle"}},82793:(e,t,n)=>{"use strict";t.__esModule=!0,n(34630),t.default={modifiers:{top:"pf-m-top",bottom:"pf-m-bottom",left:"pf-m-left",right:"pf-m-right",textAlignLeft:"pf-m-text-align-left"},tooltip:"pf-c-tooltip",tooltipArrow:"pf-c-tooltip__arrow",tooltipContent:"pf-c-tooltip__content"}},3597:(e,t,n)=>{"use strict";t.__esModule=!0,n(48153),t.default={bullseye:"pf-l-bullseye"}},51774:(e,t,n)=>{"use strict";t.__esModule=!0,n(92266),t.default={flex:"pf-l-flex",modifiers:{flex:"pf-m-flex",inlineFlex:"pf-m-inline-flex",column:"pf-m-column",columnReverse:"pf-m-column-reverse",row:"pf-m-row",rowReverse:"pf-m-row-reverse",wrap:"pf-m-wrap",wrapReverse:"pf-m-wrap-reverse",nowrap:"pf-m-nowrap",justifyContentFlexStart:"pf-m-justify-content-flex-start",justifyContentFlexEnd:"pf-m-justify-content-flex-end",justifyContentCenter:"pf-m-justify-content-center",justifyContentSpaceBetween:"pf-m-justify-content-space-between",justifyContentSpaceAround:"pf-m-justify-content-space-around",justifyContentSpaceEvenly:"pf-m-justify-content-space-evenly",alignItemsFlexStart:"pf-m-align-items-flex-start",alignItemsFlexEnd:"pf-m-align-items-flex-end",alignItemsCenter:"pf-m-align-items-center",alignItemsStretch:"pf-m-align-items-stretch",alignItemsBaseline:"pf-m-align-items-baseline",alignContentFlexStart:"pf-m-align-content-flex-start",alignContentFlexEnd:"pf-m-align-content-flex-end",alignContentCenter:"pf-m-align-content-center",alignContentStretch:"pf-m-align-content-stretch",alignContentSpaceBetween:"pf-m-align-content-space-between",alignContentSpaceAround:"pf-m-align-content-space-around",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",grow:"pf-m-grow",shrink:"pf-m-shrink",fullWidth:"pf-m-full-width",flex_1:"pf-m-flex-1",flex_2:"pf-m-flex-2",flex_3:"pf-m-flex-3",flex_4:"pf-m-flex-4",flexDefault:"pf-m-flex-default",flexNone:"pf-m-flex-none",alignSelfFlexStart:"pf-m-align-self-flex-start",alignSelfFlexEnd:"pf-m-align-self-flex-end",alignSelfCenter:"pf-m-align-self-center",alignSelfBaseline:"pf-m-align-self-baseline",alignSelfStretch:"pf-m-align-self-stretch",flexOnSm:"pf-m-flex-on-sm",inlineFlexOnSm:"pf-m-inline-flex-on-sm",columnOnSm:"pf-m-column-on-sm",columnReverseOnSm:"pf-m-column-reverse-on-sm",rowOnSm:"pf-m-row-on-sm",rowReverseOnSm:"pf-m-row-reverse-on-sm",wrapOnSm:"pf-m-wrap-on-sm",wrapReverseOnSm:"pf-m-wrap-reverse-on-sm",nowrapOnSm:"pf-m-nowrap-on-sm",justifyContentFlexStartOnSm:"pf-m-justify-content-flex-start-on-sm",justifyContentFlexEndOnSm:"pf-m-justify-content-flex-end-on-sm",justifyContentCenterOnSm:"pf-m-justify-content-center-on-sm",justifyContentSpaceBetweenOnSm:"pf-m-justify-content-space-between-on-sm",justifyContentSpaceAroundOnSm:"pf-m-justify-content-space-around-on-sm",justifyContentSpaceEvenlyOnSm:"pf-m-justify-content-space-evenly-on-sm",alignItemsFlexStartOnSm:"pf-m-align-items-flex-start-on-sm",alignItemsFlexEndOnSm:"pf-m-align-items-flex-end-on-sm",alignItemsCenterOnSm:"pf-m-align-items-center-on-sm",alignItemsStretchOnSm:"pf-m-align-items-stretch-on-sm",alignItemsBaselineOnSm:"pf-m-align-items-baseline-on-sm",alignContentFlexStartOnSm:"pf-m-align-content-flex-start-on-sm",alignContentFlexEndOnSm:"pf-m-align-content-flex-end-on-sm",alignContentCenterOnSm:"pf-m-align-content-center-on-sm",alignContentStretchOnSm:"pf-m-align-content-stretch-on-sm",alignContentSpaceBetweenOnSm:"pf-m-align-content-space-between-on-sm",alignContentSpaceAroundOnSm:"pf-m-align-content-space-around-on-sm",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",growOnSm:"pf-m-grow-on-sm",shrinkOnSm:"pf-m-shrink-on-sm",fullWidthOnSm:"pf-m-full-width-on-sm",flex_1OnSm:"pf-m-flex-1-on-sm",flex_2OnSm:"pf-m-flex-2-on-sm",flex_3OnSm:"pf-m-flex-3-on-sm",flex_4OnSm:"pf-m-flex-4-on-sm",flexDefaultOnSm:"pf-m-flex-default-on-sm",flexNoneOnSm:"pf-m-flex-none-on-sm",alignSelfFlexStartOnSm:"pf-m-align-self-flex-start-on-sm",alignSelfFlexEndOnSm:"pf-m-align-self-flex-end-on-sm",alignSelfCenterOnSm:"pf-m-align-self-center-on-sm",alignSelfBaselineOnSm:"pf-m-align-self-baseline-on-sm",alignSelfStretchOnSm:"pf-m-align-self-stretch-on-sm",flexOnMd:"pf-m-flex-on-md",inlineFlexOnMd:"pf-m-inline-flex-on-md",columnOnMd:"pf-m-column-on-md",columnReverseOnMd:"pf-m-column-reverse-on-md",rowOnMd:"pf-m-row-on-md",rowReverseOnMd:"pf-m-row-reverse-on-md",wrapOnMd:"pf-m-wrap-on-md",wrapReverseOnMd:"pf-m-wrap-reverse-on-md",nowrapOnMd:"pf-m-nowrap-on-md",justifyContentFlexStartOnMd:"pf-m-justify-content-flex-start-on-md",justifyContentFlexEndOnMd:"pf-m-justify-content-flex-end-on-md",justifyContentCenterOnMd:"pf-m-justify-content-center-on-md",justifyContentSpaceBetweenOnMd:"pf-m-justify-content-space-between-on-md",justifyContentSpaceAroundOnMd:"pf-m-justify-content-space-around-on-md",justifyContentSpaceEvenlyOnMd:"pf-m-justify-content-space-evenly-on-md",alignItemsFlexStartOnMd:"pf-m-align-items-flex-start-on-md",alignItemsFlexEndOnMd:"pf-m-align-items-flex-end-on-md",alignItemsCenterOnMd:"pf-m-align-items-center-on-md",alignItemsStretchOnMd:"pf-m-align-items-stretch-on-md",alignItemsBaselineOnMd:"pf-m-align-items-baseline-on-md",alignContentFlexStartOnMd:"pf-m-align-content-flex-start-on-md",alignContentFlexEndOnMd:"pf-m-align-content-flex-end-on-md",alignContentCenterOnMd:"pf-m-align-content-center-on-md",alignContentStretchOnMd:"pf-m-align-content-stretch-on-md",alignContentSpaceBetweenOnMd:"pf-m-align-content-space-between-on-md",alignContentSpaceAroundOnMd:"pf-m-align-content-space-around-on-md",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",growOnMd:"pf-m-grow-on-md",shrinkOnMd:"pf-m-shrink-on-md",fullWidthOnMd:"pf-m-full-width-on-md",flex_1OnMd:"pf-m-flex-1-on-md",flex_2OnMd:"pf-m-flex-2-on-md",flex_3OnMd:"pf-m-flex-3-on-md",flex_4OnMd:"pf-m-flex-4-on-md",flexDefaultOnMd:"pf-m-flex-default-on-md",flexNoneOnMd:"pf-m-flex-none-on-md",alignSelfFlexStartOnMd:"pf-m-align-self-flex-start-on-md",alignSelfFlexEndOnMd:"pf-m-align-self-flex-end-on-md",alignSelfCenterOnMd:"pf-m-align-self-center-on-md",alignSelfBaselineOnMd:"pf-m-align-self-baseline-on-md",alignSelfStretchOnMd:"pf-m-align-self-stretch-on-md",flexOnLg:"pf-m-flex-on-lg",inlineFlexOnLg:"pf-m-inline-flex-on-lg",columnOnLg:"pf-m-column-on-lg",columnReverseOnLg:"pf-m-column-reverse-on-lg",rowOnLg:"pf-m-row-on-lg",rowReverseOnLg:"pf-m-row-reverse-on-lg",wrapOnLg:"pf-m-wrap-on-lg",wrapReverseOnLg:"pf-m-wrap-reverse-on-lg",nowrapOnLg:"pf-m-nowrap-on-lg",justifyContentFlexStartOnLg:"pf-m-justify-content-flex-start-on-lg",justifyContentFlexEndOnLg:"pf-m-justify-content-flex-end-on-lg",justifyContentCenterOnLg:"pf-m-justify-content-center-on-lg",justifyContentSpaceBetweenOnLg:"pf-m-justify-content-space-between-on-lg",justifyContentSpaceAroundOnLg:"pf-m-justify-content-space-around-on-lg",justifyContentSpaceEvenlyOnLg:"pf-m-justify-content-space-evenly-on-lg",alignItemsFlexStartOnLg:"pf-m-align-items-flex-start-on-lg",alignItemsFlexEndOnLg:"pf-m-align-items-flex-end-on-lg",alignItemsCenterOnLg:"pf-m-align-items-center-on-lg",alignItemsStretchOnLg:"pf-m-align-items-stretch-on-lg",alignItemsBaselineOnLg:"pf-m-align-items-baseline-on-lg",alignContentFlexStartOnLg:"pf-m-align-content-flex-start-on-lg",alignContentFlexEndOnLg:"pf-m-align-content-flex-end-on-lg",alignContentCenterOnLg:"pf-m-align-content-center-on-lg",alignContentStretchOnLg:"pf-m-align-content-stretch-on-lg",alignContentSpaceBetweenOnLg:"pf-m-align-content-space-between-on-lg",alignContentSpaceAroundOnLg:"pf-m-align-content-space-around-on-lg",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",growOnLg:"pf-m-grow-on-lg",shrinkOnLg:"pf-m-shrink-on-lg",fullWidthOnLg:"pf-m-full-width-on-lg",flex_1OnLg:"pf-m-flex-1-on-lg",flex_2OnLg:"pf-m-flex-2-on-lg",flex_3OnLg:"pf-m-flex-3-on-lg",flex_4OnLg:"pf-m-flex-4-on-lg",flexDefaultOnLg:"pf-m-flex-default-on-lg",flexNoneOnLg:"pf-m-flex-none-on-lg",alignSelfFlexStartOnLg:"pf-m-align-self-flex-start-on-lg",alignSelfFlexEndOnLg:"pf-m-align-self-flex-end-on-lg",alignSelfCenterOnLg:"pf-m-align-self-center-on-lg",alignSelfBaselineOnLg:"pf-m-align-self-baseline-on-lg",alignSelfStretchOnLg:"pf-m-align-self-stretch-on-lg",flexOnXl:"pf-m-flex-on-xl",inlineFlexOnXl:"pf-m-inline-flex-on-xl",columnOnXl:"pf-m-column-on-xl",columnReverseOnXl:"pf-m-column-reverse-on-xl",rowOnXl:"pf-m-row-on-xl",rowReverseOnXl:"pf-m-row-reverse-on-xl",wrapOnXl:"pf-m-wrap-on-xl",wrapReverseOnXl:"pf-m-wrap-reverse-on-xl",nowrapOnXl:"pf-m-nowrap-on-xl",justifyContentFlexStartOnXl:"pf-m-justify-content-flex-start-on-xl",justifyContentFlexEndOnXl:"pf-m-justify-content-flex-end-on-xl",justifyContentCenterOnXl:"pf-m-justify-content-center-on-xl",justifyContentSpaceBetweenOnXl:"pf-m-justify-content-space-between-on-xl",justifyContentSpaceAroundOnXl:"pf-m-justify-content-space-around-on-xl",justifyContentSpaceEvenlyOnXl:"pf-m-justify-content-space-evenly-on-xl",alignItemsFlexStartOnXl:"pf-m-align-items-flex-start-on-xl",alignItemsFlexEndOnXl:"pf-m-align-items-flex-end-on-xl",alignItemsCenterOnXl:"pf-m-align-items-center-on-xl",alignItemsStretchOnXl:"pf-m-align-items-stretch-on-xl",alignItemsBaselineOnXl:"pf-m-align-items-baseline-on-xl",alignContentFlexStartOnXl:"pf-m-align-content-flex-start-on-xl",alignContentFlexEndOnXl:"pf-m-align-content-flex-end-on-xl",alignContentCenterOnXl:"pf-m-align-content-center-on-xl",alignContentStretchOnXl:"pf-m-align-content-stretch-on-xl",alignContentSpaceBetweenOnXl:"pf-m-align-content-space-between-on-xl",alignContentSpaceAroundOnXl:"pf-m-align-content-space-around-on-xl",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",growOnXl:"pf-m-grow-on-xl",shrinkOnXl:"pf-m-shrink-on-xl",fullWidthOnXl:"pf-m-full-width-on-xl",flex_1OnXl:"pf-m-flex-1-on-xl",flex_2OnXl:"pf-m-flex-2-on-xl",flex_3OnXl:"pf-m-flex-3-on-xl",flex_4OnXl:"pf-m-flex-4-on-xl",flexDefaultOnXl:"pf-m-flex-default-on-xl",flexNoneOnXl:"pf-m-flex-none-on-xl",alignSelfFlexStartOnXl:"pf-m-align-self-flex-start-on-xl",alignSelfFlexEndOnXl:"pf-m-align-self-flex-end-on-xl",alignSelfCenterOnXl:"pf-m-align-self-center-on-xl",alignSelfBaselineOnXl:"pf-m-align-self-baseline-on-xl",alignSelfStretchOnXl:"pf-m-align-self-stretch-on-xl",flexOn_2xl:"pf-m-flex-on-2xl",inlineFlexOn_2xl:"pf-m-inline-flex-on-2xl",columnOn_2xl:"pf-m-column-on-2xl",columnReverseOn_2xl:"pf-m-column-reverse-on-2xl",rowOn_2xl:"pf-m-row-on-2xl",rowReverseOn_2xl:"pf-m-row-reverse-on-2xl",wrapOn_2xl:"pf-m-wrap-on-2xl",wrapReverseOn_2xl:"pf-m-wrap-reverse-on-2xl",nowrapOn_2xl:"pf-m-nowrap-on-2xl",justifyContentFlexStartOn_2xl:"pf-m-justify-content-flex-start-on-2xl",justifyContentFlexEndOn_2xl:"pf-m-justify-content-flex-end-on-2xl",justifyContentCenterOn_2xl:"pf-m-justify-content-center-on-2xl",justifyContentSpaceBetweenOn_2xl:"pf-m-justify-content-space-between-on-2xl",justifyContentSpaceAroundOn_2xl:"pf-m-justify-content-space-around-on-2xl",justifyContentSpaceEvenlyOn_2xl:"pf-m-justify-content-space-evenly-on-2xl",alignItemsFlexStartOn_2xl:"pf-m-align-items-flex-start-on-2xl",alignItemsFlexEndOn_2xl:"pf-m-align-items-flex-end-on-2xl",alignItemsCenterOn_2xl:"pf-m-align-items-center-on-2xl",alignItemsStretchOn_2xl:"pf-m-align-items-stretch-on-2xl",alignItemsBaselineOn_2xl:"pf-m-align-items-baseline-on-2xl",alignContentFlexStartOn_2xl:"pf-m-align-content-flex-start-on-2xl",alignContentFlexEndOn_2xl:"pf-m-align-content-flex-end-on-2xl",alignContentCenterOn_2xl:"pf-m-align-content-center-on-2xl",alignContentStretchOn_2xl:"pf-m-align-content-stretch-on-2xl",alignContentSpaceBetweenOn_2xl:"pf-m-align-content-space-between-on-2xl",alignContentSpaceAroundOn_2xl:"pf-m-align-content-space-around-on-2xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",growOn_2xl:"pf-m-grow-on-2xl",shrinkOn_2xl:"pf-m-shrink-on-2xl",fullWidthOn_2xl:"pf-m-full-width-on-2xl",flex_1On_2xl:"pf-m-flex-1-on-2xl",flex_2On_2xl:"pf-m-flex-2-on-2xl",flex_3On_2xl:"pf-m-flex-3-on-2xl",flex_4On_2xl:"pf-m-flex-4-on-2xl",flexDefaultOn_2xl:"pf-m-flex-default-on-2xl",flexNoneOn_2xl:"pf-m-flex-none-on-2xl",alignSelfFlexStartOn_2xl:"pf-m-align-self-flex-start-on-2xl",alignSelfFlexEndOn_2xl:"pf-m-align-self-flex-end-on-2xl",alignSelfCenterOn_2xl:"pf-m-align-self-center-on-2xl",alignSelfBaselineOn_2xl:"pf-m-align-self-baseline-on-2xl",alignSelfStretchOn_2xl:"pf-m-align-self-stretch-on-2xl",spaceItemsNone:"pf-m-space-items-none",spaceItemsXs:"pf-m-space-items-xs",spaceItemsSm:"pf-m-space-items-sm",spaceItemsMd:"pf-m-space-items-md",spaceItemsLg:"pf-m-space-items-lg",spaceItemsXl:"pf-m-space-items-xl",spaceItems_2xl:"pf-m-space-items-2xl",spaceItems_3xl:"pf-m-space-items-3xl",spaceItems_4xl:"pf-m-space-items-4xl",spaceItemsNoneOnSm:"pf-m-space-items-none-on-sm",spaceItemsXsOnSm:"pf-m-space-items-xs-on-sm",spaceItemsSmOnSm:"pf-m-space-items-sm-on-sm",spaceItemsMdOnSm:"pf-m-space-items-md-on-sm",spaceItemsLgOnSm:"pf-m-space-items-lg-on-sm",spaceItemsXlOnSm:"pf-m-space-items-xl-on-sm",spaceItems_2xlOnSm:"pf-m-space-items-2xl-on-sm",spaceItems_3xlOnSm:"pf-m-space-items-3xl-on-sm",spaceItems_4xlOnSm:"pf-m-space-items-4xl-on-sm",spaceItemsNoneOnMd:"pf-m-space-items-none-on-md",spaceItemsXsOnMd:"pf-m-space-items-xs-on-md",spaceItemsSmOnMd:"pf-m-space-items-sm-on-md",spaceItemsMdOnMd:"pf-m-space-items-md-on-md",spaceItemsLgOnMd:"pf-m-space-items-lg-on-md",spaceItemsXlOnMd:"pf-m-space-items-xl-on-md",spaceItems_2xlOnMd:"pf-m-space-items-2xl-on-md",spaceItems_3xlOnMd:"pf-m-space-items-3xl-on-md",spaceItems_4xlOnMd:"pf-m-space-items-4xl-on-md",spaceItemsNoneOnLg:"pf-m-space-items-none-on-lg",spaceItemsXsOnLg:"pf-m-space-items-xs-on-lg",spaceItemsSmOnLg:"pf-m-space-items-sm-on-lg",spaceItemsMdOnLg:"pf-m-space-items-md-on-lg",spaceItemsLgOnLg:"pf-m-space-items-lg-on-lg",spaceItemsXlOnLg:"pf-m-space-items-xl-on-lg",spaceItems_2xlOnLg:"pf-m-space-items-2xl-on-lg",spaceItems_3xlOnLg:"pf-m-space-items-3xl-on-lg",spaceItems_4xlOnLg:"pf-m-space-items-4xl-on-lg",spaceItemsNoneOnXl:"pf-m-space-items-none-on-xl",spaceItemsXsOnXl:"pf-m-space-items-xs-on-xl",spaceItemsSmOnXl:"pf-m-space-items-sm-on-xl",spaceItemsMdOnXl:"pf-m-space-items-md-on-xl",spaceItemsLgOnXl:"pf-m-space-items-lg-on-xl",spaceItemsXlOnXl:"pf-m-space-items-xl-on-xl",spaceItems_2xlOnXl:"pf-m-space-items-2xl-on-xl",spaceItems_3xlOnXl:"pf-m-space-items-3xl-on-xl",spaceItems_4xlOnXl:"pf-m-space-items-4xl-on-xl",spaceItemsNoneOn_2xl:"pf-m-space-items-none-on-2xl",spaceItemsXsOn_2xl:"pf-m-space-items-xs-on-2xl",spaceItemsSmOn_2xl:"pf-m-space-items-sm-on-2xl",spaceItemsMdOn_2xl:"pf-m-space-items-md-on-2xl",spaceItemsLgOn_2xl:"pf-m-space-items-lg-on-2xl",spaceItemsXlOn_2xl:"pf-m-space-items-xl-on-2xl",spaceItems_2xlOn_2xl:"pf-m-space-items-2xl-on-2xl",spaceItems_3xlOn_2xl:"pf-m-space-items-3xl-on-2xl",spaceItems_4xlOn_2xl:"pf-m-space-items-4xl-on-2xl",spacerNone:"pf-m-spacer-none",spacerXs:"pf-m-spacer-xs",spacerSm:"pf-m-spacer-sm",spacerMd:"pf-m-spacer-md",spacerLg:"pf-m-spacer-lg",spacerXl:"pf-m-spacer-xl",spacer_2xl:"pf-m-spacer-2xl",spacer_3xl:"pf-m-spacer-3xl",spacer_4xl:"pf-m-spacer-4xl",spacerNoneOnSm:"pf-m-spacer-none-on-sm",spacerXsOnSm:"pf-m-spacer-xs-on-sm",spacerSmOnSm:"pf-m-spacer-sm-on-sm",spacerMdOnSm:"pf-m-spacer-md-on-sm",spacerLgOnSm:"pf-m-spacer-lg-on-sm",spacerXlOnSm:"pf-m-spacer-xl-on-sm",spacer_2xlOnSm:"pf-m-spacer-2xl-on-sm",spacer_3xlOnSm:"pf-m-spacer-3xl-on-sm",spacer_4xlOnSm:"pf-m-spacer-4xl-on-sm",spacerNoneOnMd:"pf-m-spacer-none-on-md",spacerXsOnMd:"pf-m-spacer-xs-on-md",spacerSmOnMd:"pf-m-spacer-sm-on-md",spacerMdOnMd:"pf-m-spacer-md-on-md",spacerLgOnMd:"pf-m-spacer-lg-on-md",spacerXlOnMd:"pf-m-spacer-xl-on-md",spacer_2xlOnMd:"pf-m-spacer-2xl-on-md",spacer_3xlOnMd:"pf-m-spacer-3xl-on-md",spacer_4xlOnMd:"pf-m-spacer-4xl-on-md",spacerNoneOnLg:"pf-m-spacer-none-on-lg",spacerXsOnLg:"pf-m-spacer-xs-on-lg",spacerSmOnLg:"pf-m-spacer-sm-on-lg",spacerMdOnLg:"pf-m-spacer-md-on-lg",spacerLgOnLg:"pf-m-spacer-lg-on-lg",spacerXlOnLg:"pf-m-spacer-xl-on-lg",spacer_2xlOnLg:"pf-m-spacer-2xl-on-lg",spacer_3xlOnLg:"pf-m-spacer-3xl-on-lg",spacer_4xlOnLg:"pf-m-spacer-4xl-on-lg",spacerNoneOnXl:"pf-m-spacer-none-on-xl",spacerXsOnXl:"pf-m-spacer-xs-on-xl",spacerSmOnXl:"pf-m-spacer-sm-on-xl",spacerMdOnXl:"pf-m-spacer-md-on-xl",spacerLgOnXl:"pf-m-spacer-lg-on-xl",spacerXlOnXl:"pf-m-spacer-xl-on-xl",spacer_2xlOnXl:"pf-m-spacer-2xl-on-xl",spacer_3xlOnXl:"pf-m-spacer-3xl-on-xl",spacer_4xlOnXl:"pf-m-spacer-4xl-on-xl",spacerNoneOn_2xl:"pf-m-spacer-none-on-2xl",spacerXsOn_2xl:"pf-m-spacer-xs-on-2xl",spacerSmOn_2xl:"pf-m-spacer-sm-on-2xl",spacerMdOn_2xl:"pf-m-spacer-md-on-2xl",spacerLgOn_2xl:"pf-m-spacer-lg-on-2xl",spacerXlOn_2xl:"pf-m-spacer-xl-on-2xl",spacer_2xlOn_2xl:"pf-m-spacer-2xl-on-2xl",spacer_3xlOn_2xl:"pf-m-spacer-3xl-on-2xl",spacer_4xlOn_2xl:"pf-m-spacer-4xl-on-2xl"}}},8010:(e,t,n)=>{"use strict";t.__esModule=!0,n(40914),t.default={gallery:"pf-l-gallery",modifiers:{gutter:"pf-m-gutter"}}},24366:(e,t,n)=>{"use strict";t.__esModule=!0,n(52482),t.default={level:"pf-l-level",modifiers:{gutter:"pf-m-gutter"}}},95942:(e,t,n)=>{"use strict";t.__esModule=!0,n(48885),t.default={modifiers:{wrap:"pf-m-wrap",fill:"pf-m-fill",gutter:"pf-m-gutter"},split:"pf-l-split",splitItem:"pf-l-split__item"}},61998:(e,t,n)=>{"use strict";t.__esModule=!0,n(92703),t.default={modifiers:{fill:"pf-m-fill",gutter:"pf-m-gutter"},stack:"pf-l-stack",stackItem:"pf-l-stack__item"}},66096:(e,t,n)=>{"use strict";t.__esModule=!0,n(47066),t.default={hidden:"pf-u-hidden",hiddenOnLg:"pf-u-hidden-on-lg",hiddenOnMd:"pf-u-hidden-on-md",hiddenOnSm:"pf-u-hidden-on-sm",hiddenOnXl:"pf-u-hidden-on-xl",hiddenOn_2xl:"pf-u-hidden-on-2xl",screenReader:"pf-u-screen-reader",screenReaderOnLg:"pf-u-screen-reader-on-lg",screenReaderOnMd:"pf-u-screen-reader-on-md",screenReaderOnSm:"pf-u-screen-reader-on-sm",screenReaderOnXl:"pf-u-screen-reader-on-xl",screenReaderOn_2xl:"pf-u-screen-reader-on-2xl",visible:"pf-u-visible",visibleOnLg:"pf-u-visible-on-lg",visibleOnMd:"pf-u-visible-on-md",visibleOnSm:"pf-u-visible-on-sm",visibleOnXl:"pf-u-visible-on-xl",visibleOn_2xl:"pf-u-visible-on-2xl"}},61151:(e,t,n)=>{"use strict";function i(...e){const t=[],n={}.hasOwnProperty;return e.filter(Boolean).forEach((e=>{const o=typeof e;if("string"===o||"number"===o)t.push(e);else if(Array.isArray(e)&&e.length){const n=i(...e);n&&t.push(n)}else if("object"===o)for(const i in e)n.call(e,i)&&e[i]&&t.push(i)})),t.join(" ")}n.r(t),n.d(t,{css:()=>i})},69391:(e,t)=>{"use strict";t.__esModule=!0,t.c_alert__title_max_lines={name:"--pf-c-alert__title--max-lines",value:"1",var:"var(--pf-c-alert__title--max-lines)"},t.default=t.c_alert__title_max_lines},80717:(e,t)=>{"use strict";t.__esModule=!0,t.c_form_control_textarea_Height={name:"--pf-c-form-control--textarea--Height",value:"auto",var:"var(--pf-c-form-control--textarea--Height)"},t.default=t.c_form_control_textarea_Height},61641:(e,t)=>{"use strict";t.__esModule=!0,t.c_modal_box_m_align_top_spacer={name:"--pf-c-modal-box--m-align-top--spacer",value:"0.5rem",var:"var(--pf-c-modal-box--m-align-top--spacer)"},t.default=t.c_modal_box_m_align_top_spacer},85907:(e,t)=>{"use strict";t.__esModule=!0,t.c_tooltip_MaxWidth={name:"--pf-c-tooltip--MaxWidth",value:"18.75rem",var:"var(--pf-c-tooltip--MaxWidth)"},t.default=t.c_tooltip_MaxWidth},41508:(e,t)=>{"use strict";t.__esModule=!0,t.global_breakpoint_2xl={name:"--pf-global--breakpoint--2xl",value:"1450px",var:"var(--pf-global--breakpoint--2xl)"},t.default=t.global_breakpoint_2xl},22892:(e,t)=>{"use strict";t.__esModule=!0,t.global_breakpoint_lg={name:"--pf-global--breakpoint--lg",value:"992px",var:"var(--pf-global--breakpoint--lg)"},t.default=t.global_breakpoint_lg},85722:(e,t)=>{"use strict";t.__esModule=!0,t.global_breakpoint_md={name:"--pf-global--breakpoint--md",value:"768px",var:"var(--pf-global--breakpoint--md)"},t.default=t.global_breakpoint_md},77279:(e,t)=>{"use strict";t.__esModule=!0,t.global_breakpoint_xl={name:"--pf-global--breakpoint--xl",value:"1200px",var:"var(--pf-global--breakpoint--xl)"},t.default=t.global_breakpoint_xl},33488:(e,t)=>{"use strict";t.__esModule=!0,t.l_flex_item_Order={name:"--pf-l-flex--item--Order",value:"0",var:"var(--pf-l-flex--item--Order)"},t.default=t.l_flex_item_Order},72547:e=>{"use strict";function t(e,t,o){e instanceof RegExp&&(e=n(e,o)),t instanceof RegExp&&(t=n(t,o));var r=i(e,t,o);return r&&{start:r[0],end:r[1],pre:o.slice(0,r[0]),body:o.slice(r[0]+e.length,r[1]),post:o.slice(r[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function i(e,t,n){var i,o,r,a,s,l=n.indexOf(e),c=n.indexOf(t,l+1),d=l;if(l>=0&&c>0){if(e===t)return[l,c];for(i=[],r=n.length;d>=0&&!s;)d==l?(i.push(d),l=n.indexOf(e,d+1)):1==i.length?s=[i.pop(),c]:((o=i.pop())<r&&(r=o,a=c),c=n.indexOf(t,d+1)),d=l<c&&l>=0?l:c;i.length&&(s=[r,a])}return s}e.exports=t,t.range=i},26446:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],i=t[1];return 3*(n+i)/4-i},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),d=0,u=s>0?a-4:a;for(n=0;n<u;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[d++]=t>>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[d++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[d++]=t>>8&255,c[d++]=255&t),c},t.fromByteArray=function(e){for(var t,i=e.length,o=i%3,r=[],a=16383,s=0,l=i-o;s<l;s+=a)r.push(c(e,s,s+a>l?l:s+a));return 1===o?(t=e[i-1],r.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[i-2]<<8)+e[i-1],r.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),r.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=r.length;a<s;++a)n[a]=r[a],i[r.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,i){for(var o,r,a=[],s=t;s<i;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(r=o)>>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},12249:(e,t,n)=>{var i=n(43595),o=n(72547);e.exports=function(e){return e?("{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2)),v(function(e){return e.split("\\\\").join(r).split("\\{").join(a).split("\\}").join(s).split("\\,").join(l).split("\\.").join(c)}(e),!0).map(u)):[]};var r="\0SLASH"+Math.random()+"\0",a="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",l="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function d(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function u(e){return e.split(r).join("\\").split(a).join("{").split(s).join("}").split(l).join(",").split(c).join(".")}function h(e){if(!e)return[""];var t=[],n=o("{","}",e);if(!n)return e.split(",");var i=n.pre,r=n.body,a=n.post,s=i.split(",");s[s.length-1]+="{"+r+"}";var l=h(a);return a.length&&(s[s.length-1]+=l.shift(),s.push.apply(s,l)),t.push.apply(t,s),t}function p(e){return"{"+e+"}"}function f(e){return/^-?0\d/.test(e)}function g(e,t){return e<=t}function m(e,t){return e>=t}function v(e,t){var n=[],r=o("{","}",e);if(!r||/\$$/.test(r.pre))return[e];var a,l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),u=l||c,b=r.body.indexOf(",")>=0;if(!u&&!b)return r.post.match(/,.*\}/)?v(e=r.pre+"{"+r.body+s+r.post):[e];if(u)a=r.body.split(/\.\./);else if(1===(a=h(r.body)).length&&1===(a=v(a[0],!1).map(p)).length)return(A=r.post.length?v(r.post,!1):[""]).map((function(e){return r.pre+a[0]+e}));var _,y=r.pre,A=r.post.length?v(r.post,!1):[""];if(u){var w=d(a[0]),C=d(a[1]),x=Math.max(a[0].length,a[1].length),S=3==a.length?Math.abs(d(a[2])):1,E=g;C<w&&(S*=-1,E=m);var k=a.some(f);_=[];for(var M=w;E(M,C);M+=S){var D;if(c)"\\"===(D=String.fromCharCode(M))&&(D="");else if(D=String(M),k){var N=x-D.length;if(N>0){var I=new Array(N+1).join("0");D=M<0?"-"+I+D.slice(1):I+D}}_.push(D)}}else _=i(a,(function(e){return v(e,!1)}));for(var T=0;T<_.length;T++)for(var L=0;L<A.length;L++){var B=y+_[T]+A[L];(!t||u||B)&&n.push(B)}return n}},15313:(e,t,n)=>{"use strict";const i=n(26446),o=n(47164),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let i=s(n);const o=i.write(e,t);return o!==n&&(i=i.slice(0,o)),i}(e,t);if(ArrayBuffer.isView(e))return function(e){if($(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return l.from(i,t,n);const o=function(e){if(l.isBuffer(e)){const t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||J(e.length)?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return d(e),s(e<0?0:0|f(e))}function h(e){const t=e.length<0?0:0|f(e.length),n=s(t);for(let i=0;i<t;i+=1)n[i]=255&e[i];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let i;return i=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(i,l.prototype),i}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(o)return i?-1:G(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return D(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function v(e,t,n){const i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,o){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:_(e,t,n,i,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,i,o){let r,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let i=-1;for(r=n;r<s;r++)if(c(e,r)===c(t,-1===i?0:r-i)){if(-1===i&&(i=r),r-i+1===l)return i*a}else-1!==i&&(r-=r-i),i=-1}else for(n+l>s&&(n=s-l),r=n;r>=0;r--){let n=!0;for(let i=0;i<l;i++)if(c(e,r+i)!==c(t,i)){n=!1;break}if(n)return r}return-1}function y(e,t,n,i){n=Number(n)||0;const o=e.length-n;i?(i=Number(i))>o&&(i=o):i=o;const r=t.length;let a;for(i>r/2&&(i=r/2),a=0;a<i;++a){const i=parseInt(t.substr(2*a,2),16);if(J(i))return a;e[n+a]=i}return a}function A(e,t,n,i){return Y(G(t,e.length-n),e,n,i)}function w(e,t,n,i){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function C(e,t,n,i){return Y(K(t),e,n,i)}function x(e,t,n,i){return Y(function(e,t){let n,i,o;const r=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),i=n>>8,o=n%256,r.push(o),r.push(i);return r}(t,e.length-n),e,n,i)}function S(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);const i=[];let o=t;for(;o<n;){const t=e[o];let r=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,i,s,l;switch(a){case 1:t<128&&(r=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(r=l));break;case 3:n=e[o+1],i=e[o+2],128==(192&n)&&128==(192&i)&&(l=(15&t)<<12|(63&n)<<6|63&i,l>2047&&(l<55296||l>57343)&&(r=l));break;case 4:n=e[o+1],i=e[o+2],s=e[o+3],128==(192&n)&&128==(192&i)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&i)<<6|63&s,l>65535&&l<1114112&&(r=l))}}null===r?(r=65533,a=1):r>65535&&(r-=65536,i.push(r>>>10&1023|55296),r=56320|1023&r),i.push(r),o+=a}return function(e){const t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);let n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=k));return n}(i)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return d(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if($(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),$(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,i=t.length;for(let o=0,r=Math.min(n,i);o<r;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const i=l.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if($(t,Uint8Array))o+t.length>i.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(i,o)):Uint8Array.prototype.set.call(i,t,o);else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(i,o)}o+=t.length}return i},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(e,t,n,i,o){if($(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let r=(o>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(r,a),c=this.slice(i,o),d=e.slice(t,n);for(let e=0;e<s;++e)if(c[e]!==d[e]){r=c[e],a=d[e];break}return r<a?-1:a<r?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},l.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let r=!1;for(;;)switch(i){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":case"latin1":case"binary":return w(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const k=4096;function M(e,t,n){let i="";n=Math.min(e.length,n);for(let o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}function D(e,t,n){let i="";n=Math.min(e.length,n);for(let o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}function N(e,t,n){const i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);let o="";for(let i=t;i<n;++i)o+=q[e[i]];return o}function I(e,t,n){const i=e.slice(t,n);let o="";for(let e=0;e<i.length-1;e+=2)o+=String.fromCharCode(i[e]+256*i[e+1]);return o}function T(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,i,o,r){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<r)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function B(e,t,n,i,o){W(t,i,o,e,n,7);let r=Number(t&BigInt(4294967295));e[n++]=r,r>>=8,e[n++]=r,r>>=8,e[n++]=r,r>>=8,e[n++]=r;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function O(e,t,n,i,o){W(t,i,o,e,n,7);let r=Number(t&BigInt(4294967295));e[n+7]=r,r>>=8,e[n+6]=r,r>>=8,e[n+5]=r,r>>=8,e[n+4]=r;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function P(e,t,n,i,o,r){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,i,r){return t=+t,n>>>=0,r||P(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function R(e,t,n,i,r){return t=+t,n>>>=0,r||P(e,0,n,8),o.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const i=this.subarray(e,t);return Object.setPrototypeOf(i,l.prototype),i},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);let i=this[e],o=1,r=0;for(;++r<t&&(o*=256);)i+=this[e+r]*o;return i},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);let i=this[e+--t],o=1;for(;t>0&&(o*=256);)i+=this[e+--t]*o;return i},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=Z((function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const i=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(i)+(BigInt(o)<<BigInt(32))})),l.prototype.readBigUInt64BE=Z((function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const i=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(i)<<BigInt(32))+BigInt(o)})),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);let i=this[e],o=1,r=0;for(;++r<t&&(o*=256);)i+=this[e+r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);let i=t,o=1,r=this[e+--i];for(;i>0&&(o*=256);)r+=this[e+--i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},l.prototype.readInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||T(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||T(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=Z((function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const i=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=Z((function(e){H(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||U(e,this.length-8);const i=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||T(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||T(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||T(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||T(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,i||L(this,e,t,n,Math.pow(2,8*n)-1,0);let o=1,r=0;for(this[t]=255&e;++r<n&&(o*=256);)this[t+r]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,i||L(this,e,t,n,Math.pow(2,8*n)-1,0);let o=n-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=Z((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=Z((function(e,t=0){return O(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){const i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}let o=0,r=1,a=0;for(this[t]=255&e;++o<n&&(r*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/r>>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){const i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}let o=n-1,r=1,a=0;for(this[t+o]=255&e;--o>=0&&(r*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/r>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=Z((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=Z((function(e,t=0){return O(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);const o=i-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o},l.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){const t=e.charCodeAt(0);("utf8"===i&&t<128||"latin1"===i)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const r=l.isBuffer(e)?e:l.from(e,i),a=r.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=r[o%a]}return this};const j={};function z(e,t,n){j[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",n=e.length;const i="-"===e[0]?1:0;for(;n>=i+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function W(e,t,n,i,o,r){if(e>n||e<t){const i="bigint"==typeof t?"n":"";let o;throw o=r>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${8*(r+1)}${i}`:`>= -(2${i} ** ${8*(r+1)-1}${i}) and < 2 ** ${8*(r+1)-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new j.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||U(t,e.length-(n+1))}(i,o,r)}function H(e,t){if("number"!=typeof e)throw new j.ERR_INVALID_ARG_TYPE(t,"number",e)}function U(e,t,n){if(Math.floor(e)!==e)throw H(e,n),new j.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(e,t,n){let i=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=V(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=V(o)),o+="n"),i+=` It must be ${t}. Received ${o}`,i}),RangeError);const Q=/[^+/0-9A-Za-z-_]/g;function G(e,t){let n;t=t||1/0;const i=e.length;let o=null;const r=[];for(let a=0;a<i;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function K(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,i){let o;for(o=0;o<i&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}const q=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const i=16*n;for(let o=0;o<16;++o)t[i+o]=e[n]+e[o]}return t}();function Z(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},25604:(e,t,n)=>{"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.r(t),n.d(t,{default:()=>a});const a=function(e,t){var n=Object.entries(t);return function(t,a){var s=e(t,a);if(t===s){var l=!1;n.forEach((function(e){var n,c,d=(c=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}}(n,c)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(n,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=d[0],h=d[1];if(!l){var p=t[u],f=h(p,a);p!==f&&(s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s,o({},u,f)),l=!0)}}))}return s}}},43595:e=>{e.exports=function(e,n){for(var i=[],o=0;o<e.length;o++){var r=n(e[o],o);t(r)?i.push.apply(i,r):i.push(r)}return i};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},92009:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ot});var i=n(1034),o=n.n(i),r=n(17204),a=n.n(r),s=n(63914),l=n(36734),c=n(53443),d=n(66561),u=n(73980),h=n(30912),p=n(87180),f=n(4454),g=n(52869),m=n(42913),v=n(90571),b=n(12272),_=n(56046),y=n(90235),A=n(11603),w=n(90677),C=n(47823),x=n(64626),S=n(85393),E=n(59492),k=n(50140),M=n(71221),D=n(12141),N=n(49330),I=n(17811),T=n(33847),L=n(2442),B=n(32878),O=n(64245),P=n(8142),F=n(22735),R=n(93722),j=n(56714),z=n(43848),V=n(95369),W=n(70407),H=n(45482),U=n(23166),Q=n(14713),G=n(28232),K=n(94939),Y=n(15155),$=n(73583),J=n(9838),q=n(8213),Z=n(17379),X=n(57383),ee=n(63875),te=n(25096),ne=n(97096),ie=n(49450),oe=n(84005),re=o()((function(e){return e[1]})),ae=a()(s.Z),se=a()(l.Z),le=a()(c.Z),ce=a()(d.Z),de=a()(u.Z),ue=a()(h.Z),he=a()(p.Z),pe=a()(f.Z),fe=a()(g.Z),ge=a()(m.Z),me=a()(v.Z),ve=a()(b.Z),be=a()(_.Z),_e=a()(y.Z),ye=a()(A.Z),Ae=a()(w.Z),we=a()(C.Z),Ce=a()(x.Z),xe=a()(S.Z),Se=a()(E.Z),Ee=a()(k.Z),ke=a()(M.Z),Me=a()(D.Z),De=a()(N.Z),Ne=a()(I.Z),Ie=a()(T.Z),Te=a()(L.Z),Le=a()(B.Z),Be=a()(O.Z),Oe=a()(P.Z),Pe=a()(F.Z),Fe=a()(R.Z),Re=a()(j.Z),je=a()(z.Z),ze=a()(V.Z),Ve=a()(W.Z),We=a()(H.Z),He=a()(U.Z),Ue=a()(Q.Z),Qe=a()(G.Z),Ge=a()(K.Z),Ke=a()(Y.Z),Ye=a()($.Z),$e=a()(J.Z),Je=a()(q.Z),qe=a()(Z.Z),Ze=a()(X.Z),Xe=a()(ee.Z),et=a()(te.Z),tt=a()(ne.Z),nt=a()(ie.Z),it=a()(oe.Z);re.push([e.id,'.pf-t-light {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-t-dark {\n --pf-global--Color--100: var(--pf-global--Color--light-100);\n --pf-global--Color--200: var(--pf-global--Color--light-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--light-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--light-100);\n --pf-global--link--Color: var(--pf-global--link--Color--light);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--light);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);\n}\n\n.pf-t-dark .pf-c-card {\n --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);\n}\n\n.pf-t-dark .pf-c-button {\n --pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);\n}\n\n:root {\n --pf-global--palette--black-100: #fafafa;\n --pf-global--palette--black-150: #f5f5f5;\n --pf-global--palette--black-200: #f0f0f0;\n --pf-global--palette--black-300: #d2d2d2;\n --pf-global--palette--black-400: #b8bbbe;\n --pf-global--palette--black-500: #8a8d90;\n --pf-global--palette--black-600: #6a6e73;\n --pf-global--palette--black-700: #4f5255;\n --pf-global--palette--black-800: #3c3f42;\n --pf-global--palette--black-850: #212427;\n --pf-global--palette--black-900: #151515;\n --pf-global--palette--black-1000: #030303;\n --pf-global--palette--blue-50: #e7f1fa;\n --pf-global--palette--blue-100: #bee1f4;\n --pf-global--palette--blue-200: #73bcf7;\n --pf-global--palette--blue-300: #2b9af3;\n --pf-global--palette--blue-400: #06c;\n --pf-global--palette--blue-500: #004080;\n --pf-global--palette--blue-600: #002952;\n --pf-global--palette--blue-700: #001223;\n --pf-global--palette--cyan-50: #f2f9f9;\n --pf-global--palette--cyan-100: #a2d9d9;\n --pf-global--palette--cyan-200: #73c5c5;\n --pf-global--palette--cyan-300: #009596;\n --pf-global--palette--cyan-400: #005f60;\n --pf-global--palette--cyan-500: #003737;\n --pf-global--palette--cyan-600: #002323;\n --pf-global--palette--cyan-700: #000f0f;\n --pf-global--palette--gold-50: #fdf7e7;\n --pf-global--palette--gold-100: #f9e0a2;\n --pf-global--palette--gold-200: #f6d173;\n --pf-global--palette--gold-300: #f4c145;\n --pf-global--palette--gold-400: #f0ab00;\n --pf-global--palette--gold-500: #c58c00;\n --pf-global--palette--gold-600: #795600;\n --pf-global--palette--gold-700: #3d2c00;\n --pf-global--palette--green-50: #f3faf2;\n --pf-global--palette--green-100: #bde5b8;\n --pf-global--palette--green-200: #95d58e;\n --pf-global--palette--green-300: #6ec664;\n --pf-global--palette--green-400: #5ba352;\n --pf-global--palette--green-500: #3e8635;\n --pf-global--palette--green-600: #1e4f18;\n --pf-global--palette--green-700: #0f280d;\n --pf-global--palette--light-blue-100: #beedf9;\n --pf-global--palette--light-blue-200: #7cdbf3;\n --pf-global--palette--light-blue-300: #35caed;\n --pf-global--palette--light-blue-400: #00b9e4;\n --pf-global--palette--light-blue-500: #008bad;\n --pf-global--palette--light-blue-600: #005c73;\n --pf-global--palette--light-blue-700: #002d39;\n --pf-global--palette--light-green-100: #e4f5bc;\n --pf-global--palette--light-green-200: #c8eb79;\n --pf-global--palette--light-green-300: #ace12e;\n --pf-global--palette--light-green-400: #92d400;\n --pf-global--palette--light-green-500: #6ca100;\n --pf-global--palette--light-green-600: #486b00;\n --pf-global--palette--light-green-700: #253600;\n --pf-global--palette--orange-100: #f4b678;\n --pf-global--palette--orange-200: #ef9234;\n --pf-global--palette--orange-300: #ec7a08;\n --pf-global--palette--orange-400: #c46100;\n --pf-global--palette--orange-500: #8f4700;\n --pf-global--palette--orange-600: #773d00;\n --pf-global--palette--orange-700: #3b1f00;\n --pf-global--palette--purple-50: #f2f0fc;\n --pf-global--palette--purple-100: #cbc1ff;\n --pf-global--palette--purple-200: #b2a3ff;\n --pf-global--palette--purple-300: #a18fff;\n --pf-global--palette--purple-400: #8476d1;\n --pf-global--palette--purple-500: #6753ac;\n --pf-global--palette--purple-600: #40199a;\n --pf-global--palette--purple-700: #1f0066;\n --pf-global--palette--red-50: #faeae8;\n --pf-global--palette--red-100: #c9190b;\n --pf-global--palette--red-200: #a30000;\n --pf-global--palette--red-300: #7d1007;\n --pf-global--palette--red-400: #470000;\n --pf-global--palette--red-500: #2c0000;\n --pf-global--palette--white: #fff;\n --pf-global--BackgroundColor--100: #fff;\n --pf-global--BackgroundColor--200: #f0f0f0;\n --pf-global--BackgroundColor--light-100: #fff;\n --pf-global--BackgroundColor--light-200: #fafafa;\n --pf-global--BackgroundColor--light-300: #f0f0f0;\n --pf-global--BackgroundColor--dark-100: #151515;\n --pf-global--BackgroundColor--dark-200: #3c3f42;\n --pf-global--BackgroundColor--dark-300: #212427;\n --pf-global--BackgroundColor--dark-400: #4f5255;\n --pf-global--BackgroundColor--dark-transparent-100: rgba(3, 3, 3, 0.62);\n --pf-global--BackgroundColor--dark-transparent-200: rgba(3, 3, 3, 0.32);\n --pf-global--Color--100: #151515;\n --pf-global--Color--200: #6a6e73;\n --pf-global--Color--300: #3c3f42;\n --pf-global--Color--400: #8a8d90;\n --pf-global--Color--light-100: #fff;\n --pf-global--Color--light-200: #f0f0f0;\n --pf-global--Color--light-300: #d2d2d2;\n --pf-global--Color--dark-100: #151515;\n --pf-global--Color--dark-200: #6a6e73;\n --pf-global--active-color--100: #06c;\n --pf-global--active-color--200: #bee1f4;\n --pf-global--active-color--300: #2b9af3;\n --pf-global--active-color--400: #73bcf7;\n --pf-global--disabled-color--100: #6a6e73;\n --pf-global--disabled-color--200: #d2d2d2;\n --pf-global--disabled-color--300: #f0f0f0;\n --pf-global--primary-color--100: #06c;\n --pf-global--primary-color--200: #004080;\n --pf-global--primary-color--light-100: #73bcf7;\n --pf-global--primary-color--dark-100: #06c;\n --pf-global--secondary-color--100: #6a6e73;\n --pf-global--default-color--100: #73c5c5;\n --pf-global--default-color--200: #009596;\n --pf-global--default-color--300: #003737;\n --pf-global--success-color--100: #3e8635;\n --pf-global--success-color--200: #1e4f18;\n --pf-global--info-color--100: #2b9af3;\n --pf-global--info-color--200: #002952;\n --pf-global--warning-color--100: #f0ab00;\n --pf-global--warning-color--200: #795600;\n --pf-global--danger-color--100: #c9190b;\n --pf-global--danger-color--200: #a30000;\n --pf-global--danger-color--300: #470000;\n --pf-global--BoxShadow--sm: 0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06);\n --pf-global--BoxShadow--sm-top: 0 -0.125rem 0.25rem -0.0625rem rgba(3, 3, 3, 0.16);\n --pf-global--BoxShadow--sm-right: 0.125rem 0 0.25rem -0.0625rem rgba(3, 3, 3, 0.16);\n --pf-global--BoxShadow--sm-bottom: 0 0.125rem 0.25rem -0.0625rem rgba(3, 3, 3, 0.16);\n --pf-global--BoxShadow--sm-left: -0.125rem 0 0.25rem -0.0625rem rgba(3, 3, 3, 0.16);\n --pf-global--BoxShadow--md: 0 0.25rem 0.5rem 0rem rgba(3, 3, 3, 0.12), 0 0 0.25rem 0 rgba(3, 3, 3, 0.06);\n --pf-global--BoxShadow--md-top: 0 -0.5rem 0.5rem -0.375rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--md-right: 0.5rem 0 0.5rem -0.375rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--md-bottom: 0 0.5rem 0.5rem -0.375rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--md-left: -0.5rem 0 0.5rem -0.375rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--lg: 0 0.5rem 1rem 0 rgba(3, 3, 3, 0.16), 0 0 0.375rem 0 rgba(3, 3, 3, 0.08);\n --pf-global--BoxShadow--lg-top: 0 -0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--lg-right: 0.75rem 0 0.75rem -0.5rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--lg-bottom: 0 0.75rem 0.75rem -0.5rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--lg-left: -0.75rem 0 0.75rem -0.5rem rgba(3, 3, 3, 0.18);\n --pf-global--BoxShadow--xl: 0 1rem 2rem 0 rgba(3, 3, 3, 0.16), 0 0 0.5rem 0 rgba(3, 3, 3, 0.1);\n --pf-global--BoxShadow--xl-top: 0 -1rem 1rem -0.5rem rgba(3, 3, 3, 0.2);\n --pf-global--BoxShadow--xl-right: 1rem 0 1rem -0.5rem rgba(3, 3, 3, 0.2);\n --pf-global--BoxShadow--xl-bottom: 0 1rem 1rem -0.5rem rgba(3, 3, 3, 0.2);\n --pf-global--BoxShadow--xl-left: -1rem 0 1rem -0.5rem rgba(3, 3, 3, 0.2);\n --pf-global--BoxShadow--inset: inset 0 0 0.625rem 0 rgba(3, 3, 3, 0.25);\n --pf-global--font-path: "./assets/fonts";\n --pf-global--fonticon-path: "./assets/pficon";\n --pf-global--spacer--xs: 0.25rem;\n --pf-global--spacer--sm: 0.5rem;\n --pf-global--spacer--md: 1rem;\n --pf-global--spacer--lg: 1.5rem;\n --pf-global--spacer--xl: 2rem;\n --pf-global--spacer--2xl: 3rem;\n --pf-global--spacer--3xl: 4rem;\n --pf-global--spacer--4xl: 5rem;\n --pf-global--spacer--form-element: 0.375rem;\n --pf-global--gutter: 1rem;\n --pf-global--gutter--md: 1.5rem;\n --pf-global--ZIndex--xs: 100;\n --pf-global--ZIndex--sm: 200;\n --pf-global--ZIndex--md: 300;\n --pf-global--ZIndex--lg: 400;\n --pf-global--ZIndex--xl: 500;\n --pf-global--ZIndex--2xl: 600;\n --pf-global--breakpoint--xs: 0;\n --pf-global--breakpoint--sm: 576px;\n --pf-global--breakpoint--md: 768px;\n --pf-global--breakpoint--lg: 992px;\n --pf-global--breakpoint--xl: 1200px;\n --pf-global--breakpoint--2xl: 1450px;\n --pf-global--link--Color: #06c;\n --pf-global--link--Color--hover: #004080;\n --pf-global--link--Color--light: #2b9af3;\n --pf-global--link--Color--light--hover: #73bcf7;\n --pf-global--link--Color--dark: #06c;\n --pf-global--link--Color--dark--hover: #004080;\n --pf-global--link--Color--visited: #40199a;\n --pf-global--link--TextDecoration: none;\n --pf-global--link--TextDecoration--hover: underline;\n --pf-global--BorderWidth--sm: 1px;\n --pf-global--BorderWidth--md: 2px;\n --pf-global--BorderWidth--lg: 3px;\n --pf-global--BorderWidth--xl: 4px;\n --pf-global--BorderColor--100: #d2d2d2;\n --pf-global--BorderColor--200: #8a8d90;\n --pf-global--BorderColor--300: #f0f0f0;\n --pf-global--BorderColor--dark-100: #d2d2d2;\n --pf-global--BorderColor--light-100: #b8bbbe;\n --pf-global--BorderRadius--sm: 3px;\n --pf-global--BorderRadius--lg: 30em;\n --pf-global--icon--Color--light: #6a6e73;\n --pf-global--icon--Color--dark: #151515;\n --pf-global--icon--FontSize--sm: 0.625rem;\n --pf-global--icon--FontSize--md: 1.125rem;\n --pf-global--icon--FontSize--lg: 1.5rem;\n --pf-global--icon--FontSize--xl: 3.375rem;\n --pf-global--FontFamily--sans-serif: "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif;\n --pf-global--FontFamily--heading--sans-serif: "RedHatDisplay", "Overpass", overpass, helvetica, arial, sans-serif;\n --pf-global--FontFamily--monospace: "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;\n --pf-global--FontFamily--overpass--sans-serif: "overpass", overpass, "open sans", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n --pf-global--FontFamily--overpass--monospace: "overpass-mono", overpass-mono, "SFMono-Regular", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;\n --pf-global--FontSize--4xl: 2.25rem;\n --pf-global--FontSize--3xl: 1.75rem;\n --pf-global--FontSize--2xl: 1.5rem;\n --pf-global--FontSize--xl: 1.25rem;\n --pf-global--FontSize--lg: 1.125rem;\n --pf-global--FontSize--md: 1rem;\n --pf-global--FontSize--sm: 0.875rem;\n --pf-global--FontSize--xs: 0.75rem;\n --pf-global--FontWeight--light: 300;\n --pf-global--FontWeight--normal: 400;\n --pf-global--FontWeight--semi-bold: 700;\n --pf-global--FontWeight--overpass--semi-bold: 500;\n --pf-global--FontWeight--bold: 700;\n --pf-global--FontWeight--overpass--bold: 600;\n --pf-global--LineHeight--sm: 1.3;\n --pf-global--LineHeight--md: 1.5;\n --pf-global--ListStyle: disc outside;\n --pf-global--Transition: all 250ms cubic-bezier(0.42, 0, 0.58, 1);\n --pf-global--TimingFunction: cubic-bezier(0.645, 0.045, 0.355, 1);\n --pf-global--TransitionDuration: 250ms;\n --pf-global--arrow--width: 0.9375rem;\n --pf-global--arrow--width-lg: 1.5625rem;\n --pf-global--target-size--MinWidth: 44px;\n --pf-global--target-size--MinHeight: 44px;\n}\n\n.pf-m-overpass-font {\n --pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--overpass--sans-serif);\n --pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--sans-serif);\n --pf-global--FontFamily--monospace: var(--pf-global--FontFamily--overpass--monospace);\n --pf-global--FontWeight--semi-bold: var(--pf-global--FontWeight--overpass--semi-bold);\n --pf-global--FontWeight--bold: var(--pf-global--FontWeight--overpass--bold);\n}\n\n@font-face {\n font-family: "RedHatDisplay";\n src: url('+ae+') format("woff2"), url('+se+') format("woff");\n font-style: normal;\n font-weight: 300;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: "RedHatDisplay";\n src: url('+le+') format("woff2"), url('+ce+') format("woff");\n font-style: normal;\n font-weight: 400;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: "RedHatDisplay";\n src: url('+de+') format("woff2"), url('+ue+') format("woff");\n font-style: normal;\n font-weight: 700;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: "RedHatText";\n src: url('+he+') format("woff2"), url('+pe+') format("woff");\n font-style: normal;\n font-weight: 400;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: "RedHatText";\n src: url('+fe+') format("woff2"), url('+ge+') format("woff");\n font-style: normal;\n font-weight: 700;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 200;\n src: url('+me+') format("woff2"), url('+ve+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 200;\n src: url('+be+') format("woff2"), url('+_e+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 300;\n src: url('+ye+') format("woff2"), url('+Ae+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 300;\n src: url('+we+') format("woff2"), url('+Ce+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 400;\n src: url('+xe+') format("woff2"), url('+Se+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 400;\n src: url('+Ee+') format("woff2"), url('+ke+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 500;\n src: url('+Me+') format("woff2"), url('+De+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 500;\n src: url('+Ne+') format("woff2"), url('+Ie+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 600;\n src: url('+Te+') format("woff2"), url('+Le+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 600;\n src: url('+Be+') format("woff2"), url('+Oe+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 700;\n src: url('+Pe+') format("woff2"), url('+Fe+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 700;\n src: url('+Re+') format("woff2"), url('+je+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 800;\n src: url('+ze+') format("woff2"), url('+Ve+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 800;\n src: url('+We+') format("woff2"), url('+He+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: normal;\n font-weight: 900;\n src: url('+Ue+') format("woff2"), url('+Qe+') format("woff");\n}\n\n@font-face {\n font-family: "overpass";\n font-style: italic;\n font-weight: 900;\n src: url('+Ge+') format("woff2"), url('+Ke+') format("woff");\n}\n\n@font-face {\n font-family: "overpass-mono";\n font-style: normal;\n font-weight: 300;\n src: url('+Ye+') format("woff2"), url('+$e+') format("woff");\n}\n\n@font-face {\n font-family: "overpass-mono";\n font-style: normal;\n font-weight: 400;\n src: url('+Je+') format("woff2"), url('+qe+') format("woff");\n}\n\n@font-face {\n font-family: "overpass-mono";\n font-style: normal;\n font-weight: 500;\n src: url('+Ze+') format("woff2"), url('+Xe+') format("woff");\n}\n\n@font-face {\n font-family: "overpass-mono";\n font-style: normal;\n font-weight: 600;\n src: url('+et+') format("woff2"), url('+tt+') format("woff");\n}\n\n[class*=pf-c-],\n[class*=pf-c-]::before,\n[class*=pf-c-]::after {\n padding: 0;\n margin: 0;\n background-color: transparent;\n}\n\nhtml {\n font-size: unset !important;\n}\n\n.pf-screen-reader {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\nhtml,\nbody,\np,\nol,\nul,\nli,\ndl,\ndt,\ndd,\nblockquote,\nfigure,\nfieldset,\nlegend,\ntextarea,\npre,\niframe,\nhr,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n padding: 0;\n margin: 0;\n}\n\nhtml,\nbody {\n height: 100%;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: 100%;\n font-weight: var(--pf-global--FontWeight--normal);\n}\n\nul {\n list-style: none;\n}\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: 100%;\n line-height: var(--pf-global--LineHeight--md);\n color: var(--pf-global--Color--100);\n}\n\nimg,\nembed,\niframe,\nobject,\naudio,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\niframe {\n border: 0;\n}\n\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\n\ntd,\nth {\n padding: 0;\n text-align: left;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n}\n\nbody {\n font-family: var(--pf-global--FontFamily--sans-serif);\n font-size: var(--pf-global--FontSize--md);\n font-weight: var(--pf-global--FontWeight--normal);\n line-height: var(--pf-global--LineHeight--md);\n text-align: left;\n background-color: var(--pf-global--BackgroundColor--100);\n}\n\na {\n font-weight: var(--pf-global--link--FontWeight);\n color: var(--pf-global--link--Color);\n text-decoration: var(--pf-global--link--TextDecoration);\n}\n\na:hover {\n --pf-global--link--Color: var(--pf-global--link--Color--hover);\n --pf-global--link--TextDecoration: var(--pf-global--link--TextDecoration--hover);\n}\n\nbutton,\na {\n cursor: pointer;\n}\n\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n.pf-m-overpass-font a {\n font-weight: var(--pf-global--FontWeight--semi-bold);\n}\n\n.pf-t-dark.pf-m-transparent {\n background-color: transparent;\n}\n\n.pf-t-dark.pf-m-transparent-100 {\n background-color: rgba(3, 3, 3, 0.42);\n}\n\n.pf-t-dark.pf-m-transparent-200 {\n background-color: rgba(3, 3, 3, 0.6);\n}\n\n.pf-t-dark.pf-m-opaque-100 {\n background-color: #3c3f42;\n}\n\n.pf-t-dark.pf-m-opaque-200 {\n background-color: #151515;\n}\n\n.pf-t-light.pf-m-transparent {\n background-color: transparent;\n}\n\n.pf-t-light.pf-m-opaque-100 {\n background-color: #fff;\n}\n\n.pf-t-light.pf-m-opaque-200 {\n background-color: #fafafa;\n}\n\n.pf-t-light.pf-m-opaque-300 {\n background-color: #f0f0f0;\n}\n\n@font-face {\n font-family: "pficon";\n src: url('+nt+') format("woff2"), url('+it+') format("woff");\n}\n\n.pf-icon-zone:before,\n.pf-icon-warning-triangle:before,\n.pf-icon-volume:before,\n.pf-icon-virtual-machine:before,\n.pf-icon-users:before,\n.pf-icon-user:before,\n.pf-icon-unplugged:before,\n.pf-icon-unlocked:before,\n.pf-icon-unknown:before,\n.pf-icon-trend-up:before,\n.pf-icon-trend-down:before,\n.pf-icon-topology:before,\n.pf-icon-thumb-tack:before,\n.pf-icon-tenant:before,\n.pf-icon-task:before,\n.pf-icon-storage-domain:before,\n.pf-icon-spinner2:before,\n.pf-icon-spinner:before,\n.pf-icon-services:before,\n.pf-icon-service:before,\n.pf-icon-service-catalog:before,\n.pf-icon-server:before,\n.pf-icon-server-group:before,\n.pf-icon-security:before,\n.pf-icon-screen:before,\n.pf-icon-save:before,\n.pf-icon-running:before,\n.pf-icon-resources-full:before,\n.pf-icon-resources-empty:before,\n.pf-icon-resources-almost-full:before,\n.pf-icon-resources-almost-empty:before,\n.pf-icon-resource-pool:before,\n.pf-icon-repository:before,\n.pf-icon-replicator:before,\n.pf-icon-remove2:before,\n.pf-icon-registry:before,\n.pf-icon-regions:before,\n.pf-icon-rebooting:before,\n.pf-icon-rebalance:before,\n.pf-icon-project:before,\n.pf-icon-process-automation:before,\n.pf-icon-private:before,\n.pf-icon-print:before,\n.pf-icon-port:before,\n.pf-icon-plugged:before,\n.pf-icon-pficon-vcenter:before,\n.pf-icon-pficon-template:before,\n.pf-icon-pficon-sort-common-desc:before,\n.pf-icon-pficon-sort-common-asc:before,\n.pf-icon-pficon-satellite:before,\n.pf-icon-pficon-network-range:before,\n.pf-icon-pficon-history:before,\n.pf-icon-pficon-dragdrop:before,\n.pf-icon-pending:before,\n.pf-icon-paused:before,\n.pf-icon-panel-open:before,\n.pf-icon-panel-close:before,\n.pf-icon-package:before,\n.pf-icon-os-image:before,\n.pf-icon-orders:before,\n.pf-icon-optimize:before,\n.pf-icon-openstack:before,\n.pf-icon-openshift:before,\n.pf-icon-on:before,\n.pf-icon-on-running:before,\n.pf-icon-ok:before,\n.pf-icon-off:before,\n.pf-icon-not-started:before,\n.pf-icon-new-process:before,\n.pf-icon-network:before,\n.pf-icon-namespaces:before,\n.pf-icon-monitoring:before,\n.pf-icon-module:before,\n.pf-icon-migration:before,\n.pf-icon-middleware:before,\n.pf-icon-messages:before,\n.pf-icon-memory:before,\n.pf-icon-maintenance:before,\n.pf-icon-locked:before,\n.pf-icon-key:before,\n.pf-icon-integration:before,\n.pf-icon-infrastructure:before,\n.pf-icon-info:before,\n.pf-icon-in-progress:before,\n.pf-icon-import:before,\n.pf-icon-home:before,\n.pf-icon-history:before,\n.pf-icon-help:before,\n.pf-icon-globe-route:before,\n.pf-icon-folder-open:before,\n.pf-icon-folder-close:before,\n.pf-icon-flavor:before,\n.pf-icon-filter:before,\n.pf-icon-export:before,\n.pf-icon-error-circle-o:before,\n.pf-icon-equalizer:before,\n.pf-icon-enterprise:before,\n.pf-icon-enhancement:before,\n.pf-icon-edit:before,\n.pf-icon-domain:before,\n.pf-icon-disconnected:before,\n.pf-icon-degraded:before,\n.pf-icon-cpu:before,\n.pf-icon-container-node:before,\n.pf-icon-connected:before,\n.pf-icon-cluster:before,\n.pf-icon-cloud-tenant:before,\n.pf-icon-cloud-security:before,\n.pf-icon-close:before,\n.pf-icon-chat:before,\n.pf-icon-catalog:before,\n.pf-icon-bundle:before,\n.pf-icon-builder-image:before,\n.pf-icon-build:before,\n.pf-icon-blueprint:before,\n.pf-icon-bell:before,\n.pf-icon-automation:before,\n.pf-icon-attention-bell:before,\n.pf-icon-asleep:before,\n.pf-icon-arrow:before,\n.pf-icon-applications:before,\n.pf-icon-ansible-tower:before,\n.pf-icon-add-circle-o:before {\n font-family: "pficon";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n text-decoration: none;\n text-transform: none;\n}\n\n.pf-icon-add-circle-o:before {\n content: "\\e61b";\n}\n\n.pf-icon-ansible-tower:before {\n content: "\\e950";\n}\n\n.pf-icon-applications:before {\n content: "\\e936";\n}\n\n.pf-icon-arrow:before {\n content: "\\e929";\n}\n\n.pf-icon-asleep:before {\n content: "\\e92e";\n}\n\n.pf-icon-attention-bell:before {\n content: "\\e951";\n}\n\n.pf-icon-automation:before {\n content: "\\e937";\n}\n\n.pf-icon-bell:before {\n content: "\\e952";\n}\n\n.pf-icon-blueprint:before {\n content: "\\e915";\n}\n\n.pf-icon-build:before {\n content: "\\e902";\n}\n\n.pf-icon-builder-image:before {\n content: "\\e800";\n}\n\n.pf-icon-bundle:before {\n content: "\\e918";\n}\n\n.pf-icon-catalog:before {\n content: "\\e953";\n}\n\n.pf-icon-chat:before {\n content: "\\e954";\n}\n\n.pf-icon-close:before {\n content: "\\e60b";\n}\n\n.pf-icon-cloud-security:before {\n content: "\\e903";\n}\n\n.pf-icon-cloud-tenant:before {\n content: "\\e904";\n}\n\n.pf-icon-cluster:before {\n content: "\\e620";\n}\n\n.pf-icon-connected:before {\n content: "\\e938";\n}\n\n.pf-icon-container-node:before {\n content: "\\e621";\n}\n\n.pf-icon-cpu:before {\n content: "\\e927";\n}\n\n.pf-icon-degraded:before {\n content: "\\e91b";\n}\n\n.pf-icon-disconnected:before {\n content: "\\e955";\n}\n\n.pf-icon-domain:before {\n content: "\\e919";\n}\n\n.pf-icon-edit:before {\n content: "\\e60a";\n}\n\n.pf-icon-enhancement:before {\n content: "\\e93a";\n}\n\n.pf-icon-enterprise:before {\n content: "\\e906";\n}\n\n.pf-icon-equalizer:before {\n content: "\\e956";\n}\n\n.pf-icon-error-circle-o:before {\n content: "\\e926";\n}\n\n.pf-icon-export:before {\n content: "\\e616";\n}\n\n.pf-icon-filter:before {\n content: "\\e943";\n}\n\n.pf-icon-flavor:before {\n content: "\\e957";\n}\n\n.pf-icon-folder-close:before {\n content: "\\e607";\n}\n\n.pf-icon-folder-open:before {\n content: "\\e606";\n}\n\n.pf-icon-globe-route:before {\n content: "\\e958";\n}\n\n.pf-icon-help:before {\n content: "\\e605";\n}\n\n.pf-icon-history:before {\n content: "\\e617";\n}\n\n.pf-icon-home:before {\n content: "\\e618";\n}\n\n.pf-icon-import:before {\n content: "\\e615";\n}\n\n.pf-icon-in-progress:before {\n content: "\\e933";\n}\n\n.pf-icon-info:before {\n content: "\\e92b";\n}\n\n.pf-icon-infrastructure:before {\n content: "\\e93d";\n}\n\n.pf-icon-integration:before {\n content: "\\e948";\n}\n\n.pf-icon-key:before {\n content: "\\e924";\n}\n\n.pf-icon-locked:before {\n content: "\\e923";\n}\n\n.pf-icon-maintenance:before {\n content: "\\e932";\n}\n\n.pf-icon-memory:before {\n content: "\\e908";\n}\n\n.pf-icon-messages:before {\n content: "\\e603";\n}\n\n.pf-icon-middleware:before {\n content: "\\e917";\n}\n\n.pf-icon-migration:before {\n content: "\\e931";\n}\n\n.pf-icon-module:before {\n content: "\\e959";\n}\n\n.pf-icon-monitoring:before {\n content: "\\e95a";\n}\n\n.pf-icon-namespaces:before {\n content: "\\e95b";\n}\n\n.pf-icon-network:before {\n content: "\\e909";\n}\n\n.pf-icon-new-process:before {\n content: "\\e95c";\n}\n\n.pf-icon-not-started:before {\n content: "\\e95d";\n}\n\n.pf-icon-off:before {\n content: "\\e92d";\n}\n\n.pf-icon-ok:before {\n content: "\\e602";\n}\n\n.pf-icon-on-running:before {\n content: "\\e925";\n}\n\n.pf-icon-on:before {\n content: "\\e92c";\n}\n\n.pf-icon-openshift:before {\n content: "\\e95e";\n}\n\n.pf-icon-openstack:before {\n content: "\\e95f";\n}\n\n.pf-icon-optimize:before {\n content: "\\e93e";\n}\n\n.pf-icon-orders:before {\n content: "\\e93f";\n}\n\n.pf-icon-os-image:before {\n content: "\\e960";\n}\n\n.pf-icon-package:before {\n content: "\\e961";\n}\n\n.pf-icon-panel-close:before {\n content: "\\e962";\n}\n\n.pf-icon-panel-open:before {\n content: "\\e963";\n}\n\n.pf-icon-paused:before {\n content: "\\e92f";\n}\n\n.pf-icon-pending:before {\n content: "\\e964";\n}\n\n.pf-icon-pficon-dragdrop:before {\n content: "\\e965";\n}\n\n.pf-icon-pficon-history:before {\n content: "\\e966";\n}\n\n.pf-icon-pficon-network-range:before {\n content: "\\e967";\n}\n\n.pf-icon-pficon-satellite:before {\n content: "\\e968";\n}\n\n.pf-icon-pficon-sort-common-asc:before {\n content: "\\e94e";\n}\n\n.pf-icon-pficon-sort-common-desc:before {\n content: "\\e94f";\n}\n\n.pf-icon-pficon-template:before {\n content: "\\e94c";\n}\n\n.pf-icon-pficon-vcenter:before {\n content: "\\e969";\n}\n\n.pf-icon-plugged:before {\n content: "\\e96a";\n}\n\n.pf-icon-port:before {\n content: "\\e96b";\n}\n\n.pf-icon-print:before {\n content: "\\e612";\n}\n\n.pf-icon-private:before {\n content: "\\e914";\n}\n\n.pf-icon-process-automation:before {\n content: "\\e949";\n}\n\n.pf-icon-project:before {\n content: "\\e96c";\n}\n\n.pf-icon-rebalance:before {\n content: "\\e91c";\n}\n\n.pf-icon-rebooting:before {\n content: "\\e96d";\n}\n\n.pf-icon-regions:before {\n content: "\\e90a";\n}\n\n.pf-icon-registry:before {\n content: "\\e623";\n}\n\n.pf-icon-remove2:before {\n content: "\\e96e";\n}\n\n.pf-icon-replicator:before {\n content: "\\e624";\n}\n\n.pf-icon-repository:before {\n content: "\\e90b";\n}\n\n.pf-icon-resource-pool:before {\n content: "\\e90c";\n}\n\n.pf-icon-resources-almost-empty:before {\n content: "\\e91d";\n}\n\n.pf-icon-resources-almost-full:before {\n content: "\\e912";\n}\n\n.pf-icon-resources-empty:before {\n content: "\\e96f";\n}\n\n.pf-icon-resources-full:before {\n content: "\\e913";\n}\n\n.pf-icon-running:before {\n content: "\\e970";\n}\n\n.pf-icon-save:before {\n content: "\\e601";\n}\n\n.pf-icon-screen:before {\n content: "\\e971";\n}\n\n.pf-icon-security:before {\n content: "\\e946";\n}\n\n.pf-icon-server-group:before {\n content: "\\e91a";\n}\n\n.pf-icon-server:before {\n content: "\\e90d";\n}\n\n.pf-icon-service-catalog:before {\n content: "\\e972";\n}\n\n.pf-icon-service:before {\n content: "\\e61e";\n}\n\n.pf-icon-services:before {\n content: "\\e947";\n}\n\n.pf-icon-spinner:before {\n content: "\\e973";\n}\n\n.pf-icon-spinner2:before {\n content: "\\e613";\n}\n\n.pf-icon-storage-domain:before {\n content: "\\e90e";\n}\n\n.pf-icon-task:before {\n content: "\\e974";\n}\n\n.pf-icon-tenant:before {\n content: "\\e916";\n}\n\n.pf-icon-thumb-tack:before {\n content: "\\e920";\n}\n\n.pf-icon-topology:before {\n content: "\\e608";\n}\n\n.pf-icon-trend-down:before {\n content: "\\e900";\n}\n\n.pf-icon-trend-up:before {\n content: "\\e901";\n}\n\n.pf-icon-unknown:before {\n content: "\\e935";\n}\n\n.pf-icon-unlocked:before {\n content: "\\e922";\n}\n\n.pf-icon-unplugged:before {\n content: "\\e942";\n}\n\n.pf-icon-user:before {\n content: "\\e91e";\n}\n\n.pf-icon-users:before {\n content: "\\e91f";\n}\n\n.pf-icon-virtual-machine:before {\n content: "\\e90f";\n}\n\n.pf-icon-volume:before {\n content: "\\e910";\n}\n\n.pf-icon-warning-triangle:before {\n content: "\\e975";\n}\n\n.pf-icon-zone:before {\n content: "\\e911";\n}',""]);const ot=re},64447:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-alert {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-alert {\n --pf-c-alert--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-alert--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-alert--GridTemplateColumns: max-content 1fr max-content;\n --pf-c-alert--GridTemplateAreas:\n "icon title action"\n ". description description"\n ". actiongroup actiongroup";\n --pf-c-alert--BorderTopWidth: var(--pf-global--BorderWidth--md);\n --pf-c-alert--BorderTopColor: var(--pf-global--default-color--200);\n --pf-c-alert--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-alert--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-alert--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-alert--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-alert__FontSize: var(--pf-global--FontSize--sm);\n --pf-c-alert__toggle--MarginTop: calc(-1 * var(--pf-global--spacer--form-element) - 0.0625rem);\n --pf-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));\n --pf-c-alert__toggle--MarginLeft: calc(-1 * var(--pf-global--spacer--md));\n --pf-c-alert__toggle-icon--Rotate: 0;\n --pf-c-alert__toggle-icon--Transition: var(--pf-global--Transition);\n --pf-c-alert__icon--Color: var(--pf-global--default-color--200);\n --pf-c-alert__icon--MarginTop: 0.0625rem;\n --pf-c-alert__icon--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-alert__icon--FontSize: var(--pf-global--icon--FontSize--md);\n --pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-alert__title--Color: var(--pf-global--default-color--300);\n --pf-c-alert__title--max-lines: 1;\n --pf-c-alert__action--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-alert__action--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-alert__action--TranslateY: 0.125rem;\n --pf-c-alert__action--MarginRight: calc(var(--pf-global--spacer--sm) * -1);\n --pf-c-alert__description--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-alert__action-group--PaddingTop-base: var(--pf-global--spacer--xs);\n --pf-c-alert__action-group--PaddingTop: var(--pf-c-alert__action-group--PaddingTop-base);\n --pf-c-alert__description--action-group--PaddingTop-base: var(--pf-global--spacer--md);\n --pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop-base);\n --pf-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-global--spacer--lg);\n --pf-c-alert--m-success--BorderTopColor: var(--pf-global--success-color--100);\n --pf-c-alert--m-success__icon--Color: var(--pf-global--success-color--100);\n --pf-c-alert--m-success__title--Color: var(--pf-global--success-color--200);\n --pf-c-alert--m-danger--BorderTopColor: var(--pf-global--danger-color--100);\n --pf-c-alert--m-danger__icon--Color: var(--pf-global--danger-color--100);\n --pf-c-alert--m-danger__title--Color: var(--pf-global--danger-color--200);\n --pf-c-alert--m-warning--BorderTopColor: var(--pf-global--warning-color--100);\n --pf-c-alert--m-warning__icon--Color: var(--pf-global--warning-color--100);\n --pf-c-alert--m-warning__title--Color: var(--pf-global--warning-color--200);\n --pf-c-alert--m-info--BorderTopColor: var(--pf-global--info-color--100);\n --pf-c-alert--m-info__icon--Color: var(--pf-global--info-color--100);\n --pf-c-alert--m-info__title--Color: var(--pf-global--info-color--200);\n --pf-c-alert--m-inline--BoxShadow: none;\n --pf-c-alert--m-inline--BackgroundColor: var(--pf-global--palette--cyan-50);\n --pf-c-alert--m-inline--m-success--BackgroundColor: var(--pf-global--palette--green-50);\n --pf-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-global--palette--red-50);\n --pf-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-global--palette--gold-50);\n --pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--blue-50);\n --pf-c-alert--m-inline--m-plain--BorderTopWidth: 0;\n --pf-c-alert--m-inline--m-plain--BackgroundColor: transparent;\n --pf-c-alert--m-inline--m-plain--PaddingTop: 0;\n --pf-c-alert--m-inline--m-plain--PaddingRight: 0;\n --pf-c-alert--m-inline--m-plain--PaddingBottom: 0;\n --pf-c-alert--m-inline--m-plain--PaddingLeft: 0;\n --pf-c-alert--m-expandable--GridTemplateColumns: auto max-content 1fr max-content;\n --pf-c-alert--m-expandable--GridTemplateAreas:\n "toggle icon title action"\n ". . description description"\n ". . actiongroup actiongroup";\n --pf-c-alert--m-expandable__description--action-group--PaddingTop: var(--pf-c-alert__action-group--PaddingTop-base);\n --pf-c-alert--m-expanded__toggle-icon--Rotate: 90deg;\n --pf-c-alert--m-expanded__description--action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop-base);\n color: var(--pf-global--Color--100);\n position: relative;\n display: grid;\n padding: var(--pf-c-alert--PaddingTop) var(--pf-c-alert--PaddingRight) var(--pf-c-alert--PaddingBottom) var(--pf-c-alert--PaddingLeft);\n font-size: var(--pf-c-alert__FontSize);\n background-color: var(--pf-c-alert--BackgroundColor);\n border-top: var(--pf-c-alert--BorderTopWidth) solid var(--pf-c-alert--BorderTopColor);\n box-shadow: var(--pf-c-alert--BoxShadow);\n grid-template-columns: var(--pf-c-alert--GridTemplateColumns);\n grid-template-areas: var(--pf-c-alert--GridTemplateAreas);\n}\n.pf-c-alert.pf-m-success {\n --pf-c-alert--BorderTopColor: var(--pf-c-alert--m-success--BorderTopColor);\n --pf-c-alert__icon--Color: var(--pf-c-alert--m-success__icon--Color);\n --pf-c-alert__title--Color: var(--pf-c-alert--m-success__title--Color);\n --pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-success--BackgroundColor);\n}\n.pf-c-alert.pf-m-danger {\n --pf-c-alert--BorderTopColor: var(--pf-c-alert--m-danger--BorderTopColor);\n --pf-c-alert__icon--Color: var(--pf-c-alert--m-danger__icon--Color);\n --pf-c-alert__title--Color: var(--pf-c-alert--m-danger__title--Color);\n --pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-danger--BackgroundColor);\n}\n.pf-c-alert.pf-m-warning {\n --pf-c-alert--BorderTopColor: var(--pf-c-alert--m-warning--BorderTopColor);\n --pf-c-alert__icon--Color: var(--pf-c-alert--m-warning__icon--Color);\n --pf-c-alert__title--Color: var(--pf-c-alert--m-warning__title--Color);\n --pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-warning--BackgroundColor);\n}\n.pf-c-alert.pf-m-info {\n --pf-c-alert--BorderTopColor: var(--pf-c-alert--m-info--BorderTopColor);\n --pf-c-alert__icon--Color: var(--pf-c-alert--m-info__icon--Color);\n --pf-c-alert__title--Color: var(--pf-c-alert--m-info__title--Color);\n --pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-info--BackgroundColor);\n}\n.pf-c-alert.pf-m-inline {\n --pf-c-alert--BoxShadow: var(--pf-c-alert--m-inline--BoxShadow);\n --pf-c-alert--BackgroundColor: var(--pf-c-alert--m-inline--BackgroundColor);\n}\n.pf-c-alert.pf-m-plain {\n --pf-c-alert--BorderTopWidth: var(--pf-c-alert--m-inline--m-plain--BorderTopWidth);\n --pf-c-alert--BackgroundColor: var(--pf-c-alert--m-inline--m-plain--BackgroundColor);\n --pf-c-alert--PaddingTop: var(--pf-c-alert--m-inline--m-plain--PaddingTop);\n --pf-c-alert--PaddingRight: var(--pf-c-alert--m-inline--m-plain--PaddingRight);\n --pf-c-alert--PaddingBottom: var(--pf-c-alert--m-inline--m-plain--PaddingBottom);\n --pf-c-alert--PaddingLeft: var(--pf-c-alert--m-inline--m-plain--PaddingLeft);\n}\n.pf-c-alert.pf-m-expandable {\n --pf-c-alert--GridTemplateColumns: var(--pf-c-alert--m-expandable--GridTemplateColumns);\n --pf-c-alert--GridTemplateAreas: var(--pf-c-alert--m-expandable--GridTemplateAreas);\n --pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert--m-expandable__description--action-group--PaddingTop);\n}\n.pf-c-alert.pf-m-expanded {\n --pf-c-alert__toggle-icon--Rotate: var(--pf-c-alert--m-expanded__toggle-icon--Rotate);\n --pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert--m-expanded__description--action-group--PaddingTop);\n}\n\n.pf-c-alert__toggle {\n margin-top: var(--pf-c-alert__toggle--MarginTop);\n margin-bottom: var(--pf-c-alert__toggle--MarginBottom);\n margin-left: var(--pf-c-alert__toggle--MarginLeft);\n}\n\n.pf-c-alert__toggle-icon {\n display: inline-block;\n transition: var(--pf-c-alert__toggle-icon--Transition);\n transform: rotate(var(--pf-c-alert__toggle-icon--Rotate));\n}\n\n.pf-c-alert__icon {\n grid-area: icon;\n display: flex;\n margin-top: var(--pf-c-alert__icon--MarginTop);\n margin-right: var(--pf-c-alert__icon--MarginRight);\n font-size: var(--pf-c-alert__icon--FontSize);\n color: var(--pf-c-alert__icon--Color);\n}\n\n.pf-c-alert__title {\n grid-area: title;\n font-weight: var(--pf-c-alert__title--FontWeight);\n color: var(--pf-c-alert__title--Color);\n word-break: break-word;\n}\n.pf-c-alert__title.pf-m-truncate {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--pf-c-alert__title--max-lines);\n overflow: hidden;\n}\n\n.pf-c-alert__description {\n grid-area: description;\n padding-top: var(--pf-c-alert__description--PaddingTop);\n word-break: break-word;\n}\n.pf-c-alert__description + .pf-c-alert__action-group {\n --pf-c-alert__action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop);\n}\n\n.pf-c-alert__action {\n grid-area: action;\n margin-top: var(--pf-c-alert__action--MarginTop);\n margin-right: var(--pf-c-alert__action--MarginRight);\n margin-bottom: var(--pf-c-alert__action--MarginBottom);\n transform: translateY(var(--pf-c-alert__action--TranslateY));\n}\n.pf-c-alert__action > .pf-c-button {\n --pf-c-button--LineHeight: 1;\n}\n\n.pf-c-alert__action-group {\n grid-area: actiongroup;\n padding-top: var(--pf-c-alert__action-group--PaddingTop);\n}\n.pf-c-alert__action-group > .pf-c-button {\n --pf-c-button--m-link--m-inline--hover--TextDecoration: none;\n}\n.pf-c-alert__action-group > .pf-c-button:not(:last-child) {\n margin-right: var(--pf-c-alert__action-group__c-button--not-last-child--MarginRight);\n}\n\n.pf-m-overpass-font .pf-c-alert__title {\n --pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);\n}',""]);const r=o},82195:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-backdrop {\n --pf-c-backdrop--Position: fixed;\n --pf-c-backdrop--ZIndex: var(--pf-global--ZIndex--lg);\n --pf-c-backdrop--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);\n position: var(--pf-c-backdrop--Position);\n top: 0;\n left: 0;\n z-index: var(--pf-c-backdrop--ZIndex);\n width: 100%;\n height: 100%;\n background-color: var(--pf-c-backdrop--BackgroundColor);\n}\n\n.pf-c-backdrop__open {\n overflow: hidden;\n}",""]);const r=o},76566:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-badge {\n --pf-c-badge--BorderRadius: var(--pf-global--BorderRadius--lg);\n --pf-c-badge--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-badge--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-badge--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-badge--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-badge--Color: var(--pf-global--Color--dark-100);\n --pf-c-badge--MinWidth: var(--pf-global--spacer--xl);\n --pf-c-badge--m-read--BackgroundColor: var(--pf-global--BackgroundColor--200);\n --pf-c-badge--m-read--Color: var(--pf-global--Color--dark-100);\n --pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--100);\n --pf-c-badge--m-unread--Color: var(--pf-global--Color--light-100);\n display: inline-block;\n min-width: var(--pf-c-badge--MinWidth);\n padding-right: var(--pf-c-badge--PaddingRight);\n padding-left: var(--pf-c-badge--PaddingLeft);\n font-size: var(--pf-c-badge--FontSize);\n font-weight: var(--pf-c-badge--FontWeight);\n color: var(--pf-c-badge--Color);\n text-align: center;\n background-color: var(--pf-c-badge--BackgroundColor);\n border-radius: var(--pf-c-badge--BorderRadius);\n}\n.pf-c-badge.pf-m-read {\n --pf-c-badge--Color: var(--pf-c-badge--m-read--Color);\n --pf-c-badge--BackgroundColor: var(--pf-c-badge--m-read--BackgroundColor);\n}\n.pf-c-badge.pf-m-unread {\n --pf-c-badge--Color: var(--pf-c-badge--m-unread--Color);\n --pf-c-badge--BackgroundColor: var(--pf-c-badge--m-unread--BackgroundColor);\n}",""]);const r=o},21590:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-button {\n --pf-c-button--PaddingTop: var(--pf-global--spacer--form-element);\n --pf-c-button--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-button--PaddingBottom: var(--pf-global--spacer--form-element);\n --pf-c-button--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-button--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-button--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-button--FontSize: var(--pf-global--FontSize--md);\n --pf-c-button--BackgroundColor: transparent;\n --pf-c-button--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-button--after--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-button--after--BorderColor: transparent;\n --pf-c-button--after--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-button--hover--after--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--focus--after--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--active--after--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--disabled--Color: var(--pf-global--disabled-color--100);\n --pf-c-button--disabled--BackgroundColor: var(--pf-global--disabled-color--200);\n --pf-c-button--disabled--after--BorderColor: transparent;\n --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--100);\n --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--BackgroundColor: transparent;\n --pf-c-button--m-secondary--after--BorderColor: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--hover--BackgroundColor: transparent;\n --pf-c-button--m-secondary--hover--after--BorderColor: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--focus--BackgroundColor: transparent;\n --pf-c-button--m-secondary--focus--after--BorderColor: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--active--BackgroundColor: transparent;\n --pf-c-button--m-secondary--active--after--BorderColor: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);\n --pf-c-button--m-secondary--m-danger--BackgroundColor: transparent;\n --pf-c-button--m-secondary--m-danger--Color: var(--pf-global--danger-color--100);\n --pf-c-button--m-secondary--m-danger--after--BorderColor: var(--pf-global--danger-color--100);\n --pf-c-button--m-secondary--m-danger--hover--BackgroundColor: transparent;\n --pf-c-button--m-secondary--m-danger--hover--Color: var(--pf-global--danger-color--200);\n --pf-c-button--m-secondary--m-danger--hover--after--BorderColor: var(--pf-global--danger-color--100);\n --pf-c-button--m-secondary--m-danger--focus--BackgroundColor: transparent;\n --pf-c-button--m-secondary--m-danger--focus--Color: var(--pf-global--danger-color--200);\n --pf-c-button--m-secondary--m-danger--focus--after--BorderColor: var(--pf-global--danger-color--100);\n --pf-c-button--m-secondary--m-danger--active--BackgroundColor: transparent;\n --pf-c-button--m-secondary--m-danger--active--Color: var(--pf-global--danger-color--200);\n --pf-c-button--m-secondary--m-danger--active--after--BorderColor: var(--pf-global--danger-color--100);\n --pf-c-button--m-tertiary--BackgroundColor: transparent;\n --pf-c-button--m-tertiary--after--BorderColor: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--Color: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--hover--BackgroundColor: transparent;\n --pf-c-button--m-tertiary--hover--after--BorderColor: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--hover--Color: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--focus--BackgroundColor: transparent;\n --pf-c-button--m-tertiary--focus--after--BorderColor: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--focus--Color: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--active--BackgroundColor: transparent;\n --pf-c-button--m-tertiary--active--after--BorderColor: var(--pf-global--Color--100);\n --pf-c-button--m-tertiary--active--Color: var(--pf-global--Color--100);\n --pf-c-button--m-warning--BackgroundColor: var(--pf-global--warning-color--100);\n --pf-c-button--m-warning--Color: var(--pf-global--Color--dark-100);\n --pf-c-button--m-warning--hover--BackgroundColor: var(--pf-global--palette--gold-500);\n --pf-c-button--m-warning--hover--Color: var(--pf-global--Color--dark-100);\n --pf-c-button--m-warning--focus--BackgroundColor: var(--pf-global--palette--gold-500);\n --pf-c-button--m-warning--focus--Color: var(--pf-global--Color--dark-100);\n --pf-c-button--m-warning--active--BackgroundColor: var(--pf-global--palette--gold-500);\n --pf-c-button--m-warning--active--Color: var(--pf-global--Color--dark-100);\n --pf-c-button--m-danger--BackgroundColor: var(--pf-global--danger-color--100);\n --pf-c-button--m-danger--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-danger--hover--BackgroundColor: var(--pf-global--danger-color--200);\n --pf-c-button--m-danger--hover--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-danger--focus--BackgroundColor: var(--pf-global--danger-color--200);\n --pf-c-button--m-danger--focus--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-danger--active--BackgroundColor: var(--pf-global--danger-color--200);\n --pf-c-button--m-danger--active--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-link--BackgroundColor: transparent;\n --pf-c-button--m-link--Color: var(--pf-global--link--Color);\n --pf-c-button--m-link--hover--BackgroundColor: transparent;\n --pf-c-button--m-link--hover--Color: var(--pf-global--link--Color--hover);\n --pf-c-button--m-link--focus--BackgroundColor: transparent;\n --pf-c-button--m-link--focus--Color: var(--pf-global--link--Color--hover);\n --pf-c-button--m-link--active--BackgroundColor: transparent;\n --pf-c-button--m-link--active--Color: var(--pf-global--link--Color--hover);\n --pf-c-button--m-link--disabled--BackgroundColor: transparent;\n --pf-c-button--m-link--m-inline--FontSize: inherit;\n --pf-c-button--m-link--m-inline--hover--TextDecoration: var(--pf-global--link--TextDecoration--hover);\n --pf-c-button--m-link--m-inline--hover--Color: var(--pf-global--link--Color--hover);\n --pf-c-button--m-link--m-danger--BackgroundColor: transparent;\n --pf-c-button--m-link--m-danger--Color: var(--pf-global--danger-color--100);\n --pf-c-button--m-link--m-danger--hover--BackgroundColor: transparent;\n --pf-c-button--m-link--m-danger--hover--Color: var(--pf-global--danger-color--200);\n --pf-c-button--m-link--m-danger--focus--BackgroundColor: transparent;\n --pf-c-button--m-link--m-danger--focus--Color: var(--pf-global--danger-color--200);\n --pf-c-button--m-link--m-danger--active--BackgroundColor: transparent;\n --pf-c-button--m-link--m-danger--active--Color: var(--pf-global--danger-color--200);\n --pf-c-button--m-plain--BackgroundColor: transparent;\n --pf-c-button--m-plain--Color: var(--pf-global--Color--200);\n --pf-c-button--m-plain--hover--BackgroundColor: transparent;\n --pf-c-button--m-plain--hover--Color: var(--pf-global--Color--100);\n --pf-c-button--m-plain--focus--BackgroundColor: transparent;\n --pf-c-button--m-plain--focus--Color: var(--pf-global--Color--100);\n --pf-c-button--m-plain--active--BackgroundColor: transparent;\n --pf-c-button--m-plain--active--Color: var(--pf-global--Color--100);\n --pf-c-button--m-plain--disabled--Color: var(--pf-global--disabled-color--200);\n --pf-c-button--m-plain--disabled--BackgroundColor: transparent;\n --pf-c-button--m-control--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-button--m-control--Color: var(--pf-global--Color--100);\n --pf-c-button--m-control--BorderRadius: 0;\n --pf-c-button--m-control--after--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-button--m-control--after--BorderTopColor: var(--pf-global--BorderColor--300);\n --pf-c-button--m-control--after--BorderRightColor: var(--pf-global--BorderColor--300);\n --pf-c-button--m-control--after--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-button--m-control--after--BorderLeftColor: var(--pf-global--BorderColor--300);\n --pf-c-button--m-control--disabled--BackgroundColor: var(--pf-global--disabled-color--300);\n --pf-c-button--m-control--hover--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-button--m-control--hover--Color: var(--pf-global--Color--100);\n --pf-c-button--m-control--hover--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--m-control--hover--after--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-button--m-control--active--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-button--m-control--active--Color: var(--pf-global--Color--100);\n --pf-c-button--m-control--active--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--m-control--active--after--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-button--m-control--focus--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-button--m-control--focus--Color: var(--pf-global--Color--100);\n --pf-c-button--m-control--focus--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--m-control--focus--after--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-button--m-control--m-expanded--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-button--m-control--m-expanded--Color: var(--pf-global--Color--100);\n --pf-c-button--m-control--m-expanded--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-button--m-control--m-expanded--after--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-button--m-small--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-button--m-display-lg--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-button--m-display-lg--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-button--m-display-lg--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-button--m-display-lg--PaddingLeft: var(--pf-global--spacer--xl);\n --pf-c-button--m-display-lg--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-button--m-link--m-display-lg--FontSize: var(--pf-global--FontSize--lg);\n --pf-c-button__icon--m-start--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-button__icon--m-end--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-button__progress--width: calc(var(--pf-global--icon--FontSize--md) + var(--pf-global--spacer--sm));\n --pf-c-button__progress--Opacity: 0;\n --pf-c-button__progress--TranslateY: -50%;\n --pf-c-button__progress--Top: 50%;\n --pf-c-button__progress--Left: var(--pf-global--spacer--md);\n --pf-c-button--m-progress--TransitionProperty: padding;\n --pf-c-button--m-progress--TransitionDuration: var(--pf-global--TransitionDuration);\n --pf-c-button--m-progress--PaddingRight: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width) / 2);\n --pf-c-button--m-progress--PaddingLeft: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width) / 2);\n --pf-c-button--m-in-progress--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-button--m-in-progress--PaddingLeft: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width));\n position: relative;\n display: inline-block;\n padding: var(--pf-c-button--PaddingTop) var(--pf-c-button--PaddingRight) var(--pf-c-button--PaddingBottom) var(--pf-c-button--PaddingLeft);\n font-size: var(--pf-c-button--FontSize);\n font-weight: var(--pf-c-button--FontWeight);\n line-height: var(--pf-c-button--LineHeight);\n text-align: center;\n white-space: nowrap;\n user-select: none;\n border: 0;\n border-radius: var(--pf-c-button--BorderRadius);\n}\n.pf-c-button::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n content: "";\n border: var(--pf-c-button--after--BorderWidth) solid;\n border-color: var(--pf-c-button--after--BorderColor);\n border-radius: var(--pf-c-button--after--BorderRadius);\n}\n.pf-c-button:hover {\n --pf-c-button--after--BorderWidth: var(--pf-c-button--hover--after--BorderWidth);\n text-decoration: none;\n}\n.pf-c-button:focus {\n --pf-c-button--after--BorderWidth: var(--pf-c-button--focus--after--BorderWidth);\n}\n.pf-c-button:active, .pf-c-button.pf-m-active {\n --pf-c-button--after--BorderWidth: var(--pf-c-button--active--after--BorderWidth);\n}\n.pf-c-button.pf-m-block {\n display: block;\n width: 100%;\n}\n.pf-c-button.pf-m-small {\n --pf-c-button--FontSize: var(--pf-c-button--m-small--FontSize);\n}\n.pf-c-button.pf-m-primary.pf-m-display-lg, .pf-c-button.pf-m-secondary.pf-m-display-lg, .pf-c-button.pf-m-tertiary.pf-m-display-lg, .pf-c-button.pf-m-link.pf-m-display-lg {\n --pf-c-button--PaddingTop: var(--pf-c-button--m-display-lg--PaddingTop);\n --pf-c-button--PaddingRight: var(--pf-c-button--m-display-lg--PaddingRight);\n --pf-c-button--PaddingBottom: var(--pf-c-button--m-display-lg--PaddingBottom);\n --pf-c-button--PaddingLeft: var(--pf-c-button--m-display-lg--PaddingLeft);\n --pf-c-button--FontWeight: var(--pf-c-button--m-display-lg--FontWeight);\n}\n.pf-c-button.pf-m-primary {\n color: var(--pf-c-button--m-primary--Color);\n background-color: var(--pf-c-button--m-primary--BackgroundColor);\n}\n.pf-c-button.pf-m-primary:hover {\n --pf-c-button--m-primary--Color: var(--pf-c-button--m-primary--hover--Color);\n --pf-c-button--m-primary--BackgroundColor: var(--pf-c-button--m-primary--hover--BackgroundColor);\n}\n.pf-c-button.pf-m-primary:focus {\n --pf-c-button--m-primary--Color: var(--pf-c-button--m-primary--focus--Color);\n --pf-c-button--m-primary--BackgroundColor: var(--pf-c-button--m-primary--focus--BackgroundColor);\n}\n.pf-c-button.pf-m-primary:active, .pf-c-button.pf-m-primary.pf-m-active {\n --pf-c-button--m-primary--Color: var(--pf-c-button--m-primary--active--Color);\n --pf-c-button--m-primary--BackgroundColor: var(--pf-c-button--m-primary--active--BackgroundColor);\n}\n.pf-c-button.pf-m-secondary {\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--after--BorderColor);\n color: var(--pf-c-button--m-secondary--Color);\n background-color: var(--pf-c-button--m-secondary--BackgroundColor);\n}\n.pf-c-button.pf-m-secondary:hover {\n --pf-c-button--m-secondary--Color: var(--pf-c-button--m-secondary--hover--Color);\n --pf-c-button--m-secondary--BackgroundColor: var(--pf-c-button--m-secondary--hover--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--hover--after--BorderColor);\n}\n.pf-c-button.pf-m-secondary:focus {\n --pf-c-button--m-secondary--Color: var(--pf-c-button--m-secondary--focus--Color);\n --pf-c-button--m-secondary--BackgroundColor: var(--pf-c-button--m-secondary--focus--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--focus--after--BorderColor);\n}\n.pf-c-button.pf-m-secondary.pf-m-active, .pf-c-button.pf-m-secondary:active {\n --pf-c-button--m-secondary--Color: var(--pf-c-button--m-secondary--active--Color);\n --pf-c-button--m-secondary--BackgroundColor: var(--pf-c-button--m-secondary--active--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--active--after--BorderColor);\n}\n.pf-c-button.pf-m-tertiary {\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-tertiary--after--BorderColor);\n color: var(--pf-c-button--m-tertiary--Color);\n background-color: var(--pf-c-button--m-tertiary--BackgroundColor);\n}\n.pf-c-button.pf-m-tertiary:hover {\n --pf-c-button--m-tertiary--Color: var(--pf-c-button--m-tertiary--hover--Color);\n --pf-c-button--m-tertiary--BackgroundColor: var(--pf-c-button--m-tertiary--hover--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-tertiary--hover--after--BorderColor);\n}\n.pf-c-button.pf-m-tertiary:focus {\n --pf-c-button--m-tertiary--Color: var(--pf-c-button--m-tertiary--focus--Color);\n --pf-c-button--m-tertiary--BackgroundColor: var(--pf-c-button--m-tertiary--focus--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-tertiary--focus--after--BorderColor);\n}\n.pf-c-button.pf-m-tertiary:active, .pf-c-button.pf-m-tertiary.pf-m-active {\n --pf-c-button--m-tertiary--Color: var(--pf-c-button--m-tertiary--active--Color);\n --pf-c-button--m-tertiary--BackgroundColor: var(--pf-c-button--m-tertiary--active--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-tertiary--active--after--BorderColor);\n}\n.pf-c-button.pf-m-link {\n --pf-c-button--disabled--BackgroundColor: var(--pf-c-button--m-link--disabled--BackgroundColor);\n color: var(--pf-c-button--m-link--Color);\n background-color: var(--pf-c-button--m-link--BackgroundColor);\n}\n.pf-c-button.pf-m-link:not(.pf-m-inline):hover {\n --pf-c-button--m-link--Color: var(--pf-c-button--m-link--hover--Color);\n --pf-c-button--m-link--BackgroundColor: var(--pf-c-button--m-link--hover--BackgroundColor);\n}\n.pf-c-button.pf-m-link:not(.pf-m-inline):focus {\n --pf-c-button--m-link--Color: var(--pf-c-button--m-link--focus--Color);\n --pf-c-button--m-link--BackgroundColor: var(--pf-c-button--m-link--focus--BackgroundColor);\n}\n.pf-c-button.pf-m-link:not(.pf-m-inline):active, .pf-c-button.pf-m-link:not(.pf-m-inline).pf-m-active {\n --pf-c-button--m-link--Color: var(--pf-c-button--m-link--active--Color);\n --pf-c-button--m-link--BackgroundColor: var(--pf-c-button--m-link--active--BackgroundColor);\n}\n.pf-c-button.pf-m-link.pf-m-inline {\n --pf-c-button--FontSize: var(--pf-c-button--m-link--m-inline--FontSize);\n display: inline;\n padding: 0;\n text-align: left;\n white-space: normal;\n cursor: pointer;\n}\n.pf-c-button.pf-m-link.pf-m-inline:hover {\n --pf-c-button--m-link--Color: var(--pf-c-button--m-link--m-inline--hover--Color);\n text-decoration: var(--pf-c-button--m-link--m-inline--hover--TextDecoration);\n}\n.pf-c-button.pf-m-link.pf-m-display-lg {\n --pf-c-button--FontSize: var(--pf-c-button--m-link--m-display-lg--FontSize);\n}\n.pf-c-button.pf-m-danger {\n color: var(--pf-c-button--m-danger--Color);\n background-color: var(--pf-c-button--m-danger--BackgroundColor);\n}\n.pf-c-button.pf-m-danger:hover {\n --pf-c-button--m-danger--Color: var(--pf-c-button--m-danger--hover--Color);\n --pf-c-button--m-danger--BackgroundColor: var(--pf-c-button--m-danger--hover--BackgroundColor);\n}\n.pf-c-button.pf-m-danger:focus {\n --pf-c-button--m-danger--Color: var(--pf-c-button--m-danger--focus--Color);\n --pf-c-button--m-danger--BackgroundColor: var(--pf-c-button--m-danger--focus--BackgroundColor);\n}\n.pf-c-button.pf-m-danger:active, .pf-c-button.pf-m-danger.pf-m-active {\n --pf-c-button--m-danger--Color: var(--pf-c-button--m-danger--active--Color);\n --pf-c-button--m-danger--BackgroundColor: var(--pf-c-button--m-danger--active--BackgroundColor);\n}\n.pf-c-button.pf-m-danger.pf-m-secondary {\n --pf-c-button--m-danger--Color: var(--pf-c-button--m-secondary--m-danger--Color);\n --pf-c-button--m-danger--BackgroundColor: var(--pf-c-button--m-secondary--m-danger--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--m-danger--after--BorderColor);\n}\n.pf-c-button.pf-m-danger.pf-m-secondary:hover {\n --pf-c-button--m-secondary--m-danger--Color: var(--pf-c-button--m-secondary--m-danger--hover--Color);\n --pf-c-button--m-secondary--m-danger--BackgroundColor: var(--pf-c-button--m-secondary--m-danger--hover--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--m-danger--hover--after--BorderColor);\n}\n.pf-c-button.pf-m-danger.pf-m-secondary:focus {\n --pf-c-button--m-secondary--m-danger--Color: var(--pf-c-button--m-secondary--m-danger--focus--Color);\n --pf-c-button--m-secondary--m-danger--BackgroundColor: var(--pf-c-button--m-secondary--m-danger--focus--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--m-danger--focus--after--BorderColor);\n}\n.pf-c-button.pf-m-danger.pf-m-secondary:active, .pf-c-button.pf-m-danger.pf-m-secondary.pf-m-active {\n --pf-c-button--m-secondary--m-danger--Color: var(--pf-c-button--m-secondary--m-danger--active--Color);\n --pf-c-button--m-secondary--m-danger--BackgroundColor: var(--pf-c-button--m-secondary--m-danger--active--BackgroundColor);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--m-danger--active--after--BorderColor);\n}\n.pf-c-button.pf-m-danger.pf-m-link {\n --pf-c-button--m-danger--Color: var(--pf-c-button--m-link--m-danger--Color);\n --pf-c-button--m-danger--BackgroundColor: var(--pf-c-button--m-link--m-danger--BackgroundColor);\n}\n.pf-c-button.pf-m-danger.pf-m-link:hover {\n --pf-c-button--m-link--m-danger--Color: var(--pf-c-button--m-link--m-danger--hover--Color);\n --pf-c-button--m-link--m-danger--BackgroundColor: var(--pf-c-button--m-link--m-danger--hover--BackgroundColor);\n}\n.pf-c-button.pf-m-danger.pf-m-link:focus {\n --pf-c-button--m-link--m-danger--Color: var(--pf-c-button--m-link--m-danger--focus--Color);\n --pf-c-button--m-link--m-danger--BackgroundColor: var(--pf-c-button--m-link--m-danger--focus--BackgroundColor);\n}\n.pf-c-button.pf-m-danger.pf-m-link:active, .pf-c-button.pf-m-danger.pf-m-link.pf-m-active {\n --pf-c-button--m-link--m-danger--Color: var(--pf-c-button--m-link--m-danger--active--Color);\n --pf-c-button--m-link--m-danger--BackgroundColor: var(--pf-c-button--m-link--m-danger--active--BackgroundColor);\n}\n.pf-c-button.pf-m-warning {\n color: var(--pf-c-button--m-warning--Color);\n background-color: var(--pf-c-button--m-warning--BackgroundColor);\n}\n.pf-c-button.pf-m-warning:hover {\n --pf-c-button--m-warning--Color: var(--pf-c-button--m-warning--hover--Color);\n --pf-c-button--m-warning--BackgroundColor: var(--pf-c-button--m-warning--hover--BackgroundColor);\n}\n.pf-c-button.pf-m-warning:focus {\n --pf-c-button--m-warning--Color: var(--pf-c-button--m-warning--focus--Color);\n --pf-c-button--m-warning--BackgroundColor: var(--pf-c-button--m-warning--focus--BackgroundColor);\n}\n.pf-c-button.pf-m-warning:active, .pf-c-button.pf-m-warning.pf-m-active {\n --pf-c-button--m-warning--Color: var(--pf-c-button--m-warning--active--Color);\n --pf-c-button--m-warning--BackgroundColor: var(--pf-c-button--m-warning--active--BackgroundColor);\n}\n.pf-c-button.pf-m-control {\n --pf-c-button--BorderRadius: var(--pf-c-button--m-control--BorderRadius);\n --pf-c-button--disabled--BackgroundColor: var(--pf-c-button--m-control--disabled--BackgroundColor);\n --pf-c-button--after--BorderWidth: var(--pf-c-button--m-control--after--BorderWidth);\n --pf-c-button--after--BorderColor: var(--pf-c-button--m-control--after--BorderTopColor) var(--pf-c-button--m-control--after--BorderRightColor) var(--pf-c-button--m-control--after--BorderBottomColor) var(--pf-c-button--m-control--after--BorderLeftColor);\n color: var(--pf-c-button--m-control--Color);\n background-color: var(--pf-c-button--m-control--BackgroundColor);\n}\n.pf-c-button.pf-m-control::after {\n border-radius: initial;\n}\n.pf-c-button.pf-m-control:hover {\n --pf-c-button--m-control--Color: var(--pf-c-button--m-control--hover--Color);\n --pf-c-button--m-control--BackgroundColor: var(--pf-c-button--m-control--hover--BackgroundColor);\n --pf-c-button--m-control--after--BorderBottomColor: var(--pf-c-button--m-control--hover--after--BorderBottomColor);\n}\n.pf-c-button.pf-m-control:hover::after {\n border-bottom-width: var(--pf-c-button--m-control--hover--after--BorderBottomWidth);\n}\n.pf-c-button.pf-m-control:active, .pf-c-button.pf-m-control.pf-m-active {\n --pf-c-button--m-control--Color: var(--pf-c-button--m-control--active--Color);\n --pf-c-button--m-control--BackgroundColor: var(--pf-c-button--m-control--active--BackgroundColor);\n --pf-c-button--m-control--after--BorderBottomColor: var(--pf-c-button--m-control--active--after--BorderBottomColor);\n}\n.pf-c-button.pf-m-control:active::after, .pf-c-button.pf-m-control.pf-m-active::after {\n border-bottom-width: var(--pf-c-button--m-control--active--after--BorderBottomWidth);\n}\n.pf-c-button.pf-m-control:focus {\n --pf-c-button--m-control--Color: var(--pf-c-button--m-control--focus--Color);\n --pf-c-button--m-control--BackgroundColor: var(--pf-c-button--m-control--focus--BackgroundColor);\n --pf-c-button--m-control--after--BorderBottomColor: var(--pf-c-button--m-control--focus--after--BorderBottomColor);\n}\n.pf-c-button.pf-m-control:focus::after {\n border-bottom-width: var(--pf-c-button--m-control--focus--after--BorderBottomWidth);\n}\n.pf-c-button.pf-m-control.pf-m-expanded {\n --pf-c-button--m-control--Color: var(--pf-c-button--m-control--m-expanded--Color);\n --pf-c-button--m-control--BackgroundColor: var(--pf-c-button--m-control--m-expanded--BackgroundColor);\n --pf-c-button--m-control--after--BorderBottomColor: var(--pf-c-button--m-control--m-expanded--after--BorderBottomColor);\n}\n.pf-c-button.pf-m-control.pf-m-expanded::after {\n border-bottom-width: var(--pf-c-button--m-control--m-expanded--after--BorderBottomWidth);\n}\n.pf-c-button.pf-m-plain {\n --pf-c-button--disabled--Color: var(--pf-c-button--m-plain--disabled--Color);\n --pf-c-button--disabled--BackgroundColor: var(--pf-c-button--m-plain--disabled--BackgroundColor);\n color: var(--pf-c-button--m-plain--Color);\n background-color: var(--pf-c-button--m-plain--BackgroundColor);\n}\n.pf-c-button.pf-m-plain:hover {\n --pf-c-button--m-plain--Color: var(--pf-c-button--m-plain--hover--Color);\n --pf-c-button--m-plain--BackgroundColor: var(--pf-c-button--m-plain--hover--BackgroundColor);\n}\n.pf-c-button.pf-m-plain:active, .pf-c-button.pf-m-plain.pf-m-active {\n --pf-c-button--m-plain--Color: var(--pf-c-button--m-plain--active--Color);\n --pf-c-button--m-plain--BackgroundColor: var(--pf-c-button--m-plain--active--BackgroundColor);\n}\n.pf-c-button.pf-m-plain:focus {\n --pf-c-button--m-plain--Color: var(--pf-c-button--m-plain--focus--Color);\n --pf-c-button--m-plain--BackgroundColor: var(--pf-c-button--m-plain--focus--BackgroundColor);\n}\n.pf-c-button:disabled, .pf-c-button.pf-m-disabled {\n pointer-events: none;\n}\n.pf-c-button:disabled, .pf-c-button.pf-m-disabled, .pf-c-button.pf-m-aria-disabled {\n color: var(--pf-c-button--disabled--Color);\n background-color: var(--pf-c-button--disabled--BackgroundColor);\n}\n.pf-c-button:disabled::after, .pf-c-button.pf-m-disabled::after, .pf-c-button.pf-m-aria-disabled::after {\n border-color: var(--pf-c-button--disabled--after--BorderColor);\n}\n.pf-c-button.pf-m-aria-disabled {\n --pf-c-button--after--BorderWidth: 0;\n --pf-c-button--m-link--m-inline--hover--TextDecoration: none;\n cursor: default;\n}\n.pf-c-button.pf-m-progress {\n --pf-c-button--PaddingRight: var(--pf-c-button--m-progress--PaddingRight);\n --pf-c-button--PaddingLeft: var(--pf-c-button--m-progress--PaddingLeft);\n transition: var(--pf-c-button--m-progress--TransitionProperty) var(--pf-c-button--m-progress--TransitionDuration);\n}\n.pf-c-button.pf-m-in-progress {\n --pf-c-button--PaddingRight: var(--pf-c-button--m-in-progress--PaddingRight);\n --pf-c-button--PaddingLeft: var(--pf-c-button--m-in-progress--PaddingLeft);\n}\n\n.pf-c-button__icon.pf-m-start {\n margin-right: var(--pf-c-button__icon--m-start--MarginRight);\n}\n.pf-c-button__icon.pf-m-end {\n margin-left: var(--pf-c-button__icon--m-end--MarginLeft);\n}\n\n.pf-c-button__progress {\n position: absolute;\n top: var(--pf-c-button__progress--Top);\n left: var(--pf-c-button__progress--Left);\n line-height: 1;\n transform: translateY(var(--pf-c-button__progress--TranslateY));\n}\n.pf-c-button__progress .pf-c-spinner {\n --pf-c-spinner--Color: currentColor;\n}\n\n.pf-m-overpass-font .pf-c-button {\n --pf-c-button--FontWeight: var(--pf-global--FontWeight--semi-bold);\n}',""]);const r=o},66671:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-card {\n --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-card--BoxShadow: var(--pf-global--BoxShadow--sm);\n --pf-c-card--first-child--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-card--child--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-card--child--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-card--child--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-card--c-divider--child--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-card__title--FontSize: var(--pf-global--FontSize--md);\n --pf-c-card__title--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-card__title--not--last-child--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-card__body--FontSize: var(--pf-global--FontSize--md);\n --pf-c-card__footer--FontSize: var(--pf-global--FontSize--md);\n --pf-c-card__actions--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-card__actions--child--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-card__header-toggle--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-card__header-toggle--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-card__header-toggle--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-card__header-toggle--MarginLeft: calc(var(--pf-global--spacer--md) * -1);\n --pf-c-card__header-toggle-icon--Transition: var(--pf-global--Transition);\n --pf-c-card--m-expanded__header-toggle-icon--Rotate: 90deg;\n --pf-c-card--m-hoverable--hover--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-card--m-selectable--hover--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-card--m-selectable--focus--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-card--m-selectable--active--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-card--m-selectable--m-selected--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-card--m-selectable--m-selected--before--Height: var(--pf-global--BorderWidth--lg);\n --pf-c-card--m-selectable--m-selected--before--BackgroundColor: var(--pf-global--active-color--100);\n --pf-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-card--m-hoverable-raised--hover--before--BackgroundColor: var(--pf-global--active-color--400);\n --pf-c-card--m-selectable-raised--before--Right: 0;\n --pf-c-card--m-selectable-raised--before--Bottom: 0;\n --pf-c-card--m-selectable-raised--before--Left: 0;\n --pf-c-card--m-flat--m-selectable-raised--before--Right: calc(-1 * var(--pf-c-card--m-flat--BorderWidth));\n --pf-c-card--m-flat--m-selectable-raised--before--Bottom: calc(-1 * var(--pf-c-card--m-flat--BorderWidth));\n --pf-c-card--m-flat--m-selectable-raised--before--Left: calc(-1 * var(--pf-c-card--m-flat--BorderWidth));\n --pf-c-card--m-selectable-raised--before--Height: var(--pf-global--BorderWidth--xl);\n --pf-c-card--m-selectable-raised--before--BackgroundColor: transparent;\n --pf-c-card--m-selectable-raised--before--Transition: none;\n --pf-c-card--m-selectable-raised--before--ScaleY: 1;\n --pf-c-card--m-selectable-raised--before--TranslateY: 0;\n --pf-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-card--m-selectable-raised--hover--before--BackgroundColor: var(--pf-global--active-color--400);\n --pf-c-card--m-selectable-raised--focus--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-card--m-selectable-raised--focus--before--BackgroundColor: var(--pf-global--active-color--400);\n --pf-c-card--m-selectable-raised--active--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-card--m-selectable-raised--active--before--BackgroundColor: var(--pf-global--active-color--400);\n --pf-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor: var(--pf-global--active-color--100);\n --pf-c-card--m-selectable-raised--m-selected-raised--BoxShadow: var(--pf-global--BoxShadow--lg);\n --pf-c-card--m-selectable-raised--m-selected-raised--TranslateY--base: -0.5rem;\n --pf-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY--base);\n --pf-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY: calc(var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY--base) + var(--pf-c-card--m-flat--BorderWidth));\n --pf-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY: calc(var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY--base) + var(--pf-c-card--m-rounded--BorderRadius));\n --pf-c-card--m-selectable-raised--m-selected-raised--Transition: transform .25s linear, box-shadow .25s linear;\n --pf-c-card--m-selectable-raised--m-selected-raised--before--Transition: transform .25s linear;\n --pf-c-card--m-selectable-raised--m-selected-raised--before--TranslateY: calc(var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY) * -1);\n --pf-c-card--m-selectable-raised--m-selected-raised--before--ScaleY: 2;\n --pf-c-card--m-compact__body--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-card--m-compact__footer--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-card--m-compact--first-child--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-card--m-compact--child--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-card--m-compact--child--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-card--m-compact--child--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-card--m-compact--c-divider--child--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-card--m-compact__title--not--last-child--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-card--m-display-lg__title--FontSize: var(--pf-global--FontSize--xl);\n --pf-c-card--m-display-lg--first-child--PaddingTop: var(--pf-global--spacer--xl);\n --pf-c-card--m-display-lg--child--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-card--m-display-lg--child--PaddingBottom: var(--pf-global--spacer--xl);\n --pf-c-card--m-display-lg--child--PaddingLeft: var(--pf-global--spacer--xl);\n --pf-c-card--m-display-lg--c-divider--child--PaddingTop: var(--pf-global--spacer--xl);\n --pf-c-card--m-display-lg__title--not--last-child--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-card--m-flat--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-card--m-flat--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-card--m-rounded--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-card--m-full-height--Height: 100%;\n --pf-c-card--m-plain--BoxShadow: none;\n --pf-c-card--m-plain--BackgroundColor: transparent;\n --pf-c-card__header--m-toggle-right--toggle--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-card__header--m-toggle-right--actions--MarginRight: 0;\n display: flex;\n flex-direction: column;\n background-color: var(--pf-c-card--BackgroundColor);\n box-shadow: var(--pf-c-card--BoxShadow);\n}\n.pf-c-card.pf-m-hoverable:hover {\n box-shadow: var(--pf-c-card--m-hoverable--hover--BoxShadow);\n}\n.pf-c-card.pf-m-selectable {\n position: relative;\n cursor: pointer;\n}\n.pf-c-card.pf-m-selectable:hover {\n box-shadow: var(--pf-c-card--m-selectable--hover--BoxShadow);\n}\n.pf-c-card.pf-m-selectable:focus {\n box-shadow: var(--pf-c-card--m-selectable--focus--BoxShadow);\n}\n.pf-c-card.pf-m-selectable:active {\n box-shadow: var(--pf-c-card--m-selectable--active--BoxShadow);\n}\n.pf-c-card.pf-m-selectable.pf-m-selected {\n box-shadow: var(--pf-c-card--m-selectable--m-selected--BoxShadow);\n}\n.pf-c-card.pf-m-selectable.pf-m-selected::before {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n height: var(--pf-c-card--m-selectable--m-selected--before--Height);\n content: "";\n background-color: var(--pf-c-card--m-selectable--m-selected--before--BackgroundColor);\n}\n.pf-c-card.pf-m-hoverable-raised, .pf-c-card.pf-m-selectable-raised {\n position: relative;\n}\n.pf-c-card.pf-m-hoverable-raised::before, .pf-c-card.pf-m-selectable-raised::before {\n position: absolute;\n right: var(--pf-c-card--m-selectable-raised--before--Right);\n bottom: var(--pf-c-card--m-selectable-raised--before--Bottom);\n left: var(--pf-c-card--m-selectable-raised--before--Left);\n height: var(--pf-c-card--m-selectable-raised--before--Height);\n content: "";\n background-color: var(--pf-c-card--m-selectable-raised--before--BackgroundColor);\n transition: var(--pf-c-card--m-selectable-raised--before--Transition);\n transform: translateY(var(--pf-c-card--m-selectable-raised--before--TranslateY)) scaleY(var(--pf-c-card--m-selectable-raised--before--ScaleY));\n transform-origin: center bottom;\n}\n.pf-c-card.pf-m-hoverable-raised:hover {\n --pf-c-card--BoxShadow: var(--pf-c-card--m-hoverable-raised--hover--BoxShadow);\n --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-hoverable-raised--hover--before--BackgroundColor);\n}\n.pf-c-card.pf-m-selectable-raised {\n cursor: pointer;\n /*\n &:active {\n --pf-c-card--BoxShadow: var(--pf-c-card--m-selectable-raised--active--BoxShadow);\n --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--active--before--BackgroundColor);\n }\n */\n}\n.pf-c-card.pf-m-selectable-raised:hover {\n --pf-c-card--BoxShadow: var(--pf-c-card--m-selectable-raised--hover--BoxShadow);\n --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--hover--before--BackgroundColor);\n}\n.pf-c-card.pf-m-selectable-raised:focus {\n --pf-c-card--BoxShadow: var(--pf-c-card--m-selectable-raised--focus--BoxShadow);\n --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--focus--before--BackgroundColor);\n}\n.pf-c-card.pf-m-selectable-raised.pf-m-selected-raised, .pf-c-card.pf-m-selectable-raised:active {\n --pf-c-card--m-selectable-raised--before--BackgroundColor: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--BackgroundColor);\n --pf-c-card--m-selectable-raised--before--Transition: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--Transition);\n --pf-c-card--m-selectable-raised--before--TranslateY: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--TranslateY);\n --pf-c-card--m-selectable-raised--before--ScaleY: var(--pf-c-card--m-selectable-raised--m-selected-raised--before--ScaleY);\n box-shadow: var(--pf-c-card--m-selectable-raised--m-selected-raised--BoxShadow);\n transition: var(--pf-c-card--m-selectable-raised--m-selected-raised--Transition);\n transform: translateY(var(--pf-c-card--m-selectable-raised--m-selected-raised--TranslateY));\n}\n.pf-c-card.pf-m-compact {\n --pf-c-card__body--FontSize: var(--pf-c-card--m-compact__body--FontSize);\n --pf-c-card__footer--FontSize: var(--pf-c-card--m-compact__footer--FontSize);\n --pf-c-card--first-child--PaddingTop: var(--pf-c-card--m-compact--first-child--PaddingTop);\n --pf-c-card--child--PaddingRight: var(--pf-c-card--m-compact--child--PaddingRight);\n --pf-c-card--child--PaddingBottom: var(--pf-c-card--m-compact--child--PaddingBottom);\n --pf-c-card--child--PaddingLeft: var(--pf-c-card--m-compact--child--PaddingLeft);\n --pf-c-card--c-divider--child--PaddingTop: var(--pf-c-card--m-compact--c-divider--child--PaddingTop);\n --pf-c-card__title--not--last-child--PaddingBottom: var(--pf-c-card--m-compact__title--not--last-child--PaddingBottom);\n}\n.pf-c-card.pf-m-display-lg {\n --pf-c-card__title--FontSize: var(--pf-c-card--m-display-lg__title--FontSize);\n --pf-c-card--first-child--PaddingTop: var(--pf-c-card--m-display-lg--first-child--PaddingTop);\n --pf-c-card--child--PaddingRight: var(--pf-c-card--m-display-lg--child--PaddingRight);\n --pf-c-card--child--PaddingBottom: var(--pf-c-card--m-display-lg--child--PaddingBottom);\n --pf-c-card--child--PaddingLeft: var(--pf-c-card--m-display-lg--child--PaddingLeft);\n --pf-c-card--c-divider--child--PaddingTop: var(--pf-c-card--m-display-lg--c-divider--child--PaddingTop);\n --pf-c-card__title--not--last-child--PaddingBottom: var(--pf-c-card--m-display-lg__title--not--last-child--PaddingBottom);\n}\n.pf-c-card.pf-m-flat {\n --pf-c-card--BoxShadow: none;\n --pf-c-card--m-selectable-raised--before--Right: var(--pf-c-card--m-flat--m-selectable-raised--before--Right);\n --pf-c-card--m-selectable-raised--before--Bottom: var(--pf-c-card--m-flat--m-selectable-raised--before--Bottom);\n --pf-c-card--m-selectable-raised--before--Left: var(--pf-c-card--m-flat--m-selectable-raised--before--Left);\n --pf-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-c-card--m-flat--m-selectable-raised--m-selected-raised--TranslateY);\n border: var(--pf-c-card--m-flat--BorderWidth) solid var(--pf-c-card--m-flat--BorderColor);\n}\n.pf-c-card.pf-m-plain {\n --pf-c-card--BoxShadow: var(--pf-c-card--m-plain--BoxShadow);\n --pf-c-card--BackgroundColor: var(--pf-c-card--m-plain--BackgroundColor);\n}\n.pf-c-card.pf-m-rounded {\n --pf-c-card--m-selectable-raised--m-selected-raised--TranslateY: var(--pf-c-card--m-rounded--m-selectable-raised--m-selected-raised--TranslateY);\n border-radius: var(--pf-c-card--m-rounded--BorderRadius);\n}\n.pf-c-card.pf-m-expanded .pf-c-card__header-toggle-icon {\n transform: rotate(var(--pf-c-card--m-expanded__header-toggle-icon--Rotate));\n}\n.pf-c-card.pf-m-full-height {\n height: var(--pf-c-card--m-full-height--Height);\n}\n.pf-c-card > .pf-c-divider + .pf-c-card__header, .pf-c-card > .pf-c-divider + .pf-c-card__title, .pf-c-card > .pf-c-divider + .pf-c-card__body, .pf-c-card > .pf-c-divider + .pf-c-card__footer {\n padding-top: var(--pf-c-card--c-divider--child--PaddingTop);\n}\n\n.pf-c-card__header {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.pf-c-card__header .pf-c-card__title {\n --pf-c-card--first-child--PaddingTop: 0;\n --pf-c-card__title--not--last-child--PaddingBottom: 0;\n padding: 0;\n}\n.pf-c-card__header.pf-m-toggle-right {\n --pf-c-card__header-toggle--MarginRight: var(--pf-c-card__header--m-toggle-right--toggle--MarginRight);\n --pf-c-card__header-toggle--MarginLeft: var(--pf-c-card__header--m-toggle-right--toggle--MarginLeft);\n}\n.pf-c-card__header.pf-m-toggle-right .pf-c-card__actions {\n --pf-c-card__header-toggle--MarginRight: var(--pf-c-card__header--m-toggle-right--actions--MarginRight);\n}\n.pf-c-card__header.pf-m-toggle-right .pf-c-card__header-toggle {\n order: 2;\n}\n.pf-c-card__header.pf-m-toggle-right .pf-c-card__title {\n flex: 1;\n}\n\n.pf-c-card__header-toggle {\n align-self: flex-start;\n margin: var(--pf-c-card__header-toggle--MarginTop) var(--pf-c-card__header-toggle--MarginRight) var(--pf-c-card__header-toggle--MarginBottom) var(--pf-c-card__header-toggle--MarginLeft);\n}\n\n.pf-c-card__header-toggle-icon {\n display: inline-block;\n transition: var(--pf-c-card__header-toggle-icon--Transition);\n}\n\n.pf-c-card__title {\n font-family: var(--pf-c-card__title--FontFamily);\n font-size: var(--pf-c-card__title--FontSize);\n font-weight: var(--pf-c-card__title--FontWeight);\n}\n\n.pf-c-card__actions {\n display: flex;\n align-items: center;\n align-self: flex-start;\n order: 1;\n padding-left: var(--pf-c-card__actions--PaddingLeft);\n margin: var(--pf-c-card__header-toggle--MarginTop) var(--pf-c-card__header-toggle--MarginRight) var(--pf-c-card__header-toggle--MarginBottom) auto;\n}\n.pf-c-card__actions > * + * {\n margin-left: var(--pf-c-card__actions--child--MarginLeft);\n}\n.pf-c-card__actions + .pf-c-card__title,\n.pf-c-card__actions + .pf-c-card__body,\n.pf-c-card__actions + .pf-c-card__footer {\n padding: 0;\n}\n.pf-c-card__actions.pf-m-no-offset {\n --pf-c-card__header-toggle--MarginTop: 0;\n --pf-c-card__header-toggle--MarginBottom: 0;\n}\n\n.pf-c-card__header,\n.pf-c-card__title,\n.pf-c-card__body,\n.pf-c-card__footer {\n padding-right: var(--pf-c-card--child--PaddingRight);\n padding-bottom: var(--pf-c-card--child--PaddingBottom);\n padding-left: var(--pf-c-card--child--PaddingLeft);\n}\n.pf-c-card__header:first-child,\n.pf-c-card__title:first-child,\n.pf-c-card__body:first-child,\n.pf-c-card__footer:first-child {\n padding-top: var(--pf-c-card--first-child--PaddingTop);\n}\n\n.pf-c-card__header:not(:last-child),\n.pf-c-card__title:not(:last-child) {\n padding-bottom: var(--pf-c-card__title--not--last-child--PaddingBottom);\n}\n\n.pf-c-card__expandable-content {\n --pf-c-card--first-child--PaddingTop: 0;\n}\n\n.pf-c-card__body:not(.pf-m-no-fill) {\n flex: 1 1 auto;\n}\n\n.pf-c-card__body {\n font-size: var(--pf-c-card__body--FontSize);\n}\n\n.pf-c-card__footer {\n font-size: var(--pf-c-card__footer--FontSize);\n}\n\n.pf-m-overpass-font .pf-c-card .pf-c-card__title {\n font-weight: var(--pf-global--FontWeight--normal);\n}',""]);const r=o},14378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-check {\n --pf-c-check--GridGap: var(--pf-global--spacer--xs) var(--pf-global--spacer--sm);\n --pf-c-check__label--disabled--Color: var(--pf-global--disabled-color--100);\n --pf-c-check__label--Color: var(--pf-global--Color--100);\n --pf-c-check__label--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-check__label--FontSize: var(--pf-global--FontSize--md);\n --pf-c-check__label--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-check__input--Height: var(--pf-c-check__label--FontSize);\n --pf-c-check__input--MarginTop: calc(((var(--pf-c-check__label--FontSize) * var(--pf-c-check__label--LineHeight)) - var(--pf-c-check__input--Height)) / 2);\n --pf-c-check__description--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-check__description--Color: var(--pf-global--Color--200);\n --pf-c-check__body--MarginTop: var(--pf-global--spacer--sm);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-gap: var(--pf-c-check--GridGap);\n align-items: start;\n justify-items: start;\n}\n.pf-c-check.pf-m-standalone {\n --pf-c-check--GridGap: 0;\n --pf-c-check__input--Height: auto;\n --pf-c-check__input--MarginTop: 0;\n display: inline-grid;\n line-height: 1;\n}\n\n.pf-c-check__label {\n font-size: var(--pf-c-check__label--FontSize);\n font-weight: var(--pf-c-check__label--FontWeight);\n line-height: var(--pf-c-check__label--LineHeight);\n color: var(--pf-c-check__label--Color);\n}\n\n.pf-c-check__input {\n height: var(--pf-c-check__input--Height);\n margin-top: var(--pf-c-check__input--MarginTop);\n}\n\n.pf-c-check__description {\n grid-column: 2;\n font-size: var(--pf-c-check__description--FontSize);\n color: var(--pf-c-check__description--Color);\n}\n\n.pf-c-check__body {\n grid-column: 2;\n margin-top: var(--pf-c-check__body--MarginTop);\n}\n\nlabel.pf-c-check, .pf-c-check__label,\n.pf-c-check__input {\n cursor: pointer;\n}\n\n.pf-c-check__label:disabled, .pf-c-check__label.pf-m-disabled,\n.pf-c-check__input:disabled,\n.pf-c-check__input.pf-m-disabled {\n --pf-c-check__label--Color: var(--pf-c-check__label--disabled--Color);\n cursor: not-allowed;\n}",""]);const r=o},27259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-chip {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-chip {\n --pf-c-chip--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-chip--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-chip--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-chip--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-chip--BackgroundColor: var(--pf-global--Color--light-100);\n --pf-c-chip--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--300);\n --pf-c-chip--before--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-chip--before--BorderRadius: var(--pf-c-chip--BorderRadius);\n --pf-c-chip--m-overflow__text--Color: var(--pf-global--primary-color--100);\n --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--BackgroundColor--200);\n --pf-c-chip--m-draggable--BoxShadow: var(--pf-global--BoxShadow--sm);\n --pf-c-chip--m-draggable__icon--FontSize: var(--pf-global--icon--FontSize--sm);\n --pf-c-chip__text--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-chip__text--Color: var(--pf-global--Color--100);\n --pf-c-chip__text--MaxWidth: 16ch;\n --pf-c-chip__c-button--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-chip__c-button--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-chip__c-button--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-chip__c-button--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-chip__c-button--MarginTop: calc(var(--pf-c-chip--PaddingTop) * -1);\n --pf-c-chip__c-button--MarginRight: calc(var(--pf-c-chip--PaddingRight) / 2 * -1);\n --pf-c-chip__c-button--MarginBottom: calc(var(--pf-c-chip--PaddingBottom) * -1);\n --pf-c-chip__c-button--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-chip__c-badge--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-chip__icon--MarginLeft: var(--pf-global--spacer--sm);\n color: var(--pf-global--Color--100);\n position: relative;\n display: inline-flex;\n align-items: center;\n padding: var(--pf-c-chip--PaddingTop) var(--pf-c-chip--PaddingRight) var(--pf-c-chip--PaddingBottom) var(--pf-c-chip--PaddingLeft);\n list-style: none;\n background-color: var(--pf-c-chip--BackgroundColor);\n border-radius: var(--pf-c-chip--BorderRadius);\n}\n.pf-c-chip::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: "";\n border: var(--pf-c-chip--before--BorderWidth) solid var(--pf-c-chip--before--BorderColor);\n border-radius: var(--pf-c-chip--before--BorderRadius);\n}\n.pf-c-chip.pf-m-overflow {\n border: 0;\n}\n.pf-c-chip.pf-m-overflow .pf-c-chip__text {\n color: var(--pf-c-chip--m-overflow__text--Color);\n}\n.pf-c-chip.pf-m-draggable {\n --pf-c-chip--BackgroundColor: var(--pf-c-chip--m-draggable--BackgroundColor);\n box-shadow: var(--pf-c-chip--m-draggable--BoxShadow);\n}\n.pf-c-chip.pf-m-draggable .pf-c-chip__icon {\n font-size: var(--pf-c-chip--m-draggable__icon--FontSize);\n}\n.pf-c-chip .pf-c-button {\n --pf-c-button--PaddingTop: var(--pf-c-chip__c-button--PaddingTop);\n --pf-c-button--PaddingRight: var(--pf-c-chip__c-button--PaddingRight);\n --pf-c-button--PaddingBottom: var(--pf-c-chip__c-button--PaddingBottom);\n --pf-c-button--PaddingLeft: var(--pf-c-chip__c-button--PaddingLeft);\n --pf-c-button--FontSize: var(--pf-c-chip__c-button--FontSize);\n margin-top: var(--pf-c-chip__c-button--MarginTop);\n margin-right: var(--pf-c-chip__c-button--MarginRight);\n margin-bottom: var(--pf-c-chip__c-button--MarginBottom);\n}\n.pf-c-chip .pf-c-badge {\n margin-left: var(--pf-c-chip__c-badge--MarginLeft);\n}\n\n.pf-c-chip__text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: relative;\n max-width: var(--pf-c-chip__text--MaxWidth);\n font-size: var(--pf-c-chip__text--FontSize);\n color: var(--pf-c-chip__text--Color);\n}\n\n.pf-c-chip__icon + .pf-c-chip__text,\n.pf-c-chip__text + .pf-c-chip__icon {\n margin-left: var(--pf-c-chip__icon--MarginLeft);\n}',""]);const r=o},60809:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-chip-group {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-chip-group {\n color: var(--pf-global--Color--100);\n --pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);\n --pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);\n --pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-chip-group__label--MaxWidth: 18ch;\n --pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);\n}\n.pf-c-chip-group.pf-m-category {\n padding-top: var(--pf-c-chip-group--m-category--PaddingTop);\n padding-right: var(--pf-c-chip-group--m-category--PaddingRight);\n padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);\n padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);\n background-color: var(--pf-c-chip-group--m-category--BackgroundColor);\n border-radius: var(--pf-c-chip-group--m-category--BorderRadius);\n}\n\n.pf-c-chip-group__main {\n display: flex;\n flex: 1;\n flex-wrap: wrap;\n align-items: baseline;\n}\n\n.pf-c-chip-group__list {\n margin-right: var(--pf-c-chip-group__list--MarginRight);\n margin-bottom: var(--pf-c-chip-group__list--MarginBottom);\n}\n\n.pf-c-chip-group,\n.pf-c-chip-group__list {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n}\n\n.pf-c-chip-group__list-item {\n display: inline-flex;\n margin-right: var(--pf-c-chip-group__list-item--MarginRight);\n margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);\n}\n\n.pf-c-chip-group__label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: var(--pf-c-chip-group__label--MaxWidth);\n margin-right: var(--pf-c-chip-group__label--MarginRight);\n font-size: var(--pf-c-chip-group__label--FontSize);\n}\n\n.pf-c-chip-group__close {\n display: flex;\n align-self: flex-start;\n margin-top: var(--pf-c-chip-group__close--MarginTop);\n margin-bottom: var(--pf-c-chip-group__close--MarginBottom);\n}",""]);const r=o},1491:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-content {\n --pf-c-content--MarginBottom: var(--pf-global--spacer--md);\n --pf-c-content--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--FontSize: var(--pf-global--FontSize--md);\n --pf-c-content--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--Color: var(--pf-global--Color--100);\n --pf-c-content--heading--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);\n --pf-c-content--h1--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-content--h1--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-content--h1--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-content--h1--FontSize: var(--pf-global--FontSize--2xl);\n --pf-c-content--h1--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--h2--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-content--h2--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-content--h2--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--h2--FontSize: var(--pf-global--FontSize--xl);\n --pf-c-content--h2--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--h3--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-content--h3--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-content--h3--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--h3--FontSize: var(--pf-global--FontSize--lg);\n --pf-c-content--h3--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--h4--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-content--h4--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-content--h4--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--h4--FontSize: var(--pf-global--FontSize--md);\n --pf-c-content--h4--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--h5--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-content--h5--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-content--h5--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--h5--FontSize: var(--pf-global--FontSize--md);\n --pf-c-content--h5--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--h6--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-content--h6--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-content--h6--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--h6--FontSize: var(--pf-global--FontSize--md);\n --pf-c-content--h6--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-content--small--MarginBottom: var(--pf-global--spacer--md);\n --pf-c-content--small--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-content--small--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-content--small--Color: var(--pf-global--Color--200);\n --pf-c-content--a--Color: var(--pf-global--link--Color);\n --pf-c-content--a--TextDecoration: var(--pf-global--link--TextDecoration);\n --pf-c-content--a--hover--Color: var(--pf-global--link--Color--hover);\n --pf-c-content--a--hover--TextDecoration: var(--pf-global--link--TextDecoration--hover);\n --pf-c-content--a--visited--Color: var(--pf-global--link--Color--visited);\n --pf-c-content--blockquote--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-content--blockquote--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-content--blockquote--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-content--blockquote--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-content--blockquote--Color: var(--pf-global--Color--200);\n --pf-c-content--blockquote--BorderLeftColor: var(--pf-global--BorderColor--100);\n --pf-c-content--blockquote--BorderLeftWidth: var(--pf-global--BorderWidth--lg);\n --pf-c-content--ol--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-content--ol--MarginLeft: var(--pf-global--spacer--lg);\n --pf-c-content--ol--nested--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-content--ol--nested--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-content--ul--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-content--ul--MarginLeft: var(--pf-global--spacer--lg);\n --pf-c-content--ul--nested--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-content--ul--nested--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-content--ul--ListStyle: var(--pf-global--ListStyle);\n --pf-c-content--li--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-content--dl--ColumnGap: var(--pf-global--spacer--2xl);\n --pf-c-content--dl--RowGap: var(--pf-global--spacer--md);\n --pf-c-content--dt--FontWeight: var(--pf-global--FontWeight--semi-bold);\n --pf-c-content--dt--MarginTop: var(--pf-global--spacer--md);\n --pf-c-content--dt--sm--MarginTop: 0;\n --pf-c-content--hr--Height: var(--pf-global--BorderWidth--sm);\n --pf-c-content--hr--BackgroundColor: var(--pf-global--BorderColor--100);\n font-size: var(--pf-c-content--FontSize);\n line-height: var(--pf-c-content--LineHeight);\n color: var(--pf-c-content--Color);\n}\n.pf-c-content a {\n color: var(--pf-c-content--a--Color);\n text-decoration: var(--pf-c-content--a--TextDecoration);\n}\n.pf-c-content a:hover {\n --pf-c-content--a--Color: var(--pf-c-content--a--hover--Color);\n --pf-c-content--a--TextDecoration: var(--pf-c-content--a--hover--TextDecoration);\n}\n.pf-c-content.pf-m-visited a:visited,\n.pf-c-content a.pf-m-visited:visited {\n color: var(--pf-c-content--a--visited--Color);\n}\n.pf-c-content li + li {\n margin-top: var(--pf-c-content--li--MarginTop);\n}\n.pf-c-content p:not(:last-child),\n.pf-c-content dl:not(:last-child),\n.pf-c-content ol:not(:last-child),\n.pf-c-content ul:not(:last-child),\n.pf-c-content blockquote:not(:last-child),\n.pf-c-content small:not(:last-child),\n.pf-c-content pre:not(:last-child),\n.pf-c-content table:not(:last-child),\n.pf-c-content hr:not(:last-child) {\n margin-bottom: var(--pf-c-content--MarginBottom);\n}\n.pf-c-content h1,\n.pf-c-content h2,\n.pf-c-content h3,\n.pf-c-content h4,\n.pf-c-content h5,\n.pf-c-content h6 {\n margin: 0;\n font-family: var(--pf-c-content--heading--FontFamily);\n}\n.pf-c-content h1:first-child,\n.pf-c-content h2:first-child,\n.pf-c-content h3:first-child,\n.pf-c-content h4:first-child,\n.pf-c-content h5:first-child,\n.pf-c-content h6:first-child {\n margin-top: 0;\n}\n.pf-c-content h1:last-child,\n.pf-c-content h2:last-child,\n.pf-c-content h3:last-child,\n.pf-c-content h4:last-child,\n.pf-c-content h5:last-child,\n.pf-c-content h6:last-child {\n margin-bottom: 0;\n}\n.pf-c-content ol,\n.pf-c-content ul {\n margin: 0;\n}\n.pf-c-content h1 {\n margin-top: var(--pf-c-content--h1--MarginTop);\n margin-bottom: var(--pf-c-content--h1--MarginBottom);\n font-size: var(--pf-c-content--h1--FontSize);\n font-weight: var(--pf-c-content--h1--FontWeight);\n line-height: var(--pf-c-content--h1--LineHeight);\n}\n.pf-c-content h2 {\n margin-top: var(--pf-c-content--h2--MarginTop);\n margin-bottom: var(--pf-c-content--h2--MarginBottom);\n font-size: var(--pf-c-content--h2--FontSize);\n font-weight: var(--pf-c-content--h2--FontWeight);\n line-height: var(--pf-c-content--h2--LineHeight);\n}\n.pf-c-content h3 {\n margin-top: var(--pf-c-content--h3--MarginTop);\n margin-bottom: var(--pf-c-content--h3--MarginBottom);\n font-size: var(--pf-c-content--h3--FontSize);\n font-weight: var(--pf-c-content--h3--FontWeight);\n line-height: var(--pf-c-content--h3--LineHeight);\n}\n.pf-c-content h4 {\n margin-top: var(--pf-c-content--h4--MarginTop);\n margin-bottom: var(--pf-c-content--h4--MarginBottom);\n font-size: var(--pf-c-content--h4--FontSize);\n font-weight: var(--pf-c-content--h4--FontWeight);\n line-height: var(--pf-c-content--h4--LineHeight);\n}\n.pf-c-content h5 {\n margin-top: var(--pf-c-content--h5--MarginTop);\n margin-bottom: var(--pf-c-content--h5--MarginBottom);\n font-size: var(--pf-c-content--h5--FontSize);\n font-weight: var(--pf-c-content--h5--FontWeight);\n line-height: var(--pf-c-content--h5--LineHeight);\n}\n.pf-c-content h6 {\n margin-top: var(--pf-c-content--h6--MarginTop);\n margin-bottom: var(--pf-c-content--h6--MarginBottom);\n font-size: var(--pf-c-content--h6--FontSize);\n font-weight: var(--pf-c-content--h6--FontWeight);\n line-height: var(--pf-c-content--h6--LineHeight);\n}\n.pf-c-content small {\n display: block;\n font-size: var(--pf-c-content--small--FontSize);\n line-height: var(--pf-c-content--small--LineHeight);\n color: var(--pf-c-content--small--Color);\n}\n.pf-c-content small:not(:last-child) {\n margin-bottom: var(--pf-c-content--small--MarginBottom);\n}\n.pf-c-content blockquote {\n padding: var(--pf-c-content--blockquote--PaddingTop) var(--pf-c-content--blockquote--PaddingRight) var(--pf-c-content--blockquote--PaddingBottom) var(--pf-c-content--blockquote--PaddingLeft);\n color: var(--pf-c-content--blockquote--Color);\n border-left: var(--pf-c-content--blockquote--BorderLeftWidth) solid var(--pf-c-content--blockquote--BorderLeftColor);\n}\n.pf-c-content hr {\n height: var(--pf-c-content--hr--Height);\n background-color: var(--pf-c-content--hr--BackgroundColor);\n border: none;\n}\n.pf-c-content ol {\n padding-left: var(--pf-c-content--ol--PaddingLeft);\n margin-left: var(--pf-c-content--ol--MarginLeft);\n}\n.pf-c-content ol ul {\n margin-top: var(--pf-c-content--ul--nested--MarginTop);\n --pf-c-content--ul--MarginLeft: var(--pf-c-content--ul--nested--MarginLeft);\n}\n.pf-c-content ol ol {\n margin-top: var(--pf-c-content--ol--nested--MarginTop);\n --pf-c-content--ol--MarginLeft: var(--pf-c-content--ol--nested--MarginLeft);\n}\n.pf-c-content ul {\n padding-left: var(--pf-c-content--ul--PaddingLeft);\n margin-left: var(--pf-c-content--ul--MarginLeft);\n list-style: var(--pf-c-content--ul--ListStyle);\n}\n.pf-c-content ul ul {\n margin-top: var(--pf-c-content--ul--nested--MarginTop);\n --pf-c-content--ul--MarginLeft: var(--pf-c-content--ul--nested--MarginLeft);\n}\n.pf-c-content ul ol {\n margin-top: var(--pf-c-content--ol--nested--MarginTop);\n --pf-c-content--ol--MarginLeft: var(--pf-c-content--ol--nested--MarginLeft);\n}\n.pf-c-content dl {\n display: grid;\n grid-template-columns: 1fr;\n}\n@media screen and (min-width: 576px) {\n .pf-c-content dl {\n grid-template: auto/auto 1fr;\n grid-column-gap: var(--pf-c-content--dl--ColumnGap);\n grid-row-gap: var(--pf-c-content--dl--RowGap);\n }\n}\n.pf-c-content dt {\n font-weight: var(--pf-c-content--dt--FontWeight);\n}\n.pf-c-content dt:not(:first-child) {\n margin-top: var(--pf-c-content--dt--MarginTop);\n}\n@media screen and (min-width: 576px) {\n .pf-c-content dt:not(:first-child) {\n --pf-c-content--dt--MarginTop: var(--pf-c-content--dt--sm--MarginTop);\n }\n}\n@media screen and (min-width: 576px) {\n .pf-c-content dt {\n grid-column: 1;\n }\n}\n@media screen and (min-width: 576px) {\n .pf-c-content dd {\n grid-column: 2;\n }\n}\n\n.pf-m-overpass-font .pf-c-content {\n --pf-c-content--h2--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-content--h4--FontWeight: var(--pf-global--FontWeight--semi-bold);\n --pf-c-content--h5--FontWeight: var(--pf-global--FontWeight--semi-bold);\n --pf-c-content--h6--FontWeight: var(--pf-global--FontWeight--semi-bold);\n}\n.pf-m-overpass-font .pf-c-content blockquote {\n font-weight: var(--pf-global--FontWeight--light);\n}",""]);const r=o},29594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-divider {\n --pf-hidden-visible--visible--Visibility: visible;\n --pf-hidden-visible--hidden--Display: none;\n --pf-hidden-visible--hidden--Visibility: hidden;\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n display: var(--pf-hidden-visible--Display);\n visibility: var(--pf-hidden-visible--Visibility);\n}\n.pf-m-hidden.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n}\n@media screen and (min-width: 576px) {\n .pf-m-hidden-on-sm.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-sm.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 768px) {\n .pf-m-hidden-on-md.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-md.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 992px) {\n .pf-m-hidden-on-lg.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-lg.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-m-hidden-on-xl.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-xl.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 1450px) {\n .pf-m-hidden-on-2xl.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-2xl.pf-c-divider {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n\n.pf-c-divider {\n --pf-c-divider--Height: var(--pf-global--BorderWidth--sm);\n --pf-c-divider--BackgroundColor: var(--pf-global--BorderColor--100);\n --pf-c-divider--after--Height: var(--pf-c-divider--Height);\n --pf-c-divider--after--BackgroundColor: var(--pf-c-divider--BackgroundColor);\n --pf-c-divider--Display: flex;\n --pf-c-divider--after--FlexBasis: 100%;\n --pf-c-divider--after--Inset: 0%;\n --pf-c-divider--m-vertical--after--FlexBasis: 100%;\n --pf-c-divider--m-vertical--after--Width: var(--pf-global--BorderWidth--sm);\n --pf-hidden-visible--visible--Display: var(--pf-c-divider--Display);\n align-items: center;\n align-self: stretch;\n flex-shrink: 0;\n justify-content: center;\n width: 100%;\n border: 0;\n}\n.pf-c-divider::after {\n flex-basis: calc(var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2));\n align-self: stretch;\n height: var(--pf-c-divider--after--Height);\n content: "";\n background-color: var(--pf-c-divider--after--BackgroundColor);\n justify-self: center;\n}\n.pf-c-divider.pf-m-vertical {\n display: inline-flex;\n flex-direction: column;\n width: auto;\n height: inherit;\n min-height: 100%;\n max-height: 100%;\n}\n.pf-c-divider.pf-m-vertical::after {\n flex-basis: calc(var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset));\n width: var(--pf-c-divider--m-vertical--after--Width);\n}\n.pf-c-divider.pf-m-inset-none {\n --pf-c-divider--after--Inset: 0%;\n}\n.pf-c-divider.pf-m-inset-xs {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xs);\n}\n.pf-c-divider.pf-m-inset-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--sm);\n}\n.pf-c-divider.pf-m-inset-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--md);\n}\n.pf-c-divider.pf-m-inset-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--lg);\n}\n.pf-c-divider.pf-m-inset-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xl);\n}\n.pf-c-divider.pf-m-inset-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--2xl);\n}\n.pf-c-divider.pf-m-inset-3xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);\n}\n@media (min-width: 576px) {\n .pf-c-divider.pf-m-inset-none-on-sm {\n --pf-c-divider--after--Inset: 0%;\n }\n .pf-c-divider.pf-m-inset-xs-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xs);\n }\n .pf-c-divider.pf-m-inset-sm-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--sm);\n }\n .pf-c-divider.pf-m-inset-md-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--md);\n }\n .pf-c-divider.pf-m-inset-lg-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--lg);\n }\n .pf-c-divider.pf-m-inset-xl-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xl);\n }\n .pf-c-divider.pf-m-inset-2xl-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--2xl);\n }\n .pf-c-divider.pf-m-inset-3xl-on-sm {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);\n }\n}\n@media (min-width: 768px) {\n .pf-c-divider.pf-m-inset-none-on-md {\n --pf-c-divider--after--Inset: 0%;\n }\n .pf-c-divider.pf-m-inset-xs-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xs);\n }\n .pf-c-divider.pf-m-inset-sm-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--sm);\n }\n .pf-c-divider.pf-m-inset-md-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--md);\n }\n .pf-c-divider.pf-m-inset-lg-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--lg);\n }\n .pf-c-divider.pf-m-inset-xl-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xl);\n }\n .pf-c-divider.pf-m-inset-2xl-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--2xl);\n }\n .pf-c-divider.pf-m-inset-3xl-on-md {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);\n }\n}\n@media (min-width: 992px) {\n .pf-c-divider.pf-m-inset-none-on-lg {\n --pf-c-divider--after--Inset: 0%;\n }\n .pf-c-divider.pf-m-inset-xs-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xs);\n }\n .pf-c-divider.pf-m-inset-sm-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--sm);\n }\n .pf-c-divider.pf-m-inset-md-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--md);\n }\n .pf-c-divider.pf-m-inset-lg-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--lg);\n }\n .pf-c-divider.pf-m-inset-xl-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xl);\n }\n .pf-c-divider.pf-m-inset-2xl-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--2xl);\n }\n .pf-c-divider.pf-m-inset-3xl-on-lg {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);\n }\n}\n@media (min-width: 1200px) {\n .pf-c-divider.pf-m-inset-none-on-xl {\n --pf-c-divider--after--Inset: 0%;\n }\n .pf-c-divider.pf-m-inset-xs-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xs);\n }\n .pf-c-divider.pf-m-inset-sm-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--sm);\n }\n .pf-c-divider.pf-m-inset-md-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--md);\n }\n .pf-c-divider.pf-m-inset-lg-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--lg);\n }\n .pf-c-divider.pf-m-inset-xl-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xl);\n }\n .pf-c-divider.pf-m-inset-2xl-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--2xl);\n }\n .pf-c-divider.pf-m-inset-3xl-on-xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);\n }\n}\n@media (min-width: 1450px) {\n .pf-c-divider.pf-m-inset-none-on-2xl {\n --pf-c-divider--after--Inset: 0%;\n }\n .pf-c-divider.pf-m-inset-xs-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xs);\n }\n .pf-c-divider.pf-m-inset-sm-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--sm);\n }\n .pf-c-divider.pf-m-inset-md-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--md);\n }\n .pf-c-divider.pf-m-inset-lg-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--lg);\n }\n .pf-c-divider.pf-m-inset-xl-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--xl);\n }\n .pf-c-divider.pf-m-inset-2xl-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--2xl);\n }\n .pf-c-divider.pf-m-inset-3xl-on-2xl {\n --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);\n }\n}',""]);const r=o},77586:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-drawer {\n --pf-c-drawer__section--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-drawer__section--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);\n --pf-c-drawer__content--FlexBasis: 100%;\n --pf-c-drawer__content--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-drawer__content--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);\n --pf-c-drawer__content--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-drawer__panel--MinWidth: 50%;\n --pf-c-drawer__panel--MaxHeight: auto;\n --pf-c-drawer__panel--ZIndex: var(--pf-global--ZIndex--sm);\n --pf-c-drawer__panel--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-drawer__panel--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);\n --pf-c-drawer__panel--TransitionDuration: var(--pf-global--TransitionDuration);\n --pf-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis;\n --pf-c-drawer__panel--FlexBasis: 100%;\n --pf-c-drawer__panel--md--FlexBasis--min: 1.5rem;\n --pf-c-drawer__panel--md--FlexBasis: 50%;\n --pf-c-drawer__panel--md--FlexBasis--max: 100%;\n --pf-c-drawer__panel--xl--MinWidth: 28.125rem;\n --pf-c-drawer__panel--xl--FlexBasis: 28.125rem;\n --pf-c-drawer--m-panel-bottom__panel--md--MinHeight: 50%;\n --pf-c-drawer--m-panel-bottom__panel--xl--MinHeight: 18.75rem;\n --pf-c-drawer--m-panel-bottom__panel--xl--FlexBasis: 18.75rem;\n --pf-c-drawer__panel--m-resizable--FlexDirection: row;\n --pf-c-drawer__panel--m-resizable--md--FlexBasis--min: var(--pf-c-drawer__splitter--m-vertical--Width);\n --pf-c-drawer__panel--m-resizable--MinWidth: 1.5rem;\n --pf-c-drawer--m-panel-bottom__panel--m-resizable--FlexDirection: column;\n --pf-c-drawer--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: 1.5rem;\n --pf-c-drawer--m-panel-bottom__panel--m-resizable--MinHeight: 1.5rem;\n --pf-c-drawer--child--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-drawer--child--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-drawer--child--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-drawer--child--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-drawer--child--md--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--md--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--md--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--md--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--m-padding--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-drawer--child--m-padding--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-drawer--child--m-padding--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-drawer--child--m-padding--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-drawer--child--m-padding--md--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--m-padding--md--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--m-padding--md--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-drawer--child--m-padding--md--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-drawer__content--child--PaddingTop: 0;\n --pf-c-drawer__content--child--PaddingRight: 0;\n --pf-c-drawer__content--child--PaddingBottom: 0;\n --pf-c-drawer__content--child--PaddingLeft: 0;\n --pf-c-drawer__splitter--Height: 0.5625rem;\n --pf-c-drawer__splitter--Width: 100%;\n --pf-c-drawer__splitter--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-drawer__splitter--Cursor: row-resize;\n --pf-c-drawer__splitter--m-vertical--Height: 100%;\n --pf-c-drawer__splitter--m-vertical--Width: 0.5625rem;\n --pf-c-drawer__splitter--m-vertical--Cursor: col-resize;\n --pf-c-drawer--m-inline__splitter--focus--OutlineOffset: -0.0625rem;\n --pf-c-drawer__splitter--after--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-drawer__splitter--after--border-width--base: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer__splitter--after--BorderTopWidth: 0;\n --pf-c-drawer__splitter--after--BorderRightWidth: var(--pf-c-drawer__splitter--after--border-width--base);\n --pf-c-drawer__splitter--after--BorderBottomWidth: 0;\n --pf-c-drawer__splitter--after--BorderLeftWidth: 0;\n --pf-c-drawer--m-panel-left__splitter--after--BorderLeftWidth: var(--pf-c-drawer__splitter--after--border-width--base);\n --pf-c-drawer--m-panel-bottom__splitter--after--BorderBottomWidth: var(--pf-c-drawer__splitter--after--border-width--base);\n --pf-c-drawer--m-inline__splitter--m-vertical--Width: 0.625rem;\n --pf-c-drawer--m-inline__splitter-handle--Left: 50%;\n --pf-c-drawer--m-inline__splitter--after--BorderRightWidth: var(--pf-c-drawer__splitter--after--border-width--base);\n --pf-c-drawer--m-inline__splitter--after--BorderLeftWidth: var(--pf-c-drawer__splitter--after--border-width--base);\n --pf-c-drawer--m-inline--m-panel-bottom__splitter--Height: 0.625rem;\n --pf-c-drawer--m-inline--m-panel-bottom__splitter-handle--Top: 50%;\n --pf-c-drawer--m-inline--m-panel-bottom__splitter--after--BorderTopWidth: var(--pf-c-drawer__splitter--after--border-width--base);\n --pf-c-drawer__splitter-handle--Top: 50%;\n --pf-c-drawer__splitter-handle--Left: calc(50% - var(--pf-c-drawer__splitter--after--border-width--base));\n --pf-c-drawer--m-panel-left__splitter-handle--Left: 50%;\n --pf-c-drawer--m-panel-bottom__splitter-handle--Top: calc(50% - var(--pf-c-drawer__splitter--after--border-width--base));\n --pf-c-drawer__splitter-handle--after--BorderColor: var(--pf-global--Color--200);\n --pf-c-drawer__splitter-handle--after--BorderTopWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer__splitter-handle--after--BorderRightWidth: 0;\n --pf-c-drawer__splitter-handle--after--BorderBottomWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer__splitter-handle--after--BorderLeftWidth: 0;\n --pf-c-drawer__splitter--hover__splitter-handle--after--BorderColor: var(--pf-global--Color--100);\n --pf-c-drawer__splitter--focus__splitter-handle--after--BorderColor: var(--pf-global--Color--100);\n --pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderTopWidth: 0;\n --pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderRightWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderBottomWidth: 0;\n --pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderLeftWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer__splitter-handle--after--Width: 0.75rem;\n --pf-c-drawer__splitter-handle--after--Height: 0.25rem;\n --pf-c-drawer__splitter--m-vertical__splitter-handle--after--Width: 0.25rem;\n --pf-c-drawer__splitter--m-vertical__splitter-handle--after--Height: 0.75rem;\n --pf-c-drawer__actions--MarginTop: calc(var(pf-global--spacer--form-element) * -1);\n --pf-c-drawer__actions--MarginRight: calc(var(pf-global--spacer--form-element) * -1);\n --pf-c-drawer__panel--BoxShadow: none;\n --pf-c-drawer--m-expanded__panel--BoxShadow: var(--pf-global--BoxShadow--lg-left);\n --pf-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-global--BoxShadow--lg-right);\n --pf-c-drawer--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-global--BoxShadow--lg-top);\n --pf-c-drawer__panel--after--Width: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer--m-panel-bottom__panel--after--Height: var(--pf-global--BorderWidth--sm);\n --pf-c-drawer__panel--after--BackgroundColor: transparent;\n --pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-global--BorderColor--100);\n --pf-c-drawer--m-inline__panel--PaddingLeft: var(--pf-c-drawer__panel--after--Width);\n --pf-c-drawer--m-panel-left--m-inline__panel--PaddingRight: var(--pf-c-drawer__panel--after--Width);\n --pf-c-drawer--m-panel-bottom--m-inline__panel--PaddingTop: var(--pf-c-drawer__panel--after--Width);\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow-x: hidden;\n}\n@media screen and (min-width: 768px) {\n .pf-c-drawer {\n --pf-c-drawer--child--PaddingTop: var(--pf-c-drawer--child--md--PaddingTop);\n --pf-c-drawer--child--PaddingRight: var(--pf-c-drawer--child--md--PaddingRight);\n --pf-c-drawer--child--PaddingBottom: var(--pf-c-drawer--child--md--PaddingBottom);\n --pf-c-drawer--child--PaddingLeft: var(--pf-c-drawer--child--md--PaddingLeft);\n --pf-c-drawer--child--m-padding--PaddingTop: var(--pf-c-drawer--child--m-padding--md--PaddingTop);\n --pf-c-drawer--child--m-padding--PaddingRight: var(--pf-c-drawer--child--m-padding--md--PaddingRight);\n --pf-c-drawer--child--m-padding--PaddingBottom: var(--pf-c-drawer--child--m-padding--md--PaddingBottom);\n --pf-c-drawer--child--m-padding--PaddingLeft: var(--pf-c-drawer--child--m-padding--md--PaddingLeft);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-drawer {\n --pf-c-drawer__panel--MinWidth: var(--pf-c-drawer__panel--xl--MinWidth);\n }\n .pf-c-drawer.pf-m-panel-bottom {\n --pf-c-drawer__panel--MinWidth: auto;\n --pf-c-drawer__panel--MinHeight: var(--pf-c-drawer--m-panel-bottom__panel--xl--MinHeight);\n }\n}\n.pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-c-drawer.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {\n padding-left: var(--pf-c-drawer--m-inline__panel--PaddingLeft);\n}\n.pf-c-drawer.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n order: 0;\n margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateX(-100%);\n}\n.pf-c-drawer.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__content {\n order: 1;\n}\n.pf-c-drawer.pf-m-panel-bottom > .pf-c-drawer__main {\n flex-direction: column;\n}\n.pf-c-drawer.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(-100%);\n}\n.pf-c-drawer.pf-m-expanded.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n}\n.pf-c-drawer.pf-m-expanded.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translate(0, -100%);\n}\n.pf-c-drawer.pf-m-resizing {\n --pf-c-drawer__panel--TransitionProperty: none;\n pointer-events: none;\n}\n.pf-c-drawer.pf-m-resizing .pf-c-drawer__splitter {\n pointer-events: auto;\n}\n\n.pf-c-drawer__section {\n flex-grow: 0;\n background-color: var(--pf-c-drawer__section--BackgroundColor);\n}\n.pf-c-drawer__section.pf-m-no-background {\n --pf-c-drawer__section--BackgroundColor: transparent;\n}\n.pf-c-drawer__section.pf-m-light-200 {\n --pf-c-drawer__section--BackgroundColor: var(--pf-c-drawer__section--m-light-200--BackgroundColor);\n}\n\n.pf-c-drawer__main {\n display: flex;\n flex: 1;\n overflow: hidden;\n}\n\n.pf-c-drawer__content,\n.pf-c-drawer__panel,\n.pf-c-drawer__panel-main {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n overflow: auto;\n}\n\n.pf-c-drawer__content {\n z-index: var(--pf-c-drawer__content--ZIndex);\n flex-basis: var(--pf-c-drawer__content--FlexBasis);\n order: 0;\n background-color: var(--pf-c-drawer__content--BackgroundColor);\n}\n.pf-c-drawer__content.pf-m-no-background {\n --pf-c-drawer__content--BackgroundColor: transparent;\n}\n.pf-c-drawer__content.pf-m-light-200 {\n --pf-c-drawer__content--BackgroundColor: var(--pf-c-drawer__content--m-light-200--BackgroundColor);\n}\n.pf-c-drawer__content > .pf-c-drawer__body {\n padding: var(--pf-c-drawer__content--child--PaddingTop) var(--pf-c-drawer__content--child--PaddingRight) var(--pf-c-drawer__content--child--PaddingBottom) var(--pf-c-drawer__content--child--PaddingLeft);\n}\n\n.pf-c-drawer__panel {\n position: relative;\n z-index: var(--pf-c-drawer__panel--ZIndex);\n flex-basis: var(--pf-c-drawer__panel--FlexBasis);\n order: 1;\n max-height: var(--pf-c-drawer__panel--MaxHeight);\n overflow: auto;\n background-color: var(--pf-c-drawer__panel--BackgroundColor);\n box-shadow: var(--pf-c-drawer__panel--BoxShadow);\n transition-duration: var(--pf-c-drawer__panel--TransitionDuration);\n transition-property: var(--pf-c-drawer__panel--TransitionProperty);\n -webkit-overflow-scrolling: touch;\n}\n.pf-c-drawer__panel::after {\n position: absolute;\n top: 0;\n left: 0;\n width: var(--pf-c-drawer__panel--after--Width);\n height: 100%;\n content: "";\n background-color: var(--pf-c-drawer__panel--after--BackgroundColor);\n}\n.pf-c-drawer__panel.pf-m-no-background {\n --pf-c-drawer__panel--BackgroundColor: transparent;\n}\n.pf-c-drawer__panel.pf-m-light-200 {\n --pf-c-drawer__panel--BackgroundColor: var(--pf-c-drawer__panel--m-light-200--BackgroundColor);\n}\n@media screen and (min-width: 768px) {\n .pf-c-drawer__panel {\n --pf-c-drawer__panel--FlexBasis:\n max(\n var(--pf-c-drawer__panel--md--FlexBasis--min),\n min(var(--pf-c-drawer__panel--md--FlexBasis), var(--pf-c-drawer__panel--md--FlexBasis--max))\n );\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-drawer__panel {\n --pf-c-drawer__panel--md--FlexBasis: var(--pf-c-drawer__panel--xl--FlexBasis);\n }\n .pf-c-drawer.pf-m-panel-bottom .pf-c-drawer__panel {\n --pf-c-drawer__panel--md--FlexBasis: var(--pf-c-drawer--m-panel-bottom__panel--xl--FlexBasis);\n }\n}\n\n.pf-c-drawer__panel-main {\n flex-grow: 1;\n}\n\n@keyframes pf-remove-tab-focus {\n to {\n visibility: hidden;\n }\n}\n.pf-c-drawer__panel[hidden] {\n animation-name: pf-remove-tab-focus;\n animation-delay: var(--pf-c-drawer__panel--TransitionDuration);\n animation-fill-mode: forwards;\n}\n\n.pf-c-drawer__head {\n display: grid;\n grid-template-columns: auto;\n grid-auto-columns: max-content;\n}\n.pf-c-drawer__head > * {\n grid-column: 1;\n}\n\n.pf-c-drawer__actions {\n grid-column: 2;\n grid-row: 1;\n display: flex;\n align-self: baseline;\n margin-top: var(--pf-c-drawer__actions--MarginTop);\n margin-right: var(--pf-c-drawer__actions--MarginRight);\n}\n\n.pf-c-drawer__body {\n min-height: 0;\n padding: var(--pf-c-drawer--child--PaddingTop) var(--pf-c-drawer--child--PaddingRight) var(--pf-c-drawer--child--PaddingBottom) var(--pf-c-drawer--child--PaddingLeft);\n}\n.pf-c-drawer__body.pf-m-no-padding {\n padding: 0;\n}\n.pf-c-drawer__body.pf-m-no-padding > .pf-c-drawer__actions,\n.pf-c-drawer__body.pf-m-no-padding > .pf-c-drawer__head > .pf-c-drawer__actions {\n margin-top: 0;\n margin-right: 0;\n}\n.pf-c-drawer__body.pf-m-padding {\n padding: var(--pf-c-drawer--child--m-padding--PaddingTop) var(--pf-c-drawer--child--m-padding--PaddingRight) var(--pf-c-drawer--child--m-padding--PaddingBottom) var(--pf-c-drawer--child--m-padding--PaddingLeft);\n}\n.pf-c-drawer__body:not(.pf-m-no-padding) + * {\n padding-top: 0;\n}\n.pf-c-drawer__body:last-child {\n flex: 1 1;\n}\n\n.pf-c-drawer__body > .pf-c-page__main {\n min-height: 100%;\n}\n\n.pf-c-drawer__splitter {\n position: relative;\n display: none;\n width: var(--pf-c-drawer__splitter--Width);\n height: var(--pf-c-drawer__splitter--Height);\n cursor: var(--pf-c-drawer__splitter--Cursor);\n visibility: hidden;\n background-color: var(--pf-c-drawer__splitter--BackgroundColor);\n}\n.pf-c-drawer__splitter.pf-m-vertical {\n --pf-c-drawer__splitter--Height: var(--pf-c-drawer__splitter--m-vertical--Height);\n --pf-c-drawer__splitter--Width: var(--pf-c-drawer__splitter--m-vertical--Width);\n --pf-c-drawer__splitter--Cursor: var(--pf-c-drawer__splitter--m-vertical--Cursor);\n --pf-c-drawer__splitter-handle--after--Width: var(--pf-c-drawer__splitter--m-vertical__splitter-handle--after--Width);\n --pf-c-drawer__splitter-handle--after--Height: var(--pf-c-drawer__splitter--m-vertical__splitter-handle--after--Height);\n --pf-c-drawer__splitter-handle--after--BorderTopWidth: var(--pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderTopWidth);\n --pf-c-drawer__splitter-handle--after--BorderRightWidth: var(--pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderRightWidth);\n --pf-c-drawer__splitter-handle--after--BorderBottomWidth: var(--pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderBottomWidth);\n --pf-c-drawer__splitter-handle--after--BorderLeftWidth: var(--pf-c-drawer__splitter--m-vertical__splitter-handle--after--BorderLeftWidth);\n}\n.pf-c-drawer__splitter:hover {\n --pf-c-drawer__splitter-handle--after--BorderColor: var(--pf-c-drawer__splitter--hover__splitter-handle--after--BorderColor);\n}\n.pf-c-drawer__splitter:focus {\n --pf-c-drawer__splitter-handle--after--BorderColor: var(--pf-c-drawer__splitter--focus__splitter-handle--after--BorderColor);\n}\n.pf-c-drawer__splitter::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: "";\n border: solid var(--pf-c-drawer__splitter--after--BorderColor);\n border-width: var(--pf-c-drawer__splitter--after--BorderTopWidth) var(--pf-c-drawer__splitter--after--BorderRightWidth) var(--pf-c-drawer__splitter--after--BorderBottomWidth) var(--pf-c-drawer__splitter--after--BorderLeftWidth);\n}\n\n.pf-c-drawer__splitter-handle {\n position: absolute;\n top: var(--pf-c-drawer__splitter-handle--Top);\n left: var(--pf-c-drawer__splitter-handle--Left);\n transform: translate(-50%, -50%);\n}\n.pf-c-drawer__splitter-handle::after {\n display: block;\n width: var(--pf-c-drawer__splitter-handle--after--Width);\n height: var(--pf-c-drawer__splitter-handle--after--Height);\n content: "";\n border-color: var(--pf-c-drawer__splitter-handle--after--BorderColor);\n border-style: solid;\n border-width: var(--pf-c-drawer__splitter-handle--after--BorderTopWidth) var(--pf-c-drawer__splitter-handle--after--BorderRightWidth) var(--pf-c-drawer__splitter-handle--after--BorderBottomWidth) var(--pf-c-drawer__splitter-handle--after--BorderLeftWidth);\n}\n\n@media screen and (min-width: 768px) {\n .pf-c-drawer {\n min-width: var(--pf-c-drawer__panel--MinWidth);\n }\n .pf-c-drawer.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n box-shadow: var(--pf-c-drawer--m-expanded__panel--BoxShadow);\n }\n .pf-c-drawer > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable {\n --pf-c-drawer__panel--md--FlexBasis--min: var(--pf-c-drawer__panel--m-resizable--md--FlexBasis--min);\n flex-direction: var(--pf-c-drawer__panel--m-resizable--FlexDirection);\n min-width: var(--pf-c-drawer__panel--m-resizable--MinWidth);\n }\n .pf-c-drawer > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable::after {\n width: 0;\n height: 0;\n }\n .pf-c-drawer > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable > .pf-c-drawer__splitter {\n flex-shrink: 0;\n }\n .pf-c-drawer > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable > .pf-c-drawer__panel-main {\n flex-shrink: 1;\n }\n\n .pf-c-drawer.pf-m-panel-left {\n --pf-c-drawer--m-expanded__panel--BoxShadow: var(--pf-c-drawer--m-expanded--m-panel-left__panel--BoxShadow);\n }\n .pf-c-drawer.pf-m-panel-left.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-c-drawer.pf-m-panel-left.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {\n padding-right: var(--pf-c-drawer--m-panel-left--m-inline__panel--PaddingRight);\n padding-left: 0;\n }\n .pf-c-drawer.pf-m-panel-left.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel::after {\n right: 0;\n left: auto;\n }\n .pf-c-drawer.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable > .pf-c-drawer__splitter {\n --pf-c-drawer__splitter-handle--Left: var(--pf-c-drawer--m-panel-left__splitter-handle--Left);\n --pf-c-drawer__splitter--after--BorderRightWidth: 0;\n --pf-c-drawer__splitter--after--BorderLeftWidth: var(--pf-c-drawer--m-panel-left__splitter--after--BorderLeftWidth);\n order: 1;\n }\n\n .pf-c-drawer.pf-m-panel-bottom {\n --pf-c-drawer--m-expanded__panel--BoxShadow: var(--pf-c-drawer--m-expanded--m-panel-bottom__panel--BoxShadow);\n --pf-c-drawer__panel--MaxHeight: 100%;\n --pf-c-drawer__panel--FlexBasis--min: var(--pf-c-drawer--m-panel-bottom__panel--FlexBasis--min);\n min-width: auto;\n min-height: var(--pf-c-drawer--m-panel-bottom__panel--md--MinHeight);\n }\n .pf-c-drawer.pf-m-panel-bottom.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-c-drawer.pf-m-panel-bottom.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {\n padding-top: var(--pf-c-drawer--m-panel-bottom--m-inline__panel--PaddingTop);\n padding-left: 0;\n }\n .pf-c-drawer.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel::after {\n top: 0;\n left: auto;\n width: 100%;\n height: var(--pf-c-drawer--m-panel-bottom__panel--after--Height);\n }\n .pf-c-drawer.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable {\n --pf-c-drawer__panel--md--FlexBasis--min: var(--pf-c-drawer--m-panel-bottom__panel--m-resizable--md--FlexBasis--min);\n --pf-c-drawer__panel--m-resizable--FlexDirection: var(--pf-c-drawer--m-panel-bottom__panel--m-resizable--FlexDirection);\n --pf-c-drawer__panel--m-resizable--MinWidth: 0;\n min-height: var(--pf-c-drawer--m-panel-bottom__panel--m-resizable--MinHeight);\n }\n .pf-c-drawer.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable > .pf-c-drawer__splitter {\n --pf-c-drawer__splitter-handle--Top: var(--pf-c-drawer--m-panel-bottom__splitter-handle--Top);\n --pf-c-drawer__splitter--after--BorderRightWidth: 0;\n --pf-c-drawer__splitter--after--BorderBottomWidth: var(--pf-c-drawer--m-panel-bottom__splitter--after--BorderBottomWidth);\n }\n\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable > .pf-c-drawer__splitter {\n --pf-c-drawer__splitter--m-vertical--Width: var(--pf-c-drawer--m-inline__splitter--m-vertical--Width);\n --pf-c-drawer__splitter-handle--Left: var(--pf-c-drawer--m-inline__splitter-handle--Left);\n --pf-c-drawer__splitter--after--BorderRightWidth: var(--pf-c-drawer--m-inline__splitter--after--BorderRightWidth);\n --pf-c-drawer__splitter--after--BorderLeftWidth: var(--pf-c-drawer--m-inline__splitter--after--BorderLeftWidth);\n outline-offset: var(--pf-c-drawer--m-inline__splitter--focus--OutlineOffset);\n }\n .pf-c-drawer.pf-m-inline.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-resizable > .pf-c-drawer__splitter {\n --pf-c-drawer__splitter--Height: var(--pf-c-drawer--m-inline--m-panel-bottom__splitter--Height);\n --pf-c-drawer__splitter-handle--Top: var(--pf-c-drawer--m-inline--m-panel-bottom__splitter-handle--Top);\n --pf-c-drawer__splitter--after--BorderTopWidth: var(--pf-c-drawer--m-inline--m-panel-bottom__splitter--after--BorderTopWidth);\n --pf-c-drawer__splitter--after--BorderRightWidth: 0;\n --pf-c-drawer__splitter--after--BorderLeftWidth: 0;\n }\n\n .pf-c-drawer > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-no-border,\n.pf-c-drawer.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel.pf-m-no-border {\n --pf-c-drawer--m-expanded__panel--BoxShadow: none;\n }\n\n .pf-c-drawer__splitter {\n display: block;\n visibility: visible;\n }\n}\n@media (min-width: 768px) {\n .pf-c-drawer__panel.pf-m-width-25 {\n --pf-c-drawer__panel--md--FlexBasis: 25%;\n }\n\n .pf-c-drawer__panel.pf-m-width-33 {\n --pf-c-drawer__panel--md--FlexBasis: 33%;\n }\n\n .pf-c-drawer__panel.pf-m-width-50 {\n --pf-c-drawer__panel--md--FlexBasis: 50%;\n }\n\n .pf-c-drawer__panel.pf-m-width-66 {\n --pf-c-drawer__panel--md--FlexBasis: 66%;\n }\n\n .pf-c-drawer__panel.pf-m-width-75 {\n --pf-c-drawer__panel--md--FlexBasis: 75%;\n }\n\n .pf-c-drawer__panel.pf-m-width-100 {\n --pf-c-drawer__panel--md--FlexBasis: 100%;\n }\n}\n@media (min-width: 992px) {\n .pf-c-drawer__panel.pf-m-width-25-on-lg {\n --pf-c-drawer__panel--md--FlexBasis: 25%;\n }\n\n .pf-c-drawer__panel.pf-m-width-33-on-lg {\n --pf-c-drawer__panel--md--FlexBasis: 33%;\n }\n\n .pf-c-drawer__panel.pf-m-width-50-on-lg {\n --pf-c-drawer__panel--md--FlexBasis: 50%;\n }\n\n .pf-c-drawer__panel.pf-m-width-66-on-lg {\n --pf-c-drawer__panel--md--FlexBasis: 66%;\n }\n\n .pf-c-drawer__panel.pf-m-width-75-on-lg {\n --pf-c-drawer__panel--md--FlexBasis: 75%;\n }\n\n .pf-c-drawer__panel.pf-m-width-100-on-lg {\n --pf-c-drawer__panel--md--FlexBasis: 100%;\n }\n}\n@media (min-width: 1200px) {\n .pf-c-drawer__panel.pf-m-width-25-on-xl {\n --pf-c-drawer__panel--md--FlexBasis: 25%;\n }\n\n .pf-c-drawer__panel.pf-m-width-33-on-xl {\n --pf-c-drawer__panel--md--FlexBasis: 33%;\n }\n\n .pf-c-drawer__panel.pf-m-width-50-on-xl {\n --pf-c-drawer__panel--md--FlexBasis: 50%;\n }\n\n .pf-c-drawer__panel.pf-m-width-66-on-xl {\n --pf-c-drawer__panel--md--FlexBasis: 66%;\n }\n\n .pf-c-drawer__panel.pf-m-width-75-on-xl {\n --pf-c-drawer__panel--md--FlexBasis: 75%;\n }\n\n .pf-c-drawer__panel.pf-m-width-100-on-xl {\n --pf-c-drawer__panel--md--FlexBasis: 100%;\n }\n}\n@media (min-width: 1450px) {\n .pf-c-drawer__panel.pf-m-width-25-on-2xl {\n --pf-c-drawer__panel--md--FlexBasis: 25%;\n }\n\n .pf-c-drawer__panel.pf-m-width-33-on-2xl {\n --pf-c-drawer__panel--md--FlexBasis: 33%;\n }\n\n .pf-c-drawer__panel.pf-m-width-50-on-2xl {\n --pf-c-drawer__panel--md--FlexBasis: 50%;\n }\n\n .pf-c-drawer__panel.pf-m-width-66-on-2xl {\n --pf-c-drawer__panel--md--FlexBasis: 66%;\n }\n\n .pf-c-drawer__panel.pf-m-width-75-on-2xl {\n --pf-c-drawer__panel--md--FlexBasis: 75%;\n }\n\n .pf-c-drawer__panel.pf-m-width-100-on-2xl {\n --pf-c-drawer__panel--md--FlexBasis: 100%;\n }\n}\n@media (min-width: 768px) {\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__content,\n.pf-c-drawer.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__content {\n flex-shrink: 1;\n }\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel,\n.pf-c-drawer.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel {\n --pf-c-drawer--m-expanded__panel--BoxShadow: none;\n }\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after,\n.pf-c-drawer.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after {\n background-color: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);\n }\n\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__content {\n overflow-x: auto;\n }\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateX(100%);\n }\n .pf-c-drawer.pf-m-inline.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n margin-left: 0;\n transform: translateX(-100%);\n }\n .pf-c-drawer.pf-m-inline.pf-m-panel-left.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateY(100%);\n }\n .pf-c-drawer.pf-m-inline.pf-m-panel-bottom.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: 0;\n transform: translateY(0);\n }\n\n .pf-c-drawer.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 992px) {\n .pf-c-drawer.pf-m-inline-on-lg > .pf-c-drawer__main > .pf-c-drawer__content,\n.pf-c-drawer.pf-m-static-on-lg > .pf-c-drawer__main > .pf-c-drawer__content {\n flex-shrink: 1;\n }\n .pf-c-drawer.pf-m-inline-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel,\n.pf-c-drawer.pf-m-static-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel {\n --pf-c-drawer--m-expanded__panel--BoxShadow: none;\n }\n .pf-c-drawer.pf-m-inline-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after,\n.pf-c-drawer.pf-m-static-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after {\n background-color: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);\n }\n\n .pf-c-drawer.pf-m-inline-on-lg > .pf-c-drawer__main > .pf-c-drawer__content {\n overflow-x: auto;\n }\n .pf-c-drawer.pf-m-inline-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateX(100%);\n }\n .pf-c-drawer.pf-m-inline-on-lg.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline-on-lg.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n margin-left: 0;\n transform: translateX(-100%);\n }\n .pf-c-drawer.pf-m-inline-on-lg.pf-m-panel-left.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline-on-lg.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline-on-lg.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateY(100%);\n }\n .pf-c-drawer.pf-m-inline-on-lg.pf-m-panel-bottom.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: 0;\n transform: translateY(0);\n }\n\n .pf-c-drawer.pf-m-static-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-lg.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-lg.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-lg > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 1200px) {\n .pf-c-drawer.pf-m-inline-on-xl > .pf-c-drawer__main > .pf-c-drawer__content,\n.pf-c-drawer.pf-m-static-on-xl > .pf-c-drawer__main > .pf-c-drawer__content {\n flex-shrink: 1;\n }\n .pf-c-drawer.pf-m-inline-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel,\n.pf-c-drawer.pf-m-static-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel {\n --pf-c-drawer--m-expanded__panel--BoxShadow: none;\n }\n .pf-c-drawer.pf-m-inline-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after,\n.pf-c-drawer.pf-m-static-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after {\n background-color: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);\n }\n\n .pf-c-drawer.pf-m-inline-on-xl > .pf-c-drawer__main > .pf-c-drawer__content {\n overflow-x: auto;\n }\n .pf-c-drawer.pf-m-inline-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateX(100%);\n }\n .pf-c-drawer.pf-m-inline-on-xl.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline-on-xl.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n margin-left: 0;\n transform: translateX(-100%);\n }\n .pf-c-drawer.pf-m-inline-on-xl.pf-m-panel-left.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline-on-xl.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline-on-xl.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateY(100%);\n }\n .pf-c-drawer.pf-m-inline-on-xl.pf-m-panel-bottom.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: 0;\n transform: translateY(0);\n }\n\n .pf-c-drawer.pf-m-static-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-xl.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-xl.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-xl > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 1450px) {\n .pf-c-drawer.pf-m-inline-on-2xl > .pf-c-drawer__main > .pf-c-drawer__content,\n.pf-c-drawer.pf-m-static-on-2xl > .pf-c-drawer__main > .pf-c-drawer__content {\n flex-shrink: 1;\n }\n .pf-c-drawer.pf-m-inline-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel,\n.pf-c-drawer.pf-m-static-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel {\n --pf-c-drawer--m-expanded__panel--BoxShadow: none;\n }\n .pf-c-drawer.pf-m-inline-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after,\n.pf-c-drawer.pf-m-static-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel:not(.pf-m-no-border)::after {\n background-color: var(--pf-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor);\n }\n\n .pf-c-drawer.pf-m-inline-on-2xl > .pf-c-drawer__main > .pf-c-drawer__content {\n overflow-x: auto;\n }\n .pf-c-drawer.pf-m-inline-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateX(100%);\n }\n .pf-c-drawer.pf-m-inline-on-2xl.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-left: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline-on-2xl.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n margin-left: 0;\n transform: translateX(-100%);\n }\n .pf-c-drawer.pf-m-inline-on-2xl.pf-m-panel-left.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-inline-on-2xl.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: unset;\n visibility: visible;\n }\n .pf-c-drawer.pf-m-inline-on-2xl.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: calc(var(--pf-c-drawer__panel--FlexBasis) * -1);\n transform: translateY(100%);\n }\n .pf-c-drawer.pf-m-inline-on-2xl.pf-m-panel-bottom.pf-m-expanded > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-bottom: 0;\n transform: translateY(0);\n }\n\n .pf-c-drawer.pf-m-static-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-2xl.pf-m-panel-left > .pf-c-drawer__main > .pf-c-drawer__panel {\n margin-right: 0;\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-2xl.pf-m-panel-bottom > .pf-c-drawer__main > .pf-c-drawer__panel {\n transform: translateX(0);\n }\n .pf-c-drawer.pf-m-static-on-2xl > .pf-c-drawer__main > .pf-c-drawer__panel > .pf-c-drawer__body > .pf-c-drawer__head .pf-c-drawer__close {\n display: none;\n visibility: hidden;\n }\n}',""]);const r=o},64320:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-dropdown {\n --pf-c-dropdown__toggle--PaddingTop: var(--pf-global--spacer--form-element);\n --pf-c-dropdown__toggle--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--PaddingBottom: var(--pf-global--spacer--form-element);\n --pf-c-dropdown__toggle--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--MinWidth: 0;\n --pf-c-dropdown__toggle--FontSize: var(--pf-global--FontSize--md);\n --pf-c-dropdown__toggle--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-dropdown__toggle--Color: var(--pf-global--Color--100);\n --pf-c-dropdown__toggle--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-dropdown__toggle--BackgroundColor: transparent;\n --pf-c-dropdown__toggle--before--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-dropdown__toggle--before--BorderTopColor: var(--pf-global--BorderColor--300);\n --pf-c-dropdown__toggle--before--BorderRightColor: var(--pf-global--BorderColor--300);\n --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-dropdown__toggle--before--BorderLeftColor: var(--pf-global--BorderColor--300);\n --pf-c-dropdown__toggle--hover--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-dropdown__toggle--active--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-dropdown__toggle--active--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-dropdown__toggle--focus--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-dropdown__toggle--focus--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-dropdown--m-expanded__toggle--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-dropdown__toggle--disabled--BackgroundColor: var(--pf-global--disabled-color--300);\n --pf-c-dropdown__toggle--m-plain--Color: var(--pf-global--Color--200);\n --pf-c-dropdown__toggle--m-plain--hover--Color: var(--pf-global--Color--100);\n --pf-c-dropdown__toggle--m-plain--disabled--Color: var(--pf-global--disabled-color--200);\n --pf-c-dropdown__toggle--m-plain--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-dropdown__toggle--m-plain--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-dropdown__toggle--m-plain--child--LineHeight: normal;\n --pf-c-dropdown__toggle--m-primary--Color: var(--pf-global--Color--light-100);\n --pf-c-dropdown__toggle--m-primary--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-dropdown__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--100);\n --pf-c-dropdown__toggle--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-dropdown__toggle--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-dropdown__toggle--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-dropdown__toggle-button--Color: var(--pf-global--Color--100);\n --pf-c-dropdown__toggle--m-split-button--child--PaddingTop: var(--pf-global--spacer--form-element);\n --pf-c-dropdown__toggle--m-split-button--child--PaddingRight: var(--pf-global--spacer--xs);\n --pf-c-dropdown__toggle--m-split-button--child--PaddingBottom: var(--pf-global--spacer--form-element);\n --pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-global--spacer--xs);\n --pf-c-dropdown__toggle--m-split-button--child--BackgroundColor: transparent;\n --pf-c-dropdown__toggle--m-split-button--first-child--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--m-split-button--last-child--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--m-split-button--m-action--child--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--m-split-button--m-action--child--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: calc(-1 * var(--pf-global--BorderWidth--sm));\n --pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY: -0.0625rem;\n --pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle-icon--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-dropdown__toggle-icon--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-global--spacer--md);\n --pf-c-dropdown--m-top--m-expanded__toggle-icon--Rotate: 180deg;\n --pf-c-dropdown__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-dropdown__menu--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-dropdown__menu--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-dropdown__menu--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-dropdown__menu--Top: calc(100% + var(--pf-global--spacer--xs));\n --pf-c-dropdown__menu--ZIndex: var(--pf-global--ZIndex--sm);\n --pf-c-dropdown--m-top__menu--Top: 0;\n --pf-c-dropdown--m-top__menu--TranslateY: calc(-100% - var(--pf-global--spacer--xs));\n --pf-c-dropdown__menu-item--BackgroundColor: transparent;\n --pf-c-dropdown__menu-item--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-dropdown__menu-item--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-dropdown__menu-item--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-dropdown__menu-item--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-dropdown__menu-item--FontSize: var(--pf-global--FontSize--md);\n --pf-c-dropdown__menu-item--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-dropdown__menu-item--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-dropdown__menu-item--Color: var(--pf-global--Color--dark-100);\n --pf-c-dropdown__menu-item--hover--Color: var(--pf-global--Color--dark-100);\n --pf-c-dropdown__menu-item--disabled--Color: var(--pf-global--Color--dark-200);\n --pf-c-dropdown__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-dropdown__menu-item--disabled--BackgroundColor: transparent;\n --pf-c-dropdown__menu-item--m-text--Color: var(--pf-global--Color--dark-200);\n --pf-c-dropdown__menu-item-icon--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-dropdown__menu-item-icon--Width: var(--pf-global--icon--FontSize--lg);\n --pf-c-dropdown__menu-item-icon--Height: var(--pf-global--icon--FontSize--lg);\n --pf-c-dropdown__menu-item-description--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-dropdown__menu-item-description--Color: var(--pf-global--Color--dark-200);\n --pf-c-dropdown__group--group--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-dropdown__group-title--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-dropdown__group-title--PaddingRight: var(--pf-c-dropdown__menu-item--PaddingRight);\n --pf-c-dropdown__group-title--PaddingBottom: var(--pf-c-dropdown__menu-item--PaddingBottom);\n --pf-c-dropdown__group-title--PaddingLeft: var(--pf-c-dropdown__menu-item--PaddingLeft);\n --pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--semi-bold);\n --pf-c-dropdown__group-title--Color: var(--pf-global--Color--dark-200);\n --pf-c-dropdown__toggle-image--MarginTop: var(--pf-global--spacer--xs);\n --pf-c-dropdown__toggle-image--MarginBottom: var(--pf-global--spacer--xs);\n --pf-c-dropdown__toggle-image--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-dropdown--c-divider--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-dropdown--c-divider--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight: 0;\n --pf-c-dropdown--c-menu--Top: calc(100% + var(--pf-global--spacer--xs));\n --pf-c-dropdown--c-menu--ZIndex: var(--pf-global--ZIndex--sm);\n --pf-c-dropdown--m-top--c-menu--Top: 0;\n --pf-c-dropdown--m-top--c-menu--TranslateY: calc(-100% - var(--pf-global--spacer--xs));\n --pf-c-dropdown--m-full-height__toggle--before--BorderTopWidth: 0;\n --pf-c-dropdown--m-full-height__toggle--expanded--before--BorderBottomWidth: var(--pf-global--BorderWidth--xl);\n --pf-c-dropdown--m-full-height__toggle--hover--before--BorderBottomWidth: var(--pf-global--BorderWidth--xl);\n --pf-c-dropdown--m-full-height__toggle--active--before--BorderBottomWidth: var(--pf-global--BorderWidth--xl);\n --pf-c-dropdown--m-full-height__toggle--focus--before--BorderBottomWidth: var(--pf-global--BorderWidth--xl);\n --pf-c-dropdown--m-full-height__toggle--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-dropdown--m-full-height__toggle--PaddingLeft: var(--pf-global--spacer--lg);\n position: relative;\n display: inline-block;\n max-width: 100%;\n}\n.pf-c-dropdown .pf-c-divider {\n margin-top: var(--pf-c-dropdown--c-divider--MarginTop);\n margin-bottom: var(--pf-c-dropdown--c-divider--MarginBottom);\n}\n.pf-c-dropdown .pf-c-divider:last-child {\n --pf-c-dropdown--c-divider--MarginBottom: 0;\n}\n.pf-c-dropdown > .pf-c-menu {\n position: absolute;\n top: var(--pf-c-dropdown--c-menu--Top);\n z-index: var(--pf-c-dropdown--c-menu--ZIndex);\n}\n.pf-c-dropdown.pf-m-full-height {\n --pf-c-dropdown__toggle--PaddingRight: var(--pf-c-dropdown--m-full-height__toggle--PaddingRight);\n --pf-c-dropdown__toggle--PaddingLeft: var(--pf-c-dropdown--m-full-height__toggle--PaddingLeft);\n --pf-c-dropdown__toggle--active--before--BorderBottomWidth: var(--pf-c-dropdown--m-full-height__toggle--active--before--BorderBottomWidth);\n --pf-c-dropdown__toggle--focus--before--BorderBottomWidth: var(--pf-c-dropdown--m-full-height__toggle--focus--before--BorderBottomWidth);\n --pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth: var(--pf-c-dropdown--m-full-height__toggle--expanded--before--BorderBottomWidth);\n display: inline-flex;\n align-items: center;\n height: 100%;\n}\n.pf-c-dropdown.pf-m-full-height .pf-c-dropdown__toggle {\n align-self: stretch;\n}\n.pf-c-dropdown.pf-m-full-height .pf-c-dropdown__toggle::before {\n border-top-width: var(--pf-c-dropdown--m-full-height__toggle--before--BorderTopWidth);\n}\n.pf-c-dropdown.pf-m-full-height:hover .pf-c-dropdown__toggle::before {\n border-bottom-width: var(--pf-c-dropdown--m-full-height__toggle--hover--before--BorderBottomWidth);\n}\n\n.pf-c-dropdown__toggle {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-width: var(--pf-c-dropdown__toggle--MinWidth);\n max-width: 100%;\n padding: var(--pf-c-dropdown__toggle--PaddingTop) var(--pf-c-dropdown__toggle--PaddingRight) var(--pf-c-dropdown__toggle--PaddingBottom) var(--pf-c-dropdown__toggle--PaddingLeft);\n font-size: var(--pf-c-dropdown__toggle--FontSize);\n font-weight: var(--pf-c-dropdown__toggle--FontWeight);\n line-height: var(--pf-c-dropdown__toggle--LineHeight);\n color: var(--pf-c-dropdown__toggle--Color);\n background-color: var(--pf-c-dropdown__toggle--BackgroundColor);\n border: none;\n}\n.pf-c-dropdown__toggle::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: "";\n border: var(--pf-c-dropdown__toggle--before--BorderWidth) solid;\n border-color: var(--pf-c-dropdown__toggle--before--BorderTopColor) var(--pf-c-dropdown__toggle--before--BorderRightColor) var(--pf-c-dropdown__toggle--before--BorderBottomColor) var(--pf-c-dropdown__toggle--before--BorderLeftColor);\n}\n.pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {\n pointer-events: none;\n}\n.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled:not(.pf-m-plain) {\n --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--disabled--BackgroundColor);\n}\n.pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain)::before {\n border: 0;\n}\n.pf-c-dropdown__toggle.pf-m-split-button {\n padding: 0;\n}\n.pf-c-dropdown__toggle.pf-m-split-button > * {\n position: relative;\n padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);\n padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);\n padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);\n padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);\n background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);\n}\n.pf-c-dropdown__toggle.pf-m-split-button > *:first-child {\n --pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-c-dropdown__toggle--m-split-button--first-child--PaddingLeft);\n}\n.pf-c-dropdown__toggle.pf-m-split-button > *:last-child {\n --pf-c-dropdown__toggle--m-split-button--child--PaddingRight: var(--pf-c-dropdown__toggle--m-split-button--last-child--PaddingRight);\n}\n.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action {\n --pf-c-dropdown__toggle--m-split-button--child--PaddingRight: var(--pf-c-dropdown__toggle--m-split-button--m-action--child--PaddingRight);\n --pf-c-dropdown__toggle--m-split-button--child--PaddingLeft: var(--pf-c-dropdown__toggle--m-split-button--m-action--child--PaddingLeft);\n}\n.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action .pf-c-dropdown__toggle-button {\n margin-right: var(--pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight);\n}\n.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action .pf-c-dropdown__toggle-button::before {\n border-left: 0;\n}\n.pf-c-dropdown__toggle.pf-m-split-button.pf-m-action .pf-c-dropdown__toggle-button:last-child {\n --pf-c-dropdown__toggle--m-split-button--m-action__toggle-button--MarginRight: 0;\n}\n.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check > input,\n.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check .pf-c-check {\n cursor: pointer;\n transform: translateY(var(--pf-c-dropdown__toggle--m-split-button__toggle-check__input--TranslateY));\n}\n.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-button {\n color: var(--pf-c-dropdown__toggle-button--Color);\n border: 0;\n}\n.pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-text {\n margin-left: var(--pf-c-dropdown__toggle--m-split-button__toggle-text--MarginLeft);\n}\n.pf-c-dropdown__toggle:not(.pf-m-action):hover::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:hover::before {\n --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--hover--before--BorderBottomColor);\n}\n.pf-c-dropdown__toggle:not(.pf-m-action):active::before, .pf-c-dropdown__toggle:not(.pf-m-action).pf-m-active::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:active::before {\n --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);\n border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);\n}\n.pf-c-dropdown__toggle:not(.pf-m-action):focus::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:focus::before {\n --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);\n border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);\n}\n.pf-m-expanded > .pf-c-dropdown__toggle:not(.pf-m-action)::before, .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button::before {\n --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomColor);\n border-bottom-width: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth);\n}\n.pf-c-dropdown__toggle.pf-m-plain {\n --pf-c-dropdown__toggle--PaddingRight: var(--pf-c-dropdown__toggle--m-plain--PaddingRight);\n --pf-c-dropdown__toggle--PaddingLeft: var(--pf-c-dropdown__toggle--m-plain--PaddingLeft);\n display: inline-block;\n color: var(--pf-c-dropdown__toggle--m-plain--Color);\n}\n.pf-c-dropdown__toggle.pf-m-plain > * {\n line-height: var(--pf-c-dropdown__toggle--m-plain--child--LineHeight);\n}\n.pf-c-dropdown__toggle.pf-m-plain::before {\n border: 0;\n}\n.pf-c-dropdown__toggle.pf-m-plain:hover, .pf-c-dropdown__toggle.pf-m-plain:active, .pf-c-dropdown__toggle.pf-m-plain.pf-m-active, .pf-c-dropdown__toggle.pf-m-plain:focus, .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-plain {\n --pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--hover--Color);\n}\n.pf-c-dropdown__toggle.pf-m-plain.pf-m-disabled, .pf-c-dropdown__toggle.pf-m-plain:disabled {\n --pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--disabled--Color);\n}\n.pf-c-dropdown__toggle.pf-m-primary {\n --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);\n --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);\n border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);\n}\n.pf-c-dropdown__toggle.pf-m-primary::before {\n border: 0;\n}\n.pf-c-dropdown__toggle.pf-m-primary:hover {\n --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--hover--BackgroundColor);\n}\n.pf-c-dropdown__toggle.pf-m-primary:active, .pf-c-dropdown__toggle.pf-m-primary.pf-m-active {\n --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);\n}\n.pf-c-dropdown__toggle.pf-m-primary:focus {\n --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--focus--BackgroundColor);\n}\n.pf-m-expanded > .pf-c-dropdown__toggle.pf-m-primary {\n --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);\n}\n.pf-c-dropdown__toggle > .pf-c-badge {\n --pf-c-dropdown__toggle-icon--MarginLeft: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft);\n --pf-c-dropdown__toggle-icon--MarginRight: var(--pf-c-dropdown__toggle--c-badge__toggle-icon--MarginRight);\n}\n.pf-c-dropdown__toggle .pf-c-dropdown__toggle-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.pf-c-dropdown__toggle-icon {\n margin-right: var(--pf-c-dropdown__toggle-icon--MarginRight);\n margin-left: var(--pf-c-dropdown__toggle-icon--MarginLeft);\n line-height: var(--pf-c-dropdown__toggle-icon--LineHeight);\n}\n.pf-c-dropdown.pf-m-top.pf-m-expanded .pf-c-dropdown__toggle-icon {\n transform: rotate(var(--pf-c-dropdown--m-top--m-expanded__toggle-icon--Rotate));\n}\n\n.pf-c-dropdown__toggle-image {\n display: inline-flex;\n margin-top: var(--pf-c-dropdown__toggle-image--MarginTop);\n margin-right: var(--pf-c-dropdown__toggle-image--MarginRight);\n margin-bottom: var(--pf-c-dropdown__toggle-image--MarginBottom);\n}\n.pf-c-dropdown__toggle-image:last-child {\n --pf-c-dropdown__toggle-image--MarginRight: 0;\n}\n\n.pf-c-dropdown__menu {\n position: absolute;\n top: var(--pf-c-dropdown__menu--Top);\n z-index: var(--pf-c-dropdown__menu--ZIndex);\n padding-top: var(--pf-c-dropdown__menu--PaddingTop);\n padding-bottom: var(--pf-c-dropdown__menu--PaddingBottom);\n background: var(--pf-c-dropdown__menu--BackgroundColor);\n background-clip: padding-box;\n box-shadow: var(--pf-c-dropdown__menu--BoxShadow);\n}\n\n.pf-c-dropdown .pf-c-menu,\n.pf-c-dropdown__menu {\n min-width: 100%;\n}\n.pf-c-dropdown .pf-c-menu.pf-m-align-right,\n.pf-c-dropdown__menu.pf-m-align-right {\n right: 0;\n}\n.pf-c-dropdown .pf-c-menu.pf-m-align-left,\n.pf-c-dropdown__menu.pf-m-align-left {\n right: auto;\n}\n@media (min-width: 576px) {\n .pf-c-dropdown .pf-c-menu.pf-m-align-right-on-sm,\n.pf-c-dropdown__menu.pf-m-align-right-on-sm {\n right: 0;\n }\n .pf-c-dropdown .pf-c-menu.pf-m-align-left-on-sm,\n.pf-c-dropdown__menu.pf-m-align-left-on-sm {\n right: auto;\n }\n}\n@media (min-width: 768px) {\n .pf-c-dropdown .pf-c-menu.pf-m-align-right-on-md,\n.pf-c-dropdown__menu.pf-m-align-right-on-md {\n right: 0;\n }\n .pf-c-dropdown .pf-c-menu.pf-m-align-left-on-md,\n.pf-c-dropdown__menu.pf-m-align-left-on-md {\n right: auto;\n }\n}\n@media (min-width: 992px) {\n .pf-c-dropdown .pf-c-menu.pf-m-align-right-on-lg,\n.pf-c-dropdown__menu.pf-m-align-right-on-lg {\n right: 0;\n }\n .pf-c-dropdown .pf-c-menu.pf-m-align-left-on-lg,\n.pf-c-dropdown__menu.pf-m-align-left-on-lg {\n right: auto;\n }\n}\n@media (min-width: 1200px) {\n .pf-c-dropdown .pf-c-menu.pf-m-align-right-on-xl,\n.pf-c-dropdown__menu.pf-m-align-right-on-xl {\n right: 0;\n }\n .pf-c-dropdown .pf-c-menu.pf-m-align-left-on-xl,\n.pf-c-dropdown__menu.pf-m-align-left-on-xl {\n right: auto;\n }\n}\n@media (min-width: 1450px) {\n .pf-c-dropdown .pf-c-menu.pf-m-align-right-on-2xl,\n.pf-c-dropdown__menu.pf-m-align-right-on-2xl {\n right: 0;\n }\n .pf-c-dropdown .pf-c-menu.pf-m-align-left-on-2xl,\n.pf-c-dropdown__menu.pf-m-align-left-on-2xl {\n right: auto;\n }\n}\n\n.pf-c-dropdown.pf-m-top .pf-c-dropdown__menu {\n --pf-c-dropdown__menu--Top: var(--pf-c-dropdown--m-top__menu--Top);\n transform: translateY(var(--pf-c-dropdown--m-top__menu--TranslateY));\n}\n.pf-c-dropdown.pf-m-top > .pf-c-menu {\n --pf-c-dropdown--c-menu--Top: var(--pf-c-dropdown--m-top--c-menu--Top);\n transform: translateY(var(--pf-c-dropdown--m-top--c-menu--TranslateY));\n}\n\n.pf-c-dropdown__menu-item {\n display: block;\n width: 100%;\n padding: var(--pf-c-dropdown__menu-item--PaddingTop) var(--pf-c-dropdown__menu-item--PaddingRight) var(--pf-c-dropdown__menu-item--PaddingBottom) var(--pf-c-dropdown__menu-item--PaddingLeft);\n font-size: var(--pf-c-dropdown__menu-item--FontSize);\n font-weight: var(--pf-c-dropdown__menu-item--FontWeight);\n line-height: var(--pf-c-dropdown__menu-item--LineHeight);\n color: var(--pf-c-dropdown__menu-item--Color);\n text-align: left;\n white-space: nowrap;\n background-color: var(--pf-c-dropdown__menu-item--BackgroundColor);\n border: none;\n}\n.pf-c-dropdown__menu-item:hover, .pf-c-dropdown__menu-item:focus {\n --pf-c-dropdown__menu-item--Color: var(--pf-c-dropdown__menu-item--hover--Color);\n --pf-c-dropdown__menu-item--BackgroundColor: var(--pf-c-dropdown__menu-item--hover--BackgroundColor);\n text-decoration: none;\n}\n.pf-c-dropdown__menu-item:disabled, .pf-c-dropdown__menu-item.pf-m-disabled, .pf-c-dropdown__menu-item.pf-m-aria-disabled {\n --pf-c-dropdown__menu-item--Color: var(--pf-c-dropdown__menu-item--disabled--Color);\n --pf-c-dropdown__menu-item--BackgroundColor: var(--pf-c-dropdown__menu-item--disabled--BackgroundColor);\n}\n.pf-c-dropdown__menu-item:disabled, .pf-c-dropdown__menu-item.pf-m-disabled {\n pointer-events: none;\n}\n.pf-c-dropdown__menu-item.pf-m-aria-disabled {\n cursor: default;\n}\n.pf-c-dropdown__menu-item.pf-m-icon {\n display: flex;\n align-items: center;\n}\n.pf-c-dropdown__menu-item.pf-m-icon.pf-m-description {\n flex-direction: column;\n align-items: start;\n}\n.pf-c-dropdown__menu-item.pf-m-icon .pf-c-dropdown__menu-item-main {\n display: flex;\n align-items: center;\n}\n.pf-c-dropdown__menu-item.pf-m-text {\n --pf-c-dropdown__menu-item--Color: var(--pf-c-dropdown__menu-item--m-text--Color);\n}\n.pf-c-dropdown__menu-item.pf-m-text:hover, .pf-c-dropdown__menu-item.pf-m-text:focus {\n --pf-c-dropdown__menu-item--BackgroundColor: transparent;\n}\n\n.pf-c-dropdown__menu-item-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--pf-c-dropdown__menu-item-icon--Width);\n height: var(--pf-c-dropdown__menu-item-icon--Height);\n margin-right: var(--pf-c-dropdown__menu-item-icon--MarginRight);\n}\n.pf-c-dropdown__menu-item-icon > * {\n max-width: 100%;\n max-height: 100%;\n}\n\n.pf-c-dropdown__menu-item-description {\n font-size: var(--pf-c-dropdown__menu-item-description--FontSize);\n color: var(--pf-c-dropdown__menu-item-description--Color);\n}\n\n.pf-c-dropdown__group + .pf-c-dropdown__group {\n padding-top: var(--pf-c-dropdown__group--group--PaddingTop);\n}\n\n.pf-c-dropdown__group-title {\n padding-top: var(--pf-c-dropdown__group-title--PaddingTop);\n padding-right: var(--pf-c-dropdown__group-title--PaddingRight);\n padding-bottom: var(--pf-c-dropdown__group-title--PaddingBottom);\n padding-left: var(--pf-c-dropdown__group-title--PaddingLeft);\n font-size: var(--pf-c-dropdown__group-title--FontSize);\n font-weight: var(--pf-c-dropdown__group-title--FontWeight);\n color: var(--pf-c-dropdown__group-title--Color);\n}',""]);const r=o},72161:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-empty-state {\n --pf-c-empty-state--PaddingTop: var(--pf-global--spacer--xl);\n --pf-c-empty-state--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-empty-state--PaddingBottom: var(--pf-global--spacer--xl);\n --pf-c-empty-state--PaddingLeft: var(--pf-global--spacer--xl);\n --pf-c-empty-state__content--MaxWidth: none;\n --pf-c-empty-state__icon--MarginBottom: var(--pf-global--spacer--lg);\n --pf-c-empty-state__icon--FontSize: var(--pf-global--icon--FontSize--xl);\n --pf-c-empty-state__icon--Color: var(--pf-global--icon--Color--light);\n --pf-c-empty-state__content--c-title--m-lg--FontSize: var(--pf-global--FontSize--xl);\n --pf-c-empty-state__body--MarginTop: var(--pf-global--spacer--md);\n --pf-c-empty-state__body--Color: var(--pf-global--Color--200);\n --pf-c-empty-state__primary--MarginTop: var(--pf-global--spacer--xl);\n --pf-c-empty-state__primary--secondary--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-empty-state__secondary--MarginTop: var(--pf-global--spacer--xl);\n --pf-c-empty-state__secondary--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-empty-state__secondary--child--MarginRight: calc(var(--pf-global--spacer--xs) / 2);\n --pf-c-empty-state__secondary--child--MarginBottom: var(--pf-global--spacer--xs);\n --pf-c-empty-state__secondary--child--MarginLeft: calc(var(--pf-global--spacer--xs) / 2);\n --pf-c-empty-state--m-xs__content--MaxWidth: 21.875rem;\n --pf-c-empty-state--m-xs__body--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-empty-state--m-xs--button--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-empty-state--m-xs--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs__icon--MarginBottom: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs__body--MarginTop: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs__primary--MarginTop: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-xs__secondary--MarginTop: var(--pf-global--spacer--md);\n --pf-c-empty-state--m-sm__content--MaxWidth: 25rem;\n --pf-c-empty-state--m-lg__content--MaxWidth: 37.5rem;\n --pf-c-empty-state--m-xl__body--FontSize: var(--pf-global--FontSize--xl);\n --pf-c-empty-state--m-xl__body--MarginTop: var(--pf-global--spacer--lg);\n --pf-c-empty-state--m-xl__icon--MarginBottom: var(--pf-global--spacer--xl);\n --pf-c-empty-state--m-xl__icon--FontSize: 6.25rem;\n --pf-c-empty-state--m-xl--c-button__secondary--MarginTop: var(--pf-global--spacer--md);\n display: flex;\n align-items: center;\n justify-content: center;\n padding: var(--pf-c-empty-state--PaddingTop) var(--pf-c-empty-state--PaddingRight) var(--pf-c-empty-state--PaddingBottom) var(--pf-c-empty-state--PaddingLeft);\n text-align: center;\n}\n.pf-c-empty-state.pf-m-xs {\n --pf-c-empty-state--PaddingTop: var(--pf-c-empty-state--m-xs--PaddingTop);\n --pf-c-empty-state--PaddingRight: var(--pf-c-empty-state--m-xs--PaddingRight);\n --pf-c-empty-state--PaddingBottom: var(--pf-c-empty-state--m-xs--PaddingBottom);\n --pf-c-empty-state--PaddingLeft: var(--pf-c-empty-state--m-xs--PaddingLeft);\n --pf-c-empty-state__content--MaxWidth: var(--pf-c-empty-state--m-xs__content--MaxWidth);\n --pf-c-empty-state__icon--MarginBottom: var(--pf-c-empty-state--m-xs__icon--MarginBottom);\n --pf-c-empty-state__body--MarginTop: var(--pf-c-empty-state--m-xs__body--MarginTop);\n --pf-c-empty-state__primary--MarginTop: var(--pf-c-empty-state--m-xs__primary--MarginTop);\n --pf-c-empty-state__secondary--MarginTop: var(--pf-c-empty-state--m-xs__secondary--MarginTop);\n}\n.pf-c-empty-state.pf-m-xs .pf-c-empty-state__body {\n font-size: var(--pf-c-empty-state--m-xs__body--FontSize);\n}\n.pf-c-empty-state.pf-m-xs .pf-c-button {\n --pf-c-button--FontSize: var(--pf-c-empty-state--m-xs--button--FontSize);\n}\n.pf-c-empty-state.pf-m-sm {\n --pf-c-empty-state__content--MaxWidth: var(--pf-c-empty-state--m-sm__content--MaxWidth);\n}\n.pf-c-empty-state.pf-m-lg {\n --pf-c-empty-state__content--MaxWidth: var(--pf-c-empty-state--m-lg__content--MaxWidth);\n}\n.pf-c-empty-state.pf-m-xl {\n --pf-c-empty-state__body--MarginTop: var(--pf-c-empty-state--m-xl__body--MarginTop);\n --pf-c-empty-state__icon--MarginBottom: var(--pf-c-empty-state--m-xl__icon--MarginBottom);\n --pf-c-empty-state__icon--FontSize: var(--pf-c-empty-state--m-xl__icon--FontSize);\n --pf-c-empty-state--c-button__secondary--MarginTop: var(--pf-c-empty-state--m-xl--c-button__secondary--MarginTop);\n}\n.pf-c-empty-state.pf-m-xl .pf-c-empty-state__body {\n font-size: var(--pf-c-empty-state--m-xl__body--FontSize);\n}\n.pf-c-empty-state.pf-m-full-height {\n height: 100%;\n}\n\n.pf-c-empty-state__content {\n max-width: var(--pf-c-empty-state__content--MaxWidth);\n}\n.pf-c-empty-state__content > .pf-c-title.pf-m-lg {\n font-size: var(--pf-c-empty-state__content--c-title--m-lg--FontSize);\n}\n\n.pf-c-empty-state__icon {\n margin-bottom: var(--pf-c-empty-state__icon--MarginBottom);\n font-size: var(--pf-c-empty-state__icon--FontSize);\n color: var(--pf-c-empty-state__icon--Color);\n}\n\n.pf-c-empty-state__body {\n margin-top: var(--pf-c-empty-state__body--MarginTop);\n color: var(--pf-c-empty-state__body--Color);\n}\n\n.pf-c-empty-state__content > .pf-c-button.pf-m-primary,\n.pf-c-empty-state__primary {\n margin-top: var(--pf-c-empty-state__primary--MarginTop);\n}\n.pf-c-empty-state__content > .pf-c-button.pf-m-primary + .pf-c-empty-state__secondary,\n.pf-c-empty-state__primary + .pf-c-empty-state__secondary {\n margin-top: var(--pf-c-empty-state__primary--secondary--MarginTop);\n}\n\n.pf-c-empty-state__secondary {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: var(--pf-c-empty-state__secondary--MarginTop);\n margin-bottom: var(--pf-c-empty-state__secondary--MarginBottom);\n}\n.pf-c-empty-state__secondary > * {\n margin-right: var(--pf-c-empty-state__secondary--child--MarginRight);\n margin-bottom: var(--pf-c-empty-state__secondary--child--MarginBottom);\n margin-left: var(--pf-c-empty-state__secondary--child--MarginLeft);\n}\n\n.pf-m-overpass-font .pf-c-empty-state .pf-c-empty-state__content > .pf-c-title.pf-m-lg {\n font-size: var(--pf-global--FontSize--lg);\n}",""]);const r=o},22143:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-form {\n --pf-c-form--GridGap: var(--pf-global--gutter--md);\n --pf-c-form__group--m-action--MarginTop: var(--pf-global--spacer--xl);\n --pf-c-form--m-horizontal__group-label--md--GridColumnWidth: 9.375rem;\n --pf-c-form--m-horizontal__group-label--md--GridColumnGap: var(--pf-global--spacer--md);\n --pf-c-form--m-horizontal__group-control--md--GridColumnWidth: 1fr;\n --pf-c-form--m-limit-width--MaxWidth: 31.25rem;\n --pf-c-form--m-horizontal__group-label--md--PaddingTop: calc((((((var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--md)) + (2 * var(--pf-global--BorderWidth--sm))) - var(--pf-global--FontSize--md)) / 2) + var(--pf-global--FontSize--md)) - ((((var(--pf-global--FontSize--sm) * var(--pf-global--LineHeight--sm)) - var(--pf-global--FontSize--sm)) / 2) + var(--pf-global--FontSize--sm)) + var(--pf-global--BorderWidth--sm));\n --pf-c-form__group-label--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop: 0;\n --pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-global--FontSize--sm) * var(--pf-global--LineHeight--sm)) - var(--pf-global--FontSize--sm)) / 2) + var(--pf-global--FontSize--sm)) - ((((var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--sm)) - var(--pf-global--FontSize--md)) / 2) + var(--pf-global--FontSize--md)));\n --pf-c-form__label--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-form__label--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-form__label--m-disabled--Color: var(--pf-global--disabled-color--100);\n --pf-c-form__label-text--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-form__label-required--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-form__label-required--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-form__label-required--Color: var(--pf-global--danger-color--100);\n --pf-c-form__group-label-help--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-form__group-label-help--PaddingRight: var(--pf-global--spacer--xs);\n --pf-c-form__group-label-help--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-form__group-label-help--PaddingLeft: var(--pf-global--spacer--xs);\n --pf-c-form__group-label-help--MarginTop: calc(var(--pf-c-form__group-label-help--PaddingTop) * -1);\n --pf-c-form__group-label-help--MarginRight: calc(var(--pf-c-form__group-label-help--PaddingRight) * -1);\n --pf-c-form__group-label-help--MarginBottom: calc(var(--pf-c-form__group-label-help--PaddingBottom) * -1);\n --pf-c-form__group-label-help--MarginLeft: calc(var(--pf-c-form__group-label-help--PaddingLeft) * -1 + var(--pf-global--spacer--xs));\n --pf-c-form__group-label-help--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-form__group-label-help--TranslateY: 0.125rem;\n --pf-c-form__group-label-help--Color: var(--pf-global--Color--200);\n --pf-c-form__group-label-help--hover--Color: var(--pf-global--Color--100);\n --pf-c-form__group-label-help--focus--Color: var(--pf-global--Color--100);\n --pf-c-form__group-label-info--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-form__group-label-info--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-form__group-control--m-inline--child--MarginRight: var(--pf-global--spacer--lg);\n --pf-c-form__group-control__helper-text--MarginBottom: var(--pf-global--spacer--xs);\n --pf-c-grid__group-control--m-stack--Gap: var(--pf-global--spacer--sm);\n --pf-c-grid__group-control--m-stack__helper-text--MarginTop: calc(var(--pf-c-grid__group-control--m-stack--Gap) * -1 + var(--pf-c-form__helper-text--MarginTop--base));\n --pf-c-form__actions--child--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-form__actions--child--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-form__actions--child--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-form__actions--child--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-form__actions--MarginTop: calc(var(--pf-c-form__actions--child--MarginTop) * -1);\n --pf-c-form__actions--MarginRight: calc(var(--pf-c-form__actions--child--MarginRight) * -1);\n --pf-c-form__actions--MarginBottom: calc(var(--pf-c-form__actions--child--MarginBottom) * -1);\n --pf-c-form__actions--MarginLeft: calc(var(--pf-c-form__actions--child--MarginLeft) * -1);\n --pf-c-form__helper-text--MarginTop--base: var(--pf-global--spacer--xs);\n --pf-c-form__helper-text--MarginTop: var(--pf-c-form__helper-text--MarginTop--base);\n --pf-c-form__helper-text--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-form__helper-text--Color: var(--pf-global--Color--100);\n --pf-c-form__helper-text-icon--FontSize: var(--pf-global--FontSize--md);\n --pf-c-form__helper-text-icon--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-form__helper-text--m-success--Color: var(--pf-global--success-color--200);\n --pf-c-form__helper-text--m-warning--Color: var(--pf-global--warning-color--200);\n --pf-c-form__helper-text--m-error--Color: var(--pf-global--danger-color--100);\n --pf-c-form__section--MarginTop: var(--pf-global--spacer--xl);\n --pf-c-form__section--Gap: var(--pf-global--gutter--md);\n --pf-c-form__section-title--FontSize: var(--pf-global--FontSize--lg);\n --pf-c-form__section-title--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-form__section-title--MarginBottom: calc(var(--pf-global--spacer--sm) * -1);\n --pf-c-form__field-group--border-width-base: var(--pf-global--BorderWidth--sm);\n --pf-c-form__field-group--BorderTopWidth: var(--pf-c-form__field-group--border-width-base);\n --pf-c-form__field-group--BorderTopColor: var(--pf-global--BorderColor--100);\n --pf-c-form__field-group--BorderBottomWidth: var(--pf-c-form__field-group--border-width-base);\n --pf-c-form__field-group--BorderBottomColor: var(--pf-global--BorderColor--100);\n --pf-c-form__field-group--field-group--MarginTop: calc(var(--pf-c-form--GridGap) * -1);\n --pf-c-form__field-group--GridTemplateColumns--toggle: calc(var(--pf-global--spacer--md) * 2 + var(--pf-c-form__field-group-toggle-icon--MinWidth) + var(--pf-global--spacer--xs));\n --pf-c-form__field-group-toggle--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-form__field-group-toggle--PaddingRight: var(--pf-global--spacer--xs);\n --pf-c-form__field-group__field-group__field-group-toggle--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-form__field-group-header-toggle--BorderWidth--base: var(--pf-global--BorderWidth--sm);\n --pf-c-form__field-group__field-group--field-group__field-group-toggle--after--BorderTopWidth: var(--pf-c-form__field-group-header-toggle--BorderWidth--base);\n --pf-c-form__field-group-toggle-button--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-form__field-group-toggle-button--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-form__field-group-toggle-icon--Transition: var(--pf-global--Transition);\n --pf-c-form__field-group-toggle-icon--MinWidth: var(--pf-global--FontSize--md);\n --pf-c-form__field-group-toggle-icon--Rotate: 0;\n --pf-c-form__field-group--m-expanded__toggle-icon--Rotate: 90deg;\n --pf-c-form__field-group-header--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-form__field-group-header--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-form__field-group-header--GridColumn: 1 / 3;\n --pf-c-form__field-group__field-group__field-group-header--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-form__field-group__field-group__field-group-header--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-form__field-group-toggle--field-group-header--GridColumn: 2 / 3;\n --pf-c-form__field-group__field-group--field-group__field-group-header--after--BorderTopWidth: var(--pf-c-form__field-group-header-toggle--BorderWidth--base);\n --pf-c-form__field-group-header-description--MarginTop: var(--pf-global--spacer--xs);\n --pf-c-form__field-group-header-description--Color: var(--pf-global--Color--200);\n --pf-c-form__field-group-header-actions--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-form__field-group-header-actions--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-form__field-group-header-actions--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-form__field-group-body--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-form__field-group-body--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-form__field-group-body--Gap: var(--pf-c-form--GridGap);\n --pf-c-form__field-group-body--GridColumn: 2 / 3;\n --pf-c-form__field-group__field-group__field-group-body--GridColumn: 1 / 3;\n --pf-c-form__field-group__field-group__field-group-toggle--field-group-body--GridColumn: 2 / 3;\n --pf-c-form__field-group-body__field-group--last-child--MarginBottom: calc(var(--pf-c-form__field-group-body--PaddingBottom) * -1);\n display: grid;\n gap: var(--pf-c-form--GridGap);\n}\n.pf-c-form.pf-m-horizontal.pf-m-align-right .pf-c-form__label {\n text-align: right;\n}\n@media (min-width: 768px) {\n .pf-c-form.pf-m-horizontal {\n --pf-c-form__group-label--PaddingBottom: 0;\n }\n .pf-c-form.pf-m-horizontal .pf-c-form__group {\n display: grid;\n grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);\n grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);\n }\n .pf-c-form.pf-m-horizontal .pf-c-form__group-label {\n padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);\n }\n .pf-c-form.pf-m-horizontal .pf-c-form__group-label.pf-m-no-padding-top {\n --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);\n transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));\n }\n .pf-c-form.pf-m-horizontal .pf-c-form__group-control {\n grid-column: 2;\n }\n}\n.pf-c-form.pf-m-limit-width {\n max-width: var(--pf-c-form--m-limit-width--MaxWidth);\n}\n\n.pf-c-form__group.pf-m-action {\n margin-top: var(--pf-c-form__group--m-action--MarginTop);\n overflow: hidden;\n}\n\n.pf-c-form__section {\n display: grid;\n gap: var(--pf-c-form__section--Gap);\n}\n.pf-c-form__section + .pf-c-form__group:not(.pf-m-action), .pf-c-form__section:not(:first-child) {\n margin-top: var(--pf-c-form__section--MarginTop);\n}\n\n.pf-c-form__section-title {\n margin-bottom: var(--pf-c-form__section-title--MarginBottom);\n font-size: var(--pf-c-form__section-title--FontSize);\n font-weight: var(--pf-c-form__section-title--FontWeight);\n}\n\n.pf-c-form__group-label {\n --pf-c-form__helper-text--MarginTop: 0;\n padding-bottom: var(--pf-c-form__group-label--PaddingBottom);\n}\n.pf-c-form__group-label.pf-m-info {\n display: flex;\n align-items: flex-end;\n}\n\n.pf-c-form__group-label-main {\n flex-grow: 1;\n}\n\n.pf-c-form__group-label-info {\n margin-left: var(--pf-c-form__group-label-info--MarginLeft);\n font-size: var(--pf-c-form__group-label-info--FontSize);\n}\n\n.pf-c-form__label {\n font-size: var(--pf-c-form__label--FontSize);\n line-height: var(--pf-c-form__label--LineHeight);\n}\n.pf-c-form__label::selection {\n background-color: none;\n}\n.pf-c-form__label:not(.pf-m-disabled):hover {\n cursor: pointer;\n}\n.pf-c-form__label.pf-m-disabled {\n color: var(--pf-c-form__label--m-disabled--Color);\n}\n.pf-c-form__label.pf-m-disabled:hover {\n cursor: not-allowed;\n}\n\n.pf-c-form__label-text {\n font-weight: var(--pf-c-form__label-text--FontWeight);\n}\n\n.pf-c-form__label-required {\n margin-left: var(--pf-c-form__label-required--MarginLeft);\n font-size: var(--pf-c-form__label-required--FontSize);\n color: var(--pf-c-form__label-required--Color);\n}\n\n.pf-c-form__group-label-help {\n padding-top: var(--pf-c-form__group-label-help--PaddingTop);\n padding-right: var(--pf-c-form__group-label-help--PaddingRight);\n padding-bottom: var(--pf-c-form__group-label-help--PaddingBottom);\n padding-left: var(--pf-c-form__group-label-help--PaddingLeft);\n margin-top: var(--pf-c-form__group-label-help--MarginTop);\n margin-right: var(--pf-c-form__group-label-help--MarginRight);\n margin-bottom: var(--pf-c-form__group-label-help--MarginBottom);\n margin-left: var(--pf-c-form__group-label-help--MarginLeft);\n font-size: var(--pf-c-form__group-label-help--FontSize);\n line-height: 1;\n color: var(--pf-c-form__group-label-help--Color);\n border: 0;\n transform: translateY(var(--pf-c-form__group-label-help--TranslateY));\n}\n.pf-c-form__group-label-help:hover {\n --pf-c-form__group-label-help--Color: var(--pf-c-form__group-label-help--hover--Color);\n}\n.pf-c-form__group-label-help:focus-within {\n --pf-c-form__group-label-help--Color: var(--pf-c-form__group-label-help--focus--Color);\n}\n\n.pf-c-form__group-control.pf-m-inline {\n display: flex;\n flex-flow: row wrap;\n}\n.pf-c-form__group-control.pf-m-inline > * {\n margin-right: var(--pf-c-form__group-control--m-inline--child--MarginRight);\n}\n.pf-c-form__group-control.pf-m-inline > :last-child {\n --pf-c-form__group-control--m-inline--child--MarginRight: 0;\n}\n.pf-c-form__group-control.pf-m-stack {\n display: grid;\n gap: var(--pf-c-grid__group-control--m-stack--Gap);\n --pf-c-form__helper-text--MarginTop: var(--pf-c-grid__group-control--m-stack__helper-text--MarginTop);\n}\n.pf-c-form__group-control .pf-c-form__helper-text:first-child {\n --pf-c-form__helper-text--MarginTop: 0;\n margin-bottom: var(--pf-c-form__group-control__helper-text--MarginBottom);\n}\n\n.pf-c-form__helper-text {\n margin-top: var(--pf-c-form__helper-text--MarginTop);\n font-size: var(--pf-c-form__helper-text--FontSize);\n color: var(--pf-c-form__helper-text--Color);\n}\n.pf-c-form__helper-text.pf-m-error {\n --pf-c-form__helper-text--Color: var(--pf-c-form__helper-text--m-error--Color);\n}\n.pf-c-form__helper-text.pf-m-success {\n --pf-c-form__helper-text--Color: var(--pf-c-form__helper-text--m-success--Color);\n}\n.pf-c-form__helper-text.pf-m-warning {\n --pf-c-form__helper-text--Color: var(--pf-c-form__helper-text--m-warning--Color);\n}\n.pf-c-form__helper-text.pf-m-inactive {\n display: none;\n visibility: hidden;\n}\n.pf-c-form__helper-text.pf-m-hidden {\n visibility: hidden;\n opacity: 0;\n}\n\n.pf-c-form__helper-text-icon {\n margin-right: var(--pf-c-form__helper-text-icon--MarginRight);\n font-size: var(--pf-c-form__helper-text-icon--FontSize);\n}\n\n.pf-c-form__fieldset {\n border: 0;\n}\n\n.pf-c-form__actions {\n display: flex;\n flex-wrap: wrap;\n margin-top: var(--pf-c-form__actions--MarginTop);\n margin-right: var(--pf-c-form__actions--MarginRight);\n margin-bottom: var(--pf-c-form__actions--MarginBottom);\n margin-left: var(--pf-c-form__actions--MarginLeft);\n}\n.pf-c-form__actions > * {\n margin-top: var(--pf-c-form__actions--child--MarginTop);\n margin-right: var(--pf-c-form__actions--child--MarginRight);\n margin-bottom: var(--pf-c-form__actions--child--MarginBottom);\n margin-left: var(--pf-c-form__actions--child--MarginLeft);\n}\n\n.pf-c-form__field-group {\n --pf-c-form__field-group--BorderTopWidth: var(--pf-c-form__field-group--border-width-base);\n display: grid;\n grid-template-columns: minmax(var(--pf-c-form__field-group--GridTemplateColumns--toggle), max-content) 1fr;\n border-top: var(--pf-c-form__field-group--BorderTopWidth) solid var(--pf-c-form__field-group--BorderTopColor);\n border-bottom: var(--pf-c-form__field-group--BorderBottomWidth) solid var(--pf-c-form__field-group--BorderBottomColor);\n}\n.pf-c-form__field-group:last-child {\n --pf-c-form__field-group--BorderBottomWidth: 0;\n}\n.pf-c-form__field-group + .pf-c-form__field-group, .pf-c-form__field-group:first-child {\n --pf-c-form__field-group--BorderTopWidth: 0;\n}\n.pf-c-form__field-group + .pf-c-form__field-group {\n margin-top: var(--pf-c-form__field-group--field-group--MarginTop);\n}\n.pf-c-form__field-group .pf-c-form__field-group {\n --pf-c-form__field-group-body--GridColumn: var(--pf-c-form__field-group__field-group__field-group-body--GridColumn);\n --pf-c-form__field-group-toggle--PaddingTop: var(--pf-c-form__field-group__field-group__field-group-toggle--PaddingTop);\n --pf-c-form__field-group-header--PaddingTop: var(--pf-c-form__field-group__field-group__field-group-header--PaddingTop);\n --pf-c-form__field-group-header--PaddingBottom: var(--pf-c-form__field-group__field-group__field-group-header--PaddingBottom);\n --pf-c-form__field-group-body--PaddingTop: 0;\n}\n.pf-c-form__field-group .pf-c-form__field-group .pf-c-form__field-group-toggle ~ .pf-c-form__field-group-body {\n --pf-c-form__field-group-body--GridColumn: var(--pf-c-form__field-group__field-group__field-group-toggle--field-group-body--GridColumn);\n}\n.pf-c-form__field-group.pf-m-expanded > .pf-c-form__field-group-toggle {\n --pf-c-form__field-group-toggle-icon--Rotate: var(--pf-c-form__field-group--m-expanded__toggle-icon--Rotate);\n}\n\n.pf-c-form__field-group-toggle {\n grid-column: 1/2;\n grid-row: 1/2;\n padding-top: var(--pf-c-form__field-group-toggle--PaddingTop);\n padding-right: var(--pf-c-form__field-group-toggle--PaddingRight);\n}\n.pf-c-form__field-group-toggle + .pf-c-form__field-group-header {\n --pf-c-form__field-group-header--GridColumn: var(--pf-c-form__field-group-toggle--field-group-header--GridColumn);\n}\n\n.pf-c-form__field-group-toggle-button {\n margin-top: var(--pf-c-form__field-group-toggle-button--MarginTop);\n margin-bottom: var(--pf-c-form__field-group-toggle-button--MarginBottom);\n}\n\n.pf-c-form__field-group-toggle-icon {\n display: inline-block;\n min-width: var(--pf-c-form__field-group-toggle-icon--MinWidth);\n text-align: center;\n transition: var(--pf-c-form__field-group-toggle-icon--Transition);\n transform: rotate(var(--pf-c-form__field-group-toggle-icon--Rotate));\n}\n\n.pf-c-form__field-group-header {\n grid-column: var(--pf-c-form__field-group-header--GridColumn);\n grid-row: 1/2;\n display: flex;\n align-items: flex-start;\n padding-top: var(--pf-c-form__field-group-header--PaddingTop);\n padding-bottom: var(--pf-c-form__field-group-header--PaddingBottom);\n}\n\n.pf-c-form__field-group-header-main {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.pf-c-form__field-group-header-title {\n display: flex;\n}\n\n.pf-c-form__field-group-header-title-text {\n flex-grow: 1;\n}\n\n.pf-c-form__field-group-header-description {\n margin-top: var(--pf-c-form__field-group-header-description--MarginTop);\n color: var(--pf-c-form__field-group-header-description--Color);\n}\n\n.pf-c-form__field-group-header-actions {\n margin-top: var(--pf-c-form__field-group-header-actions--MarginTop);\n margin-bottom: var(--pf-c-form__field-group-header-actions--MarginBottom);\n margin-left: var(--pf-c-form__field-group-header-actions--MarginLeft);\n white-space: nowrap;\n}\n\n.pf-c-form__field-group-body {\n grid-column: var(--pf-c-form__field-group-body--GridColumn);\n display: grid;\n gap: var(--pf-c-form__field-group-body--Gap);\n padding-top: var(--pf-c-form__field-group-body--PaddingTop);\n padding-bottom: var(--pf-c-form__field-group-body--PaddingBottom);\n}\n.pf-c-form__field-group-body > .pf-c-form__field-group:first-child {\n --pf-c-form__field-group-toggle--PaddingTop: 0;\n --pf-c-form__field-group-header--PaddingTop: 0;\n}\n.pf-c-form__field-group-body > .pf-c-form__field-group:last-child {\n margin-bottom: var(--pf-c-form__field-group-body__field-group--last-child--MarginBottom);\n}",""]);const r=o},95758:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-form-control {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-form-control {\n --pf-c-form-control--FontSize: var(--pf-global--FontSize--md);\n --pf-c-form-control--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-form-control--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-form-control--BorderTopColor: var(--pf-global--BorderColor--300);\n --pf-c-form-control--BorderRightColor: var(--pf-global--BorderColor--300);\n --pf-c-form-control--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-form-control--BorderLeftColor: var(--pf-global--BorderColor--300);\n --pf-c-form-control--BorderRadius: 0;\n --pf-c-form-control--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-form-control--Width: 100%;\n --pf-c-form-control--Height: calc(var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) + var(--pf-c-form-control--BorderWidth) * 2 + var(--pf-c-form-control--PaddingTop) + var(--pf-c-form-control--PaddingBottom));\n --pf-c-form-control--inset--base: var(--pf-global--spacer--sm);\n --pf-c-form-control--PaddingTop: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--sm));\n --pf-c-form-control--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--sm));\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--inset--base);\n --pf-c-form-control--PaddingLeft: var(--pf-c-form-control--inset--base);\n --pf-c-form-control--hover--BorderBottomColor: var(--pf-global--primary-color--100);\n --pf-c-form-control--focus--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-form-control--focus--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--focus--BorderBottomWidth));\n --pf-c-form-control--focus--BorderBottomColor: var(--pf-global--primary-color--100);\n --pf-c-form-control--m-expanded--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-form-control--m-expanded--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--focus--BorderBottomWidth));\n --pf-c-form-control--m-expanded--BorderBottomColor: var(--pf-global--primary-color--100);\n --pf-c-form-control--placeholder--Color: var(--pf-global--Color--dark-200);\n --pf-c-form-control--disabled--Color: var(--pf-global--disabled-color--100);\n --pf-c-form-control--disabled--BackgroundColor: var(--pf-global--disabled-color--300);\n --pf-c-form-control--disabled--BorderColor: transparent;\n --pf-c-form-control--readonly--BackgroundColor: var(--pf-global--disabled-color--300);\n --pf-c-form-control--readonly--hover--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-form-control--readonly--focus--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--sm));\n --pf-c-form-control--readonly--focus--BorderBottomWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-form-control--readonly--focus--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-form-control--success--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-form-control--success--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--success--BorderBottomWidth));\n --pf-c-form-control--success--BorderBottomColor: var(--pf-global--success-color--100);\n --pf-c-form-control--success--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-form-control--success--BackgroundPositionX: calc(100% - var(--pf-c-form-control--PaddingLeft));\n --pf-c-form-control--success--BackgroundPositionY: center;\n --pf-c-form-control--success--BackgroundPosition: var(--pf-c-form-control--success--BackgroundPositionX) var(--pf-c-form-control--success--BackgroundPositionY);\n --pf-c-form-control--success--BackgroundSizeX: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--success--BackgroundSizeY: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--success--BackgroundSize: var(--pf-c-form-control--success--BackgroundSizeX) var(--pf-c-form-control--success--BackgroundSizeY);\n --pf-c-form-control--success--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%233e8635' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E\");\n --pf-c-form-control--m-warning--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-form-control--m-warning--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--m-warning--BorderBottomWidth));\n --pf-c-form-control--m-warning--BorderBottomColor: var(--pf-global--warning-color--100);\n --pf-c-form-control--m-warning--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-form-control--m-warning--BackgroundPositionX: calc(100% - calc(var(--pf-c-form-control--PaddingLeft) - 0.0625rem));\n --pf-c-form-control--m-warning--BackgroundPositionY: center;\n --pf-c-form-control--m-warning--BackgroundPosition: var(--pf-c-form-control--m-warning--BackgroundPositionX) var(--pf-c-form-control--m-warning--BackgroundPositionY);\n --pf-c-form-control--m-warning--BackgroundSizeX: 1.25rem;\n --pf-c-form-control--m-warning--BackgroundSizeY: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--m-warning--BackgroundSize: var(--pf-c-form-control--m-warning--BackgroundSizeX) var(--pf-c-form-control--m-warning--BackgroundSizeY);\n --pf-c-form-control--m-warning--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23f0ab00' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'/%3E%3C/svg%3E\");\n --pf-c-form-control--invalid--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-form-control--invalid--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--invalid--BorderBottomWidth));\n --pf-c-form-control--invalid--BorderBottomColor: var(--pf-global--danger-color--100);\n --pf-c-form-control--invalid--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-form-control--invalid--BackgroundPositionX: calc(100% - var(--pf-c-form-control--PaddingLeft));\n --pf-c-form-control--invalid--BackgroundPositionY: center;\n --pf-c-form-control--invalid--BackgroundPosition: var(--pf-c-form-control--invalid--BackgroundPositionX) var(--pf-c-form-control--invalid--BackgroundPositionY);\n --pf-c-form-control--invalid--BackgroundSizeX: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--invalid--BackgroundSizeY: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--invalid--BackgroundSize: var(--pf-c-form-control--invalid--BackgroundSizeX) var(--pf-c-form-control--invalid--BackgroundSizeY);\n --pf-c-form-control--invalid--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23c9190b' d='M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'/%3E%3C/svg%3E\");\n --pf-c-form-control--invalid--exclamation--Background: var(--pf-c-form-control--invalid--BackgroundUrl) var(--pf-c-form-control--invalid--BackgroundPosition) / var(--pf-c-form-control--invalid--BackgroundSize) no-repeat;\n --pf-c-form-control--invalid--Background: var(--pf-c-form-control--BackgroundColor) var(--pf-c-form-control--invalid--exclamation--Background);\n --pf-c-form-control--m-search--PaddingLeft: var(--pf-global--spacer--xl);\n --pf-c-form-control--m-search--BackgroundPosition: var(--pf-c-form-control--PaddingRight);\n --pf-c-form-control--m-search--BackgroundSize: var(--pf-c-form-control--FontSize) var(--pf-c-form-control--FontSize);\n --pf-c-form-control--m-search--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%236a6e73' d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E\");\n --pf-c-form-control--m-icon--PaddingRight: calc(var(--pf-c-form-control--inset--base) + var(--pf-c-form-control--m-icon--BackgroundSizeX) + var(--pf-c-form-control--m-icon--icon--spacer));\n --pf-c-form-control--m-icon--BackgroundUrl: none;\n --pf-c-form-control--m-icon--BackgroundPositionX: calc(100% - var(--pf-c-form-control--inset--base));\n --pf-c-form-control--m-icon--BackgroundPositionY: center;\n --pf-c-form-control--m-icon--BackgroundSizeX: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--m-icon--BackgroundSizeY: var(--pf-c-form-control--FontSize);\n --pf-c-form-control--m-icon--icon--spacer: var(--pf-global--spacer--sm);\n --pf-c-form-control--m-icon--icon--PaddingRight: calc(var(--pf-c-form-control--inset--base) + var(--pf-c-form-control--invalid--BackgroundSizeX) + var(--pf-c-form-control--m-icon--icon--spacer) + var(--pf-c-form-control--m-icon--BackgroundSizeX) + var(--pf-c-form-control--m-icon--icon--spacer));\n --pf-c-form-control--m-icon--icon--BackgroundPositionX: calc(var(--pf-c-form-control--m-icon--BackgroundPositionX) - var(--pf-c-form-control--m-icon--icon--spacer) - var(--pf-c-form-control--invalid--BackgroundSizeX));\n --pf-c-form-control--m-icon--invalid--BackgroundUrl: var(--pf-c-form-control--invalid--BackgroundUrl), var(--pf-c-form-control--m-icon--BackgroundUrl);\n --pf-c-form-control--m-icon--invalid--BackgroundPosition: var(--pf-c-form-control--invalid--BackgroundPosition), var(--pf-c-form-control--m-icon--icon--BackgroundPositionX) var(--pf-c-form-control--m-icon--BackgroundPositionY);\n --pf-c-form-control--m-icon--invalid--BackgroundSize: var(--pf-c-form-control--invalid--BackgroundSize), var(--pf-c-form-control--m-icon--BackgroundSizeX) var(--pf-c-form-control--m-icon--BackgroundSizeY);\n --pf-c-form-control--m-icon--success--BackgroundUrl: var(--pf-c-form-control--success--BackgroundUrl), var(--pf-c-form-control--m-icon--BackgroundUrl);\n --pf-c-form-control--m-icon--success--BackgroundPosition: var(--pf-c-form-control--success--BackgroundPosition), var(--pf-c-form-control--m-icon--icon--BackgroundPositionX) var(--pf-c-form-control--m-icon--BackgroundPositionY);\n --pf-c-form-control--m-icon--success--BackgroundSize: var(--pf-c-form-control--success--BackgroundSize), var(--pf-c-form-control--m-icon--BackgroundSizeX) var(--pf-c-form-control--m-icon--BackgroundSizeY);\n --pf-c-form-control--m-icon--m-warning--BackgroundUrl: var(--pf-c-form-control--m-warning--BackgroundUrl), var(--pf-c-form-control--m-icon--BackgroundUrl);\n --pf-c-form-control--m-icon--m-warning--BackgroundPosition: var(--pf-c-form-control--m-warning--BackgroundPosition), var(--pf-c-form-control--m-icon--icon--BackgroundPositionX) var(--pf-c-form-control--m-icon--BackgroundPositionY);\n --pf-c-form-control--m-icon--m-warning--BackgroundSize: var(--pf-c-form-control--m-warning--BackgroundSize), var(--pf-c-form-control--m-icon--BackgroundSizeX) var(--pf-c-form-control--m-icon--BackgroundSizeY);\n --pf-c-form-control--m-calendar--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%236a6e73' d='M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E\");\n --pf-c-form-control--m-clock--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%236a6e73' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z'/%3E%3C/svg%3E\");\n --pf-c-form-control__select--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-form-control__select--BackgroundUrl: url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23urrentColor' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E\");\n --pf-c-form-control__select--BackgroundSize: .625em;\n --pf-c-form-control__select--BackgroundPositionX: calc(100% - var(--pf-global--spacer--md) + 1px);\n --pf-c-form-control__select--BackgroundPositionY: center;\n --pf-c-form-control__select--BackgroundPosition: var(--pf-c-form-control__select--BackgroundPositionX) var(--pf-c-form-control__select--BackgroundPositionY);\n --pf-c-form-control__select--success--PaddingRight: var(--pf-global--spacer--3xl);\n --pf-c-form-control__select--success--BackgroundPosition: calc(var(--pf-c-form-control__select--BackgroundPositionX) - var(--pf-global--spacer--lg));\n --pf-c-form-control__select--m-warning--PaddingRight: var(--pf-global--spacer--3xl);\n --pf-c-form-control__select--m-warning--BackgroundPosition: calc(var(--pf-c-form-control__select--BackgroundPositionX) - var(--pf-global--spacer--lg) + 0.0625rem);\n --pf-c-form-control__select--invalid--PaddingRight: var(--pf-global--spacer--3xl);\n --pf-c-form-control__select--invalid--BackgroundPosition: calc(var(--pf-c-form-control__select--BackgroundPositionX) - var(--pf-global--spacer--lg));\n --pf-c-form-control--textarea--Width: var(--pf-c-form-control--Width);\n --pf-c-form-control--textarea--Height: auto;\n --pf-c-form-control--textarea--success--BackgroundPositionY: var(--pf-c-form-control--PaddingLeft);\n --pf-c-form-control--textarea--m-warning--BackgroundPositionY: var(--pf-c-form-control--PaddingLeft);\n --pf-c-form-control--textarea--invalid--BackgroundPositionY: var(--pf-c-form-control--PaddingLeft);\n color: var(--pf-global--Color--100);\n width: var(--pf-c-form-control--Width);\n padding: var(--pf-c-form-control--PaddingTop) var(--pf-c-form-control--PaddingRight) var(--pf-c-form-control--PaddingBottom) var(--pf-c-form-control--PaddingLeft);\n font-size: var(--pf-c-form-control--FontSize);\n line-height: var(--pf-c-form-control--LineHeight);\n background-color: var(--pf-c-form-control--BackgroundColor);\n background-repeat: no-repeat;\n border: var(--pf-c-form-control--BorderWidth) solid;\n border-color: var(--pf-c-form-control--BorderTopColor) var(--pf-c-form-control--BorderRightColor) var(--pf-c-form-control--BorderBottomColor) var(--pf-c-form-control--BorderLeftColor);\n border-radius: var(--pf-c-form-control--BorderRadius);\n -moz-appearance: none;\n -webkit-appearance: none;\n}\n.pf-c-form-control::placeholder {\n color: var(--pf-c-form-control--placeholder--Color);\n}\n.pf-c-form-control:not(textarea) {\n height: var(--pf-c-form-control--Height);\n text-overflow: ellipsis;\n}\n.pf-c-form-control[readonly] {\n background-color: var(--pf-c-form-control--readonly--BackgroundColor);\n}\n.pf-c-form-control[readonly]:not(.pf-m-success):not([aria-invalid=true]):hover {\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--readonly--hover--BorderBottomColor);\n}\n.pf-c-form-control[readonly]:not(.pf-m-success):not([aria-invalid=true]):focus {\n --pf-c-form-control--focus--PaddingBottom: var(--pf-c-form-control--readonly--focus--PaddingBottom);\n --pf-c-form-control--focus--BorderBottomWidth: var(--pf-c-form-control--readonly--focus--BorderBottomWidth);\n --pf-c-form-control--focus--BorderBottomColor: var(--pf-c-form-control--readonly--focus--BorderBottomColor);\n}\n.pf-c-form-control:hover {\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--hover--BorderBottomColor);\n}\n.pf-c-form-control:focus {\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--focus--BorderBottomColor);\n padding-bottom: var(--pf-c-form-control--focus--PaddingBottom);\n border-bottom-width: var(--pf-c-form-control--focus--BorderBottomWidth);\n}\n.pf-c-form-control.pf-m-expanded {\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--m-expanded--BorderBottomColor);\n padding-bottom: var(--pf-c-form-control--m-expanded--PaddingBottom);\n border-bottom-width: var(--pf-c-form-control--m-expanded--BorderBottomWidth);\n}\n.pf-c-form-control:disabled {\n --pf-c-form-control--Color: var(--pf-c-form-control--disabled--Color);\n --pf-c-form-control--BackgroundColor: var(--pf-c-form-control--disabled--BackgroundColor);\n cursor: not-allowed;\n border-color: var(--pf-c-form-control--disabled--BorderColor);\n}\n.pf-c-form-control[aria-invalid=true] {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--invalid--PaddingRight);\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--invalid--BorderBottomColor);\n padding-bottom: var(--pf-c-form-control--invalid--PaddingBottom);\n background-image: var(--pf-c-form-control--invalid--BackgroundUrl);\n background-position: var(--pf-c-form-control--invalid--BackgroundPosition);\n background-size: var(--pf-c-form-control--invalid--BackgroundSize);\n border-bottom-width: var(--pf-c-form-control--invalid--BorderBottomWidth);\n}\n.pf-c-form-control[aria-invalid=true].pf-m-icon {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--m-icon--icon--PaddingRight);\n background-image: var(--pf-c-form-control--m-icon--invalid--BackgroundUrl);\n background-position: var(--pf-c-form-control--m-icon--invalid--BackgroundPosition);\n background-size: var(--pf-c-form-control--m-icon--invalid--BackgroundSize);\n}\n.pf-c-form-control.pf-m-success {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--success--PaddingRight);\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--success--BorderBottomColor);\n padding-bottom: var(--pf-c-form-control--success--PaddingBottom);\n background-image: var(--pf-c-form-control--success--BackgroundUrl);\n background-position: var(--pf-c-form-control--success--BackgroundPosition);\n background-size: var(--pf-c-form-control--success--BackgroundSize);\n border-bottom-width: var(--pf-c-form-control--success--BorderBottomWidth);\n}\n.pf-c-form-control.pf-m-success.pf-m-icon {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--m-icon--icon--PaddingRight);\n background-image: var(--pf-c-form-control--m-icon--success--BackgroundUrl);\n background-position: var(--pf-c-form-control--m-icon--success--BackgroundPosition);\n background-size: var(--pf-c-form-control--m-icon--success--BackgroundSize);\n}\n.pf-c-form-control.pf-m-warning {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--m-warning--PaddingRight);\n --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--m-warning--BorderBottomColor);\n padding-bottom: var(--pf-c-form-control--m-warning--PaddingBottom);\n background-image: var(--pf-c-form-control--m-warning--BackgroundUrl);\n background-position: var(--pf-c-form-control--m-warning--BackgroundPosition);\n background-size: var(--pf-c-form-control--m-warning--BackgroundSize);\n border-bottom-width: var(--pf-c-form-control--m-warning--BorderBottomWidth);\n}\n.pf-c-form-control.pf-m-warning.pf-m-icon {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--m-icon--icon--PaddingRight);\n background-image: var(--pf-c-form-control--m-icon--m-warning--BackgroundUrl);\n background-position: var(--pf-c-form-control--m-icon--m-warning--BackgroundPosition);\n background-size: var(--pf-c-form-control--m-icon--m-warning--BackgroundSize);\n}\n.pf-c-form-control.pf-m-search {\n --pf-c-form-control--PaddingLeft: var(--pf-c-form-control--m-search--PaddingLeft);\n background-image: var(--pf-c-form-control--m-search--BackgroundUrl);\n background-position: var(--pf-c-form-control--m-search--BackgroundPosition);\n background-size: var(--pf-c-form-control--m-search--BackgroundSize);\n}\n.pf-c-form-control.pf-m-icon {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control--m-icon--PaddingRight);\n background-image: var(--pf-c-form-control--m-icon--BackgroundUrl);\n background-position: var(--pf-c-form-control--m-icon--BackgroundPositionX) var(--pf-c-form-control--m-icon--BackgroundPositionY);\n background-size: var(--pf-c-form-control--m-icon--BackgroundSizeX) var(--pf-c-form-control--m-icon--BackgroundSizeY);\n}\n.pf-c-form-control.pf-m-icon.pf-m-calendar {\n --pf-c-form-control--m-icon--BackgroundUrl: var(--pf-c-form-control--m-calendar--BackgroundUrl);\n}\n.pf-c-form-control.pf-m-icon.pf-m-clock {\n --pf-c-form-control--m-icon--BackgroundUrl: var(--pf-c-form-control--m-clock--BackgroundUrl);\n}\nselect.pf-c-form-control {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control__select--PaddingRight);\n background-image: var(--pf-c-form-control__select--BackgroundUrl);\n background-position: var(--pf-c-form-control__select--BackgroundPosition);\n background-size: var(--pf-c-form-control__select--BackgroundSize);\n}\nselect.pf-c-form-control[aria-invalid=true] {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control__select--invalid--PaddingRight);\n --pf-c-form-control--invalid--BackgroundPosition: var(--pf-c-form-control__select--invalid--BackgroundPosition);\n background-image: var(--pf-c-form-control__select--BackgroundUrl), var(--pf-c-form-control--invalid--BackgroundUrl);\n background-position: var(--pf-c-form-control__select--BackgroundPosition), var(--pf-c-form-control--invalid--BackgroundPosition);\n background-size: var(--pf-c-form-control__select--BackgroundSize), var(--pf-c-form-control--invalid--BackgroundSize);\n}\nselect.pf-c-form-control.pf-m-success {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control__select--success--PaddingRight);\n --pf-c-form-control--success--BackgroundPosition: var(--pf-c-form-control__select--success--BackgroundPosition);\n background-image: var(--pf-c-form-control__select--BackgroundUrl), var(--pf-c-form-control--success--BackgroundUrl);\n background-position: var(--pf-c-form-control__select--BackgroundPosition), var(--pf-c-form-control--success--BackgroundPosition);\n background-size: var(--pf-c-form-control__select--BackgroundSize), var(--pf-c-form-control--success--BackgroundSize);\n}\nselect.pf-c-form-control.pf-m-warning {\n --pf-c-form-control--PaddingRight: var(--pf-c-form-control__select--m-warning--PaddingRight);\n background-image: var(--pf-c-form-control__select--BackgroundUrl), var(--pf-c-form-control--m-warning--BackgroundUrl);\n background-position: var(--pf-c-form-control__select--BackgroundPosition), var(--pf-c-form-control__select--m-warning--BackgroundPosition);\n background-size: var(--pf-c-form-control__select--BackgroundSize), var(--pf-c-form-control--m-warning--BackgroundSize);\n}\nselect.pf-c-form-control.pf-m-placeholder {\n color: var(--pf-c-form-control--placeholder--Color);\n}\n\ntextarea.pf-c-form-control {\n --pf-c-form-control--success--BackgroundPositionY: var(--pf-c-form-control--textarea--success--BackgroundPositionY);\n --pf-c-form-control--invalid--BackgroundPositionY: var(--pf-c-form-control--textarea--invalid--BackgroundPositionY);\n --pf-c-form-control--m-warning--BackgroundPositionY: var(--pf-c-form-control--textarea--m-warning--BackgroundPositionY);\n width: var(--pf-c-form-control--textarea--Width);\n height: var(--pf-c-form-control--textarea--Height);\n vertical-align: bottom;\n}\n\n.pf-c-form-control.pf-m-resize-vertical {\n resize: vertical;\n}\n.pf-c-form-control.pf-m-resize-horizontal {\n resize: horizontal;\n}",""]);const r=o},61336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-inline-edit {\n --pf-c-inline-edit__group--item--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-inline-edit__action--c-button--m-valid--m-plain--Color: var(--pf-global--link--Color);\n --pf-c-inline-edit__action--c-button--m-valid--m-plain--hover--Color: var(--pf-global--link--Color--hover);\n --pf-c-inline-edit__action--m-icon-group--item--MarginRight: 0;\n --pf-c-inline-edit__group--m-footer--MarginTop: var(--pf-global--spacer--xl);\n --pf-c-inline-edit__label--m-bold--FontWeight: var(--pf-global--FontWeight--semi-bold);\n}\n\n.pf-c-inline-edit__group {\n display: flex;\n align-items: baseline;\n}\n.pf-c-inline-edit__group > * {\n margin-right: var(--pf-c-inline-edit__group--item--MarginRight);\n}\n.pf-c-inline-edit__group.pf-m-icon-group {\n --pf-c-inline-edit__group--item--MarginRight: var(--pf-c-inline-edit__action--m-icon-group--item--MarginRight);\n}\n.pf-c-inline-edit__group.pf-m-footer {\n margin-top: var(--pf-c-inline-edit__group--m-footer--MarginTop);\n}\n.pf-c-inline-edit__group.pf-m-column {\n --pf-c-inline-edit__group--item--MarginRight: 0;\n flex-direction: column;\n}\n.pf-c-inline-edit__group > :last-child {\n --pf-c-inline-edit__group--item--MarginRight: 0;\n}\n\n.pf-c-inline-edit__input {\n flex: 1;\n}\n\n.pf-c-inline-edit__action.pf-m-valid .pf-c-button.pf-m-plain {\n --pf-c-button--m-plain--Color: var(--pf-c-inline-edit__action--c-button--m-valid--m-plain--Color);\n}\n.pf-c-inline-edit__action.pf-m-valid .pf-c-button.pf-m-plain:hover {\n --pf-c-button--m-plain--Color: var(--pf-c-inline-edit__action--c-button--m-valid--m-plain--hover--Color);\n}\n\n.pf-c-inline-edit__input,\n.pf-c-inline-edit__action,\n.pf-c-inline-edit__group.pf-m-action-group {\n display: none;\n visibility: hidden;\n}\n\n.pf-c-inline-edit__action.pf-m-enable-editable {\n display: inline-block;\n visibility: visible;\n}\n\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__input,\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__action,\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__group.pf-m-action-group,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__input,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__action,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__group.pf-m-action-group {\n visibility: visible;\n}\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__input,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__input {\n display: block;\n}\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__action,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__action {\n display: inline-block;\n}\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__group.pf-m-action-group,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__group.pf-m-action-group {\n display: inline-flex;\n}\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__value,\n.pf-c-inline-edit.pf-m-inline-editable .pf-c-inline-edit__action.pf-m-enable-editable,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__value,\n.pf-c-inline-edit .pf-m-inline-editable .pf-c-inline-edit__action.pf-m-enable-editable {\n display: none;\n visibility: hidden;\n}\n\n.pf-c-inline-edit__label + .pf-c-inline-edit__action.pf-m-enable > .pf-c-button {\n margin-top: calc(var(--pf-c-button--PaddingTop) * -1);\n margin-bottom: calc(var(--pf-c-button--PaddingBottom) * -1);\n}\n\n.pf-c-inline-edit__label.pf-m-bold {\n font-weight: var(--pf-c-inline-edit__label--m-bold--FontWeight);\n}\n\n.pf-c-inline-edit__editable-text br {\n display: none;\n}",""]);const r=o},6471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-input-group {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-input-group {\n --pf-c-input-group--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-input-group--child--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-input-group__text--FontSize: var(--pf-global--FontSize--md);\n --pf-c-input-group__text--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-input-group__text--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-input-group__text--Color: var(--pf-global--Color--dark-200);\n --pf-c-input-group__text--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-input-group__text--BorderTopColor: var(--pf-global--BorderColor--300);\n --pf-c-input-group__text--BorderRightColor: var(--pf-global--BorderColor--300);\n --pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-input-group__text--BorderLeftColor: var(--pf-global--BorderColor--300);\n --pf-c-input-group__text--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-input-group__textarea--MinHeight: var(--pf-global--spacer--xl);\n --pf-c-input-group--c-form-control--invalid--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-input-group--c-form-control--MarginRight: 0;\n color: var(--pf-global--Color--100);\n display: flex;\n width: 100%;\n background-color: var(--pf-c-input-group--BackgroundColor);\n}\n.pf-c-input-group > * + * {\n margin-left: -1px;\n}\n.pf-c-input-group > :focus,\n.pf-c-input-group > :focus-within {\n z-index: var(--pf-c-input-group--child--ZIndex);\n}\n.pf-c-input-group .pf-c-form-control[aria-invalid=true]:not(:last-child) {\n margin-right: var(--pf-c-input-group--c-form-control--MarginRight);\n}\n.pf-c-input-group input:not([type=checkbox]):not([type=radio]),\n.pf-c-input-group textarea {\n flex: 2;\n min-width: 0;\n}\n.pf-c-input-group textarea {\n min-height: var(--pf-c-input-group__textarea--MinHeight);\n}\n\n.pf-c-input-group__text {\n display: flex;\n align-items: center;\n padding-right: var(--pf-c-input-group__text--PaddingRight);\n padding-left: var(--pf-c-input-group__text--PaddingLeft);\n font-size: var(--pf-c-input-group__text--FontSize);\n color: var(--pf-c-input-group__text--Color);\n text-align: center;\n background-color: var(--pf-c-input-group__text--BackgroundColor);\n border: var(--pf-c-input-group__text--BorderWidth) solid;\n border-color: var(--pf-c-input-group__text--BorderTopColor) var(--pf-c-input-group__text--BorderRightColor) var(--pf-c-input-group__text--BorderBottomColor) var(--pf-c-input-group__text--BorderLeftColor);\n}\nlabel.pf-c-input-group__text {\n cursor: pointer;\n}\n\n.pf-c-input-group__text.pf-m-plain {\n --pf-c-input-group__text--BorderWidth: 0;\n margin-left: 0;\n}",""]);const r=o},21815:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-label {\n --pf-c-label--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-label--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-label--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-label--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-label--BorderRadius: var(--pf-global--BorderRadius--lg);\n --pf-c-label--BackgroundColor: var(--pf-global--palette--black-150);\n --pf-c-label--Color: var(--pf-global--Color--100);\n --pf-c-label--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-label__content--before--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-label__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-label--m-outline__content--before--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label__content--link--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-label__content--link--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--200);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--200);\n --pf-c-label--m-outline__content--link--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-label--m-outline__content--link--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-blue--BackgroundColor: var(--pf-global--palette--blue-50);\n --pf-c-label--m-blue__icon--Color: var(--pf-global--primary-color--100);\n --pf-c-label--m-blue__content--Color: var(--pf-global--info-color--200);\n --pf-c-label--m-blue__content--before--BorderColor: var(--pf-global--palette--blue-100);\n --pf-c-label--m-blue__content--link--hover--before--BorderColor: var(--pf-global--primary-color--100);\n --pf-c-label--m-blue__content--link--focus--before--BorderColor: var(--pf-global--primary-color--100);\n --pf-c-label--m-outline--m-blue__content--Color: var(--pf-global--primary-color--100);\n --pf-c-label--m-outline--m-blue__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-blue__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-blue__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-green--BackgroundColor: var(--pf-global--palette--green-50);\n --pf-c-label--m-green__icon--Color: var(--pf-global--success-color--100);\n --pf-c-label--m-green__content--Color: var(--pf-global--success-color--200);\n --pf-c-label--m-green__content--before--BorderColor: var(--pf-global--palette--green-100);\n --pf-c-label--m-green__content--link--hover--before--BorderColor: var(--pf-global--success-color--100);\n --pf-c-label--m-green__content--link--focus--before--BorderColor: var(--pf-global--success-color--100);\n --pf-c-label--m-outline--m-green__content--Color: var(--pf-global--success-color--100);\n --pf-c-label--m-outline--m-green__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-green__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-green__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-orange--BackgroundColor: var(--pf-global--palette--gold-50);\n --pf-c-label--m-orange__icon--Color: var(--pf-global--palette--orange-300);\n --pf-c-label--m-orange__content--Color: var(--pf-global--palette--gold-700);\n --pf-c-label--m-orange__content--before--BorderColor: var(--pf-global--palette--orange-100);\n --pf-c-label--m-orange__content--link--hover--before--BorderColor: var(--pf-global--palette--orange-300);\n --pf-c-label--m-orange__content--link--focus--before--BorderColor: var(--pf-global--palette--orange-300);\n --pf-c-label--m-outline--m-orange__content--Color: var(--pf-global--palette--orange-500);\n --pf-c-label--m-outline--m-orange__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-orange__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-orange__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-red--BackgroundColor: var(--pf-global--palette--red-50);\n --pf-c-label--m-red__icon--Color: var(--pf-global--danger-color--100);\n --pf-c-label--m-red__content--Color: var(--pf-global--palette--red-300);\n --pf-c-label--m-red__content--before--BorderColor: var(--pf-global--palette--red-100);\n --pf-c-label--m-red__content--link--hover--before--BorderColor: var(--pf-global--danger-color--100);\n --pf-c-label--m-red__content--link--focus--before--BorderColor: var(--pf-global--danger-color--100);\n --pf-c-label--m-outline--m-red__content--Color: var(--pf-global--danger-color--100);\n --pf-c-label--m-outline--m-red__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-red__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-red__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-purple--BackgroundColor: var(--pf-global--palette--purple-50);\n --pf-c-label--m-purple__icon--Color: var(--pf-global--palette--purple-500);\n --pf-c-label--m-purple__content--Color: var(--pf-global--palette--purple-700);\n --pf-c-label--m-purple__content--before--BorderColor: var(--pf-global--palette--purple-100);\n --pf-c-label--m-purple__content--link--hover--before--BorderColor: var(--pf-global--palette--purple-500);\n --pf-c-label--m-purple__content--link--focus--before--BorderColor: var(--pf-global--palette--purple-500);\n --pf-c-label--m-outline--m-purple__content--Color: var(--pf-global--palette--purple-500);\n --pf-c-label--m-outline--m-purple__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-purple__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-purple__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-cyan--BackgroundColor: var(--pf-global--palette--cyan-50);\n --pf-c-label--m-cyan__icon--Color: var(--pf-global--default-color--200);\n --pf-c-label--m-cyan__content--Color: var(--pf-global--default-color--300);\n --pf-c-label--m-cyan__content--before--BorderColor: var(--pf-global--palette--cyan-100);\n --pf-c-label--m-cyan__content--link--hover--before--BorderColor: var(--pf-global--default-color--200);\n --pf-c-label--m-cyan__content--link--focus--before--BorderColor: var(--pf-global--default-color--200);\n --pf-c-label--m-outline--m-cyan__content--Color: var(--pf-global--palette--cyan-400);\n --pf-c-label--m-outline--m-cyan__content--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-cyan__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-outline--m-cyan__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--100);\n --pf-c-label--m-overflow__content--Color: var(--pf-global--link--Color);\n --pf-c-label--m-overflow__content--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-label--m-overflow__content--before--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-label--m-overflow__content--before--BorderColor: var(--pf-global--BorderColor--300);\n --pf-c-label--m-overflow__content--link--hover--before--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-label--m-overflow__content--link--hover--before--BorderColor: var(--pf-global--BorderColor--300);\n --pf-c-label--m-overflow__content--link--focus--before--BorderWidth: var(--pf-global--BorderWidth--md);\n --pf-c-label--m-overflow__content--link--focus--before--BorderColor: var(--pf-global--BorderColor--300);\n --pf-c-label--m-compact--PaddingTop: 0;\n --pf-c-label--m-compact--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-label--m-compact--PaddingBottom: 0;\n --pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-label__content--Color: var(--pf-global--Color--100);\n --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);\n --pf-c-label__text--MaxWidth: 16ch;\n --pf-c-label__icon--Color: var(--pf-global--Color--100);\n --pf-c-label__icon--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-label__c-button--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-label__c-button--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-label__c-button--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-label__c-button--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-label__c-button--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-label__c-button--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;\n --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;\n --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;\n position: relative;\n padding: var(--pf-c-label--PaddingTop) var(--pf-c-label--PaddingRight) var(--pf-c-label--PaddingBottom) var(--pf-c-label--PaddingLeft);\n font-size: var(--pf-c-label--FontSize);\n color: var(--pf-c-label--Color);\n white-space: nowrap;\n background-color: var(--pf-c-label--BackgroundColor);\n border: 0;\n border-radius: var(--pf-c-label--BorderRadius);\n}\n.pf-c-label.pf-m-compact {\n --pf-c-label--PaddingTop: var(--pf-c-label--m-compact--PaddingTop);\n --pf-c-label--PaddingRight: var(--pf-c-label--m-compact--PaddingRight);\n --pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);\n --pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);\n --pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);\n}\n.pf-c-label.pf-m-blue {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-blue--BackgroundColor);\n --pf-c-label__icon--Color: var(--pf-c-label--m-blue__icon--Color);\n --pf-c-label__content--Color: var(--pf-c-label--m-blue__content--Color);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-blue__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-blue__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-blue__content--link--focus--before--BorderColor);\n --pf-c-label--m-outline__content--Color: var(--pf-c-label--m-outline--m-blue__content--Color);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-blue__content--before--BorderColor);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-blue__content--link--hover--before--BorderColor);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-blue__content--link--focus--before--BorderColor);\n}\n.pf-c-label.pf-m-green {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-green--BackgroundColor);\n --pf-c-label__icon--Color: var(--pf-c-label--m-green__icon--Color);\n --pf-c-label__content--Color: var(--pf-c-label--m-green__content--Color);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-green__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-green__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-green__content--link--focus--before--BorderColor);\n --pf-c-label--m-outline__content--Color: var(--pf-c-label--m-outline--m-green__content--Color);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-green__content--before--BorderColor);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-green__content--link--hover--before--BorderColor);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-green__content--link--focus--before--BorderColor);\n}\n.pf-c-label.pf-m-orange {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-orange--BackgroundColor);\n --pf-c-label__icon--Color: var(--pf-c-label--m-orange__icon--Color);\n --pf-c-label__content--Color: var(--pf-c-label--m-orange__content--Color);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-orange__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-orange__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-orange__content--link--focus--before--BorderColor);\n --pf-c-label--m-outline__content--Color: var(--pf-c-label--m-outline--m-orange__content--Color);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-orange__content--before--BorderColor);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-orange__content--link--hover--before--BorderColor);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-orange__content--link--focus--before--BorderColor);\n}\n.pf-c-label.pf-m-red {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-red--BackgroundColor);\n --pf-c-label__icon--Color: var(--pf-c-label--m-red__icon--Color);\n --pf-c-label__content--Color: var(--pf-c-label--m-red__content--Color);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-red__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-red__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-red__content--link--focus--before--BorderColor);\n --pf-c-label--m-outline__content--Color: var(--pf-c-label--m-outline--m-red__content--Color);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-red__content--before--BorderColor);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-red__content--link--hover--before--BorderColor);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-red__content--link--focus--before--BorderColor);\n}\n.pf-c-label.pf-m-purple {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-purple--BackgroundColor);\n --pf-c-label__icon--Color: var(--pf-c-label--m-purple__icon--Color);\n --pf-c-label__content--Color: var(--pf-c-label--m-purple__content--Color);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-purple__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-purple__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-purple__content--link--focus--before--BorderColor);\n --pf-c-label--m-outline__content--Color: var(--pf-c-label--m-outline--m-purple__content--Color);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-purple__content--before--BorderColor);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-purple__content--link--hover--before--BorderColor);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-purple__content--link--focus--before--BorderColor);\n}\n.pf-c-label.pf-m-cyan {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-cyan--BackgroundColor);\n --pf-c-label__icon--Color: var(--pf-c-label--m-cyan__icon--Color);\n --pf-c-label__content--Color: var(--pf-c-label--m-cyan__content--Color);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-cyan__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-cyan__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-cyan__content--link--focus--before--BorderColor);\n --pf-c-label--m-outline__content--Color: var(--pf-c-label--m-outline--m-cyan__content--Color);\n --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-cyan__content--before--BorderColor);\n --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-cyan__content--link--hover--before--BorderColor);\n --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-cyan__content--link--focus--before--BorderColor);\n}\n.pf-c-label.pf-m-outline {\n --pf-c-label__content--Color: var(--pf-c-label--m-outline__content--Color);\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-outline__content--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--before--BorderColor);\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-outline--BackgroundColor);\n}\n.pf-c-label.pf-m-overflow:hover, .pf-c-label.pf-m-outline a.pf-c-label__content:hover,\n.pf-c-label.pf-m-outline button.pf-c-label__content:hover {\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-outline__content--link--hover--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--hover--before--BorderColor);\n}\n.pf-c-label.pf-m-overflow:focus, .pf-c-label.pf-m-outline a.pf-c-label__content:focus,\n.pf-c-label.pf-m-outline button.pf-c-label__content:focus {\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-outline__content--link--focus--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);\n}\n\n.pf-c-label.pf-m-editable-active {\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);\n}\n.pf-c-label.pf-m-editable-active .pf-c-button {\n visibility: hidden;\n}\n.pf-c-label .pf-c-button {\n --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);\n --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);\n --pf-c-button--PaddingRight: var(--pf-c-label__c-button--PaddingRight);\n --pf-c-button--PaddingBottom: var(--pf-c-label__c-button--PaddingBottom);\n --pf-c-button--PaddingLeft: var(--pf-c-label__c-button--PaddingLeft);\n margin-top: var(--pf-c-label__c-button--MarginTop);\n margin-right: var(--pf-c-label__c-button--MarginRight);\n margin-bottom: var(--pf-c-label__c-button--MarginBottom);\n margin-left: var(--pf-c-label__c-button--MarginLeft);\n}\n.pf-c-label.pf-m-overflow {\n --pf-c-label__content--Color: var(--pf-c-label--m-overflow__content--Color);\n --pf-c-label--BackgroundColor: var(--pf-c-label--m-overflow__content--BackgroundColor);\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-overflow__content--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-overflow__content--before--BorderColor);\n --pf-c-label__content--link--hover--before--BorderWidth: var(--pf-c-label--m-overflow__content--link--hover--before--BorderWidth);\n --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-overflow__content--link--hover--before--BorderColor);\n --pf-c-label__content--link--focus--before--BorderWidth: var(--pf-c-label--m-overflow__content--link--focus--before--BorderWidth);\n --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-overflow__content--link--focus--before--BorderColor);\n}\n\n.pf-c-label,\n.pf-c-label__content {\n display: inline-flex;\n align-items: center;\n}\n\n.pf-c-label__text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: var(--pf-c-label__text--MaxWidth);\n}\n\n.pf-c-label__content {\n color: var(--pf-c-label__content--Color);\n border: 0;\n}\n.pf-c-label__content::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n content: "";\n border: var(--pf-c-label__content--before--BorderWidth) solid var(--pf-c-label__content--before--BorderColor);\n border-radius: var(--pf-c-label--BorderRadius);\n}\na.pf-c-label__content,\nbutton.pf-c-label__content {\n cursor: pointer;\n border: none;\n}\na.pf-c-label__content, a.pf-c-label__content:hover, a.pf-c-label__content:focus,\nbutton.pf-c-label__content,\nbutton.pf-c-label__content:hover,\nbutton.pf-c-label__content:focus {\n text-decoration: none;\n}\na.pf-c-label__content:hover,\nbutton.pf-c-label__content:hover {\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label__content--link--hover--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label__content--link--hover--before--BorderColor);\n}\na.pf-c-label__content:focus,\nbutton.pf-c-label__content:focus {\n --pf-c-label__content--before--BorderWidth: var(--pf-c-label__content--link--focus--before--BorderWidth);\n --pf-c-label__content--before--BorderColor: var(--pf-c-label__content--link--focus--before--BorderColor);\n}\n\n.pf-c-label__icon {\n margin-right: var(--pf-c-label__icon--MarginRight);\n color: var(--pf-c-label__icon--Color);\n}',""]);const r=o},12864:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-label-group {\n --pf-c-label-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-label-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-label-group--m-category--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-label-group--m-category--PaddingRight: var(--pf-global--spacer--xs);\n --pf-c-label-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);\n --pf-c-label-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-label-group--m-vertical--m-category--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-label-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-label-group--m-category--BorderWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-label-group--m-category--BorderColor: var(--pf-global--BorderColor--300);\n --pf-c-label-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-label-group__label--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-label-group__label--MarginBottom: 0;\n --pf-c-label-group--m-vertical__label--MarginBottom: var(--pf-global--spacer--sm);\n --pf-c-label-group__label--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-label-group__label--MaxWidth: 18ch;\n --pf-c-label-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-label-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);\n --pf-c-label-group--m-vertical__close--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-label-group--m-vertical__close--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);\n --pf-c-label-group--m-vertical__close--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-label-group--m-vertical__close--c-button--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-label-group--m-vertical__close--c-button--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-label-group__list-item--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-label-group__list-item--MarginBottom: var(--pf-global--spacer--xs);\n --pf-c-label-group__textarea--MinWidth: 12.5rem;\n --pf-c-label-group__textarea--PaddingTop: 0.125rem;\n --pf-c-label-group__textarea--PaddingRight: var(--pf-global--spacer--xs);\n --pf-c-label-group__textarea--PaddingBottom: 0;\n --pf-c-label-group__textarea--PaddingLeft: var(--pf-global--spacer--xs);\n display: inline-flex;\n}\n.pf-c-label-group.pf-m-category {\n padding-top: var(--pf-c-label-group--m-category--PaddingTop);\n padding-right: var(--pf-c-label-group--m-category--PaddingRight);\n padding-bottom: var(--pf-c-label-group--m-category--PaddingBottom);\n padding-left: var(--pf-c-label-group--m-category--PaddingLeft);\n background-color: var(--pf-c-label-group--m-category--BackgroundColor);\n border: var(--pf-c-label-group--m-category--BorderWidth) solid var(--pf-c-label-group--m-category--BorderColor);\n border-radius: var(--pf-c-label-group--m-category--BorderRadius);\n}\n.pf-c-label-group.pf-m-vertical {\n --pf-c-label-group__list--MarginRight: 0;\n --pf-c-label-group__list--MarginBottom: 0;\n --pf-c-label-group__list-item--MarginRight: 0;\n --pf-c-label-group__label--MarginRight: 0;\n --pf-c-label-group__label--MarginBottom: var(--pf-c-label-group--m-vertical__label--MarginBottom);\n --pf-c-label-group__close--MarginTop: var(--pf-c-label-group--m-vertical__close--MarginTop);\n --pf-c-label-group__close--MarginLeft: var(--pf-c-label-group--m-vertical__close--MarginLeft);\n --pf-c-label-group__close--MarginBottom: 0;\n --pf-c-label-group__close--MarginRight: var(--pf-c-label-group--m-vertical__close--MarginRight);\n --pf-c-label-group--m-category--PaddingRight: var(--pf-c-label-group--m-vertical--m-category--PaddingRight);\n}\n.pf-c-label-group.pf-m-vertical.pf-c-label-group {\n align-items: flex-start;\n}\n.pf-c-label-group.pf-m-vertical .pf-c-label-group__list {\n flex-direction: column;\n align-items: flex-start;\n}\n.pf-c-label-group.pf-m-vertical .pf-c-label-group__main {\n flex-direction: column;\n}\n.pf-c-label-group.pf-m-vertical .pf-c-label-group__list-item:last-child {\n --pf-c-label-group__list-item--MarginBottom: 0;\n}\n.pf-c-label-group.pf-m-vertical .pf-c-label-group__close .pf-c-button {\n --pf-c-button--PaddingLeft: var(--pf-c-label-group--m-vertical__close--c-button--PaddingLeft);\n --pf-c-button--PaddingRight: var(--pf-c-label-group--m-vertical__close--c-button--PaddingRight);\n}\n.pf-c-label-group.pf-m-editable,\n.pf-c-label-group.pf-m-editable .pf-c-label-group__main,\n.pf-c-label-group.pf-m-editable .pf-c-label-group__list {\n display: flex;\n}\n.pf-c-label-group.pf-m-editable .pf-c-label-group__main,\n.pf-c-label-group.pf-m-editable .pf-c-label-group__list,\n.pf-c-label-group.pf-m-editable .pf-c-label-group__list-item.pf-m-textarea,\n.pf-c-label-group.pf-m-editable .pf-c-label-group__textarea {\n flex: 1;\n}\n\n.pf-c-label-group__main {\n display: flex;\n flex: 1;\n flex-wrap: wrap;\n align-items: baseline;\n}\n\n.pf-c-label-group__list {\n display: inline-flex;\n flex-wrap: wrap;\n margin-right: var(--pf-c-label-group__list--MarginRight);\n margin-bottom: var(--pf-c-label-group__list--MarginBottom);\n}\n\n.pf-c-label-group__list-item {\n display: inline-flex;\n margin-right: var(--pf-c-label-group__list-item--MarginRight);\n margin-bottom: var(--pf-c-label-group__list-item--MarginBottom);\n}\n\n.pf-c-label-group__label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: var(--pf-c-label-group__label--MaxWidth);\n margin-right: var(--pf-c-label-group__label--MarginRight);\n margin-bottom: var(--pf-c-label-group__label--MarginBottom);\n font-size: var(--pf-c-label-group__label--FontSize);\n}\n\n.pf-c-label-group__close {\n margin-top: var(--pf-c-label-group__close--MarginTop);\n margin-right: var(--pf-c-label-group__close--MarginRight);\n margin-bottom: var(--pf-c-label-group__close--MarginBottom);\n margin-left: var(--pf-c-label-group__close--MarginLeft);\n}\n\n.pf-c-label-group__textarea {\n min-width: var(--pf-c-label-group__textarea--MinWidth);\n padding: var(--pf-c-label-group__textarea--PaddingTop) var(--pf-c-label-group__textarea--PaddingRight) var(--pf-c-label-group__textarea--PaddingBottom) var(--pf-c-label-group__textarea--PaddingLeft);\n white-space: nowrap;\n resize: none;\n border: 0;\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.pf-c-label-group__textarea::-webkit-scrollbar {\n display: none;\n}",""]);const r=o},69104:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-modal-box {\n --pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-modal-box--BoxShadow: var(--pf-global--BoxShadow--xl);\n --pf-c-modal-box--ZIndex: var(--pf-global--ZIndex--xl);\n --pf-c-modal-box--Width: 100%;\n --pf-c-modal-box--MaxWidth: calc(100% - var(--pf-global--spacer--xl));\n --pf-c-modal-box--m-sm--sm--MaxWidth: 35rem;\n --pf-c-modal-box--m-md--Width: 52.5rem;\n --pf-c-modal-box--m-lg--lg--MaxWidth: 70rem;\n --pf-c-modal-box--MaxHeight: calc(100% - var(--pf-global--spacer--2xl));\n --pf-c-modal-box--m-align-top--spacer: var(--pf-global--spacer--sm);\n --pf-c-modal-box--m-align-top--xl--spacer: var(--pf-global--spacer--xl);\n --pf-c-modal-box--m-align-top--MarginTop: var(--pf-c-modal-box--m-align-top--spacer);\n --pf-c-modal-box--m-align-top--MaxHeight: calc(100% - min(var(--pf-c-modal-box--m-align-top--spacer), var(--pf-global--spacer--2xl)) - var(--pf-c-modal-box--m-align-top--spacer));\n --pf-c-modal-box--m-align-top--MaxWidth: calc(100% - min(var(--pf-c-modal-box--m-align-top--spacer) * 2, var(--pf-global--spacer--xl)));\n --pf-c-modal-box--m-danger__title-icon--Color: var(--pf-global--danger-color--100);\n --pf-c-modal-box--m-warning__title-icon--Color: var(--pf-global--warning-color--100);\n --pf-c-modal-box--m-success__title-icon--Color: var(--pf-global--success-color--100);\n --pf-c-modal-box--m-info__title-icon--Color: var(--pf-global--info-color--100);\n --pf-c-modal-box--m-default__title-icon--Color: var(--pf-global--default-color--200);\n --pf-c-modal-box__header--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-modal-box__header--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-modal-box__header--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-modal-box__header--last-child--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-modal-box__title--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-modal-box__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);\n --pf-c-modal-box__title--FontSize: var(--pf-global--FontSize--2xl);\n --pf-c-modal-box__title-icon--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-modal-box__title-icon--Color: var(--pf-global--Color--100);\n --pf-c-modal-box__description--PaddingTop: var(--pf-global--spacer--xs);\n --pf-c-modal-box__body--MinHeight: calc(var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--md));\n --pf-c-modal-box__body--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-modal-box__body--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-modal-box__body--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-modal-box__body--last-child--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-modal-box__header--body--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-modal-box--c-button--Top: calc(var(--pf-global--spacer--lg));\n --pf-c-modal-box--c-button--Right: var(--pf-global--spacer--md);\n --pf-c-modal-box--c-button--sibling--MarginRight: calc(var(--pf-global--spacer--xl) + var(--pf-global--spacer--sm));\n --pf-c-modal-box__footer--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-modal-box__footer--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-modal-box__footer--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-modal-box__footer--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-modal-box__footer--c-button--MarginRight: var(--pf-global--spacer--md);\n --pf-c-modal-box__footer--c-button--sm--MarginRight: calc(var(--pf-c-modal-box__footer--c-button--MarginRight) / 2);\n position: relative;\n z-index: var(--pf-c-modal-box--ZIndex);\n display: flex;\n flex-direction: column;\n width: var(--pf-c-modal-box--Width);\n max-width: var(--pf-c-modal-box--MaxWidth);\n max-height: var(--pf-c-modal-box--MaxHeight);\n background-color: var(--pf-c-modal-box--BackgroundColor);\n box-shadow: var(--pf-c-modal-box--BoxShadow);\n}\n@media (min-width: 1200px) {\n .pf-c-modal-box {\n --pf-c-modal-box--m-align-top--spacer: var(--pf-c-modal-box--m-align-top--xl--spacer);\n }\n}\n.pf-c-modal-box.pf-m-sm {\n --pf-c-modal-box--Width: var(--pf-c-modal-box--m-sm--sm--MaxWidth);\n}\n.pf-c-modal-box.pf-m-md {\n --pf-c-modal-box--Width: var(--pf-c-modal-box--m-md--Width);\n}\n.pf-c-modal-box.pf-m-lg {\n --pf-c-modal-box--Width: var(--pf-c-modal-box--m-lg--lg--MaxWidth);\n}\n.pf-c-modal-box.pf-m-align-top {\n top: var(--pf-c-modal-box--m-align-top--MarginTop);\n align-self: flex-start;\n max-width: var(--pf-c-modal-box--m-align-top--MaxWidth);\n max-height: var(--pf-c-modal-box--m-align-top--MaxHeight);\n}\n.pf-c-modal-box.pf-m-danger {\n --pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-danger__title-icon--Color);\n}\n.pf-c-modal-box.pf-m-warning {\n --pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-warning__title-icon--Color);\n}\n.pf-c-modal-box.pf-m-success {\n --pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-success__title-icon--Color);\n}\n.pf-c-modal-box.pf-m-default {\n --pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-default__title-icon--Color);\n}\n.pf-c-modal-box.pf-m-info {\n --pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-info__title-icon--Color);\n}\n.pf-c-modal-box > .pf-c-button {\n position: absolute;\n top: var(--pf-c-modal-box--c-button--Top);\n right: var(--pf-c-modal-box--c-button--Right);\n}\n.pf-c-modal-box > .pf-c-button + * {\n margin-right: var(--pf-c-modal-box--c-button--sibling--MarginRight);\n}\n\n.pf-c-modal-box__header {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n padding-top: var(--pf-c-modal-box__header--PaddingTop);\n padding-right: var(--pf-c-modal-box__header--PaddingRight);\n padding-left: var(--pf-c-modal-box__header--PaddingLeft);\n}\n.pf-c-modal-box__header.pf-m-help {\n display: flex;\n flex-direction: row;\n}\n.pf-c-modal-box__header:last-child {\n padding-bottom: var(--pf-c-modal-box__header--last-child--PaddingBottom);\n}\n.pf-c-modal-box__header + .pf-c-modal-box__body {\n --pf-c-modal-box__body--PaddingTop: var(--pf-c-modal-box__header--body--PaddingTop);\n}\n\n.pf-c-modal-box__header-main {\n flex-grow: 1;\n min-width: 0;\n}\n\n.pf-c-modal-box__title,\n.pf-c-modal-box__title-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.pf-c-modal-box__title {\n flex: 0 0 auto;\n font-family: var(--pf-c-modal-box__title--FontFamily);\n font-size: var(--pf-c-modal-box__title--FontSize);\n line-height: var(--pf-c-modal-box__title--LineHeight);\n}\n.pf-c-modal-box__title.pf-m-icon {\n display: flex;\n}\n\n.pf-c-modal-box__title-icon {\n margin-right: var(--pf-c-modal-box__title-icon--MarginRight);\n color: var(--pf-c-modal-box__title-icon--Color);\n}\n\n.pf-c-modal-box__description {\n padding-top: var(--pf-c-modal-box__description--PaddingTop);\n}\n\n.pf-c-modal-box__body {\n flex: 1 1 auto;\n min-height: var(--pf-c-modal-box__body--MinHeight);\n padding-top: var(--pf-c-modal-box__body--PaddingTop);\n padding-right: var(--pf-c-modal-box__body--PaddingRight);\n padding-left: var(--pf-c-modal-box__body--PaddingLeft);\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n word-break: break-word;\n -webkit-overflow-scrolling: touch;\n}\n.pf-c-modal-box__body:last-child {\n padding-bottom: var(--pf-c-modal-box__body--last-child--PaddingBottom);\n}\n\n.pf-c-modal-box__footer {\n display: flex;\n flex: 0 0 auto;\n align-items: center;\n padding-top: var(--pf-c-modal-box__footer--PaddingTop);\n padding-right: var(--pf-c-modal-box__footer--PaddingRight);\n padding-bottom: var(--pf-c-modal-box__footer--PaddingBottom);\n padding-left: var(--pf-c-modal-box__footer--PaddingLeft);\n}\n.pf-c-modal-box__footer > .pf-c-button:not(:last-child) {\n margin-right: var(--pf-c-modal-box__footer--c-button--MarginRight);\n}\n@media screen and (min-width: 576px) {\n .pf-c-modal-box__footer > .pf-c-button:not(:last-child) {\n --pf-c-modal-box__footer--c-button--MarginRight: var(--pf-c-modal-box__footer--c-button--sm--MarginRight);\n }\n}",""]);const r=o},89715:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-page__sidebar.pf-m-light {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-page__main-section[class*=pf-m-dark-], .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector, .pf-c-page__header {\n --pf-global--Color--100: var(--pf-global--Color--light-100);\n --pf-global--Color--200: var(--pf-global--Color--light-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--light-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--light-100);\n --pf-global--link--Color: var(--pf-global--link--Color--light);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--light);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);\n}\n.pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card, .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card, .pf-c-page__header .pf-c-card {\n --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);\n}\n.pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button, .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button, .pf-c-page__header .pf-c-button {\n --pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);\n --pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);\n --pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);\n}\n\n.pf-c-page__header-tools-item, .pf-c-page__header-tools-group {\n --pf-hidden-visible--visible--Visibility: visible;\n --pf-hidden-visible--hidden--Display: none;\n --pf-hidden-visible--hidden--Visibility: hidden;\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n display: var(--pf-hidden-visible--Display);\n visibility: var(--pf-hidden-visible--Visibility);\n}\n.pf-m-hidden.pf-c-page__header-tools-item, .pf-m-hidden.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n}\n@media screen and (min-width: 576px) {\n .pf-m-hidden-on-sm.pf-c-page__header-tools-item, .pf-m-hidden-on-sm.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-sm.pf-c-page__header-tools-item, .pf-m-visible-on-sm.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 768px) {\n .pf-m-hidden-on-md.pf-c-page__header-tools-item, .pf-m-hidden-on-md.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-md.pf-c-page__header-tools-item, .pf-m-visible-on-md.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 992px) {\n .pf-m-hidden-on-lg.pf-c-page__header-tools-item, .pf-m-hidden-on-lg.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-lg.pf-c-page__header-tools-item, .pf-m-visible-on-lg.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-m-hidden-on-xl.pf-c-page__header-tools-item, .pf-m-hidden-on-xl.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-xl.pf-c-page__header-tools-item, .pf-m-visible-on-xl.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 1450px) {\n .pf-m-hidden-on-2xl.pf-c-page__header-tools-item, .pf-m-hidden-on-2xl.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-2xl.pf-c-page__header-tools-item, .pf-m-visible-on-2xl.pf-c-page__header-tools-group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n\n.pf-c-page {\n --pf-c-page--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-page__header--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);\n --pf-c-page__header--ZIndex: var(--pf-global--ZIndex--md);\n --pf-c-page__header--MinHeight: 4.75rem;\n --pf-c-page__header-brand--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-page__header-brand--xl--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-page__header-brand--xl--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-page__header-sidebar-toggle__c-button--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-page__header-sidebar-toggle__c-button--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-page__header-sidebar-toggle__c-button--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-page__header-sidebar-toggle__c-button--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-page__header-sidebar-toggle__c-button--MarginRight: var(--pf-global--spacer--md);\n --pf-c-page__header-sidebar-toggle__c-button--MarginLeft: calc(var(--pf-c-page__header-sidebar-toggle__c-button--PaddingLeft) * -1);\n --pf-c-page__header-sidebar-toggle__c-button--FontSize: var(--pf-global--FontSize--2xl);\n --pf-c-page__header-brand-link--c-brand--MaxHeight: 3.75rem;\n --pf-c-page__header-nav--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);\n --pf-c-page__header-nav--xl--BackgroundColor: transparent;\n --pf-c-page__header-nav--xl--PaddingRight: var(--pf-global--spacer--xl);\n --pf-c-page__header-nav--xl--PaddingLeft: var(--pf-global--spacer--xl);\n --pf-c-page__header-tools--MarginRight: var(--pf-global--spacer--md);\n --pf-c-page__header-tools--xl--MarginRight: var(--pf-global--spacer--lg);\n --pf-c-page__header-tools--c-avatar--MarginLeft: var(--pf-global--spacer--md);\n --pf-c-page__header-tools-group--MarginLeft: var(--pf-global--spacer--xl);\n --pf-c-page__header-tools-group--Display: flex;\n --pf-c-page__header-tools-item--Display: block;\n --pf-c-page__header-tools-item--c-notification-badge--hover--BackgroundColor: var(--pf-global--BackgroundColor--dark-200);\n --pf-c-page__header-tools--c-button--notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-page__header-tools--c-button--notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--200);\n --pf-c-page__header-tools--c-button--m-selected--notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--200);\n --pf-c-page__header-tools--c-button--m-selected--notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--200);\n --pf-c-page__header-tools--c-button--m-selected--before--Width: auto;\n --pf-c-page__header-tools--c-button--m-selected--before--Height: auto;\n --pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-global--BackgroundColor--dark-200);\n --pf-c-page__header-tools--c-button--m-selected--before--BorderRadius: var(--pf-global--BorderRadius--sm);\n --pf-c-page__header-tools--c-button--m-selected--c-notification-badge--m-unread--after--BorderColor: transparent;\n --pf-c-page__sidebar--ZIndex: var(--pf-global--ZIndex--sm);\n --pf-c-page__sidebar--Width: 18.125rem;\n --pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);\n --pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);\n --pf-c-page__sidebar--Transition: var(--pf-global--Transition);\n --pf-c-page__sidebar--TranslateX: -100%;\n --pf-c-page__sidebar--TranslateZ: 0;\n --pf-c-page__sidebar--m-expanded--TranslateX: 0;\n --pf-c-page__sidebar--xl--TranslateX: 0;\n --pf-c-page__sidebar-body--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-page__sidebar-body--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-page__sidebar-body--m-menu--PaddingTop: 0;\n --pf-c-page__sidebar-body--m-menu--PaddingBottom: 0;\n --pf-c-page__sidebar-body--m-menu--BorderTopColor: var(--pf-global--BackgroundColor--dark-200);\n --pf-c-page__sidebar-body--m-menu--BorderTopWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-page__sidebar-body--m-menu--c-context-selector--BorderBottomColor: var(--pf-global--BackgroundColor--dark-200);\n --pf-c-page__main--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-page__main-section--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-page__main-section--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-page__main-section--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-page__main-section--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-page__main-section--xl--PaddingTop: var(--pf-global--spacer--lg);\n --pf-c-page__main-section--xl--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-page__main-section--xl--PaddingBottom: var(--pf-global--spacer--lg);\n --pf-c-page__main-section--xl--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-page__main-breadcrumb--main-section--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-page__main-section--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-page__main-section--m-dark-100--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);\n --pf-c-page__main-section--m-dark-200--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);\n --pf-c-page__main-breadcrumb--page__main-tabs--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-page__main-nav--page__main-tabs--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-page--section--m-limit-width--MaxWidth: calc(125rem - var(--pf-c-page__sidebar--Width));\n --pf-c-page--section--m-sticky-top--ZIndex: var(--pf-global--ZIndex--md);\n --pf-c-page--section--m-sticky-top--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);\n --pf-c-page--section--m-sticky-bottom--ZIndex: var(--pf-global--ZIndex--md);\n --pf-c-page--section--m-sticky-bottom--BoxShadow: var(--pf-global--BoxShadow--sm-top);\n --pf-c-page--section--m-shadow-bottom--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);\n --pf-c-page--section--m-shadow-bottom--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-page--section--m-shadow-top--BoxShadow: var(--pf-global--BoxShadow--sm-top);\n --pf-c-page--section--m-shadow-top--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-page__main-nav--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-page__main-nav--PaddingRight: 0;\n --pf-c-page__main-nav--PaddingLeft: 0;\n --pf-c-page__main-nav--m-sticky-top--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-page__main-nav--xl--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-page__main-nav--xl--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-page__main-subnav--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);\n --pf-c-page__main-subnav--BorderTopWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-page__main-subnav--BorderTopColor: var(--pf-global--palette--black-800);\n --pf-c-page__main-subnav--BorderLeftWidth: 0;\n --pf-c-page__main-subnav--BorderLeftColor: var(--pf-global--palette--black-800);\n --pf-c-page__sidebar--main__main-subnav--BorderLeftWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-page__sidebar--m-collapsed--main__main-subnav--BorderLeftWidth: 0;\n --pf-c-page__main-breadcrumb--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-page__main-breadcrumb--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-page__main-breadcrumb--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-page__main-breadcrumb--PaddingBottom: 0;\n --pf-c-page__main-breadcrumb--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-page__main-breadcrumb--xl--PaddingRight: var(--pf-global--spacer--lg);\n --pf-c-page__main-breadcrumb--xl--PaddingLeft: var(--pf-global--spacer--lg);\n --pf-c-page__main-tabs--PaddingTop: 0;\n --pf-c-page__main-tabs--PaddingRight: 0;\n --pf-c-page__main-tabs--PaddingBottom: 0;\n --pf-c-page__main-tabs--PaddingLeft: 0;\n --pf-c-page__main-tabs--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-page__main-wizard--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-page__main-wizard--BorderTopColor: var(--pf-global--BorderColor--100);\n --pf-c-page__main-wizard--BorderTopWidth: var(--pf-global--BorderWidth--sm);\n display: grid;\n height: 100%;\n grid-template-columns: 1fr;\n grid-template-rows: max-content 1fr;\n grid-template-areas: "header" "main";\n background-color: var(--pf-c-page--BackgroundColor);\n}\n@media (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__header-brand--PaddingLeft: var(--pf-c-page__header-brand--xl--PaddingLeft);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__header-nav--BackgroundColor: var(--pf-c-page__header-nav--xl--BackgroundColor);\n --pf-c-page__header-nav--PaddingRight: var(--pf-c-page__header-nav--xl--PaddingRight);\n --pf-c-page__header-nav--PaddingLeft: var(--pf-c-page__header-nav--xl--PaddingLeft);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__header-tools--MarginRight: var(--pf-c-page__header-tools--xl--MarginRight);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--xl--TranslateX);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__main-section--PaddingTop: var(--pf-c-page__main-section--xl--PaddingTop);\n --pf-c-page__main-section--PaddingRight: var(--pf-c-page__main-section--xl--PaddingRight);\n --pf-c-page__main-section--PaddingBottom: var(--pf-c-page__main-section--xl--PaddingBottom);\n --pf-c-page__main-section--PaddingLeft: var(--pf-c-page__main-section--xl--PaddingLeft);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__main-nav--PaddingRight: var(--pf-c-page__main-nav--xl--PaddingRight);\n --pf-c-page__main-nav--PaddingLeft: var(--pf-c-page__main-nav--xl--PaddingLeft);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page {\n --pf-c-page__main-breadcrumb--PaddingRight: var(--pf-c-page__main-breadcrumb--xl--PaddingRight);\n --pf-c-page__main-breadcrumb--PaddingLeft: var(--pf-c-page__main-breadcrumb--xl--PaddingLeft);\n }\n}\n@media (min-width: 1200px) {\n .pf-c-page {\n grid-template-columns: max-content 1fr;\n grid-template-areas: "header header" "nav main";\n }\n}\n\n.pf-c-page__header,\n.pf-c-page > .pf-c-masthead {\n grid-area: header;\n}\n\n.pf-c-page__header {\n color: var(--pf-global--Color--100);\n z-index: var(--pf-c-page__header--ZIndex);\n grid-template-columns: auto auto;\n display: grid;\n align-items: center;\n min-width: 0;\n min-height: var(--pf-c-page__header--MinHeight);\n background-color: var(--pf-c-page__header--BackgroundColor);\n}\n.pf-c-page__header > * {\n display: flex;\n align-items: center;\n}\n@media screen and (min-width: 992px) {\n .pf-c-page__header {\n grid-template-columns: auto 1fr auto;\n }\n}\n.pf-c-page__header .pf-c-masthead {\n grid-column: span 2;\n align-self: stretch;\n}\n\n.pf-c-page__header-brand {\n grid-column: 1/2;\n padding-left: var(--pf-c-page__header-brand--PaddingLeft);\n}\n@media (min-width: 1200px) {\n .pf-c-page__header-brand {\n padding-right: var(--pf-c-page__header-brand--xl--PaddingRight);\n }\n}\n\n.pf-c-page__header-brand-link {\n display: flex;\n flex: 1;\n align-items: center;\n}\n.pf-c-page__header-brand-link .pf-c-brand {\n max-height: var(--pf-c-page__header-brand-link--c-brand--MaxHeight);\n}\n\n.pf-c-page__header-brand-toggle .pf-c-button {\n padding: var(--pf-c-page__header-sidebar-toggle__c-button--PaddingTop) var(--pf-c-page__header-sidebar-toggle__c-button--PaddingRight) var(--pf-c-page__header-sidebar-toggle__c-button--PaddingBottom) var(--pf-c-page__header-sidebar-toggle__c-button--PaddingLeft);\n margin-right: var(--pf-c-page__header-sidebar-toggle__c-button--MarginRight);\n margin-left: var(--pf-c-page__header-sidebar-toggle__c-button--MarginLeft);\n font-size: var(--pf-c-page__header-sidebar-toggle__c-button--FontSize);\n line-height: 1;\n}\n\n.pf-c-page__header-nav {\n align-self: stretch;\n min-width: 0;\n padding-right: var(--pf-c-page__header-nav--PaddingRight);\n padding-left: var(--pf-c-page__header-nav--PaddingLeft);\n background-color: var(--pf-c-page__header-nav--BackgroundColor);\n grid-column: 1/-1;\n grid-row: 2/3;\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page__header-nav {\n grid-column: 2/3;\n grid-row: 1/2;\n }\n}\n.pf-c-page__header-nav .pf-c-nav {\n align-self: stretch;\n}\n\n.pf-c-page__header-tools {\n grid-column: 2/3;\n margin-right: var(--pf-c-page__header-tools--MarginRight);\n margin-left: auto;\n}\n.pf-c-page__header-tools .pf-c-avatar {\n margin-left: var(--pf-c-page__header-tools--c-avatar--MarginLeft);\n}\n@media screen and (min-width: 992px) {\n .pf-c-page__header-tools {\n grid-column: 3/4;\n }\n}\n\n.pf-c-page__header-tools-group {\n --pf-hidden-visible--visible--Display: var(--pf-c-page__header-tools-group--Display);\n align-items: center;\n}\n.pf-c-page__header-tools-group + .pf-c-page__header-tools-group {\n margin-left: var(--pf-c-page__header-tools-group--MarginLeft);\n}\n\n.pf-c-page__header-tools-item {\n --pf-hidden-visible--visible--Display: var(--pf-c-page__header-tools-item--Display);\n}\n.pf-c-page__header-tools-item .pf-c-notification-badge.pf-m-read:hover {\n --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-page__header-tools-item--c-notification-badge--hover--BackgroundColor);\n}\n.pf-c-page__header-tools-item.pf-m-selected .pf-c-button {\n background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);\n border-radius: var(--pf-c-page__header-tools--c-button--m-selected--before--BorderRadius);\n}\n.pf-c-page__header-tools-item.pf-m-selected .pf-c-button::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: var(--pf-c-page__header-tools--c-button--m-selected--before--Width);\n height: var(--pf-c-page__header-tools--c-button--m-selected--before--Height);\n content: "";\n}\n.pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge.pf-m-unread {\n --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-page__header-tools--c-button--m-selected--notification-badge--m-unread--after--BackgroundColor);\n}\n.pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge.pf-m-unread::after {\n border-color: var(--pf-c-page__header-tools--c-button--m-selected--c-notification-badge--m-unread--after--BorderColor);\n}\n.pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge.pf-m-attention {\n --pf-c-notification-badge--after--BackgroundColor: var(--pf-global--danger-color--200);\n}\n.pf-c-page__header-tools-item .pf-c-button:focus .pf-c-notification-badge.pf-m-unread {\n --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-page__header-tools--c-button--notification-badge--m-unread--after--BackgroundColor);\n}\n.pf-c-page__header-tools-item .pf-c-button:focus .pf-c-notification-badge.pf-m-attention {\n --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-page__header-tools--c-button--notification-badge--m-attention--after--BackgroundColor);\n}\n\n.pf-c-page__sidebar {\n grid-area: nav;\n grid-row-start: 2;\n grid-column-start: 1;\n z-index: var(--pf-c-page__sidebar--ZIndex);\n width: var(--pf-c-page__sidebar--Width);\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: var(--pf-c-page__sidebar--BackgroundColor);\n transition: var(--pf-c-page__sidebar--Transition);\n transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page__sidebar {\n box-shadow: var(--pf-c-page__sidebar--BoxShadow);\n }\n}\n.pf-c-page__sidebar.pf-m-expanded {\n --pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);\n box-shadow: var(--pf-c-page__sidebar--BoxShadow);\n}\n.pf-c-page__sidebar.pf-m-collapsed {\n max-width: 0;\n overflow: hidden;\n}\n.pf-c-page__sidebar.pf-m-light {\n color: var(--pf-global--Color--100);\n --pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);\n}\n\n.pf-c-page__sidebar-body {\n padding-top: var(--pf-c-page__sidebar-body--PaddingTop);\n padding-bottom: var(--pf-c-page__sidebar-body--PaddingBottom);\n}\n.pf-c-page__sidebar-body.pf-m-menu {\n --pf-c-page__sidebar-body--PaddingTop: var(--pf-c-page__sidebar-body--m-menu--PaddingTop);\n --pf-c-page__sidebar-body--PaddingBottom: var(--pf-c-page__sidebar-body--m-menu--PaddingBottom);\n background-color: var(--pf-global--palette--black-900);\n border-top: var(--pf-c-page__sidebar-body--m-menu--BorderTopWidth) solid var(--pf-c-page__sidebar-body--m-menu--BorderTopColor);\n}\n.pf-c-page__sidebar-body.pf-m-menu + .pf-c-page__sidebar-body.pf-m-menu {\n --pf-c-page__sidebar-body--m-menu--BorderTopWidth: 0;\n}\n.pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector {\n --pf-c-context-selector__toggle--BorderTopColor: transparent;\n --pf-c-context-selector__toggle--BorderRightColor: transparent;\n --pf-c-context-selector__toggle--BorderBottomColor: var(--pf-c-page__sidebar-body--m-menu--c-context-selector--BorderBottomColor);\n --pf-c-context-selector__toggle--BorderLeftColor: transparent;\n --pf-c-context-selector__menu--Top: 100%;\n color: var(--pf-global--Color--100);\n width: 100%;\n}\n\n.pf-c-page__main-nav.pf-m-limit-width,\n.pf-c-page__main-breadcrumb.pf-m-limit-width,\n.pf-c-page__main-tabs.pf-m-limit-width,\n.pf-c-page__main-section.pf-m-limit-width,\n.pf-c-page__main-wizard.pf-m-limit-width {\n display: flex;\n flex-direction: column;\n padding: 0;\n}\n.pf-c-page__main-nav.pf-m-limit-width > .pf-c-page__main-body,\n.pf-c-page__main-breadcrumb.pf-m-limit-width > .pf-c-page__main-body,\n.pf-c-page__main-tabs.pf-m-limit-width > .pf-c-page__main-body,\n.pf-c-page__main-section.pf-m-limit-width > .pf-c-page__main-body,\n.pf-c-page__main-wizard.pf-m-limit-width > .pf-c-page__main-body {\n flex: 1;\n max-width: var(--pf-c-page--section--m-limit-width--MaxWidth);\n}\n.pf-c-page__main-nav.pf-m-limit-width.pf-m-align-center,\n.pf-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center,\n.pf-c-page__main-tabs.pf-m-limit-width.pf-m-align-center,\n.pf-c-page__main-section.pf-m-limit-width.pf-m-align-center,\n.pf-c-page__main-wizard.pf-m-limit-width.pf-m-align-center {\n align-items: center;\n}\n.pf-c-page__main-nav.pf-m-limit-width.pf-m-align-center > .pf-c-page__main-body,\n.pf-c-page__main-breadcrumb.pf-m-limit-width.pf-m-align-center > .pf-c-page__main-body,\n.pf-c-page__main-tabs.pf-m-limit-width.pf-m-align-center > .pf-c-page__main-body,\n.pf-c-page__main-section.pf-m-limit-width.pf-m-align-center > .pf-c-page__main-body,\n.pf-c-page__main-wizard.pf-m-limit-width.pf-m-align-center > .pf-c-page__main-body {\n width: 100%;\n}\n\n.pf-c-page__main-nav,\n.pf-c-page__main-breadcrumb,\n.pf-c-page__main-tabs,\n.pf-c-page__main-section,\n.pf-c-page__main-wizard,\n.pf-c-page__main-group,\n.pf-c-page__main-subnav {\n flex-shrink: 0;\n}\n.pf-c-page__main-nav.pf-m-sticky-top,\n.pf-c-page__main-breadcrumb.pf-m-sticky-top,\n.pf-c-page__main-tabs.pf-m-sticky-top,\n.pf-c-page__main-section.pf-m-sticky-top,\n.pf-c-page__main-wizard.pf-m-sticky-top,\n.pf-c-page__main-group.pf-m-sticky-top,\n.pf-c-page__main-subnav.pf-m-sticky-top {\n position: sticky;\n top: 0;\n z-index: var(--pf-c-page--section--m-sticky-top--ZIndex);\n box-shadow: var(--pf-c-page--section--m-sticky-top--BoxShadow);\n}\n.pf-c-page__main-nav.pf-m-sticky-bottom,\n.pf-c-page__main-breadcrumb.pf-m-sticky-bottom,\n.pf-c-page__main-tabs.pf-m-sticky-bottom,\n.pf-c-page__main-section.pf-m-sticky-bottom,\n.pf-c-page__main-wizard.pf-m-sticky-bottom,\n.pf-c-page__main-group.pf-m-sticky-bottom,\n.pf-c-page__main-subnav.pf-m-sticky-bottom {\n position: sticky;\n bottom: 0;\n z-index: var(--pf-c-page--section--m-sticky-bottom--ZIndex);\n box-shadow: var(--pf-c-page--section--m-sticky-bottom--BoxShadow);\n}\n.pf-c-page__main-nav.pf-m-overflow-scroll,\n.pf-c-page__main-breadcrumb.pf-m-overflow-scroll,\n.pf-c-page__main-tabs.pf-m-overflow-scroll,\n.pf-c-page__main-section.pf-m-overflow-scroll,\n.pf-c-page__main-wizard.pf-m-overflow-scroll,\n.pf-c-page__main-group.pf-m-overflow-scroll,\n.pf-c-page__main-subnav.pf-m-overflow-scroll {\n position: relative;\n flex-shrink: 1;\n overflow: auto;\n}\n.pf-c-page__main-nav.pf-m-shadow-bottom,\n.pf-c-page__main-breadcrumb.pf-m-shadow-bottom,\n.pf-c-page__main-tabs.pf-m-shadow-bottom,\n.pf-c-page__main-section.pf-m-shadow-bottom,\n.pf-c-page__main-wizard.pf-m-shadow-bottom,\n.pf-c-page__main-group.pf-m-shadow-bottom,\n.pf-c-page__main-subnav.pf-m-shadow-bottom {\n z-index: var(--pf-c-page--section--m-shadow-bottom--ZIndex);\n box-shadow: var(--pf-c-page--section--m-shadow-bottom--BoxShadow);\n}\n.pf-c-page__main-nav.pf-m-shadow-top,\n.pf-c-page__main-breadcrumb.pf-m-shadow-top,\n.pf-c-page__main-tabs.pf-m-shadow-top,\n.pf-c-page__main-section.pf-m-shadow-top,\n.pf-c-page__main-wizard.pf-m-shadow-top,\n.pf-c-page__main-group.pf-m-shadow-top,\n.pf-c-page__main-subnav.pf-m-shadow-top {\n z-index: var(--pf-c-page--section--m-shadow-top--ZIndex);\n box-shadow: var(--pf-c-page--section--m-shadow-top--BoxShadow);\n}\n\n.pf-c-page__main,\n.pf-c-page__drawer {\n grid-area: main;\n z-index: var(--pf-c-page__main--ZIndex);\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n}\n.pf-c-page__main:focus,\n.pf-c-page__drawer:focus {\n outline: 0;\n}\n\n.pf-c-page__main,\n.pf-c-page__main-drawer,\n.pf-c-page__main-group {\n display: flex;\n flex-direction: column;\n}\n\n.pf-c-page__main-nav {\n padding-top: var(--pf-c-page__main-nav--PaddingTop);\n padding-right: var(--pf-c-page__main-nav--PaddingRight);\n padding-left: var(--pf-c-page__main-nav--PaddingLeft);\n background-color: var(--pf-c-page__main-nav--BackgroundColor);\n}\n.pf-c-page__main-nav.pf-m-sticky-top, .pf-c-page__main-group.pf-m-sticky-top .pf-c-page__main-nav:last-child {\n padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);\n}\n\n.pf-c-page__main-subnav {\n background-color: var(--pf-c-page__main-subnav--BackgroundColor);\n border-top: var(--pf-c-page__main-subnav--BorderTopWidth) solid var(--pf-c-page__main-subnav--BorderTopColor);\n border-left: var(--pf-c-page__main-subnav--BorderLeftWidth) solid var(--pf-c-page__main-subnav--BorderLeftColor);\n}\n@media screen and (min-width: 1200px) {\n .pf-c-page__sidebar ~ .pf-c-page__main {\n --pf-c-page__main-subnav--BorderLeftWidth: var(--pf-c-page__sidebar--main__main-subnav--BorderLeftWidth);\n }\n}\n.pf-c-page__sidebar.pf-m-collapsed ~ .pf-c-page__main {\n --pf-c-page__main-subnav--BorderLeftWidth: var(--pf-c-page__sidebar--m-collapsed--main__main-subnav--BorderLeftWidth);\n}\n\n.pf-c-page__main-breadcrumb {\n padding: var(--pf-c-page__main-breadcrumb--PaddingTop) var(--pf-c-page__main-breadcrumb--PaddingRight) var(--pf-c-page__main-breadcrumb--PaddingBottom) var(--pf-c-page__main-breadcrumb--PaddingLeft);\n background-color: var(--pf-c-page__main-breadcrumb--BackgroundColor);\n}\n.pf-c-page__main-breadcrumb + .pf-c-page__main-section {\n --pf-c-page__main-section--PaddingTop: var(--pf-c-page__main-breadcrumb--main-section--PaddingTop);\n}\n.pf-c-page__main-breadcrumb.pf-m-sticky-top, .pf-c-page__main-group.pf-m-sticky-top .pf-c-page__main-breadcrumb:last-child {\n --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);\n}\n\n.pf-c-page__main-tabs {\n padding: var(--pf-c-page__main-tabs--PaddingTop) var(--pf-c-page__main-tabs--PaddingRight) var(--pf-c-page__main-tabs--PaddingBottom) var(--pf-c-page__main-tabs--PaddingLeft);\n background-color: var(--pf-c-page__main-tabs--BackgroundColor);\n}\n.pf-c-page__main-nav + .pf-c-page__main-tabs {\n --pf-c-page__main-tabs--PaddingTop: var(--pf-c-page__main-nav--page__main-tabs--PaddingTop);\n}\n.pf-c-page__main-breadcrumb + .pf-c-page__main-tabs {\n --pf-c-page__main-tabs--PaddingTop: var(--pf-c-page__main-breadcrumb--page__main-tabs--PaddingTop);\n}\n\n.pf-c-page__main-section:last-child, .pf-c-page__main-section:only-child, .pf-c-page__main-section.pf-m-fill,\n.pf-c-page__main-group:last-child,\n.pf-c-page__main-group:only-child,\n.pf-c-page__main-group.pf-m-fill,\n.pf-c-page__main-wizard:last-child,\n.pf-c-page__main-wizard:only-child,\n.pf-c-page__main-wizard.pf-m-fill {\n flex-grow: 1;\n}\n.pf-c-page__main-section.pf-m-no-fill,\n.pf-c-page__main-group.pf-m-no-fill,\n.pf-c-page__main-wizard.pf-m-no-fill {\n flex-grow: 0;\n}\n\n.pf-c-page__main-section {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n background-color: var(--pf-c-page__main-section--BackgroundColor);\n}\n.pf-c-page__main-section.pf-m-light {\n --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-light--BackgroundColor);\n}\n.pf-c-page__main-section[class*=pf-m-dark-] {\n color: var(--pf-global--Color--100);\n}\n.pf-c-page__main-section.pf-m-dark-100 {\n --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-dark-100--BackgroundColor);\n}\n.pf-c-page__main-section.pf-m-dark-200 {\n --pf-c-page__main-section--BackgroundColor: var(--pf-c-page__main-section--m-dark-200--BackgroundColor);\n}\n.pf-c-page__main-section.pf-m-padding {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n}\n.pf-c-page__main-section.pf-m-padding.pf-m-limit-width {\n padding: 0;\n}\n.pf-c-page__main-section.pf-m-padding.pf-m-limit-width .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n}\n.pf-c-page__main-section.pf-m-no-padding, .pf-c-page__main-section.pf-m-no-padding.pf-m-limit-width .pf-c-page__main-body {\n padding: 0;\n}\n@media (min-width: 576px) {\n .pf-c-page__main-section.pf-m-padding-on-sm {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-padding-on-sm.pf-m-limit-width {\n padding: 0;\n }\n .pf-c-page__main-section.pf-m-padding-on-sm.pf-m-limit-width .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-no-padding-on-sm, .pf-c-page__main-section.pf-m-no-padding-on-sm.pf-m-limit-width .pf-c-page__main-body {\n padding: 0;\n }\n}\n@media (min-width: 768px) {\n .pf-c-page__main-section.pf-m-padding-on-md {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-padding-on-md.pf-m-limit-width {\n padding: 0;\n }\n .pf-c-page__main-section.pf-m-padding-on-md.pf-m-limit-width .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-no-padding-on-md, .pf-c-page__main-section.pf-m-no-padding-on-md.pf-m-limit-width .pf-c-page__main-body {\n padding: 0;\n }\n}\n@media (min-width: 992px) {\n .pf-c-page__main-section.pf-m-padding-on-lg {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-padding-on-lg.pf-m-limit-width {\n padding: 0;\n }\n .pf-c-page__main-section.pf-m-padding-on-lg.pf-m-limit-width .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-no-padding-on-lg, .pf-c-page__main-section.pf-m-no-padding-on-lg.pf-m-limit-width .pf-c-page__main-body {\n padding: 0;\n }\n}\n@media (min-width: 1200px) {\n .pf-c-page__main-section.pf-m-padding-on-xl {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-padding-on-xl.pf-m-limit-width {\n padding: 0;\n }\n .pf-c-page__main-section.pf-m-padding-on-xl.pf-m-limit-width .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-no-padding-on-xl, .pf-c-page__main-section.pf-m-no-padding-on-xl.pf-m-limit-width .pf-c-page__main-body {\n padding: 0;\n }\n}\n@media (min-width: 1450px) {\n .pf-c-page__main-section.pf-m-padding-on-2xl {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-padding-on-2xl.pf-m-limit-width {\n padding: 0;\n }\n .pf-c-page__main-section.pf-m-padding-on-2xl.pf-m-limit-width .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n }\n .pf-c-page__main-section.pf-m-no-padding-on-2xl, .pf-c-page__main-section.pf-m-no-padding-on-2xl.pf-m-limit-width .pf-c-page__main-body {\n padding: 0;\n }\n}\n\n.pf-c-page__main-wizard {\n flex: 1 1;\n min-height: 0;\n background-color: var(--pf-c-page__main-wizard--BackgroundColor);\n border-top: var(--pf-c-page__main-wizard--BorderTopWidth) solid var(--pf-c-page__main-wizard--BorderTopColor);\n}\n.pf-c-page__main-wizard:first-child {\n --pf-c-page__main-wizard--BorderTopWidth: 0;\n}\n\n.pf-c-page__main-wizard .pf-c-page__main-body {\n min-height: 0;\n}\n\n.pf-c-page__main-group {\n flex-shrink: 0;\n}\n\n.pf-c-page__main-nav .pf-c-page__main-body {\n padding-top: var(--pf-c-page__main-nav--PaddingTop);\n padding-right: var(--pf-c-page__main-nav--PaddingRight);\n padding-left: var(--pf-c-page__main-nav--PaddingLeft);\n}\n.pf-c-page__main-breadcrumb .pf-c-page__main-body {\n padding: var(--pf-c-page__main-breadcrumb--PaddingTop) var(--pf-c-page__main-breadcrumb--PaddingRight) var(--pf-c-page__main-breadcrumb--PaddingBottom) var(--pf-c-page__main-breadcrumb--PaddingLeft);\n}\n.pf-c-page__main-section .pf-c-page__main-body {\n padding: var(--pf-c-page__main-section--PaddingTop) var(--pf-c-page__main-section--PaddingRight) var(--pf-c-page__main-section--PaddingBottom) var(--pf-c-page__main-section--PaddingLeft);\n}\n.pf-c-page__main-tabs .pf-c-page__main-body {\n padding: var(--pf-c-page__main-tabs--PaddingTop) var(--pf-c-page__main-tabs--PaddingRight) var(--pf-c-page__main-tabs--PaddingBottom) var(--pf-c-page__main-tabs--PaddingLeft);\n}\n\n.pf-c-page__drawer {\n grid-area: main;\n}\n.pf-c-page__drawer > .pf-c-drawer {\n flex: 1 0 auto;\n}',""]);const r=o},75381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-popover[data-popper-reference-hidden="true"] {\n visibility: hidden;\n pointer-events: none;\n}\n\n',""]);const r=o},34643:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-radio {\n --pf-c-radio--GridGap: var(--pf-global--spacer--xs) var(--pf-global--spacer--sm);\n --pf-c-radio__label--disabled--Color: var(--pf-global--disabled-color--100);\n --pf-c-radio__label--Color: var(--pf-global--Color--100);\n --pf-c-radio__label--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-radio__label--FontSize: var(--pf-global--FontSize--md);\n --pf-c-radio__label--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-radio__input--Height: var(--pf-c-radio__label--FontSize);\n --pf-c-radio__input--MarginTop: calc(((var(--pf-c-radio__label--FontSize) * var(--pf-c-radio__label--LineHeight)) - var(--pf-c-radio__input--Height)) / 2);\n --pf-c-radio__input--first-child--MarginLeft: 0.0625rem;\n --pf-c-radio__input--last-child--MarginRight: 0.0625rem;\n --pf-c-radio__description--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-radio__description--Color: var(--pf-global--Color--200);\n --pf-c-radio__body--MarginTop: var(--pf-global--spacer--sm);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-gap: var(--pf-c-radio--GridGap);\n align-items: start;\n justify-items: start;\n}\n.pf-c-radio.pf-m-standalone {\n --pf-c-radio--GridGap: 0;\n --pf-c-radio__input--Height: auto;\n --pf-c-radio__input--MarginTop: 0;\n display: inline-grid;\n line-height: 1;\n}\n\n.pf-c-radio__label {\n font-size: var(--pf-c-radio__label--FontSize);\n font-weight: var(--pf-c-radio__label--FontWeight);\n line-height: var(--pf-c-radio__label--LineHeight);\n color: var(--pf-c-radio__label--Color);\n}\n\n.pf-c-radio__input {\n height: var(--pf-c-radio__input--Height);\n margin-top: var(--pf-c-radio__input--MarginTop);\n}\n.pf-c-radio__input:first-child {\n margin-left: var(--pf-c-radio__input--first-child--MarginLeft);\n}\n.pf-c-radio__input:last-child {\n margin-right: var(--pf-c-radio__input--last-child--MarginRight);\n}\n\n.pf-c-radio__description {\n grid-column: 2;\n font-size: var(--pf-c-radio__description--FontSize);\n color: var(--pf-c-radio__description--Color);\n}\n\n.pf-c-radio__body {\n grid-column: 2;\n margin-top: var(--pf-c-radio__body--MarginTop);\n}\n\nlabel.pf-c-radio, .pf-c-radio__label,\n.pf-c-radio__input {\n cursor: pointer;\n}\n\n.pf-c-radio__label:disabled, .pf-c-radio__label.pf-m-disabled,\n.pf-c-radio__input:disabled,\n.pf-c-radio__input.pf-m-disabled {\n --pf-c-radio__label--Color: var(--pf-c-radio__label--disabled--Color);\n cursor: not-allowed;\n}",""]);const r=o},33743:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-select {\n --pf-global--Color--100: var(--pf-global--Color--dark-100);\n --pf-global--Color--200: var(--pf-global--Color--dark-200);\n --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);\n --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);\n --pf-global--link--Color: var(--pf-global--link--Color--dark);\n --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);\n --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);\n}\n\n.pf-c-select {\n color: var(--pf-global--Color--100);\n --pf-c-select__toggle--PaddingTop: var(--pf-global--spacer--form-element);\n --pf-c-select__toggle--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-select__toggle--PaddingBottom: var(--pf-global--spacer--form-element);\n --pf-c-select__toggle--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-select__toggle--MinWidth: var(--pf-global--target-size--MinWidth);\n --pf-c-select__toggle--FontSize: var(--pf-global--FontSize--md);\n --pf-c-select__toggle--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-select__toggle--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-select__toggle--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-select__toggle--before--BorderTopWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-select__toggle--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-select__toggle--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);\n --pf-c-select__toggle--before--BorderWidth: var(--pf-c-select__toggle--before--BorderTopWidth) var(--pf-c-select__toggle--before--BorderRightWidth) var(--pf-c-select__toggle--before--BorderBottomWidth) var(--pf-c-select__toggle--before--BorderLeftWidth);\n --pf-c-select__toggle--before--BorderTopColor: var(--pf-global--BorderColor--300);\n --pf-c-select__toggle--before--BorderRightColor: var(--pf-global--BorderColor--300);\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--200);\n --pf-c-select__toggle--before--BorderLeftColor: var(--pf-global--BorderColor--300);\n --pf-c-select__toggle--Color: var(--pf-global--Color--100);\n --pf-c-select__toggle--hover--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-select__toggle--focus--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-select__toggle--focus--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-select__toggle--active--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-select__toggle--active--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-select__toggle--m-expanded--before--BorderBottomColor: var(--pf-global--active-color--100);\n --pf-c-select__toggle--m-expanded--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--disabled-color--300);\n --pf-c-select__toggle--m-plain--before--BorderColor: transparent;\n --pf-c-select__toggle--m-placeholder--Color: transparent;\n --pf-c-select--m-invalid__toggle--before--BorderBottomColor: var(--pf-global--danger-color--100);\n --pf-c-select--m-invalid__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-select--m-invalid__toggle--hover--before--BorderBottomColor: var(--pf-global--danger-color--100);\n --pf-c-select--m-invalid__toggle--focus--before--BorderBottomColor: var(--pf-global--danger-color--100);\n --pf-c-select--m-invalid__toggle--active--before--BorderBottomColor: var(--pf-global--danger-color--100);\n --pf-c-select--m-invalid__toggle--m-expanded--before--BorderBottomColor: var(--pf-global--danger-color--100);\n --pf-c-select--m-invalid__toggle-status-icon--Color: var(--pf-global--danger-color--100);\n --pf-c-select--m-success__toggle--before--BorderBottomColor: var(--pf-global--success-color--100);\n --pf-c-select--m-success__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-select--m-success__toggle--hover--before--BorderBottomColor: var(--pf-global--success-color--100);\n --pf-c-select--m-success__toggle--focus--before--BorderBottomColor: var(--pf-global--success-color--100);\n --pf-c-select--m-success__toggle--active--before--BorderBottomColor: var(--pf-global--success-color--100);\n --pf-c-select--m-success__toggle--m-expanded--before--BorderBottomColor: var(--pf-global--success-color--100);\n --pf-c-select--m-success__toggle-status-icon--Color: var(--pf-global--success-color--100);\n --pf-c-select--m-warning__toggle--before--BorderBottomColor: var(--pf-global--warning-color--100);\n --pf-c-select--m-warning__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--md);\n --pf-c-select--m-warning__toggle--hover--before--BorderBottomColor: var(--pf-global--warning-color--100);\n --pf-c-select--m-warning__toggle--focus--before--BorderBottomColor: var(--pf-global--warning-color--100);\n --pf-c-select--m-warning__toggle--active--before--BorderBottomColor: var(--pf-global--warning-color--100);\n --pf-c-select--m-warning__toggle--m-expanded--before--BorderBottomColor: var(--pf-global--warning-color--100);\n --pf-c-select--m-warning__toggle-status-icon--Color: var(--pf-global--warning-color--100);\n --pf-c-select__toggle-wrapper--not-last-child--MarginRight: var(--pf-global--spacer--xs);\n --pf-c-select__toggle-wrapper--MaxWidth: calc(100% - var(--pf-global--spacer--lg));\n --pf-c-select__toggle-wrapper--c-chip-group--MarginTop: 0.3125rem;\n --pf-c-select__toggle-wrapper--c-chip-group--MarginBottom: 0.3125rem;\n --pf-c-select__toggle-typeahead--FlexBasis: 10em;\n --pf-c-select__toggle-typeahead--BackgroundColor: transparent;\n --pf-c-select__toggle-typeahead--BorderTop: var(--pf-global--BorderWidth--sm) solid transparent;\n --pf-c-select__toggle-typeahead--BorderRight: none;\n --pf-c-select__toggle-typeahead--BorderLeft: none;\n --pf-c-select__toggle-typeahead--MinWidth: 7.5rem;\n --pf-c-select__toggle-typeahead--focus--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--md));\n --pf-c-select__toggle--m-placeholder__toggle-text--Color: var(--pf-global--Color--dark-200);\n --pf-c-select__toggle-icon--toggle-text--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-select__toggle-badge--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-select__toggle-status-icon--MarginLeft: var(--pf-global--spacer--xs);\n --pf-c-select__toggle-status-icon--Color: var(--pf-global--Color--100);\n --pf-c-select__toggle-arrow--MarginLeft: var(--pf-global--spacer--md);\n --pf-c-select__toggle-arrow--MarginRight: var(--pf-global--spacer--sm);\n --pf-c-select__toggle-arrow--with-clear--MarginLeft: var(--pf-global--spacer--sm);\n --pf-c-select__toggle-arrow--m-top--m-expanded__toggle-arrow--Rotate: 180deg;\n --pf-c-select__toggle-clear--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-select__toggle-clear--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-select__toggle-clear--toggle-button--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-select__toggle-button--Color: var(--pf-global--Color--100);\n --pf-c-select__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);\n --pf-c-select__menu--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-select__menu--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-select__menu--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-select__menu--Top: calc(100% + var(--pf-global--spacer--xs));\n --pf-c-select__menu--ZIndex: var(--pf-global--ZIndex--sm);\n --pf-c-select__menu--Width: auto;\n --pf-c-select__menu--MinWidth: 100%;\n --pf-c-select__menu--m-top--TranslateY: calc(-100% - var(--pf-global--spacer--xs));\n --pf-c-select__list-item--m-loading--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-select__menu-item--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-select__menu-item--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-select__menu-item--m-selected--PaddingRight: var(--pf-global--spacer--2xl);\n --pf-c-select__menu-item--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-select__menu-item--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-select__menu-item--FontSize: var(--pf-global--FontSize--md);\n --pf-c-select__menu-item--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-select__menu-item--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-select__menu-item--Color: var(--pf-global--Color--dark-100);\n --pf-c-select__menu-item--disabled--Color: var(--pf-global--Color--dark-200);\n --pf-c-select__menu-item--Width: 100%;\n --pf-c-select__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-select__menu-item--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);\n --pf-c-select__menu-item--disabled--BackgroundColor: transparent;\n --pf-c-select__menu-item--m-link--Width: auto;\n --pf-c-select__menu-item--m-link--hover--BackgroundColor: transparent;\n --pf-c-select__menu-item--m-link--focus--BackgroundColor: transparent;\n --pf-c-select__menu-item--m-action--Color: var(--pf-global--Color--200);\n --pf-c-select__menu-item--m-action--hover--Color: var(--pf-global--Color--100);\n --pf-c-select__menu-item--m-action--focus--Color: var(--pf-global--Color--100);\n --pf-c-select__menu-item--m-action--disabled--Color: var(--pf-global--disabled-color--200);\n --pf-c-select__menu-item--m-action--Width: auto;\n --pf-c-select__menu-item--m-action--FontSize: var(--pf-global--icon--FontSize--sm);\n --pf-c-select__menu-item--m-action--hover--BackgroundColor: transparent;\n --pf-c-select__menu-item--m-action--focus--BackgroundColor: transparent;\n --pf-c-select__menu-item--hover__menu-item--m-action--Color: var(--pf-global--Color--200);\n --pf-c-select__menu-item--m-favorite-action--Color: var(--pf-global--Color--200);\n --pf-c-select__menu-item--m-favorite-action--hover--Color: var(--pf-global--Color--100);\n --pf-c-select__menu-item--m-favorite-action--focus--Color: var(--pf-global--Color--100);\n --pf-c-select__menu-wrapper--m-favorite__menu-item--m-favorite-action--Color: var(--pf-global--palette--gold-400);\n --pf-c-select__menu-wrapper--m-favorite__menu-item--m-favorite-action--hover--Color: var(--pf-global--palette--gold-500);\n --pf-c-select__menu-wrapper--m-favorite__menu-item--m-favorite-action--focus--Color: var(--pf-global--palette--gold-500);\n --pf-c-select__menu-item--m-load--Color: var(--pf-global--link--Color);\n --pf-c-select__menu-item-icon--Color: var(--pf-global--active-color--100);\n --pf-c-select__menu-item-icon--FontSize: var(--pf-global--icon--FontSize--sm);\n --pf-c-select__menu-item-icon--Right: var(--pf-global--spacer--md);\n --pf-c-select__menu-item-icon--Top: 50%;\n --pf-c-select__menu-item-icon--TranslateY: -50%;\n --pf-c-select__menu-item-action-icon--MinHeight: calc(var(--pf-c-select__menu-item--FontSize) * var(--pf-c-select__menu-item--LineHeight));\n --pf-c-select__menu-item--match--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-select__menu-search--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-select__menu-search--PaddingRight: var(--pf-c-select__menu-item--PaddingRight);\n --pf-c-select__menu-search--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-select__menu-search--PaddingLeft: var(--pf-c-select__menu-item--PaddingLeft);\n --pf-c-select__menu-group--menu-group--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-select__menu-group-title--PaddingTop: var(--pf-c-select__menu-item--PaddingTop);\n --pf-c-select__menu-group-title--PaddingRight: var(--pf-c-select__menu-item--PaddingRight);\n --pf-c-select__menu-group-title--PaddingBottom: var(--pf-c-select__menu-item--PaddingBottom);\n --pf-c-select__menu-group-title--PaddingLeft: var(--pf-c-select__menu-item--PaddingLeft);\n --pf-c-select__menu-group-title--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-select__menu-group-title--FontWeight: var(--pf-global--FontWeight--semi-bold);\n --pf-c-select__menu-group-title--Color: var(--pf-global--Color--dark-200);\n --pf-c-select__menu-item-count--MarginLeft: var(--pf-global--spacer--md);\n --pf-c-select__menu-item-count--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-select__menu-item-count--Color: var(--pf-global--Color--200);\n --pf-c-select__menu-item--disabled__menu-item-count--Color: var(--pf-global--Color--dark-200);\n --pf-c-select__menu-item-description--FontSize: var(--pf-global--FontSize--xs);\n --pf-c-select__menu-item-description--Color: var(--pf-global--Color--200);\n --pf-c-select__menu-item-description--PaddingRight: var(--pf-c-select__menu-item--PaddingRight);\n --pf-c-select__menu-item-main--PaddingRight: var(--pf-c-select__menu-item--PaddingRight);\n --pf-c-select__menu-item--m-selected__menu-item-main--PaddingRight: var(--pf-c-select__menu-item--m-selected--PaddingRight);\n --pf-c-select__menu-footer--BoxShadow: var(--pf-global--BoxShadow--sm-top);\n --pf-c-select__menu-footer--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-select__menu-footer--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-select__menu-footer--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-select__menu-footer--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-select__menu-footer--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-select__menu-footer--MarginBottom: calc(var(--pf-global--spacer--sm) * -1);\n --pf-c-select-menu--c-divider--MarginTop: var(--pf-global--spacer--sm);\n --pf-c-select-menu--c-divider--MarginBottom: var(--pf-global--spacer--sm);\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.pf-c-select .pf-c-divider {\n margin-top: var(--pf-c-select-menu--c-divider--MarginTop);\n margin-bottom: var(--pf-c-select-menu--c-divider--MarginBottom);\n}\n.pf-c-select .pf-c-divider:last-child {\n --pf-c-select-menu--c-divider--MarginBottom: 0;\n}\n.pf-c-select.pf-m-invalid {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select--m-invalid__toggle--before--BorderBottomColor);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select--m-invalid__toggle--before--BorderBottomWidth);\n --pf-c-select__toggle--hover--before--BorderBottomColor: var(--pf-c-select--m-invalid__toggle--hover--before--BorderBottomColor);\n --pf-c-select__toggle--focus--before--BorderBottomColor: var(--pf-c-select--m-invalid__toggle--focus--before--BorderBottomColor);\n --pf-c-select__toggle--active--before--BorderBottomColor: var(--pf-c-select--m-invalid__toggle--active--before--BorderBottomColor);\n --pf-c-select__toggle--m-expanded--before--BorderBottomColor: var(--pf-c-select--m-invalid__toggle--m-expanded--before--BorderBottomColor);\n --pf-c-select__toggle-status-icon--Color: var(--pf-c-select--m-invalid__toggle-status-icon--Color);\n}\n.pf-c-select.pf-m-success {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select--m-success__toggle--before--BorderBottomColor);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select--m-success__toggle--before--BorderBottomWidth);\n --pf-c-select__toggle--hover--before--BorderBottomColor: var(--pf-c-select--m-success__toggle--hover--before--BorderBottomColor);\n --pf-c-select__toggle--focus--before--BorderBottomColor: var(--pf-c-select--m-success__toggle--focus--before--BorderBottomColor);\n --pf-c-select__toggle--active--before--BorderBottomColor: var(--pf-c-select--m-success__toggle--active--before--BorderBottomColor);\n --pf-c-select__toggle--m-expanded--before--BorderBottomColor: var(--pf-c-select--m-success__toggle--m-expanded--before--BorderBottomColor);\n --pf-c-select__toggle-status-icon--Color: var(--pf-c-select--m-success__toggle-status-icon--Color);\n}\n.pf-c-select.pf-m-warning {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select--m-warning__toggle--before--BorderBottomColor);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select--m-warning__toggle--before--BorderBottomWidth);\n --pf-c-select__toggle--hover--before--BorderBottomColor: var(--pf-c-select--m-warning__toggle--hover--before--BorderBottomColor);\n --pf-c-select__toggle--focus--before--BorderBottomColor: var(--pf-c-select--m-warning__toggle--focus--before--BorderBottomColor);\n --pf-c-select__toggle--active--before--BorderBottomColor: var(--pf-c-select--m-warning__toggle--active--before--BorderBottomColor);\n --pf-c-select__toggle--m-expanded--before--BorderBottomColor: var(--pf-c-select--m-warning__toggle--m-expanded--before--BorderBottomColor);\n --pf-c-select__toggle-status-icon--Color: var(--pf-c-select--m-warning__toggle-status-icon--Color);\n}\n\n.pf-c-select__menu-search + .pf-c-divider {\n --pf-c-select-menu--c-divider--MarginTop: 0;\n}\n\n.pf-c-select__toggle {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n min-width: var(--pf-c-select__toggle--MinWidth);\n padding: var(--pf-c-select__toggle--PaddingTop) var(--pf-c-select__toggle--PaddingRight) var(--pf-c-select__toggle--PaddingBottom) var(--pf-c-select__toggle--PaddingLeft);\n font-size: var(--pf-c-select__toggle--FontSize);\n font-weight: var(--pf-c-select__toggle--FontWeight);\n line-height: var(--pf-c-select__toggle--LineHeight);\n color: var(--pf-c-select__toggle--Color);\n white-space: nowrap;\n cursor: pointer;\n background-color: var(--pf-c-select__toggle--BackgroundColor);\n border: none;\n}\n.pf-c-select__toggle.pf-m-disabled, .pf-c-select__toggle:disabled {\n --pf-c-select__toggle--BackgroundColor: var(--pf-c-select__toggle--disabled--BackgroundColor);\n pointer-events: none;\n}\n.pf-c-select__toggle.pf-m-disabled::before, .pf-c-select__toggle:disabled::before {\n border: 0;\n}\n.pf-c-select__toggle::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: "";\n border-color: var(--pf-c-select__toggle--before--BorderTopColor) var(--pf-c-select__toggle--before--BorderRightColor) var(--pf-c-select__toggle--before--BorderBottomColor) var(--pf-c-select__toggle--before--BorderLeftColor);\n border-style: solid;\n border-width: var(--pf-c-select__toggle--before--BorderWidth);\n}\n.pf-c-select__toggle:hover {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select__toggle--hover--before--BorderBottomColor);\n}\n.pf-c-select__toggle:focus, .pf-c-select__toggle:focus-within {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select__toggle--focus--before--BorderBottomColor);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select__toggle--focus--before--BorderBottomWidth);\n}\n.pf-c-select__toggle:active, .pf-c-select__toggle.pf-m-active {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select__toggle--active--before--BorderBottomColor);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select__toggle--active--before--BorderBottomWidth);\n}\n.pf-m-expanded > .pf-c-select__toggle {\n --pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select__toggle--m-expanded--before--BorderBottomColor);\n --pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select__toggle--m-expanded--before--BorderBottomWidth);\n}\n.pf-c-select__toggle.pf-m-plain::before {\n border-color: var(--pf-c-select__toggle--m-plain--before--BorderColor);\n}\n.pf-c-select__toggle.pf-m-typeahead {\n --pf-c-select__toggle--PaddingTop: 0;\n --pf-c-select__toggle--PaddingRight: 0;\n --pf-c-select__toggle--PaddingBottom: 0;\n}\n.pf-c-select__toggle.pf-m-typeahead .pf-c-form-control {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n --pf-c-form-control--invalid--BackgroundUrl: none;\n position: relative;\n height: auto;\n}\n.pf-c-select__toggle .pf-c-select__toggle-clear {\n padding-right: var(--pf-c-select__toggle-clear--PaddingRight);\n padding-left: var(--pf-c-select__toggle-clear--PaddingLeft);\n margin-left: auto;\n}\n.pf-c-select__toggle .pf-c-select__toggle-button {\n color: var(--pf-c-select__toggle-button--Color);\n}\n.pf-c-select__toggle .pf-c-select__toggle-clear + .pf-c-select__toggle-button {\n padding-left: var(--pf-c-select__toggle-clear--toggle-button--PaddingLeft);\n}\n.pf-c-select__toggle.pf-m-placeholder {\n --pf-c-select__toggle-text--Color: var(--pf-c-select__toggle--m-placeholder__toggle-text--Color);\n}\n\n* + .pf-c-select__toggle-arrow {\n margin-right: var(--pf-c-select__toggle-arrow--MarginRight);\n margin-left: var(--pf-c-select__toggle-arrow--MarginLeft);\n}\n.pf-c-select.pf-m-top.pf-m-expanded .pf-c-select__toggle-arrow {\n transform: rotate(var(--pf-c-select__toggle-arrow--m-top--m-expanded__toggle-arrow--Rotate));\n}\n\n.pf-c-select__toggle-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--pf-c-select__toggle-text--Color, inherit);\n}\n\n.pf-c-select__toggle-wrapper {\n display: flex;\n flex: 1;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n min-width: 0;\n max-width: var(--pf-c-select__toggle-wrapper--MaxWidth);\n white-space: normal;\n}\n.pf-c-select__toggle-wrapper > :not(:last-child) {\n margin-right: var(--pf-c-select__toggle-wrapper--not-last-child--MarginRight);\n}\n.pf-c-select__toggle-wrapper > .pf-c-form-control {\n margin-top: calc(-1 * var(--pf-c-select__toggle-wrapper--m-typeahead--PaddingTop));\n}\n.pf-c-select__toggle-wrapper .pf-c-chip-group {\n margin-top: var(--pf-c-select__toggle-wrapper--c-chip-group--MarginTop);\n margin-bottom: var(--pf-c-select__toggle-wrapper--c-chip-group--MarginBottom);\n}\n.pf-c-select__toggle-wrapper > .pf-c-select__toggle-typeahead:first-child {\n margin-left: calc(-1 * var(--pf-c-select__toggle--PaddingLeft));\n}\n\n.pf-c-select__toggle-icon + .pf-c-select__toggle-text {\n margin-left: var(--pf-c-select__toggle-icon--toggle-text--MarginLeft);\n}\n\n.pf-c-select__toggle-status-icon {\n margin-left: var(--pf-c-select__toggle-status-icon--MarginLeft);\n color: var(--pf-c-select__toggle-status-icon--Color);\n}\n\n.pf-c-select__toggle-badge {\n display: flex;\n padding-left: var(--pf-c-select__toggle-badge--PaddingLeft);\n}\n\n.pf-c-select__toggle-typeahead {\n flex-basis: var(--pf-c-select__toggle-typeahead--FlexBasis);\n flex-grow: 1;\n min-width: var(--pf-c-select__toggle-typeahead--MinWidth);\n flex-shrink: 0;\n}\n.pf-c-select__toggle-typeahead.pf-c-form-control {\n background-color: var(--pf-c-select__toggle-typeahead--BackgroundColor);\n border-top: var(--pf-c-select__toggle-typeahead--BorderTop);\n border-right: var(--pf-c-select__toggle-typeahead--BorderRight);\n border-bottom-color: transparent;\n border-left: var(--pf-c-select__toggle-typeahead--BorderLeft);\n}\n.pf-c-select__toggle-typeahead.pf-c-form-control:focus {\n padding-bottom: var(--pf-c-select__toggle-typeahead--focus--PaddingBottom);\n}\n\n.pf-c-select__menu {\n position: absolute;\n top: var(--pf-c-select__menu--Top);\n z-index: var(--pf-c-select__menu--ZIndex);\n width: var(--pf-c-select__menu--Width);\n min-width: var(--pf-c-select__menu--MinWidth);\n padding-top: var(--pf-c-select__menu--PaddingTop);\n padding-bottom: var(--pf-c-select__menu--PaddingBottom);\n background-color: var(--pf-c-select__menu--BackgroundColor);\n background-clip: padding-box;\n box-shadow: var(--pf-c-select__menu--BoxShadow);\n}\n.pf-c-select__menu.pf-m-align-right {\n right: 0;\n}\n.pf-c-select.pf-m-top .pf-c-select__menu {\n top: 0;\n transform: translateY(var(--pf-c-select__menu--m-top--TranslateY));\n}\n\n.pf-c-select__menu-fieldset {\n border: 0;\n}\n\n.pf-c-select__menu-wrapper {\n display: flex;\n}\n.pf-c-select__menu-wrapper.pf-m-favorite .pf-c-select__menu-item.pf-m-favorite-action {\n --pf-c-select__menu-item--m-favorite-action--Color: var(--pf-c-select__menu-wrapper--m-favorite__menu-item--m-favorite-action--Color);\n --pf-c-select__menu-item--m-favorite-action--hover--Color: var(--pf-c-select__menu-wrapper--m-favorite__menu-item--m-favorite-action--hover--Color);\n --pf-c-select__menu-item--m-favorite-action--focus--Color: var(--pf-c-select__menu-wrapper--m-favorite__menu-item--m-favorite-action--focus--Color);\n}\n\n.pf-c-select__menu-item {\n position: relative;\n width: var(--pf-c-select__menu-item--Width);\n padding: var(--pf-c-select__menu-item--PaddingTop) var(--pf-c-select__menu-item--PaddingRight) var(--pf-c-select__menu-item--PaddingBottom) var(--pf-c-select__menu-item--PaddingLeft);\n font-size: var(--pf-c-select__menu-item--FontSize);\n font-weight: var(--pf-c-select__menu-item--FontWeight);\n line-height: var(--pf-c-select__menu-item--LineHeight);\n color: var(--pf-c-select__menu-item--Color);\n text-align: left;\n white-space: nowrap;\n background-color: transparent;\n border: none;\n}\n.pf-c-select__menu-item:hover, .pf-c-select__menu-item:focus, .pf-c-select__menu-item.pf-m-focus {\n --pf-c-select__menu-item--m-action--Color: var(--pf-c-select__menu-item--hover__menu-item--m-action--Color);\n text-decoration: none;\n}\n.pf-c-select__menu-wrapper:hover, .pf-c-select__menu-item:hover {\n background-color: var(--pf-c-select__menu-item--hover--BackgroundColor);\n}\n\n.pf-c-select__menu-wrapper:focus-within,\n.pf-c-select__menu-wrapper.pf-m-focus, .pf-c-select__menu-item:focus, .pf-c-select__menu-item.pf-m-focus {\n position: relative;\n background-color: var(--pf-c-select__menu-item--focus--BackgroundColor);\n}\n\n.pf-c-select__menu-item.pf-m-link {\n --pf-c-select__menu-item--PaddingRight: 0;\n --pf-c-select__menu-item-main--PaddingRight: 0;\n --pf-c-select__menu-item-description--PaddingRight: 0;\n --pf-c-select__menu-item--Width: var(--pf-c-select__menu-item--m-link--Width);\n --pf-c-select__menu-item--hover--BackgroundColor: var(--pf-c-select__menu-item--m-link--hover--BackgroundColor);\n --pf-c-select__menu-item--focus--BackgroundColor: var(--pf-c-select__menu-item--m-link--focus--BackgroundColor);\n flex-grow: 1;\n}\n.pf-c-select__menu-item.pf-m-action {\n --pf-c-select__menu-item--Color: var(--pf-c-select__menu-item--m-action--Color);\n --pf-c-select__menu-item--Width: var(--pf-c-select__menu-item--m-action--Width);\n --pf-c-select__menu-item--hover--BackgroundColor: var(--pf-c-select__menu-item--m-action--hover--BackgroundColor);\n --pf-c-select__menu-item--focus--BackgroundColor: var(--pf-c-select__menu-item--m-action--focus--BackgroundColor);\n display: flex;\n align-items: flex-start;\n font-size: var(--pf-c-select__menu-item--m-action--FontSize);\n}\n.pf-c-select__menu-item.pf-m-action:hover {\n --pf-c-select__menu-item--m-action--Color: var(--pf-c-select__menu-item--m-action--hover--Color);\n}\n.pf-c-select__menu-item.pf-m-action:focus {\n --pf-c-select__menu-item--m-action--Color: var(--pf-c-select__menu-item--m-action--focus--Color);\n}\n.pf-c-select__menu-item.pf-m-action:disabled {\n --pf-c-select__menu-item--disabled--Color: var(--pf-c-select__menu-item--m-action--disabled--Color);\n}\n.pf-c-select__menu-item.pf-m-favorite-action {\n --pf-c-select__menu-item--m-action--Color: var(--pf-c-select__menu-item--m-favorite-action--Color);\n --pf-c-select__menu-item--m-action--hover--Color: var(--pf-c-select__menu-item--m-favorite-action--hover--Color);\n --pf-c-select__menu-item--m-action--focus--Color: var(--pf-c-select__menu-item--m-favorite-action--focus--Color);\n}\n.pf-c-select__menu-item.pf-m-selected {\n --pf-c-select__menu-item--PaddingRight: var(--pf-c-select__menu-item--m-selected--PaddingRight);\n --pf-c-select__menu-item-main--PaddingRight: var(--pf-c-select__menu-item--m-selected__menu-item-main--PaddingRight);\n}\n.pf-c-select__menu-item.pf-m-description {\n white-space: normal;\n}\n.pf-c-select__menu-item.pf-m-description:not(.pf-c-check) {\n --pf-c-select__menu-item--PaddingRight: 0;\n}\n.pf-c-select__menu-item.pf-m-description .pf-c-check__label {\n white-space: nowrap;\n}\n.pf-c-select__menu-wrapper.pf-m-disabled, .pf-c-select__menu-item:disabled, .pf-c-select__menu-item.pf-m-disabled {\n --pf-c-select__menu-item-count--Color: var(--pf-c-select__menu-item--disabled__menu-item-count--Color);\n color: var(--pf-c-select__menu-item--disabled--Color);\n pointer-events: none;\n background-color: var(--pf-c-select__menu-item--disabled--BackgroundColor);\n}\n\n.pf-c-select__menu-item.pf-c-check .pf-c-check__label {\n width: 100%;\n}\n.pf-c-select__menu-item.pf-m-load {\n --pf-c-select__menu-item--hover--BackgroundColor: transparent;\n --pf-c-select__menu-item--focus--BackgroundColor: transparent;\n --pf-c-select__menu-item--Color: var(--pf-c-select__menu-item--m-load--Color);\n}\n\n.pf-c-select__list-item.pf-m-loading {\n padding-top: var(--pf-c-select__list-item--m-loading--PaddingTop);\n text-align: center;\n}\n\n.pf-c-select__menu-item-main {\n position: relative;\n display: block;\n padding-right: var(--pf-c-select__menu-item-main--PaddingRight);\n white-space: nowrap;\n}\n\n.pf-c-select__menu-item-row {\n display: flex;\n}\n\n.pf-c-select__menu-item-text {\n flex-grow: 1;\n}\n\n.pf-c-select__menu-item-count {\n align-self: center;\n margin-left: var(--pf-c-select__menu-item-count--MarginLeft);\n font-size: var(--pf-c-select__menu-item-count--FontSize);\n color: var(--pf-c-select__menu-item-count--Color);\n}\n\n.pf-c-select__menu-item-description {\n display: block;\n padding-right: var(--pf-c-select__menu-item-description--PaddingRight);\n font-size: var(--pf-c-select__menu-item-description--FontSize);\n color: var(--pf-c-select__menu-item-description--Color);\n}\n\n.pf-c-select__menu-item-icon {\n position: absolute;\n top: var(--pf-c-select__menu-item-icon--Top);\n right: var(--pf-c-select__menu-item-icon--Right);\n font-size: var(--pf-c-select__menu-item-icon--FontSize);\n color: var(--pf-c-select__menu-item-icon--Color);\n transform: translateY(var(--pf-c-select__menu-item-icon--TranslateY));\n}\n\n.pf-c-select__menu-item-action-icon {\n display: flex;\n align-items: center;\n min-height: var(--pf-c-select__menu-item-action-icon--MinHeight);\n}\n\n.pf-c-select__menu-item--match {\n font-weight: var(--pf-c-select__menu-item--match--FontWeight);\n background-color: inherit;\n}\n\n.pf-c-select__menu-group + .pf-c-select__menu-group {\n padding-top: var(--pf-c-select__menu-group--menu-group--PaddingTop);\n}\n\n.pf-c-select__menu-search {\n padding: var(--pf-c-select__menu-search--PaddingTop) var(--pf-c-select__menu-search--PaddingRight) var(--pf-c-select__menu-search--PaddingBottom) var(--pf-c-select__menu-search--PaddingLeft);\n}\n\n.pf-c-select__menu-group-title {\n padding-top: var(--pf-c-select__menu-group-title--PaddingTop);\n padding-right: var(--pf-c-select__menu-group-title--PaddingRight);\n padding-bottom: var(--pf-c-select__menu-group-title--PaddingBottom);\n padding-left: var(--pf-c-select__menu-group-title--PaddingLeft);\n font-size: var(--pf-c-select__menu-group-title--FontSize);\n font-weight: var(--pf-c-select__menu-group-title--FontWeight);\n color: var(--pf-c-select__menu-group-title--Color);\n}\n\n.pf-c-select__menu-footer {\n padding: var(--pf-c-select__menu-footer--PaddingTop) var(--pf-c-select__menu-footer--PaddingRight) var(--pf-c-select__menu-footer--PaddingBottom) var(--pf-c-select__menu-footer--PaddingLeft);\n margin-top: var(--pf-c-select__menu-footer--MarginTop);\n margin-bottom: var(--pf-c-select__menu-footer--MarginBottom);\n box-shadow: var(--pf-c-select__menu-footer--BoxShadow);\n}',""]);const r=o},68687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-spinner {\n --pf-c-spinner--diameter: var(--pf-global--icon--FontSize--xl);\n --pf-c-spinner--Width: var(--pf-c-spinner--diameter);\n --pf-c-spinner--Height: var(--pf-c-spinner--diameter);\n --pf-c-spinner--Color: var(--pf-global--primary-color--100);\n --pf-c-spinner--m-sm--diameter: var(--pf-global--icon--FontSize--sm);\n --pf-c-spinner--m-md--diameter: var(--pf-global--icon--FontSize--md);\n --pf-c-spinner--m-lg--diameter: var(--pf-global--icon--FontSize--lg);\n --pf-c-spinner--m-xl--diameter: var(--pf-global--icon--FontSize--xl);\n width: var(--pf-c-spinner--Width);\n height: var(--pf-c-spinner--Height);\n overflow: hidden;\n}\n.pf-c-spinner.pf-m-sm {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-sm--diameter);\n}\n.pf-c-spinner.pf-m-md {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-md--diameter);\n}\n.pf-c-spinner.pf-m-lg {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-lg--diameter);\n}\n.pf-c-spinner.pf-m-xl {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-xl--diameter);\n}\n\nspan.pf-c-spinner {\n --pf-c-spinner--AnimationDuration: 1.5s;\n --pf-c-spinner--AnimationTimingFunction: cubic-bezier(.77, .005, .315, 1);\n --pf-c-spinner--stroke-width-multiplier: .1;\n --pf-c-spinner--stroke-width: calc(var(--pf-c-spinner--diameter) * var(--pf-c-spinner--stroke-width-multiplier));\n --pf-c-spinner__clipper--Width: var(--pf-c-spinner--diameter);\n --pf-c-spinner__clipper--Height: var(--pf-c-spinner--diameter);\n --pf-c-spinner__clipper--after--BoxShadowColor: var(--pf-c-spinner--Color);\n --pf-c-spinner__clipper--after--Width: var(--pf-c-spinner--diameter);\n --pf-c-spinner__clipper--after--Height: var(--pf-c-spinner--diameter);\n --pf-c-spinner__clipper--after--BoxShadowSpreadRadius: var(--pf-c-spinner--stroke-width);\n --pf-c-spinner__lead-ball--after--BackgroundColor: var(--pf-c-spinner--Color);\n --pf-c-spinner__ball--after--Width: var(--pf-c-spinner--stroke-width);\n --pf-c-spinner__ball--after--Height: var(--pf-c-spinner--stroke-width);\n --pf-c-spinner__tail-ball--after--BackgroundColor: var(--pf-c-spinner--Color);\n position: relative;\n display: inline-block;\n text-align: left;\n animation: pf-animation-spinner-parent calc(var(--pf-c-spinner--AnimationDuration) * 2) var(--pf-c-spinner--AnimationTimingFunction) infinite;\n}\n\n@keyframes pf-animation-spinner-parent {\n 0% {\n transform: rotate(0deg);\n }\n 50% {\n transform: rotate(-540deg);\n }\n 100% {\n transform: rotate(-1080deg);\n }\n}\n.pf-c-spinner__clipper {\n position: absolute;\n width: var(--pf-c-spinner__clipper--Width);\n height: var(--pf-c-spinner__clipper--Height);\n clip-path: inset(0 0 50% 50%);\n animation: pf-animation-spinner__clipper var(--pf-c-spinner--AnimationDuration) linear infinite;\n}\n\n@keyframes pf-animation-spinner__clipper {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(-270deg);\n }\n}\n.pf-c-spinner__clipper::after {\n position: absolute;\n width: var(--pf-c-spinner__clipper--after--Width);\n height: var(--pf-c-spinner__clipper--after--Height);\n clip-path: inset(0 0 0 50%);\n content: "";\n border-radius: 50%;\n box-shadow: inset 0 0 0 var(--pf-c-spinner__clipper--after--BoxShadowSpreadRadius) var(--pf-c-spinner__clipper--after--BoxShadowColor);\n animation: pf-animation-spinner__clipper-after var(--pf-c-spinner--AnimationDuration) linear infinite;\n}\n\n@keyframes pf-animation-spinner__clipper-after {\n 0% {\n transform: rotate(90deg);\n }\n 100% {\n transform: rotate(-180deg);\n }\n}\n.pf-c-spinner__lead-ball {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n animation: pf-animation-spinner__lead-ball var(--pf-c-spinner--AnimationDuration) linear infinite;\n}\n.pf-c-spinner__lead-ball::after {\n position: absolute;\n top: calc(50% - (var(--pf-c-spinner__ball--after--Height) / 2));\n right: 0;\n width: var(--pf-c-spinner__ball--after--Width);\n height: var(--pf-c-spinner__ball--after--Height);\n content: "";\n background-color: var(--pf-c-spinner__lead-ball--after--BackgroundColor);\n border-radius: 50%;\n transform-origin: top right;\n}\n\n@keyframes pf-animation-spinner__lead-ball {\n 0% {\n transform: rotate(0deg);\n }\n 34% {\n transform: rotate(-180deg);\n }\n 100% {\n transform: rotate(-360deg);\n }\n}\n.pf-c-spinner__tail-ball {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n animation: pf-animation-spinner__tail-ball var(--pf-c-spinner--AnimationDuration) linear infinite;\n}\n.pf-c-spinner__tail-ball::after {\n position: absolute;\n top: calc(50% - (var(--pf-c-spinner__ball--after--Height) / 2));\n right: 0;\n width: var(--pf-c-spinner__ball--after--Width);\n height: var(--pf-c-spinner__ball--after--Height);\n content: "";\n background-color: var(--pf-c-spinner__tail-ball--after--BackgroundColor);\n border-radius: 50%;\n transform-origin: top right;\n}\n\n@keyframes pf-animation-spinner__tail-ball {\n 0% {\n transform: rotate(0deg);\n }\n 67.5% {\n transform: rotate(-180deg);\n }\n 100% {\n transform: rotate(-360deg);\n }\n}\nsvg.pf-c-spinner {\n --pf-c-spinner--diameter: var(--pf-global--icon--FontSize--xl);\n --pf-c-spinner--AnimationDuration: 1.4s;\n --pf-c-spinner--AnimationTimingFunction: linear;\n --pf-c-spinner--stroke-width: 10;\n --pf-c-spinner__path--Stroke: var(--pf-c-spinner--Color);\n --pf-c-spinner__path--StrokeWidth: var(--pf-c-spinner--stroke-width);\n --pf-c-spinner__path--AnimationTimingFunction: ease-in-out;\n --pf-c-spinner--m-sm--diameter: var(--pf-global--icon--FontSize--sm);\n --pf-c-spinner--m-md--diameter: var(--pf-global--icon--FontSize--md);\n --pf-c-spinner--m-lg--diameter: var(--pf-global--icon--FontSize--lg);\n --pf-c-spinner--m-xl--diameter: var(--pf-global--icon--FontSize--xl);\n animation: pf-c-spinner-animation-rotate calc(var(--pf-c-spinner--AnimationDuration) * 2) var(--pf-c-spinner--AnimationTimingFunction) infinite;\n}\nsvg.pf-c-spinner.pf-m-sm {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-sm--diameter);\n}\nsvg.pf-c-spinner.pf-m-md {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-md--diameter);\n}\nsvg.pf-c-spinner.pf-m-lg {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-lg--diameter);\n}\nsvg.pf-c-spinner.pf-m-xl {\n --pf-c-spinner--diameter: var(--pf-c-spinner--m-xl--diameter);\n}\n\n.pf-c-spinner__path {\n width: 100%;\n height: 100%;\n transform-origin: 50% 50%;\n animation: pf-c-spinner-animation-dash var(--pf-c-spinner--AnimationDuration) var(--pf-c-spinner__path--AnimationTimingFunction) infinite;\n stroke: var(--pf-c-spinner--Color);\n stroke-linecap: round;\n stroke-dasharray: 283;\n stroke-dashoffset: 280;\n stroke-width: var(--pf-c-spinner--stroke-width);\n}\n\n@keyframes pf-c-spinner-animation-rotate {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes pf-c-spinner-animation-dash {\n 0% {\n stroke-dashoffset: 280;\n transform: rotate(0);\n }\n 15% {\n stroke-width: calc(var(--pf-c-spinner__path--StrokeWidth) - 4);\n }\n 40% {\n stroke-dashoffset: 150;\n stroke-dasharray: 220;\n }\n 100% {\n stroke-dashoffset: 280;\n transform: rotate(720deg);\n }\n}',""]);const r=o},15641:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'.pf-c-switch {\n --pf-c-switch--FontSize: var(--pf-global--FontSize--md);\n --pf-c-switch__label--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-switch--ColumnGap: var(--pf-c-switch__label--PaddingLeft);\n --pf-c-switch__toggle-icon--FontSize: calc(var(--pf-c-switch--FontSize) * .625);\n --pf-c-switch__toggle-icon--Color: var(--pf-global--Color--light-100);\n --pf-c-switch__toggle-icon--Left: calc(var(--pf-c-switch--FontSize) * .4);\n --pf-c-switch__toggle-icon--Offset: 0.125rem;\n --pf-c-switch--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-switch--Height: auto;\n --pf-c-switch__input--checked__toggle--BackgroundColor: var(--pf-global--primary-color--100);\n --pf-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-c-switch__toggle-icon--Offset));\n --pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);\n --pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);\n --pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);\n --pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--Color--dark-200);\n --pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--disabled-color--200);\n --pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);\n --pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);\n --pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);\n --pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));\n --pf-c-switch__toggle--BackgroundColor: var(--pf-global--disabled-color--200);\n --pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);\n --pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));\n --pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);\n --pf-c-switch__toggle--before--Top: calc((var(--pf-c-switch__toggle--Height) - var(--pf-c-switch__toggle--before--Height)) / 2);\n --pf-c-switch__toggle--before--Left: var(--pf-c-switch__toggle--before--Top);\n --pf-c-switch__toggle--before--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-switch__toggle--before--BorderRadius: var(--pf-global--BorderRadius--lg);\n --pf-c-switch__toggle--before--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-switch__toggle--before--Transition: transform .25s ease 0s;\n --pf-c-switch__toggle--Width: calc(var(--pf-c-switch__toggle--Height) + var(--pf-c-switch__toggle-icon--Offset) + var(--pf-c-switch__toggle--before--Width));\n --pf-c-switch__label--Color: var(--pf-global--Color--dark-100);\n position: relative;\n display: inline-grid;\n grid-template-columns: auto;\n grid-auto-columns: 1fr;\n column-gap: var(--pf-c-switch--ColumnGap);\n height: var(--pf-c-switch--Height);\n font-size: var(--pf-c-switch--FontSize);\n line-height: var(--pf-c-switch--LineHeight);\n vertical-align: middle;\n cursor: pointer;\n}\n.pf-c-switch.pf-m-reverse .pf-c-switch__label,\n.pf-c-switch.pf-m-reverse .pf-c-switch__toggle {\n grid-row: 1;\n}\n.pf-c-switch.pf-m-reverse .pf-c-switch__label {\n grid-column: 1;\n}\n\n.pf-c-switch__input {\n position: absolute;\n cursor: pointer;\n opacity: 0;\n}\n.pf-c-switch__input:focus ~ .pf-c-switch__toggle {\n outline: var(--pf-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-c-switch__input--focus__toggle--OutlineColor);\n outline-offset: var(--pf-c-switch__input--focus__toggle--OutlineOffset);\n}\n.pf-c-switch__input:checked ~ .pf-c-switch__label {\n color: var(--pf-c-switch__input--checked__label--Color);\n}\n.pf-c-switch__input:checked ~ .pf-c-switch__toggle {\n background-color: var(--pf-c-switch__input--checked__toggle--BackgroundColor);\n}\n.pf-c-switch__input:checked ~ .pf-c-switch__toggle::before {\n transform: translateX(var(--pf-c-switch__input--checked__toggle--before--TranslateX));\n}\n.pf-c-switch__input:checked ~ .pf-m-off {\n display: none;\n}\n.pf-c-switch__input:not(:checked) ~ .pf-c-switch__label {\n color: var(--pf-c-switch__input--not-checked__label--Color);\n}\n.pf-c-switch__input:not(:checked) ~ .pf-c-switch__toggle .pf-c-switch__toggle-icon {\n display: none;\n visibility: hidden;\n}\n.pf-c-switch__input:not(:checked) ~ .pf-m-on {\n display: none;\n}\n.pf-c-switch__input:disabled {\n cursor: not-allowed;\n}\n.pf-c-switch__input:disabled ~ .pf-c-switch__label {\n color: var(--pf-c-switch__input--disabled__label--Color);\n cursor: not-allowed;\n}\n.pf-c-switch__input:disabled ~ .pf-c-switch__toggle {\n cursor: not-allowed;\n background-color: var(--pf-c-switch__input--disabled__toggle--BackgroundColor);\n}\n.pf-c-switch__input:disabled ~ .pf-c-switch__toggle::before {\n background-color: var(--pf-c-switch__input--disabled__toggle--before--BackgroundColor);\n}\n\n.pf-c-switch__toggle {\n position: relative;\n display: inline-block;\n width: var(--pf-c-switch__toggle--Width);\n height: var(--pf-c-switch__toggle--Height);\n background-color: var(--pf-c-switch__toggle--BackgroundColor);\n border-radius: var(--pf-c-switch__toggle--BorderRadius);\n}\n.pf-c-switch__toggle::before {\n position: absolute;\n top: var(--pf-c-switch__toggle--before--Top);\n left: var(--pf-c-switch__toggle--before--Left);\n display: block;\n width: var(--pf-c-switch__toggle--before--Width);\n height: var(--pf-c-switch__toggle--before--Height);\n content: "";\n background-color: var(--pf-c-switch__toggle--before--BackgroundColor);\n border-radius: var(--pf-c-switch__toggle--before--BorderRadius);\n box-shadow: var(--pf-c-switch__toggle--before--BoxShadow);\n transition: var(--pf-c-switch__toggle--before--Transition);\n}\n\n.pf-c-switch__toggle-icon {\n position: absolute;\n top: 0;\n bottom: 0;\n left: var(--pf-c-switch__toggle-icon--Left);\n display: flex;\n align-items: center;\n font-size: var(--pf-c-switch__toggle-icon--FontSize);\n color: var(--pf-c-switch__toggle-icon--Color);\n}\n\n.pf-c-switch__label {\n display: inline-block;\n grid-column: 2;\n color: var(--pf-c-switch__label--Color);\n vertical-align: top;\n}',""]);const r=o},1292:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-title {\n --pf-c-title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);\n --pf-c-title--m-4xl--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-title--m-4xl--FontSize: var(--pf-global--FontSize--4xl);\n --pf-c-title--m-4xl--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-title--m-3xl--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-title--m-3xl--FontSize: var(--pf-global--FontSize--3xl);\n --pf-c-title--m-3xl--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-title--m-2xl--LineHeight: var(--pf-global--LineHeight--sm);\n --pf-c-title--m-2xl--FontSize: var(--pf-global--FontSize--2xl);\n --pf-c-title--m-2xl--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-title--m-xl--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-title--m-xl--FontSize: var(--pf-global--FontSize--xl);\n --pf-c-title--m-xl--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-title--m-lg--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-title--m-lg--FontSize: var(--pf-global--FontSize--lg);\n --pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--normal);\n --pf-c-title--m-md--LineHeight: var(--pf-global--LineHeight--md);\n --pf-c-title--m-md--FontSize: var(--pf-global--FontSize--md);\n --pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--normal);\n font-family: var(--pf-c-title--FontFamily);\n word-break: break-word;\n}\n.pf-c-title.pf-m-4xl {\n font-size: var(--pf-c-title--m-4xl--FontSize);\n font-weight: var(--pf-c-title--m-4xl--FontWeight);\n line-height: var(--pf-c-title--m-4xl--LineHeight);\n}\n.pf-c-title.pf-m-3xl {\n font-size: var(--pf-c-title--m-3xl--FontSize);\n font-weight: var(--pf-c-title--m-3xl--FontWeight);\n line-height: var(--pf-c-title--m-3xl--LineHeight);\n}\n.pf-c-title.pf-m-2xl {\n font-size: var(--pf-c-title--m-2xl--FontSize);\n font-weight: var(--pf-c-title--m-2xl--FontWeight);\n line-height: var(--pf-c-title--m-2xl--LineHeight);\n}\n.pf-c-title.pf-m-xl {\n font-size: var(--pf-c-title--m-xl--FontSize);\n font-weight: var(--pf-c-title--m-xl--FontWeight);\n line-height: var(--pf-c-title--m-xl--LineHeight);\n}\n.pf-c-title.pf-m-lg {\n font-size: var(--pf-c-title--m-lg--FontSize);\n font-weight: var(--pf-c-title--m-lg--FontWeight);\n line-height: var(--pf-c-title--m-lg--LineHeight);\n}\n.pf-c-title.pf-m-md {\n font-size: var(--pf-c-title--m-md--FontSize);\n font-weight: var(--pf-c-title--m-md--FontWeight);\n line-height: var(--pf-c-title--m-md--LineHeight);\n}\n\n.pf-m-overpass-font .pf-c-title {\n --pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--semi-bold);\n --pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--semi-bold);\n}",""]);const r=o},2579:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {\n --pf-hidden-visible--visible--Visibility: visible;\n --pf-hidden-visible--hidden--Display: none;\n --pf-hidden-visible--hidden--Visibility: hidden;\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n display: var(--pf-hidden-visible--Display);\n visibility: var(--pf-hidden-visible--Visibility);\n}\n.pf-m-hidden.pf-c-toolbar__content-section, .pf-m-hidden.pf-c-toolbar__content, .pf-m-hidden.pf-c-toolbar__item, .pf-m-hidden.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n}\n@media screen and (min-width: 576px) {\n .pf-m-hidden-on-sm.pf-c-toolbar__content-section, .pf-m-hidden-on-sm.pf-c-toolbar__content, .pf-m-hidden-on-sm.pf-c-toolbar__item, .pf-m-hidden-on-sm.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-sm.pf-c-toolbar__content-section, .pf-m-visible-on-sm.pf-c-toolbar__content, .pf-m-visible-on-sm.pf-c-toolbar__item, .pf-m-visible-on-sm.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 768px) {\n .pf-m-hidden-on-md.pf-c-toolbar__content-section, .pf-m-hidden-on-md.pf-c-toolbar__content, .pf-m-hidden-on-md.pf-c-toolbar__item, .pf-m-hidden-on-md.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-md.pf-c-toolbar__content-section, .pf-m-visible-on-md.pf-c-toolbar__content, .pf-m-visible-on-md.pf-c-toolbar__item, .pf-m-visible-on-md.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 992px) {\n .pf-m-hidden-on-lg.pf-c-toolbar__content-section, .pf-m-hidden-on-lg.pf-c-toolbar__content, .pf-m-hidden-on-lg.pf-c-toolbar__item, .pf-m-hidden-on-lg.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-lg.pf-c-toolbar__content-section, .pf-m-visible-on-lg.pf-c-toolbar__content, .pf-m-visible-on-lg.pf-c-toolbar__item, .pf-m-visible-on-lg.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-m-hidden-on-xl.pf-c-toolbar__content-section, .pf-m-hidden-on-xl.pf-c-toolbar__content, .pf-m-hidden-on-xl.pf-c-toolbar__item, .pf-m-hidden-on-xl.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-xl.pf-c-toolbar__content-section, .pf-m-visible-on-xl.pf-c-toolbar__content, .pf-m-visible-on-xl.pf-c-toolbar__item, .pf-m-visible-on-xl.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n@media screen and (min-width: 1450px) {\n .pf-m-hidden-on-2xl.pf-c-toolbar__content-section, .pf-m-hidden-on-2xl.pf-c-toolbar__content, .pf-m-hidden-on-2xl.pf-c-toolbar__item, .pf-m-hidden-on-2xl.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);\n }\n .pf-m-visible-on-2xl.pf-c-toolbar__content-section, .pf-m-visible-on-2xl.pf-c-toolbar__content, .pf-m-visible-on-2xl.pf-c-toolbar__item, .pf-m-visible-on-2xl.pf-c-toolbar__group {\n --pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);\n --pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);\n }\n}\n\n.pf-c-toolbar {\n --pf-c-toolbar--BackgroundColor: var(--pf-global--BackgroundColor--100);\n --pf-c-toolbar--RowGap: var(--pf-global--spacer--lg);\n --pf-c-toolbar--PaddingTop: var(--pf-global--spacer--md);\n --pf-c-toolbar--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-toolbar__item--Display: block;\n --pf-c-toolbar__group--Display: flex;\n --pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);\n --pf-c-toolbar--m-sticky--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);\n --pf-c-toolbar__content--Display: flex;\n --pf-c-toolbar__content--PaddingRight: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-global--spacer--md);\n --pf-c-toolbar__content-section--Display: flex;\n --pf-c-toolbar--m-page-insets--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar--m-page-insets--xl--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__expandable-content--Display: grid;\n --pf-c-toolbar__expandable-content--PaddingTop: var(--pf-c-toolbar--RowGap);\n --pf-c-toolbar__expandable-content--PaddingRight: var(--pf-c-toolbar__content--PaddingRight);\n --pf-c-toolbar__expandable-content--PaddingBottom: var(--pf-global--spacer--md);\n --pf-c-toolbar__expandable-content--PaddingLeft: var(--pf-c-toolbar__content--PaddingLeft);\n --pf-c-toolbar__expandable-content--lg--PaddingRight: 0;\n --pf-c-toolbar__expandable-content--lg--PaddingBottom: 0;\n --pf-c-toolbar__expandable-content--lg--PaddingLeft: 0;\n --pf-c-toolbar__expandable-content--ZIndex: var(--pf-global--ZIndex--sm);\n --pf-c-toolbar__expandable-content--BoxShadow: var(--pf-global--BoxShadow--md-bottom);\n --pf-c-toolbar__expandable-content--BackgroundColor: var(--pf-c-toolbar--BackgroundColor);\n --pf-c-toolbar__expandable-content--m-expanded--GridRowGap: var(--pf-global--gutter--md);\n --pf-c-toolbar__group--m-chip-container--MarginTop: calc(var(--pf-global--spacer--md) * -1);\n --pf-c-toolbar__group--m-chip-container__item--MarginTop: var(--pf-global--spacer--md);\n --pf-c-toolbar--spacer--base: var(--pf-global--spacer--md);\n --pf-c-toolbar__item--spacer: var(--pf-c-toolbar--spacer--base);\n --pf-c-toolbar__group--spacer: var(--pf-c-toolbar--spacer--base);\n --pf-c-toolbar__item--Width: auto;\n --pf-c-toolbar__group--m-toggle-group--spacer: var(--pf-global--spacer--sm);\n --pf-c-toolbar__group--m-toggle-group--m-show--spacer: var(--pf-c-toolbar__group--spacer);\n --pf-c-toolbar__group--m-icon-button-group--spacer: var(--pf-c-toolbar__group--spacer);\n --pf-c-toolbar__group--m-icon-button-group--space-items: 0;\n --pf-c-toolbar__group--m-button-group--spacer: var(--pf-c-toolbar__group--spacer);\n --pf-c-toolbar__group--m-button-group--space-items: var(--pf-global--spacer--sm);\n --pf-c-toolbar__group--m-filter-group--spacer: var(--pf-c-toolbar__group--spacer);\n --pf-c-toolbar__group--m-filter-group--space-items: 0;\n --pf-c-toolbar__item--m-overflow-menu--spacer: var(--pf-c-toolbar__item--spacer);\n --pf-c-toolbar__item--m-bulk-select--spacer: var(--pf-global--spacer--lg);\n --pf-c-toolbar__expand-all-icon--Rotate: 0;\n --pf-c-toolbar__expand-all-icon--Transition: var(--pf-global--Transition);\n --pf-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate: 90deg;\n --pf-c-toolbar__item--m-search-filter--spacer: var(--pf-global--spacer--sm);\n --pf-c-toolbar__item--m-chip-group--spacer: var(--pf-global--spacer--sm);\n --pf-c-toolbar__item--m-label--spacer: var(--pf-c-toolbar__item--spacer);\n --pf-c-toolbar__item--m-label--FontWeight: var(--pf-global--FontWeight--bold);\n --pf-c-toolbar__toggle--m-expanded__c-button--m-plain--Color: var(--pf-global--Color--100);\n --pf-c-toolbar--c-divider--m-vertical--spacer: var(--pf-c-toolbar--spacer--base);\n --pf-c-toolbar--m-full-height--PaddingTop: 0;\n --pf-c-toolbar--m-full-height--PaddingBottom: 0;\n --pf-c-toolbar--m-full-height__item--Display: flex;\n --pf-c-toolbar--m-full-height__item--AlignItems: center;\n position: relative;\n row-gap: var(--pf-c-toolbar--RowGap);\n display: grid;\n padding-top: var(--pf-c-toolbar--PaddingTop);\n padding-bottom: var(--pf-c-toolbar--PaddingBottom);\n background-color: var(--pf-c-toolbar--BackgroundColor);\n}\n@media screen and (min-width: 992px) {\n .pf-c-toolbar {\n --pf-c-toolbar__expandable-content--PaddingRight: var(--pf-c-toolbar__expandable-content--lg--PaddingRight);\n --pf-c-toolbar__expandable-content--PaddingBottom: var(--pf-c-toolbar__expandable-content--lg--PaddingBottom);\n --pf-c-toolbar__expandable-content--PaddingLeft: var(--pf-c-toolbar__expandable-content--lg--PaddingLeft);\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-c-toolbar {\n --pf-c-toolbar--m-page-insets--inset: var(--pf-c-toolbar--m-page-insets--xl--inset);\n }\n}\n.pf-c-toolbar.pf-m-page-insets {\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--m-page-insets--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--m-page-insets--inset);\n}\n.pf-c-toolbar.pf-m-sticky {\n position: sticky;\n top: 0;\n z-index: var(--pf-c-toolbar--m-sticky--ZIndex);\n box-shadow: var(--pf-c-toolbar--m-sticky--BoxShadow);\n}\n.pf-c-toolbar.pf-m-full-height {\n --pf-c-toolbar--PaddingTop: var(--pf-c-toolbar--m-full-height--PaddingTop);\n --pf-c-toolbar--PaddingBottom: var(--pf-c-toolbar--m-full-height--PaddingTop);\n --pf-c-toolbar__item--Display: var(--pf-c-toolbar--m-full-height__item--Display);\n height: 100%;\n}\n.pf-c-toolbar.pf-m-full-height,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__content,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__content-section,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__expandable-content,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__group {\n min-width: 0;\n}\n.pf-c-toolbar.pf-m-full-height,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__content,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__content-section,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__group,\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__item {\n align-self: stretch;\n}\n.pf-c-toolbar.pf-m-full-height .pf-c-toolbar__item {\n align-items: var(--pf-c-toolbar--m-full-height__item--AlignItems);\n}\n.pf-c-toolbar.pf-m-static,\n.pf-c-toolbar.pf-m-static .pf-c-toolbar__content {\n position: static;\n}\n.pf-c-toolbar.pf-m-static .pf-c-toolbar__expandable-content {\n position: absolute;\n}\n\n.pf-c-toolbar__content-section > .pf-c-divider,\n.pf-c-toolbar__group > .pf-c-divider {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar--c-divider--m-vertical--spacer);\n}\n.pf-c-toolbar__content-section > .pf-c-divider.pf-m-vertical,\n.pf-c-toolbar__group > .pf-c-divider.pf-m-vertical {\n margin-right: var(--pf-c-toolbar--spacer);\n}\n.pf-c-toolbar__content-section > .pf-c-divider.pf-m-vertical:last-child,\n.pf-c-toolbar__group > .pf-c-divider.pf-m-vertical:last-child {\n --pf-c-toolbar--spacer: 0;\n}\n\n.pf-c-toolbar__group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--spacer);\n --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__group--Display);\n align-items: center;\n margin-right: var(--pf-c-toolbar--spacer);\n}\n.pf-c-toolbar__group.pf-m-button-group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-button-group--spacer);\n}\n.pf-c-toolbar__group.pf-m-button-group > * {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-button-group--space-items);\n}\n.pf-c-toolbar__group.pf-m-icon-button-group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-icon-button-group--spacer);\n}\n.pf-c-toolbar__group.pf-m-icon-button-group > * {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-icon-button-group--space-items);\n}\n.pf-c-toolbar__group.pf-m-filter-group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-filter-group--spacer);\n}\n.pf-c-toolbar__group.pf-m-filter-group > * {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-filter-group--space-items);\n}\n.pf-c-toolbar__group.pf-m-filter-group > * + * {\n margin-left: -1px;\n}\n.pf-c-toolbar__group.pf-m-toggle-group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--spacer);\n}\n.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__group,\n.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__item {\n display: none;\n visibility: hidden;\n}\n.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__toggle {\n display: inline-block;\n visibility: visible;\n}\n.pf-c-toolbar__group:last-child {\n --pf-c-toolbar--spacer: 0;\n}\n\n.pf-c-toolbar__item {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--spacer);\n --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width);\n --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth);\n --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__item--Display);\n width: var(--pf-c-toolbar__item--Width--base);\n min-width: var(--pf-c-toolbar__item--MinWidth--base);\n margin-right: var(--pf-c-toolbar--spacer);\n}\n@media (min-width: 576px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width-on-sm, var(--pf-c-toolbar__item--Width));\n }\n}\n@media (min-width: 768px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width-on-md, var(--pf-c-toolbar__item--Width-on-sm, var(--pf-c-toolbar__item--Width)));\n }\n}\n@media (min-width: 992px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width-on-lg, var(--pf-c-toolbar__item--Width-on-md, var(--pf-c-toolbar__item--Width-on-sm, var(--pf-c-toolbar__item--Width))));\n }\n}\n@media (min-width: 1200px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width-on-xl, var(--pf-c-toolbar__item--Width-on-lg, var(--pf-c-toolbar__item--Width-on-md, var(--pf-c-toolbar__item--Width-on-sm, var(--pf-c-toolbar__item--Width)))));\n }\n}\n@media (min-width: 1450px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width-on-2xl, var(--pf-c-toolbar__item--Width-on-xl, var(--pf-c-toolbar__item--Width-on-lg, var(--pf-c-toolbar__item--Width-on-md, var(--pf-c-toolbar__item--Width-on-sm, var(--pf-c-toolbar__item--Width))))));\n }\n}\n@media (min-width: 576px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth));\n }\n}\n@media (min-width: 768px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-md, var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth)));\n }\n}\n@media (min-width: 992px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-lg, var(--pf-c-toolbar__item--MinWidth-on-md, var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth))));\n }\n}\n@media (min-width: 1200px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-xl, var(--pf-c-toolbar__item--MinWidth-on-lg, var(--pf-c-toolbar__item--MinWidth-on-md, var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth)))));\n }\n}\n@media (min-width: 1450px) {\n .pf-c-toolbar__item {\n --pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-2xl, var(--pf-c-toolbar__item--MinWidth-on-xl, var(--pf-c-toolbar__item--MinWidth-on-lg, var(--pf-c-toolbar__item--MinWidth-on-md, var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth))))));\n }\n}\n.pf-c-toolbar__item.pf-m-overflow-menu {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-overflow-menu--spacer);\n}\n.pf-c-toolbar__item.pf-m-bulk-select {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-bulk-select--spacer);\n}\n.pf-c-toolbar__item.pf-m-expand-all.pf-m-expanded {\n --pf-c-toolbar__expand-all-icon--Rotate: var(--pf-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate);\n}\n.pf-c-toolbar__item.pf-m-search-filter {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-search-filter--spacer);\n}\n.pf-c-toolbar__item.pf-m-chip-group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-chip-group--spacer);\n}\n.pf-c-toolbar__item.pf-m-label {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-label--spacer);\n font-weight: var(--pf-c-toolbar__item--m-label--FontWeight);\n}\n.pf-c-toolbar__item.pf-m-pagination {\n margin-left: auto;\n}\n.pf-c-toolbar__item.pf-m-pagination .pf-c-pagination {\n flex-wrap: nowrap;\n}\n.pf-c-toolbar__item:last-child {\n --pf-c-toolbar--spacer: 0;\n}\n\n.pf-c-toolbar__expand-all-icon {\n display: inline-block;\n transition: var(--pf-c-toolbar__expand-all-icon--Transition);\n transform: rotate(var(--pf-c-toolbar__expand-all-icon--Rotate));\n}\n\n.pf-c-toolbar__content,\n.pf-c-toolbar__content-section {\n flex-wrap: wrap;\n align-items: center;\n}\n\n.pf-c-toolbar__content {\n --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__content--Display);\n position: relative;\n padding-right: var(--pf-c-toolbar__content--PaddingRight);\n padding-left: var(--pf-c-toolbar__content--PaddingLeft);\n}\n\n.pf-c-toolbar__content-section {\n --pf-hidden-visible--visible--Display: var(--pf-c-toolbar__content-section--Display);\n width: 100%;\n}\n\n.pf-c-toolbar__expandable-content {\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n z-index: var(--pf-c-toolbar__expandable-content--ZIndex);\n display: none;\n width: 100%;\n padding: var(--pf-c-toolbar__expandable-content--PaddingTop) var(--pf-c-toolbar__expandable-content--PaddingRight) var(--pf-c-toolbar__expandable-content--PaddingBottom) var(--pf-c-toolbar__expandable-content--PaddingLeft);\n visibility: hidden;\n background-color: var(--pf-c-toolbar__expandable-content--BackgroundColor);\n box-shadow: var(--pf-c-toolbar__expandable-content--BoxShadow);\n}\n@media screen and (min-width: 992px) {\n .pf-c-toolbar__expandable-content {\n position: static;\n box-shadow: none;\n }\n}\n.pf-c-toolbar__expandable-content.pf-m-expanded {\n display: grid;\n grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);\n visibility: visible;\n}\n.pf-c-toolbar__expandable-content .pf-c-toolbar__group,\n.pf-c-toolbar__expandable-content .pf-c-toolbar__item {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar__expandable-content .pf-c-toolbar__group {\n display: grid;\n grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);\n}\n.pf-c-toolbar__expandable-content .pf-m-label {\n display: none;\n visibility: hidden;\n}\n\n.pf-c-toolbar__content.pf-m-chip-container,\n.pf-c-toolbar__group.pf-m-chip-container {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n margin-top: var(--pf-c-toolbar__group--m-chip-container--MarginTop);\n grid-row-gap: 0;\n}\n.pf-c-toolbar__content.pf-m-chip-container .pf-c-toolbar__item,\n.pf-c-toolbar__group.pf-m-chip-container .pf-c-toolbar__item {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__item--spacer);\n margin-top: var(--pf-c-toolbar__group--m-chip-container__item--MarginTop);\n}\n.pf-c-toolbar__content.pf-m-chip-container .pf-c-toolbar__group,\n.pf-c-toolbar__group.pf-m-chip-container .pf-c-toolbar__group {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--spacer);\n display: flex;\n flex-wrap: wrap;\n grid-row-gap: 0;\n}\n.pf-c-toolbar__content.pf-m-chip-container .pf-c-toolbar__group:last-child,\n.pf-c-toolbar__content.pf-m-chip-container .pf-c-toolbar__item:last-child,\n.pf-c-toolbar__group.pf-m-chip-container .pf-c-toolbar__group:last-child,\n.pf-c-toolbar__group.pf-m-chip-container .pf-c-toolbar__item:last-child {\n --pf-c-toolbar--spacer: 0;\n}\n\n.pf-c-toolbar .pf-c-chip-group:last-child {\n --pf-c-chip-group--MarginRight: 0;\n}\n\n.pf-c-toolbar .pf-c-chip-group li:last-child {\n --pf-c-chip-group__li--m-toolbar--MarginRight: 0;\n}\n\n.pf-c-toolbar__toggle.pf-m-expanded .pf-c-button.pf-m-plain {\n color: var(--pf-c-toolbar__toggle--m-expanded__c-button--m-plain--Color);\n}\n\n.pf-m-toggle-group.pf-m-show {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--m-show--spacer);\n}\n.pf-m-toggle-group.pf-m-show .pf-c-toolbar__group,\n.pf-m-toggle-group.pf-m-show .pf-c-toolbar__item {\n display: flex;\n flex: 0 1 auto;\n visibility: visible;\n}\n.pf-m-toggle-group.pf-m-show .pf-c-toolbar__toggle {\n display: none;\n visibility: hidden;\n}\n\n@media (min-width: 576px) {\n .pf-m-toggle-group.pf-m-show-on-sm {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--m-show--spacer);\n }\n .pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__group,\n.pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__item {\n display: flex;\n flex: 0 1 auto;\n visibility: visible;\n }\n .pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__toggle {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 768px) {\n .pf-m-toggle-group.pf-m-show-on-md {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--m-show--spacer);\n }\n .pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__group,\n.pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__item {\n display: flex;\n flex: 0 1 auto;\n visibility: visible;\n }\n .pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__toggle {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 992px) {\n .pf-m-toggle-group.pf-m-show-on-lg {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--m-show--spacer);\n }\n .pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__group,\n.pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__item {\n display: flex;\n flex: 0 1 auto;\n visibility: visible;\n }\n .pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__toggle {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 1200px) {\n .pf-m-toggle-group.pf-m-show-on-xl {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--m-show--spacer);\n }\n .pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__group,\n.pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__item {\n display: flex;\n flex: 0 1 auto;\n visibility: visible;\n }\n .pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__toggle {\n display: none;\n visibility: hidden;\n }\n}\n@media (min-width: 1450px) {\n .pf-m-toggle-group.pf-m-show-on-2xl {\n --pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-toggle-group--m-show--spacer);\n }\n .pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__group,\n.pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__item {\n display: flex;\n flex: 0 1 auto;\n visibility: visible;\n }\n .pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__toggle {\n display: none;\n visibility: hidden;\n }\n}\n.pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right {\n margin-left: auto;\n}\n.pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right ~ .pf-m-pagination {\n margin-left: 0;\n}\n.pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left {\n margin-left: 0;\n}\n.pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left ~ .pf-m-pagination {\n margin-left: auto;\n}\n.pf-c-toolbar .pf-c-toolbar__content-section.pf-m-nowrap,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-nowrap {\n flex-wrap: nowrap;\n}\n.pf-c-toolbar .pf-c-toolbar__content-section.pf-m-wrap,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-wrap {\n flex-wrap: wrap;\n}\n@media (min-width: 576px) {\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-sm,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-sm {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-sm ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-sm ~ .pf-m-pagination {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-sm,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-sm {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-sm ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-sm ~ .pf-m-pagination {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-nowrap-on-sm,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-nowrap-on-sm {\n flex-wrap: nowrap;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-wrap-on-sm,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-wrap-on-sm {\n flex-wrap: wrap;\n }\n}\n@media (min-width: 768px) {\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-md,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-md {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-md ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-md ~ .pf-m-pagination {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-md,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-md {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-md ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-md ~ .pf-m-pagination {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-nowrap-on-md,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-nowrap-on-md {\n flex-wrap: nowrap;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-wrap-on-md,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-wrap-on-md {\n flex-wrap: wrap;\n }\n}\n@media (min-width: 992px) {\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-lg,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-lg {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-lg ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-lg ~ .pf-m-pagination {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-lg,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-lg {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-lg ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-lg ~ .pf-m-pagination {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-nowrap-on-lg,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-nowrap-on-lg {\n flex-wrap: nowrap;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-wrap-on-lg,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-wrap-on-lg {\n flex-wrap: wrap;\n }\n}\n@media (min-width: 1200px) {\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-xl {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-xl ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-xl ~ .pf-m-pagination {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-xl {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-xl ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-xl ~ .pf-m-pagination {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-nowrap-on-xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-nowrap-on-xl {\n flex-wrap: nowrap;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-wrap-on-xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-wrap-on-xl {\n flex-wrap: wrap;\n }\n}\n@media (min-width: 1450px) {\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-2xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-2xl {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right-on-2xl ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-right-on-2xl ~ .pf-m-pagination {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-2xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-2xl {\n margin-left: 0;\n }\n .pf-c-toolbar .pf-c-toolbar__item.pf-m-align-left-on-2xl ~ .pf-m-pagination,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-align-left-on-2xl ~ .pf-m-pagination {\n margin-left: auto;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-nowrap-on-2xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-nowrap-on-2xl {\n flex-wrap: nowrap;\n }\n .pf-c-toolbar .pf-c-toolbar__content-section.pf-m-wrap-on-2xl,\n.pf-c-toolbar .pf-c-toolbar__group.pf-m-wrap-on-2xl {\n flex-wrap: wrap;\n }\n}\n.pf-c-toolbar .pf-m-space-items-none > * {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar .pf-m-space-items-none > :last-child {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar .pf-m-space-items-sm > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n}\n.pf-c-toolbar .pf-m-space-items-sm > :last-child {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar .pf-m-space-items-md > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n}\n.pf-c-toolbar .pf-m-space-items-md > :last-child {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar .pf-m-space-items-lg > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n}\n.pf-c-toolbar .pf-m-space-items-lg > :last-child {\n --pf-c-toolbar--spacer: 0;\n}\n@media (min-width: 576px) {\n .pf-c-toolbar .pf-m-space-items-none-on-sm > * {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-none-on-sm > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-sm > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-sm > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-md-on-sm > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-space-items-md-on-sm > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-sm > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-sm > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n}\n@media (min-width: 768px) {\n .pf-c-toolbar .pf-m-space-items-none-on-md > * {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-none-on-md > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-md > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-md > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-md-on-md > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-space-items-md-on-md > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-md > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-md > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n}\n@media (min-width: 992px) {\n .pf-c-toolbar .pf-m-space-items-none-on-lg > * {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-none-on-lg > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-lg > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-lg > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-md-on-lg > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-space-items-md-on-lg > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-lg > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-lg > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n}\n@media (min-width: 1200px) {\n .pf-c-toolbar .pf-m-space-items-none-on-xl > * {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-none-on-xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-xl > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-md-on-xl > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-space-items-md-on-xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-xl > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n}\n@media (min-width: 1450px) {\n .pf-c-toolbar .pf-m-space-items-none-on-2xl > * {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-none-on-2xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-2xl > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-space-items-sm-on-2xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-md-on-2xl > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-space-items-md-on-2xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-2xl > * {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-space-items-lg-on-2xl > :last-child {\n --pf-c-toolbar--spacer: 0;\n }\n}\n.pf-c-toolbar .pf-m-spacer-none {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar .pf-m-spacer-none:last-child {\n --pf-c-toolbar--spacer: 0;\n}\n.pf-c-toolbar .pf-m-spacer-sm {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n}\n.pf-c-toolbar .pf-m-spacer-sm:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n}\n.pf-c-toolbar .pf-m-spacer-md {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n}\n.pf-c-toolbar .pf-m-spacer-md:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n}\n.pf-c-toolbar .pf-m-spacer-lg {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n}\n.pf-c-toolbar .pf-m-spacer-lg:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n}\n@media (min-width: 576px) {\n .pf-c-toolbar .pf-m-spacer-none-on-sm {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-none-on-sm:last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-sm {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-sm:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-sm {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-sm:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-sm {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-sm:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n}\n@media (min-width: 768px) {\n .pf-c-toolbar .pf-m-spacer-none-on-md {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-none-on-md:last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-md {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-md:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-md {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-md:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-md {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-md:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n}\n@media (min-width: 992px) {\n .pf-c-toolbar .pf-m-spacer-none-on-lg {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-none-on-lg:last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-lg {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-lg:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-lg {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-lg:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-lg {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-lg:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n}\n@media (min-width: 1200px) {\n .pf-c-toolbar .pf-m-spacer-none-on-xl {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-none-on-xl:last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-xl {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-xl:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-xl {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-xl:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-xl {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-xl:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n}\n@media (min-width: 1450px) {\n .pf-c-toolbar .pf-m-spacer-none-on-2xl {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-none-on-2xl:last-child {\n --pf-c-toolbar--spacer: 0;\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-2xl {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-sm-on-2xl:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--sm);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-2xl {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-md-on-2xl:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--md);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-2xl {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n .pf-c-toolbar .pf-m-spacer-lg-on-2xl:last-child {\n --pf-c-toolbar--spacer: var(--pf-global--spacer--lg);\n }\n}\n.pf-c-toolbar.pf-m-inset-none {\n --pf-c-toolbar--inset: 0;\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n}\n.pf-c-toolbar.pf-m-inset-sm {\n --pf-c-toolbar--inset: var(--pf-global--spacer--sm);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n}\n.pf-c-toolbar.pf-m-inset-md {\n --pf-c-toolbar--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n}\n.pf-c-toolbar.pf-m-inset-lg {\n --pf-c-toolbar--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n}\n.pf-c-toolbar.pf-m-inset-xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n}\n.pf-c-toolbar.pf-m-inset-2xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--2xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n}\n@media (min-width: 576px) {\n .pf-c-toolbar.pf-m-inset-none-on-sm {\n --pf-c-toolbar--inset: 0;\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-sm-on-sm {\n --pf-c-toolbar--inset: var(--pf-global--spacer--sm);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-md-on-sm {\n --pf-c-toolbar--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-lg-on-sm {\n --pf-c-toolbar--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-xl-on-sm {\n --pf-c-toolbar--inset: var(--pf-global--spacer--xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-2xl-on-sm {\n --pf-c-toolbar--inset: var(--pf-global--spacer--2xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n}\n@media (min-width: 768px) {\n .pf-c-toolbar.pf-m-inset-none-on-md {\n --pf-c-toolbar--inset: 0;\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-sm-on-md {\n --pf-c-toolbar--inset: var(--pf-global--spacer--sm);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-md-on-md {\n --pf-c-toolbar--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-lg-on-md {\n --pf-c-toolbar--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-xl-on-md {\n --pf-c-toolbar--inset: var(--pf-global--spacer--xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-2xl-on-md {\n --pf-c-toolbar--inset: var(--pf-global--spacer--2xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n}\n@media (min-width: 992px) {\n .pf-c-toolbar.pf-m-inset-none-on-lg {\n --pf-c-toolbar--inset: 0;\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-sm-on-lg {\n --pf-c-toolbar--inset: var(--pf-global--spacer--sm);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-md-on-lg {\n --pf-c-toolbar--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-lg-on-lg {\n --pf-c-toolbar--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-xl-on-lg {\n --pf-c-toolbar--inset: var(--pf-global--spacer--xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-2xl-on-lg {\n --pf-c-toolbar--inset: var(--pf-global--spacer--2xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n}\n@media (min-width: 1200px) {\n .pf-c-toolbar.pf-m-inset-none-on-xl {\n --pf-c-toolbar--inset: 0;\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-sm-on-xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--sm);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-md-on-xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-lg-on-xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-xl-on-xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-2xl-on-xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--2xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n}\n@media (min-width: 1450px) {\n .pf-c-toolbar.pf-m-inset-none-on-2xl {\n --pf-c-toolbar--inset: 0;\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-sm-on-2xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--sm);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-md-on-2xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--md);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-lg-on-2xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--lg);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-xl-on-2xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n .pf-c-toolbar.pf-m-inset-2xl-on-2xl {\n --pf-c-toolbar--inset: var(--pf-global--spacer--2xl);\n --pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--inset);\n --pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--inset);\n }\n}\n\n.pf-c-toolbar__content-section > :last-child {\n --pf-c-toolbar--spacer: 0;\n}",""]);const r=o},82644:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-c-tooltip {\n --pf-c-tooltip--MaxWidth: 18.75rem;\n --pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);\n --pf-c-tooltip__content--PaddingTop: var(--pf-global--spacer--sm);\n --pf-c-tooltip__content--PaddingRight: var(--pf-global--spacer--sm);\n --pf-c-tooltip__content--PaddingBottom: var(--pf-global--spacer--sm);\n --pf-c-tooltip__content--PaddingLeft: var(--pf-global--spacer--sm);\n --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);\n --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);\n --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);\n --pf-c-tooltip__arrow--Width: 0.5rem;\n --pf-c-tooltip__arrow--Height: 0.5rem;\n --pf-c-tooltip__arrow--m-top--TranslateX: -50%;\n --pf-c-tooltip__arrow--m-top--TranslateY: 50%;\n --pf-c-tooltip__arrow--m-top--Rotate: 45deg;\n --pf-c-tooltip__arrow--m-right--TranslateX: -50%;\n --pf-c-tooltip__arrow--m-right--TranslateY: -50%;\n --pf-c-tooltip__arrow--m-right--Rotate: 45deg;\n --pf-c-tooltip__arrow--m-bottom--TranslateX: -50%;\n --pf-c-tooltip__arrow--m-bottom--TranslateY: -50%;\n --pf-c-tooltip__arrow--m-bottom--Rotate: 45deg;\n --pf-c-tooltip__arrow--m-left--TranslateX: 50%;\n --pf-c-tooltip__arrow--m-left--TranslateY: -50%;\n --pf-c-tooltip__arrow--m-left--Rotate: 45deg;\n position: relative;\n max-width: var(--pf-c-tooltip--MaxWidth);\n box-shadow: var(--pf-c-tooltip--BoxShadow);\n}\n.pf-c-tooltip.pf-m-top .pf-c-tooltip__arrow {\n bottom: 0;\n left: 50%;\n transform: translateX(var(--pf-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-top--Rotate));\n}\n.pf-c-tooltip.pf-m-bottom .pf-c-tooltip__arrow {\n top: 0;\n left: 50%;\n transform: translateX(var(--pf-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-bottom--Rotate));\n}\n.pf-c-tooltip.pf-m-left .pf-c-tooltip__arrow {\n top: 50%;\n right: 0;\n transform: translateX(var(--pf-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-left--Rotate));\n}\n.pf-c-tooltip.pf-m-right .pf-c-tooltip__arrow {\n top: 50%;\n left: 0;\n transform: translateX(var(--pf-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-right--Rotate));\n}\n\n.pf-c-tooltip__content {\n position: relative;\n padding: var(--pf-c-tooltip__content--PaddingTop) var(--pf-c-tooltip__content--PaddingRight) var(--pf-c-tooltip__content--PaddingBottom) var(--pf-c-tooltip__content--PaddingLeft);\n font-size: var(--pf-c-tooltip__content--FontSize);\n color: var(--pf-c-tooltip__content--Color);\n text-align: center;\n word-break: break-word;\n background-color: var(--pf-c-tooltip__content--BackgroundColor);\n}\n.pf-c-tooltip__content.pf-m-text-align-left {\n text-align: left;\n}\n\n.pf-c-tooltip__arrow {\n position: absolute;\n width: var(--pf-c-tooltip__arrow--Width);\n height: var(--pf-c-tooltip__arrow--Height);\n pointer-events: none;\n background-color: var(--pf-c-tooltip__content--BackgroundColor);\n}",""]);const r=o},21847:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-bullseye {\n --pf-l-bullseye--Padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: var(--pf-l-bullseye--Padding);\n margin: 0;\n}",""]);const r=o},74746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-flex {\n --pf-l-flex--Display: flex;\n --pf-l-flex--FlexWrap: wrap;\n --pf-l-flex--AlignItems: baseline;\n --pf-l-flex--m-row--AlignItems: baseline;\n --pf-l-flex--m-row-reverse--AlignItems: baseline;\n --pf-l-flex--item--Order: 0;\n --pf-l-flex--spacer-base: var(--pf-global--spacer--md);\n --pf-l-flex--spacer: var(--pf-l-flex--spacer-base);\n --pf-l-flex--spacer--none: 0;\n --pf-l-flex--spacer--xs: var(--pf-global--spacer--xs);\n --pf-l-flex--spacer--sm: var(--pf-global--spacer--sm);\n --pf-l-flex--spacer--md: var(--pf-global--spacer--md);\n --pf-l-flex--spacer--lg: var(--pf-global--spacer--lg);\n --pf-l-flex--spacer--xl: var(--pf-global--spacer--xl);\n --pf-l-flex--spacer--2xl: var(--pf-global--spacer--2xl);\n --pf-l-flex--spacer--3xl: var(--pf-global--spacer--3xl);\n --pf-l-flex--spacer--4xl: var(--pf-global--spacer--4xl);\n display: var(--pf-l-flex--Display);\n flex-wrap: var(--pf-l-flex--FlexWrap);\n align-items: var(--pf-l-flex--AlignItems);\n}\n.pf-l-flex:last-child {\n --pf-l-flex--spacer: 0;\n}\n\n.pf-l-flex > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer-base);\n order: var(--pf-l-flex--item--Order);\n max-width: 100%;\n margin-right: var(--pf-l-flex--spacer);\n}\n@media screen and (min-width: 576px) {\n .pf-l-flex > * {\n order: var(--pf-l-flex--item--Order-on-sm, var(--pf-l-flex--item--Order));\n }\n}\n@media screen and (min-width: 768px) {\n .pf-l-flex > * {\n order: var(--pf-l-flex--item--Order-on-md, var(--pf-l-flex--item--Order-on-sm, var(--pf-l-flex--item--Order)));\n }\n}\n@media screen and (min-width: 992px) {\n .pf-l-flex > * {\n order: var(--pf-l-flex--item--Order-on-lg, var(--pf-l-flex--item--Order-on-md, var(--pf-l-flex--item--Order-on-sm, var(--pf-l-flex--item--Order))));\n }\n}\n@media screen and (min-width: 1200px) {\n .pf-l-flex > * {\n order: var(--pf-l-flex--item--Order-on-xl, var(--pf-l-flex--item--Order-on-lg, var(--pf-l-flex--item--Order-on-md, var(--pf-l-flex--item--Order-on-sm, var(--pf-l-flex--item--Order)))));\n }\n}\n@media screen and (min-width: 1450px) {\n .pf-l-flex > * {\n order: var(--pf-l-flex--item--Order-on-2xl, var(--pf-l-flex--item--Order-on-xl, var(--pf-l-flex--item--Order-on-lg, var(--pf-l-flex--item--Order-on-md, var(--pf-l-flex--item--Order-on-sm, var(--pf-l-flex--item--Order))))));\n }\n}\n.pf-l-flex > *:last-child {\n --pf-l-flex--spacer: 0;\n}\n\n.pf-l-flex.pf-m-flex {\n display: var(--pf-l-flex--Display);\n}\n.pf-l-flex.pf-m-inline-flex {\n --pf-l-flex--Display: inline-flex;\n}\n.pf-l-flex.pf-m-column {\n flex-direction: column;\n align-items: normal;\n}\n.pf-l-flex.pf-m-column > * {\n margin: 0 0 var(--pf-l-flex--spacer) 0;\n}\n.pf-l-flex.pf-m-column-reverse {\n flex-direction: column-reverse;\n align-items: normal;\n}\n.pf-l-flex.pf-m-column-reverse > * {\n margin: var(--pf-l-flex--spacer) 0 0 0;\n}\n.pf-l-flex.pf-m-row {\n flex-direction: row;\n align-items: var(--pf-l-flex--m-row--AlignItems);\n}\n.pf-l-flex.pf-m-row > * {\n margin: 0 var(--pf-l-flex--spacer) 0 0;\n}\n.pf-l-flex.pf-m-row-reverse {\n flex-direction: row-reverse;\n align-items: var(--pf-l-flex--m-row-reverse--AlignItems);\n}\n.pf-l-flex.pf-m-row-reverse > * {\n margin: 0 0 0 var(--pf-l-flex--spacer);\n}\n.pf-l-flex.pf-m-wrap {\n flex-wrap: wrap;\n}\n.pf-l-flex.pf-m-wrap-reverse {\n flex-wrap: wrap-reverse;\n}\n.pf-l-flex.pf-m-nowrap {\n flex-wrap: nowrap;\n}\n.pf-l-flex.pf-m-justify-content-flex-start {\n justify-content: flex-start;\n}\n.pf-l-flex.pf-m-justify-content-flex-end {\n justify-content: flex-end;\n}\n.pf-l-flex.pf-m-justify-content-center {\n justify-content: center;\n}\n.pf-l-flex.pf-m-justify-content-space-between {\n justify-content: space-between;\n}\n.pf-l-flex.pf-m-justify-content-space-around {\n justify-content: space-around;\n}\n.pf-l-flex.pf-m-justify-content-space-evenly {\n justify-content: space-evenly;\n}\n.pf-l-flex.pf-m-align-items-flex-start {\n align-items: flex-start;\n}\n.pf-l-flex.pf-m-align-items-flex-end {\n align-items: flex-end;\n}\n.pf-l-flex.pf-m-align-items-center {\n align-items: center;\n}\n.pf-l-flex.pf-m-align-items-stretch {\n align-items: stretch;\n}\n.pf-l-flex.pf-m-align-items-baseline {\n align-items: baseline;\n}\n.pf-l-flex.pf-m-align-content-flex-start {\n align-content: flex-start;\n}\n.pf-l-flex.pf-m-align-content-flex-end {\n align-content: flex-end;\n}\n.pf-l-flex.pf-m-align-content-center {\n align-content: center;\n}\n.pf-l-flex.pf-m-align-content-stretch {\n align-content: stretch;\n}\n.pf-l-flex.pf-m-align-content-space-between {\n align-content: space-between;\n}\n.pf-l-flex.pf-m-align-content-space-around {\n align-content: space-around;\n}\n.pf-l-flex > .pf-m-align-right {\n margin-left: auto;\n}\n.pf-l-flex > .pf-m-align-left {\n margin-left: 0;\n}\n.pf-l-flex > .pf-m-grow {\n flex-grow: 1;\n}\n.pf-l-flex > .pf-m-shrink {\n flex-shrink: 1;\n}\n.pf-l-flex > .pf-m-full-width {\n width: 100%;\n margin-right: 0;\n}\n.pf-l-flex > .pf-m-flex-1 {\n flex: 1 0 0;\n}\n.pf-l-flex > .pf-m-flex-2 {\n flex: 2 0 0;\n}\n.pf-l-flex > .pf-m-flex-3 {\n flex: 3 0 0;\n}\n.pf-l-flex > .pf-m-flex-4 {\n flex: 4 0 0;\n}\n.pf-l-flex > .pf-m-flex-default {\n flex: 0 1 auto;\n}\n.pf-l-flex > .pf-m-flex-none {\n flex: none;\n}\n.pf-l-flex > .pf-m-align-self-flex-start {\n align-self: flex-start;\n}\n.pf-l-flex > .pf-m-align-self-flex-end {\n align-self: flex-end;\n}\n.pf-l-flex > .pf-m-align-self-center {\n align-self: center;\n}\n.pf-l-flex > .pf-m-align-self-baseline {\n align-self: baseline;\n}\n.pf-l-flex > .pf-m-align-self-stretch {\n align-self: stretch;\n}\n@media (min-width: 576px) {\n .pf-l-flex.pf-m-flex-on-sm {\n display: var(--pf-l-flex--Display);\n }\n .pf-l-flex.pf-m-inline-flex-on-sm {\n --pf-l-flex--Display: inline-flex;\n }\n .pf-l-flex.pf-m-column-on-sm {\n flex-direction: column;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-on-sm > * {\n margin: 0 0 var(--pf-l-flex--spacer) 0;\n }\n .pf-l-flex.pf-m-column-reverse-on-sm {\n flex-direction: column-reverse;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-reverse-on-sm > * {\n margin: var(--pf-l-flex--spacer) 0 0 0;\n }\n .pf-l-flex.pf-m-row-on-sm {\n flex-direction: row;\n align-items: var(--pf-l-flex--m-row--AlignItems);\n }\n .pf-l-flex.pf-m-row-on-sm > * {\n margin: 0 var(--pf-l-flex--spacer) 0 0;\n }\n .pf-l-flex.pf-m-row-reverse-on-sm {\n flex-direction: row-reverse;\n align-items: var(--pf-l-flex--m-row-reverse--AlignItems);\n }\n .pf-l-flex.pf-m-row-reverse-on-sm > * {\n margin: 0 0 0 var(--pf-l-flex--spacer);\n }\n .pf-l-flex.pf-m-wrap-on-sm {\n flex-wrap: wrap;\n }\n .pf-l-flex.pf-m-wrap-reverse-on-sm {\n flex-wrap: wrap-reverse;\n }\n .pf-l-flex.pf-m-nowrap-on-sm {\n flex-wrap: nowrap;\n }\n .pf-l-flex.pf-m-justify-content-flex-start-on-sm {\n justify-content: flex-start;\n }\n .pf-l-flex.pf-m-justify-content-flex-end-on-sm {\n justify-content: flex-end;\n }\n .pf-l-flex.pf-m-justify-content-center-on-sm {\n justify-content: center;\n }\n .pf-l-flex.pf-m-justify-content-space-between-on-sm {\n justify-content: space-between;\n }\n .pf-l-flex.pf-m-justify-content-space-around-on-sm {\n justify-content: space-around;\n }\n .pf-l-flex.pf-m-justify-content-space-evenly-on-sm {\n justify-content: space-evenly;\n }\n .pf-l-flex.pf-m-align-items-flex-start-on-sm {\n align-items: flex-start;\n }\n .pf-l-flex.pf-m-align-items-flex-end-on-sm {\n align-items: flex-end;\n }\n .pf-l-flex.pf-m-align-items-center-on-sm {\n align-items: center;\n }\n .pf-l-flex.pf-m-align-items-stretch-on-sm {\n align-items: stretch;\n }\n .pf-l-flex.pf-m-align-items-baseline-on-sm {\n align-items: baseline;\n }\n .pf-l-flex.pf-m-align-content-flex-start-on-sm {\n align-content: flex-start;\n }\n .pf-l-flex.pf-m-align-content-flex-end-on-sm {\n align-content: flex-end;\n }\n .pf-l-flex.pf-m-align-content-center-on-sm {\n align-content: center;\n }\n .pf-l-flex.pf-m-align-content-stretch-on-sm {\n align-content: stretch;\n }\n .pf-l-flex.pf-m-align-content-space-between-on-sm {\n align-content: space-between;\n }\n .pf-l-flex.pf-m-align-content-space-around-on-sm {\n align-content: space-around;\n }\n .pf-l-flex > .pf-m-align-right-on-sm {\n margin-left: auto;\n }\n .pf-l-flex > .pf-m-align-left-on-sm {\n margin-left: 0;\n }\n .pf-l-flex > .pf-m-grow-on-sm {\n flex-grow: 1;\n }\n .pf-l-flex > .pf-m-shrink-on-sm {\n flex-shrink: 1;\n }\n .pf-l-flex > .pf-m-full-width-on-sm {\n width: 100%;\n margin-right: 0;\n }\n .pf-l-flex > .pf-m-flex-1-on-sm {\n flex: 1 0 0;\n }\n .pf-l-flex > .pf-m-flex-2-on-sm {\n flex: 2 0 0;\n }\n .pf-l-flex > .pf-m-flex-3-on-sm {\n flex: 3 0 0;\n }\n .pf-l-flex > .pf-m-flex-4-on-sm {\n flex: 4 0 0;\n }\n .pf-l-flex > .pf-m-flex-default-on-sm {\n flex: 0 1 auto;\n }\n .pf-l-flex > .pf-m-flex-none-on-sm {\n flex: none;\n }\n .pf-l-flex > .pf-m-align-self-flex-start-on-sm {\n align-self: flex-start;\n }\n .pf-l-flex > .pf-m-align-self-flex-end-on-sm {\n align-self: flex-end;\n }\n .pf-l-flex > .pf-m-align-self-center-on-sm {\n align-self: center;\n }\n .pf-l-flex > .pf-m-align-self-baseline-on-sm {\n align-self: baseline;\n }\n .pf-l-flex > .pf-m-align-self-stretch-on-sm {\n align-self: stretch;\n }\n}\n@media (min-width: 768px) {\n .pf-l-flex.pf-m-flex-on-md {\n display: var(--pf-l-flex--Display);\n }\n .pf-l-flex.pf-m-inline-flex-on-md {\n --pf-l-flex--Display: inline-flex;\n }\n .pf-l-flex.pf-m-column-on-md {\n flex-direction: column;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-on-md > * {\n margin: 0 0 var(--pf-l-flex--spacer) 0;\n }\n .pf-l-flex.pf-m-column-reverse-on-md {\n flex-direction: column-reverse;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-reverse-on-md > * {\n margin: var(--pf-l-flex--spacer) 0 0 0;\n }\n .pf-l-flex.pf-m-row-on-md {\n flex-direction: row;\n align-items: var(--pf-l-flex--m-row--AlignItems);\n }\n .pf-l-flex.pf-m-row-on-md > * {\n margin: 0 var(--pf-l-flex--spacer) 0 0;\n }\n .pf-l-flex.pf-m-row-reverse-on-md {\n flex-direction: row-reverse;\n align-items: var(--pf-l-flex--m-row-reverse--AlignItems);\n }\n .pf-l-flex.pf-m-row-reverse-on-md > * {\n margin: 0 0 0 var(--pf-l-flex--spacer);\n }\n .pf-l-flex.pf-m-wrap-on-md {\n flex-wrap: wrap;\n }\n .pf-l-flex.pf-m-wrap-reverse-on-md {\n flex-wrap: wrap-reverse;\n }\n .pf-l-flex.pf-m-nowrap-on-md {\n flex-wrap: nowrap;\n }\n .pf-l-flex.pf-m-justify-content-flex-start-on-md {\n justify-content: flex-start;\n }\n .pf-l-flex.pf-m-justify-content-flex-end-on-md {\n justify-content: flex-end;\n }\n .pf-l-flex.pf-m-justify-content-center-on-md {\n justify-content: center;\n }\n .pf-l-flex.pf-m-justify-content-space-between-on-md {\n justify-content: space-between;\n }\n .pf-l-flex.pf-m-justify-content-space-around-on-md {\n justify-content: space-around;\n }\n .pf-l-flex.pf-m-justify-content-space-evenly-on-md {\n justify-content: space-evenly;\n }\n .pf-l-flex.pf-m-align-items-flex-start-on-md {\n align-items: flex-start;\n }\n .pf-l-flex.pf-m-align-items-flex-end-on-md {\n align-items: flex-end;\n }\n .pf-l-flex.pf-m-align-items-center-on-md {\n align-items: center;\n }\n .pf-l-flex.pf-m-align-items-stretch-on-md {\n align-items: stretch;\n }\n .pf-l-flex.pf-m-align-items-baseline-on-md {\n align-items: baseline;\n }\n .pf-l-flex.pf-m-align-content-flex-start-on-md {\n align-content: flex-start;\n }\n .pf-l-flex.pf-m-align-content-flex-end-on-md {\n align-content: flex-end;\n }\n .pf-l-flex.pf-m-align-content-center-on-md {\n align-content: center;\n }\n .pf-l-flex.pf-m-align-content-stretch-on-md {\n align-content: stretch;\n }\n .pf-l-flex.pf-m-align-content-space-between-on-md {\n align-content: space-between;\n }\n .pf-l-flex.pf-m-align-content-space-around-on-md {\n align-content: space-around;\n }\n .pf-l-flex > .pf-m-align-right-on-md {\n margin-left: auto;\n }\n .pf-l-flex > .pf-m-align-left-on-md {\n margin-left: 0;\n }\n .pf-l-flex > .pf-m-grow-on-md {\n flex-grow: 1;\n }\n .pf-l-flex > .pf-m-shrink-on-md {\n flex-shrink: 1;\n }\n .pf-l-flex > .pf-m-full-width-on-md {\n width: 100%;\n margin-right: 0;\n }\n .pf-l-flex > .pf-m-flex-1-on-md {\n flex: 1 0 0;\n }\n .pf-l-flex > .pf-m-flex-2-on-md {\n flex: 2 0 0;\n }\n .pf-l-flex > .pf-m-flex-3-on-md {\n flex: 3 0 0;\n }\n .pf-l-flex > .pf-m-flex-4-on-md {\n flex: 4 0 0;\n }\n .pf-l-flex > .pf-m-flex-default-on-md {\n flex: 0 1 auto;\n }\n .pf-l-flex > .pf-m-flex-none-on-md {\n flex: none;\n }\n .pf-l-flex > .pf-m-align-self-flex-start-on-md {\n align-self: flex-start;\n }\n .pf-l-flex > .pf-m-align-self-flex-end-on-md {\n align-self: flex-end;\n }\n .pf-l-flex > .pf-m-align-self-center-on-md {\n align-self: center;\n }\n .pf-l-flex > .pf-m-align-self-baseline-on-md {\n align-self: baseline;\n }\n .pf-l-flex > .pf-m-align-self-stretch-on-md {\n align-self: stretch;\n }\n}\n@media (min-width: 992px) {\n .pf-l-flex.pf-m-flex-on-lg {\n display: var(--pf-l-flex--Display);\n }\n .pf-l-flex.pf-m-inline-flex-on-lg {\n --pf-l-flex--Display: inline-flex;\n }\n .pf-l-flex.pf-m-column-on-lg {\n flex-direction: column;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-on-lg > * {\n margin: 0 0 var(--pf-l-flex--spacer) 0;\n }\n .pf-l-flex.pf-m-column-reverse-on-lg {\n flex-direction: column-reverse;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-reverse-on-lg > * {\n margin: var(--pf-l-flex--spacer) 0 0 0;\n }\n .pf-l-flex.pf-m-row-on-lg {\n flex-direction: row;\n align-items: var(--pf-l-flex--m-row--AlignItems);\n }\n .pf-l-flex.pf-m-row-on-lg > * {\n margin: 0 var(--pf-l-flex--spacer) 0 0;\n }\n .pf-l-flex.pf-m-row-reverse-on-lg {\n flex-direction: row-reverse;\n align-items: var(--pf-l-flex--m-row-reverse--AlignItems);\n }\n .pf-l-flex.pf-m-row-reverse-on-lg > * {\n margin: 0 0 0 var(--pf-l-flex--spacer);\n }\n .pf-l-flex.pf-m-wrap-on-lg {\n flex-wrap: wrap;\n }\n .pf-l-flex.pf-m-wrap-reverse-on-lg {\n flex-wrap: wrap-reverse;\n }\n .pf-l-flex.pf-m-nowrap-on-lg {\n flex-wrap: nowrap;\n }\n .pf-l-flex.pf-m-justify-content-flex-start-on-lg {\n justify-content: flex-start;\n }\n .pf-l-flex.pf-m-justify-content-flex-end-on-lg {\n justify-content: flex-end;\n }\n .pf-l-flex.pf-m-justify-content-center-on-lg {\n justify-content: center;\n }\n .pf-l-flex.pf-m-justify-content-space-between-on-lg {\n justify-content: space-between;\n }\n .pf-l-flex.pf-m-justify-content-space-around-on-lg {\n justify-content: space-around;\n }\n .pf-l-flex.pf-m-justify-content-space-evenly-on-lg {\n justify-content: space-evenly;\n }\n .pf-l-flex.pf-m-align-items-flex-start-on-lg {\n align-items: flex-start;\n }\n .pf-l-flex.pf-m-align-items-flex-end-on-lg {\n align-items: flex-end;\n }\n .pf-l-flex.pf-m-align-items-center-on-lg {\n align-items: center;\n }\n .pf-l-flex.pf-m-align-items-stretch-on-lg {\n align-items: stretch;\n }\n .pf-l-flex.pf-m-align-items-baseline-on-lg {\n align-items: baseline;\n }\n .pf-l-flex.pf-m-align-content-flex-start-on-lg {\n align-content: flex-start;\n }\n .pf-l-flex.pf-m-align-content-flex-end-on-lg {\n align-content: flex-end;\n }\n .pf-l-flex.pf-m-align-content-center-on-lg {\n align-content: center;\n }\n .pf-l-flex.pf-m-align-content-stretch-on-lg {\n align-content: stretch;\n }\n .pf-l-flex.pf-m-align-content-space-between-on-lg {\n align-content: space-between;\n }\n .pf-l-flex.pf-m-align-content-space-around-on-lg {\n align-content: space-around;\n }\n .pf-l-flex > .pf-m-align-right-on-lg {\n margin-left: auto;\n }\n .pf-l-flex > .pf-m-align-left-on-lg {\n margin-left: 0;\n }\n .pf-l-flex > .pf-m-grow-on-lg {\n flex-grow: 1;\n }\n .pf-l-flex > .pf-m-shrink-on-lg {\n flex-shrink: 1;\n }\n .pf-l-flex > .pf-m-full-width-on-lg {\n width: 100%;\n margin-right: 0;\n }\n .pf-l-flex > .pf-m-flex-1-on-lg {\n flex: 1 0 0;\n }\n .pf-l-flex > .pf-m-flex-2-on-lg {\n flex: 2 0 0;\n }\n .pf-l-flex > .pf-m-flex-3-on-lg {\n flex: 3 0 0;\n }\n .pf-l-flex > .pf-m-flex-4-on-lg {\n flex: 4 0 0;\n }\n .pf-l-flex > .pf-m-flex-default-on-lg {\n flex: 0 1 auto;\n }\n .pf-l-flex > .pf-m-flex-none-on-lg {\n flex: none;\n }\n .pf-l-flex > .pf-m-align-self-flex-start-on-lg {\n align-self: flex-start;\n }\n .pf-l-flex > .pf-m-align-self-flex-end-on-lg {\n align-self: flex-end;\n }\n .pf-l-flex > .pf-m-align-self-center-on-lg {\n align-self: center;\n }\n .pf-l-flex > .pf-m-align-self-baseline-on-lg {\n align-self: baseline;\n }\n .pf-l-flex > .pf-m-align-self-stretch-on-lg {\n align-self: stretch;\n }\n}\n@media (min-width: 1200px) {\n .pf-l-flex.pf-m-flex-on-xl {\n display: var(--pf-l-flex--Display);\n }\n .pf-l-flex.pf-m-inline-flex-on-xl {\n --pf-l-flex--Display: inline-flex;\n }\n .pf-l-flex.pf-m-column-on-xl {\n flex-direction: column;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-on-xl > * {\n margin: 0 0 var(--pf-l-flex--spacer) 0;\n }\n .pf-l-flex.pf-m-column-reverse-on-xl {\n flex-direction: column-reverse;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-reverse-on-xl > * {\n margin: var(--pf-l-flex--spacer) 0 0 0;\n }\n .pf-l-flex.pf-m-row-on-xl {\n flex-direction: row;\n align-items: var(--pf-l-flex--m-row--AlignItems);\n }\n .pf-l-flex.pf-m-row-on-xl > * {\n margin: 0 var(--pf-l-flex--spacer) 0 0;\n }\n .pf-l-flex.pf-m-row-reverse-on-xl {\n flex-direction: row-reverse;\n align-items: var(--pf-l-flex--m-row-reverse--AlignItems);\n }\n .pf-l-flex.pf-m-row-reverse-on-xl > * {\n margin: 0 0 0 var(--pf-l-flex--spacer);\n }\n .pf-l-flex.pf-m-wrap-on-xl {\n flex-wrap: wrap;\n }\n .pf-l-flex.pf-m-wrap-reverse-on-xl {\n flex-wrap: wrap-reverse;\n }\n .pf-l-flex.pf-m-nowrap-on-xl {\n flex-wrap: nowrap;\n }\n .pf-l-flex.pf-m-justify-content-flex-start-on-xl {\n justify-content: flex-start;\n }\n .pf-l-flex.pf-m-justify-content-flex-end-on-xl {\n justify-content: flex-end;\n }\n .pf-l-flex.pf-m-justify-content-center-on-xl {\n justify-content: center;\n }\n .pf-l-flex.pf-m-justify-content-space-between-on-xl {\n justify-content: space-between;\n }\n .pf-l-flex.pf-m-justify-content-space-around-on-xl {\n justify-content: space-around;\n }\n .pf-l-flex.pf-m-justify-content-space-evenly-on-xl {\n justify-content: space-evenly;\n }\n .pf-l-flex.pf-m-align-items-flex-start-on-xl {\n align-items: flex-start;\n }\n .pf-l-flex.pf-m-align-items-flex-end-on-xl {\n align-items: flex-end;\n }\n .pf-l-flex.pf-m-align-items-center-on-xl {\n align-items: center;\n }\n .pf-l-flex.pf-m-align-items-stretch-on-xl {\n align-items: stretch;\n }\n .pf-l-flex.pf-m-align-items-baseline-on-xl {\n align-items: baseline;\n }\n .pf-l-flex.pf-m-align-content-flex-start-on-xl {\n align-content: flex-start;\n }\n .pf-l-flex.pf-m-align-content-flex-end-on-xl {\n align-content: flex-end;\n }\n .pf-l-flex.pf-m-align-content-center-on-xl {\n align-content: center;\n }\n .pf-l-flex.pf-m-align-content-stretch-on-xl {\n align-content: stretch;\n }\n .pf-l-flex.pf-m-align-content-space-between-on-xl {\n align-content: space-between;\n }\n .pf-l-flex.pf-m-align-content-space-around-on-xl {\n align-content: space-around;\n }\n .pf-l-flex > .pf-m-align-right-on-xl {\n margin-left: auto;\n }\n .pf-l-flex > .pf-m-align-left-on-xl {\n margin-left: 0;\n }\n .pf-l-flex > .pf-m-grow-on-xl {\n flex-grow: 1;\n }\n .pf-l-flex > .pf-m-shrink-on-xl {\n flex-shrink: 1;\n }\n .pf-l-flex > .pf-m-full-width-on-xl {\n width: 100%;\n margin-right: 0;\n }\n .pf-l-flex > .pf-m-flex-1-on-xl {\n flex: 1 0 0;\n }\n .pf-l-flex > .pf-m-flex-2-on-xl {\n flex: 2 0 0;\n }\n .pf-l-flex > .pf-m-flex-3-on-xl {\n flex: 3 0 0;\n }\n .pf-l-flex > .pf-m-flex-4-on-xl {\n flex: 4 0 0;\n }\n .pf-l-flex > .pf-m-flex-default-on-xl {\n flex: 0 1 auto;\n }\n .pf-l-flex > .pf-m-flex-none-on-xl {\n flex: none;\n }\n .pf-l-flex > .pf-m-align-self-flex-start-on-xl {\n align-self: flex-start;\n }\n .pf-l-flex > .pf-m-align-self-flex-end-on-xl {\n align-self: flex-end;\n }\n .pf-l-flex > .pf-m-align-self-center-on-xl {\n align-self: center;\n }\n .pf-l-flex > .pf-m-align-self-baseline-on-xl {\n align-self: baseline;\n }\n .pf-l-flex > .pf-m-align-self-stretch-on-xl {\n align-self: stretch;\n }\n}\n@media (min-width: 1450px) {\n .pf-l-flex.pf-m-flex-on-2xl {\n display: var(--pf-l-flex--Display);\n }\n .pf-l-flex.pf-m-inline-flex-on-2xl {\n --pf-l-flex--Display: inline-flex;\n }\n .pf-l-flex.pf-m-column-on-2xl {\n flex-direction: column;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-on-2xl > * {\n margin: 0 0 var(--pf-l-flex--spacer) 0;\n }\n .pf-l-flex.pf-m-column-reverse-on-2xl {\n flex-direction: column-reverse;\n align-items: normal;\n }\n .pf-l-flex.pf-m-column-reverse-on-2xl > * {\n margin: var(--pf-l-flex--spacer) 0 0 0;\n }\n .pf-l-flex.pf-m-row-on-2xl {\n flex-direction: row;\n align-items: var(--pf-l-flex--m-row--AlignItems);\n }\n .pf-l-flex.pf-m-row-on-2xl > * {\n margin: 0 var(--pf-l-flex--spacer) 0 0;\n }\n .pf-l-flex.pf-m-row-reverse-on-2xl {\n flex-direction: row-reverse;\n align-items: var(--pf-l-flex--m-row-reverse--AlignItems);\n }\n .pf-l-flex.pf-m-row-reverse-on-2xl > * {\n margin: 0 0 0 var(--pf-l-flex--spacer);\n }\n .pf-l-flex.pf-m-wrap-on-2xl {\n flex-wrap: wrap;\n }\n .pf-l-flex.pf-m-wrap-reverse-on-2xl {\n flex-wrap: wrap-reverse;\n }\n .pf-l-flex.pf-m-nowrap-on-2xl {\n flex-wrap: nowrap;\n }\n .pf-l-flex.pf-m-justify-content-flex-start-on-2xl {\n justify-content: flex-start;\n }\n .pf-l-flex.pf-m-justify-content-flex-end-on-2xl {\n justify-content: flex-end;\n }\n .pf-l-flex.pf-m-justify-content-center-on-2xl {\n justify-content: center;\n }\n .pf-l-flex.pf-m-justify-content-space-between-on-2xl {\n justify-content: space-between;\n }\n .pf-l-flex.pf-m-justify-content-space-around-on-2xl {\n justify-content: space-around;\n }\n .pf-l-flex.pf-m-justify-content-space-evenly-on-2xl {\n justify-content: space-evenly;\n }\n .pf-l-flex.pf-m-align-items-flex-start-on-2xl {\n align-items: flex-start;\n }\n .pf-l-flex.pf-m-align-items-flex-end-on-2xl {\n align-items: flex-end;\n }\n .pf-l-flex.pf-m-align-items-center-on-2xl {\n align-items: center;\n }\n .pf-l-flex.pf-m-align-items-stretch-on-2xl {\n align-items: stretch;\n }\n .pf-l-flex.pf-m-align-items-baseline-on-2xl {\n align-items: baseline;\n }\n .pf-l-flex.pf-m-align-content-flex-start-on-2xl {\n align-content: flex-start;\n }\n .pf-l-flex.pf-m-align-content-flex-end-on-2xl {\n align-content: flex-end;\n }\n .pf-l-flex.pf-m-align-content-center-on-2xl {\n align-content: center;\n }\n .pf-l-flex.pf-m-align-content-stretch-on-2xl {\n align-content: stretch;\n }\n .pf-l-flex.pf-m-align-content-space-between-on-2xl {\n align-content: space-between;\n }\n .pf-l-flex.pf-m-align-content-space-around-on-2xl {\n align-content: space-around;\n }\n .pf-l-flex > .pf-m-align-right-on-2xl {\n margin-left: auto;\n }\n .pf-l-flex > .pf-m-align-left-on-2xl {\n margin-left: 0;\n }\n .pf-l-flex > .pf-m-grow-on-2xl {\n flex-grow: 1;\n }\n .pf-l-flex > .pf-m-shrink-on-2xl {\n flex-shrink: 1;\n }\n .pf-l-flex > .pf-m-full-width-on-2xl {\n width: 100%;\n margin-right: 0;\n }\n .pf-l-flex > .pf-m-flex-1-on-2xl {\n flex: 1 0 0;\n }\n .pf-l-flex > .pf-m-flex-2-on-2xl {\n flex: 2 0 0;\n }\n .pf-l-flex > .pf-m-flex-3-on-2xl {\n flex: 3 0 0;\n }\n .pf-l-flex > .pf-m-flex-4-on-2xl {\n flex: 4 0 0;\n }\n .pf-l-flex > .pf-m-flex-default-on-2xl {\n flex: 0 1 auto;\n }\n .pf-l-flex > .pf-m-flex-none-on-2xl {\n flex: none;\n }\n .pf-l-flex > .pf-m-align-self-flex-start-on-2xl {\n align-self: flex-start;\n }\n .pf-l-flex > .pf-m-align-self-flex-end-on-2xl {\n align-self: flex-end;\n }\n .pf-l-flex > .pf-m-align-self-center-on-2xl {\n align-self: center;\n }\n .pf-l-flex > .pf-m-align-self-baseline-on-2xl {\n align-self: baseline;\n }\n .pf-l-flex > .pf-m-align-self-stretch-on-2xl {\n align-self: stretch;\n }\n}\n.pf-l-flex.pf-m-space-items-none > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n}\n.pf-l-flex.pf-m-space-items-none > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-xs > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n}\n.pf-l-flex.pf-m-space-items-xs > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n}\n.pf-l-flex.pf-m-space-items-sm > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n}\n.pf-l-flex.pf-m-space-items-md > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n}\n.pf-l-flex.pf-m-space-items-lg > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n}\n.pf-l-flex.pf-m-space-items-xl > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n}\n.pf-l-flex.pf-m-space-items-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-3xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n}\n.pf-l-flex.pf-m-space-items-3xl > :last-child {\n --pf-l-flex--spacer: 0;\n}\n.pf-l-flex.pf-m-space-items-4xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n}\n.pf-l-flex.pf-m-space-items-4xl > :last-child {\n --pf-l-flex--spacer: 0;\n}\n@media (min-width: 576px) {\n .pf-l-flex.pf-m-space-items-none-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex.pf-m-space-items-none-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xs-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex.pf-m-space-items-xs-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-sm-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex.pf-m-space-items-sm-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-md-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex.pf-m-space-items-md-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-lg-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex.pf-m-space-items-lg-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xl-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex.pf-m-space-items-xl-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-2xl-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex.pf-m-space-items-2xl-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-3xl-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex.pf-m-space-items-3xl-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-4xl-on-sm > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex.pf-m-space-items-4xl-on-sm > :last-child {\n --pf-l-flex--spacer: 0;\n }\n}\n@media (min-width: 768px) {\n .pf-l-flex.pf-m-space-items-none-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex.pf-m-space-items-none-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xs-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex.pf-m-space-items-xs-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-sm-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex.pf-m-space-items-sm-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-md-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex.pf-m-space-items-md-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-lg-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex.pf-m-space-items-lg-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xl-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex.pf-m-space-items-xl-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-2xl-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex.pf-m-space-items-2xl-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-3xl-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex.pf-m-space-items-3xl-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-4xl-on-md > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex.pf-m-space-items-4xl-on-md > :last-child {\n --pf-l-flex--spacer: 0;\n }\n}\n@media (min-width: 992px) {\n .pf-l-flex.pf-m-space-items-none-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex.pf-m-space-items-none-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xs-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex.pf-m-space-items-xs-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-sm-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex.pf-m-space-items-sm-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-md-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex.pf-m-space-items-md-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-lg-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex.pf-m-space-items-lg-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xl-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex.pf-m-space-items-xl-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-2xl-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex.pf-m-space-items-2xl-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-3xl-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex.pf-m-space-items-3xl-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-4xl-on-lg > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex.pf-m-space-items-4xl-on-lg > :last-child {\n --pf-l-flex--spacer: 0;\n }\n}\n@media (min-width: 1200px) {\n .pf-l-flex.pf-m-space-items-none-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex.pf-m-space-items-none-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xs-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex.pf-m-space-items-xs-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-sm-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex.pf-m-space-items-sm-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-md-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex.pf-m-space-items-md-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-lg-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex.pf-m-space-items-lg-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xl-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex.pf-m-space-items-xl-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-2xl-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex.pf-m-space-items-2xl-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-3xl-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex.pf-m-space-items-3xl-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-4xl-on-xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex.pf-m-space-items-4xl-on-xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n}\n@media (min-width: 1450px) {\n .pf-l-flex.pf-m-space-items-none-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex.pf-m-space-items-none-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xs-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex.pf-m-space-items-xs-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-sm-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex.pf-m-space-items-sm-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-md-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex.pf-m-space-items-md-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-lg-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex.pf-m-space-items-lg-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-xl-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex.pf-m-space-items-xl-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-2xl-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex.pf-m-space-items-2xl-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-3xl-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex.pf-m-space-items-3xl-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n .pf-l-flex.pf-m-space-items-4xl-on-2xl > * {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex.pf-m-space-items-4xl-on-2xl > :last-child {\n --pf-l-flex--spacer: 0;\n }\n}\n.pf-l-flex .pf-m-spacer-none {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n}\n.pf-l-flex .pf-m-spacer-none:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n}\n.pf-l-flex .pf-m-spacer-xs {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n}\n.pf-l-flex .pf-m-spacer-xs:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n}\n.pf-l-flex .pf-m-spacer-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n}\n.pf-l-flex .pf-m-spacer-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n}\n.pf-l-flex .pf-m-spacer-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n}\n.pf-l-flex .pf-m-spacer-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n}\n.pf-l-flex .pf-m-spacer-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n}\n.pf-l-flex .pf-m-spacer-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n}\n.pf-l-flex .pf-m-spacer-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n}\n.pf-l-flex .pf-m-spacer-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n}\n.pf-l-flex .pf-m-spacer-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n}\n.pf-l-flex .pf-m-spacer-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n}\n.pf-l-flex .pf-m-spacer-3xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n}\n.pf-l-flex .pf-m-spacer-3xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n}\n.pf-l-flex .pf-m-spacer-4xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n}\n.pf-l-flex .pf-m-spacer-4xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n}\n@media (min-width: 576px) {\n .pf-l-flex .pf-m-spacer-none-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-none-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-xs-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-xs-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-sm-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-sm-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-md-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-md-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-lg-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-lg-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-xl-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-xl-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-sm {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-sm:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n}\n@media (min-width: 768px) {\n .pf-l-flex .pf-m-spacer-none-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-none-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-xs-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-xs-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-sm-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-sm-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-md-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-md-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-lg-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-lg-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-xl-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-xl-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-md {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-md:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n}\n@media (min-width: 992px) {\n .pf-l-flex .pf-m-spacer-none-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-none-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-xs-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-xs-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-sm-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-sm-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-md-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-md-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-lg-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-lg-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-xl-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-xl-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-lg {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-lg:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n}\n@media (min-width: 1200px) {\n .pf-l-flex .pf-m-spacer-none-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-none-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-xs-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-xs-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-sm-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-sm-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-md-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-md-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-lg-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-lg-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-xl-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-xl-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n}\n@media (min-width: 1450px) {\n .pf-l-flex .pf-m-spacer-none-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-none-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--none);\n }\n .pf-l-flex .pf-m-spacer-xs-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-xs-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xs);\n }\n .pf-l-flex .pf-m-spacer-sm-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-sm-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--sm);\n }\n .pf-l-flex .pf-m-spacer-md-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-md-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--md);\n }\n .pf-l-flex .pf-m-spacer-lg-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-lg-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg);\n }\n .pf-l-flex .pf-m-spacer-xl-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-xl-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-2xl-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--2xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-3xl-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--3xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-2xl {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n .pf-l-flex .pf-m-spacer-4xl-on-2xl:last-child {\n --pf-l-flex--spacer: var(--pf-l-flex--spacer--4xl);\n }\n}",""]);const r=o},14191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-gallery {\n --pf-l-gallery--m-gutter--GridGap: var(--pf-global--gutter);\n --pf-l-gallery--GridTemplateColumns--min: 250px;\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min);\n --pf-l-gallery--GridTemplateColumns--max: 1fr;\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max);\n --pf-l-gallery--GridTemplateColumns: repeat(auto-fill, minmax(var(--pf-l-gallery--GridTemplateColumns--minmax--min), var(--pf-l-gallery--GridTemplateColumns--minmax--max)));\n --pf-l-gallery--GridTemplateRows: auto;\n display: grid;\n grid-template-columns: var(--pf-l-gallery--GridTemplateColumns);\n grid-template-rows: var(--pf-l-gallery--GridTemplateRows);\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min);\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max);\n}\n.pf-l-gallery.pf-m-gutter {\n grid-gap: var(--pf-l-gallery--m-gutter--GridGap);\n}\n@media (min-width: 576px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min));\n }\n}\n@media (min-width: 768px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min)));\n }\n}\n@media (min-width: 992px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min))));\n }\n}\n@media (min-width: 1200px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min)))));\n }\n}\n@media (min-width: 1450px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--min: var(--pf-l-gallery--GridTemplateColumns--min-on-2xl, var(--pf-l-gallery--GridTemplateColumns--min-on-xl, var(--pf-l-gallery--GridTemplateColumns--min-on-lg, var(--pf-l-gallery--GridTemplateColumns--min-on-md, var(--pf-l-gallery--GridTemplateColumns--min-on-sm, var(--pf-l-gallery--GridTemplateColumns--min))))));\n }\n}\n@media (min-width: 576px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max));\n }\n}\n@media (min-width: 768px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)));\n }\n}\n@media (min-width: 992px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max))));\n }\n}\n@media (min-width: 1200px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)))));\n }\n}\n@media (min-width: 1450px) {\n .pf-l-gallery {\n --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-2xl, var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max))))));\n }\n}",""]);const r=o},44342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-level {\n --pf-l-level--m-gutter--MarginRight: var(--pf-global--gutter);\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n}\n.pf-l-level.pf-m-gutter > *:not(:last-child) {\n margin-right: var(--pf-l-level--m-gutter--MarginRight);\n}",""]);const r=o},82785:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-split {\n --pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);\n display: flex;\n padding: 0;\n margin: 0;\n}\n.pf-l-split.pf-m-wrap {\n flex-wrap: wrap;\n}\n\n.pf-l-split__item.pf-m-fill {\n flex-grow: 1;\n}\n\n.pf-l-split.pf-m-gutter > *:not(:last-child) {\n margin-right: var(--pf-l-split--m-gutter--MarginRight);\n}",""]);const r=o},45828:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-stack {\n --pf-l-stack--m-gutter--MarginBottom: var(--pf-global--gutter);\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.pf-l-stack__item.pf-m-fill {\n flex-grow: 1;\n}\n\n.pf-l-stack.pf-m-gutter > *:not(:last-child) {\n margin-bottom: var(--pf-l-stack--m-gutter--MarginBottom);\n}",""]);const r=o},57747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-u-screen-reader {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.pf-u-visible {\n position: static;\n overflow: visible;\n clip: auto;\n white-space: normal;\n border: inherit;\n}\n\n.pf-u-hidden {\n display: none !important;\n}\n\n@media screen and (min-width: 576px) {\n .pf-u-screen-reader-on-sm {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n }\n}\n\n@media screen and (min-width: 576px) {\n .pf-u-visible-on-sm {\n position: static;\n overflow: visible;\n clip: auto;\n white-space: normal;\n border: inherit;\n }\n}\n\n@media screen and (min-width: 576px) {\n .pf-u-hidden-on-sm {\n display: none !important;\n }\n}\n\n@media screen and (min-width: 768px) {\n .pf-u-screen-reader-on-md {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n }\n}\n\n@media screen and (min-width: 768px) {\n .pf-u-visible-on-md {\n position: static;\n overflow: visible;\n clip: auto;\n white-space: normal;\n border: inherit;\n }\n}\n\n@media screen and (min-width: 768px) {\n .pf-u-hidden-on-md {\n display: none !important;\n }\n}\n\n@media screen and (min-width: 992px) {\n .pf-u-screen-reader-on-lg {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n }\n}\n\n@media screen and (min-width: 992px) {\n .pf-u-visible-on-lg {\n position: static;\n overflow: visible;\n clip: auto;\n white-space: normal;\n border: inherit;\n }\n}\n\n@media screen and (min-width: 992px) {\n .pf-u-hidden-on-lg {\n display: none !important;\n }\n}\n\n@media screen and (min-width: 1200px) {\n .pf-u-screen-reader-on-xl {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n }\n}\n\n@media screen and (min-width: 1200px) {\n .pf-u-visible-on-xl {\n position: static;\n overflow: visible;\n clip: auto;\n white-space: normal;\n border: inherit;\n }\n}\n\n@media screen and (min-width: 1200px) {\n .pf-u-hidden-on-xl {\n display: none !important;\n }\n}\n\n@media screen and (min-width: 1450px) {\n .pf-u-screen-reader-on-2xl {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n }\n}\n\n@media screen and (min-width: 1450px) {\n .pf-u-visible-on-2xl {\n position: static;\n overflow: visible;\n clip: auto;\n white-space: normal;\n border: inherit;\n }\n}\n\n@media screen and (min-width: 1450px) {\n .pf-u-hidden-on-2xl {\n display: none !important;\n }\n}",""]);const r=o},3764:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*!\n * Copyright 2020 Red Hat; Inc. and/or its affiliates.\n *\n * Licensed under the Apache License; Version 2.0 (the License);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing; software\n * distributed under the License is distributed on an AS IS BASIS;\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND; either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */:not(.vscode-dark) .kie-tools--loading-screen .pf-l-bullseye{color:var(--pf-global--Color--dark-100);background-color:var(--pf-global--BackgroundColor--light-100)}.vscode-dark .kie-tools--loading-screen .pf-l-bullseye{color:var(--pf-global--Color--light-100);background-color:var(--pf-global--BackgroundColor--dark-100)}.kie-tools--loading-screen{width:100vw;height:100vh;z-index:999;position:relative}.loading-finished{animation-name:fade-out;animation-duration:400ms}@keyframes fade-out{from{opacity:1}to{opacity:0}}.kie-tools--loading-screen-spinner{display:flex;flex-direction:column;align-items:center}.kie-tools--keyboard-shortcuts-icon{user-select:none;z-index:999;left:0;bottom:5px;position:fixed;padding:7px;align-items:center;justify-content:center;width:35px;height:35px;font-size:15px;cursor:pointer;line-height:22px}.kie-tools--keyboard-shortcuts{font-family:var(--pf-global--FontFamily--sans-serif);color:var(--pf-global--Color--dark-100)}body{color:var(--pf-global--Color-dark--100)}dl{margin-bottom:0 !important}dt,dd{line-height:var(--pf-global--LineHeight--md) !important}",""]);const r=o},74290:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".constraints__form{overflow-y:auto;flex:1 1 0;background-color:var(--pf-global--BackgroundColor--200)}.constraints__form .pf-c-select__toggle.pf-m-disabled{--pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--disabled-color--200)}.constraints__card{margin-top:1em}",""]);const r=o},97193:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".constraints-enum__item{background-color:var(--pf-global--BackgroundColor--100);border-top:1px solid var(--pf-global--BorderColor--100);list-style:none;pointer-events:auto !important;cursor:grab;z-index:9999;padding:1rem 0}.constraints-enum__item:last-of-type{border-bottom:1px solid var(--pf-global--BorderColor--100)}.constraints-enum__item--sort-disabled{cursor:auto}.constraints-enum__field{width:320px}",""]);const r=o},89827:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".constraints-label{margin-right:var(--pf-global--spacer--sm)}",""]);const r=o},73012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*!\n * Copyright 2020 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.constraints__range-item{border-top:1px solid var(--pf-global--BorderColor--100);padding:1rem}.constraints__range-item:last-of-type{border-bottom:1px solid var(--pf-global--BorderColor--100)}.constraints__include-range{margin-top:1em}.constraints__include-range label{font-weight:var(--pf-c-form__label-text--FontWeight);font-size:var(--pf-c-form__label--FontSize)}',""]);const r=o},40838:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".data-dictionary{height:60vh}.data-dictionary__toolbar{padding:1em 0}.data-dictionary__types-list{flex:1 1 0;overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200)}.data-dictionary__validation-alert{margin-bottom:1em}.data-dictionary__overview{height:100%;display:flex;flex-direction:column;justify-content:stretch}.data-dictionary__overview-enter{opacity:0}.data-dictionary__overview-enter-active{opacity:1;transition:opacity 230ms}.data-dictionary__overview-exit{opacity:1}.data-dictionary__overview-exit-active{opacity:0;transition:opacity 100ms}.enter-from-above-enter{transform:translateY(-50px);opacity:0}.enter-from-above-enter-active{transform:translateY(0);opacity:1;transition:all 230ms}.enter-from-above-exit{transform:translateY(0);opacity:1}.enter-from-above-exit-active{opacity:0;transform:translateY(-21px);transition:all 100ms}.enter-from-right-enter{transform:translateX(100px);opacity:0}.enter-from-right-enter-active{transform:translateX(0);opacity:1;transition:all 230ms}.enter-from-right-exit{transform:translateX(0);opacity:1}.enter-from-right-exit-active{opacity:0;transform:translateX(44px);transition:all 100ms}",""]);const r=o},23026:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*!\n * Copyright 2020 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.data-dictionary__properties-edit__form-container{height:100%;overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200)}.data-dictionary__properties-edit__form{height:100%}.data-dictionary__properties-edit__form__left-column{--pf-l-split--m-gutter--MarginRight: 2em}.data-dictionary__properties-edit__actions{margin-top:var(--pf-global--spacer--lg)}.data-dictionary__properties-edit__field{width:320px}.data-dictionary__constraints-section{display:flex;flex-direction:column;justify-content:stretch;height:100%}',""]);const r=o},18015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".data-type-item span,.data-type-item strong{user-select:text}.data-type-item__name{font-weight:700;word-break:keep-all;display:block;margin-top:5px}.data-type-item__type-label{text-transform:capitalize;margin-top:var(--pf-global--spacer--xs);margin-bottom:var(--pf-global--spacer--xs)}.data-type-item__type-select__option,.data-type-item__type-select .pf-c-select__toggle{text-transform:capitalize}",""]);const r=o},47698:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".data-type-item__sortable{pointer-events:auto !important;cursor:grab;z-index:9999;list-style:none}.data-type-item__sortable--sm-size .editable-item__inner{padding-top:8px !important;padding-bottom:8px !important}.data-type-item__sortable--md-size .editable-item__inner{padding-top:10px !important;padding-bottom:10px !important}.data-types-sorting>.data-type-item__sortable:hover{cursor:grab}body>.data-type-item__sortable:hover{cursor:grabbing}",""]);const r=o},66129:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".data-dictionary__multiple-data-types{min-height:200px;font-family:monospace;font-size:var(--pf-global--FontSize--lg)}",""]);const r=o},93505:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*!\n * Copyright 2021 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.properties-labels__item{margin-bottom:var(--pf-global--spacer--xs);margin-top:var(--pf-global--spacer--xs)}.properties-labels__item:not(:last-of-type){margin-right:var(--pf-global--spacer--xs)}',""]);const r=o},27130:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".pf-l-split__item.modelTitle__icon{margin-right:8px !important;display:flex !important}.modelTitle{--sizeEasing: cubic-bezier(0.25, 1, 0.5, 1) !important;display:flex !important;flex-direction:row !important;cursor:text !important;white-space:nowrap !important;margin-top:1px !important;padding-top:0 !important;padding-left:8px !important;padding-right:8px !important;border:1px solid #fff !important;transition:margin-bottom .15s var(--sizeEasing),border-left .12s ease-in,border-right .12s ease-in,border-top .12s ease-in,border-bottom .12s ease-in !important}.modelTitle--full-width{width:100% !important}.modelTitle--hide-overflow{overflow:hidden !important}.modelTitle:not(.modelTitle--editing):hover{border:1px solid var(--pf-global--BorderColor--100) !important}.modelTitle--editing{padding-top:2px !important}.modelTitle__icon{padding:0 0 2px 0 !important;margin:0 !important}.modelTitle__truncate{overflow:hidden !important;text-overflow:ellipsis !important}.modelTitle__truncate--disabled{color:var(--pf-global--Color--200) !important}",""]);const r=o},70967:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".editorHeader__modelName{width:25em}",""]);const r=o},50002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".attribute-list__item__label{margin-right:var(--pf-global--spacer--sm);margin-bottom:var(--pf-global--spacer--sm)}.attribute-list__item__label:last-of-type{margin-right:0}",""]);const r=o},12555:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".characteristic-list__item__label{margin-right:var(--pf-global--spacer--sm);margin-bottom:var(--pf-global--spacer--sm)}.characteristic-list__item__label:last-of-type{margin-right:0}",""]);const r=o},59505:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".attribute-editor__validation-message{margin-left:var(--pf-global--spacer--xs)}",""]);const r=o},82510:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".attribute-item{min-height:50px;padding:.5em .5em 0em .5em !important}.attribute-item__delete{visibility:hidden}.attribute-item:focus-within .attribute-item__delete{visibility:visible}.attribute-item:hover .attribute-item__delete{visibility:visible}.attribute-item span,.attribute-item strong{user-select:text}.attribute-item:last-child{margin-bottom:0}",""]);const r=o},5141:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".characteristic-item span,.characteristic-item strong{user-select:text}.characteristic-item:last-child{margin-bottom:0}",""]);const r=o},10766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"#characteristics-toolbar{--pf-c-toolbar__content--PaddingLeft: 0;--pf-c-toolbar__content--PaddingRight: 0;--pf-c-toolbar--PaddingTop: 0}",""]);const r=o},12355:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".attributes__header{border-top:none;font-weight:bold;outline:none}.attributes__header__row{border-bottom:none;height:64px}.attributes__header__icon{color:var(--pf-global--info-color--100)}.attributes__body{height:calc(100vh - 604px);overflow-y:scroll}.attributes__list-item{outline:none}",""]);const r=o},17567:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".characteristics-container{height:100%}.characteristics-container__overview{height:100%;display:flex;flex-direction:column;justify-content:stretch}.characteristics-container__overview__form{display:block;flex:1 1 0;overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200)}.characteristics-container__overview-enter{opacity:0}.characteristics-container__overview-enter-active{opacity:1;transition:opacity 230ms}.characteristics-container__overview-exit{opacity:1}.characteristics-container__overview-exit-active{opacity:0;transition:opacity 100ms}.characteristics-container__attribute{overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200);height:100%}.characteristics-container__attribute .pf-c-form-control:disabled{--pf-c-form-control--BackgroundColor: var(--pf-global--disabled-color--200)}.characteristics-container__attribute-enter{transform:translateX(100px);opacity:0}.characteristics-container__attribute-enter-active{transform:translateX(0);opacity:1;transition:all 230ms}.characteristics-container__attribute-exit{transform:translateX(0);opacity:1}.characteristics-container__attribute-exit-active{opacity:0;transform:translateX(44px);transition:all 100ms}",""]);const r=o},68149:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".core-properties__label{margin-right:var(--pf-global--spacer--sm)}.core-properties__label:last-of-type{margin-right:0}",""]);const r=o},17212:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".editor{position:relative;height:calc(100vh - 48px);display:flex;flex-direction:column;justify-content:stretch}.editor__header__container{background-color:var(--pf-c-page__main-section--m-light--BackgroundColor)}.editor__header__content{margin:0 auto;max-width:1920px}.editor__body__container{background-color:var(--pf-c-page__main-section--BackgroundColor);flex-grow:1}.editor__body__content{margin:0 auto;max-width:1920px;height:100%;display:flex;flex-direction:column;justify-content:stretch}.editable-item{--sizeEasing: cubic-bezier(0.25, 1, 0.5, 1);border:1px solid var(--pf-global--BorderColor--100);background-color:#fff;margin-bottom:1em;transition:margin-bottom .15s var(--sizeEasing),border-left .12s ease-in;user-select:none;cursor:pointer}.editable-item__inner{padding:1em;transition:padding .15s var(--sizeEasing)}.editable-item:not(.editable-item--editing):hover{box-shadow:var(--pf-global--BoxShadow--lg);border-left:var(--pf-global--BorderWidth--lg) solid var(--pf-global--BorderColor--light-100)}.editable-item:first-child:nth-last-child(n+5),.editable-item:first-child:nth-last-child(n+5)~.editable-item{margin-bottom:10px}.editable-item:first-child:nth-last-child(n+5) .editable-item__inner,.editable-item:first-child:nth-last-child(n+5)~.editable-item .editable-item__inner{padding:10px 1em}.editable-item:first-child:nth-last-child(n+8),.editable-item:first-child:nth-last-child(n+8)~.editable-item{margin-bottom:6px}.editable-item:first-child:nth-last-child(n+8) .editable-item__inner,.editable-item:first-child:nth-last-child(n+8)~.editable-item .editable-item__inner{padding:6px 1em}.editable-item--editing{cursor:auto;box-shadow:var(--pf-global--BoxShadow--sm-top),var(--pf-global--BoxShadow--sm-bottom);border-left:var(--pf-global--BorderWidth--lg) solid var(--pf-global--active-color--100)}.editable-item--editing .editable-item__inner{padding:1em !important}.editable-item:last-child{margin-bottom:0 !important}.editable-item__delete{visibility:hidden}.editable-item:focus-within .editable-item__delete{visibility:visible}.editable-item:hover .editable-item__delete{visibility:visible}",""]);const r=o},4788:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".model-card__icon{height:32px;width:32px}",""]);const r=o},43782:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".model-card{height:280px;cursor:pointer}.model-card__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}",""]);const r=o},89994:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".editor{position:relative;height:calc(100vh - 48px)}",""]);const r=o},82199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".mining-schema{height:60vh}.mining-schema__field-option{font-size:1rem;cursor:pointer;margin:0 .5em .5em 0}.mining-schema__fields{flex:1 1 0;overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200)}.mining-schema__validation-alert{margin-bottom:1em}.mining-schema__overview{height:100%;display:flex;flex-direction:column;justify-content:stretch}.mining-schema__overview-enter{opacity:0}.mining-schema__overview-enter-active{opacity:1;transition:opacity 230ms}.mining-schema__overview-exit{opacity:1}.mining-schema__overview-exit-active{opacity:0;transition:opacity 100ms}.mining-schema__properties-enter{transform:translateX(100px);opacity:0}.mining-schema__properties-enter-active{transform:translateX(0);opacity:1;transition:all 230ms}.mining-schema__properties-exit{transform:translateX(0);opacity:1}.mining-schema__properties-exit-active{opacity:0;transform:translateX(44px);transition:all 100ms}.mining-schema__properties__field{width:320px}",""]);const r=o},98766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".mining-schema-list__item__label{margin-right:var(--pf-global--spacer--sm);margin-bottom:var(--pf-global--spacer--xs);margin-top:var(--pf-global--spacer--xs)}.mining-schema-list__item__label:last-of-type{margin-right:0}",""]);const r=o},54754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".mining-schema-list__item__name{display:block;font-weight:bold;margin-top:2px;word-break:keep-all}.mining-schema-list__item__edit{margin-top:2px;margin-left:var(--pf-global--spacer--sm);padding:0 4px}",""]);const r=o},84453:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".mining-schema__edit__form{height:calc(60vh - 100px);overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200)}.mining-schema__edit__form__disabled{background-color:var(--pf-global--BorderColor--100)}.mining-schema__edit__actions{margin-top:var(--pf-global--spacer--md)}",""]);const r=o},74221:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".output-fields-list__item__label{margin-right:var(--pf-global--spacer--sm);margin-bottom:var(--pf-global--spacer--sm)}.output-fields-list__item__label:last-of-type{margin-right:0}",""]);const r=o},47546:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".output-item span,.output-item strong{user-select:text}.output-item__type-label{text-transform:capitalize;margin-right:var(--pf-global--spacer--sm);margin-bottom:var(--pf-global--spacer--sm)}.output-item__type-select__option,.output-item__type-select .pf-c-select__toggle{text-transform:capitalize}",""]);const r=o},96199:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".outputs__header{border-top:none;font-weight:bold;outline:none}.outputs__header__row{height:64px}.outputs__header__text{padding-right:var(--pf-global--spacer--sm)}.outputs__header__icon{color:var(--pf-global--info-color--100)}",""]);const r=o},89006:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".outputs-container__multiple-outputs{min-height:200px;font-family:monospace;font-size:var(--pf-global--FontSize--lg)}",""]);const r=o},42395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,".outputs-container{height:60vh}.outputs-container__overview{height:100%;display:flex;flex-direction:column;justify-content:stretch}.outputs-container__overview-enter{opacity:0}.outputs-container__overview-enter-active{opacity:1;transition:opacity 230ms}.outputs-container__overview-exit{opacity:1}.outputs-container__overview-exit-active{opacity:0;transition:opacity 100ms}.outputs-container__fields-list{flex:1 1 0;overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200)}.outputs-container__extended-properties{overflow-y:auto;padding:1em;background-color:var(--pf-global--BackgroundColor--200);height:calc(60vh - 52px)}.outputs-container__extended-properties .pf-c-select__toggle.pf-m-disabled{--pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--disabled-color--200)}.outputs-container__extended-properties .pf-c-form-control:disabled{--pf-c-form-control--BackgroundColor: var(--pf-global--disabled-color--200)}.outputs-container__extended-properties__field{width:320px}.outputs-container__extended-properties-enter{transform:translateX(100px);opacity:0}.outputs-container__extended-properties-enter-active{transform:translateX(0);opacity:1;transition:all 230ms}.outputs-container__extended-properties-exit{transform:translateX(0);opacity:1}.outputs-container__extended-properties-exit-active{opacity:0;transform:translateX(44px);transition:all 100ms}.outputs-container__batch-add-enter{transform:translateY(-50px);opacity:0}.outputs-container__batch-add-enter-active{transform:translateY(0);opacity:1;transition:all 230ms}.outputs-container__batch-add-exit{transform:translateY(0);opacity:1}.outputs-container__batch-add-exit-active{opacity:0;transform:translateY(-21px);transition:all 100ms}",""]);const r=o},1034:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},17204:e=>{"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},27805:function(e){e.exports=function(){"use strict";var e=Math.pow(2,-52),t=new Uint32Array(512),n=function(e){var t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;var n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()};function i(e,t,n,i){var o=e-n,r=t-i;return o*o+r*r}function o(e,t,n,i,o,r){var a=(i-t)*(o-e),s=(n-e)*(r-t);return Math.abs(a-s)>=33306690738754716e-32*Math.abs(a+s)?a-s:0}function r(e,t,n,i,r,a){return(o(r,a,e,t,n,i)||o(e,t,n,i,r,a)||o(n,i,r,a,e,t))<0}function a(e,t,n,i,o,r){var a=n-e,s=i-t,l=o-e,c=r-t,d=a*a+s*s,u=l*l+c*c,h=.5/(a*c-s*l),p=(c*d-s*u)*h,f=(a*u-l*d)*h;return p*p+f*f}function s(e,t,n,i){if(i-n<=20)for(var o=n+1;o<=i;o++){for(var r=e[o],a=t[r],c=o-1;c>=n&&t[e[c]]>a;)e[c+1]=e[c--];e[c+1]=r}else{var d=n+1,u=i;l(e,n+i>>1,d),t[e[n]]>t[e[i]]&&l(e,n,i),t[e[d]]>t[e[i]]&&l(e,d,i),t[e[n]]>t[e[d]]&&l(e,n,d);for(var h=e[d],p=t[h];;){do{d++}while(t[e[d]]<p);do{u--}while(t[e[u]]>p);if(u<d)break;l(e,d,u)}e[n+1]=e[u],e[u]=h,i-d+1>=u-n?(s(e,t,d,i),s(e,t,n,u-1)):(s(e,t,n,u-1),s(e,t,d,i))}}function l(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function c(e){return e[0]}function d(e){return e[1]}return n.from=function(e,t,i){void 0===t&&(t=c),void 0===i&&(i=d);for(var o=e.length,r=new Float64Array(2*o),a=0;a<o;a++){var s=e[a];r[2*a]=t(s),r[2*a+1]=i(s)}return new n(r)},n.prototype.update=function(){for(var t=this,n=t.coords,o=t._hullPrev,l=t._hullNext,c=t._hullTri,d=t._hullHash,u=n.length>>1,h=1/0,p=1/0,f=-1/0,g=-1/0,m=0;m<u;m++){var v=n[2*m],b=n[2*m+1];v<h&&(h=v),b<p&&(p=b),v>f&&(f=v),b>g&&(g=b),this._ids[m]=m}for(var _,y,A,w=(h+f)/2,C=(p+g)/2,x=1/0,S=0;S<u;S++){var E=i(w,C,n[2*S],n[2*S+1]);E<x&&(_=S,x=E)}var k=n[2*_],M=n[2*_+1];x=1/0;for(var D=0;D<u;D++)if(D!==_){var N=i(k,M,n[2*D],n[2*D+1]);N<x&&N>0&&(y=D,x=N)}for(var I=n[2*y],T=n[2*y+1],L=1/0,B=0;B<u;B++)if(B!==_&&B!==y){var O=a(k,M,I,T,n[2*B],n[2*B+1]);O<L&&(A=B,L=O)}var P=n[2*A],F=n[2*A+1];if(L===1/0){for(var R=0;R<u;R++)this._dists[R]=n[2*R]-n[0]||n[2*R+1]-n[1];s(this._ids,this._dists,0,u-1);for(var j=new Uint32Array(u),z=0,V=0,W=-1/0;V<u;V++){var H=this._ids[V];this._dists[H]>W&&(j[z++]=H,W=this._dists[H])}return this.hull=j.subarray(0,z),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(r(k,M,I,T,P,F)){var U=y,Q=I,G=T;y=A,I=P,T=F,A=U,P=Q,F=G}var K=function(e,t,n,i,o,r){var a=n-e,s=i-t,l=o-e,c=r-t,d=a*a+s*s,u=l*l+c*c,h=.5/(a*c-s*l);return{x:e+(c*d-s*u)*h,y:t+(a*u-l*d)*h}}(k,M,I,T,P,F);this._cx=K.x,this._cy=K.y;for(var Y=0;Y<u;Y++)this._dists[Y]=i(n[2*Y],n[2*Y+1],K.x,K.y);s(this._ids,this._dists,0,u-1),this._hullStart=_;var $=3;l[_]=o[A]=y,l[y]=o[_]=A,l[A]=o[y]=_,c[_]=0,c[y]=1,c[A]=2,d.fill(-1),d[this._hashKey(k,M)]=_,d[this._hashKey(I,T)]=y,d[this._hashKey(P,F)]=A,this.trianglesLen=0,this._addTriangle(_,y,A,-1,-1,-1);for(var J=0,q=void 0,Z=void 0;J<this._ids.length;J++){var X=this._ids[J],ee=n[2*X],te=n[2*X+1];if(!(J>0&&Math.abs(ee-q)<=e&&Math.abs(te-Z)<=e)&&(q=ee,Z=te,X!==_&&X!==y&&X!==A)){for(var ne=0,ie=0,oe=this._hashKey(ee,te);ie<this._hashSize&&(-1===(ne=d[(oe+ie)%this._hashSize])||ne===l[ne]);ie++);for(var re=ne=o[ne],ae=void 0;ae=l[re],!r(ee,te,n[2*re],n[2*re+1],n[2*ae],n[2*ae+1]);)if((re=ae)===ne){re=-1;break}if(-1!==re){var se=this._addTriangle(re,X,l[re],-1,-1,c[re]);c[X]=this._legalize(se+2),c[re]=se,$++;for(var le=l[re];ae=l[le],r(ee,te,n[2*le],n[2*le+1],n[2*ae],n[2*ae+1]);)se=this._addTriangle(le,X,ae,c[X],-1,c[le]),c[X]=this._legalize(se+2),l[le]=le,$--,le=ae;if(re===ne)for(;r(ee,te,n[2*(ae=o[re])],n[2*ae+1],n[2*re],n[2*re+1]);)se=this._addTriangle(ae,X,re,-1,c[re],c[ae]),this._legalize(se+2),c[ae]=se,l[re]=re,$--,re=ae;this._hullStart=o[X]=re,l[re]=o[le]=X,l[X]=le,d[this._hashKey(ee,te)]=X,d[this._hashKey(n[2*re],n[2*re+1])]=re}}}this.hull=new Uint32Array($);for(var ce=0,de=this._hullStart;ce<$;ce++)this.hull[ce]=de,de=l[de];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)},n.prototype._hashKey=function(e,t){return Math.floor((n=e-this._cx,i=t-this._cy,o=n/(Math.abs(n)+Math.abs(i)),(i>0?3-o:1+o)/4*this._hashSize))%this._hashSize;var n,i,o},n.prototype._legalize=function(e){for(var n=this,i=n._triangles,o=n._halfedges,r=n.coords,a=0,s=0;;){var l=o[e],c=e-e%3;if(s=c+(e+2)%3,-1!==l){var d=l-l%3,u=c+(e+1)%3,h=d+(l+2)%3,p=i[s],f=i[e],g=i[u],m=i[h];if(y=r[2*p],A=r[2*p+1],w=r[2*f],C=r[2*f+1],x=r[2*g],S=r[2*g+1],E=r[2*m],k=r[2*m+1],M=void 0,D=void 0,N=void 0,I=void 0,T=void 0,L=void 0,B=void 0,O=void 0,(M=y-E)*((I=C-k)*(O=(T=x-E)*T+(L=S-k)*L)-(B=(N=w-E)*N+I*I)*L)-(D=A-k)*(N*O-B*T)+(M*M+D*D)*(N*L-I*T)<0){i[e]=m,i[l]=p;var v=o[h];if(-1===v){var b=this._hullStart;do{if(this._hullTri[b]===h){this._hullTri[b]=e;break}b=this._hullPrev[b]}while(b!==this._hullStart)}this._link(e,v),this._link(l,o[s]),this._link(s,h);var _=d+(l+1)%3;a<t.length&&(t[a++]=_)}else{if(0===a)break;e=t[--a]}}else{if(0===a)break;e=t[--a]}}var y,A,w,C,x,S,E,k,M,D,N,I,T,L,B,O;return s},n.prototype._link=function(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)},n.prototype._addTriangle=function(e,t,n,i,o,r){var a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,i),this._link(a+1,o),this._link(a+2,r),this.trianglesLen+=3,a},n}()},63368:(e,t,n)=>{"use strict";t.Z=void 0;var i,o=(i=n(27805))&&i.__esModule?i:{default:i};function r(e){return e[0]}function a(e){return e[1]}function s(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}var l=function(){function e(e){var t=new o.default(e);this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=t.coords,this._init(t)}var t=e.prototype;return t._init=function(e){var t=e,n=this.points;if(t.hull&&t.hull.length>2&&function(e){for(var t=e.triangles,n=e.coords,i=0;i<t.length;i+=3){var o=2*t[i],r=2*t[i+1],a=2*t[i+2];if((n[a]-n[o])*(n[r+1]-n[o+1])-(n[r]-n[o])*(n[a+1]-n[o+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},(function(e,t){return t})).sort((function(e,t){return n[2*e]-n[2*t]||n[2*e+1]-n[2*t+1]}));for(var i=this.collinear[0],r=this.collinear[this.collinear.length-1],a=[n[2*i],n[2*i+1],n[2*r],n[2*r+1]],l=1e-8*Math.sqrt(Math.pow(a[3]-a[1],2)+Math.pow(a[2]-a[0],2)),c=0,d=n.length/2;c<d;++c){var u=s(n[2*c],n[2*c+1],l);n[2*c]=u[0],n[2*c+1]=u[1]}e=new o.default(n)}for(var h=this.halfedges=e.halfedges,p=this.hull=e.hull,f=this.triangles=e.triangles,g=this.inedges.fill(-1),m=this._hullIndex.fill(-1),v=0,b=h.length;v<b;++v){var _=f[v%3==2?v-2:v+1];-1!==h[v]&&-1!==g[_]||(g[_]=v)}for(var y=0,A=p.length;y<A;++y)m[p[y]]=y;p.length<=2&&p.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=p[0],this.triangles[1]=p[1],this.triangles[2]=p[1],g[p[0]]=1,2===p.length&&(g[p[1]]=0))},t.neighbors=function(e){var t=[],n=this.inedges,i=this.hull,o=this._hullIndex,r=this.halfedges,a=this.triangles,s=n[e];if(-1===s)return t;var l=s,c=-1;do{if(c=a[l],t.push(c),a[l=l%3==2?l-2:l+1]!==e)break;if(-1===(l=r[l])){var d=i[(o[e]+1)%i.length];d!==c&&t.push(d);break}}while(l!==s);return t},t.find=function(e,t,n){if(void 0===n&&(n=0),(e=+e)!=e||(t=+t)!=t)return-1;for(var i,o=n;(i=this._step(n,e,t))>=0&&i!==n&&i!==o;)n=i;return i},t._step=function(e,t,n){var i=this.inedges,o=this.points;if(-1===i[e]||!o.length)return(e+1)%(o.length>>1);var r=e,a=Math.pow(t-o[2*e],2)+Math.pow(n-o[2*e+1],2),s=this.neighbors(e),l=Array.isArray(s),c=0;for(s=l?s:s[Symbol.iterator]();;){var d;if(l){if(c>=s.length)break;d=s[c++]}else{if((c=s.next()).done)break;d=c.value}var u=d,h=Math.pow(t-o[2*u],2)+Math.pow(n-o[2*u+1],2);h<a&&(a=h,r=u)}return r},e}();t.Z=l,l.from=function(e,t,n,i){return void 0===t&&(t=r),void 0===n&&(n=a),new l(function(e,t,n,i){for(var o=e.length,r=new Float64Array(2*o),a=0;a<o;++a){var s=e[a];r[2*a]=t.call(i,s,a,e),r[2*a+1]=n.call(i,s,a,e)}return r}(e,t,n,i))}},47477:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},t.prototype.once=function(e,t){var n=this;function i(){n.off(e,i),t.apply(this,arguments)}return this._callbacks=this._callbacks||{},i.fn=t,this.on(e,i),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[e];if(!i)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var o=0;o<i.length;o++)if((n=i[o])===t||n.fn===t){i.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks[e];if(n)for(var i=0,o=(n=n.slice(0)).length;i<o;++i)n[i].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},30912:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatDisplay-Bold.woff"},73980:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatDisplay-Bold.woff2"},66561:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatDisplay-Medium.woff"},53443:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatDisplay-Medium.woff2"},36734:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatDisplay-Regular.woff"},63914:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatDisplay-Regular.woff2"},42913:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatText-Medium.woff"},52869:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatText-Medium.woff2"},4454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatText-Regular.woff"},87180:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/RedHatText-Regular.woff2"},97096:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-bold.woff"},25096:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-bold.woff2"},9838:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-light.woff"},73583:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-light.woff2"},17379:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-regular.woff"},8213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-regular.woff2"},63875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-semibold.woff"},57383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-mono-semibold.woff2"},43848:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-bold-italic.woff"},56714:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-bold-italic.woff2"},93722:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-bold.woff"},22735:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-bold.woff2"},23166:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extrabold-italic.woff"},45482:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extrabold-italic.woff2"},70407:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extrabold.woff"},95369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extrabold.woff2"},64626:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extralight-italic.woff"},47823:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extralight-italic.woff2"},90677:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extralight.woff"},11603:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-extralight.woff2"},15155:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-heavy-italic.woff"},94939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-heavy-italic.woff2"},28232:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-heavy.woff"},14713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-heavy.woff2"},33847:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-italic.woff"},17811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-italic.woff2"},71221:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-light-italic.woff"},50140:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-light-italic.woff2"},59492:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-light.woff"},85393:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-light.woff2"},49330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-regular.woff"},12141:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-regular.woff2"},8142:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-semibold-italic.woff"},64245:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-semibold-italic.woff2"},32878:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-semibold.woff"},2442:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-semibold.woff2"},90235:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-thin-italic.woff"},56046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-thin-italic.woff2"},12272:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-thin.woff"},90571:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/overpass-thin.woff2"},84005:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/pficon.woff"},49450:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=n.p+"fonts/pficon.woff2"},30150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>_});var i,o=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],r=o.join(","),a="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t},l=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},c=function(e){return"INPUT"===e.tagName},d=function(e){return!(e.disabled||function(e){return c(e)&&"hidden"===e.type}(e)||function(e){if("hidden"===getComputedStyle(e).visibility)return!0;var t=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(t,"details:not([open]) *"))return!0;for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(e))},u=function(e){return!(!d(e)||function(e){return function(e){return c(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||e.ownerDocument,i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(e)||s(e)<0)},h=o.concat("iframe").join(","),p=function(e){if(!e)throw new Error("No node provided");return!1!==a.call(e,h)&&d(e)};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var m,v=(m=[],{activateTrap:function(e){if(m.length>0){var t=m[m.length-1];t!==e&&t.pause()}var n=m.indexOf(e);-1===n||m.splice(n,1),m.push(e)},deactivateTrap:function(e){var t=m.indexOf(e);-1!==t&&m.splice(t,1),m.length>0&&m[m.length-1].unpause()}}),b=function(e){return setTimeout(e,0)},_=function(e,t){var n,o=document,c=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),d={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},h=function(e){return d.containers.some((function(t){return t.contains(e)}))},m=function(e){var t=c[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=o.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},_=function(){var e;if(null!==m("initialFocus"))e=m("initialFocus");else if(h(o.activeElement))e=o.activeElement;else{var t=d.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},y=function(){if(d.tabbableGroups=d.containers.map((function(e){var t,n,i,o,c,d,h,p=(n=[],i=[],(o=e,c=(t=t||{}).includeContainer,d=u,h=Array.prototype.slice.apply(o.querySelectorAll(r)),c&&a.call(o,r)&&h.unshift(o),h.filter(d)).forEach((function(e,t){var o=s(e);0===o?n.push(e):i.push({documentOrder:t,tabIndex:o,node:e})})),i.sort(l).map((function(e){return e.node})).concat(n));if(p.length>0)return{firstTabbableNode:p[0],lastTabbableNode:p[p.length-1]}})).filter((function(e){return!!e})),d.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},A=function e(t){t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!c.preventScroll}),d.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(_()))},w=function(e){h(e.target)||(c.clickOutsideDeactivates?n.deactivate({returnFocus:c.returnFocusOnDeactivate&&!p(e.target)}):c.allowOutsideClick&&("boolean"==typeof c.allowOutsideClick?c.allowOutsideClick:c.allowOutsideClick(e))||e.preventDefault())},C=function(e){var t=h(e.target);t||e.target instanceof Document?t&&(d.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),A(d.mostRecentlyFocusedNode||_()))},x=function(e){if(!1!==c.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){y();var t=null;if(d.tabbableGroups.length>0)if(e.shiftKey){var n=d.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var i=0===n?d.tabbableGroups.length-1:n-1;t=d.tabbableGroups[i].lastTabbableNode}}else{var o=d.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e.target===n}));if(o>=0){var r=o===d.tabbableGroups.length-1?0:o+1;t=d.tabbableGroups[r].firstTabbableNode}}else t=m("fallbackFocus");t&&(e.preventDefault(),A(t))}(e)},S=function(e){c.clickOutsideDeactivates||h(e.target)||c.allowOutsideClick&&("boolean"==typeof c.allowOutsideClick?c.allowOutsideClick:c.allowOutsideClick(e))||(e.preventDefault(),e.stopImmediatePropagation())},E=function(){if(d.active)return v.activateTrap(n),i=c.delayInitialFocus?b((function(){A(_())})):A(_()),o.addEventListener("focusin",C,!0),o.addEventListener("mousedown",w,{capture:!0,passive:!1}),o.addEventListener("touchstart",w,{capture:!0,passive:!1}),o.addEventListener("click",S,{capture:!0,passive:!1}),o.addEventListener("keydown",x,{capture:!0,passive:!1}),n},k=function(){if(d.active)return o.removeEventListener("focusin",C,!0),o.removeEventListener("mousedown",w,!0),o.removeEventListener("touchstart",w,!0),o.removeEventListener("click",S,!0),o.removeEventListener("keydown",x,!0),n};return(n={activate:function(e){if(d.active)return this;y(),d.active=!0,d.paused=!1,d.nodeFocusedBeforeActivation=o.activeElement;var t=e&&e.onActivate?e.onActivate:c.onActivate;return t&&t(),E(),this},deactivate:function(e){if(!d.active)return this;clearTimeout(i),k(),d.active=!1,d.paused=!1,v.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:c.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:c.returnFocusOnDeactivate)&&b((function(){var e;A((e=d.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),this},pause:function(){return d.paused||!d.active||(d.paused=!0,k()),this},unpause:function(){return d.paused&&d.active?(d.paused=!1,y(),E(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return d.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),d.active&&y(),this}}).updateContainerElements(e),n}},41901:(e,t,n)=>{"use strict";n.d(t,{Ep:()=>u,Hp:()=>p,PP:()=>M,lX:()=>y,ob:()=>h,q_:()=>E});var i=n(71437),o=n(42389),r=n(46488),a=n(32054);function s(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function u(e){var t=e.pathname,n=e.search,i=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(o+="#"===i.charAt(0)?i:"#"+i),o}function h(e,t,n,r){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",i="",o=t.indexOf("#");-1!==o&&(i=t.substr(o),t=t.substr(0,o));var r=t.indexOf("?");return-1!==r&&(n=t.substr(r),t=t.substr(0,r)),{pathname:t,search:"?"===n?"":n,hash:"#"===i?"":i}}(e),a.state=t):(void 0===(a=(0,i.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,o.Z)(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a}function p(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,r.Z)(e.state,t.state)}function f(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,i,o){if(null!=e){var r="function"==typeof e?e(t,n):e;"string"==typeof r?"function"==typeof i?i(r,o):o(!0):o(!1!==r)}else o(!0)},appendListener:function(e){var n=!0;function i(){n&&e.apply(void 0,arguments)}return t.push(i),function(){n=!1,t=t.filter((function(e){return e!==i}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var v="popstate",b="hashchange";function _(){try{return window.history.state||{}}catch(e){return{}}}function y(e){void 0===e&&(e={}),g||(0,a.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,r=!(-1===window.navigator.userAgent.indexOf("Trident")),l=e,p=l.forceRefresh,y=void 0!==p&&p,A=l.getUserConfirmation,w=void 0===A?m:A,C=l.keyLength,x=void 0===C?6:C,S=e.basename?d(s(e.basename)):"";function E(e){var t=e||{},n=t.key,i=t.state,o=window.location,r=o.pathname+o.search+o.hash;return S&&(r=c(r,S)),h(r,i,n)}function k(){return Math.random().toString(36).substr(2,x)}var M=f();function D(e){(0,i.Z)(V,e),V.length=n.length,M.notifyListeners(V.location,V.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(E(e.state))}function I(){L(E(_()))}var T=!1;function L(e){T?(T=!1,D()):M.confirmTransitionTo(e,"POP",w,(function(t){t?D({action:"POP",location:e}):function(e){var t=V.location,n=O.indexOf(t.key);-1===n&&(n=0);var i=O.indexOf(e.key);-1===i&&(i=0);var o=n-i;o&&(T=!0,F(o))}(e)}))}var B=E(_()),O=[B.key];function P(e){return S+u(e)}function F(e){n.go(e)}var R=0;function j(e){1===(R+=e)&&1===e?(window.addEventListener(v,N),r&&window.addEventListener(b,I)):0===R&&(window.removeEventListener(v,N),r&&window.removeEventListener(b,I))}var z=!1,V={length:n.length,action:"POP",location:B,createHref:P,push:function(e,t){var i="PUSH",r=h(e,t,k(),V.location);M.confirmTransitionTo(r,i,w,(function(e){if(e){var t=P(r),a=r.key,s=r.state;if(o)if(n.pushState({key:a,state:s},null,t),y)window.location.href=t;else{var l=O.indexOf(V.location.key),c=O.slice(0,l+1);c.push(r.key),O=c,D({action:i,location:r})}else window.location.href=t}}))},replace:function(e,t){var i="REPLACE",r=h(e,t,k(),V.location);M.confirmTransitionTo(r,i,w,(function(e){if(e){var t=P(r),a=r.key,s=r.state;if(o)if(n.replaceState({key:a,state:s},null,t),y)window.location.replace(t);else{var l=O.indexOf(V.location.key);-1!==l&&(O[l]=r.key),D({action:i,location:r})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=M.setPrompt(e);return z||(j(1),z=!0),function(){return z&&(z=!1,j(-1)),t()}},listen:function(e){var t=M.appendListener(e);return j(1),function(){j(-1),t()}}};return V}var A="hashchange",w={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:s},slash:{encodePath:s,decodePath:s}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function S(e){window.location.replace(C(window.location.href)+"#"+e)}function E(e){void 0===e&&(e={}),g||(0,a.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,r=void 0===o?m:o,l=n.hashType,p=void 0===l?"slash":l,v=e.basename?d(s(e.basename)):"",b=w[p],_=b.encodePath,y=b.decodePath;function E(){var e=y(x());return v&&(e=c(e,v)),h(e)}var k=f();function M(e){(0,i.Z)(z,e),z.length=t.length,k.notifyListeners(z.location,z.action)}var D=!1,N=null;function I(){var e,t,n=x(),i=_(n);if(n!==i)S(i);else{var o=E(),a=z.location;if(!D&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===u(o))return;N=null,function(e){if(D)D=!1,M();else{k.confirmTransitionTo(e,"POP",r,(function(t){t?M({action:"POP",location:e}):function(e){var t=z.location,n=O.lastIndexOf(u(t));-1===n&&(n=0);var i=O.lastIndexOf(u(e));-1===i&&(i=0);var o=n-i;o&&(D=!0,P(o))}(e)}))}}(o)}}var T=x(),L=_(T);T!==L&&S(L);var B=E(),O=[u(B)];function P(e){t.go(e)}var F=0;function R(e){1===(F+=e)&&1===e?window.addEventListener(A,I):0===F&&window.removeEventListener(A,I)}var j=!1,z={length:t.length,action:"POP",location:B,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+_(v+u(e))},push:function(e,t){var n="PUSH",i=h(e,void 0,void 0,z.location);k.confirmTransitionTo(i,n,r,(function(e){if(e){var t=u(i),o=_(v+t);if(x()!==o){N=t,function(e){window.location.hash=e}(o);var r=O.lastIndexOf(u(z.location)),a=O.slice(0,r+1);a.push(t),O=a,M({action:n,location:i})}else M()}}))},replace:function(e,t){var n="REPLACE",i=h(e,void 0,void 0,z.location);k.confirmTransitionTo(i,n,r,(function(e){if(e){var t=u(i),o=_(v+t);x()!==o&&(N=t,S(o));var r=O.indexOf(u(z.location));-1!==r&&(O[r]=t),M({action:n,location:i})}}))},go:P,goBack:function(){P(-1)},goForward:function(){P(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return j||(R(1),j=!0),function(){return j&&(j=!1,R(-1)),t()}},listen:function(e){var t=k.appendListener(e);return R(1),function(){R(-1),t()}}};return z}function k(e,t,n){return Math.min(Math.max(e,t),n)}function M(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,r=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,d=f();function p(e){(0,i.Z)(y,e),y.length=y.entries.length,d.notifyListeners(y.location,y.action)}function g(){return Math.random().toString(36).substr(2,c)}var m=k(s,0,r.length-1),v=r.map((function(e){return h(e,void 0,"string"==typeof e?g():e.key||g())})),b=u;function _(e){var t=k(y.index+e,0,y.entries.length-1),i=y.entries[t];d.confirmTransitionTo(i,"POP",n,(function(e){e?p({action:"POP",location:i,index:t}):p()}))}var y={length:v.length,action:"POP",location:v[m],index:m,entries:v,createHref:b,push:function(e,t){var i="PUSH",o=h(e,t,g(),y.location);d.confirmTransitionTo(o,i,n,(function(e){if(e){var t=y.index+1,n=y.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),p({action:i,location:o,index:t,entries:n})}}))},replace:function(e,t){var i="REPLACE",o=h(e,t,g(),y.location);d.confirmTransitionTo(o,i,n,(function(e){e&&(y.entries[y.index]=o,p({action:i,location:o}))}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},canGo:function(e){var t=y.index+e;return t>=0&&t<y.entries.length},block:function(e){return void 0===e&&(e=!1),d.setPrompt(e)},listen:function(e){return d.appendListener(e)}};return y}},10063:(e,t,n)=>{"use strict";var i=n(99415),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return i.isMemo(e)?a:s[e.$$typeof]||o}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=a;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(f){var o=p(n);o&&o!==f&&e(t,o,i)}var a=d(n);u&&(a=a.concat(u(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var v=a[m];if(!(r[v]||i&&i[v]||g&&g[v]||s&&s[v])){var b=h(n,v);try{c(t,v,b)}catch(e){}}}}return t}},47164:(e,t)=>{t.read=function(e,t,n,i,o){var r,a,s=8*o-i-1,l=(1<<s)-1,c=l>>1,d=-7,u=n?o-1:0,h=n?-1:1,p=e[t+u];for(u+=h,r=p&(1<<-d)-1,p>>=-d,d+=s;d>0;r=256*r+e[t+u],u+=h,d-=8);for(a=r&(1<<-d)-1,r>>=-d,d+=i;d>0;a=256*a+e[t+u],u+=h,d-=8);if(0===r)r=1-c;else{if(r===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),r-=c}return(p?-1:1)*a*Math.pow(2,r-i)},t.write=function(e,t,n,i,o,r){var a,s,l,c=8*r-o-1,d=(1<<c)-1,u=d>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:r-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+u>=1?h/l:h*Math.pow(2,1-u))*l>=2&&(a++,l/=2),a+u>=d?(s=0,a=d):a+u>=1?(s=(t*l-1)*Math.pow(2,o),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=f,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+p]=255&a,p+=f,a/=256,c-=8);e[n+p-f]|=128*g}},42827:(e,t,n)=>{"use strict";function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[X]}function r(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===te}(e)||Array.isArray(e)||!!e[Z]||!!e.constructor[Z]||p(e)||f(e))}function a(e){return o(e)||i(23,e),e[X].t}function s(e,t,n){void 0===n&&(n=!1),0===l(e)?(n?Object.keys:ne)(e).forEach((function(i){n&&"symbol"==typeof i||t(i,e[i],e)})):e.forEach((function(n,i){return t(i,n,e)}))}function l(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:f(e)?3:0}function c(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){return 2===l(e)?e.get(t):e[t]}function u(e,t,n){var i=l(e);2===i?e.set(t,n):3===i?(e.delete(t),e.add(n)):e[t]=n}function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return Y&&e instanceof Map}function f(e){return $&&e instanceof Set}function g(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ie(e);delete t[X];for(var n=ne(t),i=0;i<n.length;i++){var o=n[i],r=t[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(t[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function v(e,t){return void 0===t&&(t=!1),_(e)||o(e)||!r(e)||(l(e)>1&&(e.set=e.add=e.clear=e.delete=b),Object.freeze(e),t&&s(e,(function(e,t){return v(t,!0)}),!0)),e}function b(){i(2)}function _(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=oe[e];return t||i(18,e),t}function A(e,t){oe[e]||(oe[e]=t)}function w(){return G}function C(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){S(e),e.p.forEach(k),e.p=null}function S(e){e===G&&(G=e.l)}function E(e){return G={p:[],l:G,h:e,m:!0,_:0}}function k(e){var t=e[X];0===t.i||1===t.i?t.j():t.O=!0}function M(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.g||y("ES5").S(t,e,o),o?(n[X].P&&(x(t),i(4)),r(e)&&(e=D(t,e),t.l||I(t,e)),t.u&&y("Patches").M(n[X],e,t.u,t.s)):e=D(t,n,[]),x(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function D(e,t,n){if(_(t))return t;var i=t[X];if(!i)return s(t,(function(o,r){return N(e,i,t,o,r,n)}),!0),t;if(i.A!==e)return t;if(!i.P)return I(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var o=4===i.i||5===i.i?i.o=m(i.k):i.o;s(3===i.i?new Set(o):o,(function(t,r){return N(e,i,o,t,r,n)})),I(e,o,!1),n&&e.u&&y("Patches").R(i,n,e.u,e.s)}return i.o}function N(e,t,n,i,a,s){if(o(a)){var l=D(e,a,s&&t&&3!==t.i&&!c(t.D,i)?s.concat(i):void 0);if(u(n,i,l),!o(l))return;e.m=!1}if(r(a)&&!_(a)){if(!e.h.F&&e._<1)return;D(e,a),t&&t.A.l||I(e,a)}}function I(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&v(t,n)}function T(e,t){var n=e[X];return(n?g(n):e)[t]}function L(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function B(e){e.P||(e.P=!0,e.l&&B(e.l))}function O(e){e.o||(e.o=m(e.t))}function P(e,t,n){var i=p(t)?y("MapSet").N(t,n):f(t)?y("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),i={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=i,r=re;n&&(o=[i],r=ae);var a=Proxy.revocable(o,r),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(t,n):y("ES5").J(t,n);return(n?n.A:w()).p.push(i),i}function F(e){return o(e)||i(22,e),function e(t){if(!r(t))return t;var n,i=t[X],o=l(t);if(i){if(!i.P&&(i.i<4||!y("ES5").K(i)))return i.t;i.I=!0,n=R(t,o),i.I=!1}else n=R(t,o);return s(n,(function(t,o){i&&d(i.t,t)===o||u(n,t,e(o))})),3===o?new Set(n):n}(e)}function R(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function j(){function e(e,t){var n=r[e];return n?n.enumerable=t:r[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[X];return re.get(t,e)},set:function(t){var n=this[X];re.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][X];if(!o.P)switch(o.i){case 5:i(o)&&B(o);break;case 4:n(o)&&B(o)}}}function n(e){for(var t=e.t,n=e.k,i=ne(n),o=i.length-1;o>=0;o--){var r=i[o];if(r!==X){var a=t[r];if(void 0===a&&!c(t,r))return!0;var s=n[r],l=s&&s[X];if(l?l.t!==a:!h(s,a))return!0}}var d=!!t[X];return i.length!==ne(t).length+(d?0:1)}function i(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var r={};A("ES5",{J:function(t,n){var i=Array.isArray(t),o=function(t,n){if(t){for(var i=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(i,""+o,e(o,!0));return i}var r=ie(n);delete r[X];for(var a=ne(r),s=0;s<a.length;s++){var l=a[s];r[l]=e(l,t||!!r[l].enumerable)}return Object.create(Object.getPrototypeOf(n),r)}(i,t),r={i:i?5:4,A:n?n.A:w(),P:!1,I:!1,D:{},l:n,t,k:o,o:null,O:!1,C:!1};return Object.defineProperty(o,X,{value:r,writable:!0}),o},S:function(e,n,r){r?o(n)&&n[X].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[X];if(n){var o=n.t,r=n.k,a=n.D,l=n.i;if(4===l)s(r,(function(t){t!==X&&(void 0!==o[t]||c(o,t)?a[t]||e(r[t]):(a[t]=!0,B(n)))})),s(o,(function(e){void 0!==r[e]||c(r,e)||(a[e]=!1,B(n))}));else if(5===l){if(i(n)&&(B(n),a.length=!0),r.length<o.length)for(var d=r.length;d<o.length;d++)a[d]=!1;else for(var u=o.length;u<r.length;u++)a[u]=!0;for(var h=Math.min(r.length,o.length),p=0;p<h;p++)void 0===a[p]&&e(r[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):i(e)}})}function z(){function e(t){if(!r(t))return t;if(Array.isArray(t))return t.map(e);if(p(t))return new Map(Array.from(t.entries()).map((function(t){return[t[0],e(t[1])]})));if(f(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var i in t)n[i]=e(t[i]);return c(t,Z)&&(n[Z]=t[Z]),n}function t(t){return o(t)?e(t):t}var n="add";A("Patches",{$:function(t,o){return o.forEach((function(o){for(var r=o.path,a=o.op,s=t,c=0;c<r.length-1;c++){var u=l(s),h=""+r[c];0!==u&&1!==u||"__proto__"!==h&&"constructor"!==h||i(24),"function"==typeof s&&"prototype"===h&&i(24),"object"!=typeof(s=d(s,h))&&i(15,r.join("/"))}var p=l(s),f=e(o.value),g=r[r.length-1];switch(a){case"replace":switch(p){case 2:return s.set(g,f);case 3:i(16);default:return s[g]=f}case n:switch(p){case 1:return"-"===g?s.push(f):s.splice(g,0,f);case 2:return s.set(g,f);case 3:return s.add(f);default:return s[g]=f}case"remove":switch(p){case 1:return s.splice(g,1);case 2:return s.delete(g);case 3:return s.delete(o.value);default:return delete s[g]}default:i(17,a)}})),t},R:function(e,i,o,r){switch(e.i){case 0:case 4:case 2:return function(e,i,o,r){var a=e.t,l=e.o;s(e.D,(function(e,s){var u=d(a,e),h=d(l,e),p=s?c(a,e)?"replace":n:"remove";if(u!==h||"replace"!==p){var f=i.concat(e);o.push("remove"===p?{op:p,path:f}:{op:p,path:f,value:h}),r.push(p===n?{op:"remove",path:f}:"remove"===p?{op:n,path:f,value:t(u)}:{op:"replace",path:f,value:t(u)})}}))}(e,i,o,r);case 5:case 1:return function(e,i,o,r){var a=e.t,s=e.D,l=e.o;if(l.length<a.length){var c=[l,a];a=c[0],l=c[1];var d=[r,o];o=d[0],r=d[1]}for(var u=0;u<a.length;u++)if(s[u]&&l[u]!==a[u]){var h=i.concat([u]);o.push({op:"replace",path:h,value:t(l[u])}),r.push({op:"replace",path:h,value:t(a[u])})}for(var p=a.length;p<l.length;p++){var f=i.concat([p]);o.push({op:n,path:f,value:t(l[p])})}a.length<l.length&&r.push({op:"replace",path:i.concat(["length"]),value:a.length})}(e,i,o,r);case 3:return function(e,t,i,o){var r=e.t,a=e.o,s=0;r.forEach((function(e){if(!a.has(e)){var r=t.concat([s]);i.push({op:"remove",path:r,value:e}),o.unshift({op:n,path:r,value:e})}s++})),s=0,a.forEach((function(e){if(!r.has(e)){var a=t.concat([s]);i.push({op:n,path:a,value:e}),o.unshift({op:"remove",path:a,value:e})}s++}))}(e,i,o,r)}},M:function(e,t,n,i){n.push({op:"replace",path:[],value:t===q?void 0:t}),i.push({op:"replace",path:[],value:e.t})}})}function V(){function e(e,t){function n(){this.constructor=e}a(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.o||(e.D=new Map,e.o=new Map(e.t))}function n(e){e.o||(e.o=new Set,e.t.forEach((function(t){if(r(t)){var n=P(e.A.h,t,e);e.p.set(t,n),e.o.add(n)}else e.o.add(t)})))}function o(e){e.O&&i(3,JSON.stringify(g(e)))}var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},l=function(){function n(e,t){return this[X]={i:2,l:t,A:t?t.A:w(),P:!1,I:!1,o:void 0,D:void 0,t:e,k:this,C:!1,O:!1},this}e(n,Map);var i=n.prototype;return Object.defineProperty(i,"size",{get:function(){return g(this[X]).size}}),i.has=function(e){return g(this[X]).has(e)},i.set=function(e,n){var i=this[X];return o(i),g(i).has(e)&&g(i).get(e)===n||(t(i),B(i),i.D.set(e,!0),i.o.set(e,n),i.D.set(e,!0)),this},i.delete=function(e){if(!this.has(e))return!1;var n=this[X];return o(n),t(n),B(n),n.D.set(e,!1),n.o.delete(e),!0},i.clear=function(){var e=this[X];o(e),g(e).size&&(t(e),B(e),e.D=new Map,s(e.t,(function(t){e.D.set(t,!1)})),e.o.clear())},i.forEach=function(e,t){var n=this;g(this[X]).forEach((function(i,o){e.call(t,n.get(o),o,n)}))},i.get=function(e){var n=this[X];o(n);var i=g(n).get(e);if(n.I||!r(i))return i;if(i!==n.t.get(e))return i;var a=P(n.A.h,i,n);return t(n),n.o.set(e,a),a},i.keys=function(){return g(this[X]).keys()},i.values=function(){var e,t=this,n=this.keys();return(e={})[ee]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},i.entries=function(){var e,t=this,n=this.keys();return(e={})[ee]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var i=t.get(e.value);return{done:!1,value:[e.value,i]}},e},i[ee]=function(){return this.entries()},n}(),c=function(){function t(e,t){return this[X]={i:3,l:t,A:t?t.A:w(),P:!1,I:!1,o:void 0,t:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var i=t.prototype;return Object.defineProperty(i,"size",{get:function(){return g(this[X]).size}}),i.has=function(e){var t=this[X];return o(t),t.o?!!t.o.has(e)||!(!t.p.has(e)||!t.o.has(t.p.get(e))):t.t.has(e)},i.add=function(e){var t=this[X];return o(t),this.has(e)||(n(t),B(t),t.o.add(e)),this},i.delete=function(e){if(!this.has(e))return!1;var t=this[X];return o(t),n(t),B(t),t.o.delete(e)||!!t.p.has(e)&&t.o.delete(t.p.get(e))},i.clear=function(){var e=this[X];o(e),g(e).size&&(n(e),B(e),e.o.clear())},i.values=function(){var e=this[X];return o(e),n(e),e.o.values()},i.entries=function(){var e=this[X];return o(e),n(e),e.o.entries()},i.keys=function(){return this.values()},i[ee]=function(){return this.values()},i.forEach=function(e,t){for(var n=this.values(),i=n.next();!i.done;)e.call(t,i.value,i.value,this),i=n.next()},t}();A("MapSet",{N:function(e,t){return new l(e,t)},T:function(e,t){return new c(e,t)}})}function W(){j(),V(),z()}function H(e){return e}function U(e){return e}n.r(t),n.d(t,{Immer:()=>se,applyPatches:()=>pe,castDraft:()=>H,castImmutable:()=>U,createDraft:()=>fe,current:()=>F,default:()=>me,enableAllPlugins:()=>W,enableES5:()=>j,enableMapSet:()=>V,enablePatches:()=>z,finishDraft:()=>ge,freeze:()=>v,immerable:()=>Z,isDraft:()=>o,isDraftable:()=>r,nothing:()=>q,original:()=>a,produce:()=>ce,produceWithPatches:()=>de,setAutoFreeze:()=>ue,setUseProxies:()=>he});var Q,G,K="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Y="undefined"!=typeof Map,$="undefined"!=typeof Set,J="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=K?Symbol.for("immer-nothing"):((Q={})["immer-nothing"]=!0,Q),Z=K?Symbol.for("immer-draftable"):"__$immer_draftable",X=K?Symbol.for("immer-state"):"__$immer_state",ee="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",te=""+Object.prototype.constructor,ne="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ie=Object.getOwnPropertyDescriptors||function(e){var t={};return ne(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},oe={},re={get:function(e,t){if(t===X)return e;var n=g(e);if(!c(n,t))return function(e,t,n){var i,o=L(t,n);return o?"value"in o?o.value:null===(i=o.get)||void 0===i?void 0:i.call(e.k):void 0}(e,n,t);var i=n[t];return e.I||!r(i)?i:i===T(e.t,t)?(O(e),e.o[t]=P(e.A.h,i,e)):i},has:function(e,t){return t in g(e)},ownKeys:function(e){return Reflect.ownKeys(g(e))},set:function(e,t,n){var i=L(g(e),t);if(null==i?void 0:i.set)return i.set.call(e.k,n),!0;if(!e.P){var o=T(g(e),t),r=null==o?void 0:o[X];if(r&&r.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(h(n,o)&&(void 0!==n||c(e.t,t)))return!0;O(e),B(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==T(e.t,t)||t in e.t?(e.D[t]=!1,O(e),B(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=g(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:i.enumerable,value:n[t]}:i},defineProperty:function(){i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){i(12)}},ae={};s(re,(function(e,t){ae[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ae.deleteProperty=function(e,t){return re.deleteProperty.call(this,e[0],t)},ae.set=function(e,t,n){return re.set.call(this,e[0],t,n,e[0])};var se=function(){function e(e){var t=this;this.g=J,this.F=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];return s.produce(e,(function(e){var i;return(i=n).call.apply(i,[t,e].concat(o))}))}}var l;if("function"!=typeof n&&i(6),void 0!==o&&"function"!=typeof o&&i(7),r(e)){var c=E(t),d=P(t,e,void 0),u=!0;try{l=n(d),u=!1}finally{u?x(c):S(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return C(c,o),M(e,c)}),(function(e){throw x(c),e})):(C(c,o),M(l,c))}if(!e||"object"!=typeof e){if((l=n(e))===q)return;return void 0===l&&(l=e),t.F&&v(l,!0),l}i(21,e)},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))}:[t.produce(e,n,(function(e,t){i=e,o=t})),i,o];var i,o},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){r(e)||i(8),o(e)&&(e=F(e));var t=E(this),n=P(this,e,void 0);return n[X].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[X]).A;return C(n,t),M(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!J&&i(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var r=y("Patches").$;return o(e)?r(e,t):this.produce(e,(function(e){return r(e,t)}))},e}(),le=new se,ce=le.produce,de=le.produceWithPatches.bind(le),ue=le.setAutoFreeze.bind(le),he=le.setUseProxies.bind(le),pe=le.applyPatches.bind(le),fe=le.createDraft.bind(le),ge=le.finishDraft.bind(le);const me=ce},21700:e=>{"use strict";e.exports=function(e,t,n,i,o,r,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,o,r,a,s],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},58967:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},88232:(e,t)=>{function n(e,t){var n=[],i=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,r){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?i.splice(a,1/0,o):i.push(o),~n.indexOf(r)&&(r=t.call(this,o,r))}else n.push(r);return null==e?r:e.call(this,o,r)}}(e.exports=function(e,t,i,o){return JSON.stringify(e,n(t,o),i)}).getSerialize=n},55376:(e,t,n)=>{e.exports=function e(t,n,i){function o(a,s){if(!n[a]){if(!t[a]){if(r)return r(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return o(t[a][1][e]||e)}),c,c.exports,e,t,n,i)}return n[a].exports}for(var r=void 0,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(e,t,n){const i=e("./utils"),o=function(){"use strict";const e=i.stringToArray,t=["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"],n=["Zeroth","First","Second","Third","Fourth","Fifth","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh","Twelfth","Thirteenth","Fourteenth","Fifteenth","Sixteenth","Seventeenth","Eighteenth","Nineteenth"],o=["Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety","Hundred"],r=["Thousand","Million","Billion","Trillion"];const a={};t.forEach((function(e,t){a[e.toLowerCase()]=t})),n.forEach((function(e,t){a[e.toLowerCase()]=t})),o.forEach((function(e,t){const n=e.toLowerCase();a[n]=10*(t+2),a[n.substring(0,e.length-1)+"ieth"]=a[n]})),a.hundredth=100,r.forEach((function(e,t){const n=e.toLowerCase(),i=Math.pow(10,3*(t+1));a[n]=i,a[n+"th"]=i}));const s=[[1e3,"m"],[900,"cm"],[500,"d"],[400,"cd"],[100,"c"],[90,"xc"],[50,"l"],[40,"xl"],[10,"x"],[9,"ix"],[5,"v"],[4,"iv"],[1,"i"]],l={M:1e3,D:500,C:100,L:50,X:10,V:5,I:1};function c(e){for(var t=0;t<s.length;t++){const n=s[t];if(e>=n[0])return n[1]+c(e-n[0])}return""}function d(e,t){if(void 0!==e)return _(e=Math.floor(e),A(t))}const u="decimal",h="letters",p="roman",f="words",g="sequence",m="upper",v="lower",b="title";function _(i,a){let s;const l=i<0;switch(i=Math.abs(i),a.primary){case h:s=function(e,t){for(var n=[],i=t.charCodeAt(0);e>0;)n.unshift(String.fromCharCode((e-1)%26+i)),e=Math.floor((e-1)/26);return n.join("")}(i,a.case===m?"A":"a");break;case p:s=c(i),a.case===m&&(s=s.toUpperCase());break;case f:s=function(e,i){var a=function(e,i,s){var l="";if(e<=19)l=(i?" and ":"")+(s?n[e]:t[e]);else if(e<100){const t=Math.floor(e/10),n=e%10;l=(i?" and ":"")+o[t-2],n>0?l+="-"+a(n,!1,s):s&&(l=l.substring(0,l.length-1)+"ieth")}else if(e<1e3){const n=Math.floor(e/100),o=e%100;l=(i?", ":"")+t[n]+" Hundred",o>0?l+=a(o,!0,s):s&&(l+="th")}else{var c=Math.floor(Math.log10(e)/3);c>r.length&&(c=r.length);const t=Math.pow(10,3*c),n=Math.floor(e/t),o=e-n*t;l=(i?", ":"")+a(n,!1,!1)+" "+r[c-1],o>0?l+=a(o,!0,s):s&&(l+="th")}return l};return a(e,!1,i)}(i,a.ordinal),a.case===m?s=s.toUpperCase():a.case===v&&(s=s.toLowerCase());break;case u:s=""+i;var d=a.mandatoryDigits-s.length;if(d>0){var b=new Array(d+1).join("0");s=b+s}if(48!==a.zeroCode&&(s=e(s).map((e=>String.fromCodePoint(e.codePointAt(0)+a.zeroCode-48))).join("")),a.regular)for(let e=Math.floor((s.length-1)/a.groupingSeparators.position);e>0;e--){const t=s.length-e*a.groupingSeparators.position;s=s.substr(0,t)+a.groupingSeparators.character+s.substr(t)}else a.groupingSeparators.reverse().forEach((e=>{const t=s.length-e.position;s=s.substr(0,t)+e.character+s.substr(t)}));if(a.ordinal){var _={1:"st",2:"nd",3:"rd"}[s[s.length-1]];(!_||s.length>1&&"1"===s[s.length-2])&&(_="th"),s+=_}break;case g:throw{code:"D3130",value:a.token}}return l&&(s="-"+s),s}const y=[48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296];function A(t){const n={type:"integer",primary:u,case:v,ordinal:!1};let i,o;const r=t.lastIndexOf(";");switch(-1===r?i=t:(i=t.substring(0,r),o=t.substring(r+1),"o"===o[0]&&(n.ordinal=!0)),i){case"A":n.case=m;case"a":n.primary=h;break;case"I":n.case=m;case"i":n.primary=p;break;case"W":n.case=m,n.primary=f;break;case"Ww":n.case=b,n.primary=f;break;case"w":n.primary=f;break;default:{let t=null,o=0,r=0,a=[],s=0;if(e(i).map((e=>e.codePointAt(0))).reverse().forEach((e=>{let n=!1;for(let i=0;i<y.length;i++){const r=y[i];if(e>=r&&e<=r+9){if(n=!0,o++,s++,null===t)t=r;else if(r!==t)throw{code:"D3131"};break}}n||(35===e?(s++,r++):a.push({position:s,character:String.fromCodePoint(e)}))})),o>0){n.primary=u,n.zeroCode=t,n.mandatoryDigits=o,n.optionalDigits=r;const e=function(e){if(0===e.length)return 0;const t=e[0].character;for(let n=1;n<e.length;n++)if(e[n].character!==t)return 0;const n=e.map((e=>e.position)),i=function(e,t){return 0===t?e:i(t,e%t)},o=n.reduce(i);for(let e=1;e<=n.length;e++)if(-1===n.indexOf(e*o))return 0;return o}(a);e>0?(n.regular=!0,n.groupingSeparators={position:e,character:a[0].character}):(n.regular=!1,n.groupingSeparators=a)}else n.primary=g,n.token=i}}return n}const w={Y:"1",M:"1",D:"1",d:"1",F:"n",W:"1",w:"1",X:"1",x:"1",H:"1",h:"1",P:"n",m:"01",s:"01",f:"1",Z:"01:01",z:"01:01",C:"n",E:"n"};function C(e){var t=[];const n={type:"datetime",parts:t},i=function(n,i){if(i>n){let o=e.substring(n,i);o=o.split("]]").join("]"),t.push({type:"literal",value:o})}};for(var o=0,r=0;r<e.length;){if("["===e.charAt(r)){if("["===e.charAt(r+1)){i(o,r),t.push({type:"literal",value:"["}),o=r+=2;continue}if(i(o,r),o=r,-1===(r=e.indexOf("]",o)))throw{code:"D3135"};let n=e.substring(o+1,r);n=n.split(/\s+/).join("");var a,s={type:"marker",component:n.charAt(0)},l=n.lastIndexOf(",");if(-1!==l){const e=n.substring(l+1),t=e.indexOf("-");let i,o;const r=function(e){return void 0===e||"*"===e?void 0:parseInt(e)};-1===t?i=e:(i=e.substring(0,t),o=e.substring(t+1));const c={min:r(i),max:r(o)};s.width=c,a=n.substring(1,l)}else a=n.substring(1);if(1===a.length)s.presentation1=a;else if(a.length>1){var c=a.charAt(a.length-1);-1!=="atco".indexOf(c)?(s.presentation2=c,"o"===c&&(s.ordinal=!0),s.presentation1=a.substring(0,a.length-1)):s.presentation1=a}else s.presentation1=w[s.component];if(void 0===s.presentation1)throw{code:"D3132",value:s.component};if("n"===s.presentation1[0])s.names=v;else if("N"===s.presentation1[0])"n"===s.presentation1[1]?s.names=b:s.names=m;else if(-1!=="YMDdFWwXxHhmsf".indexOf(s.component)){var d=s.presentation1;if(s.presentation2&&(d+=";"+s.presentation2),s.integerFormat=A(d),s.width&&void 0!==s.width.min&&s.integerFormat.mandatoryDigits<s.width.min&&(s.integerFormat.mandatoryDigits=s.width.min),"Y"===s.component)if(s.n=-1,s.width&&void 0!==s.width.max)s.n=s.width.max,s.integerFormat.mandatoryDigits=s.n;else{var u=s.integerFormat.mandatoryDigits+s.integerFormat.optionalDigits;u>=2&&(s.n=u)}}"Z"!==s.component&&"z"!==s.component||(s.integerFormat=A(s.presentation1)),t.push(s),o=r+1}r++}return i(o,r),n}const x=["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],S=["January","February","March","April","May","June","July","August","September","October","November","December"],E=864e5,k=function(e){const t=Date.UTC(e.year,e.month);var n=new Date(t).getUTCDay();return 0===n&&(n=7),n>4?t+(8-n)*E:t-(n-1)*E},M=function(e,t){return{year:e,month:t,nextMonth:function(){return 11===t?M(e+1,0):M(e,t+1)},previousMonth:function(){return 0===t?M(e-1,11):M(e,t-1)},nextYear:function(){return M(e+1,t)},previousYear:function(){return M(e-1,t)}}},D=function(e,t){return(t-e)/6048e5+1},N=(e,t)=>{let n;switch(t){case"Y":n=e.getUTCFullYear();break;case"M":n=e.getUTCMonth()+1;break;case"D":n=e.getUTCDate();break;case"d":n=(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())-Date.UTC(e.getUTCFullYear(),0))/E+1;break;case"F":n=e.getUTCDay(),0===n&&(n=7);break;case"W":{const t=M(e.getUTCFullYear(),0),i=k(t),o=Date.UTC(t.year,e.getUTCMonth(),e.getUTCDate());let r=D(i,o);if(r>52)o>=k(t.nextYear())&&(r=1);else if(r<1){const e=k(t.previousYear());r=D(e,o)}n=Math.floor(r);break}case"w":{const t=M(e.getUTCFullYear(),e.getUTCMonth()),i=k(t),o=Date.UTC(t.year,t.month,e.getUTCDate());let r=D(i,o);if(r>4)o>=k(t.nextMonth())&&(r=1);else if(r<1){const e=k(t.previousMonth());r=D(e,o)}n=Math.floor(r);break}case"X":{const t=M(e.getUTCFullYear(),0),i=k(t),o=k(t.nextYear()),r=e.getTime();n=r<i?t.year-1:r>=o?t.year+1:t.year;break}case"x":{const t=M(e.getUTCFullYear(),e.getUTCMonth()),i=k(t),o=t.nextMonth(),r=k(o),a=e.getTime();n=a<i?t.previousMonth().month+1:a>=r?o.month+1:t.month+1;break}case"H":n=e.getUTCHours();break;case"h":n=e.getUTCHours(),n%=12,0===n&&(n=12);break;case"P":n=e.getUTCHours()>=12?"pm":"am";break;case"m":n=e.getUTCMinutes();break;case"s":n=e.getUTCSeconds();break;case"f":n=e.getUTCMilliseconds();break;case"Z":case"z":break;case"C":case"E":n="ISO"}return n};let I=null;function T(e,t,n){var i=0,o=0;if(void 0!==n){const e=parseInt(n);i=Math.floor(e/100),o=e%100}let r;void 0===t?(null===I&&(I=C("[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01].[f001][Z01:01t]")),r=I):r=C(t);const a=new Date(e+60*(60*i+o)*1e3);let s="";return r.parts.forEach((function(e){"literal"===e.type?s+=e.value:s+=function(e,t){var n=N(e,t.component);if(-1!=="YMDdFWwXxHhms".indexOf(t.component))if("Y"===t.component&&-1!==t.n&&(n%=Math.pow(10,t.n)),t.names){if("M"===t.component||"x"===t.component)n=S[n-1];else{if("F"!==t.component)throw{code:"D3133",value:t.component};n=x[n]}t.names===m?n=n.toUpperCase():t.names===v&&(n=n.toLowerCase()),t.width&&n.length>t.width.max&&(n=n.substring(0,t.width.max))}else n=_(n,t.integerFormat);else if("f"===t.component)n=_(n,t.integerFormat);else if("Z"===t.component||"z"===t.component){const e=100*i+o;if(t.integerFormat.regular)n=_(e,t.integerFormat);else{const r=t.integerFormat.mandatoryDigits;if(1===r||2===r)n=_(i,t.integerFormat),0!==o&&(n+=":"+d(o,"00"));else{if(3!==r&&4!==r)throw{code:"D3134",value:r};n=_(e,t.integerFormat)}}e>=0&&(n="+"+n),"z"===t.component&&(n="GMT"+n),0===e&&"t"===t.presentation2&&(n="Z")}return n}(a,e)})),s}function L(e){var t={};if("datetime"===e.type)t.type="datetime",t.parts=e.parts.map((function(e){var t={};if("literal"===e.type)t.regex=e.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");else if(e.integerFormat)t=L(e.integerFormat);else{t.regex="[a-zA-Z]+";var n={};if("M"===e.component||"x"===e.component)S.forEach((function(t,i){e.width&&e.width.max?n[t.substring(0,e.width.max)]=i+1:n[t]=i+1}));else if("F"===e.component)x.forEach((function(t,i){i>0&&(e.width&&e.width.max?n[t.substring(0,e.width.max)]=i:n[t]=i)}));else{if("P"!==e.component)throw{code:"D3133",value:e.component};n={am:0,AM:0,pm:1,PM:1}}t.parse=function(e){return n[e]}}return t.component=e.component,t}));else{t.type="integer";const n=e.case===m;switch(e.primary){case h:t.regex=n?"[A-Z]+":"[a-z]+",t.parse=function(e){return function(e,t){for(var n=t.charCodeAt(0),i=0,o=0;o<e.length;o++)i+=(e.charCodeAt(e.length-o-1)-n+1)*Math.pow(26,o);return i}(e,n?"A":"a")};break;case p:t.regex=n?"[MDCLXVI]+":"[mdclxvi]+",t.parse=function(e){return function(e){for(var t=0,n=1,i=e.length-1;i>=0;i--){const o=e[i],r=l[o];r<n?t-=r:(n=r,t+=r)}return t}(n?e:e.toUpperCase())};break;case f:t.regex="(?:"+Object.keys(a).concat("and","[\\-, ]").join("|")+")+",t.parse=function(e){return function(e){const t=e.split(/,\s|\sand\s|[\s\\-]/).map((e=>a[e]));let n=[0];return t.forEach((e=>{if(e<100){let t=n.pop();t>=1e3&&(n.push(t),t=0),n.push(t+e)}else n.push(n.pop()*e)})),n.reduce(((e,t)=>e+t),0)}(e.toLowerCase())};break;case u:t.regex="[0-9]+",e.ordinal&&(t.regex+="(?:th|st|nd|rd)"),t.parse=function(t){let n=t;return e.ordinal&&(n=t.substring(0,t.length-2)),e.regular?n=n.split(",").join(""):e.groupingSeparators.forEach((e=>{n=n.split(e.character).join("")})),48!==e.zeroCode&&(n=n.split("").map((t=>String.fromCodePoint(t.codePointAt(0)-e.zeroCode+48))).join("")),parseInt(n)};break;case g:throw{code:"D3130",value:e.token}}}return t}function B(e,t){const n=L(C(t)),i="^"+n.parts.map((e=>"("+e.regex+")")).join("")+"$";var o=new RegExp(i,"i").exec(e);if(null!==o){const e=161,t=130,i=84,r=72,a=23,s=47,l={};for(let e=1;e<o.length;e++){const t=n.parts[e-1];t.parse&&(l[t.component]=t.parse(o[e]))}if(0===Object.getOwnPropertyNames(l).length)return;let c=0;const d=e=>{c<<=1,c+=e?1:0},u=e=>!(~e&c||!(e&c));"YXMxWwdD".split("").forEach((e=>d(l[e])));const h=!u(e)&&u(t),p=u(i),f=!p&&u(r);c=0,"PHhmsf".split("").forEach((e=>d(l[e])));const g=!u(a)&&u(s),m=(h?"YD":p?"XxwF":f?"XWF":"YMD")+(g?"Phmsf":"Hmsf"),v=this.environment.timestamp;let b=!1,_=!1;if(m.split("").forEach((e=>{if(void 0===l[e])b?(l[e]=-1!=="MDd".indexOf(e)?1:0,_=!0):l[e]=N(v,e);else if(b=!0,_)throw{code:"D3136"}})),l.M>0?l.M-=1:l.M=0,h){const e=Date.UTC(l.Y,0),t=1e3*(l.d-1)*60*60*24,n=new Date(e+t);l.M=n.getUTCMonth(),l.D=n.getUTCDate()}if(p)throw{code:"D3136"};if(f)throw{code:"D3136"};return g&&(l.H=12===l.h?0:l.h,1===l.P&&(l.H+=12)),Date.UTC(l.Y,l.M,l.D,l.H,l.m,l.s,l.f)}}var O=new RegExp("^\\d{4}(-[01]\\d)*(-[0-3]\\d)*(T[0-2]\\d:[0-5]\\d:[0-5]\\d)*(\\.\\d+)?([+-][0-2]\\d:?[0-5]\\d|Z)?$");return{formatInteger:d,parseInteger:function(e,t){if(void 0!==e)return L(A(t)).parse(e)},fromMillis:function(e,t,n){if(void 0!==e)return T.call(this,e,t,n)},toMillis:function(e,t){if(void 0!==e){if(void 0===t){if(!O.test(e))throw{stack:(new Error).stack,code:"D3110",value:e};return Date.parse(e)}return B.call(this,e,t)}}}}();t.exports=o},{"./utils":6}],2:[function(e,t,i){(function(n){var i=e("./utils");const o=(()=>{"use strict";var e=i.isNumeric,t=i.isArrayOfStrings,o=i.isArrayOfNumbers,r=i.createSequence,a=i.isSequence,s=i.isFunction,l=i.isLambda,c=i.isIterable,d=i.getFunctionArity,u=i.isDeepEqual,h=i.stringToArray;function p(e,t,n){if(void 0!==e){var i=h(e),o=i.length;if(o+t<0&&(t=0),void 0!==n){if(n<=0)return"";var r=t>=0?t+n:o+t+n;return i.slice(t,r).join("")}return i.slice(t).join("")}}function f(e){if(void 0!==e)return h(e).length}function*g(e,t){var n=e.apply(this,[t]);if(c(n)&&(n=yield*n),n&&"number"!=typeof n.start&&"number"!==n.end&&!Array.isArray(n.groups)&&!s(n.next))throw{code:"T1010",stack:(new Error).stack};return n}function m(e,t){var n;if(void 0!==e){if(t){var i=e.toString().split("e");e=+(i[0]+"e"+(i[1]?+i[1]+t:t))}var o=(n=Math.round(e))-e;return.5===Math.abs(o)&&1===Math.abs(n%2)&&(n-=1),t&&(i=n.toString().split("e"),n=+(i[0]+"e"+(i[1]?+i[1]-t:-t))),Object.is(n,-0)&&(n=0),n}}function v(t){if(void 0!==t){var n=!1;return Array.isArray(t)?1===t.length?n=v(t[0]):t.length>1&&(n=t.filter((function(e){return v(e)})).length>0):"string"==typeof t?t.length>0&&(n=!0):e(t)?0!==t&&(n=!0):null!==t&&"object"==typeof t?Object.keys(t).length>0&&(n=!0):"boolean"==typeof t&&!0===t&&(n=!0),n}}function b(e,t,n,i){var o=[t],r=d(e);return r>=2&&o.push(n),r>=3&&o.push(i),o}function _(e,t){return void 0===e?t:void 0===t?e:(Array.isArray(e)||(e=r(e)),Array.isArray(t)||(t=[t]),e.concat(t))}return{sum:function(e){if(void 0!==e){var t=0;return e.forEach((function(e){t+=e})),t}},count:function(e){return void 0===e?0:e.length},max:function(e){if(void 0!==e&&0!==e.length)return Math.max.apply(Math,e)},min:function(e){if(void 0!==e&&0!==e.length)return Math.min.apply(Math,e)},average:function(e){if(void 0!==e&&0!==e.length){var t=0;return e.forEach((function(e){t+=e})),t/e.length}},string:function(t,n=!1){if(void 0!==t){var i;if("string"==typeof t)i=t;else if(s(t))i="";else{if("number"==typeof t&&!isFinite(t))throw{code:"D3001",value:t,stack:(new Error).stack};var o=n?2:0;Array.isArray(t)&&t.outerWrapper&&(t=t[0]),i=JSON.stringify(t,(function(t,n){return null!=n&&n.toPrecision&&e(n)?Number(n.toPrecision(15)):n&&s(n)?"":n}),o)}return i}},substring:p,substringBefore:function(e,t){if(void 0!==e){var n=e.indexOf(t);return n>-1?e.substr(0,n):e}},substringAfter:function(e,t){if(void 0!==e){var n=e.indexOf(t);return n>-1?e.substr(n+t.length):e}},lowercase:function(e){if(void 0!==e)return e.toLowerCase()},uppercase:function(e){if(void 0!==e)return e.toUpperCase()},length:f,trim:function(e){if(void 0!==e){var t=e.replace(/[ \t\n\r]+/gm," ");return" "===t.charAt(0)&&(t=t.substring(1))," "===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t}},pad:function(e,t,n){if(void 0!==e){var i;void 0!==n&&0!==n.length||(n=" ");var o=Math.abs(t)-f(e);if(o>0){var r=new Array(o+1).join(n);n.length>1&&(r=p(r,0,o)),i=t>0?e+r:r+e}else i=e;return i}},match:function*(e,t,n){if(void 0!==e){if(n<0)throw{stack:(new Error).stack,value:n,code:"D3040",index:3};var i=r();if(void 0===n||n>0){var o=0,a=yield*g(t,e);if(void 0!==a)for(;void 0!==a&&(void 0===n||o<n);)i.push({match:a.match,index:a.start,groups:a.groups}),a=yield*g(a.next),o++}return i}},contains:function*(e,t){if(void 0!==e)return"string"==typeof t?-1!==e.indexOf(t):void 0!==(yield*g(t,e))},replace:function*(e,t,n,i){if(void 0!==e){var o;if(""===t)throw{code:"D3010",stack:(new Error).stack,value:t,index:2};if(i<0)throw{code:"D3011",stack:(new Error).stack,value:i,index:4};o="string"==typeof n?function(e){for(var t="",i=0,o=n.indexOf("$",i);-1!==o&&i<n.length;){t+=n.substring(i,o),i=o+1;var r=n.charAt(i);if("$"===r)t+="$",i++;else if("0"===r)t+=e.match,i++;else{var a;if(a=0===e.groups.length?1:Math.floor(Math.log(e.groups.length)*Math.LOG10E)+1,o=parseInt(n.substring(i,i+a),10),a>1&&o>e.groups.length&&(o=parseInt(n.substring(i,i+a-1),10)),isNaN(o))t+="$";else{if(e.groups.length>0){var s=e.groups[o-1];void 0!==s&&(t+=s)}i+=o.toString().length}}o=n.indexOf("$",i)}return t+n.substring(i)}:n;var r="",a=0;if(void 0===i||i>0){var s=0;if("string"==typeof t){for(var l=e.indexOf(t,a);-1!==l&&(void 0===i||s<i);)r+=e.substring(a,l),r+=n,a=l+t.length,s++,l=e.indexOf(t,a);r+=e.substring(a)}else{var d=yield*g(t,e);if(void 0!==d){for(;void 0!==d&&(void 0===i||s<i);){r+=e.substring(a,d.start);var u=o.apply(this,[d]);if(c(u)&&(u=yield*u),"string"!=typeof u)throw{code:"D3012",stack:(new Error).stack,value:u};r+=u,a=d.start+d.match.length,s++,d=yield*g(d.next)}r+=e.substring(a)}else r=e}}else r=e;return r}},split:function*(e,t,n){if(void 0!==e){if(n<0)throw{code:"D3020",stack:(new Error).stack,value:n,index:3};var i=[];if(void 0===n||n>0)if("string"==typeof t)i=e.split(t,n);else{var o=0,r=yield*g(t,e);if(void 0!==r){for(var a=0;void 0!==r&&(void 0===n||o<n);)i.push(e.substring(a,r.start)),a=r.end,r=yield*g(r.next),o++;(void 0===n||o<n)&&i.push(e.substring(a))}else i.push(e)}return i}},join:function(e,t){if(void 0!==e)return void 0===t&&(t=""),e.join(t)},formatNumber:function(e,t,n){if(void 0!==e){var i={"decimal-separator":".","grouping-separator":",","exponent-separator":"e",infinity:"Infinity","minus-sign":"-",NaN:"NaN",percent:"%","per-mille":"โ€ฐ","zero-digit":"0",digit:"#","pattern-separator":";"};void 0!==n&&Object.keys(n).forEach((function(e){i[e]=n[e]}));for(var o=[],r=i["zero-digit"].charCodeAt(0),a=r;a<r+10;a++)o.push(String.fromCharCode(a));var s=o.concat([i["decimal-separator"],i["exponent-separator"],i["grouping-separator"],i.digit,i["pattern-separator"]]),l=t.split(i["pattern-separator"]);if(l.length>2)throw{code:"D3080",stack:(new Error).stack};var c=l.map((function(e){var t,n,o,r,a=function(){for(var t,n=0;n<e.length;n++)if(t=e.charAt(n),-1!==s.indexOf(t)&&t!==i["exponent-separator"])return e.substring(0,n)}(),l=function(){for(var t,n=e.length-1;n>=0;n--)if(t=e.charAt(n),-1!==s.indexOf(t)&&t!==i["exponent-separator"])return e.substring(n+1)}(),c=e.substring(a.length,e.length-l.length),d=e.indexOf(i["exponent-separator"],a.length);-1===d||d>e.length-l.length?(t=c,n=void 0):(t=c.substring(0,d),n=c.substring(d+1));var u=t.indexOf(i["decimal-separator"]);return-1===u?(o=t,r=l):(o=t.substring(0,u),r=t.substring(u+1)),{prefix:a,suffix:l,activePart:c,mantissaPart:t,exponentPart:n,integerPart:o,fractionalPart:r,subpicture:e}}));c.forEach((function(e){var t,n,r=e.subpicture,a=r.indexOf(i["decimal-separator"]);a!==r.lastIndexOf(i["decimal-separator"])&&(t="D3081"),r.indexOf(i.percent)!==r.lastIndexOf(i.percent)&&(t="D3082"),r.indexOf(i["per-mille"])!==r.lastIndexOf(i["per-mille"])&&(t="D3083"),-1!==r.indexOf(i.percent)&&-1!==r.indexOf(i["per-mille"])&&(t="D3084");var l=!1;for(n=0;n<e.mantissaPart.length;n++){var c=e.mantissaPart.charAt(n);if(-1!==o.indexOf(c)||c===i.digit){l=!0;break}}l||(t="D3085"),-1!==e.activePart.split("").map((function(e){return-1===s.indexOf(e)?"p":"a"})).join("").indexOf("p")&&(t="D3086"),-1!==a?r.charAt(a-1)!==i["grouping-separator"]&&r.charAt(a+1)!==i["grouping-separator"]||(t="D3087"):e.integerPart.charAt(e.integerPart.length-1)===i["grouping-separator"]&&(t="D3088"),-1!==r.indexOf(i["grouping-separator"]+i["grouping-separator"])&&(t="D3089");var d=e.integerPart.indexOf(i.digit);-1!==d&&e.integerPart.substring(0,d).split("").filter((function(e){return o.indexOf(e)>-1})).length>0&&(t="D3090"),-1!==(d=e.fractionalPart.lastIndexOf(i.digit))&&e.fractionalPart.substring(d).split("").filter((function(e){return o.indexOf(e)>-1})).length>0&&(t="D3091");var u="string"==typeof e.exponentPart;if(u&&e.exponentPart.length>0&&(-1!==r.indexOf(i.percent)||-1!==r.indexOf(i["per-mille"]))&&(t="D3092"),u&&(0===e.exponentPart.length||e.exponentPart.split("").filter((function(e){return-1===o.indexOf(e)})).length>0)&&(t="D3093"),t)throw{code:t,stack:(new Error).stack}}));var d,u,h,p,f=c.map((function(e){var t=function(t,n){for(var r=[],a=t.indexOf(i["grouping-separator"]);-1!==a;){var s=(n?t.substring(0,a):t.substring(a)).split("").filter((function(e){return-1!==o.indexOf(e)||e===i.digit})).length;r.push(s),a=e.integerPart.indexOf(i["grouping-separator"],a+1)}return r},n=t(e.integerPart),r=function(e){if(0===e.length)return 0;for(var t=function(e,n){return 0===n?e:t(n,e%n)},n=e.reduce(t),i=1;i<=e.length;i++)if(-1===e.indexOf(i*n))return 0;return n}(n),a=t(e.fractionalPart,!0),s=e.integerPart.split("").filter((function(e){return-1!==o.indexOf(e)})).length,l=s,c=e.fractionalPart.split(""),d=c.filter((function(e){return-1!==o.indexOf(e)})).length,u=c.filter((function(e){return-1!==o.indexOf(e)||e===i.digit})).length,h="string"==typeof e.exponentPart;0===s&&0===u&&(h?(d=1,u=1):s=1),h&&0===s&&-1!==e.integerPart.indexOf(i.digit)&&(s=1),0===s&&0===d&&(d=1);var p=0;return h&&(p=e.exponentPart.split("").filter((function(e){return-1!==o.indexOf(e)})).length),{integerPartGroupingPositions:n,regularGrouping:r,minimumIntegerPartSize:s,scalingFactor:l,prefix:e.prefix,fractionalPartGroupingPositions:a,minimumFactionalPartSize:d,maximumFactionalPartSize:u,minimumExponentSize:p,suffix:e.suffix,picture:e.subpicture}})),g=i["minus-sign"],v=i["zero-digit"],b=i["decimal-separator"],_=i["grouping-separator"];if(1===f.length&&(f.push(JSON.parse(JSON.stringify(f[0]))),f[1].prefix=g+f[1].prefix),u=-1!==(d=e>=0?f[0]:f[1]).picture.indexOf(i.percent)?100*e:-1!==d.picture.indexOf(i["per-mille"])?1e3*e:e,0===d.minimumExponentSize)h=u;else{var y=Math.pow(10,d.scalingFactor),A=Math.pow(10,d.scalingFactor-1);for(h=u,p=0;h<A;)h*=10,p-=1;for(;h>y;)h/=10,p+=1}var w=function(e,t){var n=Math.abs(e).toFixed(t);return"0"!==v&&(n=n.split("").map((function(e){return e>="0"&&e<="9"?o[e.charCodeAt(0)-48]:e})).join("")),n},C=w(m(h,d.maximumFactionalPartSize),d.maximumFactionalPartSize),x=C.indexOf(".");for(-1===x?C+=b:C=C.replace(".",b);C.charAt(0)===v;)C=C.substring(1);for(;C.charAt(C.length-1)===v;)C=C.substring(0,C.length-1);x=C.indexOf(b);var S=d.minimumIntegerPartSize-x,E=d.minimumFactionalPartSize-(C.length-x-1);if(C=(S>0?new Array(S+1).join(v):"")+C,C+=E>0?new Array(E+1).join(v):"",x=C.indexOf(b),d.regularGrouping>0)for(var k=Math.floor((x-1)/d.regularGrouping),M=1;M<=k;M++)C=[C.slice(0,x-M*d.regularGrouping),_,C.slice(x-M*d.regularGrouping)].join("");else d.integerPartGroupingPositions.forEach((function(e){C=[C.slice(0,x-e),_,C.slice(x-e)].join(""),x++}));if(x=C.indexOf(b),d.fractionalPartGroupingPositions.forEach((function(e){C=[C.slice(0,e+x+1),_,C.slice(e+x+1)].join("")})),x=C.indexOf(b),-1!==d.picture.indexOf(b)&&x!==C.length-1||(C=C.substring(0,C.length-1)),void 0!==p){var D=w(p,0);(S=d.minimumExponentSize-D.length)>0&&(D=new Array(S+1).join(v)+D),C=C+i["exponent-separator"]+(p<0?g:"")+D}return C=d.prefix+C+d.suffix}},formatBase:function(e,t){if(void 0!==e){if(e=m(e),(t=void 0===t?10:m(t))<2||t>36)throw{code:"D3100",stack:(new Error).stack,value:t};return e.toString(t)}},number:function(e){var t;if(void 0!==e){if("number"==typeof e)t=e;else if("string"==typeof e&&/^-?[0-9]+(\.[0-9]+)?([Ee][-+]?[0-9]+)?$/.test(e)&&!isNaN(parseFloat(e))&&isFinite(e))t=parseFloat(e);else if(!0===e)t=1;else{if(!1!==e)throw{code:"D3030",value:e,stack:(new Error).stack,index:1};t=0}return t}},floor:function(e){if(void 0!==e)return Math.floor(e)},ceil:function(e){if(void 0!==e)return Math.ceil(e)},round:m,abs:function(e){if(void 0!==e)return Math.abs(e)},sqrt:function(e){if(void 0!==e){if(e<0)throw{stack:(new Error).stack,code:"D3060",index:1,value:e};return Math.sqrt(e)}},power:function(e,t){var n;if(void 0!==e){if(n=Math.pow(e,t),!isFinite(n))throw{stack:(new Error).stack,code:"D3061",index:1,value:e,exp:t};return n}},random:function(){return Math.random()},boolean:v,not:function(e){if(void 0!==e)return!v(e)},map:function*(e,t){if(void 0!==e){for(var n=r(),i=0;i<e.length;i++){var o=b(t,e[i],i,e),a=yield*t.apply(this,o);void 0!==a&&n.push(a)}return n}},zip:function(){for(var e=[],t=Array.prototype.slice.call(arguments),n=Math.min.apply(Math,t.map((function(e){return Array.isArray(e)?e.length:0}))),i=0;i<n;i++){var o=t.map((e=>e[i]));e.push(o)}return e},filter:function*(e,t){if(void 0!==e){for(var n=r(),i=0;i<e.length;i++){var o=e[i],a=b(t,o,i,e);v(yield*t.apply(this,a))&&n.push(o)}return n}},single:function*(e,t){if(void 0!==e){for(var n,i=!1,o=0;o<e.length;o++){var r=e[o],a=!0;if(void 0!==t){var s=b(t,r,o,e);a=v(yield*t.apply(this,s))}if(a){if(i)throw{stack:(new Error).stack,code:"D3138",index:o};n=r,i=!0}}if(!i)throw{stack:(new Error).stack,code:"D3139"};return n}},foldLeft:function*(e,t,n){if(void 0!==e){var i,o,r=d(t);if(r<2)throw{stack:(new Error).stack,code:"D3050",index:1};for(void 0===n&&e.length>0?(i=e[0],o=1):(i=n,o=0);o<e.length;){var a=[i,e[o]];r>=3&&a.push(o),r>=4&&a.push(e),i=yield*t.apply(this,a),o++}return i}},sift:function*(e,t){var n={};for(var i in e){var o=e[i],r=b(t,o,i,e);v(yield*t.apply(this,r))&&(n[i]=o)}return 0===Object.keys(n).length&&(n=void 0),n},keys:function e(t){var n=r();if(Array.isArray(t)){var i={};t.forEach((function(t){e(t).forEach((function(e){i[e]=!0}))})),n=e(i)}else null===t||"object"!=typeof t||l(t)||Object.keys(t).forEach((e=>n.push(e)));return n},lookup:function e(t,n){var i;if(Array.isArray(t)){i=r();for(var o=0;o<t.length;o++){var a=e(t[o],n);void 0!==a&&(Array.isArray(a)?a.forEach((e=>i.push(e))):i.push(a))}}else null!==t&&"object"==typeof t&&(i=t[n]);return i},append:_,exists:function(e){return void 0!==e},spread:function e(t){var n=r();if(Array.isArray(t))t.forEach((function(t){n=_(n,e(t))}));else if(null===t||"object"!=typeof t||l(t))n=t;else for(var i in t){var o={};o[i]=t[i],n.push(o)}return n},merge:function(e){if(void 0!==e){var t={};return e.forEach((function(e){for(var n in e)t[n]=e[n]})),t}},reverse:function(e){if(void 0!==e){if(e.length<=1)return e;for(var t=e.length,n=new Array(t),i=0;i<t;i++)n[t-i-1]=e[i];return n}},each:function*(e,t){var n=r();for(var i in e){var o=b(t,e[i],i,e),a=yield*t.apply(this,o);void 0!==a&&n.push(a)}return n},error:function(e){throw{code:"D3137",stack:(new Error).stack,message:e||"$error() function evaluated"}},assert:function(e,t){if(!e)throw{code:"D3141",stack:(new Error).stack,message:t||"$assert() statement failed"}},type:function(t){if(void 0!==t)return null===t?"null":e(t)?"number":"string"==typeof t?"string":"boolean"==typeof t?"boolean":Array.isArray(t)?"array":s(t)?"function":"object"},sort:function*(e,n){if(void 0!==e){if(e.length<=1)return e;var i;if(void 0===n){if(!o(e)&&!t(e))throw{stack:(new Error).stack,code:"D3070",index:1};i=function*(e,t){return e>t}}else i=n;var r=function*(e){if(!Array.isArray(e)||e.length<=1)return e;var t=Math.floor(e.length/2),n=e.slice(0,t),o=e.slice(t);return n=yield*r(n),o=yield*r(o),yield*function*(e,t){var n=function*(e,t,o){0===t.length?Array.prototype.push.apply(e,o):0===o.length?Array.prototype.push.apply(e,t):(yield*i(t[0],o[0]))?(e.push(o[0]),yield*n(e,t,o.slice(1))):(e.push(t[0]),yield*n(e,t.slice(1),o))},o=[];return yield*n(o,e,t),o}(n,o)};return yield*r(e)}},shuffle:function(e){if(void 0!==e){if(e.length<=1)return e;for(var t=new Array(e.length),n=0;n<e.length;n++){var i=Math.floor(Math.random()*(n+1));n!==i&&(t[n]=t[i]),t[i]=e[n]}return t}},distinct:function(e){if(void 0!==e){if(!Array.isArray(e)||e.length<=1)return e;for(var t=a(e)?r():[],n=0;n<e.length;n++){for(var i=e[n],o=!1,s=0;s<t.length;s++)if(u(i,t[s])){o=!0;break}o||t.push(i)}return t}},base64encode:function(e){if(void 0!==e){var t="undefined"!=typeof window?window.btoa:function(e){return new n.Buffer.from(e,"binary").toString("base64")};return t(e)}},base64decode:function(e){if(void 0!==e){var t="undefined"!=typeof window?window.atob:function(e){return new n.Buffer(e,"base64").toString("binary")};return t(e)}},encodeUrlComponent:function(e){if(void 0!==e){var t;try{t=encodeURIComponent(e)}catch(t){throw{code:"D3140",stack:(new Error).stack,value:e,functionName:"encodeUrlComponent"}}return t}},encodeUrl:function(e){if(void 0!==e){var t;try{t=encodeURI(e)}catch(t){throw{code:"D3140",stack:(new Error).stack,value:e,functionName:"encodeUrl"}}return t}},decodeUrlComponent:function(e){if(void 0!==e){var t;try{t=decodeURIComponent(e)}catch(t){throw{code:"D3140",stack:(new Error).stack,value:e,functionName:"decodeUrlComponent"}}return t}},decodeUrl:function(e){if(void 0!==e){var t;try{t=decodeURI(e)}catch(t){throw{code:"D3140",stack:(new Error).stack,value:e,functionName:"decodeUrl"}}return t}}}})();t.exports=o}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./utils":6}],3:[function(e,t,n){var i=e("./datetime"),o=e("./functions"),r=e("./utils"),a=e("./parser"),s=e("./signature"),l=function(){"use strict";var e=r.isNumeric,t=r.isArrayOfStrings,n=r.isArrayOfNumbers,l=r.createSequence,c=r.isSequence,d=r.isFunction,u=r.isLambda,h=r.isIterable,p=r.getFunctionArity,f=r.isDeepEqual,g=O(null);function*m(n,i,r){var a,s=r.lookup("__evaluate_entry");switch(s&&s(n,i,r),n.type){case"path":a=yield*function*(e,t,n){var i,o;i=Array.isArray(t)&&"variable"!==e.steps[0].type?t:l(t);for(var r=!1,a=void 0,s=0;s<e.steps.length;s++){var d=e.steps[s];if(d.tuple&&(r=!0),0===s&&d.consarray?o=yield*m(d,i,n):r?a=yield*y(d,i,a,n):o=yield*b(d,i,n,s===e.steps.length-1),!r&&(void 0===o||0===o.length))break;void 0===d.focus&&(i=o)}if(r)if(e.tuple)o=a;else for(o=l(),s=0;s<a.length;s++)o.push(a[s]["@"]);return e.keepSingletonArray&&(c(o)||(o=l(o)),o.keepSingleton=!0),e.hasOwnProperty("group")&&(o=yield*x(e.group,r?a:o,n)),o}(n,i,r);break;case"binary":a=yield*function*(t,n,i){var r,a=yield*m(t.lhs,n,i),s=yield*m(t.rhs,n,i),l=t.value;try{switch(l){case"+":case"-":case"*":case"/":case"%":r=function(t,n,i){var o;if(void 0!==t&&!e(t))throw{code:"T2001",stack:(new Error).stack,value:t};if(void 0!==n&&!e(n))throw{code:"T2002",stack:(new Error).stack,value:n};if(void 0===t||void 0===n)return o;switch(i){case"+":o=t+n;break;case"-":o=t-n;break;case"*":o=t*n;break;case"/":o=t/n;break;case"%":o=t%n}return o}(a,s,l);break;case"=":case"!=":r=function(e,t,n){var i;if(void 0===e||void 0===t)return!1;switch(n){case"=":i=f(e,t);break;case"!=":i=!f(e,t)}return i}(a,s,l);break;case"<":case"<=":case">":case">=":r=function(e,t,n){var i,o=typeof e,r=typeof t;if("undefined"!==o&&"string"!==o&&"number"!==o||"undefined"!==r&&"string"!==r&&"number"!==r)throw{code:"T2010",stack:(new Error).stack,value:"string"!==o&&"number"!==o?e:t};if("undefined"!==o&&"undefined"!==r){if(o!==r)throw{code:"T2009",stack:(new Error).stack,value:e,value2:t};switch(n){case"<":i=e<t;break;case"<=":i=e<=t;break;case">":i=e>t;break;case">=":i=e>=t}return i}}(a,s,l);break;case"&":r=function(e,t){var n="",i="";return void 0!==e&&(n=o.string(e)),void 0!==t&&(i=o.string(t)),n.concat(i)}(a,s);break;case"and":case"or":r=function(e,t,n){var i,r=o.boolean(e),a=o.boolean(t);switch(void 0===r&&(r=!1),void 0===a&&(a=!1),n){case"and":i=r&&a;break;case"or":i=r||a}return i}(a,s,l);break;case"..":r=function(e,t){var n;if(void 0!==e&&!Number.isInteger(e))throw{code:"T2003",stack:(new Error).stack,value:e};if(void 0!==t&&!Number.isInteger(t))throw{code:"T2004",stack:(new Error).stack,value:t};if(void 0===e||void 0===t)return n;if(e>t)return n;var i=t-e+1;if(i>1e7)throw{code:"D2014",stack:(new Error).stack,value:i};n=new Array(i);for(var o=e,r=0;o<=t;o++,r++)n[r]=o;return n.sequence=!0,n}(a,s);break;case"in":r=function(e,t){var n=!1;if(void 0===e||void 0===t)return!1;Array.isArray(t)||(t=[t]);for(var i=0;i<t.length;i++)if(t[i]===e){n=!0;break}return n}(a,s)}}catch(e){throw e.position=t.position,e.token=l,e}return r}(n,i,r);break;case"unary":a=yield*function*(t,n,i){var r;switch(t.value){case"-":if(void 0===(r=yield*m(t.expression,n,i)))r=void 0;else{if(!e(r))throw{code:"D1002",stack:(new Error).stack,position:t.position,token:t.value,value:r};r=-r}break;case"[":r=[];for(var a=0;a<t.expressions.length;a++){var s=t.expressions[a],l=yield*m(s,n,i);void 0!==l&&("["===s.value?r.push(l):r=o.append(r,l))}t.consarray&&Object.defineProperty(r,"cons",{enumerable:!1,configurable:!1,value:!0});break;case"{":r=yield*x(t,n,i)}return r}(n,i,r);break;case"name":a=function(e,t,n){return o.lookup(t,e.value)}(n,i);break;case"string":case"number":case"value":a=function(e){return e.value}(n);break;case"wildcard":a=function(e,t){var n=l();return null!==t&&"object"==typeof t&&Object.keys(t).forEach((function(e){var i=t[e];Array.isArray(i)?(i=w(i),n=o.append(n,i)):n.push(i)})),n}(0,i);break;case"descendant":a=function(e,t){var n,i=l();return void 0!==t&&(C(t,i),n=1===i.length?i[0]:i),n}(0,i);break;case"parent":a=r.lookup(n.slot.label);break;case"condition":a=yield*function*(e,t,n){var i,r=yield*m(e.condition,t,n);return o.boolean(r)?i=yield*m(e.then,t,n):void 0!==e.else&&(i=yield*m(e.else,t,n)),i}(n,i,r);break;case"block":a=yield*function*(e,t,n){for(var i,o=O(n),r=0;r<e.expressions.length;r++)i=yield*m(e.expressions[r],t,o);return i}(n,i,r);break;case"bind":a=yield*function*(e,t,n){var i=yield*m(e.rhs,t,n);return n.bind(e.lhs.value,i),i}(n,i,r);break;case"regex":a=function(e){var t=new RegExp(e.value),n=function(i,o){var r;t.lastIndex=o||0;var a=t.exec(i);if(null!==a){if(r={match:a[0],start:a.index,end:a.index+a[0].length,groups:[]},a.length>1)for(var s=1;s<a.length;s++)r.groups.push(a[s]);r.next=function(){if(!(t.lastIndex>=i.length)){var o=n(i,t.lastIndex);if(o&&""===o.match)throw{code:"D1004",stack:(new Error).stack,position:e.position,value:e.value.source};return o}}}return r};return n}(n);break;case"function":a=yield*M(n,i,r);break;case"variable":a=function(e,t,n){return""===e.value?t&&t.outerWrapper?t[0]:t:n.lookup(e.value)}(n,i,r);break;case"lambda":a=function(e,t,n){var i={_jsonata_lambda:!0,input:t,environment:n,arguments:e.arguments,signature:e.signature,body:e.body};return!0===e.thunk&&(i.thunk=!0),i.apply=function*(e,n){return yield*D(i,n,t,e.environment)},i}(n,i,r);break;case"partial":a=yield*function*(e,t,n){for(var i,o=[],r=0;r<e.arguments.length;r++){var a=e.arguments[r];"operator"===a.type&&"?"===a.value?o.push(a):o.push(yield*m(a,t,n))}var s=yield*m(e.procedure,t,n);if(void 0===s&&"path"===e.procedure.type&&n.lookup(e.procedure.steps[0].value))throw{code:"T1007",stack:(new Error).stack,position:e.position,token:e.procedure.steps[0].value};if(u(s))i=I(s,o);else if(s&&!0===s._jsonata_function)i=T(s.implementation,o);else{if("function"!=typeof s)throw{code:"T1008",stack:(new Error).stack,position:e.position,token:"path"===e.procedure.type?e.procedure.steps[0].value:e.procedure.value};i=T(s,o)}return i}(n,i,r);break;case"apply":a=yield*function*(e,t,n){var i,o=yield*m(e.lhs,t,n);if("function"===e.rhs.type)i=yield*M(e.rhs,t,n,{context:o});else{var r=yield*m(e.rhs,t,n);if(!d(r))throw{code:"T2006",stack:(new Error).stack,position:e.position,value:r};if(d(o)){var a=yield*m(k,null,n);i=yield*D(a,[o,r],null,n)}else i=yield*D(r,[o],null,n)}return i}(n,i,r);break;case"transform":a=function(e,n,i){return B((function*(n){if(void 0!==n){var o=i.lookup("clone");if(!d(o))throw{code:"T2013",stack:(new Error).stack,position:e.position};var r=yield*D(o,[n],null,i),a=yield*m(e.pattern,r,i);if(void 0!==a){Array.isArray(a)||(a=[a]);for(var s=0;s<a.length;s++){var l=a[s],c=yield*m(e.update,l,i),u=typeof c;if("undefined"!==u){if("object"!==u||null===c||Array.isArray(c))throw{code:"T2011",stack:(new Error).stack,position:e.update.position,value:c};for(var h in c)l[h]=c[h]}if(void 0!==e.delete){var p=yield*m(e.delete,l,i);if(void 0!==p){var f=p;if(Array.isArray(p)||(p=[p]),!t(p))throw{code:"T2012",stack:(new Error).stack,position:e.delete.position,value:f};for(var g=0;g<p.length;g++)"object"==typeof l&&null!==l&&delete l[p[g]]}}}}return r}}),"<(oa):o>")}(n,0,r)}if(!r.async||null!=a&&"function"==typeof a.then||(a=Promise.resolve(a)),r.async&&"function"==typeof a.then&&n.nextFunction&&"function"==typeof a[n.nextFunction]||(a=yield a),Object.prototype.hasOwnProperty.call(n,"predicate"))for(var h=0;h<n.predicate.length;h++)a=yield*A(n.predicate[h].expr,a,r);"path"!==n.type&&Object.prototype.hasOwnProperty.call(n,"group")&&(a=yield*x(n.group,a,r));var p=r.lookup("__evaluate_exit");return p&&p(n,i,r,a),a&&c(a)&&!a.tupleStream&&(n.keepArray&&(a.keepSingleton=!0),0===a.length?a=void 0:1===a.length&&(a=a.keepSingleton?a:a[0])),a}function v(e,t){var n=O(e);for(const e in t)n.bind(e,t[e]);return n}function*b(e,t,n,i){var o;if("sort"===e.type)return o=yield*E(e,t,n),e.stages&&(o=yield*_(e.stages,o,n)),o;o=l();for(var r=0;r<t.length;r++){var a=yield*m(e,t[r],n);if(e.stages)for(var s=0;s<e.stages.length;s++)a=yield*A(e.stages[s].expr,a,n);void 0!==a&&o.push(a)}var d=l();return i&&1===o.length&&Array.isArray(o[0])&&!c(o[0])?d=o[0]:o.forEach((function(e){!Array.isArray(e)||e.cons?d.push(e):e.forEach((e=>d.push(e)))})),d}function*_(e,t,n){for(var i=t,o=0;o<e.length;o++){var r=e[o];switch(r.type){case"filter":i=yield*A(r.expr,i,n);break;case"index":for(var a=0;a<i.length;a++)i[a][r.value]=a}}return i}function*y(e,t,n,i){var o;if("sort"===e.type){if(n)o=yield*E(e,n,i);else{var r=yield*E(e,t,i);(o=l()).tupleStream=!0;for(var a=0;a<r.length;a++){var s={"@":r[a]};s[e.index]=a,o.push(s)}}return e.stages&&(o=yield*_(e.stages,o,i)),o}(o=l()).tupleStream=!0;var c=i;void 0===n&&(n=t.map((e=>({"@":e}))));for(var d=0;d<n.length;d++){c=v(i,n[d]);var u=yield*m(e,n[d]["@"],c);if(void 0!==u){Array.isArray(u)||(u=[u]);for(var h=0;h<u.length;h++)s={},Object.assign(s,n[d]),u.tupleStream?Object.assign(s,u[h]):(e.focus?(s[e.focus]=u[h],s["@"]=n[d]["@"]):s["@"]=u[h],e.index&&(s[e.index]=h),e.ancestor&&(s[e.ancestor.label]=n[d]["@"])),o.push(s)}}return e.stages&&(o=yield*_(e.stages,o,i)),o}function*A(t,i,r){var a=l();if(i&&i.tupleStream&&(a.tupleStream=!0),Array.isArray(i)||(i=l(i)),"number"===t.type){var s=Math.floor(t.value);s<0&&(s=i.length+s),void 0!==(c=i[s])&&(Array.isArray(c)?a=c:a.push(c))}else for(s=0;s<i.length;s++){var c,d=c=i[s],u=r;i.tupleStream&&(d=c["@"],u=v(r,c));var h=yield*m(t,d,u);e(h)&&(h=[h]),n(h)?h.forEach((function(e){var t=Math.floor(e);t<0&&(t=i.length+t),t===s&&a.push(c)})):o.boolean(h)&&a.push(c)}return a}function w(e,t){return void 0===t&&(t=[]),Array.isArray(e)?e.forEach((function(e){w(e,t)})):t.push(e),t}function C(e,t){Array.isArray(e)||t.push(e),Array.isArray(e)?e.forEach((function(e){C(e,t)})):null!==e&&"object"==typeof e&&Object.keys(e).forEach((function(n){C(e[n],t)}))}function*x(e,t,n){var i={},r={},a=!(!t||!t.tupleStream);Array.isArray(t)||(t=l(t));for(var s=0;s<t.length;s++)for(var c=t[s],d=a?v(n,c):n,u=0;u<e.lhs.length;u++){var h=e.lhs[u],p=yield*m(h[0],a?c["@"]:c,d);if("string"!=typeof p)throw{code:"T1003",stack:(new Error).stack,position:e.position,value:p};var f={data:c,exprIndex:u};if(r.hasOwnProperty(p)){if(r[p].exprIndex!==u)throw{code:"D1009",stack:(new Error).stack,position:e.position,value:p};r[p].data=o.append(r[p].data,c)}else r[p]=f}for(p in r){var g=(f=r[p]).data;if(d=n,a){var b=S(f.data);g=b["@"],delete b["@"],d=v(n,b)}var _=yield*m(e.lhs[f.exprIndex][1],g,d);void 0!==_&&(i[p]=_)}return i}function S(e){if(!Array.isArray(e))return e;var t={};Object.assign(t,e[0]);for(var n=1;n<e.length;n++)for(const i in e[n])t[i]=o.append(t[i],e[n][i]);return t}function*E(e,t,n){var i=t,r=!!t.tupleStream,a={environment:n,input:t};return yield*o.sort.apply(a,[i,function*(t,i){for(var o=0,a=0;0===o&&a<e.terms.length;a++){var s=e.terms[a],l=t,c=n;r&&(l=t["@"],c=v(n,t));var d=yield*m(s.expression,l,c);l=i,c=n,r&&(l=i["@"],c=v(n,i));var u=yield*m(s.expression,l,c),h=typeof d,p=typeof u;if("undefined"!==h)if("undefined"!==p){if("string"!==h&&"number"!==h||"string"!==p&&"number"!==p)throw{code:"T2008",stack:(new Error).stack,position:e.position,value:"string"!==h&&"number"!==h?d:u};if(h!==p)throw{code:"T2007",stack:(new Error).stack,position:e.position,value:d,value2:u};d!==u&&(o=d<u?-1:1,!0===s.descending&&(o=-o))}else o=-1;else o="undefined"===p?0:1}return 1===o}])}var k=a("function($f, $g) { function($x){ $g($f($x)) } }");function*M(e,t,n,i){var o,r=yield*m(e.procedure,t,n);if(void 0===r&&"path"===e.procedure.type&&n.lookup(e.procedure.steps[0].value))throw{code:"T1005",stack:(new Error).stack,position:e.position,token:e.procedure.steps[0].value};var a=[];void 0!==i&&a.push(i.context);for(var s=0;s<e.arguments.length;s++){const i=yield*m(e.arguments[s],t,n);if(d(i)){const e=function*(...e){return yield*D(i,e,null,n)};e.arity=p(i),a.push(e)}else a.push(i)}var l="path"===e.procedure.type?e.procedure.steps[0].value:e.procedure.value;try{"object"==typeof r&&(r.token=l,r.position=e.position),o=yield*D(r,a,t,n)}catch(t){throw t.position||(t.position=e.position),t.token||(t.token=l),t}return o}function*D(e,t,n,i){var o;for(o=yield*N(e,t,n,i);u(o)&&!0===o.thunk;){var r=yield*m(o.body.procedure,o.input,o.environment);"variable"===o.body.procedure.type&&(r.token=o.body.procedure.value),r.position=o.body.procedure.position;for(var a=[],s=0;s<o.body.arguments.length;s++)a.push(yield*m(o.body.arguments[s],o.input,o.environment));o=yield*N(r,a,n,i)}return o}function*N(e,t,n,i){var o;try{var r=t;if(e&&(r=function(e,t,n){return void 0===e?t:e.validate(t,n)}(e.signature,t,n)),u(e))o=yield*function*(e,t){var n=O(e.environment);return e.arguments.forEach((function(e,i){n.bind(e.value,t[i])})),"function"==typeof e.body?yield*function*(e,t){var n=L(e).map((function(e){return t.lookup(e.trim())})),i={environment:t},o=e.apply(i,n);return h(o)&&(o=yield*o),o}(e.body,n):yield*m(e.body,e.input,n)}(e,r);else if(e&&!0===e._jsonata_function){var a={environment:i,input:n};o=e.implementation.apply(a,r),h(o)&&(o=yield*o)}else{if("function"!=typeof e)throw{code:"T1006",stack:(new Error).stack};o=e.apply(n,r),h(o)&&(o=yield*o)}}catch(t){throw e&&(void 0===t.token&&void 0!==e.token&&(t.token=e.token),t.position=e.position),t}return o}function I(e,t){var n=O(e.environment),i=[];return e.arguments.forEach((function(e,o){var r=t[o];r&&"operator"===r.type&&"?"===r.value?i.push(e):n.bind(e.value,r)})),{_jsonata_lambda:!0,input:e.input,environment:n,arguments:i,body:e.body}}function T(e,t){var n=L(e),i="function("+(n=n.map((function(e){return"$"+e.trim()}))).join(", ")+"){ _ }",o=a(i);return o.body=e,I(o,t)}function L(e){var t=e.toString();return/\(([^)]*)\)/.exec(t)[1].split(",")}function B(e,t){var n={_jsonata_function:!0,implementation:e};return void 0!==t&&(n.signature=s(t)),n}function O(e){var t={};return{bind:function(e,n){t[e]=n},lookup:function(n){var i;return t.hasOwnProperty(n)?i=t[n]:e&&(i=e.lookup(n)),i},timestamp:e?e.timestamp:null,async:!!e&&e.async,global:e?e.global:{ancestry:[null]}}}g.bind("sum",B(o.sum,"<a<n>:n>")),g.bind("count",B(o.count,"<a:n>")),g.bind("max",B(o.max,"<a<n>:n>")),g.bind("min",B(o.min,"<a<n>:n>")),g.bind("average",B(o.average,"<a<n>:n>")),g.bind("string",B(o.string,"<x-b?:s>")),g.bind("substring",B(o.substring,"<s-nn?:s>")),g.bind("substringBefore",B(o.substringBefore,"<s-s:s>")),g.bind("substringAfter",B(o.substringAfter,"<s-s:s>")),g.bind("lowercase",B(o.lowercase,"<s-:s>")),g.bind("uppercase",B(o.uppercase,"<s-:s>")),g.bind("length",B(o.length,"<s-:n>")),g.bind("trim",B(o.trim,"<s-:s>")),g.bind("pad",B(o.pad,"<s-ns?:s>")),g.bind("match",B(o.match,"<s-f<s:o>n?:a<o>>")),g.bind("contains",B(o.contains,"<s-(sf):b>")),g.bind("replace",B(o.replace,"<s-(sf)(sf)n?:s>")),g.bind("split",B(o.split,"<s-(sf)n?:a<s>>")),g.bind("join",B(o.join,"<a<s>s?:s>")),g.bind("formatNumber",B(o.formatNumber,"<n-so?:s>")),g.bind("formatBase",B(o.formatBase,"<n-n?:s>")),g.bind("formatInteger",B(i.formatInteger,"<n-s:s>")),g.bind("parseInteger",B(i.parseInteger,"<s-s:n>")),g.bind("number",B(o.number,"<(nsb)-:n>")),g.bind("floor",B(o.floor,"<n-:n>")),g.bind("ceil",B(o.ceil,"<n-:n>")),g.bind("round",B(o.round,"<n-n?:n>")),g.bind("abs",B(o.abs,"<n-:n>")),g.bind("sqrt",B(o.sqrt,"<n-:n>")),g.bind("power",B(o.power,"<n-n:n>")),g.bind("random",B(o.random,"<:n>")),g.bind("boolean",B(o.boolean,"<x-:b>")),g.bind("not",B(o.not,"<x-:b>")),g.bind("map",B(o.map,"<af>")),g.bind("zip",B(o.zip,"<a+>")),g.bind("filter",B(o.filter,"<af>")),g.bind("single",B(o.single,"<af?>")),g.bind("reduce",B(o.foldLeft,"<afj?:j>")),g.bind("sift",B(o.sift,"<o-f?:o>")),g.bind("keys",B(o.keys,"<x-:a<s>>")),g.bind("lookup",B(o.lookup,"<x-s:x>")),g.bind("append",B(o.append,"<xx:a>")),g.bind("exists",B(o.exists,"<x:b>")),g.bind("spread",B(o.spread,"<x-:a<o>>")),g.bind("merge",B(o.merge,"<a<o>:o>")),g.bind("reverse",B(o.reverse,"<a:a>")),g.bind("each",B(o.each,"<o-f:a>")),g.bind("error",B(o.error,"<s?:x>")),g.bind("assert",B(o.assert,"<bs?:x>")),g.bind("type",B(o.type,"<x:s>")),g.bind("sort",B(o.sort,"<af?:a>")),g.bind("shuffle",B(o.shuffle,"<a:a>")),g.bind("distinct",B(o.distinct,"<x:x>")),g.bind("base64encode",B(o.base64encode,"<s-:s>")),g.bind("base64decode",B(o.base64decode,"<s-:s>")),g.bind("encodeUrlComponent",B(o.encodeUrlComponent,"<s-:s>")),g.bind("encodeUrl",B(o.encodeUrl,"<s-:s>")),g.bind("decodeUrlComponent",B(o.decodeUrlComponent,"<s-:s>")),g.bind("decodeUrl",B(o.decodeUrl,"<s-:s>")),g.bind("eval",B((function*(e,t){if(void 0!==e){var n=this.input;void 0!==t&&(n=t);try{var i=a(e,!1)}catch(e){throw F(e),{stack:(new Error).stack,code:"D3120",value:e.message,error:e}}try{var o=yield*m(i,n,this.environment)}catch(e){throw F(e),{stack:(new Error).stack,code:"D3121",value:e.message,error:e}}return o}}),"<sx?:x>")),g.bind("toMillis",B(i.toMillis,"<s-s?:n>")),g.bind("fromMillis",B(i.fromMillis,"<n-s?s?:s>")),g.bind("clone",B((function(e){if(void 0!==e)return JSON.parse(o.string(e))}),"<(oa)-:o>"));var P={S0101:"String literal must be terminated by a matching quote",S0102:"Number out of range: {{token}}",S0103:"Unsupported escape sequence: \\{{token}}",S0104:"The escape sequence \\u must be followed by 4 hex digits",S0105:"Quoted property name must be terminated with a backquote (`)",S0106:"Comment has no closing tag",S0201:"Syntax error: {{token}}",S0202:"Expected {{value}}, got {{token}}",S0203:"Expected {{value}} before end of expression",S0204:"Unknown operator: {{token}}",S0205:"Unexpected token: {{token}}",S0206:"Unknown expression type: {{token}}",S0207:"Unexpected end of expression",S0208:"Parameter {{value}} of function definition must be a variable name (start with $)",S0209:"A predicate cannot follow a grouping expression in a step",S0210:"Each step can only have one grouping expression",S0211:"The symbol {{token}} cannot be used as a unary operator",S0212:"The left side of := must be a variable name (start with $)",S0213:"The literal value {{value}} cannot be used as a step within a path expression",S0214:"The right side of {{token}} must be a variable name (start with $)",S0215:"A context variable binding must precede any predicates on a step",S0216:"A context variable binding must precede the 'order-by' clause on a step",S0217:"The object representing the 'parent' cannot be derived from this expression",S0301:"Empty regular expressions are not allowed",S0302:"No terminating / in regular expression",S0402:"Choice groups containing parameterized types are not supported",S0401:"Type parameters can only be applied to functions and arrays",S0500:"Attempted to evaluate an expression containing syntax error(s)",T0410:"Argument {{index}} of function {{token}} does not match function signature",T0411:"Context value is not a compatible type with argument {{index}} of function {{token}}",T0412:"Argument {{index}} of function {{token}} must be an array of {{type}}",D1001:"Number out of range: {{value}}",D1002:"Cannot negate a non-numeric value: {{value}}",T1003:"Key in object structure must evaluate to a string; got: {{value}}",D1004:"Regular expression matches zero length string",T1005:"Attempted to invoke a non-function. Did you mean ${{{token}}}?",T1006:"Attempted to invoke a non-function",T1007:"Attempted to partially apply a non-function. Did you mean ${{{token}}}?",T1008:"Attempted to partially apply a non-function",D1009:"Multiple key definitions evaluate to same key: {{value}}",T1010:"The matcher function argument passed to function {{token}} does not return the correct object structure",T2001:"The left side of the {{token}} operator must evaluate to a number",T2002:"The right side of the {{token}} operator must evaluate to a number",T2003:"The left side of the range operator (..) must evaluate to an integer",T2004:"The right side of the range operator (..) must evaluate to an integer",D2005:"The left side of := must be a variable name (start with $)",T2006:"The right side of the function application operator ~> must be a function",T2007:"Type mismatch when comparing values {{value}} and {{value2}} in order-by clause",T2008:"The expressions within an order-by clause must evaluate to numeric or string values",T2009:"The values {{value}} and {{value2}} either side of operator {{token}} must be of the same data type",T2010:"The expressions either side of operator {{token}} must evaluate to numeric or string values",T2011:"The insert/update clause of the transform expression must evaluate to an object: {{value}}",T2012:"The delete clause of the transform expression must evaluate to a string or array of strings: {{value}}",T2013:"The transform expression clones the input object using the $clone() function. This has been overridden in the current scope by a non-function.",D2014:"The size of the sequence allocated by the range operator (..) must not exceed 1e6. Attempted to allocate {{value}}.",D3001:"Attempting to invoke string function on Infinity or NaN",D3010:"Second argument of replace function cannot be an empty string",D3011:"Fourth argument of replace function must evaluate to a positive number",D3012:"Attempted to replace a matched string with a non-string value",D3020:"Third argument of split function must evaluate to a positive number",D3030:"Unable to cast value to a number: {{value}}",D3040:"Third argument of match function must evaluate to a positive number",D3050:"The second argument of reduce function must be a function with at least two arguments",D3060:"The sqrt function cannot be applied to a negative number: {{value}}",D3061:"The power function has resulted in a value that cannot be represented as a JSON number: base={{value}}, exponent={{exp}}",D3070:"The single argument form of the sort function can only be applied to an array of strings or an array of numbers. Use the second argument to specify a comparison function",D3080:"The picture string must only contain a maximum of two sub-pictures",D3081:"The sub-picture must not contain more than one instance of the 'decimal-separator' character",D3082:"The sub-picture must not contain more than one instance of the 'percent' character",D3083:"The sub-picture must not contain more than one instance of the 'per-mille' character",D3084:"The sub-picture must not contain both a 'percent' and a 'per-mille' character",D3085:"The mantissa part of a sub-picture must contain at least one character that is either an 'optional digit character' or a member of the 'decimal digit family'",D3086:"The sub-picture must not contain a passive character that is preceded by an active character and that is followed by another active character",D3087:"The sub-picture must not contain a 'grouping-separator' character that appears adjacent to a 'decimal-separator' character",D3088:"The sub-picture must not contain a 'grouping-separator' at the end of the integer part",D3089:"The sub-picture must not contain two adjacent instances of the 'grouping-separator' character",D3090:"The integer part of the sub-picture must not contain a member of the 'decimal digit family' that is followed by an instance of the 'optional digit character'",D3091:"The fractional part of the sub-picture must not contain an instance of the 'optional digit character' that is followed by a member of the 'decimal digit family'",D3092:"A sub-picture that contains a 'percent' or 'per-mille' character must not contain a character treated as an 'exponent-separator'",D3093:"The exponent part of the sub-picture must comprise only of one or more characters that are members of the 'decimal digit family'",D3100:"The radix of the formatBase function must be between 2 and 36. It was given {{value}}",D3110:"The argument of the toMillis function must be an ISO 8601 formatted timestamp. Given {{value}}",D3120:"Syntax error in expression passed to function eval: {{value}}",D3121:"Dynamic error evaluating the expression passed to function eval: {{value}}",D3130:"Formatting or parsing an integer as a sequence starting with {{value}} is not supported by this implementation",D3131:"In a decimal digit pattern, all digits must be from the same decimal group",D3132:"Unknown component specifier {{value}} in date/time picture string",D3133:"The 'name' modifier can only be applied to months and days in the date/time picture string, not {{value}}",D3134:"The timezone integer format specifier cannot have more than four digits",D3135:"No matching closing bracket ']' in date/time picture string",D3136:"The date/time picture string is missing specifiers required to parse the timestamp",D3137:"{{{message}}}",D3138:"The $single() function expected exactly 1 matching result. Instead it matched more.",D3139:"The $single() function expected exactly 1 matching result. Instead it matched 0.",D3140:"Malformed URL passed to ${{{functionName}}}(): {{value}}",D3141:"{{{message}}}"};function F(e){var t=P[e.code];if(void 0!==t){var n=t.replace(/\{\{\{([^}]+)}}}/g,(function(){return e[arguments[1]]}));n=n.replace(/\{\{([^}]+)}}/g,(function(){return JSON.stringify(e[arguments[1]])})),e.message=n}}function R(e,t){var n,o;try{n=a(e,t&&t.recover),o=n.errors,delete n.errors}catch(e){throw F(e),e}var r=O(g),s=new Date;return r.bind("now",B((function(e,t){return i.fromMillis(s.getTime(),e,t)}),"<s?s?:s>")),r.bind("millis",B((function(){return s.getTime()}),"<:n>")),{evaluate:function(e,t,i){if(void 0!==o){var a={code:"S0500",position:0};throw F(a),a}var d,u,h;if(void 0!==t)for(var p in d=O(r),t)d.bind(p,t[p]);else d=r;if(d.bind("$",e),s=new Date,d.timestamp=s,Array.isArray(e)&&!c(e)&&((e=l(e)).outerWrapper=!0),"function"==typeof i){d.async=!0;var f=function(e){F(e),i(e,null)},g=function(e){(u=h.next(e)).done?i(null,u.value):u.value.then(g).catch(f)};h=m(n,e,d),(u=h.next()).value.then(g).catch(f)}else try{for(h=m(n,e,d),u=h.next();!u.done;)u=h.next(u.value);return u.value}catch(a){throw F(a),a}},assign:function(e,t){r.bind(e,t)},registerFunction:function(e,t,n){var i=B(t,n);r.bind(e,i)},ast:function(){return n},errors:function(){return o}}}return R.parser=a,R}();t.exports=l},{"./datetime":1,"./functions":2,"./parser":4,"./signature":5,"./utils":6}],4:[function(e,t,n){var i=e("./signature");const o=(()=>{"use strict";var e={".":75,"[":80,"]":0,"{":70,"}":0,"(":80,")":0,",":0,"@":80,"#":80,";":80,":":80,"?":20,"+":50,"-":50,"*":60,"/":60,"%":60,"|":20,"=":40,"<":40,">":40,"^":40,"**":60,"..":20,":=":10,"!=":40,"<=":40,">=":40,"~>":40,and:30,or:25,in:40,"&":50,"!":0,"~":0},t={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},n=function(n){var i=0,o=n.length,r=function(e,t){return{type:e,value:t,position:i}},a=function(s){if(i>=o)return null;for(var l=n.charAt(i);i<o&&" \t\n\r\v".indexOf(l)>-1;)i++,l=n.charAt(i);if("/"===l&&"*"===n.charAt(i+1)){var c=i;for(i+=2,l=n.charAt(i);"*"!==l||"/"!==n.charAt(i+1);)if(l=n.charAt(++i),i>=o)throw{code:"S0106",stack:(new Error).stack,position:c};return i+=2,l=n.charAt(i),a(s)}if(!0!==s&&"/"===l)return i++,r("regex",function(){for(var e,t,r=i,a=0;i<o;){var s=n.charAt(i);if("/"===s&&"\\"!==n.charAt(i-1)&&0===a){if(""===(e=n.substring(r,i)))throw{code:"S0301",stack:(new Error).stack,position:i};for(i++,s=n.charAt(i),r=i;"i"===s||"m"===s;)i++,s=n.charAt(i);return t=n.substring(r,i)+"g",new RegExp(e,t)}"("!==s&&"["!==s&&"{"!==s||"\\"===n.charAt(i-1)||a++,")"!==s&&"]"!==s&&"}"!==s||"\\"===n.charAt(i-1)||a--,i++}throw{code:"S0302",stack:(new Error).stack,position:i}}());if("."===l&&"."===n.charAt(i+1))return i+=2,r("operator","..");if(":"===l&&"="===n.charAt(i+1))return i+=2,r("operator",":=");if("!"===l&&"="===n.charAt(i+1))return i+=2,r("operator","!=");if(">"===l&&"="===n.charAt(i+1))return i+=2,r("operator",">=");if("<"===l&&"="===n.charAt(i+1))return i+=2,r("operator","<=");if("*"===l&&"*"===n.charAt(i+1))return i+=2,r("operator","**");if("~"===l&&">"===n.charAt(i+1))return i+=2,r("operator","~>");if(Object.prototype.hasOwnProperty.call(e,l))return i++,r("operator",l);if('"'===l||"'"===l){var d=l;i++;for(var u="";i<o;){if("\\"===(l=n.charAt(i)))if(i++,l=n.charAt(i),Object.prototype.hasOwnProperty.call(t,l))u+=t[l];else{if("u"!==l)throw{code:"S0103",stack:(new Error).stack,position:i,token:l};var h=n.substr(i+1,4);if(!/^[0-9a-fA-F]+$/.test(h))throw{code:"S0104",stack:(new Error).stack,position:i};var p=parseInt(h,16);u+=String.fromCharCode(p),i+=4}else{if(l===d)return i++,r("string",u);u+=l}i++}throw{code:"S0101",stack:(new Error).stack,position:i}}var f,g=/^-?(0|([1-9][0-9]*))(\.[0-9]+)?([Ee][-+]?[0-9]+)?/.exec(n.substring(i));if(null!==g){var m=parseFloat(g[0]);if(!isNaN(m)&&isFinite(m))return i+=g[0].length,r("number",m);throw{code:"S0102",stack:(new Error).stack,position:i,token:g[0]}}if("`"===l){i++;var v=n.indexOf("`",i);if(-1!==v)return f=n.substring(i,v),i=v+1,r("name",f);throw i=o,{code:"S0105",stack:(new Error).stack,position:i}}for(var b,_=i;;)if(b=n.charAt(_),_===o||" \t\n\r\v".indexOf(b)>-1||Object.prototype.hasOwnProperty.call(e,b)){if("$"===n.charAt(i))return f=n.substring(i+1,_),i=_,r("variable",f);switch(f=n.substring(i,_),i=_,f){case"or":case"in":case"and":return r("operator",f);case"true":return r("value",!0);case"false":return r("value",!1);case"null":return r("value",null);default:return i===o&&""===f?null:r("name",f)}}else _++};return a};return function(t,o){var r,a,s={},l=[],c=function(){var e=[];"(end)"!==r.id&&e.push({type:r.type,value:r.value,position:r.position});for(var t=a();null!==t;)e.push(t),t=a();return e},d={nud:function(){var e={code:"S0211",token:this.value,position:this.position};if(o)return e.remaining=c(),e.type="error",l.push(e),e;throw e.stack=(new Error).stack,e}},u=function(e,t){var n=s[e];return t=t||0,n?t>=n.lbp&&(n.lbp=t):((n=Object.create(d)).id=n.value=e,n.lbp=t,s[e]=n),n},h=function(e){if(o){e.remaining=c(),l.push(e);var t=s["(error)"];return(r=Object.create(t)).error=e,r.type="(error)",r}throw e.stack=(new Error).stack,e},p=function(e,n){if(e&&r.id!==e){var i={code:"(end)"===r.id?"S0203":"S0202",position:r.position,token:r.value,value:e};return h(i)}var o=a(n);if(null===o)return(r=s["(end)"]).position=t.length,r;var l,c=o.value,d=o.type;switch(d){case"name":case"variable":l=s["(name)"];break;case"operator":if(!(l=s[c]))return h({code:"S0204",stack:(new Error).stack,position:o.position,token:c});break;case"string":case"number":case"value":l=s["(literal)"];break;case"regex":d="regex",l=s["(regex)"];break;default:return h({code:"S0205",stack:(new Error).stack,position:o.position,token:c})}return(r=Object.create(l)).value=c,r.type=d,r.position=o.position,r},f=function(e){var t,n=r;for(p(null,!0),t=n.nud();e<r.lbp;)n=r,p(),t=n.led(t);return t},g=function(e){u(e,0).nud=function(){return this}},m=function(t,n,i){var o=n||e[t],r=u(t,o);return r.led=i||function(e){return this.lhs=e,this.rhs=f(o),this.type="binary",this},r},v=function(e,t,n){var i=u(e,t);return i.led=n,i},b=function(e,t){var n=u(e);return n.nud=t||function(){return this.expression=f(70),this.type="unary",this},n};g("(end)"),g("(name)"),g("(literal)"),g("(regex)"),u(":"),u(";"),u(","),u(")"),u("]"),u("}"),u(".."),m("."),m("+"),m("-"),m("*"),m("/"),m("%"),m("="),m("<"),m(">"),m("!="),m("<="),m(">="),m("&"),m("and"),m("or"),m("in"),g("and"),g("or"),g("in"),b("-"),m("~>"),v("(error)",10,(function(e){return this.lhs=e,this.error=r.error,this.remaining=c(),this.type="error",this})),b("*",(function(){return this.type="wildcard",this})),b("**",(function(){return this.type="descendant",this})),b("%",(function(){return this.type="parent",this})),m("(",e["("],(function(e){if(this.procedure=e,this.type="function",this.arguments=[],")"!==r.id)for(;"operator"===r.type&&"?"===r.id?(this.type="partial",this.arguments.push(r),p("?")):this.arguments.push(f(0)),","===r.id;)p(",");if(p(")",!0),"name"===e.type&&("function"===e.value||"ฮป"===e.value)){if(this.arguments.forEach((function(e,t){if("variable"!==e.type)return h({code:"S0208",stack:(new Error).stack,position:e.position,token:e.value,value:t+1})})),this.type="lambda","<"===r.id){for(var t=r.position,n=1,o="<";n>0&&"{"!==r.id&&"(end)"!==r.id;){var a=p();">"===a.id?n--:"<"===a.id&&n++,o+=a.value}p(">");try{this.signature=i(o)}catch(e){return e.position=t+e.offset,h(e)}}p("{"),this.body=f(0),p("}")}return this})),b("(",(function(){for(var e=[];")"!==r.id&&(e.push(f(0)),";"===r.id);)p(";");return p(")",!0),this.type="block",this.expressions=e,this})),b("[",(function(){var e=[];if("]"!==r.id)for(;;){var t=f(0);if(".."===r.id){var n={type:"binary",value:"..",position:r.position,lhs:t};p(".."),n.rhs=f(0),t=n}if(e.push(t),","!==r.id)break;p(",")}return p("]",!0),this.expressions=e,this.type="unary",this})),m("[",e["["],(function(t){if("]"===r.id){for(var n=t;n&&"binary"===n.type&&"["===n.value;)n=n.lhs;return n.keepArray=!0,p("]"),t}return this.lhs=t,this.rhs=f(e["]"]),this.type="binary",p("]",!0),this})),m("^",e["^"],(function(e){p("(");for(var t=[];;){var n={descending:!1};if("<"===r.id?p("<"):">"===r.id&&(n.descending=!0,p(">")),n.expression=f(0),t.push(n),","!==r.id)break;p(",")}return p(")"),this.lhs=e,this.rhs=t,this.type="binary",this}));var _=function(e){var t=[];if("}"!==r.id)for(;;){var n=f(0);p(":");var i=f(0);if(t.push([n,i]),","!==r.id)break;p(",")}return p("}",!0),void 0===e?(this.lhs=t,this.type="unary"):(this.lhs=e,this.rhs=t,this.type="binary"),this};b("{",_),m("{",e["{"],_),v(":=",e[":="],(function(t){return"variable"!==t.type?h({code:"S0212",stack:(new Error).stack,position:t.position,token:t.value}):(this.lhs=t,this.rhs=f(e[":="]-1),this.type="binary",this)})),m("@",e["@"],(function(t){return this.lhs=t,this.rhs=f(e["@"]),"variable"!==this.rhs.type?h({code:"S0214",stack:(new Error).stack,position:this.rhs.position,token:"@"}):(this.type="binary",this)})),m("#",e["#"],(function(t){return this.lhs=t,this.rhs=f(e["#"]),"variable"!==this.rhs.type?h({code:"S0214",stack:(new Error).stack,position:this.rhs.position,token:"#"}):(this.type="binary",this)})),m("?",e["?"],(function(e){return this.type="condition",this.condition=e,this.then=f(0),":"===r.id&&(p(":"),this.else=f(0)),this})),b("|",(function(){return this.type="transform",this.pattern=f(0),p("|"),this.update=f(0),","===r.id&&(p(","),this.delete=f(0)),p("|"),this}));var y=function(e){var t;if("function"!==e.type||e.predicate)if("condition"===e.type)e.then=y(e.then),void 0!==e.else&&(e.else=y(e.else)),t=e;else if("block"===e.type){var n=e.expressions.length;n>0&&(e.expressions[n-1]=y(e.expressions[n-1])),t=e}else t=e;else{var i={type:"lambda",thunk:!0,arguments:[],position:e.position};i.body=e,t=i}return t},A=0,w=0,C=[],x=function(e,t){switch(e.type){case"name":case"wildcard":t.level--,0===t.level&&(void 0===e.ancestor||(C[t.index].slot.label=e.ancestor.label),e.ancestor=t,e.tuple=!0);break;case"parent":t.level++;break;case"block":e.expressions.length>0&&(e.tuple=!0,t=x(e.expressions[e.expressions.length-1],t));break;case"path":e.tuple=!0;var n=e.steps.length-1;for(t=x(e.steps[n--],t);t.level>0&&n>=0;)t=x(e.steps[n--],t);break;default:throw{code:"S0217",token:e.type,position:e.position}}return t},S=function(e,t){if(void 0!==t.seekingParent||"parent"===t.type){var n=void 0!==t.seekingParent?t.seekingParent:[];"parent"===t.type&&n.push(t.slot),void 0===e.seekingParent?e.seekingParent=n:Array.prototype.push.apply(e.seekingParent,n)}},E=function(e){var t=e.steps.length-1,n=e.steps[t],i=void 0!==n.seekingParent?n.seekingParent:[];"parent"===n.type&&i.push(n.slot);for(var o=0;o<i.length;o++){var r=i[o];for(t=e.steps.length-2;r.level>0;){if(t<0){void 0===e.seekingParent?e.seekingParent=[r]:e.seekingParent.push(r);break}for(var a=e.steps[t--];t>=0&&a.focus&&e.steps[t].focus;)a=e.steps[t--];r=x(a,r)}}},k=function(e){var t;switch(e.type){case"binary":switch(e.value){case".":var n=k(e.lhs);t="path"===n.type?n:{type:"path",steps:[n]},"parent"===n.type&&(t.seekingParent=[n.slot]);var i=k(e.rhs);"function"===i.type&&"path"===i.procedure.type&&1===i.procedure.steps.length&&"name"===i.procedure.steps[0].type&&"function"===t.steps[t.steps.length-1].type&&(t.steps[t.steps.length-1].nextFunction=i.procedure.steps[0].value),"path"===i.type?Array.prototype.push.apply(t.steps,i.steps):(void 0!==i.predicate&&(i.stages=i.predicate,delete i.predicate),t.steps.push(i)),t.steps.filter((function(e){if("number"===e.type||"value"===e.type)throw{code:"S0213",stack:(new Error).stack,position:e.position,value:e.value};return"string"===e.type})).forEach((function(e){e.type="name"})),t.steps.filter((function(e){return!0===e.keepArray})).length>0&&(t.keepSingletonArray=!0);var r=t.steps[0];"unary"===r.type&&"["===r.value&&(r.consarray=!0);var a=t.steps[t.steps.length-1];"unary"===a.type&&"["===a.value&&(a.consarray=!0),E(t);break;case"[":var s=t=k(e.lhs),c="predicate";if("path"===t.type&&(s=t.steps[t.steps.length-1],c="stages"),void 0!==s.group)throw{code:"S0209",stack:(new Error).stack,position:e.position};void 0===s[c]&&(s[c]=[]);var d=k(e.rhs);void 0!==d.seekingParent&&(d.seekingParent.forEach((e=>{1===e.level?x(s,e):e.level--})),S(s,d)),s[c].push({type:"filter",expr:d,position:e.position});break;case"{":if(void 0!==(t=k(e.lhs)).group)throw{code:"S0210",stack:(new Error).stack,position:e.position};t.group={lhs:e.rhs.map((function(e){return[k(e[0]),k(e[1])]})),position:e.position};break;case"^":"path"!==(t=k(e.lhs)).type&&(t={type:"path",steps:[t]});var u={type:"sort",position:e.position};u.terms=e.rhs.map((function(e){var t=k(e.expression);return S(u,t),{descending:e.descending,expression:t}})),t.steps.push(u),E(t);break;case":=":(t={type:"bind",value:e.value,position:e.position}).lhs=k(e.lhs),t.rhs=k(e.rhs),S(t,t.rhs);break;case"@":if(t=k(e.lhs),s=t,"path"===t.type&&(s=t.steps[t.steps.length-1]),void 0!==s.stages||void 0!==s.predicate)throw{code:"S0215",stack:(new Error).stack,position:e.position};if("sort"===s.type)throw{code:"S0216",stack:(new Error).stack,position:e.position};e.keepArray&&(s.keepArray=!0),s.focus=e.rhs.value,s.tuple=!0;break;case"#":t=k(e.lhs),s=t,"path"===t.type?s=t.steps[t.steps.length-1]:(t={type:"path",steps:[t]},void 0!==s.predicate&&(s.stages=s.predicate,delete s.predicate)),void 0===s.stages?s.index=e.rhs.value:s.stages.push({type:"index",value:e.rhs.value,position:e.position}),s.tuple=!0;break;case"~>":(t={type:"apply",value:e.value,position:e.position}).lhs=k(e.lhs),t.rhs=k(e.rhs);break;default:(t={type:e.type,value:e.value,position:e.position}).lhs=k(e.lhs),t.rhs=k(e.rhs),S(t,t.lhs),S(t,t.rhs)}break;case"unary":t={type:e.type,value:e.value,position:e.position},"["===e.value?t.expressions=e.expressions.map((function(e){var n=k(e);return S(t,n),n})):"{"===e.value?t.lhs=e.lhs.map((function(e){var n=k(e[0]);S(t,n);var i=k(e[1]);return S(t,i),[n,i]})):(t.expression=k(e.expression),"-"===e.value&&"number"===t.expression.type?(t=t.expression).value=-t.value:S(t,t.expression));break;case"function":case"partial":(t={type:e.type,name:e.name,value:e.value,position:e.position}).arguments=e.arguments.map((function(e){var n=k(e);return S(t,n),n})),t.procedure=k(e.procedure);break;case"lambda":t={type:e.type,arguments:e.arguments,signature:e.signature,position:e.position};var h=k(e.body);t.body=y(h);break;case"condition":(t={type:e.type,position:e.position}).condition=k(e.condition),S(t,t.condition),t.then=k(e.then),S(t,t.then),void 0!==e.else&&(t.else=k(e.else),S(t,t.else));break;case"transform":(t={type:e.type,position:e.position}).pattern=k(e.pattern),t.update=k(e.update),void 0!==e.delete&&(t.delete=k(e.delete));break;case"block":(t={type:e.type,position:e.position}).expressions=e.expressions.map((function(e){var n=k(e);return S(t,n),(n.consarray||"path"===n.type&&n.steps[0].consarray)&&(t.consarray=!0),n}));break;case"name":t={type:"path",steps:[e]},e.keepArray&&(t.keepSingletonArray=!0);break;case"parent":t={type:"parent",slot:{label:"!"+A++,level:1,index:w++}},C.push(t);break;case"string":case"number":case"value":case"wildcard":case"descendant":case"variable":case"regex":t=e;break;case"operator":if("and"===e.value||"or"===e.value||"in"===e.value)e.type="name",t=k(e);else{if("?"!==e.value)throw{code:"S0201",stack:(new Error).stack,position:e.position,token:e.value};t=e}break;case"error":t=e,e.lhs&&(t=k(e.lhs));break;default:var p="S0206";"(end)"===e.id&&(p="S0207");var f={code:p,position:e.position,token:e.value};if(o)return l.push(f),{type:"error",error:f};throw f.stack=(new Error).stack,f}return e.keepArray&&(t.keepArray=!0),t};a=n(t),p();var M=f(0);if("(end)"!==r.id){var D={code:"S0201",position:r.position,token:r.value};h(D)}if("parent"===(M=k(M)).type||void 0!==M.seekingParent)throw{code:"S0217",token:M.type,position:M.position};return l.length>0&&(M.errors=l),M}})();t.exports=o},{"./signature":5}],5:[function(e,t,n){var i=e("./utils");const o=(()=>{"use strict";var e={a:"arrays",b:"booleans",f:"functions",n:"numbers",o:"objects",s:"strings"};return function(t){for(var n=1,o=[],r={},a=r;n<t.length;){var s=t.charAt(n);if(":"===s)break;var l=function(){o.push(r),a=r,r={}},c=function(e,t,n,i){for(var o=1,r=t;r<e.length;)if(r++,(s=e.charAt(r))===i){if(0==--o)break}else s===n&&o++;return r};switch(s){case"s":case"n":case"b":case"l":case"o":r.regex="["+s+"m]",r.type=s,l();break;case"a":r.regex="[asnblfom]",r.type=s,r.array=!0,l();break;case"f":r.regex="f",r.type=s,l();break;case"j":r.regex="[asnblom]",r.type=s,l();break;case"x":r.regex="[asnblfom]",r.type=s,l();break;case"-":a.context=!0,a.contextRegex=new RegExp(a.regex),a.regex+="?";break;case"?":case"+":a.regex+=s;break;case"(":var d=c(t,n,"(",")"),u=t.substring(n+1,d);if(-1!==u.indexOf("<"))throw{code:"S0402",stack:(new Error).stack,value:u,offset:n};r.regex="["+u+"m]",r.type="("+u+")",n=d,l();break;case"<":if("a"!==a.type&&"f"!==a.type)throw{code:"S0401",stack:(new Error).stack,value:a.type,offset:n};var h=c(t,n,"<",">");a.subtype=t.substring(n+1,h),n=h}n++}var p="^"+o.map((function(e){return"("+e.regex+")"})).join("")+"$",f=new RegExp(p),g=function(e){var t;if(i.isFunction(e))t="f";else switch(typeof e){case"string":t="s";break;case"number":t="n";break;case"boolean":t="b";break;case"object":t=null===e?"l":Array.isArray(e)?"a":"o";break;default:t="m"}return t};return{definition:t,validate:function(t,n){var i="";t.forEach((function(e){i+=g(e)}));var r=f.exec(i);if(r){var a=[],s=0;return o.forEach((function(i,o){var l=t[s],c=r[o+1];if(""===c)if(i.context&&i.contextRegex){var d=g(n);if(!i.contextRegex.test(d))throw{code:"T0411",stack:(new Error).stack,value:n,index:s+1};a.push(n)}else a.push(l),s++;else c.split("").forEach((function(n){if("a"===i.type){if("m"===n)l=void 0;else{l=t[s];var o=!0;if(void 0!==i.subtype)if("a"!==n&&c!==i.subtype)o=!1;else if("a"===n&&l.length>0){var r=g(l[0]);o=r===i.subtype.charAt(0)&&0===l.filter((function(e){return g(e)!==r})).length}if(!o)throw{code:"T0412",stack:(new Error).stack,value:l,index:s+1,type:e[i.subtype]};"a"!==n&&(l=[l])}a.push(l),s++}else a.push(l),s++}))})),a}!function(e,t){for(var n="^",i=0,r=0;r<o.length;r++){n+=o[r].regex;var a=t.match(n);if(null===a)throw{code:"T0410",stack:(new Error).stack,value:e[i],index:i+1};i=a[0].length}throw{code:"T0410",stack:(new Error).stack,value:e[i],index:i+1}}(t,i)}}}})();t.exports=o},{"./utils":6}],6:[function(e,t,n){const i=(()=>{"use strict";function e(e){var t=!1;if("number"==typeof e&&(t=!isNaN(e))&&!isFinite(e))throw{code:"D1001",value:e,stack:(new Error).stack};return t}var t=("function"==typeof Symbol?Symbol:{}).iterator||"@@iterator";return{isNumeric:e,isArrayOfStrings:function(e){var t=!1;return Array.isArray(e)&&(t=0===e.filter((function(e){return"string"!=typeof e})).length),t},isArrayOfNumbers:function(t){var n=!1;return Array.isArray(t)&&(n=0===t.filter((function(t){return!e(t)})).length),n},createSequence:function(){var e=[];return e.sequence=!0,1===arguments.length&&e.push(arguments[0]),e},isSequence:function(e){return!0===e.sequence&&Array.isArray(e)},isFunction:function(e){return e&&(!0===e._jsonata_function||!0===e._jsonata_lambda)||"function"==typeof e},isLambda:function(e){return e&&!0===e._jsonata_lambda},isIterable:function(e){return"object"==typeof e&&null!==e&&t in e&&"next"in e&&"function"==typeof e.next},getFunctionArity:function(e){return"number"==typeof e.arity?e.arity:"function"==typeof e.implementation?e.implementation.length:"number"==typeof e.length?e.length:e.arguments.length},isDeepEqual:function e(t,n){if(t===n)return!0;if("object"==typeof t&&"object"==typeof n&&null!==t&&null!==n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(var i=0;i<t.length;i++)if(!e(t[i],n[i]))return!1;return!0}var o=Object.getOwnPropertyNames(t),r=Object.getOwnPropertyNames(n);if(o.length!==r.length)return!1;for(o=o.sort(),r=r.sort(),i=0;i<o.length;i++)if(o[i]!==r[i])return!1;for(i=0;i<o.length;i++){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return!1},stringToArray:function(e){var t=[];for(let n of e)t.push(n);return t}}})();t.exports=i},{}]},{},[3])(3)},94466:(e,t,n)=>{var i=n(65234)(n(83250),"DataView");e.exports=i},85208:(e,t,n)=>{var i=n(34440),o=n(84108),r=n(61085),a=n(77706),s=n(8636);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},55402:(e,t,n)=>{var i=n(57890),o=n(67476);function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}r.prototype=i(o.prototype),r.prototype.constructor=r,e.exports=r},81998:(e,t,n)=>{var i=n(90266),o=n(42875),r=n(43631),a=n(24115),s=n(67690);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},95314:(e,t,n)=>{var i=n(57890),o=n(67476);function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}r.prototype=i(o.prototype),r.prototype.constructor=r,e.exports=r},72887:(e,t,n)=>{var i=n(65234)(n(83250),"Map");e.exports=i},95678:(e,t,n)=>{var i=n(39016),o=n(60790),r=n(64348),a=n(53062),s=n(30262);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},95747:(e,t,n)=>{var i=n(65234)(n(83250),"Promise");e.exports=i},56616:(e,t,n)=>{var i=n(65234)(n(83250),"Set");e.exports=i},84546:(e,t,n)=>{var i=n(95678),o=n(83937),r=n(15009);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=r,e.exports=a},19549:(e,t,n)=>{var i=n(81998),o=n(93210),r=n(48603),a=n(38947),s=n(70885),l=n(98938);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=r,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},70861:(e,t,n)=>{var i=n(83250).Symbol;e.exports=i},3526:(e,t,n)=>{var i=n(83250).Uint8Array;e.exports=i},98001:(e,t,n)=>{var i=n(65234)(n(83250),"WeakMap");e.exports=i},82274:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},8660:e=>{e.exports=function(e,t,n,i){for(var o=-1,r=null==e?0:e.length;++o<r;){var a=e[o];t(i,a,n(a),e)}return i}},84004:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}},82493:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,o=0,r=[];++n<i;){var a=e[n];t(a,n,e)&&(r[o++]=a)}return r}},45436:(e,t,n)=>{var i=n(94365);e.exports=function(e,t){return!(null==e||!e.length)&&i(e,t,0)>-1}},99105:e=>{e.exports=function(e,t,n){for(var i=-1,o=null==e?0:e.length;++i<o;)if(n(t,e[i]))return!0;return!1}},75825:(e,t,n)=>{var i=n(18509),o=n(79312),r=n(55589),a=n(85778),s=n(5023),l=n(50922),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),d=!n&&o(e),u=!n&&!d&&a(e),h=!n&&!d&&!u&&l(e),p=n||d||u||h,f=p?i(e.length,String):[],g=f.length;for(var m in e)!t&&!c.call(e,m)||p&&("length"==m||u&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||f.push(m);return f}},29233:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,o=Array(i);++n<i;)o[n]=t(e[n],n,e);return o}},10111:e=>{e.exports=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e}},1831:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},73532:(e,t,n)=>{var i=n(87500),o=n(58260);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}},93192:(e,t,n)=>{var i=n(87500),o=n(58260),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];r.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||i(e,t,n)}},18498:(e,t,n)=>{var i=n(58260);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},3792:(e,t,n)=>{var i=n(61701);e.exports=function(e,t,n,o){return i(e,(function(e,i,r){t(o,e,n(e),r)})),o}},44265:(e,t,n)=>{var i=n(78618),o=n(62096);e.exports=function(e,t){return e&&i(t,o(t),e)}},31629:(e,t,n)=>{var i=n(78618),o=n(9882);e.exports=function(e,t){return e&&i(t,o(t),e)}},87500:(e,t,n)=>{var i=n(25595);e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},18361:(e,t,n)=>{var i=n(19549),o=n(84004),r=n(93192),a=n(44265),s=n(31629),l=n(46502),c=n(32166),d=n(67272),u=n(52066),h=n(54357),p=n(55713),f=n(87493),g=n(82865),m=n(11908),v=n(84046),b=n(55589),_=n(85778),y=n(37613),A=n(93702),w=n(60693),C=n(62096),x=n(9882),S="[object Arguments]",E="[object Function]",k="[object Object]",M={};M[S]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[k]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[E]=M["[object WeakMap]"]=!1,e.exports=function e(t,n,D,N,I,T){var L,B=1&n,O=2&n,P=4&n;if(D&&(L=I?D(t,N,I,T):D(t)),void 0!==L)return L;if(!A(t))return t;var F=b(t);if(F){if(L=g(t),!B)return c(t,L)}else{var R=f(t),j=R==E||"[object GeneratorFunction]"==R;if(_(t))return l(t,B);if(R==k||R==S||j&&!I){if(L=O||j?{}:v(t),!B)return O?u(t,s(L,t)):d(t,a(L,t))}else{if(!M[R])return I?t:{};L=m(t,R,B)}}T||(T=new i);var z=T.get(t);if(z)return z;T.set(t,L),w(t)?t.forEach((function(i){L.add(e(i,n,D,i,t,T))})):y(t)&&t.forEach((function(i,o){L.set(o,e(i,n,D,o,t,T))}));var V=F?void 0:(P?O?p:h:O?x:C)(t);return o(V||t,(function(i,o){V&&(i=t[o=i]),r(L,o,e(i,n,D,o,t,T))})),L}},57890:(e,t,n)=>{var i=n(93702),o=Object.create,r=function(){function e(){}return function(t){if(!i(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=r},83399:e=>{e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}},13700:(e,t,n)=>{var i=n(84546),o=n(45436),r=n(99105),a=n(29233),s=n(31525),l=n(77026);e.exports=function(e,t,n,c){var d=-1,u=o,h=!0,p=e.length,f=[],g=t.length;if(!p)return f;n&&(t=a(t,s(n))),c?(u=r,h=!1):t.length>=200&&(u=l,h=!1,t=new i(t));e:for(;++d<p;){var m=e[d],v=null==n?m:n(m);if(m=c||0!==m?m:0,h&&v==v){for(var b=g;b--;)if(t[b]===v)continue e;f.push(m)}else u(t,v,c)||f.push(m)}return f}},61701:(e,t,n)=>{var i=n(44003),o=n(96313)(i);e.exports=o},44770:e=>{e.exports=function(e,t,n,i){for(var o=e.length,r=n+(i?1:-1);i?r--:++r<o;)if(t(e[r],r,e))return r;return-1}},22825:(e,t,n)=>{var i=n(10111),o=n(67123);e.exports=function e(t,n,r,a,s){var l=-1,c=t.length;for(r||(r=o),s||(s=[]);++l<c;){var d=t[l];n>0&&r(d)?n>1?e(d,n-1,r,a,s):i(s,d):a||(s[s.length]=d)}return s}},39943:(e,t,n)=>{var i=n(72545)();e.exports=i},44003:(e,t,n)=>{var i=n(39943),o=n(62096);e.exports=function(e,t){return e&&i(e,t,o)}},40548:(e,t,n)=>{var i=n(24007),o=n(86040);e.exports=function(e,t){for(var n=0,r=(t=i(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},4468:(e,t,n)=>{var i=n(10111),o=n(55589);e.exports=function(e,t,n){var r=t(e);return o(e)?r:i(r,n(e))}},69823:(e,t,n)=>{var i=n(70861),o=n(91339),r=n(25151),a=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):r(e)}},62902:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},94365:(e,t,n)=>{var i=n(44770),o=n(56963),r=n(45898);e.exports=function(e,t,n){return t==t?r(e,t,n):i(e,o,n)}},33625:(e,t,n)=>{var i=n(44003);e.exports=function(e,t,n,o){return i(e,(function(e,i,r){t(o,n(e),i,r)})),o}},33016:(e,t,n)=>{var i=n(69823),o=n(50440);e.exports=function(e){return o(e)&&"[object Arguments]"==i(e)}},71808:(e,t,n)=>{var i=n(69823),o=n(50440);e.exports=function(e){return o(e)&&"[object Date]"==i(e)}},34662:(e,t,n)=>{var i=n(88968),o=n(50440);e.exports=function e(t,n,r,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:i(t,n,r,a,e,s))}},88968:(e,t,n)=>{var i=n(19549),o=n(14952),r=n(21080),a=n(86524),s=n(87493),l=n(55589),c=n(85778),d=n(50922),u="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,v){var b=l(e),_=l(t),y=b?h:s(e),A=_?h:s(t),w=(y=y==u?p:y)==p,C=(A=A==u?p:A)==p,x=y==A;if(x&&c(e)){if(!c(t))return!1;b=!0,w=!1}if(x&&!w)return v||(v=new i),b||d(e)?o(e,t,n,g,m,v):r(e,t,y,n,g,m,v);if(!(1&n)){var S=w&&f.call(e,"__wrapped__"),E=C&&f.call(t,"__wrapped__");if(S||E){var k=S?e.value():e,M=E?t.value():t;return v||(v=new i),m(k,M,n,g,v)}}return!!x&&(v||(v=new i),a(e,t,n,g,m,v))}},52275:(e,t,n)=>{var i=n(87493),o=n(50440);e.exports=function(e){return o(e)&&"[object Map]"==i(e)}},2972:(e,t,n)=>{var i=n(19549),o=n(34662);e.exports=function(e,t,n,r){var a=n.length,s=a,l=!r;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var d=(c=n[a])[0],u=e[d],h=c[1];if(l&&c[2]){if(void 0===u&&!(d in e))return!1}else{var p=new i;if(r)var f=r(u,h,d,e,t,p);if(!(void 0===f?o(h,u,3,r,p):f))return!1}}return!0}},56963:e=>{e.exports=function(e){return e!=e}},99817:(e,t,n)=>{var i=n(45563),o=n(28597),r=n(93702),a=n(55784),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,d=l.toString,u=c.hasOwnProperty,h=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||o(e))&&(i(e)?h:s).test(a(e))}},58261:(e,t,n)=>{var i=n(69823),o=n(50440);e.exports=function(e){return o(e)&&"[object RegExp]"==i(e)}},7170:(e,t,n)=>{var i=n(87493),o=n(50440);e.exports=function(e){return o(e)&&"[object Set]"==i(e)}},42448:(e,t,n)=>{var i=n(69823),o=n(66052),r=n(50440),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!a[i(e)]}},55833:(e,t,n)=>{var i=n(15640),o=n(9906),r=n(80229),a=n(55589),s=n(94437);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?a(e)?o(e[0],e[1]):i(e):s(e)}},41351:(e,t,n)=>{var i=n(32840),o=n(82825),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return o(e);var t=[];for(var n in Object(e))r.call(e,n)&&"constructor"!=n&&t.push(n);return t}},71309:(e,t,n)=>{var i=n(93702),o=n(32840),r=n(84866),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},67476:e=>{e.exports=function(){}},78068:(e,t,n)=>{var i=n(61701),o=n(30568);e.exports=function(e,t){var n=-1,r=o(e)?Array(e.length):[];return i(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}},15640:(e,t,n)=>{var i=n(2972),o=n(72198),r=n(94656);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},9906:(e,t,n)=>{var i=n(34662),o=n(13546),r=n(56708),a=n(5130),s=n(18802),l=n(94656),c=n(86040);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?r(n,e):i(t,a,3)}}},92133:(e,t,n)=>{var i=n(19549),o=n(73532),r=n(39943),a=n(21241),s=n(93702),l=n(9882),c=n(11933);e.exports=function e(t,n,d,u,h){t!==n&&r(n,(function(r,l){if(h||(h=new i),s(r))a(t,n,l,d,e,u,h);else{var p=u?u(c(t,l),r,l+"",t,n,h):void 0;void 0===p&&(p=r),o(t,l,p)}}),l)}},21241:(e,t,n)=>{var i=n(73532),o=n(46502),r=n(21327),a=n(32166),s=n(84046),l=n(79312),c=n(55589),d=n(18268),u=n(85778),h=n(45563),p=n(93702),f=n(54256),g=n(50922),m=n(11933),v=n(36222);e.exports=function(e,t,n,b,_,y,A){var w=m(e,n),C=m(t,n),x=A.get(C);if(x)i(e,n,x);else{var S=y?y(w,C,n+"",e,t,A):void 0,E=void 0===S;if(E){var k=c(C),M=!k&&u(C),D=!k&&!M&&g(C);S=C,k||M||D?c(w)?S=w:d(w)?S=a(w):M?(E=!1,S=o(C,!0)):D?(E=!1,S=r(C,!0)):S=[]:f(C)||l(C)?(S=w,l(w)?S=v(w):p(w)&&!h(w)||(S=s(C))):E=!1}E&&(A.set(C,S),_(S,C,b,y,A),A.delete(C)),i(e,n,S)}}},54466:(e,t,n)=>{var i=n(29233),o=n(40548),r=n(55833),a=n(78068),s=n(53340),l=n(31525),c=n(20315),d=n(80229),u=n(55589);e.exports=function(e,t,n){t=t.length?i(t,(function(e){return u(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[d];var h=-1;t=i(t,l(r));var p=a(e,(function(e,n,o){return{criteria:i(t,(function(t){return t(e)})),index:++h,value:e}}));return s(p,(function(e,t){return c(e,t,n)}))}},21785:(e,t,n)=>{var i=n(57121),o=n(56708);e.exports=function(e,t){return i(e,t,(function(t,n){return o(e,n)}))}},57121:(e,t,n)=>{var i=n(40548),o=n(32619),r=n(24007);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],d=i(e,c);n(d,c)&&o(l,r(c,e),d)}return l}},86174:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},3293:(e,t,n)=>{var i=n(40548);e.exports=function(e){return function(t){return i(t,e)}}},24930:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,i,o,r){for(var a=-1,s=n(t((i-e)/(o||1)),0),l=Array(s);s--;)l[r?s:++a]=e,e+=o;return l}},29735:(e,t,n)=>{var i=n(80229),o=n(20340),r=n(4173);e.exports=function(e,t){return r(o(e,t,i),e+"")}},32619:(e,t,n)=>{var i=n(93192),o=n(24007),r=n(5023),a=n(93702),s=n(86040);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,d=(t=o(t,e)).length,u=d-1,h=e;null!=h&&++c<d;){var p=s(t[c]),f=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(c!=u){var g=h[p];void 0===(f=l?l(g,p,h):void 0)&&(f=a(g)?g:r(t[c+1])?[]:{})}i(h,p,f),h=h[p]}return e}},46739:(e,t,n)=>{var i=n(89203),o=n(25595),r=n(80229),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:r;e.exports=a},30854:(e,t,n)=>{var i=n(61701);e.exports=function(e,t){var n;return i(e,(function(e,i,o){return!(n=t(e,i,o))})),!!n}},53340:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},37114:(e,t,n)=>{var i=n(58260);e.exports=function(e,t){for(var n=-1,o=e.length,r=0,a=[];++n<o;){var s=e[n],l=t?t(s):s;if(!n||!i(l,c)){var c=l;a[r++]=0===s?0:s}}return a}},23055:e=>{e.exports=function(e,t){for(var n,i=-1,o=e.length;++i<o;){var r=t(e[i]);void 0!==r&&(n=void 0===n?r:n+r)}return n}},18509:e=>{e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},65911:(e,t,n)=>{var i=n(29233);e.exports=function(e,t){return i(t,(function(t){return[t,e[t]]}))}},86245:(e,t,n)=>{var i=n(70861),o=n(29233),r=n(55589),a=n(52624),s=i?i.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},21656:(e,t,n)=>{var i=n(62438),o=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(o,""):e}},31525:e=>{e.exports=function(e){return function(t){return e(t)}}},80135:(e,t,n)=>{var i=n(84546),o=n(45436),r=n(99105),a=n(77026),s=n(86262),l=n(77969);e.exports=function(e,t,n){var c=-1,d=o,u=e.length,h=!0,p=[],f=p;if(n)h=!1,d=r;else if(u>=200){var g=t?null:s(e);if(g)return l(g);h=!1,d=a,f=new i}else f=t?[]:p;e:for(;++c<u;){var m=e[c],v=t?t(m):m;if(m=n||0!==m?m:0,h&&v==v){for(var b=f.length;b--;)if(f[b]===v)continue e;t&&f.push(v),p.push(m)}else d(f,v,n)||(f!==p&&f.push(v),p.push(m))}return p}},20071:(e,t,n)=>{var i=n(29233);e.exports=function(e,t){return i(t,(function(t){return e[t]}))}},77026:e=>{e.exports=function(e,t){return e.has(t)}},84781:(e,t,n)=>{var i=n(80229);e.exports=function(e){return"function"==typeof e?e:i}},24007:(e,t,n)=>{var i=n(55589),o=n(5130),r=n(44041),a=n(99835);e.exports=function(e,t){return i(e)?e:o(e,t)?[e]:r(a(e))}},72962:(e,t,n)=>{var i=n(3526);e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},46502:(e,t,n)=>{e=n.nmd(e);var i=n(83250),o=t&&!t.nodeType&&t,r=o&&e&&!e.nodeType&&e,a=r&&r.exports===o?i.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=s?s(n):new e.constructor(n);return e.copy(i),i}},97037:(e,t,n)=>{var i=n(72962);e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3429:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},99349:(e,t,n)=>{var i=n(70861),o=i?i.prototype:void 0,r=o?o.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},21327:(e,t,n)=>{var i=n(72962);e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},88899:(e,t,n)=>{var i=n(52624);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,r=e==e,a=i(e),s=void 0!==t,l=null===t,c=t==t,d=i(t);if(!l&&!d&&!a&&e>t||a&&s&&c&&!l&&!d||o&&s&&c||!n&&c||!r)return 1;if(!o&&!a&&!d&&e<t||d&&n&&r&&!o&&!a||l&&n&&r||!s&&r||!c)return-1}return 0}},20315:(e,t,n)=>{var i=n(88899);e.exports=function(e,t,n){for(var o=-1,r=e.criteria,a=t.criteria,s=r.length,l=n.length;++o<s;){var c=i(r[o],a[o]);if(c)return o>=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},32166:e=>{e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},78618:(e,t,n)=>{var i=n(93192),o=n(87500);e.exports=function(e,t,n,r){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],d=r?r(n[c],e[c],c,n,e):void 0;void 0===d&&(d=e[c]),a?o(n,c,d):i(n,c,d)}return n}},67272:(e,t,n)=>{var i=n(78618),o=n(44450);e.exports=function(e,t){return i(e,o(e),t)}},52066:(e,t,n)=>{var i=n(78618),o=n(94969);e.exports=function(e,t){return i(e,o(e),t)}},1622:(e,t,n)=>{var i=n(83250)["__core-js_shared__"];e.exports=i},17325:(e,t,n)=>{var i=n(8660),o=n(3792),r=n(55833),a=n(55589);e.exports=function(e,t){return function(n,s){var l=a(n)?i:o,c=t?t():{};return l(n,e,r(s,2),c)}}},66948:(e,t,n)=>{var i=n(29735),o=n(98132);e.exports=function(e){return i((function(t,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,s=r>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(r--,a):void 0,s&&o(n[0],n[1],s)&&(a=r<3?void 0:a,r=1),t=Object(t);++i<r;){var l=n[i];l&&e(t,l,i,a)}return t}))}},96313:(e,t,n)=>{var i=n(30568);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!i(n))return e(n,o);for(var r=n.length,a=t?r:-1,s=Object(n);(t?a--:++a<r)&&!1!==o(s[a],a,s););return n}}},72545:e=>{e.exports=function(e){return function(t,n,i){for(var o=-1,r=Object(t),a=i(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(r[l],l,r))break}return t}}},29301:(e,t,n)=>{var i=n(55833),o=n(30568),r=n(62096);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=i(n,3);t=r(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},41370:(e,t,n)=>{var i=n(95314),o=n(33273),r=n(14267),a=n(70705),s=n(55589),l=n(89783);e.exports=function(e){return o((function(t){var n=t.length,o=n,c=i.prototype.thru;for(e&&t.reverse();o--;){var d=t[o];if("function"!=typeof d)throw new TypeError("Expected a function");if(c&&!u&&"wrapper"==a(d))var u=new i([],!0)}for(o=u?o:n;++o<n;){d=t[o];var h=a(d),p="wrapper"==h?r(d):void 0;u=p&&l(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?u[a(p[0])].apply(u,p[3]):1==d.length&&l(d)?u[h]():u.thru(d)}return function(){var e=arguments,i=e[0];if(u&&1==e.length&&s(i))return u.plant(i).value();for(var o=0,r=n?t[o].apply(this,e):i;++o<n;)r=t[o].call(this,r);return r}}))}},80103:(e,t,n)=>{var i=n(33625);e.exports=function(e,t){return function(n,o){return i(n,e,t(o),{})}}},51523:(e,t,n)=>{var i=n(24930),o=n(98132),r=n(99558);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=r(t),void 0===n?(n=t,t=0):n=r(n),a=void 0===a?t<n?1:-1:r(a),i(t,n,a,e)}}},86262:(e,t,n)=>{var i=n(56616),o=n(71607),r=n(77969),a=i&&1/r(new i([,-0]))[1]==1/0?function(e){return new i(e)}:o;e.exports=a},43487:(e,t,n)=>{var i=n(65911),o=n(87493),r=n(81140),a=n(56199);e.exports=function(e){return function(t){var n=o(t);return"[object Map]"==n?r(t):"[object Set]"==n?a(t):i(t,e(t))}}},25595:(e,t,n)=>{var i=n(65234),o=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},14952:(e,t,n)=>{var i=n(84546),o=n(1831),r=n(77026);e.exports=function(e,t,n,a,s,l){var c=1&n,d=e.length,u=t.length;if(d!=u&&!(c&&u>d))return!1;var h=l.get(e),p=l.get(t);if(h&&p)return h==t&&p==e;var f=-1,g=!0,m=2&n?new i:void 0;for(l.set(e,t),l.set(t,e);++f<d;){var v=e[f],b=t[f];if(a)var _=c?a(b,v,f,t,e,l):a(v,b,f,e,t,l);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!o(t,(function(e,t){if(!r(m,t)&&(v===e||s(v,e,n,a,l)))return m.push(t)}))){g=!1;break}}else if(v!==b&&!s(v,b,n,a,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},21080:(e,t,n)=>{var i=n(70861),o=n(3526),r=n(58260),a=n(14952),s=n(81140),l=n(77969),c=i?i.prototype:void 0,d=c?c.valueOf:void 0;e.exports=function(e,t,n,i,c,u,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!u(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var f=1&i;if(p||(p=l),e.size!=t.size&&!f)return!1;var g=h.get(e);if(g)return g==t;i|=2,h.set(e,t);var m=a(p(e),p(t),i,c,u,h);return h.delete(e),m;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},86524:(e,t,n)=>{var i=n(54357),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,a,s){var l=1&n,c=i(e),d=c.length;if(d!=i(t).length&&!l)return!1;for(var u=d;u--;){var h=c[u];if(!(l?h in t:o.call(t,h)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++u<d;){var v=e[h=c[u]],b=t[h];if(r)var _=l?r(b,v,h,t,e,s):r(v,b,h,e,t,s);if(!(void 0===_?v===b||a(v,b,n,r,s):_)){g=!1;break}m||(m="constructor"==h)}if(g&&!m){var y=e.constructor,A=t.constructor;y==A||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof A&&A instanceof A||(g=!1)}return s.delete(e),s.delete(t),g}},33273:(e,t,n)=>{var i=n(62923),o=n(20340),r=n(4173);e.exports=function(e){return r(o(e,void 0,i),e+"")}},20302:(e,t,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},54357:(e,t,n)=>{var i=n(4468),o=n(44450),r=n(62096);e.exports=function(e){return i(e,r,o)}},55713:(e,t,n)=>{var i=n(4468),o=n(94969),r=n(9882);e.exports=function(e){return i(e,r,o)}},14267:(e,t,n)=>{var i=n(13660),o=n(71607),r=i?function(e){return i.get(e)}:o;e.exports=r},70705:(e,t,n)=>{var i=n(23188),o=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=i[t],r=o.call(i,t)?n.length:0;r--;){var a=n[r],s=a.func;if(null==s||s==e)return a.name}return t}},77570:(e,t,n)=>{var i=n(58949);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},72198:(e,t,n)=>{var i=n(18802),o=n(62096);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,i(a)]}return t}},65234:(e,t,n)=>{var i=n(99817),o=n(67736);e.exports=function(e,t){var n=o(e,t);return i(n)?n:void 0}},18490:(e,t,n)=>{var i=n(33540)(Object.getPrototypeOf,Object);e.exports=i},91339:(e,t,n)=>{var i=n(70861),o=Object.prototype,r=o.hasOwnProperty,a=o.toString,s=i?i.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(e){}var o=a.call(e);return i&&(t?e[s]=n:delete e[s]),o}},44450:(e,t,n)=>{var i=n(82493),o=n(84506),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),i(a(e),(function(t){return r.call(e,t)})))}:o;e.exports=s},94969:(e,t,n)=>{var i=n(10111),o=n(18490),r=n(44450),a=n(84506),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,r(e)),e=o(e);return t}:a;e.exports=s},87493:(e,t,n)=>{var i=n(94466),o=n(72887),r=n(95747),a=n(56616),s=n(98001),l=n(69823),c=n(55784),d="[object Map]",u="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",g=c(i),m=c(o),v=c(r),b=c(a),_=c(s),y=l;(i&&y(new i(new ArrayBuffer(1)))!=f||o&&y(new o)!=d||r&&y(r.resolve())!=u||a&&y(new a)!=h||s&&y(new s)!=p)&&(y=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case g:return f;case m:return d;case v:return u;case b:return h;case _:return p}return t}),e.exports=y},67736:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},13544:(e,t,n)=>{var i=n(24007),o=n(79312),r=n(55589),a=n(5023),s=n(66052),l=n(86040);e.exports=function(e,t,n){for(var c=-1,d=(t=i(t,e)).length,u=!1;++c<d;){var h=l(t[c]);if(!(u=null!=e&&n(e,h)))break;e=e[h]}return u||++c!=d?u:!!(d=null==e?0:e.length)&&s(d)&&a(h,d)&&(r(e)||o(e))}},34440:(e,t,n)=>{var i=n(24545);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},84108:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},61085:(e,t,n)=>{var i=n(24545),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},77706:(e,t,n)=>{var i=n(24545),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:o.call(t,e)}},8636:(e,t,n)=>{var i=n(24545);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},82865:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,i=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(i.index=e.index,i.input=e.input),i}},11908:(e,t,n)=>{var i=n(72962),o=n(97037),r=n(3429),a=n(99349),s=n(21327);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return i(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return r(e);case"[object Symbol]":return a(e)}}},84046:(e,t,n)=>{var i=n(57890),o=n(18490),r=n(32840);e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:i(o(e))}},67123:(e,t,n)=>{var i=n(70861),o=n(79312),r=n(55589),a=i?i.isConcatSpreadable:void 0;e.exports=function(e){return r(e)||o(e)||!!(a&&e&&e[a])}},5023:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},98132:(e,t,n)=>{var i=n(58260),o=n(30568),r=n(5023),a=n(93702);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&r(t,n.length):"string"==s&&t in n)&&i(n[t],e)}},5130:(e,t,n)=>{var i=n(55589),o=n(52624),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!r.test(e)||null!=t&&e in Object(t)}},58949:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},89783:(e,t,n)=>{var i=n(55402),o=n(14267),r=n(70705),a=n(61821);e.exports=function(e){var t=r(e),n=a[t];if("function"!=typeof n||!(t in i.prototype))return!1;if(e===n)return!0;var s=o(n);return!!s&&e===s[0]}},28597:(e,t,n)=>{var i,o=n(1622),r=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!r&&r in e}},32840:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},18802:(e,t,n)=>{var i=n(93702);e.exports=function(e){return e==e&&!i(e)}},90266:e=>{e.exports=function(){this.__data__=[],this.size=0}},42875:(e,t,n)=>{var i=n(18498),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},43631:(e,t,n)=>{var i=n(18498);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},24115:(e,t,n)=>{var i=n(18498);e.exports=function(e){return i(this.__data__,e)>-1}},67690:(e,t,n)=>{var i=n(18498);e.exports=function(e,t){var n=this.__data__,o=i(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},39016:(e,t,n)=>{var i=n(85208),o=n(81998),r=n(72887);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(r||o),string:new i}}},60790:(e,t,n)=>{var i=n(77570);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},64348:(e,t,n)=>{var i=n(77570);e.exports=function(e){return i(this,e).get(e)}},53062:(e,t,n)=>{var i=n(77570);e.exports=function(e){return i(this,e).has(e)}},30262:(e,t,n)=>{var i=n(77570);e.exports=function(e,t){var n=i(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},81140:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},94656:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},32924:(e,t,n)=>{var i=n(67997);e.exports=function(e){var t=i(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},13660:(e,t,n)=>{var i=n(98001),o=i&&new i;e.exports=o},24545:(e,t,n)=>{var i=n(65234)(Object,"create");e.exports=i},82825:(e,t,n)=>{var i=n(33540)(Object.keys,Object);e.exports=i},84866:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},8690:(e,t,n)=>{e=n.nmd(e);var i=n(20302),o=t&&!t.nodeType&&t,r=o&&e&&!e.nodeType&&e,a=r&&r.exports===o&&i.process,s=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},25151:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},33540:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},20340:(e,t,n)=>{var i=n(82274),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=o(r.length-t,0),l=Array(s);++a<s;)l[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(l),i(e,this,c)}}},23188:e=>{e.exports={}},83250:(e,t,n)=>{var i=n(20302),o="object"==typeof self&&self&&self.Object===Object&&self,r=i||o||Function("return this")();e.exports=r},11933:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},83937:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},15009:e=>{e.exports=function(e){return this.__data__.has(e)}},77969:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},56199:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}},4173:(e,t,n)=>{var i=n(46739),o=n(37357)(i);e.exports=o},37357:e=>{var t=Date.now;e.exports=function(e){var n=0,i=0;return function(){var o=t(),r=16-(o-i);if(i=o,r>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},93210:(e,t,n)=>{var i=n(81998);e.exports=function(){this.__data__=new i,this.size=0}},48603:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},38947:e=>{e.exports=function(e){return this.__data__.get(e)}},70885:e=>{e.exports=function(e){return this.__data__.has(e)}},98938:(e,t,n)=>{var i=n(81998),o=n(72887),r=n(95678);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(a)}return n.set(e,t),this.size=n.size,this}},45898:e=>{e.exports=function(e,t,n){for(var i=n-1,o=e.length;++i<o;)if(e[i]===t)return i;return-1}},44041:(e,t,n)=>{var i=n(32924),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=i((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,i,o){t.push(i?o.replace(r,"$1"):n||e)})),t}));e.exports=a},86040:(e,t,n)=>{var i=n(52624);e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},55784:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},62438:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},18153:(e,t,n)=>{var i=n(55402),o=n(95314),r=n(32166);e.exports=function(e){if(e instanceof i)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=r(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},14198:(e,t,n)=>{var i=n(93192),o=n(78618),r=n(66948),a=n(30568),s=n(32840),l=n(62096),c=Object.prototype.hasOwnProperty,d=r((function(e,t){if(s(t)||a(t))o(t,l(t),e);else for(var n in t)c.call(t,n)&&i(e,n,t[n])}));e.exports=d},77179:(e,t,n)=>{var i=n(18361);e.exports=function(e){return i(e,5)}},89203:e=>{e.exports=function(e){return function(){return e}}},77837:(e,t,n)=>{var i=n(93702),o=n(80231),r=n(29153),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,d,u,h,p,f=0,g=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=l,i=c;return l=c=void 0,f=t,u=e.apply(i,n)}function _(e){return f=e,h=setTimeout(A,t),g?b(e):u}function y(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-f>=d}function A(){var e=o();if(y(e))return w(e);h=setTimeout(A,function(e){var n=t-(e-p);return m?s(n,d-(e-f)):n}(e))}function w(e){return h=void 0,v&&l?b(e):(l=c=void 0,u)}function C(){var e=o(),n=y(e);if(l=arguments,c=this,p=e,n){if(void 0===h)return _(p);if(m)return clearTimeout(h),h=setTimeout(A,t),b(p)}return void 0===h&&(h=setTimeout(A,t)),u}return t=r(t)||0,i(n)&&(g=!!n.leading,d=(m="maxWait"in n)?a(r(n.maxWait)||0,t):d,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==h&&clearTimeout(h),f=0,l=p=c=h=void 0},C.flush=function(){return void 0===h?u:w(o())},C}},70241:(e,t,n)=>{var i=n(29735),o=n(58260),r=n(98132),a=n(9882),s=Object.prototype,l=s.hasOwnProperty,c=i((function(e,t){e=Object(e);var n=-1,i=t.length,c=i>2?t[2]:void 0;for(c&&r(t[0],t[1],c)&&(i=1);++n<i;)for(var d=t[n],u=a(d),h=-1,p=u.length;++h<p;){var f=u[h],g=e[f];(void 0===g||o(g,s[f])&&!l.call(e,f))&&(e[f]=d[f])}return e}));e.exports=c},96385:(e,t,n)=>{var i=n(83399),o=n(29735),r=n(29153),a=o((function(e,t,n){return i(e,r(t)||0,n)}));e.exports=a},5271:(e,t,n)=>{var i=n(13700),o=n(22825),r=n(29735),a=n(18268),s=r((function(e,t){return a(e)?i(e,o(t,1,a,!0)):[]}));e.exports=s},58260:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},26969:(e,t,n)=>{var i=n(29301)(n(69312));e.exports=i},69312:(e,t,n)=>{var i=n(44770),o=n(55833),r=n(96843),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:r(n);return l<0&&(l=a(s+l,0)),i(e,o(t,3),l)}},62923:(e,t,n)=>{var i=n(22825);e.exports=function(e){return null!=e&&e.length?i(e,1):[]}},23089:(e,t,n)=>{var i=n(41370)();e.exports=i},14802:(e,t,n)=>{var i=n(44003),o=n(84781);e.exports=function(e,t){return e&&i(e,o(t))}},21061:e=>{e.exports=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var o=e[t];i[o[0]]=o[1]}return i}},13546:(e,t,n)=>{var i=n(40548);e.exports=function(e,t,n){var o=null==e?void 0:i(e,t);return void 0===o?n:o}},39907:(e,t,n)=>{var i=n(87500),o=n(17325),r=Object.prototype.hasOwnProperty,a=o((function(e,t,n){r.call(e,n)?e[n].push(t):i(e,n,[t])}));e.exports=a},56708:(e,t,n)=>{var i=n(62902),o=n(13544);e.exports=function(e,t){return null!=e&&o(e,t,i)}},80229:e=>{e.exports=function(e){return e}},42876:(e,t,n)=>{var i=n(94365),o=n(30568),r=n(76705),a=n(96843),s=n(31682),l=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var d=e.length;return n<0&&(n=l(d+n,0)),r(e)?n<=d&&e.indexOf(t,n)>-1:!!d&&i(e,t,n)>-1}},89941:(e,t,n)=>{var i=n(89203),o=n(80103),r=n(80229),a=Object.prototype.toString,s=o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=a.call(t)),e[t]=n}),i(r));e.exports=s},79312:(e,t,n)=>{var i=n(33016),o=n(50440),r=Object.prototype,a=r.hasOwnProperty,s=r.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},55589:e=>{var t=Array.isArray;e.exports=t},30568:(e,t,n)=>{var i=n(45563),o=n(66052);e.exports=function(e){return null!=e&&o(e.length)&&!i(e)}},18268:(e,t,n)=>{var i=n(30568),o=n(50440);e.exports=function(e){return o(e)&&i(e)}},85778:(e,t,n)=>{e=n.nmd(e);var i=n(83250),o=n(37999),r=t&&!t.nodeType&&t,a=r&&e&&!e.nodeType&&e,s=a&&a.exports===r?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},19553:(e,t,n)=>{var i=n(71808),o=n(31525),r=n(8690),a=r&&r.isDate,s=a?o(a):i;e.exports=s},29787:(e,t,n)=>{var i=n(41351),o=n(87493),r=n(79312),a=n(55589),s=n(30568),l=n(85778),c=n(32840),d=n(50922),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||d(e)||r(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!i(e).length;for(var n in e)if(u.call(e,n))return!1;return!0}},85466:(e,t,n)=>{var i=n(34662);e.exports=function(e,t){return i(e,t)}},45563:(e,t,n)=>{var i=n(69823),o=n(93702);e.exports=function(e){if(!o(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},66052:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},37613:(e,t,n)=>{var i=n(52275),o=n(31525),r=n(8690),a=r&&r.isMap,s=a?o(a):i;e.exports=s},14698:e=>{e.exports=function(e){return null==e}},93702:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},50440:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},54256:(e,t,n)=>{var i=n(69823),o=n(18490),r=n(50440),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,d=l.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=i(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==d}},68290:(e,t,n)=>{var i=n(58261),o=n(31525),r=n(8690),a=r&&r.isRegExp,s=a?o(a):i;e.exports=s},60693:(e,t,n)=>{var i=n(7170),o=n(31525),r=n(8690),a=r&&r.isSet,s=a?o(a):i;e.exports=s},76705:(e,t,n)=>{var i=n(69823),o=n(55589),r=n(50440);e.exports=function(e){return"string"==typeof e||!o(e)&&r(e)&&"[object String]"==i(e)}},52624:(e,t,n)=>{var i=n(69823),o=n(50440);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==i(e)}},50922:(e,t,n)=>{var i=n(42448),o=n(31525),r=n(8690),a=r&&r.isTypedArray,s=a?o(a):i;e.exports=s},86474:e=>{e.exports=function(e){return void 0===e}},62096:(e,t,n)=>{var i=n(75825),o=n(41351),r=n(30568);e.exports=function(e){return r(e)?i(e):o(e)}},9882:(e,t,n)=>{var i=n(75825),o=n(71309),r=n(30568);e.exports=function(e){return r(e)?i(e,!0):o(e)}},77875:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},39378:function(e,t,n){var i;e=n.nmd(e),function(){var o,r="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=32,c=128,d=1/0,u=9007199254740991,h=NaN,p=4294967295,f=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",b="[object Date]",_="[object Error]",y="[object Function]",A="[object GeneratorFunction]",w="[object Map]",C="[object Number]",x="[object Object]",S="[object Promise]",E="[object RegExp]",k="[object Set]",M="[object String]",D="[object Symbol]",N="[object WeakMap]",I="[object ArrayBuffer]",T="[object DataView]",L="[object Float32Array]",B="[object Float64Array]",O="[object Int8Array]",P="[object Int16Array]",F="[object Int32Array]",R="[object Uint8Array]",j="[object Uint8ClampedArray]",z="[object Uint16Array]",V="[object Uint32Array]",W=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,K=RegExp(Q.source),Y=RegExp(G.source),$=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),ie=/^\s+/,oe=/\s/,re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,pe=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,ye=/['\n\r\u2028\u2029\\]/g,Ae="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Se="["+xe+"]",Ee="["+Ae+"]",ke="\\d+",Me="["+we+"]",De="[^\\ud800-\\udfff"+xe+ke+"\\u2700-\\u27bf"+we+Ce+"]",Ne="\\ud83c[\\udffb-\\udfff]",Ie="[^\\ud800-\\udfff]",Te="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+Ce+"]",Oe="(?:"+Me+"|"+De+")",Pe="(?:"+Be+"|"+De+")",Fe="(?:['โ€™](?:d|ll|m|re|s|t|ve))?",Re="(?:['โ€™](?:D|LL|M|RE|S|T|VE))?",je="(?:"+Ee+"|"+Ne+")?",ze="[\\ufe0e\\ufe0f]?",Ve=ze+je+"(?:\\u200d(?:"+[Ie,Te,Le].join("|")+")"+ze+je+")*",We="(?:"+["[\\u2700-\\u27bf]",Te,Le].join("|")+")"+Ve,He="(?:"+[Ie+Ee+"?",Ee,Te,Le,"[\\ud800-\\udfff]"].join("|")+")",Ue=RegExp("['โ€™]","g"),Qe=RegExp(Ee,"g"),Ge=RegExp(Ne+"(?="+Ne+")|"+He+Ve,"g"),Ke=RegExp([Be+"?"+Me+"+"+Fe+"(?="+[Se,Be,"$"].join("|")+")",Pe+"+"+Re+"(?="+[Se,Be+Oe,"$"].join("|")+")",Be+"?"+Oe+"+"+Fe,Be+"+"+Re,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ke,We].join("|"),"g"),Ye=RegExp("[\\u200d\\ud800-\\udfff"+Ae+"\\ufe0e\\ufe0f]"),$e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Je=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qe=-1,Ze={};Ze[L]=Ze[B]=Ze[O]=Ze[P]=Ze[F]=Ze[R]=Ze[j]=Ze[z]=Ze[V]=!0,Ze[g]=Ze[m]=Ze[I]=Ze[v]=Ze[T]=Ze[b]=Ze[_]=Ze[y]=Ze[w]=Ze[C]=Ze[x]=Ze[E]=Ze[k]=Ze[M]=Ze[N]=!1;var Xe={};Xe[g]=Xe[m]=Xe[I]=Xe[T]=Xe[v]=Xe[b]=Xe[L]=Xe[B]=Xe[O]=Xe[P]=Xe[F]=Xe[w]=Xe[C]=Xe[x]=Xe[E]=Xe[k]=Xe[M]=Xe[D]=Xe[R]=Xe[j]=Xe[z]=Xe[V]=!0,Xe[_]=Xe[y]=Xe[N]=!1;var et={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tt=parseFloat,nt=parseInt,it="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ot="object"==typeof self&&self&&self.Object===Object&&self,rt=it||ot||Function("return this")(),at=t&&!t.nodeType&&t,st=at&&e&&!e.nodeType&&e,lt=st&&st.exports===at,ct=lt&&it.process,dt=function(){try{return st&&st.require&&st.require("util").types||ct&&ct.binding&&ct.binding("util")}catch(e){}}(),ut=dt&&dt.isArrayBuffer,ht=dt&&dt.isDate,pt=dt&&dt.isMap,ft=dt&&dt.isRegExp,gt=dt&&dt.isSet,mt=dt&&dt.isTypedArray;function vt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function bt(e,t,n,i){for(var o=-1,r=null==e?0:e.length;++o<r;){var a=e[o];t(i,a,n(a),e)}return i}function _t(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function yt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function wt(e,t){for(var n=-1,i=null==e?0:e.length,o=0,r=[];++n<i;){var a=e[n];t(a,n,e)&&(r[o++]=a)}return r}function Ct(e,t){return!(null==e||!e.length)&&Lt(e,t,0)>-1}function xt(e,t,n){for(var i=-1,o=null==e?0:e.length;++i<o;)if(n(t,e[i]))return!0;return!1}function St(e,t){for(var n=-1,i=null==e?0:e.length,o=Array(i);++n<i;)o[n]=t(e[n],n,e);return o}function Et(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e}function kt(e,t,n,i){var o=-1,r=null==e?0:e.length;for(i&&r&&(n=e[++o]);++o<r;)n=t(n,e[o],o,e);return n}function Mt(e,t,n,i){var o=null==e?0:e.length;for(i&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Dt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var Nt=Ft("length");function It(e,t,n){var i;return n(e,(function(e,n,o){if(t(e,n,o))return i=n,!1})),i}function Tt(e,t,n,i){for(var o=e.length,r=n+(i?1:-1);i?r--:++r<o;)if(t(e[r],r,e))return r;return-1}function Lt(e,t,n){return t==t?function(e,t,n){for(var i=n-1,o=e.length;++i<o;)if(e[i]===t)return i;return-1}(e,t,n):Tt(e,Ot,n)}function Bt(e,t,n,i){for(var o=n-1,r=e.length;++o<r;)if(i(e[o],t))return o;return-1}function Ot(e){return e!=e}function Pt(e,t){var n=null==e?0:e.length;return n?zt(e,t)/n:h}function Ft(e){return function(t){return null==t?o:t[e]}}function Rt(e){return function(t){return null==e?o:e[t]}}function jt(e,t,n,i,o){return o(e,(function(e,o,r){n=i?(i=!1,e):t(n,e,o,r)})),n}function zt(e,t){for(var n,i=-1,r=e.length;++i<r;){var a=t(e[i]);a!==o&&(n=n===o?a:n+a)}return n}function Vt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Wt(e){return e?e.slice(0,sn(e)+1).replace(ie,""):e}function Ht(e){return function(t){return e(t)}}function Ut(e,t){return St(t,(function(t){return e[t]}))}function Qt(e,t){return e.has(t)}function Gt(e,t){for(var n=-1,i=e.length;++n<i&&Lt(t,e[n],0)>-1;);return n}function Kt(e,t){for(var n=e.length;n--&&Lt(t,e[n],0)>-1;);return n}function Yt(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var $t=Rt({ร€:"A",ร:"A",ร‚:"A",รƒ:"A",ร„:"A",ร…:"A",ร :"a",รก:"a",รข:"a",รฃ:"a",รค:"a",รฅ:"a",ร‡:"C",รง:"c",ร:"D",รฐ:"d",รˆ:"E",ร‰:"E",รŠ:"E",ร‹:"E",รจ:"e",รฉ:"e",รช:"e",รซ:"e",รŒ:"I",ร:"I",รŽ:"I",ร:"I",รฌ:"i",รญ:"i",รฎ:"i",รฏ:"i",ร‘:"N",รฑ:"n",ร’:"O",ร“:"O",ร”:"O",ร•:"O",ร–:"O",ร˜:"O",รฒ:"o",รณ:"o",รด:"o",รต:"o",รถ:"o",รธ:"o",ร™:"U",รš:"U",ร›:"U",รœ:"U",รน:"u",รบ:"u",รป:"u",รผ:"u",ร:"Y",รฝ:"y",รฟ:"y",ร†:"Ae",รฆ:"ae",รž:"Th",รพ:"th",รŸ:"ss",ฤ€:"A",ฤ‚:"A",ฤ„:"A",ฤ:"a",ฤƒ:"a",ฤ…:"a",ฤ†:"C",ฤˆ:"C",ฤŠ:"C",ฤŒ:"C",ฤ‡:"c",ฤ‰:"c",ฤ‹:"c",ฤ:"c",ฤŽ:"D",ฤ:"D",ฤ:"d",ฤ‘:"d",ฤ’:"E",ฤ”:"E",ฤ–:"E",ฤ˜:"E",ฤš:"E",ฤ“:"e",ฤ•:"e",ฤ—:"e",ฤ™:"e",ฤ›:"e",ฤœ:"G",ฤž:"G",ฤ :"G",ฤข:"G",ฤ:"g",ฤŸ:"g",ฤก:"g",ฤฃ:"g",ฤค:"H",ฤฆ:"H",ฤฅ:"h",ฤง:"h",ฤจ:"I",ฤช:"I",ฤฌ:"I",ฤฎ:"I",ฤฐ:"I",ฤฉ:"i",ฤซ:"i",ฤญ:"i",ฤฏ:"i",ฤฑ:"i",ฤด:"J",ฤต:"j",ฤถ:"K",ฤท:"k",ฤธ:"k",ฤน:"L",ฤป:"L",ฤฝ:"L",ฤฟ:"L",ล:"L",ฤบ:"l",ฤผ:"l",ฤพ:"l",ล€:"l",ล‚:"l",ลƒ:"N",ล…:"N",ล‡:"N",ลŠ:"N",ล„:"n",ล†:"n",ลˆ:"n",ล‹:"n",ลŒ:"O",ลŽ:"O",ล:"O",ล:"o",ล:"o",ล‘:"o",ล”:"R",ล–:"R",ล˜:"R",ล•:"r",ล—:"r",ล™:"r",ลš:"S",ลœ:"S",ลž:"S",ล :"S",ล›:"s",ล:"s",ลŸ:"s",ลก:"s",ลข:"T",ลค:"T",ลฆ:"T",ลฃ:"t",ลฅ:"t",ลง:"t",ลจ:"U",ลช:"U",ลฌ:"U",ลฎ:"U",ลฐ:"U",ลฒ:"U",ลฉ:"u",ลซ:"u",ลญ:"u",ลฏ:"u",ลฑ:"u",ลณ:"u",ลด:"W",ลต:"w",ลถ:"Y",ลท:"y",ลธ:"Y",ลน:"Z",ลป:"Z",ลฝ:"Z",ลบ:"z",ลผ:"z",ลพ:"z",ฤฒ:"IJ",ฤณ:"ij",ล’:"Oe",ล“:"oe",ล‰:"'n",ลฟ:"s"}),Jt=Rt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function qt(e){return"\\"+et[e]}function Zt(e){return Ye.test(e)}function Xt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function en(e,t){return function(n){return e(t(n))}}function tn(e,t){for(var n=-1,i=e.length,o=0,r=[];++n<i;){var a=e[n];a!==t&&a!==s||(e[n]=s,r[o++]=n)}return r}function nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function rn(e){return Zt(e)?function(e){for(var t=Ge.lastIndex=0;Ge.test(e);)++t;return t}(e):Nt(e)}function an(e){return Zt(e)?function(e){return e.match(Ge)||[]}(e):function(e){return e.split("")}(e)}function sn(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var ln=Rt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),cn=function e(t){var n,i=(t=null==t?rt:cn.defaults(rt.Object(),t,cn.pick(rt,Je))).Array,oe=t.Date,Ae=t.Error,we=t.Function,Ce=t.Math,xe=t.Object,Se=t.RegExp,Ee=t.String,ke=t.TypeError,Me=i.prototype,De=we.prototype,Ne=xe.prototype,Ie=t["__core-js_shared__"],Te=De.toString,Le=Ne.hasOwnProperty,Be=0,Oe=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pe=Ne.toString,Fe=Te.call(xe),Re=rt._,je=Se("^"+Te.call(Le).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=lt?t.Buffer:o,Ve=t.Symbol,We=t.Uint8Array,He=ze?ze.allocUnsafe:o,Ge=en(xe.getPrototypeOf,xe),Ye=xe.create,et=Ne.propertyIsEnumerable,it=Me.splice,ot=Ve?Ve.isConcatSpreadable:o,at=Ve?Ve.iterator:o,st=Ve?Ve.toStringTag:o,ct=function(){try{var e=dr(xe,"defineProperty");return e({},"",{}),e}catch(e){}}(),dt=t.clearTimeout!==rt.clearTimeout&&t.clearTimeout,Nt=oe&&oe.now!==rt.Date.now&&oe.now,Rt=t.setTimeout!==rt.setTimeout&&t.setTimeout,dn=Ce.ceil,un=Ce.floor,hn=xe.getOwnPropertySymbols,pn=ze?ze.isBuffer:o,fn=t.isFinite,gn=Me.join,mn=en(xe.keys,xe),vn=Ce.max,bn=Ce.min,_n=oe.now,yn=t.parseInt,An=Ce.random,wn=Me.reverse,Cn=dr(t,"DataView"),xn=dr(t,"Map"),Sn=dr(t,"Promise"),En=dr(t,"Set"),kn=dr(t,"WeakMap"),Mn=dr(xe,"create"),Dn=kn&&new kn,Nn={},In=jr(Cn),Tn=jr(xn),Ln=jr(Sn),Bn=jr(En),On=jr(kn),Pn=Ve?Ve.prototype:o,Fn=Pn?Pn.valueOf:o,Rn=Pn?Pn.toString:o;function jn(e){if(ns(e)&&!Qa(e)&&!(e instanceof Hn)){if(e instanceof Wn)return e;if(Le.call(e,"__wrapped__"))return zr(e)}return new Wn(e)}var zn=function(){function e(){}return function(t){if(!ts(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Vn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function Yn(e){var t=this.__data__=new Qn(e);this.size=t.size}function $n(e,t){var n=Qa(e),i=!n&&Ua(e),o=!n&&!i&&$a(e),r=!n&&!i&&!o&&ds(e),a=n||i||o||r,s=a?Vt(e.length,Ee):[],l=s.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vr(c,l))||s.push(c);return s}function Jn(e){var t=e.length;return t?e[Gi(0,t-1)]:o}function qn(e,t){return Br(Mo(e),ai(t,0,e.length))}function Zn(e){return Br(Mo(e))}function Xn(e,t,n){(n!==o&&!Va(e[t],n)||n===o&&!(t in e))&&oi(e,t,n)}function ei(e,t,n){var i=e[t];Le.call(e,t)&&Va(i,n)&&(n!==o||t in e)||oi(e,t,n)}function ti(e,t){for(var n=e.length;n--;)if(Va(e[n][0],t))return n;return-1}function ni(e,t,n,i){return ui(e,(function(e,o,r){t(i,e,n(e),r)})),i}function ii(e,t){return e&&Do(t,Ts(t),e)}function oi(e,t,n){"__proto__"==t&&ct?ct(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ri(e,t){for(var n=-1,r=t.length,a=i(r),s=null==e;++n<r;)a[n]=s?o:ks(e,t[n]);return a}function ai(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function si(e,t,n,i,r,a){var s,l=1&t,c=2&t,d=4&t;if(n&&(s=r?n(e,i,r,a):n(e)),s!==o)return s;if(!ts(e))return e;var u=Qa(e);if(u){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Mo(e,s)}else{var h=pr(e),p=h==y||h==A;if($a(e))return wo(e,l);if(h==x||h==g||p&&!r){if(s=c||p?{}:gr(e),!l)return c?function(e,t){return Do(e,hr(e),t)}(e,function(e,t){return e&&Do(t,Ls(t),e)}(s,e)):function(e,t){return Do(e,ur(e),t)}(e,ii(s,e))}else{if(!Xe[h])return r?e:{};s=function(e,t,n){var i,o=e.constructor;switch(t){case I:return Co(e);case v:case b:return new o(+e);case T:return function(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case B:case O:case P:case F:case R:case j:case z:case V:return xo(e,n);case w:return new o;case C:case M:return new o(e);case E:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case k:return new o;case D:return i=e,Fn?xe(Fn.call(i)):{}}}(e,h,l)}}a||(a=new Yn);var f=a.get(e);if(f)return f;a.set(e,s),ss(e)?e.forEach((function(i){s.add(si(i,t,n,i,e,a))})):is(e)&&e.forEach((function(i,o){s.set(o,si(i,t,n,o,e,a))}));var m=u?o:(d?c?ir:nr:c?Ls:Ts)(e);return _t(m||e,(function(i,o){m&&(i=e[o=i]),ei(s,o,si(i,t,n,o,e,a))})),s}function li(e,t,n){var i=n.length;if(null==e)return!i;for(e=xe(e);i--;){var r=n[i],a=t[r],s=e[r];if(s===o&&!(r in e)||!a(s))return!1}return!0}function ci(e,t,n){if("function"!=typeof e)throw new ke(r);return Nr((function(){e.apply(o,n)}),t)}function di(e,t,n,i){var o=-1,r=Ct,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=St(t,Ht(n))),i?(r=xt,a=!1):t.length>=200&&(r=Qt,a=!1,t=new Kn(t));e:for(;++o<s;){var d=e[o],u=null==n?d:n(d);if(d=i||0!==d?d:0,a&&u==u){for(var h=c;h--;)if(t[h]===u)continue e;l.push(d)}else r(t,u,i)||l.push(d)}return l}jn.templateSettings={escape:$,evaluate:J,interpolate:q,variable:"",imports:{_:jn}},jn.prototype=Vn.prototype,jn.prototype.constructor=jn,Wn.prototype=zn(Vn.prototype),Wn.prototype.constructor=Wn,Hn.prototype=zn(Vn.prototype),Hn.prototype.constructor=Hn,Un.prototype.clear=function(){this.__data__=Mn?Mn(null):{},this.size=0},Un.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Un.prototype.get=function(e){var t=this.__data__;if(Mn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},Un.prototype.has=function(e){var t=this.__data__;return Mn?t[e]!==o:Le.call(t,e)},Un.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mn&&t===o?a:t,this},Qn.prototype.clear=function(){this.__data__=[],this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=ti(t,e);return!(n<0||(n==t.length-1?t.pop():it.call(t,n,1),--this.size,0))},Qn.prototype.get=function(e){var t=this.__data__,n=ti(t,e);return n<0?o:t[n][1]},Qn.prototype.has=function(e){return ti(this.__data__,e)>-1},Qn.prototype.set=function(e,t){var n=this.__data__,i=ti(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(xn||Qn),string:new Un}},Gn.prototype.delete=function(e){var t=lr(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return lr(this,e).get(e)},Gn.prototype.has=function(e){return lr(this,e).has(e)},Gn.prototype.set=function(e,t){var n=lr(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,a),this},Kn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Qn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Qn){var i=n.__data__;if(!xn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(i)}return n.set(e,t),this.size=n.size,this};var ui=To(_i),hi=To(yi,!0);function pi(e,t){var n=!0;return ui(e,(function(e,i,o){return n=!!t(e,i,o)})),n}function fi(e,t,n){for(var i=-1,r=e.length;++i<r;){var a=e[i],s=t(a);if(null!=s&&(l===o?s==s&&!cs(s):n(s,l)))var l=s,c=a}return c}function gi(e,t){var n=[];return ui(e,(function(e,i,o){t(e,i,o)&&n.push(e)})),n}function mi(e,t,n,i,o){var r=-1,a=e.length;for(n||(n=mr),o||(o=[]);++r<a;){var s=e[r];t>0&&n(s)?t>1?mi(s,t-1,n,i,o):Et(o,s):i||(o[o.length]=s)}return o}var vi=Lo(),bi=Lo(!0);function _i(e,t){return e&&vi(e,t,Ts)}function yi(e,t){return e&&bi(e,t,Ts)}function Ai(e,t){return wt(t,(function(t){return Za(e[t])}))}function wi(e,t){for(var n=0,i=(t=bo(t,e)).length;null!=e&&n<i;)e=e[Rr(t[n++])];return n&&n==i?e:o}function Ci(e,t,n){var i=t(e);return Qa(e)?i:Et(i,n(e))}function xi(e){return null==e?e===o?"[object Undefined]":"[object Null]":st&&st in xe(e)?function(e){var t=Le.call(e,st),n=e[st];try{e[st]=o;var i=!0}catch(e){}var r=Pe.call(e);return i&&(t?e[st]=n:delete e[st]),r}(e):function(e){return Pe.call(e)}(e)}function Si(e,t){return e>t}function Ei(e,t){return null!=e&&Le.call(e,t)}function ki(e,t){return null!=e&&t in xe(e)}function Mi(e,t,n){for(var r=n?xt:Ct,a=e[0].length,s=e.length,l=s,c=i(s),d=1/0,u=[];l--;){var h=e[l];l&&t&&(h=St(h,Ht(t))),d=bn(h.length,d),c[l]=!n&&(t||a>=120&&h.length>=120)?new Kn(l&&h):o}h=e[0];var p=-1,f=c[0];e:for(;++p<a&&u.length<d;){var g=h[p],m=t?t(g):g;if(g=n||0!==g?g:0,!(f?Qt(f,m):r(u,m,n))){for(l=s;--l;){var v=c[l];if(!(v?Qt(v,m):r(e[l],m,n)))continue e}f&&f.push(m),u.push(g)}}return u}function Di(e,t,n){var i=null==(e=Er(e,t=bo(t,e)))?e:e[Rr(qr(t))];return null==i?o:vt(i,e,n)}function Ni(e){return ns(e)&&xi(e)==g}function Ii(e,t,n,i,r){return e===t||(null==e||null==t||!ns(e)&&!ns(t)?e!=e&&t!=t:function(e,t,n,i,r,a){var s=Qa(e),l=Qa(t),c=s?m:pr(e),d=l?m:pr(t),u=(c=c==g?x:c)==x,h=(d=d==g?x:d)==x,p=c==d;if(p&&$a(e)){if(!$a(t))return!1;s=!0,u=!1}if(p&&!u)return a||(a=new Yn),s||ds(e)?er(e,t,n,i,r,a):function(e,t,n,i,o,r,a){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!r(new We(e),new We(t)));case v:case b:case C:return Va(+e,+t);case _:return e.name==t.name&&e.message==t.message;case E:case M:return e==t+"";case w:var s=Xt;case k:var l=1&i;if(s||(s=nn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;i|=2,a.set(e,t);var d=er(s(e),s(t),i,o,r,a);return a.delete(e),d;case D:if(Fn)return Fn.call(e)==Fn.call(t)}return!1}(e,t,c,n,i,r,a);if(!(1&n)){var f=u&&Le.call(e,"__wrapped__"),y=h&&Le.call(t,"__wrapped__");if(f||y){var A=f?e.value():e,S=y?t.value():t;return a||(a=new Yn),r(A,S,n,i,a)}}return!!p&&(a||(a=new Yn),function(e,t,n,i,r,a){var s=1&n,l=nr(e),c=l.length;if(c!=nr(t).length&&!s)return!1;for(var d=c;d--;){var u=l[d];if(!(s?u in t:Le.call(t,u)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var f=!0;a.set(e,t),a.set(t,e);for(var g=s;++d<c;){var m=e[u=l[d]],v=t[u];if(i)var b=s?i(v,m,u,t,e,a):i(m,v,u,e,t,a);if(!(b===o?m===v||r(m,v,n,i,a):b)){f=!1;break}g||(g="constructor"==u)}if(f&&!g){var _=e.constructor,y=t.constructor;_==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,i,r,a))}(e,t,n,i,Ii,r))}function Ti(e,t,n,i){var r=n.length,a=r,s=!i;if(null==e)return!a;for(e=xe(e);r--;){var l=n[r];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<a;){var c=(l=n[r])[0],d=e[c],u=l[1];if(s&&l[2]){if(d===o&&!(c in e))return!1}else{var h=new Yn;if(i)var p=i(d,u,c,e,t,h);if(!(p===o?Ii(u,d,3,i,h):p))return!1}}return!0}function Li(e){return!(!ts(e)||(t=e,Oe&&Oe in t))&&(Za(e)?je:ge).test(jr(e));var t}function Bi(e){return"function"==typeof e?e:null==e?ol:"object"==typeof e?Qa(e)?ji(e[0],e[1]):Ri(e):pl(e)}function Oi(e){if(!wr(e))return mn(e);var t=[];for(var n in xe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Pi(e,t){return e<t}function Fi(e,t){var n=-1,o=Ka(e)?i(e.length):[];return ui(e,(function(e,i,r){o[++n]=t(e,i,r)})),o}function Ri(e){var t=cr(e);return 1==t.length&&t[0][2]?xr(t[0][0],t[0][1]):function(n){return n===e||Ti(n,e,t)}}function ji(e,t){return _r(e)&&Cr(t)?xr(Rr(e),t):function(n){var i=ks(n,e);return i===o&&i===t?Ms(n,e):Ii(t,i,3)}}function zi(e,t,n,i,r){e!==t&&vi(t,(function(a,s){if(r||(r=new Yn),ts(a))!function(e,t,n,i,r,a,s){var l=Mr(e,n),c=Mr(t,n),d=s.get(c);if(d)Xn(e,n,d);else{var u=a?a(l,c,n+"",e,t,s):o,h=u===o;if(h){var p=Qa(c),f=!p&&$a(c),g=!p&&!f&&ds(c);u=c,p||f||g?Qa(l)?u=l:Ya(l)?u=Mo(l):f?(h=!1,u=wo(c,!0)):g?(h=!1,u=xo(c,!0)):u=[]:rs(c)||Ua(c)?(u=l,Ua(l)?u=bs(l):ts(l)&&!Za(l)||(u=gr(c))):h=!1}h&&(s.set(c,u),r(u,c,i,a,s),s.delete(c)),Xn(e,n,u)}}(e,t,s,n,zi,i,r);else{var l=i?i(Mr(e,s),a,s+"",e,t,r):o;l===o&&(l=a),Xn(e,s,l)}}),Ls)}function Vi(e,t){var n=e.length;if(n)return vr(t+=t<0?n:0,n)?e[t]:o}function Wi(e,t,n){t=t.length?St(t,(function(e){return Qa(e)?function(t){return wi(t,1===e.length?e[0]:e)}:e})):[ol];var i=-1;t=St(t,Ht(sr()));var o=Fi(e,(function(e,n,o){var r=St(t,(function(t){return t(e)}));return{criteria:r,index:++i,value:e}}));return function(e,t){var i=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var i=-1,o=e.criteria,r=t.criteria,a=o.length,s=n.length;++i<a;){var l=So(o[i],r[i]);if(l)return i>=s?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}));i--;)e[i]=e[i].value;return e}(o)}function Hi(e,t,n){for(var i=-1,o=t.length,r={};++i<o;){var a=t[i],s=wi(e,a);n(s,a)&&qi(r,bo(a,e),s)}return r}function Ui(e,t,n,i){var o=i?Bt:Lt,r=-1,a=t.length,s=e;for(e===t&&(t=Mo(t)),n&&(s=St(e,Ht(n)));++r<a;)for(var l=0,c=t[r],d=n?n(c):c;(l=o(s,d,l,i))>-1;)s!==e&&it.call(s,l,1),it.call(e,l,1);return e}function Qi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var o=t[n];if(n==i||o!==r){var r=o;vr(o)?it.call(e,o,1):co(e,o)}}return e}function Gi(e,t){return e+un(An()*(t-e+1))}function Ki(e,t){var n="";if(!e||t<1||t>u)return n;do{t%2&&(n+=e),(t=un(t/2))&&(e+=e)}while(t);return n}function Yi(e,t){return Ir(Sr(e,t,ol),e+"")}function $i(e){return Jn(Vs(e))}function Ji(e,t){var n=Vs(e);return Br(n,ai(t,0,n.length))}function qi(e,t,n,i){if(!ts(e))return e;for(var r=-1,a=(t=bo(t,e)).length,s=a-1,l=e;null!=l&&++r<a;){var c=Rr(t[r]),d=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(r!=s){var u=l[c];(d=i?i(u,c,l):o)===o&&(d=ts(u)?u:vr(t[r+1])?[]:{})}ei(l,c,d),l=l[c]}return e}var Zi=Dn?function(e,t){return Dn.set(e,t),e}:ol,Xi=ct?function(e,t){return ct(e,"toString",{configurable:!0,enumerable:!1,value:tl(t),writable:!0})}:ol;function eo(e){return Br(Vs(e))}function to(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=i(r);++o<r;)a[o]=e[o+t];return a}function no(e,t){var n;return ui(e,(function(e,i,o){return!(n=t(e,i,o))})),!!n}function io(e,t,n){var i=0,o=null==e?i:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;i<o;){var r=i+o>>>1,a=e[r];null!==a&&!cs(a)&&(n?a<=t:a<t)?i=r+1:o=r}return o}return oo(e,t,ol,n)}function oo(e,t,n,i){var r=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,l=null===t,c=cs(t),d=t===o;r<a;){var u=un((r+a)/2),h=n(e[u]),p=h!==o,f=null===h,g=h==h,m=cs(h);if(s)var v=i||g;else v=d?g&&(i||p):l?g&&p&&(i||!f):c?g&&p&&!f&&(i||!m):!f&&!m&&(i?h<=t:h<t);v?r=u+1:a=u}return bn(a,4294967294)}function ro(e,t){for(var n=-1,i=e.length,o=0,r=[];++n<i;){var a=e[n],s=t?t(a):a;if(!n||!Va(s,l)){var l=s;r[o++]=0===a?0:a}}return r}function ao(e){return"number"==typeof e?e:cs(e)?h:+e}function so(e){if("string"==typeof e)return e;if(Qa(e))return St(e,so)+"";if(cs(e))return Rn?Rn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function lo(e,t,n){var i=-1,o=Ct,r=e.length,a=!0,s=[],l=s;if(n)a=!1,o=xt;else if(r>=200){var c=t?null:Yo(e);if(c)return nn(c);a=!1,o=Qt,l=new Kn}else l=t?[]:s;e:for(;++i<r;){var d=e[i],u=t?t(d):d;if(d=n||0!==d?d:0,a&&u==u){for(var h=l.length;h--;)if(l[h]===u)continue e;t&&l.push(u),s.push(d)}else o(l,u,n)||(l!==s&&l.push(u),s.push(d))}return s}function co(e,t){return null==(e=Er(e,t=bo(t,e)))||delete e[Rr(qr(t))]}function uo(e,t,n,i){return qi(e,t,n(wi(e,t)),i)}function ho(e,t,n,i){for(var o=e.length,r=i?o:-1;(i?r--:++r<o)&&t(e[r],r,e););return n?to(e,i?0:r,i?r+1:o):to(e,i?r+1:0,i?o:r)}function po(e,t){var n=e;return n instanceof Hn&&(n=n.value()),kt(t,(function(e,t){return t.func.apply(t.thisArg,Et([e],t.args))}),n)}function fo(e,t,n){var o=e.length;if(o<2)return o?lo(e[0]):[];for(var r=-1,a=i(o);++r<o;)for(var s=e[r],l=-1;++l<o;)l!=r&&(a[r]=di(a[r]||s,e[l],t,n));return lo(mi(a,1),t,n)}function go(e,t,n){for(var i=-1,r=e.length,a=t.length,s={};++i<r;){var l=i<a?t[i]:o;n(s,e[i],l)}return s}function mo(e){return Ya(e)?e:[]}function vo(e){return"function"==typeof e?e:ol}function bo(e,t){return Qa(e)?e:_r(e,t)?[e]:Fr(_s(e))}var _o=Yi;function yo(e,t,n){var i=e.length;return n=n===o?i:n,!t&&n>=i?e:to(e,t,n)}var Ao=dt||function(e){return rt.clearTimeout(e)};function wo(e,t){if(t)return e.slice();var n=e.length,i=He?He(n):new e.constructor(n);return e.copy(i),i}function Co(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function xo(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function So(e,t){if(e!==t){var n=e!==o,i=null===e,r=e==e,a=cs(e),s=t!==o,l=null===t,c=t==t,d=cs(t);if(!l&&!d&&!a&&e>t||a&&s&&c&&!l&&!d||i&&s&&c||!n&&c||!r)return 1;if(!i&&!a&&!d&&e<t||d&&n&&r&&!i&&!a||l&&n&&r||!s&&r||!c)return-1}return 0}function Eo(e,t,n,o){for(var r=-1,a=e.length,s=n.length,l=-1,c=t.length,d=vn(a-s,0),u=i(c+d),h=!o;++l<c;)u[l]=t[l];for(;++r<s;)(h||r<a)&&(u[n[r]]=e[r]);for(;d--;)u[l++]=e[r++];return u}function ko(e,t,n,o){for(var r=-1,a=e.length,s=-1,l=n.length,c=-1,d=t.length,u=vn(a-l,0),h=i(u+d),p=!o;++r<u;)h[r]=e[r];for(var f=r;++c<d;)h[f+c]=t[c];for(;++s<l;)(p||r<a)&&(h[f+n[s]]=e[r++]);return h}function Mo(e,t){var n=-1,o=e.length;for(t||(t=i(o));++n<o;)t[n]=e[n];return t}function Do(e,t,n,i){var r=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=i?i(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),r?oi(n,l,c):ei(n,l,c)}return n}function No(e,t){return function(n,i){var o=Qa(n)?bt:ni,r=t?t():{};return o(n,e,sr(i,2),r)}}function Io(e){return Yi((function(t,n){var i=-1,r=n.length,a=r>1?n[r-1]:o,s=r>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(r--,a):o,s&&br(n[0],n[1],s)&&(a=r<3?o:a,r=1),t=xe(t);++i<r;){var l=n[i];l&&e(t,l,i,a)}return t}))}function To(e,t){return function(n,i){if(null==n)return n;if(!Ka(n))return e(n,i);for(var o=n.length,r=t?o:-1,a=xe(n);(t?r--:++r<o)&&!1!==i(a[r],r,a););return n}}function Lo(e){return function(t,n,i){for(var o=-1,r=xe(t),a=i(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(r[l],l,r))break}return t}}function Bo(e){return function(t){var n=Zt(t=_s(t))?an(t):o,i=n?n[0]:t.charAt(0),r=n?yo(n,1).join(""):t.slice(1);return i[e]()+r}}function Oo(e){return function(t){return kt(Zs(Us(t).replace(Ue,"")),e,"")}}function Po(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),i=e.apply(n,t);return ts(i)?i:n}}function Fo(e){return function(t,n,i){var r=xe(t);if(!Ka(t)){var a=sr(n,3);t=Ts(t),n=function(e){return a(r[e],e,r)}}var s=e(t,n,i);return s>-1?r[a?t[s]:s]:o}}function Ro(e){return tr((function(t){var n=t.length,i=n,a=Wn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new ke(r);if(a&&!l&&"wrapper"==rr(s))var l=new Wn([],!0)}for(i=l?i:n;++i<n;){var c=rr(s=t[i]),d="wrapper"==c?or(s):o;l=d&&yr(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?l[rr(d[0])].apply(l,d[3]):1==s.length&&yr(s)?l[c]():l.thru(s)}return function(){var e=arguments,i=e[0];if(l&&1==e.length&&Qa(i))return l.plant(i).value();for(var o=0,r=n?t[o].apply(this,e):i;++o<n;)r=t[o].call(this,r);return r}}))}function jo(e,t,n,r,a,s,l,d,u,h){var p=t&c,f=1&t,g=2&t,m=24&t,v=512&t,b=g?o:Po(e);return function o(){for(var c=arguments.length,_=i(c),y=c;y--;)_[y]=arguments[y];if(m)var A=ar(o),w=Yt(_,A);if(r&&(_=Eo(_,r,a,m)),s&&(_=ko(_,s,l,m)),c-=w,m&&c<h){var C=tn(_,A);return Go(e,t,jo,o.placeholder,n,_,C,d,u,h-c)}var x=f?n:this,S=g?x[e]:e;return c=_.length,d?_=kr(_,d):v&&c>1&&_.reverse(),p&&u<c&&(_.length=u),this&&this!==rt&&this instanceof o&&(S=b||Po(S)),S.apply(x,_)}}function zo(e,t){return function(n,i){return function(e,t,n,i){return _i(e,(function(e,o,r){t(i,n(e),o,r)})),i}(n,e,t(i),{})}}function Vo(e,t){return function(n,i){var r;if(n===o&&i===o)return t;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=so(n),i=so(i)):(n=ao(n),i=ao(i)),r=e(n,i)}return r}}function Wo(e){return tr((function(t){return t=St(t,Ht(sr())),Yi((function(n){var i=this;return e(t,(function(e){return vt(e,i,n)}))}))}))}function Ho(e,t){var n=(t=t===o?" ":so(t)).length;if(n<2)return n?Ki(t,e):t;var i=Ki(t,dn(e/rn(t)));return Zt(t)?yo(an(i),0,e).join(""):i.slice(0,e)}function Uo(e){return function(t,n,r){return r&&"number"!=typeof r&&br(t,n,r)&&(n=r=o),t=fs(t),n===o?(n=t,t=0):n=fs(n),function(e,t,n,o){for(var r=-1,a=vn(dn((t-e)/(n||1)),0),s=i(a);a--;)s[o?a:++r]=e,e+=n;return s}(t,n,r=r===o?t<n?1:-1:fs(r),e)}}function Qo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vs(t),n=vs(n)),e(t,n)}}function Go(e,t,n,i,r,a,s,c,d,u){var h=8&t;t|=h?l:64,4&(t&=~(h?64:l))||(t&=-4);var p=[e,t,r,h?a:o,h?s:o,h?o:a,h?o:s,c,d,u],f=n.apply(o,p);return yr(e)&&Dr(f,p),f.placeholder=i,Tr(f,e,t)}function Ko(e){var t=Ce[e];return function(e,n){if(e=vs(e),(n=null==n?0:bn(gs(n),292))&&fn(e)){var i=(_s(e)+"e").split("e");return+((i=(_s(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Yo=En&&1/nn(new En([,-0]))[1]==d?function(e){return new En(e)}:cl;function $o(e){return function(t){var n=pr(t);return n==w?Xt(t):n==k?on(t):function(e,t){return St(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Jo(e,t,n,a,d,u,h,p){var f=2&t;if(!f&&"function"!=typeof e)throw new ke(r);var g=a?a.length:0;if(g||(t&=-97,a=d=o),h=h===o?h:vn(gs(h),0),p=p===o?p:gs(p),g-=d?d.length:0,64&t){var m=a,v=d;a=d=o}var b=f?o:or(e),_=[e,t,n,a,d,m,v,u,h,p];if(b&&function(e,t){var n=e[1],i=t[1],o=n|i,r=o<131,a=i==c&&8==n||i==c&&256==n&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!r&&!a)return e;1&i&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var d=e[3];e[3]=d?Eo(d,l,t[4]):l,e[4]=d?tn(e[3],s):t[4]}(l=t[5])&&(d=e[5],e[5]=d?ko(d,l,t[6]):l,e[6]=d?tn(e[5],s):t[6]),(l=t[7])&&(e[7]=l),i&c&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(_,b),e=_[0],t=_[1],n=_[2],a=_[3],d=_[4],!(p=_[9]=_[9]===o?f?0:e.length:vn(_[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)y=8==t||16==t?function(e,t,n){var r=Po(e);return function a(){for(var s=arguments.length,l=i(s),c=s,d=ar(a);c--;)l[c]=arguments[c];var u=s<3&&l[0]!==d&&l[s-1]!==d?[]:tn(l,d);return(s-=u.length)<n?Go(e,t,jo,a.placeholder,o,l,u,o,o,n-s):vt(this&&this!==rt&&this instanceof a?r:e,this,l)}}(e,t,p):t!=l&&33!=t||d.length?jo.apply(o,_):function(e,t,n,o){var r=1&t,a=Po(e);return function t(){for(var s=-1,l=arguments.length,c=-1,d=o.length,u=i(d+l),h=this&&this!==rt&&this instanceof t?a:e;++c<d;)u[c]=o[c];for(;l--;)u[c++]=arguments[++s];return vt(h,r?n:this,u)}}(e,t,n,a);else var y=function(e,t,n){var i=1&t,o=Po(e);return function t(){return(this&&this!==rt&&this instanceof t?o:e).apply(i?n:this,arguments)}}(e,t,n);return Tr((b?Zi:Dr)(y,_),e,t)}function qo(e,t,n,i){return e===o||Va(e,Ne[n])&&!Le.call(i,n)?t:e}function Zo(e,t,n,i,r,a){return ts(e)&&ts(t)&&(a.set(t,e),zi(e,t,o,Zo,a),a.delete(t)),e}function Xo(e){return rs(e)?o:e}function er(e,t,n,i,r,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var d=a.get(e),u=a.get(t);if(d&&u)return d==t&&u==e;var h=-1,p=!0,f=2&n?new Kn:o;for(a.set(e,t),a.set(t,e);++h<l;){var g=e[h],m=t[h];if(i)var v=s?i(m,g,h,t,e,a):i(g,m,h,e,t,a);if(v!==o){if(v)continue;p=!1;break}if(f){if(!Dt(t,(function(e,t){if(!Qt(f,t)&&(g===e||r(g,e,n,i,a)))return f.push(t)}))){p=!1;break}}else if(g!==m&&!r(g,m,n,i,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function tr(e){return Ir(Sr(e,o,Gr),e+"")}function nr(e){return Ci(e,Ts,ur)}function ir(e){return Ci(e,Ls,hr)}var or=Dn?function(e){return Dn.get(e)}:cl;function rr(e){for(var t=e.name+"",n=Nn[t],i=Le.call(Nn,t)?n.length:0;i--;){var o=n[i],r=o.func;if(null==r||r==e)return o.name}return t}function ar(e){return(Le.call(jn,"placeholder")?jn:e).placeholder}function sr(){var e=jn.iteratee||rl;return e=e===rl?Bi:e,arguments.length?e(arguments[0],arguments[1]):e}function lr(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function cr(e){for(var t=Ts(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,Cr(o)]}return t}function dr(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Li(n)?n:o}var ur=hn?function(e){return null==e?[]:(e=xe(e),wt(hn(e),(function(t){return et.call(e,t)})))}:ml,hr=hn?function(e){for(var t=[];e;)Et(t,ur(e)),e=Ge(e);return t}:ml,pr=xi;function fr(e,t,n){for(var i=-1,o=(t=bo(t,e)).length,r=!1;++i<o;){var a=Rr(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||++i!=o?r:!!(o=null==e?0:e.length)&&es(o)&&vr(a,o)&&(Qa(e)||Ua(e))}function gr(e){return"function"!=typeof e.constructor||wr(e)?{}:zn(Ge(e))}function mr(e){return Qa(e)||Ua(e)||!!(ot&&e&&e[ot])}function vr(e,t){var n=typeof e;return!!(t=null==t?u:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function br(e,t,n){if(!ts(n))return!1;var i=typeof t;return!!("number"==i?Ka(n)&&vr(t,n.length):"string"==i&&t in n)&&Va(n[t],e)}function _r(e,t){if(Qa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!cs(e))||X.test(e)||!Z.test(e)||null!=t&&e in xe(t)}function yr(e){var t=rr(e),n=jn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var i=or(n);return!!i&&e===i[0]}(Cn&&pr(new Cn(new ArrayBuffer(1)))!=T||xn&&pr(new xn)!=w||Sn&&pr(Sn.resolve())!=S||En&&pr(new En)!=k||kn&&pr(new kn)!=N)&&(pr=function(e){var t=xi(e),n=t==x?e.constructor:o,i=n?jr(n):"";if(i)switch(i){case In:return T;case Tn:return w;case Ln:return S;case Bn:return k;case On:return N}return t});var Ar=Ie?Za:vl;function wr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ne)}function Cr(e){return e==e&&!ts(e)}function xr(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in xe(n))}}function Sr(e,t,n){return t=vn(t===o?e.length-1:t,0),function(){for(var o=arguments,r=-1,a=vn(o.length-t,0),s=i(a);++r<a;)s[r]=o[t+r];r=-1;for(var l=i(t+1);++r<t;)l[r]=o[r];return l[t]=n(s),vt(e,this,l)}}function Er(e,t){return t.length<2?e:wi(e,to(t,0,-1))}function kr(e,t){for(var n=e.length,i=bn(t.length,n),r=Mo(e);i--;){var a=t[i];e[i]=vr(a,n)?r[a]:o}return e}function Mr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Dr=Lr(Zi),Nr=Rt||function(e,t){return rt.setTimeout(e,t)},Ir=Lr(Xi);function Tr(e,t,n){var i=t+"";return Ir(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(re,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return _t(f,(function(n){var i="_."+n[0];t&n[1]&&!Ct(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(i),n)))}function Lr(e){var t=0,n=0;return function(){var i=_n(),r=16-(i-n);if(n=i,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Br(e,t){var n=-1,i=e.length,r=i-1;for(t=t===o?i:t;++n<t;){var a=Gi(n,r),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Or,Pr,Fr=(Or=Oa((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,i,o){t.push(i?o.replace(de,"$1"):n||e)})),t}),(function(e){return 500===Pr.size&&Pr.clear(),e})),Pr=Or.cache,Or);function Rr(e){if("string"==typeof e||cs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function jr(e){if(null!=e){try{return Te.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function zr(e){if(e instanceof Hn)return e.clone();var t=new Wn(e.__wrapped__,e.__chain__);return t.__actions__=Mo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Vr=Yi((function(e,t){return Ya(e)?di(e,mi(t,1,Ya,!0)):[]})),Wr=Yi((function(e,t){var n=qr(t);return Ya(n)&&(n=o),Ya(e)?di(e,mi(t,1,Ya,!0),sr(n,2)):[]})),Hr=Yi((function(e,t){var n=qr(t);return Ya(n)&&(n=o),Ya(e)?di(e,mi(t,1,Ya,!0),o,n):[]}));function Ur(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=null==n?0:gs(n);return o<0&&(o=vn(i+o,0)),Tt(e,sr(t,3),o)}function Qr(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==o&&(r=gs(n),r=n<0?vn(i+r,0):bn(r,i-1)),Tt(e,sr(t,3),r,!0)}function Gr(e){return null!=e&&e.length?mi(e,1):[]}function Kr(e){return e&&e.length?e[0]:o}var Yr=Yi((function(e){var t=St(e,mo);return t.length&&t[0]===e[0]?Mi(t):[]})),$r=Yi((function(e){var t=qr(e),n=St(e,mo);return t===qr(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Mi(n,sr(t,2)):[]})),Jr=Yi((function(e){var t=qr(e),n=St(e,mo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Mi(n,o,t):[]}));function qr(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Zr=Yi(Xr);function Xr(e,t){return e&&e.length&&t&&t.length?Ui(e,t):e}var ea=tr((function(e,t){var n=null==e?0:e.length,i=ri(e,t);return Qi(e,St(t,(function(e){return vr(e,n)?+e:e})).sort(So)),i}));function ta(e){return null==e?e:wn.call(e)}var na=Yi((function(e){return lo(mi(e,1,Ya,!0))})),ia=Yi((function(e){var t=qr(e);return Ya(t)&&(t=o),lo(mi(e,1,Ya,!0),sr(t,2))})),oa=Yi((function(e){var t=qr(e);return t="function"==typeof t?t:o,lo(mi(e,1,Ya,!0),o,t)}));function ra(e){if(!e||!e.length)return[];var t=0;return e=wt(e,(function(e){if(Ya(e))return t=vn(e.length,t),!0})),Vt(t,(function(t){return St(e,Ft(t))}))}function aa(e,t){if(!e||!e.length)return[];var n=ra(e);return null==t?n:St(n,(function(e){return vt(t,o,e)}))}var sa=Yi((function(e,t){return Ya(e)?di(e,t):[]})),la=Yi((function(e){return fo(wt(e,Ya))})),ca=Yi((function(e){var t=qr(e);return Ya(t)&&(t=o),fo(wt(e,Ya),sr(t,2))})),da=Yi((function(e){var t=qr(e);return t="function"==typeof t?t:o,fo(wt(e,Ya),o,t)})),ua=Yi(ra),ha=Yi((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,aa(e,n)}));function pa(e){var t=jn(e);return t.__chain__=!0,t}function fa(e,t){return t(e)}var ga=tr((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return ri(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Hn&&vr(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:fa,args:[r],thisArg:o}),new Wn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(r)})),ma=No((function(e,t,n){Le.call(e,n)?++e[n]:oi(e,n,1)})),va=Fo(Ur),ba=Fo(Qr);function _a(e,t){return(Qa(e)?_t:ui)(e,sr(t,3))}function ya(e,t){return(Qa(e)?yt:hi)(e,sr(t,3))}var Aa=No((function(e,t,n){Le.call(e,n)?e[n].push(t):oi(e,n,[t])})),wa=Yi((function(e,t,n){var o=-1,r="function"==typeof t,a=Ka(e)?i(e.length):[];return ui(e,(function(e){a[++o]=r?vt(t,e,n):Di(e,t,n)})),a})),Ca=No((function(e,t,n){oi(e,n,t)}));function xa(e,t){return(Qa(e)?St:Fi)(e,sr(t,3))}var Sa=No((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ea=Yi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&br(e,t[0],t[1])?t=[]:n>2&&br(t[0],t[1],t[2])&&(t=[t[0]]),Wi(e,mi(t,1),[])})),ka=Nt||function(){return rt.Date.now()};function Ma(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,c,o,o,o,o,t)}function Da(e,t){var n;if("function"!=typeof t)throw new ke(r);return e=gs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Na=Yi((function(e,t,n){var i=1;if(n.length){var o=tn(n,ar(Na));i|=l}return Jo(e,i,t,n,o)})),Ia=Yi((function(e,t,n){var i=3;if(n.length){var o=tn(n,ar(Ia));i|=l}return Jo(t,i,e,n,o)}));function Ta(e,t,n){var i,a,s,l,c,d,u=0,h=!1,p=!1,f=!0;if("function"!=typeof e)throw new ke(r);function g(t){var n=i,r=a;return i=a=o,u=t,l=e.apply(r,n)}function m(e){return u=e,c=Nr(b,t),h?g(e):l}function v(e){var n=e-d;return d===o||n>=t||n<0||p&&e-u>=s}function b(){var e=ka();if(v(e))return _(e);c=Nr(b,function(e){var n=t-(e-d);return p?bn(n,s-(e-u)):n}(e))}function _(e){return c=o,f&&i?g(e):(i=a=o,l)}function y(){var e=ka(),n=v(e);if(i=arguments,a=this,d=e,n){if(c===o)return m(d);if(p)return Ao(c),c=Nr(b,t),g(d)}return c===o&&(c=Nr(b,t)),l}return t=vs(t)||0,ts(n)&&(h=!!n.leading,s=(p="maxWait"in n)?vn(vs(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),y.cancel=function(){c!==o&&Ao(c),u=0,i=d=a=c=o},y.flush=function(){return c===o?l:_(ka())},y}var La=Yi((function(e,t){return ci(e,1,t)})),Ba=Yi((function(e,t,n){return ci(e,vs(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ke(r);var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var a=e.apply(this,i);return n.cache=r.set(o,a)||r,a};return n.cache=new(Oa.Cache||Gn),n}function Pa(e){if("function"!=typeof e)throw new ke(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Gn;var Fa=_o((function(e,t){var n=(t=1==t.length&&Qa(t[0])?St(t[0],Ht(sr())):St(mi(t,1),Ht(sr()))).length;return Yi((function(i){for(var o=-1,r=bn(i.length,n);++o<r;)i[o]=t[o].call(this,i[o]);return vt(e,this,i)}))})),Ra=Yi((function(e,t){var n=tn(t,ar(Ra));return Jo(e,l,o,t,n)})),ja=Yi((function(e,t){var n=tn(t,ar(ja));return Jo(e,64,o,t,n)})),za=tr((function(e,t){return Jo(e,256,o,o,o,t)}));function Va(e,t){return e===t||e!=e&&t!=t}var Wa=Qo(Si),Ha=Qo((function(e,t){return e>=t})),Ua=Ni(function(){return arguments}())?Ni:function(e){return ns(e)&&Le.call(e,"callee")&&!et.call(e,"callee")},Qa=i.isArray,Ga=ut?Ht(ut):function(e){return ns(e)&&xi(e)==I};function Ka(e){return null!=e&&es(e.length)&&!Za(e)}function Ya(e){return ns(e)&&Ka(e)}var $a=pn||vl,Ja=ht?Ht(ht):function(e){return ns(e)&&xi(e)==b};function qa(e){if(!ns(e))return!1;var t=xi(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Za(e){if(!ts(e))return!1;var t=xi(e);return t==y||t==A||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==gs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var is=pt?Ht(pt):function(e){return ns(e)&&pr(e)==w};function os(e){return"number"==typeof e||ns(e)&&xi(e)==C}function rs(e){if(!ns(e)||xi(e)!=x)return!1;var t=Ge(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Te.call(n)==Fe}var as=ft?Ht(ft):function(e){return ns(e)&&xi(e)==E},ss=gt?Ht(gt):function(e){return ns(e)&&pr(e)==k};function ls(e){return"string"==typeof e||!Qa(e)&&ns(e)&&xi(e)==M}function cs(e){return"symbol"==typeof e||ns(e)&&xi(e)==D}var ds=mt?Ht(mt):function(e){return ns(e)&&es(e.length)&&!!Ze[xi(e)]},us=Qo(Pi),hs=Qo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ka(e))return ls(e)?an(e):Mo(e);if(at&&e[at])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[at]());var t=pr(e);return(t==w?Xt:t==k?nn:Vs)(e)}function fs(e){return e?(e=vs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=fs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ai(gs(e),0,p):0}function vs(e){if("number"==typeof e)return e;if(cs(e))return h;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Wt(e);var n=fe.test(e);return n||me.test(e)?nt(e.slice(2),n?2:8):pe.test(e)?h:+e}function bs(e){return Do(e,Ls(e))}function _s(e){return null==e?"":so(e)}var ys=Io((function(e,t){if(wr(t)||Ka(t))Do(t,Ts(t),e);else for(var n in t)Le.call(t,n)&&ei(e,n,t[n])})),As=Io((function(e,t){Do(t,Ls(t),e)})),ws=Io((function(e,t,n,i){Do(t,Ls(t),e,i)})),Cs=Io((function(e,t,n,i){Do(t,Ts(t),e,i)})),xs=tr(ri),Ss=Yi((function(e,t){e=xe(e);var n=-1,i=t.length,r=i>2?t[2]:o;for(r&&br(t[0],t[1],r)&&(i=1);++n<i;)for(var a=t[n],s=Ls(a),l=-1,c=s.length;++l<c;){var d=s[l],u=e[d];(u===o||Va(u,Ne[d])&&!Le.call(e,d))&&(e[d]=a[d])}return e})),Es=Yi((function(e){return e.push(o,Zo),vt(Os,o,e)}));function ks(e,t,n){var i=null==e?o:wi(e,t);return i===o?n:i}function Ms(e,t){return null!=e&&fr(e,t,ki)}var Ds=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),e[t]=n}),tl(ol)),Ns=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),sr),Is=Yi(Di);function Ts(e){return Ka(e)?$n(e):Oi(e)}function Ls(e){return Ka(e)?$n(e,!0):function(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var n in xe(e))t.push(n);return t}(e);var t=wr(e),n=[];for(var i in e)("constructor"!=i||!t&&Le.call(e,i))&&n.push(i);return n}(e)}var Bs=Io((function(e,t,n){zi(e,t,n)})),Os=Io((function(e,t,n,i){zi(e,t,n,i)})),Ps=tr((function(e,t){var n={};if(null==e)return n;var i=!1;t=St(t,(function(t){return t=bo(t,e),i||(i=t.length>1),t})),Do(e,ir(e),n),i&&(n=si(n,7,Xo));for(var o=t.length;o--;)co(n,t[o]);return n})),Fs=tr((function(e,t){return null==e?{}:function(e,t){return Hi(e,t,(function(t,n){return Ms(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=St(ir(e),(function(e){return[e]}));return t=sr(t),Hi(e,n,(function(e,n){return t(e,n[0])}))}var js=$o(Ts),zs=$o(Ls);function Vs(e){return null==e?[]:Ut(e,Ts(e))}var Ws=Oo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return qs(_s(e).toLowerCase())}function Us(e){return(e=_s(e))&&e.replace(be,$t).replace(Qe,"")}var Qs=Oo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Oo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=Bo("toLowerCase"),Ys=Oo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),$s=Oo((function(e,t,n){return e+(n?" ":"")+qs(t)})),Js=Oo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),qs=Bo("toUpperCase");function Zs(e,t,n){return e=_s(e),(t=n?o:t)===o?function(e){return $e.test(e)}(e)?function(e){return e.match(Ke)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Xs=Yi((function(e,t){try{return vt(e,o,t)}catch(e){return qa(e)?e:new Ae(e)}})),el=tr((function(e,t){return _t(t,(function(t){t=Rr(t),oi(e,t,Na(e[t],e))})),e}));function tl(e){return function(){return e}}var nl=Ro(),il=Ro(!0);function ol(e){return e}function rl(e){return Bi("function"==typeof e?e:si(e,1))}var al=Yi((function(e,t){return function(n){return Di(n,e,t)}})),sl=Yi((function(e,t){return function(n){return Di(e,n,t)}}));function ll(e,t,n){var i=Ts(t),o=Ai(t,i);null!=n||ts(t)&&(o.length||!i.length)||(n=t,t=e,e=this,o=Ai(t,Ts(t)));var r=!(ts(n)&&"chain"in n&&!n.chain),a=Za(e);return _t(o,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(r||t){var n=e(this.__wrapped__),o=n.__actions__=Mo(this.__actions__);return o.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Et([this.value()],arguments))})})),e}function cl(){}var dl=Wo(St),ul=Wo(At),hl=Wo(Dt);function pl(e){return _r(e)?Ft(Rr(e)):function(e){return function(t){return wi(t,e)}}(e)}var fl=Uo(),gl=Uo(!0);function ml(){return[]}function vl(){return!1}var bl,_l=Vo((function(e,t){return e+t}),0),yl=Ko("ceil"),Al=Vo((function(e,t){return e/t}),1),wl=Ko("floor"),Cl=Vo((function(e,t){return e*t}),1),xl=Ko("round"),Sl=Vo((function(e,t){return e-t}),0);return jn.after=function(e,t){if("function"!=typeof t)throw new ke(r);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},jn.ary=Ma,jn.assign=ys,jn.assignIn=As,jn.assignInWith=ws,jn.assignWith=Cs,jn.at=xs,jn.before=Da,jn.bind=Na,jn.bindAll=el,jn.bindKey=Ia,jn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qa(e)?e:[e]},jn.chain=pa,jn.chunk=function(e,t,n){t=(n?br(e,t,n):t===o)?1:vn(gs(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var a=0,s=0,l=i(dn(r/t));a<r;)l[s++]=to(e,a,a+=t);return l},jn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,o=[];++t<n;){var r=e[t];r&&(o[i++]=r)}return o},jn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Et(Qa(n)?Mo(n):[n],mi(t,1))},jn.cond=function(e){var t=null==e?0:e.length,n=sr();return e=t?St(e,(function(e){if("function"!=typeof e[1])throw new ke(r);return[n(e[0]),e[1]]})):[],Yi((function(n){for(var i=-1;++i<t;){var o=e[i];if(vt(o[0],this,n))return vt(o[1],this,n)}}))},jn.conforms=function(e){return function(e){var t=Ts(e);return function(n){return li(n,e,t)}}(si(e,1))},jn.constant=tl,jn.countBy=ma,jn.create=function(e,t){var n=zn(e);return null==t?n:ii(n,t)},jn.curry=function e(t,n,i){var r=Jo(t,8,o,o,o,o,o,n=i?o:n);return r.placeholder=e.placeholder,r},jn.curryRight=function e(t,n,i){var r=Jo(t,16,o,o,o,o,o,n=i?o:n);return r.placeholder=e.placeholder,r},jn.debounce=Ta,jn.defaults=Ss,jn.defaultsDeep=Es,jn.defer=La,jn.delay=Ba,jn.difference=Vr,jn.differenceBy=Wr,jn.differenceWith=Hr,jn.drop=function(e,t,n){var i=null==e?0:e.length;return i?to(e,(t=n||t===o?1:gs(t))<0?0:t,i):[]},jn.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?to(e,0,(t=i-(t=n||t===o?1:gs(t)))<0?0:t):[]},jn.dropRightWhile=function(e,t){return e&&e.length?ho(e,sr(t,3),!0,!0):[]},jn.dropWhile=function(e,t){return e&&e.length?ho(e,sr(t,3),!0):[]},jn.fill=function(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&br(e,t,n)&&(n=0,i=r),function(e,t,n,i){var r=e.length;for((n=gs(n))<0&&(n=-n>r?0:r+n),(i=i===o||i>r?r:gs(i))<0&&(i+=r),i=n>i?0:ms(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},jn.filter=function(e,t){return(Qa(e)?wt:gi)(e,sr(t,3))},jn.flatMap=function(e,t){return mi(xa(e,t),1)},jn.flatMapDeep=function(e,t){return mi(xa(e,t),d)},jn.flatMapDepth=function(e,t,n){return n=n===o?1:gs(n),mi(xa(e,t),n)},jn.flatten=Gr,jn.flattenDeep=function(e){return null!=e&&e.length?mi(e,d):[]},jn.flattenDepth=function(e,t){return null!=e&&e.length?mi(e,t=t===o?1:gs(t)):[]},jn.flip=function(e){return Jo(e,512)},jn.flow=nl,jn.flowRight=il,jn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var o=e[t];i[o[0]]=o[1]}return i},jn.functions=function(e){return null==e?[]:Ai(e,Ts(e))},jn.functionsIn=function(e){return null==e?[]:Ai(e,Ls(e))},jn.groupBy=Aa,jn.initial=function(e){return null!=e&&e.length?to(e,0,-1):[]},jn.intersection=Yr,jn.intersectionBy=$r,jn.intersectionWith=Jr,jn.invert=Ds,jn.invertBy=Ns,jn.invokeMap=wa,jn.iteratee=rl,jn.keyBy=Ca,jn.keys=Ts,jn.keysIn=Ls,jn.map=xa,jn.mapKeys=function(e,t){var n={};return t=sr(t,3),_i(e,(function(e,i,o){oi(n,t(e,i,o),e)})),n},jn.mapValues=function(e,t){var n={};return t=sr(t,3),_i(e,(function(e,i,o){oi(n,i,t(e,i,o))})),n},jn.matches=function(e){return Ri(si(e,1))},jn.matchesProperty=function(e,t){return ji(e,si(t,1))},jn.memoize=Oa,jn.merge=Bs,jn.mergeWith=Os,jn.method=al,jn.methodOf=sl,jn.mixin=ll,jn.negate=Pa,jn.nthArg=function(e){return e=gs(e),Yi((function(t){return Vi(t,e)}))},jn.omit=Ps,jn.omitBy=function(e,t){return Rs(e,Pa(sr(t)))},jn.once=function(e){return Da(2,e)},jn.orderBy=function(e,t,n,i){return null==e?[]:(Qa(t)||(t=null==t?[]:[t]),Qa(n=i?o:n)||(n=null==n?[]:[n]),Wi(e,t,n))},jn.over=dl,jn.overArgs=Fa,jn.overEvery=ul,jn.overSome=hl,jn.partial=Ra,jn.partialRight=ja,jn.partition=Sa,jn.pick=Fs,jn.pickBy=Rs,jn.property=pl,jn.propertyOf=function(e){return function(t){return null==e?o:wi(e,t)}},jn.pull=Zr,jn.pullAll=Xr,jn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ui(e,t,sr(n,2)):e},jn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Ui(e,t,o,n):e},jn.pullAt=ea,jn.range=fl,jn.rangeRight=gl,jn.rearg=za,jn.reject=function(e,t){return(Qa(e)?wt:gi)(e,Pa(sr(t,3)))},jn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,o=[],r=e.length;for(t=sr(t,3);++i<r;){var a=e[i];t(a,i,e)&&(n.push(a),o.push(i))}return Qi(e,o),n},jn.rest=function(e,t){if("function"!=typeof e)throw new ke(r);return Yi(e,t=t===o?t:gs(t))},jn.reverse=ta,jn.sampleSize=function(e,t,n){return t=(n?br(e,t,n):t===o)?1:gs(t),(Qa(e)?qn:Ji)(e,t)},jn.set=function(e,t,n){return null==e?e:qi(e,t,n)},jn.setWith=function(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:qi(e,t,n,i)},jn.shuffle=function(e){return(Qa(e)?Zn:eo)(e)},jn.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&br(e,t,n)?(t=0,n=i):(t=null==t?0:gs(t),n=n===o?i:gs(n)),to(e,t,n)):[]},jn.sortBy=Ea,jn.sortedUniq=function(e){return e&&e.length?ro(e):[]},jn.sortedUniqBy=function(e,t){return e&&e.length?ro(e,sr(t,2)):[]},jn.split=function(e,t,n){return n&&"number"!=typeof n&&br(e,t,n)&&(t=n=o),(n=n===o?p:n>>>0)?(e=_s(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=so(t))&&Zt(e)?yo(an(e),0,n):e.split(t,n):[]},jn.spread=function(e,t){if("function"!=typeof e)throw new ke(r);return t=null==t?0:vn(gs(t),0),Yi((function(n){var i=n[t],o=yo(n,0,t);return i&&Et(o,i),vt(e,this,o)}))},jn.tail=function(e){var t=null==e?0:e.length;return t?to(e,1,t):[]},jn.take=function(e,t,n){return e&&e.length?to(e,0,(t=n||t===o?1:gs(t))<0?0:t):[]},jn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?to(e,(t=i-(t=n||t===o?1:gs(t)))<0?0:t,i):[]},jn.takeRightWhile=function(e,t){return e&&e.length?ho(e,sr(t,3),!1,!0):[]},jn.takeWhile=function(e,t){return e&&e.length?ho(e,sr(t,3)):[]},jn.tap=function(e,t){return t(e),e},jn.throttle=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new ke(r);return ts(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),Ta(e,t,{leading:i,maxWait:t,trailing:o})},jn.thru=fa,jn.toArray=ps,jn.toPairs=js,jn.toPairsIn=zs,jn.toPath=function(e){return Qa(e)?St(e,Rr):cs(e)?[e]:Mo(Fr(_s(e)))},jn.toPlainObject=bs,jn.transform=function(e,t,n){var i=Qa(e),o=i||$a(e)||ds(e);if(t=sr(t,4),null==n){var r=e&&e.constructor;n=o?i?new r:[]:ts(e)&&Za(r)?zn(Ge(e)):{}}return(o?_t:_i)(e,(function(e,i,o){return t(n,e,i,o)})),n},jn.unary=function(e){return Ma(e,1)},jn.union=na,jn.unionBy=ia,jn.unionWith=oa,jn.uniq=function(e){return e&&e.length?lo(e):[]},jn.uniqBy=function(e,t){return e&&e.length?lo(e,sr(t,2)):[]},jn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?lo(e,o,t):[]},jn.unset=function(e,t){return null==e||co(e,t)},jn.unzip=ra,jn.unzipWith=aa,jn.update=function(e,t,n){return null==e?e:uo(e,t,vo(n))},jn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:o,null==e?e:uo(e,t,vo(n),i)},jn.values=Vs,jn.valuesIn=function(e){return null==e?[]:Ut(e,Ls(e))},jn.without=sa,jn.words=Zs,jn.wrap=function(e,t){return Ra(vo(t),e)},jn.xor=la,jn.xorBy=ca,jn.xorWith=da,jn.zip=ua,jn.zipObject=function(e,t){return go(e||[],t||[],ei)},jn.zipObjectDeep=function(e,t){return go(e||[],t||[],qi)},jn.zipWith=ha,jn.entries=js,jn.entriesIn=zs,jn.extend=As,jn.extendWith=ws,ll(jn,jn),jn.add=_l,jn.attempt=Xs,jn.camelCase=Ws,jn.capitalize=Hs,jn.ceil=yl,jn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=vs(n))==n?n:0),t!==o&&(t=(t=vs(t))==t?t:0),ai(vs(e),t,n)},jn.clone=function(e){return si(e,4)},jn.cloneDeep=function(e){return si(e,5)},jn.cloneDeepWith=function(e,t){return si(e,5,t="function"==typeof t?t:o)},jn.cloneWith=function(e,t){return si(e,4,t="function"==typeof t?t:o)},jn.conformsTo=function(e,t){return null==t||li(e,t,Ts(t))},jn.deburr=Us,jn.defaultTo=function(e,t){return null==e||e!=e?t:e},jn.divide=Al,jn.endsWith=function(e,t,n){e=_s(e),t=so(t);var i=e.length,r=n=n===o?i:ai(gs(n),0,i);return(n-=t.length)>=0&&e.slice(n,r)==t},jn.eq=Va,jn.escape=function(e){return(e=_s(e))&&Y.test(e)?e.replace(G,Jt):e},jn.escapeRegExp=function(e){return(e=_s(e))&&ne.test(e)?e.replace(te,"\\$&"):e},jn.every=function(e,t,n){var i=Qa(e)?At:pi;return n&&br(e,t,n)&&(t=o),i(e,sr(t,3))},jn.find=va,jn.findIndex=Ur,jn.findKey=function(e,t){return It(e,sr(t,3),_i)},jn.findLast=ba,jn.findLastIndex=Qr,jn.findLastKey=function(e,t){return It(e,sr(t,3),yi)},jn.floor=wl,jn.forEach=_a,jn.forEachRight=ya,jn.forIn=function(e,t){return null==e?e:vi(e,sr(t,3),Ls)},jn.forInRight=function(e,t){return null==e?e:bi(e,sr(t,3),Ls)},jn.forOwn=function(e,t){return e&&_i(e,sr(t,3))},jn.forOwnRight=function(e,t){return e&&yi(e,sr(t,3))},jn.get=ks,jn.gt=Wa,jn.gte=Ha,jn.has=function(e,t){return null!=e&&fr(e,t,Ei)},jn.hasIn=Ms,jn.head=Kr,jn.identity=ol,jn.includes=function(e,t,n,i){e=Ka(e)?e:Vs(e),n=n&&!i?gs(n):0;var o=e.length;return n<0&&(n=vn(o+n,0)),ls(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Lt(e,t,n)>-1},jn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=null==n?0:gs(n);return o<0&&(o=vn(i+o,0)),Lt(e,t,o)},jn.inRange=function(e,t,n){return t=fs(t),n===o?(n=t,t=0):n=fs(n),function(e,t,n){return e>=bn(t,n)&&e<vn(t,n)}(e=vs(e),t,n)},jn.invoke=Is,jn.isArguments=Ua,jn.isArray=Qa,jn.isArrayBuffer=Ga,jn.isArrayLike=Ka,jn.isArrayLikeObject=Ya,jn.isBoolean=function(e){return!0===e||!1===e||ns(e)&&xi(e)==v},jn.isBuffer=$a,jn.isDate=Ja,jn.isElement=function(e){return ns(e)&&1===e.nodeType&&!rs(e)},jn.isEmpty=function(e){if(null==e)return!0;if(Ka(e)&&(Qa(e)||"string"==typeof e||"function"==typeof e.splice||$a(e)||ds(e)||Ua(e)))return!e.length;var t=pr(e);if(t==w||t==k)return!e.size;if(wr(e))return!Oi(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},jn.isEqual=function(e,t){return Ii(e,t)},jn.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:o)?n(e,t):o;return i===o?Ii(e,t,o,n):!!i},jn.isError=qa,jn.isFinite=function(e){return"number"==typeof e&&fn(e)},jn.isFunction=Za,jn.isInteger=Xa,jn.isLength=es,jn.isMap=is,jn.isMatch=function(e,t){return e===t||Ti(e,t,cr(t))},jn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Ti(e,t,cr(t),n)},jn.isNaN=function(e){return os(e)&&e!=+e},jn.isNative=function(e){if(Ar(e))throw new Ae("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Li(e)},jn.isNil=function(e){return null==e},jn.isNull=function(e){return null===e},jn.isNumber=os,jn.isObject=ts,jn.isObjectLike=ns,jn.isPlainObject=rs,jn.isRegExp=as,jn.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=u},jn.isSet=ss,jn.isString=ls,jn.isSymbol=cs,jn.isTypedArray=ds,jn.isUndefined=function(e){return e===o},jn.isWeakMap=function(e){return ns(e)&&pr(e)==N},jn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==xi(e)},jn.join=function(e,t){return null==e?"":gn.call(e,t)},jn.kebabCase=Qs,jn.last=qr,jn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==o&&(r=(r=gs(n))<0?vn(i+r,0):bn(r,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):Tt(e,Ot,r,!0)},jn.lowerCase=Gs,jn.lowerFirst=Ks,jn.lt=us,jn.lte=hs,jn.max=function(e){return e&&e.length?fi(e,ol,Si):o},jn.maxBy=function(e,t){return e&&e.length?fi(e,sr(t,2),Si):o},jn.mean=function(e){return Pt(e,ol)},jn.meanBy=function(e,t){return Pt(e,sr(t,2))},jn.min=function(e){return e&&e.length?fi(e,ol,Pi):o},jn.minBy=function(e,t){return e&&e.length?fi(e,sr(t,2),Pi):o},jn.stubArray=ml,jn.stubFalse=vl,jn.stubObject=function(){return{}},jn.stubString=function(){return""},jn.stubTrue=function(){return!0},jn.multiply=Cl,jn.nth=function(e,t){return e&&e.length?Vi(e,gs(t)):o},jn.noConflict=function(){return rt._===this&&(rt._=Re),this},jn.noop=cl,jn.now=ka,jn.pad=function(e,t,n){e=_s(e);var i=(t=gs(t))?rn(e):0;if(!t||i>=t)return e;var o=(t-i)/2;return Ho(un(o),n)+e+Ho(dn(o),n)},jn.padEnd=function(e,t,n){e=_s(e);var i=(t=gs(t))?rn(e):0;return t&&i<t?e+Ho(t-i,n):e},jn.padStart=function(e,t,n){e=_s(e);var i=(t=gs(t))?rn(e):0;return t&&i<t?Ho(t-i,n)+e:e},jn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),yn(_s(e).replace(ie,""),t||0)},jn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&br(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=fs(e),t===o?(t=e,e=0):t=fs(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=An();return bn(e+r*(t-e+tt("1e-"+((r+"").length-1))),t)}return Gi(e,t)},jn.reduce=function(e,t,n){var i=Qa(e)?kt:jt,o=arguments.length<3;return i(e,sr(t,4),n,o,ui)},jn.reduceRight=function(e,t,n){var i=Qa(e)?Mt:jt,o=arguments.length<3;return i(e,sr(t,4),n,o,hi)},jn.repeat=function(e,t,n){return t=(n?br(e,t,n):t===o)?1:gs(t),Ki(_s(e),t)},jn.replace=function(){var e=arguments,t=_s(e[0]);return e.length<3?t:t.replace(e[1],e[2])},jn.result=function(e,t,n){var i=-1,r=(t=bo(t,e)).length;for(r||(r=1,e=o);++i<r;){var a=null==e?o:e[Rr(t[i])];a===o&&(i=r,a=n),e=Za(a)?a.call(e):a}return e},jn.round=xl,jn.runInContext=e,jn.sample=function(e){return(Qa(e)?Jn:$i)(e)},jn.size=function(e){if(null==e)return 0;if(Ka(e))return ls(e)?rn(e):e.length;var t=pr(e);return t==w||t==k?e.size:Oi(e).length},jn.snakeCase=Ys,jn.some=function(e,t,n){var i=Qa(e)?Dt:no;return n&&br(e,t,n)&&(t=o),i(e,sr(t,3))},jn.sortedIndex=function(e,t){return io(e,t)},jn.sortedIndexBy=function(e,t,n){return oo(e,t,sr(n,2))},jn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=io(e,t);if(i<n&&Va(e[i],t))return i}return-1},jn.sortedLastIndex=function(e,t){return io(e,t,!0)},jn.sortedLastIndexBy=function(e,t,n){return oo(e,t,sr(n,2),!0)},jn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=io(e,t,!0)-1;if(Va(e[n],t))return n}return-1},jn.startCase=$s,jn.startsWith=function(e,t,n){return e=_s(e),n=null==n?0:ai(gs(n),0,e.length),t=so(t),e.slice(n,n+t.length)==t},jn.subtract=Sl,jn.sum=function(e){return e&&e.length?zt(e,ol):0},jn.sumBy=function(e,t){return e&&e.length?zt(e,sr(t,2)):0},jn.template=function(e,t,n){var i=jn.templateSettings;n&&br(e,t,n)&&(t=o),e=_s(e),t=ws({},t,i,qo);var r,a,s=ws({},t.imports,i.imports,qo),l=Ts(s),c=Ut(s,l),d=0,u=t.interpolate||_e,h="__p += '",p=Se((t.escape||_e).source+"|"+u.source+"|"+(u===q?ue:_e).source+"|"+(t.evaluate||_e).source+"|$","g"),f="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++qe+"]")+"\n";e.replace(p,(function(t,n,i,o,s,l){return i||(i=o),h+=e.slice(d,l).replace(ye,qt),n&&(r=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+t.length,t})),h+="';\n";var g=Le.call(t,"variable")&&t.variable;if(g){if(ce.test(g))throw new Ae("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(W,""):h).replace(H,"$1").replace(U,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=Xs((function(){return we(l,f+"return "+h).apply(o,c)}));if(m.source=h,qa(m))throw m;return m},jn.times=function(e,t){if((e=gs(e))<1||e>u)return[];var n=p,i=bn(e,p);t=sr(t),e-=p;for(var o=Vt(i,t);++n<e;)t(n);return o},jn.toFinite=fs,jn.toInteger=gs,jn.toLength=ms,jn.toLower=function(e){return _s(e).toLowerCase()},jn.toNumber=vs,jn.toSafeInteger=function(e){return e?ai(gs(e),-9007199254740991,u):0===e?e:0},jn.toString=_s,jn.toUpper=function(e){return _s(e).toUpperCase()},jn.trim=function(e,t,n){if((e=_s(e))&&(n||t===o))return Wt(e);if(!e||!(t=so(t)))return e;var i=an(e),r=an(t);return yo(i,Gt(i,r),Kt(i,r)+1).join("")},jn.trimEnd=function(e,t,n){if((e=_s(e))&&(n||t===o))return e.slice(0,sn(e)+1);if(!e||!(t=so(t)))return e;var i=an(e);return yo(i,0,Kt(i,an(t))+1).join("")},jn.trimStart=function(e,t,n){if((e=_s(e))&&(n||t===o))return e.replace(ie,"");if(!e||!(t=so(t)))return e;var i=an(e);return yo(i,Gt(i,an(t))).join("")},jn.truncate=function(e,t){var n=30,i="...";if(ts(t)){var r="separator"in t?t.separator:r;n="length"in t?gs(t.length):n,i="omission"in t?so(t.omission):i}var a=(e=_s(e)).length;if(Zt(e)){var s=an(e);a=s.length}if(n>=a)return e;var l=n-rn(i);if(l<1)return i;var c=s?yo(s,0,l).join(""):e.slice(0,l);if(r===o)return c+i;if(s&&(l+=c.length-l),as(r)){if(e.slice(l).search(r)){var d,u=c;for(r.global||(r=Se(r.source,_s(he.exec(r))+"g")),r.lastIndex=0;d=r.exec(u);)var h=d.index;c=c.slice(0,h===o?l:h)}}else if(e.indexOf(so(r),l)!=l){var p=c.lastIndexOf(r);p>-1&&(c=c.slice(0,p))}return c+i},jn.unescape=function(e){return(e=_s(e))&&K.test(e)?e.replace(Q,ln):e},jn.uniqueId=function(e){var t=++Be;return _s(e)+t},jn.upperCase=Js,jn.upperFirst=qs,jn.each=_a,jn.eachRight=ya,jn.first=Kr,ll(jn,(bl={},_i(jn,(function(e,t){Le.call(jn.prototype,t)||(bl[t]=e)})),bl),{chain:!1}),jn.VERSION="4.17.21",_t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){jn[e].placeholder=jn})),_t(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===o?1:vn(gs(n),0);var i=this.__filtered__&&!t?new Hn(this):this.clone();return i.__filtered__?i.__takeCount__=bn(n,i.__takeCount__):i.__views__.push({size:bn(n,p),type:e+(i.__dir__<0?"Right":"")}),i},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),_t(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:sr(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),_t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),_t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(ol)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Yi((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Di(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(Pa(sr(e)))},Hn.prototype.slice=function(e,t){e=gs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=gs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(p)},_i(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=jn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(jn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Hn,c=s[0],d=l||Qa(t),u=function(e){var t=r.apply(jn,Et([e],s));return i&&h?t[0]:t};d&&n&&"function"==typeof c&&1!=c.length&&(l=d=!1);var h=this.__chain__,p=!!this.__actions__.length,f=a&&!h,g=l&&!p;if(!a&&d){t=g?t:new Hn(this);var m=e.apply(t,s);return m.__actions__.push({func:fa,args:[u],thisArg:o}),new Wn(m,h)}return f&&g?e.apply(this,s):(m=this.thru(u),f?i?m.value()[0]:m.value():m)})})),_t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);jn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var o=this.value();return t.apply(Qa(o)?o:[],e)}return this[n]((function(n){return t.apply(Qa(n)?n:[],e)}))}})),_i(Hn.prototype,(function(e,t){var n=jn[t];if(n){var i=n.name+"";Le.call(Nn,i)||(Nn[i]=[]),Nn[i].push({name:t,func:n})}})),Nn[jo(o,2).name]=[{name:"wrapper",func:o}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Mo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mo(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qa(e),i=t<0,o=n?e.length:0,r=function(e,t,n){for(var i=-1,o=n.length;++i<o;){var r=n[i],a=r.size;switch(r.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=vn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=r.start,s=r.end,l=s-a,c=i?s:a-1,d=this.__iteratees__,u=d.length,h=0,p=bn(l,this.__takeCount__);if(!n||!i&&o==l&&p==l)return po(e,this.__actions__);var f=[];e:for(;l--&&h<p;){for(var g=-1,m=e[c+=t];++g<u;){var v=d[g],b=v.iteratee,_=v.type,y=b(m);if(2==_)m=y;else if(!y){if(1==_)continue e;break e}}f[h++]=m}return f},jn.prototype.at=ga,jn.prototype.chain=function(){return pa(this)},jn.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},jn.prototype.next=function(){this.__values__===o&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},jn.prototype.plant=function(e){for(var t,n=this;n instanceof Vn;){var i=zr(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t},jn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:fa,args:[ta],thisArg:o}),new Wn(t,this.__chain__)}return this.thru(ta)},jn.prototype.toJSON=jn.prototype.valueOf=jn.prototype.value=function(){return po(this.__wrapped__,this.__actions__)},jn.prototype.first=jn.prototype.head,at&&(jn.prototype[at]=function(){return this}),jn}();rt._=cn,(i=function(){return cn}.call(t,n,t,e))===o||(e.exports=i)}.call(this)},61230:(e,t,n)=>{var i=n(87500),o=n(44003),r=n(55833);e.exports=function(e,t){var n={};return t=r(t,3),o(e,(function(e,o,r){i(n,o,t(e,o,r))})),n}},67997:(e,t,n)=>{var i=n(95678);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var a=e.apply(this,i);return n.cache=r.set(o,a)||r,a};return n.cache=new(o.Cache||i),n}o.Cache=i,e.exports=o},88469:(e,t,n)=>{var i=n(92133),o=n(66948)((function(e,t,n){i(e,t,n)}));e.exports=o},30606:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},71607:e=>{e.exports=function(){}},80231:(e,t,n)=>{var i=n(83250);e.exports=function(){return i.Date.now()}},55371:(e,t,n)=>{var i=n(55833),o=n(30606),r=n(71800);e.exports=function(e,t){return r(e,o(i(t)))}},40916:(e,t,n)=>{var i=n(54466),o=n(55589);e.exports=function(e,t,n,r){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=r?void 0:n)||(n=null==n?[]:[n]),i(e,t,n))}},49335:(e,t,n)=>{var i=n(21785),o=n(33273)((function(e,t){return null==e?{}:i(e,t)}));e.exports=o},71800:(e,t,n)=>{var i=n(29233),o=n(55833),r=n(57121),a=n(55713);e.exports=function(e,t){if(null==e)return{};var n=i(a(e),(function(e){return[e]}));return t=o(t),r(e,n,(function(e,n){return t(e,n[0])}))}},94437:(e,t,n)=>{var i=n(86174),o=n(3293),r=n(5130),a=n(86040);e.exports=function(e){return r(e)?i(a(e)):o(e)}},38569:(e,t,n)=>{var i=n(51523)();e.exports=i},29040:(e,t,n)=>{var i=n(1831),o=n(55833),r=n(30854),a=n(55589),s=n(98132);e.exports=function(e,t,n){var l=a(e)?i:r;return n&&s(e,t,n)&&(t=void 0),l(e,o(t,3))}},26707:(e,t,n)=>{var i=n(37114);e.exports=function(e){return e&&e.length?i(e):[]}},84506:e=>{e.exports=function(){return[]}},37999:e=>{e.exports=function(){return!1}},28102:(e,t,n)=>{var i=n(23055),o=n(80229);e.exports=function(e){return e&&e.length?i(e,o):0}},14633:(e,t,n)=>{var i=n(77837),o=n(93702);e.exports=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),i(e,t,{leading:r,maxWait:t,trailing:a})}},99558:(e,t,n)=>{var i=n(29153);e.exports=function(e){return e?Infinity===(e=i(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},96843:(e,t,n)=>{var i=n(99558);e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},29153:(e,t,n)=>{var i=n(21656),o=n(93702),r=n(52624),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},37675:(e,t,n)=>{var i=n(43487)(n(62096));e.exports=i},36222:(e,t,n)=>{var i=n(78618),o=n(9882);e.exports=function(e){return i(e,o(e))}},99835:(e,t,n)=>{var i=n(86245);e.exports=function(e){return null==e?"":i(e)}},90292:(e,t,n)=>{var i=n(80135);e.exports=function(e){return e&&e.length?i(e):[]}},3010:(e,t,n)=>{var i=n(55833),o=n(80135);e.exports=function(e,t){return e&&e.length?o(e,i(t,2)):[]}},61422:(e,t,n)=>{var i=n(99835),o=0;e.exports=function(e){var t=++o;return i(e)+t}},31682:(e,t,n)=>{var i=n(20071),o=n(62096);e.exports=function(e){return null==e?[]:i(e,o(e))}},92238:(e,t,n)=>{var i=n(13700),o=n(29735),r=n(18268),a=o((function(e,t){return r(e)?i(e,t):[]}));e.exports=a},61821:(e,t,n)=>{var i=n(55402),o=n(95314),r=n(67476),a=n(55589),s=n(50440),l=n(18153),c=Object.prototype.hasOwnProperty;function d(e){if(s(e)&&!a(e)&&!(e instanceof i)){if(e instanceof o)return e;if(c.call(e,"__wrapped__"))return l(e)}return new o(e)}d.prototype=r.prototype,d.prototype.constructor=d,e.exports=d},92861:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i=n(29901),o=n(89176),r=n(7862),a=n.n(r),s=1073741823,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,i){e=n,t.forEach((function(t){return t(e,i)}))}}}const d=i.createContext||function(e,t){var n,r,d="__create-react-context-"+(l["__global_unique_id__"]=(l.__global_unique_id__||0)+1)+"__",u=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}(0,o.Z)(n,e);var i=n.prototype;return i.getChildContext=function(){var e;return(e={})[d]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,i=this.props.value,o=e.value;((r=i)===(a=o)?0!==r||1/r==1/a:r!=r&&a!=a)?n=0:(n="function"==typeof t?t(i,o):s,0!=(n|=0)&&this.emitter.set(e.value,n))}var r,a},i.render=function(){return this.props.children},n}(i.Component);u.childContextTypes=((n={})[d]=a().object.isRequired,n);var h=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,o.Z)(n,t);var i=n.prototype;return i.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?s:t},i.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?s:e},i.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},i.getValue=function(){return this.context[d]?this.context[d].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(i.Component);return h.contextTypes=((r={})[d]=a().object,r),{Provider:u,Consumer:h}}},66684:(e,t,n)=>{e.exports=h,h.Minimatch=p;const i=(()=>{try{return n(77410)}catch(e){}})()||{sep:"/"};h.sep=i.sep;const o=h.GLOBSTAR=p.GLOBSTAR={},r=n(12249),a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="[^/]",l="[^/]*?",c="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{}),d=/\/+/;function u(e,t){e=e||{},t=t||{};const n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function h(e,t,n){return g(t),n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new p(t,n).match(e))}function p(e,t){if(!(this instanceof p))return new p(e,t);g(e),t||(t={}),e=e.trim(),"/"!==i.sep&&(e=e.split(i.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function f(e,t){return t||(t=this instanceof p?this.options:{}),e=void 0===e?this.pattern:e,g(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:r(e)}h.filter=function(e,t){return t=t||{},function(n,i,o){return h(n,e,t)}},h.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return h;const t=h,n=function(n,i,o){return t(n,i,u(e,o))};return(n.Minimatch=function(n,i){return new t.Minimatch(n,u(e,i))}).defaults=n=>t.defaults(u(e,n)).Minimatch,n.filter=function(n,i){return t.filter(n,u(e,i))},n.defaults=function(n){return t.defaults(u(e,n))},n.makeRe=function(n,i){return t.makeRe(n,u(e,i))},n.braceExpand=function(n,i){return t.braceExpand(n,u(e,i))},n.match=function(n,i,o){return t.match(n,i,u(e,o))},n},p.defaults=function(e){return h.defaults(e).Minimatch},p.prototype.debug=function(){},p.prototype.make=function(){if(!this._made){var e=this.pattern,t=this.options;if(t.nocomment||"#"!==e.charAt(0))if(e){this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error),this.debug(this.pattern,n),n=this.globParts=n.map((function(e){return e.split(d)})),this.debug(this.pattern,n),n=n.map((function(e,t,n){return e.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,n),this.set=n}else this.empty=!0;else this.comment=!0}},p.prototype.parseNegate=function(){var e=this.pattern,t=!1,n=0;if(!this.options.nonegate){for(var i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n)),this.negate=t}},h.braceExpand=function(e,t){return f(e,t)},p.prototype.braceExpand=f;const g=e=>{if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};p.prototype.parse=function(e,t){g(e);var n=this.options;if(!n.noglobstar&&"**"===e)return o;if(""===e)return"";var i,r="",d=!1,u=!1,h=[],p=[],f=!1,v=-1,b=-1,_="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",y=this;function A(){if(i){switch(i){case"*":r+=l,d=!0;break;case"?":r+=s,d=!0;break;default:r+="\\"+i}y.debug("clearStateChar %j %j",i,r),i=!1}}for(var w,C=0,x=e.length;C<x&&(w=e.charAt(C));C++)if(this.debug("%s\t%s %s %j",e,C,r,w),u&&c[w])r+="\\"+w,u=!1;else switch(w){case"/":return!1;case"\\":A(),u=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,C,r,w),f){this.debug(" in class"),"!"===w&&C===b+1&&(w="^"),r+=w;continue}y.debug("call clearStateChar %j",i),A(),i=w,n.noext&&A();continue;case"(":if(f){r+="(";continue}if(!i){r+="\\(";continue}h.push({type:i,start:C-1,reStart:r.length,open:a[i].open,close:a[i].close}),r+="!"===i?"(?:(?!(?:":"(?:",this.debug("plType %j %j",i,r),i=!1;continue;case")":if(f||!h.length){r+="\\)";continue}A(),d=!0;var S=h.pop();r+=S.close,"!"===S.type&&p.push(S),S.reEnd=r.length;continue;case"|":if(f||!h.length||u){r+="\\|",u=!1;continue}A(),r+="|";continue;case"[":if(A(),f){r+="\\"+w;continue}f=!0,b=C,v=r.length,r+=w;continue;case"]":if(C===b+1||!f){r+="\\"+w,u=!1;continue}if(f){var E=e.substring(b+1,C);try{RegExp("["+E+"]")}catch(e){var k=this.parse(E,m);r=r.substr(0,v)+"\\["+k[0]+"\\]",d=d||k[1],f=!1;continue}}d=!0,f=!1,r+=w;continue;default:A(),u?u=!1:!c[w]||"^"===w&&f||(r+="\\"),r+=w}for(f&&(E=e.substr(b+1),k=this.parse(E,m),r=r.substr(0,v)+"\\["+k[0],d=d||k[1]),S=h.pop();S;S=h.pop()){var M=r.slice(S.reStart+S.open.length);this.debug("setting tail",r,S),M=M.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,n){return n||(n="\\"),t+t+n+"|"})),this.debug("tail=%j\n %s",M,M,S,r);var D="*"===S.type?l:"?"===S.type?s:"\\"+S.type;d=!0,r=r.slice(0,S.reStart)+D+"\\("+M}A(),u&&(r+="\\\\");var N=!1;switch(r.charAt(0)){case".":case"[":case"(":N=!0}for(var I=p.length-1;I>-1;I--){var T=p[I],L=r.slice(0,T.reStart),B=r.slice(T.reStart,T.reEnd-8),O=r.slice(T.reEnd-8,T.reEnd),P=r.slice(T.reEnd);O+=P;var F=L.split("(").length-1,R=P;for(C=0;C<F;C++)R=R.replace(/\)[+*?]?/,"");var j="";""===(P=R)&&t!==m&&(j="$"),r=L+B+P+j+O}if(""!==r&&d&&(r="(?=.)"+r),N&&(r=_+r),t===m)return[r,d];if(!d)return e.replace(/\\(.)/g,"$1");var z=n.nocase?"i":"";try{var V=new RegExp("^"+r+"$",z)}catch(e){return new RegExp("$.")}return V._glob=e,V._src=r,V};const m={};h.makeRe=function(e,t){return new p(e,t||{}).makeRe()},p.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,n=t.noglobstar?l:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=t.nocase?"i":"",r=e.map((function(e){return e.map((function(e){return e===o?n:"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e._src})).join("\\/")})).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,i)}catch(e){this.regexp=!1}return this.regexp},h.match=function(e,t,n){const i=new p(t,n=n||{});return e=e.filter((function(e){return i.match(e)})),i.options.nonull&&!e.length&&e.push(t),e},p.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var n=this.options;"/"!==i.sep&&(e=e.split(i.sep).join("/")),e=e.split(d),this.debug(this.pattern,"split",e);var o,r,a=this.set;for(this.debug(this.pattern,"set",a),r=e.length-1;r>=0&&!(o=e[r]);r--);for(r=0;r<a.length;r++){var s=a[r],l=e;if(n.matchBase&&1===s.length&&(l=[o]),this.matchOne(l,s,t))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},p.prototype.matchOne=function(e,t,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var r=0,a=0,s=e.length,l=t.length;r<s&&a<l;r++,a++){this.debug("matchOne loop");var c,d=t[a],u=e[r];if(this.debug(t,d,u),!1===d)return!1;if(d===o){this.debug("GLOBSTAR",[t,d,u]);var h=r,p=a+1;if(p===l){for(this.debug("** at the end");r<s;r++)if("."===e[r]||".."===e[r]||!i.dot&&"."===e[r].charAt(0))return!1;return!0}for(;h<s;){var f=e[h];if(this.debug("\nglobstar while",e,h,t,p,f),this.matchOne(e.slice(h),t.slice(p),n))return this.debug("globstar found match!",h,s,f),!0;if("."===f||".."===f||!i.dot&&"."===f.charAt(0)){this.debug("dot detected!",e,h,t,p);break}this.debug("globstar swallow a segment, and continue"),h++}return!(!n||(this.debug("\n>>> no match, partial?",e,h,t,p),h!==s))}if("string"==typeof d?(c=i.nocase?u.toLowerCase()===d.toLowerCase():u===d,this.debug("string match",d,u,c)):(c=u.match(d),this.debug("pattern match",d,u,c)),!c)return!1}if(r===s&&a===l)return!0;if(r===s)return n;if(a===l)return r===s-1&&""===e[r];throw new Error("wtf?")}},52458:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var a,s,l=o(e),c=1;c<arguments.length;c++){for(var d in a=Object(arguments[c]))n.call(a,d)&&(l[d]=a[d]);if(t){s=t(a);for(var u=0;u<s.length;u++)i.call(a,s[u])&&(l[s[u]]=a[s[u]])}}return l}},77410:e=>{"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",o=0,r=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(r===s-1||1===a);else if(r!==s-1&&2===a){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",o=0):o=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),r=s,a=0;continue}}else if(2===i.length||1===i.length){i="",o=0,r=s,a=0;continue}t&&(i.length>0?i+="/..":i="..",o=2)}else i.length>0?i+="/"+e.slice(r+1,s):i=e.slice(r+1,s),o=s-r-1;r=s,a=0}else 46===n&&-1!==a?++a:a=-1}return i}var i={resolve:function(){for(var e,i="",o=!1,r=arguments.length-1;r>=-1&&!o;r--){var a;r>=0?a=arguments[r]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(i=a+"/"+i,o=47===a.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&o&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var o=arguments[n];t(o),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var o=1;o<e.length&&47===e.charCodeAt(o);++o);for(var r=e.length,a=r-o,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,c=a<l?a:l,d=-1,u=0;u<=c;++u){if(u===c){if(l>c){if(47===n.charCodeAt(s+u))return n.slice(s+u+1);if(0===u)return n.slice(s+u)}else a>c&&(47===e.charCodeAt(o+u)?d=u:0===u&&(d=0));break}var h=e.charCodeAt(o+u);if(h!==n.charCodeAt(s+u))break;47===h&&(d=u)}var p="";for(u=o+d+1;u<=r;++u)u!==r&&47!==e.charCodeAt(u)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+d):(s+=d,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,o=-1,r=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!r){o=a;break}}else r=!1;return-1===o?i?"/":".":i&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,o=0,r=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!a){o=i+1;break}}else-1===l&&(a=!1,l=i+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(r=i):(s=-1,r=l))}return o===r?r=l:-1===r&&(r=e.length),e.slice(o,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!a){o=i+1;break}}else-1===r&&(a=!1,r=i+1);return-1===r?"":e.slice(o,r)},extname:function(e){t(e);for(var n=-1,i=0,o=-1,r=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===o&&(r=!1,o=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!r){i=s+1;break}}return-1===n||-1===o||0===a||1===a&&n===o-1&&n===i+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,o=e.charCodeAt(0),r=47===o;r?(n.root="/",i=1):i=0;for(var a=-1,s=0,l=-1,c=!0,d=e.length-1,u=0;d>=i;--d)if(47!==(o=e.charCodeAt(d)))-1===l&&(c=!1,l=d+1),46===o?-1===a?a=d:1!==u&&(u=1):-1!==a&&(u=-1);else if(!c){s=d+1;break}return-1===a||-1===l||0===u||1===u&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&r?e.slice(1,l):e.slice(s,l)):(0===s&&r?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},15415:(e,t,n)=>{var i=n(58967);e.exports=function e(t,n,o){return i(n)||(o=n||o,n=[]),o=o||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(t,n):i(t)?function(t,n,i){for(var o=[],r=0;r<t.length;r++)o.push(e(t[r],n,i).source);return d(new RegExp("(?:"+o.join("|")+")",u(i)),n)}(t,n,o):function(e,t,n){return h(r(e,n),t,n)}(t,n,o)},e.exports.parse=r,e.exports.compile=function(e,t){return s(r(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=h;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function r(e,t){for(var n,i=[],r=0,a=0,s="",d=t&&t.delimiter||"/";null!=(n=o.exec(e));){var u=n[0],h=n[1],p=n.index;if(s+=e.slice(a,p),a=p+u.length,h)s+=h[1];else{var f=e[a],g=n[2],m=n[3],v=n[4],b=n[5],_=n[6],y=n[7];s&&(i.push(s),s="");var A=null!=g&&null!=f&&f!==g,w="+"===_||"*"===_,C="?"===_||"*"===_,x=n[2]||d,S=v||b;i.push({name:m||r++,prefix:g||"",delimiter:x,optional:C,repeat:w,partial:A,asterisk:!!y,pattern:S?c(S):y?".*":"[^"+l(x)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&i.push(s),i}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",u(t)));return function(t,o){for(var r="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var d=e[c];if("string"!=typeof d){var u,h=s[d.name];if(null==h){if(d.optional){d.partial&&(r+=d.prefix);continue}throw new TypeError('Expected "'+d.name+'" to be defined')}if(i(h)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var p=0;p<h.length;p++){if(u=l(h[p]),!n[c].test(u))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===p?d.prefix:d.delimiter)+u}}else{if(u=d.asterisk?encodeURI(h).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(h),!n[c].test(u))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+u+'"');r+=d.prefix+u}}else r+=d}return r}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function u(e){return e&&e.sensitive?"":"i"}function h(e,t,n){i(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,r=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var h=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+h+p+")*"),a+=p=c.optional?c.partial?h+"("+p+")?":"(?:"+h+"("+p+"))?":h+"("+p+")"}}var f=l(n.delimiter||"/"),g=a.slice(-f.length)===f;return o||(a=(g?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),a+=r?"$":o&&g?"":"(?="+f+"|$)",d(new RegExp("^"+a,u(n)),t)}},58277:(e,t,n)=>{"use strict";var i=n(43147);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},69480:(e,t,n)=>{e.exports=n(58277)()},43147:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},31772:(e,t,n)=>{"use strict";var i=n(25148);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},7862:(e,t,n)=>{e.exports=n(31772)()},25148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},280:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DEFAULT_IGNORE_CLASS:()=>o,default:()=>s});var i=n(29901),o="ignore-onclickoutside",r=function(e,t){for(var n=e.target||e;n;){var i;if(null!=(i=n.classList)&&i.contains(t))return!0;n=n.parentElement}return!1},a=function(e){return!(!e.includes("touch")||!function(){if("undefined"==typeof window||"function"!=typeof window.addEventListener)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){return null};return window.addEventListener("test",n,t),window.removeEventListener("test",n,t),e}())&&{passive:!0}};const s=function(e,t){var n=void 0===t?{}:t,s=n.refs,l=n.disabled,c=n.eventTypes,d=void 0===c?["mousedown","touchstart"]:c,u=n.excludeScrollbar,h=n.ignoreClass,p=void 0===h?o:h,f=n.detectIFrame,g=void 0===f||f,m=(0,i.useState)([]),v=m[0],b=m[1],_=(0,i.useRef)(e);_.current=e;var y=(0,i.useCallback)((function(e){return b((function(t){return[].concat(t,[{current:e}])}))}),[]);return(0,i.useEffect)((function(){if(null!=s&&s.length||v.length){var e=function(){var e=[];return(s||v).forEach((function(t){var n=t.current;return n&&e.push(n)})),e},t=function(t){r(t,p)||u&&function(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}(t)||!e().every((function(e){return!e.contains(t.target)}))||_.current(t)},n=function(t){return setTimeout((function(){var n=document.activeElement;"IFRAME"!==(null==n?void 0:n.tagName)||r(n,p)||e().includes(n)||_.current(t)}),0)},i=function(){d.forEach((function(e){return document.removeEventListener(e,t,a(e))})),g&&window.removeEventListener("blur",n)};if(!l)return d.forEach((function(e){return document.addEventListener(e,t,a(e))})),g&&window.addEventListener("blur",n),function(){return i()};i()}}),[v,p,u,l,g,JSON.stringify(d)]),y}},2340:(e,t,n)=>{"use strict";var i=n(29901),o=n(52458),r=n(86803);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!i)throw Error(a(227));var s=new Set,l={};function c(e,t){d(e,t),d(e+"Capture",t)}function d(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,f={},g={};function m(e,t,n,i,o,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function y(e,t,n,i){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0===o.type:!i&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,i){if(null==t||function(e,t,n,i){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!i&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,i))return!0;if(i)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,i)&&(n=null),i||null===o?function(e){return!!p.call(g,e)||!p.call(f,e)&&(h.test(e)?g[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,i=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,_);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,_);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,_);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var A=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=60103,C=60106,x=60107,S=60108,E=60114,k=60109,M=60110,D=60112,N=60113,I=60120,T=60115,L=60116,B=60121,O=60128,P=60129,F=60130,R=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;w=j("react.element"),C=j("react.portal"),x=j("react.fragment"),S=j("react.strict_mode"),E=j("react.profiler"),k=j("react.provider"),M=j("react.context"),D=j("react.forward_ref"),N=j("react.suspense"),I=j("react.suspense_list"),T=j("react.memo"),L=j("react.lazy"),B=j("react.block"),j("react.scope"),O=j("react.opaque.id"),P=j("react.debug_trace_mode"),F=j("react.offscreen"),R=j("react.legacy_hidden")}var z,V="function"==typeof Symbol&&Symbol.iterator;function W(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}function H(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var U=!1;function Q(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var i=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){i=e}e.call(t.prototype)}else{try{throw Error()}catch(e){i=e}e()}}catch(e){if(e&&i&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),r=i.stack.split("\n"),a=o.length-1,s=r.length-1;1<=a&&0<=s&&o[a]!==r[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==r[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==r[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function G(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return Q(e.type,!1);case 11:return Q(e.type.render,!1);case 22:return Q(e.type._render,!1);case 1:return Q(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case C:return"Portal";case E:return"Profiler";case S:return"StrictMode";case N:return"Suspense";case I:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case D:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case T:return K(e.type);case B:return K(e._render);case L:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){i=""+e,r.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=$(e)?e.checked?"true":"false":e.value),(e=i)!==n&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,i=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Y(t.value),i=t.type;if(null!=n)"number"===i?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===i||"reset"===i)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ie(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!("submit"!==i&&"reset"!==i||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function re(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(i&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ce(e,t){var n=Y(t.value),i=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=i&&(e.defaultValue=""+i)}function de(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var ue="http://www.w3.org/1999/xhtml";function he(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?he(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var fe,ge,me=(ge=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((fe=fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,i){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","ms","Moz","O"];function ye(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Ae(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var i=0===n.indexOf("--"),o=ye(n,t[n],i);"float"===n&&(n="cssFloat"),i?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){_e.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var we=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(e,t){if(t){if(we[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function xe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ee=null,ke=null,Me=null;function De(e){if(e=no(e)){if("function"!=typeof Ee)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Ee(e.stateNode,e.type,t))}}function Ne(e){ke?Me?Me.push(e):Me=[e]:ke=e}function Ie(){if(ke){var e=ke,t=Me;if(Me=ke=null,De(e),t)for(e=0;e<t.length;e++)De(t[e])}}function Te(e,t){return e(t)}function Le(e,t,n,i,o){return e(t,n,i,o)}function Be(){}var Oe=Te,Pe=!1,Fe=!1;function Re(){null===ke&&null===Me||(Be(),Ie())}function je(e,t){var n=e.stateNode;if(null===n)return null;var i=oo(n);if(null===i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var ze=!1;if(u)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(ge){ze=!1}function We(e,t,n,i,o,r,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var He=!1,Ue=null,Qe=!1,Ge=null,Ke={onError:function(e){He=!0,Ue=e}};function Ye(e,t,n,i,o,r,a,s,l){He=!1,Ue=null,We.apply(Ke,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function qe(e){if($e(e)!==e)throw Error(a(188))}function Ze(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(null===o)break;var r=o.alternate;if(null===r){if(null!==(i=o.return)){n=i;continue}break}if(o.child===r.child){for(r=o.child;r;){if(r===n)return qe(o),e;if(r===i)return qe(o),t;r=r.sibling}throw Error(a(188))}if(n.return!==i.return)n=o,i=r;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,i=r;break}if(l===i){s=!0,i=o,n=r;break}l=l.sibling}if(!s){for(l=r.child;l;){if(l===n){s=!0,n=r,i=o;break}if(l===i){s=!0,i=r,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==i)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Xe(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,it,ot=!1,rt=[],at=null,st=null,lt=null,ct=new Map,dt=new Map,ut=[],ht="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,i,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[i]}}function ft(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function gt(e,t,n,i,o,r){return null===e||e.nativeEvent!==r?(e=pt(t,n,i,o,r),null!==t&&null!==(t=no(t))&&tt(t),e):(e.eventSystemFlags|=i,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function mt(e){var t=to(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void it(e.lanePriority,(function(){r.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=no(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){vt(e)&&n.delete(t)}function _t(){for(ot=!1;0<rt.length;){var e=rt[0];if(null!==e.blockedOn){null!==(e=no(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&rt.shift()}null!==at&&vt(at)&&(at=null),null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),ct.forEach(bt),dt.forEach(bt)}function yt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,_t)))}function At(e){function t(t){return yt(t,e)}if(0<rt.length){yt(rt[0],e);for(var n=1;n<rt.length;n++){var i=rt[n];i.blockedOn===e&&(i.blockedOn=null)}}for(null!==at&&yt(at,e),null!==st&&yt(st,e),null!==lt&&yt(lt,e),ct.forEach(t),dt.forEach(t),n=0;n<ut.length;n++)(i=ut[n]).blockedOn===e&&(i.blockedOn=null);for(;0<ut.length&&null===(n=ut[0]).blockedOn;)mt(n),null===n.blockedOn&&ut.shift()}function wt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ct={animationend:wt("Animation","AnimationEnd"),animationiteration:wt("Animation","AnimationIteration"),animationstart:wt("Animation","AnimationStart"),transitionend:wt("Transition","TransitionEnd")},xt={},St={};function Et(e){if(xt[e])return xt[e];if(!Ct[e])return e;var t,n=Ct[e];for(t in n)if(n.hasOwnProperty(t)&&t in St)return xt[e]=n[t];return e}u&&(St=document.createElement("div").style,"AnimationEvent"in window||(delete Ct.animationend.animation,delete Ct.animationiteration.animation,delete Ct.animationstart.animation),"TransitionEvent"in window||delete Ct.transitionend.transition);var kt=Et("animationend"),Mt=Et("animationiteration"),Dt=Et("animationstart"),Nt=Et("transitionend"),It=new Map,Tt=new Map,Lt=["abort","abort",kt,"animationEnd",Mt,"animationIteration",Dt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Nt,"transitionEnd","waiting","waiting"];function Bt(e,t){for(var n=0;n<e.length;n+=2){var i=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Tt.set(i,t),It.set(i,o),c(o,[i])}}(0,r.unstable_now)();var Ot=8;function Pt(e){if(0!=(1&e))return Ot=15,1;if(0!=(2&e))return Ot=14,2;if(0!=(4&e))return Ot=13,4;var t=24&e;return 0!==t?(Ot=12,t):0!=(32&e)?(Ot=11,32):0!=(t=192&e)?(Ot=10,t):0!=(256&e)?(Ot=9,256):0!=(t=3584&e)?(Ot=8,t):0!=(4096&e)?(Ot=7,4096):0!=(t=4186112&e)?(Ot=6,t):0!=(t=62914560&e)?(Ot=5,t):67108864&e?(Ot=4,67108864):0!=(134217728&e)?(Ot=3,134217728):0!=(t=805306368&e)?(Ot=2,t):0!=(1073741824&e)?(Ot=1,1073741824):(Ot=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return Ot=0;var i=0,o=0,r=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==r)i=r,o=Ot=15;else if(0!=(r=134217727&n)){var l=r&~a;0!==l?(i=Pt(l),o=Ot):0!=(s&=r)&&(i=Pt(s),o=Ot)}else 0!=(r=n&~a)?(i=Pt(r),o=Ot):0!==s&&(i=Pt(s),o=Ot);if(0===i)return 0;if(i=n&((0>(i=31-Ht(i))?0:1<<i)<<1)-1,0!==t&&t!==i&&0==(t&a)){if(Pt(t),o<=Ot)return t;Ot=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=i;0<t;)o=1<<(n=31-Ht(t)),i|=e[n],t&=~o;return i}function Rt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function jt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?jt(10,t):e;case 10:return 0===(e=zt(192&~t))?jt(8,t):e;case 8:return 0===(e=zt(3584&~t))&&0===(e=zt(4186112&~t))&&(e=512),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function zt(e){return e&-e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t;var i=t-1;e.suspendedLanes&=i,e.pingedLanes&=i,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ut(e)/Qt|0)|0},Ut=Math.log,Qt=Math.LN2,Gt=r.unstable_UserBlockingPriority,Kt=r.unstable_runWithPriority,Yt=!0;function $t(e,t,n,i){Pe||Be();var o=qt,r=Pe;Pe=!0;try{Le(o,e,t,n,i)}finally{(Pe=r)||Re()}}function Jt(e,t,n,i){Kt(Gt,qt.bind(null,e,t,n,i))}function qt(e,t,n,i){var o;if(Yt)if((o=0==(4&t))&&0<rt.length&&-1<ht.indexOf(e))e=pt(null,e,t,n,i),rt.push(e);else{var r=Zt(e,t,n,i);if(null===r)o&&ft(e,i);else{if(o){if(-1<ht.indexOf(e))return e=pt(r,e,t,n,i),void rt.push(e);if(function(e,t,n,i,o){switch(t){case"focusin":return at=gt(at,e,t,n,i,o),!0;case"dragenter":return st=gt(st,e,t,n,i,o),!0;case"mouseover":return lt=gt(lt,e,t,n,i,o),!0;case"pointerover":var r=o.pointerId;return ct.set(r,gt(ct.get(r)||null,e,t,n,i,o)),!0;case"gotpointercapture":return r=o.pointerId,dt.set(r,gt(dt.get(r)||null,e,t,n,i,o)),!0}return!1}(r,e,t,n,i))return;ft(e,i)}Bi(e,t,i,null,n)}}}function Zt(e,t,n,i){var o=Se(i);if(null!==(o=to(o))){var r=$e(o);if(null===r)o=null;else{var a=r.tag;if(13===a){if(null!==(o=Je(r)))return o;o=null}else if(3===a){if(r.stateNode.hydrate)return 3===r.tag?r.stateNode.containerInfo:null;o=null}else r!==o&&(o=null)}}return Bi(e,t,i,o,n),null}var Xt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,i=n.length,o="value"in Xt?Xt.value:Xt.textContent,r=o.length;for(e=0;e<i&&n[e]===o[e];e++);var a=i-e;for(t=1;t<=a&&n[i-t]===o[r-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rn(){return!0}function an(){return!1}function sn(e){function t(t,n,i,o,r){for(var a in this._reactName=t,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=r,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rn:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),t}var ln,cn,dn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hn=sn(un),pn=o({},un,{view:0,detail:0}),fn=sn(pn),gn=o({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(ln=e.screenX-dn.screenX,cn=e.screenY-dn.screenY):cn=ln=0,dn=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),mn=sn(gn),vn=sn(o({},gn,{dataTransfer:0})),bn=sn(o({},pn,{relatedTarget:0})),_n=sn(o({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=o({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),An=sn(yn),wn=sn(o({},un,{data:0})),Cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function kn(){return En}var Mn=o({},pn,{key:function(e){if(e.key){var t=Cn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dn=sn(Mn),Nn=sn(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),In=sn(o({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),Tn=sn(o({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=o({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Bn=sn(Ln),On=[9,13,27,32],Pn=u&&"CompositionEvent"in window,Fn=null;u&&"documentMode"in document&&(Fn=document.documentMode);var Rn=u&&"TextEvent"in window&&!Fn,jn=u&&(!Pn||Fn&&8<Fn&&11>=Fn),zn=String.fromCharCode(32),Vn=!1;function Wn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1,Qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Qn[e.type]:"textarea"===t}function Kn(e,t,n,i){Ne(i),0<(t=Pi(t,"onChange")).length&&(n=new hn("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Yn=null,$n=null;function Jn(e){Mi(e,0)}function qn(e){if(q(io(e)))return e}function Zn(e,t){if("change"===e)return t}var Xn=!1;if(u){var ei;if(u){var ti="oninput"in document;if(!ti){var ni=document.createElement("div");ni.setAttribute("oninput","return;"),ti="function"==typeof ni.oninput}ei=ti}else ei=!1;Xn=ei&&(!document.documentMode||9<document.documentMode)}function ii(){Yn&&(Yn.detachEvent("onpropertychange",oi),$n=Yn=null)}function oi(e){if("value"===e.propertyName&&qn($n)){var t=[];if(Kn(t,$n,e,Se(e)),e=Jn,Pe)e(t);else{Pe=!0;try{Te(e,t)}finally{Pe=!1,Re()}}}}function ri(e,t,n){"focusin"===e?(ii(),$n=n,(Yn=t).attachEvent("onpropertychange",oi)):"focusout"===e&&ii()}function ai(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn($n)}function si(e,t){if("click"===e)return qn(t)}function li(e,t){if("input"===e||"change"===e)return qn(t)}var ci="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},di=Object.prototype.hasOwnProperty;function ui(e,t){if(ci(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++)if(!di.call(t,n[i])||!ci(e[n[i]],t[n[i]]))return!1;return!0}function hi(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pi(e,t){var n,i=hi(e);for(e=0;i;){if(3===i.nodeType){if(n=e+i.textContent.length,e<=t&&n>=t)return{node:i,offset:t-e};e=n}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=hi(i)}}function fi(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fi(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gi(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function mi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vi=u&&"documentMode"in document&&11>=document.documentMode,bi=null,_i=null,yi=null,Ai=!1;function wi(e,t,n){var i=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ai||null==bi||bi!==Z(i)||(i="selectionStart"in(i=bi)&&mi(i)?{start:i.selectionStart,end:i.selectionEnd}:{anchorNode:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset},yi&&ui(yi,i)||(yi=i,0<(i=Pi(_i,"onSelect")).length&&(t=new hn("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=bi)))}Bt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Bt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Bt(Lt,2);for(var Ci="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xi=0;xi<Ci.length;xi++)Tt.set(Ci[xi],0);d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Si="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ei=new Set("cancel close invalid load scroll toggle".split(" ").concat(Si));function ki(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,i,o,r,s,l,c){if(Ye.apply(this,arguments),He){if(!He)throw Error(a(198));var d=Ue;He=!1,Ue=null,Qe||(Qe=!0,Ge=d)}}(i,t,void 0,e),e.currentTarget=null}function Mi(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var r=void 0;if(t)for(var a=i.length-1;0<=a;a--){var s=i[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==r&&o.isPropagationStopped())break e;ki(o,s,c),r=l}else for(a=0;a<i.length;a++){if(l=(s=i[a]).instance,c=s.currentTarget,s=s.listener,l!==r&&o.isPropagationStopped())break e;ki(o,s,c),r=l}}}if(Qe)throw e=Ge,Qe=!1,Ge=null,e}function Di(e,t){var n=ro(t),i=e+"__bubble";n.has(i)||(Li(t,e,2,!1),n.add(i))}var Ni="_reactListening"+Math.random().toString(36).slice(2);function Ii(e){e[Ni]||(e[Ni]=!0,s.forEach((function(t){Ei.has(t)||Ti(t,!1,e,null),Ti(t,!0,e,null)})))}function Ti(e,t,n,i){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,r=n;if("selectionchange"===e&&9!==n.nodeType&&(r=n.ownerDocument),null!==i&&!t&&Ei.has(e)){if("scroll"!==e)return;o|=2,r=i}var a=ro(r),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Li(r,e,o,t),a.add(s))}function Li(e,t,n,i){var o=Tt.get(t);switch(void 0===o?2:o){case 0:o=$t;break;case 1:o=Jt;break;default:o=qt}n=o.bind(null,t,n,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),i?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Bi(e,t,n,i,o){var r=i;if(0==(1&t)&&0==(2&t)&&null!==i)e:for(;;){if(null===i)return;var a=i.tag;if(3===a||4===a){var s=i.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=i.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=to(s)))return;if(5===(l=a.tag)||6===l){i=r=a;continue e}s=s.parentNode}}i=i.return}!function(e,t,n){if(Fe)return e();Fe=!0;try{Oe(e,t,n)}finally{Fe=!1,Re()}}((function(){var i=r,o=Se(n),a=[];e:{var s=It.get(e);if(void 0!==s){var l=hn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":l=Dn;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=In;break;case kt:case Mt:case Dt:l=_n;break;case Nt:l=Tn;break;case"scroll":l=fn;break;case"wheel":l=Bn;break;case"copy":case"cut":case"paste":l=An;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Nn}var d=0!=(4&t),u=!d&&"scroll"===e,h=d?null!==s?s+"Capture":null:s;d=[];for(var p,f=i;null!==f;){var g=(p=f).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==h&&null!=(g=je(f,h))&&d.push(Oi(f,g,p))),u)break;f=f.return}0<d.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:d}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!to(c)&&!c[Xi])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=i,null!==(c=(c=n.relatedTarget||n.toElement)?to(c):null)&&(c!==(u=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=i),l!==c)){if(d=mn,g="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(d=Nn,g="onPointerLeave",h="onPointerEnter",f="pointer"),u=null==l?s:io(l),p=null==c?s:io(c),(s=new d(g,f+"leave",l,n,o)).target=u,s.relatedTarget=p,g=null,to(o)===i&&((d=new d(h,f+"enter",c,n,o)).target=p,d.relatedTarget=u,g=d),u=g,l&&c)e:{for(h=c,f=0,p=d=l;p;p=Fi(p))f++;for(p=0,g=h;g;g=Fi(g))p++;for(;0<f-p;)d=Fi(d),f--;for(;0<p-f;)h=Fi(h),p--;for(;f--;){if(d===h||null!==h&&d===h.alternate)break e;d=Fi(d),h=Fi(h)}d=null}else d=null;null!==l&&Ri(a,s,l,d,!1),null!==c&&null!==u&&Ri(a,u,c,d,!0)}if("select"===(l=(s=i?io(i):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Zn;else if(Gn(s))if(Xn)m=li;else{m=ai;var v=ri}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=si);switch(m&&(m=m(e,i))?Kn(a,m,n,o):(v&&v(e,s,i),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&oe(s,"number",s.value)),v=i?io(i):window,e){case"focusin":(Gn(v)||"true"===v.contentEditable)&&(bi=v,_i=i,yi=null);break;case"focusout":yi=_i=bi=null;break;case"mousedown":Ai=!0;break;case"contextmenu":case"mouseup":case"dragend":Ai=!1,wi(a,n,o);break;case"selectionchange":if(vi)break;case"keydown":case"keyup":wi(a,n,o)}var b;if(Pn)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Un?Wn(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(jn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==_?"onCompositionEnd"===_&&Un&&(b=nn()):(en="value"in(Xt=o)?Xt.value:Xt.textContent,Un=!0)),0<(v=Pi(i,_)).length&&(_=new wn(_,e,null,n,o),a.push({event:_,listeners:v}),(b||null!==(b=Hn(n)))&&(_.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Vn=!0,zn);case"textInput":return(e=t.data)===zn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Pn&&Wn(e,t)?(e=nn(),tn=en=Xt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(i=Pi(i,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:i}),o.data=b)}Mi(a,t)}))}function Oi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Pi(e,t){for(var n=t+"Capture",i=[];null!==e;){var o=e,r=o.stateNode;5===o.tag&&null!==r&&(o=r,null!=(r=je(e,n))&&i.unshift(Oi(e,r,o)),null!=(r=je(e,t))&&i.push(Oi(e,r,o))),e=e.return}return i}function Fi(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ri(e,t,n,i,o){for(var r=t._reactName,a=[];null!==n&&n!==i;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===i)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=je(n,r))&&a.unshift(Oi(n,l,s)):o||null!=(l=je(n,r))&&a.push(Oi(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function ji(){}var zi=null,Vi=null;function Wi(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hi(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ui="function"==typeof setTimeout?setTimeout:void 0,Qi="function"==typeof clearTimeout?clearTimeout:void 0;function Gi(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Ki(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yi(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var $i=0,Ji=Math.random().toString(36).slice(2),qi="__reactFiber$"+Ji,Zi="__reactProps$"+Ji,Xi="__reactContainer$"+Ji,eo="__reactEvents$"+Ji;function to(e){var t=e[qi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xi]||n[qi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yi(e);null!==e;){if(n=e[qi])return n;e=Yi(e)}return t}n=(e=n).parentNode}return null}function no(e){return!(e=e[qi]||e[Xi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function io(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Zi]||null}function ro(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],so=-1;function lo(e){return{current:e}}function co(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function uo(e,t){so++,ao[so]=e.current,e.current=t}var ho={},po=lo(ho),fo=lo(!1),go=ho;function mo(e,t){var n=e.type.contextTypes;if(!n)return ho;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o,r={};for(o in n)r[o]=t[o];return i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function vo(e){return null!=e.childContextTypes}function bo(){co(fo),co(po)}function _o(e,t,n){if(po.current!==ho)throw Error(a(168));uo(po,t),uo(fo,n)}function yo(e,t,n){var i=e.stateNode;if(e=t.childContextTypes,"function"!=typeof i.getChildContext)return n;for(var r in i=i.getChildContext())if(!(r in e))throw Error(a(108,K(t)||"Unknown",r));return o({},n,i)}function Ao(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,go=po.current,uo(po,e),uo(fo,fo.current),!0}function wo(e,t,n){var i=e.stateNode;if(!i)throw Error(a(169));n?(e=yo(e,t,go),i.__reactInternalMemoizedMergedChildContext=e,co(fo),co(po),uo(po,e)):co(fo),uo(fo,n)}var Co=null,xo=null,So=r.unstable_runWithPriority,Eo=r.unstable_scheduleCallback,ko=r.unstable_cancelCallback,Mo=r.unstable_shouldYield,Do=r.unstable_requestPaint,No=r.unstable_now,Io=r.unstable_getCurrentPriorityLevel,To=r.unstable_ImmediatePriority,Lo=r.unstable_UserBlockingPriority,Bo=r.unstable_NormalPriority,Oo=r.unstable_LowPriority,Po=r.unstable_IdlePriority,Fo={},Ro=void 0!==Do?Do:function(){},jo=null,zo=null,Vo=!1,Wo=No(),Ho=1e4>Wo?No:function(){return No()-Wo};function Uo(){switch(Io()){case To:return 99;case Lo:return 98;case Bo:return 97;case Oo:return 96;case Po:return 95;default:throw Error(a(332))}}function Qo(e){switch(e){case 99:return To;case 98:return Lo;case 97:return Bo;case 96:return Oo;case 95:return Po;default:throw Error(a(332))}}function Go(e,t){return e=Qo(e),So(e,t)}function Ko(e,t,n){return e=Qo(e),Eo(e,t,n)}function Yo(){if(null!==zo){var e=zo;zo=null,ko(e)}$o()}function $o(){if(!Vo&&null!==jo){Vo=!0;var e=0;try{var t=jo;Go(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),jo=null}catch(t){throw null!==jo&&(jo=jo.slice(e+1)),Eo(To,Yo),t}finally{Vo=!1}}}var Jo=A.ReactCurrentBatchConfig;function qo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Zo=lo(null),Xo=null,er=null,tr=null;function nr(){tr=er=Xo=null}function ir(e){var t=Zo.current;co(Zo),e.type._context._currentValue=t}function or(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function rr(e,t){Xo=e,tr=er=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Pa=!0),e.firstContext=null)}function ar(e,t){if(tr!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(tr=e,t=1073741823),t={context:e,observedBits:t,next:null},null===er){if(null===Xo)throw Error(a(308));er=t,Xo.dependencies={lanes:0,firstContext:t,responders:null}}else er=er.next=t;return e._currentValue}var sr=!1;function lr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function cr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function dr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ur(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function hr(e,t){var n=e.updateQueue,i=e.alternate;if(null!==i&&n===(i=i.updateQueue)){var o=null,r=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===r?o=r=a:r=r.next=a,n=n.next}while(null!==n);null===r?o=r=t:r=r.next=t}else o=r=t;return n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:r,shared:i.shared,effects:i.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pr(e,t,n,i){var r=e.updateQueue;sr=!1;var a=r.firstBaseUpdate,s=r.lastBaseUpdate,l=r.shared.pending;if(null!==l){r.shared.pending=null;var c=l,d=c.next;c.next=null,null===s?a=d:s.next=d,s=c;var u=e.alternate;if(null!==u){var h=(u=u.updateQueue).lastBaseUpdate;h!==s&&(null===h?u.firstBaseUpdate=d:h.next=d,u.lastBaseUpdate=c)}}if(null!==a){for(h=r.baseState,s=0,u=d=c=null;;){l=a.lane;var p=a.eventTime;if((i&l)===l){null!==u&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var f=e,g=a;switch(l=t,p=n,g.tag){case 1:if("function"==typeof(f=g.payload)){h=f.call(p,h,l);break e}h=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=g.payload)?f.call(p,h,l):f))break e;h=o({},h,l);break e;case 2:sr=!0}}null!==a.callback&&(e.flags|=32,null===(l=r.effects)?r.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(d=u=p,c=h):u=u.next=p,s|=l;if(null===(a=a.next)){if(null===(l=r.shared.pending))break;a=l.next,l.next=null,r.lastBaseUpdate=l,r.shared.pending=null}}null===u&&(c=h),r.baseState=c,r.firstBaseUpdate=d,r.lastBaseUpdate=u,Rs|=s,e.lanes=s,e.memoizedState=h}}function fr(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(null!==o){if(i.callback=null,i=n,"function"!=typeof o)throw Error(a(191,o));o.call(i)}}}var gr=(new i.Component).refs;function mr(e,t,n,i){n=null==(n=n(i,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vr={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=cl(),o=dl(e),r=dr(i,o);r.payload=t,null!=n&&(r.callback=n),ur(e,r),ul(e,o,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=cl(),o=dl(e),r=dr(i,o);r.tag=1,r.payload=t,null!=n&&(r.callback=n),ur(e,r),ul(e,o,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),i=dl(e),o=dr(n,i);o.tag=2,null!=t&&(o.callback=t),ur(e,o),ul(e,i,n)}};function br(e,t,n,i,o,r,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(i,r,a):!(t.prototype&&t.prototype.isPureReactComponent&&ui(n,i)&&ui(o,r))}function _r(e,t,n){var i=!1,o=ho,r=t.contextType;return"object"==typeof r&&null!==r?r=ar(r):(o=vo(t)?go:po.current,r=(i=null!=(i=t.contextTypes))?mo(e,o):ho),t=new t(n,r),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vr,e.stateNode=t,t._reactInternals=e,i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=r),t}function yr(e,t,n,i){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,i),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&vr.enqueueReplaceState(t,t.state,null)}function Ar(e,t,n,i){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=gr,lr(e);var r=t.contextType;"object"==typeof r&&null!==r?o.context=ar(r):(r=vo(t)?go:po.current,o.context=mo(e,r)),pr(e,n,o,i),o.state=e.memoizedState,"function"==typeof(r=t.getDerivedStateFromProps)&&(mr(e,t,r,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vr.enqueueReplaceState(o,o.state,null),pr(e,n,o,i),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var wr=Array.isArray;function Cr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var i=n.stateNode}if(!i)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;t===gr&&(t=i.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function xr(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Sr(e){function t(t,n){if(e){var i=t.lastEffect;null!==i?(i.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,i){if(!e)return null;for(;null!==i;)t(n,i),i=i.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Hl(e,t)).index=0,e.sibling=null,e}function r(t,n,i){return t.index=i,e?null!==(i=t.alternate)?(i=i.index)<n?(t.flags=2,n):i:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,i){return null===t||6!==t.tag?((t=Kl(n,e.mode,i)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,i){return null!==t&&t.elementType===n.type?((i=o(t,n.props)).ref=Cr(e,t,n),i.return=e,i):((i=Ul(n.type,n.key,n.props,null,e.mode,i)).ref=Cr(e,t,n),i.return=e,i)}function d(e,t,n,i){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yl(n,e.mode,i)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,i,r){return null===t||7!==t.tag?((t=Ql(n,e.mode,i,r)).return=e,t):((t=o(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Kl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ul(t.type,t.key,t.props,null,e.mode,n)).ref=Cr(e,null,t),n.return=e,n;case C:return(t=Yl(t,e.mode,n)).return=e,t}if(wr(t)||W(t))return(t=Ql(t,e.mode,n,null)).return=e,t;xr(e,t)}return null}function p(e,t,n,i){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?n.type===x?u(e,t,n.props.children,i,o):c(e,t,n,i):null;case C:return n.key===o?d(e,t,n,i):null}if(wr(n)||W(n))return null!==o?null:u(e,t,n,i,null);xr(e,n)}return null}function f(e,t,n,i,o){if("string"==typeof i||"number"==typeof i)return l(t,e=e.get(n)||null,""+i,o);if("object"==typeof i&&null!==i){switch(i.$$typeof){case w:return e=e.get(null===i.key?n:i.key)||null,i.type===x?u(t,e,i.props.children,o,i.key):c(t,e,i,o);case C:return d(t,e=e.get(null===i.key?n:i.key)||null,i,o)}if(wr(i)||W(i))return u(t,e=e.get(n)||null,i,o,null);xr(t,i)}return null}function g(o,a,s,l){for(var c=null,d=null,u=a,g=a=0,m=null;null!==u&&g<s.length;g++){u.index>g?(m=u,u=null):m=u.sibling;var v=p(o,u,s[g],l);if(null===v){null===u&&(u=m);break}e&&u&&null===v.alternate&&t(o,u),a=r(v,a,g),null===d?c=v:d.sibling=v,d=v,u=m}if(g===s.length)return n(o,u),c;if(null===u){for(;g<s.length;g++)null!==(u=h(o,s[g],l))&&(a=r(u,a,g),null===d?c=u:d.sibling=u,d=u);return c}for(u=i(o,u);g<s.length;g++)null!==(m=f(u,o,g,s[g],l))&&(e&&null!==m.alternate&&u.delete(null===m.key?g:m.key),a=r(m,a,g),null===d?c=m:d.sibling=m,d=m);return e&&u.forEach((function(e){return t(o,e)})),c}function m(o,s,l,c){var d=W(l);if("function"!=typeof d)throw Error(a(150));if(null==(l=d.call(l)))throw Error(a(151));for(var u=d=null,g=s,m=s=0,v=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(v=g,g=null):v=g.sibling;var _=p(o,g,b.value,c);if(null===_){null===g&&(g=v);break}e&&g&&null===_.alternate&&t(o,g),s=r(_,s,m),null===u?d=_:u.sibling=_,u=_,g=v}if(b.done)return n(o,g),d;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=h(o,b.value,c))&&(s=r(b,s,m),null===u?d=b:u.sibling=b,u=b);return d}for(g=i(o,g);!b.done;m++,b=l.next())null!==(b=f(g,o,m,b.value,c))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),s=r(b,s,m),null===u?d=b:u.sibling=b,u=b);return e&&g.forEach((function(e){return t(o,e)})),d}return function(e,i,r,l){var c="object"==typeof r&&null!==r&&r.type===x&&null===r.key;c&&(r=r.props.children);var d="object"==typeof r&&null!==r;if(d)switch(r.$$typeof){case w:e:{for(d=r.key,c=i;null!==c;){if(c.key===d){if(7===c.tag){if(r.type===x){n(e,c.sibling),(i=o(c,r.props.children)).return=e,e=i;break e}}else if(c.elementType===r.type){n(e,c.sibling),(i=o(c,r.props)).ref=Cr(e,c,r),i.return=e,e=i;break e}n(e,c);break}t(e,c),c=c.sibling}r.type===x?((i=Ql(r.props.children,e.mode,l,r.key)).return=e,e=i):((l=Ul(r.type,r.key,r.props,null,e.mode,l)).ref=Cr(e,i,r),l.return=e,e=l)}return s(e);case C:e:{for(c=r.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===r.containerInfo&&i.stateNode.implementation===r.implementation){n(e,i.sibling),(i=o(i,r.children||[])).return=e,e=i;break e}n(e,i);break}t(e,i),i=i.sibling}(i=Yl(r,e.mode,l)).return=e,e=i}return s(e)}if("string"==typeof r||"number"==typeof r)return r=""+r,null!==i&&6===i.tag?(n(e,i.sibling),(i=o(i,r)).return=e,e=i):(n(e,i),(i=Kl(r,e.mode,l)).return=e,e=i),s(e);if(wr(r))return g(e,i,r,l);if(W(r))return m(e,i,r,l);if(d&&xr(e,r),void 0===r&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,K(e.type)||"Component"))}return n(e,i)}}var Er=Sr(!0),kr=Sr(!1),Mr={},Dr=lo(Mr),Nr=lo(Mr),Ir=lo(Mr);function Tr(e){if(e===Mr)throw Error(a(174));return e}function Lr(e,t){switch(uo(Ir,t),uo(Nr,e),uo(Dr,Mr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Dr),uo(Dr,t)}function Br(){co(Dr),co(Nr),co(Ir)}function Or(e){Tr(Ir.current);var t=Tr(Dr.current),n=pe(t,e.type);t!==n&&(uo(Nr,e),uo(Dr,n))}function Pr(e){Nr.current===e&&(co(Dr),co(Nr))}var Fr=lo(0);function Rr(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jr=null,zr=null,Vr=!1;function Wr(e,t){var n=Vl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Hr(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ur(e){if(Vr){var t=zr;if(t){var n=t;if(!Hr(e,t)){if(!(t=Ki(n.nextSibling))||!Hr(e,t))return e.flags=-1025&e.flags|2,Vr=!1,void(jr=e);Wr(jr,n)}jr=e,zr=Ki(t.firstChild)}else e.flags=-1025&e.flags|2,Vr=!1,jr=e}}function Qr(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;jr=e}function Gr(e){if(e!==jr)return!1;if(!Vr)return Qr(e),Vr=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hi(t,e.memoizedProps))for(t=zr;t;)Wr(e,t),t=Ki(t.nextSibling);if(Qr(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){zr=Ki(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}zr=null}}else zr=jr?Ki(e.stateNode.nextSibling):null;return!0}function Kr(){zr=jr=null,Vr=!1}var Yr=[];function $r(){for(var e=0;e<Yr.length;e++)Yr[e]._workInProgressVersionPrimary=null;Yr.length=0}var Jr=A.ReactCurrentDispatcher,qr=A.ReactCurrentBatchConfig,Zr=0,Xr=null,ea=null,ta=null,na=!1,ia=!1;function oa(){throw Error(a(321))}function ra(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ci(e[n],t[n]))return!1;return!0}function aa(e,t,n,i,o,r){if(Zr=r,Xr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Jr.current=null===e||null===e.memoizedState?Ta:La,e=n(i,o),ia){r=0;do{if(ia=!1,!(25>r))throw Error(a(301));r+=1,ta=ea=null,t.updateQueue=null,Jr.current=Ba,e=n(i,o)}while(ia)}if(Jr.current=Ia,t=null!==ea&&null!==ea.next,Zr=0,ta=ea=Xr=null,na=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Xr.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Xr.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Xr.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Xr.memoizedState=ta=e:ta=ta.next=e}return ta}function ca(e,t){return"function"==typeof t?t(e):t}function da(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var i=ea,o=i.baseQueue,r=n.pending;if(null!==r){if(null!==o){var s=o.next;o.next=r.next,r.next=s}i.baseQueue=o=r,n.pending=null}if(null!==o){o=o.next,i=i.baseState;var l=s=r=null,c=o;do{var d=c.lane;if((Zr&d)===d)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),i=c.eagerReducer===e?c.eagerState:e(i,c.action);else{var u={lane:d,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=u,r=i):l=l.next=u,Xr.lanes|=d,Rs|=d}c=c.next}while(null!==c&&c!==o);null===l?r=i:l.next=s,ci(i,t.memoizedState)||(Pa=!0),t.memoizedState=i,t.baseState=r,t.baseQueue=l,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function ua(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,r=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{r=e(r,s.action),s=s.next}while(s!==o);ci(r,t.memoizedState)||(Pa=!0),t.memoizedState=r,null===t.baseQueue&&(t.baseState=r),n.lastRenderedState=r}return[r,i]}function ha(e,t,n){var i=t._getVersion;i=i(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===i:(e=e.mutableReadLanes,(e=(Zr&e)===e)&&(t._workInProgressVersionPrimary=i,Yr.push(t))),e)return n(t._source);throw Yr.push(t),Error(a(350))}function pa(e,t,n,i){var o=Ns;if(null===o)throw Error(a(349));var r=t._getVersion,s=r(t._source),l=Jr.current,c=l.useState((function(){return ha(o,t,n)})),d=c[1],u=c[0];c=ta;var h=e.memoizedState,p=h.refs,f=p.getSnapshot,g=h.source;h=h.subscribe;var m=Xr;return e.memoizedState={refs:p,source:t,subscribe:i},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=d;var e=r(t._source);if(!ci(s,e)){e=n(t._source),ci(u,e)||(d(e),e=dl(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var i=o.entanglements,a=e;0<a;){var l=31-Ht(a),c=1<<l;i[l]|=e,a&=~c}}}),[n,t,i]),l.useEffect((function(){return i(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var i=dl(m);o.mutableReadLanes|=i&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,i]),ci(f,n)&&ci(g,t)&&ci(h,i)||((e={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:u}).dispatch=d=Na.bind(null,Xr,e),c.queue=e,c.baseQueue=null,u=ha(o,t,n),c.memoizedState=c.baseState=u),u}function fa(e,t,n){return pa(la(),e,t,n)}function ga(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e}).dispatch=Na.bind(null,Xr,e),[t.memoizedState,e]}function ma(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},null===(t=Xr.updateQueue)?(t={lastEffect:null},Xr.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function va(e){return e={current:e},sa().memoizedState=e}function ba(){return la().memoizedState}function _a(e,t,n,i){var o=sa();Xr.flags|=e,o.memoizedState=ma(1|t,n,void 0,void 0===i?null:i)}function ya(e,t,n,i){var o=la();i=void 0===i?null:i;var r=void 0;if(null!==ea){var a=ea.memoizedState;if(r=a.destroy,null!==i&&ra(i,a.deps))return void ma(t,n,r,i)}Xr.flags|=e,o.memoizedState=ma(1|t,n,r,i)}function Aa(e,t){return _a(516,4,e,t)}function wa(e,t){return ya(516,4,e,t)}function Ca(e,t){return ya(4,2,e,t)}function xa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Sa(e,t,n){return n=null!=n?n.concat([e]):null,ya(4,2,xa.bind(null,t,e),n)}function Ea(){}function ka(e,t){var n=la();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&ra(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function Ma(e,t){var n=la();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&ra(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function Da(e,t){var n=Uo();Go(98>n?98:n,(function(){e(!0)})),Go(97<n?97:n,(function(){var n=qr.transition;qr.transition=1;try{e(!1),t()}finally{qr.transition=n}}))}function Na(e,t,n){var i=cl(),o=dl(e),r={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?r.next=r:(r.next=a.next,a.next=r),t.pending=r,a=e.alternate,e===Xr||null!==a&&a===Xr)ia=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(r.eagerReducer=a,r.eagerState=l,ci(l,s))return}catch(e){}ul(e,o,i)}}var Ia={readContext:ar,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Ta={readContext:ar,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ar,useEffect:Aa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,_a(4,2,xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _a(4,2,e,t)},useMemo:function(e,t){var n=sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=sa();return t=void 0!==n?n(t):t,i.memoizedState=i.baseState=t,e=(e=i.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Na.bind(null,Xr,e),[i.memoizedState,e]},useRef:va,useState:ga,useDebugValue:Ea,useDeferredValue:function(e){var t=ga(e),n=t[0],i=t[1];return Aa((function(){var t=qr.transition;qr.transition=1;try{i(e)}finally{qr.transition=t}}),[e]),n},useTransition:function(){var e=ga(!1),t=e[0];return va(e=Da.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var i=sa();return i.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},pa(i,e,t,n)},useOpaqueIdentifier:function(){if(Vr){var e=!1,t=function(e){return{$$typeof:O,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+($i++).toString(36))),Error(a(355))})),n=ga(t)[1];return 0==(2&Xr.mode)&&(Xr.flags|=516,ma(5,(function(){n("r:"+($i++).toString(36))}),void 0,null)),t}return ga(t="r:"+($i++).toString(36)),t},unstable_isNewReconciler:!1},La={readContext:ar,useCallback:ka,useContext:ar,useEffect:wa,useImperativeHandle:Sa,useLayoutEffect:Ca,useMemo:Ma,useReducer:da,useRef:ba,useState:function(){return da(ca)},useDebugValue:Ea,useDeferredValue:function(e){var t=da(ca),n=t[0],i=t[1];return wa((function(){var t=qr.transition;qr.transition=1;try{i(e)}finally{qr.transition=t}}),[e]),n},useTransition:function(){var e=da(ca)[0];return[ba().current,e]},useMutableSource:fa,useOpaqueIdentifier:function(){return da(ca)[0]},unstable_isNewReconciler:!1},Ba={readContext:ar,useCallback:ka,useContext:ar,useEffect:wa,useImperativeHandle:Sa,useLayoutEffect:Ca,useMemo:Ma,useReducer:ua,useRef:ba,useState:function(){return ua(ca)},useDebugValue:Ea,useDeferredValue:function(e){var t=ua(ca),n=t[0],i=t[1];return wa((function(){var t=qr.transition;qr.transition=1;try{i(e)}finally{qr.transition=t}}),[e]),n},useTransition:function(){var e=ua(ca)[0];return[ba().current,e]},useMutableSource:fa,useOpaqueIdentifier:function(){return ua(ca)[0]},unstable_isNewReconciler:!1},Oa=A.ReactCurrentOwner,Pa=!1;function Fa(e,t,n,i){t.child=null===e?kr(t,null,n,i):Er(t,e.child,n,i)}function Ra(e,t,n,i,o){n=n.render;var r=t.ref;return rr(t,o),i=aa(e,t,n,i,r,o),null===e||Pa?(t.flags|=1,Fa(e,t,i,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ns(e,t,o))}function ja(e,t,n,i,o,r){if(null===e){var a=n.type;return"function"!=typeof a||Wl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ul(n.type,null,i,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,za(e,t,a,i,o,r))}return a=e.child,0==(o&r)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:ui)(o,i)&&e.ref===t.ref)?ns(e,t,r):(t.flags|=1,(e=Hl(a,i)).ref=t.ref,e.return=t,t.child=e)}function za(e,t,n,i,o,r){if(null!==e&&ui(e.memoizedProps,i)&&e.ref===t.ref){if(Pa=!1,0==(r&o))return t.lanes=e.lanes,ns(e,t,r);0!=(16384&e.flags)&&(Pa=!0)}return Ha(e,t,n,i,r)}function Va(e,t,n){var i=t.pendingProps,o=i.children,r=null!==e?e.memoizedState:null;if("hidden"===i.mode||"unstable-defer-without-hiding"===i.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},_l(0,n);else{if(0==(1073741824&n))return e=null!==r?r.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},_l(0,e),null;t.memoizedState={baseLanes:0},_l(0,null!==r?r.baseLanes:n)}else null!==r?(i=r.baseLanes|n,t.memoizedState=null):i=n,_l(0,i);return Fa(e,t,o,n),t.child}function Wa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ha(e,t,n,i,o){var r=vo(n)?go:po.current;return r=mo(t,r),rr(t,o),n=aa(e,t,n,i,r,o),null===e||Pa?(t.flags|=1,Fa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ns(e,t,o))}function Ua(e,t,n,i,o){if(vo(n)){var r=!0;Ao(t)}else r=!1;if(rr(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),_r(t,n,i),Ar(t,n,i,o),i=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?ar(c):mo(t,c=vo(n)?go:po.current);var d=n.getDerivedStateFromProps,u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate;u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==i||l!==c)&&yr(t,a,i,c),sr=!1;var h=t.memoizedState;a.state=h,pr(t,i,a,o),l=t.memoizedState,s!==i||h!==l||fo.current||sr?("function"==typeof d&&(mr(t,n,d,i),l=t.memoizedState),(s=sr||br(t,n,s,i,h,l,c))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=i,t.memoizedState=l),a.props=i,a.state=l,a.context=c,i=s):("function"==typeof a.componentDidMount&&(t.flags|=4),i=!1)}else{a=t.stateNode,cr(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:qo(t.type,s),a.props=c,u=t.pendingProps,h=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ar(l):mo(t,l=vo(n)?go:po.current);var p=n.getDerivedStateFromProps;(d="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==u||h!==l)&&yr(t,a,i,l),sr=!1,h=t.memoizedState,a.state=h,pr(t,i,a,o);var f=t.memoizedState;s!==u||h!==f||fo.current||sr?("function"==typeof p&&(mr(t,n,p,i),f=t.memoizedState),(c=sr||br(t,n,c,i,h,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(i,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(i,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=i,t.memoizedState=f),a.props=i,a.state=f,a.context=l,i=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),i=!1)}return Qa(e,t,n,i,r,o)}function Qa(e,t,n,i,o,r){Wa(e,t);var a=0!=(64&t.flags);if(!i&&!a)return o&&wo(t,n,!1),ns(e,t,r);i=t.stateNode,Oa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:i.render();return t.flags|=1,null!==e&&a?(t.child=Er(t,e.child,null,r),t.child=Er(t,null,s,r)):Fa(e,t,s,r),t.memoizedState=i.state,o&&wo(t,n,!0),t.child}function Ga(e){var t=e.stateNode;t.pendingContext?_o(0,t.pendingContext,t.pendingContext!==t.context):t.context&&_o(0,t.context,!1),Lr(e,t.containerInfo)}var Ka,Ya,$a,Ja={dehydrated:null,retryLane:0};function qa(e,t,n){var i,o=t.pendingProps,r=Fr.current,a=!1;return(i=0!=(64&t.flags))||(i=(null===e||null!==e.memoizedState)&&0!=(2&r)),i?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(r|=1),uo(Fr,1&r),null===e?(void 0!==o.fallback&&Ur(t),e=o.children,r=o.fallback,a?(e=Za(t,e,r,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ja,e):"number"==typeof o.unstable_expectedLoadTime?(e=Za(t,e,r,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ja,t.lanes=33554432,e):((n=Gl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=function(e,t,n,i,o){var r=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0==(2&r)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Hl(a,s),null!==e?i=Hl(e,i):(i=Ql(i,r,o,null)).flags|=2,i.return=t,n.return=t,n.sibling=i,t.child=n,i}(e,t,o.children,o.fallback,n),a=t.child,r=e.child.memoizedState,a.memoizedState=null===r?{baseLanes:n}:{baseLanes:r.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Ja,o):(n=function(e,t,n,i){var o=e.child;return e=o.sibling,n=Hl(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=i),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n))}function Za(e,t,n,i){var o=e.mode,r=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==r?(r.childLanes=0,r.pendingProps=t):r=Gl(t,o,0,null),n=Ql(n,o,i,null),r.return=e,n.return=e,r.sibling=n,e.child=r,n}function Xa(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),or(e.return,t)}function es(e,t,n,i,o,r){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o,lastEffect:r}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=o,a.lastEffect=r)}function ts(e,t,n){var i=t.pendingProps,o=i.revealOrder,r=i.tail;if(Fa(e,t,i.children,n),0!=(2&(i=Fr.current)))i=1&i|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xa(e,n);else if(19===e.tag)Xa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(uo(Fr,i),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Rr(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),es(t,!1,o,n,r,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Rr(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}es(t,!0,n,null,r,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Hl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Hl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function is(e,t){if(!Vr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;null!==n;)null!==n.alternate&&(i=n),n=n.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function os(e,t,n){var i=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return vo(t.type)&&bo(),null;case 3:return Br(),co(fo),co(po),$r(),(i=t.stateNode).pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(Gr(t)?t.flags|=4:i.hydrate||(t.flags|=256)),null;case 5:Pr(t);var r=Tr(Ir.current);if(n=t.type,null!==e&&null!=t.stateNode)Ya(e,t,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!i){if(null===t.stateNode)throw Error(a(166));return null}if(e=Tr(Dr.current),Gr(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[qi]=t,i[Zi]=s,n){case"dialog":Di("cancel",i),Di("close",i);break;case"iframe":case"object":case"embed":Di("load",i);break;case"video":case"audio":for(e=0;e<Si.length;e++)Di(Si[e],i);break;case"source":Di("error",i);break;case"img":case"image":case"link":Di("error",i),Di("load",i);break;case"details":Di("toggle",i);break;case"input":ee(i,s),Di("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!s.multiple},Di("invalid",i);break;case"textarea":le(i,s),Di("invalid",i)}for(var c in Ce(n,s),e=null,s)s.hasOwnProperty(c)&&(r=s[c],"children"===c?"string"==typeof r?i.textContent!==r&&(e=["children",r]):"number"==typeof r&&i.textContent!==""+r&&(e=["children",""+r]):l.hasOwnProperty(c)&&null!=r&&"onScroll"===c&&Di("scroll",i));switch(n){case"input":J(i),ie(i,s,!0);break;case"textarea":J(i),de(i);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(i.onclick=ji)}i=e,t.updateQueue=i,null!==i&&(t.flags|=4)}else{switch(c=9===r.nodeType?r:r.ownerDocument,e===ue&&(e=he(n)),e===ue?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),"select"===n&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[qi]=t,e[Zi]=i,Ka(e,t),t.stateNode=e,c=xe(n,i),n){case"dialog":Di("cancel",e),Di("close",e),r=i;break;case"iframe":case"object":case"embed":Di("load",e),r=i;break;case"video":case"audio":for(r=0;r<Si.length;r++)Di(Si[r],e);r=i;break;case"source":Di("error",e),r=i;break;case"img":case"image":case"link":Di("error",e),Di("load",e),r=i;break;case"details":Di("toggle",e),r=i;break;case"input":ee(e,i),r=X(e,i),Di("invalid",e);break;case"option":r=re(e,i);break;case"select":e._wrapperState={wasMultiple:!!i.multiple},r=o({},i,{value:void 0}),Di("invalid",e);break;case"textarea":le(e,i),r=se(e,i),Di("invalid",e);break;default:r=i}Ce(n,r);var d=r;for(s in d)if(d.hasOwnProperty(s)){var u=d[s];"style"===s?Ae(e,u):"dangerouslySetInnerHTML"===s?null!=(u=u?u.__html:void 0)&&me(e,u):"children"===s?"string"==typeof u?("textarea"!==n||""!==u)&&ve(e,u):"number"==typeof u&&ve(e,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=u&&"onScroll"===s&&Di("scroll",e):null!=u&&y(e,s,u,c))}switch(n){case"input":J(e),ie(e,i,!1);break;case"textarea":J(e),de(e);break;case"option":null!=i.value&&e.setAttribute("value",""+Y(i.value));break;case"select":e.multiple=!!i.multiple,null!=(s=i.value)?ae(e,!!i.multiple,s,!1):null!=i.defaultValue&&ae(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=ji)}Wi(n,i)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)$a(0,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(a(166));n=Tr(Ir.current),Tr(Dr.current),Gr(t)?(i=t.stateNode,n=t.memoizedProps,i[qi]=t,i.nodeValue!==n&&(t.flags|=4)):((i=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[qi]=t,t.stateNode=i)}return null;case 13:return co(Fr),i=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(i=null!==i,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Gr(t):n=null!==e.memoizedState,i&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fr.current)?0===Os&&(Os=3):(0!==Os&&3!==Os||(Os=4),null===Ns||0==(134217727&Rs)&&0==(134217727&js)||gl(Ns,Ts))),(i||n)&&(t.flags|=4),null);case 4:return Br(),null===e&&Ii(t.stateNode.containerInfo),null;case 10:return ir(t),null;case 19:if(co(Fr),null===(i=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=i.rendering))if(s)is(i,!1);else{if(0!==Os||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Rr(e))){for(t.flags|=64,is(i,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===i.lastEffect&&(t.firstEffect=null),t.lastEffect=i.lastEffect,i=n,n=t.child;null!==n;)e=i,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return uo(Fr,1&Fr.current|2),t.child}e=e.sibling}null!==i.tail&&Ho()>Hs&&(t.flags|=64,s=!0,is(i,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Rr(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),is(i,!0),null===i.tail&&"hidden"===i.tailMode&&!c.alternate&&!Vr)return null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null),null}else 2*Ho()-i.renderingStartTime>Hs&&1073741824!==n&&(t.flags|=64,s=!0,is(i,!1),t.lanes=33554432);i.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=i.last)?n.sibling=c:t.child=c,i.last=c)}return null!==i.tail?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.lastEffect=t.lastEffect,i.renderingStartTime=Ho(),n.sibling=null,t=Fr.current,uo(Fr,s?1&t|2:1&t),n):null;case 23:case 24:return yl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==i.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function rs(e){switch(e.tag){case 1:vo(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Br(),co(fo),co(po),$r(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Pr(e),null;case 13:return co(Fr),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return co(Fr),null;case 4:return Br(),null;case 10:return ir(e),null;case 23:case 24:return yl(),null;default:return null}}function as(e,t){try{var n="",i=t;do{n+=G(i),i=i.return}while(i);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ss(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ya=function(e,t,n,i){var r=e.memoizedProps;if(r!==i){e=t.stateNode,Tr(Dr.current);var a,s=null;switch(n){case"input":r=X(e,r),i=X(e,i),s=[];break;case"option":r=re(e,r),i=re(e,i),s=[];break;case"select":r=o({},r,{value:void 0}),i=o({},i,{value:void 0}),s=[];break;case"textarea":r=se(e,r),i=se(e,i),s=[];break;default:"function"!=typeof r.onClick&&"function"==typeof i.onClick&&(e.onclick=ji)}for(u in Ce(n,i),n=null,r)if(!i.hasOwnProperty(u)&&r.hasOwnProperty(u)&&null!=r[u])if("style"===u){var c=r[u];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in i){var d=i[u];if(c=null!=r?r[u]:void 0,i.hasOwnProperty(u)&&d!==c&&(null!=d||null!=c))if("style"===u)if(c){for(a in c)!c.hasOwnProperty(a)||d&&d.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in d)d.hasOwnProperty(a)&&c[a]!==d[a]&&(n||(n={}),n[a]=d[a])}else n||(s||(s=[]),s.push(u,n)),n=d;else"dangerouslySetInnerHTML"===u?(d=d?d.__html:void 0,c=c?c.__html:void 0,null!=d&&c!==d&&(s=s||[]).push(u,d)):"children"===u?"string"!=typeof d&&"number"!=typeof d||(s=s||[]).push(u,""+d):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=d&&"onScroll"===u&&Di("scroll",e),s||c===d||(s=[])):"object"==typeof d&&null!==d&&d.$$typeof===O?d.toString():(s=s||[]).push(u,d))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},$a=function(e,t,n,i){n!==i&&(t.flags|=4)};var ls="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=dr(-1,n)).tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){Ks||(Ks=!0,Ys=i),ss(0,t)},n}function ds(e,t,n){(n=dr(-1,n)).tag=3;var i=e.type.getDerivedStateFromError;if("function"==typeof i){var o=t.value;n.payload=function(){return ss(0,t),i(o)}}var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){"function"!=typeof i&&(null===$s?$s=new Set([this]):$s.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var us="function"==typeof WeakSet?WeakSet:Set;function hs(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Fl(e,t)}else t.current=null}function ps(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,i=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:qo(t.type,n),i),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Gi(t.stateNode.containerInfo))}throw Error(a(163))}function fs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var i=e.create;e.destroy=i()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;i=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Bl(n,e),Ll(n,e)),e=i}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(i=n.elementType===n.type?t.memoizedProps:qo(n.type,t.memoizedProps),e.componentDidUpdate(i,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&fr(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}fr(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Wi(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))))}throw Error(a(163))}function gs(e,t){for(var n=e;;){if(5===n.tag){var i=n.stateNode;if(t)"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none";else{i=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,i.style.display=ye("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ms(e,t){if(xo&&"function"==typeof xo.onCommitFiberUnmount)try{xo.onCommitFiberUnmount(Co,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var i=n,o=i.destroy;if(i=i.tag,void 0!==o)if(0!=(4&i))Bl(t,n);else{i=t;try{o()}catch(e){Fl(i,e)}}n=n.next}while(n!==e)}break;case 1:if(hs(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Fl(t,e)}break;case 5:hs(t);break;case 4:ws(e,t)}}function vs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function bs(e){return 5===e.tag||3===e.tag||4===e.tag}function _s(e){e:{for(var t=e.return;null!==t;){if(bs(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var i=!1;break;case 3:case 4:t=t.containerInfo,i=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||bs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}i?ys(e,n,t):As(e,n,t)}function ys(e,t,n){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ji));else if(4!==i&&null!==(e=e.child))for(ys(e,t,n),e=e.sibling;null!==e;)ys(e,t,n),e=e.sibling}function As(e,t,n){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==i&&null!==(e=e.child))for(As(e,t,n),e=e.sibling;null!==e;)As(e,t,n),e=e.sibling}function ws(e,t){for(var n,i,o=t,r=!1;;){if(!r){r=o.return;e:for(;;){if(null===r)throw Error(a(160));switch(n=r.stateNode,r.tag){case 5:i=!1;break e;case 3:case 4:n=n.containerInfo,i=!0;break e}r=r.return}r=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=l;;)if(ms(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}i?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(ms(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(r=!1)}o.sibling.return=o.return,o=o.sibling}}function Cs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var i=n=n.next;do{3==(3&i.tag)&&(e=i.destroy,i.destroy=void 0,void 0!==e&&e()),i=i.next}while(i!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){i=t.memoizedProps;var o=null!==e?e.memoizedProps:i;e=t.type;var r=t.updateQueue;if(t.updateQueue=null,null!==r){for(n[Zi]=i,"input"===e&&"radio"===i.type&&null!=i.name&&te(n,i),xe(e,o),t=xe(e,i),o=0;o<r.length;o+=2){var s=r[o],l=r[o+1];"style"===s?Ae(n,l):"dangerouslySetInnerHTML"===s?me(n,l):"children"===s?ve(n,l):y(n,s,l,t)}switch(e){case"input":ne(n,i);break;case"textarea":ce(n,i);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!i.multiple,null!=(r=i.value)?ae(n,!!i.multiple,r,!1):e!==!!i.multiple&&(null!=i.defaultValue?ae(n,!!i.multiple,i.defaultValue,!0):ae(n,!!i.multiple,i.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,At(n.containerInfo)));case 13:return null!==t.memoizedState&&(Ws=Ho(),gs(t.child,!0)),void xs(t);case 19:return void xs(t);case 23:case 24:return void gs(t,null!==t.memoizedState)}throw Error(a(163))}function xs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new us),t.forEach((function(t){var i=jl.bind(null,e,t);n.has(t)||(n.add(t),t.then(i,i))}))}}function Ss(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Es=Math.ceil,ks=A.ReactCurrentDispatcher,Ms=A.ReactCurrentOwner,Ds=0,Ns=null,Is=null,Ts=0,Ls=0,Bs=lo(0),Os=0,Ps=null,Fs=0,Rs=0,js=0,zs=0,Vs=null,Ws=0,Hs=1/0;function Us(){Hs=Ho()+500}var Qs,Gs=null,Ks=!1,Ys=null,$s=null,Js=!1,qs=null,Zs=90,Xs=[],el=[],tl=null,nl=0,il=null,ol=-1,rl=0,al=0,sl=null,ll=!1;function cl(){return 0!=(48&Ds)?Ho():-1!==ol?ol:ol=Ho()}function dl(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Uo()?1:2;if(0===rl&&(rl=Fs),0!==Jo.transition){0!==al&&(al=null!==Vs?Vs.pendingLanes:0),e=rl;var t=4186112&~al;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Uo(),e=jt(0!=(4&Ds)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),rl)}function ul(e,t,n){if(50<nl)throw nl=0,il=null,Error(a(185));if(null===(e=hl(e,t)))return null;Wt(e,t,n),e===Ns&&(js|=t,4===Os&&gl(e,Ts));var i=Uo();1===t?0!=(8&Ds)&&0==(48&Ds)?ml(e):(pl(e,n),0===Ds&&(Us(),Yo())):(0==(4&Ds)||98!==i&&99!==i||(null===tl?tl=new Set([e]):tl.add(e)),pl(e,n)),Vs=e}function hl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function pl(e,t){for(var n=e.callbackNode,i=e.suspendedLanes,o=e.pingedLanes,r=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,d=r[l];if(-1===d){if(0==(c&i)||0!=(c&o)){d=t,Pt(c);var u=Ot;r[l]=10<=u?d+250:6<=u?d+5e3:-1}}else d<=t&&(e.expiredLanes|=c);s&=~c}if(i=Ft(e,e===Ns?Ts:0),t=Ot,0===i)null!==n&&(n!==Fo&&ko(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fo&&ko(n)}15===t?(n=ml.bind(null,e),null===jo?(jo=[n],zo=Eo(To,$o)):jo.push(n),n=Fo):14===t?n=Ko(99,ml.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Ko(n,fl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function fl(e){if(ol=-1,al=rl=0,0!=(48&Ds))throw Error(a(327));var t=e.callbackNode;if(Tl()&&e.callbackNode!==t)return null;var n=Ft(e,e===Ns?Ts:0);if(0===n)return null;var i=n,o=Ds;Ds|=16;var r=Cl();for(Ns===e&&Ts===i||(Us(),Al(e,i));;)try{El();break}catch(t){wl(e,t)}if(nr(),ks.current=r,Ds=o,null!==Is?i=0:(Ns=null,Ts=0,i=Os),0!=(Fs&js))Al(e,0);else if(0!==i){if(2===i&&(Ds|=64,e.hydrate&&(e.hydrate=!1,Gi(e.containerInfo)),0!==(n=Rt(e))&&(i=xl(e,n))),1===i)throw t=Ps,Al(e,0),gl(e,n),pl(e,Ho()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,i){case 0:case 1:throw Error(a(345));case 2:case 5:Dl(e);break;case 3:if(gl(e,n),(62914560&n)===n&&10<(i=Ws+500-Ho())){if(0!==Ft(e,0))break;if(((o=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ui(Dl.bind(null,e),i);break}Dl(e);break;case 4:if(gl(e,n),(4186112&n)===n)break;for(i=e.eventTimes,o=-1;0<n;){var s=31-Ht(n);r=1<<s,(s=i[s])>o&&(o=s),n&=~r}if(n=o,10<(n=(120>(n=Ho()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Es(n/1960))-n)){e.timeoutHandle=Ui(Dl.bind(null,e),n);break}Dl(e);break;default:throw Error(a(329))}}return pl(e,Ho()),e.callbackNode===t?fl.bind(null,e):null}function gl(e,t){for(t&=~zs,t&=~js,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),i=1<<n;e[n]=-1,t&=~i}}function ml(e){if(0!=(48&Ds))throw Error(a(327));if(Tl(),e===Ns&&0!=(e.expiredLanes&Ts)){var t=Ts,n=xl(e,t);0!=(Fs&js)&&(n=xl(e,t=Ft(e,t)))}else n=xl(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(Ds|=64,e.hydrate&&(e.hydrate=!1,Gi(e.containerInfo)),0!==(t=Rt(e))&&(n=xl(e,t))),1===n)throw n=Ps,Al(e,0),gl(e,t),pl(e,Ho()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Dl(e),pl(e,Ho()),null}function vl(e,t){var n=Ds;Ds|=1;try{return e(t)}finally{0===(Ds=n)&&(Us(),Yo())}}function bl(e,t){var n=Ds;Ds&=-2,Ds|=8;try{return e(t)}finally{0===(Ds=n)&&(Us(),Yo())}}function _l(e,t){uo(Bs,Ls),Ls|=t,Fs|=t}function yl(){Ls=Bs.current,co(Bs)}function Al(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Qi(n)),null!==Is)for(n=Is.return;null!==n;){var i=n;switch(i.tag){case 1:null!=(i=i.type.childContextTypes)&&bo();break;case 3:Br(),co(fo),co(po),$r();break;case 5:Pr(i);break;case 4:Br();break;case 13:case 19:co(Fr);break;case 10:ir(i);break;case 23:case 24:yl()}n=n.return}Ns=e,Is=Hl(e.current,null),Ts=Ls=Fs=t,Os=0,Ps=null,zs=js=Rs=0}function wl(e,t){for(;;){var n=Is;try{if(nr(),Jr.current=Ia,na){for(var i=Xr.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}na=!1}if(Zr=0,ta=ea=Xr=null,ia=!1,Ms.current=null,null===n||null===n.return){Os=1,Ps=t,Is=null;break}e:{var r=e,a=n.return,s=n,l=t;if(t=Ts,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var d=s.alternate;d?(s.updateQueue=d.updateQueue,s.memoizedState=d.memoizedState,s.lanes=d.lanes):(s.updateQueue=null,s.memoizedState=null)}var u=0!=(1&Fr.current),h=a;do{var p;if(p=13===h.tag){var f=h.memoizedState;if(null!==f)p=null!==f.dehydrated;else{var g=h.memoizedProps;p=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!u)}}if(p){var m=h.updateQueue;if(null===m){var v=new Set;v.add(c),h.updateQueue=v}else m.add(c);if(0==(2&h.mode)){if(h.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var b=dr(-1,1);b.tag=2,ur(s,b)}s.lanes|=1;break e}l=void 0,s=t;var _=r.pingCache;if(null===_?(_=r.pingCache=new ls,l=new Set,_.set(c,l)):void 0===(l=_.get(c))&&(l=new Set,_.set(c,l)),!l.has(s)){l.add(s);var y=Rl.bind(null,r,c,s);c.then(y,y)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(null!==h);l=Error((K(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Os&&(Os=2),l=as(l,s),h=a;do{switch(h.tag){case 3:r=l,h.flags|=4096,t&=-t,h.lanes|=t,hr(h,cs(0,r,t));break e;case 1:r=l;var A=h.type,w=h.stateNode;if(0==(64&h.flags)&&("function"==typeof A.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===$s||!$s.has(w)))){h.flags|=4096,t&=-t,h.lanes|=t,hr(h,ds(h,r,t));break e}}h=h.return}while(null!==h)}Ml(n)}catch(e){t=e,Is===n&&null!==n&&(Is=n=n.return);continue}break}}function Cl(){var e=ks.current;return ks.current=Ia,null===e?Ia:e}function xl(e,t){var n=Ds;Ds|=16;var i=Cl();for(Ns===e&&Ts===t||Al(e,t);;)try{Sl();break}catch(t){wl(e,t)}if(nr(),Ds=n,ks.current=i,null!==Is)throw Error(a(261));return Ns=null,Ts=0,Os}function Sl(){for(;null!==Is;)kl(Is)}function El(){for(;null!==Is&&!Mo();)kl(Is)}function kl(e){var t=Qs(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===t?Ml(e):Is=t,Ms.current=null}function Ml(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=os(n,t,Ls)))return void(Is=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ls)||0==(4&n.mode)){for(var i=0,o=n.child;null!==o;)i|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=i}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=rs(t)))return n.flags&=2047,void(Is=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Is=t);Is=t=e}while(null!==t);0===Os&&(Os=5)}function Dl(e){var t=Uo();return Go(99,Nl.bind(null,e,t)),null}function Nl(e,t){do{Tl()}while(null!==qs);if(0!=(48&Ds))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var i=n.lanes|n.childLanes,o=i,r=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<r;){var c=31-Ht(r),d=1<<c;o[c]=0,s[c]=-1,l[c]=-1,r&=~d}if(null!==tl&&0==(24&i)&&tl.has(e)&&tl.delete(e),e===Ns&&(Is=Ns=null,Ts=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){if(o=Ds,Ds|=32,Ms.current=null,zi=Yt,mi(s=gi())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(d=l.getSelection&&l.getSelection())&&0!==d.rangeCount){l=d.anchorNode,r=d.anchorOffset,c=d.focusNode,d=d.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var u=0,h=-1,p=-1,f=0,g=0,m=s,v=null;t:for(;;){for(var b;m!==l||0!==r&&3!==m.nodeType||(h=u+r),m!==c||0!==d&&3!==m.nodeType||(p=u+d),3===m.nodeType&&(u+=m.nodeValue.length),null!==(b=m.firstChild);)v=m,m=b;for(;;){if(m===s)break t;if(v===l&&++f===r&&(h=u),v===c&&++g===d&&(p=u),null!==(b=m.nextSibling))break;v=(m=v).parentNode}m=b}l=-1===h||-1===p?null:{start:h,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Vi={focusedElem:s,selectionRange:l},Yt=!1,sl=null,ll=!1,Gs=i;do{try{Il()}catch(e){if(null===Gs)throw Error(a(330));Fl(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);sl=null,Gs=i;do{try{for(s=e;null!==Gs;){var _=Gs.flags;if(16&_&&ve(Gs.stateNode,""),128&_){var y=Gs.alternate;if(null!==y){var A=y.ref;null!==A&&("function"==typeof A?A(null):A.current=null)}}switch(1038&_){case 2:_s(Gs),Gs.flags&=-3;break;case 6:_s(Gs),Gs.flags&=-3,Cs(Gs.alternate,Gs);break;case 1024:Gs.flags&=-1025;break;case 1028:Gs.flags&=-1025,Cs(Gs.alternate,Gs);break;case 4:Cs(Gs.alternate,Gs);break;case 8:ws(s,l=Gs);var w=l.alternate;vs(l),null!==w&&vs(w)}Gs=Gs.nextEffect}}catch(e){if(null===Gs)throw Error(a(330));Fl(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);if(A=Vi,y=gi(),_=A.focusedElem,s=A.selectionRange,y!==_&&_&&_.ownerDocument&&fi(_.ownerDocument.documentElement,_)){null!==s&&mi(_)&&(y=s.start,void 0===(A=s.end)&&(A=y),"selectionStart"in _?(_.selectionStart=y,_.selectionEnd=Math.min(A,_.value.length)):(A=(y=_.ownerDocument||document)&&y.defaultView||window).getSelection&&(A=A.getSelection(),l=_.textContent.length,w=Math.min(s.start,l),s=void 0===s.end?w:Math.min(s.end,l),!A.extend&&w>s&&(l=s,s=w,w=l),l=pi(_,w),r=pi(_,s),l&&r&&(1!==A.rangeCount||A.anchorNode!==l.node||A.anchorOffset!==l.offset||A.focusNode!==r.node||A.focusOffset!==r.offset)&&((y=y.createRange()).setStart(l.node,l.offset),A.removeAllRanges(),w>s?(A.addRange(y),A.extend(r.node,r.offset)):(y.setEnd(r.node,r.offset),A.addRange(y))))),y=[];for(A=_;A=A.parentNode;)1===A.nodeType&&y.push({element:A,left:A.scrollLeft,top:A.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<y.length;_++)(A=y[_]).element.scrollLeft=A.left,A.element.scrollTop=A.top}Yt=!!zi,Vi=zi=null,e.current=n,Gs=i;do{try{for(_=e;null!==Gs;){var C=Gs.flags;if(36&C&&fs(_,Gs.alternate,Gs),128&C){y=void 0;var x=Gs.ref;if(null!==x){var S=Gs.stateNode;Gs.tag,y=S,"function"==typeof x?x(y):x.current=y}}Gs=Gs.nextEffect}}catch(e){if(null===Gs)throw Error(a(330));Fl(Gs,e),Gs=Gs.nextEffect}}while(null!==Gs);Gs=null,Ro(),Ds=o}else e.current=n;if(Js)Js=!1,qs=e,Zs=t;else for(Gs=i;null!==Gs;)t=Gs.nextEffect,Gs.nextEffect=null,8&Gs.flags&&((C=Gs).sibling=null,C.stateNode=null),Gs=t;if(0===(i=e.pendingLanes)&&($s=null),1===i?e===il?nl++:(nl=0,il=e):nl=0,n=n.stateNode,xo&&"function"==typeof xo.onCommitFiberRoot)try{xo.onCommitFiberRoot(Co,n,void 0,64==(64&n.current.flags))}catch(e){}if(pl(e,Ho()),Ks)throw Ks=!1,e=Ys,Ys=null,e;return 0!=(8&Ds)||Yo(),null}function Il(){for(;null!==Gs;){var e=Gs.alternate;ll||null===sl||(0!=(8&Gs.flags)?Xe(Gs,sl)&&(ll=!0):13===Gs.tag&&Ss(e,Gs)&&Xe(Gs,sl)&&(ll=!0));var t=Gs.flags;0!=(256&t)&&ps(e,Gs),0==(512&t)||Js||(Js=!0,Ko(97,(function(){return Tl(),null}))),Gs=Gs.nextEffect}}function Tl(){if(90!==Zs){var e=97<Zs?97:Zs;return Zs=90,Go(e,Ol)}return!1}function Ll(e,t){Xs.push(t,e),Js||(Js=!0,Ko(97,(function(){return Tl(),null})))}function Bl(e,t){el.push(t,e),Js||(Js=!0,Ko(97,(function(){return Tl(),null})))}function Ol(){if(null===qs)return!1;var e=qs;if(qs=null,0!=(48&Ds))throw Error(a(331));var t=Ds;Ds|=32;var n=el;el=[];for(var i=0;i<n.length;i+=2){var o=n[i],r=n[i+1],s=o.destroy;if(o.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===r)throw Error(a(330));Fl(r,e)}}for(n=Xs,Xs=[],i=0;i<n.length;i+=2){o=n[i],r=n[i+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===r)throw Error(a(330));Fl(r,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ds=t,Yo(),!0}function Pl(e,t,n){ur(e,t=cs(0,t=as(n,t),1)),t=cl(),null!==(e=hl(e,1))&&(Wt(e,1,t),pl(e,t))}function Fl(e,t){if(3===e.tag)Pl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Pl(n,e,t);break}if(1===n.tag){var i=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===$s||!$s.has(i))){var o=ds(n,e=as(t,e),1);if(ur(n,o),o=cl(),null!==(n=hl(n,1)))Wt(n,1,o),pl(n,o);else if("function"==typeof i.componentDidCatch&&(null===$s||!$s.has(i)))try{i.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Rl(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ns===e&&(Ts&n)===n&&(4===Os||3===Os&&(62914560&Ts)===Ts&&500>Ho()-Ws?Al(e,0):zs|=n),pl(e,t)}function jl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Uo()?1:2:(0===rl&&(rl=Fs),0===(t=zt(62914560&~rl))&&(t=4194304))),n=cl(),null!==(e=hl(e,t))&&(Wt(e,t,n),pl(e,n))}function zl(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Vl(e,t,n,i){return new zl(e,t,n,i)}function Wl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Hl(e,t){var n=e.alternate;return null===n?((n=Vl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ul(e,t,n,i,o,r){var s=2;if(i=e,"function"==typeof e)Wl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Ql(n.children,o,r,t);case P:s=8,o|=16;break;case S:s=8,o|=1;break;case E:return(e=Vl(12,n,t,8|o)).elementType=E,e.type=E,e.lanes=r,e;case N:return(e=Vl(13,n,t,o)).type=N,e.elementType=N,e.lanes=r,e;case I:return(e=Vl(19,n,t,o)).elementType=I,e.lanes=r,e;case F:return Gl(n,o,r,t);case R:return(e=Vl(24,n,t,o)).elementType=R,e.lanes=r,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case M:s=9;break e;case D:s=11;break e;case T:s=14;break e;case L:s=16,i=null;break e;case B:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Vl(s,n,t,o)).elementType=e,t.type=i,t.lanes=r,t}function Ql(e,t,n,i){return(e=Vl(7,e,i,t)).lanes=n,e}function Gl(e,t,n,i){return(e=Vl(23,e,i,t)).elementType=F,e.lanes=n,e}function Kl(e,t,n){return(e=Vl(6,e,null,t)).lanes=n,e}function Yl(e,t,n){return(t=Vl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $l(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==i?null:""+i,children:e,containerInfo:t,implementation:n}}function ql(e,t,n,i){var o=t.current,r=cl(),s=dl(o);e:if(n){t:{if($e(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(vo(c)){n=yo(n,c,l);break e}}n=l}else n=ho;return null===t.context?t.context=n:t.pendingContext=n,(t=dr(r,s)).payload={element:e},null!==(i=void 0===i?null:i)&&(t.callback=i),ur(o,t),ul(o,s,r),s}function Zl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Xl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Xl(e,t),(e=e.alternate)&&Xl(e,t)}function tc(e,t,n){var i=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new $l(e,t,null!=n&&!0===n.hydrate),t=Vl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,lr(t),e[Xi]=n.current,Ii(8===e.nodeType?e.parentNode:e),i)for(e=0;e<i.length;e++){var o=(t=i[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ic(e,t,n,i,o){var r=n._reactRootContainer;if(r){var a=r._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Zl(a);s.call(e)}}ql(t,a,e,o)}else{if(r=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,i),a=r._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Zl(a);l.call(e)}}bl((function(){ql(t,a,e,o)}))}return Zl(a)}function oc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(a(200));return Jl(e,t,null,n)}Qs=function(e,t,n){var i=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||fo.current)Pa=!0;else{if(0==(n&i)){switch(Pa=!1,t.tag){case 3:Ga(t),Kr();break;case 5:Or(t);break;case 1:vo(t.type)&&Ao(t);break;case 4:Lr(t,t.stateNode.containerInfo);break;case 10:i=t.memoizedProps.value;var o=t.type._context;uo(Zo,o._currentValue),o._currentValue=i;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?qa(e,t,n):(uo(Fr,1&Fr.current),null!==(t=ns(e,t,n))?t.sibling:null);uo(Fr,1&Fr.current);break;case 19:if(i=0!=(n&t.childLanes),0!=(64&e.flags)){if(i)return ts(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),uo(Fr,Fr.current),i)break;return null;case 23:case 24:return t.lanes=0,Va(e,t,n)}return ns(e,t,n)}Pa=0!=(16384&e.flags)}else Pa=!1;switch(t.lanes=0,t.tag){case 2:if(i=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=mo(t,po.current),rr(t,n),o=aa(null,t,i,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(i)){var r=!0;Ao(t)}else r=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,lr(t);var s=i.getDerivedStateFromProps;"function"==typeof s&&mr(t,i,s,e),o.updater=vr,t.stateNode=o,o._reactInternals=t,Ar(t,i,e,n),t=Qa(null,t,i,!0,r,n)}else t.tag=0,Fa(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(r=o._init)(o._payload),t.type=o,r=t.tag=function(e){if("function"==typeof e)return Wl(e)?1:0;if(null!=e){if((e=e.$$typeof)===D)return 11;if(e===T)return 14}return 2}(o),e=qo(o,e),r){case 0:t=Ha(null,t,o,e,n);break e;case 1:t=Ua(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=ja(null,t,o,qo(o.type,e),i,n);break e}throw Error(a(306,o,""))}return t;case 0:return i=t.type,o=t.pendingProps,Ha(e,t,i,o=t.elementType===i?o:qo(i,o),n);case 1:return i=t.type,o=t.pendingProps,Ua(e,t,i,o=t.elementType===i?o:qo(i,o),n);case 3:if(Ga(t),i=t.updateQueue,null===e||null===i)throw Error(a(282));if(i=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,cr(e,t),pr(t,i,null,n),(i=t.memoizedState.element)===o)Kr(),t=ns(e,t,n);else{if((r=(o=t.stateNode).hydrate)&&(zr=Ki(t.stateNode.containerInfo.firstChild),jr=t,r=Vr=!0),r){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(r=e[o])._workInProgressVersionPrimary=e[o+1],Yr.push(r);for(n=kr(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Fa(e,t,i,n),Kr();t=t.child}return t;case 5:return Or(t),null===e&&Ur(t),i=t.type,o=t.pendingProps,r=null!==e?e.memoizedProps:null,s=o.children,Hi(i,o)?s=null:null!==r&&Hi(i,r)&&(t.flags|=16),Wa(e,t),Fa(e,t,s,n),t.child;case 6:return null===e&&Ur(t),null;case 13:return qa(e,t,n);case 4:return Lr(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=Er(t,null,i,n):Fa(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,Ra(e,t,i,o=t.elementType===i?o:qo(i,o),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{i=t.type._context,o=t.pendingProps,s=t.memoizedProps,r=o.value;var l=t.type._context;if(uo(Zo,l._currentValue),l._currentValue=r,null!==s)if(l=s.value,0==(r=ci(l,r)?0:0|("function"==typeof i._calculateChangedBits?i._calculateChangedBits(l,r):1073741823))){if(s.children===o.children&&!fo.current){t=ns(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var d=c.firstContext;null!==d;){if(d.context===i&&0!=(d.observedBits&r)){1===l.tag&&((d=dr(-1,n&-n)).tag=2,ur(l,d)),l.lanes|=n,null!==(d=l.alternate)&&(d.lanes|=n),or(l.return,n),c.lanes|=n;break}d=d.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Fa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=(r=t.pendingProps).children,rr(t,n),i=i(o=ar(o,r.unstable_observedBits)),t.flags|=1,Fa(e,t,i,n),t.child;case 14:return r=qo(o=t.type,t.pendingProps),ja(e,t,o,r=qo(o.type,r),i,n);case 15:return za(e,t,t.type,t.pendingProps,i,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:qo(i,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,vo(i)?(e=!0,Ao(t)):e=!1,rr(t,n),_r(t,i,o),Ar(t,i,o,n),Qa(null,t,i,!0,e,n);case 19:return ts(e,t,n);case 23:case 24:return Va(e,t,n)}throw Error(a(156,t.tag))},tc.prototype.render=function(e){ql(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ql(null,e,null,(function(){t[Xi]=null}))},et=function(e){13===e.tag&&(ul(e,4,cl()),ec(e,4))},tt=function(e){13===e.tag&&(ul(e,67108864,cl()),ec(e,67108864))},nt=function(e){if(13===e.tag){var t=cl(),n=dl(e);ul(e,n,t),ec(e,n)}},it=function(e,t){return t()},Ee=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=oo(i);if(!o)throw Error(a(90));q(i),ne(i,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Te=vl,Le=function(e,t,n,i,o){var r=Ds;Ds|=4;try{return Go(98,e.bind(null,t,n,i,o))}finally{0===(Ds=r)&&(Us(),Yo())}},Be=function(){0==(49&Ds)&&(function(){if(null!==tl){var e=tl;tl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,pl(e,Ho())}))}Yo()}(),Tl())},Oe=function(e,t){var n=Ds;Ds|=2;try{return e(t)}finally{0===(Ds=n)&&(Us(),Yo())}};var rc={Events:[no,io,oo,Ne,Ie,Tl,{current:!1}]},ac={findFiberByHostInstance:to,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{Co=lc.inject(sc),xo=lc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rc,t.createPortal=oc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ds;if(0!=(48&n))return e(t);Ds|=1;try{if(e)return Go(99,e.bind(null,t))}finally{Ds=n,Yo()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(a(200));return ic(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(a(200));return ic(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(a(40));return!!e._reactRootContainer&&(bl((function(){ic(null,null,e,!1,(function(){e._reactRootContainer=null,e[Xi]=null}))})),!0)},t.unstable_batchedUpdates=vl,t.unstable_createPortal=function(e,t){return oc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!nc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ic(e,t,n,!1,i)},t.version="17.0.2"},10571:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2340)},30693:e=>{"use strict";var t=Array.isArray,n=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function r(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var s,l,c,d=t(e),u=t(a);if(d&&u){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(!r(e[s],a[s]))return!1;return!0}if(d!=u)return!1;var h=e instanceof Date,p=a instanceof Date;if(h!=p)return!1;if(h&&p)return e.getTime()==a.getTime();var f=e instanceof RegExp,g=a instanceof RegExp;if(f!=g)return!1;if(f&&g)return e.toString()==a.toString();var m=n(e);if((l=m.length)!==n(a).length)return!1;for(s=l;0!=s--;)if(!i.call(a,m[s]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(s=l;0!=s--;)if(!("_owner"===(c=m[s])&&e.$$typeof||r(e[c],a[c])))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return r(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},4507:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function A(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case u:case r:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case m:case g:case l:return e;default:return t}}case o:return t}}}function w(e){return A(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=r,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||A(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return A(e)===c},t.isContextProvider=function(e){return A(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return A(e)===h},t.isFragment=function(e){return A(e)===r},t.isLazy=function(e){return A(e)===m},t.isMemo=function(e){return A(e)===g},t.isPortal=function(e){return A(e)===o},t.isProfiler=function(e){return A(e)===s},t.isStrictMode=function(e){return A(e)===a},t.isSuspense=function(e){return A(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_||e.$$typeof===y||e.$$typeof===v)},t.typeOf=A},99415:(e,t,n)=>{"use strict";e.exports=n(4507)},23384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MonacoDiffEditor:()=>h,default:()=>m,monaco:()=>i});var i=n(65804),o=n(7862),r=n(29901);function a(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}function s(){}var l,c=(l=function(e,t){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},l(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},u=function(e){function t(t){var n=e.call(this,t)||this;return n.assignRef=function(e){n.containerElement=e},n.containerElement=void 0,n}return c(t,e),t.prototype.componentDidMount=function(){this.initMonaco()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.language,o=t.theme,r=t.height,a=t.options,s=t.width,l=t.className,c=this.editor.getModel(),u=c.original,h=c.modified;this.props.original!==u.getValue()&&u.setValue(this.props.original),null!=this.props.value&&this.props.value!==h.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.getModifiedEditor().pushUndoStop(),h.pushEditOperations([],[{range:h.getFullModelRange(),text:this.props.value}]),this.editor.getModifiedEditor().pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==n&&(i.editor.setModelLanguage(u,n),i.editor.setModelLanguage(h,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||s===e.width&&r===e.height||this.editor.layout(),e.options!==a&&this.editor.updateOptions(d(d({},l?{extraEditorClassName:l}:{}),a))},t.prototype.componentWillUnmount=function(){this.destroyMonaco()},t.prototype.editorWillMount=function(){return(0,this.props.editorWillMount)(i)||{}},t.prototype.editorDidMount=function(e){var t=this;this.props.editorDidMount(e,i);var n=e.getModel().modified;this._subscription=n.onDidChangeContent((function(e){t.__prevent_trigger_change_event||t.props.onChange(n.getValue(),e)}))},t.prototype.editorWillUnmount=function(e){(0,this.props.editorWillUnmount)(e,i)},t.prototype.initModels=function(e,t){var n=this.props.language,o=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})},t.prototype.initMonaco=function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,o=t.theme,r=t.options,a=t.overrideServices,s=t.className;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d(d({},s?{extraEditorClassName:s}:{}),r),o?{theme:o}:{}),a),this.initModels(e,n),this.editorDidMount(this.editor))},t.prototype.destroyMonaco=function(){if(this.editor){this.editorWillUnmount(this.editor),this.editor.dispose();var e=this.editor.getModel(),t=e.original,n=e.modified;t&&t.dispose(),n&&n.dispose()}this._subscription&&this._subscription.dispose()},t.prototype.render=function(){var e=this.props,t=e.width,n=e.height,i={width:a(t),height:a(n)};return r.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})},t.propTypes={width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number]),original:o.string,value:o.string,defaultValue:o.string,language:o.string,theme:o.string,options:o.object,overrideServices:o.object,editorWillMount:o.func,editorDidMount:o.func,editorWillUnmount:o.func,onChange:o.func,className:o.string},t.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorWillMount:s,editorDidMount:s,editorWillUnmount:s,onChange:s,className:null},t}(r.Component);const h=u;var p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),f=function(){return f=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},g=function(e){function t(t){var n=e.call(this,t)||this;return n.assignRef=function(e){n.containerElement=e},n.containerElement=void 0,n}return p(t,e),t.prototype.componentDidMount=function(){this.initMonaco()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.value,o=t.language,r=t.theme,a=t.height,s=t.options,l=t.width,c=t.className,d=this.editor,u=d.getModel();if(null!=this.props.value&&this.props.value!==u.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),u.pushEditOperations([],[{range:u.getFullModelRange(),text:n}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==o&&i.editor.setModelLanguage(u,o),e.theme!==r&&i.editor.setTheme(r),!d||l===e.width&&a===e.height||d.layout(),e.options!==s){s.model;var h=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(s,["model"]);d.updateOptions(f(f({},c?{extraEditorClassName:c}:{}),h))}},t.prototype.componentWillUnmount=function(){this.destroyMonaco()},t.prototype.destroyMonaco=function(){if(this.editor){this.editorWillUnmount(this.editor),this.editor.dispose();var e=this.editor.getModel();e&&e.dispose()}this._subscription&&this._subscription.dispose()},t.prototype.initMonaco=function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,o=t.theme,r=t.overrideServices,a=t.className;if(this.containerElement){var s=f(f({},this.props.options),this.editorWillMount());this.editor=i.editor.create(this.containerElement,f(f(f({value:e,language:n},a?{extraEditorClassName:a}:{}),s),o?{theme:o}:{}),r),this.editorDidMount(this.editor)}},t.prototype.editorWillMount=function(){return(0,this.props.editorWillMount)(i)||{}},t.prototype.editorDidMount=function(e){var t=this;this.props.editorDidMount(e,i),this._subscription=e.onDidChangeModelContent((function(n){t.__prevent_trigger_change_event||t.props.onChange(e.getValue(),n)}))},t.prototype.editorWillUnmount=function(e){(0,this.props.editorWillUnmount)(e,i)},t.prototype.render=function(){var e=this.props,t=e.width,n=e.height,i={width:a(t),height:a(n)};return r.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})},t.propTypes={width:o.oneOfType([o.string,o.number]),height:o.oneOfType([o.string,o.number]),value:o.string,defaultValue:o.string,language:o.string,theme:o.string,options:o.object,overrideServices:o.object,editorWillMount:o.func,editorDidMount:o.func,editorWillUnmount:o.func,onChange:o.func,className:o.string},t.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorWillMount:s,editorDidMount:s,editorWillUnmount:s,onChange:s,className:null},t}(r.Component);const m=g},31352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Provider:()=>d,ReactReduxContext:()=>o,batch:()=>$.unstable_batchedUpdates,connect:()=>j,connectAdvanced:()=>C,createDispatchHook:()=>H,createSelectorHook:()=>G,createStoreHook:()=>V,shallowEqual:()=>S,useDispatch:()=>U,useSelector:()=>Y,useStore:()=>W});var i=n(29901),o=(n(69480),i.createContext(null)),r=function(e){e()},a=function(){return r},s={notify:function(){}},l=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=s,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=a(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var i=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){i&&null!==t&&(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},e}(),c="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;const d=function(e){var t=e.store,n=e.context,r=e.children,a=(0,i.useMemo)((function(){var e=new l(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),s=(0,i.useMemo)((function(){return t.getState()}),[t]);c((function(){var e=a.subscription;return e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var d=n||o;return i.createElement(d.Provider,{value:a},r)};var u=n(71437),h=n(71268),p=n(10063),f=n.n(p),g=n(99415),m=[],v=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function _(e,t,n){c((function(){return e.apply(void 0,t)}),n)}function y(e,t,n,i,o,r,a){e.current=i,t.current=o,n.current=!1,r.current&&(r.current=null,a())}function A(e,t,n,i,o,r,a,s,l,c){if(e){var d=!1,u=null,h=function(){if(!d){var e,n,h=t.getState();try{e=i(h,o.current)}catch(e){n=e,u=e}n||(u=null),e===r.current?a.current||l():(r.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=h,n.trySubscribe(),h(),function(){if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,u)throw u}}}var w=function(){return[null,0]};function C(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,a=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,s=n.methodName,c=void 0===s?"connectAdvanced":s,d=n.renderCountProp,p=void 0===d?void 0:d,C=n.shouldHandleStateChanges,x=void 0===C||C,S=n.storeKey,E=void 0===S?"store":S,k=(n.withRef,n.forwardRef),M=void 0!==k&&k,D=n.context,N=void 0===D?o:D,I=(0,h.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),T=N;return function(t){var n=t.displayName||t.name||"Component",o=a(n),r=(0,u.Z)({},I,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:x,storeKey:E,displayName:o,wrappedComponentName:n,WrappedComponent:t}),s=I.pure,d=s?i.useMemo:function(e){return e()};function C(n){var o=(0,i.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,h.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),a=o[0],s=o[1],c=o[2],p=(0,i.useMemo)((function(){return a&&a.Consumer&&(0,g.isContextConsumer)(i.createElement(a.Consumer,null))?a:T}),[a,T]),f=(0,i.useContext)(p),C=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(f)&&Boolean(f.store);var S=C?n.store:f.store,E=(0,i.useMemo)((function(){return function(t){return e(t.dispatch,r)}(S)}),[S]),k=(0,i.useMemo)((function(){if(!x)return v;var e=new l(S,C?null:f.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[S,C,f]),M=k[0],D=k[1],N=(0,i.useMemo)((function(){return C?f:(0,u.Z)({},f,{subscription:M})}),[C,f,M]),I=(0,i.useReducer)(b,m,w),L=I[0][0],B=I[1];if(L&&L.error)throw L.error;var O=(0,i.useRef)(),P=(0,i.useRef)(c),F=(0,i.useRef)(),R=(0,i.useRef)(!1),j=d((function(){return F.current&&c===P.current?F.current:E(S.getState(),c)}),[S,L,c]);_(y,[P,O,R,c,j,F,D]),_(A,[x,S,M,E,P,O,R,F,D,B],[S,M,E]);var z=(0,i.useMemo)((function(){return i.createElement(t,(0,u.Z)({},j,{ref:s}))}),[s,t,j]);return(0,i.useMemo)((function(){return x?i.createElement(p.Provider,{value:N},z):z}),[p,z,N])}var S=s?i.memo(C):C;if(S.WrappedComponent=t,S.displayName=C.displayName=o,M){var k=i.forwardRef((function(e,t){return i.createElement(S,(0,u.Z)({},e,{reactReduxForwardedRef:t}))}));return k.displayName=o,k.WrappedComponent=t,f()(k,t)}return f()(S,t)}}function x(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e,t){if(x(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!x(e[n[o]],t[n[o]]))return!1;return!0}function E(e){return function(t,n){var i=e(t,n);function o(){return i}return o.dependsOnOwnProps=!1,o}}function k(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function M(e,t){return function(t,n){n.displayName;var i=function(e,t){return i.dependsOnOwnProps?i.mapToProps(e,t):i.mapToProps(e)};return i.dependsOnOwnProps=!0,i.mapToProps=function(t,n){i.mapToProps=e,i.dependsOnOwnProps=k(e);var o=i(t,n);return"function"==typeof o&&(i.mapToProps=o,i.dependsOnOwnProps=k(o),o=i(t,n)),o},i}}const D=[function(e){return"function"==typeof e?M(e):void 0},function(e){return e?void 0:E((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?E((function(t){return function(e,t){var n={},i=function(i){var o=e[i];"function"==typeof o&&(n[i]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)i(o);return n}(e,t)})):void 0}],N=[function(e){return"function"==typeof e?M(e):void 0},function(e){return e?void 0:E((function(){return{}}))}];function I(e,t,n){return(0,u.Z)({},n,e,t)}const T=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var i,o=n.pure,r=n.areMergedPropsEqual,a=!1;return function(t,n,s){var l=e(t,n,s);return a?o&&r(l,i)||(i=l):(a=!0,i=l),i}}}(e):void 0},function(e){return e?void 0:function(){return I}}];function L(e,t,n,i){return function(o,r){return n(e(o,r),t(i,r),r)}}function B(e,t,n,i,o){var r,a,s,l,c,d=o.areStatesEqual,u=o.areOwnPropsEqual,h=o.areStatePropsEqual,p=!1;return function(o,f){return p?function(o,p){var f,g,m=!u(p,a),v=!d(o,r);return r=o,a=p,m&&v?(s=e(r,a),t.dependsOnOwnProps&&(l=t(i,a)),c=n(s,l,a)):m?(e.dependsOnOwnProps&&(s=e(r,a)),t.dependsOnOwnProps&&(l=t(i,a)),c=n(s,l,a)):v?(f=e(r,a),g=!h(f,s),s=f,g&&(c=n(s,l,a)),c):c}(o,f):(s=e(r=o,a=f),l=t(i,a),c=n(s,l,a),p=!0,c)}}function O(e,t){var n=t.initMapStateToProps,i=t.initMapDispatchToProps,o=t.initMergeProps,r=(0,h.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,r),s=i(e,r),l=o(e,r);return(r.pure?B:L)(a,s,l,e,r)}function P(e,t,n){for(var i=t.length-1;i>=0;i--){var o=t[i](e);if(o)return o}return function(t,i){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+i.wrappedComponentName+".")}}function F(e,t){return e===t}function R(e){var t=void 0===e?{}:e,n=t.connectHOC,i=void 0===n?C:n,o=t.mapStateToPropsFactories,r=void 0===o?N:o,a=t.mapDispatchToPropsFactories,s=void 0===a?D:a,l=t.mergePropsFactories,c=void 0===l?T:l,d=t.selectorFactory,p=void 0===d?O:d;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,d=void 0===l||l,f=a.areStatesEqual,g=void 0===f?F:f,m=a.areOwnPropsEqual,v=void 0===m?S:m,b=a.areStatePropsEqual,_=void 0===b?S:b,y=a.areMergedPropsEqual,A=void 0===y?S:y,w=(0,h.Z)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=P(e,r,"mapStateToProps"),x=P(t,s,"mapDispatchToProps"),E=P(n,c,"mergeProps");return i(p,(0,u.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:x,initMergeProps:E,pure:d,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:_,areMergedPropsEqual:A},w))}}const j=R();function z(){return(0,i.useContext)(o)}function V(e){void 0===e&&(e=o);var t=e===o?z:function(){return(0,i.useContext)(e)};return function(){return t().store}}var W=V();function H(e){void 0===e&&(e=o);var t=e===o?W:V(e);return function(){return t().dispatch}}var U=H(),Q=function(e,t){return e===t};function G(e){void 0===e&&(e=o);var t=e===o?z:function(){return(0,i.useContext)(e)};return function(e,n){void 0===n&&(n=Q);var o=t(),r=function(e,t,n,o){var r,a=(0,i.useReducer)((function(e){return e+1}),0)[1],s=(0,i.useMemo)((function(){return new l(n,o)}),[n,o]),d=(0,i.useRef)(),u=(0,i.useRef)(),h=(0,i.useRef)(),p=(0,i.useRef)(),f=n.getState();try{if(e!==u.current||f!==h.current||d.current){var g=e(f);r=void 0!==p.current&&t(g,p.current)?p.current:g}else r=p.current}catch(e){throw d.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+d.current.stack+"\n\n"),e}return c((function(){u.current=e,h.current=f,p.current=r,d.current=void 0})),c((function(){function e(){try{var e=n.getState(),i=u.current(e);if(t(i,p.current))return;p.current=i,h.current=e}catch(e){d.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),r}(e,n,o.store,o.subscription);return(0,i.useDebugValue)(r),r}}var K,Y=G(),$=n(10571);K=$.unstable_batchedUpdates,r=K},84246:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BrowserRouter:()=>d,HashRouter:()=>u,Link:()=>v,MemoryRouter:()=>i.MemoryRouter,NavLink:()=>y,Prompt:()=>i.Prompt,Redirect:()=>i.Redirect,Route:()=>i.Route,Router:()=>i.Router,StaticRouter:()=>i.StaticRouter,Switch:()=>i.Switch,generatePath:()=>i.generatePath,matchPath:()=>i.matchPath,useHistory:()=>i.useHistory,useLocation:()=>i.useLocation,useParams:()=>i.useParams,useRouteMatch:()=>i.useRouteMatch,withRouter:()=>i.withRouter});var i=n(39422),o=n(89176),r=n(29901),a=n(41901),s=n(71437),l=n(71268),c=n(32054),d=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).history=(0,a.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return r.createElement(i.Router,{history:this.history,children:this.props.children})},t}(r.Component),u=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).history=(0,a.q_)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return r.createElement(i.Router,{history:this.history,children:this.props.children})},t}(r.Component),h=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,a.ob)(e,null,null,t):e},f=function(e){return e},g=r.forwardRef;void 0===g&&(g=f);var m=g((function(e,t){var n=e.innerRef,i=e.navigate,o=e.onClick,a=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=a.target,d=(0,s.Z)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),i())}});return d.ref=f!==g&&t||n,r.createElement("a",d)})),v=g((function(e,t){var n=e.component,o=void 0===n?m:n,d=e.replace,u=e.to,v=e.innerRef,b=(0,l.Z)(e,["component","replace","to","innerRef"]);return r.createElement(i.__RouterContext.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,i=p(h(u,e.location),e.location),l=i?n.createHref(i):"",m=(0,s.Z)({},b,{href:l,navigate:function(){var t=h(u,e.location),i=(0,a.Ep)(e.location)===(0,a.Ep)(p(t));(d||i?n.replace:n.push)(t)}});return f!==g?m.ref=t||v:m.innerRef=v,r.createElement(o,m)}))})),b=function(e){return e},_=r.forwardRef;void 0===_&&(_=b);var y=_((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,a=e.activeClassName,d=void 0===a?"active":a,u=e.activeStyle,f=e.className,g=e.exact,m=e.isActive,y=e.location,A=e.sensitive,w=e.strict,C=e.style,x=e.to,S=e.innerRef,E=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return r.createElement(i.__RouterContext.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=y||e.location,a=p(h(x,n),n),l=a.pathname,k=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),M=k?(0,i.matchPath)(n.pathname,{path:k,exact:g,sensitive:A,strict:w}):null,D=!!(m?m(M,n):M),N="function"==typeof f?f(D):f,I="function"==typeof C?C(D):C;D&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,d),I=(0,s.Z)({},I,u));var T=(0,s.Z)({"aria-current":D&&o||null,className:N,style:I,to:a},E);return b!==_?T.ref=t||S:T.innerRef=S,r.createElement(v,T)}))}))},39422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MemoryRouter:()=>b,Prompt:()=>y,Redirect:()=>x,Route:()=>M,Router:()=>v,StaticRouter:()=>B,Switch:()=>O,__HistoryContext:()=>g,__RouterContext:()=>m,generatePath:()=>C,matchPath:()=>k,useHistory:()=>R,useLocation:()=>j,useParams:()=>z,useRouteMatch:()=>V,withRouter:()=>P});var i=n(89176),o=n(29901),r=n(41901),a=n(92861),s=n(32054),l=n(71437),c=n(15415),d=n.n(c),u=(n(99415),n(71268)),h=n(10063),p=n.n(h),f=function(e){var t=(0,a.Z)();return t.displayName=e,t},g=f("Router-History"),m=f("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,i.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component),b=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).history=(0,r.PP)(t.props),t}return(0,i.Z)(t,e),t.prototype.render=function(){return o.createElement(v,{history:this.history,children:this.props.children})},t}(o.Component),_=function(e){function t(){return e.apply(this,arguments)||this}(0,i.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o.Component);function y(e){var t=e.message,n=e.when,i=void 0===n||n;return o.createElement(m.Consumer,null,(function(e){if(e||(0,s.Z)(!1),!i||e.staticContext)return null;var n=e.history.block;return o.createElement(_,{onMount:function(e){e.release=n(t)},onUpdate:function(e,i){i.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var A={},w=0;function C(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(A[e])return A[e];var t=d().compile(e);return w<1e4&&(A[e]=t,w++),t}(e)(t,{pretty:!0})}function x(e){var t=e.computedMatch,n=e.to,i=e.push,a=void 0!==i&&i;return o.createElement(m.Consumer,null,(function(e){e||(0,s.Z)(!1);var i=e.history,c=e.staticContext,d=a?i.push:i.replace,u=(0,r.ob)(t?"string"==typeof n?C(n,t.params):(0,l.Z)({},n,{pathname:C(n.pathname,t.params)}):n);return c?(d(u),null):o.createElement(_,{onMount:function(){d(u)},onUpdate:function(e,t){var n=(0,r.ob)(t.to);(0,r.Hp)(n,(0,l.Z)({},u,{key:n.key}))||d(u)},to:n})}))}var S={},E=0;function k(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,i=n.path,o=n.exact,r=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(i).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var i=function(e,t){var n=""+t.end+t.strict+t.sensitive,i=S[n]||(S[n]={});if(i[e])return i[e];var o=[],r={regexp:d()(e,o,t),keys:o};return E<1e4&&(i[e]=r,E++),r}(n,{end:r,strict:s,sensitive:c}),o=i.regexp,a=i.keys,l=o.exec(e);if(!l)return null;var u=l[0],h=l.slice(1),p=e===u;return r&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=h[n],e}),{})}}),null)}var M=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(m.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,i=e.props.computedMatch?e.props.computedMatch:e.props.path?k(n.pathname,e.props):t.match,r=(0,l.Z)({},t,{location:n,match:i}),a=e.props,c=a.children,d=a.component,u=a.render;return Array.isArray(c)&&function(e){return 0===o.Children.count(e)}(c)&&(c=null),o.createElement(m.Provider,{value:r},r.match?c?"function"==typeof c?c(r):c:d?o.createElement(d,r):u?u(r):null:"function"==typeof c?c(r):null)}))},t}(o.Component);function D(e){return"/"===e.charAt(0)?e:"/"+e}function N(e,t){if(!e)return t;var n=D(e);return 0!==t.pathname.indexOf(n)?t:(0,l.Z)({},t,{pathname:t.pathname.substr(n.length)})}function I(e){return"string"==typeof e?e:(0,r.Ep)(e)}function T(e){return function(){(0,s.Z)(!1)}}function L(){}var B=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return L},t.handleBlock=function(){return L},t}(0,i.Z)(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,i=n.basename,o=void 0===i?"":i,a=n.context,s=void 0===a?{}:a;s.action=t,s.location=function(e,t){return e?(0,l.Z)({},t,{pathname:D(e)+t.pathname}):t}(o,(0,r.ob)(e)),s.url=I(s.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,i=e.context,a=void 0===i?{}:i,s=e.location,c=void 0===s?"/":s,d=(0,u.Z)(e,["basename","context","location"]),h={createHref:function(e){return D(n+I(e))},action:"POP",location:N(n,(0,r.ob)(c)),push:this.handlePush,replace:this.handleReplace,go:T(),goBack:T(),goForward:T(),listen:this.handleListen,block:this.handleBlock};return o.createElement(v,(0,l.Z)({},d,{history:h,staticContext:a}))},t}(o.Component),O=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(m.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,i,r=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==i&&o.isValidElement(e)){n=e;var a=e.props.path||e.props.from;i=a?k(r.pathname,(0,l.Z)({},e.props,{path:a})):t.match}})),i?o.cloneElement(n,{location:r,computedMatch:i}):null}))},t}(o.Component);function P(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,i=(0,u.Z)(t,["wrappedComponentRef"]);return o.createElement(m.Consumer,null,(function(t){return t||(0,s.Z)(!1),o.createElement(e,(0,l.Z)({},i,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,p()(n,e)}var F=o.useContext;function R(){return F(g)}function j(){return F(m).location}function z(){var e=F(m).match;return e?e.params:{}}function V(e){var t=j(),n=F(m).match;return e?k(t.pathname,e):n}},39074:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SortableContainer:()=>ce,SortableElement:()=>he,SortableHandle:()=>X,arrayMove:()=>E,sortableContainer:()=>ce,sortableElement:()=>he,sortableHandle:()=>X});var i=n(71437);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=n(36999);function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach((function(t){(0,s.Z)(e,t,n[t])}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var p=n(60663);function f(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,p.Z)(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var m=n(53054);function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,m.Z)(e,t)}var b=n(29901),_=n(10571),y=n(21700),A=n.n(y);var w=n(69480),C=n.n(w),x=function(){function e(){c(this,e),(0,s.Z)(this,"refs",{})}return u(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(S)}}]),e}();function S(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function E(e,t,n){return(e=e.slice()).splice(n<0?e.length+n:n,0,e.splice(t,1)[0]),e}function k(e,t){return Object.keys(e).reduce((function(n,i){return-1===t.indexOf(i)&&(n[i]=e[i]),n}),{})}var M={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},D=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function N(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function I(e,t){e.style["".concat(D,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function T(e,t){e.style["".concat(D,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function L(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function B(e,t,n){return Math.max(e,Math.min(n,t))}function O(e){return"px"===e.substr(-2)?parseFloat(e):0}function P(e){var t=window.getComputedStyle(e);return{bottom:O(t.marginBottom),left:O(t.marginLeft),right:O(t.marginRight),top:O(t.marginTop)}}function F(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function R(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function j(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function z(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var i={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?i:V(e.parentNode,t,i)}}function W(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}function H(e){var t=e.lockOffset,n=e.width,i=e.height,o=t,r=t,a="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);A()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),o=parseFloat(t),r=parseFloat(t),a=s[1]}return A()(isFinite(o)&&isFinite(r),"lockOffset value should be a finite. Given %s",t),"%"===a&&(o=o*n/100,r=r*i/100),{x:o,y:r}}function U(e){var t=e.height,n=e.width,i=e.lockOffset,o=Array.isArray(i)?i:[i,i];A()(2===o.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",i);var r=a(o,2),s=r[0],l=r[1];return[H({height:t,lockOffset:s,width:n}),H({height:t,lockOffset:l,width:n})]}function Q(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:Q(e.parentNode):null}function G(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:O(t.gridColumnGap),y:O(t.gridRowGap)}:{x:0,y:0}}var K="BUTTON",Y="INPUT",$="OPTION",J="TEXTAREA",q="SELECT";function Z(e){var t,n="input, textarea, select, canvas, [contenteditable]",i=e.querySelectorAll(n),a=e.cloneNode(!0);return(t=a.querySelectorAll(n),function(e){if(Array.isArray(e))return o(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).forEach((function(e,t){"file"!==e.type&&(e.value=i[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),"CANVAS"===e.tagName&&i[t].width>0&&i[t].height>0&&e.getContext("2d").drawImage(i[t],0,0)})),a}function X(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){var e,t;c(this,n);for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return t=f(this,(e=g(n)).call.apply(e,[this].concat(o))),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"wrappedInstance",(0,b.createRef)()),t}return v(n,t),u(n,[{key:"componentDidMount",value:function(){(0,_.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return A()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=o.withRef?this.wrappedInstance:null;return(0,b.createElement)(e,(0,i.Z)({ref:t},this.props))}}]),n}(b.Component),(0,s.Z)(t,"displayName",F("sortableHandle",e)),n}function ee(e){return null!=e.sortableHandle}var te=function(){function e(t,n){c(this,e),this.container=t,this.onScrollCallback=n}return u(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,i=e.minTranslate,o=e.maxTranslate,r=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},c=this.container,d=c.scrollTop,u=c.scrollLeft,h=c.scrollHeight,p=c.scrollWidth,f=0===d,g=h-d-c.clientHeight==0,m=0===u,v=p-u-c.clientWidth==0;n.y>=o.y-a/2&&!g?(s.y=1,l.y=10*Math.abs((o.y-a/2-n.y)/a)):n.x>=o.x-r/2&&!v?(s.x=1,l.x=10*Math.abs((o.x-r/2-n.x)/r)):n.y<=i.y+a/2&&!f?(s.y=-1,l.y=10*Math.abs((n.y-a/2-i.y)/a)):n.x<=i.x+r/2&&!m&&(s.x=-1,l.x=10*Math.abs((n.x-r/2-i.x)/r)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),ne={axis:C().oneOf(["x","y","xy"]),contentWindow:C().any,disableAutoscroll:C().bool,distance:C().number,getContainer:C().func,getHelperDimensions:C().func,helperClass:C().string,helperContainer:C().oneOfType([C().func,"undefined"==typeof HTMLElement?C().any:C().instanceOf(HTMLElement)]),hideSortableGhost:C().bool,keyboardSortingTransitionDuration:C().number,lockAxis:C().string,lockOffset:C().oneOfType([C().number,C().string,C().arrayOf(C().oneOfType([C().number,C().string]))]),lockToContainerEdges:C().bool,onSortEnd:C().func,onSortMove:C().func,onSortOver:C().func,onSortStart:C().func,pressDelay:C().number,pressThreshold:C().number,keyCodes:C().shape({lift:C().arrayOf(C().number),drop:C().arrayOf(C().number),cancel:C().arrayOf(C().number),up:C().arrayOf(C().number),down:C().arrayOf(C().number)}),shouldCancelStart:C().func,transitionDuration:C().number,updateBeforeSortStart:C().func,useDragHandle:C().bool,useWindowAsScrollContainer:C().bool},ie={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},oe={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ie,shouldCancelStart:function(e){return-1!==[Y,J,q,$,K].indexOf(e.target.tagName)||!!L(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},re=Object.keys(ne);function ae(e){A()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function se(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var le=(0,b.createContext)({manager:{}});function ce(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;c(this,n),t=f(this,g(n).call(this,e)),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"state",{}),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleStart",(function(e){var n=t.props,i=n.distance,o=n.shouldCancelStart;if(2!==e.button&&!o(e)){t.touched=!0,t.position=j(e);var r=L(e.target,(function(e){return null!=e.sortableInfo}));if(r&&r.sortableInfo&&t.nodeIsChild(r)&&!t.state.sorting){var a=t.props.useDragHandle,s=r.sortableInfo,l=s.index,c=s.collection;if(s.disabled)return;if(a&&!L(e.target,ee))return;t.manager.active={collection:c,index:l},z(e)||"A"!==e.target.tagName||e.preventDefault(),i||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleMove",(function(e){var n=t.props,i=n.distance,o=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var r=j(e),a={x:t.position.x-r.x,y:t.position.y-r.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,i||o&&!(s>=o)?i&&s>=i&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handlePress",(function(e){try{var n=t.manager.getActive(),i=function(){if(n){var i=function(){var n=p.sortableInfo.index,i=P(p),o=G(t.container),d=t.scrollContainer.getBoundingClientRect(),m=a({index:n,node:p,collection:f});if(t.node=p,t.margin=i,t.gridGap=o,t.width=m.width,t.height=m.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=d,t.index=n,t.newIndex=n,t.axis={x:r.indexOf("x")>=0,y:r.indexOf("y")>=0},t.offsetEdge=V(p,t.container),t.initialOffset=j(g?l({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(Z(p)),N(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-i.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-i.top,"px"),width:"".concat(t.width,"px")}),g&&t.helper.focus(),c&&(t.sortableGhost=p,N(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var v=h?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,b=v.top,_=v.left,y=v.width,A=b+v.height,w=_+y;t.axis.x&&(t.minTranslate.x=_-t.boundingClientRect.left,t.maxTranslate.x=w-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=b-t.boundingClientRect.top,t.maxTranslate.y=A-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(h?0:d.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(h?t.contentWindow.innerWidth:d.left+d.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(h?0:d.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(h?t.contentWindow.innerHeight:d.top+d.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?e.target:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(M.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),M.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:n}),u&&u({node:p,index:n,collection:f,isKeySorting:g,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),g&&t.keyMove(0)},o=t.props,r=o.axis,a=o.getHelperDimensions,s=o.helperClass,c=o.hideSortableGhost,d=o.updateBeforeSortStart,u=o.onSortStart,h=o.useWindowAsScrollContainer,p=n.node,f=n.collection,g=t.manager.isKeySorting,m=function(){if("function"==typeof d){t._awaitingUpdateBeforeSortStart=!0;var n=se((function(){var t=p.sortableInfo.index;return Promise.resolve(d({collection:f,index:t,node:p,isKeySorting:g},e)).then((function(){}))}),(function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n}));if(n&&n.then)return n.then((function(){}))}}();return m&&m.then?m.then(i):i()}}();return Promise.resolve(i&&i.then?i.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleSortMove",(function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.cancelable&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleSortEnd",(function(e){var n=t.props,i=n.hideSortableGhost,o=n.onSortEnd,r=t.manager,a=r.active.collection,s=r.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(M.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),M.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),i&&t.sortableGhost&&N(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,d=l.length;c<d;c++){var u=l[c],h=u.node;u.edgeOffset=null,u.boundingClientRect=null,I(h,null),T(h,null),u.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof o&&o({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:l},e),t.touched=!1})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var i=l({},t.translate),o=0,r=0;return t.axis.x&&(i.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),o=t.translate.x-i.x),t.axis.y&&(i.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),r=t.translate.y-i.y),t.translate=i,I(t.helper,t.translate),t.scrollContainer.scrollLeft+=o,void(t.scrollContainer.scrollTop+=r)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleKeyDown",(function(e){var n=e.keyCode,i=t.props,o=i.shouldCancelStart,r=i.keyCodes,a=l({},ie,void 0===r?{}:r);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||a.lift.includes(n)&&!o(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),a.lift.includes(n)&&!t.manager.active?t.keyLift(e):a.drop.includes(n)&&t.manager.active?t.keyDrop(e):a.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):a.up.includes(n)?t.keyMove(-1):a.down.includes(n)&&t.keyMove(1))})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"keyLift",(function(e){var n=e.target,i=L(n,(function(e){return null!=e.sortableInfo})).sortableInfo,o=i.index,r=i.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:o,collection:r},t.handlePress(e)})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"keyMove",(function(e){var n=t.manager.getOrderedRefs(),i=n[n.length-1].node.sortableInfo.index,o=t.newIndex+e,r=t.newIndex;if(!(o<0||o>i)){t.prevIndex=r,t.newIndex=o;var a=W(t.newIndex,t.prevIndex,t.index),s=n.find((function(e){return e.node.sortableInfo.index===a})),l=s.node,c=t.containerScrollDelta,d=s.boundingClientRect||R(l,c),u=s.translate||{x:0,y:0},h=d.top+u.y-c.top,p=d.left+u.x-c.left,f=r<o,g=f&&t.axis.x?l.offsetWidth-t.width:0,m=f&&t.axis.y?l.offsetHeight-t.height:0;t.handleSortMove({pageX:p+g,pageY:h+m,ignoreTransition:0===e})}})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"isValidSortingTarget",(function(e){var n=t.props.useDragHandle,i=e.target,o=L(i,(function(e){return null!=e.sortableInfo}));return o&&o.sortableInfo&&!o.sortableInfo.disabled&&(n?ee(i):i.sortableInfo)}));var i=new x;return ae(e),t.manager=i,t.wrappedInstance=(0,b.createRef)(),t.sortableContextValue={manager:i},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return v(n,t),u(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then((function(n){e.container=n,e.document=e.container.ownerDocument||document;var i=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof i?i():i,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:Q(e.container)||e.container,e.autoScroller=new te(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return M[t].forEach((function(n){return e.container.addEventListener(n,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return M[t].forEach((function(n){return e.container.removeEventListener(n,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,i=t.lockOffset,o=t.lockToContainerEdges,r=t.transitionDuration,s=t.keyboardSortingTransitionDuration,l=void 0===s?r:s,c=this.manager.isKeySorting,d=e.ignoreTransition,u=j(e),h={x:u.x-this.initialOffset.x,y:u.y-this.initialOffset.y};if(h.y-=window.pageYOffset-this.initialWindowScroll.top,h.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=h,o){var p=a(U({height:this.height,lockOffset:i,width:this.width}),2),f=p[0],g=p[1],m={x:this.width/2-f.x,y:this.height/2-f.y},v={x:this.width/2-g.x,y:this.height/2-g.y};h.x=B(this.minTranslate.x+m.x,this.maxTranslate.x-v.x,h.x),h.y=B(this.minTranslate.y+m.y,this.maxTranslate.y-v.y,h.y)}"x"===n?h.y=0:"y"===n&&(h.x=0),c&&l&&!d&&T(this.helper,l),I(this.helper,h)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,i=e.onSortOver,o=this.containerScrollDelta,r=this.windowScrollDelta,a=this.manager.getOrderedRefs(),s=this.offsetEdge.left+this.translate.x+o.left,l=this.offsetEdge.top+this.translate.y+o.top,c=this.manager.isKeySorting,d=this.newIndex;this.newIndex=null;for(var u=0,h=a.length;u<h;u++){var p=a[u].node,f=p.sortableInfo.index,g=p.offsetWidth,m=p.offsetHeight,v={height:this.height>m?m/2:this.height/2,width:this.width>g?g/2:this.width/2},b=c&&f>this.index&&f<=d,_=c&&f<this.index&&f>=d,y={x:0,y:0},A=a[u].edgeOffset;A||(A=V(p,this.container),a[u].edgeOffset=A,c&&(a[u].boundingClientRect=R(p,o)));var w=u<a.length-1&&a[u+1],C=u>0&&a[u-1];w&&!w.edgeOffset&&(w.edgeOffset=V(w.node,this.container),c&&(w.boundingClientRect=R(w.node,o))),f!==this.index?(t&&T(p,t),this.axis.x?this.axis.y?_||f<this.index&&(s+r.left-v.width<=A.left&&l+r.top<=A.top+v.height||l+r.top+v.height<=A.top)?(y.x=this.width+this.marginOffset.x,A.left+y.x>this.containerBoundingRect.width-v.width&&w&&(y.x=w.edgeOffset.left-A.left,y.y=w.edgeOffset.top-A.top),null===this.newIndex&&(this.newIndex=f)):(b||f>this.index&&(s+r.left+v.width>=A.left&&l+r.top+v.height>=A.top||l+r.top+v.height>=A.top+m))&&(y.x=-(this.width+this.marginOffset.x),A.left+y.x<this.containerBoundingRect.left+v.width&&C&&(y.x=C.edgeOffset.left-A.left,y.y=C.edgeOffset.top-A.top),this.newIndex=f):b||f>this.index&&s+r.left+v.width>=A.left?(y.x=-(this.width+this.marginOffset.x),this.newIndex=f):(_||f<this.index&&s+r.left<=A.left+v.width)&&(y.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=f)):this.axis.y&&(b||f>this.index&&l+r.top+v.height>=A.top?(y.y=-(this.height+this.marginOffset.y),this.newIndex=f):(_||f<this.index&&l+r.top<=A.top+v.height)&&(y.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=f))),I(p,y),a[u].translate=y):n&&(this.sortableGhost=p,N(p,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),c&&(this.newIndex=d);var x=c?this.prevIndex:d;i&&this.newIndex!==x&&i({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:x,isKeySorting:c,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return A()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.wrappedInstance.current}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?(0,_.findDOMNode)(this):e(o.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=o.withRef?this.wrappedInstance:null;return(0,b.createElement)(le.Provider,{value:this.sortableContextValue},(0,b.createElement)(e,(0,i.Z)({ref:t},k(this.props,re))))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),n}(b.Component),(0,s.Z)(t,"displayName",F("sortableList",e)),(0,s.Z)(t,"defaultProps",oe),(0,s.Z)(t,"propTypes",ne),n}var de={index:C().number.isRequired,collection:C().oneOfType([C().number,C().string]),disabled:C().bool},ue=Object.keys(de);function he(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){var e,t;c(this,n);for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return t=f(this,(e=g(n)).call.apply(e,[this].concat(o))),(0,s.Z)((0,p.Z)((0,p.Z)(t)),"wrappedInstance",(0,b.createRef)()),t}return v(n,t),u(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,i=e.index,o=(0,_.findDOMNode)(this);o.sortableInfo={collection:t,disabled:n,index:i,manager:this.context.manager},this.node=o,this.ref={node:o},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return A()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=o.withRef?this.wrappedInstance:null;return(0,b.createElement)(e,(0,i.Z)({ref:t},k(this.props,ue)))}}]),n}(b.Component),(0,s.Z)(t,"displayName",F("sortableElement",e)),(0,s.Z)(t,"contextType",le),(0,s.Z)(t,"propTypes",de),(0,s.Z)(t,"defaultProps",{collection:0}),n}},44125:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CSSTransition:()=>A,ReplaceTransition:()=>N,SwitchTransition:()=>j,Transition:()=>b,TransitionGroup:()=>M,config:()=>c});var i=n(71437),o=n(71268),r=n(89176);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}n(69480);var s=n(29901),l=n(10571);const c={disabled:!1},d=s.createContext(null);var u="unmounted",h="exited",p="entering",f="entered",g="exiting",m=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var o,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=h,i.appearStatus=p):o=f:o=t.unmountOnExit||t.mountOnEnter?u:h,i.state={status:o},i.nextCallback=null,i}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:h}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==f&&(t=p):n!==p&&n!==f||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===p?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===h&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,o=this.props.nodeRef?[i]:[l.findDOMNode(this),i],r=o[0],a=o[1],s=this.getTimeouts(),d=i?s.appear:s.enter;!e&&!n||c.disabled?this.safeSetState({status:f},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,a),this.safeSetState({status:p},(function(){t.props.onEntering(r,a),t.onTransitionEnd(d,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(r,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!c.disabled?(this.props.onExit(i),this.safeSetState({status:g},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=o[0],a=o[1];this.props.addEndListener(r,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(d.Provider,{value:null},"function"==typeof n?n(e,i):s.cloneElement(s.Children.only(n),i))},t}(s.Component);function v(){}m.contextType=d,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},m.UNMOUNTED=u,m.EXITED=h,m.ENTERING=p,m.ENTERED=f,m.EXITING=g;const b=m;var _=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=a(n.className,i):n.setAttribute("class",a(n.className&&n.className.baseVal||"",i)));var n,i}))},y=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1];t.removeClasses(o,"exit"),t.addClass(o,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.addClass(o,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.removeClasses(o,r),t.addClass(o,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,o=i?(i&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:i?o+"-active":n[e+"Active"],doneClassName:i?o+"-done":n[e+"Done"]}},t}(0,r.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(i+=" "+o),"active"===n&&e&&e.scrollTop,i&&(this.appliedClasses[t][n]=i,function(e,t){e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))}(e,i))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,o=n.active,r=n.done;this.appliedClasses[t]={},i&&_(e,i),o&&_(e,o),r&&_(e,r)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return s.createElement(b,(0,i.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.Component);y.defaultProps={classNames:""},y.propTypes={};const A=y;var w=n(60663);function C(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function x(e,t,n){return null!=n[t]?n[t]:e.props[t]}function S(e,t,n){var i=C(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,o=Object.create(null),r=[];for(var a in e)a in t?r.length&&(o[a]=r,r=[]):r.push(a);var s={};for(var l in t){if(o[l])for(i=0;i<o[l].length;i++){var c=o[l][i];s[o[l][i]]=n(c)}s[l]=n(l)}for(i=0;i<r.length;i++)s[r[i]]=n(r[i]);return s}(t,i);return Object.keys(o).forEach((function(r){var a=o[r];if((0,s.isValidElement)(a)){var l=r in t,c=r in i,d=t[r],u=(0,s.isValidElement)(d)&&!d.props.in;!c||l&&!u?c||!l||u?c&&l&&(0,s.isValidElement)(d)&&(o[r]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:d.props.in,exit:x(a,"exit",e),enter:x(a,"enter",e)})):o[r]=(0,s.cloneElement)(a,{in:!1}):o[r]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:x(a,"exit",e),enter:x(a,"enter",e)})}})),o}var E=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},k=function(e){function t(t,n){var i,o=(i=e.call(this,t,n)||this).handleExited.bind((0,w.Z)(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,C(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:x(e,"appear",n),enter:x(e,"enter",n),exit:x(e,"exit",n)})}))):S(e,o,r),firstRender:!1}},n.handleExited=function(e,t){var n=C(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,o.Z)(e,["component","childFactory"]),r=this.state.contextValue,a=E(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?s.createElement(d.Provider,{value:r},a):s.createElement(d.Provider,{value:r},s.createElement(t,i,a))},t}(s.Component);k.propTypes={},k.defaultProps={component:"div",childFactory:function(e){return e}};const M=k;var D=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExited",1,n)},t}(0,r.Z)(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var i,o=this.props.children,r=s.Children.toArray(o)[t];if(r.props[e]&&(i=r.props)[e].apply(i,n),this.props[e]){var a=r.props.nodeRef?void 0:l.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,i=(0,o.Z)(e,["children","in"]),r=s.Children.toArray(t),a=r[0],l=r[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,s.createElement(M,i,n?s.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):s.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(s.Component);D.propTypes={};const N=D;var I,T,L="out-in",B="in-out",O=function(e,t,n){return function(){var i;e.props[t]&&(i=e.props)[t].apply(i,arguments),n()}},P=((I={})["out-in"]=function(e){var t=e.current,n=e.changeState;return s.cloneElement(t,{in:!1,onExited:O(t,"onExited",(function(){n(p,null)}))})},I[B]=function(e){var t=e.current,n=e.changeState,i=e.children;return[t,s.cloneElement(i,{in:!0,onEntered:O(i,"onEntered",(function(){n(p)}))})]},I),F=((T={})["out-in"]=function(e){var t=e.children,n=e.changeState;return s.cloneElement(t,{in:!0,onEntered:O(t,"onEntered",(function(){n(f,s.cloneElement(t,{in:!0}))}))})},T[B]=function(e){var t=e.current,n=e.children,i=e.changeState;return[s.cloneElement(t,{in:!1,onExited:O(t,"onExited",(function(){i(f,s.cloneElement(n,{in:!0}))}))}),s.cloneElement(n,{in:!0})]},T),R=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).state={status:f,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===p&&e.mode===B?{status:p}:!t.current||((n=t.current)===(i=e.children)||s.isValidElement(n)&&s.isValidElement(i)&&null!=n.key&&n.key===i.key)?{current:s.cloneElement(e.children,{in:!0})}:{status:g};var n,i},n.render=function(){var e,t=this.props,n=t.children,i=t.mode,o=this.state,r=o.status,a=o.current,l={children:n,current:a,changeState:this.changeState,status:r};switch(r){case p:e=F[i](l);break;case g:e=P[i](l);break;case f:e=a}return s.createElement(d.Provider,{value:{isMounting:!this.appeared}},e)},t}(s.Component);R.propTypes={},R.defaultProps={mode:L};const j=R},95472:(e,t,n)=>{"use strict";n(52458);var i=n(29901),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;o=r("react.element"),t.Fragment=r("react.fragment")}var a=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var i,r={},c=null,d=null;for(i in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)s.call(t,i)&&!l.hasOwnProperty(i)&&(r[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===r[i]&&(r[i]=t[i]);return{$$typeof:o,type:e,key:c,ref:d,props:r,_owner:a.current}}t.jsx=c,t.jsxs=c},13714:(e,t,n)=>{"use strict";var i=n(52458),o=60103,r=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,d=60116;if("function"==typeof Symbol&&Symbol.for){var u=Symbol.for;o=u("react.element"),r=u("react.portal"),t.Fragment=u("react.fragment"),t.StrictMode=u("react.strict_mode"),t.Profiler=u("react.profiler"),a=u("react.provider"),s=u("react.context"),l=u("react.forward_ref"),t.Suspense=u("react.suspense"),c=u("react.memo"),d=u("react.lazy")}var h="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function m(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var _=b.prototype=new v;_.constructor=b,i(_,m.prototype),_.isPureReactComponent=!0;var y={current:null},A=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var i,r={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)A.call(t,i)&&!w.hasOwnProperty(i)&&(r[i]=t[i]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];r.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===r[i]&&(r[i]=l[i]);return{$$typeof:o,type:e,key:a,ref:s,props:r,_owner:y.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var S=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,n,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+E(l,0):i,Array.isArray(a)?(n="",null!=e&&(n=e.replace(S,"$&/")+"/"),k(a,t,n,"",(function(e){return e}))):null!=a&&(x(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",Array.isArray(e))for(var c=0;c<e.length;c++){var d=i+E(s=e[c],c);l+=k(s,t,n,d,a)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),c=0;!(s=e.next()).done;)l+=k(s=s.value,t,n,d=i+E(s,c++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function M(e,t,n){if(null==e)return e;var i=[],o=0;return k(e,i,"","",(function(e){return t.call(n,e,o++)})),i}function D(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var N={current:null};function I(){var e=N.current;if(null===e)throw Error(p(321));return e}var T={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:y,IsSomeRendererActing:{current:!1},assign:i};t.Children={map:M,forEach:function(e,t,n){M(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(p(143));return e}},t.Component=m,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var r=i({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=y.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in t)A.call(t,d)&&!w.hasOwnProperty(d)&&(r[d]=void 0===t[d]&&void 0!==c?c[d]:t[d])}var d=arguments.length-2;if(1===d)r.children=n;else if(1<d){c=Array(d);for(var u=0;u<d;u++)c[u]=arguments[u+2];r.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:r,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:D}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return I().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,n){return I().useReducer(e,t,n)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version="17.0.2"},29901:(e,t,n)=>{"use strict";e.exports=n(13714)},61250:(e,t,n)=>{"use strict";e.exports=n(95472)},79431:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__DO_NOT_USE__ActionTypes:()=>c,applyMiddleware:()=>m,bindActionCreators:()=>f,combineReducers:()=>h,compose:()=>g,createStore:()=>u});var i=n(36999);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",l=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+l(),REPLACE:"@@redux/REPLACE"+l(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+l()}};function d(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(u)(e,t)}if("function"!=typeof e)throw new Error(a(2));var o=e,r=t,l=[],h=l,p=!1;function f(){h===l&&(h=l.slice())}function g(){if(p)throw new Error(a(3));return r}function m(e){if("function"!=typeof e)throw new Error(a(4));if(p)throw new Error(a(5));var t=!0;return f(),h.push(e),function(){if(t){if(p)throw new Error(a(6));t=!1,f();var n=h.indexOf(e);h.splice(n,1),l=null}}}function v(e){if(!d(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(p)throw new Error(a(9));try{p=!0,r=o(r,e)}finally{p=!1}for(var t=l=h,n=0;n<t.length;n++)(0,t[n])();return e}function b(e){if("function"!=typeof e)throw new Error(a(10));o=e,v({type:c.REPLACE})}function _(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e}return v({type:c.INIT}),(i={dispatch:v,subscribe:m,getState:g,replaceReducer:b})[s]=_,i}function h(e){for(var t=Object.keys(e),n={},i=0;i<t.length;i++){var o=t[i];"function"==typeof e[o]&&(n[o]=e[o])}var r,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:c.INIT}))throw new Error(a(12));if(void 0===n(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(n)}catch(e){r=e}return function(e,t){if(void 0===e&&(e={}),r)throw r;for(var i=!1,o={},l=0;l<s.length;l++){var c=s[l],d=n[c],u=e[c],h=d(u,t);if(void 0===h)throw t&&t.type,new Error(a(14));o[c]=h,i=i||h!==u}return(i=i||s.length!==Object.keys(e).length)?o:e}}function p(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return p(e,t);if("object"!=typeof e||null===e)throw new Error(a(16));var n={};for(var i in e){var o=e[i];"function"==typeof o&&(n[i]=p(o,t))}return n}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),i=function(){throw new Error(a(15))},o={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map((function(e){return e(o)}));return i=g.apply(void 0,s)(n.dispatch),r(r({},n),{},{dispatch:i})}}}},42389:(e,t,n)=>{"use strict";function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,i=n+1,o=e.length;i<o;n+=1,i+=1)e[n]=e[i];e.pop()}n.d(t,{Z:()=>r});const r=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&i(e),l=t&&i(t),c=s||l;if(e&&i(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var d=a[a.length-1];n="."===d||".."===d||""===d}else n=!1;for(var u=0,h=a.length;h>=0;h--){var p=a[h];"."===p?o(a,h):".."===p?(o(a,h),u++):u&&(o(a,h),u--)}if(!c)for(;u--;u)a.unshift("..");!c||""===a[0]||a[0]&&i(a[0])||a.unshift("");var f=a.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f}},23269:(e,t,n)=>{var i=n(15313),o=i.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=a),r(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=o(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},61465:(e,t,n)=>{var i=n(15313).Buffer;!function(e){e.parser=function(e,t){return new r(e,t)},e.SAXParser=r,e.SAXStream=s,e.createStream=function(e,t){return new s(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function r(t,n){if(!(this instanceof r))return new r(t,n);var i=this;!function(e){for(var t=0,n=o.length;t<n;t++)e[o[t]]=""}(i),i.q=i.c="",i.bufferCheckPosition=e.MAX_BUFFER_LENGTH,i.opt=n||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!t,i.noscript=!(!t&&!i.opt.noscript),i.state=C.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(d)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),S(i,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),r.prototype={end:function(){N(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return D(n,"Cannot write after close. Assign an onready handler.");if(null===t)return N(n);"object"==typeof t&&(t=t.toString());for(var i=0,r="";r=j(t,i++),n.c=r,r;)switch(n.trackPosition&&(n.position++,"\n"===r?(n.line++,n.column=0):n.column++),n.state){case C.BEGIN:if(n.state=C.BEGIN_WHITESPACE,"\ufeff"===r)continue;R(n,r);continue;case C.BEGIN_WHITESPACE:R(n,r);continue;case C.TEXT:if(n.sawRoot&&!n.closedRoot){for(var a=i-1;r&&"<"!==r&&"&"!==r;)(r=j(t,i++))&&n.trackPosition&&(n.position++,"\n"===r?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(a,i-1)}"<"!==r||n.sawRoot&&n.closedRoot&&!n.strict?(g(r)||n.sawRoot&&!n.closedRoot||I(n,"Text data outside of root node."),"&"===r?n.state=C.TEXT_ENTITY:n.textNode+=r):(n.state=C.OPEN_WAKA,n.startTagPosition=n.position);continue;case C.SCRIPT:"<"===r?n.state=C.SCRIPT_ENDING:n.script+=r;continue;case C.SCRIPT_ENDING:"/"===r?n.state=C.CLOSE_TAG:(n.script+="<"+r,n.state=C.SCRIPT);continue;case C.OPEN_WAKA:if("!"===r)n.state=C.SGML_DECL,n.sgmlDecl="";else if(g(r));else if(b(u,r))n.state=C.OPEN_TAG,n.tagName=r;else if("/"===r)n.state=C.CLOSE_TAG,n.tagName="";else if("?"===r)n.state=C.PROC_INST,n.procInstName=n.procInstBody="";else{if(I(n,"Unencoded <"),n.startTagPosition+1<n.position){var s=n.position-n.startTagPosition;r=new Array(s).join(" ")+r}n.textNode+="<"+r,n.state=C.TEXT}continue;case C.SGML_DECL:"[CDATA["===(n.sgmlDecl+r).toUpperCase()?(E(n,"onopencdata"),n.state=C.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+r==="--"?(n.state=C.COMMENT,n.comment="",n.sgmlDecl=""):"DOCTYPE"===(n.sgmlDecl+r).toUpperCase()?(n.state=C.DOCTYPE,(n.doctype||n.sawRoot)&&I(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===r?(E(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=C.TEXT):m(r)?(n.state=C.SGML_DECL_QUOTED,n.sgmlDecl+=r):n.sgmlDecl+=r;continue;case C.SGML_DECL_QUOTED:r===n.q&&(n.state=C.SGML_DECL,n.q=""),n.sgmlDecl+=r;continue;case C.DOCTYPE:">"===r?(n.state=C.TEXT,E(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=r,"["===r?n.state=C.DOCTYPE_DTD:m(r)&&(n.state=C.DOCTYPE_QUOTED,n.q=r));continue;case C.DOCTYPE_QUOTED:n.doctype+=r,r===n.q&&(n.q="",n.state=C.DOCTYPE);continue;case C.DOCTYPE_DTD:n.doctype+=r,"]"===r?n.state=C.DOCTYPE:m(r)&&(n.state=C.DOCTYPE_DTD_QUOTED,n.q=r);continue;case C.DOCTYPE_DTD_QUOTED:n.doctype+=r,r===n.q&&(n.state=C.DOCTYPE_DTD,n.q="");continue;case C.COMMENT:"-"===r?n.state=C.COMMENT_ENDING:n.comment+=r;continue;case C.COMMENT_ENDING:"-"===r?(n.state=C.COMMENT_ENDED,n.comment=M(n.opt,n.comment),n.comment&&E(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+r,n.state=C.COMMENT);continue;case C.COMMENT_ENDED:">"!==r?(I(n,"Malformed comment"),n.comment+="--"+r,n.state=C.COMMENT):n.state=C.TEXT;continue;case C.CDATA:"]"===r?n.state=C.CDATA_ENDING:n.cdata+=r;continue;case C.CDATA_ENDING:"]"===r?n.state=C.CDATA_ENDING_2:(n.cdata+="]"+r,n.state=C.CDATA);continue;case C.CDATA_ENDING_2:">"===r?(n.cdata&&E(n,"oncdata",n.cdata),E(n,"onclosecdata"),n.cdata="",n.state=C.TEXT):"]"===r?n.cdata+="]":(n.cdata+="]]"+r,n.state=C.CDATA);continue;case C.PROC_INST:"?"===r?n.state=C.PROC_INST_ENDING:g(r)?n.state=C.PROC_INST_BODY:n.procInstName+=r;continue;case C.PROC_INST_BODY:if(!n.procInstBody&&g(r))continue;"?"===r?n.state=C.PROC_INST_ENDING:n.procInstBody+=r;continue;case C.PROC_INST_ENDING:">"===r?(E(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=C.TEXT):(n.procInstBody+="?"+r,n.state=C.PROC_INST_BODY);continue;case C.OPEN_TAG:b(h,r)?n.tagName+=r:(T(n),">"===r?O(n):"/"===r?n.state=C.OPEN_TAG_SLASH:(g(r)||I(n,"Invalid character in tag name"),n.state=C.ATTRIB));continue;case C.OPEN_TAG_SLASH:">"===r?(O(n,!0),P(n)):(I(n,"Forward-slash in opening tag not followed by >"),n.state=C.ATTRIB);continue;case C.ATTRIB:if(g(r))continue;">"===r?O(n):"/"===r?n.state=C.OPEN_TAG_SLASH:b(u,r)?(n.attribName=r,n.attribValue="",n.state=C.ATTRIB_NAME):I(n,"Invalid attribute name");continue;case C.ATTRIB_NAME:"="===r?n.state=C.ATTRIB_VALUE:">"===r?(I(n,"Attribute without value"),n.attribValue=n.attribName,B(n),O(n)):g(r)?n.state=C.ATTRIB_NAME_SAW_WHITE:b(h,r)?n.attribName+=r:I(n,"Invalid attribute name");continue;case C.ATTRIB_NAME_SAW_WHITE:if("="===r)n.state=C.ATTRIB_VALUE;else{if(g(r))continue;I(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",E(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===r?O(n):b(u,r)?(n.attribName=r,n.state=C.ATTRIB_NAME):(I(n,"Invalid attribute name"),n.state=C.ATTRIB)}continue;case C.ATTRIB_VALUE:if(g(r))continue;m(r)?(n.q=r,n.state=C.ATTRIB_VALUE_QUOTED):(I(n,"Unquoted attribute value"),n.state=C.ATTRIB_VALUE_UNQUOTED,n.attribValue=r);continue;case C.ATTRIB_VALUE_QUOTED:if(r!==n.q){"&"===r?n.state=C.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=r;continue}B(n),n.q="",n.state=C.ATTRIB_VALUE_CLOSED;continue;case C.ATTRIB_VALUE_CLOSED:g(r)?n.state=C.ATTRIB:">"===r?O(n):"/"===r?n.state=C.OPEN_TAG_SLASH:b(u,r)?(I(n,"No whitespace between attributes"),n.attribName=r,n.attribValue="",n.state=C.ATTRIB_NAME):I(n,"Invalid attribute name");continue;case C.ATTRIB_VALUE_UNQUOTED:if(!v(r)){"&"===r?n.state=C.ATTRIB_VALUE_ENTITY_U:n.attribValue+=r;continue}B(n),">"===r?O(n):n.state=C.ATTRIB;continue;case C.CLOSE_TAG:if(n.tagName)">"===r?P(n):b(h,r)?n.tagName+=r:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=C.SCRIPT):(g(r)||I(n,"Invalid tagname in closing tag"),n.state=C.CLOSE_TAG_SAW_WHITE);else{if(g(r))continue;_(u,r)?n.script?(n.script+="</"+r,n.state=C.SCRIPT):I(n,"Invalid tagname in closing tag."):n.tagName=r}continue;case C.CLOSE_TAG_SAW_WHITE:if(g(r))continue;">"===r?P(n):I(n,"Invalid characters in closing tag");continue;case C.TEXT_ENTITY:case C.ATTRIB_VALUE_ENTITY_Q:case C.ATTRIB_VALUE_ENTITY_U:var l,c;switch(n.state){case C.TEXT_ENTITY:l=C.TEXT,c="textNode";break;case C.ATTRIB_VALUE_ENTITY_Q:l=C.ATTRIB_VALUE_QUOTED,c="attribValue";break;case C.ATTRIB_VALUE_ENTITY_U:l=C.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===r?(n[c]+=F(n),n.entity="",n.state=l):b(n.entity.length?f:p,r)?n.entity+=r:(I(n,"Invalid character in entity name"),n[c]+="&"+n.entity+r,n.entity="",n.state=l);continue;default:throw new Error(n,"Unknown state: "+n.state)}return n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,r=0,a=o.length;r<a;r++){var s=t[o[r]].length;if(s>n)switch(o[r]){case"textNode":k(t);break;case"cdata":E(t,"oncdata",t.cdata),t.cdata="";break;case"script":E(t,"onscript",t.script),t.script="";break;default:D(t,"Max buffer length exceeded: "+o[r])}i=Math.max(i,s)}var l=e.MAX_BUFFER_LENGTH-i;t.bufferCheckPosition=l+t.position}(n),n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;k(e=this),""!==e.cdata&&(E(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(E(e,"onscript",e.script),e.script="")}};try{t=n(59993).Stream}catch(e){t=function(){}}var a=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function s(e,n){if(!(this instanceof s))return new s(e,n);t.apply(this),this._parser=new r(e,n),this.writable=!0,this.readable=!0;var i=this;this._parser.onend=function(){i.emit("end")},this._parser.onerror=function(e){i.emit("error",e),i._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(i,"on"+e,{get:function(){return i._parser["on"+e]},set:function(t){if(!t)return i.removeAllListeners(e),i._parser["on"+e]=t,t;i.on(e,t)},enumerable:!0,configurable:!1})}))}s.prototype=Object.create(t.prototype,{constructor:{value:s}}),s.prototype.write=function(e){if("function"==typeof i&&"function"==typeof i.isBuffer&&i.isBuffer(e)){if(!this._decoder){var t=n(36835).s;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},s.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},s.prototype.on=function(e,n){var i=this;return i._parser["on"+e]||-1===a.indexOf(e)||(i._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),i.emit.apply(i,t)}),t.prototype.on.call(i,e,n)};var l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",d={xml:l,xmlns:c},u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function g(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function m(e){return'"'===e||"'"===e}function v(e){return">"===e||g(e)}function b(e,t){return e.test(t)}function _(e,t){return!b(e,t)}var y,A,w,C=0;for(var x in e.STATE={BEGIN:C++,BEGIN_WHITESPACE:C++,TEXT:C++,TEXT_ENTITY:C++,OPEN_WAKA:C++,SGML_DECL:C++,SGML_DECL_QUOTED:C++,DOCTYPE:C++,DOCTYPE_QUOTED:C++,DOCTYPE_DTD:C++,DOCTYPE_DTD_QUOTED:C++,COMMENT_STARTING:C++,COMMENT:C++,COMMENT_ENDING:C++,COMMENT_ENDED:C++,CDATA:C++,CDATA_ENDING:C++,CDATA_ENDING_2:C++,PROC_INST:C++,PROC_INST_BODY:C++,PROC_INST_ENDING:C++,OPEN_TAG:C++,OPEN_TAG_SLASH:C++,ATTRIB:C++,ATTRIB_NAME:C++,ATTRIB_NAME_SAW_WHITE:C++,ATTRIB_VALUE:C++,ATTRIB_VALUE_QUOTED:C++,ATTRIB_VALUE_CLOSED:C++,ATTRIB_VALUE_UNQUOTED:C++,ATTRIB_VALUE_ENTITY_Q:C++,ATTRIB_VALUE_ENTITY_U:C++,CLOSE_TAG:C++,CLOSE_TAG_SAW_WHITE:C++,SCRIPT:C++,SCRIPT_ENDING:C++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],i="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=i})),e.STATE)e.STATE[e.STATE[x]]=x;function S(e,t,n){e[t]&&e[t](n)}function E(e,t,n){e.textNode&&k(e),S(e,t,n)}function k(e){e.textNode=M(e.opt,e.textNode),e.textNode&&S(e,"ontext",e.textNode),e.textNode=""}function M(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function D(e,t){return k(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,S(e,"onerror",t),e}function N(e){return e.sawRoot&&!e.closedRoot&&I(e,"Unclosed root tag"),e.state!==C.BEGIN&&e.state!==C.BEGIN_WHITESPACE&&e.state!==C.TEXT&&D(e,"Unexpected end"),k(e),e.c="",e.closed=!0,S(e,"onend"),r.call(e,e.strict,e.opt),e}function I(e,t){if("object"!=typeof e||!(e instanceof r))throw new Error("bad call to strictFail");e.strict&&D(e,t)}function T(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,E(e,"onopentagstart",n)}function L(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),i=n[0],o=n[1];return t&&"xmlns"===e&&(i="xmlns",o=""),{prefix:i,local:o}}function B(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=L(e.attribName,!0),n=t.prefix,i=t.local;if("xmlns"===n)if("xml"===i&&e.attribValue!==l)I(e,"xml: prefix must be bound to "+l+"\nActual: "+e.attribValue);else if("xmlns"===i&&e.attribValue!==c)I(e,"xmlns: prefix must be bound to "+c+"\nActual: "+e.attribValue);else{var o=e.tag,r=e.tags[e.tags.length-1]||e;o.ns===r.ns&&(o.ns=Object.create(r.ns)),o.ns[i]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,E(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function O(e,t){if(e.opt.xmlns){var n=e.tag,i=L(e.tagName);n.prefix=i.prefix,n.local=i.local,n.uri=n.ns[i.prefix]||"",n.prefix&&!n.uri&&(I(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=i.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){E(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var r=0,a=e.attribList.length;r<a;r++){var s=e.attribList[r],l=s[0],c=s[1],d=L(l,!0),u=d.prefix,h=d.local,p=""===u?"":n.ns[u]||"",f={name:l,value:c,prefix:u,local:h,uri:p};u&&"xmlns"!==u&&!p&&(I(e,"Unbound namespace prefix: "+JSON.stringify(u)),f.uri=u),e.tag.attributes[l]=f,E(e,"onattribute",f)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),E(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=C.TEXT:e.state=C.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function P(e){if(!e.tagName)return I(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=C.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=C.SCRIPT);E(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var i=n;t--&&e.tags[t].name!==i;)I(e,"Unexpected close tag");if(t<0)return I(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=C.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var r=e.tag=e.tags.pop();e.tagName=e.tag.name,E(e,"onclosetag",e.tagName);var a={};for(var s in r.ns)a[s]=r.ns[s];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&r.ns!==l.ns&&Object.keys(r.ns).forEach((function(t){var n=r.ns[t];E(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=C.TEXT}function F(e){var t,n=e.entity,i=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[i]?e.ENTITIES[i]:("#"===(n=i).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(I(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function R(e,t){"<"===t?(e.state=C.OPEN_WAKA,e.startTagPosition=e.position):g(t)||(I(e,"Non-whitespace before first tag."),e.textNode=t,e.state=C.TEXT)}function j(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}C=e.STATE,String.fromCodePoint||(y=String.fromCharCode,A=Math.floor,w=function(){var e,t,n=16384,i=[],o=-1,r=arguments.length;if(!r)return"";for(var a="";++o<r;){var s=Number(arguments[o]);if(!isFinite(s)||s<0||s>1114111||A(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?i.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,i.push(e,t)),(o+1===r||i.length>n)&&(a+=y.apply(null,i),i.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:w,configurable:!0,writable:!0}):String.fromCodePoint=w)}(t)},82188:(e,t)=>{"use strict";var n,i,o,r;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,d=null,u=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(u,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(u,0))},i=function(e,t){d=setTimeout(e,t)},o=function(){clearTimeout(d)},t.unstable_shouldYield=function(){return!1},r=t.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var f=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof f&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,m=null,v=-1,b=5,_=0;t.unstable_shouldYield=function(){return t.unstable_now()>=_},r=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var y=new MessageChannel,A=y.port2;y.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();_=e+b;try{m(!0,e)?A.postMessage(null):(g=!1,m=null)}catch(e){throw A.postMessage(null),e}}else g=!1},n=function(e){m=e,g||(g=!0,A.postMessage(null))},i=function(e,n){v=h((function(){e(t.unstable_now())}),n)},o=function(){p(v),v=-1}}function w(e,t){var n=e.length;e.push(t);e:for(;;){var i=n-1>>>1,o=e[i];if(!(void 0!==o&&0<S(o,t)))break e;e[i]=t,e[n]=o,n=i}}function C(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,o=e.length;i<o;){var r=2*(i+1)-1,a=e[r],s=r+1,l=e[s];if(void 0!==a&&0>S(a,n))void 0!==l&&0>S(l,a)?(e[i]=l,e[s]=n,i=s):(e[i]=a,e[r]=n,i=r);else{if(!(void 0!==l&&0>S(l,n)))break e;e[i]=l,e[s]=n,i=s}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var E=[],k=[],M=1,D=null,N=3,I=!1,T=!1,L=!1;function B(e){for(var t=C(k);null!==t;){if(null===t.callback)x(k);else{if(!(t.startTime<=e))break;x(k),t.sortIndex=t.expirationTime,w(E,t)}t=C(k)}}function O(e){if(L=!1,B(e),!T)if(null!==C(E))T=!0,n(P);else{var t=C(k);null!==t&&i(O,t.startTime-e)}}function P(e,n){T=!1,L&&(L=!1,o()),I=!0;var r=N;try{for(B(n),D=C(E);null!==D&&(!(D.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=D.callback;if("function"==typeof a){D.callback=null,N=D.priorityLevel;var s=a(D.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?D.callback=s:D===C(E)&&x(E),B(n)}else x(E);D=C(E)}if(null!==D)var l=!0;else{var c=C(k);null!==c&&i(O,c.startTime-n),l=!1}return l}finally{D=null,N=r,I=!1}}var F=r;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){T||I||(T=!0,n(P))},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_getFirstCallbackNode=function(){return C(E)},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_scheduleCallback=function(e,r,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:M++,callback:r,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,w(k,e),null===C(E)&&e===C(k)&&(L?o():L=!0,i(O,a-s))):(e.sortIndex=l,w(E,e),T||I||(T=!0,n(P))),e},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}}},86803:(e,t,n)=>{"use strict";e.exports=n(82188)},59993:(e,t,n)=>{var i=n(47477);function o(){i.call(this)}o.prototype=new i,e.exports=o,o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",s));var r=!1;function a(){r||(r=!0,e.end())}function s(){r||(r=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),!this.hasListeners("error"))throw e}function c(){n.off("data",i),e.off("drain",o),n.off("end",a),n.off("close",s),n.off("error",l),e.off("error",l),n.off("end",c),n.off("close",c),e.off("end",c),e.off("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("end",c),e.on("close",c),e.emit("pipe",n),e}},36835:(e,t,n)=>{"use strict";var i=n(23269).Buffer,o=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=d,this.end=u,t=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"๏ฟฝ";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"๏ฟฝ";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"๏ฟฝ"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=r,r.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"๏ฟฝ":t},r.prototype.text=function(e,t){var n=function(e,t,n){var i=t.length-1;if(i<n)return 0;var o=a(t[i]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--i<n||-2===o?0:(o=a(t[i]))>=0?(o>0&&(e.lastNeed=o-2),o):--i<n||-2===o?0:(o=a(t[i]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(92009);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},14659:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(64447);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},43287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(82195);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},27843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(76566);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},25498:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(21590);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},74411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(66671);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},70939:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(14378);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},5744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(27259);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},71415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(60809);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},4818:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(1491);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},85172:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(29594);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},4081:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(77586);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},52772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(64320);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},43538:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(72161);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},905:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(22143);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},35478:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(95758);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},75386:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(61336);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},45344:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(6471);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},3898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(21815);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},68062:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(12864);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},8585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(69104);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},13738:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(89715);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},15718:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(75381);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},15285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(34643);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},9896:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(33743);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},34122:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(68687);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},90788:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(15641);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},81214:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(1292);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},71582:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(2579);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},34630:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(82644);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},48153:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(21847);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},92266:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(74746);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},40914:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(14191);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},52482:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(44342);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},48885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(82785);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},92703:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(45828);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},47066:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(57747);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},17882:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(3764);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},4885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(74290);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},24059:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(97193);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},16838:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(89827);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},55777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(73012);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},97384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(40838);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},69342:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(23026);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},75501:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(18015);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},74554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(47698);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},15746:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(66129);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},37514:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(93505);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},96716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(27130);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},23378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(70967);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},96172:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(50002);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},68117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(12555);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},89513:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(59505);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},22419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(82510);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},82156:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(5141);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},8875:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(10766);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},90572:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(12355);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},36372:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(17567);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},10206:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(68149);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},5656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(17212);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},51875:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(4788);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},24654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(43782);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},24436:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(89994);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},41478:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(82199);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},21367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(98766);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},5854:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(54754);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},7035:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(84453);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},82892:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(74221);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},48417:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(47546);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},88988:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(96199);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},31935:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(89006);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},90352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(30941),o=n.n(i),r=n(42395);o()(r.Z,{insert:"head",singleton:!1});const a=r.Z.locals||{}},30941:(e,t,n)=>{"use strict";var i,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function a(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},i=[],o=0;o<e.length;o++){var s=e[o],l=t.base?s[0]+t.base:s[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var u=a(d),h={css:s[1],media:s[2],sourceMap:s[3]};-1!==u?(r[u].references++,r[u].updater(h)):r.push({identifier:d,updater:g(h,t),references:1}),i.push(d)}return i}function l(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function u(e,t,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function h(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var p=null,f=0;function g(e,t){var n,i,o;if(t.singleton){var r=f++;n=p||(p=l(t)),i=u.bind(null,n,r,!1),o=u.bind(null,n,r,!0)}else n=l(t),i=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var o=a(n[i]);r[o].references--}for(var l=s(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=l}}}},32054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=function(e,t){if(!e)throw new Error("Invariant failed")}},78951:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>r,__asyncDelegator:()=>A,__asyncGenerator:()=>y,__asyncValues:()=>w,__await:()=>_,__awaiter:()=>d,__classPrivateFieldGet:()=>k,__classPrivateFieldSet:()=>M,__createBinding:()=>h,__decorate:()=>s,__exportStar:()=>p,__extends:()=>o,__generator:()=>u,__importDefault:()=>E,__importStar:()=>S,__makeTemplateObject:()=>C,__metadata:()=>c,__param:()=>l,__read:()=>g,__rest:()=>a,__spread:()=>m,__spreadArray:()=>b,__spreadArrays:()=>v,__values:()=>f});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}function s(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function u(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}var h=Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]};function p(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||h(t,e,n)}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i}function b(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function y(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),r=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){o[e]&&(i[e]=function(t){return new Promise((function(n,i){r.push([e,t,n,i])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(l,c):d(r[0][2],n)}catch(e){d(r[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}}function A(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,o){t[i]=e[i]?function(t){return(n=!n)?{value:_(e[i](t)),done:"return"===i}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,o){!function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}(i,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&h(t,e,n);return x(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function k(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function M(e,t,n,i,o){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?o.call(e,n):o?o.value=n:t.set(e,n),n}},3916:(e,t,n)=>{"use strict";var i;n.r(t),n.d(t,{NIL:()=>N,parse:()=>m,stringify:()=>d,v1:()=>g,v3:()=>S,v4:()=>E,v5:()=>D,validate:()=>s,version:()=>I});var o=new Uint8Array(16);function r(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=function(e){return"string"==typeof e&&a.test(e)};for(var l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));const d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var u,h,p=0,f=0;const g=function(e,t,n){var i=t&&n||0,o=t||new Array(16),a=(e=e||{}).node||u,s=void 0!==e.clockseq?e.clockseq:h;if(null==a||null==s){var l=e.random||(e.rng||r)();null==a&&(a=u=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==s&&(s=h=16383&(l[6]<<8|l[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),g=void 0!==e.nsecs?e.nsecs:f+1,m=c-p+(g-f)/1e4;if(m<0&&void 0===e.clockseq&&(s=s+1&16383),(m<0||c>p)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=c,f=g,h=s;var v=(1e4*(268435455&(c+=122192928e5))+g)%4294967296;o[i++]=v>>>24&255,o[i++]=v>>>16&255,o[i++]=v>>>8&255,o[i++]=255&v;var b=c/4294967296*1e4&268435455;o[i++]=b>>>8&255,o[i++]=255&b,o[i++]=b>>>24&15|16,o[i++]=b>>>16&255,o[i++]=s>>>8|128,o[i++]=255&s;for(var _=0;_<6;++_)o[i+_]=a[_];return t||d(o)},m=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function v(e,t,n){function i(e,i,o,r){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof i&&(i=m(i)),16!==i.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(i),a.set(e,i.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){r=r||0;for(var s=0;s<16;++s)o[r+s]=a[s];return o}return d(a)}try{i.name=e}catch(e){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}function b(e){return 14+(e+64>>>9<<4)+1}function _(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function y(e,t,n,i,o,r){return _((a=_(_(t,e),_(i,r)))<<(s=o)|a>>>32-s,n);var a,s}function A(e,t,n,i,o,r,a){return y(t&n|~t&i,e,t,o,r,a)}function w(e,t,n,i,o,r,a){return y(t&i|n&~i,e,t,o,r,a)}function C(e,t,n,i,o,r,a){return y(t^n^i,e,t,o,r,a)}function x(e,t,n,i,o,r,a){return y(n^(t|~i),e,t,o,r,a)}const S=v("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,i="0123456789abcdef",o=0;o<n;o+=8){var r=e[o>>5]>>>o%32&255,a=parseInt(i.charAt(r>>>4&15)+i.charAt(15&r),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[b(t)-1]=t;for(var n=1732584193,i=-271733879,o=-1732584194,r=271733878,a=0;a<e.length;a+=16){var s=n,l=i,c=o,d=r;n=A(n,i,o,r,e[a],7,-680876936),r=A(r,n,i,o,e[a+1],12,-389564586),o=A(o,r,n,i,e[a+2],17,606105819),i=A(i,o,r,n,e[a+3],22,-1044525330),n=A(n,i,o,r,e[a+4],7,-176418897),r=A(r,n,i,o,e[a+5],12,1200080426),o=A(o,r,n,i,e[a+6],17,-1473231341),i=A(i,o,r,n,e[a+7],22,-45705983),n=A(n,i,o,r,e[a+8],7,1770035416),r=A(r,n,i,o,e[a+9],12,-1958414417),o=A(o,r,n,i,e[a+10],17,-42063),i=A(i,o,r,n,e[a+11],22,-1990404162),n=A(n,i,o,r,e[a+12],7,1804603682),r=A(r,n,i,o,e[a+13],12,-40341101),o=A(o,r,n,i,e[a+14],17,-1502002290),n=w(n,i=A(i,o,r,n,e[a+15],22,1236535329),o,r,e[a+1],5,-165796510),r=w(r,n,i,o,e[a+6],9,-1069501632),o=w(o,r,n,i,e[a+11],14,643717713),i=w(i,o,r,n,e[a],20,-373897302),n=w(n,i,o,r,e[a+5],5,-701558691),r=w(r,n,i,o,e[a+10],9,38016083),o=w(o,r,n,i,e[a+15],14,-660478335),i=w(i,o,r,n,e[a+4],20,-405537848),n=w(n,i,o,r,e[a+9],5,568446438),r=w(r,n,i,o,e[a+14],9,-1019803690),o=w(o,r,n,i,e[a+3],14,-187363961),i=w(i,o,r,n,e[a+8],20,1163531501),n=w(n,i,o,r,e[a+13],5,-1444681467),r=w(r,n,i,o,e[a+2],9,-51403784),o=w(o,r,n,i,e[a+7],14,1735328473),n=C(n,i=w(i,o,r,n,e[a+12],20,-1926607734),o,r,e[a+5],4,-378558),r=C(r,n,i,o,e[a+8],11,-2022574463),o=C(o,r,n,i,e[a+11],16,1839030562),i=C(i,o,r,n,e[a+14],23,-35309556),n=C(n,i,o,r,e[a+1],4,-1530992060),r=C(r,n,i,o,e[a+4],11,1272893353),o=C(o,r,n,i,e[a+7],16,-155497632),i=C(i,o,r,n,e[a+10],23,-1094730640),n=C(n,i,o,r,e[a+13],4,681279174),r=C(r,n,i,o,e[a],11,-358537222),o=C(o,r,n,i,e[a+3],16,-722521979),i=C(i,o,r,n,e[a+6],23,76029189),n=C(n,i,o,r,e[a+9],4,-640364487),r=C(r,n,i,o,e[a+12],11,-421815835),o=C(o,r,n,i,e[a+15],16,530742520),n=x(n,i=C(i,o,r,n,e[a+2],23,-995338651),o,r,e[a],6,-198630844),r=x(r,n,i,o,e[a+7],10,1126891415),o=x(o,r,n,i,e[a+14],15,-1416354905),i=x(i,o,r,n,e[a+5],21,-57434055),n=x(n,i,o,r,e[a+12],6,1700485571),r=x(r,n,i,o,e[a+3],10,-1894986606),o=x(o,r,n,i,e[a+10],15,-1051523),i=x(i,o,r,n,e[a+1],21,-2054922799),n=x(n,i,o,r,e[a+8],6,1873313359),r=x(r,n,i,o,e[a+15],10,-30611744),o=x(o,r,n,i,e[a+6],15,-1560198380),i=x(i,o,r,n,e[a+13],21,1309151649),n=x(n,i,o,r,e[a+4],6,-145523070),r=x(r,n,i,o,e[a+11],10,-1120210379),o=x(o,r,n,i,e[a+2],15,718787259),i=x(i,o,r,n,e[a+9],21,-343485551),n=_(n,s),i=_(i,l),o=_(o,c),r=_(r,d)}return[n,i,o,r]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(b(t)),i=0;i<t;i+=8)n[i>>5]|=(255&e[i/8])<<i%32;return n}(e),8*e.length))})),E=function(e,t,n){var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=i[o];return t}return d(i)};function k(e,t,n,i){switch(e){case 0:return t&n^~t&i;case 1:case 3:return t^n^i;case 2:return t&n^t&i^n&i}}function M(e,t){return e<<t|e>>>32-t}const D=v("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var i=unescape(encodeURIComponent(e));e=[];for(var o=0;o<i.length;++o)e.push(i.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var r=e.length/4+2,a=Math.ceil(r/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),d=0;d<16;++d)c[d]=e[64*l+4*d]<<24|e[64*l+4*d+1]<<16|e[64*l+4*d+2]<<8|e[64*l+4*d+3];s[l]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var u=0;u<a;++u){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=s[u][p];for(var f=16;f<80;++f)h[f]=M(h[f-3]^h[f-8]^h[f-14]^h[f-16],1);for(var g=n[0],m=n[1],v=n[2],b=n[3],_=n[4],y=0;y<80;++y){var A=Math.floor(y/20),w=M(g,5)+k(A,m,v,b)+_+t[A]+h[y]>>>0;_=b,b=v,v=M(m,30)>>>0,m=g,g=w}n[0]=n[0]+g>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+_>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),N="00000000-0000-0000-0000-000000000000",I=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},46488:(e,t,n)=>{"use strict";function i(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}n.d(t,{Z:()=>o});const o=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,i){return e(t,n[i])}));if("object"==typeof t||"object"==typeof n){var o=i(t),r=i(n);return o!==t||r!==n?e(o,r):Object.keys(Object.assign({},t,n)).every((function(i){return e(t[i],n[i])}))}return!1}},98361:e=>{e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},78246:(e,t,n)=>{var i=n(15759),o=n(97786),r=n(18898),a=n(94943);e.exports={xml2js:i,xml2json:o,js2xml:r,json2xml:a}},18898:(e,t,n)=>{var i,o,r=n(96131),a=n(98361).isArray;function s(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function l(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,o,i));var r,a,l,c,d=[];for(r in e)e.hasOwnProperty(r)&&null!==e[r]&&void 0!==e[r]&&(c=t.noQuotesForNativeAttributes&&"string"!=typeof e[r]?"":'"',a=(a=""+e[r]).replace(/"/g,"&quot;"),l="attributeNameFn"in t?t.attributeNameFn(r,a,o,i):r,d.push(t.spaces&&t.indentAttributes?s(t,n+1,!1):" "),d.push(l+"="+c+("attributeValueFn"in t?t.attributeValueFn(a,r,o,i):a)+c));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&d.push(s(t,n,!1)),d.join("")}function c(e,t,n){return i=e,o="xml",t.ignoreDeclaration?"":"<?xml"+l(e[t.attributesKey],t,n)+"?>"}function d(e,t,n){if(t.ignoreInstruction)return"";var r;for(r in e)if(e.hasOwnProperty(r))break;var a="instructionNameFn"in t?t.instructionNameFn(r,e[r],o,i):r;if("object"==typeof e[r])return i=e,o=a,"<?"+a+l(e[r][t.attributesKey],t,n)+"?>";var s=e[r]?e[r]:"";return"instructionFn"in t&&(s=t.instructionFn(s,r,o,i)),"<?"+a+(s?" "+s:"")+"?>"}function u(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,o,i):e)+"--\x3e"}function h(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,o,i):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,o,i):e)+">"}function f(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,o,i):e)}function g(e,t,n,r){return e.reduce((function(e,a){var c=s(t,n,r&&!e);switch(a.type){case"element":return e+c+function(e,t,n){i=e,o=e.name;var r=[],a="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;r.push("<"+a),e[t.attributesKey]&&r.push(l(e[t.attributesKey],t,n));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return s||(s="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),s?(r.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(r.push(g(e[t.elementsKey],t,n+1)),i=e,o=e.name),r.push(t.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;default:return!0}return!1}(e,t)?"\n"+Array(n+1).join(t.spaces):""),r.push("</"+a+">")):r.push("/>"),r.join("")}(a,t,n);case"comment":return e+c+u(a[t.commentKey],t);case"doctype":return e+c+p(a[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?c:"")+h(a[t.cdataKey],t);case"text":return e+(t.indentText?c:"")+f(a[t.textKey],t);case"instruction":var m={};return m[a[t.nameKey]]=a[t.attributesKey]?a:a[t.instructionKey],e+(t.indentInstruction?c:"")+d(m,t,n)}}),"")}function m(e,t,n){var i;for(i in e)if(e.hasOwnProperty(i))switch(i){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function v(e,t,n,r,a){i=e,o=t;var c="elementNameFn"in n?n.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+c+"></"+c+">":"<"+c+"/>";var d=[];if(t){if(d.push("<"+c),"object"!=typeof e)return d.push(">"+f(e,n)+"</"+c+">"),d.join("");e[n.attributesKey]&&d.push(l(e[n.attributesKey],n,r));var u=m(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(u||(u="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!u)return d.push("/>"),d.join("");d.push(">")}return d.push(b(e,n,r+1,!1)),i=e,o=t,t&&d.push((a?s(n,r,!1):"")+"</"+c+">"),d.join("")}function b(e,t,n,i){var o,r,l,g=[];for(r in e)if(e.hasOwnProperty(r))for(l=a(e[r])?e[r]:[e[r]],o=0;o<l.length;++o){switch(r){case t.declarationKey:g.push(c(l[o],t,n));break;case t.instructionKey:g.push((t.indentInstruction?s(t,n,i):"")+d(l[o],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:g.push((t.indentText?s(t,n,i):"")+f(l[o],t));break;case t.cdataKey:g.push((t.indentCdata?s(t,n,i):"")+h(l[o],t));break;case t.doctypeKey:g.push(s(t,n,i)+p(l[o],t));break;case t.commentKey:g.push(s(t,n,i)+u(l[o],t));break;default:g.push(s(t,n,i)+v(l[o],r,t,n,m(l[o],t)))}i=i&&!g.length}return g.join("")}e.exports=function(e,t){t=function(e){var t=r.copyOptions(e);return r.ensureFlagExists("ignoreDeclaration",t),r.ensureFlagExists("ignoreInstruction",t),r.ensureFlagExists("ignoreAttributes",t),r.ensureFlagExists("ignoreText",t),r.ensureFlagExists("ignoreComment",t),r.ensureFlagExists("ignoreCdata",t),r.ensureFlagExists("ignoreDoctype",t),r.ensureFlagExists("compact",t),r.ensureFlagExists("indentText",t),r.ensureFlagExists("indentCdata",t),r.ensureFlagExists("indentAttributes",t),r.ensureFlagExists("indentInstruction",t),r.ensureFlagExists("fullTagEmptyElement",t),r.ensureFlagExists("noQuotesForNativeAttributes",t),r.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),r.ensureKeyExists("declaration",t),r.ensureKeyExists("instruction",t),r.ensureKeyExists("attributes",t),r.ensureKeyExists("text",t),r.ensureKeyExists("comment",t),r.ensureKeyExists("cdata",t),r.ensureKeyExists("doctype",t),r.ensureKeyExists("type",t),r.ensureKeyExists("name",t),r.ensureKeyExists("elements",t),r.checkFnExists("doctype",t),r.checkFnExists("instruction",t),r.checkFnExists("cdata",t),r.checkFnExists("comment",t),r.checkFnExists("text",t),r.checkFnExists("instructionName",t),r.checkFnExists("elementName",t),r.checkFnExists("attributeName",t),r.checkFnExists("attributeValue",t),r.checkFnExists("attributes",t),r.checkFnExists("fullTagEmptyElement",t),t}(t);var n=[];return i=e,o="_root_",t.compact?n.push(b(e,t,0,!0)):(e[t.declarationKey]&&n.push(c(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(g(e[t.elementsKey],t,0,!n.length))),n.join("")}},94943:(e,t,n)=>{var i=n(15313).Buffer,o=n(18898);e.exports=function(e,t){e instanceof i&&(e=e.toString());var n=null;if("string"==typeof e)try{n=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else n=e;return o(n,t)}},96131:(e,t,n)=>{var i=n(98361).isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||i(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},15759:(e,t,n)=>{var i,o,r=n(61465),a=n(96131),s=n(98361).isArray;function l(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function c(e,t){var n;if(i.compact){if(!o[i[e+"Key"]]&&(s(i.alwaysArray)?-1!==i.alwaysArray.indexOf(i[e+"Key"]):i.alwaysArray)&&(o[i[e+"Key"]]=[]),o[i[e+"Key"]]&&!s(o[i[e+"Key"]])&&(o[i[e+"Key"]]=[o[i[e+"Key"]]]),e+"Fn"in i&&"string"==typeof t&&(t=i[e+"Fn"](t,o)),"instruction"===e&&("instructionFn"in i||"instructionNameFn"in i))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in i)t[n]=i.instructionFn(t[n],n,o);else{var r=t[n];delete t[n],t[i.instructionNameFn(n,r,o)]=r}s(o[i[e+"Key"]])?o[i[e+"Key"]].push(t):o[i[e+"Key"]]=t}else{o[i.elementsKey]||(o[i.elementsKey]=[]);var a={};if(a[i.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;a[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(n,t,o):n,i.instructionHasAttributes?(a[i.attributesKey]=t[n][i.attributesKey],"instructionFn"in i&&(a[i.attributesKey]=i.instructionFn(a[i.attributesKey],n,o))):("instructionFn"in i&&(t[n]=i.instructionFn(t[n],n,o)),a[i.instructionKey]=t[n])}else e+"Fn"in i&&(t=i[e+"Fn"](t,o)),a[i[e+"Key"]]=t;i.addParent&&(a[i.parentKey]=o),o[i.elementsKey].push(a)}}function d(e){var t;if("attributesFn"in i&&e&&(e=i.attributesFn(e,o)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(i.trim&&(e[t]=e[t].trim()),i.nativeTypeAttributes&&(e[t]=l(e[t])),"attributeValueFn"in i&&(e[t]=i.attributeValueFn(e[t],t,o)),"attributeNameFn"in i)){var n=e[t];delete e[t],e[i.attributeNameFn(t,e[t],o)]=n}return e}function u(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||i.instructionHasAttributes)){for(var n,r=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=r.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=d(t)}if("xml"===e.name.toLowerCase()){if(i.ignoreDeclaration)return;o[i.declarationKey]={},Object.keys(t).length&&(o[i.declarationKey][i.attributesKey]=t),i.addParent&&(o[i.declarationKey][i.parentKey]=o)}else{if(i.ignoreInstruction)return;i.trim&&(e.body=e.body.trim());var a={};i.instructionHasAttributes&&Object.keys(t).length?(a[e.name]={},a[e.name][i.attributesKey]=t):a[e.name]=e.body,c("instruction",a)}}function h(e,t){var n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=d(t),"elementNameFn"in i&&(e=i.elementNameFn(e,o)),i.compact){var r;if(n={},!i.ignoreAttributes&&t&&Object.keys(t).length)for(r in n[i.attributesKey]={},t)t.hasOwnProperty(r)&&(n[i.attributesKey][r]=t[r]);!(e in o)&&(s(i.alwaysArray)?-1!==i.alwaysArray.indexOf(e):i.alwaysArray)&&(o[e]=[]),o[e]&&!s(o[e])&&(o[e]=[o[e]]),s(o[e])?o[e].push(n):o[e]=n}else o[i.elementsKey]||(o[i.elementsKey]=[]),(n={})[i.typeKey]="element",n[i.nameKey]=e,!i.ignoreAttributes&&t&&Object.keys(t).length&&(n[i.attributesKey]=t),i.alwaysChildren&&(n[i.elementsKey]=[]),o[i.elementsKey].push(n);n[i.parentKey]=o,o=n}function p(e){i.ignoreText||(e.trim()||i.captureSpacesBetweenElements)&&(i.trim&&(e=e.trim()),i.nativeType&&(e=l(e)),i.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),c("text",e))}function f(e){i.ignoreComment||(i.trim&&(e=e.trim()),c("comment",e))}function g(e){var t=o[i.parentKey];i.addParent||delete o[i.parentKey],o=t}function m(e){i.ignoreCdata||(i.trim&&(e=e.trim()),c("cdata",e))}function v(e){i.ignoreDoctype||(e=e.replace(/^ /,""),i.trim&&(e=e.trim()),c("doctype",e))}function b(e){e.note=e}e.exports=function(e,t){var n=r.parser(!0,{}),s={};if(o=s,i=function(e){return i=a.copyOptions(e),a.ensureFlagExists("ignoreDeclaration",i),a.ensureFlagExists("ignoreInstruction",i),a.ensureFlagExists("ignoreAttributes",i),a.ensureFlagExists("ignoreText",i),a.ensureFlagExists("ignoreComment",i),a.ensureFlagExists("ignoreCdata",i),a.ensureFlagExists("ignoreDoctype",i),a.ensureFlagExists("compact",i),a.ensureFlagExists("alwaysChildren",i),a.ensureFlagExists("addParent",i),a.ensureFlagExists("trim",i),a.ensureFlagExists("nativeType",i),a.ensureFlagExists("nativeTypeAttributes",i),a.ensureFlagExists("sanitize",i),a.ensureFlagExists("instructionHasAttributes",i),a.ensureFlagExists("captureSpacesBetweenElements",i),a.ensureAlwaysArrayExists(i),a.ensureKeyExists("declaration",i),a.ensureKeyExists("instruction",i),a.ensureKeyExists("attributes",i),a.ensureKeyExists("text",i),a.ensureKeyExists("comment",i),a.ensureKeyExists("cdata",i),a.ensureKeyExists("doctype",i),a.ensureKeyExists("type",i),a.ensureKeyExists("name",i),a.ensureKeyExists("elements",i),a.ensureKeyExists("parent",i),a.checkFnExists("doctype",i),a.checkFnExists("instruction",i),a.checkFnExists("cdata",i),a.checkFnExists("comment",i),a.checkFnExists("text",i),a.checkFnExists("instructionName",i),a.checkFnExists("elementName",i),a.checkFnExists("attributeName",i),a.checkFnExists("attributeValue",i),a.checkFnExists("attributes",i),i}(t),n.opt={strictEntities:!0},n.onopentag=h,n.ontext=p,n.oncomment=f,n.onclosetag=g,n.onerror=b,n.oncdata=m,n.ondoctype=v,n.onprocessinginstruction=u,n.write(e).close(),s[i.elementsKey]){var l=s[i.elementsKey];delete s[i.elementsKey],s[i.elementsKey]=l,delete s.text}return s}},97786:(e,t,n)=>{var i=n(96131),o=n(15759);e.exports=function(e,t){var n,r,a;return n=function(e){var t=i.copyOptions(e);return i.ensureSpacesExists(t),t}(t),r=o(e,n),a="compact"in n&&n.compact?"_parent":"parent",("addParent"in n&&n.addParent?JSON.stringify(r,(function(e,t){return e===a?"_":t}),n.spaces):JSON.stringify(r,null,n.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},64148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5226:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},585:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditorEnvelopeLocator=t.EnvelopeMapping=t.EnvelopeContentType=void 0;var i,o=n(66684);(i=t.EnvelopeContentType||(t.EnvelopeContentType={}))[i.PATH=0]="PATH",i[i.CONTENT=1]="CONTENT";var r=function(){function e(e){this.args=e,this.matcher=new o.Minimatch(e.filePathGlob,{nocase:!0,dot:!0})}return Object.defineProperty(e.prototype,"type",{get:function(){return this.args.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"filePathGlob",{get:function(){return this.args.filePathGlob},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resourcesPathPrefix",{get:function(){return this.args.resourcesPathPrefix},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"envelopeContent",{get:function(){return this.args.envelopeContent},enumerable:!1,configurable:!0}),e}();t.EnvelopeMapping=r;var a=function(){function e(e,t){this.targetOrigin=e,this.envelopeMappings=t}return e.prototype.getEnvelopeMapping=function(e){return this.envelopeMappings.find((function(t){return t.matcher.match(e)}))},e.prototype.hasMappingFor=function(e){return void 0!==this.getEnvelopeMapping(e)},e}();t.EditorEnvelopeLocator=a},31250:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},90355:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EditorTheme=void 0,(n=t.EditorTheme||(t.EditorTheme={}))[n.DARK=0]="DARK",n[n.LIGHT=1]="LIGHT",n[n.HIGH_CONTRAST=2]="HIGH_CONTRAST"},1978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},55018:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelType=void 0,(n=t.ChannelType||(t.ChannelType={})).VSCODE_DESKTOP="VSCODE_DESKTOP",n.VSCODE_WEB="VSCODE_WEB",n.ONLINE="ONLINE",n.GITHUB="GITHUB",n.EMBEDDED="EMBEDDED",n.OTHER="OTHER",n.ONLINE_MULTI_FILE="ONLINE_MULTI_FILE",n.STANDALONE="STANDALONE"},87754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKogitoEditorEnvelopeContext=t.KogitoEditorEnvelopeContext=void 0;var i=n(29901),o=n(29901);t.KogitoEditorEnvelopeContext=i.createContext({}),t.useKogitoEditorEnvelopeContext=function(){return(0,o.useContext)(t.KogitoEditorEnvelopeContext)}},85512:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StateControlCommand=void 0,(n=t.StateControlCommand||(t.StateControlCommand={}))[n.UNDO=0]="UNDO",n[n.REDO=1]="REDO"},68661:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(64148),t),o(n(31250),t),o(n(87754),t),o(n(1978),t),o(n(55018),t),o(n(85512),t),o(n(5226),t),o(n(585),t),o(n(90355),t)},55921:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.EditorEnvelopeView=t.EditorEnvelopeViewRef=void 0;var r=n(61250),a=n(29901),s=n(23497),l=n(16981),c=n(29901);t.EditorEnvelopeViewRef=function(e,t){var n=o((0,c.useState)(void 0),2),a=n[0],d=n[1],u=o((0,c.useState)(!0),2),h=u[0],p=u[1];return(0,c.useImperativeHandle)(t,(function(){return{getEditor:function(){return a},setEditor:function(e){return d(e)},setLoading:function(){return p(!0)},setLoadingFinished:function(){return p(!1)},setLocale:function(t){return e.setLocale(t)}}}),[e,a]),(0,r.jsxs)(r.Fragment,{children:[!h&&e.showKeyBindingsOverlay&&(0,r.jsx)(l.KeyBindingsHelpOverlay,{},void 0),(0,r.jsx)(s.LoadingScreen,{loading:h},void 0),(0,r.jsx)("div",i({style:{position:"absolute",width:"100vw",height:"100vh",top:"0",left:"0"}},{children:a&&a.af_isReact&&a.af_componentRoot()}),void 0)]},void 0)},t.EditorEnvelopeView=a.forwardRef(t.EditorEnvelopeViewRef)},77714:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyBindingsHelpOverlay=void 0;var s=n(61250),l=n(29901),c=n(29901),d=n(53299),u=n(63392),h=n(70170),p=n(27461),f=n(68661),g=n(98182);t.KeyBindingsHelpOverlay=function(){var e=this,t=a((0,c.useState)(!1),2),n=t[0],m=t[1],v=(0,f.useKogitoEditorEnvelopeContext)(),b=(0,g.useEditorEnvelopeI18nContext)().i18n,_=(0,c.useCallback)((function(){m(!n)}),[n]),y=(0,c.useMemo)((function(){return(e=v.services.keyboardShortcuts.registered(),t="combination",e.filter((function(e,n,i){return i.map((function(e){return e[t]})).indexOf(e[t])===n}))).filter((function(e){var t;return!(null===(t=e.opts)||void 0===t?void 0:t.hidden)})).map((function(e){var t,n,i,o;return{combination:(i=e.combination,o=v.operatingSystem,o===p.OperatingSystem.MACOS?i.replace("ctrl","cmd"):i),category:null===(t=e.label.split("|")[0])||void 0===t?void 0:t.trim(),label:null===(n=e.label.split("|")[1])||void 0===n?void 0:n.trim()}})).reduce((function(e,t){return e.has(t.category)?e.get(t.category).add({label:t.label,combination:t.combination}):e.set(t.category,new Set([{label:t.label,combination:t.combination}])),e}),new Map);var e,t}),[v.services.keyboardShortcuts.registered()]);return(0,c.useEffect)((function(){var t=v.services.keyboardShortcuts.registerKeyPress("shift+/","".concat(b.keyBindingsHelpOverlay.categories.help," | ").concat(b.keyBindingsHelpOverlay.commands.showKeyboardOverlay),(function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return[2,m(!0)]}))}))}),{element:window});return function(){return v.services.keyboardShortcuts.deregister(t)}}),[b]),(0,c.useEffect)((function(){if(n){var t=v.services.keyboardShortcuts.registerKeyPressOnce("esc",(function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return[2,m(!1)]}))}))}),{element:window});return function(){return v.services.keyboardShortcuts.deregister(t)}}}),[n]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",i({onClick:function(){return m(!n)},className:"kie-tools--keyboard-shortcuts kie-tools--keyboard-shortcuts-icon","data-ouia-component-id":"keyboard-shortcuts-icon","data-testid":"keyboard-shortcuts-help-overlay-icon"},{children:(0,s.jsx)(h.KeyboardIcon,{},void 0)}),void 0),(0,s.jsx)(u.Modal,i({appendTo:document.body,title:b.keyBindingsHelpOverlay.title,isOpen:n,width:"60%",onClose:_,"data-testid":"keyboard-shortcuts-help-overlay",className:"kie-tools--keyboard-shortcuts"},{children:(0,s.jsx)(d.TextContent,{children:(0,s.jsx)(d.TextList,i({component:d.TextListVariants.dl},{children:Array.from(y.keys()).map((function(e){return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(d.Text,i({component:d.TextVariants.h2},{children:e}),void 0),Array.from(y.get(e)).map((function(e){return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(d.TextListItem,i({component:d.TextListItemVariants.dt},{children:(t=e.combination,t.split("+").map((function(e){return e.replace(/^\w/,(function(e){return e.toUpperCase()}))})).join(" + "))}),void 0),(0,s.jsx)(d.TextListItem,i({component:d.TextListItemVariants.dd},{children:e.label}),void 0)]},e.combination);var t}))]},e)}))}),void 0)},void 0)}),void 0)]},void 0)}},16981:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),n(984),o(n(77714),t)},76665:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.KogitoEditorEnvelope=void 0;var o=n(61250),r=n(68661),a=n(55921),s=n(10571),l=n(29901),c=n(98182),d=n(51404),u=n(27461),h=function(){function e(e,t,n,i,o){void 0===o&&(o={channelApi:i.channelApi,operatingSystem:(0,u.getOperatingSystem)(),services:{keyboardShortcuts:t,i18n:n}}),this.kogitoEditorEnvelopeApiFactory=e,this.keyboardShortcutsService=t,this.i18nService=n,this.envelope=i,this.context=o}return e.prototype.start=function(e){var t=this;return this.envelope.start((function(){return t.renderView(e)}),this.context,this.kogitoEditorEnvelopeApiFactory)},e.prototype.renderView=function(e){var t=this,n=l.createRef(),u=(0,o.jsx)(r.KogitoEditorEnvelopeContext.Provider,i({value:this.context},{children:(0,o.jsx)(d.I18nDictionariesProvider,i({defaults:c.editorEnvelopeI18nDefaults,dictionaries:c.editorEnvelopeI18nDictionaries,ctx:c.EditorEnvelopeI18nContext,initialLocale:navigator.language},{children:(0,o.jsx)(c.EditorEnvelopeI18nContext.Consumer,{children:function(e){var i=e.setLocale;return(0,o.jsx)(a.EditorEnvelopeView,{ref:n,setLocale:i,showKeyBindingsOverlay:t.keyboardShortcutsService.isEnabled()},void 0)}},void 0)}),void 0)}),void 0);return new Promise((function(t){setTimeout((function(){s.render(u,e,(function(){t((function(){return n.current}))}))}),0)}))},e}();t.KogitoEditorEnvelope=h},24678:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.KogitoEditorEnvelopeApiImpl=void 0;var r=n(68661),a=n(40888),s=n(74118),l=n(98182),c=function(){function e(e,t,n){var r=this;void 0===n&&(n=new s.I18n(l.editorEnvelopeI18nDefaults,l.editorEnvelopeI18nDictionaries)),this.args=e,this.editorFactory=t,this.i18n=n,this.capturedInitRequestYet=!1,this.kogitoEditor_initRequest=function(e,t){return i(r,void 0,void 0,(function(){var n,i,r,a,s,l,c,d,u=this;return o(this,(function(o){switch(o.label){case 0:return this.args.envelopeClient.associate(e.origin,e.envelopeServerId),this.hasCapturedInitRequestYet()?[2]:(this.ackCapturedInitRequest(),n=this,[4,this.args.viewDelegate()]);case 1:return n.view=o.sent(),this.setupI18n(t),i=this,[4,this.editorFactory.createEditor(this.args.envelopeContext,t)];case 2:return i.editor=o.sent(),[4,this.view().setEditor(this.editor)];case 3:return o.sent(),null===(s=(a=this.editor).af_onStartup)||void 0===s||s.call(a),null===(c=(l=this.editor).af_onOpen)||void 0===c||c.call(l),this.view().setLoading(),[4,this.args.envelopeContext.channelApi.requests.kogitoEditor_contentRequest()];case 4:return r=o.sent(),[4,this.editor.setContent(null!==(d=r.path)&&void 0!==d?d:"",r.content).catch((function(e){return u.args.envelopeContext.channelApi.notifications.kogitoEditor_setContentError.send(r)})).finally((function(){return u.view().setLoadingFinished()}))];case 5:return o.sent(),this.registerDefaultShortcuts(t),this.args.envelopeContext.channelApi.notifications.kogitoEditor_ready.send(),[2]}}))}))},this.kogitoEditor_contentChanged=function(e,t){var n;return t.showLoadingOverlay&&r.view().setLoading(),r.editor.setContent(null!==(n=e.path)&&void 0!==n?n:"",e.content).catch((function(t){throw r.args.envelopeContext.channelApi.notifications.kogitoEditor_setContentError.send(e),t})).finally((function(){return r.view().setLoadingFinished()}))},this.kogitoGuidedTour_guidedTourElementPositionRequest=function(e){return i(r,void 0,void 0,(function(){return o(this,(function(t){return[2,this.editor.getElementPosition(e).then((function(e){return null!=e?e:a.DEFAULT_RECT}))]}))}))},this.kogitoKeyboardShortcuts_channelKeyboardEvent=function(e){window.dispatchEvent(new CustomEvent(e.type,{detail:e}))}}return e.prototype.hasCapturedInitRequestYet=function(){return this.capturedInitRequestYet},e.prototype.ackCapturedInitRequest=function(){this.capturedInitRequestYet=!0},e.prototype.kogitoEditor_editorUndo=function(){this.editor.undo()},e.prototype.kogitoEditor_editorRedo=function(){this.editor.redo()},e.prototype.kogitoEditor_contentRequest=function(){return this.editor.getContent().then((function(e){return{content:(t=e,t.replace(/[\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069]/gu,""))};var t}))},e.prototype.kogitoEditor_previewRequest=function(){return this.editor.getPreview().then((function(e){return null!=e?e:""}))},e.prototype.kogitoI18n_localeChange=function(e){return this.args.envelopeContext.services.i18n.executeOnLocaleChangeSubscriptions(e)},e.prototype.kogitoEditor_validate=function(){return this.editor.validate()},e.prototype.setupI18n=function(e){var t=this;this.i18n.setLocale(e.initialLocale),this.args.envelopeContext.services.i18n.subscribeToLocaleChange((function(e){t.i18n.setLocale(e),t.view().setLocale(e)}))},e.prototype.registerDefaultShortcuts=function(e){var t=this;if(e.channel!==r.ChannelType.VSCODE_DESKTOP&&e.channel!==r.ChannelType.VSCODE_WEB&&!e.isReadOnly)var n=this.i18n.getCurrent(),a=this.args.envelopeContext.services.keyboardShortcuts.registerKeyPress("shift+ctrl+z","".concat(n.keyBindingsHelpOverlay.categories.edit," | ").concat(n.keyBindingsHelpOverlay.commands.redo),(function(){return i(t,void 0,void 0,(function(){return o(this,(function(e){return this.editor.redo(),this.args.envelopeContext.channelApi.notifications.kogitoEditor_stateControlCommandUpdate.send(r.StateControlCommand.REDO),[2]}))}))})),s=this.args.envelopeContext.services.keyboardShortcuts.registerKeyPress("ctrl+z","".concat(n.keyBindingsHelpOverlay.categories.edit," | ").concat(n.keyBindingsHelpOverlay.commands.undo),(function(){return i(t,void 0,void 0,(function(){return o(this,(function(e){return this.editor.undo(),this.args.envelopeContext.channelApi.notifications.kogitoEditor_stateControlCommandUpdate.send(r.StateControlCommand.UNDO),[2]}))}))})),l=this.args.envelopeContext.services.i18n.subscribeToLocaleChange((function(n){t.args.envelopeContext.services.keyboardShortcuts.deregister(a),t.args.envelopeContext.services.keyboardShortcuts.deregister(s),t.args.envelopeContext.services.i18n.unsubscribeToLocaleChange(l),t.registerDefaultShortcuts(e)}))},e.prototype.getEditorOrThrowError=function(){var e=this.view().getEditor();if(!e)throw new Error("Editor not found.");return e},e}();t.KogitoEditorEnvelopeApiImpl=c},78367:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingScreen=void 0;var r=n(61250),a=n(29901),s=n(89811),l=n(49726),c=n(7003),d=n(98182);t.LoadingScreen=function(e){var t=o((0,a.useState)(!0),2),n=t[0],u=t[1],h=(0,d.useEditorEnvelopeI18nContext)().i18n,p=(0,a.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),u(!1)}),[]),f=(0,a.useMemo)((function(){return e.loading?"":"loading-finished"}),[e.loading]);return(0,a.useLayoutEffect)((function(){e.loading&&u(!0)}),[e.loading]),n&&(0,r.jsx)("div",i({id:"loading-screen",className:"kie-tools--loading-screen"},{children:(0,r.jsx)("div",i({className:"kie-tools--loading-screen ".concat(f),onAnimationEnd:p,"data-testid":"loading-screen-div"},{children:(0,r.jsx)(c.Bullseye,{children:(0,r.jsxs)("div",i({className:"kie-tools--loading-screen-spinner"},{children:[(0,r.jsx)("div",{children:(0,r.jsx)(s.Spinner,{},void 0)},void 0),(0,r.jsx)(l.Title,i({headingLevel:"h5"},{children:h.loadingScreen.loading}),void 0)]}),void 0)},void 0)}),void 0)}),void 0)||(0,r.jsx)(r.Fragment,{},void 0)}},23497:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),n(984),o(n(78367),t)},88769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98182:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(88769),t),o(n(45645),t)},66220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0,t.en={keyBindingsHelpOverlay:{title:"Keyboard shortcuts",categories:{edit:"Edit",help:"Help"},commands:{undo:"Undo last edit",redo:"Redo last edit",showKeyboardOverlay:"Show keyboard shortcuts"}},loadingScreen:{loading:"Loading..."}}},75841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0;var i=n(66220);Object.defineProperty(t,"en",{enumerable:!0,get:function(){return i.en}})},45645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEditorEnvelopeI18nContext=t.EditorEnvelopeI18nContext=t.editorEnvelopeI18nDictionaries=t.editorEnvelopeI18nDefaults=void 0;var i=n(29901),o=n(29901),r=n(75841);t.editorEnvelopeI18nDefaults={locale:"en",dictionary:r.en},t.editorEnvelopeI18nDictionaries=new Map([["en",r.en]]),t.EditorEnvelopeI18nContext=i.createContext({}),t.useEditorEnvelopeI18nContext=function(){return(0,o.useContext)(t.EditorEnvelopeI18nContext)}},16412:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.initCustom=t.init=void 0,n(17882);var r=n(76665),a=n(24678),s=n(80945),l=n(59864),c=n(7918),d=n(27461);function u(e){var t,n=null!==(t=e.keyboardShortcutsService)&&void 0!==t?t:new s.DefaultKeyboardShortcutsService({os:(0,d.getOperatingSystem)()}),i=new l.I18nService,o=new c.Envelope(e.bus);return new r.KogitoEditorEnvelope(e.apiImplFactory,n,i,o).start(e.container)}t.init=function(e){u({container:e.container,bus:e.bus,apiImplFactory:{create:function(t){return new a.KogitoEditorEnvelopeApiImpl(t,e.editorFactory)}},keyboardShortcutsService:e.keyboardShortcutsService})},t.initCustom=u,o(n(24678),t),o(n(23497),t)},64169:(e,t)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.EnvelopeBusMessageDirectSender=t.EnvelopeBusMessagePurpose=void 0,(i=t.EnvelopeBusMessagePurpose||(t.EnvelopeBusMessagePurpose={})).REQUEST="request",i.RESPONSE="response",i.NOTIFICATION_SUBSCRIPTION="subscription",i.NOTIFICATION_UNSUBSCRIPTION="unsubscription",i.NOTIFICATION="notification",i.SHARED_VALUE_GET_DEFAULT="shared-value-get-default",i.SHARED_VALUE_UPDATE="shared-value-update",(n=t.EnvelopeBusMessageDirectSender||(t.EnvelopeBusMessageDirectSender={})).ENVELOPE_CLIENT="envelopeClient",n.ENVELOPE_SERVER="envelopeServer"},30927:function(e,t,n){"use strict";var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.EnvelopeBusMessageManager=void 0;var r=n(64169),a=function(){function e(e,t){var n=this;void 0===t&&(t="".concat((new Date).getMilliseconds())),this.send=e,this.name=t,this.requestHandlers=new Map,this.localNotificationsSubscriptions=new Map,this.remoteNotificationsSubscriptions=[],this.localSharedValueSubscriptions=new Map,this.localSharedValuesStore=new Map,this.clientApi={requests:s(new Map,{get:function(e,t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return n.request.apply(n,o([t],i(e),!1))}}}),notifications:s(new Map,{get:function(e,t){return{subscribe:function(e){return n.subscribeToNotification(t,e)},unsubscribe:function(e){return n.unsubscribeFromNotification(t,e)},send:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return n.notify.apply(n,o([t],i(e),!1))}}}}),shared:s(new Map,{get:function(e,t){return{set:function(e){return n.setSharedValue(t,e)},subscribe:function(e){return n.subscribeToSharedValue(t,e,{owned:!1})},unsubscribe:function(e){return n.unsubscribeFromSharedValue(t,e)}}}})},this.shared=s(new Map,{get:function(e,t){return{set:function(e){return n.setSharedValue(t,e)},subscribe:function(e){return n.subscribeToSharedValue(t,e,{owned:!0})},unsubscribe:function(e){return n.unsubscribeFromSharedValue(t,e)}}}}),this.requestIdCounter=0}return Object.defineProperty(e.prototype,"server",{get:function(){var e=this;return{receive:function(t,n){console.debug(t),e.receive(t,n)}}},enumerable:!1,configurable:!0}),e.prototype.setSharedValue=function(e,t){var n;this.localSharedValuesStore.set(e,t),null===(n=this.localSharedValueSubscriptions.get(e))||void 0===n||n.forEach((function(e){return e(t)})),this.send({type:e,purpose:r.EnvelopeBusMessagePurpose.SHARED_VALUE_UPDATE,data:t})},e.prototype.subscribeToSharedValue=function(e,t,n){var a,s=null!==(a=this.localSharedValueSubscriptions.get(e))&&void 0!==a?a:[];return this.localSharedValueSubscriptions.set(e,o(o([],i(s),!1),[t],!1)),n.owned||this.localSharedValuesStore.get(e)?t(this.getCurrentStoredSharedValueOrDefault(e,this.currentApiImpl)):this.send({type:e,purpose:r.EnvelopeBusMessagePurpose.SHARED_VALUE_GET_DEFAULT,data:[]}),t},e.prototype.unsubscribeFromSharedValue=function(e,t){var n=this.localSharedValueSubscriptions.get(e);if(n){var i=n.indexOf(t);i<0||n.splice(i,1)}},e.prototype.getCurrentStoredSharedValueOrDefault=function(e,t){var n,i,o=e;return null!==(n=this.localSharedValuesStore.get(o))&&void 0!==n?n:this.localSharedValuesStore.set(o,null===(i=null==t?void 0:t[o])||void 0===i?void 0:i.apply(t).defaultValue).get(e)},e.prototype.subscribeToNotification=function(e,t){var n,a=null!==(n=this.localNotificationsSubscriptions.get(e))&&void 0!==n?n:[];return this.localNotificationsSubscriptions.set(e,o(o([],i(a),!1),[t],!1)),this.send({type:e,purpose:r.EnvelopeBusMessagePurpose.NOTIFICATION_SUBSCRIPTION,data:[]}),t},e.prototype.unsubscribeFromNotification=function(e,t){var n=this.localNotificationsSubscriptions.get(e);if(n){var i=n.indexOf(t);i<0||(n.splice(i,1),this.send({type:e,purpose:r.EnvelopeBusMessagePurpose.NOTIFICATION_UNSUBSCRIPTION,data:[]}))}},e.prototype.request=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=this.getNextRequestId();return this.send({requestId:o,type:e,data:n,purpose:r.EnvelopeBusMessagePurpose.REQUEST}),new Promise((function(e,n){t.requestHandlers.set(o,{resolve:e,reject:n})}))},e.prototype.notify=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.send({type:e,data:t,purpose:r.EnvelopeBusMessagePurpose.NOTIFICATION})},e.prototype.respond=function(e,t,n){if(e.purpose!==r.EnvelopeBusMessagePurpose.REQUEST)throw new Error("Cannot respond a message that is not a request");if(!e.requestId)throw new Error("Cannot respond a request without a requestId");this.send({requestId:e.requestId,purpose:r.EnvelopeBusMessagePurpose.RESPONSE,type:e.type,data:t,error:n instanceof Error?n.message:JSON.stringify(n)})},e.prototype.callback=function(e){if(e.purpose!==r.EnvelopeBusMessagePurpose.RESPONSE)throw new Error("Cannot invoke callback with a message that is not a response");if(!e.requestId)throw new Error("Cannot acknowledge a response without a requestId");var t=this.requestHandlers.get(e.requestId);if(!t)throw new Error("Callback not found for "+e);this.requestHandlers.delete(e.requestId),e.error?t.reject(new Error(e.error)):t.resolve(e.data)},e.prototype.receive=function(e,t){var n,a,s=this;if(this.currentApiImpl=t,e.purpose!==r.EnvelopeBusMessagePurpose.RESPONSE)if(e.purpose!==r.EnvelopeBusMessagePurpose.REQUEST)if(e.purpose!==r.EnvelopeBusMessagePurpose.NOTIFICATION)if(e.purpose!==r.EnvelopeBusMessagePurpose.NOTIFICATION_SUBSCRIPTION)if(e.purpose!==r.EnvelopeBusMessagePurpose.NOTIFICATION_UNSUBSCRIPTION)if(e.purpose!==r.EnvelopeBusMessagePurpose.SHARED_VALUE_GET_DEFAULT){if(e.purpose===r.EnvelopeBusMessagePurpose.SHARED_VALUE_UPDATE){c=e.type;var l=this.localSharedValueSubscriptions.get(c);return this.localSharedValuesStore.set(c,e.data),void(null==l||l.forEach((function(t){return t(e.data)})))}}else c=e.type,this.send({type:c,purpose:r.EnvelopeBusMessagePurpose.SHARED_VALUE_UPDATE,data:this.getCurrentStoredSharedValueOrDefault(c,t)});else{var c=e.type,d=this.remoteNotificationsSubscriptions.indexOf(c);d>=0&&this.remoteNotificationsSubscriptions.splice(d,1)}else{c=e.type;this.remoteNotificationsSubscriptions.indexOf(c)<0&&this.remoteNotificationsSubscriptions.push(c)}else{null===(n=t[c=e.type])||void 0===n||n.apply(t,e.data),this.remoteNotificationsSubscriptions.indexOf(c)>=0&&this.send({type:c,purpose:r.EnvelopeBusMessagePurpose.NOTIFICATION,data:e.data});var u=e.type;null===(a=this.localNotificationsSubscriptions.get(u))||void 0===a||a.forEach((function(t){t.apply(void 0,o([],i(e.data),!1))}))}else{var h=e,p=void 0;try{p=t[h.type].apply(t,h.data)}catch(e){return console.error(e),void this.respond(h,void 0,e)}if(!(p instanceof Promise))throw new Error("Cannot make a request to '".concat(h.type,"' because it does not return a Promise"));p.then((function(e){s.respond(h,e)})).catch((function(e){console.error(e),s.respond(h,void 0,e)}))}else this.callback(e)},e.prototype.getNextRequestId=function(){return"".concat(this.name,"_").concat(this.requestIdCounter++)},e}();function s(e,t){return new Proxy({},{set:function(t,n,i){return e.set(n,i),!0},get:function(n,i){var o,r;return null!==(o=e.get(i))&&void 0!==o?o:e.set(i,null===(r=t.get)||void 0===r?void 0:r.call(t,n,i)).get(i)}})}t.EnvelopeBusMessageManager=a},7390:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(30927),t)},36729:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EnvelopeClient=void 0;var o=n(64169),r=n(7390),a=function(){function e(e,t){var n=this;this.bus=e,this.envelopeId=t,this.manager=new r.EnvelopeBusMessageManager((function(e){return n.send(e)}),"KogitoEnvelopeBus")}return Object.defineProperty(e.prototype,"channelApi",{get:function(){return this.manager.clientApi},enumerable:!1,configurable:!0}),e.prototype.associate=function(e,t){this.targetOrigin=e,this.associatedEnvelopeServerId=t},e.prototype.startListening=function(e){var t=this;this.eventListener||(this.manager.currentApiImpl=e,this.eventListener=function(n){return t.receive(n.data,e)},window.addEventListener("message",this.eventListener))},e.prototype.stopListening=function(){this.manager.currentApiImpl=void 0,window.removeEventListener("message",this.eventListener)},e.prototype.send=function(e){if(!this.targetOrigin||!this.associatedEnvelopeServerId)throw new Error("Tried to send message without associated Envelope Server set");this.bus.postMessage(i(i({},e),{targetEnvelopeServerId:this.associatedEnvelopeServerId,directSender:o.EnvelopeBusMessageDirectSender.ENVELOPE_CLIENT}),this.targetOrigin)},e.prototype.receive=function(e,t){e.directSender!==o.EnvelopeBusMessageDirectSender.ENVELOPE_CLIENT&&this.envelopeId===e.targetEnvelopeId&&(e.targetEnvelopeServerId?e.targetEnvelopeServerId&&e.purpose===o.EnvelopeBusMessagePurpose.NOTIFICATION&&this.manager.server.receive(e,{}):this.manager.server.receive(e,t))},e}();t.EnvelopeClient=a},88827:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(36729),t)},58463:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Envelope=void 0;var r=n(88827),a=n(89328),s=function(){function e(e,t,n){void 0===t&&(t={containerType:a.ContainerType.IFRAME}),void 0===n&&(n=new r.EnvelopeClient(e,t.containerType===a.ContainerType.DIV?t.envelopeId:void 0)),this.envelopeClient=n}return Object.defineProperty(e.prototype,"channelApi",{get:function(){return this.envelopeClient.channelApi},enumerable:!1,configurable:!0}),e.prototype.start=function(e,t,n){return i(this,void 0,void 0,(function(){var i;return o(this,(function(o){return i=n.create({viewDelegate:e,envelopeContext:t,envelopeClient:this.envelopeClient}),this.envelopeClient.startListening(i),[2,this.envelopeClient]}))}))},e}();t.Envelope=s},24542:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},63698:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContainerType=void 0,(n=t.ContainerType||(t.ContainerType={})).DIV="div",n.IFRAME="iframe"},89328:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(63698),t)},7918:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(58463),t),o(n(24542),t)},60320:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},77372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},93388:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubTutorialMode=t.DemoMode=t.AutoMode=t.BlockMode=void 0;t.BlockMode=function(e,t){this.userInteraction=e,this.allowedSelectors=t};t.AutoMode=function(e){this.delay=e};t.DemoMode=function(){};t.SubTutorialMode=function(e){this.label=e}},33439:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_RECT=void 0,t.DEFAULT_RECT={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}},63202:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NONE=t.Step=void 0;var i=n(40888);t.Step=function(e,t,n,i,o,r,a){this.mode=e,this.content=t,this.selector=n,this.highlightEnabled=i,this.navigatorEnabled=o,this.position=r,this.negativeReinforcementMessage=a},t.NONE={mode:new i.DemoMode}},91887:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tutorial=void 0;t.Tutorial=function(e,t){this.label=e,this.steps=t}},35154:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserInteraction=void 0;t.UserInteraction=function(e,t){this.action=e,this.target=t}},40888:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(93388),t),o(n(33439),t),o(n(63202),t),o(n(91887),t),o(n(35154),t),o(n(60320),t),o(n(77372),t)},42584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},43574:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18n=void 0;var i=n(50443),o=function(){function e(e,t,n){void 0===n&&(n=e.locale),this.defaults=e,this.dictionaries=t,this.initialLocale=n,this.locale=n,this.updateDictionary()}return e.prototype.setLocale=function(e){return this.locale=e,this.updateDictionary(),this},e.prototype.updateDictionary=function(){var e,t,n=null!==(t=null!==(e=this.dictionaries.get(this.locale))&&void 0!==e?e:this.dictionaries.get(this.locale.split("-").shift()))&&void 0!==t?t:{};return this.dictionary=(0,i.immutableDeepMerge)(this.defaults.dictionary,n),this},e.prototype.getCurrent=function(){return this.dictionary},e.prototype.getLocale=function(){return this.locale},e}();t.I18n=o},42178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapped=void 0,t.wrapped=function(e){return{name:e}}},50443:(e,t)=>{"use strict";function n(e,t){return Object.keys(t).forEach((function(o){var r=t[o];r&&(e[o]="string"==typeof r||"function"==typeof r?r:n(i(e[o]),r))})),e}function i(e){return Object.assign({},e)}Object.defineProperty(t,"__esModule",{value:!0}),t.immutableDeepMerge=void 0,t.immutableDeepMerge=function(e,t){return n(i(e),t)}},74118:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(43574),t),o(n(42584),t),o(n(42178),t)},98784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nService=void 0;var n=function(){function e(e){void 0===e&&(e=[]),this.onLocaleChangeSubscriptions=e}return e.prototype.executeOnLocaleChangeSubscriptions=function(e){this.onLocaleChangeSubscriptions.forEach((function(t){null==t||t(e)}))},e.prototype.subscribeToLocaleChange=function(e){return this.onLocaleChangeSubscriptions.push(e),e},e.prototype.unsubscribeToLocaleChange=function(e){var t=this.onLocaleChangeSubscriptions.indexOf(e);t>-1&&this.onLocaleChangeSubscriptions.splice(t,1)},e}();t.I18nService=n},59864:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(98784),t)},14746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98806:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.I18nDictionariesProvider=void 0;var r=n(61250),a=n(29901),s=n(74118);t.I18nDictionariesProvider=function(e){var t,n=o((0,a.useState)(null!==(t=e.initialLocale)&&void 0!==t?t:e.defaults.locale),2),l=n[0],c=n[1],d=(0,a.useMemo)((function(){return new s.I18n(e.defaults,e.dictionaries,l)}),[l,e.defaults,e.dictionaries]),u=(0,a.useCallback)((function(e){d.setLocale(e),c(e)}),[d]),h=(0,a.useMemo)((function(){return{locale:l,setLocale:u,i18n:d.getCurrent()}}),[d,l,u]);return(0,r.jsx)(e.ctx.Provider,i({value:h},{children:e.children}),void 0)}},44846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nHtml=void 0;var i=n(61250);t.I18nHtml=function(e){var t=e.children;return Array.isArray(t)&&(t=t.join("")),(0,i.jsx)("p",{style:{display:"inline"},dangerouslySetInnerHTML:{__html:t}},void 0)}},38920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nWrapped=void 0;var i=n(61250);t.I18nWrapped=function(e){return(0,i.jsx)(i.Fragment,{children:Object.values(e.children).map((function(t){var n;return"string"==typeof t||"number"==typeof t?t:null===(n=e.components)||void 0===n?void 0:n[t.name]}))},void 0)}},51404:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(14746),t),o(n(98806),t),o(n(44846),t),o(n(38920),t)},233:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultKeyboardShortcutsService=t.ModKeys=void 0;var s,l=n(27461);!function(e){e.CTRL="ctrl",e.META="meta",e.ALT="alt",e.SHIFT="shift"}(s=t.ModKeys||(t.ModKeys={}));var c=new Map([["AltLeft","alt"],["AltRight","alt"],["CtrlLeft","ctrl"],["CtrlRight","ctrl"],["MetaLeft","meta"],["MetaRight","meta"],["ShiftLeft","shift"],["ShiftRight","shift"]]),d=new Map([["/","Slash"],["esc","Escape"],["delete","Delete"],["backspace","Backspace"],["right","ArrowRight"],["left","ArrowLeft"],["up","ArrowUp"],["down","ArrowDown"],["a","KeyA"],["b","KeyB"],["c","KeyC"],["d","KeyD"],["e","KeyE"],["f","KeyF"],["g","KeyG"],["h","KeyH"],["i","KeyI"],["j","KeyJ"],["k","KeyK"],["l","KeyL"],["m","KeyM"],["n","KeyN"],["o","KeyO"],["p","KeyP"],["q","KeyQ"],["r","KeyR"],["s","KeyS"],["t","KeyT"],["u","KeyU"],["v","KeyV"],["w","KeyW"],["x","KeyX"],["y","KeyY"],["z","KeyZ"]]),u=["INPUT","TEXTAREA","SELECT","OPTION"],h=function(){function e(e){this.args=e,this.eventIdentifiers=1,this.keyBindings=new Map}return e.prototype.registerKeyDownThenUp=function(e,t,n,i,o){var r=this;console.debug("Registering shortcut (down/up) for ".concat(e," - ").concat(t,": ").concat(null==o?void 0:o.repeat));var a={combination:e,label:t,listener:function(t){var a,s=p(e,t,o);if(!s)return!0;if("keydown"===s.type){if(f(r.combinationKeySet(e),r.pressedKeySet(s)))return console.debug("Fired (down) [".concat(e,"]!")),n(s.target),!1}else if("keyup"===s.type&&(r.combinationKeySet(e).has(null!==(a=c.get(s.code))&&void 0!==a?a:"")||r.combinationKeySet(e).has(s.code)))return console.debug("Fired (up) [".concat(e,"]!")),i(s.target),!1;return!0},opts:o};return this.keyBindings.set(this.eventIdentifiers,a),this.keyBindingElement(a).addEventListener("keydown",a.listener),this.keyBindingElement(a).addEventListener("keyup",a.listener),this.eventIdentifiers++},e.prototype.registerKeyPress=function(e,t,n,i){var o=this;console.debug("Registering shortcut (press) for ".concat(e," - ").concat(t,": ").concat(null==i?void 0:i.repeat));var r={combination:e,label:t,listener:function(t){var r=p(e,t,i);return!r||!f(o.combinationKeySet(e),o.pressedKeySet(r))||(console.debug("Fired (press) [".concat(e,"]!")),n(r.target),!1)},opts:i};return this.keyBindings.set(this.eventIdentifiers,r),this.keyBindingElement(r).addEventListener("keydown",r.listener),this.eventIdentifiers++},e.prototype.registerKeyPressOnce=function(e,t,n){var a=this,s=this.registerKeyPress(e,"",(function(e){return o(a,void 0,void 0,(function(){return r(this,(function(n){return t(e),this.deregister(s),[2]}))}))}),n?i(i({},n),{hidden:!0}):n);return s},e.prototype.deregister=function(e){var t=this.keyBindings.get(e);t?(this.keyBindingElement(t).removeEventListener("keypress",null==t?void 0:t.listener),this.keyBindingElement(t).removeEventListener("keydown",null==t?void 0:t.listener),this.keyBindingElement(t).removeEventListener("keyup",null==t?void 0:t.listener),this.keyBindings.delete(e)):console.error("Unable to de-register keyboard shortcut with id ".concat(e," because it was not registered."))},e.prototype.keyBindingElement=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.opts)||void 0===t?void 0:t.element)&&void 0!==n?n:window},e.prototype.combinationKeySet=function(e){var t=e.split("+").map((function(e){return e.toLowerCase()})).map((function(e){var t;return null!==(t=d.get(e))&&void 0!==t?t:e}));return this.args.os===l.OperatingSystem.MACOS?new Set(t.map((function(e){return e===s.CTRL?s.META:e}))):new Set(t)},e.prototype.pressedKeySet=function(e){var t=new Set;return e.ctrlKey&&t.add(s.CTRL),e.metaKey&&t.add(s.META),e.altKey&&t.add(s.ALT),e.shiftKey&&t.add(s.SHIFT),-1===Array.from(c.keys()).indexOf(e.code)&&t.add(e.code),t},e.prototype.registered=function(){return Array.from(this.keyBindings.values())},e.prototype.isEnabled=function(){return!0},e}();function p(e,t,n){if(t instanceof CustomEvent&&u.includes(t.detail.channelOriginalTargetTagName))return console.debug("Ignoring execution (".concat(e,") because target is ").concat(t.detail.channelOriginalTargetTagName)),null;var i=t instanceof CustomEvent?new KeyboardEvent(t.detail.type,t.detail):t;return i.target instanceof Element&&u.includes(i.target.tagName)?(console.debug("Ignoring execution (".concat(e,") because target is ").concat(i.target.tagName)),null):i.repeat&&!(null==n?void 0:n.repeat)?null:i}function f(e,t){var n,i;if(e.size!==t.size)return!1;try{for(var o=a(e),r=o.next();!r.done;r=o.next()){var s=r.value;if(!t.has(s))return!1}}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return!0}t.DefaultKeyboardShortcutsService=h},80111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},33330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},21255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoOpKeyboardShortcutsService=void 0;var n=function(){function e(){}return e.prototype.registerKeyDownThenUp=function(e,t,n,i,o){return 0},e.prototype.registerKeyPress=function(e,t,n,i){return 0},e.prototype.registerKeyPressOnce=function(e,t,n){return 0},e.prototype.deregister=function(e){},e.prototype.registered=function(){return[]},e.prototype.isEnabled=function(){return!1},e}();t.NoOpKeyboardShortcutsService=n},80945:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(233),t),o(n(80111),t),o(n(33330),t),o(n(21255),t)},65804:(e,t,n)=>{var i=n(15313).Buffer;self,e.exports=(()=>{"use strict";var e={8206:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n\twhite-space: nowrap;\n\theight: 100%;\n}\n\n.monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\theight: 100%;\n\twidth: 100%;\n\talign-items: center;\n}\n\n.monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-action-bar .action-item {\n\tdisplay: block;\n\talign-items: center;\n\tjustify-content: center;\n\tcursor: pointer;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-action-bar .action-item .icon,\n.monaco-action-bar .action-item .codicon {\n\tdisplay: block;\n}\n\n.monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n\twidth: 16px;\n\theight: 16px;\n}\n\n.monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tpadding: 3px;\n\tborder-radius: 5px;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label::before,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-action-bar .action-item .action-label.separator {\n\twidth: 1px;\n\theight: 16px;\n\tmargin: 5px 4px !important;\n\tcursor: default;\n\tmin-width: 1px;\n\tpadding: 0;\n\tbackground-color: #bbb;\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item {\n\tdisplay: flex;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item > .action-label {\n\tmargin-right: 1px;\n}\n",""]);const r=o},4072:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-aria-container {\n\tposition: absolute; /* try to hide from window but not from screen readers */\n\tleft:-999em;\n}",""]);const r=o},656:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-text-button {\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\twidth: 100%;\n\tpadding: 4px;\n\ttext-align: center;\n\tcursor: pointer;\n\tjustify-content: center;\n\talign-items: center;\n}\n\n.monaco-text-button:focus {\n\toutline-offset: 2px !important;\n}\n\n.monaco-text-button:hover {\n\ttext-decoration: none !important;\n}\n\n.monaco-button.disabled:focus,\n.monaco-button.disabled {\n\topacity: 0.4 !important;\n\tcursor: default;\n}\n\n.monaco-text-button > .codicon {\n\tmargin: 0 0.2em;\n\tcolor: inherit !important;\n}\n\n.monaco-button-dropdown {\n\tdisplay: flex;\n\tcursor: pointer;\n}\n\n.monaco-button-dropdown > .monaco-dropdown-button {\n\tmargin-left: 1px;\n}\n\n.monaco-description-button {\n\tflex-direction: column;\n}\n\n.monaco-description-button .monaco-button-label {\n\tfont-weight: 500;\n}\n\n.monaco-description-button .monaco-button-description {\n\tfont-style: italic;\n}\n\n.monaco-description-button .monaco-button-label,\n.monaco-description-button .monaco-button-description\n{\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n}\n\n.monaco-description-button .monaco-button-label > .codicon,\n.monaco-description-button .monaco-button-description > .codicon\n{\n\tmargin: 0 0.2em;\n\tcolor: inherit !important;\n}\n",""]);const r=o},7454:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-custom-checkbox {\n\tmargin-left: 2px;\n\tfloat: left;\n\tcursor: pointer;\n\toverflow: hidden;\n\twidth: 20px;\n\theight: 20px;\n\tborder-radius: 3px;\n\tborder: 1px solid transparent;\n\tpadding: 1px;\n\tbox-sizing:\tborder-box;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-custom-checkbox:hover {\n\tbackground-color: var(--vscode-inputOption-hoverBackground);\n}\n\n.hc-black .monaco-custom-checkbox:hover {\n\tborder: 1px dashed var(--vscode-focusBorder);\n}\n\n.hc-black .monaco-custom-checkbox {\n\tbackground: none;\n}\n\n.hc-black .monaco-custom-checkbox:hover {\n\tbackground: none;\n}\n\n.monaco-custom-checkbox.monaco-simple-checkbox {\n\theight: 18px;\n\twidth: 18px;\n\tborder: 1px solid transparent;\n\tborder-radius: 3px;\n\tmargin-right: 9px;\n\tmargin-left: 0px;\n\tpadding: 0px;\n\topacity: 1;\n\tbackground-size: 16px !important;\n}\n\n/* hide check when unchecked */\n.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked)::before {\n\tvisibility: hidden;\n}\n",""]);const r=o},2813:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.codicon-wrench-subaction {\n\topacity: 0.5;\n}\n\n@keyframes codicon-spin {\n\t100% {\n\t\ttransform:rotate(360deg);\n\t}\n}\n\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin,\n.codicon-notebook-state-executing.codicon-modifier-spin {\n\t/* Use steps to throttle FPS to reduce CPU usage */\n\tanimation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n\topacity: 0.4;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading,\n.codicon-tree-item-loading::before {\n\tanimation-duration: 1s !important;\n\tanimation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n",""]);const r=o},4383:(e,t,n)=>{n.d(t,{Z:()=>d});var i=n(1034),o=n.n(i),r=n(7204),a=n.n(r),s=n(3556),l=o()((function(e){return e[1]})),c=a()(s.Z);l.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@font-face {\n\tfont-family: "codicon";\n\tfont-display: block;\n\tsrc: url('+c+") format(\"truetype\");\n}\n\n.codicon[class*='codicon-'] {\n\tfont: normal normal normal 16px/1 codicon;\n\tdisplay: inline-block;\n\ttext-decoration: none;\n\ttext-rendering: auto;\n\ttext-align: center;\n\ttext-transform: none;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n/* icon rules are dynamically created by the platform theme service (see iconsStyleSheet.ts) */\n",""]);const d=l},1942:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view {\n\tposition: absolute;\n\tz-index: 2500;\n}\n\n.context-view.fixed {\n\tall: initial;\n\tfont-family: inherit;\n\tfont-size: 13px;\n\tposition: fixed;\n\tz-index: 2500;\n\tcolor: inherit;\n}\n",""]);const r=o},4905:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-count-badge {\n\tpadding: 3px 6px;\n\tborder-radius: 11px;\n\tfont-size: 11px;\n\tmin-width: 18px;\n\tmin-height: 18px;\n\tline-height: 11px;\n\tfont-weight: normal;\n\ttext-align: center;\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n}\n\n.monaco-count-badge.long {\n\tpadding: 2px 3px;\n\tborder-radius: 2px;\n\tmin-height: auto;\n\tline-height: normal;\n}\n",""]);const r=o},3879:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-dropdown {\n\theight: 100%;\n\tpadding: 0;\n}\n\n.monaco-dropdown > .dropdown-label {\n\tcursor: pointer;\n\theight: 100%;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n.monaco-dropdown > .dropdown-label > .action-label.disabled {\n\tcursor: default;\n}\n\n.monaco-dropdown-with-primary {\n\tdisplay: flex !important;\n\tflex-direction: row;\n\tborder-radius: 5px;\n}\n\n.monaco-dropdown-with-primary > .action-container > .action-label {\n\tmargin-right: 0;\n}\n\n.monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n\tfont-size: 12px;\n\tpadding-left: 0px;\n\tpadding-right: 0px;\n\tline-height: 16px;\n\tmargin-left: -3px;\n}\n\n.monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n\tdisplay: block;\n\tbackground-size: 16px;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n}\n",""]);const r=o},9598:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- Find input ---------- */\n\n.monaco-findInput {\n\tposition: relative;\n}\n\n.monaco-findInput .monaco-inputbox {\n\tfont-size: 13px;\n\twidth: 100%;\n}\n\n.monaco-findInput > .controls {\n\tposition: absolute;\n\ttop: 3px;\n\tright: 2px;\n}\n\n.vs .monaco-findInput.disabled {\n\tbackground-color: #E1E1E1;\n}\n\n/* Theming */\n.vs-dark .monaco-findInput.disabled {\n\tbackground-color: #333;\n}\n\n/* Highlighting */\n.monaco-findInput.highlight-0 .controls {\n\tanimation: monaco-findInput-highlight-0 100ms linear 0s;\n}\n.monaco-findInput.highlight-1 .controls {\n\tanimation: monaco-findInput-highlight-1 100ms linear 0s;\n}\n.hc-black .monaco-findInput.highlight-0 .controls,\n.vs-dark .monaco-findInput.highlight-0 .controls {\n\tanimation: monaco-findInput-highlight-dark-0 100ms linear 0s;\n}\n.hc-black .monaco-findInput.highlight-1 .controls,\n.vs-dark .monaco-findInput.highlight-1 .controls {\n\tanimation: monaco-findInput-highlight-dark-1 100ms linear 0s;\n}\n\n@keyframes monaco-findInput-highlight-0 {\n\t0% { background: rgba(253, 255, 0, 0.8); }\n\t100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-1 {\n\t0% { background: rgba(253, 255, 0, 0.8); }\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n\t99% { background: transparent; }\n}\n\n@keyframes monaco-findInput-highlight-dark-0 {\n\t0% { background: rgba(255, 255, 255, 0.44); }\n\t100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-dark-1 {\n\t0% { background: rgba(255, 255, 255, 0.44); }\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n\t99% { background: transparent; }\n}",""]);const r=o},1165:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* ---------- Icon label ---------- */\n\n.monaco-icon-label {\n\tdisplay: flex; /* required for icons support :before rule */\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-icon-label::before {\n\n\t/* svg icons rendered as background image */\n\tbackground-size: 16px;\n\tbackground-position: left center;\n\tbackground-repeat: no-repeat;\n\tpadding-right: 6px;\n\twidth: 16px;\n\theight: 22px;\n\tline-height: inherit !important;\n\tdisplay: inline-block;\n\n\t/* fonts icons */\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n\tvertical-align: top;\n\n\tflex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */\n}\n\n.monaco-icon-label > .monaco-icon-label-container {\n\tmin-width: 0;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tflex: 1;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\n\tcolor: inherit;\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\n\tmargin: 0 2px;\n\topacity: 0.5;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n\topacity: .7;\n\tmargin-left: 0.5em;\n\tfont-size: 0.9em;\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{\n\twhite-space: nowrap\n}\n\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n\topacity: .95;\n}\n\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n\tfont-style: italic;\n}\n\n.monaco-icon-label.deprecated {\n\ttext-decoration: line-through;\n\topacity: 0.66;\n}\n\n/* make sure apply italic font style to decorations as well */\n.monaco-icon-label.italic::after {\n\tfont-style: italic;\n}\n\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n\ttext-decoration: line-through;\n}\n\n.monaco-icon-label::after {\n\topacity: 0.75;\n\tfont-size: 90%;\n\tfont-weight: 600;\n\tmargin: auto 16px 0 5px; /* https://github.com/microsoft/vscode/issues/113223 */\n\ttext-align: center;\n}\n\n/* make sure selection color wins when a label is being selected */\n.monaco-list:focus .selected .monaco-icon-label, /* list */\n.monaco-list:focus .selected .monaco-icon-label::after\n{\n\tcolor: inherit !important;\n}\n\n.monaco-list-row.focused.selected .label-description,\n.monaco-list-row.selected .label-description {\n\topacity: .8;\n}\n",""]);const r=o},9981:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-inputbox {\n\tposition: relative;\n\tdisplay: block;\n\tpadding: 0;\n\tbox-sizing:\tborder-box;\n\n\t/* Customizable */\n\tfont-size: inherit;\n}\n\n.monaco-inputbox.idle {\n\tborder: 1px solid transparent;\n}\n\n.monaco-inputbox > .ibwrapper > .input,\n.monaco-inputbox > .ibwrapper > .mirror {\n\n\t/* Customizable */\n\tpadding: 4px;\n}\n\n.monaco-inputbox > .ibwrapper {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-inputbox > .ibwrapper > .input {\n\tdisplay: inline-block;\n\tbox-sizing:\tborder-box;\n\twidth: 100%;\n\theight: 100%;\n\tline-height: inherit;\n\tborder: none;\n\tfont-family: inherit;\n\tfont-size: inherit;\n\tresize: none;\n\tcolor: inherit;\n}\n\n.monaco-inputbox > .ibwrapper > input {\n\ttext-overflow: ellipsis;\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input {\n\tdisplay: block;\n\t-ms-overflow-style: none; /* IE 10+: hide scrollbars */\n\tscrollbar-width: none; /* Firefox: hide scrollbars */\n\toutline: none;\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {\n\tdisplay: none; /* Chrome + Safari: hide scrollbar */\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input.empty {\n\twhite-space: nowrap;\n}\n\n.monaco-inputbox > .ibwrapper > .mirror {\n\tposition: absolute;\n\tdisplay: inline-block;\n\twidth: 100%;\n\ttop: 0;\n\tleft: 0;\n\tbox-sizing: border-box;\n\twhite-space: pre-wrap;\n\tvisibility: hidden;\n\tword-wrap: break-word;\n}\n\n/* Context view */\n\n.monaco-inputbox-container {\n\ttext-align: right;\n}\n\n.monaco-inputbox-container .monaco-inputbox-message {\n\tdisplay: inline-block;\n\toverflow: hidden;\n\ttext-align: left;\n\twidth: 100%;\n\tbox-sizing:\tborder-box;\n\tpadding: 0.4em;\n\tfont-size: 12px;\n\tline-height: 17px;\n\tmargin-top: -1px;\n\tword-wrap: break-word;\n}\n\n/* Action bar support */\n.monaco-inputbox .monaco-action-bar {\n\tposition: absolute;\n\tright: 2px;\n\ttop: 4px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item {\n\tmargin-left: 2px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\n\tbackground-repeat: no-repeat;\n\twidth: 16px;\n\theight: 16px;\n}\n",""]);const r=o},2458:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-keybinding {\n\tdisplay: flex;\n\talign-items: center;\n\tline-height: 10px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n\tdisplay: inline-block;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-radius: 3px;\n\tvertical-align: middle;\n\tfont-size: 11px;\n\tpadding: 3px 5px;\n\tmargin: 0 2px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:first-child {\n\tmargin-left: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:last-child {\n\tmargin-right: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-separator {\n\tdisplay: inline-block;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\n\twidth: 6px;\n}\n",""]);const r=o},4549:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list {\n\tposition: relative;\n\theight: 100%;\n\twidth: 100%;\n\twhite-space: nowrap;\n}\n\n.monaco-list.mouse-support {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-list > .monaco-scrollable-element {\n\theight: 100%;\n}\n\n.monaco-list-rows {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-list.horizontal-scrolling .monaco-list-rows {\n\twidth: auto;\n\tmin-width: 100%;\n}\n\n.monaco-list-row {\n\tposition: absolute;\n\tbox-sizing: border-box;\n\toverflow: hidden;\n\twidth: 100%;\n}\n\n.monaco-list.mouse-support .monaco-list-row {\n\tcursor: pointer;\n\ttouch-action: none;\n}\n\n/* for OS X ballistic scrolling */\n.monaco-list-row.scrolling {\n\tdisplay: none !important;\n}\n\n/* Focus */\n.monaco-list.element-focused,\n.monaco-list.selection-single,\n.monaco-list.selection-multiple {\n\toutline: 0 !important;\n}\n\n/* Dnd */\n.monaco-drag-image {\n\tdisplay: inline-block;\n\tpadding: 1px 7px;\n\tborder-radius: 10px;\n\tfont-size: 12px;\n\tposition: absolute;\n\tz-index: 1000;\n}\n\n/* Type filter */\n\n.monaco-list-type-filter {\n\tdisplay: flex;\n\talign-items: center;\n\tposition: absolute;\n\tborder-radius: 2px;\n\tpadding: 0px 3px;\n\tmax-width: calc(100% - 10px);\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\ttext-align: right;\n\tbox-sizing: border-box;\n\tcursor: all-scroll;\n\tfont-size: 13px;\n\tline-height: 18px;\n\theight: 20px;\n\tz-index: 1;\n\ttop: 4px;\n}\n\n.monaco-list-type-filter.dragging {\n\ttransition: top 0.2s, left 0.2s;\n}\n\n.monaco-list-type-filter.ne {\n\tright: 4px;\n}\n\n.monaco-list-type-filter.nw {\n\tleft: 4px;\n}\n\n.monaco-list-type-filter > .controls {\n\tdisplay: flex;\n\talign-items: center;\n\tbox-sizing: border-box;\n\ttransition: width 0.2s;\n\twidth: 0;\n}\n\n.monaco-list-type-filter.dragging > .controls,\n.monaco-list-type-filter:hover > .controls {\n\twidth: 36px;\n}\n\n.monaco-list-type-filter > .controls > * {\n\tborder: none;\n\tbox-sizing: border-box;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n\tbackground: none;\n\twidth: 16px;\n\theight: 16px;\n\tflex-shrink: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tcursor: pointer;\n}\n\n.monaco-list-type-filter > .controls > .filter {\n\tmargin-left: 4px;\n}\n\n.monaco-list-type-filter-message {\n\tposition: absolute;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\theight: 100%;\n\ttop: 0;\n\tleft: 0;\n\tpadding: 40px 1em 1em 1em;\n\ttext-align: center;\n\twhite-space: normal;\n\topacity: 0.7;\n\tpointer-events: none;\n}\n\n.monaco-list-type-filter-message:empty {\n\tdisplay: none;\n}\n\n/* Electron */\n\n.monaco-list-type-filter {\n\tcursor: grab;\n}\n\n.monaco-list-type-filter.dragging {\n\tcursor: grabbing;\n}\n",""]);const r=o},2646:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-mouse-cursor-text {\n\tcursor: text;\n}\n",""]);const r=o},4388:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-progress-container {\n\twidth: 100%;\n\theight: 5px;\n\toverflow: hidden; /* keep progress bit in bounds */\n}\n\n.monaco-progress-container .progress-bit {\n\twidth: 2%;\n\theight: 5px;\n\tposition: absolute;\n\tleft: 0;\n\tdisplay: none;\n}\n\n.monaco-progress-container.active .progress-bit {\n\tdisplay: inherit;\n}\n\n.monaco-progress-container.discrete .progress-bit {\n\tleft: 0;\n\ttransition: width 100ms linear;\n}\n\n.monaco-progress-container.discrete.done .progress-bit {\n\twidth: 100%;\n}\n\n.monaco-progress-container.infinite .progress-bit {\n\tanimation-name: progress;\n\tanimation-duration: 4s;\n\tanimation-iteration-count: infinite;\n\ttransform: translate3d(0px, 0px, 0px);\n\tanimation-timing-function: linear;\n}\n\n.monaco-progress-container.infinite.infinite-long-running .progress-bit {\n\t/*\n\t\tThe more smooth `linear` timing function can cause\n\t\thigher GPU consumption as indicated in\n\t\thttps://github.com/microsoft/vscode/issues/97900 &\n\t\thttps://github.com/microsoft/vscode/issues/138396\n\t*/\n\tanimation-timing-function: steps(100);\n}\n\n/**\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\n * its relative size to the parent container:\n * parent width: 5000%\n * bit width: 100%\n * translateX should be as follow:\n * 50%: 5000% * 50% - 50% (set to center) = 2450%\n * 100%: 5000% * 100% - 100% (do not overflow) = 4900%\n */\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } }\n",""]);const r=o},1685:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n:root {\n\t--sash-size: 4px;\n}\n\n.monaco-sash {\n\tposition: absolute;\n\tz-index: 35;\n\ttouch-action: none;\n}\n\n.monaco-sash.disabled {\n\tpointer-events: none;\n}\n\n.monaco-sash.mac.vertical {\n\tcursor: col-resize;\n}\n\n.monaco-sash.vertical.minimum {\n\tcursor: e-resize;\n}\n\n.monaco-sash.vertical.maximum {\n\tcursor: w-resize;\n}\n\n.monaco-sash.mac.horizontal {\n\tcursor: row-resize;\n}\n\n.monaco-sash.horizontal.minimum {\n\tcursor: s-resize;\n}\n\n.monaco-sash.horizontal.maximum {\n\tcursor: n-resize;\n}\n\n.monaco-sash.disabled {\n\tcursor: default !important;\n\tpointer-events: none !important;\n}\n\n.monaco-sash.vertical {\n\tcursor: ew-resize;\n\ttop: 0;\n\twidth: var(--sash-size);\n\theight: 100%;\n}\n\n.monaco-sash.horizontal {\n\tcursor: ns-resize;\n\tleft: 0;\n\twidth: 100%;\n\theight: var(--sash-size);\n}\n\n.monaco-sash:not(.disabled) > .orthogonal-drag-handle {\n\tcontent: \" \";\n\theight: calc(var(--sash-size) * 2);\n\twidth: calc(var(--sash-size) * 2);\n\tz-index: 100;\n\tdisplay: block;\n\tcursor: all-scroll;\n\tposition: absolute;\n}\n\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)\n\t> .orthogonal-drag-handle.start,\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)\n\t> .orthogonal-drag-handle.end {\n\tcursor: nwse-resize;\n}\n\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)\n\t> .orthogonal-drag-handle.end,\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)\n\t> .orthogonal-drag-handle.start {\n\tcursor: nesw-resize;\n}\n\n.monaco-sash.vertical > .orthogonal-drag-handle.start {\n\tleft: calc(var(--sash-size) * -0.5);\n\ttop: calc(var(--sash-size) * -1);\n}\n.monaco-sash.vertical > .orthogonal-drag-handle.end {\n\tleft: calc(var(--sash-size) * -0.5);\n\tbottom: calc(var(--sash-size) * -1);\n}\n.monaco-sash.horizontal > .orthogonal-drag-handle.start {\n\ttop: calc(var(--sash-size) * -0.5);\n\tleft: calc(var(--sash-size) * -1);\n}\n.monaco-sash.horizontal > .orthogonal-drag-handle.end {\n\ttop: calc(var(--sash-size) * -0.5);\n\tright: calc(var(--sash-size) * -1);\n}\n\n.monaco-sash:before {\n\tcontent: '';\n\tpointer-events: none;\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n\ttransition: background-color 0.1s ease-out;\n\tbackground: transparent;\n}\n\n.monaco-sash.vertical:before {\n\twidth: var(--sash-hover-size);\n\tleft: calc(50% - (var(--sash-hover-size) / 2));\n}\n\n.monaco-sash.horizontal:before {\n\theight: var(--sash-hover-size);\n\ttop: calc(50% - (var(--sash-hover-size) / 2));\n}\n\n.pointer-events-disabled {\n\tpointer-events: none !important;\n}\n\n/** Debug **/\n\n.monaco-sash.debug {\n\tbackground: cyan;\n}\n\n.monaco-sash.debug.disabled {\n\tbackground: rgba(0, 255, 255, 0.2);\n}\n\n.monaco-sash.debug:not(.disabled) > .orthogonal-drag-handle {\n\tbackground: red;\n}\n",""]);const r=o},8791:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n",""]);const r=o},4276:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-split-view2 {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-split-view2 > .sash-container {\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n\tpointer-events: none;\n}\n\n.monaco-split-view2 > .sash-container > .monaco-sash {\n\tpointer-events: initial;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element {\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container {\n\twidth: 100%;\n\theight: 100%;\n\twhite-space: nowrap;\n\tposition: relative;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view {\n\twhite-space: initial;\n\tposition: absolute;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view:not(.visible) {\n\tdisplay: none;\n}\n\n.monaco-split-view2.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view {\n\twidth: 100%;\n}\n\n.monaco-split-view2.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view {\n\theight: 100%;\n}\n\n.monaco-split-view2.separator-border > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n\tcontent: ' ';\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tz-index: 5;\n\tpointer-events: none;\n\tbackground-color: var(--separator-border);\n}\n\n.monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n\theight: 100%;\n\twidth: 1px;\n}\n\n.monaco-split-view2.separator-border.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n\theight: 1px;\n\twidth: 100%;\n}\n",""]);const r=o},5735:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-table {\n\tdisplay: flex;\n\tflex-direction: column;\n\tposition: relative;\n\theight: 100%;\n\twidth: 100%;\n\twhite-space: nowrap;\n}\n\n.monaco-table > .monaco-split-view2 {\n\tborder-bottom: 1px solid transparent;\n}\n\n.monaco-table > .monaco-list {\n\tflex: 1;\n}\n\n.monaco-table-tr {\n\tdisplay: flex;\n\theight: 100%;\n}\n\n.monaco-table-th {\n\twidth: 100%;\n\theight: 100%;\n\tfont-weight: bold;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-table-th,\n.monaco-table-td {\n\tbox-sizing: border-box;\n\tflex-shrink: 0;\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n}\n\n.monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n\tcontent: "";\n\tposition: absolute;\n\tleft: calc(var(--sash-size) / 2);\n\twidth: 0;\n\tborder-left: 1px solid transparent;\n}\n\n.monaco-table > .monaco-split-view2,\n.monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n\ttransition: border-color 0.2s ease-out;\n}\n/*\n.monaco-table:hover > .monaco-split-view2,\n.monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\tborder-color: rgba(204, 204, 204, 0.2);\n} */\n',""]);const r=o},1520:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-tl-row {\n\tdisplay: flex;\n\theight: 100%;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-tl-indent {\n\theight: 100%;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 16px;\n\tpointer-events: none;\n}\n\n.hide-arrows .monaco-tl-indent {\n\tleft: 12px;\n}\n\n.monaco-tl-indent > .indent-guide {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\theight: 100%;\n\tborder-left: 1px solid transparent;\n}\n\n.monaco-tl-indent > .indent-guide {\n\ttransition: border-color 0.1s linear;\n}\n\n.monaco-tl-twistie,\n.monaco-tl-contents {\n\theight: 100%;\n}\n\n.monaco-tl-twistie {\n\tfont-size: 10px;\n\ttext-align: right;\n\tpadding-right: 6px;\n\tflex-shrink: 0;\n\twidth: 16px;\n\tdisplay: flex !important;\n\talign-items: center;\n\tjustify-content: center;\n\ttransform: translateX(3px);\n}\n\n.monaco-tl-contents {\n\tflex: 1;\n\toverflow: hidden;\n}\n\n.monaco-tl-twistie::before {\n\tborder-radius: 20px;\n}\n\n.monaco-tl-twistie.collapsed::before {\n\ttransform: rotate(-90deg);\n}\n\n.monaco-tl-twistie.codicon-tree-item-loading::before {\n\t/* Use steps to throttle FPS to reduce CPU usage */\n\tanimation: codicon-spin 1.25s steps(30) infinite;\n}\n",""]);const r=o},5707:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n\tposition: absolute;\n\twidth: 600px;\n\tz-index: 2000;\n\tpadding: 0 1px 1px 1px;\n\tleft: 50%;\n\tmargin-left: -300px;\n}\n\n.quick-input-titlebar {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-left-action-bar {\n\tdisplay: flex;\n\tmargin-left: 4px;\n\tflex: 1;\n}\n\n.quick-input-title {\n\tpadding: 3px 0px;\n\ttext-align: center;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.quick-input-right-action-bar {\n\tdisplay: flex;\n\tmargin-right: 4px;\n\tflex: 1;\n}\n\n.quick-input-right-action-bar > .actions-container {\n\tjustify-content: flex-end;\n}\n\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\n\tbackground-position: center;\n\tbackground-repeat: no-repeat;\n\tpadding: 2px;\n}\n\n.quick-input-description {\n\tmargin: 6px;\n}\n\n.quick-input-header .quick-input-description {\n\tmargin: 4px 2px;\n}\n\n.quick-input-header {\n\tdisplay: flex;\n\tpadding: 6px 6px 0px 6px;\n\tmargin-bottom: -2px;\n}\n\n.quick-input-widget.hidden-input .quick-input-header {\n\t/* reduce margins and paddings when input box hidden */\n\tpadding: 0;\n\tmargin-bottom: 0;\n}\n\n.quick-input-and-message {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tmin-width: 0;\n\tposition: relative;\n}\n\n.quick-input-check-all {\n\talign-self: center;\n\tmargin: 0;\n}\n\n.quick-input-filter {\n\tflex-grow: 1;\n\tdisplay: flex;\n\tposition: relative;\n}\n\n.quick-input-box {\n\tflex-grow: 1;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-box,\n.quick-input-widget.show-checkboxes .quick-input-message {\n\tmargin-left: 5px;\n}\n\n.quick-input-visible-count {\n\tposition: absolute;\n\tleft: -10000px;\n}\n\n.quick-input-count {\n\talign-self: center;\n\tposition: absolute;\n\tright: 4px;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-count .monaco-count-badge {\n\tvertical-align: middle;\n\tpadding: 2px 4px;\n\tborder-radius: 2px;\n\tmin-height: auto;\n\tline-height: normal;\n}\n\n.quick-input-action {\n\tmargin-left: 6px;\n}\n\n.quick-input-action .monaco-text-button {\n\tfont-size: 11px;\n\tpadding: 0 6px;\n\tdisplay: flex;\n\theight: 27.5px;\n\talign-items: center;\n}\n\n.quick-input-message {\n\tmargin-top: -1px;\n\tpadding: 5px;\n\toverflow-wrap: break-word;\n}\n\n.quick-input-message > .codicon {\n\tmargin: 0 0.2em;\n\tvertical-align: text-bottom;\n}\n\n.quick-input-progress.monaco-progress-container {\n\tposition: relative;\n}\n\n.quick-input-progress.monaco-progress-container,\n.quick-input-progress.monaco-progress-container .progress-bit {\n\theight: 2px;\n}\n\n.quick-input-list {\n\tline-height: 22px;\n\tmargin-top: 6px;\n}\n\n.quick-input-widget.hidden-input .quick-input-list {\n\tmargin-top: 0; /* reduce margins when input box hidden */\n}\n\n.quick-input-list .monaco-list {\n\toverflow: hidden;\n\tmax-height: calc(20 * 22px);\n}\n\n.quick-input-list .quick-input-list-entry {\n\tbox-sizing: border-box;\n\toverflow: hidden;\n\tdisplay: flex;\n\theight: 100%;\n\tpadding: 0 6px;\n}\n\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\n\tborder-top-width: 1px;\n\tborder-top-style: solid;\n}\n\n.quick-input-list .monaco-list-row[data-index=\"0\"] .quick-input-list-entry.quick-input-list-separator-border {\n\tborder-top-style: none;\n}\n\n.quick-input-list .quick-input-list-label {\n\toverflow: hidden;\n\tdisplay: flex;\n\theight: 100%;\n\tflex: 1;\n}\n\n.quick-input-list .quick-input-list-checkbox {\n\talign-self: center;\n\tmargin: 0;\n}\n\n.quick-input-list .quick-input-list-rows {\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tdisplay: flex;\n\tflex-direction: column;\n\theight: 100%;\n\tflex: 1;\n\tmargin-left: 5px;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\n\tmargin-left: 10px;\n}\n\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\n\tdisplay: none;\n}\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\n\tdisplay: inline;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\n\tflex: 1; /* make sure the icon label grows within the row */\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\n\tvertical-align: text-bottom;\n}\n\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label span {\n\topacity: 1;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\n\tmargin-right: 8px; /* separate from the separator label or scrollbar if any */\n}\n\n.quick-input-list .quick-input-list-label-meta {\n\topacity: 0.7;\n\tline-height: normal;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.quick-input-list .monaco-highlighted-label .highlight {\n\tfont-weight: bold;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\n\tmargin-right: 8px; /* separate from keybindings or actions */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tdisplay: flex;\n\tflex: 0;\n\toverflow: visible;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\n\t/*\n\t * By default, actions in the quick input action bar are hidden\n\t * until hovered over them or selected.\n\t */\n\tdisplay: none;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n\tmargin-right: 4px;\n\tpadding: 0px 2px 2px 2px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tmargin-top: 1px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tmargin-right: 4px; /* separate from scrollbar */\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\n\tdisplay: flex;\n}\n\n/* focused items in quick pick */\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator {\n\tcolor: inherit\n}\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key {\n\tbackground: none;\n}\n",""]);const r=o},2308:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inputarea {\n\tmin-width: 0;\n\tmin-height: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tposition: absolute;\n\toutline: none !important;\n\tresize: none;\n\tborder: none;\n\toverflow: hidden;\n\tcolor: transparent;\n\tbackground-color: transparent;\n}\n/*.monaco-editor .inputarea {\n\tposition: fixed !important;\n\twidth: 800px !important;\n\theight: 500px !important;\n\ttop: initial !important;\n\tleft: initial !important;\n\tbottom: 0 !important;\n\tright: 0 !important;\n\tcolor: black !important;\n\tbackground: white !important;\n\tline-height: 15px !important;\n\tfont-size: 14px !important;\n}*/\n.monaco-editor .inputarea.ime-input {\n\tz-index: 10;\n}\n",""]);const r=o},7256:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-overlays .current-line {\n\tdisplay: block;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tbox-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line {\n\tdisplay: block;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tbox-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\n\tborder-right: 0;\n}\n",""]);const r=o},7453:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcdr = core decorations rendering (div)\n*/\n.monaco-editor .lines-content .cdr {\n\tposition: absolute;\n}",""]);const r=o},5936:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .glyph-margin {\n\tposition: absolute;\n\ttop: 0;\n}\n\n/*\n\tKeeping name short for faster parsing.\n\tcgmr = core glyph margin rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cgmr {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n",""]);const r=o},294:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lines-content .core-guide {\n\tposition: absolute;\n\tbox-sizing: border-box;\n}\n",""]);const r=o},3233:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .line-numbers {\n\tfont-variant-numeric: tabular-nums;\n\tposition: absolute;\n\ttext-align: right;\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tbox-sizing: border-box;\n\tcursor: default;\n\theight: 100%;\n}\n\n.monaco-editor .relative-current-line-number {\n\ttext-align: left;\n\tdisplay: inline-block;\n\twidth: 100%;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\n\tmargin-top: 1px;\n}\n",""]);const r=o},1262:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Uncomment to see lines flashing when they're painted */\n/*.monaco-editor .view-lines > .view-line {\n\tbackground-color: none;\n\tanimation-name: flash-background;\n\tanimation-duration: 800ms;\n}\n@keyframes flash-background {\n\t0% { background-color: lightgreen; }\n\t100% { background-color: none }\n}*/\n\n.mtkcontrol {\n\tcolor: rgb(255, 255, 255) !important;\n\tbackground: rgb(150, 0, 0) !important;\n}\n\n.monaco-editor.no-user-select .lines-content,\n.monaco-editor.no-user-select .view-line,\n.monaco-editor.no-user-select .view-lines {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-editor .view-lines {\n\twhite-space: nowrap;\n}\n\n.monaco-editor .view-line {\n\tposition: absolute;\n\twidth: 100%;\n}\n\n.monaco-editor .mtkz {\n\tdisplay: inline-block;\n}\n\n/* TODO@tokenization bootstrap fix */\n/*.monaco-editor .view-line > span > span {\n\tfloat: none;\n\tmin-height: inherit;\n\tmargin-left: inherit;\n}*/\n",""]);const r=o},5684:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .lines-decorations {\n\tposition: absolute;\n\ttop: 0;\n\tbackground: white;\n}\n\n/*\n\tKeeping name short for faster parsing.\n\tcldr = core lines decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cldr {\n\tposition: absolute;\n\theight: 100%;\n}",""]);const r=o},9548:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcmdr = core margin decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cmdr {\n\tposition: absolute;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n}",""]);const r=o},9775:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* START cover the case that slider is visible on mouseover */\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\n\topacity: 0;\n\ttransition: opacity 100ms linear;\n}\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\n\topacity: 1;\n}\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\n\topacity: 1;\n}\n/* END cover the case that slider is visible on mouseover */\n\n.monaco-editor .minimap-shadow-hidden {\n\tposition: absolute;\n\twidth: 0;\n}\n.monaco-editor .minimap-shadow-visible {\n\tposition: absolute;\n\tleft: -6px;\n\twidth: 6px;\n}\n.monaco-editor.no-minimap-shadow .minimap-shadow-visible {\n\tposition: absolute;\n\tleft: -1px;\n\twidth: 1px;\n}\n",""]);const r=o},5366:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .overlayWidgets {\n\tposition: absolute;\n\ttop: 0;\n\tleft:0;\n}",""]);const r=o},8492:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-ruler {\n\tposition: absolute;\n\ttop: 0;\n}",""]);const r=o},2019:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .scroll-decoration {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\theight: 6px;\n}",""]);const r=o},5371:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcslr = core selections layer rendering (div)\n*/\n.monaco-editor .lines-content .cslr {\n\tposition: absolute;\n}\n\n.monaco-editor\t\t\t.top-left-radius\t\t{ border-top-left-radius: 3px; }\n.monaco-editor\t\t\t.bottom-left-radius\t\t{ border-bottom-left-radius: 3px; }\n.monaco-editor\t\t\t.top-right-radius\t\t{ border-top-right-radius: 3px; }\n.monaco-editor\t\t\t.bottom-right-radius\t{ border-bottom-right-radius: 3px; }\n\n.monaco-editor.hc-black .top-left-radius\t\t{ border-top-left-radius: 0; }\n.monaco-editor.hc-black .bottom-left-radius\t\t{ border-bottom-left-radius: 0; }\n.monaco-editor.hc-black .top-right-radius\t\t{ border-top-right-radius: 0; }\n.monaco-editor.hc-black .bottom-right-radius\t{ border-bottom-right-radius: 0; }\n",""]);const r=o},8236:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .cursors-layer {\n\tposition: absolute;\n\ttop: 0;\n}\n\n.monaco-editor .cursors-layer > .cursor {\n\tposition: absolute;\n\toverflow: hidden;\n}\n\n/* -- smooth-caret-animation -- */\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\n\ttransition: all 80ms;\n}\n\n/* -- block-outline-style -- */\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\n\tbox-sizing: border-box;\n\tbackground: transparent !important;\n\tborder-style: solid;\n\tborder-width: 1px;\n}\n\n/* -- underline-style -- */\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\n\tborder-bottom-width: 2px;\n\tborder-bottom-style: solid;\n\tbackground: transparent !important;\n\tbox-sizing: border-box;\n}\n\n/* -- underline-thin-style -- */\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tbackground: transparent !important;\n\tbox-sizing: border-box;\n}\n\n@keyframes monaco-cursor-smooth {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t60%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes monaco-cursor-phase {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t90%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes monaco-cursor-expand {\n\t0%,\n\t20% {\n\t\ttransform: scaleY(1);\n\t}\n\t80%,\n\t100% {\n\t\ttransform: scaleY(0);\n\t}\n}\n\n.cursor-smooth {\n\tanimation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n\tanimation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-expand > .cursor {\n\tanimation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n}\n",""]);const r=o},6983:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- DiffEditor ---------- */\n\n.monaco-diff-editor .diffOverview {\n\tz-index: 9;\n}\n\n.monaco-diff-editor .diffOverview .diffViewport {\n\tz-index: 10;\n}\n\n/* colors not externalized: using transparancy on background */\n.monaco-diff-editor.vs\t\t\t.diffOverview { background: rgba(0, 0, 0, 0.03); }\n.monaco-diff-editor.vs-dark\t\t.diffOverview { background: rgba(255, 255, 255, 0.01); }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs\t\t.scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark\t.scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black\t.scrollbar { background: none; }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\n\tz-index: 10;\n}\n.modified-in-monaco-diff-editor\t\t\t\t.slider.active { background: rgba(171, 171, 171, .4); }\n.modified-in-monaco-diff-editor.hc-black\t.slider.active { background: none; }\n\n/* ---------- Diff ---------- */\n\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign,\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n\tfont-size: 11px !important;\n\topacity: 0.7 !important;\n\tdisplay: flex !important;\n\talign-items: center;\n}\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign {\n\topacity: 1;\n}\n\n.monaco-editor .inline-deleted-margin-view-zone {\n\ttext-align: right;\n}\n.monaco-editor .inline-added-margin-view-zone {\n\ttext-align: right;\n}\n\n/* ---------- Inline Diff ---------- */\n\n.monaco-editor .view-zones .view-lines .view-line span {\n\tdisplay: inline-block;\n}\n\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\n\tcursor: pointer;\n}\n",""]);const r=o},8683:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-diff-editor .diff-review-line-number {\n\ttext-align: right;\n\tdisplay: inline-block;\n}\n\n.monaco-diff-editor .diff-review {\n\tposition: absolute;\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n.monaco-diff-editor .diff-review-summary {\n\tpadding-left: 10px;\n}\n\n.monaco-diff-editor .diff-review-shadow {\n\tposition: absolute;\n}\n\n.monaco-diff-editor .diff-review-row {\n\twhite-space: pre;\n}\n\n.monaco-diff-editor .diff-review-table {\n\tdisplay: table;\n\tmin-width: 100%;\n}\n\n.monaco-diff-editor .diff-review-row {\n\tdisplay: table-row;\n\twidth: 100%;\n}\n\n.monaco-diff-editor .diff-review-spacer {\n\tdisplay: inline-block;\n\twidth: 10px;\n\tvertical-align: middle;\n}\n\n.monaco-diff-editor .diff-review-spacer > .codicon {\n\tfont-size: 9px !important;\n}\n\n.monaco-diff-editor .diff-review-actions {\n\tdisplay: inline-block;\n\tposition: absolute;\n\tright: 10px;\n\ttop: 2px;\n}\n\n.monaco-diff-editor .diff-review-actions .action-label {\n\twidth: 16px;\n\theight: 16px;\n\tmargin: 2px 0;\n}\n",""]);const r=o},3850:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -------------------- IE10 remove auto clear button -------------------- */\n\n::-ms-clear {\n\tdisplay: none;\n}\n\n/* All widgets */\n/* I am not a big fan of this rule */\n.monaco-editor .editor-widget input {\n\tcolor: inherit;\n}\n\n/* -------------------- Editor -------------------- */\n\n.monaco-editor {\n\tposition: relative;\n\toverflow: visible;\n\t-webkit-text-size-adjust: 100%;\n}\n\n/* -------------------- Misc -------------------- */\n\n.monaco-editor .overflow-guard {\n\tposition: relative;\n\toverflow: hidden;\n}\n\n.monaco-editor .view-overlays {\n\tposition: absolute;\n\ttop: 0;\n}\n\n/*\n.monaco-editor .auto-closed-character {\n\topacity: 0.3;\n}\n*/\n",""]);const r=o},5501:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .snippet-placeholder {\n\tmin-width: 2px;\n\toutline-style: solid;\n\toutline-width: 1px;\n\tbackground-color: var(--vscode-editor-snippetTabstopHighlightBackground, transparent);\n\toutline-color: var(--vscode-editor-snippetTabstopHighlightBorder, transparent);\n}\n\n.monaco-editor .finish-snippet-placeholder {\n\toutline-style: solid;\n\toutline-width: 1px;\n\tbackground-color: var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);\n\toutline-color: var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent);\n}\n",""]);const r=o},9416:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Suggest widget*/\n\n.monaco-editor .suggest-widget {\n\twidth: 430px;\n\tz-index: 40;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.monaco-editor .suggest-widget.message {\n\tflex-direction: row;\n\talign-items: center;\n}\n\n.monaco-editor .suggest-widget,\n.monaco-editor .suggest-details {\n\tflex: 0 1 auto;\n\twidth: 100%;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-color: var(--vscode-editorSuggestWidget-border);\n\tbackground-color: var(--vscode-editorSuggestWidget-background);\n}\n\n.monaco-editor.hc-black .suggest-widget,\n.monaco-editor.hc-black .suggest-details {\n\tborder-width: 2px;\n}\n\n/* Styles for status bar part */\n\n\n.monaco-editor .suggest-widget .suggest-status-bar {\n\tbox-sizing: border-box;\n\tdisplay: none;\n\tflex-flow: row nowrap;\n\tjustify-content: space-between;\n\twidth: 100%;\n\tfont-size: 80%;\n\tpadding: 0 4px 0 4px;\n\tborder-top: 1px solid var(--vscode-editorSuggestWidget-border);\n\toverflow: hidden;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\n\tdisplay: flex;\n}\n\n.monaco-editor .suggest-widget .suggest-status-bar .left {\n\tpadding-right: 8px;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\n\tcolor: var(--vscode-editorSuggestWidgetStatus-foreground);\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\n\tmargin-right: 0;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\n\tcontent: ', ';\n\tmargin-right: 0.3em;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {\n\twidth: 100%;\n}\n\n/* Styles for Message element for when widget is loading or is empty */\n\n.monaco-editor .suggest-widget>.message {\n\tpadding-left: 22px;\n}\n\n/** Styles for the list element **/\n\n.monaco-editor .suggest-widget>.tree {\n\theight: 100%;\n\twidth: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n}\n\n/** Styles for each row in the list element **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\n\tdisplay: flex;\n\t-mox-box-sizing: border-box;\n\tbox-sizing: border-box;\n\tpadding-right: 10px;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 2px 2px;\n\twhite-space: nowrap;\n\tcursor: pointer;\n\ttouch-action: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused {\n\tcolor: var(--vscode-editorSuggestWidget-selectedForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon {\n\tcolor: var(--vscode-editorSuggestWidget-selectedIconForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents {\n\tflex: 1;\n\theight: 100%;\n\toverflow: hidden;\n\tpadding-left: 2px;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main {\n\tdisplay: flex;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: pre;\n\tjustify-content: space-between;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left, .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\n\tdisplay: flex;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label {\n\tcolor: var(--vscode-editorSuggestWidget-foreground);\n}\n\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\n\tfont-weight: bold;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight {\n\tcolor: var(--vscode-editorSuggestWidget-highlightForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight {\n\tcolor: var(--vscode-editorSuggestWidget-focusHighlightForeground);\n}\n\n/** ReadMore Icon styles **/\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore::before {\n\tcolor: inherit;\n\topacity: 1;\n\tfont-size: 14px;\n\tcursor: pointer;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close {\n\tposition: absolute;\n\ttop: 6px;\n\tright: 2px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover {\n\topacity: 1;\n}\n\n/** signature, qualifier, type/details opacity **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n\topacity: 0.7;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label {\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\topacity: 0.6;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label {\n\tmargin-left: 12px;\n\topacity: 0.4;\n\tfont-size: 85%;\n\tline-height: initial;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\talign-self: center;\n}\n\n/** Type Info and icon next to the label in the focused completion item **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n\tfont-size: 85%;\n\tmargin-left: 1.1em;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source {\n\tdisplay: inline;\n}\n\n/** Details: if using CompletionItem#details, show on focus **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label {\n\tdisplay: inline;\n}\n\n/** Details: if using CompletionItemLabel#details, always show **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label {\n\tdisplay: inline;\n}\n\n/** Ellipsis on hover **/\n\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label {\n\twidth: calc(100% - 26px);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left {\n\tflex-shrink: 1;\n\tflex-grow: 1;\n\toverflow: hidden;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label {\n\tflex-shrink: 0;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label {\n\tmax-width: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label {\n\tflex-shrink: 1;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\n\toverflow: hidden;\n\tflex-shrink: 4;\n\tmax-width: 70%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\n\tdisplay: inline-block;\n\tposition: absolute;\n\tright: 10px;\n\twidth: 18px;\n\theight: 18px;\n\tvisibility: hidden;\n}\n\n/** Do NOT display ReadMore when docs is side/below **/\n\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\n\tdisplay: none !important;\n}\n\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore {\n\tdisplay: none;\n}\n\n/** Focused item can show ReadMore, but can't when docs is side/below **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\n\tdisplay: inline-block;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore {\n\tvisibility: visible;\n}\n\n/** Styles for each row in the list **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\n\topacity: 0.66;\n\ttext-decoration: unset;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container {\n\ttext-decoration: line-through;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\n\theight: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\n\tdisplay: block;\n\theight: 16px;\n\twidth: 16px;\n\tmargin-left: 2px;\n\tbackground-repeat: no-repeat;\n\tbackground-size: 80%;\n\tbackground-position: center;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\n\tdisplay: flex;\n\talign-items: center;\n\tmargin-right: 4px;\n}\n\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon, .monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\n\tmargin: 0 0 0 0.3em;\n\tborder: 0.1em solid #000;\n\twidth: 0.7em;\n\theight: 0.7em;\n\tdisplay: inline-block;\n}\n\n/** Styles for the docs of the completion item in focus **/\n\n.monaco-editor .suggest-details-container {\n\tz-index: 41;\n}\n\n.monaco-editor .suggest-details {\n\tdisplay: flex;\n\tflex-direction: column;\n\tcursor: default;\n\tcolor: var(--vscode-editorSuggestWidget-foreground);\n}\n\n.monaco-editor .suggest-details.focused {\n\tborder-color: var(--vscode-focusBorder);\n}\n\n.monaco-editor .suggest-details a {\n\tcolor: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .suggest-details a:hover {\n\tcolor: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .suggest-details code {\n\tbackground-color: var(--vscode-textCodeBlock-background);\n}\n\n.monaco-editor .suggest-details.no-docs {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element {\n\tflex: 1;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body {\n\tbox-sizing: border-box;\n\theight: 100%;\n\twidth: 100%;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type {\n\tflex: 2;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\topacity: 0.7;\n\twhite-space: pre;\n\tmargin: 0 24px 0 0;\n\tpadding: 4px 0 12px 5px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap {\n\twhite-space: normal;\n\tword-break: break-all;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs {\n\tmargin: 0;\n\tpadding: 4px 5px;\n\twhite-space: pre-wrap;\n}\n\n.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs {\n\tmargin-right: 24px;\n\toverflow: hidden;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs {\n\tpadding: 0;\n\twhite-space: initial;\n\tmin-height: calc(1rem + 8px);\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty) {\n\tpadding: 4px 5px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child {\n\tmargin-top: 0;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child {\n\tmargin-bottom: 0;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source {\n\twhite-space: pre;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code {\n\twhite-space: pre-wrap;\n\tword-wrap: break-word;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon {\n\tvertical-align: sub;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty {\n\tdisplay: none;\n}\n\n.monaco-editor .suggest-details code {\n\tborder-radius: 3px;\n\tpadding: 0 0.4em;\n}\n\n.monaco-editor .suggest-details ul {\n\tpadding-left: 20px;\n}\n\n.monaco-editor .suggest-details ol {\n\tpadding-left: 20px;\n}\n\n.monaco-editor .suggest-details p code {\n\tfont-family: var(--monaco-monospace-font);\n}\n",""]);const r=o},3136:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n\tfont-size: 13px;\n}\n\n.quick-input-widget .monaco-highlighted-label .highlight,\n.quick-input-widget .monaco-highlighted-label .highlight {\n\tcolor: #0066BF;\n}\n\n.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,\n.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight {\n\tcolor: #9DDDFF;\n}\n\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight {\n\tcolor: #0097fb;\n}\n\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight,\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight {\n\tcolor: #F38518;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n\tbackground-color: rgba(221, 221, 221, 0.4);\n\tborder: solid 1px rgba(204, 204, 204, 0.4);\n\tborder-bottom-color: rgba(187, 187, 187, 0.4);\n\tbox-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\n\tcolor: #555;\n}\n\n.hc-black .monaco-keybinding > .monaco-keybinding-key {\n\tbackground-color: transparent;\n\tborder: solid 1px rgb(111, 195, 223);\n\tbox-shadow: none;\n\tcolor: #fff;\n}\n\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\n\tbackground-color: rgba(128, 128, 128, 0.17);\n\tborder: solid 1px rgba(51, 51, 51, 0.6);\n\tborder-bottom-color: rgba(68, 68, 68, 0.6);\n\tbox-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\n\tcolor: #ccc;\n}\n",""]);const r=o},8454:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n/* Default standalone editor fonts */\n.monaco-editor {\n\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\n\tstroke-width: 1.2px;\n}\n\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n\tstroke-width: 1.2px;\n}\n\n.monaco-hover p {\n\tmargin: 0;\n}\n\n/* See https://github.com/microsoft/monaco-editor/issues/2168#issuecomment-780078600 */\n.monaco-aria-container {\n\tposition: absolute !important;\n\ttop: 0; /* avoid being placed underneath a sibling element */\n\theight: 1px;\n\twidth: 1px;\n\tmargin: -1px;\n\toverflow: hidden;\n\tpadding: 0;\n\tclip: rect(1px, 1px, 1px, 1px);\n\tclip-path: inset(50%);\n}\n\n/* The hc-black theme is already high contrast optimized */\n.monaco-editor.hc-black {\n\t-ms-high-contrast-adjust: none;\n}\n/* In case the browser goes into high contrast mode and the editor is not configured with the hc-black theme */\n@media screen and (-ms-high-contrast:active) {\n\n\t/* current line highlight */\n\t.monaco-editor.vs .view-overlays .current-line,\n\t.monaco-editor.vs-dark .view-overlays .current-line {\n\t\tborder-color: windowtext !important;\n\t\tborder-left: 0;\n\t\tborder-right: 0;\n\t}\n\n\t/* view cursors */\n\t.monaco-editor.vs .cursor,\n\t.monaco-editor.vs-dark .cursor {\n\t\tbackground-color: windowtext !important;\n\t}\n\t/* dnd target */\n\t.monaco-editor.vs .dnd-target,\n\t.monaco-editor.vs-dark .dnd-target {\n\t\tborder-color: windowtext !important;\n\t}\n\n\t/* selected text background */\n\t.monaco-editor.vs .selected-text,\n\t.monaco-editor.vs-dark .selected-text {\n\t\tbackground-color: highlight !important;\n\t}\n\n\t/* allow the text to have a transparent background. */\n\t.monaco-editor.vs .view-line,\n\t.monaco-editor.vs-dark .view-line {\n\t\t-ms-high-contrast-adjust: none;\n\t}\n\n\t/* text color */\n\t.monaco-editor.vs .view-line span,\n\t.monaco-editor.vs-dark .view-line span {\n\t\tcolor: windowtext !important;\n\t}\n\t/* selected text color */\n\t.monaco-editor.vs .view-line span.inline-selected-text,\n\t.monaco-editor.vs-dark .view-line span.inline-selected-text {\n\t\tcolor: highlighttext !important;\n\t}\n\n\t/* allow decorations */\n\t.monaco-editor.vs .view-overlays,\n\t.monaco-editor.vs-dark .view-overlays {\n\t\t-ms-high-contrast-adjust: none;\n\t}\n\n\t/* various decorations */\n\t.monaco-editor.vs .selectionHighlight,\n\t.monaco-editor.vs-dark .selectionHighlight,\n\t.monaco-editor.vs .wordHighlight,\n\t.monaco-editor.vs-dark .wordHighlight,\n\t.monaco-editor.vs .wordHighlightStrong,\n\t.monaco-editor.vs-dark .wordHighlightStrong,\n\t.monaco-editor.vs .reference-decoration,\n\t.monaco-editor.vs-dark .reference-decoration {\n\t\tborder: 2px dotted highlight !important;\n\t\tbackground: transparent !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .rangeHighlight,\n\t.monaco-editor.vs-dark .rangeHighlight {\n\t\tbackground: transparent !important;\n\t\tborder: 1px dotted activeborder !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .bracket-match,\n\t.monaco-editor.vs-dark .bracket-match {\n\t\tborder-color: windowtext !important;\n\t\tbackground: transparent !important;\n\t}\n\n\t/* find widget */\n\t.monaco-editor.vs .findMatch,\n\t.monaco-editor.vs-dark .findMatch,\n\t.monaco-editor.vs .currentFindMatch,\n\t.monaco-editor.vs-dark .currentFindMatch {\n\t\tborder: 2px dotted activeborder !important;\n\t\tbackground: transparent !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .find-widget,\n\t.monaco-editor.vs-dark .find-widget {\n\t\tborder: 1px solid windowtext;\n\t}\n\n\t/* list - used by suggest widget */\n\t.monaco-editor.vs .monaco-list .monaco-list-row,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-list .monaco-list-row.focused,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused {\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-list .monaco-list-row:hover,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* scrollbars */\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar {\n\t\t-ms-high-contrast-adjust: none;\n\t\tbackground: background !important;\n\t\tborder: 1px solid windowtext;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\n\t\tbackground: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider:hover,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\tbackground: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider.active,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\n\t\tbackground: highlight !important;\n\t}\n\n\t/* overview ruler */\n\t.monaco-editor.vs .decorationsOverviewRuler,\n\t.monaco-editor.vs-dark .decorationsOverviewRuler {\n\t\topacity: 0;\n\t}\n\n\t/* minimap */\n\t.monaco-editor.vs .minimap,\n\t.monaco-editor.vs-dark .minimap {\n\t\tdisplay: none;\n\t}\n\n\t/* squiggles */\n\t.monaco-editor.vs .squiggly-d-error,\n\t.monaco-editor.vs-dark .squiggly-d-error {\n\t\tbackground: transparent !important;\n\t\tborder-bottom: 4px double #E47777;\n\t}\n\t.monaco-editor.vs .squiggly-c-warning,\n\t.monaco-editor.vs-dark .squiggly-c-warning {\n\t\tborder-bottom: 4px double #71B771;\n\t}\n\t.monaco-editor.vs .squiggly-b-info,\n\t.monaco-editor.vs-dark .squiggly-b-info {\n\t\tborder-bottom: 4px double #71B771;\n\t}\n\t.monaco-editor.vs .squiggly-a-hint,\n\t.monaco-editor.vs-dark .squiggly-a-hint {\n\t\tborder-bottom: 4px double #6c6c6c;\n\t}\n\n\t/* contextmenu */\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label {\n\t\t-ms-high-contrast-adjust: none;\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\tbox-sizing: border-box;\n\t}\n\n\t/* diff editor */\n\t.monaco-diff-editor.vs .diffOverviewRuler,\n\t.monaco-diff-editor.vs-dark .diffOverviewRuler {\n\t\tdisplay: none;\n\t}\n\t.monaco-editor.vs .line-insert,\n\t.monaco-editor.vs-dark .line-insert,\n\t.monaco-editor.vs .line-delete,\n\t.monaco-editor.vs-dark .line-delete {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight !important;\n\t\tbox-sizing: border-box;\n\t}\n\t.monaco-editor.vs .char-insert,\n\t.monaco-editor.vs-dark .char-insert,\n\t.monaco-editor.vs .char-delete,\n\t.monaco-editor.vs-dark .char-delete {\n\t\tbackground: transparent !important;\n\t}\n}\n\n/*.monaco-editor.vs [tabindex="0"]:focus {\n\toutline: 1px solid rgba(0, 122, 204, 0.4);\n\toutline-offset: -1px;\n\topacity: 1 !important;\n}\n\n.monaco-editor.vs-dark [tabindex="0"]:focus {\n\toutline: 1px solid rgba(14, 99, 156, 0.6);\n\toutline-offset: -1px;\n\topacity: 1 !important;\n}*/\n',""]);const r=o},6044:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar .action-item.menu-entry .action-label.icon {\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 50%;\n\tbackground-size: 16px;\n}\n\n.monaco-action-bar .action-item.menu-entry .action-label {\n\tbackground-image: var(--menu-entry-icon-light);\n}\n\n.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,\n.hc-black .monaco-action-bar .action-item.menu-entry .action-label {\n\tbackground-image: var(--menu-entry-icon-dark);\n}\n\n\n.monaco-dropdown-with-default {\n\tdisplay: flex !important;\n\tflex-direction: row;\n\tborder-radius: 5px;\n}\n\n.monaco-dropdown-with-default > .action-container > .action-label {\n\tmargin-right: 0;\n}\n\n.monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 50%;\n\tbackground-size: 16px;\n}\n\n.monaco-dropdown-with-default > .action-container.menu-entry > .action-label {\n\tbackground-image: var(--menu-entry-icon-light);\n}\n\n.vs-dark .monaco-dropdown-with-default > .action-container.menu-entry > .action-label,\n.hc-black .monaco-dropdown-with-default > .action-container.menu-entry > .action-label {\n\tbackground-image: var(--menu-entry-icon-dark);\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n\tfont-size: 12px;\n\tpadding-left: 0px;\n\tpadding-right: 0px;\n\tline-height: 16px;\n\tmargin-left: -3px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n\tdisplay: block;\n\tbackground-size: 16px;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n}\n",""]);const r=o},815:(e,t,n)=>{n.d(t,{Z:()=>r});var i=n(1034),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view .monaco-menu {\n\tmin-width: 130px;\n}\n\n",""]);const r=o},1034:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},7204:e=>{e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},8061:(e,t,n)=>{n.r(t),n.d(t,{PixelRatio:()=>l,getZoomFactor:()=>c,isAndroid:()=>v,isChrome:()=>p,isElectron:()=>m,isFirefox:()=>u,isSafari:()=>f,isStandalone:()=>b,isWebKit:()=>h,isWebkitWebView:()=>g});var i=n(9914),o=n(5666);class r{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}r.INSTANCE=new r;class a extends o.JT{constructor(){super(),this._onDidChange=this._register(new i.Q5),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){this._mediaQueryList&&this._mediaQueryList.removeEventListener("change",this._listener),this._mediaQueryList=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),e&&this._onDidChange.fire()}}class s extends o.JT{constructor(){super(),this._onDidChange=this._register(new i.Q5),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const e=this._register(new a);this._register(e.onDidChange((()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)})))}get value(){return this._value}_getPixelRatio(){const e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}const l=new class{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=new s),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}};function c(){return r.INSTANCE.getZoomFactor()}const d=navigator.userAgent,u=d.indexOf("Firefox")>=0,h=d.indexOf("AppleWebKit")>=0,p=d.indexOf("Chrome")>=0,f=!p&&d.indexOf("Safari")>=0,g=!p&&!f&&h,m=d.indexOf("Electron/")>=0,v=d.indexOf("Android")>=0,b=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},9958:(e,t,n)=>{n.d(t,{D:()=>r});var i=n(8061),o=n(1204);const r={clipboard:{writeText:o.tY||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.tY||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:o.tY||i.isStandalone?0:navigator.keyboard||i.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}},2658:(e,t,n)=>{n.d(t,{P$:()=>r,TN:()=>o,go:()=>i});const i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:n(7467).v.text,TERMINALS:"Terminals"};class o{constructor(e){this.data=e}update(){}getData(){return this.data}}const r={CurrentDragAndDropData:void 0}},6511:(e,t,n)=>{n.d(t,{$:()=>le,$Z:()=>ce,Ay:()=>U,Ce:()=>ie,Cp:()=>de,D6:()=>M,DI:()=>B,FK:()=>P,Fx:()=>z,H$:()=>ue,IC:()=>_,If:()=>F,OO:()=>H,PO:()=>h,R3:()=>ne,RE:()=>b,Re:()=>$,Ro:()=>N,Uh:()=>he,Uw:()=>p,V3:()=>pe,Y_:()=>E,_0:()=>X,_h:()=>me,_q:()=>ve,dS:()=>G,dp:()=>T,fk:()=>Y,go:()=>te,i:()=>L,jL:()=>A,j_:()=>v,jg:()=>j,jt:()=>fe,lI:()=>y,mc:()=>oe,mu:()=>m,nm:()=>g,tw:()=>J,uB:()=>be,uU:()=>V,vL:()=>Z,vY:()=>Q,w:()=>O,wY:()=>ge,wn:()=>R,xQ:()=>I,zB:()=>q});var i=n(8061),o=(n(9958),n(7560)),r=n(6237),a=n(7685),s=n(7943),l=n(9914),c=n(5666),d=n(6390),u=n(1204);function h(e){for(;e.firstChild;)e.firstChild.remove()}function p(e){var t;return null!==(t=null==e?void 0:e.isConnected)&&void 0!==t&&t}class f{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 g(e,t,n,i){return new f(e,t,n,i)}let m=function(e,t,n,i){let a=n;return"click"===t||"mousedown"===t?a=function(e){return function(t){return e(new r.n(t))}}(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(a=function(e){return function(t){return e(new o.y(t))}}(n)),g(e,t,a,i)};function v(e,t){return g(e,"mouseout",(n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function b(e,t){return g(e,"pointerout",(n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function _(e,t,n){let i=null;const o=e=>r.fire(e),r=new l.Q5({onFirstListenerAdd:()=>{i||(i=new f(e,t,o,n))},onLastListenerRemove:()=>{i&&(i.dispose(),i=null)}});return r}let y,A,w=null;class C{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,s.dL)(e)}}static sort(e,t){return t.priority-e.priority}}!function(){let e=[],t=null,n=!1,i=!1,o=()=>{for(n=!1,t=e,e=[],i=!0;t.length>0;)t.sort(C.sort),t.shift().execute();i=!1};A=(t,i=0)=>{let r=new C(t,i);return e.push(r),n||(n=!0,function(e){if(!w){const e=e=>setTimeout((()=>e((new Date).getTime())),0);w=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}w.call(self,e)}(o)),r},y=(e,n)=>{if(i){let i=new C(e,n);return t.push(i),i}return A(e,n)}}();const x=function(e,t){return t};class S extends c.JT{constructor(e,t,n,i=x,o=8){super();let r=null,s=0,l=this._register(new a._F),c=()=>{s=(new Date).getTime(),n(r),r=null};this._register(g(e,t,(e=>{r=i(r,e);let t=(new Date).getTime()-s;t>=o?(l.cancel(),c()):l.setIfNotSet(c,o-t)})))}}function E(e,t,n,i,o){return new S(e,t,n,i,o)}function k(e){return document.defaultView.getComputedStyle(e,null)}function M(e){if(e!==document.body)return new N(e.clientWidth,e.clientHeight);if(u.gn&&window.visualViewport)return new N(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new N(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new N(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new N(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class D{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let i=k(e),o="0";return i&&(o=i.getPropertyValue?i.getPropertyValue(t):i.getAttribute(n)),D.convertToPixels(e,o)}static getBorderLeftWidth(e){return D.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return D.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return D.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return D.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return D.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return D.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return D.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return D.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return D.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return D.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return D.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return D.getDimension(e,"margin-bottom","marginBottom")}}class N{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new N(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof N?e:new N(e.width,e.height)}static equals(e,t){return e===t||!(!e||!t)&&e.width===t.width&&e.height===t.height}}function I(e){let t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;const o=W(e)?null:k(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=D.getBorderLeftWidth(e),n+=D.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function T(e,t,n){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof n&&(e.style.height=`${n}px`)}function L(e){let t=e.getBoundingClientRect();return{left:t.left+B.scrollX,top:t.top+B.scrollY,width:t.width,height:t.height}}N.None=new N(0,0);const B=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function O(e){let t=D.getMarginLeft(e)+D.getMarginRight(e);return e.offsetWidth+t}function P(e){let t=D.getBorderLeftWidth(e)+D.getBorderRightWidth(e),n=D.getPaddingLeft(e)+D.getPaddingRight(e);return e.offsetWidth-t-n}function F(e){let t=D.getBorderTopWidth(e)+D.getBorderBottomWidth(e),n=D.getPaddingTop(e)+D.getPaddingBottom(e);return e.offsetHeight-t-n}function R(e){let t=D.getMarginTop(e)+D.getMarginBottom(e);return e.offsetHeight+t}function j(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function z(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}function V(e,t,n){return!!z(e,t,n)}function W(e){return e&&!!e.host&&!!e.mode}function H(e){return!!U(e)}function U(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return W(e)?e:null}function Q(){let e=document.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function G(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let K=null;function Y(e,t,n=function(){return K||(K=G()),K}()){n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function $(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}const J={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",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:i.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:i.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:i.isWebKit?"webkitAnimationIteration":"animationiteration"},q={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function Z(e){let t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function X(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 ee extends c.JT{constructor(e){super(),this._onDidFocus=this._register(new l.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new l.Q5),this.onDidBlur=this._onDidBlur.event;let t=ee.hasFocusWithin(e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(n=!0,window.setTimeout((()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())}),0))};this._refreshStateHandler=()=>{ee.hasFocusWithin(e)!==t&&(t?o():i())},this._register(g(e,J.FOCUS,i,!0)),this._register(g(e,J.BLUR,o,!0)),this._register(g(e,J.FOCUS_IN,(()=>this._refreshStateHandler()))),this._register(g(e,J.FOCUS_OUT,(()=>this._refreshStateHandler())))}static hasFocusWithin(e){const t=U(e);return j(t?t.activeElement:document.activeElement,e)}}function te(e){return new ee(e)}function ne(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 oe(e,...t){e.innerText="",ne(e,...t)}const re=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var ae;function se(e,t,n,...i){let o=re.exec(t);if(!o)throw new Error("Bad use of emmet");n=Object.assign({},n||{});let r,a=o[1]||"div";return r=e!==ae.HTML?document.createElementNS(e,a):document.createElement(a),o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),Object.keys(n).forEach((e=>{const t=n[e];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 le(e,t,...n){return se(ae.HTML,e,t,...n)}function ce(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function de(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function ue(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function he(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function pe(e){window.open(e,"_blank","noopener")}function fe(e){const t=()=>{e(),n=A(t)};let n=A(t);return(0,c.OF)((()=>n.dispose()))}function ge(e){return e?`url('${d.Gi.asBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function me(e){return`'${e.replace(/'/g,"%27")}'`}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(ae||(ae={})),le.SVG=function(e,t,...n){return se(ae.SVG,e,t,...n)},d.WX.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");class ve extends l.Q5{constructor(){super(),this._subscriptions=new c.SL,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(g(window,"keydown",(e=>{if(e.defaultPrevented)return;const t=new o.y(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}}),!0)),this._subscriptions.add(g(window,"keyup",(e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))}),!0)),this._subscriptions.add(g(document.body,"mousedown",(()=>{this._keyStatus.lastKeyPressed=void 0}),!0)),this._subscriptions.add(g(document.body,"mouseup",(()=>{this._keyStatus.lastKeyPressed=void 0}),!0)),this._subscriptions.add(g(document.body,"mousemove",(e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)}),!0)),this._subscriptions.add(g(window,"blur",(()=>{this.resetKeyStatus()})))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return ve.instance||(ve.instance=new ve),ve.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function be(e,t){window.matchMedia(e).addEventListener("change",t)}},9291:(e,t,n)=>{n.d(t,{Y:()=>o,p:()=>r});var i=n(9914);class o{constructor(e,t,n){const o=e=>this.emitter.fire(e);this.emitter=new i.Q5({onFirstListenerAdd:()=>e.addEventListener(t,o,n),onLastListenerRemove:()=>e.removeEventListener(t,o,n)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}function r(e){return e.preventDefault(),e.stopPropagation(),e}},7605:(e,t,n)=>{n.d(t,{X:()=>o,Z:()=>i});class i{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}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){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}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 new i(e)}},3973:(e,t,n)=>{n.d(t,{BO:()=>r,IY:()=>o,az:()=>a});var i=n(6511);function o(e,t={}){const n=a(t);return n.textContent=e,n}function r(e,t={}){const n=a(t);return l(n,function(e,t){const n={type:1,children:[]};let i=0,o=n;const r=[],a=new s(e);for(;!a.eos();){let e=a.next();const n="\\"===e&&0!==c(a.peek(),t);if(n&&(e=a.next()),n||0===c(e,t)||e!==a.peek())if("\n"===e)2===o.type&&(o=r.pop()),o.children.push({type:8});else if(2!==o.type){const t={type:2,content:e};o.children.push(t),r.push(o),o=t}else o.content+=e;else{a.advance(),2===o.type&&(o=r.pop());const n=c(e,t);if(o.type===n||5===o.type&&6===n)o=r.pop();else{const e={type:n,children:[]};5===n&&(e.index=i,i++),o.children.push(e),r.push(o),o=e}}}return 2===o.type&&(o=r.pop()),r.length,n}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),n}function a(e){const t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}class s{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e,t,n,o){let r;if(2===t.type)r=document.createTextNode(t.content||"");else if(3===t.type)r=document.createElement("b");else if(4===t.type)r=document.createElement("i");else if(7===t.type&&o)r=document.createElement("code");else if(5===t.type&&n){const e=document.createElement("a");n.disposables.add(i.mu(e,"click",(e=>{n.callback(String(t.index),e)}))),r=e}else 8===t.type?r=document.createElement("br"):1===t.type&&(r=e);r&&e!==r&&e.appendChild(r),r&&Array.isArray(t.children)&&t.children.forEach((e=>{l(r,e,n,o)}))}function c(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},5479:(e,t,n)=>{n.d(t,{Z:()=>c,e:()=>l});var i=n(6511),o=n(8044),r=n(6237),a=n(5666),s=n(1204);function l(e,t){let n=new r.n(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}class c{constructor(){this._hooks=new a.SL,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const n=this._onStopCallback;this._onStopCallback=null,e&&n&&n(t)}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(e,t,n,a,l){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=a,this._onStopCallback=l;const c=o.E.getSameOriginWindowChain(),d=s.gn?"pointermove":"mousemove",u=c.map((e=>e.window.document)),h=i.Ay(e);h&&u.unshift(h);for(const e of u)this._hooks.add(i.Y_(e,d,(e=>{e.buttons===t?this._mouseMoveCallback(e):this.stopMonitoring(!0)}),((e,t)=>this._mouseMoveEventMerger(e,t)))),this._hooks.add(i.nm(e,"mouseup",(e=>this.stopMonitoring(!0))));if(o.E.hasDifferentOriginAncestor()){let e=c[c.length-1];this._hooks.add(i.nm(e.window.document,"mouseout",(e=>{"html"===new r.n(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)}))),this._hooks.add(i.nm(e.window.document,"mouseover",(e=>{"html"===new r.n(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)}))),this._hooks.add(i.nm(e.window.document.body,"mouseleave",(e=>{this.stopMonitoring(!0)})))}}}},8044:(e,t,n)=>{n.d(t,{E:()=>a});let i=!1,o=null;function r(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,n=e.parent.location;if("null"!==t.origin&&"null"!==n.origin&&t.origin!==n.origin)return i=!0,null}catch(e){return i=!0,null}return e.parent}class a{static getSameOriginWindowChain(){if(!o){o=[];let e,t=window;do{e=r(t),e?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e}while(t)}return o.slice(0)}static hasDifferentOriginAncestor(){return o||this.getSameOriginWindowChain(),i}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0,o=this.getSameOriginWindowChain();for(const e of o){if(n+=e.window.scrollY,i+=e.window.scrollX,e.window===t)break;if(!e.iframeElement)break;let o=e.iframeElement.getBoundingClientRect();n+=o.top,i+=o.left}return{top:n,left:i}}}},7560:(e,t,n)=>{n.d(t,{y:()=>c});var i=n(8061),o=n(4797),r=n(4130),a=n(1204);const s=a.dz?256:2048,l=a.dz?2048:256;class c{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return o.kL.fromString(t)}const t=e.keyCode;if(3===t)return 7;if(i.isFirefox){if(59===t)return 80;if(107===t)return 81;if(109===t)return 83;if(a.dz&&224===t)return 57}else if(i.isWebKit){if(91===t)return 57;if(a.dz&&93===t)return 57;if(!a.dz&&92===t)return 57}return o.H_[t]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=s),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=l),t|=e,t}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new r.QC(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}},6237:(e,t,n)=>{n.d(t,{n:()=>a,q:()=>s});var i=n(8061),o=n(8044),r=n(1204);class a{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=o.E.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class s{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let t=e,n=e;if(void 0!==t.wheelDeltaY)this.deltaY=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.isFirefox&&!r.dz?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==t.wheelDeltaX)i.isSafari&&r.ED?this.deltaX=-t.wheelDeltaX/120:this.deltaX=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.isFirefox&&!r.dz?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},6845:(e,t,n)=>{n.d(t,{o:()=>l,t:()=>i});var i,o=n(6511),r=n(6918),a=n(6297),s=n(5666);!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(i||(i={}));class l extends s.JT{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(o.nm(document,"touchstart",(e=>this.onTouchStart(e)),{passive:!1})),this._register(o.nm(document,"touchend",(e=>this.onTouchEnd(e)))),this._register(o.nm(document,"touchmove",(e=>this.onTouchMove(e)),{passive:!1}))}static addTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.targets.push(e),{dispose:()=>{l.INSTANCE.targets=l.INSTANCE.targets.filter((t=>t!==e))}}):s.JT.None}static ignoreTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.ignoreTargets.push(e),{dispose:()=>{l.INSTANCE.ignoreTargets=l.INSTANCE.ignoreTargets.filter((t=>t!==e))}}):s.JT.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,o=e.targetTouches.length;n<o;n++){let o=e.targetTouches.item(n);this.activeTouches[o.identifier]={id:o.identifier,initialTarget:o.target,initialTimeStamp:t,initialPageX:o.pageX,initialPageY:o.pageY,rollingTimestamps:[t],rollingPageX:[o.pageX],rollingPageY:[o.pageY]};let r=this.newGestureEvent(i.Start,o.target);r.pageX=o.pageX,r.pageY=o.pageY,this.dispatchEvent(r)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),n=Object.keys(this.activeTouches).length;for(let o=0,a=e.changedTouches.length;o<a;o++){let a=e.changedTouches.item(o);if(!this.activeTouches.hasOwnProperty(String(a.identifier))){console.warn("move of an UNKNOWN touch",a);continue}let s=this.activeTouches[a.identifier],c=Date.now()-s.initialTimeStamp;if(c<l.HOLD_DELAY&&Math.abs(s.initialPageX-r.Gb(s.rollingPageX))<30&&Math.abs(s.initialPageY-r.Gb(s.rollingPageY))<30){let e=this.newGestureEvent(i.Tap,s.initialTarget);e.pageX=r.Gb(s.rollingPageX),e.pageY=r.Gb(s.rollingPageY),this.dispatchEvent(e)}else if(c>=l.HOLD_DELAY&&Math.abs(s.initialPageX-r.Gb(s.rollingPageX))<30&&Math.abs(s.initialPageY-r.Gb(s.rollingPageY))<30){let e=this.newGestureEvent(i.Contextmenu,s.initialTarget);e.pageX=r.Gb(s.rollingPageX),e.pageY=r.Gb(s.rollingPageY),this.dispatchEvent(e)}else if(1===n){let e=r.Gb(s.rollingPageX),n=r.Gb(s.rollingPageY),i=r.Gb(s.rollingTimestamps)-s.rollingTimestamps[0],o=e-s.rollingPageX[0],a=n-s.rollingPageY[0];const l=this.targets.filter((e=>s.initialTarget instanceof Node&&e.contains(s.initialTarget)));this.inertia(l,t,Math.abs(o)/i,o>0?1:-1,e,Math.abs(a)/i,a>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(i.End,s.initialTarget)),delete this.activeTouches[a.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===i.Tap){const t=(new Date).getTime();let n=0;n=t-this._lastSetTapCountTime>l.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=n}else e.type!==i.Change&&e.type!==i.Contextmenu||(this._lastSetTapCountTime=0);for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach((t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)}))}inertia(e,t,n,r,a,s,c,d){this.handle=o.jL((()=>{let o=Date.now(),u=o-t,h=0,p=0,f=!0;n+=l.SCROLL_FRICTION*u,s+=l.SCROLL_FRICTION*u,n>0&&(f=!1,h=r*n*u),s>0&&(f=!1,p=c*s*u);let g=this.newGestureEvent(i.Change);g.translationX=h,g.translationY=p,e.forEach((e=>e.dispatchEvent(g))),f||this.inertia(e,o,n,r,a+h,s,c,d+p)}))}onTouchMove(e){let t=Date.now();for(let n=0,o=e.changedTouches.length;n<o;n++){let o=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(o.identifier))){console.warn("end of an UNKNOWN touch",o);continue}let a=this.activeTouches[o.identifier],s=this.newGestureEvent(i.Change,a.initialTarget);s.translationX=o.pageX-r.Gb(a.rollingPageX),s.translationY=o.pageY-r.Gb(a.rollingPageY),s.pageX=o.pageX,s.pageY=o.pageY,this.dispatchEvent(s),a.rollingPageX.length>3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(o.pageX),a.rollingPageY.push(o.pageY),a.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}l.SCROLL_FRICTION=-.005,l.HOLD_DELAY=700,l.CLEAR_TAP_COUNT_TIME=400,function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);r>3&&a&&Object.defineProperty(t,n,a)}([a.H],l,"isTouchDevice",null)},2823:(e,t,n)=>{n.d(t,{Y:()=>h,g:()=>p});var i=n(8061),o=n(2658),r=n(6511),a=n(6845),s=n(913),l=n(5666),c=n(1204),d=n(8725),u=(n(9629),n(9606));class h extends l.JT{constructor(e,t,n={}){super(),this.options=n,this._context=e||this,this._action=t,t instanceof s.aU&&this._register(t.onDidChange((e=>{this.element&&this.handleActionChangeEvent(e)})))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new s.Wi)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(a.o.addTarget(e));const n=this.options&&this.options.draggable;n&&(e.draggable=!0,i.isFirefox&&this._register((0,r.nm)(e,r.tw.DRAG_START,(e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(o.go.TEXT,this._action.label)})))),this._register((0,r.nm)(t,a.t.Tap,(e=>this.onClick(e,!0)))),this._register((0,r.nm)(t,r.tw.MOUSE_DOWN,(e=>{n||r.zB.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")}))),c.dz&&this._register((0,r.nm)(t,r.tw.CONTEXT_MENU,(e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)}))),this._register((0,r.nm)(t,r.tw.CLICK,(e=>{r.zB.stop(e,!0),this.options&&this.options.isMenu||this.onClick(e)}))),this._register((0,r.nm)(t,r.tw.DBLCLICK,(e=>{r.zB.stop(e,!0)}))),[r.tw.MOUSE_UP,r.tw.MOUSE_OUT].forEach((e=>{this._register((0,r.nm)(t,e,(e=>{r.zB.stop(e),t.classList.remove("active")})))}))}onClick(e,t=!1){var n;r.zB.stop(e,!0);const i=d.Jp(this._context)?(null===(n=this.options)||void 0===n?void 0:n.useEventAsContext)?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,i)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class p extends h{constructor(e,t,n={}){super(e,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=(0,r.R3)(this.element,(0,r.$)("a.action-label"))),this.label&&(this._action.id===s.Z0.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&((0,r.R3)(this.element,(0,r.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=u.N({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):this.label&&this.label.classList.remove("codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),this.element&&this.element.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),this.element&&this.element.classList.add("disabled"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}},9602:(e,t,n)=>{n.d(t,{o:()=>u});var i=n(6511),o=n(7560),r=n(2823),a=n(913),s=n(9914),l=n(5666),c=n(8725),d=(n(9629),function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))});class u extends l.JT{constructor(e,t={}){var n,l,c,d,u,h;let p,f;switch(super(),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new s.Q5),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new s.Q5({onFirstListenerAdd:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new s.Q5),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new s.Q5),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=null!==(n=t.context)&&void 0!==n?n:null,this._orientation=null!==(l=this.options.orientation)&&void 0!==l?l:0,this._triggerKeys={keyDown:null!==(d=null===(c=this.options.triggerKeys)||void 0===c?void 0:c.keyDown)&&void 0!==d&&d,keys:null!==(h=null===(u=this.options.triggerKeys)||void 0===u?void 0:u.keys)&&void 0!==h?h:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new a.Wi,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun((e=>this._onDidRun.fire(e)))),this._register(this._actionRunner.onBeforeRun((e=>this._onBeforeRun.fire(e)))),this._actionIds=[],this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&this.domNode.classList.add("animated"),this._orientation){case 0:p=[15],f=[17];break;case 1:p=[16],f=[18],this.domNode.className+=" vertical"}this._register(i.nm(this.domNode,i.tw.KEY_DOWN,(e=>{const t=new o.y(e);let n=!0;const i="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0;p&&(t.equals(p[0])||t.equals(p[1]))?n=this.focusPrevious():f&&(t.equals(f[0])||t.equals(f[1]))?n=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?n=this.focusFirst():t.equals(13)?n=this.focusLast():t.equals(2)&&i instanceof r.Y&&i.trapsArrowNavigation?n=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:n=!1,n&&(t.preventDefault(),t.stopPropagation())}))),this._register(i.nm(this.domNode,i.tw.KEY_UP,(e=>{const t=new o.y(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()}))),this.focusTracker=this._register(i.go(this.domNode)),this._register(this.focusTracker.onDidBlur((()=>{i.vY()!==this.domNode&&i.jg(i.vY(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0,this.previouslyFocusedItem=void 0,this.triggerKeyDown=!1)}))),this._register(this.focusTracker.onDidFocus((()=>this.updateFocusedItem()))),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute("role","toolbar"):this.actionsList.setAttribute("role","presentation")}setFocusable(e){if(this.focusable=e,this.focusable){const e=this.viewItems.find((e=>e instanceof r.Y&&e.isEnabled()));e instanceof r.Y&&e.setFocusable(!0)}else this.viewItems.forEach((e=>{e instanceof r.Y&&e.setFocusable(!1)}))}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach((n=>{t=t||e.equals(n)})),t}updateFocusedItem(){for(let e=0;e<this.actionsList.children.length;e++){const t=this.actionsList.children[e];if(i.jg(i.vY(),t)){this.focusedItem=e;break}}}get context(){return this._context}set context(e){this._context=e,this.viewItems.forEach((t=>t.setActionContext(e)))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach((t=>t.actionRunner=e)))}getContainer(){return this.domNode}push(e,t={}){const n=Array.isArray(e)?e:[e];let o=c.hj(t.index)?t.index:null;n.forEach((e=>{const n=document.createElement("li");let a;n.className="action-item",n.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(i.nm(n,i.tw.CONTEXT_MENU,(e=>{i.zB.stop(e,!0)}))),this.options.actionViewItemProvider&&(a=this.options.actionViewItemProvider(e)),a||(a=new r.g(this.context,e,t)),a.actionRunner=this._actionRunner,a.setActionContext(this.context),a.render(n),this.focusable&&a instanceof r.Y&&0===this.viewItems.length&&a.setFocusable(!0),null===o||o<0||o>=this.actionsList.children.length?(this.actionsList.appendChild(n),this.viewItems.push(a),this._actionIds.push(e.id)):(this.actionsList.insertBefore(n,this.actionsList.children[o]),this.viewItems.splice(o,0,a),this._actionIds.splice(o,0,e.id),o++)})),"number"==typeof this.focusedItem&&this.focus(this.focusedItem),this.refreshRole()}clear(){(0,l.B9)(this.viewItems),this.viewItems=[],this._actionIds=[],i.PO(this.actionsList),this.refreshRole()}length(){return this.viewItems.length}focus(e){let t,n=!1;if(void 0===e?n=!0:"number"==typeof e?t=e:"boolean"==typeof e&&(n=e),n&&void 0===this.focusedItem){const e=this.viewItems.findIndex((e=>e.isEnabled()));this.focusedItem=-1===e?void 0:e,this.updateFocus(void 0,void 0,!0)}else void 0!==t&&(this.focusedItem=t),this.updateFocus(void 0,void 0,!0)}focusFirst(){return this.focusedItem=this.length()-1,this.focusNext(!0)}focusLast(){return this.focusedItem=0,this.focusPrevious(!0)}focusNext(e){if(void 0===this.focusedItem)this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let n;do{if(!e&&this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=t,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,n=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&this.options.focusOnlyEnabledItems&&!n.isEnabled());return this.updateFocus(),!0}focusPrevious(e){if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let n;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(!e&&this.options.preventLoopNavigation)return this.focusedItem=t,!1;this.focusedItem=this.viewItems.length-1}n=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&this.options.focusOnlyEnabledItems&&!n.isEnabled());return this.updateFocus(!0),!0}updateFocus(e,t,n=!1){var i;void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t}),void 0!==this.previouslyFocusedItem&&this.previouslyFocusedItem!==this.focusedItem&&(null===(i=this.viewItems[this.previouslyFocusedItem])||void 0===i||i.blur());const o=void 0!==this.focusedItem&&this.viewItems[this.focusedItem];if(o){let i=!0;c.mf(o.focus)||(i=!1),this.options.focusOnlyEnabledItems&&c.mf(o.isEnabled)&&!o.isEnabled()&&(i=!1),i?(n||this.previouslyFocusedItem!==this.focusedItem)&&(o.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0)}}doTrigger(e){if(void 0===this.focusedItem)return;const t=this.viewItems[this.focusedItem];if(t instanceof r.Y){const n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}run(e,t){return d(this,void 0,void 0,(function*(){yield this._actionRunner.run(e,t)}))}dispose(){(0,l.B9)(this.viewItems),this.viewItems=[],this._actionIds=[],this.getContainer().remove(),super.dispose()}}},2718:(e,t,n)=>{n.d(t,{Z9:()=>f,wW:()=>p,i7:()=>g});var i=n(6511),o=n(1204),r=n(941),a=n.n(r),s=n(4072);let l,c,d,u,h;function p(e){l=document.createElement("div"),l.className="monaco-aria-container";const t=()=>{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),l.appendChild(e),e};c=t(),d=t();const n=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),l.appendChild(e),e};u=n(),h=n(),e.appendChild(l)}function f(e){l&&(c.textContent!==e?(i.PO(d),m(c,e)):(i.PO(c),m(d,e)))}function g(e){l&&(o.dz?f(e):u.textContent!==e?(i.PO(h),m(u,e)):(i.PO(u),m(h,e)))}function m(e,t){i.PO(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}a()(s.Z,{insert:"head",singleton:!1}),s.Z.locals},1862:(e,t,n)=>{n.d(t,{a:()=>l});var i=n(3641),o=n(941),r=n.n(o),a=n(4383);r()(a.Z,{insert:"head",singleton:!1}),a.Z.locals;var s=n(2813);function l(e){let t=e.definition;for(;t instanceof i.lA;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.fontCharacter}'; }`}r()(s.Z,{insert:"head",singleton:!1}),s.Z.locals},1842:(e,t,n)=>{n.d(t,{g:()=>A});var i=n(6511),o=n(2957),r=n(5440);class a{constructor(e,t){var n;this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.supportIcons=null!==(n=null==t?void 0:t.supportIcons)&&void 0!==n&&n,this.domNode=i.R3(e,i.$("span.monaco-highlighted-label"))}get element(){return this.domNode}set(e,t=[],n="",i){e||(e=""),i&&(e=a.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===n&&r.fS(this.highlights,t)||(this.text=e,this.title=n,this.highlights=t,this.render())}render(){const e=[];let t=0;for(const n of this.highlights){if(n.end===n.start)continue;if(t<n.start){const r=this.text.substring(t,n.start);e.push(i.$("span",void 0,...this.supportIcons?(0,o.T)(r):[r])),t=n.end}const r=this.text.substring(n.start,n.end),a=i.$("span.highlight",void 0,...this.supportIcons?(0,o.T)(r):[r]);n.extraClasses&&a.classList.add(...n.extraClasses),e.push(a),t=n.end}if(t<this.text.length){const n=this.text.substring(t);e.push(i.$("span",void 0,...this.supportIcons?(0,o.T)(n):[n]))}i.mc(this.domNode,...e),this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(e,t){let n=0,i=0;return e.replace(/\r\n|\r|\n/g,((e,o)=>{i="\r\n"===e?-1:0,o+=n;for(const e of t)e.end<=o||(e.start>=o&&(e.start+=i),e.end>=o&&(e.end+=i));return n+=i,"โŽ"}))}}var s=n(7685),l=n(7809),c=n(3056),d=n(7154),u=n(5666),h=n(8725),p=n(9606),f=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class g{constructor(e,t,n){this.hoverDelegate=e,this.target=t,this.fadeInAnimation=n}update(e,t){var n;return f(this,void 0,void 0,(function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let i;if(void 0===e||(0,h.HD)(e)||e instanceof HTMLElement)i=e;else if((0,h.mf)(e.markdown)){this._hoverWidget||this.show((0,p.N)("iconLabel.loading","Loading..."),t),this._cancellationTokenSource=new l.A;const n=this._cancellationTokenSource.token;if(i=yield e.markdown(n),void 0===i&&(i=e.markdownNotSupportedFallback),this.isDisposed||n.isCancellationRequested)return}else i=null!==(n=e.markdown)&&void 0!==n?n:e.markdownNotSupportedFallback;this.show(i,t)}))}show(e,t){const n=this._hoverWidget;if(this.hasContent(e)){const i={content:e,target:this.target,showPointer:"element"===this.hoverDelegate.placement,hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!n};this._hoverWidget=this.hoverDelegate.showHover(i,t)}null==n||n.dispose()}hasContent(e){return!(!e||(0,c.Fr)(e)&&!e.value)}get isDisposed(){var e;return null===(e=this._hoverWidget)||void 0===e?void 0:e.isDisposed}dispose(){var e,t;null===(e=this._hoverWidget)||void 0===e||e.dispose(),null===(t=this._cancellationTokenSource)||void 0===t||t.dispose(!0),this._cancellationTokenSource=void 0}}var m=n(7865),v=n(941),b=n.n(v),_=n(1165);b()(_.Z,{insert:"head",singleton:!1}),_.Z.locals;class y{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class A extends u.JT{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new y(i.R3(e,i.$(".monaco-icon-label")))),this.labelContainer=i.R3(this.domNode.element,i.$(".monaco-icon-label-container"));const n=i.R3(this.labelContainer,i.$("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new y(i.R3(this.labelContainer,i.$("span.monaco-icon-description-container")))),(null==t?void 0:t.supportHighlights)||(null==t?void 0:t.supportIcons)?this.nameNode=new C(n,!!t.supportIcons):this.nameNode=new w(n),(null==t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new a(i.R3(this.descriptionContainer.element,i.$("span.label-description")),{supportIcons:!!t.supportIcons}):this.descriptionNodeFactory=()=>this._register(new y(i.R3(this.descriptionContainer.element,i.$("span.label-description")))),this.hoverDelegate=null==t?void 0:t.hoverDelegate}get element(){return this.domNode.element}setLabel(e,t,n){const i=["monaco-icon-label"];n&&(n.extraClasses&&i.push(...n.extraClasses),n.italic&&i.push("italic"),n.strikethrough&&i.push("strikethrough")),this.domNode.className=i.join(" "),this.setupHover((null==n?void 0:n.descriptionTitle)?this.labelContainer:this.element,null==n?void 0:n.title),this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof a?(this.descriptionNode.set(t||"",n?n.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,null==n?void 0:n.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(null==n?void 0:n.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){const n=this.customHovers.get(e);if(n&&(n.dispose(),this.customHovers.delete(e)),t)if(this.hoverDelegate){const n=function(e,t,n){let o,r;const a=(t,n)=>{var i;t&&(null==r||r.dispose(),r=void 0),n&&(null==o||o.dispose(),o=void 0),null===(i=e.onDidHideHover)||void 0===i||i.call(e)},l=(i,o,a)=>new s._F((()=>f(this,void 0,void 0,(function*(){r&&!r.isDisposed||(r=new g(e,a||t,i>0),yield r.update(n,o))}))),i),c=i.nm(t,i.tw.MOUSE_OVER,(()=>{if(o)return;const n=new u.SL;n.add(i.nm(t,i.tw.MOUSE_LEAVE,(e=>a(!1,e.fromElement===t)),!0)),n.add(i.nm(t,i.tw.MOUSE_DOWN,(()=>a(!0,!0)),!0));const r={targetElements:[t],dispose:()=>{}};if(void 0===e.placement||"mouse"===e.placement){const e=e=>r.x=e.x+10;n.add(i.nm(t,i.tw.MOUSE_MOVE,e,!0))}n.add(l(e.delay,!1,r)),o=n}),!0);return{show:e=>{a(!1,!0),l(0,e)},hide:()=>{a(!0,!0)},update:e=>f(this,void 0,void 0,(function*(){n=e,yield null==r?void 0:r.update(n)})),dispose:()=>{c.dispose(),a(!0,!0)}}}(this.hoverDelegate,e,t);n&&this.customHovers.set(e,n)}else!function(e,t){(0,h.HD)(t)?e.title=(0,d.x$)(t):(null==t?void 0:t.markdownNotSupportedFallback)?e.title=t.markdownNotSupportedFallback:e.removeAttribute("title")}(e,t);else e.removeAttribute("title")}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}}class w{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!(0,r.fS)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=i.R3(this.container,i.$("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let n=0;n<e.length;n++){const o=e[n],r=(null==t?void 0:t.domId)&&`${null==t?void 0:t.domId}_${n}`;i.R3(this.container,i.$("a.label-name",{id:r,"data-icon-label-count":e.length,"data-icon-label-index":n,role:"treeitem"},o)),n<e.length-1&&i.R3(this.container,i.$("span.label-separator",void 0,(null==t?void 0:t.separator)||"/"))}}}}class C{constructor(e,t){this.container=e,this.supportIcons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!(0,r.fS)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new a(i.R3(this.container,i.$("a.label-name",{id:null==t?void 0:t.domId})),{supportIcons:this.supportIcons})),this.singleLabel.set(e,null==t?void 0:t.matches,void 0,null==t?void 0:t.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const n=(null==t?void 0:t.separator)||"/",o=function(e,t,n){if(!n)return;let i=0;return e.map((e=>{const o={start:i,end:i+e.length},r=n.map((e=>m.e.intersect(o,e))).filter((e=>!m.e.isEmpty(e))).map((({start:e,end:t})=>({start:e-i,end:t-i})));return i=o.end+t.length,r}))}(e,n,null==t?void 0:t.matches);for(let r=0;r<e.length;r++){const s=e[r],l=o?o[r]:void 0,c=(null==t?void 0:t.domId)&&`${null==t?void 0:t.domId}_${r}`,d=i.$("a.label-name",{id:c,"data-icon-label-count":e.length,"data-icon-label-index":r,role:"treeitem"});new a(i.R3(this.container,d),{supportIcons:this.supportIcons}).set(s,l,void 0,null==t?void 0:t.labelEscapeNewLines),r<e.length-1&&i.R3(d,i.$("span.label-separator",void 0,n))}}}}},2957:(e,t,n)=>{n.d(t,{T:()=>a});var i=n(6511),o=n(3641);const r=new RegExp(`(\\\\)?\\$\\((${o.dT.iconNameExpression}(?:${o.dT.iconModifierExpression})?)\\)`,"g");function a(e){const t=new Array;let n,i=0,o=0;for(;null!==(n=r.exec(e));){o=n.index||0,t.push(e.substring(i,o)),i=(n.index||0)+n[0].length;const[,r,a]=n;t.push(r?`$(${a})`:s({id:a}))}return i<e.length&&t.push(e.substring(i)),t}function s(e){const t=i.$("span");return t.classList.add(...o.dT.asClassNameArray(e)),t}},7662:(e,t,n)=>{n.d(t,{p:()=>w,W:()=>A});var i=n(6511),o=n(9291),r=n(3973),a=n(9602),s=n(2718),l=n(3695),c=n(73),d=n(5738),u=n(9914);class h{constructor(e,t=0,n=e.length,i=t-1){this.items=e,this.start=t,this.end=n,this.index=i}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class p{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}getHistory(){return this._elements}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new h(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){const e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach((t=>e.push(t))),e}}var f=n(5440),g=n(941),m=n.n(g),v=n(9981);m()(v.Z,{insert:"head",singleton:!1}),v.Z.locals;var b=n(9606);const _=i.$,y={inputBackground:d.Il.fromHex("#3C3C3C"),inputForeground:d.Il.fromHex("#CCCCCC"),inputValidationInfoBorder:d.Il.fromHex("#55AAFF"),inputValidationInfoBackground:d.Il.fromHex("#063B49"),inputValidationWarningBorder:d.Il.fromHex("#B89500"),inputValidationWarningBackground:d.Il.fromHex("#352A05"),inputValidationErrorBorder:d.Il.fromHex("#BE1100"),inputValidationErrorBackground:d.Il.fromHex("#5A1D1D")};class A extends c.${constructor(e,t,n){var r;super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new u.Q5),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new u.Q5),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=n||Object.create(null),(0,f.jB)(this.options,y,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!==(r=this.options.tooltip)&&void 0!==r?r:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=i.R3(e,_(".monaco-inputbox.idle"));let s=this.options.flexibleHeight?"textarea":"input",c=i.R3(this.element,_(".ibwrapper"));if(this.input=i.R3(c,_(s+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,(()=>this.element.classList.add("synthetic-focus"))),this.onblur(this.input,(()=>this.element.classList.remove("synthetic-focus"))),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=i.R3(c,_("div.mirror")),this.mirror.innerText="ย ",this.scrollableElement=new l.NB(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),i.R3(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll((e=>this.input.scrollTop=e.scrollTop)));const t=this._register(new o.Y(document,"selectionchange")),n=u.ju.filter(t.event,(()=>{const e=document.getSelection();return(null==e?void 0:e.anchorNode)===c}));this._register(n(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,(()=>this.onValueChange())),this.onblur(this.input,(()=>this.onBlur())),this.onfocus(this.input,(()=>this.onFocus())),this.ignoreGesture(this.input),setTimeout((()=>this.updateMirror()),0),this.options.actions&&(this.actionbar=this._register(new a.o(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:i.wn(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return i.w(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;this.mirror&&(t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)),this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.input.style.width=`calc(100% - ${e}px)`,this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));const n=this.stylesForType(this.message.type);this.element.style.border=n.border?`1px solid ${n.border}`:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null==e?void 0:e.type}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e,t,n=()=>e.style.width=i.w(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(!this.message)return null;e=i.R3(t,_(".monaco-inputbox-container")),n();const o={inline:!0,className:"monaco-inputbox-message"},a=this.message.formatContent?(0,r.BO)(this.message.content,o):(0,r.IY)(this.message.content,o);a.classList.add(this.classForType(this.message.type));const s=this.stylesForType(this.message.type);return a.style.backgroundColor=s.background?s.background.toString():"",a.style.color=s.foreground?s.foreground.toString():"",a.style.border=s.border?`1px solid ${s.border}`:"",i.R3(e,a),null},onHide:()=>{this.state="closed"},layout:n}),t=3===this.message.type?b.N("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?b.N("alertWarningMessage","Warning: {0}",this.message.content):b.N("alertInfoMessage","Info: {0}",this.message.content),s.Z9(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";(e+t).replace(/\u000c/g,"")?this.mirror.textContent=e+t:this.mirror.innerText="ย ",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=i.wn(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,o=t.value;null!==n&&null!==i&&(this.value=o.substr(0,n)+e+o.substr(i),t.setSelectionRange(n+1,n+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class w extends A{constructor(e,t,n){const i=b.N({key:"history.inputbox.hint",comment:["Text will be prefixed with โ‡… plus a single space, then used as a hint where input field keeps history"]},"for history"),o=` or โ‡… ${i}`,r=` (โ‡… ${i})`;super(e,t,n),this.history=new p(n.history,100);const a=()=>{if(n.showHistoryHint&&n.showHistoryHint()&&!this.placeholder.endsWith(o)&&!this.placeholder.endsWith(r)&&this.history.getHistory().length){const e=this.placeholder.endsWith(")")?o:r,t=this.placeholder+e;n.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=t:this.setPlaceHolder(t)}};this.observer=new MutationObserver(((e,t)=>{e.forEach((e=>{e.target.textContent||a()}))})),this.observer.observe(this.input,{attributeFilter:["class"]}),this.onfocus(this.input,(()=>a())),this.onblur(this.input,(()=>{const e=e=>{if(this.placeholder.endsWith(e)){const t=this.placeholder.slice(0,this.placeholder.length-e.length);return n.showPlaceholderOnFocus?this.placeholder=t:this.setPlaceHolder(t),!0}return!1};e(r)||e(o)}))}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,s.i7(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,s.i7(this.value))}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},493:(e,t,n)=>{n.d(t,{kX:()=>C,Bv:()=>k});var i=n(8061),o=n(2658),r=n(6511),a=n(9291),s=n(6845),l=n(3695),c=n(6918),d=n(7685),u=n(6297),h=n(9914),p=n(5666),f=n(5440),g=n(7865),m=n(6783);function v(e,t){const n=[];for(let i of t){if(e.start>=i.range.end)continue;if(e.end<i.range.start)break;const t=g.e.intersect(e,i.range);g.e.isEmpty(t)||n.push({range:t,size:i.size})}return n}function b({start:e,end:t},n){return{start:e+n,end:t+n}}class _{constructor(){this.groups=[],this._size=0}splice(e,t,n=[]){const i=n.length-t,o=v({start:0,end:e},this.groups),r=v({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map((e=>({range:b(e.range,i),size:e.size}))),a=n.map(((t,n)=>({range:{start:e+n,end:e+n+1},size:t.size})));this.groups=function(...e){return function(e){const t=[];let n=null;for(let i of e){const e=i.range.start,o=i.range.end,r=i.size;n&&r===n.size?n.range.end=o:(n={range:{start:e,end:o},size:r},t.push(n))}return t}(e.reduce(((e,t)=>e.concat(t)),[]))}(o,a,r),this._size=this.groups.reduce(((e,t)=>e+t.size*(t.range.end-t.range.start)),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o*i.size;if(e<r)return t+Math.floor((e-n)/i.size);t+=o,n=r}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o;if(e<r)return t+(e-n)*i.size;t+=o*i.size,n=r}return-1}}class y{constructor(e){this.renderers=e,this.cache=new Map}alloc(e){let t=this.getTemplateCache(e).pop();if(!t){const n=(0,r.$)(".monaco-list-row");t={domNode:n,templateId:e,templateData:this.getRenderer(e).renderTemplate(n)}}return t}release(e){e&&this.releaseRow(e)}releaseRow(e){const{domNode:t,templateId:n}=e;t&&(t.classList.remove("scrolling"),function(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(e){}}(t)),this.getTemplateCache(n).push(e)}getTemplateCache(e){let t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t}dispose(){this.cache.forEach(((e,t)=>{for(const n of e)this.getRenderer(t).disposeTemplate(n.templateData),n.templateData=null})),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error(`No renderer found for ${e}`);return t}}var A=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};const w={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class C{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class x{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class S{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;t<e.files.length;t++){const n=e.files.item(t);n&&(n.size||n.type)&&this.files.push(n)}}}getData(){return{types:this.types,files:this.files}}}class E{constructor(e){(null==e?void 0:e.getSetSize)?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(e,t,n)=>n,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class k{constructor(e,t,n,i=w){if(this.virtualDelegate=t,this.domId="list_id_"+ ++k.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new d.vp(50),this.splicing=!1,this.dragOverAnimationStopDisposable=p.JT.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=p.JT.None,this.onDragLeaveTimeout=p.JT.None,this.disposables=new p.SL,this._onDidChangeContentHeight=new h.Q5,this._horizontalScrolling=!1,i.horizontalScrolling&&i.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new _;for(const e of n)this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new y(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof i.mouseSupport||i.mouseSupport),this._horizontalScrolling=(0,f.CJ)(i,(e=>e.horizontalScrolling),w.horizontalScrolling),this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===i.additionalScrollHeight?0:i.additionalScrollHeight,this.accessibilityProvider=new E(i.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",(0,f.CJ)(i,(e=>e.transformOptimization),w.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(s.o.addTarget(this.rowsContainer)),this.scrollable=new m.Rm({forceIntegerValues:!0,smoothScrollDuration:(0,f.CJ)(i,(e=>e.smoothScrolling),!1)?125:0,scheduleAtNextAnimationFrame:e=>(0,r.jL)(e)}),this.scrollableElement=this.disposables.add(new l.$Z(this.rowsContainer,{alwaysConsumeMouseWheel:(0,f.CJ)(i,(e=>e.alwaysConsumeMouseWheel),w.alwaysConsumeMouseWheel),horizontal:1,vertical:(0,f.CJ)(i,(e=>e.verticalScrollMode),w.verticalScrollMode),useShadows:(0,f.CJ)(i,(e=>e.useShadows),w.useShadows),mouseWheelScrollSensitivity:i.mouseWheelScrollSensitivity,fastScrollSensitivity:i.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,r.nm)(this.rowsContainer,s.t.Change,(e=>this.onTouchChange(e)))),this.disposables.add((0,r.nm)(this.scrollableElement.getDomNode(),"scroll",(e=>e.target.scrollTop=0))),this.disposables.add((0,r.nm)(this.domNode,"dragover",(e=>this.onDragOver(this.toDragEvent(e))))),this.disposables.add((0,r.nm)(this.domNode,"drop",(e=>this.onDrop(this.toDragEvent(e))))),this.disposables.add((0,r.nm)(this.domNode,"dragleave",(e=>this.onDragLeave(this.toDragEvent(e))))),this.disposables.add((0,r.nm)(this.domNode,"dragend",(e=>this.onDragEnd(e)))),this.setRowLineHeight=(0,f.CJ)(i,(e=>e.setRowLineHeight),w.setRowLineHeight),this.setRowHeight=(0,f.CJ)(i,(e=>e.setRowHeight),w.setRowHeight),this.supportDynamicHeights=(0,f.CJ)(i,(e=>e.supportDynamicHeights),w.supportDynamicHeights),this.dnd=(0,f.CJ)(i,(e=>e.dnd),w.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,r.FK)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.mouseWheelScrollSensitivity&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&this.scrollableElement.updateOptions({fastScrollSensitivity:e.fastScrollSensitivity})}splice(e,t,n=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,n=[]){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o={start:e,end:e+t},r=g.e.intersect(i,o),a=new Map;for(let e=r.end-1;e>=r.start;e--){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.row){let n=a.get(t.templateId);n||(n=[],a.set(t.templateId,n));const i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),n.push(t.row)}t.row=null}const s={start:e+t,end:this.items.length},l=g.e.intersect(s,i),c=g.e.relativeComplement(s,i),d=n.map((e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:p.JT.None,checkedDisposable:p.JT.None})));let u;0===e&&t>=this.items.length?(this.rangeMap=new _,this.rangeMap.splice(0,0,d),u=this.items,this.items=d):(this.rangeMap.splice(e,t,d),u=this.items.splice(e,t,...d));const h=n.length-t,f=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=b(l,h),v=g.e.intersect(f,m);for(let e=v.start;e<v.end;e++)this.updateItemInDOM(this.items[e],e);const y=g.e.relativeComplement(m,f);for(const e of y)for(let t=e.start;t<e.end;t++)this.removeItemFromDOM(t);const A=c.map((e=>b(e,h))),w=[{start:e,end:e+n.length},...A].map((e=>g.e.intersect(f,e))),C=this.getNextToLastElement(w);for(const e of w)for(let t=e.start;t<e.end;t++){const e=this.items[t],n=a.get(e.templateId),i=null==n?void 0:n.pop();this.insertItemInDOM(t,C,i)}for(const e of a.values())for(const t of e)this.cache.release(t);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),u.map((e=>e.element))}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,r.jL)((()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null})))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger((()=>this.updateScrollWidth())):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let n={height:"number"==typeof e?e:(0,r.If)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:(0,r.FK)(this.domNode)})}render(e,t,n,i,o,r=!1){const a=this.getRenderRange(t,n),s=g.e.relativeComplement(a,e),l=g.e.relativeComplement(e,a),c=this.getNextToLastElement(s);if(r){const t=g.e.intersect(e,a);for(let e=t.start;e<t.end;e++)this.updateItemInDOM(this.items[e],e)}for(const e of s)for(let t=e.start;t<e.end;t++)this.insertItemInDOM(t,c);for(const e of l)for(let t=e.start;t<e.end;t++)this.removeItemFromDOM(t);void 0!==i&&(this.rowsContainer.style.left=`-${i}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==o&&(this.rowsContainer.style.width=`${Math.max(o,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=n}insertItemInDOM(e,t,n){const i=this.items[e];i.row||(i.row=null!=n?n:this.cache.alloc(i.templateId));const o=this.accessibilityProvider.getRole(i.element)||"listitem";i.row.domNode.setAttribute("role",o);const a=this.accessibilityProvider.isChecked(i.element);if("boolean"==typeof a)i.row.domNode.setAttribute("aria-checked",String(!!a));else if(a){const e=e=>i.row.domNode.setAttribute("aria-checked",String(!!e));e(a.value),i.checkedDisposable=a.onDidChange(e)}i.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(i.row.domNode,t):this.rowsContainer.appendChild(i.row.domNode)),this.updateItemInDOM(i,e);const s=this.renderers.get(i.templateId);if(!s)throw new Error(`No renderer found for template id ${i.templateId}`);s&&s.renderElement(i.element,e,i.row.templateData,i.size);const l=this.dnd.getDragURI(i.element);i.dragStartDisposable.dispose(),i.row.domNode.draggable=!!l,l&&(i.dragStartDisposable=(0,r.nm)(i.row.domNode,"dragstart",(e=>this.onDragStart(i.element,l,e)))),this.horizontalScrolling&&(this.measureItemWidth(i),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=i.isFirefox?"-moz-fit-content":"fit-content",e.width=(0,r.FK)(e.row.domNode);const t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("data-parity",t%2==0?"even":"odd"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.checkedDisposable.dispose(),t.row){const n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return h.ju.map(this.disposables.add(new a.Y(this.domNode,"click")).event,(e=>this.toMouseEvent(e)))}get onMouseDblClick(){return h.ju.map(this.disposables.add(new a.Y(this.domNode,"dblclick")).event,(e=>this.toMouseEvent(e)))}get onMouseMiddleClick(){return h.ju.filter(h.ju.map(this.disposables.add(new a.Y(this.domNode,"auxclick")).event,(e=>this.toMouseEvent(e))),(e=>1===e.browserEvent.button))}get onMouseDown(){return h.ju.map(this.disposables.add(new a.Y(this.domNode,"mousedown")).event,(e=>this.toMouseEvent(e)))}get onContextMenu(){return h.ju.any(h.ju.map(this.disposables.add(new a.Y(this.domNode,"contextmenu")).event,(e=>this.toMouseEvent(e))),h.ju.map(this.disposables.add(new a.Y(this.domNode,s.t.Contextmenu)).event,(e=>this.toGestureEvent(e))))}get onTouchStart(){return h.ju.map(this.disposables.add(new a.Y(this.domNode,"touchstart")).event,(e=>this.toTouchEvent(e)))}get onTap(){return h.ju.map(this.disposables.add(new a.Y(this.rowsContainer,s.t.Tap)).event,(e=>this.toGestureEvent(e)))}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,n){if(!n.dataTransfer)return;const i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(o.go.TEXT,t),n.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(i,n)),void 0===e&&(e=String(i.length));const t=(0,r.$)(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),n.dataTransfer.setDragImage(t,-10,-10),setTimeout((()=>document.body.removeChild(t)),0)}this.currentDragData=new C(i),o.P$.CurrentDragAndDropData=new x(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),o.P$.CurrentDragAndDropData&&"vscode-ui"===o.P$.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(o.P$.CurrentDragAndDropData)this.currentDragData=o.P$.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new S}const t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let n;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof t&&0===t.effect?"copy":"move",n="boolean"!=typeof t&&t.feedback?t.feedback:void 0===e.index?[-1]:[e.index],n=(0,c.EB)(n).filter((e=>e>=-1&&e<this.length)).sort(((e,t)=>e-t)),n=-1===n[0]?[-1]:n,i=this.currentDragFeedback,r=n,Array.isArray(i)&&Array.isArray(r)?(0,c.fS)(i,r):i===r)return!0;var i,r;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,p.OF)((()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")}));else{for(const e of n){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,p.OF)((()=>{for(const e of n){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode.classList.remove("drop-target")}}))}return!0}onDragLeave(e){var t,n;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,d.Vg)((()=>this.clearDragOverFeedback()),100),this.currentDragData&&(null===(n=(t=this.dnd).onDragLeave)||void 0===n||n.call(t,this.currentDragData,e.element,e.index,e.browserEvent))}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.P$.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.P$.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=p.JT.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const e=(0,r.xQ)(this.domNode).top;this.dragOverAnimationDisposable=(0,r.jt)(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,d.Vg)((()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}),1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;const t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let n=e;for(;n instanceof HTMLElement&&n!==this.rowsContainer&&t.contains(n);){const e=n.getAttribute("data-index");if(e){const t=Number(e);if(!isNaN(t))return t}n=n.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,n){const i=this.getRenderRange(e,t);let o,r;e===this.elementTop(i.start)?(o=i.start,r=0):i.end-i.start>1&&(o=i.start+1,r=this.elementTop(o)-e);let a=0;for(;;){const s=this.getRenderRange(e,t);let l=!1;for(let e=s.start;e<s.end;e++){const t=this.probeDynamicHeight(e);0!==t&&this.rangeMap.splice(e,1,[this.items[e]]),a+=t,l=l||0!==t}if(!l){0!==a&&this.eventuallyUpdateScrollDimensions();const t=g.e.relativeComplement(i,s);for(const e of t)for(let t=e.start;t<e.end;t++)this.items[t].row&&this.removeItemFromDOM(t);const l=g.e.relativeComplement(s,i);for(const e of l)for(let t=e.start;t<e.end;t++){const e=t+1,n=e<this.items.length?this.items[e].row:null,i=n?n.domNode:null;this.insertItemInDOM(t,i)}for(let e=s.start;e<s.end;e++)this.items[e].row&&this.updateItemInDOM(this.items[e],e);if("number"==typeof o){const t=this.scrollable.getFutureScrollPosition().scrollTop-e,i=this.elementTop(o)-r+t;this.setScrollTop(i,n)}return void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(e){const t=this.items[e];if(this.virtualDelegate.getDynamicHeight){const e=this.virtualDelegate.getDynamicHeight(t.element);if(null!==e){const n=t.size;return t.size=e,t.lastDynamicHeightWidth=this.renderWidth,e-n}}if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;if(this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(t.element))return 0;const n=t.size;if(!this.setRowHeight&&t.row){let e=t.row.domNode.offsetHeight;return t.size=e,t.lastDynamicHeightWidth=this.renderWidth,e-n}const i=this.cache.alloc(t.templateId);i.domNode.style.height="",this.rowsContainer.appendChild(i.domNode);const o=this.renderers.get(t.templateId);return o&&(o.renderElement(t.element,e,i.templateData,void 0),o.disposeElement&&o.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n}getNextToLastElement(e){const t=e[e.length-1];if(!t)return null;const n=this.items[t.end];return n&&n.row?n.row.domNode:null}getElementDomId(e){return`${this.domId}_${e}`}dispose(){if(this.items){for(const e of this.items)if(e.row){const t=this.renderers.get(e.row.templateId);t&&(t.disposeElement&&t.disposeElement(e.element,-1,e.row.templateData,void 0),t.disposeTemplate(e.row.templateData))}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),(0,p.B9)(this.disposables)}}k.InstanceCount=0,A([u.H],k.prototype,"onMouseClick",null),A([u.H],k.prototype,"onMouseDblClick",null),A([u.H],k.prototype,"onMouseMiddleClick",null),A([u.H],k.prototype,"onMouseDown",null),A([u.H],k.prototype,"onContextMenu",null),A([u.H],k.prototype,"onTouchStart",null),A([u.H],k.prototype,"onTap",null)},6165:(e,t,n)=>{n.d(t,{WK:()=>T,wD:()=>j,aV:()=>K,sx:()=>R,cK:()=>D,hD:()=>N,wn:()=>P,Zo:()=>O});var i=n(6511),o=n(9291),r=n(7560),a=n(6845),s=n(2718);class l{constructor(e){this.spliceables=e}splice(e,t,n){this.spliceables.forEach((i=>i.splice(e,t,n)))}}var c=n(6918),d=n(7685),u=n(5738),h=n(6297),p=n(9914),f=n(160),g=n(5666),m=n(2669),v=n(5440),b=n(1204),_=n(8725);n(3330);class y extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}var A,w=n(493),C=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class S{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,n){const i=this.renderedElements.findIndex((e=>e.templateData===n));if(i>=0){const e=this.renderedElements[i];this.trait.unrender(n),e.index=t}else{const e={index:t,templateData:n};this.renderedElements.push(e)}this.trait.renderIndex(t,n)}splice(e,t,n){const i=[];for(const o of this.renderedElements)o.index<e?i.push(o):o.index>=e+t&&i.push({index:o.index+n-t,templateData:o.templateData});this.renderedElements=i}renderIndexes(e){for(const{index:t,templateData:n}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,n)}disposeTemplate(e){const t=this.renderedElements.findIndex((t=>t.templateData===e));t<0||this.renderedElements.splice(t,1)}}class E{constructor(e){this._trait=e,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new p.Q5,this.onChange=this._onChange.event}get name(){return this._trait}get renderer(){return new S(this)}splice(e,t,n){var i;t=Math.max(0,Math.min(t,this.length-e));const o=n.length-t,r=e+t,a=[...this.sortedIndexes.filter((t=>t<e)),...n.map(((t,n)=>t?n+e:-1)).filter((e=>-1!==e)),...this.sortedIndexes.filter((e=>e>=r)).map((e=>e+o))],s=this.length+o;if(this.sortedIndexes.length>0&&0===a.length&&s>0){const t=null!==(i=this.sortedIndexes.find((t=>t>=e)))&&void 0!==i?i:s-1;a.push(Math.min(t,s-1))}this.renderer.splice(e,t,n.length),this._set(a,a),this.length=s}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(H),t)}_set(e,t,n){const i=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const r=W(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:n}),i}get(){return this.indexes}contains(e){return(0,c.ry)(this.sortedIndexes,e,H)>=0}dispose(){(0,g.B9)(this._onChange)}}C([h.H],E.prototype,"renderer",null);class k extends E{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class M{constructor(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}splice(e,t,n){if(!this.identityProvider)return this.trait.splice(e,t,n.map((()=>!1)));const i=this.trait.get().map((e=>this.identityProvider.getId(this.view.element(e)).toString())),o=n.map((e=>i.indexOf(this.identityProvider.getId(e).toString())>-1));this.trait.splice(e,t,o)}}function D(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function N(e){return!!e.classList.contains("monaco-editor")||!e.classList.contains("monaco-list")&&!!e.parentElement&&N(e.parentElement)}class I{constructor(e,t,n){this.list=e,this.view=t,this.disposables=new g.SL,this.multipleSelectionDisposables=new g.SL,this.onKeyDown.filter((e=>3===e.keyCode)).on(this.onEnter,this,this.disposables),this.onKeyDown.filter((e=>16===e.keyCode)).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter((e=>18===e.keyCode)).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter((e=>11===e.keyCode)).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter((e=>12===e.keyCode)).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter((e=>9===e.keyCode)).on(this.onEscape,this,this.disposables),!1!==n.multipleSelectionSupport&&this.onKeyDown.filter((e=>(b.dz?e.metaKey:e.ctrlKey)&&31===e.keyCode)).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return p.ju.chain(this.disposables.add(new o.Y(this.view.domNode,"keydown")).event).filter((e=>!D(e.target))).map((e=>new r.y(e)))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionDisposables.clear(),e.multipleSelectionSupport&&this.onKeyDown.filter((e=>(b.dz?e.metaKey:e.ctrlKey)&&31===e.keyCode)).on(this.onCtrlA,this,this.multipleSelectionDisposables))}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent);const t=this.list.getFocus()[0];this.list.setAnchor(t),this.list.reveal(t),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,c.w6)(this.list.length),e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}C([h.H],I.prototype,"onKeyDown",null),function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(A||(A={}));const T=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class L{constructor(e,t,n,i){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=i,this.enabled=!1,this.state=A.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new g.SL,this.disposables=new g.SL,this.updateOptions(e.options)}updateOptions(e){void 0===e.enableKeyboardNavigation||e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const e=p.ju.chain(this.enabledDisposables.add(new o.Y(this.view.domNode,"keydown")).event).filter((e=>!D(e.target))).filter((()=>this.automaticKeyboardNavigation||this.triggered)).map((e=>new r.y(e))).filter((e=>this.delegate.mightProducePrintableCharacter(e))).forEach((e=>e.preventDefault())).map((e=>e.browserEvent.key)).event,t=p.ju.debounce(e,(()=>null),800);p.ju.reduce(p.ju.any(e,t),((e,t)=>null===t?null:(e||"")+t))(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const n=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));n&&(0,s.Z9)(n)}this.previouslyFocused=-1}onInput(e){if(!e)return this.state=A.Idle,void(this.triggered=!1);const t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===A.Idle?1:0;this.state=A.Typing;for(let t=0;t<this.list.length;t++){const o=(n+t+i)%this.list.length,r=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(o)),a=r&&r.toString();if(void 0===a||(0,f.Ji)(e,a))return this.previouslyFocused=n,this.list.setFocus([o]),void this.list.reveal(o)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class B{constructor(e,t){this.list=e,this.view=t,this.disposables=new g.SL,p.ju.chain(this.disposables.add(new o.Y(t.domNode,"keydown")).event).filter((e=>!D(e.target))).map((e=>new r.y(e))).filter((e=>!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey))).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(0===t.length)return;const n=this.view.domElement(t[0]);if(!n)return;const i=n.querySelector("[tabIndex]");if(!(i&&i instanceof HTMLElement&&-1!==i.tabIndex))return;const o=window.getComputedStyle(i);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}dispose(){this.disposables.dispose()}}function O(e){return b.dz?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function P(e){return e.browserEvent.shiftKey}const F={isSelectionSingleChangeEvent:O,isSelectionRangeChangeEvent:P};class R{constructor(e){this.list=e,this.disposables=new g.SL,this._onPointer=new p.Q5,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||F),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(a.o.addTarget(e.getHTMLElement()))),p.ju.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||F))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){N(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(N(e.browserEvent.target))return;const t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport)return;if(D(e.browserEvent.target)||N(e.browserEvent.target))return;const t=e.index;return void 0===t?(this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),void this.list.setAnchor(void 0)):this.isSelectionRangeChangeEvent(e)||this.isSelectionChangeEvent(e)?this.changeSelection(e):(this.list.setFocus([t],e.browserEvent),this.list.setAnchor(t),(n=e.browserEvent)instanceof MouseEvent&&2===n.button||this.list.setSelection([t],e.browserEvent),void this._onPointer.fire(e));var n}onDoubleClick(e){if(D(e.browserEvent.target)||N(e.browserEvent.target))return;if(this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){const t=e.index;let n=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(void 0===n){const e=this.list.getFocus()[0];n=null!=e?e:t,this.list.setAnchor(n)}const i=Math.min(n,t),o=Math.max(n,t),r=(0,c.w6)(i,o+1),a=this.list.getSelection(),s=function(e,t){const n=e.indexOf(t);if(-1===n)return[];const i=[];let o=n-1;for(;o>=0&&e[o]===t-(n-o);)i.push(e[o--]);for(i.reverse(),o=n;o<e.length&&e[o]===t+(o-n);)i.push(e[o++]);return i}(W(a,[n]),n);if(0===s.length)return;const l=W(r,function(e,t){const n=[];let i=0,o=0;for(;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){i++,o++;continue}e[i]<t[o]?n.push(e[i++]):o++}return n}(a,s));this.list.setSelection(l,e.browserEvent),this.list.setFocus([t],e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const n=this.list.getSelection(),i=n.filter((e=>e!==t));this.list.setFocus([t]),this.list.setAnchor(t),n.length===i.length?this.list.setSelection([...i,t],e.browserEvent):this.list.setSelection(i,e.browserEvent)}}dispose(){this.disposables.dispose()}}class j{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&`.${this.selectorSuffix}`,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):b.dz||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),e.listFocusBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusForeground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { color: ${e.listInactiveFocusForeground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { color: ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&n.push(`.monaco-list${t} .monaco-list-row.focused .codicon { color: ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(n.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&n.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&n.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&n.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&n.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t\t.monaco-workbench.context-menu-visible .monaco-list${t}.last-focused .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&n.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&n.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&n.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&n.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&n.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&n.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&n.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`),e.tableColumnsBorder&&n.push(`\n\t\t\t\t.monaco-table:hover > .monaco-split-view2,\n\t\t\t\t.monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: ${e.tableColumnsBorder};\n\t\t\t}`),e.tableOddRowsBackgroundColor&&n.push(`\n\t\t\t\t.monaco-table .monaco-list-row[data-parity=odd]:not(.focused):not(.selected):not(:hover) .monaco-table-tr,\n\t\t\t\t.monaco-table .monaco-list:not(:focus) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr,\n\t\t\t\t.monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr {\n\t\t\t\t\tbackground-color: ${e.tableOddRowsBackgroundColor};\n\t\t\t\t}\n\t\t\t`),this.styleElement.textContent=n.join("\n")}}const z={listFocusBackground:u.Il.fromHex("#7FB0D0"),listActiveSelectionBackground:u.Il.fromHex("#0E639C"),listActiveSelectionForeground:u.Il.fromHex("#FFFFFF"),listActiveSelectionIconForeground:u.Il.fromHex("#FFFFFF"),listFocusAndSelectionBackground:u.Il.fromHex("#094771"),listFocusAndSelectionForeground:u.Il.fromHex("#FFFFFF"),listInactiveSelectionBackground:u.Il.fromHex("#3F3F46"),listInactiveSelectionIconForeground:u.Il.fromHex("#FFFFFF"),listHoverBackground:u.Il.fromHex("#2A2D2E"),listDropBackground:u.Il.fromHex("#383B3D"),treeIndentGuidesStroke:u.Il.fromHex("#a9a9a9"),tableColumnsBorder:u.Il.fromHex("#cccccc").transparent(.2),tableOddRowsBackgroundColor:u.Il.fromHex("#cccccc").transparent(.04)},V={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function W(e,t){const n=[];let i=0,o=0;for(;i<e.length||o<t.length;)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){n.push(e[i]),i++,o++;continue}e[i]<t[o]?n.push(e[i++]):n.push(t[o++])}return n}const H=(e,t)=>e-t;class U{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map((t=>t.renderTemplate(e)))}renderElement(e,t,n,i){let o=0;for(const r of this.renderers)r.renderElement(e,t,n[o++],i)}disposeElement(e,t,n,i){let o=0;for(const r of this.renderers)r.disposeElement&&r.disposeElement(e,t,n[o],i),o+=1}disposeTemplate(e){let t=0;for(const n of this.renderers)n.disposeTemplate(e[t++])}}class Q{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,n){const i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");const o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?n.setAttribute("aria-level",`${o}`):n.removeAttribute("aria-level")}disposeTemplate(e){}}class G{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)}onDragOver(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)}onDragLeave(e,t,n,i){var o,r;null===(r=(o=this.dnd).onDragLeave)||void 0===r||r.call(o,e,t,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}drop(e,t,n,i){this.dnd.drop(e,t,n,i)}}class K{constructor(e,t,n,o,r=V){var a;this.user=e,this._options=r,this.focus=new E("focused"),this.anchor=new E("anchor"),this.eventBufferer=new p.E7,this._ariaLabel="",this.disposables=new g.SL,this._onDidDispose=new p.Q5,this.onDidDispose=this._onDidDispose.event;const s=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(a=this._options.accessibilityProvider)||void 0===a?void 0:a.getWidgetRole():"list";this.selection=new k("listbox"!==s),(0,v.jB)(r,z,!1);const c=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=r.accessibilityProvider,this.accessibilityProvider&&(c.push(new Q(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),o=o.map((e=>new U(e.templateId,[...c,e])));const d=Object.assign(Object.assign({},r),{dnd:r.dnd&&new G(this,r.dnd)});if(this.view=new w.Bv(t,n,o,d),this.view.domNode.setAttribute("role",s),r.styleController)this.styleController=r.styleController(this.view.domId);else{const e=(0,i.dS)(this.view.domNode);this.styleController=new j(e,this.view.domId)}if(this.spliceable=new l([new M(this.focus,this.view,r.identityProvider),new M(this.selection,this.view,r.identityProvider),new M(this.anchor,this.view,r.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new B(this,this.view)),("boolean"!=typeof r.keyboardSupport||r.keyboardSupport)&&(this.keyboardController=new I(this,this.view,r),this.disposables.add(this.keyboardController)),r.keyboardNavigationLabelProvider){const e=r.keyboardNavigationDelegate||T;this.typeLabelController=new L(this,this.view,r.keyboardNavigationLabelProvider,e),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(r),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return p.ju.map(this.eventBufferer.wrapEvent(this.focus.onChange),(e=>this.toListEvent(e)))}get onDidChangeSelection(){return p.ju.map(this.eventBufferer.wrapEvent(this.selection.onChange),(e=>this.toListEvent(e)))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1;const t=p.ju.chain(this.disposables.add(new o.Y(this.view.domNode,"keydown")).event).map((e=>new r.y(e))).filter((t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode)).map(o.p).filter((()=>!1)).event,n=p.ju.chain(this.disposables.add(new o.Y(this.view.domNode,"keyup")).event).forEach((()=>e=!1)).map((e=>new r.y(e))).filter((e=>58===e.keyCode||e.shiftKey&&68===e.keyCode)).map(o.p).map((({browserEvent:e})=>{const t=this.getFocus(),n=t.length?t[0]:void 0;return{index:n,element:void 0!==n?this.view.element(n):void 0,anchor:void 0!==n?this.view.domElement(n):this.view.domNode,browserEvent:e}})).event,i=p.ju.chain(this.view.onContextMenu).filter((t=>!e)).map((({element:e,index:t,browserEvent:n})=>({element:e,index:t,anchor:{x:n.pageX+1,y:n.pageY},browserEvent:n}))).event;return p.ju.any(t,n,i)}get onKeyDown(){return this.disposables.add(new o.Y(this.view.domNode,"keydown")).event}get onDidFocus(){return p.ju.signal(this.disposables.add(new o.Y(this.view.domNode,"focus",!0)).event)}createMouseController(e){return new R(this)}updateOptions(e={}){var t;this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null===(t=this.keyboardController)||void 0===t||t.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,n=[]){if(e<0||e>this.view.length)throw new y(this.user,`Invalid start index: ${e}`);if(t<0)throw new y(this.user,`Invalid delete count: ${t}`);0===t&&0===n.length||this.eventBufferer.bufferEvents((()=>this.spliceable.splice(e,t,n)))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const t of e)if(t<0||t>=this.length)throw new y(this.user,`Invalid index ${t}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map((e=>this.view.element(e)))}setAnchor(e){if(void 0!==e){if(e<0||e>=this.length)throw new y(this.user,`Invalid index ${e}`);this.anchor.set([e])}else this.anchor.set([])}getAnchor(){return(0,c.Xh)(this.anchor.get(),void 0)}getAnchorElement(){const e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(const t of e)if(t<0||t>=this.length)throw new y(this.user,`Invalid index ${t}`);this.focus.set(e,t)}focusNext(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,i);r>-1&&this.setFocus([r],n)}focusPrevious(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,i);r>-1&&this.setFocus([r],n)}focusNextPage(e,t){return x(this,void 0,void 0,(function*(){let n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=0===n?0:n-1;const i=this.view.element(n),o=this.getFocusedElements()[0];if(o!==i){const i=this.findPreviousIndex(n,!1,t);i>-1&&o!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const i=this.view.getScrollTop();this.view.setScrollTop(i+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==i&&(this.setFocus([]),yield(0,d.Vs)(0),yield this.focusNextPage(e,t))}}))}focusPreviousPage(e,t){return x(this,void 0,void 0,(function*(){let n;const i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);const o=this.view.element(n),r=this.getFocusedElements()[0];if(r!==o){const i=this.findNextIndex(n,!1,t);i>-1&&r!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const n=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==n&&(this.setFocus([]),yield(0,d.Vs)(0),yield this.focusPreviousPage(e,t))}}))}focusLast(e,t){if(0===this.length)return;const n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,n){if(0===this.length)return;const i=this.findNextIndex(e,!1,n);i>-1&&this.setFocus([i],t)}findNextIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map((e=>this.view.element(e)))}reveal(e,t){if(e<0||e>=this.length)throw new y(this.user,`Invalid index ${e}`);const n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if((0,_.hj)(t)){const e=o-this.view.renderHeight;this.view.setScrollTop(e*(0,m.uZ)(t,0,1)+i)}else{const e=i+o,t=n+this.view.renderHeight;i<n&&e>=t||(i<n||e>=t&&o>=this.view.renderHeight?this.view.setScrollTop(i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e){if(e<0||e>=this.length)throw new y(this.user,`Invalid index ${e}`);const t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;const o=i-this.view.renderHeight;return Math.abs((t-n)/o)}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map((e=>this.view.element(e))),browserEvent:t}}_onFocusChange(){const e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let n;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}C([h.H],K.prototype,"onDidChangeFocus",null),C([h.H],K.prototype,"onDidChangeSelection",null),C([h.H],K.prototype,"onContextMenu",null),C([h.H],K.prototype,"onKeyDown",null),C([h.H],K.prototype,"onDidFocus",null)},7423:(e,t,n)=>{n.d(t,{S:()=>a});var i=n(941),o=n.n(i),r=n(2646);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals;const a="monaco-mouse-cursor-text"},3278:(e,t,n)=>{n.d(t,{l:()=>f,g:()=>w});var i=n(6511),o=n(9291),r=n(6845),a=n(7685),s=n(6297),l=n(9914),c=n(5666),d=n(1204),u=n(941),h=n.n(u),p=n(1685);h()(p.Z,{insert:"head",singleton:!1}),p.Z.locals;var f,g=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};!function(e){e.North="north",e.South="south",e.East="east",e.West="west"}(f||(f={}));const m=new l.Q5,v=new l.Q5;class b{constructor(){this.disposables=new c.SL}get onPointerMove(){return this.disposables.add(new o.Y(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new o.Y(window,"mouseup")).event}dispose(){this.disposables.dispose()}}g([s.H],b.prototype,"onPointerMove",null),g([s.H],b.prototype,"onPointerUp",null);class _{constructor(e){this.el=e,this.disposables=new c.SL}get onPointerMove(){return this.disposables.add(new o.Y(this.el,r.t.Change)).event}get onPointerUp(){return this.disposables.add(new o.Y(this.el,r.t.End)).event}dispose(){this.disposables.dispose()}}g([s.H],_.prototype,"onPointerMove",null),g([s.H],_.prototype,"onPointerUp",null);class y{constructor(e){this.factory=e}get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}dispose(){}}g([s.H],y.prototype,"onPointerMove",null),g([s.H],y.prototype,"onPointerUp",null);const A="pointer-events-disabled";class w extends c.JT{constructor(e,t,n){super(),this.hoverDelay=300,this.hoverDelayer=this._register(new a.vp(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new l.Q5),this._onDidStart=this._register(new l.Q5),this._onDidChange=this._register(new l.Q5),this._onDidReset=this._register(new l.Q5),this._onDidEnd=this._register(new l.Q5),this.orthogonalStartSashDisposables=this._register(new c.SL),this.orthogonalStartDragHandleDisposables=this._register(new c.SL),this.orthogonalEndSashDisposables=this._register(new c.SL),this.orthogonalEndDragHandleDisposables=this._register(new c.SL),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,i.R3)(e,(0,i.$)(".monaco-sash")),n.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${n.orthogonalEdge}`),d.dz&&this.el.classList.add("mac");const s=this._register(new o.Y(this.el,"mousedown")).event;this._register(s((e=>this.onPointerStart(e,new b)),this));const u=this._register(new o.Y(this.el,"dblclick")).event;this._register(u(this.onPointerDoublePress,this));const h=this._register(new o.Y(this.el,"mouseenter")).event;this._register(h((()=>w.onMouseEnter(this))));const p=this._register(new o.Y(this.el,"mouseleave")).event;this._register(p((()=>w.onMouseLeave(this)))),this._register(r.o.addTarget(this.el));const f=l.ju.map(this._register(new o.Y(this.el,r.t.Start)).event,(e=>{var t;return Object.assign(Object.assign({},e),{target:null!==(t=e.initialTarget)&&void 0!==t?t:null})}));this._register(f((e=>this.onPointerStart(e,new _(this.el))),this));const g=this._register(new o.Y(this.el,r.t.Tap)).event,y=l.ju.map(l.ju.filter(l.ju.debounce(g,((e,t)=>{var n;return{event:t,count:(null!==(n=null==e?void 0:e.count)&&void 0!==n?n:0)+1}}),250),(({count:e})=>2===e)),(({event:e})=>{var t;return Object.assign(Object.assign({},e),{target:null!==(t=e.initialTarget)&&void 0!==t?t:null})}));this._register(y(this.onPointerDoublePress,this)),"number"==typeof n.size?(this.size=n.size,0===n.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(m.event((e=>{this.size=e,this.layout()})))),this._register(v.event((e=>this.hoverDelay=e))),this.layoutProvider=t,this.orthogonalStartSash=n.orthogonalStartSash,this.orthogonalEndSash=n.orthogonalEndSash,this.orientation=n.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this.onDidEnablementChange.fire(e))}set orthogonalStartSash(e){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){const t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=(0,i.R3)(this.el,(0,i.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,c.OF)((()=>this._orthogonalStartDragHandle.remove()))),this.orthogonalStartDragHandleDisposables.add(new o.Y(this._orthogonalStartDragHandle,"mouseenter")).event((()=>w.onMouseEnter(e)),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new o.Y(this._orthogonalStartDragHandle,"mouseleave")).event((()=>w.onMouseLeave(e)),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalStartSash=e}set orthogonalEndSash(e){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){const t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=(0,i.R3)(this.el,(0,i.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,c.OF)((()=>this._orthogonalEndDragHandle.remove()))),this.orthogonalEndDragHandleDisposables.add(new o.Y(this._orthogonalEndDragHandle,"mouseenter")).event((()=>w.onMouseEnter(e)),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new o.Y(this._orthogonalEndDragHandle,"mouseleave")).event((()=>w.onMouseLeave(e)),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}onPointerStart(e,t){i.zB.stop(e);let n=!1;if(!e.__orthogonalSashEvent){const i=this.getOrthogonalSash(e);i&&(n=!0,e.__orthogonalSashEvent=!0,i.onPointerStart(e,new y(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new y(t))),!this.state)return;const o=(0,i.H$)("iframe");for(const e of o)e.classList.add(A);const r=e.pageX,a=e.pageY,s=e.altKey,l={startX:r,currentX:r,startY:a,currentY:a,altKey:s};this.el.classList.add("active"),this._onDidStart.fire(l);const u=(0,i.dS)(this.el),h=()=>{let e="";e=n?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":d.dz?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":d.dz?"col-resize":"ew-resize",u.textContent=`* { cursor: ${e} !important; }`},p=new c.SL;h(),n||this.onDidEnablementChange.event(h,null,p),t.onPointerMove((e=>{i.zB.stop(e,!1);const t={startX:r,currentX:e.pageX,startY:a,currentY:e.pageY,altKey:s};this._onDidChange.fire(t)}),null,p),t.onPointerUp((e=>{i.zB.stop(e,!1),this.el.removeChild(u),this.el.classList.remove("active"),this._onDidEnd.fire(),p.dispose();for(const e of o)e.classList.remove(A)}),null,p),p.add(t)}onPointerDoublePress(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger((()=>e.el.classList.add("hover")),e.hoverDelay).then(void 0,(()=>{})),!t&&e.linkedSash&&w.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&w.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){w.onMouseLeave(this)}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(e){if(e.target&&e.target instanceof HTMLElement)return e.target.classList.contains("orthogonal-drag-handle")?e.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash:void 0}dispose(){super.dispose(),this.el.remove()}}},3695:(e,t,n)=>{n.d(t,{s$:()=>D,NB:()=>k,$Z:()=>M});var i=n(8061),o=n(6511),r=n(7605),a=n(6237),s=n(5479),l=n(73),c=n(7685);class d extends l.${constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new s.Z),this.onmousedown(this.bgDomNode,(e=>this._arrowMouseDown(e))),this.onmousedown(this.domNode,(e=>this._arrowMouseDown(e))),this._mousedownRepeatTimer=this._register(new c.zh),this._mousedownScheduleRepeatTimer=this._register(new c._F)}_arrowMouseDown(e){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet((()=>{this._mousedownRepeatTimer.cancelAndSet((()=>this._onActivate()),1e3/24)}),200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s.e,(e=>{}),(()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()}}var u=n(5666);class h extends u.JT{constructor(e,t,n){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=n,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new c._F)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){const e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)}),0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}var p=n(1204);class f extends l.${constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new h(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new s.Z),this._shouldRender=!0,this.domNode=(0,r.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,(e=>this._domNodeMouseDown(e)))}_createArrow(e){const t=this._register(new d(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,n,i){this.slider=(0,r.X)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(()=>{})))})),this.onclick(this.slider.domNode,(e=>{e.leftButton&&e.stopPropagation()}))}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){const t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(()=>{}))):this._onMouseDown(e)}_onMouseDown(e){let t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{const i=o.i(this.domNode.domNode);t=e.posx-i.left,n=e.posy-i.top}const i=this._mouseDownRelativePosition(t,n);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(i):this._scrollbarState.getDesiredScrollPositionFromOffset(i)),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(()=>{})))}_sliderMouseDown(e,t){const n=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s.e,(e=>{const t=this._sliderOrthogonalMousePosition(e),r=Math.abs(t-i);if(p.ED&&r>140)return void this._setDesiredScrollPositionNow(o.getScrollPosition());const a=this._sliderMousePosition(e)-n;this._setDesiredScrollPositionNow(o.getDesiredScrollPositionFromDelta(a))}),(()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()})),this._host.onDragStart()}_setDesiredScrollPositionNow(e){const t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}class g{constructor(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new g(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){const t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){const t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){const t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,n,i,o){const r=Math.max(0,n-e),a=Math.max(0,r-2*t),s=i>0&&i>n;if(!s)return{computedAvailableSize:Math.round(r),computedIsNeeded:s,computedSliderSize:Math.round(a),computedSliderRatio:0,computedSliderPosition:0};const l=Math.round(Math.max(20,Math.floor(n*a/i))),c=(a-l)/(i-n),d=o*c;return{computedAvailableSize:Math.round(r),computedIsNeeded:s,computedSliderSize:Math.round(l),computedSliderRatio:c,computedSliderPosition:Math.round(d)}}_refreshComputedValues(){const e=g._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize;let n=this._scrollPosition;return t<this._computedSliderPosition?n-=this._visibleSize:n+=this._visibleSize,n}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;const t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}var m=n(3641);class v extends f{constructor(e,t,n){const i=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new g(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,i.width,i.scrollWidth,o.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){const e=(t.arrowSize-11)/2,n=(t.horizontalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:m.lA.scrollbarButtonLeft,top:n,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new a.q(null,1,0))}),this._createArrow({className:"scra",icon:m.lA.scrollbarButtonRight,top:n,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new a.q(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}class b extends f{constructor(e,t,n){const i=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new g(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,i.height,i.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){const e=(t.arrowSize-11)/2,n=(t.verticalScrollbarSize-11)/2;this._createArrow({className:"scra",icon:m.lA.scrollbarButtonUp,top:e,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new a.q(null,0,1))}),this._createArrow({className:"scra",icon:m.lA.scrollbarButtonDown,top:void 0,left:n,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new a.q(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var _=n(9914),y=n(6783),A=n(941),w=n.n(A),C=n(8791);w()(C.Z,{insert:"head",singleton:!1}),C.Z.locals;class x{constructor(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}}class S{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,n=1,i=this._rear;for(;;){const o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5}accept(e,t,n){const i=new x(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;return-1===this._front&&-1===this._rear||this._memory[this._rear],this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}S.INSTANCE=new S;class E extends l.${constructor(e,t,n){super(),this._onScroll=this._register(new _.Q5),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new _.Q5),e.style.overflow="hidden",this._options=function(e){const t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:void 0!==e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:void 0!==e.scrollByPage&&e.scrollByPage};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,p.dz&&(t.className+=" mac"),t}(t),this._scrollable=n,this._register(this._scrollable.onScroll((e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)})));const i={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new b(this._scrollable,this._options,i)),this._horizontalScrollbar=this._register(new v(this._scrollable,this._options,i)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,r.X)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,r.X)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,r.X)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,(e=>this._onMouseOver(e))),this.onnonbubblingmouseout(this._listenOnDomNode,(e=>this._onMouseOut(e))),this._hideTimeout=this._register(new c._F),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}get options(){return this._options}dispose(){this._mouseWheelToDispose=(0,u.B9)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,p.dz&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=(0,u.B9)(this._mouseWheelToDispose),e)){const e=e=>{this._onMouseWheel(new a.q(e))};this._mouseWheelToDispose.push(o.nm(this._listenOnDomNode,o.tw.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(e){const t=S.INSTANCE;{const n=window.devicePixelRatio/(0,i.getZoomFactor)();p.ED||p.IJ?t.accept(Date.now(),e.deltaX/n,e.deltaY/n):t.accept(Date.now(),e.deltaX,e.deltaY)}let n=!1;if(e.deltaY||e.deltaX){let i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(i)>=Math.abs(o)?o=0:i=0),this._options.flipAxes&&([i,o]=[o,i]);const r=!p.dz&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);const a=this._scrollable.getFutureScrollPosition();let s={};if(i){const e=50*i,t=a.scrollTop-(e<0?Math.floor(e):Math.ceil(e));this._verticalScrollbar.writeScrollPosition(s,t)}if(o){const e=50*o,t=a.scrollLeft-(e<0?Math.floor(e):Math.ceil(e));this._horizontalScrollbar.writeScrollPosition(s,t)}s=this._scrollable.validateScrollPosition(s),(a.scrollLeft!==s.scrollLeft||a.scrollTop!==s.scrollTop)&&(this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(s):this._scrollable.setScrollPositionNow(s),n=!0)}let o=n;!o&&this._options.alwaysConsumeMouseWheel&&(o=!0),!o&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(o=!0),o&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0,i=n?" left":"",o=t?" top":"",r=n||t?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${i}`),this._topShadowDomNode.setClassName(`shadow${o}`),this._topLeftShadowDomNode.setClassName(`shadow${r}${o}${i}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((()=>this._hide()),500)}}class k extends E{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const n=new y.Rm({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:e=>o.jL(e)});super(e,t,n),this._register(n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class M extends E{constructor(e,t,n){super(e,t,n)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class D extends E{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const n=new y.Rm({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:e=>o.jL(e)});super(e,t,n),this._register(n),this._element=e,this.onScroll((e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)})),this.scanDomNode()}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},73:(e,t,n)=>{n.d(t,{$:()=>l});var i=n(6511),o=n(7560),r=n(6237),a=n(6845),s=n(5666);class l extends s.JT{onclick(e,t){this._register(i.nm(e,i.tw.CLICK,(e=>t(new r.n(e)))))}onmousedown(e,t){this._register(i.nm(e,i.tw.MOUSE_DOWN,(e=>t(new r.n(e)))))}onmouseover(e,t){this._register(i.nm(e,i.tw.MOUSE_OVER,(e=>t(new r.n(e)))))}onnonbubblingmouseout(e,t){this._register(i.j_(e,(e=>t(new r.n(e)))))}onkeydown(e,t){this._register(i.nm(e,i.tw.KEY_DOWN,(e=>t(new o.y(e)))))}onkeyup(e,t){this._register(i.nm(e,i.tw.KEY_UP,(e=>t(new o.y(e)))))}oninput(e,t){this._register(i.nm(e,i.tw.INPUT,t))}onblur(e,t){this._register(i.nm(e,i.tw.BLUR,t))}onfocus(e,t){this._register(i.nm(e,i.tw.FOCUS,t))}ignoreGesture(e){a.o.ignoreTarget(e)}}},913:(e,t,n)=>{n.d(t,{Wi:()=>l,Z0:()=>c,aU:()=>s,eZ:()=>u,wY:()=>d});var i=n(9914),o=n(5666),r=n(9606),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class s extends o.JT{constructor(e,t="",n="",o=!0,r){super(),this._onDidChange=this._register(new i.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=n,this._enabled=o,this._actionCallback=r}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return a(this,void 0,void 0,(function*(){this._actionCallback&&(yield this._actionCallback(e))}))}}class l extends o.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new i.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new i.Q5),this.onDidRun=this._onDidRun.event}run(e,t){return a(this,void 0,void 0,(function*(){if(!e.enabled)return;let n;this._onBeforeRun.fire({action:e});try{yield this.runAction(e,t)}catch(e){n=e}this._onDidRun.fire({action:e,error:n})}))}runAction(e,t){return a(this,void 0,void 0,(function*(){yield e.run(t)}))}}class c extends s{constructor(e){super(c.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}c.ID="vs.actions.separator";class d{constructor(e,t,n,i){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=i,this._actions=n}get actions(){return this._actions}dispose(){}run(){return a(this,void 0,void 0,(function*(){}))}}class u extends s{constructor(){super(u.ID,r.N("submenu.empty","(empty)"),void 0,!1)}}u.ID="vs.actions.empty"},6918:(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 r(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 a(e,t,n){let i=0,o=e.length-1;for(;i<=o;){const r=(i+o)/2|0,a=n(e[r],t);if(a<0)i=r+1;else{if(!(a>0))return r;o=r-1}}return-(i+1)}function s(e,t,n){if((e|=0)>=t.length)throw new TypeError("invalid index");let i=t[Math.floor(t.length*Math.random())],o=[],r=[],a=[];for(let e of t){const t=n(e,i);t<0?o.push(e):t>0?r.push(e):a.push(e)}return e<o.length?s(e,o,n):e<o.length+a.length?a[0]:s(e-(o.length+a.length),r,n)}function l(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 c(e){return e.filter((e=>!!e))}function d(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&e.length>0}function h(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 p(e,t){const n=function(e,t){for(let n=e.length-1;n>=0;n--)if(t(e[n]))return n;return-1}(e,t);if(-1!==n)return e[n]}function f(e,t){return e.length>0?e[0]:t}function g(e){return[].concat(...e)}function m(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 v(e,t,n){const i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}function b(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function _(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function y(e,t,n,i){const o=A(e,t),r=e.splice(o,n);return function(e,t,n){const i=A(e,t),o=e.length,r=n.length;e.length=o+r;for(let t=o-1;t>=i;t--)e[t+r]=e[t];for(let t=0;t<r;t++)e[t+i]=n[t]}(e,o,i),r}function A(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}function w(e,t){return(n,i)=>t(e(n),e(i))}function C(e,t){if(0===e.length)return;let n=e[0];for(let i=1;i<e.length;i++){const o=e[i];t(o,n)>=0&&(n=o)}return n}function x(e,t){return function(e,t){if(0===e.length)return;let n=e[0];for(let i=1;i<e.length;i++){const o=e[i];t(o,n)>0&&(n=o)}return n}(e,((e,n)=>-t(e,n)))}n.d(t,{EB:()=>h,Gb:()=>i,H9:()=>S,HW:()=>s,JH:()=>o,Of:()=>u,VJ:()=>x,XY:()=>d,Xh:()=>f,Zv:()=>v,al:()=>_,dF:()=>p,db:()=>y,fS:()=>r,jV:()=>C,kX:()=>c,ry:()=>a,tT:()=>w,vM:()=>l,w6:()=>m,xH:()=>g,zI:()=>b});class S{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-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(){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}}},6141:(e,t,n)=>{function i(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}n.d(t,{ok:()=>i})},7685:(e,t,n)=>{n.d(t,{CR:()=>x,J8:()=>d,PG:()=>u,To:()=>w,Ue:()=>C,Vg:()=>b,Vs:()=>v,_F:()=>_,eP:()=>h,jT:()=>S,ne:()=>f,pY:()=>A,rH:()=>m,vp:()=>g,zh:()=>y});var i=n(7809),o=n(7943),r=n(9914),a=n(5666),s=n(1204),l=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},c=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,o){!function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}(i,o,(t=e[n](t)).done,t.value)}))}}};function d(e){return!!e&&"function"==typeof e.then}function u(e){const t=new i.A,n=e(t.token),r=new Promise(((e,i)=>{const r=t.token.onCancellationRequested((()=>{r.dispose(),t.dispose(),i(new o.FU)}));Promise.resolve(n).then((n=>{r.dispose(),t.dispose(),e(n)}),(e=>{r.dispose(),t.dispose(),i(e)}))}));return new class{cancel(){t.cancel()}then(e,t){return r.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return r.finally(e)}}}function h(e,t,n){return new Promise(((i,o)=>{const r=t.onCancellationRequested((()=>{r.dispose(),i(n)}));e.then(i,o).finally((()=>r.dispose()))}))}class p{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const e=()=>{this.queuedPromise=null;const e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise((t=>{this.activePromise.then(e,e).then(t)}))}return new Promise(((e,t)=>{this.queuedPromise.then(e,t)}))}return this.activePromise=e(),new Promise(((e,t)=>{this.activePromise.then((t=>{this.activePromise=null,e(t)}),(e=>{this.activePromise=null,t(e)}))}))}}const f=Symbol("MicrotaskDelay");class g{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(((e,t)=>{this.doResolve=e,this.doReject=t})).then((()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})));const n=()=>{var e;this.deferred=null,null===(e=this.doResolve)||void 0===e||e.call(this,null)};return this.deferred=t===f?(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(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(new o.FU),this.completionPromise=null)}cancelTimeout(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class m{constructor(e){this.delayer=new g(e),this.throttler=new p}trigger(e,t){return this.delayer.trigger((()=>this.throttler.queue(e)),t)}dispose(){this.delayer.dispose()}}function v(e,t){return t?new Promise(((n,i)=>{const r=setTimeout((()=>{a.dispose(),n()}),e),a=t.onCancellationRequested((()=>{clearTimeout(r),a.dispose(),i(new o.FU)}))})):u((t=>v(e,t)))}function b(e,t=0){const n=setTimeout(e,t);return(0,a.OF)((()=>clearTimeout(n)))}class _{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout((()=>{this._token=-1,e()}),t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout((()=>{this._token=-1,e()}),t))}}class y{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval((()=>{e()}),t)}}class A{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&&this.runner()}}let w;w="function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback?e=>{(0,s.fn)((()=>{if(t)return;const n=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining:()=>Math.max(0,n-Date.now())}))}));let t=!1;return{dispose(){t||(t=!0)}}}:(e,t)=>{const n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let i=!1;return{dispose(){i||(i=!0,cancelIdleCallback(n))}}};class C{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=w((()=>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 x{constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise(((e,t)=>{this.completeCallback=e,this.errorCallback=t}))}get isRejected(){return this.rejected}get isSettled(){return this.rejected||this.resolved}complete(e){return new Promise((t=>{this.completeCallback(e),this.resolved=!0,t()}))}cancel(){new Promise((e=>{this.errorCallback(new o.FU),this.rejected=!0,e()}))}}var S;!function(e){e.settled=function(e){return l(this,void 0,void 0,(function*(){let t;const n=yield 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(((t,n)=>l(this,void 0,void 0,(function*(){try{yield e(t,n)}catch(e){n(e)}}))))}}(S||(S={}));class E{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new r.Q5,queueMicrotask((()=>l(this,void 0,void 0,(function*(){const t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{yield Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))))}static fromArray(e){return new E((t=>{t.emitMany(e)}))}static fromPromise(e){return new E((t=>l(this,void 0,void 0,(function*(){t.emitMany(yield e)}))))}static fromPromises(e){return new E((t=>l(this,void 0,void 0,(function*(){yield Promise.all(e.map((e=>l(this,void 0,void 0,(function*(){return t.emitOne(yield e)})))))}))))}static merge(e){return new E((t=>l(this,void 0,void 0,(function*(){yield Promise.all(e.map((e=>{var n,i;return l(this,void 0,void 0,(function*(){var o,r;try{for(n=c(e);!(i=yield n.next()).done;){const e=i.value;t.emitOne(e)}}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(o)throw o.error}}}))})))}))))}[Symbol.asyncIterator](){let e=0;return{next:()=>l(this,void 0,void 0,(function*(){for(;;){if(2===this._state)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(1===this._state)return{done:!0,value:void 0};yield r.ju.toPromise(this._onStateChanged.event)}}))}}static map(e,t){return new E((n=>l(this,void 0,void 0,(function*(){var i,o;try{for(var r,a=c(e);!(r=yield a.next()).done;){const e=r.value;n.emitOne(t(e))}}catch(e){i={error:e}}finally{try{r&&!r.done&&(o=a.return)&&(yield o.call(a))}finally{if(i)throw i.error}}}))))}map(e){return E.map(this,e)}static filter(e,t){return new E((n=>l(this,void 0,void 0,(function*(){var i,o;try{for(var r,a=c(e);!(r=yield a.next()).done;){const e=r.value;t(e)&&n.emitOne(e)}}catch(e){i={error:e}}finally{try{r&&!r.done&&(o=a.return)&&(yield o.call(a))}finally{if(i)throw i.error}}}))))}filter(e){return E.filter(this,e)}static coalesce(e){return E.filter(e,(e=>!!e))}coalesce(){return E.coalesce(this)}static toPromise(e){var t,n,i,o;return l(this,void 0,void 0,(function*(){const r=[];try{for(t=c(e);!(n=yield t.next()).done;){const e=n.value;r.push(e)}}catch(e){i={error:e}}finally{try{n&&!n.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}return r}))}toPromise(){return E.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())}}E.EMPTY=E.fromArray([])},578:(e,t,n)=>{n.d(t,{Ag:()=>c,Cg:()=>h,KN:()=>a,Q$:()=>u,T4:()=>d,mP:()=>s,oq:()=>l});const o=void 0!==i;let r;class a{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return o&&!i.isBuffer(e)&&(e=i.from(e.buffer,e.byteOffset,e.byteLength)),new a(e)}toString(){return o?this.buffer.toString():(r||(r=new TextDecoder),r.decode(this.buffer))}}function s(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function l(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function c(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function d(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function u(e,t){return e[t]}function h(e,t,n){e[n]=t}},7809:(e,t,n)=>{n.d(t,{A:()=>s,T:()=>r});var i=n(9914);const o=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var r;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof a||!(!t||"object"!=typeof t)&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.ju.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o})}(r||(r={}));class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?o:(this._emitter||(this._emitter=new i.Q5),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class s{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=r.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=r.None}}},3641:(e,t,n)=>{function i(e){return e?e.replace(/\$\((.*?)\)/g,((e,t)=>` ${t} `)).trim():""}n.d(t,{JL:()=>i,dT:()=>r,lA:()=>o});class o{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,o._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return o._allCodicons}}var r;o._allCodicons=[],o.add=new o("add",{fontCharacter:"\\ea60"}),o.plus=new o("plus",o.add.definition),o.gistNew=new o("gist-new",o.add.definition),o.repoCreate=new o("repo-create",o.add.definition),o.lightbulb=new o("lightbulb",{fontCharacter:"\\ea61"}),o.lightBulb=new o("light-bulb",{fontCharacter:"\\ea61"}),o.repo=new o("repo",{fontCharacter:"\\ea62"}),o.repoDelete=new o("repo-delete",{fontCharacter:"\\ea62"}),o.gistFork=new o("gist-fork",{fontCharacter:"\\ea63"}),o.repoForked=new o("repo-forked",{fontCharacter:"\\ea63"}),o.gitPullRequest=new o("git-pull-request",{fontCharacter:"\\ea64"}),o.gitPullRequestAbandoned=new o("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),o.recordKeys=new o("record-keys",{fontCharacter:"\\ea65"}),o.keyboard=new o("keyboard",{fontCharacter:"\\ea65"}),o.tag=new o("tag",{fontCharacter:"\\ea66"}),o.tagAdd=new o("tag-add",{fontCharacter:"\\ea66"}),o.tagRemove=new o("tag-remove",{fontCharacter:"\\ea66"}),o.person=new o("person",{fontCharacter:"\\ea67"}),o.personFollow=new o("person-follow",{fontCharacter:"\\ea67"}),o.personOutline=new o("person-outline",{fontCharacter:"\\ea67"}),o.personFilled=new o("person-filled",{fontCharacter:"\\ea67"}),o.gitBranch=new o("git-branch",{fontCharacter:"\\ea68"}),o.gitBranchCreate=new o("git-branch-create",{fontCharacter:"\\ea68"}),o.gitBranchDelete=new o("git-branch-delete",{fontCharacter:"\\ea68"}),o.sourceControl=new o("source-control",{fontCharacter:"\\ea68"}),o.mirror=new o("mirror",{fontCharacter:"\\ea69"}),o.mirrorPublic=new o("mirror-public",{fontCharacter:"\\ea69"}),o.star=new o("star",{fontCharacter:"\\ea6a"}),o.starAdd=new o("star-add",{fontCharacter:"\\ea6a"}),o.starDelete=new o("star-delete",{fontCharacter:"\\ea6a"}),o.starEmpty=new o("star-empty",{fontCharacter:"\\ea6a"}),o.comment=new o("comment",{fontCharacter:"\\ea6b"}),o.commentAdd=new o("comment-add",{fontCharacter:"\\ea6b"}),o.alert=new o("alert",{fontCharacter:"\\ea6c"}),o.warning=new o("warning",{fontCharacter:"\\ea6c"}),o.search=new o("search",{fontCharacter:"\\ea6d"}),o.searchSave=new o("search-save",{fontCharacter:"\\ea6d"}),o.logOut=new o("log-out",{fontCharacter:"\\ea6e"}),o.signOut=new o("sign-out",{fontCharacter:"\\ea6e"}),o.logIn=new o("log-in",{fontCharacter:"\\ea6f"}),o.signIn=new o("sign-in",{fontCharacter:"\\ea6f"}),o.eye=new o("eye",{fontCharacter:"\\ea70"}),o.eyeUnwatch=new o("eye-unwatch",{fontCharacter:"\\ea70"}),o.eyeWatch=new o("eye-watch",{fontCharacter:"\\ea70"}),o.circleFilled=new o("circle-filled",{fontCharacter:"\\ea71"}),o.primitiveDot=new o("primitive-dot",{fontCharacter:"\\ea71"}),o.closeDirty=new o("close-dirty",{fontCharacter:"\\ea71"}),o.debugBreakpoint=new o("debug-breakpoint",{fontCharacter:"\\ea71"}),o.debugBreakpointDisabled=new o("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),o.debugHint=new o("debug-hint",{fontCharacter:"\\ea71"}),o.primitiveSquare=new o("primitive-square",{fontCharacter:"\\ea72"}),o.edit=new o("edit",{fontCharacter:"\\ea73"}),o.pencil=new o("pencil",{fontCharacter:"\\ea73"}),o.info=new o("info",{fontCharacter:"\\ea74"}),o.issueOpened=new o("issue-opened",{fontCharacter:"\\ea74"}),o.gistPrivate=new o("gist-private",{fontCharacter:"\\ea75"}),o.gitForkPrivate=new o("git-fork-private",{fontCharacter:"\\ea75"}),o.lock=new o("lock",{fontCharacter:"\\ea75"}),o.mirrorPrivate=new o("mirror-private",{fontCharacter:"\\ea75"}),o.close=new o("close",{fontCharacter:"\\ea76"}),o.removeClose=new o("remove-close",{fontCharacter:"\\ea76"}),o.x=new o("x",{fontCharacter:"\\ea76"}),o.repoSync=new o("repo-sync",{fontCharacter:"\\ea77"}),o.sync=new o("sync",{fontCharacter:"\\ea77"}),o.clone=new o("clone",{fontCharacter:"\\ea78"}),o.desktopDownload=new o("desktop-download",{fontCharacter:"\\ea78"}),o.beaker=new o("beaker",{fontCharacter:"\\ea79"}),o.microscope=new o("microscope",{fontCharacter:"\\ea79"}),o.vm=new o("vm",{fontCharacter:"\\ea7a"}),o.deviceDesktop=new o("device-desktop",{fontCharacter:"\\ea7a"}),o.file=new o("file",{fontCharacter:"\\ea7b"}),o.fileText=new o("file-text",{fontCharacter:"\\ea7b"}),o.more=new o("more",{fontCharacter:"\\ea7c"}),o.ellipsis=new o("ellipsis",{fontCharacter:"\\ea7c"}),o.kebabHorizontal=new o("kebab-horizontal",{fontCharacter:"\\ea7c"}),o.mailReply=new o("mail-reply",{fontCharacter:"\\ea7d"}),o.reply=new o("reply",{fontCharacter:"\\ea7d"}),o.organization=new o("organization",{fontCharacter:"\\ea7e"}),o.organizationFilled=new o("organization-filled",{fontCharacter:"\\ea7e"}),o.organizationOutline=new o("organization-outline",{fontCharacter:"\\ea7e"}),o.newFile=new o("new-file",{fontCharacter:"\\ea7f"}),o.fileAdd=new o("file-add",{fontCharacter:"\\ea7f"}),o.newFolder=new o("new-folder",{fontCharacter:"\\ea80"}),o.fileDirectoryCreate=new o("file-directory-create",{fontCharacter:"\\ea80"}),o.trash=new o("trash",{fontCharacter:"\\ea81"}),o.trashcan=new o("trashcan",{fontCharacter:"\\ea81"}),o.history=new o("history",{fontCharacter:"\\ea82"}),o.clock=new o("clock",{fontCharacter:"\\ea82"}),o.folder=new o("folder",{fontCharacter:"\\ea83"}),o.fileDirectory=new o("file-directory",{fontCharacter:"\\ea83"}),o.symbolFolder=new o("symbol-folder",{fontCharacter:"\\ea83"}),o.logoGithub=new o("logo-github",{fontCharacter:"\\ea84"}),o.markGithub=new o("mark-github",{fontCharacter:"\\ea84"}),o.github=new o("github",{fontCharacter:"\\ea84"}),o.terminal=new o("terminal",{fontCharacter:"\\ea85"}),o.console=new o("console",{fontCharacter:"\\ea85"}),o.repl=new o("repl",{fontCharacter:"\\ea85"}),o.zap=new o("zap",{fontCharacter:"\\ea86"}),o.symbolEvent=new o("symbol-event",{fontCharacter:"\\ea86"}),o.error=new o("error",{fontCharacter:"\\ea87"}),o.stop=new o("stop",{fontCharacter:"\\ea87"}),o.variable=new o("variable",{fontCharacter:"\\ea88"}),o.symbolVariable=new o("symbol-variable",{fontCharacter:"\\ea88"}),o.array=new o("array",{fontCharacter:"\\ea8a"}),o.symbolArray=new o("symbol-array",{fontCharacter:"\\ea8a"}),o.symbolModule=new o("symbol-module",{fontCharacter:"\\ea8b"}),o.symbolPackage=new o("symbol-package",{fontCharacter:"\\ea8b"}),o.symbolNamespace=new o("symbol-namespace",{fontCharacter:"\\ea8b"}),o.symbolObject=new o("symbol-object",{fontCharacter:"\\ea8b"}),o.symbolMethod=new o("symbol-method",{fontCharacter:"\\ea8c"}),o.symbolFunction=new o("symbol-function",{fontCharacter:"\\ea8c"}),o.symbolConstructor=new o("symbol-constructor",{fontCharacter:"\\ea8c"}),o.symbolBoolean=new o("symbol-boolean",{fontCharacter:"\\ea8f"}),o.symbolNull=new o("symbol-null",{fontCharacter:"\\ea8f"}),o.symbolNumeric=new o("symbol-numeric",{fontCharacter:"\\ea90"}),o.symbolNumber=new o("symbol-number",{fontCharacter:"\\ea90"}),o.symbolStructure=new o("symbol-structure",{fontCharacter:"\\ea91"}),o.symbolStruct=new o("symbol-struct",{fontCharacter:"\\ea91"}),o.symbolParameter=new o("symbol-parameter",{fontCharacter:"\\ea92"}),o.symbolTypeParameter=new o("symbol-type-parameter",{fontCharacter:"\\ea92"}),o.symbolKey=new o("symbol-key",{fontCharacter:"\\ea93"}),o.symbolText=new o("symbol-text",{fontCharacter:"\\ea93"}),o.symbolReference=new o("symbol-reference",{fontCharacter:"\\ea94"}),o.goToFile=new o("go-to-file",{fontCharacter:"\\ea94"}),o.symbolEnum=new o("symbol-enum",{fontCharacter:"\\ea95"}),o.symbolValue=new o("symbol-value",{fontCharacter:"\\ea95"}),o.symbolRuler=new o("symbol-ruler",{fontCharacter:"\\ea96"}),o.symbolUnit=new o("symbol-unit",{fontCharacter:"\\ea96"}),o.activateBreakpoints=new o("activate-breakpoints",{fontCharacter:"\\ea97"}),o.archive=new o("archive",{fontCharacter:"\\ea98"}),o.arrowBoth=new o("arrow-both",{fontCharacter:"\\ea99"}),o.arrowDown=new o("arrow-down",{fontCharacter:"\\ea9a"}),o.arrowLeft=new o("arrow-left",{fontCharacter:"\\ea9b"}),o.arrowRight=new o("arrow-right",{fontCharacter:"\\ea9c"}),o.arrowSmallDown=new o("arrow-small-down",{fontCharacter:"\\ea9d"}),o.arrowSmallLeft=new o("arrow-small-left",{fontCharacter:"\\ea9e"}),o.arrowSmallRight=new o("arrow-small-right",{fontCharacter:"\\ea9f"}),o.arrowSmallUp=new o("arrow-small-up",{fontCharacter:"\\eaa0"}),o.arrowUp=new o("arrow-up",{fontCharacter:"\\eaa1"}),o.bell=new o("bell",{fontCharacter:"\\eaa2"}),o.bold=new o("bold",{fontCharacter:"\\eaa3"}),o.book=new o("book",{fontCharacter:"\\eaa4"}),o.bookmark=new o("bookmark",{fontCharacter:"\\eaa5"}),o.debugBreakpointConditionalUnverified=new o("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),o.debugBreakpointConditional=new o("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),o.debugBreakpointConditionalDisabled=new o("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),o.debugBreakpointDataUnverified=new o("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),o.debugBreakpointData=new o("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),o.debugBreakpointDataDisabled=new o("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),o.debugBreakpointLogUnverified=new o("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),o.debugBreakpointLog=new o("debug-breakpoint-log",{fontCharacter:"\\eaab"}),o.debugBreakpointLogDisabled=new o("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),o.briefcase=new o("briefcase",{fontCharacter:"\\eaac"}),o.broadcast=new o("broadcast",{fontCharacter:"\\eaad"}),o.browser=new o("browser",{fontCharacter:"\\eaae"}),o.bug=new o("bug",{fontCharacter:"\\eaaf"}),o.calendar=new o("calendar",{fontCharacter:"\\eab0"}),o.caseSensitive=new o("case-sensitive",{fontCharacter:"\\eab1"}),o.check=new o("check",{fontCharacter:"\\eab2"}),o.checklist=new o("checklist",{fontCharacter:"\\eab3"}),o.chevronDown=new o("chevron-down",{fontCharacter:"\\eab4"}),o.dropDownButton=new o("drop-down-button",o.chevronDown.definition),o.chevronLeft=new o("chevron-left",{fontCharacter:"\\eab5"}),o.chevronRight=new o("chevron-right",{fontCharacter:"\\eab6"}),o.chevronUp=new o("chevron-up",{fontCharacter:"\\eab7"}),o.chromeClose=new o("chrome-close",{fontCharacter:"\\eab8"}),o.chromeMaximize=new o("chrome-maximize",{fontCharacter:"\\eab9"}),o.chromeMinimize=new o("chrome-minimize",{fontCharacter:"\\eaba"}),o.chromeRestore=new o("chrome-restore",{fontCharacter:"\\eabb"}),o.circleOutline=new o("circle-outline",{fontCharacter:"\\eabc"}),o.debugBreakpointUnverified=new o("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),o.circleSlash=new o("circle-slash",{fontCharacter:"\\eabd"}),o.circuitBoard=new o("circuit-board",{fontCharacter:"\\eabe"}),o.clearAll=new o("clear-all",{fontCharacter:"\\eabf"}),o.clippy=new o("clippy",{fontCharacter:"\\eac0"}),o.closeAll=new o("close-all",{fontCharacter:"\\eac1"}),o.cloudDownload=new o("cloud-download",{fontCharacter:"\\eac2"}),o.cloudUpload=new o("cloud-upload",{fontCharacter:"\\eac3"}),o.code=new o("code",{fontCharacter:"\\eac4"}),o.collapseAll=new o("collapse-all",{fontCharacter:"\\eac5"}),o.colorMode=new o("color-mode",{fontCharacter:"\\eac6"}),o.commentDiscussion=new o("comment-discussion",{fontCharacter:"\\eac7"}),o.compareChanges=new o("compare-changes",{fontCharacter:"\\eafd"}),o.creditCard=new o("credit-card",{fontCharacter:"\\eac9"}),o.dash=new o("dash",{fontCharacter:"\\eacc"}),o.dashboard=new o("dashboard",{fontCharacter:"\\eacd"}),o.database=new o("database",{fontCharacter:"\\eace"}),o.debugContinue=new o("debug-continue",{fontCharacter:"\\eacf"}),o.debugDisconnect=new o("debug-disconnect",{fontCharacter:"\\ead0"}),o.debugPause=new o("debug-pause",{fontCharacter:"\\ead1"}),o.debugRestart=new o("debug-restart",{fontCharacter:"\\ead2"}),o.debugStart=new o("debug-start",{fontCharacter:"\\ead3"}),o.debugStepInto=new o("debug-step-into",{fontCharacter:"\\ead4"}),o.debugStepOut=new o("debug-step-out",{fontCharacter:"\\ead5"}),o.debugStepOver=new o("debug-step-over",{fontCharacter:"\\ead6"}),o.debugStop=new o("debug-stop",{fontCharacter:"\\ead7"}),o.debug=new o("debug",{fontCharacter:"\\ead8"}),o.deviceCameraVideo=new o("device-camera-video",{fontCharacter:"\\ead9"}),o.deviceCamera=new o("device-camera",{fontCharacter:"\\eada"}),o.deviceMobile=new o("device-mobile",{fontCharacter:"\\eadb"}),o.diffAdded=new o("diff-added",{fontCharacter:"\\eadc"}),o.diffIgnored=new o("diff-ignored",{fontCharacter:"\\eadd"}),o.diffModified=new o("diff-modified",{fontCharacter:"\\eade"}),o.diffRemoved=new o("diff-removed",{fontCharacter:"\\eadf"}),o.diffRenamed=new o("diff-renamed",{fontCharacter:"\\eae0"}),o.diff=new o("diff",{fontCharacter:"\\eae1"}),o.discard=new o("discard",{fontCharacter:"\\eae2"}),o.editorLayout=new o("editor-layout",{fontCharacter:"\\eae3"}),o.emptyWindow=new o("empty-window",{fontCharacter:"\\eae4"}),o.exclude=new o("exclude",{fontCharacter:"\\eae5"}),o.extensions=new o("extensions",{fontCharacter:"\\eae6"}),o.eyeClosed=new o("eye-closed",{fontCharacter:"\\eae7"}),o.fileBinary=new o("file-binary",{fontCharacter:"\\eae8"}),o.fileCode=new o("file-code",{fontCharacter:"\\eae9"}),o.fileMedia=new o("file-media",{fontCharacter:"\\eaea"}),o.filePdf=new o("file-pdf",{fontCharacter:"\\eaeb"}),o.fileSubmodule=new o("file-submodule",{fontCharacter:"\\eaec"}),o.fileSymlinkDirectory=new o("file-symlink-directory",{fontCharacter:"\\eaed"}),o.fileSymlinkFile=new o("file-symlink-file",{fontCharacter:"\\eaee"}),o.fileZip=new o("file-zip",{fontCharacter:"\\eaef"}),o.files=new o("files",{fontCharacter:"\\eaf0"}),o.filter=new o("filter",{fontCharacter:"\\eaf1"}),o.flame=new o("flame",{fontCharacter:"\\eaf2"}),o.foldDown=new o("fold-down",{fontCharacter:"\\eaf3"}),o.foldUp=new o("fold-up",{fontCharacter:"\\eaf4"}),o.fold=new o("fold",{fontCharacter:"\\eaf5"}),o.folderActive=new o("folder-active",{fontCharacter:"\\eaf6"}),o.folderOpened=new o("folder-opened",{fontCharacter:"\\eaf7"}),o.gear=new o("gear",{fontCharacter:"\\eaf8"}),o.gift=new o("gift",{fontCharacter:"\\eaf9"}),o.gistSecret=new o("gist-secret",{fontCharacter:"\\eafa"}),o.gist=new o("gist",{fontCharacter:"\\eafb"}),o.gitCommit=new o("git-commit",{fontCharacter:"\\eafc"}),o.gitCompare=new o("git-compare",{fontCharacter:"\\eafd"}),o.gitMerge=new o("git-merge",{fontCharacter:"\\eafe"}),o.githubAction=new o("github-action",{fontCharacter:"\\eaff"}),o.githubAlt=new o("github-alt",{fontCharacter:"\\eb00"}),o.globe=new o("globe",{fontCharacter:"\\eb01"}),o.grabber=new o("grabber",{fontCharacter:"\\eb02"}),o.graph=new o("graph",{fontCharacter:"\\eb03"}),o.gripper=new o("gripper",{fontCharacter:"\\eb04"}),o.heart=new o("heart",{fontCharacter:"\\eb05"}),o.home=new o("home",{fontCharacter:"\\eb06"}),o.horizontalRule=new o("horizontal-rule",{fontCharacter:"\\eb07"}),o.hubot=new o("hubot",{fontCharacter:"\\eb08"}),o.inbox=new o("inbox",{fontCharacter:"\\eb09"}),o.issueClosed=new o("issue-closed",{fontCharacter:"\\eba4"}),o.issueReopened=new o("issue-reopened",{fontCharacter:"\\eb0b"}),o.issues=new o("issues",{fontCharacter:"\\eb0c"}),o.italic=new o("italic",{fontCharacter:"\\eb0d"}),o.jersey=new o("jersey",{fontCharacter:"\\eb0e"}),o.json=new o("json",{fontCharacter:"\\eb0f"}),o.kebabVertical=new o("kebab-vertical",{fontCharacter:"\\eb10"}),o.key=new o("key",{fontCharacter:"\\eb11"}),o.law=new o("law",{fontCharacter:"\\eb12"}),o.lightbulbAutofix=new o("lightbulb-autofix",{fontCharacter:"\\eb13"}),o.linkExternal=new o("link-external",{fontCharacter:"\\eb14"}),o.link=new o("link",{fontCharacter:"\\eb15"}),o.listOrdered=new o("list-ordered",{fontCharacter:"\\eb16"}),o.listUnordered=new o("list-unordered",{fontCharacter:"\\eb17"}),o.liveShare=new o("live-share",{fontCharacter:"\\eb18"}),o.loading=new o("loading",{fontCharacter:"\\eb19"}),o.location=new o("location",{fontCharacter:"\\eb1a"}),o.mailRead=new o("mail-read",{fontCharacter:"\\eb1b"}),o.mail=new o("mail",{fontCharacter:"\\eb1c"}),o.markdown=new o("markdown",{fontCharacter:"\\eb1d"}),o.megaphone=new o("megaphone",{fontCharacter:"\\eb1e"}),o.mention=new o("mention",{fontCharacter:"\\eb1f"}),o.milestone=new o("milestone",{fontCharacter:"\\eb20"}),o.mortarBoard=new o("mortar-board",{fontCharacter:"\\eb21"}),o.move=new o("move",{fontCharacter:"\\eb22"}),o.multipleWindows=new o("multiple-windows",{fontCharacter:"\\eb23"}),o.mute=new o("mute",{fontCharacter:"\\eb24"}),o.noNewline=new o("no-newline",{fontCharacter:"\\eb25"}),o.note=new o("note",{fontCharacter:"\\eb26"}),o.octoface=new o("octoface",{fontCharacter:"\\eb27"}),o.openPreview=new o("open-preview",{fontCharacter:"\\eb28"}),o.package_=new o("package",{fontCharacter:"\\eb29"}),o.paintcan=new o("paintcan",{fontCharacter:"\\eb2a"}),o.pin=new o("pin",{fontCharacter:"\\eb2b"}),o.play=new o("play",{fontCharacter:"\\eb2c"}),o.run=new o("run",{fontCharacter:"\\eb2c"}),o.plug=new o("plug",{fontCharacter:"\\eb2d"}),o.preserveCase=new o("preserve-case",{fontCharacter:"\\eb2e"}),o.preview=new o("preview",{fontCharacter:"\\eb2f"}),o.project=new o("project",{fontCharacter:"\\eb30"}),o.pulse=new o("pulse",{fontCharacter:"\\eb31"}),o.question=new o("question",{fontCharacter:"\\eb32"}),o.quote=new o("quote",{fontCharacter:"\\eb33"}),o.radioTower=new o("radio-tower",{fontCharacter:"\\eb34"}),o.reactions=new o("reactions",{fontCharacter:"\\eb35"}),o.references=new o("references",{fontCharacter:"\\eb36"}),o.refresh=new o("refresh",{fontCharacter:"\\eb37"}),o.regex=new o("regex",{fontCharacter:"\\eb38"}),o.remoteExplorer=new o("remote-explorer",{fontCharacter:"\\eb39"}),o.remote=new o("remote",{fontCharacter:"\\eb3a"}),o.remove=new o("remove",{fontCharacter:"\\eb3b"}),o.replaceAll=new o("replace-all",{fontCharacter:"\\eb3c"}),o.replace=new o("replace",{fontCharacter:"\\eb3d"}),o.repoClone=new o("repo-clone",{fontCharacter:"\\eb3e"}),o.repoForcePush=new o("repo-force-push",{fontCharacter:"\\eb3f"}),o.repoPull=new o("repo-pull",{fontCharacter:"\\eb40"}),o.repoPush=new o("repo-push",{fontCharacter:"\\eb41"}),o.report=new o("report",{fontCharacter:"\\eb42"}),o.requestChanges=new o("request-changes",{fontCharacter:"\\eb43"}),o.rocket=new o("rocket",{fontCharacter:"\\eb44"}),o.rootFolderOpened=new o("root-folder-opened",{fontCharacter:"\\eb45"}),o.rootFolder=new o("root-folder",{fontCharacter:"\\eb46"}),o.rss=new o("rss",{fontCharacter:"\\eb47"}),o.ruby=new o("ruby",{fontCharacter:"\\eb48"}),o.saveAll=new o("save-all",{fontCharacter:"\\eb49"}),o.saveAs=new o("save-as",{fontCharacter:"\\eb4a"}),o.save=new o("save",{fontCharacter:"\\eb4b"}),o.screenFull=new o("screen-full",{fontCharacter:"\\eb4c"}),o.screenNormal=new o("screen-normal",{fontCharacter:"\\eb4d"}),o.searchStop=new o("search-stop",{fontCharacter:"\\eb4e"}),o.server=new o("server",{fontCharacter:"\\eb50"}),o.settingsGear=new o("settings-gear",{fontCharacter:"\\eb51"}),o.settings=new o("settings",{fontCharacter:"\\eb52"}),o.shield=new o("shield",{fontCharacter:"\\eb53"}),o.smiley=new o("smiley",{fontCharacter:"\\eb54"}),o.sortPrecedence=new o("sort-precedence",{fontCharacter:"\\eb55"}),o.splitHorizontal=new o("split-horizontal",{fontCharacter:"\\eb56"}),o.splitVertical=new o("split-vertical",{fontCharacter:"\\eb57"}),o.squirrel=new o("squirrel",{fontCharacter:"\\eb58"}),o.starFull=new o("star-full",{fontCharacter:"\\eb59"}),o.starHalf=new o("star-half",{fontCharacter:"\\eb5a"}),o.symbolClass=new o("symbol-class",{fontCharacter:"\\eb5b"}),o.symbolColor=new o("symbol-color",{fontCharacter:"\\eb5c"}),o.symbolCustomColor=new o("symbol-customcolor",{fontCharacter:"\\eb5c"}),o.symbolConstant=new o("symbol-constant",{fontCharacter:"\\eb5d"}),o.symbolEnumMember=new o("symbol-enum-member",{fontCharacter:"\\eb5e"}),o.symbolField=new o("symbol-field",{fontCharacter:"\\eb5f"}),o.symbolFile=new o("symbol-file",{fontCharacter:"\\eb60"}),o.symbolInterface=new o("symbol-interface",{fontCharacter:"\\eb61"}),o.symbolKeyword=new o("symbol-keyword",{fontCharacter:"\\eb62"}),o.symbolMisc=new o("symbol-misc",{fontCharacter:"\\eb63"}),o.symbolOperator=new o("symbol-operator",{fontCharacter:"\\eb64"}),o.symbolProperty=new o("symbol-property",{fontCharacter:"\\eb65"}),o.wrench=new o("wrench",{fontCharacter:"\\eb65"}),o.wrenchSubaction=new o("wrench-subaction",{fontCharacter:"\\eb65"}),o.symbolSnippet=new o("symbol-snippet",{fontCharacter:"\\eb66"}),o.tasklist=new o("tasklist",{fontCharacter:"\\eb67"}),o.telescope=new o("telescope",{fontCharacter:"\\eb68"}),o.textSize=new o("text-size",{fontCharacter:"\\eb69"}),o.threeBars=new o("three-bars",{fontCharacter:"\\eb6a"}),o.thumbsdown=new o("thumbsdown",{fontCharacter:"\\eb6b"}),o.thumbsup=new o("thumbsup",{fontCharacter:"\\eb6c"}),o.tools=new o("tools",{fontCharacter:"\\eb6d"}),o.triangleDown=new o("triangle-down",{fontCharacter:"\\eb6e"}),o.triangleLeft=new o("triangle-left",{fontCharacter:"\\eb6f"}),o.triangleRight=new o("triangle-right",{fontCharacter:"\\eb70"}),o.triangleUp=new o("triangle-up",{fontCharacter:"\\eb71"}),o.twitter=new o("twitter",{fontCharacter:"\\eb72"}),o.unfold=new o("unfold",{fontCharacter:"\\eb73"}),o.unlock=new o("unlock",{fontCharacter:"\\eb74"}),o.unmute=new o("unmute",{fontCharacter:"\\eb75"}),o.unverified=new o("unverified",{fontCharacter:"\\eb76"}),o.verified=new o("verified",{fontCharacter:"\\eb77"}),o.versions=new o("versions",{fontCharacter:"\\eb78"}),o.vmActive=new o("vm-active",{fontCharacter:"\\eb79"}),o.vmOutline=new o("vm-outline",{fontCharacter:"\\eb7a"}),o.vmRunning=new o("vm-running",{fontCharacter:"\\eb7b"}),o.watch=new o("watch",{fontCharacter:"\\eb7c"}),o.whitespace=new o("whitespace",{fontCharacter:"\\eb7d"}),o.wholeWord=new o("whole-word",{fontCharacter:"\\eb7e"}),o.window=new o("window",{fontCharacter:"\\eb7f"}),o.wordWrap=new o("word-wrap",{fontCharacter:"\\eb80"}),o.zoomIn=new o("zoom-in",{fontCharacter:"\\eb81"}),o.zoomOut=new o("zoom-out",{fontCharacter:"\\eb82"}),o.listFilter=new o("list-filter",{fontCharacter:"\\eb83"}),o.listFlat=new o("list-flat",{fontCharacter:"\\eb84"}),o.listSelection=new o("list-selection",{fontCharacter:"\\eb85"}),o.selection=new o("selection",{fontCharacter:"\\eb85"}),o.listTree=new o("list-tree",{fontCharacter:"\\eb86"}),o.debugBreakpointFunctionUnverified=new o("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),o.debugBreakpointFunction=new o("debug-breakpoint-function",{fontCharacter:"\\eb88"}),o.debugBreakpointFunctionDisabled=new o("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),o.debugStackframeActive=new o("debug-stackframe-active",{fontCharacter:"\\eb89"}),o.debugStackframeDot=new o("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),o.debugStackframe=new o("debug-stackframe",{fontCharacter:"\\eb8b"}),o.debugStackframeFocused=new o("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),o.debugBreakpointUnsupported=new o("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),o.symbolString=new o("symbol-string",{fontCharacter:"\\eb8d"}),o.debugReverseContinue=new o("debug-reverse-continue",{fontCharacter:"\\eb8e"}),o.debugStepBack=new o("debug-step-back",{fontCharacter:"\\eb8f"}),o.debugRestartFrame=new o("debug-restart-frame",{fontCharacter:"\\eb90"}),o.callIncoming=new o("call-incoming",{fontCharacter:"\\eb92"}),o.callOutgoing=new o("call-outgoing",{fontCharacter:"\\eb93"}),o.menu=new o("menu",{fontCharacter:"\\eb94"}),o.expandAll=new o("expand-all",{fontCharacter:"\\eb95"}),o.feedback=new o("feedback",{fontCharacter:"\\eb96"}),o.groupByRefType=new o("group-by-ref-type",{fontCharacter:"\\eb97"}),o.ungroupByRefType=new o("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),o.account=new o("account",{fontCharacter:"\\eb99"}),o.bellDot=new o("bell-dot",{fontCharacter:"\\eb9a"}),o.debugConsole=new o("debug-console",{fontCharacter:"\\eb9b"}),o.library=new o("library",{fontCharacter:"\\eb9c"}),o.output=new o("output",{fontCharacter:"\\eb9d"}),o.runAll=new o("run-all",{fontCharacter:"\\eb9e"}),o.syncIgnored=new o("sync-ignored",{fontCharacter:"\\eb9f"}),o.pinned=new o("pinned",{fontCharacter:"\\eba0"}),o.githubInverted=new o("github-inverted",{fontCharacter:"\\eba1"}),o.debugAlt=new o("debug-alt",{fontCharacter:"\\eb91"}),o.serverProcess=new o("server-process",{fontCharacter:"\\eba2"}),o.serverEnvironment=new o("server-environment",{fontCharacter:"\\eba3"}),o.pass=new o("pass",{fontCharacter:"\\eba4"}),o.stopCircle=new o("stop-circle",{fontCharacter:"\\eba5"}),o.playCircle=new o("play-circle",{fontCharacter:"\\eba6"}),o.record=new o("record",{fontCharacter:"\\eba7"}),o.debugAltSmall=new o("debug-alt-small",{fontCharacter:"\\eba8"}),o.vmConnect=new o("vm-connect",{fontCharacter:"\\eba9"}),o.cloud=new o("cloud",{fontCharacter:"\\ebaa"}),o.merge=new o("merge",{fontCharacter:"\\ebab"}),o.exportIcon=new o("export",{fontCharacter:"\\ebac"}),o.graphLeft=new o("graph-left",{fontCharacter:"\\ebad"}),o.magnet=new o("magnet",{fontCharacter:"\\ebae"}),o.notebook=new o("notebook",{fontCharacter:"\\ebaf"}),o.redo=new o("redo",{fontCharacter:"\\ebb0"}),o.checkAll=new o("check-all",{fontCharacter:"\\ebb1"}),o.pinnedDirty=new o("pinned-dirty",{fontCharacter:"\\ebb2"}),o.passFilled=new o("pass-filled",{fontCharacter:"\\ebb3"}),o.circleLargeFilled=new o("circle-large-filled",{fontCharacter:"\\ebb4"}),o.circleLargeOutline=new o("circle-large-outline",{fontCharacter:"\\ebb5"}),o.combine=new o("combine",{fontCharacter:"\\ebb6"}),o.gather=new o("gather",{fontCharacter:"\\ebb6"}),o.table=new o("table",{fontCharacter:"\\ebb7"}),o.variableGroup=new o("variable-group",{fontCharacter:"\\ebb8"}),o.typeHierarchy=new o("type-hierarchy",{fontCharacter:"\\ebb9"}),o.typeHierarchySub=new o("type-hierarchy-sub",{fontCharacter:"\\ebba"}),o.typeHierarchySuper=new o("type-hierarchy-super",{fontCharacter:"\\ebbb"}),o.gitPullRequestCreate=new o("git-pull-request-create",{fontCharacter:"\\ebbc"}),o.runAbove=new o("run-above",{fontCharacter:"\\ebbd"}),o.runBelow=new o("run-below",{fontCharacter:"\\ebbe"}),o.notebookTemplate=new o("notebook-template",{fontCharacter:"\\ebbf"}),o.debugRerun=new o("debug-rerun",{fontCharacter:"\\ebc0"}),o.workspaceTrusted=new o("workspace-trusted",{fontCharacter:"\\ebc1"}),o.workspaceUntrusted=new o("workspace-untrusted",{fontCharacter:"\\ebc2"}),o.workspaceUnspecified=new o("workspace-unspecified",{fontCharacter:"\\ebc3"}),o.terminalCmd=new o("terminal-cmd",{fontCharacter:"\\ebc4"}),o.terminalDebian=new o("terminal-debian",{fontCharacter:"\\ebc5"}),o.terminalLinux=new o("terminal-linux",{fontCharacter:"\\ebc6"}),o.terminalPowershell=new o("terminal-powershell",{fontCharacter:"\\ebc7"}),o.terminalTmux=new o("terminal-tmux",{fontCharacter:"\\ebc8"}),o.terminalUbuntu=new o("terminal-ubuntu",{fontCharacter:"\\ebc9"}),o.terminalBash=new o("terminal-bash",{fontCharacter:"\\ebca"}),o.arrowSwap=new o("arrow-swap",{fontCharacter:"\\ebcb"}),o.copy=new o("copy",{fontCharacter:"\\ebcc"}),o.personAdd=new o("person-add",{fontCharacter:"\\ebcd"}),o.filterFilled=new o("filter-filled",{fontCharacter:"\\ebce"}),o.wand=new o("wand",{fontCharacter:"\\ebcf"}),o.debugLineByLine=new o("debug-line-by-line",{fontCharacter:"\\ebd0"}),o.inspect=new o("inspect",{fontCharacter:"\\ebd1"}),o.layers=new o("layers",{fontCharacter:"\\ebd2"}),o.layersDot=new o("layers-dot",{fontCharacter:"\\ebd3"}),o.layersActive=new o("layers-active",{fontCharacter:"\\ebd4"}),o.compass=new o("compass",{fontCharacter:"\\ebd5"}),o.compassDot=new o("compass-dot",{fontCharacter:"\\ebd6"}),o.compassActive=new o("compass-active",{fontCharacter:"\\ebd7"}),o.azure=new o("azure",{fontCharacter:"\\ebd8"}),o.issueDraft=new o("issue-draft",{fontCharacter:"\\ebd9"}),o.gitPullRequestClosed=new o("git-pull-request-closed",{fontCharacter:"\\ebda"}),o.gitPullRequestDraft=new o("git-pull-request-draft",{fontCharacter:"\\ebdb"}),o.debugAll=new o("debug-all",{fontCharacter:"\\ebdc"}),o.debugCoverage=new o("debug-coverage",{fontCharacter:"\\ebdd"}),o.runErrors=new o("run-errors",{fontCharacter:"\\ebde"}),o.folderLibrary=new o("folder-library",{fontCharacter:"\\ebdf"}),o.debugContinueSmall=new o("debug-continue-small",{fontCharacter:"\\ebe0"}),o.beakerStop=new o("beaker-stop",{fontCharacter:"\\ebe1"}),o.graphLine=new o("graph-line",{fontCharacter:"\\ebe2"}),o.graphScatter=new o("graph-scatter",{fontCharacter:"\\ebe3"}),o.pieChart=new o("pie-chart",{fontCharacter:"\\ebe4"}),o.bracket=new o("bracket",o.json.definition),o.bracketDot=new o("bracket-dot",{fontCharacter:"\\ebe5"}),o.bracketError=new o("bracket-error",{fontCharacter:"\\ebe6"}),o.lockSmall=new o("lock-small",{fontCharacter:"\\ebe7"}),o.azureDevops=new o("azure-devops",{fontCharacter:"\\ebe8"}),o.verifiedFilled=new o("verified-filled",{fontCharacter:"\\ebe9"}),o.newLine=new o("newline",{fontCharacter:"\\ebea"}),o.layout=new o("layout",{fontCharacter:"\\ebeb"}),o.layoutActivitybarLeft=new o("layout-activitybar-left",{fontCharacter:"\\ebec"}),o.layoutActivitybarRight=new o("layout-activitybar-right",{fontCharacter:"\\ebed"}),o.layoutPanelLeft=new o("layout-panel-left",{fontCharacter:"\\ebee"}),o.layoutPanelCenter=new o("layout-panel-center",{fontCharacter:"\\ebef"}),o.layoutPanelJustify=new o("layout-panel-justify",{fontCharacter:"\\ebf0"}),o.layoutPanelRight=new o("layout-panel-right",{fontCharacter:"\\ebf1"}),o.layoutPanel=new o("layout-panel",{fontCharacter:"\\ebf2"}),o.layoutSidebarLeft=new o("layout-sidebar-left",{fontCharacter:"\\ebf3"}),o.layoutSidebarRight=new o("layout-sidebar-right",{fontCharacter:"\\ebf4"}),o.layoutStatusbar=new o("layout-statusbar",{fontCharacter:"\\ebf5"}),o.layoutMenubar=new o("layout-menubar",{fontCharacter:"\\ebf6"}),o.layoutCentered=new o("layout-centered",{fontCharacter:"\\ebf7"}),o.target=new o("target",{fontCharacter:"\\ebf8"}),o.indent=new o("indent",{fontCharacter:"\\ebf9"}),o.recordSmall=new o("record-small",{fontCharacter:"\\ebfa"}),o.errorSmall=new o("error-small",{fontCharacter:"\\ebfb"}),o.arrowCircleDown=new o("arrow-circle-down",{fontCharacter:"\\ebfc"}),o.arrowCircleLeft=new o("arrow-circle-left",{fontCharacter:"\\ebfd"}),o.arrowCircleRight=new o("arrow-circle-right",{fontCharacter:"\\ebfe"}),o.arrowCircleUp=new o("arrow-circle-up",{fontCharacter:"\\ebff"}),o.dialogError=new o("dialog-error",o.error.definition),o.dialogWarning=new o("dialog-warning",o.warning.definition),o.dialogInfo=new o("dialog-info",o.info.definition),o.dialogClose=new o("dialog-close",o.close.definition),o.treeItemExpanded=new o("tree-item-expanded",o.chevronDown.definition),o.treeFilterOnTypeOn=new o("tree-filter-on-type-on",o.listFilter.definition),o.treeFilterOnTypeOff=new o("tree-filter-on-type-off",o.listSelection.definition),o.treeFilterClear=new o("tree-filter-clear",o.close.definition),o.treeItemLoading=new o("tree-item-loading",o.loading.definition),o.menuSelection=new o("menu-selection",o.check.definition),o.menuSubmenu=new o("menu-submenu",o.chevronRight.definition),o.menuBarMore=new o("menubar-more",o.more.definition),o.scrollbarButtonLeft=new o("scrollbar-button-left",o.triangleLeft.definition),o.scrollbarButtonRight=new o("scrollbar-button-right",o.triangleRight.definition),o.scrollbarButtonUp=new o("scrollbar-button-up",o.triangleUp.definition),o.scrollbarButtonDown=new o("scrollbar-button-down",o.triangleDown.definition),o.toolBarMore=new o("toolbar-more",o.more.definition),o.quickInputBack=new o("quick-input-back",o.arrowLeft.definition),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(e){if(e instanceof o)return["codicon","codicon-"+e.id];const i=t.exec(e.id);if(!i)return n(o.error);let[,r,a]=i;const s=["codicon","codicon-"+r];return a&&s.push("codicon-modifier-"+a.substr(1)),s}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(r||(r={}))},7551:(e,t,n)=>{n.d(t,{E:()=>o,r:()=>r});const i=Object.prototype.hasOwnProperty;function o(e,t){for(let n in e)if(i.call(e,n)&&!1===t({key:n,value:e[n]},(function(){delete e[n]})))return}class r{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}}},5738:(e,t,n)=>{function i(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,{Il:()=>s,VS:()=>o});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 r{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,a=Math.max(t,n,i),s=Math.min(t,n,i);let l=0,c=0;const d=(s+a)/2,u=a-s;if(u>0){switch(c=Math.min(d<=.5?u/(2*d):u/(2-2*d),1),a){case t:l=(n-i)/u+(n<i?6:0);break;case n:l=(i-t)/u+2;break;case i:l=(t-n)/u+4}l*=60,l=Math.round(l)}return new r(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}=e;let s,l,c;if(0===n)s=l=c=i;else{const e=i<.5?i*(1+n):i+n-i*n,o=2*i-e;s=r._hue2rgb(o,e,t+1/3),l=r._hue2rgb(o,e,t),c=r._hue2rgb(o,e,t-1/3)}return new o(Math.round(255*s),Math.round(255*l),Math.round(255*c),a)}}class a{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),r=o-Math.min(t,n,i),s=0===o?0:r/o;let l;return l=0===r?0:o===t?((n-i)/r%6+6)%6:o===n?(i-t)/r+2:(t-n)/r+4,new a(Math.round(60*l),s,o,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:r}=e,a=i*n,s=a*(1-Math.abs(t/60%2-1)),l=i-a;let[c,d,u]=[0,0,0];return t<60?(c=a,d=s):t<120?(c=s,d=a):t<180?(d=a,u=s):t<240?(d=s,u=a):t<300?(c=s,u=a):t<=360&&(c=a,u=s),c=Math.round(255*(c+l)),d=Math.round(255*(d+l)),u=Math.round(255*(u+l)),new o(c,d,u,r)}}class s{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof o)this.rgba=e;else if(e instanceof r)this._hsla=e,this.rgba=r.toRGBA(e);else{if(!(e instanceof a))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=a.toRGBA(e)}}static fromHex(e){return s.Format.CSS.parseHex(e)||s.red}get hsla(){return this._hsla?this._hsla:r.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)}equals(e){return!!e&&o.equals(this.rgba,e.rgba)&&r.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)}getRelativeLuminance(){return i(.2126*s._relativeLuminanceForComponent(this.rgba.r)+.7152*s._relativeLuminanceForComponent(this.rgba.g)+.0722*s._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 s(new r(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new s(new r(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:r}=this.rgba;return new s(new o(t,n,i,r*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new s(new o(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return this._toString||(this._toString=s.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)}}s.white=new s(new o(255,255,255,1)),s.black=new s(new o(0,0,0,1)),s.red=new s(new o(255,0,0,1)),s.blue=new s(new o(0,0,255,1)),s.green=new s(new o(0,255,0,1)),s.cyan=new s(new o(0,255,255,1)),s.lightgrey=new s(new o(211,211,211,1)),s.transparent=new s(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)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),a=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new o(n,r,a,1))}if(9===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),a=16*i(t.charCodeAt(5))+i(t.charCodeAt(6)),s=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new o(n,r,a,s/255))}if(4===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),a=i(t.charCodeAt(3));return new e(new o(16*n+n,16*r+r,16*a+a))}if(5===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),a=i(t.charCodeAt(3)),s=i(t.charCodeAt(4));return new e(new o(16*n+n,16*r+r,16*a+a,(16*s+s)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(s||(s={}))},6297:(e,t,n)=>{function i(e,t,n){let i=null,o=null;if("function"==typeof n.value?(i="value",o=n.value,0!==o.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof n.get&&(i="get",o=n.get),!o)throw new Error("not supported");const r=`$memoize$${t}`;n[i]=function(...e){return this.hasOwnProperty(r)||Object.defineProperty(this,r,{configurable:!1,enumerable:!1,writable:!1,value:o.apply(this,e)}),this[r]}}n.d(t,{H:()=>i})},7943:(e,t,n)=>{n.d(t,{B8:()=>p,Cp:()=>r,F0:()=>d,FU:()=>c,L6:()=>h,b1:()=>u,dL:()=>o,n2:()=>l,ri:()=>a});const i=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function o(e){l(e)||i.onUnexpectedError(e)}function r(e){l(e)||i.onUnexpectedExternalError(e)}function a(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}const s="Canceled";function l(e){return e instanceof c||e instanceof Error&&e.name===s&&e.message===s}class c extends Error{constructor(){super(s),this.name=this.message}}function d(){const e=new Error(s);return e.name=e.message,e}function u(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function h(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class p extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}},9914:(e,t,n)=>{n.d(t,{D0:()=>p,E7:()=>f,K3:()=>h,Q5:()=>u,ZD:()=>g,ju:()=>i});var i,o=n(7943),r=n(5666),a=n(5653),s=n(6639);!function(e){function t(e){return(t,n=null,i)=>{let o,r=!1;return o=e((e=>{if(!r)return o?o.dispose():r=!0,t.call(n,e)}),null,i),r&&o.dispose(),o}}function n(e,t,n){return s(((n,i=null,o)=>e((e=>n.call(i,t(e))),null,o)),n)}function i(e,t,n){return s(((n,i=null,o)=>e((e=>{t(e),n.call(i,e)}),null,o)),n)}function o(e,t,n){return s(((n,i=null,o)=>e((e=>t(e)&&n.call(i,e)),null,o)),n)}function a(e,t,i,o){let r=i;return n(e,(e=>(r=t(r,e),r)),o)}function s(e,t){let n;const i=new u({onFirstListenerAdd(){n=e(i.fire,i)},onLastListenerRemove(){n.dispose()}});return t&&t.add(i),i.event}function l(e,t,n=100,i=!1,o,r){let a,s,l,c=0;const d=new u({leakWarningThreshold:o,onFirstListenerAdd(){a=e((e=>{c++,s=t(s,e),i&&!l&&(d.fire(s),s=void 0),clearTimeout(l),l=setTimeout((()=>{const e=s;s=void 0,l=void 0,(!i||c>1)&&d.fire(e),c=0}),n)}))},onLastListenerRemove(){a.dispose()}});return r&&r.add(d),d.event}function c(e,t=((e,t)=>e===t),n){let i,r=!0;return o(e,(e=>{const n=r||!t(e,i);return r=!1,i=e,n}),n)}e.None=()=>r.JT.None,e.once=t,e.map=n,e.forEach=i,e.filter=o,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>(0,r.F8)(...e.map((e=>e((e=>t.call(n,e)),null,i))))},e.reduce=a,e.debounce=l,e.latch=c,e.split=function(t,n,i){return[e.filter(t,n,i),e.filter(t,(e=>!n(e)),i)]},e.buffer=function(e,t=!1,n=[]){let i=n.slice(),o=e((e=>{i?i.push(e):a.fire(e)}));const r=()=>{i&&i.forEach((e=>a.fire(e))),i=null},a=new u({onFirstListenerAdd(){o||(o=e((e=>a.fire(e))))},onFirstListenerDidAdd(){i&&(t?setTimeout(r):r())},onLastListenerRemove(){o&&o.dispose(),o=null}});return a.event};class d{constructor(e){this.event=e}map(e){return new d(n(this.event,e))}forEach(e){return new d(i(this.event,e))}filter(e){return new d(o(this.event,e))}reduce(e,t){return new d(a(this.event,e,t))}latch(){return new d(c(this.event))}debounce(e,t=100,n=!1,i){return new d(l(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>o.fire(n(...e)),o=new u({onFirstListenerAdd:()=>e.on(t,i),onLastListenerRemove:()=>e.removeListener(t,i)});return o.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>o.fire(n(...e)),o=new u({onFirstListenerAdd:()=>e.addEventListener(t,i),onLastListenerRemove:()=>e.removeEventListener(t,i)});return o.event},e.toPromise=function(e){return new Promise((n=>t(e)(n)))},e.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))},e.runAndSubscribeWithStore=function(e,t){let n=null;function i(e){null==n||n.dispose(),n=new r.SL,t(e,n)}i(void 0);const o=e((e=>i(e)));return(0,r.OF)((()=>{o.dispose(),null==n||n.dispose()}))}}(i||(i={}));class l{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${l._idPool++}`}start(e){this._stopWatch=new s.G(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}l._idPool=0;class c{constructor(e){this.value=e}static create(){var e;return new c(null!==(e=(new Error).stack)&&void 0!==e?e:"")}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class d{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new r.dt}invoke(e){this.callback.call(this.callbackThis,e)}}class u{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new l(this._options._profName):void 0}dispose(){var e,t,n,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(),null===(n=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===n||n.call(t),null===(i=this._leakageMon)||void 0===i||i.dispose())}get event(){return this._event||(this._event=(e,t,n)=>{var i,o,s;this._listeners||(this._listeners=new a.S);const l=this._listeners.isEmpty();let u,h;l&&(null===(i=this._options)||void 0===i?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(h=c.create(),u=this._leakageMon.check(h,this._listeners.size+1));const p=new d(e,t,h),f=this._listeners.push(p);l&&(null===(o=this._options)||void 0===o?void 0:o.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(s=this._options)||void 0===s?void 0:s.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);const g=p.subscription.set((()=>{u&&u(),!this._disposed&&(f(),this._options&&this._options.onLastListenerRemove)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this))}));return n instanceof r.SL?n.add(g):Array.isArray(n)&&n.push(g),g}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new a.S);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[t,n]=this._deliveryQueue.shift();try{t.invoke(n)}catch(e){(0,o.dL)(e)}}null===(n=this._perfMon)||void 0===n||n.stop()}}}class h extends u{constructor(e){super(e),this._isPaused=0,this._eventQueue=new a.S,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class p extends h{constructor(e){var t;super(e),this._delay=null!==(t=e.delay)&&void 0!==t?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout((()=>{this._handle=void 0,this.resume()}),this._delay)),super.fire(e)}}class f{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e((e=>{const i=this.buffers[this.buffers.length-1];i?i.push((()=>t.call(n,e))):t.call(n,e)}),void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach((e=>e())),n}}class g{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=r.JT.None,this.emitter=new u({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},2837:(e,t,n)=>{n.d(t,{KM:()=>d,ej:()=>s,fn:()=>l,oP:()=>h,yj:()=>c});var i=n(238),o=n(1204),r=n(8241);function a(e){return 47===e||92===e}function s(e){return e.replace(/[\\/]/g,i.KR.sep)}function l(e){return-1===e.indexOf("/")&&(e=s(e)),/^[a-zA-Z]:(\/|$)/.test(e)&&(e="/"+e),e}function c(e,t=i.KR.sep){if(!e)return"";const n=e.length,o=e.charCodeAt(0);if(a(o)){if(a(e.charCodeAt(1))&&!a(e.charCodeAt(2))){let i=3;const o=i;for(;i<n&&!a(e.charCodeAt(i));i++);if(o!==i&&!a(e.charCodeAt(i+1)))for(i+=1;i<n;i++)if(a(e.charCodeAt(i)))return e.slice(0,i+1).replace(/[\\/]/g,t)}return t}if(u(o)&&58===e.charCodeAt(1))return a(e.charCodeAt(2))?e.slice(0,2)+t:e.slice(0,2);let r=e.indexOf("://");if(-1!==r)for(r+=3;r<n;r++)if(a(e.charCodeAt(r)))return e.slice(0,r+1);return""}function d(e,t,n,o=i.ir){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!(0,r.ok)(e,t))return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===o&&n--,e.charAt(n)===o}return t.charAt(t.length-1)!==o&&(t+=o),0===e.indexOf(t)}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function h(e,t){return!!(void 0!==t?t:o.ED)&&u(e.charCodeAt(0))&&58===e.charCodeAt(1)}},160:(e,t,n)=>{n.d(t,{CL:()=>P,EW:()=>F,Ji:()=>a,Oh:()=>w,jB:()=>C,l7:()=>j,mB:()=>x});var i=n(472),o=n(8241);function r(...e){return function(t,n){for(let i=0,o=e.length;i<o;i++){const o=e[i](t,n);if(o)return o}return null}}s.bind(void 0,!1);const a=s.bind(void 0,!0);function s(e,t,n){if(!n||n.length<t.length)return null;let i;return i=e?o.ok(n,t):0===n.indexOf(t),i?t.length>0?[{start:0,end:t.length}]:[]:null}function l(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]===t[i]){let o=null;return(o=l(e,t,n+1,i+1))?g({start:i,end:i+1},o):null}return l(e,t,n,i+1)}function c(e){return 97<=e&&e<=122}function d(e){return 65<=e&&e<=90}function u(e){return 48<=e&&e<=57}function h(e){return 32===e||9===e||10===e||13===e}const p=new Set;function f(e){return c(e)||d(e)||u(e)}function g(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function m(e,t){for(let n=t;n<e.length;n++){const t=e.charCodeAt(n);if(d(t)||u(t)||n>0&&!f(e.charCodeAt(n-1)))return n}return e.length}function v(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;{let o=null,r=i+1;for(o=v(e,t,n+1,i+1);!o&&(r=m(t,r))<t.length;)o=v(e,t,n+1,r),r++;return null===o?null:g({start:i,end:i+1},o)}}function b(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){let t=0,n=0,i=0,o=0;for(let r=0;r<e.length;r++)i=e.charCodeAt(r),d(i)&&t++,c(i)&&n++,h(i)&&o++;return 0!==t&&0!==n||0!==o?t<=5:e.length<=30}(e))return null;if(t.length>60)return null;const n=function(e){let t=0,n=0,i=0,o=0,r=0;for(let a=0;a<e.length;a++)r=e.charCodeAt(a),d(r)&&t++,c(r)&&n++,f(r)&&i++,u(r)&&o++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:i/e.length,numericPercent:o/e.length}}(t);if(!function(e){const{upperPercent:t,lowerPercent:n,alphaPercent:i,numericPercent:o}=e;return n>.2&&t<.8&&i>.6&&o<.2}(n)){if(!function(e){const{upperPercent:t,lowerPercent:n}=e;return 0===n&&t>.6}(n))return null;t=t.toLowerCase()}let i=null,o=0;for(e=e.toLowerCase();o<t.length&&null===(i=v(e,t,0,o));)o=m(t,o+1);return i}"()[]{}<>`'\"-/;:,.?!".split("").forEach((e=>p.add(e.charCodeAt(0))));const _=r(a,b,(function(e,t){const n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]})),y=r(a,b,(function(e,t){return l(e.toLowerCase(),t.toLowerCase(),0,0)})),A=new i.z6(1e4);function w(e,t,n=!1){if("string"!=typeof e||"string"!=typeof t)return null;let i=A.get(e);i||(i=new RegExp(o.un(e),"i"),A.set(e,i));const r=i.exec(t);return r?[{start:r.index,end:r.index+r[0].length}]:n?y(e,t):_(e,t)}function C(e,t,n,i,o,r){const a=Math.min(13,e.length);for(;n<a;n++){const a=F(e,t,n,i,o,r,!1);if(a)return a}return[0,r]}function x(e){if(void 0===e)return[];const t=[],n=e[1];for(let i=e.length-1;i>1;i--){const o=e[i]+n,r=t[t.length-1];r&&r.end===o?r.end=o+1:t.push({start:o,end:o+1})}return t}const S=128;function E(){const e=[],t=[];for(let e=0;e<=S;e++)t[e]=0;for(let n=0;n<=S;n++)e.push(t.slice(0));return e}function k(e){const t=[];for(let n=0;n<=e;n++)t[n]=0;return t}const M=k(256),D=k(256),N=E(),I=E(),T=E();function L(e,t){if(t<0||t>=e.length)return!1;const n=e.codePointAt(t);switch(n){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 40:case 91:return!0;case void 0:return!1;default:return!!o.C8(n)}}function B(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function O(e,t,n){return t[e]!==n[e]}var P;function F(e,t,n,i,o,r,a){const s=e.length>S?S:e.length,l=i.length>S?S:i.length;if(n>=s||r>=l||s-n>l-r)return;if(!function(e,t,n,i,o,r,a=!1){for(;t<n&&o<r;)e[t]===i[o]&&(a&&(M[t]=o),t+=1),o+=1;return t===n}(t,n,s,o,r,l,!0))return;!function(e,t,n,i,o,r){let a=e-1,s=t-1;for(;a>=n&&s>=i;)o[a]===r[s]&&(D[a]=s,a--),s--}(s,l,n,r,t,o);let c=1,d=1,u=n,h=r;const p=[!1];for(c=1,u=n;u<s;c++,u++){const a=M[u],f=D[u],g=u+1<s?D[u+1]:l;for(d=a-r+1,h=a;h<g;d++,h++){let s=Number.MIN_SAFE_INTEGER,g=!1;h<=f&&(s=R(e,t,u,n,i,o,h,l,r,0===N[c-1][d-1],p));let m=0;s!==Number.MAX_SAFE_INTEGER&&(g=!0,m=s+I[c-1][d-1]);const v=h>a,b=v?I[c][d-1]+(N[c][d-1]>0?-5:0):0,_=h>a+1&&N[c][d-1]>0,y=_?I[c][d-2]+(N[c][d-2]>0?-5:0):0;if(_&&(!v||y>=b)&&(!g||y>=m))I[c][d]=y,T[c][d]=3,N[c][d]=0;else if(v&&(!g||b>=m))I[c][d]=b,T[c][d]=2,N[c][d]=0;else{if(!g)throw new Error("not possible");I[c][d]=m,T[c][d]=1,N[c][d]=N[c-1][d-1]+1}}}if(!p[0]&&!a)return;c--,d--;const f=[I[c][d],r];let g=0,m=0;for(;c>=1;){let e=d;do{const t=T[c][e];if(3===t)e-=2;else{if(2!==t)break;e-=1}}while(e>=1);g>1&&t[n+c-1]===o[r+d-1]&&!O(e+r-1,i,o)&&g+1>N[c][e]&&(e=d),e===d?g++:g=1,m||(m=e),c--,d=e-1,f.push(d)}l===s&&(f[0]+=2);const v=m-s;return f[0]-=v,f}function R(e,t,n,i,o,r,a,s,l,c,d){if(t[n]!==r[a])return Number.MIN_SAFE_INTEGER;let u=1,h=!1;return a===n-i?u=e[n]===o[a]?7:5:!O(a,o,r)||0!==a&&O(a-1,o,r)?!L(r,a)||0!==a&&L(r,a-1)?(L(r,a-1)||B(r,a-1))&&(u=5,h=!0):u=5:(u=e[n]===o[a]?7:5,h=!0),u>1&&n===i&&(d[0]=!0),h||(h=O(a,o,r)||L(r,a-1)||B(r,a-1)),n===i?a>l&&(u-=h?3:5):u+=c?h?2:0:h?0:1,a+1===s&&(u-=h?3:5),u}function j(e,t,n,i,o,r,a){return function(e,t,n,i,o,r,a,s){let l=F(e,t,n,i,o,r,s);if(e.length>=3){const t=Math.min(7,e.length-1);for(let a=n+1;a<t;a++){const t=z(e,a);if(t){const e=F(t,t.toLowerCase(),n,i,o,r,s);e&&(e[0]-=3,(!l||e[0]>l[0])&&(l=e))}}}return l}(e,t,n,i,o,r,0,a)}function z(e,t){if(t+1>=e.length)return;const n=e[t],i=e[t+1];return n!==i?e.slice(0,t)+i+n+e.slice(t+2):void 0}!function(e){e.Default=[-100,0],e.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]}}(P||(P={}))},2200:(e,t,n)=>{function i(e){const t=this;let n,i=!1;return function(){return i||(i=!0,n=e.apply(t,arguments)),n}}n.d(t,{I:()=>i})},7983:(e,t,n)=>{n.d(t,{Cv:()=>s,SP:()=>r,vp:()=>o,yP:()=>u});var i=n(8241);function o(e){return r(e,0)}function r(e,t){switch(typeof e){case"object":return null===e?a(349,t):Array.isArray(e)?(n=e,i=a(104579,i=t),n.reduce(((e,t)=>r(t,e)),i)):function(e,t){return t=a(181387,t),Object.keys(e).sort().reduce(((t,n)=>(t=s(n,t),r(e[n],t))),t)}(e,t);case"string":return s(e,t);case"boolean":return function(e,t){return a(e?433:863,t)}(e,t);case"number":return a(e,t);case"undefined":return a(937,t);default:return a(617,t)}var n,i}function a(e,t){return(t<<5)-t+e|0}function s(e,t){t=a(149417,t);for(let n=0,i=e.length;n<i;n++)t=a(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 u{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,r,a=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(o=s,r=-1,s=0):(o=e.charCodeAt(0),r=0);;){let l=o;if(i.ZG(o)){if(!(r+1<t)){s=o;break}{const t=e.charCodeAt(r+1);i.YK(t)?(r++,l=i.rL(o,t)):l=65533}}else i.YK(o)&&(l=65533);if(a=this._push(n,a,l),r++,!(r<t))break;o=e.charCodeAt(r)}this._buffLen=a,this._leftoverHighSurrogate=s}_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=u._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,r=this._h0,a=this._h1,s=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=a&s|~a&c,i=1518500249):t<40?(n=a^s^c,i=1859775393):t<60?(n=a&s|a&c|s&c,i=2400959708):(n=a^s^c,i=3395469782),o=l(r,5)+n+d+i+e.getUint32(4*t,!1)&4294967295,d=c,c=s,s=l(a,30),a=r,r=o;this._h0=this._h0+r&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}u._bigBlock32=new DataView(new ArrayBuffer(320))},3056:(e,t,n)=>{n.d(t,{Fr:()=>a,W5:()=>r,oR:()=>s,v1:()=>l});var i=n(7943),o=n(7154);class r{constructor(e="",t=!1){var n,o,r;if(this.value=e,"string"!=typeof this.value)throw(0,i.b1)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=null!==(n=t.isTrusted)&&void 0!==n?n:void 0,this.supportThemeIcons=null!==(o=t.supportThemeIcons)&&void 0!==o&&o,this.supportHtml=null!==(r=t.supportHtml)&&void 0!==r&&r)}appendText(e,t=0){var n;return this.value+=(n=this.supportThemeIcons?(0,o.Qo)(e):e,n.replace(/[\\`*_{}[\]()#+\-!]/g,"\\$&")).replace(/([ \t]+)/g,((e,t)=>"&nbsp;".repeat(t.length))).replace(/\>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=t,this.value+="\n```\n",this}}function a(e){return e instanceof r||!(!e||"object"!=typeof e)&&!("string"!=typeof e.value||"boolean"!=typeof e.isTrusted&&void 0!==e.isTrusted||"boolean"!=typeof e.supportThemeIcons&&void 0!==e.supportThemeIcons)}function s(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}function l(e){const t=[],n=e.split("|").map((e=>e.trim()));e=n[0];const i=n[1];if(i){const e=/height=(\d+)/.exec(i),n=/width=(\d+)/.exec(i),o=e?e[1]:"",r=n?n[1]:"",a=isFinite(parseInt(r)),s=isFinite(parseInt(o));a&&t.push(`width="${r}"`),s&&t.push(`height="${o}"`)}return{href:e,dimensions:t}}},7154:(e,t,n)=>{n.d(t,{Gt:()=>m,Ho:()=>g,Qo:()=>d,f$:()=>h,x$:()=>f});var i=n(3641),o=n(160),r=n(8241);const a="$(",s=new RegExp(`\\$\\(${i.dT.iconNameExpression}(?:${i.dT.iconModifierExpression})?\\)`,"g"),l=new RegExp(i.dT.iconNameCharacter),c=new RegExp(`(\\\\)?${s.source}`,"g");function d(e){return e.replace(c,((e,t)=>t?e:`\\${e}`))}const u=new RegExp(`\\\\${s.source}`,"g");function h(e){return e.replace(u,(e=>`\\${e}`))}const p=new RegExp(`(\\s)?(\\\\)?${s.source}(\\s)?`,"g");function f(e){return-1===e.indexOf(a)?e:e.replace(p,((e,t,n,i)=>n?e:t||i||""))}function g(e){const t=e.indexOf(a);return-1===t?{text:e}:function(e,t){const n=[];let i="";function o(e){if(e){i+=e;for(const t of e)n.push(u)}}let r,s,c=-1,d="",u=0,h=t;const p=e.length;for(o(e.substr(0,t));h<p;)r=e[h],s=e[h+1],r===a[0]&&s===a[1]?(c=h,o(d),d=a,h++):")"===r&&-1!==c?(u+=h-c+1,c=-1,d=""):-1!==c?l.test(r)?d+=r:(o(d),c=-1,d=""):o(r),h++;return o(d),{text:i,iconOffsets:n}}(e,t)}function m(e,t,n=!1){const{text:i,iconOffsets:a}=t;if(!a||0===a.length)return(0,o.Oh)(e,i,n);const s=(0,r.j3)(i," "),l=i.length-s.length,c=(0,o.Oh)(e,s,n);if(c)for(const e of c){const t=a[e.start+l]+l;e.start+=t,e.end+=t}return c}},7768:(e,t,n)=>{n.d(t,{R:()=>i,a:()=>o});class i{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const o=new i("id#")},4087:(e,t,n)=>{var i;n.d(t,{$:()=>i}),function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const i of e)yield t(i,n++)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.concatNested=function*(e){for(const t of e)for(const e of t)yield e},e.reduce=function(e,t,n){let i=n;for(const n of e)i=t(i,n);return i},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]},e.consume=function(t,n=Number.POSITIVE_INFINITY){const i=[];if(0===n)return[i,t];const o=t[Symbol.iterator]();for(let t=0;t<n;t++){const t=o.next();if(t.done)return[i,e.empty()];i.push(t.value)}return[i,{[Symbol.iterator]:()=>o}]},e.equals=function(e,t,n=((e,t)=>e===t)){const i=e[Symbol.iterator](),o=t[Symbol.iterator]();for(;;){const e=i.next(),t=o.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!n(e.value,t.value))return!1}}}(i||(i={}))},4797:(e,t,n)=>{n.d(t,{H_:()=>s,Vd:()=>h,gx:()=>g,kL:()=>f});class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const o=new i,r=new i,a=new i,s=new Array(230),l={},c=[],d=Object.create(null),u=Object.create(null),h=[],p=[];for(let e=0;e<=193;e++)h[e]=-1;for(let e=0;e<=127;e++)p[e]=-1;var f;function g(e,t){return(e|(65535&t)<<16>>>0)>>>0}!function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]];let n=[],i=[];for(const e of t){const[t,f,g,m,v,b,_,y,A,w]=e;if(i[g]||(i[g]=!0,c[g]=m,d[m]=g,u[m.toLowerCase()]=g,f&&(h[g]=v,0!==v&&3!==v&&5!==v&&4!==v&&6!==v&&57!==v&&(p[v]=g))),!n[v]){if(n[v]=!0,!b)throw new Error(`String representation missing for key code ${v} around scan code ${m}`);o.define(v,b),r.define(v,A||b),a.define(v,w||A||b)}_&&(s[_]=v),y&&(l[y]=v)}p[3]=46}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return r.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return r.strToKeyCode(e)||a.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return o.keyCodeToStr(e)}}(f||(f={}))},3374:(e,t,n)=>{n.d(t,{X4:()=>a,jC:()=>s,xo:()=>r});var i=n(9606);class o{constructor(e,t,n=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}toLabel(e,t,n){if(0===t.length)return null;const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=n(r);if(null===a)return null;i[o]=l(r,a,this.modifierLabels[e])}return i.join(" ")}}const r=new o({ctrlKey:"โŒƒ",shiftKey:"โ‡ง",altKey:"โŒฅ",metaKey:"โŒ˜",separator:""},{ctrlKey:i.N({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:i.N({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:i.N({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:i.N({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:i.N({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:i.N({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:i.N({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:i.N({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),a=new o({ctrlKey:i.N({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:i.N({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:i.N({key:"optKey.long",comment:["This is the long form for the Alt/Option key on the keyboard"]},"Option"),metaKey:i.N({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:i.N({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:i.N({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:i.N({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:i.N({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:i.N({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:i.N({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:i.N({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:i.N({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"}),s=new o({ctrlKey:"Ctrl",shiftKey:"Shift",altKey:"Alt",metaKey:"Cmd",separator:"+"},{ctrlKey:"Ctrl",shiftKey:"Shift",altKey:"Alt",metaKey:"Super",separator:"+"});function l(e,t,n){if(null===t)return"";const i=[];return e.ctrlKey&&i.push(n.ctrlKey),e.shiftKey&&i.push(n.shiftKey),e.altKey&&i.push(n.altKey),e.metaKey&&i.push(n.metaKey),""!==t&&i.push(t),i.join(n.separator)}new o({ctrlKey:"ctrl",shiftKey:"shift",altKey:"alt",metaKey:"cmd",separator:"+"},{ctrlKey:"ctrl",shiftKey:"shift",altKey:"alt",metaKey:"win",separator:"+"},{ctrlKey:"ctrl",shiftKey:"shift",altKey:"alt",metaKey:"meta",separator:"+"})},4130:(e,t,n)=>{n.d(t,{BQ:()=>l,QC:()=>a,X_:()=>s,f1:()=>c,gm:()=>o});var i=n(7943);function o(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new s(0!==i?[r(n,t),r(i,t)]:[r(n,t)])}function r(e,t){const n=!!(2048&e),i=!!(256&e);return new a(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}class a{constructor(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new s([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class s{constructor(e){if(0===e.length)throw(0,i.b1)("parts");this.parts=e}}class l{constructor(e,t,n,i,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=r}}class c{}},5666:(e,t,n)=>{n.d(t,{B9:()=>l,F8:()=>c,JT:()=>h,Jz:()=>g,OF:()=>d,SL:()=>u,Wf:()=>s,XK:()=>p,dk:()=>r,dt:()=>f});var i=n(2200),o=n(4087);function r(e){return e}class a extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function s(e){return"function"==typeof e.dispose&&0===e.dispose.length}function l(e){if(o.$.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new a(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function c(...e){return d((()=>l(e)))}function d(e){return{dispose:(0,i.I)((()=>{e()}))}}class u{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{l(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?u.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}u.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new u,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}h.None=Object.freeze({dispose(){}});class p{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e}}class f{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}class g{constructor(e){this.object=e}dispose(){}}},5653:(e,t,n)=>{n.d(t,{S:()=>o});class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class o{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){let e=this._first;for(;e!==i.Undefined;){const t=e.next;e.prev=i.Undefined,e.next=i.Undefined,e=t}this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let o=!1;return()=>{o||(o=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}}},472:(e,t,n)=>{n.d(t,{Id:()=>u,Y9:()=>p,z6:()=>g});var i,o,r=n(8241);class a{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}class s{constructor(e=!0){this._caseSensitive=e}reset(e){return this._value=e,this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++)if(46===this._value.charCodeAt(this._to)){if(!e)break;this._from++}else e=!1;return this}cmp(e){return this._caseSensitive?(0,r.TT)(e,this._value,0,e.length,this._from,this._to):(0,r.j_)(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class l{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){this._from=0,this._to=0,this._value=e,this._valueLen=e.length;for(let t=e.length-1;t>=0;t--,this._valueLen--){const e=this._value.charCodeAt(t);if(!(47===e||this._splitOnBackslash&&92===e))break}return this.next()}hasNext(){return this._to<this._valueLen}next(){this._from=this._to;let e=!0;for(;this._to<this._valueLen;this._to++){const t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this}cmp(e){return this._caseSensitive?(0,r.TT)(e,this._value,0,e.length,this._from,this._to):(0,r.j_)(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class c{constructor(e){this._ignorePathCasing=e,this._states=[],this._stateIdx=0}reset(e){return this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path&&(this._pathIterator=new l(!1,!this._ignorePathCasing(e)),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)),this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return 3===this._states[this._stateIdx]&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(1===this._states[this._stateIdx])return(0,r.zY)(e,this._value.scheme);if(2===this._states[this._stateIdx])return(0,r.zY)(e,this._value.authority);if(3===this._states[this._stateIdx])return this._pathIterator.cmp(e);if(4===this._states[this._stateIdx])return(0,r.qu)(e,this._value.query);if(5===this._states[this._stateIdx])return(0,r.qu)(e,this._value.fragment);throw new Error}value(){if(1===this._states[this._stateIdx])return this._value.scheme;if(2===this._states[this._stateIdx])return this._value.authority;if(3===this._states[this._stateIdx])return this._pathIterator.value();if(4===this._states[this._stateIdx])return this._value.query;if(5===this._states[this._stateIdx])return this._value.fragment;throw new Error}}class d{constructor(){this.height=1}rotateLeft(){const e=this.right;return this.right=e.left,e.left=this,this.updateHeight(),e.updateHeight(),e}rotateRight(){const e=this.left;return this.left=e.right,e.right=this,this.updateHeight(),e.updateHeight(),e}updateHeight(){this.height=1+Math.max(this.heightLeft,this.heightRight)}balanceFactor(){return this.heightRight-this.heightLeft}get heightLeft(){var e,t;return null!==(t=null===(e=this.left)||void 0===e?void 0:e.height)&&void 0!==t?t:0}get heightRight(){var e,t;return null!==(t=null===(e=this.right)||void 0===e?void 0:e.height)&&void 0!==t?t:0}}class u{constructor(e){this._iter=e}static forUris(e=(()=>!1)){return new u(new c(e))}static forStrings(){return new u(new a)}static forConfigKeys(){return new u(new s)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let i;this._root||(this._root=new d,this._root.segment=n.value());const o=[];for(i=this._root;;){const e=n.cmp(i.segment);if(e>0)i.left||(i.left=new d,i.left.segment=n.value()),o.push([-1,i]),i=i.left;else if(e<0)i.right||(i.right=new d,i.right.segment=n.value()),o.push([1,i]),i=i.right;else{if(!n.hasNext())break;n.next(),i.mid||(i.mid=new d,i.mid.segment=n.value()),o.push([0,i]),i=i.mid}}const r=i.value;i.value=t,i.key=e;for(let e=o.length-1;e>=0;e--){const t=o[e][1];t.updateHeight();const n=t.balanceFactor();if(n<-1||n>1){const n=o[e][0],i=o[e+1][0];if(1===n&&1===i)o[e][1]=t.rotateLeft();else if(-1===n&&-1===i)o[e][1]=t.rotateRight();else if(1===n&&-1===i)t.right=o[e+1][1]=o[e+1][1].rotateRight(),o[e][1]=t.rotateLeft();else{if(-1!==n||1!==i)throw new Error;t.left=o[e+1][1]=o[e+1][1].rotateLeft(),o[e][1]=t.rotateRight()}if(e>0)switch(o[e-1][0]){case-1:o[e-1][1].left=o[e][1];break;case 1:o[e-1][1].right=o[e][1];break;case 0:o[e-1][1].mid=o[e][1]}else this._root=o[0][1]}}return r}get(e){var t;return null===(t=this._getNode(e))||void 0===t?void 0:t.value}_getNode(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n}has(e){const t=this._getNode(e);return!(void 0===(null==t?void 0:t.value)&&void 0===(null==t?void 0:t.mid))}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var n;const i=this._iter.reset(e),o=[];let r=this._root;for(;r;){const e=i.cmp(r.segment);if(e>0)o.push([-1,r]),r=r.left;else if(e<0)o.push([1,r]),r=r.right;else{if(!i.hasNext())break;i.next(),o.push([0,r]),r=r.mid}}if(r){if(t?(r.left=void 0,r.mid=void 0,r.right=void 0,r.height=1):(r.key=void 0,r.value=void 0),!r.mid&&!r.value)if(r.left&&r.right){const e=this._min(r.right),{key:t,value:n,segment:i}=e;this._delete(e.key,!1),r.key=t,r.value=n,r.segment=i}else{const e=null!==(n=r.left)&&void 0!==n?n:r.right;if(o.length>0){const[t,n]=o[o.length-1];switch(t){case-1:n.left=e;break;case 0:n.mid=e;break;case 1:n.right=e}}else this._root=e}for(let e=o.length-1;e>=0;e--){const t=o[e][1];t.updateHeight();const n=t.balanceFactor();if(n>1?(t.right.balanceFactor()>=0||(t.right=t.right.rotateRight()),o[e][1]=t.rotateLeft()):n<-1&&(t.left.balanceFactor()<=0||(t.left=t.left.rotateLeft()),o[e][1]=t.rotateRight()),e>0)switch(o[e-1][0]){case-1:o[e-1][1].left=o[e][1];break;case 1:o[e-1][1].right=o[e][1];break;case 0:o[e-1][1].mid=o[e][1]}else this._root=o[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){const t=this._iter.reset(e);let n,i=this._root;for(;i;){const e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else{if(!t.hasNext())break;t.next(),n=i.value||n,i=i.mid}}return i&&i.value||n}findSuperstr(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())return n.mid?this._entries(n.mid):void 0;t.next(),n=n.mid}}}forEach(e){for(const[t,n]of this)e(n,t)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(e){e&&(e.left&&(yield*this._entries(e.left)),e.value&&(yield[e.key,e.value]),e.mid&&(yield*this._entries(e.mid)),e.right&&(yield*this._entries(e.right)))}}class h{constructor(e,t){this.uri=e,this.value=t}}class p{constructor(e,t){this[i]="ResourceMap",e instanceof p?(this.map=new Map(e.map),this.toKey=null!=t?t:p.defaultToKey):(this.map=new Map,this.toKey=null!=e?e:p.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),new h(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(let[t,n]of this.map)e(n.value,n.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(i=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}p.defaultToKey=e=>e.toString();class f{constructor(){this[o]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:case 2:default:this.addItemLast(i);break;case 1:this.addItemFirst(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}values(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}[(o=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach(((t,n)=>{e.push([n,t])})),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class g extends f{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},1296:(e,t,n)=>{n.d(t,{Q:()=>r});var i=n(578),o=n(6283);function r(e){let t=JSON.parse(e);return t=a(t),t}function a(e,t=0){if(!e||t>200)return e;if("object"==typeof e){switch(e.$mid){case 1:return o.o.revive(e);case 2:return new RegExp(e.source,e.flags);case 14:return new Date(e.source)}if(e instanceof i.KN||e instanceof Uint8Array)return e;if(Array.isArray(e))for(let n=0;n<e.length;++n)e[n]=a(e[n],t+1);else for(const n in e)Object.hasOwnProperty.call(e,n)&&(e[n]=a(e[n],t+1))}return e}},7467:(e,t,n)=>{var i;n.d(t,{v:()=>i}),function(e){e.text="text/plain",e.binary="application/octet-stream",e.unknown="application/unknown",e.markdown="text/markdown",e.latex="text/latex",e.uriList="text/uri-list"}(i||(i={}))},6390:(e,t,n)=>{n.d(t,{Gi:()=>l,WX:()=>a,lg:()=>i});var i,o=n(1204),r=n(6283);!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.userData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebook="vscode-notebook",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeInteractive="vscode-interactive",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls"}(i||(i={}));const a=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n=`[${n}]`);const a=this._ports[t],s=this._connectionTokens[t];let l=`path=${encodeURIComponent(e.path)}`;return"string"==typeof s&&(l+=`&tkn=${encodeURIComponent(s)}`),r.o.from({scheme:o.$L?this._preferredWebSchema:i.vscodeRemoteResource,authority:`${n}:${a}`,path:"/vscode-remote-resource",query:l})}};class s{asBrowserUri(e,t){const n=this.toUri(e,t);return n.scheme===i.vscodeRemote?a.rewrite(n):n.scheme===i.file&&(o.tY||o.n2&&o.li.origin===`${i.vscodeFileResource}://${s.FALLBACK_AUTHORITY}`)?n.with({scheme:i.vscodeFileResource,authority:n.authority||s.FALLBACK_AUTHORITY,query:null,fragment:null}):n}toUri(e,t){return r.o.isUri(e)?e:r.o.parse(t.toUrl(e))}}s.FALLBACK_AUTHORITY="vscode-app";const l=new s},2669:(e,t,n)=>{function i(e,t,n){return Math.min(Math.max(e,t),n)}n.d(t,{N:()=>r,nM:()=>o,uZ:()=>i});class o{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}class r{constructor(e){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(e),this._values.fill(0,0,e)}update(e){const t=this._values[this._index];return this._values[this._index]=e,this._index=(this._index+1)%this._values.length,this._sum-=t,this._sum+=e,this._n<this._values.length&&(this._n+=1),this._val=this._sum/this._n,this._val}get value(){return this._val}}},5440:(e,t,n)=>{n.d(t,{CJ:()=>u,I8:()=>o,_A:()=>r,fS:()=>d,jB:()=>c,rs:()=>s});var i=n(8725);function o(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((n=>{e[n]&&"object"==typeof e[n]?t[n]=o(e[n]):t[n]=e[n]})),t}function r(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(a.call(e,n)){const i=e[n];"object"!=typeof i||Object.isFrozen(i)||t.push(i)}}return e}const a=Object.prototype.hasOwnProperty;function s(e,t){return l(e,t,new Set)}function l(e,t,n){if((0,i.Jp)(e))return e;const o=t(e);if(void 0!==o)return o;if((0,i.kJ)(e)){const i=[];for(const o of e)i.push(l(o,t,n));return i}if((0,i.Kn)(e)){if(n.has(e))throw new Error("Cannot clone recursive data-structure");n.add(e);const i={};for(let o in e)a.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.Kn)(e)?((0,i.Kn)(t)&&Object.keys(t).forEach((o=>{o in e?n&&((0,i.Kn)(e[o])&&(0,i.Kn)(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 r=[];for(i in t)r.push(i);if(r.sort(),!d(o,r))return!1;for(n=0;n<o.length;n++)if(!d(e[o[n]],t[o[n]]))return!1}return!0}function u(e,t,n){const i=t(e);return void 0===i?n:i}},238:(e,t,n)=>{n.d(t,{EZ:()=>S,XX:()=>x,DZ:()=>E,Fv:()=>A,KR:()=>y,Gf:()=>C,DB:()=>w,ir:()=>k,Ku:()=>_});var i=n(1204);let o;if(void 0!==i.li.vscode&&void 0!==i.li.vscode.process){const e=i.li.vscode.process;o={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else o="undefined"!=typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return i.ED?"win32":i.dz?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const r=o.cwd,a=o.env,s=o.platform,l=46,c=47,d=92,u=58;class h extends Error{constructor(e,t,n){let i;"string"==typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const o=-1!==e.indexOf(".")?"property":"argument";let r=`The "${e}" ${o} ${i} of type ${t}`;r+=". Received type "+typeof n,super(r),this.code="ERR_INVALID_ARG_TYPE"}}function p(e,t){if("string"!=typeof e)throw new h(t,"string",e)}function f(e){return e===c||e===d}function g(e){return e===c}function m(e){return e>=65&&e<=90||e>=97&&e<=122}function v(e,t,n,i){let o="",r=0,a=-1,s=0,d=0;for(let u=0;u<=e.length;++u){if(u<e.length)d=e.charCodeAt(u);else{if(i(d))break;d=c}if(i(d)){if(a===u-1||1===s);else if(2===s){if(o.length<2||2!==r||o.charCodeAt(o.length-1)!==l||o.charCodeAt(o.length-2)!==l){if(o.length>2){const e=o.lastIndexOf(n);-1===e?(o="",r=0):(o=o.slice(0,e),r=o.length-1-o.lastIndexOf(n)),a=u,s=0;continue}if(0!==o.length){o="",r=0,a=u,s=0;continue}}t&&(o+=o.length>0?`${n}..`:"..",r=2)}else o.length>0?o+=`${n}${e.slice(a+1,u)}`:o=e.slice(a+1,u),r=u-a-1;a=u,s=0}else d===l&&-1!==s?++s:s=-1}return o}function b(e,t){if(null===t||"object"!=typeof t)throw new h("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const _={resolve(...e){let t="",n="",i=!1;for(let o=e.length-1;o>=-1;o--){let s;if(o>=0){if(s=e[o],p(s,"path"),0===s.length)continue}else 0===t.length?s=r():(s=a[`=${t}`]||r(),(void 0===s||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===d)&&(s=`${t}\\`));const l=s.length;let c=0,h="",g=!1;const v=s.charCodeAt(0);if(1===l)f(v)&&(c=1,g=!0);else if(f(v))if(g=!0,f(s.charCodeAt(1))){let e=2,t=e;for(;e<l&&!f(s.charCodeAt(e));)e++;if(e<l&&e!==t){const n=s.slice(t,e);for(t=e;e<l&&f(s.charCodeAt(e));)e++;if(e<l&&e!==t){for(t=e;e<l&&!f(s.charCodeAt(e));)e++;e!==l&&e===t||(h=`\\\\${n}\\${s.slice(t,e)}`,c=e)}}}else c=1;else m(v)&&s.charCodeAt(1)===u&&(h=s.slice(0,2),c=2,l>2&&f(s.charCodeAt(2))&&(g=!0,c=3));if(h.length>0)if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h;if(i){if(t.length>0)break}else if(n=`${s.slice(c)}\\${n}`,i=g,g&&t.length>0)break}return n=v(n,!i,"\\",f),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){p(e,"path");const t=e.length;if(0===t)return".";let n,i=0,o=!1;const r=e.charCodeAt(0);if(1===t)return g(r)?"\\":e;if(f(r))if(o=!0,f(e.charCodeAt(1))){let o=2,r=o;for(;o<t&&!f(e.charCodeAt(o));)o++;if(o<t&&o!==r){const a=e.slice(r,o);for(r=o;o<t&&f(e.charCodeAt(o));)o++;if(o<t&&o!==r){for(r=o;o<t&&!f(e.charCodeAt(o));)o++;if(o===t)return`\\\\${a}\\${e.slice(r)}\\`;o!==r&&(n=`\\\\${a}\\${e.slice(r,o)}`,i=o)}}}else i=1;else m(r)&&e.charCodeAt(1)===u&&(n=e.slice(0,2),i=2,t>2&&f(e.charCodeAt(2))&&(o=!0,i=3));let a=i<t?v(e.slice(i),!o,"\\",f):"";return 0!==a.length||o||(a="."),a.length>0&&f(e.charCodeAt(t-1))&&(a+="\\"),void 0===n?o?`\\${a}`:a:o?`${n}\\${a}`:`${n}${a}`},isAbsolute(e){p(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return f(n)||t>2&&m(n)&&e.charCodeAt(1)===u&&f(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let i=0;i<e.length;++i){const o=e[i];p(o,"path"),o.length>0&&(void 0===t?t=n=o:t+=`\\${o}`)}if(void 0===t)return".";let i=!0,o=0;if("string"==typeof n&&f(n.charCodeAt(0))){++o;const e=n.length;e>1&&f(n.charCodeAt(1))&&(++o,e>2&&(f(n.charCodeAt(2))?++o:i=!1))}if(i){for(;o<t.length&&f(t.charCodeAt(o));)o++;o>=2&&(t=`\\${t.slice(o)}`)}return _.normalize(t)},relative(e,t){if(p(e,"from"),p(t,"to"),e===t)return"";const n=_.resolve(e),i=_.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let o=0;for(;o<e.length&&e.charCodeAt(o)===d;)o++;let r=e.length;for(;r-1>o&&e.charCodeAt(r-1)===d;)r--;const a=r-o;let s=0;for(;s<t.length&&t.charCodeAt(s)===d;)s++;let l=t.length;for(;l-1>s&&t.charCodeAt(l-1)===d;)l--;const c=l-s,u=a<c?a:c;let h=-1,f=0;for(;f<u;f++){const n=e.charCodeAt(o+f);if(n!==t.charCodeAt(s+f))break;n===d&&(h=f)}if(f!==u){if(-1===h)return i}else{if(c>u){if(t.charCodeAt(s+f)===d)return i.slice(s+f+1);if(2===f)return i.slice(s+f)}a>u&&(e.charCodeAt(o+f)===d?h=f:2===f&&(h=3)),-1===h&&(h=0)}let g="";for(f=o+h+1;f<=r;++f)f!==r&&e.charCodeAt(f)!==d||(g+=0===g.length?"..":"\\..");return s+=h,g.length>0?`${g}${i.slice(s,l)}`:(i.charCodeAt(s)===d&&++s,i.slice(s,l))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=_.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===d){if(t.charCodeAt(1)===d){const e=t.charCodeAt(2);if(63!==e&&e!==l)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(m(t.charCodeAt(0))&&t.charCodeAt(1)===u&&t.charCodeAt(2)===d)return`\\\\?\\${t}`;return e},dirname(e){p(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const o=e.charCodeAt(0);if(1===t)return f(o)?e:".";if(f(o)){if(n=i=1,f(e.charCodeAt(1))){let o=2,r=o;for(;o<t&&!f(e.charCodeAt(o));)o++;if(o<t&&o!==r){for(r=o;o<t&&f(e.charCodeAt(o));)o++;if(o<t&&o!==r){for(r=o;o<t&&!f(e.charCodeAt(o));)o++;if(o===t)return e;o!==r&&(n=i=o+1)}}}}else m(o)&&e.charCodeAt(1)===u&&(n=t>2&&f(e.charCodeAt(2))?3:2,i=n);let r=-1,a=!0;for(let n=t-1;n>=i;--n)if(f(e.charCodeAt(n))){if(!a){r=n;break}}else a=!1;if(-1===r){if(-1===n)return".";r=n}return e.slice(0,r)},basename(e,t){void 0!==t&&p(t,"ext"),p(e,"path");let n,i=0,o=-1,r=!0;if(e.length>=2&&m(e.charCodeAt(0))&&e.charCodeAt(1)===u&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=i;--n){const l=e.charCodeAt(n);if(f(l)){if(!r){i=n+1;break}}else-1===s&&(r=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1==--a&&(o=n):(a=-1,o=s))}return i===o?o=s:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=i;--n)if(f(e.charCodeAt(n))){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){p(e,"path");let t=0,n=-1,i=0,o=-1,r=!0,a=0;e.length>=2&&e.charCodeAt(1)===u&&m(e.charCodeAt(0))&&(t=i=2);for(let s=e.length-1;s>=t;--s){const t=e.charCodeAt(s);if(f(t)){if(!r){i=s+1;break}}else-1===o&&(r=!1,o=s+1),t===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return-1===n||-1===o||0===a||1===a&&n===o-1&&n===i+1?"":e.slice(n,o)},format:b.bind(null,"\\"),parse(e){p(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,o=e.charCodeAt(0);if(1===n)return f(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(f(o)){if(i=1,f(e.charCodeAt(1))){let t=2,o=t;for(;t<n&&!f(e.charCodeAt(t));)t++;if(t<n&&t!==o){for(o=t;t<n&&f(e.charCodeAt(t));)t++;if(t<n&&t!==o){for(o=t;t<n&&!f(e.charCodeAt(t));)t++;t===n?i=t:t!==o&&(i=t+1)}}}}else if(m(o)&&e.charCodeAt(1)===u){if(n<=2)return t.root=t.dir=e,t;if(i=2,f(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let r=-1,a=i,s=-1,c=!0,d=e.length-1,h=0;for(;d>=i;--d)if(o=e.charCodeAt(d),f(o)){if(!c){a=d+1;break}}else-1===s&&(c=!1,s=d+1),o===l?-1===r?r=d:1!==h&&(h=1):-1!==r&&(h=-1);return-1!==s&&(-1===r||0===h||1===h&&r===s-1&&r===a+1?t.base=t.name=e.slice(a,s):(t.name=e.slice(a,r),t.base=e.slice(a,s),t.ext=e.slice(r,s))),t.dir=a>0&&a!==i?e.slice(0,a-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},y={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const o=i>=0?e[i]:r();p(o,"path"),0!==o.length&&(t=`${o}/${t}`,n=o.charCodeAt(0)===c)}return t=v(t,!n,"/",g),n?`/${t}`:t.length>0?t:"."},normalize(e){if(p(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===c,n=e.charCodeAt(e.length-1)===c;return 0===(e=v(e,!t,"/",g)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(p(e,"path"),e.length>0&&e.charCodeAt(0)===c),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];p(i,"path"),i.length>0&&(void 0===t?t=i:t+=`/${i}`)}return void 0===t?".":y.normalize(t)},relative(e,t){if(p(e,"from"),p(t,"to"),e===t)return"";if((e=y.resolve(e))===(t=y.resolve(t)))return"";const n=e.length,i=n-1,o=t.length-1,r=i<o?i:o;let a=-1,s=0;for(;s<r;s++){const n=e.charCodeAt(1+s);if(n!==t.charCodeAt(1+s))break;n===c&&(a=s)}if(s===r)if(o>r){if(t.charCodeAt(1+s)===c)return t.slice(1+s+1);if(0===s)return t.slice(1+s)}else i>r&&(e.charCodeAt(1+s)===c?a=s:0===s&&(a=0));let l="";for(s=1+a+1;s<=n;++s)s!==n&&e.charCodeAt(s)!==c||(l+=0===l.length?"..":"/..");return`${l}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(p(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===c;let n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(e.charCodeAt(t)===c){if(!i){n=t;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&p(t,"ext"),p(e,"path");let n,i=0,o=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===c){if(!r){i=n+1;break}}else-1===s&&(r=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1==--a&&(o=n):(a=-1,o=s))}return i===o?o=s:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===c){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){p(e,"path");let t=-1,n=0,i=-1,o=!0,r=0;for(let a=e.length-1;a>=0;--a){const s=e.charCodeAt(a);if(s!==c)-1===i&&(o=!1,i=a+1),s===l?-1===t?t=a:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=a+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)},format:b.bind(null,"/"),parse(e){p(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===c;let i;n?(t.root="/",i=1):i=0;let o=-1,r=0,a=-1,s=!0,d=e.length-1,u=0;for(;d>=i;--d){const t=e.charCodeAt(d);if(t!==c)-1===a&&(s=!1,a=d+1),t===l?-1===o?o=d:1!==u&&(u=1):-1!==o&&(u=-1);else if(!s){r=d+1;break}}if(-1!==a){const i=0===r&&n?1:r;-1===o||0===u||1===u&&o===a-1&&o===r+1?t.base=t.name=e.slice(i,a):(t.name=e.slice(i,o),t.base=e.slice(i,a),t.ext=e.slice(o,a))}return r>0?t.dir=e.slice(0,r-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};y.win32=_.win32=_,y.posix=_.posix=y;const A="win32"===s?_.normalize:y.normalize,w="win32"===s?_.resolve:y.resolve,C="win32"===s?_.relative:y.relative,x="win32"===s?_.dirname:y.dirname,S="win32"===s?_.basename:y.basename,E="win32"===s?_.extname:y.extname,k="win32"===s?_.sep:y.sep},1204:(e,t,n)=>{var i;n.d(t,{$L:()=>k,ED:()=>C,G6:()=>R,IJ:()=>S,OS:()=>T,dz:()=>x,fn:()=>I,gn:()=>D,i7:()=>P,li:()=>b,n2:()=>M,r:()=>O,tY:()=>E,un:()=>j,vU:()=>F});const o="en";let r,a,s=!1,l=!1,c=!1,d=!1,u=!1,h=!1,p=!1,f=!1,g=!1,m=null,v=null;const b="object"==typeof self?self:"object"==typeof n.g?n.g:{};let _;void 0!==b.vscode&&void 0!==b.vscode.process?_=b.vscode.process:"undefined"!=typeof process&&(_=process);const y="string"==typeof(null===(i=null==_?void 0:_.versions)||void 0===i?void 0:i.electron),A=y&&"renderer"===(null==_?void 0:_.type);if("object"!=typeof navigator||A)if("object"==typeof _){s="win32"===_.platform,l="darwin"===_.platform,c="linux"===_.platform,d=c&&!!_.env.SNAP&&!!_.env.SNAP_REVISION,p=y,g=!!_.env.CI||!!_.env.BUILD_ARTIFACTSTAGINGDIRECTORY,r=o,m=o;const t=_.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];r=e.locale,m=n||o,v=e._translationsConfigFile}catch(e){}u=!0}else console.error("Unable to resolve platform.");else a=navigator.userAgent,s=a.indexOf("Windows")>=0,l=a.indexOf("Macintosh")>=0,f=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=a.indexOf("Linux")>=0,h=!0,r=navigator.language,m=r;let w=0;l?w=1:s?w=3:c&&(w=2);const C=s,x=l,S=c,E=u,k=h,M=h&&"function"==typeof b.importScripts,D=f,N=a,I=(()=>{if("function"==typeof b.postMessage&&!b.importScripts){let e=[];b.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeScheduleAsyncWork)return e.splice(n,1),void i.callback()}}));let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),b.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})(),T=l||f?2:s?1:3;let L=!0,B=!1;function O(){if(!B){B=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);L=513===t[0]}return L}const P=!!(N&&N.indexOf("Chrome")>=0),F=!!(N&&N.indexOf("Firefox")>=0),R=!!(!P&&N&&N.indexOf("Safari")>=0),j=!!(N&&N.indexOf("Edg/")>=0);N&&N.indexOf("Android")},7865:(e,t,n)=>{var i;n.d(t,{e:()=>i}),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};const n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=n,e.intersects=function(e,i){return!n(t(e,i))},e.relativeComplement=function(e,t){const i=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return n(o)||i.push(o),n(r)||i.push(r),i}}(i||(i={}))},2650:(e,t,n)=>{n.d(t,{AH:()=>g,DZ:()=>p,EZ:()=>h,Vb:()=>_,XX:()=>f,i3:()=>m});var i=n(2837),o=n(6390),r=n(238),a=n(1204),s=n(8241),l=n(6283);function c(e){return(0,l.q)(e,!0)}class d{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:(0,s.qu)(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,n=!1){if(e.scheme===t.scheme){if(e.scheme===o.lg.file)return i.KM(c(e),c(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(v(e.authority,t.authority))return i.KM(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return l.o.joinPath(e,...t)}basenameOrAuthority(e){return h(e)||e.authority}basename(e){return r.KR.basename(e.path)}extname(e){return r.KR.extname(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===o.lg.file?t=l.o.file(r.XX(c(e))).path:(t=r.KR.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===o.lg.file?l.o.file(r.Fv(c(e))).path:r.KR.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!v(e.authority,t.authority))return;if(e.scheme===o.lg.file){const n=r.Gf(c(e),c(t));return a.ED?i.ej(n):n}let n=e.path||"/",s=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,s.length);e<t&&(n.charCodeAt(e)===s.charCodeAt(e)||n.charAt(e).toLowerCase()===s.charAt(e).toLowerCase());e++);n=s.substr(0,e)+n.substr(e)}return r.KR.relative(n,s)}resolvePath(e,t){if(e.scheme===o.lg.file){const n=l.o.file(r.DB(c(e),t));return e.with({authority:n.authority,path:n.path})}return t=i.fn(t),e.with({path:r.KR.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&"/"===e.path[0]}isEqualAuthority(e,t){return e===t||void 0!==e&&void 0!==t&&(0,s.qq)(e,t)}hasTrailingPathSeparator(e,t=r.ir){if(e.scheme===o.lg.file){const n=c(e);return n.length>i.yj(n).length&&n[n.length-1]===t}{const t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=r.ir){return b(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=r.ir){let n=!1;if(e.scheme===o.lg.file){const o=c(e);n=void 0!==o&&o.length===i.yj(o).length&&o[o.length-1]===t}else{t="/";const i=e.path;n=1===i.length&&47===i.charCodeAt(i.length-1)}return n||b(e,t)?e:e.with({path:e.path+"/"})}}const u=new d((()=>!1)),h=(new d((e=>e.scheme!==o.lg.file||!a.IJ)),new d((e=>!0)),u.isEqual.bind(u),u.isEqualOrParent.bind(u),u.getComparisonKey.bind(u),u.basenameOrAuthority.bind(u),u.basename.bind(u)),p=u.extname.bind(u),f=u.dirname.bind(u),g=(u.joinPath.bind(u),u.normalizePath.bind(u)),m=(u.relativePath.bind(u),u.resolvePath.bind(u)),v=(u.isAbsolutePath.bind(u),u.isEqualAuthority.bind(u)),b=u.hasTrailingPathSeparator.bind(u);var _;u.removeTrailingPathSeparator.bind(u),u.addTrailingPathSeparator.bind(u),function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((e=>{const[t,i]=e.split(":");t&&i&&n.set(t,i)}));const i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(_||(_={}))},6783:(e,t,n)=>{n.d(t,{Rm:()=>a});var i=n(9914),o=n(5666);class r{constructor(e,t,n,i,o,r,a){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t|=0,n|=0,i|=0,o|=0,r|=0,a|=0),this.rawScrollLeft=i,this.rawScrollTop=a,t<0&&(t=0),i+t>n&&(i=n-t),i<0&&(i=0),o<0&&(o=0),a+o>r&&(a=r-o),a<0&&(a=0),this.width=t,this.scrollWidth=n,this.scrollLeft=i,this.height=o,this.scrollHeight=r,this.scrollTop=a}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new r(this._forceIntegerValues,void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new r(this._forceIntegerValues,this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){const n=this.width!==e.width,i=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,r=this.height!==e.height,a=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:n,scrollWidthChanged:i,scrollLeftChanged:o,heightChanged:r,scrollHeightChanged:a,scrollTopChanged:s}}}class a extends o.JT{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new i.Q5),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new r(e.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){const n=this._state.withScrollDimensions(e,t);this._setState(n,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};const n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;let i;i=t?new c(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=i}else{const t=this._state.withScrollPosition(e);this._smoothScrolling=c.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())}))}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);return this._setState(t,!0),this._smoothScrolling?e.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())}))):void 0}_setState(e,t){const n=this._state;n.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(n,t)))}}class s{constructor(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}}function l(e,t){const n=t-e;return function(t){return e+n*(1-(i=1-t,Math.pow(i,3)));var i}}class c{constructor(e,t,n,i){this.from=e,this.to=t,this.duration=i,this.startTime=n,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,n){if(Math.abs(e-t)>2.5*n){let a,s;return e<t?(a=e+.75*n,s=t-.75*n):(a=e-.75*n,s=t+.75*n),i=l(e,a),o=l(s,t),r=.33,function(e){return e<r?i(e/r):o((e-r)/(1-r))}}var i,o,r;return l(e,t)}dispose(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){const t=(e-this.startTime)/this.duration;if(t<1){const e=this.scrollLeft(t),n=this.scrollTop(t);return new s(e,n,!1)}return new s(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,n){return c.start(e,t,n)}static start(e,t,n){n+=10;const i=Date.now()-10;return new c(e,t,i,n)}}},9371:(e,t,n)=>{n.d(t,{Z:()=>r});var i,o=n(8241);!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(i||(i={})),function(e){const t="error",n="warning",i="info";e.fromValue=function(r){return r?o.qq(t,r)?e.Error:o.qq(n,r)||o.qq("warn",r)?e.Warning:o.qq(i,r)?e.Info:e.Ignore:e.Ignore},e.toString=function(o){switch(o){case e.Error:return t;case e.Warning:return n;case e.Info:return i;default:return"ignore"}}}(i||(i={}));const r=i},6639:(e,t,n)=>{n.d(t,{G:()=>r});var i=n(1204);const o=i.li.performance&&"function"==typeof i.li.performance.now;class r{constructor(e){this._highResolution=o&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new r(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?i.li.performance.now():Date.now()}}},8241:(e,t,n)=>{n.d(t,{ZK:()=>ee,W1:()=>O,vU:()=>te,Qe:()=>H,c1:()=>K,Mh:()=>M,P1:()=>D,qu:()=>y,zY:()=>w,TT:()=>A,j_:()=>C,rL:()=>T,Ut:()=>z,ab:()=>U,un:()=>h,GF:()=>p,qq:()=>E,YU:()=>l,ec:()=>c,LC:()=>v,WU:()=>s,J_:()=>R,V8:()=>b,oH:()=>Z,ZH:()=>L,$i:()=>W,C8:()=>G,m5:()=>r,K7:()=>Q,ZG:()=>N,YK:()=>I,mK:()=>x,df:()=>S,ow:()=>_,j3:()=>d,vH:()=>P,HO:()=>F,mr:()=>g,IO:()=>f,oL:()=>u,PJ:()=>$,uq:()=>m,ok:()=>k,uS:()=>Y});class i{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var o;function r(e){return!e||"string"!=typeof e||0===e.trim().length}const a=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(a,(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,(function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}}))}function c(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function d(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 u(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let o=i,r=-1;for(;r=e.lastIndexOf(t,o-1),-1!==r&&r+n===o;){if(0===r)return"";o=r}return e.substring(0,o)}function h(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=c(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 f(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function g(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function m(e){return e.split(/\r\n|\r|\n/)}function v(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 b(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 _(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 y(e,t){return e<t?-1:e>t?1:0}function A(e,t,n=0,i=e.length,o=0,r=t.length){for(;n<i&&o<r;n++,o++){let i=e.charCodeAt(n),r=t.charCodeAt(o);if(i<r)return-1;if(i>r)return 1}const a=i-n,s=r-o;return a<s?-1:a>s?1:0}function w(e,t){return C(e,t,0,e.length,0,t.length)}function C(e,t,n=0,i=e.length,o=0,r=t.length){for(;n<i&&o<r;n++,o++){let a=e.charCodeAt(n),s=t.charCodeAt(o);if(a===s)continue;if(a>=128||s>=128)return A(e.toLowerCase(),t.toLowerCase(),n,i,o,r);x(a)&&(a-=32),x(s)&&(s-=32);const l=a-s;if(0!==l)return l}const a=i-n,s=r-o;return a<s?-1:a>s?1:0}function x(e){return e>=97&&e<=122}function S(e){return e>=65&&e<=90}function E(e,t){return e.length===t.length&&0===C(e,t)}function k(e,t){const n=t.length;return!(t.length>e.length)&&0===C(e,t,0,n)}function M(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function D(e,t){let n,i=Math.min(e.length,t.length);const o=e.length-1,r=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(o-n)!==t.charCodeAt(r-n))return n;return i}function N(e){return 55296<=e&&e<=56319}function I(e){return 56320<=e&&e<=57343}function T(e,t){return t-56320+(e-55296<<10)+65536}function L(e,t,n){const i=e.charCodeAt(n);if(N(i)&&n+1<t){const t=e.charCodeAt(n+1);if(I(t))return T(i,t)}return i}class B{constructor(e,t=0){this._str=e,this._len=e.length,this._offset=t}get offset(){return this._offset}setOffset(e){this._offset=e}prevCodePoint(){const e=function(e,t){const n=e.charCodeAt(t-1);if(I(n)&&t>1){const i=e.charCodeAt(t-2);if(N(i))return T(i,n)}return n}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=L(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class O{constructor(e,t=0){this._iterator=new B(e,t)}get offset(){return this._iterator.offset}nextGraphemeLength(){const e=q.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(J(i,o)){t.setOffset(n);break}i=o}return t.offset-n}prevGraphemeLength(){const e=q.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(J(o,i)){t.setOffset(n);break}i=o}return n-t.offset}eol(){return this._iterator.eol()}}function P(e,t){return new O(e,t).nextGraphemeLength()}function F(e,t){return new O(e,t).prevGraphemeLength()}function R(e,t){t>0&&I(e.charCodeAt(t))&&t--;const n=t+P(e,t);return[n-F(e,n),n]}const j=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(e){return j.test(e)}const V=/^[\t\n\r\x20-\x7E]*$/;function W(e){return V.test(e)}const H=/[\u2028\u2029]/;function U(e){return H.test(e)}function Q(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function G(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 K=String.fromCharCode(65279);function Y(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function $(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function J(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 q{constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}static getInstance(){return q._INSTANCE||(q._INSTANCE=new q),q._INSTANCE}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 Z(e,t){if(0===e)return 0;const n=function(e,t){const n=new B(t,e);let i=n.prevCodePoint();for(;X(i)||65039===i||8419===i;){if(0===n.offset)return;i=n.prevCodePoint()}if(!G(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 B(t,e);return i.prevCodePoint(),i.offset}function X(e){return 127995<=e&&e<=127999}q._INSTANCE=null;class ee{constructor(e){this.confusableDictionary=e}static getInstance(e){return ee.cache.get(Array.from(e))}static getLocales(){return ee._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}o=ee,ee.ambiguousCharacterData=new i((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))),ee.cache=new class{constructor(e){this.computeFn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.computeFn(e)),this.lastCache}}((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=o.ambiguousCharacterData.getValue();let r,a=e.filter((e=>!e.startsWith("_")&&e in i));0===a.length&&(a=["_default"]);for(const e of a)r=n(r,t(i[e]));const s=function(e,t){const n=new Map(e);for(const[e,i]of t)n.set(e,i);return n}(t(i._common),r);return new ee(s)})),ee._locales=new i((()=>Object.keys(ee.ambiguousCharacterData.getValue()).filter((e=>!e.startsWith("_")))));class te{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(te.getRawData())),this._data}static isInvisibleCharacter(e){return te.getData().has(e)}static get codePoints(){return te.getData()}}te._data=void 0},8725:(e,t,n)=>{function i(e){return Array.isArray(e)}function o(e){return"string"==typeof e}function r(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function a(e){return"number"==typeof e&&!isNaN(e)}function s(e){return!!e&&"function"==typeof e[Symbol.iterator]}function l(e){return!0===e||!1===e}function c(e){return void 0===e}function d(e){return!u(e)}function u(e){return c(e)||null===e}function h(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function p(e){return"function"==typeof e}function f(e,t){const n=Math.min(e.length,t.length);for(let i=0;i<n;i++)g(e[i],t[i])}function g(e,t){if(o(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(p(t)){try{if(e instanceof t)return}catch(e){}if(!u(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function m(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function v(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const t of e)i[t]=n(t);return i}function b(e){return null===e?void 0:e}function _(e,t="Unreachable"){throw new Error(t)}n.d(t,{$E:()=>m,$K:()=>d,D8:()=>f,HD:()=>o,IU:()=>v,Jp:()=>u,Kn:()=>r,TW:()=>s,f6:()=>b,hj:()=>a,jn:()=>l,kJ:()=>i,mf:()=>p,o8:()=>c,p_:()=>h,vE:()=>_})},9979:(e,t,n)=>{function i(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,{A:()=>o,K:()=>i})},6283:(e,t,n)=>{n.d(t,{o:()=>h,q:()=>b});var i=n(238),o=n(1204);const r=/^\w[\w\d+.-]*$/,a=/^\//,s=/^\/\//;function l(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!r.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!a.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const c="",d="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(e,t,n,i,o,r=!1){"object"==typeof e?(this.scheme=e.scheme||c,this.authority=e.authority||c,this.path=e.path||c,this.query=e.query||c,this.fragment=e.fragment||c):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||c,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==d&&(t=d+t):t=d}return t}(this.scheme,n||c),this.query=i||c,this.fragment=o||c,l(this,r))}static isUri(e){return e instanceof h||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return b(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:o,fragment:r}=e;return void 0===t?t=this.scheme:null===t&&(t=c),void 0===n?n=this.authority:null===n&&(n=c),void 0===i?i=this.path:null===i&&(i=c),void 0===o?o=this.query:null===o&&(o=c),void 0===r?r=this.fragment:null===r&&(r=c),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new f(t,n,i,o,r)}static parse(e,t=!1){const n=u.exec(e);return n?new f(n[2]||c,w(n[4]||c),w(n[5]||c),w(n[7]||c),w(n[9]||c),t):new f(c,c,c,c,c)}static file(e){let t=c;if(o.ED&&(e=e.replace(/\\/g,d)),e[0]===d&&e[1]===d){const n=e.indexOf(d,2);-1===n?(t=e.substring(2),e=d):(t=e.substring(2,n),e=e.substring(n)||d)}return new f("file",t,e,c,c)}static from(e){const t=new f(e.scheme,e.authority,e.path,e.query,e.fragment);return l(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=o.ED&&"file"===e.scheme?h.file(i.Ku.join(b(e,!0),...t)).path:i.KR.join(e.path,...t),e.with({path:n})}toString(e=!1){return _(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new f(e);return t._formatted=e.external,t._fsPath=e._sep===p?e.fsPath:null,t}}return e}}const p=o.ED?1:void 0;class f extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath}toString(e=!1){return e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=p),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n,i=-1;for(let o=0;o<e.length;o++){const r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));const t=g[r];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=t):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function v(e){let t;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=g[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function b(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o.ED&&(n=n.replace(/\//g,"\\")),n}function _(e,t){const n=t?v:m;let i="",{scheme:o,authority:r,path:a,query:s,fragment:l}=e;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=d,i+=d),r){let e=r.indexOf("@");if(-1!==e){const t=r.substr(0,e);r=r.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}r=r.toLowerCase(),e=r.indexOf(":"),-1===e?i+=n(r,!1):(i+=n(r.substr(0,e),!1),i+=r.substr(e))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){const e=a.charCodeAt(1);e>=65&&e<=90&&(a=`/${String.fromCharCode(e+32)}:${a.substr(3)}`)}else if(a.length>=2&&58===a.charCodeAt(1)){const e=a.charCodeAt(0);e>=65&&e<=90&&(a=`${String.fromCharCode(e+32)}:${a.substr(2)}`)}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:m(l,!1)),i}function y(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+y(e.substr(3)):e}}const A=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function w(e){return e.match(A)?e.replace(A,(e=>y(e))):e}},2169:(e,t,n)=>{n.d(t,{H:()=>h});var i=n(977),o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of a(t))s.call(e,n)||"default"===n||o(e,n,{get:()=>t[n],enumerable:!(i=r(t,n))||i.enumerable})})(l,i);var c={},d={},u=class{static getOrCreate(e){return d[e]||(d[e]=new u(e)),d[e]}_languageId;_loadingTriggered;_lazyLoadPromise;_lazyLoadPromiseResolve;_lazyLoadPromiseReject;constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t}))}load(){return this._loadingTriggered||(this._loadingTriggered=!0,c[this._languageId].loader().then((e=>this._lazyLoadPromiseResolve(e)),(e=>this._lazyLoadPromiseReject(e)))),this._lazyLoadPromise}};function h(e){const t=e.id;c[t]=e,l.languages.register(e);const n=u.getOrCreate(t);l.languages.registerTokensProviderFactory(t,{create:async()=>(await n.load()).language}),l.languages.onLanguage(t,(async()=>{const e=await n.load();l.languages.setLanguageConfiguration(t,e.conf)}))}},1691:(e,t,n)=>{n.r(t),(0,n(2169).H)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Promise.resolve().then(n.bind(n,7988))})},7988:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>i,language:()=>o});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},o={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[["non-sealed","keyword.non-sealed"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}},7210:(e,t,n)=>{n.r(t),(0,n(2169).H)({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Promise.resolve().then(n.bind(n,3479))})},3479:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>d,language:()=>u});var i=n(977),o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of a(t))s.call(e,n)||"default"===n||o(e,n,{get:()=>t[n],enumerable:!(i=r(t,n))||i.enumerable})})(l,i);var c={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}},d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:l.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:l.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:l.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:l.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},u={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:c.operators,symbols:c.symbols,escapes:c.escapes,digits:c.digits,octaldigits:c.octaldigits,binarydigits:c.binarydigits,hexdigits:c.hexdigits,regexpctl:c.regexpctl,regexpesc:c.regexpesc,tokenizer:c.tokenizer}},3338:(e,t,n)=>{n.r(t),(0,n(2169).H)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Promise.resolve().then(n.bind(n,5963))})},5963:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>c,language:()=>d});var i=n(977),o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of a(t))s.call(e,n)||"default"===n||o(e,n,{get:()=>t[n],enumerable:!(i=r(t,n))||i.enumerable})})(l,i);var c={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:l.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:l.languages.IndentAction.Indent}}]},d={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}},5063:(e,t,n)=>{n.d(t,{N:()=>a});var i=n(8061),o=n(7605),r=n(7651);function a(e,t){e instanceof o.Z?(e.setFontFamily(t.getMassagedFontFamily(i.isSafari?r.hL.fontFamily:null)),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(i.isSafari?r.hL.fontFamily:null),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}},1371:(e,t,n)=>{n.d(t,{I:()=>r});var i=n(5666),o=n(9914);class r extends i.JT{constructor(e,t){super(),this._onDidChange=this._register(new o.Q5),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){!this._resizeObserver&&this._referenceDomElement&&(this._resizeObserver=new ResizeObserver((e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()})),this._resizeObserver.observe(this._referenceDomElement))}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let n=0,i=0;t?(n=t.width,i=t.height):this._referenceDomElement&&(n=this._referenceDomElement.clientWidth,i=this._referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),this._width===n&&this._height===i||(this._width=n,this._height=i,e&&this._onDidChange.fire())}}},4342:(e,t,n)=>{n.d(t,{g:()=>p});var i=n(8061),o=n(9914),r=n(5666),a=n(5063);class s{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class l{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";const t=document.createElement("div");(0,a.N)(t,this._bareFontInfo),e.appendChild(t);const n=document.createElement("div");(0,a.N)(n,this._bareFontInfo),n.style.fontWeight="bold",e.appendChild(n);const i=document.createElement("div");(0,a.N)(i,this._bareFontInfo),i.style.fontStyle="italic",e.appendChild(i);const o=[];for(const e of this._requests){let r;0===e.type&&(r=t),2===e.type&&(r=n),1===e.type&&(r=i),r.appendChild(document.createElement("br"));const a=document.createElement("span");l._render(a,e),r.appendChild(a),o.push(a)}this._container=e,this._testElements=o}static _render(e,t){if(" "===t.chr){let t="ย ";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let n=t.chr;for(let e=0;e<8;e++)n+=n;e.textContent=n}}_readFromDomElements(){for(let e=0,t=this._requests.length;e<t;e++){const t=this._requests[e],n=this._testElements[e];t.fulfill(n.offsetWidth/256)}}}var c=n(7651),d=n(9326);class u extends r.JT{constructor(){super(),this._onDidChange=this._register(new o.Q5),this.onDidChange=this._onDidChange.event,this._cache=new h,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(window.clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearAllFontInfos(){this._cache=new h,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=window.setTimeout((()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()}),5e3))}_evictUntrustedReadings(){const e=this._cache.getValues();let t=!1;for(const n of e)n.isTrusted||(t=!0,this._cache.remove(n));t&&this._onDidChange.fire()}readFontInfo(e){if(!this._cache.has(e)){let t=this._actualReadFontInfo(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new d.pR({pixelRatio:i.PixelRatio.value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}_createRequest(e,t,n,i){const o=new s(e,t);return n.push(o),i&&i.push(o),o}_actualReadFontInfo(e){const t=[],n=[],o=this._createRequest("n",0,t,n),r=this._createRequest("๏ฝ",0,t,null),a=this._createRequest(" ",0,t,n),s=this._createRequest("0",0,t,n),u=this._createRequest("1",0,t,n),h=this._createRequest("2",0,t,n),p=this._createRequest("3",0,t,n),f=this._createRequest("4",0,t,n),g=this._createRequest("5",0,t,n),m=this._createRequest("6",0,t,n),v=this._createRequest("7",0,t,n),b=this._createRequest("8",0,t,n),_=this._createRequest("9",0,t,n),y=this._createRequest("โ†’",0,t,n),A=this._createRequest("๏ฟซ",0,t,null),w=this._createRequest("ยท",0,t,n),C=this._createRequest(String.fromCharCode(11825),0,t,null),x="|/-_ilm%";for(let e=0,i=x.length;e<i;e++)this._createRequest(x.charAt(e),0,t,n),this._createRequest(x.charAt(e),1,t,n),this._createRequest(x.charAt(e),2,t,n);!function(e,t){new l(e,t).read()}(e,t);const S=Math.max(s.width,u.width,h.width,p.width,f.width,g.width,m.width,v.width,b.width,_.width);let E=e.fontFeatureSettings===c.n0.OFF;const k=n[0].width;for(let e=1,t=n.length;E&&e<t;e++){const t=k-n[e].width;if(t<-.001||t>.001){E=!1;break}}let M=!0;return E&&A.width!==k&&(M=!1),A.width>y.width&&(M=!1),new d.pR({pixelRatio:i.PixelRatio.value,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:E,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:M,spaceWidth:a.width,middotWidth:w.width,wsmiddotWidth:C.width,maxDigitWidth:S},!0)}}class h{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){const t=e.getId();return!!this._values[t]}get(e){const t=e.getId();return this._values[t]}put(e,t){const n=e.getId();this._keys[n]=e,this._values[n]=t}remove(e){const t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map((e=>this._values[e]))}}const p=new u},9687:(e,t,n)=>{n.d(t,{Qr:()=>y,R6:()=>b,Sq:()=>E,Uc:()=>i,_K:()=>A,_l:()=>v,fK:()=>_,kz:()=>S,mY:()=>f,n_:()=>x});var i,o=n(9606),r=(n(6283),n(4975)),a=(n(8268),n(172),n(4028)),s=n(9014),l=n(4210),c=(n(7696),n(3161)),d=n(470),u=n(5314),h=n(8725),p=n(1990);class f{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){const e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(const t of e){let e=t.kbExpr;this.precondition&&(e=e?l.Ao.and(e,this.precondition):this.precondition);const n={id:this.id,weight:t.weight,args:t.args,when:e,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};c.W.registerKeybindingRule(n)}}s.P0.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){a.BH.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class g extends f{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,n){return this._implementations.push({priority:e,name:t,implementation:n}),this._implementations.sort(((e,t)=>t.priority-e.priority)),{dispose:()=>{for(let e=0;e<this._implementations.length;e++)if(this._implementations[e].implementation===n)return void this._implementations.splice(e,1)}}}runCommand(e,t){const n=e.get(p.VZ);n.trace(`Executing Command '${this.id}' which has ${this._implementations.length} bound.`);for(const i of this._implementations){const o=i.implementation(e,t);if(o){if(n.trace(`Command '${this.id}' was handled by '${i.name}'.`),"boolean"==typeof o)return;return o}}n.trace(`The Command '${this.id}' was not handled by any implementation.`)}}class m extends f{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}}class v extends f{static bindToContribution(e){return class extends v{constructor(e){super(e),this._callback=e.handler}runEditorCommand(t,n,i){const o=e(n);o&&this._callback(o,i)}}}runCommand(e,t){const n=e.get(r.$),i=n.getFocusedCodeEditor()||n.getActiveCodeEditor();if(i)return i.invokeWithinContext((e=>{if(e.get(l.i6).contextMatchesRules((0,h.f6)(this.precondition)))return this.runEditorCommand(e,i,t)}))}}class b extends v{constructor(e){super(b.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function n(t){return t.menuId||(t.menuId=a.eH.EditorContext),t.title||(t.title=e.label),t.when=l.Ao.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})}reportTelemetry(e,t){e.get(u.b).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}function _(e){return w.INSTANCE.registerEditorCommand(e),e}function y(e){const t=new e;return w.INSTANCE.registerEditorAction(t),t}function A(e,t){w.INSTANCE.registerEditorContribution(e,t)}!function(e){e.getEditorCommand=function(e){return w.INSTANCE.getEditorCommand(e)},e.getEditorActions=function(){return w.INSTANCE.getEditorActions()},e.getEditorContributions=function(){return w.INSTANCE.getEditorContributions()},e.getSomeEditorContributions=function(e){return w.INSTANCE.getEditorContributions().filter((t=>e.indexOf(t.id)>=0))},e.getDiffEditorContributions=function(){return w.INSTANCE.getDiffEditorContributions()}}(i||(i={}));class w{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function C(e){return e.register(),e}w.INSTANCE=new w,d.B.add("editor.contributions",w.INSTANCE);const x=C(new g({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:a.eH.MenubarEditMenu,group:"1_do",title:o.N({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:a.eH.CommandPalette,group:"",title:o.N("undo","Undo"),order:1}]}));C(new m(x,{id:"default:undo",precondition:void 0}));const S=C(new g({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:a.eH.MenubarEditMenu,group:"1_do",title:o.N({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:a.eH.CommandPalette,group:"",title:o.N("redo","Redo"),order:1}]}));C(new m(S,{id:"default:redo",precondition:void 0}));const E=C(new g({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:a.eH.MenubarSelectionMenu,group:"1_basic",title:o.N({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:a.eH.CommandPalette,group:"",title:o.N("selectAll","Select All"),order:1}]}))},4975:(e,t,n)=>{n.d(t,{$:()=>i});const i=(0,n(7696).yh)("codeEditorService")},3299:(e,t,n)=>{n.d(t,{Z:()=>i});class i{constructor(e,t,n){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=n}static capture(e){let t=null,n=0;if(0!==e.getScrollTop()){const i=e.getVisibleRanges();if(i.length>0){t=i[0].getStartPosition();const o=e.getTopForPosition(t.lineNumber,t.column);n=e.getScrollTop()-o}}return new i(t,n,e.getPosition())}restore(e){if(this._visiblePosition){const t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){const t=e.getPosition();if(!this._cursorPosition||!t)return;const n=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+n)}}},5484:(e,t,n)=>{n.d(t,{Gm:()=>Vr});var i=n(1053),o=n(9687);let r=class{constructor(e,t){}dispose(){}};var a;r.ID="editor.contrib.markerDecorations",r=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([(1,a=i.i,function(e,t){a(e,t,1)})],r),(0,o._K)(r.ID,r);var s=n(941),l=n.n(s),c=n(3850);l()(c.Z,{insert:"head",singleton:!1}),c.Z.locals;var d=n(9606),u=n(6511),h=n(7943),p=n(9914),f=n(5666),g=n(6390),m=n(8061),v=n(6918),b=n(5440),_=n(1204),y=n(1371),A=n(4342),w=n(7551);const C=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new p.Q5,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}};var x=n(7651),S=n(4749),E=n(9326),k=n(718);let M=class extends f.JT{constructor(e,t,n,i){super(),this._accessibilityService=i,this._onDidChange=this._register(new p.Q5),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new p.Q5),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._computeOptionsMemory=new x.LJ,this.isSimpleWidget=e,this._containerObserver=this._register(new y.I(n,t.dimension)),this._rawOptions=L(t),this._validatedOptions=T.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(10)&&this._containerObserver.startObserving(),this._register(S.C.onDidChangeZoomLevel((()=>this._recomputeOptions()))),this._register(C.onDidChangeTabFocus((()=>this._recomputeOptions()))),this._register(this._containerObserver.onDidChange((()=>this._recomputeOptions()))),this._register(A.g.onDidChange((()=>this._recomputeOptions()))),this._register(m.PixelRatio.onDidChange((()=>this._recomputeOptions()))),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized((()=>this._recomputeOptions())))}_recomputeOptions(){const e=this._computeOptions(),t=T.checkEquals(this.options,e);null!==t&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){const e=this._readEnvConfiguration(),t=E.E4.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),n=this._readFontInfo(t),i={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:n,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:C.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return T.computeOptions(this._validatedOptions,i)}_readEnvConfiguration(){return{extraEditorClassName:D(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:m.isWebKit||m.isFirefox,pixelRatio:m.PixelRatio.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return A.g.readFontInfo(e)}getRawOptions(){return this._rawOptions}updateOptions(e){const t=L(e);T.applyUpdate(this._rawOptions,t)&&(this._validatedOptions=T.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){const t=function(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}};function D(){let e="";return m.isSafari||m.isWebkitWebView||(e+="no-user-select "),m.isSafari&&(e+="no-minimap-shadow "),_.dz&&(e+="mac "),e}M=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,3)}}(0,k.F)],M);class N{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class I{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw new Error("Cannot read uninitialized value");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}}class T{static validateOptions(e){const t=new N;for(const n of x.Bc){const i="_never_"===n.name?void 0:e[n.name];t._write(n.id,n.validate(i))}return t}static computeOptions(e,t){const n=new I;for(const i of x.Bc)n._write(i.id,i.compute(t,n,e._read(i.id)));return n}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!(!Array.isArray(e)||!Array.isArray(t))&&v.fS(e,t);if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!T._deepEquals(e[n],t[n]))return!1;return!0}static checkEquals(e,t){const n=[];let i=!1;for(const o of x.Bc){const r=!T._deepEquals(e._read(o.id),t._read(o.id));n[o.id]=r,r&&(i=!0)}return i?new x.Bb(n):null}static applyUpdate(e,t){let n=!1;for(const i of x.Bc)if(t.hasOwnProperty(i.name)){const o=i.applyUpdate(e[i.name],t[i.name]);e[i.name]=o.newValue,n=n||o.didChange}return n}}function L(e){const t=b.I8(e);return function(e){const t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");const n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off"),!1===e.autoClosingBrackets&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never"),"visible"===e.cursorBlinking&&(e.cursorBlinking="solid");const i=e.renderWhitespace;!0===i?e.renderWhitespace="boundary":!1===i&&(e.renderWhitespace="none");const o=e.renderLineHighlight;!0===o?e.renderLineHighlight="line":!1===o&&(e.renderLineHighlight="none");const r=e.acceptSuggestionOnEnter;!0===r?e.acceptSuggestionOnEnter="on":!1===r&&(e.acceptSuggestionOnEnter="off");const a=e.tabCompletion;!1===a?e.tabCompletion="off":!0===a&&(e.tabCompletion="onlySnippets");const s=e.suggest;if(s&&"object"==typeof s.filteredTypes&&s.filteredTypes){const e={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};(0,w.E)(e,(e=>{const t=s.filteredTypes[e.key];!1===t&&(s[e.value]=t)}))}const l=e.hover;!0===l?e.hover={enabled:!0}:!1===l&&(e.hover={enabled:!1});const c=e.parameterHints;!0===c?e.parameterHints={enabled:!0}:!1===c&&(e.parameterHints={enabled:!1});const d=e.autoIndent;!0===d?e.autoIndent="full":!1===d&&(e.autoIndent="advanced");const u=e.matchBrackets;!0===u?e.matchBrackets="always":!1===u&&(e.matchBrackets="never");const{renderIndentGuides:h,highlightActiveIndentGuide:p}=e;e.guides||(e.guides={}),void 0!==h&&(e.guides.indentation=!!h),void 0!==p&&(e.guides.highlightActiveIndentation=!!p)}(t),t}var B=n(4975),O=n(2623),P=n(7605),F=n(6845),R=n(6237),j=n(7685),z=n(5479),V=n(3770);class W{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new H(this.x-u.DI.scrollX,this.y-u.DI.scrollY)}}class H{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new W(this.clientX+u.DI.scrollX,this.clientY+u.DI.scrollY)}}class U{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i,this._editorPagePositionBrand=void 0}}class Q{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function G(e){const t=u.i(e);return new U(t.left,t.top,t.width,t.height)}function K(e,t,n){const i=t.width/e.offsetWidth,o=t.height/e.offsetHeight,r=(n.x-t.x)/i,a=(n.y-t.y)/o;return new Q(r,a)}class Y extends R.n{constructor(e,t){super(e),this._editorMouseEventBrand=void 0,this.pos=new W(this.posx,this.posy),this.editorPos=G(t),this.relativePos=K(t,this.editorPos,this.pos)}}class ${constructor(e){this._editorViewDomNode=e}_create(e){return new Y(e,this._editorViewDomNode)}onContextMenu(e,t){return u.nm(e,"contextmenu",(e=>{t(this._create(e))}))}onMouseUp(e,t){return u.nm(e,"mouseup",(e=>{t(this._create(e))}))}onMouseDown(e,t){return u.nm(e,"mousedown",(e=>{t(this._create(e))}))}onMouseLeave(e,t){return u.j_(e,(e=>{t(this._create(e))}))}onMouseMoveThrottled(e,t,n,i){return u.Y_(e,"mousemove",t,((e,t)=>n(e,this._create(t))),i)}}class J{constructor(e){this._editorViewDomNode=e}_create(e){return new Y(e,this._editorViewDomNode)}onPointerUp(e,t){return u.nm(e,"pointerup",(e=>{t(this._create(e))}))}onPointerDown(e,t){return u.nm(e,"pointerdown",(e=>{t(this._create(e))}))}onPointerLeave(e,t){return u.RE(e,(e=>{t(this._create(e))}))}onPointerMoveThrottled(e,t,n,i){return u.Y_(e,"pointermove",t,((e,t)=>n(e,this._create(t))),i)}}class q extends f.JT{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new z.Z),this._keydownListener=null}startMonitoring(e,t,n,i,o){this._keydownListener=u.mu(document,"keydown",(e=>{e.toKeybinding().isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0,e.browserEvent)}),!0),this._globalMouseMoveMonitor.startMonitoring(e,t,((e,t)=>n(e,new Y(t,this._editorViewDomNode))),i,(e=>{this._keydownListener.dispose(),o(e)}))}stopMonitoring(){this._globalMouseMoveMonitor.stopMonitoring(!0)}}class Z{constructor(e){this._editor=e,this._instanceId=++Z._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new j.pY((()=>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 i=this._counter++;n=new X(t,`dyn-rule-${this._instanceId}-${i}`,u.OO(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())}}Z._idPool=0;class X{constructor(e,t,n,i){this.key=e,this.className=t,this.properties=i,this._referenceCount=0,this._styleElement=u.dS(n),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?`var(${(0,V.QO2)(i.id)})`:i,n+=`\n\t${ee(e)}: ${o};`}return n+="\n}",n}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function ee(e){return e.replace(/(^[A-Z])/,(([e])=>e.toLowerCase())).replace(/([A-Z])/g,(([e])=>`-${e.toLowerCase()}`))}class te extends f.JT{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)}}class ne extends te{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class ie{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!==document.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}}class oe extends class{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){return this._viewLayout.getVerticalOffsetForLineNumber(e)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}{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 re{constructor(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n}}class ae{constructor(e,t){this._horizontalRangeBrand=void 0,this.left=Math.round(e),this.width=Math.round(t)}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 ae(i.left,i.width)}return t}toString(){return`[${this.left},${this.width}]`}}class se{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 le{constructor(e,t){this.outsideRenderedLine=e,this.originalLeft=t,this.left=Math.round(this.originalLeft)}}class ce{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}class de{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 r=this._createRange();try{return r.setStart(e,t),r.setEnd(n,i),r.getClientRects()}catch(e){return null}finally{this._detachRange(r,o)}}static _mergeAdjacentRanges(e){if(1===e.length)return e;e.sort(se.compare);const t=[];let n=0,i=e[0];for(let o=1,r=e.length;o<r;o++){const r=e[o];i.left+i.width+.9>=r.left?i.width=Math.max(i.width,r.left+r.width-i.left):(t[n++]=i,i=r)}return t[n++]=i,t}static _createHorizontalRangesFromClientRects(e,t,n){if(!e||0===e.length)return null;const i=[];for(let o=0,r=e.length;o<r;o++){const r=e[o];i[o]=new se(Math.max(0,(r.left-t)/n),r.width/n)}return this._mergeAdjacentRanges(i)}static readHorizontalRanges(e,t,n,i,o,r,a,s){const l=e.children.length-1;if(0>l)return null;if((t=Math.min(l,Math.max(0,t)))===(i=Math.min(l,Math.max(0,i)))&&n===o&&0===n&&!e.children[t].firstChild){const n=e.children[t].getClientRects();return this._createHorizontalRangesFromClientRects(n,r,a)}t!==i&&i>0&&0===o&&(i--,o=1073741824);let c=e.children[t].firstChild,d=e.children[i].firstChild;if(c&&d||(!c&&0===n&&t>0&&(c=e.children[t-1].firstChild,n=1073741824),!d&&0===o&&i>0&&(d=e.children[i-1].firstChild,o=1073741824)),!c||!d)return null;n=Math.min(c.textContent.length,Math.max(0,n)),o=Math.min(d.textContent.length,Math.max(0,o));const u=this._readClientRects(c,n,d,o,s);return this._createHorizontalRangesFromClientRects(u,r,a)}}var ue=n(2860),he=n(9389),pe=n(7178);const fe=!!_.tY||!(_.IJ||m.isFirefox||m.isSafari);let ge=!0;class me{constructor(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1,this.endNode=t}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;const e=this._domNode.getBoundingClientRect();this._clientRectDeltaLeft=e.left,this._clientRectScale=e.width/this._domNode.offsetWidth}}get clientRectDeltaLeft(){return this._clientRectRead||this.readClientRect(),this._clientRectDeltaLeft}get clientRectScale(){return this._clientRectRead||this.readClientRect(),this._clientRectScale}}class ve{constructor(e,t){this.themeType=t;const n=e.options,i=n.get(44);this.renderWhitespace=n.get(88),this.renderControlCharacters=n.get(83),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(29),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(59),this.stopRenderingLineAfter=n.get(105),this.fontLigatures=n.get(45)}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 be{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,P.X)(e)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return(this._options.themeType===pe.e.HIGH_CONTRAST||"selection"===this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,n,i){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;const o=n.getViewLineRenderingData(e),r=this._options,a=ue.Kp.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn);let s=null;if(r.themeType===pe.e.HIGH_CONTRAST||"selection"===this._options.renderWhitespace){const t=n.selections;for(const n of t){if(n.endLineNumber<e||n.startLineNumber>e)continue;const t=n.startLineNumber===e?n.startColumn:o.minColumn,i=n.endLineNumber===e?n.endColumn:o.maxColumn;t<i&&(r.themeType===pe.e.HIGH_CONTRAST||"selection"!==this._options.renderWhitespace?a.push(new ue.Kp(t,i,"inline-selected-text",0)):(s||(s=[]),s.push(new he.zG(t-1,i-1))))}}const l=new he.IJ(r.useMonospaceOptimizations,r.canUseHalfwidthRightwardsArrow,o.content,o.continuesWithWrappedLine,o.isBasicASCII,o.containsRTL,o.minColumn-1,o.tokens,a,o.tabSize,o.startVisibleColumn,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==x.n0.OFF,s);if(this._renderedViewLine&&this._renderedViewLine.input.equals(l))return!1;i.appendASCIIString('<div style="top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;height:"),i.appendASCIIString(String(this._options.lineHeight)),i.appendASCIIString('px;" class="'),i.appendASCIIString(be.CLASS_NAME),i.appendASCIIString('">');const c=(0,he.d1)(l,i);i.appendASCIIString("</div>");let d=null;return ge&&fe&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===c.containsForeignElements&&o.content.length<300&&l.lineTokens.getCount()<100&&(d=new _e(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping)),d||(d=we(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping,c.containsRTL,c.containsForeignElements)),this._renderedViewLine=d,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof _e}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof _e?this._renderedViewLine.monospaceAssumptionsAreValid():ge}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof _e&&(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;let r=!1;-1!==o&&t>o+1&&n>o+1&&(r=!0),-1!==o&&t>o+1&&(t=o+1),-1!==o&&n>o+1&&(n=o+1);const a=this._renderedViewLine.getVisibleRangesForRange(e,t,n,i);return a&&a.length>0?new ce(r,a):null}getColumnOfNodeOffset(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1}}be.CLASS_NAME="view-line";class _e{constructor(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}getWidth(){return Math.round(this._getCharPosition(this._characterMapping.length))}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return ge;const e=this.getWidth(),t=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(e-t)>=2&&(console.warn("monospace assumptions have been violated, therefore disabling monospace optimizations!"),ge=!1),ge}toSlowRenderedLine(){return we(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,n,i){const o=this._getCharPosition(t),r=this._getCharPosition(n);return[new se(o,r-o)]}_getCharPosition(e){const t=this._characterMapping.getAbsoluteOffset(e);return this._charWidth*t}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let o=-1;for(;t;)t=t.previousSibling,o++;return this._characterMapping.getColumn(new he.Nd(o,n),i)}}class ye{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(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),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 r=this._readPixelOffset(this.domNode,e,n,i);return-1===r?null:[new se(o,r-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 se(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();const t=this._getReadingTarget(e);return t.firstChild?t.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){const o=this._pixelOffsetCache[n];if(-1!==o)return o;const r=this._actualReadPixelOffset(e,t,n,i);return this._pixelOffsetCache[n]=r,r}return this._actualReadPixelOffset(e,t,n,i)}_actualReadPixelOffset(e,t,n,i){if(0===this._characterMapping.length){const t=de.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,i.clientRectDeltaLeft,i.clientRectScale,i.endNode);return t&&0!==t.length?t[0].left:-1}if(n===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();const o=this._characterMapping.getDomPosition(n),r=de.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,o.partIndex,o.charIndex,i.clientRectDeltaLeft,i.clientRectScale,i.endNode);if(!r||0===r.length)return-1;const a=r[0].left;if(this.input.isBasicASCII){const e=this._characterMapping.getAbsoluteOffset(n),t=Math.round(this.input.spaceWidth*e);if(Math.abs(t-a)<=1)return t}return a}_readRawVisibleRangesForRange(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new se(0,this.getWidth())];const o=this._characterMapping.getDomPosition(t),r=this._characterMapping.getDomPosition(n);return de.readHorizontalRanges(this._getReadingTarget(e),o.partIndex,o.charIndex,r.partIndex,r.charIndex,i.clientRectDeltaLeft,i.clientRectScale,i.endNode)}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let o=-1;for(;t;)t=t.previousSibling,o++;return this._characterMapping.getColumn(new he.Nd(o,n),i)}}class Ae extends ye{_readVisibleRangesForRange(e,t,n,i,o){const r=super._readVisibleRangesForRange(e,t,n,i,o);if(!r||0===r.length||n===i||1===n&&i===this._characterMapping.length)return r;if(!this.input.containsRTL){const n=this._readPixelOffset(e,t,i,o);if(-1!==n){const e=r[r.length-1];e.left<n&&(e.width=n-e.left)}}return r}}const we=m.isWebKit?function(e,t,n,i,o){return new Ae(e,t,n,i,o)}:function(e,t,n,i,o){return new ye(e,t,n,i,o)};var Ce,xe=n(873),Se=n(208),Ee=n(8436);class ke{static whitespaceVisibleColumn(e,t,n){const i=e.length;let o=0,r=-1,a=-1;for(let s=0;s<i;s++){if(s===t)return[r,a,o];switch(o%n==0&&(r=s,a=o),e.charCodeAt(s)){case 32:o+=1;break;case 9:o=Ee.i.nextRenderTabStop(o,n);break;default:return[-1,-1,-1]}}return t===i?[r,a,o]:[-1,-1,-1]}static atomicPosition(e,t,n,i){const o=e.length,[r,a,s]=ke.whitespaceVisibleColumn(e,t,n);if(-1===s)return-1;let l;switch(i){case 0:l=!0;break;case 1:l=!1;break;case 2:if(s%n==0)return t;l=s%n<=n/2}if(l){if(-1===r)return-1;let t=a;for(let i=r;i<o;++i){if(t===a+n)return r;switch(e.charCodeAt(i)){case 32:t+=1;break;case 9:t=Ee.i.nextRenderTabStop(t,n);break;default:return-1}}return t===a+n?r:-1}const c=Ee.i.nextRenderTabStop(s,n);let d=s;for(let i=t;i<o;i++){if(d===c)return i;switch(e.charCodeAt(i)){case 32:d+=1;break;case 9:d=Ee.i.nextRenderTabStop(d,n);break;default:return-1}}return d===c?o:-1}}class Me{constructor(e=null){this.hitTarget=e,this.type=0}}class De{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 De(i,t,null):new Me(t)}}(Ce||(Ce={}));class Ne{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class Ie{static _deduceRage(e,t=null){return!t&&e?new Se.e(e.lineNumber,e.column,e.lineNumber,e.column):null!=t?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,r){return{type:e,element:t,mouseColumn:n,position:i,range:o,detail:r}}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){return{type:13,element:null,mouseColumn:e,position:t,range:this._deduceRage(t)}}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 Te{static isTextArea(e){return 2===e.length&&3===e[0]&&6===e[1]}static isChildOfViewLines(e){return e.length>=4&&3===e[0]&&7===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&7===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&5===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&8===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}}class Le{constructor(e,t,n){this.viewModel=e.viewModel;const i=e.configuration.options;this.layoutInfo=i.get(131),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(59),this.stickyTabStops=i.get(104),this.typicalHalfwidthCharacterWidth=i.get(44).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return Le.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 r,a=null,s=null;return n.afterLineNumber!==o&&(s=new xe.L(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(a=new xe.L(n.afterLineNumber,e.viewModel.getLineMaxColumn(n.afterLineNumber))),r=null===s?a:null===a?s:t<i?a:s,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:a,positionAfter:s,position:r}}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 Se.e(e,t,e,t),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),n=this._context.viewModel.getLineMaxColumn(t);return{range:new Se.e(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 Le._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,n){for(;e&&e!==document.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 Be extends class{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,Fe._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}{constructor(e,t,n,i,o){super(e,t,n,i),this._ctx=e,o?(this.target=o,this.targetPath=ie.collect(o,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}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}`}_getMouseColumn(e=null){return e&&e.column<this._ctx.viewModel.getLineMaxColumn(e.lineNumber)?Ee.i.visibleColumnFromColumn(this._ctx.viewModel.getLineContent(e.lineNumber),e.column,this._ctx.viewModel.model.getOptions().tabSize)+1:this.mouseColumn}fulfillUnknown(e=null){return Ie.createUnknown(this.target,this._getMouseColumn(e),e)}fulfillTextarea(){return Ie.createTextarea(this.target,this._getMouseColumn())}fulfillMargin(e,t,n,i){return Ie.createMargin(e,this.target,this._getMouseColumn(t),t,n,i)}fulfillViewZone(e,t,n){return Ie.createViewZone(e,this.target,this._getMouseColumn(t),t,n)}fulfillContentText(e,t,n){return Ie.createContentText(this.target,this._getMouseColumn(e),e,t,n)}fulfillContentEmpty(e,t){return Ie.createContentEmpty(this.target,this._getMouseColumn(e),e,t)}fulfillContentWidget(e){return Ie.createContentWidget(this.target,this._getMouseColumn(),e)}fulfillScrollbar(e){return Ie.createScrollbar(this.target,this._getMouseColumn(e),e)}fulfillOverlayWidget(e){return Ie.createOverlayWidget(this.target,this._getMouseColumn(),e)}withTarget(e){return new Be(this._ctx,this.editorPos,this.pos,this.relativePos,e)}}const Oe={isAfterLines:!0};function Pe(e){return{isAfterLines:!1,horizontalDistanceToText:e}}class Fe{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,n=ie.collect(t,this._viewHelper.viewDomNode);return!(!Te.isChildOfContentWidgets(n)&&!Te.isChildOfOverflowingContentWidgets(n)&&!Te.isChildOfOverlayWidgets(n))}createMouseTarget(e,t,n,i,o){const r=new Le(this._context,this._viewHelper,e),a=new Be(r,t,n,i,o);try{return Fe._createMouseTarget(r,a,!1)}catch(e){return a.fulfillUnknown()}}static _createMouseTarget(e,t,n){if(null===t.target){if(n)return t.fulfillUnknown();const i=Fe._doHitTest(e,t);return 1===i.type?Fe.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}const i=t;let o=null;return o=o||Fe._hitTestContentWidget(e,i),o=o||Fe._hitTestOverlayWidget(e,i),o=o||Fe._hitTestMinimap(e,i),o=o||Fe._hitTestScrollbarSlider(e,i),o=o||Fe._hitTestViewZone(e,i),o=o||Fe._hitTestMargin(e,i),o=o||Fe._hitTestViewCursor(e,i),o=o||Fe._hitTestTextArea(e,i),o=o||Fe._hitTestViewLines(e,i,n),o=o||Fe._hitTestScrollbar(e,i),o||t.fulfillUnknown()}static _hitTestContentWidget(e,t){if(Te.isChildOfContentWidgets(t.targetPath)||Te.isChildOfOverflowingContentWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfillContentWidget(n):t.fulfillUnknown()}return null}static _hitTestOverlayWidget(e,t){if(Te.isChildOfOverlayWidgets(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 r of n){if(i<r.contentLeft)continue;if(i>r.contentLeft+r.width)continue;const n=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(n<=o&&o<=n+r.height)return t.fulfillContentText(r.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 Te.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 r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return o-=e.layoutInfo.glyphMarginLeft,o<=e.layoutInfo.glyphMarginWidth?t.fulfillMargin(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth,o<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,i,n.range,r)))}return null}static _hitTestViewLines(e,t,n){if(!Te.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new xe.L(1,1),Oe);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){const n=e.viewModel.getLineCount(),i=e.viewModel.getLineMaxColumn(n);return t.fulfillContentEmpty(new xe.L(n,i),Oe)}if(n){if(Te.isStrictChildOfViewLines(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.viewModel.getLineLength(n)){const i=e.getLineWidth(n),o=Pe(t.mouseContentHorizontalOffset-i);return t.fulfillContentEmpty(new xe.L(n,1),o)}const i=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=i){const o=Pe(t.mouseContentHorizontalOffset-i),r=new xe.L(n,e.viewModel.getLineMaxColumn(n));return t.fulfillContentEmpty(r,o)}}return t.fulfillUnknown()}const i=Fe._doHitTest(e,t);return 1===i.type?Fe.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}static _hitTestMinimap(e,t){if(Te.isChildOfMinimap(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new xe.L(n,i))}return null}static _hitTestScrollbarSlider(e,t){if(Te.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 xe.L(n,i))}}return null}static _hitTestScrollbar(e,t){if(Te.isChildOfScrollableElement(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new xe.L(n,i))}return null}getMouseColumn(e){const t=this._context.configuration.options,n=t.get(131),i=this._context.viewLayout.getCurrentScrollLeft()+e.x-n.contentLeft;return Fe._getMouseColumn(i,t.get(44).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,n,i,o){const r=i.lineNumber,a=i.column,s=e.getLineWidth(r);if(t.mouseContentHorizontalOffset>s){const e=Pe(t.mouseContentHorizontalOffset-s);return t.fulfillContentEmpty(i,e)}const l=e.visibleRangeForPosition(r,a);if(!l)return t.fulfillUnknown(i);const c=l.left;if(t.mouseContentHorizontalOffset===c)return t.fulfillContentText(i,null,{mightBeForeignElement:!!o,injectedText:o});const d=[];if(d.push({offset:l.left,column:a}),a>1){const t=e.visibleRangeForPosition(r,a-1);t&&d.push({offset:t.left,column:a-1})}if(a<e.viewModel.getLineMaxColumn(r)){const t=e.visibleRangeForPosition(r,a+1);t&&d.push({offset:t.left,column:a+1})}d.sort(((e,t)=>e.offset-t.offset));const u=t.pos.toClientCoordinates(),h=n.getBoundingClientRect(),p=h.left<=u.clientX&&u.clientX<=h.right;for(let e=1;e<d.length;e++){const n=d[e-1],a=d[e];if(n.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=a.offset){const e=new Se.e(r,n.column,r,a.column);return t.fulfillContentText(i,e,{mightBeForeignElement:!p||!!o,injectedText:o})}}return t.fulfillContentText(i,null,{mightBeForeignElement:!p||!!o,injectedText:o})}static _doHitTestWithCaretRangeFromPoint(e,t){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2);let o=t.pos.y+(i-t.mouseVerticalOffset);o<=t.editorPos.y&&(o=t.editorPos.y+1),o>=t.editorPos.y+t.editorPos.height&&(o=t.editorPos.y+t.editorPos.height-1);const r=new W(t.pos.x,o),a=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return 1===a.type?a:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const n=u.Ay(e.viewDomNode);let i;if(i=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=window.getComputedStyle(o,null).getPropertyValue("font"),r=o.innerText;let a,s=e.left,l=0;if(t>e.left+e.width)l=r.length;else{const e=Re.getInstance();for(let i=0;i<r.length+1;i++){if(a=e.getCharWidth(r.charAt(i),n)/2,s+=a,t<s){l=i;break}s+=a}}i.setStart(o.firstChild,l),i.setEnd(o.firstChild,l)}return i}(n,t.clientX,t.clientY):n.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY),!i||!i.startContainer)return new Me;const o=i.startContainer;if(o.nodeType===o.TEXT_NODE){const t=o.parentNode,n=t?t.parentNode:null,r=n?n.parentNode:null;return(r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===be.CLASS_NAME?Ce.createFromDOMInfo(e,t,i.startOffset):new Me(o.parentNode)}if(o.nodeType===o.ELEMENT_NODE){const t=o.parentNode,n=t?t.parentNode:null;return(n&&n.nodeType===n.ELEMENT_NODE?n.className:null)===be.CLASS_NAME?Ce.createFromDOMInfo(e,o,o.textContent.length):new Me(o)}return new Me}static _doHitTestWithCaretPositionFromPoint(e,t){const n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){const t=n.offsetNode.parentNode,i=t?t.parentNode:null,o=i?i.parentNode:null;return(o&&o.nodeType===o.ELEMENT_NODE?o.className:null)===be.CLASS_NAME?Ce.createFromDOMInfo(e,n.offsetNode.parentNode,n.offset):new Me(n.offsetNode.parentNode)}if(n.offsetNode.nodeType===n.offsetNode.ELEMENT_NODE){const t=n.offsetNode.parentNode,i=t&&t.nodeType===t.ELEMENT_NODE?t.className:null,o=t?t.parentNode:null,r=o&&o.nodeType===o.ELEMENT_NODE?o.className:null;if(i===be.CLASS_NAME){const t=n.offsetNode.childNodes[Math.min(n.offset,n.offsetNode.childNodes.length-1)];if(t)return Ce.createFromDOMInfo(e,t,0)}else if(r===be.CLASS_NAME)return Ce.createFromDOMInfo(e,n.offsetNode,0)}return new Me(n.offsetNode)}static _snapToSoftTabBoundary(e,t){const n=t.getLineContent(e.lineNumber),{tabSize:i}=t.model.getOptions(),o=ke.atomicPosition(n,e.column-1,i,2);return-1!==o?new xe.L(e.lineNumber,o+1):e}static _doHitTest(e,t){let n=new Me;if("function"==typeof document.caretRangeFromPoint?n=this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint&&(n=this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates())),1===n.type){const t=e.viewModel.getInjectedTextAt(n.position),i=e.viewModel.normalizePosition(n.position,2);!t&&i.equals(n.position)||(n=new De(i,n.spanNode,t))}return 1===n.type&&e.stickyTabStops&&(n=new De(this._snapToSoftTabBoundary(n.position,e.viewModel),n.spanNode,n.injectedText)),n}}class Re{constructor(){this._cache={},this._canvas=document.createElement("canvas")}static getInstance(){return Re._INSTANCE||(Re._INSTANCE=new Re),Re._INSTANCE}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}}function je(e){return function(t,n){let i=!1;return e&&(i=e.mouseTargetIsWidget(n)),i||n.preventDefault(),n}}Re._INSTANCE=null;class ze extends te{constructor(e,t,n){super(),this._context=e,this.viewController=t,this.viewHelper=n,this.mouseTargetFactory=new Fe(this._context,n),this._mouseDownOperation=this._register(new Ve(this._context,this.viewController,this.viewHelper,((e,t)=>this._createMouseTarget(e,t)),(e=>this._getMouseColumn(e)))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(131).height;const i=new $(this.viewHelper.viewDomNode);this._register(i.onContextMenu(this.viewHelper.viewDomNode,(e=>this._onContextMenu(e,!0)))),this._register(i.onMouseMoveThrottled(this.viewHelper.viewDomNode,(e=>this._onMouseMove(e)),je(this.mouseTargetFactory),ze.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onMouseUp(this.viewHelper.viewDomNode,(e=>this._onMouseUp(e)))),this._register(i.onMouseLeave(this.viewHelper.viewDomNode,(e=>this._onMouseLeave(e)))),this._register(i.onMouseDown(this.viewHelper.viewDomNode,(e=>this._onMouseDown(e)))),this._register(u.nm(this.viewHelper.viewDomNode,u.tw.MOUSE_WHEEL,(e=>{if(this.viewController.emitMouseWheel(e),!this._context.configuration.options.get(68))return;const t=new R.q(e);if(_.dz?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey){const e=S.C.getZoomLevel(),n=t.deltaY>0?1:-1;S.C.setZoomLevel(e+n),t.preventDefault(),t.stopPropagation()}}),{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(131)){const e=this._context.configuration.options.get(131).height;this._height!==e&&(this._height=e,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}onScrollChanged(e){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(e,t){const n=new H(e,t).toPageCoordinates(),i=G(this.viewHelper.viewDomNode);if(n.y<i.y||n.y>i.y+i.height||n.x<i.x||n.x>i.x+i.width)return null;const o=K(this.viewHelper.viewDomNode,i,n);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,o,null)}_createMouseTarget(e,t){let n=e.target;if(!this.viewHelper.viewDomNode.contains(n)){const t=u.Ay(this.viewHelper.viewDomNode);t&&(n=t.elementsFromPoint(e.posx,e.posy).find((e=>this.viewHelper.viewDomNode.contains(e))))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?n:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.relativePos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){this._mouseDownOperation.isActive()||e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}_onMouseLeave(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})}_onMouseUp(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})}_onMouseDown(e){const t=this._createMouseTarget(e,!0),n=6===t.type||7===t.type,i=2===t.type||3===t.type||4===t.type,o=3===t.type,r=this._context.configuration.options.get(98),a=8===t.type||5===t.type,s=9===t.type;let l=e.leftButton||e.middleButton;_.dz&&e.leftButton&&e.ctrlKey&&(l=!1);const c=()=>{e.preventDefault(),this.viewHelper.focusTextArea()};if(l&&(n||o&&r))c(),this._mouseDownOperation.start(t.type,e);else if(i)e.preventDefault();else if(a){const n=t.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(c(),this._mouseDownOperation.start(t.type,e),e.preventDefault())}else s&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:t})}}ze.MOUSE_MOVE_MINIMUM_TIME=100;class Ve extends f.JT{constructor(e,t,n,i,o){super(),this._context=e,this._viewController=t,this._viewHelper=n,this._createMouseTarget=i,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new q(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new j._F),this._mouseState=new We,this._currentSelection=new O.Y(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);const t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);const n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;const i=this._context.configuration.options;if(!i.get(81)&&i.get(31)&&!i.get(18)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,je(null),(e=>this._onMouseDownThenMove(e)),(e=>{const t=this._findMousePosition(this._lastMouseEvent,!0);e&&e instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()}));this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,je(null),(e=>this._onMouseDownThenMove(e)),(()=>this._stop())))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet((()=>{if(!this._lastMouseEvent)return;const e=this._findMousePosition(this._lastMouseEvent,!1);e&&(this._mouseState.isDragAndDrop||this._dispatchMouse(e,!0))}),10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){const t=e.editorPos,n=this._context.viewModel,i=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posy<t.y){const n=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0),r=Le.getZoneAtCoord(this._context,n);if(r){const e=this._helpPositionJumpOverViewZone(r);if(e)return Ie.createOutsideEditor(o,e)}const a=i.getLineNumberAtVerticalOffset(n);return Ie.createOutsideEditor(o,new xe.L(a,1))}if(e.posy>t.y+t.height){const t=i.getCurrentScrollTop()+e.relativePos.y,r=Le.getZoneAtCoord(this._context,t);if(r){const e=this._helpPositionJumpOverViewZone(r);if(e)return Ie.createOutsideEditor(o,e)}const a=i.getLineNumberAtVerticalOffset(t);return Ie.createOutsideEditor(o,new xe.L(a,n.getLineMaxColumn(a)))}const r=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+e.relativePos.y);return e.posx<t.x?Ie.createOutsideEditor(o,new xe.L(r,1)):e.posx>t.x+t.width?Ie.createOutsideEditor(o,new xe.L(r,n.getLineMaxColumn(r))):null}_findMousePosition(e,t){const n=this._getPositionOutsideEditor(e);if(n)return n;const i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){const e=this._helpPositionJumpOverViewZone(i.detail);if(e)return Ie.createViewZone(i.type,i.element,i.mouseColumn,e,i.detail)}return i}_helpPositionJumpOverViewZone(e){const t=new xe.L(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton,onInjectedText:6===e.type&&null!==e.detail.injectedText})}}class We{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){const n=(new Date).getTime();n-this._lastSetMouseDownCountTime>We.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=n,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}We.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var He,Ue=n(9958),Qe=n(7560),Ge=n(7467),Ke=n(8241);class Ye{constructor(e,t,n,i,o){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=o}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e){return new Ye(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new Ye(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){const t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){const t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}const t=this.value.substring(this.selectionStart,e);if(-1===t.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);const n=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,n,-1)}_finishDeduceEditorPosition(e,t,n){let i=0,o=-1;for(;-1!==(o=t.indexOf("\n",o+1));)i++;return[e,n*t.length,i]}static deduceInput(e,t,n){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};const i=Math.min(Ke.Mh(e.value,t.value),e.selectionStart,t.selectionStart),o=Math.min(Ke.P1(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd),r=(e.value.substring(i,e.value.length-o),t.value.substring(i,t.value.length-o)),a=e.selectionStart-i,s=e.selectionEnd-i;return t.selectionStart-i==t.selectionEnd-i?{text:r,replacePrevCharCnt:e.selectionStart-i,replaceNextCharCnt:0,positionDelta:0}:{text:r,replacePrevCharCnt:s-a,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};const n=Math.min(Ke.Mh(e.value,t.value),e.selectionEnd),i=Math.min(Ke.P1(e.value,t.value),e.value.length-e.selectionEnd),o=e.value.substring(n,e.value.length-i),r=t.value.substring(n,t.value.length-i),a=(e.selectionStart,e.selectionEnd-n),s=(t.selectionStart,t.selectionEnd-n);return{text:r,replacePrevCharCnt:a,replaceNextCharCnt:o.length-a,positionDelta:s-r.length}}}Ye.EMPTY=new Ye("",0,0,null,null);class $e{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const n=e*t,i=n+1,o=n+t;return new Se.e(i,1,o+1,1)}static fromEditorSelection(e,t,n,i,o){const r=$e._getPageOfLine(n.startLineNumber,i),a=$e._getRangeForPage(r,i),s=$e._getPageOfLine(n.endLineNumber,i),l=$e._getRangeForPage(s,i),c=a.intersectRanges(new Se.e(1,1,n.startLineNumber,n.startColumn));let d=t.getValueInRange(c,1);const u=t.getLineCount(),h=t.getLineMaxColumn(u),p=l.intersectRanges(new Se.e(n.endLineNumber,n.endColumn,u,h));let f,g=t.getValueInRange(p,1);if(r===s||r+1===s)f=t.getValueInRange(n,1);else{const e=a.intersectRanges(n),i=l.intersectRanges(n);f=t.getValueInRange(e,1)+String.fromCharCode(8230)+t.getValueInRange(i,1)}if(o){const e=500;d.length>e&&(d=d.substring(d.length-e,d.length)),g.length>e&&(g=g.substring(0,e)),f.length>2*e&&(f=f.substring(0,e)+String.fromCharCode(8230)+f.substring(f.length-e,f.length))}return new Ye(d+f+g,d.length,d.length+f.length,new xe.L(n.startLineNumber,n.startColumn),new xe.L(n.endLineNumber,n.endColumn))}}!function(e){e.Tap="-monaco-textarea-synthetic-tap"}(He||(He={}));class Je{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}Je.INSTANCE=new Je;class qe{constructor(){this._lastTypeTextLength=0}handleCompositionUpdate(e){const t={text:e=e||"",replacePrevCharCnt:this._lastTypeTextLength,replaceNextCharCnt:0,positionDelta:0};return this._lastTypeTextLength=e.length,t}}class Ze extends f.JT{constructor(e,t,n,i){super(),this._host=e,this._textArea=t,this._OS=n,this._browser=i,this._onFocus=this._register(new p.Q5),this.onFocus=this._onFocus.event,this._onBlur=this._register(new p.Q5),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new p.Q5),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new p.Q5),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new p.Q5),this.onCut=this._onCut.event,this._onPaste=this._register(new p.Q5),this.onPaste=this._onPaste.event,this._onType=this._register(new p.Q5),this.onType=this._onType.event,this._onCompositionStart=this._register(new p.Q5),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new p.Q5),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new p.Q5),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new p.Q5),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new j.pY((()=>this._onCut.fire()),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new j.pY((()=>this.writeScreenReaderContent("asyncFocusGain")),0)),this._textAreaState=Ye.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let o=null;this._register(this._textArea.onKeyDown((e=>{const t=new Qe.y(e);(109===t.keyCode||this._currentComposition&&1===t.keyCode)&&t.stopPropagation(),t.equals(9)&&t.preventDefault(),o=t,this._onKeyDown.fire(t)}))),this._register(this._textArea.onKeyUp((e=>{const t=new Qe.y(e);this._onKeyUp.fire(t)}))),this._register(this._textArea.onCompositionStart((e=>{const t=new qe;if(this._currentComposition)this._currentComposition=t;else{if(this._currentComposition=t,2===this._OS&&o&&o.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"===o.code||"ArrowLeft"===o.code))return t.handleCompositionUpdate("x"),void this._onCompositionStart.fire({data:e.data});this._browser.isAndroid,this._onCompositionStart.fire({data:e.data})}}))),this._register(this._textArea.onCompositionUpdate((e=>{const t=this._currentComposition;if(!t)return;if(this._browser.isAndroid){const t=Ye.readFromTextArea(this._textArea),n=Ye.deduceAndroidCompositionInput(this._textAreaState,t);return this._textAreaState=t,this._onType.fire(n),void this._onCompositionUpdate.fire(e)}const n=t.handleCompositionUpdate(e.data);this._textAreaState=Ye.readFromTextArea(this._textArea),this._onType.fire(n),this._onCompositionUpdate.fire(e)}))),this._register(this._textArea.onCompositionEnd((e=>{const t=this._currentComposition;if(!t)return;if(this._currentComposition=null,this._browser.isAndroid){const e=Ye.readFromTextArea(this._textArea),t=Ye.deduceAndroidCompositionInput(this._textAreaState,e);return this._textAreaState=e,this._onType.fire(t),void this._onCompositionEnd.fire()}const n=t.handleCompositionUpdate(e.data);this._textAreaState=Ye.readFromTextArea(this._textArea),this._onType.fire(n),this._onCompositionEnd.fire()}))),this._register(this._textArea.onInput((e=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;const t=Ye.readFromTextArea(this._textArea),n=Ye.deduceInput(this._textAreaState,t,2===this._OS);0===n.replacePrevCharCnt&&1===n.text.length&&Ke.ZG(n.text.charCodeAt(0))||(this._textAreaState=t,""===n.text&&0===n.replacePrevCharCnt&&0===n.replaceNextCharCnt&&0===n.positionDelta||this._onType.fire(n))}))),this._register(this._textArea.onCut((e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()}))),this._register(this._textArea.onCopy((e=>{this._ensureClipboardGetsEditorSelection(e)}))),this._register(this._textArea.onPaste((e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),e.preventDefault(),!e.clipboardData)return;let[t,n]=Xe.getTextData(e.clipboardData);t&&(n=n||Je.INSTANCE.get(t),this._onPaste.fire({text:t,metadata:n}))}))),this._register(this._textArea.onFocus((()=>{const e=this._hasFocus;this._setHasFocus(!0),this._browser.isSafari&&!e&&this._hasFocus&&this._asyncFocusGainWriteScreenReaderContent.schedule()}))),this._register(this._textArea.onBlur((()=>{this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)}))),this._register(this._textArea.onSyntheticTap((()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())})))}_installSelectionChangeListener(){let e=0;return u.nm(document,"selectionchange",(t=>{if(!this._hasFocus)return;if(this._currentComposition)return;if(!this._browser.isChrome)return;const n=Date.now(),i=n-e;if(e=n,i<5)return;const o=n-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),o<100)return;if(!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const r=this._textArea.getValue();if(this._textAreaState.value!==r)return;const a=this._textArea.getSelectionStart(),s=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===a&&this._textAreaState.selectionEnd===s)return;const l=this._textAreaState.deduceEditorPosition(a),c=this._host.deduceModelPosition(l[0],l[1],l[2]),d=this._textAreaState.deduceEditorPosition(s),u=this._host.deduceModelPosition(d[0],d[1],d[2]),h=new O.Y(c.lineNumber,c.column,u.lineNumber,u.column);this._onSelectionChangeRequest.fire(h)}))}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeScreenReaderContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._currentComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};Je.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\r\n/g,"\n"):t.text,n),e.preventDefault(),e.clipboardData&&Xe.setTextData(e.clipboardData,t.text,t.html,n)}}class Xe{static getTextData(e){const t=e.getData(Ge.v.text);let n=null;const i=e.getData("vscode-editor-data");if("string"==typeof i)try{n=JSON.parse(i),1!==n.version&&(n=null)}catch(e){}return[t,n]}static setTextData(e,t,n,i){e.setData(Ge.v.text,t),"string"==typeof n&&e.setData("text/html",n),e.setData("vscode-editor-data",JSON.stringify(i))}}class et extends f.JT{constructor(e){super(),this._actual=e,this.onKeyDown=this._register(u.IC(this._actual,"keydown")).event,this.onKeyUp=this._register(u.IC(this._actual,"keyup")).event,this.onCompositionStart=this._register(u.IC(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(u.IC(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(u.IC(this._actual,"compositionend")).event,this.onInput=this._register(u.IC(this._actual,"input")).event,this.onCut=this._register(u.IC(this._actual,"cut")).event,this.onCopy=this._register(u.IC(this._actual,"copy")).event,this.onPaste=this._register(u.IC(this._actual,"paste")).event,this.onFocus=this._register(u.IC(this._actual,"focus")).event,this.onBlur=this._register(u.IC(this._actual,"blur")).event,this._onSyntheticTap=this._register(new p.Q5),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(u.nm(this._actual,He.Tap,(()=>this._onSyntheticTap.fire())))}hasFocus(){const e=u.Ay(this._actual);return e?e.activeElement===this._actual:!!u.Uw(this._actual)&&document.activeElement===this._actual}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(e,t){const n=this._actual;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)}getSelectionStart(){return"backward"===this._actual.selectionDirection?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return"backward"===this._actual.selectionDirection?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(e,t,n){const i=this._actual;let o=null;const r=u.Ay(i);o=r?r.activeElement:document.activeElement;const a=o===i,s=i.selectionStart,l=i.selectionEnd;if(a&&s===t&&l===n)m.isFirefox&&window.parent!==window&&i.focus();else{if(a)return this.setIgnoreSelectionChangeTime("setSelectionRange"),i.setSelectionRange(t,n),void(m.isFirefox&&window.parent!==window&&i.focus());try{const e=u.vL(i);this.setIgnoreSelectionChangeTime("setSelectionRange"),i.focus(),i.setSelectionRange(t,n),u._0(i,e)}catch(e){}}}}class tt extends ze{constructor(e,t,n){super(e,t,n),this._register(F.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(u.nm(this.viewHelper.linesContentDomNode,F.t.Tap,(e=>this.onTap(e)))),this._register(u.nm(this.viewHelper.linesContentDomNode,F.t.Change,(e=>this.onChange(e)))),this._register(u.nm(this.viewHelper.linesContentDomNode,F.t.Contextmenu,(e=>this._onContextMenu(new Y(e,this.viewHelper.viewDomNode),!1)))),this._lastPointerType="mouse",this._register(u.nm(this.viewHelper.linesContentDomNode,"pointerdown",(e=>{const t=e.pointerType;this._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"})));const i=new J(this.viewHelper.viewDomNode);this._register(i.onPointerMoveThrottled(this.viewHelper.viewDomNode,(e=>this._onMouseMove(e)),je(this.mouseTargetFactory),ze.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onPointerUp(this.viewHelper.viewDomNode,(e=>this._onMouseUp(e)))),this._register(i.onPointerLeave(this.viewHelper.viewDomNode,(e=>this._onMouseLeave(e)))),this._register(i.onPointerDown(this.viewHelper.viewDomNode,(e=>this._onMouseDown(e))))}onTap(e){if(!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget))return;e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new Y(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===t.type&&null!==t.detail.injectedText})}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e)}}class nt extends ze{constructor(e,t,n){super(e,t,n),this._register(F.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(u.nm(this.viewHelper.linesContentDomNode,F.t.Tap,(e=>this.onTap(e)))),this._register(u.nm(this.viewHelper.linesContentDomNode,F.t.Change,(e=>this.onChange(e)))),this._register(u.nm(this.viewHelper.linesContentDomNode,F.t.Contextmenu,(e=>this._onContextMenu(new Y(e,this.viewHelper.viewDomNode),!1))))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new Y(e,this.viewHelper.viewDomNode),!1);if(t.position){const e=document.createEvent("CustomEvent");e.initEvent(He.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class it extends f.JT{constructor(e,t,n){super(),_.gn&&Ue.D.pointerEvents?this.handler=this._register(new tt(e,t,n)):window.TouchEvent?this.handler=this._register(new nt(e,t,n)):this.handler=this._register(new ze(e,t,n))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}var ot=n(2308);l()(ot.Z,{insert:"head",singleton:!1}),ot.Z.locals;var rt=n(5063),at=n(3233);l()(at.Z,{insert:"head",singleton:!1}),at.Z.locals;class st extends te{}var lt=n(5146),ct=n(2109);class dt extends st{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new xe.L(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(59);const t=e.get(60);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(84);const n=e.get(131);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){const t=e.selections[0].getPosition();this._lastCursorModelPosition=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(t);let n=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,n=!0),2!==this._renderLineNumbers&&3!==this._renderLineNumbers||(n=!0),n}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){const t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new xe.L(e,1));if(1!==t.column)return"";const n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){const e=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===e?'<span class="relative-current-line-number">'+n+"</span>":String(e)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)}prepareRender(e){if(0===this._renderLineNumbers)return void(this._renderResult=null);const t=_.IJ?this._lineHeight%2==0?" lh-even":" lh-odd":"",n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o='<div class="'+dt.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft+"px;width:"+this._lineNumbersWidth+'px;">',r=this._context.viewModel.getLineCount(),a=[];for(let e=n;e<=i;e++){const i=e-n;if(!this._renderFinalNewline&&e===r&&0===this._context.viewModel.getLineLength(e)){a[i]="";continue}const s=this._getLineRenderLineNumber(e);s?e===this._activeLineNumber?a[i]='<div class="active-line-number '+dt.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft+"px;width:"+this._lineNumbersWidth+'px;">'+s+"</div>":a[i]=o+s+"</div>":a[i]=""}this._renderResult=a}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}dt.CLASS_NAME="line-numbers",(0,ct.Ic)(((e,t)=>{const n=e.getColor(lt.hw);n&&t.addRule(`.monaco-editor .line-numbers { color: ${n}; }`);const i=e.getColor(lt.DD);i&&t.addRule(`.monaco-editor .line-numbers.active-line-number { color: ${i}; }`)}));class ut extends ne{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(131);this._canUseLayerHinting=!t.get(28),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._domNode=(0,P.X)(document.createElement("div")),this._domNode.setClassName(ut.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=(0,P.X)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(ut.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._canUseLayerHinting=!t.get(28),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");const t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);const n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)}}ut.CLASS_NAME="glyph-margin",ut.OUTER_CLASS_NAME="margin";var ht=n(9138),pt=n(7423),ft=n(2842),gt=n(5738);class mt{constructor(e,t,n,i,o){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=n,this.widthOfHiddenLineTextBefore=i,this.distanceToModelLineEnd=o,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){const t=new xe.L(this.modelLineNumber,this.distanceToModelLineStart+1),n=new xe.L(this.modelLineNumber,this._context.viewModel.model.getLineMaxColumn(this.modelLineNumber)-this.distanceToModelLineEnd);this.startPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t),this.endPosition=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(n),this.startPosition.lineNumber===this.endPosition.lineNumber?(this.visibleTextareaStart=e.visibleRangeForPosition(this.startPosition),this.visibleTextareaEnd=e.visibleRangeForPosition(this.endPosition)):(this.visibleTextareaStart=null,this.visibleTextareaEnd=null)}definePresentation(e){return this._previousPresentation||(this._previousPresentation=e||{foreground:1,italic:!1,bold:!1,underline:!1,strikethrough:!1}),this._previousPresentation}}const vt=m.isFirefox;class bt extends ne{constructor(e,t,n){super(e),this._primaryCursorPosition=new xe.L(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=n,this._scrollLeft=0,this._scrollTop=0;const i=this._context.configuration.options,o=i.get(131);this._setAccessibilityOptions(i),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._contentHeight=o.height,this._fontInfo=i.get(44),this._lineHeight=i.get(59),this._emptySelectionClipboard=i.get(32),this._copyWithSyntaxHighlighting=i.get(21),this._visibleTextArea=null,this._selections=[new O.Y(1,1,1,1)],this._modelSelections=[new O.Y(1,1,1,1)],this._lastRenderPosition=null,this.textArea=(0,P.X)(document.createElement("textarea")),ie.write(this.textArea,6),this.textArea.setClassName(`inputarea ${pt.S}`),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(i)),this.textArea.setAttribute("tabindex",String(i.get(112))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",d.N("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),i.get(30)&&i.get(81)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=(0,P.X)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const r={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:e=>this._context.viewModel.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.viewModel.getValueInRange(e,t)},a={getDataToCopy:()=>{const e=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,_.ED),t=this._context.viewModel.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),i=Array.isArray(e)?e:null,o=Array.isArray(e)?e.join(t):e;let r,a=null;if(this._copyWithSyntaxHighlighting&&o.length<65536){const e=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);e&&(r=e.html,a=e.mode)}return{isFromEmptySelection:n,multicursorText:i,text:o,html:r,mode:a}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){if(_.dz){const e=this._selections[0];if(e.isEmpty()){const t=e.getStartPosition();let n=this._getWordBeforePosition(t);if(0===n.length&&(n=this._getCharacterBeforePosition(t)),n.length>0)return new Ye(n,n.length,n.length,t,t)}}return Ye.EMPTY}if(m.isAndroid){const e=this._selections[0];if(e.isEmpty()){const t=e.getStartPosition(),[n,i]=this._getAndroidWordAtPosition(t);if(n.length>0)return new Ye(n,i,i,t,t)}return Ye.EMPTY}return $e.fromEditorSelection(e,r,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,n)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(e,t,n)},s=this._register(new et(this.textArea.domNode));this._textAreaInput=this._register(new Ze(a,s,_.OS,m)),this._register(this._textAreaInput.onKeyDown((e=>{this._viewController.emitKeyDown(e)}))),this._register(this._textAreaInput.onKeyUp((e=>{this._viewController.emitKeyUp(e)}))),this._register(this._textAreaInput.onPaste((e=>{let t=!1,n=null,i=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),this._viewController.paste(e.text,t,n,i)}))),this._register(this._textAreaInput.onCut((()=>{this._viewController.cut()}))),this._register(this._textAreaInput.onType((e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta):this._viewController.type(e.text)}))),this._register(this._textAreaInput.onSelectionChangeRequest((e=>{this._viewController.setSelection(e)}))),this._register(this._textAreaInput.onCompositionStart((e=>{const t=this.textArea.domNode,n=this._modelSelections[0],{distanceToModelLineStart:i,widthOfHiddenTextBefore:o}=(()=>{const e=t.value.substring(0,Math.min(t.selectionStart,t.selectionEnd)),i=e.lastIndexOf("\n"),o=e.substring(i+1),r=o.lastIndexOf("\t"),a=o.length-r-1,s=n.getStartPosition(),l=Math.min(s.column-1,a);return{distanceToModelLineStart:s.column-1-l,widthOfHiddenTextBefore:function(e,t){if(0===e.length)return 0;const n=document.createElement("div");n.style.position="absolute",n.style.top="-50000px",n.style.width="50000px";const i=document.createElement("span");(0,rt.N)(i,t),i.style.whiteSpace="pre",i.append(e),n.appendChild(i),document.body.appendChild(n);const o=i.offsetWidth;return document.body.removeChild(n),o}(o.substring(0,o.length-l),this._fontInfo)}})(),{distanceToModelLineEnd:r}=(()=>{const e=t.value.substring(Math.max(t.selectionStart,t.selectionEnd)),i=e.indexOf("\n"),o=-1===i?e:e.substring(0,i),r=o.indexOf("\t"),a=-1===r?o.length:o.length-r-1,s=n.getEndPosition(),l=Math.min(this._context.viewModel.model.getLineMaxColumn(s.lineNumber)-s.column,a);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(s.lineNumber)-s.column-l}})();this._context.viewModel.revealRange("keyboard",!0,Se.e.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new mt(this._context,n.startLineNumber,i,o,r),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${pt.S} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()}))),this._register(this._textAreaInput.onCompositionUpdate((e=>{this._visibleTextArea&&(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())}))),this._register(this._textAreaInput.onCompositionEnd((()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName(`inputarea ${pt.S}`),this._viewController.compositionEnd(),this._context.viewModel.onCompositionEnd()}))),this._register(this._textAreaInput.onFocus((()=>{this._context.viewModel.setHasFocus(!0)}))),this._register(this._textAreaInput.onBlur((()=>{this._context.viewModel.setHasFocus(!1)})))}dispose(){super.dispose()}_getAndroidWordAtPosition(e){const t=this._context.viewModel.getLineContent(e.lineNumber),n=(0,ht.u)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?');let i=!0,o=e.column,r=!0,a=e.column,s=0;for(;s<50&&(i||r);){if(i&&o<=1&&(i=!1),i){const e=t.charCodeAt(o-2);0!==n.get(e)?i=!1:o--}if(r&&a>t.length&&(r=!1),r){const e=t.charCodeAt(a-1);0!==n.get(e)?r=!1:a++}s++}return[t.substring(o-1,a-1),e.column-o]}_getWordBeforePosition(e){const t=this._context.viewModel.getLineContent(e.lineNumber),n=(0,ht.u)(this._context.configuration.options.get(117));let i=e.column,o=0;for(;i>1;){const r=t.charCodeAt(i-2);if(0!==n.get(r)||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){const t=this._context.viewModel.getLineContent(e.lineNumber).charAt(e.column-2);if(!Ke.ZG(t.charCodeAt(0)))return t}return""}_getAriaLabel(e){return 1===e.get(2)?d.N("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",_.IJ?"Shift+Alt+F1":"Alt+F1"):e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);const t=e.get(3);2===this._accessibilitySupport&&t===x.BH.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(44),this._lineHeight=t.get(59),this._emptySelectionClipboard=t.get(32),this._copyWithSyntaxHighlighting=t.get(21),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("tabindex",String(t.get(112))),(e.hasChanged(30)||e.hasChanged(81))&&(t.get(30)&&t.get(81)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}prepareRender(e){this._primaryCursorPosition=new xe.L(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),this._visibleTextArea&&this._visibleTextArea.prepareRender(e)}render(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea){const e=this._visibleTextArea.visibleTextareaStart,t=this._visibleTextArea.visibleTextareaEnd,n=this._visibleTextArea.startPosition,i=this._visibleTextArea.endPosition;if(n&&i&&e&&t&&t.left>=this._scrollLeft&&e.left<=this._scrollLeft+this._contentWidth){const o=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,r=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let a=this._visibleTextArea.widthOfHiddenLineTextBefore,s=this._contentLeft+e.left-this._scrollLeft,l=t.left-e.left+1;if(s<this._contentLeft){const e=this._contentLeft-s;s+=e,a+=e,l-=e}l>this._contentWidth&&(l=this._contentWidth);const c=this._context.viewModel.getViewLineData(n.lineNumber),d=c.tokens.findTokenIndexAtOffset(n.column-1),u=d===c.tokens.findTokenIndexAtOffset(i.column-1),h=this._visibleTextArea.definePresentation(u?c.tokens.getPresentation(d):null);this.textArea.domNode.scrollTop=r*this._lineHeight,this.textArea.domNode.scrollLeft=a,this._doRender({lastRenderPosition:null,top:o,left:s,width:l,height:this._lineHeight,useCover:!1,color:(ft.RW.getColorMap()||[])[h.foreground],italic:h.italic,bold:h.bold,underline:h.underline,strikethrough:h.strikethrough})}return}if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();const e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();const t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(t<0||t>this._contentHeight)this._renderAtTopLeft();else if(_.dz){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:t,left:e,width:vt?0:1,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const n=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));this.textArea.domNode.scrollTop=n*this._lineHeight}else this._doRender({lastRenderPosition:this._primaryCursorPosition,top:t,left:e,width:vt?0:1,height:vt?0:1,useCover:!1})}_newlinecount(e){let t=0,n=-1;for(;n=e.indexOf("\n",n+1),-1!==n;)t++;return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:vt?0:1,height:vt?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;const t=this.textArea,n=this.textAreaCover;(0,rt.N)(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?gt.Il.Format.CSS.formatHex(e.color):""),t.setFontStyle(e.italic?"italic":""),e.bold&&t.setFontWeight("bold"),t.setTextDecoration(`${e.underline?" underline":""}${e.strikethrough?" line-through":""}`),n.setTop(e.useCover?e.top:0),n.setLeft(e.useCover?e.left:0),n.setWidth(e.useCover?e.width:0),n.setHeight(e.useCover?e.height:0);const i=this._context.configuration.options;i.get(50)?n.setClassName("monaco-editor-background textAreaCover "+ut.OUTER_CLASS_NAME):0!==i.get(60).renderType?n.setClassName("monaco-editor-background textAreaCover "+dt.CLASS_NAME):n.setClassName("monaco-editor-background textAreaCover")}}var _t=n(8725),yt=n(2718),At=n(7311),wt=n(3250);const Ct=()=>!0,xt=()=>!1,St=e=>" "===e||"\t"===e;class Et{constructor(e,t,n,i){this.languageConfigurationService=i,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;const o=n.options,r=o.get(131);this.readOnly=o.get(81),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=o.get(104),this.lineHeight=o.get(59),this.pageSize=Math.max(1,Math.floor(r.height/this.lineHeight)-2),this.useTabStops=o.get(116),this.wordSeparators=o.get(117),this.emptySelectionClipboard=o.get(32),this.copyWithSyntaxHighlighting=o.get(21),this.multiCursorMergeOverlapping=o.get(69),this.multiCursorPaste=o.get(71),this.autoClosingBrackets=o.get(5),this.autoClosingQuotes=o.get(8),this.autoClosingDelete=o.get(6),this.autoClosingOvertype=o.get(7),this.autoSurround=o.get(11),this.autoIndent=o.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();const a=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(a)for(const e of a)this.surroundingPairs[e.open]=e.close}static shouldRecreate(e){return e.hasChanged(131)||e.hasChanged(117)||e.hasChanged(32)||e.hasChanged(69)||e.hasChanged(71)||e.hasChanged(5)||e.hasChanged(8)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(116)||e.hasChanged(59)||e.hasChanged(81)}get electricChars(){var e;if(!this._electricChars){this._electricChars={};const t=null===(e=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)||void 0===e?void 0:e.getElectricCharacters();if(t)for(const e of t)this._electricChars[e]=!0}return this._electricChars}onElectricCharacter(e,t,n){const i=(0,At.wH)(t,n-1),o=this.languageConfigurationService.getLanguageConfiguration(i.languageId).electricCharacter;return o?o.onElectricCharacter(e,i,n-i.firstCharOffset):null}normalizeIndentation(e){return(0,wt.x)(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return St;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(e);case"always":return Ct;case"never":return xt}}_getLanguageDefinedShouldAutoClose(e){const t=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet();return e=>-1!==t.indexOf(e)}visibleColumnFromColumn(e,t){return Ee.i.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,n){const i=Ee.i.columnFromVisibleColumn(e.getLineContent(t),n,this.tabSize),o=e.getLineMinColumn(t);if(i<o)return o;const r=e.getLineMaxColumn(t);return i>r?r:i}}class kt{constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}static fromModelState(e){return new Mt(e)}static fromViewState(e){return new Dt(e)}static fromModelSelection(e){const t=O.Y.liftSelection(e),n=new Nt(Se.e.fromPositions(t.getSelectionStart()),0,t.getPosition(),0);return kt.fromModelState(n)}static fromModelSelections(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}}class Mt{constructor(e){this.modelState=e,this.viewState=null}}class Dt{constructor(e){this.modelState=null,this.viewState=e}}class Nt{constructor(e,t,n,i){this._singleCursorStateBrand=void 0,this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=i,this.selection=Nt._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,n,i){return e?new Nt(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new xe.L(t,n),i):new Nt(new Se.e(t,n,t,n),i,new xe.L(t,n),i)}static _computeSelection(e,t){return e.isEmpty()||!t.isBeforeOrEqual(e.getStartPosition())?O.Y.fromPositions(e.getStartPosition(),t):O.Y.fromPositions(e.getEndPosition(),t)}}class It{constructor(e,t,n){this._editOperationResultBrand=void 0,this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}}function Tt(e){return"'"===e||'"'===e||"`"===e}class Lt{static columnSelect(e,t,n,i,o,r){const a=Math.abs(o-n)+1,s=n>o,l=i>r,c=i<r,d=[];for(let o=0;o<a;o++){const a=n+(s?-o:o),u=e.columnFromVisibleColumn(t,a,i),h=e.columnFromVisibleColumn(t,a,r),p=e.visibleColumnFromColumn(t,new xe.L(a,u)),f=e.visibleColumnFromColumn(t,new xe.L(a,h));if(c){if(p>r)continue;if(f<i)continue}if(l){if(f>i)continue;if(p<r)continue}d.push(new Nt(new Se.e(a,u,a,u),0,new xe.L(a,h),0))}if(0===d.length)for(let e=0;e<a;e++){const i=n+(s?-e:e),o=t.getLineMaxColumn(i);d.push(new Nt(new Se.e(i,o,i,o),0,new xe.L(i,o),0))}return{viewStates:d,reversed:s,fromLineNumber:n,fromVisualColumn:i,toLineNumber:o,toVisualColumn:r}}static columnSelectLeft(e,t,n){let i=n.toViewVisualColumn;return i>0&&i--,Lt.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,i)}static columnSelectRight(e,t,n){let i=0;const o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber);for(let n=o;n<=r;n++){const o=t.getLineMaxColumn(n),r=e.visibleColumnFromColumn(t,new xe.L(n,o));i=Math.max(i,r)}let a=n.toViewVisualColumn;return a<i&&a++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,a)}static columnSelectUp(e,t,n,i){const o=i?e.pageSize:1,r=Math.max(1,n.toViewLineNumber-o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}static columnSelectDown(e,t,n,i){const o=i?e.pageSize:1,r=Math.min(t.getLineCount(),n.toViewLineNumber+o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}}class Bt{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return O.Y.fromPositions(n.getEndPosition())}}class Ot{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return O.Y.fromPositions(n.getStartPosition())}}class Pt{constructor(e,t,n,i,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return O.Y.fromPositions(n.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class Ft{constructor(e,t,n,i=!1){this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class Rt{constructor(e,t,n){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}}class jt{static leftPosition(e,t){if(t.column>e.getLineMinColumn(t.lineNumber))return t.delta(void 0,-Ke.HO(e.getLineContent(t.lineNumber),t.column-1));if(t.lineNumber>1){const n=t.lineNumber-1;return new xe.L(n,e.getLineMaxColumn(n))}return t}static leftPositionAtomicSoftTabs(e,t,n){if(t.column<=e.getLineIndentColumn(t.lineNumber)){const i=e.getLineMinColumn(t.lineNumber),o=e.getLineContent(t.lineNumber),r=ke.atomicPosition(o,t.column-1,n,0);if(-1!==r&&r+1>=i)return new xe.L(t.lineNumber,r+1)}return this.leftPosition(e,t)}static left(e,t,n){const i=e.stickyTabStops?jt.leftPositionAtomicSoftTabs(t,n,e.tabSize):jt.leftPosition(t,n);return new Rt(i.lineNumber,i.column,0)}static moveLeft(e,t,n,i,o){let r,a;if(n.hasSelection()&&!i)r=n.selection.startLineNumber,a=n.selection.startColumn;else{const i=n.position.delta(void 0,-(o-1)),s=t.normalizePosition(jt.clipPositionColumn(i,t),0),l=jt.left(e,t,s);r=l.lineNumber,a=l.column}return n.move(i,r,a,0)}static clipPositionColumn(e,t){return new xe.L(e.lineNumber,jt.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,n){return e<t?t:e>n?n:e}static rightPosition(e,t,n){return n<e.getLineMaxColumn(t)?n+=Ke.vH(e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new xe.L(t,n)}static rightPositionAtomicSoftTabs(e,t,n,i,o){if(n<e.getLineIndentColumn(t)){const o=e.getLineContent(t),r=ke.atomicPosition(o,n-1,i,1);if(-1!==r)return new xe.L(t,r+1)}return this.rightPosition(e,t,n)}static right(e,t,n){const i=e.stickyTabStops?jt.rightPositionAtomicSoftTabs(t,n.lineNumber,n.column,e.tabSize,e.indentSize):jt.rightPosition(t,n.lineNumber,n.column);return new Rt(i.lineNumber,i.column,0)}static moveRight(e,t,n,i,o){let r,a;if(n.hasSelection()&&!i)r=n.selection.endLineNumber,a=n.selection.endColumn;else{const i=n.position.delta(void 0,o-1),s=t.normalizePosition(jt.clipPositionColumn(i,t),1),l=jt.right(e,t,s);r=l.lineNumber,a=l.column}return n.move(i,r,a,0)}static vertical(e,t,n,i,o,r,a,s){const l=Ee.i.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+o,c=t.getLineCount(),d=1===n&&1===i,u=n===c&&i===t.getLineMaxColumn(n),h=r<n?d:u;if((n=r)<1?(n=1,i=a?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),i)):n>c?(n=c,i=a?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),i)):i=e.columnFromVisibleColumn(t,n,l),o=h?0:l-Ee.i.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),void 0!==s){const e=new xe.L(n,i),r=t.normalizePosition(e,s);o+=i-r.column,n=r.lineNumber,i=r.column}return new Rt(n,i,o)}static down(e,t,n,i,o,r,a){return this.vertical(e,t,n,i,o,n+r,a,1)}static moveDown(e,t,n,i,o){let r,a;n.hasSelection()&&!i?(r=n.selection.endLineNumber,a=n.selection.endColumn):(r=n.position.lineNumber,a=n.position.column);const s=jt.down(e,t,r,a,n.leftoverVisibleColumns,o,!0);return n.move(i,s.lineNumber,s.column,s.leftoverVisibleColumns)}static translateDown(e,t,n){const i=n.selection,o=jt.down(e,t,i.selectionStartLineNumber,i.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),r=jt.down(e,t,i.positionLineNumber,i.positionColumn,n.leftoverVisibleColumns,1,!1);return new Nt(new Se.e(o.lineNumber,o.column,o.lineNumber,o.column),o.leftoverVisibleColumns,new xe.L(r.lineNumber,r.column),r.leftoverVisibleColumns)}static up(e,t,n,i,o,r,a){return this.vertical(e,t,n,i,o,n-r,a,0)}static moveUp(e,t,n,i,o){let r,a;n.hasSelection()&&!i?(r=n.selection.startLineNumber,a=n.selection.startColumn):(r=n.position.lineNumber,a=n.position.column);const s=jt.up(e,t,r,a,n.leftoverVisibleColumns,o,!0);return n.move(i,s.lineNumber,s.column,s.leftoverVisibleColumns)}static translateUp(e,t,n){const i=n.selection,o=jt.up(e,t,i.selectionStartLineNumber,i.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),r=jt.up(e,t,i.positionLineNumber,i.positionColumn,n.leftoverVisibleColumns,1,!1);return new Nt(new Se.e(o.lineNumber,o.column,o.lineNumber,o.column),o.leftoverVisibleColumns,new xe.L(r.lineNumber,r.column),r.leftoverVisibleColumns)}static _isBlankLine(e,t){return 0===e.getLineFirstNonWhitespaceColumn(t)}static moveToPrevBlankLine(e,t,n,i){let o=n.position.lineNumber;for(;o>1&&this._isBlankLine(t,o);)o--;for(;o>1&&!this._isBlankLine(t,o);)o--;return n.move(i,o,t.getLineMinColumn(o),0)}static moveToNextBlankLine(e,t,n,i){const o=t.getLineCount();let r=n.position.lineNumber;for(;r<o&&this._isBlankLine(t,r);)r++;for(;r<o&&!this._isBlankLine(t,r);)r++;return n.move(i,r,t.getLineMinColumn(r),0)}static moveToBeginningOfLine(e,t,n,i){const o=n.position.lineNumber,r=t.getLineMinColumn(o),a=t.getLineFirstNonWhitespaceColumn(o)||r;let s;return s=n.position.column===a?r:a,n.move(i,o,s,0)}static moveToEndOfLine(e,t,n,i,o){const r=n.position.lineNumber,a=t.getLineMaxColumn(r);return n.move(i,r,a,o?1073741824-a:0)}static moveToBeginningOfBuffer(e,t,n,i){return n.move(i,1,1,0)}static moveToEndOfBuffer(e,t,n,i){const o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)}}class zt{static deleteRight(e,t,n,i){const o=[];let r=3!==e;for(let e=0,a=i.length;e<a;e++){const a=i[e];let s=a;if(s.isEmpty()){const e=a.getPosition(),i=jt.right(t,n,e);s=new Se.e(i.lineNumber,i.column,e.lineNumber,e.column)}s.isEmpty()?o[e]=null:(s.startLineNumber!==s.endLineNumber&&(r=!0),o[e]=new Bt(s,""))}return[r,o]}static isAutoClosingPairDelete(e,t,n,i,o,r,a){if("never"===t&&"never"===n)return!1;if("never"===e)return!1;for(let s=0,l=r.length;s<l;s++){const l=r[s],c=l.getPosition();if(!l.isEmpty())return!1;const d=o.getLineContent(c.lineNumber);if(c.column<2||c.column>=d.length+1)return!1;const u=d.charAt(c.column-2),h=i.get(u);if(!h)return!1;if(Tt(u)){if("never"===n)return!1}else if("never"===t)return!1;const p=d.charAt(c.column-1);let f=!1;for(const e of h)e.open===u&&e.close===p&&(f=!0);if(!f)return!1;if("auto"===e){let e=!1;for(let t=0,n=a.length;t<n;t++){const n=a[t];if(c.lineNumber===n.startLineNumber&&c.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingPairDelete(e,t,n){const i=[];for(let e=0,t=n.length;e<t;e++){const t=n[e].getPosition(),o=new Se.e(t.lineNumber,t.column-1,t.lineNumber,t.column+1);i[e]=new Bt(o,"")}return[!0,i]}static deleteLeft(e,t,n,i,o){if(this.isAutoClosingPairDelete(t.autoClosingDelete,t.autoClosingBrackets,t.autoClosingQuotes,t.autoClosingPairs.autoClosingPairsOpenByEnd,n,i,o))return this._runAutoClosingPairDelete(t,n,i);const r=[];let a=2!==e;for(let e=0,o=i.length;e<o;e++){const o=zt.getDeleteRange(i[e],n,t);o.isEmpty()?r[e]=null:(o.startLineNumber!==o.endLineNumber&&(a=!0),r[e]=new Bt(o,""))}return[a,r]}static getDeleteRange(e,t,n){if(!e.isEmpty())return e;const i=e.getPosition();if(n.useTabStops&&i.column>1){const e=t.getLineContent(i.lineNumber),o=Ke.LC(e),r=-1===o?e.length+1:o+1;if(i.column<=r){const e=n.visibleColumnFromColumn(t,i),o=Ee.i.prevIndentTabStop(e,n.indentSize),r=n.columnFromVisibleColumn(t,i.lineNumber,o);return new Se.e(i.lineNumber,r,i.lineNumber,i.column)}}return Se.e.fromPositions(zt.getPositionAfterDeleteLeft(i,t),i)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){const n=Ke.oH(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,n+1)}if(e.lineNumber>1){const n=e.lineNumber-1;return new xe.L(n,t.getLineMaxColumn(n))}return e}static cut(e,t,n){const i=[];let o=null;n.sort(((e,t)=>xe.L.compare(e.getStartPosition(),t.getEndPosition())));for(let r=0,a=n.length;r<a;r++){const a=n[r];if(a.isEmpty())if(e.emptySelectionClipboard){const e=a.getPosition();let n,s,l,c;e.lineNumber<t.getLineCount()?(n=e.lineNumber,s=1,l=e.lineNumber+1,c=1):e.lineNumber>1&&(null==o?void 0:o.endLineNumber)!==e.lineNumber?(n=e.lineNumber-1,s=t.getLineMaxColumn(e.lineNumber-1),l=e.lineNumber,c=t.getLineMaxColumn(e.lineNumber)):(n=e.lineNumber,s=1,l=e.lineNumber,c=t.getLineMaxColumn(e.lineNumber));const d=new Se.e(n,s,l,c);o=d,d.isEmpty()?i[r]=null:i[r]=new Bt(d,"")}else i[r]=null;else i[r]=new Bt(a,"")}return new It(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}class Vt{static _createWord(e,t,n,i,o){return{start:i,end:o,wordType:t,nextCharClass:n}}static _findPreviousWordOnLine(e,t,n){const i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)}static _doFindPreviousWordOnLine(e,t,n){let i=0;for(let o=n.column-2;o>=0;o--){const n=e.charCodeAt(o),r=t.get(n);if(0===r){if(2===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===r){if(1===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===r&&0!==i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null}static _findEndOfWord(e,t,n,i){const o=e.length;for(let r=i;r<o;r++){const i=e.charCodeAt(r),o=t.get(i);if(1===o)return r;if(1===n&&2===o)return r;if(2===n&&0===o)return r}return o}static _findNextWordOnLine(e,t,n){const i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)}static _doFindNextWordOnLine(e,t,n){let i=0;const o=e.length;for(let r=n.column-1;r<o;r++){const n=e.charCodeAt(r),o=t.get(n);if(0===o){if(2===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=1}else if(2===o){if(1===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=2}else if(1===o&&0!==i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,o-1),o):null}static _findStartOfWord(e,t,n,i){for(let o=i;o>=0;o--){const i=e.charCodeAt(o),r=t.get(i);if(1===r)return o+1;if(1===n&&2===r)return o+1;if(2===n&&0===r)return o+1}return 0}static moveWordLeft(e,t,n,i){let o=n.lineNumber,r=n.column;1===r&&o>1&&(o-=1,r=t.getLineMaxColumn(o));let a=Vt._findPreviousWordOnLine(e,t,new xe.L(o,r));if(0===i)return new xe.L(o,a?a.start+1:1);if(1===i)return a&&2===a.wordType&&a.end-a.start==1&&0===a.nextCharClass&&(a=Vt._findPreviousWordOnLine(e,t,new xe.L(o,a.start+1))),new xe.L(o,a?a.start+1:1);if(3===i){for(;a&&2===a.wordType;)a=Vt._findPreviousWordOnLine(e,t,new xe.L(o,a.start+1));return new xe.L(o,a?a.start+1:1)}return a&&r<=a.end+1&&(a=Vt._findPreviousWordOnLine(e,t,new xe.L(o,a.start+1))),new xe.L(o,a?a.end+1:1)}static _moveWordPartLeft(e,t){const n=t.lineNumber,i=e.getLineMaxColumn(n);if(1===t.column)return n>1?new xe.L(n-1,e.getLineMaxColumn(n-1)):t;const o=e.getLineContent(n);for(let e=t.column-1;e>1;e--){const t=o.charCodeAt(e-2),r=o.charCodeAt(e-1);if(95===t&&95!==r)return new xe.L(n,e);if(Ke.mK(t)&&Ke.df(r))return new xe.L(n,e);if(Ke.df(t)&&Ke.df(r)&&e+1<i){const t=o.charCodeAt(e);if(Ke.mK(t))return new xe.L(n,e)}}return new xe.L(n,1)}static moveWordRight(e,t,n,i){let o=n.lineNumber,r=n.column,a=!1;r===t.getLineMaxColumn(o)&&o<t.getLineCount()&&(a=!0,o+=1,r=1);let s=Vt._findNextWordOnLine(e,t,new xe.L(o,r));if(2===i)s&&2===s.wordType&&s.end-s.start==1&&0===s.nextCharClass&&(s=Vt._findNextWordOnLine(e,t,new xe.L(o,s.end+1))),r=s?s.end+1:t.getLineMaxColumn(o);else if(3===i){for(a&&(r=0);s&&(2===s.wordType||s.start+1<=r);)s=Vt._findNextWordOnLine(e,t,new xe.L(o,s.end+1));r=s?s.start+1:t.getLineMaxColumn(o)}else s&&!a&&r>=s.start+1&&(s=Vt._findNextWordOnLine(e,t,new xe.L(o,s.end+1))),r=s?s.start+1:t.getLineMaxColumn(o);return new xe.L(o,r)}static _moveWordPartRight(e,t){const n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===i)return n<e.getLineCount()?new xe.L(n+1,1):t;const o=e.getLineContent(n);for(let e=t.column+1;e<i;e++){const t=o.charCodeAt(e-2),r=o.charCodeAt(e-1);if(95!==t&&95===r)return new xe.L(n,e);if(Ke.mK(t)&&Ke.df(r))return new xe.L(n,e);if(Ke.df(t)&&Ke.df(r)&&e+1<i){const t=o.charCodeAt(e);if(Ke.mK(t))return new xe.L(n,e)}}return new xe.L(n,i)}static _deleteWordLeftWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-2,o=Ke.ow(n,i);return o+1<i?new Se.e(t.lineNumber,o+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t){const n=e.wordSeparators,i=e.model,o=e.selection,r=e.whitespaceHeuristics;if(!o.isEmpty())return o;if(zt.isAutoClosingPairDelete(e.autoClosingDelete,e.autoClosingBrackets,e.autoClosingQuotes,e.autoClosingPairs.autoClosingPairsOpenByEnd,e.model,[e.selection],e.autoClosedCharacters)){const t=e.selection.getPosition();return new Se.e(t.lineNumber,t.column-1,t.lineNumber,t.column+1)}const a=new xe.L(o.positionLineNumber,o.positionColumn);let s=a.lineNumber,l=a.column;if(1===s&&1===l)return null;if(r){const e=this._deleteWordLeftWhitespace(i,a);if(e)return e}let c=Vt._findPreviousWordOnLine(n,i,a);return 0===t?c?l=c.start+1:l>1?l=1:(s--,l=i.getLineMaxColumn(s)):(c&&l<=c.end+1&&(c=Vt._findPreviousWordOnLine(n,i,new xe.L(s,c.start+1))),c?l=c.end+1:l>1?l=1:(s--,l=i.getLineMaxColumn(s))),new Se.e(s,l,a.lineNumber,a.column)}static deleteInsideWord(e,t,n){if(!n.isEmpty())return n;const i=new xe.L(n.positionLineNumber,n.positionColumn);return this._deleteInsideWordWhitespace(t,i)||this._deleteInsideWordDetermineDeleteRange(e,t,i)}static _charAtIsWhitespace(e,t){const n=e.charCodeAt(t);return 32===n||9===n}static _deleteInsideWordWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=n.length;if(0===i)return null;let o=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(n,o))return null;let r=Math.min(t.column-1,i-1);if(!this._charAtIsWhitespace(n,r))return null;for(;o>0&&this._charAtIsWhitespace(n,o-1);)o--;for(;r+1<i&&this._charAtIsWhitespace(n,r+1);)r++;return new Se.e(t.lineNumber,o+1,t.lineNumber,r+2)}static _deleteInsideWordDetermineDeleteRange(e,t,n){const i=t.getLineContent(n.lineNumber),o=i.length;if(0===o)return n.lineNumber>1?new Se.e(n.lineNumber-1,t.getLineMaxColumn(n.lineNumber-1),n.lineNumber,1):n.lineNumber<t.getLineCount()?new Se.e(n.lineNumber,1,n.lineNumber+1,1):new Se.e(n.lineNumber,1,n.lineNumber,1);const r=e=>e.start+1<=n.column&&n.column<=e.end+1,a=(e,t)=>(e=Math.min(e,n.column),t=Math.max(t,n.column),new Se.e(n.lineNumber,e,n.lineNumber,t)),s=e=>{let t=e.start+1,n=e.end+1,r=!1;for(;n-1<o&&this._charAtIsWhitespace(i,n-1);)r=!0,n++;if(!r)for(;t>1&&this._charAtIsWhitespace(i,t-2);)t--;return a(t,n)},l=Vt._findPreviousWordOnLine(e,t,n);if(l&&r(l))return s(l);const c=Vt._findNextWordOnLine(e,t,n);return c&&r(c)?s(c):l&&c?a(l.end+1,c.start+1):l?a(l.start+1,l.end+1):c?a(c.start+1,c.end+1):a(1,o+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=Vt._moveWordPartLeft(e,n);return new Se.e(n.lineNumber,n.column,i.lineNumber,i.column)}static _findFirstNonWhitespaceChar(e,t){const n=e.length;for(let i=t;i<n;i++){const t=e.charAt(i);if(" "!==t&&"\t"!==t)return i}return n}static _deleteWordRightWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-1,o=this._findFirstNonWhitespaceChar(n,i);return i+1<o?new Se.e(t.lineNumber,t.column,t.lineNumber,o+1):null}static deleteWordRight(e,t){const n=e.wordSeparators,i=e.model,o=e.selection,r=e.whitespaceHeuristics;if(!o.isEmpty())return o;const a=new xe.L(o.positionLineNumber,o.positionColumn);let s=a.lineNumber,l=a.column;const c=i.getLineCount(),d=i.getLineMaxColumn(s);if(s===c&&l===d)return null;if(r){const e=this._deleteWordRightWhitespace(i,a);if(e)return e}let u=Vt._findNextWordOnLine(n,i,a);return 2===t?u?l=u.end+1:l<d||s===c?l=d:(s++,u=Vt._findNextWordOnLine(n,i,new xe.L(s,1)),l=u?u.start+1:i.getLineMaxColumn(s)):(u&&l>=u.start+1&&(u=Vt._findNextWordOnLine(n,i,new xe.L(s,u.end+1))),u?l=u.start+1:l<d||s===c?l=d:(s++,u=Vt._findNextWordOnLine(n,i,new xe.L(s,1)),l=u?u.start+1:i.getLineMaxColumn(s))),new Se.e(s,l,a.lineNumber,a.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=Vt._moveWordPartRight(e,n);return new Se.e(n.lineNumber,n.column,i.lineNumber,i.column)}static _createWordAtPosition(e,t,n){const i=new Se.e(t,n.start+1,t,n.end+1);return{word:e.getValueInRange(i),startColumn:i.startColumn,endColumn:i.endColumn}}static getWordAtPosition(e,t,n){const i=(0,ht.u)(t),o=Vt._findPreviousWordOnLine(i,e,n);if(o&&1===o.wordType&&o.start<=n.column-1&&n.column-1<=o.end)return Vt._createWordAtPosition(e,n.lineNumber,o);const r=Vt._findNextWordOnLine(i,e,n);return r&&1===r.wordType&&r.start<=n.column-1&&n.column-1<=r.end?Vt._createWordAtPosition(e,n.lineNumber,r):null}static word(e,t,n,i,o){const r=(0,ht.u)(e.wordSeparators),a=Vt._findPreviousWordOnLine(r,t,o),s=Vt._findNextWordOnLine(r,t,o);if(!i){let e,n;return a&&1===a.wordType&&a.start<=o.column-1&&o.column-1<=a.end?(e=a.start+1,n=a.end+1):s&&1===s.wordType&&s.start<=o.column-1&&o.column-1<=s.end?(e=s.start+1,n=s.end+1):(e=a?a.end+1:1,n=s?s.start+1:t.getLineMaxColumn(o.lineNumber)),new Nt(new Se.e(o.lineNumber,e,o.lineNumber,n),0,new xe.L(o.lineNumber,n),0)}let l,c;a&&1===a.wordType&&a.start<o.column-1&&o.column-1<a.end?(l=a.start+1,c=a.end+1):s&&1===s.wordType&&s.start<o.column-1&&o.column-1<s.end?(l=s.start+1,c=s.end+1):(l=o.column,c=o.column);const d=o.lineNumber;let u;if(n.selectionStart.containsPosition(o))u=n.selectionStart.endColumn;else if(o.isBeforeOrEqual(n.selectionStart.getStartPosition())){u=l;const e=new xe.L(d,u);n.selectionStart.containsPosition(e)&&(u=n.selectionStart.endColumn)}else{u=c;const e=new xe.L(d,u);n.selectionStart.containsPosition(e)&&(u=n.selectionStart.startColumn)}return n.move(!0,d,u,0)}}class Wt{static addCursorDown(e,t,n){const i=[];let o=0;for(let r=0,a=t.length;r<a;r++){const a=t[r];i[o++]=new kt(a.modelState,a.viewState),i[o++]=n?kt.fromModelState(jt.translateDown(e.cursorConfig,e.model,a.modelState)):kt.fromViewState(jt.translateDown(e.cursorConfig,e,a.viewState))}return i}static addCursorUp(e,t,n){const i=[];let o=0;for(let r=0,a=t.length;r<a;r++){const a=t[r];i[o++]=new kt(a.modelState,a.viewState),i[o++]=n?kt.fromModelState(jt.translateUp(e.cursorConfig,e.model,a.modelState)):kt.fromViewState(jt.translateUp(e.cursorConfig,e,a.viewState))}return i}static moveToBeginningOfLine(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=this._moveToLineStart(e,r,n)}return i}static _moveToLineStart(e,t,n){const i=t.viewState.position.column,o=i===t.modelState.position.column,r=t.viewState.position.lineNumber,a=e.getLineFirstNonWhitespaceColumn(r);return o||i===a?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)}static _moveToLineStartByView(e,t,n){return kt.fromViewState(jt.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,n))}static _moveToLineStartByModel(e,t,n){return kt.fromModelState(jt.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,n))}static moveToEndOfLine(e,t,n,i){const o=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];o[r]=this._moveToLineEnd(e,a,n,i)}return o}static _moveToLineEnd(e,t,n,i){const o=t.viewState.position,r=e.getLineMaxColumn(o.lineNumber),a=o.column===r,s=t.modelState.position,l=e.model.getLineMaxColumn(s.lineNumber),c=r-o.column==l-s.column;return a||c?this._moveToLineEndByModel(e,t,n,i):this._moveToLineEndByView(e,t,n,i)}static _moveToLineEndByView(e,t,n,i){return kt.fromViewState(jt.moveToEndOfLine(e.cursorConfig,e,t.viewState,n,i))}static _moveToLineEndByModel(e,t,n,i){return kt.fromModelState(jt.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,n,i))}static expandLineSelection(e,t){const n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],r=o.modelState.selection.startLineNumber,a=e.model.getLineCount();let s,l=o.modelState.selection.endLineNumber;l===a?s=e.model.getLineMaxColumn(a):(l++,s=1),n[i]=kt.fromModelState(new Nt(new Se.e(r,1,r,1),0,new xe.L(l,s),0))}return n}static moveToBeginningOfBuffer(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=kt.fromModelState(jt.moveToBeginningOfBuffer(e.cursorConfig,e.model,r.modelState,n))}return i}static moveToEndOfBuffer(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=kt.fromModelState(jt.moveToEndOfBuffer(e.cursorConfig,e.model,r.modelState,n))}return i}static selectAll(e,t){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return kt.fromModelState(new Nt(new Se.e(1,1,1,1),0,new xe.L(n,i),0))}static line(e,t,n,i,o){const r=e.model.validatePosition(i),a=o?e.coordinatesConverter.validateViewPosition(new xe.L(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);if(!n||!t.modelState.hasSelection()){const t=e.model.getLineCount();let n=r.lineNumber+1,i=1;return n>t&&(n=t,i=e.model.getLineMaxColumn(n)),kt.fromModelState(new Nt(new Se.e(r.lineNumber,1,n,i),0,new xe.L(n,i),0))}const s=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber<s)return kt.fromViewState(t.viewState.move(t.modelState.hasSelection(),a.lineNumber,1,0));if(r.lineNumber>s){const n=e.getLineCount();let i=a.lineNumber+1,o=1;return i>n&&(i=n,o=e.getLineMaxColumn(i)),kt.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,o,0))}{const e=t.modelState.selectionStart.getEndPosition();return kt.fromModelState(t.modelState.move(t.modelState.hasSelection(),e.lineNumber,e.column,0))}}static word(e,t,n,i){const o=e.model.validatePosition(i);return kt.fromModelState(Vt.word(e.cursorConfig,e.model,t.modelState,n,o))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new kt(t.modelState,t.viewState);const n=t.viewState.position.lineNumber,i=t.viewState.position.column;return kt.fromViewState(new Nt(new Se.e(n,i,n,i),0,new xe.L(n,i),0))}static moveTo(e,t,n,i,o){const r=e.model.validatePosition(i),a=o?e.coordinatesConverter.validateViewPosition(new xe.L(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);return kt.fromViewState(t.viewState.move(n,a.lineNumber,a.column,0))}static simpleMove(e,t,n,i,o,r){switch(n){case 0:return 4===r?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===r?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===r?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===r?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return 2===r?t.map((t=>kt.fromViewState(jt.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,i)))):t.map((t=>kt.fromModelState(jt.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,i))));case 5:return 2===r?t.map((t=>kt.fromViewState(jt.moveToNextBlankLine(e.cursorConfig,e,t.viewState,i)))):t.map((t=>kt.fromModelState(jt.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,i))));case 6:return this._moveToViewMinColumn(e,t,i);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 8:return this._moveToViewCenterColumn(e,t,i);case 9:return this._moveToViewMaxColumn(e,t,i);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,i);default:return null}}static viewportMove(e,t,n,i,o){const r=e.getCompletelyVisibleViewRange(),a=e.coordinatesConverter.convertViewRangeToModelRange(r);switch(n){case 11:{const n=this._firstLineNumberInRange(e.model,a,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 13:{const n=this._lastLineNumberInRange(e.model,a,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 12:{const n=Math.round((a.startLineNumber+a.endLineNumber)/2),o=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,o)]}case 14:{const n=[];for(let o=0,a=t.length;o<a;o++){const a=t[o];n[o]=this.findPositionInViewportIfOutside(e,a,r,i)}return n}default:return null}}static findPositionInViewportIfOutside(e,t,n,i){const o=t.viewState.position.lineNumber;if(n.startLineNumber<=o&&o<=n.endLineNumber-1)return new kt(t.modelState,t.viewState);{let r;r=o>n.endLineNumber-1?n.endLineNumber-1:o<n.startLineNumber?n.startLineNumber:o;const a=jt.vertical(e.cursorConfig,e,o,t.viewState.position.column,t.viewState.leftoverVisibleColumns,r,!1);return kt.fromViewState(t.viewState.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns))}}static _firstLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)}static _lastLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)}static _moveLeft(e,t,n,i){return t.map((t=>kt.fromViewState(jt.moveLeft(e.cursorConfig,e,t.viewState,n,i))))}static _moveHalfLineLeft(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=Math.round(e.getLineContent(a).length/2);i[o]=kt.fromViewState(jt.moveLeft(e.cursorConfig,e,r.viewState,n,s))}return i}static _moveRight(e,t,n,i){return t.map((t=>kt.fromViewState(jt.moveRight(e.cursorConfig,e,t.viewState,n,i))))}static _moveHalfLineRight(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=Math.round(e.getLineContent(a).length/2);i[o]=kt.fromViewState(jt.moveRight(e.cursorConfig,e,r.viewState,n,s))}return i}static _moveDownByViewLines(e,t,n,i){const o=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];o[r]=kt.fromViewState(jt.moveDown(e.cursorConfig,e,a.viewState,n,i))}return o}static _moveDownByModelLines(e,t,n,i){const o=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];o[r]=kt.fromModelState(jt.moveDown(e.cursorConfig,e.model,a.modelState,n,i))}return o}static _moveUpByViewLines(e,t,n,i){const o=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];o[r]=kt.fromViewState(jt.moveUp(e.cursorConfig,e,a.viewState,n,i))}return o}static _moveUpByModelLines(e,t,n,i){const o=[];for(let r=0,a=t.length;r<a;r++){const a=t[r];o[r]=kt.fromModelState(jt.moveUp(e.cursorConfig,e.model,a.modelState,n,i))}return o}static _moveToViewPosition(e,t,n,i,o){return kt.fromViewState(t.viewState.move(n,i,o,0))}static _moveToModelPosition(e,t,n,i,o){return kt.fromModelState(t.modelState.move(n,i,o,0))}static _moveToViewMinColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=e.getLineMinColumn(a);i[o]=this._moveToViewPosition(e,r,n,a,s)}return i}static _moveToViewFirstNonWhitespaceColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=e.getLineFirstNonWhitespaceColumn(a);i[o]=this._moveToViewPosition(e,r,n,a,s)}return i}static _moveToViewCenterColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=Math.round((e.getLineMaxColumn(a)+e.getLineMinColumn(a))/2);i[o]=this._moveToViewPosition(e,r,n,a,s)}return i}static _moveToViewMaxColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=e.getLineMaxColumn(a);i[o]=this._moveToViewPosition(e,r,n,a,s)}return i}static _moveToViewLastNonWhitespaceColumn(e,t,n){const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],a=r.viewState.position.lineNumber,s=e.getLineLastNonWhitespaceColumn(a);i[o]=this._moveToViewPosition(e,r,n,a,s)}return i}}var Ht;!function(e){e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down', 'prevBlankLine', 'nextBlankLine',\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:function(e){if(!_t.Kn(e))return!1;const t=e;return!(!_t.HD(t.to)||!_t.o8(t.select)&&!_t.jn(t.select)||!_t.o8(t.by)&&!_t.HD(t.by)||!_t.o8(t.value)&&!_t.hj(t.value))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","prevBlankLine","nextBlankLine","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",PrevBlankLine:"prevBlankLine",NextBlankLine:"nextBlankLine",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=function(t){if(!t.to)return null;let n;switch(t.to){case e.RawDirection.Left:n=0;break;case e.RawDirection.Right:n=1;break;case e.RawDirection.Up:n=2;break;case e.RawDirection.Down:n=3;break;case e.RawDirection.PrevBlankLine:n=4;break;case e.RawDirection.NextBlankLine:n=5;break;case e.RawDirection.WrappedLineStart:n=6;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=7;break;case e.RawDirection.WrappedLineColumnCenter:n=8;break;case e.RawDirection.WrappedLineEnd:n=9;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=10;break;case e.RawDirection.ViewPortTop:n=11;break;case e.RawDirection.ViewPortBottom:n=13;break;case e.RawDirection.ViewPortCenter:n=12;break;case e.RawDirection.ViewPortIfOutside:n=14;break;default:return null}let i=0;switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Character:i=3;break;case e.RawUnit.HalfLine:i=4}return{direction:n,unit:i,select:!!t.select,value:t.value||1}}}(Ht||(Ht={}));var Ut=n(4384);const Qt=Object.create(null);function Gt(e,t){if(t<=0)return"";Qt[e]||(Qt[e]=["",e]);const n=Qt[e];for(let i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}class Kt{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,n,i,o){const r=Ee.i.visibleColumnFromColumn(e,t,n);if(o){const e=Gt(" ",i);return Gt(e,Ee.i.prevIndentTabStop(r,i)/i)}return Gt("\t",Ee.i.prevRenderTabStop(r,n)/n)}static shiftIndent(e,t,n,i,o){const r=Ee.i.visibleColumnFromColumn(e,t,n);if(o){const e=Gt(" ",i);return Gt(e,Ee.i.nextIndentTabStop(r,i)/i)}return Gt("\t",Ee.i.nextRenderTabStop(r,n)/n)}_addEditOperation(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)}getEditOperations(e,t){const n=this._selection.startLineNumber;let i=this._selection.endLineNumber;1===this._selection.endColumn&&n!==i&&(i-=1);const{tabSize:o,indentSize:r,insertSpaces:a}=this._opts,s=n===i;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0);let l=0,c=0;for(let d=n;d<=i;d++,l=c){c=0;const i=e.getLineContent(d);let u,h=Ke.LC(i);if((!this._opts.isUnshift||0!==i.length&&0!==h)&&(s||this._opts.isUnshift||0!==i.length)){if(-1===h&&(h=i.length),d>1&&Ee.i.visibleColumnFromColumn(i,h+1,o)%r!=0&&e.isCheapToTokenize(d-1)){const t=Ut.zu.getEnterAction(this._opts.autoIndent,e,new Se.e(d-1,e.getLineMaxColumn(d-1),d-1,e.getLineMaxColumn(d-1)));if(t){if(c=l,t.appendText)for(let e=0,n=t.appendText.length;e<n&&c<r&&32===t.appendText.charCodeAt(e);e++)c++;t.removeText&&(c=Math.max(0,c-t.removeText));for(let e=0;e<c&&0!==h&&32===i.charCodeAt(h-1);e++)h--}}this._opts.isUnshift&&0===h||(u=this._opts.isUnshift?Kt.unshiftIndent(i,h+1,o,r,a):Kt.shiftIndent(i,h+1,o,r,a),this._addEditOperation(t,new Se.e(d,1,d,h+1),u),d!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=h+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===e.getLineLength(n)&&(this._useLastEditRangeForCursorEndPosition=!0);const o=a?Gt(" ",r):"\t";for(let a=n;a<=i;a++){const i=e.getLineContent(a);let l=Ke.LC(i);if((!this._opts.isUnshift||0!==i.length&&0!==l)&&(s||this._opts.isUnshift||0!==i.length)&&(-1===l&&(l=i.length),!this._opts.isUnshift||0!==l))if(this._opts.isUnshift){l=Math.min(l,r);for(let e=0;e<l;e++)if(9===i.charCodeAt(e)){l=e+1;break}this._addEditOperation(t,new Se.e(a,1,a,l+1),"")}else this._addEditOperation(t,new Se.e(a,1,a,1),o),a!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){const e=t.getInverseEditOperations()[0];return new O.Y(e.range.endLineNumber,e.range.endColumn,e.range.endLineNumber,e.range.endColumn)}const n=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){const e=this._selection.startColumn;return n.startColumn<=e?n:0===n.getDirection()?new O.Y(n.startLineNumber,e,n.endLineNumber,n.endColumn):new O.Y(n.endLineNumber,n.endColumn,n.startLineNumber,e)}return n}}class Yt{constructor(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}getEditOperations(e,t){t.addTrackedEditOperation(new Se.e(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new Se.e(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){const n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new O.Y(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)}}var $t=n(5498);class Jt{static indent(e,t,n){if(null===t||null===n)return[];const i=[];for(let t=0,o=n.length;t<o;t++)i[t]=new Kt(n[t],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static outdent(e,t,n){const i=[];for(let t=0,o=n.length;t<o;t++)i[t]=new Kt(n[t],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static shiftIndent(e,t,n){return n=n||1,Kt.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,n){return n=n||1,Kt.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,n,i){const o=[];for(let e=0,t=n.length;e<t;e++)o[e]=new Bt(n[e],i[e]);return new It(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,n,i,o){const r=[];for(let e=0,t=n.length;e<t;e++){const t=n[e],a=t.getPosition();if(o&&!t.isEmpty()&&(o=!1),o&&i.indexOf("\n")!==i.length-1&&(o=!1),o){const n=new Se.e(a.lineNumber,1,a.lineNumber,1);r[e]=new Ft(n,i,t,!0)}else r[e]=new Bt(t,i)}return new It(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,n,i,o){if(i)return null;if(1===t.length)return null;if(o&&o.length===t.length)return o;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));const e=Ke.uq(n);if(e.length===t.length)return e}return null}static paste(e,t,n,i,o,r){const a=this._distributePasteToCursors(e,n,i,o,r);return a?(n=n.sort(Se.e.compareRangesUsingStarts),this._distributedPaste(e,t,n,a)):this._simplePaste(e,t,n,i,o)}static _goodIndentForLine(e,t,n){let i=null,o="";const r=Ut.zu.getInheritIndentForLine(e.autoIndent,t,n,!1);if(r)i=r.action,o=r.indentation;else if(n>1){let i;for(i=n-1;i>=1;i--){const e=t.getLineContent(i);if(Ke.ow(e)>=0)break}if(i<1)return null;const r=t.getLineMaxColumn(i),a=Ut.zu.getEnterAction(e.autoIndent,t,new Se.e(i,r,i,r));a&&(o=a.indentation+a.appendText)}return i&&(i===$t.wU.Indent&&(o=Jt.shiftIndent(e,o)),i===$t.wU.Outdent&&(o=Jt.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o||null}static _replaceJumpToNextIndent(e,t,n,i){let o="";const r=n.getStartPosition();if(e.insertSpaces){const n=e.visibleColumnFromColumn(t,r),i=e.indentSize,a=i-n%i;for(let e=0;e<a;e++)o+=" "}else o="\t";return new Bt(n,o,i)}static tab(e,t,n){const i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o];if(r.isEmpty()){const n=t.getLineContent(r.startLineNumber);if(/^\s*$/.test(n)&&t.isCheapToTokenize(r.startLineNumber)){let a=this._goodIndentForLine(e,t,r.startLineNumber);a=a||"\t";const s=e.normalizeIndentation(a);if(!n.startsWith(s)){i[o]=new Bt(new Se.e(r.startLineNumber,1,r.startLineNumber,n.length+1),s,!0);continue}}i[o]=this._replaceJumpToNextIndent(e,t,r,!0)}else{if(r.startLineNumber===r.endLineNumber){const n=t.getLineMaxColumn(r.startLineNumber);if(1!==r.startColumn||r.endColumn!==n){i[o]=this._replaceJumpToNextIndent(e,t,r,!1);continue}}i[o]=new Kt(r,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i}static compositionType(e,t,n,i,o,r,a,s){const l=i.map((e=>this._compositionType(n,e,o,r,a,s)));return new It(4,l,{shouldPushStackElementBefore:Xt(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,n,i,o,r){if(!t.isEmpty())return null;const a=t.getPosition(),s=Math.max(1,a.column-i),l=Math.min(e.getLineMaxColumn(a.lineNumber),a.column+o),c=new Se.e(a.lineNumber,s,a.lineNumber,l);return e.getValueInRange(c)===n&&0===r?null:new Pt(c,n,0,r)}static _typeCommand(e,t,n){return n?new Ot(e,t,!0):new Bt(e,t,!0)}static _enter(e,t,n,i){if(0===e.autoIndent)return Jt._typeCommand(i,"\n",n);if(!t.isCheapToTokenize(i.getStartPosition().lineNumber)||1===e.autoIndent){const o=t.getLineContent(i.startLineNumber),r=Ke.V8(o).substring(0,i.startColumn-1);return Jt._typeCommand(i,"\n"+e.normalizeIndentation(r),n)}const o=Ut.zu.getEnterAction(e.autoIndent,t,i);if(o){if(o.indentAction===$t.wU.None)return Jt._typeCommand(i,"\n"+e.normalizeIndentation(o.indentation+o.appendText),n);if(o.indentAction===$t.wU.Indent)return Jt._typeCommand(i,"\n"+e.normalizeIndentation(o.indentation+o.appendText),n);if(o.indentAction===$t.wU.IndentOutdent){const t=e.normalizeIndentation(o.indentation),r=e.normalizeIndentation(o.indentation+o.appendText),a="\n"+r+"\n"+t;return n?new Ot(i,a,!0):new Pt(i,a,-1,r.length-t.length,!0)}if(o.indentAction===$t.wU.Outdent){const t=Jt.unshiftIndent(e,o.indentation);return Jt._typeCommand(i,"\n"+e.normalizeIndentation(t+o.appendText),n)}}const r=t.getLineContent(i.startLineNumber),a=Ke.V8(r).substring(0,i.startColumn-1);if(e.autoIndent>=4){const o=Ut.zu.getIndentForEnter(e.autoIndent,t,i,{unshiftIndent:t=>Jt.unshiftIndent(e,t),shiftIndent:t=>Jt.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)});if(o){let r=e.visibleColumnFromColumn(t,i.getEndPosition());const a=i.endColumn,s=t.getLineContent(i.endLineNumber),l=Ke.LC(s);if(i=l>=0?i.setEndPosition(i.endLineNumber,Math.max(i.endColumn,l+1)):i.setEndPosition(i.endLineNumber,t.getLineMaxColumn(i.endLineNumber)),n)return new Ot(i,"\n"+e.normalizeIndentation(o.afterEnter),!0);{let t=0;return a<=l+1&&(e.insertSpaces||(r=Math.ceil(r/e.indentSize)),t=Math.min(r+1-e.normalizeIndentation(o.afterEnter).length-1,0)),new Pt(i,"\n"+e.normalizeIndentation(o.afterEnter),0,t,!0)}}}return Jt._typeCommand(i,"\n"+e.normalizeIndentation(a),n)}static _isAutoIndentType(e,t,n){if(e.autoIndent<4)return!1;for(let e=0,i=n.length;e<i;e++)if(!t.isCheapToTokenize(n[e].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,n,i){const o=Ut.zu.getIndentationAtPosition(t,n.startLineNumber,n.startColumn),r=Ut.zu.getIndentActionForType(e.autoIndent,t,n,i,{shiftIndent:t=>Jt.shiftIndent(e,t),unshiftIndent:t=>Jt.unshiftIndent(e,t)});if(null===r)return null;if(r!==e.normalizeIndentation(o)){const o=t.getLineFirstNonWhitespaceColumn(n.startLineNumber);return 0===o?Jt._typeCommand(new Se.e(n.startLineNumber,1,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+i,!1):Jt._typeCommand(new Se.e(n.startLineNumber,1,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+t.getLineContent(n.startLineNumber).substring(o-1,n.startColumn-1)+i,!1)}return null}static _isAutoClosingOvertype(e,t,n,i,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(o))return!1;for(let r=0,a=n.length;r<a;r++){const a=n[r];if(!a.isEmpty())return!1;const s=a.getPosition(),l=t.getLineContent(s.lineNumber);if(l.charAt(s.column-1)!==o)return!1;const c=Tt(o);if(92===(s.column>2?l.charCodeAt(s.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,n=i.length;t<n;t++){const n=i[t];if(s.lineNumber===n.startLineNumber&&s.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingOvertype(e,t,n,i,o){const r=[];for(let e=0,t=i.length;e<t;e++){const t=i[e].getPosition(),n=new Se.e(t.lineNumber,t.column,t.lineNumber,t.column+1);r[e]=new Bt(n,o)}return new It(4,r,{shouldPushStackElementBefore:Xt(e,4),shouldPushStackElementAfter:!1})}static _isBeforeClosingBrace(e,t){const n=t.charAt(0),i=e.autoClosingPairs.autoClosingPairsOpenByStart.get(n)||[],o=e.autoClosingPairs.autoClosingPairsCloseByStart.get(n)||[],r=i.some((e=>t.startsWith(e.open))),a=o.some((e=>t.startsWith(e.close)));return!r&&a}static _findAutoClosingPairOpen(e,t,n,i){const o=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(i);if(!o)return null;let r=null;for(const e of o)if(null===r||e.open.length>r.open.length){let o=!0;for(const r of n)if(t.getValueInRange(new Se.e(r.lineNumber,r.column-e.open.length+1,r.lineNumber,r.column))+i!==e.open){o=!1;break}o&&(r=e)}return r}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;const n=t.close.charAt(t.close.length-1),i=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(n)||[];let o=null;for(const e of i)e.open!==t.open&&t.open.includes(e.open)&&t.close.endsWith(e.close)&&(!o||e.open.length>o.open.length)&&(o=e);return o}static _getAutoClosingPairClose(e,t,n,i,o){const r=Tt(i),a=r?e.autoClosingQuotes:e.autoClosingBrackets,s=r?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;if("never"===a)return null;for(const e of n)if(!e.isEmpty())return null;const l=n.map((e=>{const t=e.getPosition();return o?{lineNumber:t.lineNumber,beforeColumn:t.column-i.length,afterColumn:t.column}:{lineNumber:t.lineNumber,beforeColumn:t.column,afterColumn:t.column}})),c=this._findAutoClosingPairOpen(e,t,l.map((e=>new xe.L(e.lineNumber,e.beforeColumn))),i);if(!c)return null;const d=this._findContainedAutoClosingPair(e,c),u=d?d.close:"";let h=!0;for(const n of l){const{lineNumber:o,beforeColumn:r,afterColumn:l}=n,d=t.getLineContent(o),p=d.substring(0,r-1),f=d.substring(l-1);if(f.startsWith(u)||(h=!1),f.length>0){const t=f.charAt(0);if(!Jt._isBeforeClosingBrace(e,f)&&!s(t))return null}if(1===c.open.length&&("'"===i||'"'===i)&&"always"!==a){const t=(0,ht.u)(e.wordSeparators);if(p.length>0){const e=p.charCodeAt(p.length-1);if(0===t.get(e))return null}}if(!t.isCheapToTokenize(o))return null;t.forceTokenization(o);const g=t.getLineTokens(o),m=(0,At.wH)(g,r-1);if(!c.shouldAutoClose(m,r-m.firstCharOffset))return null;const v=c.findNeutralCharacter();if(v){const e=t.getTokenTypeIfInsertingCharacter(o,r,v);if(!c.isOK(e))return null}}return h?c.close.substring(0,c.close.length-u.length):c.close}static _runAutoClosingOpenCharType(e,t,n,i,o,r,a){const s=[];for(let e=0,t=i.length;e<t;e++){const t=i[e];s[e]=new qt(t,o,!r,a)}return new It(4,s,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return Tt(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround}static _isSurroundSelectionType(e,t,n,i){if(!Jt._shouldSurroundChar(e,i)||!e.surroundingPairs.hasOwnProperty(i))return!1;const o=Tt(i);for(let e=0,i=n.length;e<i;e++){const i=n[e];if(i.isEmpty())return!1;let r=!0;for(let e=i.startLineNumber;e<=i.endLineNumber;e++){const n=t.getLineContent(e),o=e===i.startLineNumber?i.startColumn-1:0,a=e===i.endLineNumber?i.endColumn-1:n.length,s=n.substring(o,a);if(/[^ \t]/.test(s)){r=!1;break}}if(r)return!1;if(o&&i.startLineNumber===i.endLineNumber&&i.startColumn+1===i.endColumn&&Tt(t.getValueInRange(i)))return!1}return!0}static _runSurroundSelectionType(e,t,n,i,o){const r=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],a=t.surroundingPairs[o];r[e]=new Yt(n,o,a)}return new It(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,n,i,o){if(!t.electricChars.hasOwnProperty(o)||!i.isEmpty())return null;const r=i.getPosition();n.forceTokenization(r.lineNumber);const a=n.getLineTokens(r.lineNumber);let s;try{s=t.onElectricCharacter(o,a,r.column)}catch(e){return(0,h.dL)(e),null}if(!s)return null;if(s.matchOpenBracket){const i=(a.getLineContent()+o).lastIndexOf(s.matchOpenBracket)+1,l=n.bracketPairs.findMatchingBracketUp(s.matchOpenBracket,{lineNumber:r.lineNumber,column:i},500);if(l){if(l.startLineNumber===r.lineNumber)return null;const i=n.getLineContent(l.startLineNumber),a=Ke.V8(i),s=t.normalizeIndentation(a),c=n.getLineContent(r.lineNumber),d=n.getLineFirstNonWhitespaceColumn(r.lineNumber)||r.column,u=s+c.substring(d-1,r.column-1)+o,h=new Se.e(r.lineNumber,1,r.lineNumber,r.column),p=new Bt(h,u);return new It(Zt(u,e),[p],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,n,i,o,r){if(!i||O.Y.selectionsArrEqual(i,o))return null;let a=null;for(const e of o){if(!e.isEmpty())return null;const t=e.getPosition(),i=n.getValueInRange(new Se.e(t.lineNumber,t.column-1,t.lineNumber,t.column));if(null===a)a=i;else if(a!==i)return null}if(!a)return null;if(this._isAutoClosingOvertype(t,n,o,r,a)){const e=o.map((e=>new Bt(new Se.e(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)));return new It(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const s=this._getAutoClosingPairClose(t,n,o,a,!0);return null!==s?this._runAutoClosingOpenCharType(e,t,n,o,a,!0,s):null}static typeWithInterceptors(e,t,n,i,o,r,a){if(!e&&"\n"===a){const e=[];for(let t=0,r=o.length;t<r;t++)e[t]=Jt._enter(n,i,!1,o[t]);return new It(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(n,i,o)){const e=[];let t=!1;for(let r=0,s=o.length;r<s;r++)if(e[r]=this._runAutoIndentType(n,i,o[r],a),!e[r]){t=!0;break}if(!t)return new It(4,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoClosingOvertype(n,i,o,r,a))return this._runAutoClosingOvertype(t,n,i,o,a);if(!e){const e=this._getAutoClosingPairClose(n,i,o,a,!1);if(e)return this._runAutoClosingOpenCharType(t,n,i,o,a,!1,e)}if(this._isSurroundSelectionType(n,i,o,a))return this._runSurroundSelectionType(t,n,i,o,a);if(!e&&this._isTypeInterceptorElectricChar(n,i,o)){const e=this._typeInterceptorElectricChar(t,n,i,o[0],a);if(e)return e}const s=[];for(let e=0,t=o.length;e<t;e++)s[e]=new Bt(o[e],a);const l=Zt(a,t);return new It(l,s,{shouldPushStackElementBefore:Xt(t,l),shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,n,i,o){const r=[];for(let e=0,t=i.length;e<t;e++)r[e]=new Bt(i[e],o);const a=Zt(o,e);return new It(a,r,{shouldPushStackElementBefore:Xt(e,a),shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,n){if(null===t||null===n)return[];const i=[];for(let o=0,r=n.length;o<r;o++){let r=n[o].positionLineNumber;if(1===r)i[o]=new Ot(new Se.e(1,1,1,1),"\n");else{r--;const n=t.getLineMaxColumn(r);i[o]=this._enter(e,t,!1,new Se.e(r,n,r,n))}}return i}static lineInsertAfter(e,t,n){if(null===t||null===n)return[];const i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o].positionLineNumber,a=t.getLineMaxColumn(r);i[o]=this._enter(e,t,!1,new Se.e(r,a,r,a))}return i}static lineBreakInsert(e,t,n){const i=[];for(let o=0,r=n.length;o<r;o++)i[o]=this._enter(e,t,!0,n[o]);return i}}class qt extends Pt{constructor(e,t,n,i){super(e,(n?t:"")+i,0,-i.length),this._openCharacter=t,this._closeCharacter=i,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this.closeCharacterRange=new Se.e(n.startLineNumber,n.endColumn-this._closeCharacter.length,n.endLineNumber,n.endColumn),this.enclosingRange=new Se.e(n.startLineNumber,n.endColumn-this._openCharacter.length-this._closeCharacter.length,n.endLineNumber,n.endColumn),super.computeCursorState(e,t)}}function Zt(e,t){return" "===e?5===t||6===t?6:5:4}function Xt(e,t){return!(!tn(e)||tn(t))||5!==e&&en(e)!==en(t)}function en(e){return 6===e||5===e?"space":e}function tn(e){return 4===e||5===e||6===e}var nn,on,rn,an=n(3724),sn=n(4210),ln=n(3161);class cn extends o._l{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n||{})}}!function(e){e.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:function(e){if(!_t.Kn(e))return!1;const t=e;return!(!_t.HD(t.to)||!_t.o8(t.by)&&!_t.HD(t.by)||!_t.o8(t.value)&&!_t.hj(t.value)||!_t.o8(t.revealCursor)&&!_t.jn(t.revealCursor))},schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},e.RawDirection={Up:"up",Down:"down"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},e.parse=function(t){let n,i;switch(t.to){case e.RawDirection.Up:n=1;break;case e.RawDirection.Down:n=2;break;default:return null}switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Page:i=3;break;case e.RawUnit.HalfPage:i=4;break;default:i=2}return{direction:n,unit:i,value:Math.floor(t.value||1),revealCursor:!!t.revealCursor,select:!!t.select}}}(nn||(nn={})),function(e){e.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:function(e){if(!_t.Kn(e))return!1;const t=e;return!(!_t.hj(t.lineNumber)&&!_t.HD(t.lineNumber)||!_t.o8(t.at)&&!_t.HD(t.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:["number","string"]},at:{type:"string",enum:["top","center","bottom"]}}}}]},e.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}}(on||(on={}));class dn{constructor(e){e.addImplementation(1e4,"code-editor",((e,t)=>{const n=e.get(B.$).getFocusedCodeEditor();return!(!n||!n.hasTextFocus())&&this._runEditorCommand(e,n,t)})),e.addImplementation(1e3,"generic-dom-input-textarea",((e,t)=>{const n=document.activeElement;return!!(n&&["input","textarea"].indexOf(n.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)})),e.addImplementation(0,"generic-dom",((e,t)=>{const n=e.get(B.$).getActiveCodeEditor();return!!n&&(n.focus(),this._runEditorCommand(e,n,t))}))}_runEditorCommand(e,t,n){return this.runEditorCommand(e,t,n)||!0}}!function(e){class t extends cn{constructor(e){super(e),this._minimalReveal=e.minimalReveal,this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[Wt.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)])&&e.revealPrimaryCursor(t.source,!0,this._minimalReveal)}}e.MoveTo=(0,o.fK)(new t({id:"_moveTo",minimalReveal:!0,inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=(0,o.fK)(new t({id:"_moveToSelect",minimalReveal:!1,inSelectionMode:!0,precondition:void 0}));class n extends cn{runCoreEditorCommand(e,t){e.model.pushStackElement();const n=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,n.viewStates.map((e=>kt.fromViewState(e)))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),n.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}e.ColumnSelect=(0,o.fK)(new class extends n{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,n,i){const o=e.model.validatePosition(i.position),r=e.coordinatesConverter.validateViewPosition(new xe.L(i.viewPosition.lineNumber,i.viewPosition.column),o),a=i.doColumnSelect?n.fromViewLineNumber:r.lineNumber,s=i.doColumnSelect?n.fromViewVisualColumn:i.mouseColumn-1;return Lt.columnSelect(e.cursorConfig,e,a,s,r.lineNumber,i.mouseColumn-1)}}),e.CursorColumnSelectLeft=(0,o.fK)(new class extends n{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return Lt.columnSelectLeft(e.cursorConfig,e,n)}}),e.CursorColumnSelectRight=(0,o.fK)(new class extends n{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return Lt.columnSelectRight(e.cursorConfig,e,n)}});class i extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return Lt.columnSelectUp(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectUp=(0,o.fK)(new i({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=(0,o.fK)(new i({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3595,linux:{primary:0}}}));class r extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return Lt.columnSelectDown(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectDown=(0,o.fK)(new r({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=(0,o.fK)(new r({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3596,linux:{primary:0}}}));class a extends cn{constructor(){super({id:"cursorMove",precondition:void 0,description:Ht.description})}runCoreEditorCommand(e,t){const n=Ht.parse(t);n&&this._runCursorMove(e,t.source,n)}_runCursorMove(e,t,n){e.model.pushStackElement(),e.setCursorStates(t,3,a._move(e,e.getCursorStates(),n)),e.revealPrimaryCursor(t,!0)}static _move(e,t,n){const i=n.select,o=n.value;switch(n.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return Wt.simpleMove(e,t,n.direction,i,o,n.unit);case 11:case 13:case 12:case 14:return Wt.viewportMove(e,t,n.direction,i,o);default:return null}}}e.CursorMoveImpl=a,e.CursorMove=(0,o.fK)(new a);class s extends cn{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let n=this._staticArgs;-1===this._staticArgs.value&&(n={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.pageSize||e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,Wt.simpleMove(e,e.getCursorStates(),n.direction,n.select,n.value,n.unit)),e.revealPrimaryCursor(t.source,!0)}}e.CursorLeft=(0,o.fK)(new s({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=(0,o.fK)(new s({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1039}})),e.CursorRight=(0,o.fK)(new s({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=(0,o.fK)(new s({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1041}})),e.CursorUp=(0,o.fK)(new s({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=(0,o.fK)(new s({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=(0,o.fK)(new s({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:11}})),e.CursorPageUpSelect=(0,o.fK)(new s({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1035}})),e.CursorDown=(0,o.fK)(new s({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=(0,o.fK)(new s({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=(0,o.fK)(new s({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:12}})),e.CursorPageDownSelect=(0,o.fK)(new s({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1036}})),e.CreateCursor=(0,o.fK)(new class extends cn{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let n;n=t.wholeLine?Wt.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):Wt.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);const i=e.getCursorStates();if(i.length>1){const o=n.modelState?n.modelState.position:null,r=n.viewState?n.viewState.position:null;for(let n=0,a=i.length;n<a;n++){const a=i[n];if((!o||a.modelState.selection.containsPosition(o))&&(!r||a.viewState.selection.containsPosition(r)))return i.splice(n,1),e.model.pushStackElement(),void e.setCursorStates(t.source,3,i)}}i.push(n),e.model.pushStackElement(),e.setCursorStates(t.source,3,i)}}),e.LastCursorMoveToSelect=(0,o.fK)(new class extends cn{constructor(){super({id:"_lastCursorMoveToSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0);o[n]=Wt.moveTo(e,i[n],!0,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}});class l extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,Wt.moveToBeginningOfLine(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorHome=(0,o.fK)(new l({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=(0,o.fK)(new l({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class c extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e){const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],o=i.modelState.position.lineNumber;t[n]=kt.fromModelState(i.modelState.move(this._inSelectionMode,o,1,0))}return t}}e.CursorLineStart=(0,o.fK)(new c({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:0,mac:{primary:287}}})),e.CursorLineStartSelect=(0,o.fK)(new c({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:0,mac:{primary:1311}}}));class u extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,Wt.moveToEndOfLine(e,e.getCursorStates(),this._inSelectionMode,t.sticky||!1)),e.revealPrimaryCursor(t.source,!0)}}e.CursorEnd=(0,o.fK)(new u({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:an.u.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:d.N("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),e.CursorEndSelect=(0,o.fK)(new u({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:0,kbExpr:an.u.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:d.N("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));class h extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e,t){const n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],r=o.modelState.position.lineNumber,a=e.model.getLineMaxColumn(r);n[i]=kt.fromModelState(o.modelState.move(this._inSelectionMode,r,a,0))}return n}}e.CursorLineEnd=(0,o.fK)(new h({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:0,mac:{primary:291}}})),e.CursorLineEndSelect=(0,o.fK)(new h({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:0,mac:{primary:1315}}}));class p extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,Wt.moveToBeginningOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorTop=(0,o.fK)(new p({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=(0,o.fK)(new p({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3086,mac:{primary:3088}}}));class f extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,Wt.moveToEndOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorBottom=(0,o.fK)(new f({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=(0,o.fK)(new f({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:3085,mac:{primary:3090}}}));class g extends cn{constructor(){super({id:"editorScroll",precondition:void 0,description:nn.description})}runCoreEditorCommand(e,t){const n=nn.parse(t);n&&this._runEditorScroll(e,t.source,n)}_runEditorScroll(e,t,n){const i=this._computeDesiredScrollTop(e,n);if(n.revealCursor){const o=e.getCompletelyVisibleViewRangeAtScrollTop(i);e.setCursorStates(t,3,[Wt.findPositionInViewportIfOutside(e,e.getPrimaryCursorState(),o,n.select)])}e.viewLayout.setScrollPosition({scrollTop:i},0)}_computeDesiredScrollTop(e,t){if(1===t.unit){const n=e.getCompletelyVisibleViewRange(),i=e.coordinatesConverter.convertViewRangeToModelRange(n);let o;o=1===t.direction?Math.max(1,i.startLineNumber-t.value):Math.min(e.model.getLineCount(),i.startLineNumber+t.value);const r=e.coordinatesConverter.convertModelPositionToViewPosition(new xe.L(o,1));return e.viewLayout.getVerticalOffsetForLineNumber(r.lineNumber)}let n;n=3===t.unit?e.cursorConfig.pageSize*t.value:4===t.unit?Math.round(e.cursorConfig.pageSize/2)*t.value:t.value;const i=(1===t.direction?-1:1)*n;return e.viewLayout.getCurrentScrollTop()+i*e.cursorConfig.lineHeight}}e.EditorScrollImpl=g,e.EditorScroll=(0,o.fK)(new g),e.ScrollLineUp=(0,o.fK)(new class extends cn{constructor(){super({id:"scrollLineUp",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageUp=(0,o.fK)(new class extends cn{constructor(){super({id:"scrollPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}),e.ScrollLineDown=(0,o.fK)(new class extends cn{constructor(){super({id:"scrollLineDown",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageDown=(0,o.fK)(new class extends cn{constructor(){super({id:"scrollPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}});class v extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[Wt.word(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position)]),e.revealPrimaryCursor(t.source,!0)}}e.WordSelect=(0,o.fK)(new v({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=(0,o.fK)(new v({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=(0,o.fK)(new class extends cn{constructor(){super({id:"lastCursorWordSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0),r=i[n];o[n]=Wt.word(e,r,r.modelState.hasSelection(),t.position),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}});class b extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[Wt.line(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!1)}}e.LineSelect=(0,o.fK)(new b({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=(0,o.fK)(new b({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));class _ extends cn{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0);o[n]=Wt.line(e,i[n],this._inSelectionMode,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}}e.LastCursorLineSelect=(0,o.fK)(new _({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=(0,o.fK)(new _({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.CancelSelection=(0,o.fK)(new class extends cn{constructor(){super({id:"cancelSelection",precondition:an.u.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[Wt.cancelSelection(e,e.getPrimaryCursorState())]),e.revealPrimaryCursor(t.source,!0)}}),e.RemoveSecondaryCursors=(0,o.fK)(new class extends cn{constructor(){super({id:"removeSecondaryCursors",precondition:an.u.hasMultipleSelections,kbOpts:{weight:1,kbExpr:an.u.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[e.getPrimaryCursorState()]),e.revealPrimaryCursor(t.source,!0),(0,yt.i7)(d.N("removedCursor","Removed secondary cursors"))}}),e.RevealLine=(0,o.fK)(new class extends cn{constructor(){super({id:"revealLine",precondition:void 0,description:on.description})}runCoreEditorCommand(e,t){const n=t,i=n.lineNumber||0;let o="number"==typeof i?i+1:parseInt(i)+1;o<1&&(o=1);const r=e.model.getLineCount();o>r&&(o=r);const a=new Se.e(o,1,o,e.model.getLineMaxColumn(o));let s=0;if(n.at)switch(n.at){case on.RawAtArgument.Top:s=3;break;case on.RawAtArgument.Center:s=1;break;case on.RawAtArgument.Bottom:s=4}const l=e.coordinatesConverter.convertModelRangeToViewRange(a);e.revealRange(t.source,!1,l,s,0)}}),e.SelectAll=new class extends dn{constructor(){super(o.Sq)}runDOMCommand(){m.isFirefox&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[Wt.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=(0,o.fK)(new class extends cn{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[kt.fromModelSelection(t.selection)])}})}(rn||(rn={}));const un=sn.Ao.and(an.u.textInputFocus,an.u.columnSelection);function hn(e,t){ln.W.registerKeybindingRule({id:e,primary:t,when:un,weight:1})}function pn(e){return e.register(),e}var fn;hn(rn.CursorColumnSelectLeft.id,1039),hn(rn.CursorColumnSelectRight.id,1041),hn(rn.CursorColumnSelectUp.id,1040),hn(rn.CursorColumnSelectPageUp.id,1035),hn(rn.CursorColumnSelectDown.id,1042),hn(rn.CursorColumnSelectPageDown.id,1036),function(e){class t extends o._l{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditingCommand(t,i,n||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=(0,o.fK)(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:an.u.writable,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,Jt.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map((e=>e.modelState.selection))))}}),e.Outdent=(0,o.fK)(new class extends t{constructor(){super({id:"outdent",precondition:an.u.writable,kbOpts:{weight:0,kbExpr:sn.Ao.and(an.u.editorTextFocus,an.u.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,Jt.outdent(t.cursorConfig,t.model,t.getCursorStates().map((e=>e.modelState.selection)))),e.pushUndoStop()}}),e.Tab=(0,o.fK)(new class extends t{constructor(){super({id:"tab",precondition:an.u.writable,kbOpts:{weight:0,kbExpr:sn.Ao.and(an.u.editorTextFocus,an.u.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,Jt.tab(t.cursorConfig,t.model,t.getCursorStates().map((e=>e.modelState.selection)))),e.pushUndoStop()}}),e.DeleteLeft=(0,o.fK)(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,n){const[i,o]=zt.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map((e=>e.modelState.selection)),t.getCursorAutoClosedCharacters());i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)}}),e.DeleteRight=(0,o.fK)(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:an.u.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,n){const[i,o]=zt.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map((e=>e.modelState.selection)));i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)}}),e.Undo=new class extends dn{constructor(){super(o.n_)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,n){if(t.hasModel()&&!0!==t.getOption(81))return t.getModel().undo()}},e.Redo=new class extends dn{constructor(){super(o.kz)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,n){if(t.hasModel()&&!0!==t.getOption(81))return t.getModel().redo()}}}(fn||(fn={}));class gn extends o.mY{constructor(e,t,n){super({id:e,precondition:void 0,description:n}),this._handlerId=t}runCommand(e,t){const n=e.get(B.$).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)}}function mn(e,t){pn(new gn("default:"+e,e)),pn(new gn(e,e,t))}mn("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),mn("replacePreviousChar"),mn("compositionType"),mn("compositionStart"),mn("compositionEnd"),mn("paste"),mn("cut");class vn{constructor(e,t,n,i){this.configuration=e,this.viewModel=t,this.userInputEvents=n,this.commandDelegate=i}paste(e,t,n,i){this.commandDelegate.paste(e,t,n,i)}type(e){this.commandDelegate.type(e)}compositionType(e,t,n,i){this.commandDelegate.compositionType(e,t,n,i)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){rn.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){const t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new xe.L(e.lineNumber,t):e}_hasMulticursorModifier(e){switch(this.configuration.options.get(70)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey;default:return!1}}_hasNonMulticursorModifier(e){switch(this.configuration.options.get(70)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey;default:return!1}}dispatchMouse(e){const t=this.configuration.options,n=_.IJ&&t.get(96),i=t.get(18);e.middleButton&&!n?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey||i?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)}_usualArgs(e){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e}}moveTo(e){rn.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_moveToSelect(e){rn.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_columnSelect(e,t,n){e=this._validateViewColumn(e),rn.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})}_createCursor(e,t){e=this._validateViewColumn(e),rn.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e){rn.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelect(e){rn.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelectDrag(e){rn.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorWordSelect(e){rn.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelect(e){rn.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelectDrag(e){rn.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelect(e){rn.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelectDrag(e){rn.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_selectAll(){rn.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseDropCanceled(){this.userInputEvents.emitMouseDropCanceled()}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}class bn{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseDropCanceled=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){this.onKeyDown&&this.onKeyDown(e)}emitKeyUp(e){this.onKeyUp&&this.onKeyUp(e)}emitContextMenu(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))}emitMouseMove(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))}emitMouseDown(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))}emitMouseUp(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){this.onMouseDropCanceled&&this.onMouseDropCanceled()}emitMouseWheel(e){this.onMouseWheel&&this.onMouseWheel(e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return bn.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){const n=Object.assign({},e);return n.position&&(n.position=t.convertViewPositionToModelPosition(n.position)),n.range&&(n.range=t.convertViewRangeToModelRange(n.range)),n}}var _n,yn=n(6748);class An{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){const t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;const n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){const n=t-e+1;return this._rendLineNumberStart-=n,null}if(e>i)return null;let o=0,r=0;for(let a=n;a<=i;a++){const n=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===r?(o=n,r=1):r++)}if(e<n){let i=0;i=t<n?t-e+1:n-e,this._rendLineNumberStart-=i}return this._lines.splice(o,r)}onLinesChanged(e,t){if(0===this.getCount())return!1;const n=this.getStartLineNumber(),i=this.getEndLineNumber();let o=!1;for(let r=e;r<=t;r++)r>=n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;const n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);const r=[];for(let e=0;e<n;e++)r[e]=this._createLine();const a=e-this._rendLineNumberStart,s=this._lines.slice(0,a),l=this._lines.slice(a,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=s.concat(r).concat(l),c}onTokensChanged(e){if(0===this.getCount())return!1;const t=this.getStartLineNumber(),n=this.getEndLineNumber();let i=!1;for(let o=0,r=e.length;o<r;o++){const r=e[o];if(r.toLineNumber<t||r.fromLineNumber>n)continue;const a=Math.max(t,r.fromLineNumber),s=Math.min(n,r.toLineNumber);for(let e=a;e<=s;e++){const t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),i=!0}}return i}}class wn{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new An((()=>this._host.createVisibleLine()))}_createDomNode(){const e=(0,P.X)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(131)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,n=t.length;e<n;e++){const n=t[e].getDomNode();n&&this.domNode.domNode.removeChild(n)}return!0}onLinesInserted(e){const t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(let e=0,n=t.length;e<n;e++){const n=t[e].getDomNode();n&&this.domNode.domNode.removeChild(n)}return!0}onScrollChanged(e){return e.scrollTopChanged}onTokensChanged(e){return this._linesCollection.onTokensChanged(e.ranges)}onZonesChanged(e){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(e){return this._linesCollection.getLine(e)}renderLines(e){const t=this._linesCollection._get(),n=new Cn(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},o=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(o.rendLineNumberStart,o.lines)}}class Cn{constructor(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}render(e,t,n,i){const o={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(o.rendLineNumberStart+o.linesLength-1<t||n<o.rendLineNumberStart){o.rendLineNumberStart=t,o.linesLength=n-t+1,o.lines=[];for(let e=t;e<=n;e++)o.lines[e-t]=this.host.createVisibleLine();return this._finishRendering(o,!0,i),o}if(this._renderUntouchedLines(o,Math.max(t-o.rendLineNumberStart,0),Math.min(n-o.rendLineNumberStart,o.linesLength-1),i,t),o.rendLineNumberStart>t){const e=t,r=Math.min(n,o.rendLineNumberStart-1);e<=r&&(this._insertLinesBefore(o,e,r,i,t),o.linesLength+=r-e+1)}else if(o.rendLineNumberStart<t){const e=Math.min(o.linesLength,t-o.rendLineNumberStart);e>0&&(this._removeLinesBefore(o,e),o.linesLength-=e)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1<n){const e=o.rendLineNumberStart+o.linesLength,r=n;e<=r&&(this._insertLinesAfter(o,e,r,i,t),o.linesLength+=r-e+1)}else if(o.rendLineNumberStart+o.linesLength-1>n){const e=Math.max(0,n-o.rendLineNumberStart+1),t=o.linesLength-1-e+1;t>0&&(this._removeLinesAfter(o,t),o.linesLength-=t)}return this._finishRendering(o,!1,i),o}_renderUntouchedLines(e,t,n,i,o){const r=e.rendLineNumberStart,a=e.lines;for(let e=t;e<=n;e++){const t=r+e;a[e].layoutLine(t,i[t-o])}}_insertLinesBefore(e,t,n,i,o){const r=[];let a=0;for(let e=t;e<=n;e++)r[a++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;n<t;n++){const t=e.lines[n].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(0,t)}_insertLinesAfter(e,t,n,i,o){const r=[];let a=0;for(let e=t;e<=n;e++)r[a++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)}_removeLinesAfter(e,t){const n=e.linesLength-t;for(let i=0;i<t;i++){const t=e.lines[n+i].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(n,t)}_finishRenderingNewLines(e,t,n,i){Cn._ttPolicy&&(n=Cn._ttPolicy.createHTML(n));const o=this.domNode.lastChild;t||!o?this.domNode.innerHTML=n:o.insertAdjacentHTML("afterend",n);let r=this.domNode.lastChild;for(let t=e.linesLength-1;t>=0;t--){const n=e.lines[t];i[t]&&(n.setDomNode(r),r=r.previousSibling)}}_finishRenderingInvalidLines(e,t,n){const i=document.createElement("div");Cn._ttPolicy&&(t=Cn._ttPolicy.createHTML(t)),i.innerHTML=t;for(let t=0;t<e.linesLength;t++){const o=e.lines[t];if(n[t]){const e=i.firstChild,t=o.getDomNode();t.parentNode.replaceChild(e,t),o.setDomNode(e)}}}_finishRendering(e,t,n){const i=Cn._sb,o=e.linesLength,r=e.lines,a=e.rendLineNumberStart,s=[];{i.reset();let l=!1;for(let e=0;e<o;e++){const t=r[e];s[e]=!1,t.getDomNode()||t.renderLine(e+a,n[e],this.viewportData,i)&&(s[e]=!0,l=!0)}l&&this._finishRenderingNewLines(e,t,i.build(),s)}{i.reset();let t=!1;const l=[];for(let e=0;e<o;e++){const o=r[e];l[e]=!1,s[e]||o.renderLine(e+a,n[e],this.viewportData,i)&&(l[e]=!0,t=!0)}t&&this._finishRenderingInvalidLines(e,i.build(),l)}}}Cn._ttPolicy=null===(_n=window.trustedTypes)||void 0===_n?void 0:_n.createPolicy("editorViewLayer",{createHTML:e=>e}),Cn._sb=(0,yn.l$)(1e5);class xn extends ne{constructor(e){super(e),this._visibleLines=new wn(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;e<t;e++)if(this._dynamicOverlays[e].shouldRender())return!0;return!1}dispose(){super.dispose();for(let e=0,t=this._dynamicOverlays.length;e<t;e++)this._dynamicOverlays[e].dispose();this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new Sn(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(e){this._dynamicOverlays.push(e)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e);const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).onConfigurationChanged(e);return!0}onFlushed(e){return this._visibleLines.onFlushed(e)}onFocusChanged(e){return this._isFocused=e.isFocused,!0}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onScrollChanged(e){return this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._visibleLines.onZonesChanged(e)}prepareRender(e){const t=this._dynamicOverlays.filter((e=>e.shouldRender()));for(let n=0,i=t.length;n<i;n++){const i=t[n];i.prepareRender(e),i.onDidRender()}}render(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)}_viewOverlaysRender(e){this._visibleLines.renderLines(e.viewportData)}}class Sn{constructor(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(59),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(e){this._domNode=(0,P.X)(e)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(e){this._lineHeight=this._configuration.options.get(59)}renderLine(e,t,n,i){let o="";for(let t=0,i=this._dynamicOverlays.length;t<i;t++)o+=this._dynamicOverlays[t].render(n.startLineNumber,e);return this._renderedContent!==o&&(this._renderedContent=o,i.appendASCIIString('<div style="position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;width:100%;height:"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;">'),i.appendASCIIString(o),i.appendASCIIString("</div>"),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class En extends xn{constructor(e){super(e);const t=this._context.configuration.options.get(131);this._contentWidth=t.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const t=this._context.configuration.options.get(131);return this._contentWidth=t.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class kn extends xn{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(131);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),(0,rt.N)(this.domNode,t.get(44))}onConfigurationChanged(e){const t=this._context.configuration.options;(0,rt.N)(this.domNode,t.get(44));const n=t.get(131);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);const t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class Mn{constructor(e,t){this._coordinateBrand=void 0,this.top=e,this.left=t}}class Dn extends ne{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=(0,P.X)(document.createElement("div")),ie.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=(0,P.X)(document.createElement("div")),ie.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){const t=new Nn(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()}setWidgetPosition(e,t,n){this._widgets[e.getId()].setPosition(t,n),this.setShouldRender()}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t];delete this._widgets[t];const n=e.domNode.domNode;n.parentNode.removeChild(n),n.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onBeforeRender(e)}prepareRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].prepareRender(e)}render(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].render(e)}}class Nn{constructor(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=(0,P.X)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const i=this._context.configuration.options,o=i.get(131);this._fixedOverflowWidgets=i.get(36),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=i.get(59),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setDisplay("none"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;if(this._lineHeight=t.get(59),e.hasChanged(131)){const e=t.get(131);this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const e=this._context.viewModel.model.validateRange(this._range);(this._context.viewModel.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.viewModel.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.viewModel.coordinatesConverter.convertModelRangeToViewRange(e))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.offsetWidth||document.body.offsetWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._viewRange&&this._preference&&this._preference.length>0?this.domNode.setDisplay("block"):this.domNode.setDisplay("none"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,n,i,o){const r=e.top,a=r,s=t.top+this._lineHeight,l=r-i,c=a>=i,d=s,u=o.viewportHeight-s>=i;let h=e.left,p=t.left;return h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),p+n>o.scrollLeft+o.viewportWidth&&(p=o.scrollLeft+o.viewportWidth-n),h<o.scrollLeft&&(h=o.scrollLeft),p<o.scrollLeft&&(p=o.scrollLeft),{fitsAbove:c,aboveTop:l,aboveLeft:h,fitsBelow:u,belowTop:d,belowLeft:p}}_layoutHorizontalSegmentInPage(e,t,n,i){const o=Math.max(0,t.left-i),r=Math.min(t.left+t.width+i,e.width);let a=t.left+n-u.DI.scrollX;if(a+i>r){const e=a-(r-i);a-=e,n-=e}if(a<o){const e=a-o;a-=e,n-=e}return[n,a]}_layoutBoxInPage(e,t,n,i,o){const r=e.top-i,a=t.top+this._lineHeight,s=u.i(this._viewDomNode.domNode),l=s.top+r-u.DI.scrollY,c=s.top+a-u.DI.scrollY,d=u.D6(document.body),[h,p]=this._layoutHorizontalSegmentInPage(d,s,e.left-o.scrollLeft+this._contentLeft,n),[f,g]=this._layoutHorizontalSegmentInPage(d,s,t.left-o.scrollLeft+this._contentLeft,n),m=l>=22,v=c+i<=d.height-22;return this._fixedOverflowWidgets?{fitsAbove:m,aboveTop:Math.max(l,22),aboveLeft:p,fitsBelow:v,belowTop:c,belowLeft:g}:{fitsAbove:m,aboveTop:r,aboveLeft:h,fitsBelow:v,belowTop:a,belowLeft:f}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new Mn(e.top,e.left+this._contentLeft)}_getTopAndBottomLeft(e){if(!this._viewRange)return[null,null];const t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];let n=t[0],i=t[0];for(const e of t)e.lineNumber<n.lineNumber&&(n=e),e.lineNumber>i.lineNumber&&(i=e);let o=1073741824;for(const e of n.ranges)e.left<o&&(o=e.left);let r=1073741824;for(const e of i.ranges)e.left<r&&(r=e.left);const a=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,s=new Mn(a,o),l=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[s,new Mn(l,r)]}_prepareRenderWidget(e){if(!this._preference||0===this._preference.length)return null;const[t,n]=this._getTopAndBottomLeft(e);if(!t||!n)return null;if(-1===this._cachedDomNodeOffsetWidth||-1===this._cachedDomNodeOffsetHeight){let e=null;if("function"==typeof this._actual.beforeRender&&(e=In(this._actual.beforeRender,this._actual)),e)this._cachedDomNodeOffsetWidth=e.width,this._cachedDomNodeOffsetHeight=e.height;else{const e=this.domNode.domNode;this._cachedDomNodeOffsetWidth=e.offsetWidth,this._cachedDomNodeOffsetHeight=e.offsetHeight}}let i;i=this.allowEditorOverflow?this._layoutBoxInPage(t,n,this._cachedDomNodeOffsetWidth,this._cachedDomNodeOffsetHeight,e):this._layoutBoxInViewport(t,n,this._cachedDomNodeOffsetWidth,this._cachedDomNodeOffsetHeight,e);for(let e=1;e<=2;e++)for(const n of this._preference)if(1===n){if(!i)return null;if(2===e||i.fitsAbove)return{coordinate:new Mn(i.aboveTop,i.aboveLeft),position:1}}else{if(2!==n)return this.allowEditorOverflow?{coordinate:this._prepareRenderWidgetAtExactPositionOverflowing(t),position:0}:{coordinate:t,position:0};if(!i)return null;if(2===e||i.fitsBelow)return{coordinate:new Mn(i.belowTop,i.belowLeft),position:2}}return null}onBeforeRender(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){if(!this._renderData)return this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),void("function"==typeof this._actual.afterRender&&In(this._actual.afterRender,this._actual,null));this.allowEditorOverflow?(this.domNode.setTop(this._renderData.coordinate.top),this.domNode.setLeft(this._renderData.coordinate.left)):(this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&In(this._actual.afterRender,this._actual,this._renderData.position)}}function In(e,t,...n){try{return e.call(t,...n)}catch(e){return null}}var Tn=n(7256);l()(Tn.Z,{insert:"head",singleton:!1}),Tn.Z.locals;class Ln extends st{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(131);this._lineHeight=t.get(59),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new O.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=this._selections.map((e=>e.positionLineNumber));t.sort(((e,t)=>e-t)),v.fS(this._cursorLineNumbers,t)||(this._cursorLineNumbers=t,e=!0);const n=this._selections.every((e=>e.isEmpty()));return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._lineHeight=t.get(59),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis())return void(this._renderData=null);const t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length;let r=0;const a=[];for(let e=n;e<=i;e++){const i=e-n;for(;r<o&&this._cursorLineNumbers[r]<e;)r++;r<o&&this._cursorLineNumbers[r]===e?a[i]=t:a[i]=""}this._renderData=a}render(e,t){if(!this._renderData)return"";const n=t-e;return n>=this._renderData.length?"":this._renderData[n]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class Bn extends Ln{_renderOne(e){return`<div class="${"current-line"+(this._shouldRenderOther()?" current-line-both":"")}" style="width:${Math.max(e.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class On extends Ln{_renderOne(e){return`<div class="${"current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"")}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,ct.Ic)(((e,t)=>{const n=e.getColor(lt.Kh);if(n&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||e.defines(lt.Mm)){const n=e.getColor(lt.Mm);n&&(t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}));var Pn=n(7453);l()(Pn.Z,{insert:"head",singleton:!1}),Pn.Z.locals;class Fn extends st{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e];o.options.className&&(n[i++]=o)}n=n.sort(((e,t)=>{if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;const n=e.options.className,i=t.options.className;return n<i?-1:n>i?1:Se.e.compareRangesUsingStarts(e.range,t.range)}));const o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,a=[];for(let e=o;e<=r;e++)a[e-o]="";this._renderWholeLineDecorations(e,n,a),this._renderNormalDecorations(e,n,a),this._renderResult=a}_renderWholeLineDecorations(e,t,n){const i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber;for(let e=0,a=t.length;e<a;e++){const a=t[e];if(!a.options.isWholeLine)continue;const s='<div class="cdr '+a.options.className+'" style="left:0;width:100%;height:'+i+'px;"></div>',l=Math.max(a.range.startLineNumber,o),c=Math.min(a.range.endLineNumber,r);for(let e=l;e<=c;e++)n[e-o]+=s}}_renderNormalDecorations(e,t,n){const i=String(this._lineHeight),o=e.visibleRange.startLineNumber;let r=null,a=!1,s=null;for(let l=0,c=t.length;l<c;l++){const c=t[l];if(c.options.isWholeLine)continue;const d=c.options.className,u=Boolean(c.options.showIfCollapsed);let h=c.range;u&&1===h.endColumn&&h.endLineNumber!==h.startLineNumber&&(h=new Se.e(h.startLineNumber,h.startColumn,h.endLineNumber-1,this._context.viewModel.getLineMaxColumn(h.endLineNumber-1))),r===d&&a===u&&Se.e.areIntersectingOrTouching(s,h)?s=Se.e.plusRange(s,h):(null!==r&&this._renderNormalDecoration(e,s,r,a,i,o,n),r=d,a=u,s=h)}null!==r&&this._renderNormalDecoration(e,s,r,a,i,o,n)}_renderNormalDecoration(e,t,n,i,o,r,a){const s=e.linesVisibleRangesForRange(t,"findMatch"===n);if(s)for(let e=0,t=s.length;e<t;e++){const t=s[e];if(t.outsideRenderedLine)continue;const l=t.lineNumber-r;if(i&&1===t.ranges.length){const e=t.ranges[0];if(e.width<this._typicalHalfwidthCharacterWidth){const n=Math.round(e.left+e.width/2),i=Math.max(0,Math.round(n-this._typicalHalfwidthCharacterWidth/2));t.ranges[0]=new ae(i,this._typicalHalfwidthCharacterWidth)}}for(let e=0,i=t.ranges.length;e<i;e++){const i=t.ranges[e],r='<div class="cdr '+n+'" style="left:'+String(i.left)+"px;width:"+String(i.width)+"px;height:"+o+'px;"></div>';a[l]+=r}}}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}var Rn=n(3695);class jn extends ne{constructor(e,t,n,i){super(e);const o=this._context.configuration.options,r=o.get(92),a=o.get(67),s=o.get(34),l=o.get(95),c={listenOnDomNode:n.domNode,className:"editor-scrollable "+(0,ct.m6)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:r.vertical,horizontal:r.horizontal,verticalHasArrows:r.verticalHasArrows,horizontalHasArrows:r.horizontalHasArrows,verticalScrollbarSize:r.verticalScrollbarSize,verticalSliderSize:r.verticalSliderSize,horizontalScrollbarSize:r.horizontalScrollbarSize,horizontalSliderSize:r.horizontalSliderSize,handleMouseWheel:r.handleMouseWheel,alwaysConsumeMouseWheel:r.alwaysConsumeMouseWheel,arrowSize:r.arrowSize,mouseWheelScrollSensitivity:a,fastScrollSensitivity:s,scrollPredominantAxis:l,scrollByPage:r.scrollByPage};this.scrollbar=this._register(new Rn.$Z(t.domNode,c,this._context.viewLayout.getScrollable())),ie.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=(0,P.X)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const d=(e,t,n)=>{const i={};if(t){const t=e.scrollTop;t&&(i.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(n){const t=e.scrollLeft;t&&(i.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(i,1)};this._register(u.nm(n.domNode,"scroll",(e=>d(n.domNode,!0,!0)))),this._register(u.nm(t.domNode,"scroll",(e=>d(t.domNode,!0,!1)))),this._register(u.nm(i.domNode,"scroll",(e=>d(i.domNode,!0,!1)))),this._register(u.nm(this.scrollbarDomNode.domNode,"scroll",(e=>d(this.scrollbarDomNode.domNode,!0,!1))))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options,t=e.get(131);this.scrollbarDomNode.setLeft(t.contentLeft),"right"===e.get(65).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(92)||e.hasChanged(67)||e.hasChanged(34)){const e=this._context.configuration.options,t=e.get(92),n=e.get(67),i=e.get(34),o=e.get(95),r={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:n,fastScrollSensitivity:i,scrollPredominantAxis:o};this.scrollbar.updateOptions(r)}return e.hasChanged(131)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+(0,ct.m6)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}(0,ct.Ic)(((e,t)=>{const n=e.getColor(V._wn);n&&t.addRule(`\n\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\tbox-shadow: ${n} 0 6px 6px -6px inset;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\tbox-shadow: ${n} 6px 0 6px -6px inset;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .shadow.top.left {\n\t\t\t\tbox-shadow: ${n} 6px 6px 6px -6px inset;\n\t\t\t}\n\t\t`);const i=e.getColor(V.etL);i&&t.addRule(`\n\t\t\t.monaco-scrollable-element > .scrollbar > .slider {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`);const o=e.getColor(V.ABB);o&&t.addRule(`\n\t\t\t.monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\t\t\tbackground: ${o};\n\t\t\t}\n\t\t`);const r=e.getColor(V.ynu);r&&t.addRule(`\n\t\t\t.monaco-scrollable-element > .scrollbar > .slider.active {\n\t\t\t\tbackground: ${r};\n\t\t\t}\n\t\t`)}));var zn=n(5936);l()(zn.Z,{insert:"head",singleton:!1}),zn.Z.locals;class Vn{constructor(e,t,n){this._decorationToRenderBrand=void 0,this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)}}class Wn extends st{_render(e,t,n){const i=[];for(let n=e;n<=t;n++)i[n-e]=[];if(0===n.length)return i;n.sort(((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1));let o=null,r=0;for(let a=0,s=n.length;a<s;a++){const s=n[a],l=s.className;let c=Math.max(s.startLineNumber,e)-e;const d=Math.min(s.endLineNumber,t)-e;o===l?(c=Math.max(r+1,c),r=Math.max(r,d)):(o=l,r=d);for(let e=c;e<=r;e++)i[e].push(o)}return i}}class Hn extends Wn{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(131);this._lineHeight=t.get(59),this._glyphMargin=t.get(50),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._lineHeight=t.get(59),this._glyphMargin=t.get(50),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport(),n=[];let i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e],r=o.options.glyphMarginClassName;r&&(n[i++]=new Vn(o.range.startLineNumber,o.range.endLineNumber,r))}return n}prepareRender(e){if(!this._glyphMargin)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=this._lineHeight.toString(),r='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+o+'px;"></div>',a=[];for(let e=t;e<=n;e++){const n=e-t,o=i[n];0===o.length?a[n]="":a[n]='<div class="cgmr codicon '+o.join(" ")+r}this._renderResult=a}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}var Un=n(294);l()(Un.Z,{insert:"head",singleton:!1}),Un.Z.locals;var Qn=n(9928),Gn=n(8316);class Kn extends st{constructor(e){super(),this._context=e,this._primaryPosition=null;const t=this._context.configuration.options,n=t.get(132),i=t.get(44);this._lineHeight=t.get(59),this._spaceWidth=i.spaceWidth,this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(13),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(132),i=t.get(44);return this._lineHeight=t.get(59),this._spaceWidth=i.spaceWidth,this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(13),!0}onCursorStateChanged(e){var t;const n=e.selections[0].getPosition();return!(null===(t=this._primaryPosition)||void 0===t?void 0:t.equals(n))&&(this._primaryPosition=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,n,i,o;if(!this._bracketPairGuideOptions.indentation&&!1===this._bracketPairGuideOptions.bracketPairs)return void(this._renderResult=null);const r=e.visibleRange.startLineNumber,a=e.visibleRange.endLineNumber,s=e.scrollWidth,l=this._lineHeight,c=this._primaryPosition,d=this.getGuidesByLine(r,a,c),u=[];for(let c=r;c<=a;c++){const a=c-r,h=d[a];let p="";const f=null!==(n=null===(t=e.visibleRangeForPosition(new xe.L(c,1)))||void 0===t?void 0:t.left)&&void 0!==n?n:0;for(const t of h){const n=f+(t.visibleColumn-1)*this._spaceWidth;if(n>s||this._maxIndentLeft>0&&n>this._maxIndentLeft)break;const r=t.horizontalLine?t.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",a=t.horizontalLine?(null!==(o=null===(i=e.visibleRangeForPosition(new xe.L(c,t.horizontalLine.endColumn)))||void 0===i?void 0:i.left)&&void 0!==o?o:n+this._spaceWidth)-n:this._spaceWidth;p+=`<div class="core-guide ${t.className} ${r}" style="left:${n}px;height:${l}px;width:${a}px"></div>`}u[a]=p}this._renderResult=u}getGuidesByLine(e,t,n){const i=!1!==this._bracketPairGuideOptions.bracketPairs?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,n,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:!0===this._bracketPairGuideOptions.bracketPairsHorizontal?Gn.s6.Enabled:"active"===this._bracketPairGuideOptions.bracketPairsHorizontal?Gn.s6.EnabledForActive:Gn.s6.Disabled,includeInactive:!0===this._bracketPairGuideOptions.bracketPairs}):null,o=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null;let r=0,a=0,s=0;if(this._bracketPairGuideOptions.highlightActiveIndentation&&n){const i=this._context.viewModel.getActiveIndentGuide(n.lineNumber,e,t);r=i.startLineNumber,a=i.endLineNumber,s=i.indent}const{indentSize:l}=this._context.viewModel.model.getOptions(),c=[];for(let n=e;n<=t;n++){const t=new Array;c.push(t);const d=i?i[n-e]:[],u=new v.H9(d),h=o?o[n-e]:[];for(let e=1;e<=h;e++){const i=(e-1)*l+1,o=0===d.length&&r<=n&&n<=a&&e===s;t.push(...u.takeWhile((e=>e.visibleColumn<i))||[]);const c=u.peek();c&&c.visibleColumn===i&&!c.horizontalLine||t.push(new Gn.UO(i,o?"core-guide-indent-active":"core-guide-indent",null))}t.push(...u.takeWhile((e=>!0))||[])}return c}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}function Yn(e){if(!e||!e.isTransparent())return e}(0,ct.Ic)(((e,t)=>{const n=e.getColor(lt.tR);n&&t.addRule(`.monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 ${n} inset; }`);const i=e.getColor(lt.Ym)||n;i&&t.addRule(`.monaco-editor .lines-content .core-guide-indent-active { box-shadow: 1px 0 0 0 ${i} inset; }`);const o=[{bracketColor:lt.zJ,guideColor:lt.oV,guideColorActive:lt.Qb},{bracketColor:lt.Vs,guideColor:lt.m$,guideColorActive:lt.m3},{bracketColor:lt.CE,guideColor:lt.DS,guideColorActive:lt.To},{bracketColor:lt.UP,guideColor:lt.lS,guideColorActive:lt.L7},{bracketColor:lt.r0,guideColor:lt.Jn,guideColorActive:lt.HV},{bracketColor:lt.m1,guideColor:lt.YF,guideColorActive:lt.f9}],r=new Qn.W,a=o.map((t=>{var n,i;const o=e.getColor(t.bracketColor),r=e.getColor(t.guideColor),a=e.getColor(t.guideColorActive),s=Yn(null!==(n=Yn(r))&&void 0!==n?n:null==o?void 0:o.transparent(.3)),l=Yn(null!==(i=Yn(a))&&void 0!==i?i:o);if(s&&l)return{guideColor:s,guideColorActive:l}})).filter(_t.$K);if(a.length>0){for(let e=0;e<30;e++){const n=a[e%a.length];t.addRule(`.monaco-editor .${r.getInlineClassNameOfLevel(e).replace(/ /g,".")} { --guide-color: ${n.guideColor}; --guide-color-active: ${n.guideColorActive}; }`)}t.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),t.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),t.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),t.addRule(`.monaco-editor .vertical.${r.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),t.addRule(`.monaco-editor .horizontal-top.${r.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),t.addRule(`.monaco-editor .horizontal-bottom.${r.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}}));var $n=n(1262);l()($n.Z,{insert:"head",singleton:!1}),$n.Z.locals;class Jn{constructor(){this._currentVisibleRange=new Se.e(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class qn{constructor(e,t,n,i,o,r,a){this.minimalReveal=e,this.lineNumber=t,this.startColumn=n,this.endColumn=i,this.startScrollTop=o,this.stopScrollTop=r,this.scrollType=a,this.type="range",this.minLineNumber=t,this.maxLineNumber=t}}class Zn{constructor(e,t,n,i,o){this.minimalReveal=e,this.selections=t,this.startScrollTop=n,this.stopScrollTop=i,this.scrollType=o,this.type="selections";let r=t[0].startLineNumber,a=t[0].endLineNumber;for(let e=1,n=t.length;e<n;e++){const n=t[e];r=Math.min(r,n.startLineNumber),a=Math.max(a,n.endLineNumber)}this.minLineNumber=r,this.maxLineNumber=a}}class Xn extends ne{constructor(e,t){super(e),this._linesContent=t,this._textRangeRestingSpot=document.createElement("div"),this._visibleLines=new wn(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration,i=this._context.configuration.options,o=i.get(44),r=i.get(132),a=i.get(131);this._lineHeight=i.get(59),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=r.isViewportWrapping,this._revealHorizontalRightPadding=i.get(89),this._horizontalScrollbarHeight=a.horizontalScrollbarHeight,this._cursorSurroundingLines=i.get(25),this._cursorSurroundingLinesStyle=i.get(26),this._canUseLayerHinting=!i.get(28),this._viewLineOptions=new ve(n,this._context.theme.type),ie.write(this.domNode,7),this.domNode.setClassName(`view-lines ${pt.S}`),(0,rt.N)(this.domNode,o),this._maxLineWidth=0,this._asyncUpdateLineWidths=new j.pY((()=>{this._updateLineWidthsSlow()}),200),this._asyncCheckMonospaceFontAssumptions=new j.pY((()=>{this._checkMonospaceFontAssumptions()}),2e3),this._lastRenderedData=new Jn,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new be(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(132)&&(this._maxLineWidth=0);const t=this._context.configuration.options,n=t.get(44),i=t.get(132),o=t.get(131);return this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(89),this._horizontalScrollbarHeight=o.horizontalScrollbarHeight,this._cursorSurroundingLines=t.get(25),this._cursorSurroundingLinesStyle=t.get(26),this._canUseLayerHinting=!t.get(28),(0,rt.N)(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(131)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const e=this._context.configuration,t=new ve(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;const e=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let t=e;t<=n;t++)this._visibleLines.getVisibleLine(t).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=!1;for(let e=t;e<=n;e++)i=this._visibleLines.getVisibleLine(e).onSelectionChanged()||i;return i}onDecorationsChanged(e){{const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged()}return!0}onFlushed(e){const t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){const t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.minimalReveal,e.range,e.selections,e.verticalType);if(-1===t)return!1;let n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new qn(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new Zn(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;const i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop)<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(n,i),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){const t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){const n=this._getViewLineDomNode(e);if(null===n)return null;const i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.viewModel.getLineCount())return null;if(1===this._context.viewModel.getLineMaxColumn(i))return new xe.L(i,1);const o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(i<o||i>r)return null;let a=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t);const s=this._context.viewModel.getLineMinColumn(i);return a<s&&(a=s),new xe.L(i,a)}_getViewLineDomNode(e){for(;e&&1===e.nodeType;){if(e.className===be.CLASS_NAME)return e;e=e.parentElement}return null}_getLineNumberFor(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++)if(e===this._visibleLines.getVisibleLine(i).getDomNode())return i;return-1}getLineWidth(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;const n=e.endLineNumber,i=Se.e.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;let o=[],r=0;const a=new me(this.domNode.domNode,this._textRangeRestingSpot);let s=0;t&&(s=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new xe.L(i.startLineNumber,1)).lineNumber);const l=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let e=i.startLineNumber;e<=i.endLineNumber;e++){if(e<l||e>c)continue;const d=e===i.startLineNumber?i.startColumn:1,u=e===i.endLineNumber?i.endColumn:this._context.viewModel.getLineMaxColumn(e),h=this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,d,u,a);if(h){if(t&&e<n){const t=s;s=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new xe.L(e+1,1)).lineNumber,t!==s&&(h.ranges[h.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}o[r++]=new re(h.outsideRenderedLine,e,ae.from(h.ranges))}}return 0===r?null:o}_visibleRangesForLineRange(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,n,new me(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){const t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new le(t.outsideRenderedLine,t.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=1,o=!0;for(let r=t;r<=n;r++){const t=this._visibleLines.getVisibleLine(r);!e||t.getWidthIsFast()?i=Math.max(i,t.getWidth()):o=!1}return o&&1===t&&n===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1;const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let o=n;o<=i;o++){const n=this._visibleLines.getVisibleLine(o);if(n.needsMonospaceFontCheck()){const i=n.getWidth();i>t&&(t=i,e=o)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let e=n;e<=i;e++)this._visibleLines.getVisibleLine(e).onMonospaceAssumptionsInvalidated()}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),_.IJ&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++)if(this._visibleLines.getVisibleLine(n).needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){const t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewModel.viewLayout.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(e,t,n,i,o,r){const a=e.top,s=e.height,l=a+s;let c,d,u,h;if(o&&o.length>0){let e=o[0].startLineNumber,t=o[0].endLineNumber;for(let n=1,i=o.length;n<i;n++){const i=o[n];e=Math.min(e,i.startLineNumber),t=Math.max(t,i.endLineNumber)}c=!1,d=this._context.viewLayout.getVerticalOffsetForLineNumber(e),u=this._context.viewLayout.getVerticalOffsetForLineNumber(t)+this._lineHeight}else{if(!i)return-1;c=!0,d=this._context.viewLayout.getVerticalOffsetForLineNumber(i.startLineNumber),u=this._context.viewLayout.getVerticalOffsetForLineNumber(i.endLineNumber)+this._lineHeight}if("mouse"!==t&&!n||"default"!==this._cursorSurroundingLinesStyle){const e=Math.min(s/this._lineHeight/2,this._cursorSurroundingLines);d-=e*this._lineHeight,u+=Math.max(0,e-1)*this._lineHeight}else n||(d-=this._lineHeight);if(0!==r&&4!==r||(u+=n?this._horizontalScrollbarHeight:this._lineHeight),u-d>s){if(!c)return-1;h=d}else if(5===r||6===r)if(6===r&&a<=d&&u<=l)h=a;else{const e=d-Math.max(5*this._lineHeight,.2*s),t=u-s;h=Math.max(t,e)}else if(1===r||2===r)if(2===r&&a<=d&&u<=l)h=a;else{const e=(d+u)/2;h=Math.max(0,e-s/2)}else h=this._computeMinimumScrolling(a,l,d,u,3===r,4===r);return h}_computeScrollLeftToReveal(e){const t=this._context.viewLayout.getCurrentViewport(),n=t.left,i=n+t.width;let o=1073741824,r=0;if("range"===e.type){const t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(const e of t.ranges)o=Math.min(o,Math.round(e.left)),r=Math.max(r,Math.round(e.left+e.width))}else for(const t of e.selections){if(t.startLineNumber!==t.endLineNumber)return null;const e=this._visibleRangesForLineRange(t.startLineNumber,t.startColumn,t.endColumn);if(!e)return null;for(const t of e.ranges)o=Math.min(o,Math.round(t.left)),r=Math.max(r,Math.round(t.left+t.width))}return e.minimalReveal||(o=Math.max(0,o-Xn.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding),"selections"===e.type&&r-o>t.width?null:{scrollLeft:this._computeMinimumScrolling(n,i,o,r),maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,n,i,o,r){o=!!o,r=!!r;const a=(t|=0)-(e|=0);return(i|=0)-(n|=0)<a?o?n:r?Math.max(0,i-a):n<e?n:i>t?Math.max(0,i-a):e:n}}Xn.HORIZONTAL_EXTRA_PX=30;var ei=n(5684);l()(ei.Z,{insert:"head",singleton:!1}),ei.Z.locals;class ti extends Wn{constructor(e){super(),this._context=e;const t=this._context.configuration.options.get(131);this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options.get(131);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport(),n=[];let i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e],r=o.options.linesDecorationsClassName;r&&(n[i++]=new Vn(o.range.startLineNumber,o.range.endLineNumber,r));const a=o.options.firstLineDecorationClassName;a&&(n[i++]=new Vn(o.range.startLineNumber,o.range.startLineNumber,a))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',r=[];for(let e=t;e<=n;e++){const n=e-t,a=i[n];let s="";for(let e=0,t=a.length;e<t;e++)s+='<div class="cldr '+a[e]+o;r[n]=s}this._renderResult=r}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}var ni=n(9548);l()(ni.Z,{insert:"head",singleton:!1}),ni.Z.locals;class ii extends Wn{constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport(),n=[];let i=0;for(let e=0,o=t.length;e<o;e++){const o=t[e],r=o.options.marginClassName;r&&(n[i++]=new Vn(o.range.startLineNumber,o.range.endLineNumber,r))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=[];for(let e=t;e<=n;e++){const n=e-t,r=i[n];let a="";for(let e=0,t=r.length;e<t;e++)a+='<div class="cmdr '+r[e]+'" style=""></div>';o[n]=a}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}var oi=n(9775);l()(oi.Z,{insert:"head",singleton:!1}),oi.Z.locals;class ri{constructor(e,t,n,i){this._rgba8Brand=void 0,this.r=ri._clamp(e),this.g=ri._clamp(t),this.b=ri._clamp(n),this.a=ri._clamp(i)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}ri.Empty=new ri(0,0,0,0);class ai extends f.JT{constructor(){super(),this._onDidChange=new p.Q5,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(ft.RW.onDidChange((e=>{e.changedColorMap&&this._updateColorMap()})))}static getInstance(){return this._INSTANCE||(this._INSTANCE=(0,f.dk)(new ai)),this._INSTANCE}_updateColorMap(){const e=ft.RW.getColorMap();if(!e)return this._colors=[ri.Empty],void(this._backgroundIsLight=!0);this._colors=[ri.Empty];for(let t=1;t<e.length;t++){const n=e[t].rgba;this._colors[t]=new ri(n.r,n.g,n.b,Math.round(255*n.a))}const t=e[2].getRelativeLuminance();this._backgroundIsLight=t>=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}ai._INSTANCE=null;var si=n(9340);const li=(()=>{const e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})();var ci=n(9979);class di{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=di.soften(e,.8),this.charDataLight=di.soften(e,50/60)}static soften(e,t){const n=new Uint8ClampedArray(e.length);for(let i=0,o=e.length;i<o;i++)n[i]=(0,ci.K)(e[i]*t);return n}renderChar(e,t,n,i,o,r,a,s,l,c,d){const u=1*this.scale,h=2*this.scale,p=d?1:h;if(t+u>e.width||n+p>e.height)return void console.warn("bad render request outside image data");const f=c?this.charDataLight:this.charDataNormal,g=((e,t)=>(e-=32)<0||e>96?t<=2?(e+96)%96:95:e)(i,l),m=4*e.width,v=a.r,b=a.g,_=a.b,y=o.r-v,A=o.g-b,w=o.b-_,C=Math.max(r,s),x=e.data;let S=g*u*h,E=n*m+4*t;for(let e=0;e<p;e++){let e=E;for(let t=0;t<u;t++){const t=f[S++]/255*(r/255);x[e++]=v+y*t,x[e++]=b+A*t,x[e++]=_+w*t,x[e++]=C}E+=m}}blockRenderChar(e,t,n,i,o,r,a,s){const l=1*this.scale,c=2*this.scale,d=s?1:c;if(t+l>e.width||n+d>e.height)return void console.warn("bad render request outside image data");const u=4*e.width,h=o/255*.5,p=r.r,f=r.g,g=r.b,m=p+(i.r-p)*h,v=f+(i.g-f)*h,b=g+(i.b-g)*h,_=Math.max(o,a),y=e.data;let A=n*u+4*t;for(let e=0;e<d;e++){let e=A;for(let t=0;t<l;t++)y[e++]=m,y[e++]=v,y[e++]=b,y[e++]=_;A+=u}}}var ui=n(2200);const hi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},pi=e=>{const t=new Uint8ClampedArray(e.length/2);for(let n=0;n<e.length;n+=2)t[n>>1]=hi[e[n]]<<4|15&hi[e[n+1]];return t},fi={1:(0,ui.I)((()=>pi("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792"))),2:(0,ui.I)((()=>pi("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")))};class gi{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let n;return n=fi[e]?new di(fi[e](),e):gi.createFromSampleData(gi.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=n,n}static createSampleData(e){const t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font=`bold 16px ${e}`,n.textBaseline="middle";let i=0;for(const e of li)n.fillText(String.fromCharCode(e),i,8),i+=10;return n.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw new Error("Unexpected source in MinimapCharRenderer");const n=gi._downsample(e,t);return new di(n,t)}static _downsampleChar(e,t,n,i,o){const r=1*o,a=2*o;let s=i,l=0;for(let i=0;i<a;i++){const o=i/a*16,c=(i+1)/a*16;for(let i=0;i<r;i++){const a=i/r*10,d=(i+1)/r*10;let u=0,h=0;for(let n=o;n<c;n++){const i=t+3840*Math.floor(n),o=1-(n-Math.floor(n));for(let t=a;t<d;t++){const n=1-(t-Math.floor(t)),r=i+4*Math.floor(t),a=n*o;h+=a,u+=e[r]*e[r+3]/255*a}}const p=u/h;l=Math.max(l,p),n[s++]=(0,ci.K)(p)}}return l}static _downsample(e,t){const n=2*t*1*t,i=96*n,o=new Uint8ClampedArray(i);let r=0,a=0,s=0;for(let i=0;i<96;i++)s=Math.max(s,this._downsampleChar(e,a,o,r,t)),r+=n,a+=40;if(s>0){const e=255/s;for(let t=0;t<i;t++)o[t]*=e}return o}}var mi=n(3701);class vi{constructor(e,t,n){const i=e.options,o=i.get(129),r=i.get(131),a=r.minimap,s=i.get(44),l=i.get(65);this.renderMinimap=a.renderMinimap,this.size=l.size,this.minimapHeightIsEditorHeight=a.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=i.get(94),this.showSlider=l.showSlider,this.pixelRatio=o,this.typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,this.lineHeight=i.get(59),this.minimapLeft=a.minimapLeft,this.minimapWidth=a.minimapWidth,this.minimapHeight=r.height,this.canvasInnerWidth=a.minimapCanvasInnerWidth,this.canvasInnerHeight=a.minimapCanvasInnerHeight,this.canvasOuterWidth=a.minimapCanvasOuterWidth,this.canvasOuterHeight=a.minimapCanvasOuterHeight,this.isSampling=a.minimapIsSampling,this.editorHeight=r.height,this.fontScale=a.minimapScale,this.minimapLineHeight=a.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=(0,ui.I)((()=>gi.create(this.fontScale,s.fontFamily))),this.defaultBackgroundColor=n.getColor(2),this.backgroundColor=vi._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=vi._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){const n=e.getColor(V.kVY);return n?new ri(n.rgba.r,n.rgba.g,n.rgba.b,Math.round(255*n.rgba.a)):t}static _getMinimapForegroundOpacity(e){const t=e.getColor(V.Itd);return t?ri._clamp(Math.round(255*t.rgba.a)):255}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class bi{constructor(e,t,n,i,o,r,a,s){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=n,this._computedSliderRatio=i,this.sliderTop=o,this.sliderHeight=r,this.startLineNumber=a,this.endLineNumber=s}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,n,i,o,r,a,s,l,c,d){const u=e.pixelRatio,h=e.minimapLineHeight,p=Math.floor(e.canvasInnerHeight/h),f=e.lineHeight;if(e.minimapHeightIsEditorHeight){const t=s*e.lineHeight+(e.scrollBeyondLastLine?o-e.lineHeight:0),n=Math.max(1,Math.floor(o*o/t)),i=Math.max(0,e.minimapHeight-n),r=i/(c-o),d=l*r,u=i>0,h=Math.floor(e.canvasInnerHeight/e.minimapLineHeight);return new bi(l,c,u,r,d,n,1,Math.min(a,h))}let g,m;if(r&&n!==a){const e=n-t+1;g=Math.floor(e*h/u)}else{const e=o/f;g=Math.floor(e*h/u)}m=e.scrollBeyondLastLine?(a-1)*h/u:Math.max(0,a*h/u-g),m=Math.min(e.minimapHeight-g,m);const v=m/(c-o),b=l*v;let _=0;if(e.scrollBeyondLastLine&&(_=o/f-1),p>=a+_)return new bi(l,c,m>0,v,b,g,1,a);{let e=Math.max(1,Math.floor(t-b*u/h));d&&d.scrollHeight===c&&(d.scrollTop>l&&(e=Math.min(e,d.startLineNumber)),d.scrollTop<l&&(e=Math.max(e,d.startLineNumber)));const n=Math.min(a,e+p-1);return new bi(l,c,!0,v,(t-e+(l-i)/f)*h/u,g,e,n)}}}class _i{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}_i.INVALID=new _i(-1);class yi{constructor(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new An((()=>_i.INVALID)),this._renderedLines._set(e.startLineNumber,n)}linesEquals(e){if(!this.scrollEquals(e))return!1;const t=this._renderedLines._get().lines;for(let e=0,n=t.length;e<n;e++)if(-1===t[e].dy)return!1;return!0}scrollEquals(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber}_get(){const e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}}onLinesChanged(e,t){return this._renderedLines.onLinesChanged(e,t)}onLinesDeleted(e,t){this._renderedLines.onLinesDeleted(e,t)}onLinesInserted(e,t){this._renderedLines.onLinesInserted(e,t)}onTokensChanged(e){return this._renderedLines.onTokensChanged(e)}}class Ai{constructor(e,t,n,i){this._backgroundFillData=Ai._createBackgroundFillData(t,n,i),this._buffers=[e.createImageData(t,n),e.createImageData(t,n)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;const e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e}static _createBackgroundFillData(e,t,n){const i=n.r,o=n.g,r=n.b,a=n.a,s=new Uint8ClampedArray(e*t*4);let l=0;for(let n=0;n<t;n++)for(let t=0;t<e;t++)s[l]=i,s[l+1]=o,s[l+2]=r,s[l+3]=a,l+=4;return s}}class wi{constructor(e,t){this.samplingRatio=e,this.minimapLines=t}static compute(e,t,n){if(0===e.renderMinimap||!e.isSampling)return[null,[]];const i=e.pixelRatio,o=e.lineHeight,r=e.scrollBeyondLastLine,{minimapLineCount:a}=x.gk.computeContainedMinimapLineCount({viewLineCount:t,scrollBeyondLastLine:r,height:e.editorHeight,lineHeight:o,pixelRatio:i}),s=t/a,l=s/2;if(!n||0===n.minimapLines.length){const e=[];if(e[0]=1,a>1){for(let t=0,n=a-1;t<n;t++)e[t]=Math.round(t*s+l);e[a-1]=t}return[new wi(s,e),[]]}const c=n.minimapLines,d=c.length,u=[];let h=0,p=0,f=1,g=[],m=null;for(let e=0;e<a;e++){const n=Math.max(f,Math.round(e*s)),i=Math.max(n,Math.round((e+1)*s));for(;h<d&&c[h]<n;){if(g.length<10){const e=h+1+p;m&&"deleted"===m.type&&m._oldIndex===h-1?m.deleteToLineNumber++:(m={type:"deleted",_oldIndex:h,deleteFromLineNumber:e,deleteToLineNumber:e},g.push(m)),p--}h++}let o;if(h<d&&c[h]<=i)o=c[h],h++;else if(o=0===e?1:e+1===a?t:Math.round(e*s+l),g.length<10){const t=h+1+p;m&&"inserted"===m.type&&m._i===e-1?m.insertToLineNumber++:(m={type:"inserted",_i:e,insertFromLineNumber:t,insertToLineNumber:t},g.push(m)),p++}u[e]=o,f=o}if(g.length<10)for(;h<d;){const e=h+1+p;m&&"deleted"===m.type&&m._oldIndex===h-1?m.deleteToLineNumber++:(m={type:"deleted",_oldIndex:h,deleteFromLineNumber:e,deleteToLineNumber:e},g.push(m)),p--,h++}else g=[{type:"flush"}];return[new wi(s,u),g]}modelLineToMinimapLine(e){return Math.min(this.minimapLines.length,Math.max(1,Math.round(e/this.samplingRatio)))}modelLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e)-1;for(;n>0&&this.minimapLines[n-1]>=e;)n--;let i=this.modelLineToMinimapLine(t)-1;for(;i+1<this.minimapLines.length&&this.minimapLines[i+1]<=t;)i++;if(n===i){const i=this.minimapLines[n];if(i<e||i>t)return null}return[n+1,i+1]}decorationLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e),i=this.modelLineToMinimapLine(t);return e!==t&&i===n&&(i===this.minimapLines.length?n>1&&n--:i++),[n,i]}onLinesDeleted(e){const t=e.toLineNumber-e.fromLineNumber+1;let n=this.minimapLines.length,i=0;for(let o=this.minimapLines.length-1;o>=0&&!(this.minimapLines[o]<e.fromLineNumber);o--)this.minimapLines[o]<=e.toLineNumber?(this.minimapLines[o]=Math.max(1,e.fromLineNumber-1),n=Math.min(n,o),i=Math.max(i,o)):this.minimapLines[o]-=t;return[n,i]}onLinesInserted(e){const t=e.toLineNumber-e.fromLineNumber+1;for(let n=this.minimapLines.length-1;n>=0&&!(this.minimapLines[n]<e.fromLineNumber);n--)this.minimapLines[n]+=t}}class Ci extends ne{constructor(e){super(e),this.tokensColorTracker=ai.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new vi(this._context.configuration,this._context.theme,this.tokensColorTracker);const[t]=wi.compute(this.options,this._context.viewModel.getLineCount(),null);this._samplingState=t,this._shouldCheckSampling=!1,this._actual=new xi(e.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const e=new vi(this._context.configuration,this._context.theme,this.tokensColorTracker);return!this.options.equals(e)&&(this.options=e,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(e){return this._onOptionsMaybeChanged()}onCursorStateChanged(e){return this._selections=e.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(e){return!!e.affectsMinimap&&this._actual.onDecorationsChanged()}onFlushed(e){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(e){if(this._samplingState){const t=this._samplingState.modelLineRangeToMinimapLineRange(e.fromLineNumber,e.toLineNumber);return!!t&&this._actual.onLinesChanged(t[0],t[1])}return this._actual.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){if(this._samplingState){const[t,n]=this._samplingState.onLinesDeleted(e);return t<=n&&this._actual.onLinesChanged(t+1,n+1),this._shouldCheckSampling=!0,!0}return this._actual.onLinesDeleted(e.fromLineNumber,e.toLineNumber)}onLinesInserted(e){return this._samplingState?(this._samplingState.onLinesInserted(e),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(e.fromLineNumber,e.toLineNumber)}onScrollChanged(e){return this._actual.onScrollChanged()}onThemeChanged(e){return this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(e){if(this._samplingState){const t=[];for(const n of e.ranges){const e=this._samplingState.modelLineRangeToMinimapLineRange(n.fromLineNumber,n.toLineNumber);e&&t.push({fromLineNumber:e[0],toLineNumber:e[1]})}return!!t.length&&this._actual.onTokensChanged(t)}return this._actual.onTokensChanged(e.ranges)}onTokensColorsChanged(e){return this._onOptionsMaybeChanged(),this._actual.onTokensColorsChanged()}onZonesChanged(e){return this._actual.onZonesChanged()}prepareRender(e){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(e){let t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber;this._samplingState&&(t=this._samplingState.modelLineToMinimapLine(t),n=this._samplingState.modelLineToMinimapLine(n));const i={viewportContainsWhitespaceGaps:e.viewportData.whitespaceViewportData.length>0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:n,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(i)}_recreateLineSampling(){this._minimapSelections=null;const e=Boolean(this._samplingState),[t,n]=wi.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(const e of n)switch(e.type){case"deleted":this._actual.onLinesDeleted(e.deleteFromLineNumber,e.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(e.insertFromLineNumber,e.insertToLineNumber);break;case"flush":this._actual.onFlushed()}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.viewModel.getLineCount()}getRealLineCount(){return this._context.viewModel.getLineCount()}getLineContent(e){return this._samplingState?this._context.viewModel.getLineContent(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineContent(e)}getLineMaxColumn(e){return this._samplingState?this._context.viewModel.getLineMaxColumn(this._samplingState.minimapLines[e-1]):this._context.viewModel.getLineMaxColumn(e)}getMinimapLinesRenderingData(e,t,n){if(this._samplingState){const i=[];for(let o=0,r=t-e+1;o<r;o++)n[o]?i[o]=this._context.viewModel.getViewLineData(this._samplingState.minimapLines[e+o-1]):i[o]=null;return i}return this._context.viewModel.getMinimapLinesRenderingData(e,t,n).data}getSelections(){if(null===this._minimapSelections)if(this._samplingState){this._minimapSelections=[];for(const e of this._selections){const[t,n]=this._samplingState.decorationLineRangeToMinimapLineRange(e.startLineNumber,e.endLineNumber);this._minimapSelections.push(new O.Y(t,e.startColumn,n,e.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(e,t){let n;if(this._samplingState){const i=this._samplingState.minimapLines[e-1],o=this._samplingState.minimapLines[t-1];n=new Se.e(i,1,o,this._context.viewModel.getLineMaxColumn(o))}else n=new Se.e(e,1,t,this._context.viewModel.getLineMaxColumn(t));const i=this._context.viewModel.getDecorationsInViewport(n);if(this._samplingState){const e=[];for(const t of i){if(!t.options.minimap)continue;const n=t.range,i=this._samplingState.modelLineToMinimapLine(n.startLineNumber),o=this._samplingState.modelLineToMinimapLine(n.endLineNumber);e.push(new si.$l(new Se.e(i,n.startColumn,o,n.endColumn),t.options))}return e}return i}getOptions(){return this._context.viewModel.model.getOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.viewModel.revealRange("mouse",!1,new Se.e(e,1,e,1),1,0)}setScrollTop(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e},1)}}class xi extends f.JT{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(V.ov3),this._domNode=(0,P.X)(document.createElement("div")),ie.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=(0,P.X)(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=(0,P.X)(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=(0,P.X)(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=(0,P.X)(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=(0,P.X)(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=u.mu(this._domNode.domNode,"mousedown",(e=>{if(e.preventDefault(),0===this._model.options.renderMinimap)return;if(!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(e.leftButton&&this._lastRenderData){const t=u.i(this._slider.domNode),n=t.top+t.height/2;this._startSliderDragging(e.buttons,e.posx,n,e.posy,this._lastRenderData.renderedLayout)}return}const t=this._model.options.minimapLineHeight,n=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.browserEvent.offsetY;let i=Math.floor(n/t)+this._lastRenderData.renderedLayout.startLineNumber;i=Math.min(i,this._model.getLineCount()),this._model.revealLineNumber(i)})),this._sliderMouseMoveMonitor=new z.Z,this._sliderMouseDownListener=u.mu(this._slider.domNode,"mousedown",(e=>{e.preventDefault(),e.stopPropagation(),e.leftButton&&this._lastRenderData&&this._startSliderDragging(e.buttons,e.posx,e.posy,e.posy,this._lastRenderData.renderedLayout)})),this._gestureDisposable=F.o.addTarget(this._domNode.domNode),this._sliderTouchStartListener=u.nm(this._domNode.domNode,F.t.Start,(e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))}),{passive:!1}),this._sliderTouchMoveListener=u.nm(this._domNode.domNode,F.t.Change,(e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)}),{passive:!1}),this._sliderTouchEndListener=u.mu(this._domNode.domNode,F.t.End,(e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)}))}_startSliderDragging(e,t,n,i,o){this._slider.toggleClassName("active",!0);const r=(e,i)=>{const r=Math.abs(i-t);if(_.ED&&r>140)return void this._model.setScrollTop(o.scrollTop);const a=e-n;this._model.setScrollTop(o.getDesiredScrollTopFromDelta(a))};i!==n&&r(i,t),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,e,z.e,(e=>r(e.posy,e.posx)),(()=>{this._slider.toggleClassName("active",!1)}))}scrollDueToTouchEvent(e){const t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(n)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new Ai(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e,t),!0}onLinesInserted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(V.ov3),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){if(0===this._model.options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const t=bi.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(t.sliderNeeded?"block":"none"),this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;const t=this._model.getSelections();t.sort(Se.e.compareRangesUsingStarts);const n=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);n.sort(((e,t)=>(e.options.zIndex||0)-(t.options.zIndex||0)));const{canvasInnerWidth:i,canvasInnerHeight:o}=this._model.options,r=this._model.options.minimapLineHeight,a=this._model.options.minimapCharWidth,s=this._model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,i,o);const c=new Si(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(l,t,c,e,r),this._renderDecorationsLineHighlights(l,n,c,e,r);const d=new Si(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(l,t,d,e,r,s,a,i),this._renderDecorationsHighlights(l,n,d,e,r,s,a,i)}}_renderSelectionLineHighlights(e,t,n,i,o){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let r=0,a=0;for(const s of t){const t=Math.max(i.startLineNumber,s.startLineNumber),l=Math.min(i.endLineNumber,s.endLineNumber);if(t>l)continue;for(let e=t;e<=l;e++)n.set(e,!0);const c=(t-i.startLineNumber)*o,d=(l-i.startLineNumber)*o+o;a>=c||(a>r&&e.fillRect(x.y0,r,e.canvas.width,a-r),r=c),a=d}a>r&&e.fillRect(x.y0,r,e.canvas.width,a-r)}_renderDecorationsLineHighlights(e,t,n,i,o){const r=new Map;for(let a=t.length-1;a>=0;a--){const s=t[a],l=s.options.minimap;if(!l||l.position!==mi.F5.Inline)continue;const c=Math.max(i.startLineNumber,s.range.startLineNumber),d=Math.min(i.endLineNumber,s.range.endLineNumber);if(c>d)continue;const u=l.getColor(this._theme.value);if(!u||u.isTransparent())continue;let h=r.get(u.toString());h||(h=u.transparent(.5).toString(),r.set(u.toString(),h)),e.fillStyle=h;for(let t=c;t<=d;t++){if(n.has(t))continue;n.set(t,!0);const r=(c-i.startLineNumber)*o;e.fillRect(x.y0,r,e.canvas.width,o)}}}_renderSelectionsHighlights(e,t,n,i,o,r,a,s){if(this._selectionColor&&!this._selectionColor.isTransparent())for(const l of t){const t=Math.max(i.startLineNumber,l.startLineNumber),c=Math.min(i.endLineNumber,l.endLineNumber);if(!(t>c))for(let d=t;d<=c;d++)this.renderDecorationOnLine(e,n,l,this._selectionColor,i,d,o,o,r,a,s)}}_renderDecorationsHighlights(e,t,n,i,o,r,a,s){for(const l of t){const t=l.options.minimap;if(!t)continue;const c=Math.max(i.startLineNumber,l.range.startLineNumber),d=Math.min(i.endLineNumber,l.range.endLineNumber);if(c>d)continue;const u=t.getColor(this._theme.value);if(u&&!u.isTransparent())for(let h=c;h<=d;h++)switch(t.position){case mi.F5.Inline:this.renderDecorationOnLine(e,n,l.range,u,i,h,o,o,r,a,s);continue;case mi.F5.Gutter:{const t=(h-i.startLineNumber)*o,n=2;this.renderDecoration(e,u,n,t,2,o);continue}}}}renderDecorationOnLine(e,t,n,i,o,r,a,s,l,c,d){const u=(r-o.startLineNumber)*s;if(u+a<0||u>this._model.options.canvasInnerHeight)return;const{startLineNumber:h,endLineNumber:p}=n,f=h===r?n.startColumn:1,g=p===r?n.endColumn:this._model.getLineMaxColumn(r),m=this.getXOffsetForPosition(t,r,f,l,c,d),v=this.getXOffsetForPosition(t,r,g,l,c,d);this.renderDecoration(e,i,m,u,v-m,a)}getXOffsetForPosition(e,t,n,i,o,r){if(1===n)return x.y0;if((n-1)*o>=r)return r;let a=e.get(t);if(!a){const n=this._model.getLineContent(t);a=[x.y0];let s=x.y0;for(let e=1;e<n.length+1;e++){const t=n.charCodeAt(e-1),l=s+(9===t?i*o:Ke.K7(t)?2*o:o);if(l>=r){a[e]=r;break}a[e]=l,s=l}e.set(t,a)}return n-1<a.length?a[n-1]:r}renderDecoration(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)}renderLines(e){const t=e.startLineNumber,n=e.endLineNumber,i=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){const t=this._lastRenderData._get();return new yi(e,t.imageData,t.lines)}const o=this._getBuffer();if(!o)return null;const[r,a,s]=xi._renderUntouchedLines(o,t,n,i,this._lastRenderData),l=this._model.getMinimapLinesRenderingData(t,n,s),c=this._model.getOptions().tabSize,d=this._model.options.defaultBackgroundColor,u=this._model.options.backgroundColor,h=this._model.options.foregroundAlpha,p=this._model.tokensColorTracker,f=p.backgroundIsLight(),g=this._model.options.renderMinimap,m=this._model.options.charRenderer(),v=this._model.options.fontScale,b=this._model.options.minimapCharWidth,_=(1===g?2:3)*v,y=i>_?Math.floor((i-_)/2):0,A=u.a/255,w=new ri(Math.round((u.r-d.r)*A+d.r),Math.round((u.g-d.g)*A+d.g),Math.round((u.b-d.b)*A+d.b),255);let C=0;const x=[];for(let e=0,r=n-t+1;e<r;e++)s[e]&&xi._renderLine(o,w,u.a,f,g,b,p,h,m,C,y,c,l[e],v,i),x[e]=new _i(C),C+=i;const S=-1===r?0:r,E=(-1===a?o.height:a)-S;return this._canvas.domNode.getContext("2d").putImageData(o,0,0,0,S,o.width,E),new yi(e,o,x)}static _renderUntouchedLines(e,t,n,i,o){const r=[];if(!o){for(let e=0,i=n-t+1;e<i;e++)r[e]=!0;return[-1,-1,r]}const a=o._get(),s=a.imageData.data,l=a.rendLineNumberStart,c=a.lines,d=c.length,u=e.width,h=e.data,p=(n-t+1)*i*u*4;let f=-1,g=-1,m=-1,v=-1,b=-1,_=-1,y=0;for(let e=t;e<=n;e++){const n=e-t,o=e-l,a=o>=0&&o<d?c[o].dy:-1;if(-1===a){r[n]=!0,y+=i;continue}const A=a*u*4,w=(a+i)*u*4,C=y*u*4,x=(y+i)*u*4;v===A&&_===C?(v=w,_=x):(-1!==m&&(h.set(s.subarray(m,v),b),-1===f&&0===m&&m===b&&(f=v),-1===g&&v===p&&m===b&&(g=m)),m=A,v=w,b=C,_=x),r[n]=!1,y+=i}return-1!==m&&(h.set(s.subarray(m,v),b),-1===f&&0===m&&m===b&&(f=v),-1===g&&v===p&&m===b&&(g=m)),[-1===f?-1:f/(4*u),-1===g?-1:g/(4*u),r]}static _renderLine(e,t,n,i,o,r,a,s,l,c,d,u,h,p,f){const g=h.content,m=h.tokens,v=e.width-r,b=1===f;let _=x.y0,y=0,A=0;for(let h=0,f=m.getCount();h<f;h++){const f=m.getEndOffset(h),w=m.getForeground(h),C=a.getColor(w);for(;y<f;y++){if(_>v)return;const a=g.charCodeAt(y);if(9===a){const e=u-(y+A)%u;A+=e-1,_+=e*r}else if(32===a)_+=r;else{const u=Ke.K7(a)?2:1;for(let h=0;h<u;h++)if(2===o?l.blockRenderChar(e,_,c+d,C,s,t,n,b):l.renderChar(e,_,c+d,a,C,s,t,n,p,i,b),_+=r,_>v)return}}}}}class Si{constructor(e,t,n){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=n,this._values=[];for(let e=0,t=this._endLineNumber-this._startLineNumber+1;e<t;e++)this._values[e]=n}has(e){return this.get(e)!==this._defaultValue}set(e,t){e<this._startLineNumber||e>this._endLineNumber||(this._values[e-this._startLineNumber]=t)}get(e){return e<this._startLineNumber||e>this._endLineNumber?this._defaultValue:this._values[e-this._startLineNumber]}}(0,ct.Ic)(((e,t)=>{const n=e.getColor(V.CA6);n&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${n}; }`);const i=e.getColor(V.Xy4);i&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${i}; }`);const o=e.getColor(V.brw);o&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${o}; }`);const r=e.getColor(V._wn);r&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${r} -6px 0 6px -6px inset; }`)}));var Ei=n(5366);l()(Ei.Z,{insert:"head",singleton:!1}),Ei.Z.locals;class ki extends ne{constructor(e){super(e);const t=this._context.configuration.options.get(131);this._widgets={},this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimap.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,this._domNode=(0,P.X)(document.createElement("div")),ie.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options.get(131);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimap.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0}addWidget(e){const t=(0,P.X)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t].domNode.domNode;delete this._widgets[t],e.parentNode.removeChild(e),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){const e=t.domNode.clientHeight;t.setTop(this._editorHeight-e-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);const t=Object.keys(this._widgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];this._renderWidget(this._widgets[n])}}}class Mi{constructor(e,t){const n=e.options;this.lineHeight=n.get(59),this.pixelRatio=n.get(129),this.overviewRulerLanes=n.get(74),this.renderBorder=n.get(73);const i=t.getColor(lt.zw);this.borderColor=i?i.toString():null,this.hideCursor=n.get(52);const o=t.getColor(lt.n0);this.cursorColor=o?o.transparent(.7).toString():null,this.themeType=t.type;const r=n.get(65),a=r.enabled,s=r.side,l=a?t.getColor(lt.e_)||ft.RW.getDefaultBackground():null;this.backgroundColor=null===l||"left"===s?null:gt.Il.Format.CSS.formatHex(l);const c=n.get(131).overviewRuler;this.top=c.top,this.right=c.right,this.domWidth=c.width,this.domHeight=c.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[d,u]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=d,this.w=u}_initLanes(e,t,n){const i=t-e;if(n>=3){const t=Math.floor(i/3),n=Math.floor(i/3),o=i-t-n,r=e+t;return[[0,e,r,e,e+t+o,e,r,e],[0,t,o,t+o,n,t+o+n,o+n,t+o+n]]}if(2===n){const t=Math.floor(i/2),n=i-t;return[[0,e,e,e,e+t,e,e,e],[0,t,t,t,n,t+n,t+n,t+n]]}return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class Di extends ne{constructor(e){super(e),this._domNode=(0,P.X)(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=ft.RW.onDidChange((e=>{e.changedColorMap&&this._updateSettings(!0)})),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){const t=new Mi(this._context.configuration,this._context.theme);return!(this._settings&&this._settings.equals(t)||(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),0))}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(xe.L.compare),!0}onDecorationsChanged(e){return!!e.affectsOverviewRuler}onFlushed(e){return!0}onScrollChanged(e){return e.scrollHeightChanged}onZonesChanged(e){return!0}onThemeChanged(e){return this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render()}_render(){if(0===this._settings.overviewRulerLanes)return this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:""),void this._domNode.setDisplay("none");this._domNode.setDisplay("block");const e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,o=t/this._context.viewLayout.getScrollHeight(),r=this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme),a=6*this._settings.pixelRatio|0,s=a/2|0,l=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?l.clearRect(0,0,e,t):(l.fillStyle=this._settings.backgroundColor,l.fillRect(0,0,e,t));const c=this._settings.x,d=this._settings.w;r.sort(si.SQ.cmp);for(const e of r){const r=e.color,u=e.data;l.fillStyle=r;let h=0,p=0,f=0;for(let e=0,r=u.length/3;e<r;e++){const r=u[3*e],g=u[3*e+1],m=u[3*e+2];let v=i.getVerticalOffsetForLineNumber(g)*o|0,b=(i.getVerticalOffsetForLineNumber(m)+n)*o|0;if(b-v<a){let e=(v+b)/2|0;e<s?e=s:e+s>t&&(e=t-s),v=e-s,b=e+s}v>f+1||r!==h?(0!==e&&l.fillRect(c[h],p,d[h],f-p),h=r,p=v,f=b):b>f&&(f=b)}l.fillRect(c[h],p,d[h],f-p)}if(!this._settings.hideCursor&&this._settings.cursorColor){const e=2*this._settings.pixelRatio|0,n=e/2|0,r=this._settings.x[7],a=this._settings.w[7];l.fillStyle=this._settings.cursorColor;let s=-100,c=-100;for(let d=0,u=this._cursorPositions.length;d<u;d++){const u=this._cursorPositions[d];let h=i.getVerticalOffsetForLineNumber(u.lineNumber)*o|0;h<n?h=n:h+n>t&&(h=t-n);const p=h-n,f=p+e;p>c+1?(0!==d&&l.fillRect(r,s,a,c-s),s=p,c=f):f>c&&(c=f)}l.fillRect(r,s,a,c-s)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(e,0),l.stroke())}}var Ni=n(2497);class Ii extends te{constructor(e,t){super(),this._context=e;const n=this._context.configuration.options;this._domNode=(0,P.X)(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new Ni.Tj((e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e))),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(n.get(59)),this._zoneManager.setPixelRatio(n.get(129)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(59)&&(this._zoneManager.setLineHeight(t.get(59)),this._render()),e.hasChanged(129)&&(this._zoneManager.setPixelRatio(t.get(129)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;const e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0}_renderOneLane(e,t,n,i){let o=0,r=0,a=0;for(const s of t){const t=s.colorId,l=s.from,c=s.to;t!==o?(e.fillRect(0,r,i,a-r),o=t,e.fillStyle=n[o],r=l,a=c):a>=l?a=Math.max(a,c):(e.fillRect(0,r,i,a-r),r=l,a=c)}e.fillRect(0,r,i,a-r)}}var Ti=n(8492);l()(Ti.Z,{insert:"head",singleton:!1}),Ti.Z.locals;class Li extends ne{constructor(e){super(e),this.domNode=(0,P.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){const e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e<t){const{tabSize:n}=this._context.viewModel.model.getOptions(),i=n;let o=t-e;for(;o>0;){const e=(0,P.X)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),o--}return}let n=e-t;for(;n>0;){const e=this._renderedRulers.pop();this.domNode.removeChild(e),n--}}render(e){this._ensureRulersCount();for(let t=0,n=this._rulers.length;t<n;t++){const n=this._renderedRulers[t],i=this._rulers[t];n.setBoxShadow(i.color?`1px 0 0 0 ${i.color} inset`:""),n.setHeight(Math.min(e.scrollHeight,1e6)),n.setLeft(i.column*this._typicalHalfwidthCharacterWidth)}}}(0,ct.Ic)(((e,t)=>{const n=e.getColor(lt.zk);n&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${n} inset; }`)}));var Bi=n(2019);l()(Bi.Z,{insert:"head",singleton:!1}),Bi.Z.locals;class Oi extends ne{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const t=this._context.configuration.options.get(92);this._useShadows=t.useShadows,this._domNode=(0,P.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){const e=this._context.configuration.options.get(131);0===e.minimap.renderMinimap||e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?this._width=e.width:this._width=e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}onConfigurationChanged(e){const t=this._context.configuration.options.get(92);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}(0,ct.Ic)(((e,t)=>{const n=e.getColor(V._wn);n&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${n} 0 6px 6px -6px inset; }`)}));var Pi=n(5371);l()(Pi.Z,{insert:"head",singleton:!1}),Pi.Z.locals;class Fi{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class Ri{constructor(e,t){this.lineNumber=e,this.ranges=t}}function ji(e){return new Fi(e)}function zi(e){return new Ri(e.lineNumber,e.ranges.map(ji))}class Vi extends st{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(59),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(59),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,n=e.length;t<n;t++)if(e[t].ranges.length>1)return!0;return!1}_enrichVisibleRangesWithStyle(e,t,n){const i=this._typicalHalfwidthCharacterWidth/4;let o=null,r=null;if(n&&n.length>0&&t.length>0){const i=t[0].lineNumber;if(i===e.startLineNumber)for(let e=0;!o&&e<n.length;e++)n[e].lineNumber===i&&(o=n[e].ranges[0]);const a=t[t.length-1].lineNumber;if(a===e.endLineNumber)for(let e=n.length-1;!r&&e>=0;e--)n[e].lineNumber===a&&(r=n[e].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}for(let e=0,n=t.length;e<n;e++){const a=t[e].ranges[0],s=a.left,l=a.left+a.width,c={top:0,bottom:0},d={top:0,bottom:0};if(e>0){const n=t[e-1].ranges[0].left,o=t[e-1].ranges[0].left+t[e-1].ranges[0].width;Wi(s-n)<i?c.top=2:s>n&&(c.top=1),Wi(l-o)<i?d.top=2:n<l&&l<o&&(d.top=1)}else o&&(c.top=o.startStyle.top,d.top=o.endStyle.top);if(e+1<n){const n=t[e+1].ranges[0].left,o=t[e+1].ranges[0].left+t[e+1].ranges[0].width;Wi(s-n)<i?c.bottom=2:n<s&&s<o&&(c.bottom=1),Wi(l-o)<i?d.bottom=2:l<o&&(d.bottom=1)}else r&&(c.bottom=r.startStyle.bottom,d.bottom=r.endStyle.bottom);a.startStyle=c,a.endStyle=d}}_getVisibleRangesWithStyle(e,t,n){const i=(t.linesVisibleRangesForRange(e,!0)||[]).map(zi);return!this._visibleRangesHaveGaps(i)&&this._roundedSelection&&this._enrichVisibleRangesWithStyle(t.visibleRange,i,n),i}_createSelectionPiece(e,t,n,i,o){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+i.toString()+"px;width:"+o.toString()+"px;height:"+t+'px;"></div>'}_actualRenderOneSelection(e,t,n,i){if(0===i.length)return;const o=!!i[0].ranges[0].startStyle,r=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),s=i[0].lineNumber,l=i[i.length-1].lineNumber;for(let c=0,d=i.length;c<d;c++){const d=i[c],u=d.lineNumber,h=u-t,p=!n||u!==l&&u!==s?r:a,f=n&&u===s?1:0;let g="",m="";for(let e=0,t=d.ranges.length;e<t;e++){const t=d.ranges[e];if(o){const e=t.startStyle,n=t.endStyle;if(1===e.top||1===e.bottom){g+=this._createSelectionPiece(f,p,Vi.SELECTION_CLASS_NAME,t.left-Vi.ROUNDED_PIECE_WIDTH,Vi.ROUNDED_PIECE_WIDTH);let n=Vi.EDITOR_BACKGROUND_CLASS_NAME;1===e.top&&(n+=" "+Vi.SELECTION_TOP_RIGHT),1===e.bottom&&(n+=" "+Vi.SELECTION_BOTTOM_RIGHT),g+=this._createSelectionPiece(f,p,n,t.left-Vi.ROUNDED_PIECE_WIDTH,Vi.ROUNDED_PIECE_WIDTH)}if(1===n.top||1===n.bottom){g+=this._createSelectionPiece(f,p,Vi.SELECTION_CLASS_NAME,t.left+t.width,Vi.ROUNDED_PIECE_WIDTH);let e=Vi.EDITOR_BACKGROUND_CLASS_NAME;1===n.top&&(e+=" "+Vi.SELECTION_TOP_LEFT),1===n.bottom&&(e+=" "+Vi.SELECTION_BOTTOM_LEFT),g+=this._createSelectionPiece(f,p,e,t.left+t.width,Vi.ROUNDED_PIECE_WIDTH)}}let n=Vi.SELECTION_CLASS_NAME;if(o){const e=t.startStyle,i=t.endStyle;0===e.top&&(n+=" "+Vi.SELECTION_TOP_LEFT),0===e.bottom&&(n+=" "+Vi.SELECTION_BOTTOM_LEFT),0===i.top&&(n+=" "+Vi.SELECTION_TOP_RIGHT),0===i.bottom&&(n+=" "+Vi.SELECTION_BOTTOM_RIGHT)}m+=this._createSelectionPiece(f,p,n,t.left,t.width)}e[h][0]+=g,e[h][1]+=m}}prepareRender(e){const t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber;for(let e=n;e<=i;e++)t[e-n]=["",""];const o=[];for(let i=0,r=this._selections.length;i<r;i++){const r=this._selections[i];if(r.isEmpty()){o[i]=null;continue}const a=this._getVisibleRangesWithStyle(r,e,this._previousFrameVisibleRangesWithStyle[i]);o[i]=a,this._actualRenderOneSelection(t,n,this._selections.length>1,a)}this._previousFrameVisibleRangesWithStyle=o,this._renderResult=t.map((([e,t])=>e+t))}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}function Wi(e){return e<0?-e:e}Vi.SELECTION_CLASS_NAME="selected-text",Vi.SELECTION_TOP_LEFT="top-left-radius",Vi.SELECTION_BOTTOM_LEFT="bottom-left-radius",Vi.SELECTION_TOP_RIGHT="top-right-radius",Vi.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Vi.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Vi.ROUNDED_PIECE_WIDTH=10,(0,ct.Ic)(((e,t)=>{const n=e.getColor(V.hEj);n&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${n}; }`);const i=e.getColor(V.ES4);i&&t.addRule(`.monaco-editor .selected-text { background-color: ${i}; }`);const o=e.getColor(V.yb5);o&&!o.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${o}; }`)}));var Hi=n(8236);l()(Hi.Z,{insert:"head",singleton:!1}),Hi.Z.locals;class Ui{constructor(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r}}class Qi{constructor(e){this._context=e;const t=this._context.configuration.options,n=t.get(44);this._cursorStyle=t.get(24),this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(27),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=(0,P.X)(document.createElement("div")),this._domNode.setClassName(`cursor ${pt.S}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),(0,rt.N)(this._domNode,n),this._domNode.setDisplay("none"),this._position=new xe.L(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(44);return this._cursorStyle=t.get(24),this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(27),this._typicalHalfwidthCharacterWidth),(0,rt.N)(this._domNode,n),!0}onCursorPositionChanged(e){return this._position=e,!0}_getGraphemeAwarePosition(){const{lineNumber:e,column:t}=this._position,n=this._context.viewModel.getLineContent(e),[i,o]=Ke.J_(n,t-1);return[new xe.L(e,i+1),n.substring(i,o)]}_prepareRender(e){let t="";const[n,i]=this._getGraphemeAwarePosition();if(this._cursorStyle===x.d2.Line||this._cursorStyle===x.d2.LineThin){const o=e.visibleRangeForPosition(n);if(!o||o.outsideRenderedLine)return null;let r;this._cursorStyle===x.d2.Line?(r=u.Uh(this._lineCursorWidth>0?this._lineCursorWidth:2),r>2&&(t=i)):r=u.Uh(1);let a=o.left;r>=2&&a>=1&&(a-=1);const s=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta;return new Ui(s,a,r,this._lineHeight,t,"")}const o=e.linesVisibleRangesForRange(new Se.e(n.lineNumber,n.column,n.lineNumber,n.column+i.length),!1);if(!o||0===o.length)return null;const r=o[0];if(r.outsideRenderedLine||0===r.ranges.length)return null;const a=r.ranges[0],s=a.width<1?this._typicalHalfwidthCharacterWidth:a.width;let l="";if(this._cursorStyle===x.d2.Block){const e=this._context.viewModel.getViewLineData(n.lineNumber);t=i;const o=e.tokens.findTokenIndexAtOffset(n.column-1);l=e.tokens.getClassName(o)}let c=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta,d=this._lineHeight;return this._cursorStyle!==x.d2.Underline&&this._cursorStyle!==x.d2.UnderlineThin||(c+=this._lineHeight-2,d=2),new Ui(c,a.left,s,d,t,l)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${pt.S} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class Gi extends ne{constructor(e){super(e);const t=this._context.configuration.options;this._readOnly=t.get(81),this._cursorBlinking=t.get(22),this._cursorStyle=t.get(24),this._cursorSmoothCaretAnimation=t.get(23),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new Qi(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=(0,P.X)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new j._F,this._cursorFlatBlinkInterval=new j.zh,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onCompositionStart(e){return this._isComposingInput=!0,this._updateBlinking(),!0}onCompositionEnd(e){return this._isComposingInput=!1,this._updateBlinking(),!0}onConfigurationChanged(e){const t=this._context.configuration.options;this._readOnly=t.get(81),this._cursorBlinking=t.get(22),this._cursorStyle=t.get(24),this._cursorSmoothCaretAnimation=t.get(23),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].onConfigurationChanged(e);return!0}_onCursorPositionChanged(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length){const e=t.length-this._secondaryCursors.length;for(let t=0;t<e;t++){const e=new Qi(this._context);this._domNode.domNode.insertBefore(e.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(e)}}else if(this._secondaryCursors.length>t.length){const e=this._secondaryCursors.length-t.length;for(let t=0;t<e;t++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let e=0;e<t.length;e++)this._secondaryCursors[e].onCursorPositionChanged(t[e])}onCursorStateChanged(e){const t=[];for(let n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));const n=e.selections[0].isEmpty();return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,this._updateDomClassName()),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onFocusChanged(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onTokensChanged(e){const t=t=>{for(let n=0,i=e.ranges.length;n<i;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(const e of this._secondaryCursors)if(t(e.getPosition()))return!0;return!1}onZonesChanged(e){return!0}_getCursorBlinking(){return this._isComposingInput?0:this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();const e=this._getCursorBlinking(),t=0===e,n=5===e;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),t||n||(1===e?this._cursorFlatBlinkInterval.cancelAndSet((()=>{this._isVisible?this._hide():this._show()}),Gi.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet((()=>{this._blinkingEnabled=!0,this._updateDomClassName()}),Gi.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case x.d2.Line:e+=" cursor-line-style";break;case x.d2.Block:e+=" cursor-block-style";break;case x.d2.Underline:e+=" cursor-underline-style";break;case x.d2.LineThin:e+=" cursor-line-thin-style";break;case x.d2.BlockOutline:e+=" cursor-block-outline-style";break;case x.d2.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1}prepareRender(e){this._primaryCursor.prepareRender(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)}render(e){const t=[];let n=0;const i=this._primaryCursor.render(e);i&&(t[n++]=i);for(let i=0,o=this._secondaryCursors.length;i<o;i++){const o=this._secondaryCursors[i].render(e);o&&(t[n++]=o)}this._renderData=t}getLastRenderData(){return this._renderData}}Gi.BLINK_INTERVAL=500,(0,ct.Ic)(((e,t)=>{const n=e.getColor(lt.n0);if(n){let i=e.getColor(lt.fY);i||(i=n.opposite()),t.addRule(`.monaco-editor .inputarea.ime-input { caret-color: ${n}; }`),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${i}; }`),"hc"===e.type&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i}; border-right: 1px solid ${i}; }`)}}));const Ki=()=>{throw new Error("Invalid change accessor")};class Yi extends ne{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(131);this._lineHeight=t.get(59),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,this.domNode=(0,P.X)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=(0,P.X)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const e=this._context.viewLayout.getWhitespaces(),t=new Map;for(const n of e)t.set(n.id,n);let n=!1;return this._context.viewModel.changeWhitespace((e=>{const i=Object.keys(this._zones);for(let o=0,r=i.length;o<r;o++){const r=i[o],a=this._zones[r],s=this._computeWhitespaceProps(a.delegate);a.isInHiddenArea=s.isInHiddenArea;const l=t.get(r);!l||l.afterLineNumber===s.afterViewLineNumber&&l.height===s.heightInPx||(e.changeOneWhitespace(r,s.afterViewLineNumber,s.heightInPx),this._safeCallOnComputedHeight(a.delegate,s.heightInPx),n=!0)}})),n}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._lineHeight=t.get(59),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(59)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(e){return this._recomputeWhitespacesProps()}onLinesDeleted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}onLinesInserted(e){return!0}_getZoneOrdinal(e){return void 0!==e.afterColumn?e.afterColumn:1e4}_computeWhitespaceProps(e){if(0===e.afterLineNumber)return{isInHiddenArea:!1,afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};let t,n;if(void 0!==e.afterColumn)t=this._context.viewModel.model.validatePosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{const n=this._context.viewModel.model.validatePosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new xe.L(n,this._context.viewModel.model.getLineMaxColumn(n))}n=t.column===this._context.viewModel.model.getLineMaxColumn(t.lineNumber)?this._context.viewModel.model.validatePosition({lineNumber:t.lineNumber+1,column:1}):this._context.viewModel.model.validatePosition({lineNumber:t.lineNumber,column:t.column+1});const i=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t,e.afterColumnAffinity),o=this._context.viewModel.coordinatesConverter.modelPositionIsVisible(n);return{isInHiddenArea:!o,afterViewLineNumber:i.lineNumber,heightInPx:o?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}}changeViewZones(e){let t=!1;return this._context.viewModel.changeWhitespace((n=>{const i={addZone:e=>(t=!0,this._addZone(n,e)),removeZone:e=>{e&&(t=this._removeZone(n,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(n,e)||t)}};!function(e,t){try{e(t)}catch(e){(0,h.dL)(e)}}(e,i),i.addZone=Ki,i.removeZone=Ki,i.layoutZone=Ki})),t}_addZone(e,t){const n=this._computeWhitespaceProps(t),i={whitespaceId:e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),delegate:t,isInHiddenArea:n.isInHiddenArea,isVisible:!1,domNode:(0,P.X)(t.domNode),marginDomNode:t.marginDomNode?(0,P.X)(t.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,n.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId]=i,this.setShouldRender(),i.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return n.isInHiddenArea=i.isInHiddenArea,e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){const t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){(0,h.dL)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){(0,h.dL)(e)}}prepareRender(e){}render(e){const t=e.viewportData.whitespaceViewportData,n={};let i=!1;for(const e of t)this._zones[e.id].isInHiddenArea||(n[e.id]=e,i=!0);const o=Object.keys(this._zones);for(let t=0,i=o.length;t<i;t++){const i=o[t],r=this._zones[i];let a=0,s=0,l="none";n.hasOwnProperty(i)?(a=n[i].verticalOffset-e.bigNumbersDelta,s=n[i].height,l="block",r.isVisible||(r.domNode.setAttribute("monaco-visible-view-zone","true"),r.isVisible=!0),this._safeCallOnDomNodeTop(r.delegate,e.getScrolledTopFromAbsoluteTop(n[i].verticalOffset))):(r.isVisible&&(r.domNode.removeAttribute("monaco-visible-view-zone"),r.isVisible=!1),this._safeCallOnDomNodeTop(r.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),r.domNode.setTop(a),r.domNode.setHeight(s),r.domNode.setDisplay(l),r.marginDomNode&&(r.marginDomNode.setTop(a),r.marginDomNode.setHeight(s),r.marginDomNode.setDisplay(l))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}class $i{constructor(e){this._theme=e}get type(){return this._theme.type}get value(){return this._theme}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class Ji{constructor(e,t,n){this.configuration=e,this.theme=new $i(t),this.viewModel=n,this.viewLayout=n.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}class qi{constructor(e,t,n,i){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new Se.e(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class Zi extends te{constructor(e,t,n,i,o,r){super(),this._selections=[new O.Y(1,1,1,1)],this._renderAnimationFrame=null;const a=new vn(t,i,o,e);this._context=new Ji(t,n,i),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=new bt(this._context,a,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=(0,P.X)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=(0,P.X)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=(0,P.X)(document.createElement("div")),ie.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new jn(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new Xn(this._context,this._linesContent),this._viewZones=new Yi(this._context),this._viewParts.push(this._viewZones);const s=new Di(this._context);this._viewParts.push(s);const l=new Oi(this._context);this._viewParts.push(l);const c=new En(this._context);this._viewParts.push(c),c.addDynamicOverlay(new Bn(this._context)),c.addDynamicOverlay(new Vi(this._context)),c.addDynamicOverlay(new Kn(this._context)),c.addDynamicOverlay(new Fn(this._context));const d=new kn(this._context);this._viewParts.push(d),d.addDynamicOverlay(new On(this._context)),d.addDynamicOverlay(new Hn(this._context)),d.addDynamicOverlay(new ii(this._context)),d.addDynamicOverlay(new ti(this._context)),d.addDynamicOverlay(new dt(this._context));const u=new ut(this._context);u.getDomNode().appendChild(this._viewZones.marginDomNode),u.getDomNode().appendChild(d.getDomNode()),this._viewParts.push(u),this._contentWidgets=new Dn(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new Gi(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new ki(this._context),this._viewParts.push(this._overlayWidgets);const h=new Li(this._context);this._viewParts.push(h);const p=new Ci(this._context);if(this._viewParts.push(p),s){const e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(s.getDomNode(),e.insertBefore)}this._linesContent.appendChild(c.getDomNode()),this._linesContent.appendChild(h.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(u.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(l.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(p.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),r?r.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new it(this._context,a,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{const e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new Ne(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new xe.L(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPosition:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(e))}}_applyLayout(){const e=this._context.configuration.options.get(131);this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this._overflowGuardContainer.setWidth(e.width),this._overflowGuardContainer.setHeight(e.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(128)+" "+(0,ct.m6)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this._context.theme.update(e.theme),this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const e of this._viewParts)e.dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=u.lI(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){!function(e){try{e()}catch(e){(0,h.dL)(e)}}((()=>this._actualRender()))}_getViewPartsToRender(){const e=[];let t=0;for(const n of this._viewParts)n.shouldRender()&&(e[t++]=n);return e}_actualRender(){if(!u.Uw(this.domNode.domNode))return;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return;const t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);const n=new qi(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(n),this._viewLines.shouldRender()&&(this._viewLines.renderText(n),this._viewLines.onDidRender(),e=this._getViewPartsToRender());const i=new oe(this._context.viewLayout,n,this._viewLines);for(const t of e)t.prepareRender(i);for(const t of e)t.render(i),t.onDidRender()}delegateVerticalScrollbarMouseDown(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop},1),this._context.viewModel.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},1)}getOffsetForColumn(e,t){const n=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),i=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();const o=this._viewLines.visibleRangeForPosition(new xe.L(i.lineNumber,i.column));return o?o.left:-1}getTargetAtClientPoint(e,t){const n=this._pointerHandler.getTargetAtClientPoint(e,t);return n?bn.convertViewToModelMouseTarget(n,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new Ii(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t){this._viewLines.forceShouldRender();for(const e of this._viewParts)e.forceShouldRender()}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){let t=e.position&&e.position.range||null;if(null===t){const n=e.position?e.position.position:null;null!==n&&(t=new Se.e(n.lineNumber,n.column,n.lineNumber,n.column))}const n=e.position?e.position.preference:null;this._contentWidgets.setWidgetPosition(e.widget,t,n),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){const t=e.position?e.position.preference:null;this._overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}}class Xi{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new Nt(new Se.e(1,1,1,1),0,new xe.L(1,1),0),new Nt(new Se.e(1,1,1,1),0,new xe.L(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new kt(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return O.Y.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,n){this._setState(e,t,n)}static _validatePositionWithCache(e,t,n,i){return t.equals(n)?i:e.normalizePosition(t,2)}static _validateViewState(e,t){const n=t.position,i=t.selectionStart.getStartPosition(),o=t.selectionStart.getEndPosition(),r=e.normalizePosition(n,2),a=this._validatePositionWithCache(e,i,n,r),s=this._validatePositionWithCache(e,o,i,a);return n.equals(r)&&i.equals(a)&&o.equals(s)?t:new Nt(Se.e.fromPositions(a,s),t.selectionStartLeftoverVisibleColumns+i.column-a.column,r,t.leftoverVisibleColumns+n.column-r.column)}_setState(e,t,n){if(n&&(n=Xi._validateViewState(e.viewModel,n)),t){const n=e.model.validateRange(t.selectionStart),i=t.selectionStart.equalsRange(n)?t.selectionStartLeftoverVisibleColumns:0,o=e.model.validatePosition(t.position),r=t.position.equals(o)?t.leftoverVisibleColumns:0;t=new Nt(n,i,o,r)}else{if(!n)return;const i=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)),o=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));t=new Nt(i,n.selectionStartLeftoverVisibleColumns,o,n.leftoverVisibleColumns)}if(n){const i=e.coordinatesConverter.validateViewRange(n.selectionStart,t.selectionStart),o=e.coordinatesConverter.validateViewPosition(n.position,t.position);n=new Nt(i,t.selectionStartLeftoverVisibleColumns,o,t.leftoverVisibleColumns)}else{const i=e.coordinatesConverter.convertModelPositionToViewPosition(new xe.L(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),o=e.coordinatesConverter.convertModelPositionToViewPosition(new xe.L(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),r=new Se.e(i.lineNumber,i.column,o.lineNumber,o.column),a=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);n=new Nt(r,t.selectionStartLeftoverVisibleColumns,a,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)}}class eo{constructor(e){this.context=e,this.cursors=[new Xi(e)],this.lastAddedCursorIndex=0}dispose(){for(const e of this.cursors)e.dispose(this.context)}startTrackingSelections(){for(const e of this.cursors)e.startTrackingSelection(this.context)}stopTrackingSelections(){for(const e of this.cursors)e.stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){for(const e of this.cursors)e.ensureValidState(this.context)}readSelectionFromMarkers(){return this.cursors.map((e=>e.readSelectionFromMarkers(this.context)))}getAll(){return this.cursors.map((e=>e.asCursorState()))}getViewPositions(){return this.cursors.map((e=>e.viewState.position))}getTopMostViewPosition(){return(0,v.VJ)(this.cursors,(0,v.tT)((e=>e.viewState.position),xe.L.compare)).viewState.position}getBottomMostViewPosition(){return(0,v.jV)(this.cursors,(0,v.tT)((e=>e.viewState.position),xe.L.compare)).viewState.position}getSelections(){return this.cursors.map((e=>e.modelState.selection))}getViewSelections(){return this.cursors.map((e=>e.viewState.selection))}setSelections(e){this.setStates(kt.fromModelSelections(e))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(e){null!==e&&(this.cursors[0].setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){const t=this.cursors.length-1,n=e.length;if(t<n){const e=n-t;for(let t=0;t<e;t++)this._addSecondaryCursor()}else if(t>n){const e=t-n;for(let t=0;t<e;t++)this._removeSecondaryCursor(this.cursors.length-2)}for(let t=0;t<n;t++)this.cursors[t+1].setState(this.context,e[t].modelState,e[t].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.cursors.push(new Xi(this.context)),this.lastAddedCursorIndex=this.cursors.length-1}getLastAddedCursorIndex(){return 1===this.cursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex}_removeSecondaryCursor(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.cursors[e+1].dispose(this.context),this.cursors.splice(e+1,1)}normalize(){if(1===this.cursors.length)return;const e=this.cursors.slice(0),t=[];for(let n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((0,v.tT)((e=>e.selection),Se.e.compareRangesUsingStarts));for(let n=0;n<t.length-1;n++){const i=t[n],o=t[n+1],r=i.selection,a=o.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let s;if(s=a.isEmpty()||r.isEmpty()?a.getStartPosition().isBeforeOrEqual(r.getEndPosition()):a.getStartPosition().isBefore(r.getEndPosition()),s){const r=i.index<o.index?n:n+1,a=i.index<o.index?n+1:n,s=t[a].index,l=t[r].index,c=t[a].selection,d=t[r].selection;if(!c.equalsSelection(d)){const n=c.plusRange(d),i=c.selectionStartLineNumber===c.startLineNumber&&c.selectionStartColumn===c.startColumn,o=d.selectionStartLineNumber===d.startLineNumber&&d.selectionStartColumn===d.startColumn;let a,u;s===this.lastAddedCursorIndex?(a=i,this.lastAddedCursorIndex=l):a=o,u=a?new O.Y(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new O.Y(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn),t[r].selection=u;const h=kt.fromModelSelection(u);e[l].setState(this.context,h.modelState,h.viewState)}for(const e of t)e.index>s&&e.index--;e.splice(s,1),t.splice(a,1),this._removeSecondaryCursor(s-1),n--}}}}class to{constructor(e,t,n,i){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=n,this.cursorConfig=i}}var no=n(1205);class io{constructor(){this.type=0}}class oo{constructor(){this.type=1}}class ro{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class ao{constructor(e,t){this.type=3,this.selections=e,this.modelSelections=t}}class so{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class lo{constructor(){this.type=5}}class co{constructor(e){this.type=6,this.isFocused=e}}class uo{constructor(){this.type=7}}class ho{constructor(){this.type=8}}class po{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class fo{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class go{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class mo{constructor(e,t,n,i,o,r,a){this.source=e,this.minimalReveal=t,this.range=n,this.selections=i,this.verticalType=o,this.revealHorizontal=r,this.scrollType=a,this.type=12}}class vo{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class bo{constructor(e){this.theme=e,this.type=14}}class _o{constructor(e){this.type=15,this.ranges=e}}class yo{constructor(){this.type=16}}class Ao{constructor(){this.type=17}}class wo extends f.JT{constructor(){super(),this._onEvent=this._register(new p.Q5),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,n=this._outgoingEvents.length;t<n;t++)if(this._outgoingEvents[t].kind===e.kind)return void(this._outgoingEvents[t]=this._outgoingEvents[t].merge(e));this._outgoingEvents.push(e)}_emitOutgoingEvents(){for(;this._outgoingEvents.length>0;){if(this._collector||this._isConsumingViewEventQueue)return;const e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)}removeViewEventHandler(e){for(let t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}}beginEmitViewEvents(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new Co),this._collector}endEmitViewEvents(){if(this._collectorCnt--,0===this._collectorCnt){const e=this._collector.outgoingEvents,t=this._collector.viewEvents;this._collector=null;for(const t of e)this._addOutgoingEvent(t);t.length>0&&this._emitMany(t)}this._emitOutgoingEvents()}emitSingleViewEvent(e){try{this.beginEmitViewEvents().emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){for(;this._viewEventQueue;){const e=this._viewEventQueue;this._viewEventQueue=null;const t=this._eventHandlers.slice(0);for(const n of t)n.handleEvents(e)}}}class Co{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class xo{constructor(e,t,n,i){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=n,this.contentHeight=i,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(e){return 0!==e.kind?this:new xo(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class So{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(e){return 1!==e.kind?this:new So(this.oldHasFocus,e.hasFocus)}}class Eo{constructor(e,t,n,i,o,r,a,s){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=n,this._oldScrollTop=i,this.scrollWidth=o,this.scrollLeft=r,this.scrollHeight=a,this.scrollTop=s,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!(this.scrollWidthChanged||this.scrollLeftChanged||this.scrollHeightChanged||this.scrollTopChanged)}merge(e){return 2!==e.kind?this:new Eo(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class ko{constructor(){this.kind=3}isNoOp(){return!1}merge(e){return this}}class Mo{constructor(e,t,n,i,o,r,a){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=n,this.modelVersionId=i,this.source=o,this.reason=r,this.reachedMaxCursorCount=a}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(!e[i].equalsSelection(t[i]))return!1;return!0}isNoOp(){return Mo._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(e){return 6!==e.kind?this:new Mo(this.oldSelections,e.selections,this.oldModelVersionId,e.modelVersionId,e.source,e.reason,this.reachedMaxCursorCount||e.reachedMaxCursorCount)}}class Do{constructor(){this.kind=5}isNoOp(){return!1}merge(e){return this}}class No extends f.JT{constructor(e,t,n,i){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=n,this.context=new to(this._model,this._viewModel,this._coordinatesConverter,i),this._cursors=new eo(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=(0,f.B9)(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new to(this._model,this._viewModel,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){const e=this._cursors.getSelections();for(let t=0;t<this._autoClosedActions.length;t++){const n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(e,t,n,i){let o=!1;null!==i&&i.length>No.MAX_CURSOR_COUNT&&(i=i.slice(0,No.MAX_CURSOR_COUNT),o=!0);const r=Io.from(this._model,this);return this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,n,r,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,n,i,o,r){const a=this._cursors.getViewPositions();let s=null,l=null;a.length>1?l=this._cursors.getViewSelections():s=Se.e.fromPositions(a[0],a[0]),e.emitViewEvent(new mo(t,n,s,l,i,o,r))}saveState(){const e=[],t=this._cursors.getSelections();for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push({inSelectionMode:!i.isEmpty(),selectionStart:{lineNumber:i.selectionStartLineNumber,column:i.selectionStartColumn},position:{lineNumber:i.positionLineNumber,column:i.positionColumn}})}return e}restoreState(e,t){const n=[];for(let e=0,i=t.length;e<i;e++){const i=t[e];let o=1,r=1;i.position&&i.position.lineNumber&&(o=i.position.lineNumber),i.position&&i.position.column&&(r=i.position.column);let a=o,s=r;i.selectionStart&&i.selectionStart.lineNumber&&(a=i.selectionStart.lineNumber),i.selectionStart&&i.selectionStart.column&&(s=i.selectionStart.column),n.push({selectionStartLineNumber:a,selectionStartColumn:s,positionLineNumber:o,positionColumn:r})}this.setStates(e,"restoreState",0,kt.fromModelSelections(n)),this.revealPrimary(e,"restoreState",!1,0,!0,1)}onModelContentChanged(e,t){if(t instanceof no.D8){if(this._isHandling)return;this._isHandling=!0;try{this.setStates(e,"modelChange",0,this.getCursorStates())}finally{this._isHandling=!1}}else{if(this._knownModelVersionId=t.versionId,this._isHandling)return;const n=t.containsEvent(1);if(this._prevEditOperationType=0,n)this._cursors.dispose(),this._cursors=new eo(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,"model",1,null,!1);else if(this._hasFocus&&t.resultingSelection&&t.resultingSelection.length>0){const n=kt.fromModelSelections(t.resultingSelection);this.setStates(e,"modelChange",t.isUndoing?5:t.isRedoing?6:2,n)&&this.revealPrimary(e,"modelChange",!1,0,!0,0)}else{const t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,kt.fromModelSelections(t))}}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),n=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:n.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,n)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,n,i){this.setStates(e,t,i,kt.fromModelSelections(n))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){const n=[],i=[];for(let o=0,r=e.length;o<r;o++)n.push({range:e[o],options:{description:"auto-closed-character",inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[o],options:{description:"auto-closed-enclosing",stickiness:1}});const o=this._model.deltaDecorations([],n),r=this._model.deltaDecorations([],i);this._autoClosedActions.push(new To(this._model,o,r))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=class{static executeCommands(e,t,n){const i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(i,n);for(let e=0,t=i.trackedRanges.length;e<t;e++)i.model._setTrackedRange(i.trackedRanges[e],null,0);return o}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const n=this._getEditOperations(e,t);if(0===n.operations.length)return null;const i=n.operations,o=this._getLoserCursorMap(i);if(o.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;const r=[];for(let e=0,t=i.length;e<t;e++)o.hasOwnProperty(i[e].identifier.major.toString())||r.push(i[e]);n.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);let a=e.model.pushEditOperations(e.selectionsBefore,r,(n=>{const i=[];for(let t=0;t<e.selectionsBefore.length;t++)i[t]=[];for(const e of n)e.identifier&&i[e.identifier.major].push(e);const o=(e,t)=>e.identifier.minor-t.identifier.minor,r=[];for(let n=0;n<e.selectionsBefore.length;n++)i[n].length>0?(i[n].sort(o),r[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:()=>i[n],getTrackedSelection:t=>{const n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new O.Y(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new O.Y(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):r[n]=e.selectionsBefore[n];return r}));a||(a=e.selectionsBefore);const s=[];for(let e in o)o.hasOwnProperty(e)&&s.push(parseInt(e,10));s.sort(((e,t)=>t-e));for(const e of s)a.splice(e,1);return a}static _arrayIsEmpty(e){for(let t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let n=[],i=!1;for(let o=0,r=t.length;o<r;o++){const r=t[o];if(r){const t=this._getEditOperationsFromCommand(e,o,r);n=n.concat(t.operations),i=i||t.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}}static _getEditOperationsFromCommand(e,t,n){const i=[];let o=0;const r=(e,r,a=!1)=>{Se.e.isEmpty(e)&&""===r||i.push({identifier:{major:t,minor:o++},range:e,text:r,forceMoveMarkers:a,isAutoWhitespaceEdit:n.insertsAutoWhitespace})};let a=!1;const s={addEditOperation:r,addTrackedEditOperation:(e,t,n)=>{a=!0,r(e,t,n)},trackSelection:(t,n)=>{const i=O.Y.liftSelection(t);let o;if(i.isEmpty())if("boolean"==typeof n)o=n?2:3;else{const t=e.model.getLineMaxColumn(i.startLineNumber);o=i.startColumn===t?2:3}else o=1;const r=e.trackedRanges.length,a=e.model._setTrackedRange(null,i,o);return e.trackedRanges[r]=a,e.trackedRangesDirection[r]=i.getDirection(),r.toString()}};try{n.getEditOperations(e.model,s)}catch(e){return(0,h.dL)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:a}}static _getLoserCursorMap(e){(e=e.slice(0)).sort(((e,t)=>-Se.e.compareRangesUsingEnds(e.range,t.range)));const t={};for(let n=1;n<e.length;n++){const i=e[n-1],o=e[n];if(Se.e.getStartPosition(i.range).isBefore(Se.e.getEndPosition(o.range))){let r;r=i.identifier.major>o.identifier.major?i.identifier.major:o.identifier.major,t[r.toString()]=!0;for(let t=0;t<e.length;t++)e[t].identifier.major===r&&(e.splice(t,1),t<n&&n--,t--);n>0&&n--}}return t}}.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);const n=[],i=[];for(let t=0;t<e.commands.length;t++){const o=e.commands[t];o instanceof qt&&o.enclosingRange&&o.closeCharacterRange&&(n.push(o.closeCharacterRange),i.push(o.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,n,i,o){const r=Io.from(this._model,this);if(r.equals(i))return!1;const a=this._cursors.getSelections(),s=this._cursors.getViewSelections();if(e.emitViewEvent(new ao(s,a)),!i||i.cursorState.length!==r.cursorState.length||r.cursorState.some(((e,t)=>!e.modelState.equals(i.cursorState[t].modelState)))){const s=i?i.cursorState.map((e=>e.modelState.selection)):null,l=i?i.modelVersionId:0;e.emitOutgoingEvent(new Mo(s,a,l,r.modelVersionId,t||"keyboard",n,o))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.text||i.text.indexOf("\n")>=0)return null;const o=i.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!o)return null;const r=o[1],a=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(r);if(!a||1!==a.length)return null;const s=a[0].open,l=i.text.length-o[2].length-1,c=i.text.lastIndexOf(s,l-1);if(-1===c)return null;t.push([c,l])}return t}executeEdits(e,t,n,i){let o=null;"snippet"===t&&(o=this._findAutoClosingPairs(n)),o&&(n[0]._isTracked=!0);const r=[],a=[],s=this._model.pushEditOperations(this.getSelections(),n,(e=>{if(o)for(let t=0,n=o.length;t<n;t++){const[n,i]=o[t],s=e[t],l=s.range.startLineNumber,c=s.range.startColumn-1+n,d=s.range.startColumn-1+i;r.push(new Se.e(l,d+1,l,d+2)),a.push(new Se.e(l,c+1,l,d+2))}const t=i(e);return t&&(this._isHandling=!0),t}));s&&(this._isHandling=!1,this.setSelections(e,t,s,0)),r.length>0&&this._pushAutoClosedAction(r,a)}_executeEdit(e,t,n,i=0){if(this.context.cursorConfig.readOnly)return;const o=Io.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(e){(0,h.dL)(e)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,n,i,o,!1)&&this.revealPrimary(t,n,!1,0,!0,0)}setIsDoingComposition(e){this._isDoingComposition=e}getAutoClosedCharacters(){return To.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(e,t){this._executeEdit((()=>{"keyboard"===t&&(this._executeEditOperation(Jt.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),this.getAutoClosedCharacters())),this._selectionsWhenCompositionStarted=null)}),e,t)}type(e,t,n){this._executeEdit((()=>{if("keyboard"===n){const e=t.length;let n=0;for(;n<e;){const e=Ke.vH(t,n),i=t.substr(n,e);this._executeEditOperation(Jt.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),this.getAutoClosedCharacters(),i)),n+=e}}else this._executeEditOperation(Jt.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))}),e,n)}compositionType(e,t,n,i,o,r){if(0!==t.length||0!==n||0!==i)this._executeEdit((()=>{this._executeEditOperation(Jt.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,n,i,o))}),e,r);else if(0!==o){const t=this.getSelections().map((e=>{const t=e.getPosition();return new O.Y(t.lineNumber,t.column+o,t.lineNumber,t.column+o)}));this.setSelections(e,r,t,0)}}paste(e,t,n,i,o){this._executeEdit((()=>{this._executeEditOperation(Jt.paste(this.context.cursorConfig,this._model,this.getSelections(),t,n,i||[]))}),e,o,4)}cut(e,t){this._executeEdit((()=>{this._executeEditOperation(zt.cut(this.context.cursorConfig,this._model,this.getSelections()))}),e,t)}executeCommand(e,t,n){this._executeEdit((()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new It(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))}),e,n)}executeCommands(e,t,n){this._executeEdit((()=>{this._executeEditOperation(new It(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))}),e,n)}}No.MAX_CURSOR_COUNT=1e4;class Io{constructor(e,t){this.modelVersionId=e,this.cursorState=t}static from(e,t){return new Io(e.getVersionId(),t.getCursorStates())}equals(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class To{constructor(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}static getAllAutoClosedCharacters(e){let t=[];for(const n of e)t=t.concat(n.getAutoClosedCharactersRanges());return t}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){const e=[];for(let t=0;t<this._autoClosedCharactersDecorations.length;t++){const n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e}isValid(e){const t=[];for(let e=0;e<this._autoClosedEnclosingDecorations.length;e++){const n=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[e]);if(n&&(t.push(n),n.startLineNumber!==n.endLineNumber))return!1}t.sort(Se.e.compareRangesUsingStarts),e.sort(Se.e.compareRangesUsingStarts);for(let n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}var Lo=n(6171),Bo=n(353),Oo=n(1244),Po=n(6573),Fo=n(6783);class Ro{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(e){this._hasPending=!0,this._inserts.push(e)}change(e){this._hasPending=!0,this._changes.push(e)}remove(e){this._hasPending=!0,this._removes.push(e)}mustCommit(){return this._hasPending}commit(e){if(!this._hasPending)return;const t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}}class jo{constructor(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0}}class zo{constructor(e,t,n,i){this._instanceId=Ke.PJ(++zo.INSTANCE_COUNT),this._pendingChanges=new Ro,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=e,this._lineHeight=t,this._paddingTop=n,this._paddingBottom=i}static findInsertionIndex(e,t,n){let i=0,o=e.length;for(;i<o;){const r=i+o>>>1;t===e[r].afterLineNumber?n<e[r].ordinal?o=r:i=r+1:t<e[r].afterLineNumber?o=r:i=r+1}return i}setLineHeight(e){this._checkPendingChanges(),this._lineHeight=e}setPadding(e,t){this._paddingTop=e,this._paddingBottom=t}onFlushed(e){this._checkPendingChanges(),this._lineCount=e}changeWhitespace(e){let t=!1;try{e({insertWhitespace:(e,n,i,o)=>{t=!0,e|=0,n|=0,i|=0,o|=0;const r=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new jo(r,e,n,i,o)),r},changeOneWhitespace:(e,n,i)=>{t=!0,n|=0,i|=0,this._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:i})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(const t of e)this._insertWhitespace(t);for(const e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(const e of n){const t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}const i=new Set;for(const e of n)i.add(e.id);const o=new Map;for(const e of t)o.set(e.id,e);const r=e=>{const t=[];for(const n of e)if(!i.has(n.id)){if(o.has(n.id)){const e=o.get(n.id);n.afterLineNumber=e.newAfterLineNumber,n.height=e.newHeight}t.push(n)}return t},a=r(this._arr).concat(r(e));a.sort(((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber)),this._arr=a,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){const t=zo.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){const t=this._arr;for(let n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1}_changeOneWhitespace(e,t,n){const i=this._findWhitespaceIndex(e);if(-1!==i&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){const e=this._arr[i];this._removeWhitespace(i),e.afterLineNumber=t,this._insertWhitespace(e)}}_removeWhitespace(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)}onLinesDeleted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){const i=this._arr[n].afterLineNumber;e<=i&&i<=t?this._arr[n].afterLineNumber=e-1:i>t&&(this._arr[n].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let n=0,i=this._arr.length;n<i;n++)e<=this._arr[n].afterLineNumber&&(this._arr[n].afterLineNumber+=t-e+1)}getWhitespacesTotalHeight(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(e){this._checkPendingChanges(),e|=0;let t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(let n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum}getLinesTotalHeight(){return this._checkPendingChanges(),this._lineHeight*this._lineCount+this.getWhitespacesTotalHeight()+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(e){this._checkPendingChanges(),e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)}_findLastWhitespaceBeforeLineNumber(e){e|=0;const t=this._arr;let n=0,i=t.length-1;for(;n<=i;){const o=n+((i-n|0)/2|0)|0;if(t[o].afterLineNumber<e){if(o+1>=t.length||t[o+1].afterLineNumber>=e)return o;n=o+1|0}else i=o-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t<this._arr.length?t:-1}getFirstWhitespaceIndexAfterLineNumber(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)}getVerticalOffsetForLineNumber(e){let t;return this._checkPendingChanges(),t=(e|=0)>1?this._lineHeight*(e-1):0,t+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth}isAfterLines(e){return this._checkPendingChanges(),e>this.getLinesTotalHeight()}isInTopPadding(e){return 0!==this._paddingTop&&(this._checkPendingChanges(),e<this._paddingTop)}isInBottomPadding(e){return 0!==this._paddingBottom&&(this._checkPendingChanges(),e>=this.getLinesTotalHeight()-this._paddingBottom)}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;const t=0|this._lineCount,n=this._lineHeight;let i=1,o=t;for(;i<o;){const t=(i+o)/2|0,r=0|this.getVerticalOffsetForLineNumber(t);if(e>=r+n)i=t+1;else{if(e>=r)return t;o=t}}return i>t?t:i}getLinesViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this._lineHeight,i=0|this.getLineNumberAtOrAfterVerticalOffset(e),o=0|this.getVerticalOffsetForLineNumber(i);let r=0|this._lineCount,a=0|this.getFirstWhitespaceIndexAfterLineNumber(i);const s=0|this.getWhitespacesCount();let l,c;-1===a?(a=s,c=r+1,l=0):(c=0|this.getAfterLineNumberForWhitespaceIndex(a),l=0|this.getHeightForWhitespaceIndex(a));let d=o,u=d;const h=5e5;let p=0;o>=h&&(p=Math.floor(o/h)*h,p=Math.floor(p/n)*n,u-=p);const f=[],g=e+(t-e)/2;let m=-1;for(let e=i;e<=r;e++){if(-1===m){const t=d,i=d+n;(t<=g&&g<i||t>g)&&(m=e)}for(d+=n,f[e-i]=u,u+=n;c===e;)u+=l,d+=l,a++,a>=s?c=r+1:(c=0|this.getAfterLineNumberForWhitespaceIndex(a),l=0|this.getHeightForWhitespaceIndex(a));if(d>=t){r=e;break}}-1===m&&(m=r);const v=0|this.getVerticalOffsetForLineNumber(r);let b=i,_=r;return b<_&&o<e&&b++,b<_&&v+n>t&&_--,{bigNumbersDelta:p,startLineNumber:i,endLineNumber:r,relativeVerticalOffset:f,centeredLineNumber:m,completelyVisibleStartLineNumber:b,completelyVisibleEndLineNumber:_}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;const t=this.getAfterLineNumberForWhitespaceIndex(e);let n,i;return n=t>=1?this._lineHeight*t:0,i=e>0?this.getWhitespacesAccumulatedHeight(e-1):0,n+i+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t<n;){const i=Math.floor((t+n)/2),o=this.getVerticalOffsetForWhitespaceIndex(i);if(e>=o+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=o)return i;n=i}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;const t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;const n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;const i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];const o=[];for(let e=n;e<=i;e++){const n=this.getVerticalOffsetForWhitespaceIndex(e),i=this.getHeightForWhitespaceIndex(e);if(n>=t)break;o.push({id:this.getIdForWhitespaceIndex(e),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(e),verticalOffset:n,height:i})}return o}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}zo.INSTANCE_COUNT=0;class Vo{constructor(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class Wo extends f.JT{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new p.Q5),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new Vo(0,0,0,0),this._scrollable=this._register(new Fo.Rm({forceIntegerValues:!0,smoothScrollDuration:e,scheduleAtNextAnimationFrame:t})),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;const t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);const n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire(new xo(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class Ho extends f.JT{constructor(e,t,n){super(),this._configuration=e;const i=this._configuration.options,o=i.get(131),r=i.get(75);this._linesLayout=new zo(t,i.get(59),r.top,r.bottom),this._scrollable=this._register(new Wo(0,n)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new Vo(o.contentWidth,0,o.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(103)?125:0)}onConfigurationChanged(e){const t=this._configuration.options;if(e.hasChanged(59)&&this._linesLayout.setLineHeight(t.get(59)),e.hasChanged(75)){const e=t.get(75);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(131)){const e=t.get(131),n=e.contentWidth,i=e.height,o=this._scrollable.getScrollDimensions(),r=o.contentWidth;this._scrollable.setScrollDimensions(new Vo(n,o.contentWidth,i,this._getContentHeight(n,i,r)))}else this._updateHeight();e.hasChanged(103)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const n=this._configuration.options.get(92);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize}_getContentHeight(e,t,n){const i=this._configuration.options;let o=this._linesLayout.getLinesTotalHeight();return i.get(94)?o+=Math.max(0,t-i.get(59)-i.get(75).bottom):o+=this._getHorizontalScrollbarHeight(e,n),o}_updateHeight(){const e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.contentWidth;this._scrollable.setScrollDimensions(new Vo(t,e.contentWidth,n,this._getContentHeight(t,n,i)))}getCurrentViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new si.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new si.l_(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options,n=t.get(132),i=t.get(44);if(n.isViewportWrapping){const n=t.get(131),o=t.get(65);return e>n.contentWidth+i.typicalHalfwidthCharacterWidth&&o.enabled&&"right"===o.side?e+n.verticalScrollbarWidth:e}{const n=t.get(93)*i.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,o)}}setMaxLineWidth(e){const t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Vo(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){const e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}}changeWhitespace(e){const t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){const t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){const n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})}}class Uo{constructor(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){const t=e.id;let n=this._decorationsCache[t];if(!n){const i=e.range,o=e.options;let r;if(o.isWholeLine){const e=this._coordinatesConverter.convertModelPositionToViewPosition(new xe.L(i.startLineNumber,1),0),t=this._coordinatesConverter.convertModelPositionToViewPosition(new xe.L(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)),1);r=new Se.e(e.lineNumber,e.column,t.lineNumber,t.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i,1);n=new si.$l(r,o),this._decorationsCache[t]=n}return n}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}_getDecorationsViewportData(e){const t=this._linesCollection.getDecorationsInRange(e,this.editorId,(0,x.$J)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber,o=[];let r=0;const a=[];for(let e=n;e<=i;e++)a[e-n]=[];for(let e=0,s=t.length;e<s;e++){const s=t[e],l=s.options;if(!Qo(this.model,s))continue;const c=this._getOrCreateViewModelDecoration(s),d=c.range;if(o[r++]=c,l.inlineClassName){const e=new si.$t(d,l.inlineClassName,l.inlineClassNameAffectsLetterSpacing?3:0),t=Math.max(n,d.startLineNumber),o=Math.min(i,d.endLineNumber);for(let i=t;i<=o;i++)a[i-n].push(e)}if(l.beforeContentClassName&&n<=d.startLineNumber&&d.startLineNumber<=i){const e=new si.$t(new Se.e(d.startLineNumber,d.startColumn,d.startLineNumber,d.startColumn),l.beforeContentClassName,1);a[d.startLineNumber-n].push(e)}if(l.afterContentClassName&&n<=d.endLineNumber&&d.endLineNumber<=i){const e=new si.$t(new Se.e(d.endLineNumber,d.endColumn,d.endLineNumber,d.endColumn),l.afterContentClassName,2);a[d.endLineNumber-n].push(e)}}return{decorations:o,inlineDecorations:a}}}function Qo(e,t){return!(t.options.hideInCommentTokens&&function(e,t){return Go(e,t.range,(e=>1===e))}(e,t)||t.options.hideInStringTokens&&function(e,t){return Go(e,t.range,(e=>2===e))}(e,t))}function Go(e,t,n){for(let i=t.startLineNumber;i<=t.endLineNumber;i++){const o=e.getLineTokens(i),r=i===t.startLineNumber,a=i===t.endLineNumber;let s=r?o.findTokenIndexAtOffset(t.startColumn-1):0;for(;s<o.getCount()&&!(a&&o.getStartOffset(s)>t.endColumn-1);){if(!n(o.getStandardTokenType(s)))return!1;s++}}return!0}var Ko=n(4185),Yo=n(9078);function $o(e,t){return null===e?t?qo.INSTANCE:Zo.INSTANCE:new Jo(e,t)}class Jo{constructor(e,t){this._projectionData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getProjectionData(){return this._projectionData}getViewLineCount(){return this._isVisible?this._projectionData.getOutputLineCount():0}getViewLineContent(e,t,n){this._assertVisible();const i=n>0?this._projectionData.breakOffsets[n-1]:0,o=this._projectionData.breakOffsets[n];let r;if(null!==this._projectionData.injectionOffsets){const n=this._projectionData.injectionOffsets.map(((e,t)=>new no.gk(0,0,e+1,this._projectionData.injectionOptions[t],0)));r=no.gk.applyInjectedText(e.getLineContent(t),n).substring(i,o)}else r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});return n>0&&(r=er(this._projectionData.wrappedTextIndentLength)+r),r}getViewLineLength(e,t,n){return this._assertVisible(),this._projectionData.getLineLength(n)}getViewLineMinColumn(e,t,n){return this._assertVisible(),this._projectionData.getMinOutputOffset(n)+1}getViewLineMaxColumn(e,t,n){return this._assertVisible(),this._projectionData.getMaxOutputOffset(n)+1}getViewLineData(e,t,n){const i=new Array;return this.getViewLinesData(e,t,n,1,0,[!0],i),i[0]}getViewLinesData(e,t,n,i,o,r,a){this._assertVisible();const s=this._projectionData,l=s.injectionOffsets,c=s.injectionOptions;let d,u=null;if(l){u=[];let e=0,t=0;for(let n=0;n<s.getOutputLineCount();n++){const i=new Array;u[n]=i;const o=n>0?s.breakOffsets[n-1]:0,r=s.breakOffsets[n];for(;t<l.length;){const a=c[t].content.length,d=l[t]+e,u=d+a;if(d>r)break;if(o<u){const e=c[t];if(e.inlineClassName){const t=n>0?s.wrappedTextIndentLength:0,a=t+Math.max(d-o,0),l=t+Math.min(u-o,r);a!==l&&i.push(new si.Wx(a,l,e.inlineClassName,e.inlineClassNameAffectsLetterSpacing))}}if(!(u<=r))break;e+=a,t++}}}d=l?e.getLineTokens(t).withInserted(l.map(((e,t)=>({offset:e,text:c[t].content,tokenMetadata:Yo.A.defaultTokenMetadata})))):e.getLineTokens(t);for(let e=n;e<n+i;e++){const t=o+e-n;r[t]?a[t]=this._getViewLineData(d,u?u[e]:null,e):a[t]=null}}_getViewLineData(e,t,n){this._assertVisible();const i=this._projectionData,o=n>0?i.wrappedTextIndentLength:0,r=n>0?i.breakOffsets[n-1]:0,a=i.breakOffsets[n],s=e.sliceAndInflate(r,a,o);let l=s.getLineContent();n>0&&(l=er(i.wrappedTextIndentLength)+l);const c=this._projectionData.getMinOutputOffset(n)+1,d=l.length+1,u=n+1<this.getViewLineCount(),h=0===n?0:i.breakOffsetsVisibleColumn[n-1];return new si.IP(l,u,c,d,h,s,t)}getModelColumnOfViewPosition(e,t){return this._assertVisible(),this._projectionData.translateToInputOffset(e,t-1)+1}getViewPositionOfModelPosition(e,t,n=2){return this._assertVisible(),this._projectionData.translateToOutputPosition(t-1,n).toPosition(e)}getViewLineNumberOfModelPosition(e,t){return this._assertVisible(),e+this._projectionData.translateToOutputPosition(t-1).outputLineIndex}normalizePosition(e,t,n){const i=t.lineNumber-e;return this._projectionData.normalizeOutputPosition(e,t.column-1,n).toPosition(i)}getInjectedTextAt(e,t){return this._projectionData.getInjectedText(e,t-1)}_assertVisible(){if(!this._isVisible)throw new Error("Not supported")}}class qo{constructor(){}isVisible(){return!0}setVisible(e){return e?this:Zo.INSTANCE}getProjectionData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,n){return e.getLineContent(t)}getViewLineLength(e,t,n){return e.getLineLength(t)}getViewLineMinColumn(e,t,n){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,n){return e.getLineMaxColumn(t)}getViewLineData(e,t,n){const i=e.getLineTokens(t),o=i.getLineContent();return new si.IP(o,!1,1,o.length+1,0,i.inflate(),null)}getViewLinesData(e,t,n,i,o,r,a){r[o]?a[o]=this.getViewLineData(e,t,0):a[o]=null}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new xe.L(e,t)}getViewLineNumberOfModelPosition(e,t){return e}normalizePosition(e,t,n){return t}getInjectedTextAt(e,t){return null}}qo.INSTANCE=new qo;class Zo{constructor(){}isVisible(){return!1}setVisible(e){return e?qo.INSTANCE:this}getProjectionData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,n){throw new Error("Not supported")}getViewLineLength(e,t,n){throw new Error("Not supported")}getViewLineMinColumn(e,t,n){throw new Error("Not supported")}getViewLineMaxColumn(e,t,n){throw new Error("Not supported")}getViewLineData(e,t,n){throw new Error("Not supported")}getViewLinesData(e,t,n,i,o,r,a){throw new Error("Not supported")}getModelColumnOfViewPosition(e,t){throw new Error("Not supported")}getViewPositionOfModelPosition(e,t){throw new Error("Not supported")}getViewLineNumberOfModelPosition(e,t){throw new Error("Not supported")}normalizePosition(e,t,n){throw new Error("Not supported")}getInjectedTextAt(e,t){throw new Error("Not supported")}}Zo.INSTANCE=new Zo;let Xo=[""];function er(e){if(e>=Xo.length)for(let t=1;t<=e;t++)Xo[t]=tr(t);return Xo[e]}function tr(e){return new Array(e+1).join(" ")}var nr=n(5055);class ir{constructor(e,t,n,i,o,r,a,s,l){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=n,this._monospaceLineBreaksComputerFactory=i,this.fontInfo=o,this.tabSize=r,this.wrappingStrategy=a,this.wrappingColumn=s,this.wrappingIndent=l,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new ar(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const n=this.model.getLinesContent(),i=this.model.getInjectedTextDecorations(this._editorId),o=n.length,r=this.createLineBreaksComputer(),a=new v.H9(no.gk.fromDecorations(i));for(let e=0;e<o;e++){const i=a.takeWhile((t=>t.lineNumber===e+1));r.addRequest(n[e],i,t?t[e]:null)}const s=r.finalize(),l=[],c=this.hiddenAreasDecorationIds.map((e=>this.model.getDecorationRange(e))).sort(Se.e.compareRangesUsingStarts);let d=1,u=0,h=-1,p=h+1<c.length?u+1:o+2;for(let e=0;e<o;e++){const t=e+1;t===p&&(h++,d=c[h].startLineNumber,u=c[h].endLineNumber,p=h+1<c.length?u+1:o+2);const n=t>=d&&t<=u,i=$o(s[e],!n);l[e]=i.getViewLineCount(),this.modelLineProjections[e]=i}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new nr.Ck(l)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map((e=>this.model.getDecorationRange(e)))}setHiddenAreas(e){const t=function(e){if(0===e.length)return[];const t=e.slice();t.sort(Se.e.compareRangesUsingStarts);const n=[];let i=t[0].startLineNumber,o=t[0].endLineNumber;for(let e=1,r=t.length;e<r;e++){const r=t[e];r.startLineNumber>o+1?(n.push(new Se.e(i,1,o,1)),i=r.startLineNumber,o=r.endLineNumber):r.endLineNumber>o&&(o=r.endLineNumber)}return n.push(new Se.e(i,1,o,1)),n}(e.map((e=>this.model.validateRange(e)))),n=this.hiddenAreasDecorationIds.map((e=>this.model.getDecorationRange(e))).sort(Se.e.compareRangesUsingStarts);if(t.length===n.length){let e=!1;for(let i=0;i<t.length;i++)if(!t[i].equalsRange(n[i])){e=!0;break}if(!e)return!1}const i=t.map((e=>({range:e,options:Ko.qx.EMPTY})));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,i);const o=t;let r=1,a=0,s=-1,l=s+1<o.length?a+1:this.modelLineProjections.length+2,c=!1;for(let e=0;e<this.modelLineProjections.length;e++){const t=e+1;t===l&&(s++,r=o[s].startLineNumber,a=o[s].endLineNumber,l=s+1<o.length?a+1:this.modelLineProjections.length+2);let n=!1;if(t>=r&&t<=a?this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!1),n=!0):(c=!0,this.modelLineProjections[e].isVisible()||(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!0),n=!0)),n){const t=this.modelLineProjections[e].getViewLineCount();this.projectedModelLineLineCounts.setValue(e,t)}}return c||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1||e>this.modelLineProjections.length)&&this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,n,i){const o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,a=this.wrappingColumn===n,s=this.wrappingIndent===i;if(o&&r&&a&&s)return!1;const l=o&&r&&!a&&s;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;let c=null;if(l){c=[];for(let e=0,t=this.modelLineProjections.length;e<t;e++)c[e]=this.modelLineProjections[e].getProjectionData()}return this._constructLines(!1,c),!0}createLineBreaksComputer(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,n){if(!e||e<=this._validModelVersionId)return null;const i=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,o=this.projectedModelLineLineCounts.getPrefixSum(n);return this.modelLineProjections.splice(t-1,n-t+1),this.projectedModelLineLineCounts.removeValues(t-1,n-t+1),new fo(i,o)}onModelLinesInserted(e,t,n,i){if(!e||e<=this._validModelVersionId)return null;const o=t>2&&!this.modelLineProjections[t-2].isVisible(),r=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1;let a=0;const s=[],l=[];for(let e=0,t=i.length;e<t;e++){const t=$o(i[e],!o);s.push(t);const n=t.getViewLineCount();a+=n,l[e]=n}return this.modelLineProjections=this.modelLineProjections.slice(0,t-1).concat(s).concat(this.modelLineProjections.slice(t-1)),this.projectedModelLineLineCounts.insertValues(t-1,l),new go(r,r+a-1)}onModelLineChanged(e,t,n){if(null!==e&&e<=this._validModelVersionId)return[!1,null,null,null];const i=t-1,o=this.modelLineProjections[i].getViewLineCount(),r=$o(n,this.modelLineProjections[i].isVisible());this.modelLineProjections[i]=r;const a=this.modelLineProjections[i].getViewLineCount();let s=!1,l=0,c=-1,d=0,u=-1,h=0,p=-1;return o>a?(l=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,c=l+a-1,h=c+1,p=h+(o-a)-1,s=!0):o<a?(l=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,c=l+o-1,d=c+1,u=d+(a-o)-1,s=!0):(l=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,c=l+a-1),this.projectedModelLineLineCounts.setValue(i,a),[s,l<=c?new po(l,c):null,d<=u?new go(d,u):null,h<=p?new fo(h,p):null]}acceptVersionId(e){this._validModelVersionId=e,1!==this.modelLineProjections.length||this.modelLineProjections[0].isVisible()||this.setHiddenAreas([])}getViewLineCount(){return this.projectedModelLineLineCounts.getTotalSum()}_toValidViewLineNumber(e){if(e<1)return 1;const t=this.getViewLineCount();return e>t?t:0|e}getActiveIndentGuide(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);const i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),a=this.model.guides.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),s=this.convertModelPositionToViewPosition(a.startLineNumber,1),l=this.convertModelPositionToViewPosition(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber));return{startLineNumber:s.lineNumber,endLineNumber:l.lineNumber,indent:a.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);const t=this.projectedModelLineLineCounts.getIndexOf(e-1),n=t.index,i=t.remainder;return new or(n+1,i)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){const t=this.modelLineProjections[e.modelLineNumber-1],n=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),i=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,n);return new xe.L(e.modelLineNumber,i)}getModelEndPositionOfViewLine(e){const t=this.modelLineProjections[e.modelLineNumber-1],n=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),i=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,n);return new xe.L(e.modelLineNumber,i)}getViewLineInfosGroupedByModelRanges(e,t){const n=this.getViewLineInfo(e),i=this.getViewLineInfo(t),o=new Array;let r=this.getModelStartPositionOfViewLine(n),a=new Array;for(let e=n.modelLineNumber;e<=i.modelLineNumber;e++){const t=this.modelLineProjections[e-1];if(t.isVisible()){const o=e===n.modelLineNumber?n.modelLineWrappedLineIdx:0,r=e===i.modelLineNumber?i.modelLineWrappedLineIdx+1:t.getViewLineCount();for(let t=o;t<r;t++)a.push(new or(e,t))}if(!t.isVisible()&&r){const t=new xe.L(e-1,this.model.getLineMaxColumn(e-1)+1),n=Se.e.fromPositions(r,t);o.push(new rr(n,a)),a=[],r=null}else t.isVisible()&&!r&&(r=new xe.L(e,1))}if(r){const e=Se.e.fromPositions(r,this.getModelEndPositionOfViewLine(i));o.push(new rr(e,a))}return o}getViewLinesBracketGuides(e,t,n,i){const o=n?this.convertViewPositionToModelPosition(n.lineNumber,n.column):null,r=[];for(const n of this.getViewLineInfosGroupedByModelRanges(e,t)){const e=n.modelRange.startLineNumber,t=this.model.guides.getLinesBracketGuides(e,n.modelRange.endLineNumber,o,i);for(const i of n.viewLines)if(i.isWrappedLineContinuation&&1===this.getMinColumnOfViewLine(i))r.push([]);else{let n=t[i.modelLineNumber-e];n=n.map((e=>e.horizontalLine?new Gn.UO(e.visibleColumn,e.className,new Gn.vW(e.horizontalLine.top,this.convertModelPositionToViewPosition(i.modelLineNumber,e.horizontalLine.endColumn).column)):e)),r.push(n)}}return r}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t));let o=[];const r=[],a=[],s=n.lineNumber-1,l=i.lineNumber-1;let c=null;for(let e=s;e<=l;e++){const t=this.modelLineProjections[e];if(t.isVisible()){const i=t.getViewLineNumberOfModelPosition(0,e===s?n.column:1),o=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),l=o-i+1;let d=0;l>1&&1===t.getViewLineMinColumn(this.model,e+1,o)&&(d=0===i?1:2),r.push(l),a.push(d),null===c&&(c=new xe.L(e+1,0))}else null!==c&&(o=o.concat(this.model.guides.getLinesIndentGuides(c.lineNumber,e)),c=null)}null!==c&&(o=o.concat(this.model.guides.getLinesIndentGuides(c.lineNumber,i.lineNumber)),c=null);const d=t-e+1,u=new Array(d);let h=0;for(let e=0,t=o.length;e<t;e++){let t=o[e];const n=Math.min(d-h,r[e]),i=a[e];let s;s=2===i?0:1===i?1:n;for(let e=0;e<n;e++)e===s&&(t=0),u[h++]=t}return u}getViewLineContent(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineContent(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineLength(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineLength(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineMinColumn(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineMinColumn(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineMaxColumn(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineMaxColumn(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineData(e){const t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineData(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLinesData(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const i=this.projectedModelLineLineCounts.getIndexOf(e-1);let o=e;const r=i.index,a=i.remainder,s=[];for(let i=r,l=this.model.getLineCount();i<l;i++){const l=this.modelLineProjections[i];if(!l.isVisible())continue;const c=i===r?a:0;let d=l.getViewLineCount()-c,u=!1;if(o+d>t&&(u=!0,d=t-o+1),l.getViewLinesData(this.model,i+1,c,d,o-e,n,s),o+=d,u)break}return s}validateViewPosition(e,t,n){e=this._toValidViewLineNumber(e);const i=this.projectedModelLineLineCounts.getIndexOf(e-1),o=i.index,r=i.remainder,a=this.modelLineProjections[o],s=a.getViewLineMinColumn(this.model,o+1,r),l=a.getViewLineMaxColumn(this.model,o+1,r);t<s&&(t=s),t>l&&(t=l);const c=a.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new xe.L(o+1,c)).equals(n)?new xe.L(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)}validateViewRange(e,t){const n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new Se.e(n.lineNumber,n.column,i.lineNumber,i.column)}convertViewPositionToModelPosition(e,t){const n=this.getViewLineInfo(e),i=this.modelLineProjections[n.modelLineNumber-1].getModelColumnOfViewPosition(n.modelLineWrappedLineIdx,t);return this.model.validatePosition(new xe.L(n.modelLineNumber,i))}convertViewRangeToModelRange(e){const t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new Se.e(t.lineNumber,t.column,n.lineNumber,n.column)}convertModelPositionToViewPosition(e,t,n=2){const i=this.model.validatePosition(new xe.L(e,t)),o=i.lineNumber,r=i.column;let a=o-1,s=!1;for(;a>0&&!this.modelLineProjections[a].isVisible();)a--,s=!0;if(0===a&&!this.modelLineProjections[a].isVisible())return new xe.L(1,1);const l=1+this.projectedModelLineLineCounts.getPrefixSum(a);let c;return c=s?this.modelLineProjections[a].getViewPositionOfModelPosition(l,this.model.getLineMaxColumn(a+1),n):this.modelLineProjections[o-1].getViewPositionOfModelPosition(l,r,n),c}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){const n=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return Se.e.fromPositions(n)}{const t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new Se.e(t.lineNumber,t.column,n.lineNumber,n.column)}}getViewLineNumberOfModelPosition(e,t){let n=e-1;if(this.modelLineProjections[n].isVisible()){const e=1+this.projectedModelLineLineCounts.getPrefixSum(n);return this.modelLineProjections[n].getViewLineNumberOfModelPosition(e,t)}for(;n>0&&!this.modelLineProjections[n].isVisible();)n--;if(0===n&&!this.modelLineProjections[n].isVisible())return 1;const i=1+this.projectedModelLineLineCounts.getPrefixSum(n);return this.modelLineProjections[n].getViewLineNumberOfModelPosition(i,this.model.getLineMaxColumn(n+1))}getDecorationsInRange(e,t,n){const i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),o=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(o.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new Se.e(i.lineNumber,1,o.lineNumber,o.column),t,n);let r=[];const a=i.lineNumber-1,s=o.lineNumber-1;let l=null;for(let e=a;e<=s;e++)if(this.modelLineProjections[e].isVisible())null===l&&(l=new xe.L(e+1,e===a?i.column:1));else if(null!==l){const i=this.model.getLineMaxColumn(e);r=r.concat(this.model.getDecorationsInRange(new Se.e(l.lineNumber,l.column,e,i),t,n)),l=null}null!==l&&(r=r.concat(this.model.getDecorationsInRange(new Se.e(l.lineNumber,l.column,o.lineNumber,o.column),t,n)),l=null),r.sort(((e,t)=>{const n=Se.e.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n}));let c=[],d=0,u=null;for(const e of r){const t=e.id;u!==t&&(u=t,c[d++]=e)}return c}getInjectedTextAt(e){const t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){const n=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[n.modelLineNumber-1].normalizePosition(n.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){const t=this.getViewLineInfo(e);return 0===t.modelLineWrappedLineIdx?this.model.getLineIndentColumn(t.modelLineNumber):0}}class or{constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}get isWrappedLineContinuation(){return this.modelLineWrappedLineIdx>0}}class rr{constructor(e,t){this.modelRange=e,this.viewLines=t}}class ar{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class sr{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new lr(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,n,i){return!1}createLineBreaksComputer(){const e=[];return{addRequest:(t,n,i)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,n){return new fo(t,n)}onModelLinesInserted(e,t,n,i){return new go(t,n)}onModelLineChanged(e,t,n){return[!1,new po(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,n){return new Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){const n=t-e+1,i=new Array(n);for(let e=0;e<n;e++)i[e]=0;return i}getViewLineContent(e){return this.model.getLineContent(e)}getViewLineLength(e){return this.model.getLineLength(e)}getViewLineMinColumn(e){return this.model.getLineMinColumn(e)}getViewLineMaxColumn(e){return this.model.getLineMaxColumn(e)}getViewLineData(e){const t=this.model.getLineTokens(e),n=t.getLineContent();return new si.IP(n,!1,1,n.length+1,0,t.inflate(),null)}getViewLinesData(e,t,n){const i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);const o=[];for(let i=e;i<=t;i++){const t=i-e;o[t]=n[t]?this.getViewLineData(i):null}return o}getDecorationsInRange(e,t,n){return this.model.getDecorationsInRange(e,t,n)}normalizePosition(e,t){return this.model.normalizePosition(e,t)}getLineIndentColumn(e){return this.model.getLineIndentColumn(e)}getInjectedTextAt(e){return null}}class lr{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){const t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}class cr extends f.JT{constructor(e,t,n,i,o,r,a,s){if(super(),this.languageConfigurationService=a,this._themeService=s,this._editorId=e,this._configuration=t,this.model=n,this._eventDispatcher=new wo,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new Et(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._tokenizeViewportSoon=this._register(new j.pY((()=>this.tokenizeViewport()),50)),this._updateConfigurationViewLineCount=this._register(new j.pY((()=>this._updateConfigurationViewLineCountNow()),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new sr(this.model);else{const e=this._configuration.options,t=e.get(44),n=e.get(125),r=e.get(132),a=e.get(124);this._lines=new ir(this._editorId,this.model,i,o,t,this.model.getOptions().tabSize,n,r.wrappingColumn,a)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new No(n,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new Ho(this._configuration,this.getLineCount(),r)),this._register(this.viewLayout.onDidScroll((e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new vo(e)),this._eventDispatcher.emitOutgoingEvent(new Eo(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))}))),this._register(this.viewLayout.onDidContentSizeChange((e=>{this._eventDispatcher.emitOutgoingEvent(e)}))),this._decorations=new Uo(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast((e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}}))),this._register(ai.getInstance().onDidChange((()=>{this._eventDispatcher.emitSingleViewEvent(new yo)}))),this._register(this._themeService.onDidColorThemeChange((e=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new bo(e))}))),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){const e=this.viewLayout.getLinesViewportData(),t=new Se.e(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber)),n=this._toModelVisibleRanges(t);for(const e of n)this.model.tokenizeViewport(e.startLineNumber,e.endLineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new co(e)),this._eventDispatcher.emitOutgoingEvent(new So(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new io)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new oo)}_onConfigurationChanged(e,t){let n=null;if(-1!==this._viewportStartLine){const e=new xe.L(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(e)}let i=!1;const o=this._configuration.options,r=o.get(44),a=o.get(125),s=o.get(132),l=o.get(124);if(this._lines.setWrappingSettings(r,a,s.wrappingColumn,l)&&(e.emitViewEvent(new lo),e.emitViewEvent(new ho),e.emitViewEvent(new so(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(i=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(81)&&(this._decorations.reset(),e.emitViewEvent(new so(null))),e.emitViewEvent(new ro(t)),this.viewLayout.onConfigurationChanged(t),i&&n){const e=this.coordinatesConverter.convertModelPositionToViewPosition(n),t=this.viewLayout.getVerticalOffsetForLineNumber(e.lineNumber);this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStartLineDelta},1)}Et.shouldRecreate(t)&&(this.cursorConfig=new Et(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText((e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();let n=!1,i=!1;const o=e.changes,r=e instanceof no.dQ?e.versionId:null,a=this._lines.createLineBreaksComputer();for(const e of o)switch(e.changeType){case 4:for(let t=0;t<e.detail.length;t++){const n=e.detail[t];let i=e.injectedTexts[t];i&&(i=i.filter((e=>!e.ownerId||e.ownerId===this._editorId))),a.addRequest(n,i,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter((e=>!e.ownerId||e.ownerId===this._editorId))),a.addRequest(e.detail,t,null);break}}const s=a.finalize(),l=new v.H9(s);for(const e of o)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new lo),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),n=!0;break;case 3:{const i=this._lines.onModelLinesDeleted(r,e.fromLineNumber,e.toLineNumber);null!==i&&(t.emitViewEvent(i),this.viewLayout.onLinesDeleted(i.fromLineNumber,i.toLineNumber)),n=!0;break}case 4:{const i=l.takeCount(e.detail.length),o=this._lines.onModelLinesInserted(r,e.fromLineNumber,e.toLineNumber,i);null!==o&&(t.emitViewEvent(o),this.viewLayout.onLinesInserted(o.fromLineNumber,o.toLineNumber)),n=!0;break}case 2:{const n=l.dequeue(),[o,a,s,c]=this._lines.onModelLineChanged(r,e.lineNumber,n);i=o,a&&t.emitViewEvent(a),s&&(t.emitViewEvent(s),this.viewLayout.onLinesInserted(s.fromLineNumber,s.toLineNumber)),c&&(t.emitViewEvent(c),this.viewLayout.onLinesDeleted(c.fromLineNumber,c.toLineNumber));break}}null!==r&&this._lines.acceptVersionId(r),this.viewLayout.onHeightMaybeChanged(),!n&&i&&(t.emitViewEvent(new ho),t.emitViewEvent(new so(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){const e=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(e){const t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),n=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:n+this._viewportStartLineDelta},1)}}try{const t=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._tokenizeViewportSoon.schedule()}))),this._register(this.model.onDidChangeTokens((e=>{const t=[];for(let n=0,i=e.ranges.length;n<i;n++){const i=e.ranges[n],o=this.coordinatesConverter.convertModelPositionToViewPosition(new xe.L(i.fromLineNumber,1)).lineNumber,r=this.coordinatesConverter.convertModelPositionToViewPosition(new xe.L(i.toLineNumber,this.model.getLineMaxColumn(i.toLineNumber))).lineNumber;t[n]={fromLineNumber:o,toLineNumber:r}}this._eventDispatcher.emitSingleViewEvent(new _o(t)),e.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()}))),this._register(this.model.onDidChangeLanguageConfiguration((e=>{this._eventDispatcher.emitSingleViewEvent(new uo),this.cursorConfig=new Et(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig)}))),this._register(this.model.onDidChangeLanguage((e=>{this.cursorConfig=new Et(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig)}))),this._register(this.model.onDidChangeOptions((e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new lo),e.emitViewEvent(new ho),e.emitViewEvent(new so(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new Et(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig)}))),this._register(this.model.onDidChangeDecorations((e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new so(e))})))}setHiddenAreas(e){let t=!1;try{const n=this._eventDispatcher.beginEmitViewEvents();t=this._lines.setHiddenAreas(e),t&&(n.emitViewEvent(new lo),n.emitViewEvent(new ho),n.emitViewEvent(new so(null)),this._cursor.onLineMappingChanged(n),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),t&&this._eventDispatcher.emitOutgoingEvent(new ko)}getVisibleRangesPlusViewportAboveBelow(){const e=this._configuration.options.get(131),t=this._configuration.options.get(59),n=Math.max(20,Math.round(e.height/t)),i=this.viewLayout.getLinesViewportData(),o=Math.max(1,i.completelyVisibleStartLineNumber-n),r=Math.min(this.getLineCount(),i.completelyVisibleEndLineNumber+n);return this._toModelVisibleRanges(new Se.e(o,this.getLineMinColumn(o),r,this.getLineMaxColumn(r)))}getVisibleRanges(){const e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){const t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this._lines.getHiddenAreas();if(0===n.length)return[t];const i=[];let o=0,r=t.startLineNumber,a=t.startColumn;const s=t.endLineNumber,l=t.endColumn;for(let e=0,t=n.length;e<t;e++){const t=n[e].startLineNumber,l=n[e].endLineNumber;l<r||t>s||(r<t&&(i[o++]=new Se.e(r,a,t-1,this.model.getLineMaxColumn(t-1))),r=l+1,a=1)}return(r<s||r===s&&a<l)&&(i[o++]=new Se.e(r,a,s,l)),i}getCompletelyVisibleViewRange(){const e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new Se.e(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))}getCompletelyVisibleViewRangeAtScrollTop(e){const t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new Se.e(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))}saveState(){const e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new xe.L(n,this.getLineMinColumn(n))),o=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:o}}reduceRestoreState(e){if(void 0===e.firstPosition)return this._reduceRestoreStateCompatibility(e);const t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}}_reduceRestoreStateCompatibility(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(e,t,n){this._viewportStartLine=e;const i=this.coordinatesConverter.convertViewPositionToModelPosition(new xe.L(e,this.getLineMinColumn(e)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new Se.e(i.lineNumber,i.column,i.lineNumber,i.column),1);const o=this.viewLayout.getVerticalOffsetForLineNumber(e),r=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=r-o}getActiveIndentGuide(e,t,n){return this._lines.getActiveIndentGuide(e,t,n)}getLinesIndentGuides(e,t){return this._lines.getViewLinesIndentGuides(e,t)}getBracketGuidesInRangeByLine(e,t,n,i){return this._lines.getViewLinesBracketGuides(e,t,n,i)}getLineContent(e){return this._lines.getViewLineContent(e)}getLineLength(e){return this._lines.getViewLineLength(e)}getLineMinColumn(e){return this._lines.getViewLineMinColumn(e)}getLineMaxColumn(e){return this._lines.getViewLineMaxColumn(e)}getLineFirstNonWhitespaceColumn(e){const t=Ke.LC(this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=Ke.ow(this.getLineContent(e));return-1===t?0:t+2}getDecorationsInViewport(e){return this._decorations.getDecorationsViewportData(e).decorations}getInjectedTextAt(e){return this._lines.getInjectedTextAt(e)}getViewLineRenderingData(e,t){const n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this._lines.getViewLineData(t);let a=this._decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return r.inlineDecorations&&(a=[...a,...r.inlineDecorations.map((e=>e.toInlineDecoration(t)))]),new si.wA(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,n,i,r.tokens,a,o,r.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,n){const i=this._lines.getViewLinesData(e,t,n);return new si.ud(this.getTabSize(),i)}getAllOverviewRulerDecorations(e){const t=this.model.getOverviewRulerDecorations(this._editorId,(0,x.$J)(this._configuration.options)),n=new dr;for(const i of t){const t=i.options,o=t.overviewRuler;if(!o)continue;const r=o.position;if(0===r)continue;const a=o.getColor(e.value),s=this.coordinatesConverter.getViewLineNumberOfModelPosition(i.range.startLineNumber,i.range.startColumn),l=this.coordinatesConverter.getViewLineNumberOfModelPosition(i.range.endLineNumber,i.range.endColumn);n.accept(a,t.zIndex,s,l,r)}return n.asArray}_invalidateDecorationsColorCache(){const e=this.model.getOverviewRulerDecorations();for(const t of e){const e=t.options.overviewRuler;e&&e.invalidateCachedColor();const n=t.options.minimap;n&&n.invalidateCachedColor()}}getValueInRange(e,t){const n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)}deduceModelPositionRelativeToViewPosition(e,t,n){const i=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);const o=this.model.getOffsetAt(i)+t;return this.model.getPositionAt(o)}getPlainTextToCopy(e,t,n){const i=n?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(Se.e.compareRangesUsingStarts);let o=!1,r=!1;for(const t of e)t.isEmpty()?o=!0:r=!0;if(!r){if(!t)return"";const n=e.map((e=>e.startLineNumber));let o="";for(let e=0;e<n.length;e++)e>0&&n[e-1]===n[e]||(o+=this.model.getLineContent(n[e])+i);return o}if(o&&t){const t=[];let i=0;for(const o of e){const e=o.startLineNumber;o.isEmpty()?e!==i&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(o,n?2:0)),i=e}return 1===t.length?t[0]:t}const a=[];for(const t of e)t.isEmpty()||a.push(this.model.getValueInRange(t,n?2:0));return 1===a.length?a[0]:a}getRichTextToCopy(e,t){const n=this.model.getLanguageId();if(n===Oo.bd)return null;if(1!==e.length)return null;let i=e[0];if(i.isEmpty()){if(!t)return null;const e=i.startLineNumber;i=new Se.e(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}const o=this._configuration.options.get(44),r=this._getColorMap();let a;return/[:;\\\/<>]/.test(o.fontFamily)||o.fontFamily===x.hL.fontFamily?a=x.hL.fontFamily:(a=o.fontFamily,a=a.replace(/"/g,"'"),/[,']/.test(a)||/[+ ]/.test(a)&&(a=`'${a}'`),a=`${a}, ${x.hL.fontFamily}`),{mode:n,html:`<div style="color: ${r[1]};background-color: ${r[2]};font-family: ${a};font-weight: ${o.fontWeight};font-size: ${o.fontSize}px;line-height: ${o.lineHeight}px;white-space: pre;">`+this._getHTMLToCopy(i,r)+"</div>"}}_getHTMLToCopy(e,t){const n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,a=this.getTabSize();let s="";for(let e=n;e<=o;e++){const l=this.model.getLineTokens(e),c=l.getLineContent(),d=e===n?i-1:0,u=e===o?r-1:c.length;s+=""===c?"<br>":(0,Po.Fq)(c,l.inflate(),t,d,u,a,_.ED)}return s}_getColorMap(){const e=ft.RW.getColorMap(),t=["#000000"];if(e)for(let n=1,i=e.length;n<i;n++)t[n]=gt.Il.Format.CSS.formatHex(e[n]);return t}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(e,t,n){return this._withViewEventsCollector((i=>this._cursor.setStates(i,e,t,n)))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,n=0){this._withViewEventsCollector((i=>this._cursor.setSelections(i,e,t,n)))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector((t=>this._cursor.restoreState(t,e)))}_executeCursorEdit(e){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Do):this._withViewEventsCollector(e)}executeEdits(e,t,n){this._executeCursorEdit((i=>this._cursor.executeEdits(i,e,t,n)))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit((e=>this._cursor.startComposition(e)))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit((t=>this._cursor.endComposition(t,e)))}type(e,t){this._executeCursorEdit((n=>this._cursor.type(n,e,t)))}compositionType(e,t,n,i,o){this._executeCursorEdit((r=>this._cursor.compositionType(r,e,t,n,i,o)))}paste(e,t,n,i){this._executeCursorEdit((o=>this._cursor.paste(o,e,t,n,i)))}cut(e){this._executeCursorEdit((t=>this._cursor.cut(t,e)))}executeCommand(e,t){this._executeCursorEdit((n=>this._cursor.executeCommand(n,e,t)))}executeCommands(e,t){this._executeCursorEdit((n=>this._cursor.executeCommands(n,e,t)))}revealPrimaryCursor(e,t,n=!1){this._withViewEventsCollector((i=>this._cursor.revealPrimary(i,e,n,0,t,0)))}revealTopMostCursor(e){const t=this._cursor.getTopMostViewPosition(),n=new Se.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector((t=>t.emitViewEvent(new mo(e,!1,n,null,0,!0,0))))}revealBottomMostCursor(e){const t=this._cursor.getBottomMostViewPosition(),n=new Se.e(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector((t=>t.emitViewEvent(new mo(e,!1,n,null,0,!0,0))))}revealRange(e,t,n,i,o){this._withViewEventsCollector((r=>r.emitViewEvent(new mo(e,!1,n,null,i,t,o))))}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new Ao),this._eventDispatcher.emitOutgoingEvent(new ko))}_withViewEventsCollector(e){try{return e(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}class dr{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,n,i,o){const r=this._asMap[e];if(r){const e=r.data,t=e[e.length-3],a=e[e.length-1];if(t===o&&a+1>=n)return void(i>a&&(e[e.length-1]=i));e.push(o,n,i)}else{const r=new si.SQ(e,t,[o,n,i]);this._asMap[e]=r,this.asArray.push(r)}}}var ur=n(9014),hr=n(7696),pr=n(9716),fr=n(655),gr=n(7595);class mr{constructor(e,t,n,i,o){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=n,this.breakOffsetsVisibleColumn=i,this.wrappedTextIndentLength=o}getOutputLineCount(){return this.breakOffsets.length}getMinOutputOffset(e){return e>0?this.wrappedTextIndentLength:0}getLineLength(e){const t=e>0?this.breakOffsets[e-1]:0;let n=this.breakOffsets[e]-t;return e>0&&(n+=this.wrappedTextIndentLength),n}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let n=0===e?t:this.breakOffsets[e-1]+t;if(null!==this.injectionOffsets)for(let e=0;e<this.injectionOffsets.length&&n>this.injectionOffsets[e];e++)n<this.injectionOffsets[e]+this.injectionOptions[e].content.length?n=this.injectionOffsets[e]:n-=this.injectionOptions[e].content.length;return n}translateToOutputPosition(e,t=2){let n=e;if(null!==this.injectionOffsets)for(let i=0;i<this.injectionOffsets.length&&!(e<this.injectionOffsets[i])&&(1===t||e!==this.injectionOffsets[i]);i++)n+=this.injectionOptions[i].content.length;return this.offsetInInputWithInjectionsToOutputPosition(n,t)}offsetInInputWithInjectionsToOutputPosition(e,t=2){let n=0,i=this.breakOffsets.length-1,o=0,r=0;for(;n<=i;){o=n+(i-n)/2|0;const a=this.breakOffsets[o];if(r=o>0?this.breakOffsets[o-1]:0,0===t)if(e<=r)i=o-1;else{if(!(e>a))break;n=o+1}else if(e<r)i=o-1;else{if(!(e>=a))break;n=o+1}}let a=e-r;return o>0&&(a+=this.wrappedTextIndentLength),new _r(o,a)}normalizeOutputPosition(e,t,n){if(null!==this.injectionOffsets){const i=this.outputPositionToOffsetInInputWithInjections(e,t),o=this.normalizeOffsetInInputWithInjectionsAroundInjections(i,n);if(o!==i)return this.offsetInInputWithInjectionsToOutputPosition(o,n)}if(0===n){if(e>0&&t===this.getMinOutputOffset(e))return new _r(e-1,this.getMaxOutputOffset(e-1))}else if(1===n&&e<this.getOutputLineCount()-1&&t===this.getMaxOutputOffset(e))return new _r(e+1,this.getMinOutputOffset(e+1));return new _r(e,t)}outputPositionToOffsetInInputWithInjections(e,t){return e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength)),(e>0?this.breakOffsets[e-1]:0)+t}normalizeOffsetInInputWithInjectionsAroundInjections(e,t){const n=this.getInjectedTextAtOffset(e);if(!n)return e;if(2===t){if(e===n.offsetInInputWithInjections+n.length&&vr(this.injectionOptions[n.injectedTextIndex].cursorStops))return n.offsetInInputWithInjections+n.length;{let e=n.offsetInInputWithInjections;if(br(this.injectionOptions[n.injectedTextIndex].cursorStops))return e;let t=n.injectedTextIndex-1;for(;t>=0&&this.injectionOffsets[t]===this.injectionOffsets[n.injectedTextIndex]&&!vr(this.injectionOptions[t].cursorStops)&&(e-=this.injectionOptions[t].content.length,!br(this.injectionOptions[t].cursorStops));)t--;return e}}if(1===t){let e=n.offsetInInputWithInjections+n.length,t=n.injectedTextIndex;for(;t+1<this.injectionOffsets.length&&this.injectionOffsets[t+1]===this.injectionOffsets[t];)e+=this.injectionOptions[t+1].content.length,t++;return e}if(0===t){let e=n.offsetInInputWithInjections,t=n.injectedTextIndex;for(;t-1>=0&&this.injectionOffsets[t-1]===this.injectionOffsets[t];)e-=this.injectionOptions[t-1].content.length,t--;return e}(0,_t.vE)(t)}getInjectedText(e,t){const n=this.outputPositionToOffsetInInputWithInjections(e,t),i=this.getInjectedTextAtOffset(n);return i?{options:this.injectionOptions[i.injectedTextIndex]}:null}getInjectedTextAtOffset(e){const t=this.injectionOffsets,n=this.injectionOptions;if(null!==t){let i=0;for(let o=0;o<t.length;o++){const r=n[o].content.length,a=t[o]+i,s=t[o]+i+r;if(a>e)break;if(e<=s)return{injectedTextIndex:o,offsetInInputWithInjections:a,length:r};i+=r}}}}function vr(e){return null==e||e===mi.RM.Right||e===mi.RM.Both}function br(e){return null==e||e===mi.RM.Left||e===mi.RM.Both}class _r{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new xe.L(e+this.outputLineIndex,this.outputOffset+1)}}class yr{constructor(e,t){this.classifier=new Ar(e,t)}static create(e){return new yr(e.get(120),e.get(119))}createLineBreaksComputer(e,t,n,i){const o=[],r=[],a=[];return{addRequest:(e,t,n)=>{o.push(e),r.push(t),a.push(n)},finalize:()=>{const s=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,l=[];for(let e=0,c=o.length;e<c;e++){const c=r[e],d=a[e];!d||d.injectionOptions||c?l[e]=Sr(this.classifier,o[e],c,t,n,s,i):l[e]=xr(this.classifier,d,o[e],t,n,s,i)}return wr.length=0,Cr.length=0,l}}}}class Ar extends gr.N{constructor(e,t){super(0);for(let t=0;t<e.length;t++)this.set(e.charCodeAt(t),1);for(let e=0;e<t.length;e++)this.set(t.charCodeAt(e),2)}get(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let wr=[],Cr=[];function xr(e,t,n,i,o,r,a){if(-1===o)return null;const s=n.length;if(s<=1)return null;const l=t.breakOffsets,c=t.breakOffsetsVisibleColumn,d=Dr(n,i,o,r,a),u=o-d,h=wr,p=Cr;let f=0,g=0,m=0,v=o;const b=l.length;let _=0;if(_>=0){let e=Math.abs(c[_]-v);for(;_+1<b;){const t=Math.abs(c[_+1]-v);if(t>=e)break;e=t,_++}}for(;_<b;){let t=_<0?0:l[_],o=_<0?0:c[_];g>t&&(t=g,o=m);let a=0,d=0,y=0,A=0;if(o<=v){let m=o,b=0===t?0:n.charCodeAt(t-1),_=0===t?0:e.get(b),w=!0;for(let o=t;o<s;o++){const t=o,s=n.charCodeAt(o);let l,c;if(Ke.ZG(s)?(o++,l=0,c=2):(l=e.get(s),c=Er(s,m,i,r)),t>g&&Mr(0,_,s,l)&&(a=t,d=m),m+=c,m>v){t>g?(y=t,A=m-c):(y=o+1,A=m),m-d>u&&(a=0),w=!1;break}b=s,_=l}if(w){f>0&&(h[f]=l[l.length-1],p[f]=c[l.length-1],f++);break}}if(0===a){let s=o,l=n.charCodeAt(t),c=e.get(l),h=!1;for(let i=t-1;i>=g;i--){const t=i+1,o=n.charCodeAt(i);if(9===o){h=!0;break}let p,f;if(Ke.YK(o)?(i--,p=0,f=2):(p=e.get(o),f=Ke.K7(o)?r:1),s<=v){if(0===y&&(y=t,A=s),s<=v-u)break;if(Mr(0,p,l,c)){a=t,d=s;break}}s-=f,l=o,c=p}if(0!==a){const e=u-(A-d);if(e<=i){const t=n.charCodeAt(y);let o;o=Ke.ZG(t)?2:Er(t,A,i,r),e-o<0&&(a=0)}}if(h){_--;continue}}if(0===a&&(a=y,d=A),a<=g){const e=n.charCodeAt(g);Ke.ZG(e)?(a=g+2,d=m+2):(a=g+1,d=m+Er(e,m,i,r))}for(g=a,h[f]=a,m=d,p[f]=d,f++,v=d+u;_<0||_<b&&c[_]<d;)_++;let w=Math.abs(c[_]-v);for(;_+1<b;){const e=Math.abs(c[_+1]-v);if(e>=w)break;w=e,_++}}return 0===f?null:(h.length=f,p.length=f,wr=t.breakOffsets,Cr=t.breakOffsetsVisibleColumn,t.breakOffsets=h,t.breakOffsetsVisibleColumn=p,t.wrappedTextIndentLength=d,t)}function Sr(e,t,n,i,o,r,a){const s=no.gk.applyInjectedText(t,n);let l,c;if(n&&n.length>0?(l=n.map((e=>e.options)),c=n.map((e=>e.column-1))):(l=null,c=null),-1===o)return l?new mr(c,l,[s.length],[],0):null;const d=s.length;if(d<=1)return l?new mr(c,l,[s.length],[],0):null;const u=Dr(s,i,o,r,a),h=o-u,p=[],f=[];let g=0,m=0,v=0,b=o,_=s.charCodeAt(0),y=e.get(_),A=Er(_,0,i,r),w=1;Ke.ZG(_)&&(A+=1,_=s.charCodeAt(1),y=e.get(_),w++);for(let t=w;t<d;t++){const n=t,o=s.charCodeAt(t);let a,l;Ke.ZG(o)?(t++,a=0,l=2):(a=e.get(o),l=Er(o,A,i,r)),Mr(0,y,o,a)&&(m=n,v=A),A+=l,A>b&&((0===m||A-v>h)&&(m=n,v=A-l),p[g]=m,f[g]=v,g++,b=v+h,m=0),_=o,y=a}return 0!==g||n&&0!==n.length?(p[g]=d,f[g]=A,new mr(c,l,p,f,u)):null}function Er(e,t,n,i){return 9===e?n-t%n:Ke.K7(e)||e<32?i:1}function kr(e,t){return t-e%t}function Mr(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function Dr(e,t,n,i,o){let r=0;if(0!==o){const a=Ke.LC(e);if(-1!==a){for(let n=0;n<a;n++)r+=9===e.charCodeAt(n)?kr(r,t):1;const s=3===o?2:2===o?1:0;for(let e=0;e<s;e++)r+=kr(r,t);r+i>n&&(r=0)}}return r}var Nr;const Ir=null===(Nr=window.trustedTypes)||void 0===Nr?void 0:Nr.createPolicy("domLineBreaksComputer",{createHTML:e=>e});class Tr{static create(){return new Tr}constructor(){}createLineBreaksComputer(e,t,n,i){const o=[],r=[];return{addRequest:(e,t,n)=>{o.push(e),r.push(t)},finalize:()=>function(e,t,n,i,o,r){var a;function s(t){const n=r[t];if(n){const i=no.gk.applyInjectedText(e[t],n),o=n.map((e=>e.options)),r=n.map((e=>e.column-1));return new mr(r,o,[i.length],[],0)}return null}if(-1===i){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=s(n);return t}const l=Math.round(i*t.typicalHalfwidthCharacterWidth),c=3===o?2:2===o?1:0,d=Math.round(n*c),u=Math.ceil(t.spaceWidth*d),h=document.createElement("div");(0,rt.N)(h,t);const p=(0,yn.l$)(1e4),f=[],g=[],m=[],v=[],b=[];for(let i=0;i<e.length;i++){const a=no.gk.applyInjectedText(e[i],r[i]);let s=0,c=0,d=l;if(0!==o)if(s=Ke.LC(a),-1===s)s=0;else{for(let e=0;e<s;e++)c+=9===a.charCodeAt(e)?n-c%n:1;const e=Math.ceil(t.spaceWidth*c);e+t.typicalFullwidthCharacterWidth>l?(s=0,c=0):d=l-e}const h=a.substr(s),_=Lr(h,c,n,d,p,u);f[i]=s,g[i]=c,m[i]=h,v[i]=_[0],b[i]=_[1]}const _=p.build(),y=null!==(a=null==Ir?void 0:Ir.createHTML(_))&&void 0!==a?a:_;h.innerHTML=y,h.style.position="absolute",h.style.top="10000",h.style.wordWrap="break-word",document.body.appendChild(h);const A=document.createRange(),w=Array.prototype.slice.call(h.children,0),C=[];for(let t=0;t<e.length;t++){const e=Br(A,w[t],m[t],v[t]);if(null===e){C[t]=s(t);continue}const n=f[t],i=g[t]+d,o=b[t],a=[];for(let t=0,n=e.length;t<n;t++)a[t]=o[e[t]];if(0!==n)for(let t=0,i=e.length;t<i;t++)e[t]+=n;let l,c;const u=r[t];u?(l=u.map((e=>e.options)),c=u.map((e=>e.column-1))):(l=null,c=null),C[t]=new mr(c,l,e,a,i)}return document.body.removeChild(h),C}(o,e,t,n,i,r)}}}function Lr(e,t,n,i,o,r){if(0!==r){const e=String(r);o.appendASCIIString('<div style="text-indent: -'),o.appendASCIIString(e),o.appendASCIIString("px; padding-left: "),o.appendASCIIString(e),o.appendASCIIString("px; box-sizing: border-box; width:")}else o.appendASCIIString('<div style="width:');o.appendASCIIString(String(i)),o.appendASCIIString('px;">');const a=e.length;let s=t,l=0;const c=[],d=[];let u=0<a?e.charCodeAt(0):0;o.appendASCIIString("<span>");for(let t=0;t<a;t++){0!==t&&t%16384==0&&o.appendASCIIString("</span><span>"),c[t]=l,d[t]=s;const i=u;u=t+1<a?e.charCodeAt(t+1):0;let r=1,h=1;switch(i){case 9:r=n-s%n,h=r;for(let e=1;e<=r;e++)e<r?o.write1(160):o.appendASCII(32);break;case 32:32===u?o.write1(160):o.appendASCII(32);break;case 60:o.appendASCIIString("&lt;");break;case 62:o.appendASCIIString("&gt;");break;case 38:o.appendASCIIString("&amp;");break;case 0:o.appendASCIIString("&#00;");break;case 65279:case 8232:case 8233:case 133:o.write1(65533);break;default:Ke.K7(i)&&h++,i<32?o.write1(9216+i):o.write1(i)}l+=r,s+=h}return o.appendASCIIString("</span>"),c[e.length]=l,d[e.length]=s,o.appendASCIIString("</div>"),[c,d]}function Br(e,t,n,i){if(n.length<=1)return null;const o=Array.prototype.slice.call(t.children,0),r=[];try{Or(e,o,i,0,null,n.length-1,null,r)}catch(e){return console.log(e),null}return 0===r.length?null:(r.push(n.length),r)}function Or(e,t,n,i,o,r,a,s){if(i===r)return;if(o=o||Pr(e,t,n[i],n[i+1]),a=a||Pr(e,t,n[r],n[r+1]),Math.abs(o[0].top-a[0].top)<=.1)return;if(i+1===r)return void s.push(r);const l=i+(r-i)/2|0,c=Pr(e,t,n[l],n[l+1]);Or(e,t,n,i,o,l,c,s),Or(e,t,n,l,c,r,a,s)}function Pr(e,t,n,i){return e.setStart(t[n/16384|0].firstChild,n%16384),e.setEnd(t[i/16384|0].firstChild,i%16384),e.getClientRects()}var Fr=n(2819),Rr=function(e,t){return function(n,i){t(n,i,e)}};let jr=0;class zr{constructor(e,t,n,i,o){this.model=e,this.viewModel=t,this.view=n,this.hasRealView=i,this.listenersToRemove=o}dispose(){(0,f.B9)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let Vr=class e extends f.JT{constructor(e,t,n,i,r,a,s,l,c,d,u,f){super(),this.languageConfigurationService=u,this._onDidDispose=this._register(new p.Q5),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new p.Q5),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new p.Q5),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new p.Q5),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new p.Q5),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new p.Q5),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new p.Q5),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new p.Q5),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new p.Q5),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new p.Q5),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new p.Q5),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new p.Q5),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new Wr),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new Wr),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new p.Q5),this.onWillType=this._onWillType.event,this._onDidType=this._register(new p.Q5),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new p.Q5),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new p.Q5),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new p.Q5),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new p.Q5),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new p.Q5),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new p.Q5),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new p.Q5),this.onMouseDrop=this._onMouseDrop.event,this._onMouseDropCanceled=this._register(new p.Q5),this.onMouseDropCanceled=this._onMouseDropCanceled.event,this._onContextMenu=this._register(new p.Q5),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new p.Q5),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new p.Q5),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new p.Q5),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new p.Q5),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new p.Q5),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new p.Q5),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new p.Q5),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new p.Q5),this.onDidChangeViewZones=this._onDidChangeViewZones.event,this._onDidChangeHiddenAreas=this._register(new p.Q5),this.onDidChangeHiddenAreas=this._onDidChangeHiddenAreas.event,this._bannerDomNode=null;const g=Object.assign({},t);let m;this._domElement=e,this._overflowWidgetsDomNode=g.overflowWidgetsDomNode,delete g.overflowWidgetsDomNode,this._id=++jr,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this._telemetryData=n.telemetryData,this._configuration=this._register(this._createConfiguration(n.isSimpleWidget||!1,g,d)),this._register(this._configuration.onDidChange((e=>{this._onDidChangeConfiguration.fire(e);const t=this._configuration.options;if(e.hasChanged(131)){const e=t.get(131);this._onDidLayoutChange.fire(e)}}))),this._contextKeyService=this._register(s.createScoped(this._domElement)),this._notificationService=c,this._codeEditorService=r,this._commandService=a,this._themeService=l,this._register(new Hr(this,this._contextKeyService)),this._register(new Ur(this,this._contextKeyService,f)),this._instantiationService=i.createChild(new pr.y([sn.i6,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new Qr(e),this._register(this._focusTracker.onChange((()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())}))),this._contentWidgets={},this._overlayWidgets={},m=Array.isArray(n.contributions)?n.contributions:o.Uc.getEditorContributions();for(const t of m)if(this._contributions[t.id])(0,h.dL)(new Error(`Cannot have two contributions with the same id ${t.id}`));else try{const e=this._instantiationService.createInstance(t.ctor,this);this._contributions[t.id]=e}catch(e){(0,h.dL)(e)}o.Uc.getEditorActions().forEach((e=>{if(this._actions[e.id])return void(0,h.dL)(new Error(`Cannot have two actions with the same id ${e.id}`));const t=new Lo.p(e.id,e.label,e.alias,(0,_t.f6)(e.precondition),(()=>this._instantiationService.invokeFunction((t=>Promise.resolve(e.runEditorCommand(t,this,null))))),this._contextKeyService);this._actions[t.id]=t})),this._codeEditorService.addCodeEditor(this)}get isSimpleWidget(){return this._configuration.isSimpleWidget}_createConfiguration(e,t,n){return new M(e,t,this._domElement,n)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return Bo.g.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();const e=Object.keys(this._contributions);for(let t=0,n=e.length;t<n;t++){const n=e[t];this._contributions[n].dispose()}this._contributions={},this._actions={},this._contentWidgets={},this._overlayWidgets={},this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e||{})}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?Vt.getWordAtPosition(this._modelData.model,this._configuration.options.get(117),e):null}getValue(e=null){if(!this._modelData)return"";const t=!(!e||!e.preserveBOM);let n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)}setValue(e){this._modelData&&this._modelData.model.setValue(e)}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){const t=e;if(null===this._modelData&&null===t)return;if(this._modelData&&this._modelData.model===t)return;const n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();const o={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(o),this._postDetachModelCleanup(i)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){const t=this._decorationTypeSubtypes[e];for(let n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetForPosition(e,t,n){const i=e.model.validatePosition({lineNumber:t,column:n}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber)}getTopForLineNumber(t){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,1):-1}getTopForPosition(t,n){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,n):-1}setHiddenAreas(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map((e=>Se.e.lift(e))))}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;const t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return Ee.i.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t="api"){if(this._modelData){if(!xe.L.isIPosition(e))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(t,[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,n,i){if(!this._modelData)return;if(!Se.e.isIRange(e))throw new Error("Invalid arguments");const o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.viewModel.revealRange("api",n,r,t,i)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,n){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new Se.e(e,1,e,1),t,!1,n)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,n,i){if(!xe.L.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new Se.e(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t="api"){const n=O.Y.isISelection(e),i=Se.e.isIRange(e);if(!n&&!i)throw new Error("Invalid arguments");if(n)this._setSelectionImpl(e,t);else if(i){const n={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(n,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;const n=new O.Y(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[n])}revealLines(e,t,n=0){this._revealLines(e,t,0,n)}revealLinesInCenter(e,t,n=0){this._revealLines(e,t,1,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._revealLines(e,t,2,n)}revealLinesNearTop(e,t,n=0){this._revealLines(e,t,5,n)}_revealLines(e,t,n,i){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new Se.e(e,1,t,1),n,!1,i)}revealRange(e,t=0,n=!1,i=!0){this._revealRange(e,n?1:0,i,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,n,i){if(!Se.e.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(Se.e.lift(e),t,n,i)}setSelections(e,t="api",n=0){if(this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(let t=0,n=e.length;t<n;t++)if(!O.Y.isISelection(e[t]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(t,e,n)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(e,t=1){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollLeft:e},t)}}setScrollTop(e,t=1){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPosition({scrollTop:e},t)}}setScrollPosition(e,t=1){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPosition(e,t)}saveViewState(){if(!this._modelData)return null;const e={},t=Object.keys(this._contributions);for(const n of t){const t=this._contributions[n];"function"==typeof t.saveViewState&&(e[n]=t.saveViewState())}return{cursorState:this._modelData.viewModel.saveCursorState(),viewState:this._modelData.viewModel.saveState(),contributionsState:e}}restoreViewState(e){if(!this._modelData||!this._modelData.hasRealView)return;const t=e;if(t&&t.cursorState&&t.viewState){const e=t.cursorState;Array.isArray(e)?e.length>0&&this._modelData.viewModel.restoreCursorState(e):this._modelData.viewModel.restoreCursorState([e]);const n=t.contributionsState||{},i=Object.keys(this._contributions);for(let e=0,t=i.length;e<t;e++){const t=i[e],o=this._contributions[t];"function"==typeof o.restoreViewState&&o.restoreViewState(n[t])}const o=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(o)}}getContribution(e){return this._contributions[e]||null}getActions(){const e=[],t=Object.keys(this._actions);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._actions[i])}return e}getSupportedActions(){let e=this.getActions();return e=e.filter((e=>e.isSupported())),e}getAction(e){return this._actions[e]||null}trigger(e,t,n){switch(n=n||{},t){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(e);case"type":{const t=n;return void this._type(e,t.text||"")}case"replacePreviousChar":{const t=n;return void this._compositionType(e,t.text||"",t.replaceCharCnt||0,0,0)}case"compositionType":{const t=n;return void this._compositionType(e,t.text||"",t.replacePrevCharCnt||0,t.replaceNextCharCnt||0,t.positionDelta||0)}case"paste":{const t=n;return void this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null)}case"cut":return void this._cut(e)}const i=this.getAction(t);i?Promise.resolve(i.run()).then(void 0,h.dL):this._modelData&&(this._triggerEditorCommand(e,t,n)||this._triggerCommand(t,n))}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,n,i,o){this._modelData&&this._modelData.viewModel.compositionType(t,n,i,o,e)}_paste(e,t,n,i,o){if(!this._modelData||0===t.length)return;const r=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(t,n,i,e);const a=this._modelData.viewModel.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new Se.e(r.lineNumber,r.column,a.lineNumber,a.column),languageId:o})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,n){const i=o.Uc.getEditorCommand(t);return!!i&&((n=n||{}).source=e,this._instantiationService.invokeFunction((e=>{Promise.resolve(i.runEditorCommand(e,this,n)).then(void 0,h.dL)})),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&!this._configuration.options.get(81)&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!!this._modelData&&!this._configuration.options.get(81)&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,n){if(!this._modelData)return!1;if(this._configuration.options.get(81))return!1;let i;return i=n?Array.isArray(n)?()=>n:n:()=>null,this._modelData.viewModel.executeEdits(e,t,i),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,(0,x.$J)(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,(0,x.$J)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){const t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){return this._configuration.options.get(131)}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeContainer(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){const t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}}removeContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){const t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}}removeOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;const n=this._modelData.model.validatePosition(t),i=this._configuration.options,o=i.get(131);return{top:e._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+o.glyphMarginWidth+o.lineNumbersWidth+o.decorationsWidth-this.getScrollLeft(),height:i.get(59)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){(0,rt.N)(e,this._configuration.options.get(44))}setBanner(e,t){this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),this._bannerDomNode=e,this._configuration.setReservedHeight(e?t:0),this._bannerDomNode&&this._domElement.prepend(this._bannerDomNode)}_attachModel(e){if(!e)return void(this._modelData=null);const t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageId()),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setModelLineCount(e.getLineCount()),e.onBeforeAttached();const n=new cr(this._id,this._configuration,e,Tr.create(),yr.create(this._configuration.options),(e=>u.jL(e)),this.languageConfigurationService,this._themeService);t.push(e.onDidChangeDecorations((e=>this._onDidChangeModelDecorations.fire(e)))),t.push(e.onDidChangeLanguage((t=>{this._domElement.setAttribute("data-mode-id",e.getLanguageId()),this._onDidChangeModelLanguage.fire(t)}))),t.push(e.onDidChangeLanguageConfiguration((e=>this._onDidChangeModelLanguageConfiguration.fire(e)))),t.push(e.onDidChangeContent((e=>this._onDidChangeModelContent.fire(e)))),t.push(e.onDidChangeOptions((e=>this._onDidChangeModelOptions.fire(e)))),t.push(e.onWillDispose((()=>this.setModel(null)))),t.push(n.onEvent((e=>{switch(e.kind){case 0:this._onDidContentSizeChange.fire(e);break;case 1:this._editorTextFocus.setValue(e.hasFocus);break;case 2:this._onDidScrollChange.fire(e);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidChangeHiddenAreas.fire();break;case 5:this._onDidAttemptReadOnlyEdit.fire();break;case 6:{e.reachedMaxCursorCount&&this._notificationService.warn(d.N("cursors.maximum","The number of cursors has been limited to {0}.",No.MAX_CURSOR_COUNT));const t=[];for(let n=0,i=e.selections.length;n<i;n++)t[n]=e.selections[n].getPosition();const n={position:t[0],secondaryPositions:t.slice(1),reason:e.reason,source:e.source};this._onDidChangeCursorPosition.fire(n);const i={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};this._onDidChangeCursorSelection.fire(i);break}}})));const[i,o]=this._createView(n);if(o){this._domElement.appendChild(i.domNode.domNode);let t=Object.keys(this._contentWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];i.addContentWidget(this._contentWidgets[n])}t=Object.keys(this._overlayWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];i.addOverlayWidget(this._overlayWidgets[n])}i.render(!1,!0),i.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new zr(e,n,i,o,t)}_createView(e){let t;t=this.isSimpleWidget?{paste:(e,t,n,i)=>{this._paste("keyboard",e,t,n,i)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,n,i)=>{this._compositionType("keyboard",e,t,n,i)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,n,i)=>{const o={text:e,pasteOnNewLine:t,multicursorText:n,mode:i};this._commandService.executeCommand("paste",o)},type:e=>{const t={text:e};this._commandService.executeCommand("type",t)},compositionType:(e,t,n,i)=>{if(n||i){const o={text:e,replacePrevCharCnt:t,replaceNextCharCnt:n,positionDelta:i};this._commandService.executeCommand("compositionType",o)}else{const n={text:e,replaceCharCnt:t};this._commandService.executeCommand("replacePreviousChar",n)}},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const n=new bn(e.coordinatesConverter);return n.onKeyDown=e=>this._onKeyDown.fire(e),n.onKeyUp=e=>this._onKeyUp.fire(e),n.onContextMenu=e=>this._onContextMenu.fire(e),n.onMouseMove=e=>this._onMouseMove.fire(e),n.onMouseLeave=e=>this._onMouseLeave.fire(e),n.onMouseDown=e=>this._onMouseDown.fire(e),n.onMouseUp=e=>this._onMouseUp.fire(e),n.onMouseDrag=e=>this._onMouseDrag.fire(e),n.onMouseDrop=e=>this._onMouseDrop.fire(e),n.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),n.onMouseWheel=e=>this._onMouseWheel.fire(e),[new Zi(t,this._configuration,this._themeService.getColorTheme(),e,n,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),e}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}};Vr=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Rr(3,hr.TG),Rr(4,B.$),Rr(5,ur.Hy),Rr(6,sn.i6),Rr(7,ct.XE),Rr(8,fr.lT),Rr(9,k.F),Rr(10,Ut.c_),Rr(11,Fr.p)],Vr);class Wr extends f.JT{constructor(){super(),this._onDidChangeToTrue=this._register(new p.Q5),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new p.Q5),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){const t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class Hr extends f.JT{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=an.u.editorSimpleInput.bindTo(t),this._editorFocus=an.u.focus.bindTo(t),this._textInputFocus=an.u.textInputFocus.bindTo(t),this._editorTextFocus=an.u.editorTextFocus.bindTo(t),this._editorTabMovesFocus=an.u.tabMovesFocus.bindTo(t),this._editorReadonly=an.u.readOnly.bindTo(t),this._inDiffEditor=an.u.inDiffEditor.bindTo(t),this._editorColumnSelection=an.u.columnSelection.bindTo(t),this._hasMultipleSelections=an.u.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=an.u.hasNonEmptySelection.bindTo(t),this._canUndo=an.u.canUndo.bindTo(t),this._canRedo=an.u.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration((()=>this._updateFromConfig()))),this._register(this._editor.onDidChangeCursorSelection((()=>this._updateFromSelection()))),this._register(this._editor.onDidFocusEditorWidget((()=>this._updateFromFocus()))),this._register(this._editor.onDidBlurEditorWidget((()=>this._updateFromFocus()))),this._register(this._editor.onDidFocusEditorText((()=>this._updateFromFocus()))),this._register(this._editor.onDidBlurEditorText((()=>this._updateFromFocus()))),this._register(this._editor.onDidChangeModel((()=>this._updateFromModel()))),this._register(this._editor.onDidChangeConfiguration((()=>this._updateFromModel()))),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(130)),this._editorReadonly.set(e.get(81)),this._inDiffEditor.set(e.get(54)),this._editorColumnSelection.set(e.get(18))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some((e=>!e.isEmpty())))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class Ur extends f.JT{constructor(e,t,n){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=n,this._langId=an.u.languageId.bindTo(t),this._hasCompletionItemProvider=an.u.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=an.u.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=an.u.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=an.u.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=an.u.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=an.u.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=an.u.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=an.u.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=an.u.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=an.u.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=an.u.hasReferenceProvider.bindTo(t),this._hasRenameProvider=an.u.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=an.u.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=an.u.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=an.u.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=an.u.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=an.u.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=an.u.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=an.u.isInWalkThroughSnippet.bindTo(t);const i=()=>this._update();this._register(e.onDidChangeModel(i)),this._register(e.onDidChangeModelLanguage(i)),this._register(n.completionProvider.onDidChange(i)),this._register(n.codeActionProvider.onDidChange(i)),this._register(n.codeLensProvider.onDidChange(i)),this._register(n.definitionProvider.onDidChange(i)),this._register(n.declarationProvider.onDidChange(i)),this._register(n.implementationProvider.onDidChange(i)),this._register(n.typeDefinitionProvider.onDidChange(i)),this._register(n.hoverProvider.onDidChange(i)),this._register(n.documentHighlightProvider.onDidChange(i)),this._register(n.documentSymbolProvider.onDidChange(i)),this._register(n.referenceProvider.onDidChange(i)),this._register(n.renameProvider.onDidChange(i)),this._register(n.documentFormattingEditProvider.onDidChange(i)),this._register(n.documentRangeFormattingEditProvider.onDidChange(i)),this._register(n.signatureHelpProvider.onDidChange(i)),this._register(n.inlayHintsProvider.onDidChange(i)),i()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents((()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()}))}_update(){const e=this._editor.getModel();e?this._contextKeyService.bufferChangeEvents((()=>{this._langId.set(e.getLanguageId()),this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(e)),this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(e)),this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(e)),this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(e)),this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(e)),this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(e)),this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(e)),this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(e)),this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(e)),this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(e)),this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(e)),this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(e)),this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(e)),this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(e)),this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(e)||this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(e)),this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(e).length+this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(e).length>1),this._isInWalkThrough.set(e.uri.scheme===g.lg.walkThroughSnippet)})):this.reset()}}class Qr extends f.JT{constructor(e){super(),this._onChange=this._register(new p.Q5),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(u.go(e)),this._register(this._domFocusTracker.onDidFocus((()=>{this._hasFocus=!0,this._onChange.fire(void 0)}))),this._register(this._domFocusTracker.onDidBlur((()=>{this._hasFocus=!1,this._onChange.fire(void 0)})))}hasFocus(){return this._hasFocus}}const Gr=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Kr=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Yr(e){return Gr+encodeURIComponent(e.toString())+Kr}const $r=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Jr=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');(0,ct.Ic)(((e,t)=>{const n=e.getColor(V.b6y);n&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${n}; }`);const i=e.getColor(V.lXJ);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${Yr(i)}") repeat-x bottom left; }`);const o=e.getColor(V.L_H);o&&t.addRule(`.monaco-editor .squiggly-error::before { display: block; content: ''; width: 100%; height: 100%; background: ${o}; }`);const r=e.getColor(V.pW3);r&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${r}; }`);const a=e.getColor(V.uoC);a&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${Yr(a)}") repeat-x bottom left; }`);const s=e.getColor(V.gpD);s&&t.addRule(`.monaco-editor .squiggly-warning::before { display: block; content: ''; width: 100%; height: 100%; background: ${s}; }`);const l=e.getColor(V.T83);l&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${l}; }`);const c=e.getColor(V.c63);c&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${Yr(c)}") repeat-x bottom left; }`);const d=e.getColor(V.few);d&&t.addRule(`.monaco-editor .squiggly-info::before { display: block; content: ''; width: 100%; height: 100%; background: ${d}; }`);const u=e.getColor(V.fEB);u&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${u}; }`);const h=e.getColor(V.Dut);h&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${function(e){return $r+encodeURIComponent(e.toString())+Jr}(h)}") no-repeat bottom left; }`);const p=e.getColor(lt.zu);p&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${p.rgba.a}; }`);const f=e.getColor(lt.kp);f&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${f}; }`);const g=e.getColor(V.NOs)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${g}}`)}))},7651:(e,t,n)=>{n.d(t,{$J:()=>N,BH:()=>F,Bb:()=>d,Bc:()=>O,LJ:()=>u,NY:()=>C,O7:()=>v,Zc:()=>_,d2:()=>E,gk:()=>D,hL:()=>B,n0:()=>k,rk:()=>p,y0:()=>c});var i=n(9606),o=n(1204),r=n(318),a=n(6918),s=n(5440),l=n(3800);const c=8;class d{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class u{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class h{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 p{constructor(e,t){this.newValue=e,this.didChange=t}}function f(e,t){if("object"!=typeof e||"object"!=typeof t||!e||!t)return new p(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const n=Array.isArray(e)&&Array.isArray(t)&&a.fS(e,t);return new p(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 p(e,n)}class g{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 v(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}class b extends m{constructor(e,t,n,i){void 0!==i&&(i.type="boolean",i.default=n),super(e,t,n,i)}validate(e){return v(e,this.defaultValue)}}function _(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 y extends m{constructor(e,t,n,i,o,r){void 0!==r&&(r.type="integer",r.default=n,r.minimum=i,r.maximum=o),super(e,t,n,r),this.minimum=i,this.maximum=o}static clampedInt(e,t,n,i){return _(e,t,n,i)}validate(e){return y.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class A extends m{constructor(e,t,n,i,o){void 0!==o&&(o.type="number",o.default=n),super(e,t,n,o),this.validationFn=i}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}validate(e){return this.validationFn(A.float(e,this.defaultValue))}}class w extends m{static string(e,t){return"string"!=typeof e?t:e}constructor(e,t,n,i){void 0!==i&&(i.type="string",i.default=n),super(e,t,n,i)}validate(e){return w.string(e,this.defaultValue)}}function C(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e}class x extends m{constructor(e,t,n,i,o){void 0!==o&&(o.type="string",o.enum=i,o.default=n),super(e,t,n,o),this._allowedValues=i}validate(e){return C(e,this.defaultValue,this._allowedValues)}}class S extends h{constructor(e,t,n,i,o,r,a){void 0!==a&&(a.type="string",a.enum=o,a.default=i),super(e,t,n,a),this._allowedValues=o,this._convert=r}validate(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var E;!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"}(E||(E={}));class k extends h{constructor(){super(45,"fontLigatures",k.OFF,{anyOf:[{type:"boolean",description:i.N("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:i.N("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:i.N("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?k.OFF:"true"===e?k.ON:e:Boolean(e)?k.ON:k.OFF}}k.OFF='"liga" off, "calt" off',k.ON='"liga" on, "calt" on';class M extends h{constructor(){super(47,"fontWeight",B.fontWeight,{anyOf:[{type:"number",minimum:M.MINIMUM_VALUE,maximum:M.MAXIMUM_VALUE,errorMessage:i.N("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:B.fontWeight,description:i.N("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(y.clampedInt(e,B.fontWeight,M.MINIMUM_VALUE,M.MAXIMUM_VALUE))}}M.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],M.MINIMUM_VALUE=1,M.MAXIMUM_VALUE=1e3;class D extends g{constructor(){super(131)}compute(e,t,n){return D.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})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:Math.floor(e.viewLineCount/i)}}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 r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,s=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,u=e.minimap.renderCharacters;let h=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const p=e.minimap.maxColumn,f=e.minimap.size,g=e.minimap.side,m=e.verticalScrollbarWidth,v=e.viewLineCount,b=e.remainingWidth,_=e.isViewportWrapping,y=u?2:3;let A=Math.floor(o*i);const w=A/o;let C=!1,x=!1,S=y*h,E=h/o,k=1;if("fill"===f||"fit"===f){const{typicalViewportLineCount:n,extraLinesBeyondLastLine:r,desiredRatio:l,minimapLineCount:c}=D.computeContainedMinimapLineCount({viewLineCount:v,scrollBeyondLastLine:d,height:i,lineHeight:s,pixelRatio:o});if(v/c>1)C=!0,x=!0,h=1,S=1,E=h/o;else{let i=!1,c=h+1;if("fit"===f){const e=Math.ceil((v+r)*S);_&&a&&b<=t.stableFitRemainingWidth?(i=!0,c=t.stableFitMaxMinimapScale):i=e>A}if("fill"===f||i){C=!0;const i=h;S=Math.min(s*o,Math.max(1,Math.floor(1/l))),_&&a&&b<=t.stableFitRemainingWidth&&(c=t.stableFitMaxMinimapScale),h=Math.min(c,Math.max(1,Math.floor(S/y))),h>i&&(k=Math.min(2,h/i)),E=h/o/k,A=Math.ceil(Math.max(n,v+r)*S),_?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const M=Math.floor(p*E),N=Math.min(M,Math.max(0,Math.floor((b-m-2)*E/(l+E)))+c);let I=Math.floor(o*N);const T=I/o;return I=Math.floor(I*k),{renderMinimap:u?1:2,minimapLeft:"left"===g?0:n-N-m,minimapWidth:N,minimapHeightIsEditorHeight:C,minimapIsSampling:x,minimapScale:h,minimapLineHeight:S,minimapCanvasInnerWidth:I,minimapCanvasInnerHeight:A,minimapCanvasOuterWidth:T,minimapCanvasOuterHeight:w}}static computeLayout(e,t){const n=0|t.outerWidth,i=0|t.outerHeight,o=0|t.lineHeight,r=0|t.lineNumbersDigitCount,a=t.typicalHalfwidthCharacterWidth,s=t.maxDigitWidth,l=t.pixelRatio,c=t.viewLineCount,d=e.get(123),h="inherit"===d?e.get(122):d,p="inherit"===h?e.get(118):h,f=e.get(121),g=e.get(2),m=t.isDominatedByLongLines,v=e.get(50),b=0!==e.get(60).renderType,_=e.get(61),A=e.get(94),w=e.get(65),C=e.get(92),x=C.verticalScrollbarSize,S=C.verticalHasArrows,E=C.arrowSize,k=C.horizontalScrollbarSize,M=e.get(58),N=e.get(37);let I;if("string"==typeof M&&/^\d+(\.\d+)?ch$/.test(M)){const e=parseFloat(M.substr(0,M.length-2));I=y.clampedInt(e*a,0,0,1e3)}else I=y.clampedInt(M,0,0,1e3);N&&(I+=16);let T=0;if(b){const e=Math.max(r,_);T=Math.round(e*s)}let L=0;v&&(L=o);let B=0,O=B+L,P=O+T,F=P+I;const R=n-L-T-I;let j=!1,z=!1,V=-1;2!==g&&("inherit"===h&&m?(j=!0,z=!0):"on"===p||"bounded"===p?z=!0:"wordWrapColumn"===p&&(V=f));const W=D._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:l,scrollBeyondLastLine:A,minimap:w,verticalScrollbarWidth:x,viewLineCount:c,remainingWidth:R,isViewportWrapping:z},t.memory||new u);0!==W.renderMinimap&&0===W.minimapLeft&&(B+=W.minimapWidth,O+=W.minimapWidth,P+=W.minimapWidth,F+=W.minimapWidth);const H=R-W.minimapWidth,U=Math.max(1,Math.floor((H-x-2)/a)),Q=S?E:0;return z&&(V=Math.max(1,U),"bounded"===p&&(V=Math.min(V,f))),{width:n,height:i,glyphMarginLeft:B,glyphMarginWidth:L,lineNumbersLeft:O,lineNumbersWidth:T,decorationsLeft:P,decorationsWidth:I,contentLeft:F,contentWidth:H,minimap:W,viewportColumn:U,isWordWrapMinified:j,isViewportWrapping:z,wrappingColumn:V,verticalScrollbarWidth:x,horizontalScrollbarHeight:k,overviewRuler:{top:Q,width:x,height:i-2*Q,right:0}}}}function N(e){const t=e.get(87);return"editable"===t?e.get(81):"on"!==t}function I(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}const T="inUntrustedWorkspace";function L(e,t,n){const i=n.indexOf(e);return-1===i?t:n[i]}const B={fontFamily:o.dz?"Menlo, Monaco, 'Courier New', monospace":o.IJ?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:o.dz?12:14,lineHeight:0,letterSpacing:0},O=[];function P(e){return O[e.id]=e,e}const F={acceptSuggestionOnCommitCharacter:P(new b(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:i.N("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:P(new x(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",i.N("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:i.N("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:P(new class extends h{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[i.N("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),i.N("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),i.N("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:i.N("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}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:P(new y(3,"accessibilityPageSize",10,1,1073741824,{description:i.N("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.")})),ariaLabel:P(new w(4,"ariaLabel",i.N("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:P(new x(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.N("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),i.N("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:i.N("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:P(new x(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",i.N("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:i.N("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:P(new x(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",i.N("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:i.N("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:P(new x(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",i.N("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),i.N("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:i.N("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:P(new S(9,"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:[i.N("editor.autoIndent.none","The editor will not insert indentation automatically."),i.N("editor.autoIndent.keep","The editor will keep the current line's indentation."),i.N("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),i.N("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),i.N("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:i.N("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:P(new b(10,"automaticLayout",!1)),autoSurround:P(new x(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[i.N("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),i.N("editor.autoSurround.quotes","Surround with quotes but not brackets."),i.N("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:i.N("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:P(new class extends h{constructor(){const e={enabled:l.D.bracketPairColorizationOptions.enabled};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,description:i.N("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.")}})}validate(e){return e&&"object"==typeof e?{enabled:v(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}),bracketPairGuides:P(new class extends h{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[i.N("editor.guides.bracketPairs.true","Enables bracket pair guides."),i.N("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),i.N("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:i.N("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[i.N("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),i.N("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),i.N("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:i.N("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:i.N("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:i.N("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:"boolean",default:e.highlightActiveIndentation,description:i.N("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:L(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:L(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:v(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:v(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:v(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation)}}}),stickyTabStops:P(new b(104,"stickyTabStops",!1,{description:i.N("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:P(new b(14,"codeLens",!0,{description:i.N("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:P(new w(15,"codeLensFontFamily","",{description:i.N("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:P(new y(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:i.N("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.")})),colorDecorators:P(new b(17,"colorDecorators",!0,{description:i.N("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:P(new b(18,"columnSelection",!1,{description:i.N("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:P(new class extends h{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:i.N("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:i.N("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:v(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:v(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:P(new b(20,"contextmenu",!0)),copyWithSyntaxHighlighting:P(new b(21,"copyWithSyntaxHighlighting",!0,{description:i.N("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:P(new S(22,"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:i.N("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:P(new b(23,"cursorSmoothCaretAnimation",!1,{description:i.N("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:P(new S(24,"cursorStyle",E.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return E.Line;case"block":return E.Block;case"underline":return E.Underline;case"line-thin":return E.LineThin;case"block-outline":return E.BlockOutline;case"underline-thin":return E.UnderlineThin}}),{description:i.N("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:P(new y(25,"cursorSurroundingLines",0,0,1073741824,{description:i.N("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:P(new x(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[i.N("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),i.N("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:i.N("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:P(new y(27,"cursorWidth",0,0,1073741824,{markdownDescription:i.N("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:P(new b(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:P(new b(29,"disableMonospaceOptimizations",!1)),domReadOnly:P(new b(30,"domReadOnly",!1)),dragAndDrop:P(new b(31,"dragAndDrop",!0,{description:i.N("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:P(new class extends b{constructor(){super(32,"emptySelectionClipboard",!0,{description:i.N("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}),extraEditorClassName:P(new w(33,"extraEditorClassName","")),fastScrollSensitivity:P(new A(34,"fastScrollSensitivity",5,(e=>e<=0?5:e),{markdownDescription:i.N("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:P(new class extends h{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(35,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:i.N("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:[i.N("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),i.N("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),i.N("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:i.N("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:[i.N("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),i.N("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),i.N("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:i.N("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:i.N("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:o.dz},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:i.N("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:i.N("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:v(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"==typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":C(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":C(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:v(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:v(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:v(t.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:P(new b(36,"fixedOverflowWidgets",!1)),folding:P(new b(37,"folding",!0,{description:i.N("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:P(new x(38,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[i.N("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),i.N("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:i.N("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:P(new b(39,"foldingHighlight",!0,{description:i.N("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:P(new b(40,"foldingImportsByDefault",!1,{description:i.N("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:P(new y(41,"foldingMaximumRegions",5e3,10,65e3,{description:i.N("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:P(new b(42,"unfoldOnClickAfterEndOfLine",!1,{description:i.N("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:P(new w(43,"fontFamily",B.fontFamily,{description:i.N("fontFamily","Controls the font family.")})),fontInfo:P(new class extends g{constructor(){super(44)}compute(e,t,n){return e.fontInfo}}),fontLigatures2:P(new k),fontSize:P(new class extends m{constructor(){super(46,"fontSize",B.fontSize,{type:"number",minimum:6,maximum:100,default:B.fontSize,description:i.N("fontSize","Controls the font size in pixels.")})}validate(e){const t=A.float(e,this.defaultValue);return 0===t?B.fontSize:A.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}),fontWeight:P(new M),formatOnPaste:P(new b(48,"formatOnPaste",!1,{description:i.N("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:P(new b(49,"formatOnType",!1,{description:i.N("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:P(new b(50,"glyphMargin",!0,{description:i.N("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:P(new class extends h{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[i.N("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),i.N("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),i.N("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(51,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:i.N("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":Object.assign({description:i.N("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:i.N("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:i.N("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:i.N("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:i.N("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:i.N("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:i.N("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:i.N("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:i.N("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:i.N("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,n,i,o,r;if(!e||"object"!=typeof e)return this.defaultValue;const a=e;return{multiple:C(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=a.multipleDefinitions)&&void 0!==t?t:C(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=a.multipleTypeDefinitions)&&void 0!==n?n:C(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=a.multipleDeclarations)&&void 0!==i?i:C(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=a.multipleImplementations)&&void 0!==o?o:C(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=a.multipleReferences)&&void 0!==r?r:C(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:w.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:w.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:w.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:w.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:w.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}),hideCursorInOverviewRuler:P(new b(52,"hideCursorInOverviewRuler",!1,{description:i.N("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:P(new class extends h{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(53,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:i.N("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:i.N("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:i.N("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:i.N("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:v(t.enabled,this.defaultValue.enabled),delay:y.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:v(t.sticky,this.defaultValue.sticky),above:v(t.above,this.defaultValue.above)}}}),inDiffEditor:P(new b(54,"inDiffEditor",!1)),letterSpacing:P(new A(56,"letterSpacing",B.letterSpacing,(e=>A.clamp(e,-5,20)),{description:i.N("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:P(new class extends h{constructor(){const e={enabled:!0};super(57,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:i.N("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:v(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}),lineDecorationsWidth:P(new m(58,"lineDecorationsWidth",10)),lineHeight:P(new class extends A{constructor(){super(59,"lineHeight",B.lineHeight,(e=>A.clamp(e,0,150)),{markdownDescription:i.N("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:P(new class extends h{constructor(){super(60,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[i.N("lineNumbers.off","Line numbers are not rendered."),i.N("lineNumbers.on","Line numbers are rendered as absolute number."),i.N("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),i.N("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:i.N("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:P(new y(61,"lineNumbersMinChars",5,1,300)),linkedEditing:P(new b(62,"linkedEditing",!1,{description:i.N("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:P(new b(63,"links",!0,{description:i.N("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:P(new x(64,"matchBrackets","always",["always","near","never"],{description:i.N("matchBrackets","Highlight matching brackets.")})),minimap:P(new class extends h{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(65,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:i.N("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[i.N("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),i.N("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),i.N("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:i.N("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:i.N("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:i.N("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:i.N("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:i.N("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:i.N("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),size:C(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:C(t.side,this.defaultValue.side,["right","left"]),showSlider:C(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:v(t.renderCharacters,this.defaultValue.renderCharacters),scale:y.clampedInt(t.scale,1,1,3),maxColumn:y.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}),mouseStyle:P(new x(66,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:P(new A(67,"mouseWheelScrollSensitivity",1,(e=>0===e?1:e),{markdownDescription:i.N("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:P(new b(68,"mouseWheelZoom",!1,{markdownDescription:i.N("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:P(new b(69,"multiCursorMergeOverlapping",!0,{description:i.N("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:P(new S(70,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?o.dz?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[i.N("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),i.N("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:i.N({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. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:P(new x(71,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[i.N("multiCursorPaste.spread","Each cursor pastes a single line of the text."),i.N("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:i.N("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:P(new b(72,"occurrencesHighlight",!0,{description:i.N("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:P(new b(73,"overviewRulerBorder",!0,{description:i.N("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:P(new y(74,"overviewRulerLanes",3,0,3)),padding:P(new class extends h{constructor(){super(75,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:i.N("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:i.N("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:y.clampedInt(t.top,0,0,1e3),bottom:y.clampedInt(t.bottom,0,0,1e3)}}}),parameterHints:P(new class extends h{constructor(){const e={enabled:!0,cycle:!1};super(76,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:i.N("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:i.N("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:v(t.enabled,this.defaultValue.enabled),cycle:v(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:P(new x(77,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[i.N("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),i.N("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:i.N("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:P(new b(78,"definitionLinkOpensInPeek",!1,{description:i.N("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:P(new class extends h{constructor(){const e={other:!0,comments:!1,strings:!1};super(79,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:i.N("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:i.N("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:i.N("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:i.N("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){if("boolean"==typeof e)return e;if(e&&"object"==typeof e){const t=e,n={other:v(t.other,this.defaultValue.other),comments:v(t.comments,this.defaultValue.comments),strings:v(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue}}),quickSuggestionsDelay:P(new y(80,"quickSuggestionsDelay",10,0,1073741824,{description:i.N("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:P(new b(81,"readOnly",!1)),renameOnType:P(new b(82,"renameOnType",!1,{description:i.N("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:i.N("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:P(new b(83,"renderControlCharacters",!0,{description:i.N("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:P(new b(84,"renderFinalNewline",!0,{description:i.N("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:P(new x(85,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",i.N("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:i.N("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:P(new b(86,"renderLineHighlightOnlyWhenFocus",!1,{description:i.N("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:P(new x(87,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:P(new x(88,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",i.N("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),i.N("renderWhitespace.selection","Render whitespace characters only on selected text."),i.N("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:i.N("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:P(new y(89,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:P(new b(90,"roundedSelection",!0,{description:i.N("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:P(new class extends h{constructor(){const e=[],t={type:"number",description:i.N("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(91,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:i.N("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:i.N("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(let n of e)if("number"==typeof n)t.push({column:y.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"==typeof n){const e=n;t.push({column:y.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort(((e,t)=>e.column-t.column)),t}return this.defaultValue}}),scrollbar:P(new class extends h{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};super(92,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[i.N("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),i.N("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),i.N("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:i.N("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[i.N("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),i.N("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),i.N("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:i.N("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:i.N("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:i.N("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:i.N("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e,n=y.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=y.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:y.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:I(t.vertical,this.defaultValue.vertical),horizontal:I(t.horizontal,this.defaultValue.horizontal),useShadows:v(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:v(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:v(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:v(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:v(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:y.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:y.clampedInt(t.verticalSliderSize,i,0,1e3),scrollByPage:v(t.scrollByPage,this.defaultValue.scrollByPage)}}}),scrollBeyondLastColumn:P(new y(93,"scrollBeyondLastColumn",5,0,1073741824,{description:i.N("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:P(new b(94,"scrollBeyondLastLine",!0,{description:i.N("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:P(new b(95,"scrollPredominantAxis",!0,{description:i.N("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:P(new b(96,"selectionClipboard",!0,{description:i.N("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:o.IJ})),selectionHighlight:P(new b(97,"selectionHighlight",!0,{description:i.N("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:P(new b(98,"selectOnLineNumbers",!0)),showFoldingControls:P(new x(99,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[i.N("showFoldingControls.always","Always show the folding controls."),i.N("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:i.N("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:P(new b(100,"showUnused",!0,{description:i.N("showUnused","Controls fading out of unused code.")})),showDeprecated:P(new b(126,"showDeprecated",!0,{description:i.N("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:P(new class extends h{constructor(){const e={enabled:!0,fontSize:0,fontFamily:""};super(127,"inlayHints",e,{"editor.inlayHints.enabled":{type:"boolean",default:e.enabled,description:i.N("inlayHints.enable","Enables the inlay hints in the editor.")},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:i.N("inlayHints.fontSize","Controls font size of inlay hints in the editor. A default of 90% of `#editor.fontSize#` is used when the configured value is less than `5` or greater than the editor font size.")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:i.N("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),fontSize:y.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:w.string(t.fontFamily,this.defaultValue.fontFamily)}}}),snippetSuggestions:P(new x(101,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[i.N("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),i.N("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),i.N("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),i.N("snippetSuggestions.none","Do not show snippet suggestions.")],description:i.N("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:P(new class extends h{constructor(){super(102,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:i.N("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:v(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}),smoothScrolling:P(new b(103,"smoothScrolling",!1,{description:i.N("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:P(new y(105,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:P(new class extends h{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!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(106,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[i.N("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),i.N("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:i.N("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:i.N("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:i.N("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:i.N("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:i.N("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:i.N("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:i.N("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:i.N("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:i.N("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:i.N("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:i.N("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:i.N("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:i.N("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{insertMode:C(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:v(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:v(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:v(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:v(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:v(t.showIcons,this.defaultValue.showIcons),showStatusBar:v(t.showStatusBar,this.defaultValue.showStatusBar),preview:v(t.preview,this.defaultValue.preview),previewMode:C(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:v(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:v(t.showMethods,this.defaultValue.showMethods),showFunctions:v(t.showFunctions,this.defaultValue.showFunctions),showConstructors:v(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:v(t.showDeprecated,this.defaultValue.showDeprecated),showFields:v(t.showFields,this.defaultValue.showFields),showVariables:v(t.showVariables,this.defaultValue.showVariables),showClasses:v(t.showClasses,this.defaultValue.showClasses),showStructs:v(t.showStructs,this.defaultValue.showStructs),showInterfaces:v(t.showInterfaces,this.defaultValue.showInterfaces),showModules:v(t.showModules,this.defaultValue.showModules),showProperties:v(t.showProperties,this.defaultValue.showProperties),showEvents:v(t.showEvents,this.defaultValue.showEvents),showOperators:v(t.showOperators,this.defaultValue.showOperators),showUnits:v(t.showUnits,this.defaultValue.showUnits),showValues:v(t.showValues,this.defaultValue.showValues),showConstants:v(t.showConstants,this.defaultValue.showConstants),showEnums:v(t.showEnums,this.defaultValue.showEnums),showEnumMembers:v(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:v(t.showKeywords,this.defaultValue.showKeywords),showWords:v(t.showWords,this.defaultValue.showWords),showColors:v(t.showColors,this.defaultValue.showColors),showFiles:v(t.showFiles,this.defaultValue.showFiles),showReferences:v(t.showReferences,this.defaultValue.showReferences),showFolders:v(t.showFolders,this.defaultValue.showFolders),showTypeParameters:v(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:v(t.showSnippets,this.defaultValue.showSnippets),showUsers:v(t.showUsers,this.defaultValue.showUsers),showIssues:v(t.showIssues,this.defaultValue.showIssues)}}}),inlineSuggest:P(new class extends h{constructor(){const e={enabled:!0,mode:"subwordSmart"};super(55,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:i.N("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),mode:C(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}}}),suggestFontSize:P(new y(107,"suggestFontSize",0,0,1e3,{markdownDescription:i.N("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:P(new y(108,"suggestLineHeight",0,0,1e3,{markdownDescription:i.N("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.")})),suggestOnTriggerCharacters:P(new b(109,"suggestOnTriggerCharacters",!0,{description:i.N("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:P(new x(110,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[i.N("suggestSelection.first","Always select the first suggestion."),i.N("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),i.N("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:i.N("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:P(new x(111,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[i.N("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),i.N("tabCompletion.off","Disable tab completions."),i.N("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:i.N("tabCompletion","Enables tab completions.")})),tabIndex:P(new y(112,"tabIndex",0,-1,1073741824)),unicodeHighlight:P(new class extends h{constructor(){const e={nonBasicASCII:T,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:T,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(113,"unicodeHighlight",e,{"editor.unicodeHighlight.nonBasicASCII":{restricted:!0,type:["boolean","string"],enum:[!0,!1,T],default:e.nonBasicASCII,description:i.N("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.")},"editor.unicodeHighlight.invisibleCharacters":{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:i.N("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},"editor.unicodeHighlight.ambiguousCharacters":{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:i.N("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.")},"editor.unicodeHighlight.includeComments":{restricted:!0,type:["boolean","string"],enum:[!0,!1,T],default:e.includeComments,description:i.N("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")},"editor.unicodeHighlight.includeStrings":{restricted:!0,type:["boolean","string"],enum:[!0,!1,T],default:e.includeStrings,description:i.N("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to unicode highlighting.")},"editor.unicodeHighlight.allowedCharacters":{restricted:!0,type:"object",default:e.allowedCharacters,description:i.N("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},"editor.unicodeHighlight.allowedLocales":{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:i.N("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&(s.fS(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),n=!0)),t.allowedLocales&&(s.fS(e.allowedLocales,t.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),n=!0));const i=super.applyUpdate(e,t);return n?new p(i.newValue,!0):i}validate(e){if(!e||"object"!=typeof e)return this.defaultValue;const t=e;return{nonBasicASCII:L(t.nonBasicASCII,T,[!0,!1,T]),invisibleCharacters:v(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:v(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:L(t.includeComments,T,[!0,!1,T]),includeStrings:L(t.includeStrings,T,[!0,!1,T]),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:P(new x(114,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[i.N("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),i.N("unusualLineTerminators.off","Unusual line terminators are ignored."),i.N("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:i.N("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:P(new b(115,"useShadowDOM",!0)),useTabStops:P(new b(116,"useTabStops",!0,{description:i.N("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:P(new w(117,"wordSeparators",r.vu,{description:i.N("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:P(new x(118,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[i.N("wordWrap.off","Lines will never wrap."),i.N("wordWrap.on","Lines will wrap at the viewport width."),i.N({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),i.N({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:i.N({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:P(new w(119,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;ยขยฐโ€ฒโ€ณโ€ฐโ„ƒใ€ใ€‚๏ฝก๏ฝค๏ฟ ๏ผŒ๏ผŽ๏ผš๏ผ›๏ผŸ๏ผ๏ผ…ใƒป๏ฝฅใ‚ใ‚žใƒฝใƒพใƒผใ‚กใ‚ฃใ‚ฅใ‚งใ‚ฉใƒƒใƒฃใƒฅใƒงใƒฎใƒตใƒถใใƒใ…ใ‡ใ‰ใฃใ‚ƒใ‚…ใ‚‡ใ‚Žใ‚•ใ‚–ใ‡ฐใ‡ฑใ‡ฒใ‡ณใ‡ดใ‡ตใ‡ถใ‡ทใ‡ธใ‡นใ‡บใ‡ปใ‡ผใ‡ฝใ‡พใ‡ฟใ€…ใ€ป๏ฝง๏ฝจ๏ฝฉ๏ฝช๏ฝซ๏ฝฌ๏ฝญ๏ฝฎ๏ฝฏ๏ฝฐโ€ใ€‰ใ€‹ใ€ใ€ใ€‘ใ€•๏ผ‰๏ผฝ๏ฝ๏ฝฃ")),wordWrapBreakBeforeCharacters:P(new w(120,"wordWrapBreakBeforeCharacters","([{โ€˜โ€œใ€ˆใ€Šใ€Œใ€Žใ€ใ€”๏ผˆ๏ผป๏ฝ›๏ฝขยฃยฅ๏ผ„๏ฟก๏ฟฅ+๏ผ‹")),wordWrapColumn:P(new y(121,"wordWrapColumn",80,1,1073741824,{markdownDescription:i.N({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:P(new x(122,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:P(new x(123,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:P(new S(124,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[i.N("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),i.N("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),i.N("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),i.N("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:i.N("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:P(new x(125,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[i.N("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."),i.N("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.")],description:i.N("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:P(new class extends g{constructor(){super(128)}compute(e,t,n){const i=["monaco-editor"];return t.get(33)&&i.push(t.get(33)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(66)?i.push("mouse-default"):"copy"===t.get(66)&&i.push("mouse-copy"),t.get(100)&&i.push("showUnused"),t.get(126)&&i.push("showDeprecated"),i.join(" ")}}),pixelRatio:P(new class extends g{constructor(){super(129)}compute(e,t,n){return e.pixelRatio}}),tabFocusMode:P(new class extends g{constructor(){super(130)}compute(e,t,n){return!!t.get(81)||e.tabFocusMode}}),layoutInfo:P(new D),wrappingInfo:P(new class extends g{constructor(){super(132)}compute(e,t,n){const i=t.get(131);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}})}},4749:(e,t,n)=>{n.d(t,{C:()=>o});var i=n(9914);const o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new i.Q5,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},9326:(e,t,n)=>{n.d(t,{E4:()=>a,pR:()=>s});var i=n(1204),o=n(4749);const r=i.dz?1.5:1.35;class a{constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n){const i=e.get(43),o=e.get(47),r=e.get(46),s=e.get(45),l=e.get(59),c=e.get(56);return a._create(i,o,r,s,l,c,t,n)}static _create(e,t,n,i,s,l,c,d){0===s?s=r*n:s<8&&(s*=n),(s=Math.round(s))<8&&(s=8);const u=1+(d?0:.1*o.C.getZoomLevel());return new a({pixelRatio:c,fontFamily:e,fontWeight:t,fontSize:n*=u,fontFeatureSettings:i,lineHeight:s*=u,letterSpacing:l})}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(e){const t=a._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class s extends a{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=1,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}},7595:(e,t,n)=>{n.d(t,{N:()=>o,q:()=>r});var i=n(9979);class o{constructor(e){const t=(0,i.K)(e);this._defaultValue=t,this._asciiMap=o._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){const n=(0,i.K)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class r{constructor(){this._actual=new o(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},8436:(e,t,n)=>{n.d(t,{i:()=>o});var i=n(8241);class o{static _nextVisibleColumn(e,t,n){return 9===e?o.nextRenderTabStop(t,n):i.K7(e)||i.C8(e)?t+2:t+1}static visibleColumnFromColumn(e,t,n){const o=Math.min(t-1,e.length),r=e.substring(0,o),a=new i.W1(r);let s=0;for(;!a.eol();){const e=i.ZH(r,o,a.offset);a.nextGraphemeLength(),s=this._nextVisibleColumn(e,s,n)}return s}static columnFromVisibleColumn(e,t,n){if(t<=0)return 1;const o=e.length,r=new i.W1(e);let a=0,s=1;for(;!r.eol();){const l=i.ZH(e,o,r.offset);r.nextGraphemeLength();const c=this._nextVisibleColumn(l,a,n),d=r.offset+1;if(c>=t)return c-t<t-a?d:s;a=c,s=d}return o+1}static nextRenderTabStop(e,t){return e+t-e%t}static nextIndentTabStop(e,t){return e+t-e%t}static prevRenderTabStop(e,t){return Math.max(0,e-1-(e-1)%t)}static prevIndentTabStop(e,t){return Math.max(0,e-1-(e-1)%t)}}},5093:(e,t,n)=>{n.d(t,{h:()=>o});var i=n(208);class o{static insert(e,t){return{range:new i.e(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}},5146:(e,t,n)=>{n.d(t,{CE:()=>L,DD:()=>y,DS:()=>z,HV:()=>Y,Jn:()=>W,Kh:()=>s,L7:()=>K,Mm:()=>l,Qb:()=>U,Re:()=>D,To:()=>G,UP:()=>B,Vs:()=>T,YF:()=>H,Ym:()=>v,eS:()=>N,e_:()=>C,f9:()=>$,fY:()=>f,hw:()=>b,kp:()=>S,lK:()=>M,lS:()=>V,m$:()=>j,m1:()=>P,m3:()=>Q,n0:()=>p,oV:()=>R,r0:()=>O,tR:()=>m,ts:()=>F,zJ:()=>I,zk:()=>A,zu:()=>E,zw:()=>w});var i=n(9606),o=n(5738),r=n(3770),a=n(2109);const s=(0,r.P6G)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},i.N("lineHighlight","Background color for the highlight of line at the cursor position.")),l=(0,r.P6G)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},i.N("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),c=(0,r.P6G)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},i.N("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),d=(0,r.P6G)("editor.rangeHighlightBorder",{dark:null,light:null,hc:r.xL1},i.N("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),u=(0,r.P6G)("editor.symbolHighlightBackground",{dark:r.MUv,light:r.MUv,hc:null},i.N("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),h=(0,r.P6G)("editor.symbolHighlightBorder",{dark:null,light:null,hc:r.xL1},i.N("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),p=(0,r.P6G)("editorCursor.foreground",{dark:"#AEAFAD",light:o.Il.black,hc:o.Il.white},i.N("caret","Color of the editor cursor.")),f=(0,r.P6G)("editorCursor.background",null,i.N("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),g=(0,r.P6G)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},i.N("editorWhitespaces","Color of whitespace characters in the editor.")),m=(0,r.P6G)("editorIndentGuide.background",{dark:g,light:g,hc:g},i.N("editorIndentGuides","Color of the editor indentation guides.")),v=(0,r.P6G)("editorIndentGuide.activeBackground",{dark:g,light:g,hc:g},i.N("editorActiveIndentGuide","Color of the active editor indentation guides.")),b=(0,r.P6G)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:o.Il.white},i.N("editorLineNumbers","Color of editor line numbers.")),_=(0,r.P6G)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:r.xL1},i.N("editorActiveLineNumber","Color of editor active line number"),!1,i.N("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),y=(0,r.P6G)("editorLineNumber.activeForeground",{dark:_,light:_,hc:_},i.N("editorActiveLineNumber","Color of editor active line number")),A=(0,r.P6G)("editorRuler.foreground",{dark:"#5A5A5A",light:o.Il.lightgrey,hc:o.Il.white},i.N("editorRuler","Color of the editor rulers.")),w=((0,r.P6G)("editorCodeLens.foreground",{dark:"#999999",light:"#919191",hc:"#999999"},i.N("editorCodeLensForeground","Foreground color of editor CodeLens")),(0,r.P6G)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},i.N("editorBracketMatchBackground","Background color behind matching brackets")),(0,r.P6G)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:r.lRK},i.N("editorBracketMatchBorder","Color for matching brackets boxes")),(0,r.P6G)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},i.N("editorOverviewRulerBorder","Color of the overview ruler border."))),C=(0,r.P6G)("editorOverviewRuler.background",null,i.N("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),x=(0,r.P6G)("editorGutter.background",{dark:r.cvW,light:r.cvW,hc:r.cvW},i.N("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),S=(0,r.P6G)("editorUnnecessaryCode.border",{dark:null,light:null,hc:o.Il.fromHex("#fff").transparent(.8)},i.N("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),E=(0,r.P6G)("editorUnnecessaryCode.opacity",{dark:o.Il.fromHex("#000a"),light:o.Il.fromHex("#0007"),hc:null},i.N("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),k=((0,r.P6G)("editorGhostText.border",{dark:null,light:null,hc:o.Il.fromHex("#fff").transparent(.8)},i.N("editorGhostTextBorder","Border color of ghost text in the editor.")),(0,r.P6G)("editorGhostText.foreground",{dark:o.Il.fromHex("#ffffff56"),light:o.Il.fromHex("#0007"),hc:null},i.N("editorGhostTextForeground","Foreground color of the ghost text in the editor.")),(0,r.P6G)("editorGhostText.background",{dark:null,light:null,hc:null},i.N("editorGhostTextBackground","Background color of the ghost text in the editor.")),new o.Il(new o.VS(0,122,204,.6))),M=((0,r.P6G)("editorOverviewRuler.rangeHighlightForeground",{dark:k,light:k,hc:k},i.N("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),(0,r.P6G)("editorOverviewRuler.errorForeground",{dark:new o.Il(new o.VS(255,18,18,.7)),light:new o.Il(new o.VS(255,18,18,.7)),hc:new o.Il(new o.VS(255,50,50,1))},i.N("overviewRuleError","Overview ruler marker color for errors."))),D=(0,r.P6G)("editorOverviewRuler.warningForeground",{dark:r.uoC,light:r.uoC,hc:r.pW3},i.N("overviewRuleWarning","Overview ruler marker color for warnings.")),N=(0,r.P6G)("editorOverviewRuler.infoForeground",{dark:r.c63,light:r.c63,hc:r.T83},i.N("overviewRuleInfo","Overview ruler marker color for infos.")),I=(0,r.P6G)("editorBracketHighlight.foreground1",{dark:"#FFD700",light:"#0431FAFF",hc:"#FFD700"},i.N("editorBracketHighlightForeground1","Foreground color of brackets (1). Requires enabling bracket pair colorization.")),T=(0,r.P6G)("editorBracketHighlight.foreground2",{dark:"#DA70D6",light:"#319331FF",hc:"#DA70D6"},i.N("editorBracketHighlightForeground2","Foreground color of brackets (2). Requires enabling bracket pair colorization.")),L=(0,r.P6G)("editorBracketHighlight.foreground3",{dark:"#179FFF",light:"#7B3814FF",hc:"#87CEFA"},i.N("editorBracketHighlightForeground3","Foreground color of brackets (3). Requires enabling bracket pair colorization.")),B=(0,r.P6G)("editorBracketHighlight.foreground4",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketHighlightForeground4","Foreground color of brackets (4). Requires enabling bracket pair colorization.")),O=(0,r.P6G)("editorBracketHighlight.foreground5",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketHighlightForeground5","Foreground color of brackets (5). Requires enabling bracket pair colorization.")),P=(0,r.P6G)("editorBracketHighlight.foreground6",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketHighlightForeground6","Foreground color of brackets (6). Requires enabling bracket pair colorization.")),F=(0,r.P6G)("editorBracketHighlight.unexpectedBracket.foreground",{dark:new o.Il(new o.VS(255,18,18,.8)),light:new o.Il(new o.VS(255,18,18,.8)),hc:new o.Il(new o.VS(255,50,50,1))},i.N("editorBracketHighlightUnexpectedBracketForeground","Foreground color of unexpected brackets.")),R=(0,r.P6G)("editorBracketPairGuide.background1",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.background1","Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.")),j=(0,r.P6G)("editorBracketPairGuide.background2",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.background2","Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.")),z=(0,r.P6G)("editorBracketPairGuide.background3",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.background3","Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.")),V=(0,r.P6G)("editorBracketPairGuide.background4",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.background4","Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.")),W=(0,r.P6G)("editorBracketPairGuide.background5",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.background5","Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.")),H=(0,r.P6G)("editorBracketPairGuide.background6",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.background6","Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.")),U=(0,r.P6G)("editorBracketPairGuide.activeBackground1",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.activeBackground1","Background color of active bracket pair guides (1). Requires enabling bracket pair guides.")),Q=(0,r.P6G)("editorBracketPairGuide.activeBackground2",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.activeBackground2","Background color of active bracket pair guides (2). Requires enabling bracket pair guides.")),G=(0,r.P6G)("editorBracketPairGuide.activeBackground3",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.activeBackground3","Background color of active bracket pair guides (3). Requires enabling bracket pair guides.")),K=(0,r.P6G)("editorBracketPairGuide.activeBackground4",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.activeBackground4","Background color of active bracket pair guides (4). Requires enabling bracket pair guides.")),Y=(0,r.P6G)("editorBracketPairGuide.activeBackground5",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.activeBackground5","Background color of active bracket pair guides (5). Requires enabling bracket pair guides.")),$=(0,r.P6G)("editorBracketPairGuide.activeBackground6",{dark:"#00000000",light:"#00000000",hc:"#00000000"},i.N("editorBracketPairGuide.activeBackground6","Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));(0,r.P6G)("editorUnicodeHighlight.border",{dark:"#BD9B03",light:"#CEA33D",hc:"#ff0000"},i.N("editorUnicodeHighlight.border","Border color used to highlight unicode characters.")),(0,a.Ic)(((e,t)=>{const n=e.getColor(r.cvW);n&&t.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${n}; }`);const i=e.getColor(r.NOs);i&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${i}; }`);const o=e.getColor(x);o&&t.addRule(`.monaco-editor .margin { background-color: ${o}; }`);const a=e.getColor(c);a&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${a}; }`);const s=e.getColor(d);s&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${s}; }`);const l=e.getColor(u);l&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${l}; }`);const p=e.getColor(h);p&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${p}; }`);const f=e.getColor(g);f&&(t.addRule(`.monaco-editor .mtkw { color: ${f} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${f} !important; }`))}))},8651:(e,t,n)=>{function i(e){let t=0,n=0,i=0,o=0;for(let r=0,a=e.length;r<a;r++){const s=e.charCodeAt(r);13===s?(0===t&&(n=r),t++,r+1<a&&10===e.charCodeAt(r+1)?(o|=2,r++):o|=3,i=r+1):10===s&&(o|=1,0===t&&(n=r),t++,i=r+1)}return 0===t&&(n=e.length),[t,n,e.length-i,o]}n.d(t,{Q:()=>i})},3250:(e,t,n)=>{n.d(t,{x:()=>o});var i=n(8241);function o(e,t,n){let o=i.LC(e);return-1===o&&(o=e.length),function(e,t,n){let i=0;for(let n=0;n<e.length;n++)"\t"===e.charAt(n)?i+=t:i++;let o="";if(!n){const e=Math.floor(i/t);i%=t;for(let t=0;t<e;t++)o+="\t"}for(let e=0;e<i;e++)o+=" ";return o}(e.substring(0,o),t,n)+e.substring(o)}},873:(e,t,n)=>{n.d(t,{L:()=>i});class i{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new i(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return i.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return i.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return i.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){const n=0|e.lineNumber,i=0|t.lineNumber;return n===i?(0|e.column)-(0|t.column):n-i}clone(){return new i(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new i(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}},208:(e,t,n)=>{n.d(t,{e:()=>o});var i=n(873);class o{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return o.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return o.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<e.startColumn||t.lineNumber===e.endLineNumber&&t.column>e.endColumn)}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<=e.startColumn||t.lineNumber===e.endLineNumber&&t.column>=e.endColumn)}containsRange(e){return o.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)}strictContainsRange(e){return o.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return o.plusRange(this,e)}static plusRange(e,t){let n,i,r,a;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(r=t.endLineNumber,a=t.endColumn):t.endLineNumber===e.endLineNumber?(r=t.endLineNumber,a=Math.max(t.endColumn,e.endColumn)):(r=e.endLineNumber,a=e.endColumn),new o(n,i,r,a)}intersectRanges(e){return o.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,r=e.endLineNumber,a=e.endColumn,s=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return n<s?(n=s,i=l):n===s&&(i=Math.max(i,l)),r>c?(r=c,a=d):r===c&&(a=Math.min(a,d)),n>r||n===r&&i>a?null:new o(n,i,r,a)}equalsRange(e){return o.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return o.getEndPosition(this)}static getEndPosition(e){return new i.L(e.endLineNumber,e.endColumn)}getStartPosition(){return o.getStartPosition(this)}static getStartPosition(e){return new i.L(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new o(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new o(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return o.collapseToStart(this)}static collapseToStart(e){return new o(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;return n===i?(0|e.endColumn)-(0|t.endColumn):n-i}return n-i}return n-i}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}}},2623:(e,t,n)=>{n.d(t,{Y:()=>r});var i=n(873),o=n(208);class r extends o.e{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return r.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new r(this.startLineNumber,this.startColumn,e,t):new r(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new i.L(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new i.L(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new r(e,t,this.endLineNumber,this.endColumn):new r(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new r(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new r(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new r(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new r(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,i,o){return 0===o?new r(e,t,n,i):new r(n,i,e,t)}}},6748:(e,t,n)=>{n.d(t,{kH:()=>p,l$:()=>h,lZ:()=>u,oe:()=>d});var i=n(8241),o=n(1204),r=n(578);let a,s,l;function c(){return a||(a=new TextDecoder("UTF-16LE")),a}function d(){return l||(l=o.r()?c():(s||(s=new TextDecoder("UTF-16BE")),s)),l}const u="undefined"!=typeof TextDecoder;let h,p;function f(e,t,n){const i=[];let o=0;for(let a=0;a<n;a++){const n=r.mP(e,t);t+=2,i[o++]=String.fromCharCode(n)}return i.join("")}u?(h=e=>new g(e),p=function(e,t,n){const i=new Uint16Array(e.buffer,t,n);return n>0&&(65279===i[0]||65534===i[0])?f(e,t,n):c().decode(i)}):(h=e=>new m,p=f);class g{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return d().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||i.ZG(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class m{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}},7565:(e,t,n)=>{n.d(t,{b:()=>s,q:()=>a});var i=n(578),o=n(6748);function r(e){return e.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class a{constructor(e,t,n,i){this.oldPosition=e,this.oldText=t,this.newPosition=n,this.newText=i}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${r(this.newText)}")`:0===this.newText.length?`(delete@${this.oldPosition} "${r(this.oldText)}")`:`(replace@${this.oldPosition} "${r(this.oldText)}" with "${r(this.newText)}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,n){const o=t.length;i.T4(e,o,n),n+=4;for(let r=0;r<o;r++)i.oq(e,t.charCodeAt(r),n),n+=2;return n}static _readString(e,t){const n=i.Ag(e,t);return t+=4,(0,o.kH)(e,t,n)}writeSize(){return 8+a._writeStringSize(this.oldText)+a._writeStringSize(this.newText)}write(e,t){return i.T4(e,this.oldPosition,t),t+=4,i.T4(e,this.newPosition,t),t+=4,t=a._writeString(e,this.oldText,t),a._writeString(e,this.newText,t)}static read(e,t,n){const o=i.Ag(e,t);t+=4;const r=i.Ag(e,t);t+=4;const s=a._readString(e,t);t+=a._writeStringSize(s);const l=a._readString(e,t);return t+=a._writeStringSize(l),n.push(new a(o,s,r,l)),t}}function s(e,t){return null===e||0===e.length?t:new l(e,t).compress()}class l{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,n=this._getPrev(e),i=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){if(null===n){this._acceptCurr(i),i=this._getCurr(++t);continue}if(null===i){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldEnd<=n.newPosition){this._acceptCurr(i),i=this._getCurr(++t);continue}if(n.newEnd<=i.oldPosition){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldPosition<n.newPosition){const[e,t]=l._splitCurr(i,n.newPosition-i.oldPosition);this._acceptCurr(e),i=t;continue}if(n.newPosition<i.oldPosition){const[e,t]=l._splitPrev(n,i.oldPosition-n.newPosition);this._acceptPrev(e),n=t;continue}let o,r;if(i.oldEnd===n.newEnd)o=n,r=i,n=this._getPrev(++e),i=this._getCurr(++t);else if(i.oldEnd<n.newEnd){const[e,a]=l._splitPrev(n,i.oldLength);o=e,r=i,n=a,i=this._getCurr(++t)}else{const[t,a]=l._splitCurr(i,n.newLength);o=n,r=t,n=this._getPrev(++e),i=a}this._result[this._resultLen++]=new a(o.oldPosition,o.oldText,r.newPosition,r.newText),this._prevDeltaOffset+=o.newLength-o.oldLength,this._currDeltaOffset+=r.newLength-r.oldLength}const o=l._merge(this._result);return l._removeNoOps(o)}_acceptCurr(e){this._result[this._resultLen++]=l._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=l._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new a(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new a(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const n=e.newText.substr(0,t),i=e.newText.substr(t);return[new a(e.oldPosition,e.oldText,e.newPosition,n),new a(e.oldEnd,"",e.newPosition+t,i)]}static _splitCurr(e,t){const n=e.oldText.substr(0,t),i=e.oldText.substr(t);return[new a(e.oldPosition,n,e.newPosition,e.newText),new a(e.oldPosition+t,i,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;const t=[];let n=0,i=e[0];for(let o=1;o<e.length;o++){const r=e[o];i.oldEnd===r.oldPosition?i=new a(i.oldPosition,i.oldText+r.oldText,i.newPosition,i.newText+r.newText):(t[n++]=i,i=r)}return t[n++]=i,t}static _removeNoOps(e){if(0===e.length)return e;const t=[];let n=0;for(let i=0;i<e.length;i++){const o=e[i];o.oldText!==o.newText&&(t[n++]=o)}return t}}},3800:(e,t,n)=>{n.d(t,{D:()=>i});const i={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!1}}},9138:(e,t,n)=>{n.d(t,{u:()=>r});var i=n(7595);class o extends i.N{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}const r=function(e){const t={};return e=>(t.hasOwnProperty(e)||(t[e]=(e=>new o(e))(e)),t[e])}()},318:(e,t,n)=>{n.d(t,{Af:()=>o,eq:()=>r,t2:()=>s,vu:()=>i});const i="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",o=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of i)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function r(e){let t=o;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 a={maxLen:1e3,windowSize:15,timeBudget:150};function s(e,t,n,i,o=a){if(n.length>o.maxLen){let r=e-o.maxLen/2;return r<0?r=0:i+=r,s(e,t,n=n.substring(r,e+o.maxLen/2),i,o)}const r=Date.now(),c=e-1-i;let d=-1,u=null;for(let e=1;!(Date.now()-r>=o.timeBudget);e++){const i=c-o.windowSize*e;t.lastIndex=Math.max(0,i);const r=l(t,n,c,d);if(!r&&u)break;if(u=r,i<=0)break;d=i}if(u){const e={word:u[0],startColumn:i+1+u.index,endColumn:i+1+u.index+u[0].length};return t.lastIndex=0,e}return null}function l(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}},6171:(e,t,n)=>{n.d(t,{p:()=>i});class i{constructor(e,t,n,i,o,r){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=o,this._contextKeyService=r}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},353:(e,t,n)=>{n.d(t,{g:()=>i});const i={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},3724:(e,t,n)=>{n.d(t,{u:()=>i});var i,o=n(9606),r=n(4210);!function(e){e.editorSimpleInput=new r.uy("editorSimpleInput",!1,!0),e.editorTextFocus=new r.uy("editorTextFocus",!1,o.N("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),e.focus=new r.uy("editorFocus",!1,o.N("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),e.textInputFocus=new r.uy("textInputFocus",!1,o.N("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),e.readOnly=new r.uy("editorReadonly",!1,o.N("editorReadonly","Whether the editor is read only")),e.inDiffEditor=new r.uy("inDiffEditor",!1,o.N("inDiffEditor","Whether the context is a diff editor")),e.columnSelection=new r.uy("editorColumnSelection",!1,o.N("editorColumnSelection","Whether `editor.columnSelection` is enabled")),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new r.uy("editorHasSelection",!1,o.N("editorHasSelection","Whether the editor has text selected")),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new r.uy("editorHasMultipleSelections",!1,o.N("editorHasMultipleSelections","Whether the editor has multiple selections")),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new r.uy("editorTabMovesFocus",!1,o.N("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInWalkThroughSnippet=new r.uy("isInEmbeddedEditor",!1,!0),e.canUndo=new r.uy("canUndo",!1,!0),e.canRedo=new r.uy("canRedo",!1,!0),e.hoverVisible=new r.uy("editorHoverVisible",!1,o.N("editorHoverVisible","Whether the editor hover is visible")),e.inCompositeEditor=new r.uy("inCompositeEditor",void 0,o.N("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),e.notInCompositeEditor=e.inCompositeEditor.toNegated(),e.languageId=new r.uy("editorLangId","",o.N("editorLangId","The language identifier of the editor")),e.hasCompletionItemProvider=new r.uy("editorHasCompletionItemProvider",!1,o.N("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),e.hasCodeActionsProvider=new r.uy("editorHasCodeActionsProvider",!1,o.N("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),e.hasCodeLensProvider=new r.uy("editorHasCodeLensProvider",!1,o.N("editorHasCodeLensProvider","Whether the editor has a code lens provider")),e.hasDefinitionProvider=new r.uy("editorHasDefinitionProvider",!1,o.N("editorHasDefinitionProvider","Whether the editor has a definition provider")),e.hasDeclarationProvider=new r.uy("editorHasDeclarationProvider",!1,o.N("editorHasDeclarationProvider","Whether the editor has a declaration provider")),e.hasImplementationProvider=new r.uy("editorHasImplementationProvider",!1,o.N("editorHasImplementationProvider","Whether the editor has an implementation provider")),e.hasTypeDefinitionProvider=new r.uy("editorHasTypeDefinitionProvider",!1,o.N("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),e.hasHoverProvider=new r.uy("editorHasHoverProvider",!1,o.N("editorHasHoverProvider","Whether the editor has a hover provider")),e.hasDocumentHighlightProvider=new r.uy("editorHasDocumentHighlightProvider",!1,o.N("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),e.hasDocumentSymbolProvider=new r.uy("editorHasDocumentSymbolProvider",!1,o.N("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),e.hasReferenceProvider=new r.uy("editorHasReferenceProvider",!1,o.N("editorHasReferenceProvider","Whether the editor has a reference provider")),e.hasRenameProvider=new r.uy("editorHasRenameProvider",!1,o.N("editorHasRenameProvider","Whether the editor has a rename provider")),e.hasSignatureHelpProvider=new r.uy("editorHasSignatureHelpProvider",!1,o.N("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),e.hasInlayHintsProvider=new r.uy("editorHasInlayHintsProvider",!1,o.N("editorHasInlayHintsProvider","Whether the editor has an inline hints provider")),e.hasDocumentFormattingProvider=new r.uy("editorHasDocumentFormattingProvider",!1,o.N("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),e.hasDocumentSelectionFormattingProvider=new r.uy("editorHasDocumentSelectionFormattingProvider",!1,o.N("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),e.hasMultipleDocumentFormattingProvider=new r.uy("editorHasMultipleDocumentFormattingProvider",!1,o.N("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),e.hasMultipleDocumentSelectionFormattingProvider=new r.uy("editorHasMultipleDocumentSelectionFormattingProvider",!1,o.N("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))}(i||(i={}))},2842:(e,t,n)=>{n.d(t,{gX:()=>s,DI:()=>b,AD:()=>_,WU:()=>m,NX:()=>g,RW:()=>y,hG:()=>v}),n(6283);var i=n(9914),o=n(5666),r=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class a extends o.JT{constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return r(this,void 0,void 0,(function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}))}_create(){return r(this,void 0,void 0,(function*(){const e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}))}}var s,l,c,d,u,h,p,f=n(3641);class g{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static getFontStyle(e){return(15360&e)>>>10}static getForeground(e){return(8372224&e)>>>14}static getBackground(e){return(4286578688&e)>>>23}static getClassNameFromMetadata(e){let t="mtk"+this.getForeground(e);const n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),8&n&&(t+=" mtks"),t}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),i=this.getFontStyle(e);let o=`color: ${t[n]};`;1&i&&(o+="font-style: italic;"),2&i&&(o+="font-weight: bold;");let r="";return 4&i&&(r+=" underline"),8&i&&(r+=" line-through"),r&&(o+=`text-decoration:${r};`),o}static getPresentationFromMetadata(e){const t=this.getForeground(e),n=this.getFontStyle(e);return{foreground:t,italic:Boolean(1&n),bold:Boolean(2&n),underline:Boolean(4&n),strikethrough:Boolean(8&n)}}}class m{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class v{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class b{constructor(e,t){this._encodedTokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}!function(e){const t=new Map;t.set(0,f.lA.symbolMethod),t.set(1,f.lA.symbolFunction),t.set(2,f.lA.symbolConstructor),t.set(3,f.lA.symbolField),t.set(4,f.lA.symbolVariable),t.set(5,f.lA.symbolClass),t.set(6,f.lA.symbolStruct),t.set(7,f.lA.symbolInterface),t.set(8,f.lA.symbolModule),t.set(9,f.lA.symbolProperty),t.set(10,f.lA.symbolEvent),t.set(11,f.lA.symbolOperator),t.set(12,f.lA.symbolUnit),t.set(13,f.lA.symbolValue),t.set(15,f.lA.symbolEnum),t.set(14,f.lA.symbolConstant),t.set(15,f.lA.symbolEnum),t.set(16,f.lA.symbolEnumMember),t.set(17,f.lA.symbolKeyword),t.set(27,f.lA.symbolSnippet),t.set(18,f.lA.symbolText),t.set(19,f.lA.symbolColor),t.set(20,f.lA.symbolFile),t.set(21,f.lA.symbolReference),t.set(22,f.lA.symbolCustomColor),t.set(23,f.lA.symbolFolder),t.set(24,f.lA.symbolTypeParameter),t.set(25,f.lA.account),t.set(26,f.lA.issues),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=f.lA.symbolProperty),n};const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){let i=n.get(e);return void 0!==i||t||(i=9),i}}(s||(s={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(l||(l={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(c||(c={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){const t=new Map;t.set(0,f.lA.symbolFile),t.set(1,f.lA.symbolModule),t.set(2,f.lA.symbolNamespace),t.set(3,f.lA.symbolPackage),t.set(4,f.lA.symbolClass),t.set(5,f.lA.symbolMethod),t.set(6,f.lA.symbolProperty),t.set(7,f.lA.symbolField),t.set(8,f.lA.symbolConstructor),t.set(9,f.lA.symbolEnum),t.set(10,f.lA.symbolInterface),t.set(11,f.lA.symbolFunction),t.set(12,f.lA.symbolVariable),t.set(13,f.lA.symbolConstant),t.set(14,f.lA.symbolString),t.set(15,f.lA.symbolNumber),t.set(16,f.lA.symbolBoolean),t.set(17,f.lA.symbolArray),t.set(18,f.lA.symbolObject),t.set(19,f.lA.symbolKey),t.set(20,f.lA.symbolNull),t.set(21,f.lA.symbolEnumMember),t.set(22,f.lA.symbolStruct),t.set(23,f.lA.symbolEvent),t.set(24,f.lA.symbolOperator),t.set(25,f.lA.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=f.lA.symbolProperty),n}}(u||(u={}));class _{constructor(e){this.value=e}}_.Comment=new _("comment"),_.Imports=new _("imports"),_.Region=new _("region"),function(e){e.is=function(e){return!(!e||"object"!=typeof e)&&"string"==typeof e.id&&"string"==typeof e.title}}(h||(h={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(p||(p={}));const y=new class{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new i.Q5,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),(0,o.OF)((()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))}))}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const i=new a(this,e,t);return this._factories.set(e,i),(0,o.OF)((()=>{const t=this._factories.get(e);t&&t===i&&(this._factories.delete(e),t.dispose())}))}getOrCreate(e){return r(this,void 0,void 0,(function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))}))}get(e){return this._map.get(e)||null}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}},4526:(e,t,n)=>{n.d(t,{O:()=>i});const i=(0,n(7696).yh)("languageService")},5498:(e,t,n)=>{var i;n.d(t,{V6:()=>o,c$:()=>r,wU:()=>i}),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(i||(i={}));class o{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(e.notIn))for(let t=0,n=e.notIn.length;t<n;t++)switch(e.notIn[t]){case"string":this._inString=!1;break;case"comment":this._inComment=!1;break;case"regex":this._inRegEx=!1}}isOK(e){switch(e){case 0:return!0;case 1:return this._inComment;case 2:return this._inString;case 3:return this._inRegEx}}shouldAutoClose(e,t){if(0===e.getTokenCount())return!0;const n=e.findTokenIndexAtOffset(t-2),i=e.getStandardTokenType(n);return this.isOK(i)}_findNeutralCharacterInRange(e,t){for(let n=e;n<=t;n++){const e=String.fromCharCode(n);if(!this.open.includes(e)&&!this.close.includes(e))return e}return null}findNeutralCharacter(){return this._neutralCharacterSearched||(this._neutralCharacterSearched=!0,this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(48,57)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(97,122)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(65,90))),this._neutralCharacter}}class r{constructor(e){this.autoClosingPairsOpenByStart=new Map,this.autoClosingPairsOpenByEnd=new Map,this.autoClosingPairsCloseByStart=new Map,this.autoClosingPairsCloseByEnd=new Map,this.autoClosingPairsCloseSingleChar=new Map;for(const t of e)a(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),a(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),a(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),a(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),1===t.close.length&&1===t.open.length&&a(this.autoClosingPairsCloseSingleChar,t.close,t)}}function a(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}},4384:(e,t,n)=>{n.d(t,{c_:()=>x,zu:()=>D});var i=n(9914),o=n(5666),r=n(8241),a=n(318),s=n(5498),l=n(7311);class c{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map((e=>new s.V6(e))):e.brackets?this._autoClosingPairs=e.brackets.map((e=>new s.V6({open:e[0],close:e[1]}))):this._autoClosingPairs=[],e.colorizedBracketPairs?this._colorizedBracketPairs=d(e.colorizedBracketPairs.map((e=>[e[0],e[1]]))):e.brackets?this._colorizedBracketPairs=d(e.brackets.map((e=>[e[0],e[1]])).filter((e=>!("<"===e[0]&&">"===e[1])))):this._colorizedBracketPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new s.V6({open:t.open,close:t.close||""}))}this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}function d(e){return e.filter((([e,t])=>""!==e&&""!==t))}c.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var u=n(6918),h=n(6931);class p{constructor(e){this._richEditBrackets=e}getElectricCharacters(){const e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const n of t.close){const t=n.charAt(n.length-1);e.push(t)}return(0,u.EB)(e)}onElectricCharacter(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;const i=t.findTokenIndexAtOffset(n-1);if((0,l.Bu)(t.getStandardTokenType(i)))return null;const o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,n-1)+e,a=h.Vr.findPrevBracketInRange(o,1,r,0,r.length);if(!a)return null;const s=r.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[s])return null;const c=t.getActualLineContentBefore(a.startColumn-1);return/^\s*$/.test(c)?{matchOpenBracket:s}:null}}function f(e){return e.global&&(e.lastIndex=0),!0}class g{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&f(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&f(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&f(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&f(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var m=n(7943);class v{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach((e=>{const t=v._createOpenBracketRegExp(e[0]),n=v._createCloseBracketRegExp(e[1]);t&&n&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:n})})),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,n,i){if(e>=3)for(let e=0,o=this._regExpRules.length;e<o;e++){const o=this._regExpRules[e];if([{reg:o.beforeText,text:n},{reg:o.afterText,text:i},{reg:o.previousLineText,text:t}].every((e=>!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text)))))return o.action}if(e>=2&&n.length>0&&i.length>0)for(let e=0,t=this._brackets.length;e<t;e++){const t=this._brackets[e];if(t.openRegExp.test(n)&&t.closeRegExp.test(i))return{indentAction:s.wU.IndentOutdent}}if(e>=2&&n.length>0)for(let e=0,t=this._brackets.length;e<t;e++)if(this._brackets[e].openRegExp.test(n))return{indentAction:s.wU.Indent};return null}static _createOpenBracketRegExp(e){let t=r.ec(e);return/\B/.test(t.charAt(0))||(t="\\b"+t),t+="\\s*$",v._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=r.ec(e);return/\B/.test(t.charAt(t.length-1))||(t+="\\b"),t="^\\s*"+t,v._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(e){return(0,m.dL)(e),null}}}var b=n(7696),_=n(3587),y=n(4526),A=n(101),w=function(e,t){return function(n,i){t(n,i,e)}};class C{constructor(e){this.languageId=e}affects(e){return!this.languageId||this.languageId===e}}const x=(0,b.yh)("languageConfigurationService");let S=class extends o.JT{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this.onDidChangeEmitter=this._register(new i.Q5),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;const n=new Set(Object.values(E));this._register(this.configurationService.onDidChangeConfiguration((e=>{const t=e.change.keys.some((e=>n.has(e))),i=e.change.overrides.filter((([e,t])=>t.some((e=>n.has(e))))).map((([e])=>e));if(t)this.configurations.clear(),this.onDidChangeEmitter.fire(new C(void 0));else for(const e of i)this.languageService.isRegisteredLanguageId(e)&&(this.configurations.delete(e),this.onDidChangeEmitter.fire(new C(e)))}))),this._register(D.onDidChange((e=>{this.configurations.delete(e.languageId),this.onDidChangeEmitter.fire(new C(e.languageId))})))}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=function(e,t,n){let i=D.getLanguageConfiguration(e);if(!i){if(!n.isRegisteredLanguageId(e))throw new Error(`Language id "${e}" is not configured nor known`);i=new L(e,{})}const o=function(e,t){const n=t.getValue(E.brackets,{overrideIdentifier:e}),i=t.getValue(E.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:k(n),colorizedBracketPairs:k(i)}}(i.languageId,t),r=I([i.underlyingConfig,o]);return new L(i.languageId,r)}(e,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};S=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([w(0,_.Ui),w(1,y.O)],S);const E={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function k(e){if(Array.isArray(e))return e.map((e=>{if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]})).filter((e=>!!e))}class M{constructor(e){this.languageId=e}}const D=new class{constructor(){this._entries=new Map,this._onDidChange=new i.Q5,this.onDidChange=this._onDidChange.event}register(e,t,n=0){let i=this._entries.get(e);i||(i=new N(e),this._entries.set(e,i));const r=i.register(t,n);return this._onDidChange.fire(new M(e)),(0,o.OF)((()=>{r.dispose(),this._onDidChange.fire(new M(e))}))}getLanguageConfiguration(e){const t=this._entries.get(e);return(null==t?void 0:t.getResolvedConfiguration())||null}getComments(e){const t=this.getLanguageConfiguration(e);return t&&t.comments||null}getIndentRulesSupport(e){const t=this.getLanguageConfiguration(e);return t&&t.indentRulesSupport||null}getPrecedingValidLine(e,t,n){const i=e.getLanguageIdAtPosition(t,0);if(t>1){let o,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;const t=e.getLineContent(o);if(!n.shouldIgnore(t)&&!/^\s+$/.test(t)&&""!==t)return o;r=o}}return-1}getInheritIndentForLine(e,t,n,i=!0){if(e<4)return null;const o=this.getIndentRulesSupport(t.getLanguageId());if(!o)return null;if(n<=1)return{indentation:"",action:null};const a=this.getPrecedingValidLine(t,n,o);if(a<0)return null;if(a<1)return{indentation:"",action:null};const l=t.getLineContent(a);if(o.shouldIncrease(l)||o.shouldIndentNextLine(l))return{indentation:r.V8(l),action:s.wU.Indent,line:a};if(o.shouldDecrease(l))return{indentation:r.V8(l),action:null,line:a};{if(1===a)return{indentation:r.V8(t.getLineContent(a)),action:null,line:a};const e=a-1,n=o.getIndentMetadata(t.getLineContent(e));if(!(3&n)&&4&n){let n=0;for(let i=e-1;i>0;i--)if(!o.shouldIndentNextLine(t.getLineContent(i))){n=i;break}return{indentation:r.V8(t.getLineContent(n+1)),action:null,line:n+1}}if(i)return{indentation:r.V8(t.getLineContent(a)),action:null,line:a};for(let e=a;e>0;e--){const n=t.getLineContent(e);if(o.shouldIncrease(n))return{indentation:r.V8(n),action:s.wU.Indent,line:e};if(o.shouldIndentNextLine(n)){let n=0;for(let i=e-1;i>0;i--)if(!o.shouldIndentNextLine(t.getLineContent(e))){n=i;break}return{indentation:r.V8(t.getLineContent(n+1)),action:null,line:n+1}}if(o.shouldDecrease(n))return{indentation:r.V8(n),action:null,line:e}}return{indentation:r.V8(t.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(e,t,n,i,o){if(e<4)return null;const a=this.getLanguageConfiguration(n);if(!a)return null;const l=this.getIndentRulesSupport(n);if(!l)return null;const c=this.getInheritIndentForLine(e,t,i),d=t.getLineContent(i);if(c){const n=c.line;if(void 0!==n){const i=a.onEnter(e,"",t.getLineContent(n),"");if(i){let e=r.V8(t.getLineContent(n));return i.removeText&&(e=e.substring(0,e.length-i.removeText)),i.indentAction===s.wU.Indent||i.indentAction===s.wU.IndentOutdent?e=o.shiftIndent(e):i.indentAction===s.wU.Outdent&&(e=o.unshiftIndent(e)),l.shouldDecrease(d)&&(e=o.unshiftIndent(e)),i.appendText&&(e+=i.appendText),r.V8(e)}}return l.shouldDecrease(d)?c.action===s.wU.Indent?c.indentation:o.unshiftIndent(c.indentation):c.action===s.wU.Indent?o.shiftIndent(c.indentation):c.indentation}return null}getIndentForEnter(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);const o=t.getLineTokens(n.startLineNumber),a=(0,l.wH)(o,n.startColumn-1),c=a.getLineContent();let d,u,h=!1;a.firstCharOffset>0&&o.getLanguageId(0)!==a.languageId?(h=!0,d=c.substr(0,n.startColumn-1-a.firstCharOffset)):d=o.getLineContent().substring(0,n.startColumn-1),u=n.isEmpty()?c.substr(n.startColumn-1-a.firstCharOffset):this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-a.firstCharOffset);const p=this.getIndentRulesSupport(a.languageId);if(!p)return null;const f=d,g=r.V8(d),m={getLineTokens:e=>t.getLineTokens(e),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(e,n)=>t.getLanguageIdAtPosition(e,n),getLineContent:e=>e===n.startLineNumber?f:t.getLineContent(e)},v=r.V8(o.getLineContent()),b=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!b){const e=h?v:g;return{beforeEnter:e,afterEnter:e}}let _=h?v:b.indentation;return b.action===s.wU.Indent&&(_=i.shiftIndent(_)),p.shouldDecrease(u)&&(_=i.unshiftIndent(_)),{beforeEnter:h?v:g,afterEnter:_}}getIndentActionForType(e,t,n,i,o){if(e<4)return null;const r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn);if(r.firstCharOffset)return null;const a=this.getIndentRulesSupport(r.languageId);if(!a)return null;const l=r.getLineContent(),c=l.substr(0,n.startColumn-1-r.firstCharOffset);let d;if(d=n.isEmpty()?l.substr(n.startColumn-1-r.firstCharOffset):this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset),!a.shouldDecrease(c+d)&&a.shouldDecrease(c+i+d)){const i=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!i)return null;let r=i.indentation;return i.action!==s.wU.Indent&&(r=o.unshiftIndent(r)),r}return null}getIndentMetadata(e,t){const n=this.getIndentRulesSupport(e.getLanguageId());return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null}getEnterAction(e,t,n){const i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this.getLanguageConfiguration(i.languageId);if(!o)return null;const r=i.getLineContent(),a=r.substr(0,n.startColumn-1-i.firstCharOffset);let l;l=n.isEmpty()?r.substr(n.startColumn-1-i.firstCharOffset):this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset);let c="";if(n.startLineNumber>1&&0===i.firstCharOffset){const e=this.getScopedLineTokens(t,n.startLineNumber-1);e.languageId===i.languageId&&(c=e.getLineContent())}const d=o.onEnter(e,c,a,l);if(!d)return null;const u=d.indentAction;let h=d.appendText;const p=d.removeText||0;h?u===s.wU.Indent&&(h="\t"+h):h=u===s.wU.Indent||u===s.wU.IndentOutdent?"\t":"";let f=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return p&&(f=f.substring(0,f.length-p)),{indentAction:u,appendText:h,removeText:p,indentation:f}}getIndentationAtPosition(e,t,n){const i=e.getLineContent(t);let o=r.V8(i);return o.length>n-1&&(o=o.substring(0,n-1)),o}getScopedLineTokens(e,t,n){e.forceTokenization(t);const i=e.getLineTokens(t),o=void 0===n?e.getLineMaxColumn(t)-1:n-1;return(0,l.wH)(i,o)}};class N{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){const n=new T(e,t,++this._order);return this._entries.push(n),this._resolved=null,(0,o.OF)((()=>{for(let e=0;e<this._entries.length;e++)if(this._entries[e]===n){this._entries.splice(e,1),this._resolved=null;break}}))}getResolvedConfiguration(){if(!this._resolved){const e=this._resolve();e&&(this._resolved=new L(this.languageId,e))}return this._resolved}_resolve(){return 0===this._entries.length?null:(this._entries.sort(T.cmp),I(this._entries.map((e=>e.configuration))))}}function I(e){let t={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const n of e)t={comments:n.comments||t.comments,brackets:n.brackets||t.brackets,wordPattern:n.wordPattern||t.wordPattern,indentationRules:n.indentationRules||t.indentationRules,onEnterRules:n.onEnterRules||t.onEnterRules,autoClosingPairs:n.autoClosingPairs||t.autoClosingPairs,surroundingPairs:n.surroundingPairs||t.surroundingPairs,autoCloseBefore:n.autoCloseBefore||t.autoCloseBefore,folding:n.folding||t.folding,colorizedBracketPairs:n.colorizedBracketPairs||t.colorizedBracketPairs,__electricCharacterSupport:n.__electricCharacterSupport||t.__electricCharacterSupport};return t}class T{constructor(e,t,n){this.configuration=e,this.priority=t,this.order=n}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class L{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new v(this.underlyingConfig):null,this.comments=L._handleComments(this.underlyingConfig),this.characterPair=new c(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||a.Af,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new g(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{}}getWordDefinition(){return(0,a.eq)(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new h.EA(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new p(this.brackets)),this._electricCharacter}onEnter(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}getAutoClosingPairs(){return new s.c$(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(){return this.characterPair.getAutoCloseBeforeSet()}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){const t=e.comments;if(!t)return null;const n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){const[e,i]=t.blockComment;n.blockCommentStartToken=e,n.blockCommentEndToken=i}return n}}(0,A.z)(x,S)},1244:(e,t,n)=>{n.d(t,{bd:()=>d,dQ:()=>c});var i=n(9606),o=n(9914),r=n(4384),a=n(470),s=n(7467),l=n(850);const c=new class{constructor(){this._onDidChangeLanguages=new o.Q5,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,n=this._languages.length;t<n;t++)if(this._languages[t]===e)return void this._languages.splice(t,1)}}}getLanguages(){return this._languages}};a.B.add("editor.modesRegistry",c);const d="plaintext";c.registerLanguage({id:d,extensions:[".txt"],aliases:[i.N("plainText.alias","Plain Text"),"text"],mimetypes:[s.v.text]}),r.zu.register(d,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0),a.B.as(l.IP.Configuration).registerDefaultConfigurations([{overrides:{"[plaintext]":{"editor.unicodeHighlight.ambiguousCharacters":!1,"editor.unicodeHighlight.invisibleCharacters":!1}}}])},2600:(e,t,n)=>{n.d(t,{Dy:()=>a,Ri:()=>r,TJ:()=>o});var i=n(2842);const o=new class{clone(){return this}equals(e){return this===e}};function r(e,t){return new i.hG([new i.WU(0,"",e)],t)}function a(e,t){const n=new Uint32Array(2);return n[0]=0,n[1]=(16384|e<<0|2<<23)>>>0,new i.DI(n,null===t?o:t)}},7311:(e,t,n)=>{function i(e,t){const n=e.getCount(),i=e.findTokenIndexAtOffset(t),r=e.getLanguageId(i);let a=i;for(;a+1<n&&e.getLanguageId(a+1)===r;)a++;let s=i;for(;s>0&&e.getLanguageId(s-1)===r;)s--;return new o(e,r,s,a+1,e.getStartOffset(s),e.getEndOffset(a))}n.d(t,{Bu:()=>r,wH:()=>i});class o{constructor(e,t,n,i,o,r){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=o,this._lastCharOffset=r}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function r(e){return 0!=(3&e)}},6931:(e,t,n)=>{n.d(t,{EA:()=>s,Vr:()=>f});var i=n(8241),o=n(6748),r=n(208);class a{constructor(e,t,n,i,o,r){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=n,this.close=i,this.forwardRegex=o,this.reversedRegex=r,this._openSet=a._toSet(this.open),this._closeSet=a._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const n of e)t.add(n);return t}}class s{constructor(e,t){this._richEditBracketsBrand=void 0;const n=function(e){const t=e.length;e=e.map((e=>[e[0].toLowerCase(),e[1].toLowerCase()]));const n=[];for(let e=0;e<t;e++)n[e]=e;const i=(e,t)=>{const[n,i]=e,[o,r]=t;return n===o||n===r||i===o||i===r},o=(e,i)=>{const o=Math.min(e,i),r=Math.max(e,i);for(let e=0;e<t;e++)n[e]===r&&(n[e]=o)};for(let r=0;r<t;r++){const a=e[r];for(let s=r+1;s<t;s++)i(a,e[s])&&o(n[r],n[s])}const r=[];for(let i=0;i<t;i++){const o=[],a=[];for(let r=0;r<t;r++)if(n[r]===i){const[t,n]=e[r];o.push(t),a.push(n)}o.length>0&&r.push({open:o,close:a})}return r}(t);this.brackets=n.map(((t,i)=>new a(e,i,t.open,t.close,function(e,t,n,i){let o=[];o=o.concat(e),o=o.concat(t);for(let e=0,t=o.length;e<t;e++)l(o[e],n,i,o);return o=d(o),o.sort(c),o.reverse(),h(o)}(t.open,t.close,n,i),function(e,t,n,i){let o=[];o=o.concat(e),o=o.concat(t);for(let e=0,t=o.length;e<t;e++)l(o[e],n,i,o);return o=d(o),o.sort(c),o.reverse(),h(o.map(p))}(t.open,t.close,n,i)))),this.forwardRegex=function(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=d(t),h(t)}(this.brackets),this.reversedRegex=function(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=d(t),h(t.map(p))}(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const e of this.brackets){for(const t of e.open)this.textIsBracket[t]=e,this.textIsOpenBracket[t]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,t.length);for(const t of e.close)this.textIsBracket[t]=e,this.textIsOpenBracket[t]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,t.length)}}}function l(e,t,n,i){for(let o=0,r=t.length;o<r;o++){if(o===n)continue;const r=t[o];for(const t of r.open)t.indexOf(e)>=0&&i.push(t);for(const t of r.close)t.indexOf(e)>=0&&i.push(t)}}function c(e,t){return e.length-t.length}function d(e){if(e.length<=1)return e;const t=[],n=new Set;for(const i of e)n.has(i)||(t.push(i),n.add(i));return t}function u(e){const t=/^[\w ]+$/.test(e);return e=i.ec(e),t?`\\b${e}\\b`:e}function h(e){const t=`(${e.map(u).join(")|(")})`;return i.GF(t,!0)}const p=function(){let e=null,t=null;return function(n){return e!==n&&(e=n,t=function(e){if(o.lZ){const t=new Uint16Array(e.length);let n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charCodeAt(i);return o.oe().decode(t)}{const t=[];let n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charAt(i);return t.join("")}}(e)),t}}();class f{static _findPrevBracketInText(e,t,n,i){const o=n.match(e);if(!o)return null;const a=n.length-(o.index||0),s=o[0].length,l=i+a;return new r.e(t,l-s+1,t,l+1)}static findPrevBracketInRange(e,t,n,i,o){const r=p(n).substring(n.length-o,n.length-i);return this._findPrevBracketInText(e,t,r,i)}static findNextBracketInText(e,t,n,i){const o=n.match(e);if(!o)return null;const a=o.index||0,s=o[0].length;if(0===s)return null;const l=i+a;return new r.e(t,l+1,t,l+1+s)}static findNextBracketInRange(e,t,n,i,o){const r=n.substring(i,o);return this.findNextBracketInText(e,t,r,i)}}},6573:(e,t,n)=>{n.d(t,{C2:()=>l,Fq:()=>c});var i=n(8241),o=n(9078),r=n(2842),a=n(2600);const s={getInitialState:()=>a.TJ,tokenizeEncoded:(e,t,n)=>(0,a.Dy)(0,n)};function l(e,t,n){return i=this,void 0,a=function*(){if(!n)return d(t,e.languageIdCodec,s);const i=yield r.RW.getOrCreate(n);return d(t,e.languageIdCodec,i||s)},new((o=void 0)||(o=Promise))((function(e,t){function n(e){try{s(a.next(e))}catch(e){t(e)}}function r(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(n,r)}s((a=a.apply(i,[])).next())}));var i,o,a}function c(e,t,n,i,o,r,a){let s="<div>",l=i,c=0,d=!0;for(let u=0,h=t.getCount();u<h;u++){const h=t.getEndOffset(u);if(h<=i)continue;let p="";for(;l<h&&l<o;l++){const t=e.charCodeAt(l);switch(t){case 9:{let e=r-(l+c)%r;for(c+=e-1;e>0;)a&&d?(p+="&#160;",d=!1):(p+=" ",d=!0),e--;break}case 60:p+="&lt;",d=!1;break;case 62:p+="&gt;",d=!1;break;case 38:p+="&amp;",d=!1;break;case 0:p+="&#00;",d=!1;break;case 65279:case 8232:case 8233:case 133:p+="๏ฟฝ",d=!1;break;case 13:p+="&#8203",d=!1;break;case 32:a&&d?(p+="&#160;",d=!1):(p+=" ",d=!0);break;default:p+=String.fromCharCode(t),d=!1}}if(s+=`<span style="${t.getInlineStyle(u,n)}">${p}</span>`,h>o||l>=o)break}return s+="</div>",s}function d(e,t,n){let r='<div class="monaco-tokenized-source">';const a=i.uq(e);let s=n.getInitialState();for(let e=0,l=a.length;e<l;e++){const l=a[e];e>0&&(r+="<br/>");const c=n.tokenizeEncoded(l,!0,s);o.A.convertToEndOffset(c.tokens,l.length);const d=new o.A(c.tokens,l,t).inflate();let u=0;for(let e=0,t=d.getCount();e<t;e++){const t=d.getClassName(e),n=d.getEndOffset(e);r+=`<span class="${t}">${i.YU(l.substring(u,n))}</span>`,u=n}s=c.endState}return r+="</div>",r}},3701:(e,t,n)=>{n.d(t,{F5:()=>o,Qi:()=>c,RM:()=>r,Tx:()=>d,dJ:()=>s,je:()=>u,pt:()=>h,sh:()=>i,tk:()=>l});var i,o,r,a=n(5440);!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(i||(i={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(o||(o={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(r||(r={}));class s{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,a.fS)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class l{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}class c{constructor(e,t,n,i,o,r){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=i,this.isAutoWhitespaceEdit=o,this._isTracked=r}}class d{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class u{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function h(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},2854:(e,t,n)=>{n.d(t,{NL:()=>g,e9:()=>f});var i=n(9606),o=n(7943),r=n(2623),a=n(6283),s=n(7565),l=n(578),c=n(2650);function d(e){return e.toString()}class u{constructor(e,t,n,i,o,r,a){this.beforeVersionId=e,this.afterVersionId=t,this.beforeEOL=n,this.afterEOL=i,this.beforeCursorState=o,this.afterCursorState=r,this.changes=a}static create(e,t){const n=e.getAlternativeVersionId(),i=p(e);return new u(n,n,i,i,t,t,[])}append(e,t,n,i,o){t.length>0&&(this.changes=(0,s.b)(this.changes,t)),this.afterEOL=n,this.afterVersionId=i,this.afterCursorState=o}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,n){if(l.T4(e,t?t.length:0,n),n+=4,t)for(const i of t)l.T4(e,i.selectionStartLineNumber,n),n+=4,l.T4(e,i.selectionStartColumn,n),n+=4,l.T4(e,i.positionLineNumber,n),n+=4,l.T4(e,i.positionColumn,n),n+=4;return n}static _readSelections(e,t,n){const i=l.Ag(e,t);t+=4;for(let o=0;o<i;o++){const i=l.Ag(e,t);t+=4;const o=l.Ag(e,t);t+=4;const a=l.Ag(e,t);t+=4;const s=l.Ag(e,t);t+=4,n.push(new r.Y(i,o,a,s))}return t}serialize(){let e=10+u._writeSelectionsSize(this.beforeCursorState)+u._writeSelectionsSize(this.afterCursorState)+4;for(const t of this.changes)e+=t.writeSize();const t=new Uint8Array(e);let n=0;l.T4(t,this.beforeVersionId,n),n+=4,l.T4(t,this.afterVersionId,n),n+=4,l.Cg(t,this.beforeEOL,n),n+=1,l.Cg(t,this.afterEOL,n),n+=1,n=u._writeSelections(t,this.beforeCursorState,n),n=u._writeSelections(t,this.afterCursorState,n),l.T4(t,this.changes.length,n),n+=4;for(const e of this.changes)n=e.write(t,n);return t.buffer}static deserialize(e){const t=new Uint8Array(e);let n=0;const i=l.Ag(t,n);n+=4;const o=l.Ag(t,n);n+=4;const r=l.Q$(t,n);n+=1;const a=l.Q$(t,n);n+=1;const c=[];n=u._readSelections(t,n,c);const d=[];n=u._readSelections(t,n,d);const h=l.Ag(t,n);n+=4;const p=[];for(let e=0;e<h;e++)n=s.q.read(t,n,p);return new u(i,o,r,a,c,d,p)}}class h{constructor(e,t){this.model=e,this._data=u.create(e,t)}get type(){return 0}get resource(){return a.o.isUri(this.model)?this.model:this.model.uri}get label(){return i.N("edit","Typing")}toString(){return(this._data instanceof u?this._data:u.deserialize(this._data)).changes.map((e=>e.toString())).join(", ")}matchesResource(e){return(a.o.isUri(this.model)?this.model:this.model.uri).toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof u}append(e,t,n,i,o){this._data instanceof u&&this._data.append(e,t,n,i,o)}close(){this._data instanceof u&&(this._data=this._data.serialize())}open(){this._data instanceof u||(this._data=u.deserialize(this._data))}undo(){if(a.o.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());const e=u.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(a.o.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof u&&(this._data=this._data.serialize());const e=u.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof u&&(this._data=this._data.serialize()),this._data.byteLength+168}}function p(e){return"\n"===e.getEOL()?0:1}function f(e){return!!e&&(e instanceof h||e instanceof class{constructor(e,t){this.type=1,this.label=e,this._isOpen=!0,this._editStackElementsArr=t.slice(0),this._editStackElementsMap=new Map;for(const e of this._editStackElementsArr){const t=d(e.resource);this._editStackElementsMap.set(t,e)}this._delegate=null}get resources(){return this._editStackElementsArr.map((e=>e.resource))}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){const t=d(e);return this._editStackElementsMap.has(t)}setModel(e){const t=d(a.o.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;const t=d(e.uri);return!!this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).canAppend(e)}append(e,t,n,i,o){const r=d(e.uri);this._editStackElementsMap.get(r).append(e,t,n,i,o)}close(){this._isOpen=!1}open(){}undo(){this._isOpen=!1;for(const e of this._editStackElementsArr)e.undo()}redo(){for(const e of this._editStackElementsArr)e.redo()}heapSize(e){const t=d(e);return this._editStackElementsMap.has(t)?this._editStackElementsMap.get(t).heapSize():0}split(){return this._editStackElementsArr}toString(){let e=[];for(const t of this._editStackElementsArr)e.push(`${(0,c.EZ)(t.resource)}: ${t}`);return`{${e.join(", ")}}`}})}class g{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);f(e)&&e.close()}popStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);f(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);if(f(t)&&t.canAppend(this._model))return t;const n=new h(this._model,e);return this._undoRedoService.pushElement(n),n}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],p(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,n){const i=this._getOrCreateEditStackElement(e),o=this._model.applyEdits(t,!0),r=g._computeCursorState(n,o),a=o.map(((e,t)=>({index:t,textChange:e.textChange})));return a.sort(((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition)),i.append(this._model,a.map((e=>e.textChange)),p(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return(0,o.dL)(e),null}}}},9928:(e,t,n)=>{n.d(t,{W:()=>c,l:()=>l});var i=n(6918),o=n(8241),r=n(8436),a=n(208),s=n(8316);class l extends class{constructor(){this._isDisposed=!1}dispose(){this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw new Error("TextModelPart is disposed!")}}{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return function(e,t){let n=0,i=0;const o=e.length;for(;i<o;){const o=e.charCodeAt(i);if(32===o)n++;else{if(9!==o)break;n=n-n%t+t}i++}return i===o?-1:n}(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,n){this.assertNotDisposed();const i=this.textModel.getLineCount();if(e<1||e>i)throw new Error("Illegal value for lineNumber");const o=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=Boolean(o&&o.offSide);let a=-2,s=-1,l=-2,c=-1;const d=e=>{if(-1!==a&&(-2===a||a>e-1)){a=-1,s=-1;for(let t=e-2;t>=0;t--){const e=this._computeIndentLevel(t);if(e>=0){a=t,s=e;break}}}if(-2===l){l=-1,c=-1;for(let t=e;t<i;t++){const e=this._computeIndentLevel(t);if(e>=0){l=t,c=e;break}}}};let u=-2,h=-1,p=-2,f=-1;const g=e=>{if(-2===u){u=-1,h=-1;for(let t=e-2;t>=0;t--){const e=this._computeIndentLevel(t);if(e>=0){u=t,h=e;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,f=-1;for(let t=e;t<i;t++){const e=this._computeIndentLevel(t);if(e>=0){p=t,f=e;break}}}};let m=0,v=!0,b=0,_=!0,y=0,A=0;for(let o=0;v||_;o++){const a=e-o,p=e+o;o>1&&(a<1||a<t)&&(v=!1),o>1&&(p>i||p>n)&&(_=!1),o>5e4&&(v=!1,_=!1);let w=-1;if(v&&a>=1){const e=this._computeIndentLevel(a-1);e>=0?(l=a-1,c=e,w=Math.ceil(e/this.textModel.getOptions().indentSize)):(d(a),w=this._getIndentLevelForWhitespaceLine(r,s,c))}let C=-1;if(_&&p<=i){const e=this._computeIndentLevel(p-1);e>=0?(u=p-1,h=e,C=Math.ceil(e/this.textModel.getOptions().indentSize)):(g(p),C=this._getIndentLevelForWhitespaceLine(r,h,f))}if(0!==o){if(1===o){if(p<=i&&C>=0&&A+1===C){v=!1,m=p,b=p,y=C;continue}if(a>=1&&w>=0&&w-1===A){_=!1,m=a,b=a,y=w;continue}if(m=e,b=e,y=A,0===y)return{startLineNumber:m,endLineNumber:b,indent:y}}v&&(w>=y?m=a:v=!1),_&&(C>=y?b=p:_=!1)}else A=w}return{startLineNumber:m,endLineNumber:b,indent:y}}getLinesBracketGuides(e,t,n,r){var l,d,u,h,p;const f=[],g=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new a.e(e,1,t,this.textModel.getLineMaxColumn(t)));let m;if(n&&g.length>0){const o=e<=n.lineNumber&&n.lineNumber<=t?g.filter((e=>a.e.strictContainsPosition(e.range,n))):this.textModel.bracketPairs.getBracketPairsInRange(a.e.fromPositions(n));m=null===(l=(0,i.dF)(o,(e=>e.range.startLineNumber!==e.range.endLineNumber)))||void 0===l?void 0:l.range}const v=new i.H9(g),b=new Array,_=new Array,y=new c;for(let n=e;n<=t;n++){let e=new Array;_.length>0&&(e=e.concat(_),_.length=0),f.push(e);for(const e of v.takeWhile((e=>e.openingBracketRange.startLineNumber<=n))||[]){if(e.range.startLineNumber===e.range.endLineNumber)continue;const t=Math.min(this.getVisibleColumnFromPosition(e.openingBracketRange.getStartPosition()),this.getVisibleColumnFromPosition(null!==(u=null===(d=e.closingBracketRange)||void 0===d?void 0:d.getStartPosition())&&void 0!==u?u:e.range.getEndPosition()),e.minVisibleColumnIndentation+1);let n=!1;e.closingBracketRange&&o.LC(this.textModel.getLineContent(e.closingBracketRange.startLineNumber))<e.closingBracketRange.startColumn-1&&(n=!0);const i=e.openingBracketRange.getStartPosition(),r=null!==(p=null===(h=e.closingBracketRange)||void 0===h?void 0:h.getStartPosition())&&void 0!==p?p:e.range.getEndPosition();void 0===e.closingBracketRange?b[e.nestingLevel]=null:b[e.nestingLevel]={nestingLevel:e.nestingLevel,guideVisibleColumn:t,start:i,visibleStartColumn:this.getVisibleColumnFromPosition(i),end:r,visibleEndColumn:this.getVisibleColumnFromPosition(r),bracketPair:e,renderHorizontalEndLineAtTheBottom:n}}for(const t of b){if(!t)continue;const i=m&&t.bracketPair.range.equalsRange(m),o=y.getInlineClassNameOfLevel(t.nestingLevel)+(r.highlightActive&&i?" "+y.activeClassName:"");(i&&r.horizontalGuides!==s.s6.Disabled||r.includeInactive&&r.horizontalGuides===s.s6.Enabled)&&(t.start.lineNumber===n&&t.guideVisibleColumn<t.visibleStartColumn&&e.push(new s.UO(t.guideVisibleColumn,o,new s.vW(!1,t.start.column))),t.end.lineNumber===n+1&&t.guideVisibleColumn<t.visibleEndColumn&&_.push(new s.UO(t.guideVisibleColumn,o,new s.vW(!t.renderHorizontalEndLineAtTheBottom,t.end.column))))}let t=Number.MAX_SAFE_INTEGER;for(let i=b.length-1;i>=0;i--){const o=b[i];if(!o)continue;const a=r.highlightActive&&m&&o.bracketPair.range.equalsRange(m),l=y.getInlineClassNameOfLevel(o.nestingLevel)+(a?" "+y.activeClassName:"");(a||r.includeInactive)&&o.renderHorizontalEndLineAtTheBottom&&o.end.lineNumber===n+1&&_.push(new s.UO(o.guideVisibleColumn,l,null)),o.end.lineNumber<=n||o.start.lineNumber>=n||o.guideVisibleColumn>=t&&!a||(t=o.guideVisibleColumn,(a||r.includeInactive)&&e.push(new s.UO(o.guideVisibleColumn,l,null)))}e.sort(((e,t)=>e.visibleColumn-t.visibleColumn))}return f}getVisibleColumnFromPosition(e){return r.i.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();const n=this.textModel.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");const i=this.textModel.getOptions(),o=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,r=Boolean(o&&o.offSide),a=new Array(t-e+1);let s=-2,l=-1,c=-2,d=-1;for(let o=e;o<=t;o++){const t=o-e,u=this._computeIndentLevel(o-1);if(u>=0)s=o-1,l=u,a[t]=Math.ceil(u/i.indentSize);else{if(-2===s){s=-1,l=-1;for(let e=o-2;e>=0;e--){const t=this._computeIndentLevel(e);if(t>=0){s=e,l=t;break}}}if(-1!==c&&(-2===c||c<o-1)){c=-1,d=-1;for(let e=o;e<n;e++){const t=this._computeIndentLevel(e);if(t>=0){c=e,d=t;break}}}a[t]=this._getIndentLevelForWhitespaceLine(r,l,d)}}return a}_getIndentLevelForWhitespaceLine(e,t,n){const i=this.textModel.getOptions();return-1===t||-1===n?0:t<n?1+Math.floor(t/i.indentSize):t===n||e?Math.ceil(n/i.indentSize):1+Math.floor(n/i.indentSize)}}class c{constructor(){this.activeClassName="indent-active"}getInlineClassNameOfLevel(e){return"bracket-indent-guide lvl-"+e%30}}},5055:(e,t,n)=>{n.d(t,{Ck:()=>a,oQ:()=>r});var i=n(6918),o=n(9979);class r{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=(0,o.A)(e);const n=this.values,i=this.prefixSum,r=t.length;return 0!==r&&(this.values=new Uint32Array(n.length+r),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+r),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,o.A)(e),t=(0,o.A)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=(0,o.A)(e),t=(0,o.A)(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;const r=n.length-e;return t>=r&&(t=r),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,o.A)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,i=0,o=0,r=0;for(;t<=n;)if(i=t+(n-t)/2|0,o=this.prefixSum[i],r=o-this.values[i],e<r)n=i-1;else{if(!(e>=o))break;t=i+1}return new s(i,e-r)}}class a{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return this._ensureValid(),0===e?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();const t=this._indexBySum[e],n=t>0?this._prefixSum[t-1]:0;return new s(t,e-n)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=(0,i.Zv)(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e<t;e++){const t=this._values[e],n=e>0?this._prefixSum[e-1]:0;this._prefixSum[e]=n+t;for(let i=0;i<t;i++)this._indexBySum[n+i]=e}this._prefixSum.length=this._values.length,this._indexBySum.length=this._prefixSum[this._prefixSum.length-1],this._isValid=!0,this._validEndIndex=this._values.length-1}}setValue(e,t){this._values[e]!==t&&(this._values[e]=t,this._invalidate(e))}}class s{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}},4185:(e,t,n)=>{n.d(t,{qx:()=>an,yO:()=>Jt});var i=n(6918),o=n(5738),r=n(7943),a=n(9914),s=n(5666),l=n(8241),c=n(6283),d=n(873),u=n(208),h=n(2623),p=n(3701);class f{constructor(e,t,n){this.range=e,this.nestingLevel=t,this.isInvalid=n}}class g extends class{constructor(e,t,n,i){this.range=e,this.openingBracketRange=t,this.closingBracketRange=n,this.nestingLevel=i}}{constructor(e,t,n,i,o){super(e,t,n,i),this.minVisibleColumnIndentation=o}}class m{constructor(e,t){this.lineCount=e,this.columnCount=t}toString(){return`${this.lineCount},${this.columnCount}`}}m.zero=new m(0,0);const v=Math.pow(2,26);function b(e,t){return e*v+t}function _(e){const t=e,n=Math.floor(t/v);return new m(n,t-n*v)}function y(e,t){return t<v?e+t:e-e%v+t}function A(e,t){return e<t}function w(e,t){return e<=t}function C(e,t){return e>=t}function x(e){return b(e.lineNumber-1,e.column-1)}function S(e,t){const n=e,i=Math.floor(n/v),o=n-i*v,r=t,a=Math.floor(r/v),s=r-a*v;return new u.e(i+1,o+1,a+1,s+1)}class E{constructor(e,t,n){this.startOffset=e,this.endOffset=t,this.newLength=n}}class k{constructor(e,t){this.documentLength=t,this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=e.map((e=>M.from(e)))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);const t=this.edits[this.nextEditIdx];return function(e,t){const n=e,i=t;if(i-n<=0)return 0;const o=Math.floor(n/v),r=Math.floor(i/v),a=i-r*v;return o===r?b(0,a-(n-o*v)):b(r-o,a)}(e,t?this.translateOldToCur(t.offsetObj):this.documentLength)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?b(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):b(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){const t=_(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?b(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):b(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx<this.edits.length;){const t=this.edits[this.nextEditIdx],n=this.translateOldToCur(t.endOffsetAfterObj);if(!w(n,e))break;{this.nextEditIdx++;const e=_(n),i=_(this.translateOldToCur(t.endOffsetBeforeObj)),o=e.lineCount-i.lineCount;this.deltaOldToNewLineCount+=o;const r=this.deltaLineIdxInOld===t.endOffsetBeforeObj.lineCount?this.deltaOldToNewColumnCount:0,a=e.columnCount-i.columnCount;this.deltaOldToNewColumnCount=r+a,this.deltaLineIdxInOld=t.endOffsetBeforeObj.lineCount}}}}class M{constructor(e,t,n){this.endOffsetBeforeObj=_(t),this.endOffsetAfterObj=_(y(e,n)),this.offsetObj=_(e)}static from(e){return new M(e.startOffset,e.endOffset,e.newLength)}}var D=n(8436);const N=new Array;class I{constructor(e,t){this.items=e,this.additionalItems=t}static create(e,t){if(e<=128&&0===t.length){let n=I.cache[e];return n||(n=new I(e,t),I.cache[e]=n),n}return new I(e,t)}static getEmpty(){return this.empty}add(e,t){const n=t.getKey(e);let i=n>>5;if(0===i){const e=1<<n|this.items;return e===this.items?this:I.create(e,this.additionalItems)}i--;const o=this.additionalItems.slice(0);for(;o.length<i;)o.push(0);return o[i]|=1<<(31&n),I.create(this.items,o)}merge(e){const t=this.items|e.items;if(this.additionalItems===N&&e.additionalItems===N)return t===this.items?this:t===e.items?e:I.create(t,N);const n=new Array;for(let t=0;t<Math.max(this.additionalItems.length,e.additionalItems.length);t++){const i=this.additionalItems[t]||0,o=e.additionalItems[t]||0;n.push(i|o)}return I.create(t,n)}intersects(e){if(0!=(this.items&e.items))return!0;for(let t=0;t<Math.min(this.additionalItems.length,e.additionalItems.length);t++)if(0!=(this.additionalItems[t]&e.additionalItems[t]))return!0;return!1}}I.cache=new Array(129),I.empty=I.create(0,N);const T={getKey:e=>e};class L{constructor(){this.items=new Map}getKey(e){let t=this.items.get(e);return void 0===t&&(t=this.items.size,this.items.set(e,t)),t}}class B{constructor(e){this._length=e}get length(){return this._length}}class O extends B{constructor(e,t,n,i,o){super(e),this.openingBracket=t,this.child=n,this.closingBracket=i,this.missingOpeningBracketIds=o}static create(e,t,n){let i=e.length;return t&&(i=y(i,t.length)),n&&(i=y(i,n.length)),new O(i,e,t,n,t?t.missingOpeningBracketIds:I.getEmpty())}get kind(){return 2}get listHeight(){return 0}get childrenLength(){return 3}getChild(e){switch(e){case 0:return this.openingBracket;case 1:return this.child;case 2:return this.closingBracket}throw new Error("Invalid child index")}get children(){const e=new Array;return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}canBeReused(e){return null!==this.closingBracket&&!e.intersects(this.missingOpeningBracketIds)}deepClone(){return new O(this.length,this.openingBracket.deepClone(),this.child&&this.child.deepClone(),this.closingBracket&&this.closingBracket.deepClone(),this.missingOpeningBracketIds)}computeMinIndentation(e,t){return this.child?this.child.computeMinIndentation(y(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class P extends B{constructor(e,t,n){super(e),this.listHeight=t,this._missingOpeningBracketIds=n,this.cachedMinIndentation=-1}static create23(e,t,n,i=!1){let o=e.length,r=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw new Error("Invalid list heights");if(o=y(o,t.length),r=r.merge(t.missingOpeningBracketIds),n){if(e.listHeight!==n.listHeight)throw new Error("Invalid list heights");o=y(o,n.length),r=r.merge(n.missingOpeningBracketIds)}return i?new R(o,e.listHeight+1,e,t,n,r):new F(o,e.listHeight+1,e,t,n,r)}static getEmpty(){return new z(0,0,[],I.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();const e=this.childrenLength;if(0===e)return;const t=this.getChild(e-1),n=4===t.kind?t.toMutable():t;return t!==n&&this.setChild(e-1,n),n}makeFirstElementMutable(){if(this.throwIfImmutable(),0===this.childrenLength)return;const e=this.getChild(0),t=4===e.kind?e.toMutable():e;return e!==t&&this.setChild(0,t),t}canBeReused(e){if(e.intersects(this.missingOpeningBracketIds))return!1;let t,n=this;for(;4===n.kind&&(t=n.childrenLength)>0;)n=n.getChild(t-1);return n.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();const e=this.childrenLength;let t=this.getChild(0).length,n=this.getChild(0).missingOpeningBracketIds;for(let i=1;i<e;i++){const e=this.getChild(i);t=y(t,e.length),n=n.merge(e.missingOpeningBracketIds)}this._length=t,this._missingOpeningBracketIds=n,this.cachedMinIndentation=-1}computeMinIndentation(e,t){if(-1!==this.cachedMinIndentation)return this.cachedMinIndentation;let n=Number.MAX_SAFE_INTEGER,i=e;for(let e=0;e<this.childrenLength;e++){const o=this.getChild(e);o&&(n=Math.min(n,o.computeMinIndentation(i,t)),i=y(i,o.length))}return this.cachedMinIndentation=n,n}}class F extends P{constructor(e,t,n,i,o,r){super(e,t,r),this._item1=n,this._item2=i,this._item3=o}get childrenLength(){return null!==this._item3?3:2}getChild(e){switch(e){case 0:return this._item1;case 1:return this._item2;case 2:return this._item3}throw new Error("Invalid child index")}setChild(e,t){switch(e){case 0:return void(this._item1=t);case 1:return void(this._item2=t);case 2:return void(this._item3=t)}throw new Error("Invalid child index")}get children(){return this._item3?[this._item1,this._item2,this._item3]:[this._item1,this._item2]}get item1(){return this._item1}get item2(){return this._item2}get item3(){return this._item3}deepClone(){return new F(this.length,this.listHeight,this._item1.deepClone(),this._item2.deepClone(),this._item3?this._item3.deepClone():null,this.missingOpeningBracketIds)}appendChildOfSameHeight(e){if(this._item3)throw new Error("Cannot append to a full (2,3) tree node");this.throwIfImmutable(),this._item3=e,this.handleChildrenChanged()}unappendChild(){if(!this._item3)throw new Error("Cannot remove from a non-full (2,3) tree node");this.throwIfImmutable();const e=this._item3;return this._item3=null,this.handleChildrenChanged(),e}prependChildOfSameHeight(e){if(this._item3)throw new Error("Cannot prepend to a full (2,3) tree node");this.throwIfImmutable(),this._item3=this._item2,this._item2=this._item1,this._item1=e,this.handleChildrenChanged()}unprependChild(){if(!this._item3)throw new Error("Cannot remove from a non-full (2,3) tree node");this.throwIfImmutable();const e=this._item1;return this._item1=this._item2,this._item2=this._item3,this._item3=null,this.handleChildrenChanged(),e}toMutable(){return this}}class R extends F{toMutable(){return new F(this.length,this.listHeight,this.item1,this.item2,this.item3,this.missingOpeningBracketIds)}throwIfImmutable(){throw new Error("this instance is immutable")}}class j extends P{constructor(e,t,n,i){super(e,t,i),this._children=n}get childrenLength(){return this._children.length}getChild(e){return this._children[e]}setChild(e,t){this._children[e]=t}get children(){return this._children}deepClone(){const e=new Array(this._children.length);for(let t=0;t<this._children.length;t++)e[t]=this._children[t].deepClone();return new j(this.length,this.listHeight,e,this.missingOpeningBracketIds)}appendChildOfSameHeight(e){this.throwIfImmutable(),this._children.push(e),this.handleChildrenChanged()}unappendChild(){this.throwIfImmutable();const e=this._children.pop();return this.handleChildrenChanged(),e}prependChildOfSameHeight(e){this.throwIfImmutable(),this._children.unshift(e),this.handleChildrenChanged()}unprependChild(){this.throwIfImmutable();const e=this._children.shift();return this.handleChildrenChanged(),e}toMutable(){return this}}class z extends j{toMutable(){return new j(this.length,this.listHeight,[...this.children],this.missingOpeningBracketIds)}throwIfImmutable(){throw new Error("this instance is immutable")}}const V=[];class W extends B{get listHeight(){return 0}get childrenLength(){return 0}getChild(e){return null}get children(){return V}deepClone(){return this}}class H extends W{get kind(){return 0}get missingOpeningBracketIds(){return I.getEmpty()}canBeReused(e){return!0}computeMinIndentation(e,t){const n=_(e),i=(0===n.columnCount?n.lineCount:n.lineCount+1)+1,o=(r=y(e,this.length),Math.floor(r/v)+1);var r;let a=Number.MAX_SAFE_INTEGER;for(let e=i;e<=o;e++){const n=t.getLineFirstNonWhitespaceColumn(e),i=t.getLineContent(e);if(0===n)continue;const o=D.i.visibleColumnFromColumn(i,n,t.getOptions().tabSize);a=Math.min(a,o)}return a}}class U extends W{constructor(e,t,n){super(e),this.languageId=t,this.bracketIds=n}static create(e,t,n){return new U(e,t,n)}get kind(){return 1}get missingOpeningBracketIds(){return I.getEmpty()}canBeReused(e){return!1}computeMinIndentation(e,t){return Number.MAX_SAFE_INTEGER}}class Q extends W{constructor(e,t){super(t),this.missingOpeningBracketIds=e}get kind(){return 3}canBeReused(e){return!e.intersects(this.missingOpeningBracketIds)}computeMinIndentation(e,t){return Number.MAX_SAFE_INTEGER}}var G=n(2842);class K{constructor(e,t,n,i,o){this.length=e,this.kind=t,this.bracketId=n,this.bracketIds=i,this.astNode=o}}class Y{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new $(this.textModel,this.bracketTokens),this._offset=0,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return b(this.textBufferLineCount,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=y(this._offset,e);const t=_(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=y(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class ${constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset)):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const e=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=e.length,e}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const e=this.lineIdx,t=this.lineCharOffset;let n=0;for(;;){const i=this.lineTokens,o=i.getCount();let r=null;if(this.lineTokenOffset<o){const a=i.getMetadata(this.lineTokenOffset);for(;this.lineTokenOffset+1<o&&a===i.getMetadata(this.lineTokenOffset+1);)this.lineTokenOffset++;const s=0===G.NX.getTokenType(a),l=i.getEndOffset(this.lineTokenOffset);if(s&&l!==this.lineCharOffset){const e=i.getLanguageId(this.lineTokenOffset),t=this.line.substring(this.lineCharOffset,l),n=this.bracketTokens.getSingleLanguageBracketTokens(e),o=n.regExpGlobal;if(o){o.lastIndex=0;const e=o.exec(t);e&&(r=n.getToken(e[0]),r&&(this.lineCharOffset+=e.index))}}if(n+=l-this.lineCharOffset,r){if(e!==this.lineIdx||t!==this.lineCharOffset){this.peekedToken=r;break}return this.lineCharOffset+=r.length,r}this.lineTokenOffset++,this.lineCharOffset=l}else{if(this.lineIdx===this.textBufferLineCount-1)break;if(this.lineIdx++,this.lineTokens=this.textModel.getLineTokens(this.lineIdx+1),this.lineTokenOffset=0,this.line=this.lineTokens.getLineContent(),this.lineCharOffset=0,n+=33,n>1e3)break}if(n>1500)break}const i=(o=e,r=t,a=this.lineIdx,s=this.lineCharOffset,o!==a?b(a-o,s):b(0,s-r));var o,r,a,s;return new K(i,0,-1,I.getEmpty(),new H(i))}}class J{constructor(e,t){this.text=e,this._offset=0,this.idx=0;const n=t.getRegExpStr()?new RegExp(t.getRegExpStr()+"|\n","g"):null,i=[];let o,r=0,a=0,s=0,l=0;const c=new Array;for(let e=0;e<60;e++)c.push(new K(b(0,e),0,-1,I.getEmpty(),new H(b(0,e))));const d=new Array;for(let e=0;e<60;e++)d.push(new K(b(1,e),0,-1,I.getEmpty(),new H(b(1,e))));if(n)for(n.lastIndex=0;null!==(o=n.exec(e));){const e=o.index,n=o[0];if("\n"===n)r++,a=e+1;else{if(s!==e){let t;if(l===r){const n=e-s;if(n<c.length)t=c[n];else{const e=b(0,n);t=new K(e,0,-1,I.getEmpty(),new H(e))}}else{const n=r-l,i=e-a;if(1===n&&i<d.length)t=d[i];else{const e=b(n,i);t=new K(e,0,-1,I.getEmpty(),new H(e))}}i.push(t)}i.push(t.getToken(n)),s=e+n.length,l=r}}const u=e.length;if(s!==u){const e=l===r?b(0,u-s):b(r-l,u-a);i.push(new K(e,0,-1,I.getEmpty(),new H(e)))}this.length=b(r,u-a),this.tokens=i}get offset(){return this._offset}read(){return this.tokens[this.idx++]||null}peek(){return this.tokens[this.idx]||null}skip(e){throw new r.B8}}class q{constructor(e){this.map=e,this.hasRegExp=!1,this._regExpGlobal=null}static createFromLanguage(e,t){function n(e,n){return t.getKey(`${e}:::${n}`)}const i=e.characterPair.getColorizedBrackets(),o=new Map,r=new Set;for(const[t,a]of i){r.add(t);let i=o.get(a);const s=n(e.languageId,t);i||(i={openingBrackets:I.getEmpty(),first:s},o.set(a,i)),i.openingBrackets=i.openingBrackets.add(s,T)}const a=new Map;for(const[t,n]of o){const i=b(0,t.length);a.set(t,new K(i,2,n.first,n.openingBrackets,U.create(i,e.languageId,n.openingBrackets)))}for(const t of r){const i=b(0,t.length),o=n(e.languageId,t),r=I.getEmpty().add(o,T);a.set(t,new K(i,1,o,r,U.create(i,e.languageId,r)))}return new q(a)}getRegExpStr(){if(this.isEmpty)return null;{const e=[...this.map.keys()];return e.sort(),e.reverse(),e.map((e=>function(e){const t=(0,l.ec)(e);return/^[\w ]+$/.test(e)?`\\b${t}\\b`:t}(e))).join("|")}}get regExpGlobal(){if(!this.hasRegExp){const e=this.getRegExpStr();this._regExpGlobal=e?new RegExp(e,"g"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e)}findClosingTokenText(e){for(const[t,n]of this.map)if(n.bracketIds.intersects(e))return t}get isEmpty(){return 0===this.map.size}}class Z{constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){const t=this.languageIdToBracketTokens.get(e);if(!t)return!1;const n=q.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider).getRegExpStr();return t.getRegExpStr()!==n}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=q.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}function X(e,t=!1){if(0===e.length)return null;if(1===e.length)return e[0];let n=e.length;for(;n>3;){const i=n>>1;for(let o=0;o<i;o++){const i=o<<1;e[o]=P.create23(e[i],e[i+1],i+3===n?e[i+2]:null,t)}n=i}return P.create23(e[0],e[1],n>=3?e[2]:null,t)}function ee(e,t){return Math.abs(e.listHeight-t.listHeight)}function te(e,t){return e.listHeight===t.listHeight?P.create23(e,t,null,!1):e.listHeight>t.listHeight?function(e,t){let n=e=e.toMutable();const i=new Array;let o;for(;;){if(t.listHeight===n.listHeight){o=t;break}if(4!==n.kind)throw new Error("unexpected");i.push(n),n=n.makeLastElementMutable()}for(let e=i.length-1;e>=0;e--){const t=i[e];o?t.childrenLength>=3?o=P.create23(t.unappendChild(),o,null,!1):(t.appendChildOfSameHeight(o),o=void 0):t.handleChildrenChanged()}return o?P.create23(e,o,null,!1):e}(e,t):function(e,t){let n=e=e.toMutable();const i=new Array;for(;t.listHeight!==n.listHeight;){if(4!==n.kind)throw new Error("unexpected");i.push(n),n=n.makeFirstElementMutable()}let o=t;for(let e=i.length-1;e>=0;e--){const t=i[e];o?t.childrenLength>=3?o=P.create23(o,t.unprependChild(),null,!1):(t.prependChildOfSameHeight(o),o=void 0):t.handleChildrenChanged()}return o?P.create23(o,e,null,!1):e}(t,e)}class ne{constructor(e){this.lastOffset=0,this.nextNodes=[e],this.offsets=[0],this.idxs=[]}readLongestNodeAt(e,t){if(A(e,this.lastOffset))throw new Error("Invalid offset");for(this.lastOffset=e;;){const n=oe(this.nextNodes);if(!n)return;const i=oe(this.offsets);if(A(e,i))return;if(A(i,e))if(y(i,n.length)<=e)this.nextNodeAfterCurrent();else{const e=ie(n);-1!==e?(this.nextNodes.push(n.getChild(e)),this.offsets.push(i),this.idxs.push(e)):this.nextNodeAfterCurrent()}else{if(t(n))return this.nextNodeAfterCurrent(),n;{const e=ie(n);if(-1===e)return void this.nextNodeAfterCurrent();this.nextNodes.push(n.getChild(e)),this.offsets.push(i),this.idxs.push(e)}}}}nextNodeAfterCurrent(){for(;;){const e=oe(this.offsets),t=oe(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),0===this.idxs.length)break;const n=oe(this.nextNodes),i=ie(n,this.idxs[this.idxs.length-1]);if(-1!==i){this.nextNodes.push(n.getChild(i)),this.offsets.push(y(e,t.length)),this.idxs[this.idxs.length-1]=i;break}this.idxs.pop()}}}function ie(e,t=-1){for(;;){if(++t>=e.childrenLength)return-1;if(e.getChild(t))return t}}function oe(e){return e.length>0?e[e.length-1]:void 0}function re(e,t,n,i){return new ae(e,t,n,i).parseDocument()}class ae{constructor(e,t,n,i){if(this.tokenizer=e,this.createImmutableLists=i,this._itemsConstructed=0,this._itemsFromCache=0,n&&i)throw new Error("Not supported");this.oldNodeReader=n?new ne(n):void 0,this.positionMapper=new k(t,e.length)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(I.getEmpty());return e||(e=P.getEmpty()),e}parseList(e){const t=new Array;for(;;){const n=this.tokenizer.peek();if(!n||2===n.kind&&n.bracketIds.intersects(e))break;const i=this.parseChild(e);4===i.kind&&0===i.childrenLength||t.push(i)}const n=this.oldNodeReader?function(e){if(0===e.length)return null;if(1===e.length)return e[0];let t=0;function n(){if(t>=e.length)return null;const n=t,i=e[n].listHeight;for(t++;t<e.length&&e[t].listHeight===i;)t++;return t-n>=2?X(0===n&&t===e.length?e:e.slice(n,t),!1):e[n]}let i=n(),o=n();if(!o)return i;for(let e=n();e;e=n())ee(i,o)<=ee(o,e)?(i=te(i,o),o=e):o=te(o,e);return te(i,o)}(t):X(t,this.createImmutableLists);return n}parseChild(e){if(this.oldNodeReader){const t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(0!==t){const n=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),(n=>!!A(n.length,t)&&n.canBeReused(e)));if(n)return this._itemsFromCache++,this.tokenizer.skip(n.length),n}}this._itemsConstructed++;const t=this.tokenizer.read();switch(t.kind){case 2:return new Q(t.bracketIds,t.length);case 0:return t.astNode;case 1:{const n=e.merge(t.bracketIds),i=this.parseList(n),o=this.tokenizer.peek();return o&&2===o.kind&&(o.bracketId===t.bracketId||o.bracketIds.intersects(t.bracketIds))?(this.tokenizer.read(),O.create(t.astNode,i,o.astNode)):O.create(t.astNode,i,null)}default:throw new Error("unexpected")}}}class se extends s.JT{constructor(e,t){if(super(),this.textModel=e,this.getLanguageConfiguration=t,this.didChangeEmitter=new a.Q5,this.denseKeyProvider=new L,this.brackets=new Z(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,0===e.backgroundTokenizationState){const e=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),t=new J(this.textModel.getValue(),e);this.initialAstWithoutTokens=re(t,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}else 2===e.backgroundTokenizationState?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):1===e.backgroundTokenizationState&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens)}didLanguageChange(e){return this.brackets.didLanguageChange(e)}handleDidChangeBackgroundTokenizationState(){if(2===this.textModel.backgroundTokenizationState){const e=void 0===this.initialAstWithoutTokens;this.initialAstWithoutTokens=void 0,e||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:e}){const t=e.map((e=>new E(b(e.fromLineNumber-1,0),b(e.toLineNumber,0),b(e.toLineNumber-e.fromLineNumber+1,0))));this.astWithTokens=this.parseDocumentFromTextBuffer(t,this.astWithTokens,!1),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){const t=e.changes.map((e=>{const t=u.e.lift(e.range);return new E(x(t.getStartPosition()),x(t.getEndPosition()),function(e){const t=(0,l.uq)(e);return b(t.length-1,t[t.length-1].length)}(e.text))})).reverse();this.astWithTokens=this.parseDocumentFromTextBuffer(t,this.astWithTokens,!1),this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(t,this.initialAstWithoutTokens,!1))}parseDocumentFromTextBuffer(e,t,n){const i=t;return re(new Y(this.textModel,this.brackets),e,i,n)}getBracketsInRange(e){const t=b(e.startLineNumber-1,e.startColumn-1),n=b(e.endLineNumber-1,e.endColumn-1),i=new Array,o=this.initialAstWithoutTokens||this.astWithTokens;return le(o,0,o.length,t,n,i),i}getBracketPairsInRange(e,t){const n=new Array,i=x(e.getStartPosition()),o=x(e.getEndPosition()),r=this.initialAstWithoutTokens||this.astWithTokens,a=new ce(n,t,this.textModel);return de(r,0,r.length,i,o,a),n}}function le(e,t,n,i,o,r,a=0){if(4===e.kind)for(const s of e.children)n=y(t,s.length),w(t,o)&&C(n,i)&&le(s,t,n,i,o,r,a),t=n;else if(2===e.kind){if(a++,n=y(t,e.openingBracket.length),w(t,o)&&C(n,i)){const i=S(t,n);r.push(new f(i,a-1,!e.closingBracket))}if(t=n,e.child){const s=e.child;n=y(t,s.length),w(t,o)&&C(n,i)&&le(s,t,n,i,o,r,a),t=n}if(e.closingBracket){if(n=y(t,e.closingBracket.length),w(t,o)&&C(n,i)){const e=S(t,n);r.push(new f(e,a-1,!1))}t=n}}else if(3===e.kind){const e=S(t,n);r.push(new f(e,a-1,!0))}else if(1===e.kind){const e=S(t,n);r.push(new f(e,a-1,!1))}}class ce{constructor(e,t,n){this.result=e,this.includeMinIndentation=t,this.textModel=n}}function de(e,t,n,i,o,r,a=0){var s;if(2===e.kind){const i=y(t,e.openingBracket.length);let o=-1;r.includeMinIndentation&&(o=e.computeMinIndentation(t,r.textModel)),r.result.push(new g(S(t,n),S(t,i),e.closingBracket?S(y(i,(null===(s=e.child)||void 0===s?void 0:s.length)||0),n):void 0,a,o)),a++}let l=t;for(const t of e.children){const e=l;l=y(l,t.length),w(e,o)&&w(i,l)&&de(t,e,l,i,o,r,a)}}var ue=n(7311),he=n(6931);class pe extends s.JT{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new s.XK),this.onDidChangeEmitter=new a.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange((e=>{var t;e.languageId&&!(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.didLanguageChange(e.languageId))||(this.bracketPairsTree.clear(),this.updateBracketPairsTree())})))}get isDocumentSupported(){return this.textModel.getValueLength()<=5e6}handleDidChangeOptions(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeLanguage(e){this.bracketPairsTree.clear(),this.updateBracketPairsTree()}handleDidChangeContent(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleContentChanged(e)}handleDidChangeBackgroundTokenizationState(){var e;null===(e=this.bracketPairsTree.value)||void 0===e||e.object.handleDidChangeBackgroundTokenizationState()}handleDidChangeTokens(e){var t;null===(t=this.bracketPairsTree.value)||void 0===t||t.object.handleDidChangeTokens(e)}updateBracketPairsTree(){if(this.bracketsRequested&&this.isDocumentSupported){if(!this.bracketPairsTree.value){const n=new s.SL;this.bracketPairsTree.value=(e=n.add(new se(this.textModel,(e=>this.languageConfigurationService.getLanguageConfiguration(e)))),t=n,{object:e,dispose:()=>null==t?void 0:t.dispose()}),n.add(this.bracketPairsTree.value.object.onDidChange((e=>this.onDidChangeEmitter.fire(e)))),this.onDidChangeEmitter.fire()}}else this.bracketPairsTree.value&&(this.bracketPairsTree.clear(),this.onDidChangeEmitter.fire());var e,t}getBracketPairsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!1))||[]}getBracketPairsInRangeWithMinIndentation(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketPairsInRange(e,!0))||[]}getBracketsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),(null===(t=this.bracketPairsTree.value)||void 0===t?void 0:t.object.getBracketsInRange(e))||[]}findMatchingBracketUp(e,t,n){const i=e.toLowerCase(),o=this.textModel.validatePosition(t),r=this.textModel.getLanguageIdAtPosition(o.lineNumber,o.column),a=this.languageConfigurationService.getLanguageConfiguration(r).brackets;if(!a)return null;const s=a.textIsBracket[i];return s?me(this._findMatchingBracketUp(s,o,fe(n))):null}matchBracket(e,t){const n=fe(t);return this._matchBracket(this.textModel.validatePosition(e),n)}_establishBracketSearchOffsets(e,t,n,i){const o=t.getCount(),r=t.getLanguageId(i);let a=Math.max(0,e.column-1-n.maxBracketLength);for(let e=i-1;e>=0;e--){const n=t.getEndOffset(e);if(n<=a)break;if((0,ue.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==r){a=n;break}}let s=Math.min(t.getLineContent().length,e.column-1+n.maxBracketLength);for(let e=i+1;e<o;e++){const n=t.getStartOffset(e);if(n>=s)break;if((0,ue.Bu)(t.getStandardTokenType(e))||t.getLanguageId(e)!==r){s=n;break}}return{searchStartOffset:a,searchEndOffset:s}}_matchBracket(e,t){const n=e.lineNumber,i=this.textModel.getLineTokens(n),o=this.textModel.getLineContent(n),r=i.findTokenIndexAtOffset(e.column-1);if(r<0)return null;const a=this.languageConfigurationService.getLanguageConfiguration(i.getLanguageId(r)).brackets;if(a&&!(0,ue.Bu)(i.getStandardTokenType(r))){let{searchStartOffset:s,searchEndOffset:l}=this._establishBracketSearchOffsets(e,i,a,r),c=null;for(;;){const i=he.Vr.findNextBracketInRange(a.forwardRegex,n,o,s,l);if(!i)break;if(i.startColumn<=e.column&&e.column<=i.endColumn){const e=o.substring(i.startColumn-1,i.endColumn-1).toLowerCase(),n=this._matchFoundBracket(i,a.textIsBracket[e],a.textIsOpenBracket[e],t);if(n){if(n instanceof ge)return null;c=n}}s=i.endColumn-1}if(c)return c}if(r>0&&i.getStartOffset(r)===e.column-1){const a=r-1,s=this.languageConfigurationService.getLanguageConfiguration(i.getLanguageId(a)).brackets;if(s&&!(0,ue.Bu)(i.getStandardTokenType(a))){const{searchStartOffset:r,searchEndOffset:l}=this._establishBracketSearchOffsets(e,i,s,a),c=he.Vr.findPrevBracketInRange(s.reversedRegex,n,o,r,l);if(c&&c.startColumn<=e.column&&e.column<=c.endColumn){const e=o.substring(c.startColumn-1,c.endColumn-1).toLowerCase(),n=this._matchFoundBracket(c,s.textIsBracket[e],s.textIsOpenBracket[e],t);if(n)return n instanceof ge?null:n}}}return null}_matchFoundBracket(e,t,n,i){if(!t)return null;const o=n?this._findMatchingBracketDown(t,e.getEndPosition(),i):this._findMatchingBracketUp(t,e.getStartPosition(),i);return o?o instanceof ge?o:[e,o]:null}_findMatchingBracketUp(e,t,n){const i=e.languageId,o=e.reversedRegex;let r=-1,a=0;const s=(t,i,s,l)=>{for(;;){if(n&&++a%100==0&&!n())return ge.INSTANCE;const c=he.Vr.findPrevBracketInRange(o,t,i,s,l);if(!c)break;const d=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(d)?r++:e.isClose(d)&&r--,0===r)return c;l=c.startColumn-1}return null};for(let e=t.lineNumber;e>=1;e--){const n=this.textModel.getLineTokens(e),o=n.getCount(),r=this.textModel.getLineContent(e);let a=o-1,l=r.length,c=r.length;e===t.lineNumber&&(a=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1);let d=!0;for(;a>=0;a--){const t=n.getLanguageId(a)===i&&!(0,ue.Bu)(n.getStandardTokenType(a));if(t)d?l=n.getStartOffset(a):(l=n.getStartOffset(a),c=n.getEndOffset(a));else if(d&&l!==c){const t=s(e,r,l,c);if(t)return t}d=t}if(d&&l!==c){const t=s(e,r,l,c);if(t)return t}}return null}_findMatchingBracketDown(e,t,n){const i=e.languageId,o=e.forwardRegex;let r=1,a=0;const s=(t,i,s,l)=>{for(;;){if(n&&++a%100==0&&!n())return ge.INSTANCE;const c=he.Vr.findNextBracketInRange(o,t,i,s,l);if(!c)break;const d=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(d)?r++:e.isClose(d)&&r--,0===r)return c;s=c.endColumn-1}return null},l=this.textModel.getLineCount();for(let e=t.lineNumber;e<=l;e++){const n=this.textModel.getLineTokens(e),o=n.getCount(),r=this.textModel.getLineContent(e);let a=0,l=0,c=0;e===t.lineNumber&&(a=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1);let d=!0;for(;a<o;a++){const t=n.getLanguageId(a)===i&&!(0,ue.Bu)(n.getStandardTokenType(a));if(t)d||(l=n.getStartOffset(a)),c=n.getEndOffset(a);else if(d&&l!==c){const t=s(e,r,l,c);if(t)return t}d=t}if(d&&l!==c){const t=s(e,r,l,c);if(t)return t}}return null}findPrevBracket(e){const t=this.textModel.validatePosition(e);let n=null,i=null;for(let e=t.lineNumber;e>=1;e--){const o=this.textModel.getLineTokens(e),r=o.getCount(),a=this.textModel.getLineContent(e);let s=r-1,l=a.length,c=a.length;if(e===t.lineNumber){s=o.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const e=o.getLanguageId(s);n!==e&&(n=e,i=this.languageConfigurationService.getLanguageConfiguration(n).brackets)}let d=!0;for(;s>=0;s--){const t=o.getLanguageId(s);if(n!==t){if(i&&d&&l!==c){const t=he.Vr.findPrevBracketInRange(i.reversedRegex,e,a,l,c);if(t)return this._toFoundBracket(i,t);d=!1}n=t,i=this.languageConfigurationService.getLanguageConfiguration(n).brackets}const r=!!i&&!(0,ue.Bu)(o.getStandardTokenType(s));if(r)d?l=o.getStartOffset(s):(l=o.getStartOffset(s),c=o.getEndOffset(s));else if(i&&d&&l!==c){const t=he.Vr.findPrevBracketInRange(i.reversedRegex,e,a,l,c);if(t)return this._toFoundBracket(i,t)}d=r}if(i&&d&&l!==c){const t=he.Vr.findPrevBracketInRange(i.reversedRegex,e,a,l,c);if(t)return this._toFoundBracket(i,t)}}return null}findNextBracket(e){const t=this.textModel.validatePosition(e),n=this.textModel.getLineCount();let i=null,o=null;for(let e=t.lineNumber;e<=n;e++){const n=this.textModel.getLineTokens(e),r=n.getCount(),a=this.textModel.getLineContent(e);let s=0,l=0,c=0;if(e===t.lineNumber){s=n.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const e=n.getLanguageId(s);i!==e&&(i=e,o=this.languageConfigurationService.getLanguageConfiguration(i).brackets)}let d=!0;for(;s<r;s++){const t=n.getLanguageId(s);if(i!==t){if(o&&d&&l!==c){const t=he.Vr.findNextBracketInRange(o.forwardRegex,e,a,l,c);if(t)return this._toFoundBracket(o,t);d=!1}i=t,o=this.languageConfigurationService.getLanguageConfiguration(i).brackets}const r=!!o&&!(0,ue.Bu)(n.getStandardTokenType(s));if(r)d||(l=n.getStartOffset(s)),c=n.getEndOffset(s);else if(o&&d&&l!==c){const t=he.Vr.findNextBracketInRange(o.forwardRegex,e,a,l,c);if(t)return this._toFoundBracket(o,t)}d=r}if(o&&d&&l!==c){const t=he.Vr.findNextBracketInRange(o.forwardRegex,e,a,l,c);if(t)return this._toFoundBracket(o,t)}}return null}findEnclosingBrackets(e,t){const n=fe(t),i=this.textModel.validatePosition(e),o=this.textModel.getLineCount(),r=new Map;let a=[];const s=(e,t)=>{if(!r.has(e)){const n=[];for(let e=0,i=t?t.brackets.length:0;e<i;e++)n[e]=0;r.set(e,n)}a=r.get(e)};let l=0;const c=(e,t,i,o,r)=>{for(;;){if(n&&++l%100==0&&!n())return ge.INSTANCE;const s=he.Vr.findNextBracketInRange(e.forwardRegex,t,i,o,r);if(!s)break;const c=i.substring(s.startColumn-1,s.endColumn-1).toLowerCase(),d=e.textIsBracket[c];if(d&&(d.isOpen(c)?a[d.index]++:d.isClose(c)&&a[d.index]--,-1===a[d.index]))return this._matchFoundBracket(s,d,!1,n);o=s.endColumn-1}return null};let d=null,u=null;for(let e=i.lineNumber;e<=o;e++){const t=this.textModel.getLineTokens(e),n=t.getCount(),o=this.textModel.getLineContent(e);let r=0,a=0,l=0;if(e===i.lineNumber){r=t.findTokenIndexAtOffset(i.column-1),a=i.column-1,l=i.column-1;const e=t.getLanguageId(r);d!==e&&(d=e,u=this.languageConfigurationService.getLanguageConfiguration(d).brackets,s(d,u))}let h=!0;for(;r<n;r++){const n=t.getLanguageId(r);if(d!==n){if(u&&h&&a!==l){const t=c(u,e,o,a,l);if(t)return me(t);h=!1}d=n,u=this.languageConfigurationService.getLanguageConfiguration(d).brackets,s(d,u)}const i=!!u&&!(0,ue.Bu)(t.getStandardTokenType(r));if(i)h||(a=t.getStartOffset(r)),l=t.getEndOffset(r);else if(u&&h&&a!==l){const t=c(u,e,o,a,l);if(t)return me(t)}h=i}if(u&&h&&a!==l){const t=c(u,e,o,a,l);if(t)return me(t)}}return null}_toFoundBracket(e,t){if(!t)return null;let n=this.textModel.getValueInRange(t);n=n.toLowerCase();const i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null}}function fe(e){if(void 0===e)return()=>!0;{const t=Date.now();return()=>Date.now()-t<=e}}class ge{constructor(){this._searchCanceledBrand=void 0}}function me(e){return e instanceof ge?null:e}ge.INSTANCE=new ge;var ve=n(5146),be=n(2109);class _e extends s.JT{constructor(e){super(),this.textModel=e,this.colorProvider=new ye,this.onDidChangeEmitter=new a.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.colorizationOptions=e.getOptions().bracketPairColorizationOptions,this._register(e.bracketPairs.onDidChange((e=>{this.onDidChangeEmitter.fire()})))}handleDidChangeOptions(e){this.colorizationOptions=this.textModel.getOptions().bracketPairColorizationOptions}getDecorationsInRange(e,t,n){if(void 0===t)return[];if(!this.colorizationOptions.enabled)return[];const i=new Array,o=this.textModel.bracketPairs.getBracketsInRange(e);for(const e of o)i.push({id:`bracket${e.range.toString()}-${e.nestingLevel}`,options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(e)},ownerId:0,range:e.range});return i}getAllDecorations(e,t){return void 0===e?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new u.e(1,1,this.textModel.getLineCount(),1),e,t):[]}}class ye{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(e.nestingLevel)}getInlineClassNameOfLevel(e){return"bracket-highlighting-"+e%30}}(0,be.Ic)(((e,t)=>{const n=[ve.zJ,ve.Vs,ve.CE,ve.UP,ve.r0,ve.m1],i=new ye;t.addRule(`.monaco-editor .${i.unexpectedClosingBracketClassName} { color: ${e.getColor(ve.ts)}; }`);const o=n.map((t=>e.getColor(t))).filter((e=>!!e)).filter((e=>!e.isTransparent()));for(let e=0;e<30;e++){const n=o[e%o.length];t.addRule(`.monaco-editor .${i.getInlineClassNameOfLevel(e)} { color: ${n}; }`)}}));var Ae=n(2854),we=n(9928);class Ce{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function xe(e,t,n,i,o){let r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r<t&&r<i&&e.charCodeAt(r)===n.charCodeAt(r);r++);let a=0,s=0;for(let n=r;n<t;n++)32===e.charCodeAt(n)?a++:s++;let l=0,c=0;for(let e=r;e<i;e++)32===n.charCodeAt(e)?l++:c++;if(a>0&&s>0)return;if(l>0&&c>0)return;const d=Math.abs(s-c),u=Math.abs(a-l);if(0===d)return o.spacesDiff=u,void(u>0&&0<=l-1&&l-1<e.length&&l<n.length&&32!==n.charCodeAt(l)&&32===e.charCodeAt(l-1)&&44===e.charCodeAt(e.length-1)&&(o.looksLikeAlignment=!0));u%d!=0||(o.spacesDiff=u/d)}function Se(e,t,n){const i=Math.min(e.getLineCount(),1e4);let o=0,r=0,a="",s=0;const l=[2,4,6,8,3,5,7],c=[0,0,0,0,0,0,0,0,0],d=new Ce;for(let l=1;l<=i;l++){const i=e.getLineLength(l),u=e.getLineContent(l),h=i<=65536;let p=!1,f=0,g=0,m=0;for(let t=0,n=i;t<n;t++){const n=h?u.charCodeAt(t):e.getLineCharCode(l,t);if(9===n)m++;else{if(32!==n){p=!0,f=t;break}g++}}if(!p)continue;if(m>0?o++:g>1&&r++,xe(a,s,u,f,d),d.looksLikeAlignment&&(!n||t!==d.spacesDiff))continue;const v=d.spacesDiff;v<=8&&c[v]++,a=u,s=f}let u=n;o!==r&&(u=o<r);let h=t;if(u){let e=u?0:.1*i;l.forEach((t=>{const n=c[t];n>e&&(e=n,h=t)})),4===h&&c[4]>0&&c[2]>0&&c[2]>=c[4]/2&&(h=2)}return{insertSpaces:u,tabSize:h}}function Ee(e){return(1&e.metadata)>>>0}function ke(e,t){e.metadata=254&e.metadata|t<<0}function Me(e){return(2&e.metadata)>>>1==1}function De(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function Ne(e){return(4&e.metadata)>>>2==1}function Ie(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function Te(e,t){e.metadata=231&e.metadata|t<<3}function Le(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class Be{constructor(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,ke(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,Ie(this,!1),Te(this,1),Le(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,De(this,!1)}reset(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i}setOptions(e){this.options=e;const t=this.options.className;Ie(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),Te(this,this.options.stickiness),Le(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const Oe=new Be(null,0,0);Oe.parent=Oe,Oe.left=Oe,Oe.right=Oe,ke(Oe,0);class Pe{constructor(){this.root=Oe,this.requestNormalizeDelta=!1}intervalSearch(e,t,n,i,o){return this.root===Oe?[]:function(e,t,n,i,o,r){let a=e.root,s=0,l=0,c=0,d=0;const u=[];let h=0;for(;a!==Oe;)if(Me(a))De(a.left,!1),De(a.right,!1),a===a.parent.right&&(s-=a.parent.delta),a=a.parent;else{if(!Me(a.left)){if(l=s+a.maxEnd,l<t){De(a,!0);continue}if(a.left!==Oe){a=a.left;continue}}if(c=s+a.start,c>n)De(a,!0);else{if(d=s+a.end,d>=t){a.setCachedOffsets(c,d,r);let e=!0;i&&a.ownerId&&a.ownerId!==i&&(e=!1),o&&Ne(a)&&(e=!1),e&&(u[h++]=a)}De(a,!0),a.right===Oe||Me(a.right)||(s+=a.delta,a=a.right)}}return De(e.root,!1),u}(this,e,t,n,i,o)}search(e,t,n){return this.root===Oe?[]:function(e,t,n,i){let o=e.root,r=0,a=0,s=0;const l=[];let c=0;for(;o!==Oe;){if(Me(o)){De(o.left,!1),De(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==Oe&&!Me(o.left)){o=o.left;continue}a=r+o.start,s=r+o.end,o.setCachedOffsets(a,s,i);let e=!0;t&&o.ownerId&&o.ownerId!==t&&(e=!1),n&&Ne(o)&&(e=!1),e&&(l[c++]=o),De(o,!0),o.right===Oe||Me(o.right)||(r+=o.delta,o=o.right)}return De(e.root,!1),l}(this,e,t,n)}collectNodesFromOwner(e){return function(e,t){let n=e.root;const i=[];let o=0;for(;n!==Oe;)Me(n)?(De(n.left,!1),De(n.right,!1),n=n.parent):n.left===Oe||Me(n.left)?(n.ownerId===t&&(i[o++]=n),De(n,!0),n.right===Oe||Me(n.right)||(n=n.right)):n=n.left;return De(e.root,!1),i}(this,e)}collectNodesPostOrder(){return function(e){let t=e.root;const n=[];let i=0;for(;t!==Oe;)Me(t)?(De(t.left,!1),De(t.right,!1),t=t.parent):t.left===Oe||Me(t.left)?t.right===Oe||Me(t.right)?(n[i++]=t,De(t,!0)):t=t.right:t=t.left;return De(e.root,!1),n}(this)}insert(e){je(this,e),this._normalizeDeltaIfNecessary()}delete(e){ze(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){const n=e;let i=0;for(;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;const o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)}acceptReplace(e,t,n,i){const o=function(e,t,n){let i=e.root,o=0,r=0,a=0,s=0;const l=[];let c=0;for(;i!==Oe;)if(Me(i))De(i.left,!1),De(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!Me(i.left)){if(r=o+i.maxEnd,r<t){De(i,!0);continue}if(i.left!==Oe){i=i.left;continue}}a=o+i.start,a>n?De(i,!0):(s=o+i.end,s>=t&&(i.setCachedOffsets(a,s,0),l[c++]=i),De(i,!0),i.right===Oe||Me(i.right)||(o+=i.delta,i=i.right))}return De(e.root,!1),l}(this,e,e+t);for(let e=0,t=o.length;e<t;e++)ze(this,o[e]);this._normalizeDeltaIfNecessary(),function(e,t,n,i){let o=e.root,r=0,a=0,s=0;const l=i-(n-t);for(;o!==Oe;)if(Me(o))De(o.left,!1),De(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),Qe(o),o=o.parent;else{if(!Me(o.left)){if(a=r+o.maxEnd,a<t){De(o,!0);continue}if(o.left!==Oe){o=o.left;continue}}s=r+o.start,s>n?(o.start+=l,o.end+=l,o.delta+=l,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),De(o,!0)):(De(o,!0),o.right===Oe||Me(o.right)||(r+=o.delta,o=o.right))}De(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(let r=0,a=o.length;r<a;r++){const a=o[r];a.start=a.cachedAbsoluteStart,a.end=a.cachedAbsoluteEnd,Re(a,e,e+t,n,i),a.maxEnd=a.end,je(this,a)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){let t=e.root,n=0;for(;t!==Oe;)t.left===Oe||Me(t.left)?t.right===Oe||Me(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,Qe(t),De(t,!0),De(t.left,!1),De(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;De(e.root,!1)}(this))}}function Fe(e,t,n,i){return e<n||!(e>n)&&1!==i&&(2===i||t)}function Re(e,t,n,i,o){const r=function(e){return(24&e.metadata)>>>3}(e),a=0===r||2===r,s=1===r||2===r,l=n-t,c=i,d=Math.min(l,c),u=e.start;let h=!1;const p=e.end;let f=!1;t<=u&&p<=n&&function(e){return(32&e.metadata)>>>5==1}(e)&&(e.start=t,h=!0,e.end=t,f=!0);{const e=o?1:l>0?2:0;!h&&Fe(u,a,t,e)&&(h=!0),!f&&Fe(p,s,t,e)&&(f=!0)}if(d>0&&!o){const e=l>c?2:0;!h&&Fe(u,a,t+d,e)&&(h=!0),!f&&Fe(p,s,t+d,e)&&(f=!0)}{const i=o?1:0;!h&&Fe(u,a,n,i)&&(e.start=t+c,h=!0),!f&&Fe(p,s,n,i)&&(e.end=t+c,f=!0)}const g=c-l;h||(e.start=Math.max(0,u+g)),f||(e.end=Math.max(0,p+g)),e.start>e.end&&(e.end=e.start)}function je(e,t){if(e.root===Oe)return t.parent=Oe,t.left=Oe,t.right=Oe,ke(t,0),e.root=t,e.root;!function(e,t){let n=0,i=e.root;const o=t.start,r=t.end;for(;;)if(a=o,s=r,l=i.start+n,c=i.end+n,(a===l?s-c:a-l)<0){if(i.left===Oe){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===Oe){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}var a,s,l,c;t.parent=i,t.left=Oe,t.right=Oe,ke(t,1)}(e,t),Ge(t.parent);let n=t;for(;n!==e.root&&1===Ee(n.parent);)if(n.parent===n.parent.parent.left){const t=n.parent.parent.right;1===Ee(t)?(ke(n.parent,0),ke(t,0),ke(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&(n=n.parent,We(e,n)),ke(n.parent,0),ke(n.parent.parent,1),He(e,n.parent.parent))}else{const t=n.parent.parent.left;1===Ee(t)?(ke(n.parent,0),ke(t,0),ke(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&(n=n.parent,He(e,n)),ke(n.parent,0),ke(n.parent.parent,1),We(e,n.parent.parent))}return ke(e.root,0),t}function ze(e,t){let n,i;if(t.left===Oe?(n=t.right,i=t,n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===Oe?(n=t.left,i=t):(i=function(e){for(;e.left!==Oe;)e=e.left;return e}(t.right),n=i.right,n.start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,ke(n,0),t.detach(),Ve(),Qe(n),void(e.root.parent=Oe);const o=1===Ee(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,ke(i,Ee(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==Oe&&(i.left.parent=i),i.right!==Oe&&(i.right.parent=i)),t.detach(),o)return Ge(n.parent),i!==t&&(Ge(i),Ge(i.parent)),void Ve();let r;for(Ge(n),Ge(n.parent),i!==t&&(Ge(i),Ge(i.parent));n!==e.root&&0===Ee(n);)n===n.parent.left?(r=n.parent.right,1===Ee(r)&&(ke(r,0),ke(n.parent,1),We(e,n.parent),r=n.parent.right),0===Ee(r.left)&&0===Ee(r.right)?(ke(r,1),n=n.parent):(0===Ee(r.right)&&(ke(r.left,0),ke(r,1),He(e,r),r=n.parent.right),ke(r,Ee(n.parent)),ke(n.parent,0),ke(r.right,0),We(e,n.parent),n=e.root)):(r=n.parent.left,1===Ee(r)&&(ke(r,0),ke(n.parent,1),He(e,n.parent),r=n.parent.left),0===Ee(r.left)&&0===Ee(r.right)?(ke(r,1),n=n.parent):(0===Ee(r.left)&&(ke(r.right,0),ke(r,1),We(e,r),r=n.parent.left),ke(r,Ee(n.parent)),ke(n.parent,0),ke(r.left,0),He(e,n.parent),n=e.root));ke(n,0),Ve()}function Ve(){Oe.parent=Oe,Oe.delta=0,Oe.start=0,Oe.end=0}function We(e,t){const n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==Oe&&(n.left.parent=t),n.parent=t.parent,t.parent===Oe?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,Qe(t),Qe(n)}function He(e,t){const n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==Oe&&(n.right.parent=t),n.parent=t.parent,t.parent===Oe?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,Qe(t),Qe(n)}function Ue(e){let t=e.end;if(e.left!==Oe){const n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==Oe){const n=e.right.maxEnd+e.delta;n>t&&(t=n)}return t}function Qe(e){e.maxEnd=Ue(e)}function Ge(e){for(;e!==Oe;){const t=Ue(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class Ke{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==Ye)return $e(this.right);let e=this;for(;e.parent!==Ye&&e.parent.left!==e;)e=e.parent;return e.parent===Ye?Ye:e.parent}prev(){if(this.left!==Ye)return Je(this.left);let e=this;for(;e.parent!==Ye&&e.parent.right!==e;)e=e.parent;return e.parent===Ye?Ye:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const Ye=new Ke(null,0);function $e(e){for(;e.left!==Ye;)e=e.left;return e}function Je(e){for(;e.right!==Ye;)e=e.right;return e}function qe(e){return e===Ye?0:e.size_left+e.piece.length+qe(e.right)}function Ze(e){return e===Ye?0:e.lf_left+e.piece.lineFeedCnt+Ze(e.right)}function Xe(){Ye.parent=Ye}function et(e,t){const n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==Ye&&(n.left.parent=t),n.parent=t.parent,t.parent===Ye?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function tt(e,t){const n=t.left;t.left=n.right,n.right!==Ye&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===Ye?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function nt(e,t){let n,i;if(t.left===Ye?(i=t,n=i.right):t.right===Ye?(i=t,n=i.left):(i=$e(t.right),n=i.right),i===e.root)return e.root=n,n.color=0,t.detach(),Xe(),void(e.root.parent=Ye);const o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,rt(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,rt(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==Ye&&(i.left.parent=i),i.right!==Ye&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,rt(e,i)),t.detach(),n.parent.left===n){const t=qe(n),i=Ze(n);if(t!==n.parent.size_left||i!==n.parent.lf_left){const o=t-n.parent.size_left,r=i-n.parent.lf_left;n.parent.size_left=t,n.parent.lf_left=i,ot(e,n.parent,o,r)}}if(rt(e,n.parent),o)return void Xe();let r;for(;n!==e.root&&0===n.color;)n===n.parent.left?(r=n.parent.right,1===r.color&&(r.color=0,n.parent.color=1,et(e,n.parent),r=n.parent.right),0===r.left.color&&0===r.right.color?(r.color=1,n=n.parent):(0===r.right.color&&(r.left.color=0,r.color=1,tt(e,r),r=n.parent.right),r.color=n.parent.color,n.parent.color=0,r.right.color=0,et(e,n.parent),n=e.root)):(r=n.parent.left,1===r.color&&(r.color=0,n.parent.color=1,tt(e,n.parent),r=n.parent.left),0===r.left.color&&0===r.right.color?(r.color=1,n=n.parent):(0===r.left.color&&(r.right.color=0,r.color=1,et(e,r),r=n.parent.left),r.color=n.parent.color,n.parent.color=0,r.left.color=0,tt(e,n.parent),n=e.root));n.color=0,Xe()}function it(e,t){for(rt(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){const n=t.parent.parent.right;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&et(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,tt(e,t.parent.parent))}else{const n=t.parent.parent.left;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&tt(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,et(e,t.parent.parent))}e.root.color=0}function ot(e,t,n,i){for(;t!==e.root&&t!==Ye;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function rt(e,t){let n=0,i=0;if(t!==e.root){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t!==e.root)for(n=qe((t=t.parent).left)-t.size_left,i=Ze(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}Ye.parent=Ye,Ye.left=Ye,Ye.right=Ye,Ye.color=0;var at=n(1860);const st=65535;function lt(e){let t;return t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length),t.set(e,0),t}class ct{constructor(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o}}function dt(e,t=!0){const n=[0];let i=1;for(let t=0,o=e.length;t<o;t++){const r=e.charCodeAt(t);13===r?t+1<o&&10===e.charCodeAt(t+1)?(n[i++]=t+2,t++):n[i++]=t+1:10===r&&(n[i++]=t+1)}return t?lt(n):n}class ut{constructor(e,t,n,i,o){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=o}}class ht{constructor(e,t){this.buffer=e,this.lineStarts=t}}class pt{constructor(e,t){this._pieces=[],this._tree=e,this._BOM=t,this._index=0,e.root!==Ye&&e.iterate(e.root,(e=>(e!==Ye&&this._pieces.push(e.piece),!0)))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class ft{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){const n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){const n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1;const n=this._cache;for(let i=0;i<n.length;i++){const o=n[i];(null===o.node.parent||o.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){const e=[];for(const t of n)null!==t&&e.push(t);this._cache=e}}}class gt{constructor(e,t,n){this.create(e,t,n)}create(e,t,n){this._buffers=[new ht("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=Ye,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;let i=null;for(let t=0,n=e.length;t<n;t++)if(e[t].buffer.length>0){e[t].lineStarts||(e[t].lineStarts=dt(e[t].buffer));const n=new ut(t+1,{line:0,column:0},{line:e[t].lineStarts.length-1,column:e[t].buffer.length-e[t].lineStarts[e[t].lineStarts.length-1]},e[t].lineStarts.length-1,e[t].buffer.length);this._buffers.push(e[t]),i=this.rbInsertRight(i,n)}this._searchCache=new ft(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){const t=65535-Math.floor(21845),n=2*t;let i="",o=0;const r=[];if(this.iterate(this.root,(a=>{const s=this.getNodeContent(a),l=s.length;if(o<=t||o+l<n)return i+=s,o+=l,!0;const c=i.replace(/\r\n|\r|\n/g,e);return r.push(new ht(c,dt(c))),i=s,o=l,!0})),o>0){const t=i.replace(/\r\n|\r|\n/g,e);r.push(new ht(t,dt(t)))}this.create(r,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new pt(this,e)}getOffsetAt(e,t){let n=0,i=this.root;for(;i!==Ye;)if(i.left!==Ye&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return n+=i.size_left,n+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,n=0;const i=e;for(;t!==Ye;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){const o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){const e=i-this.getOffsetAt(n+1,1);return new d.L(n+1,e+1)}return new d.L(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===Ye){const t=i-e-this.getOffsetAt(n+1,1);return new d.L(n+1,t+1)}t=t.right}return new d.L(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";const n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o}getValueInRange2(e,t){if(e.node===t.node){const n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}let n=e.node;const i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);let r=i.substring(o+e.remainder,o+n.piece.length);for(n=n.next();n!==Ye;){const e=this._buffers[n.piece.bufferIndex].buffer,i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){r+=e.substring(i,i+t.remainder);break}r+=e.substr(i,n.piece.length),n=n.next()}return r}getLinesContent(){const e=[];let t=0,n="",i=!1;return this.iterate(this.root,(o=>{if(o===Ye)return!0;const r=o.piece;let a=r.length;if(0===a)return!0;const s=this._buffers[r.bufferIndex].buffer,l=this._buffers[r.bufferIndex].lineStarts,c=r.start.line,d=r.end.line;let u=l[c]+r.start.column;if(i&&(10===s.charCodeAt(u)&&(u++,a--),e[t++]=n,n="",i=!1,0===a))return!0;if(c===d)return this._EOLNormalized||13!==s.charCodeAt(u+a-1)?n+=s.substr(u,a):(i=!0,n+=s.substr(u,a-1)),!0;n+=this._EOLNormalized?s.substring(u,Math.max(u,l[c+1]-this._EOLLength)):s.substring(u,l[c+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;for(let i=c+1;i<d;i++)n=this._EOLNormalized?s.substring(l[i],l[i+1]-this._EOLLength):s.substring(l[i],l[i+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;return this._EOLNormalized||13!==s.charCodeAt(l[d]+r.end.column-1)?n=s.substr(l[d],r.end.column):(i=!0,0===r.end.column?t--:n=s.substr(l[d],r.end.column-1)),!0})),i&&(e[t++]=n,n=""),e[t++]=n,e}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value}_getCharCode(e){if(e.remainder===e.node.piece.length){const t=e.node.next();if(!t)return 0;const n=this._buffers[t.piece.bufferIndex],i=this.offsetInBuffer(t.piece.bufferIndex,t.piece.start);return n.buffer.charCodeAt(i)}{const t=this._buffers[e.node.piece.bufferIndex],n=this.offsetInBuffer(e.node.piece.bufferIndex,e.node.piece.start)+e.remainder;return t.buffer.charCodeAt(n)}}getLineCharCode(e,t){const n=this.nodeAt2(e,t+1);return this._getCharCode(n)}getLineLength(e){if(e===this.getLineCount()){const t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength}findMatchesInNode(e,t,n,i,o,r,a,s,l,c,d){const h=this._buffers[e.piece.bufferIndex],p=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),f=this.offsetInBuffer(e.piece.bufferIndex,o),g=this.offsetInBuffer(e.piece.bufferIndex,r);let m;const v={line:0,column:0};let b,_;t._wordSeparators?(b=h.buffer.substring(f,g),_=e=>e+f,t.reset(0)):(b=h.buffer,_=e=>e,t.reset(f));do{if(m=t.next(b),m){if(_(m.index)>=g)return c;this.positionInBuffer(e,_(m.index)-p,v);const t=this.getLineFeedCnt(e.piece.bufferIndex,o,v),r=v.line===o.line?v.column-o.column+i:v.column+1,a=r+m[0].length;if(d[c++]=(0,at.iE)(new u.e(n+t,r,n+t,a),m,s),_(m.index)+m[0].length>=g)return c;if(c>=l)return c}}while(m);return c}findMatchesLineByLine(e,t,n,i){const o=[];let r=0;const a=new at.sz(t.wordSeparators,t.regex);let s=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===s)return[];const l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let c=this.positionInBuffer(s.node,s.remainder);const d=this.positionInBuffer(l.node,l.remainder);if(s.node===l.node)return this.findMatchesInNode(s.node,a,e.startLineNumber,e.startColumn,c,d,t,n,i,r,o),o;let u=e.startLineNumber,h=s.node;for(;h!==l.node;){const l=this.getLineFeedCnt(h.piece.bufferIndex,c,h.piece.end);if(l>=1){const s=this._buffers[h.piece.bufferIndex].lineStarts,d=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),p=s[c.line+l],f=u===e.startLineNumber?e.startColumn:1;if(r=this.findMatchesInNode(h,a,u,f,c,this.positionInBuffer(h,p-d),t,n,i,r,o),r>=i)return o;u+=l}const d=u===e.startLineNumber?e.startColumn-1:0;if(u===e.endLineNumber){const s=this.getLineContent(u).substring(d,e.endColumn-1);return r=this._findMatchesInLine(t,a,s,e.endLineNumber,d,r,o,n,i),o}if(r=this._findMatchesInLine(t,a,this.getLineContent(u).substr(d),u,d,r,o,n,i),r>=i)return o;u++,s=this.nodeAt2(u,1),h=s.node,c=this.positionInBuffer(s.node,s.remainder)}if(u===e.endLineNumber){const s=u===e.startLineNumber?e.startColumn-1:0,l=this.getLineContent(u).substring(s,e.endColumn-1);return r=this._findMatchesInLine(t,a,l,e.endLineNumber,s,r,o,n,i),o}const p=u===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(l.node,a,u,p,c,d,t,n,i,r,o),o}_findMatchesInLine(e,t,n,i,o,r,a,s,l){const c=e.wordSeparators;if(!s&&e.simpleSearch){const t=e.simpleSearch,s=t.length,d=n.length;let h=-s;for(;-1!==(h=n.indexOf(t,h+s));)if((!c||(0,at.cM)(c,n,d,h,s))&&(a[r++]=new p.tk(new u.e(i,h+1+o,i,h+1+s+o),null),r>=l))return r;return r}let d;t.reset(0);do{if(d=t.next(n),d&&(a[r++]=(0,at.iE)(new u.e(i,d.index+1+o,i,d.index+1+d[0].length+o),d,s),r>=l))return r}while(d);return r}insert(e,t,n=!1){if(this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==Ye){const{node:n,remainder:i,nodeStartOffset:o}=this.nodeAt(e),r=n.piece,a=r.bufferIndex,s=this.positionInBuffer(n,i);if(0===n.piece.bufferIndex&&r.end.line===this._lastChangeBufferPos.line&&r.end.column===this._lastChangeBufferPos.column&&o+r.length===e&&t.length<st)return this.appendToNode(n,t),void this.computeBufferMetadata();if(o===e)this.insertContentToNodeLeft(t,n),this._searchCache.validate(e);else if(o+n.piece.length>e){const e=[];let o=new ut(r.bufferIndex,s,r.end,this.getLineFeedCnt(r.bufferIndex,s,r.end),this.offsetInBuffer(a,r.end)-this.offsetInBuffer(a,s));if(this.shouldCheckCRLF()&&this.endWithCR(t)&&10===this.nodeCharCodeAt(n,i)){const e={line:o.start.line+1,column:0};o=new ut(o.bufferIndex,e,o.end,this.getLineFeedCnt(o.bufferIndex,e,o.end),o.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(n,i-1)){const o=this.positionInBuffer(n,i-1);this.deleteNodeTail(n,o),t="\r"+t,0===n.piece.length&&e.push(n)}else this.deleteNodeTail(n,s);else this.deleteNodeTail(n,s);const l=this.createNewPieces(t);o.length>0&&this.rbInsertRight(n,o);let c=n;for(let e=0;e<l.length;e++)c=this.rbInsertRight(c,l[e]);this.deleteNodes(e)}else this.insertContentToNodeRight(t,n)}else{const e=this.createNewPieces(t);let n=this.rbInsertLeft(null,e[0]);for(let t=1;t<e.length;t++)n=this.rbInsertRight(n,e[t])}this.computeBufferMetadata()}delete(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",t<=0||this.root===Ye)return;const n=this.nodeAt(e),i=this.nodeAt(e+t),o=n.node,r=i.node;if(o===r){const r=this.positionInBuffer(o,n.remainder),a=this.positionInBuffer(o,i.remainder);if(n.nodeStartOffset===e){if(t===o.piece.length){const e=o.next();return nt(this,o),this.validateCRLFWithPrevNode(e),void this.computeBufferMetadata()}return this.deleteNodeHead(o,a),this._searchCache.validate(e),this.validateCRLFWithPrevNode(o),void this.computeBufferMetadata()}return n.nodeStartOffset+o.piece.length===e+t?(this.deleteNodeTail(o,r),this.validateCRLFWithNextNode(o),void this.computeBufferMetadata()):(this.shrinkNode(o,r,a),void this.computeBufferMetadata())}const a=[],s=this.positionInBuffer(o,n.remainder);this.deleteNodeTail(o,s),this._searchCache.validate(e),0===o.piece.length&&a.push(o);const l=this.positionInBuffer(r,i.remainder);this.deleteNodeHead(r,l),0===r.piece.length&&a.push(r);for(let e=o.next();e!==Ye&&e!==r;e=e.next())a.push(e);const c=0===o.piece.length?o.prev():o;this.deleteNodes(a),this.validateCRLFWithNextNode(c),this.computeBufferMetadata()}insertContentToNodeLeft(e,t){const n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){const i=t.piece,o={line:i.start.line+1,column:0},r=new ut(i.bufferIndex,o,i.end,this.getLineFeedCnt(i.bufferIndex,o,i.end),i.length-1);t.piece=r,e+="\n",ot(this,t,-1,-1),0===t.piece.length&&n.push(t)}const i=this.createNewPieces(e);let o=this.rbInsertLeft(t,i[i.length-1]);for(let e=i.length-2;e>=0;e--)o=this.rbInsertLeft(o,i[e]);this.validateCRLFWithPrevNode(o),this.deleteNodes(n)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");const n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]);let o=i;for(let e=1;e<n.length;e++)o=this.rbInsertRight(o,n[e]);this.validateCRLFWithPrevNode(i)}positionInBuffer(e,t,n){const i=e.piece,o=e.piece.bufferIndex,r=this._buffers[o].lineStarts,a=r[i.start.line]+i.start.column+t;let s=i.start.line,l=i.end.line,c=0,d=0,u=0;for(;s<=l&&(c=s+(l-s)/2|0,u=r[c],c!==l);)if(d=r[c+1],a<u)l=c-1;else{if(!(a>=d))break;s=c+1}return n?(n.line=c,n.column=a-u,null):{line:c,column:a-u}}getLineFeedCnt(e,t,n){if(0===n.column)return n.line-t.line;const i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;const o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;const a=r-1;return 13===this._buffers[e].buffer.charCodeAt(a)?n.line-t.line+1:n.line-t.line}offsetInBuffer(e,t){return this._buffers[e].lineStarts[t.line]+t.column}deleteNodes(e){for(let t=0;t<e.length;t++)nt(this,e[t])}createNewPieces(e){if(e.length>st){const t=[];for(;e.length>st;){const n=e.charCodeAt(65534);let i;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,st),e=e.substring(st));const o=dt(i);t.push(new ut(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new ht(i,o))}const n=dt(e);return t.push(new ut(this._buffers.length,{line:0,column:0},{line:n.length-1,column:e.length-n[n.length-1]},n.length-1,e.length)),this._buffers.push(new ht(e,n)),t}let t=this._buffers[0].buffer.length;const n=dt(e,!1);let i=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},i=this._lastChangeBufferPos;for(let e=0;e<n.length;e++)n[e]+=t+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+="_"+e,t+=1}else{if(0!==t)for(let e=0;e<n.length;e++)n[e]+=t;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+=e}const o=this._buffers[0].buffer.length,r=this._buffers[0].lineStarts.length-1,a={line:r,column:o-this._buffers[0].lineStarts[r]},s=new ut(0,i,a,this.getLineFeedCnt(0,i,a),o-t);return this._lastChangeBufferPos=a,[s]}getLineRawContent(e,t=0){let n=this.root,i="";const o=this._searchCache.get2(e);if(o){n=o.node;const r=this.getAccumulatedValue(n,e-o.nodeStartLineNumber-1),a=this._buffers[n.piece.bufferIndex].buffer,s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(o.nodeStartLineNumber+n.piece.lineFeedCnt!==e){const i=this.getAccumulatedValue(n,e-o.nodeStartLineNumber);return a.substring(s+r,s+i-t)}i=a.substring(s+r,s+n.piece.length)}else{let o=0;const r=e;for(;n!==Ye;)if(n.left!==Ye&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){const i=this.getAccumulatedValue(n,e-n.lf_left-2),a=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,l=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return o+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:o,nodeStartLineNumber:r-(e-1-n.lf_left)}),s.substring(l+i,l+a-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){const t=this.getAccumulatedValue(n,e-n.lf_left-2),o=this._buffers[n.piece.bufferIndex].buffer,r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=o.substring(r+t,r+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,o+=n.size_left+n.piece.length,n=n.right}}for(n=n.next();n!==Ye;){const e=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){const o=this.getAccumulatedValue(n,0),r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=e.substring(r,r+o-t),i}{const t=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=e.substr(t,n.piece.length)}n=n.next()}return i}computeBufferMetadata(){let e=this.root,t=1,n=0;for(;e!==Ye;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.validate(this._length)}getIndexOf(e,t){const n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){const t=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(t!==o)return{index:t,remainder:0}}return{index:o,remainder:i.column}}getAccumulatedValue(e,t){if(t<0)return 0;const n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column}deleteNodeTail(e,t){const n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,a=this.offsetInBuffer(n.bufferIndex,r),s=this.getLineFeedCnt(n.bufferIndex,n.start,r),l=s-i,c=a-o,d=n.length+c;e.piece=new ut(n.bufferIndex,n.start,r,s,d),ot(this,e,c,l)}deleteNodeHead(e,t){const n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,a=this.getLineFeedCnt(n.bufferIndex,r,n.end),s=a-i,l=o-this.offsetInBuffer(n.bufferIndex,r),c=n.length+l;e.piece=new ut(n.bufferIndex,r,n.end,a,c),ot(this,e,l,s)}shrinkNode(e,t,n){const i=e.piece,o=i.start,r=i.end,a=i.length,s=i.lineFeedCnt,l=t,c=this.getLineFeedCnt(i.bufferIndex,i.start,l),d=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ut(i.bufferIndex,i.start,l,c,d),ot(this,e,d-a,c-s);const u=new ut(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,u);this.validateCRLFWithPrevNode(h)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");const n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const o=dt(t,!1);for(let e=0;e<o.length;e++)o[e]+=i;if(n){const e=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-e}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(o.slice(1));const r=this._buffers[0].lineStarts.length-1,a={line:r,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[r]},s=e.piece.length+t.length,l=e.piece.lineFeedCnt,c=this.getLineFeedCnt(0,e.piece.start,a),d=c-l;e.piece=new ut(e.piece.bufferIndex,e.piece.start,a,c,s),this._lastChangeBufferPos=a,ot(this,e,t.length,d)}nodeAt(e){let t=this.root;const n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};let i=0;for(;t!==Ye;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;const n={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(n),n}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null}nodeAt2(e,t){let n=this.root,i=0;for(;n!==Ye;)if(n.left!==Ye&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){const o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){const o=this.getAccumulatedValue(n,e-n.lf_left-2);if(o+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==Ye;){if(n.piece.lineFeedCnt>0){const e=this.getAccumulatedValue(n,0),i=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,e),nodeStartOffset:i}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;const n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===Ye||0===e.piece.lineFeedCnt)return!1;const t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o)}endWithCR(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==Ye&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){const t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){const t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){const n=[],i=this._buffers[e.piece.bufferIndex].lineStarts;let o;o=0===e.piece.end.column?{line:e.piece.end.line-1,column:i[e.piece.end.line]-i[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};const r=e.piece.length-1,a=e.piece.lineFeedCnt-1;e.piece=new ut(e.piece.bufferIndex,e.piece.start,o,a,r),ot(this,e,-1,-1),0===e.piece.length&&n.push(e);const s={line:t.piece.start.line+1,column:0},l=t.piece.length-1,c=this.getLineFeedCnt(t.piece.bufferIndex,s,t.piece.end);t.piece=new ut(t.piece.bufferIndex,s,t.piece.end,c,l),ot(this,t,-1,-1),0===t.piece.length&&n.push(t);const d=this.createNewPieces("\r\n");this.rbInsertRight(e,d[0]);for(let e=0;e<n.length;e++)nt(this,n[e])}adjustCarriageReturnFromNext(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){const n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)nt(this,n);else{const e=n.piece,t={line:e.start.line+1,column:0},i=e.length-1,o=this.getLineFeedCnt(e.bufferIndex,t,e.end);n.piece=new ut(e.bufferIndex,t,e.end,o,i),ot(this,n,-1,-1)}return!0}}return!1}iterate(e,t){if(e===Ye)return t(Ye);const n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n}getNodeContent(e){if(e===Ye)return"";const t=this._buffers[e.piece.bufferIndex];let n;const i=e.piece,o=this.offsetInBuffer(i.bufferIndex,i.start),r=this.offsetInBuffer(i.bufferIndex,i.end);return n=t.buffer.substring(o,r),n}getPieceContent(e){const t=this._buffers[e.bufferIndex],n=this.offsetInBuffer(e.bufferIndex,e.start),i=this.offsetInBuffer(e.bufferIndex,e.end);return t.buffer.substring(n,i)}rbInsertRight(e,t){const n=new Ke(t,1);if(n.left=Ye,n.right=Ye,n.parent=Ye,n.size_left=0,n.lf_left=0,this.root===Ye)this.root=n,n.color=0;else if(e.right===Ye)e.right=n,n.parent=e;else{const t=$e(e.right);t.left=n,n.parent=t}return it(this,n),n}rbInsertLeft(e,t){const n=new Ke(t,1);if(n.left=Ye,n.right=Ye,n.parent=Ye,n.size_left=0,n.lf_left=0,this.root===Ye)this.root=n,n.color=0;else if(e.left===Ye)e.left=n,n.parent=e;else{const t=Je(e.left);t.right=n,n.parent=t}return it(this,n),n}}var mt=n(8651),vt=n(7565);class bt extends s.JT{constructor(e,t,n,i,o,r,s){super(),this._onDidChangeContent=this._register(new a.Q5),this._BOM=t,this._mightContainNonBasicASCII=!r,this._mightContainRTL=i,this._mightContainUnusualLineTerminators=o,this._pieceTree=new gt(e,n,s)}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(e){return this._pieceTree.createSnapshot(e?this._BOM:"")}getOffsetAt(e,t){return this._pieceTree.getOffsetAt(e,t)}getPositionAt(e){return this._pieceTree.getPositionAt(e)}getRangeAt(e,t){const n=e+t,i=this.getPositionAt(e),o=this.getPositionAt(n);return new u.e(i.lineNumber,i.column,o.lineNumber,o.column)}getValueInRange(e,t=0){if(e.isEmpty())return"";const n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)}getValueLengthInRange(e,t=0){if(e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;const n=this.getOffsetAt(e.startLineNumber,e.startColumn);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n}getCharacterCountInRange(e,t=0){if(this._mightContainNonBasicASCII){let n=0;const i=e.startLineNumber,o=e.endLineNumber;for(let t=i;t<=o;t++){const r=this.getLineContent(t),a=t===i?e.startColumn-1:0,s=t===o?e.endColumn-1:r.length;for(let e=a;e<s;e++)l.ZG(r.charCodeAt(e))?(n+=1,e+=1):n+=1}return n+=this._getEndOfLine(t).length*(o-i),n}return this.getValueLengthInRange(e,t)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(e){return this._pieceTree.getLineContent(e)}getLineCharCode(e,t){return this._pieceTree.getLineCharCode(e,t)}getLineLength(e){return this._pieceTree.getLineLength(e)}getLineFirstNonWhitespaceColumn(e){const t=l.LC(this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=l.ow(this.getLineContent(e));return-1===t?0:t+2}_getEndOfLine(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}setEOL(e){this._pieceTree.setEOL(e)}applyEdits(e,t,n){let i=this._mightContainRTL,o=this._mightContainUnusualLineTerminators,r=this._mightContainNonBasicASCII,a=!0,s=[];for(let t=0;t<e.length;t++){const n=e[t];a&&n._isTracked&&(a=!1);const c=n.range;if(n.text){let e=!0;r||(e=!l.$i(n.text),r=e),!i&&e&&(i=l.Ut(n.text)),!o&&e&&(o=l.ab(n.text))}let d="",u=0,h=0,p=0;if(n.text){let e;[u,h,p,e]=(0,mt.Q)(n.text);const t=this.getEOL(),i="\r\n"===t?2:1;d=0===e||e===i?n.text:n.text.replace(/\r\n|\r|\n/g,t)}s[t]={sortIndex:t,identifier:n.identifier||null,range:c,rangeOffset:this.getOffsetAt(c.startLineNumber,c.startColumn),rangeLength:this.getValueLengthInRange(c),text:d,eolCount:u,firstLineLength:h,lastLineLength:p,forceMoveMarkers:Boolean(n.forceMoveMarkers),isAutoWhitespaceEdit:n.isAutoWhitespaceEdit||!1}}s.sort(bt._sortOpsAscending);let c=!1;for(let e=0,t=s.length-1;e<t;e++){const t=s[e].range.getEndPosition(),n=s[e+1].range.getStartPosition();if(n.isBeforeOrEqual(t)){if(n.isBefore(t))throw new Error("Overlapping ranges are not allowed!");c=!0}}a&&(s=this._reduceOperations(s));const d=n||t?bt._getInverseEditRanges(s):[],u=[];if(t)for(let e=0;e<s.length;e++){const t=s[e],n=d[e];if(t.isAutoWhitespaceEdit&&t.range.isEmpty())for(let e=n.startLineNumber;e<=n.endLineNumber;e++){let i="";e===n.startLineNumber&&(i=this.getLineContent(t.range.startLineNumber),-1!==l.LC(i))||u.push({lineNumber:e,oldContent:i})}}let h=null;if(n){let e=0;h=[];for(let t=0;t<s.length;t++){const n=s[t],i=d[t],o=this.getValueInRange(n.range),r=n.rangeOffset+e;e+=n.text.length-o.length,h[t]={sortIndex:n.sortIndex,identifier:n.identifier,range:i,text:o,textChange:new vt.q(n.rangeOffset,o,r,n.text)}}c||h.sort(((e,t)=>e.sortIndex-t.sortIndex))}this._mightContainRTL=i,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=r;const f=this._doApplyEdits(s);let g=null;if(t&&u.length>0){u.sort(((e,t)=>t.lineNumber-e.lineNumber)),g=[];for(let e=0,t=u.length;e<t;e++){const t=u[e].lineNumber;if(e>0&&u[e-1].lineNumber===t)continue;const n=u[e].oldContent,i=this.getLineContent(t);0!==i.length&&i!==n&&-1===l.LC(i)&&g.push(t)}}return this._onDidChangeContent.fire(),new p.je(h,f,g)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1;const n=e[0].range,i=e[e.length-1].range,o=new u.e(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn);let r=n.startLineNumber,a=n.startColumn;const s=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],o=i.range;t=t||i.forceMoveMarkers,s.push(this.getValueInRange(new u.e(r,a,o.startLineNumber,o.startColumn))),i.text.length>0&&s.push(i.text),r=o.endLineNumber,a=o.endColumn}const l=s.join(""),[c,d,h]=(0,mt.Q)(l);return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),text:l,eolCount:c,firstLineLength:d,lastLineLength:h,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(bt._sortOpsDescending);const t=[];for(let n=0;n<e.length;n++){const i=e[n],o=i.range.startLineNumber,r=i.range.startColumn,a=i.range.endLineNumber,s=i.range.endColumn;if(o===a&&r===s&&0===i.text.length)continue;i.text?(this._pieceTree.delete(i.rangeOffset,i.rangeLength),this._pieceTree.insert(i.rangeOffset,i.text,!0)):this._pieceTree.delete(i.rangeOffset,i.rangeLength);const l=new u.e(o,r,a,s);t.push({range:l,rangeLength:i.rangeLength,text:i.text,rangeOffset:i.rangeOffset,forceMoveMarkers:i.forceMoveMarkers})}return t}findMatchesLineByLine(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)}static _getInverseEditRanges(e){const t=[];let n=0,i=0,o=null;for(let r=0,a=e.length;r<a;r++){const a=e[r];let s,l,c;if(o?o.range.endLineNumber===a.range.startLineNumber?(s=n,l=i+(a.range.startColumn-o.range.endColumn)):(s=n+(a.range.startLineNumber-o.range.endLineNumber),l=a.range.startColumn):(s=a.range.startLineNumber,l=a.range.startColumn),a.text.length>0){const e=a.eolCount+1;c=1===e?new u.e(s,l,s,l+a.firstLineLength):new u.e(s,l,s+e-1,a.lastLineLength+1)}else c=new u.e(s,l,s,l);n=c.endLineNumber,i=c.endColumn,t.push(c),o=a}return t}static _sortOpsAscending(e,t){const n=u.e.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n}static _sortOpsDescending(e,t){const n=u.e.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n}}class _t{constructor(e,t,n,i,o,r,a,s,l){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._containsUnusualLineTerminators=a,this._isBasicASCII=s,this._normalizeEOL=l}_getEOL(e){const t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"}create(e){const t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let e=0,i=n.length;e<i;e++){const i=n[e].buffer.replace(/\r\n|\r|\n/g,t),o=dt(i);n[e]=new ht(i,o)}const i=new bt(n,this._bom,t,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL);return{textBuffer:i,disposable:i}}}class yt{constructor(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(e){if(0===e.length)return;0===this.chunks.length&&l.uS(e)&&(this.BOM=l.c1,e=e.substr(1));const t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){const t=function(e,t){e.length=0,e[0]=0;let n=1,i=0,o=0,r=0,a=!0;for(let s=0,l=t.length;s<l;s++){const c=t.charCodeAt(s);13===c?s+1<l&&10===t.charCodeAt(s+1)?(r++,e[n++]=s+2,s++):(i++,e[n++]=s+1):10===c?(o++,e[n++]=s+1):a&&9!==c&&(c<32||c>126)&&(a=!1)}const s=new ct(lt(e),i,o,r,a);return e.length=0,s}(this._tmpLineStarts,e);this.chunks.push(new ht(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=l.Ut(e)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=l.ab(e))}finish(e=!0){return this._finish(),new _t(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;const e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);const t=dt(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}var At=n(1205),wt=n(9078),Ct=n(2600),xt=n(6639);class St{constructor(e,t){this._startLineNumber=e,this._tokens=t}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}getLineTokens(e){return this._tokens[e-this._startLineNumber]}appendLineTokens(e){this._tokens.push(e)}}class Et{constructor(){this._tokens=[]}add(e,t){if(this._tokens.length>0){const n=this._tokens[this._tokens.length-1];if(n.endLineNumber+1===e)return void n.appendLineTokens(t)}this._tokens.push(new St(e,[t]))}finalize(){return this._tokens}}var kt=n(7685),Mt=n(1204);class Dt{constructor(e){this._default=e,this._store=[]}get(e){return e<this._store.length?this._store[e]:this._default}set(e,t){for(;e>=this._store.length;)this._store[this._store.length]=this._default;this._store[e]=t}delete(e,t){0===t||e>=this._store.length||this._store.splice(e,t)}insert(e,t){if(0===t||e>=this._store.length)return;const n=[];for(let e=0;e<t;e++)n[e]=this._default;this._store=i.Zv(this._store,e,n)}}class Nt{constructor(e,t){this.tokenizationSupport=e,this.initialState=t,this._lineBeginState=new Dt(null),this._lineNeedsTokenization=new Dt(!0),this._firstLineNeedsTokenization=0,this._lineBeginState.set(0,this.initialState)}get invalidLineStartIndex(){return this._firstLineNeedsTokenization}markMustBeTokenized(e){this._lineNeedsTokenization.set(e,!0),this._firstLineNeedsTokenization=Math.min(this._firstLineNeedsTokenization,e)}getBeginState(e){return this._lineBeginState.get(e)}setEndState(e,t,n){if(this._lineNeedsTokenization.set(t,!1),this._firstLineNeedsTokenization=t+1,t===e-1)return;const i=this._lineBeginState.get(t+1);if(null===i||!n.equals(i))return this._lineBeginState.set(t+1,n),void this.markMustBeTokenized(t+1);let o=t+1;for(;o<e&&!this._lineNeedsTokenization.get(o);)o++;this._firstLineNeedsTokenization=o}applyEdits(e,t){this.markMustBeTokenized(e.startLineNumber-1),this._lineBeginState.delete(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineNeedsTokenization.delete(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineBeginState.insert(e.startLineNumber,t),this._lineNeedsTokenization.insert(e.startLineNumber,t)}}class It extends s.JT{constructor(e,t){super(),this._textModel=e,this._languageIdCodec=t,this._isScheduled=!1,this._isDisposed=!1,this._tokenizationStateStore=null,this._register(G.RW.onDidChange((e=>{const t=this._textModel.getLanguageId();-1!==e.changedLanguages.indexOf(t)&&(this._resetTokenizationState(),this._textModel.clearTokens())}))),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}handleDidChangeContent(e){if(e.isFlush)this._resetTokenizationState();else{if(this._tokenizationStateStore)for(let t=0,n=e.changes.length;t<n;t++){const n=e.changes[t],[i]=(0,mt.Q)(n.text);this._tokenizationStateStore.applyEdits(n.range,i)}this._beginBackgroundTokenization()}}handleDidChangeAttached(){this._beginBackgroundTokenization()}handleDidChangeLanguage(e){this._resetTokenizationState(),this._textModel.clearTokens()}_resetTokenizationState(){const[e,t]=function(e){if(e.isTooLargeForTokenization())return[null,null];const t=G.RW.get(e.getLanguageId());if(!t)return[null,null];let n;try{n=t.getInitialState()}catch(e){return(0,r.dL)(e),[null,null]}return[t,n]}(this._textModel);this._tokenizationStateStore=e&&t?new Nt(e,t):null,this._beginBackgroundTokenization()}_beginBackgroundTokenization(){!this._isScheduled&&this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._isScheduled=!0,(0,kt.To)((e=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)})))}_backgroundTokenizeWithDeadline(e){const t=Date.now()+e.timeRemaining(),n=()=>{!this._isDisposed&&this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&(this._backgroundTokenizeForAtLeast1ms(),Date.now()<t?(0,Mt.fn)(n):this._beginBackgroundTokenization())};n()}_backgroundTokenizeForAtLeast1ms(){const e=this._textModel.getLineCount(),t=new Et,n=xt.G.create(!1);do{if(n.elapsed()>1)break;if(this._tokenizeOneInvalidLine(t)>=e)break}while(this._hasLinesToTokenize());this._textModel.setTokens(t.finalize(),!this._hasLinesToTokenize())}tokenizeViewport(e,t){const n=new Et;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.finalize(),!this._hasLinesToTokenize())}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){const t=new Et;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.finalize(),!this._hasLinesToTokenize())}getTokenTypeIfInsertingCharacter(e,t){if(!this._tokenizationStateStore)return 0;this.forceTokenization(e.lineNumber);const n=this._tokenizationStateStore.getBeginState(e.lineNumber-1);if(!n)return 0;const i=this._textModel.getLanguageId(),o=this._textModel.getLineContent(e.lineNumber),r=o.substring(0,e.column-1)+t+o.substring(e.column-1),a=Tt(this._languageIdCodec,i,this._tokenizationStateStore.tokenizationSupport,r,!0,n),s=new wt.A(a.tokens,r,this._languageIdCodec);if(0===s.getCount())return 0;const l=s.findTokenIndexAtOffset(e.column-1);return s.getStandardTokenType(l)}tokenizeLineWithEdit(e,t,n){const i=e.lineNumber,o=e.column;if(!this._tokenizationStateStore)return null;this.forceTokenization(i);const r=this._tokenizationStateStore.getBeginState(i-1);if(!r)return null;const a=this._textModel.getLineContent(i),s=a.substring(0,o-1)+n+a.substring(o-1+t),l=this._textModel.getLanguageIdAtPosition(i,0),c=Tt(this._languageIdCodec,l,this._tokenizationStateStore.tokenizationSupport,s,!0,r);return new wt.A(c.tokens,s,this._languageIdCodec)}isCheapToTokenize(e){if(!this._tokenizationStateStore)return!0;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)}_hasLinesToTokenize(){return!!this._tokenizationStateStore&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()}_tokenizeOneInvalidLine(e){if(!this._tokenizationStateStore||!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t}_updateTokensUntilLine(e,t){if(!this._tokenizationStateStore)return;const n=this._textModel.getLanguageId(),i=this._textModel.getLineCount(),o=t-1;for(let t=this._tokenizationStateStore.invalidLineStartIndex;t<=o;t++){const o=this._textModel.getLineContent(t+1),r=this._tokenizationStateStore.getBeginState(t),a=Tt(this._languageIdCodec,n,this._tokenizationStateStore.tokenizationSupport,o,!0,r);e.add(t+1,a.tokens),this._tokenizationStateStore.setEndState(i,t,a.endState),t=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(e,t,n){if(!this._tokenizationStateStore)return;if(n<=this._tokenizationStateStore.invalidLineStartIndex)return;if(t<=this._tokenizationStateStore.invalidLineStartIndex)return void this._updateTokensUntilLine(e,n);let i=this._textModel.getLineFirstNonWhitespaceColumn(t);const o=[];let r=null;for(let e=t-1;i>1&&e>=1;e--){const t=this._textModel.getLineFirstNonWhitespaceColumn(e);if(0!==t&&t<i){if(r=this._tokenizationStateStore.getBeginState(e-1),r)break;o.push(this._textModel.getLineContent(e)),i=t}}r||(r=this._tokenizationStateStore.initialState);const a=this._textModel.getLanguageId();let s=r;for(let e=o.length-1;e>=0;e--)s=Tt(this._languageIdCodec,a,this._tokenizationStateStore.tokenizationSupport,o[e],!1,s).endState;for(let i=t;i<=n;i++){const t=this._textModel.getLineContent(i),n=Tt(this._languageIdCodec,a,this._tokenizationStateStore.tokenizationSupport,t,!0,s);e.add(i,n.tokens),this._tokenizationStateStore.markMustBeTokenized(i-1),s=n.endState}}}function Tt(e,t,n,i,o,a){let s=null;if(n)try{s=n.tokenizeEncoded(i,o,a.clone())}catch(e){(0,r.dL)(e)}return s||(s=(0,Ct.Dy)(e.encodeLanguageId(t),a)),wt.A.convertToEndOffset(s.tokens,i.length),s}const Lt=new Uint32Array(0).buffer;class Bt{static deleteBeginning(e,t){return null===e||e===Lt?e:Bt.delete(e,0,t)}static deleteEnding(e,t){if(null===e||e===Lt)return e;const n=Ot(e),i=n[n.length-2];return Bt.delete(e,t,i)}static delete(e,t,n){if(null===e||e===Lt||t===n)return e;const i=Ot(e),o=i.length>>>1;if(0===t&&i[i.length-2]===n)return Lt;const r=wt.A.findIndexInTokensArray(i,t),a=r>0?i[r-1<<1]:0;if(n<i[r<<1]){const a=n-t;for(let e=r;e<o;e++)i[e<<1]-=a;return e}let s,l;a!==t?(i[r<<1]=t,s=r+1<<1,l=t):(s=r<<1,l=a);const c=n-t;for(let e=r+1;e<o;e++){const t=i[e<<1]-c;t>l&&(i[s++]=t,i[s++]=i[1+(e<<1)],l=t)}if(s===i.length)return e;const d=new Uint32Array(s);return d.set(i.subarray(0,s),0),d.buffer}static append(e,t){if(t===Lt)return e;if(e===Lt)return t;if(null===e)return e;if(null===t)return null;const n=Ot(e),i=Ot(t),o=i.length>>>1,r=new Uint32Array(n.length+i.length);r.set(n,0);let a=n.length;const s=n[n.length-2];for(let e=0;e<o;e++)r[a++]=i[e<<1]+s,r[a++]=i[1+(e<<1)];return r.buffer}static insert(e,t,n){if(null===e||e===Lt)return e;const i=Ot(e),o=i.length>>>1;let r=wt.A.findIndexInTokensArray(i,t);r>0&&i[r-1<<1]===t&&r--;for(let e=r;e<o;e++)i[e<<1]+=n;return e}}function Ot(e){return e instanceof Uint32Array?e:new Uint32Array(e)}class Pt{constructor(e){this._lineTokens=[],this._len=0,this._languageIdCodec=e}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,n){let i=null;if(t<this._len&&(i=this._lineTokens[t]),null!==i&&i!==Lt)return new wt.A(Ot(i),n,this._languageIdCodec);const o=new Uint32Array(2);return o[0]=n.length,o[1]=Ft(this._languageIdCodec.encodeLanguageId(e)),new wt.A(o,n,this._languageIdCodec)}static _massageTokens(e,t,n){const i=n?Ot(n):null;if(0===t){let t=!1;if(i&&i.length>1&&(t=G.NX.getLanguageId(i[1])!==e),!t)return Lt}if(!i||0===i.length){const n=new Uint32Array(2);return n[0]=t,n[1]=Ft(e),n.buffer}return i[i.length-2]=t,0===i.byteOffset&&i.byteLength===i.buffer.byteLength?i.buffer:i}_ensureLine(e){for(;e>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;const n=[];for(let e=0;e<t;e++)n[e]=null;this._lineTokens=i.Zv(this._lineTokens,e,n),this._len+=t}setTokens(e,t,n,i,o){const r=Pt._massageTokens(this._languageIdCodec.encodeLanguageId(e),n,i);this._ensureLine(t);const a=this._lineTokens[t];return this._lineTokens[t]=r,!!o&&!Pt._equals(a,r)}static _equals(e,t){if(!e||!t)return!e&&!t;const n=Ot(e),i=Ot(t);if(n.length!==i.length)return!1;for(let e=0,t=n.length;e<t;e++)if(n[e]!==i[e])return!1;return!0}acceptEdit(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new d.L(e.startLineNumber,e.startColumn),t,n)}_acceptDeleteRange(e){const t=e.startLineNumber-1;if(t>=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;return void(this._lineTokens[t]=Bt.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1))}this._lineTokens[t]=Bt.deleteEnding(this._lineTokens[t],e.startColumn-1);const n=e.endLineNumber-1;let i=null;n<this._len&&(i=Bt.deleteBeginning(this._lineTokens[n],e.endColumn-1)),this._lineTokens[t]=Bt.append(this._lineTokens[t],i),this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t,n){if(0===t&&0===n)return;const i=e.lineNumber-1;i>=this._len||(0!==t?(this._lineTokens[i]=Bt.deleteEnding(this._lineTokens[i],e.column-1),this._lineTokens[i]=Bt.insert(this._lineTokens[i],e.column-1,n),this._insertLines(e.lineNumber,t)):this._lineTokens[i]=Bt.insert(this._lineTokens[i],e.column-1,n))}}function Ft(e){return(16384|e<<0|2<<23)>>>0}class Rt{constructor(e){this._pieces=[],this._isComplete=!1,this._languageIdCodec=e}flush(){this._pieces=[],this._isComplete=!1}isEmpty(){return 0===this._pieces.length}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let n=e;if(t.length>0){const i=t[0].getRange(),o=t[t.length-1].getRange();if(!i||!o)return e;n=e.plusRange(i).plusRange(o)}let o=null;for(let e=0,t=this._pieces.length;e<t;e++){const i=this._pieces[e];if(i.endLineNumber<n.startLineNumber)continue;if(i.startLineNumber>n.endLineNumber){o=o||{index:e};break}if(i.removeTokens(n),i.isEmpty()){this._pieces.splice(e,1),e--,t--;continue}if(i.endLineNumber<n.startLineNumber)continue;if(i.startLineNumber>n.endLineNumber){o=o||{index:e};continue}const[r,a]=i.split(n);r.isEmpty()?o=o||{index:e}:a.isEmpty()||(this._pieces.splice(e,1,r,a),e++,t++,o=o||{index:e})}return o=o||{index:this._pieces.length},t.length>0&&(this._pieces=i.Zv(this._pieces,o.index,t)),n}isComplete(){return this._isComplete}addSparseTokens(e,t){const n=this._pieces;if(0===n.length)return t;const i=n[Rt._findFirstPieceWithLine(n,e)].getLineTokens(e);if(!i)return t;const o=t.getCount(),r=i.getCount();let a=0;const s=[];let l=0,c=0;const d=(e,t)=>{e!==c&&(c=e,s[l++]=e,s[l++]=t)};for(let e=0;e<r;e++){const n=i.getStartCharacter(e),r=i.getEndCharacter(e),s=i.getMetadata(e),l=((1&s?1024:0)|(2&s?2048:0)|(4&s?4096:0)|(8&s?8192:0)|(16&s?8372224:0)|(32&s?4286578688:0))>>>0,c=~l>>>0;for(;a<o&&t.getEndOffset(a)<=n;)d(t.getEndOffset(a),t.getMetadata(a)),a++;for(a<o&&t.getStartOffset(a)<n&&d(n,t.getMetadata(a));a<o&&t.getEndOffset(a)<r;)d(t.getEndOffset(a),t.getMetadata(a)&c|s&l),a++;if(a<o)d(r,t.getMetadata(a)&c|s&l),t.getEndOffset(a)===r&&a++;else{const e=Math.min(Math.max(0,a-1),o-1);d(r,t.getMetadata(e)&c|s&l)}}for(;a<o;)d(t.getEndOffset(a),t.getMetadata(a)),a++;return new wt.A(new Uint32Array(s),t.getLineContent(),this._languageIdCodec)}static _findFirstPieceWithLine(e,t){let n=0,i=e.length-1;for(;n<i;){let o=n+Math.floor((i-n)/2);if(e[o].endLineNumber<t)n=o+1;else{if(!(e[o].startLineNumber>t)){for(;o>n&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}i=o-1}}return n}acceptEdit(e,t,n,i,o){for(const r of this._pieces)r.acceptEdit(e,t,n,i,o)}}var jt=n(318),zt=n(4384),Vt=n(4526),Wt=n(6701),Ht=n(3800),Ut=n(3250),Qt=function(e,t){return function(n,i){t(n,i,e)}};function Gt(e,t){return("string"==typeof e?function(e){const t=new yt;return t.acceptChunk(e),t.finish()}(e):e).create(t)}let Kt=0;class Yt{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;const e=[];let t=0,n=0;for(;;){const i=this._source.read();if(null===i)return this._eos=!0,0===t?null:e.join("");if(i.length>0&&(e[t++]=i,n+=i.length),n>=65536)return e.join("")}}}const $t=()=>{throw new Error("Invalid change accessor")};let Jt=class e extends s.JT{constructor(t,n,i,o=null,r,s,d){super(),this._undoRedoService=r,this._languageService=s,this._languageConfigurationService=d,this._onWillDispose=this._register(new a.Q5),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new cn((e=>this.handleBeforeFireDecorationsChangedEvent(e)))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new a.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new a.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new a.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new a.Q5),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new a.Q5),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new a.Q5),this._eventEmitter=this._register(new dn),this._backgroundTokenizationState=0,this._onBackgroundTokenizationStateChanged=this._register(new a.Q5),Kt++,this.id="$model"+Kt,this.isForSimpleWidget=i.isForSimpleWidget,this._associatedResource=null==o?c.o.parse("inmemory://model/"+Kt):o,this._attachedEditorCount=0;const{textBuffer:h,disposable:p}=Gt(t,i.defaultEOL);this._buffer=h,this._bufferDisposable=p,this._options=e.resolveOptions(this._buffer,i);const f=this._buffer.getLineCount(),g=this._buffer.getValueLengthInRange(new u.e(1,1,f,this._buffer.getLineLength(f)+1),0);i.largeFileOptimizations?this._isTooLargeForTokenization=g>e.LARGE_FILE_SIZE_THRESHOLD||f>e.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=g>e.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageId=n,this._languageRegistryListener=this._languageConfigurationService.onDidChange((e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._instanceId=l.PJ(Kt),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Xt,this._commandManager=new Ae.NL(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new Pt(this._languageService.languageIdCodec),this._semanticTokens=new Rt(this._languageService.languageIdCodec),this._tokenization=new It(this,this._languageService.languageIdCodec),this._bracketPairColorizer=this._register(new pe(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new we.l(this,this._languageConfigurationService)),this._decorationProvider=this._register(new _e(this)),this._register(this._decorationProvider.onDidChange((()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()})))}static resolveOptions(e,t){if(t.detectIndentation){const n=Se(e,t.tabSize,t.insertSpaces);return new p.dJ({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new p.dJ({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}onDidChangeContent(e){return this._eventEmitter.slowEvent((t=>e(t.contentChangedEvent)))}onDidChangeContentOrInjectedText(e){return(0,s.F8)(this._eventEmitter.fastEvent((t=>e(t.rawContentChangedEvent))),this._onDidChangeInjectedText.event((t=>e(t))))}get bracketPairs(){return this._bracketPairColorizer}get guides(){return this._guidesTextModelPart}get backgroundTokenizationState(){return this._backgroundTokenizationState}handleTokenizationProgress(e){if(2===this._backgroundTokenizationState)return;const t=e?2:1;this._backgroundTokenizationState!==t&&(this._backgroundTokenizationState=t,this._bracketPairColorizer.handleDidChangeBackgroundTokenizationState(),this._onBackgroundTokenizationStateChanged.fire())}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this._isDisposing=!1;const e=new bt([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=s.JT.None}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(e,t){this._isDisposing||(this._bracketPairColorizer.handleDidChangeContent(t),this._tokenization.handleDidChangeContent(t),this._eventEmitter.fire(new At.fV(e,t)))}setValue(e){if(this._assertNotDisposed(),null===e)return;const{textBuffer:t,disposable:n}=Gt(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,n)}_createContentChanged2(e,t,n,i,o,r,a){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:a}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._tokens.flush(),this._semanticTokens.flush(),this._decorations=Object.create(null),this._decorationsTree=new Xt,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new At.dQ([new At.Jx],this._versionId,!1,!1),this._createContentChanged2(new u.e(1,1,o,r),0,i,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();const t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new At.dQ([new At.CZ],this._versionId,!1,!1),this._createContentChanged2(new u.e(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let n=0,i=t.length;n<i;n++){const i=t[n],o=i.range,r=i.cachedAbsoluteStart-i.start,a=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);i.cachedAbsoluteStart=a,i.cachedAbsoluteEnd=s,i.cachedVersionId=e,i.start=a-r,i.end=s-r,Qe(i)}}onBeforeAttached(){this._attachedEditorCount++,1===this._attachedEditorCount&&(this._tokenization.handleDidChangeAttached(),this._onDidChangeAttached.fire(void 0))}onBeforeDetached(){this._attachedEditorCount--,0===this._attachedEditorCount&&(this._tokenization.handleDidChangeAttached(),this._onDidChangeAttached.fire(void 0))}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0;const n=this._buffer.getLineCount();for(let i=1;i<=n;i++){const n=this._buffer.getLineLength(i);n>=1e4?t+=n:e+=n}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();const t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,a=new p.dJ({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o,bracketPairColorizationOptions:r});if(this._options.equals(a))return;const s=this._options.createChangeEvent(a);this._options=a,this._bracketPairColorizer.handleDidChangeOptions(s),this._decorationProvider.handleDidChangeOptions(s),this._onDidChangeOptions.fire(s)}detectIndentation(e,t){this._assertNotDisposed();const n=Se(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),(0,Ut.x)(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){const t=this.findMatches(l.Qe.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map((e=>({range:e.range,text:null}))),(()=>null))}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){this._assertNotDisposed();const t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();const t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new Yt(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){const t=this._buffer.getLineCount(),n=e.startLineNumber,i=e.startColumn;let o=Math.floor("number"!=typeof n||isNaN(n)?1:n),r=Math.floor("number"!=typeof i||isNaN(i)?1:i);if(o<1)o=1,r=1;else if(o>t)o=t,r=this.getLineMaxColumn(o);else if(r<=1)r=1;else{const e=this.getLineMaxColumn(o);r>=e&&(r=e)}const a=e.endLineNumber,s=e.endColumn;let l=Math.floor("number"!=typeof a||isNaN(a)?1:a),c=Math.floor("number"!=typeof s||isNaN(s)?1:s);if(l<1)l=1,c=1;else if(l>t)l=t,c=this.getLineMaxColumn(l);else if(c<=1)c=1;else{const e=this.getLineMaxColumn(l);c>=e&&(c=e)}return n===o&&i===r&&a===l&&s===c&&e instanceof u.e&&!(e instanceof h.Y)?e:new u.e(o,r,l,c)}_isValidPosition(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){const n=this._buffer.getLineCharCode(e,t-2);if(l.ZG(n))return!1}return!0}_validatePosition(e,t,n){const i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new d.L(1,1);if(i>r)return new d.L(r,this.getLineMaxColumn(r));if(o<=1)return new d.L(i,1);const a=this.getLineMaxColumn(i);if(o>=a)return new d.L(i,a);if(1===n){const e=this._buffer.getLineCharCode(i,o-2);if(l.ZG(e))return new d.L(i,o-1)}return new d.L(i,o)}validatePosition(e){return this._assertNotDisposed(),e instanceof d.L&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){const n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){const e=i>1?this._buffer.getLineCharCode(n,i-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,a=l.ZG(e),s=l.ZG(t);return!a&&!s}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof u.e&&!(e instanceof h.Y)&&this._isValidRange(e,1))return e;const t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column;{const e=o>1?this._buffer.getLineCharCode(i,o-2):0,t=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,n=l.ZG(e),s=l.ZG(t);return n||s?i===r&&o===a?new u.e(i,o-1,r,a-1):n&&s?new u.e(i,o-1,r,a+1):n?new u.e(i,o-1,r,a):new u.e(i,o,r,a+1):new u.e(i,o,r,a)}}modifyPosition(e,t){this._assertNotDisposed();const n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))}getFullModelRange(){this._assertNotDisposed();const e=this.getLineCount();return new u.e(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)}findMatches(e,t,n,i,o,r,a=999){this._assertNotDisposed();let s=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every((e=>u.e.isIRange(e)))&&(s=t.map((e=>this.validateRange(e))))),null===s&&(s=[this.getFullModelRange()]),s=s.sort(((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn));const l=[];let c;if(l.push(s.reduce(((e,t)=>u.e.areIntersecting(e,t)?e.plusRange(t):(l.push(e),t)))),!n&&e.indexOf("\n")<0){const t=new at.bc(e,n,i,o).parseSearchRequest();if(!t)return[];c=e=>this.findMatchesLineByLine(e,t,r,a)}else c=t=>at.pM.findMatches(this,new at.bc(e,n,i,o),t,r,a);return l.map(c).reduce(((e,t)=>e.concat(t)),[])}findNextMatch(e,t,n,i,o,r){this._assertNotDisposed();const a=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){const t=new at.bc(e,n,i,o).parseSearchRequest();if(!t)return null;const s=this.getLineCount();let l=new u.e(a.lineNumber,a.column,s,this.getLineMaxColumn(s)),c=this.findMatchesLineByLine(l,t,r,1);return at.pM.findNextMatch(this,new at.bc(e,n,i,o),a,r),c.length>0?c[0]:(l=new u.e(1,1,a.lineNumber,this.getLineMaxColumn(a.lineNumber)),c=this.findMatchesLineByLine(l,t,r,1),c.length>0?c[0]:null)}return at.pM.findNextMatch(this,new at.bc(e,n,i,o),a,r)}findPreviousMatch(e,t,n,i,o,r){this._assertNotDisposed();const a=this.validatePosition(t);return at.pM.findPreviousMatch(this,new at.bc(e,n,i,o),a,r)}pushStackElement(){this._commandManager.pushStackElement()}popStackElement(){this._commandManager.popStackElement()}pushEOL(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof p.Qi?e:new p.Qi(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this._validateEditOperation(e[n]);return t}pushEditOperations(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,this._validateEditOperations(t),n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(e,t,n){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){const n=t.map((e=>({range:this.validateRange(e.range),text:e.text})));let i=!0;if(e)for(let t=0,o=e.length;t<o;t++){const o=e[t];let r=!1;for(let e=0,t=n.length;e<t;e++){const t=n[e].range,i=t.startLineNumber>o.endLineNumber,a=o.startLineNumber>t.endLineNumber;if(!i&&!a){r=!0;break}}if(!r){i=!1;break}}if(i)for(let e=0,i=this._trimAutoWhitespaceLines.length;e<i;e++){const i=this._trimAutoWhitespaceLines[e],o=this.getLineMaxColumn(i);let r=!0;for(let e=0,t=n.length;e<t;e++){const t=n[e].range,a=n[e].text;if(!(i<t.startLineNumber||i>t.endLineNumber||i===t.startLineNumber&&t.startColumn===o&&t.isEmpty()&&a&&a.length>0&&"\n"===a.charAt(0)||i===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&a&&a.length>0&&"\n"===a.charAt(a.length-1))){r=!1;break}}if(r){const e=new u.e(i,1,i,o);t.push(new p.Qi(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,n)}_applyUndo(e,t,n,i){const o=e.map((e=>{const t=this.getPositionAt(e.newPosition),n=this.getPositionAt(e.newEnd);return{range:new u.e(t.lineNumber,t.column,n.lineNumber,n.column),text:e.oldText}}));this._applyUndoRedoEdits(o,t,!0,!1,n,i)}_applyRedo(e,t,n,i){const o=e.map((e=>{const t=this.getPositionAt(e.oldPosition),n=this.getPositionAt(e.oldEnd);return{range:new u.e(t.lineNumber,t.column,n.lineNumber,n.column),text:e.newText}}));this._applyUndoRedoEdits(o,t,!1,!0,n,i)}_applyUndoRedoEdits(e,t,n,i,o,r){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=n,this._isRedoing=i,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(r),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const n=this._validateEditOperations(e);return this._doApplyEdits(n,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){const n=this._buffer.getLineCount(),o=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),r=this._buffer.getLineCount(),a=o.changes;if(this._trimAutoWhitespaceLines=o.trimAutoWhitespaceLineNumbers,0!==a.length){for(let e=0,t=a.length;e<t;e++){const t=a[e],[n,i,o]=(0,mt.Q)(t.text);this._tokens.acceptEdit(t.range,n,i),this._semanticTokens.acceptEdit(t.range,n,i,o,t.text.length>0?t.text.charCodeAt(0):0),this._decorationsTree.acceptReplace(t.rangeOffset,t.rangeLength,t.text.length,t.forceMoveMarkers)}const e=[];this._increaseVersionId();let t=n;for(let n=0,o=a.length;n<o;n++){const o=a[n],[s]=(0,mt.Q)(o.text);this._onDidChangeDecorations.fire();const l=o.range.startLineNumber,c=o.range.endLineNumber,u=c-l,h=s,p=Math.min(u,h),f=h-u,g=r-t-f+l,m=g,v=g+h,b=this._decorationsTree.getInjectedTextInInterval(this,this.getOffsetAt(new d.L(m,1)),this.getOffsetAt(new d.L(v,this.getLineMaxColumn(v))),0),_=At.gk.fromDecorations(b),y=new i.H9(_);for(let t=p;t>=0;t--){const n=l+t,i=g+t;y.takeFromEndWhile((e=>e.lineNumber>i));const o=y.takeFromEndWhile((e=>e.lineNumber===i));e.push(new At.rU(n,this.getLineContent(i),o))}if(p<u){const t=l+p;e.push(new At.lN(t+1,c))}if(p<h){const n=new i.H9(_),o=l+p,a=h-p,s=r-t-a+o+1,c=[],d=[];for(let e=0;e<a;e++){const t=s+e;d[e]=this.getLineContent(t),n.takeWhile((e=>e.lineNumber<t)),c[e]=n.takeWhile((e=>e.lineNumber===t))}e.push(new At.Tx(o+1,l+h,d,c))}t+=f}this._emitContentChangedEvent(new At.dQ(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:a,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===o.reverseEdits?void 0:o.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null===e||0===e.size)return;const t=[...e].map((e=>new At.rU(e,this.getLineContent(e),this._getInjectedTextInLine(e))));this._onDidChangeInjectedText.fire(new At.D8(t))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){const n={addDecoration:(t,n)=>this._deltaDecorationsImpl(e,[],[{range:t,options:n}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,ln(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,n)=>0===t.length&&0===n.length?[]:this._deltaDecorationsImpl(e,t,n)};let i=null;try{i=t(n)}catch(e){(0,r.dL)(e)}return n.addDecoration=$t,n.changeDecoration=$t,n.changeDecorationOptions=$t,n.removeDecoration=$t,n.deltaDecorations=$t,i}deltaDecorations(e,t,n=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,n){const i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:sn[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;const o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),a=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),r,a,o),i.setOptions(sn[n]),this._decorationsTree.insert(i),i.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;const t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,n=t.length;e<n;e++){const n=t[e];this._decorationsTree.delete(n),delete this._decorations[n.id]}}getDecorationOptions(e){const t=this._decorations[e];return t?t.options:null}getDecorationRange(e){const t=this._decorations[e];return t?this._decorationsTree.getNodeRange(this,t):null}getLineDecorations(e,t=0,n=!1){return e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)}getLinesDecorations(e,t,n=0,i=!1){const o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),a=Math.min(o,Math.max(1,t)),s=this.getLineMaxColumn(a),l=new u.e(r,1,a,s),c=this._getDecorationsInRange(l,n,i);return c.push(...this._decorationProvider.getDecorationsInRange(l,n,i)),c}getDecorationsInRange(e,t=0,n=!1){const i=this.validateRange(e),o=this._getDecorationsInRange(i,t,n);return o.push(...this._decorationProvider.getDecorationsInRange(i,t,n)),o}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){const t=this._buffer.getOffsetAt(e,1),n=t+this._buffer.getLineLength(e),i=this._decorationsTree.getInjectedTextInInterval(this,t,n,0);return At.gk.fromDecorations(i).filter((t=>t.lineNumber===e))}getAllDecorations(e=0,t=!1){let n=this._decorationsTree.getAll(this,e,t,!1);return n=n.concat(this._decorationProvider.getAllDecorations(e,t)),n}_getDecorationsInRange(e,t,n){const i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,i,o,t,n)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const n=this._decorations[e];if(!n)return;if(n.options.after){const t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.endLineNumber)}if(n.options.before){const t=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(t.startLineNumber)}const i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),r=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,i),this._decorationsTree.insert(n),this._onDidChangeDecorations.checkAffectedAndFire(n.options),n.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(i.endLineNumber),n.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(i.startLineNumber)}_changeDecorationOptionsImpl(e,t){const n=this._decorations[e];if(!n)return;const i=!(!n.options.overviewRuler||!n.options.overviewRuler.color),o=!(!t.overviewRuler||!t.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire(n.options),this._onDidChangeDecorations.checkAffectedAndFire(t),n.options.after||t.after){const e=this._decorationsTree.getNodeRange(this,n);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber)}if(n.options.before||t.before){const e=this._decorationsTree.getNodeRange(this,n);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber)}i!==o?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}_deltaDecorationsImpl(e,t,n){const i=this.getVersionId(),o=t.length;let r=0;const a=n.length;let s=0;const l=new Array(a);for(;r<o||s<a;){let c=null;if(r<o){do{c=this._decorations[t[r++]]}while(!c&&r<o);if(c){if(c.options.after){const e=this._decorationsTree.getNodeRange(this,c);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber)}if(c.options.before){const e=this._decorationsTree.getNodeRange(this,c);this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber)}this._decorationsTree.delete(c),this._onDidChangeDecorations.checkAffectedAndFire(c.options)}}if(s<a){if(!c){const e=++this._lastDecorationId,t=`${this._instanceId};${e}`;c=new Be(t,0,0),this._decorations[t]=c}const t=n[s],o=this._validateRangeRelaxedNoAllocations(t.range),r=ln(t.options),a=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),d=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);c.ownerId=e,c.reset(i,a,d,o),c.setOptions(r),c.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(o.endLineNumber),c.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(o.startLineNumber),this._onDidChangeDecorations.checkAffectedAndFire(r),this._decorationsTree.insert(c),l[s]=c.id,s++}else c&&delete this._decorations[c.id]}return l}setTokens(e,t=!1){if(0!==e.length){const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];let o=0,r=0,a=!1;for(let e=i.startLineNumber;e<=i.endLineNumber;e++)a?(this._tokens.setTokens(this._languageId,e-1,this._buffer.getLineLength(e),i.getLineTokens(e),!1),r=e):this._tokens.setTokens(this._languageId,e-1,this._buffer.getLineLength(e),i.getLineTokens(e),!0)&&(a=!0,o=e,r=e);a&&t.push({fromLineNumber:o,toLineNumber:r})}t.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:t})}this.handleTokenizationProgress(t)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;const n=this.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:n.startLineNumber,toLineNumber:n.endLineNumber}]})}tokenizeViewport(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(e){this._isDisposing||(this._bracketPairColorizer.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}resetTokenization(){this._tokenization.reset()}forceTokenization(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){const t=this.getLineContent(e),n=this._tokens.getTokens(this._languageId,e-1,t);return this._semanticTokens.addSparseTokens(e,n)}getLanguageId(){return this._languageId}setMode(e){if(this._languageId===e)return;const t={oldLanguage:this._languageId,newLanguage:e};this._languageId=e,this._bracketPairColorizer.handleDidChangeLanguage(t),this._tokenization.handleDidChangeLanguage(t),this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(e,t){const n=this.validatePosition(new d.L(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))}getTokenTypeIfInsertingCharacter(e,t,n){const i=this.validatePosition(new d.L(e,t));return this._tokenization.getTokenTypeIfInsertingCharacter(i,n)}tokenizeLineWithEdit(e,t,n){const i=this.validatePosition(e);return this._tokenization.tokenizeLineWithEdit(i,t,n)}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}getWordAtPosition(t){this._assertNotDisposed();const n=this.validatePosition(t),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),[a,s]=e._findLanguageBoundaries(o,r),l=(0,jt.t2)(n.column,this.getLanguageConfiguration(o.getLanguageId(r)).getWordDefinition(),i.substring(a,s),a);if(l&&l.startColumn<=t.column&&t.column<=l.endColumn)return l;if(r>0&&a===n.column-1){const[a,s]=e._findLanguageBoundaries(o,r-1),l=(0,jt.t2)(n.column,this.getLanguageConfiguration(o.getLanguageId(r-1)).getWordDefinition(),i.substring(a,s),a);if(l&&l.startColumn<=t.column&&t.column<=l.endColumn)return l}return null}static _findLanguageBoundaries(e,t){const n=e.getLanguageId(t);let i=0;for(let o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);let o=e.getLineContent().length;for(let i=t,r=e.getCount();i<r&&e.getLanguageId(i)===n;i++)o=e.getEndOffset(i);return[i,o]}getWordUntilPosition(e){const t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}}normalizePosition(e,t){return e}getLineIndentColumn(e){return function(e){let t=0;for(const n of e){if(" "!==n&&"\t"!==n)break;t++}return t}(this.getLineContent(e))+1}};function qt(e){return!(!e.options.overviewRuler||!e.options.overviewRuler.color)}function Zt(e){return!!e.options.after||!!e.options.before}Jt.MODEL_SYNC_LIMIT=52428800,Jt.LARGE_FILE_SIZE_THRESHOLD=20971520,Jt.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,Jt.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:Ht.D.tabSize,indentSize:Ht.D.indentSize,insertSpaces:Ht.D.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:Ht.D.trimAutoWhitespace,largeFileOptimizations:Ht.D.largeFileOptimizations,bracketPairColorizationOptions:Ht.D.bracketPairColorizationOptions},Jt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Qt(4,Wt.tJ),Qt(5,Vt.O),Qt(6,zt.c_)],Jt);class Xt{constructor(){this._decorationsTree0=new Pe,this._decorationsTree1=new Pe,this._injectedTextDecorationsTree=new Pe}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1)}_ensureNodesHaveRanges(e,t){for(const n of t)null===n.range&&(n.range=e.getRangeAt(n.cachedAbsoluteStart,n.cachedAbsoluteEnd));return t}getAllInInterval(e,t,n,i,o){const r=e.getVersionId(),a=this._intervalSearch(t,n,i,o,r);return this._ensureNodesHaveRanges(e,a)}_intervalSearch(e,t,n,i,o){const r=this._decorationsTree0.intervalSearch(e,t,n,i,o),a=this._decorationsTree1.intervalSearch(e,t,n,i,o),s=this._injectedTextDecorationsTree.intervalSearch(e,t,n,i,o);return r.concat(a).concat(s)}getInjectedTextInInterval(e,t,n,i){const o=e.getVersionId(),r=this._injectedTextDecorationsTree.intervalSearch(t,n,i,!1,o);return this._ensureNodesHaveRanges(e,r).filter((e=>e.options.showIfCollapsed||!e.range.isEmpty()))}getAllInjectedText(e,t){const n=e.getVersionId(),i=this._injectedTextDecorationsTree.search(t,!1,n);return this._ensureNodesHaveRanges(e,i).filter((e=>e.options.showIfCollapsed||!e.range.isEmpty()))}getAll(e,t,n,i){const o=e.getVersionId(),r=this._search(t,n,i,o);return this._ensureNodesHaveRanges(e,r)}_search(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);{const n=this._decorationsTree0.search(e,t,i),o=this._decorationsTree1.search(e,t,i),r=this._injectedTextDecorationsTree.search(e,t,i);return n.concat(o).concat(r)}}collectNodesFromOwner(e){const t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e),i=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(n).concat(i)}collectNodesPostOrder(){const e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),n=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(n)}insert(e){Zt(e)?this._injectedTextDecorationsTree.insert(e):qt(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){Zt(e)?this._injectedTextDecorationsTree.delete(e):qt(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){const n=e.getVersionId();return t.cachedVersionId!==n&&this._resolveNode(t,n),null===t.range&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){Zt(e)?this._injectedTextDecorationsTree.resolveNode(e,t):qt(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i),this._injectedTextDecorationsTree.acceptReplace(e,t,n,i)}}function en(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class tn{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class nn extends tn{constructor(e){super(e),this._resolvedColor=null,this.position="number"==typeof e.position?e.position:p.sh.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"==typeof e)return e;const n=e?t.getColor(e.id):null;return n?n.toString():""}}class on extends tn{constructor(e){super(e),this.position=e.position}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"==typeof e?o.Il.fromHex(e):t.getColor(e.id)}}class rn{constructor(e){this.content=e.content||"",this.inlineClassName=e.inlineClassName||null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.attachedData=e.attachedData||null,this.cursorStops=e.cursorStops||null}static from(e){return e instanceof rn?e:new rn(e)}}class an{constructor(e){var t,n;this.description=e.description,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?en(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new nn(e.overviewRuler):null,this.minimap=e.minimap?new on(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?en(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?en(e.linesDecorationsClassName):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?en(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?en(e.marginClassName):null,this.inlineClassName=e.inlineClassName?en(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?en(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?en(e.afterContentClassName):null,this.after=e.after?rn.from(e.after):null,this.before=e.before?rn.from(e.before):null,this.hideInCommentTokens=null!==(t=e.hideInCommentTokens)&&void 0!==t&&t,this.hideInStringTokens=null!==(n=e.hideInStringTokens)&&void 0!==n&&n}static register(e){return new an(e)}static createDynamic(e){return new an(e)}}an.EMPTY=an.register({description:"empty"});const sn=[an.register({description:"tracked-range-always-grows-when-typing-at-edges",stickiness:0}),an.register({description:"tracked-range-never-grows-when-typing-at-edges",stickiness:1}),an.register({description:"tracked-range-grows-only-when-typing-before",stickiness:2}),an.register({description:"tracked-range-grows-only-when-typing-after",stickiness:3})];function ln(e){return e instanceof an?e:an.createDynamic(e)}class cn extends s.JT{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new a.Q5),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;if(this._deferredCnt--,0===this._deferredCnt){if(this._shouldFire){this.handleBeforeFire(this._affectedInjectedTextLines);const e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(e)}null===(e=this._affectedInjectedTextLines)||void 0===e||e.clear(),this._affectedInjectedTextLines=null}}recordLineAffectedByInjectedText(e){this._affectedInjectedTextLines||(this._affectedInjectedTextLines=new Set),this._affectedInjectedTextLines.add(e)}checkAffectedAndFire(e){this._affectsMinimap||(this._affectsMinimap=!(!e.minimap||!e.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!(!e.overviewRuler||!e.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class dn extends s.JT{constructor(){super(),this._fastEmitter=this._register(new a.Q5),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new a.Q5),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;const t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))}}},1860:(e,t,n)=>{n.d(t,{bc:()=>l,cM:()=>h,iE:()=>c,pM:()=>u,sz:()=>p});var i=n(8241),o=n(9138),r=n(873),a=n(208),s=n(3701);class l{constructor(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}parseSearchRequest(){if(""===this.searchString)return null;let e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,n=e.length;t<n;t++)if(92===e.charCodeAt(t)){if(t++,t>=n)break;const i=e.charCodeAt(t);if(110===i||114===i||87===i)return!0}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=i.GF(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new s.Tx(t,this.wordSeparators?(0,o.u)(this.wordSeparators):null,n?this.searchString:null)}}function c(e,t,n){if(!n)return new s.tk(e,null);const i=[];for(let e=0,n=t.length;e<n;e++)i[e]=t[e];return new s.tk(e,i)}class d{constructor(e){const t=[];let n=0;for(let i=0,o=e.length;i<o;i++)10===e.charCodeAt(i)&&(t[n++]=i);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let n=0,i=t.length-1;if(-1===i)return 0;if(e<=t[0])return 0;for(;n<i;){const o=n+((i-n)/2>>0);t[o]>=e?i=o-1:t[o+1]>=e?(n=o,i=o):n=o+1}return n+1}}class u{static findMatches(e,t,n,i,o){const r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,n,new p(r.wordSeparators,r.regex),i,o):this._doFindMatchesLineByLine(e,n,r,i,o):[]}static _getMultilineMatchRange(e,t,n,i,o,r){let s,l,c=0;if(i?(c=i.findLineFeedCountBeforeOffset(o),s=t+o+c):s=t+o,i){const e=i.findLineFeedCountBeforeOffset(o+r.length)-c;l=s+r.length+e}else l=s+r.length;const d=e.getPositionAt(s),u=e.getPositionAt(l);return new a.e(d.lineNumber,d.column,u.lineNumber,u.column)}static _doFindMatchesMultiline(e,t,n,i,o){const r=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),s="\r\n"===e.getEOL()?new d(a):null,l=[];let u,h=0;for(n.reset(0);u=n.next(a);)if(l[h++]=c(this._getMultilineMatchRange(e,r,a,s,u.index,u[0]),u,i),h>=o)return l;return l}static _doFindMatchesLineByLine(e,t,n,i,o){const r=[];let a=0;if(t.startLineNumber===t.endLineNumber){const s=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return a=this._findMatchesInLine(n,s,t.startLineNumber,t.startColumn-1,a,r,i,o),r}const s=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);a=this._findMatchesInLine(n,s,t.startLineNumber,t.startColumn-1,a,r,i,o);for(let s=t.startLineNumber+1;s<t.endLineNumber&&a<o;s++)a=this._findMatchesInLine(n,e.getLineContent(s),s,0,a,r,i,o);if(a<o){const s=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);a=this._findMatchesInLine(n,s,t.endLineNumber,0,a,r,i,o)}return r}static _findMatchesInLine(e,t,n,i,o,r,l,d){const u=e.wordSeparators;if(!l&&e.simpleSearch){const l=e.simpleSearch,c=l.length,p=t.length;let f=-c;for(;-1!==(f=t.indexOf(l,f+c));)if((!u||h(u,t,p,f,c))&&(r[o++]=new s.tk(new a.e(n,f+1+i,n,f+1+c+i),null),o>=d))return o;return o}const f=new p(e.wordSeparators,e.regex);let g;f.reset(0);do{if(g=f.next(t),g&&(r[o++]=c(new a.e(n,g.index+1+i,n,g.index+1+g[0].length+i),g,l),o>=d))return o}while(g);return o}static findNextMatch(e,t,n,i){const o=t.parseSearchRequest();if(!o)return null;const r=new p(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,r,i):this._doFindNextMatchLineByLine(e,n,r,i)}static _doFindNextMatchMultiline(e,t,n,i){const o=new r.L(t.lineNumber,1),s=e.getOffsetAt(o),l=e.getLineCount(),u=e.getValueInRange(new a.e(o.lineNumber,o.column,l,e.getLineMaxColumn(l)),1),h="\r\n"===e.getEOL()?new d(u):null;n.reset(t.column-1);let p=n.next(u);return p?c(this._getMultilineMatchRange(e,s,u,h,p.index,p[0]),p,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new r.L(1,1),n,i):null}static _doFindNextMatchLineByLine(e,t,n,i){const o=e.getLineCount(),r=t.lineNumber,a=e.getLineContent(r),s=this._findFirstMatchInLine(n,a,r,t.column,i);if(s)return s;for(let t=1;t<=o;t++){const a=(r+t-1)%o,s=e.getLineContent(a+1),l=this._findFirstMatchInLine(n,s,a+1,1,i);if(l)return l}return null}static _findFirstMatchInLine(e,t,n,i,o){e.reset(i-1);const r=e.next(t);return r?c(new a.e(n,r.index+1,n,r.index+1+r[0].length),r,o):null}static findPreviousMatch(e,t,n,i){const o=t.parseSearchRequest();if(!o)return null;const r=new p(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,r,i):this._doFindPreviousMatchLineByLine(e,n,r,i)}static _doFindPreviousMatchMultiline(e,t,n,i){const o=this._doFindMatchesMultiline(e,new a.e(1,1,t.lineNumber,t.column),n,i,9990);if(o.length>0)return o[o.length-1];const s=e.getLineCount();return t.lineNumber!==s||t.column!==e.getLineMaxColumn(s)?this._doFindPreviousMatchMultiline(e,new r.L(s,e.getLineMaxColumn(s)),n,i):null}static _doFindPreviousMatchLineByLine(e,t,n,i){const o=e.getLineCount(),r=t.lineNumber,a=e.getLineContent(r).substring(0,t.column-1),s=this._findLastMatchInLine(n,a,r,i);if(s)return s;for(let t=1;t<=o;t++){const a=(o+r-t-1)%o,s=e.getLineContent(a+1),l=this._findLastMatchInLine(n,s,a+1,i);if(l)return l}return null}static _findLastMatchInLine(e,t,n,i){let o,r=null;for(e.reset(0);o=e.next(t);)r=c(new a.e(n,o.index+1,n,o.index+1+o[0].length),o,i);return r}}function h(e,t,n,i,o){return function(e,t,n,i,o){if(0===i)return!0;const r=t.charCodeAt(i-1);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){const n=t.charCodeAt(i);if(0!==e.get(n))return!0}return!1}(e,t,0,i,o)&&function(e,t,n,i,o){if(i+o===n)return!0;const r=t.charCodeAt(i+o);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){const n=t.charCodeAt(i+o-1);if(0!==e.get(n))return!0}return!1}(e,t,n,i,o)}class p{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const o=n.index,r=n[0].length;if(o===this._prevMatchStartIndex&&r===this._prevMatchLength){if(0===r){i.ZH(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=o,this._prevMatchLength=r,!this._wordSeparators||h(this._wordSeparators,e,t,o,r))return n}while(n);return null}}},5206:(e,t,n)=>{n.d(t,{p:()=>i});const i=(0,n(7696).yh)("editorWorkerService")},2819:(e,t,n)=>{n.d(t,{p:()=>i});const i=(0,n(7696).yh)("ILanguageFeaturesService")},1053:(e,t,n)=>{n.d(t,{i:()=>i});const i=(0,n(7696).yh)("markerDecorationsService")},8268:(e,t,n)=>{n.d(t,{q:()=>i});const i=(0,n(7696).yh)("modelService")},172:(e,t,n)=>{n.d(t,{S:()=>i});const i=(0,n(7696).yh)("textModelService")},1205:(e,t,n)=>{n.d(t,{CZ:()=>l,D8:()=>d,Jx:()=>i,Tx:()=>s,dQ:()=>c,fV:()=>u,gk:()=>o,lN:()=>a,rU:()=>r});class i{constructor(){this.changeType=1}}class o{constructor(e,t,n,i,o){this.ownerId=e,this.lineNumber=t,this.column=n,this.options=i,this.order=o}static applyInjectedText(e,t){if(!t||0===t.length)return e;let n="",i=0;for(const o of t)n+=e.substring(i,o.column-1),i=o.column-1,n+=o.options.content;return n+=e.substring(i),n}static fromDecorations(e){const t=[];for(const n of e)n.options.before&&n.options.before.content.length>0&&t.push(new o(n.ownerId,n.range.startLineNumber,n.range.startColumn,n.options.before,0)),n.options.after&&n.options.after.content.length>0&&t.push(new o(n.ownerId,n.range.endLineNumber,n.range.endColumn,n.options.after,1));return t.sort(((e,t)=>e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber)),t}}class r{constructor(e,t,n){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=n}}class a{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class s{constructor(e,t,n,i){this.changeType=4,this.injectedTexts=i,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n}}class l{constructor(){this.changeType=5}}class c{constructor(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i,this.resultingSelection=null}containsEvent(e){for(let t=0,n=this.changes.length;t<n;t++)if(this.changes[t].changeType===e)return!0;return!1}static merge(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.versionId,o=e.isUndoing||t.isUndoing,r=e.isRedoing||t.isRedoing;return new c(n,i,o,r)}}class d{constructor(e){this.changes=e}}class u{constructor(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}merge(e){const t=c.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),n=u._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new u(t,n)}static _mergeChangeEvents(e,t){return{changes:[].concat(e.changes).concat(t.changes),eol:t.eol,versionId:t.versionId,isUndoing:e.isUndoing||t.isUndoing,isRedoing:e.isRedoing||t.isRedoing,isFlush:e.isFlush||t.isFlush}}}},8316:(e,t,n)=>{var i;n.d(t,{UO:()=>o,s6:()=>i,vW:()=>r}),function(e){e[e.Disabled=0]="Disabled",e[e.EnabledForActive=1]="EnabledForActive",e[e.Enabled=2]="Enabled"}(i||(i={}));class o{constructor(e,t,n){this.visibleColumn=e,this.className=t,this.horizontalLine=n}}class r{constructor(e,t){this.top=e,this.endColumn=t}}},9078:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(2842);class o{constructor(e,t,n){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=n}static createEmpty(e,t){const n=o.defaultTokenMetadata,i=new Uint32Array(2);return i[0]=e.length,i[1]=n,new o(i,e,t)}equals(e){return e instanceof o&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;const i=t<<1,o=i+(n<<1);for(let t=i;t<o;t++)if(this._tokens[t]!==e._tokens[t])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[1+(e<<1)]}getLanguageId(e){const t=this._tokens[1+(e<<1)],n=i.NX.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(n)}getStandardTokenType(e){const t=this._tokens[1+(e<<1)];return i.NX.getTokenType(t)}getForeground(e){const t=this._tokens[1+(e<<1)];return i.NX.getForeground(t)}getClassName(e){const t=this._tokens[1+(e<<1)];return i.NX.getClassNameFromMetadata(t)}getInlineStyle(e,t){const n=this._tokens[1+(e<<1)];return i.NX.getInlineStyleFromMetadata(n,t)}getPresentation(e){const t=this._tokens[1+(e<<1)];return i.NX.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return o.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,n){return new r(this,e,t,n)}static convertToEndOffset(e,t){const n=(e.length>>>1)-1;for(let t=0;t<n;t++)e[t<<1]=e[t+1<<1];e[n<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let n=0,i=(e.length>>>1)-1;for(;n<i;){const o=n+Math.floor((i-n)/2),r=e[o<<1];if(r===t)return o+1;r<t?n=o+1:r>t&&(i=o)}return n}withInserted(e){if(0===e.length)return this;let t=0,n=0,i="";const r=new Array;let a=0;for(;;){const o=t<this._tokensCount?this._tokens[t<<1]:-1,s=n<e.length?e[n]:null;if(-1!==o&&(null===s||o<=s.offset)){i+=this._text.substring(a,o);const e=this._tokens[1+(t<<1)];r.push(i.length,e),t++,a=o}else{if(!s)break;if(s.offset>a){i+=this._text.substring(a,s.offset);const e=this._tokens[1+(t<<1)];r.push(i.length,e),a=s.offset}i+=s.text,r.push(i.length,s.tokenMetadata),n++}}return new o(new Uint32Array(r),i,this._languageIdCodec)}}o.defaultTokenMetadata=16793600;class r{constructor(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,i=e.getCount();t<i&&!(e.getStartOffset(t)>=n);t++)this._tokensCount++}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof r&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},2860:(e,t,n)=>{n.d(t,{Kp:()=>o,k:()=>s});var i=n(8241);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,r=n+1,a=n-t,s=[];let l=0;for(const t of e)t.endColumn<=i||t.startColumn>=r||(s[l++]=new o(Math.max(1,t.startColumn-i+1),Math.min(a+1,t.endColumn-i+1),t.className,t.type));return s}static filter(e,t,n,i){if(0===e.length)return[];const r=[];let a=0;for(let s=0,l=e.length;s<l;s++){const l=e[s],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,u=c.endLineNumber===t?c.endColumn:i;r[a++]=new o(d,u,l.inlineClassName,l.type)}return r}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 r{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.className=n,this.metadata=i}}class a{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 r(t,this.stopOffsets[e],this.classNames.join(" "),a._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 r(t,e-1,this.classNames.join(" "),a._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 s{static normalize(e,t){if(0===t.length)return[];const n=[],o=new a;let r=0;for(let a=0,s=t.length;a<s;a++){const s=t[a];let l=s.startColumn,c=s.endColumn;const d=s.className,u=1===s.type?2:2===s.type?4:0;if(l>1){const t=e.charCodeAt(l-2);i.ZG(t)&&l--}if(c>1){const t=e.charCodeAt(c-2);i.ZG(t)&&c--}const h=l-1,p=c-2;r=o.consumeLowerThan(h,r,n),0===o.count&&(r=h),o.insert(p,d,u)}return o.consumeLowerThan(1073741824,r,n),n}}},9389:(e,t,n)=>{n.d(t,{IJ:()=>l,Nd:()=>c,d1:()=>h,tF:()=>f,zG:()=>s});var i=n(8241),o=n(6748),r=n(2860);class a{constructor(e,t,n){this._linePartBrand=void 0,this.endIndex=e,this.type=t,this.metadata=n}isWhitespace(){return!!(1&this.metadata)}isPseudoAfter(){return!!(4&this.metadata)}}class s{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class l{constructor(e,t,n,i,o,a,s,l,c,d,u,h,p,f,g,m,v,b,_){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=a,this.fauxIndentLength=s,this.lineTokens=l,this.lineDecorations=c.sort(r.Kp.compare),this.tabSize=d,this.startVisibleColumn=u,this.spaceWidth=h,this.stopRenderingLineAfter=g,this.renderWhitespace="all"===m?4:"boundary"===m?1:"selection"===m?2:"trailing"===m?3:0,this.renderControlCharacters=v,this.fontLigatures=b,this.selectionsOnLine=_&&_.sort(((e,t)=>e.startOffset<t.startOffset?-1:1)),Math.abs(f-h)<Math.abs(p-h)?(this.renderSpaceWidth=f,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=p,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.Kp.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class c{constructor(e,t){this.partIndex=e,this.charIndex=t}}class d{constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(e){return(4294901760&e)>>>16}static getCharIndex(e){return(65535&e)>>>0}setColumnInfo(e,t,n,i){const o=(t<<16|n<<0)>>>0;this._data[e-1]=o,this._absoluteOffsets[e-1]=i+n}getAbsoluteOffset(e){return 0===this._absoluteOffsets.length?0:this._absoluteOffsets[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=d.getPartIndex(t),i=d.getCharIndex(t);return new c(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)>>>0;let o=0,r=this.length-1;for(;o+1<r;){const e=o+r>>>1,t=this._data[e];if(t===i)return e;t>i?r=e:o=e}if(o===r)return o;const a=this._data[o],s=this._data[r];if(a===i)return o;if(s===i)return r;const l=d.getPartIndex(a),c=d.getCharIndex(a);let u;return u=l!==d.getPartIndex(s)?t:d.getCharIndex(s),n-c<=u-n?o:r}}class u{constructor(e,t,n){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}}function h(e,t){if(0===e.lineContent.length){if(e.lineDecorations.length>0){t.appendASCIIString("<span>");let n=0,i=0,o=0;for(const r of e.lineDecorations)1!==r.type&&2!==r.type||(t.appendASCIIString('<span class="'),t.appendASCIIString(r.className),t.appendASCIIString('"></span>'),1===r.type&&(o|=1,n++),2===r.type&&(o|=2,i++));t.appendASCIIString("</span>");const r=new d(1,n+i);return r.setColumnInfo(1,n,0,0),new u(r,!1,o)}return t.appendASCIIString("<span><span></span></span>"),new u(new d(0,0),!1,0)}return function(e,t){const n=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,r=e.containsForeignElements,a=e.lineContent,s=e.len,l=e.isOverflowing,c=e.parts,h=e.fauxIndentLength,p=e.tabSize,f=e.startVisibleColumn,g=e.containsRTL,v=e.spaceWidth,b=e.renderSpaceCharCode,_=e.renderWhitespace,y=e.renderControlCharacters,A=new d(s+1,c.length);let w=!1,C=0,x=f,S=0,E=0,k=0,M=0;g?t.appendASCIIString('<span dir="ltr">'):t.appendASCIIString("<span>");for(let e=0,l=c.length;e<l;e++){M+=k;const l=c[e],d=l.endIndex,u=l.type,f=0!==_&&l.isWhitespace(),g=f&&!n&&("mtkw"===u||!r),D=C===d&&l.isPseudoAfter();if(S=0,t.appendASCIIString('<span class="'),t.appendASCIIString(g?"mtkz":u),t.appendASCII(34),f){let n=0;{let e=C,t=x;for(;e<d;e++){const i=0|(9===a.charCodeAt(e)?p-t%p:1);n+=i,e>=h&&(t+=i)}}for(g&&(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(v*n)),t.appendASCIIString('px"')),t.appendASCII(62);C<d;C++){let n;if(A.setColumnInfo(C+1,e-E,S,M),E=0,9===a.charCodeAt(C)){n=p-x%p|0,!o||n>1?t.write1(8594):t.write1(65515);for(let e=2;e<=n;e++)t.write1(160)}else n=1,t.write1(b);S+=n,C>=h&&(x+=n)}k=n}else{let n=0;for(t.appendASCII(62);C<d;C++){A.setColumnInfo(C+1,e-E,S,M),E=0;const o=a.charCodeAt(C);let r=1,s=1;switch(o){case 9:r=p-x%p,s=r;for(let e=1;e<=r;e++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("&lt;");break;case 62:t.appendASCIIString("&gt;");break;case 38:t.appendASCIIString("&amp;");break;case 0:y?t.write1(9216):t.appendASCIIString("&#00;");break;case 65279:case 8232:case 8233:case 133:t.write1(65533);break;default:i.K7(o)&&s++,y&&o<32?t.write1(9216+o):y&&127===o?t.write1(9249):y&&m(o)?(t.appendASCIIString("[U+"),t.appendASCIIString(o.toString(16).toUpperCase().padStart(4,"0")),t.appendASCIIString("]"),r=8):t.write1(o)}S+=r,n+=r,C>=h&&(x+=s)}k=n}D?E++:E=0,C>=s&&!w&&l.isPseudoAfter()&&(w=!0,A.setColumnInfo(C+1,e,S,M)),t.appendASCIIString("</span>")}return w||A.setColumnInfo(s+1,c.length-1,S,M),l&&t.appendASCIIString("<span>&hellip;</span>"),t.appendASCIIString("</span>"),new u(A,g,r)}(function(e){const t=e.lineContent;let n,o;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<t.length?(n=!0,o=e.stopRenderingLineAfter):(n=!1,o=t.length);let s=function(e,t,n){const i=[];let o=0;t>0&&(i[o++]=new a(t,"",0));for(let r=0,s=e.getCount();r<s;r++){const s=e.getEndOffset(r);if(s<=t)continue;const l=e.getClassName(r);if(s>=n){i[o++]=new a(n,l,0);break}i[o++]=new a(s,l,0)}return i}(e.lineTokens,e.fauxIndentLength,o);e.renderControlCharacters&&!e.isBasicASCII&&(s=function(e,t){const n=[];let i=new a(0,"",0),o=0;for(const r of t){const t=r.endIndex;for(;o<t;o++)m(e.charCodeAt(o))&&(o>i.endIndex&&(i=new a(o,r.type,r.metadata),n.push(i)),i=new a(o+1,"mtkcontrol",r.metadata),n.push(i));o>i.endIndex&&(i=new a(t,r.type,r.metadata),n.push(i))}return n}(t,s)),(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace)&&(s=function(e,t,n,o){const r=e.continuesWithWrappedLine,s=e.fauxIndentLength,l=e.tabSize,c=e.startVisibleColumn,d=e.useMonospaceOptimizations,u=e.selectionsOnLine,h=1===e.renderWhitespace,p=3===e.renderWhitespace,f=e.renderSpaceWidth!==e.spaceWidth,g=[];let m=0,v=0,b=o[v].type,_=o[v].endIndex;const y=o.length;let A,w=!1,C=i.LC(t);-1===C?(w=!0,C=n,A=n):A=i.ow(t);let x=!1,S=0,E=u&&u[S],k=c%l;for(let e=s;e<n;e++){const r=t.charCodeAt(e);let c;if(E&&e>=E.endOffset&&(S++,E=u&&u[S]),e<C||e>A)c=!0;else if(9===r)c=!0;else if(32===r)if(h)if(x)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&&u&&(c=!!E&&E.startOffset<=e&&E.endOffset>e),c&&p&&(c=w||e>A),x){if(!c||!d&&k>=l){if(f)for(let t=(m>0?g[m-1].endIndex:s)+1;t<=e;t++)g[m++]=new a(t,"mtkw",1);else g[m++]=new a(e,"mtkw",1);k%=l}}else(e===_||c&&e>s)&&(g[m++]=new a(e,b,0),k%=l);for(9===r?k=l:i.K7(r)?k+=2:k++,x=c;e===_&&(v++,v<y);)b=o[v].type,_=o[v].endIndex}let M=!1;if(x)if(r&&h){const e=n>0?t.charCodeAt(n-1):0,i=n>1?t.charCodeAt(n-2):0;32===e&&32!==i&&9!==i||(M=!0)}else M=!0;if(M)if(f)for(let e=(m>0?g[m-1].endIndex:s)+1;e<=n;e++)g[m++]=new a(e,"mtkw",1);else g[m++]=new a(n,"mtkw",1);else g[m++]=new a(n,b,0);return g}(e,t,o,s));let l=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?l|=1:2===n.type&&(l|=2)}s=function(e,t,n,i){i.sort(r.Kp.compare);const o=r.k.normalize(e,i),s=o.length;let l=0;const c=[];let d=0,u=0;for(let e=0,t=n.length;e<t;e++){const t=n[e],i=t.endIndex,r=t.type,h=t.metadata;for(;l<s&&o[l].startOffset<i;){const e=o[l];if(e.startOffset>u&&(u=e.startOffset,c[d++]=new a(u,r,h)),!(e.endOffset+1<=i)){u=i,c[d++]=new a(u,r+" "+e.className,h|e.metadata);break}u=e.endOffset+1,c[d++]=new a(u,r+" "+e.className,h|e.metadata),l++}i>u&&(u=i,c[d++]=new a(u,r,h))}const h=n[n.length-1].endIndex;if(l<s&&o[l].startOffset===h)for(;l<s&&o[l].startOffset===h;){const e=o[l];c[d++]=new a(u,e.className,e.metadata),l++}return c}(t,0,s,e.lineDecorations)}return e.containsRTL||(s=function(e,t,n){let i=0;const o=[];let r=0;if(n)for(let n=0,s=t.length;n<s;n++){const s=t[n],l=s.endIndex;if(i+50<l){const t=s.type,n=s.metadata;let c=-1,d=i;for(let s=i;s<l;s++)32===e.charCodeAt(s)&&(c=s),-1!==c&&s-d>=50&&(o[r++]=new a(c+1,t,n),d=c+1,c=-1);d!==l&&(o[r++]=new a(l,t,n))}else o[r++]=s;i=l}else for(let e=0,n=t.length;e<n;e++){const n=t[e],s=n.endIndex,l=s-i;if(l>50){const e=n.type,t=n.metadata,c=Math.ceil(l/50);for(let n=1;n<c;n++){const s=i+50*n;o[r++]=new a(s,e,t)}o[r++]=new a(s,e,t)}else o[r++]=n;i=s}return o}(t,s,!e.isBasicASCII||e.fontLigatures)),new g(e.useMonospaceOptimizations,e.canUseHalfwidthRightwardsArrow,t,o,n,s,l,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.renderSpaceCharCode,e.renderWhitespace,e.renderControlCharacters)}(e),t)}class p{constructor(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i}}function f(e){const t=(0,o.l$)(1e4),n=h(e,t);return new p(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}class g{constructor(e,t,n,i,o,r,a,s,l,c,d,u,h,p,f){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=o,this.parts=r,this.containsForeignElements=a,this.fauxIndentLength=s,this.tabSize=l,this.startVisibleColumn=c,this.containsRTL=d,this.spaceWidth=u,this.renderSpaceCharCode=h,this.renderWhitespace=p,this.renderControlCharacters=f}}function m(e){return e<32?9!==e:127===e||e>=8234&&e<=8238||e>=8294&&e<=8297||e>=8206&&e<=8207||1564===e}},9340:(e,t,n)=>{n.d(t,{$l:()=>u,$t:()=>c,IP:()=>s,SQ:()=>h,Wx:()=>d,l_:()=>r,ud:()=>a,wA:()=>l});var i=n(8241),o=n(208);class r{constructor(e,t,n,i){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|i}}class a{constructor(e,t){this.tabSize=e,this.data=t}}class s{constructor(e,t,n,i,o,r,a){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=o,this.tokens=r,this.inlineDecorations=a}}class l{constructor(e,t,n,i,o,r,a,s,c,d){this.minColumn=e,this.maxColumn=t,this.content=n,this.continuesWithWrappedLine=i,this.isBasicASCII=l.isBasicASCII(n,r),this.containsRTL=l.containsRTL(n,this.isBasicASCII,o),this.tokens=a,this.inlineDecorations=s,this.tabSize=c,this.startVisibleColumn=d}static isBasicASCII(e,t){return!t||i.$i(e)}static containsRTL(e,t,n){return!(t||!n)&&i.Ut(e)}}class c{constructor(e,t,n){this.range=e,this.inlineClassName=t,this.type=n}}class d{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.inlineClassName=n,this.inlineClassNameAffectsLetterSpacing=i}toInlineDecoration(e){return new c(new o.e(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class u{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class h{constructor(e,t,n){this.color=e,this.zIndex=t,this.data=n}static cmp(e,t){return e.zIndex===t.zIndex?e.color<t.color?-1:e.color>t.color?1:0:e.zIndex-t.zIndex}}},2497:(e,t,n)=>{n.d(t,{EY:()=>o,Tj:()=>r});class i{constructor(e,t,n){this._colorZoneBrand=void 0,this.from=0|e,this.to=0|t,this.colorId=0|n}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class o{constructor(e,t,n,i){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=n,this.color=i,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1}setColorZone(e){this._colorZone=e}getColorZones(){return this._colorZone}}class r{constructor(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(e){this._zones=e,this._zones.sort(o.compare)}setLineHeight(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)}setPixelRatio(e){this._pixelRatio=e,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)}resolveColorZones(){const e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),o=n/Math.floor(this._outerHeight),r=Math.floor(4*this._pixelRatio/2),a=[];for(let s=0,l=this._zones.length;s<l;s++){const l=this._zones[s];if(!e){const e=l.getColorZones();if(e){a.push(e);continue}}const c=this._getVerticalOffsetForLine(l.startLineNumber),d=0===l.heightInLines?this._getVerticalOffsetForLine(l.endLineNumber)+t:c+l.heightInLines*t,u=Math.floor(o*c),h=Math.floor(o*d);let p=Math.floor((u+h)/2),f=h-p;f<r&&(f=r),p-f<0&&(p=f),p+f>n&&(p=n-f);const g=l.color;let m=this._color2Id[g];m||(m=++this._lastAssignedId,this._color2Id[g]=m,this._id2Color[m]=g);const v=new i(p-f,p+f,m);l.setColorZone(v),a.push(v)}return this._colorZonesInvalid=!1,a.sort(i.compare),a}}},6646:(e,n,i)=>{i.r(n),i.d(n,{SuggestController:()=>Yo,TriggerSuggestAction:()=>Jo});var o=i(2718),r=i(6918),a=i(7685),s=i(7809),l=i(7943),c=i(9914),d=i(4130),u=i(5666),h=i(1204),p=i(6639),f=i(8725),g=i(3299),m=i(9687),v=i(5093),b=i(873),_=i(208),y=i(3724),A=i(2623),w=i(160),C=i(6283),x=i(172);class S{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let e,t=this.pos,n=0,i=this.value.charCodeAt(t);if(e=S._table[i],"number"==typeof e)return this.pos+=1,{type:e,pos:t,len:1};if(S.isDigitCharacter(i)){e=8;do{n+=1,i=this.value.charCodeAt(t+n)}while(S.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}if(S.isVariableCharacter(i)){e=9;do{i=this.value.charCodeAt(t+ ++n)}while(S.isVariableCharacter(i)||S.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}e=10;do{n+=1,i=this.value.charCodeAt(t+n)}while(!isNaN(i)&&void 0===S._table[i]&&!S.isDigitCharacter(i)&&!S.isVariableCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}}S._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class E{constructor(){this._children=[]}appendChild(e){return e instanceof k&&this._children[this._children.length-1]instanceof k?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:n}=e,i=n.children.indexOf(e),o=n.children.slice(0);o.splice(i,1,...t),n._children=o,function e(t,n){for(const i of t)i.parent=n,e(i.children,i)}(t,n)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof O)return e;e=e.parent}}toString(){return this.children.reduce(((e,t)=>e+t.toString()),"")}len(){return 0}}class k extends E{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new k(this.value)}}class M extends E{}class D extends M{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof N?this._children[0]:void 0}clone(){let e=new D(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map((e=>e.clone())),e}}class N extends E{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof k&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new N;return this.options.forEach(e.appendChild,e),e}}class I extends E{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let n=!1,i=e.replace(this.regexp,(function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!n&&this._children.some((e=>e instanceof T&&Boolean(e.elseValue)))&&(i=this._replace([])),i}_replace(e){let t="";for(const n of this._children)if(n instanceof T){let i=e[n.index]||"";i=n.resolve(i),t+=i}else t+=n.toString();return t}toString(){return""}clone(){let e=new I;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map((e=>e.clone())),e}}class T extends E{constructor(e,t,n,i){super(),this.index=e,this.shorthandName=t,this.ifValue=n,this.elseValue=i}resolve(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":"camelcase"===this.shorthandName?e?this._toCamelCase(e):"":Boolean(e)&&"string"==typeof this.ifValue?this.ifValue:Boolean(e)||"string"!=typeof this.elseValue?e||"":this.elseValue}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase())).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(((e,t)=>0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.substr(1).toLowerCase())).join(""):e}clone(){return new T(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class L extends M{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new k(t)],!0)}clone(){const e=new L(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map((e=>e.clone())),e}}function B(e,t){const n=[...e];for(;n.length>0;){const e=n.shift();if(!t(e))break;n.unshift(...e.children)}}class O extends E{get placeholderInfo(){if(!this._placeholders){let e,t=[];this.walk((function(n){return n instanceof D&&(t.push(n),e=!e||e.index<n.index?n:e),!0})),this._placeholders={all:t,last:e}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,n=!1;return this.walk((i=>i===e?(n=!0,!1):(t+=i.len(),!0))),n?t:-1}fullLen(e){let t=0;return B([e],(e=>(t+=e.len(),!0))),t}enclosingPlaceholders(e){let t=[],{parent:n}=e;for(;n;)n instanceof D&&t.push(n),n=n.parent;return t}resolveVariables(e){return this.walk((t=>(t instanceof L&&t.resolve(e)&&(this._placeholders=void 0),!0))),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new O;return this._children=this.children.map((e=>e.clone())),e}walk(e){B(this.children,e)}}class P{constructor(){this._scanner=new S,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,n){this._scanner.text(e),this._token=this._scanner.next();const i=new O;for(;this._parse(i););const o=new Map,r=[];let a=0;i.walk((e=>(e instanceof D&&(a+=1,e.isFinalTabstop?o.set(0,void 0):!o.has(e.index)&&e.children.length>0?o.set(e.index,e.children):r.push(e)),!0)));for(const e of r){const t=o.get(e.index);if(t){const n=new D(e.index);n.transform=e.transform;for(const e of t)n.appendChild(e.clone());i.replace(e,[n])}}return n||(n=a>0&&t),!o.has(0)&&n&&i.appendChild(new D(0)),i}_accept(e,t){if(void 0===e||this._token.type===e){let e=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),e}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(14===this._token.type)return!1;if(5===this._token.type){const e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}const n=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),n}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new k(t)),!0)}_parseTabstopOrVariableName(e){let t;const n=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new D(Number(t)):new L(t)),!0):this._backTo(n)}_parseComplexPlaceholder(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(n);const i=new D(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new k("${"+t+":")),i.children.forEach(e.appendChild,e),!0}else{if(!(i.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);{const t=new N;for(;;){if(this._parseChoiceElement(t)){if(this._accept(2))continue;if(this._accept(7)&&(i.appendChild(t),this._accept(4)))return e.appendChild(i),!0}return this._backTo(n),!1}}}}_parseChoiceElement(e){const t=this._token,n=[];for(;2!==this._token.type&&7!==this._token.type;){let e;if(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0),!e)return this._backTo(t),!1;n.push(e)}return 0===n.length?(this._backTo(t),!1):(e.appendChild(new k(n.join(""))),!0)}_parseComplexVariable(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(n);const i=new L(t);if(!this._accept(1))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new k("${"+t+":")),i.children.forEach(e.appendChild,e),!0}}_parseTransform(e){let t=new I,n="",i="";for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(6,!0)||e,n+=e;else{if(14===this._token.type)return!1;n+=this._accept(void 0,!0)}}for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(5,!0)||this._accept(6,!0)||e,t.appendChild(new k(e));else if(!this._parseFormatString(t)&&!this._parseAnything(t))return!1}for(;!this._accept(4);){if(14===this._token.type)return!1;i+=this._accept(void 0,!0)}try{t.regexp=new RegExp(n,i)}catch(e){return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let n=!1;this._accept(3)&&(n=!0);let i=this._accept(8,!0);if(!i)return this._backTo(t),!1;if(!n)return e.appendChild(new T(Number(i))),!0;if(this._accept(4))return e.appendChild(new T(Number(i))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let n=this._accept(9,!0);return n&&this._accept(4)?(e.appendChild(new T(Number(i),n)),!0):(this._backTo(t),!1)}if(this._accept(11)){let t=this._until(4);if(t)return e.appendChild(new T(Number(i),void 0,t,void 0)),!0}else if(this._accept(12)){let t=this._until(4);if(t)return e.appendChild(new T(Number(i),void 0,void 0,t)),!0}else if(this._accept(13)){let t=this._until(1);if(t){let n=this._until(4);if(n)return e.appendChild(new T(Number(i),void 0,t,n)),!0}}else{let t=this._until(4);if(t)return e.appendChild(new T(Number(i),void 0,void 0,t)),!0}return this._backTo(t),!1}_parseAnything(e){return 14!==this._token.type&&(e.appendChild(new k(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}var F=i(9606),R=i(4028),j=i(9014),z=i(4210),V=i(2819),W=i(6511),H=i(73),U=i(3641),Q=i(5738),G=i(941),K=i.n(G),Y=i(7454);K()(Y.Z,{insert:"head",singleton:!1}),Y.Z.locals;const $={inputActiveOptionBorder:Q.Il.fromHex("#007ACC00"),inputActiveOptionForeground:Q.Il.fromHex("#FFFFFF"),inputActiveOptionBackground:Q.Il.fromHex("#0E639C50")};class J extends H.${constructor(e){super(),this._onChange=this._register(new c.Q5),this.onChange=this._onChange.event,this._onKeyDown=this._register(new c.Q5),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},$),e),this._checked=this._opts.isChecked;const t=["monaco-custom-checkbox"];this._opts.icon&&t.push(...U.dT.asClassNameArray(this._opts.icon)),this._opts.actionClassName&&t.push(...this._opts.actionClassName.split(" ")),this._checked&&t.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(...t),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,(e=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault())})),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,(e=>{if(10===e.keyCode||3===e.keyCode)return this.checked=!this._checked,this._onChange.fire(!0),void e.preventDefault();this._onKeyDown.fire(e)}))}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}const q=F.N("caseDescription","Match Case"),Z=F.N("wordsDescription","Match Whole Word"),X=F.N("regexDescription","Use Regular Expression");class ee extends J{constructor(e){super({icon:U.lA.caseSensitive,title:q+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class te extends J{constructor(e){super({icon:U.lA.wholeWord,title:Z+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class ne extends J{constructor(e){super({icon:U.lA.regex,title:X+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}var ie=i(7662),oe=i(9598);K()(oe.Z,{insert:"head",singleton:!1}),oe.Z.locals;const re=F.N("defaultLabel","input");class ae extends H.${constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this._onDidOptionChange=this._register(new c.Q5),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new c.Q5),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new c.Q5),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new c.Q5),this._onKeyUp=this._register(new c.Q5),this._onCaseSensitiveKeyDown=this._register(new c.Q5),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new c.Q5),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||re,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const o=i.appendCaseSensitiveLabel||"",r=i.appendWholeWordsLabel||"",a=i.appendRegexLabel||"",s=i.history||[],l=!!i.flexibleHeight,d=!!i.flexibleWidth,u=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new ie.p(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:s,showHistoryHint:i.showHistoryHint,flexibleHeight:l,flexibleWidth:d,flexibleMaxHeight:u})),this.regex=this._register(new ne({appendTitle:a,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.regex.onKeyDown((e=>{this._onRegexKeyDown.fire(e)}))),this.wholeWords=this._register(new te({appendTitle:r,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this.caseSensitive=this._register(new ee({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.caseSensitive.onKeyDown((e=>{this._onCaseSensitiveKeyDown.fire(e)}))),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let h=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,(e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=h.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%h.length:e.equals(15)&&(n=0===t?h.length-1:t-1),e.equals(9)?(h[t].blur(),this.inputBox.focus()):n>=0&&h[n].focus(),W.zB.stop(e,!0)}}})),this.controls=document.createElement("div"),this.controls.className="controls",this.controls.style.display=this._showOptionButtons?"block":"none",this.controls.appendChild(this.caseSensitive.domNode),this.controls.appendChild(this.wholeWords.domNode),this.controls.appendChild(this.regex.domNode),this.domNode.appendChild(this.controls),e&&e.appendChild(this.domNode),this._register(W.nm(this.inputBox.inputElement,"compositionstart",(e=>{this.imeSessionInProgress=!0}))),this._register(W.nm(this.inputBox.inputElement,"compositionend",(e=>{this.imeSessionInProgress=!1,this._onInput.fire()}))),this.onkeydown(this.inputBox.inputElement,(e=>this._onKeyDown.fire(e))),this.onkeyup(this.inputBox.inputElement,(e=>this._onKeyUp.fire(e))),this.oninput(this.inputBox.inputElement,(e=>this._onInput.fire())),this.onmousedown(this.inputBox.inputElement,(e=>this._onMouseDown.fire(e)))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}const se=F.N("defaultLabel","input"),le=F.N("label.preserveCaseCheckbox","Preserve Case");class ce extends J{constructor(e){super({icon:U.lA.preserveCase,title:le+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class de extends H.${constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new c.Q5),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new c.Q5),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new c.Q5),this._onInput=this._register(new c.Q5),this._onKeyUp=this._register(new c.Q5),this._onPreserveCaseKeyDown=this._register(new c.Q5),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||se,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const o=i.appendPreserveCaseLabel||"",r=i.history||[],a=!!i.flexibleHeight,s=!!i.flexibleWidth,l=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new ie.p(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:r,showHistoryHint:i.showHistoryHint,flexibleHeight:a,flexibleWidth:s,flexibleMaxHeight:l})),this.preserveCase=this._register(new ce({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.preserveCase.onKeyDown((e=>{this._onPreserveCaseKeyDown.fire(e)}))),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let d=[this.preserveCase.domNode];this.onkeydown(this.domNode,(e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=d.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%d.length:e.equals(15)&&(n=0===t?d.length-1:t-1),e.equals(9)?(d[t].blur(),this.inputBox.focus()):n>=0&&d[n].focus(),W.zB.stop(e,!0)}}}));let u=document.createElement("div");u.className="controls",u.style.display=this._showOptionButtons?"block":"none",u.appendChild(this.preserveCase.domNode),this.domNode.appendChild(u),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,(e=>this._onKeyDown.fire(e))),this.onkeyup(this.inputBox.inputElement,(e=>this._onKeyUp.fire(e))),this.oninput(this.inputBox.inputElement,(e=>this._onInput.fire())),this.onmousedown(this.inputBox.inputElement,(e=>this._onMouseDown.fire(e)))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var ue=i(3161),he=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},pe=function(e,t){return function(n,i){t(n,i,e)}};const fe=new z.uy("suggestWidgetVisible",!1,(0,F.N)("suggestWidgetVisible","Whether suggestion are visible")),ge="historyNavigationWidget",me="historyNavigationForwardsEnabled",ve="historyNavigationBackwardsEnabled";function be(e,t){return e.getContext(document.activeElement).getValue(t)}function _e(e,t){const n=function(e,t){return e.createScoped(t.target)}(e,t);return function(e,t,n){new z.uy("historyNavigationWidget",t).bindTo(e)}(n,t),{scopedContextKeyService:n,historyNavigationForwardsEnablement:new z.uy(me,!0).bindTo(n),historyNavigationBackwardsEnablement:new z.uy(ve,!0).bindTo(n)}}let ye=class extends ae{constructor(e,t,n,i,o=!1){super(e,t,o,n),this._register(_e(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};ye=he([pe(3,z.i6)],ye);let Ae=class extends de{constructor(e,t,n,i,o=!1){super(e,t,o,n),this._register(_e(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};Ae=he([pe(3,z.i6)],Ae),ue.W.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:z.Ao.and(z.Ao.has(ge),z.Ao.equals(ve,!0),fe.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{const t=be(e.get(z.i6),ge);t&&t.historyNavigator.showPreviousValue()}}),ue.W.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:z.Ao.and(z.Ao.has(ge),z.Ao.equals(me,!0),fe.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{const t=be(e.get(z.i6),ge);t&&t.historyNavigator.showNextValue()}});var we=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};const Ce={Visible:fe,DetailsVisible:new z.uy("suggestWidgetDetailsVisible",!1,(0,F.N)("suggestWidgetDetailsVisible","Whether suggestion details are visible")),MultipleSuggestions:new z.uy("suggestWidgetMultipleSuggestions",!1,(0,F.N)("suggestWidgetMultipleSuggestions","Whether there are multiple suggestions to pick from")),MakesTextEdit:new z.uy("suggestionMakesTextEdit",!0,(0,F.N)("suggestionMakesTextEdit","Whether inserting the current suggestion yields in a change or has everything already been typed")),AcceptSuggestionsOnEnter:new z.uy("acceptSuggestionOnEnter",!0,(0,F.N)("acceptSuggestionOnEnter","Whether suggestions are inserted when pressing Enter")),HasInsertAndReplaceRange:new z.uy("suggestionHasInsertAndReplaceRange",!1,(0,F.N)("suggestionHasInsertAndReplaceRange","Whether the current suggestion has insert and replace behaviour")),InsertMode:new z.uy("suggestionInsertMode",void 0,{type:"string",description:(0,F.N)("suggestionInsertMode","Whether the default behaviour is to insert or replace")}),CanResolve:new z.uy("suggestionCanResolve",!1,(0,F.N)("suggestionCanResolve","Whether the current suggestion supports to resolve further details"))},xe=new R.eH("suggestWidgetStatusBar");class Se{constructor(e,t,n,i){this.position=e,this.completion=t,this.container=n,this.provider=i,this.isInvalid=!1,this.score=w.CL.Default,this.distance=0,this.textLabel="string"==typeof t.label?t.label:t.label.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),_.e.isIRange(t.range)?(this.editStart=new b.L(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new b.L(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new b.L(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||_.e.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new b.L(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new b.L(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new b.L(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||_.e.spansMultipleLines(t.range.insert)||_.e.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),"function"!=typeof i.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return we(this,void 0,void 0,(function*(){if(!this._resolveCache){const t=e.onCancellationRequested((()=>{this._resolveCache=void 0,this._isResolved=!1}));this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then((e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()}),(e=>{(0,l.n2)(e)&&(this._resolveCache=void 0,this._isResolved=!1)}))}return this._resolveCache}))}}class Ee{constructor(e=2,t=new Set,n=new Set,i=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n,this.showDeprecated=i}}Ee.default=new Ee;class ke{constructor(e,t,n,i){this.items=e,this.needsClipboard=t,this.durations=n,this.disposable=i}}function Me(e,t,n,i=Ee.default,o={triggerKind:0},r=s.T.None){return we(this,void 0,void 0,(function*(){const a=new p.G(!0);n=n.clone();const s=t.getWordAtPosition(n),c=s?new _.e(n.lineNumber,s.startColumn,n.lineNumber,s.endColumn):_.e.fromPositions(n),d={replace:c,insert:c.setEndPosition(n.lineNumber,n.column)},h=[],f=new u.SL,g=[];let m=!1;const v=(e,t,o)=>{var r,a,s;let l=!1;if(!t)return l;for(let o of t.suggestions)if(!i.kindFilter.has(o.kind)){if(!i.showDeprecated&&(null===(r=null==o?void 0:o.tags)||void 0===r?void 0:r.includes(1)))continue;o.range||(o.range=d),o.sortText||(o.sortText="string"==typeof o.label?o.label:o.label.label),!m&&o.insertTextRules&&4&o.insertTextRules&&(m=P.guessNeedsClipboard(o.insertText)),h.push(new Se(n,o,t,e)),l=!0}return(0,u.Wf)(t)&&f.add(t),g.push({providerName:null!==(a=e._debugDisplayName)&&void 0!==a?a:"unknown_provider",elapsedProvider:null!==(s=t.duration)&&void 0!==s?s:-1,elapsedOverall:o.elapsed()}),l},b=(()=>we(this,void 0,void 0,(function*(){})))();for(let a of e.orderedGroups(t)){let e=!1;if(yield Promise.all(a.map((a=>we(this,void 0,void 0,(function*(){if(!(i.providerFilter.size>0)||i.providerFilter.has(a))try{const i=new p.G(!0),s=yield a.provideCompletionItems(t,n,o,r);e=v(a,s,i)||e}catch(e){(0,l.Cp)(e)}}))))),e||r.isCancellationRequested)break}return yield b,r.isCancellationRequested?(f.dispose(),Promise.reject((0,l.F0)())):new ke(h.sort(Ie(i.snippetSortOrder)),m,{entries:g,elapsed:a.elapsed()},f)}))}function De(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLow<t.sortTextLow)return-1;if(e.sortTextLow>t.sortTextLow)return 1}return e.completion.label<t.completion.label?-1:e.completion.label>t.completion.label?1:e.completion.kind-t.completion.kind}const Ne=new Map;function Ie(e){return Ne.get(e)}let Te;Ne.set(0,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return De(e,t)})),Ne.set(2,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return De(e,t)})),Ne.set(1,De),j.P0.registerCommand("_executeCompletionItemProvider",((e,...t)=>we(void 0,void 0,void 0,(function*(){const[n,i,o,r]=t;(0,f.p_)(C.o.isUri(n)),(0,f.p_)(b.L.isIPosition(i)),(0,f.p_)("string"==typeof o||!o),(0,f.p_)("number"==typeof r||!r);const{completionProvider:a}=e.get(V.p),l=yield e.get(x.S).createModelReference(n);try{const e={incomplete:!1,suggestions:[]},t=[],n=yield Me(a,l.object.textEditorModel,b.L.lift(i),void 0,{triggerCharacter:o,triggerKind:o?1:0});for(const i of n.items)t.length<(null!=r?r:0)&&t.push(i.resolve(s.T.None)),e.incomplete=e.incomplete||i.container.incomplete,e.suggestions.push(i.completion);try{return yield Promise.all(t),e}finally{setTimeout((()=>n.disposable.dispose()),100)}}finally{l.dispose()}}))));let Le=[];function Be(e,t,n){const{completionProvider:i}=e.get(V.p);Te||(Te=new class{provideCompletionItems(){let e={suggestions:Le.slice(0)};return Le.length=0,e}},i.register("*",Te)),setTimeout((()=>{var e;Le.push(...n),null===(e=t.getContribution("editor.contrib.suggestController"))||void 0===e||e.triggerSuggest((new Set).add(Te))}),0)}var Oe=i(7696),Pe=i(1990),Fe=i(8241),Re=i(5501);K()(Re.Z,{insert:"head",singleton:!1}),Re.Z.locals;var je=i(4185),ze=i(5364),Ve=i(2366),We=i(2837),He=i(6390),Ue=i(2650);function Qe(e,t){return(0,We.oP)(e,t)?e.charAt(0).toUpperCase()+e.slice(1):e}Object.create(null);var Ge=i(238);const Ke=new Uint8Array(16),Ye=[];for(let e=0;e<256;e++)Ye.push(e.toString(16).padStart(2,"0"));let $e;$e="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?crypto.getRandomValues.bind(crypto):function(e){for(let t=0;t<e.length;t++)e[t]=Math.floor(256*Math.random());return e};var Je=i(4384);Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class qe{constructor(e){this._delegates=e}resolve(e){for(const t of this._delegates){let n=t.resolve(e);if(void 0!==n)return n}}}class Ze{constructor(e,t,n,i){this._model=e,this._selection=t,this._selectionIdx=n,this._overtypingCapturer=i}resolve(e){const{name:t}=e;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){let t=this._model.getValueInRange(this._selection)||void 0,n=this._selection.startLineNumber!==this._selection.endLineNumber;if(!t&&this._overtypingCapturer){const e=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);e&&(t=e.value,n=e.multiline)}if(t&&n&&e.snippet){const n=this._model.getLineContent(this._selection.startLineNumber),i=(0,Fe.V8)(n,0,this._selection.startColumn-1);let o=i;e.snippet.walk((t=>t!==e&&(t instanceof k&&(o=(0,Fe.V8)((0,Fe.uq)(t.value).pop())),!0)));const r=(0,Fe.Mh)(o,i);t=t.replace(/(\r\n|\r|\n)(.*)/g,((e,t,n)=>`${t}${o.substr(r)}${n}`))}return t}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){const e=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return e&&e.word||void 0}return"TM_LINE_INDEX"===t?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===t?String(this._selection.positionLineNumber):void 0}}class Xe{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const{name:t}=e;if("TM_FILENAME"===t)return Ge.EZ(this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){const e=Ge.EZ(this._model.uri.fsPath),t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}return"TM_DIRECTORY"===t?"."===Ge.XX(this._model.uri.fsPath)?"":this._labelService.getUriLabel((0,Ue.XX)(this._model.uri)):"TM_FILEPATH"===t?this._labelService.getUriLabel(this._model.uri):"RELATIVE_FILEPATH"===t?this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0}):void 0}}class et{constructor(e,t,n,i){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=i}resolve(e){if("CLIPBOARD"!==e.name)return;const t=this._readClipboardText();if(t){if(this._spread){const e=t.split(/\r\n|\n|\r/).filter((e=>!(0,Fe.m5)(e)));if(e.length===this._selectionCount)return e[this._selectionIdx]}return t}}}class tt{constructor(e,t){this._model=e,this._selection=t}resolve(e){const{name:t}=e,n=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),i=Je.zu.getComments(n);if(i)return"LINE_COMMENT"===t?i.lineCommentToken||void 0:"BLOCK_COMMENT_START"===t?i.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===t&&i.blockCommentEndToken||void 0}}class nt{constructor(){this._date=new Date}resolve(e){const{name:t}=e;return"CURRENT_YEAR"===t?String(this._date.getFullYear()):"CURRENT_YEAR_SHORT"===t?String(this._date.getFullYear()).slice(-2):"CURRENT_MONTH"===t?String(this._date.getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===t?String(this._date.getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===t?String(this._date.getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===t?String(this._date.getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===t?String(this._date.getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===t?nt.dayNames[this._date.getDay()]:"CURRENT_DAY_NAME_SHORT"===t?nt.dayNamesShort[this._date.getDay()]:"CURRENT_MONTH_NAME"===t?nt.monthNames[this._date.getMonth()]:"CURRENT_MONTH_NAME_SHORT"===t?nt.monthNamesShort[this._date.getMonth()]:"CURRENT_SECONDS_UNIX"===t?String(Math.floor(this._date.getTime()/1e3)):void 0}}nt.dayNames=[F.N("Sunday","Sunday"),F.N("Monday","Monday"),F.N("Tuesday","Tuesday"),F.N("Wednesday","Wednesday"),F.N("Thursday","Thursday"),F.N("Friday","Friday"),F.N("Saturday","Saturday")],nt.dayNamesShort=[F.N("SundayShort","Sun"),F.N("MondayShort","Mon"),F.N("TuesdayShort","Tue"),F.N("WednesdayShort","Wed"),F.N("ThursdayShort","Thu"),F.N("FridayShort","Fri"),F.N("SaturdayShort","Sat")],nt.monthNames=[F.N("January","January"),F.N("February","February"),F.N("March","March"),F.N("April","April"),F.N("May","May"),F.N("June","June"),F.N("July","July"),F.N("August","August"),F.N("September","September"),F.N("October","October"),F.N("November","November"),F.N("December","December")],nt.monthNamesShort=[F.N("JanuaryShort","Jan"),F.N("FebruaryShort","Feb"),F.N("MarchShort","Mar"),F.N("AprilShort","Apr"),F.N("MayShort","May"),F.N("JuneShort","Jun"),F.N("JulyShort","Jul"),F.N("AugustShort","Aug"),F.N("SeptemberShort","Sep"),F.N("OctoberShort","Oct"),F.N("NovemberShort","Nov"),F.N("DecemberShort","Dec")];class it{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;const t=(0,Ve.uT)(this._workspaceService.getWorkspace());return t?"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0:void 0}_resolveWorkspaceName(e){if((0,Ve.eb)(e))return Ge.EZ(e.uri.path);let t=Ge.EZ(e.configPath.path);return t.endsWith(Ve.A6)&&(t=t.substr(0,t.length-Ve.A6.length-1)),t}_resoveWorkspacePath(e){if((0,Ve.eb)(e))return Qe(e.uri.fsPath);let t=Ge.EZ(e.configPath.path),n=e.configPath.fsPath;return n.endsWith(t)&&(n=n.substr(0,n.length-t.length-1)),n?Qe(n):"/"}}class ot{resolve(e){const{name:t}=e;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):"UUID"===t?function(){$e(Ke),Ke[6]=15&Ke[6]|64,Ke[8]=63&Ke[8]|128;let e=0,t="";return t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+="-",t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+="-",t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+="-",t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+="-",t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t+=Ye[Ke[e++]],t}():void 0}}class rt{constructor(e,t,n,i){this._editor=e,this._snippet=t,this._offset=n,this._snippetLineLeadingWhitespace=i,this._nestingLevel=1,this._placeholderGroups=(0,r.vM)(t.placeholders,D.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations((t=>{for(const n of this._snippet.placeholders){const i=this._snippet.offset(n),o=this._snippet.fullLen(n),r=_.e.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+o)),a=n.isFinalTabstop?rt._decor.inactiveFinal:rt._decor.inactive,s=t.addDecoration(r,a);this._placeholderDecorations.set(n,s)}}))}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(const t of this._placeholderGroups[this._placeholderGroupsIdx])if(t.transform){const n=this._placeholderDecorations.get(t),i=this._editor.getModel().getDecorationRange(n),o=this._editor.getModel().getValueInRange(i),r=t.transform.resolve(o).split(/\r\n|\r|\n/);for(let e=1;e<r.length;e++)r[e]=this._editor.getModel().normalizeIndentation(this._snippetLineLeadingWhitespace+r[e]);e.push(v.h.replace(i,r.join(this._editor.getModel().getEOL())))}e.length>0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let t=!1;!0===e&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,t=!0):!1===e&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,t=!0);const n=this._editor.getModel().changeDecorations((e=>{const n=new Set,i=[];for(const o of this._placeholderGroups[this._placeholderGroupsIdx]){const r=this._placeholderDecorations.get(o),a=this._editor.getModel().getDecorationRange(r);i.push(new A.Y(a.startLineNumber,a.startColumn,a.endLineNumber,a.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(o),e.changeDecorationOptions(r,o.isFinalTabstop?rt._decor.activeFinal:rt._decor.active),n.add(o);for(const t of this._snippet.enclosingPlaceholders(o)){const i=this._placeholderDecorations.get(t);e.changeDecorationOptions(i,t.isFinalTabstop?rt._decor.activeFinal:rt._decor.active),n.add(t)}}for(const[t,i]of this._placeholderDecorations)n.has(t)||e.changeDecorationOptions(i,t.isFinalTabstop?rt._decor.inactiveFinal:rt._decor.inactive);return i}));return t?this.move(e):null!=n?n:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof D){const e=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(e).isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}computePossibleSelections(){const e=new Map;for(const t of this._placeholderGroups){let n;for(const i of t){if(i.isFinalTabstop)break;n||(n=[],e.set(i.index,n));const t=this._placeholderDecorations.get(i),o=this._editor.getModel().getDecorationRange(t);if(!o){e.delete(i.index);break}n.push(o)}}return e}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(e){const t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations((n=>{for(const i of this._placeholderGroups[this._placeholderGroupsIdx]){const o=e.shift();console.assert(!o._placeholderDecorations);const r=o._snippet.placeholderInfo.last.index;for(const e of o._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=i.index+(r+1)/this._nestingLevel:e.index=i.index+e.index/this._nestingLevel;this._snippet.replace(i,o._snippet.children);const a=this._placeholderDecorations.get(i);n.removeDecoration(a),this._placeholderDecorations.delete(i);for(const e of o._snippet.placeholders){const i=o._snippet.offset(e),r=o._snippet.fullLen(e),a=_.e.fromPositions(t.getPositionAt(o._offset+i),t.getPositionAt(o._offset+i+r)),s=n.addDecoration(a,rt._decor.inactive);this._placeholderDecorations.set(e,s)}}this._placeholderGroups=(0,r.vM)(this._snippet.placeholders,D.compareByIndex)}))}}rt._decor={active:je.qx.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:je.qx.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:je.qx.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:je.qx.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const at={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class st{constructor(e,t,n=at){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}static adjustWhitespace(e,t,n,i,o){const r=e.getLineContent(t.lineNumber),a=(0,Fe.V8)(r,0,t.column-1);let s;return n.walk((t=>{if(!(t instanceof k)||t.parent instanceof N)return!0;const o=t.value.split(/\r\n|\r|\n/);if(i){const i=n.offset(t);if(0===i)o[0]=e.normalizeIndentation(o[0]);else{s=null!=s?s:n.toString();let t=s.charCodeAt(i-1);10!==t&&13!==t||(o[0]=e.normalizeIndentation(a+o[0]))}for(let t=1;t<o.length;t++)o[t]=e.normalizeIndentation(a+o[t])}const r=o.join(e.getEOL());return r!==t.value&&(t.parent.replace(t,[new k(r)]),s=void 0),!0})),a}static adjustSelection(e,t,n,i){if(0!==n||0!==i){const{positionLineNumber:o,positionColumn:r}=t,a=r-n,s=r+i,l=e.validateRange({startLineNumber:o,startColumn:a,endLineNumber:o,endColumn:s});t=A.Y.createWithDirection(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn,t.getDirection())}return t}static createEditsAndSnippets(e,t,n,i,o,r,a,s){const l=[],c=[];if(!e.hasModel())return{edits:l,snippets:c};const d=e.getModel(),u=e.invokeWithinContext((e=>e.get(Ve.ec))),h=e.invokeWithinContext((e=>new Xe(e.get(ze.e),d))),p=()=>a;let f=0,g=d.getValueInRange(st.adjustSelection(d,e.getSelection(),n,0)),m=d.getValueInRange(st.adjustSelection(d,e.getSelection(),0,i)),b=d.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber);const y=e.getSelections().map(((e,t)=>({selection:e,idx:t}))).sort(((e,t)=>_.e.compareRangesUsingStarts(e.selection,t.selection)));for(const{selection:a,idx:_}of y){let A=st.adjustSelection(d,a,n,0),w=st.adjustSelection(d,a,0,i);g!==d.getValueInRange(A)&&(A=a),m!==d.getValueInRange(w)&&(w=a);const C=a.setStartPosition(A.startLineNumber,A.startColumn).setEndPosition(w.endLineNumber,w.endColumn),x=(new P).parse(t,!0,o),S=C.getStartPosition(),E=st.adjustWhitespace(d,S,x,r||_>0&&b!==d.getLineFirstNonWhitespaceColumn(a.positionLineNumber),!0);x.resolveVariables(new qe([h,new et(p,_,y.length,"spread"===e.getOption(71)),new Ze(d,a,_,s),new tt(d,a),new nt,new it(u),new ot]));const k=d.getOffsetAt(S)+f;f+=x.toString().length-d.getValueLengthInRange(C),l[_]=v.h.replace(C,x.toString()),l[_].identifier={major:_,minor:0},c[_]=new rt(e,x,k,E)}return{edits:l,snippets:c}}dispose(){(0,u.B9)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:e,snippets:t}=st.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=t,this._editor.executeEdits("snippet",e,(e=>this._snippets[0].hasPlaceholder?this._move(!0):e.filter((e=>!!e.identifier)).map((e=>A.Y.fromPositions(e.range.getEndPosition()))))),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=at){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:n,snippets:i}=st.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",n,(e=>{for(const e of this._snippets)e.merge(i);return console.assert(0===i.length),this._snippets[0].hasPlaceholder?this._move(void 0):e.filter((e=>!!e.identifier)).map((e=>A.Y.fromPositions(e.range.getEndPosition())))}))}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const n of this._snippets){const i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;let t=new Map;for(const n of this._snippets){const i=n.computePossibleSelections();if(0===t.size)for(const[n,o]of i){o.sort(_.e.compareRangesUsingStarts);for(const i of e)if(o[0].containsRange(i)){t.set(n,[]);break}}if(0===t.size)return!1;t.forEach(((e,t)=>{e.push(...i.get(t))}))}e.sort(_.e.compareRangesUsingStarts);for(let[n,i]of t)if(i.length===e.length){i.sort(_.e.compareRangesUsingStarts);for(let o=0;o<i.length;o++)i[o].containsRange(e[o])||t.delete(n)}else t.delete(n);return t.size>0}}var lt=function(e,t){return function(n,i){t(n,i,e)}};const ct={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let dt=class e{constructor(t,n,i,o){this._editor=t,this._instantiationService=n,this._logService=i,this._snippetListener=new u.SL,this._modelVersionId=-1,this._inSnippet=e.InSnippetMode.bindTo(o),this._hasNextTabstop=e.HasNextTabstop.bindTo(o),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(o)}static get(t){return t.getContribution(e.ID)}dispose(){var e;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),null===(e=this._session)||void 0===e||e.dispose(),this._snippetListener.dispose()}insert(e,t){try{this._doInsert(e,void 0===t?ct:Object.assign(Object.assign({},ct),t))}catch(t){this.cancel(),this._logService.error(t),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new st(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent((e=>e.isFlush&&this.cancel()))),this._snippetListener.add(this._editor.onDidChangeModel((()=>this.cancel()))),this._snippetListener.add(this._editor.onDidChangeCursorSelection((()=>this._updateState()))))}_updateState(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this._editor.getModel().pushStackElement(),this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);const{choice:e}=this._session;if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map((e=>A.Y.fromPositions(e.getStartPosition()))));const[t]=e.options;this._instantiationService.invokeFunction(Be,this._editor,e.options.map(((e,n)=>({kind:13,label:e.value,insertText:e.value,sortText:"a".repeat(n+1),range:_.e.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,t.value.length))}))))}}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),null===(t=this._session)||void 0===t||t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};dt.ID="snippetController2",dt.InSnippetMode=new z.uy("inSnippetMode",!1,(0,F.N)("inSnippetMode","Whether the editor in current in snippet mode")),dt.HasNextTabstop=new z.uy("hasNextTabstop",!1,(0,F.N)("hasNextTabstop","Whether there is a next tab stop when in snippet mode")),dt.HasPrevTabstop=new z.uy("hasPrevTabstop",!1,(0,F.N)("hasPrevTabstop","Whether there is a previous tab stop when in snippet mode")),dt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([lt(1,Oe.TG),lt(2,Pe.VZ),lt(3,z.i6)],dt),(0,m._K)(dt.ID,dt);const ut=m._l.bindToContribution(dt.get);(0,m.fK)(new ut({id:"jumpToNextSnippetPlaceholder",precondition:z.Ao.and(dt.InSnippetMode,dt.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:y.u.editorTextFocus,primary:2}})),(0,m.fK)(new ut({id:"jumpToPrevSnippetPlaceholder",precondition:z.Ao.and(dt.InSnippetMode,dt.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:y.u.editorTextFocus,primary:1026}})),(0,m.fK)(new ut({id:"leaveSnippet",precondition:dt.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:y.u.editorTextFocus,primary:9,secondary:[1033]}})),(0,m.fK)(new ut({id:"acceptSnippet",precondition:dt.InSnippetMode,handler:e=>e.finish()}));var ht=i(472),pt=i(2842),ft=i(3587),gt=i(101),mt=i(7349),vt=function(e,t){return function(n,i){t(n,i,e)}};class bt{constructor(e){this.name=e}select(e,t,n){if(0===n.length)return 0;let i=n[0].score[0];for(let e=0;e<n.length;e++){const{score:t,completion:o}=n[e];if(t[0]!==i)break;if(o.preselect)return e}return 0}}class _t extends bt{constructor(){super("first")}memorize(e,t,n){}toJSON(){}fromJSON(){}}let yt=class e{constructor(e,t){this._storageService=e,this._configService=t,this._disposables=new u.SL,this._persistSoon=new a.pY((()=>this._saveState()),500),this._disposables.add(e.onWillSaveState((e=>{e.reason===mt.fk.SHUTDOWN&&this._saveState()})))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,n){this._withStrategy(e,t).memorize(e,t,n),this._persistSoon.schedule()}select(e,t,n){return this._withStrategy(e,t).select(e,t,n)}_withStrategy(t,n){var i;const o=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:t.getLanguageIdAtPosition(n.lineNumber,n.column),resource:t.uri});if((null===(i=this._strategy)||void 0===i?void 0:i.name)!==o){this._saveState();const t=e._strategyCtors.get(o)||_t;this._strategy=new t;try{const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=this._storageService.get(`${e._storagePrefix}/${o}`,t);n&&this._strategy.fromJSON(JSON.parse(n))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=JSON.stringify(this._strategy);this._storageService.store(`${e._storagePrefix}/${this._strategy.name}`,n,t,1)}}};yt._strategyCtors=new Map([["recentlyUsedByPrefix",class extends bt{constructor(){super("recentlyUsedByPrefix"),this._trie=ht.Id.forStrings(),this._seq=0}memorize(e,t,n){const{word:i}=e.getWordUntilPosition(t),o=`${e.getLanguageId()}/${i}`;this._trie.set(o,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})}select(e,t,n){let{word:i}=e.getWordUntilPosition(t);if(!i)return super.select(e,t,n);let o=`${e.getLanguageId()}/${i}`,r=this._trie.get(o);if(r||(r=this._trie.findSubstr(o)),r)for(let e=0;e<n.length;e++){let{kind:t,insertText:i}=n[e].completion;if(t===r.type&&i===r.insertText)return e}return super.select(e,t,n)}toJSON(){let e=[];return this._trie.forEach(((t,n)=>e.push([n,t]))),e.sort(((e,t)=>-(e[1].touch-t[1].touch))).forEach(((e,t)=>e[1].touch=t)),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(const[t,n]of e)n.type="number"==typeof n.type?n.type:pt.gX.fromString(n.type),this._trie.set(t,n)}}}],["recentlyUsed",class extends bt{constructor(){super("recentlyUsed"),this._cache=new ht.z6(300,.66),this._seq=0}memorize(e,t,n){const i=`${e.getLanguageId()}/${n.textLabel}`;this._cache.set(i,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})}select(e,t,n){if(0===n.length)return 0;const i=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(i))return super.select(e,t,n);let o=n[0].score[0],r=-1,a=-1;for(let t=0;t<n.length&&n[t].score[0]===o;t++){const i=`${e.getLanguageId()}/${n[t].textLabel}`,o=this._cache.peek(i);if(o&&o.touch>a&&o.type===n[t].completion.kind&&o.insertText===n[t].completion.insertText&&(a=o.touch,r=t),n[t].completion.preselect)return t}return-1!==r?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();for(const[t,n]of e)n.touch=0,n.type="number"==typeof n.type?n.type:pt.gX.fromString(n.type),this._cache.set(t,n);this._seq=this._cache.size}}],["first",_t]]),yt._storagePrefix="suggest/memories",yt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([vt(0,mt.Uy),vt(1,ft.Ui)],yt);const At=(0,Oe.yh)("ISuggestMemories");(0,gt.z)(At,yt,!0);let wt=class e{constructor(t,n){this._editor=t,this._enabled=!1,this._ckAtEnd=e.AtEnd.bindTo(n),this._configListener=this._editor.onDidChangeConfiguration((e=>e.hasChanged(111)&&this._update())),this._update()}dispose(){var e;this._configListener.dispose(),null===(e=this._selectionListener)||void 0===e||e.dispose(),this._ckAtEnd.reset()}_update(){const e="on"===this._editor.getOption(111);if(this._enabled!==e)if(this._enabled=e,this._enabled){const e=()=>{if(!this._editor.hasModel())return void this._ckAtEnd.set(!1);const e=this._editor.getModel(),t=this._editor.getSelection(),n=e.getWordAtPosition(t.getStartPosition());n?this._ckAtEnd.set(n.endColumn===t.getStartPosition().column):this._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(e),e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};var Ct;wt.AtEnd=new z.uy("atEndOfWord",!1),wt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([(1,Ct=z.i6,function(e,t){Ct(e,t,1)})],wt);let xt=class e{constructor(t,n){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}dispose(){this.reset()}reset(){var e;this._ckOtherSuggestions.reset(),null===(e=this._listener)||void 0===e||e.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:t,index:n},i){0!==t.items.length&&e._moveIndex(!0,t,n)!==n?(this._acceptNext=i,this._model=t,this._index=n,this._listener=this._editor.onDidChangeCursorPosition((()=>{this._ignore||this.reset()})),this._ckOtherSuggestions.set(!0)):this.reset()}static _moveIndex(e,t,n){let i=n;for(;i=(i+t.items.length+(e?1:-1))%t.items.length,i!==n&&t.items[i].completion.additionalTextEdits;);return i}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};xt.OtherSuggestions=new z.uy("hasOtherSuggestions",!1),xt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,1)}}(0,z.i6)],xt);var St=i(7595);class Et{constructor(e,t,n){this._disposables=new u.SL,this._disposables.add(t.onDidShow((()=>this._onItem(t.getFocusedItem())))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType((i=>{if(this._active&&!t.isFrozen()){const t=i.charCodeAt(i.length-1);this._active.acceptCharacters.has(t)&&e.getOption(0)&&n(this._active.item)}})))}_onItem(e){if(!e||!(0,r.Of)(e.item.completion.commitCharacters))return void this.reset();if(this._active&&this._active.item.item===e.item)return;const t=new St.q;for(const n of e.item.completion.commitCharacters)n.length>0&&t.add(n.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}var kt=i(5206),Mt=i(5653);class Dt{provideSelectionRanges(e,t){return n=this,void 0,o=function*(){const n=[];for(const i of t){const t=[];n.push(t);const o=new Map;yield new Promise((t=>Dt._bracketsRightYield(t,0,e,i,o))),yield new Promise((n=>Dt._bracketsLeftYield(n,0,e,i,o,t)))}return n},new((i=void 0)||(i=Promise))((function(e,t){function r(e){try{s(o.next(e))}catch(e){t(e)}}function a(e){try{s(o.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(r,a)}s((o=o.apply(n,[])).next())}));var n,i,o}static _bracketsRightYield(e,t,n,i,o){const r=new Map,a=Date.now();for(;;){if(t>=Dt._maxRounds){e();break}if(!i){e();break}let s=n.bracketPairs.findNextBracket(i);if(!s){e();break}if(Date.now()-a>Dt._maxDuration){setTimeout((()=>Dt._bracketsRightYield(e,t+1,n,i,o)));break}const l=s.close[0];if(s.isOpen){let e=r.has(l)?r.get(l):0;r.set(l,e+1)}else{let e=r.has(l)?r.get(l):0;if(e-=1,r.set(l,Math.max(0,e)),e<0){let e=o.get(l);e||(e=new Mt.S,o.set(l,e)),e.push(s.range)}}i=s.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,i,o,r){const a=new Map,s=Date.now();for(;;){if(t>=Dt._maxRounds&&0===o.size){e();break}if(!i){e();break}let l=n.bracketPairs.findPrevBracket(i);if(!l){e();break}if(Date.now()-s>Dt._maxDuration){setTimeout((()=>Dt._bracketsLeftYield(e,t+1,n,i,o,r)));break}const c=l.close[0];if(l.isOpen){let e=a.has(c)?a.get(c):0;if(e-=1,a.set(c,Math.max(0,e)),e<0){let e=o.get(c);if(e){let t=e.shift();0===e.size&&o.delete(c);const i=_.e.fromPositions(l.range.getEndPosition(),t.getStartPosition()),a=_.e.fromPositions(l.range.getStartPosition(),t.getEndPosition());r.push({range:i}),r.push({range:a}),Dt._addBracketLeading(n,a,r)}}}else{let e=a.has(c)?a.get(c):0;a.set(c,e+1)}i=l.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;const i=t.startLineNumber,o=e.getLineFirstNonWhitespaceColumn(i);0!==o&&o!==t.startColumn&&(n.push({range:_.e.fromPositions(new b.L(i,o),t.getEndPosition())}),n.push({range:_.e.fromPositions(new b.L(i,1),t.getEndPosition())}));const r=i-1;if(r>0){const i=e.getLineFirstNonWhitespaceColumn(r);i===t.startColumn&&i!==e.getLineLastNonWhitespaceColumn(r)&&(n.push({range:_.e.fromPositions(new b.L(r,i),t.getEndPosition())}),n.push({range:_.e.fromPositions(new b.L(r,1),t.getEndPosition())}))}}}Dt._maxDuration=30,Dt._maxRounds=2;class Nt{static create(e,t){return n=this,void 0,o=function*(){if(!t.getOption(106).localityBonus)return Nt.None;if(!t.hasModel())return Nt.None;const n=t.getModel(),i=t.getPosition();if(!e.canComputeWordRanges(n.uri))return Nt.None;const[o]=yield(new Dt).provideSelectionRanges(n,[i]);if(0===o.length)return Nt.None;const a=yield e.computeWordRanges(n.uri,o[0].range);if(!a)return Nt.None;const s=n.getWordUntilPosition(i);return delete a[s.word],new class extends Nt{distance(e,n){if(!i.equals(t.getPosition()))return 0;if(17===n.kind)return 2<<20;let s="string"==typeof n.label?n.label:n.label.label,l=a[s];if((0,r.XY)(l))return 2<<20;let c=(0,r.ry)(l,_.e.fromPositions(e),_.e.compareRangesUsingStarts),d=c>=0?l[c]:l[Math.max(0,~c-1)],u=o.length;for(const e of o){if(!_.e.containsRange(e.range,d))break;u-=1}return u}}},new((i=void 0)||(i=Promise))((function(e,t){function r(e){try{s(o.next(e))}catch(e){t(e)}}function a(e){try{s(o.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(r,a)}s((o=o.apply(n,[])).next())}));var n,i,o}}Nt.None=new class extends Nt{distance(){return 0}};var It=i(6029),Tt=i(5314);class Lt{constructor(e,t,n,i,o,r,a){this.clipboardText=a,this._snippetCompareFn=Lt._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=i,this._options=o,this._refilterKind=1,this._lineContext=n,"top"===r?this._snippetCompareFn=Lt._compareCompletionItemsSnippetsUp:"bottom"===r&&(this._snippetCompareFn=Lt._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}get allProvider(){return this._ensureCachedState(),this._providerInfo.keys()}get incomplete(){this._ensureCachedState();const e=new Set;for(let[t,n]of this._providerInfo)n&&e.add(t);return e}adopt(e){let t=[];for(let n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._providerInfo=new Map;const e=[],{leadingLineContent:t,characterCountDelta:n}=this._lineContext;let i="",o="";const a=1===this._refilterKind?this._items:this._filteredItems,s=[],l=!this._options.filterGraceful||a.length>2e3?w.EW:w.l7;for(let r=0;r<a.length;r++){const c=a[r];if(c.isInvalid)continue;this._providerInfo.set(c.provider,Boolean(c.container.incomplete));const d=c.position.column-c.editStart.column,u=d+n-(c.position.column-this._column);if(i.length!==u&&(i=0===u?"":t.slice(-u),o=i.toLowerCase()),c.word=i,0===u)c.score=w.CL.Default;else{let e=0;for(;e<d;){const t=i.charCodeAt(e);if(32!==t&&9!==t)break;e+=1}if(e>=u)c.score=w.CL.Default;else if("string"==typeof c.completion.filterText){let t=l(i,o,e,c.completion.filterText,c.filterTextLow,0,!1);if(!t)continue;0===(0,Fe.zY)(c.completion.filterText,c.textLabel)?c.score=t:(c.score=(0,w.jB)(i,o,e,c.textLabel,c.labelLow,0),c.score[0]=t[0])}else{let t=l(i,o,e,c.textLabel,c.labelLow,0,!1);if(!t)continue;c.score=t}}c.idx=r,c.distance=this._wordDistance.distance(c.position,c.completion),s.push(c),e.push(c.textLabel.length)}this._filteredItems=s.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?(0,r.HW)(e.length-.85,e,((e,t)=>e-t)):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return Lt._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return Lt._compareCompletionItems(e,t)}}var Bt=function(e,t){return function(n,i){t(n,i,e)}};class Ot{constructor(e,t,n,i){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=n,this.shy=i}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);const i=t.getWordAtPosition(n);return!!i&&i.endColumn===n.column&&!!isNaN(Number(i.word))}}let Pt=class e{constructor(e,t,n,i,o,r,s,l){this._editor=e,this._editorWorkerService=t,this._clipboardService=n,this._telemetryService=i,this._logService=o,this._contextKeyService=r,this._configurationService=s,this._languageFeaturesService=l,this._toDispose=new u.SL,this._quickSuggestDelay=10,this._triggerCharacterListener=new u.SL,this._triggerQuickSuggest=new a._F,this._state=0,this._completionDisposables=new u.SL,this._onDidCancel=new c.Q5,this._onDidTrigger=new c.Q5,this._onDidSuggest=new c.Q5,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new A.Y(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel((()=>{this._updateTriggerCharacters(),this.cancel()}))),this._toDispose.add(this._editor.onDidChangeModelLanguage((()=>{this._updateTriggerCharacters(),this.cancel()}))),this._toDispose.add(this._editor.onDidChangeConfiguration((()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()}))),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange((()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})));let d=!1;this._toDispose.add(this._editor.onDidCompositionStart((()=>{d=!0}))),this._toDispose.add(this._editor.onDidCompositionEnd((()=>{d=!1,this._onCompositionEnd()}))),this._toDispose.add(this._editor.onDidChangeCursorSelection((e=>{d||this._onCursorChange(e)}))),this._toDispose.add(this._editor.onDidChangeModelContent((()=>{d||this._refilterCompletionItems()}))),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){(0,u.B9)(this._triggerCharacterListener),(0,u.B9)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(80),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(81)||!this._editor.hasModel()||!this._editor.getOption(109))return;const e=new Map;for(const t of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const n of t.triggerCharacters||[]){let i=e.get(n);i||(i=new Set,i.add(void 0),e.set(n,i)),i.add(t)}const t=t=>{if(!function(e,t,n){if(!Boolean(t.getContextKeyValue("inlineSuggestionVisible")))return!0;const i=n.getValue("editor.inlineSuggest.allowSuggestOnTriggerCharacters");return void 0!==i&&Boolean(i)}(this._editor,this._contextKeyService,this._configurationService))return;if(Ot.shouldAutoTrigger(this._editor))return;if(!t){const e=this._editor.getPosition();t=this._editor.getModel().getLineContent(e.lineNumber).substr(0,e.column-1)}let n="";(0,Fe.YK)(t.charCodeAt(t.length-1))?(0,Fe.ZG)(t.charCodeAt(t.length-2))&&(n=t.substr(t.length-2)):n=t.charAt(t.length-1);const i=e.get(n);if(i){const e=this._completionModel?{items:this._completionModel.adopt(i),clipboardText:this._completionModel.clipboardText}:void 0;this.trigger({auto:!0,shy:!1,triggerCharacter:n},Boolean(this._completionModel),i,e)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd((()=>t())))}get state(){return this._state}cancel(e=!1){var t;0!==this._state&&(this._triggerQuickSuggest.cancel(),null===(t=this._requestToken)||void 0===t||t.cancel(),this._requestToken=void 0,this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;const t=this._currentSelection;this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason&&3!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source?this.cancel():0===this._state&&0===e.reason?(t.containsRange(this._currentSelection)||t.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():0!==this._state&&3===e.reason&&this._refilterCompletionItems()}_onCompositionEnd(){0===this._state?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var e;!1!==this._editor.getOption(79)&&(this._editor.getOption(106).snippetsPreventQuickSuggestions&&(null===(e=dt.get(this._editor))||void 0===e?void 0:e.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet((()=>{if(0!==this._state)return;if(!Ot.shouldAutoTrigger(this._editor))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=this._editor.getOption(79);if(!1!==n){if(!0===n);else{e.tokenizeIfCheap(t.lineNumber);const i=e.getLineTokens(t.lineNumber),o=i.getStandardTokenType(i.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if(!(n.other&&0===o||n.comments&&1===o||n.strings&&2===o))return}(function(e,t,n){if(!Boolean(t.getContextKeyValue("inlineSuggestionVisible")))return!0;const i=n.getValue("editor.inlineSuggest.allowQuickSuggestions");return void 0!==i&&Boolean(i)})(this._editor,this._contextKeyService,this._configurationService)&&this._languageFeaturesService.completionProvider.has(e)&&this.trigger({auto:!0,shy:!1})}}),this._quickSuggestDelay)))}_refilterCompletionItems(){Promise.resolve().then((()=>{if(0===this._state)return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=new Ot(e,t,2===this._state,!1);this._onNewContext(n)}))}trigger(t,n=!1,i,o){var r;if(!this._editor.hasModel())return;const a=this._editor.getModel(),c=t.auto,d=new Ot(a,this._editor.getPosition(),c,t.shy);this.cancel(n),this._state=c?2:1,this._onDidTrigger.fire({auto:c,shy:t.shy,position:this._editor.getPosition()}),this._context=d;let u={triggerKind:null!==(r=t.triggerKind)&&void 0!==r?r:0};t.triggerCharacter&&(u={triggerKind:1,triggerCharacter:t.triggerCharacter}),this._requestToken=new s.A;const h=this._editor.getOption(101);let p=1;switch(h){case"top":p=0;break;case"bottom":p=2}const{itemKind:f,showDeprecated:g}=e._createSuggestFilter(this._editor),m=Nt.create(this._editorWorkerService,this._editor),v=Me(this._languageFeaturesService.completionProvider,a,this._editor.getPosition(),new Ee(p,f,i,g),u,this._requestToken.token);Promise.all([v,m]).then((([e,n])=>{return i=this,void 0,a=function*(){var i;if(null===(i=this._requestToken)||void 0===i||i.dispose(),!this._editor.hasModel())return;let r=null==o?void 0:o.clipboardText;if(!r&&e.needsClipboard&&(r=yield this._clipboardService.readText()),0===this._state)return;const a=this._editor.getModel();let s=e.items;if(o){const e=Ie(p);s=s.concat(o.items).sort(e)}const l=new Ot(a,this._editor.getPosition(),c,t.shy);this._completionModel=new Lt(s,this._context.column,{leadingLineContent:l.leadingLineContent,characterCountDelta:l.column-this._context.column},n,this._editor.getOption(106),this._editor.getOption(101),r),this._completionDisposables.add(e.disposable),this._onNewContext(l),this._reportDurationsTelemetry(e.durations)},new((r=void 0)||(r=Promise))((function(e,t){function n(e){try{s(a.next(e))}catch(e){t(e)}}function o(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof r?i:new r((function(e){e(i)}))).then(n,o)}s((a=a.apply(i,[])).next())}));var i,r,a})).catch(l.dL)}_reportDurationsTelemetry(e){this._telemetryGate++%230==0&&setTimeout((()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(e)}),this._logService.debug("suggest.durations.json",e)}))}static _createSuggestFilter(e){const t=new Set;"none"===e.getOption(101)&&t.add(27);const n=e.getOption(106);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),{itemKind:t,showDeprecated:n.showDeprecated}}_onNewContext(e){if(this._context)if(e.lineNumber===this._context.lineNumber)if((0,Fe.V8)(e.leadingLineContent)===(0,Fe.V8)(this._context.leadingLineContent)){if(e.column<this._context.column)e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(0!==e.leadingWord.word.length&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){const e=new Set(this._languageFeaturesService.completionProvider.all(this._editor.getModel()));for(let t of this._completionModel.allProvider)e.delete(t);const t=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){const{incomplete:e}=this._completionModel,t=this._completionModel.adopt(e);this.trigger({auto:2===this._state,shy:!1,triggerKind:2},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else{let t=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(Ot.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=t,n=this._completionModel.items.length>0,n&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}else this.cancel();else this.cancel()}};Pt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Bt(1,kt.p),Bt(2,It.p),Bt(3,Tt.b),Bt(4,Pe.VZ),Bt(5,z.i6),Bt(6,ft.Ui),Bt(7,V.p)],Pt);class Ft{constructor(e,t){this._disposables=new u.SL,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType((()=>{if(!this._empty)return;if(!e.hasModel())return;const t=e.getSelections(),n=t.length;let i=!1;for(let e=0;e<n;e++)if(!t[e].isEmpty()){i=!0;break}if(!i)return;this._lastOvertyped=[];const o=e.getModel();for(let e=0;e<n;e++){const n=t[e];if(o.getValueLengthInRange(n)>Ft._maxSelectionLength)return;this._lastOvertyped[e]={value:o.getValueInRange(n),multiline:n.startLineNumber!==n.endLineNumber}}this._empty=!1}))),this._disposables.add(t.onDidCancel((e=>{this._empty||e.retrigger||(this._empty=!0)})))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}Ft._maxSelectionLength=51200,i(1862);var Rt=i(6165),jt=i(2669),zt=i(9416);K()(zt.Z,{insert:"head",singleton:!1}),zt.Z.locals;var Vt=i(5440),Wt=i(4975),Ht=i(5484),Ut=i(655),Qt=i(2109),Gt=i(718),Kt=function(e,t){return function(n,i){t(n,i,e)}};let Yt=class extends Ht.Gm{constructor(e,t,n,i,o,r,a,s,l,c,d,u){super(e,Object.assign(Object.assign({},n.getRawOptions()),{overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()}),{},i,o,r,a,s,l,c,d,u),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration((e=>this._onParentConfigurationChanged(e))))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){Vt.jB(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};Yt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Kt(3,Oe.TG),Kt(4,Wt.$),Kt(5,j.Hy),Kt(6,z.i6),Kt(7,Qt.XE),Kt(8,Ut.lT),Kt(9,Gt.F),Kt(10,Je.c_),Kt(11,V.p)],Yt);var $t=i(9602),Jt=i(7560),qt=i(2823),Zt=i(6845),Xt=i(913),en=i(3879);K()(en.Z,{insert:"head",singleton:!1}),en.Z.locals;class tn extends Xt.Wi{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new c.Q5),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,W.R3)(e,(0,W.$)(".monaco-dropdown")),this._label=(0,W.R3)(this._element,(0,W.$)(".dropdown-label"));let n=t.labelRenderer;n||(n=e=>(e.textContent=t.label||"",null));for(const e of[W.tw.CLICK,W.tw.MOUSE_DOWN,Zt.t.Tap])this._register((0,W.nm)(this.element,e,(e=>W.zB.stop(e,!0))));for(const e of[W.tw.MOUSE_DOWN,Zt.t.Tap])this._register((0,W.nm)(this._label,e,(e=>{e instanceof MouseEvent&&e.detail>1||(this.visible?this.hide():this.show())})));this._register((0,W.nm)(this._label,W.tw.KEY_UP,(e=>{const t=new Jt.y(e);(t.equals(3)||t.equals(10))&&(W.zB.stop(e,!0),this.visible?this.hide():this.show())})));const i=n(this._label);i&&this._register(i),this._register(Zt.o.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class nn extends tn{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}class on extends qt.Y{constructor(e,t,n,i=Object.create(null)){super(null,e,i),this.actionItem=null,this._onDidChangeVisibility=this._register(new c.Q5),this.menuActionsOrProvider=t,this.contextMenuProvider=n,this.options=i,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;const t=Array.isArray(this.menuActionsOrProvider),n={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=(0,W.R3)(e,(0,W.$)("a.action-label"));let t=[];return"string"==typeof this.options.classNames?t=this.options.classNames.split(/\s+/g).filter((e=>!!e)):this.options.classNames&&(t=this.options.classNames),t.find((e=>"icon"===e))||t.push("codicon"),this.element.classList.add(...t),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new nn(e,n)),this._register(this.dropdownMenu.onDidChangeVisibility((e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",`${e}`),this._onDidChangeVisibility.fire(e)}))),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}this.updateEnabled()}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}updateEnabled(){var e,t;const n=!this.getAction().enabled;null===(e=this.actionItem)||void 0===e||e.classList.toggle("disabled",n),null===(t=this.element)||void 0===t||t.classList.toggle("disabled",n)}}var rn=i(3374),an=i(6044);K()(an.Z,{insert:"head",singleton:!1}),an.Z.locals;var sn=i(1801),ln=i(6777),cn=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},dn=function(e,t){return function(n,i){t(n,i,e)}},un=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};let hn=class extends qt.g{constructor(e,t,n,i,o){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable}),this._keybindingService=n,this._notificationService=i,this._contextKeyService=o,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new u.XK),this._altKey=W._q.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(e){return un(this,void 0,void 0,(function*(){e.preventDefault(),e.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(e){this._notificationService.error(e)}}))}render(e){super.render(e),e.classList.add("menu-entry"),this._updateItemClass(this._menuItemAction.item);let t=!1,n=this._altKey.keyStatus.altKey||(h.ED||h.IJ)&&this._altKey.keyStatus.shiftKey;const i=()=>{const e=t&&n;e!==this._wantsAltCommand&&(this._wantsAltCommand=e,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event((e=>{n=e.altKey||(h.ED||h.IJ)&&e.shiftKey,i()}))),this._register((0,W.nm)(e,"mouseleave",(e=>{t=!1,i()}))),this._register((0,W.nm)(e,"mouseenter",(e=>{t=!0,i()})))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const e=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),t=e&&e.getLabel(),n=this._commandAction.tooltip||this._commandAction.label;let i=t?(0,F.N)("titleAndKb","{0} ({1})",n,t):n;if(!this._wantsAltCommand&&this._menuItemAction.alt){const e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,t=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),n=t&&t.getLabel(),o=n?(0,F.N)("titleAndKb","{0} ({1})",e,n):e;i+=`\n[${rn.xo.modifierLabels[h.OS].altKey}] ${o}`}this.label.title=i}}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){var t;this._itemClassDispose.value=void 0;const{element:n,label:i}=this;if(!n||!i)return;const o=this._commandAction.checked&&(null===(t=e.toggled)||void 0===t?void 0:t.icon)?e.toggled.icon:e.icon;if(o)if(Qt.kS.isThemeIcon(o)){const e=Qt.kS.asClassNameArray(o);i.classList.add(...e),this._itemClassDispose.value=(0,u.OF)((()=>{i.classList.remove(...e)}))}else o.light&&i.style.setProperty("--menu-entry-icon-light",(0,W.wY)(o.light)),o.dark&&i.style.setProperty("--menu-entry-icon-dark",(0,W.wY)(o.dark)),i.classList.add("icon"),this._itemClassDispose.value=(0,u.OF)((()=>{i.classList.remove("icon"),i.style.removeProperty("--menu-entry-icon-light"),i.style.removeProperty("--menu-entry-icon-dark")}))}};hn=cn([dn(2,ln.d),dn(3,Ut.lT),dn(4,z.i6)],hn);let pn=class extends on{constructor(e,t,n){var i,o;const r=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null!==(i=null==t?void 0:t.menuAsChild)&&void 0!==i&&i,classNames:null!==(o=null==t?void 0:t.classNames)&&void 0!==o?o:Qt.kS.isThemeIcon(e.item.icon)?Qt.kS.asClassName(e.item.icon):void 0});super(e,{getActions:()=>e.actions},n,r)}render(e){if(super.render(e),this.element){e.classList.add("menu-entry");const{icon:t}=this._action.item;t&&!Qt.kS.isThemeIcon(t)&&(this.element.classList.add("icon"),t.light&&this.element.style.setProperty("--menu-entry-icon-light",(0,W.wY)(t.light)),t.dark&&this.element.style.setProperty("--menu-entry-icon-dark",(0,W.wY)(t.dark)))}}};pn=cn([dn(2,sn.i)],pn);let fn=class extends qt.Y{constructor(e,t,n,i,o,r,a,s){var l,c,d;let u;super(null,e),this._keybindingService=n,this._notificationService=i,this._contextMenuService=o,this._menuService=r,this._instaService=a,this._storageService=s,this._container=null,this._storageKey=`${e.item.submenu._debugName}_lastActionId`;let h=s.get(this._storageKey,1);h&&(u=e.actions.find((e=>h===e.id))),u||(u=e.actions[0]),this._defaultAction=this._instaService.createInstance(hn,u,void 0);const p=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null===(l=null==t?void 0:t.menuAsChild)||void 0===l||l,classNames:null!==(c=null==t?void 0:t.classNames)&&void 0!==c?c:["codicon","codicon-chevron-down"],actionRunner:null!==(d=null==t?void 0:t.actionRunner)&&void 0!==d?d:new Xt.Wi});this._dropdown=new on(e,e.actions,this._contextMenuService,p),this._dropdown.actionRunner.onDidRun((e=>{e.action instanceof R.U8&&this.update(e.action)}))}update(e){this._storageService.store(this._storageKey,e.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(hn,e,void 0),this._defaultAction.actionRunner=new class extends Xt.Wi{runAction(e,t){return un(this,void 0,void 0,(function*(){yield e.run(void 0)}))}},this._container&&this._defaultAction.render((0,W.Ce)(this._container,(0,W.$)(".action-container")))}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const t=(0,W.$)(".action-container");this._defaultAction.render((0,W.R3)(this._container,t)),this._register((0,W.nm)(t,W.tw.KEY_DOWN,(e=>{const t=new Jt.y(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())})));const n=(0,W.$)(".dropdown-action-container");this._dropdown.render((0,W.R3)(this._container,n)),this._register((0,W.nm)(n,W.tw.KEY_DOWN,(e=>{var t;const n=new Jt.y(e);n.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null===(t=this._defaultAction.element)||void 0===t||t.focus(),n.stopPropagation())})))}focus(e){e?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};fn=cn([dn(2,ln.d),dn(3,Ut.lT),dn(4,sn.i),dn(5,R.co),dn(6,Oe.TG),dn(7,mt.Uy)],fn);var gn=function(e,t){return function(n,i){t(n,i,e)}};class mn extends hn{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();this.label&&(this.label.textContent=(0,F.N)("ddd","{0} ({1})",this._action.label,mn.symbolPrintEnter(e)))}static symbolPrintEnter(e){var t;return null===(t=e.getLabel())||void 0===t?void 0:t.replace(/\benter\b/gi,"โŽ")}}let vn=class{constructor(e,t,n,i){this._menuService=n,this._contextKeyService=i,this._menuDisposables=new u.SL,this.element=W.R3(e,W.$(".suggest-status-bar"));const o=e=>e instanceof R.U8?t.createInstance(mn,e,void 0):void 0;this._leftActions=new $t.o(this.element,{actionViewItemProvider:o}),this._rightActions=new $t.o(this.element,{actionViewItemProvider:o}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const e=this._menuService.createMenu(xe,this._contextKeyService),t=()=>{const t=[],n=[];for(let[i,o]of e.getActions())"left"===i?t.push(...o):n.push(...o);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(n)};this._menuDisposables.add(e.onDidChange((()=>t()))),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};vn=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([gn(1,Oe.TG),gn(2,R.co),gn(3,z.i6)],vn);var bn=i(3770);const _n=(0,bn.P6G)("symbolIcon.arrayForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),yn=(0,bn.P6G)("symbolIcon.booleanForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),An=(0,bn.P6G)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},(0,F.N)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),wn=(0,bn.P6G)("symbolIcon.colorForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Cn=(0,bn.P6G)("symbolIcon.constantForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),xn=(0,bn.P6G)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},(0,F.N)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Sn=(0,bn.P6G)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},(0,F.N)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),En=(0,bn.P6G)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},(0,F.N)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),kn=(0,bn.P6G)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},(0,F.N)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Mn=(0,bn.P6G)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},(0,F.N)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Dn=(0,bn.P6G)("symbolIcon.fileForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Nn=(0,bn.P6G)("symbolIcon.folderForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),In=(0,bn.P6G)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},(0,F.N)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Tn=(0,bn.P6G)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},(0,F.N)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ln=(0,bn.P6G)("symbolIcon.keyForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Bn=(0,bn.P6G)("symbolIcon.keywordForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),On=(0,bn.P6G)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},(0,F.N)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pn=(0,bn.P6G)("symbolIcon.moduleForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Fn=(0,bn.P6G)("symbolIcon.namespaceForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Rn=(0,bn.P6G)("symbolIcon.nullForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),jn=(0,bn.P6G)("symbolIcon.numberForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),zn=(0,bn.P6G)("symbolIcon.objectForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Vn=(0,bn.P6G)("symbolIcon.operatorForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Wn=(0,bn.P6G)("symbolIcon.packageForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Hn=(0,bn.P6G)("symbolIcon.propertyForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Un=(0,bn.P6G)("symbolIcon.referenceForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Qn=(0,bn.P6G)("symbolIcon.snippetForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Gn=(0,bn.P6G)("symbolIcon.stringForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Kn=(0,bn.P6G)("symbolIcon.structForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Yn=(0,bn.P6G)("symbolIcon.textForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),$n=(0,bn.P6G)("symbolIcon.typeParameterForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Jn=(0,bn.P6G)("symbolIcon.unitForeground",{dark:bn.dRz,light:bn.dRz,hc:bn.dRz},(0,F.N)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),qn=(0,bn.P6G)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},(0,F.N)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));(0,Qt.Ic)(((e,t)=>{const n=e.getColor(_n);n&&t.addRule(`${U.lA.symbolArray.cssSelector} { color: ${n}; }`);const i=e.getColor(yn);i&&t.addRule(`${U.lA.symbolBoolean.cssSelector} { color: ${i}; }`);const o=e.getColor(An);o&&t.addRule(`${U.lA.symbolClass.cssSelector} { color: ${o}; }`);const r=e.getColor(On);r&&t.addRule(`${U.lA.symbolMethod.cssSelector} { color: ${r}; }`);const a=e.getColor(wn);a&&t.addRule(`${U.lA.symbolColor.cssSelector} { color: ${a}; }`);const s=e.getColor(Cn);s&&t.addRule(`${U.lA.symbolConstant.cssSelector} { color: ${s}; }`);const l=e.getColor(xn);l&&t.addRule(`${U.lA.symbolConstructor.cssSelector} { color: ${l}; }`);const c=e.getColor(Sn);c&&t.addRule(`\n\t\t\t${U.lA.symbolValue.cssSelector},${U.lA.symbolEnum.cssSelector} { color: ${c}; }`);const d=e.getColor(En);d&&t.addRule(`${U.lA.symbolEnumMember.cssSelector} { color: ${d}; }`);const u=e.getColor(kn);u&&t.addRule(`${U.lA.symbolEvent.cssSelector} { color: ${u}; }`);const h=e.getColor(Mn);h&&t.addRule(`${U.lA.symbolField.cssSelector} { color: ${h}; }`);const p=e.getColor(Dn);p&&t.addRule(`${U.lA.symbolFile.cssSelector} { color: ${p}; }`);const f=e.getColor(Nn);f&&t.addRule(`${U.lA.symbolFolder.cssSelector} { color: ${f}; }`);const g=e.getColor(In);g&&t.addRule(`${U.lA.symbolFunction.cssSelector} { color: ${g}; }`);const m=e.getColor(Tn);m&&t.addRule(`${U.lA.symbolInterface.cssSelector} { color: ${m}; }`);const v=e.getColor(Ln);v&&t.addRule(`${U.lA.symbolKey.cssSelector} { color: ${v}; }`);const b=e.getColor(Bn);b&&t.addRule(`${U.lA.symbolKeyword.cssSelector} { color: ${b}; }`);const _=e.getColor(Pn);_&&t.addRule(`${U.lA.symbolModule.cssSelector} { color: ${_}; }`);const y=e.getColor(Fn);y&&t.addRule(`${U.lA.symbolNamespace.cssSelector} { color: ${y}; }`);const A=e.getColor(Rn);A&&t.addRule(`${U.lA.symbolNull.cssSelector} { color: ${A}; }`);const w=e.getColor(jn);w&&t.addRule(`${U.lA.symbolNumber.cssSelector} { color: ${w}; }`);const C=e.getColor(zn);C&&t.addRule(`${U.lA.symbolObject.cssSelector} { color: ${C}; }`);const x=e.getColor(Vn);x&&t.addRule(`${U.lA.symbolOperator.cssSelector} { color: ${x}; }`);const S=e.getColor(Wn);S&&t.addRule(`${U.lA.symbolPackage.cssSelector} { color: ${S}; }`);const E=e.getColor(Hn);E&&t.addRule(`${U.lA.symbolProperty.cssSelector} { color: ${E}; }`);const k=e.getColor(Un);k&&t.addRule(`${U.lA.symbolReference.cssSelector} { color: ${k}; }`);const M=e.getColor(Qn);M&&t.addRule(`${U.lA.symbolSnippet.cssSelector} { color: ${M}; }`);const D=e.getColor(Gn);D&&t.addRule(`${U.lA.symbolString.cssSelector} { color: ${D}; }`);const N=e.getColor(Kn);N&&t.addRule(`${U.lA.symbolStruct.cssSelector} { color: ${N}; }`);const I=e.getColor(Yn);I&&t.addRule(`${U.lA.symbolText.cssSelector} { color: ${I}; }`);const T=e.getColor($n);T&&t.addRule(`${U.lA.symbolTypeParameter.cssSelector} { color: ${T}; }`);const L=e.getColor(Jn);L&&t.addRule(`${U.lA.symbolUnit.cssSelector} { color: ${L}; }`);const B=e.getColor(qn);B&&t.addRule(`${U.lA.symbolVariable.cssSelector} { color: ${B}; }`)}));var Zn=i(5954),Xn=i(3278);class ei{constructor(){let e;this._onDidWillResize=new c.Q5,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new c.Q5,this.onDidResize=this._onDidResize.event,this._sashListener=new u.SL,this._size=new W.Ro(0,0),this._minSize=new W.Ro(0,0),this._maxSize=new W.Ro(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new Xn.g(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new Xn.g(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new Xn.g(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:Xn.l.North}),this._southSash=new Xn.g(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:Xn.l.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let t=0,n=0;this._sashListener.add(c.ju.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)((()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,n=0)}))),this._sashListener.add(c.ju.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)((()=>{void 0!==e&&(e=void 0,t=0,n=0,this._onDidResize.fire({dimension:this._size,done:!0}))}))),this._sashListener.add(this._eastSash.onDidChange((i=>{e&&(n=i.currentX-i.startX,this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))}))),this._sashListener.add(this._westSash.onDidChange((i=>{e&&(n=-(i.currentX-i.startX),this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))}))),this._sashListener.add(this._northSash.onDidChange((i=>{e&&(t=-(i.currentY-i.startY),this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))}))),this._sashListener.add(this._southSash.onDidChange((i=>{e&&(t=i.currentY-i.startY,this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))}))),this._sashListener.add(c.ju.any(this._eastSash.onDidReset,this._westSash.onDidReset)((e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))),this._sashListener.add(c.ju.any(this._northSash.onDidReset,this._southSash.onDidReset)((e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))})))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,n,i){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=n?3:0,this._westSash.state=i?3:0}layout(e=this.size.height,t=this.size.width){const{height:n,width:i}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(n,Math.min(o,e)),t=Math.max(i,Math.min(r,t));const a=new W.Ro(t,e);W.Ro.equals(a,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=a,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}var ti=i(8061),ni=i(3695),ii=i(3056),oi=Object.hasOwnProperty,ri=Object.setPrototypeOf,ai=Object.isFrozen,si=Object.getPrototypeOf,li=Object.getOwnPropertyDescriptor,ci=Object.freeze,di=Object.seal,ui=Object.create,hi="undefined"!=typeof Reflect&&Reflect,pi=hi.apply,fi=hi.construct;pi||(pi=function(e,t,n){return e.apply(t,n)}),ci||(ci=function(e){return e}),di||(di=function(e){return e}),fi||(fi=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var gi,mi=Ei(Array.prototype.forEach),vi=Ei(Array.prototype.pop),bi=Ei(Array.prototype.push),_i=Ei(String.prototype.toLowerCase),yi=Ei(String.prototype.match),Ai=Ei(String.prototype.replace),wi=Ei(String.prototype.indexOf),Ci=Ei(String.prototype.trim),xi=Ei(RegExp.prototype.test),Si=(gi=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return fi(gi,t)});function Ei(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return pi(e,t,i)}}function ki(e,t){ri&&ri(e,null);for(var n=t.length;n--;){var i=t[n];if("string"==typeof i){var o=_i(i);o!==i&&(ai(t)||(t[n]=o),i=o)}e[i]=!0}return e}function Mi(e){var t=ui(null),n=void 0;for(n in e)pi(oi,e,[n])&&(t[n]=e[n]);return t}function Di(e,t){for(;null!==e;){var n=li(e,t);if(n){if(n.get)return Ei(n.get);if("function"==typeof n.value)return Ei(n.value)}e=si(e)}return function(e){return console.warn("fallback value for",e),null}}var Ni=ci(["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"]),Ii=ci(["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"]),Ti=ci(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Li=ci(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Bi=ci(["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"]),Oi=ci(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Pi=ci(["#text"]),Fi=ci(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Ri=ci(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ji=ci(["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"]),zi=ci(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vi=di(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Wi=di(/<%[\s\S]*|[\s\S]*%>/gm),Hi=di(/^data-[\-\w.\u00B7-\uFFFF]/),Ui=di(/^aria-[\-\w]+$/),Qi=di(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Gi=di(/^(?:\w+script|data):/i),Ki=di(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function $i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Ji=function(){return"undefined"==typeof window?null:window},qi=function(e,t){if("object"!==(void 0===e?"undefined":Yi(e))||"function"!=typeof e.createPolicy)return null;var n=null,i="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(i)&&(n=t.currentScript.getAttribute(i));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Zi=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ji(),n=function(t){return e(t)};if(n.version="2.3.1",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,o=t.document,r=t.DocumentFragment,a=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter,d=t.NamedNodeMap,u=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,h=t.Text,p=t.Comment,f=t.DOMParser,g=t.trustedTypes,m=l.prototype,v=Di(m,"cloneNode"),b=Di(m,"nextSibling"),_=Di(m,"childNodes"),y=Di(m,"parentNode");if("function"==typeof a){var A=o.createElement("template");A.content&&A.content.ownerDocument&&(o=A.content.ownerDocument)}var w=qi(g,i),C=w&&te?w.createHTML(""):"",x=o,S=x.implementation,E=x.createNodeIterator,k=x.createDocumentFragment,M=x.getElementsByTagName,D=i.importNode,N={};try{N=Mi(o).documentMode?o.documentMode:{}}catch(e){}var I={};n.isSupported="function"==typeof y&&S&&void 0!==S.createHTMLDocument&&9!==N;var T=Vi,L=Wi,B=Hi,O=Ui,P=Gi,F=Ki,R=Qi,j=null,z=ki({},[].concat($i(Ni),$i(Ii),$i(Ti),$i(Bi),$i(Pi))),V=null,W=ki({},[].concat($i(Fi),$i(Ri),$i(ji),$i(zi))),H=null,U=null,Q=!0,G=!0,K=!1,Y=!1,$=!1,J=!1,q=!1,Z=!1,X=!1,ee=!0,te=!1,ne=!0,ie=!0,oe=!1,re={},ae=null,se=ki({},["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"]),le=null,ce=ki({},["audio","video","img","source","image","track"]),de=null,ue=ki({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xhtml",ge=fe,me=!1,ve=null,be=o.createElement("form"),_e=function(e){ve&&ve===e||(e&&"object"===(void 0===e?"undefined":Yi(e))||(e={}),e=Mi(e),j="ALLOWED_TAGS"in e?ki({},e.ALLOWED_TAGS):z,V="ALLOWED_ATTR"in e?ki({},e.ALLOWED_ATTR):W,de="ADD_URI_SAFE_ATTR"in e?ki(Mi(ue),e.ADD_URI_SAFE_ATTR):ue,le="ADD_DATA_URI_TAGS"in e?ki(Mi(ce),e.ADD_DATA_URI_TAGS):ce,ae="FORBID_CONTENTS"in e?ki({},e.FORBID_CONTENTS):se,H="FORBID_TAGS"in e?ki({},e.FORBID_TAGS):{},U="FORBID_ATTR"in e?ki({},e.FORBID_ATTR):{},re="USE_PROFILES"in e&&e.USE_PROFILES,Q=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,K=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=e.SAFE_FOR_TEMPLATES||!1,$=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,X=e.RETURN_DOM_FRAGMENT||!1,ee=!1!==e.RETURN_DOM_IMPORT,te=e.RETURN_TRUSTED_TYPE||!1,q=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,ie=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||R,ge=e.NAMESPACE||fe,Y&&(G=!1),X&&(Z=!0),re&&(j=ki({},[].concat($i(Pi))),V=[],!0===re.html&&(ki(j,Ni),ki(V,Fi)),!0===re.svg&&(ki(j,Ii),ki(V,Ri),ki(V,zi)),!0===re.svgFilters&&(ki(j,Ti),ki(V,Ri),ki(V,zi)),!0===re.mathMl&&(ki(j,Bi),ki(V,ji),ki(V,zi))),e.ADD_TAGS&&(j===z&&(j=Mi(j)),ki(j,e.ADD_TAGS)),e.ADD_ATTR&&(V===W&&(V=Mi(V)),ki(V,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&ki(de,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(ae===se&&(ae=Mi(ae)),ki(ae,e.FORBID_CONTENTS)),ie&&(j["#text"]=!0),$&&ki(j,["html","head","body"]),j.table&&(ki(j,["tbody"]),delete H.tbody),ci&&ci(e),ve=e)},ye=ki({},["mi","mo","mn","ms","mtext"]),Ae=ki({},["foreignobject","desc","title","annotation-xml"]),we=ki({},Ii);ki(we,Ti),ki(we,Li);var Ce=ki({},Bi);ki(Ce,Oi);var xe=function(e){var t=y(e);t&&t.tagName||(t={namespaceURI:fe,tagName:"template"});var n=_i(e.tagName),i=_i(t.tagName);if(e.namespaceURI===pe)return t.namespaceURI===fe?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===i||ye[i]):Boolean(we[n]);if(e.namespaceURI===he)return t.namespaceURI===fe?"math"===n:t.namespaceURI===pe?"math"===n&&Ae[i]:Boolean(Ce[n]);if(e.namespaceURI===fe){if(t.namespaceURI===pe&&!Ae[i])return!1;if(t.namespaceURI===he&&!ye[i])return!1;var o=ki({},["title","style","font","a","script"]);return!Ce[n]&&(o[n]||!we[n])}return!1},Se=function(e){bi(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=C}catch(t){e.remove()}}},Ee=function(e,t){try{bi(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){bi(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!V[e])if(Z||X)try{Se(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ke=function(e){var t=void 0,n=void 0;if(q)e="<remove></remove>"+e;else{var i=yi(e,/^[\r\n\t ]+/);n=i&&i[0]}var r=w?w.createHTML(e):e;if(ge===fe)try{t=(new f).parseFromString(r,"text/html")}catch(e){}if(!t||!t.documentElement){t=S.createDocument(ge,"template",null);try{t.documentElement.innerHTML=me?"":r}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),ge===fe?M.call(t,$?"html":"body")[0]:$?t.documentElement:a},Me=function(e){return E.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},De=function(e){return!(e instanceof h||e instanceof p||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof u&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},Ne=function(e){return"object"===(void 0===s?"undefined":Yi(s))?e instanceof s:e&&"object"===(void 0===e?"undefined":Yi(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ie=function(e,t,i){I[e]&&mi(I[e],(function(e){e.call(n,t,i,ve)}))},Te=function(e){var t=void 0;if(Ie("beforeSanitizeElements",e,null),De(e))return Se(e),!0;if(yi(e.nodeName,/[\u0080-\uFFFF]/))return Se(e),!0;var i=_i(e.nodeName);if(Ie("uponSanitizeElement",e,{tagName:i,allowedTags:j}),!Ne(e.firstElementChild)&&(!Ne(e.content)||!Ne(e.content.firstElementChild))&&xi(/<[/\w]/g,e.innerHTML)&&xi(/<[/\w]/g,e.textContent))return Se(e),!0;if("select"===i&&xi(/<template/i,e.innerHTML))return Se(e),!0;if(!j[i]||H[i]){if(ie&&!ae[i]){var o=y(e)||e.parentNode,r=_(e)||e.childNodes;if(r&&o)for(var a=r.length-1;a>=0;--a)o.insertBefore(v(r[a],!0),b(e))}return Se(e),!0}return e instanceof l&&!xe(e)?(Se(e),!0):"noscript"!==i&&"noembed"!==i||!xi(/<\/no(script|embed)/i,e.innerHTML)?(Y&&3===e.nodeType&&(t=e.textContent,t=Ai(t,T," "),t=Ai(t,L," "),e.textContent!==t&&(bi(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ie("afterSanitizeElements",e,null),!1):(Se(e),!0)},Le=function(e,t,n){if(ne&&("id"===t||"name"===t)&&(n in o||n in be))return!1;if(G&&!U[t]&&xi(B,t));else if(Q&&xi(O,t));else{if(!V[t]||U[t])return!1;if(de[t]);else if(xi(R,Ai(n,F,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==wi(n,"data:")||!le[e])if(K&&!xi(P,Ai(n,F,"")));else if(n)return!1}return!0},Be=function(e){var t=void 0,i=void 0,o=void 0,r=void 0;Ie("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V};for(r=a.length;r--;){var l=t=a[r],c=l.name,d=l.namespaceURI;if(i=Ci(t.value),o=_i(c),s.attrName=o,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,Ie("uponSanitizeAttribute",e,s),i=s.attrValue,!s.forceKeepAttr&&(Ee(c,e),s.keepAttr))if(xi(/\/>/i,i))Ee(c,e);else{Y&&(i=Ai(i,T," "),i=Ai(i,L," "));var u=e.nodeName.toLowerCase();if(Le(u,o,i))try{d?e.setAttributeNS(d,c,i):e.setAttribute(c,i),vi(n.removed)}catch(e){}}}Ie("afterSanitizeAttributes",e,null)}},Oe=function e(t){var n=void 0,i=Me(t);for(Ie("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)Ie("uponSanitizeShadowNode",n,null),Te(n)||(n.content instanceof r&&e(n.content),Be(n));Ie("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var a=void 0,l=void 0,c=void 0,d=void 0,u=void 0;if((me=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ne(e)){if("function"!=typeof e.toString)throw Si("toString is not a function");if("string"!=typeof(e=e.toString()))throw Si("dirty is not a string, aborting")}if(!n.isSupported){if("object"===Yi(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Ne(e))return t.toStaticHTML(e.outerHTML)}return e}if(J||_e(o),n.removed=[],"string"==typeof e&&(oe=!1),oe);else if(e instanceof s)1===(l=(a=ke("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?a=l:a.appendChild(l);else{if(!Z&&!Y&&!$&&-1===e.indexOf("<"))return w&&te?w.createHTML(e):e;if(!(a=ke(e)))return Z?null:C}a&&q&&Se(a.firstChild);for(var h=Me(oe?e:a);c=h.nextNode();)3===c.nodeType&&c===d||Te(c)||(c.content instanceof r&&Oe(c.content),Be(c),d=c);if(d=null,oe)return e;if(Z){if(X)for(u=k.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return ee&&(u=D.call(i,u,!0)),u}var p=$?a.outerHTML:a.innerHTML;return Y&&(p=Ai(p,T," "),p=Ai(p,L," ")),w&&te?w.createHTML(p):p},n.setConfig=function(e){_e(e),J=!0},n.clearConfig=function(){ve=null,J=!1},n.isValidAttribute=function(e,t,n){ve||_e({});var i=_i(e),o=_i(t);return Le(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(I[e]=I[e]||[],bi(I[e],t))},n.removeHook=function(e){I[e]&&vi(I[e])},n.removeHooks=function(e){I[e]&&(I[e]=[])},n.removeAllHooks=function(){I={}},n}();Zi.version,Zi.isSupported;const Xi=Zi.sanitize,eo=(Zi.setConfig,Zi.clearConfig,Zi.isValidAttribute,Zi.addHook),to=Zi.removeHook;Zi.removeHooks,Zi.removeAllHooks;var no=i(9291),io=i(3973),oo=i(6237),ro=i(2957),ao=i(7154),so=i(7768);let lo={};!function(){var e;e=function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function n(e,n){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,n){if(e){if("string"==typeof e)return t(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){i&&(e=i);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};var o=/[&<>"']/,r=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=function(e){return l[e]};function d(e,t){if(t){if(o.test(e))return e.replace(r,c)}else if(a.test(e))return e.replace(s,c);return e}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(u,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var p=/(^|[^\[])\^/g;function f(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(p,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n}var g=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(e,t,n){if(e){var i;try{i=decodeURIComponent(h(n)).replace(g,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!m.test(n)&&(n=function(e,t){b[" "+e]||(_.test(e)?b[" "+e]=e+"/":b[" "+e]=S(e,"/",!0));var n=-1===(e=b[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(y,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(A,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}var b={},_=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,A=/^([^:]+:\/*[^/]*)[\s\S]*$/,w={exec:function(){}};function C(e){for(var t,n,i=1;i<arguments.length;i++)for(n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function x(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var i=!1,o=t;--o>=0&&"\\"===n[o];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n[0].trim()||n.shift(),n[n.length-1].trim()||n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function S(e,t,n){var i=e.length;if(0===i)return"";for(var o=0;o<i;){var r=e.charAt(i-o-1);if(r!==t||n){if(r===t||!n)break;o++}else o++}return e.substr(0,i-o)}function E(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function k(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function M(e,t,n,i){var o=t.href,r=t.title?d(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;var s={type:"link",raw:n,href:o,title:r,text:a,tokens:i.inlineTokens(a,[])};return i.state.inLink=!1,s}return{type:"image",raw:n,href:o,title:r,text:d(a)}}var D=function(){function t(t){this.options=t||e.defaults}var i=t.prototype;return i.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},i.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:S(n,"\n")}}},i.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},i.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var i=S(n,"#");this.options.pedantic?n=i.trim():i&&!/ $/.test(i)||(n=i.trim())}var o={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}},i.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},i.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}},i.list=function(e){var t=this.rules.block.list.exec(e);if(t){var i,o,r,a,s,l,c,d,u,h,p,f,g=t[1].trim(),m=g.length>1,v={type:"list",raw:"",ordered:m,start:m?+g.slice(0,-1):"",loose:!1,items:[]};g=m?"\\d{1,9}\\"+g.slice(-1):"\\"+g,this.options.pedantic&&(g=m?g:"[*+-]");for(var b=new RegExp("^( {0,3}"+g+")((?: [^\\n]*)?(?:\\n|$))");e&&(f=!1,t=b.exec(e))&&!this.rules.block.hr.test(e);){if(i=t[0],e=e.substring(i.length),d=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(a=2,p=d.trimLeft()):(a=(a=t[2].search(/[^ ]/))>4?1:a,p=d.slice(a),a+=t[1].length),l=!1,!d&&/^ *$/.test(u)&&(i+=u+"\n",e=e.substring(u.length+1),f=!0),!f)for(var _=new RegExp("^ {0,"+Math.min(3,a-1)+"}(?:[*+-]|\\d{1,9}[.)])");e&&(d=h=e.split("\n",1)[0],this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!_.test(d));){if(d.search(/[^ ]/)>=a||!d.trim())p+="\n"+d.slice(a);else{if(l)break;p+="\n"+d}l||d.trim()||(l=!0),i+=h+"\n",e=e.substring(h.length+1)}v.loose||(c?v.loose=!0:/\n *\n *$/.test(i)&&(c=!0)),this.options.gfm&&(o=/^\[[ xX]\] /.exec(p))&&(r="[ ] "!==o[0],p=p.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:i,task:!!o,checked:r,loose:!1,text:p}),v.raw+=i}v.items[v.items.length-1].raw=i.trimRight(),v.items[v.items.length-1].text=p.trimRight(),v.raw=v.raw.trimRight();var y=v.items.length;for(s=0;s<y;s++){this.lexer.state.top=!1,v.items[s].tokens=this.lexer.blockTokens(v.items[s].text,[]);var A=v.items[s].tokens.filter((function(e){return"space"===e.type})),w=A.every((function(e){for(var t,i=0,o=n(e.raw.split(""));!(t=o()).done;)if("\n"===t.value&&(i+=1),i>1)return!0;return!1}));!v.loose&&A.length&&w&&(v.loose=!0,v.items[s].loose=!0)}return v}},i.html=function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}},i.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},i.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:x(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,o,r,a,s=n.align.length;for(i=0;i<s;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(s=n.rows.length,i=0;i<s;i++)n.rows[i]=x(n.rows[i],n.header.length).map((function(e){return{text:e}}));for(s=n.header.length,o=0;o<s;o++)n.header[o].tokens=[],this.lexer.inlineTokens(n.header[o].text,n.header[o].tokens);for(s=n.rows.length,o=0;o<s;o++)for(a=n.rows[o],r=0;r<a.length;r++)a[r].tokens=[],this.lexer.inlineTokens(a[r].text,a[r].tokens);return n}}},i.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var n={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},i.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},i.text=function(e){var t=this.rules.block.text.exec(e);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},i.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}},i.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}},i.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var i=S(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{var o=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,o=0;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])i++;else if(e[o]===t[1]&&--i<0)return o;return-1}(t[2],"()");if(o>-1){var r=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,r).trim(),t[3]=""}}var a=t[2],s="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);l&&(a=l[1],s=l[3])}else s=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),M(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}},i.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return M(n,i,n[0],this.lexer)}},i.emStrong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.emStrong.lDelim.exec(e);if(i&&(!i[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=i[1]||i[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){var r,a,s=i[0].length-1,l=s,c=0,d="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+s);null!=(i=d.exec(t));)if(r=i[1]||i[2]||i[3]||i[4]||i[5]||i[6])if(a=r.length,i[3]||i[4])l+=a;else if(!((i[5]||i[6])&&s%3)||(s+a)%3){if(!((l-=a)>0)){if(a=Math.min(a,a+l+c),Math.min(s,a)%2){var u=e.slice(1,s+i.index+a);return{type:"em",raw:e.slice(0,s+i.index+a+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}var h=e.slice(2,s+i.index+a-1);return{type:"strong",raw:e.slice(0,s+i.index+a+1),text:h,tokens:this.lexer.inlineTokens(h,[])}}}else c+=a}}},i.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return i&&o&&(n=n.substring(1,n.length-1)),n=d(n,!0),{type:"codespan",raw:t[0],text:n}}},i.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},i.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},i.autolink=function(e,t){var n,i,o=this.rules.inline.autolink.exec(e);if(o)return i="@"===o[2]?"mailto:"+(n=d(this.options.mangle?t(o[1]):o[1])):n=d(o[1]),{type:"link",raw:o[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},i.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,o;if("@"===n[2])o="mailto:"+(i=d(this.options.mangle?t(n[0]):n[0]));else{var r;do{r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(r!==n[0]);i=d(n[0]),o="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}},i.inlineText=function(e,t){var n,i=this.rules.inline.text.exec(e);if(i)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):d(i[0]):i[0]:d(this.options.smartypants?t(i[0]):i[0]),{type:"text",raw:i[0],text:n}},t}(),N={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:w,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};N.def=f(N.def).replace("label",N._label).replace("title",N._title).getRegex(),N.bullet=/(?:[*+-]|\d{1,9}[.)])/,N.listItemStart=f(/^( *)(bull) */).replace("bull",N.bullet).getRegex(),N.list=f(N.list).replace(/bull/g,N.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+N.def.source+")").getRegex(),N._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",N._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,N.html=f(N.html,"i").replace("comment",N._comment).replace("tag",N._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),N.paragraph=f(N._paragraph).replace("hr",N.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N._tag).getRegex(),N.blockquote=f(N.blockquote).replace("paragraph",N.paragraph).getRegex(),N.normal=C({},N),N.gfm=C({},N.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),N.gfm.table=f(N.gfm.table).replace("hr",N.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N._tag).getRegex(),N.gfm.paragraph=f(N._paragraph).replace("hr",N.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",N.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N._tag).getRegex(),N.pedantic=C({},N.normal,{html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",N._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,paragraph:f(N.normal._paragraph).replace("hr",N.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",N.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var I={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:w,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:w,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function T(e){return e.replace(/---/g,"โ€”").replace(/--/g,"โ€“").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1โ€˜").replace(/'/g,"โ€™").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1โ€œ").replace(/"/g,"โ€").replace(/\.{3}/g,"โ€ฆ")}function L(e){var t,n,i="",o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}I._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",I.punctuation=f(I.punctuation).replace(/punctuation/g,I._punctuation).getRegex(),I.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,I.escapedEmSt=/\\\*|\\_/g,I._comment=f(N._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),I.emStrong.lDelim=f(I.emStrong.lDelim).replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimAst=f(I.emStrong.rDelimAst,"g").replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimUnd=f(I.emStrong.rDelimUnd,"g").replace(/punct/g,I._punctuation).getRegex(),I._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,I._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,I._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,I.autolink=f(I.autolink).replace("scheme",I._scheme).replace("email",I._email).getRegex(),I._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,I.tag=f(I.tag).replace("comment",I._comment).replace("attribute",I._attribute).getRegex(),I._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,I._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,I._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,I.link=f(I.link).replace("label",I._label).replace("href",I._href).replace("title",I._title).getRegex(),I.reflink=f(I.reflink).replace("label",I._label).replace("ref",N._label).getRegex(),I.nolink=f(I.nolink).replace("ref",N._label).getRegex(),I.reflinkSearch=f(I.reflinkSearch,"g").replace("reflink",I.reflink).replace("nolink",I.nolink).getRegex(),I.normal=C({},I),I.pedantic=C({},I.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",I._label).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",I._label).getRegex()}),I.gfm=C({},I.normal,{escape:f(I.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),I.gfm.url=f(I.gfm.url,"i").replace("email",I.gfm._extended_email).getRegex(),I.breaks=C({},I.gfm,{br:f(I.br).replace("{2,}","*").getRegex(),text:f(I.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var B=function(){function t(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||e.defaults,this.options.tokenizer=this.options.tokenizer||new D,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={block:N.normal,inline:I.normal};this.options.pedantic?(n.block=N.pedantic,n.inline=I.pedantic):this.options.gfm&&(n.block=N.gfm,this.options.breaks?n.inline=I.breaks:n.inline=I.gfm),this.tokenizer.rules=n}t.lex=function(e,n){return new t(n).lex(e)},t.lexInline=function(e,n){return new t(n).inlineTokens(e)};var n,i,o=t.prototype;return o.lex=function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},o.blockTokens=function(e,t){var n,i,o,r,a=this;for(void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(i){return!!(n=i.call({lexer:a},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),!(i=t[t.length-1])||"paragraph"!==i.type&&"text"!==i.type?t.push(n):(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),!(i=t[t.length-1])||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else if(o=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),i=void 0;a.options.extensions.startBlock.forEach((function(e){"number"==typeof(i=e.call({lexer:this},n))&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),this.state.top&&(n=this.tokenizer.paragraph(o)))i=t[t.length-1],r&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),r=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return this.state.top=!0,t},o.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},o.inlineTokens=function(e,t){var n,i,o,r=this;void 0===t&&(t=[]);var a,s,l,c=e;if(this.tokens.links){var d=Object.keys(this.tokens.links);if(d.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(c));)d.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,a.index)+"["+k("a",a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,a.index)+"["+k("a",a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.escapedEmSt.exec(c));)c=c.slice(0,a.index)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(s||(l=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(i){return!!(n=i.call({lexer:r},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,c,l))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,L))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,L))){if(o=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),i=void 0;r.options.extensions.startInline.forEach((function(e){"number"==typeof(i=e.call({lexer:this},n))&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),n=this.tokenizer.inlineText(o,T))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),s=!0,(i=t[t.length-1])&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else e=e.substring(n.raw.length),t.push(n);return t},n=t,(i=[{key:"rules",get:function(){return{block:N,inline:I}}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(),O=function(){function t(t){this.options=t||e.defaults}var n=t.prototype;return n.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,i);null!=o&&o!==e&&(n=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="'+this.options.langPrefix+d(i,!0)+'">'+(n?e:d(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:d(e,!0))+"</code></pre>\n"},n.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},n.html=function(e){return e},n.heading=function(e,t,n,i){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+i.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},n.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},n.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"},n.listitem=function(e){return"<li>"+e+"</li>\n"},n.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},n.paragraph=function(e){return"<p>"+e+"</p>\n"},n.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},n.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},n.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},n.strong=function(e){return"<strong>"+e+"</strong>"},n.em=function(e){return"<em>"+e+"</em>"},n.codespan=function(e){return"<code>"+e+"</code>"},n.br=function(){return this.options.xhtml?"<br/>":"<br>"},n.del=function(e){return"<del>"+e+"</del>"},n.link=function(e,t,n){if(null===(e=v(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<a href="'+d(e)+'"';return t&&(i+=' title="'+t+'"'),i+">"+n+"</a>"},n.image=function(e,t,n){if(null===(e=v(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+(this.options.xhtml?"/>":">")},n.text=function(e){return e},t}(),P=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),F=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),R=function(){function t(t){this.options=t||e.defaults,this.options.renderer=this.options.renderer||new O,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new P,this.slugger=new F}t.parse=function(e,n){return new t(n).parse(e)},t.parseInline=function(e,n){return new t(n).parseInline(e)};var n=t.prototype;return n.parse=function(e,t){void 0===t&&(t=!0);var n,i,o,r,a,s,l,c,d,u,p,f,g,m,v,b,_,y,A,w="",C=e.length;for(n=0;n<C;n++)if(u=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type])||!1===(A=this.options.extensions.renderers[u.type].call({parser:this},u))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type))switch(u.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(u.tokens),u.depth,h(this.parseInline(u.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(u.text,u.lang,u.escaped);continue;case"table":for(c="",l="",r=u.header.length,i=0;i<r;i++)l+=this.renderer.tablecell(this.parseInline(u.header[i].tokens),{header:!0,align:u.align[i]});for(c+=this.renderer.tablerow(l),d="",r=u.rows.length,i=0;i<r;i++){for(l="",a=(s=u.rows[i]).length,o=0;o<a;o++)l+=this.renderer.tablecell(this.parseInline(s[o].tokens),{header:!1,align:u.align[o]});d+=this.renderer.tablerow(l)}w+=this.renderer.table(c,d);continue;case"blockquote":d=this.parse(u.tokens),w+=this.renderer.blockquote(d);continue;case"list":for(p=u.ordered,f=u.start,g=u.loose,r=u.items.length,d="",i=0;i<r;i++)b=(v=u.items[i]).checked,_=v.task,m="",v.task&&(y=this.renderer.checkbox(b),g?v.tokens.length>0&&"paragraph"===v.tokens[0].type?(v.tokens[0].text=y+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&"text"===v.tokens[0].tokens[0].type&&(v.tokens[0].tokens[0].text=y+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:y}):m+=y),m+=this.parse(v.tokens,g),d+=this.renderer.listitem(m,_,b);w+=this.renderer.list(d,p,f);continue;case"html":w+=this.renderer.html(u.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(d=u.tokens?this.parseInline(u.tokens):u.text;n+1<C&&"text"===e[n+1].type;)d+="\n"+((u=e[++n]).tokens?this.parseInline(u.tokens):u.text);w+=t?this.renderer.paragraph(d):d;continue;default:var x='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(x);throw new Error(x)}else w+=A||"";return w},n.parseInline=function(e,t){t=t||this.renderer;var n,i,o,r="",a=e.length;for(n=0;n<a;n++)if(i=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type])||!1===(o=this.options.extensions.renderers[i.type].call({parser:this},i))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))switch(i.type){case"escape":case"text":r+=t.text(i.text);break;case"html":r+=t.html(i.text);break;case"link":r+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":r+=t.image(i.href,i.title,i.text);break;case"strong":r+=t.strong(this.parseInline(i.tokens,t));break;case"em":r+=t.em(this.parseInline(i.tokens,t));break;case"codespan":r+=t.codespan(i.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(i.tokens,t));break;default:var s='Token with "'+i.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}else r+=o||"";return r},t}();function j(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),E(t=C({},j.defaults,t||{})),n){var i,o=t.highlight;try{i=B.lex(e,t)}catch(e){return n(e)}var r=function(e){var r;if(!e)try{t.walkTokens&&j.walkTokens(i,t.walkTokens),r=R.parse(i,t)}catch(t){e=t}return t.highlight=o,e?n(e):n(null,r)};if(!o||o.length<3)return r();if(delete t.highlight,!i.length)return r();var a=0;return j.walkTokens(i,(function(e){"code"===e.type&&(a++,setTimeout((function(){o(e.text,e.lang,(function(t,n){if(t)return r(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--a&&r()}))}),0))})),void(0===a&&r())}try{var s=B.lex(e,t);return t.walkTokens&&j.walkTokens(s,t.walkTokens),R.parse(s,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}}j.options=j.setOptions=function(t){var n;return C(j.defaults,t),n=j.defaults,e.defaults=n,j},j.getDefaults=i,j.defaults=e.defaults,j.use=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i,o=C.apply(void 0,[{}].concat(t)),r=j.defaults.extensions||{renderers:{},childTokens:{}};t.forEach((function(e){if(e.extensions&&(i=!0,e.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=r.renderers?r.renderers[e.name]:null;r.renderers[e.name]=t?function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var r=e.renderer.apply(this,i);return!1===r&&(r=t.apply(this,i)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");r[e.level]?r[e.level].unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}e.childTokens&&(r.childTokens[e.name]=e.childTokens)}))),e.renderer&&function(){var t=j.defaults.renderer||new O,n=function(n){var i=t[n];t[n]=function(){for(var o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];var s=e.renderer[n].apply(t,r);return!1===s&&(s=i.apply(t,r)),s}};for(var i in e.renderer)n(i);o.renderer=t}(),e.tokenizer&&function(){var t=j.defaults.tokenizer||new D,n=function(n){var i=t[n];t[n]=function(){for(var o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];var s=e.tokenizer[n].apply(t,r);return!1===s&&(s=i.apply(t,r)),s}};for(var i in e.tokenizer)n(i);o.tokenizer=t}(),e.walkTokens){var t=j.defaults.walkTokens;o.walkTokens=function(n){e.walkTokens.call(this,n),t&&t.call(this,n)}}i&&(o.extensions=r),j.setOptions(o)}))},j.walkTokens=function(e,t){for(var i,o=function(){var e=i.value;switch(t.call(j,e),e.type){case"table":for(var o,r=n(e.header);!(o=r()).done;){var a=o.value;j.walkTokens(a.tokens,t)}for(var s,l=n(e.rows);!(s=l()).done;)for(var c,d=n(s.value);!(c=d()).done;){var u=c.value;j.walkTokens(u.tokens,t)}break;case"list":j.walkTokens(e.items,t);break;default:j.defaults.extensions&&j.defaults.extensions.childTokens&&j.defaults.extensions.childTokens[e.type]?j.defaults.extensions.childTokens[e.type].forEach((function(n){j.walkTokens(e[n],t)})):e.tokens&&j.walkTokens(e.tokens,t)}},r=n(e);!(i=r()).done;)o()},j.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");E(t=C({},j.defaults,t||{}));try{var n=B.lexInline(e,t);return t.walkTokens&&j.walkTokens(n,t.walkTokens),R.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}},j.Parser=R,j.parser=R.parse,j.Renderer=O,j.TextRenderer=P,j.Lexer=B,j.lexer=B.lex,j.Tokenizer=D,j.Slugger=F,j.parse=j;var z=j.options,V=j.setOptions,W=j.use,H=j.walkTokens,U=j.parseInline,Q=j,G=R.parse,K=B.lex;e.Lexer=B,e.Parser=R,e.Renderer=O,e.Slugger=F,e.TextRenderer=P,e.Tokenizer=D,e.getDefaults=i,e.lexer=K,e.marked=j,e.options=z,e.parse=Q,e.parseInline=U,e.parser=G,e.setOptions=V,e.use=W,e.walkTokens=H,Object.defineProperty(e,"__esModule",{value:!0})},e(t)}();var co=lo||t,uo=i(1296);function ho(e,t){return/^\w[\w\d+.-]*:/.test(t)?t:e.path.endsWith("/")?(0,Ue.i3)(e,t).toString():(0,Ue.i3)((0,Ue.XX)(e),t).toString()}function po(e,t){const{config:n,allowedSchemes:i}=function(e){const t=[He.lg.http,He.lg.https,He.lg.mailto,He.lg.data,He.lg.file,He.lg.vscodeFileResource,He.lg.vscodeRemote,He.lg.vscodeRemoteResource];return e.isTrusted&&t.push(He.lg.command),{config:{ALLOWED_TAGS:["ul","li","p","b","i","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],ALLOWED_ATTR:["href","data-href","target","title","src","alt","class","style","data-code","width","height","align"],ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:t}}(e);eo("uponSanitizeAttribute",((e,t)=>{if("style"!==t.attrName&&"class"!==t.attrName);else{if("SPAN"===e.tagName){if("style"===t.attrName)return void(t.keepAttr=/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/.test(t.attrValue));if("class"===t.attrName)return void(t.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(t.attrValue))}t.keepAttr=!1}}));const o=document.createElement("a");eo("afterSanitizeAttributes",(e=>{for(const t of["href","src"])e.hasAttribute(t)&&(o.href=e.getAttribute(t),i.includes(o.protocol.replace(/:$/,""))||e.removeAttribute(t))}));try{return Xi(t,Object.assign(Object.assign({},n),{RETURN_TRUSTED_TYPE:!0}))}finally{to("uponSanitizeAttribute"),to("afterSanitizeAttributes")}}var fo,go=i(2042),mo=i(4526),vo=i(6573),bo=i(5063),_o=i(1244),yo=function(e,t){return function(n,i){t(n,i,e)}};let Ao=class e{constructor(e,t,n){this._options=e,this._languageService=t,this._openerService=n,this._onDidRenderAsync=new c.Q5,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,n){if(!e)return{element:document.createElement("span"),dispose:()=>{}};const i=new u.SL,o=i.add(function(e,t={},n={}){var i;const o=new u.SL;let r=!1;const d=o.add(new s.A),h=(0,io.az)(t),p=function(t){let n;try{n=(0,uo.Q)(decodeURIComponent(t))}catch(e){}return n?(n=(0,Vt.rs)(n,(t=>e.uris&&e.uris[t]?C.o.revive(e.uris[t]):void 0)),encodeURIComponent(JSON.stringify(n))):t},f=function(t,n){const i=e.uris&&e.uris[t];let o=C.o.revive(i);return n?t.startsWith(He.lg.data+":")?t:(o||(o=C.o.parse(t)),He.Gi.asBrowserUri(o).toString(!0)):o?C.o.parse(t).toString()===o.toString()?t:(o.query&&(o=o.with({query:p(o.query)})),o.toString()):t};let g;const m=new Promise((e=>g=e)),v=new co.Renderer;if(v.image=(e,t,n)=>{let i=[],o=[];return e&&(({href:e,dimensions:i}=(0,ii.v1)(e)),o.push(`src="${e}"`)),n&&o.push(`alt="${n}"`),t&&o.push(`title="${t}"`),i.length&&(o=o.concat(i)),"<img "+o.join(" ")+">"},v.link=(t,n,i)=>"string"!=typeof t?"":(t===i&&(i=(0,ii.oR)(i)),t=f(t,!1),e.baseUri&&(t=ho(C.o.from(e.baseUri),t)),n="string"==typeof n?(0,ii.oR)(n):"",!(t=(0,ii.oR)(t))||/^data:|javascript:/i.test(t)||/^command:/i.test(t)&&!e.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(t)?i:`<a data-href="${t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}" title="${n||t}">${i}</a>`),v.paragraph=e=>`<p>${e}</p>`,t.codeBlockRenderer&&(v.code=(e,n)=>{const i=t.codeBlockRenderer(null!=n?n:"",e),o=so.a.nextId();return(0,a.eP)(Promise.all([i,m]),d.token).then((e=>{var n;if(!r&&e){const i=h.querySelector(`div[data-code="${o}"]`);i&&W.mc(i,e[0]),null===(n=t.asyncRenderCallback)||void 0===n||n.call(t)}})).catch((()=>{})),`<div class="code" data-code="${o}">${(0,Fe.YU)(e)}</div>`}),t.actionHandler){const n=t.actionHandler.disposables.add(new no.Y(h,"click")),i=t.actionHandler.disposables.add(new no.Y(h,"auxclick"));t.actionHandler.disposables.add(c.ju.any(n.event,i.event)((n=>{const i=new oo.n(n);if(!i.leftButton&&!i.middleButton)return;let o=i.target;if("A"===o.tagName||(o=o.parentElement,o&&"A"===o.tagName))try{let n=o.dataset.href;n&&(e.baseUri&&(n=ho(C.o.from(e.baseUri),n)),t.actionHandler.callback(n,i))}catch(e){(0,l.dL)(e)}finally{i.preventDefault()}})))}e.supportHtml||(n.sanitizer=t=>(e.isTrusted?t.match(/^(<span[^>]+>)|(<\/\s*span>)$/):void 0)?t:"",n.sanitize=!0,n.silent=!0),n.renderer=v;let b=null!==(i=e.value)&&void 0!==i?i:"";b.length>1e5&&(b=`${b.substr(0,1e5)}โ€ฆ`),e.supportThemeIcons&&(b=(0,ao.f$)(b));let _=co.parse(b,n);e.supportThemeIcons&&(_=(0,ro.T)(_).map((e=>"string"==typeof e?e:e.outerHTML)).join(""));const y=(new DOMParser).parseFromString(po(e,_),"text/html");if(y.body.querySelectorAll("img").forEach((t=>{const n=t.getAttribute("src");if(n){let i=n;try{e.baseUri&&(i=ho(C.o.from(e.baseUri),i))}catch(e){}t.src=f(i,!0)}})),h.innerHTML=po(e,y.body.innerHTML),g(),t.asyncRenderCallback)for(const e of h.getElementsByTagName("img")){const n=o.add(W.nm(e,"load",(()=>{n.dispose(),t.asyncRenderCallback()})))}return{element:h,dispose:()=>{r=!0,d.cancel(),o.dispose()}}}(e,Object.assign(Object.assign({},this._getRenderOptions(e,i)),t),n));return{element:o.element,dispose:()=>i.dispose()}}_getRenderOptions(t,n){return{codeBlockRenderer:(t,n)=>{return i=this,void 0,r=function*(){var i,o,r;let a;t?a=this._languageService.getLanguageIdByLanguageName(t):this._options.editor&&(a=null===(i=this._options.editor.getModel())||void 0===i?void 0:i.getLanguageId()),a||(a=_o.bd);const s=yield(0,vo.C2)(this._languageService,n,a),l=document.createElement("span");if(l.innerHTML=null!==(r=null===(o=e._ttpTokenizer)||void 0===o?void 0:o.createHTML(s))&&void 0!==r?r:s,this._options.editor){const e=this._options.editor.getOption(44);(0,bo.N)(l,e)}else this._options.codeBlockFontFamily&&(l.style.fontFamily=this._options.codeBlockFontFamily);return l},new((o=void 0)||(o=Promise))((function(e,t){function n(e){try{s(r.next(e))}catch(e){t(e)}}function a(e){try{s(r.throw(e))}catch(e){t(e)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(n,a)}s((r=r.apply(i,[])).next())}));var i,o,r},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:e=>this._openerService.open(e,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:t.isTrusted}).catch(l.dL),disposables:n}}}};Ao._ttpTokenizer=null===(fo=window.trustedTypes)||void 0===fo?void 0:fo.createPolicy("tokenizeToString",{createHTML:e=>e}),Ao=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([yo(1,mo.O),yo(2,go.v4)],Ao);var wo=i(7651);function Co(e){return!!e&&Boolean(e.completion.documentation||e.completion.detail&&e.completion.detail!==e.completion.label)}let xo=class{constructor(e,t){this._editor=e,this._onDidClose=new c.Q5,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new c.Q5,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new u.SL,this._renderDisposeable=new u.SL,this._borderWidth=1,this._size=new W.Ro(330,0),this.domNode=W.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=t.createInstance(Ao,{editor:e}),this._body=W.$(".body"),this._scrollbar=new ni.s$(this._body,{}),W.R3(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=W.R3(this._body,W.$(".header")),this._close=W.R3(this._header,W.$("span"+U.lA.close.cssSelector)),this._close.title=F.N("details.close","Close"),this._type=W.R3(this._header,W.$("p.type")),this._docs=W.R3(this._body,W.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(44)&&this._configureFont()})))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const e=this._editor.getOptions(),t=e.get(44),n=t.getMassagedFontFamily(ti.isSafari?wo.hL.fontFamily:null),i=e.get(107)||t.fontSize,o=e.get(108)||t.lineHeight,r=t.fontWeight,a=`${i}px`,s=`${o}px`;this.domNode.style.fontSize=a,this.domNode.style.lineHeight=""+o/i,this.domNode.style.fontWeight=r,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=n,this._close.style.height=s,this._close.style.width=s}getLayoutInfo(){const e=this._editor.getOption(108)||this._editor.getOption(44).lineHeight,t=this._borderWidth;return{lineHeight:e,borderWidth:t,borderHeight:2*t,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=F.N("loading","Loading..."),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,2*this.getLayoutInfo().lineHeight),this._onDidChangeContents.fire(this)}renderItem(e,t){var n,i;this._renderDisposeable.clear();let{detail:o,documentation:r}=e.completion;if(t){let t="";t+=`score: ${e.score[0]}\n`,t+=`prefix: ${null!==(n=e.word)&&void 0!==n?n:"(no prefix)"}\n`,t+=`word: ${e.completion.filterText?e.completion.filterText+" (filterText)":e.textLabel}\n`,t+=`distance: ${e.distance} (localityBonus-setting)\n`,t+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"}\n`,t+=`commit_chars: ${null===(i=e.completion.commitCharacters)||void 0===i?void 0:i.join("")}\n`,r=(new ii.W5).appendCodeblock("empty",t),o=`Provider: ${e.provider._debugDisplayName}`}if(t||Co(e)){if(this.domNode.classList.remove("no-docs","no-type"),o){const e=o.length>1e5?`${o.substr(0,1e5)}โ€ฆ`:o;this._type.textContent=e,this._type.title=e,W.$Z(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gim.test(e))}else W.PO(this._type),this._type.title="",W.Cp(this._type),this.domNode.classList.add("no-type");if(W.PO(this._docs),"string"==typeof r)this._docs.classList.remove("markdown-docs"),this._docs.textContent=r;else if(r){this._docs.classList.add("markdown-docs"),W.PO(this._docs);const e=this._markdownRenderer.render(r);this._docs.appendChild(e.element),this._renderDisposeable.add(e),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync((()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)})))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this._close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}else this.clearContents()}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(e,t){const n=new W.Ro(e,t);W.Ro.equals(n,this._size)||(this._size=n,W.dp(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};xo=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,1)}}(0,Oe.TG)],xo);class So{constructor(e,t){let n,i;this.widget=e,this._editor=t,this._disposables=new u.SL,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new ei,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(e.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let o=0,r=0;this._disposables.add(this._resizable.onDidWillResize((()=>{n=this._topLeft,i=this._resizable.size}))),this._disposables.add(this._resizable.onDidResize((e=>{if(n&&i){this.widget.layout(e.dimension.width,e.dimension.height);let t=!1;e.west&&(r=i.width-e.dimension.width,t=!0),e.north&&(o=i.height-e.dimension.height,t=!0),t&&this._applyTopLeft({top:n.top+o,left:n.left+r})}e.done&&(n=void 0,i=void 0,o=0,r=0,this._userSize=e.dimension)}))),this._disposables.add(this.widget.onDidChangeContents((()=>{var e;this._anchorBox&&this._placeAtAnchor(this._anchorBox,null!==(e=this._userSize)&&void 0!==e?e:this.widget.size,this._preferAlignAtTop)})))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(e=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e,t){var n;const i=e.getBoundingClientRect();this._anchorBox=i,this._preferAlignAtTop=t,this._placeAtAnchor(this._anchorBox,null!==(n=this._userSize)&&void 0!==n?n:this.widget.size,t)}_placeAtAnchor(e,t,n){var i;const o=W.D6(document.body),r=this.widget.getLayoutInfo(),a=new W.Ro(220,2*r.lineHeight),s=e.top,l=function(){const n=o.width-(e.left+e.width+r.borderWidth+r.horizontalPadding),i=-r.borderWidth+e.left+e.width,l=new W.Ro(n,o.height-e.top-r.borderHeight-r.verticalPadding),c=l.with(void 0,e.top+e.height-r.borderHeight-r.verticalPadding);return{top:s,left:i,fit:n-t.width,maxSizeTop:l,maxSizeBottom:c,minSize:a.with(Math.min(n,a.width))}}(),c=[l,function(){const n=e.left-r.borderWidth-r.horizontalPadding,i=Math.max(r.horizontalPadding,e.left-t.width-r.borderWidth),l=new W.Ro(n,o.height-e.top-r.borderHeight-r.verticalPadding),c=l.with(void 0,e.top+e.height-r.borderHeight-r.verticalPadding);return{top:s,left:i,fit:n-t.width,maxSizeTop:l,maxSizeBottom:c,minSize:a.with(Math.min(n,a.width))}}(),function(){const n=e.left,i=-r.borderWidth+e.top+e.height,s=new W.Ro(e.width-r.borderHeight,o.height-e.top-e.height-r.verticalPadding);return{top:i,left:n,fit:s.height-t.height,maxSizeBottom:s,maxSizeTop:s,minSize:a.with(s.width)}}()],d=null!==(i=c.find((e=>e.fit>=0)))&&void 0!==i?i:c.sort(((e,t)=>t.fit-e.fit))[0],u=e.top+e.height-r.borderHeight;let h,p=t.height;const f=Math.max(d.maxSizeTop.height,d.maxSizeBottom.height);let g;p>f&&(p=f),n?p<=d.maxSizeTop.height?(h=!0,g=d.maxSizeTop):(h=!1,g=d.maxSizeBottom):p<=d.maxSizeBottom.height?(h=!1,g=d.maxSizeBottom):(h=!0,g=d.maxSizeTop),this._applyTopLeft({left:d.left,top:h?d.top:u-p}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!h,d===l,h,d!==l),this._resizable.minSize=d.minSize,this._resizable.maxSize=g,this._resizable.layout(p,Math.min(g.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}var Eo,ko=i(1842);!function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}(Eo||(Eo={}));const Mo=/(?:\/|^)(?:([^\/]+)\/)?([^\/]+)$/;function Do(e,t,n,i){const o=i===Eo.ROOT_FOLDER?["rootfolder-icon"]:i===Eo.FOLDER?["folder-icon"]:["file-icon"];if(n){let r;if(n.scheme===He.lg.data)r=Ue.Vb.parseMetaData(n).get(Ue.Vb.META_DATA_LABEL);else{const e=n.path.match(Mo);e?(r=No(e[2].toLowerCase()),e[1]&&o.push(`${No(e[1].toLowerCase())}-name-dir-icon`)):r=No(n.authority.toLowerCase())}if(i===Eo.FOLDER)o.push(`${r}-name-folder-icon`);else{if(r){if(o.push(`${r}-name-file-icon`),o.push("name-file-icon"),r.length<=255){const e=r.split(".");for(let t=1;t<e.length;t++)o.push(`${e.slice(t).join(".")}-ext-file-icon`)}o.push("ext-file-icon")}const i=function(e,t,n){if(!n)return null;let i=null;if(n.scheme===He.lg.data){const e=Ue.Vb.parseMetaData(n).get(Ue.Vb.META_DATA_MIME);e&&(i=t.getLanguageIdByMimeType(e))}else{const t=e.getModel(n);t&&(i=t.getLanguageId())}return i&&i!==_o.bd?i:t.guessLanguageIdByFilepathOrFirstLine(n)}(e,t,n);i&&o.push(`${No(i)}-lang-file-icon`)}}return o}function No(e){return e.replace(/[\11\12\14\15\40]/g,"/")}var Io,To=i(8268),Lo=function(e,t){return function(n,i){t(n,i,e)}};function Bo(e){return`suggest-aria-id:${e}`}const Oo=(0,i(7358).q5)("suggest-more-info",U.lA.chevronRight,F.N("suggestMoreInfoIcon","Icon for more information in the suggest widget.")),Po=new((Io=class e{extract(t,n){if(t.textLabel.match(e._regexStrict))return n[0]=t.textLabel,!0;if(t.completion.detail&&t.completion.detail.match(e._regexStrict))return n[0]=t.completion.detail,!0;if("string"==typeof t.completion.documentation){const i=e._regexRelaxed.exec(t.completion.documentation);if(i&&(0===i.index||i.index+i[0].length===t.completion.documentation.length))return n[0]=i[0],!0}return!1}})._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,Io._regexStrict=new RegExp(`^${Io._regexRelaxed.source}$`,"i"),Io);let Fo=class{constructor(e,t,n,i){this._editor=e,this._modelService=t,this._languageService=n,this._themeService=i,this._onDidToggleDetails=new c.Q5,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(e){const t=Object.create(null);t.disposables=new u.SL,t.root=e,t.root.classList.add("show-file-icons"),t.icon=(0,W.R3)(e,(0,W.$)(".icon")),t.colorspan=(0,W.R3)(t.icon,(0,W.$)("span.colorspan"));const n=(0,W.R3)(e,(0,W.$)(".contents")),i=(0,W.R3)(n,(0,W.$)(".main"));t.iconContainer=(0,W.R3)(i,(0,W.$)(".icon-label.codicon")),t.left=(0,W.R3)(i,(0,W.$)("span.left")),t.right=(0,W.R3)(i,(0,W.$)("span.right")),t.iconLabel=new ko.g(t.left,{supportHighlights:!0,supportIcons:!0}),t.disposables.add(t.iconLabel),t.parametersLabel=(0,W.R3)(t.left,(0,W.$)("span.signature-label")),t.qualifierLabel=(0,W.R3)(t.left,(0,W.$)("span.qualifier-label")),t.detailsLabel=(0,W.R3)(t.right,(0,W.$)("span.details-label")),t.readMore=(0,W.R3)(t.right,(0,W.$)("span.readMore"+Qt.kS.asCSSSelector(Oo))),t.readMore.title=F.N("readMore","Read More");const o=()=>{const e=this._editor.getOptions(),n=e.get(44),o=n.getMassagedFontFamily(ti.isSafari?wo.hL.fontFamily:null),r=n.fontFeatureSettings,a=e.get(107)||n.fontSize,s=e.get(108)||n.lineHeight,l=n.fontWeight,c=`${a}px`,d=`${s}px`;t.root.style.fontSize=c,t.root.style.fontWeight=l,i.style.fontFamily=o,i.style.fontFeatureSettings=r,i.style.lineHeight=d,t.icon.style.height=d,t.icon.style.width=d,t.readMore.style.height=d,t.readMore.style.width=d};return o(),t.disposables.add(this._editor.onDidChangeConfiguration((e=>{(e.hasChanged(44)||e.hasChanged(107)||e.hasChanged(108))&&o()}))),t}renderElement(e,t,n){const{completion:i}=e;n.root.id=Bo(t),n.colorspan.style.backgroundColor="";const o={labelEscapeNewLines:!0,matches:(0,w.mB)(e.score)};let a=[];if(19===i.kind&&Po.extract(e,a))n.icon.className="icon customcolor",n.iconContainer.className="icon hide",n.colorspan.style.backgroundColor=a[0];else if(20===i.kind&&this._themeService.getFileIconTheme().hasFileIcons){n.icon.className="icon hide",n.iconContainer.className="icon hide";const t=Do(this._modelService,this._languageService,C.o.from({scheme:"fake",path:e.textLabel}),Eo.FILE),r=Do(this._modelService,this._languageService,C.o.from({scheme:"fake",path:i.detail}),Eo.FILE);o.extraClasses=t.length>r.length?t:r}else 23===i.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(n.icon.className="icon hide",n.iconContainer.className="icon hide",o.extraClasses=(0,r.xH)([Do(this._modelService,this._languageService,C.o.from({scheme:"fake",path:e.textLabel}),Eo.FOLDER),Do(this._modelService,this._languageService,C.o.from({scheme:"fake",path:i.detail}),Eo.FOLDER)])):(n.icon.className="icon hide",n.iconContainer.className="",n.iconContainer.classList.add("suggest-icon",...U.dT.asClassNameArray(pt.gX.toIcon(i.kind))));i.tags&&i.tags.indexOf(1)>=0&&(o.extraClasses=(o.extraClasses||[]).concat(["deprecated"]),o.matches=[]),n.iconLabel.setLabel(e.textLabel,void 0,o),"string"==typeof i.label?(n.parametersLabel.textContent="",n.detailsLabel.textContent=Ro(i.detail||""),n.root.classList.add("string-label")):(n.parametersLabel.textContent=Ro(i.label.detail||""),n.detailsLabel.textContent=Ro(i.label.description||""),n.root.classList.remove("string-label")),this._editor.getOption(106).showInlineDetails?(0,W.$Z)(n.detailsLabel):(0,W.Cp)(n.detailsLabel),Co(e)?(n.right.classList.add("can-expand-details"),(0,W.$Z)(n.readMore),n.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},n.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(n.right.classList.remove("can-expand-details"),(0,W.Cp)(n.readMore),n.readMore.onmousedown=null,n.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};function Ro(e){return e.replace(/\r\n|\r|\n/g,"")}Fo=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Lo(1,To.q),Lo(2,mo.O),Lo(3,Qt.XE)],Fo);var jo=function(e,t){return function(n,i){t(n,i,e)}};(0,bn.P6G)("editorSuggestWidget.background",{dark:bn.D0T,light:bn.D0T,hc:bn.D0T},F.N("editorSuggestWidgetBackground","Background color of the suggest widget.")),(0,bn.P6G)("editorSuggestWidget.border",{dark:bn.D1_,light:bn.D1_,hc:bn.D1_},F.N("editorSuggestWidgetBorder","Border color of the suggest widget."));const zo=(0,bn.P6G)("editorSuggestWidget.foreground",{dark:bn.NOs,light:bn.NOs,hc:bn.NOs},F.N("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),Vo=((0,bn.P6G)("editorSuggestWidget.selectedForeground",{dark:bn.NPS,light:bn.NPS,hc:bn.NPS},F.N("editorSuggestWidgetSelectedForeground","Foreground color of the selected entry in the suggest widget.")),(0,bn.P6G)("editorSuggestWidget.selectedIconForeground",{dark:bn.cbQ,light:bn.cbQ,hc:bn.cbQ},F.N("editorSuggestWidgetSelectedIconForeground","Icon foreground color of the selected entry in the suggest widget.")),(0,bn.P6G)("editorSuggestWidget.selectedBackground",{dark:bn.Vqd,light:bn.Vqd,hc:bn.Vqd},F.N("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")));(0,bn.P6G)("editorSuggestWidget.highlightForeground",{dark:bn.Gwp,light:bn.Gwp,hc:bn.Gwp},F.N("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),(0,bn.P6G)("editorSuggestWidget.focusHighlightForeground",{dark:bn.PX0,light:bn.PX0,hc:bn.PX0},F.N("editorSuggestWidgetFocusHighlightForeground","Color of the match highlights in the suggest widget when an item is focused.")),(0,bn.P6G)("editorSuggestWidgetStatus.foreground",{dark:(0,bn.ZnX)(zo,.5),light:(0,bn.ZnX)(zo,.5),hc:(0,bn.ZnX)(zo,.5)},F.N("editorSuggestWidgetStatusForeground","Foreground color of the suggest widget status."));class Wo{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof Yt}`}restore(){var e;const t=null!==(e=this._service.get(this._key,0))&&void 0!==e?e:"";try{const e=JSON.parse(t);if(W.Ro.is(e))return W.Ro.lift(e)}catch(e){}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let Ho=class e{constructor(e,t,n,i,o){this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new a._F,this._disposables=new u.SL,this._onDidSelect=new c.Q5,this._onDidFocus=new c.Q5,this._onDidHide=new c.Q5,this._onDidShow=new c.Q5,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new c.Q5,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new ei,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new Uo(this,e),this._persistedSize=new Wo(t,e);class r{constructor(e,t,n=!1,i=!1){this.persistedSize=e,this.currentSize=t,this.persistHeight=n,this.persistWidth=i}}let s;this._disposables.add(this.element.onDidWillResize((()=>{this._contentWidget.lockPreference(),s=new r(this._persistedSize.restore(),this.element.size)}))),this._disposables.add(this.element.onDidResize((e=>{var t,n,i,o;if(this._resize(e.dimension.width,e.dimension.height),s&&(s.persistHeight=s.persistHeight||!!e.north||!!e.south,s.persistWidth=s.persistWidth||!!e.east||!!e.west),e.done){if(s){const{itemHeight:e,defaultSize:r}=this.getLayoutInfo(),a=Math.round(e/2);let{width:l,height:c}=this.element.size;(!s.persistHeight||Math.abs(s.currentSize.height-c)<=a)&&(c=null!==(n=null===(t=s.persistedSize)||void 0===t?void 0:t.height)&&void 0!==n?n:r.height),(!s.persistWidth||Math.abs(s.currentSize.width-l)<=a)&&(l=null!==(o=null===(i=s.persistedSize)||void 0===i?void 0:i.width)&&void 0!==o?o:r.width),this._persistedSize.store(new W.Ro(l,c))}this._contentWidget.unlockPreference(),s=void 0}}))),this._messageElement=W.R3(this.element.domNode,W.$(".message")),this._listElement=W.R3(this.element.domNode,W.$(".tree"));const l=o.createInstance(xo,this.editor);l.onDidClose(this.toggleDetails,this,this._disposables),this._details=new So(l,this.editor);const d=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(106).showIcons);d();const h=o.createInstance(Fo,this.editor);this._disposables.add(h),this._disposables.add(h.onDidToggleDetails((()=>this.toggleDetails()))),this._list=new Rt.aV("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[h],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>F.N("suggest","Suggest"),getWidgetRole:()=>"listbox",getAriaLabel:e=>{let t=e.textLabel;if("string"!=typeof e.completion.label){const{detail:n,description:i}=e.completion.label;n&&i?t=F.N("label.full","{0}{1}, {2}",t,n,i):n?t=F.N("label.detail","{0}{1}",t,n):i&&(t=F.N("label.desc","{0}, {1}",t,i))}if(!e.isResolved||!this._isDetailsVisible())return t;const{documentation:n,detail:i}=e.completion,o=Fe.WU("{0}{1}",i||"",n?"string"==typeof n?n:n.value:"");return F.N("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,o)}}}),this._status=o.createInstance(vn,this.element.domNode);const p=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(106).showStatusBar);p(),this._disposables.add((0,Zn.Jl)(this._list,i,{listInactiveFocusBackground:Vo,listInactiveFocusOutline:bn.xL1})),this._disposables.add(i.onDidColorThemeChange((e=>this._onThemeChange(e)))),this._onThemeChange(i.getColorTheme()),this._disposables.add(this._list.onMouseDown((e=>this._onListMouseDownOrTap(e)))),this._disposables.add(this._list.onTap((e=>this._onListMouseDownOrTap(e)))),this._disposables.add(this._list.onDidChangeSelection((e=>this._onListSelection(e)))),this._disposables.add(this._list.onDidChangeFocus((e=>this._onListFocus(e)))),this._disposables.add(this.editor.onDidChangeCursorSelection((()=>this._onCursorSelectionChanged()))),this._disposables.add(this.editor.onDidChangeConfiguration((e=>{e.hasChanged(106)&&(p(),d())}))),this._ctxSuggestWidgetVisible=Ce.Visible.bindTo(n),this._ctxSuggestWidgetDetailsVisible=Ce.DetailsVisible.bindTo(n),this._ctxSuggestWidgetMultipleSuggestions=Ce.MultipleSuggestions.bindTo(n),this._disposables.add(W.mu(this._details.widget.domNode,"keydown",(e=>{this._onDetailsKeydown.fire(e)}))),this._disposables.add(this.editor.onMouseDown((e=>this._onEditorMouseDown(e))))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){const n=this._completionModel;n&&(this._onDidSelect.fire({item:e,index:t,model:n}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth="hc"===e.type?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length)return this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),void this.editor.setAriaOptions({activeDescendant:void 0});if(!this._completionModel)return;const n=e.elements[0],i=e.indexes[0];n!==this._focusedItem&&(null===(t=this._currentSuggestionDetails)||void 0===t||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=n,this._list.reveal(i),this._currentSuggestionDetails=(0,a.PG)((e=>{return t=this,void 0,o=function*(){const t=(0,a.Vg)((()=>{this._isDetailsVisible()&&this.showDetails(!0)}),250),i=e.onCancellationRequested((()=>t.dispose())),o=yield n.resolve(e);return t.dispose(),i.dispose(),o},new((i=void 0)||(i=Promise))((function(e,n){function r(e){try{s(o.next(e))}catch(e){n(e)}}function a(e){try{s(o.throw(e))}catch(e){n(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(r,a)}s((o=o.apply(t,[])).next())}));var t,i,o})),this._currentSuggestionDetails.then((()=>{i>=this._list.length||n!==this._list.element(i)||(this._ignoreFocusEvents=!0,this._list.splice(i,1,[n]),this._list.setFocus([i]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:Bo(i)}))})).catch(l.dL)),this._onDidFocus.fire({item:n,index:i,model:this._completionModel})}_setState(t){if(this._state!==t)switch(this._state=t,this.element.domNode.classList.toggle("frozen",4===t),this.element.domNode.classList.remove("message"),t){case 0:W.Cp(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.LOADING_MESSAGE,W.Cp(this._listElement,this._status.element),W.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,W.Cp(this._listElement,this._status.element),W.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 3:case 4:W.Cp(this._messageElement),W.$Z(this._listElement,this._status.element),this._show();break;case 5:W.Cp(this._messageElement),W.$Z(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet((()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)}),100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=(0,a.Vg)((()=>this._setState(1)),t)))}showSuggestions(e,t,n,i){var o,r;if(this._contentWidget.setPosition(this.editor.getPosition()),null===(o=this._loadingTimeout)||void 0===o||o.dispose(),null===(r=this._currentSuggestionDetails)||void 0===r||r.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),n&&2!==this._state&&0!==this._state)return void this._setState(4);const a=this._completionModel.items.length,s=0===a;if(this._ctxSuggestWidgetMultipleSuggestions.set(a>1),s)return this._setState(i?0:2),void(this._completionModel=void 0);this._focusedItem=void 0,this._list.splice(0,this._list.length,this._completionModel.items),this._setState(n?4:3),this._list.reveal(t,0),this._list.setFocus([t]),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(0!==this._state&&2!==this._state&&1!==this._state&&this._completionModel)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){5===this._state?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):3===this._state&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):!Co(this._list.getFocusedElements()[0])&&!this._explainMode||3!==this._state&&5!==this._state&&4!==this._state||(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const t=this._persistedSize.restore(),n=Math.ceil(4.3*this.getLayoutInfo().itemHeight);t&&t.height<n&&this._persistedSize.store(t.with(void 0,n))}isFrozen(){return 4===this._state}_afterRender(e){null!==e?2!==this._state&&1!==this._state&&(this._isDetailsVisible()&&this._details.show(),this._positionDetails()):this._isDetailsVisible()&&this._details.hide()}_layout(e){var t,n,i;if(!this.editor.hasModel())return;if(!this.editor.getDomNode())return;const o=W.D6(document.body),r=this.getLayoutInfo();e||(e=r.defaultSize);let a=e.height,s=e.width;if(this._status.element.style.lineHeight=`${r.itemHeight}px`,2===this._state||1===this._state)a=r.itemHeight+r.borderHeight,s=r.defaultSize.width/2,this.element.enableSashes(!1,!1,!1,!1),this.element.minSize=this.element.maxSize=new W.Ro(s,a),this._contentWidget.setPreference(2);else{const l=o.width-r.borderHeight-2*r.horizontalPadding;s>l&&(s=l);const c=this._completionModel?this._completionModel.stats.pLabelLen*r.typicalHalfwidthCharacterWidth:s,d=r.statusBarHeight+this._list.contentHeight+r.borderHeight,u=r.itemHeight+r.statusBarHeight,h=W.i(this.editor.getDomNode()),p=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),f=h.top+p.top+p.height,g=Math.min(o.height-f-r.verticalPadding,d),m=h.top+p.top-r.verticalPadding,v=Math.min(m,d);let b=Math.min(Math.max(v,g)+r.borderHeight,d);a===(null===(t=this._cappedHeight)||void 0===t?void 0:t.capped)&&(a=this._cappedHeight.wanted),a<u&&(a=u),a>b&&(a=b);const _=150;a>g||this._forceRenderingAbove&&m>_?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),b=v):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),b=g),this.element.preferredSize=new W.Ro(c,r.defaultSize.height),this.element.maxSize=new W.Ro(l,b),this.element.minSize=new W.Ro(220,u),this._cappedHeight=a===d?{wanted:null!==(i=null===(n=this._cappedHeight)||void 0===n?void 0:n.wanted)&&void 0!==i?i:e.height,capped:a}:void 0}this._resize(s,a)}_resize(e,t){const{width:n,height:i}=this.element.maxSize;e=Math.min(n,e),t=Math.min(i,t);const{statusBarHeight:o}=this.getLayoutInfo();this._list.layout(t-o,e),this._listElement.style.height=t-o+"px",this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var e;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,2===(null===(e=this._contentWidget.getPosition())||void 0===e?void 0:e.preference[0]))}getLayoutInfo(){const e=this.editor.getOption(44),t=(0,jt.uZ)(this.editor.getOption(108)||e.lineHeight,8,1e3),n=this.editor.getOption(106).showStatusBar&&2!==this._state&&1!==this._state?t:0,i=this._details.widget.borderWidth,o=2*i;return{itemHeight:t,statusBarHeight:n,borderWidth:i,borderHeight:o,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new W.Ro(430,n+12*t+o)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(e){this._storageService.store("expandSuggestionDocs",e,0,0)}forceRenderingAbove(){this._forceRenderingAbove||(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};Ho.LOADING_MESSAGE=F.N("suggestWidget.loading","Loading..."),Ho.NO_SUGGESTIONS_MESSAGE=F.N("suggestWidget.noSuggestions","No suggestions."),Ho=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([jo(1,mt.Uy),jo(2,z.i6),jo(3,Qt.XE),jo(4,Oe.TG)],Ho);class Uo{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return!this._hidden&&this._position&&this._preference?{position:this._position,preference:[this._preference]}:null}beforeRender(){const{height:e,width:t}=this._widget.element.size,{borderWidth:n,horizontalPadding:i}=this._widget.getLayoutInfo();return new W.Ro(t+2*n+i,e+2*n)}afterRender(e){this._widget._afterRender(e)}setPreference(e){this._preferenceLocked||(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}var Qo=i(7983),Go=function(e,t){return function(n,i){t(n,i,e)}};class Ko{constructor(e,t){if(this._model=e,this._position=t,e.getLineMaxColumn(t.lineNumber)!==t.column){const n=e.getOffsetAt(t),i=e.getPositionAt(n+1);this._marker=e.deltaDecorations([],[{range:_.e.fromPositions(t,i),options:{description:"suggest-line-suffix",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){const t=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let Yo=class e{constructor(e,t,n,i,o,r,s){this._memoryService=t,this._commandService=n,this._contextKeyService=i,this._instantiationService=o,this._logService=r,this._telemetryService=s,this._lineSuffix=new u.XK,this._toDispose=new u.SL,this._selectors=new $o((e=>e.priority)),this._telemetryGate=0,this.editor=e,this.model=o.createInstance(Pt,this.editor);const l=Ce.InsertMode.bindTo(i);l.set(e.getOption(106).insertMode),this.model.onDidTrigger((()=>l.set(e.getOption(106).insertMode))),this.widget=this._toDispose.add(new a.Ue((()=>{const e=this._instantiationService.createInstance(Ho,this.editor);this._toDispose.add(e),this._toDispose.add(e.onDidSelect((e=>this._insertSuggestion(e,0)),this));const t=new Et(this.editor,e,(e=>this._insertSuggestion(e,2)));this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest((e=>{0===e.completionModel.items.length&&t.reset()})));const n=Ce.MakesTextEdit.bindTo(this._contextKeyService),i=Ce.HasInsertAndReplaceRange.bindTo(this._contextKeyService),o=Ce.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,u.OF)((()=>{n.reset(),i.reset(),o.reset()}))),this._toDispose.add(e.onDidFocus((({item:e})=>{const t=this.editor.getPosition(),r=e.editStart.column,a=t.column;let s=!0;"smart"!==this.editor.getOption(1)||2!==this.model.state||e.completion.additionalTextEdits||4&e.completion.insertTextRules||a-r!==e.completion.insertText.length||(s=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:r,endLineNumber:t.lineNumber,endColumn:a})!==e.completion.insertText),n.set(s),i.set(!b.L.equals(e.editInsertEnd,e.editReplaceEnd)),o.set(Boolean(e.provider.resolveCompletionItem)||Boolean(e.completion.documentation)||e.completion.detail!==e.completion.label)}))),this._toDispose.add(e.onDetailsKeyDown((e=>{e.toKeybinding().equals(new d.QC(!0,!1,!1,!1,33))||h.dz&&e.toKeybinding().equals(new d.QC(!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||this.editor.focus()}))),e}))),this._overtypingCapturer=this._toDispose.add(new a.Ue((()=>this._toDispose.add(new Ft(this.editor,this.model))))),this._alternatives=this._toDispose.add(new a.Ue((()=>this._toDispose.add(new xt(this.editor,this._contextKeyService))))),this._toDispose.add(o.createInstance(wt,e)),this._toDispose.add(this.model.onDidTrigger((e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new Ko(this.editor.getModel(),e.position)}))),this._toDispose.add(this.model.onDidSuggest((e=>{if(!e.shy){let t=-1;for(const n of this._selectors.itemsOrderedByPriorityDesc)if(t=n.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items),-1!==t)break;-1===t&&(t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items)),this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}}))),this._toDispose.add(this.model.onDidCancel((e=>{e.retrigger||this.widget.value.hideWidget()}))),this._toDispose.add(this.editor.onDidBlurEditorWidget((()=>{this.model.cancel(),this.model.clear()})));let c=Ce.AcceptSuggestionsOnEnter.bindTo(i),p=()=>{const e=this.editor.getOption(1);c.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration((()=>p()))),p()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(!e||!e.item)return this._alternatives.value.reset(),this.model.cancel(),void this.model.clear();if(!this.editor.hasModel())return;const n=dt.get(this.editor);if(!n)return;const i=this.editor.getModel(),o=i.getAlternativeVersionId(),{item:r}=e,a=[],c=new s.A;1&t||this.editor.pushUndoStop();const d=this.getOverwriteInfo(r,Boolean(8&t));if(this._memoryService.memorize(i,this.editor.getPosition(),r),Array.isArray(r.completion.additionalTextEdits)){const e=g.Z.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",r.completion.additionalTextEdits.map((e=>v.h.replace(_.e.lift(e.range),e.text)))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!r.isResolved){const e=new p.G(!0);let n;const o=i.onDidChangeContent((e=>{if(e.isFlush)return c.cancel(),void o.dispose();for(let t of e.changes){const e=_.e.getEndPosition(t.range);n&&!b.L.isBefore(e,n)||(n=e)}}));let s=t;t|=2;let l=!1,d=this.editor.onWillType((()=>{d.dispose(),l=!0,2&s||this.editor.pushUndoStop()}));a.push(r.resolve(c.token).then((()=>{if(!r.completion.additionalTextEdits||c.token.isCancellationRequested)return!1;if(n&&r.completion.additionalTextEdits.some((e=>b.L.isBefore(n,_.e.getStartPosition(e.range)))))return!1;l&&this.editor.pushUndoStop();const e=g.Z.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",r.completion.additionalTextEdits.map((e=>v.h.replace(_.e.lift(e.range),e.text)))),e.restoreRelativeVerticalPositionOfCursor(this.editor),!l&&2&s||this.editor.pushUndoStop(),!0})).then((t=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",e.elapsed(),t),o.dispose(),d.dispose()})))}let{insertText:u}=r.completion;4&r.completion.insertTextRules||(u=P.escape(u)),n.insert(u,{overwriteBefore:d.overwriteBefore,overwriteAfter:d.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&r.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),r.completion.command?r.completion.command.id===Jo.id?this.model.trigger({auto:!0,shy:!1},!0):(a.push(this._commandService.executeCommand(r.completion.command.id,...r.completion.command.arguments?[...r.completion.command.arguments]:[]).catch(l.dL)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,(e=>{for(c.cancel();i.canUndo();){o!==i.getAlternativeVersionId()&&i.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}})),this._alertCompletionItem(r),Promise.all(a).finally((()=>{this._reportSuggestionAcceptedTelemetry(i,e),this.model.clear(),c.dispose()}))}_reportSuggestionAcceptedTelemetry(e,t){var n;if(this._telemetryGate++%100!=0)return;const i=(null!==(n=t.item.provider._debugDisplayName)&&void 0!==n?n:"unknown").split("(",1)[0].toLowerCase();this._telemetryService.publicLog2("suggest.acceptedSuggestion",{providerId:i,basenameHash:(0,Qo.vp)((0,Ue.EZ)(e.uri)).toString(16),languageId:e.getLanguageId(),fileExtension:(0,Ue.DZ)(e.uri)})}getOverwriteInfo(e,t){(0,f.p_)(this.editor.hasModel());let n="replace"===this.editor.getOption(106).insertMode;t&&(n=!n);const i=e.position.column-e.editStart.column,o=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column;return{overwriteBefore:i+(this.editor.getPosition().column-e.position.column),overwriteAfter:o+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem(e){if((0,r.Of)(e.completion.additionalTextEdits)){let t=F.N("aria.alert.snippet","Accepting '{0}' made {1} additional edits",e.textLabel,e.completion.additionalTextEdits.length);(0,o.Z9)(t)}}triggerSuggest(e,t){this.editor.hasModel()&&(this.model.trigger({auto:null!=t&&t,shy:!1},!1,e),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;const t=this.editor.getPosition(),n=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},i=e=>{if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;const t=this.editor.getPosition(),n=e.editStart.column,i=t.column;return i-n!==e.completion.insertText.length||this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:n,endLineNumber:t.lineNumber,endColumn:i})!==e.completion.insertText};c.ju.once(this.model.onDidTrigger)((e=>{let t=[];c.ju.any(this.model.onDidTrigger,this.model.onDidCancel)((()=>{(0,u.B9)(t),n()}),void 0,t),this.model.onDidSuggest((({completionModel:e})=>{if((0,u.B9)(t),0===e.items.length)return void n();const o=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),r=e.items[o];i(r)?(this.editor.pushUndoStop(),this._insertSuggestion({index:o,item:r,model:e},7)):n()}),void 0,t)})),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(t,0),this.editor.focus()}acceptSelectedSuggestion(e,t){const n=this.widget.value.getFocusedItem();let i=0;e&&(i|=4),t&&(i|=8),this._insertSuggestion(n,i)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}registerSelector(e){return this._selectors.register(e)}};Yo.ID="editor.contrib.suggestController",Yo=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Go(1,At),Go(2,j.Hy),Go(3,z.i6),Go(4,Oe.TG),Go(5,Pe.VZ),Go(6,Tt.b)],Yo);class $o{constructor(e){this.prioritySelector=e,this._items=new Array}register(e){if(-1!==this._items.indexOf(e))throw new Error("Value is already registered");return this._items.push(e),this._items.sort(((e,t)=>this.prioritySelector(t)-this.prioritySelector(e))),{dispose:()=>{const t=this._items.indexOf(e);t>=0&&this._items.splice(t,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class Jo extends m.R6{constructor(){super({id:Jo.id,label:F.N("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:z.Ao.and(y.u.writable,y.u.hasCompletionItemProvider),kbOpts:{kbExpr:y.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t,n){const i=Yo.get(t);if(!i)return;let o;n&&"object"==typeof n&&!0===n.auto&&(o=!0),i.triggerSuggest(void 0,o)}}Jo.id="editor.action.triggerSuggest",(0,m._K)(Yo.ID,Yo),(0,m.Qr)(Jo);const qo=190,Zo=m._l.bindToContribution(Yo.get);(0,m.fK)(new Zo({id:"acceptSelectedSuggestion",precondition:Ce.Visible,handler(e){e.acceptSelectedSuggestion(!0,!1)}})),ue.W.registerKeybindingRule({id:"acceptSelectedSuggestion",when:z.Ao.and(Ce.Visible,y.u.textInputFocus),primary:2,weight:qo}),ue.W.registerKeybindingRule({id:"acceptSelectedSuggestion",when:z.Ao.and(Ce.Visible,y.u.textInputFocus,Ce.AcceptSuggestionsOnEnter,Ce.MakesTextEdit),primary:3,weight:qo}),R.BH.appendMenuItem(xe,{command:{id:"acceptSelectedSuggestion",title:F.N("accept.insert","Insert")},group:"left",order:1,when:Ce.HasInsertAndReplaceRange.toNegated()}),R.BH.appendMenuItem(xe,{command:{id:"acceptSelectedSuggestion",title:F.N("accept.insert","Insert")},group:"left",order:1,when:z.Ao.and(Ce.HasInsertAndReplaceRange,Ce.InsertMode.isEqualTo("insert"))}),R.BH.appendMenuItem(xe,{command:{id:"acceptSelectedSuggestion",title:F.N("accept.replace","Replace")},group:"left",order:1,when:z.Ao.and(Ce.HasInsertAndReplaceRange,Ce.InsertMode.isEqualTo("replace"))}),(0,m.fK)(new Zo({id:"acceptAlternativeSelectedSuggestion",precondition:z.Ao.and(Ce.Visible,y.u.textInputFocus),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:xe,group:"left",order:2,when:z.Ao.and(Ce.HasInsertAndReplaceRange,Ce.InsertMode.isEqualTo("insert")),title:F.N("accept.replace","Replace")},{menuId:xe,group:"left",order:2,when:z.Ao.and(Ce.HasInsertAndReplaceRange,Ce.InsertMode.isEqualTo("replace")),title:F.N("accept.insert","Insert")}]})),j.P0.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,m.fK)(new Zo({id:"hideSuggestWidget",precondition:Ce.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:9,secondary:[1033]}})),(0,m.fK)(new Zo({id:"selectNextSuggestion",precondition:z.Ao.and(Ce.Visible,Ce.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,m.fK)(new Zo({id:"selectNextPageSuggestion",precondition:z.Ao.and(Ce.Visible,Ce.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:12,secondary:[2060]}})),(0,m.fK)(new Zo({id:"selectLastSuggestion",precondition:z.Ao.and(Ce.Visible,Ce.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),(0,m.fK)(new Zo({id:"selectPrevSuggestion",precondition:z.Ao.and(Ce.Visible,Ce.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,m.fK)(new Zo({id:"selectPrevPageSuggestion",precondition:z.Ao.and(Ce.Visible,Ce.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:11,secondary:[2059]}})),(0,m.fK)(new Zo({id:"selectFirstSuggestion",precondition:z.Ao.and(Ce.Visible,Ce.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),(0,m.fK)(new Zo({id:"toggleSuggestionDetails",precondition:Ce.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:xe,group:"right",order:1,when:z.Ao.and(Ce.DetailsVisible,Ce.CanResolve),title:F.N("detail.more","show less")},{menuId:xe,group:"right",order:1,when:z.Ao.and(Ce.DetailsVisible.toNegated(),Ce.CanResolve),title:F.N("detail.less","show more")}]})),(0,m.fK)(new Zo({id:"toggleExplainMode",precondition:Ce.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),(0,m.fK)(new Zo({id:"toggleSuggestionFocus",precondition:Ce.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:2570,mac:{primary:778}}})),(0,m.fK)(new Zo({id:"insertBestCompletion",precondition:z.Ao.and(y.u.textInputFocus,z.Ao.equals("config.editor.tabCompletion","on"),wt.AtEnd,Ce.Visible.toNegated(),xt.OtherSuggestions.toNegated(),dt.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest((0,f.Kn)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:qo,primary:2}})),(0,m.fK)(new Zo({id:"insertNextSuggestion",precondition:z.Ao.and(y.u.textInputFocus,z.Ao.equals("config.editor.tabCompletion","on"),xt.OtherSuggestions,Ce.Visible.toNegated(),dt.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:2}})),(0,m.fK)(new Zo({id:"insertPrevSuggestion",precondition:z.Ao.and(y.u.textInputFocus,z.Ao.equals("config.editor.tabCompletion","on"),xt.OtherSuggestions,Ce.Visible.toNegated(),dt.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:qo,kbExpr:y.u.textInputFocus,primary:1026}})),(0,m.Qr)(class extends m.R6{constructor(){super({id:"editor.action.resetSuggestSize",label:F.N("suggest.reset.label","Reset Suggest Widget Size"),alias:"Reset Suggest Widget Size",precondition:void 0})}run(e,t){var n;null===(n=Yo.get(t))||void 0===n||n.resetWidgetSize()}})},977:(e,t,n)=>{n.r(t),n.d(t,{CancellationTokenSource:()=>fh,Emitter:()=>gh,KeyCode:()=>mh,KeyMod:()=>vh,MarkerSeverity:()=>wh,MarkerTag:()=>Ch,Position:()=>bh,Range:()=>_h,Selection:()=>yh,SelectionDirection:()=>Ah,Token:()=>Sh,Uri:()=>xh,editor:()=>Eh,languages:()=>kh});var i,o,r,a,s,l,c,d,u,h,p,f,g,m,v,b,_,y,A,w,C,x,S,E,k,M,D,N,I,T,L,B,O,P,F,R,j,z=n(7651),V=n(7809),W=n(9914),H=n(4797),U=n(6283),Q=n(873),G=n(208),K=n(2623),Y=n(2842);!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(r||(r={})),function(e){e[e.Deprecated=1]="Deprecated"}(a||(a={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(s||(s={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(l||(l={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(c||(c={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(u||(u={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(h||(h={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingDelete=6]="autoClosingDelete",e[e.autoClosingOvertype=7]="autoClosingOvertype",e[e.autoClosingQuotes=8]="autoClosingQuotes",e[e.autoIndent=9]="autoIndent",e[e.automaticLayout=10]="automaticLayout",e[e.autoSurround=11]="autoSurround",e[e.bracketPairColorization=12]="bracketPairColorization",e[e.guides=13]="guides",e[e.codeLens=14]="codeLens",e[e.codeLensFontFamily=15]="codeLensFontFamily",e[e.codeLensFontSize=16]="codeLensFontSize",e[e.colorDecorators=17]="colorDecorators",e[e.columnSelection=18]="columnSelection",e[e.comments=19]="comments",e[e.contextmenu=20]="contextmenu",e[e.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",e[e.cursorBlinking=22]="cursorBlinking",e[e.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",e[e.cursorStyle=24]="cursorStyle",e[e.cursorSurroundingLines=25]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",e[e.cursorWidth=27]="cursorWidth",e[e.disableLayerHinting=28]="disableLayerHinting",e[e.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",e[e.domReadOnly=30]="domReadOnly",e[e.dragAndDrop=31]="dragAndDrop",e[e.emptySelectionClipboard=32]="emptySelectionClipboard",e[e.extraEditorClassName=33]="extraEditorClassName",e[e.fastScrollSensitivity=34]="fastScrollSensitivity",e[e.find=35]="find",e[e.fixedOverflowWidgets=36]="fixedOverflowWidgets",e[e.folding=37]="folding",e[e.foldingStrategy=38]="foldingStrategy",e[e.foldingHighlight=39]="foldingHighlight",e[e.foldingImportsByDefault=40]="foldingImportsByDefault",e[e.foldingMaximumRegions=41]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=42]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=43]="fontFamily",e[e.fontInfo=44]="fontInfo",e[e.fontLigatures=45]="fontLigatures",e[e.fontSize=46]="fontSize",e[e.fontWeight=47]="fontWeight",e[e.formatOnPaste=48]="formatOnPaste",e[e.formatOnType=49]="formatOnType",e[e.glyphMargin=50]="glyphMargin",e[e.gotoLocation=51]="gotoLocation",e[e.hideCursorInOverviewRuler=52]="hideCursorInOverviewRuler",e[e.hover=53]="hover",e[e.inDiffEditor=54]="inDiffEditor",e[e.inlineSuggest=55]="inlineSuggest",e[e.letterSpacing=56]="letterSpacing",e[e.lightbulb=57]="lightbulb",e[e.lineDecorationsWidth=58]="lineDecorationsWidth",e[e.lineHeight=59]="lineHeight",e[e.lineNumbers=60]="lineNumbers",e[e.lineNumbersMinChars=61]="lineNumbersMinChars",e[e.linkedEditing=62]="linkedEditing",e[e.links=63]="links",e[e.matchBrackets=64]="matchBrackets",e[e.minimap=65]="minimap",e[e.mouseStyle=66]="mouseStyle",e[e.mouseWheelScrollSensitivity=67]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=68]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=69]="multiCursorMergeOverlapping",e[e.multiCursorModifier=70]="multiCursorModifier",e[e.multiCursorPaste=71]="multiCursorPaste",e[e.occurrencesHighlight=72]="occurrencesHighlight",e[e.overviewRulerBorder=73]="overviewRulerBorder",e[e.overviewRulerLanes=74]="overviewRulerLanes",e[e.padding=75]="padding",e[e.parameterHints=76]="parameterHints",e[e.peekWidgetDefaultFocus=77]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=78]="definitionLinkOpensInPeek",e[e.quickSuggestions=79]="quickSuggestions",e[e.quickSuggestionsDelay=80]="quickSuggestionsDelay",e[e.readOnly=81]="readOnly",e[e.renameOnType=82]="renameOnType",e[e.renderControlCharacters=83]="renderControlCharacters",e[e.renderFinalNewline=84]="renderFinalNewline",e[e.renderLineHighlight=85]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=87]="renderValidationDecorations",e[e.renderWhitespace=88]="renderWhitespace",e[e.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",e[e.roundedSelection=90]="roundedSelection",e[e.rulers=91]="rulers",e[e.scrollbar=92]="scrollbar",e[e.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=94]="scrollBeyondLastLine",e[e.scrollPredominantAxis=95]="scrollPredominantAxis",e[e.selectionClipboard=96]="selectionClipboard",e[e.selectionHighlight=97]="selectionHighlight",e[e.selectOnLineNumbers=98]="selectOnLineNumbers",e[e.showFoldingControls=99]="showFoldingControls",e[e.showUnused=100]="showUnused",e[e.snippetSuggestions=101]="snippetSuggestions",e[e.smartSelect=102]="smartSelect",e[e.smoothScrolling=103]="smoothScrolling",e[e.stickyTabStops=104]="stickyTabStops",e[e.stopRenderingLineAfter=105]="stopRenderingLineAfter",e[e.suggest=106]="suggest",e[e.suggestFontSize=107]="suggestFontSize",e[e.suggestLineHeight=108]="suggestLineHeight",e[e.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",e[e.suggestSelection=110]="suggestSelection",e[e.tabCompletion=111]="tabCompletion",e[e.tabIndex=112]="tabIndex",e[e.unicodeHighlighting=113]="unicodeHighlighting",e[e.unusualLineTerminators=114]="unusualLineTerminators",e[e.useShadowDOM=115]="useShadowDOM",e[e.useTabStops=116]="useTabStops",e[e.wordSeparators=117]="wordSeparators",e[e.wordWrap=118]="wordWrap",e[e.wordWrapBreakAfterCharacters=119]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=120]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=121]="wordWrapColumn",e[e.wordWrapOverride1=122]="wordWrapOverride1",e[e.wordWrapOverride2=123]="wordWrapOverride2",e[e.wrappingIndent=124]="wrappingIndent",e[e.wrappingStrategy=125]="wrappingStrategy",e[e.showDeprecated=126]="showDeprecated",e[e.inlayHints=127]="inlayHints",e[e.editorClassName=128]="editorClassName",e[e.pixelRatio=129]="pixelRatio",e[e.tabFocusMode=130]="tabFocusMode",e[e.layoutInfo=131]="layoutInfo",e[e.wrappingInfo=132]="wrappingInfo"}(p||(p={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(f||(f={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(m||(m={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(v||(v={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(b||(b={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(_||(_={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.Semicolon=80]="Semicolon",e[e.Equal=81]="Equal",e[e.Comma=82]="Comma",e[e.Minus=83]="Minus",e[e.Period=84]="Period",e[e.Slash=85]="Slash",e[e.Backquote=86]="Backquote",e[e.BracketLeft=87]="BracketLeft",e[e.Backslash=88]="Backslash",e[e.BracketRight=89]="BracketRight",e[e.Quote=90]="Quote",e[e.OEM_8=91]="OEM_8",e[e.IntlBackslash=92]="IntlBackslash",e[e.Numpad0=93]="Numpad0",e[e.Numpad1=94]="Numpad1",e[e.Numpad2=95]="Numpad2",e[e.Numpad3=96]="Numpad3",e[e.Numpad4=97]="Numpad4",e[e.Numpad5=98]="Numpad5",e[e.Numpad6=99]="Numpad6",e[e.Numpad7=100]="Numpad7",e[e.Numpad8=101]="Numpad8",e[e.Numpad9=102]="Numpad9",e[e.NumpadMultiply=103]="NumpadMultiply",e[e.NumpadAdd=104]="NumpadAdd",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=106]="NumpadSubtract",e[e.NumpadDecimal=107]="NumpadDecimal",e[e.NumpadDivide=108]="NumpadDivide",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.AudioVolumeMute=112]="AudioVolumeMute",e[e.AudioVolumeUp=113]="AudioVolumeUp",e[e.AudioVolumeDown=114]="AudioVolumeDown",e[e.BrowserSearch=115]="BrowserSearch",e[e.BrowserHome=116]="BrowserHome",e[e.BrowserBack=117]="BrowserBack",e[e.BrowserForward=118]="BrowserForward",e[e.MediaTrackNext=119]="MediaTrackNext",e[e.MediaTrackPrevious=120]="MediaTrackPrevious",e[e.MediaStop=121]="MediaStop",e[e.MediaPlayPause=122]="MediaPlayPause",e[e.LaunchMediaPlayer=123]="LaunchMediaPlayer",e[e.LaunchMail=124]="LaunchMail",e[e.LaunchApp2=125]="LaunchApp2",e[e.Clear=126]="Clear",e[e.MAX_VALUE=127]="MAX_VALUE"}(y||(y={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(A||(A={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(w||(w={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(x||(x={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(S||(S={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(E||(E={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None"}(k||(k={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(M||(M={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(D||(D={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(N||(N={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(I||(I={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(T||(T={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(L||(L={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(B||(B={})),function(e){e[e.Deprecated=1]="Deprecated"}(O||(O={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(P||(P={})),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"}(F||(F={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(R||(R={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(j||(j={}));class ${static chord(e,t){return(0,H.gx)(e,t)}}function J(){return{editor:void 0,languages:void 0,CancellationTokenSource:V.A,Emitter:W.Q5,KeyCode:y,KeyMod:$,Position:Q.L,Range:G.e,Selection:K.Y,SelectionDirection:T,MarkerSeverity:A,MarkerTag:w,Uri:U.o,Token:Y.WU}}$.CtrlCmd=2048,$.Shift=1024,$.Alt=512,$.WinCtrl=256;var q=n(941),Z=n.n(q),X=n(8454);Z()(X.Z,{insert:"head",singleton:!1}),X.Z.locals;var ee=n(8241),te=n(4342),ne=n(4975),ie=n(6141),oe=n(5666),re=n(5440);const ae={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class se extends oe.JT{constructor(e,t={}){super(),this._onDidUpdate=this._register(new W.Q5),this._editor=e,this._options=re.jB(t,ae,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose((()=>this.dispose()))),this._register(this._editor.onDidUpdateDiff((()=>this._onDiffUpdated()))),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition((e=>{this.ignoreSelectionChange||(this.nextIdx=-1)}))),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel((e=>{this.revealFirst=!0}))),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach((e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach((e=>{this.ranges.push({rhs:!0,range:new G.e(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})})):0===e.modifiedEndLineNumber?this.ranges.push({rhs:!0,range:new G.e(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new G.e(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber+1,1)})})),this.ranges.sort(((e,t)=>G.e.compareRangesUsingStarts(e.range,t.range))),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1;const n=this._editor.getPosition();if(n){for(let i=0,o=this.ranges.length;i<o&&!t;i++){const o=this.ranges[i].range;n.isBeforeOrEqual(o.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0}_move(e,t){if(ie.ok(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const e=n.range.getStartPosition();this._editor.setPosition(e),this._editor.revealRangeInCenter(n.range,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}var le=n(9326),ce=n(353),de=n(3701),ue=n(4384),he=n(2600),pe=n(4526),fe=n(8268),ge=n(7685),me=n(7943),ve=n(1204),be=n(8725);let _e=!1;function ye(e){ve.$L&&(_e||(_e=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class Ae{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.method=n,this.args=i,this.type=0}}class we{constructor(e,t,n,i){this.vsWorker=e,this.seq=t,this.res=n,this.err=i,this.type=1}}class Ce{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=i,this.type=2}}class xe{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class Se{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Ee{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise(((i,o)=>{this._pendingReplies[n]={resolve:i,reject:o},this._send(new Ae(this._workerId,n,e,t))}))}listen(e,t){let n=null;const i=new W.Q5({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,i),this._send(new Ce(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new Se(this._workerId,n)),n=null}});return i.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new we(this._workerId,t,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=(0,me.ri)(e.detail)),this._send(new we(this._workerId,t,void 0,(0,me.ri)(e)))}))}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new xe(this._workerId,t,e))}));this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){let t=[];if(0===e.type)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&t.push(e.args[n]);else 1===e.type&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}class ke extends oe.JT{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",(e=>{this._protocol.handleMessage(e)}),(e=>{i&&i(e)}))),this._protocol=new Ee({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}},handleEvent:(e,t)=>{if(De(e)){const i=n[e].call(n,t);if("function"!=typeof i)throw new Error(`Missing dynamic event ${e} on main thread host.`);return i}if(Me(e)){const t=n[e];if("function"!=typeof t)throw new Error(`Missing event ${e} on main thread host.`);return t}throw new Error(`Malformed event name ${e}`)}}),this._protocol.setWorkerId(this._worker.getId());let o=null;void 0!==ve.li.require&&"function"==typeof ve.li.require.getConfig?o=ve.li.require.getConfig():void 0!==ve.li.requirejs&&(o=ve.li.requirejs.s.contexts._.config);const r=be.$E(n);this._onModuleLoaded=this._protocol.sendMessage("$initialize",[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,r]);const a=(e,t)=>this._request(e,t),s=(e,t)=>this._protocol.listen(e,t);this._lazyProxy=new Promise(((e,n)=>{i=n,this._onModuleLoaded.then((t=>{e(function(e,t,n){const i=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},o=e=>function(t){return n(e,t)};let r={};for(const t of e)De(t)?r[t]=o(t):Me(t)?r[t]=n(t,void 0):r[t]=i(t);return r}(t,a,s))}),(e=>{n(e),this._onError("Worker failed to load "+t,e)}))}))}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise(((n,i)=>{this._onModuleLoaded.then((()=>{this._protocol.sendMessage(e,t).then(n,i)}),i)}))}_onError(e,t){console.error(e),console.info(t)}}function Me(e){return"o"===e[0]&&"n"===e[1]&&ee.df(e.charCodeAt(2))}function De(e){return/^onDynamic/.test(e)&&ee.df(e.charCodeAt(9))}var Ne;const Ie=null===(Ne=window.trustedTypes)||void 0===Ne?void 0:Ne.createPolicy("defaultWorkerFactory",{createScriptURL:e=>e});class Te{constructor(e,t,n,i,o){this.id=t;const r=function(e){if(ve.li.MonacoEnvironment){if("function"==typeof ve.li.MonacoEnvironment.getWorker)return ve.li.MonacoEnvironment.getWorker("workerMain.js",e);if("function"==typeof ve.li.MonacoEnvironment.getWorkerUrl){const t=ve.li.MonacoEnvironment.getWorkerUrl("workerMain.js",e);return new Worker(Ie?Ie.createScriptURL(t):t,{name:e})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}(n);"function"==typeof r.then?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e,[]),this.worker.then((e=>{e.onmessage=function(e){i(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)}))}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then((n=>n.postMessage(e,t)))}dispose(){this.worker&&this.worker.then((e=>e.terminate())),this.worker=null}}class Le{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let i=++Le.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Te(e,i,this._label||"anonymous"+i,t,(e=>{ye(e),this._webWorkerFailedBeforeError=e,n(e)}))}}Le.LAST_WORKER_ID=0;class Be{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var Oe=n(7983);class Pe{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function Fe(e,t,n){return new Ve(new Pe(e),new Pe(t)).ComputeDiff(n).changes}class Re{static Assert(e,t){if(!e)throw new Error(t)}}class je{static Copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}static Copy2(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}}class ze{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Be(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ve{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[i,o,r]=Ve._getElements(e),[a,s,l]=Ve._getElements(t);this._hasStrings=r&&l,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(Ve._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)e[n]=(0,Oe.Cv)(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}ElementsAreStrictEqual(e,t){return!!this.ElementsAreEqual(e,t)&&Ve._getStrictElement(this._originalSequence,e)===Ve._getStrictElement(this._modifiedSequence,t)}static _getStrictElement(e,t){return"function"==typeof e.getStrictElement?e.getStrictElement(t):null}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,i,o){const r=[!1];let a=this.ComputeDiffRecursive(e,t,n,i,r);return o&&(a=this.PrettifyChanges(a)),{quitEarly:r[0],changes:a}}ComputeDiffRecursive(e,t,n,i,o){for(o[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let o;return n<=i?(Re.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new Be(e,0,n,i-n+1)]):e<=t?(Re.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[new Be(e,t-e+1,n,0)]):(Re.Assert(e===t+1,"originalStart should only be one more than originalEnd"),Re.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const r=[0],a=[0],s=this.ComputeRecursionPoint(e,t,n,i,r,a,o),l=r[0],c=a[0];if(null!==s)return s;if(!o[0]){const r=this.ComputeDiffRecursive(e,l,n,c,o);let a=[];return a=o[0]?[new Be(l+1,t-(l+1)+1,c+1,i-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,i,o),this.ConcatenateChanges(r,a)}return[new Be(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,o,r,a,s,l,c,d,u,h,p,f,g,m,v){let b=null,_=null,y=new ze,A=t,w=n,C=h[0]-g[0]-i,x=-1073741824,S=this.m_forwardHistory.length-1;do{const t=C+e;t===A||t<w&&l[t-1]<l[t+1]?(p=(d=l[t+1])-C-i,d<x&&y.MarkNextChange(),x=d,y.AddModifiedElement(d+1,p),C=t+1-e):(p=(d=l[t-1]+1)-C-i,d<x&&y.MarkNextChange(),x=d-1,y.AddOriginalElement(d,p+1),C=t-1-e),S>=0&&(e=(l=this.m_forwardHistory[S])[0],A=1,w=l.length-1)}while(--S>=-1);if(b=y.getReverseChanges(),v[0]){let e=h[0]+1,t=g[0]+1;if(null!==b&&b.length>0){const n=b[b.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}_=[new Be(e,u-e+1,t,f-t+1)]}else{y=new ze,A=r,w=a,C=h[0]-g[0]-s,x=1073741824,S=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=C+o;e===A||e<w&&c[e-1]>=c[e+1]?(p=(d=c[e+1]-1)-C-s,d>x&&y.MarkNextChange(),x=d+1,y.AddOriginalElement(d+1,p+1),C=e+1-o):(p=(d=c[e-1])-C-s,d>x&&y.MarkNextChange(),x=d,y.AddModifiedElement(d+1,p+1),C=e-1-o),S>=0&&(o=(c=this.m_reverseHistory[S])[0],A=1,w=c.length-1)}while(--S>=-1);_=y.getChanges()}return this.ConcatenateChanges(b,_)}ComputeRecursionPoint(e,t,n,i,o,r,a){let s=0,l=0,c=0,d=0,u=0,h=0;e--,n--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const p=t-e+(i-n),f=p+1,g=new Int32Array(f),m=new Int32Array(f),v=i-n,b=t-e,_=e-n,y=t-i,A=(b-v)%2==0;g[v]=e,m[b]=t,a[0]=!1;for(let w=1;w<=p/2+1;w++){let p=0,C=0;c=this.ClipDiagonalBound(v-w,w,v,f),d=this.ClipDiagonalBound(v+w,w,v,f);for(let e=c;e<=d;e+=2){s=e===c||e<d&&g[e-1]<g[e+1]?g[e+1]:g[e-1]+1,l=s-(e-v)-_;const n=s;for(;s<t&&l<i&&this.ElementsAreEqual(s+1,l+1);)s++,l++;if(g[e]=s,s+l>p+C&&(p=s,C=l),!A&&Math.abs(e-b)<=w-1&&s>=m[e])return o[0]=s,r[0]=l,n<=m[e]&&w<=1448?this.WALKTRACE(v,c,d,_,b,u,h,y,g,m,s,t,o,l,i,r,A,a):null}const x=(p-e+(C-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(p,x))return a[0]=!0,o[0]=p,r[0]=C,x>0&&w<=1448?this.WALKTRACE(v,c,d,_,b,u,h,y,g,m,s,t,o,l,i,r,A,a):(e++,n++,[new Be(e,t-e+1,n,i-n+1)]);u=this.ClipDiagonalBound(b-w,w,b,f),h=this.ClipDiagonalBound(b+w,w,b,f);for(let p=u;p<=h;p+=2){s=p===u||p<h&&m[p-1]>=m[p+1]?m[p+1]-1:m[p-1],l=s-(p-b)-y;const f=s;for(;s>e&&l>n&&this.ElementsAreEqual(s,l);)s--,l--;if(m[p]=s,A&&Math.abs(p-v)<=w&&s<=g[p])return o[0]=s,r[0]=l,f>=g[p]&&w<=1448?this.WALKTRACE(v,c,d,_,b,u,h,y,g,m,s,t,o,l,i,r,A,a):null}if(w<=1447){let e=new Int32Array(d-c+2);e[0]=v-c+1,je.Copy2(g,c,e,1,d-c+1),this.m_forwardHistory.push(e),e=new Int32Array(h-u+2),e[0]=b-u+1,je.Copy2(m,u,e,1,h-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,c,d,_,b,u,h,y,g,m,s,t,o,l,i,r,A,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,r=n.originalLength>0,a=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<o&&(!r||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){const e=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!e)break;n.originalStart++,n.modifiedStart++}let s=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],s)&&(e[t]=s[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,o=0;if(t>0){const n=e[t-1];i=n.originalStart+n.originalLength,o=n.modifiedStart+n.modifiedLength}const r=n.originalLength>0,a=n.modifiedLength>0;let s=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<i||c<o)break;if(r&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const d=(t===i&&c===o?5:0)+this._boundaryScore(t,n.originalLength,c,n.modifiedLength);d>l&&(l=d,s=e)}n.originalStart-=s,n.modifiedStart-=s;const c=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],c)&&(e[t-1]=c[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t<n;t++){const n=e[t-1],i=e[t],o=i.originalStart-n.originalStart-n.originalLength,r=n.originalStart,a=i.originalStart+i.originalLength,s=a-r,l=n.modifiedStart,c=i.modifiedStart+i.modifiedLength,d=c-l;if(o<5&&s<20&&d<20){const e=this._findBetterContiguousSequence(r,s,l,d,o);if(e){const[t,r]=e;t===n.originalStart+n.originalLength&&r===n.modifiedStart+n.modifiedLength||(n.originalLength=t-n.originalStart,n.modifiedLength=r-n.modifiedStart,i.originalStart=t+o,i.modifiedStart=r+o,i.originalLength=a-i.originalStart,i.modifiedLength=c-i.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,n,i,o){if(t<o||i<o)return null;const r=e+t-o+1,a=n+i-o+1;let s=0,l=0,c=0;for(let t=e;t<r;t++)for(let e=n;e<a;e++){const n=this._contiguousSequenceScore(t,e,o);n>0&&n>s&&(s=n,l=t,c=e)}return s>0?[l,c]:null}_contiguousSequenceScore(e,t,n){let i=0;for(let o=0;o<n;o++){if(!this.ElementsAreEqual(e+o,t+o))return 0;i+=this._originalStringElements[e+o].length}return i}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return je.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],je.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return je.Copy(e,0,n,0,e.length),je.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(Re.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),Re.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let o=e.originalLength;const r=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Be(i,o,r,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const o=t%2==0;return e<0?o===(n%2==0)?0:1:o===((i-n-1)%2==0)?i-1:i-2}}function We(e,t,n,i){return new Ve(e,t,n).ComputeDiff(i)}class He{constructor(e){const t=[],n=[];for(let i=0,o=e.length;i<o;i++)t[i]=Ye(e[i],1),n[i]=$e(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const i=[],o=[],r=[];let a=0;for(let s=t;s<=n;s++){const t=this.lines[s],n=e?this._startColumns[s]:1,l=e?this._endColumns[s]:t.length+1;for(let e=n;e<l;e++)i[a]=t.charCodeAt(e-1),o[a]=s+1,r[a]=e,a++}return new Ue(i,o,r)}}class Ue{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class Qe{constructor(e,t,n,i,o,r,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=o,this.modifiedStartColumn=r,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){let i,o,r,a,s,l,c,d;return 0===e.originalLength?(i=0,o=0,r=0,a=0):(i=t.getStartLineNumber(e.originalStart),o=t.getStartColumn(e.originalStart),r=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(s=0,l=0,c=0,d=0):(s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new Qe(i,o,r,a,s,l,c,d)}}class Ge{constructor(e,t,n,i,o){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=o}static createFromDiffResult(e,t,n,i,o,r,a){let s,l,c,d,u;if(0===t.originalLength?(s=n.getStartLineNumber(t.originalStart)-1,l=0):(s=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=i.getStartLineNumber(t.modifiedStart)-1,d=0):(c=i.getStartLineNumber(t.modifiedStart),d=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),r&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&o()){const r=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=We(r,s,o,!0).changes;a&&(l=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,o=e.length;i<o;i++){const o=e[i],r=o.originalStart-(n.originalStart+n.originalLength),a=o.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(r,a)<3?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}(l)),u=[];for(let e=0,t=l.length;e<t;e++)u.push(Qe.createFromDiffChange(l[e],r,s))}return new Ge(s,l,c,d,u)}}class Ke{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new He(e),this.modified=new He(t),this.continueLineDiff=Je(n.maxComputationTime),this.continueCharDiff=Je(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return 1===this.modified.lines.length&&0===this.modified.lines[0].length?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=We(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(Ge.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const i=[];let o=0,r=0;for(let e=-1,n=t.length;e<n;e++){const a=e+1<n?t[e+1]:null,s=a?a.originalStart:this.originalLines.length,l=a?a.modifiedStart:this.modifiedLines.length;for(;o<s&&r<l;){const e=this.originalLines[o],t=this.modifiedLines[r];if(e!==t){{let n=Ye(e,1),a=Ye(t,1);for(;n>1&&a>1&&e.charCodeAt(n-2)===t.charCodeAt(a-2);)n--,a--;(n>1||a>1)&&this._pushTrimWhitespaceCharChange(i,o+1,1,n,r+1,1,a)}{let n=$e(e,1),a=$e(t,1);const s=e.length+1,l=t.length+1;for(;n<s&&a<l&&e.charCodeAt(n-1)===e.charCodeAt(a-1);)n++,a++;(n<s||a<l)&&this._pushTrimWhitespaceCharChange(i,o+1,n,s,r+1,a,l)}}o++,r++}a&&(i.push(Ge.createFromDiffResult(this.shouldIgnoreTrimWhitespace,a,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),o+=a.originalLength,r+=a.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,o,r,a){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,o,r,a))return;let s;this.shouldComputeCharChanges&&(s=[new Qe(t,n,t,i,o,r,o,a)]),e.push(new Ge(t,t,o,o,s))}_mergeTrimWhitespaceCharChange(e,t,n,i,o,r,a){const s=e.length;if(0===s)return!1;const l=e[s-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===o&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new Qe(t,n,t,i,o,r,o,a)),!0)}}function Ye(e,t){const n=ee.LC(e);return-1===n?t:n+1}function $e(e,t){const n=ee.ow(e);return-1===n?t:n+2}function Je(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}var qe=n(5055),Ze=n(318),Xe=n(7595);class et{constructor(e,t,n){const i=new Uint8Array(e*t);for(let o=0,r=e*t;o<r;o++)i[o]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class tt{constructor(e){let t=0,n=0;for(let i=0,o=e.length;i<o;i++){const[o,r,a]=e[i];r>t&&(t=r),o>n&&(n=o),a>n&&(n=a)}t++,n++;const i=new et(n,t,0);for(let t=0,n=e.length;t<n;t++){const[n,o,r]=e[t];i.set(n,o,r)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let nt=null,it=null;class ot{static _createLink(e,t,n,i,o){let r=o-1;do{const n=t.charCodeAt(r);if(2!==e.get(n))break;r--}while(r>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(r);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}}static computeLinks(e,t=function(){return null===nt&&(nt=new tt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),nt}()){const n=function(){if(null===it){it=new Xe.N(0);const e=" \t<>'\"ใ€ใ€‚๏ฝก๏ฝค๏ผŒ๏ผŽ๏ผš๏ผ›โ€˜ใ€ˆใ€Œใ€Žใ€”๏ผˆ๏ผป๏ฝ›๏ฝข๏ฝฃ๏ฝ๏ผฝ๏ผ‰ใ€•ใ€ใ€ใ€‰โ€™๏ฝ€๏ฝžโ€ฆ";for(let t=0;t<e.length;t++)it.set(e.charCodeAt(t),1);const t=".,;";for(let e=0;e<t.length;e++)it.set(t.charCodeAt(e),2)}return it}(),i=[];for(let o=1,r=e.getLineCount();o<=r;o++){const r=e.getLineContent(o),a=r.length;let s=0,l=0,c=0,d=1,u=!1,h=!1,p=!1,f=!1;for(;s<a;){let e=!1;const a=r.charCodeAt(s);if(13===d){let t;switch(a){case 40:u=!0,t=0;break;case 41:t=u?0:1;break;case 91:p=!0,h=!0,t=0;break;case 93:p=!1,t=h?0:1;break;case 123:f=!0,t=0;break;case 125:t=f?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=p?0:1;break;default:t=n.get(a)}1===t&&(i.push(ot._createLink(n,r,o,l,s)),e=!0)}else if(12===d){let t;91===a?(h=!0,t=0):t=n.get(a),1===t?e=!0:d=13}else d=t.nextState(d,a),0===d&&(e=!0);e&&(d=1,u=!1,h=!1,f=!1,l=s+1,c=a),s++}13===d&&i.push(ot._createLink(n,r,o,l,a))}return i}}class rt{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,i,o){if(e&&t){const n=this.doNavigateValueSet(t,o);if(n)return{range:e,value:n}}if(n&&i){const e=this.doNavigateValueSet(i,o);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){const n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){const n=Math.pow(10,e.length-(e.lastIndexOf(".")+1));let i=Number(e),o=parseFloat(e);return isNaN(i)||isNaN(o)||i!==o?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let o=0,r=e.length;null===i&&o<r;o++)i=this.valueSetReplace(e[o],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}rt.INSTANCE=new rt;var at=n(6639),st=n(1860);class lt{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=ee.ZK.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of ee.vU.codePoints)ct(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,o=!1;if(t)for(let e of t){const t=e.codePointAt(0),n=ee.$i(e);i=i||n,n||this.ambiguousCharacters.isAmbiguous(t)||ee.vU.isInvisibleCharacter(t)||(o=!0)}return!i&&o?0:this.options.invisibleCharacters&&!ct(e)&&ee.vU.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function ct(e){return" "===e||"\n"===e||"\t"===e}var dt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class ut extends class{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new Q.L(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new qe.oQ(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;const n=(0,ee.uq)(t);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);const i=new Uint32Array(n.length-1);for(let t=1;t<n.length;t++)this._lines.splice(e.lineNumber+t-1,0,n[t]),i[t-1]=n[t].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=(0,Ze.t2)(e.column,(0,Ze.eq)(t),this._lines[e.lineNumber-1],0);return n?new G.e(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,o="",r=0,a=[];return{*[Symbol.iterator](){for(;;)if(r<a.length){const e=o.substring(a[r].start,a[r].end);r+=1,yield e}else{if(!(i<t.length))break;o=t[i],a=n(o,e),r=0,i+=1}}}}getLineWords(e,t){const n=this._lines[e-1],i=this._wordenize(n,t),o=[];for(const e of i)o.push({word:n.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return o}_wordenize(e,t){const n=[];let i;for(t.lastIndex=0;(i=t.exec(e))&&0!==i[0].length;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);const t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,o=[];o.push(this._lines[n].substring(e.startColumn-1));for(let e=n+1;e<i;e++)o.push(this._lines[e]);return o.push(this._lines[i].substring(0,e.endColumn-1)),o.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();const t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!Q.L.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class ht{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach((t=>e.push(this._models[t]))),e}acceptNewModel(e){this._models[e.url]=new ut(U.o.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){this._models[e]&&this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return dt(this,void 0,void 0,(function*(){const i=this._getModel(e);return i?class{static computeUnicodeHighlights(e,t,n){const i=n?n.startLineNumber:1,o=n?n.endLineNumber:e.getLineCount(),r=new lt(t),a=r.getCandidateCodePoints();let s;var l;s="allNonBasicAscii"===a?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp((l=Array.from(a),`[${ee.ec(l.map((e=>String.fromCodePoint(e))).join(""))}]`),"g");const c=new st.sz(null,s),d=[];let u,h=!1,p=0,f=0,g=0;e:for(let t=i,n=o;t<=n;t++){const n=e.getLineContent(t),i=n.length;c.reset(0);do{if(u=c.next(n),u){let e=u.index,o=u.index+u[0].length;if(e>0){const t=n.charCodeAt(e-1);ee.ZG(t)&&e--}if(o+1<i){const e=n.charCodeAt(o-1);ee.ZG(e)&&o++}const a=n.substring(e,o),s=(0,Ze.t2)(e+1,Ze.Af,n,0),l=r.shouldHighlightNonBasicASCII(a,s?s.word:null);if(0!==l){3===l?p++:2===l?f++:1===l?g++:(0,be.vE)(l);const n=1e3;if(d.length>=n){h=!0;break e}d.push(new G.e(t,e+1,t,o+1))}}}while(u)}return{ranges:d,hasMore:h,ambiguousCharacterCount:p,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:g}}static computeUnicodeHighlightReason(e,t){const n=new lt(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const i=e.codePointAt(0),o=n.ambiguousCharacters.getPrimaryConfusable(i),r=ee.ZK.getLocales().filter((e=>!ee.ZK.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(i)));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:r}}case 1:return{kind:2}}}}.computeUnicodeHighlights(i,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,i){return dt(this,void 0,void 0,(function*(){const o=this._getModel(e),r=this._getModel(t);if(!o||!r)return null;const a=o.getLinesContent(),s=r.getLinesContent(),l=new Ke(a,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(o,r);return{quitEarly:l.quitEarly,identical:c,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let i=1;i<=n;i++)if(e.getLineContent(i)!==t.getLineContent(i))return!1;return!0}computeMoreMinimalEdits(e,t){return dt(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o;t=t.slice(0).sort(((e,t)=>e.range&&t.range?G.e.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)));for(let{range:e,text:r,eol:a}of t){if("number"==typeof a&&(o=a),G.e.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>ht._diffLimit){i.push({range:e,text:r});continue}const s=Fe(t,r,!1),l=n.offsetAt(G.e.lift(e).getStartPosition());for(const e of s){const t=n.positionAt(l+e.originalStart),o=n.positionAt(l+e.originalStart+e.originalLength),a={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(a.range)!==a.text&&i.push(a)}}return"number"==typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return dt(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?ot.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,i){return dt(this,void 0,void 0,(function*(){const o=new at.G(!0),r=new RegExp(n,i),a=new Set;e:for(let n of e){const e=this._getModel(n);if(e)for(let n of e.words(r))if(n!==t&&isNaN(Number(n))&&(a.add(n),a.size>ht._suggestionsLimit))break e}return{words:Array.from(a),duration:o.elapsed()}}))}computeWordRanges(e,t,n,i){return dt(this,void 0,void 0,(function*(){const o=this._getModel(e);if(!o)return Object.create(null);const r=new RegExp(n,i),a=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){const t=o.getLineWords(e,r);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=a[n.word];t||(t=[],a[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return a}))}navigateValueSet(e,t,n,i,o){return dt(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return null;const a=new RegExp(i,o);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});const s=r.getValueInRange(t),l=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!l)return null;const c=r.getValueInRange(l);return rt.INSTANCE.navigateValueSet(t,s,l,c,n)}))}loadForeignModule(e,t,n){const i={host:be.IU(n,((e,t)=>this._host.fhr(e,t))),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(be.$E(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}ht._diffLimit=1e5,ht._suggestionsLimit=1e4,"function"==typeof importScripts&&(ve.li.monaco=J());var pt=n(7696);const ft=(0,pt.yh)("textResourceConfigurationService"),gt=(0,pt.yh)("textResourcePropertiesService");var mt=n(6918),vt=n(1990),bt=n(2819),_t=function(e,t){return function(n,i){t(n,i,e)}},yt=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};function At(e,t){const n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}let wt=class extends oe.JT{constructor(e,t,n,i,o){super(),this._modelService=e,this._workerManager=this._register(new xt(this._modelService,i)),this._logService=n,this._register(o.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(e,t)=>At(this._modelService,e.uri)?this._workerManager.withWorker().then((t=>t.computeLinks(e.uri))).then((e=>e&&{links:e})):Promise.resolve({links:[]})})),this._register(o.completionProvider.register("*",new Ct(this._workerManager,t,this._modelService,i)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return At(this._modelService,e)}computedUnicodeHighlights(e,t,n){return this._workerManager.withWorker().then((i=>i.computedUnicodeHighlights(e,t,n)))}computeDiff(e,t,n,i){return this._workerManager.withWorker().then((o=>o.computeDiff(e,t,n,i)))}computeMoreMinimalEdits(e,t){if((0,mt.Of)(t)){if(!At(this._modelService,e))return Promise.resolve(t);const n=at.G.create(!0),i=this._workerManager.withWorker().then((n=>n.computeMoreMinimalEdits(e,t)));return i.finally((()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),n.elapsed()))),Promise.race([i,(0,ge.Vs)(1e3).then((()=>t))])}return Promise.resolve(void 0)}canNavigateValueSet(e){return At(this._modelService,e)}navigateValueSet(e,t,n){return this._workerManager.withWorker().then((i=>i.navigateValueSet(e,t,n)))}canComputeWordRanges(e){return At(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then((n=>n.computeWordRanges(e,t)))}};wt=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([_t(0,fe.q),_t(1,ft),_t(2,vt.VZ),_t(3,ue.c_),_t(4,bt.p)],wt);class Ct{constructor(e,t,n,i){this.languageConfigurationService=i,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}provideCompletionItems(e,t){return yt(this,void 0,void 0,(function*(){const n=this._configurationService.getValue(e.uri,t,"editor");if(!n.wordBasedSuggestions)return;const i=[];if("currentDocument"===n.wordBasedSuggestionsMode)At(this._modelService,e.uri)&&i.push(e.uri);else for(const t of this._modelService.getModels())At(this._modelService,t.uri)&&(t===e?i.unshift(t.uri):"allDocuments"!==n.wordBasedSuggestionsMode&&t.getLanguageId()!==e.getLanguageId()||i.push(t.uri));if(0===i.length)return;const o=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),r=e.getWordAtPosition(t),a=r?new G.e(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):G.e.fromPositions(t),s=a.setEndPosition(t.lineNumber,t.column),l=yield this._workerManager.withWorker(),c=yield l.textualSuggest(i,null==r?void 0:r.word,o);return c?{duration:c.duration,suggestions:c.words.map((e=>({kind:18,label:e,insertText:e,range:{insert:s,replace:a}})))}:void 0}))}}class xt extends oe.JT{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=(new Date).getTime(),this._register(new ge.zh).cancelAndSet((()=>this._checkStopIdleWorker()),Math.round(15e4)),this._register(this._modelService.onModelRemoved((e=>this._checkStopEmptyWorker())))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){this._editorWorkerClient&&0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){this._editorWorkerClient&&(new Date).getTime()-this._lastWorkerUsedTime>3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new Mt(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class St extends oe.JT{constructor(e,t,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){const e=new ge.zh;e.cancelAndSet((()=>this._checkStopModelSync()),Math.round(3e4)),this._register(e)}}dispose(){for(let e in this._syncedModels)(0,oe.B9)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(const n of e){const e=n.toString();this._syncedModels[e]||this._beginModelSync(n,t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=(new Date).getTime())}}_checkStopModelSync(){const e=(new Date).getTime(),t=[];for(let n in this._syncedModelsLastUsedTime)e-this._syncedModelsLastUsedTime[n]>6e4&&t.push(n);for(const e of t)this._stopModelSync(e)}_beginModelSync(e,t){const n=this._modelService.getModel(e);if(!n)return;if(!t&&n.isTooLargeForSyncing())return;const i=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});const o=new oe.SL;o.add(n.onDidChangeContent((e=>{this._proxy.acceptModelChanged(i.toString(),e)}))),o.add(n.onWillDispose((()=>{this._stopModelSync(i)}))),o.add((0,oe.OF)((()=>{this._proxy.acceptRemovedModel(i)}))),this._syncedModels[i]=o}_stopModelSync(e){const t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],(0,oe.B9)(t)}}class Et{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class kt{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class Mt extends oe.JT{constructor(e,t,n,i){super(),this.languageConfigurationService=i,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new Le(n),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new ke(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new kt(this)))}catch(e){ye(e),this._worker=new Et(new ht(new kt(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,(e=>(ye(e),this._worker=new Et(new ht(new kt(this),null)),this._getOrCreateWorker().getProxyObject())))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new St(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e,t=!1){return yt(this,void 0,void 0,(function*(){return this._disposed?Promise.reject((0,me.F0)()):this._getProxy().then((n=>(this._getOrCreateModelManager(n).ensureSyncedResources(e,t),n)))}))}computedUnicodeHighlights(e,t,n){return this._withSyncedResources([e]).then((i=>i.computeUnicodeHighlights(e.toString(),t,n)))}computeDiff(e,t,n,i){return this._withSyncedResources([e,t],!0).then((o=>o.computeDiff(e.toString(),t.toString(),n,i)))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then((n=>n.computeMoreMinimalEdits(e.toString(),t)))}computeLinks(e){return this._withSyncedResources([e]).then((t=>t.computeLinks(e.toString())))}textualSuggest(e,t,n){return yt(this,void 0,void 0,(function*(){const i=yield this._withSyncedResources(e),o=n.source,r=(0,ee.mr)(n);return i.textualSuggest(e.map((e=>e.toString())),t,o,r)}))}computeWordRanges(e,t){return this._withSyncedResources([e]).then((n=>{const i=this._modelService.getModel(e);if(!i)return Promise.resolve(null);const o=this.languageConfigurationService.getLanguageConfiguration(i.getLanguageId()).getWordDefinition(),r=o.source,a=(0,ee.mr)(o);return n.computeWordRanges(e.toString(),t,r,a)}))}navigateValueSet(e,t,n){return this._withSyncedResources([e]).then((i=>{const o=this._modelService.getModel(e);if(!o)return null;const r=this.languageConfigurationService.getLanguageConfiguration(o.getLanguageId()).getWordDefinition(),a=r.source,s=(0,ee.mr)(r);return i.navigateValueSet(e.toString(),t,n,a,s)}))}dispose(){super.dispose(),this._disposed=!0}}class Dt extends Mt{constructor(e,t,n){super(e,n.keepIdleModels||!1,n.label,t),this._foreignModuleId=n.moduleId,this._foreignModuleCreateData=n.createData||null,this._foreignModuleHost=n.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then((e=>{const t=this._foreignModuleHost?be.$E(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then((t=>{this._foreignModuleCreateData=null;const n=(t,n)=>e.fmr(t,n),i=(e,t)=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},o={};for(const e of t)o[e]=i(e,n);return o}))}))),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then((e=>this.getProxy()))}}var Nt,It=n(9078),Tt=n(9389),Lt=n(9340);function Bt(e){return"string"==typeof e}function Ot(e){return!Bt(e)}function Pt(e){return!e}function Ft(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function Rt(e){return e.replace(/[&<>'"_]/g,"-")}function jt(e,t){return new Error(`${e.languageId}: ${t}`)}function zt(e,t,n,i,o){let r=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,a,s,l,c,d,u,h,p){return Pt(s)?Pt(l)?!Pt(c)&&c<i.length?Ft(e,i[c]):!Pt(u)&&e&&"string"==typeof e[u]?e[u]:(null===r&&(r=o.split("."),r.unshift(o)),!Pt(d)&&d<r.length?Ft(e,r[d]):""):Ft(e,n):"$"}))}function Vt(e,t){let n=t;for(;n&&n.length>0;){const t=e.tokenizer[n];if(t)return t;const i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return null}class Wt{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new Ht(e,t);let n=Ht.getStackElementId(e);n.length>0&&(n+="|"),n+=t;let i=this._entries[n];return i||(i=new Ht(e,t),this._entries[n]=i,i)}}Wt._INSTANCE=new Wt(5);class Ht{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return Ht._equals(this,e)}push(e){return Wt.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return Wt.create(this.parent,e)}}class Ut{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new Ut(this.languageId,this.state)}}class Qt{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==t)return new Gt(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Gt(e,t);const n=Ht.getStackElementId(e);let i=this._entries[n];return i||(i=new Gt(e,null),this._entries[n]=i,i)}}Qt._INSTANCE=new Qt(5);class Gt{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:Qt.create(this.stack,this.embeddedLanguageData)}equals(e){return e instanceof Gt&&!!this.stack.equals(e.stack)&&(null===this.embeddedLanguageData&&null===e.embeddedLanguageData||null!==this.embeddedLanguageData&&null!==e.embeddedLanguageData&&this.embeddedLanguageData.equals(e.embeddedLanguageData))}}class Kt{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new Y.WU(e,t,this._languageId)))}nestedLanguageTokenize(e,t,n,i){const o=n.languageId,r=n.state,a=Y.RW.get(o);if(!a)return this.enterLanguage(o),this.emit(i,""),r;const s=a.tokenize(e,t,r);if(0!==i)for(const e of s.tokens)this._tokens.push(new Y.WU(e.offset+i,e.type,e.language));else this._tokens=this._tokens.concat(s.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,s.endState}finalize(e){return new Y.hG(this._tokens,e)}}class Yt{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){const n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,t,n){const i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;const a=new Uint32Array(i+o+r);null!==e&&a.set(e);for(let e=0;e<o;e++)a[i+e]=t[e];return null!==n&&a.set(n,i+o),a}nestedLanguageTokenize(e,t,n,i){const o=n.languageId,r=n.state,a=Y.RW.get(o);if(!a)return this.enterLanguage(o),this.emit(i,""),r;const s=a.tokenizeEncoded(e,t,r);if(0!==i)for(let e=0,t=s.tokens.length;e<t;e+=2)s.tokens[e]+=i;return this._prependTokens=Yt._merge(this._prependTokens,this._tokens,s.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,s.endState}finalize(e){return new Y.DI(Yt._merge(this._prependTokens,this._tokens,null),e)}}class $t{constructor(e,t,n,i){this._languageService=e,this._standaloneThemeService=t,this._languageId=n,this._lexer=i,this._embeddedLanguages=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let o=!1;this._tokenizationRegistryListener=Y.RW.onDidChange((e=>{if(o)return;let t=!1;for(let n=0,i=e.changedLanguages.length;n<i;n++){const i=e.changedLanguages[n];if(this._embeddedLanguages[i]){t=!0;break}}t&&(o=!0,Y.RW.fire([this._languageId]),o=!1)}))}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const e=[];for(let t in this._embeddedLanguages){const n=Y.RW.get(t);if(n){if(n instanceof $t){const t=n.getLoadStatus();!1===t.loaded&&e.push(t.promise)}}else Y.RW.isResolved(t)||e.push(Y.RW.getOrCreate(t))}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then((e=>{}))}}getInitialState(){const e=Wt.create(null,this._lexer.start);return Qt.create(e,null)}tokenize(e,t,n){const i=new Kt,o=this._tokenize(e,t,n,i);return i.finalize(o)}tokenizeEncoded(e,t,n){const i=new Yt(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,t,n,i);return i.finalize(o)}_tokenize(e,t,n,i){return n.embeddedLanguageData?this._nestedTokenize(e,t,n,0,i):this._myTokenize(e,t,n,0,i)}_findLeavingNestedLanguageOffset(e,t){let n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=Vt(this._lexer,t.stack.state),!n))throw jt(this._lexer,"tokenizer state is not defined: "+t.stack.state);let i=-1,o=!1;for(const t of n){if(!Ot(t.action)||"@pop"!==t.action.nextEmbedded)continue;o=!0;let n=t.regex;const r=t.regex.source;if("^(?:"===r.substr(0,4)&&")"===r.substr(r.length-1,1)){const e=(n.ignoreCase?"i":"")+(n.unicode?"u":"");n=new RegExp(r.substr(4,r.length-5),e)}const a=e.search(n);-1===a||0!==a&&t.matchOnlyAtLineStart||(-1===i||a<i)&&(i=a)}if(!o)throw jt(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return i}_nestedTokenize(e,t,n,i,o){const r=this._findLeavingNestedLanguageOffset(e,n);if(-1===r){const r=o.nestedLanguageTokenize(e,t,n.embeddedLanguageData,i);return Qt.create(n.stack,new Ut(n.embeddedLanguageData.languageId,r))}const a=e.substring(0,r);a.length>0&&o.nestedLanguageTokenize(a,!1,n.embeddedLanguageData,i);const s=e.substring(r);return this._myTokenize(s,t,n,i+r,o)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,n,i,o){o.enterLanguage(this._languageId);const r=e.length,a=t&&this._lexer.includeLF?e+"\n":e,s=a.length;let l=n.embeddedLanguageData,c=n.stack,d=0,u=null,h=!0;for(;h||d<s;){const n=d,g=c.depth,m=u?u.groups.length:0,v=c.state;let b=null,_=null,y=null,A=null,w=null;if(u){b=u.matches;const e=u.groups.shift();_=e.matched,y=e.action,A=u.rule,0===u.groups.length&&(u=null)}else{if(!h&&d>=s)break;h=!1;let e=this._lexer.tokenizer[v];if(!e&&(e=Vt(this._lexer,v),!e))throw jt(this._lexer,"tokenizer state is not defined: "+v);let t=a.substr(d);for(const n of e)if((0===d||!n.matchOnlyAtLineStart)&&(b=t.match(n.regex),b)){_=b[0],y=n.action;break}}if(b||(b=[""],_=""),y||(d<s&&(b=[a.charAt(d)],_=b[0]),y=this._lexer.defaultToken),null===_)break;for(d+=_.length;!function(e){return Array.isArray(e)}(y)&&Ot(y)&&y.test;)y=y.test(_,b,v,d===s);let C=null;if("string"==typeof y||Array.isArray(y))C=y;else if(y.group)C=y.group;else if(null!==y.token&&void 0!==y.token){if(C=y.tokenSubst?zt(this._lexer,y.token,_,b,v):y.token,y.nextEmbedded)if("@pop"===y.nextEmbedded){if(!l)throw jt(this._lexer,"cannot pop embedded language if not inside one");l=null}else{if(l)throw jt(this._lexer,"cannot enter embedded language from within an embedded language");w=zt(this._lexer,y.nextEmbedded,_,b,v)}if(y.goBack&&(d=Math.max(0,d-y.goBack)),y.switchTo&&"string"==typeof y.switchTo){let e=zt(this._lexer,y.switchTo,_,b,v);if("@"===e[0]&&(e=e.substr(1)),!Vt(this._lexer,e))throw jt(this._lexer,"trying to switch to a state '"+e+"' that is undefined in rule: "+this._safeRuleName(A));c=c.switchTo(e)}else{if(y.transform&&"function"==typeof y.transform)throw jt(this._lexer,"action.transform not supported");if(y.next)if("@push"===y.next){if(c.depth>=this._lexer.maxStack)throw jt(this._lexer,"maximum tokenizer stack size reached: ["+c.state+","+c.parent.state+",...]");c=c.push(v)}else if("@pop"===y.next){if(c.depth<=1)throw jt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(A));c=c.pop()}else if("@popall"===y.next)c=c.popall();else{let e=zt(this._lexer,y.next,_,b,v);if("@"===e[0]&&(e=e.substr(1)),!Vt(this._lexer,e))throw jt(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(A));c=c.push(e)}}y.log&&"string"==typeof y.log&&(p=this._lexer,f=this._lexer.languageId+": "+zt(this._lexer,y.log,_,b,v),console.log(`${p.languageId}: ${f}`))}if(null===C)throw jt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(A));const x=n=>{const r=this._languageService.getLanguageIdByLanguageName(n)||this._languageService.getLanguageIdByMimeType(n)||n,a=this._getNestedEmbeddedLanguageData(r);if(d<s){const n=e.substr(d);return this._nestedTokenize(n,t,Qt.create(c,a),i+d,o)}return Qt.create(c,a)};if(Array.isArray(C)){if(u&&u.groups.length>0)throw jt(this._lexer,"groups cannot be nested: "+this._safeRuleName(A));if(b.length!==C.length+1)throw jt(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(A));let e=0;for(let t=1;t<b.length;t++)e+=b[t].length;if(e!==_.length)throw jt(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(A));u={rule:A,matches:b,groups:[]};for(let e=0;e<C.length;e++)u.groups[e]={action:C[e],matched:b[e+1]};d-=_.length}else{{if("@rematch"===C&&(d-=_.length,_="",b=null,C="",null!==w))return x(w);if(0===_.length){if(0===s||g!==c.depth||v!==c.state||(u?u.groups.length:0)!==m)continue;throw jt(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(A))}let e=null;if(Bt(C)&&0===C.indexOf("@brackets")){const t=C.substr("@brackets".length),n=Jt(this._lexer,_);if(!n)throw jt(this._lexer,"@brackets token returned but no bracket defined as: "+_);e=Rt(n.token+t)}else e=Rt(""===C?"":C+this._lexer.tokenPostfix);n<r&&o.emit(n+i,e)}if(null!==w)return x(w)}}var p,f;return Qt.create(c,l)}_getNestedEmbeddedLanguageData(e){if(!this._languageService.isRegisteredLanguageId(e))return new Ut(e,he.TJ);e!==this._languageId&&(Y.RW.getOrCreate(e),this._embeddedLanguages[e]=!0);const t=Y.RW.get(e);return new Ut(e,t?t.getInitialState():he.TJ)}}function Jt(e,t){if(!t)return null;t=Ft(e,t);const n=e.brackets;for(const e of n){if(e.open===t)return{token:e.token,bracketType:1};if(e.close===t)return{token:e.token,bracketType:-1}}return null}const qt=null===(Nt=window.trustedTypes)||void 0===Nt?void 0:Nt.createPolicy("standaloneColorizer",{createHTML:e=>e});class Zt{static colorizeElement(e,t,n,i){const o=(i=i||{}).theme||"vs",r=i.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!r)return console.error("Mode not detected"),Promise.resolve();const a=t.getLanguageIdByMimeType(r)||r;e.setTheme(o);const s=n.firstChild?n.firstChild.nodeValue:"";return n.className+=" "+o,this.colorize(t,s||"",a,i).then((e=>{var t;const i=null!==(t=null==qt?void 0:qt.createHTML(e))&&void 0!==t?t:e;n.innerHTML=i}),(e=>console.error(e)))}static colorize(e,t,n,i){return o=this,void 0,a=function*(){const o=e.languageIdCodec;let r=4;i&&"number"==typeof i.tabSize&&(r=i.tabSize),ee.uS(t)&&(t=t.substr(1));const a=ee.uq(t);if(!e.isRegisteredLanguageId(n))return Xt(a,r,o);const s=yield Y.RW.getOrCreate(n);return s?function(e,t,n,i){return new Promise(((o,r)=>{const a=()=>{const s=function(e,t,n,i){let o=[],r=n.getInitialState();for(let a=0,s=e.length;a<s;a++){const s=e[a],l=n.tokenizeEncoded(s,!0,r);It.A.convertToEndOffset(l.tokens,s.length);const c=new It.A(l.tokens,s,i),d=Lt.wA.isBasicASCII(s,!0),u=Lt.wA.containsRTL(s,d,!0),h=(0,Tt.tF)(new Tt.IJ(!1,!0,s,!1,d,u,0,c.inflate(),[],t,0,0,0,0,-1,"none",!1,!1,null));o=o.concat(h.html),o.push("<br/>"),r=l.endState}return o.join("")}(e,t,n,i);if(n instanceof $t){const e=n.getLoadStatus();if(!1===e.loaded)return void e.promise.then(a,r)}o(s)};a()}))}(a,r,s,o):Xt(a,r,o)},new((r=void 0)||(r=Promise))((function(e,t){function n(e){try{s(a.next(e))}catch(e){t(e)}}function i(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var o;t.done?e(t.value):(o=t.value,o instanceof r?o:new r((function(e){e(o)}))).then(n,i)}s((a=a.apply(o,[])).next())}));var o,r,a}static colorizeLine(e,t,n,i,o=4){const r=Lt.wA.isBasicASCII(e,t),a=Lt.wA.containsRTL(e,r,n);return(0,Tt.tF)(new Tt.IJ(!1,!0,e,!1,r,a,0,i,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,n=4){const i=e.getLineContent(t);e.forceTokenization(t);const o=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)}}function Xt(e,t,n){let i=[];const o=new Uint32Array(2);o[0]=0,o[1]=16793600;for(let r=0,a=e.length;r<a;r++){const a=e[r];o[0]=a.length;const s=new It.A(o,a,n),l=Lt.wA.isBasicASCII(a,!0),c=Lt.wA.containsRTL(a,l,!0),d=(0,Tt.tF)(new Tt.IJ(!1,!0,a,!1,l,c,0,s,[],t,0,0,0,0,-1,"none",!1,!1,null));i=i.concat(d.html),i.push("<br/>")}return i.join("")}var en=n(2718),tn=n(5484),nn=n(6983);Z()(nn.Z,{insert:"head",singleton:!1}),nn.Z.locals;var on=n(9606),rn=n(6511),an=n(7605),sn=n(3278),ln=n(5063),cn=n(3299),dn=n(8683);Z()(dn.Z,{insert:"head",singleton:!1}),dn.Z.locals;var un,hn=n(9602),pn=n(3695),fn=n(913),gn=n(9687),mn=n(5146),vn=n(4210),bn=n(3770),_n=n(2109),yn=n(3641),An=n(7358);class wn{constructor(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class Cn{constructor(e){this.entries=e}}const xn=(0,An.q5)("diff-review-insert",yn.lA.add,on.N("diffReviewInsertIcon","Icon for 'Insert' in diff review.")),Sn=(0,An.q5)("diff-review-remove",yn.lA.remove,on.N("diffReviewRemoveIcon","Icon for 'Remove' in diff review.")),En=(0,An.q5)("diff-review-close",yn.lA.close,on.N("diffReviewCloseIcon","Icon for 'Close' in diff review."));let kn=class e extends oe.JT{constructor(e,t){super(),this._languageService=t,this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=(0,an.X)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=(0,an.X)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new hn.o(this.actionBarContainer.domNode)),this._actionBar.push(new fn.aU("diffreview.close",on.N("label.close","Close"),"close-diff-review "+_n.kS.asClassName(En),!0,(()=>{return e=this,void 0,n=function*(){return this.hide()},new((t=void 0)||(t=Promise))((function(i,o){function r(e){try{s(n.next(e))}catch(e){o(e)}}function a(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(r,a)}s((n=n.apply(e,[])).next())}));var e,t,n})),{label:!1,icon:!0}),this.domNode=(0,an.X)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=(0,an.X)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new pn.s$(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff((()=>{this._isVisible&&(this._diffs=this._compute(),this._render())}))),this._register(e.getModifiedEditor().onDidChangeCursorPosition((()=>{this._isVisible&&this._render()}))),this._register(rn.mu(this.domNode.domNode,"click",(e=>{e.preventDefault();const t=rn.Fx(e.target,"diff-review-row");t&&this._goToRow(t)}))),this._register(rn.mu(this.domNode.domNode,"keydown",(e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())}))),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new Q.L(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new Q.L(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let e=-1;const t=this._getCurrentFocusedRow();if(t){const n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new Q.L(e,1)),this._diffEditor.revealPosition(new Q.L(e,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){const e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()}_getNextRow(){const e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(".diff-review-row")}_getCurrentFocusedRow(){const e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null}_goToRow(e){const t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}_compute(){const t=this._diffEditor.getLineChanges();if(!t||0===t.length)return[];const n=this._diffEditor.getOriginalEditor().getModel(),i=this._diffEditor.getModifiedEditor().getModel();return n&&i?e._mergeAdjacent(t,n.getLineCount(),i.getLineCount()):[]}static _mergeAdjacent(e,t,n){if(!e||0===e.length)return[];const i=[];let o=0;for(let r=0,a=e.length;r<a;r++){const s=e[r],l=s.originalStartLineNumber,c=s.originalEndLineNumber,d=s.modifiedStartLineNumber,u=s.modifiedEndLineNumber,h=[];let p=0;{const t=0===c?l:l-1,n=0===u?d:d-1;let i=1,o=1;if(r>0){const t=e[r-1];i=0===t.originalEndLineNumber?t.originalStartLineNumber+1:t.originalEndLineNumber+1,o=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber+1:t.modifiedEndLineNumber+1}let a=t-3+1,s=n-3+1;if(a<i){const e=i-a;a+=e,s+=e}if(s<o){const e=o-s;a+=e,s+=e}h[p++]=new wn(a,t,s,n)}0!==c&&(h[p++]=new wn(l,c,0,0)),0!==u&&(h[p++]=new wn(0,0,d,u));{const i=0===c?l+1:c+1,o=0===u?d+1:u+1;let s=t,f=n;if(r+1<a){const t=e[r+1];s=0===t.originalEndLineNumber?t.originalStartLineNumber:t.originalStartLineNumber-1,f=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber:t.modifiedStartLineNumber-1}let g=i+3-1,m=o+3-1;if(g>s){const e=s-g;g+=e,m+=e}if(m>f){const e=f-m;g+=e,m+=e}h[p++]=new wn(i,g,o,m)}i[o++]=new Cn(h)}let r=i[0].entries;const a=[];let s=0;for(let e=1,t=i.length;e<t;e++){const t=i[e].entries,n=r[r.length-1],o=t[0];0===n.getType()&&0===o.getType()&&o.originalLineStart<=n.originalLineEnd?(r[r.length-1]=new wn(n.originalLineStart,o.originalLineEnd,n.modifiedLineStart,o.modifiedLineEnd),r=r.concat(t.slice(1))):(a[s++]=new Cn(r),r=t)}return a[s++]=new Cn(r),a}_findDiffIndex(e){const t=e.lineNumber;for(let e=0,n=this._diffs.length;e<n;e++){const n=this._diffs[e].entries;if(t<=n[n.length-1].modifiedLineEnd)return e}return 0}_render(){const t=this._diffEditor.getOriginalEditor().getOptions(),n=this._diffEditor.getModifiedEditor().getOptions(),i=this._diffEditor.getOriginalEditor().getModel(),o=this._diffEditor.getModifiedEditor().getModel(),r=i.getOptions(),a=o.getOptions();if(!this._isVisible||!i||!o)return rn.PO(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();this._diffEditor.updateOptions({readOnly:!0});const s=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[s]===this._currentDiff)return;this._currentDiff=this._diffs[s];const l=this._diffs[s].entries,c=document.createElement("div");c.className="diff-review-table",c.setAttribute("role","list"),c.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),(0,ln.N)(c,n.get(44));let d=0,u=0,h=0,p=0;for(let e=0,t=l.length;e<t;e++){const t=l[e],n=t.originalLineStart,i=t.originalLineEnd,o=t.modifiedLineStart,r=t.modifiedLineEnd;0!==n&&(0===d||n<d)&&(d=n),0!==i&&(0===u||i>u)&&(u=i),0!==o&&(0===h||o<h)&&(h=o),0!==r&&(0===p||r>p)&&(p=r)}const f=document.createElement("div");f.className="diff-review-row";const g=document.createElement("div");g.className="diff-review-cell diff-review-summary";const m=u-d+1,v=p-h+1;g.appendChild(document.createTextNode(`${s+1}/${this._diffs.length}: @@ -${d},${m} +${h},${v} @@`)),f.setAttribute("data-line",String(h));const b=e=>0===e?on.N("no_lines_changed","no lines changed"):1===e?on.N("one_line_changed","1 line changed"):on.N("more_lines_changed","{0} lines changed",e),_=b(m),y=b(v);f.setAttribute("aria-label",on.N({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",s+1,this._diffs.length,d,_,h,y)),f.appendChild(g),f.setAttribute("role","listitem"),c.appendChild(f);const A=n.get(59);let w=h;for(let s=0,d=l.length;s<d;s++){const d=l[s];e._renderSection(c,d,w,A,this._width,t,i,r,n,o,a,this._languageService.languageIdCodec),0!==d.modifiedLineStart&&(w=d.modifiedLineEnd)}rn.PO(this._content.domNode),this._content.domNode.appendChild(c),this.scrollbar.scanDomNode()}static _renderSection(t,n,i,o,r,a,s,l,c,d,u,h){const p=n.getType();let f="diff-review-row",g="",m=null;switch(p){case 1:f="diff-review-row line-insert",g=" char-insert",m=xn;break;case 2:f="diff-review-row line-delete",g=" char-delete",m=Sn}const v=n.originalLineStart,b=n.originalLineEnd,_=n.modifiedLineStart,y=n.modifiedLineEnd,A=Math.max(y-_,b-v),w=a.get(131),C=w.glyphMarginWidth+w.lineNumbersWidth,x=c.get(131),S=10+x.glyphMarginWidth+x.lineNumbersWidth;for(let n=0;n<=A;n++){const b=0===v?0:v+n,y=0===_?0:_+n,A=document.createElement("div");A.style.minWidth=r+"px",A.className=f,A.setAttribute("role","listitem"),0!==y&&(i=y),A.setAttribute("data-line",String(i));const w=document.createElement("div");w.className="diff-review-cell",w.style.height=`${o}px`,A.appendChild(w);const x=document.createElement("span");x.style.width=C+"px",x.style.minWidth=C+"px",x.className="diff-review-line-number"+g,0!==b?x.appendChild(document.createTextNode(String(b))):x.innerText="ย ",w.appendChild(x);const E=document.createElement("span");E.style.width=S+"px",E.style.minWidth=S+"px",E.style.paddingRight="10px",E.className="diff-review-line-number"+g,0!==y?E.appendChild(document.createTextNode(String(y))):E.innerText="ย ",w.appendChild(E);const k=document.createElement("span");if(k.className="diff-review-spacer",m){const e=document.createElement("span");e.className=_n.kS.asClassName(m),e.innerText="ย ย ",k.appendChild(e)}else k.innerText="ย ย ";let M;if(w.appendChild(k),0!==y){let t=this._renderLine(d,c,u.tabSize,y,h);e._ttPolicy&&(t=e._ttPolicy.createHTML(t)),w.insertAdjacentHTML("beforeend",t),M=d.getLineContent(y)}else{let t=this._renderLine(s,a,l.tabSize,b,h);e._ttPolicy&&(t=e._ttPolicy.createHTML(t)),w.insertAdjacentHTML("beforeend",t),M=s.getLineContent(b)}0===M.length&&(M=on.N("blankLine","blank"));let D="";switch(p){case 0:D=b===y?on.N({key:"unchangedLine",comment:["The placeholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",M,b):on.N("equalLine","{0} original line {1} modified line {2}",M,b,y);break;case 1:D=on.N("insertLine","+ {0} modified line {1}",M,y);break;case 2:D=on.N("deleteLine","- {0} original line {1}",M,b)}A.setAttribute("aria-label",D),t.appendChild(A)}}static _renderLine(e,t,n,i,o){const r=e.getLineContent(i),a=t.get(44),s=It.A.createEmpty(r,o),l=Lt.wA.isBasicASCII(r,e.mightContainNonBasicASCII()),c=Lt.wA.containsRTL(r,l,e.mightContainRTL());return(0,Tt.tF)(new Tt.IJ(a.isMonospace&&!t.get(29),a.canUseHalfwidthRightwardsArrow,r,!1,l,c,0,s,[],n,0,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,t.get(105),t.get(88),t.get(83),t.get(45)!==z.n0.OFF,null)).html}};var Mn;kn._ttPolicy=null===(un=window.trustedTypes)||void 0===un?void 0:un.createPolicy("diffReview",{createHTML:e=>e}),kn=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([(1,Mn=pe.O,function(e,t){Mn(e,t,1)})],kn),(0,_n.Ic)(((e,t)=>{const n=e.getColor(mn.hw);n&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${n}; }`);const i=e.getColor(bn._wn);i&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${i} 0 -6px 6px -6px inset; }`)}));class Dn extends gn.R6{constructor(){super({id:"editor.action.diffReview.next",label:on.N("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:vn.Ao.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const n=In(e);n&&n.diffReviewNext()}}class Nn extends gn.R6{constructor(){super({id:"editor.action.diffReview.prev",label:on.N("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:vn.Ao.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const n=In(e);n&&n.diffReviewPrev()}}function In(e){const t=e.get(ne.$),n=t.listDiffEditors(),i=t.getActiveCodeEditor();if(!i)return null;for(let e=0,t=n.length;e<t;e++){const t=n[e];if(t.getModifiedEditor().getId()===i.getId()||t.getOriginalEditor().getId()===i.getId())return t}return null}(0,gn.Qr)(Dn),(0,gn.Qr)(Nn);var Tn=n(6748),Ln=n(4185),Bn=n(5206),On=n(2497),Pn=n(2860),Fn=n(9716),Rn=n(655),jn=n(1801),zn=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class Vn extends oe.JT{constructor(e,t,n,i,o,r){super(),this._viewZoneId=e,this._marginDomNode=t,this.editor=n,this.diff=i,this._contextMenuService=o,this._clipboardService=r,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=yn.lA.lightBulb.classNames+" lightbulb-glyph",this._diffActions.style.position="absolute";const a=n.getOption(59),s=n.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=`${a}px`,this._diffActions.style.lineHeight=`${a}px`,this._marginDomNode.appendChild(this._diffActions);const l=[],c=0===i.modifiedEndLineNumber;l.push(new fn.aU("diff.clipboard.copyDeletedContent",c?i.originalEndLineNumber>i.modifiedStartLineNumber?on.N("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):on.N("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"):i.originalEndLineNumber>i.modifiedStartLineNumber?on.N("diff.clipboard.copyChangedLinesContent.label","Copy changed lines"):on.N("diff.clipboard.copyChangedLinesContent.single.label","Copy changed line"),void 0,!0,(()=>zn(this,void 0,void 0,(function*(){const e=new G.e(i.originalStartLineNumber,1,i.originalEndLineNumber+1,1),t=i.originalModel.getValueInRange(e);yield this._clipboardService.writeText(t)})))));let d,u=0;i.originalEndLineNumber>i.modifiedStartLineNumber&&(d=new fn.aU("diff.clipboard.copyDeletedLineContent",c?on.N("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",i.originalStartLineNumber):on.N("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",i.originalStartLineNumber),void 0,!0,(()=>zn(this,void 0,void 0,(function*(){const e=i.originalModel.getLineContent(i.originalStartLineNumber+u);if(""===e){const e=i.originalModel.getEndOfLineSequence();yield this._clipboardService.writeText(0===e?"\n":"\r\n")}else yield this._clipboardService.writeText(e)})))),l.push(d)),n.getOption(81)||l.push(new fn.aU("diff.inline.revertChange",on.N("diff.inline.revertChange.label","Revert this change"),void 0,!0,(()=>zn(this,void 0,void 0,(function*(){const e=new G.e(i.originalStartLineNumber,1,i.originalEndLineNumber,i.originalModel.getLineMaxColumn(i.originalEndLineNumber)),t=i.originalModel.getValueInRange(e);if(0===i.modifiedEndLineNumber){const e=n.getModel().getLineMaxColumn(i.modifiedStartLineNumber);n.executeEdits("diffEditor",[{range:new G.e(i.modifiedStartLineNumber,e,i.modifiedStartLineNumber,e),text:s+t}])}else{const e=n.getModel().getLineMaxColumn(i.modifiedEndLineNumber);n.executeEdits("diffEditor",[{range:new G.e(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,e),text:t}])}})))));const h=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(d&&(d.label=c?on.N("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",i.originalStartLineNumber+u):on.N("diff.clipboard.copyChangedLineContent.label","Copy changed line ({0})",i.originalStartLineNumber+u)),l),autoSelectFirstItem:!0})};this._register(rn.mu(this._diffActions,"mousedown",(e=>{const{top:t,height:n}=rn.i(this._diffActions),i=Math.floor(a/3);e.preventDefault(),h(e.posx,t+n+i)}))),this._register(n.onMouseMove((e=>{8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId!==this._viewZoneId?this.visibility=!1:(this.visibility=!0,u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,a))}))),this._register(n.onMouseDown((e=>{!e.event.rightButton||8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===this._viewZoneId&&(e.event.preventDefault(),u=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,a),h(e.event.posx,e.event.posy+a))})))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")}_updateLightBulbPosition(e,t,n){const{top:i}=rn.i(e),o=t-i,r=Math.floor(o/n),a=r*n;if(this._diffActions.style.top=`${a}px`,this.diff.viewLineCounts){let e=0;for(let t=0;t<this.diff.viewLineCounts.length;t++)if(e+=this.diff.viewLineCounts[t],r<e)return t}return r}}var Wn=n(6029);Object.freeze({total(){},worked(){},done(){}}),Object.freeze({report(){}});const Hn=(0,pt.yh)("editorProgressService");var Un,Qn=n(1371),Gn=n(7423),Kn=function(e,t){return function(n,i){t(n,i,e)}};class Yn{constructor(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this._inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(e){return e.filter((e=>!this._zonesMap[String(e.id)]))}clean(e){this._zones.length>0&&e.changeViewZones((e=>{for(const t of this._zones)e.removeZone(t)})),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,n,i){const o=i?cn.Z.capture(e):null;e.changeViewZones((t=>{var i;for(const e of this._zones)t.removeZone(e);for(const e of this._inlineDiffMargins)e.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let o=0,r=n.zones.length;o<r;o++){const r=n.zones[o];r.suppressMouseDown=!0;const a=t.addZone(r);this._zones.push(a),this._zonesMap[String(a)]=!0,n.zones[o].diff&&r.marginDomNode&&(r.suppressMouseDown=!1,0!==(null===(i=n.zones[o].diff)||void 0===i?void 0:i.originalModel.getValueLength())&&this._inlineDiffMargins.push(new Vn(a,r.marginDomNode,e,n.zones[o].diff,this._contextMenuService,this._clipboardService)))}})),o&&o.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)}}let $n=0;const Jn=(0,An.q5)("diff-insert",yn.lA.add,on.N("diffInsertIcon","Line decoration for inserts in the diff editor.")),qn=(0,An.q5)("diff-remove",yn.lA.remove,on.N("diffRemoveIcon","Line decoration for removals in the diff editor.")),Zn=null===(Un=window.trustedTypes)||void 0===Un?void 0:Un.createPolicy("diffEditorWidget",{createHTML:e=>e});let Xn=class e extends oe.JT{constructor(t,n,i,o,r,a,s,l,c,d,u,h){super(),this._editorProgressService=h,this._onDidDispose=this._register(new W.Q5),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new W.Q5),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new W.Q5),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=r,this._codeEditorService=l,this._contextKeyService=this._register(a.createScoped(t)),this._instantiationService=s.createChild(new Fn.y([vn.i6,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=c,this._notificationService=d,this._id=++$n,this._state=0,this._updatingDiffProgress=null,this._domElement=t,n=n||{},this._options=pi(n,{enableSplitViewResizing:!0,renderSideBySide:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:"inherit"}),void 0!==n.isInEmbeddedEditor?this._contextKeyService.createKey("isInEmbeddedDiffEditor",n.isInEmbeddedEditor):this._contextKeyService.createKey("isInEmbeddedDiffEditor",!1),this._updateDecorationsRunner=this._register(new ge.pY((()=>this._updateDecorations()),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=(0,an.X)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(rn.mu(this._overviewDomElement,"mousedown",(e=>{this._modifiedEditor.delegateVerticalScrollbarMouseDown(e)}))),this._options.renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new Yn(u,o),this._modifiedEditorState=new Yn(u,o),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new Qn.I(this._containerDomElement,n.dimension)),this._register(this._elementSizeObserver.onDidChange((()=>this._onDidContainerSizeChanged()))),n.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(n,i.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(n,i.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=s.createInstance(kn,this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._options.renderSideBySide?this._setStrategy(new ri(this._createDataSource(),this._options.enableSplitViewResizing)):this._setStrategy(new si(this._createDataSource(),this._options.enableSplitViewResizing)),this._register(c.onDidColorThemeChange((t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)})));const p=gn.Uc.getDiffEditorContributions();for(const e of p)try{this._register(s.createInstance(e.ctor,this))}catch(e){(0,me.dL)(e)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=(0,_n.m6)(e.type),n}_recreateOverviewRulers(){this._options.renderOverviewRuler&&(this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(t,n){const i=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(t),n);this._register(i.onDidScrollChange((e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())}))),this._register(i.onDidChangeViewZones((()=>{this._onViewZonesChanged()}))),this._register(i.onDidChangeConfiguration((e=>{i.getModel()&&(e.hasChanged(44)&&this._updateDecorationsRunner.schedule(),e.hasChanged(132)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))}))),this._register(i.onDidChangeHiddenAreas((()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()}))),this._register(i.onDidChangeModelContent((()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})));const o=this._contextKeyService.createKey("isInDiffLeftEditor",i.hasWidgetFocus());return this._register(i.onDidFocusEditorWidget((()=>o.set(!0)))),this._register(i.onDidBlurEditorWidget((()=>o.set(!1)))),this._register(i.onDidContentSizeChange((t=>{const n=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})}))),i}_createRightHandSideEditor(t,n){const i=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t),n);this._register(i.onDidScrollChange((e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())}))),this._register(i.onDidChangeViewZones((()=>{this._onViewZonesChanged()}))),this._register(i.onDidChangeConfiguration((e=>{i.getModel()&&(e.hasChanged(44)&&this._updateDecorationsRunner.schedule(),e.hasChanged(132)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))}))),this._register(i.onDidChangeHiddenAreas((()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()}))),this._register(i.onDidChangeModelContent((()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}))),this._register(i.onDidChangeModelOptions((e=>{e.tabSize&&this._updateDecorationsRunner.schedule()})));const o=this._contextKeyService.createKey("isInDiffRightEditor",i.hasWidgetFocus());return this._register(i.onDidFocusEditorWidget((()=>o.set(!0)))),this._register(i.onDidBlurEditorWidget((()=>o.set(!1)))),this._register(i.onDidContentSizeChange((t=>{const n=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})}))),i}_createInnerEditor(e,t,n,i){return e.createInstance(tn.Gm,t,n,i)}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._options.renderOverviewRuler&&this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this._originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this._modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return ce.g.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this._originalEditor}getModifiedEditor(){return this._modifiedEditor}updateOptions(t){const n=pi(t,this._options),i=(r=n,{enableSplitViewResizing:(o=this._options).enableSplitViewResizing!==r.enableSplitViewResizing,renderSideBySide:o.renderSideBySide!==r.renderSideBySide,maxComputationTime:o.maxComputationTime!==r.maxComputationTime,maxFileSize:o.maxFileSize!==r.maxFileSize,ignoreTrimWhitespace:o.ignoreTrimWhitespace!==r.ignoreTrimWhitespace,renderIndicators:o.renderIndicators!==r.renderIndicators,originalEditable:o.originalEditable!==r.originalEditable,diffCodeLens:o.diffCodeLens!==r.diffCodeLens,renderOverviewRuler:o.renderOverviewRuler!==r.renderOverviewRuler,diffWordWrap:o.diffWordWrap!==r.diffWordWrap});var o,r;this._options=n;const a=i.ignoreTrimWhitespace||i.renderIndicators,s=this._isVisible&&(i.maxComputationTime||i.maxFileSize);a?this._beginUpdateDecorations():s&&this._beginUpdateDecorationsSoon(),this._modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t)),this._originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t)),this._strategy.setEnableSplitViewResizing(this._options.enableSplitViewResizing),i.renderSideBySide&&(this._options.renderSideBySide?this._setStrategy(new ri(this._createDataSource(),this._options.enableSplitViewResizing)):this._setStrategy(new si(this._createDataSource(),this._options.enableSplitViewResizing)),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)),i.renderOverviewRuler&&(this._options.renderOverviewRuler?this._containerDomElement.appendChild(this._overviewDomElement):this._containerDomElement.removeChild(this._overviewDomElement))}getModel(){return{original:this._originalEditor.getModel(),modified:this._modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this._originalEditor.setModel(e?e.original:null),this._modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this._originalEditor.setScrollTop(0),this._modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getContainerDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this._modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._modifiedEditor.getPosition()}setPosition(e,t="api"){this._modifiedEditor.setPosition(e,t)}revealLine(e,t=0){this._modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this._modifiedEditor.getSelection()}getSelections(){return this._modifiedEditor.getSelections()}setSelection(e,t="api"){this._modifiedEditor.setSelection(e,t)}setSelections(e,t="api"){this._modifiedEditor.setSelections(e,t)}revealLines(e,t,n=0){this._modifiedEditor.revealLines(e,t,n)}revealLinesInCenter(e,t,n=0){this._modifiedEditor.revealLinesInCenter(e,t,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)}revealLinesNearTop(e,t,n=0){this._modifiedEditor.revealLinesNearTop(e,t,n)}revealRange(e,t=0,n=!1,i=!0){this._modifiedEditor.revealRange(e,t,n,i)}revealRangeInCenter(e,t=0){this._modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._modifiedEditor.getSupportedActions()}saveViewState(){return{original:this._originalEditor.saveViewState(),modified:this._modifiedEditor.saveViewState()}}restoreViewState(e){if(e&&e.original&&e.modified){const t=e;this._originalEditor.restoreViewState(t.original),this._modifiedEditor.restoreViewState(t.modified)}}layout(e){this._elementSizeObserver.observe(e)}focus(){this._modifiedEditor.focus()}hasTextFocus(){return this._originalEditor.hasTextFocus()||this._modifiedEditor.hasTextFocus()}trigger(e,t,n){this._modifiedEditor.trigger(e,t,n)}changeDecorations(e){return this._modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._options.renderOverviewRuler)return;if(!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const t=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),i=e.ENTIRE_DIFF_OVERVIEW_WIDTH-2*e.ONE_OVERVIEW_WIDTH;this._modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:e.ONE_OVERVIEW_WIDTH,right:i+e.ONE_OVERVIEW_WIDTH,height:t-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:e.ONE_OVERVIEW_WIDTH,height:t-n}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout((()=>this._beginUpdateDecorations()),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const t=this._originalEditor.getModel(),n=this._modifiedEditor.getModel();if(!t||!n)return;this._diffComputationToken++;const i=this._diffComputationToken,o=1024*this._options.maxFileSize*1024,r=e=>{const t=e.getValueLength();return 0===o||t<=o};r(t)&&r(n)?(this._setState(1),this._editorWorkerService.computeDiff(t.uri,n.uri,this._options.ignoreTrimWhitespace,this._options.maxComputationTime).then((e=>{i===this._diffComputationToken&&t===this._originalEditor.getModel()&&n===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())}),(e=>{i===this._diffComputationToken&&t===this._originalEditor.getModel()&&n===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}))):e._equals(t.uri,this._lastOriginalWarning)&&e._equals(n.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=n.uri,this._notificationService.warn(on.N("diff.tooLarge","Cannot compare files because one file is too large.")))}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())return;const e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._options.ignoreTrimWhitespace,this._options.renderIndicators,t,n);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(e){const t=Object.assign({},e);return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar=Object.assign({},t.scrollbar||{}),t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=this._options.diffCodeLens,t.fixedOverflowWidgets=!0,t.minimap=Object.assign({},t.minimap||{}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e){const t=this._adjustOptionsForSubEditor(e);return this._options.renderSideBySide?t.wordWrapOverride1=this._options.diffWordWrap:(t.wordWrapOverride1="off",t.wordWrapOverride2="off"),e.originalAriaLabel&&(t.ariaLabel=e.originalAriaLabel),t.readOnly=!this._options.originalEditable,t.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},t),{dimension:{height:0,width:0}})}_adjustOptionsForRightHandSide(t){const n=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(n.ariaLabel=t.modifiedAriaLabel),n.wordWrapOverride1=this._options.diffWordWrap,n.revealHorizontalRightPadding=z.BH.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,n.scrollbar.verticalHasArrows=!1,n.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},n),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const t=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),i=this._getReviewHeight(),o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-i+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:o,height:n-i}),this._modifiedEditor.layout({width:t-o-(this._options.renderOverviewRuler?e.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:n-i}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-i,t,i),this._layoutOverviewViewport()}_layoutOverviewViewport(){const e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){const e=this._modifiedEditor.getLayoutInfo();if(!e)return null;const t=this._modifiedEditor.getScrollTop(),n=this._modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),o=Math.max(0,i-0),r=n>0?o/n:0;return{height:Math.max(0,Math.floor(e.height*r)),top:Math.floor(t*r)}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._options.renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){const n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;let i=0,o=n.length-1;for(;i<o;){const r=Math.floor((i+o)/2),a=t(n[r]),s=r+1<=o?t(n[r+1]):1073741824;e<a?o=r-1:e>=s?i=r+1:(i=r,o=r)}return n[i]}_getEquivalentLineForOriginalLineNumber(e){const t=this._getLineChangeAtOrBeforeLineNumber(e,(e=>e.originalStartLineNumber));if(!t)return e;const n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,a=e-n;return a<=o?i+Math.min(a,r):i+r-o+a}_getEquivalentLineForModifiedLineNumber(e){const t=this._getLineChangeAtOrBeforeLineNumber(e,(e=>e.modifiedStartLineNumber));if(!t)return e;const n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,a=e-i;return a<=r?n+Math.min(a,o):n+o-r+a}getDiffLineInformationForOriginal(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null}getDiffLineInformationForModified(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null}};Xn.ONE_OVERVIEW_WIDTH=15,Xn.ENTIRE_DIFF_OVERVIEW_WIDTH=30,Xn.UPDATE_DIFF_DECORATIONS_DELAY=200,Xn=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Kn(3,Wn.p),Kn(4,Bn.p),Kn(5,vn.i6),Kn(6,pt.TG),Kn(7,ne.$),Kn(8,_n.XE),Kn(9,Rn.lT),Kn(10,jn.i),Kn(11,Hn)],Xn);class ei extends oe.JT{constructor(e){super(),this._dataSource=e,this._insertColor=null,this._removeColor=null}applyColors(e){const t=e.getColor(bn.P6Y)||(e.getColor(bn.ypS)||bn.CzK).transparent(2),n=e.getColor(bn.F9q)||(e.getColor(bn.P4M)||bn.keg).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i}getEditorsDiffDecorations(e,t,n,i,o){o=o.sort(((e,t)=>e.afterLineNumber-t.afterLineNumber)),i=i.sort(((e,t)=>e.afterLineNumber-t.afterLineNumber));const r=this._getViewZones(e,i,o,n),a=this._getOriginalEditorDecorations(r,e,t,n),s=this._getModifiedEditorDecorations(r,e,t,n);return{original:{decorations:a.decorations,overviewZones:a.overviewZones,zones:r.original},modified:{decorations:s.decorations,overviewZones:s.overviewZones,zones:r.modified}}}}class ti{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class ni{constructor(e,t,n,i,o){this._lineChanges=e,this._originalForeignVZ=t,this._modifiedForeignVZ=n,this._originalEditor=i,this._modifiedEditor=o}static _getViewLineCount(e,t,n){const i=e.getModel(),o=e._getViewModel();if(i&&o){const e=hi(i,o,t,n);return e.endLineNumber-e.startLineNumber+1}return n-t+1}getViewZones(){const e=this._originalEditor.getOption(59),t=this._modifiedEditor.getOption(59),n=-1!==this._originalEditor.getOption(132).wrappingColumn,i=-1!==this._modifiedEditor.getOption(132).wrappingColumn,o=n||i,r=this._originalEditor.getModel(),a=this._originalEditor._getViewModel().coordinatesConverter,s=this._modifiedEditor._getViewModel().coordinatesConverter,l=[],c=[];let d=0,u=0,h=0,p=0,f=0,g=0;const m=(e,t)=>e.afterLineNumber-t.afterLineNumber,v=(e,t)=>{if(null===t.domNode&&e.length>0){const n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},b=new ti(this._modifiedForeignVZ),_=new ti(this._originalForeignVZ);let y=1,A=1;for(let n=0,i=this._lineChanges.length;n<=i;n++){const w=n<i?this._lineChanges[n]:null;null!==w?(h=w.originalStartLineNumber+(w.originalEndLineNumber>0?-1:0),p=w.modifiedStartLineNumber+(w.modifiedEndLineNumber>0?-1:0),u=w.originalEndLineNumber>0?ni._getViewLineCount(this._originalEditor,w.originalStartLineNumber,w.originalEndLineNumber):0,d=w.modifiedEndLineNumber>0?ni._getViewLineCount(this._modifiedEditor,w.modifiedStartLineNumber,w.modifiedEndLineNumber):0,f=Math.max(w.originalStartLineNumber,w.originalEndLineNumber),g=Math.max(w.modifiedStartLineNumber,w.modifiedEndLineNumber)):(h+=1e7+u,p+=1e7+d,f=h,g=p);let C=[],x=[];if(o){let e;e=w?w.originalEndLineNumber>0?w.originalStartLineNumber-y:w.modifiedStartLineNumber-A:r.getLineCount()-y+1;for(let t=0;t<e;t++){const e=y+t,n=A+t,i=a.getModelLineViewLineCount(e),o=s.getModelLineViewLineCount(n);i<o?C.push({afterLineNumber:e,heightInLines:o-i,domNode:null,marginDomNode:null}):i>o&&x.push({afterLineNumber:n,heightInLines:i-o,domNode:null,marginDomNode:null})}w&&(y=(w.originalEndLineNumber>0?w.originalEndLineNumber:w.originalStartLineNumber)+1,A=(w.modifiedEndLineNumber>0?w.modifiedEndLineNumber:w.modifiedStartLineNumber)+1)}for(;b.current&&b.current.afterLineNumber<=g;){let e;e=b.current.afterLineNumber<=p?h-p+b.current.afterLineNumber:f;let n=null;w&&w.modifiedStartLineNumber<=b.current.afterLineNumber&&b.current.afterLineNumber<=w.modifiedEndLineNumber&&(n=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),C.push({afterLineNumber:e,heightInLines:b.current.height/t,domNode:null,marginDomNode:n}),b.advance()}for(;_.current&&_.current.afterLineNumber<=f;){let t;t=_.current.afterLineNumber<=h?p-h+_.current.afterLineNumber:g,x.push({afterLineNumber:t,heightInLines:_.current.height/e,domNode:null}),_.advance()}if(null!==w&&ci(w)){const e=this._produceOriginalFromDiff(w,u,d);e&&C.push(e)}if(null!==w&&di(w)){const e=this._produceModifiedFromDiff(w,u,d);e&&x.push(e)}let S=0,E=0;for(C=C.sort(m),x=x.sort(m);S<C.length&&E<x.length;){const e=C[S],t=x[E],n=e.afterLineNumber-h,i=t.afterLineNumber-p;n<i?(v(l,e),S++):i<n?(v(c,t),E++):e.shouldNotShrink?(v(l,e),S++):t.shouldNotShrink?(v(c,t),E++):e.heightInLines>=t.heightInLines?(e.heightInLines-=t.heightInLines,E++):(t.heightInLines-=e.heightInLines,S++)}for(;S<C.length;)v(l,C[S]),S++;for(;E<x.length;)v(c,x[E]),E++}return{original:ni._ensureDomNodes(l),modified:ni._ensureDomNodes(c)}}static _ensureDomNodes(e){return e.map((e=>(e.domNode||(e.domNode=ui()),e)))}}function ii(e,t,n,i,o){return{range:new G.e(e,t,n,i),options:o}}const oi={charDelete:Ln.qx.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:Ln.qx.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:Ln.qx.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:Ln.qx.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:Ln.qx.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"gutter-insert",isWholeLine:!0}),lineInsertWithSign:Ln.qx.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+_n.kS.asClassName(Jn),marginClassName:"gutter-insert",isWholeLine:!0}),lineDelete:Ln.qx.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteWithSign:Ln.qx.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+_n.kS.asClassName(qn),marginClassName:"gutter-delete",isWholeLine:!0}),lineDeleteMargin:Ln.qx.register({description:"diff-editor-line-delete-margin",marginClassName:"gutter-delete"})};class ri extends ei{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new sn.g(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart((()=>this._onSashDragStart())),this._sash.onDidChange((e=>this._onSashDrag(e))),this._sash.onDidEnd((()=>this._onSashDragEnd())),this._sash.onDidReset((()=>this._onSashReset()))}setEnableSplitViewResizing(e){const t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){const t=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?Xn.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let n=Math.floor((e||.5)*t);const i=Math.floor(.5*t);return n=this._disableSash?i:n||i,t>2*ri.MINIMUM_EDITOR_WIDTH?(n<ri.MINIMUM_EDITOR_WIDTH&&(n=ri.MINIMUM_EDITOR_WIDTH),n>t-ri.MINIMUM_EDITOR_WIDTH&&(n=t-ri.MINIMUM_EDITOR_WIDTH)):n=i,this._sashPosition!==n&&(this._sashPosition=n),this._sash.layout(),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(e){const t=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?Xn.ENTIRE_DIFF_OVERVIEW_WIDTH:0),n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,n){const i=this._dataSource.getOriginalEditor(),o=this._dataSource.getModifiedEditor();return new ai(e,t,n,i,o).getViewZones()}_getOriginalEditorDecorations(e,t,n,i){const o=this._dataSource.getOriginalEditor(),r=String(this._removeColor),a={decorations:[],overviewZones:[]},s=o.getModel(),l=o._getViewModel();for(const e of t)if(di(e)){a.decorations.push({range:new G.e(e.originalStartLineNumber,1,e.originalEndLineNumber,1073741824),options:i?oi.lineDeleteWithSign:oi.lineDelete}),ci(e)&&e.charChanges||a.decorations.push(ii(e.originalStartLineNumber,1,e.originalEndLineNumber,1073741824,oi.charDeleteWholeLine));const t=hi(s,l,e.originalStartLineNumber,e.originalEndLineNumber);if(a.overviewZones.push(new On.EY(t.startLineNumber,t.endLineNumber,0,r)),e.charChanges)for(const t of e.charChanges)if(di(t))if(n)for(let e=t.originalStartLineNumber;e<=t.originalEndLineNumber;e++){let n,i;n=e===t.originalStartLineNumber?t.originalStartColumn:s.getLineFirstNonWhitespaceColumn(e),i=e===t.originalEndLineNumber?t.originalEndColumn:s.getLineLastNonWhitespaceColumn(e),a.decorations.push(ii(e,n,e,i,oi.charDelete))}else a.decorations.push(ii(t.originalStartLineNumber,t.originalStartColumn,t.originalEndLineNumber,t.originalEndColumn,oi.charDelete))}return a}_getModifiedEditorDecorations(e,t,n,i){const o=this._dataSource.getModifiedEditor(),r=String(this._insertColor),a={decorations:[],overviewZones:[]},s=o.getModel(),l=o._getViewModel();for(const e of t)if(ci(e)){a.decorations.push({range:new G.e(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber,1073741824),options:i?oi.lineInsertWithSign:oi.lineInsert}),di(e)&&e.charChanges||a.decorations.push(ii(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber,1073741824,oi.charInsertWholeLine));const t=hi(s,l,e.modifiedStartLineNumber,e.modifiedEndLineNumber);if(a.overviewZones.push(new On.EY(t.startLineNumber,t.endLineNumber,0,r)),e.charChanges)for(const t of e.charChanges)if(ci(t))if(n)for(let e=t.modifiedStartLineNumber;e<=t.modifiedEndLineNumber;e++){let n,i;n=e===t.modifiedStartLineNumber?t.modifiedStartColumn:s.getLineFirstNonWhitespaceColumn(e),i=e===t.modifiedEndLineNumber?t.modifiedEndColumn:s.getLineLastNonWhitespaceColumn(e),a.decorations.push(ii(e,n,e,i,oi.charInsert))}else a.decorations.push(ii(t.modifiedStartLineNumber,t.modifiedStartColumn,t.modifiedEndLineNumber,t.modifiedEndColumn,oi.charInsert))}return a}}ri.MINIMUM_EDITOR_WIDTH=100;class ai extends ni{constructor(e,t,n,i,o){super(e,t,n,i,o)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null}_produceModifiedFromDiff(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null}}class si extends ei{constructor(e,t){super(e),this._decorationsLeft=e.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(e.getOriginalEditor().onDidLayoutChange((t=>{this._decorationsLeft!==t.decorationsLeft&&(this._decorationsLeft=t.decorationsLeft,e.relayoutEditors())})))}setEnableSplitViewResizing(e){}_getViewZones(e,t,n,i){const o=this._dataSource.getOriginalEditor(),r=this._dataSource.getModifiedEditor();return new li(e,t,n,o,r,i).getViewZones()}_getOriginalEditorDecorations(e,t,n,i){const o=String(this._removeColor),r={decorations:[],overviewZones:[]},a=this._dataSource.getOriginalEditor(),s=a.getModel(),l=a._getViewModel();let c=0;for(const n of t)if(di(n)){for(r.decorations.push({range:new G.e(n.originalStartLineNumber,1,n.originalEndLineNumber,1073741824),options:oi.lineDeleteMargin});c<e.modified.length;){const t=e.modified[c];if(t.diff&&t.diff.originalStartLineNumber>=n.originalStartLineNumber)break;c++}let t=0;if(c<e.modified.length){const i=e.modified[c];i.diff&&i.diff.originalStartLineNumber===n.originalStartLineNumber&&i.diff.originalEndLineNumber===n.originalEndLineNumber&&i.diff.modifiedStartLineNumber===n.modifiedStartLineNumber&&i.diff.modifiedEndLineNumber===n.modifiedEndLineNumber&&(t=i.heightInLines)}const i=hi(s,l,n.originalStartLineNumber,n.originalEndLineNumber);r.overviewZones.push(new On.EY(i.startLineNumber,i.endLineNumber,t,o))}return r}_getModifiedEditorDecorations(e,t,n,i){const o=this._dataSource.getModifiedEditor(),r=String(this._insertColor),a={decorations:[],overviewZones:[]},s=o.getModel(),l=o._getViewModel();for(const e of t)if(ci(e)){a.decorations.push({range:new G.e(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber,1073741824),options:i?oi.lineInsertWithSign:oi.lineInsert});const t=hi(s,l,e.modifiedStartLineNumber,e.modifiedEndLineNumber);if(a.overviewZones.push(new On.EY(t.startLineNumber,t.endLineNumber,0,r)),e.charChanges){for(const t of e.charChanges)if(ci(t))if(n)for(let e=t.modifiedStartLineNumber;e<=t.modifiedEndLineNumber;e++){let n,i;n=e===t.modifiedStartLineNumber?t.modifiedStartColumn:s.getLineFirstNonWhitespaceColumn(e),i=e===t.modifiedEndLineNumber?t.modifiedEndColumn:s.getLineLastNonWhitespaceColumn(e),a.decorations.push(ii(e,n,e,i,oi.charInsert))}else a.decorations.push(ii(t.modifiedStartLineNumber,t.modifiedStartColumn,t.modifiedEndLineNumber,t.modifiedEndColumn,oi.charInsert))}else a.decorations.push(ii(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber,1073741824,oi.charInsertWholeLine))}return a}layout(){return Math.max(5,this._decorationsLeft)}}class li extends ni{constructor(e,t,n,i,o,r){super(e,t,n,i,o),this._originalModel=i.getModel(),this._renderIndicators=r,this._pendingLineChange=[],this._pendingViewZones=[],this._lineBreaksComputer=this._modifiedEditor._getViewModel().createLineBreaksComputer()}getViewZones(){const e=super.getViewZones();return this._finalize(e),e}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){const e=document.createElement("div");return e.className="inline-added-margin-view-zone",e}_produceOriginalFromDiff(e,t,n){const i=document.createElement("div");return i.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:i}}_produceModifiedFromDiff(e,t,n){const i=document.createElement("div");i.className=`view-lines line-delete ${Gn.S}`;const o=document.createElement("div");o.className="inline-deleted-margin-view-zone";const r={shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:0,domNode:i,marginDomNode:o,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalModel:this._originalModel,viewLineCounts:null}};for(let t=e.originalStartLineNumber;t<=e.originalEndLineNumber;t++)this._lineBreaksComputer.addRequest(this._originalModel.getLineContent(t),null,null);return this._pendingLineChange.push(e),this._pendingViewZones.push(r),r}_finalize(e){const t=this._modifiedEditor.getOptions(),n=this._modifiedEditor.getModel().getOptions().tabSize,i=t.get(44),o=t.get(29),r=i.typicalHalfwidthCharacterWidth,a=t.get(93),s=this._originalModel.mightContainNonBasicASCII(),l=this._originalModel.mightContainRTL(),c=t.get(59),d=t.get(131).decorationsWidth,u=t.get(105),h=t.get(88),p=t.get(83),f=t.get(45),g=this._lineBreaksComputer.finalize();let m=0;for(let t=0;t<this._pendingLineChange.length;t++){const v=this._pendingLineChange[t],b=this._pendingViewZones[t],_=b.domNode;(0,ln.N)(_,i);const y=b.marginDomNode;(0,ln.N)(y,i);const A=[];if(v.charChanges)for(const e of v.charChanges)di(e)&&A.push(new Lt.$t(new G.e(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),"char-delete",0));const w=A.length>0,C=(0,Tn.l$)(1e4);let x=0,S=0,E=null;for(let t=v.originalStartLineNumber;t<=v.originalEndLineNumber;t++){const r=t-v.originalStartLineNumber,a=this._originalModel.getLineTokens(t),_=a.getLineContent(),k=g[m++],M=Pn.Kp.filter(A,t,1,_.length+1);if(k){let g=0;for(const e of k.breakOffsets){const t=a.sliceAndInflate(g,e,0),r=_.substring(g,e);x=Math.max(x,this._renderOriginalLine(S++,r,t,Pn.Kp.extractWrapped(M,g,e),w,s,l,i,o,c,d,u,h,p,f,n,C,y)),g=e}for(E||(E=[]);E.length<r;)E[E.length]=1;E[r]=k.breakOffsets.length,b.heightInLines+=k.breakOffsets.length-1;const m=document.createElement("div");m.className="gutter-delete",e.original.push({afterLineNumber:t,afterColumn:0,heightInLines:k.breakOffsets.length-1,domNode:ui(),marginDomNode:m})}else x=Math.max(x,this._renderOriginalLine(S++,_,a,M,w,s,l,i,o,c,d,u,h,p,f,n,C,y))}x+=a;const k=C.build(),M=Zn?Zn.createHTML(k):k;if(_.innerHTML=M,b.minWidthInPx=x*r,E){const e=v.originalEndLineNumber-v.originalStartLineNumber;for(;E.length<=e;)E[E.length]=1}b.diff.viewLineCounts=E}e.original.sort(((e,t)=>e.afterLineNumber-t.afterLineNumber))}_renderOriginalLine(e,t,n,i,o,r,a,s,l,c,d,u,h,p,f,g,m,v){m.appendASCIIString('<div class="view-line'),o||m.appendASCIIString(" char-delete"),m.appendASCIIString('" style="top:'),m.appendASCIIString(String(e*c)),m.appendASCIIString('px;width:1000000px;">');const b=Lt.wA.isBasicASCII(t,r),_=Lt.wA.containsRTL(t,b,a),y=(0,Tt.d1)(new Tt.IJ(s.isMonospace&&!l,s.canUseHalfwidthRightwardsArrow,t,!1,b,_,0,n,i,g,0,s.spaceWidth,s.middotWidth,s.wsmiddotWidth,u,h,p,f!==z.n0.OFF,null),m);if(m.appendASCIIString("</div>"),this._renderIndicators){const t=document.createElement("div");t.className=`delete-sign ${_n.kS.asClassName(qn)}`,t.setAttribute("style",`position:absolute;top:${e*c}px;width:${d}px;height:${c}px;right:0;`),v.appendChild(t)}return y.characterMapping.getAbsoluteOffset(y.characterMapping.length)}}function ci(e){return e.modifiedEndLineNumber>0}function di(e){return e.originalEndLineNumber>0}function ui(){const e=document.createElement("div");return e.className="diagonal-fill",e}function hi(e,t,n,i){const o=e.getLineCount();return n=Math.min(o,Math.max(1,n)),i=Math.min(o,Math.max(1,i)),t.coordinatesConverter.convertModelRangeToViewRange(new G.e(n,e.getLineMinColumn(n),i,e.getLineMaxColumn(i)))}function pi(e,t){return{enableSplitViewResizing:(0,z.O7)(e.enableSplitViewResizing,t.enableSplitViewResizing),renderSideBySide:(0,z.O7)(e.renderSideBySide,t.renderSideBySide),maxComputationTime:(0,z.Zc)(e.maxComputationTime,t.maxComputationTime,0,1073741824),maxFileSize:(0,z.Zc)(e.maxFileSize,t.maxFileSize,0,1073741824),ignoreTrimWhitespace:(0,z.O7)(e.ignoreTrimWhitespace,t.ignoreTrimWhitespace),renderIndicators:(0,z.O7)(e.renderIndicators,t.renderIndicators),originalEditable:(0,z.O7)(e.originalEditable,t.originalEditable),diffCodeLens:(0,z.O7)(e.diffCodeLens,t.diffCodeLens),renderOverviewRuler:(0,z.O7)(e.renderOverviewRuler,t.renderOverviewRuler),diffWordWrap:(n=e.diffWordWrap,i=t.diffWordWrap,(0,z.NY)(n,i,["off","on","inherit"]))};var n,i}(0,_n.Ic)(((e,t)=>{const n=e.getColor(bn.ypS);n&&t.addRule(`.monaco-editor .char-insert, .monaco-diff-editor .char-insert { background-color: ${n}; }`);const i=e.getColor(bn.hzo)||n;i&&t.addRule(`.monaco-editor .line-insert, .monaco-diff-editor .line-insert { background-color: ${i}; }`);const o=e.getColor(bn.j51)||i;o&&(t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${o}; }`),t.addRule(`.monaco-editor .gutter-insert, .monaco-diff-editor .gutter-insert { background-color: ${o}; }`));const r=e.getColor(bn.P4M);r&&t.addRule(`.monaco-editor .char-delete, .monaco-diff-editor .char-delete { background-color: ${r}; }`);const a=e.getColor(bn.xi6)||r;a&&t.addRule(`.monaco-editor .line-delete, .monaco-diff-editor .line-delete { background-color: ${a}; }`);const s=e.getColor(bn.zOm)||a;s&&(t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${s}; }`),t.addRule(`.monaco-editor .gutter-delete, .monaco-diff-editor .gutter-delete { background-color: ${s}; }`));const l=e.getColor(bn.XL$);l&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===e.type?"dashed":"solid"} ${l}; }`);const c=e.getColor(bn.mHy);c&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===e.type?"dashed":"solid"} ${c}; }`);const d=e.getColor(bn._wn);d&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${d}; }`);const u=e.getColor(bn.LLc);u&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${u}; }`);const h=e.getColor(bn.etL);h&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${h};\n\t\t\t}\n\t\t`);const p=e.getColor(bn.ABB);p&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${p};\n\t\t\t}\n\t\t`);const f=e.getColor(bn.ynu);f&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${f};\n\t\t\t}\n\t\t`);const g=e.getColor(bn.L_t);t.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${g} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${g} 50%, ${g} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)}));var fi=n(6171),gi=n(6390);let mi=class extends oe.JT{constructor(e){super(),this._themeService=e,this._onCodeEditorAdd=this._register(new W.Q5),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new W.Q5),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new W.Q5),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new W.Q5),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map((e=>this._codeEditors[e]))}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map((e=>this._diffEditors[e]))}getFocusedCodeEditor(){let e=null;const t=this.listCodeEditors();for(const n of t){if(n.hasTextFocus())return n;n.hasWidgetFocus()&&(e=n)}return e}removeDecorationType(e){const t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach((t=>t.removeDecorations(e)))))}setModelProperty(e,t,n){const i=e.toString();let o;this._modelProperties.has(i)?o=this._modelProperties.get(i):(o=new Map,this._modelProperties.set(i,o)),o.set(t,n)}getModelProperty(e,t){const n=e.toString();if(this._modelProperties.has(n))return this._modelProperties.get(n).get(t)}};mi=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,0)}}(0,_n.XE)],mi);var vi=n(101),bi=function(e,t){return function(n,i){t(n,i,e)}};let _i=class extends mi{constructor(e,t){super(t),this.onCodeEditorAdd((()=>this._checkContextKey())),this.onCodeEditorRemove((()=>this._checkContextKey())),this._editorIsOpen=e.createKey("editorIsOpen",!1),this._activeCodeEditor=null}_checkContextKey(){let e=!1;for(const t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}openCodeEditor(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){if(!this.findModel(e,t.resource)){if(t.resource){const n=t.resource.scheme;if(n===gi.lg.http||n===gi.lg.https)return(0,rn.V3)(t.resource.toString()),e}return null}const n=t.options?t.options.selection:null;if(n)if("number"==typeof n.endLineNumber&&"number"==typeof n.endColumn)e.setSelection(n),e.revealRangeInCenter(n,1);else{const t={lineNumber:n.startLineNumber,column:n.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}return e}findModel(e,t){const n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n}};_i=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([bi(0,vn.i6),bi(1,_n.XE)],_i),(0,vi.z)(ne.$,_i);const yi=(0,pt.yh)("layoutService");var Ai=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},wi=function(e,t){return function(n,i){t(n,i,e)}};let Ci=class{constructor(e){this._codeEditorService=e,this.onDidLayout=W.ju.None}get dimension(){return this._dimension||(this._dimension=rn.D6(window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error("ILayoutService.container is not available in the standalone editor!")}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}};Ci=Ai([wi(0,ne.$)],Ci);let xi=class extends Ci{constructor(e,t){super(t),this._container=e}get hasContainer(){return!1}get container(){return this._container}};xi=Ai([wi(1,ne.$)],xi),(0,vi.z)(yi,Ci);var Si=n(9371);const Ei=(0,pt.yh)("dialogService");var ki=n(6701),Mi=function(e,t){return function(n,i){t(n,i,e)}},Di=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};function Ni(e){return e.scheme===gi.lg.file?e.fsPath:e.path}let Ii=0;class Ti{constructor(e,t,n,i,o,r,a){this.id=++Ii,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=n,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=i,this.groupOrder=o,this.sourceId=r,this.sourceOrder=a,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class Li{constructor(e,t){this.resourceLabel=e,this.reason=t}}class Bi{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,n]of this.elements)(0===n.reason?e:t).push(n.resourceLabel);let n=[];return e.length>0&&n.push(on.N({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&n.push(on.N({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),n.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class Oi{constructor(e,t,n,i,o,r,a){this.id=++Ii,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=n,this.groupId=i,this.groupOrder=o,this.sourceId=r,this.sourceOrder=a,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,n){this.removedResources||(this.removedResources=new Bi),this.removedResources.has(t)||this.removedResources.set(t,new Li(e,n))}setValid(e,t,n){n?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new Bi),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new Li(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class Pi{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push(` * [UNDO] ${this._past[t]}`);for(let t=this._future.length-1;t>=0;t--)e.push(` * [REDO] ${this._future[t]}`);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const n of this._past)t(n.actual)&&this._setElementValidFlag(n,e);for(const n of this._future)t(n.actual)&&this._setElementValidFlag(n,e)}pushElement(e){for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let e=0,n=this._past.length;e<n;e++)t.push(this._past[e].id);for(let e=this._future.length-1;e>=0;e--)t.push(this._future[e].id);return new ki.YO(e,t)}restoreSnapshot(e){const t=e.elements.length;let n=!0,i=0,o=-1;for(let r=0,a=this._past.length;r<a;r++,i++){const a=this._past[r];n&&(i>=t||a.id!==e.elements[i])&&(n=!1,o=0),n||1!==a.type||a.removeResource(this.resourceLabel,this.strResource,0)}let r=-1;for(let o=this._future.length-1;o>=0;o--,i++){const a=this._future[o];n&&(i>=t||a.id!==e.elements[i])&&(n=!1,r=o),n||1!==a.type||a.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==r&&(this._future=this._future.slice(r+1)),this.versionId++}getElements(){const e=[],t=[];for(const t of this._past)e.push(t.actual);for(const e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let n=this._past.length-1;n>=0;n--)if(this._past[n]===e){t.has(this.strResource)?this._past[n]=t.get(this.strResource):this._past.splice(n,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let n=this._future.length-1;n>=0;n--)if(this._future[n]===e){t.has(this.strResource)?this._future[n]=t.get(this.strResource):this._future.splice(n,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class Fi{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;e<t;e++)this._versionIds[e]=this.editStacks[e].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const Ri=new Pi("","");Ri.locked=!0;let ji=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){console.log("------------------------------------"),console.log(`AFTER ${e}: `);let t=[];for(const e of this._editStacks)t.push(e[1].toString());console.log(t.join("\n"))}pushElement(e,t=ki.Xt.None,n=ki.gJ.None){if(0===e.type){const i=Ni(e.resource),o=this.getUriComparisonKey(e.resource);this._pushElement(new Ti(e,i,o,t.id,t.nextOrder(),n.id,n.nextOrder()))}else{const i=new Set,o=[],r=[];for(const t of e.resources){const e=Ni(t),n=this.getUriComparisonKey(t);i.has(n)||(i.add(n),o.push(e),r.push(n))}1===o.length?this._pushElement(new Ti(e,o[0],r[0],t.id,t.nextOrder(),n.id,n.nextOrder())):this._pushElement(new Oi(e,o,r,t.id,t.nextOrder(),n.id,n.nextOrder()))}}_pushElement(e){for(let t=0,n=e.strResources.length;t<n;t++){const n=e.resourceLabels[t],i=e.strResources[t];let o;this._editStacks.has(i)?o=this._editStacks.get(i):(o=new Pi(n,i),this._editStacks.set(i,o)),o.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);if(e.hasFutureElements())return null;const n=e.getClosestPastElement();return n?n.actual:null}return null}_splitPastWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=Ni(e.resource),n=this.getUriComparisonKey(e.resource),o=new Ti(e,t,n,0,0,0,0);i.set(o.strResource,o)}for(const n of e.strResources)t&&t.has(n)||this._editStacks.get(n).splitPastWorkspaceElement(e,i)}_splitFutureWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=Ni(e.resource),n=this.getUriComparisonKey(e.resource),o=new Ti(e,t,n,0,0,0,0);i.set(o.strResource,o)}for(const n of e.strResources)t&&t.has(n)||this._editStacks.get(n).splitFutureWorkspaceElement(e,i)}removeElements(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);this._editStacks.has(t)&&(this._editStacks.get(t).dispose(),this._editStacks.delete(t))}setElementsValidFlag(e,t,n){const i=this.getUriComparisonKey(e);this._editStacks.has(i)&&this._editStacks.get(i).setElementsValidFlag(t,n)}createSnapshot(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).createSnapshot(e):new ki.YO(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const n=this._editStacks.get(t);n.restoreSnapshot(e),n.hasPastElements()||n.hasFutureElements()||(n.dispose(),this._editStacks.delete(t))}}getElements(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).getElements():{past:[],future:[]}}_findClosestUndoElementWithSource(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestPastElement();r&&r.sourceId===e&&(!t||r.sourceOrder>t.sourceOrder)&&(t=r,n=i)}return[t,n]}canUndo(e){if(e instanceof ki.gJ){const[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);return!!this._editStacks.has(t)&&this._editStacks.get(t).hasPastElements()}_onError(e,t){(0,me.dL)(e);for(const e of t.strResources)this.removeElements(e);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,n,i,o){const r=this._acquireLocks(n);let a;try{a=t()}catch(t){return r(),i.dispose(),this._onError(t,e)}return a?a.then((()=>(r(),i.dispose(),o())),(t=>(r(),i.dispose(),this._onError(t,e)))):(r(),i.dispose(),o())}_invokeWorkspacePrepare(e){return Di(this,void 0,void 0,(function*(){if(void 0===e.actual.prepareUndoRedo)return oe.JT.None;const t=e.actual.prepareUndoRedo();return void 0===t?oe.JT.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(oe.JT.None);const n=e.actual.prepareUndoRedo();return n?(0,oe.Wf)(n)?t(n):n.then((e=>t(e))):t(oe.JT.None)}_getAffectedEditStacks(e){const t=[];for(const n of e.strResources)t.push(this._editStacks.get(n)||Ri);return new Fi(t)}_tryToSplitAndUndo(e,t,n,i){if(t.canSplit())return this._splitPastWorkspaceElement(t,n),this._notificationService.warn(i),new zi(this._undo(e,0,!0));for(const e of t.strResources)this.removeElements(e);return this._notificationService.warn(i),new zi}_checkWorkspaceUndo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,on.N({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,on.N({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const e of n.editStacks)e.getClosestPastElement()!==t&&o.push(e.resourceLabel);if(o.length>0)return this._tryToSplitAndUndo(e,t,null,on.N({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const r=[];for(const e of n.editStacks)e.locked&&r.push(e.resourceLabel);return r.length>0?this._tryToSplitAndUndo(e,t,null,on.N({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,r.join(", "))):n.isValid()?null:this._tryToSplitAndUndo(e,t,null,on.N({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t,n){const i=this._getAffectedEditStacks(t),o=this._checkWorkspaceUndo(e,t,i,!1);return o?o.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,i,n)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(const[,t]of this._editStacks){const n=t.getClosestPastElement();if(n){if(n===e){const n=t.getSecondClosestPastElement();if(n&&n.groupId===e.groupId)return!0}if(n.groupId===e.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(e,t,n,i){return Di(this,void 0,void 0,(function*(){if(t.canSplit()&&!this._isPartOfUndoGroup(t)){const o=yield this._dialogService.show(Si.Z.Info,on.N("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),[on.N({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",n.editStacks.length),on.N("nok","Undo this File"),on.N("cancel","Cancel")],{cancelId:2});if(2===o.choice)return;if(1===o.choice)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);const r=this._checkWorkspaceUndo(e,t,n,!1);if(r)return r.returnValue;i=!0}let o;try{o=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const r=this._checkWorkspaceUndo(e,t,n,!0);if(r)return o.dispose(),r.returnValue;for(const e of n.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.undo()),n,o,(()=>this._continueUndoInGroup(t.groupId,i)))}))}_resourceUndo(e,t,n){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(i=>(e.moveBackward(t),this._safeInvokeWithLocks(t,(()=>t.actual.undo()),new Fi([e]),i,(()=>this._continueUndoInGroup(t.groupId,n))))));{const e=on.N({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e)}}else e.flushAllElements()}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestPastElement();r&&r.groupId===e&&(!t||r.groupOrder>t.groupOrder)&&(t=r,n=i)}return[t,n]}_continueUndoInGroup(e,t){if(!e)return;const[,n]=this._findClosestUndoElementInGroup(e);return n?this._undo(n,0,t):void 0}undo(e){if(e instanceof ki.gJ){const[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,n){if(!this._editStacks.has(e))return;const i=this._editStacks.get(e),o=i.getClosestPastElement();if(o){if(o.groupId){const[e,i]=this._findClosestUndoElementInGroup(o.groupId);if(o!==e&&i)return this._undo(i,t,n)}if((o.sourceId!==t||o.confirmBeforeUndo)&&!n)return this._confirmAndContinueUndo(e,t,o);try{return 1===o.type?this._workspaceUndo(e,o,n):this._resourceUndo(i,o,n)}finally{}}}_confirmAndContinueUndo(e,t,n){return Di(this,void 0,void 0,(function*(){if(1!==(yield this._dialogService.show(Si.Z.Info,on.N("confirmDifferentSource","Would you like to undo '{0}'?",n.label),[on.N("confirmDifferentSource.yes","Yes"),on.N("confirmDifferentSource.no","No")],{cancelId:1})).choice)return this._undo(e,t,!0)}))}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestFutureElement();r&&r.sourceId===e&&(!t||r.sourceOrder<t.sourceOrder)&&(t=r,n=i)}return[t,n]}canRedo(e){if(e instanceof ki.gJ){const[,t]=this._findClosestRedoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);return!!this._editStacks.has(t)&&this._editStacks.get(t).hasFutureElements()}_tryToSplitAndRedo(e,t,n,i){if(t.canSplit())return this._splitFutureWorkspaceElement(t,n),this._notificationService.warn(i),new zi(this._redo(e));for(const e of t.strResources)this.removeElements(e);return this._notificationService.warn(i),new zi}_checkWorkspaceRedo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,on.N({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,on.N({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const e of n.editStacks)e.getClosestFutureElement()!==t&&o.push(e.resourceLabel);if(o.length>0)return this._tryToSplitAndRedo(e,t,null,on.N({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const r=[];for(const e of n.editStacks)e.locked&&r.push(e.resourceLabel);return r.length>0?this._tryToSplitAndRedo(e,t,null,on.N({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,r.join(", "))):n.isValid()?null:this._tryToSplitAndRedo(e,t,null,on.N({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceRedo(e,t,n,!1);return i?i.returnValue:this._executeWorkspaceRedo(e,t,n)}_executeWorkspaceRedo(e,t,n){return Di(this,void 0,void 0,(function*(){let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const o=this._checkWorkspaceRedo(e,t,n,!0);if(o)return i.dispose(),o.returnValue;for(const e of n.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.redo()),n,i,(()=>this._continueRedoInGroup(t.groupId)))}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(n=>(e.moveForward(t),this._safeInvokeWithLocks(t,(()=>t.actual.redo()),new Fi([e]),n,(()=>this._continueRedoInGroup(t.groupId))))));{const e=on.N({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.warn(e)}}else e.flushAllElements()}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestFutureElement();r&&r.groupId===e&&(!t||r.groupOrder<t.groupOrder)&&(t=r,n=i)}return[t,n]}_continueRedoInGroup(e){if(!e)return;const[,t]=this._findClosestRedoElementInGroup(e);return t?this._redo(t):void 0}redo(e){if(e instanceof ki.gJ){const[,t]=this._findClosestRedoElementWithSource(e.id);return t?this._redo(t):void 0}return"string"==typeof e?this._redo(e):this._redo(this.getUriComparisonKey(e))}_redo(e){if(!this._editStacks.has(e))return;const t=this._editStacks.get(e),n=t.getClosestFutureElement();if(n){if(n.groupId){const[e,t]=this._findClosestRedoElementInGroup(n.groupId);if(n!==e&&t)return this._redo(t)}try{return 1===n.type?this._workspaceRedo(e,n):this._resourceRedo(t,n)}finally{}}}};ji=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Mi(0,Ei),Mi(1,Rn.lT)],ji);class zi{constructor(e){this.returnValue=e}}(0,vi.z)(ki.tJ,ji);var Vi=n(472),Wi=n(2669);const Hi=(0,pt.yh)("ILanguageFeatureDebounceService");var Ui;!function(e){const t=new WeakMap;let n=0;e.of=function(e){let i=t.get(e);return void 0===i&&(i=++n,t.set(e,i)),i}}(Ui||(Ui={}));class Qi{constructor(e,t,n,i,o,r){this._logService=e,this._name=t,this._registry=n,this._default=i,this._min=o,this._max=r,this._cache=new Vi.z6(50,.7)}_key(e){return e.id+this._registry.all(e).reduce(((e,t)=>(0,Oe.SP)(Ui.of(t),e)),0)}get(e){const t=this._key(e),n=this._cache.get(t);return n?(0,Wi.uZ)(n.value,this._min,this._max):this.default()}update(e,t){const n=this._key(e);let i=this._cache.get(n);i||(i=new Wi.N(6),this._cache.set(n,i));const o=(0,Wi.uZ)(i.update(t),this._min,this._max);return this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${o}ms`),o}_overall(){const e=new Wi.nM;for(const[,t]of this._cache)e.update(t.value);return e.value}default(){const e=0|this._overall()||this._default;return(0,Wi.uZ)(e,this._min,this._max)}}let Gi=class{constructor(e){this._logService=e,this._data=new Map}for(e,t,n){var i,o,r;const a=null!==(i=null==n?void 0:n.min)&&void 0!==i?i:50,s=null!==(o=null==n?void 0:n.max)&&void 0!==o?o:Math.pow(a,2),l=null!==(r=null==n?void 0:n.key)&&void 0!==r?r:void 0,c=`${Ui.of(e)},${a}${l?","+l:""}`;let d=this._data.get(c);return d||(d=new Qi(this._logService,t,e,0|this._overallAverage()||1.5*a,a,s),this._data.set(c,d)),d}_overallAverage(){let e=new Wi.nM;for(let t of this._data.values())e.update(t.default());return e.value}};Gi=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,0)}}(0,vt.VZ)],Gi),(0,vi.z)(Hi,Gi,!0);var Ki=n(7560),Yi=n(4130);const $i=(0,pt.yh)("IWorkspaceEditService");class Ji{constructor(e){this.metadata=e}static convert(e){return e.edits.map((e=>{if(t=e,(0,be.Kn)(t)&&U.o.isUri(t.resource)&&(0,be.Kn)(t.edit))return new qi(e.resource,e.edit,e.modelVersionId,e.metadata);var t;if(function(e){return(0,be.Kn)(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))}(e))return new Zi(e.oldUri,e.newUri,e.options,e.metadata);throw new Error("Unsupported edit")}))}}class qi extends Ji{constructor(e,t,n,i){super(i),this.resource=e,this.textEdit=t,this.versionId=n}}class Zi extends Ji{constructor(e,t,n,i){super(i),this.oldResource=e,this.newResource=t,this.options=n}}var Xi=n(3800),eo=n(850),to=n(470);const no=Object.freeze({id:"editor",order:5,type:"object",title:on.N("editorConfigurationTitle","Editor"),scope:5}),io=Object.assign(Object.assign({},no),{properties:{"editor.tabSize":{type:"number",default:Xi.D.tabSize,minimum:1,markdownDescription:on.N("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:Xi.D.insertSpaces,markdownDescription:on.N("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:Xi.D.detectIndentation,markdownDescription:on.N("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:Xi.D.trimAutoWhitespace,description:on.N("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:Xi.D.largeFileOptimizations,description:on.N("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:on.N("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[on.N("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),on.N("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),on.N("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:on.N("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[on.N("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),on.N("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),on.N("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:on.N("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:on.N("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:on.N("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.language.brackets":{type:"array",default:!1,description:on.N("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:on.N("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:on.N("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:"array",default:!1,description:on.N("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:on.N("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:on.N("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:on.N("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:50,description:on.N("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:on.N("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:on.N("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:on.N("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:on.N("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[on.N("wordWrap.off","Lines will never wrap."),on.N("wordWrap.on","Lines will wrap at the viewport width."),on.N("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});for(const e of z.Bc){const t=e.schema;if(void 0!==t)if(void 0!==(oo=t).type||void 0!==oo.anyOf)io.properties[`editor.${e.name}`]=t;else for(const e in t)Object.hasOwnProperty.call(t,e)&&(io.properties[e]=t[e])}var oo;let ro=null;function ao(){return null===ro&&(ro=Object.create(null),Object.keys(io.properties).forEach((e=>{ro[e]=!0}))),ro}to.B.as(eo.IP.Configuration).registerConfiguration(io);var so=n(5093),lo=n(172),co=n(9014),uo=n(3587);class ho{constructor(e={},t=[],n=[]){this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1,this.overrideConfigurations=new Map}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?(0,uo.Mt)(this.contents,e):this.contents}getOverrideValue(e,t){const n=this.getContentsForOverrideIdentifer(t);return n?e?(0,uo.Mt)(n,e):n:void 0}override(e){let t=this.overrideConfigurations.get(e);return t||(t=this.createOverrideConfigurationModel(e),this.overrideConfigurations.set(e,t)),t}merge(...e){const t=re.I8(this.contents),n=re.I8(this.overrides),i=[...this.keys];for(const o of e){this.mergeContents(t,o.contents);for(const e of o.overrides){const[t]=n.filter((t=>mt.fS(t.identifiers,e.identifiers)));t?(this.mergeContents(t.contents,e.contents),t.keys.push(...e.keys),t.keys=mt.EB(t.keys)):n.push(re.I8(e))}for(const e of o.keys)-1===i.indexOf(e)&&i.push(e)}return new ho(t,i,n)}freeze(){return this.isFrozen=!0,this}createOverrideConfigurationModel(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let n={};for(const e of mt.EB([...Object.keys(this.contents),...Object.keys(t)])){let i=this.contents[e],o=t[e];o&&("object"==typeof i&&"object"==typeof o?(i=re.I8(i),this.mergeContents(i,o)):i=o),n[e]=i}return new ho(n,this.keys,this.overrides)}mergeContents(e,t){for(const n of Object.keys(t))n in e&&be.Kn(e[n])&&be.Kn(t[n])?this.mergeContents(e[n],t[n]):e[n]=re.I8(t[n])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?re._A(e):e}getContentsForOverrideIdentifer(e){let t=null,n=null;const i=e=>{e&&(n?this.mergeContents(n,e):n=re.I8(e))};for(const n of this.overrides)mt.fS(n.identifiers,[e])?t=n.contents:n.identifiers.includes(e)&&i(n.contents);return i(t),n}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),(0,uo.KV)(this.contents,e,t,(e=>{throw new Error(e)}))}removeValue(e){this.removeKey(e)&&(0,uo.xL)(this.contents,e)}addKey(e){let t=this.keys.length;for(let n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)}removeKey(e){let t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)}}class po extends ho{constructor(e={}){const t=to.B.as(eo.IP.Configuration).getConfigurationProperties(),n=Object.keys(t),i=Object.create(null),o=[];for(const n in t){const o=e[n],r=void 0!==o?o:t[n].default;(0,uo.KV)(i,n,r,(e=>console.error(`Conflict in default settings: ${e}`)))}for(const e of Object.keys(i))eo.eU.test(e)&&o.push({identifiers:(0,eo.ny)(e),keys:Object.keys(i[e]),contents:(0,uo.Od)(i[e],(e=>console.error(`Conflict in default settings file: ${e}`)))});super(i,n,o)}}class fo{constructor(e,t,n=new ho,i=new ho,o=new Vi.Y9,r=new ho,a=new Vi.Y9,s=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=o,this._memoryConfiguration=r,this._memoryConfigurationByResource=a,this._freeze=s,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Vi.Y9,this._userConfiguration=null}getValue(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)}updateValue(e,t,n={}){let i;n.resource?(i=this._memoryConfigurationByResource.get(n.resource),i||(i=new ho,this._memoryConfigurationByResource.set(n.resource,i))):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(e,t,n){const i=this.getConsolidateConfigurationModel(t,n),o=this.getFolderConfigurationModelForResource(t.resource,n),r=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration,a=t.overrideIdentifier?this._defaultConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),s=t.overrideIdentifier?this.userConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.userConfiguration.freeze().getValue(e),l=t.overrideIdentifier?this.localUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.localUserConfiguration.freeze().getValue(e),c=t.overrideIdentifier?this.remoteUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.remoteUserConfiguration.freeze().getValue(e),d=n?t.overrideIdentifier?this._workspaceConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,u=o?t.overrideIdentifier?o.freeze().override(t.overrideIdentifier).getValue(e):o.freeze().getValue(e):void 0,h=t.overrideIdentifier?r.override(t.overrideIdentifier).getValue(e):r.getValue(e),p=i.getValue(e),f=mt.EB(mt.xH(i.overrides.map((e=>e.identifiers)))).filter((t=>void 0!==i.getOverrideValue(e,t)));return{defaultValue:a,userValue:s,userLocalValue:l,userRemoteValue:c,workspaceValue:d,workspaceFolderValue:u,memoryValue:h,value:p,default:void 0!==a?{value:this._defaultConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._defaultConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,user:void 0!==s?{value:this.userConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.userConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userLocal:void 0!==l?{value:this.localUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.localUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userRemote:void 0!==c?{value:this.remoteUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.remoteUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspace:void 0!==d?{value:this._workspaceConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._workspaceConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspaceFolder:void 0!==u?{value:null==o?void 0:o.freeze().getValue(e),override:t.overrideIdentifier?null==o?void 0:o.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,memory:void 0!==h?{value:r.getValue(e),override:t.overrideIdentifier?r.getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,overrideIdentifiers:f.length?f:void 0}}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidateConfigurationModel(e,t){let n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n}getConsolidatedConfigurationModelForResource({resource:e},t){let n=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const i=t.getFolder(e);i&&(n=this.getFolderConsolidatedConfiguration(i.uri)||n);const o=this._memoryConfigurationByResource.get(e);o&&(n=n.merge(o))}return n}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}getFolderConfigurationModelForResource(e,t){if(t&&e){const n=t.getFolder(e);if(n)return this._folderConfigurations.get(n.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce(((e,t)=>{const{contents:n,overrides:i,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:n,overrides:i,keys:o}]),e}),[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),n=this.parseConfigurationModel(e.user),i=this.parseConfigurationModel(e.workspace),o=e.folders.reduce(((e,t)=>(e.set(U.o.revive(t[0]),this.parseConfigurationModel(t[1])),e)),new Vi.Y9);return new fo(t,n,new ho,i,o,new ho,new Vi.Y9,!1)}static parseConfigurationModel(e){return new ho(e.contents,e.keys,e.overrides).freeze()}}class go{constructor(e,t,n,i){this.change=e,this.previous=t,this.currentConfiguraiton=n,this.currentWorkspace=i,this._previousConfiguration=void 0;const o=new Set;e.keys.forEach((e=>o.add(e))),e.overrides.forEach((([,e])=>e.forEach((e=>o.add(e))))),this.affectedKeys=[...o.values()];const r=new ho;this.affectedKeys.forEach((e=>r.setValue(e,{}))),this.affectedKeysTree=r.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=fo.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var n;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)){if(t){const i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(n=this.previous)||void 0===n?void 0:n.workspace):void 0,o=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!re.fS(i,o)}return!0}return!1}doesAffectedKeysTreeContains(e,t){let n,i=(0,uo.Od)({[t]:!0},(()=>{}));for(;"object"==typeof i&&(n=Object.keys(i)[0]);){if(!(e=e[n]))return!1;i=i[n]}return!0}}const mo=/^(cursor|delete)/;class vo extends oe.JT{constructor(e,t,n,i,o){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=n,this._notificationService=i,this._logService=o,this._onDidUpdateKeybindings=this._register(new W.Q5),this._currentChord=null,this._currentChordChecker=new ge.zh,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=bo.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new ge._F,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:W.ju.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){const n=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService);if(n)return n.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;const[i]=n.getDispatchParts();if(null===i)return null;const o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,r,i)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(on.N("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const n=Date.now();this._currentChordChecker.cancelAndSet((()=>{this._documentHasFocus()?Date.now()-n>5e3&&this._leaveChordMode():this._leaveChordMode()}),500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t,!1)}_singleModifierDispatch(e,t){const n=this.resolveKeyboardEvent(e),[i]=n.getSingleModifierDispatchParts();if(i)return this._ignoreSingleModifiers.has(i)?(this._log(`+ Ignoring single modifier ${i} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=bo.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=bo.EMPTY,null===this._currentSingleModifier?(this._log(`+ Storing single modifier for possible chord ${i}.`),this._currentSingleModifier=i,this._currentSingleModifierClearTimeout.cancelAndSet((()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null}),300),!1):i===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${i} ${i}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(n,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${i}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[o]=n.getParts();return this._ignoreSingleModifiers=new bo(o),null!==this._currentSingleModifier&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(e,t,n=!1){let i=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;let o=null,r=null;if(n){const[t]=e.getSingleModifierDispatchParts();o=t,r=t}else[o]=e.getDispatchParts(),r=this._currentChord?this._currentChord.keypress:null;if(null===o)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),i;const a=this._contextKeyService.getContext(t),s=e.getLabel(),l=this._getResolver().resolve(a,r,o);return this._logService.trace("KeybindingService#dispatch",s,null==l?void 0:l.commandId),l&&l.enterChord?(i=!0,this._enterChordMode(o,s),i):(this._currentChord&&(l&&l.commandId||(this._notificationService.status(on.N("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,s),{hideAfter:1e4}),i=!0)),this._leaveChordMode(),l&&l.commandId&&(l.bubble||(i=!0),void 0===l.commandArgs?this._commandService.executeCommand(l.commandId).then(void 0,(e=>this._notificationService.warn(e))):this._commandService.executeCommand(l.commandId,l.commandArgs).then(void 0,(e=>this._notificationService.warn(e))),mo.test(l.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:l.commandId,from:"keybinding"})),i)}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class bo{constructor(e){this._ctrlKey=!!e&&e.ctrlKey,this._shiftKey=!!e&&e.shiftKey,this._altKey=!!e&&e.altKey,this._metaKey=!!e&&e.metaKey}has(e){switch(e){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}bo.EMPTY=new bo(null);var _o=n(6777);class yo{constructor(e,t,n){this._log=n,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(const t of e){const e=t.command;e&&"-"!==e.charAt(0)&&this._defaultBoundCommands.set(e,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=yo.handleRemovals([].concat(e).concat(t));for(let e=0,t=this._keybindings.length;e<t;e++){let t=this._keybindings[e];0!==t.keypressParts.length&&(t.when&&0===t.when.type||this._addKeyPress(t.keypressParts[0],t))}}static _isTargetedForRemoval(e,t,n,i){if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(i){if(!e.when)return!1;if(!(0,vn.Fb)(i,e.when))return!1}return!0}static handleRemovals(e){const t=new Map;for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.command&&"-"===i.command.charAt(0)){const e=i.command.substring(1);t.has(e)?t.get(e).push(i):t.set(e,[i])}}if(0===t.size)return e;const n=[];for(let i=0,o=e.length;i<o;i++){const o=e[i];if(!o.command||0===o.command.length){n.push(o);continue}if("-"===o.command.charAt(0))continue;const r=t.get(o.command);if(!r||!o.isDefault){n.push(o);continue}let a=!1;for(const e of r){const t=e.keypressParts[0],n=e.keypressParts[1],i=e.when;if(this._isTargetedForRemoval(o,t,n,i)){a=!0;break}}a||n.push(o)}return n}_addKeyPress(e,t){const n=this._map.get(e);if(void 0===n)return this._map.set(e,[t]),void this._addToLookupMap(t);for(let e=n.length-1;e>=0;e--){let i=n[e];if(i.command===t.command)continue;const o=i.keypressParts.length>1,r=t.keypressParts.length>1;o&&r&&i.keypressParts[1]!==t.keypressParts[1]||yo.whenIsEntirelyIncluded(i.when,t.when)&&this._removeFromLookupMap(i)}n.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);if(void 0!==t)for(let n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}static whenIsEntirelyIncluded(e,t){return!t||1===t.type||!(!e||1===e.type)&&(0,vn.K8)(e,t)}getKeybindings(){return this._keybindings}lookupPrimaryKeybinding(e,t){const n=this._lookupMap.get(e);if(void 0===n||0===n.length)return null;if(1===n.length)return n[0];for(let e=n.length-1;e>=0;e--){const i=n[e];if(t.contextMatchesRules(i.when))return i}return n[n.length-1]}resolve(e,t,n){this._log(`| Resolving ${n}${t?` chorded from ${t}`:""}`);let i=null;if(null!==t){const e=this._map.get(t);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=[];for(let t=0,o=e.length;t<o;t++){let o=e[t];o.keypressParts[1]===n&&i.push(o)}}else{const e=this._map.get(n);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=e}let o=this._findCommand(e,i);return o?null===t&&o.keypressParts.length>1&&null!==o.keypressParts[1]?(this._log(`\\ From ${i.length} keybinding entries, matched chord, when: ${Ao(o.when)}, source: ${wo(o)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${i.length} keybinding entries, matched ${o.command}, when: ${Ao(o.when)}, source: ${wo(o)}.`),{enterChord:!1,leaveChord:o.keypressParts.length>1,commandId:o.command,commandArgs:o.commandArgs,bubble:o.bubble}):(this._log(`\\ From ${i.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let n=t.length-1;n>=0;n--){let i=t[n];if(yo._contextMatchesRules(e,i.when))return i}return null}static _contextMatchesRules(e,t){return!t||t.evaluate(e)}}function Ao(e){return e?`${e.serialize()}`:"no when condition"}function wo(e){return e.extensionId?e.isBuiltinExtension?`built-in extension ${e.extensionId}`:`user extension ${e.extensionId}`:e.isDefault?"built-in":"user"}var Co=n(3161);class xo{constructor(e,t,n,i,o,r,a){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=e,this.keypressParts=e?So(e.getDispatchParts()):[],e&&0===this.keypressParts.length&&(this.keypressParts=So(e.getSingleModifierDispatchParts())),this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=o,this.extensionId=r,this.isBuiltinExtension=a}}function So(e){let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i)return t;t.push(i)}return t}var Eo=n(3374);class ko extends Yi.f1{constructor(e,t){if(super(),0===t.length)throw(0,me.b1)("parts");this._os=e,this._parts=t}getLabel(){return Eo.xo.toLabel(this._os,this._parts,(e=>this._getLabel(e)))}getAriaLabel(){return Eo.X4.toLabel(this._os,this._parts,(e=>this._getAriaLabel(e)))}getElectronAccelerator(){return this._parts.length>1||this._parts[0].isDuplicateModifierCase()?null:Eo.jC.toLabel(this._os,this._parts,(e=>this._getElectronAccelerator(e)))}isChord(){return this._parts.length>1}getParts(){return this._parts.map((e=>this._getPart(e)))}_getPart(e){return new Yi.BQ(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map((e=>this._getDispatchPart(e)))}getSingleModifierDispatchParts(){return this._parts.map((e=>this._getSingleModifierDispatchPart(e)))}}class Mo extends ko{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"โ†";case 16:return"โ†‘";case 17:return"โ†’";case 18:return"โ†“"}return H.kL.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":H.kL.toString(e.keyCode)}_getElectronAccelerator(e){return H.kL.toElectronAccelerator(e.keyCode)}_getDispatchPart(e){return Mo.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=H.kL.toString(e.keyCode),t}_getSingleModifierDispatchPart(e){return 5!==e.keyCode||e.shiftKey||e.altKey||e.metaKey?4!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey?6!==e.keyCode||e.ctrlKey||e.shiftKey||e.metaKey?57!==e.keyCode||e.ctrlKey||e.shiftKey||e.altKey?null:"meta":"alt":"shift":"ctrl"}static _scanCodeToKeyCode(e){const t=H.Vd[e];if(-1!==t)return t;switch(e){case 10:return 31;case 11:return 32;case 12:return 33;case 13:return 34;case 14:return 35;case 15:return 36;case 16:return 37;case 17:return 38;case 18:return 39;case 19:return 40;case 20:return 41;case 21:return 42;case 22:return 43;case 23:return 44;case 24:return 45;case 25:return 46;case 26:return 47;case 27:return 48;case 28:return 49;case 29:return 50;case 30:return 51;case 31:return 52;case 32:return 53;case 33:return 54;case 34:return 55;case 35:return 56;case 36:return 22;case 37:return 23;case 38:return 24;case 39:return 25;case 40:return 26;case 41:return 27;case 42:return 28;case 43:return 29;case 44:return 30;case 45:return 21;case 51:return 83;case 52:return 81;case 53:return 87;case 54:return 89;case 55:return 88;case 56:return 0;case 57:return 80;case 58:return 90;case 59:return 86;case 60:return 82;case 61:return 84;case 62:return 85;case 106:return 92}return 0}static _resolveSimpleUserBinding(e){if(!e)return null;if(e instanceof Yi.QC)return e;const t=this._scanCodeToKeyCode(e.scanCode);return 0===t?null:new Yi.QC(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,t)}static resolveUserBinding(e,t){const n=So(e.map((e=>this._resolveSimpleUserBinding(e))));return n.length>0?[new Mo(new Yi.X_(n),t)]:[]}}var Do,No,Io,To,Lo,Bo,Oo,Po,Fo,Ro=n(5364),jo=n(5314),zo=n(2366);!function(e){e.noSelection=on.N("noSelection","No selection"),e.singleSelectionRange=on.N("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=on.N("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=on.N("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=on.N("multiSelection","{0} selections"),e.emergencyConfOn=on.N("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=on.N("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=on.N("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=on.N("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=on.N("readonlyEditor"," in a read-only code editor"),e.editableEditor=on.N("editableEditor"," in a code editor"),e.changeConfigToOnMac=on.N("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=on.N("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=on.N("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=on.N("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=on.N("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=on.N("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=on.N("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=on.N("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=on.N("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=on.N("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=on.N("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=on.N("showAccessibilityHelpAction","Show Accessibility Help")}(Do||(Do={})),function(e){e.inspectTokensAction=on.N("inspectTokens","Developer: Inspect Tokens")}(No||(No={})),function(e){e.gotoLineActionLabel=on.N("gotoLineActionLabel","Go to Line/Column...")}(Io||(Io={})),function(e){e.helpQuickAccessActionLabel=on.N("helpQuickAccess","Show all Quick Access Providers")}(To||(To={})),function(e){e.quickCommandActionLabel=on.N("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=on.N("quickCommandActionHelp","Show And Run Commands")}(Lo||(Lo={})),function(e){e.quickOutlineActionLabel=on.N("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=on.N("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(Bo||(Bo={})),function(e){e.editorViewAccessibleLabel=on.N("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=on.N("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(Oo||(Oo={})),function(e){e.toggleHighContrast=on.N("toggleHighContrast","Toggle High Contrast Theme")}(Po||(Po={})),function(e){e.bulkEditServiceSummary=on.N("bulkEditServiceSummary","Made {0} edits in {1} files")}(Fo||(Fo={}));const Vo=(0,pt.yh)("workspaceTrustManagementService");var Wo,Ho=n(9958),Uo=n(7865),Qo=n(1942);function Go(e,t,n){const i=n.mode===Wo.ALIGN?n.offset:n.offset+n.size,o=n.mode===Wo.ALIGN?n.offset+n.size:n.offset;return 0===n.position?t<=e-i?i:t<=o?o-t:Math.max(e-t,0):t<=o?o-t:t<=e-i?i:0}Z()(Qo.Z,{insert:"head",singleton:!1}),Qo.Z.locals,function(e){e[e.AVOID=0]="AVOID",e[e.ALIGN=1]="ALIGN"}(Wo||(Wo={}));class Ko extends oe.JT{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=oe.JT.None,this.toDisposeOnSetContainer=oe.JT.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=rn.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,rn.Cp(this.view),this.setContainer(e,t),this._register((0,oe.OF)((()=>this.setContainer(null,1))))}setContainer(e,t){var n;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,null===(n=this.shadowRootHostElement)||void 0===n||n.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){if(this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM){this.shadowRootHostElement=rn.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const e=document.createElement("style");e.textContent=Yo,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(rn.$("slot"))}else this.container.appendChild(this.view);const n=new oe.SL;Ko.BUBBLE_UP_EVENTS.forEach((e=>{n.add(rn.mu(this.container,e,(e=>{this.onDOMEvent(e,!1)})))})),Ko.BUBBLE_DOWN_EVENTS.forEach((e=>{n.add(rn.mu(this.container,e,(e=>{this.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=n}}show(e){this.isVisible()&&this.hide(),rn.PO(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",rn.$Z(this.view),this.toDisposeOnClean=e.render(this.view)||oe.JT.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||ve.gn&&Ho.D.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let e,t=this.delegate.getAnchor();if(rn.Re(t)){let n=rn.i(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};const n=rn.w(this.view),i=rn.wn(this.view),o=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0;let a,s;if(0===(this.delegate.anchorAxisAlignment||0)){const t={offset:e.top-window.pageYOffset,size:e.height,position:0===o?0:1},l={offset:e.left,size:e.width,position:0===r?0:1,mode:Wo.ALIGN};a=Go(window.innerHeight,i,t)+window.pageYOffset,Uo.e.intersects({start:a,end:a+i},{start:t.offset,end:t.offset+t.size})&&(l.mode=Wo.AVOID),s=Go(window.innerWidth,n,l)}else{const t={offset:e.left,size:e.width,position:0===r?0:1},l={offset:e.top,size:e.height,position:0===o?0:1,mode:Wo.ALIGN};s=Go(window.innerWidth,n,t),Uo.e.intersects({start:s,end:s+n},{start:t.offset,end:t.offset+t.size})&&(l.mode=Wo.AVOID),a=Go(window.innerHeight,i,l)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===o?"bottom":"top"),this.view.classList.add(0===r?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const l=rn.i(this.container);this.view.style.top=a-(this.useFixedPosition?rn.i(this.view).top:l.top)+"px",this.view.style.left=s-(this.useFixedPosition?rn.i(this.view).left:l.left)+"px",this.view.style.width="initial"}hide(e){const t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),rn.Cp(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!rn.jg(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}Ko.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],Ko.BUBBLE_DOWN_EVENTS=["click"];let Yo='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tfont-display: block;\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n',$o=class extends oe.JT{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=oe.JT.None,this.container=e.hasContainer?e.container:null,this.contextView=this._register(new Ko(this.container,1)),this.layout(),this._register(e.onDidLayout((()=>this.layout())))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,n){t?t!==this.container&&(this.container=t,this.setContainer(t,n?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const i=(0,oe.OF)((()=>{this.currentViewDisposable===i&&this.hideContextView()}));return this.currentViewDisposable=i,i}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};$o=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,0)}}(0,yi)],$o);var Jo=n(2837),qo=n(238);const Zo="**",Xo=/\//g;function er(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function tr(e,t){if(!e)return[];const n=[];let i=!1,o=!1,r="";for(const a of e){switch(a){case t:if(!i&&!o){n.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":o=!0;break;case"]":o=!1}r+=a}return r&&n.push(r),n}function nr(e){if(!e)return"";let t="";const n=tr(e,"/");if(n.every((e=>e===Zo)))t=".*";else{let e=!1;n.forEach(((i,o)=>{if(i===Zo)return void(e||(t+=er(2),e=!0));let r=!1,a="",s=!1,l="";for(const e of i)if("}"!==e&&r)a+=e;else if(!s||"]"===e&&l)switch(e){case"{":r=!0;continue;case"[":s=!0;continue;case"}":{const e=`(?:${tr(a,",").map((e=>nr(e))).join("|")})`;t+=e,r=!1,a="";break}case"]":t+="["+l+"]",s=!1,l="";break;case"?":t+="[^/\\\\]";continue;case"*":t+=er(1);continue;default:t+=(0,ee.ec)(e)}else{let t;t="-"===e?e:"^"!==e&&"!"!==e||l?"/"===e?"":(0,ee.ec)(e):"^",l+=t}o<n.length-1&&(n[o+1]!==Zo||o+2<n.length)&&(t+="[/\\\\]"),e=!1}))}return t}const ir=/^\*\*\/\*\.[\w\.-]+$/,or=/^\*\*\/([\w\.-]+)\/?$/,rr=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,ar=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,sr=/^\*\*((\/[\w\.-]+)+)\/?$/,lr=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,cr=new Vi.z6(1e4),dr=function(){return!1},ur=function(){return null};function hr(e,t){if(!e)return ur;let n;n="string"!=typeof e?e.pattern:e,n=n.trim();const i=`${n}_${!!t.trimForExclusions}`;let o,r=cr.get(i);if(r)return pr(r,e);if(ir.test(n)){const e=n.substr(4);r=function(t,i){return"string"==typeof t&&t.endsWith(e)?n:null}}else r=(o=or.exec(fr(n,t)))?function(e,t){const n=`/${e}`,i=`\\${e}`,o=function(o,r){return"string"!=typeof o?null:r?r===e?t:null:o===e||o.endsWith(n)||o.endsWith(i)?t:null},r=[e];return o.basenames=r,o.patterns=[t],o.allBasenames=r,o}(o[1],n):(t.trimForExclusions?ar:rr).test(n)?function(e,t){const n=vr(e.slice(1,-1).split(",").map((e=>hr(e,t))).filter((e=>e!==ur)),e),i=n.length;if(!i)return ur;if(1===i)return n[0];const o=function(t,i){for(let o=0,r=n.length;o<r;o++)if(n[o](t,i))return e;return null},r=n.find((e=>!!e.allBasenames));r&&(o.allBasenames=r.allBasenames);const a=n.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return a.length&&(o.allPaths=a),o}(n,t):(o=sr.exec(fr(n,t)))?gr(o[1].substr(1),n,!0):(o=lr.exec(fr(n,t)))?gr(o[1],n,!1):function(e){try{const t=new RegExp(`^${nr(e)}$`);return function(n){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return ur}}(n);return cr.set(i,r),pr(r,e)}function pr(e,t){return"string"==typeof t?e:function(n,i){return(0,Jo.KM)(n,t.base,!ve.IJ)?e(n.substr(t.base.length+1),i):null}}function fr(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function gr(e,t,n){const i=qo.ir===qo.KR.sep,o=i?e:e.replace(Xo,qo.ir),r=qo.ir+o,a=qo.KR.sep+e,s=n?function(n,s){return"string"!=typeof n||n!==o&&!n.endsWith(r)&&(i||n!==e&&!n.endsWith(a))?null:t}:function(n,r){return"string"!=typeof n||n!==o&&(i||n!==e)?null:t};return s.allPaths=[(n?"*/":"./")+e],s}function mr(e,t={}){if(!e)return dr;if("string"==typeof e||function(e){const t=e;return!!t&&"string"==typeof t.base&&"string"==typeof t.pattern}(e)){const n=hr(e,t);if(n===ur)return dr;const i=function(e,t){return!!n(e,t)};return n.allBasenames&&(i.allBasenames=n.allBasenames),n.allPaths&&(i.allPaths=n.allPaths),i}return function(e,t){const n=vr(Object.getOwnPropertyNames(e).map((n=>function(e,t,n){if(!1===t)return ur;const i=hr(e,n);if(i===ur)return ur;if("boolean"==typeof t)return i;if(t){const n=t.when;if("string"==typeof n){const t=(t,o,r,a)=>{if(!a||!i(t,o))return null;const s=a(n.replace("$(basename)",r));return(0,ge.J8)(s)?s.then((t=>t?e:null)):s?e:null};return t.requiresSiblings=!0,t}}return i}(n,e[n],t))).filter((e=>e!==ur))),i=n.length;if(!i)return ur;if(!n.some((e=>!!e.requiresSiblings))){if(1===i)return n[0];const e=function(e,t){for(let i=0,o=n.length;i<o;i++){const o=n[i](e,t);if(o)return o}return null},t=n.find((e=>!!e.allBasenames));t&&(e.allBasenames=t.allBasenames);const o=n.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return o.length&&(e.allPaths=o),e}const o=function(e,t,i){let o;for(let r=0,a=n.length;r<a;r++){const a=n[r];a.requiresSiblings&&i&&(t||(t=(0,qo.EZ)(e)),o||(o=t.substr(0,t.length-(0,qo.DZ)(e).length)));const s=a(e,t,o,i);if(s)return s}return null},r=n.find((e=>!!e.allBasenames));r&&(o.allBasenames=r.allBasenames);const a=n.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return a.length&&(o.allPaths=a),o}(e,t)}function vr(e,t){const n=e.filter((e=>!!e.basenames));if(n.length<2)return e;const i=n.reduce(((e,t)=>{const n=t.basenames;return n?e.concat(n):e}),[]);let o;if(t){o=[];for(let e=0,n=i.length;e<n;e++)o.push(t)}else o=n.reduce(((e,t)=>{const n=t.patterns;return n?e.concat(n):e}),[]);const r=function(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;n>0;n--){const t=e.charCodeAt(n-1);if(47===t||92===t)break}t=e.substr(n)}const n=i.indexOf(t);return-1!==n?o[n]:null};r.basenames=i,r.patterns=o,r.allBasenames=i;const a=e.filter((e=>!e.basenames));return a.push(r),a}var br=n(7467),_r=n(2650);let yr=[],Ar=[],wr=[];function Cr(e,t=!1){!function(e,t,n){const i=function(e,t){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:!1,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?mr(e.filepattern.toLowerCase()):void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(qo.KR.sep)>=0}}(e);yr.push(i),i.userConfigured?wr.push(i):Ar.push(i),n&&!i.userConfigured&&yr.forEach((e=>{e.mime===i.mime||e.userConfigured||(i.extension&&e.extension===i.extension&&console.warn(`Overwriting extension <<${i.extension}>> to now point to mime <<${i.mime}>>`),i.filename&&e.filename===i.filename&&console.warn(`Overwriting filename <<${i.filename}>> to now point to mime <<${i.mime}>>`),i.filepattern&&e.filepattern===i.filepattern&&console.warn(`Overwriting filepattern <<${i.filepattern}>> to now point to mime <<${i.mime}>>`),i.firstline&&e.firstline===i.firstline&&console.warn(`Overwriting firstline <<${i.firstline}>> to now point to mime <<${i.mime}>>`))}))}(e,0,t)}function xr(e,t,n){var i;let o,r,a;for(let s=n.length-1;s>=0;s--){const l=n[s];if(t===l.filenameLowercase){o=l;break}if(l.filepattern&&(!r||l.filepattern.length>r.filepattern.length)){const n=l.filepatternOnPath?e:t;(null===(i=l.filepatternLowercase)||void 0===i?void 0:i.call(l,n))&&(r=l)}l.extension&&(!a||l.extension.length>a.extension.length)&&t.endsWith(l.extensionLowercase)&&(a=l)}return o?o.mime:r?r.mime:a?a.mime:void 0}var Sr=n(1244);const Er=Object.prototype.hasOwnProperty,kr="vs.editor.nullLanguage";ue.zu.register(kr,{});class Mr{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(kr,0),this._register(Sr.bd,1),this._nextLanguageId=2}_register(e,t){this._languageIdToLanguage[t]=e,this._languageToLanguageId.set(e,t)}register(e){if(this._languageToLanguageId.has(e))return;const t=this._nextLanguageId++;this._register(e,t)}encodeLanguageId(e){return this._languageToLanguageId.get(e)||0}decodeLanguageId(e){return this._languageIdToLanguage[e]||kr}}class Dr extends oe.JT{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new W.Q5),this.onDidChange=this._onDidChange.event,Dr.instanceCount++,this._warnOnOverwrite=t,this.languageIdCodec=new Mr,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(Sr.dQ.onDidChangeLanguages((e=>{this._initializeFromRegistry()}))))}dispose(){Dr.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},yr=yr.filter((e=>e.userConfigured)),Ar=[];const e=[].concat(Sr.dQ.getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach((e=>{const t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach((e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier})),t.mimetypes.forEach((e=>{this._mimeTypesMap[e]=t.identifier}))})),to.B.as(eo.IP.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(e){const t=e.id;let n;Er.call(this._languages,t)?n=this._languages[t]:(this.languageIdCodec.register(t),n={identifier:t,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[t]=n),this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),i=t.mimetypes[0]),i||(i=`text/x-${n}`,e.mimetypes.push(i)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(let e of t.extensions)Cr({id:n,mime:i,extension:e},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(let o of t.filenames)Cr({id:n,mime:i,filename:o},this._warnOnOverwrite),e.filenames.push(o);if(Array.isArray(t.filenamePatterns))for(let e of t.filenamePatterns)Cr({id:n,mime:i,filepattern:e},this._warnOnOverwrite);if("string"==typeof t.firstLine&&t.firstLine.length>0){let o=t.firstLine;"^"!==o.charAt(0)&&(o="^"+o);try{const e=new RegExp(o);(0,ee.IO)(e)||Cr({id:n,mime:i,firstline:e},this._warnOnOverwrite)}catch(e){(0,me.dL)(e)}}e.aliases.push(n);let o=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(o=0===t.aliases.length?[null]:t.aliases),null!==o)for(const t of o)t&&0!==t.length&&e.aliases.push(t);const r=null!==o&&o.length>0;if(r&&null===o[0]);else{const t=(r?o[0]:null)||n;!r&&e.name||(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration),t.icon&&e.icons.push(t.icon)}isRegisteredLanguageId(e){return!!e&&Er.call(this._languages,e)}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(e){const t=e.toLowerCase();return Er.call(this._lowercaseNameMap,t)?this._lowercaseNameMap[t]:null}getLanguageIdByMimeType(e){return e&&Er.call(this._mimeTypesMap,e)?this._mimeTypesMap[e]:null}guessLanguageIdByFilepathOrFirstLine(e,t){if(!e&&!t)return[];const n=function(e,t){let n;if(e)switch(e.scheme){case gi.lg.file:n=e.fsPath;break;case gi.lg.data:n=_r.Vb.parseMetaData(e).get(_r.Vb.META_DATA_LABEL);break;default:n=e.path}if(!n)return[br.v.unknown];n=n.toLowerCase();const i=(0,qo.EZ)(n),o=xr(n,i,wr);if(o)return[o,br.v.text];const r=xr(n,i,Ar);if(r)return[r,br.v.text];if(t){const e=function(e){if((0,ee.uS)(e)&&(e=e.substr(1)),e.length>0)for(let t=yr.length-1;t>=0;t--){const n=yr[t];if(!n.firstline)continue;const i=e.match(n.firstline);if(i&&i.length>0)return n.mime}}(t);if(e)return[e,br.v.text]}return[br.v.unknown]}(e,t);return(0,mt.kX)(n.map((e=>this.getLanguageIdByMimeType(e))))}}Dr.instanceCount=0;class Nr extends oe.JT{constructor(e=!1){super(),this._onDidEncounterLanguage=this._register(new W.Q5),this.onDidEncounterLanguage=this._onDidEncounterLanguage.event,this._onDidChange=this._register(new W.Q5({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,Nr.instanceCount++,this._encounteredLanguages=new Set,this._registry=this._register(new Dr(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange((()=>this._onDidChange.fire())))}dispose(){Nr.instanceCount--,super.dispose()}isRegisteredLanguageId(e){return this._registry.isRegisteredLanguageId(e)}getLanguageIdByLanguageName(e){return this._registry.getLanguageIdByLanguageName(e)}getLanguageIdByMimeType(e){return this._registry.getLanguageIdByMimeType(e)}guessLanguageIdByFilepathOrFirstLine(e,t){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return(0,mt.Xh)(n,null)}createById(e){return new Ir(this.onDidChange,(()=>this._createAndGetLanguageIdentifier(e)))}createByFilepathOrFirstLine(e,t){return new Ir(this.onDidChange,(()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(n)}))}_createAndGetLanguageIdentifier(e){return e&&this.isRegisteredLanguageId(e)||(e=Sr.bd),this._encounteredLanguages.has(e)||(this._encounteredLanguages.add(e),Y.RW.getOrCreate(e),this._onDidEncounterLanguage.fire(e)),e}}Nr.instanceCount=0;class Ir{constructor(e,t){this._onDidChangeLanguages=e,this._selector=t,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages((()=>this._evaluate()))),this._emitter||(this._emitter=new W.Q5({onLastListenerRemove:()=>{this._dispose()}})),this._emitter.event}_evaluate(){const e=this._selector();e!==this.languageId&&(this.languageId=e,this._emitter&&this._emitter.fire(this.languageId))}}var Tr=n(6237),Lr=n(8061),Br=n(6845),Or=n(2823),Pr=n(1862),Fr=n(7154);const Rr=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,jr=/(&amp;)?(&amp;)([^\s&])/g;var zr;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(zr||(zr={}));class Vr extends hn.o{constructor(e,t,n={}){e.classList.add("monaco-menu-container"),e.setAttribute("role","presentation");const i=document.createElement("div");i.classList.add("monaco-menu"),i.setAttribute("role","presentation"),super(i,{orientation:1,actionViewItemProvider:e=>this.doGetActionViewItem(e,n,o),context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...ve.dz||ve.IJ?[10]:[]],keyDown:!0}}),this.menuElement=i,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new oe.SL),this.initializeOrUpdateStyleSheet(e,{}),this._register(Br.o.addTarget(i)),(0,rn.nm)(i,rn.tw.KEY_DOWN,(e=>{new Ki.y(e).equals(2)&&e.preventDefault()})),n.enableMnemonics&&this.menuDisposables.add((0,rn.nm)(i,rn.tw.KEY_DOWN,(e=>{const t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){rn.zB.stop(e,!0);const n=this.mnemonics.get(t);if(1===n.length&&(n[0]instanceof Hr&&n[0].container&&this.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){const e=n.shift();e&&e.container&&(this.focusItemByElement(e.container),n.push(e)),this.mnemonics.set(t,n)}}}))),ve.IJ&&this._register((0,rn.nm)(i,rn.tw.KEY_DOWN,(e=>{const t=new Ki.y(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),rn.zB.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),rn.zB.stop(e,!0))}))),this._register((0,rn.nm)(this.domNode,rn.tw.MOUSE_OUT,(e=>{let t=e.relatedTarget;(0,rn.jg)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())}))),this._register((0,rn.nm)(this.actionsList,rn.tw.MOUSE_OVER,(e=>{let t=e.target;if(t&&(0,rn.jg)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}}))),this._register(Br.o.addTarget(this.actionsList)),this._register((0,rn.nm)(this.actionsList,Br.t.Tap,(e=>{let t=e.initialTarget;if(t&&(0,rn.jg)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}})));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new pn.s$(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const r=this.scrollableElement.getDomNode();r.style.position="",this._register((0,rn.nm)(i,Br.t.Change,(e=>{rn.zB.stop(e,!0);const t=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:t-e.translationY})}))),this._register((0,rn.nm)(r,rn.tw.MOUSE_UP,(e=>{e.preventDefault()}))),i.style.maxHeight=`${Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)}px`,t=t.filter((e=>{var t;return!(null===(t=n.submenuIds)||void 0===t?void 0:t.has(e.id))||(console.warn(`Found submenu cycle: ${e.id}`),!1)})),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter((e=>!(e instanceof Ur))).forEach(((e,t,n)=>{e.updatePositionInSet(t+1,n.length)}))}initializeOrUpdateStyleSheet(e,t){this.styleSheet||((0,rn.OO)(e)?this.styleSheet=(0,rn.dS)(e):(Vr.globalStyleSheet||(Vr.globalStyleSheet=(0,rn.dS)()),this.styleSheet=Vr.globalStyleSheet)),this.styleSheet.textContent=function(e,t){let n=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${(0,Pr.a)(yn.lA.menuSelection)}\n${(0,Pr.a)(yn.lA.menuSubmenu)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = โˆšฯ† */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n\t-webkit-app-region: no-drag;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}`;if(t){n+="\n\t\t\t/* Arrows */\n\t\t\t.monaco-scrollable-element > .scrollbar > .scra {\n\t\t\t\tcursor: pointer;\n\t\t\t\tfont-size: 11px !important;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .visible {\n\t\t\t\topacity: 1;\n\n\t\t\t\t/* Background rule added for IE9 - to allow clicks on dom node */\n\t\t\t\tbackground:rgba(0,0,0,0);\n\n\t\t\t\ttransition: opacity 100ms linear;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .invisible {\n\t\t\t\topacity: 0;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .invisible.fade {\n\t\t\t\ttransition: opacity 800ms linear;\n\t\t\t}\n\n\t\t\t/* Scrollable Content Inset Shadow */\n\t\t\t.monaco-scrollable-element > .shadow {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 3px;\n\t\t\t\theight: 3px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 3px;\n\t\t\t\tleft: 0;\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 3px;\n\t\t\t}\n\t\t\t.monaco-scrollable-element > .shadow.top-left-corner {\n\t\t\t\tdisplay: block;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\theight: 3px;\n\t\t\t\twidth: 3px;\n\t\t\t}\n\t\t";const t=e.scrollbarShadow;t&&(n+=`\n\t\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\t\tbox-shadow: ${t} 0 6px 6px -6px inset;\n\t\t\t\t}\n\n\t\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\t\tbox-shadow: ${t} 6px 0 6px -6px inset;\n\t\t\t\t}\n\n\t\t\t\t.monaco-scrollable-element > .shadow.top.left {\n\t\t\t\t\tbox-shadow: ${t} 6px 6px 6px -6px inset;\n\t\t\t\t}\n\t\t\t`);const i=e.scrollbarSliderBackground;i&&(n+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider {\n\t\t\t\t\tbackground: ${i};\n\t\t\t\t}\n\t\t\t`);const o=e.scrollbarSliderHoverBackground;o&&(n+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\t\t\t\tbackground: ${o};\n\t\t\t\t}\n\t\t\t`);const r=e.scrollbarSliderActiveBackground;r&&(n+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider.active {\n\t\t\t\t\tbackground: ${r};\n\t\t\t\t}\n\t\t\t`)}return n}(t,(0,rn.OO)(e))}style(e){const t=this.getContainer();this.initializeOrUpdateStyleSheet(t,e);const n=e.foregroundColor?`${e.foregroundColor}`:"",i=e.backgroundColor?`${e.backgroundColor}`:"",o=e.borderColor?`1px solid ${e.borderColor}`:"",r=e.shadowColor?`0 2px 4px ${e.shadowColor}`:"";t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.viewItems&&this.viewItems.forEach((t=>{(t instanceof Wr||t instanceof Ur)&&t.style(e)}))}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t<this.actionsList.children.length;t++)if(e===this.actionsList.children[t]){this.focusedItem=t;break}}updateFocus(e){super.updateFocus(e,!0,!0),void 0!==this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,n){if(e instanceof fn.Z0)return new Ur(t.context,e,{icon:!0});if(e instanceof fn.wY){const i=new Hr(e,e.actions,n,Object.assign(Object.assign({},t),{submenuIds:new Set([...t.submenuIds||[],e.id])}));if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}{const n={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const i=t.getKeyBinding(e);if(i){const e=i.getLabel();e&&(n.keybinding=e)}}const i=new Wr(t.context,e,n);if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}}}class Wr extends Or.Y{constructor(e,t,n={}){if(n.isMenu=!0,super(t,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass="",this.options.label&&n.enableMnemonics){let e=this.getAction().label;if(e){let t=Rr.exec(e);t&&(this.mnemonic=(t[1]?t[1]:t[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new ge.pY((()=>{this.element&&(this._register((0,rn.nm)(this.element,rn.tw.MOUSE_UP,(e=>{if(rn.zB.stop(e,!0),Lr.isFirefox){if(new Tr.n(e).rightButton)return;this.onClick(e)}else setTimeout((()=>{this.onClick(e)}),0)}))),this._register((0,rn.nm)(this.element,rn.tw.CONTEXT_MENU,(e=>{rn.zB.stop(e,!0)}))))}),100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=(0,rn.R3)(this.element,(0,rn.$)("a.action-menu-item")),this._action.id===fn.Z0.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,rn.R3)(this.item,(0,rn.$)("span.menu-item-check"+yn.lA.menuSelection.cssSelector)),this.check.setAttribute("role","none"),this.label=(0,rn.R3)(this.item,(0,rn.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,rn.R3)(this.item,(0,rn.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",`${e}`),this.item.setAttribute("aria-setsize",`${t}`))}updateLabel(){if(this.label&&this.options.label){(0,rn.PO)(this.label);let e=(0,Fr.x$)(this.getAction().label);if(e){const t=function(e){const t=Rr,n=t.exec(e);if(!n)return e;const i=!n[1];return e.replace(t,i?"$2$3":"").trim()}(e);this.options.enableMnemonics||(e=t),this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));const n=Rr.exec(e);if(n){e=ee.YU(e),jr.lastIndex=0;let t=jr.exec(e);for(;t&&t[1];)t=jr.exec(e);const i=e=>e.replace(/&amp;&amp;/g,"&amp;");t?this.label.append(ee.j3(i(e.substr(0,t.index))," "),(0,rn.$)("u",{"aria-hidden":"true"},t[3]),ee.oL(i(e.substr(t.index+t[0].length))," ")):this.label.innerText=i(e).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=e.replace(/&&/g,"&").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.getAction().enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){if(!this.item)return;const e=this.getAction().checked;this.item.classList.toggle("checked",!!e),void 0!==e?(this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked",e?"true":"false")):(this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked",""))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const e=this.element&&this.element.classList.contains("focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?`thin solid ${this.menuStyle.selectionBorderColor}`:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}style(e){this.menuStyle=e,this.applyStyle()}}class Hr extends Wr{constructor(e,t,n,i){super(e,e,i),this.submenuActions=t,this.parentData=n,this.submenuOptions=i,this.mysubmenu=null,this.submenuDisposables=this._register(new oe.SL),this.mouseOver=!1,this.expandDirection=i&&void 0!==i.expandDirection?i.expandDirection:zr.Right,this.showScheduler=new ge.pY((()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))}),250),this.hideScheduler=new ge.pY((()=>{this.element&&!(0,rn.jg)((0,rn.vY)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))}),750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,rn.R3)(this.item,(0,rn.$)("span.submenu-indicator"+yn.lA.menuSubmenu.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,rn.nm)(this.element,rn.tw.KEY_UP,(e=>{let t=new Ki.y(e);(t.equals(17)||t.equals(3))&&(rn.zB.stop(e,!0),this.createSubmenu(!0))}))),this._register((0,rn.nm)(this.element,rn.tw.KEY_DOWN,(e=>{let t=new Ki.y(e);(0,rn.vY)()===this.item&&(t.equals(17)||t.equals(3))&&rn.zB.stop(e,!0)}))),this._register((0,rn.nm)(this.element,rn.tw.MOUSE_OVER,(e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())}))),this._register((0,rn.nm)(this.element,rn.tw.MOUSE_LEAVE,(e=>{this.mouseOver=!1}))),this._register((0,rn.nm)(this.element,rn.tw.FOCUS_OUT,(e=>{this.element&&!(0,rn.jg)((0,rn.vY)(),this.element)&&this.hideScheduler.schedule()}))),this._register(this.parentData.parent.onScroll((()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)}))))}updateEnabled(){}onClick(e){rn.zB.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,n,i){const o={top:0,left:0};return o.left=Go(e.width,t.width,{position:i===zr.Right?0:1,offset:n.left,size:n.width}),o.left>=n.left&&o.left<n.left+n.width&&(n.left+10+t.width<=e.width&&(o.left=n.left+10),n.top+=10,n.height=0),o.top=Go(e.height,t.height,{position:0,offset:n.top,size:0}),o.top+t.height===n.top&&o.top+n.height+t.height<=e.height&&(o.top+=n.height),o}createSubmenu(e=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=(0,rn.R3)(this.element,(0,rn.$)("div.monaco-submenu")),this.submenuContainer.classList.add("menubar-menu-items-holder","context-view");const t=getComputedStyle(this.parentData.parent.domNode),n=parseFloat(t.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new Vr(this.submenuContainer,this.submenuActions.length?this.submenuActions:[new fn.eZ],this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const i=this.element.getBoundingClientRect(),o={top:i.top-n,left:i.left,height:i.height+2*n,width:i.width},r=this.submenuContainer.getBoundingClientRect(),{top:a,left:s}=this.calculateSubmenuMenuLayout(new rn.Ro(window.innerWidth,window.innerHeight),rn.Ro.lift(r),o,this.expandDirection);this.submenuContainer.style.left=s-r.left+"px",this.submenuContainer.style.top=a-r.top+"px",this.submenuDisposables.add((0,rn.nm)(this.submenuContainer,rn.tw.KEY_UP,(e=>{new Ki.y(e).equals(15)&&(rn.zB.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))}))),this.submenuDisposables.add((0,rn.nm)(this.submenuContainer,rn.tw.KEY_DOWN,(e=>{new Ki.y(e).equals(15)&&rn.zB.stop(e,!0)}))),this.submenuDisposables.add(this.parentData.submenu.onDidCancel((()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)}))),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;const e=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=e?`${e}`:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class Ur extends Or.g{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?`${e.separatorColor}`:"")}}var Qr=n(815);Z()(Qr.Z,{insert:"head",singleton:!1}),Qr.Z.locals;var Gr=n(5954);class Kr{constructor(e,t,n,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;let n;this.focusToReturn=document.activeElement;let i=(0,rn.Re)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:i=>{let o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),this.options.blockMouse&&(this.block=i.appendChild((0,rn.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",(0,rn.nm)(this.block,rn.tw.MOUSE_DOWN,(e=>e.stopPropagation())));const r=new oe.SL,a=e.actionRunner||new fn.Wi;return a.onBeforeRun(this.onActionRun,this,r),a.onDidRun(this.onDidActionRun,this,r),n=new Vr(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:a,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)}),r.add((0,Gr.tj)(n,this.themeService)),n.onDidCancel((()=>this.contextViewService.hideContextView(!0)),null,r),n.onDidBlur((()=>this.contextViewService.hideContextView(!0)),null,r),r.add((0,rn.nm)(window,rn.tw.BLUR,(()=>this.contextViewService.hideContextView(!0)))),r.add((0,rn.nm)(window,rn.tw.MOUSE_DOWN,(e=>{if(e.defaultPrevented)return;let t=new Tr.n(e),n=t.target;if(!t.rightButton){for(;n;){if(n===i)return;n=n.parentElement}this.contextViewService.hideContextView(!0)}}))),(0,oe.F8)(r,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(this.block.remove(),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}onActionRun(e){this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&!(0,me.n2)(e.error)&&this.notificationService.error(e.error)}}var Yr=function(e,t){return function(n,i){t(n,i,e)}};let $r=class extends oe.JT{constructor(e,t,n,i,o){super(),this._onDidShowContextMenu=new W.Q5,this._onDidHideContextMenu=new W.Q5,this.contextMenuHandler=new Kr(n,e,t,i,o)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},e),{onHide:t=>{e.onHide&&e.onHide(t),this._onDidHideContextMenu.fire()}})),rn._q.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};$r=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Yr(0,jo.b),Yr(1,Rn.lT),Yr(2,jn.u),Yr(3,_o.d),Yr(4,_n.XE)],$r);var Jr,qr=n(5653),Zr=n(1296);!function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(Jr||(Jr={}));var Xr=n(2042),ea=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},ta=function(e,t){return function(n,i){t(n,i,e)}},na=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};let ia=class{constructor(e){this._commandService=e}open(e,t){return na(this,void 0,void 0,(function*(){if(!(0,Xr.xn)(e,gi.lg.command))return!1;if(!(null==t?void 0:t.allowCommands))return!0;"string"==typeof e&&(e=U.o.parse(e));let n=[];try{n=(0,Zr.Q)(decodeURIComponent(e.query))}catch(t){try{n=(0,Zr.Q)(e.query)}catch(e){}}return Array.isArray(n)||(n=[n]),yield this._commandService.executeCommand(e.path,...n),!0}))}};ia=ea([ta(0,co.Hy)],ia);let oa=class{constructor(e){this._editorService=e}open(e,t){return na(this,void 0,void 0,(function*(){"string"==typeof e&&(e=U.o.parse(e));const{selection:n,uri:i}=(0,Xr.xI)(e);return(e=i).scheme===gi.lg.file&&(e=(0,_r.AH)(e)),yield this._editorService.openCodeEditor({resource:e,options:Object.assign({selection:n,source:(null==t?void 0:t.fromUserGesture)?Jr.USER:Jr.API},null==t?void 0:t.editorOptions)},this._editorService.getFocusedCodeEditor(),null==t?void 0:t.openToSide),!0}))}};oa=ea([ta(0,ne.$)],oa);let ra=class{constructor(e,t){this._openers=new qr.S,this._validators=new qr.S,this._resolvers=new qr.S,this._resolvedUriTargets=new Vi.Y9((e=>e.with({path:null,fragment:null,query:null}).toString())),this._externalOpeners=new qr.S,this._defaultExternalOpener={openExternal:e=>na(this,void 0,void 0,(function*(){return(0,Xr.Gs)(e,gi.lg.http,gi.lg.https)?rn.V3(e):window.location.href=e,!0}))},this._openers.push({open:(e,t)=>na(this,void 0,void 0,(function*(){return!(!(null==t?void 0:t.openExternal)&&!(0,Xr.Gs)(e,gi.lg.mailto,gi.lg.http,gi.lg.https,gi.lg.vsls)||(yield this._doOpenExternal(e,t),0))}))}),this._openers.push(new ia(t)),this._openers.push(new oa(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}registerValidator(e){return{dispose:this._validators.push(e)}}registerExternalUriResolver(e){return{dispose:this._resolvers.push(e)}}setDefaultExternalOpener(e){this._defaultExternalOpener=e}registerExternalOpener(e){return{dispose:this._externalOpeners.push(e)}}open(e,t){var n;return na(this,void 0,void 0,(function*(){const i="string"==typeof e?U.o.parse(e):e,o=null!==(n=this._resolvedUriTargets.get(i))&&void 0!==n?n:e;for(const e of this._validators)if(!(yield e.shouldOpen(o)))return!1;for(const n of this._openers)if(yield n.open(e,t))return!0;return!1}))}resolveExternalUri(e,t){return na(this,void 0,void 0,(function*(){for(const n of this._resolvers)try{const i=yield n.resolveExternalUri(e,t);if(i)return this._resolvedUriTargets.has(i.resolved)||this._resolvedUriTargets.set(i.resolved,e),i}catch(e){}throw new Error("Could not resolve external URI: "+e.toString())}))}_doOpenExternal(e,t){return na(this,void 0,void 0,(function*(){const n="string"==typeof e?U.o.parse(e):e;let i,o;try{i=(yield this.resolveExternalUri(n,t)).resolved}catch(e){i=n}if(o="string"==typeof e&&n.toString()===i.toString()?e:encodeURI(i.toString(!0)),null==t?void 0:t.allowContributedOpeners){const e="string"==typeof(null==t?void 0:t.allowContributedOpeners)?null==t?void 0:t.allowContributedOpeners:void 0;for(const t of this._externalOpeners)if(yield t.openExternal(o,{sourceUri:n,preferredOpenerId:e},V.T.None))return!0}return this._defaultExternalOpener.openExternal(o,{sourceUri:n},V.T.None)}))}dispose(){this._validators.clear()}};var aa,sa;ra=ea([ta(0,ne.$),ta(1,co.Hy)],ra),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(aa||(aa={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=(0,on.N)("sev.error","Error"),t[e.Warning]=(0,on.N)("sev.warning","Warning"),t[e.Info]=(0,on.N)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case Si.Z.Error:return e.Error;case Si.Z.Warning:return e.Warning;case Si.Z.Info:return e.Info;case Si.Z.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return Si.Z.Error;case e.Warning:return Si.Z.Warning;case e.Info:return Si.Z.Info;case e.Hint:return Si.Z.Ignore}}}(aa||(aa={})),function(e){const t="";function n(e,n){let i=[t];return e.source?i.push(e.source.replace("ยฆ","\\ยฆ")):i.push(t),e.code?"string"==typeof e.code?i.push(e.code.replace("ยฆ","\\ยฆ")):i.push(e.code.value.replace("ยฆ","\\ยฆ")):i.push(t),void 0!==e.severity&&null!==e.severity?i.push(aa.toString(e.severity)):i.push(t),e.message&&n?i.push(e.message.replace("ยฆ","\\ยฆ")):i.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(t),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(t),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(t),i.push(t),i.join("ยฆ")}e.makeKey=function(e){return n(e,!0)},e.makeKeyOptionalMessage=n}(sa||(sa={}));const la=(0,pt.yh)("markerService");var ca=function(e,t){return function(n,i){t(n,i,e)}};class da extends oe.JT{constructor(e){super(),this.model=e,this._markersData=new Map,this._register((0,oe.OF)((()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()})))}update(e,t){const n=[...this._markersData.keys()];this._markersData.clear();const i=this.model.deltaDecorations(n,t);for(let t=0;t<i.length;t++)this._markersData.set(i[t],e[t]);return 0!==n.length||0!==i.length}getMarker(e){return this._markersData.get(e.id)}}let ua=class extends oe.JT{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new W.Q5),this._markerDecorations=new Vi.Y9,e.getModels().forEach((e=>this._onModelAdded(e))),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach((e=>e.dispose())),this._markerDecorations.clear()}getMarker(e,t){const n=this._markerDecorations.get(e);return n&&n.getMarker(t)||null}_handleMarkerChange(e){e.forEach((e=>{const t=this._markerDecorations.get(e);t&&this._updateDecorations(t)}))}_onModelAdded(e){const t=new da(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(e.uri);t&&(t.dispose(),this._markerDecorations.delete(e.uri)),e.uri.scheme!==gi.lg.inMemory&&e.uri.scheme!==gi.lg.internal&&e.uri.scheme!==gi.lg.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map((e=>e.owner)).forEach((t=>this._markerService.remove(t,[e.uri])))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500}),n=t.map((t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)})));e.update(t,n)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let n=G.e.lift(t);if(t.severity!==aa.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){const t=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);if(1===t||n.endColumn>=t)return n;const i=e.getWordAtPosition(n.getStartPosition());i&&(n=new G.e(n.startLineNumber,i.startColumn,n.endLineNumber,i.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){let i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<n.endColumn&&(n=new G.e(n.startLineNumber,i,n.endLineNumber,n.endColumn),t.startColumn=i)}return n}_createDecorationOption(e){let t,n,i,o,r;switch(e.severity){case aa.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",i=0;break;case aa.Warning:t="squiggly-warning",n=(0,_n.EN)(mn.Re),i=20,r={color:(0,_n.EN)(bn.Ivo),position:de.F5.Inline};break;case aa.Info:t="squiggly-info",n=(0,_n.EN)(mn.eS),i=10;break;case aa.Error:default:t="squiggly-error",n=(0,_n.EN)(mn.lK),i=30,r={color:(0,_n.EN)(bn.Gj_),position:de.F5.Inline}}return e.tags&&(-1!==e.tags.indexOf(1)&&(o="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(o="squiggly-inline-deprecated")),{description:"marker-decoration",stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:n,position:de.sh.Right},minimap:r,zIndex:i,inlineClassName:o}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}};ua=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([ca(0,fe.q),ca(1,la)],ua);var ha=n(1053),pa=n(2854),fa=n(8651);class ga{constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}static create(e,t){return new ga(e,new ma(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){const e=this._tokens.getRange();return e?new G.e(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,n,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber,[i,o,r]=this._tokens.split(t,e.startColumn-1,n,e.endColumn-1);return[new ga(this._startLineNumber,i),new ga(this._startLineNumber+r,o)]}applyEdit(e,t){const[n,i,o]=(0,fa.Q)(t);this.acceptEdit(e,n,i,o,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,n,i,o){this._acceptDeleteRange(e),this._acceptInsertText(new Q.L(e.startLineNumber,e.startColumn),t,n,i,o),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber;if(n<0){const e=n-t;return void(this._startLineNumber-=e)}const i=this._tokens.getMaxDeltaLine();if(!(t>=i+1)){if(t<0&&n>=i+1)return this._startLineNumber=0,void this._tokens.clear();if(t<0){const i=-t;this._startLineNumber-=i,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}_acceptInsertText(e,t,n,i,o){if(0===t&&0===n)return;const r=e.lineNumber-this._startLineNumber;r<0?this._startLineNumber+=t:r>=this._tokens.getMaxDeltaLine()+1||this._tokens.acceptInsertText(r,e.column-1,t,n,i,o)}}class ma{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){const t=[];for(let n=0;n<this._tokenCount;n++)t.push(`(${this._getDeltaLine(n)+e},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);return`[${t.join(",")}]`}getMaxDeltaLine(){const e=this._getTokenCount();return 0===e?-1:this._getDeltaLine(e-1)}getRange(){const e=this._getTokenCount();if(0===e)return null;const t=this._getStartCharacter(0),n=this._getDeltaLine(e-1),i=this._getEndCharacter(e-1);return new G.e(0,t+1,n,i+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(e){return this._tokens[4*e]}_getStartCharacter(e){return this._tokens[4*e+1]}_getEndCharacter(e){return this._tokens[4*e+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(e){let t=0,n=this._getTokenCount()-1;for(;t<n;){const i=t+Math.floor((n-t)/2),o=this._getDeltaLine(i);if(o<e)t=i+1;else{if(!(o>e)){let o=i;for(;o>t&&this._getDeltaLine(o-1)===e;)o--;let r=i;for(;r<n&&this._getDeltaLine(r+1)===e;)r++;return new va(this._tokens.subarray(4*o,4*r+4))}n=i-1}}return this._getDeltaLine(t)===e?new va(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,n,i){const o=this._tokens,r=this._tokenCount;let a=0,s=!1,l=0;for(let c=0;c<r;c++){const r=4*c,d=o[r],u=o[r+1],h=o[r+2],p=o[r+3];if((d>e||d===e&&h>=t)&&(d<n||d===n&&u<=i))s=!0;else{if(0===a&&(l=d),s){const e=4*a;o[e]=d-l,o[e+1]=u,o[e+2]=h,o[e+3]=p}a++}}return this._tokenCount=a,l}split(e,t,n,i){const o=this._tokens,r=this._tokenCount,a=[],s=[];let l=a,c=0,d=0;for(let a=0;a<r;a++){const r=4*a,u=o[r],h=o[r+1],p=o[r+2],f=o[r+3];if(u>e||u===e&&p>=t){if(u<n||u===n&&h<=i)continue;l!==s&&(l=s,c=0,d=u)}l[c++]=u-d,l[c++]=h,l[c++]=p,l[c++]=f}return[new ma(new Uint32Array(a)),new ma(new Uint32Array(s)),d]}acceptDeleteRange(e,t,n,i,o){const r=this._tokens,a=this._tokenCount,s=i-t;let l=0,c=!1;for(let d=0;d<a;d++){const u=4*d;let h=r[u],p=r[u+1],f=r[u+2];const g=r[u+3];if(h<t||h===t&&f<=n){l++;continue}if(h===t&&p<n)h===i&&f>o?f-=o-n:f=n;else if(h===t&&p===n){if(!(h===i&&f>o)){c=!0;continue}f-=o-n}else if(h<i||h===i&&p<o){if(!(h===i&&f>o)){c=!0;continue}h===t?(p=n,f=p+(f-o)):(p=0,f=p+(f-o))}else if(h>i){if(0===s&&!c){l=a;break}h-=s}else{if(!(h===i&&p>=o))throw new Error("Not possible!");e&&0===h&&(p+=e,f+=e),h-=s,p-=o-n,f-=o-n}const m=4*l;r[m]=h,r[m+1]=p,r[m+2]=f,r[m+3]=g,l++}this._tokenCount=l}acceptInsertText(e,t,n,i,o,r){const a=0===n&&1===i&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),s=this._tokens,l=this._tokenCount;for(let r=0;r<l;r++){const l=4*r;let c=s[l],d=s[l+1],u=s[l+2];if(!(c<e||c===e&&u<t)){if(c===e&&u===t){if(!a)continue;u+=1}else if(c===e&&d<t&&t<u)0===n?u+=i:u=t;else{if(c===e&&d===t&&a)continue;if(c===e)if(c+=n,0===n)d+=i,u+=i;else{const e=u-d;d=o+(d-t),u=d+e}else c+=n}s[l]=c,s[l+1]=d,s[l+2]=u}}}}class va{constructor(e){this._tokens=e}getCount(){return this._tokens.length/4}getStartCharacter(e){return this._tokens[4*e+1]}getEndCharacter(e){return this._tokens[4*e+2]}getMetadata(e){return this._tokens[4*e+3]}}var ba=function(e,t){return function(n,i){t(n,i,e)}};let _a=class{constructor(e,t,n,i){this._legend=e,this._themeService=t,this._languageService=n,this._logService=i,this._hashTable=new Aa,this._hasWarnedOverlappingTokens=!1}getMetadata(e,t,n){const i=this._languageService.languageIdCodec.encodeLanguageId(n),o=this._hashTable.get(e,t,i);let r;if(o)r=o.metadata,this._logService.getLevel()===vt.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${Y.NX.getForeground(r)}, fontStyle ${Y.NX.getFontStyle(r).toString(2)}`);else{let o=this._legend.tokenTypes[e];const a=[];if(o){let e=t;for(let t=0;e>0&&t<this._legend.tokenModifiers.length;t++)1&e&&a.push(this._legend.tokenModifiers[t]),e>>=1;e>0&&this._logService.getLevel()===vt.in.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),a.push("not-in-legend"));const i=this._themeService.getColorTheme().getTokenStyleMetadata(o,a,n);void 0===i?r=2147483647:(r=0,void 0!==i.italic&&(r|=1|(i.italic?1:0)<<10),void 0!==i.bold&&(r|=2|(i.bold?2:0)<<10),void 0!==i.underline&&(r|=4|(i.underline?4:0)<<10),void 0!==i.strikethrough&&(r|=8|(i.strikethrough?8:0)<<10),i.foreground&&(r|=16|i.foreground<<14),0===r&&(r=2147483647))}else this._logService.getLevel()===vt.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),r=2147483647,o="not-in-legend";this._hashTable.add(e,t,i,r),this._logService.getLevel()===vt.in.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${o}) / ${t} (${a.join(" ")}): foreground ${Y.NX.getForeground(r)}, fontStyle ${Y.NX.getFontStyle(r).toString(2)}`)}return r}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}};_a=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([ba(1,_n.XE),ba(2,pe.O),ba(3,vt.VZ)],_a);class ya{constructor(e,t,n,i){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=n,this.metadata=i,this.next=null}}class Aa{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=Aa._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<Aa._SIZES.length?2/3*this._currentLength:0),this._elements=[],Aa._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let n=0;n<t;n++)e[n]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,n){return this._hash2(this._hash2(e,t),n)%this._currentLength}get(e,t,n){const i=this._hashFunc(e,t,n);let o=this._elements[i];for(;o;){if(o.tokenTypeIndex===e&&o.tokenModifierSet===t&&o.languageId===n)return o;o=o.next}return null}add(e,t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const e=this._elements;this._currentLengthIndex++,this._currentLength=Aa._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<Aa._SIZES.length?2/3*this._currentLength:0),this._elements=[],Aa._nullOutEntries(this._elements,this._currentLength);for(const t of e){let e=t;for(;e;){const t=e.next;e.next=null,this._add(e),e=t}}}this._add(new ya(e,t,n,i))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}Aa._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143];var wa=n(578);function Ca(e){const t=new Uint32Array(function(e){let t=0;if(t+=2,"full"===e.type)t+=1+e.data.length;else{t+=1,t+=3*e.deltas.length;for(const n of e.deltas)n.data&&(t+=n.data.length)}return t}(e));let n=0;if(t[n++]=e.id,"full"===e.type)t[n++]=1,t[n++]=e.data.length,t.set(e.data,n),n+=e.data.length;else{t[n++]=2,t[n++]=e.deltas.length;for(const i of e.deltas)t[n++]=i.start,t[n++]=i.deleteCount,i.data?(t[n++]=i.data.length,t.set(i.data,n),n+=i.data.length):t[n++]=0}return function(e){const t=new Uint8Array(e.buffer,e.byteOffset,4*e.length);return ve.r()||function(e){for(let t=0,n=e.length;t<n;t+=4){const n=e[t+0],i=e[t+1],o=e[t+2],r=e[t+3];e[t+0]=r,e[t+1]=o,e[t+2]=i,e[t+3]=n}}(t),wa.KN.wrap(t)}(t)}var xa=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};function Sa(e){return e&&!!e.data}function Ea(e){return e&&Array.isArray(e.edits)}class ka{constructor(e,t,n){this.provider=e,this.tokens=t,this.error=n}}function Ma(e,t){return e.has(t)}function Da(e,t,n,i,o){return xa(this,void 0,void 0,(function*(){const r=function(e,t){const n=e.orderedGroups(t);return n.length>0?n[0]:[]}(e,t),a=yield Promise.all(r.map((e=>xa(this,void 0,void 0,(function*(){let r,a=null;try{r=yield e.provideDocumentSemanticTokens(t,e===n?i:null,o)}catch(e){a=e,r=null}return r&&(Sa(r)||Ea(r))||(r=null),new ka(e,r,a)})))));for(const e of a){if(e.error)throw e.error;if(e.tokens)return e}return a.length>0?a[0]:null}))}class Na{constructor(e,t){this.provider=e,this.tokens=t}}function Ia(e,t){const n=e.orderedGroups(t);return n.length>0?n[0]:[]}function Ta(e,t,n,i){return xa(this,void 0,void 0,(function*(){const o=Ia(e,t),r=yield Promise.all(o.map((e=>xa(this,void 0,void 0,(function*(){let o;try{o=yield e.provideDocumentRangeSemanticTokens(t,n,i)}catch(e){(0,me.Cp)(e),o=null}return o&&Sa(o)||(o=null),new Na(e,o)})))));for(const e of r)if(e.tokens)return e;return r.length>0?r[0]:null}))}co.P0.registerCommand("_provideDocumentSemanticTokensLegend",((e,...t)=>xa(void 0,void 0,void 0,(function*(){const[n]=t;(0,be.p_)(n instanceof U.o);const i=e.get(fe.q).getModel(n);if(!i)return;const{documentSemanticTokensProvider:o}=e.get(bt.p),r=function(e,t){const n=e.orderedGroups(t);return n.length>0?n[0]:null}(o,i);return r?r[0].getLegend():e.get(co.Hy).executeCommand("_provideDocumentRangeSemanticTokensLegend",n)})))),co.P0.registerCommand("_provideDocumentSemanticTokens",((e,...t)=>xa(void 0,void 0,void 0,(function*(){const[n]=t;(0,be.p_)(n instanceof U.o);const i=e.get(fe.q).getModel(n);if(!i)return;const{documentSemanticTokensProvider:o}=e.get(bt.p);if(!Ma(o,i))return e.get(co.Hy).executeCommand("_provideDocumentRangeSemanticTokens",n,i.getFullModelRange());const r=yield Da(o,i,null,null,V.T.None);if(!r)return;const{provider:a,tokens:s}=r;if(!s||!Sa(s))return;const l=Ca({id:0,type:"full",data:s.data});return s.resultId&&a.releaseDocumentSemanticTokens(s.resultId),l})))),co.P0.registerCommand("_provideDocumentRangeSemanticTokensLegend",((e,...t)=>xa(void 0,void 0,void 0,(function*(){const[n,i]=t;(0,be.p_)(n instanceof U.o);const o=e.get(fe.q).getModel(n);if(!o)return;const{documentRangeSemanticTokensProvider:r}=e.get(bt.p),a=Ia(r,o);if(0===a.length)return;if(1===a.length)return a[0].getLegend();if(!i||!G.e.isIRange(i))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),a[0].getLegend();const s=yield Ta(r,o,G.e.lift(i),V.T.None);return s?s.provider.getLegend():void 0})))),co.P0.registerCommand("_provideDocumentRangeSemanticTokens",((e,...t)=>xa(void 0,void 0,void 0,(function*(){const[n,i]=t;(0,be.p_)(n instanceof U.o),(0,be.p_)(G.e.isIRange(i));const o=e.get(fe.q).getModel(n);if(!o)return;const{documentRangeSemanticTokensProvider:r}=e.get(bt.p),a=yield Ta(r,o,G.e.lift(i),V.T.None);return a&&a.tokens?Ca({id:0,type:"full",data:a.tokens.data}):void 0}))));var La=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Ba=function(e,t){return function(n,i){t(n,i,e)}};function Oa(e){return e.toString()}function Pa(e){const t=new Oe.yP,n=e.createSnapshot();let i;for(;i=n.read();)t.update(i);return t.digest()}class Fa{constructor(e,t,n){this._modelEventListeners=new oe.SL,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose((()=>t(e)))),this._modelEventListeners.add(e.onDidChangeLanguage((t=>n(e,t))))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange((()=>this.model.setMode(e.languageId))),this.model.setMode(e.languageId)}}const Ra=ve.IJ||ve.dz?1:2;class ja{constructor(e,t,n,i,o,r,a,s){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=n,this.sharesUndoRedoStack=i,this.heapSize=o,this.sha1=r,this.versionId=a,this.alternativeVersionId=s}}let za=class e extends oe.JT{constructor(e,t,n,i,o,r,a,s,l){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=n,this._logService=i,this._undoRedoService=o,this._languageService=r,this._languageConfigurationService=a,this._languageFeatureDebounceService=s,this._onModelAdded=this._register(new W.Q5),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new W.Q5),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new W.Q5),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new Ua(this._themeService,this._languageService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration((()=>this._updateModelOptions()))),this._updateModelOptions(),this._register(new Ha(this._semanticStyling,this,this._themeService,this._configurationService,this._languageFeatureDebounceService,l))}static _readModelOptions(e,t){var n;let i=Xi.D.tabSize;if(e.editor&&void 0!==e.editor.tabSize){const t=parseInt(e.editor.tabSize,10);isNaN(t)||(i=t),i<1&&(i=1)}let o=i;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){const t=parseInt(e.editor.indentSize,10);isNaN(t)||(o=t),o<1&&(o=1)}let r=Xi.D.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(r="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));let a=Ra;const s=e.eol;"\r\n"===s?a=2:"\n"===s&&(a=1);let l=Xi.D.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));let c=Xi.D.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));let d=Xi.D.largeFileOptimizations;e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations));let u=Xi.D.bracketPairColorizationOptions;return(null===(n=e.editor)||void 0===n?void 0:n.bracketPairColorization)&&"object"==typeof e.editor.bracketPairColorization&&(u={enabled:!!e.editor.bracketPairColorization.enabled}),{isForSimpleWidget:t,tabSize:i,indentSize:o,insertSpaces:r,detectIndentation:c,defaultEOL:a,trimAutoWhitespace:l,largeFileOptimizations:d,bracketPairColorizationOptions:u}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const n=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return n&&"string"==typeof n&&"auto"!==n?n:3===ve.OS||2===ve.OS?"\n":"\r\n"}_shouldRestoreUndoStack(){const e=this._configurationService.getValue("files.restoreUndoStack");return"boolean"!=typeof e||e}getCreationOptions(t,n,i){let o=this._modelCreationOptionsByLanguageAndResource[t+n];if(!o){const r=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:n}),a=this._getEOL(n,t);o=e._readModelOptions({editor:r,eol:a},i),this._modelCreationOptionsByLanguageAndResource[t+n]=o}return o}_updateModelOptions(){const t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const n=Object.keys(this._models);for(let i=0,o=n.length;i<o;i++){const o=n[i],r=this._models[o],a=r.model.getLanguageId(),s=r.model.uri,l=t[a+s],c=this.getCreationOptions(a,s,r.model.isForSimpleWidget);e._setModelOptionsForModel(r.model,c,l)}}static _setModelOptionsForModel(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace&&(0,re.fS)(n.bracketPairColorizationOptions,t.bracketPairColorizationOptions)||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace,bracketColorizationOptions:t.bracketPairColorizationOptions})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace,bracketColorizationOptions:t.bracketPairColorizationOptions}))}_insertDisposedModel(e){this._disposedModels.set(Oa(e.uri),e),this._disposedModelsHeapSize+=e.heapSize}_removeDisposedModel(e){const t=this._disposedModels.get(Oa(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(Oa(e)),t}_ensureDisposedModelsHeapSize(e){if(this._disposedModelsHeapSize>e){const t=[];for(this._disposedModels.forEach((e=>{e.sharesUndoRedoStack||t.push(e)})),t.sort(((e,t)=>e.time-t.time));t.length>0&&this._disposedModelsHeapSize>e;){const e=t.shift();this._removeDisposedModel(e.uri),null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}}}_createModelData(e,t,n,i){const o=this.getCreationOptions(t,n,i),r=new Ln.yO(e,t,o,n,this._undoRedoService,this._languageService,this._languageConfigurationService);if(n&&this._disposedModels.has(Oa(n))){const e=this._removeDisposedModel(n),t=this._undoRedoService.getElements(n),i=Pa(r)===e.sha1;if(i||e.sharesUndoRedoStack){for(const e of t.past)(0,pa.e9)(e)&&e.matchesResource(n)&&e.setModel(r);for(const e of t.future)(0,pa.e9)(e)&&e.matchesResource(n)&&e.setModel(r);this._undoRedoService.setElementsValidFlag(n,!0,(e=>(0,pa.e9)(e)&&e.matchesResource(n))),i&&(r._overwriteVersionId(e.versionId),r._overwriteAlternativeVersionId(e.alternativeVersionId),r._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}const a=Oa(r.uri);if(this._models[a])throw new Error("ModelService: Cannot add model because it already exists!");const s=new Fa(r,(e=>this._onWillDispose(e)),((e,t)=>this._onDidChangeLanguage(e,t)));return this._models[a]=s,s}createModel(e,t,n,i=!1){let o;return t?(o=this._createModelData(e,t.languageId,n,i),this.setMode(o.model,t)):o=this._createModelData(e,Sr.bd,n,i),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(!t)return;const n=this._models[Oa(e.uri)];n&&n.setLanguage(t)}getModels(){const e=[],t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._models[i].model)}return e}getModel(e){const t=Oa(e),n=this._models[t];return n?n.model:null}getSemanticTokensProviderStyling(e){return this._semanticStyling.get(e)}_schemaShouldMaintainUndoRedoElements(e){return e.scheme===gi.lg.file||e.scheme===gi.lg.vscodeRemote||e.scheme===gi.lg.userData||e.scheme===gi.lg.vscodeNotebookCell||"fake-fs"===e.scheme}_onWillDispose(t){const n=Oa(t.uri),i=this._models[n],o=this._undoRedoService.getUriComparisonKey(t.uri)!==t.uri.toString();let r=!1,a=0;if(o||this._shouldRestoreUndoStack()&&this._schemaShouldMaintainUndoRedoElements(t.uri)){const e=this._undoRedoService.getElements(t.uri);if(e.past.length>0||e.future.length>0){for(const n of e.past)(0,pa.e9)(n)&&n.matchesResource(t.uri)&&(r=!0,a+=n.heapSize(t.uri),n.setModel(t.uri));for(const n of e.future)(0,pa.e9)(n)&&n.matchesResource(t.uri)&&(r=!0,a+=n.heapSize(t.uri),n.setModel(t.uri))}}const s=e.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(r)if(!o&&a>s){const e=i.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}else this._ensureDisposedModelsHeapSize(s-a),this._undoRedoService.setElementsValidFlag(t.uri,!1,(e=>(0,pa.e9)(e)&&e.matchesResource(t.uri))),this._insertDisposedModel(new ja(t.uri,i.model.getInitialUndoRedoSnapshot(),Date.now(),o,a,Pa(t),t.getVersionId(),t.getAlternativeVersionId()));else if(!o){const e=i.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}delete this._models[n],i.dispose(),delete this._modelCreationOptionsByLanguageAndResource[t.getLanguageId()+t.uri],this._onModelRemoved.fire(t)}_onDidChangeLanguage(t,n){const i=n.oldLanguage,o=t.getLanguageId(),r=this.getCreationOptions(i,t.uri,t.isForSimpleWidget),a=this.getCreationOptions(o,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,a,r),this._onModelModeChanged.fire({model:t,oldLanguageId:i})}};za.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20971520,za=La([Ba(0,uo.Ui),Ba(1,gt),Ba(2,_n.XE),Ba(3,vt.VZ),Ba(4,ki.tJ),Ba(5,pe.O),Ba(6,ue.c_),Ba(7,Hi),Ba(8,bt.p)],za);const Va="editor.semanticHighlighting";function Wa(e,t,n){var i;const o=null===(i=n.getValue(Va,{overrideIdentifier:e.getLanguageId(),resource:e.uri}))||void 0===i?void 0:i.enabled;return"boolean"==typeof o?o:t.getColorTheme().semanticHighlighting}let Ha=class extends oe.JT{constructor(e,t,n,i,o,r){super(),this._watchers=Object.create(null),this._semanticStyling=e;const a=e=>{this._watchers[e.uri.toString()]=new Ga(e,this._semanticStyling,n,o,r)},s=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},l=()=>{for(let e of t.getModels()){const t=this._watchers[e.uri.toString()];Wa(e,n,i)?t||a(e):t&&s(e,t)}};this._register(t.onModelAdded((e=>{Wa(e,n,i)&&a(e)}))),this._register(t.onModelRemoved((e=>{const t=this._watchers[e.uri.toString()];t&&s(e,t)}))),this._register(i.onDidChangeConfiguration((e=>{e.affectsConfiguration(Va)&&l()}))),this._register(n.onDidColorThemeChange(l))}};Ha=La([Ba(1,fe.q),Ba(2,_n.XE),Ba(3,uo.Ui),Ba(4,Hi),Ba(5,bt.p)],Ha);class Ua extends oe.JT{constructor(e,t,n){super(),this._themeService=e,this._languageService=t,this._logService=n,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange((()=>{this._caches=new WeakMap})))}get(e){return this._caches.has(e)||this._caches.set(e,new _a(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}}class Qa{constructor(e,t,n){this.provider=e,this.resultId=t,this.data=n}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}let Ga=class e extends oe.JT{constructor(t,n,i,o,r){super(),this._isDisposed=!1,this._model=t,this._semanticStyling=n,this._provider=r.documentSemanticTokensProvider,this._debounceInformation=o.for(this._provider,"DocumentSemanticTokens",{min:e.REQUEST_MIN_DELAY,max:e.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new ge.pY((()=>this._fetchDocumentSemanticTokensNow()),e.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent((()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))}))),this._register(this._model.onDidChangeLanguage((()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)})));const a=()=>{(0,oe.B9)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const e of this._provider.all(t))"function"==typeof e.onDidChange&&this._documentProvidersChangeListeners.push(e.onDidChange((()=>this._fetchDocumentSemanticTokens.schedule(0))))};a(),this._register(this._provider.onDidChange((()=>{a(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))}))),this._register(i.onDidColorThemeChange((e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))}))),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!Ma(this._provider,this._model))return void(this._currentDocumentResponse&&this._model.setSemanticTokens(null,!1));const e=new V.A,t=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,n=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,i=Da(this._provider,this._model,t,n,e.token);this._currentDocumentRequestCancellationTokenSource=e;const o=[],r=this._model.onDidChangeContent((e=>{o.push(e)})),a=new at.G(!1);i.then((e=>{if(this._debounceInformation.update(this._model,a.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),e){const{provider:t,tokens:n}=e,i=this._semanticStyling.get(t);this._setDocumentSemanticTokens(t,n||null,i,o)}else this._setDocumentSemanticTokens(null,null,null,o)}),(e=>{e&&(me.n2(e)||"string"==typeof e.message&&-1!==e.message.indexOf("busy"))||me.dL(e),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),o.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))}))}static _copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}_setDocumentSemanticTokens(t,n,i,o){const r=this._currentDocumentResponse,a=()=>{o.length>0&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)t&&n&&t.releaseDocumentSemanticTokens(n.resultId);else if(t&&i){if(!n)return this._model.setSemanticTokens(null,!0),void a();if(Ea(n)){if(!r)return void this._model.setSemanticTokens(null,!0);if(0===n.edits.length)n={resultId:n.resultId,data:r.data};else{let t=0;for(const e of n.edits)t+=(e.data?e.data.length:0)-e.deleteCount;const i=r.data,o=new Uint32Array(i.length+t);let a=i.length,s=o.length;for(let t=n.edits.length-1;t>=0;t--){const r=n.edits[t],l=a-(r.start+r.deleteCount);l>0&&(e._copy(i,a-l,o,s-l,l),s-=l),r.data&&(e._copy(r.data,0,o,s-r.data.length,r.data.length),s-=r.data.length),a=r.start}a>0&&e._copy(i,0,o,0,a),n={resultId:n.resultId,data:o}}}if(Sa(n)){this._currentDocumentResponse=new Qa(t,n.resultId,n.data);const e=function(e,t,n){const i=e.data,o=e.data.length/5|0,r=Math.max(Math.ceil(o/1024),400),a=[];let s=0,l=1,c=0;for(;s<o;){const e=s;let d=Math.min(e+r,o);if(d<o){let t=d;for(;t-1>e&&0===i[5*t];)t--;if(t-1===e){let e=d;for(;e+1<o&&0===i[5*e];)e++;d=e}else d=t}let u=new Uint32Array(4*(d-e)),h=0,p=0,f=0,g=0,m=0;for(;s<d;){const e=5*s,o=i[e],r=i[e+1],a=l+o|0,d=0===o?c+r|0:r,v=i[e+2],b=i[e+3],_=i[e+4],y=t.getMetadata(b,_,n);2147483647!==y&&(0===p&&(p=a),f===a&&m>d&&(t.warnOverlappingSemanticTokens(a,d+1),g<d?u[h-4+2]=d:h-=4),u[h]=a-p,u[h+1]=d,u[h+2]=d+v,u[h+3]=y,h+=4,f=a,g=d,m=d+v),l=a,c=d,s++}h!==u.length&&(u=u.subarray(0,h));const v=ga.create(p,u);a.push(v)}return a}(n,i,this._model.getLanguageId());if(o.length>0)for(const t of o)for(const n of e)for(const e of t.changes)n.applyEdit(e.range,e.text);this._model.setSemanticTokens(e,!0)}else this._model.setSemanticTokens(null,!0);a()}else this._model.setSemanticTokens(null,!1)}};Ga.REQUEST_MIN_DELAY=300,Ga.REQUEST_MAX_DELAY=2e3,Ga=La([Ba(2,_n.XE),Ba(3,Hi),Ba(4,bt.p)],Ga);var Ka=n(3136);Z()(Ka.Z,{insert:"head",singleton:!1}),Ka.Z.locals;var Ya=n(718),$a=n(2957),Ja=n(5738),qa=n(656);Z()(qa.Z,{insert:"head",singleton:!1}),qa.Z.locals;const Za={buttonBackground:Ja.Il.fromHex("#0E639C"),buttonHoverBackground:Ja.Il.fromHex("#006BB3"),buttonForeground:Ja.Il.white};class Xa extends oe.JT{constructor(e,t){super(),this._onDidClick=this._register(new W.Q5),this.options=t||Object.create(null),(0,re.jB)(this.options,Za,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(Br.o.addTarget(this._element)),[rn.tw.CLICK,Br.t.Tap].forEach((e=>{this._register((0,rn.nm)(this._element,e,(e=>{this.enabled?this._onDidClick.fire(e):rn.zB.stop(e)})))})),this._register((0,rn.nm)(this._element,rn.tw.KEY_DOWN,(e=>{const t=new Ki.y(e);let n=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),n=!0):t.equals(9)&&(this._element.blur(),n=!0),n&&rn.zB.stop(t,!0)}))),this._register((0,rn.nm)(this._element,rn.tw.MOUSE_OVER,(e=>{this._element.classList.contains("disabled")||this.setHoverBackground()}))),this._register((0,rn.nm)(this._element,rn.tw.MOUSE_OUT,(e=>{this.applyStyles()}))),this.focusTracker=this._register((0,rn.go)(this._element)),this._register(this.focusTracker.onDidFocus((()=>this.setHoverBackground()))),this._register(this.focusTracker.onDidBlur((()=>this.applyStyles()))),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(t=this.buttonForeground?this.buttonForeground.toString():"",e=this.buttonBackground?this.buttonBackground.toString():"");const n=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?"1px":"",this._element.style.borderStyle=n?"solid":"",this._element.style.borderColor=n}}get element(){return this._element}set label(e){this._element.classList.add("monaco-text-button"),this.options.supportIcons?(0,rn.mc)(this._element,...(0,$a.T)(e)):this._element.textContent=e,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}}var es=n(4905);Z()(es.Z,{insert:"head",singleton:!1}),es.Z.locals;const ts={badgeBackground:Ja.Il.fromHex("#4D4D4D"),badgeForeground:Ja.Il.fromHex("#FFFFFF")};class ns{constructor(e,t){this.count=0,this.options=t||Object.create(null),(0,re.jB)(this.options,ts,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=(0,rn.R3)(e,(0,rn.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=(0,ee.WU)(this.countFormat,this.count),this.element.title=(0,ee.WU)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}}}var is=n(4388);Z()(is.Z,{insert:"head",singleton:!1}),is.Z.locals;const os="done",rs="active",as="infinite",ss="infinite-long-running",ls="discrete",cs={progressBarBackground:Ja.Il.fromHex("#0E70C0")};class ds extends oe.JT{constructor(e,t){super(),this.options=t||Object.create(null),(0,re.jB)(this.options,cs,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this.showDelayedScheduler=this._register(new ge.pY((()=>(0,rn.$Z)(this.element)),0)),this.longRunningScheduler=this._register(new ge.pY((()=>this.infiniteLongRunning()),ds.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(e)}create(e){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(rs,as,ss,ls),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(os),this.element.classList.contains(as)?(this.bit.style.opacity="0",e?setTimeout((()=>this.off()),200):this.off()):(this.bit.style.width="inherit",e?setTimeout((()=>this.off()),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(ls,os,ss),this.element.classList.add(rs,as),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(ss)}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}}}ds.LONG_RUNNING_INFINITE_THRESHOLD=1e4;var us=n(7768),hs=n(5707);Z()(hs.Z,{insert:"head",singleton:!1}),hs.Z.locals;const ps={},fs=new us.R("quick-input-button-icon-");function gs(e){if(!e)return;let t;const n=e.dark.toString();return ps[n]?t=ps[n]:(t=fs.nextId(),rn.fk(`.${t}`,`background-image: ${rn.wY(e.light||e.dark)}`),rn.fk(`.vs-dark .${t}, .hc-black .${t}`,`background-image: ${rn.wY(e.dark)}`),ps[n]=t),t}const ms={ctrlCmd:!1,alt:!1};var vs,bs;!function(e){e[e.Blur=1]="Blur",e[e.Gesture=2]="Gesture",e[e.Other=3]="Other"}(vs||(vs={})),function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(bs||(bs={})),new class{constructor(e){this.options=e}};var _s=n(7662);const ys=rn.$;class As extends oe.JT{constructor(e){super(),this.parent=e,this.onKeyDown=e=>rn.nm(this.inputBox.inputElement,rn.tw.KEY_DOWN,(t=>{e(new Ki.y(t))})),this.onMouseDown=e=>rn.nm(this.inputBox.inputElement,rn.tw.MOUSE_DOWN,(t=>{e(new Tr.n(t))})),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=rn.R3(this.parent,ys(".quick-input-box")),this.inputBox=this._register(new _s.W(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===Si.Z.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===Si.Z.Info?1:e===Si.Z.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===Si.Z.Info?1:e===Si.Z.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}var ws=n(1842),Cs=n(2458);Z()(Cs.Z,{insert:"head",singleton:!1}),Cs.Z.locals;const xs=rn.$;class Ss{constructor(e,t,n){this.os=t,this.keyElements=new Set,this.options=n||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=rn.R3(e,xs(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&Ss.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(this.clear(),this.keybinding){let[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(rn.R3(this.domNode,xs("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.applyStyles(),this.didEverRender=!0}clear(){rn.PO(this.domNode),this.keyElements.clear()}renderPart(e,t,n){const i=Eo.xo.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,i.ctrlKey,Boolean(null==n?void 0:n.ctrlKey),i.separator),t.shiftKey&&this.renderKey(e,i.shiftKey,Boolean(null==n?void 0:n.shiftKey),i.separator),t.altKey&&this.renderKey(e,i.altKey,Boolean(null==n?void 0:n.altKey),i.separator),t.metaKey&&this.renderKey(e,i.metaKey,Boolean(null==n?void 0:n.metaKey),i.separator);const o=t.keyLabel;o&&this.renderKey(e,o,Boolean(null==n?void 0:n.keyCode),"")}renderKey(e,t,n,i){rn.R3(e,this.createKeyElement(t,n?".highlight":"")),i&&rn.R3(e,xs("span.monaco-keybinding-key-separator",void 0,i))}renderUnbound(e){rn.R3(e,this.createKeyElement((0,on.N)("unbound","Unbound")))}createKeyElement(e,t=""){const n=xs("span.monaco-keybinding-key"+t,void 0,e);return this.keyElements.add(n),n}style(e){this.labelBackground=e.keybindingLabelBackground,this.labelForeground=e.keybindingLabelForeground,this.labelBorder=e.keybindingLabelBorder,this.labelBottomBorder=e.keybindingLabelBottomBorder,this.labelShadow=e.keybindingLabelShadow,this.applyStyles()}applyStyles(){var e;if(this.element){for(const t of this.keyElements)this.labelBackground&&(t.style.backgroundColor=null===(e=this.labelBackground)||void 0===e?void 0:e.toString()),this.labelBorder&&(t.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(t.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(t.style.boxShadow=`inset 0 -1px 0 ${this.labelShadow}`);this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&(0,re.fS)(e.firstPart,t.firstPart)&&(0,re.fS)(e.chordPart,t.chordPart)}}const Es=new ge.Ue((()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}}));new ge.Ue((()=>({collator:new Intl.Collator(void 0,{numeric:!0})}))),new ge.Ue((()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})})));var ks=n(6297),Ms=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a};const Ds=rn.$;class Ns{constructor(e){this.hidden=!1,this._onChecked=new W.Q5,this.onChecked=this._onChecked.event,Object.assign(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class Is{get templateId(){return Is.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=rn.R3(e,Ds(".quick-input-list-entry"));const n=rn.R3(t.entry,Ds("label.quick-input-list-label"));t.toDisposeTemplate.push(rn.mu(n,rn.tw.CLICK,(e=>{t.checkbox.offsetParent||e.preventDefault()}))),t.checkbox=rn.R3(n,Ds("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(rn.mu(t.checkbox,rn.tw.CHANGE,(e=>{t.element.checked=t.checkbox.checked})));const i=rn.R3(n,Ds(".quick-input-list-rows")),o=rn.R3(i,Ds(".quick-input-list-row")),r=rn.R3(i,Ds(".quick-input-list-row"));t.label=new ws.g(o,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const a=rn.R3(o,Ds(".quick-input-list-entry-keybinding"));t.keybinding=new Ss(a,ve.OS);const s=rn.R3(r,Ds(".quick-input-list-label-meta"));return t.detail=new ws.g(s,{supportHighlights:!0,supportIcons:!0}),t.separator=rn.R3(t.entry,Ds(".quick-input-list-separator")),t.actionBar=new hn.o(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,n){n.toDisposeElement=(0,oe.B9)(n.toDisposeElement),n.element=e,n.checkbox.checked=e.checked,n.toDisposeElement.push(e.onChecked((e=>n.checkbox.checked=e)));const{labelHighlights:i,descriptionHighlights:o,detailHighlights:r}=e,a=Object.create(null);a.matches=i||[],a.descriptionTitle=e.saneDescription,a.descriptionMatches=o||[],a.extraClasses=e.item.iconClasses,a.italic=e.item.italic,a.strikethrough=e.item.strikethrough,n.label.setLabel(e.saneLabel,e.saneDescription,a),n.keybinding.set(e.item.keybinding),e.saneDetail&&n.detail.setLabel(e.saneDetail,void 0,{matches:r,title:e.saneDetail}),e.separator&&e.separator.label?(n.separator.textContent=e.separator.label,n.separator.style.display=""):n.separator.style.display="none",n.entry.classList.toggle("quick-input-list-separator-border",!!e.separator),n.actionBar.clear();const s=e.item.buttons;s&&s.length?(n.actionBar.push(s.map(((t,n)=>{let i=t.iconClass||(t.iconPath?gs(t.iconPath):void 0);t.alwaysVisible&&(i=i?`${i} always-visible`:"always-visible");const o=new fn.aU(`id-${n}`,"",i,!0,(()=>{return n=this,void 0,o=function*(){e.fireButtonTriggered({button:t,item:e.item})},new((i=void 0)||(i=Promise))((function(e,t){function r(e){try{s(o.next(e))}catch(e){t(e)}}function a(e){try{s(o.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(r,a)}s((o=o.apply(n,[])).next())}));var n,i,o}));return o.tooltip=t.tooltip||"",o})),{icon:!0,label:!1}),n.entry.classList.add("has-actions")):n.entry.classList.remove("has-actions")}disposeElement(e,t,n){n.toDisposeElement=(0,oe.B9)(n.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=(0,oe.B9)(e.toDisposeElement),e.toDisposeTemplate=(0,oe.B9)(e.toDisposeTemplate)}}Is.ID="listelement";class Ts{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return Is.ID}}var Ls;!function(e){e[e.First=1]="First",e[e.Second=2]="Second",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Previous=5]="Previous",e[e.NextPage=6]="NextPage",e[e.PreviousPage=7]="PreviousPage"}(Ls||(Ls={}));class Bs{constructor(e,t,n){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new W.Q5,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new W.Q5,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new W.Q5,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new W.Q5,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new W.Q5,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new W.Q5,this.onKeyDown=this._onKeyDown.event,this._onLeave=new W.Q5,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=rn.R3(this.parent,Ds(".quick-input-list"));const i=new Ts,o=new Os;this.list=n.createList("QuickInput",this.container,i,[new Is],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:o}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown((e=>{const t=new Ki.y(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(ve.dz?e.metaKey:e.ctrlKey)&&this.list.setFocus((0,mt.w6)(this.list.length));break;case 16:{const e=this.list.getFocus();1===e.length&&0===e[0]&&this._onLeave.fire();break}case 18:{const e=this.list.getFocus();1===e.length&&e[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(t)}))),this.disposables.push(this.list.onMouseDown((e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()}))),this.disposables.push(rn.nm(this.container,rn.tw.CLICK,(e=>{(e.x||e.y)&&this._onLeave.fire()}))),this.disposables.push(this.list.onMouseMiddleClick((e=>{this._onLeave.fire()}))),this.disposables.push(this.list.onContextMenu((e=>{"number"==typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))}))),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return W.ju.map(this.list.onDidChangeFocus,(e=>e.elements.map((e=>e.item))))}get onDidChangeSelection(){return W.ju.map(this.list.onDidChangeSelection,(e=>({items:e.elements.map((e=>e.item)),event:e.browserEvent})))}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.hidden){if(!i.checked)return!1;t=!0}}return t}getCheckedCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].checked&&e++;return e}getVisibleCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].hidden||e++;return e}setAllVisibleChecked(e){try{this._fireCheckedEvents=!1,this.elements.forEach((t=>{t.hidden||(t.checked=e)}))}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=(0,oe.B9)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce(((n,i,o)=>{var r,a,s;if("separator"!==i.type){const l=o&&e[o-1],c=i.label&&i.label.replace(/\r?\n/g," "),d=i.meta&&i.meta.replace(/\r?\n/g," "),u=i.description&&i.description.replace(/\r?\n/g," "),h=i.detail&&i.detail.replace(/\r?\n/g," "),p=i.ariaLabel||[c,u,h].map((e=>(0,yn.JL)(e))).filter((e=>!!e)).join(", "),f=this.parent.classList.contains("show-checkboxes");n.push(new Ns({hasCheckbox:f,index:o,item:i,saneLabel:c,saneMeta:d,saneAriaLabel:p,saneDescription:u,saneDetail:h,labelHighlights:null===(r=i.highlights)||void 0===r?void 0:r.label,descriptionHighlights:null===(a=i.highlights)||void 0===a?void 0:a.description,detailHighlights:null===(s=i.highlights)||void 0===s?void 0:s.detail,checked:!1,separator:l&&"separator"===l.type?l:void 0,fireButtonTriggered:t}))}return n}),[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map((e=>e.onChecked((()=>this.fireCheckedEvents()))))),this.elementsToIndexes=this.elements.reduce(((e,t,n)=>(e.set(t.item,n),e)),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map((e=>e.item))}setFocusedElements(e){if(this.list.setFocus(e.filter((e=>this.elementsToIndexes.has(e))).map((e=>this.elementsToIndexes.get(e)))),e.length>0){const e=this.list.getFocus()[0];"number"==typeof e&&this.list.reveal(e)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){this.list.setSelection(e.filter((e=>this.elementsToIndexes.has(e))).map((e=>this.elementsToIndexes.get(e))))}getCheckedElements(){return this.elements.filter((e=>e.checked)).map((e=>e.item))}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const n of e)t.add(n);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(!this.list.length)return;switch(e===Ls.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=Ls.First),e===Ls.Previous&&0===this.list.getFocus()[0]&&(e=Ls.Last),e===Ls.Second&&this.list.length<2&&(e=Ls.First),e){case Ls.First:this.list.focusFirst();break;case Ls.Second:this.list.focusNth(1);break;case Ls.Last:this.list.focusLast();break;case Ls.Next:this.list.focusNext();break;case Ls.Previous:this.list.focusPrevious();break;case Ls.NextPage:this.list.focusNextPage();break;case Ls.PreviousPage:this.list.focusPreviousPage()}const t=this.list.getFocus()[0];"number"==typeof t&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if((e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)){let t;this.elements.forEach((n=>{const i=this.matchOnLabel?(0,be.f6)((0,Fr.Gt)(e,(0,Fr.Ho)(n.saneLabel))):void 0,o=this.matchOnDescription?(0,be.f6)((0,Fr.Gt)(e,(0,Fr.Ho)(n.saneDescription||""))):void 0,r=this.matchOnDetail?(0,be.f6)((0,Fr.Gt)(e,(0,Fr.Ho)(n.saneDetail||""))):void 0,a=this.matchOnMeta?(0,be.f6)((0,Fr.Gt)(e,(0,Fr.Ho)(n.saneMeta||""))):void 0;if(i||o||r||a?(n.labelHighlights=i,n.descriptionHighlights=o,n.detailHighlights=r,n.hidden=!1):(n.labelHighlights=void 0,n.descriptionHighlights=void 0,n.detailHighlights=void 0,n.hidden=!n.item.alwaysShow),n.separator=void 0,!this.sortByLabel){const e=n.index&&this.inputElements[n.index-1];t=e&&"separator"===e.type?e:t,t&&!n.hidden&&(n.separator=t,t=void 0)}}))}else this.elements.forEach((e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;const t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0}));const t=this.elements.filter((e=>!e.hidden));if(this.sortByLabel&&e){const n=e.toLowerCase();t.sort(((e,t)=>function(e,t,n){const i=e.labelHighlights||[],o=t.labelHighlights||[];return i.length&&!o.length?-1:!i.length&&o.length?1:0===i.length&&0===o.length?0:function(e,t,n){const i=e.toLowerCase(),o=t.toLowerCase(),r=function(e,t,n){const i=e.toLowerCase(),o=t.toLowerCase(),r=i.startsWith(n),a=o.startsWith(n);if(r!==a)return r?-1:1;if(r&&a){if(i.length<o.length)return-1;if(i.length>o.length)return 1}return 0}(e,t,n);if(r)return r;const a=i.endsWith(n);if(a!==o.endsWith(n))return a?-1:1;const s=function(e,t,n=!1){const i=e||"",o=t||"",r=Es.value.collator.compare(i,o);return Es.value.collatorIsNumeric&&0===r&&i!==o?i<o?-1:1:r}(i,o);return 0!==s?s:i.localeCompare(o)}(e.saneLabel,t.saneLabel,n)}(e,t,n)))}return this.elementsToIndexes=t.reduce(((e,t,n)=>(e.set(t.item,n),e)),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const n of e)n.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=(0,oe.B9)(this.elementDisposables),this.disposables=(0,oe.B9)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}Ms([ks.H],Bs.prototype,"onDidChangeFocus",null),Ms([ks.H],Bs.prototype,"onDidChangeSelection",null);class Os{getWidgetAriaLabel(){return(0,on.N)("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(e){return e.hasCheckbox?"checkbox":"option"}isChecked(e){if(e.hasCheckbox)return{value:e.checked,onDidChange:e.onChecked}}}var Ps=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};const Fs=rn.$,Rs={iconClass:yn.lA.quickInputBack.classNames,tooltip:(0,on.N)("quickInput.back","Back"),handle:-1};class js extends oe.JT{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=js.noPromptMessage,this._severity=Si.Z.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new W.Q5),this.onDidHideEmitter=this._register(new W.Q5),this.onDisposeEmitter=this._register(new W.Q5),this.visibleDisposables=this._register(new oe.SL),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){const t=this._ignoreFocusOut!==e&&!ve.gn;this._ignoreFocusOut=e&&!ve.gn,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton((e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)}))),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=vs.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||"&nbsp;"===this.ui.title.innerHTML||(this.ui.title.innerText="ย ");const t=this.getDescription();if(this.ui.description1.textContent!==t&&(this.ui.description1.textContent=t),this.ui.description2.textContent!==t&&(this.ui.description2.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new ge._F,this.busyDelay.setIfNotSet((()=>{this.visible&&this.ui.progressBar.infinite()}),800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter((e=>e===Rs));this.ui.leftActionBar.push(e.map(((e,t)=>{const n=new fn.aU(`id-${t}`,"",e.iconClass||gs(e.iconPath),!0,(()=>Ps(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)}))));return n.tooltip=e.tooltip||"",n})),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const t=this.buttons.filter((e=>e!==Rs));this.ui.rightActionBar.push(t.map(((e,t)=>{const n=new fn.aU(`id-${t}`,"",e.iconClass||gs(e.iconPath),!0,(()=>Ps(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)}))));return n.tooltip=e.tooltip||"",n})),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const n=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==n&&(this._lastValidationMessage=n,rn.mc(this.ui.message,...(0,$a.T)(n))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,on.N)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e!==Si.Z.Ignore){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?`${t.foreground}`:"",this.ui.message.style.backgroundColor=t.background?`${t.background}`:"",this.ui.message.style.border=t.border?`1px solid ${t.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}js.noPromptMessage=(0,on.N)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class zs extends js{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new W.Q5),this.onWillAcceptEmitter=this._register(new W.Q5),this.onDidAcceptEmitter=this._register(new W.Q5),this.onDidCustomEmitter=this._register(new W.Q5),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=this.ui.isScreenReaderOptimized()?bs.NONE:bs.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new W.Q5),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new W.Q5),this.onDidTriggerItemButtonEmitter=this._register(new W.Q5),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this.doSetValue(e)}doSetValue(e,t){this._value!==e&&(this._value=e,t||this.update(),this.visible&&this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(e){this.ui.list.scrollTop=e}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(e){this._keepScrollPosition=e}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?ms:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(Ls.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange((e=>{this.doSetValue(e,!0)}))),this.visibleDisposables.add(this.ui.inputBox.onMouseDown((e=>{this.autoFocusOnList||this.ui.list.clearFocus()}))),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown((e=>{switch(e.keyCode){case 18:this.ui.list.focus(Ls.Next),this.canSelectMany&&this.ui.list.domFocus(),rn.zB.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(Ls.Previous):this.ui.list.focus(Ls.Last),this.canSelectMany&&this.ui.list.domFocus(),rn.zB.stop(e,!0);break;case 12:this.ui.list.focus(Ls.NextPage),this.canSelectMany&&this.ui.list.domFocus(),rn.zB.stop(e,!0);break;case 11:this.ui.list.focus(Ls.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),rn.zB.stop(e,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Ls.First),rn.zB.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Ls.Last),rn.zB.stop(e,!0))}}))),this.visibleDisposables.add(this.ui.onDidAccept((()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)}))),this.visibleDisposables.add(this.ui.onDidCustom((()=>{this.onDidCustomEmitter.fire()}))),this.visibleDisposables.add(this.ui.list.onDidChangeFocus((e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,mt.fS)(e,this._activeItems,((e,t)=>e===t))||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))}))),this.visibleDisposables.add(this.ui.list.onDidChangeSelection((({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&(0,mt.fS)(e,this._selectedItems,((e,t)=>e===t))||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(t instanceof MouseEvent&&1===t.button))}))),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements((e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,mt.fS)(e,this._selectedItems,((e,t)=>e===t))||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))}))),this.visibleDisposables.add(this.ui.list.onButtonTriggered((e=>this.onDidTriggerItemButtonEmitter.fire(e)))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return rn.nm(this.ui.container,rn.tw.KEY_UP,(e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new Ki.y(e),n=t.keyCode;this._quickNavigate.keybindings.some((e=>{const[i,o]=e.getParts();return!(o||(i.shiftKey&&4===n?t.ctrlKey||t.altKey||t.metaKey:!(i.altKey&&6===n||i.ctrlKey&&5===n||i.metaKey&&57===n)))}))&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)}))}update(){if(!this.visible)return;const e=this.keepScrollPosition?this.scrollTop:0,t=!!this._hideInput&&this._items.length>0;this.ui.container.classList.toggle("hidden-input",t&&!this.description);const n={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!t,progressBar:!t,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(n),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");const i=this.ariaLabel||this.placeholder||zs.DEFAULT_ARIA_LABEL;if(this.ui.inputBox.ariaLabel!==i&&(this.ui.inputBox.ariaLabel=i),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case bs.NONE:this._itemActivation=bs.FIRST;break;case bs.SECOND:this.ui.list.focus(Ls.Second),this._itemActivation=bs.FIRST;break;case bs.LAST:this.ui.list.focus(Ls.Last),this._itemActivation=bs.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),n.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(Ls.First)),this.keepScrollPosition&&(this.scrollTop=e)}}zs.DEFAULT_ARIA_LABEL=(0,on.N)("quickInputBox.ariaLabel","Type to narrow down results.");class Vs extends oe.JT{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new W.Q5),this.onDidCustomEmitter=this._register(new W.Q5),this.onDidTriggerButtonEmitter=this._register(new W.Q5),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new W.Q5),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new W.Q5),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=e=>{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(rn.nm(window,rn.tw.KEY_DOWN,e,!0)),this._register(rn.nm(window,rn.tw.KEY_UP,e,!0)),this._register(rn.nm(window,rn.tw.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=rn.R3(this.parentElement,Fs(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=rn.dS(e),n=rn.R3(e,Fs(".quick-input-titlebar")),i=this._register(new hn.o(n));i.domNode.classList.add("quick-input-left-action-bar");const o=rn.R3(n,Fs(".quick-input-title")),r=this._register(new hn.o(n));r.domNode.classList.add("quick-input-right-action-bar");const a=rn.R3(e,Fs(".quick-input-description")),s=rn.R3(e,Fs(".quick-input-header")),l=rn.R3(s,Fs("input.quick-input-check-all"));l.type="checkbox",this._register(rn.mu(l,rn.tw.CHANGE,(e=>{const t=l.checked;w.setAllVisibleChecked(t)}))),this._register(rn.nm(l,rn.tw.CLICK,(e=>{(e.x||e.y)&&h.setFocus()})));const c=rn.R3(s,Fs(".quick-input-description")),d=rn.R3(s,Fs(".quick-input-and-message")),u=rn.R3(d,Fs(".quick-input-filter")),h=this._register(new As(u));h.setAttribute("aria-describedby",`${this.idPrefix}message`);const p=rn.R3(u,Fs(".quick-input-visible-count"));p.setAttribute("aria-live","polite"),p.setAttribute("aria-atomic","true");const f=new ns(p,{countFormat:(0,on.N)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),g=rn.R3(u,Fs(".quick-input-count"));g.setAttribute("aria-live","polite");const m=new ns(g,{countFormat:(0,on.N)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),v=rn.R3(s,Fs(".quick-input-action")),b=new Xa(v);b.label=(0,on.N)("ok","OK"),this._register(b.onDidClick((e=>{this.onDidAcceptEmitter.fire()})));const _=rn.R3(s,Fs(".quick-input-action")),y=new Xa(_);y.label=(0,on.N)("custom","Custom"),this._register(y.onDidClick((e=>{this.onDidCustomEmitter.fire()})));const A=rn.R3(d,Fs(`#${this.idPrefix}message.quick-input-message`)),w=this._register(new Bs(e,this.idPrefix+"list",this.options));this._register(w.onChangedAllVisibleChecked((e=>{l.checked=e}))),this._register(w.onChangedVisibleCount((e=>{f.setCount(e)}))),this._register(w.onChangedCheckedCount((e=>{m.setCount(e)}))),this._register(w.onLeave((()=>{setTimeout((()=>{h.setFocus(),this.controller instanceof zs&&this.controller.canSelectMany&&w.clearFocus()}),0)}))),this._register(w.onDidChangeFocus((()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")})));const C=new ds(e);C.getContainer().classList.add("quick-input-progress");const x=rn.go(e);return this._register(x),this._register(rn.nm(e,rn.tw.FOCUS,(e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0}),!0)),this._register(x.onDidBlur((()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(vs.Blur),this.previousFocusElement=void 0}))),this._register(rn.nm(e,rn.tw.FOCUS,(e=>{h.setFocus()}))),this._register(rn.nm(e,rn.tw.KEY_DOWN,(t=>{const n=new Ki.y(t);switch(n.keyCode){case 3:rn.zB.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:rn.zB.stop(t,!0),this.hide(vs.Gesture);break;case 2:if(!n.altKey&&!n.ctrlKey&&!n.metaKey){const i=[".action-label.codicon"];e.classList.contains("show-checkboxes")?i.push("input"):i.push("input[type=text]"),this.getUI().list.isDisplayed()&&i.push(".monaco-list");const o=e.querySelectorAll(i.join(", "));n.shiftKey&&n.target===o[0]?(rn.zB.stop(t,!0),o[o.length-1].focus()):n.shiftKey||n.target!==o[o.length-1]||(rn.zB.stop(t,!0),o[0].focus())}}}))),this.ui={container:e,styleSheet:t,leftActionBar:i,titleBar:n,title:o,description1:a,description2:c,rightActionBar:r,checkAll:l,filterContainer:u,inputBox:h,visibleCountContainer:p,visibleCount:f,countContainer:g,count:m,okContainer:v,ok:b,message:A,customButtonContainer:_,customButton:y,list:w,progressBar:C,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},n=V.T.None){return new Promise(((i,o)=>{let r=e=>{r=i,t.onKeyMods&&t.onKeyMods(a.keyMods),i(e)};if(n.isCancellationRequested)return void r(void 0);const a=this.createQuickPick();let s;const l=[a,a.onDidAccept((()=>{if(a.canSelectMany)r(a.selectedItems.slice()),a.hide();else{const e=a.activeItems[0];e&&(r(e),a.hide())}})),a.onDidChangeActive((e=>{const n=e[0];n&&t.onDidFocus&&t.onDidFocus(n)})),a.onDidChangeSelection((e=>{if(!a.canSelectMany){const t=e[0];t&&(r(t),a.hide())}})),a.onDidTriggerItemButton((e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{const t=a.items.indexOf(e.item);if(-1!==t){const e=a.items.slice(),n=e.splice(t,1),i=a.activeItems.filter((e=>e!==n[0])),o=a.keepScrollPosition;a.keepScrollPosition=!0,a.items=e,i&&(a.activeItems=i),a.keepScrollPosition=o}}})))),a.onDidChangeValue((e=>{!s||e||1===a.activeItems.length&&a.activeItems[0]===s||(a.activeItems=[s])})),n.onCancellationRequested((()=>{a.hide()})),a.onDidHide((()=>{(0,oe.B9)(l),r(void 0)}))];a.title=t.title,a.canSelectMany=!!t.canPickMany,a.placeholder=t.placeHolder,a.ignoreFocusOut=!!t.ignoreFocusLost,a.matchOnDescription=!!t.matchOnDescription,a.matchOnDetail=!!t.matchOnDetail,a.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,a.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,a.quickNavigate=t.quickNavigate,a.contextKey=t.contextKey,a.busy=!0,Promise.all([e,t.activeItem]).then((([e,t])=>{s=t,a.busy=!1,a.items=e,a.canSelectMany&&(a.selectedItems=e.filter((e=>"separator"!==e.type&&e.picked))),s&&(a.activeItems=[s])})),a.show(),Promise.resolve(e).then(void 0,(e=>{o(e),a.hide()}))}))}createQuickPick(){const e=this.getUI();return new zs(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const n=this.controller;this.controller=e,n&&n.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description1.textContent="",t.description2.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(Si.Z.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),rn.mc(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="";const i=this.options.backKeybindingLabel();Rs.tooltip=i?(0,on.N)("quickInput.backWithKeybinding","Back ({0})",i):(0,on.N)("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?"":"none",t.description2.style.display=!e.description||e.inputBox||e.checkAll?"none":"",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t;const n=this.controller;if(n){const i=!(null===(t=this.ui)||void 0===t?void 0:t.container.contains(document.activeElement));if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!i){let e=this.previousFocusElement;for(;e&&!e.offsetParent;)e=(0,be.f6)(e.parentElement);(null==e?void 0:e.offsetParent)?(e.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}n.didHide(e)}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=`${this.titleBarOffset}px`;const e=this.ui.container.style,t=Math.min(.62*this.dimension.width,Vs.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:n,contrastBorder:i,widgetShadow:o}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():"",this.ui.container.style.backgroundColor=t?t.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=i?`1px solid ${i}`:"",this.ui.container.style.boxShadow=o?`0 0 8px 2px ${o}`:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const r=[];this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(r.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&r.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&r.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&r.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&r.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&r.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),r.push("}"));const a=r.join("\n");a!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=a)}}}Vs.MAX_WIDTH=600,n(3330);var Ws=n(6165);class Hs{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:oe.JT.None}}renderElement(e,t,n,i){if(n.disposable&&n.disposable.dispose(),!n.data)return;const o=this.modelProvider();if(o.isResolved(e))return this.renderer.renderElement(o.get(e),e,n.data,i);const r=new V.A,a=o.resolve(e,r.token);n.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(e,n.data),a.then((t=>this.renderer.renderElement(t,e,n.data,i)))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class Us{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}var Qs=n(6783),Gs=n(4276);Z()(Gs.Z,{insert:"head",singleton:!1}),Gs.Z.locals;const Ks={separatorBorder:Ja.Il.transparent};class Ys{constructor(e,t,n,i){this.container=e,this.view=t,this.disposable=i,this._cachedVisibleSize=void 0,"number"==typeof n?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=(0,Wi.uZ)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class $s extends Ys{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class Js extends Ys{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}var qs,Zs;!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(qs||(qs={})),function(e){e.Distribute={type:"distribute"},e.Split=function(e){return{type:"split",index:e}},e.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}}}(Zs||(Zs={}));class Xs extends oe.JT{constructor(e,t={}){var n,i,o,r,a;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=qs.Idle,this._onDidSashChange=this._register(new W.Q5),this._onDidSashReset=this._register(new W.Q5),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=null!==(n=t.orientation)&&void 0!==n?n:0,this.inverseAltBehavior=null!==(i=t.inverseAltBehavior)&&void 0!==i&&i,this.proportionalLayout=null===(o=t.proportionalLayout)||void 0===o||o,this.getSashOrthogonalSize=t.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=(0,rn.R3)(this.el,(0,rn.$)(".sash-container")),this.viewContainer=(0,rn.$)(".split-view-container"),this.scrollable=new Qs.Rm({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:rn.jL}),this.scrollableElement=this._register(new pn.$Z(this.viewContainer,{vertical:0===this.orientation?null!==(r=t.scrollbarVisibility)&&void 0!==r?r:1:2,horizontal:1===this.orientation?null!==(a=t.scrollbarVisibility)&&void 0!==a?a:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll((e=>{this.viewContainer.scrollTop=e.scrollTop,this.viewContainer.scrollLeft=e.scrollLeft}))),(0,rn.R3)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||Ks),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach(((e,t)=>{const n=be.o8(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},i=e.view;this.doAddView(i,n,t,!0)})),this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,n=this.viewItems.length,i){this.doAddView(e,t,n,i)}layout(e,t){const n=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let t=0;t<this.viewItems.length;t++){const n=this.viewItems[t];n.size=(0,Wi.uZ)(Math.round(this.proportions[t]*e),n.minimumSize,n.maximumSize)}else{const t=(0,mt.w6)(this.viewItems.length),i=t.filter((e=>1===this.viewItems[e].priority)),o=t.filter((e=>2===this.viewItems[e].priority));this.resize(this.viewItems.length-1,e-n,void 0,i,o)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map((e=>e.size/this.contentSize)))}onSashStart({sash:e,start:t,alt:n}){for(const e of this.viewItems)e.enabled=!1;const i=this.sashItems.findIndex((t=>t.sash===e)),o=(0,oe.F8)((0,rn.nm)(document.body,"keydown",(e=>r(this.sashDragState.current,e.altKey))),(0,rn.nm)(document.body,"keyup",(()=>r(this.sashDragState.current,!1)))),r=(e,t)=>{const n=this.viewItems.map((e=>e.size));let r,a,s=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t)if(i===this.sashItems.length-1){const e=this.viewItems[i];s=(e.minimumSize-e.size)/2,l=(e.maximumSize-e.size)/2}else{const e=this.viewItems[i+1];s=(e.size-e.maximumSize)/2,l=(e.size-e.minimumSize)/2}if(!t){const e=(0,mt.w6)(i,-1),t=(0,mt.w6)(i+1,this.viewItems.length),o=e.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-n[t])),0),s=e.reduce(((e,t)=>e+(this.viewItems[t].viewMaximumSize-n[t])),0),l=0===t.length?Number.POSITIVE_INFINITY:t.reduce(((e,t)=>e+(n[t]-this.viewItems[t].minimumSize)),0),c=0===t.length?Number.NEGATIVE_INFINITY:t.reduce(((e,t)=>e+(n[t]-this.viewItems[t].viewMaximumSize)),0),d=Math.max(o,c),u=Math.min(l,s),h=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof h){const e=this.viewItems[h],t=Math.floor(e.viewMinimumSize/2);r={index:h,limitDelta:e.visible?d-t:d+t,size:e.size}}if("number"==typeof p){const e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);a={index:p,limitDelta:e.visible?u+t:u-t,size:e.size}}}this.sashDragState={start:e,current:e,index:i,sizes:n,minDelta:s,maxDelta:l,alt:t,snapBefore:r,snapAfter:a,disposable:o}};r(t,n)}onSashChange({current:e}){const{index:t,start:n,sizes:i,alt:o,minDelta:r,maxDelta:a,snapBefore:s,snapAfter:l}=this.sashDragState;this.sashDragState.current=e;const c=e-n,d=this.resize(t,c,i,void 0,void 0,r,a,s,l);if(o){const e=t===this.sashItems.length-1,n=this.viewItems.map((e=>e.size)),i=e?t:t+1,o=this.viewItems[i],r=o.size-o.maximumSize,a=o.size-o.minimumSize,s=e?t-1:t+1;this.resize(s,-d,n,void 0,void 0,r,a)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const e of this.viewItems)e.enabled=!0}onViewChange(e,t){const n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=(0,Wi.uZ)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))}resizeView(e,t){if(this.state!==qs.Idle)throw new Error("Cant modify splitview");if(this.state=qs.Busy,e<0||e>=this.viewItems.length)return;const n=(0,mt.w6)(this.viewItems.length).filter((t=>t!==e)),i=[...n.filter((e=>1===this.viewItems[e].priority)),e],o=n.filter((e=>2===this.viewItems[e].priority)),r=this.viewItems[e];t=Math.round(t),t=(0,Wi.uZ)(t,r.minimumSize,Math.min(r.maximumSize,this.size)),r.size=t,this.relayout(i,o),this.state=qs.Idle}distributeViewSizes(){const e=[];let t=0;for(const n of this.viewItems)n.maximumSize-n.minimumSize>0&&(e.push(n),t+=n.size);const n=Math.floor(t/e.length);for(const t of e)t.size=(0,Wi.uZ)(n,t.minimumSize,t.maximumSize);const i=(0,mt.w6)(this.viewItems.length),o=i.filter((e=>1===this.viewItems[e].priority)),r=i.filter((e=>2===this.viewItems[e].priority));this.relayout(o,r)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,n=this.viewItems.length,i){if(this.state!==qs.Idle)throw new Error("Cant modify splitview");this.state=qs.Busy;const o=(0,rn.$)(".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(o):this.viewContainer.insertBefore(o,this.viewContainer.children.item(n));const r=e.onDidChange((e=>this.onViewChange(c,e))),a=(0,oe.OF)((()=>this.viewContainer.removeChild(o))),s=(0,oe.F8)(r,a);let l;l="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const c=0===this.orientation?new $s(o,e,l,s):new Js(o,e,l,s);if(this.viewItems.splice(n,0,c),this.viewItems.length>1){let e={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash};const t=0===this.orientation?new sn.g(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},e),{orientation:1})):new sn.g(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},e),{orientation:0})),i=0===this.orientation?e=>({sash:t,start:e.startY,current:e.currentY,alt:e.altKey}):e=>({sash:t,start:e.startX,current:e.currentX,alt:e.altKey}),o=W.ju.map(t.onDidStart,i)(this.onSashStart,this),r=W.ju.map(t.onDidChange,i)(this.onSashChange,this),a=W.ju.map(t.onDidEnd,(()=>this.sashItems.findIndex((e=>e.sash===t)))),s=a(this.onSashEnd,this),l=t.onDidReset((()=>{const e=this.sashItems.findIndex((e=>e.sash===t)),n=(0,mt.w6)(e,-1),i=(0,mt.w6)(e+1,this.viewItems.length),o=this.findFirstSnapIndex(n),r=this.findFirstSnapIndex(i);("number"!=typeof o||this.viewItems[o].visible)&&("number"!=typeof r||this.viewItems[r].visible)&&this._onDidSashReset.fire(e)})),c=(0,oe.F8)(o,r,s,l,t),d={sash:t,disposable:c};this.sashItems.splice(n-1,0,d)}let d;o.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(d=[t.index]),i||this.relayout([n],d),this.state=qs.Idle,i||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){const n=this.viewItems.reduce(((e,t)=>e+t.size),0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,n=this.viewItems.map((e=>e.size)),i,o,r=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY,s,l){if(e<0||e>=this.viewItems.length)return 0;const c=(0,mt.w6)(e,-1),d=(0,mt.w6)(e+1,this.viewItems.length);if(o)for(const e of o)(0,mt.zI)(c,e),(0,mt.zI)(d,e);if(i)for(const e of i)(0,mt.al)(c,e),(0,mt.al)(d,e);const u=c.map((e=>this.viewItems[e])),h=c.map((e=>n[e])),p=d.map((e=>this.viewItems[e])),f=d.map((e=>n[e])),g=c.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-n[t])),0),m=c.reduce(((e,t)=>e+(this.viewItems[t].maximumSize-n[t])),0),v=0===d.length?Number.POSITIVE_INFINITY:d.reduce(((e,t)=>e+(n[t]-this.viewItems[t].minimumSize)),0),b=0===d.length?Number.NEGATIVE_INFINITY:d.reduce(((e,t)=>e+(n[t]-this.viewItems[t].maximumSize)),0),_=Math.max(g,b,r),y=Math.min(v,m,a);let A=!1;if(s){const e=this.viewItems[s.index],n=t>=s.limitDelta;A=n!==e.visible,e.setVisible(n,s.size)}if(!A&&l){const e=this.viewItems[l.index],n=t<l.limitDelta;A=n!==e.visible,e.setVisible(n,l.size)}if(A)return this.resize(e,t,n,i,o,r,a);for(let e=0,n=t=(0,Wi.uZ)(t,_,y);e<u.length;e++){const t=u[e],i=(0,Wi.uZ)(h[e]+n,t.minimumSize,t.maximumSize);n-=i-h[e],t.size=i}for(let e=0,n=t;e<p.length;e++){const t=p[e],i=(0,Wi.uZ)(f[e]-n,t.minimumSize,t.maximumSize);n+=i-f[e],t.size=i}return t}distributeEmptySpace(e){const t=this.viewItems.reduce(((e,t)=>e+t.size),0);let n=this.size-t;const i=(0,mt.w6)(this.viewItems.length-1,-1),o=i.filter((e=>1===this.viewItems[e].priority)),r=i.filter((e=>2===this.viewItems[e].priority));for(const e of r)(0,mt.zI)(i,e);for(const e of o)(0,mt.al)(i,e);"number"==typeof e&&(0,mt.al)(i,e);for(let e=0;0!==n&&e<i.length;e++){const t=this.viewItems[i[e]],o=(0,Wi.uZ)(t.size+n,t.minimumSize,t.maximumSize);n-=o-t.size,t.size=o}}layoutViews(){this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach((e=>e.sash.layout())),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let e=!1;const t=this.viewItems.map((t=>e=t.size-t.minimumSize>0||e));e=!1;const n=this.viewItems.map((t=>e=t.maximumSize-t.size>0||e)),i=[...this.viewItems].reverse();e=!1;const o=i.map((t=>e=t.size-t.minimumSize>0||e)).reverse();e=!1;const r=i.map((t=>e=t.maximumSize-t.size>0||e)).reverse();let a=0;for(let e=0;e<this.sashItems.length;e++){const{sash:i}=this.sashItems[e];a+=this.viewItems[e].size;const s=!(t[e]&&r[e+1]),l=!(n[e]&&o[e+1]);if(s&&l){const n=(0,mt.w6)(e,-1),r=(0,mt.w6)(e+1,this.viewItems.length),s=this.findFirstSnapIndex(n),l=this.findFirstSnapIndex(r),c="number"==typeof s&&!this.viewItems[s].visible,d="number"==typeof l&&!this.viewItems[l].visible;c&&o[e]&&(a>0||this.startSnappingEnabled)?i.state=1:d&&t[e]&&(a<this.contentSize||this.endSnappingEnabled)?i.state=2:i.state=0}else i.state=s&&!l?1:!s&&l?2:3}}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}dispose(){super.dispose(),(0,oe.B9)(this.viewItems),this.viewItems=[],this.sashItems.forEach((e=>e.disposable.dispose())),this.sashItems=[]}}var el=n(5735);Z()(el.Z,{insert:"head",singleton:!1}),el.Z.locals;class tl{constructor(e,t,n){this.columns=e,this.getColumnSize=n,this.templateId=tl.TemplateId,this.renderedTemplates=new Set;const i=new Map(t.map((e=>[e.templateId,e])));this.renderers=[];for(const t of e){const e=i.get(t.templateId);if(!e)throw new Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){const t=(0,rn.R3)(e,(0,rn.$)(".monaco-table-tr")),n=[],i=[];for(let e=0;e<this.columns.length;e++){const o=this.renderers[e],r=(0,rn.R3)(t,(0,rn.$)(".monaco-table-td",{"data-col-index":e}));r.style.width=`${this.getColumnSize(e)}px`,n.push(r),i.push(o.renderTemplate(r))}const o={container:e,cellContainers:n,cellTemplateData:i};return this.renderedTemplates.add(o),o}renderElement(e,t,n,i){for(let o=0;o<this.columns.length;o++){const r=this.columns[o].project(e);this.renderers[o].renderElement(r,t,n.cellTemplateData[o],i)}}disposeElement(e,t,n,i){for(let o=0;o<this.columns.length;o++){const r=this.renderers[o];if(r.disposeElement){const a=this.columns[o].project(e);r.disposeElement(a,t,n.cellTemplateData[o],i)}}}disposeTemplate(e){for(let t=0;t<this.columns.length;t++)this.renderers[t].disposeTemplate(e.cellTemplateData[t]);(0,rn.PO)(e.container),this.renderedTemplates.delete(e)}layoutColumn(e,t){for(const{cellContainers:n}of this.renderedTemplates)n[e].style.width=`${t}px`}}tl.TemplateId="row";class nl{constructor(e,t){this.column=e,this.index=t,this._onDidLayout=new W.Q5,this.onDidLayout=this._onDidLayout.event,this.element=(0,rn.$)(".monaco-table-th",{"data-col-index":t,title:e.tooltip},e.label)}get minimumSize(){var e;return null!==(e=this.column.minimumWidth)&&void 0!==e?e:120}get maximumSize(){var e;return null!==(e=this.column.maximumWidth)&&void 0!==e?e:Number.POSITIVE_INFINITY}get onDidChange(){var e;return null!==(e=this.column.onDidChangeWidthConstraints)&&void 0!==e?e:W.ju.None}layout(e){this._onDidLayout.fire([this.index,e])}}class il{constructor(e,t,n,i,o,r){this.virtualDelegate=n,this.domId="table_id_"+ ++il.InstanceCount,this.disposables=new oe.SL,this.cachedWidth=0,this.cachedHeight=0,this.domNode=(0,rn.R3)(t,(0,rn.$)(`.monaco-table.${this.domId}`));const a=i.map(((e,t)=>new nl(e,t))),s={size:a.reduce(((e,t)=>e+t.column.weight),0),views:a.map((e=>({size:e.column.weight,view:e})))};this.splitview=this.disposables.add(new Xs(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:s})),this.splitview.el.style.height=`${n.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${n.headerRowHeight}px`;const l=new tl(i,o,(e=>this.splitview.getViewSize(e)));var c;this.list=this.disposables.add(new Ws.aV(e,this.domNode,(c=n,{getHeight:e=>c.getHeight(e),getTemplateId:()=>tl.TemplateId}),[l],r)),W.ju.any(...a.map((e=>e.onDidLayout)))((([e,t])=>l.layoutColumn(e,t)),null,this.disposables),this.splitview.onDidSashReset((e=>{const t=i.reduce(((e,t)=>e+t.weight),0),n=i[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,n)}),null,this.disposables),this.styleElement=(0,rn.dS)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(e){this.list.updateOptions(e)}splice(e,t,n=[]){this.list.splice(e,t,n)}getHTMLElement(){return this.domNode}style(e){const t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\ttop: ${this.virtualDelegate.headerRowHeight+1}px;\n\t\t\theight: calc(100% - ${this.virtualDelegate.headerRowHeight}px);\n\t\t}`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}il.InstanceCount=0;var ol,rl=n(493),al=n(2658),sl=n(9291);!function(e){e[e.Unknown=0]="Unknown",e[e.Twistie=1]="Twistie",e[e.Element=2]="Element"}(ol||(ol={}));class ll extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class cl{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}var dl=n(4087);function ul(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function hl(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function pl(e){return"boolean"==typeof e.collapsible}class fl{constructor(e,t,n,i={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new W.E7,this._onDidChangeCollapseState=new W.Q5,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new W.Q5,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new W.Q5,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new ge.vp(ge.ne),this.collapseByDefault=void 0!==i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,n=dl.$.empty(),i={}){if(0===e.length)throw new ll(this.user,"Invalid tree location");i.diffIdentityProvider?this.spliceSmart(i.diffIdentityProvider,e,t,n,i):this.spliceSimple(e,t,n,i)}spliceSmart(e,t,n,i,o,r){var a;void 0===i&&(i=dl.$.empty()),void 0===r&&(r=null!==(a=o.diffDepth)&&void 0!==a?a:0);const{parentNode:s}=this.getParentNodeWithListIndex(t);if(!s.lastDiffIds)return this.spliceSimple(t,n,i,o);const l=[...i],c=t[t.length-1],d=new Ve({getElements:()=>s.lastDiffIds},{getElements:()=>[...s.children.slice(0,c),...l,...s.children.slice(c+n)].map((t=>e.getId(t.element).toString()))}).ComputeDiff(!1);if(d.quitEarly)return s.lastDiffIds=void 0,this.spliceSimple(t,n,l,o);const u=t.slice(0,-1),h=(t,n,i)=>{if(r>0)for(let a=0;a<i;a++)t--,n--,this.spliceSmart(e,[...u,t,0],Number.MAX_SAFE_INTEGER,l[n].children,o,r-1)};let p=Math.min(s.children.length,c+n),f=l.length;for(const e of d.changes.sort(((e,t)=>t.originalStart-e.originalStart)))h(p,f,p-(e.originalStart+e.originalLength)),p=e.originalStart,f=e.modifiedStart-c,this.spliceSimple([...u,p],e.originalLength,dl.$.slice(l,f,f+e.modifiedLength),o);h(p,f,p)}spliceSimple(e,t,n=dl.$.empty(),{onDidCreateNode:i,onDidDeleteNode:o,diffIdentityProvider:r}){const{parentNode:a,listIndex:s,revealed:l,visible:c}=this.getParentNodeWithListIndex(e),d=[],u=dl.$.map(n,(e=>this.createTreeNode(e,a,a.visible?1:0,l,d,i))),h=e[e.length-1],p=a.children.length>0;let f=0;for(let e=h;e>=0&&e<a.children.length;e--){const t=a.children[e];if(t.visible){f=t.visibleChildIndex;break}}const g=[];let m=0,v=0;for(const e of u)g.push(e),v+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=f+m++);const b=(0,mt.db)(a.children,h,t,g);r?a.lastDiffIds?(0,mt.db)(a.lastDiffIds,h,t,g.map((e=>r.getId(e.element).toString()))):a.lastDiffIds=a.children.map((e=>r.getId(e.element).toString())):a.lastDiffIds=void 0;let _=0;for(const e of b)e.visible&&_++;if(0!==_)for(let e=h+g.length;e<a.children.length;e++){const t=a.children[e];t.visible&&(t.visibleChildIndex-=_)}if(a.visibleChildrenCount+=m-_,l&&c){const e=b.reduce(((e,t)=>e+(t.visible?t.renderNodeCount:0)),0);this._updateAncestorsRenderNodeCount(a,v-e),this.list.splice(s,e,d)}if(b.length>0&&o){const e=t=>{o(t),t.children.forEach(e)};b.forEach(e)}this._onDidSplice.fire({insertedNodes:g,deletedNodes:b});const y=a.children.length>0;p!==y&&this.setCollapsible(e.slice(0,-1),y);let A=a;for(;A;){if(2===A.visibility){this.refilterDelayer.trigger((()=>this.refilter()));break}A=A.parent}}rerender(e){if(0===e.length)throw new ll(this.user,"Invalid tree location");const{node:t,listIndex:n,revealed:i}=this.getTreeNodeWithListIndex(e);t.visible&&i&&this.list.splice(n,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:n,revealed:i}=this.getTreeNodeWithListIndex(e);return n&&i?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const n=this.getTreeNode(e);void 0===t&&(t=!n.collapsible);const i={collapsible:t};return this.eventBufferer.bufferEvents((()=>this._setCollapseState(e,i)))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,n){const i=this.getTreeNode(e);void 0===t&&(t=!i.collapsed);const o={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents((()=>this._setCollapseState(e,o)))}_setCollapseState(e,t){const{node:n,listIndex:i,revealed:o}=this.getTreeNodeWithListIndex(e),r=this._setListNodeCollapseState(n,i,o,t);if(n!==this.root&&this.autoExpandSingleChildren&&r&&!pl(t)&&n.collapsible&&!n.collapsed&&!t.recursive){let i=-1;for(let e=0;e<n.children.length;e++)if(n.children[e].visible){if(i>-1){i=-1;break}i=e}i>-1&&this._setCollapseState([...e,i],t)}return r}_setListNodeCollapseState(e,t,n,i){const o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;const r=e.renderNodeCount,a=this.updateNodeAfterCollapseChange(e),s=r-(-1===t?0:1);return this.list.splice(t+1,s,a.slice(1)),o}_setNodeCollapseState(e,t,n){let i;if(e===this.root?i=!1:(pl(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!pl(t)&&t.recursive)for(const n of e.children)i=this._setNodeCollapseState(n,t,!0)||i;return i}expandTo(e){this.eventBufferer.bufferEvents((()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})}))}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t),this.refilterDelayer.cancel()}createTreeNode(e,t,n,i,o,r){const a={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},s=this._filterNode(a,n);a.visibility=s,i&&o.push(a);const l=e.children||dl.$.empty(),c=i&&0!==s&&!a.collapsed,d=dl.$.map(l,(e=>this.createTreeNode(e,a,s,c,o,r)));let u=0,h=1;for(const e of d)a.children.push(e),h+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=u++);return a.collapsible=a.collapsible||a.children.length>0,a.visibleChildrenCount=u,a.visible=2===s?u>0:1===s,a.visible?a.collapsed||(a.renderNodeCount=h):(a.renderNodeCount=0,i&&o.pop()),r&&r(a),a}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const n of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(n,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterFilterChange(e,t,n,i=!0){let o;if(e!==this.root){if(o=this._filterNode(e,t),0===o)return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}const r=n.length;e.renderNodeCount=e===this.root?0:1;let a=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{let t=0;for(const r of e.children)a=this._updateNodeAfterFilterChange(r,o,n,i&&!e.collapsed)||a,r.visible&&(r.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===o?a:1===o,e.visibility=o),e.visible?e.collapsed||(e.renderNodeCount+=n.length-r):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const n=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof n?(e.filterData=void 0,n?1:0):ul(n)?(e.filterData=n.data,hl(n.visibility)):(e.filterData=void 0,hl(n))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;const[n,...i]=e;return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;const[n,...i]=e;if(n<0||n>t.children.length)throw new ll(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:n,revealed:i,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new ll(this.user,"Invalid tree location");const a=t.children[r];return{node:a,listIndex:n,revealed:i,visible:o&&a.visible}}getParentNodeWithListIndex(e,t=this.root,n=0,i=!0,o=!0){const[r,...a]=e;if(r<0||r>t.children.length)throw new ll(this.user,"Invalid tree location");for(let e=0;e<r;e++)n+=t.children[e].renderNodeCount;return i=i&&!t.collapsed,o=o&&t.visible,0===a.length?{parentNode:t,listIndex:n,revealed:i,visible:o}:this.getParentNodeWithListIndex(a,t.children[r],n+1,i,o)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let n=e;for(;n.parent;)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()}getParentNodeLocation(e){return 0===e.length?void 0:1===e.length?[]:(0,mt.JH)(e)[0]}getFirstElementChild(e){const t=this.getTreeNode(e);if(0!==t.children.length)return t.children[0].element}}var gl,ml=n(7551),vl=n(160),bl=n(1520);Z()(bl.Z,{insert:"head",singleton:!1}),bl.Z.locals;class _l extends rl.kX{constructor(e){super(e.elements.map((e=>e.element))),this.data=e}}function yl(e){return e instanceof rl.kX?new _l(e):e}class Al{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=oe.JT.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((e=>e.element)),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(yl(e),t)}onDragOver(e,t,n,i,o=!0){const r=this.dnd.onDragOver(yl(e),t&&t.element,n,i),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(a&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=(0,ge.Vg)((()=>{const e=this.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),this.autoExpandNode=void 0}),500)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback)return o?r:{accept:"boolean"==typeof r?r:r.accept,effect:"boolean"==typeof r?void 0:r.effect,feedback:[n]};if(1===r.bubble){const n=this.modelProvider(),o=n.getNodeLocation(t),r=n.getParentNodeLocation(o),a=n.getNode(r),s=r&&n.getListIndex(r);return this.onDragOver(e,a,s,i,!1)}const s=this.modelProvider(),l=s.getNodeLocation(t),c=s.getListIndex(l),d=s.getListRenderCount(l);return Object.assign(Object.assign({},r),{feedback:(0,mt.w6)(c,c+d)})}drop(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(yl(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}class wl{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(gl||(gl={}));class Cl{constructor(e,t=[]){this._elements=t,this.onDidChange=W.ju.forEach(e,(e=>this._elements=e))}get elements(){return this._elements}}class xl{constructor(e,t,n,i,o={}){this.renderer=e,this.modelProvider=t,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=xl.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new ml.r,this.activeIndentNodes=new Set,this.indentGuidesDisposable=oe.JT.None,this.disposables=new oe.SL,this.templateId=e.templateId,this.updateOptions(o),W.ju.map(n,(e=>e.node))(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent&&(this.indent=(0,Wi.uZ)(e.indent,0,40)),void 0!==e.renderIndentGuides){const t=e.renderIndentGuides!==gl.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const e=new oe.SL;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=(0,rn.R3)(e,(0,rn.$)(".monaco-tl-row")),n=(0,rn.R3)(t,(0,rn.$)(".monaco-tl-indent")),i=(0,rn.R3)(t,(0,rn.$)(".monaco-tl-twistie")),o=(0,rn.R3)(t,(0,rn.$)(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:n,twistie:i,indentGuidesDisposable:oe.JT.None,templateData:r}}renderElement(e,t,n,i){"number"==typeof i&&(this.renderedNodes.set(e,{templateData:n,height:i}),this.renderedElements.set(e.element,e));const o=xl.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.paddingLeft=`${o}px`,n.indent.style.width=o+this.indent-16+"px",this.renderTwistie(e,n),"number"==typeof i&&this.renderIndentGuides(e,n),this.renderer.renderElement(e,t,n.templateData,i)}disposeElement(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"==typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...yn.lA.treeItemExpanded.classNamesArray);let n=!1;this.renderer.renderTwistie&&(n=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(n||t.twistie.classList.add(...yn.lA.treeItemExpanded.classNamesArray),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if((0,rn.PO)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const n=new oe.SL,i=this.modelProvider();let o=e;for(;;){const e=i.getNodeLocation(o),r=i.getParentNodeLocation(e);if(!r)break;const a=i.getNode(r),s=(0,rn.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(a)&&s.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(s):t.indent.insertBefore(s,t.indent.firstElementChild),this.renderedIndentGuides.add(a,s),n.add((0,oe.OF)((()=>this.renderedIndentGuides.delete(a,s)))),o=a}t.indentGuidesDisposable=n}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,n=this.modelProvider();e.forEach((e=>{const i=n.getNodeLocation(e);try{const o=n.getParentNodeLocation(i);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):o&&t.add(n.getNode(o))}catch(e){}})),this.activeIndentNodes.forEach((e=>{t.has(e)||this.renderedIndentGuides.forEach(e,(e=>e.classList.remove("active")))})),t.forEach((e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,(e=>e.classList.add("active")))})),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,oe.B9)(this.disposables)}}xl.DefaultIndent=8;class Sl{constructor(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new oe.SL,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){const n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;let i;if(i="boolean"==typeof n?n?1:0:ul(n)?hl(n.visibility):n,0===i)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:vl.CL.Default,visibility:!0};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=Array.isArray(n)?n:[n];for(const e of i){const t=e&&e.toString();if(void 0===t)return{data:vl.CL.Default,visibility:!0};const n=(0,vl.EW)(this._pattern,this._lowercasePattern,0,t,t.toLowerCase(),0,!0);if(n)return this._matchCount++,1===i.length?{data:n,visibility:!0}:{data:{label:t,score:n},visibility:!0}}return this.tree.options.filterOnType?2:{data:vl.CL.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,oe.B9)(this.disposables)}}class El{constructor(e,t,n,i,o){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=o,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new W.Q5,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new W.Q5,this.enabledDisposables=new oe.SL,this.disposables=new oe.SL,this.domNode=(0,rn.$)(`.monaco-list-type-filter.${this.positionClassName}`),this.domNode.draggable=!0,this.disposables.add((0,rn.nm)(this.domNode,"dragstart",(()=>this.onDragStart()))),this.messageDomNode=(0,rn.R3)(n.getHTMLElement(),(0,rn.$)(".monaco-list-type-filter-message")),this.labelDomNode=(0,rn.R3)(this.domNode,(0,rn.$)("span.label"));const r=(0,rn.R3)(this.domNode,(0,rn.$)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=(0,rn.R3)(r,(0,rn.$)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),this.disposables.add((0,rn.nm)(this.filterOnTypeDomNode,"input",(()=>this.onDidChangeFilterOnType()))),this.clearDomNode=(0,rn.R3)(r,(0,rn.$)("button.clear"+yn.lA.treeFilterClear.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=(0,on.N)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType,this.updateFilterOnTypeTitleAndIcon()),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;const e=this.enabledDisposables.add(new sl.Y(this.view.getHTMLElement(),"keydown")),t=W.ju.chain(e.event).filter((e=>!(0,Ws.cK)(e.target)||e.target===this.filterOnTypeDomNode)).filter((e=>"Dead"!==e.key&&!/^Media/.test(e.key))).map((e=>new Ki.y(e))).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter((()=>this.automaticKeyboardNavigation||this.triggered)).filter((e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(this.pattern.length>0||this.triggered)&&(9===e.keyCode||1===e.keyCode)&&!e.altKey&&!e.ctrlKey&&!e.metaKey||1===e.keyCode&&(ve.dz?e.altKey&&!e.metaKey:e.ctrlKey)&&!e.shiftKey)).forEach((e=>{e.stopPropagation(),e.preventDefault()})).event,n=this.enabledDisposables.add(new sl.Y(this.clearDomNode,"click"));W.ju.chain(W.ju.any(t,n.event)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(ve.dz?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(e=>!vl.CL.isDefault(e.filterData)));const n=this.tree.getFocus();if(n.length>0){const e=n[0];null===this.tree.getRelativeTop(e)&&this.tree.reveal(e,.5)}this.render(),e||(this.triggered=!1)}onDragStart(){const e=this.view.getHTMLElement(),{left:t}=(0,rn.i)(e),n=e.clientWidth,i=n/2,o=this.domNode.clientWidth,r=new oe.SL;let a=this.positionClassName;const s=()=>{switch(a){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=n-o-6+"px"}},l=()=>{this.positionClassName=a,this.domNode.className=`monaco-list-type-filter ${this.positionClassName}`,this.domNode.style.top="",this.domNode.style.left="",(0,oe.B9)(r)};s(),this.domNode.classList.remove(a),this.domNode.classList.add("dragging"),r.add((0,oe.OF)((()=>this.domNode.classList.remove("dragging")))),r.add((0,rn.nm)(document,"dragover",(e=>(e=>{e.preventDefault();const n=e.clientX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),a=n<i?"nw":"ne",s()})(e)))),r.add((0,rn.nm)(this.domNode,"dragend",(()=>l()))),al.P$.CurrentDragAndDropData=new al.TN("vscode-ui"),r.add((0,oe.OF)((()=>al.P$.CurrentDragAndDropData=void 0)))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(this.filterOnTypeDomNode.classList.remove(...yn.lA.treeFilterOnTypeOff.classNamesArray),this.filterOnTypeDomNode.classList.add(...yn.lA.treeFilterOnTypeOn.classNamesArray),this.filterOnTypeDomNode.title=(0,on.N)("disable filter on type","Disable Filter on Type")):(this.filterOnTypeDomNode.classList.remove(...yn.lA.treeFilterOnTypeOn.classNamesArray),this.filterOnTypeDomNode.classList.add(...yn.lA.treeFilterOnTypeOff.classNamesArray),this.filterOnTypeDomNode.title=(0,on.N)("enable filter on type","Enable Filter on Type"))}render(){const e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=(0,on.N)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),this.domNode.classList.toggle("no-matches",e),this.domNode.title=(0,on.N)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"โ€ฆ"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||this.filter.totalCount>0&&this.filter.matchCount<=1||!vl.CL.isDefault(e.filterData)}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),(0,oe.B9)(this.disposables)}}function kl(e){let t=ol.Unknown;return(0,rn.uU)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=ol.Twistie:(0,rn.uU)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(t=ol.Element),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function Ml(e,t){t(e),e.children.forEach((e=>Ml(e,t)))}class Dl{constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new W.Q5,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){!(null==t?void 0:t.__forceEvent)&&(0,mt.fS)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,n){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:n})}}get(){return this.elements||(this.elements=this.nodes.map((e=>e.element))),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const e=this.createNodeSet(),n=t=>e.delete(t);return t.forEach((e=>Ml(e,n))),void this.set([...e.values()])}const n=new Set,i=e=>n.add(this.identityProvider.getId(e.element).toString());t.forEach((e=>Ml(e,i)));const o=new Map,r=e=>o.set(this.identityProvider.getId(e.element).toString(),e);e.forEach((e=>Ml(e,r)));const a=[];for(const e of this.nodes){const t=this.identityProvider.getId(e.element).toString();if(n.has(t)){const e=o.get(t);e&&a.push(e)}else a.push(e)}if(this.nodes.length>0&&0===a.length){const e=this.getFirstViewElementWithTrait();e&&a.push(e)}this._set(a,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class Nl extends Ws.sx{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if((0,Ws.cK)(e.browserEvent.target)||(0,Ws.hD)(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const n=e.browserEvent.target,i=n.classList.contains("monaco-tl-twistie")||n.classList.contains("monaco-icon-label")&&n.classList.contains("folder-icon")&&e.browserEvent.offsetX<16;let o=!1;if(o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick,o&&!i&&2!==e.browserEvent.detail)return super.onViewPointer(e);if(!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible){const n=this.tree.model,r=n.getNodeLocation(t),a=e.browserEvent.altKey;if(this.tree.setFocus([r]),n.setCollapsed(r,void 0,a),o&&i)return}super.onViewPointer(e)}onDoubleClick(e){!e.browserEvent.target.classList.contains("monaco-tl-twistie")&&this.tree.expandOnDoubleClick&&super.onDoubleClick(e)}}class Il extends Ws.aV{constructor(e,t,n,i,o,r,a,s){super(e,t,n,i,s),this.focusTrait=o,this.selectionTrait=r,this.anchorTrait=a}createMouseController(e){return new Nl(this,e.tree)}splice(e,t,n=[]){if(super.splice(e,t,n),0===n.length)return;const i=[],o=[];let r;n.forEach(((t,n)=>{this.focusTrait.has(t)&&i.push(e+n),this.selectionTrait.has(t)&&o.push(e+n),this.anchorTrait.has(t)&&(r=e+n)})),i.length>0&&super.setFocus((0,mt.EB)([...super.getFocus(),...i])),o.length>0&&super.setSelection((0,mt.EB)([...super.getSelection(),...o])),"number"==typeof r&&super.setAnchor(r)}setFocus(e,t,n=!1){super.setFocus(e,t),n||this.focusTrait.set(e.map((e=>this.element(e))),t)}setSelection(e,t,n=!1){super.setSelection(e,t),n||this.selectionTrait.set(e.map((e=>this.element(e))),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class Tl{constructor(e,t,n,i,o={}){this._user=e,this._options=o,this.eventBufferer=new W.E7,this.disposables=new oe.SL,this._onWillRefilter=new W.Q5,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new W.Q5;const r=new wl(n),a=new W.ZD,s=new W.ZD,l=new Cl(s.event);this.renderers=i.map((e=>new xl(e,(()=>this.model),a.event,l,o)));for(let e of this.renderers)this.disposables.add(e);let c;o.keyboardNavigationLabelProvider&&(c=new Sl(this,o.keyboardNavigationLabelProvider,o.filter),o=Object.assign(Object.assign({},o),{filter:c}),this.disposables.add(c)),this.focus=new Dl((()=>this.view.getFocusedElements()[0]),o.identityProvider),this.selection=new Dl((()=>this.view.getSelectedElements()[0]),o.identityProvider),this.anchor=new Dl((()=>this.view.getAnchorElement()),o.identityProvider),this.view=new Il(e,t,r,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},function(e,t){return t&&Object.assign(Object.assign({},t),{identityProvider:t.identityProvider&&{getId:e=>t.identityProvider.getId(e.element)},dnd:t.dnd&&new Al(e,t.dnd),multipleSelectionController:t.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>t.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element})),isSelectionRangeChangeEvent:e=>t.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},accessibilityProvider:t.accessibilityProvider&&Object.assign(Object.assign({},t.accessibilityProvider),{getSetSize(t){const n=e(),i=n.getNodeLocation(t),o=n.getParentNodeLocation(i);return n.getNode(o).visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:t.accessibilityProvider&&t.accessibilityProvider.isChecked?e=>t.accessibilityProvider.isChecked(e.element):void 0,getRole:t.accessibilityProvider&&t.accessibilityProvider.getRole?e=>t.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>t.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>t.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:t.accessibilityProvider&&t.accessibilityProvider.getWidgetRole?()=>t.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:t.accessibilityProvider&&t.accessibilityProvider.getAriaLevel?e=>t.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:t.accessibilityProvider.getActiveDescendantId&&(e=>t.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:e=>t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}),enableKeyboardNavigation:t.simpleKeyboardNavigation})}((()=>this.model),o)),{tree:this})),this.model=this.createModel(e,this.view,o),a.input=this.model.onDidChangeCollapseState;const d=W.ju.forEach(this.model.onDidSplice,(e=>{this.eventBufferer.bufferEvents((()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)}))}));if(d((()=>null),null,this.disposables),s.input=W.ju.chain(W.ju.any(d,this.focus.onDidChange,this.selection.onDidChange)).debounce((()=>null),0).map((()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]})).event,!1!==o.keyboardSupport){const e=W.ju.chain(this.view.onKeyDown).filter((e=>!(0,Ws.cK)(e.target))).map((e=>new Ki.y(e)));e.filter((e=>15===e.keyCode)).on(this.onLeftArrow,this,this.disposables),e.filter((e=>17===e.keyCode)).on(this.onRightArrow,this,this.disposables),e.filter((e=>10===e.keyCode)).on(this.onSpace,this,this.disposables)}if(o.keyboardNavigationLabelProvider){const e=o.keyboardNavigationDelegate||Ws.WK;this.typeFilterController=new El(this,this.model,this.view,c,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=(0,rn.dS)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===gl.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return W.ju.map(this.view.onMouseDblClick,kl)}get onPointer(){return W.ju.map(this.view.onPointer,kl)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return W.ju.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions(Object.assign(Object.assign({},this._options),{enableKeyboardNavigation:this._options.simpleKeyboardNavigation})),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===gl.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){const t=`.${this.view.domId}`,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=n.join("\n"),this.view.style(e)}getParentElement(e){const t=this.model.getParentNodeLocation(e);return this.model.getNode(t).element}getFirstElementChild(e){return this.model.getFirstElementChild(e)}getNode(e){return this.model.getNode(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){const n=e.map((e=>this.model.getNode(e)));this.selection.set(n,t);const i=e.map((e=>this.model.getListIndex(e))).filter((e=>e>-1));this.view.setSelection(i,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const n=e.map((e=>this.model.getNode(e)));this.focus.set(n,t);const i=e.map((e=>this.model.getListIndex(e))).filter((e=>e>-1));this.view.setFocus(i,t,!0)}focusNext(e=1,t=!1,n,i=this.focusNavigationFilter){this.view.focusNext(e,t,n,i)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)}getRelativeTop(e){const t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){const e=this.model.getParentNodeLocation(i);if(!e)return;const t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some((e=>e.visible)))return;const[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}dispose(){(0,oe.B9)(this.disposables),this.view.dispose()}}class Ll{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new fl(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:(e,t)=>n.sorter.compare(e.element,t.element)}),this.identityProvider=n.identityProvider}setChildren(e,t=dl.$.empty(),n={}){const i=this.getElementLocation(e);this._setChildren(i,this.preserveCollapseState(t),n)}_setChildren(e,t=dl.$.empty(),n){const i=new Set,o=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},n),{onDidCreateNode:e=>{var t;if(null===e.element)return;const r=e;if(i.add(r.element),this.nodes.set(r.element,r),this.identityProvider){const e=this.identityProvider.getId(r.element).toString();o.add(e),this.nodesByIdentity.set(e,r)}null===(t=n.onDidCreateNode)||void 0===t||t.call(n,r)},onDidDeleteNode:e=>{var t;if(null===e.element)return;const r=e;if(i.has(r.element)||this.nodes.delete(r.element),this.identityProvider){const e=this.identityProvider.getId(r.element).toString();o.has(e)||this.nodesByIdentity.delete(e)}null===(t=n.onDidDeleteNode)||void 0===t||t.call(n,r)}}))}preserveCollapseState(e=dl.$.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),dl.$.map(e,(e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){const n=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(n)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});const n="boolean"==typeof e.collapsible?e.collapsible:t.collapsible,i=void 0!==e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:n,collapsed:i,children:this.preserveCollapseState(e.children)})}))}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}getFirstElementChild(e=null){const t=this.getElementLocation(e);return this.model.getFirstElementChild(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getElementLocation(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new ll(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new ll(this.user,"Invalid getParentNodeLocation call");const t=this.nodes.get(e);if(!t)throw new ll(this.user,`Tree element not found: ${e}`);const n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element}getElementLocation(e){if(null===e)return[];const t=this.nodes.get(e);if(!t)throw new ll(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function Bl(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:dl.$.map(dl.$.from(e.children),Bl),collapsible:e.collapsible,collapsed:e.collapsed}}function Ol(e){const t=[e.element],n=e.incompressible||!1;let i,o;for(;[o,i]=dl.$.consume(dl.$.from(e.children),2),1===o.length&&!o[0].incompressible;)e=o[0],t.push(e.element);return{element:{elements:t,incompressible:n},children:dl.$.map(dl.$.concat(o,i),Ol),collapsible:e.collapsible,collapsed:e.collapsed}}function Pl(e,t=0){let n;return n=t<e.element.elements.length-1?[Pl(e,t+1)]:dl.$.map(dl.$.from(e.children),(e=>Pl(e,0))),0===t&&e.element.incompressible?{element:e.element.elements[t],children:n,incompressible:!0,collapsible:e.collapsible,collapsed:e.collapsed}:{element:e.element.elements[t],children:n,collapsible:e.collapsible,collapsed:e.collapsed}}function Fl(e){return Pl(e,0)}function Rl(e,t,n){return e.element===t?Object.assign(Object.assign({},e),{children:n}):Object.assign(Object.assign({},e),{children:dl.$.map(dl.$.from(e.children),(e=>Rl(e,t,n)))})}class jl{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new Ll(e,t,n),this.enabled=void 0===n.compressionEnabled||n.compressionEnabled,this.identityProvider=n.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=dl.$.empty(),n){const i=n.diffIdentityProvider&&(o=n.diffIdentityProvider,{getId:e=>e.elements.map((e=>o.getId(e).toString())).join("\0")});var o;if(null===e){const e=dl.$.map(t,this.enabled?Ol:Bl);return void this._setChildren(null,e,{diffIdentityProvider:i,diffDepth:1/0})}const r=this.nodes.get(e);if(!r)throw new Error("Unknown compressed tree node");const a=this.model.getNode(r),s=this.model.getParentNodeLocation(r),l=this.model.getNode(s),c=Rl(Fl(a),e,t),d=(this.enabled?Ol:Bl)(c),u=l.children.map((e=>e===a?d:e));this._setChildren(l.element,u,{diffIdentityProvider:i,diffDepth:a.depth-l.depth})}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const t=this.model.getNode().children,n=dl.$.map(t,Fl),i=dl.$.map(n,e?Ol:Bl);this._setChildren(null,i,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,n){const i=new Set;this.model.setChildren(e,t,Object.assign(Object.assign({},n),{onDidCreateNode:e=>{for(const t of e.element.elements)i.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(const t of e.element.elements)i.has(t)||this.nodes.delete(t)}}))}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]}getFirstElementChild(e){const t=this.getCompressedNode(e);return this.model.getFirstElementChild(t)}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;const t=this.nodes.get(e);if(!t)throw new ll(this.user,`Tree element not found: ${e}`);return t}}const zl=e=>e[e.length-1];class Vl{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map((e=>new Vl(this.unwrapper,e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Wl{constructor(e,t,n={}){this.rootRef=null,this.elementMapper=n.elementMapper||zl;const i=e=>this.elementMapper(e.elements);this.nodeMapper=new cl((e=>new Vl(i,e))),this.model=new jl(e,function(e,t){return{splice(n,i,o){t.splice(n,i,o.map((t=>e.map(t))))},updateElementHeight(e,n){t.updateElementHeight(e,n)}}}(this.nodeMapper,t),function(e,t){return Object.assign(Object.assign({},t),{identityProvider:t.identityProvider&&{getId:n=>t.identityProvider.getId(e(n))},sorter:t.sorter&&{compare:(e,n)=>t.sorter.compare(e.elements[0],n.elements[0])},filter:t.filter&&{filter:(n,i)=>t.filter.filter(e(n),i)}})}(i,n))}get onDidSplice(){return W.ju.map(this.model.onDidSplice,(({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map((e=>this.nodeMapper.map(e))),deletedNodes:t.map((e=>this.nodeMapper.map(e)))})))}get onDidChangeCollapseState(){return W.ju.map(this.model.onDidChangeCollapseState,(({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t})))}get onDidChangeRenderNodeCount(){return W.ju.map(this.model.onDidChangeRenderNodeCount,(e=>this.nodeMapper.map(e)))}setChildren(e,t=dl.$.empty(),n={}){this.model.setChildren(e,t,n)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}getFirstElementChild(e){const t=this.model.getFirstElementChild(e);return null==t?t:this.elementMapper(t.elements)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,n){return this.model.setCollapsed(e,t,n)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}class Hl extends Tl{constructor(e,t,n,i,o={}){super(e,t,n,i,o),this.user=e}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=dl.$.empty(),n){this.model.setChildren(e,t,n)}rerender(e){void 0!==e?this.model.rerender(e):this.view.rerender()}hasElement(e){return this.model.has(e)}createModel(e,t,n){return new Ll(e,t,n)}}class Ul{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){const o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,n.data,i))}disposeElement(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}!function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);r>3&&a&&Object.defineProperty(t,n,a)}([ks.H],Ul.prototype,"compressedTreeNodeProvider",null);class Ql extends Hl{constructor(e,t,n,i,o={}){const r=()=>this;super(e,t,n,i.map((e=>new Ul(r,e))),function(e,t){return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(r,o))}setChildren(e,t=dl.$.empty(),n){this.model.setChildren(e,t,n)}createModel(e,t,n){return new Wl(e,t,n)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var Gl=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};function Kl(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function Yl(e,t){return!!t.parent&&(t.parent===e||Yl(e,t.parent))}class $l{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map((e=>new $l(e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class Jl{constructor(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?(t.classList.add(...yn.lA.treeItemLoading.classNamesArray),!0):(t.classList.remove(...yn.lA.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function ql(e){return{browserEvent:e.browserEvent,elements:e.elements.map((e=>e.element))}}function Zl(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class Xl extends rl.kX{constructor(e){super(e.elements.map((e=>e.element))),this.data=e}}function ec(e){return e instanceof rl.kX?new Xl(e):e}class tc{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((e=>e.element)),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(ec(e),t)}onDragOver(e,t,n,i,o=!0){return this.dnd.onDragOver(ec(e),t&&t.element,n,i)}drop(e,t,n,i){this.dnd.drop(ec(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function nc(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new tc(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element})),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var n;return!!(null===(n=e.accessibilityProvider)||void 0===n?void 0:n.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter:(t,n)=>e.filter.filter(t.element,n)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function ic(e,t){t(e),e.children.forEach((e=>ic(e,t)))}class oc{constructor(e,t,n,i,o,r={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new W.Q5,this._onDidChangeNodeSlowState=new W.Q5,this.nodeMapper=new cl((e=>new $l(e))),this.disposables=new oe.SL,this.identityProvider=r.identityProvider,this.autoExpandSingleChildren=void 0!==r.autoExpandSingleChildren&&r.autoExpandSingleChildren,this.sorter=r.sorter,this.collapseByDefault=r.collapseByDefault,this.tree=this.createTree(e,t,n,i,r),this.root=Kl({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return W.ju.map(this.tree.onDidChangeFocus,ql)}get onDidChangeSelection(){return W.ju.map(this.tree.onDidChangeSelection,ql)}get onMouseDblClick(){return W.ju.map(this.tree.onMouseDblClick,Zl)}get onPointer(){return W.ju.map(this.tree.onPointer,Zl)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,n,i,o){const r=new wl(n),a=i.map((e=>new Jl(e,this.nodeMapper,this._onDidChangeNodeSlowState.event))),s=nc(o)||{};return new Hl(e,t,r,a,s)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return Gl(this,void 0,void 0,(function*(){this.refreshPromises.forEach((e=>e.cancel())),this.refreshPromises.clear(),this.root.element=e;const n=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,n),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,n=!1,i,o){return Gl(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new ll(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield W.ju.toPromise(this._onDidRender.event));const r=this.getDataNode(e);if(yield this.refreshAndRenderNode(r,t,i,o),n)try{this.tree.rerender(r)}catch(e){}}))}rerender(e){if(void 0===e||e===this.root.element)return void this.tree.rerender();const t=this.getDataNode(e);this.tree.rerender(t)}getNode(e=this.root.element){const t=this.getDataNode(e),n=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(n)}collapse(e,t=!1){const n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)}expand(e,t=!1){return Gl(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new ll(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield W.ju.toPromise(this._onDidRender.event));const n=this.getDataNode(e);if(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))return!1;if(n.refreshPromise&&(yield this.root.refreshPromise,yield W.ju.toPromise(this._onDidRender.event)),n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))return!1;const i=this.tree.expand(n===this.root?null:n,t);return n.refreshPromise&&(yield this.root.refreshPromise,yield W.ju.toPromise(this._onDidRender.event)),i}))}setSelection(e,t){const n=e.map((e=>this.getDataNode(e)));this.tree.setSelection(n,t)}getSelection(){return this.tree.getSelection().map((e=>e.element))}setFocus(e,t){const n=e.map((e=>this.getDataNode(e)));this.tree.setFocus(n,t)}getFocus(){return this.tree.getFocus().map((e=>e.element))}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getParentElement(e){const t=this.tree.getParentElement(this.getDataNode(e));return t&&t.element}getFirstElementChild(e=this.root.element){const t=this.getDataNode(e),n=this.tree.getFirstElementChild(t===this.root?null:t);return n&&n.element}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new ll(this.user,`Data tree node not found: ${e}`);return t}refreshAndRenderNode(e,t,n,i){return Gl(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,n),this.render(e,n,i)}))}refreshNode(e,t,n){return Gl(this,void 0,void 0,(function*(){let i;return this.subTreeRefreshPromises.forEach(((o,r)=>{!i&&function(e,t){return e===t||Yl(e,t)||Yl(t,e)}(r,e)&&(i=o.then((()=>this.refreshNode(e,t,n))))})),i||this.doRefreshSubTree(e,t,n)}))}doRefreshSubTree(e,t,n){return Gl(this,void 0,void 0,(function*(){let i;e.refreshPromise=new Promise((e=>i=e)),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally((()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)}));try{const o=yield this.doRefreshNode(e,t,n);e.stale=!1,yield ge.jT.settled(o.map((e=>this.doRefreshSubTree(e,t,n))))}finally{i()}}))}doRefreshNode(e,t,n){return Gl(this,void 0,void 0,(function*(){let i;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=this.doGetChildren(e);if((0,be.TW)(t))i=Promise.resolve(t);else{const n=(0,ge.Vs)(800);n.then((()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)}),(e=>null)),i=t.finally((()=>n.cancel()))}}else i=Promise.resolve(dl.$.empty());try{const o=yield i;return this.setChildren(e,o,t,n)}catch(t){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,me.n2)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;const n=this.dataSource.getChildren(e.element);return(0,be.TW)(n)?this.processChildren(n):(t=(0,ge.PG)((()=>Gl(this,void 0,void 0,(function*(){return this.processChildren(yield n)})))),this.refreshPromises.set(e,t),t.finally((()=>{this.refreshPromises.delete(e)})))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(me.dL))}setChildren(e,t,n,i){const o=[...t];if(0===e.children.length&&0===o.length)return[];const r=new Map,a=new Map;for(const t of e.children)if(r.set(t.element,t),this.identityProvider){const e=this.tree.isCollapsed(t);a.set(t.id,{node:t,collapsed:e})}const s=[],l=o.map((t=>{const o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const n=Kl({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(n.collapsedByDefault=!1,s.push(n)),n}const l=this.identityProvider.getId(t).toString(),c=a.get(l);if(c){const e=c.node;return r.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,n?c.collapsed?(e.children.forEach((e=>ic(e,(e=>this.nodes.delete(e.element))))),e.children.splice(0,e.children.length),e.stale=!0):s.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,s.push(e)),e}const d=Kl({element:t,parent:e,id:l,hasChildren:o});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?s.push(d):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(d.collapsedByDefault=!1,s.push(d)),d}));for(const e of r.values())ic(e,(e=>this.nodes.delete(e.element)));for(const e of l)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...l),e!==this.root&&this.autoExpandSingleChildren&&1===l.length&&0===s.length&&(l[0].collapsedByDefault=!1,s.push(l[0])),s}render(e,t,n){const i=e.children.map((e=>this.asTreeElement(e,t))),o=n&&Object.assign(Object.assign({},n),{diffIdentityProvider:n.diffIdentityProvider&&{getId:e=>n.diffIdentityProvider.getId(e.element)}});this.tree.setChildren(e===this.root?null:e,i,o),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let n;return n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?dl.$.map(e.children,(e=>this.asTreeElement(e,t))):[],collapsible:e.hasChildren,collapsed:n}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class rc{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map((e=>e.element)),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map((e=>new rc(e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class ac{constructor(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderCompressedElements(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?(t.classList.add(...yn.lA.treeItemLoading.classNamesArray),!0):(t.classList.remove(...yn.lA.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeCompressedElements(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,oe.B9)(this.disposables)}}class sc extends oc{constructor(e,t,n,i,o,r,a={}){super(e,t,n,o,r,a),this.compressionDelegate=i,this.compressibleNodeMapper=new cl((e=>new rc(e))),this.filter=a.filter}createTree(e,t,n,i,o){const r=new wl(n),a=i.map((e=>new ac(e,this.nodeMapper,(()=>this.compressibleNodeMapper),this._onDidChangeNodeSlowState.event))),s=function(e){const t=e&&nc(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((e=>e.element)))})})}(o)||{};return new Ql(e,t,r,a,s)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const n=e=>this.identityProvider.getId(e).toString(),i=e=>{const t=new Set;for(const i of e){const e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(const i of e.element.elements)t.add(n(i.element))}return t},o=i(this.tree.getSelection()),r=i(this.tree.getFocus());super.render(e,t);const a=this.getSelection();let s=!1;const l=this.getFocus();let c=!1;const d=e=>{const t=e.element;if(t)for(let e=0;e<t.elements.length;e++){const i=n(t.elements[e].element),d=t.elements[t.elements.length-1].element;o.has(i)&&-1===a.indexOf(d)&&(a.push(d),s=!0),r.has(i)&&-1===l.indexOf(d)&&(l.push(d),c=!0)}e.children.forEach(d)};d(this.tree.getCompressedTreeNode(e===this.root?null:e)),s&&this.setSelection(a),c&&this.setFocus(l)}processChildren(e){return this.filter&&(e=dl.$.filter(e,(e=>{const t="boolean"==typeof(n=this.filter.filter(e,1))?n?1:0:ul(n)?hl(n.visibility):hl(n);var n;if(2===t)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===t}))),super.processChildren(e)}}class lc extends Tl{constructor(e,t,n,i,o,r={}){super(e,t,n,i,r),this.user=e,this.dataSource=o,this.identityProvider=r.identityProvider}createModel(e,t,n){return new Ll(e,t,n)}}new vn.uy("isMac",ve.dz,(0,on.N)("isMac","Whether the operating system is macOS")),new vn.uy("isLinux",ve.IJ,(0,on.N)("isLinux","Whether the operating system is Linux")),new vn.uy("isWindows",ve.ED,(0,on.N)("isWindows","Whether the operating system is Windows")),new vn.uy("isWeb",ve.$L,(0,on.N)("isWeb","Whether the platform is a web browser")),new vn.uy("isMacNative",ve.dz&&!ve.$L,(0,on.N)("isMacNative","Whether the operating system is macOS on a non-browser platform")),new vn.uy("isIOS",ve.gn,(0,on.N)("isIOS","Whether the operating system is iOS")),new vn.uy("isDevelopment",!1,!0);const cc="inputFocus";new vn.uy(cc,!1,(0,on.N)("inputFocus","Whether keyboard focus is inside an input box"));var dc=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},uc=function(e,t){return function(n,i){t(n,i,e)}};const hc=(0,pt.yh)("listService");let pc=class{constructor(e){this._themeService=e,this.disposables=new oe.SL,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}setLastFocusedList(e){var t,n;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(n=this._lastFocusedWidget)||void 0===n||n.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new Ws.wD((0,rn.dS)(),"");this.disposables.add((0,Gr.Jl)(e,this._themeService))}if(this.lists.some((t=>t.widget===e)))throw new Error("Cannot register the same widget multiple times");const n={widget:e,extraContextKeys:t};return this.lists.push(n),e.getHTMLElement()===document.activeElement&&this.setLastFocusedList(e),(0,oe.F8)(e.onDidFocus((()=>this.setLastFocusedList(e))),(0,oe.OF)((()=>this.lists.splice(this.lists.indexOf(n),1))),e.onDidDispose((()=>{this.lists=this.lists.filter((e=>e!==n)),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)})))}dispose(){this.disposables.dispose()}};pc=dc([uc(0,_n.XE)],pc);const fc=new vn.uy("listFocus",!0),gc=new vn.uy("listSupportsMultiselect",!0),mc=(vn.Ao.and(fc,vn.Ao.not(cc)),new vn.uy("listHasSelectionOrFocus",!1)),vc=new vn.uy("listDoubleSelection",!1),bc=new vn.uy("listMultiSelection",!1),_c=new vn.uy("listSelectionNavigation",!1),yc=new vn.uy("treeElementCanCollapse",!1),Ac=new vn.uy("treeElementHasParent",!1),wc=new vn.uy("treeElementCanExpand",!1),Cc=new vn.uy("treeElementHasChild",!1),xc="listAutomaticKeyboardNavigation";function Sc(e,t){const n=e.createScoped(t.getHTMLElement());return fc.bindTo(n),n}const Ec="workbench.list.multiSelectModifier",kc="workbench.list.openMode",Mc="workbench.list.horizontalScrolling",Dc="workbench.list.keyboardNavigation",Nc="workbench.list.automaticKeyboardNavigation",Ic="workbench.tree.indent",Tc="workbench.tree.renderIndentGuides",Lc="workbench.list.smoothScrolling",Bc="workbench.list.mouseWheelScrollSensitivity",Oc="workbench.list.fastScrollSensitivity",Pc="workbench.tree.expandMode";function Fc(e){return"alt"===e.getValue(Ec)}class Rc extends oe.JT{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=Fc(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration(Ec)&&(this.useAltAsMultipleSelectionModifier=Fc(this.configurationService))})))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,Ws.Zo)(e)}isSelectionRangeChangeEvent(e){return(0,Ws.wn)(e)}}function jc(e,t,n){var i;const o=new oe.SL;return[Object.assign(Object.assign({},e),{keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>n.mightProducePrintableCharacter(e)},smoothScrolling:Boolean(t.getValue(Lc)),mouseWheelScrollSensitivity:t.getValue(Bc),fastScrollSensitivity:t.getValue(Oc),multipleSelectionController:null!==(i=e.multipleSelectionController)&&void 0!==i?i:o.add(new Rc(t))}),o]}let zc=class extends Ws.aV{constructor(e,t,n,i,o,r,a,s,l,c){const d=void 0!==o.horizontalScrolling?o.horizontalScrolling:Boolean(l.getValue(Mc)),[u,h]=jc(o,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,Gr.o)(s.getColorTheme(),Gr.O2)),u),{horizontalScrolling:d})),this.disposables.add(h),this.contextKeyService=Sc(r,this),this.themeService=s,this.listSupportsMultiSelect=gc.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport),_c.bindTo(this.contextKeyService).set(Boolean(o.selectionNavigation)),this.listHasSelectionOrFocus=mc.bindTo(this.contextKeyService),this.listDoubleSelection=vc.bindTo(this.contextKeyService),this.listMultiSelection=bc.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=Fc(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection((()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)}))}))),this.disposables.add(this.onDidChangeFocus((()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)}))),this.disposables.add(l.onDidChangeConfiguration((e=>{e.affectsConfiguration(Ec)&&(this._useAltAsMultipleSelectionModifier=Fc(l));let t={};if(e.affectsConfiguration(Mc)&&void 0===this.horizontalScrolling){const e=Boolean(l.getValue(Mc));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Lc)){const e=Boolean(l.getValue(Lc));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(Bc)){const e=l.getValue(Bc);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(Oc)){const e=l.getValue(Oc);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new Uc(this,Object.assign({configurationService:l},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,Gr.Jl)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),super.dispose()}};zc=dc([uc(5,vn.i6),uc(6,hc),uc(7,_n.XE),uc(8,uo.Ui),uc(9,_o.d)],zc);let Vc=class extends class{constructor(e,t,n,i,o={}){const r=()=>this.model,a=i.map((e=>new Hs(e,r)));this.list=new Ws.aV(e,t,n,a,function(e,t){return Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new Us(e,t.accessibilityProvider)})}(r,o))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return W.ju.map(this.list.onMouseDblClick,(({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n})))}get onPointer(){return W.ju.map(this.list.onPointer,(({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n})))}get onDidChangeSelection(){return W.ju.map(this.list.onDidChangeSelection,(({elements:e,indexes:t,browserEvent:n})=>({elements:e.map((e=>this._model.get(e))),indexes:t,browserEvent:n})))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,mt.w6)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map((e=>this.model.get(e)))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}{constructor(e,t,n,i,o,r,a,s,l,c){const d=void 0!==o.horizontalScrolling?o.horizontalScrolling:Boolean(l.getValue(Mc)),[u,h]=jc(o,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,Gr.o)(s.getColorTheme(),Gr.O2)),u),{horizontalScrolling:d})),this.disposables=new oe.SL,this.disposables.add(h),this.contextKeyService=Sc(r,this),this.themeService=s,this.horizontalScrolling=o.horizontalScrolling,this.listSupportsMultiSelect=gc.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport),_c.bindTo(this.contextKeyService).set(Boolean(o.selectionNavigation)),this._useAltAsMultipleSelectionModifier=Fc(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),o.overrideStyles&&this.disposables.add((0,Gr.Jl)(this,s,o.overrideStyles)),this.disposables.add(l.onDidChangeConfiguration((e=>{e.affectsConfiguration(Ec)&&(this._useAltAsMultipleSelectionModifier=Fc(l));let t={};if(e.affectsConfiguration(Mc)&&void 0===this.horizontalScrolling){const e=Boolean(l.getValue(Mc));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Lc)){const e=Boolean(l.getValue(Lc));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(Bc)){const e=l.getValue(Bc);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(Oc)){const e=l.getValue(Oc);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new Uc(this,Object.assign({configurationService:l},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,Gr.Jl)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};Vc=dc([uc(5,vn.i6),uc(6,hc),uc(7,_n.XE),uc(8,uo.Ui),uc(9,_o.d)],Vc);let Wc=class extends il{constructor(e,t,n,i,o,r,a,s,l,c,d){const u=void 0!==r.horizontalScrolling?r.horizontalScrolling:Boolean(c.getValue(Mc)),[h,p]=jc(r,c,d);super(e,t,n,i,o,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,Gr.o)(l.getColorTheme(),Gr.O2)),h),{horizontalScrolling:u})),this.disposables.add(p),this.contextKeyService=Sc(a,this),this.themeService=l,this.listSupportsMultiSelect=gc.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==r.multipleSelectionSupport),_c.bindTo(this.contextKeyService).set(Boolean(r.selectionNavigation)),this.listHasSelectionOrFocus=mc.bindTo(this.contextKeyService),this.listDoubleSelection=vc.bindTo(this.contextKeyService),this.listMultiSelection=bc.bindTo(this.contextKeyService),this.horizontalScrolling=r.horizontalScrolling,this._useAltAsMultipleSelectionModifier=Fc(c),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),r.overrideStyles&&this.updateStyles(r.overrideStyles),this.disposables.add(this.onDidChangeSelection((()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)}))}))),this.disposables.add(this.onDidChangeFocus((()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)}))),this.disposables.add(c.onDidChangeConfiguration((e=>{e.affectsConfiguration(Ec)&&(this._useAltAsMultipleSelectionModifier=Fc(c));let t={};if(e.affectsConfiguration(Mc)&&void 0===this.horizontalScrolling){const e=Boolean(c.getValue(Mc));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Lc)){const e=Boolean(c.getValue(Lc));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(Bc)){const e=c.getValue(Bc);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(Oc)){const e=c.getValue(Oc);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new Qc(this,Object.assign({configurationService:c},r)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=(0,Gr.Jl)(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};Wc=dc([uc(6,vn.i6),uc(7,hc),uc(8,_n.XE),uc(9,uo.Ui),uc(10,_o.d)],Wc);class Hc extends oe.JT{constructor(e,t){var n;super(),this.widget=e,this._onDidOpen=this._register(new W.Q5),this.onDidOpen=this._onDidOpen.event,this._register(W.ju.filter(this.widget.onDidChangeSelection,(e=>e.browserEvent instanceof KeyboardEvent))((e=>this.onSelectionFromKeyboard(e)))),this._register(this.widget.onPointer((e=>this.onPointer(e.element,e.browserEvent)))),this._register(this.widget.onMouseDblClick((e=>this.onMouseDblClick(e.element,e.browserEvent)))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(kc)),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration((()=>{this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(kc))})))):this.openOnSingleClick=null===(n=null==t?void 0:t.openOnSingleClick)||void 0===n||n}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t=e.browserEvent,n="boolean"!=typeof t.preserveFocus||t.preserveFocus,i="boolean"==typeof t.pinned?t.pinned:!n;this._open(this.getSelectedElement(),n,i,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;if(2===t.detail)return;const n=1===t.button,i=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,n,i,t)}onMouseDblClick(e,t){if(!t)return;const n=t.target;if(n.classList.contains("monaco-tl-twistie")||n.classList.contains("monaco-icon-label")&&n.classList.contains("folder-icon")&&t.offsetX<16)return;const i=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,i,t)}_open(e,t,n,i,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:n,revealIfVisible:!0},sideBySide:i,element:e,browserEvent:o})}}class Uc extends Hc{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Qc extends Hc{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class Gc extends Hc{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}function Kc(e,t){let n=!1;return i=>{if(i.toKeybinding().isModifierKey())return!1;if(n)return n=!1,!1;const o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}let Yc=class extends Hl{constructor(e,t,n,i,o,r,a,s,l,c,d){const{options:u,getAutomaticKeyboardNavigation:h,disposable:p}=Xc(t,o,r,l,c,d);super(e,t,n,i,u),this.disposables.add(p),this.internals=new ed(this,o,h,o.overrideStyles,r,a,s,l,d),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};Yc=dc([uc(5,vn.i6),uc(6,hc),uc(7,_n.XE),uc(8,uo.Ui),uc(9,_o.d),uc(10,Ya.F)],Yc);let $c=class extends Ql{constructor(e,t,n,i,o,r,a,s,l,c,d){const{options:u,getAutomaticKeyboardNavigation:h,disposable:p}=Xc(t,o,r,l,c,d);super(e,t,n,i,u),this.disposables.add(p),this.internals=new ed(this,o,h,o.overrideStyles,r,a,s,l,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};$c=dc([uc(5,vn.i6),uc(6,hc),uc(7,_n.XE),uc(8,uo.Ui),uc(9,_o.d),uc(10,Ya.F)],$c);let Jc=class extends lc{constructor(e,t,n,i,o,r,a,s,l,c,d,u){const{options:h,getAutomaticKeyboardNavigation:p,disposable:f}=Xc(t,r,a,c,d,u);super(e,t,n,i,o,h),this.disposables.add(f),this.internals=new ed(this,r,p,r.overrideStyles,a,s,l,c,u),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};Jc=dc([uc(6,vn.i6),uc(7,hc),uc(8,_n.XE),uc(9,uo.Ui),uc(10,_o.d),uc(11,Ya.F)],Jc);let qc=class extends oc{constructor(e,t,n,i,o,r,a,s,l,c,d,u){const{options:h,getAutomaticKeyboardNavigation:p,disposable:f}=Xc(t,r,a,c,d,u);super(e,t,n,i,o,h),this.disposables.add(f),this.internals=new ed(this,r,p,r.overrideStyles,a,s,l,c,u),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};qc=dc([uc(6,vn.i6),uc(7,hc),uc(8,_n.XE),uc(9,uo.Ui),uc(10,_o.d),uc(11,Ya.F)],qc);let Zc=class extends sc{constructor(e,t,n,i,o,r,a,s,l,c,d,u,h){const{options:p,getAutomaticKeyboardNavigation:f,disposable:g}=Xc(t,a,s,d,u,h);super(e,t,n,i,o,r,p),this.disposables.add(g),this.internals=new ed(this,a,f,a.overrideStyles,s,l,c,d,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function Xc(e,t,n,i,o,r){var a;const s=()=>{let e=Boolean(n.getContextKeyValue(xc));return e&&(e=Boolean(i.getValue(Nc))),e},l=r.isScreenReaderOptimized(),c=t.simpleKeyboardNavigation||l?"simple":i.getValue(Dc),d=void 0!==t.horizontalScrolling?t.horizontalScrolling:Boolean(i.getValue(Mc)),[u,h]=jc(t,i,o),p=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:s,disposable:h,options:Object.assign(Object.assign({keyboardSupport:!1},u),{indent:"number"==typeof i.getValue(Ic)?i.getValue(Ic):void 0,renderIndentGuides:i.getValue(Tc),smoothScrolling:Boolean(i.getValue(Lc)),automaticKeyboardNavigation:s(),simpleKeyboardNavigation:"simple"===c,filterOnType:"filter"===c,horizontalScrolling:d,keyboardNavigationEventFilter:Kc(e,o),additionalScrollHeight:p,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(a=t.expandOnlyOnTwistieClick)&&void 0!==a?a:"doubleClick"===i.getValue(Pc)})}}Zc=dc([uc(7,vn.i6),uc(8,hc),uc(9,_n.XE),uc(10,uo.Ui),uc(11,_o.d),uc(12,Ya.F)],Zc);let ed=class{constructor(e,t,n,i,o,r,a,s,l){this.tree=e,this.themeService=a,this.disposables=[],this.contextKeyService=Sc(o,e),this.listSupportsMultiSelect=gc.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport),_c.bindTo(this.contextKeyService).set(Boolean(t.selectionNavigation)),this.hasSelectionOrFocus=mc.bindTo(this.contextKeyService),this.hasDoubleSelection=vc.bindTo(this.contextKeyService),this.hasMultiSelection=bc.bindTo(this.contextKeyService),this.treeElementCanCollapse=yc.bindTo(this.contextKeyService),this.treeElementHasParent=Ac.bindTo(this.contextKeyService),this.treeElementCanExpand=wc.bindTo(this.contextKeyService),this.treeElementHasChild=Cc.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=Fc(s);const c=new Set;c.add(xc);const d=()=>{const t=l.isScreenReaderOptimized()?"simple":s.getValue(Dc);e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i);const u=()=>{const t=e.getFocus()[0];if(!t)return;const n=e.getNode(t);this.treeElementCanCollapse.set(n.collapsible&&!n.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(n.collapsible&&n.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))};this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection((()=>{const t=e.getSelection(),n=e.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.hasSelectionOrFocus.set(t.length>0||n.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)}))})),e.onDidChangeFocus((()=>{const t=e.getSelection(),n=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||n.length>0),u()})),e.onDidChangeCollapseState(u),e.onDidChangeModel(u),s.onDidChangeConfiguration((i=>{let o={};if(i.affectsConfiguration(Ec)&&(this._useAltAsMultipleSelectionModifier=Fc(s)),i.affectsConfiguration(Ic)){const e=s.getValue(Ic);o=Object.assign(Object.assign({},o),{indent:e})}if(i.affectsConfiguration(Tc)){const e=s.getValue(Tc);o=Object.assign(Object.assign({},o),{renderIndentGuides:e})}if(i.affectsConfiguration(Lc)){const e=Boolean(s.getValue(Lc));o=Object.assign(Object.assign({},o),{smoothScrolling:e})}if(i.affectsConfiguration(Dc)&&d(),i.affectsConfiguration(Nc)&&(o=Object.assign(Object.assign({},o),{automaticKeyboardNavigation:n()})),i.affectsConfiguration(Mc)&&void 0===t.horizontalScrolling){const e=Boolean(s.getValue(Mc));o=Object.assign(Object.assign({},o),{horizontalScrolling:e})}if(i.affectsConfiguration(Pc)&&void 0===t.expandOnlyOnTwistieClick&&(o=Object.assign(Object.assign({},o),{expandOnlyOnTwistieClick:"doubleClick"===s.getValue(Pc)})),i.affectsConfiguration(Bc)){const e=s.getValue(Bc);o=Object.assign(Object.assign({},o),{mouseWheelScrollSensitivity:e})}if(i.affectsConfiguration(Oc)){const e=s.getValue(Oc);o=Object.assign(Object.assign({},o),{fastScrollSensitivity:e})}Object.keys(o).length>0&&e.updateOptions(o)})),this.contextKeyService.onDidChangeContext((t=>{t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})})),l.onDidChangeScreenReaderOptimized((()=>d()))),this.navigator=new Gc(e,Object.assign({configurationService:s},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){(0,oe.B9)(this.styler),this.styler=e?(0,Gr.Jl)(this.tree,this.themeService,e):oe.JT.None}dispose(){this.disposables=(0,oe.B9)(this.disposables),(0,oe.B9)(this.styler),this.styler=void 0}};ed=dc([uc(4,vn.i6),uc(5,hc),uc(6,_n.XE),uc(7,uo.Ui),uc(8,Ya.F)],ed),to.B.as(eo.IP.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,on.N)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[Ec]:{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[(0,on.N)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,on.N)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,on.N)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[kc]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,on.N)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[Mc]:{type:"boolean",default:!1,description:(0,on.N)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[Ic]:{type:"number",default:8,minimum:4,maximum:40,description:(0,on.N)("tree indent setting","Controls tree indentation in pixels.")},[Tc]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,on.N)("render tree indent guides","Controls whether the tree should render indent guides.")},[Lc]:{type:"boolean",default:!1,description:(0,on.N)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[Bc]:{type:"number",default:1,description:(0,on.N)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[Oc]:{type:"number",default:5,description:(0,on.N)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[Dc]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,on.N)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,on.N)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,on.N)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,on.N)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},[Nc]:{type:"boolean",default:!0,markdownDescription:(0,on.N)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},[Pc]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,on.N)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}}});var td,nd=n(2200);!function(e){e[e.PRESERVE=0]="PRESERVE",e[e.LAST=1]="LAST"}(td||(td={}));const id="workbench.contributions.quickaccess";to.B.add(id,new class{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort(((e,t)=>t.prefix.length-e.prefix.length)),(0,oe.OF)((()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)}))}getQuickAccessProviders(){return(0,mt.kX)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find((t=>e.startsWith(t.prefix)))||this.defaultProvider}});const od=(0,pt.yh)("quickInputService");var rd=function(e,t){return function(n,i){t(n,i,e)}};let ad=class extends oe.JT{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=to.B.as(id),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,n){var i;const[o,r]=this.getOrInstantiateProvider(e),a=this.visibleQuickAccess,s=null==a?void 0:a.descriptor;if(a&&r&&s===r)return e===r.prefix||(null==n?void 0:n.preserveValue)||(a.picker.value=e),void this.adjustValueSelection(a.picker,r,n);if(r&&!(null==n?void 0:n.preserveValue)){let t;if(a&&s&&s!==r){const e=a.value.substr(s.prefix.length);e&&(t=`${r.prefix}${e}`)}if(!t){const e=null==o?void 0:o.defaultFilterValue;e===td.LAST?t=this.lastAcceptedPickerValues.get(r):"string"==typeof e&&(t=`${r.prefix}${e}`)}"string"==typeof t&&(e=t)}const l=new oe.SL,c=l.add(this.quickInputService.createQuickPick());let d;c.value=e,this.adjustValueSelection(c,r,n),c.placeholder=null==r?void 0:r.placeholder,c.quickNavigate=null==n?void 0:n.quickNavigateConfiguration,c.hideInput=!!c.quickNavigate&&!a,("number"==typeof(null==n?void 0:n.itemActivation)||(null==n?void 0:n.quickNavigateConfiguration))&&(c.itemActivation=null!==(i=null==n?void 0:n.itemActivation)&&void 0!==i?i:bs.SECOND),c.contextKey=null==r?void 0:r.contextKey,c.filterValue=e=>e.substring(r?r.prefix.length:0),(null==r?void 0:r.placeholder)&&(c.ariaLabel=null==r?void 0:r.placeholder),t&&(d=new ge.CR,l.add((0,nd.I)(c.onWillAccept)((e=>{e.veto(),c.hide()})))),l.add(this.registerPickerListeners(c,o,r,e));const u=l.add(new V.A);return o&&l.add(o.provide(c,u.token)),(0,nd.I)(c.onDidHide)((()=>{0===c.selectedItems.length&&u.cancel(),l.dispose(),null==d||d.complete(c.selectedItems.slice(0))})),c.show(),t?null==d?void 0:d.p:void 0}adjustValueSelection(e,t,n){var i;let o;o=(null==n?void 0:n.preserveValue)?[e.value.length,e.value.length]:[null!==(i=null==t?void 0:t.prefix.length)&&void 0!==i?i:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,n,i){const o=new oe.SL,r=this.visibleQuickAccess={picker:e,descriptor:n,value:i};return o.add((0,oe.OF)((()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)}))),o.add(e.onDidChangeValue((e=>{const[n]=this.getOrInstantiateProvider(e);n!==t?this.show(e,{preserveValue:!0}):r.value=e}))),n&&o.add(e.onDidAccept((()=>{this.lastAcceptedPickerValues.set(n,e.value)}))),o}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let n=this.mapProviderToDescriptor.get(t);return n||(n=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,n)),[n,t]}};ad=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([rd(0,od),rd(1,pt.TG)],ad);var sd=function(e,t){return function(n,i){t(n,i,e)}};let ld=class extends _n.bB{constructor(e,t,n,i,o){super(n),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=i,this.layoutService=o,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(ad))),this._quickAccess}createController(e=this.layoutService,t){var n,i;const o={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,n,i,o)=>this.instantiationService.createInstance(zc,e,t,n,i,o),styles:this.computeStyles()},r=this._register(new Vs(Object.assign(Object.assign({},o),t)));return r.layout(e.dimension,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0),this._register(e.onDidLayout((t=>{var n,i;return r.layout(t,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0)}))),this._register(r.onShow((()=>this.resetContextKeys()))),this._register(r.onHide((()=>this.resetContextKeys()))),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new vn.uy(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach((e=>{e.get()&&e.reset()}))}pick(e,t={},n=V.T.None){return this.controller.pick(e,t,n)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},(0,Gr.o)(this.theme,{quickInputBackground:bn.zKr,quickInputForeground:bn.tZ6,quickInputTitleBackground:bn.loF,contrastBorder:bn.lRK,widgetShadow:bn.rh})),inputBox:(0,Gr.o)(this.theme,{inputForeground:bn.zJb,inputBackground:bn.sEe,inputBorder:bn.dt_,inputValidationInfoBackground:bn._lC,inputValidationInfoForeground:bn.YI3,inputValidationInfoBorder:bn.EPQ,inputValidationWarningBackground:bn.RV_,inputValidationWarningForeground:bn.SUG,inputValidationWarningBorder:bn.C3g,inputValidationErrorBackground:bn.paE,inputValidationErrorForeground:bn._t9,inputValidationErrorBorder:bn.OZR}),countBadge:(0,Gr.o)(this.theme,{badgeBackground:bn.g8u,badgeForeground:bn.qeD,badgeBorder:bn.lRK}),button:(0,Gr.o)(this.theme,{buttonForeground:bn.j5u,buttonBackground:bn.b7$,buttonHoverBackground:bn.GO4,buttonBorder:bn.lRK}),progressBar:(0,Gr.o)(this.theme,{progressBarBackground:bn.zRJ}),keybindingLabel:(0,Gr.o)(this.theme,{keybindingLabelBackground:bn.oQ$,keybindingLabelForeground:bn.lWp,keybindingLabelBorder:bn.AWI,keybindingLabelBottomBorder:bn.K19,keybindingLabelShadow:bn.rh}),list:(0,Gr.o)(this.theme,{listBackground:bn.zKr,listInactiveFocusForeground:bn.NPS,listInactiveSelectionIconForeground:bn.cbQ,listInactiveFocusBackground:bn.Vqd,listFocusOutline:bn.xL1,listInactiveFocusOutline:bn.xL1,pickerGroupBorder:bn.opG,pickerGroupForeground:bn.kJk})}}};ld=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([sd(0,pt.TG),sd(1,vn.i6),sd(2,_n.XE),sd(3,Ya.F),sd(4,yi)],ld);var cd=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},dd=function(e,t){return function(n,i){t(n,i,e)}};let ud=class extends ld{constructor(e,t,n,i,o,r){super(t,n,i,o,new xi(e.getContainerDomNode(),r)),this.host=void 0;const a=pd.get(e);if(a){const t=a.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return t.getDomNode()},get dimension(){return e.getLayoutInfo()},get onDidLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}else this.host=void 0}createController(){return super.createController(this.host)}};ud=cd([dd(1,pt.TG),dd(2,vn.i6),dd(3,_n.XE),dd(4,Ya.F),dd(5,ne.$)],ud);let hd=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const n=t=this.instantiationService.createInstance(ud,e);this.mapEditorToService.set(e,t),(0,nd.I)(e.onDidDispose)((()=>{n.dispose(),this.mapEditorToService.delete(e)}))}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},n=V.T.None){return this.activeService.pick(e,t,n)}createQuickPick(){return this.activeService.createQuickPick()}};hd=cd([dd(0,pt.TG),dd(1,ne.$)],hd);class pd{constructor(e){this.editor=e,this.widget=new fd(this.editor)}static get(e){return e.getContribution(pd.ID)}dispose(){this.widget.dispose()}}pd.ID="editor.controller.quickInput";class fd{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return fd.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}fd.ID="editor.contrib.quickInputWidget",(0,gn._K)(pd.ID,pd);class gd{constructor(e,t,n,i,o){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o}}const md=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class vd{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(null===e)return 0;const t=e.match(md);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();let n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=Ja.Il.fromHex("#"+e),n)}getColorMap(){return this._id2color.slice(0)}}class bd{constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];const t=[];let n=0;for(let i=0,o=e.length;i<o;i++){const o=e[i];let r=-1;if("string"==typeof o.fontStyle){r=0;const e=o.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++)switch(e[t]){case"italic":r|=1;break;case"bold":r|=2;break;case"underline":r|=4;break;case"strikethrough":r|=8}}let a=null;"string"==typeof o.foreground&&(a=o.foreground);let s=null;"string"==typeof o.background&&(s=o.background),t[n++]=new gd(o.token||"",i,r,a,s)}return t}(e),t)}static createFromParsedTokenTheme(e,t){return function(e,t){e.sort(((e,t)=>{const n=function(e,t){return e<t?-1:e>t?1:0}(e.token,t.token);return 0!==n?n:e.index-t.index}));let n=0,i="000000",o="ffffff";for(;e.length>=1&&""===e[0].token;){const t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(i=t.foreground),null!==t.background&&(o=t.background)}const r=new vd;for(let e of t)r.getId(e);const a=r.getId(i),s=r.getId(o),l=new yd(n,a,s),c=new Ad(l);for(let t=0,n=e.length;t<n;t++){const n=e[t];c.insert(n.token,n.fontStyle,r.getId(n.foreground),r.getId(n.background))}return new bd(r,c)}(e,t)}getColorMap(){return this._colorMap.getColorMap()}_match(e){return this._root.match(e)}match(e,t){let n=this._cache.get(t);if(void 0===n){const e=this._match(t),i=function(e){const t=e.match(_d);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 3}throw new Error("Unexpected match for standard token type!")}(t);n=(e.metadata|i<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0}}const _d=/\b(comment|string|regex|regexp)\b/;class yd{constructor(e,t,n){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<10|this._foreground<<14|this._background<<23)>>>0}clone(){return new yd(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<10|this._foreground<<14|this._background<<23)>>>0}}class Ad{constructor(e){this._themeTrieElementBrand=void 0,this._mainRule=e,this._children=new Map}match(e){if(""===e)return this._mainRule;const t=e.indexOf(".");let n,i;-1===t?(n=e,i=""):(n=e.substring(0,t),i=e.substring(t+1));const o=this._children.get(n);return void 0!==o?o.match(i):this._mainRule}insert(e,t,n,i){if(""===e)return void this._mainRule.acceptOverwrite(t,n,i);const o=e.indexOf(".");let r,a;-1===o?(r=e,a=""):(r=e.substring(0,o),a=e.substring(o+1));let s=this._children.get(r);void 0===s&&(s=new Ad(this._mainRule.clone()),this._children.set(r,s)),s.insert(a,t,n,i)}}const wd={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[bn.cvW]:"#FFFFFE",[bn.NOs]:"#000000",[bn.ES4]:"#E5EBF1",[mn.tR]:"#D3D3D3",[mn.Ym]:"#939393",[bn.Rzx]:"#ADD6FF4D"}},Cd={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[bn.cvW]:"#1E1E1E",[bn.NOs]:"#D4D4D4",[bn.ES4]:"#3A3D41",[mn.tR]:"#404040",[mn.Ym]:"#707070",[bn.Rzx]:"#ADD6FF26"}},xd={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[bn.cvW]:"#000000",[bn.NOs]:"#FFFFFF",[mn.tR]:"#FFFFFF",[mn.Ym]:"#FFFFFF"}};var Sd=n(7178);class Ed{getIcon(e){const t=(0,An.Ks)();let n=e.defaults;for(;_n.kS.isThemeIcon(n);){const e=t.getIcon(n.id);if(!e)return;n=e.defaults}return n}}const kd="vs",Md="vs-dark",Dd="hc-black",Nd=to.B.as(bn.IPX.ColorContribution),Id=to.B.as(_n.IP.ThemingContribution);class Td{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;const n=t.base;e.length>0?(Ld(e)?this.id=e:this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const e=new Map;for(let t in this.themeData.colors)e.set(t,Ja.Il.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){const t=Bd(this.themeData.base);for(let n in t.colors)e.has(n)||e.set(n,Ja.Il.fromHex(t.colors[n]))}this.colors=e}return this.colors}getColor(e,t){return this.getColors().get(e)||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=Nd.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case kd:return Sd.e.LIGHT;case Dd:return Sd.e.HIGH_CONTRAST;default:return Sd.e.DARK}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){const n=Bd(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}const n=this.themeData.colors["editor.foreground"],i=this.themeData.colors["editor.background"];if(n||i){const t={token:""};n&&(t.foreground=n),i&&(t.background=i),e.push(t)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=bd.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,n){const i=this.tokenTheme._match([e].concat(t).join(".")).metadata,o=Y.NX.getForeground(i),r=Y.NX.getFontStyle(i);return{foreground:o,italic:Boolean(1&r),bold:Boolean(2&r),underline:Boolean(4&r),strikethrough:Boolean(8&r)}}}function Ld(e){return e===kd||e===Md||e===Dd}function Bd(e){switch(e){case kd:return wd;case Md:return Cd;case Dd:return xd}}function Od(e){const t=Bd(e);return new Td(e,t)}class Pd extends oe.JT{constructor(){super(),this._onColorThemeChange=this._register(new W.Q5),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new W.Q5),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new Ed,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(kd,Od(kd)),this._knownThemes.set(Md,Od(Md)),this._knownThemes.set(Dd,Od(Dd));const e=function(e){const t=new W.Q5,n=(0,An.Ks)();return n.onDidChange((()=>t.fire())),null==e||e.onDidProductIconThemeChange((()=>t.fire())),{onDidChange:t.event,getCSS(){const t=e?e.getProductIconTheme():new Ed,i={},o=e=>{const n=t.getIcon(e);if(!n)return;const o=n.font;return o?(i[o.id]=o.definition,`.codicon-${e.id}:before { content: '${n.fontCharacter}'; font-family: ${(0,rn._h)(o.id)}; }`):`.codicon-${e.id}:before { content: '${n.fontCharacter}'; }`},r=[];for(let e of n.getIcons()){const t=o(e);t&&r.push(t)}for(let e in i){const t=i[e],n=t.weight?`font-weight: ${t.weight};`:"",o=t.style?`font-style: ${t.style};`:"",a=t.src.map((e=>`${(0,rn.wY)(e.location)} format('${e.format}')`)).join(", ");r.push(`@font-face { src: ${a}; font-family: ${(0,rn._h)(e)};${n}${o} font-display: block; }`)}return r.join("\n")}}}(this);this._codiconCSS=e.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(kd),e.onDidChange((()=>{this._codiconCSS=e.getCSS(),this._updateCSS()})),rn.uB("(forced-colors: active)",(()=>{this._updateActualTheme()}))}registerEditorContainer(e){return rn.OO(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=rn.dS(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),oe.JT.None}_registerShadowDomContainer(e){const t=rn.dS(e);return t.className="monaco-colors",t.textContent=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e<this._styleElements.length;e++)if(this._styleElements[e]===t)return void this._styleElements.splice(e,1)}}}defineTheme(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!Ld(t.base)&&!Ld(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new Td(e,t)),Ld(e)&&this._knownThemes.forEach((t=>{t.base===e&&t.notifyBaseUpdated()})),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(kd),this._desiredTheme=t,this._updateActualTheme()}_updateActualTheme(){const e=this._autoDetectHighContrast&&window.matchMedia("(forced-colors: active)").matches?this._knownThemes.get(Dd):this._desiredTheme;this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._updateActualTheme()}_updateThemeOrColorMap(){const e=[],t={},n={addRule:n=>{t[n]||(e.push(n),t[n]=!0)}};Id.getThemingParticipants().forEach((e=>e(this._theme,n,this._environment)));const i=[];for(const e of Nd.getColors()){const t=this._theme.getColor(e.id,!0);t&&i.push(`${(0,bn.QO2)(e.id)}: ${t.toString()};`)}n.addRule(`.monaco-editor { ${i.join("\n")} }`);const o=this._colorMapOverride||this._theme.tokenTheme.getColorMap();n.addRule(function(e){const t=[];for(let n=1,i=e.length;n<i;n++){const i=e[n];t[n]=`.mtk${n} { color: ${i}; }`}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.push(".mtks { text-decoration: line-through; }"),t.push(".mtks.mtku { text-decoration: underline line-through; text-underline-position: under; }"),t.join("\n")}(o)),this._themeCSS=e.join("\n"),this._updateCSS(),Y.RW.setColorMap(o),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._styleElements.forEach((e=>e.textContent=this._allCSS))}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}const Fd=(0,pt.yh)("themeService");var Rd=function(e,t){return function(n,i){t(n,i,e)}};let jd=class extends oe.JT{constructor(e,t){super(),this._contextKeyService=e,this._configurationService=t,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new W.Q5,this._accessibilityModeEnabledContext=Ya.U.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(n(),this._onDidChangeScreenReaderOptimized.fire())}))),n(),this.onDidChangeScreenReaderOptimized((()=>n()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};jd=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Rd(0,vn.i6),Rd(1,uo.Ui)],jd);var zd=n(4028),Vd=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},Wd=function(e,t){return function(n,i){t(n,i,e)}};let Hd=class{constructor(e){this._commandService=e}createMenu(e,t,n){return new Ud(e,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},n),this._commandService,t,this)}};Hd=Vd([Wd(0,co.Hy)],Hd);let Ud=class e{constructor(e,t,n,i,o){this._id=e,this._options=t,this._commandService=n,this._contextKeyService=i,this._menuService=o,this._disposables=new oe.SL,this._menuGroups=[],this._contextKeys=new Set,this._build();const r=new ge.pY((()=>{this._build(),this._onDidChange.fire(this)}),t.eventDebounceDelay);this._disposables.add(r),this._disposables.add(zd.BH.onDidChangeMenu((t=>{t.has(e)&&r.schedule()})));const a=this._disposables.add(new oe.SL);this._onDidChange=new W.Q5({onFirstListenerAdd:()=>{const e=new ge.pY((()=>this._onDidChange.fire(this)),t.eventDebounceDelay);a.add(e),a.add(i.onDidChangeContext((t=>{t.affectsSome(this._contextKeys)&&e.schedule()})))},onLastListenerRemove:a.clear.bind(a)}),this.onDidChange=this._onDidChange.event}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=zd.BH.getMenuItems(this._id);let n;t.sort(e._compareMenuItems);for(const e of t){const t=e.group||"";n&&n[0]===t||(n=[t,[]],this._menuGroups.push(n)),n[1].push(e),this._collectContextKeys(e)}}_collectContextKeys(t){if(e._fillInKbExprKeys(t.when,this._contextKeys),(0,zd.vr)(t)){if(t.command.precondition&&e._fillInKbExprKeys(t.command.precondition,this._contextKeys),t.command.toggled){const n=t.command.toggled.condition||t.command.toggled;e._fillInKbExprKeys(n,this._contextKeys)}}else this._options.emitEventsForSubmenuChanges&&zd.BH.getMenuItems(t.submenu).forEach(this._collectContextKeys,this)}getActions(e){const t=[];for(let n of this._menuGroups){const[i,o]=n,r=[];for(const t of o)if(this._contextKeyService.contextMatchesRules(t.when)){const n=(0,zd.vr)(t)?new zd.U8(t.command,t.alt,e,this._contextKeyService,this._commandService):new zd.NZ(t,this._menuService,this._contextKeyService,e);r.push(n)}r.length>0&&t.push([i,r])}return t}static _fillInKbExprKeys(e,t){if(e)for(let n of e.keys())t.add(n)}static _compareMenuItems(t,n){let i=t.group,o=n.group;if(i!==o){if(!i)return 1;if(!o)return-1;if("navigation"===i)return-1;if("navigation"===o)return 1;let e=i.localeCompare(o);if(0!==e)return e}let r=t.order||0,a=n.order||0;return r<a?-1:r>a?1:e._compareTitles((0,zd.vr)(t)?t.command.title:t.title,(0,zd.vr)(n)?n.command.title:n.title)}static _compareTitles(e,t){const n="string"==typeof e?e:e.original,i="string"==typeof t?t:t.original;return n.localeCompare(i)}};Ud=Vd([Wd(2,co.Hy),Wd(3,vn.i6),Wd(4,zd.co)],Ud);var Qd=function(e,t){return function(n,i){t(n,i,e)}},Gd=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};let Kd=class extends oe.JT{constructor(e,t){super(),this.layoutService=e,this.logService=t,this.mapTextToType=new Map,this.findText="",(Lr.isSafari||Lr.isWebkitWebView)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const e=()=>{const e=new ge.CR;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=e,navigator.clipboard.write([new ClipboardItem({"text/plain":e.p})]).catch((t=>Gd(this,void 0,void 0,(function*(){t instanceof Error&&"NotAllowedError"===t.name&&e.isRejected||this.logService.error(t)}))))};this.layoutService.hasContainer&&(this._register((0,rn.nm)(this.layoutService.container,"click",e)),this._register((0,rn.nm)(this.layoutService.container,"keydown",e)))}writeText(e,t){return Gd(this,void 0,void 0,(function*(){if(t)return void this.mapTextToType.set(t,e);if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(e);try{return yield navigator.clipboard.writeText(e)}catch(e){console.error(e)}const n=document.activeElement,i=document.body.appendChild((0,rn.$)("textarea",{"aria-hidden":!0}));i.style.height="1px",i.style.width="1px",i.style.position="absolute",i.value=e,i.focus(),i.select(),document.execCommand("copy"),n instanceof HTMLElement&&n.focus(),document.body.removeChild(i)}))}readText(e){return Gd(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(e){return console.error(e),""}}))}readFindText(){return Gd(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return Gd(this,void 0,void 0,(function*(){this.findText=e}))}};Kd=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([Qd(0,yi),Qd(1,vt.VZ)],Kd);const Yd="data-keybinding-context";class $d{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}setValue(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)}removeValue(e){return e in this._value&&(delete this._value[e],!0)}getValue(e){const t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t}}class Jd extends $d{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}Jd.INSTANCE=new Jd;class qd extends $d{constructor(e,t,n){super(e,null),this._configurationService=t,this._values=Vi.Id.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration((e=>{if(6===e.source){const e=Array.from(dl.$.map(this._values,(([e])=>e)));this._values.clear(),n.fire(new eu(e))}else{const t=[];for(const n of e.affectedKeys){const e=`config.${n}`,i=this._values.findSuperstr(e);void 0!==i&&(t.push(...dl.$.map(i,(([e])=>e))),this._values.deleteSuperstr(e)),this._values.has(e)&&(t.push(e),this._values.delete(e))}n.fire(new eu(t))}}))}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf(qd._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(qd._keyPrefix.length),n=this._configurationService.getValue(t);let i;switch(typeof n){case"number":case"boolean":case"string":i=n;break;default:i=Array.isArray(n)?JSON.stringify(n):n}return this._values.set(e,i),i}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}qd._keyPrefix="config.";class Zd{constructor(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class Xd{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class eu{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class tu{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class nu{constructor(e){this._onDidChangeContext=new W.K3({merge:e=>new tu(e)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Zd(this,e,t)}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new ou(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const t=this.getContextValuesContainer(this._myContextId);return!e||e.evaluate(t)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new Xd(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Xd(e))}getContext(e){return this._isDisposed?Jd.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute(Yd)){const t=e.getAttribute(Yd);return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))}}let iu=class extends nu{constructor(e){super(0),this._contexts=new Map,this._toDispose=new oe.SL,this._lastContextId=0;const t=new qd(this._myContextId,e,this._onDidChangeContext);this._contexts.set(this._myContextId,t),this._toDispose.add(t)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return this._isDisposed?Jd.INSTANCE:this._contexts.get(e)||Jd.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let t=++this._lastContextId;return this._contexts.set(t,new $d(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};iu=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([function(e,t){return function(e,n){t(e,n,0)}}(0,uo.Ui)],iu);class ou extends nu{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=new oe.XK,this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(Yd)){let e="";this._domNode.classList&&(e=Array.from(this._domNode.classList.values()).join(", ")),console.error("Element already has context attribute"+(e?": "+e:""))}this._domNode.setAttribute(Yd,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(this._onDidChangeContext.fire,this._onDidChangeContext)}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(Yd),this._isDisposed=!0)}getContextValuesContainer(e){return this._isDisposed?Jd.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}co.P0.registerCommand(vn.Eq,(function(e,t,n){e.get(vn.i6).createKey(String(t),n)})),co.P0.registerCommand({id:"getContextKeyInfo",handler:()=>[...vn.uy.all()].sort(((e,t)=>e.key.localeCompare(t.key))),description:{description:(0,on.N)("getContextKeyInfo","A command that returns information about context keys"),args:[]}}),co.P0.registerCommand("_generateContextKeyInfo",(function(){const e=[],t=new Set;for(let n of vn.uy.all())t.has(n.key)||(t.add(n.key),e.push(n));e.sort(((e,t)=>e.key.localeCompare(t.key))),console.log(JSON.stringify(e,void 0,2))}));var ru=n(541);class au{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class su{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing.set(this._hashFn(t),i),i.incoming.set(this._hashFn(e),n)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(let e of this._nodes.values())e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes.get(t);return n||(n=new au(e),this._nodes.set(t,n)),n}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,n]of this._nodes)e.push(`${t}, (incoming)[${[...n.incoming.keys()].join(", ")}], (outgoing)[${[...n.outgoing.keys()].join(",")}]`);return e.join("\n")}findCycleSlow(){for(let[e,t]of this._nodes){const n=new Set([e]),i=this._findCycle(t,n);if(i)return i}}_findCycle(e,t){for(let[n,i]of e.outgoing){if(t.has(n))return[...t,n].join(" -> ");t.add(n);const e=this._findCycle(i,t);if(e)return e;t.delete(n)}}}class lu extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!==(t=e.findCycleSlow())&&void 0!==t?t:`UNABLE to detect cycle, dumping graph: \n${e.toString()}`}}class cu{constructor(e=new Fn.y,t=!1,n){this._activeInstantiations=new Set,this._services=e,this._strict=t,this._parent=n,this._services.set(pt.TG,this)}createChild(e){return new cu(e,this._strict,this)}invokeFunction(e,...t){let n=du.traceInvocation(e),i=!1;try{return e({get:e=>{if(i)throw(0,me.L6)("service accessor is only valid during the invocation of its target method");const t=this._getOrCreateServiceInstance(e,n);if(!t)throw new Error(`[invokeFunction] unknown service '${e}'`);return t}},...t)}finally{i=!0,n.stop()}}createInstance(e,...t){let n,i;return e instanceof ru.M?(n=du.traceCreation(e.ctor),i=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=du.traceCreation(e),i=this._createInstance(e,t,n)),n.stop(),i}_createInstance(e,t=[],n){let i=pt.I8.getServiceDependencies(e).sort(((e,t)=>e.index-t.index)),o=[];for(const t of i){let i=this._getOrCreateServiceInstance(t.id,n);i||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`,!1),o.push(i)}let r=i.length>0?i[0].index:t.length;if(t.length!==r){console.warn(`[createInstance] First service dependency of ${e.name} at position ${r+1} conflicts with ${t.length} static arguments`);let n=r-t.length;t=n>0?t.concat(new Array(n)):t.slice(0,r)}return new e(...[...t,...o])}_setServiceInstance(e,t){if(this._services.get(e)instanceof ru.M)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof ru.M?this._safeCreateAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_safeCreateAndCacheServiceInstance(e,t,n){if(this._activeInstantiations.has(e))throw new Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,n)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,n){const i=new su((e=>e.id.toString()));let o=0;const r=[{id:e,desc:t,_trace:n}];for(;r.length;){const t=r.pop();if(i.lookupOrInsertNode(t),o++>1e3)throw new lu(i);for(let n of pt.I8.getServiceDependencies(t.desc.ctor)){let o=this._getServiceInstanceOrDescriptor(n.id);if(o||this._throwIfStrict(`[createInstance] ${e} depends on ${n.id} which is NOT registered.`,!0),o instanceof ru.M){const e={id:n.id,desc:o,_trace:t._trace.branch(n.id,!0)};i.insertEdge(t,e),r.push(e)}}}for(;;){const e=i.roots();if(0===e.length){if(!i.isEmpty())throw new lu(i);break}for(const{data:t}of e){if(this._getServiceInstanceOrDescriptor(t.id)instanceof ru.M){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e)}i.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],i,o){if(this._services.get(e)instanceof ru.M)return this._createServiceInstance(t,n,i,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,o);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t=[],n,i){if(n){const n=new ge.Ue((()=>this._createInstance(e,t,i)));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];let i=n.value,o=i[t];return"function"!=typeof o||(o=o.bind(i),e[t]=o),o},set:(e,t,i)=>(n.value[t]=i,!0)})}return this._createInstance(e,t,i)}_throwIfStrict(e,t){if(t&&console.warn(t),this._strict)throw new Error(e)}}class du{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return du._None}static traceCreation(e){return du._None}branch(e,t){let n=new du(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;du._totals+=e;let t=!1,n=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(n,i){let o=[],r=new Array(n+1).join("\t");for(const[a,s,l]of i._dep)if(s&&l){t=!0,o.push(`${r}CREATES -> ${a}`);let i=e(n+1,l);i&&o.push(i)}else o.push(`${r}uses -> ${a}`);return o.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${du._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(n.join("\n"))}}du._None=new class extends du{constructor(){super(-1,null)}stop(){}branch(){return this}},du._totals=0;class uu{constructor(){this._byResource=new Vi.Y9,this._byOwner=new Map}set(e,t,n){let i=this._byResource.get(e);i||(i=new Map,this._byResource.set(e,i)),i.set(t,n);let o=this._byOwner.get(t);o||(o=new Vi.Y9,this._byOwner.set(t,o)),o.set(e,n)}get(e,t){let n=this._byResource.get(e);return null==n?void 0:n.get(t)}delete(e,t){let n=!1,i=!1,o=this._byResource.get(e);o&&(n=o.delete(t));let r=this._byOwner.get(t);if(r&&(i=r.delete(e)),n!==i)throw new Error("illegal state");return n&&i}values(e){var t,n,i,o;return"string"==typeof e?null!==(n=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==n?n:dl.$.empty():U.o.isUri(e)?null!==(o=null===(i=this._byResource.get(e))||void 0===i?void 0:i.values())&&void 0!==o?o:dl.$.empty():dl.$.map(dl.$.concat(...this._byOwner.values()),(e=>e[1]))}}class hu{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new Vi.Y9,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const n=this._resourceStats(t);this._add(n),this._data.set(t,n)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===gi.lg.inMemory||e.scheme===gi.lg.walkThrough||e.scheme===gi.lg.walkThroughSnippet)return t;for(const{severity:n}of this._service.read({resource:e}))n===aa.Error?t.errors+=1:n===aa.Warning?t.warnings+=1:n===aa.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class pu{constructor(){this._onMarkerChanged=new W.D0({delay:0,merge:pu._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new uu,this._stats=new hu(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const n of t||[])this.changeOne(e,n,[])}changeOne(e,t,n){if((0,mt.XY)(n))this._data.delete(t,e)&&this._onMarkerChanged.fire([t]);else{const i=[];for(const o of n){const n=pu._toMarker(e,t,o);n&&i.push(n)}this._data.set(t,e,i),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,n){let{code:i,severity:o,message:r,source:a,startLineNumber:s,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:u,tags:h}=n;if(r)return s=s>0?s:1,l=l>0?l:1,c=c>=s?c:s,d=d>0?d:l,{resource:t,owner:e,code:i,severity:o,message:r,source:a,startLineNumber:s,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:u,tags:h}}read(e=Object.create(null)){let{owner:t,resource:n,severities:i,take:o}=e;if((!o||o<0)&&(o=-1),t&&n){const e=this._data.get(n,t);if(e){const t=[];for(const n of e)if(pu._accept(n,i)){const e=t.push(n);if(o>0&&e===o)break}return t}return[]}if(t||n){const e=this._data.values(null!=n?n:t),r=[];for(const t of e)for(const e of t)if(pu._accept(e,i)){const t=r.push(e);if(o>0&&t===o)return r}return r}{const e=[];for(let t of this._data.values())for(let n of t)if(pu._accept(n,i)){const t=e.push(n);if(o>0&&t===o)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _merge(e){const t=new Vi.Y9;for(let n of e)for(let e of n)t.set(e,!0);return Array.from(t.keys())}}var fu=n(7349);function gu(e,t,n,i,o){if(Array.isArray(e)){let r=0;for(const a of e){const e=gu(a,t,n,i,o);if(10===e)return e;e>r&&(r=e)}return r}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){const{language:s,pattern:l,scheme:c,hasAccessToAllModels:d,notebookType:u}=e;if(!i&&!d)return 0;let h=0;if(c)if(c===t.scheme)h=10;else{if("*"!==c)return 0;h=5}if(s)if(s===n)h=10;else{if("*"!==s)return 0;h=Math.max(h,5)}if(u)if(u===o)h=10;else{if("*"!==u)return 0;h=Math.max(h,5)}if(l){let e;if(e="string"==typeof l?l:Object.assign(Object.assign({},l),{base:(0,qo.Fv)(l.base)}),e!==t.fsPath&&(r=e,a=t.fsPath,!r||"string"!=typeof a||!mr(r)(a,void 0,void 0)))return 0;h=10}return h}return 0;var r,a}function mu(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(mu):!!e.exclusive)}class vu{constructor(e){this._notebookTypeResolver=e,this._clock=0,this._entries=[],this._onDidChange=new W.Q5,this.onDidChange=this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,oe.OF)((()=>{if(n){const e=this._entries.indexOf(n);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}}))}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,(e=>t.push(e.provider))),t}orderedGroups(e){const t=[];let n,i;return this._orderedForEach(e,(e=>{n&&i===e._score?n.push(e.provider):(i=e._score,n=[e.provider],t.push(n))})),t}_orderedForEach(e,t){if(e){this._updateScores(e);for(const e of this._entries)e._score>0&&t(e)}}_updateScores(e){var t;const n=null===(t=this._notebookTypeResolver)||void 0===t?void 0:t.call(this,e.uri),i={uri:e.uri.toString(),language:e.getLanguageId(),notebookType:n};if(!this._lastCandidate||this._lastCandidate.language!==i.language||this._lastCandidate.uri!==i.uri||this._lastCandidate.notebookType!==i.notebookType){this._lastCandidate=i;for(let t of this._entries)if(t._score=gu(t.selector,e.uri,e.getLanguageId(),(0,de.pt)(e),n),mu(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(vu._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}(0,vi.z)(bt.p,class{constructor(){this.referenceProvider=new vu(this._score.bind(this)),this.renameProvider=new vu(this._score.bind(this)),this.codeActionProvider=new vu(this._score.bind(this)),this.definitionProvider=new vu(this._score.bind(this)),this.typeDefinitionProvider=new vu(this._score.bind(this)),this.declarationProvider=new vu(this._score.bind(this)),this.implementationProvider=new vu(this._score.bind(this)),this.documentSymbolProvider=new vu(this._score.bind(this)),this.inlayHintsProvider=new vu(this._score.bind(this)),this.colorProvider=new vu(this._score.bind(this)),this.codeLensProvider=new vu(this._score.bind(this)),this.documentFormattingEditProvider=new vu(this._score.bind(this)),this.documentRangeFormattingEditProvider=new vu(this._score.bind(this)),this.onTypeFormattingEditProvider=new vu(this._score.bind(this)),this.signatureHelpProvider=new vu(this._score.bind(this)),this.hoverProvider=new vu(this._score.bind(this)),this.documentHighlightProvider=new vu(this._score.bind(this)),this.selectionRangeProvider=new vu(this._score.bind(this)),this.foldingRangeProvider=new vu(this._score.bind(this)),this.linkProvider=new vu(this._score.bind(this)),this.inlineCompletionsProvider=new vu(this._score.bind(this)),this.completionProvider=new vu(this._score.bind(this)),this.linkedEditingRangeProvider=new vu(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new vu(this._score.bind(this)),this.documentSemanticTokensProvider=new vu(this._score.bind(this))}_score(e){var t;return null===(t=this._notebookTypeResolver)||void 0===t?void 0:t.call(this,e)}},!0);var bu=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},_u=function(e,t){return function(n,i){t(n,i,e)}},yu=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class Au{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new W.Q5}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let wu=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new oe.Jz(new Au(t))):Promise.reject(new Error("Model not found"))}};wu=bu([_u(0,fe.q)],wu);class Cu{show(){return Cu.NULL_PROGRESS_RUNNER}showWhile(e,t){return yu(this,void 0,void 0,(function*(){yield e}))}}Cu.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class xu{info(e){return this.notify({severity:Si.Z.Info,message:e})}warn(e){return this.notify({severity:Si.Z.Warning,message:e})}error(e){return this.notify({severity:Si.Z.Error,message:e})}notify(e){switch(e.severity){case Si.Z.Error:console.error(e.message);break;case Si.Z.Warning:console.warn(e.message);break;default:console.log(e.message)}return xu.NO_OP}status(e,t){return oe.JT.None}}xu.NO_OP=new Rn.EO;let Su=class{constructor(e){this._onWillExecuteCommand=new W.Q5,this._onDidExecuteCommand=new W.Q5,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=co.P0.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const i=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(i)}catch(e){return Promise.reject(e)}}};Su=bu([_u(0,pt.TG)],Su);let Eu=class extends vo{constructor(e,t,n,i,o,r){super(e,t,n,i,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const a=e=>{const t=new oe.SL;t.add(rn.nm(e,rn.tw.KEY_DOWN,(e=>{const t=new Ki.y(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))),t.add(rn.nm(e,rn.tw.KEY_UP,(e=>{const t=new Ki.y(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()}))),this._domNodeListeners.push(new ku(e,t))},s=e=>{for(let t=0;t<this._domNodeListeners.length;t++){const n=this._domNodeListeners[t];n.domNode===e&&(this._domNodeListeners.splice(t,1),n.dispose())}},l=e=>{e.getOption(54)||a(e.getContainerDomNode())};this._register(r.onCodeEditorAdd(l)),this._register(r.onCodeEditorRemove((e=>{e.getOption(54)||s(e.getContainerDomNode())}))),r.listCodeEditors().forEach(l);const c=e=>{a(e.getContainerDomNode())};this._register(r.onDiffEditorAdd(c)),this._register(r.onDiffEditorRemove((e=>{s(e.getContainerDomNode())}))),r.listDiffEditors().forEach(c)}addDynamicKeybinding(e,t,n,i){const o=(0,Yi.gm)(t,ve.OS),r=new oe.SL;return o&&(this._dynamicKeybindings.push({keybinding:o.parts,command:e,when:i,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),r.add((0,oe.OF)((()=>{for(let t=0;t<this._dynamicKeybindings.length;t++)if(this._dynamicKeybindings[t].command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver({source:1})})))),r.add(co.P0.registerCommand(e,n)),this.updateResolver({source:1}),r}updateResolver(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(Co.W.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new yo(e,t,(e=>this._log(e)))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let i=0;for(const o of e){const e=o.when||void 0,r=o.keybinding;if(r){const a=Mo.resolveUserBinding(r,ve.OS);for(const r of a)n[i++]=new xo(r,o.command,o.commandArgs,e,t,null,!1)}else n[i++]=new xo(void 0,o.command,o.commandArgs,e,t,null,!1)}return n}resolveKeyboardEvent(e){const t=new Yi.QC(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new Mo(t,ve.OS)}};Eu=bu([_u(0,vn.i6),_u(1,co.Hy),_u(2,jo.b),_u(3,Rn.lT),_u(4,vt.VZ),_u(5,ne.$)],Eu);class ku extends oe.JT{constructor(e,t){super(),this.domNode=e,this._register(t)}}function Mu(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof U.o)}class Du{constructor(){this._onDidChangeConfiguration=new W.Q5,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new fo(new po,new ho)}getValue(e,t){const n="string"==typeof e?e:void 0,i=Mu(e)?e:Mu(t)?t:{};return this._configuration.getValue(n,i,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const t of e){const[e,i]=t;this.getValue(e)!==i&&(this._configuration.updateValue(e,i),n.push(e))}if(n.length>0){const e=new go({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,n,i){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}}let Nu=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new W.Q5,this.configurationService.onDidChangeConfiguration((e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})}))}getValue(e,t,n){const i=Q.L.isIPosition(t)&&t?"string"==typeof n?n:void 0:"string"==typeof t?t:void 0;return void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)}};Nu=bu([_u(0,uo.Ui)],Nu);let Iu=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"string"==typeof n&&"auto"!==n?n:ve.IJ||ve.dz?"\n":"\r\n"}};Iu=bu([_u(0,uo.Ui)],Iu);class Tu{constructor(){const e=U.o.from({scheme:Tu.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new zo.md({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}}function Lu(e,t,n){if(!t)return;if(!(e instanceof Du))return;const i=[];Object.keys(t).forEach((e=>{(function(e){return ao()[`editor.${e}`]||!1})(e)&&i.push([`editor.${e}`,t[e]]),n&&function(e){return ao()[`diffEditor.${e}`]||!1}(e)&&i.push([`diffEditor.${e}`,t[e]])})),i.length>0&&e.updateValues(i)}Tu.SCHEME="inmemory";let Bu=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return yu(this,void 0,void 0,(function*(){const t=new Map;for(let n of e){if(!(n instanceof qi))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(n.resource);if(!e)throw new Error("bad edit - model not found");if("number"==typeof n.versionId&&e.getVersionId()!==n.versionId)throw new Error("bad state - model changed in the meantime");let i=t.get(e);i||(i=[],t.set(e,i)),i.push(so.h.replaceMove(G.e.lift(n.textEdit.range),n.textEdit.text))}let n=0,i=0;for(const[e,o]of t)e.pushStackElement(),e.pushEditOperations([],o,(()=>[])),e.pushStackElement(),i+=1,n+=o.length;return{ariaSummary:ee.WU(Fo.bulkEditServiceSummary,n,i)}}))}};Bu=bu([_u(0,fe.q)],Bu);let Ou=class extends $o{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,n)}};Ou=bu([_u(0,yi),_u(1,ne.$)],Ou);class Pu extends vt.$V{constructor(){super(new vt.kw)}}let Fu=class extends $r{constructor(e,t,n,i,o){super(e,t,n,i,o),this.configure({blockMouse:!1})}};var Ru;Fu=bu([_u(0,jo.b),_u(1,Rn.lT),_u(2,jn.u),_u(3,_o.d),_u(4,_n.XE)],Fu),(0,vi.z)(uo.Ui,Du),(0,vi.z)(ft,Nu),(0,vi.z)(gt,Iu),(0,vi.z)(zo.ec,Tu),(0,vi.z)(Ro.e,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}),(0,vi.z)(jo.b,class{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}),(0,vi.z)(Ei,class{confirm(e){return this.doConfirm(e).then((e=>({confirmed:e,checkboxChecked:!1})))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,i){return Promise.resolve({choice:0})}}),(0,vi.z)(Rn.lT,xu),(0,vi.z)(la,pu),(0,vi.z)(pe.O,class extends Nr{constructor(){super()}}),(0,vi.z)(Fd,Pd),(0,vi.z)(vt.VZ,Pu),(0,vi.z)(fe.q,za),(0,vi.z)(ha.i,ua),(0,vi.z)(vn.i6,iu),(0,vi.z)(Hn,Cu),(0,vi.z)(fu.Uy,fu.vm),(0,vi.z)(Bn.p,wt),(0,vi.z)($i,Bu),(0,vi.z)(Vo,class{constructor(){this._neverEmitter=new W.Q5,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}),(0,vi.z)(lo.S,wu),(0,vi.z)(Ya.F,jd),(0,vi.z)(hc,pc),(0,vi.z)(co.Hy,Su),(0,vi.z)(_o.d,Eu),(0,vi.z)(od,hd),(0,vi.z)(jn.u,Ou),(0,vi.z)(Xr.v4,ra),(0,vi.z)(Wn.p,Kd),(0,vi.z)(jn.i,Fu),(0,vi.z)(zd.co,Hd),function(e){const t=new Fn.y;for(const[e,n]of(0,vi.d)())t.set(e,n);const n=new cu(t,!0);t.set(pt.TG,n),e.get=function(e){const i=t.get(e);if(!i)throw new Error("Missing service "+e);return i instanceof ru.M?n.invokeFunction((t=>t.get(e))):i};let i=!1;e.initialize=function(e){if(i)return n;i=!0;for(const[e,n]of(0,vi.d)())t.get(e)||t.set(e,n);for(const n in e)if(e.hasOwnProperty(n)){const i=(0,pt.yh)(n);t.get(i)instanceof ru.M&&t.set(i,e[n])}return n}}(Ru||(Ru={}));var ju=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},zu=function(e,t){return function(n,i){t(n,i,e)}};let Vu=0,Wu=!1,Hu=class extends tn.Gm{constructor(e,t,n,i,o,r,a,s,l,c,d,u){const h=Object.assign({},t);h.ariaLabel=h.ariaLabel||Oo.editorViewAccessibleLabel,h.ariaLabel=h.ariaLabel+";"+Oo.accessibilityHelpMessage,super(e,h,{},n,i,o,r,s,l,c,d,u),this._standaloneKeybindingService=a instanceof Eu?a:null,function(e){if(!e){if(Wu)return;Wu=!0}en.wW(e||document.body)}(h.ariaContainerElement)}addCommand(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;const i="DYNAMIC_"+ ++Vu,o=vn.Ao.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,o),i}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),oe.JT.None;const t=e.id,n=e.label,i=vn.Ao.and(vn.Ao.equals("editorId",this.getId()),vn.Ao.deserialize(e.precondition)),o=e.keybindings,r=vn.Ao.and(i,vn.Ao.deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,s=e.contextMenuOrder||0,l=(t,...n)=>Promise.resolve(e.run(this,...n)),c=new oe.SL,d=this.getId()+":"+t;if(c.add(co.P0.registerCommand(d,l)),a){const e={command:{id:d,title:n},when:i,group:a,order:s};c.add(zd.BH.appendMenuItem(zd.eH.EditorContext,e))}if(Array.isArray(o))for(const e of o)c.add(this._standaloneKeybindingService.addDynamicKeybinding(d,e,l,r));const u=new fi.p(d,n,n,i,l,this._contextKeyService);return this._actions[t]=u,c.add((0,oe.OF)((()=>{delete this._actions[t]}))),c}_triggerCommand(e,t){if(this._codeEditorService instanceof _i)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};Hu=ju([zu(2,pt.TG),zu(3,ne.$),zu(4,co.Hy),zu(5,vn.i6),zu(6,_o.d),zu(7,_n.XE),zu(8,Rn.lT),zu(9,Ya.F),zu(10,ue.c_),zu(11,bt.p)],Hu);let Uu=class extends Hu{constructor(e,t,n,i,o,r,a,s,l,c,d,u,h,p,f){const g=Object.assign({},t);Lu(c,g,!1);const m=s.registerEditorContainer(e);"string"==typeof g.theme&&s.setTheme(g.theme),void 0!==g.autoDetectHighContrast&&s.setAutoDetectHighContrast(Boolean(g.autoDetectHighContrast));const v=g.model;let b;if(delete g.model,super(e,g,n,i,o,r,a,s,l,d,p,f),this._configurationService=c,this._standaloneThemeService=s,this._register(m),void 0===v){const e=h.getLanguageIdByMimeType(g.language)||g.language||Sr.bd;b=Gu(u,h,g.value||"",e,void 0),this._ownsModel=!0}else b=v,this._ownsModel=!1;if(this._attachModel(b),b){const e={oldModelUrl:null,newModelUrl:b.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){Lu(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};Uu=ju([zu(2,pt.TG),zu(3,ne.$),zu(4,co.Hy),zu(5,vn.i6),zu(6,_o.d),zu(7,Fd),zu(8,Rn.lT),zu(9,uo.Ui),zu(10,Ya.F),zu(11,fe.q),zu(12,pe.O),zu(13,ue.c_),zu(14,bt.p)],Uu);let Qu=class extends Xn{constructor(e,t,n,i,o,r,a,s,l,c,d,u){const h=Object.assign({},t);Lu(l,h,!0);const p=a.registerEditorContainer(e);"string"==typeof h.theme&&a.setTheme(h.theme),void 0!==h.autoDetectHighContrast&&a.setAutoDetectHighContrast(Boolean(h.autoDetectHighContrast)),super(e,h,{},u,o,i,n,r,a,s,c,d),this._configurationService=l,this._standaloneThemeService=a,this._register(p)}dispose(){super.dispose()}updateOptions(e){Lu(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_createInnerEditor(e,t,n){return e.createInstance(Hu,t,n)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};function Gu(e,t,n,i,o){if(n=n||"",!i){const i=n.indexOf("\n");let r=n;return-1!==i&&(r=n.substring(0,i)),Ku(e,n,t.createByFilepathOrFirstLine(o||null,r),o)}return Ku(e,n,t.createById(i),o)}function Ku(e,t,n,i){return e.createModel(t,n,i)}function Yu(e,t){return"boolean"==typeof e?e:t}function $u(e,t){return"string"==typeof e?e:t}function Ju(e,t=!1){t&&(e=e.map((function(e){return e.toLowerCase()})));const n=function(e){const t={};for(const n of e)t[n]=!0;return t}(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function qu(e,t){t=t.replace(/@@/g,"");let n,i=0;do{n=!1,t=t.replace(/@(\w+)/g,(function(i,o){n=!0;let r="";if("string"==typeof e[o])r=e[o];else{if(!(e[o]&&e[o]instanceof RegExp))throw void 0===e[o]?jt(e,"language definition does not contain attribute '"+o+"', used at: "+t):jt(e,"attribute reference '"+o+"' must be a string, used at: "+t);r=e[o].source}return Pt(r)?"":"(?:"+r+")"})),i++}while(n&&i<5);t=t.replace(/\x01/g,"@");const o=(e.ignoreCase?"i":"")+(e.unicode?"u":"");return new RegExp(t,o)}function Zu(e,t,n,i){let o=-1,r=n,a=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);a&&(a[3]&&(o=parseInt(a[3]),a[2]&&(o+=100)),r=a[4]);let s,l="~",c=r;if(r&&0!==r.length?/^\w*$/.test(c)?l="==":(a=r.match(/^(@|!@|~|!~|==|!=)(.*)$/),a&&(l=a[1],c=a[2])):(l="!=",c=""),"~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(c))if("@"===l||"!@"===l){const n=e[c];if(!n)throw jt(e,"the @ match target '"+c+"' is not defined, in rule: "+t);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(const e of t)if("string"!=typeof e)return!1;return!0}(0,n))throw jt(e,"the @ match target '"+c+"' must be an array of strings, in rule: "+t);const i=Ju(n,e.ignoreCase);s=function(e){return"@"===l?i(e):!i(e)}}else if("~"===l||"!~"===l)if(c.indexOf("$")<0){const t=qu(e,"^"+c+"$");s=function(e){return"~"===l?t.test(e):!t.test(e)}}else s=function(t,n,i,o){return qu(e,"^"+zt(e,c,n,i,o)+"$").test(t)};else if(c.indexOf("$")<0){const t=Ft(e,c);s=function(e){return"=="===l?e===t:e!==t}}else{const t=Ft(e,c);s=function(n,i,o,r,a){const s=zt(e,t,i,o,r);return"=="===l?n===s:n!==s}}else{const t=Ju(c.split("|"),e.ignoreCase);s=function(e){return"~"===l?t(e):!t(e)}}return-1===o?{name:n,value:i,test:function(e,t,n,i){return s(e,e,t,n,i)}}:{name:n,value:i,test:function(e,t,n,i){const r=function(e,t,n,i){if(i<0)return e;if(i<t.length)return t[i];if(i>=100){i-=100;const e=n.split(".");if(e.unshift(n),i<e.length)return e[i]}return null}(e,t,n,o);return s(r||"",e,t,n,i)}}}function Xu(e,t,n){if(n){if("string"==typeof n)return n;if(n.token||""===n.token){if("string"!=typeof n.token)throw jt(e,"a 'token' attribute must be of type string, in rule: "+t);{const i={token:n.token};if(n.token.indexOf("$")>=0&&(i.tokenSubst=!0),"string"==typeof n.bracket)if("@open"===n.bracket)i.bracket=1;else{if("@close"!==n.bracket)throw jt(e,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+t);i.bracket=-1}if(n.next){if("string"!=typeof n.next)throw jt(e,"the next state must be a string value in rule: "+t);{let o=n.next;if(!/^(@pop|@push|@popall)$/.test(o)&&("@"===o[0]&&(o=o.substr(1)),o.indexOf("$")<0&&!function(e,t){let n=t;for(;n&&n.length>0;){if(e.stateNames[n])return!0;const t=n.lastIndexOf(".");n=t<0?null:n.substr(0,t)}return!1}(e,zt(e,o,"",[],""))))throw jt(e,"the next state '"+n.next+"' is not defined in rule: "+t);i.next=o}}return"number"==typeof n.goBack&&(i.goBack=n.goBack),"string"==typeof n.switchTo&&(i.switchTo=n.switchTo),"string"==typeof n.log&&(i.log=n.log),"string"==typeof n.nextEmbedded&&(i.nextEmbedded=n.nextEmbedded,e.usesEmbedded=!0),i}}if(Array.isArray(n)){const i=[];for(let o=0,r=n.length;o<r;o++)i[o]=Xu(e,t,n[o]);return{group:i}}if(n.cases){const i=[];for(let o in n.cases)if(n.cases.hasOwnProperty(o)){const r=Xu(e,t,n.cases[o]);"@default"===o||"@"===o||""===o?i.push({test:void 0,value:r,name:o}):"@eos"===o?i.push({test:function(e,t,n,i){return i},value:r,name:o}):i.push(Zu(e,t,o,r))}const o=e.defaultToken;return{test:function(e,t,n,r){for(const o of i)if(!o.test||o.test(e,t,n,r))return o.value;return o}}}throw jt(e,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+t)}return{token:""}}Qu=ju([zu(2,pt.TG),zu(3,vn.i6),zu(4,Bn.p),zu(5,ne.$),zu(6,Fd),zu(7,Rn.lT),zu(8,uo.Ui),zu(9,jn.i),zu(10,Hn),zu(11,Wn.p)],Qu);class eh{constructor(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}setRegex(e,t){let n;if("string"==typeof t)n=t;else{if(!(t instanceof RegExp))throw jt(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=qu(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")}setAction(e,t){this.action=Xu(e,this.name,t)}}function th(e,t){if(!t||"object"!=typeof t)throw new Error("Monarch: expecting a language definition object");const n={};n.languageId=e,n.includeLF=Yu(t.includeLF,!1),n.noThrow=!1,n.maxStack=100,n.start="string"==typeof t.start?t.start:null,n.ignoreCase=Yu(t.ignoreCase,!1),n.unicode=Yu(t.unicode,!1),n.tokenPostfix=$u(t.tokenPostfix,"."+n.languageId),n.defaultToken=$u(t.defaultToken,"source"),n.usesEmbedded=!1;const i=t;function o(e,r,a){for(const s of a){let a=s.include;if(a){if("string"!=typeof a)throw jt(n,"an 'include' attribute must be a string at: "+e);if("@"===a[0]&&(a=a.substr(1)),!t.tokenizer[a])throw jt(n,"include target '"+a+"' is not defined at: "+e);o(e+"."+a,r,t.tokenizer[a])}else{const t=new eh(e);if(Array.isArray(s)&&s.length>=1&&s.length<=3)if(t.setRegex(i,s[0]),s.length>=3)if("string"==typeof s[1])t.setAction(i,{token:s[1],next:s[2]});else{if("object"!=typeof s[1])throw jt(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);{const e=s[1];e.next=s[2],t.setAction(i,e)}}else t.setAction(i,s[1]);else{if(!s.regex)throw jt(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);s.name&&"string"==typeof s.name&&(t.name=s.name),s.matchOnlyAtStart&&(t.matchOnlyAtLineStart=Yu(s.matchOnlyAtLineStart,!1)),t.setRegex(i,s.regex),t.setAction(i,s.action)}r.push(t)}}}if(i.languageId=e,i.includeLF=n.includeLF,i.ignoreCase=n.ignoreCase,i.unicode=n.unicode,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw jt(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(let e in t.tokenizer)if(t.tokenizer.hasOwnProperty(e)){n.start||(n.start=e);const i=t.tokenizer[e];n.tokenizer[e]=new Array,o("tokenizer."+e,n.tokenizer[e],i)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw jt(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];const r=[];for(let e of t.brackets){let t=e;if(t&&Array.isArray(t)&&3===t.length&&(t={token:t[2],open:t[0],close:t[1]}),t.open===t.close)throw jt(n,"open and close brackets in a 'brackets' attribute must be different: "+t.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof t.open||"string"!=typeof t.token||"string"!=typeof t.close)throw jt(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");r.push({token:t.token+n.tokenPostfix,open:Ft(n,t.open),close:Ft(n,t.close)})}return n.brackets=r,n.noThrow=!0,n}class nh{constructor(e,t){this._languageId=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,n){if("function"==typeof this._actual.tokenize)return ih.adaptTokenize(this._languageId,this._actual,e,n);throw new Error("Not supported!")}tokenizeEncoded(e,t,n){const i=this._actual.tokenizeEncoded(e,n);return new Y.DI(i.tokens,i.endState)}}class ih{constructor(e,t,n,i){this._languageId=e,this._actual=t,this._languageService=n,this._standaloneThemeService=i}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t){const n=[];let i=0;for(let o=0,r=e.length;o<r;o++){const r=e[o];let a=r.startIndex;0===o?a=0:a<i&&(a=i),n[o]=new Y.WU(a,r.scopes,t),i=a}return n}static adaptTokenize(e,t,n,i){const o=t.tokenize(n,i),r=ih._toClassicTokens(o.tokens,e);let a;return a=o.endState.equals(i)?i:o.endState,new Y.hG(r,a)}tokenize(e,t,n){return ih.adaptTokenize(this._languageId,this._actual,e,n)}_toBinaryTokens(e,t){const n=e.encodeLanguageId(this._languageId),i=this._standaloneThemeService.getColorTheme().tokenTheme,o=[];let r=0,a=0;for(let e=0,s=t.length;e<s;e++){const s=t[e],l=i.match(n,s.scopes);if(r>0&&o[r-1]===l)continue;let c=s.startIndex;0===e?c=0:c<a&&(c=a),o[r++]=c,o[r++]=l,a=c}const s=new Uint32Array(r);for(let e=0;e<r;e++)s[e]=o[e];return s}tokenizeEncoded(e,t,n){const i=this._actual.tokenize(e,n),o=this._toBinaryTokens(this._languageService.languageIdCodec,i.tokens);let r;return r=i.endState.equals(n)?n:i.endState,new Y.DI(o,r)}}function oh(e){return e&&"function"==typeof e.then}function rh(e,t){return function(e){return"tokenizeEncoded"in e}(t)?new nh(e,t):new ih(e,t,Ru.get(pe.O),Ru.get(Fd))}function ah(e,t){const n={createTokenizationSupport:()=>{return n=this,void 0,o=function*(){const n=yield Promise.resolve(t.create());return n?"function"==typeof n.getInitialState?rh(e,n):new $t(Ru.get(pe.O),Ru.get(Fd),e,th(e,n)):null},new((i=void 0)||(i=Promise))((function(e,t){function r(e){try{s(o.next(e))}catch(e){t(e)}}function a(e){try{s(o.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(r,a)}s((o=o.apply(n,[])).next())}));var n,i,o}};return Y.RW.registerFactory(e,n)}const sh=(0,pt.yh)("IEditorCancelService"),lh=new vn.uy("cancellableOperation",!1,(0,on.N)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));(0,vi.z)(sh,class{constructor(){this._tokens=new WeakMap}add(e,t){let n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext((e=>({key:lh.bindTo(e.get(vn.i6)),tokens:new qr.S}))),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),()=>{n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}}cancel(e){const t=this._tokens.get(e);if(!t)return;const n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},!0),(0,gn.fK)(new class extends gn._l{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:lh})}runEditorCommand(e,t){e.get(sh).cancel(t)}});class ch{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}var dh,uh=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};class hh{static setFormatterSelector(e){return{dispose:hh._selectors.unshift(e)}}static select(e,t,n){return uh(this,void 0,void 0,(function*(){if(0===e.length)return;const i=dl.$.first(hh._selectors);return i?yield i(e,t,n):void 0}))}}hh._selectors=new qr.S,co.P0.registerCommand("_executeFormatRangeProvider",(function(e,...t){return uh(this,void 0,void 0,(function*(){const[n,i,o]=t;(0,be.p_)(U.o.isUri(n)),(0,be.p_)(G.e.isIRange(i));const r=e.get(lo.S),a=e.get(Bn.p),s=e.get(bt.p),l=yield r.createModelReference(n);try{return function(e,t,n,i,o,r){return uh(this,void 0,void 0,(function*(){const a=t.documentRangeFormattingEditProvider.ordered(n);for(const t of a){let a=yield Promise.resolve(t.provideDocumentRangeFormattingEdits(n,i,o,r)).catch(me.Cp);if((0,mt.Of)(a))return yield e.computeMoreMinimalEdits(n.uri,a)}}))}(a,s,l.object.textEditorModel,G.e.lift(i),o,V.T.None)}finally{l.dispose()}}))})),co.P0.registerCommand("_executeFormatDocumentProvider",(function(e,...t){return uh(this,void 0,void 0,(function*(){const[n,i]=t;(0,be.p_)(U.o.isUri(n));const o=e.get(lo.S),r=e.get(Bn.p),a=e.get(bt.p),s=yield o.createModelReference(n);try{return function(e,t,n,i,o){return uh(this,void 0,void 0,(function*(){const r=function(e,t,n){const i=[],o=new Set,r=e.ordered(n);for(const e of r)i.push(e),e.extensionId&&o.add(ch.toKey(e.extensionId));const a=t.ordered(n);for(const e of a){if(e.extensionId){if(o.has(ch.toKey(e.extensionId)))continue;o.add(ch.toKey(e.extensionId))}i.push({displayName:e.displayName,extensionId:e.extensionId,provideDocumentFormattingEdits:(t,n,i)=>e.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),n,i)})}return i}(t.documentFormattingEditProvider,t.documentRangeFormattingEditProvider,n);for(const t of r){let r=yield Promise.resolve(t.provideDocumentFormattingEdits(n,i,o)).catch(me.Cp);if((0,mt.Of)(r))return yield e.computeMoreMinimalEdits(n.uri,r)}}))}(r,a,s.object.textEditorModel,i,V.T.None)}finally{s.dispose()}}))})),co.P0.registerCommand("_executeFormatOnTypeProvider",(function(e,...t){return uh(this,void 0,void 0,(function*(){const[n,i,o,r]=t;(0,be.p_)(U.o.isUri(n)),(0,be.p_)(Q.L.isIPosition(i)),(0,be.p_)("string"==typeof o);const a=e.get(lo.S),s=e.get(Bn.p),l=e.get(bt.p),c=yield a.createModelReference(n);try{return function(e,t,n,i,o,r,a){const s=t.onTypeFormattingEditProvider.ordered(n);return 0===s.length||s[0].autoFormatTriggerCharacters.indexOf(o)<0?Promise.resolve(void 0):Promise.resolve(s[0].provideOnTypeFormattingEdits(n,i,o,r,a)).catch(me.Cp).then((t=>e.computeMoreMinimalEdits(n.uri,t)))}(s,l,c.object.textEditorModel,Q.L.lift(i),o,r,V.T.None)}finally{c.dispose()}}))})),z.BH.wrappingIndent.defaultValue=0,z.BH.glyphMargin.defaultValue=!1,z.BH.autoIndent.defaultValue=3,z.BH.overviewRulerLanes.defaultValue=2,hh.setFormatterSelector(((e,t,n)=>Promise.resolve(e[0])));const ph=J();ph.editor={create:function(e,t,n){return Ru.initialize(n||{}).createInstance(Uu,e,t)},onDidCreateEditor:function(e){return Ru.get(ne.$).onCodeEditorAdd((t=>{e(t)}))},createDiffEditor:function(e,t,n){return Ru.initialize(n||{}).createInstance(Qu,e,t)},createDiffNavigator:function(e,t){return new se(e,t)},createModel:function(e,t,n){const i=Ru.get(pe.O),o=i.getLanguageIdByMimeType(t)||t;return Gu(Ru.get(fe.q),i,e,o,n)},setModelLanguage:function(e,t){const n=Ru.get(pe.O);Ru.get(fe.q).setMode(e,n.createById(t))},setModelMarkers:function(e,t,n){e&&Ru.get(la).changeOne(t,e.uri,n)},getModelMarkers:function(e){return Ru.get(la).read(e)},onDidChangeMarkers:function(e){return Ru.get(la).onMarkerChanged(e)},getModels:function(){return Ru.get(fe.q).getModels()},getModel:function(e){return Ru.get(fe.q).getModel(e)},onDidCreateModel:function(e){return Ru.get(fe.q).onModelAdded(e)},onWillDisposeModel:function(e){return Ru.get(fe.q).onModelRemoved(e)},onDidChangeModelLanguage:function(e){return Ru.get(fe.q).onModelLanguageChanged((t=>{e({model:t.model,oldLanguage:t.oldLanguageId})}))},createWebWorker:function(e){return function(e,t,n){return new Dt(e,t,n)}(Ru.get(fe.q),Ru.get(ue.c_),e)},colorizeElement:function(e,t){const n=Ru.get(pe.O),i=Ru.get(Fd);return i.registerEditorContainer(e),Zt.colorizeElement(i,n,e,t)},colorize:function(e,t,n){const i=Ru.get(pe.O);return Ru.get(Fd).registerEditorContainer(document.body),Zt.colorize(i,e,t,n)},colorizeModelLine:function(e,t,n=4){return Ru.get(Fd).registerEditorContainer(document.body),Zt.colorizeModelLine(e,t,n)},tokenize:function(e,t){Y.RW.getOrCreate(t);const n=(i=t,Y.RW.get(i)||{getInitialState:()=>he.TJ,tokenize:(e,t,n)=>(0,he.Ri)(i,n)});var i;const o=(0,ee.uq)(e),r=[];let a=n.getInitialState();for(let e=0,t=o.length;e<t;e++){const t=o[e],i=n.tokenize(t,!0,a);r[e]=i.tokens,a=i.endState}return r},defineTheme:function(e,t){Ru.get(Fd).defineTheme(e,t)},setTheme:function(e){Ru.get(Fd).setTheme(e)},remeasureFonts:function(){te.g.clearAllFontInfos()},registerCommand:function(e,t){return co.P0.registerCommand({id:e,handler:t})},AccessibilitySupport:i,ContentWidgetPositionPreference:l,CursorChangeReason:c,DefaultEndOfLine:d,EditorAutoIndentStrategy:h,EditorOption:p,EndOfLinePreference:f,EndOfLineSequence:g,MinimapPosition:C,MouseTargetType:x,OverlayWidgetPositionPreference:S,OverviewRulerLane:E,RenderLineNumbersType:M,RenderMinimap:D,ScrollbarVisibility:I,ScrollType:N,TextEditorCursorBlinkingStyle:P,TextEditorCursorStyle:F,TrackedRangeStickiness:R,WrappingIndent:j,InjectedTextCursorStops:v,PositionAffinity:k,ConfigurationChangedEvent:z.Bb,BareFontInfo:le.E4,FontInfo:le.pR,TextModelResolvedOptions:de.dJ,FindMatch:de.tk,ApplyUpdateResult:z.rk,EditorType:ce.g,EditorOptions:z.BH},ph.languages={register:function(e){Sr.dQ.registerLanguage(e)},getLanguages:function(){let e=[];return e=e.concat(Sr.dQ.getLanguages()),e},onLanguage:function(e,t){const n=Ru.get(pe.O).onDidEncounterLanguage((i=>{i===e&&(n.dispose(),t())}));return n},getEncodedLanguageId:function(e){return Ru.get(pe.O).languageIdCodec.encodeLanguageId(e)},setLanguageConfiguration:function(e,t){if(!Ru.get(pe.O).isRegisteredLanguageId(e))throw new Error(`Cannot set configuration for unknown language ${e}`);return ue.zu.register(e,t,100)},setColorMap:function(e){const t=Ru.get(Fd);if(e){const n=[null];for(let t=1,i=e.length;t<i;t++)n[t]=Ja.Il.fromHex(e[t]);t.setColorMapOverride(n)}else t.setColorMapOverride(null)},registerTokensProviderFactory:ah,setTokensProvider:function(e,t){if(!Ru.get(pe.O).isRegisteredLanguageId(e))throw new Error(`Cannot set tokens provider for unknown language ${e}`);return oh(t)?ah(e,{create:()=>t}):Y.RW.register(e,rh(e,t))},setMonarchTokensProvider:function(e,t){return oh(t)?ah(e,{create:()=>t}):Y.RW.register(e,(t=>new $t(Ru.get(pe.O),Ru.get(Fd),e,th(e,t)))(t))},registerReferenceProvider:function(e,t){return Ru.get(bt.p).referenceProvider.register(e,t)},registerRenameProvider:function(e,t){return Ru.get(bt.p).renameProvider.register(e,t)},registerCompletionItemProvider:function(e,t){return Ru.get(bt.p).completionProvider.register(e,t)},registerSignatureHelpProvider:function(e,t){return Ru.get(bt.p).signatureHelpProvider.register(e,t)},registerHoverProvider:function(e,t){return Ru.get(bt.p).hoverProvider.register(e,{provideHover:(e,n,i)=>{const o=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,i)).then((e=>{if(e)return!e.range&&o&&(e.range=new G.e(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn)),e.range||(e.range=new G.e(n.lineNumber,n.column,n.lineNumber,n.column)),e}))}})},registerDocumentSymbolProvider:function(e,t){return Ru.get(bt.p).documentSymbolProvider.register(e,t)},registerDocumentHighlightProvider:function(e,t){return Ru.get(bt.p).documentHighlightProvider.register(e,t)},registerLinkedEditingRangeProvider:function(e,t){return Ru.get(bt.p).linkedEditingRangeProvider.register(e,t)},registerDefinitionProvider:function(e,t){return Ru.get(bt.p).definitionProvider.register(e,t)},registerImplementationProvider:function(e,t){return Ru.get(bt.p).implementationProvider.register(e,t)},registerTypeDefinitionProvider:function(e,t){return Ru.get(bt.p).typeDefinitionProvider.register(e,t)},registerCodeLensProvider:function(e,t){return Ru.get(bt.p).codeLensProvider.register(e,t)},registerCodeActionProvider:function(e,t,n){return Ru.get(bt.p).codeActionProvider.register(e,{providedCodeActionKinds:null==n?void 0:n.providedCodeActionKinds,provideCodeActions:(e,n,i,o)=>{const r=Ru.get(la).read({resource:e.uri}).filter((e=>G.e.areIntersectingOrTouching(e,n)));return t.provideCodeActions(e,n,{markers:r,only:i.only},o)},resolveCodeAction:t.resolveCodeAction})},registerDocumentFormattingEditProvider:function(e,t){return Ru.get(bt.p).documentFormattingEditProvider.register(e,t)},registerDocumentRangeFormattingEditProvider:function(e,t){return Ru.get(bt.p).documentRangeFormattingEditProvider.register(e,t)},registerOnTypeFormattingEditProvider:function(e,t){return Ru.get(bt.p).onTypeFormattingEditProvider.register(e,t)},registerLinkProvider:function(e,t){return Ru.get(bt.p).linkProvider.register(e,t)},registerColorProvider:function(e,t){return Ru.get(bt.p).colorProvider.register(e,t)},registerFoldingRangeProvider:function(e,t){return Ru.get(bt.p).foldingRangeProvider.register(e,t)},registerDeclarationProvider:function(e,t){return Ru.get(bt.p).declarationProvider.register(e,t)},registerSelectionRangeProvider:function(e,t){return Ru.get(bt.p).selectionRangeProvider.register(e,t)},registerDocumentSemanticTokensProvider:function(e,t){return Ru.get(bt.p).documentSemanticTokensProvider.register(e,t)},registerDocumentRangeSemanticTokensProvider:function(e,t){return Ru.get(bt.p).documentRangeSemanticTokensProvider.register(e,t)},registerInlineCompletionsProvider:function(e,t){return Ru.get(bt.p).inlineCompletionsProvider.register(e,t)},registerInlayHintsProvider:function(e,t){return Ru.get(bt.p).inlayHintsProvider.register(e,t)},DocumentHighlightKind:u,CompletionItemKind:r,CompletionItemTag:a,CompletionItemInsertTextRule:o,SymbolKind:B,SymbolTag:O,IndentAction:m,CompletionTriggerKind:s,SignatureHelpTriggerKind:L,InlayHintKind:b,InlineCompletionTriggerKind:_,FoldingRangeKind:Y.AD};const fh=ph.CancellationTokenSource,gh=ph.Emitter,mh=ph.KeyCode,vh=ph.KeyMod,bh=ph.Position,_h=ph.Range,yh=ph.Selection,Ah=ph.SelectionDirection,wh=ph.MarkerSeverity,Ch=ph.MarkerTag,xh=ph.Uri,Sh=ph.Token,Eh=ph.editor,kh=ph.languages;((null===(dh=ve.li.MonacoEnvironment)||void 0===dh?void 0:dh.globalAPI)||n.amdO)&&(self.monaco=ph),void 0!==self.require&&"function"==typeof self.require.config&&self.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},9606:(e,t,n)=>{function i(e,t,...n){return function(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){const i=n[0];return void 0!==t[i]?t[i]:e})),n}(t,n)}n.d(t,{N:()=>i})},718:(e,t,n)=>{n.d(t,{F:()=>o,U:()=>r});var i=n(4210);const o=(0,n(7696).yh)("accessibilityService"),r=new i.uy("accessibilityModeEnabled",!1)},4028:(e,t,n)=>{n.d(t,{BH:()=>v,NZ:()=>b,U8:()=>_,co:()=>m,eH:()=>g,vr:()=>f});var i=n(913),o=n(3641),r=n(9914),a=n(4087),s=n(5666),l=n(5653),c=n(9014),d=n(4210),u=n(7696),h=n(2109),p=function(e,t){return function(n,i){t(n,i,e)}};function f(e){return void 0!==e.command}class g{constructor(e){this.id=g._idPool++,this._debugName=e}}g._idPool=0,g.CommandPalette=new g("CommandPalette"),g.DebugBreakpointsContext=new g("DebugBreakpointsContext"),g.DebugCallStackContext=new g("DebugCallStackContext"),g.DebugConsoleContext=new g("DebugConsoleContext"),g.DebugVariablesContext=new g("DebugVariablesContext"),g.DebugWatchContext=new g("DebugWatchContext"),g.DebugToolBar=new g("DebugToolBar"),g.EditorContext=new g("EditorContext"),g.SimpleEditorContext=new g("SimpleEditorContext"),g.EditorContextCopy=new g("EditorContextCopy"),g.EditorContextPeek=new g("EditorContextPeek"),g.EditorTitle=new g("EditorTitle"),g.EditorTitleRun=new g("EditorTitleRun"),g.EditorTitleContext=new g("EditorTitleContext"),g.EmptyEditorGroup=new g("EmptyEditorGroup"),g.EmptyEditorGroupContext=new g("EmptyEditorGroupContext"),g.ExplorerContext=new g("ExplorerContext"),g.ExtensionContext=new g("ExtensionContext"),g.GlobalActivity=new g("GlobalActivity"),g.LayoutControlMenuSubmenu=new g("LayoutControlMenuSubmenu"),g.LayoutControlMenu=new g("LayoutControlMenu"),g.MenubarMainMenu=new g("MenubarMainMenu"),g.MenubarAppearanceMenu=new g("MenubarAppearanceMenu"),g.MenubarDebugMenu=new g("MenubarDebugMenu"),g.MenubarEditMenu=new g("MenubarEditMenu"),g.MenubarCopy=new g("MenubarCopy"),g.MenubarFileMenu=new g("MenubarFileMenu"),g.MenubarGoMenu=new g("MenubarGoMenu"),g.MenubarHelpMenu=new g("MenubarHelpMenu"),g.MenubarLayoutMenu=new g("MenubarLayoutMenu"),g.MenubarNewBreakpointMenu=new g("MenubarNewBreakpointMenu"),g.MenubarPanelAlignmentMenu=new g("MenubarPanelAlignmentMenu"),g.MenubarPanelPositionMenu=new g("MenubarPanelPositionMenu"),g.MenubarPreferencesMenu=new g("MenubarPreferencesMenu"),g.MenubarRecentMenu=new g("MenubarRecentMenu"),g.MenubarSelectionMenu=new g("MenubarSelectionMenu"),g.MenubarSwitchEditorMenu=new g("MenubarSwitchEditorMenu"),g.MenubarSwitchGroupMenu=new g("MenubarSwitchGroupMenu"),g.MenubarTerminalMenu=new g("MenubarTerminalMenu"),g.MenubarViewMenu=new g("MenubarViewMenu"),g.MenubarHomeMenu=new g("MenubarHomeMenu"),g.OpenEditorsContext=new g("OpenEditorsContext"),g.ProblemsPanelContext=new g("ProblemsPanelContext"),g.SCMChangeContext=new g("SCMChangeContext"),g.SCMResourceContext=new g("SCMResourceContext"),g.SCMResourceFolderContext=new g("SCMResourceFolderContext"),g.SCMResourceGroupContext=new g("SCMResourceGroupContext"),g.SCMSourceControl=new g("SCMSourceControl"),g.SCMTitle=new g("SCMTitle"),g.SearchContext=new g("SearchContext"),g.StatusBarWindowIndicatorMenu=new g("StatusBarWindowIndicatorMenu"),g.StatusBarRemoteIndicatorMenu=new g("StatusBarRemoteIndicatorMenu"),g.TestItem=new g("TestItem"),g.TestItemGutter=new g("TestItemGutter"),g.TestPeekElement=new g("TestPeekElement"),g.TestPeekTitle=new g("TestPeekTitle"),g.TouchBarContext=new g("TouchBarContext"),g.TitleBarContext=new g("TitleBarContext"),g.TunnelContext=new g("TunnelContext"),g.TunnelPrivacy=new g("TunnelPrivacy"),g.TunnelProtocol=new g("TunnelProtocol"),g.TunnelPortInline=new g("TunnelInline"),g.TunnelTitle=new g("TunnelTitle"),g.TunnelLocalAddressInline=new g("TunnelLocalAddressInline"),g.TunnelOriginInline=new g("TunnelOriginInline"),g.ViewItemContext=new g("ViewItemContext"),g.ViewContainerTitle=new g("ViewContainerTitle"),g.ViewContainerTitleContext=new g("ViewContainerTitleContext"),g.ViewTitle=new g("ViewTitle"),g.ViewTitleContext=new g("ViewTitleContext"),g.CommentThreadTitle=new g("CommentThreadTitle"),g.CommentThreadActions=new g("CommentThreadActions"),g.CommentTitle=new g("CommentTitle"),g.CommentActions=new g("CommentActions"),g.InteractiveToolbar=new g("InteractiveToolbar"),g.InteractiveCellTitle=new g("InteractiveCellTitle"),g.InteractiveCellExecute=new g("InteractiveCellExecute"),g.InteractiveInputExecute=new g("InteractiveInputExecute"),g.NotebookToolbar=new g("NotebookToolbar"),g.NotebookCellTitle=new g("NotebookCellTitle"),g.NotebookCellInsert=new g("NotebookCellInsert"),g.NotebookCellBetween=new g("NotebookCellBetween"),g.NotebookCellListTop=new g("NotebookCellTop"),g.NotebookCellExecute=new g("NotebookCellExecute"),g.NotebookCellExecutePrimary=new g("NotebookCellExecutePrimary"),g.NotebookDiffCellInputTitle=new g("NotebookDiffCellInputTitle"),g.NotebookDiffCellMetadataTitle=new g("NotebookDiffCellMetadataTitle"),g.NotebookDiffCellOutputsTitle=new g("NotebookDiffCellOutputsTitle"),g.NotebookOutputToolbar=new g("NotebookOutputToolbar"),g.NotebookEditorLayoutConfigure=new g("NotebookEditorLayoutConfigure"),g.BulkEditTitle=new g("BulkEditTitle"),g.BulkEditContext=new g("BulkEditContext"),g.TimelineItemContext=new g("TimelineItemContext"),g.TimelineTitle=new g("TimelineTitle"),g.TimelineTitleContext=new g("TimelineTitleContext"),g.AccountsContext=new g("AccountsContext"),g.PanelTitle=new g("PanelTitle"),g.AuxiliaryBarTitle=new g("AuxiliaryBarTitle"),g.TerminalInstanceContext=new g("TerminalInstanceContext"),g.TerminalEditorInstanceContext=new g("TerminalEditorInstanceContext"),g.TerminalNewDropdownContext=new g("TerminalNewDropdownContext"),g.TerminalTabContext=new g("TerminalTabContext"),g.TerminalTabEmptyAreaContext=new g("TerminalTabEmptyAreaContext"),g.TerminalInlineTabContext=new g("TerminalInlineTabContext"),g.WebviewContext=new g("WebviewContext"),g.InlineCompletionsActions=new g("InlineCompletionsActions"),g.NewFile=new g("NewFile");const m=(0,u.yh)("menuService"),v=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new r.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===g.CommandPalette}}addCommand(e){return this.addCommands(a.$.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,s.OF)((()=>{let t=!1;for(const n of e)t=this._commands.delete(n.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)}))}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach(((t,n)=>e.set(n,t))),e}appendMenuItem(e,t){return this.appendMenuItems(a.$.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,n=new l.S;for(const{id:i,item:o}of e){let e=this._menuItems.get(i);e||(e=new l.S,this._menuItems.set(i,e)),n.push(e.push(o)),t.add(i)}return this._onDidChangeMenu.fire(t),(0,s.OF)((()=>{if(n.size>0){for(let e of n)e();this._onDidChangeMenu.fire(t),n.clear()}}))}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===g.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const n of e)f(n)&&(t.add(n.command.id),n.alt&&t.add(n.alt.id));this._commands.forEach(((n,i)=>{t.has(i)||e.push({command:n})}))}};class b extends i.wY{constructor(e,t,n,i){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,[],"submenu"),this.item=e,this._menuService=t,this._contextKeyService=n,this._options=i}get actions(){const e=[],t=this._menuService.createMenu(this.item.submenu,this._contextKeyService),n=t.getActions(this._options);t.dispose();for(const[,t]of n)t.length>0&&(e.push(...t),e.push(new i.Z0));return e.length&&e.pop(),e}}let _=class e{constructor(t,n,i,r,a){var s,l;if(this._commandService=a,this.id=t.id,this.label=(null==i?void 0:i.renderShortTitle)&&t.shortTitle?"string"==typeof t.shortTitle?t.shortTitle:t.shortTitle.value:"string"==typeof t.title?t.title:t.title.value,this.tooltip=null!==(l="string"==typeof t.tooltip?t.tooltip:null===(s=t.tooltip)||void 0===s?void 0:s.value)&&void 0!==l?l:"",this.enabled=!t.precondition||r.contextMatchesRules(t.precondition),this.checked=void 0,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this.checked=r.contextMatchesRules(e.condition),this.checked&&e.tooltip&&(this.tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value),e.title&&(this.label="string"==typeof e.title?e.title:e.title.value)}this.item=t,this.alt=n?new e(n,void 0,i,r,a):void 0,this._options=i,h.kS.isThemeIcon(t.icon)&&(this.class=o.dT.asClassName(t.icon))}dispose(){}run(...e){var t,n;let i=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(i=[...i,this._options.arg]),(null===(n=this._options)||void 0===n?void 0:n.shouldForwardArgs)&&(i=[...i,...e]),this._commandService.executeCommand(this.id,...i)}};_=function(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}([p(3,d.i6),p(4,c.Hy)],_)},6029:(e,t,n)=>{n.d(t,{p:()=>i});const i=(0,n(7696).yh)("clipboardService")},9014:(e,t,n)=>{n.d(t,{Hy:()=>l,P0:()=>c});var i=n(9914),o=n(4087),r=n(5666),a=n(5653),s=n(8725);const l=(0,n(7696).yh)("commandService"),c=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new i.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){const t=[];for(let n of e.description.args)t.push(n.constraint);const n=e.handler;e.handler=function(e,...i){return(0,s.D8)(i,t),n(e,...i)}}const{id:n}=e;let i=this._commands.get(n);i||(i=new a.S,this._commands.set(n,i));let o=i.unshift(e),l=(0,r.OF)((()=>{o();const e=this._commands.get(n);(null==e?void 0:e.isEmpty())&&this._commands.delete(n)}));return this._onDidRegisterCommand.fire(n),l}registerCommandAlias(e,t){return c.registerCommand(e,((e,...n)=>e.get(l).executeCommand(t,...n)))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return o.$.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const n=this.getCommand(t);n&&e.set(t,n)}return e}};c.registerCommand("noop",(()=>{}))},3587:(e,t,n)=>{n.d(t,{KV:()=>r,Mt:()=>l,Od:()=>o,Ui:()=>i,xL:()=>a});const i=(0,n(7696).yh)("configurationService");function o(e,t){const n=Object.create(null);for(let i in e)r(n,i,e[i],t);return n}function r(e,t,n,i){const o=t.split("."),r=o.pop();let a=e;for(let e=0;e<o.length;e++){let n=o[e],r=a[n];switch(typeof r){case"undefined":r=a[n]=Object.create(null);break;case"object":break;default:return void i(`Ignoring ${t} as ${o.slice(0,e+1).join(".")} is ${JSON.stringify(r)}`)}a=r}if("object"==typeof a&&null!==a)try{a[r]=n}catch(e){i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(a)}`)}else i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(a)}`)}function a(e,t){s(e,t.split("."))}function s(e,t){const n=t.shift();if(0!==t.length){if(-1!==Object.keys(e).indexOf(n)){const i=e[n];"object"!=typeof i||Array.isArray(i)||(s(i,t),0===Object.keys(i).length&&delete e[n])}}else delete e[n]}function l(e,t,n){const i=function(e,t){let n=e;for(const e of t){if("object"!=typeof n||null===n)return;n=n[e]}return n}(e,t.split("."));return void 0===i?n:i}},850:(e,t,n)=>{n.d(t,{IP:()=>c,eU:()=>_,ny:()=>y});var i=n(6918),o=n(9914),r=n(8725),a=n(9606),s=n(2309),l=n(470);const c={Configuration:"base.contributions.configuration"},d={properties:{},patternProperties:{}},u={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},f={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},m="vscode://schemas/settings/resourceLanguage",v=l.B.as(s.I.JSONContribution),b=new RegExp("\\[([^\\]]+)\\]","g"),_=new RegExp("^(\\[([^\\]]+)\\])+$");function y(e){const t=[];if(_.test(e)){let n=b.exec(e);for(;null==n?void 0:n.length;){const i=n[1].trim();i&&t.push(i),n=b.exec(e)}}return(0,i.EB)(t)}const A=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new o.Q5,this._onDidUpdateConfiguration=new o.Q5,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:a.N("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},v.registerSchema(m,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=this.doRegisterConfigurations(e,t);v.registerSchema(m,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n})}registerDefaultConfigurations(e){var t;const n=[],i=[];for(const{overrides:o,source:s}of e)for(const e in o)if(n.push(e),_.test(e)){const n=Object.assign(Object.assign({},(null===(t=this.configurationDefaultsOverrides.get(e))||void 0===t?void 0:t.value)||{}),o[e]);this.configurationDefaultsOverrides.set(e,{source:s,value:n});const l={type:"object",default:n,description:a.N("defaultLanguageConfiguration.description","Configure settings to be overridden for {0} language.",e),$ref:m,defaultDefaultValue:n,source:r.HD(s)?void 0:s};i.push(...y(e)),this.configurationProperties[e]=l,this.defaultLanguageConfigurationOverridesNode.properties[e]=l}else{this.configurationDefaultsOverrides.set(e,{value:o[e],source:s});const t=this.configurationProperties[e];t&&(this.updatePropertyDefaultValue(e,t),this.updateSchema(e,t))}this.registerOverrideIdentifiers(i),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n,defaultsOverrides:!0})}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(e,t){const n=[];return e.forEach((e=>{n.push(...this.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)})),n}validateAndRegisterProperties(e,t=!0,n,i,o=3){o=r.Jp(e.scope)?o:e.scope;let a=[],s=e.properties;if(s)for(let e in s){if(t&&w(e)){delete s[e];continue}const l=s[e];l.source=n,l.defaultDefaultValue=s[e].default,this.updatePropertyDefaultValue(e,l),_.test(e)?l.scope=void 0:(l.scope=r.Jp(l.scope)?o:l.scope,l.restricted=r.Jp(l.restricted)?!!(null==i?void 0:i.includes(e)):l.restricted),!s[e].hasOwnProperty("included")||s[e].included?(this.configurationProperties[e]=s[e],!s[e].deprecationMessage&&s[e].markdownDeprecationMessage&&(s[e].deprecationMessage=s[e].markdownDeprecationMessage),a.push(e)):(this.excludedConfigurationProperties[e]=s[e],delete s[e])}let l=e.allOf;if(l)for(let e of l)a.push(...this.validateAndRegisterProperties(e,t,n,i,o));return a}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{let n=e.properties;if(n)for(const e in n)this.updateSchema(e,n[e]);let i=e.allOf;i&&i.forEach(t)};t(e)}updateSchema(e,t){switch(d.properties[e]=t,t.scope){case 1:u.properties[e]=t;break;case 2:h.properties[e]=t;break;case 6:p.properties[e]=t;break;case 3:f.properties[e]=t;break;case 4:g.properties[e]=t;break;case 5:g.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,n={type:"object",description:a.N("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:a.N("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:m};this.updatePropertyDefaultValue(t,n),d.properties[t]=n,u.properties[t]=n,h.properties[t]=n,p.properties[t]=n,f.properties[t]=n,g.properties[t]=n}this._onDidSchemaChange.fire()}registerOverridePropertyPatternKey(){const e={type:"object",description:a.N("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:a.N("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:m};d.patternProperties["^(\\[([^\\]]+)\\])+$"]=e,u.patternProperties["^(\\[([^\\]]+)\\])+$"]=e,h.patternProperties["^(\\[([^\\]]+)\\])+$"]=e,p.patternProperties["^(\\[([^\\]]+)\\])+$"]=e,f.patternProperties["^(\\[([^\\]]+)\\])+$"]=e,g.patternProperties["^(\\[([^\\]]+)\\])+$"]=e,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){const n=this.configurationDefaultsOverrides.get(e);let i=null==n?void 0:n.value,o=null==n?void 0:n.source;r.o8(i)&&(i=t.defaultDefaultValue,o=void 0),r.o8(i)&&(i=function(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=i,t.defaultValueSource=o}};function w(e){return e.trim()?_.test(e)?a.N("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==A.getConfigurationProperties()[e]?a.N("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null:a.N("config.property.empty","Cannot register an empty property")}l.B.add(c.Configuration,A)},4210:(e,t,n)=>{n.d(t,{Ao:()=>l,Eq:()=>I,Fb:()=>c,K8:()=>B,i6:()=>N,uy:()=>D});var i=n(1204),o=n(8241),r=n(7696);const a=new Map;a.set("false",!1),a.set("true",!0),a.set("isMac",i.dz),a.set("isLinux",i.IJ),a.set("isWindows",i.ED),a.set("isWeb",i.$L),a.set("isMacNative",i.dz&&!i.$L),a.set("isEdge",i.un),a.set("isFirefox",i.vU),a.set("isChrome",i.i7),a.set("isSafari",i.G6);const s=Object.prototype.hasOwnProperty;class l{static has(e){return p.create(e)}static equals(e,t){return f.create(e,t)}static regex(e,t){return x.create(e,t)}static not(e){return b.create(e)}static and(...e){return k.create(e,null)}static or(...e){return M.create(e,null,!0)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split("||");return M.create(n.map((e=>this._deserializeAndExpression(e,t))),null,!0)}static _deserializeAndExpression(e,t){let n=e.split("&&");return k.create(n.map((e=>this._deserializeOne(e,t))),null)}static _deserializeOne(e,t){if((e=e.trim()).indexOf("!=")>=0){let n=e.split("!=");return v.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){let n=e.split("==");return f.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){let n=e.split("=~");return x.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return g.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){const t=e.split(">=");return A.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){const t=e.split(">");return y.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){const t=e.split("<=");return C.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){const t=e.split("<");return w.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?b.create(e.substr(1).trim()):p.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if((0,o.m5)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let n=e.indexOf("/"),i=e.lastIndexOf("/");if(n===i||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let r=e.slice(n+1,i),a="i"===e[i+1]?"i":"";try{return new RegExp(r,a)}catch(n){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${n}`);return console.warn(`bad regexp-value '${e}', parse error: ${n}`),null}}}function c(e,t){const n=e?e.substituteConstants():void 0,i=t?t.substituteConstants():void 0;return!n&&!i||!(!n||!i)&&n.equals(i)}function d(e,t){return e.cmp(t)}class u{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}u.INSTANCE=new u;class h{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return u.INSTANCE}}h.INSTANCE=new h;class p{constructor(e,t){this.key=e,this.negated=t,this.type=2}static create(e,t=null){const n=a.get(e);return"boolean"==typeof n?n?h.INSTANCE:u.INSTANCE:new p(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:T(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){const e=a.get(this.key);return"boolean"==typeof e?e?h.INSTANCE:u.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this.key,this)),this.negated}}class f{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=4}static create(e,t,n=null){if("boolean"==typeof t)return t?p.create(e,n):b.create(e,n);const i=a.get(e);return"boolean"==typeof i?t===(i?"true":"false")?h.INSTANCE:u.INSTANCE:new f(e,t,n)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){const e=a.get(this.key);if("boolean"==typeof e){const t=e?"true":"false";return this.value===t?h.INSTANCE:u.INSTANCE}return this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class g{constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}static create(e,t){return new g(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}substituteConstants(){return this}evaluate(e){const t=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:"string"==typeof n&&"object"==typeof t&&null!==t&&s.call(t,n)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=m.create(this)),this.negated}}class m{constructor(e){this._actual=e,this.type=11}static create(e){return new m(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class v{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=5}static create(e,t,n=null){if("boolean"==typeof t)return t?b.create(e,n):p.create(e,n);const i=a.get(e);return"boolean"==typeof i?t===(i?"true":"false")?u.INSTANCE:h.INSTANCE:new v(e,t,n)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){const e=a.get(this.key);if("boolean"==typeof e){const t=e?"true":"false";return this.value===t?u.INSTANCE:h.INSTANCE}return this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class b{constructor(e,t){this.key=e,this.negated=t,this.type=3}static create(e,t=null){const n=a.get(e);return"boolean"==typeof n?n?u.INSTANCE:h.INSTANCE:new b(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:T(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){const e=a.get(this.key);return"boolean"==typeof e?e?u.INSTANCE:h.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this)),this.negated}}function _(e,t){if("string"==typeof e){const t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):u.INSTANCE}class y{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=12}static create(e,t,n=null){return _(t,(t=>new y(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class A{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=13}static create(e,t,n=null){return _(t,(t=>new A(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class w{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=14}static create(e,t,n=null){return _(t,(t=>new w(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}class C{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=15}static create(e,t,n=null){return _(t,(t=>new C(e,t,n)))}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this.value,this)),this.negated}}class x{constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}static create(e,t){return new x(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(e){this._actual=e,this.type=8}static create(e){return new S(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function E(e){let t=null;for(let n=0,i=e.length;n<i;n++){const i=e[n].substituteConstants();if(e[n]!==i&&null===t){t=[];for(let i=0;i<n;i++)t[i]=e[i]}null!==t&&(t[n]=i)}return null===t?e:t}class k{constructor(e,t){this.expr=e,this.negated=t,this.type=6}static create(e,t){return k._normalizeArr(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=d(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=E(this.expr);return e===this.expr?this:k.create(e,this.negated)}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e,t){const n=[];let i=!1;for(const t of e)if(t)if(1!==t.type){if(0===t.type)return u.INSTANCE;6!==t.type?n.push(t):n.push(...t.expr)}else i=!0;if(0===n.length&&i)return h.INSTANCE;if(0!==n.length){if(1===n.length)return n[0];n.sort(d);for(let e=1;e<n.length;e++)n[e-1].equals(n[e])&&(n.splice(e,1),e--);if(1===n.length)return n[0];for(;n.length>1;){const e=n[n.length-1];if(9!==e.type)break;n.pop();const t=n.pop(),i=0===n.length,o=M.create(e.expr.map((e=>k.create([e,t],null))),null,i);o&&(n.push(o),n.sort(d))}return 1===n.length?n[0]:new k(n,t)}}serialize(){return this.expr.map((e=>e.serialize())).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(let t of this.expr)e.push(t.negate());this.negated=M.create(e,this,!0)}return this.negated}}class M{constructor(e,t){this.expr=e,this.negated=t,this.type=9}static create(e,t,n){return M._normalizeArr(e,t,n)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=d(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=E(this.expr);return e===this.expr?this:M.create(e,this.negated,!1)}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e,t,n){let i=[],o=!1;if(e){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n)if(0!==n.type){if(1===n.type)return h.INSTANCE;9!==n.type?i.push(n):i=i.concat(n.expr)}else o=!0}if(0===i.length&&o)return u.INSTANCE;i.sort(d)}if(0!==i.length){if(1===i.length)return i[0];for(let e=1;e<i.length;e++)i[e-1].equals(i[e])&&(i.splice(e,1),e--);if(1===i.length)return i[0];if(n){for(let e=0;e<i.length;e++)for(let t=e+1;t<i.length;t++)B(i[e],i[t])&&(i.splice(t,1),t--);if(1===i.length)return i[0]}return new M(i,t)}}serialize(){return this.expr.map((e=>e.serialize())).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){const t=e.shift(),n=e.shift(),i=[];for(const e of O(t))for(const t of O(n))i.push(k.create([e,t],null));const o=0===e.length;e.unshift(M.create(i,null,o))}this.negated=e[0]}return this.negated}}class D extends p{constructor(e,t,n){super(e,null),this._defaultValue=t,"object"==typeof n?D._info.push(Object.assign(Object.assign({},n),{key:e})):!0!==n&&D._info.push({key:e,description:n,type:null!=t?typeof t:void 0})}static all(){return D._info.values()}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return f.create(this.key,e)}}D._info=[];const N=(0,r.yh)("contextKeyService"),I="setContext";function T(e,t){return e<t?-1:e>t?1:0}function L(e,t,n,i){return e<n?-1:e>n?1:t<i?-1:t>i?1:0}function B(e,t){if(6===t.type&&9!==e.type&&6!==e.type)for(const n of t.expr)if(e.equals(n))return!0;const n=O(e.negate()).concat(O(t));n.sort(d);for(let e=0;e<n.length;e++){const t=n[e].negate();for(let i=e+1;i<n.length;i++){const e=n[i];if(t.equals(e))return!0}}return!1}function O(e){return 9===e.type?e.expr:[e]}},1801:(e,t,n)=>{n.d(t,{i:()=>r,u:()=>o});var i=n(7696);const o=(0,i.yh)("contextViewService"),r=(0,i.yh)("contextMenuService")},541:(e,t,n)=>{n.d(t,{M:()=>i});class i{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}},101:(e,t,n)=>{n.d(t,{d:()=>a,z:()=>r});var i=n(541);const o=[];function r(e,t,n){t instanceof i.M||(t=new i.M(t,[],n)),o.push([e,t])}function a(){return o}},7696:(e,t,n)=>{var i;n.d(t,{I8:()=>i,TG:()=>o,yh:()=>a}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));const o=a("instantiationService");function r(e,t,n){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n}],t[i.DI_TARGET]=t)}function a(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,i)};return t.toString=()=>e,i.serviceIds.set(e,t),t}},9716:(e,t,n)=>{n.d(t,{y:()=>i});class i{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}get(e){return this._entries.get(e)}}},2309:(e,t,n)=>{n.d(t,{I:()=>r});var i=n(9914),o=n(470);const r={JSONContribution:"base.contributions.json"},a=new class{constructor(){this._onDidChangeSchema=new i.Q5,this.schemasById={}}registerSchema(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};o.B.add(r.JSONContribution,a)},6777:(e,t,n)=>{n.d(t,{d:()=>i});const i=(0,n(7696).yh)("keybindingService")},3161:(e,t,n)=>{n.d(t,{W:()=>l});var i=n(4130),o=n(1204),r=n(9014),a=n(470);class s{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.OS){if(e&&e.win)return e.win}else if(2===o.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=s.bindToCurrentPlatform(e);if(t&&t.primary){const n=(0,i.gm)(t.primary,o.OS);n&&this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let n=0,r=t.secondary.length;n<r;n++){const r=t.secondary[n],a=(0,i.gm)(r,o.OS);a&&this._registerDefaultKeybinding(a,e.id,e.args,e.weight,-n-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),r.P0.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||e>=31&&e<=56||80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&s._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)}_registerDefaultKeybinding(e,t,n,i,r,a){1===o.OS&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e.parts,command:t,commandArgs:n,when:a,weight1:i,weight2:r,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(c)),this._cachedMergedKeybindings.slice(0)}}const l=new s;function c(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}a.B.add("platform.keybindingsRegistry",l)},5364:(e,t,n)=>{n.d(t,{e:()=>i});const i=(0,n(7696).yh)("labelService")},1990:(e,t,n)=>{n.d(t,{$V:()=>d,VZ:()=>r,in:()=>a,kw:()=>c});var i=n(9914),o=n(5666);const r=(0,n(7696).yh)("logService");var a;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(a||(a={}));const s=a.Info;class l extends o.JT{constructor(){super(...arguments),this.level=s,this._onDidChangeLogLevel=this._register(new i.Q5)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class c extends l{constructor(e=s){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=a.Trace&&console.log("%cTRACE","color: #888",e,...t)}debug(e,...t){this.getLevel()<=a.Debug&&console.log("%cDEBUG","background: #eee; color: #888",e,...t)}info(e,...t){this.getLevel()<=a.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=a.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}class d extends o.JT{constructor(e){super(),this.logger=e,this._register(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},655:(e,t,n)=>{n.d(t,{EO:()=>o,lT:()=>i}),n(9371);const i=(0,n(7696).yh)("notificationService");class o{}},2042:(e,t,n)=>{n.d(t,{Gs:()=>d,v4:()=>l,xI:()=>u,xn:()=>c});var i=n(5666),o=n(8241),r=n(6283),a=n(7696),s=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};const l=(0,a.yh)("openerService");function c(e,t){return r.o.isUri(e)?(0,o.qq)(e.scheme,t):(0,o.ok)(e,t+":")}function d(e,...t){return t.some((t=>c(e,t)))}function u(e){let t;const n=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return n&&(t={startLineNumber:parseInt(n[1]),startColumn:n[2]?parseInt(n[2]):1,endLineNumber:n[4]?parseInt(n[4]):void 0,endColumn:n[4]?n[5]?parseInt(n[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}Object.freeze({_serviceBrand:void 0,registerOpener:()=>i.JT.None,registerValidator:()=>i.JT.None,registerExternalUriResolver:()=>i.JT.None,setDefaultExternalOpener(){},registerExternalOpener:()=>i.JT.None,open(){return s(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return s(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}})},470:(e,t,n)=>{n.d(t,{B:()=>r});var i=n(6141),o=n(8725);const r=new class{constructor(){this.data=new Map}add(e,t){i.ok(o.HD(e)),i.ok(o.Kn(t)),i.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},7349:(e,t,n)=>{n.d(t,{Uy:()=>p,vm:()=>m,fk:()=>f});var i,o=n(9914),r=n(5666),a=n(8725),s=n(7685),l=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))};!function(e){e[e.None=0]="None",e[e.Initialized=1]="Initialized",e[e.Closed=2]="Closed"}(i||(i={}));class c extends r.JT{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new o.Q5),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=i.None,this.cache=new Map,this.flushDelayer=new s.rH(c.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal((e=>this.onDidChangeItemsExternal(e))))}onDidChangeItemsExternal(e){var t,n;null===(t=e.changed)||void 0===t||t.forEach(((e,t)=>this.accept(t,e))),null===(n=e.deleted)||void 0===n||n.forEach((e=>this.accept(e,void 0)))}accept(e,t){if(this.state===i.Closed)return;let n=!1;(0,a.Jp)(t)?n=this.cache.delete(e):this.cache.get(e)!==t&&(this.cache.set(e,t),n=!0),n&&this._onDidChangeStorage.fire(e)}get(e,t){const n=this.cache.get(e);return(0,a.Jp)(n)?t:n}getBoolean(e,t){const n=this.get(e);return(0,a.Jp)(n)?t:"true"===n}getNumber(e,t){const n=this.get(e);return(0,a.Jp)(n)?t:parseInt(n,10)}set(e,t){return l(this,void 0,void 0,(function*(){if(this.state===i.Closed)return;if((0,a.Jp)(t))return this.delete(e);const n=String(t);return this.cache.get(e)!==n?(this.cache.set(e,n),this.pendingInserts.set(e,n),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire(e),this.doFlush()):void 0}))}delete(e){return l(this,void 0,void 0,(function*(){if(this.state!==i.Closed)return this.cache.delete(e)?(this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire(e),this.doFlush()):void 0}))}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}flushPending(){return l(this,void 0,void 0,(function*(){if(!this.hasPending)return;const e={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(e).finally((()=>{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null===(e=this.whenFlushedCallbacks.pop())||void 0===e||e()}))}))}doFlush(e){return l(this,void 0,void 0,(function*(){return this.flushDelayer.trigger((()=>this.flushPending()),e)}))}dispose(){this.flushDelayer.dispose(),super.dispose()}}c.DEFAULT_FLUSH_DELAY=100;class d{constructor(){this.onDidChangeItemsExternal=o.ju.None,this.items=new Map}updateItems(e){return l(this,void 0,void 0,(function*(){e.insert&&e.insert.forEach(((e,t)=>this.items.set(t,e))),e.delete&&e.delete.forEach((e=>this.items.delete(e)))}))}}var u=n(7696);const h="__$__targetStorageMarker",p=(0,u.yh)("storageService");var f;!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(f||(f={}));class g extends r.JT{constructor(e={flushInterval:g.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new o.K3),this._onDidChangeTarget=this._register(new o.K3),this._onWillSaveState=this._register(new o.Q5),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._globalKeyTargets=void 0}emitDidChangeValue(e,t){t===h?(0===e?this._globalKeyTargets=void 0:1===e&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,n){var i;return null===(i=this.getStorage(t))||void 0===i?void 0:i.get(e,n)}getBoolean(e,t,n){var i;return null===(i=this.getStorage(t))||void 0===i?void 0:i.getBoolean(e,n)}getNumber(e,t,n){var i;return null===(i=this.getStorage(t))||void 0===i?void 0:i.getNumber(e,n)}store(e,t,n,i){(0,a.Jp)(t)?this.remove(e,n):this.withPausedEmitters((()=>{var o;this.updateKeyTarget(e,n,i),null===(o=this.getStorage(n))||void 0===o||o.set(e,t)}))}remove(e,t){this.withPausedEmitters((()=>{var n;this.updateKeyTarget(e,t,void 0),null===(n=this.getStorage(t))||void 0===n||n.delete(e)}))}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,n){var i,o;const r=this.getKeyTargets(t);"number"==typeof n?r[e]!==n&&(r[e]=n,null===(i=this.getStorage(t))||void 0===i||i.set(h,JSON.stringify(r))):"number"==typeof r[e]&&(delete r[e],null===(o=this.getStorage(t))||void 0===o||o.set(h,JSON.stringify(r)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get globalKeyTargets(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}getKeyTargets(e){return 0===e?this.globalKeyTargets:this.workspaceKeyTargets}loadKeyTargets(e){const t=this.get(h,e);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}}g.DEFAULT_FLUSH_INTERVAL=6e4;class m extends g{constructor(){super(),this.globalStorage=this._register(new c(new d)),this.workspaceStorage=this._register(new c(new d)),this._register(this.workspaceStorage.onDidChangeStorage((e=>this.emitDidChangeValue(1,e)))),this._register(this.globalStorage.onDidChangeStorage((e=>this.emitDidChangeValue(0,e))))}getStorage(e){return 0===e?this.globalStorage:this.workspaceStorage}}},5314:(e,t,n)=>{n.d(t,{b:()=>i});const i=(0,n(7696).yh)("telemetryService")},3770:(e,t,n)=>{n.d(t,{$DX:()=>vt,$d5:()=>qe,ABB:()=>W,AS1:()=>Ze,AWI:()=>fe,C3g:()=>k,CA6:()=>Ot,Cdg:()=>pt,CzK:()=>Se,D0T:()=>oe,D1_:()=>ae,DEr:()=>ft,Dut:()=>ee,E3h:()=>bt,EPQ:()=>x,EQn:()=>lt,ES4:()=>be,F3d:()=>$e,F9q:()=>Be,GO4:()=>P,Gj_:()=>It,Gwp:()=>Xe,Hz8:()=>gt,IPX:()=>u,Itd:()=>Bt,Ivo:()=>Tt,K19:()=>ge,LLc:()=>Fe,L_H:()=>Q,L_t:()=>Re,M6C:()=>He,MUv:()=>ye,NOs:()=>ie,NPS:()=>dt,OZR:()=>N,Oop:()=>Ve,P4M:()=>Me,P6G:()=>p,P6Y:()=>Le,PX0:()=>et,QO2:()=>d,RV_:()=>S,Rzx:()=>_e,SUG:()=>E,Saq:()=>rt,Snq:()=>Ht,T83:()=>X,Tnx:()=>Ue,UnT:()=>at,Vqd:()=>ht,XL$:()=>Oe,Xy4:()=>Pt,YI3:()=>C,ZGJ:()=>_t,ZnX:()=>zt,_2n:()=>ze,_bK:()=>je,_lC:()=>w,_t9:()=>D,_wn:()=>z,b6y:()=>K,b7$:()=>O,brw:()=>Ft,c63:()=>Z,cbQ:()=>ut,cvW:()=>ne,dCr:()=>We,dRz:()=>f,dt_:()=>A,etL:()=>V,fEB:()=>te,few:()=>q,g8u:()=>R,gpD:()=>Y,hEj:()=>me,hzo:()=>De,j51:()=>Ie,j5u:()=>B,jbW:()=>mt,kJk:()=>de,kVY:()=>Lt,keg:()=>Ee,kvU:()=>Ke,lRK:()=>m,lWp:()=>pe,lXJ:()=>G,loF:()=>ce,mHy:()=>Pe,mV1:()=>Je,oQ$:()=>he,oSI:()=>ot,opG:()=>ue,ov3:()=>Nt,pW3:()=>J,paE:()=>M,qeD:()=>j,rg2:()=>Qe,rh:()=>b,s$:()=>Ye,sEe:()=>_,tZ6:()=>le,uoC:()=>$,uxu:()=>st,vGG:()=>it,xL1:()=>v,xi6:()=>Ne,yb5:()=>ve,ynu:()=>H,ypS:()=>ke,ytC:()=>Ge,zJb:()=>y,zKr:()=>se,zOm:()=>Te,zRJ:()=>U});var i=n(7685),o=n(5738),r=n(9914),a=n(8725),s=n(9606),l=n(2309),c=n(470);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}const u={ColorContribution:"base.contributions.colors"},h=new class{constructor(){this._onDidChangeSchema=new r.Q5,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){let r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;let a={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(a.deprecationMessage=o),this.colorSchema.properties[e]=a,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&&n.defaults)return Ht(n.defaults[t.type],t)}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort(((e,t)=>{let 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 h.registerColor(e,t,n,i,o)}c.B.add(u.ColorContribution,h);const f=p("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.N("foreground","Overall foreground color. This color is only used if not overridden by a component.")),g=(p("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},s.N("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),p("descriptionForeground",{light:"#717171",dark:zt(f,.7),hc:zt(f,.7)},s.N("descriptionForeground","Foreground color for description text providing additional information, for example for a label.")),p("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},s.N("iconForeground","The default color for icons in the workbench.")),p("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},s.N("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component."))),m=p("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.N("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),v=p("contrastActiveBorder",{light:null,dark:null,hc:g},s.N("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),b=(p("selection.background",{light:null,dark:null,hc:null},s.N("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.")),p("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hc:o.Il.black},s.N("textSeparatorForeground","Color for text separators.")),p("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.N("textLinkForeground","Foreground color for links in text.")),p("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.N("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),p("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hc:"#D7BA7D"},s.N("textPreformatForeground","Foreground color for preformatted text segments.")),p("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hc:null},s.N("textBlockQuoteBackground","Background color for block quotes in text.")),p("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hc:o.Il.white},s.N("textBlockQuoteBorder","Border color for block quotes in text.")),p("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.Il.black},s.N("textCodeBlockBackground","Background color for code blocks in text.")),p("widget.shadow",{dark:zt(o.Il.black,.36),light:zt(o.Il.black,.16),hc:null},s.N("widgetShadow","Shadow color of widgets such as find/replace inside the editor."))),_=p("input.background",{dark:"#3C3C3C",light:o.Il.white,hc:o.Il.black},s.N("inputBoxBackground","Input box background.")),y=p("input.foreground",{dark:f,light:f,hc:f},s.N("inputBoxForeground","Input box foreground.")),A=p("input.border",{dark:null,light:null,hc:m},s.N("inputBoxBorder","Input box border.")),w=(p("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:m},s.N("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),p("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hc:null},s.N("inputOption.hoverBackground","Background color of activated options in input fields.")),p("inputOption.activeBackground",{dark:zt(g,.4),light:zt(g,.2),hc:o.Il.transparent},s.N("inputOption.activeBackground","Background hover color of options in input fields.")),p("inputOption.activeForeground",{dark:o.Il.white,light:o.Il.black,hc:null},s.N("inputOption.activeForeground","Foreground color of activated options in input fields.")),p("input.placeholderForeground",{light:zt(f,.5),dark:zt(f,.5),hc:zt(f,.7)},s.N("inputPlaceholderForeground","Input box foreground color for placeholder text.")),p("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.Il.black},s.N("inputValidationInfoBackground","Input validation background color for information severity."))),C=p("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.N("inputValidationInfoForeground","Input validation foreground color for information severity.")),x=p("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:m},s.N("inputValidationInfoBorder","Input validation border color for information severity.")),S=p("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.Il.black},s.N("inputValidationWarningBackground","Input validation background color for warning severity.")),E=p("inputValidation.warningForeground",{dark:null,light:null,hc:null},s.N("inputValidationWarningForeground","Input validation foreground color for warning severity.")),k=p("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:m},s.N("inputValidationWarningBorder","Input validation border color for warning severity.")),M=p("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.Il.black},s.N("inputValidationErrorBackground","Input validation background color for error severity.")),D=p("inputValidation.errorForeground",{dark:null,light:null,hc:null},s.N("inputValidationErrorForeground","Input validation foreground color for error severity.")),N=p("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:m},s.N("inputValidationErrorBorder","Input validation border color for error severity.")),I=p("dropdown.background",{dark:"#3C3C3C",light:o.Il.white,hc:o.Il.black},s.N("dropdownBackground","Dropdown background.")),T=(p("dropdown.listBackground",{dark:null,light:null,hc:o.Il.black},s.N("dropdownListBackground","Dropdown list background.")),p("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:o.Il.white},s.N("dropdownForeground","Dropdown foreground."))),L=p("dropdown.border",{dark:I,light:"#CECECE",hc:m},s.N("dropdownBorder","Dropdown border.")),B=(p("checkbox.background",{dark:I,light:I,hc:I},s.N("checkbox.background","Background color of checkbox widget.")),p("checkbox.foreground",{dark:T,light:T,hc:T},s.N("checkbox.foreground","Foreground color of checkbox widget.")),p("checkbox.border",{dark:L,light:L,hc:L},s.N("checkbox.border","Border color of checkbox widget.")),p("button.foreground",{dark:o.Il.white,light:o.Il.white,hc:o.Il.white},s.N("buttonForeground","Button foreground color."))),O=p("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},s.N("buttonBackground","Button background color.")),P=p("button.hoverBackground",{dark:jt(O,.2),light:Rt(O,.2),hc:null},s.N("buttonHoverBackground","Button background color when hovering.")),F=(p("button.border",{dark:m,light:m,hc:m},s.N("buttonBorder","Button border color.")),p("button.secondaryForeground",{dark:o.Il.white,light:o.Il.white,hc:o.Il.white},s.N("buttonSecondaryForeground","Secondary button foreground color.")),p("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hc:null},s.N("buttonSecondaryBackground","Secondary button background color."))),R=(p("button.secondaryHoverBackground",{dark:jt(F,.2),light:Rt(F,.2),hc:null},s.N("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),p("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:o.Il.black},s.N("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count."))),j=p("badge.foreground",{dark:o.Il.white,light:"#333",hc:o.Il.white},s.N("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),z=p("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.N("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),V=p("scrollbarSlider.background",{dark:o.Il.fromHex("#797979").transparent(.4),light:o.Il.fromHex("#646464").transparent(.4),hc:zt(m,.6)},s.N("scrollbarSliderBackground","Scrollbar slider background color.")),W=p("scrollbarSlider.hoverBackground",{dark:o.Il.fromHex("#646464").transparent(.7),light:o.Il.fromHex("#646464").transparent(.7),hc:zt(m,.8)},s.N("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),H=p("scrollbarSlider.activeBackground",{dark:o.Il.fromHex("#BFBFBF").transparent(.4),light:o.Il.fromHex("#000000").transparent(.6),hc:m},s.N("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),U=p("progressBar.background",{dark:o.Il.fromHex("#0E70C0"),light:o.Il.fromHex("#0E70C0"),hc:m},s.N("progressBarBackground","Background color of the progress bar that can show for long running operations.")),Q=p("editorError.background",{dark:null,light:null,hc:null},s.N("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),G=p("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hc:null},s.N("editorError.foreground","Foreground color of error squigglies in the editor.")),K=p("editorError.border",{dark:null,light:null,hc:o.Il.fromHex("#E47777").transparent(.8)},s.N("errorBorder","Border color of error boxes in the editor.")),Y=p("editorWarning.background",{dark:null,light:null,hc:null},s.N("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),$=p("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hc:null},s.N("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),J=p("editorWarning.border",{dark:null,light:null,hc:o.Il.fromHex("#FFCC00").transparent(.8)},s.N("warningBorder","Border color of warning boxes in the editor.")),q=p("editorInfo.background",{dark:null,light:null,hc:null},s.N("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Z=p("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hc:"#3794FF"},s.N("editorInfo.foreground","Foreground color of info squigglies in the editor.")),X=p("editorInfo.border",{dark:null,light:null,hc:o.Il.fromHex("#3794FF").transparent(.8)},s.N("infoBorder","Border color of info boxes in the editor.")),ee=p("editorHint.foreground",{dark:o.Il.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},s.N("editorHint.foreground","Foreground color of hint squigglies in the editor.")),te=p("editorHint.border",{dark:null,light:null,hc:o.Il.fromHex("#eeeeee").transparent(.8)},s.N("hintBorder","Border color of hint boxes in the editor.")),ne=(p("sash.hoverBorder",{dark:g,light:g,hc:g},s.N("sashActiveBorder","Border color of active sashes.")),p("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:o.Il.black},s.N("editorBackground","Editor background color."))),ie=p("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:o.Il.white},s.N("editorForeground","Editor default foreground color.")),oe=p("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},s.N("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),re=p("editorWidget.foreground",{dark:f,light:f,hc:f},s.N("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),ae=p("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:m},s.N("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),se=(p("editorWidget.resizeBorder",{light:null,dark:null,hc:null},s.N("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),p("quickInput.background",{dark:oe,light:oe,hc:oe},s.N("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette."))),le=p("quickInput.foreground",{dark:re,light:re,hc:re},s.N("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),ce=p("quickInputTitle.background",{dark:new o.Il(new o.VS(255,255,255,.105)),light:new o.Il(new o.VS(0,0,0,.06)),hc:"#000000"},s.N("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),de=p("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:o.Il.white},s.N("pickerGroupForeground","Quick picker color for grouping labels.")),ue=p("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:o.Il.white},s.N("pickerGroupBorder","Quick picker color for grouping borders.")),he=p("keybindingLabel.background",{dark:new o.Il(new o.VS(128,128,128,.17)),light:new o.Il(new o.VS(221,221,221,.4)),hc:o.Il.transparent},s.N("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),pe=p("keybindingLabel.foreground",{dark:o.Il.fromHex("#CCCCCC"),light:o.Il.fromHex("#555555"),hc:o.Il.white},s.N("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),fe=p("keybindingLabel.border",{dark:new o.Il(new o.VS(51,51,51,.6)),light:new o.Il(new o.VS(204,204,204,.4)),hc:new o.Il(new o.VS(111,195,223))},s.N("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),ge=p("keybindingLabel.bottomBorder",{dark:new o.Il(new o.VS(68,68,68,.6)),light:new o.Il(new o.VS(187,187,187,.4)),hc:new o.Il(new o.VS(111,195,223))},s.N("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),me=p("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},s.N("editorSelectionBackground","Color of the editor selection.")),ve=p("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},s.N("editorSelectionForeground","Color of the selected text for high contrast.")),be=p("editor.inactiveSelectionBackground",{light:zt(me,.5),dark:zt(me,.5),hc:zt(me,.5)},s.N("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),_e=p("editor.selectionHighlightBackground",{light:Wt(me,ne,.3,.6),dark:Wt(me,ne,.3,.6),hc:null},s.N("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),ye=(p("editor.selectionHighlightBorder",{light:null,dark:null,hc:v},s.N("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),p("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},s.N("editorFindMatch","Color of the current search match.")),p("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},s.N("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0)),Ae=(p("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},s.N("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),p("editor.findMatchBorder",{light:null,dark:null,hc:v},s.N("editorFindMatchBorder","Border color of the current search match.")),p("editor.findMatchHighlightBorder",{light:null,dark:null,hc:v},s.N("findMatchHighlightBorder","Border color of the other search matches."))),we=(p("editor.findRangeHighlightBorder",{dark:null,light:null,hc:zt(v,.4)},s.N("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),p("searchEditor.findMatchBackground",{light:zt(ye,.66),dark:zt(ye,.66),hc:ye},s.N("searchEditor.queryMatch","Color of the Search Editor query matches.")),p("searchEditor.findMatchBorder",{light:zt(Ae,.66),dark:zt(Ae,.66),hc:Ae},s.N("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches.")),p("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},s.N("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),p("editorHoverWidget.background",{light:oe,dark:oe,hc:oe},s.N("hoverBackground","Background color of the editor hover."))),Ce=(p("editorHoverWidget.foreground",{light:re,dark:re,hc:re},s.N("hoverForeground","Foreground color of the editor hover.")),p("editorHoverWidget.border",{light:ae,dark:ae,hc:ae},s.N("hoverBorder","Border color of the editor hover.")),p("editorHoverWidget.statusBarBackground",{dark:jt(we,.2),light:Rt(we,.05),hc:oe},s.N("statusBarBackground","Background color of the editor hover status bar.")),p("editorLink.activeForeground",{dark:"#4E94CE",light:o.Il.blue,hc:o.Il.cyan},s.N("activeLinkForeground","Color of active links.")),p("editorInlayHint.foreground",{dark:zt(j,.8),light:zt(j,.8),hc:j},s.N("editorInlayHintForeground","Foreground color of inline hints"))),xe=p("editorInlayHint.background",{dark:zt(R,.6),light:zt(R,.3),hc:R},s.N("editorInlayHintBackground","Background color of inline hints")),Se=(p("editorInlayHint.typeForeground",{dark:Ce,light:Ce,hc:Ce},s.N("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),p("editorInlayHint.typeBackground",{dark:xe,light:xe,hc:xe},s.N("editorInlayHintBackgroundTypes","Background color of inline hints for types")),p("editorInlayHint.parameterForeground",{dark:Ce,light:Ce,hc:Ce},s.N("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),p("editorInlayHint.parameterBackground",{dark:xe,light:xe,hc:xe},s.N("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),p("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},s.N("editorLightBulbForeground","The color used for the lightbulb actions icon.")),p("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},s.N("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),new o.Il(new o.VS(155,185,85,.2))),Ee=new o.Il(new o.VS(255,0,0,.2)),ke=p("diffEditor.insertedTextBackground",{dark:Se,light:Se,hc:null},s.N("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Me=p("diffEditor.removedTextBackground",{dark:Ee,light:Ee,hc:null},s.N("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),De=p("diffEditor.insertedLineBackground",{dark:null,light:null,hc:null},s.N("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Ne=p("diffEditor.removedLineBackground",{dark:null,light:null,hc:null},s.N("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Ie=p("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hc:null},s.N("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),Te=p("diffEditorGutter.removedLineBackground",{dark:null,light:null,hc:null},s.N("diffEditorRemovedLineGutter","Background color for the margin where lines got removed.")),Le=p("diffEditorOverview.insertedForeground",{dark:null,light:null,hc:null},s.N("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),Be=p("diffEditorOverview.removedForeground",{dark:null,light:null,hc:null},s.N("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content.")),Oe=p("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},s.N("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Pe=p("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},s.N("diffEditorRemovedOutline","Outline color for text that got removed.")),Fe=p("diffEditor.border",{dark:null,light:null,hc:m},s.N("diffEditorBorder","Border color between the two text editors.")),Re=p("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},s.N("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),je=p("list.focusBackground",{dark:null,light:null,hc:null},s.N("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),ze=p("list.focusForeground",{dark:null,light:null,hc:null},s.N("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ve=p("list.focusOutline",{dark:g,light:g,hc:v},s.N("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),We=p("list.activeSelectionBackground",{dark:"#094771",light:"#0060C0",hc:null},s.N("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),He=p("list.activeSelectionForeground",{dark:o.Il.white,light:o.Il.white,hc:null},s.N("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ue=p("list.activeSelectionIconForeground",{dark:null,light:null,hc:null},s.N("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Qe=p("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},s.N("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ge=p("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},s.N("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ke=p("list.inactiveSelectionIconForeground",{dark:null,light:null,hc:null},s.N("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ye=p("list.inactiveFocusBackground",{dark:null,light:null,hc:null},s.N("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),$e=p("list.inactiveFocusOutline",{dark:null,light:null,hc:null},s.N("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Je=p("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},s.N("listHoverBackground","List/Tree background when hovering over items using the mouse.")),qe=p("list.hoverForeground",{dark:null,light:null,hc:null},s.N("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ze=p("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},s.N("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Xe=p("list.highlightForeground",{dark:"#18A3FF",light:"#0066BF",hc:g},s.N("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),et=p("list.focusHighlightForeground",{dark:Xe,light:(tt=We,nt=Xe,{op:5,if:tt,then:nt,else:"#9DDDFF"}),hc:Xe},s.N("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));var tt,nt;p("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hc:"#B89500"},s.N("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),p("list.errorForeground",{dark:"#F88070",light:"#B01011",hc:null},s.N("listErrorForeground","Foreground color of list items containing errors.")),p("list.warningForeground",{dark:"#CCA700",light:"#855F00",hc:null},s.N("listWarningForeground","Foreground color of list items containing warnings."));const it=p("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:o.Il.black},s.N("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),ot=p("listFilterWidget.outline",{dark:o.Il.transparent,light:o.Il.transparent,hc:"#f38518"},s.N("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),rt=p("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:m},s.N("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),at=(p("list.filterMatchBackground",{dark:ye,light:ye,hc:null},s.N("listFilterMatchHighlight","Background color of the filtered match.")),p("list.filterMatchBorder",{dark:Ae,light:Ae,hc:m},s.N("listFilterMatchHighlightBorder","Border color of the filtered match.")),p("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},s.N("treeIndentGuidesStroke","Tree stroke color for the indentation guides."))),st=p("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hc:null},s.N("tableColumnsBorder","Table border color between columns.")),lt=p("tree.tableOddRowsBackground",{dark:zt(f,.04),light:zt(f,.04),hc:null},s.N("tableOddRowsBackgroundColor","Background color for odd table rows.")),ct=(p("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hc:"#A7A8A9"},s.N("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized. ")),p("quickInput.list.focusBackground",{dark:null,light:null,hc:null},"",void 0,s.N("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead"))),dt=p("quickInputList.focusForeground",{dark:He,light:He,hc:He},s.N("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),ut=p("quickInputList.focusIconForeground",{dark:Ue,light:Ue,hc:Ue},s.N("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),ht=p("quickInputList.focusBackground",{dark:Vt(ct,We),light:Vt(ct,We),hc:null},s.N("quickInput.listFocusBackground","Quick picker background color for the focused item.")),pt=p("menu.border",{dark:null,light:null,hc:m},s.N("menuBorder","Border color of menus.")),ft=p("menu.foreground",{dark:T,light:f,hc:T},s.N("menuForeground","Foreground color of menu items.")),gt=p("menu.background",{dark:I,light:I,hc:I},s.N("menuBackground","Background color of menu items.")),mt=p("menu.selectionForeground",{dark:He,light:He,hc:He},s.N("menuSelectionForeground","Foreground color of the selected menu item in menus.")),vt=p("menu.selectionBackground",{dark:We,light:We,hc:We},s.N("menuSelectionBackground","Background color of the selected menu item in menus.")),bt=p("menu.selectionBorder",{dark:null,light:null,hc:v},s.N("menuSelectionBorder","Border color of the selected menu item in menus.")),_t=p("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:m},s.N("menuSeparatorBackground","Color of a separator menu item in menus.")),yt=p("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hc:null},s.N("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse")),At=(p("toolbar.hoverOutline",{dark:null,light:null,hc:v},s.N("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),p("toolbar.activeBackground",{dark:jt(yt,.1),light:Rt(yt,.1),hc:null},s.N("toolbarActiveBackground","Toolbar background when holding the mouse over actions")),p("editor.snippetTabstopHighlightBackground",{dark:new o.Il(new o.VS(124,124,124,.3)),light:new o.Il(new o.VS(10,50,100,.2)),hc:new o.Il(new o.VS(124,124,124,.3))},s.N("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),p("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},s.N("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),p("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},s.N("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),p("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Il(new o.VS(10,50,100,.5)),hc:"#525252"},s.N("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),p("breadcrumb.foreground",{light:zt(f,.8),dark:zt(f,.8),hc:zt(f,.8)},s.N("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),p("breadcrumb.background",{light:ne,dark:ne,hc:ne},s.N("breadcrumbsBackground","Background color of breadcrumb items.")),p("breadcrumb.focusForeground",{light:Rt(f,.2),dark:jt(f,.1),hc:jt(f,.1)},s.N("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),p("breadcrumb.activeSelectionForeground",{light:Rt(f,.2),dark:jt(f,.1),hc:jt(f,.1)},s.N("breadcrumbsSelectedForegound","Color of selected breadcrumb items.")),p("breadcrumbPicker.background",{light:oe,dark:oe,hc:oe},s.N("breadcrumbsSelectedBackground","Background color of breadcrumb item picker.")),o.Il.fromHex("#40C8AE").transparent(.5)),wt=o.Il.fromHex("#40A6FF").transparent(.5),Ct=o.Il.fromHex("#606060").transparent(.4),xt=.4,St=p("merge.currentHeaderBackground",{dark:At,light:At,hc:null},s.N("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),Et=(p("merge.currentContentBackground",{dark:zt(St,xt),light:zt(St,xt),hc:zt(St,xt)},s.N("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),p("merge.incomingHeaderBackground",{dark:wt,light:wt,hc:null},s.N("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0)),kt=(p("merge.incomingContentBackground",{dark:zt(Et,xt),light:zt(Et,xt),hc:zt(Et,xt)},s.N("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),p("merge.commonHeaderBackground",{dark:Ct,light:Ct,hc:null},s.N("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0)),Mt=(p("merge.commonContentBackground",{dark:zt(kt,xt),light:zt(kt,xt),hc:zt(kt,xt)},s.N("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),p("merge.border",{dark:null,light:null,hc:"#C3DF6F"},s.N("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."))),Dt=(p("editorOverviewRuler.currentContentForeground",{dark:zt(St,1),light:zt(St,1),hc:Mt},s.N("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.incomingContentForeground",{dark:zt(Et,1),light:zt(Et,1),hc:Mt},s.N("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.commonContentForeground",{dark:zt(kt,1),light:zt(kt,1),hc:Mt},s.N("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts.")),p("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},s.N("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),p("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},s.N("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),p("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},s.N("minimapFindMatchHighlight","Minimap marker color for find matches."),!0)),Nt=(p("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hc:"#ffffff"},s.N("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),p("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},s.N("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0)),It=p("minimap.errorHighlight",{dark:new o.Il(new o.VS(255,18,18,.7)),light:new o.Il(new o.VS(255,18,18,.7)),hc:new o.Il(new o.VS(255,50,50,1))},s.N("minimapError","Minimap marker color for errors.")),Tt=p("minimap.warningHighlight",{dark:$,light:$,hc:J},s.N("overviewRuleWarning","Minimap marker color for warnings.")),Lt=p("minimap.background",{dark:null,light:null,hc:null},s.N("minimapBackground","Minimap background color.")),Bt=p("minimap.foregroundOpacity",{dark:o.Il.fromHex("#000f"),light:o.Il.fromHex("#000f"),hc:o.Il.fromHex("#000f")},s.N("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.')),Ot=p("minimapSlider.background",{light:zt(V,.5),dark:zt(V,.5),hc:zt(V,.5)},s.N("minimapSliderBackground","Minimap slider background color.")),Pt=p("minimapSlider.hoverBackground",{light:zt(W,.5),dark:zt(W,.5),hc:zt(W,.5)},s.N("minimapSliderHoverBackground","Minimap slider background color when hovering.")),Ft=p("minimapSlider.activeBackground",{light:zt(H,.5),dark:zt(H,.5),hc:zt(H,.5)},s.N("minimapSliderActiveBackground","Minimap slider background color when clicked on."));function Rt(e,t){return{op:0,value:e,factor:t}}function jt(e,t){return{op:1,value:e,factor:t}}function zt(e,t){return{op:2,value:e,factor:t}}function Vt(...e){return{op:3,values:e}}function Wt(e,t,n,i){return{op:4,value:e,background:t,factor:n,transparency:i}}function Ht(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?o.Il.fromHex(e):t.getColor(e):e instanceof o.Il?e:"object"==typeof e?function(e,t){var n,i,r;switch(e.op){case 0:return null===(n=Ht(e.value,t))||void 0===n?void 0:n.darken(e.factor);case 1:return null===(i=Ht(e.value,t))||void 0===i?void 0:i.lighten(e.factor);case 2:return null===(r=Ht(e.value,t))||void 0===r?void 0:r.transparent(e.factor);case 3:for(const n of e.values){const e=Ht(n,t);if(e)return e}return;case 5:return Ht(t.defines(e.if)?e.then:e.else,t);case 4:{const n=Ht(e.value,t);if(!n)return;const i=Ht(e.background,t);return i?n.isDarkerThan(i)?o.Il.getLighterColor(n,i,e.factor).transparent(e.transparency):o.Il.getDarkerColor(n,i,e.factor).transparent(e.transparency):n.transparent(e.factor*e.transparency)}default:throw(0,a.vE)(e)}}(e,t):void 0}p("problemsErrorIcon.foreground",{dark:G,light:G,hc:G},s.N("problemsErrorIconForeground","The color used for the problems error icon.")),p("problemsWarningIcon.foreground",{dark:$,light:$,hc:$},s.N("problemsWarningIconForeground","The color used for the problems warning icon.")),p("problemsInfoIcon.foreground",{dark:Z,light:Z,hc:Z},s.N("problemsInfoIconForeground","The color used for the problems info icon.")),p("charts.foreground",{dark:f,light:f,hc:f},s.N("chartsForeground","The foreground color used in charts.")),p("charts.lines",{dark:zt(f,.5),light:zt(f,.5),hc:zt(f,.5)},s.N("chartsLines","The color used for horizontal lines in charts.")),p("charts.red",{dark:G,light:G,hc:G},s.N("chartsRed","The red color used in chart visualizations.")),p("charts.blue",{dark:Z,light:Z,hc:Z},s.N("chartsBlue","The blue color used in chart visualizations.")),p("charts.yellow",{dark:$,light:$,hc:$},s.N("chartsYellow","The yellow color used in chart visualizations.")),p("charts.orange",{dark:Dt,light:Dt,hc:Dt},s.N("chartsOrange","The orange color used in chart visualizations.")),p("charts.green",{dark:"#89D185",light:"#388A34",hc:"#89D185"},s.N("chartsGreen","The green color used in chart visualizations.")),p("charts.purple",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},s.N("chartsPurple","The purple color used in chart visualizations."));const Ut="vscode://schemas/workbench-colors";let Qt=c.B.as(l.I.JSONContribution);Qt.registerSchema(Ut,h.getColorSchema());const Gt=new i.pY((()=>Qt.notifySchemaChanged(Ut)),200);h.onDidChangeSchema((()=>{Gt.isScheduled()||Gt.schedule()}))},7358:(e,t,n)=>{n.d(t,{Ks:()=>p,q5:()=>h});var i,o=n(7685),r=n(3641),a=n(9914),s=n(9606),l=n(2309),c=n(470),d=n(2109);!function(e){e.getDefinition=function(e,t){let n=e.defaults;for(;d.kS.isThemeIcon(n);){const e=u.getIcon(n.id);if(!e)return;n=e.defaults}return n}}(i||(i={}));const u=new class{constructor(){this._onDidChange=new a.Q5,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,s.N)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,s.N)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${r.dT.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,n,i){const o=this.iconsById[e];if(o){if(n&&!o.description){o.description=n,this.iconSchema.properties[e].markdownDescription=`${n} $(${e})`;const t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=n),this._onDidChange.fire()}return o}let r={id:e,description:n,defaults:t,deprecationMessage:i};this.iconsById[e]=r;let a={$ref:"#/definitions/icons"};return i&&(a.deprecationMessage=i),n&&(a.markdownDescription=`${n}: $(${e})`),this.iconSchema.properties[e]=a,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(n||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map((e=>this.iconsById[e]))}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){const e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;d.kS.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`};let n=[];n.push("| preview | identifier | default codicon ID | description"),n.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const i=Object.keys(this.iconsById).map((e=>this.iconsById[e]));for(const o of i.filter((e=>!!e.description)).sort(e))n.push(`|<i class="${t(o)}"></i>|${o.id}|${d.kS.isThemeIcon(o.defaults)?o.defaults.id:o.id}|${o.description||""}|`);n.push("| preview | identifier "),n.push("| ----------- | --------------------------------- |");for(const o of i.filter((e=>!d.kS.isThemeIcon(e.defaults))).sort(e))n.push(`|<i class="${t(o)}"></i>|${o.id}|`);return n.join("\n")}};function h(e,t,n,i){return u.registerIcon(e,t,n,i)}function p(){return u}c.B.add("base.contributions.icons",u),function(){for(const e of r.lA.getAll())u.registerIcon(e.id,e.definition,e.description)}();const f="vscode://schemas/icons";let g=c.B.as(l.I.JSONContribution);g.registerSchema(f,u.getIconSchema());const m=new o.pY((()=>g.notifySchemaChanged(f)),200);u.onDidChange((()=>{m.isScheduled()||m.schedule()})),h("widget-close",r.lA.close,(0,s.N)("widgetClose","Icon for the close action in widgets.")),h("goto-previous-location",r.lA.arrowUp,(0,s.N)("previousChangeIcon","Icon for goto previous editor location.")),h("goto-next-location",r.lA.arrowDown,(0,s.N)("nextChangeIcon","Icon for goto next editor location.")),d.kS.modify(r.lA.sync,"spin"),d.kS.modify(r.lA.loading,"spin")},5954:(e,t,n)=>{n.d(t,{Jl:()=>a,O2:()=>s,o:()=>o,tj:()=>c});var i=n(3770);function o(e,t){const n=Object.create(null);for(let o in t){const r=t[o];r&&(n[o]=(0,i.Snq)(r,e))}return n}function r(e,t,n){function i(){const i=o(e.getColorTheme(),t);"function"==typeof n?n(i):n.style(i)}return i(),e.onDidColorThemeChange(i)}function a(e,t,n){return r(t,Object.assign(Object.assign({},s),n||{}),e)}const s={listFocusBackground:i._bK,listFocusForeground:i._2n,listFocusOutline:i.Oop,listActiveSelectionBackground:i.dCr,listActiveSelectionForeground:i.M6C,listActiveSelectionIconForeground:i.Tnx,listFocusAndSelectionBackground:i.dCr,listFocusAndSelectionForeground:i.M6C,listInactiveSelectionBackground:i.rg2,listInactiveSelectionIconForeground:i.kvU,listInactiveSelectionForeground:i.ytC,listInactiveFocusBackground:i.s$,listInactiveFocusOutline:i.F3d,listHoverBackground:i.mV1,listHoverForeground:i.$d5,listDropBackground:i.AS1,listSelectionOutline:i.xL1,listHoverOutline:i.xL1,listFilterWidgetBackground:i.vGG,listFilterWidgetOutline:i.oSI,listFilterWidgetNoMatchesOutline:i.Saq,listMatchesShadow:i.rh,treeIndentGuidesStroke:i.UnT,tableColumnsBorder:i.uxu,tableOddRowsBackgroundColor:i.EQn},l={shadowColor:i.rh,borderColor:i.Cdg,foregroundColor:i.DEr,backgroundColor:i.Hz8,selectionForegroundColor:i.jbW,selectionBackgroundColor:i.$DX,selectionBorderColor:i.E3h,separatorColor:i.ZGJ,scrollbarShadow:i._wn,scrollbarSliderBackground:i.etL,scrollbarSliderHoverBackground:i.ABB,scrollbarSliderActiveBackground:i.ynu};function c(e,t,n){return r(t,Object.assign(Object.assign({},l),n),e)}},7178:(e,t,n)=>{var i;n.d(t,{e:()=>i}),function(e){e.DARK="dark",e.LIGHT="light",e.HIGH_CONTRAST="hc"}(i||(i={}))},2109:(e,t,n)=>{n.d(t,{EN:()=>h,IP:()=>f,Ic:()=>m,XE:()=>c,bB:()=>v,kS:()=>u,m6:()=>p});var i=n(3641),o=n(9914),r=n(5666),a=n(7696),s=n(470),l=n(7178);const c=(0,a.yh)("themeService");var d,u;function h(e){return{id:e}}function p(e){switch(e){case l.e.DARK:return"vs-dark";case l.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}!function(e){e.isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id}}(d||(d={})),function(e){e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||d.isThemeColor(e.color))};const t=new RegExp(`^\\$\\((${i.dT.iconNameExpression}(?:${i.dT.iconModifierExpression})?)\\)$`);e.fromString=function(e){const n=t.exec(e);if(!n)return;let[,i]=n;return{id:i}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let n=e.id;const i=n.lastIndexOf("~");return-1!==i&&(n=n.substring(0,i)),t&&(n=`${n}~${t}`),{id:n}},e.getModifier=function(e){const t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){var n,i;return e.id===t.id&&(null===(n=e.color)||void 0===n?void 0:n.id)===(null===(i=t.color)||void 0===i?void 0:i.id)},e.asThemeIcon=function(e,t){return{id:e.id,color:t?h(t):void 0}},e.asClassNameArray=i.dT.asClassNameArray,e.asClassName=i.dT.asClassName,e.asCSSSelector=i.dT.asCSSSelector}(u||(u={}));const f={ThemingContribution:"base.contributions.theming"};let g=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new o.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,r.OF)((()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)}))}getThemingParticipants(){return this.themingParticipants}};function m(e){return g.onColorThemeChange(e)}s.B.add(f.ThemingContribution,g);class v extends r.JT{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange((e=>this.onThemeChange(e))))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},6701:(e,t,n)=>{n.d(t,{Xt:()=>r,YO:()=>o,gJ:()=>a,tJ:()=>i});const i=(0,n(7696).yh)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}class r{constructor(){this.id=r._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}r._ID=0,r.None=new r;class a{constructor(){this.id=a._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}a._ID=0,a.None=new a},2366:(e,t,n)=>{n.d(t,{A6:()=>c,eb:()=>a,ec:()=>r,md:()=>l,uT:()=>s});var i=n(9606),o=(n(472),n(6283));const r=(0,n(7696).yh)("contextService");function a(e){const t=e;return"string"==typeof(null==t?void 0:t.id)&&o.o.isUri(t.uri)}function s(e){return e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:void 0}class l{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}const c="code-workspace";(0,i.N)("codeWorkspace","Code Workspace")},9629:(e,t,n)=>{var i=n(941),o=n.n(i),r=n(8206);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals},3330:(e,t,n)=>{var i=n(941),o=n.n(i),r=n(4549);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals},941:(e,t,n)=>{var i,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function a(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},i=[],o=0;o<e.length;o++){var s=e[o],l=t.base?s[0]+t.base:s[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var u=a(d),h={css:s[1],media:s[2],sourceMap:s[3]};-1!==u?(r[u].references++,r[u].updater(h)):r.push({identifier:d,updater:g(h,t),references:1}),i.push(d)}return i}function l(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function u(e,t,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function h(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var p=null,f=0;function g(e,t){var n,i,o;if(t.singleton){var r=f++;n=p||(p=l(t)),i=u.bind(null,n,r,!1),o=u.bind(null,n,r,!0)}else n=l(t),i=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var o=a(n[i]);r[o].references--}for(var l=s(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=l}}}},337:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),n(6646),n(1691),n(7210),n(3338),o(n(977),t)},3556:(e,t,n)=>{n.d(t,{Z:()=>i});const i="data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI3T0YrAAABjAAAAGBjbWFwF8EkrgAACEwAABfiZ2x5ZsbQXdAAACNkAADY4GhlYWRYl6BTAAAA4AAAADZoaGVhAlsCwwAAALwAAAAkaG10eNz1//4AAAHsAAAGYGxvY2EnvfAWAAAgMAAAAzJtYXhwArkBgQAAARgAAAAgbmFtZc1a5AQAAPxEAAAB9XBvc3ShG3uZAAD+PAAAFjkAAQAAASwAAAAAASz////+AS4AAQAAAAAAAAAAAAAAAAAAAZgAAQAAAAEAAE+9MY9fDzz1AAsBLAAAAAB8JbCAAAAAAHwlsID////9AS4BLQAAAAgAAgAAAAAAAAABAAABmAF1ABcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAQBKwGQAAUAAAC+ANIAAAAqAL4A0gAAAJAADgBNAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOpg6/8BLAAAABsBRwADAAAAAQAAAAAAAAAAAAAAAAACAAAAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASz//wEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLP//ASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAAAAABQAAAAMAAAAsAAAABAAABLIAAQAAAAADrAADAAEAAAAsAAMACgAABLIABAOAAAAAEAAQAAMAAOqI6ozqx+rJ6wnrTuv///8AAOpg6orqj+rJ6szrC+tQ//8AAAAAAAAAAAAAAAAAAAABABAAYABkANQA1AFOAdQAAAADANQBIwEgAKIBEQFkAQABQADrAUQAQwGNATUBPQE8AIMAMQEKAHgAtwDhADoBYgBtABYBiwCNAHoBHQD5APAA8QF1ALEAmACmAW8BTwB9AWABSAFXAVUBSQFYAV8BWgFTAKgBTgFcAAIABAAFAAoACwAMAA0ADgAPABAAEgAYABkAGgAbAE8AUABRAFIAVQBWAB4AHwAgACEAIgAlACcAKAApACoAKwAsAC0ALgAvADAANAA1ADYANwA4ADkAOwA8AD4APwBAAEIASABJAEoASwBaAFwAXgBhAGYAaABpAGoAawBsAG4AbwBwAHEAcgBzAHQAdQB2AHcAeQB7AH4AgQCCAIUAhgCHAIgAiQCKAIsAjACOAJAAkQCSAJMAlACVAJcAmQCaAJsAhgCcAJ0AngCjAKQApwCpAK0ArgCwALIAswC0ALUAugC7ALwAvQC+AL8AwADBANMA1QDWANkA3ADdAN4A3wDjAOQA5QDmAOcA6gDsAO0A7gDvAPMA9AD3APgA+wD8AQIBBgEHAQgBCQELAQwBDQEOAQ8BEAEVARYBFwEYARkBGgEbARwBHgEfASEBIgEkASUBJgEnASgBKQEqAS8BMAExATIBMwE0ATgBOQE6ATsBPgE/AUEBQgFDAUUBRgFKAUsBTAFNAVABUQFSAVQBVgFZAVsBXQFmAWcBcAFxAXIBcwF0AXYBdwF4AXkBegF+AYABgQGCAYUBhgGHAYkBigGOAY8BkAGRAZIBlgGXANcA2ADaANsAUwBUAGMAZABlAFcBXgBiAGcAYABOACMAJADoAH8AhACvAX8AAQAXAFgA0gD6ASwBYQEEAKUBNwE2AP4BRwEFARMATQGIAD0A6QCAAKoA4gD2ARQAJgEDAP0AMgAzAEEBYwGDAX0BewF8AKABKwEtAPUAXwGTAZUBlAFpAWoBawFsAW0BbgFoABEARwD/AI8BjABdALgAxADDAMIARgBFAEQAFAC5AJ8AoQBMAFsBLgCWAFkAFQCrAKwBAQAcAB0A4AATAYQA8gDRAMUAxgDLAMkAygDMAM0AzgDPANAAyADHAWUAtgESAHwABgAHAAgACQAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAATMAAAAAAAAAGYAADqYAAA6mAAAAADAADqYQAA6mEAAADUAADqYgAA6mIAAAEjAADqYwAA6mMAAAEgAADqZAAA6mQAAACiAADqZQAA6mUAAAERAADqZgAA6mYAAAFkAADqZwAA6mcAAAEAAADqaAAA6mgAAAFAAADqaQAA6mkAAADrAADqagAA6moAAAFEAADqawAA6msAAABDAADqbAAA6mwAAAGNAADqbQAA6m0AAAE1AADqbgAA6m4AAAE9AADqbwAA6m8AAAE8AADqcAAA6nAAAACDAADqcQAA6nEAAAAxAADqcgAA6nIAAAEKAADqcwAA6nMAAAB4AADqdAAA6nQAAAC3AADqdQAA6nUAAADhAADqdgAA6nYAAAA6AADqdwAA6ncAAAFiAADqeAAA6ngAAABtAADqeQAA6nkAAAAWAADqegAA6noAAAGLAADqewAA6nsAAACNAADqfAAA6nwAAAB6AADqfQAA6n0AAAEdAADqfgAA6n4AAAD5AADqfwAA6n8AAADwAADqgAAA6oAAAADxAADqgQAA6oEAAAF1AADqggAA6oIAAACxAADqgwAA6oMAAACYAADqhAAA6oQAAACmAADqhQAA6oUAAAFvAADqhgAA6oYAAAFPAADqhwAA6ocAAAB9AADqiAAA6ogAAAFgAADqigAA6ooAAAFIAADqiwAA6osAAAFXAADqjAAA6owAAAFVAADqjwAA6o8AAAFJAADqkAAA6pAAAAFYAADqkQAA6pEAAAFfAADqkgAA6pIAAAFaAADqkwAA6pMAAAFTAADqlAAA6pQAAACoAADqlQAA6pUAAAFOAADqlgAA6pYAAAFcAADqlwAA6pcAAAACAADqmAAA6pgAAAAEAADqmQAA6pkAAAAFAADqmgAA6poAAAAKAADqmwAA6psAAAALAADqnAAA6pwAAAAMAADqnQAA6p0AAAANAADqngAA6p4AAAAOAADqnwAA6p8AAAAPAADqoAAA6qAAAAAQAADqoQAA6qEAAAASAADqogAA6qIAAAAYAADqowAA6qMAAAAZAADqpAAA6qQAAAAaAADqpQAA6qUAAAAbAADqpgAA6qYAAABPAADqpwAA6qcAAABQAADqqAAA6qgAAABRAADqqQAA6qkAAABSAADqqgAA6qoAAABVAADqqwAA6qsAAABWAADqrAAA6qwAAAAeAADqrQAA6q0AAAAfAADqrgAA6q4AAAAgAADqrwAA6q8AAAAhAADqsAAA6rAAAAAiAADqsQAA6rEAAAAlAADqsgAA6rIAAAAnAADqswAA6rMAAAAoAADqtAAA6rQAAAApAADqtQAA6rUAAAAqAADqtgAA6rYAAAArAADqtwAA6rcAAAAsAADquAAA6rgAAAAtAADquQAA6rkAAAAuAADqugAA6roAAAAvAADquwAA6rsAAAAwAADqvAAA6rwAAAA0AADqvQAA6r0AAAA1AADqvgAA6r4AAAA2AADqvwAA6r8AAAA3AADqwAAA6sAAAAA4AADqwQAA6sEAAAA5AADqwgAA6sIAAAA7AADqwwAA6sMAAAA8AADqxAAA6sQAAAA+AADqxQAA6sUAAAA/AADqxgAA6sYAAABAAADqxwAA6scAAABCAADqyQAA6skAAABIAADqzAAA6swAAABJAADqzQAA6s0AAABKAADqzgAA6s4AAABLAADqzwAA6s8AAABaAADq0AAA6tAAAABcAADq0QAA6tEAAABeAADq0gAA6tIAAABhAADq0wAA6tMAAABmAADq1AAA6tQAAABoAADq1QAA6tUAAABpAADq1gAA6tYAAABqAADq1wAA6tcAAABrAADq2AAA6tgAAABsAADq2QAA6tkAAABuAADq2gAA6toAAABvAADq2wAA6tsAAABwAADq3AAA6twAAABxAADq3QAA6t0AAAByAADq3gAA6t4AAABzAADq3wAA6t8AAAB0AADq4AAA6uAAAAB1AADq4QAA6uEAAAB2AADq4gAA6uIAAAB3AADq4wAA6uMAAAB5AADq5AAA6uQAAAB7AADq5QAA6uUAAAB+AADq5gAA6uYAAACBAADq5wAA6ucAAACCAADq6AAA6ugAAACFAADq6QAA6ukAAACGAADq6gAA6uoAAACHAADq6wAA6usAAACIAADq7AAA6uwAAACJAADq7QAA6u0AAACKAADq7gAA6u4AAACLAADq7wAA6u8AAACMAADq8AAA6vAAAACOAADq8QAA6vEAAACQAADq8gAA6vIAAACRAADq8wAA6vMAAACSAADq9AAA6vQAAACTAADq9QAA6vUAAACUAADq9gAA6vYAAACVAADq9wAA6vcAAACXAADq+AAA6vgAAACZAADq+QAA6vkAAACaAADq+gAA6voAAACbAADq+wAA6vsAAACGAADq/AAA6vwAAACcAADq/QAA6v0AAACdAADq/gAA6v4AAACeAADq/wAA6v8AAACjAADrAAAA6wAAAACkAADrAQAA6wEAAACnAADrAgAA6wIAAACpAADrAwAA6wMAAACtAADrBAAA6wQAAACuAADrBQAA6wUAAACwAADrBgAA6wYAAACyAADrBwAA6wcAAACzAADrCAAA6wgAAAC0AADrCQAA6wkAAAC1AADrCwAA6wsAAAC6AADrDAAA6wwAAAC7AADrDQAA6w0AAAC8AADrDgAA6w4AAAC9AADrDwAA6w8AAAC+AADrEAAA6xAAAAC/AADrEQAA6xEAAADAAADrEgAA6xIAAADBAADrEwAA6xMAAADTAADrFAAA6xQAAADVAADrFQAA6xUAAADWAADrFgAA6xYAAADZAADrFwAA6xcAAADcAADrGAAA6xgAAADdAADrGQAA6xkAAADeAADrGgAA6xoAAADfAADrGwAA6xsAAADjAADrHAAA6xwAAADkAADrHQAA6x0AAADlAADrHgAA6x4AAADmAADrHwAA6x8AAADnAADrIAAA6yAAAADqAADrIQAA6yEAAADsAADrIgAA6yIAAADtAADrIwAA6yMAAADuAADrJAAA6yQAAADvAADrJQAA6yUAAADzAADrJgAA6yYAAAD0AADrJwAA6ycAAAD3AADrKAAA6ygAAAD4AADrKQAA6ykAAAD7AADrKgAA6yoAAAD8AADrKwAA6ysAAAECAADrLAAA6ywAAAEGAADrLQAA6y0AAAEHAADrLgAA6y4AAAEIAADrLwAA6y8AAAEJAADrMAAA6zAAAAELAADrMQAA6zEAAAEMAADrMgAA6zIAAAENAADrMwAA6zMAAAEOAADrNAAA6zQAAAEPAADrNQAA6zUAAAEQAADrNgAA6zYAAAEVAADrNwAA6zcAAAEWAADrOAAA6zgAAAEXAADrOQAA6zkAAAEYAADrOgAA6zoAAAEZAADrOwAA6zsAAAEaAADrPAAA6zwAAAEbAADrPQAA6z0AAAEcAADrPgAA6z4AAAEeAADrPwAA6z8AAAEfAADrQAAA60AAAAEhAADrQQAA60EAAAEiAADrQgAA60IAAAEkAADrQwAA60MAAAElAADrRAAA60QAAAEmAADrRQAA60UAAAEnAADrRgAA60YAAAEoAADrRwAA60cAAAEpAADrSAAA60gAAAEqAADrSQAA60kAAAEvAADrSgAA60oAAAEwAADrSwAA60sAAAExAADrTAAA60wAAAEyAADrTQAA600AAAEzAADrTgAA604AAAE0AADrUAAA61AAAAE4AADrUQAA61EAAAE5AADrUgAA61IAAAE6AADrUwAA61MAAAE7AADrVAAA61QAAAE+AADrVQAA61UAAAE/AADrVgAA61YAAAFBAADrVwAA61cAAAFCAADrWAAA61gAAAFDAADrWQAA61kAAAFFAADrWgAA61oAAAFGAADrWwAA61sAAAFKAADrXAAA61wAAAFLAADrXQAA610AAAFMAADrXgAA614AAAFNAADrXwAA618AAAFQAADrYAAA62AAAAFRAADrYQAA62EAAAFSAADrYgAA62IAAAFUAADrYwAA62MAAAFWAADrZAAA62QAAAFZAADrZQAA62UAAAFbAADrZgAA62YAAAFdAADrZwAA62cAAAFmAADraAAA62gAAAFnAADraQAA62kAAAFwAADragAA62oAAAFxAADrawAA62sAAAFyAADrbAAA62wAAAFzAADrbQAA620AAAF0AADrbgAA624AAAF2AADrbwAA628AAAF3AADrcAAA63AAAAF4AADrcQAA63EAAAF5AADrcgAA63IAAAF6AADrcwAA63MAAAF+AADrdAAA63QAAAGAAADrdQAA63UAAAGBAADrdgAA63YAAAGCAADrdwAA63cAAAGFAADreAAA63gAAAGGAADreQAA63kAAAGHAADregAA63oAAAGJAADrewAA63sAAAGKAADrfAAA63wAAAGOAADrfQAA630AAAGPAADrfgAA634AAAGQAADrfwAA638AAAGRAADrgAAA64AAAAGSAADrgQAA64EAAAGWAADrggAA64IAAAGXAADrgwAA64MAAADXAADrhAAA64QAAADYAADrhQAA64UAAADaAADrhgAA64YAAADbAADrhwAA64cAAABTAADriAAA64gAAABUAADriQAA64kAAABjAADrigAA64oAAABkAADriwAA64sAAABlAADrjAAA64wAAABXAADrjQAA640AAAFeAADrjgAA644AAABiAADrjwAA648AAABnAADrkAAA65AAAABgAADrkQAA65EAAABOAADrkgAA65IAAAAjAADrkwAA65MAAAAkAADrlAAA65QAAADoAADrlQAA65UAAAB/AADrlgAA65YAAACEAADrlwAA65cAAACvAADrmAAA65gAAAF/AADrmQAA65kAAAABAADrmgAA65oAAAAXAADrmwAA65sAAABYAADrnAAA65wAAADSAADrnQAA650AAAD6AADrngAA654AAAEsAADrnwAA658AAAFhAADroAAA66AAAAEEAADroQAA66EAAAClAADrogAA66IAAAE3AADrowAA66MAAAE2AADrpAAA66QAAAD+AADrpQAA66UAAAFHAADrpgAA66YAAAEFAADrpwAA66cAAAETAADrqAAA66gAAABNAADrqQAA66kAAAGIAADrqgAA66oAAAA9AADrqwAA66sAAADpAADrrAAA66wAAACAAADrrQAA660AAACqAADrrgAA664AAADiAADrrwAA668AAAD2AADrsAAA67AAAAEUAADrsQAA67EAAAAmAADrsgAA67IAAAEDAADrswAA67MAAAD9AADrtAAA67QAAAAyAADrtQAA67UAAAAzAADrtgAA67YAAABBAADrtwAA67cAAAFjAADruAAA67gAAAGDAADruQAA67kAAAF9AADrugAA67oAAAF7AADruwAA67sAAAF8AADrvAAA67wAAACgAADrvQAA670AAAErAADrvgAA674AAAEtAADrvwAA678AAAD1AADrwAAA68AAAABfAADrwQAA68EAAAGTAADrwgAA68IAAAGVAADrwwAA68MAAAGUAADrxAAA68QAAAFpAADrxQAA68UAAAFqAADrxgAA68YAAAFrAADrxwAA68cAAAFsAADryAAA68gAAAFtAADryQAA68kAAAFuAADrygAA68oAAAFoAADrywAA68sAAAARAADrzAAA68wAAABHAADrzQAA680AAAD/AADrzgAA684AAACPAADrzwAA688AAAGMAADr0AAA69AAAABdAADr0QAA69EAAAC4AADr0gAA69IAAADEAADr0wAA69MAAADDAADr1AAA69QAAADCAADr1QAA69UAAABGAADr1gAA69YAAABFAADr1wAA69cAAABEAADr2AAA69gAAAAUAADr2QAA69kAAAC5AADr2gAA69oAAACfAADr2wAA69sAAAChAADr3AAA69wAAABMAADr3QAA690AAABbAADr3gAA694AAAEuAADr3wAA698AAACWAADr4AAA6+AAAABZAADr4QAA6+EAAAAVAADr4gAA6+IAAACrAADr4wAA6+MAAACsAADr5AAA6+QAAAEBAADr5QAA6+UAAAAcAADr5gAA6+YAAAAdAADr5wAA6+cAAADgAADr6AAA6+gAAAATAADr6QAA6+kAAAGEAADr6gAA6+oAAADyAADr6wAA6+sAAADRAADr7AAA6+wAAADFAADr7QAA6+0AAADGAADr7gAA6+4AAADLAADr7wAA6+8AAADJAADr8AAA6/AAAADKAADr8QAA6/EAAADMAADr8gAA6/IAAADNAADr8wAA6/MAAADOAADr9AAA6/QAAADPAADr9QAA6/UAAADQAADr9gAA6/YAAADIAADr9wAA6/cAAADHAADr+AAA6/gAAAFlAADr+QAA6/kAAAC2AADr+gAA6/oAAAESAADr+wAA6/sAAAB8AADr/AAA6/wAAAAGAADr/QAA6/0AAAAHAADr/gAA6/4AAAAIAADr/wAA6/8AAAAJAAAAAAAAAJQA1ADoARQBMgFsAaYB4AIaAi4CQgJWAmoCfgKSAqYCyALeAvwDTgOoA9QEPgSMBLoFDAUoBcgGfAa8B0YHZAfMCD4I9gmqCfAKGAoqCnIKhAqWCqgKugrUCuYK8gsQCzwLagvOC/YMLAyaDMwNGg1UDW4NxA4eDmYOig62DtwPOg90D5gQBhBkEK4Q0hD8EQgRehHOEjgSmBL6EzATVBNsE3wTjBOYE6wTuhPeFFwUdhSQFN4VThV6FYwVxhYQFkAWWhaCFpYWshbIFvoXHBdAF3QXhhgGGDYYXBiqGMgY7hkOGTIZThlwGaIZzhnwGhgaRBpsGqQa/Bt+G7AbyhwCHFAchBz2HVIdih3cHkQejB7SHxIfeB+aH8gf2h/2IHogmCC0INAhHiFcIZAhviIwIqgi9CMwI7AkNiTKJUYlziZiJqAnQie8KFYo2CkWKSopcCmUKcAqAComKoQq5isiK1Arliv2LCYsRCySLLYtJC16LbYt5i40LuwvHi+EL+wwQDCCMLAwyDDgMP4xJjFKMWwxijGoMcAx2DHwMggyQjJ+MtAzEDM0M5YzrjPKNGA0eDSaNMw1MDVONaA1zDX6NkA2ZjaGNqw23Dc8N1Y3rDfWOBI4SjiKOL448DkeOVg5djm6OeI6aDqiOxw7ZjxKPII8tD0aPT49jD3uPkY+jD7gP1g/rD/+QBRARECKQMJA2kECQSJBgkG2QkBCnkMAQzJDgkOuRBRERERqRMJE3kTsRaZGDEYwRqpG8kdiR8hIFEhsSJpI0EkqSYZJ4EoISixKUEpwSpRK8EsqS2pLkEvES/5MXEyOTMpNVk3ATjpOgk74TzBPak/EUApQdlCUULJRoFHSUehSDlJYUnhSqlLuU35ToFPaVBpUPlRqVIxUwlVYVYxVuFX+VrZW4FdgV5xYBlguWGhY3lkaWV5ZoFncWiJablrGWupbNFvMXCReJF/aYAZgKmC0YNhhBGEcYW5hwGJeYphiqGK4Yshi2GM4Y3hjuGQCZEhkuGTiZTBltmZSZoJm1GcGZ0JnmGfaaCZoRmigaMBo/mkqaYRpompmatZreGvwbDRscAAAAAQAAP//ASwBLAARACIANABkAAAlNC4BIg4BFRQWHwEWMj8BPgEHIic3PgQzMh4BFxYXBicmND4CMh4CFA4BBwYnLgEXMD0BLgEnJic2NzY3Nic2LgIiDgIVFB4BFxYXBgcOAQcVLgE1ND4BMh4BFRQGASwoRVJFKBwZDSZcJg4YHJYpIgEDCg4QFQoPHRUGAwIiWAQIDRIWEQ4ICA4JExQIDocEEQwJCwUEBwUKAQELFBodGhMLBggIBAUKCQwRBRIUIzxIPCMTlilFKChFKSE8FQoaGgoVPGIYBwoRDgoFCxUOCAkYiwkUEg0JCA4SFREOBAgIBA5bAQEOGAkHBQMEBwgQFA4aFAoKFBoOChMOCAQEBAcJGA8BEjAaJDwjIzwkGjAAAAAAAgAAAAABGgEaABoAKAAAJRYOAQc0Jz4BNy4DDgEHJiM+AjMyHgIHIg4BFB4BMj4BNC4BIwEZARQiFgMZIgEBEB0jHhMCCQoDGCUVER8YDLIXJxYWJy4nFxcnF8UWJRgCCgkDJRoRHhIBDxwRAxUiFAwYHxoXJy4nFhYnLicWAAABAAAAAAEHARoACwAAJRUjFSM1IzUzNTMVAQdxE3BwE6kTcHATcHAABAAAAAABGgEaAA0AEgAWABoAAAEjBxUXMxUXMzc1Mzc1ByM1MxUHNTMVJyMVMwEQ9AkJCgnOCgkJHNfhz7wmcHABGQk4Cp8JCZ8KOC8mJqmWlnETAAAAAAEAAAAAARIAzAAPAAA3FwcnNTcXBzMnNxcVByc3OCgNODgNKLwoDTg4DSiDKA04DTkOKCgOOQ04DSgAAAMAAAAAAQcBBwAJABYAIwAANxc1MxU3FwcjJzc0LgEiDgEUHgEyPgEnFA4BIi4BND4BMh4BZSgTJg44DTiwHzM+Mx4eMz4zHxMZLDIsGRksMiwZlChsaiYNNzcPHzMfHzM+Mx4eMx8ZLBkZLDIsGRksAAAAAwAAAAABBwEHAAkAFwAkAAA3JzM1IzcnBxUXNzIeARQOAi4CPgEXFSIOARQeATI+ATQuAZQobGomDTc3Dx8zHx8zPjMeAR8zHxksGRksMiwZGSxlKBMmDjgNOLAfMz4zHgEfMz4zHwESGSwyLBkZLDIsGQADAAAAAAEHAQcACQAWACMAADcXIxUzBxc3NScHBi4CPgEyHgEUDgEnMj4BNC4BIg4BFB4BmChsaiYNNzcPHzMeAR8zPjMfHzMfGSwZGSwyLBkZLMcoEyYOOA04rwEfMz4zHx8zPjMeEhksMiwZGSwyLBkAAAMAAAAAAQcBBwAJABYAIwAAPwEVMzUXNycjBxcUDgIuAj4BMh4BBzQuASIOARQeATI+AWUoEyYOOA04sB8zPjMeAR8zPjMfExksMiwZGSwyLBmYKGxqJg03Nw8fMx4BHzM+Mx8fMx8ZLBkZLDIsGRksAAAAAQAAAAABBAEHAAkAADcXMzcnBzUjFSc7Xg1eDU4TToNdXQ5OxMROAAEAAAAAAQcA8wAJAAA3BxUXNyczNSM3g11dDk7ExE7yXg1eDk0TTgABAAAAAAEHAPEACQAAPwE1JwcXIxUzB6leXg5Ow8NOKF0OXQ1OEk4AAQAAAAAAyQDhAAkAADcHIyc3FzUzFTfJLw0vDR8TH4ovLw0eaGgfAAEAAAAAANEAzwAJAAA3JzU3FwczFSMXei8vDR9paR9jLw0vDR8THgABAAAAAADRAM8ACQAANxcVByc3IzUzJ6IvLw0eaGgezi8NLw4eEx8AAQAAAAAAyQDhAAkAAD8BMxcHJxUjNQdeLw0vDR8TH7IvLw0faWkfAAIAAAAAARoBGwAJABMAADcnNTcXBzMVIxc/ATUnBxcjFTMHTzw8DSzp6SyBPDwNLOnpLBI8DTwNLBMsdjwNPA0sEywAAQAAAAABBAEHAAkAACUnIwcXNxUzNRcBBF4NXg1OE02pXl4OTsPDTgAAAAACAAAAAAEaARoABwAPAAAlFQcnFScXNRcnFQ8BFRc1ARlBZjqoAV5WGiXooDUlJUsNkAE5JRohSxFhAAADAAAAAAEiARoAGwAnADYAACUnLgEHIyIGDwEGHgI7ATI2PwEXFjsBMj4CByIvATM3FxwBDgEjMyM2LwEzHgEVFxYOAiMBIEsCCgdYBgoCTAICBQkFNwUKAgw4BQZYBAkFAmsCAmw5FCoCBAFXRQICTEUCBEwBAQICAizhBQgBBwXhBQkIAwcGISsDBAcJCAFQNH0BAwMBBgfhAQIC4QEDAgIAAAQAAAAAARoBGgAdACwANQA9AAA3MyYnIzczNDcjNzUzFRc2Nyc1MzUjFTMVBwYeAjc2MzIeAhUUDgEuAjYXFhcyNycGFRQ3FzY1NCYjIjheCwhLHRsCEyQmAQkJARNwEkkCAQUIchIXDxwVCxkqLSAJEhQRFxIPTwoYTgshGBITCAo5CQlITk8DBAIBSxMSS44FCQkEiQ0MFRsPFyYRCSAsKlkQAQtODhIYRk8PEhchAAAAAAMAAAAAAQoBGgAPABYAGgAAJSc1MzUjFTMVBwYWOwEyNic3NTMVFyMHNzMXAQRIEnATSgQLCrwKC4gCJiRuJx2CHS6NSxMSS44KERGQBE5PR0s5OQAAAAADAAAAAAEaARoAMwA+AEcAADcWHwEHIxQGIyImJyY1Iyc3Njc2PQE0Njc2NzYzBgciBwYHDgEHBh0BFAcGDwEzJyYvATIHMjY3NjUjFBceATcUBiImNDYyFvQDBAwKQRcPCA4EC0IJCwQBAg8PDRUOEAQHCAUODQULAgYCAgMItAcEAwENWAMHAwYmBgMHhiEuISEuIYUTDSANDxYGBQsPDSAPCAwKKhYfEA0GBQUPBAMMBA4GDw8qCw4IERUVChUEXQIDBgcHBgMCuxchIS4hIQAAAAMAAAAAAQYBGwAaACEANAAANyY9ATQuAicmDgIdARQPARczFBYyNjUzNwcGIiY1MxYnNzY9ATQ+AhcWFx4BHQEUHwH7BwwYHxIUJh0QBwsIQhYfFkIJYwYPCyUBbgcJDRcfDx4TCQoIB2YVFyYSIRsRAgINGyQUKRcVIQ0PFhYPDRoGCwgIGxUYGikQHhUKAgQWCxsOJhoZFAAAAAMAAAAAAOEA9AAOABYAHgAANzUzMhYVFAYHHgEVFAYjJxUzMjY1NCMnMzI2NCYrAV4/HyAQDRASIh4qKhIUJSsnEBQSEyY4vBoYDRUFBBgRGR1YRBIQIhQQHQ4ACQAAAAABGgEHABAAFwAeACIAJgAqAC4AMgA2AAABIw8BLwEjBxUXMxczNzM3NQcvASM1Mx8BIw8BNTczByMVMxUjFTMnMxUjNyMVMwczFSMVMxUjARBnBwwMB2cJCWMQDhBjCYwEBl1ZDnpeBwINWpY5OTk5OTk5vDg4ODg4ODgBBwMMDAMKuwoQEAq7uAMDqQ6bAwKhDSYSORI4EzgSExMTEgACAAAAAAD0ARoACAAOAAATIwcVFzcXNzUHJyMHNTPqqAoRTU0RE0QORJYBGQn0BlZWBvTbS0vSAAMAAAAAARoBBwBHAHEAfQAANzEjIg4CHQEUDgIHHgMdARQeAjsBFSMiLgEnMSYnNSY3NTQnMSYnNSYnMSYrATUzMj4BNzE2PQEmNzE2NzE+AjsBFzM1IyInMSYnNSYnMSY9ATYnNSYnMS4CKwEVMzIeAh0BFB4CFyMWByIOAR4CPgE1NCZxAgYKBwQCBAcFBQcEAgQHCgYCAgkQDQMDAQEBAgIEAwUFBgEBBgoHAgIBAQEDAw0QCQKUAgIGBQUDBAICAQEBAwMNEAkBAQYKBwQCBAcFAQ8XERwNBhgiHxMh9AQICgYZBgwLCAQECAsMBhkGCggEEgYNCAgHAQgIEAYFBQMBAwIDEgUHBQUGEAgICAgIDQd6EgMCAwEDBQUGEAgIAQcICA0HEwQICgYZBgwLCAQCERMfIhgGDRwRFyEABAAAAAABGgEHAEcAcQB+AIoAADcxIyIOAh0BFA4CBx4DHQEUHgI7ARUjIi4BJzEmJzUmNzU0JzEmJzUmJzEmKwE1MzI+ATcxNj0BJjcxNjcxPgI7ARczNSMiJzEmJzUmJzEmPQE2JzUmJzEuAisBFTMyHgIdARQeAhcjFgc2MzIWFRQOAS4CNhcHJwcXBxc3FzcnN3ECBgoHBAIEBwUFBwQCBAcKBgICCRANAwMBAQECAgQDBQUGAQEGCgcCAgEBAQMDDRAJApQCAgYFBQMEAgIBAQEDAw0QCQEBBgoHBAIEBwUBDzYOERchEx8iGAYNQhUVDhYWDhUVDhYW9AQICgYZBgwLCAQECAsMBhkGCggEEgYNCAgHAQgIEAYFBQMBAwIDEgUHBQUGEAgICAgIDQd6EgMCAwEDBQUGEAgIAQcICA0HEwQICgYZBgwLCAQCGgkhFxEcDQYYIh8CFhYOFRUOFhYOFRUABQAAAAABGgEHAA0AEQAbAB8AKQAAJSM1JyMHFSMHFRczNzUnMxUjFxUHNScjBxUnNRcVIzUHNRcVFzM3NTcVARBCCV4JQgkJ9AmoS0uWSwo4CUuDJl1LCTgKS+EcCgocCZYKCpYcExMOKgkKCgkrDTgTE0tgKwYJCQYqXwAAAAAEAAAAAAEHARoAIgA/AFsAZAAAEzYzMh4BFw4BBzUxNj0BPgImJy4BDgIWFxUUFxUuAjYXBiMVFAYrATAjMS4BPQEiJj0BNDY7ATIWHQEUBzcUBxYdAT4CJicuAQ4CFhc1NDcmPgIeAQcjFAYiJjQ2MhZYHCIfMx4BASkhCREXCQcKETY5KAkaGQkeKAgbcgIEBQQUAQQEBAULCBIICwMZCQYJCwELCQ0kIxoJCw0GCQEUHh4TAR4LEAsLEAsBBhMeNB4kOgwBCQsDCSAmJxAZFQwrOjUOAwwIAQsxQDqnAy8EBQEEBC8FBCYICwsIJgQCWw8NCQoCCRkcGQkOCgoaJCMNAgsJDR8aCQsZEAgLCxALCwADAAAAAAEaARoABwALAA8AABMzFxUHIyc1FxUzNSczNSMc9AkJ9AkT4eHh4QEZCeEJCeFClpYTJgAAAAADAAAAAAEYARoAMQA5AEkAADc1NCYiBh0BIycHFwcGHQEjFTsBFh8BBxc3Fx4BMjY/ARc3JzU2NzEzNSM1Ni8BNycHIzU0NjIWHQEXFRYVFA4CIi4CNTQ3NcwgLSAQHwseAQkmKAEEDQElCyMCDB8iHwwBJAslDgUpJwEKAR4LH20XIBcdCQ0WGx0cFgwI2AsWICAWCx8LHgEaGwwQGxUBJQsjAQ4QDw4BJAsmARYbEAwbGgEeCx8LEBcXEAsQARYZFyccDw8cJxcZFgEAAAAAEQAAAAABGgEaAA8AEwAXABsAHwAjACcAKwAvADMANwA7AD8AQwBHAEsATwAAASM1IxUjNSMVIwcVFzM3NQcjNTM1IzUzByMVMwczFSMXIxUzNzMVIxcjFTMHMxUjNyMVMxczFSMXIxUzBzMVIzcjFTMXMxUjFyMVMyczFSMBEBwTlhMcCQn0CRLh4eHhvBMTExMTExMTJhISEhISEhISEhISJhMTExMTExMTExMTJRMTExMTExMTAQcSEhISCuEJCeHXqBMTXhMSExMTXhMSExMThBMTExITExOEExMTEhNeEwAAAwAAAAABGgEaAD0AeQCCAAA3LgEOAQ8CBiYvASYnLgI/Aj4CNTQnLgMjIg8BDgIVFB4GMzI+AT8BNjU0Ji8BJi8BJgcGJyImJyYnLgM1Jj4BPwE2MzIfARYfARYUDwEOAhQWHwEWMzI3Nj8BPgEyHwIWHwEWFRQPAQ4BNwczFSM1MxU36wULCgcDBgUDCAIpCwsEBgEDBAcDBgMIBQsMDQgMCA4FCQMKERgcICIhEAoRDQYOCAMDBwQEDwQNBwgOHg4fGg0WEAkBBAYFCwMEAgQHCgcGAwILBAUEBAVFCQwFBQkGBgIGBQQHCQUDBgMECgUKL1c+XhNXfQIBBQUEBgQDAQMnCwwFCAUDBQYDBwkGDAkFDAsICA4GDREKDyIhIBwZEQoECAUOCAwFCgQIBAQOBFQCAQkHEhoNHB4eDwcOCQUKBAMGCAkHBAUDCwMHCgsKBUUJAgQHBgMEAwYIBAUIAwIEAwsEB+NXE14+VwADAAAAAAEaARoACABEAIAAAD8BIzUzFSM1BxcyHwMeARUUDwEOAiMiLgY1ND4BPwE2MzIeAhcWFRQOAQ8CBhQWFxYfAR4BPwI+AgcyPgE/ATYnNi8BJi8CJiIGDwEOAiMiLwEuATQ+Aj8BNjQvBCYjIg8BDgIHHgMXFhceAaJXPV0SWDEMCQ8IBwMDCA4FDhEKECIhIBwYEQoDCAYOCAwHDg0KBQgDBgMHBAIGBAsLKQIIAwUGAwgJBgkMCgUKBAEBAwYDBQkHBAUGAgYDBwoFDAlFBQQEBQcDBQIDBggJBwQCBAMLBAcDAQEJEBYNGh8OHq9YEl09VyMIDggIBAoFDAgOBQgEChIYHCAhIRALEA0GDggICw0ECQwFCQgDBgUDBQgFDAsnAwEDBAYEBQVaAwYFCwMEAgMIBQQIBgMEAwYEBQQJRQQLDAkHBgMFAwUEBwkIBgMECgQLDQcOHx4cDRoRCAkAAAAEAAAAAAECAOEABwAPACQALwAANyMnIwcjNzMXJyYnIwYPARcjNTEGIyImNTQ/ATQjIgc1NjMyFQ8BDgEVFBYzMjY1phMPPQ8SNxEQFgEBAQEBF7YRCxUPEiIfFRIPDxQkERgMDAsJDBBRKCiQWT4DBgYDPjcQExAOHQUEGgwQCiYPBAEICwcKEQ0AAAQAAAAAASUA9AAGAAoADAATAAAlByMnNxc3BzcnDwEXBxcHIyc3FwElkg46DjSLkFINUBIKKQsPDjoONOmtUwpJpG1iC14WDxUPEVMKSQAAAQAAAAABDwD6AAYAACUHLwE3FzcBD58PPw84l+68AVkLT7IACAAAAAABGgEHAAYACgAOABIAFgAdACQAKwAANyMnNxc3HwEzFSMVMxUjFyMVMwczFSMnMzcnBycHFyMnNxc3FwczNycHJwdGDRMNDRoOG5aWlpaWlpaWlpZKDSIOGg0NIA0TDQ0aDi8NIg4aDQ3YFA0NGw4FEyUTJhImE2ghDRoNDkwUDQ0bDVohDRoNDQAAAQAAAAAA8wDBAAYAAD8BFwcjJzeWUQxYC1gMb1IMV1cMAAAAAQAAAAAAwQD0AAYAADcXByc1NxdvUgxXVwyWUQxYC1gMAAAAAQAAAAAAzwDzAAYAADcnNxcVBye9UgxXVwyWUQxYC1gMAAAAAQAAAAAA9ADPAAYAADcHJzczFweWUQxYC1gMvVIMV1cMAAAAAQAAAAAA/QD9AAsAADcHFzcXNyc3JwcnB4VVEVVVEVVVEVVVEZZVEVVVEVVVEVVVEQAAAAIAAAAAAPQA9AADAAcAADcVMzUHIzUzOLwTlpb0vLyplgAAAAEAAAAAAQcAlgADAAAlFSM1AQfPlhMTAAMAAAAAAQcA9AADAAcAEQAANxUzNQcjNTMnMzUzFSMVMzUjOKkTg4NwE4MTJqnOqKiWhBITgxOpAAAAAAEAAAAAAOIA4gAZAAA3MhceARcWFAcOAQcGIicuAScmNDY3Njc+AZYKChMcBQMDBRwTChQKExwFAwUFChEJE+EDBRwTChQKExwFAwMFHBMKFBMJEQoFBQABAAAAAAEaARoAGgAAEzIXHgEXFhQGBwYHDgEiLgQ0Njc2Nz4BlhIRITEKBAkJER4PISQhHhgRCQkJER4PIQEZBAoxIREkIQ8eEQkJCREYHiEkIQ8eEQkJAAAAAAIAAAAAARoBGgAqAEQAABMmIgcxBgcGBzEOARYXFhceAj4BNzE2NzY3MTYmJzEmJzEmJzEmJzEmJxcGBw4BIi4ENDY3Njc+ATIXHgEXFhQGtA8eDw4NGQ8ICAEDCBULGR0fHA0ZDwgDBQEEAwgHCwoMDQ5TER4PISQhHhgRCQkJER4PISQRITEKBAkBAgUFAwgPGQ0dHw4cFgoPCAEHCA8ZDQ4PHw4ODQwKCwcIA64eEQkJCREYHiEkIQ8eEQkJBAoxIREkIQAAAwAAAAAA4QDiAAwAFQAWAAA3Mj4BNC4BIg4BFB4BNxQGIiY0NjIWJ5YUIxQUIygjFBQjRR0oHR0oHTFLFCMoIxQUIygjFEsUHR0oHR0gAAADAAAAAAEaARoADAAWAB8AABMyHgEUDgEiLgE0PgEHFBYXNy4BDgEVMzQmJwceAT4BliQ8IyM8SDwjIzxMDQ2fGUI7JOIODZ8ZQjskARkjPEg8IyM8SDwjgxQlEJ8VCRw3IRQlEJ8VCRw3AAAFAAAAAAEaARoABwA0AD0ARgBPAAABIwcVFzM3NQcjNTMeATMyNjQmIgYVIxUjNTMVDgEVFBYyNjUzFBYyNjQmIyIGByMuASM1Mwc0NjIWFAYiJicyFhQGIiY0NjMyFhQGIiY0NgEQ9AkJ9AkSqSsEEgoPFhYfFjglJQgLFh8WJhYfFhYQChEFMAURCqlxChELCxEKOAgLCxEKCnkJCgoRCgoBGQn0CQn06iUICxYfFhYPOOEsBBIJEBYWEBAWFh8WCgkJCiapCAsLEQoKeQoRCgoRCgoRCgoRCgAABQAAAAABGgD0AAsADwATABgAHAAANxc3FzcnNycHJwcXJyE1IRUhNSEXNSMVMxU1IxW8DR4eDyAgDx4eDR7HAQb++gEG/vqWlpaWQA0eHg0eHg8gIA8egxNLE0IJEjkTEwAAAAQAAAAAARYBGgAWACIALAA2AAA3IzUzFTM1JyM1IzQmIgYVIxUjBxUXMzU+Ah4BFA4BLgIXBzUjFScHFzM3JzMXBycVIzUHJ4M4lhMKHBIWIBUUGwoKQQEJCwoHBQoLCAWGFBMUDiUNJHwNJQ4UExQNJqglLwkTDxYWDxMJvAnlBQkCBAoKCgUBBgqsFGRkFA0kJFskDRRkZBQNAAQAAAAAAQcBBwALABkAIAAkAAA3JwcnBxcHFzcXNy8BNzMXFQcjFQcjJzU3OwIXFTM1IxcjFTOiDhobDRsbDRsaDhspE4MTEyYShBISJhNLEiaDS4SElA4bGw4aGw0bGw0behMTgxMmEhKEEhJLgziEAAAAAQAAAAAA6ADoAAsAADcXNyc3JwcnBxcHF5ZEDkVFDkREDkVFDolFDkREDkVFDkREDgAAAAIAAAAAARoA9gAvADkAADczHgEUBiM1MjY0JicjJy4CBg8BJyYnIgcOAR4BOwEVIyImJy4BPgE3Nhc+AR4BBxc1MxU3FwcjJ+ABFyEhFw8VFQ8RAgIXHxsGBhAFBRQNCgYLGA4JCQ4aCQwHCxsRDg4JJisfXxgTGA0oDSi8ASAvIRMWHhYBEA8WBRAODgMBAQ4KHBoQEwsLDSMiFwMDBBQWBh92GGZlFw0oKAACAAAAAAEaAPYAMgA8AAA3Mx4BFAYrATUzMjY0JicjJy4CBg8BJyYnBgcOAR4BOwEVIyImJy4BNz4CFz4BHgEXBycVIzUHJzczF+ABFyEhFyUlDxUVDxECAhcfGwYGEAUFFA0KBgsYDi8vDhoJDwQLBxccDgkmKx8DHxkSGA0oDSi8ASAvIRMWHhYBEA8WBRAODgMBAQENChwaEBMLCxArEgwRBQQUFgYfFkgZZmUYDigoAAACAAAAAAEaAPYAFQAuAAA3Mx4BFAYrASImJy4BPgE3Nhc+AR4BBzMyNjQmKwEnLgIGDwEnJiciBw4BHgEz4AEXISEXjA4aCQwHCxsRDg4JJisff4MQFhYQEQICFx8bBgYQBQUUDQoGCxgOvAEgLyELCw0jIhcDAwQUFgYfcxYfFhAPFgUQDg4DAQEOChwaEAADAAAAAAEUAPQABgANABEAADcHFwcnNTczBxcHFzc1Bxc3J1gxMQ04OJEOMjIOOLgRXhHDMTINOA05DjEyDTgNYAi7CQAAAAAEAAAAAAEHAQcAAwARABgAHAAANyMVMyc3MxcVByMVByMnNTc7AhcVMzUjFyMVM6leXksTgxMTJhKEEhImE0sSJoNLhISDEoMTE4MTJhIShBISS4M4hAAAAgAAAAABGgEaAAwAFAAAEyIOARQeATI+ATQuAQc1Mh4BFA4BliQ8IyM8SDwjIzwkHzMfHzMBGSM8SDwjIzxIPCPz4R8zPjMeAAAAAAoAAAAAASwBGgAHAAsAEwAXAB8AIwArAC8AMwA9AAATBxUXMzc1Jwc1MxUPARUXMzc1Jwc1MxUHNzMXFQcjJzcVMzU3BxUXMzc1JwcjNTMVIzUzJyMVMwcXNzUnBxwJCTgKCi4lLwkJOAoKLiU4CTgKCjgJEyWfCQk5CQkKJSUlJW46OhMNIiINARkJOAoKOAk4JiYlCjgJCTgKOSYmLwoKOAkJLyUlgwlxCQlxCTgmXiUTExIMIg0iDQAAAwAAAAABGgEaABIAHgAnAAA/ARUHJzUjJzU3MxcVIzUjFTMfAjc1Mzc1JyMHFRc3IzUzFSMHFSdLExYQHAkJ4QoTzhwJdiMQHAkJlgkJS0KEHQkWWBMbFQcvCZYJCVRLhAlCIgYcCl0KCl0KE0tLCQ8VAAACAAAAAAEaAQcACwAUAAABIwcVFzMVFzczNzUHIw8BNScjNTMBEPQJCS8QNn8JEnoHKAou4QEHCqkJLwc2CamfAyghCpYAAAAFAAD//QEtARoALAAyADYAQwBKAAA3BiM1IxUuAiczNSM+AjcVMzUeAhcjFTMHFhc2NTQuASIOARQeATMyNyY3LwEfAQYvAh8BNhcyFhUUDgEuAjYXNycHJwcXqwYGEhsuHAISEgIdLRsSGy4cAhISAQkIAyM8SDwjIzwkDg0EDTcmTBsGDRIkEkcPERchEx8iGAcNLiIPHBAMGCcBEhICHS0bExstHAISEgIcLhsSDAIEDQ4kPCMjPEg8IwMIShtMJjcEDSQSJCYKASAYERwNBhkhID8tCyUODxMABAAAAAABLAEaACwAMgA2AD8AADcGIzUjFS4CJzM1Iz4CNxUzNR4CFyMVMwcWFzY1NC4BIg4BFB4BMzI3JjcvAR8BBi8CHwEUFjI2NCYiBqsGBhIbLhwCEhICHS0bEhsuHAISEgEJCAMjPEg8IyM8JA4NBA03JkwbBg0SJBIvIC8hIS8gJwESEgIdLRsTGy0cAhISAhwuGxIMAgQNDiQ8IyM8SDwjAwhKG0wmNwQNJBIkVRchIS8hIQAAAAAEAAAAAAEaARoAAwAHACMAMAAANxcvARcvARczDgIHNSMVLgInMzUjPgI3FTM1HgIXIxUHMj4BNC4BIg4BFB4BqSZMJlQSJBJ5AhwuGxIbLhwCEhICHS0bEhsuHAISXiQ8IyM8SDwjIzypTCZMVCQSJBsuHAISEgIdLRsTGy0cAhISAhwuGxJ6IzxIPCMjPEg8IwAAAwAAAAABBwEaAAcADAATAAA/ATMXFQcjJzcnIxUzJwcVFzUzJ0sTZUQTlhOpOF6WvBISeRPhE0OLExODOLvzErwTzxIAAAAABAAAAAABGgDiAAMABwAXABsAACUVIzUVMxUjNyMiBh0BFBY7ATI2PQE0JgczFSMBB+Hh4eHhCAsLCOEHCwtAJibOEhIlXpYLCIMICwsIgwgLcBMAAQAAAAAAzwCWAAMAADczFSNecHCWEwAABgAAAAABCQEcAAwAHAAoADAAOgBIAAATPgEeAg4CLgI2FxYzMj4BNTQuAg4CHgE3FwcWDgEuAj4BFwcWNjQmDgEWNwcWFRQHFz4BLwEmIyIOARQXByY+AhdJG0E7JAQdNkE6JQQcJhogHC8cFiUwLiQTAxiCDSgEBREUDwIMFAoSBQoHCAQBVA8FCQ4MAwo0CwwSHhIJDRADJjgaAQUSBB02QTskBBw3QTqoEhwvHBkqHgkMIC0vKooNKQkUDAIOFREFBCEDBAsFAQcHKw4LDRIPDhMuFBcFEh4kDw4YOSsMDQAAAwAAAAAA9AEaABMAJAA1AAA3NC4BIg4BFRcjFRceATI2PwE1IycyFx4BFAYHBiInLgE0Njc2FwcOAQcGIicuAS8BNRY3Fjf0GSwyLBkBAQEENUg1BAEBXRUTEBMTEBMqExATExATYAEBEw8SKhIPEwEBIygoI+oNFgwMFg0CpgcRFxcRB6YeBQQOCg0EBQUEDQoOBAXEAwUMBAUFBAwFA4wUAQEVAAAABQAAAAABKAEHACUALAA1AD8ARgAANwcuASIGBycHFwcVIxUzFRYXBxc3HgEyNjcXNyc2NzUzNSM1JzcnMhYVIzQ2Fw4BBy4BJzUzJwcVMzUXBxU3NQc1Nyc1FxWJEQQZIBkEEQ0WAxMTAQQYDRUHFhgWBxUNGAQBExMDFksMEDgQMgIVDw8VAUsqDxOOMEdHaY+lgxAPFBQPEA0WAhMTAQkJGA0VCgsLChUNGAkKARITAhYNEAwMEEsPFQEBFQ8cswhWRF8gFy8QZBZGXxduEAAAAAAEAAAAAAEWAQcAJQAsADUAPwAANwcuASIGBycHFwcVIxUzFRYXBxc3HgEyNjcXNyc2NzUzNSM1JzcnMhYVIzQ2Fw4BBy4BJzUzJzcXFQc1NycVI4kRBBkgGQQRDRYDExMBBBgNFQcWGBYHFQ0YBAETEwMWSwwQOBAyAhUPDxUBSxMOqWxWjhODEA8UFA8QDRYCExMBCQkYDRUKCwsKFQ0YCQoBEhMCFg0QDAwQSw8VAQEVDxyrCHEQSBc5X0QAAAAEAAAAAAEpASwAJQAsADUAQAAANwcuASIGBycHFwcVIxUzFRYXBxc3HgEyNjcXNyc2NzUzNSM1JzcnMhYVIzQ2Fw4BBy4BJzUzNxUHNTcnFSYnNTeJEQQZIBkEEQ0WAxMTAQQYDRUHFhgWBxUNGAQBExMCFUsMEDgQMgIVDw8VAUu4gGqiCQoOgxAPFBQPEA0VAxMTAQkJGA0VCgsLChUNGQgKARITAxUNEAwMEEsPFQEBFQ8cYBBRFkNndgYDfggAAAAABAAAAAAA4wDjAAwAGAAcACAAADc+AR4CDgIuAjYXHgE+AiYnJg4BFjcjFTMVIxUzbBEoJBcCEiEoJBYDEh0MHBkPAg0LEikYCEo4ODg41AwCESIoJBcCEiEoJF4IAgwXHBkICwgjKjsTEhMAAwAAAAAA4QDiAAwAEAAUAAA3Ig4BFB4BMj4BNC4BFxUjNTcVIzWWFCMUFCMoIxQUIxJLS0vhFCMoIxQUIygjFF4SEjkTEwAAAgAAAAAA5gDhAAUACwAANyMHFzM3ByMnNzMXulYsLFYsOjoeHjod4UtLSzMzMzMAAQAAAAAA5gDhAAUAADcHIyc3M+UrViwsVpZLS0sAAAACAAAAAADhAOEAAgAFAAA3MycHMydLlksjRiNeg2w9AAEAAAAAAOEA4QACAAA3FyOWS5bhgQAAAAIAAAAAAPQA9AADAAcAAD8BFwc1NycHOV1dXTQ0NJZeXl0pNDU1AAABAAAAAAD0APQAAwAANxcHJ5ZeXl70Xl5eAAAAAwAAAAAA4wDjAAwAEAAUAAA3PgEuAg4CHgI2JyMVMyc1MxXUDAIRIigkFwIRIigkJxcXFxdsESgkFwIRIigkFwIRFhMlS0sABQAAAAABHAEcABUAHgBEAEwAVgAAEzczHwIVDwErATU0JzM1IxUmIz0BFwcmLwE3JzcXBzcXBxcVMxUjFQYHFwcnDgEiJicHJzcmJzUjNTM1Nyc3Fz4BMhYHLgEOARUzNAc2NzUjFR4BFzZYArEBDwEBDwFcB2CsCQqGIwICBhwtCjRXEQ0VAhMTAQQYDRUHFhgWBxUNGAQBExMDFg0RBBkgGRUGERAJOAIKAUoBFQ8PARsBAQ8BsQIPAgoHrFsCXAFnIwMDBRwuCjM7EA0VAxMSAQoJGA0VCgsLChUNGQgJARMTAxUNEA8UFAcGAwYOCQxUCg8cHA8VAQEAAwAAAAABDAEHAAMACQAMAAATIxUzNwcVFzc1DwE1SxMTPg8PgxZpAQfh1Qe8B10QCEyYAAMAAAAAAQ8BBwADAAkADAAAEzMVIzcHFRc3NQ8BNS8cHFwWFoQhXQEH4dkLvAteFgtChAADAAAAAAEWAQcACQAuADgAAD8BFxUHNTcnFSMXDgEdARQOAisBIi4CPQE0LgI1ND4EMh4EFRQGByMVFBY7ATI2NV4OqWxWjhMVBQYCAwUDEAMFAwIGCwcDBggKDAwMCggGBAccFgIBEAEC/whxEEgXOV9EYAUNBxADBQMCAgMFAxAHDQsQCgYLCwgGAwMGCAsLBgoQGRYBAgIBAAAEAAAAAAERARoAEQAfADcARAAANyYnNycHJicmBwYPARc3Njc2BwYPASc3Njc2Fx4BFxYHNycHJzcnBycHDgEUFhcHFzceATI2PwEHBiIuAjU0PwEXBwb/AwUZCxoHCRQUCwgdUR0JBAgXAwYSOhIGBxAQBwsEBmEcDBsjHAwcCx0JCAUGGQsaBxIVFQgdNggQDwwGDBI6EgbkCQcaCxkGAgcIBAkdUR0ICxQOBwYSOhIGAwYGBAsHEG4dDB0jHQwdCx0IFRURCBkMGQUGCQgdGgQHCw8IEQwSOhIFAAAAAAYAAAAAARoBAAADAAcACwAPABUAGAAANzUzFSczFSM3FSM1HQEzNSU3FxUHJzcVN3GoXV1dXaio/voOZWUOE0pxEhJLE0sTE6kTE60HQw9ECHVjMQAAAAACAAAAAADYAPQAAwAHAAA3MxUjNxUjNVQdHYQc9Ly8vLwAAAACAAD//QEWAQcAGgAkAAA3FA4BJicHHgE+Ai4BBgc1IxUXMzUjPgEeASc3FxUHNTcnFSOGGScjCBIKLTIjBxovMQ8TCSwYCiMlFygOqVlDjhNLFB8IEhIHFxkHJTIsEw0UFzIKExEOCh6hCHEQOxYtX0QAAAUAAAAAARwA9AAEAAkADgASAC0AADc1MwYHNzY3IxUXJicjFSUVITUXMj4BLgEGBzMVIyc1MxU+AR4BDgImJzceARNhAgEXCQuJaQUDYQEG/vrHEhoGESEgCRQlCBANKicWBh4qJQkPBhdxEgkJOAoIEnEJChO8ExO8FiIeDAwPEAgqExELESQrHgcVFAYNDwAAAAABAAAAAAEMAQ0AHQAANxQOASYnBx4CPgI1NC4BBgc1IxUXMzUjPgEeAe8mOjUMGgooMjMpFypERRYcDkEjDjU3I5YeLg0bHAsYIQ0KIC8aJDsXFRwiSw4cGRYPLQAAAAADAAAAAAD+AQcAAwAJAAwAABMjFTMnFxUHJzUfATX9HBxcFhaEIV0BB+HZC7wLXhYLQoQAAwAAAAABEAEHAAgAEgAXAAA3FAYuATQ2MhYzLwEjBxUXMz8BByM1Mxe8FiAVFSAWVFARXxgYXxFQYV9fT5YQFgEVIBYWWQgYshcIWUqyWQABAAAAAAC8ALwACAAANxQGLgE0NjIWvBYgFRUgFpYQFgEVIBYWAAAAAgAAAAABEAEHAAkADgAAJS8BIwcVFzM/AQcjNTMXARBQEV8YGF8RUGFfX0+mWQgYshcIWUqyWQACAAAAAAD8AQAABQAIAAA/ARcVByc3FTdQFpaWFhxu9AtkF2QMrZNKAAAAAAIAAAAAAQwBDAAXACAAADc1MxU+ATMyHgEfASM1LgIiBgczFSMnFyImNDYyFhQGIRwQMBsdNCACAR0CGCcuKQs1ThJ1EBUVIBYWwEsvExYbLhwFBBQiFBYTHBKQFSAWFiAVAAACAAAAAADqARoACgATAAA3MzcnBzUjFScHHwEUBiImNDYyFpYKSRQxHDEUSS8WHxYWHxZ5SRQxdHQxFElBEBUVIBYWAAIAAAAAAOoBGgAKABMAABMjBxc3FTM1FzcnFxQGIiY0NjIWlgpJFDEcMRRJGxYfFhYfFgEZSRQxdHQxFEnhEBUVIBYWAAAAAAIAAAAAAQwBDAAXACEAACU1IxUuASMiDgEPATM1PgIyFhcjFTM3BzI2NC4BBhQWMwELHBAwGx00IAIBHQIYJy4pCzVOEnUQFhYgFRUQwEsvExYbLhwFBBQiFBYTHBKQFSAVARYgFgAAAgAAAAABBwEHAAMABwAAExUzNQcjNTMm4RiysgEH4eHKsgAABQAAAAABKwEsAAEADQBBAEkAWQAANzUXJzcXNxcHFwcnByc3FTM3FwcVFhUHMxUjMQYPARcHJwcOASImLwEHJzcnJicrATUzNTQ3NSc3FzM1ND4BMh4BBxUzNTQmIgYXNSMHBhUUHgIyPgI1NCtbJg0oJw0mJg0oJw10ECQNIgwBLC4GDwErDSkBDiQmJA4BKQwqAQ8FAS4sCyMNJBIQHSIdEWtZGiUaepsBCQ4ZHyIfGQ+LAQkmDCgoDSYmDSkoDZAMJA0iAR4fDhIfGQErDCkCDxISEAIoDCoBGR4SDiAcASMNJAwRHRERHREMDBMaGjIBARocGS0hEREhLRkdAAIAAAAAARoBBwAUAB4AADc1MjY3NjUjJzU3MxcVJzUjFTMHFzM3Jwc1IxUnBxdLERECAlUJCfQJEuFrCS4oLw0fEx4OLxMTBQUDBQq7CgqtE5GpCS8vDR95eR8NLwAAAAMAAAAAARoA4QANABEAFQAAJQc1JyMHFRczNzUXNzUHIzUzFyc1NwELPQmpCQmpCT0OXZaWSzk50yMoCQmECQkmIwlrbXBdHwoiAAAFAAAAAAEaAQcADQAXACAAKQAyAAA3MxcVByMnNTczPwEzFwczNSMvASMPASMXIgYUFj4BNCYXMhYUBi4BNDY3IgYUFjI2NCbJRwkJ9AkJRxAHOAeT4UIHEDAQB0EcBAYGCAUFUBAWFiAVFRAXISEuISH0CqgKCqgKEAMDuZYDEBADEwUIBgEFCAUSFiAWARUgFhIhLiEhLiEAAAADAAAAAAD0ARoABwALAA8AABMzFxUHIyc1FzM1IxczFSNUlgoKlgkTg4MvJSUBGQn0CQn06uG8EwAAAAADAAAAAAEHARoABwALABcAABMzFxUHIyc1FzM1IxcjFSMVMxUzNTM1IxzhCgrhCRPOznATODgTODgBGQnhCQnh2M8mOBM4OBMAAAAAAwAAAAABGgEaAAcACwARAAATMxcVByMnNRczNSMXMxUHIzUc9AkJ9AkT4eGWJXAmARkJ9AkJ9OrhJiVxJgAAAAMAAAAAARoBGgAHAAsAFAAAEzMXFQcjJzUXFTM1BzI2NCYiBhQWHPQJCfQJE+FxFyEhLiEhARkJ9AkJ9Anh4akhLiEhLiEAAAMAAAAAAQcBGgADAAsADwAANxUjNSczFxUHIyc1FzM1I7xeQuEKCuEJE87OqRMTcAnhCQnh2M8AAwAAAAABGgEaAAcACwASAAATMxcVByMnNRczNSMXMxU3JxUjHPQJCfQJE+HhJTheXjgBGQn0CQn06uGEOEtLOAAAAAAGAAAAAAEaAPQABwALAA8AFwAbAB8AAD8BMxcVByMnNzM1IzUzNSM3MxcVByMnNRczNSM1MzUjJgleCQleCRJLS0tLel4JCV4JE0tLS0vqCgqoCgoJcRITEwqoCgqonyYlSwAAAQAAAAAA9wEKABkAABMVFzM1Izc+AR4CBg8BFzc+AS4CBg8BNUIJQjASDSIjGQoKDWENYhAMDCEsLBAOAQdCCRISDQkJGSMjDGINYREsLCELCxENJwAAAAMAAAAAARoBGgAJAAwAEAAAEyMPAhc/AjUHNxc3JzcX+BubAywaTQWa7B0bECGWIQEZmgVNGiwDmxvLOBsKIZYhAAAAAwAAAAABGgEaAA0AEQAYAAAlJyM1JyMHFRczFRczNyc1MxUXIzUzNzUzARkJjQleCQkvCbwJ80uWqRwJhLIKVAkJlwhVCQlncXFdSwgdAAADAAAAAAEHAKkACAARABoAADcUBiImNDYyFhcUBiImNDYyFhcUBiImNDYyFksLEAoKEAteCxALCxALXgsQCwsQC5YICwsQCwsICAsLEAsLCAgLCxALCwAAAgAAAAABGgEaAAsAHAAANzMVIxUjNSM1MzUzBzUzFTM1IzUzNSM1MxcVByNLODgTODgTOBPhcXFxegkJ9OETODgTOP1nXYMTJRMKzgkAAAADAAAAAADiAOEACwAYACEAADcnByc3JzcXNxcHFzcUDgEiLgE0PgEyHgEHNCYiBhQWMjasFhYRFhYRFhYRFhYkFCMoIxQUIygjFBMhLiEhLiFvFhYRFhYRFhYRFhYWFCMUFCMoIxQUIxQXISEuISEAAwAAAAABFgEbABUAKAA0AAATHgEXFhUUBw4BBwYnLgM3Njc+ARc2NzYnNCYnJicmBgcOARYXHgEnNxcHFwcnByc3JzehFikQJh4PJhYwJxQeEAMHDyYSKyEmGRkCEQ8dJhMmDyAXISIQJgQtDS0tDS0tDS0tDQEZARQQKTcrJxIXBAkWCyIqLhUuGQwM9AkfIiUXKhAdAwEJCxhOSBMKBnwvDS8vDS8vDS8vDQAAAAAEAAAAAAEdARoALwBDAFAAVAAAEyMHJwcXBxUXBxc3FzMmJyMvAQcnNy8BNT8BJzcXPwEzHwE3FwcfARUWFzUnNycPATIWFwYHLgEOAhYXBgcuAT4BHwE+AR4CDgIuAjYXFTM1sDQKJiYaLS0aJiYKJwoIBgkOJg8ZBiwsBhkPJg4JFgkOJg8ZBiwLCC0aJiYkDBMECQgBCw4KAQgHBgMNDQQVDhgOIyEXBQ0cIiAWBgwIXgEZLRomJgo0CiYmGi0ICywGGQ8mDgkWCQ4mDxkGLCwGGQ8mDgkGCAonCiYmGjAOCwMGBwgBCg4LAQgJBRcbEgE0DAYMHCMhFgUMGyIhHhMTAAUAAAAAAQcBBwADAAcAFQAcACAAADcjFTMHNSMVJzczFxUHIxUHIyc1NzsCFxUzNSMXIxUzqV5eJhITE4MTEyYShBISJhNLEiaDS4SEgxImXl6pExODEyYSEoQSEkuDOIQAAAACAAAAAAEaAOMACAAMAAA3JzcXByc3IzUnMxUj9SwNQ0MNLL0lExOpLQ1EQw0tEziDAAAABgAAAAABLAEsAAcACwAXABsAHwAjAAATNzMXFQcjJzcVMzUFNTczFxUzFxUHIyc3NSMVFyMVOwI1I6kTXRMTXRMTXf7nE14SXhMTzhNxXl5eXhJeXgEZExNdExNdXV2ocBMTXhJeExNwXl4SXl4AAAQAAAAAARoA/gANAB8AJwAyAAA3IgcXNjMyHgEVMzQuAQcXDgEVMzQ3FwYVFBYyNxc3Jx8BBiMiJjU0FycuAS8BNjMyFhWWKh8PGSEeNB8SIzynHg8PExopCyAvDzgN4VY3DAsPFl0SAxMMEwYJGCD9Fg4RHjQeJDwjExwRLBcqHSUOFBggDzUNzmkyCBYQDBYRDBEBEQIgGAAAAAMAAAAAARoA/gAPABgAIQAANzQ+ATIeARUjNC4BIg4BFTM0NjIWFAYiJjcUFjI2NCYiBhMjPEg8IxIfNDw0HjggMCAgMCATFh4XFx4WeiQ8IyM8JB40Hh40HhggIDAgIBgQFhYfFhYAAwAAAAABGgEaACoAPgBQAAA3HgEXFh0BIzU0LgIiDgIdASM1NDY3LgM1NDc2NzYyFxYXFgcOAicyNzY3NjU0Jy4BIgcGBwYUFhcWNxUjBzUjNTMVNzM1IxUHBgc1jgwWBxAQCxUbHhsUDBAgGQUKBgMECRYKGAoWCQcEAgcIJwgIDwcDDAYPEAgPBwMGBgy9ITEQIRoXpAgFBG8FEQsXHAgIDxsUDAsVGw8ICBwuCgQKDQ0HDAsVCQUFCRUSEwYMCwIDBw8ICBEMBgYDBw8HEQ8GDKSDMTEQGhpjHgEBATEAAAAACAAAAAABBwEaAAkADgAYAB0AJwAxADsAQAAAEx8BFQcjJzU3MwcVMzUnBxQzMjY1NCMiBhc0MhQiFzM1IzUHFTcVIwcjNTM1BzU3FTM3FDMyNjU0IyIGFzQyFCLGPgMKzgkJkYi8OGgZDQ4ZDQ4QFBQ8LQ8fEA8aLQ8QIA4UGg0NGQ0OEBQUARc+B7YJCfQJEuGoOUwlFBIlFBIaMgsMPQYNAy1qDC0DDQY9GCQTEyUUExoyAAAAAAUAAAAAAQcBGgAJAAwAEwAaACEAABMfARUHIyc1NzMHMycjFTM1Iyc1BzcnBxUXPwIXFQcnN8Y+AwrOCQmRBDg4hLxCCUoiDSkpDSQNKSkNIgEXPge2CQn0CUs54ZYJQo4jDSkNKQ1EDikNKQ0iAAAHAAAAAAEaARoAEQAUABwAJQApAC0ANgAAEzMVFzMVMzUvAiMHFRczNSM3FyMXIwcVFzM3NQcVJyMHJyMHNRc3FysBNTcXNzI2NCYiBhQWJnAJQhMDPgaRCQlCOIM4OGeWCQmWCRIfDRYoDQ1PDx0eXRMvJQQGBggFBQEHQgkTKQc+Agn0CRPhOTgJcQkJcQpLHhYoDCdQDxwbEy5BBgcGBgcGAAkAAAAAAQcBGgAOABEAGQAeACgALgA3AD8ASQAAJS8BIwcVMzUzFRczFTM1BzUXDwEVFzM3NScHFSM1MwcjFSM1MzIVFAYnIxUzMjQXNic0ByMVMzInNTM2FhQGJzcjFSM1MxUjFTMBBD4GkQkScQlCE0s4xQkJzgoKCby8lgYNFBUNCgUFCkIJAR4UFA0UBgcLCghNEg0hFBLZPgIJZ15CCRMpBDk5OAlxCQlxCV4SXTgTORMICxsRESYJDBwBOAsjAQsPCwELFjkLDgAAAAAEAAAAAAEaAQcAAwAhACsAMgAANzM1Izc1NzMfATMXFQcjJzUjJzU3Mx8BMxcVIzUjLwEjFRcnIxUzPwEzNSMHIxUzNSMHJhISEgpTCAhrCQnOChwJCVMICGsKE2cICERxCEQ7CAhxaBNBvGsIXksTCQkEDgqWCQkvCakKBQ4KLiUFDjgPDzkOBRM4S10OAAAEAAAAAAEaAQcACgASABwALAAANzMXFQcjJzU3Mx8BNTcjDwEjFTczNyMvASMVMzcXJzcXFQcnNyMOARcjNDY3kX8JCfQJCV4HhQF3EAZUZnoBegcQUFAQMRkOKSsNGxoPFQETHhf0CrsJCc4KA8wdZxADcZYTAxA5EEkaDSoNKg4ZARUOFiABAAAAAAUAAAAAAQcBGgARABQAHAAgACoAABMfARUHIzUzNSMnNSMVIzU3MwczJwcjBxUXMzc1ByM1MwcVIzUHJzcjNTPGPgMKQThCCXESCZEEODgdgwkJgwoTcHATEjINMSE4ARc+B7YJE5YJQktUCUs5XgqDCQmDeXAcOCExDTISAAAACwAAAAABBwEaAAoADgAjACcAKwAvADMANwA7AD8ASQAAEzMXFQ8BFQcjJzUXIxUzFTM1LwE1IxUHIxUjNSMnNSMVMzUzNRUzNScVIzU3MxUjNRUjNTczFSM1FSM1OwE1Ixc3NSMVHwEVMzUvzgoDEAq7CUsTE0sQAyYJCRMKCRMmExISExMSEhMTEhITExIScxA4DwMTARkJXgYRfwkJ9Akmu3YQB1QvChISCi/hEhMTExMTExMTJRISExMmExMTFhBRUQ8HenkAAAAAAwAAAAABBwEaAAkADwASAAAlLwEjBxUXMzc1ByM1MxUzJzUXAQE4DXETE6kTE6leSzg43DgFEuETE6io4UsSOTkAAAAEAAAAAAETASwADQAQABcAHQAAEyMHFSMHFRczNzUzNzUnFyMHIzUzFRczNyM1MxUz23ESORISlxI7EDgeHiaWORJLS5ZeOAEsEzgTvBISORKXHh7hu3ESE7s4AAEAAAAAARoBBwAHAAABFQcVIzUnNQEZXUteAQcgWWhoWSAAAAIAAAAAARoBBwAHAA8AAAEVBxUjNSc1FxUzNTc1IxUBGV1LXnAmXuEBByBZaGhZIHFeXlkFBQAAAgAAAAAA+wEaAC0AUwAANyc2JicmJwYHBhcWFwcuAjc1Njc2NzY/ATY3Njc2JzceAQc2PwEVFhcWBw4BJxcGFhceAQc+ATc2JicOAS8BNiYnBgcGDwEGBwYVMQYWFyY3NjerCgkDCxIEDgIDBgMKCxQfEQEBAwQJChAICQcKAwQGDR8bCQYEEQoGCwsJJTsQAQkJDQoEDBIFBQQIBhMKBgwJFAIRCQ8CFwkEARAPCgUGHBMOCxwJDxYTEQ4NCA4OBBglFAcJCQ0NDw4ICgsPDBEMDBZHJQcIAgEQEyUbFBp/Bw0ZCQkcDwQRCxEjEAkJAg0bOxYWGg0PAhQXDAoSHwoXFRwfAAAAAgAAAAABCwEaAAYADQAAAScHJwcXMzcnBycHFzMBCg1wcQ13DXcNcHENdw0BDA1wcA13Bg5xcQ53AAAAAgAAAAABDgEaAAYADQAANxc3FzcnIwcXNxc3JyMTDXBxDXYNeA1wcQ12DaENcXENeOgNcHANeAACAAAAAADuAQAABgANAAA3BycHFzM3BzcXNycjB+BKSwxRC1GjTUwMUwtS/0pKC1FRzkxMC1JSAAQAAP//AS4BBwAUAB4AKwAyAAA3MxcVJic1Iw8BIxUzFhcjJzU3Mx8BMzcjLwEjFTM3Fz4BHgIOAi4CNhc3JwcnBxeRfwkIC3YQBlVgAgRvCQleBwt6AXoHEFBQEDERKCQXAhIhKCQWAxI4LQ8nGAwg9ApUBwQbEANxCQkJzgoDNhMDEDkQQgwCESIoJBcCEiEoJFI7DDQTDhoAAAUAAAAAARoBBwASABwAIAAkACgAADczFxUjNSMPASMVMxUjJzU3Mx8BMzcjLwEjFTM3FzMVIzczFSM/ARcHkX8JEncQB1ReZwkJXgcLegF6BxBQUBAQExMmEhIlEiYR9ApBExADcRIJzgoDNhMDEDkQNXBwcGkHagYAAAADAAAAAAElAQcADQAZACAAADczPwEnIzUnIy8BIwcVNzMfATMVIw8BIw8BFyM3Mz8BMxzOCTIJFQpsEQZeCRNQEAdnVQYQRwkTvbofRQYQbSYGhAwuChADCs7FEAMlAxAHOTFeAxAAAAMAAAAAARoBBwAKABIAHAAAJSMvASMHFRczNzUHFSM1Mz8BMycjDwEjNTMfATMBEH8QB14JCfQJE+FVBhB3AXoGEFBQEAd69BADCs4JCbuVHXEDEBIDEDkQAwAABAAAAAABGgEaAB8ANwBAAEkAADcnIw8BJwcXDwEVHwEHFzcfATM/ARc3Jz8BNS8BNycHJxc3FwcXFQcXBycHIycHJzcnNTcnNxc3FxQGIiY0NjIWBzI2NCYiBhQWqwoWCg0lERgDLS0FGA8lDwgWCg8lDxgFLC0GGA8lCAonJhstLRsmJwo0CiclGi0tGSYnCEAXHhYWHhcmCAsLEAsL2i0tBhgPJQ0KFgoPJQ8YBSstBRgPJQ8IFgoPJQ8YQy0ZJicINAonJRotLRkmJwg0CicmGy2DDxYWHhcXIgsQCwsQCwAABQAAAAABBwEaACIAJgA5AEwAUAAANyM2NSYnJi8BJiIGBwYHJicmIyIHBgcGDwEUFyMHFRczNzUHIzUzNSM1JjU3Njc2NzYyFxYXFhcWFTM0NzY3Njc2MhYXFh8BFAcVByMXIzUz/R4CBAMGCAUICQgDEQ0NEQwFCQgHBgMEAQIeCQnhCoRdXTgCAQIDAgcCDwQJBgQBAhMCAgQFCgMPCAUBAQICAjZeXl7hCA8LBQkDAgMBAgUUFAUDBQMJAwsDDggJqQkJqaCWEwQFCgMFAQQEAgIECAUDBQUFBQMFCAQCBAYBAwUKBQICqZYAAAAABQAAAAABGgEaABMAFgAmADAANAAANzMVFyMnNTczHwIVJic1Iyc1IxcnFRcVMxcVByMnNTczNTQ2MhYHBh0BMzU0LgEGBxUzNThLAlYJCZEGPgMIC0IJcbw4QRMJCXEJCRMWHxYzBSUGCgwlXiYSAQn0CQI+BzALBwgJQjk5OUsSCksJCUsKEhAWFgIGCBISBgkFAjc4OAACAAAAAADjASwAFAAlAAA3Jic1IxUOAhYXMxUzNTY3Njc2JgcOAScmJyY+AjcyMzIWBgfOEBYSGCABHhcEEgkHEwsNBR0MIg4LBgQBChEKBQUTHAEOzhADS0sEIzAlBUtLAQMIEBQuPwwDCQgNChUSDQIbKA0AAAAEAAD//gEcARoAHwAqAEkAVQAANyc3FxUHJzcjBiY9AS4CPgEzMhcWFxYVFAYHFRQWMycWPgIuAQ4CFhcWFx4BBw4BLgI2NzY3NTQmKwEXByc1NxcHMzIWDwE+Ai4CDgIeAYsYDCgoDRgjExwOFAULFw8JCRIIAxUQEAw1CBQOAgoQEA0DB8gOCgwDCQgaHBQGCwwICRELIxgOKCgOGCMTHAEGBwwHAQkQEQwDBxA4GA0oDSgOGAEcE2gDFBwaEAMIEgkJERoDZwwRmwUCDhQPBwMNEBB7AwoMIQ4MCwYUHBoIBQJoDBAYDSgNKA0YGxSyAQgODg4GAwwREAoAAAAABAAAAAABCAEtADQAPwBKAFcAADcuAQcGBwYHLgEnMjc+ATU0JyYnJiMiDgEeARcVBgcOAR4CPgE1Ni4BJzUWFxYXHgE+ATQHHgEOAi4BPgInIi4BPgIeAQ4BFw4BLgI+Ah4CBvkMIQ4MBgEBHioDBAQNEAQHEgkKDhcLBRQOCQgLCwUUHBsPAQkSCw8WExQEHSQYqAgKAg4UDwcDDRADCA4HAw0QEQoED40FDg4LBgQMEQ4JAwSbDAMJCA0EBAMqHgIGFw4KCRIHBBAaHBQDXwIFCBsbFAYLFw8JFA8CLRULCgESFQMbJTIEDxQOAgoQEA0DggoPEQwDBxEUDXsFBAMJDhEMAwYLDQ4AAAYAAP/+ARoBGgAhAC0AOQBKAFUAYQAANwYPARUWFx4BFRQOAiMiLgE+ATc1LgI+ATMyHgIVFAcuASIOAR4CPgInFjI+AS4CDgIWFxYXFhUUDgEuAjY3Njc1Mxc+AS4BDgIeATYnBxc3FzcnNycHJwdpCA0IBAQNEAcNEgkPFwsFFA4OFAULFw8JEg0HFgQNEA4HAw0QEAkBLAcQDQgBCRARDAMHyA4KDhAaHBQGCwwHChILBwIKEBEMAwYQFB0fDR8gDR8fDSAfDdAMBgJeAQIFGA4KEQ4HEBocFANfAxQcGhAHDRIJD58HCAoPEQwDBg4PngUIDhANBwQMEBB7AwoOEw4YCwYUHBoIBQJDhQcUEAYDDBEPCwLYHw4gIA4fIA0fHw0AAAAABQAAAAABLAEaAB0AKgA2AEoAVgAANwYPARUWFxYVFAcOASIuAT4BNzUuAj4BMzYWBxQHLgEjIgYXHgI+AicWMj4BLgIOAhYXIzU0JisBFwcnNTcXBzMyFhcWBxUjNSM1MzUzFTMVI2kIDQgTCggDBhgdFwsFFA4OFAULFw8THQEWBA0IDREDAQ0QEAkBLAcQDQgBCRARDAMHyBIRCyMYDigoDhgjDhgFBAETODgTODjQDAYCXgQQDA4KCQ0QEBocFANfAxQcGhABHBQPnwcIFQ0IDAMGDg+eBQgOEA0HBAwQEC8cDBAYDSgNKA0YEA0JCcU4Ezg4EwAHAAAAAAEbARoAIAAsADgAQQBKAFMAXAAANz4BNTQuAiMiDgEeARcVDgIeATMyPgI1NCYnJic1Fx4BDgIuAj4BMiciLgE+Ah4CDgEXFAYiJjQ2MhYHMjY0JiIGFBYnFBYyNjQmIgY1FBYyNjQmIgZUDRAHDRIJDxcLBRQODhQFCxcPCRINBxANBAQFBggBCRAQDQMHDhAICA4HAwwREAkBCA3QGycbGycbLwwRERcREQcLDwsLDwsLDwsLDwu+BhcPCRINBxAaHBQDXwMUHBoQBw4RCg4YBQIBXnUEDg8OBgMMEQ8KgwoQEAwEBw0QDgifFBsbJxwcLxAYEBAYEIgICwsPCwtIBwsLDwsLAAAAAAUAAP/+ARoBGgAdACoANgBXAGMAADcGDwEVFhcWFRQHDgEiLgE+ATc1LgI+ATM2FgcUBy4BIyIGFx4CPgInFjI+AS4CDgIWFxYXFhUUDgEuAjY3Njc1NCYrARcHJzU3FwczMhYXFgcXPgEuAQ4CHgI2aQgNCBMKCAMGGB0XCwUUDg4UBQsXDxMdARYEDQgNEQMBDRAQCQEsBxANCAEJEBEMAwfIDgoOEBocFAYLDAgJEQsjGA4oKA4YIw4YBQQBCwcCChARDAMGCw0O0AwGAl4EEAwOCgkNEBAaHBQDXwMUHBoQARwUD58HCBUNCAwDBg4PngUIDhANBwQMEBB7AwoOEw4YCwYUHBoIBQJoDBAYDSgNKA0YEA0JCaoHFBAGAwwRDgkDBAAABQAAAAABGgEaAAwAGAAfACMAJwAANzMXIyc1NzMXFSc1IxcHMzcnIzcnIw8BFzczBzMHNyMnIzUzByM1MzkwDUYKCuEJE85oGyppDR8PDzYRKxErNiNCbB8zCjY/GiUucRMJqQkJWiEwqUFsIBsdC14acDhtSDgTORMAAAEAAAAAARgBIQBsAAAlFhUUBwYHFh0BFAYiJj0BNiYnNzY3Njc2NTQvATYnBg8BJgcnJiMGFwcOARUUFxYXFh8BBhcVFgYiJj0BBicmJyYvAS4BJy4BPgEXFhcWHwEWFxY3NSY3JicmNTQ3Jj8BNhcWFzYXNjc2HwEWAQcRFxIgBgUHBQEFBQUWDREJCxACBwYREwcpKQcaCwYHAwgJCwgSDRYFCwEBBgcGEQ0LCQUIAQUHAwIDAgYDBwcDBwEKCA0VAgcgERkRBQkGBAoQFSkqFBALBAYJ6hQbLRgRBQoRLgQFBQQuCA0GDgMGBw8SHRYRChASBA0CCwsCEBMQCQgVCh0RDwgGAw8KDy8EBgYEGgQEAwgECwEGBgEBBgYEAgEFAwgCDQQHBQQODQYRGCscFBoVBAIBAw0KCg0EAgIFGQAAAAH//wAAAS0BLABUAAATIg4BFRQeARcyNj0BBicmJyYvAS4BLwEmNzYzMR4BHwEWFxY3NjcmJyY1NDcxJjczMhcWFzYzMhc2NzYXMRYPARYVFAcGBx4BHQEUFjM+AjU0LgGWKUUoGi4eBQUOCwkHBAMDAggDAwkEAgQGCwMDCQ4KCgEIHhAWEAcJBAYICg0PFxEUEg0HAwgFARAWDx8EBgUFHi8ZKUUBLChFKSA6KgoEBBkDAwIFBAUECAoDAQYDAQEHBAQPAQEEDAgEDRMnFxETFAMECQUFDAMCARMUAREXJxINBAMOCikEBAorOh8pRSgAAAACAAAAAAEtASwADABqAAATIg4BFB4BMj4BNC4BAyMiJj0BNCYnPgI3NjU0Jic+ATQmJyMiBg8CJgcvAS4BKwEOARQWFw4BFRQXHgIXDgEHDgEmLwIuASMHBhQfARYfAR4BNzM3FRQGKwEuAj4CMh4CDgEHlilFKChFUkUoKEUBAgIEBAUNFxADBAcGAQECAgIFCAQJByAgBwkECQQDAQIBAQYHBAMQFg0DBAEHDwsEBAQDBgMFAQIIAgIGAxEKBgcEAwEdLBMKJDc+NyQKEywdASwoRVJFKChFUkUo/vADAyMHDQQBCRALDQ4JEgcEBwkJBQICBQQJCQQFAgIFCQkHBAcSCQ4NCxAJAQMJBQMBCAcEBQEDAQECAgYCAgsJCgEBFgMDCSw6PjIcHDI+OiwJAAAAAAoAAAAAARoBGgAMABIAHgAqADEANwBBAEgATQBTAAATMh4BFA4BIi4BND4BFy4BJxYfATY1JicjFhUUBzM2JzU2NCcjBhUUFzM2JyYnKwEGByM2Nw4BDwEGFBczJjU0NyMXIx4BFyYnFzY3IxY3Bgc+ATefITghIThCOCEhOH0JHhIMBjIBAQMsAQQvAkEBAkgBBEMCAwcQCgkRBhQFDRMdCQgEBC8EASw0LAomFxIJLxIKNwlCCRIXJQsBGSE4QjggIDhCOCFLEhoGFxs4BQQPDQoIExMJCgEJEgkJCRMTCkEeGhoeGxgHGhISDh0OExMICkoWHAUZHTEWGxscHhkFHBYAAwAAAAABLAEaABYAJwAqAAA/ATUnBxcjIgYUFjsBNSMiLgE2OwEHFzcjJzMfAhUHIyc1FxUzNSM3FTNxJigNGDgUGxsUCQkMEAERDDgYDV8yE1gNOQUTqBMTqEsTOL0nDSgNGBwnGxMQGBAYDUsSBTgOqBMTjBB8lks5AAIAAAAAARoAvAADAAcAACUhFSEVIRUhARn++gEG/voBBrwTJhIAAAAHAAAAAAEaAQ8ACQARABUAHQAhACkALQAANxcHJzU3FwczFQc1NzMXFQcjNzUjFTc1NzMXFQcjNzUjFTcVFzM3NScjFxUjNSgQCyAgCw/wzgkmCQkmHRM4CSYJCSYdEzgJJgkJJh0T4RELHwwfDA8TxqsICKsIEZmZHYUICIUJEXV1fWAICGAIEFBQAAIAAAAAASABLAAGABMAACUVIyc1MxU3ByMnByc3Mxc3MxcHARn9CRPOYQ0fRA5LDh9gDSYNOBIJ/fS4YR9EDUsfYSYNAAAAAAYAAAAAARoBLAAGAAoADgASABYAGgAAJRUjJzUzFTczFSM3MxUjBzMVIwczFSM3MxUjARn9CRM4JSWDJiZLJiY4JSWDJiY4Egn99M8mOCUmJSYlOCUAAAAHAAAAAAEaASwABgAOABIAGgAeACYAKgAANzM1IzUjFTc1NzMXFQcjNzUjFTcVFzM3NScjFxUjNQc1NzMXFQcjNzUjFRz98xMlCiUKCiUcE4MKJQoKJRwTXgolCgolHBMmEvT9JZYKCpYJE4ODsrwJCbwJEqmps3EJCXEJE15eAAYAAAAAAM8A9AADAAcACwAPABMAFwAANzMVIxUzFSMVMxUjNzMVIxUzFSMVMxUjXiUlJSUlJUslJSUlJSX0JiUmJSa8JiUmJSYAAAALAAAAAAEHARoACQARABUAHQAhACkALQA1ADkAPQBBAAATMxUjFTMVIyc1FyMnNTczFxUnMzUjFyMnNTczFxUnMzUjByMnNTczFxUnMzUjFyMnNTczFxUnMzUrAhUzNSMVMxwmHBwmCXomCQkmCSUSEow4CQk4CjkmJkEmCQkmCSUSEow4CQk4CjkmJhImJiYmARkS4RMJ9GcJJgkJJgoSJQk4Cgo4CiWWCSYJCSYKEzkKOAkJOAkmE3ASAAIAAAAAARoBBwAdAD0AACUuAScuASIGDwEnLgEiBgcGBwYUHgEfATc2NzY1NAcGDwEnLgI0PgE3Njc2FxYfATc2NzYXFhcWFxYVFAcBFwIJBwoaGxkKDQ0KGRsaCg0FAgQJB29vBwQJFQMKYWIFBwMDBwUHChMUCQcaGQcKExQJBwUDBwHSCREGCgsLCQ0NCQsLCg0TCRISEAZvbwYIEBMJFQ0KYWEFDAwODQsFBwQICAMIGRkHBAgIBAcFBgsOBwYAAAACAAAAAAEdARsAHgAlAAA3PgEmJy4BDgEHNSMVFzM1Iz4BHgEOAiYnBx4CNic3JzUjFRf9Eg0MEhM8QTgQEwlCKRNISi4CMUtGEhAPOEI+Kw42EwNFFzk5FxocBCEcLUIJEiIdFT5NPBIhIgkdJgYbLA02R0sHAAACAAAAAAEUARMAEQAcAAATFwcnFQcjJzUjFQcjJzUHJzcHFTM1NzMXFTM1J513DRMKOAkmCTgKEg53RCYJOAolSwESbA4RegkJQkIJCXoRDmxYgkIJCUKCRAAAAAQAAAAAAPQA4gALACAALAAwAAA3MzUjFSM1IxUzNTMXMyc2NzY3NjQuAScmJyYrARUzNTM3BisBNTMyFhUUBwYXIxUzeQ8PMRAQMWoRGAMECAMCAwUEBgcEAy4PHAkDAiAgBgoBAxe8vHFwMTFwMDAxAQMGCQULCgcDBQIBcC4QASQKCAUDB2YTAAAABQAAAAABBwEaACQALgA7AD8AQwAANzMXFTMXFQcjFQcjByc1Iyc1Iyc1NzM1NzM1LgE1NDYyFhUGBxc1IxUXMxU/ATMnBgcxBiYnBx4BMjY3JyMVMzczFSOfSwkKCgoKCTovEC8KCQkJCQpLBAYLEAsBCUKWLwkiBzUoCw4NGAkNChkcGQlMExM4ExPhCSYKEgk5CTQHLQw2CRIKKAcVAwgGBwsLBwsFYThuAikmAy4KAwMICQ4JCwsJMxMTEwAAAwAAAAABGgEaAAkAEwAdAAA3Mzc1LwEjDwEVNyM1Mx8BMz8BMycjDwEjLwEjNzMc9Ak0CI0JNPThLw4IVggNMQE1CQxLDgg1MX8mCVSQBgaLWQk4FwUFFxMFFxcFhAAAAQAAAAAA9ADPABEAADcVFBY7ASc3FxUHJzcjIiY9AUsFBIEeDTAwDR6BCxHOJQQFHg4wCy8NHhAMJQAABAAAAAABGQEbABMAJwArAC8AABMeARceAQYHDgEmJy4DPgMXPgE3PgEmJy4BBgcOAR4BFx4BNyczNSMXFSM1oRYpDxgSDBUTNzwbFB4RAg0aJisgEiEMEgsQFBIxMxUZGgMfGhEmEh8YGBgYARkDExAYPkAaGBkCDgsiKi0sJBoL8wQUDxY3NRUSEQcOETU7Mg4JBgSUEiVLSwAAAwAAAAABJwEHAAwAEAAUAAA/ATMXFSM1IxUzFSMnBScVNwc1FyMTE+ESEuFdXRMBFH4zID0l9BMTcXGWExMgfrEzBlY+AAAACQAAAAABBwEaAAcADQAVABsAJAAqADIAOABBAAA3FzY0JwcWFCc3JicHFic3JiIHFzYyBycGBxc2BzQ3FwYWFwcmFwcWFzcmFwceATcnBiI3FzY3JwYnMjY0JiIGFBbvEgYGEgULEBIjCR4sBRInEgYPIT8JIxIRDy0GEgYBBRIGHhESIwkeLQYSJxIFECE/CSMSEBBMBwsLDwsLfwUSJxIGDyE/CSMSEQ8VEgYGEgYMERIjCR5NFBIGDyEQBRIbCSMSEBAWEgUBBhIFCxASIwkeOgsPCwsPCwAAAAMAAAAAASMBGwAVADAAOQAANwcvATcXPgMeAxcjLgIGBzcfAQcnDgMuAyczNRQeAz4CNwcnNycUFjI2NCYiBmM9DRkRDwgbJCgpJRwQARIEMkg+DCytGREPCBskKSkkHBACEwwYHyQjIBcHKwc9fwsQCwsQC8IZBTwHJBMfFAgGFB4mFCQ0CSciEkM9CCUTHxQIBxQeJhUJEiIcEgYGEhwREhIZCggLCw8LCwADAAAAAAEHARoADQAbACQAABMiDgEeAj4BJzYuAgciLgE+Ah4BFRQOAicUFjI2NCYiBo0lPhwONUhEKgEBEyItGCA0GA0sPTojEB0mJwsPCwsPCwEZKURJNA4cPSUZLCMS4SM6PSwNGDQgFCYdEGcHCwsPCwsAAAABAAAAAADgAQcAHAAANwcjNzI3Njc2PwE2NTQuASM3MwcmDgEPAQYUHgGpAlwCDgUHAwYGJgUECQwCVgIKDQgGJgYECS0GBgIDBQgUhxAJBAcCBwcBBgwVhxMJBgMAAAACAAAAAAEaAQcAGwAxAAA3Iyc1Iy8BPwEXHgEXFhcWNzY/Ax8BDwEjFSczNTczNycHBgcOASImJyYvAQcXMxffkwkbCQwGUAwBBQIFBg4NBgUFBAxQBgwJG5OACR0IPwMDAwgUFRMHBAMDQAkcCiEKfQcyCxsGBQcCBQMFBgIFBQkGGwsyB30JfQkjFQQFAwgICAgDBQQVIwkAAAACAAAAAAEHAQcARgCNAAA3NSMiDgEHMQYHMQYXFRQHMQYHBisBFTMyFxUWFxUWFzEWHQEGFxUWFzEeAhczNSMiLgI9ATQmJyYnNjc+AT0BNDY3NjMXFTMyPgE3MTY3MTYnNTQ3MTY3NjsBNSMiJzUmJzUmJzEmPQE2JzUmJzEuAgcjFTMyHgIdARQWFxYXBgcOAR0BFAYHBiNxAgkRDAMDAQEBAgQKBQYBAQYFBQMEAgIBAQEDAw0QCQICBgoHBAICBQkJBQICCQcFBk0BCRANAwMBAQECBAoFBgICBgUFAwQCAgEBAQMDDRAJAQEGCgcEAgIFCQkFAgIJBwUG9BMHDQgICAgIEAYFCgUCEgIBAgMBAwUFBhAICAEHCAgNBgETBAgKBhkGDAULBwcLBQwGGQkNBAK8EgYNCAcJCAgQBgUKBQISAgECAwEDBQUGEAgIAQcICA0HARIECAoGGQYMBQsHBwsFDAYZCQ0EAgAAAAMAAAAAAKoBBwALABQAHQAANx4BPgImJyYOARY3IiY0NjIWFAYnIiY0NjIWFAaMBAoJBQEEBQYPCAIRCAsLEAsLCAgLCxALCykDAQUICgkDBAMND1YLEAsLEAteCxALCxALAAADAAAAAAEcARwAHAA5AEUAABMeAgcOASMiJw8BIxUHIxUHIyc1PwEmNTQ+Ahc2NzE2LgIHDgEVBhcPARUzNTczNTczPwEWMzI3PgEuAgYHBh4BNtUXIwwEBi8eDQsPBxMJHAo4CQJeBBEdJSwSBQMJGCARFh4BBQJeJQkdCRcRCgwMFwMDAQUICwkCBAMNDgEYBSArFh0mBBIDHAocCQkrB10NDhIjFwmKDhcRIBgJAwUkFw0MCl8eHQkcCRMDBEIECgkGAQUEBw8IAwAGAAAAAAEaARoALwA2ADkAPQBAAEcAACUnMzUjNSMVIxUzByMVMx4BMjY3MzUjJzMVIw8BFzM3LwEjNTMHIxUzHgEyNjczNQcGIiYnMwYnIzcfASM/ARcjFwYiJiczBgESHhNeE14THgcCBRgeGQUCCB86JQglB6kHJQglOh8IAgUYHxgFArcGDwwELwQBJhN2F4MXdhMmIAYPDAQvBKlLExISE0sTDhISDhNLlgQvDw8vBJZLEw4SEg4THQMHBgYZLYscHIotHAQIBgYAAAAABgAA//0BLQEYAAcACwAXAB8ALAAzAAATIwcVFzM3NQc3Fw8BJzMXNzMHIyIGDwEXBycjFzM3Jjc2FzIWFRQOAS4CNhc3JwcnBxeZCm9vCnPWXmFhBW0hUVQiDwcZJwgTEBVRIW0KFAQrDxEXIRMfIhgHDS4iDxwQDBgBGEwQSkoQCEFBP0JKNzcKHRYNDg43Sg0JPQoBIBgRHA0GGSEgPy0LJQ4PEwAABQAAAAABLAEYAAcACwAXAB8AKAAAEyMHFRczNzUHNxcPASczFzczByMiBg8BFwcnIxczNyY3FBYyNjQmIgaZCm9vCnPWXmFhBW0hUVQiDwcZJwgTEBVRIW0KFAQTIC8hIS8gARhMEEpKEAhBQT9CSjc3Ch0WDQ4ON0oNCQ4XISEvISEABAAAAAABDAEYAAcACwASABkAABMzFxUHIyc1NwcXNwcXMzcjBycXJzMXNzMHjwpzcwpvdF5eYdNtCnEiVFFMbSFRVCJxARhMEEpKEDlBPz83Sko3N3lKNzdKAAACAAAAAAEaARoABwALAAATBxUXMzc1JxUjNTMmExPhEhK8vAEZEuETE+ES8+EAAAACAAAAAAEaARoABwALAAATBxUXMzc1Jwc1MxUmExPhEhLhuwEZEuETE+ES8+HhAAADAAAAAAEaARoABwALAA8AABMHFRczNzUnBzUzFTM1MxUmExPhEhLhS0tLARkS4RMT4RLz4eHh4QAAAAAFAAAAAAEaARoAAwAHAAsAEwAXAAA3IxUzBzMVIxcjFTMnBxUXMzc1Jwc1MxVxOTk5OTk5OTlLExPhEhLh4fQTExITE4MS4RMT4RLz4eEAAAQAAAAAARoBGgAHAAsADwATAAATBxUXMzc1Jwc1MxU3NTMVNzMVIyYTE+ESEuElE3ATJiYBGRLhExPhEvPh4UuWlpbhAAAAAAQAAAAAARoBGgAHAAsADwATAAATBxUXMzc1Jwc1MxUzNTMVMzUzFSYTE+ESEuElE3ATJgEZEuETE+ESqJaWlpaWlgAAAwAAAAABGgEaAAcACwAPAAATNzMXFQcjJzcVMzUzFTM1ExPhEhLhExOWEjkBBxIS4RMT4ZaW4eEAAAAAAwAAAAABGgEaAAcACwAPAAATNzMXFQcjJzcVMzUzFTM1ExPhEhLhExM4E5YBBxIS4RMT4eHhlpYAAAAAAgAAAAABGgEaAAcACwAAEwcVFzM3NScHNTMVJhMT4RIS4eEBGRLhExPhEqiWlgAAAgAAAAABGgEaAAcACwAAEwcVFzM3NScVIzUzJhMT4RIShIQBGRLhExPhEvPhAAAAAgAAAAABGgEaAAcACwAAEwcVFzM3NScHNTMVJhMT4RIS4YMBGRLhExPhEvPh4QAAAgAAAAABGgEaAAcACwAAEwcVFzM3NScHNTMVJhMT4RIS4eEBGRLhExPhEs68vAAABgAAAAABGgEHAAcACwATABcAHwAjAAATBxUXMzc1Jwc1MxU/ATMXFQcjJzcVMzUHNzMXFQcjJzcVMzU4EhJLExNLSzkSORISORISOUsSORISORISOQEHE7wSErwTz7y8vBMTOBMTODg4gxISORISOTk5AAAGAAAAAAEoAQcABwALABMAFwAfACMAAD8BMxcVByMnNxUzNRc/AR8BDwEvARc3LwE3MxcVByMnNxUzNV4JJgkJJgkTEikGIwxGBSMMMkASQb8JJgkJJgkTEv0KCs4JCcW8vAcMDQXCDA0FwLAGsAwKCs4JCcW8vAADAAAAAAEaARoACAASADcAADciBhQWMjY0JhcnBzcnMzcXMwcnDgEHIxUUFjsBFhcjBiY9ATQmJy4BNTQ3PgMzMh4BFRQHBuEXISEuISECGRgJFhsKChwXHxIdByMDAxoDBSIKDwoJDA4MBRATFQwXJxcHBIMhLiEhLiFdEhIcEB8fEFIDGBIpAgQKCAEPCh4NGAkLHxEXEwoPCwYWJxcSDgkAAAIAAAAAAPUBGgAhACsAADcOAR0BFAYHBicjBiY9ATQmJy4BNTQ3PgMzMh4BFRQGByMVFBY7ATI2NdsJCwgHBAUeCw4KCQwODAUPExYMFycWDTMpAwMeAgOKCRgNHgcNAwIBAQ8KHg0YCQsfERcTCg8LBhYnFxIeLikCBAMDAAAAAgAAAAABGgEaAAwAFgAAEzMVIxUzNTMVByMnNSEVIzUHJzcjNTMcVUvhEgn0CQEGEn8NfmN6ARkS4UtVCQn0emN+DX8SAAAAAgAAAAABGgD0ACQASQAANzMyHgEdARQOASsBNTMyNj0BNCYrASIGHQEeARcVLgE9ATQ+ARc1HgEdARQOASsBIi4BPQE0PgE7ARUjIgYdARQWOwEyNjc1LgFTORIdEREdEgkJExoaEzkTGwEVEBggER2gGCARHRE6Eh0RER0SCQkTGhoTOhIaAQEV9BEeEQQRHRITGxIEExoaEwQQGQMTAyQYBBEeEUwTAyQYBBEeEREeEQQRHRESGxIEExoaEwQQGQAAAAMAAAAAAQcA9AADAAcACwAANzUzFSczFSM3FSM1cUtxlpa84UsTE14TXhMTAAAAAAQAAAAAAQcA9AADAAcACwAPAAA3NTMVJzMVIzcVIzUdATM1JuHh4eHh4eFxEhJLE0sTE6kTEwAABgAAAAABGgEHAAYACgAOABIAMwBrAAATNzMVIzUHNzMVIxUzFSMXIxUzJz8BNjQnJicmIgcGBwYHFTM1ND8BMjMXFRYPAhUzNSMXMhcWFRQHBgcGIi4BLwEmJzEzFRcWMz8CLwErATU3Mz8BJzQmDwEGHQEjNTQ3PgIyHgIUBysHDQ0HM7u7u7u7u7vTAQEDAQIHBQgFBgIBARABAQECAQEBAhMlEQsCAQMBAgcFCAUEAgIBARABAgEBAQEBAQEEBAEBAQEDAQEBDwMBBAYHBgYEAwEABzkqBgITOBM4E1IBAQUIBAcCAgICBwMDAQEBAgECAQMDAxULDToCBAYDAwcCAgIDAgQDBAICAQECAgMCDAEBAwIBAQEBAQIBAQYFAgMCAgMHCQQAAAAAAwAAAAABGgD0AAMABwALAAA3NTMVJyEVITcVIzUTqakBBv76zs5LExNeE14TEwAABQAAAAABBwD0AAMABwALAA8AEwAAJRUjNRcVIzUXFSM1FxUjPQEzFSMBB+HOg4OWlpYTE/QTEzgTEzkSEjgTE5apAAAIAAAAAAEaAPQAAwAHAAsADwATABcAGwAfAAA3IxUzFSMVMwczFSMXIxUzNzMVIxcjFTMHMxUjFyMVMyYTExMTExMTExMTJc7Ozs7Ozs7Ozs7O9BMlEyYSJhO8EyUTJhImEwAABAAAAAABIwEgABYAJwAzAD8AABM3FxUHJzUjIgcGBwYHJyY3PgMXMxcVNycVIyYGBwYHNjc2NzYzBz4BHgIGBwYuATYXHgE+AiYnJg4BFqwSZGQSCB8PFhQVFxMBBAQZKDAaDRZHRiQYLhEVCRQUEhYPHEIMHRoQAg0MEysZCR4HERAJAggHDBoPBgEXCVARTAkjAwQNDx4GDg4ZLCARAUEjNjghARERFh0TCggDAkoJAg0YHRsHDAkkLDsFAggPERAECAYWGgABAAAAAAEYARoADwAAJS4CIg4BByM+AjIeARcBBQUfMDYwHwUTBSU4QDglBakaKxgYKxogMx0dMyAAAAAEAAAAAADiARAAEAAeACcAMwAANy4BIzEiDgIfATM3Nic0Jic7AR4BFxQPAScmNT4BFyYOAR4BPgEmJz4BHgIGBwYuATbLChwPFSIUAQw7CjsMAQtBAQIWIAEJMDAJASAiBhAIAw0PCQMmCBUSCwEJCQweEQX6CgwVIioSd3cSFg8bDgEhFxANYWENEBchKAUDDQ8JAw0PFAYCCREVEgUIBhkeAAMAAAAAAPQBBwAHAAsAGwAAPwEzFxUHIyc3FTM1JzU0JiIGHQEzNTQ2MhYdATgTlhMTlhMTlhMhLiETFSAVlhMTXhISXl5eEyUYISEYJSUQFhYQJQAAAAADAAAAAAEHARoAEQAZAB0AADcjNTQuASIOAR0BIwcVFzM3NSc0PgEWHQEjFyM1M/QTFCMoIxQTEhK8E6khLiFwlry8qSUVIhQUIhUlE3ATE3A4GCABIRglg3AAAAQAAAAAARoBEAAWABoAHgAwAAATIg4BHQEXMzc1NDYyFh0BFzM3NTQuAQcjNTMXIzUzJzU0JiIGBxUjNTQ+ATIeAR0BliQ8IxM4ExYeFxI5EiM8XDg4qTk5OSAuIQE4HjQ8NB8BECM8JF4TE14PFhYPXhMTXiQ8I+E4ODgTExggHxYWEx40Hh40HhMAAwAAAAABGgEPAAcADAAUAAATIwcVFzM3NScXByMnFyM1HwEzPwGbCn4J9AmDahqgGNnhFAioCBUBD0uVCQmVOD8dHYVyGgMDGgAAAAMAAAAAARoA9AAHAA0AEAAAPwEzFxUHIyc3FTM1ByM3IxcTCfQJCfQJE+FrDGS8XuoKCqgKCpWMjFJcSQAAAAACAAAAAAEaAM8AEAAXAAA3MxUjNwcjJxQVFyM1MxcWFzc1IxUjFzd3JxsBIRchARkoDw4BnCUkNzbOemNjYwcvLXorKwQWQkI2NgAAAwAAAAABGgDuAA8AFwAbAAA/ARcVBycOAi4CNy8BNRcGFRQeATY3Jxc1BybnDAxyAw8VFg8GAyYIQAELEA4CWNfXrUAKoQoeCw8GBRAVCwoKJD0CAgkMAggILDmKPQAAAgAAAAAA7gD1ADgAQgAANwYnBi4CNzQ+AjMyFxYVFAYjIjUOASMiJjQ+ATM2Fhc3MwcGFjMyNjU0JiMiDgEVBh4CNxY3JxQzMjY3NiMiBsQaHxEhGQwBDh0mFCQWGR8XFQYRCg4RDRcNCQ8DBBEPAwMGDhUlHxglFQEJFBsOHBlMEQsQBAkZDhJEDwEBDBkgEhQnHRATFSMeJxIJCRMiHRIBCggPPA0KHxYdIBgpGA8aFAoBAQ04FxIRJB4AAAAAAwAAAAABLADhAAMABwALAAAlITUhFSE1ITUhNSEBLP7UASz+1AEs/tQBLM4TqRM4EwAAAAIAAAAAAOsA/gAmADsAADcnIwcXNxUxFTEVFB8BFhceAR8BHgIdATM1NC4CLwEuAjcnFwc2NyYvAQYPAQ4DHQEzNTQ+ATfFKA4oDRUBAgICBA0HDgcMBxoFCwwHDQYLBgEBFTQDAwcEAgUGDQcMCwUaBwwH1SgoDRQTCQYFBQsGBgsRCA8HERMNERENGBIQBw4GEBQLHRRTBAMKDAUHBg4HDxMYDRERDRMRBwADAAAAAAEaARoAEQAWABoAABMjFSMHFRczFTM1Mz8BNS8BIxcjNTMXJzMVI5YTZwkJZxNUBygoB1RQwMAfp15eARklCksJg4MCJg4lA0s4HAkSAAADAAAAAAEaARoACgAVACUAABMfARUHJwcnNT8BHwE1JxUjNQcVNzE/ARcVByc3IxcHJzU3FwczoXQEDnV1DgR0FWdnE2dnIw4uLg0ecR4NLi4NH3IBGUsHrAhLSwisB0urQpZCNjZClkJaDS8NLg0eHg0uDS8NHwADAAAAAAEaAPQAEwAeACIAACUnIwcVMzUXBh0BHwEzPwE1NCc3BxUHJzU2NxczNxYvATcXARmABoATKw8FSwhJBg8/QkFCAQ0xBzANQWdnZ8IyMndeERUaCAciIggIGRUZRwEeHgEWEhMTEhEoKCgABAAAAAABEAEaAAkAEwAdACcAADcHNSMVJwcXMzcnFzcVMzUXNycjDwEzFSMXByc1NxczJzcXFQcnNyPAIRIhDTAOMG4NIRIhDTAONSFBQSENMTFlQSENMTENIUFjIEBAIA0wMJMNIEBAIA0wUCATIA4xDTAtIA0wDTEOIAAAAAAFAAAAAAEaARoADAAQABgAHAAgAAATNzMXFQcjNTM1IxUjNxUzNQ8BFRczNzUnBzUzFQczFSNxCZYJCS8mhBIShOsJCZYKCoyDg4ODARAJCYMKE0sTORMTXgqDCQmDCiYTExJLAAAAAAMAAAAAARkBFwAJABEAHQAANzM3FxUHJyMnNR8BNQ8BIxUzNxcHFwcnByc3JzcXHDRJEBBJNAlIOzsHLi63DSAgDSEgDSAgDSDOSAb0BkgJXlg7xzsCS0kNICENICANISANIAADAAAAAAEsARoAEAATAB8AABMfARUjNSM1IxUzFSMnNTczBxUzFyM1IzUzNTMVMxUjskACE0teS1QJCX4ENhUTODgTODgBF0EIJRNLzxIJ4QkSOc44Ezg4EwAAAAMAAAAAASwBGgASABwAKAAAASMvASMHFRczNSM1Mz8BMwczNQcjDwEjNTMfATMHIzUjNTM1MxUzFSMBEH8QB14JCWdeVQYQdwETE3oGEFBQEAd6ExM4OBM4OAEHDwMJzgoTcQIQJVQcAxA4EAL0OBM4OBMAAQAAAAAA9ADFABEAADcVFAYrATcnBxUXNyczMjY9AeEFBIEeDTAwDR6BCxHFJQQGHw0wCjANHxAMJQAABAAAAAABGgDSAAgADwAWACgAADc2HgEOAS4BNhcuAQ4BFh8BHgE+ASYnNxUUBisBNycHFRc3JzMyNj0BLBMuGgknLhoJRgkUEgoBBQ0JFBIKAQWcBgRNHg0wMA0eTQwQxQ0JJy4aCScuAgUBChIUCQ0FAQoSFAklJQQFHg4wCy8NHhAMJQAAAAUAAAAAARoBBwAHAAsADwATABcAABMzFxUHIyc1FxUzNQczFSMXIxUzBzMVIxz0CQn0CRPhvJaWcXFxcUtLAQcKuwoKuwmpqSYSExMTEgAAFwAAAAABLAEsAAMABwALAA8AEwAXABsAHwAjACcAKwAvADMANwA7AD8AQwBLAE8AUwBXAFsAXwAANyM1MxUjNTMVIzUzFSM1MxUjNTMdASM1FzMVIzczFSMDIzUzFyM1OwIVIzMjNTMXIzUzFyM1MxU1Mx0BIzUzKwE1Mxc3MxcVByMnNxUzNRczFSMVMxUjFTMVIyczFSMTExMTExMTExMTExMTExMlExMlExMlEhITExM4EhImExMlEhITExPOExNLE4MTE4MTE4MlExMTExMTll5ezhM4EzkTOBM5EyUTExMTExMBGRMTExMTExMTEyUSEiYTE0sSEqkTE6mpqRMmEiYTJYMTAAAAAAcAAAAAARoBGgAHAAsAEwAXABsAHwAjAAATNzMXFQcjJzcVMzUHNzMXFQcjJzcVMzUXIxUzBzMVIxcjFTMmEqkTE6kSEqmWE14SEl4TE15dEhISEhISEhIBBxIS4RMT4eHhJhMTExISExMTEyUTJRMmAAAABAAAAAABGgD6ACUAQABJAFIAACU2NzYnIyYHBgcGByYiByYnJgcxBhcWFwYVFBcWFxYyNzY3NjU0ByInJicmNTQ3NjcyFxYyNzYzFhcWFRQHBgcGJyIGFBYyNjQmMyIGFBYyNjQmAQQDAQEHBAQGCAkMDhJCEhkSCQUHAQEDFREPHxpTGx8PEYMhEBgMDREIDwoWERISFQoPCBENDBgQSggMDBAMDEoIDAwQDAzCCAoSEgECAQUFCQUFEAQCARISCggXICkYFQoICAoVGCkgeAMECwwZEw8IAgEBAQECCA8TGA0LBANSERgRERgRERgRERgRAAQAAAAAAS0BGgAMABAAIgAuAAATMxcVJic1IxUHIyc1FzM1IxciByMOARcHFzceAT4CLgIHBi4BPgIeAg4BOM8SCQpdFVwSEl5ewwwKAREJCywNLAkXFQ8HBA0VCAoPBwQMEBAJAQYMARkSZAQCXswVEs/Pz3EHCicRLA0sBgMIEBUWEgpLAQsPEQwDBg0PDggAAAAKAAAAAAEaARwACwAXACQALQBIAGIAdwCSAJ4ApwAANw4BLgI2NzYeAQYnLgEOAhYXFj4BJjc2FhceAQ4CJicmNhcWMjY0JiIGFAczFSMiJj0BIiY9ATQ2OwEGByMiBh0BMxUUFjcmKwEiBh0BFBYzFQYXFhczPgE9ATI2PQE0ByMVFAYrASImPQEjNSY2OwEyHgEVFyM1MzI2PQEzNTQmKwEmJzMyFh0BFAYjFRQGJyIOAR4CPgE1NCYHIiY0NjIWFAarCRQSCwIKCA0eEgYYBAoJBgEFBQYPCAMrCRQHBQQDCQ4RBgkCFAMIBQUIBZwiIgkOBwsTDiIHAxgGCRMCiwoOLg4TCwgBBwUHJggLBwsSEwICHgICEgEJBi4FBwM0IiIBAxMJBhgDByIOEwsHDq4JDgYDDBEQCRAMBAUFCAUF1QYCCREUEgYIBhkfJgMBBAkKCQMEBAwPBAUCBwUNDgsGAwYKGhYDBQgGBgilEw0KIgwIKQ0UCAsJBSo1AgJ6ChQOOwgMLAkHBQECDAgsDAg8DUo/AQICAT89BQkFBwJ2EwICNSoFCQsIFA0pCAwiCg3ZChARDAMGDwgMESYFCAYGCAUAAAAFAAAAAAEHASwAFQAZAB0AIQAlAAATFRcVByMnNTc1MxUzNTMVMzUzFTM1AzM1IxczFSMXIxUzBzMVI/QTE7wSEhMmEiYTJam8vCZwcHBwcHBwcAEsExL0ExP0EhMTExMTExP+5/QmEzgTOBMAAAAABAAAAAABGgD0AAoAEAAUABwAADcfARUPAS8BNT8BFwcfAT8BBxc1JxcVNzUHFQc1oWwMB3NzBgtrBEsKQDkRsV5ecV4mE/QdCX4JICAJfgkdExMDEQ8FdxpsGRlsGmsKMAUwAAMAAAAAARIBGgAjAC0AQgAAJSc1JzU0JyYnJiMiBh0BBwYUHwEWFxY3Nj8BBxQeAjI+AicmPgIeAR0BBxcOASYvASY0PwEVBhQeAT4BJic1FwERFlwCBAsGBQwQOQkJRAQFCwoFBF0NAQYHCggGApYBAQMEBgQSEwEFBgFEAwNSBQYKCQQDBEhPOgFcFwYFCwQCEAw9OAgXCUQEAgQEAgRdKgQJBwQEBwizAgQDAQEFBBcTqgICAgJEAggDUTUECwkDBQkKAzVJAAAAAAIAAAAAARoBGgAMABMAADcyPgE0LgEiDgEUHgE3Iyc3FzcXliQ8IyM8SDwjIzwRDSsNJE8NEyM8SDwjIzxIPCNNKw0kTw0AAAMAAAAAARYBGwAGABwALwAANzM3JwcnBzceARcWFRQHDgEHBicuAzc2Nz4BFzY3Nic0JicmJyYGBw4BFhceAXYNVQ1PJA1WFikQJh4PJhYwJxQeEAMHDyYSKyEmGRkCEQ8dJhMmDyAXISIQJmBWDU8kDY4BFBApNysnEhcECRYLIiouFS4ZDAz0CR8iJRcqEB0DAQkLGE5IEwoGAAQAAAAAARoBGwALABcAIwBFAAA3IxUjFTMVMzUzNSMnLgEOAhYXFj4BJic+AR4CBgcGLgE2FzMyFh0BIzU0JisBIgYdATMVFBY7ARUjIiY3NSImNzU0NvQTJSUTJSVUBAoJBQEEBQYPCQMmCRQSCwIKCA0eEQYKLg4TEgkGLgYJEwICDw8JDgEJCwETcSYTJSUTuAMBBQgKCQMEAw0PFAYBCREUEgUJBxkeRRMODg4GCAgGMz8BAhMNCSwMCDIOEwAAAAAEAAAAAADPARoACAARACkAPQAAEzIWFAYiJjQ2NyIGHgEyNjQmFyMiBh0BBhYzFQYWOwEyNj0BMjYnNTQmBzUmNjsBMhYHFSMVFAYrASImPQGWCAsLEAsLCBAWARUgFhYHLg4TAQsJAQ4JHgoNCAsBE0oBCQYuBgkBEgICHgICAQcLEAsLEAsSFh8WFh8WVBMOMggMLAkNDQorDAgyDhNUMwYICAYzPwECAgE/AAAAAAQAAAAAARoBGgAFAA4AGwAtAAA3My4BJxU3HgEXFhUjNTIHFzMOASMiLgE1NDY3FzI+ATc2NSM1IgcOAhcUHgG8SQYoHAEjMwYBcAkvE1wHMyIZLBkrIBMbMCAEAnEJChorGQEeM7wbKAZJXAYzIwoJcIMTICsZLBkiMwfMGCsaCglxAgQgMBsfMx4AAgAAAAABBwDhABwANwAAJRUjIiYnIw4DKwE1Iyc3MzUzMhYXFhczPgEzBwYHBg8BIycmJy4BJxU+ATc2PwEzFxYfARYXAQcGCxMHNgQMDxIKCTwTEzwJChEIEAg2BxMLCQMDBQMETQIECQQPBgYPBAkEAk0EAQIFAgTOgwoJCQ4KBUsKCUsFBQoSCQoUAQIDBgUGDAgDBwGDAQcECAsHBgMCBAIBAAAAAgAAAAABLQEHADYAUAAAEzMVFAYHFR4BFwYHMSYvATU3Nj8BNjcjFhcWHwEVBwYHDgEHMwYHIxUHJzUjNTQ2NzY3NS4BNRc+AhceARcWFAcOAQcGIicuAScmNjc2NzZLgwkKCQ0ECQgJDAYFAwIEAgFbAgEEBQYHCwgEBwFeBQQKCQpLBgQKEgkKjAcODwgOFQQCAgQVDggPBw4WBAIBAQUMBAEHBgsTBzYECwYDBQoEAk0EAQIFAwMEAgUDBE0CBAkEDwYHCDwTEzwJChEIEAg2BxMLmAQDAQMDFQ8HDwgOFQQCAgQVDggPBxALBAAAAgAAAAAA4QEHABwANwAAEzMVFAYHFR4DHQEjFQcnNSM1NDY3Njc1LgE1FxYXFh8BFQcGBw4BBzMuAScmLwE1NzY/ATY3S4MJCgkOCgVLCQpLBgQKEgkKFAIBBAUGBwsIBAcBgwEGBAgMBgUDAgQCAQEHBgsTBzYEDA8SCgk8ExM8CQoRCBAINgcTCwkEAgUDBE0CBAkEDwYGDwQJBAJNBAECBQMDAAAABAAAAAABFgEbABUAKAAuADEAABMeARcWFRQHDgEHBicuAzc2Nz4BFzY3Nic0JicmJyYGBw4BFhceASc3FxUHJzcVN6EWKRAmHg8mFjAnFB4QAwcPJhIrISYZGQIRDx0mEyYPIBchIhAmJw5UVA4SOgEZARQQKTcrJxIXBAkWCyIqLhUuGQwM9AkfIiUXKhAdAwEJCxhOSBMKBqsIOBA4CF9OJwACAAAAAADwAQcABQAIAAATBxUXNzUHNRdHDw+ppY8BBwjhCHAQZ75fAAAAAAIAAAAAAOIBGgAVAB8AABMjFSMHFRQWFxUzNT4BPQEnIzUjFSMXDgEuAT0BMxUUgxIdCSUdEh0lCRwTJjsMIh8TcAEZOAlCHCsDOTkDKxxCCTg4cwwGDRwRODgXAAAAAAUAAAAAAQ0A7wAHAA8AHwAnAC8AADcjJyMHIzczFycmJzEGDwEXNTMyFhUUBgcVHgEVFAYjJxUzMjY1NCMHFTMyNjU0I6ATDz4OEzgREBcBAQECFm4pExYOCw4SGxQZEQ4QHBMXDxAjXigokFk+AwcHAz43kBIPDBIEAQETDxIXgS8ODBU+NA4MGgAACAAAAAABGgEHAAcACwAPABMAFwAbAB8AIwAAEzMXFQcjJzUXMzUjFyMVMycjNTMHMzUjFzMVIycjFTMHMxUjJuESEuETE+Hhzry8E5aWOEtLEyUlOUtLS0tLAQcTvBISvLy8EzgTEoNLEyU4EyUTAAIAAAAAAOsA6wAHAAsAAD8BMxcVByMnNxUzNUIJlgkJlgkShOEJCZYJCY2EhAAAAAUAAAAAARoBGgAHAAsADwATABcAABMzFxUHIyc1FzM1IxczFSM3IxUzNzMVIxz0CQn0CRPh4RImJnEmJiUmJgEZCfQJCfTq4RO8vHFxlgAAAQAAAAABGgD0ABIAADcnIwcnIwcjFTM/ARczNx8BMzXdIRMjFhIWNTwKDRYTIxsJQ4NxfV1REgcyX4RYBhIAAAQAAAAAAQcBGgAMABkAPABAAAATIg4BFB4BMj4BNC4BByIuAT4CMh4BFA4BNy4BIg4CBzM0PgEyHgIUBg8BDgEXFTM1NDY/AT4CNCYHMxUjjSE4ISE4QjghITghHDAcARswOC8cHC8BBQ8RDwoEARcFBwYFBAIEAw4DBAEWBAMHBAYEBC4VFQEZIThCOCAgOEI4IeEcLzgwHBwwOC8cngUGBgsNBwUHAwEDBQgJBBAECQUMCQQIBAgECgsNDF4WAAIAAAAAAQoBDQAQACIAADcOARUyMzIWFAYjIiY1NDY3Fw4BFTIzMhYUBiMiJjU0NjcXhiMgAwUTHBoVGx0vL5kkIAMFExwaFRsdMC4W6hYzJBgrGyomNU4bIxYzJBgrGyomNU4bIwAACAAAAAABGQEaAAwAGQAlADEAQwBOAFIAVgAANzQ2NycOARQWFzcuATcUFhc3LgE0NjcnDgEXJz4BNCYnNx4BFAY3Bx4BFAYHFz4BNCYHFg8BFwcnIwcnNy4BPgIeAQcOAh4BMjY0LgEXIwczFycjBzgQDw4RExMRDg8QFA0MDQkKCgkNDA2QDgoKCgoOCw0NDg0OEBAODRETE0sBBQVAEQ5oDxFABQQHDQ8NCR4CBAECBQYGBAUCBREmGRE2EMMVJg4NESwxLBENDiYUEB8MDQkYGhgJDgwfTQ4JGBoYCQ0MHyEfhg0OJikmDg0RLDEsQgoIBJEIISEIkQYQEAkBBgwBAQQFBQMFBwQCJyQ4JSUAAAAABQAAAAABGgELABUAHgAqADMAPwAANxQHMzYuAQ4CHgE3NQYuAT4CHgEHMjY0JiIGFBYXMjcXDgEiJic3HgE3MjY0JiIGFBYXMxUzFSMVIzUjNTPhARMDIDtALgwcOSAaLhgGIzMxHnoICwsQCwsuFA4NCRkbGQkNBxIvCAsLEAsLNxMlJRMlJZ8EBSA5HAwuQDsgAxMDGC80Jw0TKxELDwsLDwsvDg0JCwsKDQcILwsPCwsPCzgmEyUlEwAOAAAAAAEaAPQADwATABcAGwAfACMAJwArAC8AMwA3ADsAPwBDAAAlIyIGHQEUFjsBMjY9ATQmByM1MwcjFTMHIxUzNzMVIxcjFTMnMxUjNyMVMyczFSMVIxUzBzMVIzUzFSM3IxUzBzMVIwEHzwgKCgjPBwsLB8/PORISEhMTJRMTExMTg11dgyYmXhMTExNLExMTEzgSEjgmJvQLCIMICwsIgwgLloMTEhMTOBI5EhISOBM4EhMTExJdEhISExMAAAAAAwAAAAAA4gDhAAgAFQAeAAA3MjY0JiIGFBY3FA4BIi4BND4BMh4BBzQmIgYUFjI2lggLCxALC1MUIygjFBQjKCMUEyEuISEuIYMLEAsLEAsTFCMUFCMoIxQUIxQXISEuISEAAAMAAAAAARYBGwAIAB4AMQAANzI2NCYiBh4BNx4BFxYVFAcOAQcGJy4DNzY3PgEXNjc2JzQmJyYnJgYHDgEWFx4BlhAWFiAWARUbFikQJh4PJhYwJxQeEAMHDyYSKyEmGRkCEQ8dJhMmDyAXISIQJnEVIBYWIBWoARQQKTcrJxIXBAkWCyIqLhUuGQwM9AkfIiUXKhAdAwEJCxhOSBMKBgABAAAAAADrAQoAGQAAExUHIzUzJy4BDgIWHwEHJy4BPgIWHwE16glCMBINIiMZCgoNYQ1iEAwMISwsEQ0BB0IJEhINCQkZIyMMYg1hESwsIQsLEQ0nAAAACgAAAAABKgEsABUAHQAhAC4AMgA2ADoAPgBCAEcAADcHJzcjIgYUFjsBFSMuATQ2NzMnNxcTIyc1NzMXFSczNSM3MxcVByM1MzUjFSM1FyMVMwczFSMXIxUzNzMVIxcjFTMnMTMVI4srDho8DRERDQsLFBwcFDwaDitFeAoKeAp4ZGRGeAoKMihkFBQ8PDw8PDw8PBQ8PDwUFCoqFvMrDhoRGRIUAR0oHQEaDiv+/wqgCgqgCox4CqAKFIw8RoIUFBQUFMgUPBQ8FAAAAQAAAAABCQEHAB0AADcjNTMXFSM1DgEeAT4CJic3HgIOAy4CPgFYMkEKExoRGjlAKwUkHwUZJRIEGiszMSUSBBr0EwpBJRM/PB8LMEE1ChIIIzAzLB0HECMwMywAAAAAAgAAAAABCAEHABEAFQAAEzMVNxcHFwcnFSM1Byc3JzcXBzMVI7wSMAkwMAkwEjAJMDAJMJZLSwEHOx0QHR4QHTo6HRAeHRAdW0sAAAUAAAAAAS0BEgASAB8ALAAyADgAABMzFxUmJzUjFTMUFyM1MzUjJzUXIg4BFB4BMj4BNC4BByIuATQ+ATIeARQOATcnNxcHFycXBxc3JxH+CQkK6mEUTjprCtcVJBUVJCokFRUkFRAbEBAbIBsPDxsQGhoJExNLEhIIGxsBEQlsBwVWsCAaExQJxGwVJCokFRUkKiQViA8bIBsQEBsgGw8nGxsJEhMREhMIGxsAAAAAAgAAAAAA8gEaAAYADQAANyc3JwcVFycXBxc3NSfyS0sMUFCuTU0MUlJ5SksLUAxQVk1MDFMLUgABAAAAAAEaAKkAAwAAJSE1IQEZ/voBBpYTAAAACwAAAAABGgEaAAsAFQAmADoARABYAGEAcwB7AH8AhgAANzYyFhQGIicHIzUzFRQWMjY0JiIGFQcnNxc1NDY7ARUjIgYdATcXNzM1NCMiBgcVNjIPAQYVFBYzMj8BFRQGIiY1ND8BByM1BiMiJjU0PwE0Igc1PgE3MhUHNQcGFRQWMjYXMjc1BiImNDYyFzUmJyIGFBYnNzMXFQcjJzcVMzUnNzMXFQc12gQOCAkOAwELCwQHBAMHBYwnDBMPCywsBAUSDDsNEgQJAwcPAQsOBwYIBAEFBgMGBywMBAgGBw4LDgcDCQQRDAcGAwYENwkFBQwHCAsEAwgMDg19EqkTE6kSEqlwEoQSEvoJDhgPBwZKNAQHCA4HCAVOKAwTHQoQEQYDHRIMDSAXAwIMBQkBAxAHCQkSBAQHBAIHAQGvBwkJBxADAQkFDAICARcLBAEBBwIEBhIDDgQIDgkEDgIBEBoPSxMTXRMTXV1dJhMTXhNxAAAABgAAAAAA4gEaABAAHQAnADoAQgBGAAA3FzcnBzU0NjsBNSMiBh0BJxczFj4BNCYiBycjFTM9ATQ2MhYUBiImBwYjIiY1JjYzMhcVJiIGFBYyNycHFRczNzUnBzMVIzwrKQ0TBgMdHAwQFG8BBRUNCxYGARAQBgsGBgsGEAcOEBMBFhEMBgcRCwoRCF4TE4MTE4ODg+YrKg0THgQGEhAMHhQvCQESHhELJ1wbBwcICREKCZYFFBASFQMTBQsTCwVbE3ATE3ATE3AAAAAAAQAAAAABBwEEABUAABMHFRc3JzMyFhcWHQEzNTQuAisBN3ZLSw49JCc0EB4TESY8KSI7AQRMDUsNPBAQH0cGBic5JhM6AAAACQAAAAABGgEaACgALAAwADQAOwBLAFMAVwBbAAA3IzUzNSMiDgIdAQYWFxYXMzUjIicmJzQ9ATQ1Njc2OwEVIxUzNzUjJyMVMwczFSMVMxUjFyM1MxUjJzczFxUHIxUjNSMiJj0BNDYXMzUjIgYeATsBNSMnMzUj9KlLUAYNCQQBCwoGBgUFAwIGAgIGAgOuS1QKE4MTExMTExMTBQU4BRdCVAkJLxMSCAsLEQkJBAYBBSAmJhM5OXGWEgUKDAayChAEAgETAQMFAwIKAgMFAwEmEwpUcRMTEhMTgzg4HOoJcQkTEwsIXgcLcBMGCAUTEjkAAAIAAAAAAQcBGgAhADMAABMzFxUHIzUzNSM1MzUjFTMVIyIGHQEUFjsBFSMGJjc1JjYfATcVBxc3FTM1FzcnNRc3JyNGtwoKQTg4OKk4PQYICAY9PQ0UAQEUKw0lMQ0kEyYNMyUNNA4BGQnhCRImE5aWEwkFCgUJEgEUDbIOE1oNJBsxDSSOkCYNMxolDTUAAAQAAAAAAQcBCAAvADgAQQBKAAAlNC4BDgEWFxUUDwEnJj0BPgEuASIOARYXFRQWHwEVDgEeATI+ASYnNTc+AT0BPgEnNDYyFhQGIiYXFAYiJjQ2MhY3IiY0NjIWFAYBBxQeFwQQDgU0NAUOEAQVHBUEEA4IBzMOEAQVHRUDEA0yCAgMD7sLEAoKEAtnCxALCxALLwgLCxALC+EPFQMTHBkDFAYDGhoDBhQDGBwSEhwYAxQIDgMbGAQXHBMTHBcEGBoEDggUAxQNCAsLEAsLoQgKChALC44LEAsLEAsAAAAABwAAAAABGAEaACsALQAxADUAOQBDAEoAABMVIzUjFTMVByM1MzUjIgcGBxQdARQVFhcWOwEVIyInJicmPQE0NzY3NjsBBzUXIxUzFSMVMwczFSM3BxcjFTMHFzc1DwEjNTMVI/QTqbwKVEuuAwIFAwMFAgMFBQYGDQUCAgUNBga3xDgTExMTExMTlw0kdngmDTWwFwU4BQEQHBOWQgkSJgEDBQMCCgIDBQMBEgIFDQYGsgYGDQYCrIsEExMSExNWDSQTJg01DYgcODgABQAAAAABBwEaACEAJQApADMANwAAEyMiBhcVBhY3MzUjIiY9ATQ2OwE1IzUzFSMVMxUjFTM3NQcwHQE3IxUzBxc3FTM1FzcnIyczFSP9tw0UAQEUDT09BggIBj04qTg4OEEKzzkTEwwNJBMmDTUNPBMTARkTDrINFAESCQUKBQkTlpYTJhIJ4RcBi4cTVw0kjpAmDTUPEgAGAAAAAAEHARoAJgAqAC4AMgA2AD0AACU1JyMiBwYHBgcVFBcWFxY7ATUjIicmJyY9ATQ3Njc2OwEVIxUzNyc1MxUnMxUjFTMVIxcjFTMXByM1MxUjAQcKtwYGDQUCAQMFDQYGBQUDAgYCAQECBgIDrktUCryplhMTExMTExMJFwU4BXGfCQIGDQYGsgYGDQUCEgEDBQMCCgIDBQMBJhIJQpaWgxMTEhMTZxw4OAAAAAQAAAAAARoBGgALABQAGAAcAAATMxcVByMHJzUjJzUXMzUjFTMXFT8BMxUjFTM1Ixz0CQl/NhAvCXp64S4KKAcSEhISARkJvAk2By8JvLKpqQohKJleJRIAAAAABAAAAAABGgEaAAsAFAAYACQAAAEjBxUXMxUXNzM3NQcjDwE1JyM1MwcjNTMnMxUzFSMVIzUjNTMBEPQJCS8QNn8JEnoHKAou4UtLSy8SJiYSJiYBGQm8CS8HNgm8sgMoIQqplhNwJhImJhIABgAAAAABGgEaABEAFgAbACgALgA3AAABIgcGByMHFR8CMzc1Njc2NQczBgcnFyc2NxUvATY3Njc2NwYHBgcGBzUjNSMVNzYuAQ4BHgE2ARAvLiUkTgkDcAc4CSETF/MxFxMHagcbF0BAEBUjJDAvAx4XJBdIJRO3BgUTFw0FExcBGRcTIQk4B3ECCU4kJS4vVBgbB2oHExcxFUAYFyQXHgMvMCQjFTgTJTiQCRcNBRMXDQUABAAAAAABJQEHAB4AKAA1AD4AADc1NzMfATMXFTMXDwEjNjczNyMmJz8BMzUjLwEjFQYXFAYiJjQ2MhYVMxQOASIuATQ+ATIeAQcyNjQmIgYUFhMJXgYRbAoVCTIJRgcFMy1sBggDBlVnBxBQClURFxERFxAmEh4jHxERHyMeEkIUGxsnGxu3RgoDEAouDIQGCApxBwYDAyUDEDEFVwwQEBgQEAwSHhERHiQeEhIeQRwnGxsnHAAAAAQAAAAAARoBBwAcACYAMwA8AAA3MxcVByM2NzM3IxUmJz8BMzcjLwEjFQYHNTczFwcUBiImNDYyFhUzFA4BIi4BND4BMh4BBzI2NCYiBhQWkX8JCWwHBVYBdwgJBwZ6AXoHEFAKCQleBxARFxERFxAmEh4jHxERHyMeEkIUGxsnGxv0CrsJCAqEAQYEBgMTAxAxBQdGCgOdDBAQGBAQDBIeEREeJB4SEh5BHCcbGyccAAAAAAMAAAAAAPQA9AAEAA4AGAAANyM1MhYnFTIeARUzNC4BBxUyHgEVMzQuAV4mEBYmLk4tEzNWMxorGRMfMzgmFqwTLU4uM1YzSxMZKxofMx8AAwAAAAABGgD0AAkADgASAAA3FzM3NS8BIw8BFyc3MxcnMxcHE3wOfD4HfAc+g281dDVvMiJUpXx8Dj4DAz52bzU1IiJTAAAAAwAAAAABIAEaAAUACAASAAATBxUXNzUHNR8BMxcHJxUjNQcnIQ4OqaSOMA0vDR8THw0BGQjhB3AQZ75fCy8NH2ZmHw0AAAAAAwAAAAABFgEHAAUACAAPAAATBxUXNzUHNRcHNzUnFRcHNA4OqaWPVqSkjo4BBwjhCHAQZ75fdW0QbhdfXwAAAAMAAAAAASABGgAFAAgAEgAAEwcVFzc1BzUfASMnNxc1MxU3FyIPD6mljj0NLw0fEx8NARkI4QdwEGe+X44vDR9mZh8OAAAAAAQAAAAAARYBBwAJABwALgA6AAA/ARcVBzU3JxUjByYGBwYWFx4BNjcxNjU0JzUuAQc2FzEWFx4BFTEWDgEuATcxNhcnBxcHFzcXNyc3J14OqWxWjhMDGSgIBAIECSsxERAUCRYwDhQSDgcIARgkIBAGBSwWDBcXDBYXDBcXDP8IcRBIFzlfRA8BGhkMGAwWGQoTFRceFQEICxkKAQINCBQLER8IEyETExcXDBgXDBcXDBcYDAAAAAAEAAAAAAEaARoADwAYABwAJgAAJS8BIwcVIwcVFzM3NTM3NQcjNTMVMzUzFwc1MxUXIzUvAiM1MxcBFhwGoAkvCQm8CS8JS6gScQ8WXSVxJgMcBl6SF/ocAwkvCbwJCS8JoM6oOTkWDyUlS14GHAMmFwAAAAUAAAAAARoBGQAUABgAIAAjACcAABMfARUjBzUnIxUjNSMVMwcjJzU3MwczNSMfARUPASc/AQ8BPwEXNyfPHwYKCR8GcSU4Ci4TE5w/JiZ6HHI5DBxyZwoTAw9hDwETHw4GCQ8gS0u8EhK8E0s5ORwNchwNOHKHEwkdD2EOAAAAAwAAAAABGgEaAAkAEgAWAAATHwEVByMnNTczBxUzNScjFSM1MxUzNfocAwn0CQnYzuEXIoNLJgEXHQbYCQn0CRLhyhdLSzk5AAAAAAYAAAAAARoBBwADAAcADgAVABwAIwAANzM1IxczFSMnIzU3MxUjNxUjNSM1MwczFQcjNTMjMxUjJzUzOLy8JnBwOBMJQjjzEjlCCRIJQjnhOEIJE0uWJUtLQQoTCUE4E5ZCCRISCUIABgAAAAABGgEaAAYADQAUABsAIwAnAAA3IzUzNTMVNzUjFRczNQcVMzUzNSsBFTMVMzUnNwcjJzU3MxcHIxUzQi8lE6kTCS84EyUv1yUTCZ8JhAkJhAklS0vhEyUvCiUvCROyLyUTEyUvCRwJCV4JCRwmAAAEAAAAAAEbAR8AHAApADIAOgAANw4BFxYXBhcVJwcnNy4BPgEeARUUByYnNTQuAQYXPgEeAg4CLgI2FxY3FjcnBhUUNxc2JzYmIyJsEwkLCA8CAQlHDkcXBSRBQikBCAkdLzInECkkFgMSIigkFgIREhEXEg9PChhOCwEBIRgS7hM1GBIMCQkDBkUNRRlFOhkTNyMHCAcGAhoqFApkCwMSISgkFwIRIigkWxEBAQtODhIYRk8PEhchAAAAAAIAAAAAASwBLQAPAB0AABMiDgEWFwcXNx4BPgEuASMVIi4BND4BMh4BFA4BI78fMxkJFGQOZBtDOBYUNyEXJxcXJy4mFxcmFwEsITg8FnMMchUCJkBBKLsWJy4nFhYnLicXAAAGAAAAAAEcARoAAwAHAAsAHQAhACkAADczFSMVMxUjFTMVIxchNzM1ND4COwEyHgIdATMHMzUjFycjFSM1IwdxS0tLS0tLq/70GCMDBQcEcAQHBQMjpnBwpg4VlhUO9BNeEhMTS16pAwcFAwMFBwSoJs/0OCUlOAAGAAAAAAEaAQcADAAQAC4ANwBVAF4AABMzFxUjNSMVMxUjJzUXMzUjFzUmJwcnNyY3JzcXNjc1MxUWFzcXBxYHFwcnBgcVJxQWMjY0JiIGFzUmJwcnNyY3JzcXNjc1MxUWFzcXBxYHFwcnBgcVJxQWMjY0JiIGHPQJEuGDjQkT4eFdBQQRChIBARIKEQUEEwUEEgkSAQESCRIEBRcICwkJCwllBQQSCREBAREJEgQFEgUEEgkRAQERCRIEBRcIDAgIDAgBBwp6OYQSCc4vJqkVAQMKEQoFBQoQCgQBFRUBBAoQCgUFChELBAEVLwYICAwICG0UAgMKEAsFBQoQCgMCFRUCAwoQCgUFCxAKAwIULwYJCQsJCQAABgAAAAABBwEaAAcAGwAjADcAPwBTAAA3JzU3MxcVBycjFSM1IxUjNSMVIzUjFTM1IxUjByc1NzMXFQcnIxUjNSMVMzUjFSM1IxUjNSMVIxc3NScjBxUXNzUzFTM1MxUzNTMVMzUzFTM1MxUvCQnOCgpBExMTEhMTE7wmEo0JCc4KCowTExO8JhITExMSjAoKzgkJCRMTExITExMSJs4KOAkJOAo5ExMTExMTJiYTgwk4Cgo4CTgTEyYmExMTExODCTgKCjgJEyUTExMTExMTEyUAAAAEAAAAAAEsASwAFwA3AEMATgAANxcVBxcHJwcjJwcnNyc1Nyc3FzczFzcXBzc1LwE3JwcvASMPAScHFw8BFR8BBxc3HwEzPwEXNy8BNjMyFhUUDgEuATYXFjMyNjQuAQ4BFvg0NB4rLAs8CywqHTQ0HSosCzwLLCsxMjIHHBErEQoZChArEh0HMjIHHRIrEAoZChErERxgCw0SGRQeGwsIGQYGCQwJDw4GBb8LPAssKh00NB4rLAs8CywrHjQ0HitsChkLECsSHQcyMgcdEisQCxkKECsSHQcyMgcdEitLBxkSDxgGDh0dLQMMEQsDBw4PAAAACQAAAAABGgEHAAMACwATABcAGwAfACcAKwAvAAATIxU7ASMnNTczFxUHIyc1NzMXFTcjFTMHMxUjJyMVMzczNzUnIwcVNyMVMwczFSNCExNyPAcHPAhmPAcHPAhBEhISEhJLExOUPAcHPAgvExMTExMBB14KEwgJE0EJEwkJE40mS3A4ODgJEgkJEqBxSyUAAwAAAAABGgEcACQARQBRAAA3LgU3NTcyPgI3Njc2FxYXFhceAzMXFRQOBAcnFRQeAx8BNjc+BD0BIyYnJi8BJicmBw4DBxc+AS4BIg4BFhcHM5sPHBoWEQoBCQoQEQ8HCwwSEwwLBgUIDxEQCgkJERcZHA9sCA8VGA0WDAsNGBUOCQsJChQRCQgKDg8JERMTCmgJCgQQFA8ECQoIJRgJExYZHiMSPAkCAwYFBwQFAwEGAwMFBgMCCTwSIx4ZFhMJ0TMQHRsXFQgPBwgJFBcbHRAzAQIECwUEAgIEAwsIBAFRBBITDQ0TEgQxAAADAAAAAAEbAQcAFQAZACMAADc1FzUnIwcVHwE3NTM3NQcVIzUvATMHJzUfATMVIxcHJzU3F88SCakJBl4MQgkSOQZEg0xLSzpdXB4OLi8N5QETKgoKygkgCRMJKhMOnAgY1BmtGS4THg0uDS8NAAAAAwAAAAABGwEHABcAGwAlAAA3FTc1JyMHFTEVHwE3NTM3NScVIzUvATMHJzUfASM1Myc3FxUHJ88SCakJBl4MQgkSOQZEg0xLS3teXR4NLi4N5R0TIgoKCcEJIAkTCSITLJwIGNQZrRlAEx4NLg4uDQAAAAAFAAAAAAEdAR0ADAAZACIAKwA4AAATPgEeAg4CLgI2Fx4BPgIuAg4CFjcUBiImNDYyFhcUBiImNDYyFgciJicHHgE+ATcnDgFNHUc/KAQgO0U/KAQeKRk8NiIEGzM7NiIEGjwLEAsLEAteCxALCxALQhAaCBAKJSojCRAHHAEDFAUfO0ZAJwQePEU/txAFGzI9NiEEGzI8NV8ICwsQCwsICAsLEAsLUxANCRIVARYTCA4RAAAHAAAAAAEaAQcACgAOABIAGgAeACIALAAAEwcVMzUzFTcXNScHMxUjByMVMycHFRczNzUnBzUzFScjFTM3IxUnBxczNycHgxIShAMPEnEmJjgmJjgTE4MTE4ODEyUlXhMWDSYNJg0WAQcTODguAw86EyYlOSVLE14SEl4TcV5eOSaWSBYOJiYOFgAAAAQAAP//AQcBLAAsADUAPgBHAAAlNC4BDgIeARcOASsBIgc1PgEuASIOARYXFQ4BHgI+ASYnPgE7ATI2Nz4BJzQ2MhYUBiImFxQGIiY0NjIWNyImNDYyFhQGAQcOGBoWCQQSDQUSCyUWEBIVAxskGwMVEhIWAxkkHAYSEgUSCyUSHQYRGM4QGBAQGBA4EBgQEBgQZwwQEBcREcUNFwwCEBkaEwQKCw9bAx0kGBgkHQNyBBwkGQIWJB4FCgsVEQIbSQwQEBcREcIMEBAXERFuERcQEBcRAAAAAAMAAAAAARoBGgAHAAsADwAAASMHFRczNzUHIzUzFyM1MwEHzxISzxKDXl5xXl4BGRLPEhLPz8/PzwAAAAMAAAAAARoBGgAHAAsADwAAASMHFRczNzUHIzUzNSM1MwEHzxISzxISz8/PzwEZEs8SEs/PXhNeAAAAAAMAAAAAARoBEgBNAJwApgAANyYjLgEjFQ4BBxUWFxYXMjEGBwYHBh0BFBYyNzMGByMOARUGFjsBFj4CJyYvAS4BNj8BMzIXFhcWNjc2NTQnJicmBwYHBgcmJzU0JicXFgcGBwYrATQ2OwE1JjY3JwYHIyIHBiY+ATsBMjY/AQYmJz4BNzMyFxYXFh8BMzUmNjc+ATc2Fx4BFxUUDgEmJyYHDgEHBhYfAR4BByYvASIGFBY+ATQmI2gBAQIPChYeBAURCAoBEAoIBAMLDwcnBQIGERcBBAR9EBwWCQEBDQIHBQMDAgMDAwYHChIFAg0MERgaEg0KBQUHDwxkAgIDDggJbgoIGAESDgwIAzwDAgUFBAoHEwQFAQYPHAoEIRUCCAcKEAgGAQMBAgEEEw4TEA0RAgUHCAQKCwcJAgMHCAIKAQYBB4MEBgYHBgYE+gEJDBkJIxcICgYEAgIHBggGBwYHCgMJCgIbEgQFAQsXHRAWEQMICwkCAQEEAgEJCQYHERYSCw0FAw4LDgcHAwsQAbkPCQ4IAwcLCg0UAREDAgECAwsIBQMYAgkKFRwBAwUVCwoBAQcXBgwTAgQJCBsMAgcFAgICBgMCCgcLFwgDDB4NDQxwBQgGAQUIBQAABQAAAAABGgEaAAkADQAPABEAGwAANycHIxcHNxcnNwczNw8CNyMHMzcXMwcXJwc3tB4eZVIfUFAfUu1SGBgQGKpSUiwODiwkDiQkDrdiYkBkPj5kQAlPTzRQhBEtLRwtHBwtAAEAAAAAARoBGgAJAAA3JwcjFwc3Fyc3tB4eZVIfUFAfUrdiYkBkPj5kQAAABAAAAAABGgEaAAkADwAQABIAAD8BFzMHFycHNycfASc3Iyc1FyN4Hh5lUh9QUB9SgyQOJCwOalK3YmJAZD4+ZEBHHC0cLTNPAAAAAAMAAAAAARYBGwADABkALAAANzMVIzceARcWFRQHDgEHBicuAzc2Nz4BFzY3Nic0JicmJyYGBw4BFhceAXFLSzAWKRAmHg8mFjAnFB4QAwcPJhIrISYZGQIRDx0mEyYPIBchIhAmvEuoARQQKTcrJxIXBAkWCyIqLhUuGQwM9AkfIiUXKhAdAwEJCxhOSBMKBgAAAAACAAAAAAEaAQcACQATAAATBxUXMzUjNTM1Fzc1JyMVMxUjFRwJCS8lJcUJCS8mJgEHCs4JErwT4QnOChO8EgAAAgAAAAABGgD0AAcAHwAAPwEzFxUHIyc3IxUjNycHFRc3JzM1Myc3FxUHJzcjFTMTCfQJCfQJ9HFMJw04OA0oTUknDTc3DSdJceoKCqgKCp9BJw03DjcNKBIoDTcONw0nQQAAAAQAAAAAARQBGgAgACQAKAAsAAA3Mzc1JyMHIzU3NScjBxUXMzcVFzMVFzM3NScjByM1MxU3FwcnHwEHLwI3F9UNMhkNIl4jJg1LJQ4VCVgYDjIZDSNeTzgMJQwlDCUMkBg9GXYyDRkiGCIOJUsNJhZtCQoZMg4ZI0sJKgsmDDgMJgx4GT0YAAAHAAAAAAEaARoAGQA1AD4ARwBQAFkAYgAAEyIOAh0BHgE+AR4CDgEWFzMyPgE0LgEjByMuATUmNzY0JiIHBiciJj0BND4BMh4BFA4BIzcUBiImNDYyFhcUBiImPgEyFicyNi4BIgYUFjcUBiImPgEyFhcUBiImNDYyFpYaMCUUARMaFBwUARQDDg8LIz0jIz0jAQoEBQIIDx8sEAcKAgQfMz00Hh40HhILEAsLEAs4CxALAQoQC4MICwEKEAsLiwsQCwEKEAsTCxALCxALARkUJTAaCA4NBBMBFBsVHBUBJDxHPCT1AQQEDAgQKyAQCAIEAwcfMx8fMz00HrwICwsQCwuLCAsLDwsLVgsQCwsQCxMICwsQCwtACAsLEAsLAAAEAAAAAAEaAPQAAwAHAA8AEwAANzMVIxcjFTMnNzMXFQcjJzcVMzVLlpaWlpbOE+ESEuETE+G8EyYScBMTlhMTlpaWAAYAAAAAARoBBwAMABUAGQAeACIAJgAAPwEzFxUHIzUzNSMVIxc1JyMHFRczNycVIzU3JzUzFSczFSMHIxUzgxNxEhJLS3ETJhNwExNwExNwiwhLS0tLJktL9BMTXhMTXjg5ExMTXhISXl5eEwgLEzgTXRMABwAAAAABGgEHAAwAEQAaAB4AIgAmACoAAAEjBxUzNTMVIxUzNzUHMxUjJwcjBxUXMzc1JxUjNTMHMxUjFTMVIzczFSMBB3ETE3FLSxJwS0QHJl0TE3ATE3BwXktLS0txS0sBBxM4OF4TE144EwcHE14SEl4TcV4TEhMTlhMAAAACAAAAAADvARoACwASAAATNzMXBzMXByc3IycXBzcjNyMHixE+DykhDoYeKBcRRzaFRT4+QAEPCh1AIIkWSBsJY4lehAAAAAAEAAAAAAEaAQcACwAPABMAFwAAJScjDwEVHwEzPwE1Byc1FzcnNx8BBzU3AQ9eEYMKCl4RgwqgVFQJV31XB3p62C9CEVQRL0IRVJEqRiYQJz8sVz1JOQAAAwAAAAABBwEaAAkADAATAAAlLwEjBxUXMzc1ByM1BzUzFRczFQEEPgaRCQnOChM4hHEJQtk+Agn0CQm2BDnh4UIJlgACAAAAAAEbAOIAFwAhAAA3IgYHIy4BDgEUHgE2NzMeAj4CLgIHIiY0NjIWFAYj2BklAzoEFx0SEh0XBDoCFR8iHA8CEh0RFBsbJxsbE+EgGA0QAxUdFQQQDhEbDgQTHiMcEXAbJxsbJxwAAAAFAAAAAAEaAOsAEgAlAD8ASgBlAAA3Fj4BNzYnNicuASMiBzUjFTM1NzYXNhcWFRYHDgEnBiY3NSY3NicOAQ8BFTc2NzIWFQcOARQWMzI/ARUzNTYmFxQGIyImNDc2PwEXFjcWPwE1BwYiJjQ2FzIfATUnJiIGBwYUFxaHChQSBg0BAQwGEAkQDBMTEAUGCwYHAQkDCQYLDwEBCARQCREHAggLDwcJFw4VEw4LCQYRARMBDwsGCQQIChOcCAoODAMJCRcQEg0KCAgDChYTBw8OBl8GAQgIERYUDwcHCzSPBkwDAQEJCg0PDQQGAQERCwsMCgQWAQUFARcHCgEMCAQBEhoSBgUJPxAXOQ0RCAwEBQEDLwQBAQgBFgYHFBwWAQUFFgEFCAcRKhAHAAAIAAAAAAEaAQcAAwAHAAsADwATABcAGwAfAAAlIzUzByMVMycjFTMXIxUzJyMVMzcjFTMnFSM1FyMVMwEZXV0SJiZLqaklzs5ecHCWXV2Dg3BdXeETSxMTE14SSxMTE6k5ORMTAAAAAAQAAAAAAQcBGgALAA8AEwAXAAA3JyMPARUfATM/ATUHJzUXJzcXBxcHNTf9XRNeCQleE10KelVVUFlZWV5UVOE4OBBxEDg4EHGjMmEuQTU1MUMyZS4AAAAFAAAAAAEcARoACAAMABAAHQApAAATMxUWFzUjFTcXJwczJz8BFzc+AR4CDgIuAjYXHgE+AiYnJg4BFkuWCgm8EygVS5Z2IAsrKg8jIBQCEB4iHxQCDxkKGRcOAgwKECYWCAEHSwEEYp8hKiWDEzgTS3gKAg8eIyATAhAdIiBUBwILFRoWBwsIICYAAAIAAAAAAQcBBwBGAI0AADc1IyIOAQcxBgcxBhcVFAcxBgcGKwEVMzIXFRYXFRYXMRYdAQYXFRYXMR4CFzM1IyIuAj0BNCYnJic2Nz4BPQE0Njc2MxcVMzI+ATcxNjcxNic1NDcxNjc2OwE1IyInNSYnNSYnMSY9ATYnNSYnMS4CByMVMzIeAh0BFBYXFhcGBw4BHQEUBw4BI3ECCREMAwMBAQECBAoFBgEBBgUFAwQCAgEBAQMDDRAJAgIGCgcEAgIFCQkFAgIJBwUGTQEJEA0DAwEBAQIECgUGAgIGBQUDBAICAQEBAwMMEQkBAQYKBwQCAgUJCQUCAggDCgb0EwcNCAgICAgQBgUKBQISAgECAwEDBQUGEAgIAQcICA0GARMECAoGGQYMBQsHBwsFDAYZCQ0EArwSBg0IBwkICBAGBQoFAhICAQIDAQMFBQYQCAgBBwgIDQcBEgQICgYZBgwFCwcHCwUMBhkMCAQEAAAAAgAAAAABGgEaABsAHwAAExUzFSMVMxUjFSM1IxUjNSM1MzUjNTM1MxUzNQcVMzXOS0tLSxJLE0tLS0sTS0tLARlLEksTS0tLSxNLEktLS11LSwAACAAAAAABGgEcAA4AGQAdACkANQBCAE8AUwAAExYXFhQOASMiJjU0Njc2FzY3NC4BDgEUHgE3Bxc3FzMVMxUjFSM1IzUzJxcHFwcnByc3JzcXNy4BIg4BHgM+AgcGBwYnLgE+AhYXFjcjFTM2CgQCBgwICg8IBwoEBgEFBgYEBQZMZA1jUxIvLxIvL2wNISENISENISENIToDDBANBQEHCw0MBwERAQQGBQICAQUGBQEFjUtLARcECQUMCwgPCwcNAwQlAwcDBgIDBQcFAiJkDGOHLxIvLxIlDSEhDSEhDSEhDSFwBwkJDQ0KBgEHCg0IBAEDBQEFBgUBAgIFNBMAAAMAAAAAARkA4QAbACIAKQAANyM1NCYrARUUFjsBFSM1MzI2PQEjIgYHFSM1MxcnNxcVBycjJzcnBxUXzhIGBBMFBAo5CgQFEgQFARJwNxwOIiEOpxwbDiEivAkEBWcEBRMTBQRnBQQJJUwcDSIOIQ4bGw0hDiIAAAIAAAAAARoBGwAfAEMAADciLgE3NjcmNDc2Nz4BHwEHFzcXFhQGBwYHDgEnBgcGNyIHBgcOAR8BBwYHBh4CMjc2PwEXFjY3Njc+ATU0JwcnNyY1DhMCCCNABQYKFREpEgw2FzgFBgwLBggQJRJEIAmJEhAGBQ4HCAMERCMDAQcGCAMeSQUFDyAOBgUJCQExMDAGExMZCiY+Dh4OGA0LBAgFOBc2DA8gHgsGBQsEB0UeCPULAwUOJhIGBEIlBQsHAgMbSwQCBwMJAwUJFw0GBjAwMQEAAgAAAAAA9AEaAAcAGwAAEwcVFzM3NScHNTMVIzUzNSM1MzUjNTM1IzUzNUsTE5YTE5aWliYmS0smJksBGRLhExPhEiUT4RITJhImEyUTAAAIAAAAAAEaARoACQANABEAFQAZAB0AIQAlAAATBxUzNTMVMzUnAzUzFTcjFTM3MxUjNyMVMzczFSMzNSMVJzMVIy8JEs8SCeoSJhMTExISOBMTExISXRImExMBGQnYz8/YCf76ExMTExMTExMTExMTExMAAAcAAAAAARoBBwAHAAsAHwApADYAQABSAAATBxUXMzc1Jwc1MxUnMzU0IyIGBxU2MhUHBhUUFjMyPwEVFAYiJjU0PwEXIxUjNTMXNjIWFAYiJxUUFjI2NCYiBhcyNzUGIiY0NjIXNSYHJgYUFiYTE+ESEuHhow0SBAkDBw8MDgcGCAQBBQYDBgcrAQsLAQQOCAkOBAQHBAMHBUUJBQULBwcMBAQICw4NAQcTqRMTqRO8qak6IBcDAgwFCQEDEAcJCRIEBAcEAgcBARQGSh8JDhgPHAUEBwgOBwghAw4ECA4JBA4DAQEQGg8AAAAABgAAAAABGgEHAAcACwATABgAIAAlAAATBxUXMzc1JwczFSMHNzMXFQcjJzcjFTM1MzczFxUHIyc3IxUzNSYTE+ESEuHh4RMTOBMTOBMlEjheEjkSEjkSJRM5AQcTOBMTOBMTOEsSEjkSEjk5ORISORISOTk5AAAABgAAAAABGgDhAAkAEwAfACMAJwArAAA3MzUjBxUXMzUjNyMVMxUjFTM3NQcXFQ8BIy8BNT8BMwcXNSc3FzcnBzc1ByYlLwkJLyXqLyYmLwk8BAZUCS4FBlQJUBwcCxs/GxtCQs4TCZYKE5YTgxMKlicILwklHAgvCCZXERkRDxAcEFcdGh0AAAMAAAAAASsBCAARACMAJwAANyc+AR4BFzcXByMnNxcuAgYfAQYuAicHJzczFwcnHgMnNxcHZw8aPTYgARcOJw8nDxcBGiwxQA8aOjIeARcPJw4oDxYCGCcukg3fDecNEQMcMx8WDicoDhcYKhgBsw0OAR0xHRcOJygOFhcnFwO+DdAOAAIAAAAAASsBDQARACMAADcHJzczFwcnHgI2NxcOAS4BNycHFzM3JwcuAgYHFz4BHgEmFw8nDigPFgMpPTkPDxNFSTDNFw8nDycOFwEuSEUUDxA6PCeRFw4nKA4WHy8NGhwLIR4ROi8XDignDhYlOhMbIAsbGBAwAAsAAAAAAQcBBwAHAAsADwATABcAGwAfACMAJwArAC8AABMjBxUXMzc1BzMVIxcjNTMdASM1JzMVIxUzFSMVNTMVMzUzFTMjNTM1IzUzJzUzFf3hCQnhCuHOzoM4ODhLODg4ODgTOEs4ODg4ODgBBwrOCQnOCRM4JTglJTglEyU5JiYmJiYTJRMlJQAAAwAAAAABJwEHABEAIwAwAAATIw8BFRczNxYyPgE/ATQmJzUHJiMiBhQWMzIXFQcGDwEnNzMXHgEVBhUOAyc/AfhiBn1hDSoSKiUXAgEUERMODgQFBQQPDUkDAiVUc1QTCQoBAhEbHg5FAwEHA30NYioKFCIVChUlDCohBQUIBgYoSgEDJlR0OQoXDQUFDxkPAgZFBwAAAAAFAAAAAAEaARoACAAVAB4AKwA4AAA3MjY0JiIGFBY3FA4BIi4BND4BMh4BBzI2NCYiBhQWNxQOASIuATQ+ATIeAQcyPgE0LgEiDgEUHgGWCAsLEAsLUxQjKCMUFCMoIxRLFyEhLiEhmiM8SDwjIzxIPCODHzMfHzM+Mx4eM4MLEAsLEAsTFCMUFCMoIxQUI0whLiEhLiE4JDwjIzxIPCMjPJQeMz4zHx8zPjMeAAAAAAQAAAAAARoBGgAGAAoADgASAAA/AScHJwcXNyM3MwczFSMXIxUzQ2sNZBwOIuSZK26oqKioqKiuXQ5WIgwqHyZLJiUmAAAAAAUAAAAAAQYBGgATABcAGwAgACoAABMfAQ8BLwEHLwEHLwE/ASc/ASc3Bxc3JzcXNyc3FzcnDwEXIycVIzUHIzfTCycEPgsDQwoDMAsOBS8DBEMDBWcGKgcKFTgUCiMrIS4FORYjEyMVIAEZBF0LGgQIHAQHFAUfCxQICh0IC2IQERAXLhgtGE0TTRNzWzhLYU5JAAAEAAAAAAESASMAFwBHAFEAbgAAJScmIg8BDgEdARQWHwEWMj8BPgE9ATQmBxUUDwEGPQEGJyI1NzQ3MxY3NjQiJjU0NzU0PwEyHQE2FzIPARQHMSYGFRQWMzIUNxQjByM1ND8BMTcHDgEdARQXIyIvAS4BPQE0Nj8BNjIfARYXLgEHAQBZCBIIWQgJCQhZCBIIWQgJCU0BBQEFBQECAQEFBAcNBgoBBQEEBAIBAgEFCgQEDCQBFgEBFhBUCQkIBQcHWQYICAZZBw8GWQsCAgkG6TUFBTUFEAlqCRAFNQUFNQUQCWoJEJ8IAQEDAQIIAwIBBwEBAQIDDQQHDQgIAQEDAQgCAQIGAQEBBQcCAhoEAQ4GAQENfDQFDAlnCwMDNQQOB2oHDgQ1AwM1Bw0EAgMABwAAAAABLAEaAAMAIAAkACgAMAA0ADgAADcXIycHIg4CFB4CMjcXBiMGIi4CND4CMhYXBy4BFzMVIxUzFSM3IQcVFyE3NQchNSE1ITUhzCYOJVMIDAoFBQkMEgkCBAUHEBAMBwcMEhIKAgIECSUTExMTjf7mCQkBGgkT/voBBv76AQapXl4LBQkPEA0JBQMJAgIGDBEUEQwHAgIJAgIIExITuwn0CQn06qgTJgAAAAAP//8AAADyAS0ABAEXARoBLQE1ATsBSgFQAVIBVwFeAWMBZAFuAXQAABMiKwE3FzY1BzY9ASMuAScuAQc+AScOAQcGBwYzNzAHIw4BBxQ2MQcmBwYHMwYHMQYVBwYVFBcHFyMeAxcmJxQWFwcWHwEmFxYfATcGFzMeATMHFhczFhcnFx4CFyMmJy4CNyY3NCc1Njc1MRY/ATY3MzY3NjcxNjcVNjc2PwEGMzcHNhcxMjMHBjEWNzE2FycXFhcyNzE2FxUWFzInMR4BFyYxFRYjFhc1JicUIzEmBhcWNzE0MRcWHwEiJzEmFR4BFTEiFRQWNzMHBhcnFBUxFgc2NAcWBzEGFScGFgc2NTE0NyIPAQ4BJzQnJicmNzY3Njc+AhYXLgEOARc3MjUUHgE3FTY/AQcGNj8BNjUxJj8BBzA5ARQWFxY3Bi4BJzIXMRYXJicWFzciIzIWIzAnFzQiBxcUBwYHNCY2NxQHMQYUPwE2By4BNxY3Jw8CFxYXJxYfAScmJzcHBgc2JxUwMzEyFA8BNTYHFAc1NDeFBAMCDkgDAgIBARsQDSMJAQYBBwgDBgYBAQYDBQUIBQQCCA8NBQMCBAUBAgQBAwECBAUFBAQCBQMCAgMBBAMCBgMCAQgFAQgDAwUCAQMGAwYFDQ4FBBQHHDIcAgEBAQcHAgMDAwECAQUEBwcCBwwHDQgBAQ8HBQQEBQUCBQUGBgELCgoCAgQFAQgBBQ8aBQMBAQQCBgYDAgECAQECAQEBAQECAQMBAgEBAgMBAwECAQIBBQQDBAEDAQEBBQcQJhQCEgYJAwICAwUEEhYSBQkaGA4BAQEVHw4FAwkBAwUOAwEBAgRUBgMLEgkbGAYBBQgEBAYJCwMBAQYCAgQ2AgECAwIEBAEEAgIEAQMZBQYEBwUaAScBAwQDBQICAQEDAYwBAgYH4AIBAQQCBgIDASsBkAgGBQgQChMmBwYCBAEBAQECAgQCAQECAQMGAQIDAQ8MCQUHCQQMEQgNBQcHCQQBBQkBBAIJBQIDAgECBgMIBAIFCQMHBAECAwIEBQYFAgIBAggtQCEGDA8CAhYOAQIFBQcEBAYEBwYCAwYHAwYDAQIEAQEBAQECAQIDBAMFAQECAQMEBQgeEQQEBQsKARQJAgEDBQIBAQQCBgUCAwEEBgEDBQMBBAkHCAMEBQYGCQMHCggDBAcFBAIBAQIFBw0FBwECDgsPFwEGCwMHDAEKBwgECxkOAQIRGwsHAQECCAIDAQ0DAgICAwMpAQQCBAEEBhAKBQoBAwgKBbsBAXoGBAMBCwcGAQEEBQICBAECAQQTAQIBAQGZAZ8EBAYDFwQCBQIGAxgCDw0OVwEBAwMBAxUEBAIEBAAABQAAAAABEgEtAFoAsQDPARkBPgAANx4BHwEWHwEeARQOAQ8BDgIHDgEjIiYnJi8CIg8BIg8BDgEiJicmLwEuAjQ2NSc0Njc2PwMnND4CNz4BNSc0NTQ+AjMyHgIdARYXFh8BHgIVFCcyFh8BFQ8BBg8BBhQXFh8BHgE7ATI/AzQvAi4BLwE9ATQ+ATMyFhQGFBczMjY1Jy4CIyIGBxcnJgcjIj0BLgIiDgEVBxQfARYyNjUjIi8BJjYHMj4DJi8CLgIGDwEOAhUXFAYUFh8CFhc3Mjc2NzY3NT8BND4BNzU0PwE2PwEvASYvASY1JyYvAiYiDwEGIiYvASYiHQEHBgcXFBcHDgEdAjIfARYfARYfARQGBx4DFzI+ATc2PwI2PQEvAiYjIg8BBiImLwEHBgcGFQcGDwIUFvkEBQECAQMDAgMDBgQHBgkKBgQHBAgLBAIBBB0HBg0BAQQDCAsKBQkJGQMFAwMBBwcDAgUHAQEHCgwGCAkBBQsSDQ4SCQMBAwMEDgcMCH4CAwEBAQQBAgYCAgMBBAEGBgEGBQ4LAQECBQMHAwECAwIFBAIBAgMDAQEDBgQIBgEBBQICAgIBAgQGAwMBAgEBAgIBAQECAQQdBAYGAwECAg0KAgQFBgMKAwgFAQIFBBAIAwVDBAUJCQQEAgUDBgMBAgECAwUCAgIHAQECAwMDAgUFFAUJBwMFAwIIAwEBAQUGBAMDBwQEBgQBAgUDAggICkADBwgDCAoKAwEFAwUDBgMCCgMFBQEEAgIBAgIBAwEBCVsCBwUGBAUEAgYHBQQBBAMHCgQCAwYIAgEBAQECAgUCBAIDBAIEAQMGCAgFDQcHAgECBAkCBwoUExIIChgOCwYGDBIOBwwTFwwNCgkEBhIJFBYNCo8CAQQEAgUBAQUCAwECBAYDBQMICAQCAQIBAQQBAQIHAgMCBwUEAgEDAwcECAQHCAkBAQEBBgMGBQMEAwUEAwUBAgEBBQQG5AIDBgcFAhIQBAYEAQIKAwMEBAwEBwcDAQMBAQMOAQIEAgMBCB8EBgUCAQECAwEBAhcGBAIKAgIEBwcHBQMDDQIFBAYDAgcNBwgEAgIHCBMJCgQCBAMECAMEBgQFAQQGBAIVAgUECQUFAgICAggFDwQBBgEDAgoDAgIFBREICAUFBwoAAAAABAAAAAABKwEaAAcACwAPABUAABMfAQ8BLwE3Bxc3JxcHFzcvAQcXBxcv9AgiC/QIIg7hIOFNA14CPUUNMj0JARkDCfIJAwrx6APfAp0SAhMvNw8nJw8AAAQAAAAAAQcBGgAHAAwAEAAUAAATIwcVFzM3NQcVIzUzFyM1MzUjNTP94QkJ4QqEXV1xXl5eXgEZCfQJCfRxZ8/PXhNeAAAAAAYAAAAAARQBIQAIABEAHQAxAEQAVwAANxQGIiY0NjIWFx4BPgEuAQ4BNz4BLgEiBgcGHgE2BzIeARczLgEnBiYnJicmIyIHFzYHNDY3Jw4BBx4BFAYHHgEXNy4BFyInBxYzMjc2Nz4BFz4BNyMOAT0PFQ8PFQ+SBhQTBQsUEwUyAwEHDA4MBAUGEhRREiEUAiUBEQ4IEAcPAw4PGhcTDjkQDxMRGAUHBwcHBRgREg4RShAPExcaDw4DDwcQCA4RASUDKZYLDw8WDw+ICQYLFRIGCxXXBg4MBwcGCRQLBRERHxIUJQ4DAQQJEQQMIAdJEiAKIAshFAUPEA8FFCELIAogNwchCwMRCQQCAw4lFBwmAAAAAAMAAAAAARoBGgAHAAsAEgAAEwcVFzM3NScHNTMVJxc3NScHFyYTE+ESEuHhmw1CQg06ARkS4RMT4RLz4eEyDkILQg07AAAAAAQAAAAAARoA4QAHAAoAEgAYAAA3BzM3MxczJwc3FzcjBzM3MxczJzc2Nx8BPywZCSsKGSwbDw6FHj0eDj8OHWQWAgECF6lxHBxxQigoeqkrK0JDBgULQwADAAAAAAEHAPQAAwAHAAsAACUjNTMVIzUzBzM1IwEH4eHh4eHh4c4mcSZxJgAAAAACAAAAAAEaAQcAGwA2AAA3Ii4BPwEjBi4CNzY3PgE3Mx4BHQEUBisBBwYnIgcGBwYWNzMXFQcGHgEyPwIzMjY9ATQmI2YIDgUEEjQHDAcBAyMIAw0IpwsPDwsZbggYBQILIAIEBT4JFAEBBAUCcgkZAwUFAyMLEQkpAQYLDgZKFwcJAQEPC0IKD2cH0QUfQwQHAQwJLgIFAwJoAwQDQgMFAAAAAAIAAAAAARoBBwAbADYAABMeAg8BMzYeAgcGBw4BKwEuAT0BNDY7ATc2FzI3Njc2JgcjJzU3Ni4BIg8CIyIGFxUGFjPGCA4FBBI0BwwHAQMjCAMNCKcLDw8LGm0IGAUCCyEBBAU9ChQBAQQFAnIJGQMFAQEFAwEHAQoRCSkBBwsNBkoXBwoBDwtCCg9nBtAFH0MEBwEMCS4CBQMCaAMEA0IDBQAABgAAAAABGQEaACAALwBBAE0AUgBoAAAlJwcnNycmIg4CFBcGBwYWFx4BMzI3Njc2NxYyPgI0BwYrASIuAjc2Nx4BFwY3FgYiJy4BNz4COwEHFRczNwczFzcnNy8BDwIXJxcVIycXNxcWFAcOAScmLwE3Fx4BPgI0JicBFQ8nFycDDRsaFAsFOjkGAQgECQUJBxUkIhoNHBoUC+IBAgICAgMCASpGAwYESakBICwPDAYGBA8UCgUiIw0iyhwODAwBBDYLDwIjCisUHIoNOggIBg8IBQM7DToCBQUCAQEB6wMnFygPBAsUGx0NOjsIFQcEBQcTJSEbBgsVGhy3AQEEBgIsRgQHA0uFFx8PDCAPChAIIw0jIicODQ0fCCQCDww2QB0VLH0NPAgWCAYDAwIEPA08AgICAwMEAwEAAAYAAAAAAPQBGgATABcAGwAfACMAJwAANzMVIxUHIyc1IzUzNTQ2OwEyFhUrARUzBzM1IxcjFTM3MxUjNzMVI7w4ExODExI4Cwg4CAsTODheg4MmExMSExMmExP0E6kSEqkTEwcLCwcTvKkTg4ODg4MAAAAAAQAAAAABBwDPAAUAAD8BMxcHIyYH0ghqEMQKCmYAAAABAAAAAADPAQcABQAAExcVByc1xAoKZgEHCNIIahAAAAEAAAAAAM8BBwAFAAA3JzU3FxVoCgpmJgfSCGoQAAAAAQAAAAABBwDPAAUAACUHIyc3MwEHCNIHaRBoCgpmAAABAAAAAAEaAP8APgAAJQ4BBxcUBgcOAyImJxY2NyImJyYnFxY3LgEnJjUxFjMmJyYnJjc2NxYXFhcWFyc1NDc2NzYyFhc2NwYHNgEZBQ4IAQcHCR0kKy0qEhUqEAwXBwUDBQoJCRAGDAwNCwcDAgMEAQQKDRkfEBABBAgVChYUCBIQBhIQ5QgOBgcQHw8VIhgMDAwCCw4MCgcIAQEDAgkIDhQGBwwGBg4NBwYMChUIBAEGBgwJFQgECQgECRMKAQAEAAAAAAEHARoAHgAiACYAKgAANyMnMzc1JyMHFRczByMHFRczNzUnIzcXIwcVFzM3NSc1MxUHFSM1FyM1M/0gPxQKCksJCRQ+IQkJOAoKATo5AQkJOAqWOF4lziYmXl4JSwkJSwleCjgJCTgKVlYKOAkJOHo5OYMlJSUlAAAAAAQAAAAAAQcBGgAeACIAJgAqAAATIwcVFzMHJzM3NScjBxUXMxcjBxUXMzc1JyM3Mzc1BzUzFRcVIzU3IzUz/TgJCQE5OgEKCjgJCSE+FAkJSwoKFD8gCuElXjiDJiYBGQk4ClZWCjgJCTgKXQpLCQlLCl0KOC8mJoM4OIMmAAAABQAAAAABBwEaACMAJwArAC8AMwAANyMnNScjNTM3NScjBxUXMxUjBxUHIwcVFzM3NTczFxUXMzc1JzMVIwczFSMHIzUzFyM1M/0hIAocCQoKJQkJCRwJICIJCSYJIEMgCiUKhBMTEjg4ORISvBMTSyBHCiUJJgkJJgklCkcgCSYJCSIgICIJCSbFE0s4SxISEgAAAAMAAAAAAQcBGgAJABMALQAANzUHJzczFwcnFQcVJwcXMzcnBzU3FwcXByM1MycjBzMVIyc3JzczFSMXMzcjNY0TDSIOIg0TEhMNIg4iDRNiBkVFBk44ODg6OU8FRUUFTzk4ODo4sksTDiEiDRNLOEsTDSIiDRNLZxM3ORMTLS0TEzc5ExMtLRMAAAAADAAAAAABGgEaAAkAEwAbAB8AJwArADMANwA/AEMARwBLAAATFwcnFSM1Byc3FzUjFScHFzM3JzcjJzU3MxcVJzM1IxcjJzU3MxcVJzM1IwcjJzU3MxcVJzM1IxcjJzU3MxcVJzM1KwIVMzUjFTM2KA8XEhcNJw8SFw0nDSgNTiUJCSUKJhMTjTgKCjgJOCYmQiUJCSUKJhMTjTgKCjgJOCYmEyUlJSUBGScNFlJUGA0n6FJSFg0nJw1iCSYJCSYKEiUJOAoKOAollgkmCQkmChM5CjgJCTgJJhNwEgAAAAACAAAAAAEHAR0AFQAaAAA3NTQ+ARYXMy4BDgEdASMHFRczNzUnBzMVIzVeGikjBxQILjgmExISvBMTJia8qSUVHwcVExsgByodJRNwExNwExNwcAAFAAAAAAEaARoACQARAB4AJwAvAAA3MzcXFQcnIyc1HwE1DwEjFTM3FAYHJz4BJzYnNx4BBxQHJzY0JzcWBxQHJzYnNxYcNEkQEEk0CUg7OwcuLsUPDg4MDQEBGQ4ODyUTDQ0NDRMmCA4HBw4I0UgG9AZICV5XO8Y6A0slFyoSDQ8kEycfDRErFx8ZDRQvEw0ZHxANDg8QDQ0AAAAEAAAAAAEVARQAFwAvAFsAXwAANzM3Mzc1NzUnNScjJyMHIwcVBxUXFRczNyM1LwE/ATUzPwEfATMVHwEPARUjDwEnNwYPASM1Njc+AzMyHgIUDgEPAQ4BHQEjNTQ2PwE+ATQnMS4BJzEmIgYXIzUzkA0gLQogIAkuIA0fLwofHwovAykCHRwDKQYcHQYoAx0dAygHHBwVAgEBEQEDAgQHCQUICwgDBAUDBgIEEQQDCwMDAQEDAgMGBg8QEBggCi0gDiAuCSAgCi0gDiAtChMoBxwcBygDHBwDKAccHAcoAxwccQMDBgEJBwMGBAMFCAsMCQgEBwMGAwkKBQgDDgMIBwMCBAECBF0QAAAABgAAAAABLAEaAEIATgBaAGIAZgBqAAA3NDYfARYyNj8CJy4CIgc1NxYfATc+AxYVFCMiJiIGBwYHFxYfARYyNzY/ARcOAyIuAS8BJicPAQ4CIiYXPgE0JiczFhUUBgcjLgE1NDczDgEVFBc3IQcVFyE3NQchNSE1ITUhZQcEBQEDBQMLBgcBBQYHAxsGAwUFAwkJCQYIAwUGBgMFBAgBAQIBBAEFAwMDAQYHCAYFAwEEAQEJBgMIBwgGcwcJCQcNEgkJngkJEg0ICBDP/uYJCQEaCRP++gEG/voBBlQEBQIEAQUDEA0bAwUDAQQFBggQCAYJBgEEBAgDBgQGCCIEAwMBAQQFBAIDCAcGBAYDFAQDDwkFBgUFBQoYGhgKFRoOFwoJGQ0aFQoZDBsUzgn0CQn06qgTJgAAAgAAAAABFQEUABcAHgAANyMnIyc1JzU3NTczNzMXMxcVFxUHFQcjJzM3JwcnB50NHy8KHx8KLx8NIC4JICAKLT8ORg1AGg0YIAotIA4gLQogIAkuIA4gLQowRg5BGg0AAwAAAAABFQEUABcALwA2AAA3MzczNzU3NSc1JyMnIwcjBxUHFRcVFzM3IzUvAT8BNTM/AR8BMxUfAQ8BFSMPASc3MzcnBycHkA0gLQogIAkuIA0fLwofHwovAykCHRwDKQYcHQYoAx0dAygHHBwEDkYNQBoNGCAKLSAOIC4JICAKLSAOIC0KEygHHBwHKAMcHAMoBxwcBygDHBwgRg5BGg0AAAAEAAAAAAEaAPQABwALABYAIQAANwcVFzM3NScVIzUzBzUzNSMHFRczNSMnNTM1IwcVFzM1I5YTE3ESEnFxqRMdCQkdEzgSHAkJHBL0E5YTE5YTqZZeSxMJhAkTOCYSCV4JEwAAAwAA//8BLgEHABIAHwAmAAATMxcVJic1IxUzFBcjNTM1Iyc1Fz4BHgIOAi4CNhc3JwcnBxcc9AkIC+BdE0s4ZwmkESgkFwISISgkFgMSOC0PJxgMIAEHCmcHBFOpHxkTEgq7dAwCESIoJBcCEiEoJFI7DDQTDhoABQAAAAABLAEHABIAHwArADEANwAAEzMXFSYnNSMVMxQXIzUzNSMnNRciDgEUHgEyPgE0LgEHIi4BND4BMzIWFAYnFzcnNycHJzcXBycc9AkIC+BdE0s4ZwnOFCMUFCMoIxQUIxQPGg8PGg8XISEVGwkTEwkwEggbGwgBBwpnBwRTqR8ZExIKu2cUIygjFBQjKCMUgw8aHhoPIS4hQxsIExIILhIIGhsIAAAAAAMAAAAAASwBBwASAB8AKwAAEzMXFSYnNSMVMxQXIzUzNSMnNRciDgEUHgEyPgE0LgEHIi4BND4BMzIWFAYc9AkIC+BdE0s4ZwnOFCMUFCMoIxQUIxQPGg8PGg8XISEBBwpnBwRTqR8ZExIKu2cUIygjFBQjKCMUgw8aHhoPIS4hAAAAAAMAAP/+AS4BBwASAC4AMQAAEzMXFSYnNSMVMxQXIzUzNSMnNRcyHgIXHgEHDgIHDgEnLgInLgE3PgI3NhcnFRz0CQgL4F0TSzhnCc4KExEOBQcEBAIKDggNHg8JEQ4FBwQEAgoOCBI6OQEHCmcHBFOpHxkTEgq7ZwUKDggNHg8JEQ4FBwQEAgoOCA0eDwkRDgUKSyZLAAAAAgAAAAABGgEHAA8AEwAAASMHFRczFSMVMzUjNTM3NQcjNTMBEPQJCWc4ljhnCRLh4QEHCrsKEhMTEgq7sqkAAAYAAAAAARoBGgALABcAIwAwADgAQAAANzM1MzUjNSMVIxUzFyMVIxUzFTM1MzUjNzUjFSMVMxUzNTM1ByYiDwEGFBYyPwE2NAcGIiY0PwEXNwcnNzYyFhRSExMTExMTlhMSEhMTEx8TExMTEkoIFwmMCBAYCIwIogIIBgN5DhMGDQYCCAbOExMTExNeEhMTExOWEhITExMTLggIjQgXEQmMCBeeAwYHA3kNEwYOBgIFCAAAAAQAAAAAARkBGgAFAAgADAAQAAATMxcHIyc3BzMnNSMVPQEzFY4Qewj2CINr1l8YGAEZ5g0NzskTExMmS0sAAAADAAAAAAD0ARoABgAaACcAADczNSM1IxUnDgEUFhcVFzM3NT4BNCYnNScjBxcUDgEiLgE0PgEyHgGNJRwTHBYZGRYKSwkWGRkWCUsKehQjKCMUFCMoIxSDEy84WgwsMiwMKQkJKQwsMiwMKQkJehQjFBQjKCMUFCMAAAAAAwAAAAAA4QEaABEAGQAdAAATNSMiDgEUHgE7ARUjFTM1IzUHIyImNDY7ARcjNTPhZxIeEhIeEhwTXhM4HBQbGxQcJhMTAQcSER8jHhJeEhLPXhsnHM/PAAUAAAAAASwA9wAHABwAJwA3AEMAADUzFSE1MxUhNyM1IwYjIiY1ND8BNCMiBzU2MzIVDwEOARUUFjMyNjUXMRUjNTMVMTYzMhYVFAYiJxUUFjMyNjU0JiIGEwEGE/7UgBABChUQESIfFhIPDxQkEBkMCwoJDRA/EREMGBQWGSoLEA0PERAcEV4mJjg4EBMRDR0FBBoMEQkmDwQBCAsHChEOGw+YQxQbGBofOw4NEhcVERMUAAMAAAAAARoBBwAHAAsADwAAASMHFRczNzUHIzUzNSM1MwEQ9AkJ9AkS4eHh4QEHCs4JCc7FhBImAAAAAAYAAAAAARoBGgAfAC8ARQBaAHoAigAANyYnJgcGDwEVNz4BMhYXBw4CBwYWFxYzMjcVMzU0JgcVFAcOAScuAj0BND4BMzcuAiIHBgc1IxUzNRYXFjMyPgI0BxQOAQcGJy4CPQE+Axc2Fx4BBz4BMhYfATUnJg4DFB4CMjY/ATUPAQYnLgI0NjcjNTMXFQcjFwcnNTcXBzNJBAUJCwcGBgQECwsFARIHCQYBAwYJBQULBxMDDwECCgUCAgEDBANrAQYLDgUDAhISAwYCBAcLBwQSAgQCBgUCBAIBAgMFAwYEAQJeAwYIBgMHAggSDgoFBQkNDgoEAgYKBgYDBQME3EtUCQl8Jw42Ng4mcusFAgMCAQMDFAMDBQYGAgEFBwQKEgQCCQcxBwsfBQMDBgUCAQIDAgQBAwIWBgsHBAIDLnQFBQEBBgwQEAcHCgYBAwICBAYECgQIBQMBAQYCCWADAwICBRUBBQEGDA8RDgoGAwIBEQIEAQICBggLCU0SCXEJJw02DTcOJQAAAwAAAAABJQEtACQAPwBMAAATMh4CFxYXFhcWMxUUDgQPAScuBT0BMj4CNz4BFy4BJy4BIgYHDgEHFRQeBBc+BTUvAQ8BLwEPAR8CPwGXCA0NDAcKCxUXDAsLExkfIREEBREiHhoTCgsYFhUKDBqIFSkSCRYWFQkSKRYKERgaHg8QHRsXEgk0CAhRHAgIAiQECQRbASwCBAYEBgUIAgFKFiYjHhsXCgMDChcbHiMnFEwBBQkGCAg4AQwMBgYGBgwMATkSIiAbGBUJCRQZGyAiEhkHAWAnAgcHMwIBAmsAAAAEAAAAAAElAS0AJAA/AGkAcQAAEzIeAhcWFxYXMhcVFA4EDwEnLgU9ARY+Ajc+ARcuAScuASIGBw4BBxUUHgQXPgU1Jx4BFA4BDwEOAR0BByMnNTQ+AT8BPgE0JicmIgcOARUHIyc0PgE3NhcWBzczFxUHIyeXCA0NDAcKCxUWDQsLExkfIREFBBEiHhoTCgsYFhUKDBqIFSkSCRYWFQkSKRYKERgaHg8QHRsXEQpgBQYFBgQGAwMDDQMFBgQGAwMDAgUPBQIDAw0DBgoGDg8GHgMNAwMNAwEsAgQGBAYFCAIBShYmIx4bFwoDAwoXGx4jJxRMAQIFCQYICDgBDAwGBgYGDAwBORIiIBsYFQkJFBkbICISGQYMDgsIAwYDBgQGAwMGBwsHAwYEBgcGAwUFAwYEAgIIDQoCBgYDYQMDDQMDAAADAAAAAAElAS0AJAA/AFMAABMyHgIXFhcWFzIXFRQOBA8BJy4FPQEWPgI3PgEXLgEnLgEiBgcOAQcVFB4EFz4FNS8BIwcnIwcVFwcVFzM3FzM3NSc3lwgNDQwHCgsVFg0LCxMZHyERBQQRIh4aEwoLGBYVCgwaiBUpEgkWFhUJEikWChEYGh4PEB0bFxEKRwcEJSUECCUlCAQlJQQHJSUBLAIEBgQGBQgCAUoWJiMeGxcKAwMKFxseIycUTAECBQkGCAg4AQwMBgYGBgwMATkSIiAbGBUJCRQZGyAiEgsIJiYIBCUlBAgmJggEJSUAAAADAAAAAAEaAR4ADgAfACsAADcWBgcXBycOAS4BPgEeAQcyNjcHPgE1NC4BIg4BFB4BNzUjNSMVIxUzFTM14gENDFAOTxxIORMcP0cwZBEfDAEMDhcnLiYXFyZFJRMmJhO5FCYQTw5QFwIrRUIjDDWADQwBDB8RFycXFyctJxdLEyUlEyUlAAAAAwAAAAABGgEeAA4AHwAjAAA3FgYHFwcnDgEuAT4BHgEHMjY3Bz4BNTQuASIOARQeASczFSPiAQ0MUA5PHEg5Exw/RzBkER8MAQwOFycuJhcXJhhdXbkUJhBPDlAXAitFQiMMNYANDAEMHxEXJxcXJy0nF10SAAAAAAAQAMYAAQAAAAAAAQAHAAAAAQAAAAAAAgAHAAcAAQAAAAAAAwAHAA4AAQAAAAAABAAHABUAAQAAAAAABQALABwAAQAAAAAABgAHACcAAQAAAAAACgAkAC4AAQAAAAAACwATAFIAAwABBAkAAQAOAGUAAwABBAkAAgAOAHMAAwABBAkAAwAOAIEAAwABBAkABAAOAI8AAwABBAkABQAWAJ0AAwABBAkABgAOALMAAwABBAkACgBIAMEAAwABBAkACwAmAQljb2RpY29uUmVndWxhcmNvZGljb25jb2RpY29uVmVyc2lvbiAxLjZjb2RpY29uVGhlIGljb24gZm9udCBmb3IgVmlzdWFsIFN0dWRpbyBDb2RlaHR0cDovL2ZvbnRlbGxvLmNvbQBjAG8AZABpAGMAbwBuAFIAZQBnAHUAbABhAHIAYwBvAGQAaQBjAG8AbgBjAG8AZABpAGMAbwBuAFYAZQByAHMAaQBvAG4AIAAxAC4ANgBjAG8AZABpAGMAbwBuAFQAaABlACAAaQBjAG8AbgAgAGYAbwBuAHQAIABmAG8AcgAgAFYAaQBzAHUAYQBsACAAUwB0AHUAZABpAG8AIABDAG8AZABlAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGYAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwEcAR0BHgEfASABIQEiASMBJAElASYBJwEoASkBKgErASwBLQEuAS8BMAExATIBMwE0ATUBNgE3ATgBOQE6ATsBPAE9AT4BPwFAAUEBQgFDAUQBRQFGAUcBSAFJAUoBSwFMAU0BTgFPAVABUQFSAVMBVAFVAVYBVwFYAVkBWgFbAVwBXQFeAV8BYAFhAWIBYwFkAWUBZgFnAWgBaQFqAWsBbAFtAW4BbwFwAXEBcgFzAXQBdQF2AXcBeAF5AXoBewF8AX0BfgF/AYABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOAY8BkAGRAZIBkwGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwG4AbkBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgHHAcgByQHKAcsBzAHNAc4BzwHQAdEB0gHTAdQB1QHWAdcB2AHZAdoB2wHcAd0B3gHfAeAB4QHiAeMB5AHlAeYB5wHoAekB6gHrAewB7QHuAe8B8AHxAfIB8wH0AfUB9gH3AfgB+QH6AfsB/AH9Af4B/wIAAgECAgIDAgQCBQIGAgcCCAIJAgoCCwIMAg0CDgIPAhACEQISAhMCFAIVAhYCFwIYAhkCGgIbAhwCHQIeAh8CIAIhAiICIwIkAiUCJgInAigCKQIqAisCLAItAi4CLwIwAjECMgIzAjQCNQI2AjcCOAI5AjoCOwI8Aj0CPgI/AkACQQJCAkMCRAJFAkYCRwJIAkkCSgJLAkwCTQJOAk8CUAJRAlICUwJUAlUCVgJXAlgCWQJaAlsCXAJdAl4CXwJgAmECYgJjAmQCZQJmAmcCaAJpAmoCawJsAm0CbgJvAnACcQJyAnMCdAJ1AnYCdwJ4AnkCegJ7AnwCfQJ+An8CgAKBAoICgwKEAoUChgKHAogCiQKKAosCjAKNAo4CjwKQApECkgKTApQClQKWApcCmAKZAAdhY2NvdW50FGFjdGl2YXRlLWJyZWFrcG9pbnRzA2FkZAdhcmNoaXZlCmFycm93LWJvdGgRYXJyb3ctY2lyY2xlLWRvd24RYXJyb3ctY2lyY2xlLWxlZnQSYXJyb3ctY2lyY2xlLXJpZ2h0D2Fycm93LWNpcmNsZS11cAphcnJvdy1kb3duCmFycm93LWxlZnQLYXJyb3ctcmlnaHQQYXJyb3ctc21hbGwtZG93bhBhcnJvdy1zbWFsbC1sZWZ0EWFycm93LXNtYWxsLXJpZ2h0DmFycm93LXNtYWxsLXVwCmFycm93LXN3YXAIYXJyb3ctdXAMYXp1cmUtZGV2b3BzBWF6dXJlC2JlYWtlci1zdG9wBmJlYWtlcghiZWxsLWRvdARiZWxsBGJvbGQEYm9vawhib29rbWFyawticmFja2V0LWRvdA1icmFja2V0LWVycm9yCWJyaWVmY2FzZQlicm9hZGNhc3QHYnJvd3NlcgNidWcIY2FsZW5kYXINY2FsbC1pbmNvbWluZw1jYWxsLW91dGdvaW5nDmNhc2Utc2Vuc2l0aXZlCWNoZWNrLWFsbAVjaGVjawljaGVja2xpc3QMY2hldnJvbi1kb3duDGNoZXZyb24tbGVmdA1jaGV2cm9uLXJpZ2h0CmNoZXZyb24tdXAMY2hyb21lLWNsb3NlD2Nocm9tZS1tYXhpbWl6ZQ9jaHJvbWUtbWluaW1pemUOY2hyb21lLXJlc3RvcmUNY2lyY2xlLWZpbGxlZBNjaXJjbGUtbGFyZ2UtZmlsbGVkFGNpcmNsZS1sYXJnZS1vdXRsaW5lDmNpcmNsZS1vdXRsaW5lDGNpcmNsZS1zbGFzaA1jaXJjdWl0LWJvYXJkCWNsZWFyLWFsbAZjbGlwcHkJY2xvc2UtYWxsBWNsb3NlDmNsb3VkLWRvd25sb2FkDGNsb3VkLXVwbG9hZAVjbG91ZARjb2RlDGNvbGxhcHNlLWFsbApjb2xvci1tb2RlB2NvbWJpbmUSY29tbWVudC1kaXNjdXNzaW9uB2NvbW1lbnQOY29tcGFzcy1hY3RpdmULY29tcGFzcy1kb3QHY29tcGFzcwRjb3B5C2NyZWRpdC1jYXJkBGRhc2gJZGFzaGJvYXJkCGRhdGFiYXNlCWRlYnVnLWFsbA9kZWJ1Zy1hbHQtc21hbGwJZGVidWctYWx0J2RlYnVnLWJyZWFrcG9pbnQtY29uZGl0aW9uYWwtdW52ZXJpZmllZBxkZWJ1Zy1icmVha3BvaW50LWNvbmRpdGlvbmFsIGRlYnVnLWJyZWFrcG9pbnQtZGF0YS11bnZlcmlmaWVkFWRlYnVnLWJyZWFrcG9pbnQtZGF0YSRkZWJ1Zy1icmVha3BvaW50LWZ1bmN0aW9uLXVudmVyaWZpZWQZZGVidWctYnJlYWtwb2ludC1mdW5jdGlvbh9kZWJ1Zy1icmVha3BvaW50LWxvZy11bnZlcmlmaWVkFGRlYnVnLWJyZWFrcG9pbnQtbG9nHGRlYnVnLWJyZWFrcG9pbnQtdW5zdXBwb3J0ZWQNZGVidWctY29uc29sZRRkZWJ1Zy1jb250aW51ZS1zbWFsbA5kZWJ1Zy1jb250aW51ZQ5kZWJ1Zy1jb3ZlcmFnZRBkZWJ1Zy1kaXNjb25uZWN0EmRlYnVnLWxpbmUtYnktbGluZQtkZWJ1Zy1wYXVzZQtkZWJ1Zy1yZXJ1bhNkZWJ1Zy1yZXN0YXJ0LWZyYW1lDWRlYnVnLXJlc3RhcnQWZGVidWctcmV2ZXJzZS1jb250aW51ZRdkZWJ1Zy1zdGFja2ZyYW1lLWFjdGl2ZRRkZWJ1Zy1zdGFja2ZyYW1lLWRvdBBkZWJ1Zy1zdGFja2ZyYW1lC2RlYnVnLXN0YXJ0D2RlYnVnLXN0ZXAtYmFjaw9kZWJ1Zy1zdGVwLWludG8OZGVidWctc3RlcC1vdXQPZGVidWctc3RlcC1vdmVyCmRlYnVnLXN0b3AFZGVidWcQZGVza3RvcC1kb3dubG9hZBNkZXZpY2UtY2FtZXJhLXZpZGVvDWRldmljZS1jYW1lcmENZGV2aWNlLW1vYmlsZQpkaWZmLWFkZGVkDGRpZmYtaWdub3JlZA1kaWZmLW1vZGlmaWVkDGRpZmYtcmVtb3ZlZAxkaWZmLXJlbmFtZWQEZGlmZgdkaXNjYXJkBGVkaXQNZWRpdG9yLWxheW91dAhlbGxpcHNpcwxlbXB0eS13aW5kb3cLZXJyb3Itc21hbGwFZXJyb3IHZXhjbHVkZQpleHBhbmQtYWxsBmV4cG9ydApleHRlbnNpb25zCmV5ZS1jbG9zZWQDZXllCGZlZWRiYWNrC2ZpbGUtYmluYXJ5CWZpbGUtY29kZQpmaWxlLW1lZGlhCGZpbGUtcGRmDmZpbGUtc3VibW9kdWxlFmZpbGUtc3ltbGluay1kaXJlY3RvcnkRZmlsZS1zeW1saW5rLWZpbGUIZmlsZS16aXAEZmlsZQVmaWxlcw1maWx0ZXItZmlsbGVkBmZpbHRlcgVmbGFtZQlmb2xkLWRvd24HZm9sZC11cARmb2xkDWZvbGRlci1hY3RpdmUOZm9sZGVyLWxpYnJhcnkNZm9sZGVyLW9wZW5lZAZmb2xkZXIEZ2VhcgRnaWZ0C2dpc3Qtc2VjcmV0CmdpdC1jb21taXQLZ2l0LWNvbXBhcmUJZ2l0LW1lcmdlF2dpdC1wdWxsLXJlcXVlc3QtY2xvc2VkF2dpdC1wdWxsLXJlcXVlc3QtY3JlYXRlFmdpdC1wdWxsLXJlcXVlc3QtZHJhZnQQZ2l0LXB1bGwtcmVxdWVzdA1naXRodWItYWN0aW9uCmdpdGh1Yi1hbHQPZ2l0aHViLWludmVydGVkBmdpdGh1YgVnbG9iZQpnby10by1maWxlB2dyYWJiZXIKZ3JhcGgtbGVmdApncmFwaC1saW5lDWdyYXBoLXNjYXR0ZXIFZ3JhcGgHZ3JpcHBlchFncm91cC1ieS1yZWYtdHlwZQVoZWFydAdoaXN0b3J5BGhvbWUPaG9yaXpvbnRhbC1ydWxlBWh1Ym90BWluYm94BmluZGVudARpbmZvB2luc3BlY3QLaXNzdWUtZHJhZnQOaXNzdWUtcmVvcGVuZWQGaXNzdWVzBml0YWxpYwZqZXJzZXkEanNvbg5rZWJhYi12ZXJ0aWNhbANrZXkDbGF3DWxheWVycy1hY3RpdmUKbGF5ZXJzLWRvdAZsYXllcnMXbGF5b3V0LWFjdGl2aXR5YmFyLWxlZnQYbGF5b3V0LWFjdGl2aXR5YmFyLXJpZ2h0D2xheW91dC1jZW50ZXJlZA5sYXlvdXQtbWVudWJhchNsYXlvdXQtcGFuZWwtY2VudGVyFGxheW91dC1wYW5lbC1qdXN0aWZ5EWxheW91dC1wYW5lbC1sZWZ0EmxheW91dC1wYW5lbC1yaWdodAxsYXlvdXQtcGFuZWwTbGF5b3V0LXNpZGViYXItbGVmdBRsYXlvdXQtc2lkZWJhci1yaWdodBBsYXlvdXQtc3RhdHVzYmFyBmxheW91dAdsaWJyYXJ5EWxpZ2h0YnVsYi1hdXRvZml4CWxpZ2h0YnVsYg1saW5rLWV4dGVybmFsBGxpbmsLbGlzdC1maWx0ZXIJbGlzdC1mbGF0DGxpc3Qtb3JkZXJlZA5saXN0LXNlbGVjdGlvbglsaXN0LXRyZWUObGlzdC11bm9yZGVyZWQKbGl2ZS1zaGFyZQdsb2FkaW5nCGxvY2F0aW9uCmxvY2stc21hbGwEbG9jawZtYWduZXQJbWFpbC1yZWFkBG1haWwIbWFya2Rvd24JbWVnYXBob25lB21lbnRpb24EbWVudQVtZXJnZQltaWxlc3RvbmUGbWlycm9yDG1vcnRhci1ib2FyZARtb3ZlEG11bHRpcGxlLXdpbmRvd3MEbXV0ZQhuZXctZmlsZQpuZXctZm9sZGVyB25ld2xpbmUKbm8tbmV3bGluZQRub3RlEW5vdGVib29rLXRlbXBsYXRlCG5vdGVib29rCG9jdG9mYWNlDG9wZW4tcHJldmlldwxvcmdhbml6YXRpb24Gb3V0cHV0B3BhY2thZ2UIcGFpbnRjYW4LcGFzcy1maWxsZWQEcGFzcwpwZXJzb24tYWRkBnBlcnNvbglwaWUtY2hhcnQDcGluDHBpbm5lZC1kaXJ0eQZwaW5uZWQLcGxheS1jaXJjbGUEcGxheQRwbHVnDXByZXNlcnZlLWNhc2UHcHJldmlldxBwcmltaXRpdmUtc3F1YXJlB3Byb2plY3QFcHVsc2UIcXVlc3Rpb24FcXVvdGULcmFkaW8tdG93ZXIJcmVhY3Rpb25zC3JlY29yZC1rZXlzDHJlY29yZC1zbWFsbAZyZWNvcmQEcmVkbwpyZWZlcmVuY2VzB3JlZnJlc2gFcmVnZXgPcmVtb3RlLWV4cGxvcmVyBnJlbW90ZQZyZW1vdmULcmVwbGFjZS1hbGwHcmVwbGFjZQVyZXBseQpyZXBvLWNsb25lD3JlcG8tZm9yY2UtcHVzaAtyZXBvLWZvcmtlZAlyZXBvLXB1bGwJcmVwby1wdXNoBHJlcG8GcmVwb3J0D3JlcXVlc3QtY2hhbmdlcwZyb2NrZXQScm9vdC1mb2xkZXItb3BlbmVkC3Jvb3QtZm9sZGVyA3JzcwRydWJ5CXJ1bi1hYm92ZQdydW4tYWxsCXJ1bi1iZWxvdwpydW4tZXJyb3JzCHNhdmUtYWxsB3NhdmUtYXMEc2F2ZQtzY3JlZW4tZnVsbA1zY3JlZW4tbm9ybWFsC3NlYXJjaC1zdG9wBnNlYXJjaBJzZXJ2ZXItZW52aXJvbm1lbnQOc2VydmVyLXByb2Nlc3MGc2VydmVyDXNldHRpbmdzLWdlYXIIc2V0dGluZ3MGc2hpZWxkB3NpZ24taW4Ic2lnbi1vdXQGc21pbGV5D3NvcnQtcHJlY2VkZW5jZQ5zb3VyY2UtY29udHJvbBBzcGxpdC1ob3Jpem9udGFsDnNwbGl0LXZlcnRpY2FsCHNxdWlycmVsCnN0YXItZW1wdHkJc3Rhci1mdWxsCXN0YXItaGFsZgtzdG9wLWNpcmNsZQxzeW1ib2wtYXJyYXkOc3ltYm9sLWJvb2xlYW4Mc3ltYm9sLWNsYXNzDHN5bWJvbC1jb2xvcg9zeW1ib2wtY29uc3RhbnQSc3ltYm9sLWVudW0tbWVtYmVyC3N5bWJvbC1lbnVtDHN5bWJvbC1ldmVudAxzeW1ib2wtZmllbGQLc3ltYm9sLWZpbGUQc3ltYm9sLWludGVyZmFjZQpzeW1ib2wta2V5DnN5bWJvbC1rZXl3b3JkDXN5bWJvbC1tZXRob2QLc3ltYm9sLW1pc2MQc3ltYm9sLW5hbWVzcGFjZQ5zeW1ib2wtbnVtZXJpYw9zeW1ib2wtb3BlcmF0b3IQc3ltYm9sLXBhcmFtZXRlcg9zeW1ib2wtcHJvcGVydHkMc3ltYm9sLXJ1bGVyDnN5bWJvbC1zbmlwcGV0DXN5bWJvbC1zdHJpbmcQc3ltYm9sLXN0cnVjdHVyZQ9zeW1ib2wtdmFyaWFibGUMc3luYy1pZ25vcmVkBHN5bmMFdGFibGUDdGFnBnRhcmdldAh0YXNrbGlzdAl0ZWxlc2NvcGUNdGVybWluYWwtYmFzaAx0ZXJtaW5hbC1jbWQPdGVybWluYWwtZGViaWFuDnRlcm1pbmFsLWxpbnV4E3Rlcm1pbmFsLXBvd2Vyc2hlbGwNdGVybWluYWwtdG11eA90ZXJtaW5hbC11YnVudHUIdGVybWluYWwJdGV4dC1zaXplCnRocmVlLWJhcnMKdGh1bWJzZG93bgh0aHVtYnN1cAV0b29scwV0cmFzaA10cmlhbmdsZS1kb3duDXRyaWFuZ2xlLWxlZnQOdHJpYW5nbGUtcmlnaHQLdHJpYW5nbGUtdXAHdHdpdHRlchJ0eXBlLWhpZXJhcmNoeS1zdWIUdHlwZS1oaWVyYXJjaHktc3VwZXIOdHlwZS1oaWVyYXJjaHkGdW5mb2xkE3VuZ3JvdXAtYnktcmVmLXR5cGUGdW5sb2NrBnVubXV0ZQp1bnZlcmlmaWVkDnZhcmlhYmxlLWdyb3VwD3ZlcmlmaWVkLWZpbGxlZAh2ZXJpZmllZAh2ZXJzaW9ucwl2bS1hY3RpdmUKdm0tY29ubmVjdAp2bS1vdXRsaW5lCnZtLXJ1bm5pbmcCdm0Ed2FuZAd3YXJuaW5nBXdhdGNoCndoaXRlc3BhY2UKd2hvbGUtd29yZAZ3aW5kb3cJd29yZC13cmFwEXdvcmtzcGFjZS10cnVzdGVkEXdvcmtzcGFjZS11bmtub3duE3dvcmtzcGFjZS11bnRydXN0ZWQHem9vbS1pbgh6b29tLW91dAAAAAAA"}},n={};function o(t){var i=n[t];if(void 0!==i)return i.exports;var r=n[t]={id:t,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}return o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(337)})()},67383:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.getOperatingSystem=t.OperatingSystem=void 0,function(e){e.MACOS="MACOS",e.WINDOWS="WINDOWS",e.LINUX="LINUX"}(n=t.OperatingSystem||(t.OperatingSystem={})),t.getOperatingSystem=function(){return-1!==navigator.appVersion.indexOf("Win")?n.WINDOWS:-1!==navigator.appVersion.indexOf("Mac")?n.MACOS:-1!==navigator.appVersion.indexOf("X11")||-1!==navigator.appVersion.indexOf("Linux")?n.LINUX:void 0}},27461:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(67383),t)},56304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLDocumentData=void 0;t.PMMLDocumentData=function(e){this.models=e}},17722:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLEditorMarshallerService=void 0;var o=n(90904),r=n(59052),a=n(56304),s=n(44382),l=n(97380),c=function(){function e(){}return e.prototype.getPMMLDocumentData=function(e){var t=this,n=(0,o.XML2PMML)(e),i=[],r=new a.PMMLDocumentData(i);return n.models&&n.models.forEach((function(e){var n=t.retrieveModelData(e);n&&i.push(n)})),r},e.prototype.retrieveModelData=function(e){var t,n,o,a=[r.AnomalyDetectionModel,r.AssociationModel,r.BayesianNetworkModel,r.BaselineModel,r.ClusteringModel,r.GaussianProcessModel,r.GeneralRegressionModel,r.MiningModel,r.NaiveBayesModel,r.NearestNeighborModel,r.NeuralNetwork,r.RegressionModel,r.RuleSetModel,r.SequenceModel,r.Scorecard,r.SupportVectorMachineModel,r.TextModel,r.TimeSeriesModel,r.TreeModel];try{for(var c=i(a),d=c.next();!d.done;d=c.next())if(e instanceof d.value){var u=e.MiningSchema.MiningField.map((function(e){return new l.PMMLFieldData(e.name.toString(),e.usageType)}));o=new s.PMMLModelData(null==e.modelName?"":e.modelName,u)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return o},e}();t.PMMLEditorMarshallerService=c},97380:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLFieldData=void 0;t.PMMLFieldData=function(e,t){this.fieldName=e,this.usageType=t}},44382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLModelData=void 0;t.PMMLModelData=function(e,t){this.modelName=e,this.fields=t}},40994:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(56304),t),o(n(17722),t)},21585:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(40994),t),o(n(90904),t)},14390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PMML2XML=t.XML2PMML=void 0;var i=n(55376),o=n(78246),r=n(41637),a=n(72654),s=n(36477),l=n(10297),c=n(47957),d=n(12498),u=n(90682),h=n(94219),p=n(47680),f=n(15626),g=n(86881),m=n(60399),v=n(10910),b=n(93190),_=n(93297),y=n(40562),A=n(71979),w=n(52958),C=n(28475),x=n(97370),S=n(11532),E=n(59052);function k(e){if(void 0!==typeof e){var t=M(e[0]);return e.forEach((function(e){for(var n in e)t[n]=e[n]})),t}}function M(e){if(null===e||"object"!=typeof e)return e;var t=new e.constructor(e);for(var n in e)t[n]=M(e[n]);return t}function D(e){return null==e?[]:Array.isArray(e)?e:[e]}function N(){return new E.SimplePredicate({field:"",operator:"equal"})}function I(){return new E.CompoundPredicate({booleanOperator:"and"})}function T(){return new E.True({})}function L(){return new E.False({})}t.XML2PMML=function(e){var t=o.xml2js(e),n=i(r.JSON2UI_TRANSFORMATION);return n.registerFunction("merge",k),n.registerFunction("singletonArray",D),n.registerFunction("anomalyDetectionModelFactory",a.anomalyDetectionModelFactory),n.registerFunction("associationModelFactory",s.associationModelFactory),n.registerFunction("baselineModelFactory",l.baselineModelFactory),n.registerFunction("bayesianNetworkModelFactory",c.bayesianNetworkModelFactory),n.registerFunction("clusteringModelFactory",d.clusteringModelFactory),n.registerFunction("gaussianProcessModelFactory",u.gaussianProcessModelFactory),n.registerFunction("generalRegressionModelFactory",h.generalRegressionModelFactory),n.registerFunction("miningModelFactory",p.miningModelFactory),n.registerFunction("naiveBayesModelFactory",f.naiveBayesModelFactory),n.registerFunction("nearestNeighborModelFactory",g.nearestNeighborModelFactory),n.registerFunction("neuralNetworkFactory",m.neuralNetworkFactory),n.registerFunction("regressionModelFactory",v.regressionModelFactory),n.registerFunction("ruleSetModelFactory",b.ruleSetModelFactory),n.registerFunction("scorecardFactory",_.scorecardFactory),n.registerFunction("sequenceModelFactory",y.sequenceModelFactory),n.registerFunction("supportVectorMachineModelFactory",A.supportVectorMachineModelFactory),n.registerFunction("textModelFactory",w.textModelFactory),n.registerFunction("timeSeriesModelFactory",C.timeSeriesModelFactory),n.registerFunction("treeModelFactory",x.treeModelFactory),n.registerFunction("json2uiSimplePredicateFactory",N),n.registerFunction("json2uiCompoundPredicateFactory",I),n.registerFunction("json2uiTruePredicateFactory",T),n.registerFunction("json2uiFalsePredicateFactory",L),n.evaluate(t)},t.PMML2XML=function(e){var t=i(S.UI2JSON_TRANSFORMATION);t.registerFunction("singletonArray",D);var n=t.evaluate(e);return o.js2xml(n,{spaces:2})}},90904:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9765),t),o(n(14390),t)},41637:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSON2UI_TRANSFORMATION=void 0;var i=n(72654),o=n(36477),r=n(10297),a=n(47957),s=n(12498),l=n(24907),c=n(90682),d=n(94219),u=n(25658),h=n(47680),p=n(15626),f=n(86881),g=n(60399),m=n(10910),v=n(93190),b=n(93297),_=n(40562),y=n(71979),A=n(52958),w=n(28475),C=n(97370);t.JSON2UI_TRANSFORMATION="(\n $bootstrap := function($node) {\n { \n ".concat(u.HEADER,", \n ").concat(l.DATA_DICTIONARY,', \n "models": $singletonArray(\n $append(\n ').concat(i.ANOMALY_DETECTION_MODEL,",\n $append(\n ").concat(o.ASSOCIATION_MODEL,",\n $append(\n ").concat(r.BASELINE_MODEL,",\n $append(\n ").concat(a.BAYESIAN_NETWORK_MODEL,",\n $append(\n ").concat(s.CLUSTERING_MODEL,",\n $append(\n ").concat(c.GAUSSIAN_PROCESS_MODEL,",\n $append(\n ").concat(d.GENERAL_REGRESSION_MODEL,",\n $append(\n ").concat(h.MINING_MODEL,",\n $append(\n ").concat(p.NAIVE_BAYES_MODEL,",\n $append(\n ").concat(f.NEAREST_NEIGHBOR_MODEL,",\n $append(\n ").concat(g.NEURAL_NETWORK_MODEL,",\n $append(\n ").concat(m.REGRESSION_MODEL,",\n $append(\n ").concat(v.RULE_SET_MODEL,",\n $append(\n ").concat(b.SCORE_CARD,",\n $append(\n ").concat(_.SEQUENCE_MODEL,",\n $append(\n ").concat(y.SUPPORT_VECTOR_MACHINE_MODEL,",\n $append(\n ").concat(A.TEXT_MODEL,",\n $append(\n ").concat(w.TIME_SERIES_MODEL,",\n ").concat(C.TREE_MODEL,'\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n }\n };\n\n $json2uiPredicateFactory := function($node) {\n $node[(name = "SimplePredicate")] \n ? \n $merge([\n $json2uiSimplePredicateFactory(), \n $node.attributes,\n {\n "_type": $node.name\n }\n ]) \n : \n $node[(name = "CompoundPredicate")] \n ? \n $merge([\n $json2uiCompoundPredicateFactory(), \n $node.attributes,\n {\n "_type": $node.name,\n "predicates": $node.elements ~> $map(function($v, $i) {\n $json2uiPredicateFactory($v)\n })\n }\n ]) \n :\n $node[(name = "True")] \n ?\n $merge([\n $json2uiTruePredicateFactory(),\n {\n "_type": $node.name\n }\n ])\n :\n $node[(name = "False")] \n ?\n $merge([\n $json2uiFalsePredicateFactory(),\n {\n "_type": $node.name\n }\n ])\n :\n undefined\n };\n\n $bootstrap($$);\n)')},11532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UI2JSON_TRANSFORMATION=void 0;var i=n(38742),o=n(91087),r=n(81019),a=n(42453),s="$append(\n [],\n $append(\n ".concat(r.SCORE_CARD,",\n ").concat(a.REGRESSION_MODEL,"\n )\n)"),l='\n"elements": [\n {\n "type": "element",\n "name": "PMML",\n "attributes": {\n "xmlns": "http://www.dmg.org/PMML-4_4",\n "version": "4.4"\n },\n "elements": $append('.concat(o.HEADER,", $append(").concat(i.DATA_DICTIONARY,", ").concat(s,"))\n }\n]");t.UI2JSON_TRANSFORMATION="(\n $bootstrap := function($node) {\n { ".concat(l,' }\n };\n\n $ui2jsonPredicateFactory := function($node) {\n $node[(_type = "SimplePredicate")]\n ? \n {\n "type": "element",\n "name": "SimplePredicate",\n "attributes": {\n "field": $node.field,\n "operator": $node.operator,\n "value": $node.value\n }\n }\n : \n $node[(_type = "CompoundPredicate")] ? \n {\n "type": "element",\n "name": "CompoundPredicate",\n "attributes": {\n "booleanOperator": $node.booleanOperator\n },\n "elements": $node.predicates ~> $map(function($v, $i) {\n $ui2jsonPredicateFactory($v)\n })\n }\n : \n $node[(_type = "True")] ? \n {\n "type": "element",\n "name": "True"\n }\n :\n $node[(_type = "False")] ? \n {\n "type": "element",\n "name": "False"\n }\n :\n undefined\n };\n\n $bootstrap($$);\n\n)')},72654:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anomalyDetectionModelFactory=t.ANOMALY_DETECTION_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(77855),s=n(59819);t.ANOMALY_DETECTION_MODEL='\nelements.elements[(name = "AnomalyDetectionModel")] ~> $map(function($v, $i) {\n $merge([\n $anomalyDetectionModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(s.OUTPUT,",\n ").concat(a.MODEL_VERIFICATION,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.anomalyDetectionModelFactory=function(){return new i.AnomalyDetectionModel({MiningSchema:new i.MiningSchema({MiningField:[]}),functionName:"regression",algorithmType:"other"})}},36477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.associationModelFactory=t.ASSOCIATION_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(47761),s=n(77855),l=n(59819);t.ASSOCIATION_MODEL='\nelements.elements[(name = "AssociationModel")] ~> $map(function($v, $i) {\n $merge([\n $associationModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(l.OUTPUT,",\n ").concat(a.MODEL_STATS,",\n ").concat(s.MODEL_VERIFICATION,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.associationModelFactory=function(){return new i.AssociationModel({MiningSchema:new i.MiningSchema({MiningField:[]}),functionName:"regression",numberOfTransactions:0,minimumSupport:0,minimumConfidence:0,numberOfItems:0,numberOfItemsets:0,numberOfRules:0})}},10297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baselineModelFactory=t.BASELINE_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819);t.BASELINE_MODEL='\nelements.elements[(name = "BaselineModel")] ~> $map(function($v, $i) {\n $merge([\n $baselineModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.baselineModelFactory=function(){return new i.BaselineModel({MiningSchema:new i.MiningSchema({MiningField:[]}),TestDistributions:new i.TestDistributions({Baseline:{},field:{},testStatistic:"CUSUM"}),functionName:"regression"})}},47957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bayesianNetworkModelFactory=t.BAYESIAN_NETWORK_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819);t.BAYESIAN_NETWORK_MODEL='\nelements.elements[(name = "BayesianNetworkModel")] ~> $map(function($v, $i) {\n $merge([\n $bayesianNetworkModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.bayesianNetworkModelFactory=function(){return new i.BayesianNetworkModel({MiningSchema:new i.MiningSchema({MiningField:[]}),BayesianNetworkNodes:{},functionName:"regression"})}},12498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clusteringModelFactory=t.CLUSTERING_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819);t.CLUSTERING_MODEL='\nelements.elements[(name = "ClusteringModel")] ~> $map(function($v, $i) {\n $merge([\n $clusteringModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.clusteringModelFactory=function(){return new i.ClusteringModel({MiningSchema:new i.MiningSchema({MiningField:[]}),ComparisonMeasure:{kind:"distance"},ClusteringField:[],Cluster:[],functionName:"regression",modelClass:"centerBased",numberOfClusters:0})}},24907:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATA_DICTIONARY=void 0;var n='\n"DataField": $singletonArray(\n $v.elements[(name = "DataField")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n '.concat('\n{\n "Interval": $singletonArray(\n $v.elements[(name = "Interval")].attributes ~> $map(function($v, $i) {\n { \n "closure": $v.closure,\n "leftMargin": $number($v.leftMargin),\n "rightMargin": $number($v.rightMargin)\n }\n }))\n}',",\n ").concat('\n{\n "Value": [$v.elements[(name = "Value")].attributes]\n}',"\n ])\n })\n)");t.DATA_DICTIONARY='\n"DataDictionary": elements.elements[(name = "DataDictionary")] ~> $map(function($v, $i) {\n {\n "numberOfFields": $number($v.attributes.numberOfFields),\n '.concat(n,"\n }\n})")},90682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gaussianProcessModelFactory=t.GAUSSIAN_PROCESS_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.GAUSSIAN_PROCESS_MODEL='\nelements.elements[(name = "GaussianProcessModel")] ~> $map(function($v, $i) {\n $merge([\n $gaussianProcessModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.gaussianProcessModelFactory=function(){return new i.GaussianProcessModel({MiningSchema:new i.MiningSchema({MiningField:[]}),TrainingInstances:{InstanceFields:{InstanceField:[]}},functionName:"regression"})}},94219:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generalRegressionModelFactory=t.GENERAL_REGRESSION_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.GENERAL_REGRESSION_MODEL='\nelements.elements[(name = "GeneralRegressionModel")] ~> $map(function($v, $i) {\n $merge([\n $generalRegressionModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.generalRegressionModelFactory=function(){return new i.GeneralRegressionModel({MiningSchema:new i.MiningSchema({MiningField:[]}),PPMatrix:{},ParamMatrix:{},ParameterList:{},modelType:"generalLinear",functionName:"regression"})}},25658:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER=void 0,t.HEADER='\n"Header": elements.elements[(name = "Header")] ~> $map(function($v, $i) {\n {\n "copyright": $v.attributes.copyright,\n "description": $v.attributes.description,\n "modelVersion": $v.attributes.modelVersion,\n "Application": $v.elements[(name = "Application")].attributes,\n "Annotation": $v.elements[(name = "Annotation")].elements,\n "Timestamp": $v.elements[(name = "Timestamp")].elements[0]\n }\n})'},37426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCAL_TRANSFORMATIONS=void 0,t.LOCAL_TRANSFORMATIONS='\n "LocalTransformations": $v.elements[(name = "LocalTransformations")] ~> $map(function($v, $i) {\n $v\n})'},47680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.miningModelFactory=t.MINING_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.MINING_MODEL='\nelements.elements[(name = "MiningModel")] ~> $map(function($v, $i) {\n $merge([\n $miningModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.miningModelFactory=function(){return new i.MiningModel({MiningSchema:new i.MiningSchema({MiningField:[]}),functionName:"regression"})}},59986:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MINING_SCHEMA=void 0,t.MINING_SCHEMA='\n"MiningSchema": {\n "MiningField": [$v.elements[(name = "MiningSchema")].elements[(name = "MiningField")] ~> $map(function($v, $i) { \n $merge([\n $v.attributes,\n {\n "importance": $number($v.attributes.importance),\n "lowValue": $number($v.attributes.lowValue),\n "highValue": $number($v.attributes.highValue)\n }\n ])\n })]\n}'},17298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODEL_EXPLANATION=void 0,t.MODEL_EXPLANATION='\n "ModelExplanation": $v.elements[(name = "ModelExplanation")] ~> $map(function($v, $i) {\n $v\n})'},47761:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODEL_STATS=void 0,t.MODEL_STATS='\n "ModelStats": $v.elements[(name = "ModelStats")] ~> $map(function($v, $i) {\n $v\n})'},77855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODEL_VERIFICATION=void 0,t.MODEL_VERIFICATION='\n "ModelVerification": $v.elements[(name = "ModelVerification")] ~> $map(function($v, $i) {\n $v\n})'},15626:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.naiveBayesModelFactory=t.NAIVE_BAYES_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.NAIVE_BAYES_MODEL='\nelements.elements[(name = "NaiveBayesModel")] ~> $map(function($v, $i) {\n $merge([\n $naiveBayesModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.naiveBayesModelFactory=function(){return new i.NaiveBayesModel({MiningSchema:new i.MiningSchema({MiningField:[]}),BayesInputs:{BayesInput:[]},BayesOutput:{TargetValueCounts:{TargetValueCount:[]},fieldName:{}},threshold:0,functionName:"regression"})}},86881:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nearestNeighborModelFactory=t.NEAREST_NEIGHBOR_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.NEAREST_NEIGHBOR_MODEL='\nelements.elements[(name = "NearestNeighborModel")] ~> $map(function($v, $i) {\n $merge([\n $nearestNeighborModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.nearestNeighborModelFactory=function(){return new i.NearestNeighborModel({MiningSchema:new i.MiningSchema({MiningField:[]}),ComparisonMeasure:{kind:"distance"},KNNInputs:{KNNInput:[]},TrainingInstances:{InstanceFields:{InstanceField:[]}},functionName:"regression",numberOfNeighbors:0})}},60399:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.neuralNetworkFactory=t.NEURAL_NETWORK_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.NEURAL_NETWORK_MODEL='\nelements.elements[(name = "NeuralNetwork")] ~> $map(function($v, $i) {\n $merge([\n $neuralNetworkFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.neuralNetworkFactory=function(){return new i.NeuralNetwork({MiningSchema:new i.MiningSchema({MiningField:[]}),NeuralInputs:{NeuralInput:[]},NeuralLayer:[],functionName:"regression",activationFunction:"identity"})}},59819:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OUTPUT=void 0,t.OUTPUT='\n"Output": {\n "OutputField": [$v.elements[(name = "Output")].elements[(name = "OutputField")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n {\n "rank": $number($v.attributes.rank)\n }\n ])\n })] \n}'},10910:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regressionModelFactory=t.REGRESSION_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624),u='\n"RegressionTable": $singletonArray(\n $v.elements[(name = "RegressionTable")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n {\n "intercept": $number($v.attributes.intercept)\n },\n {\n '.concat('\n"NumericPredictor": $singletonArray(\n $v.elements[(name = "NumericPredictor")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n {\n "exponent": $number($v.attributes.exponent),\n "coefficient": $number($v.attributes.coefficient)\n }\n ])\n })\n)',",\n ").concat('\n"CategoricalPredictor": $singletonArray(\n $v.elements[(name = "CategoricalPredictor")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n {\n "coefficient": $number($v.attributes.coefficient)\n }\n ])\n })\n)',",\n ").concat('\n "PredictorTerm": $v.elements[(name = "PredictorTerm")] ~> $map(function($v, $i) {\n $v\n})',"\n }\n ])\n })\n)");t.REGRESSION_MODEL='\nelements.elements[(name = "RegressionModel")] ~> $map(function($v, $i) {\n $merge([\n $regressionModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,",\n ").concat(u,"\n }\n ])\n})"),t.regressionModelFactory=function(){return new i.RegressionModel({MiningSchema:new i.MiningSchema({MiningField:[]}),RegressionTable:[new i.RegressionTable({intercept:0})],functionName:"regression"})}},93190:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ruleSetModelFactory=t.RULE_SET_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.RULE_SET_MODEL='\nelements.elements[(name = "RuleSetModel")] ~> $map(function($v, $i) {\n $merge([\n $ruleSetModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.ruleSetModelFactory=function(){return new i.RuleSetModel({MiningSchema:new i.MiningSchema({MiningField:[]}),RuleSet:{RuleSelectionMethod:[]},functionName:"regression"})}},93297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scorecardFactory=t.SCORE_CARD=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624),u='\n{\n "Attribute": [$v.elements[(name = "Attribute")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n {\n "partialScore": $number($v.attributes.partialScore),\n "predicate": $json2uiPredicateFactory($v.elements[0]),\n '.concat('\n "ComplexPartialScore": $v.elements[(name = "ComplexPartialScore")] ~> $map(function($v, $i) {\n $v\n})'," \n }\n ])\n })]\n}"),h='\n"Characteristics": {\n "Characteristic": [$v.elements[(name = "Characteristics")].elements[(name = "Characteristic")] ~> $map(function($v, $i) {\n $merge([\n $v.attributes,\n {\n "baselineScore": $number($v.attributes.baselineScore)\n },\n '.concat(u,"\n ])\n })]\n}");t.SCORE_CARD='\nelements.elements[(name = "Scorecard")] ~> $map(function($v, $i) {\n $merge([\n $scorecardFactory(),\n $v.attributes,\n {\n "isScorable": $eval($v.attributes.isScorable),\n "useReasonCodes": $eval($v.attributes.useReasonCodes),\n "initialScore": $number($v.attributes.initialScore),\n "baselineScore": $number($v.attributes.baselineScore),\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(h,", \n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.scorecardFactory=function(){return new i.Scorecard({MiningSchema:new i.MiningSchema({MiningField:[]}),Characteristics:new i.Characteristics({Characteristic:[]}),functionName:"regression"})}},40562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceModelFactory=t.SEQUENCE_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(47761);t.SEQUENCE_MODEL='\nelements.elements[(name = "SequenceModel")] ~> $map(function($v, $i) {\n $merge([\n $sequenceModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(a.MODEL_STATS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.sequenceModelFactory=function(){return new i.SequenceModel({MiningSchema:new i.MiningSchema({MiningField:[]}),Sequence:[],minimumConfidence:0,minimumSupport:0,numberOfItems:0,numberOfRules:0,numberOfSequences:0,numberOfSets:0,functionName:"regression"})}},71979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportVectorMachineModelFactory=t.SUPPORT_VECTOR_MACHINE_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.SUPPORT_VECTOR_MACHINE_MODEL='\nelements.elements[(name = "SupportVectorMachineModel")] ~> $map(function($v, $i) {\n $merge([\n $supportVectorMachineModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.supportVectorMachineModelFactory=function(){return new i.SupportVectorMachineModel({MiningSchema:new i.MiningSchema({MiningField:[]}),SupportVectorMachine:[],VectorDictionary:{VectorFields:{}},functionName:"regression"})}},38624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TARGETS=void 0,t.TARGETS='\n "Targets": $v.elements[(name = "Targets")] ~> $map(function($v, $i) {\n $v\n})'},52958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.textModelFactory=t.TEXT_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.TEXT_MODEL='\nelements.elements[(name = "TextModel")] ~> $map(function($v, $i) {\n $merge([\n $textModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.textModelFactory=function(){return new i.TextModel({MiningSchema:new i.MiningSchema({MiningField:[]}),DocumentTermMatrix:{Matrix:{}},TextCorpus:{},TextDictionary:{},functionName:"regression",numberOfDocuments:0,numberOfTerms:0})}},28475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeSeriesModelFactory=t.TIME_SERIES_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819);t.TIME_SERIES_MODEL='\nelements.elements[(name = "TimeSeriesModel")] ~> $map(function($v, $i) {\n $merge([\n $timeSeriesModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.timeSeriesModelFactory=function(){return new i.TimeSeriesModel({MiningSchema:new i.MiningSchema({MiningField:[]}),functionName:"regression",bestFit:"ARIMA"})}},97370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.treeModelFactory=t.TREE_MODEL=void 0;var i=n(59052),o=n(37426),r=n(59986),a=n(17298),s=n(47761),l=n(77855),c=n(59819),d=n(38624);t.TREE_MODEL='\nelements.elements[(name = "TreeModel")] ~> $map(function($v, $i) {\n $merge([\n $treeModelFactory(),\n $v.attributes,\n {\n "_type": $v.name\n },\n {\n '.concat(r.MINING_SCHEMA,", \n ").concat(c.OUTPUT,",\n ").concat(s.MODEL_STATS,",\n ").concat(a.MODEL_EXPLANATION,",\n ").concat(l.MODEL_VERIFICATION,",\n ").concat(d.TARGETS,",\n ").concat(o.LOCAL_TRANSFORMATIONS,"\n }\n ])\n})"),t.treeModelFactory=function(){return new i.TreeModel({MiningSchema:new i.MiningSchema({MiningField:[]}),Node:[],functionName:"regression"})}},38742:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATA_DICTIONARY=void 0;var n='\n[\n $v.DataField ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "DataField", \n "attributes": {\n "name": $v.name,\n "displayName": $v.displayName,\n "optype": $v.optype,\n "dataType": $v.dataType,\n "taxonomy": $v.taxonomy,\n "isCyclic": $v.isCyclic\n },\n "elements": $append('.concat('\n[\n $v.Interval ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "Interval", \n "attributes": {\n "closure": $v.closure,\n "leftMargin": $v.leftMargin,\n "rightMargin": $v.rightMargin\n }\n }\n })\n]',", ").concat('\n[\n $v.Value ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "Value", \n "attributes": {\n "value": $v.value,\n "displayValue": $v.displayValue,\n "property": $v.property\n }\n }\n })\n]',")\n }\n })\n]");t.DATA_DICTIONARY='\n[\n DataDictionary ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "DataDictionary",\n "attributes": {\n "numberOfFields": DataDictionary.DataField ? $count(DataDictionary.DataField) : undefined\n },\n "elements": '.concat(n,"\n }\n })\n]")},91087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER=void 0,t.HEADER='\n[\n Header ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "Header",\n "attributes": {\n "copyright": Header.copyright, \n "description": Header.description, \n "modelVersion": Header.modelVersion\n },\n "elements": $append('.concat('\n[\n Header.Application ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "Application", \n "attributes": {\n "name": Header.Application.name,\n "version": Header.Application.version\n }\n }\n })\n]',", $append(").concat('\n[\n Header.Annotation ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "Annotation", \n "elements": [$v]\n }\n })\n]',", ").concat('\n[\n Header.Timestamp ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "Timestamp",\n "elements": [$v]\n }\n })\n]',"))\n }\n })\n]")},78983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCAL_TRANSFORMATIONS=void 0,t.LOCAL_TRANSFORMATIONS="[\n $v.LocalTransformations ~> $map(function($v, $i) {\n $v\n })\n]"},51492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MINING_SCHEMA=void 0,t.MINING_SCHEMA='\n[\n $v.MiningSchema ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "MiningSchema",\n "elements": '.concat('\n[\n $v.MiningField ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "MiningField", \n "attributes": {\n "name": $v.name,\n "usageType": $v.usageType,\n "optype": $v.optype,\n "importance": $v.importance,\n "outliers": $v.outliers,\n "lowValue": $v.lowValue,\n "highValue": $v.highValue,\n "missingValueReplacement": $v.missingValueReplacement,\n "missingValueTreatment": $v.missingValueTreatment,\n "invalidValueTreatment": $v.invalidValueTreatment,\n "invalidValueReplacement": $v.invalidValueReplacement\n },\n "elements": $append([], [])\n }\n })\n]',"\n }\n })\n]")},74371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODEL_EXPLANATION=void 0,t.MODEL_EXPLANATION="[\n $v.ModelExplanation ~> $map(function($v, $i) {\n $v\n })\n]"},79248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODEL_STATS=void 0,t.MODEL_STATS="[\n $v.ModelStats ~> $map(function($v, $i) {\n $v\n })\n]"},21909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MODEL_VERIFICATION=void 0,t.MODEL_VERIFICATION="[\n $v.ModelVerification ~> $map(function($v, $i) {\n $v\n })\n]"},90183:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OUTPUT=void 0,t.OUTPUT='[\n $v.Output ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "Output",\n "elements": '.concat('[\n $v.OutputField ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "OutputField", \n "attributes": {\n "name": $v.name,\n "displayName": $v.displayName,\n "optype": $v.optype,\n "dataType": $v.dataType,\n "targetField": $v.targetField,\n "feature": $v.feature,\n "value": $v.value,\n "ruleFeature": $v.ruleFeature,\n "algorithm": $v.algorithm,\n "rank": $v.rank,\n "rankBasis": $v.rankBasis,\n "rankOrder": RankOrder$v.rankOrder,\n "isMultiValued": $v.isMultiValued, \n "segmentId": $v.segmentId,\n "isFinalResult": $v.isFinalResult \n },\n "elements": $append([], [])\n }\n })\n]',"\n }\n })\n]")},42453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REGRESSION_MODEL=void 0;var i=n(78983),o=n(51492),r=n(74371),a=n(79248),s=n(21909),l=n(90183),c=n(25352),d='[\n $v.RegressionTable ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "RegressionTable", \n "attributes": {\n "intercept": $v.intercept,\n "targetCategory": $v.targetCategory \n },\n "elements": $append('.concat('[\n $v.NumericPredictor ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "NumericPredictor", \n "attributes": {\n "name": $v.name,\n "exponent": $v.exponent,\n "coefficient": $v.coefficient\n }\n }\n })\n]',",\n $append(").concat('[\n $v.CategoricalPredictor ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "CategoricalPredictor", \n "attributes": {\n "name": $v.name,\n "value": $v.value,\n "coefficient": $v.coefficient\n }\n }\n })\n]',",\n $append([], ").concat("[\n $v.PredictorTerm ~> $map(function($v, $i) {\n $v\n })\n]",")\n )\n )\n }\n })\n]");t.REGRESSION_MODEL='[\n models[(_type = "RegressionModel")] ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "RegressionModel",\n "attributes": {\n "modelName": $v.modelName,\n "functionName": $v.functionName,\n "algorithmName": $v.algorithmName,\n "modelType": $v.modelType,\n "targetFieldName": $v.targetFieldName,\n "normalizationMethod": $v.normalizationMethod,\n "isScorable": $v.isScorable\n },\n "elements": $append('.concat(o.MINING_SCHEMA,",\n $append(").concat(l.OUTPUT,", \n $append(").concat(d,", \n $append(").concat(a.MODEL_STATS,",\n $append(").concat(r.MODEL_EXPLANATION,",\n $append(").concat(s.MODEL_VERIFICATION,",\n $append(").concat(c.TARGETS,",\n $append([], ").concat(i.LOCAL_TRANSFORMATIONS,")\n )\n )\n )\n )\n )\n )\n )\n }\n })\n]")},81019:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCORE_CARD=void 0;var i=n(78983),o=n(51492),r=n(74371),a=n(79248),s=n(21909),l=n(90183),c=n(25352),d='\n$v.Attribute ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "Attribute",\n "attributes": {\n "reasonCode": $v.reasonCode,\n "partialScore": $v.partialScore\n },\n "elements": $append('.concat("[\n $v.predicate[] ~> $map(function($v, $i) {\n $ui2jsonPredicateFactory($v)\n })\n]",", ").concat("[\n $v.ComplexPartialScore ~> $map(function($v, $i) {\n $v\n })\n]",")\n }\n})"),u='[\n $v.Characteristic ~> $map(function($v, $i) {\n {\n "type": "element", \n "name": "Characteristic", \n "attributes": {\n "name": $v.name,\n "reasonCode": $v.reasonCode,\n "baselineScore": $v.baselineScore\n },\n "elements": $singletonArray('.concat(d,")\n }\n })\n]"),h='\n$v.Characteristics ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "Characteristics",\n "elements": $singletonArray('.concat(u,")\n }\n})");t.SCORE_CARD='[\n models[(_type = "Scorecard")] ~> $map(function($v, $i) {\n {\n "type": "element",\n "name": "Scorecard",\n "attributes": {\n "modelName": $v.modelName,\n "functionName": $v.functionName,\n "algorithmName": $v.algorithmName,\n "initialScore": $v.initialScore,\n "useReasonCodes": $v.useReasonCodes,\n "reasonCodeAlgorithm": $v.reasonCodeAlgorithm,\n "baselineScore": $v.baselineScore,\n "baselineMethod": $v.baselineMethod,\n "isScorable": $v.isScorable\n },\n "elements": $append('.concat(o.MINING_SCHEMA,", \n $append(").concat(l.OUTPUT,", \n $append(").concat(h,",\n $append(").concat(a.MODEL_STATS,",\n $append(").concat(r.MODEL_EXPLANATION,",\n $append(").concat(s.MODEL_VERIFICATION,",\n $append(").concat(c.TARGETS,",\n $append([], ").concat(i.LOCAL_TRANSFORMATIONS,")\n )\n )\n )\n )\n )\n )\n )\n }\n })\n]")},25352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TARGETS=void 0,t.TARGETS="[\n $v.Targets ~> $map(function($v, $i) {\n $v\n })\n]"},9765:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(59052),t)},59052:function(e,t){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof g&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.EmbeddedModel=t.DiscretizeBin=t.Discretize=t.DiscreteDistribution=t.DiscrStats=t.DerivedField=t.DefineFunction=t.Decisions=t.Decision=t.DataField=t.Field=t.DataDictionary=t.Counts=t.Correlations=t.CorrelationValues=t.CorrelationMethods=t.CorrelationFields=t.ContStats=t.Constant=t.ConfusionMatrix=t.CompoundPredicate=t.Predicate=t.ComplexArray=t.ComparisonMeasure=t.ComparisonField=t.ClusteringModelQuality=t.ClassLabels=t.CityBlock=t.ChildParent=t.Chebychev=t.Distance=t.Cell=t.BoundaryValues=t.BoundaryValueMeans=t.BlockIndicator=t.BinarySimilarity=t.Similarity=t.Measure=t.Array=t.Apply=t.Application=t.AnyDistribution=t.ContinuousDistribution=t.Distribution=t.AnovaRow=t.Anova=t.Annotation=t.Aggregate=t.Expression=t.PMMLObject=void 0,t.RealSparseArray=t.RandomLiftGraph=t.ROCGraph=t.ROC=t.Quantile=t.PredictiveModelQuality=t.PoissonDistribution=t.PartitionFieldStats=t.Partition=t.ParameterField=t.PMML=t.OutputField=t.Output=t.OptimumLiftGraph=t.NumericInfo=t.NormDiscrete=t.NormContinuous=t.MultivariateStats=t.MultivariateStat=t.ModelVerification=t.ModelStats=t.ModelLiftGraph=t.ModelExplanation=t.Model=t.Minkowski=t.MiningSchema=t.MiningField=t.MiningBuildTask=t.Matrix=t.MatCell=t.MapValues=t.LocalTransformations=t.LinearNorm=t.LiftGraph=t.LiftData=t.Lag=t.Jaccard=t.Interval=t.IntSparseArray=t.SparseArray=t.InlineTable=t.Header=t.GaussianDistribution=t.FieldRef=t.FieldName=t.FieldColumnPair=t.False=t.Extension=t.Euclidean=t.Entity=void 0,t.NormalDistribution=t.Mean=t.Lower=t.LognormalDistribution=t.DiscreteNode=t.DiscreteConditionalProbability=t.ContinuousNode=t.BayesianContinuousDistribution=t.ContinuousConditionalProbability=t.BayesianNetworkNodes=t.BayesianNetworkModel=t.TestDistributions=t.FieldValueCount=t.FieldValue=t.CountTable=t.BaselineModel=t.Baseline=t.Alternate=t.Itemset=t.ItemRef=t.Item=t.AssociationRule=t.AssociationModel=t.MeanClusterDistances=t.AnomalyDetectionModel=t.YCoordinates=t.XCoordinates=t.VerificationFields=t.VerificationField=t.Value=t.UnivariateStats=t.UniformDistribution=t.True=t.TransformationDictionary=t.Timestamp=t.TextIndexNormalization=t.TextIndex=t.Taxonomy=t.Targets=t.TargetValue=t.Target=t.Tanimoto=t.TableLocator=t.SquaredEuclidean=t.SimpleSetPredicate=t.SimplePredicate=t.SimpleMatching=t.ScoreDistribution=t.Row=t.ResultField=void 0,t.TargetValueCount=t.PairCounts=t.NaiveBayesModel=t.BayesOutput=t.BayesInputs=t.BayesInput=t.VariableWeight=t.Segmentation=t.Segment=t.MiningModel=t.Predictor=t.ParameterList=t.Parameter=t.ParamMatrix=t.PPMatrix=t.PPCell=t.PCovMatrix=t.PCovCell=t.PCell=t.ParameterCell=t.GeneralRegressionModel=t.FactorList=t.EventValues=t.CovariateList=t.PredictorList=t.Category=t.Categories=t.BaselineStratum=t.BaselineCell=t.BaseCumHazardTables=t.GaussianRadialBasisKernel=t.Lambda=t.GeneralizedExponentialKernel=t.GaussianProcessModel=t.AbsoluteExponentialKernel=t.ARDSquaredExponentialKernel=t.MissingValueWeights=t.KohonenMap=t.Covariances=t.Comparisons=t.ClusteringModel=t.ClusteringField=t.Cluster=t.CenterFields=t.Variance=t.ValueProbability=t.Upper=t.BayesianUniformDistribution=t.TriangularDistribution=t.ParentValue=void 0,t.Kernel=t.Coefficients=t.Coefficient=t.Time=t.SetReference=t.SetPredicate=t.SequenceRule=t.SequenceReference=t.SequenceModel=t.Sequence=t.Delimiter=t.Constraints=t.ConsequentSequence=t.AntecedentSequence=t.Scorecard=t.ComplexPartialScore=t.Characteristics=t.Characteristic=t.Attribute=t.SimpleRule=t.RuleSetModel=t.RuleSet=t.RuleSelectionMethod=t.CompoundRule=t.Rule=t.RegressionTable=t.RegressionModel=t.Regression=t.PredictorTerm=t.NumericPredictor=t.CategoricalPredictor=t.Term=t.Neuron=t.NeuralOutputs=t.NeuralOutput=t.NeuralNetwork=t.NeuralLayer=t.NeuralInputs=t.NeuralInput=t.NeuralEntity=t.Connection=t.TrainingInstances=t.NearestNeighborModel=t.KNNInputs=t.KNNInput=t.InstanceFields=t.InstanceField=t.TargetValueStats=t.TargetValueStat=t.TargetValueCounts=void 0,t.SeasonalComponent=t.Residuals=t.ResidualSquareCoefficients=t.RegressorValues=t.PsiVector=t.PastVariances=t.OutlierEffect=t.Numerator=t.NonseasonalFactor=t.NonseasonalComponent=t.MeasurementMatrix=t.MaximumLikelihoodStat=t.MACoefficients=t.MA=t.Level=t.KalmanState=t.HVector=t.GARCHPart=t.GARCH=t.FinalTheta=t.FinalStateVector=t.FinalPredictedNoise=t.FinalOmega=t.FinalNu=t.FinalNoise=t.ExponentialSmoothing=t.DynamicRegressor=t.Denominator=t.ARMAPart=t.ARIMA=t.TimeSeriesAlgorithm=t.AR=t.TextModelSimiliarity=t.TextModelNormalization=t.TextModel=t.TextDocument=t.TextDictionary=t.TextCorpus=t.DocumentTermMatrix=t.VectorInstance=t.VectorFields=t.VectorDictionary=t.SupportVectors=t.SupportVectorMachineModel=t.SupportVectorMachine=t.SupportVector=t.SigmoidKernel=t.VectorMachineRadialBasisKernel=t.PolynomialKernel=t.LinearKernel=void 0,t.TreeModel=t.SimplifyingNodeTransformer=t.DecisionTree=t.CountingLeafNode=t.LeafNode=t.CountingBranchNode=t.ComplexNode=t.ClassifierNode=t.BranchNode=t.SimpleNode=t.Node=t.VarianceCoefficients=t.TrendExpoSmooth=t.TrendCoefficients=t.TransitionMatrix=t.TransferFunctionValues=t.TimeValue=t.TimeSeriesModel=t.TimeSeries=t.TimeException=t.TimeCycle=t.TimeAnchor=t.ThetaRecursionState=t.Theta=t.StateVector=t.StateSpaceModel=t.SpectralAnalysis=t.SeasonalityExpoSmooth=t.SeasonalTrendDecomposition=t.SeasonalFactor=void 0;var o=function(e){};t.PMMLObject=o;var r=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Expression=r;var a=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.function=t.function,n.groupField=t.groupField,n.sqlWhere=t.sqlWhere,n}return i(t,e),t}(r);t.Aggregate=a;var s=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(o);t.Annotation=s;var l=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.AnovaRow=t.AnovaRow,n.target=t.target,n}return i(t,e),t}(o);t.Anova=l;var c=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.type=t.type,n.sumOfSquares=t.sumOfSquares,n.degreesOfFreedom=t.degreesOfFreedom,n.meanOfSquares=t.meanOfSquares,n.fValue=t.fValue,n.pValue=t.pValue,n}return i(t,e),t}(o);t.AnovaRow=c;var d=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Distribution=d;var u=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(d);t.ContinuousDistribution=u;var h=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.mean=t.mean,n.variance=t.variance,n}return i(t,e),t}(u);t.AnyDistribution=h;var p=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.version=t.version,n}return i(t,e),t}(o);t.Application=p;var f=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expressions=t.expressions,n.function=t.function,n.mapMissingTo=t.mapMissingTo,n.defaultValue=t.defaultValue,n.invalidValueTreatment=t.invalidValueTreatment,n}return i(t,e),t}(r);t.Apply=f;var g=function(e){function t(t){var n=e.call(this,t)||this;return n.value=t.value,n.n=t.n,n.type=t.type,n}return i(t,e),t}(o);t.Array=g;var m=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Measure=m;var v=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(m);t.Similarity=v;var b=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n["c00-parameter"]=t["c00-parameter"],n["c01-parameter"]=t["c01-parameter"],n["c10-parameter"]=t["c10-parameter"],n["c11-parameter"]=t["c11-parameter"],n["d00-parameter"]=t["d00-parameter"],n["d01-parameter"]=t["d01-parameter"],n["d10-parameter"]=t["d10-parameter"],n["d11-parameter"]=t["d11-parameter"],n}return i(t,e),t}(v);t.BinarySimilarity=b;var _=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n}return i(t,e),t}(o);t.BlockIndicator=_;var y=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.BoundaryValueMeans=y;var A=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.BoundaryValues=A;var w=function(e){function t(t){var n=e.call(this,t)||this;return n.value=t.value,n}return i(t,e),t}(o);t.Cell=w;var C=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(m);t.Distance=C;var x=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(C);t.Chebychev=x;var S=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.FieldColumnPair=t.FieldColumnPair,n.TableLocator=t.TableLocator,n.InlineTable=t.InlineTable,n.childField=t.childField,n.parentField=t.parentField,n.parentLevelField=t.parentLevelField,n.isRecursive=t.isRecursive,n}return i(t,e),t}(o);t.ChildParent=S;var E=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(C);t.CityBlock=E;var k=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.ClassLabels=k;var M=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.dataName=t.dataName,n.SSE=t.SSE,n.SSB=t.SSB,n}return i(t,e),t}(o);t.ClusteringModelQuality=M;var D=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.ComparisonField=D;var N=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.measure=t.measure,n.kind=t.kind,n.compareFunction=t.compareFunction,n.minimum=t.minimum,n.maximum=t.maximum,n}return i(t,e),t}(o);t.ComparisonMeasure=N;var I=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(g);t.ComplexArray=I;var T=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Predicate=T;var L=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.predicates=t.predicates,n.booleanOperator=t.booleanOperator,n}return i(t,e),t}(T);t.CompoundPredicate=L;var B=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ClassLabels=t.ClassLabels,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.ConfusionMatrix=B;var O=function(e){function t(t){var n=e.call(this,t)||this;return n.value=t.value,n.dataType=t.dataType,n.missing=t.missing,n}return i(t,e),t}(r);t.Constant=O;var P=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Interval=t.Interval,n.Array=t.Array,n.totalValuesSum=t.totalValuesSum,n.totalSquaresSum=t.totalSquaresSum,n}return i(t,e),t}(o);t.ContStats=P;var F=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.CorrelationFields=F;var R=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.CorrelationMethods=R;var j=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.CorrelationValues=j;var z=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.CorrelationFields=t.CorrelationFields,n.CorrelationValues=t.CorrelationValues,n.CorrelationMethods=t.CorrelationMethods,n}return i(t,e),t}(o);t.Correlations=z;var V=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.totalFreq=t.totalFreq,n.missingFreq=t.missingFreq,n.invalidFreq=t.invalidFreq,n.cardinality=t.cardinality,n}return i(t,e),t}(o);t.Counts=V;var W=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DataField=t.DataField,n.Taxonomy=t.Taxonomy,n.numberOfFields=t.numberOfFields,n}return i(t,e),t}(o);t.DataDictionary=W;var H=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Field=H;var U=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Interval=t.Interval,n.Value=t.Value,n.name=t.name,n.displayName=t.displayName,n.optype=t.optype,n.dataType=t.dataType,n.taxonomy=t.taxonomy,n.isCyclic=t.isCyclic,n}return i(t,e),t}(H);t.DataField=U;var Q=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n.displayValue=t.displayValue,n.description=t.description,n}return i(t,e),t}(o);t.Decision=Q;var G=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Decision=t.Decision,n.businessProblem=t.businessProblem,n.description=t.description,n}return i(t,e),t}(o);t.Decisions=G;var K=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ParameterField=t.ParameterField,n.expression=t.expression,n.name=t.name,n.optype=t.optype,n.dataType=t.dataType,n}return i(t,e),t}(o);t.DefineFunction=K;var Y=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expression=t.expression,n.Interval=t.Interval,n.Value=t.Value,n.name=t.name,n.displayName=t.displayName,n.optype=t.optype,n.dataType=t.dataType,n}return i(t,e),t}(H);t.DerivedField=Y;var $=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n.modalValue=t.modalValue,n}return i(t,e),t}(o);t.DiscrStats=$;var J=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(d);t.DiscreteDistribution=J;var q=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DiscretizeBin=t.DiscretizeBin,n.field=t.field,n.mapMissingTo=t.mapMissingTo,n.defaultValue=t.defaultValue,n.dataType=t.dataType,n}return i(t,e),t}(r);t.Discretize=q;var Z=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Interval=t.Interval,n.binValue=t.binValue,n}return i(t,e),t}(o);t.DiscretizeBin=Z;var X=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.EmbeddedModel=X;var ee=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Entity=ee;var te=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(C);t.Euclidean=te;var ne=function(e){function t(t){var n=e.call(this,t)||this;return n.content=t.content,n.extender=t.extender,n.name=t.name,n.value=t.value,n}return i(t,e),t}(o);t.Extension=ne;var ie=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(T);t.False=ie;var oe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.column=t.column,n}return i(t,e),t}(o);t.FieldColumnPair=oe;t.FieldName=function(e){this.value=e.value};var re=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.mapMissingTo=t.mapMissingTo,n}return i(t,e),t}(r);t.FieldRef=re;var ae=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.mean=t.mean,n.variance=t.variance,n}return i(t,e),t}(u);t.GaussianDistribution=ae;var se=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Application=t.Application,n.Annotation=t.Annotation,n.Timestamp=t.Timestamp,n.copyright=t.copyright,n.description=t.description,n.modelVersion=t.modelVersion,n}return i(t,e),t}(o);t.Header=se;var le=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.row=t.row,n}return i(t,e),t}(o);t.InlineTable=le;var ce=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.SparseArray=ce;var de=function(e){function t(t){var n=e.call(this,t)||this;return n.Indices=t.Indices,n["INT-Entries"]=t["INT-Entries"],n.n=t.n,n.defaultValue=t.defaultValue,n}return i(t,e),t}(ce);t.IntSparseArray=de;var ue=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.closure=t.closure,n.leftMargin=t.leftMargin,n.rightMargin=t.rightMargin,n}return i(t,e),t}(o);t.Interval=ue;var he=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(v);t.Jaccard=he;var pe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.BlockIndicator=t.BlockIndicator,n.field=t.field,n.n=t.n,n.aggregate=t.aggregate,n}return i(t,e),t}(r);t.Lag=pe;var fe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ModelLiftGraph=t.ModelLiftGraph,n.OptimumLiftGraph=t.OptimumLiftGraph,n.RandomLiftGraph=t.RandomLiftGraph,n.targetFieldValue=t.targetFieldValue,n.targetFieldDisplayValue=t.targetFieldDisplayValue,n.rankingQuality=t.rankingQuality,n}return i(t,e),t}(o);t.LiftData=fe;var ge=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.XCoordinates=t.XCoordinates,n.YCoordinates=t.YCoordinates,n.BoundaryValues=t.BoundaryValues,n.BoundaryValueMeans=t.BoundaryValueMeans,n}return i(t,e),t}(o);t.LiftGraph=ge;var me=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.orig=t.orig,n.norm=t.norm,n}return i(t,e),t}(o);t.LinearNorm=me;var ve=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DerivedField=t.DerivedField,n}return i(t,e),t}(o);t.LocalTransformations=ve;var be=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.FieldColumnPair=t.FieldColumnPair,n.TableLocator=t.TableLocator,n.InlineTable=t.InlineTable,n.mapMissingTo=t.mapMissingTo,n.defaultValue=t.defaultValue,n.outputColumn=t.outputColumn,n.dataType=t.dataType,n}return i(t,e),t}(r);t.MapValues=be;var _e=function(e){function t(t){var n=e.call(this,t)||this;return n.value=t.value,n.row=t.row,n.col=t.col,n}return i(t,e),t}(o);t.MatCell=_e;var ye=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n.MatCell=t.MatCell,n.kind=t.kind,n.nbRows=t.nbRows,n.nbCols=t.nbCols,n.diagDefault=t.diagDefault,n.offDiagDefault=t.offDiagDefault,n}return i(t,e),t}(o);t.Matrix=ye;var Ae=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(o);t.MiningBuildTask=Ae;var we=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.usageType=t.usageType,n.optype=t.optype,n.importance=t.importance,n.outliers=t.outliers,n.lowValue=t.lowValue,n.highValue=t.highValue,n.missingValueReplacement=t.missingValueReplacement,n.missingValueTreatment=t.missingValueTreatment,n.invalidValueTreatment=t.invalidValueTreatment,n.invalidValueReplacement=t.invalidValueReplacement,n}return i(t,e),t}(o);t.MiningField=we;var Ce=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningField=t.MiningField,n}return i(t,e),t}(o);t.MiningSchema=Ce;var xe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n["p-parameter"]=t["p-parameter"],n}return i(t,e),t}(C);t.Minkowski=xe;var Se=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Model=Se;var Ee=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.PredictiveModelQuality=t.PredictiveModelQuality,n.ClusteringModelQuality=t.ClusteringModelQuality,n.Correlations=t.Correlations,n}return i(t,e),t}(o);t.ModelExplanation=Ee;var ke=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.LiftGraph=t.LiftGraph,n}return i(t,e),t}(o);t.ModelLiftGraph=ke;var Me=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.UnivariateStats=t.UnivariateStats,n.MultivariateStats=t.MultivariateStats,n}return i(t,e),t}(o);t.ModelStats=Me;var De=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.VerificationFields=t.VerificationFields,n.InlineTable=t.InlineTable,n.recordCount=t.recordCount,n.fieldCount=t.fieldCount,n}return i(t,e),t}(o);t.ModelVerification=De;var Ne=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.category=t.category,n.exponent=t.exponent,n.isIntercept=t.isIntercept,n.importance=t.importance,n.stdError=t.stdError,n.tValue=t.tValue,n.chiSquareValue=t.chiSquareValue,n.fStatistic=t.fStatistic,n.dF=t.dF,n.pValueAlpha=t.pValueAlpha,n.pValueInitial=t.pValueInitial,n.pValueFinal=t.pValueFinal,n.confidenceLevel=t.confidenceLevel,n.confidenceLowerBound=t.confidenceLowerBound,n.confidenceUpperBound=t.confidenceUpperBound,n}return i(t,e),t}(o);t.MultivariateStat=Ne;var Ie=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MultivariateStat=t.MultivariateStat,n.targetCategory=t.targetCategory,n}return i(t,e),t}(o);t.MultivariateStats=Ie;var Te=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.LinearNorm=t.LinearNorm,n.mapMissingTo=t.mapMissingTo,n.field=t.field,n.outliers=t.outliers,n}return i(t,e),t}(r);t.NormContinuous=Te;var Le=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.method=t.method,n.value=t.value,n.mapMissingTo=t.mapMissingTo,n}return i(t,e),t}(r);t.NormDiscrete=Le;var Be=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Quantile=t.Quantile,n.minimum=t.minimum,n.maximum=t.maximum,n.mean=t.mean,n.standardDeviation=t.standardDeviation,n.median=t.median,n.interQuartileRange=t.interQuartileRange,n}return i(t,e),t}(o);t.NumericInfo=Be;var Oe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.LiftGraph=t.LiftGraph,n}return i(t,e),t}(o);t.OptimumLiftGraph=Oe;var Pe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.OutputField=t.OutputField,n}return i(t,e),t}(o);t.Output=Pe;var Fe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Decisions=t.Decisions,n.expression=t.expression,n.Value=t.Value,n.name=t.name,n.displayName=t.displayName,n.optype=t.optype,n.dataType=t.dataType,n.targetField=t.targetField,n["x-reportField"]=t["x-reportField"],n.feature=t.feature,n.value=t.value,n.ruleFeature=t.ruleFeature,n.algorithm=t.algorithm,n.rank=t.rank,n.rankBasis=t.rankBasis,n.rankOrder=t.rankOrder,n.isMultiValued=t.isMultiValued,n.segmentId=t.segmentId,n.isFinalResult=t.isFinalResult,n}return i(t,e),t}(H);t.OutputField=Fe;var Re=function(e){function t(t){var n=e.call(this,t)||this;return n.Header=t.Header,n.MiningBuildTask=t.MiningBuildTask,n.DataDictionary=t.DataDictionary,n.TransformationDictionary=t.TransformationDictionary,n.models=t.models,n.Extension=t.Extension,n.version=t.version,n["x-baseVersion"]=t["x-baseVersion"],n}return i(t,e),t}(o);t.PMML=Re;var je=function(e){function t(t){var n=e.call(this,t)||this;return n.name=t.name,n.optype=t.optype,n.dataType=t.dataType,n.displayName=t.displayName,n}return i(t,e),t}(H);t.ParameterField=je;var ze=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.PartitionFieldStats=t.PartitionFieldStats,n.name=t.name,n.size=t.size,n}return i(t,e),t}(o);t.Partition=ze;var Ve=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Counts=t.Counts,n.NumericInfo=t.NumericInfo,n.Array=t.Array,n.field=t.field,n.weighted=t.weighted,n}return i(t,e),t}(o);t.PartitionFieldStats=Ve;var We=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.mean=t.mean,n}return i(t,e),t}(u);t.PoissonDistribution=We;var He=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ConfusionMatrix=t.ConfusionMatrix,n.LiftData=t.LiftData,n.ROC=t.ROC,n.targetField=t.targetField,n.dataName=t.dataName,n.dataUsage=t.dataUsage,n.meanError=t.meanError,n.meanAbsoluteError=t.meanAbsoluteError,n.meanSquaredError=t.meanSquaredError,n.rootMeanSquaredError=t.rootMeanSquaredError,n["r-squared"]=t["r-squared"],n["adj-r-squared"]=t["adj-r-squared"],n.sumSquaredError=t.sumSquaredError,n.sumSquaredRegression=t.sumSquaredRegression,n.numOfRecords=t.numOfRecords,n.numOfRecordsWeighted=t.numOfRecordsWeighted,n.numOfPredictors=t.numOfPredictors,n.degreesOfFreedom=t.degreesOfFreedom,n.fStatistic=t.fStatistic,n.AIC=t.AIC,n.BIC=t.BIC,n.AICc=t.AICc,n}return i(t,e),t}(o);t.PredictiveModelQuality=He;var Ue=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.quantileLimit=t.quantileLimit,n.quantileValue=t.quantileValue,n}return i(t,e),t}(o);t.Quantile=Ue;var Qe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ROCGraph=t.ROCGraph,n.positiveTargetFieldValue=t.positiveTargetFieldValue,n.positiveTargetFieldDisplayValue=t.positiveTargetFieldDisplayValue,n.negativeTargetFieldValue=t.negativeTargetFieldValue,n.negativeTargetFieldDisplayValue=t.negativeTargetFieldDisplayValue,n}return i(t,e),t}(o);t.ROC=Qe;var Ge=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.XCoordinates=t.XCoordinates,n.YCoordinates=t.YCoordinates,n.BoundaryValues=t.BoundaryValues,n}return i(t,e),t}(o);t.ROCGraph=Ge;var Ke=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.LiftGraph=t.LiftGraph,n}return i(t,e),t}(o);t.RandomLiftGraph=Ke;var Ye=function(e){function t(t){var n=e.call(this,t)||this;return n.Indices=t.Indices,n["REAL-Entries"]=t["REAL-Entries"],n.n=t.n,n.defaultValue=t.defaultValue,n}return i(t,e),t}(ce);t.RealSparseArray=Ye;var $e=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.displayName=t.displayName,n.optype=t.optype,n.dataType=t.dataType,n.feature=t.feature,n.value=t.value,n}return i(t,e),t}(H);t.ResultField=$e;var Je=function(e){function t(t){var n=e.call(this,t)||this;return n.content=t.content,n}return i(t,e),t}(o);t.Row=Je;var qe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n.recordCount=t.recordCount,n.confidence=t.confidence,n.probability=t.probability,n}return i(t,e),t}(o);t.ScoreDistribution=qe;var Ze=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(v);t.SimpleMatching=Ze;var Xe=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.operator=t.operator,n.value=t.value,n}return i(t,e),t}(T);t.SimplePredicate=Xe;var et=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n.field=t.field,n.booleanOperator=t.booleanOperator,n}return i(t,e),t}(T);t.SimpleSetPredicate=et;var tt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(C);t.SquaredEuclidean=tt;var nt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(o);t.TableLocator=nt;var it=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(v);t.Tanimoto=it;var ot=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TargetValue=t.TargetValue,n.field=t.field,n.optype=t.optype,n.castInteger=t.castInteger,n.min=t.min,n.max=t.max,n.rescaleConstant=t.rescaleConstant,n.rescaleFactor=t.rescaleFactor,n}return i(t,e),t}(o);t.Target=ot;var rt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Partition=t.Partition,n.value=t.value,n.displayValue=t.displayValue,n.priorProbability=t.priorProbability,n.defaultValue=t.defaultValue,n}return i(t,e),t}(o);t.TargetValue=rt;var at=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Target=t.Target,n}return i(t,e),t}(o);t.Targets=at;var st=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ChildParent=t.ChildParent,n.name=t.name,n}return i(t,e),t}(o);t.Taxonomy=st;var lt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TextIndexNormalization=t.TextIndexNormalization,n.expression=t.expression,n.textField=t.textField,n.localTermWeights=t.localTermWeights,n.isCaseSensitive=t.isCaseSensitive,n.maxLevenshteinDistance=t.maxLevenshteinDistance,n.countHits=t.countHits,n.wordSeparatorCharacterRE=t.wordSeparatorCharacterRE,n.tokenize=t.tokenize,n}return i(t,e),t}(r);t.TextIndex=lt;var ct=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TableLocator=t.TableLocator,n.InlineTable=t.InlineTable,n.inField=t.inField,n.outField=t.outField,n.regexField=t.regexField,n.recursive=t.recursive,n.isCaseSensitive=t.isCaseSensitive,n.maxLevenshteinDistance=t.maxLevenshteinDistance,n.wordSeparatorCharacterRE=t.wordSeparatorCharacterRE,n.tokenize=t.tokenize,n}return i(t,e),t}(o);t.TextIndexNormalization=ct;var dt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(o);t.Timestamp=dt;var ut=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DefineFunction=t.DefineFunction,n.DerivedField=t.DerivedField,n}return i(t,e),t}(o);t.TransformationDictionary=ut;var ht=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n}return i(t,e),t}(T);t.True=ht;var pt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.lower=t.lower,n.upper=t.upper,n}return i(t,e),t}(u);t.UniformDistribution=pt;var ft=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Counts=t.Counts,n.NumericInfo=t.NumericInfo,n.DiscrStats=t.DiscrStats,n.ContStats=t.ContStats,n.Anova=t.Anova,n.field=t.field,n.weighted=t.weighted,n}return i(t,e),t}(o);t.UnivariateStats=ft;var gt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n.displayValue=t.displayValue,n.property=t.property,n}return i(t,e),t}(o);t.Value=gt;var mt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.column=t.column,n.precision=t.precision,n.zeroThreshold=t.zeroThreshold,n}return i(t,e),t}(o);t.VerificationField=mt;var vt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.VerificationField=t.VerificationField,n}return i(t,e),t}(o);t.VerificationFields=vt;var bt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.XCoordinates=bt;var _t=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.YCoordinates=_t;var yt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.LocalTransformations=t.LocalTransformations,n.ModelVerification=t.ModelVerification,n.model=t.model,n.MeanClusterDistances=t.MeanClusterDistances,n.modelName=t.modelName,n.algorithmName=t.algorithmName,n.functionName=t.functionName,n.algorithmType=t.algorithmType,n.sampleDataSize=t.sampleDataSize,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.AnomalyDetectionModel=yt;var At=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.MeanClusterDistances=At;var wt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.LocalTransformations=t.LocalTransformations,n.Item=t.Item,n.Itemset=t.Itemset,n.AssociationRule=t.AssociationRule,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.numberOfTransactions=t.numberOfTransactions,n.maxNumberOfItemsPerTA=t.maxNumberOfItemsPerTA,n.avgNumberOfItemsPerTA=t.avgNumberOfItemsPerTA,n.minimumSupport=t.minimumSupport,n.minimumConfidence=t.minimumConfidence,n.lengthLimit=t.lengthLimit,n.numberOfItems=t.numberOfItems,n.numberOfItemsets=t.numberOfItemsets,n.numberOfRules=t.numberOfRules,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.AssociationModel=wt;var Ct=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.antecedent=t.antecedent,n.consequent=t.consequent,n.support=t.support,n.confidence=t.confidence,n.lift=t.lift,n.leverage=t.leverage,n.affinity=t.affinity,n.id=t.id,n}return i(t,e),t}(ee);t.AssociationRule=Ct;var xt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.id=t.id,n.value=t.value,n.field=t.field,n.category=t.category,n.mappedValue=t.mappedValue,n.weight=t.weight,n}return i(t,e),t}(o);t.Item=xt;var St=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.itemRef=t.itemRef,n}return i(t,e),t}(o);t.ItemRef=St;var Et=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ItemRef=t.ItemRef,n.id=t.id,n.support=t.support,n.numberOfItems=t.numberOfItems,n}return i(t,e),t}(o);t.Itemset=Et;var kt=function(e){function t(t){var n=e.call(this,t)||this;return n.continuousDistribution=t.continuousDistribution,n}return i(t,e),t}(o);t.Alternate=kt;var Mt=function(e){function t(t){var n=e.call(this,t)||this;return n.continuousDistribution=t.continuousDistribution,n.CountTable=t.CountTable,n.NormalizedCountTable=t.NormalizedCountTable,n.FieldRef=t.FieldRef,n}return i(t,e),t}(o);t.Baseline=Mt;var Dt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.TestDistributions=t.TestDistributions,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.BaselineModel=Dt;var Nt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.FieldValue=t.FieldValue,n.FieldValueCount=t.FieldValueCount,n.sample=t.sample,n}return i(t,e),t}(J);t.CountTable=Nt;var It=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.FieldValue=t.FieldValue,n.FieldValueCount=t.FieldValueCount,n.field=t.field,n.value=t.value,n}return i(t,e),t}(o);t.FieldValue=It;var Tt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.value=t.value,n.count=t.count,n}return i(t,e),t}(o);t.FieldValueCount=Tt;var Lt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Baseline=t.Baseline,n.Alternate=t.Alternate,n.field=t.field,n.testStatistic=t.testStatistic,n.resetValue=t.resetValue,n.windowSize=t.windowSize,n.weightField=t.weightField,n.normalizationScheme=t.normalizationScheme,n}return i(t,e),t}(o);t.TestDistributions=Lt;var Bt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.BayesianNetworkNodes=t.BayesianNetworkNodes,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.modelType=t.modelType,n.inferenceMethod=t.inferenceMethod,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.BayesianNetworkModel=Bt;var Ot=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.content=t.content,n}return i(t,e),t}(o);t.BayesianNetworkNodes=Ot;var Pt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ParentValue=t.ParentValue,n.ContinuousDistribution=t.ContinuousDistribution,n.count=t.count,n}return i(t,e),t}(o);t.ContinuousConditionalProbability=Pt;var Ft=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TriangularDistributionForBN=t.TriangularDistributionForBN,n.NormalDistributionForBN=t.NormalDistributionForBN,n.LognormalDistributionForBN=t.LognormalDistributionForBN,n.UniformDistributionForBN=t.UniformDistributionForBN,n}return i(t,e),t}(o);t.BayesianContinuousDistribution=Ft;var Rt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DerivedField=t.DerivedField,n.content=t.content,n.name=t.name,n.count=t.count,n}return i(t,e),t}(o);t.ContinuousNode=Rt;var jt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ParentValue=t.ParentValue,n.ValueProbability=t.ValueProbability,n.count=t.count,n}return i(t,e),t}(o);t.DiscreteConditionalProbability=jt;var zt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DerivedField=t.DerivedField,n.content=t.content,n.name=t.name,n.count=t.count,n}return i(t,e),t}(o);t.DiscreteNode=zt;var Vt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Mean=t.Mean,n.Variance=t.Variance,n}return i(t,e),t}(o);t.LognormalDistribution=Vt;var Wt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expression=t.expression,n}return i(t,e),t}(o);t.Lower=Wt;var Ht=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expression=t.expression,n}return i(t,e),t}(o);t.Mean=Ht;var Ut=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Mean=t.Mean,n.Variance=t.Variance,n}return i(t,e),t}(o);t.NormalDistribution=Ut;var Qt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.parent=t.parent,n.value=t.value,n}return i(t,e),t}(o);t.ParentValue=Qt;var Gt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Mean=t.Mean,n.Lower=t.Lower,n.Upper=t.Upper,n}return i(t,e),t}(o);t.TriangularDistribution=Gt;var Kt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Lower=t.Lower,n.Upper=t.Upper,n}return i(t,e),t}(o);t.BayesianUniformDistribution=Kt;var Yt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expression=t.expression,n}return i(t,e),t}(o);t.Upper=Yt;var $t=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n.probability=t.probability,n}return i(t,e),t}(o);t.ValueProbability=$t;var Jt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expression=t.expression,n}return i(t,e),t}(o);t.Variance=Jt;var qt=function(e){function t(t){var n=e.call(this,t)||this;return n.DerivedField=t.DerivedField,n}return i(t,e),t}(o);t.CenterFields=qt;var Zt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.KohonenMap=t.KohonenMap,n.Array=t.Array,n.Partition=t.Partition,n.Covariances=t.Covariances,n.id=t.id,n.name=t.name,n.size=t.size,n}return i(t,e),t}(ee);t.Cluster=Zt;var Xt=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Comparisons=t.Comparisons,n.field=t.field,n.isCenterField=t.isCenterField,n.fieldWeight=t.fieldWeight,n.similarityScale=t.similarityScale,n.compareFunction=t.compareFunction,n}return i(t,e),t}(D);t.ClusteringField=Xt;var en=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.LocalTransformations=t.LocalTransformations,n.ComparisonMeasure=t.ComparisonMeasure,n.ClusteringField=t.ClusteringField,n.CenterFields=t.CenterFields,n.MissingValueWeights=t.MissingValueWeights,n.Cluster=t.Cluster,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.modelClass=t.modelClass,n.numberOfClusters=t.numberOfClusters,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.ClusteringModel=en;var tn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.Comparisons=tn;var nn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.Covariances=nn;var on=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.coord1=t.coord1,n.coord2=t.coord2,n.coord3=t.coord3,n}return i(t,e),t}(o);t.KohonenMap=on;var rn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.MissingValueWeights=rn;var an=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Lambda=t.Lambda,n.description=t.description,n.gamma=t.gamma,n.noiseVariance=t.noiseVariance,n}return i(t,e),t}(o);t.ARDSquaredExponentialKernel=an;var sn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Lambda=t.Lambda,n.description=t.description,n.gamma=t.gamma,n.noiseVariance=t.noiseVariance,n}return i(t,e),t}(o);t.AbsoluteExponentialKernel=sn;var ln=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.RadialBasisKernel=t.RadialBasisKernel,n.ARDSquaredExponentialKernel=t.ARDSquaredExponentialKernel,n.AbsoluteExponentialKernel=t.AbsoluteExponentialKernel,n.GeneralizedExponentialKernel=t.GeneralizedExponentialKernel,n.TrainingInstances=t.TrainingInstances,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.optimizer=t.optimizer,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.GaussianProcessModel=ln;var cn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Lambda=t.Lambda,n.description=t.description,n.gamma=t.gamma,n.noiseVariance=t.noiseVariance,n.degree=t.degree,n}return i(t,e),t}(o);t.GeneralizedExponentialKernel=cn;var dn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.Lambda=dn;var un=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.description=t.description,n.gamma=t.gamma,n.noiseVariance=t.noiseVariance,n.lambda=t.lambda,n}return i(t,e),t}(o);t.GaussianRadialBasisKernel=un;var hn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.BaselineStratum=t.BaselineStratum,n.BaselineCell=t.BaselineCell,n.maxTime=t.maxTime,n}return i(t,e),t}(o);t.BaseCumHazardTables=hn;var pn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.time=t.time,n.cumHazard=t.cumHazard,n}return i(t,e),t}(o);t.BaselineCell=pn;var fn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.BaselineCell=t.BaselineCell,n.value=t.value,n.label=t.label,n.maxTime=t.maxTime,n}return i(t,e),t}(o);t.BaselineStratum=fn;var gn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Category=t.Category,n}return i(t,e),t}(o);t.Categories=gn;var mn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n}return i(t,e),t}(o);t.Category=mn;var vn=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.PredictorList=vn;var bn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Predictor=t.Predictor,n}return i(t,e),t}(vn);t.CovariateList=bn;var _n=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Value=t.Value,n.Interval=t.Interval,n}return i(t,e),t}(o);t.EventValues=_n;var yn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Predictor=t.Predictor,n}return i(t,e),t}(vn);t.FactorList=yn;var An=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.ParameterList=t.ParameterList,n.FactorList=t.FactorList,n.CovariateList=t.CovariateList,n.PPMatrix=t.PPMatrix,n.PCovMatrix=t.PCovMatrix,n.ParamMatrix=t.ParamMatrix,n.EventValues=t.EventValues,n.BaseCumHazardTables=t.BaseCumHazardTables,n.ModelVerification=t.ModelVerification,n.targetVariableName=t.targetVariableName,n.modelType=t.modelType,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.targetReferenceCategory=t.targetReferenceCategory,n.cumulativeLink=t.cumulativeLink,n.linkFunction=t.linkFunction,n.linkParameter=t.linkParameter,n.trialsVariable=t.trialsVariable,n.trialsValue=t.trialsValue,n.distribution=t.distribution,n.distParameter=t.distParameter,n.offsetVariable=t.offsetVariable,n.offsetValue=t.offsetValue,n.modelDF=t.modelDF,n.endTimeVariable=t.endTimeVariable,n.startTimeVariable=t.startTimeVariable,n.subjectIDVariable=t.subjectIDVariable,n.statusVariable=t.statusVariable,n.baselineStrataVariable=t.baselineStrataVariable,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.GeneralRegressionModel=An;var wn=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.ParameterCell=wn;var Cn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.targetCategory=t.targetCategory,n.parameterName=t.parameterName,n.beta=t.beta,n.df=t.df,n}return i(t,e),t}(wn);t.PCell=Cn;var xn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.pRow=t.pRow,n.pCol=t.pCol,n.tRow=t.tRow,n.tCol=t.tCol,n.value=t.value,n.targetCategory=t.targetCategory,n}return i(t,e),t}(o);t.PCovCell=xn;var Sn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.PCovCell=t.PCovCell,n.type=t.type,n}return i(t,e),t}(o);t.PCovMatrix=Sn;var En=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n.predictorName=t.predictorName,n.parameterName=t.parameterName,n.targetCategory=t.targetCategory,n}return i(t,e),t}(wn);t.PPCell=En;var kn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.PPCell=t.PPCell,n}return i(t,e),t}(o);t.PPMatrix=kn;var Mn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.PCell=t.PCell,n}return i(t,e),t}(o);t.ParamMatrix=Mn;var Dn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.label=t.label,n.referencePoint=t.referencePoint,n}return i(t,e),t}(o);t.Parameter=Dn;var Nn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Parameter=t.Parameter,n}return i(t,e),t}(o);t.ParameterList=Nn;var In=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Categories=t.Categories,n.Matrix=t.Matrix,n.name=t.name,n.contrastMatrixType=t.contrastMatrixType,n}return i(t,e),t}(o);t.Predictor=In;var Tn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.embeddedModels=t.embeddedModels,n.Segmentation=t.Segmentation,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.MiningModel=Tn;var Ln=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.predicate=t.predicate,n.model=t.model,n.VariableWeight=t.VariableWeight,n.id=t.id,n.weight=t.weight,n}return i(t,e),t}(ee);t.Segment=Ln;var Bn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.LocalTransformations=t.LocalTransformations,n.Segment=t.Segment,n.multipleModelMethod=t.multipleModelMethod,n.missingPredictionTreatment=t.missingPredictionTreatment,n.missingThreshold=t.missingThreshold,n}return i(t,e),t}(o);t.Segmentation=Bn;var On=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n}return i(t,e),t}(o);t.VariableWeight=On;var Pn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TargetValueStats=t.TargetValueStats,n.DerivedField=t.DerivedField,n.PairCounts=t.PairCounts,n.fieldName=t.fieldName,n}return i(t,e),t}(o);t.BayesInput=Pn;var Fn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.BayesInput=t.BayesInput,n}return i(t,e),t}(o);t.BayesInputs=Fn;var Rn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TargetValueCounts=t.TargetValueCounts,n.fieldName=t.fieldName,n}return i(t,e),t}(o);t.BayesOutput=Rn;var jn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.BayesInputs=t.BayesInputs,n.BayesOutput=t.BayesOutput,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.threshold=t.threshold,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.NaiveBayesModel=jn;var zn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TargetValueCounts=t.TargetValueCounts,n.value=t.value,n}return i(t,e),t}(o);t.PairCounts=zn;var Vn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n.count=t.count,n}return i(t,e),t}(o);t.TargetValueCount=Vn;var Wn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TargetValueCount=t.TargetValueCount,n}return i(t,e),t}(o);t.TargetValueCounts=Wn;var Hn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.continuousDistribution=t.continuousDistribution,n.value=t.value,n}return i(t,e),t}(o);t.TargetValueStat=Hn;var Un=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TargetValueStat=t.TargetValueStat,n}return i(t,e),t}(o);t.TargetValueStats=Un;var Qn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.column=t.column,n}return i(t,e),t}(o);t.InstanceField=Qn;var Gn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.InstanceField=t.InstanceField,n}return i(t,e),t}(o);t.InstanceFields=Gn;var Kn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.field=t.field,n.fieldWeight=t.fieldWeight,n.compareFunction=t.compareFunction,n}return i(t,e),t}(D);t.KNNInput=Kn;var Yn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.KNNInput=t.KNNInput,n}return i(t,e),t}(o);t.KNNInputs=Yn;var $n=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.TrainingInstances=t.TrainingInstances,n.ComparisonMeasure=t.ComparisonMeasure,n.KNNInputs=t.KNNInputs,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.numberOfNeighbors=t.numberOfNeighbors,n.continuousScoringMethod=t.continuousScoringMethod,n.categoricalScoringMethod=t.categoricalScoringMethod,n.instanceIdVariable=t.instanceIdVariable,n.threshold=t.threshold,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.NearestNeighborModel=$n;var Jn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.InstanceFields=t.InstanceFields,n.TableLocator=t.TableLocator,n.InlineTable=t.InlineTable,n.isTransformed=t.isTransformed,n.recordCount=t.recordCount,n.fieldCount=t.fieldCount,n}return i(t,e),t}(o);t.TrainingInstances=Jn;var qn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.from=t.from,n.weight=t.weight,n}return i(t,e),t}(o);t.Connection=qn;var Zn=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(ee);t.NeuralEntity=Zn;var Xn=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DerivedField=t.DerivedField,n.id=t.id,n}return i(t,e),t}(Zn);t.NeuralInput=Xn;var ei=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.NeuralInput=t.NeuralInput,n.numberOfInputs=t.numberOfInputs,n}return i(t,e),t}(o);t.NeuralInputs=ei;var ti=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Neuron=t.Neuron,n.numberOfNeurons=t.numberOfNeurons,n.activationFunction=t.activationFunction,n.threshold=t.threshold,n.width=t.width,n.altitude=t.altitude,n.normalizationMethod=t.normalizationMethod,n}return i(t,e),t}(o);t.NeuralLayer=ti;var ni=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.NeuralInputs=t.NeuralInputs,n.NeuralLayer=t.NeuralLayer,n.NeuralOutputs=t.NeuralOutputs,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.activationFunction=t.activationFunction,n.normalizationMethod=t.normalizationMethod,n.threshold=t.threshold,n.width=t.width,n.altitude=t.altitude,n.numberOfLayers=t.numberOfLayers,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.NeuralNetwork=ni;var ii=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.DerivedField=t.DerivedField,n.outputNeuron=t.outputNeuron,n}return i(t,e),t}(o);t.NeuralOutput=ii;var oi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.NeuralOutput=t.NeuralOutput,n.numberOfOutputs=t.numberOfOutputs,n}return i(t,e),t}(o);t.NeuralOutputs=oi;var ri=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Con=t.Con,n.id=t.id,n.bias=t.bias,n.width=t.width,n.altitude=t.altitude,n}return i(t,e),t}(Zn);t.Neuron=ri;var ai=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Term=ai;var si=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.value=t.value,n.coefficient=t.coefficient,n}return i(t,e),t}(ai);t.CategoricalPredictor=si;var li=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.name=t.name,n.exponent=t.exponent,n.coefficient=t.coefficient,n}return i(t,e),t}(ai);t.NumericPredictor=li;var ci=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.FieldRef=t.FieldRef,n.name=t.name,n.coefficient=t.coefficient,n}return i(t,e),t}(ai);t.PredictorTerm=ci;var di=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Output=t.Output,n.ModelStats=t.ModelStats,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.ResultField=t.ResultField,n.RegressionTable=t.RegressionTable,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.normalizationMethod=t.normalizationMethod,n}return i(t,e),t}(X);t.Regression=di;var ui=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.RegressionTable=t.RegressionTable,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.modelType=t.modelType,n.targetFieldName=t.targetFieldName,n.normalizationMethod=t.normalizationMethod,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.RegressionModel=ui;var hi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.NumericPredictor=t.NumericPredictor,n.CategoricalPredictor=t.CategoricalPredictor,n.PredictorTerm=t.PredictorTerm,n.intercept=t.intercept,n.targetCategory=t.targetCategory,n}return i(t,e),t}(o);t.RegressionTable=hi;var pi=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(ee);t.Rule=pi;var fi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.predicate=t.predicate,n.rules=t.rules,n}return i(t,e),t}(pi);t.CompoundRule=fi;var gi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.criterion=t.criterion,n}return i(t,e),t}(o);t.RuleSelectionMethod=gi;var mi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.RuleSelectionMethod=t.RuleSelectionMethod,n.ScoreDistribution=t.ScoreDistribution,n.rules=t.rules,n.recordCount=t.recordCount,n.nbCorrect=t.nbCorrect,n.defaultScore=t.defaultScore,n.defaultConfidence=t.defaultConfidence,n}return i(t,e),t}(o);t.RuleSet=mi;var vi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.RuleSet=t.RuleSet,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.RuleSetModel=vi;var bi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.predicate=t.predicate,n.ScoreDistribution=t.ScoreDistribution,n.id=t.id,n.score=t.score,n.recordCount=t.recordCount,n.nbCorrect=t.nbCorrect,n.confidence=t.confidence,n.weight=t.weight,n}return i(t,e),t}(pi);t.SimpleRule=bi;var _i=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.predicate=t.predicate,n.ComplexPartialScore=t.ComplexPartialScore,n.reasonCode=t.reasonCode,n.partialScore=t.partialScore,n}return i(t,e),t}(o);t.Attribute=_i;var yi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Attribute=t.Attribute,n.name=t.name,n.reasonCode=t.reasonCode,n.baselineScore=t.baselineScore,n}return i(t,e),t}(o);t.Characteristic=yi;var Ai=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Characteristic=t.Characteristic,n}return i(t,e),t}(o);t.Characteristics=Ai;var wi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.expression=t.expression,n}return i(t,e),t}(o);t.ComplexPartialScore=wi;var Ci=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.Characteristics=t.Characteristics,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.initialScore=t.initialScore,n.useReasonCodes=t.useReasonCodes,n.reasonCodeAlgorithm=t.reasonCodeAlgorithm,n.baselineScore=t.baselineScore,n.baselineMethod=t.baselineMethod,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.Scorecard=Ci;var xi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.SequenceReference=t.SequenceReference,n.Time=t.Time,n}return i(t,e),t}(o);t.AntecedentSequence=xi;var Si=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.SequenceReference=t.SequenceReference,n.Time=t.Time,n}return i(t,e),t}(o);t.ConsequentSequence=Si;var Ei=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.minimumNumberOfItems=t.minimumNumberOfItems,n.maximumNumberOfItems=t.maximumNumberOfItems,n.minimumNumberOfAntecedentItems=t.minimumNumberOfAntecedentItems,n.maximumNumberOfAntecedentItems=t.maximumNumberOfAntecedentItems,n.minimumNumberOfConsequentItems=t.minimumNumberOfConsequentItems,n.maximumNumberOfConsequentItems=t.maximumNumberOfConsequentItems,n.minimumSupport=t.minimumSupport,n.minimumConfidence=t.minimumConfidence,n.minimumLift=t.minimumLift,n.minimumTotalSequenceTime=t.minimumTotalSequenceTime,n.maximumTotalSequenceTime=t.maximumTotalSequenceTime,n.minimumItemsetSeparationTime=t.minimumItemsetSeparationTime,n.maximumItemsetSeparationTime=t.maximumItemsetSeparationTime,n.minimumAntConsSeparationTime=t.minimumAntConsSeparationTime,n.maximumAntConsSeparationTime=t.maximumAntConsSeparationTime,n}return i(t,e),t}(o);t.Constraints=Ei;var ki=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.delimiter=t.delimiter,n.gap=t.gap,n}return i(t,e),t}(o);t.Delimiter=ki;var Mi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.SetReference=t.SetReference,n.content=t.content,n.Time=t.Time,n.id=t.id,n.numberOfSets=t.numberOfSets,n.occurrence=t.occurrence,n.support=t.support,n}return i(t,e),t}(o);t.Sequence=Mi;var Di=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.ModelStats=t.ModelStats,n.LocalTransformations=t.LocalTransformations,n.Constraints=t.Constraints,n.Item=t.Item,n.Itemset=t.Itemset,n.SetPredicate=t.SetPredicate,n.Sequence=t.Sequence,n.SequenceRule=t.SequenceRule,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.numberOfTransactions=t.numberOfTransactions,n.maxNumberOfItemsPerTransaction=t.maxNumberOfItemsPerTransaction,n.avgNumberOfItemsPerTransaction=t.avgNumberOfItemsPerTransaction,n.numberOfTransactionGroups=t.numberOfTransactionGroups,n.maxNumberOfTAsPerTAGroup=t.maxNumberOfTAsPerTAGroup,n.avgNumberOfTAsPerTAGroup=t.avgNumberOfTAsPerTAGroup,n.minimumSupport=t.minimumSupport,n.minimumConfidence=t.minimumConfidence,n.lengthLimit=t.lengthLimit,n.numberOfItems=t.numberOfItems,n.numberOfSets=t.numberOfSets,n.numberOfSequences=t.numberOfSequences,n.numberOfRules=t.numberOfRules,n.timeWindowWidth=t.timeWindowWidth,n.minimumTime=t.minimumTime,n.maximumTime=t.maximumTime,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.SequenceModel=Di;var Ni=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.seqId=t.seqId,n}return i(t,e),t}(o);t.SequenceReference=Ni;var Ii=function(e){function t(t){var n=e.call(this,t)||this;return n.content=t.content,n.id=t.id,n.numberOfSets=t.numberOfSets,n.occurrence=t.occurrence,n.support=t.support,n.confidence=t.confidence,n.lift=t.lift,n}return i(t,e),t}(ee);t.SequenceRule=Ii;var Ti=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n.id=t.id,n.field=t.field,n.operator=t.operator,n}return i(t,e),t}(o);t.SetPredicate=Ti;var Li=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.setId=t.setId,n}return i(t,e),t}(o);t.SetReference=Li;var Bi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.min=t.min,n.max=t.max,n.mean=t.mean,n.standardDeviation=t.standardDeviation,n}return i(t,e),t}(o);t.Time=Bi;var Oi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.value=t.value,n}return i(t,e),t}(o);t.Coefficient=Oi;var Pi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Coefficient=t.Coefficient,n.numberOfCoefficients=t.numberOfCoefficients,n.absoluteValue=t.absoluteValue,n}return i(t,e),t}(o);t.Coefficients=Pi;var Fi=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.Kernel=Fi;var Ri=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.description=t.description,n}return i(t,e),t}(Fi);t.LinearKernel=Ri;var ji=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.description=t.description,n.gamma=t.gamma,n.coef0=t.coef0,n.degree=t.degree,n}return i(t,e),t}(Fi);t.PolynomialKernel=ji;var zi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.description=t.description,n.gamma=t.gamma,n}return i(t,e),t}(Fi);t.VectorMachineRadialBasisKernel=zi;var Vi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.description=t.description,n.gamma=t.gamma,n.coef0=t.coef0,n}return i(t,e),t}(Fi);t.SigmoidKernel=Vi;var Wi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.vectorId=t.vectorId,n}return i(t,e),t}(o);t.SupportVector=Wi;var Hi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.SupportVectors=t.SupportVectors,n.Coefficients=t.Coefficients,n.targetCategory=t.targetCategory,n.alternateTargetCategory=t.alternateTargetCategory,n.threshold=t.threshold,n}return i(t,e),t}(o);t.SupportVectorMachine=Hi;var Ui=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.kernel=t.kernel,n.VectorDictionary=t.VectorDictionary,n.SupportVectorMachine=t.SupportVectorMachine,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.threshold=t.threshold,n.svmRepresentation=t.svmRepresentation,n.alternateBinaryTargetCategory=t.alternateBinaryTargetCategory,n.classificationMethod=t.classificationMethod,n.maxWins=t.maxWins,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.SupportVectorMachineModel=Ui;var Qi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.SupportVector=t.SupportVector,n.numberOfSupportVectors=t.numberOfSupportVectors,n.numberOfAttributes=t.numberOfAttributes,n}return i(t,e),t}(o);t.SupportVectors=Qi;var Gi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.VectorFields=t.VectorFields,n.VectorInstance=t.VectorInstance,n.numberOfVectors=t.numberOfVectors,n}return i(t,e),t}(o);t.VectorDictionary=Gi;var Ki=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.content=t.content,n.numberOfFields=t.numberOfFields,n}return i(t,e),t}(o);t.VectorFields=Ki;var Yi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n["REAL-SparseArray"]=t["REAL-SparseArray"],n.Array=t.Array,n.id=t.id,n}return i(t,e),t}(o);t.VectorInstance=Yi;var $i=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.DocumentTermMatrix=$i;var Ji=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TextDocument=t.TextDocument,n}return i(t,e),t}(o);t.TextCorpus=Ji;var qi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Taxonomy=t.Taxonomy,n.Array=t.Array,n}return i(t,e),t}(o);t.TextDictionary=qi;var Zi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.id=t.id,n.name=t.name,n.length=t.length,n.file=t.file,n}return i(t,e),t}(o);t.TextDocument=Zi;var Xi=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.TextDictionary=t.TextDictionary,n.TextCorpus=t.TextCorpus,n.DocumentTermMatrix=t.DocumentTermMatrix,n.TextModelNormalization=t.TextModelNormalization,n.TextModelSimiliarity=t.TextModelSimiliarity,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.numberOfTerms=t.numberOfTerms,n.numberOfDocuments=t.numberOfDocuments,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.TextModel=Xi;var eo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.localTermWeights=t.localTermWeights,n.globalTermWeights=t.globalTermWeights,n.documentNormalization=t.documentNormalization,n}return i(t,e),t}(o);t.TextModelNormalization=eo;var to=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.similarityType=t.similarityType,n}return i(t,e),t}(o);t.TextModelSimiliarity=to;var no=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.AR=no;var io=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(o);t.TimeSeriesAlgorithm=io;var oo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.NonseasonalComponent=t.NonseasonalComponent,n.SeasonalComponent=t.SeasonalComponent,n.DynamicRegressor=t.DynamicRegressor,n.MaximumLikelihoodStat=t.MaximumLikelihoodStat,n.OutlierEffect=t.OutlierEffect,n.RMSE=t.RMSE,n.transformation=t.transformation,n.constantTerm=t.constantTerm,n.predictionMethod=t.predictionMethod,n}return i(t,e),t}(io);t.ARIMA=oo;var ro=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.AR=t.AR,n.MA=t.MA,n.constant=t.constant,n.p=t.p,n.q=t.q,n}return i(t,e),t}(o);t.ARMAPart=ro;var ao=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.NonseasonalFactor=t.NonseasonalFactor,n.SeasonalFactor=t.SeasonalFactor,n}return i(t,e),t}(o);t.Denominator=ao;var so=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Numerator=t.Numerator,n.Denominator=t.Denominator,n.RegressorValues=t.RegressorValues,n.field=t.field,n.transformation=t.transformation,n.delay=t.delay,n.futureValuesMethod=t.futureValuesMethod,n.targetField=t.targetField,n}return i(t,e),t}(o);t.DynamicRegressor=so;var lo=function(e){function t(t){var n=e.call(this,t)||this;return n.Level=t.Level,n.Trend_ExpoSmooth=t.Trend_ExpoSmooth,n.Seasonality_ExpoSmooth=t.Seasonality_ExpoSmooth,n.TimeValue=t.TimeValue,n.RMSE=t.RMSE,n.transformation=t.transformation,n}return i(t,e),t}(io);t.ExponentialSmoothing=lo;var co=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n}return i(t,e),t}(o);t.FinalNoise=co;var uo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n}return i(t,e),t}(o);t.FinalNu=uo;var ho=function(e){function t(t){var n=e.call(this,t)||this;return n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.FinalOmega=ho;var po=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n}return i(t,e),t}(o);t.FinalPredictedNoise=po;var fo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n}return i(t,e),t}(o);t.FinalStateVector=fo;var go=function(e){function t(t){var n=e.call(this,t)||this;return n.Theta=t.Theta,n}return i(t,e),t}(o);t.FinalTheta=go;var mo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ARMAPart=t.ARMAPart,n.GARCHPart=t.GARCHPart,n}return i(t,e),t}(io);t.GARCH=mo;var vo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.ResidualSquareCoefficients=t.ResidualSquareCoefficients,n.VarianceCoefficients=t.VarianceCoefficients,n.constant=t.constant,n.gp=t.gp,n.gq=t.gq,n}return i(t,e),t}(o);t.GARCHPart=vo;var bo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n}return i(t,e),t}(o);t.HVector=bo;var _o=function(e){function t(t){var n=e.call(this,t)||this;return n.FinalOmega=t.FinalOmega,n.FinalStateVector=t.FinalStateVector,n.HVector=t.HVector,n}return i(t,e),t}(o);t.KalmanState=_o;var yo=function(e){function t(t){var n=e.call(this,t)||this;return n.alpha=t.alpha,n.quadraticSmoothedValue=t.quadraticSmoothedValue,n.cubicSmoothedValue=t.cubicSmoothedValue,n.smoothedValue=t.smoothedValue,n}return i(t,e),t}(o);t.Level=yo;var Ao=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MACoefficients=t.MACoefficients,n.Residuals=t.Residuals,n}return i(t,e),t}(o);t.MA=Ao;var wo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.MACoefficients=wo;var Co=function(e){function t(t){var n=e.call(this,t)||this;return n.KalmanState=t.KalmanState,n.ThetaRecursionState=t.ThetaRecursionState,n.method=t.method,n.periodDeficit=t.periodDeficit,n}return i(t,e),t}(o);t.MaximumLikelihoodStat=Co;var xo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.MeasurementMatrix=xo;var So=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.AR=t.AR,n.MA=t.MA,n.p=t.p,n.d=t.d,n.q=t.q,n}return i(t,e),t}(o);t.NonseasonalComponent=So;var Eo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n.difference=t.difference,n.maximumOrder=t.maximumOrder,n}return i(t,e),t}(o);t.NonseasonalFactor=Eo;var ko=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.NonseasonalFactor=t.NonseasonalFactor,n.SeasonalFactor=t.SeasonalFactor,n}return i(t,e),t}(o);t.Numerator=ko;var Mo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.type=t.type,n.startTime=t.startTime,n.magnitude=t.magnitude,n.dampingCoefficient=t.dampingCoefficient,n}return i(t,e),t}(o);t.OutlierEffect=Mo;var Do=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.PastVariances=Do;var No=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n.targetField=t.targetField,n.variance=t.variance,n}return i(t,e),t}(o);t.PsiVector=No;var Io=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.TimeSeries=t.TimeSeries,n.TrendCoefficients=t.TrendCoefficients,n.TransferFunctionValues=t.TransferFunctionValues,n}return i(t,e),t}(o);t.RegressorValues=Io;var To=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Residuals=t.Residuals,n.MACoefficients=t.MACoefficients,n}return i(t,e),t}(o);t.ResidualSquareCoefficients=To;var Lo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.Residuals=Lo;var Bo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.AR=t.AR,n.MA=t.MA,n.P=t.P,n.D=t.D,n.Q=t.Q,n.period=t.period,n}return i(t,e),t}(o);t.SeasonalComponent=Bo;var Oo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n.difference=t.difference,n.maximumOrder=t.maximumOrder,n}return i(t,e),t}(o);t.SeasonalFactor=Oo;var Po=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(io);t.SeasonalTrendDecomposition=Po;var Fo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n.type=t.type,n.period=t.period,n.unit=t.unit,n.phase=t.phase,n.delta=t.delta,n}return i(t,e),t}(o);t.SeasonalityExpoSmooth=Fo;var Ro=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(io);t.SpectralAnalysis=Ro;var jo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.StateVector=t.StateVector,n.TransitionMatrix=t.TransitionMatrix,n.MeasurementMatrix=t.MeasurementMatrix,n.PsiVector=t.PsiVector,n.DynamicRegressor=t.DynamicRegressor,n.variance=t.variance,n.period=t.period,n.intercept=t.intercept,n}return i(t,e),t}(io);t.StateSpaceModel=jo;var zo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Array=t.Array,n}return i(t,e),t}(o);t.StateVector=zo;var Vo=function(e){function t(t){var n=e.call(this,t)||this;return n.i=t.i,n.j=t.j,n.theta=t.theta,n}return i(t,e),t}(o);t.Theta=Vo;var Wo=function(e){function t(t){var n=e.call(this,t)||this;return n.FinalNoise=t.FinalNoise,n.FinalPredictedNoise=t.FinalPredictedNoise,n.FinalTheta=t.FinalTheta,n.FinalNu=t.FinalNu,n}return i(t,e),t}(o);t.ThetaRecursionState=Wo;var Ho=function(e){function t(t){var n=e.call(this,t)||this;return n.TimeCycle=t.TimeCycle,n.TimeException=t.TimeException,n.type=t.type,n.offset=t.offset,n.stepsize=t.stepsize,n.displayName=t.displayName,n}return i(t,e),t}(o);t.TimeAnchor=Ho;var Uo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n.length=t.length,n.type=t.type,n.displayName=t.displayName,n}return i(t,e),t}(o);t.TimeCycle=Uo;var Qo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n.type=t.type,n.count=t.count,n}return i(t,e),t}(o);t.TimeException=Qo;var Go=function(e){function t(t){var n=e.call(this,t)||this;return n.TimeAnchor=t.TimeAnchor,n.TimeException=t.TimeException,n.TimeValue=t.TimeValue,n.usage=t.usage,n.startTime=t.startTime,n.endTime=t.endTime,n.interpolationMethod=t.interpolationMethod,n.field=t.field,n}return i(t,e),t}(o);t.TimeSeries=Go;var Ko=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.LocalTransformations=t.LocalTransformations,n.TimeSeries=t.TimeSeries,n.SpectralAnalysis=t.SpectralAnalysis,n.ARIMA=t.ARIMA,n.ExponentialSmoothing=t.ExponentialSmoothing,n.SeasonalTrendDecomposition=t.SeasonalTrendDecomposition,n.StateSpaceModel=t.StateSpaceModel,n.GARCH=t.GARCH,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.bestFit=t.bestFit,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.TimeSeriesModel=Ko;var Yo=function(e){function t(t){var n=e.call(this,t)||this;return n.Timestamp=t.Timestamp,n.index=t.index,n.time=t.time,n.value=t.value,n.standardError=t.standardError,n}return i(t,e),t}(o);t.TimeValue=Yo;var $o=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n}return i(t,e),t}(o);t.TransferFunctionValues=$o;var Jo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Matrix=t.Matrix,n}return i(t,e),t}(o);t.TransitionMatrix=Jo;var qo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n["REAL-SparseArray"]=t["REAL-SparseArray"],n}return i(t,e),t}(o);t.TrendCoefficients=qo;var Zo=function(e){function t(t){var n=e.call(this,t)||this;return n.Array=t.Array,n.trend=t.trend,n.gamma=t.gamma,n.phi=t.phi,n.smoothedValue=t.smoothedValue,n}return i(t,e),t}(o);t.TrendExpoSmooth=Zo;var Xo=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.PastVariances=t.PastVariances,n.MACoefficients=t.MACoefficients,n}return i(t,e),t}(o);t.VarianceCoefficients=Xo;var er=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(ee);t.Node=er;var tr=function(e){function t(t){var n=e.call(this,t)||this;return n.score=t.score,n.predicate=t.predicate,n}return i(t,e),t}(er);t.SimpleNode=tr;var nr=function(e){function t(t){var n=e.call(this,t)||this;return n.id=t.id,n.defaultChild=t.defaultChild,n.nodes=t.nodes,n}return i(t,e),t}(tr);t.BranchNode=nr;var ir=function(e){function t(t){var n=e.call(this,t)||this;return n.id=t.id,n.recordCount=t.recordCount,n.defaultChild=t.defaultChild,n.scoreDistributions=t.scoreDistributions,n.nodes=t.nodes,n}return i(t,e),t}(tr);t.ClassifierNode=ir;var or=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.predicate=t.predicate,n.Partition=t.Partition,n.ScoreDistribution=t.ScoreDistribution,n.Node=t.Node,n.embeddedModel=t.embeddedModel,n.id=t.id,n.score=t.score,n.recordCount=t.recordCount,n.defaultChild=t.defaultChild,n}return i(t,e),t}(er);t.ComplexNode=or;var rr=function(e){function t(t){var n=e.call(this,t)||this;return n.recordCount=t.recordCount,n}return i(t,e),t}(nr);t.CountingBranchNode=rr;var ar=function(e){function t(t){var n=e.call(this,t)||this;return n.id=t.id,n}return i(t,e),t}(tr);t.LeafNode=ar;var sr=function(e){function t(t){var n=e.call(this,t)||this;return n.recordCount=t.recordCount,n}return i(t,e),t}(ar);t.CountingLeafNode=sr;var lr=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.Output=t.Output,n.ModelStats=t.ModelStats,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.ResultField=t.ResultField,n.Node=t.Node,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.missingValueStrategy=t.missingValueStrategy,n.missingValuePenalty=t.missingValuePenalty,n.noTrueChildStrategy=t.noTrueChildStrategy,n.splitCharacteristic=t.splitCharacteristic,n}return i(t,e),t}(X);t.DecisionTree=lr;t.SimplifyingNodeTransformer=function(e){};var cr=function(e){function t(t){var n=e.call(this,t)||this;return n.Extension=t.Extension,n.MiningSchema=t.MiningSchema,n.Output=t.Output,n.ModelStats=t.ModelStats,n.ModelExplanation=t.ModelExplanation,n.Targets=t.Targets,n.LocalTransformations=t.LocalTransformations,n.Node=t.Node,n.ModelVerification=t.ModelVerification,n.modelName=t.modelName,n.functionName=t.functionName,n.algorithmName=t.algorithmName,n.missingValueStrategy=t.missingValueStrategy,n.missingValuePenalty=t.missingValuePenalty,n.noTrueChildStrategy=t.noTrueChildStrategy,n.splitCharacteristic=t.splitCharacteristic,n.isScorable=t.isScorable,n["x-mathContext"]=t["x-mathContext"],n}return i(t,e),t}(Se);t.TreeModel=cr},93604:function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLEditor=void 0;var l=n(61250),c=n(29901),d=n(42827),u=n(79431),h=n(16414),p=n(21585),f=n(31352),g=n(25604),m=n(96595),v=n(15192),b=n(30123),_=n(84246),y=n(39422),A=n(59782),w=n(17724),C=n(34822),x=n(98130),S=n(24820),E=n(97530),k=n(66487),M=function(e){function t(t){var n=e.call(this,t)||this;return n.history=new m.HistoryService([function(e){n.props.newEdit(new E.WorkspaceEdit(e))},function(){n.props.setNotifications(n.state.path,n.validate())}]),n.validationRegistry=new S.ValidationRegistry,t.exposing(n),n.state={path:"",content:"",originalContent:"",activeOperation:x.Operation.NONE},(0,d.enableAllPlugins)(),n.reducer=(0,g.default)((0,h.PMMLReducer)(n.history,n.validationRegistry),{Header:(0,h.HeaderReducer)(n.history),DataDictionary:(0,g.default)((0,h.DataDictionaryReducer)(n.history,n.validationRegistry),{DataField:(0,h.DataDictionaryFieldReducer)(n.history,n.validationRegistry)}),models:(0,h.ModelReducer)(n.history,n.validationRegistry)}),n}return o(t,e),t.prototype.componentDidMount=function(){this.props.ready()},t.prototype.setContent=function(e,t){try{return this.doSetContent(e,t),this.props.setNotifications(this.state.path,this.validate()),Promise.resolve()}catch(e){return console.error(e),Promise.reject()}},t.prototype.doSetContent=function(e,t){var n,i,o=t;if(""===t){o='<PMML xmlns="http://www.dmg.org/PMML-4_4" version="4.4"><Header /><DataDictionary/></PMML>',i=(0,p.XML2PMML)(o);var r=C.PMMLModels.filter((function(e){return e.capability===C.SupportedCapability.EDITOR}));if(""===t&&1===r.length){var a=r[0].factory;a&&(i.models=[a()])}}else i=(0,p.XML2PMML)(o);this.store=(0,u.createStore)(this.reducer,i),null===(n=this.store)||void 0===n||n.dispatch({type:h.Actions.Validate,payload:{}}),this.setState({path:e,content:o,originalContent:o,activeOperation:x.Operation.NONE})},t.prototype.getContent=function(){return Promise.resolve(this.doGetContent())},t.prototype.doGetContent=function(){var e,t=null===(e=this.store)||void 0===e?void 0:e.getState();return t?(0,p.PMML2XML)(t):""},t.prototype.undo=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,Promise.resolve(this.doUndo())]}))}))},t.prototype.doUndo=function(){var e,t,n;void 0!==(null===(e=this.store)||void 0===e?void 0:e.getState())&&(null===(t=this.store)||void 0===t||t.dispatch({type:h.Actions.Undo,payload:void 0}),null===(n=this.store)||void 0===n||n.dispatch({type:h.Actions.Validate,payload:{}}),this.props.setNotifications(this.state.path,this.validate()))},t.prototype.redo=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){return[2,Promise.resolve(this.doRedo())]}))}))},t.prototype.doRedo=function(){var e,t,n;void 0!==(null===(e=this.store)||void 0===e?void 0:e.getState())&&(null===(t=this.store)||void 0===t||t.dispatch({type:h.Actions.Redo,payload:void 0}),null===(n=this.store)||void 0===n||n.dispatch({type:h.Actions.Validate,payload:{}}),this.props.setNotifications(this.state.path,this.validate()))},t.prototype.validate=function(){return(0,S.toNotifications)(this.state.path,this.validationRegistry.get((0,k.Builder)().build()))},t.prototype.isSingleModel=function(){if(!this.store)return!1;var e=this.store.getState().models;return void 0!==e&&1===e.length},t.prototype.render=function(){var e=this,t=this.isSingleModel();if(this.store){var n=this.state.path;return(0,l.jsx)(_.HashRouter,{children:(0,l.jsx)(b.Page,{children:(0,l.jsx)(f.Provider,r({store:this.store},{children:(0,l.jsx)(S.ValidationContext.Provider,r({value:{validationRegistry:this.validationRegistry}},{children:(0,l.jsx)(m.HistoryContext.Provider,r({value:{service:this.history,getCurrentState:function(){var t;return null===(t=e.store)||void 0===t?void 0:t.getState()}}},{children:(0,l.jsxs)(y.Switch,{children:[(0,l.jsxs)(y.Route,r({exact:!0,path:"/"},{children:[!t&&(0,l.jsx)(v.LandingPage,{path:n},void 0),t&&(0,l.jsx)(y.Redirect,{from:"/",to:"/editor/0"},void 0)]}),void 0),(0,l.jsx)(y.Route,r({exact:!0,path:"/editor/:index"},{children:(0,l.jsx)(x.OperationContext.Provider,r({value:{activeOperation:this.state.activeOperation,setActiveOperation:function(t){return e.setState(r(r({},e.state),{activeOperation:t}))}}},{children:(0,l.jsx)(w.SingleEditorRouter,{path:n},void 0)}),void 0)}),void 0)]},void 0)}),void 0)}),void 0)}),void 0)},void 0)},void 0)}return(0,l.jsx)(A.EmptyStateNoContent,{},void 0)},t}(c.Component);t.PMMLEditor=M},43715:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLEditorFactory=t.FACTORY_TYPE=void 0;var i=n(19901);t.FACTORY_TYPE="pmml";var o=function(){function e(){}return e.prototype.createEditor=function(e,t){return Promise.resolve(new i.PMMLEditorInterface(e))},e}();t.PMMLEditorFactory=o},19901:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLEditorInterface=void 0;var r=n(61250),a=n(40888),s=n(93604),l=function(){function e(e){this.envelopeContext=e,this.af_isReact=!0}return e.prototype.getElementPosition=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,a.DEFAULT_RECT]}))}))},e.prototype.setContent=function(e,t){return this.self.setContent(e,t)},e.prototype.getContent=function(){return this.self.getContent()},e.prototype.getPreview=function(){return Promise.resolve(void 0)},e.prototype.af_componentRoot=function(){var e=this;return(0,r.jsx)(s.PMMLEditor,{exposing:function(t){return e.self=t},ready:function(){return e.envelopeContext.channelApi.notifications.kogitoEditor_ready.send()},newEdit:function(t){return e.envelopeContext.channelApi.notifications.kogitoWorkspace_newEdit.send(t)},setNotifications:function(t,n){return e.envelopeContext.channelApi.notifications.kogitoNotifications_setNotifications.send(t,n)}},void 0)},e.prototype.undo=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,this.self.undo()]}))}))},e.prototype.redo=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,this.self.redo()]}))}))},e.prototype.validate=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,Promise.resolve(this.self.validate())]}))}))},e.prototype.setTheme=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,Promise.resolve()]}))}))},e}();t.PMMLEditorInterface=l},34822:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.getUseReasonCodes=t.getBaselineScore=t.getCharacteristics=t.getOutputs=t.getMiningField=t.getMiningSchema=t.getDataDictionary=t.findIncrementalName=t.isSupportedModelType=t.getModelIconUrlByType=t.getModelType=t.getModelName=t.isCollection=t.PMMLModels=t.SupportedCapability=void 0;var o,r=n(21585),a=n(66487),s=n(39378);!function(e){e[e.NONE=0]="NONE",e[e.VIEWER=1]="VIEWER",e[e.EDITOR=2]="EDITOR"}(o=t.SupportedCapability||(t.SupportedCapability={})),t.PMMLModels=new Array({model:r.AnomalyDetectionModel,type:"Anomaly Detection Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.AssociationModel,type:"Association Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.BayesianNetworkModel,type:"Bayesian Network Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.BaselineModel,type:"Baseline Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.ClusteringModel,type:"Clustering Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.GaussianProcessModel,type:"Gaussian Process Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.GeneralRegressionModel,type:"General Regression Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.MiningModel,type:"Mining Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.NaiveBayesModel,type:"Naive Bayes Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.NearestNeighborModel,type:"Nearest Neighbor Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.NeuralNetwork,type:"Neural Network",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.RegressionModel,type:"Regression Model",iconUrl:"card-icon-default.svg",capability:o.VIEWER,factory:void 0},{model:r.RuleSetModel,type:"RuleSet Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.SequenceModel,type:"Sequence Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.Scorecard,type:"Scorecard",iconUrl:"card-icon-scorecard.svg",capability:o.EDITOR,factory:function(){var e=new r.Scorecard({modelName:"Untitled model",MiningSchema:{MiningField:[]},Characteristics:{Characteristic:[]},Output:{OutputField:[]},functionName:"regression"});return e._type="Scorecard",e}},{model:r.SupportVectorMachineModel,type:"Support Vector Machine Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.TextModel,type:"Text Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.TimeSeriesModel,type:"Time Series Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0},{model:r.TreeModel,type:"Tree Model",iconUrl:"card-icon-default.svg",capability:o.NONE,factory:void 0}),t.isCollection=function(e){return void 0!==e&&0!==e.length},t.getModelName=function(e){var t;return null!==(t=(0,s.get)(e,"modelName"))&&void 0!==t?t:""},t.getModelType=function(e){var n,o;try{for(var r=i(t.PMMLModels),a=r.next();!a.done;a=r.next()){var s=a.value;if(e instanceof s.model)return s.type}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}},t.getModelIconUrlByType=function(e){var n,o;try{for(var r=i(t.PMMLModels),a=r.next();!a.done;a=r.next()){var s=a.value;if(e===s.type)return"images/"+s.iconUrl}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return"images/card-icon-default.svg"},t.isSupportedModelType=function(e){var n,r;try{for(var a=i(t.PMMLModels),s=a.next();!s.done;s=a.next()){var l=s.value;if(e instanceof l.model)return l.capability===o.VIEWER||l.capability===o.EDITOR}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return!1},t.findIncrementalName=function(e,t,n){var i="",o=n,r=function(){var n="".concat(e).concat(1!==o?" ".concat(o):"");0===t.filter((function(e){return e===n})).length&&(i=n),o++};do{r()}while(0===i.length);return i},t.getDataDictionary=function(e){return(0,s.get)(e,(0,a.Builder)().forDataDictionary().build().path)},t.getMiningSchema=function(e,t){return(0,s.get)(e,(0,a.Builder)().forModel(t).forMiningSchema().build().path)},t.getMiningField=function(e,t,n){return(0,s.get)(e,(0,a.Builder)().forModel(t).forMiningSchema().forMiningField(n).build().path)},t.getOutputs=function(e,t){return(0,s.get)(e,(0,a.Builder)().forModel(t).forOutput().build().path)},t.getCharacteristics=function(e,t){return(0,s.get)(e,(0,a.Builder)().forModel(t).forCharacteristics().build().path)},t.getBaselineScore=function(e,t){return(0,s.get)(e,(0,a.Builder)().forModel(t).forBaselineScore().build().path)},t.getUseReasonCodes=function(e,t){return(0,s.get)(e,(0,a.Builder)().forModel(t).forUseReasonCodes().build().path)}},53286:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var a=n(61250),s=n(29901),l=n(8635),c=n(36841),d=n(60158),u=n(22174),h=n(13136),p=n(30875),f=n(85508),g=n(84934);n(4885),t.default=function(e){var t,n,_,y,A=e.dataType,w=e.dataFieldIndex,C=e.onSave,x=o((0,s.useState)(null!==(n=null===(t=A.constraints)||void 0===t?void 0:t.type)&&void 0!==n?n:""),2),S=x[0],E=x[1],k=o((0,s.useState)(!1),2),M=k[0],D=k[1],N=(0,s.useMemo)((function(){return v(A)}),[A]),I=N.typeOptions,T=N.enabledTypeOptionsCount,L=(0,s.useMemo)((function(){return b(A)}),[A]),B=o((0,s.useState)((null===(_=A.constraints)||void 0===_?void 0:_.type)===p.ConstraintType.RANGE?A.constraints.value:void 0),2),O=B[0],P=B[1],F=o((0,s.useState)((null===(y=A.constraints)||void 0===y?void 0:y.type)===p.ConstraintType.ENUMERATION?A.constraints.value:void 0),2),R=F[0],j=F[1],z=(0,s.useMemo)((function(){return"continuous"===A.optype&&A.isCyclic?1:void 0}),[A]);return(0,s.useEffect)((function(){var e,t,n,i;E(null!==(t=null===(e=A.constraints)||void 0===e?void 0:e.type)&&void 0!==t?t:""),(null===(n=A.constraints)||void 0===n?void 0:n.type)===p.ConstraintType.RANGE&&P(A.constraints.value),(null===(i=A.constraints)||void 0===i?void 0:i.type)===p.ConstraintType.ENUMERATION&&j(A.constraints.value)}),[A.constraints]),(0,a.jsxs)("section",i({className:"constraints__form"},{children:[(0,a.jsx)(c.FormGroup,i({fieldId:"constraints-type",label:"Constraints Type",helperText:T>1?"Select the type of constraint and then fill in the required fields.":"",labelIcon:L.length>0?(0,a.jsx)(u.Tooltip,i({content:L},{children:(0,a.jsx)("button",i({"aria-label":"More info for Constraints Type",onClick:function(e){return e.preventDefault()},"aria-describedby":"constraints-type",className:"pf-c-form__group-label-help"},{children:(0,a.jsx)(h.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0):(0,a.jsx)(a.Fragment,{},void 0)},{children:(0,a.jsx)("div",i({style:{width:300}},{children:(0,a.jsx)(d.Select,i({id:"constraints-type",variant:d.SelectVariant.single,"aria-label":"Select Constraint Type",onToggle:function(){D(!M)},onSelect:function(e,t){t!==S&&(E(t),t===p.ConstraintType.RANGE&&C({constraints:{type:p.ConstraintType.RANGE,value:[{start:{value:"",included:!0},end:{value:"",included:!0}}]}}),t===p.ConstraintType.ENUMERATION&&C({constraints:{type:p.ConstraintType.ENUMERATION,value:[""]}}),""===t&&C({constraints:void 0})),D(!1)},selections:S,isOpen:M,placeholderText:"Select a type",isDisabled:1===T,ouiaId:"constraints-type"},{children:I.map((function(e,t){return(0,a.jsx)(d.SelectOption,i({value:e.value,isDisabled:e.disabled,"data-ouia-component-type":"select-option"},{children:e.label}),t)}))}),void 0)}),void 0)}),void 0),S===p.ConstraintType.RANGE&&void 0!==O&&(0,a.jsx)(l.Card,i({isCompact:!0,className:"constraints__card"},{children:(0,a.jsx)(l.CardBody,{children:(0,a.jsx)(f.default,{dataFieldIndex:w,ranges:O,onAdd:function(){var e=r([],o(null!=O?O:[]),!1);e.push({start:{value:"",included:!0},end:{value:"",included:!0}}),C({constraints:{type:p.ConstraintType.RANGE,value:e}})},onChange:function(e){C({constraints:{type:p.ConstraintType.RANGE,value:e}})},onDelete:function(e){var t=r([],o(null!=O?O:[]),!1);t.splice(e,1),C({constraints:{type:p.ConstraintType.RANGE,value:t}})},countLimit:z},void 0)},void 0)}),void 0),S===p.ConstraintType.ENUMERATION&&void 0!==R&&(0,a.jsx)(l.Card,i({isCompact:!0,className:"constraints__card"},{children:(0,a.jsx)(l.CardBody,{children:(0,a.jsx)(g.default,{dataFieldIndex:w,enumerations:R,onChange:function(e,t){var n=r([],o(null!=R?R:[]),!1);n[t]=e,C({constraints:{type:p.ConstraintType.ENUMERATION,value:n}})},onDelete:function(e){var t=r([],o(null!=R?R:[]),!1);t.splice(e,1),C({constraints:{type:p.ConstraintType.ENUMERATION,value:t}})},onAdd:function(){var e=r(r([],o(null!=R?R:[]),!1),[""],!1);C({constraints:{type:p.ConstraintType.ENUMERATION,value:e}})},onSort:function(e,t){if(R){var n=m(R,e,t);C({constraints:{type:p.ConstraintType.ENUMERATION,value:n}})}}},void 0)},void 0)}),void 0)]}),void 0)};var m=function(e,t,n){var i=r([],o(e),!1),a=o(i.splice(t,1),1)[0];return i.splice(n,0,a),i},v=function(e){var t=[{value:p.ConstraintType.NONE,label:"Select a type",disabled:!1},{value:p.ConstraintType.RANGE,label:"Interval",disabled:!1},{value:p.ConstraintType.ENUMERATION,label:"Value",disabled:!1}];"string"===e.type&&"ordinal"===e.optype&&(t[0].disabled=!0,t[1].disabled=!0),"continuous"!==e.optype&&(t[1].disabled=!0),e.isCyclic&&(t[0].disabled=!0);var n=t.filter((function(e){return!e.disabled})).length;return{typeOptions:t,enabledTypeOptionsCount:n}},b=function(e){return"ordinal"===e.optype&&e.isCyclic?"Cyclic ordinal data types must have Value constraints":"continuous"===e.optype&&e.isCyclic?"Cyclic continuous data types must have constraints":"string"===e.type&&"ordinal"===e.optype?"Ordinal strings must have Value constraints":"continuous"!==e.optype?"Only continuous data types can have Interval constraints":""}},84934:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(29901),l=n(39074),c=n(40002),d=n(53299),u=n(93104),h=n(63187),p=n(23554),f=n(95619),g=n(61042),m=n(24820),v=n(66487);n(24059),t.default=function(e){var t=e.dataFieldIndex,n=e.enumerations,a=e.onAdd,l=e.onChange,u=e.onDelete,h=e.onSort,f=o((0,s.useState)(n),2),g=f[0],m=f[1],v=o((0,s.useState)(),2),_=v[0],A=v[1];return(0,s.useEffect)((function(){m(n)}),[n]),(0,r.jsx)(y.Provider,i({value:{addedEnum:_,updateAddedEnum:function(e){A(e)},dataFieldIndex:t}},{children:(0,r.jsx)("section",i({className:"constraints-enum"},{children:(0,r.jsxs)(p.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(p.StackItem,{children:(0,r.jsx)(d.TextContent,{children:(0,r.jsx)(d.Text,i({component:d.TextVariants.small},{children:"Add constraints values to limit and define valid inputs for the data type."}),void 0)},void 0)},void 0),(0,r.jsx)(p.StackItem,{children:(0,r.jsx)(b,{items:g,onUpdate:function(e,t){l(e,t)},onTab:function(){console.log("tab detected")},onDelete:function(e){u(e)},onSortEnd:function(e){var t=e.oldIndex,n=e.newIndex;h(t,n)},lockAxis:"y",distance:10},void 0)},void 0),(0,r.jsx)(p.StackItem,{children:(0,r.jsx)(c.Button,i({variant:c.ButtonVariant.secondary,onClick:function(){a(),A(g.length)},ouiaId:"add-another-value"},{children:"Add another value"}),void 0)},void 0)]}),void 0)}),void 0)}),void 0)};var b=(0,l.SortableContainer)((function(e){var t=e.items,n=e.onUpdate,o=e.onTab,a=e.onDelete;return(0,r.jsx)("ul",i({className:"constraints-enum__list","aria-label":"Compact data list example"},{children:t.map((function(e,i){return(0,r.jsx)(_,{enumValue:e,index:i,position:i,onUpdate:n,onTab:o,onDelete:a,enumsCount:t.length,disabled:1===t.length},i+e)}))}),void 0)})),_=(0,l.SortableElement)((function(e){var t=e.enumValue,n=e.enumsCount,a=e.position,l=e.onUpdate,d=e.onTab,p=e.onDelete,b=o((0,s.useState)(t),2),_=b[0],A=b[1],w=(0,s.useContext)(y),C=w.dataFieldIndex,x=w.addedEnum,S=w.updateAddedEnum,E=(0,m.useValidationRegistry)().validationRegistry,k=(0,s.useRef)(E.get((0,v.Builder)().forDataDictionary().forDataField(C).forValue(a).build()));(0,s.useEffect)((function(){k.current=E.get((0,v.Builder)().forDataDictionary().forDataField(C).forValue(a).build())}),[a,t]);var M=(0,s.useRef)(null);return(0,s.useEffect)((function(){if(M.current&&x===a){var e=document.querySelector(".data-dictionary__properties-edit__form .constraints__form");null==e||e.scroll({top:null==e?void 0:e.scrollHeight,behavior:"smooth"}),S(void 0)}}),[x,M.current,a]),(0,r.jsx)("li",i({className:"constraints-enum__item ".concat(1===n?"constraints-enum__item--sort-disabled":""),tabIndex:20+a,ref:M,"data-ouia-component-id":"val-".concat(a)},{children:(0,r.jsxs)(h.Flex,{children:[(0,r.jsx)(h.FlexItem,{children:(0,r.jsx)(c.Button,i({variant:"plain","aria-label":"Drag to sort",component:"span",isDisabled:1===n,ouiaId:"drag-it"},{children:(0,r.jsx)(f.GripVerticalIcon,{},void 0)}),void 0)},void 0),(0,r.jsx)(h.FlexItem,{children:(0,r.jsx)(u.TextInput,{className:"constraints-enum__field",type:"text",id:"enum-value-".concat(a),name:"enum-value-".concat(a),placeholder:"Please enter a value",value:_,onChange:function(e){A(e)},onBlur:function(){l(_,a)},onKeyDown:function(e){"Tab"===e.key&&d()},autoComplete:"off",validated:k.current.length>0?"warning":"default","data-ouia-component-type":"value-name"},void 0)},void 0),(0,r.jsx)(h.FlexItem,i({align:{default:"alignRight"}},{children:(0,r.jsx)(c.Button,i({variant:c.ButtonVariant.plain,onClick:function(){p(a)},isDisabled:1===n,ouiaId:"delete-item"},{children:(0,r.jsx)(g.TrashIcon,{},void 0)}),void 0)}),void 0)]},void 0)}),void 0)})),y=a.createContext({addedEnum:void 0,updateAddedEnum:function(){return null},dataFieldIndex:void 0})},13961:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(29901),a=n(21717),s=n(39378),l=n(30875),c=n(40237),d=n(24820),u=n(66487);n(16838),t.default=function(e){var t=e.dataType,n=e.dataTypeIndex,p=e.editMode,f=void 0!==p&&p,g=e.onConstraintsDelete,m=(0,r.useMemo)((function(){if(f&&!h(t))return function(e){e.nativeEvent.stopImmediatePropagation(),null==g||g()}}),[n,t]),v=(0,r.useMemo)((function(){return!t.constraints&&h(t)}),[t]),b=(0,r.useMemo)((function(){if(t.constraints)switch(t.constraints.type){case l.ConstraintType.RANGE:return t.constraints.value.map((function(e){return"".concat(e.start.included?"[":"(")+"".concat(e.start.value||"".concat(String.fromCharCode(8722,8734)),", ")+"".concat(e.end.value||"".concat(String.fromCharCode(43,8734)))+"".concat(e.end.included?"]":")")})).join(" ");case l.ConstraintType.ENUMERATION:return(0,s.every)(t.constraints.value,(function(e){return""===e}))?(0,o.jsx)("em",{children:"No values"},void 0):t.constraints.value.map((function(e){return'"'.concat(e,'"')})).join(", ");default:return""}return""}),[t.constraints]),_=(0,d.useValidationRegistry)().validationRegistry,y=(0,r.useMemo)((function(){return _.get((0,u.Builder)().forDataDictionary().forDataField(n).build())}),[n,t]);return(0,o.jsxs)(o.Fragment,{children:[v&&(0,o.jsx)(c.ValidationIndicatorLabel,i({validations:y,cssClass:"constraints-label"},{children:(0,o.jsx)("em",{children:"Missing required constraints"},void 0)}),void 0),!v&&t.constraints&&(0,o.jsxs)(o.Fragment,{children:[y.length>0&&(0,o.jsx)(c.ValidationIndicatorLabel,i({validations:y,onClose:m,cssClass:"constraints-label","data-ouia-component-id":"invalid-constraints","data-ouia-component-type":"data-props-label"},{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Constraints:"},void 0),"ย ",(0,o.jsx)("span",{children:b},void 0)]},void 0)}),void 0),0===y.length&&(0,o.jsxs)(a.Label,i({color:"cyan",className:"constraints-label",onClose:m,"data-ouia-component-id":"constraints","data-ouia-component-type":"data-props-label"},{children:[(0,o.jsx)("strong",{children:"Constraints:"},void 0),"ย ",(0,o.jsx)("span",{children:b},void 0)]}),void 0)]},void 0)]},void 0)};var h=function(e){return e.isCyclic||"string"===e.type&&"ordinal"===e.optype}},85508:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var a=n(61250),s=n(29901),l=n(40002),c=n(53299),d=n(93104),u=n(63187),h=n(23554),p=n(79477),f=n(36841),g=n(36435),m=n(61042);n(55777);var v=n(24820),b=n(66487);t.default=function(e){var t=e.dataFieldIndex,n=e.ranges,d=e.onAdd,u=e.onChange,p=e.onDelete,f=e.countLimit,g=o((0,s.useState)(),2),m=g[0],v=g[1],b=function(e,t){var i=r([],o(n),!1);i[e]=t,u(i)},y=function(e){v(e)};return(0,a.jsxs)(h.Stack,i({hasGutter:!0},{children:[(0,a.jsx)(h.StackItem,{children:(0,a.jsx)(c.TextContent,{children:(0,a.jsx)(c.Text,i({component:c.TextVariants.small},{children:"At least the Start Value or End Value is required for each interval"}),void 0)},void 0)},void 0),(0,a.jsx)(h.StackItem,{children:n.map((function(e,i){return(0,a.jsx)(_,{dataFieldIndex:t,range:e,rangesCount:n.length,index:i,onSave:b,onDelete:p,addedRange:m,updateAddedRange:y},i)}))},void 0),(0,a.jsx)(h.StackItem,{children:(0,a.jsx)(l.Button,i({variant:"secondary",onClick:function(){d(),v(n.length)},isDisabled:void 0!==f&&n.length>=f,isSmall:!0,ouiaId:"add-another-interval"},{children:"Add another interval"}),void 0)},void 0)]}),void 0)};var _=function(e){var t=e.dataFieldIndex,n=e.range,r=e.rangesCount,c=e.index,h=e.onSave,_=e.onDelete,y=e.addedRange,A=e.updateAddedRange,w=o((0,s.useState)(n),2),C=w[0],x=w[1],S=o((0,s.useState)(!1),2),E=S[0],k=S[1],M=function(e,t){switch(t.target.name){case"start-value":x(i(i({},C),{start:i(i({},C.start),{value:e})}));break;case"start-included":x(i(i({},C),{start:i(i({},C.start),{included:e})}));break;case"end-value":x(i(i({},C),{end:i(i({},C.end),{value:e})}));break;case"end-included":x(i(i({},C),{end:i(i({},C.end),{included:e})}))}},D=function(){k(!0)},N=(0,s.useRef)(null);(0,s.useEffect)((function(){E&&(h(c,C),k(!1))}),[E,C]),(0,s.useEffect)((function(){x(n)}),[n]),(0,s.useEffect)((function(){if(N.current&&y===c){var e=document.querySelector(".data-dictionary__properties-edit__form .constraints__form");null==e||e.scroll({top:null==e?void 0:e.scrollHeight,behavior:"smooth"}),A(void 0)}}),[y,c,N.current]);var I=(0,v.useValidationRegistry)().validationRegistry,T=(0,s.useMemo)((function(){return I.get((0,b.Builder)().forDataDictionary().forDataField(t).forInterval(c).build())}),[n]);return(0,a.jsx)("section",i({ref:N,"data-ouia-component-id":"interval-".concat(c),"data-ouia-component-type":"interval-item"},{children:(0,a.jsxs)(p.Split,i({hasGutter:!0,className:"constraints__range-item"},{children:[(0,a.jsxs)(p.SplitItem,i({isFilled:!0},{children:[(0,a.jsx)(f.FormGroup,i({label:"Start Value",fieldId:"start-value-".concat(c),helperText:T[0]?"Please enter start and/or end value":""},{children:(0,a.jsx)(d.TextInput,{type:"number",id:"start-value-".concat(c),name:"start-value",value:C.start.value,validated:0===T.length?"default":"warning",onChange:M,onBlur:D,tabIndex:10*(c+1)+1,autoComplete:"off",ouiaId:"start-value"},void 0)}),void 0),(0,a.jsx)(f.FormGroup,i({fieldId:"start-included-".concat(c),className:"constraints__include-range"},{children:(0,a.jsx)(g.Checkbox,{label:"Include Start Value","aria-label":"Include Start Value",id:"start-included-".concat(c),name:"start-included",isChecked:C.start.included,onChange:M,onClick:D,tabIndex:10*(c+1)+3,ouiaId:"is-start-included"},void 0)}),void 0)]}),void 0),(0,a.jsxs)(p.SplitItem,i({isFilled:!0},{children:[(0,a.jsx)(f.FormGroup,i({label:"End Value",fieldId:"end-value-".concat(c),helperText:T[0]?"Please enter start and/or end value":""},{children:(0,a.jsx)(d.TextInput,{type:"number",id:"end-value-".concat(c),name:"end-value",value:C.end.value,validated:0===T.length?"default":"warning",onChange:M,onBlur:D,tabIndex:10*(c+1)+2,autoComplete:"off",ouiaId:"end-value"},void 0)}),void 0),(0,a.jsx)(f.FormGroup,i({fieldId:"end-included-".concat(c),className:"constraints__include-range"},{children:(0,a.jsx)(g.Checkbox,{label:"Include End Value","aria-label":"Include End Value",id:"end-included-".concat(c),name:"end-included",isChecked:C.end.included,onChange:M,onClick:D,tabIndex:10*(c+1)+4,ouiaId:"is-end-included"},void 0)}),void 0)]}),void 0),(0,a.jsx)(p.SplitItem,{children:(0,a.jsx)(u.Flex,i({alignItems:{default:"alignItemsCenter"},justifyContent:{default:"justifyContentCenter"},style:{height:"100%"}},{children:(0,a.jsx)(u.FlexItem,{children:(0,a.jsx)(l.Button,i({variant:"plain","aria-label":"Delete Range",onClick:function(){_(c)},isDisabled:1===r,tabIndex:10*(c+1)+5,ouiaId:"delete-item"},{children:(0,a.jsx)(m.TrashIcon,{},void 0)}),void 0)},void 0)}),void 0)},void 0)]}),void 0)}),void 0)}},30875:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstraintType=void 0;var r=n(61250),a=n(29901),s=n(44125),l=n(40002),c=n(63187),d=n(7003),u=n(51319),h=n(18995),p=n(9409),f=n(16685),g=n(26832),m=n(9323),v=n(28756),b=n(34029),_=n(34822);n(97384);var y,A=n(66951),w=n(39378),C=n(24820),x=n(66487);t.default=function(e){var t=e.dataDictionary,n=e.onAdd,y=e.onEdit,S=e.onDelete,E=e.onReorder,k=e.onBatchAdd,M=e.onEditingPhaseChange,D=o((0,a.useState)(t),2),N=D[0],I=D[1],T=o((0,a.useState)(),2),L=T[0],B=T[1],O=o((0,a.useState)("main"),2),P=O[0],F=O[1],R=o((0,a.useState)(),2),j=R[0],z=R[1],V=o((0,a.useState)(!1),2),W=V[0],H=V[1],U=o((0,a.useState)(void 0),2),Q=U[0],G=U[1];(0,a.useEffect)((function(){L===t.length&&(B(void 0),"main"!==P&&F("main"),M(!1)),"properties"===P&&void 0!==L&&z(t[L]),I(t)}),[t,L,P]);var K,Y=function(){B(void 0),M(!1)},$=function(e,t){!function(e,t){y(t,N[t].name,e)}(e,t)},J=function(e,t){var n;S(e),"mouse"===t?document.activeElement instanceof HTMLElement&&(null===(n=document.activeElement)||void 0===n||n.blur()):"keyboard"===t&&G(e),B(void 0),M(!1)},q=function(e){B(e),M(!0)},Z=function(e){void 0!==L&&(z(e),F("properties"),M(!0))},X=function(e){void 0!==L&&y(L,N[L].name,e)},ee=function(e){var t=!0;return 0!==e.trim().length&&(void 0!==N.find((function(t,n){return t.name===e.trim()&&n!==L}))&&(t=!1),t)},te=(0,C.useValidationRegistry)().validationRegistry,ne=(0,a.useRef)(te.get((0,x.Builder)().forDataDictionary().build()));return(0,a.useEffect)((function(){void 0===L&&(ne.current=te.get((0,x.Builder)().forDataDictionary().build()))}),[t,L]),(0,a.useEffect)((function(){var e;void 0!==Q&&(null===(e=document.querySelector("#data-type-item-n".concat(Q)))||void 0===e||e.focus())}),[t,Q]),(0,r.jsx)("div",i({className:"data-dictionary","data-testid":"data-dictionary-container"},{children:(0,r.jsx)(s.SwitchTransition,i({mode:"out-in"},{children:(0,r.jsx)(s.CSSTransition,i({timeout:{enter:230,exit:100},classNames:(K=P,"main"===K?"data-dictionary__overview":"batch-add"===K?"enter-from-above":"enter-from-right")},{children:(0,r.jsxs)(r.Fragment,{children:["main"===P&&(0,r.jsxs)("section",i({className:"data-dictionary__overview"},{children:[(0,r.jsxs)(c.Flex,i({className:"data-dictionary__toolbar","data-ouia-component-id":"dd-toolbar"},{children:[(0,r.jsx)(c.FlexItem,{children:(0,r.jsx)(l.Button,i({variant:"primary",onClick:function(e){e.stopPropagation(),e.preventDefault(),n((0,_.findIncrementalName)("New Data Type",N.map((function(e){return e.name})),1),"string","categorical"),B(N.length),M(!0)},icon:(0,r.jsx)(p.PlusIcon,{},void 0),iconPosition:"left",isDisabled:void 0!==L||W,ouiaId:"add-data-type"},{children:"Add Data Type"}),void 0)},void 0),(0,r.jsx)(c.FlexItem,{children:(0,r.jsx)(l.Button,i({variant:"secondary",onClick:function(){return F("batch-add")},icon:(0,r.jsx)(f.BoltIcon,{},void 0),iconPosition:"left",isDisabled:void 0!==L||W,ouiaId:"add-multiple-data-type"},{children:"Add Multiple Data Types"}),void 0)},void 0),(0,r.jsx)(c.FlexItem,i({align:{default:"alignRight"}},{children:(0,r.jsx)(l.Button,i({variant:W?"primary":"secondary",onClick:function(){B(void 0),H(!W)},icon:(0,r.jsx)(h.SortIcon,{},void 0),iconPosition:"left",isDisabled:void 0!==L,ouiaId:"order-toggle"},{children:W?"End Ordering":"Order"}),void 0)}),void 0)]}),void 0),!W&&(0,r.jsxs)(r.Fragment,{children:[ne.current&&ne.current.length>0&&(0,r.jsx)("section",i({className:"data-dictionary__validation-alert"},{children:(0,r.jsx)(u.Alert,{variant:"warning",isInline:!0,title:"Some items are invalid and need attention."},void 0)}),void 0),(0,r.jsxs)("section",i({className:"data-dictionary__types-list","data-ouia-component-id":"dd-types-list"},{children:[0===N.length&&(0,r.jsx)(d.Bullseye,i({style:{height:"40vh"}},{children:(0,r.jsx)(b.default,{},void 0)}),void 0),N.map((function(e,t){return(0,r.jsx)(g.default,{dataType:e,editingIndex:L,index:t,onSave:$,onEdit:q,onDelete:J,onConstraintsEdit:Z,onConstraintsSave:X,onValidate:ee,onOutsideClick:Y},t)}))]}),void 0)]},void 0),W&&(0,r.jsx)("section",i({className:"data-dictionary__types-list"},{children:(0,r.jsx)(v.default,{dataTypes:N,onReorder:E},void 0)}),void 0)]}),void 0),"batch-add"===P&&(0,r.jsx)(m.default,{onAdd:function(e){var t=e.split("\n").filter((function(e){return e.trim().length>0}));k(t),F("main")},onCancel:function(){return F("main")}},void 0),"properties"===P&&(0,r.jsx)(A.default,{dataType:j,dataFieldIndex:L,onClose:function(){F("main")},onSave:function(e){if(void 0!==L){var t=N[L],n={};Object.keys(e).forEach((function(e){return Reflect.set(n,e,Reflect.get(t,e))})),(0,w.isEqual)(e,n)||y(L,t.name,Object.assign(t,e))}}},void 0)]},void 0)}),P)}),void 0)}),void 0)},(y=t.ConstraintType||(t.ConstraintType={})).RANGE="Range",y.ENUMERATION="Enumeration",y.NONE=""},91873:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(31352),l=n(40002),c=n(79477),d=n(63392),u=n(49726),h=n(3801),p=n(6807),f=n(16414),g=n(30875),m=n(11215),v=n(98130),b=n(96595),_=n(24820),y=n(66487),A=n(40237);t.default=function(){var e=o((0,a.useState)(!1),2),t=e[0],n=e[1],w=(0,s.useSelector)((function(e){return e.DataDictionary})),C=(0,a.useMemo)((function(){return(0,m.convertPMML2DD)(w)}),[w]),x=(0,v.useOperation)().setActiveOperation,S=(0,b.useHistoryService)(),E=S.service,k=S.getCurrentState,M=(0,b.useBatchDispatch)(E,k),D=function(){x(v.Operation.NONE),n(!t)},N=(0,_.useValidationRegistry)().validationRegistry,I=(0,a.useMemo)((function(){return N.get((0,y.Builder)().forDataDictionary().build())}),[C]),T=(0,r.jsxs)(c.Split,i({hasGutter:!0},{children:[(0,r.jsx)(c.SplitItem,i({isFilled:!0},{children:(0,r.jsx)(u.Title,i({headingLevel:"h1",size:u.TitleSizes["2xl"]},{children:"Data Dictionary"}),void 0)}),void 0),(0,r.jsx)(c.SplitItem,{children:(0,r.jsx)(l.Button,i({type:"button",variant:l.ButtonVariant.plain,onClick:D,"data-title":"DataDictionaryModalClose"},{children:(0,r.jsx)(h.CloseIcon,{},void 0)}),void 0)},void 0)]}),void 0);return(0,r.jsxs)(r.Fragment,{children:[0===I.length&&(0,r.jsx)(l.Button,i({variant:"secondary",onClick:D,"data-title":"DataDictionary"},{children:"Set Data Dictionary"}),void 0),I.length>0&&(0,r.jsx)(A.ValidationIndicatorTooltip,i({validations:I},{children:(0,r.jsx)(l.Button,i({variant:"secondary",icon:(0,r.jsx)(p.WarningTriangleIcon,{size:"sm",color:"orange"},void 0),onClick:D,"data-title":"DataDictionary"},{children:"Set Data Dictionary"}),void 0)}),void 0),(0,r.jsx)(d.Modal,i({"aria-label":"data-dictionary",title:"Data Dictionary",header:T,isOpen:t,showClose:!1,variant:d.ModalVariant.large,onEscapePress:function(){return!1},"data-title":"DataDictionaryModal"},{children:(0,r.jsx)(g.default,{dataDictionary:C,onAdd:function(e,t,n){M({type:f.Actions.AddDataDictionaryField,payload:{name:e,type:t,optype:n}})},onEdit:function(e,t,n){M({type:f.Actions.UpdateDataDictionaryField,payload:{dataDictionaryIndex:e,dataField:(0,m.convertToDataField)(n),originalName:t}})},onDelete:function(e){M({type:f.Actions.DeleteDataDictionaryField,payload:{index:e}})},onReorder:function(e,t){M({type:f.Actions.ReorderDataDictionaryFields,payload:{oldIndex:e,newIndex:t}})},onBatchAdd:function(e){M({type:f.Actions.AddBatchDataDictionaryFields,payload:{dataDictionaryFields:e}})},onEditingPhaseChange:function(e){x(e?v.Operation.UPDATE_DATA_DICTIONARY:v.Operation.NONE)}},void 0)}),void 0)]},void 0)}},66951:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(40002),l=n(93104),c=n(23554),d=n(79477),u=n(36841),h=n(51319),p=n(22174),f=n(3680),g=n(49726),m=n(13136),v=n(19618),b=n(30875),_=n(53286);n(69342),t.default=function(e){var t,n,y,A=e.dataType,w=e.dataFieldIndex,C=e.onClose,x=e.onSave,S=o((0,a.useState)(null!==(t=A.displayName)&&void 0!==t?t:""),2),E=S[0],k=S[1],M=o((0,a.useState)(A.isCyclic),2),D=M[0],N=M[1],I=o((0,a.useState)(null!==(n=A.missingValue)&&void 0!==n?n:""),2),T=I[0],L=I[1],B=o((0,a.useState)(null!==(y=A.invalidValue)&&void 0!==y?y:""),2),O=B[0],P=B[1];(0,a.useEffect)((function(){var e,t,n;k(null!==(e=A.displayName)&&void 0!==e?e:""),N(A.isCyclic),L(null!==(t=A.missingValue)&&void 0!==t?t:""),P(null!==(n=A.invalidValue)&&void 0!==n?n:"")}),[A]);var F=function(e){N(e),x({isCyclic:e})},R=(0,a.useMemo)((function(){return"categorical"===A.optype}),[A.optype]),j=(0,a.useMemo)((function(){var e,t;return"continuous"===A.optype&&A.isCyclic&&void 0===A.constraints?"Interval or Value constraints are required for cyclic continuous data types":A.isCyclic&&"continuous"===A.optype&&(null===(e=A.constraints)||void 0===e?void 0:e.type)===b.ConstraintType.RANGE&&(null===(t=A.constraints.value)||void 0===t?void 0:t.length)>1?"Cyclic continuous data types can only have a single interval constraint":void 0}),[A]);return(0,r.jsxs)(c.Stack,i({hasGutter:!0,className:"data-dictionary__properties-edit"},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(g.Title,i({headingLevel:"h4",size:g.TitleSizes.xl},{children:[(0,r.jsx)(s.Button,i({variant:"link",isInline:!0,onClick:C},{children:A.name}),void 0),"ย /ย Properties"]}),void 0)},void 0),(0,r.jsx)(c.StackItem,i({className:"data-dictionary__properties-edit__form-container","data-ouia-component-id":"df-props","data-ouia-component-type":"editor-body"},{children:(0,r.jsx)(u.Form,i({className:"data-dictionary__properties-edit__form"},{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,i({className:"data-dictionary__properties-edit__form__left-column"},{children:(0,r.jsxs)(c.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(u.FormGroup,i({className:"data-dictionary__properties-edit__field",label:"Display Name",fieldId:"display-name",helperText:"Display Name to use instead of the data type name"},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"display-name",name:"display-name","aria-describedby":"Display Name",value:E,onChange:function(e){return k(e)},autoComplete:"off",onBlur:function(){return x({displayName:""===E?void 0:E})},ouiaId:"display-name"},void 0)}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(u.FormGroup,i({className:"data-dictionary__properties-edit__field",label:"Cyclic Type",fieldId:"is-cyclic",isInline:!0,labelIcon:"categorical"===A.optype?(0,r.jsx)(p.Tooltip,i({content:"Categorical fields cannot be cyclic"},{children:(0,r.jsx)("button",i({"aria-label":"More info for Cyclic Type",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(m.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0):(0,r.jsx)(r.Fragment,{},void 0)},{children:[(0,r.jsx)(f.Radio,{isChecked:!0===D,name:"isCyclic",onChange:function(){F(!0)},label:"Yes",id:"isCyclic",value:"isCyclic",isDisabled:R},void 0),(0,r.jsx)(f.Radio,{isChecked:!1===D,name:"isNotCyclic",onChange:function(){F(!1)},label:"No",id:"isNotCyclic",value:"isNotCyclic",isDisabled:R},void 0),(0,r.jsx)(f.Radio,{isChecked:void 0===D,name:"cyclicNotSet",onChange:function(){F(void 0)},label:"Not Set",id:"cyclicNotSet",value:"cyclicNotSet",isDisabled:R},void 0)]}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(u.FormGroup,i({className:"data-dictionary__properties-edit__field",label:"Missing Value",fieldId:"missing-value",helperText:"Value for when the input is missing"},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"missing-value",name:"missing-value","aria-describedby":"Missing Value",value:T,onChange:function(e){return L(e)},autoComplete:"off",onBlur:function(){return x({missingValue:""===T?void 0:T})},ouiaId:"missing-value"},void 0)}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(u.FormGroup,i({className:"data-dictionary__properties-edit__field",label:"Invalid Value",fieldId:"missing-value",helperText:"Value for when the input is invalid"},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"invalid-value",name:"invalid-value","aria-describedby":"Invalid Value",value:O,onChange:function(e){return P(e)},autoComplete:"off",onBlur:function(){return x({invalidValue:""===O?void 0:O})},ouiaId:"invalid-value"},void 0)}),void 0)},void 0)]}),void 0)}),void 0),(0,r.jsx)(d.SplitItem,i({isFilled:!0},{children:(0,r.jsxs)("section",i({className:"data-dictionary__constraints-section"},{children:[j&&(0,r.jsx)(h.Alert,{variant:"warning",isInline:!0,className:"data-dictionary__validation-alert",title:j},void 0),(0,r.jsx)(_.default,{dataType:A,dataFieldIndex:w,onSave:x},void 0)]}),void 0)}),void 0)]}),void 0)}),void 0)}),void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(s.Button,i({variant:"primary",onClick:C,icon:(0,r.jsx)(v.ArrowAltCircleLeftIcon,{},void 0),iconPosition:"left",ouiaId:"back-to-DFs"},{children:"Back"}),void 0)},void 0)]}),void 0)}},26832:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(280),l=n(40002),c=n(93104),d=n(63187),u=n(23554),h=n(79477),p=n(36841),f=n(60158),g=n(21717),m=n(61042),v=n(31363),b=n(31822);n(75501);var _=n(13961),y=n(80446),A=n(24820),w=n(66487),C=n(40237);t.default=function(e){var t=e.dataType,n=e.index,x=e.editingIndex,S=e.onSave,E=e.onEdit,k=e.onDelete,M=e.onConstraintsEdit,D=e.onConstraintsSave,N=e.onValidate,I=e.onOutsideClick,T=o((0,a.useState)(t.name),2),L=T[0],B=T[1],O=o((0,a.useState)(t.type),2),P=O[0],F=O[1],R=o((0,a.useState)(!1),2),j=R[0],z=R[1],V=o((0,a.useState)(t.optype),2),W=V[0],H=V[1],U=o((0,a.useState)(!1),2),Q=U[0],G=U[1],K=o((0,a.useState)("default"),2),Y=K[0],$=K[1],J=(0,s.default)((function(){I()}),{eventTypes:["click"],disabled:x!==n}),q=function(e){e.preventDefault(),e.stopPropagation(),null==E||E(n)},Z=function(e,t){e.stopPropagation(),e.preventDefault(),k&&k(n,t)};(0,a.useEffect)((function(){if(x===n){var e=document.querySelector(".data-type-item-n".concat(n," #name"));null==e||e.focus(),L.startsWith("New Data Type")&&(null==e||e.select())}else"success"!==Y&&(B(t.name),$("default"))}),[x]),(0,a.useEffect)((function(){B(t.name),F(t.type),H(t.optype)}),[t]);var X=(0,A.useValidationRegistry)().validationRegistry,ee=(0,a.useMemo)((function(){return X.get((0,w.Builder)().forDataDictionary().forDataField(n).build())}),[n,t]);return(0,r.jsxs)("article",i({id:"data-type-item-n".concat(n),"data-testid":"data-type-item-n".concat(n),className:"editable-item ".concat(x===n?"editable-item--editing":""," data-type-item-n").concat(n),"data-ouia-component-id":L,"data-ouia-component-type":"dd-type-item",tabIndex:0},{children:[x===n&&(0,r.jsx)("section",i({className:"editable-item__inner",ref:J,onKeyDown:function(e){"Escape"===e.key&&I()}},{children:(0,r.jsx)(p.Form,i({onSubmit:function(e){e.stopPropagation(),e.preventDefault()}},{children:(0,r.jsx)(h.Split,i({hasGutter:!0},{children:(0,r.jsx)(h.SplitItem,{children:(0,r.jsxs)(u.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(u.StackItem,{children:(0,r.jsxs)(h.Split,i({hasGutter:!0},{children:[(0,r.jsx)(h.SplitItem,{children:(0,r.jsx)(p.FormGroup,i({fieldId:"name",label:"Name",helperTextInvalid:"Name is mandatory and must be unique",helperTextInvalidIcon:(0,r.jsx)(b.ExclamationCircleIcon,{},void 0),validated:Y,style:{width:280},isRequired:!0,"data-ouia-component-type":"field-name"},{children:(0,r.jsx)(c.TextInput,{type:"text",id:"name",name:"name",value:L,onChange:function(e){B(e),$(N(e)?"default":"error")},placeholder:"Name",validated:Y,onBlur:function(){"error"===Y?(B(t.name),$("default")):L!==t.name&&S({name:L.trim(),type:P,optype:W},n)},autoComplete:"off"},void 0)}),void 0)},void 0),(0,r.jsx)(h.SplitItem,{children:(0,r.jsx)(p.FormGroup,i({fieldId:"type",label:"Type",isRequired:!0,"data-ouia-component-type":"field-type"},{children:(0,r.jsx)(f.Select,i({id:"type",variant:f.SelectVariant.single,"aria-label":"Select Input Type",onToggle:function(e){z(e)},onSelect:function(e,o){o!==P&&(F(o),z(!1),S(i(i({},t),{type:o}),n))},selections:P,isOpen:j,placeholder:"Type",className:"data-type-item__type-select",menuAppendTo:"parent"},{children:[{value:"string"},{value:"integer"},{value:"float"},{value:"double"},{value:"boolean"}].map((function(e,t){return(0,r.jsx)(f.SelectOption,{value:e.value,className:"ignore-onclickoutside data-type-item__type-select__option","data-ouia-component-type":"select-option"},t)}))}),void 0)}),void 0)},void 0),(0,r.jsx)(h.SplitItem,{children:(0,r.jsx)(p.FormGroup,i({fieldId:"optype",label:"Op Type",isRequired:!0,"data-ouia-component-type":"field-optype"},{children:(0,r.jsx)(f.Select,i({id:"optype",variant:f.SelectVariant.single,"aria-label":"Select Op Type",onToggle:function(e){G(e)},onSelect:function(e,o){o!==W&&(H(o),G(!1),S(i(i({},t),{optype:o}),n))},selections:W,isOpen:Q,placeholder:"Op Type",className:"data-type-item__type-select",menuAppendTo:"parent"},{children:[{value:"categorical"},{value:"ordinal"},{value:"continuous"}].map((function(e,t){return(0,r.jsx)(f.SelectOption,{value:e.value,className:"ignore-onclickoutside data-type-item__type-select__option","data-ouia-component-type":"select-option"},t)}))}),void 0)}),void 0)},void 0),(0,r.jsx)(h.SplitItem,i({isFilled:!0},{children:"ย "}),void 0)]}),void 0)},void 0),(0,r.jsx)(u.StackItem,{children:(0,r.jsx)(h.Split,i({hasGutter:!0},{children:(0,r.jsxs)(h.SplitItem,{children:[(0,r.jsx)(y.default,{dataType:t,editingIndex:x,onPropertyDelete:function(e,t){S(e,t)}},void 0),(0,r.jsx)(_.default,{dataType:t,dataTypeIndex:n,editMode:!0,onConstraintsDelete:function(){var e=i({},t);delete e.constraints,D(e)}},void 0),(0,r.jsx)(g.Label,i({variant:"outline",color:"cyan",href:"#",icon:(0,r.jsx)(v.ArrowAltCircleRightIcon,{},void 0),onClick:function(e){e.preventDefault(),M(i(i({},t),{name:L,type:P}))},"data-ouia-component-id":"edit-props","data-ouia-component-type":"link-label"},{children:"Edit Properties"}),void 0)]},void 0)}),void 0)},void 0)]}),void 0)},void 0)}),void 0)}),void 0)}),void 0),x!==n&&(0,r.jsx)("section",i({className:"editable-item__inner",onClick:q,onKeyDown:function(e){"Enter"===e.key&&q(e)}},{children:(0,r.jsxs)(h.Split,i({hasGutter:!0},{children:[ee.length>0&&(0,r.jsx)(h.SplitItem,{children:(0,r.jsx)(d.Flex,i({alignItems:{default:"alignItemsCenter"},justifyContent:{default:"justifyContentCenter"},style:{height:"100%"}},{children:(0,r.jsx)(d.FlexItem,{children:(0,r.jsx)(C.ValidationIndicator,{validations:ee},void 0)},void 0)}),void 0)},void 0),(0,r.jsx)(h.SplitItem,{children:(0,r.jsx)("span",i({className:"data-type-item__name"},{children:L}),void 0)},void 0),(0,r.jsxs)(h.SplitItem,i({isFilled:!0},{children:[(0,r.jsx)(g.Label,i({color:"blue",className:"data-type-item__type-label","data-ouia-component-id":P,"data-ouia-component-type":"data-type-label"},{children:P}),void 0)," ",(0,r.jsx)(g.Label,i({color:"blue",className:"data-type-item__type-label","data-ouia-component-id":W,"data-ouia-component-type":"data-optype-label"},{children:W}),void 0)," ",(0,r.jsx)(y.default,{dataType:t},void 0),(0,r.jsx)(_.default,{dataType:t,dataTypeIndex:n},void 0)]}),void 0),(0,r.jsx)(h.SplitItem,{children:(0,r.jsx)(l.Button,i({id:"data-type-item-n".concat(n,"__delete"),"data-testid":"data-type-item-n".concat(n,"__delete"),ouiaId:"delete-field",className:"editable-item__delete",variant:"plain",onClick:function(e){return Z(e,"mouse")},onKeyDown:function(e){"Enter"===e.key&&Z(e,"keyboard")}},{children:(0,r.jsx)(m.TrashIcon,{},void 0)}),void 0)},void 0)]}),void 0)}),void 0)]}),void 0)}},28756:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var a=n(61250),s=n(29901),l=n(39074),c=n(40002),d=n(63187),u=n(21717),h=n(95619);n(74554),t.default=function(e){var t=e.dataTypes,n=e.onReorder,i=o((0,s.useState)(t),2),r=i[0],l=i[1];return(0,s.useEffect)((function(){l(t)}),[t]),(0,a.jsx)(p,{items:r,onSortEnd:function(e){var t=e.oldIndex,i=e.newIndex,o=g(r,t,i);l(o),n(t,i)},lockAxis:"y",helperClass:r.length>=8?"data-type-item__sortable--sm-size":r.length>=5?"data-type-item__sortable--md-size":void 0},void 0)};var p=(0,l.SortableContainer)((function(e){var t=e.items;return(0,a.jsx)("ul",i({className:"data-types-sorting"},{children:t.map((function(e,t){return(0,a.jsx)(f,{index:t,item:e},"item-".concat(e.name))}))}),void 0)})),f=(0,l.SortableElement)((function(e){var t=e.item;return(0,a.jsx)("li",i({className:"editable-item data-type-item__sortable"},{children:(0,a.jsx)("section",i({className:"editable-item__inner","data-ouia-component-id":t.name},{children:(0,a.jsxs)(d.Flex,i({alignItems:{default:"alignItemsCenter"}},{children:[(0,a.jsx)(d.FlexItem,i({spacer:{default:"spacerXs"}},{children:(0,a.jsx)(c.Button,i({variant:"plain","aria-label":"Drag to sort",component:"span",ouiaId:"drag-it"},{children:(0,a.jsx)(h.GripVerticalIcon,{},void 0)}),void 0)}),void 0),(0,a.jsx)(d.FlexItem,{children:(0,a.jsx)("strong",{children:t.name},void 0)},void 0),(0,a.jsxs)(d.FlexItem,{children:[(0,a.jsx)(u.Label,i({color:"blue"},{children:t.type}),void 0)," ",(0,a.jsx)(u.Label,i({color:"blue"},{children:t.optype}),void 0)]},void 0)]}),void 0)}),void 0)}),void 0)})),g=function(e,t,n){var i=r([],o(e),!1),a=o(i.splice(t,1),1)[0];return i.splice(n,0,a),i}},34029:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(49726),a=n(4010),s=n(19333);t.default=function(){return(0,o.jsxs)(a.EmptyState,i({variant:a.EmptyStateVariant.large},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.BoxesIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg",ouiaId:"no-data-fields-title"},{children:"No Data Fields Defined"}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"It looks empty here. Start adding fields using the buttons above."},void 0)]}),void 0)}},9323:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(40002),l=n(53299),c=n(23554),d=n(36841),u=n(72755);n(15746),t.default=function(e){var t=e.onAdd,n=e.onCancel,h=o((0,a.useState)(""),2),p=h[0],f=h[1],g=o((0,a.useState)("default"),2),m=g[0],v=g[1];return(0,a.useEffect)((function(){var e;null===(e=document.querySelector("#data-types"))||void 0===e||e.focus()}),[]),(0,r.jsx)("section",{children:(0,r.jsxs)(c.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(l.TextContent,{children:[(0,r.jsx)(l.Text,i({component:l.TextVariants.h3},{children:"Add Multiple Data Types"}),void 0),(0,r.jsxs)(l.Text,i({component:l.TextVariants.p},{children:["You can add multiple data types by entering their names below. Add them one per line.",(0,r.jsx)("br",{},void 0),"They will be created with the default type of ",(0,r.jsx)("em",{children:"String"},void 0),". You will be able to edit them later."]}),void 0)]},void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Form,i({onSubmit:function(e){var n;"success"===(n=p.trim().length>0?"success":"error",v(n),n)&&t(p),e.preventDefault()},style:{gridGap:0}},{children:[(0,r.jsx)(d.FormGroup,i({label:"Data Types",fieldId:"data-types",isRequired:!0,validated:m,helperTextInvalid:"Please enter at least one Data Type Name"},{children:(0,r.jsx)(u.TextArea,{className:"data-dictionary__multiple-data-types","data-ouia-component-id":"multiple-data-types",value:p,onChange:function(e){f(e)},name:"data-types",isRequired:!0,id:"data-types",placeholder:"First Data Type\nSecond Data Type\n..."},void 0)}),void 0),(0,r.jsxs)(d.ActionGroup,{children:[(0,r.jsx)(s.Button,i({variant:"primary",type:"submit",ouiaId:"add-them"},{children:"Add Them"}),void 0),(0,r.jsx)(s.Button,i({variant:"link",ouiaId:"cancel",onClick:function(){return n()}},{children:"Never mind"}),void 0)]},void 0)]}),void 0)},void 0)]}),void 0)},void 0)}},80446:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(21717);n(37514),t.default=function(e){var t=e.dataType,n=e.editingIndex,a=e.onPropertyDelete,s=function(e,t,s){return(0,o.jsxs)(r.Label,i({className:"properties-labels__item",color:"cyan",closeBtnProps:{className:"ignore-onclickoutside"},onClose:void 0!==n?function(){return null==a?void 0:a(s,n)}:void 0,"data-ouia-component-id":e,"data-ouia-component-type":"data-props-label"},{children:[(0,o.jsxs)("strong",{children:[e,":"]},void 0),"ย ",(0,o.jsx)("span",{children:t},void 0)]}),void 0)};return(0,o.jsxs)(o.Fragment,{children:[void 0!==t.displayName&&s("Display Name",t.displayName,i(i({},t),{displayName:void 0})),void 0!==t.isCyclic&&s("Is Cyclic",t.isCyclic?"Yes":"No",i(i({},t),{isCyclic:void 0})),void 0!==t.invalidValue&&s("Invalid Value",t.invalidValue,i(i({},t),{invalidValue:void 0})),void 0!==t.missingValue&&s("Missing Value",t.missingValue,i(i({},t),{missingValue:void 0}))]},void 0)}},11215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertFromDataField=t.convertToDataField=t.convertPMML2DD=void 0;var i=n(30875);t.convertPMML2DD=function(e){return void 0===e?[]:e.DataField.filter((function(e){return void 0!==e.dataType})).map((function(e){return(0,t.convertFromDataField)(e)}))},t.convertToDataField=function(e){var t={name:e.name,dataType:e.type,optype:e.optype};return t.displayName=e.displayName,void 0!==e.isCyclic&&(t.isCyclic=e.isCyclic?"1":"0"),e.missingValue&&(t.Value=t.Value||[],t.Value.push({property:"missing",value:e.missingValue})),e.invalidValue&&(t.Value=t.Value||[],t.Value.push({property:"invalid",value:e.invalidValue})),e.constraints&&(e.constraints.type===i.ConstraintType.RANGE&&e.constraints.value.length>0&&(t.Interval=e.constraints.value.map((function(e){var t,n,i={closure:"".concat((null===(t=null==e?void 0:e.start)||void 0===t?void 0:t.included)?"closed":"open").concat((null===(n=null==e?void 0:e.end)||void 0===n?void 0:n.included)?"Closed":"Open")};return e.start&&e.start.value&&(i.leftMargin=Number(e.start.value)),e.end&&e.end.value&&(i.rightMargin=Number(e.end.value)),i}))),e.constraints.type===i.ConstraintType.ENUMERATION&&e.constraints.value.length>0&&(t.Value=(t.Value||[]).concat(e.constraints.value.map((function(e){return{value:e}}))))),t},t.convertFromDataField=function(e){var t;t="string"===e.dataType||"integer"===e.dataType||"float"===e.dataType||"double"===e.dataType||"boolean"===e.dataType?e.dataType:"string";var n={name:e.name,type:t,optype:e.optype};return e.displayName&&(n.displayName=e.displayName),void 0!==e.isCyclic&&(n.isCyclic="1"===e.isCyclic),e.Value&&e.Value.forEach((function(e){"missing"===e.property&&(n.missingValue=e.value),"invalid"===e.property&&(n.invalidValue=e.value),"valid"!==e.property&&void 0!==e.property||(n.constraints=n.constraints||{type:i.ConstraintType.ENUMERATION,value:[]},n.constraints.value.push(e.value))})),e.Interval&&e.Interval.length>0&&(n.constraints={type:i.ConstraintType.RANGE,value:e.Interval.map((function(e){var t,n,i,o;return{start:{value:null!==(n=null===(t=e.leftMargin)||void 0===t?void 0:t.toString())&&void 0!==n?n:"",included:e.closure.startsWith("closed")},end:{value:null!==(o=null===(i=e.rightMargin)||void 0===i?void 0:i.toString())&&void 0!==o?o:"",included:e.closure.endsWith("Closed")}}}))}),n}},93177:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSpacer=void 0;var o=n(61250),r=n(40002),a=n(63187),s=n(61042);t.ActionSpacer=function(){return(0,o.jsx)(a.Flex,i({alignItems:{default:"alignItemsCenter"},style:{height:"100%",visibility:"hidden"}},{children:(0,o.jsxs)(a.FlexItem,{children:[(0,o.jsx)(r.Button,i({variant:"plain",isDisabled:!0},{children:(0,o.jsx)(s.TrashIcon,{},void 0)}),void 0),(0,o.jsx)(r.Button,i({variant:"plain",isDisabled:!0},{children:(0,o.jsx)(s.TrashIcon,{},void 0)}),void 0)]},void 0)}),void 0)}},46142:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.ModelTitle=t.MODEL_NAME_NOT_SET=void 0;var r=n(61250),a=n(29901),s=n(53299),l=n(93104),c=n(79477),d=n(36841),u=n(22174);n(96716);var h=n(280),p=n(98130),f=n(13136);t.MODEL_NAME_NOT_SET="<Model Name not set>",t.ModelTitle=function(e){var n=e.modelName,g=e.commitModelName,m=o((0,a.useState)(!1),2),v=m[0],b=m[1],_=o((0,a.useState)(""),2),y=_[0],A=_[1],w=(0,p.useOperation)(),C=w.activeOperation,x=w.setActiveOperation,S=(0,h.default)((function(e){return k()}),{disabled:C!==p.Operation.UPDATE_NAME,eventTypes:["click"]});(0,a.useEffect)((function(){A(n)}),[n]);var E=function(){void 0!==g&&(b(!0),x(p.Operation.UPDATE_NAME))},k=function(){M(),D()},M=function(){void 0!==g&&g(y)},D=function(){b(!1),x(p.Operation.NONE)},N=(0,a.useMemo)((function(){return v&&C===p.Operation.UPDATE_NAME}),[v,C]),I=(0,a.useMemo)((function(){return"".concat(void 0!==g?"modelTitle":"modelTitle modelTitle--editing"," pf-c-title pf-m-2xl pf-c-form-control")}),[g]);return(0,r.jsx)("div",i({ref:S,onKeyDown:function(e){"Enter"===e.key?E():"Escape"===e.key&&(A(n),D())}},{children:(0,r.jsx)("div",i({className:"modelTitle--full-width"},{children:(0,r.jsx)(d.Form,i({id:"modelTitle-form",onSubmit:function(e){e.stopPropagation(),e.preventDefault()}},{children:(0,r.jsxs)(c.Split,i({hasGutter:!0,className:"modelTitle--hide-overflow"},{children:[(0,r.jsx)(c.SplitItem,i({className:"modelTitle__icon"},{children:(0,r.jsx)(u.Tooltip,i({content:"The Model Name will be generated at runtime if not set."},{children:(0,r.jsx)("button",i({"aria-label":"More info about Model Name",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help modelTitle__icon"},{children:(0,r.jsx)(f.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)}),void 0),(0,r.jsx)(c.SplitItem,i({isFilled:!0,className:"modelTitle--hide-overflow"},{children:(0,r.jsxs)(d.FormGroup,i({fieldId:"modelName"},{children:[!N&&(0,r.jsxs)("div",i({className:I,onClick:E,"data-ouia-component-id":"model-name"},{children:[""!==n.trim()&&(0,r.jsx)(s.Text,i({className:"modelTitle__truncate"},{children:n}),void 0),""===n.trim()&&(0,r.jsx)(s.Text,i({className:"modelTitle__truncate modelTitle__truncate--disabled"},{children:t.MODEL_NAME_NOT_SET}),void 0)]}),void 0),N&&(0,r.jsx)(l.TextInput,{type:"text",id:"modelName",name:"modelName","aria-describedby":"modelName ",className:"".concat(I," modelTitle--editing"),autoFocus:!0,value:y,placeholder:t.MODEL_NAME_NOT_SET,onChange:A,onBlur:k,ouiaId:"set-model-name"},void 0)]}),void 0)}),void 0)]}),void 0)}),void 0)}),void 0)}),void 0)}},25175:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationIndicatorLabel=t.ValidationIndicatorTooltip=t.ValidationIndicator=void 0;var o=n(61250),r=n(29901),a=n(22174),s=n(21717),l=n(31822),c=n(44834);n(96716);var d=n(24820);t.ValidationIndicator=function(e){var n=e.validations,a=(0,r.useMemo)((function(){return u(n)}),[n]);return(0,o.jsx)(o.Fragment,{children:void 0!==a&&(0,o.jsx)(t.ValidationIndicatorTooltip,i({validations:n},{children:(0,o.jsxs)(o.Fragment,{children:[a===d.ValidationLevel.ERROR&&(0,o.jsx)(l.ExclamationCircleIcon,{size:"sm",color:"red"},void 0),a===d.ValidationLevel.WARNING&&(0,o.jsx)(c.ExclamationTriangleIcon,{size:"sm",color:"orange"},void 0)]},void 0)}),void 0)},void 0)},t.ValidationIndicatorTooltip=function(e){var t=e.validations,n=e.children,r=e.customTooltipContent;return(0,o.jsx)(o.Fragment,{children:t.length>0&&(0,o.jsx)(a.Tooltip,i({maxWidth:"100%",isContentLeftAligned:!0,content:r||h(t)},{children:n}),void 0)},void 0)},t.ValidationIndicatorLabel=function(e){var n=e.validations,a=e.children,h=e.customTooltipContent,p=e.onClose,f=e.cssClass,g=(0,r.useMemo)((function(){return u(n)}),[n]),m=(0,r.useMemo)((function(){switch(g){case d.ValidationLevel.ERROR:return"red";case d.ValidationLevel.WARNING:default:return"orange"}}),[g]),v=(0,r.useMemo)((function(){switch(g){case d.ValidationLevel.ERROR:return(0,o.jsx)(l.ExclamationCircleIcon,{size:"sm",color:"red"},void 0);case d.ValidationLevel.WARNING:return(0,o.jsx)(c.ExclamationTriangleIcon,{size:"sm",color:"orange"},void 0);default:return}}),[g]);return(0,o.jsx)(o.Fragment,{children:void 0!==g&&(0,o.jsx)(t.ValidationIndicatorTooltip,i({validations:n,customTooltipContent:h},{children:(0,o.jsx)(s.Label,i({onClose:p,className:f,color:m,icon:v,"data-ouia-component-type":"invalid-label"},{children:a}),void 0)}),void 0)},void 0)};var u=function(e){if(0!==e.length)return e.reduce((function(e,t){return e.level<t.level?t:e.level>t.level?e:t})).level},h=function(e){return(0,o.jsx)("ol",{children:e.map((function(e,t){return(0,o.jsx)("li",{children:e.message},t)}))},void 0)}},40237:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(93177),t),o(n(46142),t),o(n(25175),t)},53416:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EditorHeader=void 0;var o=n(61250),r=n(40237),a=n(79477),s=n(91873),l=n(46586),c=n(73491);n(23378),t.EditorHeader=function(e){var t=e.modelName,n=e.modelIndex;if(function(e){return void 0!==e.modelIndex}(e)){var d=e.miningSchema,u=e.output,h=e.validateOutputFieldName,p=e.deleteOutputField,f=e.commitOutputField,g=e.commitModelName;return(0,o.jsxs)(a.Split,i({hasGutter:!0,className:"editorHeader"},{children:[(0,o.jsx)(a.SplitItem,i({className:"editorHeader__modelName"},{children:(0,o.jsx)(r.ModelTitle,{modelName:t,commitModelName:g},void 0)}),void 0),(0,o.jsx)(a.SplitItem,{isFilled:!0,"data-ouia-component-type":"filler"},void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(s.default,{},void 0)},void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(c.default,{miningSchema:d,modelIndex:n},void 0)},void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(l.OutputsHandler,{modelIndex:n,output:u,miningSchema:d,validateOutputFieldName:h,deleteOutputField:p,commitOutputField:f},void 0)},void 0)]}),void 0)}return(0,o.jsx)(a.Split,i({hasGutter:!0,className:"editorHeader"},{children:(0,o.jsx)(a.SplitItem,i({isFilled:!0,className:"editorHeader--modelName"},{children:(0,o.jsx)(r.ModelTitle,{modelName:t},void 0)}),void 0)}),void 0)}},58510:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(53416),t)},43653:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateModelNotFound=void 0;var o=n(61250),r=n(49726),a=n(4010),s=n(44834);t.EmptyStateModelNotFound=function(){return(0,o.jsxs)(a.EmptyState,i({"data-testid":"empty-state-model-not-found",variant:a.EmptyStateVariant.small},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.ExclamationTriangleIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg"},{children:"Not found."}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"Something went wrong. An attempt has been made to view a Model that does not exist."},void 0)]}),void 0)}},21175:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SingleEditorRouter=void 0;var o=n(61250),r=n(84246),a=n(29277),s=n(52288),l=n(31352),c=n(17724),d=n(92823),u=n(98130),h=n(79861);t.SingleEditorRouter=function(e){var t=(0,r.useParams)().index,n=(0,u.useOperation)().setActiveOperation,p=(0,l.useSelector)((function(e){return e.models}));if(!p)return(0,o.jsx)(c.EmptyStateModelNotFound,{},void 0);var f=t?+t:-1;if(isNaN(f)||f<0||f>p.length-1)return(0,o.jsx)(c.EmptyStateModelNotFound,{},void 0);var g=p[f],m=(0,s.getModelType)(g),v=(0,s.isSupportedModelType)(g);return(0,o.jsxs)("div",i({tabIndex:-1,onKeyDown:function(e){"Escape"===e.key&&n(u.Operation.NONE)}},{children:[!v&&(0,o.jsx)(d.UnsupportedModelPage,{path:e.path,model:g},void 0),v&&"Scorecard"===m&&(0,o.jsx)(a.ScorecardEditorPage,{path:e.path,modelIndex:f},void 0),v&&"Regression Model"===m&&(0,o.jsx)(h.LinearRegressionViewerPage,{path:e.path,modelIndex:f},void 0)]}),void 0)}},17724:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(43653),t),o(n(21175),t)},88953:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedModelPage=void 0;var o=n(61250),r=n(29367),a=n(30123),s=n(55370);t.UnsupportedModelPage=function(e){return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",i({"data-testid":"unsupported-model-page"},{children:[(0,o.jsx)(a.PageSection,i({variant:a.PageSectionVariants.light},{children:(0,o.jsx)(r.LandingPageHeader,{title:e.path},void 0)}),void 0),(0,o.jsx)(a.PageSection,i({isFilled:!0},{children:(0,o.jsx)(s.Level,{children:(0,o.jsx)("pre",{children:JSON.stringify(e.model,void 0,2)},void 0)},void 0)}),void 0)]}),void 0)},void 0)}},92823:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(88953),t)},39065:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Operation=void 0,(n=t.Operation||(t.Operation={}))[n.NONE=0]="NONE",n[n.UPDATE_NAME=1]="UPDATE_NAME",n[n.UPDATE_CORE=2]="UPDATE_CORE",n[n.UPDATE_ATTRIBUTE=3]="UPDATE_ATTRIBUTE",n[n.UPDATE_CHARACTERISTIC=4]="UPDATE_CHARACTERISTIC",n[n.UPDATE_OUTPUT=5]="UPDATE_OUTPUT",n[n.UPDATE_DATA_DICTIONARY=6]="UPDATE_DATA_DICTIONARY"},86356:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useOperation=t.OperationContext=void 0;var i=n(29901),o=n(39065);t.OperationContext=i.createContext({activeOperation:o.Operation.NONE,setActiveOperation:function(e){return null}}),t.useOperation=function(){return i.useContext(t.OperationContext)}},80856:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeLabel=void 0;var o=n(61250),r=n(21717);n(96172),t.AttributeLabel=function(e){var t=e.name,n=e.value,a=e.onClose;return(0,o.jsxs)(o.Fragment,{children:[!a&&(0,o.jsxs)(r.Label,i({color:"cyan",className:"attribute-list__item__label"},{children:[(0,o.jsxs)("strong",{children:[t,":"]},void 0),"ย ",(0,o.jsx)("span",{children:n},void 0)]}),void 0),a&&(0,o.jsxs)(r.Label,i({color:"cyan",className:"attribute-list__item__label",onClose:function(e){e.nativeEvent.stopImmediatePropagation(),e.stopPropagation(),a()}},{children:[(0,o.jsxs)("strong",{children:[t,":"]},void 0),"ย ",(0,o.jsx)("span",{children:n},void 0)]}),void 0)]},void 0)}},35462:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeLabels=void 0;var o=n(61250),r=n(29901),a=n(24820),s=n(80856),l=n(40237),c=n(66487);t.AttributeLabels=function(e){var t=e.modelIndex,n=e.characteristic,d=e.characteristicIndex,u=e.activeAttributeIndex,h=e.activeAttribute,p=e.areReasonCodesUsed,f=e.characteristicReasonCode,g=e.commit,m=(0,a.useValidationRegistry)().validationRegistry,v=(0,r.useMemo)((function(){return m.get((0,c.Builder)().forModel(t).forCharacteristics().forCharacteristic(d).forAttribute(u).forReasonCode().build())}),[t,d,p,h,u,f]),b=(0,r.useMemo)((function(){return m.get((0,c.Builder)().forModel(t).forCharacteristics().forCharacteristic(d).forAttribute(u).forPartialScore().build())}),[t,d,n,h,u]);return(0,o.jsxs)(o.Fragment,{children:[p&&void 0!==h.reasonCode&&0===v.length&&(0,o.jsxs)(o.Fragment,{children:[g&&(0,o.jsx)(s.AttributeLabel,{name:"Reason code",value:h.reasonCode,onClose:function(){return g({reasonCode:void 0})}},void 0),!g&&(0,o.jsx)(s.AttributeLabel,{name:"Reason code",value:h.reasonCode},void 0)]},void 0),p&&v.length>0&&(0,o.jsx)(l.ValidationIndicatorLabel,i({validations:v,cssClass:"characteristic-list__item__label"},{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Reason code:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]},void 0)}),void 0),0===b.length&&void 0!==h.partialScore&&(0,o.jsxs)(o.Fragment,{children:[g&&(0,o.jsx)(s.AttributeLabel,{name:"Partial score",value:h.partialScore,onClose:function(){return g({partialScore:void 0})}},void 0),!g&&(0,o.jsx)(s.AttributeLabel,{name:"Partial score",value:h.partialScore},void 0)]},void 0),b.length>0&&(0,o.jsx)(l.ValidationIndicatorLabel,i({validations:b,cssClass:"characteristic-list__item__label"},{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Partial score:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]},void 0)}),void 0)]},void 0)}},2978:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesTableAction=void 0;var o=n(61250),r=n(40002),a=n(63187),s=n(61042);t.AttributesTableAction=function(e){var t=e.index,n=e.onDelete,l=function(e,t){e.stopPropagation(),e.preventDefault(),n&&n(t)};return(0,o.jsx)(a.Flex,i({alignItems:{default:"alignItemsCenter"},style:{height:"100%"}},{children:(0,o.jsx)(a.FlexItem,{children:(0,o.jsx)(r.Button,i({id:"attribute-n".concat(t,"__delete"),"data-testid":"attribute-n".concat(t,"__delete"),className:"attribute-item__delete",ouiaId:"delete-attribute",variant:"plain",onClick:function(e){return l(e,"mouse")},onKeyDown:function(e){"Enter"===e.key&&l(e,"keyboard")}},{children:(0,o.jsx)(s.TrashIcon,{},void 0)}),void 0)},void 0)}),void 0)}},41074:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicPredicateLabel=t.CharacteristicLabel=void 0;var o=n(61250),r=n(22174),a=n(21717);n(68117);var s=n(40237),l=n(79326);t.CharacteristicLabel=function(e){var t=e.name,n=e.value;return(0,o.jsxs)(a.Label,i({color:"cyan",className:"characteristic-list__item__label"},{children:[(0,o.jsxs)("strong",{children:[t,":"]},void 0),"ย ",(0,o.jsx)("span",{children:n},void 0)]}),void 0)},t.CharacteristicPredicateLabel=function(e,t,n){var c=(0,l.toText)(e,t),d=c.length>32?c.slice(0,29)+"...":c;return(0,o.jsxs)(o.Fragment,{children:[c.length>d.length&&(0,o.jsx)(r.Tooltip,i({position:r.TooltipPosition.top,isContentLeftAligned:!0,maxWidth:"100em",content:(0,o.jsx)("pre",{children:c},void 0)},{children:(0,o.jsxs)(o.Fragment,{children:[n.length>0&&(0,o.jsx)(s.ValidationIndicatorLabel,i({validations:n,cssClass:"characteristic-list__item__label"},{children:(0,o.jsx)("pre",{children:d},void 0)}),void 0),0===n.length&&(0,o.jsx)(a.Label,i({tabIndex:0,color:"blue",className:"characteristic-list__item__label"},{children:(0,o.jsx)("pre",{children:d},void 0)}),void 0)]},void 0)}),void 0),c.length===d.length&&(0,o.jsxs)(o.Fragment,{children:[n.length>0&&(0,o.jsx)("span",i({className:"characteristic-list__item__label"},{children:(0,o.jsx)(s.ValidationIndicatorLabel,i({validations:n},{children:(0,o.jsxs)(o.Fragment,{children:[e&&(0,o.jsx)("pre",{children:c},void 0),!e&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Predicate:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]},void 0)]},void 0)}),void 0)}),void 0),0===n.length&&(0,o.jsx)(a.Label,i({tabIndex:0,color:"blue",className:"characteristic-list__item__label"},{children:(0,o.jsx)("pre",{children:c},void 0)}),void 0)]},void 0)]},void 0)}},15234:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicLabels=void 0;var o=n(61250),r=n(29901),a=n(41074),s=n(24820),l=n(40237),c=n(66487);t.CharacteristicLabels=function(e){var t=e.modelIndex,n=e.characteristicIndex,d=e.activeCharacteristic,u=e.areReasonCodesUsed,h=e.scorecardBaselineScore,p=(0,s.useValidationRegistry)().validationRegistry,f=(0,r.useMemo)((function(){return p.get((0,c.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forReasonCode().build())}),[t,n,u,d]),g=(0,r.useMemo)((function(){return p.get((0,c.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forBaselineScore().build())}),[t,n,u,h,d]);return(0,o.jsxs)(o.Fragment,{children:[u&&void 0!==d.reasonCode&&0===f.length&&(0,o.jsx)(a.CharacteristicLabel,{name:"Reason code",value:d.reasonCode},void 0),u&&f.length>0&&(0,o.jsx)(l.ValidationIndicatorLabel,i({validations:f,cssClass:"characteristic-list__item__label"},{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Reason code:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]},void 0)}),void 0),void 0!==d.baselineScore&&0===g.length&&(0,o.jsx)(a.CharacteristicLabel,{name:"Baseline score",value:d.baselineScore.toString()},void 0),u&&void 0===d.baselineScore&&g.length>0&&(0,o.jsx)(l.ValidationIndicatorLabel,i({validations:g,cssClass:"characteristic-list__item__label"},{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Baseline score:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]},void 0)}),void 0)]},void 0)}},75487:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicLabelsEditMode=void 0;var o=n(61250),r=n(21717),a=n(31363),s={marginRight:"4px"};t.CharacteristicLabelsEditMode=function(e){var t=e.viewAttributes;return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(r.Label,i({style:s,variant:"outline",color:"cyan",href:"#outline",icon:(0,o.jsx)(a.ArrowAltCircleRightIcon,{},void 0),onClick:function(e){e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),t()}},{children:"Edit attributes..."}),void 0)},void 0)}},3304:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsTableAction=void 0;var o=n(61250),r=n(40002),a=n(63187),s=n(61042);t.CharacteristicsTableAction=function(e){var t=e.index,n=e.onDelete,l=function(e,t){e.stopPropagation(),e.preventDefault(),n&&n(t)};return(0,o.jsx)(a.Flex,i({alignItems:{default:"alignItemsCenter"},style:{height:"100%"}},{children:(0,o.jsx)(a.FlexItem,{children:(0,o.jsx)(r.Button,i({id:"characteristic-n".concat(t,"__delete"),"data-testid":"characteristic-n".concat(t,"__delete"),className:"editable-item__delete",variant:"plain",onClick:function(e){return l(e,"mouse")},onKeyDown:function(e){"Enter"===e.key&&l(e,"keyboard")}},{children:(0,o.jsx)(s.TrashIcon,{},void 0)}),void 0)},void 0)}),void 0)}},23978:function(e,t,n){"use strict";var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.GenericNumericInput=void 0;var o=n(61250),r=n(29901),a=n(93104);t.GenericNumericInput=function(e){var t=e.onBlur,n=i((0,r.useState)(e.value.toString()),2),s=n[0],l=n[1];return(0,o.jsx)(a.TextInput,{id:e.id,value:s,onChange:function(t){e.onChange(function(e){return Number(e)}(t)),l(t)},onBlur:t,validated:e.validated,isRequired:!0,className:"numeric-input",type:"number"},void 0)}},7831:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.GenericSelector=void 0;var r=n(61250),a=n(29901),s=n(60158);t.GenericSelector=function(e){var t,n=o((0,a.useState)(!1),2),l=n[0],c=n[1];return(0,r.jsx)(s.Select,i({id:e.id,className:"generic-selector ignore-onclickoutside",variant:s.SelectVariant.single,"aria-label":"Select",onToggle:function(e){c(e)},onSelect:function(t,n){e.onSelect(n.toString()),c(!l)},selections:e.selection,isOpen:l,menuAppendTo:function(){return document.body},isDisabled:null!==(t=e.isDisabled)&&void 0!==t&&t,ouiaId:e.id},{children:e.items.map((function(e,t){return(0,r.jsx)(s.SelectOption,{value:"string"==typeof e?e:e.value,isDisabled:"string"!=typeof e&&e.isDisabled,"data-ouia-component-type":"select-option"},t)}))}),void 0)}},28132:function(e,t,n){"use strict";var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.GenericTextInput=void 0;var o=n(61250),r=n(29901),a=n(93104);t.GenericTextInput=function(e){var t=e.onBlur,n=i((0,r.useState)(e.value),2),s=n[0],l=n[1];return(0,o.jsx)(a.TextInput,{id:e.id,value:s,onChange:function(t){e.onChange(t),l(t)},onBlur:t,validated:e.validated,isRequired:!0,className:"text-input",type:"text"},void 0)}},46490:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(80856),t),o(n(35462),t),o(n(2978),t),o(n(3304),t),o(n(41074),t),o(n(15234),t),o(n(75487),t),o(n(7831),t),o(n(23978),t),o(n(28132),t)},98130:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(39065),t),o(n(86356),t)},82154:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeEditor=void 0;var r=n(61250),a=n(29901),s=n(93104),l=n(23554),c=n(79477),d=n(36841),u=n(22174),h=n(21585),p=n(13136),f=n(52851),g=n(39065),m=n(31352),v=n(39378),b=n(280),_=n(86356),y=n(79326),A=n(24820),w=n(66487);n(89513);var C=n(40237),x=Reflect.set,S=Reflect.get;t.AttributeEditor=function(e){var t=e.modelIndex,n=e.characteristicIndex,E=e.attributeIndex,k=e.areReasonCodesUsed,M=(e.onCancel,e.onCommit),D=o((0,a.useState)(),2),N=D[0],I=D[1],T=o((0,a.useState)(),2),L=T[0],B=T[1],O=o((0,a.useState)(),2),P=O[0],F=O[1],R=o((0,a.useState)(),2),j=R[0],z=R[1],V=(0,_.useOperation)().activeOperation,W=(0,m.useSelector)((function(e){return e.DataDictionary.DataField})),H=(0,m.useSelector)((function(e){var i=e.models?e.models[t]:void 0;if(i instanceof h.Scorecard&&void 0!==n)return i.Characteristics.Characteristic[n]})),U=(0,a.useMemo)((function(){return H&&void 0!==E?H.Attribute[E]:new h.Attribute({})}),[H,E]),Q=function(e){var t={};Object.keys(e).forEach((function(e){return x(t,e,S(U,e))})),(0,v.isEqual)(e,t)||M(E,i(i({},U),e))},G=(0,b.default)((function(){N!==j&&Q({predicate:(0,y.fromText)(N)})}),{disabled:V!==g.Operation.UPDATE_ATTRIBUTE,eventTypes:["mousedown"]}),K=(0,A.useValidationRegistry)().validationRegistry,Y=(0,a.useMemo)((function(){return K.get((0,w.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forAttribute(E).forReasonCode().build())}),[t,n,k,U.reasonCode]),$=(0,a.useMemo)((function(){return K.get((0,w.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forAttribute(E).forPartialScore().build())}),[t,n,U.partialScore]),J=(0,a.useMemo)((function(){return K.get((0,w.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forAttribute(E).forPredicate().build())}),[t,n,U.predicate]);return(0,a.useEffect)((function(){var e=(0,y.toText)(U.predicate,W);I(e),B(U.partialScore),F(U.reasonCode),z(e)}),[t,n,E,U.predicate]),(0,r.jsx)("article",i({tabIndex:0,"data-ouia-component-id":"edit-attribute"},{children:(0,r.jsx)(d.Form,{children:(0,r.jsxs)(c.Split,i({hasGutter:!0},{children:[(0,r.jsx)(c.SplitItem,i({isFilled:!0},{children:(0,r.jsx)(d.FormGroup,i({label:"Predicate",isRequired:!0,fieldId:"attribute-predicate-helper",validated:J.length>0?"warning":"default"},{children:(0,r.jsxs)("div",i({ref:G,"data-ouia-component-id":"predicate"},{children:[(0,r.jsx)(f.PredicateEditor,{text:N,setText:I},void 0),(0,r.jsxs)(r.Fragment,{children:[J.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)(C.ValidationIndicator,{validations:J},void 0),(0,r.jsx)("span",i({className:"pf-c-form__helper-text pf-m-warning attribute-editor__validation-message"},{children:J[0].message}),void 0)]},void 0),0===J.length&&(0,r.jsx)("div",i({className:"pf-c-form__helper-text"},{children:"The condition upon which the mapping between input attribute and partial score takes place."}),void 0)]},void 0)]}),void 0)}),void 0)}),void 0),(0,r.jsx)(c.SplitItem,{children:(0,r.jsxs)(l.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(l.StackItem,{children:(0,r.jsx)(d.FormGroup,i({label:"Reason code",fieldId:"attribute-reason-code-helper",validated:Y.length>0?"warning":"default",helperText:Y.length>0?Y[0].message:"A Reason Code is mapped to a Business reason.",labelIcon:(0,r.jsx)(u.Tooltip,i({content:k&&void 0!==(null==H?void 0:H.reasonCode)?"Reason code already provided at the Characteristic level (".concat(H.reasonCode,")"):"When Use Reason Codes is set to yes in the Model Setup, a reason code must be provided for characteristics or it must be provided for all its attributes."},{children:(0,r.jsx)("button",i({"aria-label":"More information for Partial Score",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(p.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(s.TextInput,{type:"text",id:"attribute-reason-code",name:"attribute-reason-code","aria-describedby":"attribute-reason-code-helper",value:null!=P?P:"",onChange:function(e){return F(e)},onBlur:function(){Q({reasonCode:""!==P?P:void 0})},validated:Y.length>0?"warning":"default",isDisabled:!k||void 0!==(null==H?void 0:H.reasonCode),ouiaId:"attribute-reason-code"},void 0)}),void 0)},void 0),(0,r.jsx)(l.StackItem,{children:(0,r.jsx)(d.FormGroup,i({label:"Partial score",fieldId:"attribute-partial-score-helper",validated:$.length>0?"warning":"default",helperText:$.length>0?$[0].message:"Defines the score points awarded to the Attribute.",labelIcon:(0,r.jsx)(u.Tooltip,i({content:"If one of the Attributes of a Characteristic provides a Partial score value, all the attributes are required to provide a Partial score as well."},{children:(0,r.jsx)("button",i({"aria-label":"More information for Partial Score",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(p.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(s.TextInput,{type:"number",id:"attribute-partial-score",name:"attribute-partial-score","aria-describedby":"attribute-partial-score-helper",value:null!=L?L:"",onChange:function(e){return B(function(e){if(""!==e){var t=Number(e);if(!isNaN(t))return t}}(e))},onBlur:function(){Q({partialScore:L})},validated:$.length>0?"warning":"default",ouiaId:"attribute-partial-score"},void 0)}),void 0)},void 0)]}),void 0)},void 0)]}),void 0)},void 0)}),void 0)}},55712:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeToolbar=void 0;var o=n(61250),r=n(40002),a=n(79477),s=n(49726),l=n(19618);t.AttributeToolbar=function(e){var t=e.viewOverview;return(0,o.jsxs)(a.Split,{children:[(0,o.jsx)(a.SplitItem,i({isFilled:!0},{children:(0,o.jsxs)(s.Title,i({size:"lg",headingLevel:"h1",ouiaId:"characteristic-navigation"},{children:[(0,o.jsx)("a",i({onClick:function(e){e.preventDefault(),t()}},{children:"Characteristics"}),void 0),"ย /ย Attribute"]}),void 0)}),void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(r.Button,i({variant:"primary",onClick:function(e){e.preventDefault(),t()},icon:(0,o.jsx)(l.ArrowAltCircleLeftIcon,{},void 0),iconPosition:"left",ouiaId:"attribute-done"},{children:"Done"}),void 0)},void 0)]},void 0)}},64935:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesTableRow=void 0;var o=n(61250),r=n(29901),a=n(79477),s=n(21717);n(22419);var l=n(46490),c=n(24820),d=n(66487),u=n(40237),h=n(79326);t.AttributesTableRow=function(e){var t=e.modelIndex,n=e.characteristicIndex,p=e.characteristic,f=e.attributeIndex,g=e.attribute,m=e.areReasonCodesUsed,v=e.characteristicReasonCode,b=e.dataFields,_=e.miningFields,y=e.onEdit,A=e.onDelete,w=e.onCommit,C=(0,c.useValidationRegistry)().validationRegistry,x=(0,r.useMemo)((function(){return C.get((0,d.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forAttribute(f).forPredicate().build())}),[t,n,f,g,_]);return(0,o.jsx)("article",i({id:"attribute-n".concat(f),"data-testid":"attribute-n".concat(f),className:"attribute-item",onClick:function(){return y()},onKeyDown:function(e){var t;"Enter"===e.key&&((t=e).preventDefault(),t.stopPropagation(),y())},"data-ouia-component-type":"attribute-item",tabIndex:0},{children:(0,o.jsxs)(a.Split,i({hasGutter:!0,style:{height:"100%"}},{children:[(0,o.jsx)(a.SplitItem,{children:(0,o.jsxs)(o.Fragment,{children:[x.length>0&&(0,o.jsx)(u.ValidationIndicatorLabel,i({validations:x,cssClass:"characteristic-list__item__label"},{children:(0,o.jsxs)(o.Fragment,{children:[g.predicate&&(0,o.jsx)("pre",{children:(0,h.toText)(g.predicate,b)},void 0),!g.predicate&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Predicate:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]},void 0)]},void 0)}),void 0),0===x.length&&(0,o.jsx)(s.Label,i({tabIndex:0,color:"blue",onClose:function(e){e.nativeEvent.stopImmediatePropagation(),e.stopPropagation(),w({predicate:void 0})}},{children:(0,o.jsx)("pre",{children:(0,h.toText)(g.predicate,b)},void 0)}),void 0)]},void 0)},void 0),(0,o.jsx)(a.SplitItem,i({isFilled:!0},{children:(0,o.jsx)(l.AttributeLabels,{modelIndex:t,characteristicIndex:n,characteristic:p,activeAttributeIndex:f,activeAttribute:g,areReasonCodesUsed:m,characteristicReasonCode:v,commit:w},void 0)}),void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(l.AttributesTableAction,{index:f,onDelete:A},void 0)},void 0)]}),void 0)}),void 0)}},20779:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsTableEditRow=void 0;var r=n(61250),a=n(29901),s=n(40002),l=n(93104),c=n(23554),d=n(79477),u=n(36841),h=n(22174),p=n(31822),f=n(13136);n(82156),n(5656);var g=n(79326),m=n(280),v=n(39065),b=n(16414),_=n(31352),y=n(21585),A=n(96595),w=n(86356),C=n(66487),x=n(24820),S=n(39378),E=Reflect.get,k=Reflect.set;t.CharacteristicsTableEditRow=function(e){var t,n=e.modelIndex,M=e.areReasonCodesUsed,D=e.scorecardBaselineScore,N=e.characteristic,I=e.validateCharacteristicName,T=e.viewAttribute,L=e.onAddAttribute,B=e.onCommitAndClose,O=e.onCommit,P=e.onCancel,F=N.index,R=(0,w.useOperation)().activeOperation,j=(0,A.useHistoryService)(),z=j.service,V=j.getCurrentState,W=(0,A.useBatchDispatch)(z,V),H=o((0,a.useState)({value:void 0,valid:!0}),2),U=H[0],Q=H[1],G=o((0,a.useState)(),2),K=G[0],Y=G[1],$=o((0,a.useState)(),2),J=$[0],q=$[1],Z=(0,_.useSelector)((function(e){var t=e.models?e.models[n]:void 0;if(t instanceof y.Scorecard&&void 0!==F){var i=t.Characteristics.Characteristic[F];if(i)return i.Attribute}return[]})),X=(0,a.useMemo)((function(){return Z.length>0&&Z.every((function(e){return void 0!==e.reasonCode}))}),[Z]),ee=(0,m.default)((function(){(null==U?void 0:U.valid)?B():P()}),{disabled:R!==v.Operation.UPDATE_CHARACTERISTIC,eventTypes:["click"]});(0,a.useEffect)((function(){Q({value:null==N?void 0:N.characteristic.name,valid:!0}),Y(null==N?void 0:N.characteristic.reasonCode),q(null==N?void 0:N.characteristic.baselineScore)}),[e]);var te=(0,x.useValidationRegistry)().validationRegistry,ne=(0,a.useMemo)((function(){return te.get((0,C.Builder)().forModel(n).forCharacteristics().forCharacteristic(F).forReasonCode().build())}),[n,F,M,N]),ie=(0,a.useMemo)((function(){return te.get((0,C.Builder)().forModel(n).forCharacteristics().forCharacteristic(F).forBaselineScore().build())}),[n,F,D,N]),oe=(0,a.useCallback)((function(e){W({type:b.Actions.Scorecard_DeleteAttribute,payload:{modelIndex:n,characteristicIndex:F,attributeIndex:e}})}),[n,F]),re=(0,a.useCallback)((function(e,t){var o=Z[e],r={};Object.keys(t).forEach((function(e){return k(r,e,E(o,e))})),(0,S.isEqual)(t,r)||W({type:b.Actions.Scorecard_UpdateAttribute,payload:i(i({modelIndex:n,characteristicIndex:F,attributeIndex:e},o),t)})}),[n,F,Z]);return(0,r.jsx)("article",i({ref:ee,className:"editable-item__inner",tabIndex:0,"data-ouia-component-id":"edit-characteristic"},{children:(0,r.jsxs)(c.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Name",isRequired:!0,fieldId:"characteristic-form-name-helper",helperTextInvalid:"Name is mandatory and must be unique",helperTextInvalidIcon:(0,r.jsx)(p.ExclamationCircleIcon,{},void 0),validated:U.valid?"default":"error",style:{width:"18em"}},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"characteristic-name",name:"characteristic-name","aria-describedby":"characteristic-name-helper",value:null!==(t=U.value)&&void 0!==t?t:"",placeholder:"Name",validated:U.valid?"default":"error",autoFocus:!0,onChange:function(e){return Q({value:e,valid:I(e)})},onBlur:function(){(null==U?void 0:U.valid)?O({name:U.value}):Q({value:N.characteristic.name,valid:I(N.characteristic.name)})},ouiaId:"characteristic-name-input"},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Reason code",fieldId:"characteristic-reason-code-helper",style:{width:"16em"},labelIcon:(0,r.jsx)(h.Tooltip,i({content:M&&X?"A Reason code is already provided inside all the Attributes of this Characteristic":"\n Reason code is available and required when Use reason codes property inside Model Setup is yes. You can enter Reason code here or provide a Reason code for all the Attributes of this characteristic as an alternative."},{children:(0,r.jsx)("button",i({"aria-label":"More information for Reason code",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(f.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0),validated:ne.length>0?"warning":"default",helperText:ne.length>0?ne[0].message:void 0},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"characteristic-reason-code",name:"characteristic-reason-code","aria-describedby":"characteristic-reason-code-helper",value:null!=K?K:"",onChange:function(e){return Y(e)},onBlur:function(){O({reasonCode:""===K?void 0:K})},validated:ne.length>0?"warning":"default",isDisabled:!M||X,ouiaId:"characteristic-reason-code-input"},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,i({isFilled:!0},{children:(0,r.jsx)(u.FormGroup,i({label:"Baseline score",fieldId:"characteristic-baseline-score-helper",labelIcon:(0,r.jsx)(h.Tooltip,i({content:M&&void 0!==D?"A baseline score is already provided inside Model Setup":"\n Baseline score for Characteristics is required when Use reason codes property is true and no Baseline score is provided inside Model Setup\n "},{children:(0,r.jsx)("button",i({"aria-label":"More information for Baseline score",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(f.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0),helperText:ie.length>0?ie[0].message:void 0,validated:ie.length>0?"warning":"default",style:{width:"16em"}},{children:(0,r.jsx)(l.TextInput,{type:"number",id:"characteristic-baseline-score",name:"characteristic-baseline-score","aria-describedby":"characteristic-baseline-score-helper",value:null!=J?J:"",validated:ie.length>0?"warning":"default",onChange:function(e){return q(function(e){if(""!==e){var t=Number(e);if(!isNaN(t))return t}}(e))},onBlur:function(){O({baselineScore:J})},isDisabled:void 0!==D,ouiaId:"characteristic-baseline-score-input"},void 0)}),void 0)}),void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(s.Button,i({id:"add-attribute-button",variant:"primary",onClick:L,ouiaId:"add-attribute"},{children:"Add Attribute"}),void 0)},void 0)]}),void 0)},void 0),Z.length>0&&(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Attributes",fieldId:"output-labels-helper"},{children:(0,r.jsx)(g.AttributesTable,{modelIndex:n,characteristicIndex:F,characteristic:N.characteristic,areReasonCodesUsed:M,viewAttribute:T,deleteAttribute:oe,onCommit:re},void 0)}),void 0)},void 0)]}),void 0)}),void 0)}},90311:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsTableRow=void 0;var o=n(61250),r=n(29901),a=n(79477),s=n(46490);n(82156);var l=n(24820),c=n(66487);t.CharacteristicsTableRow=function(e){var t=e.modelIndex,n=e.characteristicIndex,r=e.characteristic,l=e.areReasonCodesUsed,c=e.scorecardBaselineScore,u=e.dataFields,h=e.onEdit,p=e.onDelete,f=function(e){e.preventDefault(),e.stopPropagation(),h()};return(0,o.jsx)("article",i({id:"characteristic-n".concat(n),"data-testid":"characteristic-n".concat(n),className:"editable-item__inner",onClick:f,onKeyDown:function(e){"Enter"===e.key&&f(e)},"data-ouia-component-type":"characteristic-item",tabIndex:0},{children:(0,o.jsxs)(a.Split,i({hasGutter:!0,style:{height:"100%"}},{children:[(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)("strong",{children:r.characteristic.name},void 0)},void 0),(0,o.jsxs)(a.SplitItem,i({isFilled:!0},{children:[(0,o.jsx)(s.CharacteristicLabels,{modelIndex:t,characteristicIndex:n,activeCharacteristic:r.characteristic,areReasonCodesUsed:l,scorecardBaselineScore:c},void 0),(0,o.jsx)(d,{modelIndex:t,characteristicIndex:n,characteristic:r.characteristic,areReasonCodesUsed:l,dataFields:u},void 0)]}),void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(s.CharacteristicsTableAction,{index:n,onDelete:p},void 0)},void 0)]}),void 0)}),void 0)};var d=function(e){var t=e.modelIndex,n=e.characteristicIndex,i=e.characteristic,a=e.areReasonCodesUsed,d=e.dataFields,u=(0,l.useValidationRegistry)().validationRegistry,h=(0,r.useCallback)((function(e){return u.get((0,c.Builder)().forModel(t).forCharacteristics().forCharacteristic(n).forAttribute(e).forPredicate().build())}),[t,n,i]);return(0,o.jsx)("ul",{children:i.Attribute.map((function(e,r){return(0,o.jsxs)("li",{children:[(0,s.CharacteristicPredicateLabel)(e.predicate,d,h(r)),(0,o.jsx)(s.AttributeLabels,{modelIndex:t,characteristicIndex:n,characteristic:i,activeAttributeIndex:r,activeAttribute:e,areReasonCodesUsed:a,characteristicReasonCode:i.reasonCode},void 0)]},r)}))},void 0)}},63299:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsToolbar=void 0;var o=n(61250),r=n(40002),a=n(53299),s=n(93104),l=n(79477),c=n(49726),d=n(50960),u=n(65411),h=n(46065);n(8875),t.CharacteristicsToolbar=function(e){var t=e.filter,n=e.setFilter,p=e.onFilter,f=e.onAddCharacteristic;return(0,o.jsx)(u.Toolbar,i({id:"characteristics-toolbar","data-testid":"characteristics-toolbar"},{children:(0,o.jsx)(u.ToolbarContent,{children:(0,o.jsxs)(l.Split,i({hasGutter:!0,style:{width:"100%"}},{children:[(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)(a.TextContent,{children:(0,o.jsx)(c.Title,i({size:"lg",headingLevel:"h1"},{children:"Characteristics"}),void 0)},void 0)},void 0),(0,o.jsx)(l.SplitItem,{isFilled:!0,"data-ouia-component-type":"filler"},void 0),(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)(u.ToolbarItem,{children:(0,o.jsx)(d.InputGroup,{children:(0,o.jsx)("form",i({onSubmit:function(e){return e.preventDefault()}},{children:(0,o.jsxs)("span",i({style:{display:"flex"}},{children:[(0,o.jsx)(s.TextInput,{id:"characteristics-filter-input",name:"characteristics-filter-input","data-testid":"characteristics-toolbar__characteristics-filter",type:"search","aria-label":"filter characteristics",placeholder:"Filter by name",value:t,onChange:function(e){return n(e)}},void 0),(0,o.jsx)(r.Button,i({id:"characteristics-filter",type:"submit","data-testid":"characteristics-toolbar__submit",variant:r.ButtonVariant.control,"aria-label":"filter button for filter input",onClick:function(){return p()}},{children:(0,o.jsx)(h.SearchIcon,{},void 0)}),void 0)]}),void 0)}),void 0)},void 0)},void 0)},void 0),(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)(u.ToolbarItem,{children:(0,o.jsx)(r.Button,i({id:"add-characteristic-button","data-testid":"characteristics-toolbar__add-characteristic",variant:"primary",onClick:function(){return f()},ouiaId:"add-characteristic"},{children:"Add Characteristic"}),void 0)},void 0)},void 0)]}),void 0)},void 0)}),void 0)}},87994:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateNoAttributes=void 0;var o=n(61250),r=n(49726),a=n(4010),s=n(66582);t.EmptyStateNoAttributes=function(){return(0,o.jsxs)(a.EmptyState,i({"data-testid":"empty-state-no-attributes",variant:a.EmptyStateVariant.small},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.DiceSixIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg"},{children:"No Attributes defined"}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"Input attributes for each scorecard characteristic are defined in terms of predicates."},void 0)]}),void 0)}},53744:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateNoCharacteristics=void 0;var o=n(61250),r=n(40002),a=n(49726),s=n(4010),l=n(84594);t.EmptyStateNoCharacteristics=function(e){return(0,o.jsxs)(s.EmptyState,i({"data-testid":"empty-state-no-characteristics",variant:s.EmptyStateVariant.small},{children:[(0,o.jsx)(s.EmptyStateIcon,{icon:l.CalculatorIcon},void 0),(0,o.jsx)(a.Title,i({headingLevel:"h4",size:"lg",ouiaId:"no-characteristics-defined-title"},{children:"No Characteristics defined"}),void 0),(0,o.jsx)(s.EmptyStateBody,{children:'Characteristics define the point allocation strategy for the scorecard. Once point allocation between input\n attributes and partial scores takes place, each scorecard characteristic is assigned a single partial score which\n is used to compute the overall score. The overall score is simply the sum of all partial scores. Partial scores\n are assumed to be continuous values of type "double".'},void 0),(0,o.jsx)(r.Button,i({"data-testid":"empty-state-no-characteristics__create-characteristic",variant:"primary",onClick:e.addCharacteristic,ouiaId:"add-characteristic"},{children:"Add Characteristic"}),void 0)]}),void 0)}},94891:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateNoMatchingCharacteristics=void 0;var o=n(61250),r=n(49726),a=n(4010),s=n(84594);t.EmptyStateNoMatchingCharacteristics=function(){return(0,o.jsxs)(a.EmptyState,i({"data-testid":"empty-state-no-characteristics",variant:a.EmptyStateVariant.small},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.CalculatorIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg"},{children:"No Characteristics match filter"}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"There are no Characteristics that match the name entered in the filter. Please amend or remove the filter and try again."},void 0)]}),void 0)}},52851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PredicateEditor=void 0;var i=n(61250),o=n(29901),r=n(23384);(0,n(49106).bootstrapMonaco)(),t.PredicateEditor=function(e){var t=e.text,n=e.setText,a=(0,o.useRef)(null);return(0,i.jsx)(r.default,{ref:a,height:"300px",language:"scorecards",theme:"scorecards",options:{glyphMargin:!1,scrollBeyondLastLine:!1},value:null!=t?t:"",onChange:function(e){return n(e)},editorDidMount:function(e){e.focus()}},void 0)}},49106:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bootstrapMonaco=void 0;var i=n(65804),o=i.languages.CompletionItemKind,r=i.languages.CompletionItemInsertTextRule;t.bootstrapMonaco=function(){var e={provideCompletionItems:function(e,t,n,i){return{suggestions:[{label:"True",insertText:"True",kind:o.Keyword,insertTextRules:r.InsertAsSnippet,range:{startLineNumber:1,endLineNumber:1,startColumn:1,endColumn:1}},{label:"False",insertText:"False",kind:o.Keyword,insertTextRules:r.InsertAsSnippet,range:{startLineNumber:1,endLineNumber:1,startColumn:1,endColumn:1}}]}}};i.editor.defineTheme("scorecards",{base:"vs",inherit:!1,rules:[{token:"sc-numeric",foreground:"3232E7"},{token:"sc-boolean",foreground:"26268D",fontStyle:"bold"},{token:"sc-string",foreground:"2A9343",fontStyle:"bold"},{token:"sc-operator",foreground:"3232E8"},{token:"sc-keyword",foreground:"0000ff",fontStyle:"bold"}],colors:{"editorLineNumber.foreground":"00ff00"}}),i.languages.register({id:"scorecards"}),i.languages.setMonarchTokensProvider("scorecards",{tokenizer:{root:[{regex:"[0-9]+",action:"sc-numeric"},{regex:"(?:(\\btrue\\b)|(\\bfalse\\b))",action:"sc-boolean"},{regex:"True|False",action:"sc-keyword"},{regex:'(?:\\"(?:.*?)\\")',action:"sc-string"},{regex:"==|!=|<|<=|>|>=|isMissing|isNotMissing",action:"sc-operator"}]}}),i.languages.registerCompletionItemProvider("scorecards",e)}},83710:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(82154),t),o(n(55712),t),o(n(64935),t),o(n(63299),t),o(n(90311),t),o(n(20779),t),o(n(87994),t),o(n(53744),t),o(n(94891),t),o(n(52851),t)},62714:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesTable=void 0;var r=n(61250),a=n(29901),s=n(21585),l=n(83710);n(90572);var c=n(39065),d=n(31352),u=n(86356);t.AttributesTable=function(e){var t=e.modelIndex,n=e.characteristicIndex,h=e.characteristic,p=e.areReasonCodesUsed,f=e.viewAttribute,g=e.deleteAttribute,m=e.onCommit,v=(0,u.useOperation)().setActiveOperation,b=o((0,a.useState)(void 0),2),_=b[0],y=b[1],A=(0,d.useSelector)((function(e){return e.DataDictionary.DataField})),w=(0,d.useSelector)((function(t){var n=t.models?t.models[e.modelIndex]:void 0;return n&&n instanceof s.Scorecard?n.MiningSchema.MiningField:[]}));(0,a.useEffect)((function(){var e;void 0!==_&&(null===(e=document.querySelector("#attribute-n".concat(_)))||void 0===e||e.focus())}),[h.Attribute,_]);return(0,r.jsx)("section",i({"data-testid":"attributes-table"},{children:h.Attribute.map((function(e,o){return(0,r.jsx)("article",i({className:"editable-item attribute-item-n".concat(o)},{children:(0,r.jsx)(l.AttributesTableRow,{modelIndex:t,characteristicIndex:n,characteristic:h,attributeIndex:o,attribute:e,areReasonCodesUsed:p,characteristicReasonCode:h.reasonCode,dataFields:A,miningFields:w,onEdit:function(){return function(e){v(c.Operation.UPDATE_ATTRIBUTE),f(e)}(o)},onDelete:function(e){return function(e,t){var n;(function(e){void 0!==e&&g(e)})(e),"mouse"===t?document.activeElement instanceof HTMLElement&&(null===(n=document.activeElement)||void 0===n||n.blur()):"keyboard"===t&&y(e)}(o,e)},onCommit:function(e){return m(o,e)}},o)}),o)}))}),void 0)}},3514:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsContainer=void 0;var r=n(61250),a=n(29901),s=n(23554),l=n(39065),c=n(27316);n(36372);var d=n(44125),u=n(16414),h=n(83710),p=n(39378),f=n(34822),g=n(96595),m=n(86356),v=n(95183),b=Reflect.set,_=Reflect.get;t.CharacteristicsContainer=function(e){var t=e.modelIndex,n=e.areReasonCodesUsed,y=e.scorecardBaselineScore,A=e.characteristics,w=(0,m.useOperation)().setActiveOperation,C=(0,g.useHistoryService)(),x=C.service,S=C.getCurrentState,E=(0,g.useBatchDispatch)(x,S),k=o((0,a.useState)(""),2),M=k[0],D=k[1],N=o((0,a.useState)([]),2),I=N[0],T=N[1],L=o((0,a.useState)(void 0),2),B=L[0],O=L[1],P=o((0,a.useState)(void 0),2),F=P[0],R=P[1],j=o((0,a.useState)("overview"),2),z=j[0],V=j[1];(0,a.useEffect)((function(){return U()}),[t,A]);var W,H=function(e){D(e.toLowerCase().trim())},U=function(){var e=null==A?void 0:A.map((function(e,t){return{index:t,characteristic:e}})).filter((function(e){var t=e.characteristic.name;return null==t?void 0:t.toLowerCase().includes(M)}));T(null!=e?e:[])},Q=function(){w(l.Operation.UPDATE_CHARACTERISTIC),V("overview")},G=(0,a.useCallback)((function(e,t){return void 0!==t&&""!==t.trim()&&0===A.filter((function(n,i){return e!==i&&n.name===t})).length}),[A]),K=(0,a.useCallback)((function(){var e=null==A?void 0:A.length;if(void 0!==e){O(e);var n=A.map((function(e){var t;return null!==(t=e.name)&&void 0!==t?t:""})),i=(0,f.findIncrementalName)("New characteristic",n,1);E({type:u.Actions.Scorecard_AddCharacteristic,payload:{modelIndex:t,name:i,baselineScore:void 0,reasonCode:void 0,Attribute:[]}}),w(l.Operation.UPDATE_CHARACTERISTIC),H("")}}),[A]),Y=(0,a.useCallback)((function(e){E({type:u.Actions.Scorecard_DeleteCharacteristic,payload:{modelIndex:t,characteristicIndex:e}})}),[A]),$=(0,a.useCallback)((function(){if(void 0!==B){var e=A[B].Attribute.length;R(e),E({type:u.Actions.Scorecard_AddAttribute,payload:{modelIndex:t,characteristicIndex:B,predicate:(0,v.fromText)("True"),partialScore:void 0,reasonCode:void 0}}),w(l.Operation.UPDATE_ATTRIBUTE),V("attribute")}}),[A,B]),J=(0,a.useCallback)((function(e){if(void 0!==B){var n=A[B],o={};Object.keys(e).forEach((function(e){return b(o,e,_(n,e))})),(0,p.isEqual)(e,o)||E({type:u.Actions.Scorecard_UpdateCharacteristic,payload:i(i({modelIndex:t,characteristicIndex:B},n),e)})}}),[A,B]),q=function(){O(void 0),w(l.Operation.NONE)},Z=(0,a.useCallback)((function(e,n){E(void 0===e?{type:u.Actions.Scorecard_AddAttribute,payload:{modelIndex:t,characteristicIndex:B,predicate:n.predicate,partialScore:n.partialScore,reasonCode:n.reasonCode}}:{type:u.Actions.Scorecard_UpdateAttribute,payload:{modelIndex:t,characteristicIndex:B,attributeIndex:F,predicate:n.predicate,partialScore:n.partialScore,reasonCode:n.reasonCode}})}),[t,B,F]),X=(0,a.useMemo)((function(){return 0===A.length?(0,r.jsx)(h.EmptyStateNoCharacteristics,{addCharacteristic:K},void 0):(0,r.jsx)(s.Stack,i({hasGutter:!0},{children:(0,r.jsxs)(s.StackItem,{children:[(0,r.jsx)(h.CharacteristicsToolbar,{filter:M,setFilter:H,onFilter:U,onAddCharacteristic:K},void 0),(0,r.jsx)(h.EmptyStateNoMatchingCharacteristics,{},void 0)]},void 0)}),void 0)}),[M,A]);return(0,r.jsxs)("div",i({className:"characteristics-container","data-ouia-component-id":"characteristics"},{children:[0===I.length&&X,I.length>0&&(0,r.jsx)(d.SwitchTransition,i({mode:"out-in"},{children:(0,r.jsx)(d.CSSTransition,i({timeout:{enter:230,exit:100},classNames:(W=z,"overview"===W?"characteristics-container__overview":"characteristics-container__attribute")},{children:(0,r.jsxs)(r.Fragment,{children:["overview"===z&&(0,r.jsxs)(s.Stack,{children:[(0,r.jsx)(s.StackItem,{children:(0,r.jsx)(h.CharacteristicsToolbar,{filter:M,setFilter:H,onFilter:U,onAddCharacteristic:K},void 0)},void 0),(0,r.jsx)(s.StackItem,i({className:"characteristics-container__overview"},{children:(0,r.jsx)(c.CharacteristicsTable,{modelIndex:t,areReasonCodesUsed:n,scorecardBaselineScore:y,characteristics:I,characteristicsUnfilteredLength:A.length,selectedCharacteristicIndex:B,setSelectedCharacteristicIndex:O,validateCharacteristicName:G,viewAttribute:function(e){void 0!==e&&(R(e),V("attribute"))},deleteCharacteristic:Y,onAddAttribute:$,onCommitAndClose:function(){J({}),q()},onCommit:J,onCancel:q},void 0)}),void 0)]},void 0),"attribute"===z&&(0,r.jsxs)(s.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(s.StackItem,{children:(0,r.jsx)(h.AttributeToolbar,{viewOverview:Q},void 0)},void 0),(0,r.jsx)(s.StackItem,i({className:"characteristics-container__attribute"},{children:(0,r.jsx)(h.AttributeEditor,{modelIndex:t,characteristicIndex:B,attributeIndex:F,areReasonCodesUsed:n,onCancel:Q,onCommit:Z},void 0)}),void 0)]}),void 0)]},void 0)}),z)}),void 0)]}),void 0)}},27316:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsTable=void 0;var r=n(61250),a=n(29901),s=n(36841),l=n(83710),c=n(39065),d=n(31352),u=n(86356);t.CharacteristicsTable=function(e){var t=e.modelIndex,n=e.areReasonCodesUsed,h=e.scorecardBaselineScore,p=e.characteristics,f=e.characteristicsUnfilteredLength,g=e.selectedCharacteristicIndex,m=e.setSelectedCharacteristicIndex,v=e.validateCharacteristicName,b=e.viewAttribute,_=e.deleteCharacteristic,y=e.onAddAttribute,A=e.onCommitAndClose,w=e.onCommit,C=e.onCancel,x=(0,a.useRef)(null),S=o((0,a.useState)(void 0),2),E=S[0],k=S[1],M=(0,u.useOperation)(),D=M.activeOperation,N=M.setActiveOperation,I=(0,d.useSelector)((function(e){return e.DataDictionary.DataField}));(0,a.useEffect)((function(){D===c.Operation.UPDATE_CHARACTERISTIC&&x.current&&x.current.scrollIntoView({behavior:"smooth"})}),[D]),(0,a.useEffect)((function(){g===f&&(m(void 0),N(c.Operation.NONE))}),[p,g]),(0,a.useEffect)((function(){var e;void 0!==E&&(null===(e=document.querySelector("#characteristic-n".concat(E)))||void 0===e||e.focus())}),[p,E]);return(0,r.jsx)(s.Form,i({"data-testid":"characteristics-table",onSubmit:function(e){e.stopPropagation(),e.preventDefault()},className:"characteristics-container__overview__form"},{children:p.map((function(e){var o=g===e.index&&D===c.Operation.UPDATE_CHARACTERISTIC;return(0,r.jsxs)("article",i({className:"editable-item characteristic-item-n".concat(g," ").concat(o?"editable-item--editing":"")},{children:[o&&(0,r.jsx)("div",i({ref:x},{children:(0,r.jsx)(l.CharacteristicsTableEditRow,{modelIndex:t,areReasonCodesUsed:n,scorecardBaselineScore:h,characteristic:e,validateCharacteristicName:function(t){return n=e.index,v(n,t);var n},viewAttribute:b,onAddAttribute:y,onCommitAndClose:A,onCommit:w,onCancel:C},void 0)}),void 0),!o&&(0,r.jsx)(l.CharacteristicsTableRow,{modelIndex:t,characteristicIndex:e.index,areReasonCodesUsed:n,scorecardBaselineScore:h,characteristic:e,dataFields:I,onEdit:function(){return t=e.index,m(t),void N(c.Operation.UPDATE_CHARACTERISTIC);var t},onDelete:function(t){return function(e,t){var n;(function(e){void 0!==e&&(N(c.Operation.NONE),_(e))})(e),"mouse"===t?document.activeElement instanceof HTMLElement&&(null===(n=document.activeElement)||void 0===n||n.blur()):"keyboard"===t&&k(e),m(void 0)}(e.index,t)}},void 0)]}),e.index)}))}),void 0)}},69225:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.CorePropertiesTable=void 0;var r=n(61250),a=n(29901),s=n(46490),l=n(93104),c=n(23554),d=n(79477),u=n(36841),h=n(22174),p=n(49726),f=n(21717),g=n(30123),m=n(55370),v=n(33632);n(10206);var b=n(39065),_=n(280),y=n(39378),A=n(86356),w=n(24820),C=n(66487),x=n(13136),S=n(40237),E=Reflect.set,k=Reflect.get,M=function(e,t,n,i,o){return(0,r.jsx)(s.GenericSelector,{id:e,items:t,selection:n,onSelect:i,isDisabled:o},void 0)};t.CorePropertiesTable=function(e){var t=(0,A.useOperation)(),n=t.activeOperation,s=t.setActiveOperation,f=o((0,a.useState)(!1),2),N=f[0],I=f[1],T=o((0,a.useState)(),2),L=T[0],B=T[1],O=o((0,a.useState)(),2),P=O[0],F=O[1],R=o((0,a.useState)(),2),j=R[0],z=R[1],V=o((0,a.useState)(),2),W=V[0],H=V[1],U=o((0,a.useState)(),2),Q=U[0],G=U[1],K=o((0,a.useState)(),2),Y=K[0],$=K[1],J=o((0,a.useState)(),2),q=J[0],Z=J[1],X=o((0,a.useState)(),2),ee=X[0],te=X[1];(0,a.useEffect)((function(){B(e.isScorable),F(e.functionName),z(e.algorithmName),H(e.baselineScore),G(e.baselineMethod),$(e.initialScore),Z(e.areReasonCodesUsed),te(e.reasonCodeAlgorithm)}),[e]);var ne=(0,_.default)((function(){return ae()}),{disabled:n!==b.Operation.UPDATE_CORE,eventTypes:["click"]}),ie=function(e){if(""!==e){var t=Number(e);if(!isNaN(t))return t}},oe=function(e){return e?"Yes":"No"},re=function(e){e.preventDefault(),e.stopPropagation(),s(b.Operation.UPDATE_CORE),I(!0)},ae=function(){se({}),le()},se=function(t){var n={};Object.keys(t).forEach((function(t){return E(n,t,k(e,t))})),(0,y.isEqual)(t,n)||e.commit(i(i({},e),t))},le=function(){I(!1),s(b.Operation.NONE)},ce=(0,a.useMemo)((function(){return N&&n===b.Operation.UPDATE_CORE}),[N,n]),de=(0,w.useValidationRegistry)().validationRegistry.get((0,C.Builder)().forModel(e.modelIndex).forBaselineScore().build());return(0,r.jsxs)(r.Fragment,{children:[!ce&&(0,r.jsx)("div",i({tabIndex:0,onClick:re,onKeyDown:function(e){"Enter"===e.key&&re(e)},"data-testid":"core-properties-table"},{children:(0,r.jsx)(g.PageSection,i({variant:g.PageSectionVariants.light,className:"editable-item","data-ouia-component-type":"model-setup-overview"},{children:(0,r.jsx)(c.Stack,i({hasGutter:!0},{children:(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(p.Title,i({size:"lg",headingLevel:"h1"},{children:"Model Setup"}),void 0)},void 0),(0,r.jsxs)(d.SplitItem,{children:[void 0!==L&&D("Is Scorable",oe(L)),void 0!==P&&D("Function",P),void 0!==j&&D("Algorithm",j),void 0!==Y&&D("Initial Score",Y),void 0!==q&&D("Use Reason Codes",oe(q)),void 0!==ee&&D("Reason Code Algorithm",ee),void 0!==W&&0===de.length&&D("Baseline Score",W),de.length>0&&(0,r.jsx)(S.ValidationIndicatorLabel,i({validations:de,cssClass:"core-properties__label"},{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("strong",{children:"Baseline Score:"},void 0),"ย ",(0,r.jsx)("em",{children:"Missing"},void 0)]},void 0)}),void 0),void 0!==Q&&D("Baseline Method",Q)]},void 0)]}),void 0)},void 0)}),void 0)}),void 0)}),void 0),ce&&(0,r.jsx)("div",i({ref:ne,"data-testid":"core-properties-table"},{children:(0,r.jsx)(g.PageSection,i({variant:g.PageSectionVariants.light,className:"editable-item--editing","data-ouia-component-type":"edit-model-setup"},{children:(0,r.jsxs)(c.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(d.Split,i({hasGutter:!0},{children:(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(p.Title,i({size:"lg",headingLevel:"h1"},{children:"Model Setup"}),void 0)},void 0)}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(u.Form,i({onSubmit:function(e){e.stopPropagation(),e.preventDefault()},className:"core-properties__container"},{children:(0,r.jsxs)(m.Level,i({hasGutter:!0},{children:[(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Is Scorable",fieldId:"core-isScorable"},{children:(0,r.jsx)(v.Switch,{id:"core-isScorable",isChecked:!0===L,"aria-label":"Is scorable","data-testid":"core-properties-table-isScorable",onChange:function(e){B(e),se({isScorable:e})},ouiaId:"is-scorable"},void 0)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Function",fieldId:"core-functionName",required:!0},{children:M("core-functionName",["associationRules","sequences","classification","regression","clustering","timeSeries","mixed"],P,(function(e){F(e),se({functionName:e})}),!0)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Algorithm",fieldId:"core-algorithmName"},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"core-algorithmName",name:"core-algorithmName","aria-describedby":"core-algorithmName","data-testid":"core-properties-table-algorithmName",value:null!=j?j:"",onChange:function(e){return z(e)},onBlur:function(){se({algorithmName:""===j?void 0:j})},ouiaId:"algorithm"},void 0)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Initial score",fieldId:"core-initialScore"},{children:(0,r.jsx)(l.TextInput,{id:"core-initialScore",value:Y,onChange:function(e){return $(ie(e))},onBlur:function(){se({initialScore:Y})},type:"number",ouiaId:"initial-score"},void 0)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Use reason codes?",fieldId:"core-useReasonCodes"},{children:(0,r.jsx)(v.Switch,{id:"core-useReasonCodes",isChecked:q,"aria-label":"Use reason codes","data-testid":"core-properties-table-useReasonCodes",onChange:function(e){Z(e),se({areReasonCodesUsed:e})},ouiaId:"use-reason-codes"},void 0)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Reason code algorithm",fieldId:"core-reasonCodeAlgorithm"},{children:M("core-reasonCodeAlgorithm",["pointsAbove","pointsBelow"],ee,(function(e){te(e),se({reasonCodeAlgorithm:e})}),!q)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Baseline score",fieldId:"core-baselineScore",validated:de.length>0?"warning":"default",helperText:de.length>0?de[0].message:void 0,labelIcon:(0,r.jsx)(h.Tooltip,i({content:q&&e.isBaselineScoreDisabled?"A Baseline score is already provided inside all Characteristics":"\n When Use Reason Codes is set to yes, a Baseline score value must be provided. Alternatively you can provide a Baseline score for all the characteristics\n "},{children:(0,r.jsx)("button",i({"aria-label":"More information for Baseline score",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(x.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(l.TextInput,{id:"core-baselineScore",value:null!=W?W:"",onChange:function(e){return H(ie(e))},onBlur:function(){se({baselineScore:W})},type:"number",validated:de.length>0?"warning":"default",isDisabled:e.isBaselineScoreDisabled,ouiaId:"baseline-score"},void 0)}),void 0)},void 0),(0,r.jsx)(m.LevelItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Baseline method",fieldId:"core-baselineMethod"},{children:M("core-baselineMethod",["max","min","mean","neutral","other"],Q,(function(e){G(e),se({baselineMethod:e})}),!q)}),void 0)},void 0)]}),void 0)}),void 0)},void 0)]}),void 0)}),void 0)}),void 0)]},void 0)};var D=function(e,t){return(0,r.jsxs)(f.Label,i({color:"cyan",className:"core-properties__label","data-ouia-component-type":"model-property"},{children:[(0,r.jsxs)("strong",{children:[e,":"]},void 0),"ย ",(0,r.jsx)("span",{children:t},void 0)]}),void 0)}},95183:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.fromText=t.toText=void 0;var r=n(21585),a=new Map([["equal","="],["notEqual","<>"],["lessThan","<"],["lessOrEqual","<="],["greaterThan",">"],["greaterOrEqual",">="],["isMissing","isMissing"],["isNotMissing","isNotMissing"]]);t.toText=function(e,t){var n=new Map(t.map((function(e){return[e.name,e.dataType]})));return s(e,n,0)};var s=function(e,t,n){var i;if(e instanceof r.True)return"True";if(e instanceof r.False)return"False";if(e instanceof r.SimpleSetPredicate){var o=e;return"".concat(o.field.toString()," ").concat(o.booleanOperator," ").concat(o.Array.toString()," ")}if(e instanceof r.SimplePredicate){var l=e;return"".concat(l.field.toString()," ").concat(a.get(l.operator)," ").concat(c(l.field,l.value,t))}if(e instanceof r.CompoundPredicate){var d=e,u="",h=[];return null===(i=d.predicates)||void 0===i||i.forEach((function(e){return h.push(s(e,t,n+1))})),u+h.join(" "+d.booleanOperator+" ")}return""},l=function(){var e=new r.True({});return e._type="True",e},c=function(e,t,n){return void 0===t?"":"string"===n.get(e)?'"'.concat(t,'"'):t.toString()};t.fromText=function(e){if(void 0!==e&&""!==(e=e.trim())){var n;if(/^True$/gim.test(e))return l();if(/^False$/gim.test(e))return(n=new r.False({}))._type="False",n;var s=/^(\S+)\s+(isMissing|isNotMissing)\s*$/gm.exec(e);if(null!==s)return function(e,t){var n=new r.SimplePredicate({field:e,operator:t});return n._type="SimplePredicate",n}(s[1],s[2]);var c=/^(\S+)\s*(=|>|<|<=|>=|<>)\s*"?(\S+)"?$/gm.exec(e);if(null!==c)return function(e,t,n){var i=new r.SimplePredicate({field:e,operator:t,value:n});return i._type="SimplePredicate",i}(c[1],function(e){var t,n,r=a.entries();try{for(var s=i(r),l=s.next();!l.done;l=s.next()){var c=o(l.value,2),d=c[0];if(c[1]===e)return d}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}}(c[2]),c[3]);var d=/^(.*)\s*(\band\b|\bxor\b|\bor\b)\s*(.*)$/gm.exec(e);if(null!==d){var u=(0,t.fromText)(d[1]),h=(0,t.fromText)(d[3]),p=d[2];if(void 0!==u&&void 0!==h&&void 0!==p)return function(e,t,n){var i=new r.CompoundPredicate({predicates:[e,t],booleanOperator:n});return i._type="CompoundPredicate",i}(u,h,p)}return l()}}},79326:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(62714),t),o(n(3514),t),o(n(27316),t),o(n(69225),t),o(n(95183),t)},63188:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ScorecardEditorPage=void 0;var o=n(61250),r=n(29901),a=n(30123),s=n(58510),l=n(21585),c=n(79326),d=n(52288),u=n(16414),h=n(31352);n(5656);var p=n(17724),f=n(96595);t.ScorecardEditorPage=function(e){var t,n,g,m,v,b,_=e.modelIndex,y=(0,f.useHistoryService)(),A=y.service,w=y.getCurrentState,C=(0,f.useBatchDispatch)(A,w),x=(0,h.useSelector)((function(t){var n=t.models?t.models[e.modelIndex]:void 0;if(n&&n instanceof l.Scorecard)return n})),S=(0,r.useMemo)((function(){return(0,d.getModelName)(x)}),[x]),E=(0,r.useMemo)((function(){return null==x?void 0:x.Characteristics}),[x]),k=(0,r.useMemo)((function(){return null==x?void 0:x.MiningSchema}),[x]),M=(0,r.useMemo)((function(){return null==x?void 0:x.Output}),[x]),D=(0,r.useCallback)((function(e,t){var n;return 0!==t.toString().trim().length&&0===(null!==(n=null==M?void 0:M.OutputField)&&void 0!==n?n:[]).filter((function(n,i){return i!==e&&n.name===t})).length}),[M]),N=(0,r.useMemo)((function(){return void 0!==(null==E?void 0:E.Characteristic)&&E.Characteristic.length>0&&E.Characteristic.every((function(e){return void 0!==e.baselineScore}))}),[E]),I=(0,r.useCallback)((function(e){C({type:u.Actions.DeleteOutput,payload:{modelIndex:_,outputIndex:e}})}),[_,M]),T=(0,r.useCallback)((function(e,t){C(void 0===e?{type:u.Actions.AddOutput,payload:{modelIndex:_,outputField:t}}:{type:u.Actions.UpdateOutput,payload:{modelIndex:_,outputIndex:e,outputField:t}})}),[_]),L=(0,r.useCallback)((function(e){e!==S&&C({type:u.Actions.Scorecard_SetModelName,payload:{modelIndex:_,modelName:""===e?void 0:e}})}),[_]),B=(0,r.useCallback)((function(e){C({type:u.Actions.Scorecard_SetCoreProperties,payload:{modelIndex:_,isScorable:e.isScorable,functionName:e.functionName,algorithmName:e.algorithmName,baselineScore:e.baselineScore,baselineMethod:e.baselineMethod,initialScore:e.initialScore,useReasonCodes:e.areReasonCodesUsed,reasonCodeAlgorithm:e.reasonCodeAlgorithm}})}),[_]);return(0,o.jsxs)("div",i({"data-testid":"editor-page",className:"editor"},{children:[!x&&(0,o.jsx)(p.EmptyStateModelNotFound,{},void 0),x&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",i({className:"editor__header__container"},{children:(0,o.jsx)("div",i({className:"editor__header__content"},{children:(0,o.jsx)(a.PageSection,i({variant:a.PageSectionVariants.light,isFilled:!1},{children:(0,o.jsx)(s.EditorHeader,{modelName:S,modelIndex:_,miningSchema:k,output:M,validateOutputFieldName:D,deleteOutputField:I,commitOutputField:T,commitModelName:L},void 0)}),void 0)}),void 0)}),void 0),(0,o.jsx)("div",i({className:"editor__body__container"},{children:(0,o.jsxs)("div",i({className:"editor__body__content"},{children:[(0,o.jsx)(a.PageSection,i({isFilled:!1,"data-ouia-component-id":"model-setup"},{children:(0,o.jsx)(c.CorePropertiesTable,{modelIndex:_,isScorable:null===(t=x.isScorable)||void 0===t||t,functionName:x.functionName,algorithmName:x.algorithmName,baselineScore:x.baselineScore,isBaselineScoreDisabled:N,baselineMethod:null!==(n=x.baselineMethod)&&void 0!==n?n:"other",initialScore:x.initialScore,areReasonCodesUsed:null===(g=x.useReasonCodes)||void 0===g||g,reasonCodeAlgorithm:null!==(m=x.reasonCodeAlgorithm)&&void 0!==m?m:"pointsBelow",commit:B},void 0)}),void 0),(0,o.jsx)(a.PageSection,i({isFilled:!0,style:{paddingTop:"0px"}},{children:(0,o.jsx)(a.PageSection,i({variant:a.PageSectionVariants.light,style:{height:"100%"}},{children:(0,o.jsx)(c.CharacteristicsContainer,{modelIndex:_,areReasonCodesUsed:null===(v=x.useReasonCodes)||void 0===v||v,scorecardBaselineScore:x.baselineScore,characteristics:null!==(b=null==E?void 0:E.Characteristic)&&void 0!==b?b:[]},void 0)}),void 0)}),void 0)]}),void 0)}),void 0)]},void 0)]}),void 0)}},29277:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(63188),t)},1640:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderTitle=void 0;var o=n(61250),r=n(53299),a=n(49726);t.HeaderTitle=function(e){return(0,o.jsx)(r.TextContent,{children:(0,o.jsx)(a.Title,i({size:"3xl",headingLevel:"h2"},{children:e.title}),void 0)},void 0)}},9767:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1640),t)},66389:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModelCardIcon=void 0;var i=n(61250),o=n(52288);n(51875),t.ModelCardIcon=function(e){var t=e.type,n=(0,o.getModelIconUrlByType)(t);return(0,i.jsx)("img",{"data-testid":"model-card__icon",src:n,alt:t,className:"model-card__icon"},void 0)}},47320:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(66389),t)},65058:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.LandingPageHeader=void 0;var o=n(61250),r=n(9767),a=n(79477),s=n(91873);t.LandingPageHeader=function(e){return(0,o.jsxs)(a.Split,i({hasGutter:!0},{children:[(0,o.jsx)(a.SplitItem,i({isFilled:!0},{children:(0,o.jsx)(r.HeaderTitle,{title:e.title},void 0)}),void 0),(0,o.jsx)(a.SplitItem,{children:(0,o.jsx)(s.default,{},void 0)},void 0)]}),void 0)}},40483:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.LandingPageToolbar=void 0;var r=n(61250),a=n(29901),s=n(40002),l=n(93104),c=n(50960),d=n(65411),u=n(33632),h=n(46065);t.LandingPageToolbar=function(e){var t=o((0,a.useState)(""),2),n=t[0],p=t[1],f=e.onFilter,g=e.hasUnsupportedModels,m=e.showUnsupportedModels,v=e.onShowUnsupportedModels;return(0,r.jsx)(d.Toolbar,i({id:"landing-page-toolbar","data-testid":"landing-page-toolbar"},{children:(0,r.jsxs)(d.ToolbarContent,{children:[(0,r.jsx)(d.ToolbarItem,{children:(0,r.jsx)(c.InputGroup,{children:(0,r.jsx)("form",i({onSubmit:function(e){return e.preventDefault()}},{children:(0,r.jsxs)("span",i({style:{display:"flex"}},{children:[(0,r.jsx)(l.TextInput,{id:"model-filter-input",name:"model-filter-input","data-testid":"landing-page-toolbar__model-filter",type:"search","aria-label":"filter models",placeholder:"Filter models by name",onChange:function(e){return p(e)}},void 0),(0,r.jsx)(s.Button,i({id:"models-filter",type:"submit","data-testid":"landing-page-toolbar__submit",variant:s.ButtonVariant.control,"aria-label":"filter button for filter input",onClick:function(e){return f(n)}},{children:(0,r.jsx)(h.SearchIcon,{},void 0)}),void 0)]}),void 0)}),void 0)},void 0)},void 0),g&&(0,r.jsx)(d.ToolbarItem,{children:(0,r.jsx)(u.Switch,{id:"only-supported-models-switch","data-testid":"landing-page-toolbar__supported-models",label:"Show unsupported models",isChecked:m,onChange:v},void 0)},void 0)]},void 0)}),void 0)}},6426:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ModelCard=void 0;var o=n(61250),r=n(40002),a=n(22174),s=n(8635),l=n(29901);n(24654);var c=n(47320),d=n(40237);t.ModelCard=function(e){var t=e.index,n=e.modelName,u=e.modelType,h=(0,l.useCallback)((function(n){void 0!==t&&(n.stopPropagation(),e.onClick(t))}),[t]),p=(0,l.useCallback)((function(n){void 0!==t&&(n.stopPropagation(),e.onDelete(t))}),[t]),f=(0,l.useMemo)((function(){return""===n?d.MODEL_NAME_NOT_SET:n}),[n]);return(0,o.jsxs)(s.Card,i({"data-testid":"model-card",isHoverable:!0,className:"model-card",onClick:h},{children:[(0,o.jsx)(s.CardHeader,{children:(0,o.jsx)(s.CardHeaderMain,{children:(0,o.jsx)(c.ModelCardIcon,{type:u},void 0)},void 0)},void 0),(0,o.jsx)(a.Tooltip,i({content:(0,o.jsx)("div",{children:f},void 0)},{children:(0,o.jsx)(s.CardTitle,i({className:"model-card__title"},{children:(0,o.jsx)("span",i({"data-testid":"model-card__title"},{children:f}),void 0)}),void 0)}),void 0)," ",(0,o.jsx)(s.CardBody,{children:(0,o.jsx)("div",i({"data-testid":"model-card__model-type"},{children:u}),void 0)},void 0),(0,o.jsx)(s.CardFooter,{children:(0,o.jsx)(r.Button,i({"data-testid":"model-card__delete",variant:"primary",onClick:p},{children:"Delete"}),void 0)},void 0)]}),void 0)}},29367:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6426),t),o(n(65058),t),o(n(40483),t)},86739:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateNoContent=void 0;var o=n(61250),r=n(49726),a=n(4010),s=n(44834);t.EmptyStateNoContent=function(){return(0,o.jsxs)(a.EmptyState,i({"data-testid":"empty-state-no-content",variant:a.EmptyStateVariant.small},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.ExclamationTriangleIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg"},{children:"Editor content has not been set."}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"Something went wrong. An attempt has been made to view the editor before content is set."},void 0)]}),void 0)}},7105:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateNoModels=void 0;var o=n(61250),r=n(40002),a=n(49726),s=n(4010),l=n(19333);t.EmptyStateNoModels=function(e){return(0,o.jsxs)(s.EmptyState,i({"data-testid":"empty-state-no-models",variant:s.EmptyStateVariant.small},{children:[(0,o.jsx)(s.EmptyStateIcon,{icon:l.BoxesIcon},void 0),(0,o.jsx)(a.Title,i({headingLevel:"h4",size:"lg"},{children:"You don't have any PMML Models"}),void 0),(0,o.jsx)(s.EmptyStateBody,{children:"PMML uses XML to represent predictive models. One or more predictive models can be contained in a PMML document."},void 0),(0,o.jsx)(r.Button,i({"data-testid":"empty-state-no-models__create-model",variant:"primary",onClick:e.createModel},{children:"Create Model"}),void 0)]}),void 0)}},59782:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(86739),t),o(n(7105),t)},31522:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.LandingPage=void 0;var r=n(61250),a=n(29901),s=n(30123),l=n(35405),c=n(59782),d=n(3916),u=n(31352),h=n(52288),p=n(29367),f=n(16414),g=n(39422),m=n(96595);t.LandingPage=function(e){var t=(0,g.useHistory)(),n=(0,m.useHistoryService)(),v=n.service,b=n.getCurrentState,_=(0,m.useBatchDispatch)(v,b),y=o((0,a.useState)(""),2),A=y[0],w=y[1],C=o((0,a.useState)(!0),2),x=C[0],S=C[1],E=(0,u.useSelector)((function(e){return e.models})),k=(0,a.useMemo)((function(){return void 0!==(null!=E?E:[]).find((function(e){return!(0,h.isSupportedModelType)(e)}))}),[E]),M=(0,a.useCallback)((function(){var e=A.toLowerCase(),t=null==E?void 0:E.filter((function(t){var n=(0,h.getModelName)(t),i=(0,h.isSupportedModelType)(t);return(void 0===n||n.toLowerCase().includes(e))&&(x||i)}));return null!=t?t:[]}),[A,x,E]),D=(0,a.useMemo)((function(){return M()}),[A,x,E]),N=(0,a.useCallback)((function(e){t.push({pathname:"editor/"+e})}),[t]),I=(0,a.useCallback)((function(e,t){_({type:f.Actions.DeleteModel,payload:{modelIndex:e}})}),[]);return(0,r.jsxs)("div",i({"data-testid":"landing-page"},{children:[(0,r.jsxs)(s.PageSection,i({variant:s.PageSectionVariants.light},{children:[(0,r.jsx)(p.LandingPageHeader,{title:e.path},void 0),(0,r.jsx)(p.LandingPageToolbar,{onFilter:w,hasUnsupportedModels:k,showUnsupportedModels:x,onShowUnsupportedModels:S},void 0)]}),void 0),(0,r.jsx)(s.PageSection,i({isFilled:!0},{children:(0,r.jsxs)("section",{children:[D.length>0&&(0,r.jsx)(l.Gallery,i({hasGutter:!0},{children:D.map((function(e){var t=null==E?void 0:E.indexOf(e),n=(0,h.getModelName)(e),o=(0,h.getModelType)(e);return(0,r.jsx)(l.GalleryItem,i({"data-testid":"landing-page__model-card"},{children:(0,r.jsx)(p.ModelCard,{index:t,modelName:n,modelType:o,onClick:N,onDelete:function(e){return I(e,n)}},void 0)}),(0,d.v4)())}))}),void 0),0===D.length&&(0,r.jsx)(c.EmptyStateNoModels,{createModel:function(){}},void 0)]},void 0)}),void 0)]}),void 0)}},15192:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(31522),t)},7634:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.LinearRegressionView=t.Range=t.Line=void 0;var o=n(61250),r=n(11385);t.Line=function(e,t,n){this.m=e,this.c=t,this.title=n};t.Range=function(e,t){this.min=e,this.max=t};var a=function(e,t){var n=Math.pow(10,t);return(Math.round(e*n)/n).toFixed(t)},s=function(e,t){for(var n=e.min,i=e.max,o=(i-n)/t,r=new Array,a=n;a<=i;)r.push(a),a+=o;return r[r.length-1]!==i&&r.push(i),r};t.LinearRegressionView=function(e){var t=[];e.lines.forEach((function(e){t.push({name:e.title})}));var n=e.modelName,l=void 0===n?"undefined":n,c=e.width,d=void 0===c?500:c,u=e.height,h=void 0===u?500:u;return(0,o.jsx)("div",i({style:{height:h,width:d}},{children:(0,o.jsxs)(r.Chart,i({ariaTitle:l,containerComponent:(0,o.jsx)(r.ChartVoronoiContainer,{labels:function(e){var t=e.datum;return"".concat(a(t._x,2),", ").concat(a(t._y,2))},constrainToVisibleArea:!0},void 0),legendData:t,legendOrientation:"horizontal",legendPosition:"bottom",padding:{bottom:100,left:50,right:50,top:50},height:h,width:d},{children:[(0,o.jsx)(r.ChartLabel,{text:l,x:d/2,y:30,textAnchor:"middle"},void 0),(0,o.jsx)(r.ChartAxis,{label:e.independentAxisTitle,showGrid:!0,tickValues:s(e.rangeX,8),tickFormat:function(e){return a(e,2)}},void 0),(0,o.jsx)(r.ChartAxis,{label:e.dependentAxisTitle,dependentAxis:!0,showGrid:!0,tickValues:s(e.rangeY,8),tickFormat:function(e){return a(e,2)}},void 0),(0,o.jsx)(r.ChartGroup,{children:e.lines.map((function(t){return(0,o.jsx)(r.ChartLine,{samples:100,domain:{x:[e.rangeX.min,e.rangeX.max],y:[e.rangeY.min,e.rangeY.max]},y:function(e){return t.m*e.x+t.c}},t.title)}))},void 0)]}),void 0)}),void 0)}},76976:function(e,t,n){"use strict";var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.LinearRegressionViewAdaptor=void 0;var r=n(61250),a=n(7634),s=n(31352);t.LinearRegressionViewAdaptor=function(e){var t=e.model,n=(0,s.useSelector)((function(e){return e.DataDictionary})),i=l(t);if(void 0===i)return(0,r.jsx)("div",{children:"Unsupported"},void 0);var o=c(i);if(void 0===o)return(0,r.jsx)("div",{children:"Unsupported"},void 0);var h=t.modelName,f=t.MiningSchema.MiningField.filter((function(e){return"target"===e.usageType}))[0].name,g=d(i,o),b=u(n,t);void 0===b&&(b=m(g));var _=p(n,o);return void 0===_&&(_=v(g,b)),(0,r.jsx)("div",{children:(0,r.jsx)(a.LinearRegressionView,{modelName:null!=h?h:"<Undefined>",independentAxisTitle:o.name,dependentAxisTitle:f,lines:g,rangeX:_,rangeY:b},void 0)},void 0)};var l=function(e){var t=e.RegressionTable;if(!(void 0===t||t.length>1))return t[0]},c=function(e){var t=e.NumericPredictor;if(!(void 0===t||t.length>1))return t[0]},d=function(e,t){var n=e.intercept,i={m:t.coefficient,c:n,title:"base"},o=new Array(i),r=e.CategoricalPredictor;return void 0===r||r.forEach((function(e){o.push({m:i.m,c:i.c+e.coefficient,title:"".concat(i.title," (").concat(e.value,")")})})),o},u=function(e,t){var n=h(t);if(void 0!==n){var i=f(e,n.name);return g(i)}},h=function(e){var t=e.MiningSchema.MiningField.filter((function(e){return"target"===e.usageType}));if(void 0!==t&&1===t.length)return t[0]},p=function(e,t){var n=f(e,t.name);return g(n)},f=function(e,t){var n=e.DataField.filter((function(e){return e.name===t&&"continuous"===e.optype}));if(void 0===n||1!==n.length)return[];var i=n[0].Interval;return void 0===i?[]:i},g=function(e){if(0!==e.length){var t=e.map((function(e){var t;return null!==(t=e.leftMargin)&&void 0!==t?t:0})).reduce((function(e,t){return Math.min(e,t)})),n=e.map((function(e){var t;return null!==(t=e.rightMargin)&&void 0!==t?t:0})).reduce((function(e,t){return Math.max(e,t)}));return new a.Range(t,n)}},m=function(e){var t=2*Math.max.apply(Math,o([],i(e.map((function(e){return e.c}))),!1)),n=-t;return new a.Range(n,t)},v=function(e,t){var n=Math.min.apply(Math,o([],i(e.map((function(e){return e.m}))),!1)),r=Math.max.apply(Math,o([],i(e.map((function(e){return e.c}))),!1)),s=(t.max-r)/n,l=-s;return new a.Range(l,s)}},28432:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7634),t),o(n(76976),t)},25611:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.LinearRegressionViewerPage=void 0;var o=n(61250),r=n(30123),a=n(58510),s=n(21585),l=n(52288),c=n(31352);n(24436);var d=n(17724),u=n(28432);t.LinearRegressionViewerPage=function(e){var t=e.modelIndex,n=(0,c.useSelector)((function(e){var n=e.models?e.models[t]:void 0;if(n&&n instanceof s.RegressionModel){var i=n;if("regression"===i.functionName&&"linearRegression"===i.algorithmName)return i}}));return(0,o.jsxs)("div",i({"data-testid":"editor-page",className:"editor"},{children:[!n&&(0,o.jsx)(d.EmptyStateModelNotFound,{},void 0),n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.PageSection,i({variant:r.PageSectionVariants.light,isFilled:!1},{children:(0,o.jsx)(a.EditorHeader,{modelName:(0,l.getModelName)(n),modelIndex:t},void 0)}),void 0),(0,o.jsx)(r.PageSection,i({isFilled:!0,style:{paddingTop:"0px"}},{children:(0,o.jsx)(u.LinearRegressionViewAdaptor,{model:n},void 0)}),void 0)]},void 0)]}),void 0)}},79861:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(25611),t)},2906:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(49726),a=n(4010),s=n(19333);t.default=function(){return(0,o.jsxs)(a.EmptyState,i({variant:a.EmptyStateVariant.large,"data-ouia-component-id":"no-mining-fields"},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.BoxesIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg"},{children:"No Mining Fields found"}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"Add some fields first from the section above. Then you will be able to add further information for each of them."},void 0)]}),void 0)}},25964:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var a=n(61250),s=n(29901),l=n(3916),c=n(40002),d=n(79477),u=n(60158);t.default=function(e){var t=e.options,n=e.onAdd,h=e.isDisabled,p=o((0,s.useState)(!1),2),f=p[0],g=p[1],m=o((0,s.useState)([]),2),v=m[0],b=m[1],_=o((0,s.useState)([]),2),y=_[0],A=_[1],w=o((0,s.useState)((0,l.v4)()),2),C=w[0],x=w[1],S=function(){A([]),g(!1)};return(0,s.useEffect)((function(){b(t.map((function(e){return{value:e.name,disabled:e.isSelected}}))),x((0,l.v4)())}),[t]),(0,a.jsx)("section",i({"data-ouia-component-id":"mining-toolbar"},{children:(0,a.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,a.jsx)(d.SplitItem,i({isFilled:!0},{children:(0,a.jsx)(u.Select,i({variant:u.SelectVariant.typeaheadMulti,typeAheadAriaLabel:"Select fields",onToggle:function(e){g(e)},toggleId:"select-mining-field",onSelect:function(e,t){if(y.includes(t.toString())){var n=y.filter((function(e){return e!==t}));A(n)}else A(r(r([],o(y),!1),[t.toString()],!1))},onClear:S,selections:y,isOpen:f,"aria-labelledby":"Select fields to add",placeholderText:"Select fields",isDisabled:h,ouiaId:"select-mining-field"},{children:v.map((function(e,t){return(0,a.jsx)(u.SelectOption,{isDisabled:e.disabled,value:e.value,"data-ouia-component-id":e.value,"data-ouia-component-type":"select-option"},t)}))}),C)}),void 0),(0,a.jsx)(d.SplitItem,{children:(0,a.jsx)(c.Button,i({variant:"primary",onClick:function(){n(y),S()},isDisabled:h,ouiaId:"add-mining-field"},{children:"Add Field(s)"}),void 0)},void 0),(0,a.jsx)(d.SplitItem,{children:(0,a.jsx)(c.Button,i({variant:"secondary",onClick:function(){var e=v.filter((function(e){return!e.disabled}));e.length&&n(e.map((function(e){return e.value})))},isDisabled:h,ouiaId:"add-all-fields"},{children:"Add All Fields"}),void 0)},void 0)]}),void 0)}),void 0)}},74811:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.MiningSchemaContext=void 0;var r=n(61250),a=n(29901),s=n(29901),l=n(23554),c=n(7003),d=n(51319),u=n(49726),h=n(44125),p=n(39378),f=n(2906),g=n(59828),m=n(25964),v=n(29361);n(41478);var b=n(24820),_=n(66487),y=n(73603);t.default=function(e){var n=e.modelIndex,a=e.dataDictionary,w=e.miningSchema,C=e.onAddField,x=e.onDeleteField,S=e.onUpdateField,E=o((0,s.useState)(A(a,w)),2),k=E[0],M=E[1],D=o((0,s.useState)("overview"),2),N=D[0],I=D[1],T=o((0,s.useState)(-1),2),L=T[0],B=T[1],O=o((0,s.useState)(void 0),2),P=O[0],F=O[1];(0,s.useEffect)((function(){M(A(a,w))}),[a,w]);var R=(0,b.useValidationRegistry)().validationRegistry,j=(0,s.useMemo)((function(){return R.get((0,_.Builder)().forModel(n).forMiningSchema().build())}),[a,w]);(0,s.useEffect)((function(){var e;void 0!==P&&(null===(e=document.querySelector("#mining-schema-field-n".concat(P)))||void 0===e||e.focus())}),[w,P]);var z,V=(0,s.useMemo)((function(){return 0===k.length||-1!==L}),[k,L]);return(0,r.jsx)("section",i({className:"mining-schema","data-testid":"mining-schema-container","data-ouia-component-id":"mining-container","data-ouia-component-type":"editor-container"},{children:(0,r.jsx)(t.MiningSchemaContext.Provider,i({value:L},{children:(0,r.jsx)(h.SwitchTransition,i({mode:"out-in"},{children:(0,r.jsx)(h.CSSTransition,i({timeout:{enter:230,exit:100},classNames:(z=N,"overview"===z?"mining-schema__overview":"properties"===z?"mining-schema__properties":void 0)},{children:(0,r.jsxs)(r.Fragment,{children:["overview"===N&&(0,r.jsxs)(l.Stack,i({hasGutter:!0,className:"mining-schema__overview"},{children:[(0,r.jsx)(l.StackItem,{children:(0,r.jsx)(u.Title,i({headingLevel:"h4",size:u.TitleSizes.xl},{children:"Add Fields"}),void 0)},void 0),(0,r.jsx)(l.StackItem,{children:(0,r.jsx)(m.default,{options:k,onAdd:function(e){e.length&&C(e)},isDisabled:V},void 0)},void 0),j.length>0&&(0,r.jsx)("section",i({className:"mining-schema__validation-alert","data-ouia-component-id":"validation-container","data-ouia-component-type":"validation-alerts"},{children:(0,r.jsx)(d.Alert,{variant:"warning",isInline:!0,title:"Some items are invalid and need attention."},void 0)}),void 0),(0,r.jsx)(l.StackItem,i({className:"mining-schema__fields"},{children:(0,r.jsxs)("section",{children:[(void 0===w||0===(null==w?void 0:w.MiningField.length))&&(0,r.jsxs)(r.Fragment,{children:[0===k.length&&(0,r.jsx)(c.Bullseye,i({style:{height:"40vh"}},{children:(0,r.jsx)(y.default,{},void 0)}),void 0)," ",k.length>0&&(0,r.jsx)(c.Bullseye,i({style:{height:"40vh"}},{children:(0,r.jsx)(f.default,{},void 0)}),void 0)]},void 0),w&&w.MiningField.length>0&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(g.default,{modelIndex:n,dataDictionary:a,fields:null==w?void 0:w.MiningField,onAddProperties:function(){I("properties")},onDelete:function(e,t){var n;x(e),"mouse"===t?document.activeElement instanceof HTMLElement&&(null===(n=document.activeElement)||void 0===n||n.blur()):"keyboard"===t&&F(e),B(-1)},onPropertyDelete:function(e,t){S(e,null==w?void 0:w.MiningField[L].name,t)},onEdit:function(e){B(e)},onCancel:function(){B(-1)}},void 0)},void 0)]},void 0)}),void 0)]}),void 0),"properties"===N&&(0,r.jsx)(v.default,{modelIndex:n,miningFieldIndex:L,field:w.MiningField[L],onSave:function(e){(0,p.isEqual)(e,(0,p.pickBy)(null==w?void 0:w.MiningField[L],(function(e){return void 0!==e})))||S(L,null==w?void 0:w.MiningField[L].name,e)},onClose:function(){I("overview")}},void 0)]},void 0)}),N)}),void 0)}),void 0)}),void 0)},t.MiningSchemaContext=a.createContext(-1);var A=function(e,t){return e?e.DataField.filter((function(e){return void 0!==e.name})).map((function(e){return{name:e.name,isSelected:!!t&&(null==t?void 0:t.MiningField.findIndex((function(t){return t.name===e.name})))>-1}})):[]}},69607:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(29901),a=n(21717),s=n(31363);n(21367);var l=n(24820),c=n(66487),d=n(40237),u=n(22001);t.default=function(e){var t=e.index,n=e.modelIndex,h=e.field,p=e.onEdit,f=e.onDelete,g=e.editing,m=function(e,t,n){return(0,o.jsxs)(a.Label,i({color:"cyan",className:"mining-schema-list__item__label",closeBtnProps:{className:"ignore-onclickoutside"},onClose:g?n:void 0,"data-ouia-component-id":e,"data-ouia-component-type":"mining-label"},{children:[(0,o.jsxs)("strong",{children:[e,":"]},void 0),"ย ",(0,o.jsx)("span",{children:t},void 0)]}),void 0)},v=function(e,t,n,r){return(0,o.jsxs)(d.ValidationIndicatorLabel,i({validations:r,cssClass:"mining-schema-list__item__label",onClose:g?n:void 0},{children:[(0,o.jsxs)("strong",{children:[e,":"]},void 0),"ย ",(0,o.jsx)("span",{children:t},void 0)]}),void 0)},b=function(e,t,n,i,r){return(0,o.jsxs)(o.Fragment,{children:[n&&void 0!==t&&m(e,t,r),n&&void 0===t&&v(e,(0,o.jsx)("em",{children:"Missing"},void 0),void 0,i),!n&&void 0!==t&&v(e,t,r,i)]},void 0)},_=(0,l.useValidationRegistry)().validationRegistry,y=(0,r.useMemo)((function(){return _.get((0,c.Builder)().forModel(n).forMiningSchema().forMiningField(t).forImportance().build())}),[n,t,h]),A=(0,r.useMemo)((function(){return _.get((0,c.Builder)().forModel(n).forMiningSchema().forMiningField(t).forLowValue().build())}),[n,t,h]),w=(0,r.useMemo)((function(){return _.get((0,c.Builder)().forModel(n).forMiningSchema().forMiningField(t).forHighValue().build())}),[n,t,h]),C=(0,r.useMemo)((function(){return(0,u.areLowHighValuesRequired)(h.outliers)}),[n,t,h]),x=(0,r.useMemo)((function(){return _.get((0,c.Builder)().forModel(n).forMiningSchema().forMiningField(t).forMissingValueReplacement().build())}),[n,t,h]),S=(0,r.useMemo)((function(){return(0,u.isMissingValueReplacementRequired)(h.missingValueTreatment)}),[n,t,h]),E=(0,r.useMemo)((function(){return _.get((0,c.Builder)().forModel(n).forMiningSchema().forMiningField(t).forInvalidValueReplacement().build())}),[n,t,h]),k=(0,r.useMemo)((function(){return(0,u.isInvalidValueReplacementRequired)(h.invalidValueTreatment)}),[n,t,h]);return(0,o.jsxs)(o.Fragment,{children:[void 0!==h.usageType&&m("Usage Type",h.usageType,(function(){return f(i(i({},h),{usageType:void 0}))})),void 0!==h.optype&&m("Op Type",h.optype,(function(){return f(i(i({},h),{optype:void 0}))})),void 0!==h.importance&&(0,o.jsxs)(o.Fragment,{children:[0===y.length&&m("Importance",h.importance,(function(){return f(i(i({},h),{importance:void 0}))})),y.length>0&&v("Importance",h.importance,(function(){return f(i(i({},h),{importance:void 0}))}),y)]},void 0),void 0!==h.outliers&&m("Outliers",h.outliers,(function(){return f(i(i({},h),{outliers:void 0}))})),b("Low Value",h.lowValue,C,A,(function(){return f(i(i({},h),{lowValue:void 0}))})),b("High Value",h.highValue,C,w,(function(){return f(i(i({},h),{highValue:void 0}))})),void 0!==h.missingValueTreatment&&m("Missing Value Treatment",h.missingValueTreatment,(function(){return f(i(i({},h),{missingValueTreatment:void 0}))})),b("Missing Value Replacement",h.missingValueReplacement,S,x,(function(){return f(i(i({},h),{missingValueReplacement:void 0}))})),void 0!==h.invalidValueTreatment&&m("Invalid Value Treatment",h.invalidValueTreatment,(function(){return f(i(i({},h),{invalidValueTreatment:void 0}))})),b("Invalid Value Replacement",h.invalidValueReplacement,k,E,(function(){return f(i(i({},h),{invalidValueReplacement:void 0}))})),g&&(0,o.jsx)(a.Label,i({className:"mining-schema-list__item__label",variant:"outline",color:"cyan",href:"#",icon:(0,o.jsx)(s.ArrowAltCircleRightIcon,{},void 0),onClick:function(e){e.preventDefault(),p()},"data-ouia-component-id":"edit-properties","data-ouia-component-type":"mf-label"},{children:"Edit Properties"}),void 0)]},void 0)}},59828:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(29901),a=n(40002),s=n(63187),l=n(79477),c=n(61042),d=n(74811),u=n(280),h=n(69607);n(5854);var p=n(24820),f=n(66487),g=n(40237);t.default=function(e){var t=e.modelIndex,n=e.dataDictionary,r=e.fields,a=e.onAddProperties,s=e.onDelete,l=e.onPropertyDelete,c=e.onEdit,d=e.onCancel;return(0,o.jsx)("ul",i({className:"mining-schema-list","data-ouia-component-type":"mining-schema-list"},{children:null==r?void 0:r.map((function(e,i){return(0,o.jsx)(m,{dataDictionary:n,field:e,index:i,modelIndex:t,onAddProperties:a,onDelete:s,onPropertyDelete:l,onEdit:c,onCancel:d},e.name)}))}),void 0)};var m=function(e){var t=e.index,n=e.modelIndex,m=e.dataDictionary,v=e.field,b=e.onAddProperties,_=e.onDelete,y=e.onPropertyDelete,A=e.onEdit,w=e.onCancel,C=(0,r.useContext)(d.MiningSchemaContext),x=(0,u.default)((function(){w()}),{disabled:C!==t,eventTypes:["click"]}),S=function(){b(t)},E=function(e){y(t,e)},k=function(e){e.preventDefault(),e.stopPropagation(),A(t)},M=function(e,n){e.stopPropagation(),e.preventDefault(),_&&_(t,n)},D=(0,p.useValidationRegistry)().validationRegistry,N=(0,r.useMemo)((function(){return D.get((0,f.Builder)().forModel(n).forMiningSchema().forMiningField(t).build())}),[t,n,m,v]);return(0,o.jsxs)(o.Fragment,{children:[t===C&&(0,o.jsx)("li",i({id:"mining-schema-field-n".concat(t),"data-testid":"mining-schema-field-n".concat(t),"data-ouia-component-id":v.name,"data-ouia-component-type":"edit-mining-field-row-",className:"editable-item ".concat(C===t?"editable-item--editing":""),ref:x,tabIndex:0,onKeyDown:function(e){"Escape"===e.key&&w()}},{children:(0,o.jsx)("section",i({className:"editable-item__inner"},{children:(0,o.jsxs)(l.Split,i({hasGutter:!0},{children:[(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)("span",i({className:"mining-schema-list__item__name"},{children:v.name}),void 0)},void 0),(0,o.jsx)(l.SplitItem,i({isFilled:!0},{children:(0,o.jsx)(h.default,{modelIndex:n,index:t,field:v,onEdit:S,onDelete:E,editing:t===C},void 0)}),void 0)]}),void 0)}),void 0)}),v.name.value),t!==C&&(0,o.jsx)("li",i({id:"mining-schema-field-n".concat(t),"data-testid":"mining-schema-field-n".concat(t),"data-ouia-component-id":v.name,"data-ouia-component-type":"mining-field-row",className:"editable-item ".concat(C===t?"editable-item--editing":""),onClick:function(e){return k(e)},ref:x,tabIndex:0,onKeyDown:function(e){"Enter"===e.key&&k(e),"Escape"===e.key&&w()}},{children:(0,o.jsx)("section",i({className:"editable-item__inner"},{children:(0,o.jsxs)(l.Split,i({hasGutter:!0},{children:[N.length>0&&(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)(s.Flex,i({alignItems:{default:"alignItemsCenter"},justifyContent:{default:"justifyContentCenter"},style:{height:"100%"}},{children:(0,o.jsx)(s.FlexItem,i({"data-ouia-component-id":"validation-issue"},{children:(0,o.jsx)(g.ValidationIndicator,{validations:N},void 0)}),void 0)}),void 0)},void 0),(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)("span",i({className:"mining-schema-list__item__name"},{children:v.name}),void 0)},void 0),(0,o.jsx)(l.SplitItem,i({isFilled:!0},{children:(0,o.jsx)(h.default,{modelIndex:n,index:t,field:v,onEdit:S,onDelete:E,editing:t===C},void 0)}),void 0),(0,o.jsx)(l.SplitItem,{children:(0,o.jsx)(a.Button,i({id:"mining-schema-field-n".concat(t,"__delete"),"data-testid":"mining-schema-field-n".concat(t,"__delete"),ouiaId:"delete-field",className:"editable-item__delete",variant:"plain",onClick:function(e){return M(e,"mouse")},onKeyDown:function(e){"Enter"===e.key&&M(e,"keyboard")}},{children:(0,o.jsx)(c.TrashIcon,{},void 0)}),void 0)},void 0)]}),void 0)}),void 0)}),v.name.value)]},void 0)}},73491:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(40002),l=n(79477),c=n(63392),d=n(49726),u=n(3801),h=n(6807),p=n(74811),f=n(31352),g=n(16414),m=n(96595),v=n(24820),b=n(66487),_=n(40237);t.default=function(e){var t=e.miningSchema,n=e.modelIndex,y=o((0,a.useState)(!1),2),A=y[0],w=y[1],C=(0,f.useSelector)((function(e){return e.DataDictionary})),x=(0,m.useHistoryService)(),S=x.service,E=x.getCurrentState,k=(0,m.useBatchDispatch)(S,E),M=function(){w(!A)},D=(0,v.useValidationRegistry)().validationRegistry,N=(0,a.useMemo)((function(){return D.get((0,b.Builder)().forModel(n).forMiningSchema().build())}),[n,t,C]),I=(0,r.jsxs)(l.Split,i({hasGutter:!0},{children:[(0,r.jsx)(l.SplitItem,i({isFilled:!0},{children:(0,r.jsx)(d.Title,i({headingLevel:"h1",size:d.TitleSizes["2xl"]},{children:"Mining Schema"}),void 0)}),void 0),(0,r.jsx)(l.SplitItem,{children:(0,r.jsx)(s.Button,i({type:"button",variant:s.ButtonVariant.plain,onClick:M,"data-title":"MiningSchemaModalClose",ouiaId:"editor-close"},{children:(0,r.jsx)(u.CloseIcon,{},void 0)}),void 0)},void 0)]}),void 0);return(0,r.jsxs)(r.Fragment,{children:[0===N.length&&(0,r.jsx)(s.Button,i({variant:"secondary",onClick:M,"data-title":"MiningSchema",ouiaId:"open-mining-schema-editor"},{children:"Set Mining Schema"}),void 0),N.length>0&&(0,r.jsx)(_.ValidationIndicatorTooltip,i({validations:N},{children:(0,r.jsx)(s.Button,i({variant:"secondary",icon:(0,r.jsx)(h.WarningTriangleIcon,{size:"sm",color:"orange"},void 0),onClick:M,"data-title":"MiningSchema",ouiaId:"open-mining-schema-editor"},{children:"Set Mining Schema"}),void 0)}),void 0),(0,r.jsx)(c.Modal,i({"aria-label":"mining-schema",title:"Mining Schema",header:I,isOpen:A,showClose:!1,variant:c.ModalVariant.large,onEscapePress:function(){return!1},"data-title":"MiningSchemaModal",ouiaId:"mining-schema-editor"},{children:(0,r.jsx)(p.default,{modelIndex:n,miningSchema:t,dataDictionary:C,onAddField:function(e){k({type:g.Actions.AddMiningSchemaFields,payload:{modelIndex:n,names:e}})},onDeleteField:function(e){k({type:g.Actions.DeleteMiningSchemaField,payload:{modelIndex:n,miningSchemaIndex:e,name:null==t?void 0:t.MiningField[e].name}})},onUpdateField:function(e,t,o){k({type:g.Actions.UpdateMiningSchemaField,payload:i(i({modelIndex:n,miningSchemaIndex:e},o),{originalName:t})})}},void 0)}),void 0)]},void 0)}},29361:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(40002),l=n(93104),c=n(23554),d=n(79477),u=n(36841),h=n(22174),p=n(49726),f=n(19618),g=n(13136),m=n(46490);n(7035);var v=n(24820),b=n(66487),_=n(22001);t.default=function(e){var t,n,y,A,w,C,x,S=e.modelIndex,E=e.miningFieldIndex,k=e.field,M=e.onSave,D=e.onClose,N=o((0,a.useState)(null!==(t=k.usageType)&&void 0!==t?t:""),2),I=N[0],T=N[1],L=o((0,a.useState)(null!==(n=k.optype)&&void 0!==n?n:""),2),B=L[0],O=L[1],P=o((0,a.useState)(k.importance),2),F=P[0],R=P[1],j=o((0,a.useState)(null!==(y=k.outliers)&&void 0!==y?y:""),2),z=j[0],V=j[1],W=o((0,a.useState)(k.lowValue),2),H=W[0],U=W[1],Q=o((0,a.useState)(k.highValue),2),G=Q[0],K=Q[1],Y=o((0,a.useState)(null!==(A=k.missingValueReplacement)&&void 0!==A?A:""),2),$=Y[0],J=Y[1],q=o((0,a.useState)(null!==(w=k.missingValueTreatment)&&void 0!==w?w:""),2),Z=q[0],X=q[1],ee=o((0,a.useState)(null!==(C=k.invalidValueTreatment)&&void 0!==C?C:""),2),te=ee[0],ne=ee[1],ie=o((0,a.useState)(null!==(x=k.invalidValueReplacement)&&void 0!==x?x:""),2),oe=ie[0],re=ie[1],ae=o((0,a.useState)(!1),2),se=ae[0],le=ae[1],ce=function(){var e={name:k.name};I.length>0&&(e.usageType=I),B.length>0&&(e.optype=B),"number"==typeof F&&(e.importance=F),z&&(e.outliers=z),"number"==typeof H&&(e.lowValue=H),"number"==typeof G&&(e.highValue=G),$&&(e.missingValueReplacement=$),Z.length>0&&(e.missingValueTreatment=Z),oe&&(e.invalidValueReplacement=oe),te.length>0&&(e.invalidValueTreatment=te),M(e),le(!1)};(0,a.useEffect)((function(){se&&ce()}),[se]),(0,a.useEffect)((function(){var e,t,n,i,o,r,a;T(null!==(e=k.usageType)&&void 0!==e?e:""),O(null!==(t=k.optype)&&void 0!==t?t:""),R(k.importance),V(null!==(n=k.outliers)&&void 0!==n?n:""),U(k.lowValue),K(k.highValue),J(null!==(i=k.missingValueReplacement)&&void 0!==i?i:""),X(null!==(o=k.missingValueTreatment)&&void 0!==o?o:""),ne(null!==(r=k.invalidValueTreatment)&&void 0!==r?r:""),re(null!==(a=k.invalidValueReplacement)&&void 0!==a?a:"")}),[k]);var de=(0,v.useValidationRegistry)().validationRegistry,ue=(0,a.useMemo)((function(){return de.get((0,b.Builder)().forModel(S).forMiningSchema().forMiningField(E).forImportance().build())}),[S,E,k]),he=(0,a.useMemo)((function(){return de.get((0,b.Builder)().forModel(S).forMiningSchema().forMiningField(E).forLowValue().build())}),[S,E,k]),pe=(0,a.useMemo)((function(){return de.get((0,b.Builder)().forModel(S).forMiningSchema().forMiningField(E).forHighValue().build())}),[S,E,k]),fe=(0,a.useMemo)((function(){return de.get((0,b.Builder)().forModel(S).forMiningSchema().forMiningField(E).forMissingValueReplacement().build())}),[S,E,k]),ge=(0,a.useMemo)((function(){return de.get((0,b.Builder)().forModel(S).forMiningSchema().forMiningField(E).forInvalidValueReplacement().build())}),[S,E,k]),me=(0,a.useMemo)((function(){return(0,_.areLowHighValuesRequired)(k.outliers)||void 0!==k.lowValue}),[S,E,k]),ve=(0,a.useMemo)((function(){return(0,_.areLowHighValuesRequired)(k.outliers)||void 0!==k.highValue}),[S,E,k]),be=(0,a.useMemo)((function(){return(0,_.isMissingValueReplacementRequired)(k.missingValueTreatment)||void 0!==k.missingValueReplacement}),[S,E,k]),_e=(0,a.useMemo)((function(){return(0,_.isInvalidValueReplacementRequired)(k.invalidValueTreatment)||void 0!==k.invalidValueReplacement}),[S,E,k]),ye=function(e){var t=Number.parseFloat(e);return isNaN(t)?void 0:t};return(0,r.jsxs)(c.Stack,i({hasGutter:!0,className:"mining-schema__edit"},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(p.Title,i({headingLevel:"h4",size:p.TitleSizes.xl},{children:[(0,r.jsx)(s.Button,i({variant:"link",isInline:!0,onClick:D},{children:k.name}),void 0),"ย /ย Properties"]}),void 0)},void 0),(0,r.jsxs)(c.StackItem,{children:[(0,r.jsx)("section",i({className:"mining-schema__edit__form"},{children:(0,r.jsx)(u.Form,{children:(0,r.jsxs)(c.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({className:"mining-schema__properties__field",label:"Field Usage Type",fieldId:"usageType"},{children:(0,r.jsx)(m.GenericSelector,{id:"usageType",items:["","active","predicted","target","supplementary","group","order","frequencyWeight","analysisWeight"],onSelect:function(e){T(e),le(!0)},selection:I,"data-ouia-component-id":"usage-type","data-ouia-component-type":"option-box"},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({className:"mining-schema__properties__field",label:"Field Op Type",fieldId:"opType"},{children:(0,r.jsx)(m.GenericSelector,{id:"opType",items:["","categorical","ordinal","continuous"],onSelect:function(e){O(e),le(!0)},selection:B},void 0)}),void 0)},void 0)]}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsx)(u.FormGroup,i({className:"mining-schema__properties__field",label:"Importance",fieldId:"importance",helperText:0===ue.length?"":ue[0].message,validated:0===ue.length?"default":"warning"},{children:(0,r.jsx)(l.TextInput,{type:"number",min:0,max:1,id:"importance",name:"importance","aria-describedby":"Importance",value:null!=F?F:"",ouiaId:"importance","data-ouia-component-type":"double-input",validated:0===ue.length?"default":"warning",onChange:function(e){return R(ye(e))},onBlur:function(){if(void 0!==F){var e=F;e<0?R(e=0):e>1&&R(e=1)}ce()}},void 0)}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({className:"mining-schema__properties__field",label:"Outliers Treatment Method",fieldId:"outliers"},{children:(0,r.jsx)(m.GenericSelector,{id:"outliers",items:["","asIs","asMissingValues","asExtremeValues"],onSelect:function(e){V(e),le(!0)},selection:z,"data-ouia-component-id":"outliers"},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Low Value",fieldId:"lowValue",className:"mining-schema__properties__field",helperText:0===he.length?"":he[0].message,validated:0===he.length?"default":"warning",labelIcon:(0,r.jsx)(h.Tooltip,i({content:'Low Value is required when Outliers is "asExtremeValues" or "asMissingValues"'},{children:(0,r.jsx)("button",i({"aria-label":"More information for Low Value field",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(g.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(l.TextInput,{type:"number",id:"lowValue",name:"lowValue","aria-describedby":"Low Value",value:null!=H?H:"",validated:0===he.length?"default":"warning",isDisabled:!me,placeholder:me?"":"<Not needed>",className:me?"":"mining-schema__edit__form__disabled",onChange:function(e){return U(ye(e))},onBlur:ce,ouiaId:"low-value"},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"High Value",fieldId:"highValue",className:"mining-schema__properties__field",helperText:0===pe.length?"":pe[0].message,validated:0===pe.length?"default":"warning",labelIcon:(0,r.jsx)(h.Tooltip,i({content:'High Value is required when Outliers is "asExtremeValues" or "asMissingValues"'},{children:(0,r.jsx)("button",i({"aria-label":"More information for High Value field",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(g.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(l.TextInput,{type:"number",id:"highValue",name:"highValue","aria-describedby":"High Value",value:null!=G?G:"",validated:0===pe.length?"default":"warning",isDisabled:!ve,placeholder:ve?"":"<Not needed>",className:ve?"":"mining-schema__edit__form__disabled",onChange:function(e){return K(ye(e))},onBlur:ce,ouiaId:"high-value"},void 0)}),void 0)},void 0)]}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Missing Value Treatment Method",fieldId:"missingValueTreatment"},{children:(0,r.jsx)(m.GenericSelector,{id:"missingValueTreatment",items:["","asIs","asMean","asMode","asMedian","asValue","returnInvalid"],onSelect:function(e){X(e),le(!0)},selection:Z},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Missing Value Replacement",fieldId:"missingValueReplacement",validated:0===fe.length?"default":"warning",helperText:fe[0]?fe[0].message:"",labelIcon:(0,r.jsx)(h.Tooltip,i({content:'Missing Value Replacement is required when Missing Value Treatment is "asMean", "asMedian" or "asMode"'},{children:(0,r.jsx)("button",i({"aria-label":"More information for Missing Value Replacement field",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(g.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"missingValueReplacement",name:"missingValueReplacement","aria-describedby":"Missing Value Replacement",value:$,validated:0===fe.length?"default":"warning",isDisabled:!be,placeholder:be?"":"<Not needed>",className:be?"":"mining-schema__edit__form__disabled",onChange:function(e){return J(e)},onBlur:ce},void 0)}),void 0)},void 0)]}),void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Split,i({hasGutter:!0},{children:[(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Invalid Value Treatment Method",fieldId:"invalidValueTreatment"},{children:(0,r.jsx)(m.GenericSelector,{id:"invalidValueTreatment",items:["","returnInvalid","asIs","asMissing","asValue"],onSelect:function(e){ne(e),le(!0)},selection:te},void 0)}),void 0)},void 0),(0,r.jsx)(d.SplitItem,{children:(0,r.jsx)(u.FormGroup,i({label:"Invalid Value Replacement",fieldId:"invalidValueReplacement",validated:0===ge.length?"default":"warning",helperText:ge[0]?ge[0].message:"",labelIcon:(0,r.jsx)(h.Tooltip,i({content:'Invalid Value Replacement is required when Invalid Value Treatment is "asValue"'},{children:(0,r.jsx)("button",i({"aria-label":"More information for Invalid Value Replacement field",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,r.jsx)(g.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,r.jsx)(l.TextInput,{type:"text",id:"invalidValueReplacement",name:"invalidValueReplacement","aria-describedby":"Invalid Value Replacement",value:oe,validated:0===ge.length?"default":"warning",isDisabled:!_e,placeholder:_e?"":"<Not needed>",className:_e?"":"mining-schema__edit__form__disabled",onChange:function(e){return re(e)},onBlur:ce},void 0)}),void 0)},void 0)]}),void 0)},void 0)]}),void 0)},void 0)}),void 0),(0,r.jsx)("section",i({className:"mining-schema__edit__actions"},{children:(0,r.jsx)(s.Button,i({variant:"primary",onClick:D,icon:(0,r.jsx)(f.ArrowAltCircleLeftIcon,{},void 0),iconPosition:"left",ouiaId:"back-to-ms-overview"},{children:"Back"}),void 0)}),void 0)]},void 0)]}),void 0)}},73603:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(49726),a=n(4010),s=n(19333);t.default=function(){return(0,o.jsxs)(a.EmptyState,i({variant:a.EmptyStateVariant.large},{children:[(0,o.jsx)(a.EmptyStateIcon,{icon:s.BoxesIcon},void 0),(0,o.jsx)(r.Title,i({headingLevel:"h4",size:"lg",ouiaId:"mining-schema-no-data-fields-title"},{children:"No Data Fields defined"}),void 0),(0,o.jsx)(a.EmptyStateBody,{children:"Mining schema can only include fields from the Data Dictionary. It seems there are none yet. Go to the Data Dictionary and come back after creating them."},void 0)]}),void 0)}},16506:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputFieldLabel=void 0;var o=n(61250),r=n(21717);n(82892),t.OutputFieldLabel=function(e,t,n){return(0,o.jsxs)(o.Fragment,{children:[!n&&(0,o.jsxs)(r.Label,i({color:"cyan",className:"output-fields-list__item__label"},{children:[(0,o.jsxs)("strong",{children:[e,":"]},void 0),"ย ",(0,o.jsx)("span",{children:t},void 0)]}),void 0),n&&(0,o.jsxs)(r.Label,i({color:"cyan",className:"output-fields-list__item__label",onClose:function(e){e.nativeEvent.stopImmediatePropagation(),n()}},{children:[(0,o.jsxs)("strong",{children:[e,":"]},void 0),"ย ",(0,o.jsx)("span",{children:t},void 0)]}),void 0)]},void 0)}},81868:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputFieldRowAction=void 0;var o=n(61250),r=n(40002),a=n(63187),s=n(61042);t.OutputFieldRowAction=function(e){var t=e.index,n=e.onDelete,l=function(e,t){e.stopPropagation(),e.preventDefault(),n&&n(t)};return(0,o.jsx)(a.Flex,i({alignItems:{default:"alignItemsCenter"},style:{height:"100%"}},{children:(0,o.jsx)(a.FlexItem,{children:(0,o.jsx)(r.Button,i({id:"output-field-n".concat(t,"__delete"),"data-testid":"output-field-n".concat(t,"__delete"),className:"editable-item__delete",variant:"plain",onClick:function(e){return l(e,"mouse")},onKeyDown:function(e){"Enter"===e.key&&l(e,"keyboard")}},{children:(0,o.jsx)(s.TrashIcon,{},void 0)}),void 0)},void 0)}),void 0)}},98012:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputLabels=void 0;var o=n(61250),r=n(16506),a=n(40237);t.OutputLabels=function(e){var t=e.optype,n=e.targetField,s=e.targetFieldValidation,l=e.feature,c=e.value,d=e.rank,u=e.rankOrder,h=e.segmentId,p=e.isFinalResult;return(0,o.jsxs)(o.Fragment,{children:[t&&(0,r.OutputFieldLabel)("OpType",t),s.length>0?(0,o.jsxs)(a.ValidationIndicatorLabel,i({validations:s,cssClass:"output-fields-list__item__label"},{children:[(0,o.jsx)("strong",{children:"TargetField:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]}),void 0):n&&(0,r.OutputFieldLabel)("TargetField",n),l&&(0,r.OutputFieldLabel)("Feature",l),c&&(0,r.OutputFieldLabel)("Value",c),void 0!==d&&(0,r.OutputFieldLabel)("Rank",d),u&&(0,r.OutputFieldLabel)("RankOrder",u),h&&(0,r.OutputFieldLabel)("SegmentId",h),p&&(0,r.OutputFieldLabel)("FinalResult",p.toString())]},void 0)}},52322:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputLabelsEditMode=void 0;var o=n(61250),r=n(21717),a=n(31363),s=n(16506),l=n(40237),c={marginRight:"4px"};t.OutputLabelsEditMode=function(e){var t=e.optype,n=e.setOptype,d=e.targetField,u=e.setTargetField,h=e.targetFieldValidation,p=e.feature,f=e.setFeature,g=e.value,m=e.setValue,v=e.rank,b=e.setRank,_=e.rankOrder,y=e.setRankOrder,A=e.segmentId,w=e.setSegmentId,C=e.isFinalResult,x=e.setIsFinalResult,S=e.commit,E=e.viewExtendedProperties,k=e.isDisabled;return(0,o.jsxs)(o.Fragment,{children:[t&&(0,s.OutputFieldLabel)("OpType",t,(function(){n(void 0),S({optype:void 0})})),h.length>0?(0,o.jsxs)(l.ValidationIndicatorLabel,i({validations:h,cssClass:"output-fields-list__item__label"},{children:[(0,o.jsx)("strong",{children:"TargetField:"},void 0),"ย ",(0,o.jsx)("em",{children:"Missing"},void 0)]}),void 0):d&&(0,s.OutputFieldLabel)("TargetField",d,(function(){u(void 0),S({targetField:void 0})})),p&&(0,s.OutputFieldLabel)("Feature",p,(function(){f(void 0),S({feature:void 0})})),g&&(0,s.OutputFieldLabel)("Value",g,(function(){m(void 0),S({value:void 0})})),void 0!==v&&(0,s.OutputFieldLabel)("Rank",v,(function(){b(void 0),S({rank:void 0})})),_&&(0,s.OutputFieldLabel)("RankOrder",_,(function(){y(void 0),S({rankOrder:void 0})})),A&&(0,s.OutputFieldLabel)("SegmentId",A,(function(){w(void 0),S({segmentId:void 0})})),C&&(0,s.OutputFieldLabel)("FinalResult",C.toString(),(function(){x(void 0),S({isFinalResult:void 0})})),k&&(0,o.jsx)(r.Label,i({style:c,variant:"outline",icon:(0,o.jsx)(a.ArrowAltCircleRightIcon,{},void 0)},{children:"Edit properties"}),void 0),!k&&(0,o.jsx)(r.Label,i({style:c,variant:"outline",color:"cyan",href:"#outline",icon:(0,o.jsx)(a.ArrowAltCircleRightIcon,{},void 0),onClick:function(e){e.preventDefault(),E()}},{children:"Edit properties"}),void 0)]},void 0)}},275:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(16506),t),o(n(98012),t),o(n(52322),t),o(n(81868),t)},29932:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(93104),l=n(23554),c=n(79477),d=n(36841),u=n(60158);n(48417);var h=n(275),p=n(31822),f=n(280),g=n(98130),m=n(24820),v=n(66487),b=["string","integer","float","double","boolean","date","time","dateTime","dateDaysSince[0]","dateDaysSince[1960]","dateDaysSince[1970]","dateDaysSince[1980]","timeSeconds","dateTimeSecondsSince[0]","dateTimeSecondsSince[1960]","dateTimeSecondsSince[1970]","dateTimeSecondsSince[1980]"];t.default=function(e){var t,n,_,y=e.modelIndex,A=e.outputField,w=e.outputFieldIndex,C=e.validateOutputName,x=e.viewExtendedProperties,S=e.onCommitAndClose,E=e.onCommit,k=e.onCancel,M=(0,g.useOperation)().activeOperation,D=o((0,a.useState)({value:"",valid:!1}),2),N=D[0],I=D[1],T=o((0,a.useState)("boolean"),2),L=T[0],B=T[1],O=o((0,a.useState)(),2),P=O[0],F=O[1],R=o((0,a.useState)(),2),j=R[0],z=R[1],V=o((0,a.useState)(),2),W=V[0],H=V[1],U=o((0,a.useState)(),2),Q=U[0],G=U[1],K=o((0,a.useState)(),2),Y=K[0],$=K[1],J=o((0,a.useState)(),2),q=J[0],Z=J[1],X=o((0,a.useState)(),2),ee=X[0],te=X[1],ne=o((0,a.useState)(),2),ie=ne[0],oe=ne[1];(0,a.useEffect)((function(){void 0!==A&&(I({value:A.name,valid:C(A.name)}),B(A.dataType),F(A.optype),z(A.targetField),H(A.feature),G(A.value),$(A.rank),Z(A.rankOrder),te(A.segmentId),oe(A.isFinalResult))}),[e]);var re=o((0,a.useState)(!1),2),ae=re[0],se=re[1],le=(0,f.default)((function(){(null==N?void 0:N.valid)?S():k()}),{disabled:M!==g.Operation.UPDATE_OUTPUT,eventTypes:["click"]}),ce=(0,m.useValidationRegistry)().validationRegistry,de=(0,a.useMemo)((function(){return ce.get((0,v.Builder)().forModel(y).forOutput().forOutputField(w).forTargetField().build())}),[w,y,A]);return(0,r.jsx)("section",i({className:"editable-item__inner",ref:le,tabIndex:0,onKeyDown:function(e){"Escape"===e.key&&k()}},{children:(0,r.jsxs)(l.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(l.StackItem,{children:(0,r.jsxs)(c.Split,i({hasGutter:!0},{children:[(0,r.jsx)(c.SplitItem,{children:(0,r.jsx)(d.FormGroup,i({label:"Name",fieldId:"output-name-helper",isRequired:!0,helperTextInvalid:"Name is mandatory and must be unique",helperTextInvalidIcon:(0,r.jsx)(p.ExclamationCircleIcon,{},void 0),validated:(null==N?void 0:N.valid)?"default":"error"},{children:(0,r.jsx)(s.TextInput,{type:"text",id:"output-name",name:"output-name","aria-describedby":"output-name-helper",value:null!==(n=null===(t=null==N?void 0:N.value)||void 0===t?void 0:t.toString())&&void 0!==n?n:"",placeholder:"Name",validated:(null==N?void 0:N.valid)?"default":"error",autoFocus:!0,onChange:function(e){I({value:e,valid:C(e)})},onBlur:function(e){(null==N?void 0:N.valid)?E({name:N.value}):I({value:null==A?void 0:A.name,valid:C(A.name)})},ouiaId:"set-output-field-name"},void 0)}),void 0)},void 0),(0,r.jsx)(c.SplitItem,i({isFilled:!0},{children:(0,r.jsx)(d.FormGroup,i({label:"Data type",fieldId:"output-dataType-helper",style:{width:"12em"},isRequired:!0,"data-ouia-component-id":"select-output-field-type"},{children:(0,r.jsx)(u.Select,i({id:"output-dataType",name:"output-dataType","aria-label":"Select Input","aria-describedby":"output-dataType-helper",className:"ignore-onclickoutside",variant:u.SelectVariant.single,onToggle:function(e){se(e)},onSelect:function(e,t,n){se(!1),B(n?void 0:t),E({dataType:n?void 0:t})},selections:L,isOpen:ae,placeholder:"Type",menuAppendTo:"parent"},{children:b.map((function(e,t){return(0,r.jsx)(u.SelectOption,{value:e,"data-ouia-component-type":"select-option"},t)}))}),void 0)}),void 0)}),void 0)]}),void 0)},void 0),(0,r.jsx)(l.StackItem,{children:(0,r.jsx)(c.Split,{children:(0,r.jsx)(c.SplitItem,{children:(0,r.jsx)(d.FormGroup,i({label:"Properties",fieldId:"output-labels-helper"},{children:(0,r.jsx)(h.OutputLabelsEditMode,{optype:P,setOptype:F,targetField:j,setTargetField:z,targetFieldValidation:de,feature:W,setFeature:H,value:Q,setValue:G,rank:Y,setRank:$,rankOrder:q,setRankOrder:Z,segmentId:ee,setSegmentId:te,isFinalResult:ie,setIsFinalResult:oe,viewExtendedProperties:x,commit:E,isDisabled:null===(_=!(null==N?void 0:N.valid))||void 0===_||_},void 0)}),void 0)},void 0)},void 0)},void 0)]}),void 0)}),void 0)}},32259:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(61250),r=n(29901),a=n(63187),s=n(79477),l=n(21717),c=n(275);n(48417);var d=n(40237),u=n(24820),h=n(66487);t.default=function(e){var t=e.modelIndex,n=e.outputFieldIndex,p=e.outputField,f=e.onEditOutputField,g=e.onDeleteOutputField,m=(0,r.useMemo)((function(){return{name:null==p?void 0:p.name,dataType:null==p?void 0:p.dataType,optype:null==p?void 0:p.optype,targetField:null==p?void 0:p.targetField,feature:null==p?void 0:p.feature,value:null==p?void 0:p.value,rank:null==p?void 0:p.rank,rankOrder:null==p?void 0:p.rankOrder,segmentId:null==p?void 0:p.segmentId,isFinalResult:null==p?void 0:p.isFinalResult}}),[p]),v=m.name,b=m.dataType,_=m.optype,y=m.targetField,A=m.feature,w=m.value,C=m.rank,x=m.rankOrder,S=m.segmentId,E=m.isFinalResult,k=(0,u.useValidationRegistry)().validationRegistry,M=(0,r.useMemo)((function(){return k.get((0,h.Builder)().forModel(t).forOutput().forOutputField(n).build())}),[n,t,p]),D=(0,r.useMemo)((function(){return k.get((0,h.Builder)().forModel(t).forOutput().forOutputField(n).forTargetField().build())}),[n,t,p]),N=function(e){e.preventDefault(),e.stopPropagation(),f()};return(0,o.jsx)("section",i({id:"output-field-n".concat(n),"data-testid":"output-field-n".concat(n),className:"editable-item__inner",onClick:function(e){return N(e)},onKeyDown:function(e){"Enter"===e.key&&N(e)},"data-ouia-component-type":"output-field",tabIndex:0},{children:(0,o.jsxs)(s.Split,i({hasGutter:!0,style:{height:"100%"}},{children:[(0,o.jsx)(s.SplitItem,{children:(0,o.jsx)(a.Flex,i({alignItems:{default:"alignItemsCenter"},justifyContent:{default:"justifyContentCenter"},style:{height:"100%"}},{children:(0,o.jsx)(a.FlexItem,{children:(0,o.jsx)(d.ValidationIndicator,{validations:M},void 0)},void 0)}),void 0)},void 0),(0,o.jsx)(s.SplitItem,i({"data-ouia-component-type":"output-field-name"},{children:(0,o.jsx)("strong",{children:v},void 0)}),void 0),(0,o.jsxs)(s.SplitItem,i({isFilled:!0},{children:[(0,o.jsx)(l.Label,i({color:"blue",className:"output-item__type-label"},{children:b}),void 0),(0,o.jsx)(c.OutputLabels,{optype:_,targetField:y,targetFieldValidation:D,feature:A,value:w,rank:C,rankOrder:x,segmentId:S,isFinalResult:E},void 0)]}),void 0),(0,o.jsx)(s.SplitItem,{children:(0,o.jsx)(c.OutputFieldRowAction,{index:n,onDelete:g,"data-ouia-component-type":"output-field-delete"},void 0)},void 0)]}),void 0)}),void 0)}},93909:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyStateNoOutput=void 0;var o=n(61250),r=n(40002),a=n(49726),s=n(4010),l=n(8150);t.EmptyStateNoOutput=function(e){return(0,o.jsxs)(s.EmptyState,i({"data-testid":"empty-state-no-output",variant:s.EmptyStateVariant.small},{children:[(0,o.jsx)(s.EmptyStateIcon,{icon:l.SignOutAltIcon},void 0),(0,o.jsx)(a.Title,i({headingLevel:"h4",size:"lg",ouiaId:"no-outputs-title"},{children:"No Outputs have been defined for this model."}),void 0),(0,o.jsx)(s.EmptyStateBody,{children:"PMML uses Output elements to describe a set of result values that can be returned from a model."},void 0),(0,o.jsx)(r.Button,i({"data-testid":"empty-state-no-output__add-model",variant:"primary",onClick:e.onAddOutputField},{children:"Add Output"}),void 0)]}),void 0)}},16618:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputFieldExtendedProperties=void 0;var a=n(61250),s=n(29901),l=n(93104),c=n(36841),d=n(66938),u=n(22174),h=n(46490),p=n(13136),f=n(24820),g=n(66487);t.OutputFieldExtendedProperties=function(e){var t=e.activeOutputField,n=e.activeOutputFieldIndex,h=e.modelIndex,v=e.targetFields,b=e.commit,_=o((0,s.useState)(),2),y=_[0],A=_[1],w=o((0,s.useState)(),2),C=w[0],x=w[1],S=o((0,s.useState)(),2),E=S[0],k=S[1],M=o((0,s.useState)(),2),D=M[0],N=M[1],I=o((0,s.useState)(),2),T=I[0],L=I[1],B=o((0,s.useState)(),2),O=B[0],P=B[1],F=o((0,s.useState)(),2),R=F[0],j=F[1],z=o((0,s.useState)(),2),V=z[0],W=z[1];(0,s.useEffect)((function(){void 0!==t&&(A(t.optype),x(t.targetField),k(t.feature),N(t.value),L(t.rank),P(t.rankOrder),j(t.segmentId),W(t.isFinalResult))}),[e]);var H=(0,s.useMemo)((function(){var e=r([],o(v),!1);return e.length&&e.sort().unshift(""),e}),[v]),U=m("output-optype",["","categorical","continuous","ordinal"],(null!=y?y:"").toString(),(function(e){A(""===e?void 0:e),b({optype:""===e?void 0:e})})),Q=m("output-feature",[{value:""},{value:"decision",isDisabled:!0},{value:"predictedValue"},{value:"reasonCode"},{value:"transformedValue",isDisabled:!0},{value:"warning"}],(null!=E?E:"").toString(),(function(e){k(""===e?void 0:e),b({feature:""===e?void 0:e})})),G=m("output-rankOrder",["","ascending","descending"],(null!=O?O:"").toString(),(function(e){P(""===e?void 0:e),b({rankOrder:""===e?void 0:e})}),void 0!==D&&D.length>0),K=m("output-isFinalResult",["","true","false"],(null!=V?V:"").toString(),(function(e){W(""===e?void 0:Boolean(e)),b({isFinalResult:""===e?void 0:Boolean(e)})})),Y=(0,f.useValidationRegistry)().validationRegistry,$=(0,s.useMemo)((function(){return Y.get((0,g.Builder)().forModel(h).forOutput().forOutputField(n).forTargetField().build())}),[h,n,t]);return(0,a.jsxs)(c.Form,{children:[(0,a.jsx)(c.FormGroup,i({label:"optype",fieldId:"output-optype-helper",helperText:"Indicates the admissible operations on the values.",className:"outputs-container__extended-properties__field"},{children:U}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Target field",fieldId:"output-targetField-helper",helperText:0===$.length?"":$[0].message,className:"outputs-container__extended-properties__field",validated:0===$.length?"default":"warning",labelIcon:H.length?(0,a.jsx)(a.Fragment,{},void 0):(0,a.jsx)(u.Tooltip,i({content:"There are no Mining Schema fields with target usage type."},{children:(0,a.jsx)("button",i({"aria-label":"More info for Target Field",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,a.jsx)(p.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,a.jsx)(d.FormSelect,i({id:"output-targetField",value:(null!=C?C:"").toString(),onChange:function(e){e!==(null==C?void 0:C.value)&&(x(""===e?void 0:e),b({targetField:""===e?void 0:e}))},isDisabled:!H.length,validated:0===$.length?"default":"warning"},{children:H.map((function(e,t){return(0,a.jsx)(d.FormSelectOption,{value:e,label:e},t)}))}),void 0)}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Feature",fieldId:"output-feature-helper",helperText:"Specifies the value the output field takes from the computed mining result.",className:"outputs-container__extended-properties__field",labelIcon:(0,a.jsx)(u.Tooltip,i({content:"Decision and Transformed value are not supported by scorecards"},{children:(0,a.jsx)("button",i({"aria-label":"More info about Feature",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,a.jsx)(p.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:Q}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Value",fieldId:"output-value-helper",helperText:"Used in conjunction with result features referring to specific values.",className:"outputs-container__extended-properties__field",labelIcon:(0,a.jsx)(u.Tooltip,i({content:"Value property cannot be used together with Rank property"},{children:(0,a.jsx)("button",i({"aria-label":"More info about Feature",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,a.jsx)(p.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,a.jsx)(l.TextInput,{type:"text",id:"output-value",name:"output-value","aria-describedby":"output-value-helper",autoComplete:"off",value:(null!=D?D:"").toString(),onChange:function(e){return N(e)},onBlur:function(){return b({value:""===D?void 0:D})},isDisabled:void 0!==T},void 0)}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Rank",fieldId:"output-rank-helper",helperText:"Specifies the rank of the feature value from the mining result that should be selected.",className:"outputs-container__extended-properties__field",labelIcon:(0,a.jsx)(u.Tooltip,i({content:"Rank property cannot be used together with Value property"},{children:(0,a.jsx)("button",i({"aria-label":"More info about Feature",onClick:function(e){return e.preventDefault()},className:"pf-c-form__group-label-help"},{children:(0,a.jsx)(p.HelpIcon,{style:{color:"var(--pf-global--info-color--100)"}},void 0)}),void 0)}),void 0)},{children:(0,a.jsx)(l.TextInput,{type:"number",id:"output-rank",name:"output-rank","aria-describedby":"output-rank-helper",autoComplete:"off",value:null!=T?T:"",onChange:function(e){return L(function(e){if(""!==e){var t=Number(e);if(!isNaN(t))return t}}(e))},onBlur:function(){return b({rank:T})},isDisabled:void 0!==D&&D.length>0},void 0)}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Rank order",fieldId:"output-rankOrder-helper",helperText:"Determines the sorting order when ranking the results.",className:"outputs-container__extended-properties__field"},{children:G}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Segment Id",fieldId:"output-segmentId-helper",helperText:"Provides an approach to deliver results from Segments.",className:"outputs-container__extended-properties__field"},{children:(0,a.jsx)(l.TextInput,{type:"text",id:"output-segmentId",name:"output-segmentId","aria-describedby":"output-segmentId-helper",autoComplete:"off",value:null!=R?R:"",onChange:function(e){return j(e)},onBlur:function(){return b({segmentId:R})}},void 0)}),void 0),(0,a.jsx)(c.FormGroup,i({label:"Final result?",fieldId:"output-isFinalResult-helper",helperText:"Should the field be returned to the user or is only used as input.",className:"outputs-container__extended-properties__field"},{children:K}),void 0)]},void 0)};var m=function(e,t,n,i,o){return(0,a.jsx)(h.GenericSelector,{id:e,items:t,selection:n,onSelect:i,isDisabled:o},void 0)}},35320:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(36841),l=n(7003),c=n(98130),d=n(93909),u=n(32259),h=n(29932);n(88988),t.default=function(e){var t=e.modelIndex,n=e.outputs,p=e.selectedOutputIndex,f=e.setSelectedOutputIndex,g=e.validateOutputFieldName,m=e.viewExtendedProperties,v=e.onAddOutputField,b=e.onDeleteOutputField,_=e.onCommitAndClose,y=e.onCommit,A=e.onCancel,w=(0,a.useRef)(null),C=o((0,a.useState)(void 0),2),x=C[0],S=C[1],E=(0,c.useOperation)(),k=E.activeOperation,M=E.setActiveOperation;(0,a.useEffect)((function(){k===c.Operation.UPDATE_OUTPUT&&w.current&&w.current.scrollIntoView({behavior:"smooth"})}),[k]),(0,a.useEffect)((function(){p===n.length&&(f(void 0),M(c.Operation.NONE))}),[n,p]),(0,a.useEffect)((function(){var e;void 0!==x&&(null===(e=document.querySelector("#output-field-n".concat(x)))||void 0===e||e.focus())}),[n,x]);return(0,r.jsxs)(s.Form,i({"data-testid":"output-fields-table",onSubmit:function(e){e.stopPropagation(),e.preventDefault()}},{children:[(0,r.jsx)("section",{children:n.map((function(e,n){var o=p===n&&k===c.Operation.UPDATE_OUTPUT;return(0,r.jsxs)("article",i({className:"editable-item output-item-n".concat(n," ").concat(o?"editable-item--editing":"")},{children:[o&&(0,r.jsx)("div",i({ref:w},{children:(0,r.jsx)(h.default,{modelIndex:t,outputField:e,outputFieldIndex:n,validateOutputName:function(e){return function(e,t){return g(e,t)}(n,e)},viewExtendedProperties:m,onCommitAndClose:_,onCommit:y,onCancel:A},void 0)}),void 0),!o&&(0,r.jsx)(u.default,{modelIndex:t,outputField:e,outputFieldIndex:n,onEditOutputField:function(){return function(e){f(e),M(c.Operation.UPDATE_OUTPUT)}(n)},onDeleteOutputField:function(e){return function(e,t){var n;(function(e){void 0!==e&&b(e)})(e),"mouse"===t?document.activeElement instanceof HTMLElement&&(null===(n=document.activeElement)||void 0===n||n.blur()):"keyboard"===t&&S(e),f(void 0)}(n,e)}},void 0)]}),n)}))},void 0),0===n.length&&(0,r.jsx)(l.Bullseye,{children:(0,r.jsx)(d.EmptyStateNoOutput,{onAddOutputField:v},void 0)},void 0)]}),void 0)}},19488:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var r=n(61250),a=n(29901),s=n(40002),l=n(53299),c=n(23554),d=n(36841),u=n(72755);n(31935),t.default=function(e){var t=e.onAdd,n=e.onCancel,h=o((0,a.useState)(""),2),p=h[0],f=h[1],g=o((0,a.useState)("default"),2),m=g[0],v=g[1];return(0,a.useEffect)((function(){var e;null===(e=document.querySelector("#outputs"))||void 0===e||e.focus()}),[]),(0,r.jsx)("section",{children:(0,r.jsxs)(c.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(l.TextContent,{children:[(0,r.jsx)(l.Text,i({component:l.TextVariants.h3},{children:"Add Multiple Output Fields"}),void 0),(0,r.jsxs)(l.Text,i({component:l.TextVariants.p},{children:["You can add multiple outputs by entering their names below. Add them one per line.",(0,r.jsx)("br",{},void 0),"They will be created with the default type of ",(0,r.jsx)("em",{children:"String"},void 0),". You will be able to edit them later."]}),void 0)]},void 0)},void 0),(0,r.jsx)(c.StackItem,{children:(0,r.jsxs)(d.Form,i({onSubmit:function(e){var n;"success"===(n=p.trim().length>0?"success":"error",v(n),n)&&t(p),e.preventDefault()},style:{gridGap:0}},{children:[(0,r.jsx)(d.FormGroup,i({label:"Outputs",fieldId:"outputs",isRequired:!0,validated:m,helperTextInvalid:"Please enter at least one Output name"},{children:(0,r.jsx)(u.TextArea,{className:"outputs-container__multiple-outputs",value:p,onChange:function(e){f(e)},name:"outputs",isRequired:!0,id:"outputs",placeholder:"First Output\nSecond Output\n..."},void 0)}),void 0),(0,r.jsxs)(d.ActionGroup,{children:[(0,r.jsx)(s.Button,i({variant:"primary",type:"submit"},{children:"Add Them"}),void 0),(0,r.jsx)(s.Button,i({variant:"link",onClick:function(){return n()}},{children:"Never mind"}),void 0)]},void 0)]}),void 0)},void 0)]}),void 0)},void 0)}},24893:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputsContainer=void 0;var r=n(61250),a=n(29901),s=n(39378),l=n(44125),c=n(40002),d=n(53299),u=n(63187),h=n(23554),p=n(51319),f=n(49726),g=n(19618),m=n(16685),v=n(9409),b=n(16414),_=n(35320),y=n(19488),A=n(98130),w=n(16618);n(90352);var C=n(34822),x=n(96595),S=n(24820),E=n(66487),k=Reflect.get,M=Reflect.set;t.OutputsContainer=function(e){var t=e.modelIndex,n=e.output,N=e.miningSchema,I=e.validateOutputFieldName,T=e.deleteOutputField,L=e.commitOutputField,B=o((0,a.useState)(void 0),2),O=B[0],P=B[1],F=o((0,a.useState)("overview"),2),R=F[0],j=F[1],z=(0,A.useOperation)(),V=z.activeOperation,W=z.setActiveOperation,H=(0,x.useHistoryService)(),U=H.service,Q=H.getCurrentState,G=(0,x.useBatchDispatch)(U,Q),K=(0,a.useMemo)((function(){return D(N)}),[N]),Y=(0,a.useMemo)((function(){if(void 0!==O){var e=null==n?void 0:n.OutputField;if(void 0!==e)return e[O]}}),[n,O]),$=function(){var e,t=null==n?void 0:n.OutputField.length;if(void 0!==t){var i=null!==(e=null==n?void 0:n.OutputField.map((function(e){return e.name.toString()})))&&void 0!==e?e:[],o={name:(0,C.findIncrementalName)("New output",i,1),dataType:"string",optype:void 0,targetField:void 0,feature:void 0,value:void 0,rank:void 0,rankOrder:void 0,segmentId:void 0,isFinalResult:void 0};P(t),W(A.Operation.UPDATE_OUTPUT),L(void 0,o)}},J=function(e){if(void 0!==n&&void 0!==O){var t=n.OutputField[O],o={};Object.keys(e).forEach((function(e){return M(o,e,k(t,e))})),(0,s.isEqual)(e,o)||L(O,i(i({},t),e))}},q=function(){P(void 0),W(A.Operation.NONE)},Z=(0,S.useValidationRegistry)().validationRegistry,X=(0,a.useMemo)((function(){return Z.get((0,E.Builder)().forModel(t).forOutput().build())}),[t,null==n?void 0:n.OutputField]);return(0,r.jsx)("div",i({className:"outputs-container"},{children:(0,r.jsx)(l.SwitchTransition,i({mode:"out-in"},{children:(0,r.jsx)(l.CSSTransition,i({timeout:{enter:230,exit:100},classNames:function(e){var t;switch(e){case"overview":t="outputs-container__overview";break;case"extended-properties":t="outputs-container__extended-properties";break;case"batch-add":t="outputs-container__batch-add"}return t}(R)},{children:(0,r.jsxs)(r.Fragment,{children:["overview"===R&&(0,r.jsxs)(h.Stack,i({hasGutter:!0,className:"outputs-container__overview"},{children:[(0,r.jsx)(h.StackItem,{children:(0,r.jsxs)(u.Flex,i({"data-ouia-component-id":"outputs-toolbar"},{children:[(0,r.jsx)(u.FlexItem,{children:(0,r.jsx)(c.Button,i({variant:"primary",onClick:function(e){e.stopPropagation(),e.preventDefault(),$()},isDisabled:V!==A.Operation.NONE,icon:(0,r.jsx)(v.PlusIcon,{},void 0),iconPosition:"left",ouiaId:"add-output"},{children:"Add Output"}),void 0)},void 0),(0,r.jsx)(u.FlexItem,{children:(0,r.jsx)(c.Button,i({variant:"secondary",onClick:function(){return j("batch-add")},isDisabled:V!==A.Operation.NONE,icon:(0,r.jsx)(m.BoltIcon,{},void 0),iconPosition:"left"},{children:"Add Multiple Outputs"}),void 0)},void 0)]}),void 0)},void 0),X&&X.length>0&&(0,r.jsx)(h.StackItem,{children:(0,r.jsx)(p.Alert,{variant:"warning",isInline:!0,title:(null==n?void 0:n.OutputField.length)?"Some items are invalid and need attention.":"At least one Output Field is required."},void 0)},void 0),(0,r.jsx)(h.StackItem,i({className:"outputs-container__fields-list","data-ouia-component-id":"outputs-overview"},{children:(0,r.jsx)(_.default,{modelIndex:t,outputs:null==n?void 0:n.OutputField,selectedOutputIndex:O,setSelectedOutputIndex:P,validateOutputFieldName:I,viewExtendedProperties:function(){return j("extended-properties")},onAddOutputField:$,onDeleteOutputField:T,onCommitAndClose:function(){J({}),q()},onCommit:J,onCancel:q},void 0)}),void 0)]}),void 0),"extended-properties"===R&&(0,r.jsxs)(h.Stack,i({hasGutter:!0},{children:[(0,r.jsx)(h.StackItem,{children:(0,r.jsx)(d.TextContent,{children:(0,r.jsxs)(f.Title,i({size:"lg",headingLevel:"h1"},{children:[(0,r.jsx)("a",i({onClick:function(){return j("overview")}},{children:null==Y?void 0:Y.name}),void 0),"ย /ย Properties"]}),void 0)},void 0)},void 0),(0,r.jsx)(h.StackItem,i({className:"outputs-container__extended-properties"},{children:(0,r.jsx)(w.OutputFieldExtendedProperties,{modelIndex:t,activeOutputFieldIndex:O,activeOutputField:Y,targetFields:K,commit:J},void 0)}),void 0),(0,r.jsx)(h.StackItem,{children:(0,r.jsx)(c.Button,i({variant:"primary",onClick:function(){return j("overview")},icon:(0,r.jsx)(g.ArrowAltCircleLeftIcon,{},void 0),iconPosition:"left"},{children:"Back"}),void 0)},void 0)]}),void 0),"batch-add"===R&&(0,r.jsx)(y.default,{onAdd:function(e){var n=e.split("\n").filter((function(e){return e.trim().length>0}));G({type:b.Actions.AddBatchOutputs,payload:{modelIndex:t,outputFields:n}}),j("overview")},onCancel:function(){return j("overview")}},void 0)]},void 0)}),R)}),void 0)}),void 0)};var D=function(e){return null==e?void 0:e.MiningField.filter((function(e){return"target"===e.usageType})).map((function(e){return e.name}))}},24712:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputsHandler=void 0;var r=n(61250),a=n(29901),s=n(40002),l=n(79477),c=n(63392),d=n(49726),u=n(3801),h=n(6807),p=n(24893),f=n(98130),g=n(24820),m=n(66487),v=n(40237);t.OutputsHandler=function(e){var t=e.modelIndex,n=e.output,b=e.miningSchema,_=e.validateOutputFieldName,y=e.deleteOutputField,A=e.commitOutputField,w=o((0,a.useState)(!1),2),C=w[0],x=w[1],S=(0,f.useOperation)().setActiveOperation,E=(0,g.useValidationRegistry)().validationRegistry,k=(0,a.useMemo)((function(){return E.get((0,m.Builder)().forModel(t).forOutput().build())}),[t,n,b]),M=function(){S(f.Operation.NONE),x(!C)},D=(0,r.jsxs)(l.Split,i({hasGutter:!0},{children:[(0,r.jsx)(l.SplitItem,i({isFilled:!0},{children:(0,r.jsx)(d.Title,i({headingLevel:"h1",size:d.TitleSizes["2xl"]},{children:"Outputs"}),void 0)}),void 0),(0,r.jsx)(l.SplitItem,{children:(0,r.jsx)(s.Button,i({type:"button",variant:s.ButtonVariant.plain,onClick:M,"data-title":"OutputsModalClose"},{children:(0,r.jsx)(u.CloseIcon,{},void 0)}),void 0)},void 0)]}),void 0);return(0,r.jsxs)(r.Fragment,{children:[0===k.length&&(0,r.jsx)(s.Button,i({variant:"secondary",onClick:M,"data-title":"Outputs"},{children:"Set Outputs"}),void 0),k.length>0&&(0,r.jsx)(v.ValidationIndicatorTooltip,i({validations:k},{children:(0,r.jsx)(s.Button,i({variant:"secondary",icon:(0,r.jsx)(h.WarningTriangleIcon,{size:"sm",color:"orange"},void 0),onClick:M,"data-title":"Outputs"},{children:"Set Outputs"}),void 0)}),void 0),(0,r.jsx)(c.Modal,i({"aria-label":"outputs",title:"Outputs",header:D,isOpen:C,showClose:!1,variant:c.ModalVariant.large,onEscapePress:function(){return!1},"data-title":"OutputsModal"},{children:(0,r.jsx)(p.OutputsContainer,{modelIndex:t,output:n,miningSchema:b,validateOutputFieldName:_,deleteOutputField:y,commitOutputField:A},void 0)}),void 0)]},void 0)}},46586:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(93909),t),o(n(24893),t),o(n(24712),t),o(n(35320),t),o(n(16618),t)},92959:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBatchDispatch=void 0;var i=n(31352),o=n(16414);t.useBatchDispatch=function(e,t){var n=(0,i.useDispatch)();return function(i){var r=n(i);return n({type:o.Actions.Refresh,payload:{pmml:e.commit(t())}}),r}}},90013:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},13592:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useHistoryService=t.HistoryContext=void 0;var i=n(29901),o=n(61386);t.HistoryContext=i.createContext({service:new o.HistoryService([function(){}]),getCurrentState:function(){}}),t.useHistoryService=function(){return i.useContext(t.HistoryContext)}},61386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryService=void 0;var i=n(42827),o=n(39378);t.HistoryService=function(e){var t=this;this.listeners=e,this.pending=new Array,this.history={changes:[],index:0},this.batch=function(e,n,i,o){t.pending.push({state:e,path:n,recipe:i,validate:o})},this.commit=function(e){if(void 0!==e){var n=t.mutate(e,null,(function(e){t.pending.forEach((function(t){var n=null===t.path?e:(0,o.get)(e,t.path.path);t.recipe(n)}))}));return t.pending.forEach((function(e){void 0!==e.validate&&e.validate(n)})),t.listeners.forEach((function(e){return e("Command".concat(t.history.index))})),t.pending=new Array,n}},this.mutate=function(e,n,o){return t.history.index<t.history.changes.length&&(t.history.changes=t.history.changes.slice(0,t.history.index)),(0,i.produce)(e,o,(function(e,i){t.history.changes.push({path:n,change:e,reverse:i}),t.history.index=t.history.changes.length}))},this.undo=function(e){if(t.history.index>0){var n=t.history.changes[--t.history.index];return t.apply(e,n.path,n.reverse)}return e},this.redo=function(e){if(t.history.index<t.history.changes.length){var n=t.history.changes[t.history.index++];return t.apply(e,n.path,n.change)}return e},this.index=function(){return t.history.index},this.changes=function(){return t.history.changes},this.apply=function(e,t,n){if(null===t)return(0,i.applyPatches)(e,n);var r=(0,o.get)(e,t.path),a=(0,i.applyPatches)(r,n),s=(0,o.cloneDeep)(e);return(0,o.set)(s,t.path,a)}}},96595:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(92959),t),o(n(90013),t),o(n(13592),t),o(n(61386),t)},52288:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),n(984),o(n(93604),t),o(n(43715),t),o(n(19901),t),o(n(34822),t)},33906:function(e,t){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.PredicateBuilder=t.Builder=void 0;var o=function(){function e(e){this.builders=e}return e.prototype.add=function(e){this.builders.push(e)},e}(),r=function(){function e(e){var t=[];e.builders.forEach((function(e){return t.push(e)})),this.builders=new o(t)}return e.prototype.build=function(){return{path:this.builders.builders.map((function(e){return e.segment()})).filter((function(e){return""!==e})).join(".")}},e}();t.Builder=function(){return new a};var a=function(e){function t(){var t=e.call(this,new o([]))||this;return t.forHeader=function(){return new l(t.builders)},t.forDataDictionary=function(){return new c(t.builders)},t.forModel=function(e){return new s(t.builders,e)},t.builders.add(t),t}return i(t,e),t.prototype.segment=function(){return""},t}(r),s=function(e){function t(t,n){var i=e.call(this,t)||this;return i.forBaselineScore=function(){return new m(i.builders)},i.forUseReasonCodes=function(){return new v(i.builders)},i.forCharacteristics=function(){return new p(i.builders)},i.forMiningSchema=function(){return new w(i.builders)},i.forOutput=function(){return new N(i.builders)},i.builders.add(i),i.modelIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.modelIndex?"models[".concat(this.modelIndex,"]"):"models"},t}(r),l=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"Header"},t}(r),c=function(e){function t(t){var n=e.call(this,t)||this;return n.forDataField=function(e){return new d(n.builders,e)},n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"DataDictionary"},t}(r),d=function(e){function t(t,n){var i=e.call(this,t)||this;return i.forInterval=function(e){return new u(i.builders,e)},i.forValue=function(e){return new h(i.builders,e)},i.builders.add(i),i.dataFieldIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.dataFieldIndex?"DataField[".concat(this.dataFieldIndex,"]"):"DataField"},t}(r),u=function(e){function t(t,n){var i=e.call(this,t)||this;return i.builders.add(i),i.intervalIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.intervalIndex?"Interval[".concat(this.intervalIndex,"]"):"Interval"},t}(r),h=function(e){function t(t,n){var i=e.call(this,t)||this;return i.builders.add(i),i.valueIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.valueIndex?"Value[".concat(this.valueIndex,"]"):"Value"},t}(r),p=function(e){function t(t){var n=e.call(this,t)||this;return n.forCharacteristic=function(e){return new f(n.builders,e)},n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"Characteristics"},t}(r),f=function(e){function t(t,n){var i=e.call(this,t)||this;return i.forReasonCode=function(){return new g(i.builders)},i.forBaselineScore=function(){return new m(i.builders)},i.forAttribute=function(e){return new b(i.builders,e)},i.builders.add(i),i.characteristicIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.characteristicIndex?"Characteristic[".concat(this.characteristicIndex,"]"):"Characteristic"},t}(r),g=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"reasonCode"},t}(r),m=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"baselineScore"},t}(r),v=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"useReasonCodes"},t}(r),b=function(e){function t(t,n){var i=e.call(this,t)||this;return i.forPredicate=function(e){return new y(i.builders,e)},i.forReasonCode=function(){return new g(i.builders)},i.forPartialScore=function(){return new _(i.builders)},i.builders.add(i),i.attributeIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.attributeIndex?"Attribute[".concat(this.attributeIndex,"]"):"Attribute"},t}(r),_=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"partialScore"},t}(r),y=function(e){function t(n,i){var o=e.call(this,n)||this;return o.forFieldName=function(){return new A(o.builders)},o.forPredicate=function(e){return new t(o.builders,e)},o.builders.add(o),o.predicateIndex=i,o}return i(t,e),t.prototype.segment=function(){return void 0!==this.predicateIndex?"predicates[".concat(this.predicateIndex,"]"):"predicate"},t}(r);t.PredicateBuilder=y;var A=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"fieldName"},t}(r),w=function(e){function t(t){var n=e.call(this,t)||this;return n.forMiningField=function(e){return new C(n.builders,e)},n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"MiningSchema"},t}(r),C=function(e){function t(t,n){var i=e.call(this,t)||this;return i.forImportance=function(){return new x(i.builders)},i.forLowValue=function(){return new S(i.builders)},i.forHighValue=function(){return new E(i.builders)},i.forMissingValueReplacement=function(){return new k(i.builders)},i.forInvalidValueReplacement=function(){return new M(i.builders)},i.forDataFieldMissing=function(){return new D(i.builders)},i.builders.add(i),i.miningFieldIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.miningFieldIndex?"MiningField[".concat(this.miningFieldIndex,"]"):"MiningField"},t}(r),x=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"importance"},t}(r),S=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"lowValue"},t}(r),E=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"highValue"},t}(r),k=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"missingValueReplacement"},t}(r),M=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"invalidValueReplacement"},t}(r),D=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"dataFieldMissing"},t}(r),N=function(e){function t(t){var n=e.call(this,t)||this;return n.forOutputField=function(e){return new I(n.builders,e)},n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"Output"},t}(r),I=function(e){function t(t,n){var i=e.call(this,t)||this;return i.forTargetField=function(){return new T(i.builders)},i.builders.add(i),i.outputFieldIndex=n,i}return i(t,e),t.prototype.segment=function(){return void 0!==this.outputFieldIndex?"OutputField[".concat(this.outputFieldIndex,"]"):"OutputField"},t}(r),T=function(e){function t(t){var n=e.call(this,t)||this;return n.builders.add(n),n}return i(t,e),t.prototype.segment=function(){return"targetField"},t}(r)},66487:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(33906),t)},45652:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=void 0,(n=t.Actions||(t.Actions={})).Refresh="REFRESH",n.Validate="VALIDATE",n.SetVersion="SET_VERSION",n.DeleteModel="DELETE_MODEL",n.AddDataDictionaryField="DATA_DICTIONARY_ADD_FIELD",n.AddBatchDataDictionaryFields="DATA_DICTIONARY_BATCH_ADD",n.DeleteDataDictionaryField="DATA_DICTIONARY_DELETE_FIELD",n.UpdateDataDictionaryField="DATA_DICTIONARY_UPDATE_FIELD",n.ReorderDataDictionaryFields="DATA_DICTIONARY_REORDER_FIELDS",n.SetHeaderDescription="SET_HEADER_DESCRIPTION",n.AddOutput="OUTPUT_ADD",n.AddBatchOutputs="OUTPUT_BATCH_ADD",n.UpdateOutput="OUTPUT_UPDATE",n.DeleteOutput="OUTPUT_DELETE",n.AddMiningSchemaFields="MINING_SCHEMA_ADD",n.DeleteMiningSchemaField="MINING_SCHEMA_DELETE",n.UpdateMiningSchemaField="MINING_SCHEMA_UPDATE",n.Undo="UNDO",n.Redo="REDO",n.Scorecard_SetModelName="SCORECARD_SET_MODEL_NAME",n.Scorecard_SetCoreProperties="SCORECARD_SET_CORE_PROPERTIES",n.Scorecard_AddCharacteristic="SCORECARD_ADD_CHARACTERISTIC",n.Scorecard_DeleteCharacteristic="SCORECARD_DELETE_CHARACTERISTIC",n.Scorecard_UpdateCharacteristic="SCORECARD_UPDATE_CHARACTERISTIC",n.Scorecard_AddAttribute="SCORECARD_ADD_ATTRIBUTE",n.Scorecard_DeleteAttribute="SCORECARD_DELETE_ATTRIBUTE",n.Scorecard_UpdateAttribute="SCORECARD_UPDATE_ATTRIBUTE"},73275:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesReducer=void 0;var o=n(45652),r=n(21585),a=n(42827),s=n(66487);r.Attribute[a.immerable]=!0,r.Predicate[a.immerable]=!0,r.SimplePredicate[a.immerable]=!0,r.CompoundPredicate[a.immerable]=!0,t.AttributesReducer=function(e){return function(t,n){switch(n.type){case o.Actions.Scorecard_AddAttribute:e.batch(t,(0,s.Builder)().forModel(n.payload.modelIndex).forCharacteristics().forCharacteristic(n.payload.characteristicIndex).forAttribute().build(),(function(e){e.push({predicate:n.payload.predicate,partialScore:n.payload.partialScore,reasonCode:n.payload.reasonCode})}));break;case o.Actions.Scorecard_DeleteAttribute:e.batch(t,(0,s.Builder)().forModel(n.payload.modelIndex).forCharacteristics().forCharacteristic(n.payload.characteristicIndex).forAttribute().build(),(function(e){var t=n.payload.attributeIndex;t>=0&&t<e.length&&e.splice(t,1)}));break;case o.Actions.Scorecard_UpdateAttribute:e.batch(t,(0,s.Builder)().forModel(n.payload.modelIndex).forCharacteristics().forCharacteristic(n.payload.characteristicIndex).forAttribute().build(),(function(e){var t=n.payload.attributeIndex;t>=0&&t<e.length&&(e[t]=i(i({},e[t]),{predicate:n.payload.predicate,partialScore:n.payload.partialScore,reasonCode:n.payload.reasonCode}))}))}return t}}},32892:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicReducer=void 0;var o=n(45652),r=n(21585),a=n(73275),s=n(42827),l=n(66487);r.Characteristic[s.immerable]=!0,t.CharacteristicReducer=function(e){var t=(0,a.AttributesReducer)(e);return function(n,r){return r.type===o.Actions.Scorecard_UpdateCharacteristic?(e.batch(n,(0,l.Builder)().forModel(r.payload.modelIndex).forCharacteristics().forCharacteristic().build(),(function(e){var t=r.payload.characteristicIndex;t>=0&&t<e.length&&(e[t]=i(i({},e[t]),{name:r.payload.name,reasonCode:r.payload.reasonCode,baselineScore:r.payload.baselineScore})),void 0!==r.payload.reasonCode&&e[t].Attribute.forEach((function(e){return e.reasonCode=void 0}))})),n):function(e,n){switch(n.type){case o.Actions.Scorecard_AddAttribute:case o.Actions.Scorecard_UpdateAttribute:case o.Actions.Scorecard_DeleteAttribute:var i=e[n.payload.characteristicIndex].Attribute;t(i,n)}return e}(n,r)}}},71764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CharacteristicsReducer=void 0;var i=n(45652),o=n(21585),r=n(42827),a=n(66487);o.Characteristics[r.immerable]=!0,t.CharacteristicsReducer=function(e){return function(t,n){switch(n.type){case i.Actions.Scorecard_AddCharacteristic:e.batch(t,(0,a.Builder)().forModel(n.payload.modelIndex).forCharacteristics().build(),(function(e){e.Characteristic.push({name:n.payload.name,reasonCode:n.payload.reasonCode,baselineScore:n.payload.baselineScore,Attribute:[]})}));break;case i.Actions.Scorecard_DeleteCharacteristic:e.batch(t,(0,a.Builder)().forModel(n.payload.modelIndex).forCharacteristics().build(),(function(e){var t=n.payload.characteristicIndex;t>=0&&t<e.Characteristic.length&&e.Characteristic.splice(t,1)}))}return t}}},31719:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataDictionaryFieldReducer=void 0;var i=n(45652),o=n(24820),r=n(66487);t.DataDictionaryFieldReducer=function(e,t){return function(n,a){switch(a.type){case i.Actions.UpdateDataDictionaryField:var s=a.payload.dataField,l=a.payload.dataDictionaryIndex;e.batch(n,(0,r.Builder)().forDataDictionary().forDataField().build(),(function(e){var t;l>=0&&l<e.length&&((0,o.shouldConstraintsBeCleared)(s,e[l].isCyclic,e[l].dataType,e[l].optype)&&(delete s.Interval,s.Value=null===(t=s.Value)||void 0===t?void 0:t.filter((function(e){return"invalid"===e.property||"missing"===e.property}))),"1"===s.isCyclic&&"ordinal"===s.optype&&(0,o.hasIntervals)(s)&&delete s.Interval,"categorical"===s.optype&&void 0!==s.isCyclic&&delete s.isCyclic,("1"===s.isCyclic&&"ordinal"===s.optype||"string"===s.dataType&&"ordinal"===s.optype)&&!(0,o.hasValidValues)(s)&&(s.Value=(s.Value||[]).concat({value:""})),e[l]=s)}),(function(){t.clear((0,r.Builder)().forDataDictionary().forDataField(l).build()),(0,o.validateDataField)(s,l,t)}));break;case i.Actions.Validate:t.clear((0,r.Builder)().forDataDictionary().forDataField().build()),(0,o.validateDataFields)(n,t)}return n}}},5251:function(e,t,n){"use strict";var i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.DataDictionaryReducer=void 0;var o=n(45652),r=n(24820),a=n(66487);t.DataDictionaryReducer=function(e,t){return function(n,s){switch(s.type){case o.Actions.AddDataDictionaryField:e.batch(n,(0,a.Builder)().forDataDictionary().build(),(function(e){e.DataField.push({name:s.payload.name,dataType:s.payload.type,optype:s.payload.optype})}));break;case o.Actions.DeleteDataDictionaryField:e.batch(n,(0,a.Builder)().forDataDictionary().build(),(function(e){var t=s.payload.index;t>=0&&t<e.DataField.length&&e.DataField.splice(t,1)}),(function(e){t.clear((0,a.Builder)().forDataDictionary().build()),(0,r.validateDataFields)(e.DataDictionary.DataField,t)}));break;case o.Actions.ReorderDataDictionaryFields:e.batch(n,(0,a.Builder)().forDataDictionary().build(),(function(e){var t=i(e.DataField.splice(s.payload.oldIndex,1),1)[0];e.DataField.splice(s.payload.newIndex,0,t)}),(function(e){t.clear((0,a.Builder)().forDataDictionary().build()),(0,r.validateDataFields)(e.DataDictionary.DataField,t)}));break;case o.Actions.AddBatchDataDictionaryFields:e.batch(n,(0,a.Builder)().forDataDictionary().build(),(function(e){s.payload.dataDictionaryFields.forEach((function(t){e.DataField.push({name:t,dataType:"string",optype:"categorical"})}))}))}return n}}},43888:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.DelegatingModelReducer=void 0;var o=n(34822),r=Reflect.get,a=function(e,t,n){var i,r=(0,o.getModelType)(e),a=n.get(r);return null!==(i=null==a?void 0:a.factory(a.reducer(e,t)))&&void 0!==i?i:e};t.DelegatingModelReducer=function(e,t){return function(e,n){if(void 0===e||void 0===n||void 0===n.payload)return e;var o=!1,s=[];e.forEach((function(e){return s.push(e)}));var l=r(n.payload,"modelIndex");if(void 0===l&&e.forEach((function(e,r){var l=Object.assign({},n,{payload:i(i({},n.payload),{modelIndex:r})}),c=a(e,l,t);e!==c&&(o=!0,s[r]=c)})),l>=0&&l<e.length){var c=e[l],d=a(c,n,t);c!==d&&(o=!0,s[l]=d)}return o?s:e}}},68163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderReducer=void 0;var i=n(45652),o=n(66487);t.HeaderReducer=function(e){return function(t,n){return n.type===i.Actions.SetHeaderDescription&&e.batch(t,(0,o.Builder)().forHeader().build(),(function(e){e.description=n.payload.description})),t}}},22413:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MiningSchemaFieldReducer=void 0;var o=n(45652),r=n(66487),a=n(22001),s=n(34822);t.MiningSchemaFieldReducer=function(e,t){return function(n,l){switch(l.type){case o.Actions.UpdateMiningSchemaField:e.batch(n,(0,r.Builder)().forModel(l.payload.modelIndex).forMiningSchema().forMiningField().build(),(function(e){var t=l.payload.miningSchemaIndex,n=(0,a.areLowHighValuesRequired)(l.payload.outliers),o=(0,a.isMissingValueReplacementRequired)(l.payload.missingValueTreatment),r=(0,a.isInvalidValueReplacementRequired)(l.payload.invalidValueTreatment);if(t>=0&&t<e.length){var s=e[t].outliers!==l.payload.outliers&&!n,c=e[t].missingValueTreatment!==l.payload.missingValueTreatment&&!o,d=e[t].invalidValueTreatment!==l.payload.invalidValueTreatment&&!r,u=s?void 0:l.payload.lowValue,h=s?void 0:l.payload.highValue,p=c?void 0:l.payload.missingValueReplacement,f=d?void 0:l.payload.invalidValueReplacement;e[t]=i(i({},e[t]),{name:l.payload.name,usageType:l.payload.usageType,optype:l.payload.optype,importance:l.payload.importance,outliers:l.payload.outliers,lowValue:u,highValue:h,missingValueTreatment:l.payload.missingValueTreatment,missingValueReplacement:p,invalidValueTreatment:l.payload.invalidValueTreatment,invalidValueReplacement:f})}}),(function(e){var n=l.payload.modelIndex,i=l.payload.miningSchemaIndex,o=(0,s.getDataDictionary)(e),c=(0,s.getMiningSchema)(e,n),d=(0,s.getMiningField)(e,n,i);void 0!==o&&void 0!==c&&void 0!==d&&(t.clear((0,r.Builder)().forModel(n).forMiningSchema().forMiningField(i).build()),(0,a.validateMiningField)(n,i,d,t),(0,a.validateMiningFieldDataFieldReference)(n,o.DataField,i,d,t))}));break;case o.Actions.UpdateDataDictionaryField:n.forEach((function(t,o){t.name===l.payload.originalName&&e.batch(n,(0,r.Builder)().forModel(l.payload.modelIndex).forMiningSchema().forMiningField().build(),(function(e){e[o]=i(i({},e[o]),{name:l.payload.dataField.name})}))}));case o.Actions.AddDataDictionaryField:case o.Actions.DeleteDataDictionaryField:case o.Actions.AddBatchDataDictionaryFields:e.batch(n,(0,r.Builder)().forModel(l.payload.modelIndex).forMiningSchema().forMiningField().build(),(function(){}),(function(e){if(void 0!==l.payload.modelIndex){var n=l.payload.modelIndex,i=(0,s.getDataDictionary)(e),o=(0,s.getMiningSchema)(e,n);void 0!==i&&void 0!==o&&(o.MiningField.forEach((function(e,i){t.clear((0,r.Builder)().forModel(n).forMiningSchema().forMiningField(i).forDataFieldMissing().build())})),(0,a.validateMiningFieldsDataFieldReference)(n,i.DataField,o.MiningField,t))}}));break;case o.Actions.Validate:if(void 0!==l.payload.modelIndex){var c=l.payload.modelIndex;(0,a.validateMiningFields)(c,n,t)}}return n}}},14606:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MiningSchemaReducer=void 0;var i=n(45652),o=n(66487),r=n(22001),a=n(34822);t.MiningSchemaReducer=function(e,t){return function(n,s){switch(s.type){case i.Actions.AddMiningSchemaFields:e.batch(n,(0,o.Builder)().forModel(s.payload.modelIndex).forMiningSchema().build(),(function(e){s.payload.names.forEach((function(t){e.MiningField.push({name:t})}))}));break;case i.Actions.DeleteMiningSchemaField:e.batch(n,(0,o.Builder)().forModel(s.payload.modelIndex).forMiningSchema().build(),(function(e){var t=s.payload.miningSchemaIndex;t>=0&&t<e.MiningField.length&&e.MiningField.splice(t,1)}),(function(e){var n=s.payload.modelIndex,i=(0,a.getMiningSchema)(e,n);void 0!==i&&(t.clear((0,o.Builder)().forModel(n).forMiningSchema().build()),(0,r.validateMiningFields)(n,i.MiningField,t))}))}return n}}},40802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModelReducer=void 0;var i=n(45652),o=n(21585),r=n(54591),a=n(43888),s=n(25604),l=n(71764),c=n(32892),d=n(55278),u=n(95950),h=n(14606),p=n(22413),f=n(66487);t.ModelReducer=function(e,t){var n=(0,s.default)((0,r.ScorecardReducer)(e,t),{MiningSchema:(0,s.default)((0,h.MiningSchemaReducer)(e,t),{MiningField:(0,p.MiningSchemaFieldReducer)(e,t)}),Output:(0,s.default)((0,u.OutputReducer)(e,t),{OutputField:(0,d.OutputFieldReducer)(e,t)}),Characteristics:(0,s.default)((0,l.CharacteristicsReducer)(e),{Characteristic:(0,c.CharacteristicReducer)(e)})}),g=(0,a.DelegatingModelReducer)(e,new Map([["Scorecard",{reducer:n,factory:function(e){var t=new o.Scorecard(e);return t._type="Scorecard",t}}]]));return function(t,n){return n.type===i.Actions.DeleteModel?(e.batch(t,(0,f.Builder)().forModel().build(),(function(e){if(void 0!==e){var t=n.payload.modelIndex;t>=0&&t<e.length&&e.splice(t,1)}})),t):g(t,n)}}},55278:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputFieldReducer=void 0;var o=n(45652),r=n(66487),a=n(34822),s=n(41273);t.OutputFieldReducer=function(e,t){return function(n,l){switch(l.type){case o.Actions.UpdateOutput:e.batch(n,(0,r.Builder)().forModel(l.payload.modelIndex).forOutput().forOutputField().build(),(function(e){var t=l.payload.outputIndex;t>=0&&t<e.length&&(e[t]=i(i({},e[t]),{name:l.payload.outputField.name,dataType:l.payload.outputField.dataType,optype:l.payload.outputField.optype,targetField:l.payload.outputField.targetField,feature:l.payload.outputField.feature,value:l.payload.outputField.value,rank:l.payload.outputField.rank,rankOrder:l.payload.outputField.rankOrder,segmentId:l.payload.outputField.segmentId,isFinalResult:l.payload.outputField.isFinalResult}))}),(function(e){var n=l.payload.modelIndex,i=l.payload.outputField,o=l.payload.outputIndex,c=(0,a.getMiningSchema)(e,n);void 0!==c&&(t.clear((0,r.Builder)().forModel(n).forOutput().forOutputField(o).forTargetField().build()),(0,s.validateOutput)(n,i,o,c.MiningField,t))}));break;case o.Actions.UpdateDataDictionaryField:n.forEach((function(t,o){t.targetField===l.payload.originalName&&e.batch(n,(0,r.Builder)().forModel(l.payload.modelIndex).forOutput().forOutputField().build(),(function(e){e[o]=i(i({},e[o]),{targetField:l.payload.dataField.name})}))}))}return n}}},95950:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OutputReducer=void 0;var o=n(45652),r=n(66487),a=n(34822),s=n(41273),l=n(24820);t.OutputReducer=function(e,t){return function(n,c){switch(c.type){case o.Actions.AddOutput:e.batch(n,(0,r.Builder)().forModel(c.payload.modelIndex).forOutput().build(),(function(e){e.OutputField.push({name:c.payload.outputField.name,dataType:c.payload.outputField.dataType,optype:c.payload.outputField.optype,targetField:c.payload.outputField.targetField,feature:c.payload.outputField.feature,value:c.payload.outputField.value,rank:c.payload.outputField.rank,rankOrder:c.payload.outputField.rankOrder,segmentId:c.payload.outputField.segmentId,isFinalResult:c.payload.outputField.isFinalResult})}),(function(e){var n=c.payload.modelIndex,i=c.payload.outputField,o=(0,a.getMiningSchema)(e,n),d=(0,a.getOutputs)(e,n);if(void 0!==d&&void 0!==o&&(t.clear((0,r.Builder)().forModel(n).forOutput().build()),(0,s.validateOutputs)(c.payload.modelIndex,d.OutputField,o.MiningField,t),(0,s.isOutputsTargetFieldRequired)(o.MiningField))){var u=d.OutputField.length;t.set((0,r.Builder)().forModel(n).forOutput().forOutputField(u).forTargetField().build(),new l.ValidationEntry(l.ValidationLevel.WARNING,'"'.concat(i.name,'" output field, target field is required if Mining Schema has multiple target fields.')))}}));break;case o.Actions.DeleteOutput:e.batch(n,(0,r.Builder)().forModel(c.payload.modelIndex).forOutput().build(),(function(e){var t=c.payload.outputIndex;t>=0&&t<e.OutputField.length&&e.OutputField.splice(t,1)}),(function(e){var n=c.payload.modelIndex,i=(0,a.getMiningSchema)(e,n),o=(0,a.getOutputs)(e,n);void 0!==i&&void 0!==o&&(t.clear((0,r.Builder)().forModel(n).forOutput().build()),(0,s.validateOutputs)(n,o.OutputField,i.MiningField,t))}));break;case o.Actions.AddBatchOutputs:e.batch(n,(0,r.Builder)().forModel(c.payload.modelIndex).forOutput().build(),(function(e){c.payload.outputFields.forEach((function(t){e.OutputField.push({name:t,dataType:"string"})}))}),(function(e){var n=c.payload.modelIndex,i=(0,a.getMiningSchema)(e,n),o=(0,a.getOutputs)(e,n);void 0!==o&&void 0!==i&&(t.clear((0,r.Builder)().forModel(n).forOutput().build()),(0,s.validateOutputs)(c.payload.modelIndex,o.OutputField,i.MiningField,t),(0,s.isOutputsTargetFieldRequired)(i.MiningField)&&o.OutputField.forEach((function(e,n){t.set((0,r.Builder)().forModel(c.payload.modelIndex).forOutput().forOutputField(n).forTargetField().build(),new l.ValidationEntry(l.ValidationLevel.WARNING,'"'.concat(e,'" output field, target field is required if Mining Schema has multiple target fields.')))})))}));break;case o.Actions.DeleteMiningSchemaField:if(n.OutputField.length>0){var d=c.payload.modelIndex;e.batch(n,(0,r.Builder)().forModel(d).forOutput().build(),(function(e){n.OutputField.forEach((function(t,n){t.targetField===c.payload.name&&(e.OutputField[n]=i(i({},e.OutputField[n]),{targetField:void 0}))}))}),(function(e){var n=(0,a.getMiningSchema)(e,d),i=(0,a.getOutputs)(e,d);void 0!==n&&void 0!==i&&(t.clear((0,r.Builder)().forModel(d).forOutput().build()),(0,s.validateOutputs)(d,i.OutputField,n.MiningField,t))}))}break;case o.Actions.UpdateMiningSchemaField:if(n.OutputField.length>0){var u=c.payload.modelIndex;e.batch(n,(0,r.Builder)().forModel(u).forOutput().build(),(function(e){"target"!==c.payload.usageType&&n.OutputField.forEach((function(t,n){t.targetField===c.payload.name&&(e.OutputField[n]=i(i({},e.OutputField[n]),{targetField:void 0}))}))}),(function(e){var n=(0,a.getMiningSchema)(e,u),i=(0,a.getOutputs)(e,u),o=(0,a.getCharacteristics)(e,u);void 0!==n&&void 0!==i&&void 0!==o&&(t.clear((0,r.Builder)().forModel(u).forOutput().build()),(0,s.validateOutputs)(u,i.OutputField,n.MiningField,t))}))}}return n}}},3742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PMMLReducer=void 0;var i=n(45652),o=n(66487),r=n(22001),a=n(34822);t.PMMLReducer=function(e,t){return function(n,s){var l;switch(s.type){case i.Actions.Refresh:return s.payload.pmml;case i.Actions.SetVersion:e.batch(n,null,(function(e){e.version=s.payload.version}));break;case i.Actions.Undo:return e.undo(n);case i.Actions.Redo:return e.redo(n);case i.Actions.Validate:var c=n.DataDictionary.DataField;(null!==(l=n.models)&&void 0!==l?l:[]).forEach((function(e,i){var s=(0,a.getMiningSchema)(n,i);void 0!==s&&(t.clear((0,o.Builder)().forModel(i).forMiningSchema().build()),(0,r.validateMiningFieldsDataFieldReference)(i,c,s.MiningField,t))}))}return n}}},54591:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScorecardReducer=void 0;var i=n(45652),o=n(21585),r=n(42827),a=n(41273),s=n(66487),l=n(98636),c=n(69561),d=n(34822);o.Scorecard[r.immerable]=!0,t.ScorecardReducer=function(e,t){return function(n,o){var r,h;switch(o.type){case i.Actions.Scorecard_SetModelName:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(e){e.modelName=o.payload.modelName}));break;case i.Actions.Scorecard_SetCoreProperties:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(e){e.isScorable=o.payload.isScorable,e.functionName=o.payload.functionName,e.algorithmName=o.payload.algorithmName,e.baselineScore=o.payload.baselineScore,e.baselineMethod=o.payload.baselineMethod,e.initialScore=o.payload.initialScore,e.useReasonCodes=o.payload.useReasonCodes,e.reasonCodeAlgorithm=o.payload.reasonCodeAlgorithm,void 0===o.payload.useReasonCodes||o.payload.useReasonCodes||e.Characteristics.Characteristic.forEach((function(e){e.reasonCode=void 0,e.Attribute.forEach((function(e){return e.reasonCode=void 0}))})),void 0!==o.payload.baselineScore&&e.Characteristics.Characteristic.forEach((function(e){e.baselineScore=void 0}))}),(function(e){var n=o.payload.modelIndex,i=(0,d.getMiningSchema)(e,n),r=(0,d.getCharacteristics)(e,n),a=(0,d.getBaselineScore)(e,n),u=(0,d.getUseReasonCodes)(e,n);void 0!==i&&void 0!==r&&(t.clear((0,s.Builder)().forModel(n).forBaselineScore().build()),(0,c.validateBaselineScore)(n,u,a,r.Characteristic,t),t.clear((0,s.Builder)().forModel(n).forCharacteristics().build()),(0,l.validateCharacteristics)(n,{baselineScore:a,useReasonCodes:u},r.Characteristic,i.MiningField,t))}));break;case i.Actions.Scorecard_AddCharacteristic:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(){}),(function(e){var n=o.payload.modelIndex,i=(0,d.getMiningSchema)(e,n),r=(0,d.getCharacteristics)(e,n),a=(0,d.getBaselineScore)(e,n),u=(0,d.getUseReasonCodes)(e,n);void 0!==i&&void 0!==r&&(t.clear((0,s.Builder)().forModel(o.payload.modelIndex).forBaselineScore().build()),(0,c.validateBaselineScore)(n,u,a,r.Characteristic,t),t.clear((0,s.Builder)().forModel(n).forCharacteristics().build()),(0,l.validateCharacteristics)(n,{baselineScore:a,useReasonCodes:u},r.Characteristic,i.MiningField,t))}));break;case i.Actions.Scorecard_DeleteCharacteristic:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(){}),(function(e){var n=o.payload.modelIndex,i=(0,d.getCharacteristics)(e,n),r=(0,d.getBaselineScore)(e,n),a=(0,d.getUseReasonCodes)(e,n);void 0!==i&&(t.clear((0,s.Builder)().forModel(n).forBaselineScore().build()),(0,c.validateBaselineScore)(n,a,r,i.Characteristic,t))}));break;case i.Actions.Scorecard_UpdateCharacteristic:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(){}),(function(e){var n=o.payload.modelIndex,i=(0,d.getMiningSchema)(e,n),r=(0,d.getCharacteristics)(e,n),a=(0,d.getBaselineScore)(e,n),u=(0,d.getUseReasonCodes)(e,n);void 0!==i&&void 0!==r&&(t.clear((0,s.Builder)().forModel(n).forBaselineScore().build()),(0,c.validateBaselineScore)(n,u,a,r.Characteristic,t),t.clear((0,s.Builder)().forModel(n).forCharacteristics().build()),(0,l.validateCharacteristics)(n,{baselineScore:a,useReasonCodes:u},r.Characteristic,i.MiningField,t))}));break;case i.Actions.Scorecard_AddAttribute:case i.Actions.Scorecard_DeleteAttribute:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(){}),(function(e){var n=o.payload.modelIndex,i=o.payload.characteristicIndex,r=(0,d.getMiningSchema)(e,n),a=(0,d.getCharacteristics)(e,n),c=(0,d.getBaselineScore)(e,n),u=(0,d.getUseReasonCodes)(e,n);void 0!==r&&void 0!==a&&(t.clear((0,s.Builder)().forModel(n).forCharacteristics().forCharacteristic(i).build()),(0,l.validateCharacteristic)(n,{baselineScore:c,useReasonCodes:u},i,a.Characteristic[i],r.MiningField,t))}));break;case i.Actions.UpdateDataDictionaryField:if(void 0!==o.payload.modelIndex){var p=o.payload.modelIndex,f=o.payload.dataField.name,g=o.payload.originalName;n.Characteristics.Characteristic.forEach((function(t,n){t.Attribute.forEach((function(t,i){u((0,s.Builder)().forModel(p).forCharacteristics().forCharacteristic(n).forAttribute(i).forPredicate(),t.predicate,f,g,e)}))}))}break;case i.Actions.AddMiningSchemaFields:case i.Actions.Scorecard_UpdateAttribute:e.batch(n,(0,s.Builder)().forModel(o.payload.modelIndex).build(),(function(){}),(function(e){var n=o.payload.modelIndex,i=(0,d.getMiningSchema)(e,n),r=(0,d.getCharacteristics)(e,n),a=(0,d.getBaselineScore)(e,n),c=(0,d.getUseReasonCodes)(e,n);void 0!==i&&void 0!==r&&(t.clear((0,s.Builder)().forModel(n).forCharacteristics().build()),(0,l.validateCharacteristics)(o.payload.modelIndex,{baselineScore:a,useReasonCodes:c},r.Characteristic,i.MiningField,t))}));break;case i.Actions.DeleteMiningSchemaField:if(n.MiningSchema.MiningField.length>0){var m=o.payload.modelIndex;e.batch(n,(0,s.Builder)().forModel(m).build(),(function(e){}),(function(e){var n=(0,d.getMiningSchema)(e,m),i=(0,d.getCharacteristics)(e,m),o=(0,d.getBaselineScore)(e,m),r=(0,d.getUseReasonCodes)(e,m);void 0!==n&&void 0!==i&&(t.clear((0,s.Builder)().forModel(m).forCharacteristics().build()),(0,l.validateCharacteristics)(m,{baselineScore:o,useReasonCodes:r},i.Characteristic,n.MiningField,t))}))}break;case i.Actions.Validate:if(void 0!==o.payload.modelIndex){var v=o.payload.modelIndex;t.clear((0,s.Builder)().forModel(v).forOutput().build()),(0,a.validateOutputs)(v,null!==(h=null===(r=n.Output)||void 0===r?void 0:r.OutputField)&&void 0!==h?h:[],n.MiningSchema.MiningField,t),t.clear((0,s.Builder)().forModel(v).forBaselineScore().build()),(0,c.validateBaselineScore)(v,n.useReasonCodes,n.baselineScore,n.Characteristics.Characteristic,t),t.clear((0,s.Builder)().forModel(v).forCharacteristics().build()),(0,l.validateCharacteristics)(v,{baselineScore:n.baselineScore,useReasonCodes:n.useReasonCodes},n.Characteristics.Characteristic,n.MiningSchema.MiningField,t)}}return n}};var u=function(e,t,n,i,r){var a;void 0===t||t instanceof o.True||t instanceof o.False||(t instanceof o.SimpleSetPredicate||t instanceof o.SimplePredicate?i===t.field&&r.batch(t,e.build(),(function(e){e.field=n})):t instanceof o.CompoundPredicate&&(null===(a=t.predicates)||void 0===a||a.forEach((function(t,o){return u(e.forPredicate(o),t,n,i,r)}))))}},16414:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(45652),t),o(n(73275),t),o(n(32892),t),o(n(71764),t),o(n(5251),t),o(n(31719),t),o(n(68163),t),o(n(40802),t),o(n(95950),t),o(n(55278),t),o(n(3742),t),o(n(54591),t)},73495:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.areAttributesReasonCodesMissing=t.validateAttributes=t.validateAttribute=void 0;var i=n(21585),o=n(3361),r=n(71541),a=n(66487);t.validateAttribute=function(e,t,n,i,l,c,d,u,h){!1!==t.useReasonCodes&&void 0===i.reasonCode&&void 0===d.reasonCode&&h.set((0,a.Builder)().forModel(e).forCharacteristics().forCharacteristic(n).forAttribute(c).forReasonCode().build(),new o.ValidationEntry(r.ValidationLevel.WARNING,'"'.concat(i.name," attribute: Reason code is required."))),l&&void 0===d.partialScore&&h.set((0,a.Builder)().forModel(e).forCharacteristics().forCharacteristic(n).forAttribute(c).forPartialScore().build(),new o.ValidationEntry(r.ValidationLevel.WARNING,'"'.concat(i.name," attribute: Partial score is required.")));var p=u.map((function(e){return e.name}));s((0,a.Builder)().forModel(e).forCharacteristics().forCharacteristic(n).forAttribute(c).forPredicate(),d.predicate,p,h)},t.validateAttributes=function(e,n,i,o,r,a){var s=o.Attribute.filter((function(e){return void 0!==e.partialScore})).length>0;o.Attribute.forEach((function(l,c){return(0,t.validateAttribute)(e,n,i,o,s,c,l,r,a)}))};var s=function(e,t,n,a){var l;void 0!==t?t instanceof i.True||t instanceof i.False||(t instanceof i.SimpleSetPredicate||t instanceof i.SimplePredicate?0===n.filter((function(e){return e===t.field})).length&&a.set(e.forFieldName().build(),new o.ValidationEntry(r.ValidationLevel.WARNING,'"'.concat(t.field,'" cannot be found in the Mining Schema.'))):t instanceof i.CompoundPredicate&&(null===(l=t.predicates)||void 0===l||l.forEach((function(t,i){return s(e.forPredicate(i),t,n,a)})))):a.set(e.build(),new o.ValidationEntry(r.ValidationLevel.WARNING,"No predicate defined."))};t.areAttributesReasonCodesMissing=function(e){return 0===e.length||!e.every((function(e){return void 0!==e.reasonCode}))}},98636:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateCharacteristics=t.validateCharacteristic=void 0;var i=n(73495),o=n(3361),r=n(71541),a=n(66487);t.validateCharacteristic=function(e,t,n,s,l,c){!1!==t.useReasonCodes&&(void 0===s.reasonCode&&(0,i.areAttributesReasonCodesMissing)(s.Attribute)&&c.set((0,a.Builder)().forModel(e).forCharacteristics().forCharacteristic(n).forReasonCode().build(),new o.ValidationEntry(r.ValidationLevel.WARNING,"".concat(s.name,": Reason code is required"))),void 0===t.baselineScore&&void 0===s.baselineScore&&c.set((0,a.Builder)().forModel(e).forCharacteristics().forCharacteristic(n).forBaselineScore().build(),new o.ValidationEntry(r.ValidationLevel.WARNING,"".concat(s.name,": Baseline score is required")))),(0,i.validateAttributes)(e,t,n,s,l,c)},t.validateCharacteristics=function(e,n,i,o,r){i.forEach((function(i,a){return(0,t.validateCharacteristic)(e,n,a,i,o,r)}))}},60429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldConstraintsBeCleared=t.hasOnlyEmptyValues=t.hasOnlyEmptyIntervals=t.hasIntervals=t.hasValidValues=t.validateDataField=t.validateDataFields=void 0;var i=n(3361),o=n(71541),r=n(66487);t.validateDataFields=function(e,n){e.forEach((function(e,i){return(0,t.validateDataField)(e,i,n)}))},t.validateDataField=function(e,n,a){var s,l,c;null===(s=e.Interval)||void 0===s||s.forEach((function(t,s){void 0===t.leftMargin&&void 0===t.rightMargin&&a.set((0,r.Builder)().forDataDictionary().forDataField(n).forInterval(s).build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(e.name,'" data type, Interval (').concat(s+1,") must have the start and/or end value set.")))})),null===(l=e.Value)||void 0===l||l.forEach((function(t,s){""===t.value&&a.set((0,r.Builder)().forDataDictionary().forDataField(n).forValue(s).build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(e.name,'" data type, Empty Constraint Value (').concat(s+1,")")))})),"string"===e.dataType&&"ordinal"===e.optype&&((0,t.hasValidValues)(e)||a.set((0,r.Builder)().forDataDictionary().forDataField(n).forInterval().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(e.name,'" data type, Values list required for ordinal strings')))),"1"===e.isCyclic&&("ordinal"!==e.optype||(0,t.hasValidValues)(e)||a.set((0,r.Builder)().forDataDictionary().forDataField(n).forValue().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(e.name,'" data type, Values list is required for cyclic ordinal data types'))),"continuous"===e.optype&&((0,t.hasValidValues)(e)||(0,t.hasIntervals)(e)||a.set((0,r.Builder)().forDataDictionary().forDataField(n).forInterval().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(e.name,'" data type, A Value or Interval constraint is required for cyclic continuous data types'))),e.Interval&&(null===(c=e.Interval)||void 0===c?void 0:c.length)>1&&a.set((0,r.Builder)().forDataDictionary().forDataField(n).forInterval().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(e.name,'" data type, Continuous data types can have only a single interval constraint')))))},t.hasValidValues=function(e){return e.Value&&e.Value.filter((function(e){return"valid"===e.property||void 0===e.property})).length>0},t.hasIntervals=function(e){return e.Interval&&e.Interval.length>0},t.hasOnlyEmptyIntervals=function(e){var t;return null===(t=e.Interval)||void 0===t?void 0:t.every((function(e){return void 0===e.leftMargin&&void 0===e.rightMargin}))},t.hasOnlyEmptyValues=function(e){var t,n=null===(t=e.Value)||void 0===t?void 0:t.filter((function(e){return void 0===e.property||"valid"===e.property}));return null==n?void 0:n.every((function(e){return""===e.value}))},t.shouldConstraintsBeCleared=function(e,n,i,o){var r=!1;return"1"!==n||"1"===e.isCyclic||"ordinal"===e.optype&&"string"===e.dataType||!(0,t.hasOnlyEmptyIntervals)(e)&&!(0,t.hasOnlyEmptyValues)(e)||(r=!0),"1"===n||"1"===e.isCyclic||"ordinal"===e.optype&&"string"===e.dataType||"ordinal"!==o||"string"!==i||!(0,t.hasOnlyEmptyValues)(e)||(r=!0),r}},22001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInvalidValueReplacementRequired=t.isMissingValueReplacementRequired=t.areLowHighValuesRequired=t.validateMiningFieldDataFieldReference=t.validateMiningFieldsDataFieldReference=t.validateMiningField=t.validateMiningFields=void 0;var i=n(3361),o=n(71541),r=n(66487);t.validateMiningFields=function(e,n,i){n.forEach((function(n,o){return(0,t.validateMiningField)(e,o,n,i)}))},t.validateMiningField=function(e,n,a,s){var l=a.importance;void 0!==l&&(l<0||l>1)&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forImportance().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Importance must be between 0 and 1.')));var c=a.outliers,d=a.lowValue,u=a.highValue;(0,t.areLowHighValuesRequired)(c)?void 0===d&&void 0===u&&(s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forLowValue().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Low and/or High Value must be set.'))),s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forHighValue().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Low and/or High Value must be set.')))):(void 0!==d&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forLowValue().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Low Value is not needed.'))),void 0!==u&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forHighValue().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" High Value is not needed.'))));var h=a.missingValueTreatment,p=a.missingValueReplacement;(0,t.isMissingValueReplacementRequired)(h)?void 0===p&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forMissingValueReplacement().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Missing Value Replacement must be set.'))):void 0!==p&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forMissingValueReplacement().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Missing Value Replacement is not required.')));var f=a.invalidValueTreatment,g=a.invalidValueReplacement;(0,t.isInvalidValueReplacementRequired)(f)?void 0===g&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forInvalidValueReplacement().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Invalid Value Replacement must be set.'))):void 0!==g&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forInvalidValueReplacement().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" Invalid Value Replacement is not required.')))},t.validateMiningFieldsDataFieldReference=function(e,n,i,o){i.forEach((function(i,r){return(0,t.validateMiningFieldDataFieldReference)(e,n,r,i,o)}))},t.validateMiningFieldDataFieldReference=function(e,t,n,a,s){0===t.filter((function(e){return e.name===a.name})).length&&s.set((0,r.Builder)().forModel(e).forMiningSchema().forMiningField(n).forDataFieldMissing().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(a.name,'" cannot be found in the Data Dictionary.')))},t.areLowHighValuesRequired=function(e){return"asExtremeValues"===e||"asMissingValues"===e},t.isMissingValueReplacementRequired=function(e){return"asMean"===e||"asMedian"===e||"asMode"===e},t.isInvalidValueReplacementRequired=function(e){return"asValue"===e}},69561:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBaselineScore=void 0;var i=n(3361),o=n(71541),r=n(66487);t.validateBaselineScore=function(e,t,n,a,s){(void 0===t||t)&&void 0===n&&(0===a.length||a.filter((function(e){return void 0===e.baselineScore})).length>0)&&s.set((0,r.Builder)().forModel(e).forBaselineScore().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,"Baseline score is required"))}},33483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toNotifications=void 0;var i=n(71541);t.toNotifications=function(e,t){var n=function(e){switch(e){case i.ValidationLevel.ERROR:return"ERROR";case i.ValidationLevel.WARNING:return"WARNING"}};return t.map((function(t){var i;return{path:e,message:null!==(i=t.message)&&void 0!==i?i:"",type:"PROBLEM",severity:n(t.level)}}))}},41273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOutputsTargetFieldRequired=t.validateOutput=t.validateOutputs=void 0;var i=n(3361),o=n(71541),r=n(66487);t.validateOutputs=function(e,n,a,s){0===n.length&&s.set((0,r.Builder)().forModel(e).forOutput().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,"At least one Output Field is required.")),null==n||n.forEach((function(n,i){return(0,t.validateOutput)(e,n,i,a,s)}))},t.validateOutput=function(e,n,a,s,l){(0,t.isOutputsTargetFieldRequired)(s)&&void 0===n.targetField&&l.set((0,r.Builder)().forModel(e).forOutput().forOutputField(a).forTargetField().build(),new i.ValidationEntry(o.ValidationLevel.WARNING,'"'.concat(n.name,'": target field is required if Mining Schema has multiple target fields.')))},t.isOutputsTargetFieldRequired=function(e){return e.filter((function(e){return"target"===e.usageType})).length>1}},99747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidationRegistry=t.ValidationContext=void 0;var i=n(29901),o=n(3361);t.ValidationContext=i.createContext({validationRegistry:new o.ValidationRegistry}),t.useValidationRegistry=function(){return i.useContext(t.ValidationContext)}},71541:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationLevel=void 0,(n=t.ValidationLevel||(t.ValidationLevel={}))[n.WARNING=0]="WARNING",n[n.ERROR=1]="ERROR"},3361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationRegistry=t.ValidationEntry=void 0;var i=n(29298);t.ValidationEntry=function(e,t){this.level=e,this.message=t};t.ValidationRegistry=function(){var e=this;this.store=new i.ValidationStore,this.set=function(t,n){e.store.set(t,n)},this.get=function(t){return e.store.get(t)},this.clear=function(t){e.store.clear(t)}}},29298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationStore=void 0;var i=Reflect.ownKeys,o=n(39378),r=n(3361);t.ValidationStore=function(){var e=this;this.registry={},this.set=function(t,n){(0,o.set)(e.registry,t.path,n)},this.get=function(t){var n=""===t.path?e.registry:(0,o.get)(e.registry,t.path);if(void 0===n)return[];if(n instanceof r.ValidationEntry)return[n];if(void 0!==n.level)return[n];if(!(n instanceof Object))return[];var a=i(n).map((function(n){return e.get({path:e.childPath(t.path,String(n))})}));return 0===a.length?[]:a.reduce((function(e,t){return e.concat(t)}))},this.childPath=function(e,t){return""===e?t:"".concat(e,".").concat(t)},this.clear=function(t){(0,o.unset)(e.registry,t.path)}}},24820:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(60429),t),o(n(33483),t),o(n(99747),t),o(n(71541),t),o(n(29298),t),o(n(3361),t)},36122:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentType=void 0,(n=t.ContentType||(t.ContentType={})).TEXT="text",n.BINARY="binary"},57003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceContent=void 0;var i=n(36122);t.ResourceContent=function(e,t,n){this.path=e,this.content=t,this.type=n||i.ContentType.TEXT}},66036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},57040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},20814:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},26248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},24303:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourcesList=void 0;t.ResourcesList=function(e,t){this.pattern=e,this.paths=t}},19836:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SearchType=void 0,(n=t.SearchType||(t.SearchType={})).TRAVERSAL="traversal",n.ASSET_FOLDER="asset-folder"},94236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},91222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceEdit=void 0;t.WorkspaceEdit=function(e){this.id=e}},97530:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(94236),t),o(n(66036),t),o(n(98732),t),o(n(19836),t),o(n(57040),t),o(n(20814),t),o(n(91222),t),o(n(24303),t),o(n(26248),t),o(n(57003),t),o(n(36122),t)},60663:(e,t,n)=>{"use strict";function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>i})},36999:(e,t,n)=>{"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>i})},71437:(e,t,n)=>{"use strict";function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(this,arguments)}n.d(t,{Z:()=>i})},89176:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var i=n(53054);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,i.Z)(e,t)}},71268:(e,t,n)=>{"use strict";function i(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>i})},53054:(e,t,n)=>{"use strict";function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}n.d(t,{Z:()=>i})}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";var e=n(52288);n(16412).init({container:document.getElementById("envelope-app"),bus:{postMessage:(e,t,n)=>window.parent.postMessage(e,"*",n)},editorFactory:new e.PMMLEditorFactory})})()})();