|
|
(self.webpackChunk=self.webpackChunk||[]).push([[9674],{18785:function(He,$,t){"use strict";t.d($,{Z:function(){return i}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},h=b,f=t(7657),d=function(a,r){return l.createElement(f.Z,(0,c.Z)({},a,{ref:r,icon:h}))},m=l.forwardRef(d),i=m},73331:function(He,$,t){"use strict";t.d($,{Z:function(){return i}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},h=b,f=t(7657),d=function(a,r){return l.createElement(f.Z,(0,c.Z)({},a,{ref:r,icon:h}))},m=l.forwardRef(d),i=m},15277:function(He,$,t){"use strict";t.d($,{Z:function(){return i}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},h=b,f=t(7657),d=function(a,r){return l.createElement(f.Z,(0,c.Z)({},a,{ref:r,icon:h}))},m=l.forwardRef(d),i=m},33853:function(He,$,t){"use strict";t.d($,{Z:function(){return i}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},h=b,f=t(7657),d=function(a,r){return l.createElement(f.Z,(0,c.Z)({},a,{ref:r,icon:h}))},m=l.forwardRef(d),i=m},38819:function(He,$,t){"use strict";t.d($,{Z:function(){return i}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},h=b,f=t(7657),d=function(a,r){return l.createElement(f.Z,(0,c.Z)({},a,{ref:r,icon:h}))},m=l.forwardRef(d),i=m},47472:function(He,$,t){"use strict";t.d($,{Z:function(){return i}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},h=b,f=t(7657),d=function(a,r){return l.createElement(f.Z,(0,c.Z)({},a,{ref:r,icon:h}))},m=l.forwardRef(d),i=m},35593:function(He,$,t){"use strict";t.d($,{Z:function(){return pe}});var c=t(44127),l=t(72071),b=t(6620),h=t(43403),f=t(92310),d=t.n(f),m=t(29301),i=t(76846),s=t(96452),a=t(6089),r=t(80402),o=t(34280),e=t(49658),n=t(59301),u=t(96663),p=t(77900),E=t(8654);function S(T){var k=T.prefixCls,R=T.align,H=T.arrow,z=T.arrowPos,V=H||{},X=V.className,Y=V.content,ne=z.x,le=ne===void 0?0:ne,ie=z.y,fe=ie===void 0?0:ie,ye=n.useRef();if(!R||!R.points)return null;var _e={position:"absolute"};if(R.autoArrow!==!1){var ge=R.points[0],Ee=R.points[1],Pe=ge[0],De=ge[1],Re=Ee[0],Ie=Ee[1];Pe===Re||!["t","b"].includes(Pe)?_e.top=fe:Pe==="t"?_e.top=0:_e.bottom=0,De===Ie||!["l","r"].includes(De)?_e.left=le:De==="l"?_e.left=0:_e.right=0}return n.createElement("div",{ref:ye,className:d()("".concat(k,"-arrow"),X),style:_e},Y)}function w(T){var k=T.prefixCls,R=T.open,H=T.zIndex,z=T.mask,V=T.motion;return z?n.createElement(p.default,(0,u.Z)({},V,{motionAppear:!0,visible:R,removeOnLeave:!0}),function(X){var Y=X.className;return n.createElement("div",{style:{zIndex:H},className:d()("".concat(k,"-mask"),Y)})}):null}var y=n.memo(function(T){var k=T.children;return k},function(T,k){return k.cache}),A=y,_=n.forwardRef(function(T,k){var R=T.popup,H=T.className,z=T.prefixCls,V=T.style,X=T.target,Y=T.onVisibleChanged,ne=T.open,le=T.keepDom,ie=T.fresh,fe=T.onClick,ye=T.mask,_e=T.arrow,ge=T.arrowPos,Ee=T.align,Pe=T.motion,De=T.maskMotion,Re=T.forceRender,Ie=T.getPopupContainer,Oe=T.autoDestroy,Ve=T.portal,$e=T.zIndex,Ye=T.onMouseEnter,je=T.onMouseLeave,vt=T.onPointerEnter,ot=T.ready,st=T.offsetX,wt=T.offsetY,Rt=T.offsetR,rt=T.offsetB,qe=T.onAlign,nt=T.onPrepare,mt=T.stretch,Xe=T.targetWidth,bt=T.targetHeight,ut=typeof R=="function"?R():R,yt=ne||le,Mt=(Ie==null?void 0:Ie.length)>0,Ct=n.useState(!Ie||!Mt),Ht=(0,l.Z)(Ct,2),xe=Ht[0],be=Ht[1];if((0,o.Z)(function(){!xe&&Mt&&X&&be(!0)},[xe,Mt,X]),!xe)return null;var de="auto",me={left:"-1000vw",top:"-1000vh",right:de,bottom:de};if(ot||!ne){var Le,Je=Ee.points,Te=Ee.dynamicInset||((Le=Ee._experimental)===null||Le===void 0?void 0:Le.dynamicInset),Fe=Te&&Je[0][1]==="r",Be=Te&&Je[0][0]==="b";Fe?(me.right=Rt,me.left=de):(me.left=st,me.right=de),Be?(me.bottom=rt,me.top=de):(me.top=wt,me.bottom=de)}var Ge={};return mt&&(mt.includes("height")&&bt?Ge.height=bt:mt.includes("minHeight")&&bt&&(Ge.minHeight=bt),mt.includes("width")&&Xe?Ge.width=Xe:mt.includes("minWidth")&&Xe&&(Ge.minWidth=Xe)),ne||(Ge.pointerEvents="none"),n.createElement(Ve,{open:Re||yt,getContainer:Ie&&function(){return Ie(X)},autoDestroy:Oe},n.createElement(w,{prefixCls:z,open:ne,zIndex:$e,mask:ye,motion:De}),n.createElement(m.Z,{onResize:qe,disabled:!ne},function(Ke){return n.createElement(p.default,(0,u.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Re,leavedClassName:"".concat(z,"-hidden")},Pe,{onAppearPrepare:nt,onEnterPrepare:nt,visible:ne,onVisibleChanged:function(dt){var gt;Pe==null||(gt=Pe.onVisibleChanged)===null||gt===void 0||gt.call(Pe,dt),Y(dt)}}),function(Me,dt){var gt=Me.className,ke=Me.style,ft=d()(z,gt,H);return n.createElement("div",{ref:(0,E.sQ)(Ke,k,dt),className:ft,style:(0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)({"--arrow-x":"".concat(ge.x||0,"px"),"--arrow-y":"".concat(ge.y||0,"px")},me),Ge),ke),{},{boxSizing:"border-box",zIndex:$e},V),onMouseEnter:Ye,onMouseLeave:je,onPointerEnter:vt,onClick:fe},_e&&n.createElement(S,{prefixCls:z,arrow:_e,arrowPos:ge,align:Ee}),n.createElement(A,{cache:!ne&&!ie},ut))})}))}),v=_,g=n.forwardRef(function(T,k){var R=T.children,H=T.getTriggerDOMNode,z=(0,E.Yr)(R),V=n.useCallback(function(Y){(0,E.mH)(k,H?H(Y):Y)},[H]),X=(0,E.x1)(V,R.ref);return z?n.cloneElement(R,{ref:X}):R}),C=g,B=n.createContext(null),O=B;function Z(T){return T?Array.isArray(T)?T:[T]:[]}function N(T,k,R,H){return n.useMemo(function(){var z=Z(R!=null?R:k),V=Z(H!=null?H:k),X=new Set(z),Y=new Set(V);return T&&(X.has("hover")&&(X.delete("hover"),X.add("click")),Y.has("hover")&&(Y.delete("hover"),Y.add("click"))),[X,Y]},[T,k,R,H])}var W=t(29194);function L(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],R=arguments.length>2?arguments[2]:void 0;return R?T[0]===k[0]:T[0]===k[0]&&T[1]===k[1]}function F(T,k,R,H){for(var z=R.points,V=Object.keys(T),X=0;X<V.length;X+=1){var Y,ne=V[X];if(L((Y=T[ne])===null||Y===void 0?void 0:Y.points,z,H))return"".concat(k,"-placement-").concat(ne)}return""}function x(T,k,R,H){return k||(R?{motionName:"".concat(T,"-").concat(R)}:H?{motionName:H}:null)}function D(T){return T.ownerDocument.defaultView}function P(T){for(var k=[],R=T==null?void 0:T.parentElement,H=["hidden","scroll","clip","auto"];R;){var z=D(R).getComputedStyle(R),V=z.overflowX,X=z.overflowY,Y=z.overflow;[V,X,Y].some(function(ne){return H.includes(ne)})&&k.push(R),R=R.parentElement}return k}function M(T){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(T)?k:T}function I(T){return M(parseFloat(T),0)}function K(T,k){var R=(0,c.Z)({},T);return(k||[]).forEach(function(H){if(!(H instanceof HTMLBodyElement||H instanceof HTMLHtmlElement)){var z=D(H).getComputedStyle(H),V=z.overflow,X=z.overflowClipMargin,Y=z.borderTopWidth,ne=z.borderBottomWidth,le=z.borderLeftWidth,ie=z.borderRightWidth,fe=H.getBoundingClientRect(),ye=H.offsetHeight,_e=H.clientHeight,ge=H.offsetWidth,Ee=H.clientWidth,Pe=I(Y),De=I(ne),Re=I(le),Ie=I(ie),Oe=M(Math.round(fe.width/ge*1e3)/1e3),Ve=M(Math.round(fe.height/ye*1e3)/1e3),$e=(ge-Ee-Re-Ie)*Oe,Ye=(ye-_e-Pe-De)*Ve,je=Pe*Ve,vt=De*Ve,ot=Re*Oe,st=Ie*Oe,wt=0,Rt=0;if(V==="clip"){var rt=I(X);wt=rt*Oe,Rt=rt*Ve}var qe=fe.x+ot-wt,nt=fe.y+je-Rt,mt=qe+fe.width+2*wt-ot-st-$e,Xe=nt+fe.height+2*Rt-je-vt-Ye;R.left=Math.max(R.left,qe),R.top=Math.max(R.top,nt),R.right=Math.min(R.right,mt),R.bottom=Math.min(R.bottom,Xe)}}),R}function j(T){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,R="".concat(k),H=R.match(/^(.*)\%$/);return H?T*(parseFloat(H[1])/100):parseFloat(R)}function Q(T,k){var R=k||[],H=(0,l.Z)(R,2),z=H[0],V=H[1];return[j(T.width,z),j(T.height,V)]}function J(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[T[0],T[1]]}function q(T,k){var R=k[0],H=k[1],z,V;return R==="t"?V=T.y:R==="b"?V=T.y+T.height:V=T.y+T.height/2,H==="l"?z=T.x:H==="r"?z=T.x+T.width:z=T.x+T.width/2,{x:z,y:V}}function U(T,k){var R={t:"b",b:"t",l:"r",r:"l"};return T.map(function(H,z){return z===k?R[H]||"c":H}).join("")}function G(T,k,R,H,z,V,X){var Y=n.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:z[H]||{}}),ne=(0,l.Z)(Y,2),le=ne[0],ie=ne[1],fe=n.useRef(0),ye=n.useMemo(function(){return k?P(k):[]},[k]),_e=n.useRef({}),ge=function(){_e.current={}};T||ge();var Ee=(0,a.Z)(function(){if(k&&R&&T){let rr=function(Kt,mr){var gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ft,sr=ut.x+Kt,nr=ut.y+mr,Kr=sr+Le,$r=nr+me,Vr=Math.max(sr,gr.left),Qr=Math.max(nr,gr.top),Xr=Math.min(Kr,gr.right),Wr=Math.min($r,gr.bottom);return Math.max(0,(Xr-Vr)*(Wr-Qr))},Dr=function(){Zt=ut.y+We,kt=Zt+me,jt=ut.x+tt,Yt=jt+Le};var Re,Ie,Oe=k,Ve=Oe.ownerDocument,$e=D(Oe),Ye=$e.getComputedStyle(Oe),je=Ye.width,vt=Ye.height,ot=Ye.position,st=Oe.style.left,wt=Oe.style.top,Rt=Oe.style.right,rt=Oe.style.bottom,qe=Oe.style.overflow,nt=(0,c.Z)((0,c.Z)({},z[H]),V),mt=Ve.createElement("div");(Re=Oe.parentElement)===null||Re===void 0||Re.appendChild(mt),mt.style.left="".concat(Oe.offsetLeft,"px"),mt.style.top="".concat(Oe.offsetTop,"px"),mt.style.position=ot,mt.style.height="".concat(Oe.offsetHeight,"px"),mt.style.width="".concat(Oe.offsetWidth,"px"),Oe.style.left="0",Oe.style.top="0",Oe.style.right="auto",Oe.style.bottom="auto",Oe.style.overflow="hidden";var Xe;if(Array.isArray(R))Xe={x:R[0],y:R[1],width:0,height:0};else{var bt=R.getBoundingClientRect();Xe={x:bt.x,y:bt.y,width:bt.width,height:bt.height}}var ut=Oe.getBoundingClientRect(),yt=Ve.documentElement,Mt=yt.clientWidth,Ct=yt.clientHeight,Ht=yt.scrollWidth,xe=yt.scrollHeight,be=yt.scrollTop,de=yt.scrollLeft,me=ut.height,Le=ut.width,Je=Xe.height,Te=Xe.width,Fe={left:0,top:0,right:Mt,bottom:Ct},Be={left:-de,top:-be,right:Ht-de,bottom:xe-be},Ge=nt.htmlRegion,Ke="visible",Me="visibleFirst";Ge!=="scroll"&&Ge!==Me&&(Ge=Ke);var dt=Ge===Me,gt=K(Be,ye),ke=K(Fe,ye),ft=Ge===Ke?ke:gt,it=dt?ke:ft;Oe.style.left="auto",Oe.style.top="auto",Oe.style.right="0",Oe.style.bottom="0";var Jt=Oe.getBoundingClientRect();Oe.style.left=st,Oe.style.top=wt,Oe.style.right=Rt,Oe.style.bottom=rt,Oe.style.overflow=qe,(Ie=Oe.parentElement)===null||Ie===void 0||Ie.removeChild(mt);var Xt=M(Math.round(Le/parseFloat(je)*1e3)/1e3),ir=M(Math.round(me/parseFloat(vt)*1e3)/1e3);if(Xt===0||ir===0||(0,i.Sh)(R)&&!(0,W.Z)(R))return;var Ir=nt.offset,Bt=nt.targetOffset,Er=Q(ut,Ir),Tr=(0,l.Z)(Er,2),$t=Tr[0],ze=Tr[1],ee=Q(Xe,Bt),se=(0,l.Z)(ee,2),ve=se[0],Ce=se[1];Xe.x-=ve,Xe.y-=Ce;var ue=nt.points||[],Ae=(0,l.Z)(ue,2),we=Ae[0],Ue=Ae[1],et=J(Ue),Ze=J(we),xt=q(Xe,et),at=q(ut,Ze),pt=(0,c.Z)({},nt),tt=xt.x-at.x+$t,We=xt.y-at.y+ze,Et=rr(tt,We),St=rr(tt,We,ke),Dt=q(Xe,["t","l"]),_t=q(ut,["t","l"]),ht=q(Xe,["b","r"]),ct=q(ut,["b","r"]),lt=nt.overflow||{},Ot=lt.adjustX,Wt=lt.adjustY,At=lt.shiftX,or=lt.shiftY,It=function(mr){return typeof mr=="boolean"?mr:mr>=0},Zt,kt,jt,Yt;Dr();var er=It(Wt),cr=Ze[0]===et[0];if(er&&Ze[0]==="t"&&(kt>it.bottom||_e.current.bt)){var Ut=We;cr?Ut-=me-Je:Ut=Dt.y-ct.y-ze;var Qt=rr(tt,Ut),ur=rr(tt,Ut,ke);Qt>Et||Qt===Et&&(!dt||ur>=St)?(_e.current.bt=!0,We=Ut,ze=-ze,pt.points=[U(Ze,0),U(et,0)]):_e.current.bt=!1}if(er&&Ze[0]==="b"&&(Zt<it.top||_e.current.tb)){var Lt=We;cr?Lt+=me-Je:Lt=ht.y-_t.y-ze;var Cr=rr(tt,Lt),Ar=rr(tt,Lt,ke);Cr>Et||Cr===Et&&(!dt||Ar>=St)?(_e.current.tb=!0,We=Lt,ze=-ze,pt.points=[U(Ze,0),U(et,0)]):_e.current.tb=!1}var _r=It(Ot),Sr=Ze[1]===et[1];if(_r&&Ze[1]==="l"&&(Yt>it.right||_e.current.rl)){var dr=tt;Sr?dr-=Le-Te:dr=Dt.x-ct.x-$t;var qt=rr(dr,We),ar=rr(dr,We,ke);qt>Et||qt===Et&&(!dt||ar>=St)?(_e.current.rl=!0,tt=dr,$t=-$t,pt.points=[U(Ze,1),U(et,1)]):_e.current.rl=!1}if(_r&&Ze[1]==="r"&&(jt<it.left||_e.current.lr)){var hr=tt;Sr?hr+=Le-Te:hr=ht.x-_t.x-$t;var wr=rr(hr,We),vr=rr(hr,We,ke);wr>Et||wr===Et&&(!dt||vr>=St)?(_e.current.lr=!0,tt=hr,$t=-$t,pt.points=[U(Ze,1),U(et,1)]):_e.current.lr=!1}Dr();var Nt=At===!0?0:At;typeof Nt=="number"&&(jt<ke.left&&(tt-=jt-ke.left-$t,Xe.x+Te<ke.left+Nt&&(tt+=Xe.x-ke.left+Te-Nt)),Yt>ke.right&&(tt-=Yt-ke.right-$t,Xe.x>ke.right-Nt&&(tt+=Xe.x-ke.right+Nt)));var tr=or===!0?0:or;typeof tr=="number"&&(Zt<ke.top&&(We-=Zt-ke.top-ze,Xe.y+Je<ke.top+tr&&(We+=Xe.y-ke.top+Je-tr)),kt>ke.bottom&&(We-=kt-ke.bottom-ze,Xe.y>ke.bottom-tr&&(We+=Xe.y-ke.bottom+tr)));var fr=ut.x+tt,Rr=fr+Le,lr=ut.y+We,xr=lr+me,Or=Xe.x,Pr=Or+Te,Fr=Xe.y,Br=Fr+Je,zr=Math.max(fr,Or),Hr=Math.min(Rr,Pr),pr=(zr+Hr)/2,Zr=pr-fr,kr=Math.max(lr,Fr),Nr=Math.min(xr,Br),Ur=(kr+Nr)/2,Lr=Ur-lr;X==null||X(k,pt);var Mr=Jt.right-ut.x-(tt+ut.width),jr=Jt.bottom-ut.y-(We+ut.height);ie({ready:!0,offsetX:tt/Xt,offsetY:We/ir,offsetR:Mr/Xt,offsetB:jr/ir,arrowX:Zr/Xt,arrowY:Lr/ir,scaleX:Xt,scaleY:ir,align:pt})}}),Pe=function(){fe.current+=1;var Ie=fe.current;Promise.resolve().then(function(){fe.current===Ie&&Ee()})},De=function(){ie(function(Ie){return(0,c.Z)((0,c.Z)({},Ie),{},{ready:!1})})};return(0,o.Z)(De,[H]),(0,o.Z)(function(){T||De()},[T]),[le.ready,le.offsetX,le.offsetY,le.offsetR,le.offsetB,le.arrowX,le.arrowY,le.scaleX,le.scaleY,le.align,Pe]}var te=t(19127);function Se(T,k,R,H,z){(0,o.Z)(function(){if(T&&k&&R){let fe=function(){H(),z()};var V=k,X=R,Y=P(V),ne=P(X),le=D(X),ie=new Set([le].concat((0,te.Z)(Y),(0,te.Z)(ne)));return ie.forEach(function(ye){ye.addEventListener("scroll",fe,{passive:!0})}),le.addEventListener("resize",fe,{passive:!0}),H(),function(){ie.forEach(function(ye){ye.removeEventListener("scroll",fe),le.removeEventListener("resize",fe)})}}},[T,k,R])}var oe=t(48736),ae=t(16089);function he(T,k,R,H,z,V,X,Y){var ne=n.useRef(T),le=n.useRef(!1);ne.current!==T&&(le.current=!0,ne.current=T),n.useEffect(function(){var ie=(0,ae.Z)(function(){le.current=!1});return function(){ae.Z.cancel(ie)}},[T]),n.useEffect(function(){if(k&&H&&(!z||V)){var ie=function(){var ot=!1,st=function(rt){var qe=rt.target;ot=X(qe)},wt=function(rt){var qe=rt.target;!le.current&&ne.current&&!ot&&!X(qe)&&Y(!1)};return[st,wt]},fe=ie(),ye=(0,l.Z)(fe,2),_e=ye[0],ge=ye[1],Ee=ie(),Pe=(0,l.Z)(Ee,2),De=Pe[0],Re=Pe[1],Ie=D(H);Ie.addEventListener("mousedown",_e,!0),Ie.addEventListener("click",ge,!0),Ie.addEventListener("contextmenu",ge,!0);var Oe=(0,s.A)(R);if(Oe&&(Oe.addEventListener("mousedown",De,!0),Oe.addEventListener("click",Re,!0),Oe.addEventListener("contextmenu",Re,!0)),0)var Ve,$e,Ye,je;return function(){Ie.removeEventListener("mousedown",_e,!0),Ie.removeEventListener("click",ge,!0),Ie.removeEventListener("contextmenu",ge,!0),Oe&&(Oe.removeEventListener("mousedown",De,!0),Oe.removeEventListener("click",Re,!0),Oe.removeEventListener("contextmenu",Re,!0))}}},[k,R,H,z,V])}var re=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ce(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.Z,k=n.forwardRef(function(R,H){var z=R.prefixCls,V=z===void 0?"rc-trigger-popup":z,X=R.children,Y=R.action,ne=Y===void 0?"hover":Y,le=R.showAction,ie=R.hideAction,fe=R.popupVisible,ye=R.defaultPopupVisible,_e=R.onPopupVisibleChange,ge=R.afterPopupVisibleChange,Ee=R.mouseEnterDelay,Pe=R.mouseLeaveDelay,De=Pe===void 0?.1:Pe,Re=R.focusDelay,Ie=R.blurDelay,Oe=R.mask,Ve=R.maskClosable,$e=Ve===void 0?!0:Ve,Ye=R.getPopupContainer,je=R.forceRender,vt=R.autoDestroy,ot=R.destroyPopupOnHide,st=R.popup,wt=R.popupClassName,Rt=R.popupStyle,rt=R.popupPlacement,qe=R.builtinPlacements,nt=qe===void 0?{}:qe,mt=R.popupAlign,Xe=R.zIndex,bt=R.stretch,ut=R.getPopupClassNameFromAlign,yt=R.fresh,Mt=R.alignPoint,Ct=R.onPopupClick,Ht=R.onPopupAlign,xe=R.arrow,be=R.popupMotion,de=R.maskMotion,me=R.popupTransitionName,Le=R.popupAnimation,Je=R.maskTransitionName,Te=R.maskAnimation,Fe=R.className,Be=R.getTriggerDOMNode,Ge=(0,b.Z)(R,re),Ke=vt||ot||!1,Me=n.useState(!1),dt=(0,l.Z)(Me,2),gt=dt[0],ke=dt[1];(0,o.Z)(function(){ke((0,e.Z)())},[]);var ft=n.useRef({}),it=n.useContext(O),Jt=n.useMemo(function(){return{registerSubPopup:function(Qe,Ft){ft.current[Qe]=Ft,it==null||it.registerSubPopup(Qe,Ft)}}},[it]),Xt=(0,r.Z)(),ir=n.useState(null),Ir=(0,l.Z)(ir,2),Bt=Ir[0],Er=Ir[1],Tr=(0,a.Z)(function(Ne){(0,i.Sh)(Ne)&&Bt!==Ne&&Er(Ne),it==null||it.registerSubPopup(Xt,Ne)}),$t=n.useState(null),ze=(0,l.Z)($t,2),ee=ze[0],se=ze[1],ve=n.useRef(null),Ce=(0,a.Z)(function(Ne){(0,i.Sh)(Ne)&&ee!==Ne&&(se(Ne),ve.current=Ne)}),ue=n.Children.only(X),Ae=(ue==null?void 0:ue.props)||{},we={},Ue=(0,a.Z)(function(Ne){var Qe,Ft,Vt=ee;return(Vt==null?void 0:Vt.contains(Ne))||((Qe=(0,s.A)(Vt))===null||Qe===void 0?void 0:Qe.host)===Ne||Ne===Vt||(Bt==null?void 0:Bt.contains(Ne))||((Ft=(0,s.A)(Bt))===null||Ft===void 0?void 0:Ft.host)===Ne||Ne===Bt||Object.values(ft.current).some(function(Pt){return(Pt==null?void 0:Pt.contains(Ne))||Ne===Pt})}),et=x(V,be,Le,me),Ze=x(V,de,Te,Je),xt=n.useState(ye||!1),at=(0,l.Z)(xt,2),pt=at[0],tt=at[1],We=fe!=null?fe:pt,Et=(0,a.Z)(function(Ne){fe===void 0&&tt(Ne)});(0,o.Z)(function(){tt(fe||!1)},[fe]);var St=n.useRef(We);St.current=We;var Dt=n.useRef([]);Dt.current=[];var _t=(0,a.Z)(function(Ne){var Qe;Et(Ne),((Qe=Dt.current[Dt.current.length-1])!==null&&Qe!==void 0?Qe:We)!==Ne&&(Dt.current.push(Ne),_e==null||_e(Ne))}),ht=n.useRef(),ct=function(){clearTimeout(ht.current)},lt=function(Qe){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ct(),Ft===0?_t(Qe):ht.current=setTimeout(function(){_t(Qe)},Ft*1e3)};n.useEffect(function(){return ct},[]);var Ot=n.useState(!1),Wt=(0,l.Z)(Ot,2),At=Wt[0],or=Wt[1];(0,o.Z)(function(Ne){(!Ne||We)&&or(!0)},[We]);var It=n.useState(null),Zt=(0,l.Z)(It,2),kt=Zt[0],jt=Zt[1],Yt=n.useState([0,0]),er=(0,l.Z)(Yt,2),cr=er[0],Ut=er[1],Qt=function(Qe){Ut([Qe.clientX,Qe.clientY])},ur=G(We,Bt,Mt?cr:ee,rt,nt,mt,Ht),Lt=(0,l.Z)(ur,11),Cr=Lt[0],Ar=Lt[1],_r=Lt[2],Sr=Lt[3],dr=Lt[4],qt=Lt[5],ar=Lt[6],hr=Lt[7],wr=Lt[8],vr=Lt[9],Nt=Lt[10],tr=N(gt,ne,le,ie),fr=(0,l.Z)(tr,2),Rr=fr[0],lr=fr[1],xr=Rr.has("click"),Or=lr.has("click")||lr.has("contextMenu"),Pr=(0,a.Z)(function(){At||Nt()}),Fr=function(){St.current&&Mt&&Or&<(!1)};Se(We,ee,Bt,Pr,Fr),(0,o.Z)(function(){Pr()},[cr,rt]),(0,o.Z)(function(){We&&!(nt!=null&&nt[rt])&&Pr()},[JSON.stringify(mt)]);var Br=n.useMemo(function(){var Ne=F(nt,V,vr,Mt);return d()(Ne,ut==null?void 0:ut(vr))},[vr,ut,nt,V,Mt]);n.useImperativeHandle(H,function(){return{nativeElement:ve.current,forceAlign:Pr}});var zr=n.useState(0),Hr=(0,l.Z)(zr,2),pr=Hr[0],Zr=Hr[1],kr=n.useState(0),Nr=(0,l.Z)(kr,2),Ur=Nr[0],Lr=Nr[1],Mr=function(){if(bt&&ee){var Qe=ee.getBoundingClientRect();Zr(Qe.width),Lr(Qe.height)}},jr=function(){Mr(),Pr()},rr=function(Qe){or(!1),Nt(),ge==null||ge(Qe)},Dr=function(){return new Promise(function(Qe){Mr(),jt(function(){return Qe})})};(0,o.Z)(function(){kt&&(Nt(),kt(),jt(null))},[kt]);function Kt(Ne,Qe,Ft,Vt){we[Ne]=function(Pt){var Jr;Vt==null||Vt(Pt),lt(Qe,Ft);for(var qr=arguments.length,en=new Array(qr>1?qr-1:0),Yr=1;Yr<qr;Yr++)en[Yr-1]=arguments[Yr];(Jr=Ae[Ne])===null||Jr===void 0||Jr.call.apply(Jr,[Ae,Pt].concat(en))}}(xr||Or)&&(we.onClick=function(Ne){var Qe;St.current&&Or?lt(!1):!St.current&&xr&&(Qt(Ne),lt(!0));for(var Ft=arguments.length,Vt=new Array(Ft>1?Ft-1:0),Pt=1;Pt<Ft;Pt++)Vt[Pt-1]=arguments[Pt];(Qe=Ae.onClick)===null||Qe===void 0||Qe.call.apply(Qe,[Ae,Ne].concat(Vt))}),he(We,Or,ee,Bt,Oe,$e,Ue,lt);var mr=Rr.has("hover"),gr=lr.has("hover"),sr,nr;mr&&(Kt("onMouseEnter",!0,Ee,function(Ne){Qt(Ne)}),Kt("onPointerEnter",!0,Ee,function(Ne){Qt(Ne)}),sr=function(Qe){(We||At)&&Bt!==null&&Bt!==void 0&&Bt.contains(Qe.target)&<(!0,Ee)},Mt&&(we.onMouseMove=function(Ne){var Qe;(Qe=Ae.onMouseMove)===null||Qe===void 0||Qe.call(Ae,Ne)})),gr&&(Kt("onMouseLeave",!1,De),Kt("onPointerLeave",!1,De),nr=function(){lt(!1,De)}),Rr.has("focus")&&Kt("onFocus",!0,Re),lr.has("focus")&&Kt("onBlur",!1,Ie),Rr.has("contextMenu")&&(we.onContextMenu=function(Ne){var Qe;St.current&&lr.has("contextMenu")?lt(!1):(Qt(Ne),lt(!0)),Ne.preventDefault();for(var Ft=arguments.length,Vt=new Array(Ft>1?Ft-1:0),Pt=1;Pt<Ft;Pt++)Vt[Pt-1]=arguments[Pt];(Qe=Ae.onContextMenu)===null||Qe===void 0||Qe.call.apply(Qe,[Ae,Ne].concat(Vt))}),Fe&&(we.className=d()(Ae.className,Fe));var Kr=(0,c.Z)((0,c.Z)({},Ae),we),$r={},Vr=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Vr.forEach(function(Ne){Ge[Ne]&&($r[Ne]=function(){for(var Qe,Ft=arguments.length,Vt=new Array(Ft),Pt=0;Pt<Ft;Pt++)Vt[Pt]=arguments[Pt];(Qe=Kr[Ne])===null||Qe===void 0||Qe.call.apply(Qe,[Kr].concat(Vt)),Ge[Ne].apply(Ge,Vt)})});var Qr=n.cloneElement(ue,(0,c.Z)((0,c.Z)({},Kr),$r)),Xr={x:qt,y:ar},Wr=xe?(0,c.Z)({},xe!==!0?xe:{}):null;return n.createElement(n.Fragment,null,n.createElement(m.Z,{disabled:!We,ref:Ce,onResize:jr},n.createElement(C,{getTriggerDOMNode:Be},Qr)),n.createElement(O.Provider,{value:Jt},n.createElement(v,{portal:T,ref:Tr,prefixCls:V,popup:st,className:d()(wt,Br),style:Rt,target:ee,onMouseEnter:sr,onMouseLeave:nr,onPointerEnter:sr,zIndex:Xe,open:We,keepDom:At,fresh:yt,onClick:Ct,mask:Oe,motion:et,maskMotion:Ze,onVisibleChanged:rr,onPrepare:Dr,forceRender:je,autoDestroy:Ke,getPopupContainer:Ye,align:vr,arrow:Wr,arrowPos:Xr,ready:Cr,offsetX:Ar,offsetY:_r,offsetR:Sr,offsetB:dr,onAlign:Pr,stretch:bt,targetWidth:pr/hr,targetHeight:Ur/wr})))});return k}var pe=ce(h.Z)},83471:function(){"use strict"},38674:function(){"use strict"},8797:function(He,$,t){"use strict";var c=t(59301),l=t(93314),b=t(3113),h=Object.defineProperty,f=Object.defineProperties,d=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(n,u,p)=>u in n?h(n,u,{enumerable:!0,configurable:!0,writable:!0,value:p}):n[u]=p,r=(n,u)=>{for(var p in u||(u={}))i.call(u,p)&&a(n,p,u[p]);if(m)for(var p of m(u))s.call(u,p)&&a(n,p,u[p]);return n},o=(n,u)=>f(n,d(u));const e=({img:n,buttonProps:u={},styles:p={},customText:E,ButtonText:S,ButtonClick:w,Buttonclass:y,ButtonTwo:A,imgStyles:_,loading:v=!1})=>c.createElement("section",{className:"tc animated fadeIn",style:r(r({},{color:"#999",margin:"100px auto",visibility:v?"hidden":"visible"}),p)},c.createElement("img",{src:n||l,style:o(r({},_),{pointerEvents:"none",userSelect:"none"})}),c.createElement("p",{className:"mt20 font14"},E||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),S&&c.createElement(b.ZP,r({className:y,onClick:w},u),S),A&&A);$.Z=e},85057:function(He,$,t){"use strict";t.d($,{jL:function(){return f},w9:function(){return U},QD:function(){return Oe},cQ:function(){return K},op:function(){return ge},O5:function(){return Ht},_b:function(){return ot},t7:function(){return S},Gi:function(){return he},YG:function(){return oe},qp:function(){return r},vr:function(){return Ye},qE:function(){return De},Je:function(){return A},wb:function(){return x},cq:function(){return R},tp:function(){return n}});var c=t(59301),l={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYV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0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",f=({dataSource:xe=[],img:be,imgWidth:de=346,title:me,sunTitle:Le,bannerExtraContent:Je})=>c.createElement("div",{className:l.banner},c.createElement("div",{className:l.content},c.createElement("aside",null,c.createElement("p",null,c.createElement("b",null,me),c.createElement("span",null,Le)),xe.length>0&&c.createElement("div",{className:l.btns},xe.map((Te,Fe)=>c.createElement("div",{key:Fe,onClick:Te.click},Te.name,Te.sign?c.createElement("img",{src:b,width:39}):null))),Je),be&&c.createElement("img",{style:{marginTop:33,marginRight:38},src:be,width:de}))),d={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},m=t(92310),i=t.n(m),s=t(89392),r=({dataSource:xe=[],value:be,onChange:de,onTitleChange:me,className:Le,title:Je,titleWidth:Te=41,style:Fe={},fontColor:Be="#6A7283",showCount:Ge})=>{const[Ke,Me]=(0,c.useState)(0),[dt,gt]=(0,c.useState)(!1),ke=(0,c.useRef)(null),ft=(0,c.useRef)(null);return(0,c.useEffect)(()=>{var it;xe.length!==0&&(((it=ke==null?void 0:ke.current)==null?void 0:it.clientHeight)>97?Me(1):Me(0)),xe.length===0&&Me(0),gt(!1)},[xe]),c.createElement("div",{className:i()(d.row,Le),style:Fe},c.createElement("div",{onClick:(0,s.throttle)(()=>me==null?void 0:me(),2e3),style:{width:Te,marginTop:dt?12:4},className:`${d.title} ${me?"current":""}`},Je),c.createElement("div",{className:dt?`${d.tagsWrap} ${d.tagsBorderWrap}`:d.tagsWrap},c.createElement("div",{className:d.bar,ref:ft,style:Ke>0?{height:Ke===1?97:"auto",overflow:Ke===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},c.createElement("div",{className:d.tag,ref:ke},xe==null?void 0:xe.map(it=>c.createElement("span",{onClick:()=>de(it.id),key:it.id,style:{color:Be},className:be===it.id?d.active:""},c.createElement("span",{title:it.name,className:d.name},it.name),!!Ge&&c.createElement("span",{className:d.num},it.count))))),!!Ke&&c.createElement(c.Fragment,null,Ke===1?c.createElement("div",{onClick:()=>{var it;Me(2),((it=ke==null?void 0:ke.current)==null?void 0:it.clientHeight)>245?gt(!0):gt(!1)},className:d.action},"\u5C55\u5F00",c.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):c.createElement("div",{onClick:()=>{ft.current.scrollTop=0,Me(1),gt(!1)},className:d.action},"\u6536\u8D77",c.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},o={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},n=({dataSource:xe=[],value:be,onChange:de,className:me,style:Le={}})=>c.createElement("div",{style:Le,className:i()(o.tabs,me)},xe.map(Je=>c.createElement("span",{onClick:()=>de(Je.id),className:be===Je.id?o.active:"",key:Je.id},Je.name))),u={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},p=t(92832),S=({dataSource:xe=[],value:be="",onChange:de,onInputChange:me=()=>{},className:Le,style:Je={},placeholder:Te,allowClear:Fe=!1})=>{var Be;const[Ge,Ke]=(0,c.useState)(""),[Me,dt]=(0,c.useState)("");(0,c.useEffect)(()=>{var ft;let it=be;(ft=JSON.stringify(be))!=null&&ft.includes("{")&&(Ke(be.id),it=be.value||"");try{dt(decodeURIComponent(it||""))}catch(Jt){dt(decodeURIComponent(it||""))}},[be]);const gt=()=>{de(encodeURIComponent(Me),Ge||null)},ke=ft=>{ft!==Ge&&(Ke(ft),de(encodeURIComponent(Me),ft))};return c.createElement("div",{className:i()(u.input,Le),style:Je},!!xe.length&&c.createElement("div",{className:u.dropdown},c.createElement("div",{className:u.text},(Be=xe.find(ft=>ft.id===Ge))==null?void 0:Be.name,c.createElement("i",{className:"iconfont icon-zhankai4"}),c.createElement("b",{className:u.b1}),c.createElement("b",{className:u.b2})),c.createElement("div",{className:u.menu},xe.map((ft,it)=>c.createElement("div",{key:it,onClick:()=>ke(ft.id)},ft.name)))),c.createElement(p.default,{onPressEnter:gt,value:Me,onChange:ft=>{dt(ft.target.value),me(encodeURIComponent(ft.target.value),Ge||null)},bordered:!1,placeholder:Te}),c.createElement("i",{onClick:gt,className:"iconfont icon-sousuo9 font14 pl10 current"}))},w={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},A=({value:xe,onChange:be,className:de,total:me,pageSize:Le,style:Je={}})=>{const Te=xe<2,Fe=xe>=Math.ceil(me/Le);return me<=Le?c.createElement(c.Fragment,null):c.createElement("div",{className:i()(w.quickPager,de),style:Je},c.createElement("div",{onClick:()=>{Te||be(xe-1,"prev")},className:Te?w.disabled:""},"\u4E0A\u4E00\u9875"),c.createElement("div",{onClick:()=>{Fe||be(xe+1,"next")},className:Fe?w.disabled:""},"\u4E0B\u4E00\u9875"))},_={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},v=t(71418),g=t(6848),C=t(13570),B=t(3294),O=t(955),Z=t(96908),N=t(57177),W=t(81378),L=t(8797),x=({className:xe,dataSource:be=[],col:de=4,right:me,bottom:Le=23,precision:Je=0,wrapWidth:Te=1200,trackEventItems:Fe,loading:Be})=>{const Ge=Math.floor((Te-(de-1)*me)/de);return c.createElement(v.Z,{spinning:Be},c.createElement("div",{className:i()(_.list,xe)},!!be.length&&be.map((Ke,Me)=>{const{name:dt,id:gt,identifier:ke,power:ft,cover_image_id:it,pic:Jt}=Ke;return c.createElement("div",{className:_.wrap,key:gt,style:{width:Ge,marginRight:(1+Me)%de===0?0:me+Je,marginBottom:Le}},c.createElement("a",{target:"_blank",href:`/shixuns/${ke}/challenges`,className:_.li,onClick:Xt=>{Xt.preventDefault(),Fe&&(0,O.L9)([Fe]),ft&&(0,O.xg)(`/shixuns/${ke}/challenges`)}},c.createElement("div",{className:_.img},c.createElement("img",{className:_.cover,src:`${Jt}`}),Ke.is_jupyter&&c.createElement("img",{className:_.sign,src:Z}),Ke.is_jupyter_lab&&c.createElement("img",{className:_.sign,src:N}),Ke.is_unity_3d&&c.createElement("img",{className:_.sign,src:W})),c.createElement("div",{className:_.name},c.createElement(g.Z,{title:dt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},c.createElement("span",{className:_.e},dt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),c.createElement("div",{className:_.tags},c.createElement(g.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},c.createElement("span",null,c.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),c.createElement("span",null,Ke.challenges_count))),!!Ke.myshixuns_count&&c.createElement(g.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},c.createElement("span",null,c.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),c.createElement("span",null,Ke.myshixuns_count))),c.createElement(g.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},c.createElement("span",null,c.createElement("span",null,Ke.level))),c.createElement("div",{className:_.rate},c.createElement(C.Z,{allowHalf:!0,disabled:!0,defaultValue:Ke.score_info}),c.createElement("span",null,"\xA0",Ke.score_info?`${Ke.score_info}\u5206`:"5\u5206")))),!ft&&c.createElement("div",{className:_.lockWrap},c.createElement("img",{src:`${B.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),c.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!be.length&&c.createElement(L.Z,null)))},D={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},P=t(24065),M=t(59301),K=({className:xe,dataSource:be=[],col:de=4,right:me,bottom:Le=23,precision:Je=0,wrapWidth:Te=1200,trackEventItems:Fe,loading:Be,onRemove:Ge=()=>{},isCurrent:Ke=!0,showAlias:Me=!1})=>{const dt=Math.floor((Te-(de-1)*me)/de),gt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return M.createElement(v.Z,{spinning:Be},M.createElement("div",{className:i()(D.list,xe)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((ke,ft)=>{var it;const{name:Jt,id:Xt,identifier:ir,featured:Ir,school_name:Bt,image_url:Er,excellent:Tr,is_plan:$t}=ke;return M.createElement("div",{key:Xt,className:D.wrap,style:{width:dt,marginRight:(1+ft)%de===0?0:me+Je,marginBottom:Le}},M.createElement("a",{className:D.li,onClick:ze=>{ze.preventDefault(),ze.stopPropagation(),Fe&&(0,O.L9)([Fe]),(0,O.xg)(`/paths/${ir}`)}},M.createElement("div",{className:D.img},M.createElement("img",{className:D.cover,src:`${Er}`}),Ke&&(0,P.bg)()&&(ke==null?void 0:ke.studying)&&M.createElement("div",{className:`${D.movebq} user-path-items`,onClick:ze=>{ze.stopPropagation(),Ge(ke)}},M.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),M.createElement("span",{className:"c-red"},"\u79FB\u9664")),(it=ke==null?void 0:ke.subject_tags)==null?void 0:it.map((ze,ee)=>{var se,ve;if(ee===0){const ue=(se=gt.find(Ae=>Ae.name==ze))==null?void 0:se.swimg;return M.createElement("img",{className:D.sign,src:ue,style:{left:"-4px"}})}const Ce=(ve=gt.find(ue=>ue.name==ze))==null?void 0:ve.ptimg;return M.createElement("img",{className:D.sign,src:Ce,style:{left:`${48+52*(ee-1)+2*ee}px`}})}),M.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(ke==null?void 0:ke.excellent)&&M.createElement("div",{className:D.bq},"\u5F00\u653E\u8BFE\u7A0B"))),M.createElement("div",{className:D.name},M.createElement(g.Z,{title:Me&&(ke!=null&&ke.excellent_alias_name)?M.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Jt}`,M.createElement("br",null),M.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${ke==null?void 0:ke.excellent_alias_name}`)):Jt},M.createElement("span",{className:D.e},Me&&(ke==null?void 0:ke.excellent_alias_name)||Jt))),M.createElement(g.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Bt}`},M.createElement("div",{className:D.unit},M.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Bt)),M.createElement("div",{className:D.tags},M.createElement("div",null,M.createElement(g.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},M.createElement("span",null,M.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),M.createElement("span",null,ke.stages_count))),M.createElement(g.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},M.createElement("span",null,M.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),M.createElement("span",null,ke.members_count)))))))})),!be.length&&M.createElement(L.Z,null)))},j={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkb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XgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",J=t(59301),U=({className:xe,dataSource:be=[],col:de=4,right:me,bottom:Le=23,precision:Je=0,wrapWidth:Te=1200,trackEventItems:Fe,loading:Be,handleVery:Ge=()=>!0})=>{const Ke=Math.floor((Te-(de-1)*me)/de);return J.createElement(v.Z,{spinning:Be},J.createElement("div",{className:i()(j.list,xe)},!!be.length&&be.map((Me,dt)=>{const{subject_identifier:gt,id:ke,identifier:ft,power:it}=Me,Jt=Me.is_public!=0&&Me.is_public;return J.createElement("div",{className:j.wrap,key:ke,style:{width:Ke,marginRight:(1+dt)%de===0?0:me+Je,marginBottom:Le}},J.createElement("a",{className:j.li,onClick:Xt=>{Xt.preventDefault(),Ge(Me==null?void 0:Me.first_category_url)&&(Fe&&(0,O.L9)([Fe]),(0,O.xg)(Me.first_category_url))}},J.createElement("div",{className:j.top},J.createElement(g.Z,{title:Me.name},J.createElement("div",{className:j.name},Me.name)),J.createElement("img",{className:j.img,src:B.Z.IMG_SERVER+"/images/"+Me.avatar_url}),J.createElement("div",{className:j.text,title:Me.creator},Me.creator),gt&&J.createElement("div",{className:j.btns},J.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),J.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Jt&&J.createElement("div",{className:j.sign},"\u516C\u5F00")),J.createElement("div",{className:j.bottom},Me.visits>0&&J.createElement(g.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},J.createElement("span",null,J.createElement("i",{className:"iconfont icon-liulanyan"}),J.createElement("span",null,Me.visits))),Me.course_members_count>0&&J.createElement(g.Z,{title:"\u6210\u5458",placement:"bottom"},J.createElement("span",null,J.createElement("i",{className:"iconfont icon-chengyuan"}),Me.course_members_count)),Me.tasks_count>0&&J.createElement(g.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},J.createElement("span",null,J.createElement("i",{className:"iconfont icon-zuoye"}),Me.tasks_count)),Me.is_end?J.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):J.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Me.is_accessible&&J.createElement("div",{className:j.lockWrap},J.createElement("img",{src:`${B.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),J.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!be.length&&J.createElement(L.Z,null)))},G={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},te=t(89070),oe=({dataSource:xe=[],value:be,onChange:de,className:me,style:Le={},tabBarExtraContent:Je})=>c.createElement("div",{className:i()(G.tabs,me),style:Le},c.createElement("div",{className:G.tabsWrap},xe.map((Te,Fe)=>!(Te!=null&&Te.hide)&&c.createElement("aside",{className:G.tab,onClick:()=>{de(Te.id),Te.link&&te.history.push(Te.link)},key:Fe},c.createElement("div",{className:be===Te.id?G.active:""},Te.name),(Te==null?void 0:Te.resetCount)==null&&(Te==null?void 0:Te.total)!==void 0&&c.createElement("span",null,"\uFF08",Te==null?void 0:Te.total,"\uFF09"),(Te==null?void 0:Te.resetCount)!==void 0&&(Te==null?void 0:Te.total)!==void 0&&c.createElement(g.Z,{title:(Te==null?void 0:Te.tip)!=null?Te==null?void 0:Te.tip:""},c.createElement("span",{style:{color:"#9096A3"}},"\uFF08",c.createElement("span",{style:{color:"#000"}},Te==null?void 0:Te.resetCount),"/",c.createElement("span",null,Te==null?void 0:Te.total),"\uFF09"))))),c.createElement("div",{className:G.tabBar},Je)),he=({className:xe,style:be={},children:de})=>c.createElement("div",{className:i()(xe),style:be},de),re={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ce=t(38854),pe=t(20834);const T=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var R=({sortValue:xe,dropValue:be,className:de,onSort:me,onDrop:Le,dataSource:Je=T})=>{var Te;return c.createElement("div",{className:i()(re.orderWrap,de)},c.createElement(ce.Z,{dropdownRender:()=>c.createElement(pe.default,null,Je.map((Fe,Be)=>c.createElement(pe.default.Item,{key:Be,onClick:()=>Le(Fe.id)},Fe.name)))},c.createElement("span",{className:re.orderTextWrap},(Te=Je.find(Fe=>be===Fe.id))==null?void 0:Te.name)),c.createElement("span",{className:re.orderIconWrap},c.createElement("span",{className:re.orderAsc},c.createElement("i",{className:xe==="asc"?`iconfont icon-sanjiaoxing-up font12 ${re.cursorPointer} ${re.active}`:`iconfont icon-sanjiaoxing-up font12 ${re.cursorPointer}`,onClick:()=>me(xe==="asc"?"desc":"asc")})),c.createElement("span",{className:re.orderDesc},c.createElement("i",{className:xe==="desc"?`iconfont icon-sanjiaoxing-down font12 ${re.cursorPointer} ${re.active}`:`iconfont icon-sanjiaoxing-down font12 ${re.cursorPointer}`,onClick:()=>me(xe==="asc"?"desc":"asc")}))))},H={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},z=t(3113),V=Object.defineProperty,X=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,le=(xe,be,de)=>be in xe?V(xe,be,{enumerable:!0,configurable:!0,writable:!0,value:de}):xe[be]=de,ie=(xe,be)=>{for(var de in be||(be={}))Y.call(be,de)&&le(xe,de,be[de]);if(X)for(var de of X(be))ne.call(be,de)&&le(xe,de,be[de]);return xe},fe=(xe,be)=>{var de={};for(var me in xe)Y.call(xe,me)&&be.indexOf(me)<0&&(de[me]=xe[me]);if(xe!=null&&X)for(var me of X(xe))be.indexOf(me)<0&&ne.call(xe,me)&&(de[me]=xe[me]);return de},ye=(xe,be,de)=>new Promise((me,Le)=>{var Je=Be=>{try{Fe(de.next(Be))}catch(Ge){Le(Ge)}},Te=Be=>{try{Fe(de.throw(Be))}catch(Ge){Le(Ge)}},Fe=Be=>Be.done?me(Be.value):Promise.resolve(Be.value).then(Je,Te);Fe((de=de.apply(xe,be)).next())}),ge=xe=>{var be=xe,{className:de,style:me,children:Le,loading:Je=!1,openLoading:Te,onClick:Fe=()=>{},size:Be="middle",shape:Ge="round"}=be,Ke=fe(be,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Me,dt]=(0,c.useState)(!1);return c.createElement(z.ZP,ie({onClick:(0,s.throttle)(gt=>ye(void 0,null,function*(){Te&&dt(!0);try{yield Fe(gt)}catch(ke){console.log("error",ke)}Te&&dt(!1)}),2e3,{leading:!0,trailing:!1}),className:i()(H.btn,H[`${Be}-${Ge}`],de),style:me,size:Be,shape:Ge,loading:Me||Je},Ke),Le)},Ee={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},De=({className:xe,style:be,children:de=null,onClick:me,title:Le})=>c.createElement("div",{className:i()(Ee.head,xe),style:be},c.createElement("span",{className:"primary-hover",onClick:me},c.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),c.createElement("b",{title:Le},Le),c.createElement("div",{className:Ee.node},de)),Re={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Oe=({confirmShow:xe=!0,confirmTitle:be,confirmClick:de,cancelShow:me=!0,cancelTitle:Le,cancelClick:Je,className:Te,style:Fe,confirmLoading:Be=!1})=>c.createElement("div",{className:i()(Re.btns,Te),style:Fe},xe&&c.createElement(z.ZP,{loading:Be,onClick:de,type:"primary",className:Re.confirm},be),me&&c.createElement(z.ZP,{onClick:Je,className:Re.cancel},Le)),Ve={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ye=({className:xe,style:be={},LeftContent:de,children:me,RightContent:Le})=>c.createElement("div",{className:i()(Ve.fixedBottom,xe),style:be},c.createElement("div",{className:Ve.wrap},c.createElement("div",{className:Ve.left},de),c.createElement("div",{className:Ve.center},me),c.createElement("div",{className:Ve.right},Le))),je={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},ot=({className:xe,style:be={},dataSource:de=[]})=>c.createElement("div",{className:i()(je.crumbs,xe),style:be},de.map((me,Le)=>Le<de.length-1?c.createElement(c.Fragment,{key:Le},me.path||me.onClick?c.createElement("span",{className:je.hover,onClick:me!=null&&me.onClick?me.onClick:()=>te.history.push(me.path)},me.name):c.createElement("span",null,me.name),c.createElement("span",null,"\xA0",">","\xA0")):c.createElement("span",{key:Le,style:{color:"#5F6368"}},me.name))),st=t(31797),wt=Object.defineProperty,Rt=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Xe=(xe,be,de)=>be in xe?wt(xe,be,{enumerable:!0,configurable:!0,writable:!0,value:de}):xe[be]=de,bt=(xe,be)=>{for(var de in be||(be={}))nt.call(be,de)&&Xe(xe,de,be[de]);if(qe)for(var de of qe(be))mt.call(be,de)&&Xe(xe,de,be[de]);return xe},ut=(xe,be)=>Rt(xe,rt(be)),yt=(xe,be)=>{var de={};for(var me in xe)nt.call(xe,me)&&be.indexOf(me)<0&&(de[me]=xe[me]);if(xe!=null&&qe)for(var me of qe(xe))be.indexOf(me)<0&&mt.call(xe,me)&&(de[me]=xe[me]);return de};const{Countdown:Mt}=st.default;var Ht=xe=>{var be=xe,{onChange:de}=be,me=yt(be,["onChange"]);const[Le,Je]=(0,c.useState)(null);(0,c.useEffect)(()=>{typeof Le=="number"&&Le>=0&&de(Le)},[Le]);const Te=Fe=>{const Be=Math.floor(Fe/1e3);Je(Be)};return c.createElement(Mt,ut(bt({},me),{onChange:Te}))}},94282:function(He,$,t){"use strict";t.r($),t.d($,{default:function(){return q}});var c=t(59301),l=t(89070),b=t(8591),h=t(43418),f=t(24905),d=t(95237),m=t(43604),i=t(3113),s=t(38674),a=t(24334),r=t(34376),o=t(83471),e={"xterm-panel":"xterm-panel___S5eQ3"},n=t(34604),u=t(76374),p=Object.defineProperty,E=Object.defineProperties,S=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,_=(U,G,te)=>G in U?p(U,G,{enumerable:!0,configurable:!0,writable:!0,value:te}):U[G]=te,v=(U,G)=>{for(var te in G||(G={}))y.call(G,te)&&_(U,te,G[te]);if(w)for(var te of w(G))A.call(G,te)&&_(U,te,G[te]);return U},g=(U,G)=>E(U,S(G)),C=(U,G,te)=>new Promise((Se,oe)=>{var ae=ce=>{try{re(te.next(ce))}catch(pe){oe(pe)}},he=ce=>{try{re(te.throw(ce))}catch(pe){oe(pe)}},re=ce=>ce.done?Se(ce.value):Promise.resolve(ce.value).then(ae,he);re((te=te.apply(U,G)).next())});const B=3e4;var O=({itemData:U={},startInit:G})=>{const[te,Se]=(0,c.useState)(null),[oe,ae]=(0,c.useState)({}),{password:he,port:re,link_url:ce}=oe,pe=(0,c.useRef)(),T=(0,c.useRef)(),k=(0,c.useRef)(!1),{user_mirror_id:R,tab_type:H,index_tab:z}=U;(0,c.useEffect)(()=>{Y()},[]);function V(ne,le,ie){let fe=ie._core._renderService.dimensions.actualCellWidth||9.5,ye=ie._core._renderService.dimensions.actualCellHeight||18;const _e=Math.floor(le/ye);return[Math.floor(ne/fe),_e]}function X(ne,le){const ie=new u.Z(fe=>{for(let ye of fe)if(ye.target.offsetHeight>0||ye.target.offsetWidth>0){const[_e,ge]=V(ye.target.offsetWidth,ye.target.offsetHeight,ne);console.log("cols, rows",_e,ge),n.Z.publish(`ssh-xterm-resize-${z}`,{columns:_e,rows:ge,width:ye.target.offsetWidth,height:ye.target.offsetHeight}),ne.resize(_e,ge);const Ee=a.Base64.decode("IA=="),Pe=a.Base64.decode("CBtbSw==");ne.write(Ee),ne.write(Pe)}});return ie.observe(le),ie}function Y(){return C(this,null,function*(){const ne=yield G(R,H);(ne==null?void 0:ne.status)===0&&(ae(ne.data),setTimeout(()=>n.Z.publish(`create-socket-${z}`),300))})}return(0,c.useEffect)(()=>{if(pe.current&&ce){const ne=new r.Terminal({fontSize:16,rendererType:"dom"});ne.open(pe.current),ne.onData(ie=>{T.current&&T.current.readyState===1&&T.current.send(JSON.stringify({tp:"client",data:ie}))}),ne.write("Connecting..."),Se(ne);const le=X(ne,pe.current);return()=>{ne.dispose(),pe.current&&(le==null||le.unobserve(pe.current))}}},[ce,pe.current]),(0,c.useEffect)(()=>{if(te&&ce){let ne=function(){const fe=new WebSocket(ce);T.current=fe,fe.onopen=()=>{let _e=te.element.parentElement;if(_e){let ge=_e.offsetWidth,Ee=_e.offsetHeight;console.log("init",{tp:"init",data:g(v({},oe),{secret:he,width:ge,height:Ee,rows:te.rows,columns:te.cols})}),fe.send(JSON.stringify({tp:"init",data:g(v({},oe),{secret:he,width:ge,height:Ee,rows:te.rows,columns:te.cols})}))}te.focus()},fe.onerror=_e=>{console.log("------in socket error----",_e,fe,ce)},fe.onmessage=_e=>{k.current||(te.write("\r"),setTimeout(()=>{},1e3)),k.current=!0,console.log("event:",_e);const ge=a.Base64.decode(_e.data.toString());let Ee=te._core._renderService.dimensions.actualCellWidth||9.5;console.log("data:",ge,Ee,te),te.write(ge)};const ye=setInterval(()=>{var _e;T.current&&((_e=T.current)==null||_e.send(JSON.stringify({tp:"h"})))},B);fe.onclose=_e=>{ye&&clearInterval(ye),console.log(ye,"tid",z),te.write(`\r
|
|
|
connection closed`),setTimeout(()=>{ne()},1e4)}};const le=n.Z.subscribe(`create-socket-${z}`,()=>{ne()}),ie=n.Z.subscribe(`ssh-xterm-resize-${z}`,fe=>{T.current&&T.current.readyState===1&&T.current.send(JSON.stringify({tp:"resize",data:v({},fe)}))});return()=>{le(),ie(),T.current&&(T.current.close(),k.current=!1)}}},[te,ce,re]),c.createElement("div",{ref:pe,className:e["xterm-panel"]},ce?null:c.createElement("p",{style:{color:"#fff"}},"\u6B63\u5728\u8FDE\u63A5\u547D\u4EE4\u884C\u670D\u52A1..."))},Z=t(71418),N=(U,G,te)=>new Promise((Se,oe)=>{var ae=ce=>{try{re(te.next(ce))}catch(pe){oe(pe)}},he=ce=>{try{re(te.throw(ce))}catch(pe){oe(pe)}},re=ce=>ce.done?Se(ce.value):Promise.resolve(ce.value).then(ae,he);re((te=te.apply(U,G)).next())}),W=({itemData:U={},startInit:G})=>{const[te,Se]=(0,c.useState)({}),[oe,ae]=(0,c.useState)(!0),{user_mirror_id:he,tab_type:re}=U;(0,c.useEffect)(()=>{ce()},[]);const ce=()=>N(void 0,null,function*(){ae(!0);const pe=yield G(he,re);(pe==null?void 0:pe.status)===0&&Se(pe.data),ae(!1)});return c.createElement(c.Fragment,null,oe?c.createElement(Z.Z,{style:{width:"100%",marginTop:200}}):c.createElement("iframe",{style:{height:"100%",width:"100%"},frameBorder:"0",src:te==null?void 0:te.vnc_url}))},L=t(85057),F=(U,G,te)=>new Promise((Se,oe)=>{var ae=ce=>{try{re(te.next(ce))}catch(pe){oe(pe)}},he=ce=>{try{re(te.throw(ce))}catch(pe){oe(pe)}},re=ce=>ce.done?Se(ce.value):Promise.resolve(ce.value).then(ae,he);re((te=te.apply(U,G)).next())}),D=({value:U=null,onAddTime:G,goBack:te,updateTime:Se,errorCode:oe})=>{const[ae,he]=(0,c.useState)(null),[re,ce]=(0,c.useState)(null),[pe,T]=(0,c.useState)(!1),[k,R]=(0,c.useState)(!1),H=(0,c.useRef)(!0);(0,c.useEffect)(()=>{ce(Date.now()+U),typeof U=="number"&&H.current&&U<3e5&&(H.current=!1,T(!0))},[U]),(0,c.useEffect)(()=>{(ae===300||ae===180||ae===60||ae===0)&&T(!0)},[ae]),(0,c.useEffect)(()=>(window.addEventListener("visibilitychange",z),()=>{window.removeEventListener("visibilitychange",z)}),[oe]);const z=()=>F(void 0,null,function*(){var ne,le;if(document.visibilityState==="visible"&&!oe){const ie=yield Se();if((ie==null?void 0:ie.status)===0){const fe=((ne=ie==null?void 0:ie.data)==null?void 0:ne.expireTime)>0?(le=ie==null?void 0:ie.data)==null?void 0:le.expireTime:0;ce(Date.now()+fe),T(fe<=3e5),fe===0&&he(0)}}}),V=()=>F(void 0,null,function*(){R(!0),ae>0?yield G():te(),R(!1),T(!1)}),X=ne=>{he(ne)},Y=()=>{T(!1)};return c.createElement(c.Fragment,null,c.createElement(L.O5,{onChange:X,value:re,valueStyle:{color:"#FFF",fontSize:12,width:54}}),c.createElement(h.default,{title:ae!==0?"\u5B9E\u9A8C\u73AF\u5883\u5EF6\u65F6\u63D0\u9192":"\u5B9E\u9A8C\u73AF\u5883\u7ED3\u675F\u63D0\u9192",maskClosable:!1,closable:!1,centered:!0,open:pe,onOk:V,cancelButtonProps:{style:{display:ae!==0?"inline-block":"none"}},confirmLoading:k,onCancel:Y,okText:ae!==0?"\u7ACB\u5373\u5EF6\u957F":"\u9000\u51FA",cancelText:"\u4E0D\u9700\u8981"},ae!==0?`\u5F53\u524D\u5B9E\u9A8C\u73AF\u5883\u5C06\u4E8E ${Math.round(ae/60)} \u5206\u949F\u540E\u5173\u95ED\uFF0C\u9700\u8981\u5EF6\u957F\u4F7F\u7528\u65F6\u95F4\u5417\uFF1F`:"\u5B9E\u9A8C\u73AF\u5883\u5012\u8BA1\u65F6\u7ED3\u675F\uFF0C\u8D44\u6E90\u5DF2\u7ECF\u88AB\u56DE\u6536\u3002"))},P=t(3294),M={wrap:"wrap___nt3l8",header:"header___pWY1w",cutDown:"cutDown___LErwR",container:"container____IeqS",errorData:"errorData___pJ481"},I=t(99064),K=t(82838),j="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIsAAAB4CAYAAADCHwFIAAAAAXNSR0IArs4c6QAADtxJREFUeF7tXQmQFNUZ/nrO3QUEQXABWVlEAgpyKgYPbjxAjFeseEQJEFA84hFSgqYqiQcmUaOiqIgmGiPRBBLUoNwliIIgl4Ii9wqsCwLLKrsz0zMv9fX2wOwwM/RsT890z76/aqvYpd97f3/99ev3/uspACCE8ANoA6ApADf/JqXBIxABcARAuaIolURD0YnSGYCnwcMjAUiEgACwQ1GUAyRLKYDmEieJQAoEVADrSZYe8tMjiWIAga9Ilt5xF/Jz1FgSyAB8+XkJ1yrVAGribm9LIrI0k+uX/GRBmnd1AACJE5WticjSggvfNDuWl+cfAtwBhSRZ8u/BWnFHkixWoJqnfTqSLCcBaJSnn0ZO84fipnu7cM9RZDkNQH8AXEPls9CGsRHAMgD8t13EMWRpD2AEAJddkMuCHrsBzI7bgWRh2KRDOIIsJMituq0neicBurByiZxFY3vj7FmLAWywaKx0u3UEWfj5uVq/M+7z+bbxrctHoQH0UgAd9Jvjff7bJjfqCLJ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fqtZyN2QNtnJmsQbXzPYqZ5bM4umI3ZAQgrG09alAxVKkXayDzFDPewDsN3Rl3YuEoiix1Zbq0YV1TWz5GRJCnAFAO3KuAQoPPGc0fU4PPk+Eu+3IIoRoCqBjAyRJ7C3vVxRlp90wsCNZmMbBPKaGLEy/sENJ9jrPQJLFnpSUZDHyXIQQTQBop6k3YKlQFIUHg9pKbDezEB0hRAkAloWvz27IVgCnqQwz/3jE7zami6bZ1vLL/w8RFmk7sGwzsQAAAABJRU5ErkJggg==",Q=(U,G,te)=>new Promise((Se,oe)=>{var ae=ce=>{try{re(te.next(ce))}catch(pe){oe(pe)}},he=ce=>{try{re(te.throw(ce))}catch(pe){oe(pe)}},re=ce=>ce.done?Se(ce.value):Promise.resolve(ce.value).then(ae,he);re((te=te.apply(U,G)).next())});const J=({dispatch:U,user:G})=>{var te,Se;const[oe]=(0,l.useSearchParams)(),ae=(0,l.useParams)(),[he,re]=(0,c.useState)({}),[ce,pe]=(0,c.useState)(!1),[T,k]=(0,c.useState)(!0),[R,H]=(0,c.useState)([]),[z,V]=(0,c.useState)({}),[X,Y]=(0,c.useState)(null),[ne,le]=(0,c.useState)(!1);(0,c.useEffect)(()=>(U({type:"globalSetting/headerFooterToggle",payload:!1}),()=>{U({type:"globalSetting/headerFooterToggle",payload:!0})}),[]),(0,c.useEffect)(()=>{fe()},[]);const ie=(Re,Ie)=>Q(void 0,null,function*(){var Oe,Ve;k(!0);const $e=yield(0,I.ZP)(`/api/user_mirrors/${Re}/start.json`,{method:"post",body:{tab_type:Ie}});return($e==null?void 0:$e.status)===0&&(le(!!((Oe=$e==null?void 0:$e.data)!=null&&Oe.code)),Y((Ve=$e==null?void 0:$e.data)==null?void 0:Ve.remaining_time),k(!1)),$e}),fe=()=>Q(void 0,null,function*(){const Re=yield(0,I.ZP)(`/api/user_mirrors/${ae==null?void 0:ae.id}.json`,{method:"get"});(Re==null?void 0:Re.status)===0&&re(Re==null?void 0:Re.data)}),ye=()=>Q(void 0,null,function*(){return yield(0,I.ZP)(`/api/user_mirrors/${ae==null?void 0:ae.id}/check.json`,{method:"get"})}),_e=()=>Q(void 0,null,function*(){var Re;const Ie=yield(0,I.ZP)(`/api/user_mirrors/${ae==null?void 0:ae.id}/active.json`,{method:"post",body:{tab_type:z==null?void 0:z.tab_type}});(Ie==null?void 0:Ie.status)===0&&(Y((Re=Ie==null?void 0:Ie.data)==null?void 0:Re.remaining_time),b.ZP.success("\u5EF6\u957F\u6210\u529F"))}),ge=()=>{var Re;l.history.push(`/users/${(Re=G.userInfo)==null?void 0:Re.login}/experiment-img`)},Ee=()=>{let Re=!1;h.default.confirm({title:"\u9000\u51FA\u73AF\u5883",icon:null,content:c.createElement("div",null,c.createElement("div",{style:{margin:"10px auto"}},"\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u73AF\u5883\u5417\uFF1F"),c.createElement(f.default,{onChange:Ie=>Re=Ie.target.checked},"\u9000\u51FA\u73AF\u5883\u65F6\uFF0C\u7ACB\u5373\u91CA\u653E\u73AF\u5883\u8D44\u6E90")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Q(void 0,null,function*(){if(!Re){ge();return}const Ie=yield(0,I.ZP)(`/api/user_mirrors/${ae==null?void 0:ae.id}/exit_delete_pod.json`,{method:"post",body:{tab_type:z==null?void 0:z.tab_type}});(Ie==null?void 0:Ie.status)===0&&ge()})})},Pe=()=>Q(void 0,null,function*(){pe(!0);const Re=yield(0,I.ZP)(`/api/user_mirrors/${ae==null?void 0:ae.id}/save_image.json`,{method:"post",body:{tab_type:z==null?void 0:z.tab_type,operation:oe==null?void 0:oe.get("operation")}});(Re==null?void 0:Re.status)===0&&(b.ZP.success("\u4FDD\u5B58\u6210\u529F"),ge()),pe(!1)}),De=()=>c.createElement("div",{className:M.errorData},c.createElement("img",{src:j,width:139}),c.createElement("div",{className:"font14 mt20",style:{color:"#F6F7F9"}},"\u955C\u50CF\u65E0\u6CD5\u8FD0\u884C"));return c.createElement("section",{className:M.wrap},c.createElement(d.Z,{align:"middle",className:M.header},c.createElement(m.Z,null,c.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",src:`${P.Z.IMG_SERVER}/images/${(te=G==null?void 0:G.userInfo)==null?void 0:te.image_url}`,width:34,height:34,style:{borderRadius:"50%"}}),c.createElement("span",{className:"ml10"},(Se=G==null?void 0:G.userInfo)==null?void 0:Se.real_name)),c.createElement(m.Z,{flex:"1",className:"tc"},c.createElement("span",{className:"mr10 font18"},he==null?void 0:he.type_name)),c.createElement(d.Z,{align:"middle"},c.createElement("span",{className:"iconfont icon-shijian1 mr5 font14"}),c.createElement("span",{className:"font12"},"\u5B9E\u9A8C\u73AF\u5883\u5012\u8BA1\u65F6\uFF1A"),c.createElement(D,{value:X,errorCode:ne,updateTime:ye,onAddTime:_e,goBack:ge}),!!(oe!=null&&oe.get("operation"))&&(he==null?void 0:he.can_save)&&c.createElement(i.ZP,{disabled:ne||T,loading:ce,className:"ml40",onClick:Pe,type:"primary"},"\u4FDD\u5B58\u955C\u50CF"),c.createElement("span",{className:"icon-kaiguan font16 current ml30",onClick:Ee}))),c.createElement("div",{style:{background:"#111C24"}},c.createElement(K.Z,{initTabs:(he==null?void 0:he.tabs)||[],tabs:R,copyProhibited:!0,setTabs:H,value:z,onChange:Re=>V(Re)})),c.createElement("aside",{className:M.container},ne?De():R.map(Re=>c.createElement("div",{key:Re.index_tab,style:{display:Re.index_tab===z.index_tab?"block":"none",position:"relative",overflow:"hidden",height:"100%"}},Re.active&&Re.tab_type===3&&c.createElement(W,{itemData:Re,startInit:ie}),Re.active&&Re.tab_type===4&&c.createElement(O,{itemData:Re,startInit:ie})))))};var q=(0,l.connect)(({user:U,globalSetting:G})=>({globalSetting:G,user:U}))(J)},82838:function(He,$,t){"use strict";t.d($,{Z:function(){return A}});var c=t(59301),l={scrollbar:"scrollbar___lLOKh",scrollbarContent:"scrollbarContent___J5uQ6",scrollbarTrack:"scrollbarTrack___ptQqt",scrollbarThumb:"scrollbarThumb___GFuZv",item:"item___MSfbI",icon:"icon___AXhP9",dot:"dot___BA766",active:"active___Rkf93",pathActive:"pathActive___l4hB4",paths:"paths___gzBRM"},b=t(43418),h=t(38854),f=t(89392),d=t(34604),m=t(76374),i=t(955),s=t(89070),a=t(59301),r=Object.defineProperty,o=Object.defineProperties,e=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,E=(_,v,g)=>v in _?r(_,v,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[v]=g,S=(_,v)=>{for(var g in v||(v={}))u.call(v,g)&&E(_,g,v[g]);if(n)for(var g of n(v))p.call(v,g)&&E(_,g,v[g]);return _},w=(_,v)=>o(_,e(v)),A=({initTabs:_=[],tabs:v=[],setTabs:g,value:C,onChange:B,codeUpdate:O=!1,paths:Z=[],activePath:N,onChangePath:W,codeLoading:L,copyProhibited:F=!1})=>{const[x,D]=(0,c.useState)(!1),[P,M]=(0,c.useState)(!1),I=(0,c.useRef)(),K=(0,c.useRef)(),j=(0,c.useRef)(),Q=(0,c.useRef)(!1),J=(0,s.useParams)(),q=(0,s.useSelector)(oe=>{var ae;return(ae=oe==null?void 0:oe.user)==null?void 0:ae.userInfo});(0,c.useEffect)(()=>d.Z.subscribe("send-tabs-result-data",ae=>{const he=(0,f.cloneDeep)(v),re=he.findIndex(ce=>ce.index_tab===ae.index_tab);he[re].resData=ae,g(he)}),[v]),(0,c.useEffect)(()=>{const oe=new m.Z(he=>{for(let re of he){const{width:ce}=re.contentRect;U()}}),ae=new m.Z(he=>{for(let re of he){const{width:ce}=re.contentRect;U()}});return K.current&&(oe.observe(K.current),ae.observe(j.current)),()=>{oe.disconnect(),ae.disconnect()}},[]),(0,c.useEffect)(()=>{var oe;if(_.length&&!Q.current){let ae=sessionStorage.getItem("Tpilist"),he=JSON.parse(ae)||[],re=(oe=he==null?void 0:he.filter(T=>T.id===J.taskId))==null?void 0:oe[0],ce=(q==null?void 0:q.user_status)===2||(re==null?void 0:re.id)===J.taskId&&(new Date().getTime()-new Date(re==null?void 0:re.time).getTime())/1e3/3600>24;const pe=_.map((T,k)=>w(S({},T),{active:J.taskId?k===0&&![2,3,4].includes(T.tab_type)?!0:ce?!1:!!(re!=null&&re.id&&k===0):k===0,resetKey:1,resData:{}}));if(!(re!=null&&re.id)){let T={id:J.taskId,time:new Date};he.push(T),sessionStorage.setItem("Tpilist",JSON.stringify(he))}g((0,f.cloneDeep)(pe)),B(pe[0]),Q.current=!1}},[_==null?void 0:_.length]),(0,c.useEffect)(()=>{if(I.current){let oe=function(T){re=I.current.offsetLeft,ce=T.pageX,pe=!0,document.onselectstart=function(){return!1},(0,i.kk)("none")},ae=function(){pe=!1,document.onselectstart=null,(0,i.kk)("auto")},he=function(T){if(pe){const k=T.pageX-ce;let R=re+k;const H=K.current.clientWidth-I.current.clientWidth;R<=0&&(R=0),R>=H&&(R=H),I.current.style.left=`${R}px`,j.current.style.transform=`translateX(${-(R/K.current.clientWidth*j.current.clientWidth)}px)`}},re=0,ce=0,pe=!1;return I.current.addEventListener("mousedown",oe),document.addEventListener("mousemove",he),document.addEventListener("mouseup",ae),()=>{var T;(T=I.current)==null||T.removeEventListener("mousedown",oe),document==null||document.removeEventListener("mousemove",he),document==null||document.removeEventListener("mouseup",ae)}}},[I.current,C]),(0,c.useEffect)(()=>(j.current.addEventListener("wheel",G,{passive:!1}),()=>{var oe;(oe=j.current)==null||oe.removeEventListener("wheel",G,{passive:!1})}),[j.current]);const U=()=>{var oe;try{if(j.current.clientWidth>K.current.clientWidth){const ae=K.current.clientWidth/j.current.clientWidth*K.current.clientWidth,he=Number((oe=I.current.style.left)==null?void 0:oe.replace("px",""));let re=he;he+ae>=K.current.clientWidth&&(re=he-(he+ae-K.current.clientWidth)),I.current.style.width=`${ae}px`,I.current.style.left=`${re}px`,j.current.style.transform=`translateX(${-(re/K.current.clientWidth*j.current.clientWidth)}px)`,D(!0)}else I.current.style.left="0px",j.current.style.transform="translateX(0px)",D(!1)}catch(ae){}},G=oe=>{if(j.current.clientWidth<=K.current.clientWidth)return;let ae=0;navigator.userAgent.indexOf("Macintosh")!==-1?ae=oe.deltaX:oe.shiftKey?ae=oe.deltaX||oe.deltaY:ae=oe.deltaX;const re=j.current.style.transform.match(/translateX\(([-0-9.]+)px\)/);let ce=re?parseFloat(re[1]):0;ce=Math.abs(ce),ce=ce+ae,ce<=0&&(ce=0);const pe=j.current.clientWidth-K.current.clientWidth;ce>=pe&&(ce=pe);const T=ce/j.current.clientWidth*K.current.clientWidth;I.current.style.left=`${T}px`,j.current.style.transform=`translateX(${-ce}px)`,oe.preventDefault()},te=(oe,ae,he)=>{if(he.stopPropagation(),v.length===20){b.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:600,centered:!0,content:"\u5B9E\u9A8C\u754C\u9762\u7A97\u53E3\u6570\u91CF\u5DF2\u8FBE\u4E0A\u9650\uFF0820\u4E2A\uFF09\uFF0C\u4E0D\u5141\u8BB8\u518D\u590D\u5236\u7A97\u53E3\u3002"});return}const re=(0,f.cloneDeep)(v),ce=re[ae],pe=String(Math.random()).slice(-10),k=`${ce.index_tab.split("-")[0]}-${pe}`;let R=ce.name;const H=_.filter(V=>V.tab_type===4)||[];if(H.length===1){const V=H[0].name,X=re.filter(Y=>Y.tab_type===4).map(Y=>{var ne;return Number((ne=Y.name)==null?void 0:ne.split(V)[1])});X.push(1),console.log(X,"nameItems"),R=V+(Math.max(...X)+1)}const z=w(S({},ce),{name:R,active:!1,index_tab:k,isCopy:!0});re.splice(ae+1,0,z),g(re)},Se=(oe,ae,he)=>{he.stopPropagation();const re=(0,f.cloneDeep)(v);re.splice(ae,1),oe.index_tab===C.index_tab&&(re[ae-1].active=!0,B(re[ae-1])),g(re)};return a.createElement("div",{className:l.scrollbar,ref:K},a.createElement("div",{className:l.scrollbarContent,ref:j},v.map((oe,ae)=>{var he;const{index_tab:re,isCopy:ce,tab_type:pe,name:T}=oe;return a.createElement("div",{key:re,onClick:()=>{if(re===C.index_tab)return;const k=w(S({},oe),{active:!0}),R=(0,f.cloneDeep)(v);R[ae]=k,B(k),g(R)},className:C.index_tab===re?`${l.item} ${l.active}`:l.item},pe===1&&a.createElement(a.Fragment,null,a.createElement("i",{title:"\u4EE3\u7801\u7F16\u8F91\u5668",style:{color:"#3B86A0"},className:"iconfont icon-daimabianjiqi1"}),a.createElement("span",null,T),!!N&&a.createElement(h.Z,{className:l.icon,overlayClassName:l.paths,onOpenChange:k=>{M(k)},disabled:L,menu:{items:(he=(0,f.compact)(Z))==null?void 0:he.map(k=>({key:k,label:a.createElement("span",{className:N===k?l.pathActive:""},k),onClick:()=>{N!==k&&(M(!1),W(k))}}))}},a.createElement("div",null,P?a.createElement("b",{className:"iconfont icon-a-xialazhankai"}):a.createElement("b",{className:"iconfont icon-shouqi4"}))),O&&a.createElement("div",{className:l.dot})),pe===2&&a.createElement(a.Fragment,null,a.createElement("i",{style:{color:"#608B4E"},title:"VSCode\u7F16\u8F91\u5668",className:"iconfont icon-vscode"}),a.createElement("span",null,T)),pe===3&&a.createElement(a.Fragment,null,a.createElement("i",{style:{color:"#608B4E"},title:"\u56FE\u5F62\u5316\u684C\u9762",className:"iconfont icon-tuxinghuazhuomian"}),a.createElement("span",null,T)),pe===4&&a.createElement(a.Fragment,null,a.createElement("i",{style:{color:"#3B86A0"},title:"\u547D\u4EE4\u884C\u7EC8\u7AEF",className:"iconfont icon-minglinghang"}),a.createElement("span",null,T),!F&&a.createElement("aside",{title:"\u590D\u5236",onClick:k=>te(oe,ae,k),className:"iconfont icon-fuzhihuanjing font14 ml10 current"}),ce&&a.createElement("aside",{title:"\u5173\u95ED",onClick:k=>Se(oe,ae,k),className:"iconfont icon-guanbishiyanhuanjing font14 ml10 current"})),pe===5&&a.createElement(a.Fragment,null,a.createElement("i",{style:{color:"#3B86A0"},title:"\u5BB9\u5668\u5185\u670D\u52A1",className:"iconfont icon-rongqi1"}),a.createElement("span",null,T)),pe===6&&a.createElement(a.Fragment,null,a.createElement("i",{style:{color:"#3B86A0"},title:"\u865A\u62DF\u4EFF\u771F",className:"icon-xunifangzhen"}),a.createElement("span",null,T)),pe===7&&a.createElement(a.Fragment,null,a.createElement("i",{style:{color:"#3B86A0"},title:"jupyter Lab",className:"icon-jupyterLab"}),a.createElement("span",null,T)))})),a.createElement("div",{style:{display:x?"block":"none"},className:l.scrollbarTrack},a.createElement("div",{ref:I,className:l.scrollbarThumb})))}},36785:function(He,$,t){"use strict";t.d($,{o2:function(){return f},yT:function(){return d}});var c=t(19127),l=t(33166);const b=l.i.map(m=>`${m}-inverse`),h=["success","processing","error","default","warning"];function f(m){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,c.Z)(b),(0,c.Z)(l.i)).includes(m):l.i.includes(m)}function d(m){return h.includes(m)}},56762:function(He,$,t){"use strict";t.d($,{Z:function(){return l}});var c=t(59301);function l(){const[,b]=c.useReducer(h=>h+1,0);return b}},79676:function(He,$,t){"use strict";t.d($,{Z:function(){return d}});var c=t(19447);function l(m,i,s,a){if(a===!1)return{adjustX:!1,adjustY:!1};const r=a&&typeof a=="object"?a:{},o={};switch(m){case"top":case"bottom":o.shiftX=i.dropdownArrowOffset*2+s;break;case"left":case"right":o.shiftY=i.dropdownArrowOffsetVertical*2+s;break}const e=Object.assign(Object.assign({},o),r);return e.shiftX||(e.adjustX=!0),e.shiftY||(e.adjustY=!0),e}const b={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},h={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},f=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function d(m){const{arrowWidth:i,autoAdjustOverflow:s,arrowPointAtCenter:a,offset:r,borderRadius:o,visibleFirst:e}=m,n=i/2,u={};return Object.keys(b).forEach(p=>{const E=a&&h[p]||b[p],S=Object.assign(Object.assign({},E),{offset:[0,0]});switch(u[p]=S,f.has(p)&&(S.autoArrow=!1),p){case"top":case"topLeft":case"topRight":S.offset[1]=-n-r;break;case"bottom":case"bottomLeft":case"bottomRight":S.offset[1]=n+r;break;case"left":case"leftTop":case"leftBottom":S.offset[0]=-n-r;break;case"right":case"rightTop":case"rightBottom":S.offset[0]=n+r;break}const w=(0,c.fS)({contentRadius:o,limitVerticalRadius:!0});if(a)switch(p){case"topLeft":case"bottomLeft":S.offset[0]=-w.dropdownArrowOffset-n;break;case"topRight":case"bottomRight":S.offset[0]=w.dropdownArrowOffset+n;break;case"leftTop":case"rightTop":S.offset[1]=-w.dropdownArrowOffset-n;break;case"leftBottom":case"rightBottom":S.offset[1]=w.dropdownArrowOffset+n;break}S.overflow=l(p,w,i,s),e&&(S.htmlRegion="visibleFirst")}),u}},19080:function(He,$,t){"use strict";t.d($,{F:function(){return f},Z:function(){return h}});var c=t(92310),l=t.n(c);const b=null;function h(d,m,i){return l()({[`${d}-status-success`]:m==="success",[`${d}-status-warning`]:m==="warning",[`${d}-status-error`]:m==="error",[`${d}-status-validating`]:m==="validating",[`${d}-has-feedback`]:i})}const f=(d,m)=>m||d},24905:function(He,$,t){"use strict";t.d($,{default:function(){return g}});var c=t(92310),l=t.n(c),b=t(5630),h=t(59301),f=t(36355),d=t(1684),m=t(32441),s=h.createContext(null),a=t(98447),r=t(14088),o=t(4572),e=function(C,B){var O={};for(var Z in C)Object.prototype.hasOwnProperty.call(C,Z)&&B.indexOf(Z)<0&&(O[Z]=C[Z]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,Z=Object.getOwnPropertySymbols(C);N<Z.length;N++)B.indexOf(Z[N])<0&&Object.prototype.propertyIsEnumerable.call(C,Z[N])&&(O[Z[N]]=C[Z[N]]);return O};const n=(C,B)=>{var O;const{prefixCls:Z,className:N,rootClassName:W,children:L,indeterminate:F=!1,style:x,onMouseEnter:D,onMouseLeave:P,skipGroup:M=!1,disabled:I}=C,K=e(C,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:j,direction:Q,checkbox:J}=h.useContext(f.E_),q=h.useContext(s),{isFormItemInput:U}=h.useContext(m.aM),G=h.useContext(d.Z),te=(O=(q==null?void 0:q.disabled)||I)!==null&&O!==void 0?O:G,Se=h.useRef(K.value);h.useEffect(()=>{q==null||q.registerValue(K.value)},[]),h.useEffect(()=>{if(!M)return K.value!==Se.current&&(q==null||q.cancelValue(Se.current),q==null||q.registerValue(K.value),Se.current=K.value),()=>q==null?void 0:q.cancelValue(K.value)},[K.value]);const oe=j("checkbox",Z),[ae,he]=(0,a.ZP)(oe),re=Object.assign({},K);q&&!M&&(re.onChange=function(){K.onChange&&K.onChange.apply(K,arguments),q.toggleOption&&q.toggleOption({label:L,value:K.value})},re.name=q.name,re.checked=q.value.includes(K.value));const ce=l()(`${oe}-wrapper`,{[`${oe}-rtl`]:Q==="rtl",[`${oe}-wrapper-checked`]:re.checked,[`${oe}-wrapper-disabled`]:te,[`${oe}-wrapper-in-form-item`]:U},J==null?void 0:J.className,N,W,he),pe=l()({[`${oe}-indeterminate`]:F},o.A,he),T=F?"mixed":void 0;return ae(h.createElement(r.Z,{component:"Checkbox",disabled:te},h.createElement("label",{className:ce,style:Object.assign(Object.assign({},J==null?void 0:J.style),x),onMouseEnter:D,onMouseLeave:P},h.createElement(b.Z,Object.assign({"aria-checked":T},re,{prefixCls:oe,className:pe,disabled:te,ref:B})),L!==void 0&&h.createElement("span",null,L))))};var p=h.forwardRef(n),E=t(19127),S=t(2738),w=function(C,B){var O={};for(var Z in C)Object.prototype.hasOwnProperty.call(C,Z)&&B.indexOf(Z)<0&&(O[Z]=C[Z]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,Z=Object.getOwnPropertySymbols(C);N<Z.length;N++)B.indexOf(Z[N])<0&&Object.prototype.propertyIsEnumerable.call(C,Z[N])&&(O[Z[N]]=C[Z[N]]);return O};const y=(C,B)=>{const{defaultValue:O,children:Z,options:N=[],prefixCls:W,className:L,rootClassName:F,style:x,onChange:D}=C,P=w(C,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:M,direction:I}=h.useContext(f.E_),[K,j]=h.useState(P.value||O||[]),[Q,J]=h.useState([]);h.useEffect(()=>{"value"in P&&j(P.value||[])},[P.value]);const q=h.useMemo(()=>N.map(k=>typeof k=="string"||typeof k=="number"?{label:k,value:k}:k),[N]),U=k=>{J(R=>R.filter(H=>H!==k))},G=k=>{J(R=>[].concat((0,E.Z)(R),[k]))},te=k=>{const R=K.indexOf(k.value),H=(0,E.Z)(K);R===-1?H.push(k.value):H.splice(R,1),"value"in P||j(H),D==null||D(H.filter(z=>Q.includes(z)).sort((z,V)=>{const X=q.findIndex(ne=>ne.value===z),Y=q.findIndex(ne=>ne.value===V);return X-Y}))},Se=M("checkbox",W),oe=`${Se}-group`,[ae,he]=(0,a.ZP)(Se),re=(0,S.Z)(P,["value","disabled"]),ce=N.length?q.map(k=>h.createElement(p,{prefixCls:Se,key:k.value.toString(),disabled:"disabled"in k?k.disabled:P.disabled,value:k.value,checked:K.includes(k.value),onChange:k.onChange,className:`${oe}-item`,style:k.style,title:k.title},k.label)):Z,pe={toggleOption:te,value:K,disabled:P.disabled,name:P.name,registerValue:G,cancelValue:U},T=l()(oe,{[`${oe}-rtl`]:I==="rtl"},L,F,he);return ae(h.createElement("div",Object.assign({className:T,style:x},re,{ref:B}),h.createElement(s.Provider,{value:pe},ce)))},A=h.forwardRef(y);var _=h.memo(A);const v=p;v.Group=_,v.__ANT_CHECKBOX=!0;var g=v},98447:function(He,$,t){"use strict";t.d($,{C2:function(){return f}});var c=t(17313),l=t(37613),b=t(83116);const h=d=>{const{checkboxCls:m}=d,i=`${m}-wrapper`;return[{[`${m}-group`]:Object.assign(Object.assign({},(0,c.Wf)(d)),{display:"inline-flex",flexWrap:"wrap",columnGap:d.marginXS,[`> ${d.antCls}-row`]:{flex:1}}),[i]:Object.assign(Object.assign({},(0,c.Wf)(d)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${i}`]:{marginInlineStart:0},[`&${i}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[m]:Object.assign(Object.assign({},(0,c.Wf)(d)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:d.borderRadiusSM,alignSelf:"center",[`${m}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${m}-inner`]:Object.assign({},(0,c.oN)(d))},[`${m}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:d.checkboxSize,height:d.checkboxSize,direction:"ltr",backgroundColor:d.colorBgContainer,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadiusSM,borderCollapse:"separate",transition:`all ${d.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:d.checkboxSize/14*5,height:d.checkboxSize/14*8,border:`${d.lineWidthBold}px solid ${d.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${d.motionDurationFast} ${d.motionEaseInBack}, opacity ${d.motionDurationFast}`}},"& + span":{paddingInlineStart:d.paddingXS,paddingInlineEnd:d.paddingXS}})},{[`
|
|
|
${i}:not(${i}-disabled),
|
|
|
${m}:not(${m}-disabled)
|
|
|
`]:{[`&:hover ${m}-inner`]:{borderColor:d.colorPrimary}},[`${i}:not(${i}-disabled)`]:{[`&:hover ${m}-checked:not(${m}-disabled) ${m}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${m}-checked:not(${m}-disabled):after`]:{borderColor:d.colorPrimaryHover}}},{[`${m}-checked`]:{[`${m}-inner`]:{backgroundColor:d.colorPrimary,borderColor:d.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${d.motionDurationMid} ${d.motionEaseOutBack} ${d.motionDurationFast}`}}},[`
|
|
|
${i}-checked:not(${i}-disabled),
|
|
|
${m}-checked:not(${m}-disabled)
|
|
|
`]:{[`&:hover ${m}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"}}},{[m]:{"&-indeterminate":{[`${m}-inner`]:{backgroundColor:d.colorBgContainer,borderColor:d.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:d.fontSizeLG/2,height:d.fontSizeLG/2,backgroundColor:d.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${i}-disabled`]:{cursor:"not-allowed"},[`${m}-disabled`]:{[`&, ${m}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${m}-inner`]:{background:d.colorBgContainerDisabled,borderColor:d.colorBorder,"&:after":{borderColor:d.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:d.colorTextDisabled},[`&${m}-indeterminate ${m}-inner::after`]:{background:d.colorTextDisabled}}}]};function f(d,m){const i=(0,l.TS)(m,{checkboxCls:`.${d}`,checkboxSize:m.controlInteractiveSize});return[h(i)]}$.ZP=(0,b.Z)("Checkbox",(d,m)=>{let{prefixCls:i}=m;return[f(i,d)]})},91857:function(He,$,t){"use strict";var c=t(59301),l=t(38819),b=t(92310),h=t.n(b),f=t(31561),d=t(70425),m=t(18929),i=t(2738),s=t(79676),a=t(53487),r=t(92343),o=t(36355),e=t(20834),n=t(40875),u=t(88088),p=t(47211);const E=null,S=_=>{const{menu:v,arrow:g,prefixCls:C,children:B,trigger:O,disabled:Z,dropdownRender:N,getPopupContainer:W,overlayClassName:L,rootClassName:F,open:x,onOpenChange:D,visible:P,onVisibleChange:M,mouseEnterDelay:I=.15,mouseLeaveDelay:K=.1,autoAdjustOverflow:j=!0,placement:Q="",overlay:J,transitionName:q}=_,{getPopupContainer:U,getPrefixCls:G,direction:te}=c.useContext(o.E_),Se=c.useMemo(()=>{const ie=G();return q!==void 0?q:Q.includes("top")?`${ie}-slide-down`:`${ie}-slide-up`},[G,Q,q]),oe=c.useMemo(()=>Q?Q.includes("Center")?Q.slice(0,Q.indexOf("Center")):Q:te==="rtl"?"bottomRight":"bottomLeft",[Q,te]),ae=G("dropdown",C),[he,re]=(0,p.Z)(ae),[,ce]=(0,u.Z)(),pe=c.Children.only(B),T=(0,r.Tm)(pe,{className:h()(`${ae}-trigger`,{[`${ae}-rtl`]:te==="rtl"},pe.props.className),disabled:Z}),k=Z?[]:O;let R;k&&k.includes("contextMenu")&&(R=!0);const[H,z]=(0,m.Z)(!1,{value:x!=null?x:P}),V=(0,d.useEvent)(ie=>{D==null||D(ie),M==null||M(ie),z(ie)}),X=h()(L,F,re,{[`${ae}-rtl`]:te==="rtl"}),Y=(0,s.Z)({arrowPointAtCenter:typeof g=="object"&&g.pointAtCenter,autoAdjustOverflow:j,offset:ce.marginXXS,arrowWidth:g?ce.sizePopupArrow:0,borderRadius:ce.borderRadius}),ne=c.useCallback(()=>{z(!1)},[]),le=()=>{let ie;return v!=null&&v.items?ie=c.createElement(e.default,Object.assign({},v)):typeof J=="function"?ie=J():ie=J,N&&(ie=N(ie)),ie=c.Children.only(typeof ie=="string"?c.createElement("span",null,ie):ie),c.createElement(n.J,{prefixCls:`${ae}-menu`,expandIcon:c.createElement("span",{className:`${ae}-menu-submenu-arrow`},c.createElement(l.Z,{className:`${ae}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ne,validator:fe=>{let{mode:ye}=fe}},ie)};return he(c.createElement(f.Z,Object.assign({alignPoint:R},(0,i.Z)(_,["rootClassName"]),{mouseEnterDelay:I,mouseLeaveDelay:K,visible:H,builtinPlacements:Y,arrow:!!g,overlayClassName:X,prefixCls:ae,getPopupContainer:W||U,transitionName:Se,trigger:k,overlay:le,placement:oe,onVisibleChange:V}),T))};function w(_){return Object.assign(Object.assign({},_),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const y=(0,a.Z)(S,"dropdown",_=>_,w),A=_=>c.createElement(y,Object.assign({},_),c.createElement("span",null));S._InternalPanelDoNotUseOrYouWillBeFired=A,$.Z=S},38854:function(He,$,t){"use strict";t.d($,{Z:function(){return u}});var c=t(91857),l=t(92310),b=t.n(l),h=t(59301),f=t(18785),d=t(3113),m=t(36355),i=t(81327),s=t(33234),a=t(47211),r=function(p,E){var S={};for(var w in p)Object.prototype.hasOwnProperty.call(p,w)&&E.indexOf(w)<0&&(S[w]=p[w]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,w=Object.getOwnPropertySymbols(p);y<w.length;y++)E.indexOf(w[y])<0&&Object.prototype.propertyIsEnumerable.call(p,w[y])&&(S[w[y]]=p[w[y]]);return S};const o=p=>{const{getPopupContainer:E,getPrefixCls:S,direction:w}=h.useContext(m.E_),{prefixCls:y,type:A="default",danger:_,disabled:v,loading:g,onClick:C,htmlType:B,children:O,className:Z,menu:N,arrow:W,autoFocus:L,overlay:F,trigger:x,align:D,open:P,onOpenChange:M,placement:I,getPopupContainer:K,href:j,icon:Q=h.createElement(f.Z,null),title:J,buttonsRender:q=le=>le,mouseEnterDelay:U,mouseLeaveDelay:G,overlayClassName:te,overlayStyle:Se,destroyPopupOnHide:oe,dropdownRender:ae}=p,he=r(p,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),re=S("dropdown",y),ce=`${re}-button`,[pe,T]=(0,a.Z)(re),k={menu:N,arrow:W,autoFocus:L,align:D,disabled:v,trigger:v?[]:x,onOpenChange:M,getPopupContainer:K||E,mouseEnterDelay:U,mouseLeaveDelay:G,overlayClassName:te,overlayStyle:Se,destroyPopupOnHide:oe,dropdownRender:ae},{compactSize:R,compactItemClassnames:H}=(0,s.ri)(re,w),z=b()(ce,H,Z,T);"overlay"in p&&(k.overlay=F),"open"in p&&(k.open=P),"placement"in p?k.placement=I:k.placement=w==="rtl"?"bottomLeft":"bottomRight";const V=h.createElement(d.ZP,{type:A,danger:_,disabled:v,loading:g,onClick:C,htmlType:B,href:j,title:J},O),X=h.createElement(d.ZP,{type:A,danger:_,icon:Q}),[Y,ne]=q([V,X]);return pe(h.createElement(i.Z.Compact,Object.assign({className:z,size:R,block:!0},he),Y,h.createElement(c.Z,Object.assign({},k),ne)))};o.__ANT_BUTTON=!0;var e=o;const n=c.Z;n.Button=e;var u=n},47211:function(He,$,t){"use strict";t.d($,{Z:function(){return r}});var c=t(17313),l=t(13826),b=t(92899),h=t(29878),f=t(19447),d=t(83116),m=t(37613),s=o=>{const{componentCls:e,menuCls:n,colorError:u,colorTextLightSolid:p}=o,E=`${n}-item`;return{[`${e}, ${e}-menu-submenu`]:{[`${n} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:u,"&:hover":{color:p,backgroundColor:u}}}}}};const a=o=>{const{componentCls:e,menuCls:n,zIndexPopup:u,dropdownArrowDistance:p,sizePopupArrow:E,antCls:S,iconCls:w,motionDurationMid:y,dropdownPaddingVertical:A,fontSize:_,dropdownEdgeChildPadding:v,colorTextDisabled:g,fontSizeIcon:C,controlPaddingHorizontal:B,colorBgElevated:O}=o;return[{[e]:Object.assign(Object.assign({},(0,c.Wf)(o)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:u,display:"block","&::before":{position:"absolute",insetBlock:-p+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${S}-btn`]:{[`& > ${w}-down, & > ${S}-btn-icon > ${w}-down`]:{fontSize:C}},[`${e}-wrap`]:{position:"relative",[`${S}-btn > ${w}-down`]:{fontSize:C},[`${w}-down::before`]:{transition:`transform ${y}`}},[`${e}-wrap-open`]:{[`${w}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${S}-slide-down-enter${S}-slide-down-enter-active${e}-placement-bottomLeft,
|
|
|
&${S}-slide-down-appear${S}-slide-down-appear-active${e}-placement-bottomLeft,
|
|
|
&${S}-slide-down-enter${S}-slide-down-enter-active${e}-placement-bottom,
|
|
|
&${S}-slide-down-appear${S}-slide-down-appear-active${e}-placement-bottom,
|
|
|
&${S}-slide-down-enter${S}-slide-down-enter-active${e}-placement-bottomRight,
|
|
|
&${S}-slide-down-appear${S}-slide-down-appear-active${e}-placement-bottomRight`]:{animationName:l.fJ},[`&${S}-slide-up-enter${S}-slide-up-enter-active${e}-placement-topLeft,
|
|
|
&${S}-slide-up-appear${S}-slide-up-appear-active${e}-placement-topLeft,
|
|
|
&${S}-slide-up-enter${S}-slide-up-enter-active${e}-placement-top,
|
|
|
&${S}-slide-up-appear${S}-slide-up-appear-active${e}-placement-top,
|
|
|
&${S}-slide-up-enter${S}-slide-up-enter-active${e}-placement-topRight,
|
|
|
&${S}-slide-up-appear${S}-slide-up-appear-active${e}-placement-topRight`]:{animationName:l.Qt},[`&${S}-slide-down-leave${S}-slide-down-leave-active${e}-placement-bottomLeft,
|
|
|
&${S}-slide-down-leave${S}-slide-down-leave-active${e}-placement-bottom,
|
|
|
&${S}-slide-down-leave${S}-slide-down-leave-active${e}-placement-bottomRight`]:{animationName:l.Uw},[`&${S}-slide-up-leave${S}-slide-up-leave-active${e}-placement-topLeft,
|
|
|
&${S}-slide-up-leave${S}-slide-up-leave-active${e}-placement-top,
|
|
|
&${S}-slide-up-leave${S}-slide-up-leave-active${e}-placement-topRight`]:{animationName:l.ly}})},(0,f.ZP)(o,{colorBg:O,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${e} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:u,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${e}, ${e}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:v,listStyleType:"none",backgroundColor:O,backgroundClip:"padding-box",borderRadius:o.borderRadiusLG,outline:"none",boxShadow:o.boxShadowSecondary},(0,c.Qy)(o)),{[`${n}-item-group-title`]:{padding:`${A}px ${B}px`,color:o.colorTextDescription,transition:`all ${y}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:_,marginInlineEnd:o.marginXS,fontSize:o.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${y}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${A}px ${B}px`,color:o.colorText,fontWeight:"normal",fontSize:_,lineHeight:o.lineHeight,cursor:"pointer",transition:`all ${y}`,borderRadius:o.borderRadiusSM,"&:hover, &-active":{backgroundColor:o.controlItemBgHover}},(0,c.Qy)(o)),{"&-selected":{color:o.colorPrimary,backgroundColor:o.controlItemBgActive,"&:hover, &-active":{backgroundColor:o.controlItemBgActiveHover}},"&-disabled":{color:g,cursor:"not-allowed","&:hover":{color:g,backgroundColor:O,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${o.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:o.colorSplit},[`${e}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:o.paddingXS,[`${e}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:o.colorTextDescription,fontSize:C,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${o.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:B+o.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${e}-menu-submenu-title`]:{[`&, ${e}-menu-submenu-arrow-icon`]:{color:g,backgroundColor:O,cursor:"not-allowed"}},[`${n}-submenu-selected ${e}-menu-submenu-title`]:{color:o.colorPrimary}})}},[(0,l.oN)(o,"slide-up"),(0,l.oN)(o,"slide-down"),(0,b.Fm)(o,"move-up"),(0,b.Fm)(o,"move-down"),(0,h._y)(o,"zoom-big")]]};var r=(0,d.Z)("Dropdown",(o,e)=>{let{rootPrefixCls:n}=e;const{marginXXS:u,sizePopupArrow:p,controlHeight:E,fontSize:S,lineHeight:w,paddingXXS:y,componentCls:A,borderRadiusLG:_}=o,v=(E-S*w)/2,{dropdownArrowOffset:g}=(0,f.fS)({contentRadius:_}),C=(0,m.TS)(o,{menuCls:`${A}-menu`,rootPrefixCls:n,dropdownArrowDistance:p/2+u,dropdownArrowOffset:g,dropdownPaddingVertical:v,dropdownEdgeChildPadding:y});return[a(C),s(C)]},o=>({zIndexPopup:o.zIndexPopupBase+50}))},9432:function(He,$,t){"use strict";t.d($,{Z:function(){return w},n:function(){return E}});var c=t(19248),l=t(92310),b=t.n(l),h=t(93681),f=t(8654),d=t(59301),m=t(19080),i=t(36355),s=t(1684),a=t(19716),r=t(32441),o=t(33234),e=t(59412),n=t(9937);function u(y){return!!(y.prefix||y.suffix||y.allowClear)}var p=function(y,A){var _={};for(var v in y)Object.prototype.hasOwnProperty.call(y,v)&&A.indexOf(v)<0&&(_[v]=y[v]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,v=Object.getOwnPropertySymbols(y);g<v.length;g++)A.indexOf(v[g])<0&&Object.prototype.propertyIsEnumerable.call(y,v[g])&&(_[v[g]]=y[v[g]]);return _};function E(y,A){if(!y)return;y.focus(A);const{cursor:_}=A||{};if(_){const v=y.value.length;switch(_){case"start":y.setSelectionRange(0,0);break;case"end":y.setSelectionRange(v,v);break;default:y.setSelectionRange(0,v);break}}}var w=(0,d.forwardRef)((y,A)=>{var _;const{prefixCls:v,bordered:g=!0,status:C,size:B,disabled:O,onBlur:Z,onFocus:N,suffix:W,allowClear:L,addonAfter:F,addonBefore:x,className:D,style:P,styles:M,rootClassName:I,onChange:K,classNames:j}=y,Q=p(y,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:J,direction:q,input:U}=d.useContext(i.E_),G=J("input",v),te=(0,d.useRef)(null),[Se,oe]=(0,n.ZP)(G),{compactSize:ae,compactItemClassnames:he}=(0,o.ri)(G,q),re=(0,a.Z)(ye=>{var _e;return(_e=B!=null?B:ae)!==null&&_e!==void 0?_e:ye}),ce=d.useContext(s.Z),pe=O!=null?O:ce,{status:T,hasFeedback:k,feedbackIcon:R}=(0,d.useContext)(r.aM),H=(0,m.F)(T,C),z=u(y)||!!k,V=(0,d.useRef)(z);(0,d.useEffect)(()=>{var ye;z&&V.current,V.current=z},[z]);const X=(0,e.Z)(te,!0),Y=ye=>{X(),Z==null||Z(ye)},ne=ye=>{X(),N==null||N(ye)},le=ye=>{X(),K==null||K(ye)},ie=(k||W)&&d.createElement(d.Fragment,null,W,k&&R);let fe;return typeof L=="object"&&(L!=null&&L.clearIcon)?fe=L:L&&(fe={clearIcon:d.createElement(c.Z,null)}),Se(d.createElement(h.default,Object.assign({ref:(0,f.sQ)(A,te),prefixCls:G,autoComplete:U==null?void 0:U.autoComplete},Q,{disabled:pe,onBlur:Y,onFocus:ne,style:Object.assign(Object.assign({},U==null?void 0:U.style),P),styles:Object.assign(Object.assign({},U==null?void 0:U.styles),M),suffix:ie,allowClear:fe,className:b()(D,I,he,U==null?void 0:U.className),onChange:le,addonAfter:F&&d.createElement(o.BR,null,d.createElement(r.Ux,{override:!0,status:!0},F)),addonBefore:x&&d.createElement(o.BR,null,d.createElement(r.Ux,{override:!0,status:!0},x)),classNames:Object.assign(Object.assign(Object.assign({},j),U==null?void 0:U.classNames),{input:b()({[`${G}-sm`]:re==="small",[`${G}-lg`]:re==="large",[`${G}-rtl`]:q==="rtl",[`${G}-borderless`]:!g},!z&&(0,m.Z)(G,H),j==null?void 0:j.input,(_=U==null?void 0:U.classNames)===null||_===void 0?void 0:_.input,oe)}),classes:{affixWrapper:b()({[`${G}-affix-wrapper-sm`]:re==="small",[`${G}-affix-wrapper-lg`]:re==="large",[`${G}-affix-wrapper-rtl`]:q==="rtl",[`${G}-affix-wrapper-borderless`]:!g},(0,m.Z)(`${G}-affix-wrapper`,H,k),oe),wrapper:b()({[`${G}-group-rtl`]:q==="rtl"},oe),group:b()({[`${G}-group-wrapper-sm`]:re==="small",[`${G}-group-wrapper-lg`]:re==="large",[`${G}-group-wrapper-rtl`]:q==="rtl",[`${G}-group-wrapper-disabled`]:pe},(0,m.Z)(`${G}-group-wrapper`,H,k),oe)}})))})},1643:function(He,$,t){"use strict";var c=t(19248),l=t(92310),b=t.n(l),h=t(9296),f=t(59301),d=t(19080),m=t(36355),i=t(1684),s=t(19716),a=t(32441),r=t(9432),o=t(9937),e=function(u,p){var E={};for(var S in u)Object.prototype.hasOwnProperty.call(u,S)&&p.indexOf(S)<0&&(E[S]=u[S]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(u);w<S.length;w++)p.indexOf(S[w])<0&&Object.prototype.propertyIsEnumerable.call(u,S[w])&&(E[S[w]]=u[S[w]]);return E};const n=(0,f.forwardRef)((u,p)=>{const{prefixCls:E,bordered:S=!0,size:w,disabled:y,status:A,allowClear:_,showCount:v,classNames:g,rootClassName:C,className:B}=u,O=e(u,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Z,direction:N}=f.useContext(m.E_),W=(0,s.Z)(w),L=f.useContext(i.Z),F=y!=null?y:L,{status:x,hasFeedback:D,feedbackIcon:P}=f.useContext(a.aM),M=(0,d.F)(x,A),I=f.useRef(null);f.useImperativeHandle(p,()=>{var q;return{resizableTextArea:(q=I.current)===null||q===void 0?void 0:q.resizableTextArea,focus:U=>{var G,te;(0,r.n)((te=(G=I.current)===null||G===void 0?void 0:G.resizableTextArea)===null||te===void 0?void 0:te.textArea,U)},blur:()=>{var U;return(U=I.current)===null||U===void 0?void 0:U.blur()}}});const K=Z("input",E);let j;typeof _=="object"&&(_!=null&&_.clearIcon)?j=_:_&&(j={clearIcon:f.createElement(c.Z,null)});const[Q,J]=(0,o.ZP)(K);return Q(f.createElement(h.default,Object.assign({},O,{disabled:F,allowClear:j,className:b()(B,C),classes:{affixWrapper:b()(`${K}-textarea-affix-wrapper`,{[`${K}-affix-wrapper-rtl`]:N==="rtl",[`${K}-affix-wrapper-borderless`]:!S,[`${K}-affix-wrapper-sm`]:W==="small",[`${K}-affix-wrapper-lg`]:W==="large",[`${K}-textarea-show-count`]:v},(0,d.Z)(`${K}-affix-wrapper`,M),J)},classNames:Object.assign(Object.assign({},g),{textarea:b()({[`${K}-borderless`]:!S,[`${K}-sm`]:W==="small",[`${K}-lg`]:W==="large"},(0,d.Z)(K,M),J,g==null?void 0:g.textarea)}),prefixCls:K,suffix:D&&f.createElement("span",{className:`${K}-textarea-suffix`},P),showCount:v,ref:I})))});$.Z=n},59412:function(He,$,t){"use strict";t.d($,{Z:function(){return l}});var c=t(59301);function l(b,h){const f=(0,c.useRef)([]),d=()=>{f.current.push(setTimeout(()=>{var m,i,s,a;!((m=b.current)===null||m===void 0)&&m.input&&((i=b.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((s=b.current)===null||s===void 0)&&s.input.hasAttribute("value"))&&((a=b.current)===null||a===void 0||a.input.removeAttribute("value"))}))};return(0,c.useEffect)(()=>(h&&d(),()=>f.current.forEach(m=>{m&&clearTimeout(m)})),[]),d}},92832:function(He,$,t){"use strict";t.d($,{default:function(){return W}});var c=t(92310),l=t.n(c),b=t(59301),h=t(36355),f=t(32441),d=t(9937),i=L=>{const{getPrefixCls:F,direction:x}=(0,b.useContext)(h.E_),{prefixCls:D,className:P}=L,M=F("input-group",D),I=F("input"),[K,j]=(0,d.ZP)(I),Q=l()(M,{[`${M}-lg`]:L.size==="large",[`${M}-sm`]:L.size==="small",[`${M}-compact`]:L.compact,[`${M}-rtl`]:x==="rtl"},j,P),J=(0,b.useContext)(f.aM),q=(0,b.useMemo)(()=>Object.assign(Object.assign({},J),{isFormItemInput:!1}),[J]);return K(b.createElement("span",{className:Q,style:L.style,onMouseEnter:L.onMouseEnter,onMouseLeave:L.onMouseLeave,onFocus:L.onFocus,onBlur:L.onBlur},b.createElement(f.aM.Provider,{value:q},L.children)))},s=t(9432),a=t(73331),r=t(15277),o=t(2738),e=t(8654),n=t(59412),u=function(L,F){var x={};for(var D in L)Object.prototype.hasOwnProperty.call(L,D)&&F.indexOf(D)<0&&(x[D]=L[D]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,D=Object.getOwnPropertySymbols(L);P<D.length;P++)F.indexOf(D[P])<0&&Object.prototype.propertyIsEnumerable.call(L,D[P])&&(x[D[P]]=L[D[P]]);return x};const p=L=>L?b.createElement(r.Z,null):b.createElement(a.Z,null),E={click:"onClick",hover:"onMouseOver"};var w=b.forwardRef((L,F)=>{const{visibilityToggle:x=!0}=L,D=typeof x=="object"&&x.visible!==void 0,[P,M]=(0,b.useState)(()=>D?x.visible:!1),I=(0,b.useRef)(null);b.useEffect(()=>{D&&M(x.visible)},[D,x]);const K=(0,n.Z)(I),j=()=>{const{disabled:pe}=L;pe||(P&&K(),M(T=>{var k;const R=!T;return typeof x=="object"&&((k=x.onVisibleChange)===null||k===void 0||k.call(x,R)),R}))},Q=pe=>{const{action:T="click",iconRender:k=p}=L,R=E[T]||"",H=k(P),z={[R]:j,className:`${pe}-icon`,key:"passwordIcon",onMouseDown:V=>{V.preventDefault()},onMouseUp:V=>{V.preventDefault()}};return b.cloneElement(b.isValidElement(H)?H:b.createElement("span",null,H),z)},{className:J,prefixCls:q,inputPrefixCls:U,size:G}=L,te=u(L,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Se}=b.useContext(h.E_),oe=Se("input",U),ae=Se("input-password",q),he=x&&Q(ae),re=l()(ae,J,{[`${ae}-${G}`]:!!G}),ce=Object.assign(Object.assign({},(0,o.Z)(te,["suffix","iconRender","visibilityToggle"])),{type:P?"text":"password",className:re,prefixCls:oe,suffix:he});return G&&(ce.size=G),b.createElement(s.Z,Object.assign({ref:(0,e.sQ)(F,I)},ce))}),y=t(47472),A=t(92343),_=t(3113),v=t(19716),g=t(33234),C=function(L,F){var x={};for(var D in L)Object.prototype.hasOwnProperty.call(L,D)&&F.indexOf(D)<0&&(x[D]=L[D]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,D=Object.getOwnPropertySymbols(L);P<D.length;P++)F.indexOf(D[P])<0&&Object.prototype.propertyIsEnumerable.call(L,D[P])&&(x[D[P]]=L[D[P]]);return x},O=b.forwardRef((L,F)=>{const{prefixCls:x,inputPrefixCls:D,className:P,size:M,suffix:I,enterButton:K=!1,addonAfter:j,loading:Q,disabled:J,onSearch:q,onChange:U,onCompositionStart:G,onCompositionEnd:te}=L,Se=C(L,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:oe,direction:ae}=b.useContext(h.E_),he=b.useRef(!1),re=oe("input-search",x),ce=oe("input",D),{compactSize:pe}=(0,g.ri)(re,ae),T=(0,v.Z)(ge=>{var Ee;return(Ee=M!=null?M:pe)!==null&&Ee!==void 0?Ee:ge}),k=b.useRef(null),R=ge=>{ge&&ge.target&&ge.type==="click"&&q&&q(ge.target.value,ge,{source:"clear"}),U&&U(ge)},H=ge=>{var Ee;document.activeElement===((Ee=k.current)===null||Ee===void 0?void 0:Ee.input)&&ge.preventDefault()},z=ge=>{var Ee,Pe;q&&q((Pe=(Ee=k.current)===null||Ee===void 0?void 0:Ee.input)===null||Pe===void 0?void 0:Pe.value,ge,{source:"input"})},V=ge=>{he.current||Q||z(ge)},X=typeof K=="boolean"?b.createElement(y.Z,null):null,Y=`${re}-button`;let ne;const le=K||{},ie=le.type&&le.type.__ANT_BUTTON===!0;ie||le.type==="button"?ne=(0,A.Tm)(le,Object.assign({onMouseDown:H,onClick:ge=>{var Ee,Pe;(Pe=(Ee=le==null?void 0:le.props)===null||Ee===void 0?void 0:Ee.onClick)===null||Pe===void 0||Pe.call(Ee,ge),z(ge)},key:"enterButton"},ie?{className:Y,size:T}:{})):ne=b.createElement(_.ZP,{className:Y,type:K?"primary":void 0,size:T,disabled:J,key:"enterButton",onMouseDown:H,onClick:z,loading:Q,icon:X},K),j&&(ne=[ne,(0,A.Tm)(j,{key:"addonAfter"})]);const fe=l()(re,{[`${re}-rtl`]:ae==="rtl",[`${re}-${T}`]:!!T,[`${re}-with-button`]:!!K},P),ye=ge=>{he.current=!0,G==null||G(ge)},_e=ge=>{he.current=!1,te==null||te(ge)};return b.createElement(s.Z,Object.assign({ref:(0,e.sQ)(k,F),onPressEnter:V},Se,{size:T,onCompositionStart:ye,onCompositionEnd:_e,prefixCls:ce,addonAfter:ne,suffix:I,onChange:R,className:fe,disabled:J}))}),Z=t(1643);const N=s.Z;N.Group=i,N.Search=O,N.TextArea=Z.Z,N.Password=w;var W=N},9937:function(He,$,t){"use strict";t.d($,{M1:function(){return m},TM:function(){return A},Xy:function(){return i},bi:function(){return r},e5:function(){return y},ik:function(){return o},nz:function(){return f},pU:function(){return d},s7:function(){return e},x0:function(){return a}});var c=t(17313),l=t(74207),b=t(37613),h=t(83116);const f=_=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:_,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=_=>({borderColor:_.hoverBorderColor}),m=_=>({borderColor:_.activeBorderColor,boxShadow:_.activeShadow,outline:0}),i=_=>({color:_.colorTextDisabled,backgroundColor:_.colorBgContainerDisabled,borderColor:_.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},d((0,b.TS)(_,{hoverBorderColor:_.colorBorder})))}),s=_=>{const{paddingBlockLG:v,fontSizeLG:g,lineHeightLG:C,borderRadiusLG:B,paddingInlineLG:O}=_;return{padding:`${v}px ${O}px`,fontSize:g,lineHeight:C,borderRadius:B}},a=_=>({padding:`${_.paddingBlockSM}px ${_.paddingInlineSM}px`,borderRadius:_.borderRadiusSM}),r=(_,v)=>{const{componentCls:g,colorError:C,colorWarning:B,errorActiveShadow:O,warningActiveShadow:Z,colorErrorBorderHover:N,colorWarningBorderHover:W}=_;return{[`&-status-error:not(${v}-disabled):not(${v}-borderless)${v}`]:{borderColor:C,"&:hover":{borderColor:N},"&:focus, &-focused":Object.assign({},m((0,b.TS)(_,{activeBorderColor:C,activeShadow:O}))),[`${g}-prefix, ${g}-suffix`]:{color:C}},[`&-status-warning:not(${v}-disabled):not(${v}-borderless)${v}`]:{borderColor:B,"&:hover":{borderColor:W},"&:focus, &-focused":Object.assign({},m((0,b.TS)(_,{activeBorderColor:B,activeShadow:Z}))),[`${g}-prefix, ${g}-suffix`]:{color:B}}}},o=_=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${_.paddingBlock}px ${_.paddingInline}px`,color:_.colorText,fontSize:_.fontSize,lineHeight:_.lineHeight,backgroundColor:_.colorBgContainer,backgroundImage:"none",borderWidth:_.lineWidth,borderStyle:_.lineType,borderColor:_.colorBorder,borderRadius:_.borderRadius,transition:`all ${_.motionDurationMid}`},f(_.colorTextPlaceholder)),{"&:hover":Object.assign({},d(_)),"&:focus, &-focused":Object.assign({},m(_)),"&-disabled, &[disabled]":Object.assign({},i(_)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:_.controlHeight,lineHeight:_.lineHeight,verticalAlign:"bottom",transition:`all ${_.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},s(_)),"&-sm":Object.assign({},a(_)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),e=_=>{const{componentCls:v,antCls:g}=_;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:_.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${v}, &-lg > ${v}-group-addon`]:Object.assign({},s(_)),[`&-sm ${v}, &-sm > ${v}-group-addon`]:Object.assign({},a(_)),[`&-lg ${g}-select-single ${g}-select-selector`]:{height:_.controlHeightLG},[`&-sm ${g}-select-single ${g}-select-selector`]:{height:_.controlHeightSM},[`> ${v}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${v}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${_.paddingInline}px`,color:_.colorText,fontWeight:"normal",fontSize:_.fontSize,textAlign:"center",backgroundColor:_.colorFillAlter,border:`${_.lineWidth}px ${_.lineType} ${_.colorBorder}`,borderRadius:_.borderRadius,transition:`all ${_.motionDurationSlow}`,lineHeight:1,[`${g}-select`]:{margin:`-${_.paddingBlock+1}px -${_.paddingInline}px`,[`&${g}-select-single:not(${g}-select-customize-input)`]:{[`${g}-select-selector`]:{backgroundColor:"inherit",border:`${_.lineWidth}px ${_.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${g}-select-selector`]:{color:_.colorPrimary}}},[`${g}-cascader-picker`]:{margin:`-9px -${_.paddingInline}px`,backgroundColor:"transparent",[`${g}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${v}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${v}-search-with-button &`]:{zIndex:0}}},[`> ${v}:first-child, ${v}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${g}-select ${g}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${v}-affix-wrapper`]:{[`&:not(:first-child) ${v}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${v}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${v}:last-child, ${v}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${g}-select ${g}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${v}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${v}-search &`]:{borderStartStartRadius:_.borderRadius,borderEndStartRadius:_.borderRadius}},[`&:not(:first-child), ${v}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${v}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,c.dF)()),{[`${v}-group-addon, ${v}-group-wrap, > ${v}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:_.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${v}-affix-wrapper,
|
|
|
& > ${v}-number-affix-wrapper,
|
|
|
& > ${g}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-_.lineWidth,borderInlineEndWidth:_.lineWidth},[`${v}`]:{float:"none"},[`& > ${g}-select > ${g}-select-selector,
|
|
|
& > ${g}-select-auto-complete ${v},
|
|
|
& > ${g}-cascader-picker ${v},
|
|
|
& > ${v}-group-wrapper ${v}`]:{borderInlineEndWidth:_.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${g}-select-focused`]:{zIndex:1},[`& > ${g}-select > ${g}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${g}-select:first-child > ${g}-select-selector,
|
|
|
& > ${g}-select-auto-complete:first-child ${v},
|
|
|
& > ${g}-cascader-picker:first-child ${v}`]:{borderStartStartRadius:_.borderRadius,borderEndStartRadius:_.borderRadius},[`& > *:last-child,
|
|
|
& > ${g}-select:last-child > ${g}-select-selector,
|
|
|
& > ${g}-cascader-picker:last-child ${v},
|
|
|
& > ${g}-cascader-picker-focused:last-child ${v}`]:{borderInlineEndWidth:_.lineWidth,borderStartEndRadius:_.borderRadius,borderEndEndRadius:_.borderRadius},[`& > ${g}-select-auto-complete ${v}`]:{verticalAlign:"top"},[`${v}-group-wrapper + ${v}-group-wrapper`]:{marginInlineStart:-_.lineWidth,[`${v}-affix-wrapper`]:{borderRadius:0}},[`${v}-group-wrapper:not(:last-child)`]:{[`&${v}-search > ${v}-group`]:{[`& > ${v}-group-addon > ${v}-search-button`]:{borderRadius:0},[`& > ${v}`]:{borderStartStartRadius:_.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:_.borderRadius}}}})}},n=_=>{const{componentCls:v,controlHeightSM:g,lineWidth:C}=_,O=(g-C*2-16)/2;return{[v]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,c.Wf)(_)),o(_)),r(_,v)),{'&[type="color"]':{height:_.controlHeight,[`&${v}-lg`]:{height:_.controlHeightLG},[`&${v}-sm`]:{height:g,paddingTop:O,paddingBottom:O}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},u=_=>{const{componentCls:v}=_;return{[`${v}-clear-icon`]:{margin:0,color:_.colorTextQuaternary,fontSize:_.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${_.motionDurationSlow}`,"&:hover":{color:_.colorTextTertiary},"&:active":{color:_.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${_.inputAffixPadding}px`}}}},p=_=>{const{componentCls:v,inputAffixPadding:g,colorTextDescription:C,motionDurationSlow:B,colorIcon:O,colorIconHover:Z,iconCls:N}=_;return{[`${v}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o(_)),{display:"inline-flex",[`&:not(${v}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},d(_)),{zIndex:1,[`${v}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${v}[disabled]`]:{background:"transparent"}},[`> input${v}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${v}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:_.paddingXS}},"&-show-count-suffix":{color:C},"&-show-count-has-suffix":{marginInlineEnd:_.paddingXXS},"&-prefix":{marginInlineEnd:g},"&-suffix":{marginInlineStart:g}}}),u(_)),{[`${N}${v}-password-icon`]:{color:O,cursor:"pointer",transition:`all ${B}`,"&:hover":{color:Z}}}),r(_,`${v}-affix-wrapper`))}},E=_=>{const{componentCls:v,colorError:g,colorWarning:C,borderRadiusLG:B,borderRadiusSM:O}=_;return{[`${v}-group`]:Object.assign(Object.assign(Object.assign({},(0,c.Wf)(_)),e(_)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${v}-group-addon`]:{borderRadius:B,fontSize:_.fontSizeLG}},"&-sm":{[`${v}-group-addon`]:{borderRadius:O}},"&-status-error":{[`${v}-group-addon`]:{color:g,borderColor:g}},"&-status-warning":{[`${v}-group-addon`]:{color:C,borderColor:C}},"&-disabled":{[`${v}-group-addon`]:Object.assign({},i(_))},[`&:not(${v}-compact-first-item):not(${v}-compact-last-item)${v}-compact-item`]:{[`${v}, ${v}-group-addon`]:{borderRadius:0}},[`&:not(${v}-compact-last-item)${v}-compact-first-item`]:{[`${v}, ${v}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${v}-compact-first-item)${v}-compact-last-item`]:{[`${v}, ${v}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},S=_=>{const{componentCls:v,antCls:g}=_,C=`${v}-search`;return{[C]:{[`${v}`]:{"&:hover, &:focus":{borderColor:_.colorPrimaryHover,[`+ ${v}-group-addon ${C}-button:not(${g}-btn-primary)`]:{borderInlineStartColor:_.colorPrimaryHover}}},[`${v}-affix-wrapper`]:{borderRadius:0},[`${v}-lg`]:{lineHeight:_.lineHeightLG-2e-4},[`> ${v}-group`]:{[`> ${v}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${C}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:_.borderRadius,borderEndEndRadius:_.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${C}-button:not(${g}-btn-primary)`]:{color:_.colorTextDescription,"&:hover":{color:_.colorPrimaryHover},"&:active":{color:_.colorPrimaryActive},[`&${g}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${C}-button`]:{height:_.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${C}-button`]:{height:_.controlHeightLG},[`&-small ${C}-button`]:{height:_.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${v}-compact-item`]:{[`&:not(${v}-compact-last-item)`]:{[`${v}-group-addon`]:{[`${v}-search-button`]:{marginInlineEnd:-_.lineWidth,borderRadius:0}}},[`&:not(${v}-compact-first-item)`]:{[`${v},${v}-affix-wrapper`]:{borderRadius:0}},[`> ${v}-group-addon ${v}-search-button,
|
|
|
> ${v},
|
|
|
${v}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${v}-affix-wrapper-focused`]:{zIndex:2}}}}},w=_=>{const{componentCls:v,paddingLG:g}=_,C=`${v}-textarea`;return{[C]:{position:"relative","&-show-count":{[`> ${v}`]:{height:"100%"},[`${v}-data-count`]:{position:"absolute",bottom:-_.fontSize*_.lineHeight,insetInlineEnd:0,color:_.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${v}`]:{paddingInlineEnd:g}},[`&-affix-wrapper${C}-has-feedback`]:{[`${v}`]:{paddingInlineEnd:g}},[`&-affix-wrapper${v}-affix-wrapper`]:{padding:0,[`> textarea${v}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${v}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${v}-clear-icon`]:{position:"absolute",insetInlineEnd:_.paddingXS,insetBlockStart:_.paddingXS},[`${C}-suffix`]:{position:"absolute",top:0,insetInlineEnd:_.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function y(_){return(0,b.TS)(_,{inputAffixPadding:_.paddingXXS})}const A=_=>{const{controlHeight:v,fontSize:g,lineHeight:C,lineWidth:B,controlHeightSM:O,controlHeightLG:Z,fontSizeLG:N,lineHeightLG:W,paddingSM:L,controlPaddingHorizontalSM:F,controlPaddingHorizontal:x,colorFillAlter:D,colorPrimaryHover:P,controlOutlineWidth:M,controlOutline:I,colorErrorOutline:K,colorWarningOutline:j}=_;return{paddingBlock:Math.max(Math.round((v-g*C)/2*10)/10-B,3),paddingBlockSM:Math.max(Math.round((O-g*C)/2*10)/10-B,0),paddingBlockLG:Math.ceil((Z-N*W)/2*10)/10-B,paddingInline:L-B,paddingInlineSM:F-B,paddingInlineLG:x-B,addonBg:D,activeBorderColor:P,hoverBorderColor:P,activeShadow:`0 0 0 ${M}px ${I}`,errorActiveShadow:`0 0 0 ${M}px ${K}`,warningActiveShadow:`0 0 0 ${M}px ${j}`}};$.ZP=(0,h.Z)("Input",_=>{const v=(0,b.TS)(_,y(_));return[n(v),w(v),p(v),E(v),S(v),(0,l.c)(v)]},A)},45818:function(He,$,t){"use strict";t.d($,{D:function(){return y},Z:function(){return v}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},h=b,f=t(7657),d=function(C,B){return l.createElement(f.Z,(0,c.Z)({},C,{ref:B,icon:h}))},m=l.forwardRef(d),i=m,s=t(33853),a=t(38819),r=t(92310),o=t.n(r),e=t(2738),u=g=>!isNaN(parseFloat(g))&&isFinite(g),p=t(36355),E=t(84966),S=function(g,C){var B={};for(var O in g)Object.prototype.hasOwnProperty.call(g,O)&&C.indexOf(O)<0&&(B[O]=g[O]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,O=Object.getOwnPropertySymbols(g);Z<O.length;Z++)C.indexOf(O[Z])<0&&Object.prototype.propertyIsEnumerable.call(g,O[Z])&&(B[O[Z]]=g[O[Z]]);return B};const w={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},y=l.createContext({}),A=(()=>{let g=0;return function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return g+=1,`${C}${g}`}})();var v=l.forwardRef((g,C)=>{const{prefixCls:B,className:O,trigger:Z,children:N,defaultCollapsed:W=!1,theme:L="dark",style:F={},collapsible:x=!1,reverseArrow:D=!1,width:P=200,collapsedWidth:M=80,zeroWidthTriggerStyle:I,breakpoint:K,onCollapse:j,onBreakpoint:Q}=g,J=S(g,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:q}=(0,l.useContext)(E.Gs),[U,G]=(0,l.useState)("collapsed"in g?g.collapsed:W),[te,Se]=(0,l.useState)(!1);(0,l.useEffect)(()=>{"collapsed"in g&&G(g.collapsed)},[g.collapsed]);const oe=(T,k)=>{"collapsed"in g||G(T),j==null||j(T,k)},ae=(0,l.useRef)();ae.current=T=>{Se(T.matches),Q==null||Q(T.matches),U!==T.matches&&oe(T.matches,"responsive")},(0,l.useEffect)(()=>{function T(R){return ae.current(R)}let k;if(typeof window!="undefined"){const{matchMedia:R}=window;if(R&&K&&K in w){k=R(`(max-width: ${w[K]})`);try{k.addEventListener("change",T)}catch(H){k.addListener(T)}T(k)}}return()=>{try{k==null||k.removeEventListener("change",T)}catch(R){k==null||k.removeListener(T)}}},[K]),(0,l.useEffect)(()=>{const T=A("ant-sider-");return q.addSider(T),()=>q.removeSider(T)},[]);const he=()=>{oe(!U,"clickTrigger")},{getPrefixCls:re}=(0,l.useContext)(p.E_),ce=()=>{const T=re("layout-sider",B),k=(0,e.Z)(J,["collapsed"]),R=U?M:P,H=u(R)?`${R}px`:String(R),z=parseFloat(String(M||0))===0?l.createElement("span",{onClick:he,className:o()(`${T}-zero-width-trigger`,`${T}-zero-width-trigger-${D?"right":"left"}`),style:I},Z||l.createElement(i,null)):null,Y={expanded:D?l.createElement(a.Z,null):l.createElement(s.Z,null),collapsed:D?l.createElement(s.Z,null):l.createElement(a.Z,null)}[U?"collapsed":"expanded"],ne=Z!==null?z||l.createElement("div",{className:`${T}-trigger`,onClick:he,style:{width:H}},Z||Y):null,le=Object.assign(Object.assign({},F),{flex:`0 0 ${H}`,maxWidth:H,minWidth:H,width:H}),ie=o()(T,`${T}-${L}`,{[`${T}-collapsed`]:!!U,[`${T}-has-trigger`]:x&&Z!==null&&!z,[`${T}-below`]:!!te,[`${T}-zero-width`]:parseFloat(H)===0},O);return l.createElement("aside",Object.assign({className:ie},k,{style:le,ref:C}),l.createElement("div",{className:`${T}-children`},N),x||te&&z?ne:null)},pe=l.useMemo(()=>({siderCollapsed:U}),[U]);return l.createElement(y.Provider,{value:pe},ce())})},84966:function(He,$,t){"use strict";t.d($,{VY:function(){return y},$_:function(){return w},h4:function(){return S},Gs:function(){return e},ZP:function(){return A}});var c=t(19127),l=t(92310),b=t.n(l),h=t(2738),f=t(59301),d=t(36355),m=t(83116),s=_=>{const{componentCls:v,bodyBg:g,lightSiderBg:C,lightTriggerBg:B,lightTriggerColor:O}=_;return{[`${v}-sider-light`]:{background:C,[`${v}-sider-trigger`]:{color:O,background:B},[`${v}-sider-zero-width-trigger`]:{color:O,background:B,border:`1px solid ${g}`,borderInlineStart:0}}}};const a=_=>{const{antCls:v,componentCls:g,colorText:C,triggerColor:B,footerBg:O,triggerBg:Z,headerHeight:N,headerPadding:W,headerColor:L,footerPadding:F,triggerHeight:x,zeroTriggerHeight:D,zeroTriggerWidth:P,motionDurationMid:M,motionDurationSlow:I,fontSize:K,borderRadius:j,bodyBg:Q,headerBg:J,siderBg:q}=_;return{[g]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Q,"&, *":{boxSizing:"border-box"},[`&${g}-has-sider`]:{flexDirection:"row",[`> ${g}, > ${g}-content`]:{width:0}},[`${g}-header, &${g}-footer`]:{flex:"0 0 auto"},[`${g}-sider`]:{position:"relative",minWidth:0,background:q,transition:`all ${M}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${v}-menu${v}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:x},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:x,color:B,lineHeight:`${x}px`,textAlign:"center",background:Z,cursor:"pointer",transition:`all ${M}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:N,insetInlineEnd:-P,zIndex:1,width:P,height:D,color:B,fontSize:_.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:q,borderStartStartRadius:0,borderStartEndRadius:j,borderEndEndRadius:j,borderEndStartRadius:0,cursor:"pointer",transition:`background ${I} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${I}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-P,borderStartStartRadius:j,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:j}}}}},s(_)),{"&-rtl":{direction:"rtl"}}),[`${g}-header`]:{height:N,padding:W,color:L,lineHeight:`${N}px`,background:J,[`${v}-menu`]:{lineHeight:"inherit"}},[`${g}-footer`]:{padding:F,color:C,fontSize:K,background:O},[`${g}-content`]:{flex:"auto",minHeight:0}}};var r=(0,m.Z)("Layout",_=>[a(_)],_=>{const{colorBgLayout:v,controlHeight:g,controlHeightLG:C,colorText:B,controlHeightSM:O,marginXXS:Z,colorTextLightSolid:N,colorBgContainer:W}=_,L=C*1.25;return{colorBgHeader:"#001529",colorBgBody:v,colorBgTrigger:"#002140",bodyBg:v,headerBg:"#001529",headerHeight:g*2,headerPadding:`0 ${L}px`,headerColor:B,footerPadding:`${O}px ${L}px`,footerBg:v,siderBg:"#001529",triggerHeight:C+Z*2,triggerBg:"#002140",triggerColor:N,zeroTriggerWidth:C,zeroTriggerHeight:C,lightSiderBg:W,lightTriggerBg:W,lightTriggerColor:B}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),o=function(_,v){var g={};for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&v.indexOf(C)<0&&(g[C]=_[C]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,C=Object.getOwnPropertySymbols(_);B<C.length;B++)v.indexOf(C[B])<0&&Object.prototype.propertyIsEnumerable.call(_,C[B])&&(g[C[B]]=_[C[B]]);return g};const e=f.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function n(_){let{suffixCls:v,tagName:g,displayName:C}=_;return B=>f.forwardRef((Z,N)=>f.createElement(B,Object.assign({ref:N,suffixCls:v,tagName:g},Z)))}const u=f.forwardRef((_,v)=>{const{prefixCls:g,suffixCls:C,className:B,tagName:O}=_,Z=o(_,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:N}=f.useContext(d.E_),W=N("layout",g),[L,F]=r(W),x=C?`${W}-${C}`:W;return L(f.createElement(O,Object.assign({className:b()(g||x,B,F),ref:v},Z)))}),p=f.forwardRef((_,v)=>{const{direction:g}=f.useContext(d.E_),[C,B]=f.useState([]),{prefixCls:O,className:Z,rootClassName:N,children:W,hasSider:L,tagName:F,style:x}=_,D=o(_,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),P=(0,h.Z)(D,["suffixCls"]),{getPrefixCls:M,layout:I}=f.useContext(d.E_),K=M("layout",O),[j,Q]=r(K),J=b()(K,{[`${K}-has-sider`]:typeof L=="boolean"?L:C.length>0,[`${K}-rtl`]:g==="rtl"},I==null?void 0:I.className,Z,N,Q),q=f.useMemo(()=>({siderHook:{addSider:U=>{B(G=>[].concat((0,c.Z)(G),[U]))},removeSider:U=>{B(G=>G.filter(te=>te!==U))}}}),[]);return j(f.createElement(e.Provider,{value:q},f.createElement(F,Object.assign({ref:v,className:J,style:Object.assign(Object.assign({},I==null?void 0:I.style),x)},P),W)))}),E=n({tagName:"div",displayName:"Layout"})(p),S=n({suffixCls:"header",tagName:"header",displayName:"Header"})(u),w=n({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(u),y=n({suffixCls:"content",tagName:"main",displayName:"Content"})(u);var A=E},40875:function(He,$,t){"use strict";t.d($,{J:function(){return d}});var c=t(59301),l=t(33234),b=t(70425),h=function(m,i){var s={};for(var a in m)Object.prototype.hasOwnProperty.call(m,a)&&i.indexOf(a)<0&&(s[a]=m[a]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(m);r<a.length;r++)i.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(m,a[r])&&(s[a[r]]=m[a[r]]);return s};const f=c.createContext(null),d=c.forwardRef((m,i)=>{const{children:s}=m,a=h(m,["children"]),r=c.useContext(f),o=c.useMemo(()=>Object.assign(Object.assign({},r),a),[r,a.prefixCls,a.mode,a.selectable]);return c.createElement(f.Provider,{value:o},c.createElement(l.BR,null,(0,b.supportNodeRef)(s)?c.cloneElement(s,{ref:i}):s))});$.Z=f},20834:function(He,$,t){"use strict";t.d($,{default:function(){return pe}});var c=t(15285),l=t(59301),b=t(45818),h=t(92310),f=t.n(h),d=t(36355),m=function(T,k){var R={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&k.indexOf(H)<0&&(R[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,H=Object.getOwnPropertySymbols(T);z<H.length;z++)k.indexOf(H[z])<0&&Object.prototype.propertyIsEnumerable.call(T,H[z])&&(R[H[z]]=T[H[z]]);return R},s=T=>{const{prefixCls:k,className:R,dashed:H}=T,z=m(T,["prefixCls","className","dashed"]),{getPrefixCls:V}=l.useContext(d.E_),X=V("menu",k),Y=f()({[`${X}-item-divider-dashed`]:!!H},R);return l.createElement(c.iz,Object.assign({className:Y},z))},a=t(11592),r=t(2738),o=t(6848),e=t(92343),u=(0,l.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=T=>{var k;const{className:R,children:H,icon:z,title:V,danger:X}=T,{prefixCls:Y,firstLevel:ne,direction:le,disableMenuItemTitleTooltip:ie,inlineCollapsed:fe}=l.useContext(u),ye=Re=>{const Ie=l.createElement("span",{className:`${Y}-title-content`},H);return(!z||(0,e.l$)(H)&&H.type==="span")&&H&&Re&&ne&&typeof H=="string"?l.createElement("div",{className:`${Y}-inline-collapsed-noicon`},H.charAt(0)):Ie},{siderCollapsed:_e}=l.useContext(b.D);let ge=V;typeof V=="undefined"?ge=ne?H:"":V===!1&&(ge="");const Ee={title:ge};!_e&&!fe&&(Ee.title=null,Ee.open=!1);const Pe=(0,a.Z)(H).length;let De=l.createElement(c.ck,Object.assign({},(0,r.Z)(T,["title","icon","danger"]),{className:f()({[`${Y}-item-danger`]:X,[`${Y}-item-only-child`]:(z?Pe+1:Pe)===1},R),title:typeof V=="string"?V:void 0}),(0,e.Tm)(z,{className:f()((0,e.l$)(z)?(k=z.props)===null||k===void 0?void 0:k.className:"",`${Y}-item-icon`)}),ye(fe));return ie||(De=l.createElement(o.Z,Object.assign({},Ee,{placement:le==="rtl"?"left":"right",overlayClassName:`${Y}-inline-collapsed-tooltip`}),De)),De},w=T=>{var k;const{popupClassName:R,icon:H,title:z,theme:V}=T,X=l.useContext(u),{prefixCls:Y,inlineCollapsed:ne,theme:le}=X,ie=(0,c.Xl)();let fe;if(!H)fe=ne&&!ie.length&&z&&typeof z=="string"?l.createElement("div",{className:`${Y}-inline-collapsed-noicon`},z.charAt(0)):l.createElement("span",{className:`${Y}-title-content`},z);else{const _e=(0,e.l$)(z)&&z.type==="span";fe=l.createElement(l.Fragment,null,(0,e.Tm)(H,{className:f()((0,e.l$)(H)?(k=H.props)===null||k===void 0?void 0:k.className:"",`${Y}-item-icon`)}),_e?z:l.createElement("span",{className:`${Y}-title-content`},z))}const ye=l.useMemo(()=>Object.assign(Object.assign({},X),{firstLevel:!1}),[X]);return l.createElement(u.Provider,{value:ye},l.createElement(c.Wd,Object.assign({},(0,r.Z)(T,["icon"]),{title:fe,popupClassName:f()(Y,R,`${Y}-${V||le}`)})))},y=t(18785),A=t(70425),_=t(62892),v=t(40875),g=function(T,k){var R={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&k.indexOf(H)<0&&(R[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,H=Object.getOwnPropertySymbols(T);z<H.length;z++)k.indexOf(H[z])<0&&Object.prototype.propertyIsEnumerable.call(T,H[z])&&(R[H[z]]=T[H[z]]);return R};function C(T){return(T||[]).map((k,R)=>{if(k&&typeof k=="object"){const H=k,{label:z,children:V,key:X,type:Y}=H,ne=g(H,["label","children","key","type"]),le=X!=null?X:`tmp-${R}`;return V||Y==="group"?Y==="group"?l.createElement(c.BW,Object.assign({key:le},ne,{title:z}),C(V)):l.createElement(w,Object.assign({key:le},ne,{title:z}),C(V)):Y==="divider"?l.createElement(s,Object.assign({key:le},ne)):l.createElement(E,Object.assign({key:le},ne),z)}return null}).filter(k=>k)}function B(T){return l.useMemo(()=>T&&C(T),[T])}var O=t(64993),Z=t(17313),N=t(8378),W=t(13826),L=t(29878),F=t(83116),x=t(37613),P=T=>{const{componentCls:k,motionDurationSlow:R,horizontalLineHeight:H,colorSplit:z,lineWidth:V,lineType:X,itemPaddingInline:Y}=T;return{[`${k}-horizontal`]:{lineHeight:H,border:0,borderBottom:`${V}px ${X} ${z}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${k}-item, ${k}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Y},[`> ${k}-item:hover,
|
|
|
> ${k}-item-active,
|
|
|
> ${k}-submenu ${k}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${k}-item, ${k}-submenu-title`]:{transition:[`border-color ${R}`,`background ${R}`].join(",")},[`${k}-submenu-arrow`]:{display:"none"}}}},I=T=>{let{componentCls:k,menuArrowOffset:R}=T;return{[`${k}-rtl`]:{direction:"rtl"},[`${k}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${k}-rtl${k}-vertical,
|
|
|
${k}-submenu-rtl ${k}-vertical`]:{[`${k}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${R})`},"&::after":{transform:`rotate(45deg) translateY(${R})`}}}}};const K=T=>Object.assign({},(0,Z.oN)(T));var Q=(T,k)=>{const{componentCls:R,itemColor:H,itemSelectedColor:z,groupTitleColor:V,itemBg:X,subMenuItemBg:Y,itemSelectedBg:ne,activeBarHeight:le,activeBarWidth:ie,activeBarBorderWidth:fe,motionDurationSlow:ye,motionEaseInOut:_e,motionEaseOut:ge,itemPaddingInline:Ee,motionDurationMid:Pe,itemHoverColor:De,lineType:Re,colorSplit:Ie,itemDisabledColor:Oe,dangerItemColor:Ve,dangerItemHoverColor:$e,dangerItemSelectedColor:Ye,dangerItemActiveBg:je,dangerItemSelectedBg:vt,itemHoverBg:ot,itemActiveBg:st,menuSubMenuBg:wt,horizontalItemSelectedColor:Rt,horizontalItemSelectedBg:rt,horizontalItemBorderRadius:qe,horizontalItemHoverBg:nt,popupBg:mt}=T;return{[`${R}-${k}, ${R}-${k} > ${R}`]:{color:H,background:X,[`&${R}-root:focus-visible`]:Object.assign({},K(T)),[`${R}-item-group-title`]:{color:V},[`${R}-submenu-selected`]:{[`> ${R}-submenu-title`]:{color:z}},[`${R}-item-disabled, ${R}-submenu-disabled`]:{color:`${Oe} !important`},[`${R}-item:not(${R}-item-selected):not(${R}-submenu-selected)`]:{[`&:hover, > ${R}-submenu-title:hover`]:{color:De}},[`&:not(${R}-horizontal)`]:{[`${R}-item:not(${R}-item-selected)`]:{"&:hover":{backgroundColor:ot},"&:active":{backgroundColor:st}},[`${R}-submenu-title`]:{"&:hover":{backgroundColor:ot},"&:active":{backgroundColor:st}}},[`${R}-item-danger`]:{color:Ve,[`&${R}-item:hover`]:{[`&:not(${R}-item-selected):not(${R}-submenu-selected)`]:{color:$e}},[`&${R}-item:active`]:{background:je}},[`${R}-item a`]:{"&, &:hover":{color:"inherit"}},[`${R}-item-selected`]:{color:z,[`&${R}-item-danger`]:{color:Ye},"a, a:hover":{color:"inherit"}},[`& ${R}-item-selected`]:{backgroundColor:ne,[`&${R}-item-danger`]:{backgroundColor:vt}},[`${R}-item, ${R}-submenu-title`]:{[`&:not(${R}-item-disabled):focus-visible`]:Object.assign({},K(T))},[`&${R}-submenu > ${R}`]:{backgroundColor:wt},[`&${R}-popup > ${R}`]:{backgroundColor:mt},[`&${R}-horizontal`]:Object.assign(Object.assign({},k==="dark"?{borderBottom:0}:{}),{[`> ${R}-item, > ${R}-submenu`]:{top:fe,marginTop:-fe,marginBottom:0,borderRadius:qe,"&::after":{position:"absolute",insetInline:Ee,bottom:0,borderBottom:`${le}px solid transparent`,transition:`border-color ${ye} ${_e}`,content:'""'},"&:hover, &-active, &-open":{background:nt,"&::after":{borderBottomWidth:le,borderBottomColor:Rt}},"&-selected":{color:Rt,backgroundColor:rt,"&:hover":{backgroundColor:rt},"&::after":{borderBottomWidth:le,borderBottomColor:Rt}}}}),[`&${R}-root`]:{[`&${R}-inline, &${R}-vertical`]:{borderInlineEnd:`${fe}px ${Re} ${Ie}`}},[`&${R}-inline`]:{[`${R}-sub${R}-inline`]:{background:Y},[`${R}-item, ${R}-submenu-title`]:fe&&ie?{width:`calc(100% + ${fe}px)`}:{},[`${R}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ie}px solid ${z}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Pe} ${ge}`,`opacity ${Pe} ${ge}`].join(","),content:'""'},[`&${R}-item-danger`]:{"&::after":{borderInlineEndColor:Ye}}},[`${R}-selected, ${R}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Pe} ${_e}`,`opacity ${Pe} ${_e}`].join(",")}}}}}};const J=T=>{const{componentCls:k,itemHeight:R,itemMarginInline:H,padding:z,menuArrowSize:V,marginXS:X,itemMarginBlock:Y}=T,ne=z+V+X;return{[`${k}-item`]:{position:"relative",overflow:"hidden"},[`${k}-item, ${k}-submenu-title`]:{height:R,lineHeight:`${R}px`,paddingInline:z,overflow:"hidden",textOverflow:"ellipsis",marginInline:H,marginBlock:Y,width:`calc(100% - ${H*2}px)`},[`> ${k}-item,
|
|
|
> ${k}-submenu > ${k}-submenu-title`]:{height:R,lineHeight:`${R}px`},[`${k}-item-group-list ${k}-submenu-title,
|
|
|
${k}-submenu-title`]:{paddingInlineEnd:ne}}};var U=T=>{const{componentCls:k,iconCls:R,itemHeight:H,colorTextLightSolid:z,dropdownWidth:V,controlHeightLG:X,motionDurationMid:Y,motionEaseOut:ne,paddingXL:le,itemMarginInline:ie,fontSizeLG:fe,motionDurationSlow:ye,paddingXS:_e,boxShadowSecondary:ge,collapsedWidth:Ee,collapsedIconSize:Pe}=T,De={height:H,lineHeight:`${H}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[k]:{"&-inline, &-vertical":Object.assign({[`&${k}-root`]:{boxShadow:"none"}},J(T))},[`${k}-submenu-popup`]:{[`${k}-vertical`]:Object.assign(Object.assign({},J(T)),{boxShadow:ge})}},{[`${k}-submenu-popup ${k}-vertical${k}-sub`]:{minWidth:V,maxHeight:`calc(100vh - ${X*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${k}-inline`]:{width:"100%",[`&${k}-root`]:{[`${k}-item, ${k}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ye}`,`background ${ye}`,`padding ${Y} ${ne}`].join(","),[`> ${k}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${k}-sub${k}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${k}-submenu > ${k}-submenu-title`]:De,[`& ${k}-item-group-title`]:{paddingInlineStart:le}},[`${k}-item`]:De}},{[`${k}-inline-collapsed`]:{width:Ee,[`&${k}-root`]:{[`${k}-item, ${k}-submenu ${k}-submenu-title`]:{[`> ${k}-inline-collapsed-noicon`]:{fontSize:fe,textAlign:"center"}}},[`> ${k}-item,
|
|
|
> ${k}-item-group > ${k}-item-group-list > ${k}-item,
|
|
|
> ${k}-item-group > ${k}-item-group-list > ${k}-submenu > ${k}-submenu-title,
|
|
|
> ${k}-submenu > ${k}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${fe/2}px - ${ie}px)`,textOverflow:"clip",[`
|
|
|
${k}-submenu-arrow,
|
|
|
${k}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${k}-item-icon, ${R}`]:{margin:0,fontSize:Pe,lineHeight:`${H}px`,"+ span":{display:"inline-block",opacity:0}}},[`${k}-item-icon, ${R}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${k}-item-icon, ${R}`]:{display:"none"},"a, a:hover":{color:z}},[`${k}-item-group-title`]:Object.assign(Object.assign({},Z.vS),{paddingInline:_e})}}]};const G=T=>{const{componentCls:k,motionDurationSlow:R,motionDurationMid:H,motionEaseInOut:z,motionEaseOut:V,iconCls:X,iconSize:Y,iconMarginInlineEnd:ne}=T;return{[`${k}-item, ${k}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${R}`,`background ${R}`,`padding ${R} ${z}`].join(","),[`${k}-item-icon, ${X}`]:{minWidth:Y,fontSize:Y,transition:[`font-size ${H} ${V}`,`margin ${R} ${z}`,`color ${R}`].join(","),"+ span":{marginInlineStart:ne,opacity:1,transition:[`opacity ${R} ${z}`,`margin ${R}`,`color ${R}`].join(",")}},[`${k}-item-icon`]:Object.assign({},(0,Z.Ro)()),[`&${k}-item-only-child`]:{[`> ${X}, > ${k}-item-icon`]:{marginInlineEnd:0}}},[`${k}-item-disabled, ${k}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${k}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},te=T=>{const{componentCls:k,motionDurationSlow:R,motionEaseInOut:H,borderRadius:z,menuArrowSize:V,menuArrowOffset:X}=T;return{[`${k}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:T.margin,width:V,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${R} ${H}, opacity ${R}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:V*.6,height:V*.15,backgroundColor:"currentcolor",borderRadius:z,transition:[`background ${R} ${H}`,`transform ${R} ${H}`,`top ${R} ${H}`,`color ${R} ${H}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${X})`},"&::after":{transform:`rotate(-45deg) translateY(${X})`}}}}},Se=T=>{const{antCls:k,componentCls:R,fontSize:H,motionDurationSlow:z,motionDurationMid:V,motionEaseInOut:X,paddingXS:Y,padding:ne,colorSplit:le,lineWidth:ie,zIndexPopup:fe,borderRadiusLG:ye,subMenuItemBorderRadius:_e,menuArrowSize:ge,menuArrowOffset:Ee,lineType:Pe,menuPanelMaskInset:De,groupTitleLineHeight:Re,groupTitleFontSize:Ie}=T;return[{"":{[`${R}`]:Object.assign(Object.assign({},(0,Z.dF)()),{"&-hidden":{display:"none"}})},[`${R}-submenu-hidden`]:{display:"none"}},{[R]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Z.Wf)(T)),(0,Z.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:H,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${z} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${R}-item`]:{flex:"none"}},[`${R}-item, ${R}-submenu, ${R}-submenu-title`]:{borderRadius:T.itemBorderRadius},[`${R}-item-group-title`]:{padding:`${Y}px ${ne}px`,fontSize:Ie,lineHeight:Re,transition:`all ${z}`},[`&-horizontal ${R}-submenu`]:{transition:[`border-color ${z} ${X}`,`background ${z} ${X}`].join(",")},[`${R}-submenu, ${R}-submenu-inline`]:{transition:[`border-color ${z} ${X}`,`background ${z} ${X}`,`padding ${V} ${X}`].join(",")},[`${R}-submenu ${R}-sub`]:{cursor:"initial",transition:[`background ${z} ${X}`,`padding ${z} ${X}`].join(",")},[`${R}-title-content`]:{transition:`color ${z}`},[`${R}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${R}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:le,borderStyle:Pe,borderWidth:0,borderTopWidth:ie,marginBlock:ie,padding:0,"&-dashed":{borderStyle:"dashed"}}}),G(T)),{[`${R}-item-group`]:{[`${R}-item-group-list`]:{margin:0,padding:0,[`${R}-item, ${R}-submenu-title`]:{paddingInline:`${H*2}px ${ne}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:fe,borderRadius:ye,boxShadow:"none",transformOrigin:"0 0",[`&${R}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${De}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:De},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:T.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:T.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:T.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:T.paddingXS},[`> ${R}`]:Object.assign(Object.assign(Object.assign({borderRadius:ye},G(T)),te(T)),{[`${R}-item, ${R}-submenu > ${R}-submenu-title`]:{borderRadius:_e},[`${R}-submenu-title::after`]:{transition:`transform ${z} ${X}`}})}}),te(T)),{[`&-inline-collapsed ${R}-submenu-arrow,
|
|
|
&-inline ${R}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ee})`},"&::after":{transform:`rotate(45deg) translateX(-${Ee})`}},[`${R}-submenu-open${R}-submenu-inline > ${R}-submenu-title > ${R}-submenu-arrow`]:{transform:`translateY(-${ge*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ee})`},"&::before":{transform:`rotate(45deg) translateX(${Ee})`}}})},{[`${k}-layout-header`]:{[R]:{lineHeight:"inherit"}}}]};var oe=(T,k)=>(0,F.Z)("Menu",H=>{if(k===!1)return[];const{colorBgElevated:z,colorPrimary:V,colorTextLightSolid:X,controlHeightLG:Y,fontSize:ne,darkItemColor:le,darkDangerItemColor:ie,darkItemBg:fe,darkSubMenuItemBg:ye,darkItemSelectedColor:_e,darkItemSelectedBg:ge,darkDangerItemSelectedBg:Ee,darkItemHoverBg:Pe,darkGroupTitleColor:De,darkItemHoverColor:Re,darkItemDisabledColor:Ie,darkDangerItemHoverColor:Oe,darkDangerItemSelectedColor:Ve,darkDangerItemActiveBg:$e}=H,Ye=ne/7*5,je=(0,x.TS)(H,{menuArrowSize:Ye,menuHorizontalHeight:Y*1.15,menuArrowOffset:`${Ye*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:z}),vt=(0,x.TS)(je,{itemColor:le,itemHoverColor:Re,groupTitleColor:De,itemSelectedColor:_e,itemBg:fe,popupBg:fe,subMenuItemBg:ye,itemActiveBg:"transparent",itemSelectedBg:ge,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Pe,itemDisabledColor:Ie,dangerItemColor:ie,dangerItemHoverColor:Oe,dangerItemSelectedColor:Ve,dangerItemActiveBg:$e,dangerItemSelectedBg:Ee,menuSubMenuBg:ye,horizontalItemSelectedColor:X,horizontalItemSelectedBg:V});return[Se(je),P(je),U(je),Q(je,"light"),Q(vt,"dark"),I(je),(0,N.Z)(je),(0,W.oN)(je,"slide-up"),(0,W.oN)(je,"slide-down"),(0,L._y)(je,"zoom-big")]},H=>{const{colorPrimary:z,colorError:V,colorTextDisabled:X,colorErrorBg:Y,colorText:ne,colorTextDescription:le,colorBgContainer:ie,colorFillAlter:fe,colorFillContent:ye,lineWidth:_e,lineWidthBold:ge,controlItemBgActive:Ee,colorBgTextHover:Pe,controlHeightLG:De,lineHeight:Re,colorBgElevated:Ie,marginXXS:Oe,padding:Ve,fontSize:$e,controlHeightSM:Ye,fontSizeLG:je,colorTextLightSolid:vt,colorErrorHover:ot}=H,st=new O.C(vt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:H.zIndexPopupBase+50,radiusItem:H.borderRadiusLG,itemBorderRadius:H.borderRadiusLG,radiusSubMenuItem:H.borderRadiusSM,subMenuItemBorderRadius:H.borderRadiusSM,colorItemText:ne,itemColor:ne,colorItemTextHover:ne,itemHoverColor:ne,colorItemTextHoverHorizontal:z,horizontalItemHoverColor:z,colorGroupTitle:le,groupTitleColor:le,colorItemTextSelected:z,itemSelectedColor:z,colorItemTextSelectedHorizontal:z,horizontalItemSelectedColor:z,colorItemBg:ie,itemBg:ie,colorItemBgHover:Pe,itemHoverBg:Pe,colorItemBgActive:ye,itemActiveBg:Ee,colorSubItemBg:fe,subMenuItemBg:fe,colorItemBgSelected:Ee,itemSelectedBg:Ee,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:ge,activeBarHeight:ge,colorActiveBarBorderSize:_e,activeBarBorderWidth:_e,colorItemTextDisabled:X,itemDisabledColor:X,colorDangerItemText:V,dangerItemColor:V,colorDangerItemTextHover:V,dangerItemHoverColor:V,colorDangerItemTextSelected:V,dangerItemSelectedColor:V,colorDangerItemBgActive:Y,dangerItemActiveBg:Y,colorDangerItemBgSelected:Y,dangerItemSelectedBg:Y,itemMarginInline:H.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:De,groupTitleLineHeight:Re,collapsedWidth:De*2,popupBg:Ie,itemMarginBlock:Oe,itemPaddingInline:Ve,horizontalLineHeight:`${De*1.15}px`,iconSize:$e,iconMarginInlineEnd:Ye-$e,collapsedIconSize:je,groupTitleFontSize:$e,darkItemDisabledColor:new O.C(vt).setAlpha(.25).toRgbString(),darkItemColor:st,darkDangerItemColor:V,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:vt,darkItemSelectedBg:z,darkDangerItemSelectedBg:V,darkItemHoverBg:"transparent",darkGroupTitleColor:st,darkItemHoverColor:vt,darkDangerItemHoverColor:ot,darkDangerItemSelectedColor:vt,darkDangerItemActiveBg:V}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(T),ae=function(T,k){var R={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&k.indexOf(H)<0&&(R[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,H=Object.getOwnPropertySymbols(T);z<H.length;z++)k.indexOf(H[z])<0&&Object.prototype.propertyIsEnumerable.call(T,H[z])&&(R[H[z]]=T[H[z]]);return R},re=(0,l.forwardRef)((T,k)=>{var R,H;const z=l.useContext(v.Z),V=z||{},{getPrefixCls:X,getPopupContainer:Y,direction:ne,menu:le}=l.useContext(d.E_),ie=X(),{prefixCls:fe,className:ye,style:_e,theme:ge="light",expandIcon:Ee,_internalDisableMenuItemTitleTooltip:Pe,inlineCollapsed:De,siderCollapsed:Re,items:Ie,children:Oe,rootClassName:Ve,mode:$e,selectable:Ye,onClick:je,overflowedIndicatorPopupClassName:vt}=T,ot=ae(T,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),st=(0,r.Z)(ot,["collapsedWidth"]),wt=B(Ie)||Oe;(R=V.validator)===null||R===void 0||R.call(V,{mode:$e});const Rt=(0,A.useEvent)(function(){var Ht;je==null||je.apply(void 0,arguments),(Ht=V.onClick)===null||Ht===void 0||Ht.call(V)}),rt=V.mode||$e,qe=Ye!=null?Ye:V.selectable,nt=l.useMemo(()=>Re!==void 0?Re:De,[De,Re]),mt={horizontal:{motionName:`${ie}-slide-up`},inline:(0,_.Z)(ie),other:{motionName:`${ie}-zoom-big`}},Xe=X("menu",fe||V.prefixCls),[bt,ut]=oe(Xe,!z),yt=f()(`${Xe}-${ge}`,le==null?void 0:le.className,ye);let Mt;if(typeof Ee=="function")Mt=Ee;else if(Ee===null||Ee===!1)Mt=null;else if(V.expandIcon===null||V.expandIcon===!1)Mt=null;else{const Ht=Ee!=null?Ee:V.expandIcon;Mt=(0,e.Tm)(Ht,{className:f()(`${Xe}-submenu-expand-icon`,(0,e.l$)(Ht)?(H=Ht.props)===null||H===void 0?void 0:H.className:"")})}const Ct=l.useMemo(()=>({prefixCls:Xe,inlineCollapsed:nt||!1,direction:ne,firstLevel:!0,theme:ge,mode:rt,disableMenuItemTitleTooltip:Pe}),[Xe,nt,ne,Pe,ge]);return bt(l.createElement(v.Z.Provider,{value:null},l.createElement(u.Provider,{value:Ct},l.createElement(c.ZP,Object.assign({getPopupContainer:Y,overflowedIndicator:l.createElement(y.Z,null),overflowedIndicatorPopupClassName:f()(Xe,`${Xe}-${ge}`,vt),mode:rt,selectable:qe,onClick:Rt},st,{inlineCollapsed:nt,style:Object.assign(Object.assign({},le==null?void 0:le.style),_e),className:yt,prefixCls:Xe,direction:ne,defaultMotions:mt,expandIcon:Mt,ref:k,rootClassName:f()(Ve,ut)}),wt))))});const ce=(0,l.forwardRef)((T,k)=>{const R=(0,l.useRef)(null),H=l.useContext(b.D);return(0,l.useImperativeHandle)(k,()=>({menu:R.current,focus:z=>{var V;(V=R.current)===null||V===void 0||V.focus(z)}})),l.createElement(re,Object.assign({ref:R},T,H))});ce.Item=E,ce.SubMenu=w,ce.Divider=s,ce.ItemGroup=c.BW;var pe=ce},13570:function(He,$,t){"use strict";t.d($,{Z:function(){return K}});var c=t(96663),l=t(59301),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},h=b,f=t(7657),d=function(Q,J){return l.createElement(f.Z,(0,c.Z)({},Q,{ref:J,icon:h}))},m=l.forwardRef(d),i=m,s=t(92310),a=t.n(s),r=t(90493),o=t(72071),e=t(6620),n=t(18929),u=t(10228),p=t(26112);function E(j,Q){var J=j.disabled,q=j.prefixCls,U=j.character,G=j.characterRender,te=j.index,Se=j.count,oe=j.value,ae=j.allowHalf,he=j.focused,re=j.onHover,ce=j.onClick,pe=function(Y){re(Y,te)},T=function(Y){ce(Y,te)},k=function(Y){Y.keyCode===u.Z.ENTER&&ce(Y,te)},R=te+1,H=new Set([q]);oe===0&&te===0&&he?H.add("".concat(q,"-focused")):ae&&oe+.5>=R&&oe<R?(H.add("".concat(q,"-half")),H.add("".concat(q,"-active")),he&&H.add("".concat(q,"-focused"))):(R<=oe?H.add("".concat(q,"-full")):H.add("".concat(q,"-zero")),R===oe&&he&&H.add("".concat(q,"-focused")));var z=typeof U=="function"?U(j):U,V=l.createElement("li",{className:a()(Array.from(H)),ref:Q},l.createElement("div",{onClick:J?null:T,onKeyDown:J?null:k,onMouseMove:J?null:pe,role:"radio","aria-checked":oe>te?"true":"false","aria-posinset":te+1,"aria-setsize":Se,tabIndex:J?-1:0},l.createElement("div",{className:"".concat(q,"-first")},z),l.createElement("div",{className:"".concat(q,"-second")},z)));return G&&(V=G(V,j)),V}var S=l.forwardRef(E);function w(){var j=l.useRef({});function Q(q){return j.current[q]}function J(q){return function(U){j.current[q]=U}}return[Q,J]}function y(j){var Q=j.pageXOffset,J="scrollLeft";if(typeof Q!="number"){var q=j.document;Q=q.documentElement[J],typeof Q!="number"&&(Q=q.body[J])}return Q}function A(j){var Q,J,q=j.ownerDocument,U=q.body,G=q&&q.documentElement,te=j.getBoundingClientRect();return Q=te.left,J=te.top,Q-=G.clientLeft||U.clientLeft||0,J-=G.clientTop||U.clientTop||0,{left:Q,top:J}}function _(j){var Q=A(j),J=j.ownerDocument,q=J.defaultView||J.parentWindow;return Q.left+=y(q),Q.left}var v=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function g(j,Q){var J,q=j.prefixCls,U=q===void 0?"rc-rate":q,G=j.className,te=j.defaultValue,Se=j.value,oe=j.count,ae=oe===void 0?5:oe,he=j.allowHalf,re=he===void 0?!1:he,ce=j.allowClear,pe=ce===void 0?!0:ce,T=j.character,k=T===void 0?"\u2605":T,R=j.characterRender,H=j.disabled,z=j.direction,V=z===void 0?"ltr":z,X=j.tabIndex,Y=X===void 0?0:X,ne=j.autoFocus,le=j.onHoverChange,ie=j.onChange,fe=j.onFocus,ye=j.onBlur,_e=j.onKeyDown,ge=j.onMouseLeave,Ee=(0,e.Z)(j,v),Pe=w(),De=(0,o.Z)(Pe,2),Re=De[0],Ie=De[1],Oe=l.useRef(null),Ve=function(){if(!H){var Be;(Be=Oe.current)===null||Be===void 0||Be.focus()}};l.useImperativeHandle(Q,function(){return{focus:Ve,blur:function(){if(!H){var Be;(Be=Oe.current)===null||Be===void 0||Be.blur()}}}});var $e=(0,n.Z)(te||0,{value:Se}),Ye=(0,o.Z)($e,2),je=Ye[0],vt=Ye[1],ot=(0,n.Z)(null),st=(0,o.Z)(ot,2),wt=st[0],Rt=st[1],rt=function(Be,Ge){var Ke=V==="rtl",Me=Be+1;if(re){var dt=Re(Be),gt=_(dt),ke=dt.clientWidth;(Ke&&Ge-gt>ke/2||!Ke&&Ge-gt<ke/2)&&(Me-=.5)}return Me},qe=function(Be){vt(Be),ie==null||ie(Be)},nt=l.useState(!1),mt=(0,o.Z)(nt,2),Xe=mt[0],bt=mt[1],ut=function(){bt(!0),fe==null||fe()},yt=function(){bt(!1),ye==null||ye()},Mt=l.useState(null),Ct=(0,o.Z)(Mt,2),Ht=Ct[0],xe=Ct[1],be=function(Be,Ge){var Ke=rt(Ge,Be.pageX);Ke!==wt&&(xe(Ke),Rt(null)),le==null||le(Ke)},de=function(Be){H||(xe(null),Rt(null),le==null||le(void 0)),Be&&(ge==null||ge(Be))},me=function(Be,Ge){var Ke=rt(Ge,Be.pageX),Me=!1;pe&&(Me=Ke===je),de(),qe(Me?0:Ke),Rt(Me?Ke:null)},Le=function(Be){var Ge=Be.keyCode,Ke=V==="rtl",Me=je;Ge===u.Z.RIGHT&&Me<ae&&!Ke?(re?Me+=.5:Me+=1,qe(Me),Be.preventDefault()):Ge===u.Z.LEFT&&Me>0&&!Ke||Ge===u.Z.RIGHT&&Me>0&&Ke?(re?Me-=.5:Me-=1,qe(Me),Be.preventDefault()):Ge===u.Z.LEFT&&Me<ae&&Ke&&(re?Me+=.5:Me+=1,qe(Me),Be.preventDefault()),_e==null||_e(Be)};l.useEffect(function(){ne&&!H&&Ve()},[]);var Je=new Array(ae).fill(0).map(function(Fe,Be){return l.createElement(S,{ref:Ie(Be),index:Be,count:ae,disabled:H,prefixCls:"".concat(U,"-star"),allowHalf:re,value:Ht===null?je:Ht,onClick:me,onHover:be,key:Fe||Be,character:k,characterRender:R,focused:Xe})}),Te=a()(U,G,(J={},(0,r.Z)(J,"".concat(U,"-disabled"),H),(0,r.Z)(J,"".concat(U,"-rtl"),V==="rtl"),J));return l.createElement("ul",(0,c.Z)({className:Te,onMouseLeave:de,tabIndex:H?-1:Y,onFocus:H?null:ut,onBlur:H?null:yt,onKeyDown:H?null:Le,ref:Oe,role:"radiogroup"},(0,p.Z)(Ee,{aria:!0,data:!0,attr:!0})),Je)}var C=l.forwardRef(g),B=C,O=t(36355),Z=t(6848),N=t(17313),W=t(83116),L=t(37613);const F=j=>{const{componentCls:Q}=j;return{[`${Q}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:j.marginXS},"> div":{transition:`all ${j.motionDurationMid}, outline 0s`,"&:hover":{transform:j.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${j.lineWidth}px dashed ${j.starColor}`,transform:j.starHoverScale}},"&-first, &-second":{color:j.starBg,transition:`all ${j.motionDurationMid}`,userSelect:"none",[j.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Q}-star-first, &-half ${Q}-star-second`]:{opacity:1},[`&-half ${Q}-star-first, &-full ${Q}-star-second`]:{color:"inherit"}}}},x=j=>({[`&-rtl${j.componentCls}`]:{direction:"rtl"}}),D=j=>{const{componentCls:Q}=j;return{[Q]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,N.Wf)(j)),{display:"inline-block",margin:0,padding:0,color:j.starColor,fontSize:j.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Q} ${Q}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),F(j)),{[`+ ${Q}-text`]:{display:"inline-block",marginInlineStart:j.marginXS,fontSize:j.fontSize}}),x(j))}};var P=(0,W.Z)("Rate",j=>{const Q=(0,L.TS)(j,{});return[D(Q)]},j=>({starColor:j.yellow6,starSize:j.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:j.colorFillContent})),M=function(j,Q){var J={};for(var q in j)Object.prototype.hasOwnProperty.call(j,q)&&Q.indexOf(q)<0&&(J[q]=j[q]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,q=Object.getOwnPropertySymbols(j);U<q.length;U++)Q.indexOf(q[U])<0&&Object.prototype.propertyIsEnumerable.call(j,q[U])&&(J[q[U]]=j[q[U]]);return J},K=l.forwardRef((j,Q)=>{const{prefixCls:J,className:q,rootClassName:U,style:G,tooltips:te,character:Se=l.createElement(i,null)}=j,oe=M(j,["prefixCls","className","rootClassName","style","tooltips","character"]),ae=(H,z)=>{let{index:V}=z;return te?l.createElement(Z.Z,{title:te[V]},H):H},{getPrefixCls:he,direction:re,rate:ce}=l.useContext(O.E_),pe=he("rate",J),[T,k]=P(pe),R=Object.assign(Object.assign({},ce==null?void 0:ce.style),G);return T(l.createElement(B,Object.assign({ref:Q,character:Se,characterRender:ae},oe,{className:a()(q,U,k,ce==null?void 0:ce.className),style:R,prefixCls:pe,direction:re})))})},61621:function(He,$,t){"use strict";t.d($,{Z:function(){return k}});var c=t(92310),l=t.n(c),b=t(59301),h=t(36355),f=t(2738),m=R=>{const{prefixCls:H,className:z,style:V,size:X,shape:Y}=R,ne=l()({[`${H}-lg`]:X==="large",[`${H}-sm`]:X==="small"}),le=l()({[`${H}-circle`]:Y==="circle",[`${H}-square`]:Y==="square",[`${H}-round`]:Y==="round"}),ie=b.useMemo(()=>typeof X=="number"?{width:X,height:X,lineHeight:`${X}px`}:{},[X]);return b.createElement("span",{className:l()(H,ne,le,z),style:Object.assign(Object.assign({},ie),V)})},i=t(93083),s=t(83116),a=t(37613);const r=new i.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),o=R=>({height:R,lineHeight:`${R}px`}),e=R=>Object.assign({width:R},o(R)),n=R=>({background:R.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:r,animationDuration:R.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),u=R=>Object.assign({width:R*5,minWidth:R*5},o(R)),p=R=>{const{skeletonAvatarCls:H,gradientFromColor:z,controlHeight:V,controlHeightLG:X,controlHeightSM:Y}=R;return{[`${H}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:z},e(V)),[`${H}${H}-circle`]:{borderRadius:"50%"},[`${H}${H}-lg`]:Object.assign({},e(X)),[`${H}${H}-sm`]:Object.assign({},e(Y))}},E=R=>{const{controlHeight:H,borderRadiusSM:z,skeletonInputCls:V,controlHeightLG:X,controlHeightSM:Y,gradientFromColor:ne}=R;return{[`${V}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ne,borderRadius:z},u(H)),[`${V}-lg`]:Object.assign({},u(X)),[`${V}-sm`]:Object.assign({},u(Y))}},S=R=>Object.assign({width:R},o(R)),w=R=>{const{skeletonImageCls:H,imageSizeBase:z,gradientFromColor:V,borderRadiusSM:X}=R;return{[`${H}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:V,borderRadius:X},S(z*2)),{[`${H}-path`]:{fill:"#bfbfbf"},[`${H}-svg`]:Object.assign(Object.assign({},S(z)),{maxWidth:z*4,maxHeight:z*4}),[`${H}-svg${H}-svg-circle`]:{borderRadius:"50%"}}),[`${H}${H}-circle`]:{borderRadius:"50%"}}},y=(R,H,z)=>{const{skeletonButtonCls:V}=R;return{[`${z}${V}-circle`]:{width:H,minWidth:H,borderRadius:"50%"},[`${z}${V}-round`]:{borderRadius:H}}},A=R=>Object.assign({width:R*2,minWidth:R*2},o(R)),_=R=>{const{borderRadiusSM:H,skeletonButtonCls:z,controlHeight:V,controlHeightLG:X,controlHeightSM:Y,gradientFromColor:ne}=R;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${z}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ne,borderRadius:H,width:V*2,minWidth:V*2},A(V))},y(R,V,z)),{[`${z}-lg`]:Object.assign({},A(X))}),y(R,X,`${z}-lg`)),{[`${z}-sm`]:Object.assign({},A(Y))}),y(R,Y,`${z}-sm`))},v=R=>{const{componentCls:H,skeletonAvatarCls:z,skeletonTitleCls:V,skeletonParagraphCls:X,skeletonButtonCls:Y,skeletonInputCls:ne,skeletonImageCls:le,controlHeight:ie,controlHeightLG:fe,controlHeightSM:ye,gradientFromColor:_e,padding:ge,marginSM:Ee,borderRadius:Pe,titleHeight:De,blockRadius:Re,paragraphLiHeight:Ie,controlHeightXS:Oe,paragraphMarginTop:Ve}=R;return{[`${H}`]:{display:"table",width:"100%",[`${H}-header`]:{display:"table-cell",paddingInlineEnd:ge,verticalAlign:"top",[`${z}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_e},e(ie)),[`${z}-circle`]:{borderRadius:"50%"},[`${z}-lg`]:Object.assign({},e(fe)),[`${z}-sm`]:Object.assign({},e(ye))},[`${H}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${V}`]:{width:"100%",height:De,background:_e,borderRadius:Re,[`+ ${X}`]:{marginBlockStart:ye}},[`${X}`]:{padding:0,"> li":{width:"100%",height:Ie,listStyle:"none",background:_e,borderRadius:Re,"+ li":{marginBlockStart:Oe}}},[`${X}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${H}-content`]:{[`${V}, ${X} > li`]:{borderRadius:Pe}}},[`${H}-with-avatar ${H}-content`]:{[`${V}`]:{marginBlockStart:Ee,[`+ ${X}`]:{marginBlockStart:Ve}}},[`${H}${H}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},_(R)),p(R)),E(R)),w(R)),[`${H}${H}-block`]:{width:"100%",[`${Y}`]:{width:"100%"},[`${ne}`]:{width:"100%"}},[`${H}${H}-active`]:{[`
|
|
|
${V},
|
|
|
${X} > li,
|
|
|
${z},
|
|
|
${Y},
|
|
|
${ne},
|
|
|
${le}
|
|
|
`]:Object.assign({},n(R))}}};var g=(0,s.Z)("Skeleton",R=>{const{componentCls:H}=R,z=(0,a.TS)(R,{skeletonAvatarCls:`${H}-avatar`,skeletonTitleCls:`${H}-title`,skeletonParagraphCls:`${H}-paragraph`,skeletonButtonCls:`${H}-button`,skeletonInputCls:`${H}-input`,skeletonImageCls:`${H}-image`,imageSizeBase:R.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${R.gradientFromColor} 25%, ${R.gradientToColor} 37%, ${R.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[v(z)]},R=>{const{colorFillContent:H,colorFill:z}=R,V=H,X=z;return{color:V,colorGradientEnd:X,gradientFromColor:V,gradientToColor:X,titleHeight:R.controlHeight/2,blockRadius:R.borderRadiusSM,paragraphMarginTop:R.marginLG+R.marginXXS,paragraphLiHeight:R.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),B=R=>{const{prefixCls:H,className:z,rootClassName:V,active:X,shape:Y="circle",size:ne="default"}=R,{getPrefixCls:le}=b.useContext(h.E_),ie=le("skeleton",H),[fe,ye]=g(ie),_e=(0,f.Z)(R,["prefixCls","className"]),ge=l()(ie,`${ie}-element`,{[`${ie}-active`]:X},z,V,ye);return fe(b.createElement("div",{className:ge},b.createElement(m,Object.assign({prefixCls:`${ie}-avatar`,shape:Y,size:ne},_e))))},Z=R=>{const{prefixCls:H,className:z,rootClassName:V,active:X,block:Y=!1,size:ne="default"}=R,{getPrefixCls:le}=b.useContext(h.E_),ie=le("skeleton",H),[fe,ye]=g(ie),_e=(0,f.Z)(R,["prefixCls"]),ge=l()(ie,`${ie}-element`,{[`${ie}-active`]:X,[`${ie}-block`]:Y},z,V,ye);return fe(b.createElement("div",{className:ge},b.createElement(m,Object.assign({prefixCls:`${ie}-button`,size:ne},_e))))};const N="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var L=R=>{const{prefixCls:H,className:z,rootClassName:V,style:X,active:Y}=R,{getPrefixCls:ne}=b.useContext(h.E_),le=ne("skeleton",H),[ie,fe]=g(le),ye=l()(le,`${le}-element`,{[`${le}-active`]:Y},z,V,fe);return ie(b.createElement("div",{className:ye},b.createElement("div",{className:l()(`${le}-image`,z),style:X},b.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${le}-image-svg`},b.createElement("path",{d:N,className:`${le}-image-path`})))))},x=R=>{const{prefixCls:H,className:z,rootClassName:V,active:X,block:Y,size:ne="default"}=R,{getPrefixCls:le}=b.useContext(h.E_),ie=le("skeleton",H),[fe,ye]=g(ie),_e=(0,f.Z)(R,["prefixCls"]),ge=l()(ie,`${ie}-element`,{[`${ie}-active`]:X,[`${ie}-block`]:Y},z,V,ye);return fe(b.createElement("div",{className:ge},b.createElement(m,Object.assign({prefixCls:`${ie}-input`,size:ne},_e))))},D=t(96663),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},M=P,I=t(7657),K=function(H,z){return b.createElement(I.Z,(0,D.Z)({},H,{ref:z,icon:M}))},j=b.forwardRef(K),Q=j,q=R=>{const{prefixCls:H,className:z,rootClassName:V,style:X,active:Y,children:ne}=R,{getPrefixCls:le}=b.useContext(h.E_),ie=le("skeleton",H),[fe,ye]=g(ie),_e=l()(ie,`${ie}-element`,{[`${ie}-active`]:Y},ye,z,V),ge=ne!=null?ne:b.createElement(Q,null);return fe(b.createElement("div",{className:_e},b.createElement("div",{className:l()(`${ie}-image`,z),style:X},ge)))},U=t(19127),te=R=>{const H=le=>{const{width:ie,rows:fe=2}=R;if(Array.isArray(ie))return ie[le];if(fe-1===le)return ie},{prefixCls:z,className:V,style:X,rows:Y}=R,ne=(0,U.Z)(Array(Y)).map((le,ie)=>b.createElement("li",{key:ie,style:{width:H(ie)}}));return b.createElement("ul",{className:l()(z,V),style:X},ne)},oe=R=>{let{prefixCls:H,className:z,width:V,style:X}=R;return b.createElement("h3",{className:l()(H,z),style:Object.assign({width:V},X)})};function ae(R){return R&&typeof R=="object"?R:{}}function he(R,H){return R&&!H?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function re(R,H){return!R&&H?{width:"38%"}:R&&H?{width:"50%"}:{}}function ce(R,H){const z={};return(!R||!H)&&(z.width="61%"),!R&&H?z.rows=3:z.rows=2,z}const pe=R=>{const{prefixCls:H,loading:z,className:V,rootClassName:X,style:Y,children:ne,avatar:le=!1,title:ie=!0,paragraph:fe=!0,active:ye,round:_e}=R,{getPrefixCls:ge,direction:Ee,skeleton:Pe}=b.useContext(h.E_),De=ge("skeleton",H),[Re,Ie]=g(De);if(z||!("loading"in R)){const Oe=!!le,Ve=!!ie,$e=!!fe;let Ye;if(Oe){const ot=Object.assign(Object.assign({prefixCls:`${De}-avatar`},he(Ve,$e)),ae(le));Ye=b.createElement("div",{className:`${De}-header`},b.createElement(m,Object.assign({},ot)))}let je;if(Ve||$e){let ot;if(Ve){const wt=Object.assign(Object.assign({prefixCls:`${De}-title`},re(Oe,$e)),ae(ie));ot=b.createElement(oe,Object.assign({},wt))}let st;if($e){const wt=Object.assign(Object.assign({prefixCls:`${De}-paragraph`},ce(Oe,Ve)),ae(fe));st=b.createElement(te,Object.assign({},wt))}je=b.createElement("div",{className:`${De}-content`},ot,st)}const vt=l()(De,{[`${De}-with-avatar`]:Oe,[`${De}-active`]:ye,[`${De}-rtl`]:Ee==="rtl",[`${De}-round`]:_e},Pe==null?void 0:Pe.className,V,X,Ie);return Re(b.createElement("div",{className:vt,style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),Y)},Ye,je))}return typeof ne!="undefined"?ne:null};pe.Button=Z,pe.Avatar=B,pe.Input=x,pe.Image=L,pe.Node=q;var T=pe,k=T},81327:function(He,$,t){"use strict";t.d($,{Z:function(){return E}});var c=t(59301),l=t(92310),b=t.n(l),h=t(11592),f=t(36355),d=t(33234);const m=c.createContext({latestIndex:0}),i=m.Provider;var a=S=>{let{className:w,index:y,children:A,split:_,style:v}=S;const{latestIndex:g}=c.useContext(m);return A==null?null:c.createElement(c.Fragment,null,c.createElement("div",{className:w,style:v},A),y<g&&_&&c.createElement("span",{className:`${w}-split`},_))},r=t(2856);function o(S){return["small","middle","large"].includes(S)}function e(S){return S?typeof S=="number"&&!Number.isNaN(S):!1}var n=function(S,w){var y={};for(var A in S)Object.prototype.hasOwnProperty.call(S,A)&&w.indexOf(A)<0&&(y[A]=S[A]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,A=Object.getOwnPropertySymbols(S);_<A.length;_++)w.indexOf(A[_])<0&&Object.prototype.propertyIsEnumerable.call(S,A[_])&&(y[A[_]]=S[A[_]]);return y};const p=c.forwardRef((S,w)=>{var y,A;const{getPrefixCls:_,space:v,direction:g}=c.useContext(f.E_),{size:C=(v==null?void 0:v.size)||"small",align:B,className:O,rootClassName:Z,children:N,direction:W="horizontal",prefixCls:L,split:F,style:x,wrap:D=!1,classNames:P,styles:M}=S,I=n(S,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[K,j]=Array.isArray(C)?C:[C,C],Q=o(j),J=o(K),q=e(j),U=e(K),G=(0,h.Z)(N,{keepEmpty:!0}),te=B===void 0&&W==="horizontal"?"center":B,Se=_("space",L),[oe,ae]=(0,r.Z)(Se),he=b()(Se,v==null?void 0:v.className,ae,`${Se}-${W}`,{[`${Se}-rtl`]:g==="rtl",[`${Se}-align-${te}`]:te,[`${Se}-gap-row-${j}`]:Q,[`${Se}-gap-col-${K}`]:J},O,Z),re=b()(`${Se}-item`,(y=P==null?void 0:P.item)!==null&&y!==void 0?y:(A=v==null?void 0:v.classNames)===null||A===void 0?void 0:A.item);let ce=0;const pe=G.map((R,H)=>{var z,V;R!=null&&(ce=H);const X=R&&R.key||`${re}-${H}`;return c.createElement(a,{className:re,key:X,index:H,split:F,style:(z=M==null?void 0:M.item)!==null&&z!==void 0?z:(V=v==null?void 0:v.styles)===null||V===void 0?void 0:V.item},R)}),T=c.useMemo(()=>({latestIndex:ce}),[ce]);if(G.length===0)return null;const k={};return D&&(k.flexWrap="wrap"),!J&&U&&(k.columnGap=K),!Q&&q&&(k.rowGap=j),oe(c.createElement("div",Object.assign({ref:w,className:he,style:Object.assign(Object.assign(Object.assign({},k),v==null?void 0:v.style),x)},I),c.createElement(i,{value:T},pe)))});p.Compact=d.ZP;var E=p},31797:function(He,$,t){"use strict";t.d($,{default:function(){return g}});var c=t(59301),l=t(56762),b=t(92343),h=t(92310),f=t.n(h),d=t(36355),m=t(61621),s=C=>{const{value:B,formatter:O,precision:Z,decimalSeparator:N,groupSeparator:W="",prefixCls:L}=C;let F;if(typeof O=="function")F=O(B);else{const x=String(B),D=x.match(/^(-?)(\d*)(\.(\d+))?$/);if(!D||x==="-")F=x;else{const P=D[1];let M=D[2]||"0",I=D[4]||"";M=M.replace(/\B(?=(\d{3})+(?!\d))/g,W),typeof Z=="number"&&(I=I.padEnd(Z,"0").slice(0,Z>0?Z:0)),I&&(I=`${N}${I}`),F=[c.createElement("span",{key:"int",className:`${L}-content-value-int`},P,M),I&&c.createElement("span",{key:"decimal",className:`${L}-content-value-decimal`},I)]}}return c.createElement("span",{className:`${L}-content-value`},F)},a=t(17313),r=t(83116),o=t(37613);const e=C=>{const{componentCls:B,marginXXS:O,padding:Z,colorTextDescription:N,titleFontSize:W,colorTextHeading:L,contentFontSize:F,fontFamily:x}=C;return{[`${B}`]:Object.assign(Object.assign({},(0,a.Wf)(C)),{[`${B}-title`]:{marginBottom:O,color:N,fontSize:W},[`${B}-skeleton`]:{paddingTop:Z},[`${B}-content`]:{color:L,fontSize:F,fontFamily:x,[`${B}-content-value`]:{display:"inline-block",direction:"ltr"},[`${B}-content-prefix, ${B}-content-suffix`]:{display:"inline-block"},[`${B}-content-prefix`]:{marginInlineEnd:O},[`${B}-content-suffix`]:{marginInlineStart:O}}})}};var n=(0,r.Z)("Statistic",C=>{const B=(0,o.TS)(C,{});return[e(B)]},C=>{const{fontSizeHeading3:B,fontSize:O}=C;return{titleFontSize:O,contentFontSize:B}}),p=C=>{const{prefixCls:B,className:O,rootClassName:Z,style:N,valueStyle:W,value:L=0,title:F,valueRender:x,prefix:D,suffix:P,loading:M=!1,onMouseEnter:I,onMouseLeave:K,decimalSeparator:j=".",groupSeparator:Q=","}=C,{getPrefixCls:J,direction:q,statistic:U}=c.useContext(d.E_),G=J("statistic",B),[te,Se]=n(G),oe=c.createElement(s,Object.assign({decimalSeparator:j,groupSeparator:Q,prefixCls:G},C,{value:L})),ae=f()(G,{[`${G}-rtl`]:q==="rtl"},U==null?void 0:U.className,O,Z,Se);return te(c.createElement("div",{className:ae,style:Object.assign(Object.assign({},U==null?void 0:U.style),N),onMouseEnter:I,onMouseLeave:K},F&&c.createElement("div",{className:`${G}-title`},F),c.createElement(m.Z,{paragraph:!1,loading:M,className:`${G}-skeleton`},c.createElement("div",{style:W,className:`${G}-content`},D&&c.createElement("span",{className:`${G}-content-prefix`},D),x?x(oe):oe,P&&c.createElement("span",{className:`${G}-content-suffix`},P)))))};const E=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function S(C,B){let O=C;const Z=/\[[^\]]*]/g,N=(B.match(Z)||[]).map(x=>x.slice(1,-1)),W=B.replace(Z,"[]"),L=E.reduce((x,D)=>{let[P,M]=D;if(x.includes(P)){const I=Math.floor(O/M);return O-=I*M,x.replace(new RegExp(`${P}+`,"g"),K=>{const j=K.length;return I.toString().padStart(j,"0")})}return x},W);let F=0;return L.replace(Z,()=>{const x=N[F];return F+=1,x})}function w(C,B){const{format:O=""}=B,Z=new Date(C).getTime(),N=Date.now(),W=Math.max(Z-N,0);return S(W,O)}const y=1e3/30;function A(C){return new Date(C).getTime()}const _=C=>{const{value:B,format:O="HH:mm:ss",onChange:Z,onFinish:N}=C,W=(0,l.Z)(),L=c.useRef(null),F=()=>{N==null||N(),L.current&&(clearInterval(L.current),L.current=null)},x=()=>{const M=A(B);M>=Date.now()&&(L.current=setInterval(()=>{W(),Z==null||Z(M-Date.now()),M<Date.now()&&F()},y))};c.useEffect(()=>(x(),()=>{L.current&&(clearInterval(L.current),L.current=null)}),[B]);const D=(M,I)=>w(M,Object.assign(Object.assign({},I),{format:O})),P=M=>(0,b.Tm)(M,{title:void 0});return c.createElement(p,Object.assign({},C,{valueRender:P,formatter:D}))};var v=c.memo(_);p.Countdown=v;var g=p},8378:function(He,$){"use strict";const t=c=>({[c.componentCls]:{[`${c.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${c.motionDurationMid} ${c.motionEaseInOut},
|
|
|
opacity ${c.motionDurationMid} ${c.motionEaseInOut} !important`}},[`${c.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${c.motionDurationMid} ${c.motionEaseInOut},
|
|
|
opacity ${c.motionDurationMid} ${c.motionEaseInOut} !important`}}});$.Z=t},92899:function(He,$,t){"use strict";t.d($,{Fm:function(){return o}});var c=t(93083),l=t(95406);const b=new c.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new c.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),f=new c.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new c.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),m=new c.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new c.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=new c.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new c.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),r={"move-up":{inKeyframes:s,outKeyframes:a},"move-down":{inKeyframes:b,outKeyframes:h},"move-left":{inKeyframes:f,outKeyframes:d},"move-right":{inKeyframes:m,outKeyframes:i}},o=(e,n)=>{const{antCls:u}=e,p=`${u}-${n}`,{inKeyframes:E,outKeyframes:S}=r[n];return[(0,l.R)(p,E,S,e.motionDurationMid),{[`
|
|
|
${p}-enter,
|
|
|
${p}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${p}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},13826:function(He,$,t){"use strict";t.d($,{Qt:function(){return f},Uw:function(){return h},fJ:function(){return b},ly:function(){return d},oN:function(){return o}});var c=t(93083),l=t(95406);const b=new c.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),h=new c.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new c.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),d=new c.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),m=new c.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),i=new c.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new c.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),a=new c.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),r={"slide-up":{inKeyframes:b,outKeyframes:h},"slide-down":{inKeyframes:f,outKeyframes:d},"slide-left":{inKeyframes:m,outKeyframes:i},"slide-right":{inKeyframes:s,outKeyframes:a}},o=(e,n)=>{const{antCls:u}=e,p=`${u}-${n}`,{inKeyframes:E,outKeyframes:S}=r[n];return[(0,l.R)(p,E,S,e.motionDurationMid),{[`
|
|
|
${p}-enter,
|
|
|
${p}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${p}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},19447:function(He,$,t){"use strict";t.d($,{ZP:function(){return f},fS:function(){return b},qN:function(){return l}});var c=t(47585);const l=8;function b(d){const m=l,{contentRadius:i,limitVerticalRadius:s}=d,a=i>12?i+2:12;return{dropdownArrowOffset:a,dropdownArrowOffsetVertical:s?m:a}}function h(d,m){return d?m:{}}function f(d,m){const{componentCls:i,sizePopupArrow:s,borderRadiusXS:a,borderRadiusOuter:r,boxShadowPopoverArrow:o}=d,{colorBg:e,contentRadius:n=d.borderRadiusLG,limitVerticalRadius:u,arrowDistance:p=0,arrowPlacement:E={left:!0,right:!0,top:!0,bottom:!0}}=m,{dropdownArrowOffsetVertical:S,dropdownArrowOffset:w}=b({contentRadius:n,limitVerticalRadius:u});return{[i]:Object.assign(Object.assign(Object.assign(Object.assign({[`${i}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,c.r)(s,a,r,e,o)),{"&:before":{background:e}})]},h(!!E.top,{[[`&-placement-top ${i}-arrow`,`&-placement-topLeft ${i}-arrow`,`&-placement-topRight ${i}-arrow`].join(",")]:{bottom:p,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${i}-arrow`]:{left:{_skip_check_:!0,value:w}},[`&-placement-topRight ${i}-arrow`]:{right:{_skip_check_:!0,value:w}}})),h(!!E.bottom,{[[`&-placement-bottom ${i}-arrow`,`&-placement-bottomLeft ${i}-arrow`,`&-placement-bottomRight ${i}-arrow`].join(",")]:{top:p,transform:"translateY(-100%)"},[`&-placement-bottom ${i}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${i}-arrow`]:{left:{_skip_check_:!0,value:w}},[`&-placement-bottomRight ${i}-arrow`]:{right:{_skip_check_:!0,value:w}}})),h(!!E.left,{[[`&-placement-left ${i}-arrow`,`&-placement-leftTop ${i}-arrow`,`&-placement-leftBottom ${i}-arrow`].join(",")]:{right:{_skip_check_:!0,value:p},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${i}-arrow`]:{top:S},[`&-placement-leftBottom ${i}-arrow`]:{bottom:S}})),h(!!E.right,{[[`&-placement-right ${i}-arrow`,`&-placement-rightTop ${i}-arrow`,`&-placement-rightBottom ${i}-arrow`].join(",")]:{left:{_skip_check_:!0,value:p},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${i}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${i}-arrow`]:{top:S},[`&-placement-rightBottom ${i}-arrow`]:{bottom:S}}))}}},47585:function(He,$,t){"use strict";t.d($,{r:function(){return c}});const c=(l,b,h,f,d)=>{const m=l/2,i=0,s=m,a=h*1/Math.sqrt(2),r=m-h*(1-1/Math.sqrt(2)),o=m-b*(1/Math.sqrt(2)),e=h*(Math.sqrt(2)-1)+b*(1/Math.sqrt(2)),n=2*m-o,u=e,p=2*m-a,E=r,S=2*m-i,w=s,y=m*Math.sqrt(2)+h*(Math.sqrt(2)-2),A=h*(Math.sqrt(2)-1);return{pointerEvents:"none",width:l,height:l,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:l,height:l/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${A}px 100%, 50% ${A}px, ${2*m-A}px 100%, ${A}px 100%)`,`path('M ${i} ${s} A ${h} ${h} 0 0 0 ${a} ${r} L ${o} ${e} A ${b} ${b} 0 0 1 ${n} ${u} L ${p} ${E} A ${h} ${h} 0 0 0 ${S} ${w} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:y,height:y,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${b}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:d,zIndex:0,background:"transparent"}}}},33166:function(He,$,t){"use strict";t.d($,{i:function(){return c}});const c=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(He,$,t){"use strict";t.d($,{Z:function(){return l}});var c=t(33166);function l(b,h){return c.i.reduce((f,d)=>{const m=b[`${d}1`],i=b[`${d}3`],s=b[`${d}6`],a=b[`${d}7`];return Object.assign(Object.assign({},f),h(d,{lightColor:m,lightBorderColor:i,darkColor:s,textColor:a}))},{})}},6848:function(He,$,t){"use strict";t.d($,{Z:function(){return Z}});var c=t(59301),l=t(92310),b=t.n(l),h=t(55477),f=t(18929),d=t(62892),m=t(79676),i=t(92343),s=t(36355),a=t(33234),r=t(88088),o=t(17313),e=t(29878),n=t(19447),u=t(45157),p=t(37613),E=t(83116);const S=N=>{const{componentCls:W,tooltipMaxWidth:L,tooltipColor:F,tooltipBg:x,tooltipBorderRadius:D,zIndexPopup:P,controlHeight:M,boxShadowSecondary:I,paddingSM:K,paddingXS:j,tooltipRadiusOuter:Q}=N;return[{[W]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.Wf)(N)),{position:"absolute",zIndex:P,display:"block",width:"max-content",maxWidth:L,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":x,[`${W}-inner`]:{minWidth:M,minHeight:M,padding:`${K/2}px ${j}px`,color:F,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:x,borderRadius:D,boxShadow:I,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${W}-inner`]:{borderRadius:Math.min(D,n.qN)}},[`${W}-content`]:{position:"relative"}}),(0,u.Z)(N,(J,q)=>{let{darkColor:U}=q;return{[`&${W}-${J}`]:{[`${W}-inner`]:{backgroundColor:U},[`${W}-arrow`]:{"--antd-arrow-background-color":U}}}})),{"&-rtl":{direction:"rtl"}})},(0,n.ZP)((0,p.TS)(N,{borderRadiusOuter:Q}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:D,limitVerticalRadius:!0}),{[`${W}-pure`]:{position:"relative",maxWidth:"none",margin:N.sizePopupArrow}}]};var w=(N,W)=>(0,E.Z)("Tooltip",F=>{if(W===!1)return[];const{borderRadius:x,colorTextLightSolid:D,colorBgDefault:P,borderRadiusOuter:M}=F,I=(0,p.TS)(F,{tooltipMaxWidth:250,tooltipColor:D,tooltipBorderRadius:x,tooltipBg:P,tooltipRadiusOuter:M>4?4:M});return[S(I),(0,e._y)(F,"zoom-big-fast")]},F=>{let{zIndexPopupBase:x,colorBgSpotlight:D}=F;return{zIndexPopup:x+70,colorBgDefault:D}},{resetStyle:!1})(N),y=t(36785);function A(N,W){const L=(0,y.o2)(W),F=b()({[`${N}-${W}`]:W&&L}),x={},D={};return W&&!L&&(x.background=W,D["--antd-arrow-background-color"]=W),{className:F,overlayStyle:x,arrowStyle:D}}var v=N=>{const{prefixCls:W,className:L,placement:F="top",title:x,color:D,overlayInnerStyle:P}=N,{getPrefixCls:M}=c.useContext(s.E_),I=M("tooltip",W),[K,j]=w(I,!0),Q=A(I,D),J=Q.arrowStyle,q=Object.assign(Object.assign({},P),Q.overlayStyle),U=b()(j,I,`${I}-pure`,`${I}-placement-${F}`,L,Q.className);return K(c.createElement("div",{className:U,style:J},c.createElement("div",{className:`${I}-arrow`}),c.createElement(h.G,Object.assign({},N,{className:j,prefixCls:I,overlayInnerStyle:q}),x)))},g=function(N,W){var L={};for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&W.indexOf(F)<0&&(L[F]=N[F]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,F=Object.getOwnPropertySymbols(N);x<F.length;x++)W.indexOf(F[x])<0&&Object.prototype.propertyIsEnumerable.call(N,F[x])&&(L[F[x]]=N[F[x]]);return L};const C=(N,W)=>{const L={},F=Object.assign({},N);return W.forEach(x=>{N&&x in N&&(L[x]=N[x],delete F[x])}),{picked:L,omitted:F}};function B(N,W){const L=N.type;if((L.__ANT_BUTTON===!0||N.type==="button")&&N.props.disabled||L.__ANT_SWITCH===!0&&(N.props.disabled||N.props.loading)||L.__ANT_RADIO===!0&&N.props.disabled){const{picked:F,omitted:x}=C(N.props.style,["position","left","right","top","bottom","float","display","zIndex"]),D=Object.assign(Object.assign({display:"inline-block"},F),{cursor:"not-allowed",width:N.props.block?"100%":void 0}),P=Object.assign(Object.assign({},x),{pointerEvents:"none"}),M=(0,i.Tm)(N,{style:P,className:null});return c.createElement("span",{style:D,className:b()(N.props.className,`${W}-disabled-compatible-wrapper`)},M)}return N}const O=c.forwardRef((N,W)=>{var L,F;const{prefixCls:x,openClassName:D,getTooltipContainer:P,overlayClassName:M,color:I,overlayInnerStyle:K,children:j,afterOpenChange:Q,afterVisibleChange:J,destroyTooltipOnHide:q,arrow:U=!0,title:G,overlay:te,builtinPlacements:Se,arrowPointAtCenter:oe=!1,autoAdjustOverflow:ae=!0}=N,he=!!U,[,re]=(0,r.Z)(),{getPopupContainer:ce,getPrefixCls:pe,direction:T}=c.useContext(s.E_),k=c.useRef(null),R=()=>{var rt;(rt=k.current)===null||rt===void 0||rt.forceAlign()};c.useImperativeHandle(W,()=>({forceAlign:R,forcePopupAlign:()=>{R()}}));const[H,z]=(0,f.Z)(!1,{value:(L=N.open)!==null&&L!==void 0?L:N.visible,defaultValue:(F=N.defaultOpen)!==null&&F!==void 0?F:N.defaultVisible}),V=!G&&!te&&G!==0,X=rt=>{var qe,nt;z(V?!1:rt),V||((qe=N.onOpenChange)===null||qe===void 0||qe.call(N,rt),(nt=N.onVisibleChange)===null||nt===void 0||nt.call(N,rt))},Y=c.useMemo(()=>{var rt,qe;let nt=oe;return typeof U=="object"&&(nt=(qe=(rt=U.pointAtCenter)!==null&&rt!==void 0?rt:U.arrowPointAtCenter)!==null&&qe!==void 0?qe:oe),Se||(0,m.Z)({arrowPointAtCenter:nt,autoAdjustOverflow:ae,arrowWidth:he?re.sizePopupArrow:0,borderRadius:re.borderRadius,offset:re.marginXXS,visibleFirst:!0})},[oe,U,Se,re]),ne=c.useMemo(()=>G===0?G:te||G||"",[te,G]),le=c.createElement(a.BR,null,typeof ne=="function"?ne():ne),{getPopupContainer:ie,placement:fe="top",mouseEnterDelay:ye=.1,mouseLeaveDelay:_e=.1,overlayStyle:ge,rootClassName:Ee}=N,Pe=g(N,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),De=pe("tooltip",x),Re=pe(),Ie=N["data-popover-inject"];let Oe=H;!("open"in N)&&!("visible"in N)&&V&&(Oe=!1);const Ve=B((0,i.l$)(j)&&!(0,i.M2)(j)?j:c.createElement("span",null,j),De),$e=Ve.props,Ye=!$e.className||typeof $e.className=="string"?b()($e.className,D||`${De}-open`):$e.className,[je,vt]=w(De,!Ie),ot=A(De,I),st=ot.arrowStyle,wt=Object.assign(Object.assign({},K),ot.overlayStyle),Rt=b()(M,{[`${De}-rtl`]:T==="rtl"},ot.className,Ee,vt);return je(c.createElement(h.Z,Object.assign({},Pe,{showArrow:he,placement:fe,mouseEnterDelay:ye,mouseLeaveDelay:_e,prefixCls:De,overlayClassName:Rt,overlayStyle:Object.assign(Object.assign({},st),ge),getTooltipContainer:ie||P||ce,ref:k,builtinPlacements:Y,overlay:le,visible:Oe,onVisibleChange:X,afterVisibleChange:Q!=null?Q:J,overlayInnerStyle:wt,arrowContent:c.createElement("span",{className:`${De}-arrow-content`}),motion:{motionName:(0,d.m)(Re,"zoom-big-fast",N.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!q}),Oe?(0,i.Tm)(Ve,{className:Ye}):Ve))});O._InternalPanelDoNotUseOrYouWillBeFired=v;var Z=O},24334:function(He,$,t){var c,l;(function(b,h){He.exports=h(b)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof t.g!="undefined"?t.g:this,function(b){"use strict";b=b||{};var h=b.Base64,f="2.6.4",d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=function(L){for(var F={},x=0,D=L.length;x<D;x++)F[L.charAt(x)]=x;return F}(d),i=String.fromCharCode,s=function(L){if(L.length<2){var F=L.charCodeAt(0);return F<128?L:F<2048?i(192|F>>>6)+i(128|F&63):i(224|F>>>12&15)+i(128|F>>>6&63)+i(128|F&63)}else{var F=65536+(L.charCodeAt(0)-55296)*1024+(L.charCodeAt(1)-56320);return i(240|F>>>18&7)+i(128|F>>>12&63)+i(128|F>>>6&63)+i(128|F&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,r=function(L){return L.replace(a,s)},o=function(L){var F=[0,2,1][L.length%3],x=L.charCodeAt(0)<<16|(L.length>1?L.charCodeAt(1):0)<<8|(L.length>2?L.charCodeAt(2):0),D=[d.charAt(x>>>18),d.charAt(x>>>12&63),F>=2?"=":d.charAt(x>>>6&63),F>=1?"=":d.charAt(x&63)];return D.join("")},e=b.btoa&&typeof b.btoa=="function"?function(L){return b.btoa(L)}:function(L){if(L.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return L.replace(/[\s\S]{1,3}/g,o)},n=function(L){return e(r(String(L)))},u=function(L){return L.replace(/[+\/]/g,function(F){return F=="+"?"-":"_"}).replace(/=/g,"")},p=function(L,F){return F?u(n(L)):n(L)},E=function(L){return p(L,!0)},S;b.Uint8Array&&(S=function(L,F){for(var x="",D=0,P=L.length;D<P;D+=3){var M=L[D],I=L[D+1],K=L[D+2],j=M<<16|I<<8|K;x+=d.charAt(j>>>18)+d.charAt(j>>>12&63)+(typeof I!="undefined"?d.charAt(j>>>6&63):"=")+(typeof K!="undefined"?d.charAt(j&63):"=")}return F?u(x):x});var w=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=function(L){switch(L.length){case 4:var F=(7&L.charCodeAt(0))<<18|(63&L.charCodeAt(1))<<12|(63&L.charCodeAt(2))<<6|63&L.charCodeAt(3),x=F-65536;return i((x>>>10)+55296)+i((x&1023)+56320);case 3:return i((15&L.charCodeAt(0))<<12|(63&L.charCodeAt(1))<<6|63&L.charCodeAt(2));default:return i((31&L.charCodeAt(0))<<6|63&L.charCodeAt(1))}},A=function(L){return L.replace(w,y)},_=function(L){var F=L.length,x=F%4,D=(F>0?m[L.charAt(0)]<<18:0)|(F>1?m[L.charAt(1)]<<12:0)|(F>2?m[L.charAt(2)]<<6:0)|(F>3?m[L.charAt(3)]:0),P=[i(D>>>16),i(D>>>8&255),i(D&255)];return P.length-=[0,0,2,1][x],P.join("")},v=b.atob&&typeof b.atob=="function"?function(L){return b.atob(L)}:function(L){return L.replace(/\S{1,4}/g,_)},g=function(L){return v(String(L).replace(/[^A-Za-z0-9\+\/]/g,""))},C=function(L){return A(v(L))},B=function(L){return String(L).replace(/[-_]/g,function(F){return F=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(L){return C(B(L))},Z;b.Uint8Array&&(Z=function(L){return Uint8Array.from(g(B(L)),function(F){return F.charCodeAt(0)})});var N=function(){var L=b.Base64;return b.Base64=h,L};if(b.Base64={VERSION:f,atob:g,btoa:e,fromBase64:O,toBase64:p,utob:r,encode:p,encodeURI:E,btou:A,decode:O,noConflict:N,fromUint8Array:S,toUint8Array:Z},typeof Object.defineProperty=="function"){var W=function(L){return{value:L,enumerable:!1,writable:!0,configurable:!0}};b.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",W(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",W(function(L){return p(this,L)})),Object.defineProperty(String.prototype,"toBase64URI",W(function(){return p(this,!0)}))}}return b.Meteor&&(Base64=b.Base64),He.exports?He.exports.Base64=b.Base64:(c=[],l=function(){return b.Base64}.apply($,c),l!==void 0&&(He.exports=l)),{Base64:b.Base64}})},5630:function(He,$,t){"use strict";var c=t(96663),l=t(44127),b=t(90493),h=t(72071),f=t(6620),d=t(92310),m=t.n(d),i=t(18929),s=t(59301),a=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],r=(0,s.forwardRef)(function(o,e){var n,u=o.prefixCls,p=u===void 0?"rc-checkbox":u,E=o.className,S=o.style,w=o.checked,y=o.disabled,A=o.defaultChecked,_=A===void 0?!1:A,v=o.type,g=v===void 0?"checkbox":v,C=o.title,B=o.onChange,O=(0,f.Z)(o,a),Z=(0,s.useRef)(null),N=(0,i.Z)(_,{value:w}),W=(0,h.Z)(N,2),L=W[0],F=W[1];(0,s.useImperativeHandle)(e,function(){return{focus:function(){var M;(M=Z.current)===null||M===void 0||M.focus()},blur:function(){var M;(M=Z.current)===null||M===void 0||M.blur()},input:Z.current}});var x=m()(p,E,(n={},(0,b.Z)(n,"".concat(p,"-checked"),L),(0,b.Z)(n,"".concat(p,"-disabled"),y),n)),D=function(M){y||("checked"in o||F(M.target.checked),B==null||B({target:(0,l.Z)((0,l.Z)({},o),{},{type:g,checked:M.target.checked}),stopPropagation:function(){M.stopPropagation()},preventDefault:function(){M.preventDefault()},nativeEvent:M.nativeEvent}))};return s.createElement("span",{className:x,title:C,style:S},s.createElement("input",(0,c.Z)({},O,{className:"".concat(p,"-input"),ref:Z,onChange:D,disabled:y,checked:!!L,type:g})),s.createElement("span",{className:"".concat(p,"-inner")}))});$.Z=r},31561:function(He,$,t){"use strict";t.d($,{Z:function(){return g}});var c=t(96663),l=t(90493),b=t(72071),h=t(6620),f=t(35593),d=t(92310),m=t.n(d),i=t(8654),s=t(59301),a=t(10228),r=t(16089),o=a.Z.ESC,e=a.Z.TAB;function n(C){var B=C.visible,O=C.triggerRef,Z=C.onVisibleChange,N=C.autoFocus,W=C.overlayRef,L=s.useRef(!1),F=function(){if(B){var M,I;(M=O.current)===null||M===void 0||(I=M.focus)===null||I===void 0||I.call(M),Z==null||Z(!1)}},x=function(){var M;return(M=W.current)!==null&&M!==void 0&&M.focus?(W.current.focus(),L.current=!0,!0):!1},D=function(M){switch(M.keyCode){case o:F();break;case e:{var I=!1;L.current||(I=x()),I?M.preventDefault():F();break}}};s.useEffect(function(){return B?(window.addEventListener("keydown",D),N&&(0,r.Z)(x,3),function(){window.removeEventListener("keydown",D),L.current=!1}):function(){L.current=!1}},[B])}var u=(0,s.forwardRef)(function(C,B){var O=C.overlay,Z=C.arrow,N=C.prefixCls,W=(0,s.useMemo)(function(){var F;return typeof O=="function"?F=O():F=O,F},[O]),L=(0,i.sQ)(B,W==null?void 0:W.ref);return s.createElement(s.Fragment,null,Z&&s.createElement("div",{className:"".concat(N,"-arrow")}),s.cloneElement(W,{ref:(0,i.Yr)(W)?L:void 0}))}),p=u,E={adjustX:1,adjustY:1},S=[0,0],w={topLeft:{points:["bl","tl"],overflow:E,offset:[0,-4],targetOffset:S},top:{points:["bc","tc"],overflow:E,offset:[0,-4],targetOffset:S},topRight:{points:["br","tr"],overflow:E,offset:[0,-4],targetOffset:S},bottomLeft:{points:["tl","bl"],overflow:E,offset:[0,4],targetOffset:S},bottom:{points:["tc","bc"],overflow:E,offset:[0,4],targetOffset:S},bottomRight:{points:["tr","br"],overflow:E,offset:[0,4],targetOffset:S}},y=w,A=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function _(C,B){var O,Z=C.arrow,N=Z===void 0?!1:Z,W=C.prefixCls,L=W===void 0?"rc-dropdown":W,F=C.transitionName,x=C.animation,D=C.align,P=C.placement,M=P===void 0?"bottomLeft":P,I=C.placements,K=I===void 0?y:I,j=C.getPopupContainer,Q=C.showAction,J=C.hideAction,q=C.overlayClassName,U=C.overlayStyle,G=C.visible,te=C.trigger,Se=te===void 0?["hover"]:te,oe=C.autoFocus,ae=C.overlay,he=C.children,re=C.onVisibleChange,ce=(0,h.Z)(C,A),pe=s.useState(),T=(0,b.Z)(pe,2),k=T[0],R=T[1],H="visible"in C?G:k,z=s.useRef(null),V=s.useRef(null),X=s.useRef(null);s.useImperativeHandle(B,function(){return z.current});var Y=function(Pe){R(Pe),re==null||re(Pe)};n({visible:H,triggerRef:X,onVisibleChange:Y,autoFocus:oe,overlayRef:V});var ne=function(Pe){var De=C.onOverlayClick;R(!1),De&&De(Pe)},le=function(){return s.createElement(p,{ref:V,overlay:ae,prefixCls:L,arrow:N})},ie=function(){return typeof ae=="function"?le:le()},fe=function(){var Pe=C.minOverlayWidthMatchTrigger,De=C.alignPoint;return"minOverlayWidthMatchTrigger"in C?Pe:!De},ye=function(){var Pe=C.openClassName;return Pe!==void 0?Pe:"".concat(L,"-open")},_e=s.cloneElement(he,{className:m()((O=he.props)===null||O===void 0?void 0:O.className,H&&ye()),ref:(0,i.Yr)(he)?(0,i.sQ)(X,he.ref):void 0}),ge=J;return!ge&&Se.indexOf("contextMenu")!==-1&&(ge=["click"]),s.createElement(f.Z,(0,c.Z)({builtinPlacements:K},ce,{prefixCls:L,ref:z,popupClassName:m()(q,(0,l.Z)({},"".concat(L,"-show-arrow"),N)),popupStyle:U,action:Se,showAction:Q,hideAction:ge,popupPlacement:M,popupAlign:D,popupTransitionName:F,popupAnimation:x,popupVisible:H,stretch:fe()?"minWidth":"",popup:ie(),onPopupVisibleChange:Y,onPopupClick:ne,getPopupContainer:j}),_e)}var v=s.forwardRef(_),g=v},93681:function(He,$,t){"use strict";t.r($),t.d($,{BaseInput:function(){return a},default:function(){return w}});var c=t(96663),l=t(44127),b=t(90493),h=t(20135),f=t(92310),d=t.n(f),m=t(59301),i=t(5643),s=function(A){var _,v,g=A.inputElement,C=A.prefixCls,B=A.prefix,O=A.suffix,Z=A.addonBefore,N=A.addonAfter,W=A.className,L=A.style,F=A.disabled,x=A.readOnly,D=A.focused,P=A.triggerFocus,M=A.allowClear,I=A.value,K=A.handleReset,j=A.hidden,Q=A.classes,J=A.classNames,q=A.dataAttrs,U=A.styles,G=A.components,te=(G==null?void 0:G.affixWrapper)||"span",Se=(G==null?void 0:G.groupWrapper)||"span",oe=(G==null?void 0:G.wrapper)||"span",ae=(G==null?void 0:G.groupAddon)||"span",he=(0,m.useRef)(null),re=function(le){var ie;(ie=he.current)!==null&&ie!==void 0&&ie.contains(le.target)&&(P==null||P())},ce=function(){var le;if(!M)return null;var ie=!F&&!x&&I,fe="".concat(C,"-clear-icon"),ye=(0,h.Z)(M)==="object"&&M!==null&&M!==void 0&&M.clearIcon?M.clearIcon:"\u2716";return m.createElement("span",{onClick:K,onMouseDown:function(ge){return ge.preventDefault()},className:d()(fe,(le={},(0,b.Z)(le,"".concat(fe,"-hidden"),!ie),(0,b.Z)(le,"".concat(fe,"-has-suffix"),!!O),le)),role:"button",tabIndex:-1},ye)},pe=(0,m.cloneElement)(g,{value:I,hidden:j,className:d()((_=g.props)===null||_===void 0?void 0:_.className,!(0,i.X3)(A)&&!(0,i.He)(A)&&W)||null,style:(0,l.Z)((0,l.Z)({},(v=g.props)===null||v===void 0?void 0:v.style),!(0,i.X3)(A)&&!(0,i.He)(A)?L:{})});if((0,i.X3)(A)){var T,k="".concat(C,"-affix-wrapper"),R=d()(k,(T={},(0,b.Z)(T,"".concat(k,"-disabled"),F),(0,b.Z)(T,"".concat(k,"-focused"),D),(0,b.Z)(T,"".concat(k,"-readonly"),x),(0,b.Z)(T,"".concat(k,"-input-with-clear-btn"),O&&M&&I),T),!(0,i.He)(A)&&W,Q==null?void 0:Q.affixWrapper,J==null?void 0:J.affixWrapper),H=(O||M)&&m.createElement("span",{className:d()("".concat(C,"-suffix"),J==null?void 0:J.suffix),style:U==null?void 0:U.suffix},ce(),O);pe=m.createElement(te,(0,c.Z)({className:R,style:(0,l.Z)((0,l.Z)({},(0,i.He)(A)?void 0:L),U==null?void 0:U.affixWrapper),hidden:!(0,i.He)(A)&&j,onClick:re},q==null?void 0:q.affixWrapper,{ref:he}),B&&m.createElement("span",{className:d()("".concat(C,"-prefix"),J==null?void 0:J.prefix),style:U==null?void 0:U.prefix},B),(0,m.cloneElement)(g,{value:I,hidden:null}),H)}if((0,i.He)(A)){var z="".concat(C,"-group"),V="".concat(z,"-addon"),X=d()("".concat(C,"-wrapper"),z,Q==null?void 0:Q.wrapper),Y=d()("".concat(C,"-group-wrapper"),W,Q==null?void 0:Q.group);return m.createElement(Se,{className:Y,style:L,hidden:j},m.createElement(oe,{className:X},Z&&m.createElement(ae,{className:V},Z),(0,m.cloneElement)(pe,{hidden:null}),N&&m.createElement(ae,{className:V},N)))}return pe},a=s,r=t(19127),o=t(72071),e=t(6620),n=t(18929),u=t(2738),p=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],E=(0,m.forwardRef)(function(y,A){var _=y.autoComplete,v=y.onChange,g=y.onFocus,C=y.onBlur,B=y.onPressEnter,O=y.onKeyDown,Z=y.prefixCls,N=Z===void 0?"rc-input":Z,W=y.disabled,L=y.htmlSize,F=y.className,x=y.maxLength,D=y.suffix,P=y.showCount,M=y.type,I=M===void 0?"text":M,K=y.classes,j=y.classNames,Q=y.styles,J=(0,e.Z)(y,p),q=(0,n.Z)(y.defaultValue,{value:y.value}),U=(0,o.Z)(q,2),G=U[0],te=U[1],Se=(0,m.useState)(!1),oe=(0,o.Z)(Se,2),ae=oe[0],he=oe[1],re=(0,m.useRef)(null),ce=function(Y){re.current&&(0,i.nH)(re.current,Y)};(0,m.useImperativeHandle)(A,function(){return{focus:ce,blur:function(){var Y;(Y=re.current)===null||Y===void 0||Y.blur()},setSelectionRange:function(Y,ne,le){var ie;(ie=re.current)===null||ie===void 0||ie.setSelectionRange(Y,ne,le)},select:function(){var Y;(Y=re.current)===null||Y===void 0||Y.select()},input:re.current}}),(0,m.useEffect)(function(){he(function(X){return X&&W?!1:X})},[W]);var pe=function(Y){y.value===void 0&&te(Y.target.value),re.current&&(0,i.rJ)(re.current,Y,v)},T=function(Y){B&&Y.key==="Enter"&&B(Y),O==null||O(Y)},k=function(Y){he(!0),g==null||g(Y)},R=function(Y){he(!1),C==null||C(Y)},H=function(Y){te(""),ce(),re.current&&(0,i.rJ)(re.current,Y,v)},z=function(){var Y=(0,u.Z)(y,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return m.createElement("input",(0,c.Z)({autoComplete:_},Y,{onChange:pe,onFocus:k,onBlur:R,onKeyDown:T,className:d()(N,(0,b.Z)({},"".concat(N,"-disabled"),W),j==null?void 0:j.input),style:Q==null?void 0:Q.input,ref:re,size:L,type:I}))},V=function(){var Y=Number(x)>0;if(D||P){var ne=(0,i.D7)(G),le=(0,r.Z)(ne).length,ie=(0,h.Z)(P)==="object"?P.formatter({value:ne,count:le,maxLength:x}):"".concat(le).concat(Y?" / ".concat(x):"");return m.createElement(m.Fragment,null,!!P&&m.createElement("span",{className:d()("".concat(N,"-show-count-suffix"),(0,b.Z)({},"".concat(N,"-show-count-has-suffix"),!!D),j==null?void 0:j.count),style:(0,l.Z)({},Q==null?void 0:Q.count)},ie),D)}return null};return m.createElement(a,(0,c.Z)({},J,{prefixCls:N,className:F,inputElement:z(),handleReset:H,value:(0,i.D7)(G),focused:ae,triggerFocus:ce,suffix:V(),disabled:W,classes:K,classNames:j,styles:Q}))}),S=E,w=S},5643:function(He,$,t){"use strict";t.d($,{D7:function(){return f},He:function(){return c},X3:function(){return l},nH:function(){return h},rJ:function(){return b}});function c(d){return!!(d.addonBefore||d.addonAfter)}function l(d){return!!(d.prefix||d.suffix||d.allowClear)}function b(d,m,i,s){if(i){var a=m;if(m.type==="click"){var r=d.cloneNode(!0);a=Object.create(m,{target:{value:r},currentTarget:{value:r}}),r.value="",i(a);return}if(s!==void 0){a=Object.create(m,{target:{value:d},currentTarget:{value:d}}),d.value=s,i(a);return}i(a)}}function h(d,m){if(d){d.focus(m);var i=m||{},s=i.cursor;if(s){var a=d.value.length;switch(s){case"start":d.setSelectionRange(0,0);break;case"end":d.setSelectionRange(a,a);break;default:d.setSelectionRange(0,a)}}}}function f(d){return typeof d=="undefined"||d===null?"":String(d)}},15285:function(He,$,t){"use strict";t.d($,{iz:function(){return it},ck:function(){return qe},BW:function(){return ft},sN:function(){return qe},Wd:function(){return Ke},ZP:function(){return ze},Xl:function(){return O}});var c=t(96663),l=t(90493),b=t(44127),h=t(19127),f=t(72071),d=t(6620),m=t(92310),i=t.n(m),s=t(11780),a=t(18929),r=t(13697),o=t(48736),e=t(59301),n=t(4676),u=e.createContext(null);function p(ee,se){return ee===void 0?null:"".concat(ee,"-").concat(se)}function E(ee){var se=e.useContext(u);return p(se,ee)}var S=t(80547),w=["children","locked"],y=e.createContext(null);function A(ee,se){var ve=(0,b.Z)({},ee);return Object.keys(se).forEach(function(Ce){var ue=se[Ce];ue!==void 0&&(ve[Ce]=ue)}),ve}function _(ee){var se=ee.children,ve=ee.locked,Ce=(0,d.Z)(ee,w),ue=e.useContext(y),Ae=(0,S.Z)(function(){return A(ue,Ce)},[ue,Ce],function(we,Ue){return!ve&&(we[0]!==Ue[0]||!(0,r.Z)(we[1],Ue[1],!0))});return e.createElement(y.Provider,{value:Ae},se)}var v=[],g=e.createContext(null);function C(){return e.useContext(g)}var B=e.createContext(v);function O(ee){var se=e.useContext(B);return e.useMemo(function(){return ee!==void 0?[].concat((0,h.Z)(se),[ee]):se},[se,ee])}var Z=e.createContext(null),N=e.createContext({}),W=N,L=t(29194);function F(ee){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,L.Z)(ee)){var ve=ee.nodeName.toLowerCase(),Ce=["input","select","textarea","button"].includes(ve)||ee.isContentEditable||ve==="a"&&!!ee.getAttribute("href"),ue=ee.getAttribute("tabindex"),Ae=Number(ue),we=null;return ue&&!Number.isNaN(Ae)?we=Ae:Ce&&we===null&&(we=0),Ce&&ee.disabled&&(we=null),we!==null&&(we>=0||se&&we<0)}return!1}function x(ee){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ve=(0,h.Z)(ee.querySelectorAll("*")).filter(function(Ce){return F(Ce,se)});return F(ee,se)&&ve.unshift(ee),ve}var D=null;function P(){D=document.activeElement}function M(){D=null}function I(){if(D)try{D.focus()}catch(ee){}}function K(ee,se){if(se.keyCode===9){var ve=x(ee),Ce=ve[se.shiftKey?0:ve.length-1],ue=Ce===document.activeElement||ee===document.activeElement;if(ue){var Ae=ve[se.shiftKey?ve.length-1:0];Ae.focus(),se.preventDefault()}}}var j=t(10228),Q=t(16089),J=j.Z.LEFT,q=j.Z.RIGHT,U=j.Z.UP,G=j.Z.DOWN,te=j.Z.ENTER,Se=j.Z.ESC,oe=j.Z.HOME,ae=j.Z.END,he=[U,G,J,q];function re(ee,se,ve,Ce){var ue,Ae,we,Ue,et="prev",Ze="next",xt="children",at="parent";if(ee==="inline"&&Ce===te)return{inlineTrigger:!0};var pt=(ue={},(0,l.Z)(ue,U,et),(0,l.Z)(ue,G,Ze),ue),tt=(Ae={},(0,l.Z)(Ae,J,ve?Ze:et),(0,l.Z)(Ae,q,ve?et:Ze),(0,l.Z)(Ae,G,xt),(0,l.Z)(Ae,te,xt),Ae),We=(we={},(0,l.Z)(we,U,et),(0,l.Z)(we,G,Ze),(0,l.Z)(we,te,xt),(0,l.Z)(we,Se,at),(0,l.Z)(we,J,ve?xt:at),(0,l.Z)(we,q,ve?at:xt),we),Et={inline:pt,horizontal:tt,vertical:We,inlineSub:pt,horizontalSub:We,verticalSub:We},St=(Ue=Et["".concat(ee).concat(se?"":"Sub")])===null||Ue===void 0?void 0:Ue[Ce];switch(St){case et:return{offset:-1,sibling:!0};case Ze:return{offset:1,sibling:!0};case at:return{offset:-1,sibling:!1};case xt:return{offset:1,sibling:!1};default:return null}}function ce(ee){for(var se=ee;se;){if(se.getAttribute("data-menu-list"))return se;se=se.parentElement}return null}function pe(ee,se){for(var ve=ee||document.activeElement;ve;){if(se.has(ve))return ve;ve=ve.parentElement}return null}function T(ee,se){var ve=x(ee,!0);return ve.filter(function(Ce){return se.has(Ce)})}function k(ee,se,ve){var Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ee)return null;var ue=T(ee,se),Ae=ue.length,we=ue.findIndex(function(Ue){return ve===Ue});return Ce<0?we===-1?we=Ae-1:we-=1:Ce>0&&(we+=1),we=(we+Ae)%Ae,ue[we]}var R=function(se,ve){var Ce=new Set,ue=new Map,Ae=new Map;return se.forEach(function(we){var Ue=document.querySelector("[data-menu-id='".concat(p(ve,we),"']"));Ue&&(Ce.add(Ue),Ae.set(Ue,we),ue.set(we,Ue))}),{elements:Ce,key2element:ue,element2key:Ae}};function H(ee,se,ve,Ce,ue,Ae,we,Ue,et,Ze){var xt=e.useRef(),at=e.useRef();at.current=se;var pt=function(){Q.Z.cancel(xt.current)};return e.useEffect(function(){return function(){pt()}},[]),function(tt){var We=tt.which;if([].concat(he,[te,Se,oe,ae]).includes(We)){var Et=Ae(),St=R(Et,Ce),Dt=St,_t=Dt.elements,ht=Dt.key2element,ct=Dt.element2key,lt=ht.get(se),Ot=pe(lt,_t),Wt=ct.get(Ot),At=re(ee,we(Wt,!0).length===1,ve,We);if(!At&&We!==oe&&We!==ae)return;(he.includes(We)||[oe,ae].includes(We))&&tt.preventDefault();var or=function(Ut){if(Ut){var Qt=Ut,ur=Ut.querySelector("a");ur!=null&&ur.getAttribute("href")&&(Qt=ur);var Lt=ct.get(Ut);Ue(Lt),pt(),xt.current=(0,Q.Z)(function(){at.current===Lt&&Qt.focus()})}};if([oe,ae].includes(We)||At.sibling||!Ot){var It;!Ot||ee==="inline"?It=ue.current:It=ce(Ot);var Zt,kt=T(It,_t);We===oe?Zt=kt[0]:We===ae?Zt=kt[kt.length-1]:Zt=k(It,_t,Ot,At.offset),or(Zt)}else if(At.inlineTrigger)et(Wt);else if(At.offset>0)et(Wt,!0),pt(),xt.current=(0,Q.Z)(function(){St=R(Et,Ce);var cr=Ot.getAttribute("aria-controls"),Ut=document.getElementById(cr),Qt=k(Ut,St.elements);or(Qt)},5);else if(At.offset<0){var jt=we(Wt,!0),Yt=jt[jt.length-2],er=ht.get(Yt);et(Yt,!1),or(er)}}Ze==null||Ze(tt)}}function z(ee){Promise.resolve().then(ee)}var V="__RC_UTIL_PATH_SPLIT__",X=function(se){return se.join(V)},Y=function(se){return se.split(V)},ne="rc-menu-more";function le(){var ee=e.useState({}),se=(0,f.Z)(ee,2),ve=se[1],Ce=(0,e.useRef)(new Map),ue=(0,e.useRef)(new Map),Ae=e.useState([]),we=(0,f.Z)(Ae,2),Ue=we[0],et=we[1],Ze=(0,e.useRef)(0),xt=(0,e.useRef)(!1),at=function(){xt.current||ve({})},pt=(0,e.useCallback)(function(ht,ct){var lt=X(ct);ue.current.set(lt,ht),Ce.current.set(ht,lt),Ze.current+=1;var Ot=Ze.current;z(function(){Ot===Ze.current&&at()})},[]),tt=(0,e.useCallback)(function(ht,ct){var lt=X(ct);ue.current.delete(lt),Ce.current.delete(ht)},[]),We=(0,e.useCallback)(function(ht){et(ht)},[]),Et=(0,e.useCallback)(function(ht,ct){var lt=Ce.current.get(ht)||"",Ot=Y(lt);return ct&&Ue.includes(Ot[0])&&Ot.unshift(ne),Ot},[Ue]),St=(0,e.useCallback)(function(ht,ct){return ht.some(function(lt){var Ot=Et(lt,!0);return Ot.includes(ct)})},[Et]),Dt=function(){var ct=(0,h.Z)(Ce.current.keys());return Ue.length&&ct.push(ne),ct},_t=(0,e.useCallback)(function(ht){var ct="".concat(Ce.current.get(ht)).concat(V),lt=new Set;return(0,h.Z)(ue.current.keys()).forEach(function(Ot){Ot.startsWith(ct)&<.add(ue.current.get(Ot))}),lt},[]);return e.useEffect(function(){return function(){xt.current=!0}},[]),{registerPath:pt,unregisterPath:tt,refreshOverflowKeys:We,isSubPathKey:St,getKeyPath:Et,getKeys:Dt,getSubPathKeys:_t}}function ie(ee){var se=e.useRef(ee);se.current=ee;var ve=e.useCallback(function(){for(var Ce,ue=arguments.length,Ae=new Array(ue),we=0;we<ue;we++)Ae[we]=arguments[we];return(Ce=se.current)===null||Ce===void 0?void 0:Ce.call.apply(Ce,[se].concat(Ae))},[]);return ee?ve:void 0}var fe=Math.random().toFixed(5).toString().slice(2),ye=0;function _e(ee){var se=(0,a.Z)(ee,{value:ee}),ve=(0,f.Z)(se,2),Ce=ve[0],ue=ve[1];return e.useEffect(function(){ye+=1;var Ae="".concat(fe,"-").concat(ye);ue("rc-menu-uuid-".concat(Ae))},[]),Ce}var ge=t(52884),Ee=t(95727),Pe=t(65711),De=t(85745),Re=t(2738),Ie=t(8654);function Oe(ee,se,ve,Ce){var ue=e.useContext(y),Ae=ue.activeKey,we=ue.onActive,Ue=ue.onInactive,et={active:Ae===ee};return se||(et.onMouseEnter=function(Ze){ve==null||ve({key:ee,domEvent:Ze}),we(ee)},et.onMouseLeave=function(Ze){Ce==null||Ce({key:ee,domEvent:Ze}),Ue(ee)}),et}function Ve(ee){var se=e.useContext(y),ve=se.mode,Ce=se.rtl,ue=se.inlineIndent;if(ve!=="inline")return null;var Ae=ee;return Ce?{paddingRight:Ae*ue}:{paddingLeft:Ae*ue}}function $e(ee){var se=ee.icon,ve=ee.props,Ce=ee.children,ue;return se===null||se===!1?null:(typeof se=="function"?ue=e.createElement(se,(0,b.Z)({},ve)):typeof se!="boolean"&&(ue=se),ue||Ce||null)}var Ye=["item"];function je(ee){var se=ee.item,ve=(0,d.Z)(ee,Ye);return Object.defineProperty(ve,"item",{get:function(){return(0,o.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),se}}),ve}var vt=["title","attribute","elementRef"],ot=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],st=["active"],wt=function(ee){(0,Pe.Z)(ve,ee);var se=(0,De.Z)(ve);function ve(){return(0,ge.Z)(this,ve),se.apply(this,arguments)}return(0,Ee.Z)(ve,[{key:"render",value:function(){var ue=this.props,Ae=ue.title,we=ue.attribute,Ue=ue.elementRef,et=(0,d.Z)(ue,vt),Ze=(0,Re.Z)(et,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,o.ZP)(!we,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),e.createElement(s.Z.Item,(0,c.Z)({},we,{title:typeof Ae=="string"?Ae:void 0},Ze,{ref:Ue}))}}]),ve}(e.Component),Rt=e.forwardRef(function(ee,se){var ve,Ce=ee.style,ue=ee.className,Ae=ee.eventKey,we=ee.warnKey,Ue=ee.disabled,et=ee.itemIcon,Ze=ee.children,xt=ee.role,at=ee.onMouseEnter,pt=ee.onMouseLeave,tt=ee.onClick,We=ee.onKeyDown,Et=ee.onFocus,St=(0,d.Z)(ee,ot),Dt=E(Ae),_t=e.useContext(y),ht=_t.prefixCls,ct=_t.onItemClick,lt=_t.disabled,Ot=_t.overflowDisabled,Wt=_t.itemIcon,At=_t.selectedKeys,or=_t.onActive,It=e.useContext(W),Zt=It._internalRenderMenuItem,kt="".concat(ht,"-item"),jt=e.useRef(),Yt=e.useRef(),er=lt||Ue,cr=(0,Ie.x1)(se,Yt),Ut=O(Ae),Qt=function(Nt){return{key:Ae,keyPath:(0,h.Z)(Ut).reverse(),item:jt.current,domEvent:Nt}},ur=et||Wt,Lt=Oe(Ae,er,at,pt),Cr=Lt.active,Ar=(0,d.Z)(Lt,st),_r=At.includes(Ae),Sr=Ve(Ut.length),dr=function(Nt){if(!er){var tr=Qt(Nt);tt==null||tt(je(tr)),ct(tr)}},qt=function(Nt){if(We==null||We(Nt),Nt.which===j.Z.ENTER){var tr=Qt(Nt);tt==null||tt(je(tr)),ct(tr)}},ar=function(Nt){or(Ae),Et==null||Et(Nt)},hr={};ee.role==="option"&&(hr["aria-selected"]=_r);var wr=e.createElement(wt,(0,c.Z)({ref:jt,elementRef:cr,role:xt===null?"none":xt||"menuitem",tabIndex:Ue?null:-1,"data-menu-id":Ot&&Dt?null:Dt},St,Ar,hr,{component:"li","aria-disabled":Ue,style:(0,b.Z)((0,b.Z)({},Sr),Ce),className:i()(kt,(ve={},(0,l.Z)(ve,"".concat(kt,"-active"),Cr),(0,l.Z)(ve,"".concat(kt,"-selected"),_r),(0,l.Z)(ve,"".concat(kt,"-disabled"),er),ve),ue),onClick:dr,onKeyDown:qt,onFocus:ar}),Ze,e.createElement($e,{props:(0,b.Z)((0,b.Z)({},ee),{},{isSelected:_r}),icon:ur}));return Zt&&(wr=Zt(wr,ee,{selected:_r})),wr});function rt(ee,se){var ve=ee.eventKey,Ce=C(),ue=O(ve);return e.useEffect(function(){if(Ce)return Ce.registerPath(ve,ue),function(){Ce.unregisterPath(ve,ue)}},[ue]),Ce?null:e.createElement(Rt,(0,c.Z)({},ee,{ref:se}))}var qe=e.forwardRef(rt),nt=["className","children"],mt=function(se,ve){var Ce=se.className,ue=se.children,Ae=(0,d.Z)(se,nt),we=e.useContext(y),Ue=we.prefixCls,et=we.mode,Ze=we.rtl;return e.createElement("ul",(0,c.Z)({className:i()(Ue,Ze&&"".concat(Ue,"-rtl"),"".concat(Ue,"-sub"),"".concat(Ue,"-").concat(et==="inline"?"inline":"vertical"),Ce),role:"menu"},Ae,{"data-menu-list":!0,ref:ve}),ue)},Xe=e.forwardRef(mt);Xe.displayName="SubMenuList";var bt=Xe,ut=t(11592);function yt(ee,se){return(0,ut.Z)(ee).map(function(ve,Ce){if(e.isValidElement(ve)){var ue,Ae,we=ve.key,Ue=(ue=(Ae=ve.props)===null||Ae===void 0?void 0:Ae.eventKey)!==null&&ue!==void 0?ue:we,et=Ue==null;et&&(Ue="tmp_key-".concat([].concat((0,h.Z)(se),[Ce]).join("-")));var Ze={key:Ue,eventKey:Ue};return e.cloneElement(ve,Ze)}return ve})}var Mt=t(35593),Ct={adjustX:1,adjustY:1},Ht={topLeft:{points:["bl","tl"],overflow:Ct},topRight:{points:["br","tr"],overflow:Ct},bottomLeft:{points:["tl","bl"],overflow:Ct},bottomRight:{points:["tr","br"],overflow:Ct},leftTop:{points:["tr","tl"],overflow:Ct},leftBottom:{points:["br","bl"],overflow:Ct},rightTop:{points:["tl","tr"],overflow:Ct},rightBottom:{points:["bl","br"],overflow:Ct}},xe={topLeft:{points:["bl","tl"],overflow:Ct},topRight:{points:["br","tr"],overflow:Ct},bottomLeft:{points:["tl","bl"],overflow:Ct},bottomRight:{points:["tr","br"],overflow:Ct},rightTop:{points:["tr","tl"],overflow:Ct},rightBottom:{points:["br","bl"],overflow:Ct},leftTop:{points:["tl","tr"],overflow:Ct},leftBottom:{points:["bl","br"],overflow:Ct}},be=null;function de(ee,se,ve){if(se)return se;if(ve)return ve[ee]||ve.other}var me={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Le(ee){var se=ee.prefixCls,ve=ee.visible,Ce=ee.children,ue=ee.popup,Ae=ee.popupStyle,we=ee.popupClassName,Ue=ee.popupOffset,et=ee.disabled,Ze=ee.mode,xt=ee.onVisibleChange,at=e.useContext(y),pt=at.getPopupContainer,tt=at.rtl,We=at.subMenuOpenDelay,Et=at.subMenuCloseDelay,St=at.builtinPlacements,Dt=at.triggerSubMenuAction,_t=at.forceSubMenuRender,ht=at.rootClassName,ct=at.motion,lt=at.defaultMotions,Ot=e.useState(!1),Wt=(0,f.Z)(Ot,2),At=Wt[0],or=Wt[1],It=tt?(0,b.Z)((0,b.Z)({},xe),St):(0,b.Z)((0,b.Z)({},Ht),St),Zt=me[Ze],kt=de(Ze,ct,lt),jt=e.useRef(kt);Ze!=="inline"&&(jt.current=kt);var Yt=(0,b.Z)((0,b.Z)({},jt.current),{},{leavedClassName:"".concat(se,"-hidden"),removeOnLeave:!1,motionAppear:!0}),er=e.useRef();return e.useEffect(function(){return er.current=(0,Q.Z)(function(){or(ve)}),function(){Q.Z.cancel(er.current)}},[ve]),e.createElement(Mt.Z,{prefixCls:se,popupClassName:i()("".concat(se,"-popup"),(0,l.Z)({},"".concat(se,"-rtl"),tt),we,ht),stretch:Ze==="horizontal"?"minWidth":null,getPopupContainer:pt,builtinPlacements:It,popupPlacement:Zt,popupVisible:At,popup:ue,popupStyle:Ae,popupAlign:Ue&&{offset:Ue},action:et?[]:[Dt],mouseEnterDelay:We,mouseLeaveDelay:Et,onPopupVisibleChange:xt,forceRender:_t,popupMotion:Yt,fresh:!0},Ce)}var Je=t(77900);function Te(ee){var se=ee.id,ve=ee.open,Ce=ee.keyPath,ue=ee.children,Ae="inline",we=e.useContext(y),Ue=we.prefixCls,et=we.forceSubMenuRender,Ze=we.motion,xt=we.defaultMotions,at=we.mode,pt=e.useRef(!1);pt.current=at===Ae;var tt=e.useState(!pt.current),We=(0,f.Z)(tt,2),Et=We[0],St=We[1],Dt=pt.current?ve:!1;e.useEffect(function(){pt.current&&St(!1)},[at]);var _t=(0,b.Z)({},de(Ae,Ze,xt));Ce.length>1&&(_t.motionAppear=!1);var ht=_t.onVisibleChanged;return _t.onVisibleChanged=function(ct){return!pt.current&&!ct&&St(!0),ht==null?void 0:ht(ct)},Et?null:e.createElement(_,{mode:Ae,locked:!pt.current},e.createElement(Je.default,(0,c.Z)({visible:Dt},_t,{forceRender:et,removeOnLeave:!1,leavedClassName:"".concat(Ue,"-hidden")}),function(ct){var lt=ct.className,Ot=ct.style;return e.createElement(bt,{id:se,className:lt,style:Ot},ue)}))}var Fe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Be=["active"],Ge=function(se){var ve,Ce=se.style,ue=se.className,Ae=se.title,we=se.eventKey,Ue=se.warnKey,et=se.disabled,Ze=se.internalPopupClose,xt=se.children,at=se.itemIcon,pt=se.expandIcon,tt=se.popupClassName,We=se.popupOffset,Et=se.popupStyle,St=se.onClick,Dt=se.onMouseEnter,_t=se.onMouseLeave,ht=se.onTitleClick,ct=se.onTitleMouseEnter,lt=se.onTitleMouseLeave,Ot=(0,d.Z)(se,Fe),Wt=E(we),At=e.useContext(y),or=At.prefixCls,It=At.mode,Zt=At.openKeys,kt=At.disabled,jt=At.overflowDisabled,Yt=At.activeKey,er=At.selectedKeys,cr=At.itemIcon,Ut=At.expandIcon,Qt=At.onItemClick,ur=At.onOpenChange,Lt=At.onActive,Cr=e.useContext(W),Ar=Cr._internalRenderSubMenuItem,_r=e.useContext(Z),Sr=_r.isSubPathKey,dr=O(),qt="".concat(or,"-submenu"),ar=kt||et,hr=e.useRef(),wr=e.useRef(),vr=at!=null?at:cr,Nt=pt!=null?pt:Ut,tr=Zt.includes(we),fr=!jt&&tr,Rr=Sr(er,we),lr=Oe(we,ar,ct,lt),xr=lr.active,Or=(0,d.Z)(lr,Be),Pr=e.useState(!1),Fr=(0,f.Z)(Pr,2),Br=Fr[0],zr=Fr[1],Hr=function(nr){ar||zr(nr)},pr=function(nr){Hr(!0),Dt==null||Dt({key:we,domEvent:nr})},Zr=function(nr){Hr(!1),_t==null||_t({key:we,domEvent:nr})},kr=e.useMemo(function(){return xr||(It!=="inline"?Br||Sr([Yt],we):!1)},[It,xr,Yt,Br,we,Sr]),Nr=Ve(dr.length),Ur=function(nr){ar||(ht==null||ht({key:we,domEvent:nr}),It==="inline"&&ur(we,!tr))},Lr=ie(function(sr){St==null||St(je(sr)),Qt(sr)}),Mr=function(nr){It!=="inline"&&ur(we,nr)},jr=function(){Lt(we)},rr=Wt&&"".concat(Wt,"-popup"),Dr=e.createElement("div",(0,c.Z)({role:"menuitem",style:Nr,className:"".concat(qt,"-title"),tabIndex:ar?null:-1,ref:hr,title:typeof Ae=="string"?Ae:null,"data-menu-id":jt&&Wt?null:Wt,"aria-expanded":fr,"aria-haspopup":!0,"aria-controls":rr,"aria-disabled":ar,onClick:Ur,onFocus:jr},Or),Ae,e.createElement($e,{icon:It!=="horizontal"?Nt:void 0,props:(0,b.Z)((0,b.Z)({},se),{},{isOpen:fr,isSubMenu:!0})},e.createElement("i",{className:"".concat(qt,"-arrow")}))),Kt=e.useRef(It);if(It!=="inline"&&dr.length>1?Kt.current="vertical":Kt.current=It,!jt){var mr=Kt.current;Dr=e.createElement(Le,{mode:mr,prefixCls:qt,visible:!Ze&&fr&&It!=="inline",popupClassName:tt,popupOffset:We,popupStyle:Et,popup:e.createElement(_,{mode:mr==="horizontal"?"vertical":mr},e.createElement(bt,{id:rr,ref:wr},xt)),disabled:ar,onVisibleChange:Mr},Dr)}var gr=e.createElement(s.Z.Item,(0,c.Z)({role:"none"},Ot,{component:"li",style:Ce,className:i()(qt,"".concat(qt,"-").concat(It),ue,(ve={},(0,l.Z)(ve,"".concat(qt,"-open"),fr),(0,l.Z)(ve,"".concat(qt,"-active"),kr),(0,l.Z)(ve,"".concat(qt,"-selected"),Rr),(0,l.Z)(ve,"".concat(qt,"-disabled"),ar),ve)),onMouseEnter:pr,onMouseLeave:Zr}),Dr,!jt&&e.createElement(Te,{id:rr,open:fr,keyPath:dr},xt));return Ar&&(gr=Ar(gr,se,{selected:Rr,active:kr,open:fr,disabled:ar})),e.createElement(_,{onItemClick:Lr,mode:It==="horizontal"?"vertical":It,itemIcon:vr,expandIcon:Nt},gr)};function Ke(ee){var se=ee.eventKey,ve=ee.children,Ce=O(se),ue=yt(ve,Ce),Ae=C();e.useEffect(function(){if(Ae)return Ae.registerPath(se,Ce),function(){Ae.unregisterPath(se,Ce)}},[Ce]);var we;return Ae?we=ue:we=e.createElement(Ge,ee,ue),e.createElement(B.Provider,{value:Ce},we)}var Me=t(20135),dt=["className","title","eventKey","children"],gt=["children"],ke=function(se){var ve=se.className,Ce=se.title,ue=se.eventKey,Ae=se.children,we=(0,d.Z)(se,dt),Ue=e.useContext(y),et=Ue.prefixCls,Ze="".concat(et,"-item-group");return e.createElement("li",(0,c.Z)({role:"presentation"},we,{onClick:function(at){return at.stopPropagation()},className:i()(Ze,ve)}),e.createElement("div",{role:"presentation",className:"".concat(Ze,"-title"),title:typeof Ce=="string"?Ce:void 0},Ce),e.createElement("ul",{role:"group",className:"".concat(Ze,"-list")},Ae))};function ft(ee){var se=ee.children,ve=(0,d.Z)(ee,gt),Ce=O(ve.eventKey),ue=yt(se,Ce),Ae=C();return Ae?ue:e.createElement(ke,(0,Re.Z)(ve,["warnKey"]),ue)}function it(ee){var se=ee.className,ve=ee.style,Ce=e.useContext(y),ue=Ce.prefixCls,Ae=C();return Ae?null:e.createElement("li",{role:"separator",className:i()("".concat(ue,"-item-divider"),se),style:ve})}var Jt=["label","children","key","type"];function Xt(ee){return(ee||[]).map(function(se,ve){if(se&&(0,Me.Z)(se)==="object"){var Ce=se,ue=Ce.label,Ae=Ce.children,we=Ce.key,Ue=Ce.type,et=(0,d.Z)(Ce,Jt),Ze=we!=null?we:"tmp-".concat(ve);return Ae||Ue==="group"?Ue==="group"?e.createElement(ft,(0,c.Z)({key:Ze},et,{title:ue}),Xt(Ae)):e.createElement(Ke,(0,c.Z)({key:Ze},et,{title:ue}),Xt(Ae)):Ue==="divider"?e.createElement(it,(0,c.Z)({key:Ze},et)):e.createElement(qe,(0,c.Z)({key:Ze},et),ue)}return null}).filter(function(se){return se})}function ir(ee,se,ve){var Ce=ee;return se&&(Ce=Xt(se)),yt(Ce,ve)}var Ir=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Bt=[],Er=e.forwardRef(function(ee,se){var ve,Ce,ue=ee,Ae=ue.prefixCls,we=Ae===void 0?"rc-menu":Ae,Ue=ue.rootClassName,et=ue.style,Ze=ue.className,xt=ue.tabIndex,at=xt===void 0?0:xt,pt=ue.items,tt=ue.children,We=ue.direction,Et=ue.id,St=ue.mode,Dt=St===void 0?"vertical":St,_t=ue.inlineCollapsed,ht=ue.disabled,ct=ue.disabledOverflow,lt=ue.subMenuOpenDelay,Ot=lt===void 0?.1:lt,Wt=ue.subMenuCloseDelay,At=Wt===void 0?.1:Wt,or=ue.forceSubMenuRender,It=ue.defaultOpenKeys,Zt=ue.openKeys,kt=ue.activeKey,jt=ue.defaultActiveFirst,Yt=ue.selectable,er=Yt===void 0?!0:Yt,cr=ue.multiple,Ut=cr===void 0?!1:cr,Qt=ue.defaultSelectedKeys,ur=ue.selectedKeys,Lt=ue.onSelect,Cr=ue.onDeselect,Ar=ue.inlineIndent,_r=Ar===void 0?24:Ar,Sr=ue.motion,dr=ue.defaultMotions,qt=ue.triggerSubMenuAction,ar=qt===void 0?"hover":qt,hr=ue.builtinPlacements,wr=ue.itemIcon,vr=ue.expandIcon,Nt=ue.overflowedIndicator,tr=Nt===void 0?"...":Nt,fr=ue.overflowedIndicatorPopupClassName,Rr=ue.getPopupContainer,lr=ue.onClick,xr=ue.onOpenChange,Or=ue.onKeyDown,Pr=ue.openAnimation,Fr=ue.openTransitionName,Br=ue._internalRenderMenuItem,zr=ue._internalRenderSubMenuItem,Hr=(0,d.Z)(ue,Ir),pr=e.useMemo(function(){return ir(tt,pt,Bt)},[tt,pt]),Zr=e.useState(!1),kr=(0,f.Z)(Zr,2),Nr=kr[0],Ur=kr[1],Lr=e.useRef(),Mr=_e(Et),jr=We==="rtl",rr=(0,a.Z)(It,{value:Zt,postState:function(Tt){return Tt||Bt}}),Dr=(0,f.Z)(rr,2),Kt=Dr[0],mr=Dr[1],gr=function(Tt){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function br(){mr(Tt),xr==null||xr(Tt)}zt?(0,n.flushSync)(br):br()},sr=e.useState(Kt),nr=(0,f.Z)(sr,2),Kr=nr[0],$r=nr[1],Vr=e.useRef(!1),Qr=e.useMemo(function(){return(Dt==="inline"||Dt==="vertical")&&_t?["vertical",_t]:[Dt,!1]},[Dt,_t]),Xr=(0,f.Z)(Qr,2),Wr=Xr[0],Ne=Xr[1],Qe=Wr==="inline",Ft=e.useState(Wr),Vt=(0,f.Z)(Ft,2),Pt=Vt[0],Jr=Vt[1],qr=e.useState(Ne),en=(0,f.Z)(qr,2),Yr=en[0],Cn=en[1];e.useEffect(function(){Jr(Wr),Cn(Ne),Vr.current&&(Qe?mr(Kr):gr(Bt))},[Wr,Ne]);var Sn=e.useState(0),dn=(0,f.Z)(Sn,2),nn=dn[0],wn=dn[1],an=nn>=pr.length-1||Pt!=="horizontal"||ct;e.useEffect(function(){Qe&&$r(Kt)},[Kt]),e.useEffect(function(){return Vr.current=!0,function(){Vr.current=!1}},[]);var Gr=le(),fn=Gr.registerPath,hn=Gr.unregisterPath,xn=Gr.refreshOverflowKeys,vn=Gr.isSubPathKey,En=Gr.getKeyPath,pn=Gr.getKeys,An=Gr.getSubPathKeys,Rn=e.useMemo(function(){return{registerPath:fn,unregisterPath:hn}},[fn,hn]),On=e.useMemo(function(){return{isSubPathKey:vn}},[vn]);e.useEffect(function(){xn(an?Bt:pr.slice(nn+1).map(function(Gt){return Gt.key}))},[nn,an]);var Pn=(0,a.Z)(kt||jt&&((ve=pr[0])===null||ve===void 0?void 0:ve.key),{value:kt}),mn=(0,f.Z)(Pn,2),tn=mn[0],ln=mn[1],Dn=ie(function(Gt){ln(Gt)}),Ln=ie(function(){ln(void 0)});(0,e.useImperativeHandle)(se,function(){return{list:Lr.current,focus:function(Tt){var zt,br=pn(),yr=R(br,Mr),sn=yr.elements,cn=yr.key2element,zn=yr.element2key,bn=T(Lr.current,sn),yn=tn!=null?tn:bn[0]?zn.get(bn[0]):(zt=pr.find(function(Wn){return!Wn.props.disabled}))===null||zt===void 0?void 0:zt.key,rn=cn.get(yn);if(yn&&rn){var un;rn==null||(un=rn.focus)===null||un===void 0||un.call(rn,Tt)}}}});var Mn=(0,a.Z)(Qt||[],{value:ur,postState:function(Tt){return Array.isArray(Tt)?Tt:Tt==null?Bt:[Tt]}}),gn=(0,f.Z)(Mn,2),on=gn[0],In=gn[1],Tn=function(Tt){if(er){var zt=Tt.key,br=on.includes(zt),yr;Ut?br?yr=on.filter(function(cn){return cn!==zt}):yr=[].concat((0,h.Z)(on),[zt]):yr=[zt],In(yr);var sn=(0,b.Z)((0,b.Z)({},Tt),{},{selectedKeys:yr});br?Cr==null||Cr(sn):Lt==null||Lt(sn)}!Ut&&Kt.length&&Pt!=="inline"&&gr(Bt)},Bn=ie(function(Gt){lr==null||lr(je(Gt)),Tn(Gt)}),_n=ie(function(Gt,Tt){var zt=Kt.filter(function(yr){return yr!==Gt});if(Tt)zt.push(Gt);else if(Pt!=="inline"){var br=An(Gt);zt=zt.filter(function(yr){return!br.has(yr)})}(0,r.Z)(Kt,zt,!0)||gr(zt,!0)}),Hn=function(Tt,zt){var br=zt!=null?zt:!Kt.includes(Tt);_n(Tt,br)},kn=H(Pt,tn,jr,Mr,Lr,pn,En,ln,Hn,Or);e.useEffect(function(){Ur(!0)},[]);var Nn=e.useMemo(function(){return{_internalRenderMenuItem:Br,_internalRenderSubMenuItem:zr}},[Br,zr]),jn=Pt!=="horizontal"||ct?pr:pr.map(function(Gt,Tt){return e.createElement(_,{key:Gt.key,overflowDisabled:Tt>nn},Gt)}),Fn=e.createElement(s.Z,(0,c.Z)({id:Et,ref:Lr,prefixCls:"".concat(we,"-overflow"),component:"ul",itemComponent:qe,className:i()(we,"".concat(we,"-root"),"".concat(we,"-").concat(Pt),Ze,(Ce={},(0,l.Z)(Ce,"".concat(we,"-inline-collapsed"),Yr),(0,l.Z)(Ce,"".concat(we,"-rtl"),jr),Ce),Ue),dir:We,style:et,role:"menu",tabIndex:at,data:jn,renderRawItem:function(Tt){return Tt},renderRawRest:function(Tt){var zt=Tt.length,br=zt?pr.slice(-zt):null;return e.createElement(Ke,{eventKey:ne,title:tr,disabled:an,internalPopupClose:zt===0,popupClassName:fr},br)},maxCount:Pt!=="horizontal"||ct?s.Z.INVALIDATE:s.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Tt){wn(Tt)},onKeyDown:kn},Hr));return e.createElement(W.Provider,{value:Nn},e.createElement(u.Provider,{value:Mr},e.createElement(_,{prefixCls:we,rootClassName:Ue,mode:Pt,openKeys:Kt,rtl:jr,disabled:ht,motion:Nr?Sr:null,defaultMotions:Nr?dr:null,activeKey:tn,onActive:Dn,onInactive:Ln,selectedKeys:on,inlineIndent:_r,subMenuOpenDelay:Ot,subMenuCloseDelay:At,forceSubMenuRender:or,builtinPlacements:hr,triggerSubMenuAction:ar,getPopupContainer:Rr,itemIcon:wr,expandIcon:vr,onItemClick:Bn,onOpenChange:_n},e.createElement(Z.Provider,{value:On},Fn),e.createElement("div",{style:{display:"none"},"aria-hidden":!0},e.createElement(g.Provider,{value:Rn},pr)))))}),Tr=Er,$t=Tr;$t.Item=qe,$t.SubMenu=Ke,$t.ItemGroup=ft,$t.Divider=it;var ze=$t},11780:function(He,$,t){"use strict";t.d($,{Z:function(){return P}});var c=t(96663),l=t(44127),b=t(72071),h=t(6620),f=t(59301),d=t(92310),m=t.n(d),i=t(29301),s=t(34280),a=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],r=void 0;function o(M,I){var K=M.prefixCls,j=M.invalidate,Q=M.item,J=M.renderItem,q=M.responsive,U=M.responsiveDisabled,G=M.registerSize,te=M.itemKey,Se=M.className,oe=M.style,ae=M.children,he=M.display,re=M.order,ce=M.component,pe=ce===void 0?"div":ce,T=(0,h.Z)(M,a),k=q&&!he;function R(Y){G(te,Y)}f.useEffect(function(){return function(){R(null)}},[]);var H=J&&Q!==r?J(Q,{index:re}):ae,z;j||(z={opacity:k?0:1,height:k?0:r,overflowY:k?"hidden":r,order:q?re:r,pointerEvents:k?"none":r,position:k?"absolute":r});var V={};k&&(V["aria-hidden"]=!0);var X=f.createElement(pe,(0,c.Z)({className:m()(!j&&K,Se),style:(0,l.Z)((0,l.Z)({},z),oe)},V,T,{ref:I}),H);return q&&(X=f.createElement(i.Z,{onResize:function(ne){var le=ne.offsetWidth;R(le)},disabled:U},X)),X}var e=f.forwardRef(o);e.displayName="Item";var n=e,u=t(6089),p=t(4676),E=t(16089);function S(M){if(typeof MessageChannel=="undefined")(0,E.Z)(M);else{var I=new MessageChannel;I.port1.onmessage=function(){return M()},I.port2.postMessage(void 0)}}function w(){var M=f.useRef(null),I=function(j){M.current||(M.current=[],S(function(){(0,p.unstable_batchedUpdates)(function(){M.current.forEach(function(Q){Q()}),M.current=null})})),M.current.push(j)};return I}function y(M,I){var K=f.useState(I),j=(0,b.Z)(K,2),Q=j[0],J=j[1],q=(0,u.Z)(function(U){M(function(){J(U)})});return[Q,q]}var A=f.createContext(null),_=["component"],v=["className"],g=["className"],C=function(I,K){var j=f.useContext(A);if(!j){var Q=I.component,J=Q===void 0?"div":Q,q=(0,h.Z)(I,_);return f.createElement(J,(0,c.Z)({},q,{ref:K}))}var U=j.className,G=(0,h.Z)(j,v),te=I.className,Se=(0,h.Z)(I,g);return f.createElement(A.Provider,{value:null},f.createElement(n,(0,c.Z)({ref:K,className:m()(U,te)},G,Se)))},B=f.forwardRef(C);B.displayName="RawItem";var O=B,Z=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],N="responsive",W="invalidate";function L(M){return"+ ".concat(M.length," ...")}function F(M,I){var K=M.prefixCls,j=K===void 0?"rc-overflow":K,Q=M.data,J=Q===void 0?[]:Q,q=M.renderItem,U=M.renderRawItem,G=M.itemKey,te=M.itemWidth,Se=te===void 0?10:te,oe=M.ssr,ae=M.style,he=M.className,re=M.maxCount,ce=M.renderRest,pe=M.renderRawRest,T=M.suffix,k=M.component,R=k===void 0?"div":k,H=M.itemComponent,z=M.onVisibleChange,V=(0,h.Z)(M,Z),X=oe==="full",Y=w(),ne=y(Y,null),le=(0,b.Z)(ne,2),ie=le[0],fe=le[1],ye=ie||0,_e=y(Y,new Map),ge=(0,b.Z)(_e,2),Ee=ge[0],Pe=ge[1],De=y(Y,0),Re=(0,b.Z)(De,2),Ie=Re[0],Oe=Re[1],Ve=y(Y,0),$e=(0,b.Z)(Ve,2),Ye=$e[0],je=$e[1],vt=y(Y,0),ot=(0,b.Z)(vt,2),st=ot[0],wt=ot[1],Rt=(0,f.useState)(null),rt=(0,b.Z)(Rt,2),qe=rt[0],nt=rt[1],mt=(0,f.useState)(null),Xe=(0,b.Z)(mt,2),bt=Xe[0],ut=Xe[1],yt=f.useMemo(function(){return bt===null&&X?Number.MAX_SAFE_INTEGER:bt||0},[bt,ie]),Mt=(0,f.useState)(!1),Ct=(0,b.Z)(Mt,2),Ht=Ct[0],xe=Ct[1],be="".concat(j,"-item"),de=Math.max(Ie,Ye),me=re===N,Le=J.length&&me,Je=re===W,Te=Le||typeof re=="number"&&J.length>re,Fe=(0,f.useMemo)(function(){var ze=J;return Le?ie===null&&X?ze=J:ze=J.slice(0,Math.min(J.length,ye/Se)):typeof re=="number"&&(ze=J.slice(0,re)),ze},[J,Se,ie,re,Le]),Be=(0,f.useMemo)(function(){return Le?J.slice(yt+1):J.slice(Fe.length)},[J,Fe,Le,yt]),Ge=(0,f.useCallback)(function(ze,ee){var se;return typeof G=="function"?G(ze):(se=G&&(ze==null?void 0:ze[G]))!==null&&se!==void 0?se:ee},[G]),Ke=(0,f.useCallback)(q||function(ze){return ze},[q]);function Me(ze,ee,se){bt===ze&&(ee===void 0||ee===qe)||(ut(ze),se||(xe(ze<J.length-1),z==null||z(ze)),ee!==void 0&&nt(ee))}function dt(ze,ee){fe(ee.clientWidth)}function gt(ze,ee){Pe(function(se){var ve=new Map(se);return ee===null?ve.delete(ze):ve.set(ze,ee),ve})}function ke(ze,ee){je(ee),Oe(Ye)}function ft(ze,ee){wt(ee)}function it(ze){return Ee.get(Ge(Fe[ze],ze))}(0,s.Z)(function(){if(ye&&typeof de=="number"&&Fe){var ze=st,ee=Fe.length,se=ee-1;if(!ee){Me(0,null);return}for(var ve=0;ve<ee;ve+=1){var Ce=it(ve);if(X&&(Ce=Ce||0),Ce===void 0){Me(ve-1,void 0,!0);break}if(ze+=Ce,se===0&&ze<=ye||ve===se-1&&ze+it(se)<=ye){Me(se,null);break}else if(ze+de>ye){Me(ve-1,ze-Ce-st+Ye);break}}T&&it(0)+st>ye&&nt(null)}},[ye,Ee,Ye,st,Ge,Fe]);var Jt=Ht&&!!Be.length,Xt={};qe!==null&&Le&&(Xt={position:"absolute",left:qe,top:0});var ir={prefixCls:be,responsive:Le,component:H,invalidate:Je},Ir=U?function(ze,ee){var se=Ge(ze,ee);return f.createElement(A.Provider,{key:se,value:(0,l.Z)((0,l.Z)({},ir),{},{order:ee,item:ze,itemKey:se,registerSize:gt,display:ee<=yt})},U(ze,ee))}:function(ze,ee){var se=Ge(ze,ee);return f.createElement(n,(0,c.Z)({},ir,{order:ee,key:se,item:ze,renderItem:Ke,itemKey:se,registerSize:gt,display:ee<=yt}))},Bt={order:Jt?yt:Number.MAX_SAFE_INTEGER,className:"".concat(be,"-rest"),registerSize:ke,display:Jt},Er=ce||L,Tr=pe?f.createElement(A.Provider,{value:(0,l.Z)((0,l.Z)({},ir),Bt)},pe(Be)):f.createElement(n,(0,c.Z)({},ir,Bt),typeof Er=="function"?Er(Be):Er),$t=f.createElement(R,(0,c.Z)({className:m()(!Je&&j,he),style:ae,ref:I},V),Fe.map(Ir),Te?Tr:null,T&&f.createElement(n,(0,c.Z)({},ir,{responsive:me,responsiveDisabled:!Le,order:yt,className:"".concat(be,"-suffix"),registerSize:ft,display:!0,style:Xt}),T));return me?f.createElement(i.Z,{onResize:dt,disabled:!Le},$t):$t}var x=f.forwardRef(F);x.displayName="Overflow",x.Item=O,x.RESPONSIVE=N,x.INVALIDATE=W;var D=x,P=D},29301:function(He,$,t){"use strict";t.d($,{Z:function(){return W}});var c=t(96663),l=t(59301),b=t(11592),h=t(48736),f=t(44127),d=t(20135),m=t(76846),i=t(8654),s=l.createContext(null);function a(L){var F=L.children,x=L.onBatchResize,D=l.useRef(0),P=l.useRef([]),M=l.useContext(s),I=l.useCallback(function(K,j,Q){D.current+=1;var J=D.current;P.current.push({size:K,element:j,data:Q}),Promise.resolve().then(function(){J===D.current&&(x==null||x(P.current),P.current=[])}),M==null||M(K,j,Q)},[x,M]);return l.createElement(s.Provider,{value:I},F)}var r=t(76374),o=new Map;function e(L){L.forEach(function(F){var x,D=F.target;(x=o.get(D))===null||x===void 0||x.forEach(function(P){return P(D)})})}var n=new r.Z(e),u=null,p=null;function E(L,F){o.has(L)||(o.set(L,new Set),n.observe(L)),o.get(L).add(F)}function S(L,F){o.has(L)&&(o.get(L).delete(F),o.get(L).size||(n.unobserve(L),o.delete(L)))}var w=t(52884),y=t(95727),A=t(65711),_=t(85745),v=function(L){(0,A.Z)(x,L);var F=(0,_.Z)(x);function x(){return(0,w.Z)(this,x),F.apply(this,arguments)}return(0,y.Z)(x,[{key:"render",value:function(){return this.props.children}}]),x}(l.Component);function g(L,F){var x=L.children,D=L.disabled,P=l.useRef(null),M=l.useRef(null),I=l.useContext(s),K=typeof x=="function",j=K?x(P):x,Q=l.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),J=!K&&l.isValidElement(j)&&(0,i.Yr)(j),q=J?(0,i.C4)(j):null,U=(0,i.x1)(q,P),G=function(){var ae;return(0,m.ZP)(P.current)||(P.current&&(0,d.Z)(P.current)==="object"?(0,m.ZP)((ae=P.current)===null||ae===void 0?void 0:ae.nativeElement):null)||(0,m.ZP)(M.current)};l.useImperativeHandle(F,function(){return G()});var te=l.useRef(L);te.current=L;var Se=l.useCallback(function(oe){var ae=te.current,he=ae.onResize,re=ae.data,ce=oe.getBoundingClientRect(),pe=ce.width,T=ce.height,k=oe.offsetWidth,R=oe.offsetHeight,H=Math.floor(pe),z=Math.floor(T);if(Q.current.width!==H||Q.current.height!==z||Q.current.offsetWidth!==k||Q.current.offsetHeight!==R){var V={width:H,height:z,offsetWidth:k,offsetHeight:R};Q.current=V;var X=k===Math.round(pe)?pe:k,Y=R===Math.round(T)?T:R,ne=(0,f.Z)((0,f.Z)({},V),{},{offsetWidth:X,offsetHeight:Y});I==null||I(ne,oe,re),he&&Promise.resolve().then(function(){he(ne,oe)})}},[]);return l.useEffect(function(){var oe=G();return oe&&!D&&E(oe,Se),function(){return S(oe,Se)}},[P.current,D]),l.createElement(v,{ref:M},J?l.cloneElement(j,{ref:U}):j)}var C=l.forwardRef(g),B=C,O="rc-observer-key";function Z(L,F){var x=L.children,D=typeof x=="function"?[x]:(0,b.Z)(x);return D.map(function(P,M){var I=(P==null?void 0:P.key)||"".concat(O,"-").concat(M);return l.createElement(B,(0,c.Z)({},L,{key:I,ref:M===0?F:void 0}),P)})}var N=l.forwardRef(Z);N.Collection=a;var W=N},9296:function(He,$,t){"use strict";t.r($),t.d($,{ResizableTextArea:function(){return Z},default:function(){return D}});var c=t(96663),l=t(44127),b=t(90493),h=t(20135),f=t(72071),d=t(6620),m=t(19127),i=t(92310),s=t.n(i),a=t(93681),r=t(5643),o=t(18929),e=t(59301),n=t(29301),u=t(34280),p=t(16089),E=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,S=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],w={},y;function A(P){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,I=P.getAttribute("id")||P.getAttribute("data-reactid")||P.getAttribute("name");if(M&&w[I])return w[I];var K=window.getComputedStyle(P),j=K.getPropertyValue("box-sizing")||K.getPropertyValue("-moz-box-sizing")||K.getPropertyValue("-webkit-box-sizing"),Q=parseFloat(K.getPropertyValue("padding-bottom"))+parseFloat(K.getPropertyValue("padding-top")),J=parseFloat(K.getPropertyValue("border-bottom-width"))+parseFloat(K.getPropertyValue("border-top-width")),q=S.map(function(G){return"".concat(G,":").concat(K.getPropertyValue(G))}).join(";"),U={sizingStyle:q,paddingSize:Q,borderSize:J,boxSizing:j};return M&&I&&(w[I]=U),U}function _(P){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;y||(y=document.createElement("textarea"),y.setAttribute("tab-index","-1"),y.setAttribute("aria-hidden","true"),document.body.appendChild(y)),P.getAttribute("wrap")?y.setAttribute("wrap",P.getAttribute("wrap")):y.removeAttribute("wrap");var j=A(P,M),Q=j.paddingSize,J=j.borderSize,q=j.boxSizing,U=j.sizingStyle;y.setAttribute("style","".concat(U,";").concat(E)),y.value=P.value||P.placeholder||"";var G=void 0,te=void 0,Se,oe=y.scrollHeight;if(q==="border-box"?oe+=J:q==="content-box"&&(oe-=Q),I!==null||K!==null){y.value=" ";var ae=y.scrollHeight-Q;I!==null&&(G=ae*I,q==="border-box"&&(G=G+Q+J),oe=Math.max(G,oe)),K!==null&&(te=ae*K,q==="border-box"&&(te=te+Q+J),Se=oe>te?"":"hidden",oe=Math.min(te,oe))}var he={height:oe,overflowY:Se,resize:"none"};return G&&(he.minHeight=G),te&&(he.maxHeight=te),he}var v=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],g=0,C=1,B=2,O=e.forwardRef(function(P,M){var I=P,K=I.prefixCls,j=I.onPressEnter,Q=I.defaultValue,J=I.value,q=I.autoSize,U=I.onResize,G=I.className,te=I.style,Se=I.disabled,oe=I.onChange,ae=I.onInternalAutoSize,he=(0,d.Z)(I,v),re=(0,o.Z)(Q,{value:J,postState:function(je){return je!=null?je:""}}),ce=(0,f.Z)(re,2),pe=ce[0],T=ce[1],k=function(je){T(je.target.value),oe==null||oe(je)},R=e.useRef();e.useImperativeHandle(M,function(){return{textArea:R.current}});var H=e.useMemo(function(){return q&&(0,h.Z)(q)==="object"?[q.minRows,q.maxRows]:[]},[q]),z=(0,f.Z)(H,2),V=z[0],X=z[1],Y=!!q,ne=function(){try{if(document.activeElement===R.current){var je=R.current,vt=je.selectionStart,ot=je.selectionEnd,st=je.scrollTop;R.current.setSelectionRange(vt,ot),R.current.scrollTop=st}}catch(wt){}},le=e.useState(B),ie=(0,f.Z)(le,2),fe=ie[0],ye=ie[1],_e=e.useState(),ge=(0,f.Z)(_e,2),Ee=ge[0],Pe=ge[1],De=function(){ye(g)};(0,u.Z)(function(){Y&&De()},[J,V,X,Y]),(0,u.Z)(function(){if(fe===g)ye(C);else if(fe===C){var Ye=_(R.current,!1,V,X);ye(B),Pe(Ye)}else ne()},[fe]);var Re=e.useRef(),Ie=function(){p.Z.cancel(Re.current)},Oe=function(je){fe===B&&(U==null||U(je),q&&(Ie(),Re.current=(0,p.Z)(function(){De()})))};e.useEffect(function(){return Ie},[]);var Ve=Y?Ee:null,$e=(0,l.Z)((0,l.Z)({},te),Ve);return(fe===g||fe===C)&&($e.overflowY="hidden",$e.overflowX="hidden"),e.createElement(n.Z,{onResize:Oe,disabled:!(q||U)},e.createElement("textarea",(0,c.Z)({},he,{ref:R,style:$e,className:s()(K,G,(0,b.Z)({},"".concat(K,"-disabled"),Se)),disabled:Se,value:pe,onChange:k})))}),Z=O,N=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function W(P,M){return(0,m.Z)(P||"").slice(0,M).join("")}function L(P,M,I,K){var j=I;return P?j=W(I,K):(0,m.Z)(M||"").length<I.length&&(0,m.Z)(I||"").length>K&&(j=M),j}var F=e.forwardRef(function(P,M){var I,K=P.defaultValue,j=P.value,Q=P.onFocus,J=P.onBlur,q=P.onChange,U=P.allowClear,G=P.maxLength,te=P.onCompositionStart,Se=P.onCompositionEnd,oe=P.suffix,ae=P.prefixCls,he=ae===void 0?"rc-textarea":ae,re=P.classes,ce=P.showCount,pe=P.className,T=P.style,k=P.disabled,R=P.hidden,H=P.classNames,z=P.styles,V=P.onResize,X=(0,d.Z)(P,N),Y=(0,o.Z)(K,{value:j,defaultValue:K}),ne=(0,f.Z)(Y,2),le=ne[0],ie=ne[1],fe=(0,e.useRef)(null),ye=e.useState(!1),_e=(0,f.Z)(ye,2),ge=_e[0],Ee=_e[1],Pe=e.useState(!1),De=(0,f.Z)(Pe,2),Re=De[0],Ie=De[1],Oe=e.useRef(),Ve=e.useRef(0),$e=e.useState(null),Ye=(0,f.Z)($e,2),je=Ye[0],vt=Ye[1],ot=function(){var de;(de=fe.current)===null||de===void 0||de.textArea.focus()};(0,e.useImperativeHandle)(M,function(){return{resizableTextArea:fe.current,focus:ot,blur:function(){var de;(de=fe.current)===null||de===void 0||de.textArea.blur()}}}),(0,e.useEffect)(function(){Ee(function(be){return!k&&be})},[k]);var st=Number(G)>0,wt=function(de){Ie(!0),Oe.current=le,Ve.current=de.currentTarget.selectionStart,te==null||te(de)},Rt=function(de){Ie(!1);var me=de.currentTarget.value;if(st){var Le,Je=Ve.current>=G+1||Ve.current===((Le=Oe.current)===null||Le===void 0?void 0:Le.length);me=L(Je,Oe.current,me,G)}me!==le&&(ie(me),(0,r.rJ)(de.currentTarget,de,q,me)),Se==null||Se(de)},rt=function(de){var me=de.target.value;if(!Re&&st){var Le=de.target.selectionStart>=G+1||de.target.selectionStart===me.length||!de.target.selectionStart;me=L(Le,le,me,G)}ie(me),(0,r.rJ)(de.currentTarget,de,q,me)},qe=function(de){var me=X.onPressEnter,Le=X.onKeyDown;de.key==="Enter"&&me&&me(de),Le==null||Le(de)},nt=function(de){Ee(!0),Q==null||Q(de)},mt=function(de){Ee(!1),J==null||J(de)},Xe=function(de){var me;ie(""),ot(),(0,r.rJ)((me=fe.current)===null||me===void 0?void 0:me.textArea,de,q)},bt=(0,r.D7)(le);!Re&&st&&j==null&&(bt=W(bt,G));var ut=oe,yt;if(ce){var Mt=(0,m.Z)(bt).length;(0,h.Z)(ce)==="object"?yt=ce.formatter({value:bt,count:Mt,maxLength:G}):yt="".concat(Mt).concat(st?" / ".concat(G):""),ut=e.createElement(e.Fragment,null,ut,e.createElement("span",{className:s()("".concat(he,"-data-count"),H==null?void 0:H.count),style:z==null?void 0:z.count},yt))}var Ct=function(de){var me;V==null||V(de),(me=fe.current)!==null&&me!==void 0&&me.textArea.style.height&&vt(!0)},Ht=!X.autoSize&&!ce&&!U,xe=e.createElement(a.BaseInput,{value:bt,allowClear:U,handleReset:Xe,suffix:ut,prefixCls:he,classes:{affixWrapper:s()(re==null?void 0:re.affixWrapper,(I={},(0,b.Z)(I,"".concat(he,"-show-count"),ce),(0,b.Z)(I,"".concat(he,"-textarea-allow-clear"),U),I))},disabled:k,focused:ge,className:pe,style:(0,l.Z)((0,l.Z)({},T),je&&!Ht?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof yt=="string"?yt:void 0}},hidden:R,inputElement:e.createElement(Z,(0,c.Z)({},X,{onKeyDown:qe,onChange:rt,onFocus:nt,onBlur:mt,onCompositionStart:wt,onCompositionEnd:Rt,className:H==null?void 0:H.textarea,style:(0,l.Z)((0,l.Z)({},z==null?void 0:z.textarea),{},{resize:T==null?void 0:T.resize}),disabled:k,prefixCls:he,onResize:Ct,ref:fe}))});return xe}),x=F,D=x},55477:function(He,$,t){"use strict";t.d($,{G:function(){return e},Z:function(){return E}});var c=t(96663),l=t(44127),b=t(6620),h=t(35593),f=t(59301),d={shiftX:64,adjustY:1},m={adjustX:1,shiftY:!0},i=[0,0],s={left:{points:["cr","cl"],overflow:m,offset:[-4,0],targetOffset:i},right:{points:["cl","cr"],overflow:m,offset:[4,0],targetOffset:i},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:i},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:i},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:i},leftTop:{points:["tr","tl"],overflow:m,offset:[-4,0],targetOffset:i},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:i},rightTop:{points:["tl","tr"],overflow:m,offset:[4,0],targetOffset:i},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:i},rightBottom:{points:["bl","br"],overflow:m,offset:[4,0],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:i},leftBottom:{points:["br","bl"],overflow:m,offset:[-4,0],targetOffset:i}},a=null,r=t(92310),o=t.n(r);function e(S){var w=S.children,y=S.prefixCls,A=S.id,_=S.overlayInnerStyle,v=S.className,g=S.style;return f.createElement("div",{className:o()("".concat(y,"-content"),v),style:g},f.createElement("div",{className:"".concat(y,"-inner"),id:A,role:"tooltip",style:_},typeof w=="function"?w():w))}var n=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],u=function(w,y){var A=w.overlayClassName,_=w.trigger,v=_===void 0?["hover"]:_,g=w.mouseEnterDelay,C=g===void 0?0:g,B=w.mouseLeaveDelay,O=B===void 0?.1:B,Z=w.overlayStyle,N=w.prefixCls,W=N===void 0?"rc-tooltip":N,L=w.children,F=w.onVisibleChange,x=w.afterVisibleChange,D=w.transitionName,P=w.animation,M=w.motion,I=w.placement,K=I===void 0?"right":I,j=w.align,Q=j===void 0?{}:j,J=w.destroyTooltipOnHide,q=J===void 0?!1:J,U=w.defaultVisible,G=w.getTooltipContainer,te=w.overlayInnerStyle,Se=w.arrowContent,oe=w.overlay,ae=w.id,he=w.showArrow,re=he===void 0?!0:he,ce=(0,b.Z)(w,n),pe=(0,f.useRef)(null);(0,f.useImperativeHandle)(y,function(){return pe.current});var T=(0,l.Z)({},ce);"visible"in w&&(T.popupVisible=w.visible);var k=function(){return f.createElement(e,{key:"content",prefixCls:W,id:ae,overlayInnerStyle:te},oe)};return f.createElement(h.Z,(0,c.Z)({popupClassName:A,prefixCls:W,popup:k,action:v,builtinPlacements:s,popupPlacement:K,ref:pe,popupAlign:Q,getPopupContainer:G,onPopupVisibleChange:F,afterPopupVisibleChange:x,popupTransitionName:D,popupAnimation:P,popupMotion:M,defaultPopupVisible:U,autoDestroy:q,mouseLeaveDelay:O,popupStyle:Z,mouseEnterDelay:C,arrow:re},T),L)},p=(0,f.forwardRef)(u),E=p},49658:function(He,$){"use strict";$.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},76374:function(He,$,t){"use strict";var c=function(){if(typeof Map!="undefined")return Map;function W(L,F){var x=-1;return L.some(function(D,P){return D[0]===F?(x=P,!0):!1}),x}return function(){function L(){this.__entries__=[]}return Object.defineProperty(L.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),L.prototype.get=function(F){var x=W(this.__entries__,F),D=this.__entries__[x];return D&&D[1]},L.prototype.set=function(F,x){var D=W(this.__entries__,F);~D?this.__entries__[D][1]=x:this.__entries__.push([F,x])},L.prototype.delete=function(F){var x=this.__entries__,D=W(x,F);~D&&x.splice(D,1)},L.prototype.has=function(F){return!!~W(this.__entries__,F)},L.prototype.clear=function(){this.__entries__.splice(0)},L.prototype.forEach=function(F,x){x===void 0&&(x=null);for(var D=0,P=this.__entries__;D<P.length;D++){var M=P[D];F.call(x,M[1],M[0])}},L}()}(),l=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,b=function(){return typeof t.g!="undefined"&&t.g.Math===Math?t.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),h=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(b):function(W){return setTimeout(function(){return W(Date.now())},1e3/60)}}(),f=2;function d(W,L){var F=!1,x=!1,D=0;function P(){F&&(F=!1,W()),x&&I()}function M(){h(P)}function I(){var K=Date.now();if(F){if(K-D<f)return;x=!0}else F=!0,x=!1,setTimeout(M,L);D=K}return I}var m=20,i=["top","right","bottom","left","width","height","size","weight"],s=typeof MutationObserver!="undefined",a=function(){function W(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=d(this.refresh.bind(this),m)}return W.prototype.addObserver=function(L){~this.observers_.indexOf(L)||this.observers_.push(L),this.connected_||this.connect_()},W.prototype.removeObserver=function(L){var F=this.observers_,x=F.indexOf(L);~x&&F.splice(x,1),!F.length&&this.connected_&&this.disconnect_()},W.prototype.refresh=function(){var L=this.updateObservers_();L&&this.refresh()},W.prototype.updateObservers_=function(){var L=this.observers_.filter(function(F){return F.gatherActive(),F.hasActive()});return L.forEach(function(F){return F.broadcastActive()}),L.length>0},W.prototype.connect_=function(){!l||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},W.prototype.disconnect_=function(){!l||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},W.prototype.onTransitionEnd_=function(L){var F=L.propertyName,x=F===void 0?"":F,D=i.some(function(P){return!!~x.indexOf(P)});D&&this.refresh()},W.getInstance=function(){return this.instance_||(this.instance_=new W),this.instance_},W.instance_=null,W}(),r=function(W,L){for(var F=0,x=Object.keys(L);F<x.length;F++){var D=x[F];Object.defineProperty(W,D,{value:L[D],enumerable:!1,writable:!1,configurable:!0})}return W},o=function(W){var L=W&&W.ownerDocument&&W.ownerDocument.defaultView;return L||b},e=v(0,0,0,0);function n(W){return parseFloat(W)||0}function u(W){for(var L=[],F=1;F<arguments.length;F++)L[F-1]=arguments[F];return L.reduce(function(x,D){var P=W["border-"+D+"-width"];return x+n(P)},0)}function p(W){for(var L=["top","right","bottom","left"],F={},x=0,D=L;x<D.length;x++){var P=D[x],M=W["padding-"+P];F[P]=n(M)}return F}function E(W){var L=W.getBBox();return v(0,0,L.width,L.height)}function S(W){var L=W.clientWidth,F=W.clientHeight;if(!L&&!F)return e;var x=o(W).getComputedStyle(W),D=p(x),P=D.left+D.right,M=D.top+D.bottom,I=n(x.width),K=n(x.height);if(x.boxSizing==="border-box"&&(Math.round(I+P)!==L&&(I-=u(x,"left","right")+P),Math.round(K+M)!==F&&(K-=u(x,"top","bottom")+M)),!y(W)){var j=Math.round(I+P)-L,Q=Math.round(K+M)-F;Math.abs(j)!==1&&(I-=j),Math.abs(Q)!==1&&(K-=Q)}return v(D.left,D.top,I,K)}var w=function(){return typeof SVGGraphicsElement!="undefined"?function(W){return W instanceof o(W).SVGGraphicsElement}:function(W){return W instanceof o(W).SVGElement&&typeof W.getBBox=="function"}}();function y(W){return W===o(W).document.documentElement}function A(W){return l?w(W)?E(W):S(W):e}function _(W){var L=W.x,F=W.y,x=W.width,D=W.height,P=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,M=Object.create(P.prototype);return r(M,{x:L,y:F,width:x,height:D,top:F,right:L+x,bottom:D+F,left:L}),M}function v(W,L,F,x){return{x:W,y:L,width:F,height:x}}var g=function(){function W(L){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=L}return W.prototype.isActive=function(){var L=A(this.target);return this.contentRect_=L,L.width!==this.broadcastWidth||L.height!==this.broadcastHeight},W.prototype.broadcastRect=function(){var L=this.contentRect_;return this.broadcastWidth=L.width,this.broadcastHeight=L.height,L},W}(),C=function(){function W(L,F){var x=_(F);r(this,{target:L,contentRect:x})}return W}(),B=function(){function W(L,F,x){if(this.activeObservations_=[],this.observations_=new c,typeof L!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=L,this.controller_=F,this.callbackCtx_=x}return W.prototype.observe=function(L){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(L instanceof o(L).Element))throw new TypeError('parameter 1 is not of type "Element".');var F=this.observations_;F.has(L)||(F.set(L,new g(L)),this.controller_.addObserver(this),this.controller_.refresh())}},W.prototype.unobserve=function(L){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(L instanceof o(L).Element))throw new TypeError('parameter 1 is not of type "Element".');var F=this.observations_;F.has(L)&&(F.delete(L),F.size||this.controller_.removeObserver(this))}},W.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},W.prototype.gatherActive=function(){var L=this;this.clearActive(),this.observations_.forEach(function(F){F.isActive()&&L.activeObservations_.push(F)})},W.prototype.broadcastActive=function(){if(this.hasActive()){var L=this.callbackCtx_,F=this.activeObservations_.map(function(x){return new C(x.target,x.broadcastRect())});this.callback_.call(L,F,L),this.clearActive()}},W.prototype.clearActive=function(){this.activeObservations_.splice(0)},W.prototype.hasActive=function(){return this.activeObservations_.length>0},W}(),O=typeof WeakMap!="undefined"?new WeakMap:new c,Z=function(){function W(L){if(!(this instanceof W))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var F=a.getInstance(),x=new B(L,F,this);O.set(this,x)}return W}();["observe","unobserve","disconnect"].forEach(function(W){Z.prototype[W]=function(){var L;return(L=O.get(this))[W].apply(L,arguments)}});var N=function(){return typeof b.ResizeObserver!="undefined"?b.ResizeObserver:Z}();$.Z=N},34376:function(He){(function($,t){if(1)He.exports=t();else var c,l})(window,function(){return function($){var t={};function c(l){if(t[l])return t[l].exports;var b=t[l]={i:l,l:!1,exports:{}};return $[l].call(b.exports,b,b.exports,c),b.l=!0,b.exports}return c.m=$,c.c=t,c.d=function(l,b,h){c.o(l,b)||Object.defineProperty(l,b,{enumerable:!0,get:h})},c.r=function(l){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},c.t=function(l,b){if(1&b&&(l=c(l)),8&b||4&b&&typeof l=="object"&&l&&l.__esModule)return l;var h=Object.create(null);if(c.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:l}),2&b&&typeof l!="string")for(var f in l)c.d(h,f,function(d){return l[d]}.bind(null,f));return h},c.n=function(l){var b=l&&l.__esModule?function(){return l.default}:function(){return l};return c.d(b,"a",b),b},c.o=function(l,b){return Object.prototype.hasOwnProperty.call(l,b)},c.p="",c(c.s=34)}([function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0;var l=function(){function b(){this._listeners=[],this._disposed=!1}return Object.defineProperty(b.prototype,"event",{get:function(){var h=this;return this._event||(this._event=function(f){return h._listeners.push(f),{dispose:function(){if(!h._disposed){for(var d=0;d<h._listeners.length;d++)if(h._listeners[d]===f)return void h._listeners.splice(d,1)}}}}),this._event},enumerable:!1,configurable:!0}),b.prototype.fire=function(h,f){for(var d=[],m=0;m<this._listeners.length;m++)d.push(this._listeners[m]);for(m=0;m<d.length;m++)d[m].call(void 0,h,f)},b.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},b}();t.EventEmitter=l,t.forwardEvent=function(b,h){return b(function(f){return h.fire(f)})}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IUnicodeService=t.IOptionsService=t.ILogService=t.IInstantiationService=t.IDirtyRowService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;var l=c(14);t.IBufferService=l.createDecorator("BufferService"),t.ICoreMouseService=l.createDecorator("CoreMouseService"),t.ICoreService=l.createDecorator("CoreService"),t.ICharsetService=l.createDecorator("CharsetService"),t.IDirtyRowService=l.createDecorator("DirtyRowService"),t.IInstantiationService=l.createDecorator("InstantiationService"),t.ILogService=l.createDecorator("LogService"),t.IOptionsService=l.createDecorator("OptionsService"),t.IUnicodeService=l.createDecorator("UnicodeService")},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.Disposable=void 0;var l=function(){function h(){this._disposables=[],this._isDisposed=!1}return h.prototype.dispose=function(){this._isDisposed=!0;for(var f=0,d=this._disposables;f<d.length;f++)d[f].dispose();this._disposables.length=0},h.prototype.register=function(f){return this._disposables.push(f),f},h.prototype.unregister=function(f){var d=this._disposables.indexOf(f);d!==-1&&this._disposables.splice(d,1)},h}();function b(h){for(var f=0,d=h;f<d.length;f++)d[f].dispose();h.length=0}t.Disposable=l,t.disposeArray=b,t.getDisposeArrayDisposable=function(h){return{dispose:function(){return b(h)}}}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(i,s){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var o in r)r.hasOwnProperty(o)&&(a[o]=r[o])})(i,s)},function(i,s){function a(){this.constructor=i}l(i,s),i.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;var h=c(8),f=c(3),d=c(6),m=function(i){function s(){var a=i!==null&&i.apply(this,arguments)||this;return a.content=0,a.fg=0,a.bg=0,a.extended=new d.ExtendedAttrs,a.combinedData="",a}return b(s,i),s.fromCharData=function(a){var r=new s;return r.setFromCharData(a),r},s.prototype.isCombined=function(){return 2097152&this.content},s.prototype.getWidth=function(){return this.content>>22},s.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?h.stringFromCodePoint(2097151&this.content):""},s.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},s.prototype.setFromCharData=function(a){this.fg=a[f.CHAR_DATA_ATTR_INDEX],this.bg=0;var r=!1;if(a[f.CHAR_DATA_CHAR_INDEX].length>2)r=!0;else if(a[f.CHAR_DATA_CHAR_INDEX].length===2){var o=a[f.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=o&&o<=56319){var e=a[f.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(o-55296)+e-56320+65536|a[f.CHAR_DATA_WIDTH_INDEX]<<22:r=!0}else r=!0}else this.content=a[f.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[f.CHAR_DATA_WIDTH_INDEX]<<22;r&&(this.combinedData=a[f.CHAR_DATA_CHAR_INDEX],this.content=2097152|a[f.CHAR_DATA_WIDTH_INDEX]<<22)},s.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},s}(d.AttributeData);t.CellData=m},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISoundService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;var l=c(14);t.ICharSizeService=l.createDecorator("CharSizeService"),t.ICoreBrowserService=l.createDecorator("CoreBrowserService"),t.IMouseService=l.createDecorator("MouseService"),t.IRenderService=l.createDecorator("RenderService"),t.ISelectionService=l.createDecorator("SelectionService"),t.ISoundService=l.createDecorator("SoundService")},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;var l=function(){function h(){this.fg=0,this.bg=0,this.extended=new b}return h.toColorRGB=function(f){return[f>>>16&255,f>>>8&255,255&f]},h.fromColorRGB=function(f){return(255&f[0])<<16|(255&f[1])<<8|255&f[2]},h.prototype.clone=function(){var f=new h;return f.fg=this.fg,f.bg=this.bg,f.extended=this.extended.clone(),f},h.prototype.isInverse=function(){return 67108864&this.fg},h.prototype.isBold=function(){return 134217728&this.fg},h.prototype.isUnderline=function(){return 268435456&this.fg},h.prototype.isBlink=function(){return 536870912&this.fg},h.prototype.isInvisible=function(){return 1073741824&this.fg},h.prototype.isItalic=function(){return 67108864&this.bg},h.prototype.isDim=function(){return 134217728&this.bg},h.prototype.getFgColorMode=function(){return 50331648&this.fg},h.prototype.getBgColorMode=function(){return 50331648&this.bg},h.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},h.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},h.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},h.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},h.prototype.isFgDefault=function(){return(50331648&this.fg)==0},h.prototype.isBgDefault=function(){return(50331648&this.bg)==0},h.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},h.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},h.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},h.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},h.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},h.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},h.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},h.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},h.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},h.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},h.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},h}();t.AttributeData=l;var b=function(){function h(f,d){f===void 0&&(f=0),d===void 0&&(d=-1),this.underlineStyle=f,this.underlineColor=d}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();t.ExtendedAttrs=b},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(l,b,h,f){l.addEventListener(b,h,f);var d=!1;return{dispose:function(){d||(d=!0,l.removeEventListener(b,h,f))}}}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},t.utf32ToString=function(h,f,d){f===void 0&&(f=0),d===void 0&&(d=h.length);for(var m="",i=f;i<d;++i){var s=h[i];s>65535?(s-=65536,m+=String.fromCharCode(55296+(s>>10))+String.fromCharCode(s%1024+56320)):m+=String.fromCharCode(s)}return m};var l=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(f,d){var m=f.length;if(!m)return 0;var i=0,s=0;this._interim&&(56320<=(o=f.charCodeAt(s++))&&o<=57343?d[i++]=1024*(this._interim-55296)+o-56320+65536:(d[i++]=this._interim,d[i++]=o),this._interim=0);for(var a=s;a<m;++a){var r=f.charCodeAt(a);if(55296<=r&&r<=56319){if(++a>=m)return this._interim=r,i;var o;56320<=(o=f.charCodeAt(a))&&o<=57343?d[i++]=1024*(r-55296)+o-56320+65536:(d[i++]=r,d[i++]=o)}else d[i++]=r}return i},h}();t.StringToUtf32=l;var b=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(f,d){var m=f.length;if(!m)return 0;var i,s,a,r,o=0,e=0,n=0;if(this.interim[0]){var u=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var E=0,S=void 0;(S=63&this.interim[++E])&&E<4;)p<<=6,p|=S;for(var w=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,y=w-E;n<y;){if(n>=m)return 0;if((192&(S=f[n++]))!=128){n--,u=!0;break}this.interim[E++]=S,p<<=6,p|=63&S}u||(w===2?p<128?n--:d[o++]=p:w===3?p<2048||p>=55296&&p<=57343||(d[o++]=p):p<65536||p>1114111||(d[o++]=p)),this.interim.fill(0)}for(var A=m-4,_=n;_<m;){for(;!(!(_<A)||128&(i=f[_])||128&(s=f[_+1])||128&(a=f[_+2])||128&(r=f[_+3]));)d[o++]=i,d[o++]=s,d[o++]=a,d[o++]=r,_+=4;if((i=f[_++])<128)d[o++]=i;else if((224&i)==192){if(_>=m)return this.interim[0]=i,o;if((192&(s=f[_++]))!=128){_--;continue}if((e=(31&i)<<6|63&s)<128){_--;continue}d[o++]=e}else if((240&i)==224){if(_>=m)return this.interim[0]=i,o;if((192&(s=f[_++]))!=128){_--;continue}if(_>=m)return this.interim[0]=i,this.interim[1]=s,o;if((192&(a=f[_++]))!=128){_--;continue}if((e=(15&i)<<12|(63&s)<<6|63&a)<2048||e>=55296&&e<=57343)continue;d[o++]=e}else if((248&i)==240){if(_>=m)return this.interim[0]=i,o;if((192&(s=f[_++]))!=128){_--;continue}if(_>=m)return this.interim[0]=i,this.interim[1]=s,o;if((192&(a=f[_++]))!=128){_--;continue}if(_>=m)return this.interim[0]=i,this.interim[1]=s,this.interim[2]=a,o;if((192&(r=f[_++]))!=128){_--;continue}if((e=(7&i)<<18|(63&s)<<12|(63&a)<<6|63&r)<65536||e>1114111)continue;d[o++]=e}}return o},h}();t.Utf8ToUtf32=b},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR_ATLAS_CELL_SPACING=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0,t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function($,t,c){"use strict";var l,b,h,f;function d(i){var s=i.toString(16);return s.length<2?"0"+s:s}function m(i,s){return i<s?(s+.05)/(i+.05):(i+.05)/(s+.05)}Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=void 0,function(i){i.toCss=function(s,a,r,o){return o!==void 0?"#"+d(s)+d(a)+d(r)+d(o):"#"+d(s)+d(a)+d(r)},i.toRgba=function(s,a,r,o){return o===void 0&&(o=255),(s<<24|a<<16|r<<8|o)>>>0}}(l=t.channels||(t.channels={})),(b=t.color||(t.color={})).blend=function(i,s){var a=(255&s.rgba)/255;if(a===1)return{css:s.css,rgba:s.rgba};var r=s.rgba>>24&255,o=s.rgba>>16&255,e=s.rgba>>8&255,n=i.rgba>>24&255,u=i.rgba>>16&255,p=i.rgba>>8&255,E=n+Math.round((r-n)*a),S=u+Math.round((o-u)*a),w=p+Math.round((e-p)*a);return{css:l.toCss(E,S,w),rgba:l.toRgba(E,S,w)}},b.isOpaque=function(i){return(255&i.rgba)==255},b.ensureContrastRatio=function(i,s,a){var r=f.ensureContrastRatio(i.rgba,s.rgba,a);if(r)return f.toColor(r>>24&255,r>>16&255,r>>8&255)},b.opaque=function(i){var s=(255|i.rgba)>>>0,a=f.toChannels(s),r=a[0],o=a[1],e=a[2];return{css:l.toCss(r,o,e),rgba:s}},b.opacity=function(i,s){var a=Math.round(255*s),r=f.toChannels(i.rgba),o=r[0],e=r[1],n=r[2];return{css:l.toCss(o,e,n,a),rgba:l.toRgba(o,e,n,a)}},(t.css||(t.css={})).toColor=function(i){switch(i.length){case 7:return{css:i,rgba:(parseInt(i.slice(1),16)<<8|255)>>>0};case 9:return{css:i,rgba:parseInt(i.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(i){function s(a,r,o){var e=a/255,n=r/255,u=o/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}i.relativeLuminance=function(a){return s(a>>16&255,a>>8&255,255&a)},i.relativeLuminance2=s}(h=t.rgb||(t.rgb={})),function(i){function s(r,o,e){for(var n=r>>24&255,u=r>>16&255,p=r>>8&255,E=o>>24&255,S=o>>16&255,w=o>>8&255,y=m(h.relativeLuminance2(E,w,S),h.relativeLuminance2(n,u,p));y<e&&(E>0||S>0||w>0);)E-=Math.max(0,Math.ceil(.1*E)),S-=Math.max(0,Math.ceil(.1*S)),w-=Math.max(0,Math.ceil(.1*w)),y=m(h.relativeLuminance2(E,w,S),h.relativeLuminance2(n,u,p));return(E<<24|S<<16|w<<8|255)>>>0}function a(r,o,e){for(var n=r>>24&255,u=r>>16&255,p=r>>8&255,E=o>>24&255,S=o>>16&255,w=o>>8&255,y=m(h.relativeLuminance2(E,w,S),h.relativeLuminance2(n,u,p));y<e&&(E<255||S<255||w<255);)E=Math.min(255,E+Math.ceil(.1*(255-E))),S=Math.min(255,S+Math.ceil(.1*(255-S))),w=Math.min(255,w+Math.ceil(.1*(255-w))),y=m(h.relativeLuminance2(E,w,S),h.relativeLuminance2(n,u,p));return(E<<24|S<<16|w<<8|255)>>>0}i.ensureContrastRatio=function(r,o,e){var n=h.relativeLuminance(r>>8),u=h.relativeLuminance(o>>8);if(m(n,u)<e)return u<n?s(r,o,e):a(r,o,e)},i.reduceLuminance=s,i.increaseLuminance=a,i.toChannels=function(r){return[r>>24&255,r>>16&255,r>>8&255,255&r]},i.toColor=function(r,o,e){return{css:l.toCss(r,o,e),rgba:l.toRgba(r,o,e)}}}(f=t.rgba||(t.rgba={})),t.toPaddedHex=d,t.contrastRatio=m},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.isSafari=t.isFirefox=void 0;var l=typeof navigator=="undefined",b=l?"node":navigator.userAgent,h=l?"node":navigator.platform;function f(d,m){return d.indexOf(m)>=0}t.isFirefox=!!~b.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(b),t.isMac=f(["Macintosh","MacIntel","MacPPC","Mac68K"],h),t.isIpad=h==="iPad",t.isIphone=h==="iPhone",t.isWindows=f(["Windows","Win16","Win32","WinCE"],h),t.isLinux=h.indexOf("Linux")>=0},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.C1=t.C0=void 0,function(l){l.NUL="\0",l.SOH="",l.STX="",l.ETX="",l.EOT="",l.ENQ="",l.ACK="",l.BEL="\x07",l.BS="\b",l.HT=" ",l.LF=`
|
|
|
`,l.VT="\v",l.FF="\f",l.CR="\r",l.SO="",l.SI="",l.DLE="",l.DC1="",l.DC2="",l.DC3="",l.DC4="",l.NAK="",l.SYN="",l.ETB="",l.CAN="",l.EM="",l.SUB="",l.ESC="\x1B",l.FS="",l.GS="",l.RS="",l.US="",l.SP=" ",l.DEL="\x7F"}(t.C0||(t.C0={})),function(l){l.PAD="\x80",l.HOP="\x81",l.BPH="\x82",l.NBH="\x83",l.IND="\x84",l.NEL="\x85",l.SSA="\x86",l.ESA="\x87",l.HTS="\x88",l.HTJ="\x89",l.VTS="\x8A",l.PLD="\x8B",l.PLU="\x8C",l.RI="\x8D",l.SS2="\x8E",l.SS3="\x8F",l.DCS="\x90",l.PU1="\x91",l.PU2="\x92",l.STS="\x93",l.CCH="\x94",l.MW="\x95",l.SPA="\x96",l.EPA="\x97",l.SOS="\x98",l.SGCI="\x99",l.SCI="\x9A",l.CSI="\x9B",l.ST="\x9C",l.OSC="\x9D",l.PM="\x9E",l.APC="\x9F"}(t.C1||(t.C1={}))},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;var l=c(3),b=c(9),h=c(25),f=c(6),d=c(28),m=c(10),i=c(17),s=function(){function a(r,o,e,n,u,p,E,S){this._container=r,this._alpha=n,this._colors=u,this._rendererId=p,this._bufferService=E,this._optionsService=S,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+o+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return a.prototype.dispose=function(){var r;i.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},a.prototype._initCanvas=function(){this._ctx=d.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},a.prototype.onOptionsChanged=function(){},a.prototype.onBlur=function(){},a.prototype.onFocus=function(){},a.prototype.onCursorMove=function(){},a.prototype.onGridChanged=function(r,o){},a.prototype.onSelectionChanged=function(r,o,e){e===void 0&&(e=!1)},a.prototype.setColors=function(r){this._refreshCharAtlas(r)},a.prototype._setTransparency=function(r){if(r!==this._alpha){var o=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,o),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},a.prototype._refreshCharAtlas=function(r){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=h.acquireCharAtlas(this._optionsService.options,this._rendererId,r,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},a.prototype.resize=function(r){this._scaledCellWidth=r.scaledCellWidth,this._scaledCellHeight=r.scaledCellHeight,this._scaledCharWidth=r.scaledCharWidth,this._scaledCharHeight=r.scaledCharHeight,this._scaledCharLeft=r.scaledCharLeft,this._scaledCharTop=r.scaledCharTop,this._canvas.width=r.scaledCanvasWidth,this._canvas.height=r.scaledCanvasHeight,this._canvas.style.width=r.canvasWidth+"px",this._canvas.style.height=r.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},a.prototype._fillCells=function(r,o,e,n){this._ctx.fillRect(r*this._scaledCellWidth,o*this._scaledCellHeight,e*this._scaledCellWidth,n*this._scaledCellHeight)},a.prototype._fillBottomLineAtCells=function(r,o,e){e===void 0&&(e=1),this._ctx.fillRect(r*this._scaledCellWidth,(o+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},a.prototype._fillLeftLineAtCell=function(r,o,e){this._ctx.fillRect(r*this._scaledCellWidth,o*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},a.prototype._strokeRectAtCell=function(r,o,e,n){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,o*this._scaledCellHeight+window.devicePixelRatio/2,e*this._scaledCellWidth-window.devicePixelRatio,n*this._scaledCellHeight-window.devicePixelRatio)},a.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},a.prototype._clearCells=function(r,o,e,n){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,o*this._scaledCellHeight,e*this._scaledCellWidth,n*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,o*this._scaledCellHeight,e*this._scaledCellWidth,n*this._scaledCellHeight))},a.prototype._fillCharTrueColor=function(r,o,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(r.getChars(),o*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},a.prototype._drawChars=function(r,o,e){var n,u,p=this._getContrastColor(r);p||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,o,e,p):(r.isInverse()?(n=r.isBgDefault()?b.INVERTED_DEFAULT_COLOR:r.getBgColor(),u=r.isFgDefault()?b.INVERTED_DEFAULT_COLOR:r.getFgColor()):(u=r.isBgDefault()?l.DEFAULT_COLOR:r.getBgColor(),n=r.isFgDefault()?l.DEFAULT_COLOR:r.getFgColor()),n+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&n<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||l.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||l.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=n,this._currentGlyphIdentifier.bold=!!r.isBold(),this._currentGlyphIdentifier.dim=!!r.isDim(),this._currentGlyphIdentifier.italic=!!r.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,o*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,o,e))},a.prototype._drawUncachedChars=function(r,o,e,n){if(this._ctx.save(),this._ctx.font=this._getFont(!!r.isBold(),!!r.isItalic()),this._ctx.textBaseline="middle",r.isInverse())if(n)this._ctx.fillStyle=n.css;else if(r.isBgDefault())this._ctx.fillStyle=m.color.opaque(this._colors.background).css;else if(r.isBgRGB())this._ctx.fillStyle="rgb("+f.AttributeData.toColorRGB(r.getBgColor()).join(",")+")";else{var u=r.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(n)this._ctx.fillStyle=n.css;else if(r.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(r.isFgRGB())this._ctx.fillStyle="rgb("+f.AttributeData.toColorRGB(r.getFgColor()).join(",")+")";else{var p=r.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&p<8&&(p+=8),this._ctx.fillStyle=this._colors.ansi[p].css}this._clipRow(e),r.isDim()&&(this._ctx.globalAlpha=b.DIM_OPACITY),this._ctx.fillText(r.getChars(),o*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},a.prototype._clipRow=function(r){this._ctx.beginPath(),this._ctx.rect(0,r*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},a.prototype._getFont=function(r,o){return(o?"italic":"")+" "+(r?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},a.prototype._getContrastColor=function(r){if(this._optionsService.options.minimumContrastRatio!==1){var o=this._colors.contrastCache.getColor(r.bg,r.fg);if(o!==void 0)return o||void 0;var e=r.getFgColor(),n=r.getFgColorMode(),u=r.getBgColor(),p=r.getBgColorMode(),E=!!r.isInverse(),S=!!r.isInverse();if(E){var w=e;e=u,u=w;var y=n;n=p,p=y}var A=this._resolveBackgroundRgba(p,u,E),_=this._resolveForegroundRgba(n,e,E,S),v=m.rgba.ensureContrastRatio(A,_,this._optionsService.options.minimumContrastRatio);if(v){var g={css:m.channels.toCss(v>>24&255,v>>16&255,v>>8&255),rgba:v};return this._colors.contrastCache.setColor(r.bg,r.fg,g),g}this._colors.contrastCache.setColor(r.bg,r.fg,null)}},a.prototype._resolveBackgroundRgba=function(r,o,e){switch(r){case 16777216:case 33554432:return this._colors.ansi[o].rgba;case 50331648:return o<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},a.prototype._resolveForegroundRgba=function(r,o,e,n){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&n&&o<8&&(o+=8),this._colors.ansi[o].rgba;case 50331648:return o<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},a}();t.BaseRenderLayer=s},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0;function l(b,h,f){h.di$target===h?h.di$dependencies.push({id:b,index:f}):(h.di$dependencies=[{id:b,index:f}],h.di$target=h)}t.serviceRegistry=new Map,t.getServiceDependencies=function(b){return b.di$dependencies||[]},t.createDecorator=function(b){if(t.serviceRegistry.has(b))return t.serviceRegistry.get(b);var h=function(f,d,m){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");l(h,f,m)};return h.toString=function(){return b},t.serviceRegistry.set(b,h),h}},function($,t,c){"use strict";function l(b,h,f,d){if(f===void 0&&(f=0),d===void 0&&(d=b.length),f>=b.length)return b;f=(b.length+f)%b.length,d=d>=b.length?b.length:(b.length+d)%b.length;for(var m=f;m<d;++m)b[m]=h;return b}Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.fillFallback=t.fill=void 0,t.fill=function(b,h,f,d){return b.fill?b.fill(h,f,d):l(b,h,f,d)},t.fillFallback=l,t.concat=function(b,h){var f=new b.constructor(b.length+h.length);return f.set(b),f.set(h,b.length),f}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;var l=c(8),b=c(3),h=c(4),f=c(6);t.DEFAULT_ATTR_DATA=Object.freeze(new f.AttributeData);var d=function(){function m(i,s,a){a===void 0&&(a=!1),this.isWrapped=a,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*i);for(var r=s||h.CellData.fromCharData([0,b.NULL_CELL_CHAR,b.NULL_CELL_WIDTH,b.NULL_CELL_CODE]),o=0;o<i;++o)this.setCell(o,r);this.length=i}return m.prototype.get=function(i){var s=this._data[3*i+0],a=2097151&s;return[this._data[3*i+1],2097152&s?this._combined[i]:a?l.stringFromCodePoint(a):"",s>>22,2097152&s?this._combined[i].charCodeAt(this._combined[i].length-1):a]},m.prototype.set=function(i,s){this._data[3*i+1]=s[b.CHAR_DATA_ATTR_INDEX],s[b.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[i]=s[1],this._data[3*i+0]=2097152|i|s[b.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*i+0]=s[b.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|s[b.CHAR_DATA_WIDTH_INDEX]<<22},m.prototype.getWidth=function(i){return this._data[3*i+0]>>22},m.prototype.hasWidth=function(i){return 12582912&this._data[3*i+0]},m.prototype.getFg=function(i){return this._data[3*i+1]},m.prototype.getBg=function(i){return this._data[3*i+2]},m.prototype.hasContent=function(i){return 4194303&this._data[3*i+0]},m.prototype.getCodePoint=function(i){var s=this._data[3*i+0];return 2097152&s?this._combined[i].charCodeAt(this._combined[i].length-1):2097151&s},m.prototype.isCombined=function(i){return 2097152&this._data[3*i+0]},m.prototype.getString=function(i){var s=this._data[3*i+0];return 2097152&s?this._combined[i]:2097151&s?l.stringFromCodePoint(2097151&s):""},m.prototype.loadCell=function(i,s){var a=3*i;return s.content=this._data[a+0],s.fg=this._data[a+1],s.bg=this._data[a+2],2097152&s.content&&(s.combinedData=this._combined[i]),268435456&s.bg&&(s.extended=this._extendedAttrs[i]),s},m.prototype.setCell=function(i,s){2097152&s.content&&(this._combined[i]=s.combinedData),268435456&s.bg&&(this._extendedAttrs[i]=s.extended),this._data[3*i+0]=s.content,this._data[3*i+1]=s.fg,this._data[3*i+2]=s.bg},m.prototype.setCellFromCodePoint=function(i,s,a,r,o,e){268435456&o&&(this._extendedAttrs[i]=e),this._data[3*i+0]=s|a<<22,this._data[3*i+1]=r,this._data[3*i+2]=o},m.prototype.addCodepointToCell=function(i,s){var a=this._data[3*i+0];2097152&a?this._combined[i]+=l.stringFromCodePoint(s):(2097151&a?(this._combined[i]=l.stringFromCodePoint(2097151&a)+l.stringFromCodePoint(s),a&=-2097152,a|=2097152):a=s|1<<22,this._data[3*i+0]=a)},m.prototype.insertCells=function(i,s,a,r){if((i%=this.length)&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new f.ExtendedAttrs),s<this.length-i){for(var o=new h.CellData,e=this.length-i-s-1;e>=0;--e)this.setCell(i+s+e,this.loadCell(i+e,o));for(e=0;e<s;++e)this.setCell(i+e,a)}else for(e=i;e<this.length;++e)this.setCell(e,a);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new f.ExtendedAttrs)},m.prototype.deleteCells=function(i,s,a,r){if(i%=this.length,s<this.length-i){for(var o=new h.CellData,e=0;e<this.length-i-s;++e)this.setCell(i+e,this.loadCell(i+s+e,o));for(e=this.length-s;e<this.length;++e)this.setCell(e,a)}else for(e=i;e<this.length;++e)this.setCell(e,a);i&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new f.ExtendedAttrs),this.getWidth(i)!==0||this.hasContent(i)||this.setCellFromCodePoint(i,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new f.ExtendedAttrs)},m.prototype.replaceCells=function(i,s,a,r){for(i&&this.getWidth(i-1)===2&&this.setCellFromCodePoint(i-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new f.ExtendedAttrs),s<this.length&&this.getWidth(s-1)===2&&this.setCellFromCodePoint(s,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new f.ExtendedAttrs);i<s&&i<this.length;)this.setCell(i++,a)},m.prototype.resize=function(i,s){if(i!==this.length){if(i>this.length){var a=new Uint32Array(3*i);this.length&&(3*i<this._data.length?a.set(this._data.subarray(0,3*i)):a.set(this._data)),this._data=a;for(var r=this.length;r<i;++r)this.setCell(r,s)}else if(i){(a=new Uint32Array(3*i)).set(this._data.subarray(0,3*i)),this._data=a;var o=Object.keys(this._combined);for(r=0;r<o.length;r++){var e=parseInt(o[r],10);e>=i&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=i}},m.prototype.fill=function(i){this._combined={},this._extendedAttrs={};for(var s=0;s<this.length;++s)this.setCell(s,i)},m.prototype.copyFrom=function(i){for(var s in this.length!==i.length?this._data=new Uint32Array(i._data):this._data.set(i._data),this.length=i.length,this._combined={},i._combined)this._combined[s]=i._combined[s];for(var s in this._extendedAttrs={},i._extendedAttrs)this._extendedAttrs[s]=i._extendedAttrs[s];this.isWrapped=i.isWrapped},m.prototype.clone=function(){var i=new m(0);for(var s in i._data=new Uint32Array(this._data),i.length=this.length,this._combined)i._combined[s]=this._combined[s];for(var s in this._extendedAttrs)i._extendedAttrs[s]=this._extendedAttrs[s];return i.isWrapped=this.isWrapped,i},m.prototype.getTrimmedLength=function(){for(var i=this.length-1;i>=0;--i)if(4194303&this._data[3*i+0])return i+(this._data[3*i+0]>>22);return 0},m.prototype.copyCellsFrom=function(i,s,a,r,o){var e=i._data;if(o)for(var n=r-1;n>=0;n--)for(var u=0;u<3;u++)this._data[3*(a+n)+u]=e[3*(s+n)+u];else for(n=0;n<r;n++)for(u=0;u<3;u++)this._data[3*(a+n)+u]=e[3*(s+n)+u];var p=Object.keys(i._combined);for(u=0;u<p.length;u++){var E=parseInt(p[u],10);E>=s&&(this._combined[E-s+a]=i._combined[E])}},m.prototype.translateToString=function(i,s,a){i===void 0&&(i=!1),s===void 0&&(s=0),a===void 0&&(a=this.length),i&&(a=Math.min(a,this.getTrimmedLength()));for(var r="";s<a;){var o=this._data[3*s+0],e=2097151&o;r+=2097152&o?this._combined[s]:e?l.stringFromCodePoint(e):b.WHITESPACE_CELL_CHAR,s+=o>>22||1}return r},m}();t.BufferLine=d},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var l,b=[],h=0;h<arguments.length;h++)b[h]=arguments[h];for(var f=0,d=b;f<d.length;f++){var m=d[f];(l=m==null?void 0:m.parentElement)===null||l===void 0||l.removeChild(m)}}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(_,v){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,C){g.__proto__=C}||function(g,C){for(var B in C)C.hasOwnProperty(B)&&(g[B]=C[B])})(_,v)},function(_,v){function g(){this.constructor=_}l(_,v),_.prototype=v===null?Object.create(v):(g.prototype=v.prototype,new g)});Object.defineProperty(t,"__esModule",{value:!0}),t.InputHandler=t.WindowsOptionsReportType=void 0;var h,f=c(12),d=c(20),m=c(39),i=c(2),s=c(15),a=c(8),r=c(16),o=c(0),e=c(3),n=c(4),u=c(6),p=c(22),E=c(24),S={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function w(_,v){if(_>24)return v.setWinLines||!1;switch(_){case 1:return!!v.restoreWin;case 2:return!!v.minimizeWin;case 3:return!!v.setWinPosition;case 4:return!!v.setWinSizePixels;case 5:return!!v.raiseWin;case 6:return!!v.lowerWin;case 7:return!!v.refreshWin;case 8:return!!v.setWinSizeChars;case 9:return!!v.maximizeWin;case 10:return!!v.fullscreenWin;case 11:return!!v.getWinState;case 13:return!!v.getWinPosition;case 14:return!!v.getWinSizePixels;case 15:return!!v.getScreenSizePixels;case 16:return!!v.getCellSizePixels;case 18:return!!v.getWinSizeChars;case 19:return!!v.getScreenSizeChars;case 20:return!!v.getIconTitle;case 21:return!!v.getWinTitle;case 22:return!!v.pushTitle;case 23:return!!v.popTitle;case 24:return!!v.setWinLines}return!1}(function(_){_[_.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",_[_.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(h=t.WindowsOptionsReportType||(t.WindowsOptionsReportType={}));var y=function(){function _(v,g,C,B){this._bufferService=v,this._coreService=g,this._logService=C,this._optionsService=B,this._data=new Uint32Array(0)}return _.prototype.hook=function(v){this._data=new Uint32Array(0)},_.prototype.put=function(v,g,C){this._data=s.concat(this._data,v.subarray(g,C))},_.prototype.unhook=function(v){if(v){var g=a.utf32ToString(this._data);switch(this._data=new Uint32Array(0),g){case'"q':return this._coreService.triggerDataEvent(f.C0.ESC+'P1$r0"q'+f.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(f.C0.ESC+'P1$r61;1"p'+f.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(f.C0.ESC+"P1$r"+C+f.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(f.C0.ESC+"P1$r0m"+f.C0.ESC+"\\");case" q":var B={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return B-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(f.C0.ESC+"P1$r"+B+" q"+f.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",g),this._coreService.triggerDataEvent(f.C0.ESC+"P0$r"+f.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},_}(),A=function(_){function v(g,C,B,O,Z,N,W,L,F){F===void 0&&(F=new m.EscapeSequenceParser);var x=_.call(this)||this;x._bufferService=g,x._charsetService=C,x._coreService=B,x._dirtyRowService=O,x._logService=Z,x._optionsService=N,x._coreMouseService=W,x._unicodeService=L,x._parser=F,x._parseBuffer=new Uint32Array(4096),x._stringDecoder=new a.StringToUtf32,x._utf8Decoder=new a.Utf8ToUtf32,x._workCell=new n.CellData,x._windowTitle="",x._iconName="",x._windowTitleStack=[],x._iconNameStack=[],x._curAttrData=r.DEFAULT_ATTR_DATA.clone(),x._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),x._onRequestBell=new o.EventEmitter,x._onRequestRefreshRows=new o.EventEmitter,x._onRequestReset=new o.EventEmitter,x._onRequestScroll=new o.EventEmitter,x._onRequestSyncScrollBar=new o.EventEmitter,x._onRequestWindowsOptionsReport=new o.EventEmitter,x._onA11yChar=new o.EventEmitter,x._onA11yTab=new o.EventEmitter,x._onCursorMove=new o.EventEmitter,x._onLineFeed=new o.EventEmitter,x._onScroll=new o.EventEmitter,x._onTitleChange=new o.EventEmitter,x.register(x._parser),x._parser.setCsiHandlerFallback(function(I,K){x._logService.debug("Unknown CSI code: ",{identifier:x._parser.identToString(I),params:K.toArray()})}),x._parser.setEscHandlerFallback(function(I){x._logService.debug("Unknown ESC code: ",{identifier:x._parser.identToString(I)})}),x._parser.setExecuteHandlerFallback(function(I){x._logService.debug("Unknown EXECUTE code: ",{code:I})}),x._parser.setOscHandlerFallback(function(I,K,j){x._logService.debug("Unknown OSC code: ",{identifier:I,action:K,data:j})}),x._parser.setDcsHandlerFallback(function(I,K,j){K==="HOOK"&&(j=j.toArray()),x._logService.debug("Unknown DCS code: ",{identifier:x._parser.identToString(I),action:K,payload:j})}),x._parser.setPrintHandler(function(I,K,j){return x.print(I,K,j)}),x._parser.setCsiHandler({final:"@"},function(I){return x.insertChars(I)}),x._parser.setCsiHandler({intermediates:" ",final:"@"},function(I){return x.scrollLeft(I)}),x._parser.setCsiHandler({final:"A"},function(I){return x.cursorUp(I)}),x._parser.setCsiHandler({intermediates:" ",final:"A"},function(I){return x.scrollRight(I)}),x._parser.setCsiHandler({final:"B"},function(I){return x.cursorDown(I)}),x._parser.setCsiHandler({final:"C"},function(I){return x.cursorForward(I)}),x._parser.setCsiHandler({final:"D"},function(I){return x.cursorBackward(I)}),x._parser.setCsiHandler({final:"E"},function(I){return x.cursorNextLine(I)}),x._parser.setCsiHandler({final:"F"},function(I){return x.cursorPrecedingLine(I)}),x._parser.setCsiHandler({final:"G"},function(I){return x.cursorCharAbsolute(I)}),x._parser.setCsiHandler({final:"H"},function(I){return x.cursorPosition(I)}),x._parser.setCsiHandler({final:"I"},function(I){return x.cursorForwardTab(I)}),x._parser.setCsiHandler({final:"J"},function(I){return x.eraseInDisplay(I)}),x._parser.setCsiHandler({prefix:"?",final:"J"},function(I){return x.eraseInDisplay(I)}),x._parser.setCsiHandler({final:"K"},function(I){return x.eraseInLine(I)}),x._parser.setCsiHandler({prefix:"?",final:"K"},function(I){return x.eraseInLine(I)}),x._parser.setCsiHandler({final:"L"},function(I){return x.insertLines(I)}),x._parser.setCsiHandler({final:"M"},function(I){return x.deleteLines(I)}),x._parser.setCsiHandler({final:"P"},function(I){return x.deleteChars(I)}),x._parser.setCsiHandler({final:"S"},function(I){return x.scrollUp(I)}),x._parser.setCsiHandler({final:"T"},function(I){return x.scrollDown(I)}),x._parser.setCsiHandler({final:"X"},function(I){return x.eraseChars(I)}),x._parser.setCsiHandler({final:"Z"},function(I){return x.cursorBackwardTab(I)}),x._parser.setCsiHandler({final:"`"},function(I){return x.charPosAbsolute(I)}),x._parser.setCsiHandler({final:"a"},function(I){return x.hPositionRelative(I)}),x._parser.setCsiHandler({final:"b"},function(I){return x.repeatPrecedingCharacter(I)}),x._parser.setCsiHandler({final:"c"},function(I){return x.sendDeviceAttributesPrimary(I)}),x._parser.setCsiHandler({prefix:">",final:"c"},function(I){return x.sendDeviceAttributesSecondary(I)}),x._parser.setCsiHandler({final:"d"},function(I){return x.linePosAbsolute(I)}),x._parser.setCsiHandler({final:"e"},function(I){return x.vPositionRelative(I)}),x._parser.setCsiHandler({final:"f"},function(I){return x.hVPosition(I)}),x._parser.setCsiHandler({final:"g"},function(I){return x.tabClear(I)}),x._parser.setCsiHandler({final:"h"},function(I){return x.setMode(I)}),x._parser.setCsiHandler({prefix:"?",final:"h"},function(I){return x.setModePrivate(I)}),x._parser.setCsiHandler({final:"l"},function(I){return x.resetMode(I)}),x._parser.setCsiHandler({prefix:"?",final:"l"},function(I){return x.resetModePrivate(I)}),x._parser.setCsiHandler({final:"m"},function(I){return x.charAttributes(I)}),x._parser.setCsiHandler({final:"n"},function(I){return x.deviceStatus(I)}),x._parser.setCsiHandler({prefix:"?",final:"n"},function(I){return x.deviceStatusPrivate(I)}),x._parser.setCsiHandler({intermediates:"!",final:"p"},function(I){return x.softReset(I)}),x._parser.setCsiHandler({intermediates:" ",final:"q"},function(I){return x.setCursorStyle(I)}),x._parser.setCsiHandler({final:"r"},function(I){return x.setScrollRegion(I)}),x._parser.setCsiHandler({final:"s"},function(I){return x.saveCursor(I)}),x._parser.setCsiHandler({final:"t"},function(I){return x.windowOptions(I)}),x._parser.setCsiHandler({final:"u"},function(I){return x.restoreCursor(I)}),x._parser.setCsiHandler({intermediates:"'",final:"}"},function(I){return x.insertColumns(I)}),x._parser.setCsiHandler({intermediates:"'",final:"~"},function(I){return x.deleteColumns(I)}),x._parser.setExecuteHandler(f.C0.BEL,function(){return x.bell()}),x._parser.setExecuteHandler(f.C0.LF,function(){return x.lineFeed()}),x._parser.setExecuteHandler(f.C0.VT,function(){return x.lineFeed()}),x._parser.setExecuteHandler(f.C0.FF,function(){return x.lineFeed()}),x._parser.setExecuteHandler(f.C0.CR,function(){return x.carriageReturn()}),x._parser.setExecuteHandler(f.C0.BS,function(){return x.backspace()}),x._parser.setExecuteHandler(f.C0.HT,function(){return x.tab()}),x._parser.setExecuteHandler(f.C0.SO,function(){return x.shiftOut()}),x._parser.setExecuteHandler(f.C0.SI,function(){return x.shiftIn()}),x._parser.setExecuteHandler(f.C1.IND,function(){return x.index()}),x._parser.setExecuteHandler(f.C1.NEL,function(){return x.nextLine()}),x._parser.setExecuteHandler(f.C1.HTS,function(){return x.tabSet()}),x._parser.setOscHandler(0,new p.OscHandler(function(I){x.setTitle(I),x.setIconName(I)})),x._parser.setOscHandler(1,new p.OscHandler(function(I){return x.setIconName(I)})),x._parser.setOscHandler(2,new p.OscHandler(function(I){return x.setTitle(I)})),x._parser.setEscHandler({final:"7"},function(){return x.saveCursor()}),x._parser.setEscHandler({final:"8"},function(){return x.restoreCursor()}),x._parser.setEscHandler({final:"D"},function(){return x.index()}),x._parser.setEscHandler({final:"E"},function(){return x.nextLine()}),x._parser.setEscHandler({final:"H"},function(){return x.tabSet()}),x._parser.setEscHandler({final:"M"},function(){return x.reverseIndex()}),x._parser.setEscHandler({final:"="},function(){return x.keypadApplicationMode()}),x._parser.setEscHandler({final:">"},function(){return x.keypadNumericMode()}),x._parser.setEscHandler({final:"c"},function(){return x.fullReset()}),x._parser.setEscHandler({final:"n"},function(){return x.setgLevel(2)}),x._parser.setEscHandler({final:"o"},function(){return x.setgLevel(3)}),x._parser.setEscHandler({final:"|"},function(){return x.setgLevel(3)}),x._parser.setEscHandler({final:"}"},function(){return x.setgLevel(2)}),x._parser.setEscHandler({final:"~"},function(){return x.setgLevel(1)}),x._parser.setEscHandler({intermediates:"%",final:"@"},function(){return x.selectDefaultCharset()}),x._parser.setEscHandler({intermediates:"%",final:"G"},function(){return x.selectDefaultCharset()});var D=function(I){P._parser.setEscHandler({intermediates:"(",final:I},function(){return x.selectCharset("("+I)}),P._parser.setEscHandler({intermediates:")",final:I},function(){return x.selectCharset(")"+I)}),P._parser.setEscHandler({intermediates:"*",final:I},function(){return x.selectCharset("*"+I)}),P._parser.setEscHandler({intermediates:"+",final:I},function(){return x.selectCharset("+"+I)}),P._parser.setEscHandler({intermediates:"-",final:I},function(){return x.selectCharset("-"+I)}),P._parser.setEscHandler({intermediates:".",final:I},function(){return x.selectCharset("."+I)}),P._parser.setEscHandler({intermediates:"/",final:I},function(){return x.selectCharset("/"+I)})},P=this;for(var M in d.CHARSETS)D(M);return x._parser.setEscHandler({intermediates:"#",final:"8"},function(){return x.screenAlignmentPattern()}),x._parser.setErrorHandler(function(I){return x._logService.error("Parsing error: ",I),I}),x._parser.setDcsHandler({intermediates:"$",final:"q"},new y(x._bufferService,x._coreService,x._logService,x._optionsService)),x}return b(v,_),Object.defineProperty(v.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),v.prototype.dispose=function(){_.prototype.dispose.call(this)},v.prototype.parse=function(g){var C=this._bufferService.buffer,B=C.x,O=C.y;if(this._logService.debug("parsing data",g),this._parseBuffer.length<g.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(g.length,131072))),this._dirtyRowService.clearRange(),g.length>131072)for(var Z=0;Z<g.length;Z+=131072){var N=Z+131072<g.length?Z+131072:g.length,W=typeof g=="string"?this._stringDecoder.decode(g.substring(Z,N),this._parseBuffer):this._utf8Decoder.decode(g.subarray(Z,N),this._parseBuffer);this._parser.parse(this._parseBuffer,W)}else W=typeof g=="string"?this._stringDecoder.decode(g,this._parseBuffer):this._utf8Decoder.decode(g,this._parseBuffer),this._parser.parse(this._parseBuffer,W);(C=this._bufferService.buffer).x===B&&C.y===O||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},v.prototype.print=function(g,C,B){var O,Z,N=this._bufferService.buffer,W=this._charsetService.charset,L=this._optionsService.options.screenReaderMode,F=this._bufferService.cols,x=this._coreService.decPrivateModes.wraparound,D=this._coreService.modes.insertMode,P=this._curAttrData,M=N.lines.get(N.ybase+N.y);this._dirtyRowService.markDirty(N.y),N.x&&B-C>0&&M.getWidth(N.x-1)===2&&M.setCellFromCodePoint(N.x-1,0,1,P.fg,P.bg,P.extended);for(var I=C;I<B;++I){if(O=g[I],Z=this._unicodeService.wcwidth(O),O<127&&W){var K=W[String.fromCharCode(O)];K&&(O=K.charCodeAt(0))}if(L&&this._onA11yChar.fire(a.stringFromCodePoint(O)),Z||!N.x){if(N.x+Z-1>=F){if(x){for(;N.x<F;)M.setCellFromCodePoint(N.x++,0,1,P.fg,P.bg,P.extended);N.x=0,N.y++,N.y===N.scrollBottom+1?(N.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(N.y>=this._bufferService.rows&&(N.y=this._bufferService.rows-1),N.lines.get(N.ybase+N.y).isWrapped=!0),M=N.lines.get(N.ybase+N.y)}else if(N.x=F-1,Z===2)continue}if(D&&(M.insertCells(N.x,Z,N.getNullCell(P),P),M.getWidth(F-1)===2&&M.setCellFromCodePoint(F-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,P.fg,P.bg,P.extended)),M.setCellFromCodePoint(N.x++,O,Z,P.fg,P.bg,P.extended),Z>0)for(;--Z;)M.setCellFromCodePoint(N.x++,0,0,P.fg,P.bg,P.extended)}else M.getWidth(N.x-1)?M.addCodepointToCell(N.x-1,O):M.addCodepointToCell(N.x-2,O)}B-C>0&&(M.loadCell(N.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),N.x<F&&B-C>0&&M.getWidth(N.x)===0&&!M.hasContent(N.x)&&M.setCellFromCodePoint(N.x,0,1,P.fg,P.bg,P.extended),this._dirtyRowService.markDirty(N.y)},v.prototype.addCsiHandler=function(g,C){var B=this;return g.final!=="t"||g.prefix||g.intermediates?this._parser.addCsiHandler(g,C):this._parser.addCsiHandler(g,function(O){return!w(O.params[0],B._optionsService.options.windowOptions)||C(O)})},v.prototype.addDcsHandler=function(g,C){return this._parser.addDcsHandler(g,new E.DcsHandler(C))},v.prototype.addEscHandler=function(g,C){return this._parser.addEscHandler(g,C)},v.prototype.addOscHandler=function(g,C){return this._parser.addOscHandler(g,new p.OscHandler(C))},v.prototype.bell=function(){this._onRequestBell.fire()},v.prototype.lineFeed=function(){var g=this._bufferService.buffer;this._dirtyRowService.markDirty(g.y),this._optionsService.options.convertEol&&(g.x=0),g.y++,g.y===g.scrollBottom+1?(g.y--,this._onRequestScroll.fire(this._eraseAttrData())):g.y>=this._bufferService.rows&&(g.y=this._bufferService.rows-1),g.x>=this._bufferService.cols&&g.x--,this._dirtyRowService.markDirty(g.y),this._onLineFeed.fire()},v.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},v.prototype.backspace=function(){var g,C=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(C.x>0&&C.x--);if(this._restrictCursor(this._bufferService.cols),C.x>0)C.x--;else if(C.x===0&&C.y>C.scrollTop&&C.y<=C.scrollBottom&&(!((g=C.lines.get(C.ybase+C.y))===null||g===void 0)&&g.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var B=C.lines.get(C.ybase+C.y);B.hasWidth(C.x)&&!B.hasContent(C.x)&&C.x--}this._restrictCursor()},v.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var g=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-g)}},v.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},v.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},v.prototype._restrictCursor=function(g){g===void 0&&(g=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(g,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},v.prototype._setCursor=function(g,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=g,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=g,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},v.prototype._moveCursor=function(g,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+g,this._bufferService.buffer.y+C)},v.prototype.cursorUp=function(g){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,g.params[0]||1)):this._moveCursor(0,-(g.params[0]||1))},v.prototype.cursorDown=function(g){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,g.params[0]||1)):this._moveCursor(0,g.params[0]||1)},v.prototype.cursorForward=function(g){this._moveCursor(g.params[0]||1,0)},v.prototype.cursorBackward=function(g){this._moveCursor(-(g.params[0]||1),0)},v.prototype.cursorNextLine=function(g){this.cursorDown(g),this._bufferService.buffer.x=0},v.prototype.cursorPrecedingLine=function(g){this.cursorUp(g),this._bufferService.buffer.x=0},v.prototype.cursorCharAbsolute=function(g){this._setCursor((g.params[0]||1)-1,this._bufferService.buffer.y)},v.prototype.cursorPosition=function(g){this._setCursor(g.length>=2?(g.params[1]||1)-1:0,(g.params[0]||1)-1)},v.prototype.charPosAbsolute=function(g){this._setCursor((g.params[0]||1)-1,this._bufferService.buffer.y)},v.prototype.hPositionRelative=function(g){this._moveCursor(g.params[0]||1,0)},v.prototype.linePosAbsolute=function(g){this._setCursor(this._bufferService.buffer.x,(g.params[0]||1)-1)},v.prototype.vPositionRelative=function(g){this._moveCursor(0,g.params[0]||1)},v.prototype.hVPosition=function(g){this.cursorPosition(g)},v.prototype.tabClear=function(g){var C=g.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},v.prototype.cursorForwardTab=function(g){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=g.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},v.prototype.cursorBackwardTab=function(g){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=g.params[0]||1,B=this._bufferService.buffer;C--;)B.x=B.prevStop()},v.prototype._eraseInBufferLine=function(g,C,B,O){O===void 0&&(O=!1);var Z=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+g);Z.replaceCells(C,B,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),O&&(Z.isWrapped=!1)},v.prototype._resetBufferLine=function(g){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+g);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},v.prototype.eraseInDisplay=function(g){var C;switch(this._restrictCursor(),g.params[0]){case 0:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);C<this._bufferService.rows;C++)this._resetBufferLine(C);this._dirtyRowService.markDirty(C);break;case 1:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(C+1).isWrapped=!1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 2:for(C=this._bufferService.rows,this._dirtyRowService.markDirty(C-1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 3:var B=this._bufferService.buffer.lines.length-this._bufferService.rows;B>0&&(this._bufferService.buffer.lines.trimStart(B),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-B,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-B,0),this._onScroll.fire(0))}},v.prototype.eraseInLine=function(g){switch(this._restrictCursor(),g.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},v.prototype.insertLines=function(g){this._restrictCursor();var C=g.params[0]||1,B=this._bufferService.buffer;if(!(B.y>B.scrollBottom||B.y<B.scrollTop)){for(var O=B.ybase+B.y,Z=this._bufferService.rows-1-B.scrollBottom,N=this._bufferService.rows-1+B.ybase-Z+1;C--;)B.lines.splice(N-1,1),B.lines.splice(O,0,B.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(B.y,B.scrollBottom),B.x=0}},v.prototype.deleteLines=function(g){this._restrictCursor();var C=g.params[0]||1,B=this._bufferService.buffer;if(!(B.y>B.scrollBottom||B.y<B.scrollTop)){var O,Z=B.ybase+B.y;for(O=this._bufferService.rows-1-B.scrollBottom,O=this._bufferService.rows-1+B.ybase-O;C--;)B.lines.splice(Z,1),B.lines.splice(O,0,B.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(B.y,B.scrollBottom),B.x=0}},v.prototype.insertChars=function(g){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,g.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},v.prototype.deleteChars=function(g){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,g.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},v.prototype.scrollUp=function(g){for(var C=g.params[0]||1,B=this._bufferService.buffer;C--;)B.lines.splice(B.ybase+B.scrollTop,1),B.lines.splice(B.ybase+B.scrollBottom,0,B.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(B.scrollTop,B.scrollBottom)},v.prototype.scrollDown=function(g){for(var C=g.params[0]||1,B=this._bufferService.buffer;C--;)B.lines.splice(B.ybase+B.scrollBottom,1),B.lines.splice(B.ybase+B.scrollTop,0,B.getBlankLine(r.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(B.scrollTop,B.scrollBottom)},v.prototype.scrollLeft=function(g){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var B=g.params[0]||1,O=C.scrollTop;O<=C.scrollBottom;++O){var Z=C.lines.get(C.ybase+O);Z.deleteCells(0,B,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Z.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},v.prototype.scrollRight=function(g){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var B=g.params[0]||1,O=C.scrollTop;O<=C.scrollBottom;++O){var Z=C.lines.get(C.ybase+O);Z.insertCells(0,B,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Z.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},v.prototype.insertColumns=function(g){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var B=g.params[0]||1,O=C.scrollTop;O<=C.scrollBottom;++O){var Z=this._bufferService.buffer.lines.get(C.ybase+O);Z.insertCells(C.x,B,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Z.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},v.prototype.deleteColumns=function(g){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var B=g.params[0]||1,O=C.scrollTop;O<=C.scrollBottom;++O){var Z=C.lines.get(C.ybase+O);Z.deleteCells(C.x,B,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Z.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},v.prototype.eraseChars=function(g){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(g.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},v.prototype.repeatPrecedingCharacter=function(g){if(this._parser.precedingCodepoint){for(var C=g.params[0]||1,B=new Uint32Array(C),O=0;O<C;++O)B[O]=this._parser.precedingCodepoint;this.print(B,0,B.length)}},v.prototype.sendDeviceAttributesPrimary=function(g){g.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(f.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(f.C0.ESC+"[?6c"))},v.prototype.sendDeviceAttributesSecondary=function(g){g.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(f.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(f.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(g.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(f.C0.ESC+"[>83;40003;0c"))},v.prototype._is=function(g){return(this._optionsService.options.termName+"").indexOf(g)===0},v.prototype.setMode=function(g){for(var C=0;C<g.length;C++)switch(g.params[C]){case 4:this._coreService.modes.insertMode=!0}},v.prototype.setModePrivate=function(g){for(var C=0;C<g.length;C++)switch(g.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,d.DEFAULT_CHARSET),this._charsetService.setgCharset(1,d.DEFAULT_CHARSET),this._charsetService.setgCharset(2,d.DEFAULT_CHARSET),this._charsetService.setgCharset(3,d.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},v.prototype.resetMode=function(g){for(var C=0;C<g.length;C++)switch(g.params[C]){case 4:this._coreService.modes.insertMode=!1}},v.prototype.resetModePrivate=function(g){for(var C=0;C<g.length;C++)switch(g.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),g.params[C]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},v.prototype._updateAttrColor=function(g,C,B,O,Z){return C===2?(g|=50331648,g&=-16777216,g|=u.AttributeData.fromColorRGB([B,O,Z])):C===5&&(g&=-50331904,g|=33554432|255&B),g},v.prototype._extractColor=function(g,C,B){var O=[0,0,-1,0,0,0],Z=0,N=0;do{if(O[N+Z]=g.params[C+N],g.hasSubParams(C+N)){var W=g.getSubParams(C+N),L=0;do O[1]===5&&(Z=1),O[N+L+1+Z]=W[L];while(++L<W.length&&L+N+1+Z<O.length);break}if(O[1]===5&&N+Z>=2||O[1]===2&&N+Z>=5)break;O[1]&&(Z=1)}while(++N+C<g.length&&N+Z<O.length);for(L=2;L<O.length;++L)O[L]===-1&&(O[L]=0);switch(O[0]){case 38:B.fg=this._updateAttrColor(B.fg,O[1],O[3],O[4],O[5]);break;case 48:B.bg=this._updateAttrColor(B.bg,O[1],O[3],O[4],O[5]);break;case 58:B.extended=B.extended.clone(),B.extended.underlineColor=this._updateAttrColor(B.extended.underlineColor,O[1],O[3],O[4],O[5])}return N},v.prototype._processUnderline=function(g,C){C.extended=C.extended.clone(),(!~g||g>5)&&(g=1),C.extended.underlineStyle=g,C.fg|=268435456,g===0&&(C.fg&=-268435457),C.updateExtended()},v.prototype.charAttributes=function(g){if(g.length===1&&g.params[0]===0)return this._curAttrData.fg=r.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=r.DEFAULT_ATTR_DATA.bg);for(var C,B=g.length,O=this._curAttrData,Z=0;Z<B;Z++)(C=g.params[Z])>=30&&C<=37?(O.fg&=-50331904,O.fg|=16777216|C-30):C>=40&&C<=47?(O.bg&=-50331904,O.bg|=16777216|C-40):C>=90&&C<=97?(O.fg&=-50331904,O.fg|=16777224|C-90):C>=100&&C<=107?(O.bg&=-50331904,O.bg|=16777224|C-100):C===0?(O.fg=r.DEFAULT_ATTR_DATA.fg,O.bg=r.DEFAULT_ATTR_DATA.bg):C===1?O.fg|=134217728:C===3?O.bg|=67108864:C===4?(O.fg|=268435456,this._processUnderline(g.hasSubParams(Z)?g.getSubParams(Z)[0]:1,O)):C===5?O.fg|=536870912:C===7?O.fg|=67108864:C===8?O.fg|=1073741824:C===2?O.bg|=134217728:C===21?this._processUnderline(2,O):C===22?(O.fg&=-134217729,O.bg&=-134217729):C===23?O.bg&=-67108865:C===24?O.fg&=-268435457:C===25?O.fg&=-536870913:C===27?O.fg&=-67108865:C===28?O.fg&=-1073741825:C===39?(O.fg&=-67108864,O.fg|=16777215&r.DEFAULT_ATTR_DATA.fg):C===49?(O.bg&=-67108864,O.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?Z+=this._extractColor(g,Z,O):C===59?(O.extended=O.extended.clone(),O.extended.underlineColor=-1,O.updateExtended()):C===100?(O.fg&=-67108864,O.fg|=16777215&r.DEFAULT_ATTR_DATA.fg,O.bg&=-67108864,O.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},v.prototype.deviceStatus=function(g){switch(g.params[0]){case 5:this._coreService.triggerDataEvent(f.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,B=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(f.C0.ESC+"["+C+";"+B+"R")}},v.prototype.deviceStatusPrivate=function(g){switch(g.params[0]){case 6:var C=this._bufferService.buffer.y+1,B=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(f.C0.ESC+"[?"+C+";"+B+"R")}},v.prototype.softReset=function(g){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},v.prototype.setCursorStyle=function(g){var C=g.params[0]||1;switch(C){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var B=C%2==1;this._optionsService.options.cursorBlink=B},v.prototype.setScrollRegion=function(g){var C,B=g.params[0]||1;(g.length<2||(C=g.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>B&&(this._bufferService.buffer.scrollTop=B-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},v.prototype.windowOptions=function(g){if(w(g.params[0],this._optionsService.options.windowOptions)){var C=g.length>1?g.params[1]:0;switch(g.params[0]){case 14:C!==2&&this._onRequestWindowsOptionsReport.fire(h.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(h.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(f.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:C!==0&&C!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),C!==0&&C!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:C!==0&&C!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),C!==0&&C!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},v.prototype.saveCursor=function(g){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},v.prototype.restoreCursor=function(g){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},v.prototype.setTitle=function(g){this._windowTitle=g,this._onTitleChange.fire(g)},v.prototype.setIconName=function(g){this._iconName=g},v.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},v.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},v.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},v.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,d.DEFAULT_CHARSET)},v.prototype.selectCharset=function(g){g.length===2?g[0]!=="/"&&this._charsetService.setgCharset(S[g[0]],d.CHARSETS[g[1]]||d.DEFAULT_CHARSET):this.selectDefaultCharset()},v.prototype.index=function(){this._restrictCursor();var g=this._bufferService.buffer;this._bufferService.buffer.y++,g.y===g.scrollBottom+1?(g.y--,this._onRequestScroll.fire(this._eraseAttrData())):g.y>=this._bufferService.rows&&(g.y=this._bufferService.rows-1),this._restrictCursor()},v.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},v.prototype.reverseIndex=function(){this._restrictCursor();var g=this._bufferService.buffer;if(g.y===g.scrollTop){var C=g.scrollBottom-g.scrollTop;g.lines.shiftElements(g.ybase+g.y,C,1),g.lines.set(g.ybase+g.y,g.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(g.scrollTop,g.scrollBottom)}else g.y--,this._restrictCursor()},v.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},v.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},v.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},v.prototype.setgLevel=function(g){this._charsetService.setgLevel(g)},v.prototype.screenAlignmentPattern=function(){var g=new n.CellData;g.content=1<<22|69,g.fg=this._curAttrData.fg,g.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var B=0;B<this._bufferService.rows;++B){var O=C.ybase+C.y+B,Z=C.lines.get(O);Z&&(Z.fill(g),Z.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},v}(i.Disposable);t.InputHandler=A},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},t.CHARSETS.A={"#":"\xA3"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},t.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},t.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},t.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},t.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},t.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},t.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var l=function(){function b(h,f){if(h===void 0&&(h=32),f===void 0&&(f=32),this.maxLength=h,this.maxSubParamsLength=f,f>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(f),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return b.fromArray=function(h){var f=new b;if(!h.length)return f;for(var d=h[0]instanceof Array?1:0;d<h.length;++d){var m=h[d];if(m instanceof Array)for(var i=0;i<m.length;++i)f.addSubParam(m[i]);else f.addParam(m)}return f},b.prototype.clone=function(){var h=new b(this.maxLength,this.maxSubParamsLength);return h.params.set(this.params),h.length=this.length,h._subParams.set(this._subParams),h._subParamsLength=this._subParamsLength,h._subParamsIdx.set(this._subParamsIdx),h._rejectDigits=this._rejectDigits,h._rejectSubDigits=this._rejectSubDigits,h._digitIsSub=this._digitIsSub,h},b.prototype.toArray=function(){for(var h=[],f=0;f<this.length;++f){h.push(this.params[f]);var d=this._subParamsIdx[f]>>8,m=255&this._subParamsIdx[f];m-d>0&&h.push(Array.prototype.slice.call(this._subParams,d,m))}return h},b.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},b.prototype.addParam=function(h){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=h>2147483647?2147483647:h}},b.prototype.addSubParam=function(h){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=h>2147483647?2147483647:h,this._subParamsIdx[this.length-1]++}},b.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},b.prototype.getSubParams=function(h){var f=this._subParamsIdx[h]>>8,d=255&this._subParamsIdx[h];return d-f>0?this._subParams.subarray(f,d):null},b.prototype.getSubParamsAll=function(){for(var h={},f=0;f<this.length;++f){var d=this._subParamsIdx[f]>>8,m=255&this._subParamsIdx[f];m-d>0&&(h[f]=this._subParams.slice(d,m))}return h},b.prototype.addDigit=function(h){var f;if(!(this._rejectDigits||!(f=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var d=this._digitIsSub?this._subParams:this.params,m=d[f-1];d[f-1]=~m?Math.min(10*m+h,2147483647):h}},b}();t.Params=l},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var l=c(23),b=c(8),h=function(){function d(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return d.prototype.addHandler=function(m,i){this._handlers[m]===void 0&&(this._handlers[m]=[]);var s=this._handlers[m];return s.push(i),{dispose:function(){var a=s.indexOf(i);a!==-1&&s.splice(a,1)}}},d.prototype.setHandler=function(m,i){this._handlers[m]=[i]},d.prototype.clearHandler=function(m){this._handlers[m]&&delete this._handlers[m]},d.prototype.setHandlerFallback=function(m){this._handlerFb=m},d.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},d.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},d.prototype._start=function(){var m=this._handlers[this._id];if(m)for(var i=m.length-1;i>=0;i--)m[i].start();else this._handlerFb(this._id,"START")},d.prototype._put=function(m,i,s){var a=this._handlers[this._id];if(a)for(var r=a.length-1;r>=0;r--)a[r].put(m,i,s);else this._handlerFb(this._id,"PUT",b.utf32ToString(m,i,s))},d.prototype._end=function(m){var i=this._handlers[this._id];if(i){for(var s=i.length-1;s>=0&&i[s].end(m)===!1;s--);for(s--;s>=0;s--)i[s].end(!1)}else this._handlerFb(this._id,"END",m)},d.prototype.start=function(){this.reset(),this._id=-1,this._state=1},d.prototype.put=function(m,i,s){if(this._state!==3){if(this._state===1)for(;i<s;){var a=m[i++];if(a===59){this._state=2,this._start();break}if(a<48||57<a)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+a-48}this._state===2&&s-i>0&&this._put(m,i,s)}},d.prototype.end=function(m){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(m)),this._id=-1,this._state=0)},d}();t.OscParser=h;var f=function(){function d(m){this._handler=m,this._data="",this._hitLimit=!1}return d.prototype.start=function(){this._data="",this._hitLimit=!1},d.prototype.put=function(m,i,s){this._hitLimit||(this._data+=b.utf32ToString(m,i,s),this._data.length>l.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},d.prototype.end=function(m){var i;return this._hitLimit?i=!1:m&&(i=this._handler(this._data)),this._data="",this._hitLimit=!1,i},d}();t.OscHandler=f},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var l=c(8),b=c(21),h=c(23),f=[],d=function(){function i(){this._handlers=Object.create(null),this._active=f,this._ident=0,this._handlerFb=function(){}}return i.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},i.prototype.addHandler=function(s,a){this._handlers[s]===void 0&&(this._handlers[s]=[]);var r=this._handlers[s];return r.push(a),{dispose:function(){var o=r.indexOf(a);o!==-1&&r.splice(o,1)}}},i.prototype.setHandler=function(s,a){this._handlers[s]=[a]},i.prototype.clearHandler=function(s){this._handlers[s]&&delete this._handlers[s]},i.prototype.setHandlerFallback=function(s){this._handlerFb=s},i.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=f,this._ident=0},i.prototype.hook=function(s,a){if(this.reset(),this._ident=s,this._active=this._handlers[s]||f,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(a);else this._handlerFb(this._ident,"HOOK",a)},i.prototype.put=function(s,a,r){if(this._active.length)for(var o=this._active.length-1;o>=0;o--)this._active[o].put(s,a,r);else this._handlerFb(this._ident,"PUT",l.utf32ToString(s,a,r))},i.prototype.unhook=function(s){if(this._active.length){for(var a=this._active.length-1;a>=0&&this._active[a].unhook(s)===!1;a--);for(a--;a>=0;a--)this._active[a].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",s);this._active=f,this._ident=0},i}();t.DcsParser=d;var m=function(){function i(s){this._handler=s,this._data="",this._hitLimit=!1}return i.prototype.hook=function(s){this._params=s.clone(),this._data="",this._hitLimit=!1},i.prototype.put=function(s,a,r){this._hitLimit||(this._data+=l.utf32ToString(s,a,r),this._data.length>h.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},i.prototype.unhook=function(s){var a;return this._hitLimit?a=!1:s&&(a=this._handler(this._data,this._params||new b.Params)),this._params=void 0,this._data="",this._hitLimit=!1,a},i}();t.DcsHandler=m},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireCharAtlas=void 0;var l=c(26),b=c(43),h=[];t.acquireCharAtlas=function(f,d,m,i,s){for(var a=l.generateConfig(i,s,f,m),r=0;r<h.length;r++){var o=(e=h[r]).ownedBy.indexOf(d);if(o>=0){if(l.configEquals(e.config,a))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),h.splice(r,1)):e.ownedBy.splice(o,1);break}}for(r=0;r<h.length;r++){var e=h[r];if(l.configEquals(e.config,a))return e.ownedBy.push(d),e.atlas}var n={atlas:new b.DynamicCharAtlas(document,a),config:a,ownedBy:[d]};return h.push(n),n.atlas},t.removeTerminalFromCache=function(f){for(var d=0;d<h.length;d++){var m=h[d].ownedBy.indexOf(f);if(m!==-1){h[d].ownedBy.length===1?(h[d].atlas.dispose(),h.splice(d,1)):h[d].ownedBy.splice(m,1);break}}}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;var l=c(3);t.generateConfig=function(b,h,f,d){var m={foreground:d.foreground,background:d.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:d.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:b,scaledCharHeight:h,fontFamily:f.fontFamily,fontSize:f.fontSize,fontWeight:f.fontWeight,fontWeightBold:f.fontWeightBold,allowTransparency:f.allowTransparency,colors:m}},t.configEquals=function(b,h){for(var f=0;f<b.colors.ansi.length;f++)if(b.colors.ansi[f].rgba!==h.colors.ansi[f].rgba)return!1;return b.devicePixelRatio===h.devicePixelRatio&&b.fontFamily===h.fontFamily&&b.fontSize===h.fontSize&&b.fontWeight===h.fontWeight&&b.fontWeightBold===h.fontWeightBold&&b.allowTransparency===h.allowTransparency&&b.scaledCharWidth===h.scaledCharWidth&&b.scaledCharHeight===h.scaledCharHeight&&b.colors.foreground===h.colors.foreground&&b.colors.background===h.colors.background},t.is256Color=function(b){return b<l.DEFAULT_COLOR}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorManager=t.DEFAULT_ANSI_COLORS=void 0;var l=c(10),b=c(45),h=l.css.toColor("#ffffff"),f=l.css.toColor("#000000"),d=l.css.toColor("#ffffff"),m=l.css.toColor("#000000"),i={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=function(){for(var a=[l.css.toColor("#2e3436"),l.css.toColor("#cc0000"),l.css.toColor("#4e9a06"),l.css.toColor("#c4a000"),l.css.toColor("#3465a4"),l.css.toColor("#75507b"),l.css.toColor("#06989a"),l.css.toColor("#d3d7cf"),l.css.toColor("#555753"),l.css.toColor("#ef2929"),l.css.toColor("#8ae234"),l.css.toColor("#fce94f"),l.css.toColor("#729fcf"),l.css.toColor("#ad7fa8"),l.css.toColor("#34e2e2"),l.css.toColor("#eeeeec")],r=[0,95,135,175,215,255],o=0;o<216;o++){var e=r[o/36%6|0],n=r[o/6%6|0],u=r[o%6];a.push({css:l.channels.toCss(e,n,u),rgba:l.channels.toRgba(e,n,u)})}for(o=0;o<24;o++){var p=8+10*o;a.push({css:l.channels.toCss(p,p,p),rgba:l.channels.toRgba(p,p,p)})}return a}();var s=function(){function a(r,o){this.allowTransparency=o;var e=r.createElement("canvas");e.width=1,e.height=1;var n=e.getContext("2d");if(!n)throw new Error("Could not get rendering context");this._ctx=n,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new b.ColorContrastCache,this.colors={foreground:h,background:f,cursor:d,cursorAccent:m,selectionTransparent:i,selectionOpaque:l.color.blend(f,i),ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return a.prototype.onOptionsChange=function(r){r==="minimumContrastRatio"&&this._contrastCache.clear()},a.prototype.setTheme=function(r){r===void 0&&(r={}),this.colors.foreground=this._parseColor(r.foreground,h),this.colors.background=this._parseColor(r.background,f),this.colors.cursor=this._parseColor(r.cursor,d,!0),this.colors.cursorAccent=this._parseColor(r.cursorAccent,m,!0),this.colors.selectionTransparent=this._parseColor(r.selection,i,!0),this.colors.selectionOpaque=l.color.blend(this.colors.background,this.colors.selectionTransparent),l.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=l.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(r.black,t.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(r.red,t.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(r.green,t.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(r.yellow,t.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(r.blue,t.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(r.magenta,t.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(r.cyan,t.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(r.white,t.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(r.brightBlack,t.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(r.brightRed,t.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(r.brightGreen,t.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(r.brightYellow,t.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(r.brightBlue,t.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(r.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(r.brightCyan,t.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(r.brightWhite,t.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},a.prototype._parseColor=function(r,o,e){if(e===void 0&&(e=this.allowTransparency),r===void 0)return o;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=r,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+r+" is invalid using fallback "+o.css),o;this._ctx.fillRect(0,0,1,1);var n=this._ctx.getImageData(0,0,1,1).data;if(n[3]!==255){if(!e)return console.warn("Color: "+r+" is using transparency, but allowTransparency is false. Using fallback "+o.css+"."),o;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(A){return Number(A)}),p=u[0],E=u[1],S=u[2],w=u[3],y=Math.round(255*w);return{rgba:l.channels.toRgba(p,E,S,y),css:r}}return{css:this._ctx.fillStyle,rgba:l.channels.toRgba(n[0],n[1],n[2],n[3])}},a}();t.ColorManager=s},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfFalsy=void 0,t.throwIfFalsy=function(l){if(!l)throw new Error("value must not be falsy");return l}},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(s,a){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var e in o)o.hasOwnProperty(e)&&(r[e]=o[e])})(s,a)},function(s,a){function r(){this.constructor=s}l(s,a),s.prototype=a===null?Object.create(a):(r.prototype=a.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerRegistry=t.JoinedCellData=void 0;var h=c(6),f=c(3),d=c(4),m=function(s){function a(r,o,e){var n=s.call(this)||this;return n.content=0,n.combinedData="",n.fg=r.fg,n.bg=r.bg,n.combinedData=o,n._width=e,n}return b(a,s),a.prototype.isCombined=function(){return 2097152},a.prototype.getWidth=function(){return this._width},a.prototype.getChars=function(){return this.combinedData},a.prototype.getCode=function(){return 2097151},a.prototype.setFromCharData=function(r){throw new Error("not implemented")},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(h.AttributeData);t.JoinedCellData=m;var i=function(){function s(a){this._bufferService=a,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new d.CellData}return s.prototype.registerCharacterJoiner=function(a){var r={id:this._nextCharacterJoinerId++,handler:a};return this._characterJoiners.push(r),r.id},s.prototype.deregisterCharacterJoiner=function(a){for(var r=0;r<this._characterJoiners.length;r++)if(this._characterJoiners[r].id===a)return this._characterJoiners.splice(r,1),!0;return!1},s.prototype.getJoinedCharacters=function(a){if(this._characterJoiners.length===0)return[];var r=this._bufferService.buffer.lines.get(a);if(!r||r.length===0)return[];for(var o=[],e=r.translateToString(!0),n=0,u=0,p=0,E=r.getFg(0),S=r.getBg(0),w=0;w<r.getTrimmedLength();w++)if(r.loadCell(w,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==E||this._workCell.bg!==S){if(w-n>1)for(var y=this._getJoinedRanges(e,p,u,r,n),A=0;A<y.length;A++)o.push(y[A]);n=w,p=u,E=this._workCell.fg,S=this._workCell.bg}u+=this._workCell.getChars().length||f.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-n>1)for(y=this._getJoinedRanges(e,p,u,r,n),A=0;A<y.length;A++)o.push(y[A]);return o},s.prototype._getJoinedRanges=function(a,r,o,e,n){for(var u=a.substring(r,o),p=this._characterJoiners[0].handler(u),E=1;E<this._characterJoiners.length;E++)for(var S=this._characterJoiners[E].handler(u),w=0;w<S.length;w++)s._mergeRanges(p,S[w]);return this._stringRangesToCellRanges(p,e,n),p},s.prototype._stringRangesToCellRanges=function(a,r,o){var e=0,n=!1,u=0,p=a[e];if(p){for(var E=o;E<this._bufferService.cols;E++){var S=r.getWidth(E),w=r.getString(E).length||f.WHITESPACE_CELL_CHAR.length;if(S!==0){if(!n&&p[0]<=u&&(p[0]=E,n=!0),p[1]<=u){if(p[1]=E,!(p=a[++e]))break;p[0]<=u?(p[0]=E,n=!0):n=!1}u+=w}}p&&(p[1]=this._bufferService.cols)}},s._mergeRanges=function(a,r){for(var o=!1,e=0;e<a.length;e++){var n=a[e];if(o){if(r[1]<=n[0])return a[e-1][1]=r[1],a;if(r[1]<=n[1])return a[e-1][1]=Math.max(r[1],n[1]),a.splice(e,1),a;a.splice(e,1),e--}else{if(r[1]<=n[0])return a.splice(e,0,r),a;if(r[1]<=n[1])return n[0]=Math.min(r[0],n[0]),a;r[0]<n[1]&&(n[0]=Math.min(r[0],n[0]),o=!0)}}return o?a[a.length-1][1]=r[1]:a.push(r),a},s}();t.CharacterJoinerRegistry=i},function($,t,c){"use strict";function l(b,h){var f=h.getBoundingClientRect();return[b.clientX-f.left,b.clientY-f.top]}Object.defineProperty(t,"__esModule",{value:!0}),t.getRawByteCoords=t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=l,t.getCoords=function(b,h,f,d,m,i,s,a){if(m){var r=l(b,h);if(r)return r[0]=Math.ceil((r[0]+(a?i/2:0))/i),r[1]=Math.ceil(r[1]/s),r[0]=Math.min(Math.max(r[0],1),f+(a?1:0)),r[1]=Math.min(Math.max(r[1],1),d),r}},t.getRawByteCoords=function(b){if(b)return{x:b[0]+32,y:b[1]+32}}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var l=function(){function b(h){this._renderCallback=h}return b.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},b.prototype.refresh=function(h,f,d){var m=this;this._rowCount=d,h=h!==void 0?h:0,f=f!==void 0?f:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,h):h,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,f):f,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return m._innerRefresh()}))},b.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),f=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,f)}},b}();t.RenderDebouncer=l},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(f,d){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,i){m.__proto__=i}||function(m,i){for(var s in i)i.hasOwnProperty(s)&&(m[s]=i[s])})(f,d)},function(f,d){function m(){this.constructor=f}l(f,d),f.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var h=function(f){function d(){var m=f!==null&&f.apply(this,arguments)||this;return m._currentDevicePixelRatio=window.devicePixelRatio,m}return b(d,f),d.prototype.setListener=function(m){var i=this;this._listener&&this.clearListener(),this._listener=m,this._outerListener=function(){i._listener&&(i._listener(window.devicePixelRatio,i._currentDevicePixelRatio),i._updateDpr())},this._updateDpr()},d.prototype.dispose=function(){f.prototype.dispose.call(this),this.clearListener()},d.prototype._updateDpr=function(){var m;this._outerListener&&((m=this._resolutionMediaMatchList)===null||m===void 0||m.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},d.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},d}(c(2).Disposable);t.ScreenDprMonitor=h},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function l(b,h){if(h===void 0&&(h=5),typeof b!="object")return b;var f=Array.isArray(b)?[]:{};for(var d in b)f[d]=h<=1?b[d]:b[d]?l(b[d],h-1):b[d];return f}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var l=c(4),b=c(35),h=c(18),f=c(0),d=c(83),m=function(){function e(n){this._core=new b.Terminal(n),this._addonManager=new d.AddonManager}return e.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new r(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new o(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new s(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(n,u){this._verifyIntegers(n,u),this._core.resize(n,u)},e.prototype.open=function(n){this._core.open(n)},e.prototype.attachCustomKeyEventHandler=function(n){this._core.attachCustomKeyEventHandler(n)},e.prototype.registerLinkMatcher=function(n,u,p){return this._checkProposedApi(),this._core.registerLinkMatcher(n,u,p)},e.prototype.deregisterLinkMatcher=function(n){this._checkProposedApi(),this._core.deregisterLinkMatcher(n)},e.prototype.registerLinkProvider=function(n){return this._checkProposedApi(),this._core.registerLinkProvider(n)},e.prototype.registerCharacterJoiner=function(n){return this._checkProposedApi(),this._core.registerCharacterJoiner(n)},e.prototype.deregisterCharacterJoiner=function(n){this._checkProposedApi(),this._core.deregisterCharacterJoiner(n)},e.prototype.registerMarker=function(n){return this._checkProposedApi(),this._verifyIntegers(n),this._core.addMarker(n)},e.prototype.addMarker=function(n){return this.registerMarker(n)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(n,u,p){this._verifyIntegers(n,u,p),this._core.select(n,u,p)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(n,u){this._verifyIntegers(n,u),this._core.selectLines(n,u)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(n){this._verifyIntegers(n),this._core.scrollLines(n)},e.prototype.scrollPages=function(n){this._verifyIntegers(n),this._core.scrollPages(n)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(n){this._verifyIntegers(n),this._core.scrollToLine(n)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(n,u){this._core.write(n,u)},e.prototype.writeUtf8=function(n,u){this._core.write(n,u)},e.prototype.writeln=function(n,u){this._core.write(n),this._core.write(`\r
|
|
|
`,u)},e.prototype.paste=function(n){this._core.paste(n)},e.prototype.getOption=function(n){return this._core.optionsService.getOption(n)},e.prototype.setOption=function(n,u){this._core.optionsService.setOption(n,u)},e.prototype.refresh=function(n,u){this._verifyIntegers(n,u),this._core.refresh(n,u)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(n){return this._addonManager.loadAddon(this,n)},Object.defineProperty(e,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];for(var p=0,E=n;p<E.length;p++){var S=E[p];if(S===1/0||isNaN(S)||S%1!=0)throw new Error("This API only accepts integers")}},e}();t.Terminal=m;var i=function(){function e(n,u){this._buffer=n,this.type=u}return e.prototype.init=function(n){return this._buffer=n,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(n){var u=this._buffer.lines.get(n);if(u)return new a(u)},e.prototype.getNullCell=function(){return new l.CellData},e}(),s=function(){function e(n){var u=this;this._buffers=n,this._onBufferChange=new f.EventEmitter,this._normal=new i(this._buffers.normal,"normal"),this._alternate=new i(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),a=function(){function e(n){this._line=n}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(n,u){if(!(n<0||n>=this._line.length))return u?(this._line.loadCell(n,u),u):this._line.loadCell(n,new l.CellData)},e.prototype.translateToString=function(n,u,p){return this._line.translateToString(n,u,p)},e}(),r=function(){function e(n){this._core=n}return e.prototype.registerCsiHandler=function(n,u){return this._core.addCsiHandler(n,function(p){return u(p.toArray())})},e.prototype.addCsiHandler=function(n,u){return this.registerCsiHandler(n,u)},e.prototype.registerDcsHandler=function(n,u){return this._core.addDcsHandler(n,function(p,E){return u(p,E.toArray())})},e.prototype.addDcsHandler=function(n,u){return this.registerDcsHandler(n,u)},e.prototype.registerEscHandler=function(n,u){return this._core.addEscHandler(n,u)},e.prototype.addEscHandler=function(n,u){return this.registerEscHandler(n,u)},e.prototype.registerOscHandler=function(n,u){return this._core.addOscHandler(n,u)},e.prototype.addOscHandler=function(n,u){return this.registerOscHandler(n,u)},e}(),o=function(){function e(n){this._core=n}return e.prototype.register=function(n){this._core.unicodeService.register(n)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(n){this._core.unicodeService.activeVersion=n},enumerable:!1,configurable:!0}),e}()},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(F,x){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,P){D.__proto__=P}||function(D,P){for(var M in P)P.hasOwnProperty(M)&&(D[M]=P[M])})(F,x)},function(F,x){function D(){this.constructor=F}l(F,x),F.prototype=x===null?Object.create(x):(D.prototype=x.prototype,new D)});Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var h=c(36),f=c(37),d=c(38),m=c(12),i=c(19),s=c(40),a=c(50),r=c(51),o=c(11),e=c(7),n=c(18),u=c(54),p=c(55),E=c(56),S=c(57),w=c(59),y=c(0),A=c(16),_=c(27),v=c(60),g=c(5),C=c(61),B=c(62),O=c(63),Z=c(64),N=c(65),W=typeof window!="undefined"?window.document:null,L=function(F){function x(D){D===void 0&&(D={});var P=F.call(this,D)||this;return P.browser=o,P._keyDownHandled=!1,P._onCursorMove=new y.EventEmitter,P._onKey=new y.EventEmitter,P._onRender=new y.EventEmitter,P._onSelectionChange=new y.EventEmitter,P._onTitleChange=new y.EventEmitter,P._onFocus=new y.EventEmitter,P._onBlur=new y.EventEmitter,P._onA11yCharEmitter=new y.EventEmitter,P._onA11yTabEmitter=new y.EventEmitter,P._setup(),P.linkifier=P._instantiationService.createInstance(a.Linkifier),P.linkifier2=P.register(P._instantiationService.createInstance(O.Linkifier2)),P.register(P._inputHandler.onRequestBell(function(){return P.bell()})),P.register(P._inputHandler.onRequestRefreshRows(function(M,I){return P.refresh(M,I)})),P.register(P._inputHandler.onRequestReset(function(){return P.reset()})),P.register(P._inputHandler.onRequestScroll(function(M,I){return P.scroll(M,I||void 0)})),P.register(P._inputHandler.onRequestWindowsOptionsReport(function(M){return P._reportWindowsOptions(M)})),P.register(y.forwardEvent(P._inputHandler.onCursorMove,P._onCursorMove)),P.register(y.forwardEvent(P._inputHandler.onTitleChange,P._onTitleChange)),P.register(y.forwardEvent(P._inputHandler.onA11yChar,P._onA11yCharEmitter)),P.register(y.forwardEvent(P._inputHandler.onA11yTab,P._onA11yTabEmitter)),P.register(P._bufferService.onResize(function(M){return P._afterResize(M.cols,M.rows)})),P}return b(x,F),Object.defineProperty(x.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){var D,P,M;this._isDisposed||(F.prototype.dispose.call(this),(D=this._renderService)===null||D===void 0||D.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(M=(P=this.element)===null||P===void 0?void 0:P.parentNode)===null||M===void 0||M.removeChild(this.element))},x.prototype._setup=function(){F.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(x.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),x.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},x.prototype._updateOptions=function(D){var P,M,I,K;switch(F.prototype._updateOptions.call(this,D),D){case"fontFamily":case"fontSize":(P=this._renderService)===null||P===void 0||P.clear(),(M=this._charSizeService)===null||M===void 0||M.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(I=this.viewport)===null||I===void 0||I.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new E.AccessibilityManager(this,this._renderService)):((K=this._accessibilityManager)===null||K===void 0||K.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},x.prototype._onTextAreaFocus=function(D){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(m.C0.ESC+"[I"),this.updateCursorStyle(D),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},x.prototype.blur=function(){var D;return(D=this.textarea)===null||D===void 0?void 0:D.blur()},x.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(m.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},x.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var D=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),P=this._bufferService.buffer.y*D,M=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=M+"px",this.textarea.style.top=P+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=D+"px",this.textarea.style.lineHeight=D+"px",this.textarea.style.zIndex="-5"}},x.prototype._initGlobal=function(){var D=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(M){D.hasSelection()&&d.copyHandler(M,D._selectionService)}));var P=function(M){return d.handlePasteEvent(M,D.textarea,D._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",P)),this.register(e.addDisposableDomListener(this.element,"paste",P)),o.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(M){M.button===2&&d.rightClickHandler(M,D.textarea,D.screenElement,D._selectionService,D.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(M){d.rightClickHandler(M,D.textarea,D.screenElement,D._selectionService,D.options.rightClickSelectsWord)})),o.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(M){M.button===1&&d.moveTextAreaUnderMouseCursor(M,D.textarea,D.screenElement)}))},x.prototype._bindKeys=function(){var D=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(P){return D._keyUp(P)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(P){return D._keyDown(P)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(P){return D._keyPress(P)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return D._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(P){return D._compositionHelper.compositionupdate(P)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return D._compositionHelper.compositionend()})),this.register(this.onRender(function(){return D._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(P){return D._queueLinkification(P.start,P.end)}))},x.prototype.open=function(D){var P=this;if(!D)throw new Error("Terminal requires a parent element.");W.body.contains(D)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=D.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),D.appendChild(this.element);var M=W.createDocumentFragment();this._viewportElement=W.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),M.appendChild(this._viewportElement),this._viewportScrollArea=W.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=W.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=W.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),M.appendChild(this.screenElement),this.textarea=W.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",n.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(e.addDisposableDomListener(this.textarea,"focus",function(j){return P._onTextAreaFocus(j)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return P._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var I=this._instantiationService.createInstance(Z.CoreBrowserService,this.textarea);this._instantiationService.setService(g.ICoreBrowserService,I),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(g.ICharSizeService,this._charSizeService),this._compositionView=W.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(h.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(M),this._theme=this.options.theme||this._theme,this._colorManager=new _.ColorManager(W,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(j){return P._colorManager.onOptionsChange(j)})),this._colorManager.setTheme(this._theme);var K=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(v.RenderService,K,this.rows,this.screenElement)),this._instantiationService.setService(g.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(j){return P._onRender.fire(j)})),this.onResize(function(j){return P._renderService.resize(j.cols,j.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(g.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(B.MouseService),this._instantiationService.setService(g.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(f.Viewport,function(j,Q){return P.scrollLines(j,Q)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return P.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){P._renderService.onCursorMove(),P._syncTextArea()})),this.register(this.onResize(function(){return P._renderService.onResize(P.cols,P.rows)})),this.register(this.onBlur(function(){return P._renderService.onBlur()})),this.register(this.onFocus(function(){return P._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return P.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(r.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(g.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(j){return P.scrollLines(j.amount,j.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return P._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(j){return P._renderService.onSelectionChanged(j.start,j.end,j.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(j){P.textarea.value=j,P.textarea.focus(),P.textarea.select()})),this.register(this.onScroll(function(){P.viewport.syncScrollArea(),P._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return P._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return P._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(e.addDisposableDomListener(this.element,"mousedown",function(j){return P._selectionService.onMouseDown(j)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new E.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},x.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(s.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(S.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},x.prototype._setTheme=function(D){var P,M,I;this._theme=D,(P=this._colorManager)===null||P===void 0||P.setTheme(D),(M=this._renderService)===null||M===void 0||M.setColors(this._colorManager.colors),(I=this.viewport)===null||I===void 0||I.onThemeChange(this._colorManager.colors)},x.prototype.bindMouse=function(){var D=this,P=this,M=this.element;function I(U){var G,te,Se=P._mouseService.getRawByteCoords(U,P.screenElement,P.cols,P.rows);if(!Se)return!1;switch(U.overrideType||U.type){case"mousemove":te=32,U.buttons===void 0?(G=3,U.button!==void 0&&(G=U.button<3?U.button:3)):G=1&U.buttons?0:4&U.buttons?1:2&U.buttons?2:3;break;case"mouseup":te=0,G=U.button<3?U.button:3;break;case"mousedown":te=1,G=U.button<3?U.button:3;break;case"wheel":U.deltaY!==0&&(te=U.deltaY<0?0:1),G=4;break;default:return!1}return!(te===void 0||G===void 0||G>4)&&P._coreMouseService.triggerMouseEvent({col:Se.x-33,row:Se.y-33,button:G,action:te,ctrl:U.ctrlKey,alt:U.altKey,shift:U.shiftKey})}var K={mouseup:null,wheel:null,mousedrag:null,mousemove:null},j=function(U){return I(U),U.buttons||(D._document.removeEventListener("mouseup",K.mouseup),K.mousedrag&&D._document.removeEventListener("mousemove",K.mousedrag)),D.cancel(U)},Q=function(U){return I(U),U.preventDefault(),D.cancel(U)},J=function(U){U.buttons&&I(U)},q=function(U){U.buttons||I(U)};this.register(this._coreMouseService.onProtocolChange(function(U){U?(D.optionsService.options.logLevel==="debug"&&D._logService.debug("Binding to mouse events:",D._coreMouseService.explainEvents(U)),D.element.classList.add("enable-mouse-events"),D._selectionService.disable()):(D._logService.debug("Unbinding from mouse events."),D.element.classList.remove("enable-mouse-events"),D._selectionService.enable()),8&U?K.mousemove||(M.addEventListener("mousemove",q),K.mousemove=q):(M.removeEventListener("mousemove",K.mousemove),K.mousemove=null),16&U?K.wheel||(M.addEventListener("wheel",Q,{passive:!1}),K.wheel=Q):(M.removeEventListener("wheel",K.wheel),K.wheel=null),2&U?K.mouseup||(K.mouseup=j):(D._document.removeEventListener("mouseup",K.mouseup),K.mouseup=null),4&U?K.mousedrag||(K.mousedrag=J):(D._document.removeEventListener("mousemove",K.mousedrag),K.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(M,"mousedown",function(U){if(U.preventDefault(),D.focus(),D._coreMouseService.areMouseEventsActive&&!D._selectionService.shouldForceSelection(U))return I(U),K.mouseup&&D._document.addEventListener("mouseup",K.mouseup),K.mousedrag&&D._document.addEventListener("mousemove",K.mousedrag),D.cancel(U)})),this.register(e.addDisposableDomListener(M,"wheel",function(U){if(!K.wheel){if(!D.buffer.hasScrollback){var G=D.viewport.getLinesScrolled(U);if(G===0)return;for(var te=m.C0.ESC+(D._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(U.deltaY<0?"A":"B"),Se="",oe=0;oe<Math.abs(G);oe++)Se+=te;D._coreService.triggerDataEvent(Se,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(M,"wheel",function(U){if(!K.wheel)return D.viewport.onWheel(U)?void 0:D.cancel(U)},{passive:!1})),this.register(e.addDisposableDomListener(M,"touchstart",function(U){if(!D._coreMouseService.areMouseEventsActive)return D.viewport.onTouchStart(U),D.cancel(U)},{passive:!0})),this.register(e.addDisposableDomListener(M,"touchmove",function(U){if(!D._coreMouseService.areMouseEventsActive)return D.viewport.onTouchMove(U)?void 0:D.cancel(U)},{passive:!1}))},x.prototype.refresh=function(D,P){var M;(M=this._renderService)===null||M===void 0||M.refreshRows(D,P)},x.prototype._queueLinkification=function(D,P){var M;(M=this.linkifier)===null||M===void 0||M.linkifyRows(D,P)},x.prototype.updateCursorStyle=function(D){this._selectionService&&this._selectionService.shouldColumnSelect(D)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},x.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},x.prototype.scrollLines=function(D,P){F.prototype.scrollLines.call(this,D,P),this.refresh(0,this.rows-1)},x.prototype.paste=function(D){d.paste(D,this.textarea,this._coreService)},x.prototype.attachCustomKeyEventHandler=function(D){this._customKeyEventHandler=D},x.prototype.registerLinkMatcher=function(D,P,M){var I=this.linkifier.registerLinkMatcher(D,P,M);return this.refresh(0,this.rows-1),I},x.prototype.deregisterLinkMatcher=function(D){this.linkifier.deregisterLinkMatcher(D)&&this.refresh(0,this.rows-1)},x.prototype.registerLinkProvider=function(D){return this.linkifier2.registerLinkProvider(D)},x.prototype.registerCharacterJoiner=function(D){var P=this._renderService.registerCharacterJoiner(D);return this.refresh(0,this.rows-1),P},x.prototype.deregisterCharacterJoiner=function(D){this._renderService.deregisterCharacterJoiner(D)&&this.refresh(0,this.rows-1)},Object.defineProperty(x.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),x.prototype.addMarker=function(D){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+D)},x.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},x.prototype.select=function(D,P,M){this._selectionService.setSelection(D,P,M)},x.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},x.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},x.prototype.clearSelection=function(){var D;(D=this._selectionService)===null||D===void 0||D.clearSelection()},x.prototype.selectAll=function(){var D;(D=this._selectionService)===null||D===void 0||D.selectAll()},x.prototype.selectLines=function(D,P){var M;(M=this._selectionService)===null||M===void 0||M.selectLines(D,P)},x.prototype._keyDown=function(D){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(D)===!1)return!1;if(!this._compositionHelper.keydown(D))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var P=w.evaluateKeyboardEvent(D,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(D),P.type===3||P.type===2){var M=this.rows-1;return this.scrollLines(P.type===2?-M:M),this.cancel(D,!0)}return P.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,D)||(P.cancel&&this.cancel(D,!0),!P.key||(P.key!==m.C0.ETX&&P.key!==m.C0.CR||(this.textarea.value=""),this._onKey.fire({key:P.key,domEvent:D}),this._showCursor(),this._coreService.triggerDataEvent(P.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(D,!0)))},x.prototype._isThirdLevelShift=function(D,P){var M=D.isMac&&!this.options.macOptionIsMeta&&P.altKey&&!P.ctrlKey&&!P.metaKey||D.isWindows&&P.altKey&&P.ctrlKey&&!P.metaKey;return P.type==="keypress"?M:M&&(!P.keyCode||P.keyCode>47)},x.prototype._keyUp=function(D){this._customKeyEventHandler&&this._customKeyEventHandler(D)===!1||(function(P){return P.keyCode===16||P.keyCode===17||P.keyCode===18}(D)||this.focus(),this.updateCursorStyle(D))},x.prototype._keyPress=function(D){var P;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(D)===!1)return!1;if(this.cancel(D),D.charCode)P=D.charCode;else if(D.which===null||D.which===void 0)P=D.keyCode;else{if(D.which===0||D.charCode===0)return!1;P=D.which}return!(!P||(D.altKey||D.ctrlKey||D.metaKey)&&!this._isThirdLevelShift(this.browser,D))&&(P=String.fromCharCode(P),this._onKey.fire({key:P,domEvent:D}),this._showCursor(),this._coreService.triggerDataEvent(P,!0),!0)},x.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},x.prototype.resize=function(D,P){D!==this.cols||P!==this.rows?F.prototype.resize.call(this,D,P):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},x.prototype._afterResize=function(D,P){var M,I;(M=this._charSizeService)===null||M===void 0||M.measure(),(I=this.viewport)===null||I===void 0||I.syncScrollArea(!0)},x.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var D=1;D<this.rows;D++)this.buffer.lines.push(this.buffer.getBlankLine(A.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},x.prototype.reset=function(){var D,P;this.options.rows=this.rows,this.options.cols=this.cols;var M=this._customKeyEventHandler;this._setup(),F.prototype.reset.call(this),(D=this._selectionService)===null||D===void 0||D.reset(),this._customKeyEventHandler=M,this.refresh(0,this.rows-1),(P=this.viewport)===null||P===void 0||P.syncScrollArea()},x.prototype._reportWindowsOptions=function(D){if(this._renderService)switch(D){case i.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var P=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),M=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(m.C0.ESC+"[4;"+M+";"+P+"t");break;case i.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var I=this._renderService.dimensions.scaledCellWidth.toFixed(0),K=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(m.C0.ESC+"[6;"+K+";"+I+"t")}},x.prototype.cancel=function(D,P){if(this.options.cancelEvents||P)return D.preventDefault(),D.stopPropagation(),!1},x.prototype._visualBell=function(){return!1},x.prototype._soundBell=function(){return this.options.bellStyle==="sound"},x}(N.CoreTerminal);t.Terminal=L},function($,t,c){"use strict";var l=this&&this.__decorate||function(m,i,s,a){var r,o=arguments.length,e=o<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,s):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(m,i,s,a);else for(var n=m.length-1;n>=0;n--)(r=m[n])&&(e=(o<3?r(e):o>3?r(i,s,e):r(i,s))||e);return o>3&&e&&Object.defineProperty(i,s,e),e},b=this&&this.__param||function(m,i){return function(s,a){i(s,a,m)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;var h=c(5),f=c(1),d=function(){function m(i,s,a,r,o,e){this._textarea=i,this._compositionView=s,this._bufferService=a,this._optionsService=r,this._charSizeService=o,this._coreService=e,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(m.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),m.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},m.prototype.compositionupdate=function(i){var s=this;this._compositionView.textContent=i.data,this.updateCompositionElements(),setTimeout(function(){s._compositionPosition.end=s._textarea.value.length},0)},m.prototype.compositionend=function(){this._finalizeComposition(!0)},m.prototype.keydown=function(i){if(this._isComposing||this._isSendingComposition){if(i.keyCode===229||i.keyCode===16||i.keyCode===17||i.keyCode===18)return!1;this._finalizeComposition(!1)}return i.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},m.prototype._finalizeComposition=function(i){var s=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,i){var a={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(s._isSendingComposition){s._isSendingComposition=!1;var o=void 0;o=s._isComposing?s._textarea.value.substring(a.start,a.end):s._textarea.value.substring(a.start),s._coreService.triggerDataEvent(o,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},m.prototype._handleAnyTextareaChanges=function(){var i=this,s=this._textarea.value;setTimeout(function(){if(!i._isComposing){var a=i._textarea.value.replace(s,"");a.length>0&&i._coreService.triggerDataEvent(a,!0)}},0)},m.prototype.updateCompositionElements=function(i){var s=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var a=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*a,o=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=o+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=a+"px",this._compositionView.style.lineHeight=a+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._compositionView.getBoundingClientRect();this._textarea.style.left=o+"px",this._textarea.style.top=r+"px",this._textarea.style.width=e.width+"px",this._textarea.style.height=e.height+"px",this._textarea.style.lineHeight=e.height+"px"}i||setTimeout(function(){return s.updateCompositionElements(!0)},0)}},m=l([b(2,f.IBufferService),b(3,f.IOptionsService),b(4,h.ICharSizeService),b(5,f.ICoreService)],m)}();t.CompositionHelper=d},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(r,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var u in n)n.hasOwnProperty(u)&&(e[u]=n[u])})(r,o)},function(r,o){function e(){this.constructor=r}l(r,o),r.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)}),h=this&&this.__decorate||function(r,o,e,n){var u,p=arguments.length,E=p<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(r,o,e,n);else for(var S=r.length-1;S>=0;S--)(u=r[S])&&(E=(p<3?u(E):p>3?u(o,e,E):u(o,e))||E);return p>3&&E&&Object.defineProperty(o,e,E),E},f=this&&this.__param||function(r,o){return function(e,n){o(e,n,r)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;var d=c(2),m=c(7),i=c(5),s=c(1),a=function(r){function o(e,n,u,p,E,S,w){var y=r.call(this)||this;return y._scrollLines=e,y._viewportElement=n,y._scrollArea=u,y._bufferService=p,y._optionsService=E,y._charSizeService=S,y._renderService=w,y.scrollBarWidth=0,y._currentRowHeight=0,y._lastRecordedBufferLength=0,y._lastRecordedViewportHeight=0,y._lastRecordedBufferHeight=0,y._lastTouchY=0,y._lastScrollTop=0,y._wheelPartialScroll=0,y._refreshAnimationFrame=null,y._ignoreNextScrollEvent=!1,y.scrollBarWidth=y._viewportElement.offsetWidth-y._scrollArea.offsetWidth||15,y.register(m.addDisposableDomListener(y._viewportElement,"scroll",y._onScroll.bind(y))),setTimeout(function(){return y.syncScrollArea()},0),y}return b(o,r),o.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},o.prototype._refresh=function(e){var n=this;if(e)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return n._innerRefresh()}))},o.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var n=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==n&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=n),this._refreshAnimationFrame=null},o.prototype.syncScrollArea=function(e){if(e===void 0&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var n=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===n&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},o.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var n=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(n,!0)}},o.prototype._bubbleScroll=function(e,n){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(n<0&&this._viewportElement.scrollTop!==0||n>0&&u<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},o.prototype.onWheel=function(e){var n=this._getPixelsScrolled(e);return n!==0&&(this._viewportElement.scrollTop+=n,this._bubbleScroll(e,n))},o.prototype._getPixelsScrolled=function(e){if(e.deltaY===0)return 0;var n=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?n*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(n*=this._currentRowHeight*this._bufferService.rows),n},o.prototype.getLinesScrolled=function(e){if(e.deltaY===0)return 0;var n=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(n/=this._currentRowHeight+0,this._wheelPartialScroll+=n,n=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(n*=this._bufferService.rows),n},o.prototype._applyScrollModifier=function(e,n){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&n.altKey||u==="ctrl"&&n.ctrlKey||u==="shift"&&n.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},o.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},o.prototype.onTouchMove=function(e){var n=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,n!==0&&(this._viewportElement.scrollTop+=n,this._bubbleScroll(e,n))},o=h([f(3,s.IBufferService),f(4,s.IOptionsService),f(5,i.ICharSizeService),f(6,i.IRenderService)],o)}(d.Disposable);t.Viewport=a},function($,t,c){"use strict";function l(d){return d.replace(/\r?\n/g,"\r")}function b(d,m){return m?"\x1B[200~"+d+"\x1B[201~":d}function h(d,m,i){d=b(d=l(d),i.decPrivateModes.bracketedPasteMode),i.triggerDataEvent(d,!0),m.value=""}function f(d,m,i){var s=i.getBoundingClientRect(),a=d.clientX-s.left-10,r=d.clientY-s.top-10;m.style.width="20px",m.style.height="20px",m.style.left=a+"px",m.style.top=r+"px",m.style.zIndex="1000",m.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=l,t.bracketTextForPaste=b,t.copyHandler=function(d,m){d.clipboardData&&d.clipboardData.setData("text/plain",m.selectionText),d.preventDefault()},t.handlePasteEvent=function(d,m,i){d.stopPropagation(),d.clipboardData&&h(d.clipboardData.getData("text/plain"),m,i)},t.paste=h,t.moveTextAreaUnderMouseCursor=f,t.rightClickHandler=function(d,m,i,s,a){f(d,m,i),a&&!s.isClickInSelection(d)&&s.selectWordAtCursor(d),m.value=s.selectionText,m.select()}},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(r,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var u in n)n.hasOwnProperty(u)&&(e[u]=n[u])})(r,o)},function(r,o){function e(){this.constructor=r}l(r,o),r.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var h=c(2),f=c(15),d=c(21),m=c(22),i=c(24),s=function(){function r(o){this.table=new Uint8Array(o)}return r.prototype.setDefault=function(o,e){f.fill(this.table,o<<4|e)},r.prototype.add=function(o,e,n,u){this.table[e<<8|o]=n<<4|u},r.prototype.addMany=function(o,e,n,u){for(var p=0;p<o.length;p++)this.table[e<<8|o[p]]=n<<4|u},r}();t.TransitionTable=s,t.VT500_TRANSITION_TABLE=function(){var r=new s(4095),o=Array.apply(null,Array(256)).map(function(S,w){return w}),e=function(S,w){return o.slice(S,w)},n=e(32,127),u=e(0,24);u.push(25),u.push.apply(u,e(28,32));var p,E=e(0,14);for(p in r.setDefault(1,0),r.addMany(n,0,2,0),E)r.addMany([24,26,153,154],p,3,0),r.addMany(e(128,144),p,3,0),r.addMany(e(144,152),p,3,0),r.add(156,p,0,0),r.add(27,p,11,1),r.add(157,p,4,8),r.addMany([152,158,159],p,0,7),r.add(155,p,11,3),r.add(144,p,11,9);return r.addMany(u,0,3,0),r.addMany(u,1,3,1),r.add(127,1,0,1),r.addMany(u,8,0,8),r.addMany(u,3,3,3),r.add(127,3,0,3),r.addMany(u,4,3,4),r.add(127,4,0,4),r.addMany(u,6,3,6),r.addMany(u,5,3,5),r.add(127,5,0,5),r.addMany(u,2,3,2),r.add(127,2,0,2),r.add(93,1,4,8),r.addMany(n,8,5,8),r.add(127,8,5,8),r.addMany([156,27,24,26,7],8,6,0),r.addMany(e(28,32),8,0,8),r.addMany([88,94,95],1,0,7),r.addMany(n,7,0,7),r.addMany(u,7,0,7),r.add(156,7,0,0),r.add(127,7,0,7),r.add(91,1,11,3),r.addMany(e(64,127),3,7,0),r.addMany(e(48,60),3,8,4),r.addMany([60,61,62,63],3,9,4),r.addMany(e(48,60),4,8,4),r.addMany(e(64,127),4,7,0),r.addMany([60,61,62,63],4,0,6),r.addMany(e(32,64),6,0,6),r.add(127,6,0,6),r.addMany(e(64,127),6,0,0),r.addMany(e(32,48),3,9,5),r.addMany(e(32,48),5,9,5),r.addMany(e(48,64),5,0,6),r.addMany(e(64,127),5,7,0),r.addMany(e(32,48),4,9,5),r.addMany(e(32,48),1,9,2),r.addMany(e(32,48),2,9,2),r.addMany(e(48,127),2,10,0),r.addMany(e(48,80),1,10,0),r.addMany(e(81,88),1,10,0),r.addMany([89,90,92],1,10,0),r.addMany(e(96,127),1,10,0),r.add(80,1,11,9),r.addMany(u,9,0,9),r.add(127,9,0,9),r.addMany(e(28,32),9,0,9),r.addMany(e(32,48),9,9,12),r.addMany(e(48,60),9,8,10),r.addMany([60,61,62,63],9,9,10),r.addMany(u,11,0,11),r.addMany(e(32,128),11,0,11),r.addMany(e(28,32),11,0,11),r.addMany(u,10,0,10),r.add(127,10,0,10),r.addMany(e(28,32),10,0,10),r.addMany(e(48,60),10,8,10),r.addMany([60,61,62,63],10,0,11),r.addMany(e(32,48),10,9,12),r.addMany(u,12,0,12),r.add(127,12,0,12),r.addMany(e(28,32),12,0,12),r.addMany(e(32,48),12,9,12),r.addMany(e(48,64),12,0,11),r.addMany(e(64,127),12,12,13),r.addMany(e(64,127),10,12,13),r.addMany(e(64,127),9,12,13),r.addMany(u,13,13,13),r.addMany(n,13,13,13),r.add(127,13,0,13),r.addMany([27,156,24,26],13,14,0),r.add(160,0,2,0),r.add(160,8,5,8),r.add(160,6,0,6),r.add(160,11,0,11),r.add(160,13,13,13),r}();var a=function(r){function o(e){e===void 0&&(e=t.VT500_TRANSITION_TABLE);var n=r.call(this)||this;return n._transitions=e,n.initialState=0,n.currentState=n.initialState,n._params=new d.Params,n._params.addParam(0),n._collect=0,n.precedingCodepoint=0,n._printHandlerFb=function(u,p,E){},n._executeHandlerFb=function(u){},n._csiHandlerFb=function(u,p){},n._escHandlerFb=function(u){},n._errorHandlerFb=function(u){return u},n._printHandler=n._printHandlerFb,n._executeHandlers=Object.create(null),n._csiHandlers=Object.create(null),n._escHandlers=Object.create(null),n._oscParser=new m.OscParser,n._dcsParser=new i.DcsParser,n._errorHandler=n._errorHandlerFb,n.setEscHandler({final:"\\"},function(){}),n}return b(o,r),o.prototype._identifier=function(e,n){n===void 0&&(n=[64,126]);var u=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=e.prefix.charCodeAt(0))&&60>u||u>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var p=0;p<e.intermediates.length;++p){var E=e.intermediates.charCodeAt(p);if(32>E||E>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=E}}if(e.final.length!==1)throw new Error("final must be a single byte");var S=e.final.charCodeAt(0);if(n[0]>S||S>n[1])throw new Error("final must be in range "+n[0]+" .. "+n[1]);return u<<=8,u|=S},o.prototype.identToString=function(e){for(var n=[];e;)n.push(String.fromCharCode(255&e)),e>>=8;return n.reverse().join("")},o.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},o.prototype.setPrintHandler=function(e){this._printHandler=e},o.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},o.prototype.addEscHandler=function(e,n){var u=this._identifier(e,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var p=this._escHandlers[u];return p.push(n),{dispose:function(){var E=p.indexOf(n);E!==-1&&p.splice(E,1)}}},o.prototype.setEscHandler=function(e,n){this._escHandlers[this._identifier(e,[48,126])]=[n]},o.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},o.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},o.prototype.setExecuteHandler=function(e,n){this._executeHandlers[e.charCodeAt(0)]=n},o.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},o.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},o.prototype.addCsiHandler=function(e,n){var u=this._identifier(e);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var p=this._csiHandlers[u];return p.push(n),{dispose:function(){var E=p.indexOf(n);E!==-1&&p.splice(E,1)}}},o.prototype.setCsiHandler=function(e,n){this._csiHandlers[this._identifier(e)]=[n]},o.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},o.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},o.prototype.addDcsHandler=function(e,n){return this._dcsParser.addHandler(this._identifier(e),n)},o.prototype.setDcsHandler=function(e,n){this._dcsParser.setHandler(this._identifier(e),n)},o.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},o.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},o.prototype.addOscHandler=function(e,n){return this._oscParser.addHandler(e,n)},o.prototype.setOscHandler=function(e,n){this._oscParser.setHandler(e,n)},o.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},o.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},o.prototype.setErrorHandler=function(e){this._errorHandler=e},o.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},o.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},o.prototype.parse=function(e,n){for(var u=0,p=0,E=this.currentState,S=this._oscParser,w=this._dcsParser,y=this._collect,A=this._params,_=this._transitions.table,v=0;v<n;++v){switch((p=_[E<<8|((u=e[v])<160?u:160)])>>4){case 2:for(var g=v+1;;++g){if(g>=n||(u=e[g])<32||u>126&&u<160){this._printHandler(e,v,g),v=g-1;break}if(++g>=n||(u=e[g])<32||u>126&&u<160){this._printHandler(e,v,g),v=g-1;break}if(++g>=n||(u=e[g])<32||u>126&&u<160){this._printHandler(e,v,g),v=g-1;break}if(++g>=n||(u=e[g])<32||u>126&&u<160){this._printHandler(e,v,g),v=g-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:v,code:u,currentState:E,collect:y,params:A,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[y<<8|u],B=C?C.length-1:-1;B>=0&&C[B](A)===!1;B--);B<0&&this._csiHandlerFb(y<<8|u,A),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:A.addParam(0);break;case 58:A.addSubParam(-1);break;default:A.addDigit(u-48)}while(++v<n&&(u=e[v])>47&&u<60);v--;break;case 9:y<<=8,y|=u;break;case 10:for(var O=this._escHandlers[y<<8|u],Z=O?O.length-1:-1;Z>=0&&O[Z]()===!1;Z--);Z<0&&this._escHandlerFb(y<<8|u),this.precedingCodepoint=0;break;case 11:A.reset(),A.addParam(0),y=0;break;case 12:w.hook(y<<8|u,A);break;case 13:for(var N=v+1;;++N)if(N>=n||(u=e[N])===24||u===26||u===27||u>127&&u<160){w.put(e,v,N),v=N-1;break}break;case 14:w.unhook(u!==24&&u!==26),u===27&&(p|=1),A.reset(),A.addParam(0),y=0,this.precedingCodepoint=0;break;case 4:S.start();break;case 5:for(var W=v+1;;W++)if(W>=n||(u=e[W])<32||u>127&&u<=159){S.put(e,v,W),v=W-1;break}break;case 6:S.end(u!==24&&u!==26),u===27&&(p|=1),A.reset(),A.addParam(0),y=0,this.precedingCodepoint=0}E=15&p}this._collect=y,this.currentState=E},o}(h.Disposable);t.EscapeSequenceParser=a},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(S,w){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,A){y.__proto__=A}||function(y,A){for(var _ in A)A.hasOwnProperty(_)&&(y[_]=A[_])})(S,w)},function(S,w){function y(){this.constructor=S}l(S,w),S.prototype=w===null?Object.create(w):(y.prototype=w.prototype,new y)}),h=this&&this.__decorate||function(S,w,y,A){var _,v=arguments.length,g=v<3?w:A===null?A=Object.getOwnPropertyDescriptor(w,y):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(S,w,y,A);else for(var C=S.length-1;C>=0;C--)(_=S[C])&&(g=(v<3?_(g):v>3?_(w,y,g):_(w,y))||g);return v>3&&g&&Object.defineProperty(w,y,g),g},f=this&&this.__param||function(S,w){return function(y,A){w(y,A,S)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var d=c(41),m=c(47),i=c(48),s=c(49),a=c(29),r=c(2),o=c(5),e=c(1),n=c(25),u=c(0),p=1,E=function(S){function w(y,A,_,v,g,C,B,O,Z){var N=S.call(this)||this;N._colors=y,N._screenElement=A,N._bufferService=g,N._charSizeService=C,N._optionsService=B,N._id=p++,N._onRequestRedraw=new u.EventEmitter;var W=N._optionsService.options.allowTransparency;return N._characterJoinerRegistry=new a.CharacterJoinerRegistry(N._bufferService),N._renderLayers=[new d.TextRenderLayer(N._screenElement,0,N._colors,N._characterJoinerRegistry,W,N._id,N._bufferService,B),new m.SelectionRenderLayer(N._screenElement,1,N._colors,N._id,N._bufferService,B),new s.LinkRenderLayer(N._screenElement,2,N._colors,N._id,_,v,N._bufferService,B),new i.CursorRenderLayer(N._screenElement,3,N._colors,N._id,N._onRequestRedraw,N._bufferService,B,O,Z)],N.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},N._devicePixelRatio=window.devicePixelRatio,N._updateDimensions(),N.onOptionsChanged(),N}return b(w,S),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){for(var y=0,A=this._renderLayers;y<A.length;y++)A[y].dispose();S.prototype.dispose.call(this),n.removeTerminalFromCache(this._id)},w.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},w.prototype.setColors=function(y){this._colors=y;for(var A=0,_=this._renderLayers;A<_.length;A++){var v=_[A];v.setColors(this._colors),v.reset()}},w.prototype.onResize=function(y,A){this._updateDimensions();for(var _=0,v=this._renderLayers;_<v.length;_++)v[_].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},w.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},w.prototype.onBlur=function(){this._runOperation(function(y){return y.onBlur()})},w.prototype.onFocus=function(){this._runOperation(function(y){return y.onFocus()})},w.prototype.onSelectionChanged=function(y,A,_){_===void 0&&(_=!1),this._runOperation(function(v){return v.onSelectionChanged(y,A,_)})},w.prototype.onCursorMove=function(){this._runOperation(function(y){return y.onCursorMove()})},w.prototype.onOptionsChanged=function(){this._runOperation(function(y){return y.onOptionsChanged()})},w.prototype.clear=function(){this._runOperation(function(y){return y.reset()})},w.prototype._runOperation=function(y){for(var A=0,_=this._renderLayers;A<_.length;A++)y(_[A])},w.prototype.renderRows=function(y,A){for(var _=0,v=this._renderLayers;_<v.length;_++)v[_].onGridChanged(y,A)},w.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},w.prototype.registerCharacterJoiner=function(y){return this._characterJoinerRegistry.registerCharacterJoiner(y)},w.prototype.deregisterCharacterJoiner=function(y){return this._characterJoinerRegistry.deregisterCharacterJoiner(y)},w=h([f(4,e.IBufferService),f(5,o.ICharSizeService),f(6,e.IOptionsService),f(7,e.ICoreService),f(8,o.ICoreBrowserService)],w)}(r.Disposable);t.Renderer=E},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(r,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var u in n)n.hasOwnProperty(u)&&(e[u]=n[u])})(r,o)},function(r,o){function e(){this.constructor=r}l(r,o),r.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)});Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderLayer=void 0;var h=c(42),f=c(13),d=c(6),m=c(3),i=c(29),s=c(4),a=function(r){function o(e,n,u,p,E,S,w,y){var A=r.call(this,e,"text",n,E,u,S,w,y)||this;return A._characterWidth=0,A._characterFont="",A._characterOverlapCache={},A._workCell=new s.CellData,A._state=new h.GridCache,A._characterJoinerRegistry=p,A}return b(o,r),o.prototype.resize=function(e){r.prototype.resize.call(this,e);var n=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===n||(this._characterWidth=e.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},o.prototype.reset=function(){this._state.clear(),this._clearAll()},o.prototype._forEachCell=function(e,n,u,p){for(var E=e;E<=n;E++)for(var S=E+this._bufferService.buffer.ydisp,w=this._bufferService.buffer.lines.get(S),y=u?u.getJoinedCharacters(S):[],A=0;A<this._bufferService.cols;A++){w.loadCell(A,this._workCell);var _=this._workCell,v=!1,g=A;if(_.getWidth()!==0){if(y.length>0&&A===y[0][0]){v=!0;var C=y.shift();_=new i.JoinedCellData(this._workCell,w.translateToString(!0,C[0],C[1]),C[1]-C[0]),g=C[1]-1}!v&&this._isOverlapping(_)&&g<w.length-1&&w.getCodePoint(g+1)===m.NULL_CELL_CODE&&(_.content&=-12582913,_.content|=2<<22),p(_,A,E),A=g}}},o.prototype._drawBackground=function(e,n){var u=this,p=this._ctx,E=this._bufferService.cols,S=0,w=0,y=null;p.save(),this._forEachCell(e,n,null,function(A,_,v){var g=null;A.isInverse()?g=A.isFgDefault()?u._colors.foreground.css:A.isFgRGB()?"rgb("+d.AttributeData.toColorRGB(A.getFgColor()).join(",")+")":u._colors.ansi[A.getFgColor()].css:A.isBgRGB()?g="rgb("+d.AttributeData.toColorRGB(A.getBgColor()).join(",")+")":A.isBgPalette()&&(g=u._colors.ansi[A.getBgColor()].css),y===null&&(S=_,w=v),v!==w?(p.fillStyle=y||"",u._fillCells(S,w,E-S,1),S=_,w=v):y!==g&&(p.fillStyle=y||"",u._fillCells(S,w,_-S,1),S=_,w=v),y=g}),y!==null&&(p.fillStyle=y,this._fillCells(S,w,E-S,1)),p.restore()},o.prototype._drawForeground=function(e,n){var u=this;this._forEachCell(e,n,this._characterJoinerRegistry,function(p,E,S){if(!p.isInvisible()&&(u._drawChars(p,E,S),p.isUnderline())){if(u._ctx.save(),p.isInverse())if(p.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(p.isBgRGB())u._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(p.getBgColor()).join(",")+")";else{var w=p.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&w<8&&(w+=8),u._ctx.fillStyle=u._colors.ansi[w].css}else if(p.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(p.isFgRGB())u._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(p.getFgColor()).join(",")+")";else{var y=p.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&y<8&&(y+=8),u._ctx.fillStyle=u._colors.ansi[y].css}u._fillBottomLineAtCells(E,S,p.getWidth()),u._ctx.restore()}})},o.prototype.onGridChanged=function(e,n){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,n-e+1),this._drawBackground(e,n),this._drawForeground(e,n))},o.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},o.prototype._isOverlapping=function(e){if(e.getWidth()!==1||e.getCode()<256)return!1;var n=e.getChars();if(this._characterOverlapCache.hasOwnProperty(n))return this._characterOverlapCache[n];this._ctx.save(),this._ctx.font=this._characterFont;var u=Math.floor(this._ctx.measureText(n).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[n]=u,u},o}(f.BaseRenderLayer);t.TextRenderLayer=a},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridCache=void 0;var l=function(){function b(){this.cache=[]}return b.prototype.resize=function(h,f){for(var d=0;d<h;d++){this.cache.length<=d&&this.cache.push([]);for(var m=this.cache[d].length;m<f;m++)this.cache[d].push(void 0);this.cache[d].length=f}this.cache.length=h},b.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var f=0;f<this.cache[h].length;f++)this.cache[h][f]=void 0},b}();t.GridCache=l},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(u,p){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,S){E.__proto__=S}||function(E,S){for(var w in S)S.hasOwnProperty(w)&&(E[w]=S[w])})(u,p)},function(u,p){function E(){this.constructor=u}l(u,p),u.prototype=p===null?Object.create(p):(E.prototype=p.prototype,new E)});Object.defineProperty(t,"__esModule",{value:!0}),t.NoneCharAtlas=t.DynamicCharAtlas=t.getGlyphCacheKey=void 0;var h=c(9),f=c(44),d=c(27),m=c(46),i=c(11),s=c(28),a=c(10),r={css:"rgba(0, 0, 0, 0)",rgba:0};function o(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}t.getGlyphCacheKey=o;var e=function(u){function p(E,S){var w=u.call(this)||this;w._config=S,w._drawToCacheCount=0,w._glyphsWaitingOnBitmap=[],w._bitmapCommitTimeout=null,w._bitmap=null,w._cacheCanvas=E.createElement("canvas"),w._cacheCanvas.width=1024,w._cacheCanvas.height=1024,w._cacheCtx=s.throwIfFalsy(w._cacheCanvas.getContext("2d",{alpha:!0}));var y=E.createElement("canvas");y.width=w._config.scaledCharWidth,y.height=w._config.scaledCharHeight,w._tmpCtx=s.throwIfFalsy(y.getContext("2d",{alpha:w._config.allowTransparency})),w._width=Math.floor(1024/w._config.scaledCharWidth),w._height=Math.floor(1024/w._config.scaledCharHeight);var A=w._width*w._height;return w._cacheMap=new m.LRUMap(A),w._cacheMap.prealloc(A),w}return b(p,u),p.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},p.prototype.beginFrame=function(){this._drawToCacheCount=0},p.prototype.draw=function(E,S,w,y){if(S.code===32)return!0;if(!this._canCache(S))return!1;var A=o(S),_=this._cacheMap.get(A);if(_!=null)return this._drawFromCache(E,_,w,y),!0;if(this._drawToCacheCount<100){var v=void 0;v=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var g=this._drawToCache(S,v);return this._cacheMap.set(A,g),this._drawFromCache(E,g,w,y),!0}return!1},p.prototype._canCache=function(E){return E.code<256},p.prototype._toCoordinateX=function(E){return E%this._width*this._config.scaledCharWidth},p.prototype._toCoordinateY=function(E){return Math.floor(E/this._width)*this._config.scaledCharHeight},p.prototype._drawFromCache=function(E,S,w,y){if(!S.isEmpty){var A=this._toCoordinateX(S.index),_=this._toCoordinateY(S.index);E.drawImage(S.inBitmap?this._bitmap:this._cacheCanvas,A,_,this._config.scaledCharWidth,this._config.scaledCharHeight,w,y,this._config.scaledCharWidth,this._config.scaledCharHeight)}},p.prototype._getColorFromAnsiIndex=function(E){return E<this._config.colors.ansi.length?this._config.colors.ansi[E]:d.DEFAULT_ANSI_COLORS[E]},p.prototype._getBackgroundColor=function(E){return this._config.allowTransparency?r:E.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:E.bg<256?this._getColorFromAnsiIndex(E.bg):this._config.colors.background},p.prototype._getForegroundColor=function(E){return E.fg===h.INVERTED_DEFAULT_COLOR?a.color.opaque(this._config.colors.background):E.fg<256?this._getColorFromAnsiIndex(E.fg):this._config.colors.foreground},p.prototype._drawToCache=function(E,S){this._drawToCacheCount++,this._tmpCtx.save();var w=this._getBackgroundColor(E);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=w.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var y=E.bold?this._config.fontWeightBold:this._config.fontWeight,A=E.italic?"italic":"";this._tmpCtx.font=A+" "+y+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(E).css,E.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(E.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var _=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),v=!1;this._config.allowTransparency||(v=function(O,Z){for(var N=!0,W=Z.rgba>>>24,L=Z.rgba>>>16&255,F=Z.rgba>>>8&255,x=0;x<O.data.length;x+=4)O.data[x]===W&&O.data[x+1]===L&&O.data[x+2]===F?O.data[x+3]=0:N=!1;return N}(_,w));var g=this._toCoordinateX(S),C=this._toCoordinateY(S);this._cacheCtx.putImageData(_,g,C);var B={index:S,isEmpty:v,inBitmap:!1};return this._addGlyphToBitmap(B),B},p.prototype._addGlyphToBitmap=function(E){var S=this;!("createImageBitmap"in window)||i.isFirefox||i.isSafari||(this._glyphsWaitingOnBitmap.push(E),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return S._generateBitmap()},100)))},p.prototype._generateBitmap=function(){var E=this,S=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(w){E._bitmap=w;for(var y=0;y<S.length;y++)S[y].inBitmap=!0}),this._bitmapCommitTimeout=null},p}(f.BaseCharAtlas);t.DynamicCharAtlas=e;var n=function(u){function p(E,S){return u.call(this)||this}return b(p,u),p.prototype.draw=function(E,S,w,y){return!1},p}(f.BaseCharAtlas);t.NoneCharAtlas=n},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCharAtlas=void 0;var l=function(){function b(){this._didWarmUp=!1}return b.prototype.dispose=function(){},b.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},b.prototype._doWarmUp=function(){},b.prototype.beginFrame=function(){},b}();t.BaseCharAtlas=l},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var l=function(){function b(){this._color={},this._rgba={}}return b.prototype.clear=function(){this._color={},this._rgba={}},b.prototype.setCss=function(h,f,d){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][f]=d},b.prototype.getCss=function(h,f){return this._rgba[h]?this._rgba[h][f]:void 0},b.prototype.setColor=function(h,f,d){this._color[h]||(this._color[h]={}),this._color[h][f]=d},b.prototype.getColor=function(h,f){return this._color[h]?this._color[h][f]:void 0},b}();t.ColorContrastCache=l},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=void 0;var l=function(){function b(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return b.prototype._unlinkNode=function(h){var f=h.prev,d=h.next;h===this._head&&(this._head=d),h===this._tail&&(this._tail=f),f!==null&&(f.next=d),d!==null&&(d.prev=f)},b.prototype._appendNode=function(h){var f=this._tail;f!==null&&(f.next=h),h.prev=f,h.next=null,this._tail=h,this._head===null&&(this._head=h)},b.prototype.prealloc=function(h){for(var f=this._nodePool,d=0;d<h;d++)f.push({prev:null,next:null,key:null,value:null})},b.prototype.get=function(h){var f=this._map[h];return f!==void 0?(this._unlinkNode(f),this._appendNode(f),f.value):null},b.prototype.peekValue=function(h){var f=this._map[h];return f!==void 0?f.value:null},b.prototype.peek=function(){var h=this._head;return h===null?null:h.value},b.prototype.set=function(h,f){var d=this._map[h];if(d!==void 0)d=this._map[h],this._unlinkNode(d),d.value=f;else if(this.size>=this.capacity)d=this._head,this._unlinkNode(d),delete this._map[d.key],d.key=h,d.value=f,this._map[h]=d;else{var m=this._nodePool;m.length>0?((d=m.pop()).key=h,d.value=f):d={prev:null,next:null,key:h,value:f},this._map[h]=d,this.size++}this._appendNode(d)},b}();t.LRUMap=l},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(f,d){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,i){m.__proto__=i}||function(m,i){for(var s in i)i.hasOwnProperty(s)&&(m[s]=i[s])})(f,d)},function(f,d){function m(){this.constructor=f}l(f,d),f.prototype=d===null?Object.create(d):(m.prototype=d.prototype,new m)});Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRenderLayer=void 0;var h=function(f){function d(m,i,s,a,r,o){var e=f.call(this,m,"selection",i,!0,s,a,r,o)||this;return e._clearState(),e}return b(d,f),d.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},d.prototype.resize=function(m){f.prototype.resize.call(this,m),this._clearState()},d.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},d.prototype.onSelectionChanged=function(m,i,s){if(this._didStateChange(m,i,s,this._bufferService.buffer.ydisp))if(this._clearAll(),m&&i){var a=m[1]-this._bufferService.buffer.ydisp,r=i[1]-this._bufferService.buffer.ydisp,o=Math.max(a,0),e=Math.min(r,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,s){var n=m[0],u=i[0]-n,p=e-o+1;this._fillCells(n,o,u,p)}else{n=a===o?m[0]:0;var E=o===e?i[0]:this._bufferService.cols;this._fillCells(n,o,E-n,1);var S=Math.max(e-o-1,0);if(this._fillCells(0,o+1,this._bufferService.cols,S),o!==e){var w=r===e?i[0]:this._bufferService.cols;this._fillCells(0,e,w,1)}}this._state.start=[m[0],m[1]],this._state.end=[i[0],i[1]],this._state.columnSelectMode=s,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},d.prototype._didStateChange=function(m,i,s,a){return!this._areCoordinatesEqual(m,this._state.start)||!this._areCoordinatesEqual(i,this._state.end)||s!==this._state.columnSelectMode||a!==this._state.ydisp},d.prototype._areCoordinatesEqual=function(m,i){return!(!m||!i)&&m[0]===i[0]&&m[1]===i[1]},d}(c(13).BaseRenderLayer);t.SelectionRenderLayer=h},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(i,s){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var o in r)r.hasOwnProperty(o)&&(a[o]=r[o])})(i,s)},function(i,s){function a(){this.constructor=i}l(i,s),i.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)});Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;var h=c(13),f=c(4),d=function(i){function s(a,r,o,e,n,u,p,E,S){var w=i.call(this,a,"cursor",r,!0,o,e,u,p)||this;return w._onRequestRedraw=n,w._coreService=E,w._coreBrowserService=S,w._cell=new f.CellData,w._state={x:0,y:0,isFocused:!1,style:"",width:0},w._cursorRenderers={bar:w._renderBarCursor.bind(w),block:w._renderBlockCursor.bind(w),underline:w._renderUnderlineCursor.bind(w)},w}return b(s,i),s.prototype.resize=function(a){i.prototype.resize.call(this,a),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},s.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},s.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onOptionsChanged=function(){var a,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new m(this._coreBrowserService.isFocused,function(){r._render(!0)})):((a=this._cursorBlinkStateManager)===null||a===void 0||a.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype.onGridChanged=function(a,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype._render=function(a){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,o=r-this._bufferService.buffer.ydisp;if(o<0||o>=this._bufferService.rows)this._clearCursor();else{var e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(r).loadCell(e,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var n=this._optionsService.options.cursorStyle;return n&&n!=="block"?this._cursorRenderers[n](e,o,this._cell):this._renderBlurCursor(e,o,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=o,this._state.isFocused=!1,this._state.style=n,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===e&&this._state.y===o&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](e,o,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=o,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},s.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},s.prototype._renderBarCursor=function(a,r,o){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(a,r,this._optionsService.options.cursorWidth),this._ctx.restore()},s.prototype._renderBlockCursor=function(a,r,o){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(a,r,o.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(o,a,r),this._ctx.restore()},s.prototype._renderUnderlineCursor=function(a,r,o){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(a,r),this._ctx.restore()},s.prototype._renderBlurCursor=function(a,r,o){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(a,r,o.getWidth(),1),this._ctx.restore()},s}(h.BaseRenderLayer);t.CursorRenderLayer=d;var m=function(){function i(s,a){this._renderCallback=a,this.isCursorVisible=!0,s&&this._restartInterval()}return Object.defineProperty(i.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},i.prototype.restartBlinkAnimation=function(){var s=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){s._renderCallback(),s._animationFrame=void 0})))},i.prototype._restartInterval=function(s){var a=this;s===void 0&&(s=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(a._animationTimeRestarted){var r=600-(Date.now()-a._animationTimeRestarted);if(a._animationTimeRestarted=void 0,r>0)return void a._restartInterval(r)}a.isCursorVisible=!1,a._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0}),a._blinkInterval=window.setInterval(function(){if(a._animationTimeRestarted){var o=600-(Date.now()-a._animationTimeRestarted);return a._animationTimeRestarted=void 0,void a._restartInterval(o)}a.isCursorVisible=!a.isCursorVisible,a._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})},600)},s)},i.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},i.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},i}()},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(i,s){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var o in r)r.hasOwnProperty(o)&&(a[o]=r[o])})(i,s)},function(i,s){function a(){this.constructor=i}l(i,s),i.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;var h=c(13),f=c(9),d=c(26),m=function(i){function s(a,r,o,e,n,u,p,E){var S=i.call(this,a,"link",r,!0,o,e,p,E)||this;return n.onShowLinkUnderline(function(w){return S._onShowLinkUnderline(w)}),n.onHideLinkUnderline(function(w){return S._onHideLinkUnderline(w)}),u.onShowLinkUnderline(function(w){return S._onShowLinkUnderline(w)}),u.onHideLinkUnderline(function(w){return S._onHideLinkUnderline(w)}),S}return b(s,i),s.prototype.resize=function(a){i.prototype.resize.call(this,a),this._state=void 0},s.prototype.reset=function(){this._clearCurrentLink()},s.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var a=this._state.y2-this._state.y1-1;a>0&&this._clearCells(0,this._state.y1+1,this._state.cols,a),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},s.prototype._onShowLinkUnderline=function(a){if(a.fg===f.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:a.fg&&d.is256Color(a.fg)?this._ctx.fillStyle=this._colors.ansi[a.fg].css:this._ctx.fillStyle=this._colors.foreground.css,a.y1===a.y2)this._fillBottomLineAtCells(a.x1,a.y1,a.x2-a.x1);else{this._fillBottomLineAtCells(a.x1,a.y1,a.cols-a.x1);for(var r=a.y1+1;r<a.y2;r++)this._fillBottomLineAtCells(0,r,a.cols);this._fillBottomLineAtCells(0,a.y2,a.x2)}this._state=a},s.prototype._onHideLinkUnderline=function(a){this._clearCurrentLink()},s}(h.BaseRenderLayer);t.LinkRenderLayer=m},function($,t,c){"use strict";var l=this&&this.__decorate||function(i,s,a,r){var o,e=arguments.length,n=e<3?s:r===null?r=Object.getOwnPropertyDescriptor(s,a):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,s,a,r);else for(var u=i.length-1;u>=0;u--)(o=i[u])&&(n=(e<3?o(n):e>3?o(s,a,n):o(s,a))||n);return e>3&&n&&Object.defineProperty(s,a,n),n},b=this&&this.__param||function(i,s){return function(a,r){s(a,r,i)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var h=c(0),f=c(1),d=function(){function i(s,a,r){this._bufferService=s,this._logService=a,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new h.EventEmitter,this._onHideLinkUnderline=new h.EventEmitter,this._onLinkTooltip=new h.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(i.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),i.prototype.attachToDom=function(s,a){this._element=s,this._mouseZoneManager=a},i.prototype.linkifyRows=function(s,a){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=s,this._rowsToLinkify.end=a):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,s),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,a)),this._mouseZoneManager.clearAll(s,a),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},i._timeBeforeLatency))},i.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var s=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var a=s.ydisp+this._rowsToLinkify.start;if(!(a>=s.lines.length)){for(var r=s.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,o=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,a,r,o,o);e.hasNext();)for(var n=e.next(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(n.range.first,n.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},i.prototype.registerLinkMatcher=function(s,a,r){if(r===void 0&&(r={}),!a)throw new Error("handler must be defined");var o={id:this._nextLinkMatcherId++,regex:s,handler:a,matchIndex:r.matchIndex,validationCallback:r.validationCallback,hoverTooltipCallback:r.tooltipCallback,hoverLeaveCallback:r.leaveCallback,willLinkActivate:r.willLinkActivate,priority:r.priority||0};return this._addLinkMatcherToList(o),o.id},i.prototype._addLinkMatcherToList=function(s){if(this._linkMatchers.length!==0){for(var a=this._linkMatchers.length-1;a>=0;a--)if(s.priority<=this._linkMatchers[a].priority)return void this._linkMatchers.splice(a+1,0,s);this._linkMatchers.splice(0,0,s)}else this._linkMatchers.push(s)},i.prototype.deregisterLinkMatcher=function(s){for(var a=0;a<this._linkMatchers.length;a++)if(this._linkMatchers[a].id===s)return this._linkMatchers.splice(a,1),!0;return!1},i.prototype._doLinkifyRow=function(s,a,r){for(var o,e=this,n=new RegExp(r.regex.source,(r.regex.flags||"")+"g"),u=-1,p=function(){var S=o[typeof r.matchIndex!="number"?0:r.matchIndex];if(!S)return E._logService.debug("match found without corresponding matchIndex",o,r),"break";if(u=a.indexOf(S,u+1),n.lastIndex=u+S.length,u<0)return"break";var w=E._bufferService.buffer.stringIndexToBufferIndex(s,u);if(w[0]<0)return"break";var y=E._bufferService.buffer.lines.get(w[0]);if(!y)return"break";var A=y.getFg(w[1]),_=A?A>>9&511:void 0;r.validationCallback?r.validationCallback(S,function(v){e._rowsTimeoutId||v&&e._addLink(w[1],w[0]-e._bufferService.buffer.ydisp,S,r,_)}):E._addLink(w[1],w[0]-E._bufferService.buffer.ydisp,S,r,_)},E=this;(o=n.exec(a))!==null&&p()!=="break";);},i.prototype._addLink=function(s,a,r,o,e){var n=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(r),p=s%this._bufferService.cols,E=a+Math.floor(s/this._bufferService.cols),S=(p+u)%this._bufferService.cols,w=E+Math.floor((p+u)/this._bufferService.cols);S===0&&(S=this._bufferService.cols,w--),this._mouseZoneManager.add(new m(p+1,E+1,S+1,w+1,function(y){if(o.handler)return o.handler(y,r);var A=window.open();A?(A.opener=null,A.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){n._onShowLinkUnderline.fire(n._createLinkHoverEvent(p,E,S,w,e)),n._element.classList.add("xterm-cursor-pointer")},function(y){n._onLinkTooltip.fire(n._createLinkHoverEvent(p,E,S,w,e)),o.hoverTooltipCallback&&o.hoverTooltipCallback(y,r,{start:{x:p,y:E},end:{x:S,y:w}})},function(){n._onHideLinkUnderline.fire(n._createLinkHoverEvent(p,E,S,w,e)),n._element.classList.remove("xterm-cursor-pointer"),o.hoverLeaveCallback&&o.hoverLeaveCallback()},function(y){return!o.willLinkActivate||o.willLinkActivate(y,r)}))}},i.prototype._createLinkHoverEvent=function(s,a,r,o,e){return{x1:s,y1:a,x2:r,y2:o,cols:this._bufferService.cols,fg:e}},i._timeBeforeLatency=200,i=l([b(0,f.IBufferService),b(1,f.ILogService),b(2,f.IUnicodeService)],i)}();t.Linkifier=d;var m=function(i,s,a,r,o,e,n,u,p){this.x1=i,this.y1=s,this.x2=a,this.y2=r,this.clickCallback=o,this.hoverCallback=e,this.tooltipCallback=n,this.leaveCallback=u,this.willLinkActivate=p};t.MouseZone=m},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(S,w){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,A){y.__proto__=A}||function(y,A){for(var _ in A)A.hasOwnProperty(_)&&(y[_]=A[_])})(S,w)},function(S,w){function y(){this.constructor=S}l(S,w),S.prototype=w===null?Object.create(w):(y.prototype=w.prototype,new y)}),h=this&&this.__decorate||function(S,w,y,A){var _,v=arguments.length,g=v<3?w:A===null?A=Object.getOwnPropertyDescriptor(w,y):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(S,w,y,A);else for(var C=S.length-1;C>=0;C--)(_=S[C])&&(g=(v<3?_(g):v>3?_(w,y,g):_(w,y))||g);return v>3&&g&&Object.defineProperty(w,y,g),g},f=this&&this.__param||function(S,w){return function(y,A){w(y,A,S)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;var d=c(11),m=c(52),i=c(4),s=c(0),a=c(5),r=c(1),o=c(30),e=c(53),n=c(2),u="\xA0",p=new RegExp(u,"g"),E=function(S){function w(y,A,_,v,g,C,B){var O=S.call(this)||this;return O._element=y,O._screenElement=A,O._bufferService=_,O._coreService=v,O._mouseService=g,O._optionsService=C,O._renderService=B,O._dragScrollAmount=0,O._enabled=!0,O._workCell=new i.CellData,O._mouseDownTimeStamp=0,O._onLinuxMouseSelection=O.register(new s.EventEmitter),O._onRedrawRequest=O.register(new s.EventEmitter),O._onSelectionChange=O.register(new s.EventEmitter),O._onRequestScrollLines=O.register(new s.EventEmitter),O._mouseMoveListener=function(Z){return O._onMouseMove(Z)},O._mouseUpListener=function(Z){return O._onMouseUp(Z)},O._coreService.onUserInput(function(){O.hasSelection&&O.clearSelection()}),O._trimListener=O._bufferService.buffer.lines.onTrim(function(Z){return O._onTrim(Z)}),O.register(O._bufferService.buffers.onBufferActivate(function(Z){return O._onBufferActivate(Z)})),O.enable(),O._model=new m.SelectionModel(O._bufferService),O._activeSelectionMode=0,O}return b(w,S),Object.defineProperty(w.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){this._removeMouseDownListeners()},w.prototype.reset=function(){this.clearSelection()},w.prototype.disable=function(){this.clearSelection(),this._enabled=!1},w.prototype.enable=function(){this._enabled=!0},Object.defineProperty(w.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hasSelection",{get:function(){var y=this._model.finalSelectionStart,A=this._model.finalSelectionEnd;return!(!y||!A)&&(y[0]!==A[0]||y[1]!==A[1])},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionText",{get:function(){var y=this._model.finalSelectionStart,A=this._model.finalSelectionEnd;if(!y||!A)return"";var _=this._bufferService.buffer,v=[];if(this._activeSelectionMode===3){if(y[0]===A[0])return"";for(var g=y[1];g<=A[1];g++){var C=_.translateBufferLineToString(g,!0,y[0],A[0]);v.push(C)}}else{var B=y[1]===A[1]?A[0]:void 0;for(v.push(_.translateBufferLineToString(y[1],!0,y[0],B)),g=y[1]+1;g<=A[1]-1;g++){var O=_.lines.get(g);C=_.translateBufferLineToString(g,!0),O&&O.isWrapped?v[v.length-1]+=C:v.push(C)}y[1]!==A[1]&&(O=_.lines.get(A[1]),C=_.translateBufferLineToString(A[1],!0,0,A[0]),O&&O.isWrapped?v[v.length-1]+=C:v.push(C))}return v.map(function(Z){return Z.replace(p," ")}).join(d.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),w.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},w.prototype.refresh=function(y){var A=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return A._refresh()})),d.isLinux&&y&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},w.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},w.prototype.isClickInSelection=function(y){var A=this._getMouseBufferCoords(y),_=this._model.finalSelectionStart,v=this._model.finalSelectionEnd;return!!(_&&v&&A)&&this._areCoordsInSelection(A,_,v)},w.prototype._areCoordsInSelection=function(y,A,_){return y[1]>A[1]&&y[1]<_[1]||A[1]===_[1]&&y[1]===A[1]&&y[0]>=A[0]&&y[0]<_[0]||A[1]<_[1]&&y[1]===_[1]&&y[0]<_[0]||A[1]<_[1]&&y[1]===A[1]&&y[0]>=A[0]},w.prototype.selectWordAtCursor=function(y){var A=this._getMouseBufferCoords(y);A&&(this._selectWordAt(A,!1),this._model.selectionEnd=void 0,this.refresh(!0))},w.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},w.prototype.selectLines=function(y,A){this._model.clearSelection(),y=Math.max(y,0),A=Math.min(A,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,y],this._model.selectionEnd=[this._bufferService.cols,A],this.refresh(),this._onSelectionChange.fire()},w.prototype._onTrim=function(y){this._model.onTrim(y)&&this.refresh()},w.prototype._getMouseBufferCoords=function(y){var A=this._mouseService.getCoords(y,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(A)return A[0]--,A[1]--,A[1]+=this._bufferService.buffer.ydisp,A},w.prototype._getMouseEventScrollAmount=function(y){var A=o.getCoordsRelativeToElement(y,this._screenElement)[1],_=this._renderService.dimensions.canvasHeight;return A>=0&&A<=_?0:(A>_&&(A-=_),A=Math.min(Math.max(A,-50),50),(A/=50)/Math.abs(A)+Math.round(14*A))},w.prototype.shouldForceSelection=function(y){return d.isMac?y.altKey&&this._optionsService.options.macOptionClickForcesSelection:y.shiftKey},w.prototype.onMouseDown=function(y){if(this._mouseDownTimeStamp=y.timeStamp,(y.button!==2||!this.hasSelection)&&y.button===0){if(!this._enabled){if(!this.shouldForceSelection(y))return;y.stopPropagation()}y.preventDefault(),this._dragScrollAmount=0,this._enabled&&y.shiftKey?this._onIncrementalClick(y):y.detail===1?this._onSingleClick(y):y.detail===2?this._onDoubleClick(y):y.detail===3&&this._onTripleClick(y),this._addMouseDownListeners(),this.refresh(!0)}},w.prototype._addMouseDownListeners=function(){var y=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return y._dragScroll()},50)},w.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},w.prototype._onIncrementalClick=function(y){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(y))},w.prototype._onSingleClick=function(y){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(y)?3:0,this._model.selectionStart=this._getMouseBufferCoords(y),this._model.selectionStart){this._model.selectionEnd=void 0;var A=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);A&&A.length!==this._model.selectionStart[0]&&A.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},w.prototype._onDoubleClick=function(y){var A=this._getMouseBufferCoords(y);A&&(this._activeSelectionMode=1,this._selectWordAt(A,!0))},w.prototype._onTripleClick=function(y){var A=this._getMouseBufferCoords(y);A&&(this._activeSelectionMode=2,this._selectLineAt(A[1]))},w.prototype.shouldColumnSelect=function(y){return y.altKey&&!(d.isMac&&this._optionsService.options.macOptionClickForcesSelection)},w.prototype._onMouseMove=function(y){if(y.stopImmediatePropagation(),this._model.selectionStart){var A=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(y),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(y),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var _=this._bufferService.buffer;if(this._model.selectionEnd[1]<_.lines.length){var v=_.lines.get(this._model.selectionEnd[1]);v&&v.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}A&&A[0]===this._model.selectionEnd[0]&&A[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},w.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var y=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(y.ydisp+this._bufferService.rows,y.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=y.ydisp),this.refresh()}},w.prototype._onMouseUp=function(y){var A=y.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&A<500&&y.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var _=this._mouseService.getCoords(y,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(_&&_[0]!==void 0&&_[1]!==void 0){var v=e.moveToCellSequence(_[0]-1,_[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(v,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},w.prototype._onBufferActivate=function(y){var A=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=y.activeBuffer.lines.onTrim(function(_){return A._onTrim(_)})},w.prototype._convertViewportColToCharacterIndex=function(y,A){for(var _=A[0],v=0;A[0]>=v;v++){var g=y.loadCell(v,this._workCell).getChars().length;this._workCell.getWidth()===0?_--:g>1&&A[0]!==v&&(_+=g-1)}return _},w.prototype.setSelection=function(y,A,_){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[y,A],this._model.selectionStartLength=_,this.refresh()},w.prototype._getWordAt=function(y,A,_,v){if(_===void 0&&(_=!0),v===void 0&&(v=!0),!(y[0]>=this._bufferService.cols)){var g=this._bufferService.buffer,C=g.lines.get(y[1]);if(C){var B=g.translateBufferLineToString(y[1],!1),O=this._convertViewportColToCharacterIndex(C,y),Z=O,N=y[0]-O,W=0,L=0,F=0,x=0;if(B.charAt(O)===" "){for(;O>0&&B.charAt(O-1)===" ";)O--;for(;Z<B.length&&B.charAt(Z+1)===" ";)Z++}else{var D=y[0],P=y[0];C.getWidth(D)===0&&(W++,D--),C.getWidth(P)===2&&(L++,P++);var M=C.getString(P).length;for(M>1&&(x+=M-1,Z+=M-1);D>0&&O>0&&!this._isCharWordSeparator(C.loadCell(D-1,this._workCell));){C.loadCell(D-1,this._workCell);var I=this._workCell.getChars().length;this._workCell.getWidth()===0?(W++,D--):I>1&&(F+=I-1,O-=I-1),O--,D--}for(;P<C.length&&Z+1<B.length&&!this._isCharWordSeparator(C.loadCell(P+1,this._workCell));){C.loadCell(P+1,this._workCell);var K=this._workCell.getChars().length;this._workCell.getWidth()===2?(L++,P++):K>1&&(x+=K-1,Z+=K-1),Z++,P++}}Z++;var j=O+N-W+F,Q=Math.min(this._bufferService.cols,Z-O+W+L-F-x);if(A||B.slice(O,Z).trim()!==""){if(_&&j===0&&C.getCodePoint(0)!==32){var J=g.lines.get(y[1]-1);if(J&&C.isWrapped&&J.getCodePoint(this._bufferService.cols-1)!==32){var q=this._getWordAt([this._bufferService.cols-1,y[1]-1],!1,!0,!1);if(q){var U=this._bufferService.cols-q.start;j-=U,Q+=U}}}if(v&&j+Q===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var G=g.lines.get(y[1]+1);if(G&&G.isWrapped&&G.getCodePoint(0)!==32){var te=this._getWordAt([0,y[1]+1],!1,!1,!0);te&&(Q+=te.length)}}return{start:j,length:Q}}}}},w.prototype._selectWordAt=function(y,A){var _=this._getWordAt(y,A);if(_){for(;_.start<0;)_.start+=this._bufferService.cols,y[1]--;this._model.selectionStart=[_.start,y[1]],this._model.selectionStartLength=_.length}},w.prototype._selectToWordAt=function(y){var A=this._getWordAt(y,!0);if(A){for(var _=y[1];A.start<0;)A.start+=this._bufferService.cols,_--;if(!this._model.areSelectionValuesReversed())for(;A.start+A.length>this._bufferService.cols;)A.length-=this._bufferService.cols,_++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?A.start:A.start+A.length,_]}},w.prototype._isCharWordSeparator=function(y){return y.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(y.getChars())>=0},w.prototype._selectLineAt=function(y){var A=this._bufferService.buffer.getWrappedRangeForLine(y);this._model.selectionStart=[0,A.first],this._model.selectionEnd=[this._bufferService.cols,A.last],this._model.selectionStartLength=0},w=h([f(2,r.IBufferService),f(3,r.ICoreService),f(4,a.IMouseService),f(5,r.IOptionsService),f(6,a.IRenderService)],w)}(n.Disposable);t.SelectionService=E},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0;var l=function(){function b(h){this._bufferService=h,this.isSelectAllActive=!1,this.selectionStartLength=0}return b.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(b.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var h=this.selectionStart[0]+this.selectionStartLength;return h>this._bufferService.cols?[h%this._bufferService.cols,this.selectionStart[1]+Math.floor(h/this._bufferService.cols)]:[h,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),b.prototype.areSelectionValuesReversed=function(){var h=this.selectionStart,f=this.selectionEnd;return!(!h||!f)&&(h[1]>f[1]||h[1]===f[1]&&h[0]>f[0])},b.prototype.onTrim=function(h){return this.selectionStart&&(this.selectionStart[1]-=h),this.selectionEnd&&(this.selectionEnd[1]-=h),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},b}();t.SelectionModel=l},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;var l=c(12);function b(s,a,r,o){var e=s-h(r,s),n=a-h(r,a);return i(Math.abs(e-n)-function(u,p,E){for(var S=0,w=u-h(E,u),y=p-h(E,p),A=0;A<Math.abs(w-y);A++){var _=f(u,p)==="A"?-1:1,v=E.buffer.lines.get(w+_*A);v&&v.isWrapped&&S++}return S}(s,a,r),m(f(s,a),o))}function h(s,a){for(var r=0,o=s.buffer.lines.get(a),e=o&&o.isWrapped;e&&a>=0&&a<s.rows;)r++,e=(o=s.buffer.lines.get(--a))&&o.isWrapped;return r}function f(s,a){return s>a?"A":"B"}function d(s,a,r,o,e,n){for(var u=s,p=a,E="";u!==r||p!==o;)u+=e?1:-1,e&&u>n.cols-1?(E+=n.buffer.translateBufferLineToString(p,!1,s,u),u=0,s=0,p++):!e&&u<0&&(E+=n.buffer.translateBufferLineToString(p,!1,0,s+1),s=u=n.cols-1,p--);return E+n.buffer.translateBufferLineToString(p,!1,s,u)}function m(s,a){var r=a?"O":"[";return l.C0.ESC+r+s}function i(s,a){s=Math.floor(s);for(var r="",o=0;o<s;o++)r+=a;return r}t.moveToCellSequence=function(s,a,r,o){var e,n=r.buffer.x,u=r.buffer.y;if(!r.buffer.hasScrollback)return function(E,S,w,y,A,_){return b(S,y,A,_).length===0?"":i(d(E,S,E,S-h(A,S),!1,A).length,m("D",_))}(n,u,0,a,r,o)+b(u,a,r,o)+function(E,S,w,y,A,_){var v;v=b(S,y,A,_).length>0?y-h(A,y):S;var g=y,C=function(B,O,Z,N,W,L){var F;return F=b(Z,N,W,L).length>0?N-h(W,N):O,B<Z&&F<=N||B>=Z&&F<N?"C":"D"}(E,S,w,y,A,_);return i(d(E,v,w,g,C==="C",A).length,m(C,_))}(n,u,s,a,r,o);if(u===a)return e=n>s?"D":"C",i(Math.abs(n-s),m(e,o));e=u>a?"D":"C";var p=Math.abs(u-a);return i(function(E,S){return S.cols-E}(u>a?s:n,r)+(p-1)*r.cols+1+((u>a?n:s)-1),m(e,o))}},function($,t,c){"use strict";var l=this&&this.__decorate||function(d,m,i,s){var a,r=arguments.length,o=r<3?m:s===null?s=Object.getOwnPropertyDescriptor(m,i):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(d,m,i,s);else for(var e=d.length-1;e>=0;e--)(a=d[e])&&(o=(r<3?a(o):r>3?a(m,i,o):a(m,i))||o);return r>3&&o&&Object.defineProperty(m,i,o),o},b=this&&this.__param||function(d,m){return function(i,s){m(i,s,d)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SoundService=void 0;var h=c(1),f=function(){function d(m){this._optionsService=m}return Object.defineProperty(d,"audioContext",{get:function(){if(!d._audioContext){var m=window.AudioContext||window.webkitAudioContext;if(!m)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;d._audioContext=new m}return d._audioContext},enumerable:!1,configurable:!0}),d.prototype.playBellSound=function(){var m=d.audioContext;if(m){var i=m.createBufferSource();m.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(s){i.buffer=s,i.connect(m.destination),i.start(0)})}},d.prototype._base64ToArrayBuffer=function(m){for(var i=window.atob(m),s=i.length,a=new Uint8Array(s),r=0;r<s;r++)a[r]=i.charCodeAt(r);return a.buffer},d.prototype._removeMimeType=function(m){return m.split(",")[1]},d=l([b(0,h.IOptionsService)],d)}();t.SoundService=f},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(r,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var u in n)n.hasOwnProperty(u)&&(e[u]=n[u])})(r,o)},function(r,o){function e(){this.constructor=r}l(r,o),r.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)}),h=this&&this.__decorate||function(r,o,e,n){var u,p=arguments.length,E=p<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(r,o,e,n);else for(var S=r.length-1;S>=0;S--)(u=r[S])&&(E=(p<3?u(E):p>3?u(o,e,E):u(o,e))||E);return p>3&&E&&Object.defineProperty(o,e,E),E},f=this&&this.__param||function(r,o){return function(e,n){o(e,n,r)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var d=c(2),m=c(7),i=c(5),s=c(1),a=function(r){function o(e,n,u,p,E,S){var w=r.call(this)||this;return w._element=e,w._screenElement=n,w._bufferService=u,w._mouseService=p,w._selectionService=E,w._optionsService=S,w._zones=[],w._areZonesActive=!1,w._lastHoverCoords=[void 0,void 0],w._initialSelectionLength=0,w.register(m.addDisposableDomListener(w._element,"mousedown",function(y){return w._onMouseDown(y)})),w._mouseMoveListener=function(y){return w._onMouseMove(y)},w._mouseLeaveListener=function(y){return w._onMouseLeave(y)},w._clickListener=function(y){return w._onClick(y)},w}return b(o,r),o.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},o.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},o.prototype.clearAll=function(e,n){if(this._zones.length!==0){e&&n||(e=0,n=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var p=this._zones[u];(p.y1>e&&p.y1<=n+1||p.y2>e&&p.y2<=n+1||p.y1<e&&p.y2>n+1)&&(this._currentZone&&this._currentZone===p&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},o.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},o.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},o.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},o.prototype._onHover=function(e){var n=this,u=this._findZoneEventAt(e);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return n._onTooltip(e)},this._optionsService.options.linkTooltipHoverDuration)))},o.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var n=this._findZoneEventAt(e);n&&n.tooltipCallback&&n.tooltipCallback(e)},o.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var n=this._findZoneEventAt(e);n!=null&&n.willLinkActivate(e)&&(e.preventDefault(),e.stopImmediatePropagation())}},o.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},o.prototype._onClick=function(e){var n=this._findZoneEventAt(e),u=this._getSelectionLength();n&&u===this._initialSelectionLength&&(n.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},o.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},o.prototype._findZoneEventAt=function(e){var n=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(n)for(var u=n[0],p=n[1],E=0;E<this._zones.length;E++){var S=this._zones[E];if(S.y1===S.y2){if(p===S.y1&&u>=S.x1&&u<S.x2)return S}else if(p===S.y1&&u>=S.x1||p===S.y2&&u<S.x2||p>S.y1&&p<S.y2)return S}},o=h([f(2,s.IBufferService),f(3,i.IMouseService),f(4,i.ISelectionService),f(5,s.IOptionsService)],o)}(d.Disposable);t.MouseZoneManager=a},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(o,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,u){n.__proto__=u}||function(n,u){for(var p in u)u.hasOwnProperty(p)&&(n[p]=u[p])})(o,e)},function(o,e){function n(){this.constructor=o}l(o,e),o.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;var h=c(18),f=c(11),d=c(31),m=c(7),i=c(2),s=c(32),a=c(17),r=function(o){function e(n,u){var p=o.call(this)||this;p._terminal=n,p._renderService=u,p._liveRegionLineCount=0,p._charsToConsume=[],p._charsToAnnounce="",p._accessibilityTreeRoot=document.createElement("div"),p._accessibilityTreeRoot.classList.add("xterm-accessibility"),p._rowContainer=document.createElement("div"),p._rowContainer.classList.add("xterm-accessibility-tree"),p._rowContainer.setAttribute("role","list"),p._rowElements=[];for(var E=0;E<p._terminal.rows;E++)p._rowElements[E]=p._createAccessibilityTreeNode(),p._rowContainer.appendChild(p._rowElements[E]);if(p._topBoundaryFocusListener=function(S){return p._onBoundaryFocus(S,0)},p._bottomBoundaryFocusListener=function(S){return p._onBoundaryFocus(S,1)},p._rowElements[0].addEventListener("focus",p._topBoundaryFocusListener),p._rowElements[p._rowElements.length-1].addEventListener("focus",p._bottomBoundaryFocusListener),p._refreshRowsDimensions(),p._accessibilityTreeRoot.appendChild(p._rowContainer),p._renderRowsDebouncer=new d.RenderDebouncer(p._renderRows.bind(p)),p._refreshRows(),p._liveRegion=document.createElement("div"),p._liveRegion.classList.add("live-region"),p._liveRegion.setAttribute("aria-live","assertive"),p._accessibilityTreeRoot.appendChild(p._liveRegion),!p._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return p._terminal.element.insertAdjacentElement("afterbegin",p._accessibilityTreeRoot),p.register(p._renderRowsDebouncer),p.register(p._terminal.onResize(function(S){return p._onResize(S.rows)})),p.register(p._terminal.onRender(function(S){return p._refreshRows(S.start,S.end)})),p.register(p._terminal.onScroll(function(){return p._refreshRows()})),p.register(p._terminal.onA11yChar(function(S){return p._onChar(S)})),p.register(p._terminal.onLineFeed(function(){return p._onChar(`
|
|
|
`)})),p.register(p._terminal.onA11yTab(function(S){return p._onTab(S)})),p.register(p._terminal.onKey(function(S){return p._onKey(S.key)})),p.register(p._terminal.onBlur(function(){return p._clearLiveRegion()})),p.register(p._renderService.onDimensionsChange(function(){return p._refreshRowsDimensions()})),p._screenDprMonitor=new s.ScreenDprMonitor,p.register(p._screenDprMonitor),p._screenDprMonitor.setListener(function(){return p._refreshRowsDimensions()}),p.register(m.addDisposableDomListener(window,"resize",function(){return p._refreshRowsDimensions()})),p}return b(e,o),e.prototype.dispose=function(){o.prototype.dispose.call(this),a.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(n,u){var p=n.target,E=this._rowElements[u===0?1:this._rowElements.length-2];if(p.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&n.relatedTarget===E){var S,w;if(u===0?(S=p,w=this._rowElements.pop(),this._rowContainer.removeChild(w)):(S=this._rowElements.shift(),w=p,this._rowContainer.removeChild(S)),S.removeEventListener("focus",this._topBoundaryFocusListener),w.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var y=this._createAccessibilityTreeNode();this._rowElements.unshift(y),this._rowContainer.insertAdjacentElement("afterbegin",y)}else y=this._createAccessibilityTreeNode(),this._rowElements.push(y),this._rowContainer.appendChild(y);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),n.preventDefault(),n.stopImmediatePropagation()}},e.prototype._onResize=function(n){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>n;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},e.prototype._createAccessibilityTreeNode=function(){var n=document.createElement("div");return n.setAttribute("role","listitem"),n.tabIndex=-1,this._refreshRowDimensions(n),n},e.prototype._onTab=function(n){for(var u=0;u<n;u++)this._onChar(" ")},e.prototype._onChar=function(n){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==n&&(this._charsToAnnounce+=n):this._charsToAnnounce+=n,n===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=h.tooMuchOutput)),f.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,f.isMac&&a.removeElementFromParent(this._liveRegion)},e.prototype._onKey=function(n){this._clearLiveRegion(),this._charsToConsume.push(n)},e.prototype._refreshRows=function(n,u){this._renderRowsDebouncer.refresh(n,u,this._terminal.rows)},e.prototype._renderRows=function(n,u){for(var p=this._terminal.buffer,E=p.lines.length.toString(),S=n;S<=u;S++){var w=p.translateBufferLineToString(p.ydisp+S,!0),y=(p.ydisp+S+1).toString(),A=this._rowElements[S];A&&(w.length===0?A.innerHTML=" ":A.textContent=w,A.setAttribute("aria-posinset",y),A.setAttribute("aria-setsize",E))}this._announceCharacters()},e.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var n=0;n<this._terminal.rows;n++)this._refreshRowDimensions(this._rowElements[n])}},e.prototype._refreshRowDimensions=function(n){n.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(i.Disposable);t.AccessibilityManager=r},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(p,E){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,w){S.__proto__=w}||function(S,w){for(var y in w)w.hasOwnProperty(y)&&(S[y]=w[y])})(p,E)},function(p,E){function S(){this.constructor=p}l(p,E),p.prototype=E===null?Object.create(E):(S.prototype=E.prototype,new S)}),h=this&&this.__decorate||function(p,E,S,w){var y,A=arguments.length,_=A<3?E:w===null?w=Object.getOwnPropertyDescriptor(E,S):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_=Reflect.decorate(p,E,S,w);else for(var v=p.length-1;v>=0;v--)(y=p[v])&&(_=(A<3?y(_):A>3?y(E,S,_):y(E,S))||_);return A>3&&_&&Object.defineProperty(E,S,_),_},f=this&&this.__param||function(p,E){return function(S,w){E(S,w,p)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;var d=c(58),m=c(9),i=c(2),s=c(5),a=c(1),r=c(0),o=c(10),e=c(17),n=1,u=function(p){function E(S,w,y,A,_,v,g,C,B){var O=p.call(this)||this;return O._colors=S,O._element=w,O._screenElement=y,O._viewportElement=A,O._linkifier=_,O._linkifier2=v,O._charSizeService=g,O._optionsService=C,O._bufferService=B,O._terminalClass=n++,O._rowElements=[],O._rowContainer=document.createElement("div"),O._rowContainer.classList.add("xterm-rows"),O._rowContainer.style.lineHeight="normal",O._rowContainer.setAttribute("aria-hidden","true"),O._refreshRowElements(O._bufferService.cols,O._bufferService.rows),O._selectionContainer=document.createElement("div"),O._selectionContainer.classList.add("xterm-selection"),O._selectionContainer.setAttribute("aria-hidden","true"),O.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},O._updateDimensions(),O._injectCss(),O._rowFactory=new d.DomRendererRowFactory(document,O._optionsService,O._colors),O._element.classList.add("xterm-dom-renderer-owner-"+O._terminalClass),O._screenElement.appendChild(O._rowContainer),O._screenElement.appendChild(O._selectionContainer),O._linkifier.onShowLinkUnderline(function(Z){return O._onLinkHover(Z)}),O._linkifier.onHideLinkUnderline(function(Z){return O._onLinkLeave(Z)}),O._linkifier2.onShowLinkUnderline(function(Z){return O._onLinkHover(Z)}),O._linkifier2.onHideLinkUnderline(function(Z){return O._onLinkLeave(Z)}),O}return b(E,p),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),e.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),p.prototype.dispose.call(this)},E.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var S=0,w=this._rowElements;S<w.length;S++){var y=w[S];y.style.width=this.dimensions.canvasWidth+"px",y.style.height=this.dimensions.actualCellHeight+"px",y.style.lineHeight=this.dimensions.actualCellHeight+"px",y.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var A=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=A,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},E.prototype.setColors=function(S){this._colors=S,this._injectCss()},E.prototype._injectCss=function(){var S=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var w=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";w+=this._terminalSelector+" span:not(."+d.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+d.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+d.ITALIC_CLASS+" { font-style: italic;}",w+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",w+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",w+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+d.CURSOR_CLASS+"."+d.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+d.CURSOR_CLASS+"."+d.CURSOR_BLINK_CLASS+":not(."+d.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+d.CURSOR_CLASS+"."+d.CURSOR_BLINK_CLASS+"."+d.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+d.CURSOR_CLASS+"."+d.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+d.CURSOR_CLASS+"."+d.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+d.CURSOR_CLASS+"."+d.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",w+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(y,A){w+=S._terminalSelector+" .xterm-fg-"+A+" { color: "+y.css+"; }"+S._terminalSelector+" .xterm-bg-"+A+" { background-color: "+y.css+"; }"}),w+=this._terminalSelector+" .xterm-fg-"+m.INVERTED_DEFAULT_COLOR+" { color: "+o.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+m.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=w},E.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},E.prototype._refreshRowElements=function(S,w){for(var y=this._rowElements.length;y<=w;y++){var A=document.createElement("div");this._rowContainer.appendChild(A),this._rowElements.push(A)}for(;this._rowElements.length>w;)this._rowContainer.removeChild(this._rowElements.pop())},E.prototype.onResize=function(S,w){this._refreshRowElements(S,w),this._updateDimensions()},E.prototype.onCharSizeChanged=function(){this._updateDimensions()},E.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},E.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},E.prototype.onSelectionChanged=function(S,w,y){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(S&&w){var A=S[1]-this._bufferService.buffer.ydisp,_=w[1]-this._bufferService.buffer.ydisp,v=Math.max(A,0),g=Math.min(_,this._bufferService.rows-1);if(!(v>=this._bufferService.rows||g<0)){var C=document.createDocumentFragment();if(y)C.appendChild(this._createSelectionElement(v,S[0],w[0],g-v+1));else{var B=A===v?S[0]:0,O=v===g?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(v,B,O));var Z=g-v-1;if(C.appendChild(this._createSelectionElement(v+1,0,this._bufferService.cols,Z)),v!==g){var N=_===g?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(g,0,N))}}this._selectionContainer.appendChild(C)}}},E.prototype._createSelectionElement=function(S,w,y,A){A===void 0&&(A=1);var _=document.createElement("div");return _.style.height=A*this.dimensions.actualCellHeight+"px",_.style.top=S*this.dimensions.actualCellHeight+"px",_.style.left=w*this.dimensions.actualCellWidth+"px",_.style.width=this.dimensions.actualCellWidth*(y-w)+"px",_},E.prototype.onCursorMove=function(){},E.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},E.prototype.clear=function(){for(var S=0,w=this._rowElements;S<w.length;S++)w[S].innerHTML=""},E.prototype.renderRows=function(S,w){for(var y=this._bufferService.buffer.ybase+this._bufferService.buffer.y,A=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),_=this._optionsService.options.cursorBlink,v=S;v<=w;v++){var g=this._rowElements[v];g.innerHTML="";var C=v+this._bufferService.buffer.ydisp,B=this._bufferService.buffer.lines.get(C),O=this._optionsService.options.cursorStyle;g.appendChild(this._rowFactory.createRow(B,C===y,O,A,_,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(E.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),E.prototype.registerCharacterJoiner=function(S){return-1},E.prototype.deregisterCharacterJoiner=function(S){return!1},E.prototype._onLinkHover=function(S){this._setCellUnderline(S.x1,S.x2,S.y1,S.y2,S.cols,!0)},E.prototype._onLinkLeave=function(S){this._setCellUnderline(S.x1,S.x2,S.y1,S.y2,S.cols,!1)},E.prototype._setCellUnderline=function(S,w,y,A,_,v){for(;S!==w||y!==A;){var g=this._rowElements[y];if(!g)return;var C=g.children[S];C&&(C.style.textDecoration=v?"underline":"none"),++S>=_&&(S=0,y++)}},E=h([f(6,s.ICharSizeService),f(7,a.IOptionsService),f(8,a.IBufferService)],E)}(i.Disposable);t.DomRenderer=u},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=t.CURSOR_STYLE_UNDERLINE_CLASS=t.CURSOR_STYLE_BAR_CLASS=t.CURSOR_STYLE_BLOCK_CLASS=t.CURSOR_BLINK_CLASS=t.CURSOR_CLASS=t.UNDERLINE_CLASS=t.ITALIC_CLASS=t.DIM_CLASS=t.BOLD_CLASS=void 0;var l=c(9),b=c(3),h=c(4),f=c(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var d=function(){function i(s,a,r){this._document=s,this._optionsService=a,this._colors=r,this._workCell=new h.CellData}return i.prototype.setColors=function(s){this._colors=s},i.prototype.createRow=function(s,a,r,o,e,n,u){for(var p=this._document.createDocumentFragment(),E=0,S=Math.min(s.length,u)-1;S>=0;S--)if(s.loadCell(S,this._workCell).getCode()!==b.NULL_CELL_CODE||a&&S===o){E=S+1;break}for(S=0;S<E;S++){s.loadCell(S,this._workCell);var w=this._workCell.getWidth();if(w!==0){var y=this._document.createElement("span");if(w>1&&(y.style.width=n*w+"px"),a&&S===o)switch(y.classList.add(t.CURSOR_CLASS),e&&y.classList.add(t.CURSOR_BLINK_CLASS),r){case"bar":y.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":y.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:y.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&y.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&y.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&y.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&y.classList.add(t.UNDERLINE_CLASS),this._workCell.isInvisible()?y.textContent=b.WHITESPACE_CELL_CHAR:y.textContent=this._workCell.getChars()||b.WHITESPACE_CELL_CHAR;var A=this._workCell.getFgColor(),_=this._workCell.getFgColorMode(),v=this._workCell.getBgColor(),g=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var B=A;A=v,v=B;var O=_;_=g,g=O}switch(_){case 16777216:case 33554432:this._workCell.isBold()&&A<8&&this._optionsService.options.drawBoldTextInBrightColors&&(A+=8),this._applyMinimumContrast(y,this._colors.background,this._colors.ansi[A])||y.classList.add("xterm-fg-"+A);break;case 50331648:var Z=f.rgba.toColor(A>>16&255,A>>8&255,255&A);this._applyMinimumContrast(y,this._colors.background,Z)||this._addStyle(y,"color:#"+m(A.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(y,this._colors.background,this._colors.foreground)||C&&y.classList.add("xterm-fg-"+l.INVERTED_DEFAULT_COLOR)}switch(g){case 16777216:case 33554432:y.classList.add("xterm-bg-"+v);break;case 50331648:this._addStyle(y,"background-color:#"+m(v.toString(16),"0",6));break;case 0:default:C&&y.classList.add("xterm-bg-"+l.INVERTED_DEFAULT_COLOR)}p.appendChild(y)}}return p},i.prototype._applyMinimumContrast=function(s,a,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var o=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return o===void 0&&(o=f.color.ensureContrastRatio(a,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,o!=null?o:null)),!!o&&(this._addStyle(s,"color:"+o.css),!0)},i.prototype._addStyle=function(s,a){s.setAttribute("style",""+(s.getAttribute("style")||"")+a+";")},i}();function m(i,s,a){for(;i.length<a;)i=s+i;return i}t.DomRendererRowFactory=d},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;var l=c(12),b={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(h,f,d,m){var i={type:0,cancel:!1,key:void 0},s=(h.shiftKey?1:0)|(h.altKey?2:0)|(h.ctrlKey?4:0)|(h.metaKey?8:0);switch(h.keyCode){case 0:h.key==="UIKeyInputUpArrow"?i.key=f?l.C0.ESC+"OA":l.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?i.key=f?l.C0.ESC+"OD":l.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?i.key=f?l.C0.ESC+"OC":l.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(i.key=f?l.C0.ESC+"OB":l.C0.ESC+"[B");break;case 8:if(h.shiftKey){i.key=l.C0.BS;break}if(h.altKey){i.key=l.C0.ESC+l.C0.DEL;break}i.key=l.C0.DEL;break;case 9:if(h.shiftKey){i.key=l.C0.ESC+"[Z";break}i.key=l.C0.HT,i.cancel=!0;break;case 13:i.key=h.altKey?l.C0.ESC+l.C0.CR:l.C0.CR,i.cancel=!0;break;case 27:i.key=l.C0.ESC,h.altKey&&(i.key=l.C0.ESC+l.C0.ESC),i.cancel=!0;break;case 37:if(h.metaKey)break;s?(i.key=l.C0.ESC+"[1;"+(s+1)+"D",i.key===l.C0.ESC+"[1;3D"&&(i.key=l.C0.ESC+(d?"b":"[1;5D"))):i.key=f?l.C0.ESC+"OD":l.C0.ESC+"[D";break;case 39:if(h.metaKey)break;s?(i.key=l.C0.ESC+"[1;"+(s+1)+"C",i.key===l.C0.ESC+"[1;3C"&&(i.key=l.C0.ESC+(d?"f":"[1;5C"))):i.key=f?l.C0.ESC+"OC":l.C0.ESC+"[C";break;case 38:if(h.metaKey)break;s?(i.key=l.C0.ESC+"[1;"+(s+1)+"A",d||i.key!==l.C0.ESC+"[1;3A"||(i.key=l.C0.ESC+"[1;5A")):i.key=f?l.C0.ESC+"OA":l.C0.ESC+"[A";break;case 40:if(h.metaKey)break;s?(i.key=l.C0.ESC+"[1;"+(s+1)+"B",d||i.key!==l.C0.ESC+"[1;3B"||(i.key=l.C0.ESC+"[1;5B")):i.key=f?l.C0.ESC+"OB":l.C0.ESC+"[B";break;case 45:h.shiftKey||h.ctrlKey||(i.key=l.C0.ESC+"[2~");break;case 46:i.key=s?l.C0.ESC+"[3;"+(s+1)+"~":l.C0.ESC+"[3~";break;case 36:i.key=s?l.C0.ESC+"[1;"+(s+1)+"H":f?l.C0.ESC+"OH":l.C0.ESC+"[H";break;case 35:i.key=s?l.C0.ESC+"[1;"+(s+1)+"F":f?l.C0.ESC+"OF":l.C0.ESC+"[F";break;case 33:h.shiftKey?i.type=2:i.key=l.C0.ESC+"[5~";break;case 34:h.shiftKey?i.type=3:i.key=l.C0.ESC+"[6~";break;case 112:i.key=s?l.C0.ESC+"[1;"+(s+1)+"P":l.C0.ESC+"OP";break;case 113:i.key=s?l.C0.ESC+"[1;"+(s+1)+"Q":l.C0.ESC+"OQ";break;case 114:i.key=s?l.C0.ESC+"[1;"+(s+1)+"R":l.C0.ESC+"OR";break;case 115:i.key=s?l.C0.ESC+"[1;"+(s+1)+"S":l.C0.ESC+"OS";break;case 116:i.key=s?l.C0.ESC+"[15;"+(s+1)+"~":l.C0.ESC+"[15~";break;case 117:i.key=s?l.C0.ESC+"[17;"+(s+1)+"~":l.C0.ESC+"[17~";break;case 118:i.key=s?l.C0.ESC+"[18;"+(s+1)+"~":l.C0.ESC+"[18~";break;case 119:i.key=s?l.C0.ESC+"[19;"+(s+1)+"~":l.C0.ESC+"[19~";break;case 120:i.key=s?l.C0.ESC+"[20;"+(s+1)+"~":l.C0.ESC+"[20~";break;case 121:i.key=s?l.C0.ESC+"[21;"+(s+1)+"~":l.C0.ESC+"[21~";break;case 122:i.key=s?l.C0.ESC+"[23;"+(s+1)+"~":l.C0.ESC+"[23~";break;case 123:i.key=s?l.C0.ESC+"[24;"+(s+1)+"~":l.C0.ESC+"[24~";break;default:if(!h.ctrlKey||h.shiftKey||h.altKey||h.metaKey)if(d&&!m||!h.altKey||h.metaKey)d&&!h.altKey&&!h.ctrlKey&&h.metaKey?h.keyCode===65&&(i.type=1):h.key&&!h.ctrlKey&&!h.altKey&&!h.metaKey&&h.keyCode>=48&&h.key.length===1?i.key=h.key:h.key&&h.ctrlKey&&h.key==="_"&&(i.key=l.C0.US);else{var a=b[h.keyCode],r=a&&a[h.shiftKey?1:0];if(r)i.key=l.C0.ESC+r;else if(h.keyCode>=65&&h.keyCode<=90){var o=h.ctrlKey?h.keyCode-64:h.keyCode+32;i.key=l.C0.ESC+String.fromCharCode(o)}}else h.keyCode>=65&&h.keyCode<=90?i.key=String.fromCharCode(h.keyCode-64):h.keyCode===32?i.key=l.C0.NUL:h.keyCode>=51&&h.keyCode<=55?i.key=String.fromCharCode(h.keyCode-51+27):h.keyCode===56?i.key=l.C0.DEL:h.keyCode===219?i.key=l.C0.ESC:h.keyCode===220?i.key=l.C0.FS:h.keyCode===221&&(i.key=l.C0.GS)}return i}},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(n,u){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,E){p.__proto__=E}||function(p,E){for(var S in E)E.hasOwnProperty(S)&&(p[S]=E[S])})(n,u)},function(n,u){function p(){this.constructor=n}l(n,u),n.prototype=u===null?Object.create(u):(p.prototype=u.prototype,new p)}),h=this&&this.__decorate||function(n,u,p,E){var S,w=arguments.length,y=w<3?u:E===null?E=Object.getOwnPropertyDescriptor(u,p):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(n,u,p,E);else for(var A=n.length-1;A>=0;A--)(S=n[A])&&(y=(w<3?S(y):w>3?S(u,p,y):S(u,p))||y);return w>3&&y&&Object.defineProperty(u,p,y),y},f=this&&this.__param||function(n,u){return function(p,E){u(p,E,n)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;var d=c(31),m=c(0),i=c(2),s=c(32),a=c(7),r=c(1),o=c(5),e=function(n){function u(p,E,S,w,y,A){var _=n.call(this)||this;if(_._renderer=p,_._rowCount=E,_._isPaused=!1,_._needsFullRefresh=!1,_._isNextRenderRedrawOnly=!0,_._needsSelectionRefresh=!1,_._canvasWidth=0,_._canvasHeight=0,_._selectionState={start:void 0,end:void 0,columnSelectMode:!1},_._onDimensionsChange=new m.EventEmitter,_._onRender=new m.EventEmitter,_._onRefreshRequest=new m.EventEmitter,_.register({dispose:function(){return _._renderer.dispose()}}),_._renderDebouncer=new d.RenderDebouncer(function(g,C){return _._renderRows(g,C)}),_.register(_._renderDebouncer),_._screenDprMonitor=new s.ScreenDprMonitor,_._screenDprMonitor.setListener(function(){return _.onDevicePixelRatioChange()}),_.register(_._screenDprMonitor),_.register(A.onResize(function(g){return _._fullRefresh()})),_.register(w.onOptionChange(function(){return _._renderer.onOptionsChanged()})),_.register(y.onCharSizeChange(function(){return _.onCharSizeChanged()})),_._renderer.onRequestRedraw(function(g){return _.refreshRows(g.start,g.end,!0)}),_.register(a.addDisposableDomListener(window,"resize",function(){return _.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var v=new IntersectionObserver(function(g){return _._onIntersectionChange(g[g.length-1])},{threshold:0});v.observe(S),_.register({dispose:function(){return v.disconnect()}})}return _}return b(u,n),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(p,E,S){S===void 0&&(S=!1),this._isPaused?this._needsFullRefresh=!0:(S||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,E,this._rowCount))},u.prototype._renderRows=function(p,E){this._renderer.renderRows(p,E),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:p,end:E}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(p,E){this._rowCount=E,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){n.prototype.dispose.call(this)},u.prototype.setRenderer=function(p){var E=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(S){return E.refreshRows(S.start,S.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(p,E){this._renderer.onResize(p,E),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(p,E,S){this._selectionState.start=p,this._selectionState.end=E,this._selectionState.columnSelectMode=S,this._renderer.onSelectionChanged(p,E,S)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},u.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},u=h([f(3,r.IOptionsService),f(4,o.ICharSizeService),f(5,r.IBufferService)],u)}(i.Disposable);t.RenderService=e},function($,t,c){"use strict";var l=this&&this.__decorate||function(i,s,a,r){var o,e=arguments.length,n=e<3?s:r===null?r=Object.getOwnPropertyDescriptor(s,a):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,s,a,r);else for(var u=i.length-1;u>=0;u--)(o=i[u])&&(n=(e<3?o(n):e>3?o(s,a,n):o(s,a))||n);return e>3&&n&&Object.defineProperty(s,a,n),n},b=this&&this.__param||function(i,s){return function(a,r){s(a,r,i)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;var h=c(1),f=c(0),d=function(){function i(s,a,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new f.EventEmitter,this._measureStrategy=new m(s,a,this._optionsService)}return Object.defineProperty(i.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),i.prototype.measure=function(){var s=this._measureStrategy.measure();s.width===this.width&&s.height===this.height||(this.width=s.width,this.height=s.height,this._onCharSizeChange.fire())},i=l([b(2,h.IOptionsService)],i)}();t.CharSizeService=d;var m=function(){function i(s,a,r){this._document=s,this._parentElement=a,this._optionsService=r,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return i.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var s=this._measureElement.getBoundingClientRect();return s.width!==0&&s.height!==0&&(this._result.width=s.width,this._result.height=Math.ceil(s.height)),this._result},i}()},function($,t,c){"use strict";var l=this&&this.__decorate||function(m,i,s,a){var r,o=arguments.length,e=o<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,s):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(m,i,s,a);else for(var n=m.length-1;n>=0;n--)(r=m[n])&&(e=(o<3?r(e):o>3?r(i,s,e):r(i,s))||e);return o>3&&e&&Object.defineProperty(i,s,e),e},b=this&&this.__param||function(m,i){return function(s,a){i(s,a,m)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;var h=c(5),f=c(30),d=function(){function m(i,s){this._renderService=i,this._charSizeService=s}return m.prototype.getCoords=function(i,s,a,r,o){return f.getCoords(i,s,a,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,o)},m.prototype.getRawByteCoords=function(i,s,a,r){var o=this.getCoords(i,s,a,r);return f.getRawByteCoords(o)},m=l([b(0,h.IRenderService),b(1,h.ICharSizeService)],m)}();t.MouseService=d},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(r,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var u in n)n.hasOwnProperty(u)&&(e[u]=n[u])})(r,o)},function(r,o){function e(){this.constructor=r}l(r,o),r.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)}),h=this&&this.__decorate||function(r,o,e,n){var u,p=arguments.length,E=p<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(r,o,e,n);else for(var S=r.length-1;S>=0;S--)(u=r[S])&&(E=(p<3?u(E):p>3?u(o,e,E):u(o,e))||E);return p>3&&E&&Object.defineProperty(o,e,E),E},f=this&&this.__param||function(r,o){return function(e,n){o(e,n,r)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var d=c(1),m=c(0),i=c(2),s=c(7),a=function(r){function o(e){var n=r.call(this)||this;return n._bufferService=e,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new m.EventEmitter),n._onHideLinkUnderline=n.register(new m.EventEmitter),n.register(i.getDisposeArrayDisposable(n._linkCacheDisposables)),n}return b(o,r),Object.defineProperty(o.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),o.prototype.registerLinkProvider=function(e){var n=this;return this._linkProviders.push(e),{dispose:function(){var u=n._linkProviders.indexOf(e);u!==-1&&n._linkProviders.splice(u,1)}}},o.prototype.attachToDom=function(e,n,u){var p=this;this._element=e,this._mouseService=n,this._renderService=u,this.register(s.addDisposableDomListener(this._element,"mouseleave",function(){p._isMouseOut=!0,p._clearCurrentLink()})),this.register(s.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(s.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},o.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var n=this._positionFromMouseEvent(e,this._element,this._mouseService);if(n){this._isMouseOut=!1;for(var u=e.composedPath(),p=0;p<u.length;p++){var E=u[p];if(E.classList.contains("xterm"))break;if(E.classList.contains("xterm-hover"))return}this._lastBufferCell&&n.x===this._lastBufferCell.x&&n.y===this._lastBufferCell.y||(this._onHover(n),this._lastBufferCell=n)}}},o.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},o.prototype._askForLink=function(e,n){var u=this;this._activeProviderReplies&&n||(this._activeProviderReplies=new Map,this._activeLine=e.y);var p=!1;this._linkProviders.forEach(function(E,S){var w;n?!((w=u._activeProviderReplies)===null||w===void 0)&&w.get(S)&&(p=u._checkLinkProviderResult(S,e,p)):E.provideLinks(e.y,function(y){var A,_;if(!u._isMouseOut){var v=y==null?void 0:y.map(function(g){return{link:g}});(A=u._activeProviderReplies)===null||A===void 0||A.set(S,v),p=u._checkLinkProviderResult(S,e,p),((_=u._activeProviderReplies)===null||_===void 0?void 0:_.size)===u._linkProviders.length&&u._removeIntersectingLinks(e.y,u._activeProviderReplies)}})})},o.prototype._removeIntersectingLinks=function(e,n){for(var u=new Set,p=0;p<n.size;p++){var E=n.get(p);if(E)for(var S=0;S<E.length;S++)for(var w=E[S],y=w.link.range.start.y<e?0:w.link.range.start.x,A=w.link.range.end.y>e?this._bufferService.cols:w.link.range.end.x,_=y;_<=A;_++){if(u.has(_)){E.splice(S--,1);break}u.add(_)}}},o.prototype._checkLinkProviderResult=function(e,n,u){var p,E=this;if(!this._activeProviderReplies)return u;for(var S=this._activeProviderReplies.get(e),w=!1,y=0;y<e;y++)this._activeProviderReplies.has(y)&&!this._activeProviderReplies.get(y)||(w=!0);if(!w&&S){var A=S.find(function(v){return E._linkAtPosition(v.link,n)});A&&(u=!0,this._handleNewLink(A))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(y=0;y<this._activeProviderReplies.size;y++){var _=(p=this._activeProviderReplies.get(y))===null||p===void 0?void 0:p.find(function(v){return E._linkAtPosition(v.link,n)});if(_){u=!0,this._handleNewLink(_);break}}return u},o.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var n=this._positionFromMouseEvent(e,this._element,this._mouseService);n&&this._linkAtPosition(this._currentLink.link,n)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},o.prototype._clearCurrentLink=function(e,n){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!n||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=n)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,i.disposeArray(this._linkCacheDisposables))},o.prototype._handleNewLink=function(e){var n=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(e.link,u)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:e.link.decorations===void 0||e.link.decorations.underline,pointerCursor:e.link.decorations===void 0||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var p,E;return(E=(p=n._currentLink)===null||p===void 0?void 0:p.state)===null||E===void 0?void 0:E.decorations.pointerCursor},set:function(p){var E,S;!((E=n._currentLink)===null||E===void 0)&&E.state&&n._currentLink.state.decorations.pointerCursor!==p&&(n._currentLink.state.decorations.pointerCursor=p,n._currentLink.state.isHovered&&((S=n._element)===null||S===void 0||S.classList.toggle("xterm-cursor-pointer",p)))}},underline:{get:function(){var p,E;return(E=(p=n._currentLink)===null||p===void 0?void 0:p.state)===null||E===void 0?void 0:E.decorations.underline},set:function(p){var E,S,w;!((E=n._currentLink)===null||E===void 0)&&E.state&&((w=(S=n._currentLink)===null||S===void 0?void 0:S.state)===null||w===void 0?void 0:w.decorations.underline)!==p&&(n._currentLink.state.decorations.underline=p,n._currentLink.state.isHovered&&n._fireUnderlineEvent(e.link,p))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var E=p.start===0?0:p.start+1+n._bufferService.buffer.ydisp;n._clearCurrentLink(E,p.end+1+n._bufferService.buffer.ydisp)})))}},o.prototype._linkHover=function(e,n,u){var p;!((p=this._currentLink)===null||p===void 0)&&p.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(n,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),n.hover&&n.hover(u,n.text)},o.prototype._fireUnderlineEvent=function(e,n){var u=e.range,p=this._bufferService.buffer.ydisp,E=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-p-1,u.end.x,u.end.y-p-1,void 0);(n?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(E)},o.prototype._linkLeave=function(e,n,u){var p;!((p=this._currentLink)===null||p===void 0)&&p.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(n,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),n.leave&&n.leave(u,n.text)},o.prototype._linkAtPosition=function(e,n){var u=e.range.start.y===e.range.end.y,p=e.range.start.y<n.y,E=e.range.end.y>n.y;return(u&&e.range.start.x<=n.x&&e.range.end.x>=n.x||p&&e.range.end.x>=n.x||E&&e.range.start.x<=n.x||p&&E)&&e.range.start.y<=n.y&&e.range.end.y>=n.y},o.prototype._positionFromMouseEvent=function(e,n,u){var p=u.getCoords(e,n,this._bufferService.cols,this._bufferService.rows);if(p)return{x:p[0],y:p[1]+this._bufferService.buffer.ydisp}},o.prototype._createLinkUnderlineEvent=function(e,n,u,p,E){return{x1:e,y1:n,x2:u,y2:p,cols:this._bufferService.cols,fg:E}},o=h([f(0,d.IBufferService)],o)}(i.Disposable);t.Linkifier2=a},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;var l=function(){function b(h){this._textarea=h}return Object.defineProperty(b.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),b}();t.CoreBrowserService=l},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(y,A){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,v){_.__proto__=v}||function(_,v){for(var g in v)v.hasOwnProperty(g)&&(_[g]=v[g])})(y,A)},function(y,A){function _(){this.constructor=y}l(y,A),y.prototype=A===null?Object.create(A):(_.prototype=A.prototype,new _)});Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;var h=c(2),f=c(1),d=c(66),m=c(67),i=c(68),s=c(74),a=c(75),r=c(0),o=c(76),e=c(77),n=c(78),u=c(80),p=c(81),E=c(19),S=c(82),w=function(y){function A(_){var v=y.call(this)||this;return v._onBinary=new r.EventEmitter,v._onData=new r.EventEmitter,v._onLineFeed=new r.EventEmitter,v._onResize=new r.EventEmitter,v._onScroll=new r.EventEmitter,v._instantiationService=new d.InstantiationService,v.optionsService=new s.OptionsService(_),v._instantiationService.setService(f.IOptionsService,v.optionsService),v._bufferService=v.register(v._instantiationService.createInstance(i.BufferService)),v._instantiationService.setService(f.IBufferService,v._bufferService),v._logService=v._instantiationService.createInstance(m.LogService),v._instantiationService.setService(f.ILogService,v._logService),v._coreService=v.register(v._instantiationService.createInstance(a.CoreService,function(){return v.scrollToBottom()})),v._instantiationService.setService(f.ICoreService,v._coreService),v._coreMouseService=v._instantiationService.createInstance(o.CoreMouseService),v._instantiationService.setService(f.ICoreMouseService,v._coreMouseService),v._dirtyRowService=v._instantiationService.createInstance(e.DirtyRowService),v._instantiationService.setService(f.IDirtyRowService,v._dirtyRowService),v.unicodeService=v._instantiationService.createInstance(n.UnicodeService),v._instantiationService.setService(f.IUnicodeService,v.unicodeService),v._charsetService=v._instantiationService.createInstance(u.CharsetService),v._instantiationService.setService(f.ICharsetService,v._charsetService),v._inputHandler=new E.InputHandler(v._bufferService,v._charsetService,v._coreService,v._dirtyRowService,v._logService,v.optionsService,v._coreMouseService,v.unicodeService),v.register(r.forwardEvent(v._inputHandler.onLineFeed,v._onLineFeed)),v.register(v._inputHandler),v.register(r.forwardEvent(v._bufferService.onResize,v._onResize)),v.register(r.forwardEvent(v._coreService.onData,v._onData)),v.register(r.forwardEvent(v._coreService.onBinary,v._onBinary)),v.register(v.optionsService.onOptionChange(function(g){return v._updateOptions(g)})),v._writeBuffer=new S.WriteBuffer(function(g){return v._inputHandler.parse(g)}),v}return b(A,y),Object.defineProperty(A.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){var _;this._isDisposed||(y.prototype.dispose.call(this),(_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)},A.prototype.write=function(_,v){this._writeBuffer.write(_,v)},A.prototype.writeSync=function(_){this._writeBuffer.writeSync(_)},A.prototype.resize=function(_,v){isNaN(_)||isNaN(v)||(_=Math.max(_,i.MINIMUM_COLS),v=Math.max(v,i.MINIMUM_ROWS),this._bufferService.resize(_,v))},A.prototype.scroll=function(_,v){v===void 0&&(v=!1);var g,C=this._bufferService.buffer;(g=this._cachedBlankLine)&&g.length===this.cols&&g.getFg(0)===_.fg&&g.getBg(0)===_.bg||(g=C.getBlankLine(_,v),this._cachedBlankLine=g),g.isWrapped=v;var B=C.ybase+C.scrollTop,O=C.ybase+C.scrollBottom;if(C.scrollTop===0){var Z=C.lines.isFull;O===C.lines.length-1?Z?C.lines.recycle().copyFrom(g):C.lines.push(g.clone()):C.lines.splice(O+1,0,g.clone()),Z?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var N=O-B+1;C.lines.shiftElements(B+1,N-1,-1),C.lines.set(O,g.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},A.prototype.scrollLines=function(_,v){var g=this._bufferService.buffer;if(_<0){if(g.ydisp===0)return;this._bufferService.isUserScrolling=!0}else _+g.ydisp>=g.ybase&&(this._bufferService.isUserScrolling=!1);var C=g.ydisp;g.ydisp=Math.max(Math.min(g.ydisp+_,g.ybase),0),C!==g.ydisp&&(v||this._onScroll.fire(g.ydisp))},A.prototype.scrollPages=function(_){this.scrollLines(_*(this.rows-1))},A.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},A.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},A.prototype.scrollToLine=function(_){var v=_-this._bufferService.buffer.ydisp;v!==0&&this.scrollLines(v)},A.prototype.addEscHandler=function(_,v){return this._inputHandler.addEscHandler(_,v)},A.prototype.addDcsHandler=function(_,v){return this._inputHandler.addDcsHandler(_,v)},A.prototype.addCsiHandler=function(_,v){return this._inputHandler.addCsiHandler(_,v)},A.prototype.addOscHandler=function(_,v){return this._inputHandler.addOscHandler(_,v)},A.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},A.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},A.prototype._updateOptions=function(_){var v;switch(_){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((v=this._windowsMode)===null||v===void 0||v.dispose(),this._windowsMode=void 0)}},A.prototype._enableWindowsMode=function(){var _=this;if(!this._windowsMode){var v=[];v.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),v.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(_._bufferService),!1})),this._windowsMode={dispose:function(){for(var g=0,C=v;g<C.length;g++)C[g].dispose()}}}},A}(h.Disposable);t.CoreTerminal=w},function($,t,c){"use strict";var l=this&&this.__spreadArrays||function(){for(var m=0,i=0,s=arguments.length;i<s;i++)m+=arguments[i].length;var a=Array(m),r=0;for(i=0;i<s;i++)for(var o=arguments[i],e=0,n=o.length;e<n;e++,r++)a[r]=o[e];return a};Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;var b=c(1),h=c(14),f=function(){function m(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];this._entries=new Map;for(var a=0,r=i;a<r.length;a++){var o=r[a],e=o[0],n=o[1];this.set(e,n)}}return m.prototype.set=function(i,s){var a=this._entries.get(i);return this._entries.set(i,s),a},m.prototype.forEach=function(i){this._entries.forEach(function(s,a){return i(a,s)})},m.prototype.has=function(i){return this._entries.has(i)},m.prototype.get=function(i){return this._entries.get(i)},m}();t.ServiceCollection=f;var d=function(){function m(){this._services=new f,this._services.set(b.IInstantiationService,this)}return m.prototype.setService=function(i,s){this._services.set(i,s)},m.prototype.getService=function(i){return this._services.get(i)},m.prototype.createInstance=function(i){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];for(var r=h.getServiceDependencies(i).sort(function(S,w){return S.index-w.index}),o=[],e=0,n=r;e<n.length;e++){var u=n[e],p=this._services.get(u.id);if(!p)throw new Error("[createInstance] "+i.name+" depends on UNKNOWN service "+u.id+".");o.push(p)}var E=r.length>0?r[0].index:s.length;if(s.length!==E)throw new Error("[createInstance] First service dependency of "+i.name+" at position "+(E+1)+" conflicts with "+s.length+" static arguments");return new(i.bind.apply(i,l([void 0],l(s,o))))},m}();t.InstantiationService=d},function($,t,c){"use strict";var l=this&&this.__decorate||function(s,a,r,o){var e,n=arguments.length,u=n<3?a:o===null?o=Object.getOwnPropertyDescriptor(a,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(s,a,r,o);else for(var p=s.length-1;p>=0;p--)(e=s[p])&&(u=(n<3?e(u):n>3?e(a,r,u):e(a,r))||u);return n>3&&u&&Object.defineProperty(a,r,u),u},b=this&&this.__param||function(s,a){return function(r,o){a(r,o,s)}},h=this&&this.__spreadArrays||function(){for(var s=0,a=0,r=arguments.length;a<r;a++)s+=arguments[a].length;var o=Array(s),e=0;for(a=0;a<r;a++)for(var n=arguments[a],u=0,p=n.length;u<p;u++,e++)o[e]=n[u];return o};Object.defineProperty(t,"__esModule",{value:!0}),t.LogService=t.LogLevel=void 0;var f,d=c(1);(function(s){s[s.DEBUG=0]="DEBUG",s[s.INFO=1]="INFO",s[s.WARN=2]="WARN",s[s.ERROR=3]="ERROR",s[s.OFF=4]="OFF"})(f=t.LogLevel||(t.LogLevel={}));var m={debug:f.DEBUG,info:f.INFO,warn:f.WARN,error:f.ERROR,off:f.OFF},i=function(){function s(a){var r=this;this._optionsService=a,this._updateLogLevel(),this._optionsService.onOptionChange(function(o){o==="logLevel"&&r._updateLogLevel()})}return s.prototype._updateLogLevel=function(){this._logLevel=m[this._optionsService.options.logLevel]},s.prototype._evalLazyOptionalParams=function(a){for(var r=0;r<a.length;r++)typeof a[r]=="function"&&(a[r]=a[r]())},s.prototype._log=function(a,r,o){this._evalLazyOptionalParams(o),a.call.apply(a,h([console,"xterm.js: "+r],o))},s.prototype.debug=function(a){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];this._logLevel<=f.DEBUG&&this._log(console.log,a,r)},s.prototype.info=function(a){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];this._logLevel<=f.INFO&&this._log(console.info,a,r)},s.prototype.warn=function(a){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];this._logLevel<=f.WARN&&this._log(console.warn,a,r)},s.prototype.error=function(a){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];this._logLevel<=f.ERROR&&this._log(console.error,a,r)},s=l([b(0,d.IOptionsService)],s)}();t.LogService=i},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(r,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var u in n)n.hasOwnProperty(u)&&(e[u]=n[u])})(r,o)},function(r,o){function e(){this.constructor=r}l(r,o),r.prototype=o===null?Object.create(o):(e.prototype=o.prototype,new e)}),h=this&&this.__decorate||function(r,o,e,n){var u,p=arguments.length,E=p<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(r,o,e,n);else for(var S=r.length-1;S>=0;S--)(u=r[S])&&(E=(p<3?u(E):p>3?u(o,e,E):u(o,e))||E);return p>3&&E&&Object.defineProperty(o,e,E),E},f=this&&this.__param||function(r,o){return function(e,n){o(e,n,r)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var d=c(1),m=c(69),i=c(0),s=c(2);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var a=function(r){function o(e){var n=r.call(this)||this;return n._optionsService=e,n.isUserScrolling=!1,n._onResize=new i.EventEmitter,n.cols=Math.max(e.options.cols,t.MINIMUM_COLS),n.rows=Math.max(e.options.rows,t.MINIMUM_ROWS),n.buffers=new m.BufferSet(e,n),n}return b(o,r),Object.defineProperty(o.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},o.prototype.resize=function(e,n){this.cols=e,this.rows=n,this.buffers.resize(e,n),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:n})},o.prototype.reset=function(){this.buffers.dispose(),this.buffers=new m.BufferSet(this._optionsService,this),this.isUserScrolling=!1},o=h([f(0,d.IOptionsService)],o)}(s.Disposable);t.BufferService=a},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(m,i){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,a){s.__proto__=a}||function(s,a){for(var r in a)a.hasOwnProperty(r)&&(s[r]=a[r])})(m,i)},function(m,i){function s(){this.constructor=m}l(m,i),m.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)});Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;var h=c(70),f=c(0),d=function(m){function i(s,a){var r=m.call(this)||this;return r._onBufferActivate=r.register(new f.EventEmitter),r._normal=new h.Buffer(!0,s,a),r._normal.fillViewportRows(),r._alt=new h.Buffer(!1,s,a),r._activeBuffer=r._normal,r.setupTabStops(),r}return b(i,m),Object.defineProperty(i.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),i.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},i.prototype.activateAltBuffer=function(s){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(s),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},i.prototype.resize=function(s,a){this._normal.resize(s,a),this._alt.resize(s,a)},i.prototype.setupTabStops=function(s){this._normal.setupTabStops(s),this._alt.setupTabStops(s)},i}(c(2).Disposable);t.BufferSet=d},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStringIterator=t.Buffer=t.MAX_BUFFER_SIZE=void 0;var l=c(71),b=c(16),h=c(4),f=c(3),d=c(72),m=c(73),i=c(20),s=c(6);t.MAX_BUFFER_SIZE=4294967295;var a=function(){function o(e,n,u){this._hasScrollback=e,this._optionsService=n,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=b.DEFAULT_ATTR_DATA.clone(),this.savedCharset=i.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,f.NULL_CELL_CHAR,f.NULL_CELL_WIDTH,f.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,f.WHITESPACE_CELL_CHAR,f.WHITESPACE_CELL_WIDTH,f.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new l.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return o.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new s.ExtendedAttrs),this._nullCell},o.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new s.ExtendedAttrs),this._whitespaceCell},o.prototype.getBlankLine=function(e,n){return new b.BufferLine(this._bufferService.cols,this.getNullCell(e),n)},Object.defineProperty(o.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&e<this._rows},enumerable:!1,configurable:!0}),o.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var n=e+this._optionsService.options.scrollback;return n>t.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},o.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=b.DEFAULT_ATTR_DATA);for(var n=this._rows;n--;)this.lines.push(this.getBlankLine(e))}},o.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new l.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},o.prototype.resize=function(e,n){var u=this.getNullCell(b.DEFAULT_ATTR_DATA),p=this._getCorrectBufferLength(n);if(p>this.lines.maxLength&&(this.lines.maxLength=p),this.lines.length>0){if(this._cols<e)for(var E=0;E<this.lines.length;E++)this.lines.get(E).resize(e,u);var S=0;if(this._rows<n)for(var w=this._rows;w<n;w++)this.lines.length<n+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new b.BufferLine(e,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+S+1?(this.ybase--,S++,this.ydisp>0&&this.ydisp--):this.lines.push(new b.BufferLine(e,u)));else for(w=this._rows;w>n;w--)this.lines.length>n+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(p<this.lines.maxLength){var y=this.lines.length-p;y>0&&(this.lines.trimStart(y),this.ybase=Math.max(this.ybase-y,0),this.ydisp=Math.max(this.ydisp-y,0),this.savedY=Math.max(this.savedY-y,0)),this.lines.maxLength=p}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,n-1),S&&(this.y+=S),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=n-1,this._isReflowEnabled&&(this._reflow(e,n),this._cols>e))for(E=0;E<this.lines.length;E++)this.lines.get(E).resize(e,u);this._cols=e,this._rows=n},Object.defineProperty(o.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),o.prototype._reflow=function(e,n){this._cols!==e&&(e>this._cols?this._reflowLarger(e,n):this._reflowSmaller(e,n))},o.prototype._reflowLarger=function(e,n){var u=d.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(b.DEFAULT_ATTR_DATA));if(u.length>0){var p=d.reflowLargerCreateNewLayout(this.lines,u);d.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(e,n,p.countRemoved)}},o.prototype._reflowLargerAdjustViewport=function(e,n,u){for(var p=this.getNullCell(b.DEFAULT_ATTR_DATA),E=u;E-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<n&&this.lines.push(new b.BufferLine(e,p))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},o.prototype._reflowSmaller=function(e,n){for(var u=this.getNullCell(b.DEFAULT_ATTR_DATA),p=[],E=0,S=this.lines.length-1;S>=0;S--){var w=this.lines.get(S);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=e)){for(var y=[w];w.isWrapped&&S>0;)w=this.lines.get(--S),y.unshift(w);var A=this.ybase+this.y;if(!(A>=S&&A<S+y.length)){var _=y[y.length-1].getTrimmedLength(),v=d.reflowSmallerGetNewLineLengths(y,this._cols,e),g=v.length-y.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+g):Math.max(0,this.lines.length-this.lines.maxLength+g);for(var B=[],O=0;O<g;O++){var Z=this.getBlankLine(b.DEFAULT_ATTR_DATA,!0);B.push(Z)}B.length>0&&(p.push({start:S+y.length+E,newLines:B}),E+=B.length),y.push.apply(y,B);var N=v.length-1,W=v[N];W===0&&(W=v[--N]);for(var L=y.length-g-1,F=_;L>=0;){var x=Math.min(F,W);if(y[N].copyCellsFrom(y[L],F-x,W-x,x,!0),(W-=x)===0&&(W=v[--N]),(F-=x)===0){L--;var D=Math.max(L,0);F=d.getWrappedLineTrimmedLength(y,D,this._cols)}}for(O=0;O<y.length;O++)v[O]<e&&y[O].setCell(v[O],u);for(var P=g-C;P-- >0;)this.ybase===0?this.y<n-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+E)-n&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+g,this.ybase+n-1)}}}if(p.length>0){var M=[],I=[];for(O=0;O<this.lines.length;O++)I.push(this.lines.get(O));var K=this.lines.length,j=K-1,Q=0,J=p[Q];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+E);var q=0;for(O=Math.min(this.lines.maxLength-1,K+E-1);O>=0;O--)if(J&&J.start>j+q){for(var U=J.newLines.length-1;U>=0;U--)this.lines.set(O--,J.newLines[U]);O++,M.push({index:j+1,amount:J.newLines.length}),q+=J.newLines.length,J=p[++Q]}else this.lines.set(O,I[j--]);var G=0;for(O=M.length-1;O>=0;O--)M[O].index+=G,this.lines.onInsertEmitter.fire(M[O]),G+=M[O].amount;var te=Math.max(0,K+E-this.lines.maxLength);te>0&&this.lines.onTrimEmitter.fire(te)}},o.prototype.stringIndexToBufferIndex=function(e,n,u){for(u===void 0&&(u=!1);n;){var p=this.lines.get(e);if(!p)return[-1,-1];for(var E=u?p.getTrimmedLength():p.length,S=0;S<E;++S)if(p.get(S)[f.CHAR_DATA_WIDTH_INDEX]&&(n-=p.get(S)[f.CHAR_DATA_CHAR_INDEX].length||1),n<0)return[e,S];e++}return[e,0]},o.prototype.translateBufferLineToString=function(e,n,u,p){u===void 0&&(u=0);var E=this.lines.get(e);return E?E.translateToString(n,u,p):""},o.prototype.getWrappedRangeForLine=function(e){for(var n=e,u=e;n>0&&this.lines.get(n).isWrapped;)n--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:n,last:u}},o.prototype.setupTabStops=function(e){for(e!=null?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},o.prototype.prevStop=function(e){for(e==null&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},o.prototype.nextStop=function(e){for(e==null&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},o.prototype.addMarker=function(e){var n=this,u=new m.Marker(e);return this.markers.push(u),u.register(this.lines.onTrim(function(p){u.line-=p,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(p){u.line>=p.index&&(u.line+=p.amount)})),u.register(this.lines.onDelete(function(p){u.line>=p.index&&u.line<p.index+p.amount&&u.dispose(),u.line>p.index&&(u.line-=p.amount)})),u.register(u.onDispose(function(){return n._removeMarker(u)})),u},o.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},o.prototype.iterator=function(e,n,u,p,E){return new r(this,e,n,u,p,E)},o}();t.Buffer=a;var r=function(){function o(e,n,u,p,E,S){u===void 0&&(u=0),p===void 0&&(p=e.lines.length),E===void 0&&(E=0),S===void 0&&(S=0),this._buffer=e,this._trimRight=n,this._startIndex=u,this._endIndex=p,this._startOverscan=E,this._endOverscan=S,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return o.prototype.hasNext=function(){return this._current<this._endIndex},o.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var n="",u=e.first;u<=e.last;++u)n+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=e.last+1,{range:e,content:n}},o}();t.BufferStringIterator=r},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;var l=c(0),b=function(){function h(f){this._maxLength=f,this.onDeleteEmitter=new l.EventEmitter,this.onInsertEmitter=new l.EventEmitter,this.onTrimEmitter=new l.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(h.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxLength",{get:function(){return this._maxLength},set:function(f){if(this._maxLength!==f){for(var d=new Array(f),m=0;m<Math.min(f,this.length);m++)d[m]=this._array[this._getCyclicIndex(m)];this._array=d,this._maxLength=f,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(f){if(f>this._length)for(var d=this._length;d<f;d++)this._array[d]=void 0;this._length=f},enumerable:!1,configurable:!0}),h.prototype.get=function(f){return this._array[this._getCyclicIndex(f)]},h.prototype.set=function(f,d){this._array[this._getCyclicIndex(f)]=d},h.prototype.push=function(f){this._array[this._getCyclicIndex(this._length)]=f,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},h.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(h.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),h.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},h.prototype.splice=function(f,d){for(var m=[],i=2;i<arguments.length;i++)m[i-2]=arguments[i];if(d){for(var s=f;s<this._length-d;s++)this._array[this._getCyclicIndex(s)]=this._array[this._getCyclicIndex(s+d)];this._length-=d}for(s=this._length-1;s>=f;s--)this._array[this._getCyclicIndex(s+m.length)]=this._array[this._getCyclicIndex(s)];for(s=0;s<m.length;s++)this._array[this._getCyclicIndex(f+s)]=m[s];if(this._length+m.length>this._maxLength){var a=this._length+m.length-this._maxLength;this._startIndex+=a,this._length=this._maxLength,this.onTrimEmitter.fire(a)}else this._length+=m.length},h.prototype.trimStart=function(f){f>this._length&&(f=this._length),this._startIndex+=f,this._length-=f,this.onTrimEmitter.fire(f)},h.prototype.shiftElements=function(f,d,m){if(!(d<=0)){if(f<0||f>=this._length)throw new Error("start argument out of range");if(f+m<0)throw new Error("Cannot shift elements in list beyond index 0");if(m>0){for(var i=d-1;i>=0;i--)this.set(f+i+m,this.get(f+i));var s=f+d+m-this._length;if(s>0)for(this._length+=s;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(i=0;i<d;i++)this.set(f+i+m,this.get(f+i))}},h.prototype._getCyclicIndex=function(f){return(this._startIndex+f)%this._maxLength},h}();t.CircularList=b},function($,t,c){"use strict";function l(b,h,f){if(h===b.length-1)return b[h].getTrimmedLength();var d=!b[h].hasContent(f-1)&&b[h].getWidth(f-1)===1,m=b[h+1].getWidth(0)===2;return d&&m?f-1:f}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(b,h,f,d,m){for(var i=[],s=0;s<b.length-1;s++){var a=s,r=b.get(++a);if(r.isWrapped){for(var o=[b.get(s)];a<b.length&&r.isWrapped;)o.push(r),r=b.get(++a);if(d>=s&&d<a)s+=o.length-1;else{for(var e=0,n=l(o,e,h),u=1,p=0;u<o.length;){var E=l(o,u,h),S=E-p,w=f-n,y=Math.min(S,w);o[e].copyCellsFrom(o[u],p,n,y,!1),(n+=y)===f&&(e++,n=0),(p+=y)===E&&(u++,p=0),n===0&&e!==0&&o[e-1].getWidth(f-1)===2&&(o[e].copyCellsFrom(o[e-1],f-1,n++,1,!1),o[e-1].setCell(f-1,m))}o[e].replaceCells(n,f,m);for(var A=0,_=o.length-1;_>0&&(_>e||o[_].getTrimmedLength()===0);_--)A++;A>0&&(i.push(s+o.length-A),i.push(A)),s+=o.length-1}}}return i},t.reflowLargerCreateNewLayout=function(b,h){for(var f=[],d=0,m=h[d],i=0,s=0;s<b.length;s++)if(m===s){var a=h[++d];b.onDeleteEmitter.fire({index:s-i,amount:a}),s+=a-1,i+=a,m=h[++d]}else f.push(s);return{layout:f,countRemoved:i}},t.reflowLargerApplyNewLayout=function(b,h){for(var f=[],d=0;d<h.length;d++)f.push(b.get(h[d]));for(d=0;d<f.length;d++)b.set(d,f[d]);b.length=h.length},t.reflowSmallerGetNewLineLengths=function(b,h,f){for(var d=[],m=b.map(function(n,u){return l(b,u,h)}).reduce(function(n,u){return n+u}),i=0,s=0,a=0;a<m;){if(m-a<f){d.push(m-a);break}i+=f;var r=l(b,s,h);i>r&&(i-=r,s++);var o=b[s].getWidth(i-1)===2;o&&i--;var e=o?f-1:f;d.push(e),a+=e}return d},t.getWrappedLineTrimmedLength=l},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(d,m){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var a in s)s.hasOwnProperty(a)&&(i[a]=s[a])})(d,m)},function(d,m){function i(){this.constructor=d}l(d,m),d.prototype=m===null?Object.create(m):(i.prototype=m.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var h=c(0),f=function(d){function m(i){var s=d.call(this)||this;return s.line=i,s._id=m._nextId++,s.isDisposed=!1,s._onDispose=new h.EventEmitter,s}return b(m,d),Object.defineProperty(m.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),m.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},m._nextId=1,m}(c(2).Disposable);t.Marker=f},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsService=t.DEFAULT_OPTIONS=t.DEFAULT_BELL_SOUND=void 0;var l=c(0),b=c(11),h=c(33);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:b.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var f=["cols","rows"],d=function(){function m(i){this._onOptionChange=new l.EventEmitter,this.options=h.clone(t.DEFAULT_OPTIONS);for(var s=0,a=Object.keys(i);s<a.length;s++){var r=a[s];if(r in this.options){var o=i[r];this.options[r]=o}}}return Object.defineProperty(m.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),m.prototype.setOption=function(i,s){if(!(i in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+i+'"');if(f.indexOf(i)!==-1)throw new Error('Option "'+i+'" can only be set in the constructor');this.options[i]!==s&&(s=this._sanitizeAndValidateOption(i,s),this.options[i]!==s&&(this.options[i]=s,this._onOptionChange.fire(i)))},m.prototype._sanitizeAndValidateOption=function(i,s){switch(i){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":s||(s=t.DEFAULT_OPTIONS[i]);break;case"cursorWidth":s=Math.floor(s);case"lineHeight":case"tabStopWidth":if(s<1)throw new Error(i+" cannot be less than 1, value: "+s);break;case"minimumContrastRatio":s=Math.max(1,Math.min(21,Math.round(10*s)/10));break;case"scrollback":if((s=Math.min(s,4294967295))<0)throw new Error(i+" cannot be less than 0, value: "+s);break;case"fastScrollSensitivity":case"scrollSensitivity":if(s<=0)throw new Error(i+" cannot be less than or equal to 0, value: "+s)}return s},m.prototype.getOption=function(i){if(!(i in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+i+'"');return this.options[i]},m}();t.OptionsService=d},function($,t,c){"use strict";var l,b=this&&this.__extends||(l=function(e,n){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var E in p)p.hasOwnProperty(E)&&(u[E]=p[E])})(e,n)},function(e,n){function u(){this.constructor=e}l(e,n),e.prototype=n===null?Object.create(n):(u.prototype=n.prototype,new u)}),h=this&&this.__decorate||function(e,n,u,p){var E,S=arguments.length,w=S<3?n:p===null?p=Object.getOwnPropertyDescriptor(n,u):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(e,n,u,p);else for(var y=e.length-1;y>=0;y--)(E=e[y])&&(w=(S<3?E(w):S>3?E(n,u,w):E(n,u))||w);return S>3&&w&&Object.defineProperty(n,u,w),w},f=this&&this.__param||function(e,n){return function(u,p){n(u,p,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var d=c(1),m=c(0),i=c(33),s=c(2),a=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),o=function(e){function n(u,p,E,S){var w=e.call(this)||this;return w._bufferService=p,w._logService=E,w._optionsService=S,w.isCursorInitialized=!1,w.isCursorHidden=!1,w._onData=w.register(new m.EventEmitter),w._onUserInput=w.register(new m.EventEmitter),w._onBinary=w.register(new m.EventEmitter),w._scrollToBottom=u,w.register({dispose:function(){return w._scrollToBottom=void 0}}),w.modes=i.clone(a),w.decPrivateModes=i.clone(r),w}return b(n,e),Object.defineProperty(n.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),n.prototype.reset=function(){this.modes=i.clone(a),this.decPrivateModes=i.clone(r)},n.prototype.triggerDataEvent=function(u,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var E=this._bufferService.buffer;E.ybase!==E.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(S){return S.charCodeAt(0)})}),this._onData.fire(u)}},n.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(u))},n=h([f(1,d.IBufferService),f(2,d.ILogService),f(3,d.IOptionsService)],n)}(s.Disposable);t.CoreService=o},function($,t,c){"use strict";var l=this&&this.__decorate||function(r,o,e,n){var u,p=arguments.length,E=p<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,e):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(r,o,e,n);else for(var S=r.length-1;S>=0;S--)(u=r[S])&&(E=(p<3?u(E):p>3?u(o,e,E):u(o,e))||E);return p>3&&E&&Object.defineProperty(o,e,E),E},b=this&&this.__param||function(r,o){return function(e,n){o(e,n,r)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var h=c(1),f=c(0),d={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(r){return r.button!==4&&r.action===1&&(r.ctrl=!1,r.alt=!1,r.shift=!1,!0)}},VT200:{events:19,restrict:function(r){return r.action!==32}},DRAG:{events:23,restrict:function(r){return r.action!==32||r.button!==3}},ANY:{events:31,restrict:function(r){return!0}}};function m(r,o){var e=(r.ctrl?16:0)|(r.shift?4:0)|(r.alt?8:0);return r.button===4?(e|=64,e|=r.action):(e|=3&r.button,4&r.button&&(e|=64),8&r.button&&(e|=128),r.action===32?e|=32:r.action!==0||o||(e|=3)),e}var i=String.fromCharCode,s={DEFAULT:function(r){var o=[m(r,!1)+32,r.col+32,r.row+32];return o[0]>255||o[1]>255||o[2]>255?"":"\x1B[M"+i(o[0])+i(o[1])+i(o[2])},SGR:function(r){var o=r.action===0&&r.button!==4?"m":"M";return"\x1B[<"+m(r,!0)+";"+r.col+";"+r.row+o}},a=function(){function r(o,e){this._bufferService=o,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new f.EventEmitter,this._lastEvent=null;for(var n=0,u=Object.keys(d);n<u.length;n++){var p=u[n];this.addProtocol(p,d[p])}for(var E=0,S=Object.keys(s);E<S.length;E++){var w=S[E];this.addEncoding(w,s[w])}this.reset()}return r.prototype.addProtocol=function(o,e){this._protocols[o]=e},r.prototype.addEncoding=function(o,e){this._encodings[o]=e},Object.defineProperty(r.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(o){if(!this._protocols[o])throw new Error('unknown protocol "'+o+'"');this._activeProtocol=o,this._onProtocolChange.fire(this._protocols[o].events)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(o){if(!this._encodings[o])throw new Error('unknown encoding "'+o+'"');this._activeEncoding=o},enumerable:!1,configurable:!0}),r.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(r.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),r.prototype.triggerMouseEvent=function(o){if(o.col<0||o.col>=this._bufferService.cols||o.row<0||o.row>=this._bufferService.rows||o.button===4&&o.action===32||o.button===3&&o.action!==32||o.button!==4&&(o.action===2||o.action===3)||(o.col++,o.row++,o.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,o))||!this._protocols[this._activeProtocol].restrict(o))return!1;var e=this._encodings[this._activeEncoding](o);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=o,!0},r.prototype.explainEvents=function(o){return{down:!!(1&o),up:!!(2&o),drag:!!(4&o),move:!!(8&o),wheel:!!(16&o)}},r.prototype._compareEvents=function(o,e){return o.col===e.col&&o.row===e.row&&o.button===e.button&&o.action===e.action&&o.ctrl===e.ctrl&&o.alt===e.alt&&o.shift===e.shift},r=l([b(0,h.IBufferService),b(1,h.ICoreService)],r)}();t.CoreMouseService=a},function($,t,c){"use strict";var l=this&&this.__decorate||function(d,m,i,s){var a,r=arguments.length,o=r<3?m:s===null?s=Object.getOwnPropertyDescriptor(m,i):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(d,m,i,s);else for(var e=d.length-1;e>=0;e--)(a=d[e])&&(o=(r<3?a(o):r>3?a(m,i,o):a(m,i))||o);return r>3&&o&&Object.defineProperty(m,i,o),o},b=this&&this.__param||function(d,m){return function(i,s){m(i,s,d)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var h=c(1),f=function(){function d(m){this._bufferService=m,this.clearRange()}return Object.defineProperty(d.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),d.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},d.prototype.markDirty=function(m){m<this._start?this._start=m:m>this._end&&(this._end=m)},d.prototype.markRangeDirty=function(m,i){if(m>i){var s=m;m=i,i=s}m<this._start&&(this._start=m),i>this._end&&(this._end=i)},d.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},d=l([b(0,h.IBufferService)],d)}();t.DirtyRowService=f},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;var l=c(0),b=c(79),h=function(){function f(){this._providers=Object.create(null),this._active="",this._onChange=new l.EventEmitter;var d=new b.UnicodeV6;this.register(d),this._active=d.version,this._activeProvider=d}return Object.defineProperty(f.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"activeVersion",{get:function(){return this._active},set:function(d){if(!this._providers[d])throw new Error('unknown Unicode version "'+d+'"');this._active=d,this._activeProvider=this._providers[d],this._onChange.fire(d)},enumerable:!1,configurable:!0}),f.prototype.register=function(d){this._providers[d.version]=d},f.prototype.wcwidth=function(d){return this._activeProvider.wcwidth(d)},f.prototype.getStringCellWidth=function(d){for(var m=0,i=d.length,s=0;s<i;++s){var a=d.charCodeAt(s);if(55296<=a&&a<=56319){if(++s>=i)return m+this.wcwidth(a);var r=d.charCodeAt(s);56320<=r&&r<=57343?a=1024*(a-55296)+r-56320+65536:m+=this.wcwidth(r)}m+=this.wcwidth(a)}return m},f}();t.UnicodeService=h},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var l,b=c(15),h=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],f=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],d=function(){function m(){if(this.version="6",!l){l=new Uint8Array(65536),b.fill(l,1),l[0]=0,b.fill(l,0,1,32),b.fill(l,0,127,160),b.fill(l,2,4352,4448),l[9001]=2,l[9002]=2,b.fill(l,2,11904,42192),l[12351]=1,b.fill(l,2,44032,55204),b.fill(l,2,63744,64256),b.fill(l,2,65040,65050),b.fill(l,2,65072,65136),b.fill(l,2,65280,65377),b.fill(l,2,65504,65511);for(var i=0;i<h.length;++i)b.fill(l,0,h[i][0],h[i][1]+1)}}return m.prototype.wcwidth=function(i){return i<32?0:i<127?1:i<65536?l[i]:function(s,a){var r,o=0,e=a.length-1;if(s<a[0][0]||s>a[e][1])return!1;for(;e>=o;)if(s>a[r=o+e>>1][1])o=r+1;else{if(!(s<a[r][0]))return!0;e=r-1}return!1}(i,f)?0:i>=131072&&i<=196605||i>=196608&&i<=262141?2:1},m}();t.UnicodeV6=d},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var l=function(){function b(){this.glevel=0,this._charsets=[]}return b.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},b.prototype.setgLevel=function(h){this.glevel=h,this.charset=this._charsets[h]},b.prototype.setgCharset=function(h,f){this._charsets[h]=f,this.glevel===h&&(this.charset=f)},b}();t.CharsetService=l},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;var l=c(3);t.updateWindowsModeWrappedState=function(b){var h=b.buffer.lines.get(b.buffer.ybase+b.buffer.y-1),f=h==null?void 0:h.get(b.cols-1),d=b.buffer.lines.get(b.buffer.ybase+b.buffer.y);d&&f&&(d.isWrapped=f[l.CHAR_DATA_CODE_INDEX]!==l.NULL_CELL_CODE&&f[l.CHAR_DATA_CODE_INDEX]!==l.WHITESPACE_CELL_CODE)}},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var l=function(){function b(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return b.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var f=this._bufferOffset;f<this._writeBuffer.length;++f){var d=this._writeBuffer[f],m=this._callbacks[f];this._action(d),m&&m()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},b.prototype.write=function(h,f){var d=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return d._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(f)},b.prototype._innerWrite=function(){for(var h=this,f=Date.now();this._writeBuffer.length>this._bufferOffset;){var d=this._writeBuffer[this._bufferOffset],m=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(d),this._pendingData-=d.length,m&&m(),Date.now()-f>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},b}();t.WriteBuffer=l},function($,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var l=function(){function b(){this._addons=[]}return b.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},b.prototype.loadAddon=function(h,f){var d=this,m={instance:f,dispose:f.dispose,isDisposed:!1};this._addons.push(m),f.dispose=function(){return d._wrappedAddonDispose(m)},f.activate(h)},b.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var f=-1,d=0;d<this._addons.length;d++)if(this._addons[d]===h){f=d;break}if(f===-1)throw new Error("Could not dispose an addon that has not been loaded");h.isDisposed=!0,h.dispose.apply(h.instance),this._addons.splice(f,1)}},b}();t.AddonManager=l}])})},93314:function(He){"use strict";He.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysW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JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},96908:function(He){"use strict";He.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6W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