(self.webpackChunk=self.webpackChunk||[]).push([[5775],{65030:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return ae}});var O=l(98506),k=l(16886),B=l(33346),G=l(43403),W=l(92310),h=l.n(W),V=l(29301),H=l(76846),e=l(96452),s=l(6089),c=l(80402),t=l(34280),r=l(49658),i=l(59301),o=l(67711),m=l(77900),w=l(8654);function N(y){var M=y.prefixCls,S=y.align,q=y.arrow,te=y.arrowPos,x=q||{},v=x.className,F=x.content,X=te.x,Z=X===void 0?0:X,U=te.y,j=U===void 0?0:U,ce=i.useRef();if(!S||!S.points)return null;var ie={position:"absolute"};if(S.autoArrow!==!1){var we=S.points[0],Me=S.points[1],je=we[0],Ke=we[1],ke=Me[0],ue=Me[1];je===ke||!["t","b"].includes(je)?ie.top=j:je==="t"?ie.top=0:ie.bottom=0,Ke===ue||!["l","r"].includes(Ke)?ie.left=Z:Ke==="l"?ie.left=0:ie.right=0}return i.createElement("div",{ref:ce,className:h()("".concat(M,"-arrow"),v),style:ie},F)}function p(y){var M=y.prefixCls,S=y.open,q=y.zIndex,te=y.mask,x=y.motion;return te?i.createElement(m.default,(0,o.Z)({},x,{motionAppear:!0,visible:S,removeOnLeave:!0}),function(v){var F=v.className;return i.createElement("div",{style:{zIndex:q},className:h()("".concat(M,"-mask"),F)})}):null}var g=i.memo(function(y){var M=y.children;return M},function(y,M){return M.cache}),f=g,u=i.forwardRef(function(y,M){var S=y.popup,q=y.className,te=y.prefixCls,x=y.style,v=y.target,F=y.onVisibleChanged,X=y.open,Z=y.keepDom,U=y.fresh,j=y.onClick,ce=y.mask,ie=y.arrow,we=y.arrowPos,Me=y.align,je=y.motion,Ke=y.maskMotion,ke=y.forceRender,ue=y.getPopupContainer,Le=y.autoDestroy,Pe=y.portal,Re=y.zIndex,dt=y.onMouseEnter,xt=y.onMouseLeave,Ie=y.onPointerEnter,Lt=y.onPointerDownCapture,en=y.ready,ht=y.offsetX,ot=y.offsetY,Kt=y.offsetR,nn=y.offsetB,At=y.onAlign,gt=y.onPrepare,Ft=y.stretch,vn=y.targetWidth,Mt=y.targetHeight,ut=typeof S=="function"?S():S,Et=X||Z,Zn=(ue==null?void 0:ue.length)>0,mn=i.useState(!ue||!Zn),Ln=(0,k.Z)(mn,2),jn=Ln[0],bn=Ln[1];if((0,t.Z)(function(){!jn&&Zn&&v&&bn(!0)},[jn,Zn,v]),!jn)return null;var Cn="auto",Kn={left:"-1000vw",top:"-1000vh",right:Cn,bottom:Cn};if(en||!X){var Rn,On=Me.points,gn=Me.dynamicInset||((Rn=Me._experimental)===null||Rn===void 0?void 0:Rn.dynamicInset),Dn=gn&&On[0][1]==="r",st=gn&&On[0][0]==="b";Dn?(Kn.right=Kt,Kn.left=Cn):(Kn.left=ht,Kn.right=Cn),st?(Kn.bottom=nn,Kn.top=Cn):(Kn.top=ot,Kn.bottom=Cn)}var et={};return Ft&&(Ft.includes("height")&&Mt?et.height=Mt:Ft.includes("minHeight")&&Mt&&(et.minHeight=Mt),Ft.includes("width")&&vn?et.width=vn:Ft.includes("minWidth")&&vn&&(et.minWidth=vn)),X||(et.pointerEvents="none"),i.createElement(Pe,{open:ke||Et,getContainer:ue&&function(){return ue(v)},autoDestroy:Le},i.createElement(p,{prefixCls:te,open:X,zIndex:Re,mask:ce,motion:Ke}),i.createElement(V.Z,{onResize:At,disabled:!X},function(_t){return i.createElement(m.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ke,leavedClassName:"".concat(te,"-hidden")},je,{onAppearPrepare:gt,onEnterPrepare:gt,visible:X,onVisibleChanged:function(Sn){var Q;je==null||(Q=je.onVisibleChanged)===null||Q===void 0||Q.call(je,Sn),F(Sn)}}),function(an,Sn){var Q=an.className,J=an.style,We=h()(te,Q,q);return i.createElement("div",{ref:(0,w.sQ)(_t,M,Sn),className:We,style:(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({"--arrow-x":"".concat(we.x||0,"px"),"--arrow-y":"".concat(we.y||0,"px")},Kn),et),J),{},{boxSizing:"border-box",zIndex:Re},x),onMouseEnter:dt,onMouseLeave:xt,onPointerEnter:Ie,onClick:j,onPointerDownCapture:Lt},ie&&i.createElement(N,{prefixCls:te,arrow:ie,arrowPos:we,align:Me}),i.createElement(f,{cache:!X&&!U},ut))})}))}),D=u,T=i.forwardRef(function(y,M){var S=y.children,q=y.getTriggerDOMNode,te=(0,w.Yr)(S),x=i.useCallback(function(F){(0,w.mH)(M,q?q(F):F)},[q]),v=(0,w.x1)(x,(0,w.C4)(S));return te?i.cloneElement(S,{ref:v}):S}),K=T,L=i.createContext(null),$=L;function z(y){return y?Array.isArray(y)?y:[y]:[]}function Ee(y,M,S,q){return i.useMemo(function(){var te=z(S!=null?S:M),x=z(q!=null?q:M),v=new Set(te),F=new Set(x);return y&&(v.has("hover")&&(v.delete("hover"),v.add("click")),F.has("hover")&&(F.delete("hover"),F.add("click"))),[v,F]},[y,M,S,q])}var C=l(29194);function _(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],S=arguments.length>2?arguments[2]:void 0;return S?y[0]===M[0]:y[0]===M[0]&&y[1]===M[1]}function E(y,M,S,q){for(var te=S.points,x=Object.keys(y),v=0;v1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(y)?M:y}function a(y){return n(parseFloat(y),0)}function d(y,M){var S=(0,O.Z)({},y);return(M||[]).forEach(function(q){if(!(q instanceof HTMLBodyElement||q instanceof HTMLHtmlElement)){var te=R(q).getComputedStyle(q),x=te.overflow,v=te.overflowClipMargin,F=te.borderTopWidth,X=te.borderBottomWidth,Z=te.borderLeftWidth,U=te.borderRightWidth,j=q.getBoundingClientRect(),ce=q.offsetHeight,ie=q.clientHeight,we=q.offsetWidth,Me=q.clientWidth,je=a(F),Ke=a(X),ke=a(Z),ue=a(U),Le=n(Math.round(j.width/we*1e3)/1e3),Pe=n(Math.round(j.height/ce*1e3)/1e3),Re=(we-Me-ke-ue)*Le,dt=(ce-ie-je-Ke)*Pe,xt=je*Pe,Ie=Ke*Pe,Lt=ke*Le,en=ue*Le,ht=0,ot=0;if(x==="clip"){var Kt=a(v);ht=Kt*Le,ot=Kt*Pe}var nn=j.x+Lt-ht,At=j.y+xt-ot,gt=nn+j.width+2*ht-Lt-en-Re,Ft=At+j.height+2*ot-xt-Ie-dt;S.left=Math.max(S.left,nn),S.top=Math.max(S.top,At),S.right=Math.min(S.right,gt),S.bottom=Math.min(S.bottom,Ft)}}),S}function A(y){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S="".concat(M),q=S.match(/^(.*)\%$/);return q?y*(parseFloat(q[1])/100):parseFloat(S)}function re(y,M){var S=M||[],q=(0,k.Z)(S,2),te=q[0],x=q[1];return[A(y.width,te),A(y.height,x)]}function de(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[y[0],y[1]]}function ve(y,M){var S=M[0],q=M[1],te,x;return S==="t"?x=y.y:S==="b"?x=y.y+y.height:x=y.y+y.height/2,q==="l"?te=y.x:q==="r"?te=y.x+y.width:te=y.x+y.width/2,{x:te,y:x}}function De(y,M){var S={t:"b",b:"t",l:"r",r:"l"};return y.map(function(q,te){return te===M?S[q]||"c":q}).join("")}function Ae(y,M,S,q,te,x,v){var F=i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:te[q]||{}}),X=(0,k.Z)(F,2),Z=X[0],U=X[1],j=i.useRef(0),ce=i.useMemo(function(){return M?b(M):[]},[M]),ie=i.useRef({}),we=function(){ie.current={}};y||we();var Me=(0,s.Z)(function(){if(M&&S&&y){let En=function(Nn,Ot){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ve,tn=Et.x+Nn,sn=Et.y+Ot,kn=tn+st,Fn=sn+Dn,ir=Math.max(tn,qt.left),Ct=Math.max(sn,qt.top),$t=Math.min(kn,qt.right),Wt=Math.min(Fn,qt.bottom);return Math.max(0,($t-ir)*(Wt-Ct))},xn=function(){be=Et.y+Dt,Be=be+Dn,Oe=Et.x+Nt,xe=Oe+st};var ke,ue,Le,Pe,Re=M,dt=Re.ownerDocument,xt=R(Re),Ie=xt.getComputedStyle(Re),Lt=Ie.position,en=Re.style.left,ht=Re.style.top,ot=Re.style.right,Kt=Re.style.bottom,nn=Re.style.overflow,At=(0,O.Z)((0,O.Z)({},te[q]),x),gt=dt.createElement("div");(ke=Re.parentElement)===null||ke===void 0||ke.appendChild(gt),gt.style.left="".concat(Re.offsetLeft,"px"),gt.style.top="".concat(Re.offsetTop,"px"),gt.style.position=Lt,gt.style.height="".concat(Re.offsetHeight,"px"),gt.style.width="".concat(Re.offsetWidth,"px"),Re.style.left="0",Re.style.top="0",Re.style.right="auto",Re.style.bottom="auto",Re.style.overflow="hidden";var Ft;if(Array.isArray(S))Ft={x:S[0],y:S[1],width:0,height:0};else{var vn,Mt,ut=S.getBoundingClientRect();ut.x=(vn=ut.x)!==null&&vn!==void 0?vn:ut.left,ut.y=(Mt=ut.y)!==null&&Mt!==void 0?Mt:ut.top,Ft={x:ut.x,y:ut.y,width:ut.width,height:ut.height}}var Et=Re.getBoundingClientRect(),Zn=xt.getComputedStyle(Re),mn=Zn.height,Ln=Zn.width;Et.x=(ue=Et.x)!==null&&ue!==void 0?ue:Et.left,Et.y=(Le=Et.y)!==null&&Le!==void 0?Le:Et.top;var jn=dt.documentElement,bn=jn.clientWidth,Cn=jn.clientHeight,Kn=jn.scrollWidth,Rn=jn.scrollHeight,On=jn.scrollTop,gn=jn.scrollLeft,Dn=Et.height,st=Et.width,et=Ft.height,_t=Ft.width,an={left:0,top:0,right:bn,bottom:Cn},Sn={left:-gn,top:-On,right:Kn-gn,bottom:Rn-On},Q=At.htmlRegion,J="visible",We="visibleFirst";Q!=="scroll"&&Q!==We&&(Q=J);var Se=Q===We,He=d(Sn,ce),qe=d(an,ce),Ve=Q===J?qe:He,Ue=Se?qe:Ve;Re.style.left="auto",Re.style.top="auto",Re.style.right="0",Re.style.bottom="0";var at=Re.getBoundingClientRect();Re.style.left=en,Re.style.top=ht,Re.style.right=ot,Re.style.bottom=Kt,Re.style.overflow=nn,(Pe=Re.parentElement)===null||Pe===void 0||Pe.removeChild(gt);var $e=n(Math.round(st/parseFloat(Ln)*1e3)/1e3),nt=n(Math.round(Dn/parseFloat(mn)*1e3)/1e3);if($e===0||nt===0||(0,H.Sh)(S)&&!(0,C.Z)(S))return;var ct=At.offset,tt=At.targetOffset,ze=re(Et,ct),Y=(0,k.Z)(ze,2),fe=Y[0],pe=Y[1],ge=re(Ft,tt),Fe=(0,k.Z)(ge,2),Ge=Fe[0],Je=Fe[1];Ft.x-=Ge,Ft.y-=Je;var lt=At.points||[],yt=(0,k.Z)(lt,2),St=yt[0],cn=yt[1],Rt=de(cn),Pt=de(St),zt=ve(Ft,Rt),Gt=ve(Et,Pt),Vt=(0,O.Z)({},At),Nt=zt.x-Gt.x+fe,Dt=zt.y-Gt.y+pe,rt=En(Nt,Dt),ft=En(Nt,Dt,qe),vt=ve(Ft,["t","l"]),Yt=ve(Et,["t","l"]),It=ve(Ft,["b","r"]),Ht=ve(Et,["b","r"]),Tn=At.overflow||{},I=Tn.adjustX,oe=Tn.adjustY,ee=Tn.shiftX,se=Tn.shiftY,_e=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},be,Be,Oe,xe;xn();var ne=_e(oe),le=Pt[0]===Rt[0];if(ne&&Pt[0]==="t"&&(Be>Ue.bottom||ie.current.bt)){var he=Dt;le?he-=Dn-et:he=vt.y-Ht.y-pe;var ye=En(Nt,he),Ce=En(Nt,he,qe);ye>rt||ye===rt&&(!Se||Ce>=ft)?(ie.current.bt=!0,Dt=he,pe=-pe,Vt.points=[De(Pt,0),De(Rt,0)]):ie.current.bt=!1}if(ne&&Pt[0]==="b"&&(bert||pt===rt&&(!Se||it>=ft)?(ie.current.tb=!0,Dt=Ye,pe=-pe,Vt.points=[De(Pt,0),De(Rt,0)]):ie.current.tb=!1}var kt=_e(I),Ut=Pt[1]===Rt[1];if(kt&&Pt[1]==="l"&&(xe>Ue.right||ie.current.rl)){var Tt=Nt;Ut?Tt-=st-_t:Tt=vt.x-Ht.x-fe;var Jt=En(Tt,Dt),bt=En(Tt,Dt,qe);Jt>rt||Jt===rt&&(!Se||bt>=ft)?(ie.current.rl=!0,Nt=Tt,fe=-fe,Vt.points=[De(Pt,1),De(Rt,1)]):ie.current.rl=!1}if(kt&&Pt[1]==="r"&&(Oert||on===rt&&(!Se||_n>=ft)?(ie.current.lr=!0,Nt=pn,fe=-fe,Vt.points=[De(Pt,1),De(Rt,1)]):ie.current.lr=!1}xn();var Xt=ee===!0?0:ee;typeof Xt=="number"&&(Oeqe.right&&(Nt-=xe-qe.right-fe,Ft.x>qe.right-Xt&&(Nt+=Ft.x-qe.right+Xt)));var rn=se===!0?0:se;typeof rn=="number"&&(beqe.bottom&&(Dt-=Be-qe.bottom-pe,Ft.y>qe.bottom-rn&&(Dt+=Ft.y-qe.bottom+rn)));var yn=Et.x+Nt,ln=yn+st,dn=Et.y+Dt,jt=dn+Dn,wt=Ft.x,Zt=wt+_t,Qt=Ft.y,hn=Qt+et,un=Math.max(yn,wt),fn=Math.min(ln,Zt),Un=(un+fn)/2,Xn=Un-yn,$n=Math.max(dn,Qt),or=Math.min(jt,hn),ar=($n+or)/2,qn=ar-dn;v==null||v(M,Vt);var wn=at.right-Et.x-(Nt+Et.width),An=at.bottom-Et.y-(Dt+Et.height);$e===1&&(Nt=Math.round(Nt),wn=Math.round(wn)),nt===1&&(Dt=Math.round(Dt),An=Math.round(An));var Gn={ready:!0,offsetX:Nt/$e,offsetY:Dt/nt,offsetR:wn/$e,offsetB:An/nt,arrowX:Xn/$e,arrowY:qn/nt,scaleX:$e,scaleY:nt,align:Vt};U(Gn)}}),je=function(){j.current+=1;var ue=j.current;Promise.resolve().then(function(){j.current===ue&&Me()})},Ke=function(){U(function(ue){return(0,O.Z)((0,O.Z)({},ue),{},{ready:!1})})};return(0,t.Z)(Ke,[q]),(0,t.Z)(function(){y||Ke()},[y]),[Z.ready,Z.offsetX,Z.offsetY,Z.offsetR,Z.offsetB,Z.arrowX,Z.arrowY,Z.scaleX,Z.scaleY,Z.align,je]}var mt=l(15142);function me(y,M,S,q,te){(0,t.Z)(function(){if(y&&M&&S){let j=function(){q(),te()};var x=M,v=S,F=b(x),X=b(v),Z=R(v),U=new Set([Z].concat((0,mt.Z)(F),(0,mt.Z)(X)));return U.forEach(function(ce){ce.addEventListener("scroll",j,{passive:!0})}),Z.addEventListener("resize",j,{passive:!0}),q(),function(){U.forEach(function(ce){ce.removeEventListener("scroll",j),Z.removeEventListener("resize",j)})}}},[y,M,S])}var Xe=l(48736);function Ne(y,M,S,q,te,x,v,F){var X=i.useRef(y);X.current=y;var Z=i.useRef(!1);i.useEffect(function(){if(M&&q&&(!te||x)){var j=function(){Z.current=!1},ce=function(Le){var Pe;X.current&&!v(((Pe=Le.composedPath)===null||Pe===void 0||(Pe=Pe.call(Le))===null||Pe===void 0?void 0:Pe[0])||Le.target)&&!Z.current&&F(!1)},ie=R(q);ie.addEventListener("pointerdown",j,!0),ie.addEventListener("mousedown",ce,!0),ie.addEventListener("contextmenu",ce,!0);var we=(0,e.A)(S);if(we&&(we.addEventListener("mousedown",ce,!0),we.addEventListener("contextmenu",ce,!0)),0)var Me,je,Ke,ke;return function(){ie.removeEventListener("pointerdown",j,!0),ie.removeEventListener("mousedown",ce,!0),ie.removeEventListener("contextmenu",ce,!0),we&&(we.removeEventListener("mousedown",ce,!0),we.removeEventListener("contextmenu",ce,!0))}}},[M,S,q,te,x]);function U(){Z.current=!0}return U}var Qe=["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 Te(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:G.Z,M=i.forwardRef(function(S,q){var te=S.prefixCls,x=te===void 0?"rc-trigger-popup":te,v=S.children,F=S.action,X=F===void 0?"hover":F,Z=S.showAction,U=S.hideAction,j=S.popupVisible,ce=S.defaultPopupVisible,ie=S.onPopupVisibleChange,we=S.afterPopupVisibleChange,Me=S.mouseEnterDelay,je=S.mouseLeaveDelay,Ke=je===void 0?.1:je,ke=S.focusDelay,ue=S.blurDelay,Le=S.mask,Pe=S.maskClosable,Re=Pe===void 0?!0:Pe,dt=S.getPopupContainer,xt=S.forceRender,Ie=S.autoDestroy,Lt=S.destroyPopupOnHide,en=S.popup,ht=S.popupClassName,ot=S.popupStyle,Kt=S.popupPlacement,nn=S.builtinPlacements,At=nn===void 0?{}:nn,gt=S.popupAlign,Ft=S.zIndex,vn=S.stretch,Mt=S.getPopupClassNameFromAlign,ut=S.fresh,Et=S.alignPoint,Zn=S.onPopupClick,mn=S.onPopupAlign,Ln=S.arrow,jn=S.popupMotion,bn=S.maskMotion,Cn=S.popupTransitionName,Kn=S.popupAnimation,Rn=S.maskTransitionName,On=S.maskAnimation,gn=S.className,Dn=S.getTriggerDOMNode,st=(0,B.Z)(S,Qe),et=Ie||Lt||!1,_t=i.useState(!1),an=(0,k.Z)(_t,2),Sn=an[0],Q=an[1];(0,t.Z)(function(){Q((0,r.Z)())},[]);var J=i.useRef({}),We=i.useContext($),Se=i.useMemo(function(){return{registerSubPopup:function($t,Wt){J.current[$t]=Wt,We==null||We.registerSubPopup($t,Wt)}}},[We]),He=(0,c.Z)(),qe=i.useState(null),Ve=(0,k.Z)(qe,2),Ue=Ve[0],at=Ve[1],$e=i.useRef(null),nt=(0,s.Z)(function(Ct){$e.current=Ct,(0,H.Sh)(Ct)&&Ue!==Ct&&at(Ct),We==null||We.registerSubPopup(He,Ct)}),ct=i.useState(null),tt=(0,k.Z)(ct,2),ze=tt[0],Y=tt[1],fe=i.useRef(null),pe=(0,s.Z)(function(Ct){(0,H.Sh)(Ct)&&ze!==Ct&&(Y(Ct),fe.current=Ct)}),ge=i.Children.only(v),Fe=(ge==null?void 0:ge.props)||{},Ge={},Je=(0,s.Z)(function(Ct){var $t,Wt,In=ze;return(In==null?void 0:In.contains(Ct))||(($t=(0,e.A)(In))===null||$t===void 0?void 0:$t.host)===Ct||Ct===In||(Ue==null?void 0:Ue.contains(Ct))||((Wt=(0,e.A)(Ue))===null||Wt===void 0?void 0:Wt.host)===Ct||Ct===Ue||Object.values(J.current).some(function(zn){return(zn==null?void 0:zn.contains(Ct))||Ct===zn})}),lt=P(x,jn,Kn,Cn),yt=P(x,bn,On,Rn),St=i.useState(ce||!1),cn=(0,k.Z)(St,2),Rt=cn[0],Pt=cn[1],zt=j!=null?j:Rt,Gt=(0,s.Z)(function(Ct){j===void 0&&Pt(Ct)});(0,t.Z)(function(){Pt(j||!1)},[j]);var Vt=i.useRef(zt);Vt.current=zt;var Nt=i.useRef([]);Nt.current=[];var Dt=(0,s.Z)(function(Ct){var $t;Gt(Ct),(($t=Nt.current[Nt.current.length-1])!==null&&$t!==void 0?$t:zt)!==Ct&&(Nt.current.push(Ct),ie==null||ie(Ct))}),rt=i.useRef(),ft=function(){clearTimeout(rt.current)},vt=function($t){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ft(),Wt===0?Dt($t):rt.current=setTimeout(function(){Dt($t)},Wt*1e3)};i.useEffect(function(){return ft},[]);var Yt=i.useState(!1),It=(0,k.Z)(Yt,2),Ht=It[0],Tn=It[1];(0,t.Z)(function(Ct){(!Ct||zt)&&Tn(!0)},[zt]);var I=i.useState(null),oe=(0,k.Z)(I,2),ee=oe[0],se=oe[1],_e=i.useState(null),be=(0,k.Z)(_e,2),Be=be[0],Oe=be[1],xe=function($t){Oe([$t.clientX,$t.clientY])},ne=Ae(zt,Ue,Et&&Be!==null?Be:ze,Kt,At,gt,mn),le=(0,k.Z)(ne,11),he=le[0],ye=le[1],Ce=le[2],Ye=le[3],pt=le[4],it=le[5],kt=le[6],Ut=le[7],Tt=le[8],Jt=le[9],bt=le[10],pn=Ee(Sn,X,Z,U),on=(0,k.Z)(pn,2),_n=on[0],Xt=on[1],rn=_n.has("click"),yn=Xt.has("click")||Xt.has("contextMenu"),ln=(0,s.Z)(function(){Ht||bt()}),dn=function(){Vt.current&&Et&&yn&&vt(!1)};me(zt,ze,Ue,ln,dn),(0,t.Z)(function(){ln()},[Be,Kt]),(0,t.Z)(function(){zt&&!(At!=null&&At[Kt])&&ln()},[JSON.stringify(gt)]);var jt=i.useMemo(function(){var Ct=E(At,x,Jt,Et);return h()(Ct,Mt==null?void 0:Mt(Jt))},[Jt,Mt,At,x,Et]);i.useImperativeHandle(q,function(){return{nativeElement:fe.current,popupElement:$e.current,forceAlign:ln}});var wt=i.useState(0),Zt=(0,k.Z)(wt,2),Qt=Zt[0],hn=Zt[1],un=i.useState(0),fn=(0,k.Z)(un,2),Un=fn[0],Xn=fn[1],$n=function(){if(vn&&ze){var $t=ze.getBoundingClientRect();hn($t.width),Xn($t.height)}},or=function(){$n(),ln()},ar=function($t){Tn(!1),bt(),we==null||we($t)},qn=function(){return new Promise(function($t){$n(),se(function(){return $t})})};(0,t.Z)(function(){ee&&(bt(),ee(),se(null))},[ee]);function wn(Ct,$t,Wt,In){Ge[Ct]=function(zn){var Hn;In==null||In(zn),vt($t,Wt);for(var cr=arguments.length,dr=new Array(cr>1?cr-1:0),lr=1;lr1?Wt-1:0),zn=1;zn1?Wt-1:0),zn=1;zno in i?G(i,o,{enumerable:!0,configurable:!0,writable:!0,value:m}):i[o]=m,c=(i,o)=>{for(var m in o||(o={}))H.call(o,m)&&s(i,m,o[m]);if(V)for(var m of V(o))e.call(o,m)&&s(i,m,o[m]);return i},t=(i,o)=>W(i,h(o));const r=({img:i,buttonProps:o={},styles:m={},customText:w,ButtonText:N,ButtonClick:p,Buttonclass:g,ButtonTwo:f,imgStyles:u,loading:D=!1,className:T=""})=>O.createElement("section",{className:`tc animated fadeIn ${T}`,style:c({color:"#999",margin:"100px auto",visibility:D?"hidden":"visible"},m)},O.createElement("img",{src:i||k,style:t(c({},u),{pointerEvents:"none",userSelect:"none"})}),O.createElement("p",{className:"mt20 font14"},w||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),N&&O.createElement(B.ZP,c({className:g,onClick:p},o),N),f&&f);Ze.Z=r},45677:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return g}});var O=l(59301),k={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},B=l(99571),G=l(70557),W=l(75975),h=l(25399),V=l(51257),H=l(81722),e=l(28426),s=l(346),c=l(44203),t=l(59301),r=Object.defineProperty,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,w=(f,u,D)=>u in f?r(f,u,{enumerable:!0,configurable:!0,writable:!0,value:D}):f[u]=D,N=(f,u)=>{for(var D in u||(u={}))o.call(u,D)&&w(f,D,u[D]);if(i)for(var D of i(u))m.call(u,D)&&w(f,D,u[D]);return f},p=(f,u,D)=>new Promise((T,K)=>{var L=Ee=>{try{z(D.next(Ee))}catch(C){K(C)}},$=Ee=>{try{z(D.throw(Ee))}catch(C){K(C)}},z=Ee=>Ee.done?T(Ee.value):Promise.resolve(Ee.value).then(L,$);z((D=D.apply(f,u)).next())}),g=({editOffice:f="view",data:u,issaver:D,onSaver:T,theme:K,type:L,filename:$,monacoEditor:z,className:Ee,style:C,close:_,onClose:E,hasMask:P,disabledDownload:R,onImgDimensions:b,showNodata:n,recordInfo:a})=>{const[d,A]=(0,O.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[re,de]=(0,O.useState)(""),[ve,De]=(0,O.useState)(),Ae=window.ENV==="build"?"/react/build":"",mt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Xe=10*(1024*1024),Ne=(0,O.useRef)();u!=null&&u.startsWith("/api")&&L!=="txt"&&(u=s.Z.API_SERVER+u);const Qe=S=>S.substring(S.lastIndexOf("/")+1).split(".").pop();$&&z&&(z.filename=$),(0,O.useEffect)(()=>{var S,q;const te=(q=(S=document.cookie)==null?void 0:S.replace(/\s/g,""))==null?void 0:q.split(";");te==null||te.map(x=>{let v=x.split("=");v[0]==="_educoder_session"&&de(v[1])})},[]),(0,O.useEffect)(()=>{L==="office"&&(u.indexOf("bigfilescdn.")>-1||u.indexOf("bigfiles1")>-1?De({url:u,fileType:Qe(u),model:u.indexOf("model=edit")?"edit":"view"}):ae())},[L,u]);function Te(S){return p(this,null,function*(){S.data.type==="pdfdata"&&(T(S.data.data),window.removeEventListener("message",Te,!1)),console.log("mess---:",S.data)})}const ae=()=>p(void 0,null,function*(){console.log("data:",u);let S=u;u.startsWith("http")||(S=location.origin+S);let q=new URL(S).pathname.split("/").pop();const te=yield(0,H.gJ)({attachment_id:q});te.url=mt+te.url,De(te)}),y=()=>{if(u.startsWith("http")||u.startsWith("blob:")){M();return}(0,V.Sv)($||"educoder",u,$)},M=()=>{a&&(0,c.fc)({id:a==null?void 0:a.id,watch_type:1,course_id:a==null?void 0:a.course_id}),(0,V.Nd)($||"educoder",decodeURIComponent(u))};return t.createElement("div",{style:N({},C||{}),className:`${P&&k.bgBlack} ${L?k.wrp:"hide"}`},_&&t.createElement("div",{className:k.close,ref:Ne},!!b&&t.createElement(h.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ne.current},t.createElement("span",{onClick:()=>{E(),b()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!R&&t.createElement(h.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ne.current},t.createElement("span",{onClick:M},t.createElement("i",{className:"icon-quxiaozhiding"}))),D&&t.createElement(h.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ne.current},t.createElement("span",{className:"",onClick:()=>{const S=document.getElementById("pdfiframe");window.addEventListener("message",Te,!1),setTimeout(()=>{S.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(h.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ne.current},t.createElement("span",{className:"",onClick:()=>{E()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${k[Ee]} ${Ee} ${k.monaco} ${L==="txt"?"show":"hide"}`},L==="txt"&&t.createElement(t.Fragment,null,t.createElement(W.ZP,N({},z)))),L==="audio"&&t.createElement("audio",{src:`${(u==null?void 0:u.indexOf("http://"))>-1||(u==null?void 0:u.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${u}`,autoPlay:!0}),L==="video"&&t.createElement(t.Fragment,null,(u==null?void 0:u.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${u}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${u}`,autoPlay:!0})),L==="office"&&ve&&t.createElement("iframe",{src:`${Ae}/office.html?key=${ve.key}&url=${btoa(ve.url)}&callbackUrl=${mt+(ve.callbackUrl||"")}&fileType=${ve.fileType}&title=${ve.title||""}&model=${f}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!R}`}),L==="html"&&t.createElement("iframe",{src:u+"&disposition=inline"}),L==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${Ae}/js/pdfview/index.html?filename=${$||"educoder.pdf"}&url=${encodeURIComponent(u)}&disabledDownload=${!!R}&model=${f}`}),L==="image"&&t.createElement("img",{src:`${(u==null?void 0:u.indexOf("http://"))>-1||(u==null?void 0:u.indexOf("https://"))>-1?"":"data:image/png;base64,"}${u}`}),(L==="other"||L==="download")&&t.createElement(t.Fragment,null,n?t.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:t.createElement(B.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:y,disabled:R},"\u4E0B\u8F7D")}):t.createElement(B.ZP,{type:"primary",size:"middle",onClick:y,disabled:R},t.createElement(G.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},75975:function(Bt,Ze,l){"use strict";l.d(Ze,{SV:function(){return Xe},ZP:function(){return me}});var O=l(59301),k=l(76374);const B={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},G={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},W={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},h={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},V={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var H=l(53184),e=l.n(H),s=(Ne,Qe,Te)=>new Promise((ae,y)=>{var M=te=>{try{q(Te.next(te))}catch(x){y(x)}},S=te=>{try{q(Te.throw(te))}catch(x){y(x)}},q=te=>te.done?ae(te.value):Promise.resolve(te.value).then(M,S);q((Te=Te.apply(Ne,Qe)).next())});const c={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},t=(Ne,Qe,Te,ae)=>{const y=Qe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Te.lineNumber,endColumn:Te.column});return Array.from(new Set(y.match(/\b\w{2,}\b/g)||[])).map(S=>({label:S,kind:Ne.languages.CompletionItemKind.Text,insertText:S,range:ae}))},r=(Ne,Qe,Te,ae)=>{Ne.languages.registerCompletionItemProvider(Qe,{provideCompletionItems(y,M){const S=y.getWordUntilPosition(M),q={startLineNumber:M.lineNumber,endLineNumber:M.lineNumber,startColumn:S.startColumn,endColumn:S.endColumn},te=y.getLineContent(M.lineNumber).substring(S.startColumn-2,S.endColumn);return{suggestions:[...t(Ne,y,M,q),...Te.map(v=>({label:v,kind:Ne.languages.CompletionItemKind.Keyword,documentation:v,insertText:v,insertTextRules:Ne.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q})),...ae.map(v=>({label:v.label,kind:Ne.languages.CompletionItemKind.Snippet,documentation:v.content,insertText:te.startsWith("#")?v.content.replace(/#/,""):v.content,insertTextRules:Ne.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}})};var i=Ne=>{c.languages.forEach(Qe=>{Ne.languages.registerDocumentFormattingEditProvider(Qe,{provideDocumentFormattingEdits(Te){return s(this,null,function*(){const ae=e()(Te.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Te.getFullModelRange(),text:ae}]})}})}),r(Ne,"java",G.keywords,G.quickKey),r(Ne,"cpp",W.keywords,W.quickKey),r(Ne,"c",B.keywords,[]),r(Ne,"python",h.keywords,h.quickKey),r(Ne,"scala",V.keywords,V.quickKey)};const o="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var m=Object.defineProperty,w=(Ne,Qe,Te)=>Qe in Ne?m(Ne,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ne[Qe]=Te,N=(Ne,Qe,Te)=>w(Ne,typeof Qe!="symbol"?Qe+"":Qe,Te);const p=class ya{constructor(Qe,Te,ae){this.placeholder=Qe,this.editor=Te,this.monaco=ae,Te.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ya.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};N(p,"ID","editor.widget.placeholderHint");var f=p,u=l(96236),D=l(6767),T=l(25399),K=l(89392),L=l(49535),$=l(56102),z=Object.defineProperty,Ee=Object.defineProperties,C=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,R=(Ne,Qe,Te)=>Qe in Ne?z(Ne,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ne[Qe]=Te,b=(Ne,Qe)=>{for(var Te in Qe||(Qe={}))E.call(Qe,Te)&&R(Ne,Te,Qe[Te]);if(_)for(var Te of _(Qe))P.call(Qe,Te)&&R(Ne,Te,Qe[Te]);return Ne},n=(Ne,Qe)=>Ee(Ne,C(Qe)),a=(Ne,Qe)=>{var Te={};for(var ae in Ne)E.call(Ne,ae)&&Qe.indexOf(ae)<0&&(Te[ae]=Ne[ae]);if(Ne!=null&&_)for(var ae of _(Ne))Qe.indexOf(ae)<0&&P.call(Ne,ae)&&(Te[ae]=Ne[ae]);return Te},d=(Ne,Qe,Te)=>new Promise((ae,y)=>{var M=te=>{try{q(Te.next(te))}catch(x){y(x)}},S=te=>{try{q(Te.throw(te))}catch(x){y(x)}},q=te=>te.done?ae(te.value):Promise.resolve(te.value).then(M,S);q((Te=Te.apply(Ne,Qe)).next())});function A(Ne){return/^\d+$/.test(Ne)?`${Ne}px`:Ne}function re(){}let de=!1;const ve={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function De(Ne=[]){let Qe=Ne;if(Array.isArray(Ne)){for(let Te=0;Ted(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ne){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ne)}});var me=Ne=>{var Qe=Ne,{width:Te="100%",height:ae="100%",value:y,language:M="javascript",style:S={},options:q={},overrideServices:te={},theme:x="vs-dark",onEditBlur:v,isCopy:F=!1,onSave:X,autoHeight:Z=!1,forbidCopy:U=!1,onChange:j=re,editorDidMount:ce=re,onFocus:ie=re,onBreakPoint:we=re,breakPointValue:Me=[],filename:je="educoder.txt",errorLine:Ke,errorContent:ke="",highlightLine:ue,openBreakPoint:Le=!1,placeholder:Pe="",showMiniMap:Re=!0}=Qe,dt=a(Qe,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const xt=(0,O.useRef)(),Ie=(0,O.useRef)({}),Lt=(0,O.useRef)(),en=(0,O.useRef)(),ht=(0,O.useRef)([]),ot=(0,O.useRef)(!1),Kt=(0,O.useRef)(),nn=(0,O.useRef)(),At=(0,O.useRef)(!1),[gt,Ft]=(0,O.useState)(!1);function vn(){let st;return xt.current&&(st=new k.Z(et=>{for(let _t of et)(_t.target.offsetHeight>0||_t.target.offsetWidth>0)&&Ie.current.instance.layout()}),st.observe(xt.current)),st}function Mt(){D.ZP.warning({content:decodeURIComponent(o),key:"monaco-editor-tip"})}const ut=()=>{let st=Ie.current.instance;if(y!=null&&st&>){const et=st.getModel();et&&y!==et.getValue()&&(de=!0,et.setValue(y),st.layout(),de=!1)}};(0,O.useEffect)(()=>{const st=L.Z.subscribe("formatDocument",et=>{var _t;let an=Ie.current.instance;(_t=an==null?void 0:an.getAction)==null||_t.call(an,"editor.action.formatDocument").run()});return window.updateMonacoValue=et=>{j(et)},st},[]),(0,O.useEffect)(()=>{var st;let et=Ie.current.instance;en.current&&clearTimeout(en.current),en.current=setTimeout(()=>{ut()},500),y&&(y!=null&&y.length)&&((st=et==null?void 0:et.updateOptions)==null||st.call(et,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(y.split(/\r\n|\r|\n/g).length))+3,5)}))},[y,gt,Ie.current]),(0,O.useEffect)(()=>{if(Ke&&Ie.current&&Ie.current.instance){let et=Ie.current.instance;et.changeViewZones(function(_t){var an=document.createElement("div");an.style.padding="10px 20px",an.style.width="calc(100% - 20px)",an.className="my-error-line-wrp",an.innerHTML=ke,_t.addZone({afterLineNumber:Ke||11,heightInLines:3,domNode:an})});var st={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};et.addOverlayWidget(st),et.revealPositionInCenter({lineNumber:20,column:1})}},[Ke,Ie.current,gt]);const Et=(st="",et)=>{if(!st||st.trim()==="")return!0;const an=Ie.current.instance.getModel().getLineTokens(et);let Sn=!1;for(let Q=0;Q<2;Q++)an.getStandardTokenType(Q)===1&&(Sn=!0);return Sn};(0,O.useEffect)(()=>{var st;const et=(st=Ie.current)==null?void 0:st.instance;if(et&>&&U){const _t=et.onDidBlurEditorWidget(()=>{At.current=!1}),an=et.onDidFocusEditorText(()=>{At.current=!0});return()=>{_t.dispose(),an.dispose()}}},[Ie.current,gt,U]),(0,O.useEffect)(()=>{var st;if((st=Ie.current)!=null&&st.instance&>&&Le){let et=Ie.current.instance,_t=et.getModel();if(!_t)return;(()=>{var $e;let nt=[],ct=[];const tt=_t.getAllDecorations();for(let Y of tt)Y.options.className==="highlighted-line"&&(nt.push(($e=Y==null?void 0:Y.range)==null?void 0:$e.startLineNumber),ct.push(Y==null?void 0:Y.id));if(ue===nt[0])return;_t.deltaDecorations(ct,[]);const ze=_t.getLineCount();ue&&ue<=ze&&(et.deltaDecorations([],[{range:new Ae.Range(ue,1,ue,_t.getLineMaxColumn(ue)),options:{isWholeLine:!0,className:"highlighted-line"}}]),et.revealLineInCenter(ue))})();const Sn=($e=!1)=>{var nt;let ct=[],tt=[];const ze=_t.getAllDecorations();for(let Y of ze)Y.options.linesDecorationsClassName==="breakpoints-select"&&(ct.push((nt=Y==null?void 0:Y.range)==null?void 0:nt.startLineNumber),tt.push(Y==null?void 0:Y.id));if($e)return{lines:ct,ids:tt};we(ct)},Q=$e=>d(void 0,null,function*(){let nt={range:new Ae.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield _t.deltaDecorations([],[nt]),Sn()}),J=$e=>d(void 0,null,function*(){let nt=[];const ct=et.getLineDecorations($e);for(let tt of ct)tt.options.linesDecorationsClassName==="breakpoints-select"&&nt.push(tt.id);yield _t.deltaDecorations(nt,[]),Sn()}),We=$e=>{let nt=et.getLineDecorations($e);for(let ct of nt)if(ct.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,K.isEqual)(Me,Sn(!0).lines)){_t.deltaDecorations(Sn(!0).ids,[]);const $e=Me.map(nt=>({range:new Ae.Range(nt,1,nt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));_t.deltaDecorations([],$e)}const Se=et.onDidChangeModelContent($e=>{let nt=et.getPosition();if(nt){let ct=nt.lineNumber;clearTimeout(nn.current),nn.current=setTimeout(()=>{Et(_t.getLineContent(ct),ct)?J(ct):We(ct)?(J(ct),Q(ct)):Sn()},100)}}),He=et.onMouseDown($e=>{var nt,ct,tt;if($e.target.detail&&((tt=(ct=(nt=$e.target)==null?void 0:nt.element)==null?void 0:ct.className)!=null&&tt.includes("line-numbers"))){let ze=$e.target.position.lineNumber;if(Et(_t.getLineContent(ze),ze))return;We(ze)?J(ze):Q(ze)}}),qe=$e=>{let nt={range:new Ae.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ht.current=et.deltaDecorations(ht.current,[nt])},Ve=()=>{ht.current=et.deltaDecorations(ht.current,[])},Ue=et.onMouseMove($e=>{var nt,ct,tt;if(Ve(),$e.target.detail&&((tt=(ct=(nt=$e.target)==null?void 0:nt.element)==null?void 0:ct.className)!=null&&tt.includes("line-numbers"))){let ze=$e.target.position.lineNumber;if(Et(_t.getLineContent(ze),ze))return;qe(ze)}}),at=et.onMouseLeave(()=>{Ve()});return()=>{Se.dispose(),He.dispose(),Ue.dispose(),at.dispose()}}},[Ie.current,gt,Me,ue,Le,M]),(0,O.useEffect)(()=>{var st;(st=Ie.current)!=null&&st.instance&&Le&&Ie.current.instance.setPosition({lineNumber:0,column:0})},[ue]);function Zn(){let st=Ie.current.instance;if(st){const et=st.getSelection(),_t=Ie.current.pastePos||{},an=new Ae.Range(_t.startLineNumber||et.endLineNumber,_t.startColumn||et.endColumn,_t.endLineNumber||et.endLineNumber,_t.endColumn||et.endColumn);setTimeout(()=>{st.executeEdits("",[{range:an,text:""}])},300)}}function mn(st){(window.navigator.platform.match("Mac")?st.metaKey:st.ctrlKey)&&st.keyCode==83&&(st.preventDefault(),X())}const Ln=()=>{if(Z&&Ie.current.instance){const st=Ie.current.instance.getContentHeight();gn(st{if(!At.current)return;const{keyCode:et,ctrlKey:_t,metaKey:an,target:Sn,type:Q}=st;return(Q==="paste"||(et===67||et===86)&&(an||_t))&&Sn.nodeName==="TEXTAREA"&&(Mt(),st.preventDefault()),!1};function Cn(st,et){var _t=window.URL||window.webkitURL||window,an=new Blob([et]),Sn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Sn.href=_t.createObjectURL(an),Sn.download=st,jn(Sn)}(0,O.useEffect)(()=>{Ln()},[Ln]),(0,O.useEffect)(()=>{xt.current&&!gt&&Promise.all([l.e(8909),l.e(6656)]).then(l.bind(l,71448)).then(st=>{try{Ae=st,Ie.current.instance=Ae.editor.create(xt.current,{value:y,language:De(M),theme:x,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Re||!1}},te);const et=Ie.current.instance;let Sn=[...u.BH._menuItems].find(Se=>Se[0]._debugName=="EditorContext")[1],Q=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],J=(Se,He)=>{var qe,Ve;let Ue=Se._first;do He.includes((Ve=(qe=Ue.element)==null?void 0:qe.command)==null?void 0:Ve.id)&&Se._remove(Ue);while(Ue=Ue.next)};if(ce(et,Ae),setTimeout(()=>{Ln(),Ie.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cn(je||"educoder.txt",et.getValue())}})},500),Ie.current.subscription=et.onDidChangeModelContent(Se=>{ot.current?clearTimeout(Kt.current):(Ln(),j(et.getValue(),Se)),Kt.current=setTimeout(()=>{ot.current=!1},500)}),window.Monaco||i(Ae,De(M)),U&&(J(Sn,Q),xt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",bn),window.removeEventListener("paste",bn),window.addEventListener("keydown",bn),window.addEventListener("paste",bn)),window.Monaco=Ae,v&&et.onDidBlurEditorWidget(()=>{v(et.getValue())}),ie&&et.onDidFocusEditorText(()=>{U&&mt(),ie(et.getValue())}),U){mt();try{et.onDidPaste(Se=>{const He=et.getSelection(),qe=Ie.current.pastePos||{},Ve=new Ae.Range(qe.startLineNumber||He.endLineNumber,qe.startColumn||He.endColumn,qe.endLineNumber||He.endLineNumber,qe.endColumn||He.endColumn);et.executeEdits("",[{range:Se.range,text:""}])})}catch(Se){}}let We=vn();return Pe&&typeof Pe=="string"&&new f(Pe,et,Ae),Ft(!0),()=>{const Se=Ie.current.instance;Se.dispose();const He=Se.getModel();He&&He.dispose(),Ie.current.subscription&&Ie.current.subscription.dispose(),We.unobserve(xt.current)}}catch(et){}})},[]),(0,O.useEffect)(()=>{if(Ie.current.instance&>)return document.addEventListener("keydown",mn,!1),()=>{document.removeEventListener("keydown",mn)}},[X,gt]),(0,O.useEffect)(()=>{let st=Ie.current.instance;if(st&>){let et=De(M);Ae.editor.setModelLanguage(st.getModel(),et)}},[M,gt]),(0,O.useEffect)(()=>{Ie.current.instance&>&&Ae.editor.setTheme(x)},[x,gt]),(0,O.useEffect)(()=>{let st=Ie.current.instance;Lt.current=q,st&>&&(st.updateOptions(b({},q)),setTimeout(()=>{st.getModel().updateOptions(b({},q))},200))},[JSON.stringify(q),gt]),(0,O.useEffect)(()=>{let st=Ie.current.instance;st&>&&st.layout()},[Te,ae,gt]);const[Kn,Rn]=(0,O.useState)(A(Te)),[On,gn]=(0,O.useState)(A(ae)),Dn=n(b({},S),{width:Kn,height:On,position:"relative"});return O.createElement("div",{className:"my-monaco-editor",ref:xt,style:Dn},F&&O.createElement($.CopyToClipboard,{text:y,onCopy:()=>D.ZP.success("\u590D\u5236\u6210\u529F")},O.createElement(T.Z,{title:"\u590D\u5236\u4EE3\u7801"},O.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},O.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Xe({width:Ne="100%",height:Qe="100%",original:Te,modified:ae,language:y,options:M={}}){const S=(0,O.useRef)(),[q,te]=(0,O.useState)(null);function x(Z){let U;return S.current&&(U=new k.Z(j=>{for(let ce of j)(ce.target.offsetHeight>0||ce.target.offsetWidth>0)&&Z.layout()}),U.observe(S.current)),U}(0,O.useEffect)(()=>(S.current&&Promise.all([l.e(8909),l.e(9404)]).then(l.bind(l,2550)).then(Z=>{Ae=Z;const U=Ae.editor.createDiffEditor(S.current,n(b({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},M),{wordWrap:!0}));te(U);let j=x(U);return()=>{U.dispose();const ce=U.getModel();ce&&ce.dispose(),j.unobserve(S.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,O.useEffect)(()=>{q&&q.setModel({original:Ae.editor.createModel(Te,y),modified:Ae.editor.createModel(ae,y)})},[Te,ae,y,q]);const v=A(Ne),F=A(Qe),X={width:v,height:F};return O.createElement("div",{className:"my-diff-editor",ref:S,style:X})}},15920:function(Bt,Ze,l){"use strict";l.r(Ze),l.d(Ze,{default:function(){return P}});var O=l(59301),k={flex_box_center:"flex_box_center___n3nXI",flex_space_between:"flex_space_between___SVr_u",flex_box_vertical_center:"flex_box_vertical_center___nGcce",flex_box_center_end:"flex_box_center_end___kaizF",flex_box_column:"flex_box_column___sMn1m",wrap:"wrap___LP3mu",title:"title___BPtTv",control:"control___zxfZc",label:"label___lVocU",tagWrap:"tagWrap___Wvbu8",tag:"tag___QaDfC",button:"button___z4kBY",customTable:"customTable___ehECY",form:"form___zV9o6",customModal:"customModal___TybkU"},B=l(25690),G=l(38986),W=l(89392),h=l(28284),V=l(62957),H=l(25399),e=l(6767),s=l(37568),c=l(82326),t=l(77736),r=l(99571),i=l(54172),o=l(346),m=l(81722),w=l(23029),N=l(96999),p=l(40133),g=l(45677),f=Object.defineProperty,u=Object.defineProperties,D=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,$=(R,b,n)=>b in R?f(R,b,{enumerable:!0,configurable:!0,writable:!0,value:n}):R[b]=n,z=(R,b)=>{for(var n in b||(b={}))K.call(b,n)&&$(R,n,b[n]);if(T)for(var n of T(b))L.call(b,n)&&$(R,n,b[n]);return R},Ee=(R,b)=>u(R,D(b)),C=(R,b,n)=>new Promise((a,d)=>{var A=ve=>{try{de(n.next(ve))}catch(De){d(De)}},re=ve=>{try{de(n.throw(ve))}catch(De){d(De)}},de=ve=>ve.done?a(ve.value):Promise.resolve(ve.value).then(A,re);de((n=n.apply(R,b)).next())});let _=[{id:1,content:"\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5206\u89E3\u53CA\u5173\u8054\u8BFE\u7A0B"},{id:2,content:"\u5B66\u751F\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u8BC4\u4EF7\u4F9D\u636E\u8868"},{id:3,content:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u76F4\u63A5\u8BC4\u4EF7\u7ED3\u679C"},{id:4,content:"\u8BFE\u7A0B\u603B\u7ED3\u62A5\u544A"}];const E=({user:R})=>{var b,n;const a={page:1,per_page:20,total:0,ec_major_school_id:null,ec_year_id:null,sort_by:null,direction:null,formvalues:{}};let[d,A]=(0,O.useState)(a);const[re,de]=(0,O.useState)(!0),[ve,De]=(0,O.useState)(!1),[Ae,mt]=(0,O.useState)([]),[me,Xe]=(0,O.useState)([]),[Ne,Qe]=(0,O.useState)([]),[Te]=h.default.useForm(),ae=(0,B.useLocation)(),y=location.host.startsWith("localhost")?o.Z.PROXY_SERVER:o.Z.API_SERVER,[M,S]=(0,O.useState)(!1),[q,te]=(0,O.useState)(!1),[x,v]=(0,O.useState)([]),[F,X]=(0,O.useState)(""),[Z,U]=(0,O.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,O.useEffect)(()=>{var ue;(ue=R==null?void 0:R.userInfo)!=null&&ue.school_id&&ce()},[(b=R==null?void 0:R.userInfo)==null?void 0:b.school_id]);const j=ue=>C(void 0,null,function*(){var Le;const Pe=(0,W.cloneDeep)(ue);N.U.setItem((Le=R==null?void 0:R.userInfo)==null?void 0:Le.login,[Pe==null?void 0:Pe.ec_major_school_id,Pe==null?void 0:Pe.ec_year_id]),de(!0);const Re=yield(0,G.ZP)(`/api/ec_years/${d.ec_year_id}/ec_docs.json`,{method:"get",params:Pe});Re!=null&&Re.data&&(Qe((Re==null?void 0:Re.data)||[]),d.total=Re==null?void 0:Re.count,A(z({},d))),de(!1)}),ce=()=>C(void 0,null,function*(){var ue,Le,Pe,Re,dt,xt,Ie,Lt,en,ht;const ot=yield(0,G.ZP)(`/api/schools/${(ue=R==null?void 0:R.userInfo)==null?void 0:ue.school_id}/ec_majors/get_major_list.json`,{method:"get"});if(!((Pe=(Le=ot==null?void 0:ot.data)==null?void 0:Le[0])!=null&&Pe.ec_major_school_id)){de(!1),De(!0);return}const Kt=N.U.getItem((Re=R==null?void 0:R.userInfo)==null?void 0:Re.login),nn=Number((dt=ae==null?void 0:ae.query)==null?void 0:dt.ec_major_school_id)||Kt[0]||((Ie=(xt=ot==null?void 0:ot.data)==null?void 0:xt[0])==null?void 0:Ie.ec_major_school_id),At=yield(0,G.ZP)(`/api/ec_major_schools/${nn}/ec_years/get_year_list.json`,{method:"get"});d.ec_major_school_id=nn,d.ec_year_id=Number((Lt=ae==null?void 0:ae.query)==null?void 0:Lt.ec_year_id)||Kt[1]||((ht=(en=At==null?void 0:At.data)==null?void 0:en[0])==null?void 0:ht.ec_year_id),we(d.ec_year_id),mt((ot==null?void 0:ot.data)||[]),Xe((At==null?void 0:At.data)||[]),A(d),j(d)}),ie=ue=>C(void 0,null,function*(){var Le,Pe;const Re=yield(0,G.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"});d.ec_major_school_id=ue,d.ec_year_id=(Pe=(Le=Re==null?void 0:Re.data)==null?void 0:Le[0])==null?void 0:Pe.ec_year_id,Xe((Re==null?void 0:Re.data)||[]),A(d),j(d)}),we=ue=>C(void 0,null,function*(){const Le=yield(0,G.ZP)(`/api/ec_years/${ue}/ec_courses/get_courses.json`,{method:"get"});v((Le==null?void 0:Le.data)||[])}),Me=(ue,Le)=>{if(d.page=1,d[Le]=ue,Le==="ec_major_school_id"){ie(ue);return}Le==="ec_year_id"&&(A(z({},d)),j(d),we(ue))},je=ue=>{V.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",onOk:()=>C(void 0,null,function*(){const Le=yield(0,G.ZP)(`/api/ec_years/${d.ec_year_id}/ec_docs/${ue}.json`,{method:"delete"});(Le==null?void 0:Le.status)===0&&(d.page=1,A(z({},d)),j(d))})})},Ke=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:(ue,Le,Pe)=>O.createElement("span",{className:"pl20"},d.per_page*(d.page-1)+Pe+1)},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:ue=>ue||"-"},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:ue=>ue||"-"},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:ue=>ue||"-"},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:(ue,Le)=>O.createElement("span",{style:{display:"inline-flex",transform:"translateY(1px)",width:"80%",color:"#0152D9",justifyContent:"space-between"}},O.createElement(H.Z,{title:"\u4FEE\u6539\u6807\u9898"},O.createElement("i",{style:{cursor:"pointer"},onClick:()=>{var Pe;let Re=Le.name.substr(0,(Pe=Le.name)==null?void 0:Pe.lastIndexOf("."));if(!Re.replaceAll(" ","")){e.ZP.info("\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}V.default.confirm({title:"\u91CD\u547D\u540D",icon:!1,content:O.createElement(s.default,{defaultValue:Re,maxLength:100,onChange:dt=>{Re=dt.target.value}}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>C(void 0,null,function*(){let dt=yield(0,G.ZP)(`/api/ec_years/${d==null?void 0:d.ec_year_id}/ec_docs/${ue}.json`,{method:"put",body:{ec_year_id:d==null?void 0:d.ec_year_id,id:ue,name:Re}});(dt==null?void 0:dt.status)===0&&(e.ZP.info("\u4FEE\u6539\u6210\u529F"),d.page=1,A(z({},d)),j(d))})})},className:"iconfont icon-xiugaibiaoti"})),O.createElement(H.Z,{title:"\u5728\u7EBF\u7F16\u8F91"},O.createElement("i",{onClick:()=>C(void 0,null,function*(){if(["xlsx","docx","pptx"].includes(Le==null?void 0:Le.type)){const Pe=yield(0,m.gJ)({attachment_id:Le.attachment_id});window.open(`/office.html?key=${Le.attachment_id}&url=${y+(Pe==null?void 0:Pe.url)}&callbackUrl=${y+(Pe==null?void 0:Pe.callbackUrl)}&fileType=docx&title=${Pe==null?void 0:Pe.title}&model=edit&officeServer=${o.Z.ONLYOFFICE}&disabledDownload=false`)}else{e.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}),style:{cursor:"pointer"},className:"iconfont icon-bianji10"})),O.createElement(H.Z,{title:"\u4E0B\u8F7D"},O.createElement("i",{style:{cursor:"pointer"},onClick:()=>{(0,p.IM)({name:Le==null?void 0:Le.name,attachment_id:Le==null?void 0:Le.attachment_id})},className:"iconfont icon-xiazai4"})),O.createElement(H.Z,{title:"\u5220\u9664"},O.createElement("i",{style:{cursor:"pointer"},onClick:()=>{je(ue)},className:"iconfont icon-shanchu11"})))}],ke=re||ve;return O.createElement("div",{className:k.wrap},O.createElement(w.p,{title:"\u6587\u6863\u751F\u6210",style:{padding:"12px 0 0 20px"}}),O.createElement("div",{className:k.control},O.createElement("div",{className:k.label},"\u8BA4\u8BC1\u4E13\u4E1A"),O.createElement(c.default,{disabled:ke,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:ue=>Me(ue,"ec_major_school_id")},Ae==null?void 0:Ae.map(ue=>O.createElement(c.default.Option,{value:ue.ec_major_school_id},ue.name))),O.createElement("div",{className:k.label},"\u8BA4\u8BC1\u5C4A\u522B"),O.createElement(c.default,{disabled:ke,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:ue=>Me(ue,"ec_year_id")},me==null?void 0:me.map(ue=>O.createElement(c.default.Option,{value:ue.ec_year_id},ue.year))),O.createElement(t.Z,{className:k.button,size:10},O.createElement(r.ZP,{disabled:ke,style:{transition:"0s"},onClick:()=>{S(!0)},type:"primary"},O.createElement("i",{className:"iconfont icon-xinzeng font14 mr5"}),"\u751F\u6210\u6587\u6863"))),O.createElement(i.default,{className:k.customTable,dataSource:Ne,bordered:!1,rowKey:"id",columns:Ke,rowClassName:k.row,loading:re,pagination:{pageSize:d.per_page,total:d.total,current:d.page,showQuickJumper:!0,hideOnSinglePage:!1,showSizeChanger:!0,size:"default",position:["bottomCenter"],showTotal:ue=>O.createElement("span",{className:"mr10"},"\u5171",O.createElement("span",{className:"c-orange"},ue),"\u6761\u6570\u636E")}}),O.createElement(V.default,{title:"\u751F\u6210\u6587\u6863",open:M,onOk:()=>{Te.submit()},okButtonProps:{loading:q},onCancel:()=>{S(!1),Te.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",d),O.createElement(h.default,{labelCol:{span:7},wrapperCol:{span:17},form:Te,onValuesChange:ue=>{ue.export_type&&(d.formvalues=ue),A(z({},d))},onFinish:ue=>C(void 0,null,function*(){te(!0);let Le=`/api/ec_years/${d==null?void 0:d.ec_year_id}/ec_docs.json`,Pe=yield(0,G.ZP)(Le,{method:"post",body:z({ec_year_id:d.ec_year_id},ue)});te(!1),Pe.status===0&&(e.ZP.info("\u751F\u6210\u6210\u529F"),j(d),Te.setFieldsValue({export_type:"",ec_course_id:""}),S(!1))})},O.createElement(h.default.Item,{label:"\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863",name:"export_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"}]},O.createElement(c.default,{placeholder:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"},_==null?void 0:_.map((ue,Le)=>O.createElement(c.default.Option,{key:Le,value:ue==null?void 0:ue.id},ue==null?void 0:ue.content)))),((n=d.formvalues)==null?void 0:n.export_type)===4&&O.createElement(h.default.Item,{label:"\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B",name:"ec_course_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"}]},O.createElement(c.default,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"},x==null?void 0:x.map((ue,Le)=>O.createElement(c.default.Option,{key:Le,value:ue==null?void 0:ue.id},ue==null?void 0:ue.name)))))),O.createElement(g.Z,Ee(z({},Z),{onClose:()=>{U(Ee(z({},Z),{type:""}))}})))};var P=(0,B.connect)(({user:R})=>({user:R}))(E)},23029:function(Bt,Ze,l){"use strict";l.d(Ze,{p:function(){return G},v:function(){return V}});var O=l(59301),k={panelTitleContainer:"panelTitleContainer___Ypuh_"},G=({title:H,style:e={}})=>O.createElement("div",{className:k.panelTitleContainer,style:e},O.createElement("div",null,H)),W={selectWrapContainer:"selectWrapContainer___qocIH"},V=({title:H,children:e})=>O.createElement("div",{className:W.selectWrapContainer},O.createElement("span",null,H),e)},40133:function(Bt,Ze,l){"use strict";l.d(Ze,{AD:function(){return E},D9:function(){return A},Hp:function(){return D},IM:function(){return de},Iy:function(){return K},KM:function(){return ae},MJ:function(){return T},Ne:function(){return re},ON:function(){return me},Uj:function(){return Qe},VY:function(){return Ae},YO:function(){return Ne},YX:function(){return Xe},Zn:function(){return o},_g:function(){return g},_k:function(){return a},c6:function(){return C},cr:function(){return m},eV:function(){return _},fi:function(){return w},gh:function(){return z},hS:function(){return ve},iA:function(){return N},j6:function(){return f},je:function(){return b},jj:function(){return u},kS:function(){return mt},lS:function(){return n},o6:function(){return Ee},pO:function(){return Te},rQ:function(){return P},sA:function(){return $},xm:function(){return d},xo:function(){return De},y8:function(){return R},yd:function(){return p}});var O=l(82264),k=l(25690),B=l(51257),G=l(6767),W=l(346),h=Object.defineProperty,V=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(y,M,S)=>M in y?h(y,M,{enumerable:!0,configurable:!0,writable:!0,value:S}):y[M]=S,c=(y,M)=>{for(var S in M||(M={}))H.call(M,S)&&s(y,S,M[S]);if(V)for(var S of V(M))e.call(M,S)&&s(y,S,M[S]);return y},t=(y,M,S)=>new Promise((q,te)=>{var x=X=>{try{F(S.next(X))}catch(Z){te(Z)}},v=X=>{try{F(S.throw(X))}catch(Z){te(Z)}},F=X=>X.done?q(X.value):Promise.resolve(X.value).then(x,v);F((S=S.apply(y,M)).next())});const r=()=>{(0,k.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},i=()=>{(0,k.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=y=>t(void 0,null,function*(){r(),(yield(0,O.YR)(c({},y))).status===0&&(yield(0,B.QH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/courses/${y.coursesId}/export_couser_info.json`,query:y}))),i()}),m=y=>t(void 0,null,function*(){const M=yield(0,O.yS)(c({},y));if(M.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_member_act_score`);else{if(M.status===-2)return M;M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_member_act_score`))}}),w=y=>t(void 0,null,function*(){const M=yield(0,O.W0)(c({},y));if(M.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_score`);else{if(M.status===-4)return M;M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_score`))}}),N=y=>t(void 0,null,function*(){const M=yield(0,O.Nl)(c({},y));if(M.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_exercise_and_other`);else{if(M.status===-4)return M;M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_exercise_and_other`))}}),p=y=>t(void 0,null,function*(){const M=yield(0,O.IU)(c({},y));if(M.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/export_star_user`);else{if(M.status===-4)return M;M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/export_star_user`))}}),g=y=>t(void 0,null,function*(){const M=yield(0,O.td)(c({},y));if(M.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_exercise_and_other`);else{if(M.status===-2)return M;if(M.status===-3)(0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_exercise_and_other`);else if(M.status===-4)return M}}),f=y=>t(void 0,null,function*(){const M=yield(0,O.QX)(c({},y));if(M.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_homework`);else{if(M.status===-4)return M;M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/course_total_homework`))}}),u=(y,M)=>t(void 0,null,function*(){const S=yield(0,O.o_)(c({},y));S.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`)):S.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`))}),D=(y,M)=>t(void 0,null,function*(){const S=yield(0,O.ZL)(c({},y));S.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`)):S.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`))}),T=(y,M)=>t(void 0,null,function*(){const S=yield(0,O.vV)(c({},y));S.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`)):S.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`))}),K=(y,M)=>t(void 0,null,function*(){const S=yield(0,O.aP)(c({},y));S.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`)):S.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/${M}`))}),L=y=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(c({},y))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${y.categoryId}/works_list.zip`,query:y}))),i()}),$=y=>t(void 0,null,function*(){r(),yield(0,B.QH)("",W.Z.API_SERVER+`/api/polls/${y.categoryId}/commit_result.xlsx`),i()}),z=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/courses/${y.coursesId}/attendances/export_xlsx_data.xlsx`,query:y}))}),Ee=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/courses/${y.coursesId}/video_study_statics.xlsx`,query:y}))}),C=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/courses/${y.coursesId}/export_video_study.xlsx`,query:y}))}),_=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/courses/${y.coursesId}/export_course_students_info.xlsx`,query:y}))}),E=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/school_manages/students.xlsx",query:y}))}),P=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/item_banks/export.xlsx",query:y}))}),R=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:y}))}),b=y=>t(void 0,null,function*(){const M=yield(0,O.Uy)(c({},y));M.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/exercise_score,export_exercise_users`)):M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=y=>t(void 0,null,function*(){const M=yield(0,O.tg)(c({},y));M.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${y.coursesId}/exportlist/exercise_score,export_exercise_report`)):M.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${y.coursesId}/exportlist/exercise_score,export_exercise_report`))}),a=y=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/export_records/${y.id}.xlsx`,query:y}))}),d=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:y}))}),A=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/courses/${y==null?void 0:y.coursesId}/${y.menuKey}_statistic.xlsx?${y.checkedList.map(M=>`course_group_id[]=${M}`).join("&")}`,query:y}))}),re=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/ec_years/${y==null?void 0:y.ec_year_id}/ec_training_objectives.xlsx`,query:y}))}),de=y=>t(void 0,null,function*(){yield(0,B.FH)(y==null?void 0:y.name,(0,B.NY)({url:W.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:y}))}),ve=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/ec_years/${y==null?void 0:y.ec_year_id}/ec_courses.xlsx`,query:y}))}),De=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/ec_years/${y==null?void 0:y.ec_year_id}/ec_graduation_requirements.xlsx`,query:y}))}),Ae=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:y}))}),mt=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:y}))}),me=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/examination_banks/${y.id}.json`,query:y}))}),Xe=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/exercises/${y.categoryId}.json`,query:y}))}),Ne=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/polls/${y==null?void 0:y.id}/commit_result.json`,query:y}))}),Qe=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+"/api/paths/get_task_pass.json",query:y}))}),Te=(y,M)=>t(void 0,null,function*(){yield(0,B.FH)(M||"",(0,B.NY)({url:W.Z.API_SERVER+`/api/exercises/${y==null?void 0:y.exercise_id}/consult_exercise.json`,query:y}))}),ae=y=>t(void 0,null,function*(){yield(0,B.FH)("",(0,B.NY)({url:W.Z.API_SERVER+`/api/competitions/${y==null?void 0:y.identifier}/competition_commit_records/member_works.xlsx`,query:y}))})},25769:function(Bt,Ze,l){"use strict";var O=l(98040),k={"text/plain":"Text","text/html":"Url",default:"Text"},B="Copy to clipboard: #{key}, Enter";function G(h){var V=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,V)}function W(h,V){var H,e,s,c,t,r,i=!1;V||(V={}),H=V.debug||!1;try{s=O(),c=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=h,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(m){if(m.stopPropagation(),V.format)if(m.preventDefault(),typeof m.clipboardData=="undefined"){H&&console.warn("unable to use e.clipboardData"),H&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var w=k[V.format]||k.default;window.clipboardData.setData(w,h)}else m.clipboardData.clearData(),m.clipboardData.setData(V.format,h);V.onCopy&&(m.preventDefault(),V.onCopy(m.clipboardData))}),document.body.appendChild(r),c.selectNodeContents(r),t.addRange(c);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");i=!0}catch(m){H&&console.error("unable to copy using execCommand: ",m),H&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(V.format||"text",h),V.onCopy&&V.onCopy(window.clipboardData),i=!0}catch(w){H&&console.error("unable to copy using clipboardData: ",w),H&&console.error("falling back to prompt"),e=G("message"in V?V.message:B),window.prompt(e,h)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(c):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return i}Bt.exports=W},53184:function(Bt,Ze,l){"use strict";var O,k;function B(G,W,h){var V=function(H,e){return G.js_beautify(H,e)};return V.js=G.js_beautify,V.css=W.css_beautify,V.html=h.html_beautify,V.js_beautify=G.js_beautify,V.css_beautify=W.css_beautify,V.html_beautify=h.html_beautify,V}O=[l(58553),l(87804),l(40998)],k=function(G,W,h){return B(G,W,h)}.apply(Ze,O),k!==void 0&&(Bt.exports=k)},87804:function(Bt,Ze){var l,O;(function(){var k;(function(){"use strict";var G=[,,function(H){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var r=t.lastIndexOf(` `);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var i=this.__base_string_length;return r=r||0,t<0&&(i=0),i+=t*this.__indent_size,i+=r,i},s.prototype.get_indent_string=function(t,r){var i=this.__base_string;return r=r||0,t<0&&(t=0,i=""),r+=t*this.__indent_size,this.__ensure_cache(r),i+=this.__cache[r],i},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,i="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,i=new Array(r+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(" ")),this.__cache.push(i)};function c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===` `&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var i=this.__lines.join(` `);return t!==` `&&(i=i.replace(/[\n]/g,t)),i},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;r1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},H.exports.Output=c},,,,function(H){function e(t,r){this.raw_options=s(t,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,r){var i=this.raw_options[t],o=r||[];return typeof i=="object"?i!==null&&typeof i.concat=="function"&&(o=i.concat()):typeof i=="string"&&(o=i.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var i=this.raw_options[t],o=i===void 0?!!r:!!i;return o},e.prototype._get_characters=function(t,r){var i=this.raw_options[t],o=r||"";return typeof i=="string"&&(o=i.replace(/\\r/,"\r").replace(/\\n/,` `).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var i=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(i,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,i){var o=this._get_selection_list(t,r,i);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values: `+r+` You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,r,i){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(i=i||[r[0]],!this._is_valid_selection(i,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,i);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values: `+r+` You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(i){return r.indexOf(i)===-1})};function s(t,r){var i={};t=c(t);var o;for(o in t)o!==r&&(i[o]=t[o]);if(r&&t[r])for(o in t[r])i[o]=t[r][o];return i}function c(t){var r={},i;for(i in t){var o=i.replace(/-/g,"_");r[o]=t[i]}return r}H.exports.Options=e,H.exports.normalizeOpts=c,H.exports.mergeOpts=s},,function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position=0&&c=0&&t=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},H.exports.InputScanner=s},,,,,function(H){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},,function(H,e,s){var c=s(16).Beautifier,t=s(17).Options;function r(i,o){var m=new c(i,o);return m.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var c=s(17).Options,t=s(2).Output,r=s(8).InputScanner,i=s(13).Directives,o=new i(/\/\*/,/\*\//),m=/\r\n|[\r\n]/,w=/\r\n|[\r\n]/g,N=/\s/,p=/(?:\s|\n)+/g,g=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function u(D,T){this._source_text=D||"",this._options=new c(T),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}u.prototype.eatString=function(D){var T="";for(this._ch=this._input.next();this._ch;){if(T+=this._ch,this._ch==="\\")T+=this._input.next();else if(D.indexOf(this._ch)!==-1||this._ch===` `)break;this._ch=this._input.next()}return T},u.prototype.eatWhitespace=function(D){for(var T=N.test(this._input.peek()),K=0;N.test(this._input.peek());)this._ch=this._input.next(),D&&this._ch===` `&&(K===0||K0&&this._indentLevel--},u.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var D=this._source_text,T=this._options.eol;T==="auto"&&(T=` `,D&&m.test(D||"")&&(T=D.match(m)[0])),D=D.replace(w,` `);var K=D.match(/^[\t ]*/)[0];this._output=new t(this._options,K),this._input=new r(D),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var L=0,$=!1,z=!1,Ee=!1,C=!1,_=!1,E=this._ch,P=!1,R,b,n;R=this._input.read(p),b=R!=="",n=E,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),E=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var a=this._input.read(g),d=o.get_directives(a);d&&d.ignore==="start"&&(a+=o.readIgnored(this._input)),this.print_string(a),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(f)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(b),this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s+$/,""),this.print_string(A),this._output.space_before_token=!0),L===0&&A.indexOf(":")!==-1&&(z=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(b),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var re=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);re.match(/[ :]$/)&&(re=this.eatString(": ").replace(/\s+$/,""),this.print_string(re),this._output.space_before_token=!0),L===0&&re.indexOf(":")!==-1?(z=!0,this.indent()):re in this.NESTED_AT_RULE?(this._nestedLevel+=1,re in this.CONDITIONAL_GROUP_RULE&&(Ee=!0)):L===0&&!z&&(C=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(b),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")z&&(z=!1,this.outdent()),C=!1,Ee?(Ee=!1,$=this._indentLevel>=this._nestedLevel):$=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&$&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),z&&(this.outdent(),z=!1),this.print_string(this._ch),$=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var de=0;de"||this._ch==="+"||this._ch==="~")&&!z&&L===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&N.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(b),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),N.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Ae=n==='"'||n==="'";this.preserveSingleSpace(Ae||b),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===` `&&P&&this._output.add_new_line()}var mt=this._output.get_code(T);return mt},H.exports.Beautifier=u},function(H,e,s){var c=s(6).Options;function t(r){c.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var i=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||i;var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m=0;m--)if(this.__items[m].match(o))return!0;return!1},t.prototype.set_indent=function(o,m){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=m||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(o){this.__items.push(o);var m=o.lastIndexOf(` `);m!==-1?this.__character_count=o.length-m:this.__character_count+=o.length},t.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function r(o,m){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),m=m||"",o.indent_level>0&&(m=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=m,this.__base_string_length=m.length}r.prototype.get_indent_size=function(o,m){var w=this.__base_string_length;return m=m||0,o<0&&(w=0),w+=o*this.__indent_size,w+=m,w},r.prototype.get_indent_string=function(o,m){var w=this.__base_string;return m=m||0,o<0&&(o=0,w=""),m+=o*this.__indent_size,this.__ensure_cache(m),w+=this.__cache[m],w},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,m=0,w="";this.__indent_size&&o>=this.__indent_size&&(m=Math.floor(o/this.__indent_size),o-=m*this.__indent_size,w=new Array(m+1).join(this.__indent_string)),o&&(w+=new Array(o+1).join(" ")),this.__cache.push(w)};function i(o,m){this.__indent_cache=new r(o,m),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(o,m){return this.__indent_cache.get_indent_string(o,m)},i.prototype.get_indent_size=function(o,m){return this.__indent_cache.get_indent_size(o,m)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},i.prototype.get_code=function(o){this.trim(!0);var m=this.current_line.pop();m&&(m[m.length-1]===` `&&(m=m.replace(/\n+$/g,"")),this.current_line.push(m)),this._end_with_newline&&this.__add_outputline();var w=this.__lines.join(` `);return o!==` `&&(w=w.replace(/[\n]/g,o)),w},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(o,m){return o=o||0,m=m||0,this.next_line.set_indent(o,m),this.__lines.length>1?(this.current_line.set_indent(o,m),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(o){for(var m=0;m1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(o,m){for(var w=this.__lines.length-2;w>=0;){var N=this.__lines[w];if(N.is_empty())break;if(N.item(0).indexOf(o)!==0&&N.item(-1)!==m){this.__lines.splice(w+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}w--}},c.exports.Output=i},function(c){function t(r,i,o,m){this.type=r,this.text=i,this.comments_before=null,this.newlines=o||0,this.whitespace_before=m||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}c.exports.Token=t},,,function(c){function t(o,m){this.raw_options=r(o,m),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}t.prototype._get_array=function(o,m){var w=this.raw_options[o],N=m||[];return typeof w=="object"?w!==null&&typeof w.concat=="function"&&(N=w.concat()):typeof w=="string"&&(N=w.split(/[^a-zA-Z0-9_\/\-]+/)),N},t.prototype._get_boolean=function(o,m){var w=this.raw_options[o],N=w===void 0?!!m:!!w;return N},t.prototype._get_characters=function(o,m){var w=this.raw_options[o],N=m||"";return typeof w=="string"&&(N=w.replace(/\\r/,"\r").replace(/\\n/,` `).replace(/\\t/," ")),N},t.prototype._get_number=function(o,m){var w=this.raw_options[o];m=parseInt(m,10),isNaN(m)&&(m=0);var N=parseInt(w,10);return isNaN(N)&&(N=m),N},t.prototype._get_selection=function(o,m,w){var N=this._get_selection_list(o,m,w);if(N.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values: `+m+` You passed in: '`+this.raw_options[o]+"'");return N[0]},t.prototype._get_selection_list=function(o,m,w){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(w=w||[m[0]],!this._is_valid_selection(w,m))throw new Error("Invalid Default Value!");var N=this._get_array(o,w);if(!this._is_valid_selection(N,m))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values: `+m+` You passed in: '`+this.raw_options[o]+"'");return N},t.prototype._is_valid_selection=function(o,m){return o.length&&m.length&&!o.some(function(w){return m.indexOf(w)===-1})};function r(o,m){var w={};o=i(o);var N;for(N in o)N!==m&&(w[N]=o[N]);if(m&&o[m])for(N in o[m])w[N]=o[m][N];return w}function i(o){var m={},w;for(w in o){var N=w.replace(/-/g,"_");m[N]=o[w]}return m}c.exports.Options=t,c.exports.normalizeOpts=i,c.exports.mergeOpts=r},,function(c){var t=RegExp.prototype.hasOwnProperty("sticky");function r(i){this.__input=i||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position=0&&i=0&&o=i.length&&this.__input.substring(o-i.length,o).toLowerCase()===i},c.exports.InputScanner=r},function(c,t,r){var i=r(8).InputScanner,o=r(3).Token,m=r(10).TokenStream,w=r(11).WhitespacePattern,N={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},p=function(g,f){this._input=new i(g),this._options=f||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new w(this._input)};p.prototype.tokenize=function(){this._input.restart(),this.__tokens=new m,this._reset();for(var g,f=new o(N.START,""),u=null,D=[],T=new m;f.type!==N.EOF;){for(g=this._get_next_token(f,u);this._is_comment(g);)T.add(g),g=this._get_next_token(f,u);T.isEmpty()||(g.comments_before=T,T=new m),g.parent=u,this._is_opening(g)?(D.push(u),u=g):u&&this._is_closing(g,u)&&(g.opened=u,u.closed=g,u=D.pop(),g.parent=u),g.previous=f,f.next=g,this.__tokens.add(g),f=g}return this.__tokens},p.prototype._is_first_token=function(){return this.__tokens.isEmpty()},p.prototype._reset=function(){},p.prototype._get_next_token=function(g,f){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(N.RAW,u):this._create_token(N.EOF,"")},p.prototype._is_comment=function(g){return!1},p.prototype._is_opening=function(g){return!1},p.prototype._is_closing=function(g,f){return!1},p.prototype._create_token=function(g,f){var u=new o(g,f,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},p.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},c.exports.Tokenizer=p,c.exports.TOKEN=N},function(c){function t(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position=0&&r/),erb:p.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:p.starting_with(/{%/).until_after(/%}/),django_value:p.starting_with(/{{/).until_after(/}}/),django_comment:p.starting_with(/{#/).until_after(/#}/),smarty:p.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:p.starting_with(/{\*/).until_after(/\*}/),smarty_literal:p.starting_with(/{literal}/).until_after(/{\/literal}/)}}m.prototype=new i,m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){this.__set_templated_pattern()},m.prototype.disable=function(w){var N=this._create();return N._disabled[w]=!0,N._update(),N},m.prototype.read_options=function(w){var N=this._create();for(var p in o)N._disabled[p]=w.templating.indexOf(p)===-1;return N._update(),N},m.prototype.exclude=function(w){var N=this._create();return N._excluded[w]=!0,N._update(),N},m.prototype.read=function(){var w="";this._match_pattern?w=this._input.read(this._starting_pattern):w=this._input.read(this._starting_pattern,this.__template_pattern);for(var N=this._read_template();N;)this._match_pattern?N+=this._input.read(this._match_pattern):N+=this._input.readUntil(this.__template_pattern),w+=N,N=this._read_template();return this._until_after&&(w+=this._input.readUntilAfter(this._until_pattern)),w},m.prototype.__set_templated_pattern=function(){var w=[];this._disabled.php||w.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||w.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||w.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||w.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(w.push(this.__patterns.django._starting_pattern.source),w.push(this.__patterns.django_value._starting_pattern.source),w.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||w.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&w.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+w.join("|")+")")},m.prototype._read_template=function(){var w="",N=this._input.peek();if(N==="<"){var p=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&p==="?"&&(w=w||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&p==="%"&&(w=w||this.__patterns.erb.read())}else N==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(w=w||this.__patterns.handlebars_comment.read(),w=w||this.__patterns.handlebars_unescaped.read(),w=w||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(w=w||this.__patterns.django_value.read()),this._excluded.django||(w=w||this.__patterns.django_comment.read(),w=w||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(w=w||this.__patterns.smarty_comment.read(),w=w||this.__patterns.smarty_literal.read(),w=w||this.__patterns.smarty.read()));return w},c.exports.TemplatablePattern=m},,,,function(c,t,r){var i=r(19).Beautifier,o=r(20).Options;function m(w,N,p,g){var f=new i(w,N,p,g);return f.beautify()}c.exports=m,c.exports.defaultOptions=function(){return new o}},function(c,t,r){var i=r(20).Options,o=r(2).Output,m=r(21).Tokenizer,w=r(21).TOKEN,N=/\r\n|[\r\n]/,p=/\r\n|[\r\n]/g,g=function(C,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=C.max_preserve_newlines,this.preserve_newlines=C.preserve_newlines,this._output=new o(C,_)};g.prototype.current_line_has_match=function(C){return this._output.current_line.has_match(C)},g.prototype.set_space_before_token=function(C,_){this._output.space_before_token=C,this._output.non_breaking_space=_},g.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},g.prototype.add_raw_token=function(C){this._output.add_raw_token(C)},g.prototype.print_preserved_newlines=function(C){var _=0;C.type!==w.TEXT&&C.previous.type!==w.TEXT&&(_=C.newlines?1:0),this.preserve_newlines&&(_=C.newlines0);return _!==0},g.prototype.traverse_whitespace=function(C){return C.whitespace_before||C.newlines?(this.print_preserved_newlines(C)||(this._output.space_before_token=!0),!0):!1},g.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},g.prototype.print_newline=function(C){this._output.add_new_line(C)},g.prototype.print_token=function(C){C.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(C.text))},g.prototype.indent=function(){this.indent_level++},g.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},g.prototype.get_full_indent=function(C){return C=this.indent_level+(C||0),C<1?"":this._output.get_indent_string(C)};var f=function(C){for(var _=null,E=C.next;E.type!==w.EOF&&C.closed!==E;){if(E.type===w.ATTRIBUTE&&E.text==="type"){E.next&&E.next.type===w.EQUALS&&E.next.next&&E.next.next.type===w.VALUE&&(_=E.next.next.text);break}E=E.next}return _},u=function(C,_){var E=null,P=null;return _.closed?(C==="script"?E="text/javascript":C==="style"&&(E="text/css"),E=f(_)||E,E.search("text/css")>-1?P="css":E.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?P="javascript":E.search(/(text|application|dojo)\/(x-)?(html)/)>-1?P="html":E.search(/test\/null/)>-1&&(P="null"),P):null};function D(C,_){return _.indexOf(C)!==-1}function T(C,_,E){this.parent=C||null,this.tag=_?_.tag_name:"",this.indent_level=E||0,this.parser_token=_||null}function K(C){this._printer=C,this._current_frame=null}K.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},K.prototype.record_tag=function(C){var _=new T(this._current_frame,C,this._printer.indent_level);this._current_frame=_},K.prototype._try_pop_frame=function(C){var _=null;return C&&(_=C.parser_token,this._printer.indent_level=C.indent_level,this._current_frame=C.parent),_},K.prototype._get_frame=function(C,_){for(var E=this._current_frame;E&&C.indexOf(E.tag)===-1;){if(_&&_.indexOf(E.tag)!==-1){E=null;break}E=E.parent}return E},K.prototype.try_pop=function(C,_){var E=this._get_frame([C],_);return this._try_pop_frame(E)},K.prototype.indent_to_tag=function(C){var _=this._get_frame(C);_&&(this._printer.indent_level=_.indent_level)};function L(C,_,E,P){this._source_text=C||"",_=_||{},this._js_beautify=E,this._css_beautify=P,this._tag_stack=null;var R=new i(_,"html");this._options=R,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}L.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var C=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=` `,C&&N.test(C)&&(_=C.match(N)[0])),C=C.replace(p,` `);var E=C.match(/^[\t ]*/)[0],P={text:"",type:""},R=new $(this._options),b=new g(this._options,E),n=new m(C,this._options).tokenize();this._tag_stack=new K(b);for(var a=null,d=n.next();d.type!==w.EOF;)d.type===w.TAG_OPEN||d.type===w.COMMENT?(a=this._handle_tag_open(b,d,R,P,n),R=a):d.type===w.ATTRIBUTE||d.type===w.EQUALS||d.type===w.VALUE||d.type===w.TEXT&&!R.tag_complete?a=this._handle_inside_tag(b,d,R,P):d.type===w.TAG_CLOSE?a=this._handle_tag_close(b,d,R):d.type===w.TEXT?a=this._handle_text(b,d,R):d.type===w.CONTROL_FLOW_OPEN?a=this._handle_control_flow_open(b,d):d.type===w.CONTROL_FLOW_CLOSE?a=this._handle_control_flow_close(b,d):b.add_raw_token(d),P=a,d=n.next();var A=b._output.get_code(_);return A},L.prototype._handle_control_flow_open=function(C,_){var E={text:_.text,type:_.type};return C.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),_.newlines?C.print_preserved_newlines(_):C.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),C.print_token(_),C.indent(),E},L.prototype._handle_control_flow_close=function(C,_){var E={text:_.text,type:_.type};return C.deindent(),_.newlines?C.print_preserved_newlines(_):C.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),C.print_token(_),E},L.prototype._handle_tag_close=function(C,_,E){var P={text:_.text,type:_.type};return C.alignment_size=0,E.tag_complete=!0,C.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),E.is_unformatted?C.add_raw_token(_):(E.tag_start_char==="<"&&(C.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&E.has_wrapped_attrs&&C.print_newline(!1)),C.print_token(_)),E.indent_content&&!(E.is_unformatted||E.is_content_unformatted)&&(C.indent(),E.indent_content=!1),!E.is_inline_element&&!(E.is_unformatted||E.is_content_unformatted)&&C.set_wrap_point(),P},L.prototype._handle_inside_tag=function(C,_,E,P){var R=E.has_wrapped_attrs,b={text:_.text,type:_.type};return C.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),E.is_unformatted?C.add_raw_token(_):E.tag_start_char==="{"&&_.type===w.TEXT?C.print_preserved_newlines(_)?(_.newlines=0,C.add_raw_token(_)):C.print_token(_):(_.type===w.ATTRIBUTE?C.set_space_before_token(!0):(_.type===w.EQUALS||_.type===w.VALUE&&_.previous.type===w.EQUALS)&&C.set_space_before_token(!1),_.type===w.ATTRIBUTE&&E.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(C.traverse_whitespace(_),R=R||_.newlines!==0),this._is_wrap_attributes_force&&E.attr_count>=this._options.wrap_attributes_min_attrs&&(P.type!==w.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(C.print_newline(!1),R=!0)),C.print_token(_),R=R||C.previous_token_wrapped(),E.has_wrapped_attrs=R),b},L.prototype._handle_text=function(C,_,E){var P={text:_.text,type:"TK_CONTENT"};return E.custom_beautifier_name?this._print_custom_beatifier_text(C,_,E):E.is_unformatted||E.is_content_unformatted?C.add_raw_token(_):(C.traverse_whitespace(_),C.print_token(_)),P},L.prototype._print_custom_beatifier_text=function(C,_,E){var P=this;if(_.text!==""){var R=_.text,b,n=1,a="",d="";E.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?b=this._js_beautify:E.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?b=this._css_beautify:E.custom_beautifier_name==="html"&&(b=function(Ae,mt){var me=new L(Ae,mt,P._js_beautify,P._css_beautify);return me.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-C.indent_level);var A=C.get_full_indent(n);if(R=R.replace(/\n[ \t]*$/,""),E.custom_beautifier_name!=="html"&&R[0]==="<"&&R.match(/^(|]]>)$/.exec(R);if(!re){C.add_raw_token(_);return}a=A+re[1]+` `,R=re[4],re[5]&&(d=A+re[5]),R=R.replace(/\n[ \t]*$/,""),(re[2]||re[3].indexOf(` `)!==-1)&&(re=re[3].match(/[ \t]+$/),re&&(_.whitespace_before=re[0]))}if(R)if(b){var de=function(){this.eol=` `};de.prototype=this._options.raw_options;var ve=new de;R=b(A+R,ve)}else{var De=_.whitespace_before;De&&(R=R.replace(new RegExp(` (`+De+")?","g"),` `)),R=A+R.replace(/\n/g,` `+A)}a&&(R?R=a+R+` `+d:R=a+d),C.print_newline(!1),R&&(_.text=R,_.whitespace_before="",_.newlines=0,C.add_raw_token(_),C.print_newline(!0))}},L.prototype._handle_tag_open=function(C,_,E,P,R){var b=this._get_tag_open_token(_);if((E.is_unformatted||E.is_content_unformatted)&&!E.is_empty_element&&_.type===w.TAG_OPEN&&!b.is_start_tag?(C.add_raw_token(_),b.start_tag_token=this._tag_stack.try_pop(b.tag_name)):(C.traverse_whitespace(_),this._set_tag_position(C,_,b,E,P),b.is_inline_element||C.set_wrap_point(),C.print_token(_)),b.is_start_tag&&this._is_wrap_attributes_force){var n=0,a;do a=R.peek(n),a.type===w.ATTRIBUTE&&(b.attr_count+=1),n+=1;while(a.type!==w.EOF&&a.type!==w.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(b.alignment_size=_.text.length+1),!b.tag_complete&&!b.is_unformatted&&(C.alignment_size=b.alignment_size),b};var $=function(C,_,E){if(this.parent=_||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!E)this.tag_complete=!0;else{var P;this.tag_start_char=E.text[0],this.text=E.text,this.tag_start_char==="<"?(P=E.text.match(/^<([^\s>]*)/),this.tag_check=P?P[1]:""):(P=E.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=P?P[1]:"",(E.text.startsWith("{{#>")||E.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&E.next!==null?this.tag_check=E.next.text.split(" ")[0]:this.tag_check=E.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),E.type===w.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||E.closed&&E.closed.text==="/>";var R=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(R=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!C.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(R)))}};L.prototype._get_tag_open_token=function(C){var _=new $(this._options,this._tag_stack.get_parser_token(),C);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||D(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&D(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&D(_.tag_check,this._options.content_unformatted),_.is_inline_element=D(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},L.prototype._set_tag_position=function(C,_,E,P,R){if(E.is_empty_element||(E.is_end_tag?E.start_tag_token=this._tag_stack.try_pop(E.tag_name):(this._do_optional_end_element(E)&&(E.is_inline_element||C.print_newline(!1)),this._tag_stack.record_tag(E),(E.tag_name==="script"||E.tag_name==="style")&&!(E.is_unformatted||E.is_content_unformatted)&&(E.custom_beautifier_name=u(E.tag_check,_)))),D(E.tag_check,this._options.extra_liners)&&(C.print_newline(!1),C._output.just_added_blankline()||C.print_newline(!0)),E.is_empty_element){if(E.tag_start_char==="{"&&E.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),E.indent_content=!0;var b=C.current_line_has_match(/{{#if/);b||C.print_newline(!1)}E.tag_name==="!--"&&R.type===w.TAG_CLOSE&&P.is_end_tag&&E.text.indexOf(` `)===-1||(E.is_inline_element||E.is_unformatted||C.print_newline(!1),this._calcluate_parent_multiline(C,E))}else if(E.is_end_tag){var n=!1;n=E.start_tag_token&&E.start_tag_token.multiline_content,n=n||!E.is_inline_element&&!(P.is_inline_element||P.is_unformatted)&&!(R.type===w.TAG_CLOSE&&E.start_tag_token===P)&&R.type!=="TK_CONTENT",(E.is_content_unformatted||E.is_unformatted)&&(n=!1),n&&C.print_newline(!1)}else E.indent_content=!E.custom_beautifier_name,E.tag_start_char==="<"&&(E.tag_name==="html"?E.indent_content=this._options.indent_inner_html:E.tag_name==="head"?E.indent_content=this._options.indent_head_inner_html:E.tag_name==="body"&&(E.indent_content=this._options.indent_body_inner_html)),!(E.is_inline_element||E.is_unformatted)&&(R.type!=="TK_CONTENT"||E.is_content_unformatted)&&C.print_newline(!1),this._calcluate_parent_multiline(C,E)},L.prototype._calcluate_parent_multiline=function(C,_){_.parent&&C._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var z=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],Ee=["a","audio","del","ins","map","noscript","video"];L.prototype._do_optional_end_element=function(C){var _=null;if(!(C.is_empty_element||!C.is_start_tag||!C.parent)){if(C.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(C.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(C.tag_name==="dd"||C.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(C.parent.tag_name==="p"&&z.indexOf(C.tag_name)!==-1){var E=C.parent.parent;(!E||Ee.indexOf(E.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else C.tag_name==="rp"||C.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):C.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):C.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):C.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):C.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):C.tag_name==="tbody"||C.tag_name==="tfoot"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("thead",["table"]),_=_||this._tag_stack.try_pop("tbody",["table"])):C.tag_name==="tr"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(C.tag_name==="th"||C.tag_name==="td")&&(_=_||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),_=_||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return C.parent=this._tag_stack.get_parser_token(),_}},c.exports.Beautifier=L},function(c,t,r){var i=r(6).Options;function o(m){i.call(this,m,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new i,c.exports.Options=o},function(c,t,r){var i=r(9).Tokenizer,o=r(9).TOKEN,m=r(13).Directives,w=r(14).TemplatablePattern,N=r(12).Pattern,p={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},g=new m(/<\!--/,/-->/),f=function(u,D){i.call(this,u,D),this._current_tag_name="";var T=new w(this._input).read_options(this._options),K=new N(this._input);if(this.__patterns={word:T.until(/[\n\r\t <]/),word_control_flow_close_excluded:T.until(/[\n\r\t <}]/),single_quote:T.until_after(/'/),double_quote:T.until_after(/"/),attribute:T.until(/[\n\r\t =>]|\/>/),element_name:T.until(/[\n\r\t >\/]/),angular_control_flow_start:K.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:K.starting_with(/{{!--/).until_after(/--}}/),handlebars:K.starting_with(/{{/).until_after(/}}/),handlebars_open:K.until(/[\n\r\t }]/),handlebars_raw_close:K.until(/}}/),comment:K.starting_with(//),cdata:K.starting_with(//),conditional_comment:K.starting_with(//),processing:K.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var L=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=K.matching(L).until_after(L)}};f.prototype=new i,f.prototype._is_comment=function(u){return!1},f.prototype._is_opening=function(u){return u.type===p.TAG_OPEN||u.type===p.CONTROL_FLOW_OPEN},f.prototype._is_closing=function(u,D){return u.type===p.TAG_CLOSE&&D&&((u.text===">"||u.text==="/>")&&D.text[0]==="<"||u.text==="}}"&&D.text[0]==="{"&&D.text[1]==="{")||u.type===p.CONTROL_FLOW_CLOSE&&u.text==="}"&&D.text.endsWith("{")},f.prototype._reset=function(){this._current_tag_name=""},f.prototype._get_next_token=function(u,D){var T=null;this._readWhitespace();var K=this._input.peek();return K===null?this._create_token(p.EOF,""):(T=T||this._read_open_handlebars(K,D),T=T||this._read_attribute(K,u,D),T=T||this._read_close(K,D),T=T||this._read_script_and_style(K,u),T=T||this._read_control_flows(K,D),T=T||this._read_raw_content(K,u,D),T=T||this._read_content_word(K,D),T=T||this._read_comment_or_cdata(K),T=T||this._read_processing(K),T=T||this._read_open(K,D),T=T||this._create_token(p.UNKNOWN,this._input.next()),T)},f.prototype._read_comment_or_cdata=function(u){var D=null,T=null,K=null;if(u==="<"){var L=this._input.peek(1);L==="!"&&(T=this.__patterns.comment.read(),T?(K=g.get_directives(T),K&&K.ignore==="start"&&(T+=g.readIgnored(this._input))):T=this.__patterns.cdata.read()),T&&(D=this._create_token(p.COMMENT,T),D.directives=K)}return D},f.prototype._read_processing=function(u){var D=null,T=null,K=null;if(u==="<"){var L=this._input.peek(1);(L==="!"||L==="?")&&(T=this.__patterns.conditional_comment.read(),T=T||this.__patterns.processing.read()),T&&(D=this._create_token(p.COMMENT,T),D.directives=K)}return D},f.prototype._read_open=function(u,D){var T=null,K=null;return(!D||D.type===p.CONTROL_FLOW_OPEN)&&u==="<"&&(T=this._input.next(),this._input.peek()==="/"&&(T+=this._input.next()),T+=this.__patterns.element_name.read(),K=this._create_token(p.TAG_OPEN,T)),K},f.prototype._read_open_handlebars=function(u,D){var T=null,K=null;return(!D||D.type===p.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&u==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(T=this.__patterns.handlebars_comment.read(),T=T||this.__patterns.handlebars.read(),K=this._create_token(p.COMMENT,T)):(T=this.__patterns.handlebars_open.read(),K=this._create_token(p.TAG_OPEN,T))),K},f.prototype._read_control_flows=function(u,D){var T="",K=null;if(!this._options.templating.includes("angular"))return K;if(u==="@"){if(T=this.__patterns.angular_control_flow_start.read(),T==="")return K;for(var L=T.endsWith("(")?1:0,$=0;!(T.endsWith("{")&&L===$);){var z=this._input.next();if(z===null)break;z==="("?L++:z===")"&&$++,T+=z}K=this._create_token(p.CONTROL_FLOW_OPEN,T)}else u==="}"&&D&&D.type===p.CONTROL_FLOW_OPEN&&(T=this._input.next(),K=this._create_token(p.CONTROL_FLOW_CLOSE,T));return K},f.prototype._read_close=function(u,D){var T=null,K=null;return D&&D.type===p.TAG_OPEN&&(D.text[0]==="<"&&(u===">"||u==="/"&&this._input.peek(1)===">")?(T=this._input.next(),u==="/"&&(T+=this._input.next()),K=this._create_token(p.TAG_CLOSE,T)):D.text[0]==="{"&&u==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),K=this._create_token(p.TAG_CLOSE,"}}"))),K},f.prototype._read_attribute=function(u,D,T){var K=null,L="";if(T&&T.text[0]==="<")if(u==="=")K=this._create_token(p.EQUALS,this._input.next());else if(u==='"'||u==="'"){var $=this._input.next();u==='"'?$+=this.__patterns.double_quote.read():$+=this.__patterns.single_quote.read(),K=this._create_token(p.VALUE,$)}else L=this.__patterns.attribute.read(),L&&(D.type===p.EQUALS?K=this._create_token(p.VALUE,L):K=this._create_token(p.ATTRIBUTE,L));return K},f.prototype._is_content_unformatted=function(u){return this._options.void_elements.indexOf(u)===-1&&(this._options.content_unformatted.indexOf(u)!==-1||this._options.unformatted.indexOf(u)!==-1)},f.prototype._read_raw_content=function(u,D,T){var K="";if(T&&T.text[0]==="{")K=this.__patterns.handlebars_raw_close.read();else if(D.type===p.TAG_CLOSE&&D.opened.text[0]==="<"&&D.text[0]!=="/"){var L=D.opened.text.substr(1).toLowerCase();this._is_content_unformatted(L)&&(K=this._input.readUntil(new RegExp("","ig")))}return K?this._create_token(p.TEXT,K):null},f.prototype._read_script_and_style=function(u,D){if(D.type===p.TAG_CLOSE&&D.opened.text[0]==="<"&&D.text[0]!=="/"){var T=D.opened.text.substr(1).toLowerCase();if(T==="script"||T==="style"){var K=this._read_comment_or_cdata(u);if(K)return K.type=p.TEXT,K;var L=this._input.readUntil(new RegExp("","ig"));if(L)return this._create_token(p.TEXT,L)}}return null},f.prototype._read_content_word=function(u,D){var T="";return this._options.unformatted_content_delimiter&&u===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=D&&D.type===p.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),T?this._create_token(p.TEXT,T):null},c.exports.Tokenizer=f,c.exports.TOKEN=p}],H={};function e(c){var t=H[c];if(t!==void 0)return t.exports;var r=H[c]={exports:{}};return V[c](r,r.exports,e),r.exports}var s=e(18);B=s})();var G=B;if(1)O=[l,l(58553),l(87804)],k=function(V){var H=l(58553),e=l(87804);return{html_beautify:function(s,c){return G(s,c,H.js_beautify,e.css_beautify)}}}.apply(Ze,O),k!==void 0&&(Bt.exports=k);else var W,h})()},58553:function(Bt,Ze){var l,O;(function(){var k;(function(){"use strict";var G=[function(H,e,s){var c=s(1).Beautifier,t=s(5).Options;function r(i,o){var m=new c(i,o);return m.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var c=s(2).Output,t=s(3).Token,r=s(4),i=s(5).Options,o=s(7).Tokenizer,m=s(7).line_starters,w=s(7).positionable_operators,N=s(7).TOKEN;function p(a,d){return d.indexOf(a)!==-1}function g(a){return a.replace(/^\s+/g,"")}function f(a){for(var d={},A=0;AA&&(A=a.line_indent_level));var re={mode:d,parent:a,last_token:a?a.last_token:new t(N.START_BLOCK,""),last_word:a?a.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:A,alignment:0,line_indent_level:a?a.line_indent_level:A,start_line_index:this._output.get_line_number(),ternary_depth:0};return re},b.prototype._reset=function(a){var d=a.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,d),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(z.BlockStatement);var A=new o(a,this._options);return this._tokens=A.tokenize(),a},b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var a,d=this._reset(this._source_text),A=this._options.eol;this._options.eol==="auto"&&(A=` `,d&&r.lineBreak.test(d||"")&&(A=d.match(r.lineBreak)[0]));for(var re=this._tokens.next();re;)this.handle_token(re),this._last_last_text=this._flags.last_token.text,this._flags.last_token=re,re=this._tokens.next();return a=this._output.get_code(A),a},b.prototype.handle_token=function(a,d){a.type===N.START_EXPR?this.handle_start_expr(a):a.type===N.END_EXPR?this.handle_end_expr(a):a.type===N.START_BLOCK?this.handle_start_block(a):a.type===N.END_BLOCK?this.handle_end_block(a):a.type===N.WORD?this.handle_word(a):a.type===N.RESERVED?this.handle_word(a):a.type===N.SEMICOLON?this.handle_semicolon(a):a.type===N.STRING?this.handle_string(a):a.type===N.EQUALS?this.handle_equals(a):a.type===N.OPERATOR?this.handle_operator(a):a.type===N.COMMA?this.handle_comma(a):a.type===N.BLOCK_COMMENT?this.handle_block_comment(a,d):a.type===N.COMMENT?this.handle_comment(a,d):a.type===N.DOT?this.handle_dot(a):a.type===N.EOF?this.handle_eof(a):a.type===N.UNKNOWN?this.handle_unknown(a,d):this.handle_unknown(a,d)},b.prototype.handle_whitespace_and_comments=function(a,d){var A=a.newlines,re=this._options.keep_array_indentation&&_(this._flags.mode);if(a.comments_before)for(var de=a.comments_before.next();de;)this.handle_whitespace_and_comments(de,d),this.handle_token(de,d),de=a.comments_before.next();if(re)for(var ve=0;ve0,d);else if(this._options.max_preserve_newlines&&A>this._options.max_preserve_newlines&&(A=this._options.max_preserve_newlines),this._options.preserve_newlines&&A>1){this.print_newline(!1,d);for(var De=1;De0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.prototype.set_mode=function(a){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,a),this._flags=this.create_flags(this._previous_flags,a),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===z.Statement&&Ee(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.prototype.start_of_object_property=function(){return this._flags.parent.mode===z.ObjectLiteral&&this._flags.mode===z.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||D(this._flags.last_token,["get","set"]))},b.prototype.start_of_statement=function(a){var d=!1;return d=d||D(this._flags.last_token,["var","let","const"])&&a.type===N.WORD,d=d||u(this._flags.last_token,"do"),d=d||!(this._flags.parent.mode===z.ObjectLiteral&&this._flags.mode===z.Statement)&&D(this._flags.last_token,n)&&!a.newlines,d=d||u(this._flags.last_token,"else")&&!(u(a,"if")&&!a.comments_before),d=d||this._flags.last_token.type===N.END_EXPR&&(this._previous_flags.mode===z.ForInitializer||this._previous_flags.mode===z.Conditional),d=d||this._flags.last_token.type===N.WORD&&this._flags.mode===z.BlockStatement&&!this._flags.in_case&&!(a.text==="--"||a.text==="++")&&this._last_last_text!=="function"&&a.type!==N.WORD&&a.type!==N.RESERVED,d=d||this._flags.mode===z.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||D(this._flags.last_token,["get","set"])),d?(this.set_mode(z.Statement),this.indent(),this.handle_whitespace_and_comments(a,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a,D(a,["do","for","if","while"])),!0):!1},b.prototype.handle_start_expr=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a);var d=z.Expression;if(a.text==="["){if(this._flags.last_token.type===N.WORD||this._flags.last_token.text===")"){D(this._flags.last_token,m)&&(this._output.space_before_token=!0),this.print_token(a),this.set_mode(d),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}d=z.ArrayLiteral,_(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),p(this._flags.last_token.type,[N.START_EXPR,N.END_EXPR,N.WORD,N.OPERATOR,N.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===N.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,d=z.ForInitializer):p(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,d=z.Conditional):p(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&a.whitespace_before===""?this._output.space_before_token=!1:(p(this._flags.last_token.text,m)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===N.EQUALS||this._flags.last_token.type===N.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a);else if(this._flags.last_token.type===N.WORD){this._output.space_before_token=!1;var A=this._tokens.peek(-3);if(this._options.space_after_named_function&&A){var re=this._tokens.peek(-4);D(A,["async","function"])||A.text==="*"&&D(re,["async","function"])?this._output.space_before_token=!0:this._flags.mode===z.ObjectLiteral?(A.text==="{"||A.text===","||A.text==="*"&&(re.text==="{"||re.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(a);(this._flags.last_token.type===N.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(p(this._last_last_text,["function","yield"])||this._flags.mode===z.ObjectLiteral&&p(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===N.START_BLOCK?this.print_newline():(this._flags.last_token.type===N.END_EXPR||this._flags.last_token.type===N.START_EXPR||this._flags.last_token.type===N.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===N.COMMA)&&this.allow_wrap_or_preserved_newline(a,a.newlines),this.print_token(a),this.set_mode(d),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},b.prototype.handle_end_expr=function(a){for(;this._flags.mode===z.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(a,a.text==="]"&&_(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===N.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(a),this.restore_mode(),Ee(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===z.Conditional&&(this._previous_flags.mode=z.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},b.prototype.handle_start_block=function(a){this.handle_whitespace_and_comments(a);var d=this._tokens.peek(),A=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===N.END_EXPR?(this.set_mode(z.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(z.BlockStatement):A&&(p(A.text,[":",","])&&p(d.type,[N.STRING,N.WORD,N.RESERVED])||p(d.text,["get","set","..."])&&p(A.type,[N.WORD,N.RESERVED]))?p(this._last_last_text,["class","interface"])&&!p(A.text,[":",","])?this.set_mode(z.BlockStatement):this.set_mode(z.ObjectLiteral):this._flags.last_token.type===N.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(z.BlockStatement):p(this._flags.last_token.type,[N.EQUALS,N.START_EXPR,N.COMMA,N.OPERATOR])||D(this._flags.last_token,["return","throw","import","default"])?this.set_mode(z.ObjectLiteral):this.set_mode(z.BlockStatement),this._flags.last_token&&D(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var re=!d.comments_before&&d.text==="}",de=re&&this._flags.last_word==="function"&&this._flags.last_token.type===N.END_EXPR;if(this._options.brace_preserve_inline){var ve=0,De=null;this._flags.inline_frame=!0;do if(ve+=1,De=this._tokens.peek(ve-1),De.newlines){this._flags.inline_frame=!1;break}while(De.type!==N.EOF&&!(De.type===N.END_BLOCK&&De.opened===a))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==N.OPERATOR&&(de||this._flags.last_token.type===N.EQUALS||D(this._flags.last_token,T)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(_(this._previous_flags.mode)&&(this._flags.last_token.type===N.START_EXPR||this._flags.last_token.type===N.COMMA)&&((this._flags.last_token.type===N.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===N.COMMA||this._flags.last_token.type===N.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(a),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==N.OPERATOR&&this._flags.last_token.type!==N.START_EXPR&&(p(this._flags.last_token.type,[N.START_BLOCK,N.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(a),this.indent(),!re&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},b.prototype.handle_end_block=function(a){for(this.handle_whitespace_and_comments(a);this._flags.mode===z.Statement;)this.restore_mode();var d=this._flags.last_token.type===N.START_BLOCK;this._flags.inline_frame&&!d?this._output.space_before_token=!0:this._options.brace_style==="expand"?d||this.print_newline():d||(_(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(a)},b.prototype.handle_word=function(a){if(a.type===N.RESERVED){if(p(a.text,["set","get"])&&this._flags.mode!==z.ObjectLiteral)a.type=N.WORD;else if(a.text==="import"&&p(this._tokens.peek().text,["(","."]))a.type=N.WORD;else if(p(a.text,["as","from"])&&!this._flags.import_block)a.type=N.WORD;else if(this._flags.mode===z.ObjectLiteral){var d=this._tokens.peek();d.text===":"&&(a.type=N.WORD)}}if(this.start_of_statement(a)?D(this._flags.last_token,["var","let","const"])&&a.type===N.WORD&&(this._flags.declaration_statement=!0):a.newlines&&!E(this._flags.mode)&&(this._flags.last_token.type!==N.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==N.EQUALS&&(this._options.preserve_newlines||!D(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(a),this.print_newline()):this.handle_whitespace_and_comments(a),this._flags.do_block&&!this._flags.do_while)if(u(a,"while")){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&u(a,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===z.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&D(a,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(a),this._flags.in_case=!0;return}if((this._flags.last_token.type===N.COMMA||this._flags.last_token.type===N.START_EXPR||this._flags.last_token.type===N.EQUALS||this._flags.last_token.type===N.OPERATOR)&&!this.start_of_object_property()&&!(p(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===z.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(a),u(a,"function")){(p(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(p(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===N.OPERATOR))&&!this._output.just_added_blankline()&&!a.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===N.RESERVED||this._flags.last_token.type===N.WORD?D(this._flags.last_token,["get","set","new","export"])||D(this._flags.last_token,n)?this._output.space_before_token=!0:u(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===N.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(E(this._flags.mode)||_(this._flags.mode))||this.print_newline(),this.print_token(a),this._flags.last_word=a.text;return}var A="NONE";if(this._flags.last_token.type===N.END_BLOCK?this._previous_flags.inline_frame?A="SPACE":D(a,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines?A="NEWLINE":(A="SPACE",this._output.space_before_token=!0):A="NEWLINE":this._flags.last_token.type===N.SEMICOLON&&this._flags.mode===z.BlockStatement?A="NEWLINE":this._flags.last_token.type===N.SEMICOLON&&E(this._flags.mode)?A="SPACE":this._flags.last_token.type===N.STRING?A="NEWLINE":this._flags.last_token.type===N.RESERVED||this._flags.last_token.type===N.WORD||this._flags.last_token.text==="*"&&(p(this._last_last_text,["function","yield"])||this._flags.mode===z.ObjectLiteral&&p(this._last_last_text,["{",","]))?A="SPACE":this._flags.last_token.type===N.START_BLOCK?this._flags.inline_frame?A="SPACE":A="NEWLINE":this._flags.last_token.type===N.END_EXPR&&(this._output.space_before_token=!0,A="NEWLINE"),D(a,m)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?A="SPACE":A="NEWLINE"),D(a,["else","catch","finally"]))if((!(this._flags.last_token.type===N.END_BLOCK&&this._previous_flags.mode===z.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var re=this._output.current_line;re.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else A==="NEWLINE"?D(this._flags.last_token,T)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&D(a,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==N.END_EXPR?(this._flags.last_token.type!==N.START_EXPR||!D(a,["var","let","const"]))&&this._flags.last_token.text!==":"&&(u(a,"if")&&u(a.previous,"else")?this._output.space_before_token=!0:this.print_newline()):D(a,m)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&_(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():A==="SPACE"&&(this._output.space_before_token=!0);a.previous&&(a.previous.type===N.WORD||a.previous.type===N.RESERVED)&&(this._output.space_before_token=!0),this.print_token(a),this._flags.last_word=a.text,a.type===N.RESERVED&&(a.text==="do"?this._flags.do_block=!0:a.text==="if"?this._flags.if_block=!0:a.text==="import"?this._flags.import_block=!0:this._flags.import_block&&u(a,"from")&&(this._flags.import_block=!1))},b.prototype.handle_semicolon=function(a){this.start_of_statement(a)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(a);for(var d=this._tokens.peek();this._flags.mode===z.Statement&&!(this._flags.if_block&&u(d,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(a)},b.prototype.handle_string=function(a){a.text.startsWith("`")&&a.newlines===0&&a.whitespace_before===""&&(a.previous.text===")"||this._flags.last_token.type===N.WORD)||(this.start_of_statement(a)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(a),this._flags.last_token.type===N.RESERVED||this._flags.last_token.type===N.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===N.COMMA||this._flags.last_token.type===N.START_EXPR||this._flags.last_token.type===N.EQUALS||this._flags.last_token.type===N.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a):a.text.startsWith("`")&&this._flags.last_token.type===N.END_EXPR&&(a.previous.text==="]"||a.previous.text===")")&&a.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(a)},b.prototype.handle_equals=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0},b.prototype.handle_comma=function(a){this.handle_whitespace_and_comments(a,!0),this.print_token(a),this._output.space_before_token=!0,this._flags.declaration_statement?(E(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)):this._flags.mode===z.ObjectLiteral||this._flags.mode===z.Statement&&this._flags.parent.mode===z.ObjectLiteral?(this._flags.mode===z.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)},b.prototype.handle_operator=function(a){var d=a.text==="*"&&(D(this._flags.last_token,["function","yield"])||p(this._flags.last_token.type,[N.START_BLOCK,N.COMMA,N.END_BLOCK,N.SEMICOLON])),A=p(a.text,["-","+"])&&(p(this._flags.last_token.type,[N.START_BLOCK,N.START_EXPR,N.EQUALS,N.OPERATOR])||p(this._flags.last_token.text,m)||this._flags.last_token.text===",");if(!this.start_of_statement(a)){var re=!d;this.handle_whitespace_and_comments(a,re)}if(a.text==="*"&&this._flags.last_token.type===N.DOT){this.print_token(a);return}if(a.text==="::"){this.print_token(a);return}if(p(a.text,["-","+"])&&this.start_of_object_property()){this.print_token(a);return}if(this._flags.last_token.type===N.OPERATOR&&p(this._options.operator_position,$)&&this.allow_wrap_or_preserved_newline(a),a.text===":"&&this._flags.in_case){this.print_token(a),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==N.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var de=!0,ve=!0,De=!1;if(a.text===":"?this._flags.ternary_depth===0?de=!1:(this._flags.ternary_depth-=1,De=!0):a.text==="?"&&(this._flags.ternary_depth+=1),!A&&!d&&this._options.preserve_newlines&&p(a.text,w)){var Ae=a.text===":",mt=Ae&&De,me=Ae&&!De;switch(this._options.operator_position){case L.before_newline:this._output.space_before_token=!me,this.print_token(a),(!Ae||mt)&&this.allow_wrap_or_preserved_newline(a),this._output.space_before_token=!0;return;case L.after_newline:this._output.space_before_token=!0,!Ae||mt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(a):this._output.space_before_token=!1,this.print_token(a),this._output.space_before_token=!0;return;case L.preserve_newline:me||this.allow_wrap_or_preserved_newline(a),de=!(this._output.just_added_newline()||me),this._output.space_before_token=de,this.print_token(a),this._output.space_before_token=!0;return}}if(d){this.allow_wrap_or_preserved_newline(a),de=!1;var Xe=this._tokens.peek();ve=Xe&&p(Xe.type,[N.WORD,N.RESERVED])}else if(a.text==="...")this.allow_wrap_or_preserved_newline(a),de=this._flags.last_token.type===N.START_BLOCK,ve=!1;else if(p(a.text,["--","++","!","~"])||A){if((this._flags.last_token.type===N.COMMA||this._flags.last_token.type===N.START_EXPR)&&this.allow_wrap_or_preserved_newline(a),de=!1,ve=!1,a.newlines&&(a.text==="--"||a.text==="++"||a.text==="~")){var Ne=D(this._flags.last_token,T)&&a.newlines;Ne&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Ne,!0)}this._flags.last_token.text===";"&&E(this._flags.mode)&&(de=!0),this._flags.last_token.type===N.RESERVED?de=!0:this._flags.last_token.type===N.END_EXPR?de=!(this._flags.last_token.text==="]"&&(a.text==="--"||a.text==="++")):this._flags.last_token.type===N.OPERATOR&&(de=p(a.text,["--","-","++","+"])&&p(this._flags.last_token.text,["--","-","++","+"]),p(a.text,["+","-"])&&p(this._flags.last_token.text,["--","++"])&&(ve=!0)),(this._flags.mode===z.BlockStatement&&!this._flags.inline_frame||this._flags.mode===z.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||de,this.print_token(a),this._output.space_before_token=ve},b.prototype.handle_block_comment=function(a,d){if(this._output.raw){this._output.add_raw_token(a),a.directives&&a.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(a.directives){this.print_newline(!1,d),this.print_token(a),a.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(a.text)&&!a.newlines){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0;return}else this.print_block_commment(a,d)},b.prototype.print_block_commment=function(a,d){var A=C(a.text),re,de=!1,ve=!1,De=a.whitespace_before,Ae=De.length;if(this.print_newline(!1,d),this.print_token_line_indentation(a),this._output.add_token(A[0]),this.print_newline(!1,d),A.length>1){for(A=A.slice(1),de=P(A,"*"),ve=R(A,De),de&&(this._flags.alignment=1),re=0;re=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var r=t.lastIndexOf(` `);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var i=this.__base_string_length;return r=r||0,t<0&&(i=0),i+=t*this.__indent_size,i+=r,i},s.prototype.get_indent_string=function(t,r){var i=this.__base_string;return r=r||0,t<0&&(t=0,i=""),r+=t*this.__indent_size,this.__ensure_cache(r),i+=this.__cache[r],i},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,i="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,i=new Array(r+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(" ")),this.__cache.push(i)};function c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===` `&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var i=this.__lines.join(` `);return t!==` `&&(i=i.replace(/[\n]/g,t)),i},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;r1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},H.exports.Output=c},function(H){function e(s,c,t,r){this.type=s,this.text=c,this.comments_before=null,this.newlines=t||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}H.exports.Token=e},function(H,e){var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",o="(?:"+i+"|["+s+t+"])",m="(?:"+i+"|["+c+t+r+"])*";e.identifier=new RegExp(o+m,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+i+"|["+c+t+r+"])+");var w=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r |`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(H,e,s){var c=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(i){c.call(this,i,"js");var o=this.raw_options.brace_style||null;o==="expand-strict"?this.raw_options.brace_style="expand":o==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var m=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var w=0;w>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),K=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";K=K.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),K="\\?\\.(?!\\d) "+K,K=K.replace(/ /g,"|");var L=new RegExp(K),$="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),z=$.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),Ee=new RegExp("^(?:"+z.join("|")+")$"),C,_=function(P,R){t.call(this,P,R),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var b=new m(this._input),n=new w(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:b.matching(f),punct:b.matching(L),comment:b.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:b.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:b.matching(//),include:b.starting_with(/#include/).until_after(o.lineBreak),shebang:b.starting_with(/#!/).until_after(o.lineBreak),xml:b.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};_.prototype=new t,_.prototype._is_comment=function(P){return P.type===p.COMMENT||P.type===p.BLOCK_COMMENT||P.type===p.UNKNOWN},_.prototype._is_opening=function(P){return P.type===p.START_BLOCK||P.type===p.START_EXPR},_.prototype._is_closing=function(P,R){return(P.type===p.END_BLOCK||P.type===p.END_EXPR)&&R&&(P.text==="]"&&R.text==="["||P.text===")"&&R.text==="("||P.text==="}"&&R.text==="{")},_.prototype._reset=function(){C=!1},_.prototype._get_next_token=function(P,R){var b=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(p.EOF,""):(b=b||this._read_non_javascript(n),b=b||this._read_string(n),b=b||this._read_pair(n,this._input.peek(1)),b=b||this._read_word(P),b=b||this._read_singles(n),b=b||this._read_comment(n),b=b||this._read_regexp(n,P),b=b||this._read_xml(n,P),b=b||this._read_punctuation(),b=b||this._create_token(p.UNKNOWN,this._input.next()),b)},_.prototype._read_word=function(P){var R;if(R=this.__patterns.identifier.read(),R!=="")return R=R.replace(o.allLineBreaks,` `),!(P.type===p.DOT||P.type===p.RESERVED&&(P.text==="set"||P.text==="get"))&&Ee.test(R)?(R==="in"||R==="of")&&(P.type===p.WORD||P.type===p.STRING)?this._create_token(p.OPERATOR,R):this._create_token(p.RESERVED,R):this._create_token(p.WORD,R);if(R=this.__patterns.number.read(),R!=="")return this._create_token(p.WORD,R)},_.prototype._read_singles=function(P){var R=null;return P==="("||P==="["?R=this._create_token(p.START_EXPR,P):P===")"||P==="]"?R=this._create_token(p.END_EXPR,P):P==="{"?R=this._create_token(p.START_BLOCK,P):P==="}"?R=this._create_token(p.END_BLOCK,P):P===";"?R=this._create_token(p.SEMICOLON,P):P==="."&&D.test(this._input.peek(1))?R=this._create_token(p.DOT,P):P===","&&(R=this._create_token(p.COMMA,P)),R&&this._input.next(),R},_.prototype._read_pair=function(P,R){var b=null;return P==="#"&&R==="{"&&(b=this._create_token(p.START_BLOCK,P+R)),b&&(this._input.next(),this._input.next()),b},_.prototype._read_punctuation=function(){var P=this.__patterns.punct.read();if(P!=="")return P==="="?this._create_token(p.EQUALS,P):P==="?."?this._create_token(p.DOT,P):this._create_token(p.OPERATOR,P)},_.prototype._read_non_javascript=function(P){var R="";if(P==="#"){if(this._is_first_token()&&(R=this.__patterns.shebang.read(),R))return this._create_token(p.UNKNOWN,R.trim()+` `);if(R=this.__patterns.include.read(),R)return this._create_token(p.UNKNOWN,R.trim()+` `);P=this._input.next();var b="#";if(this._input.hasNext()&&this._input.testChar(u)){do P=this._input.next(),b+=P;while(this._input.hasNext()&&P!=="#"&&P!=="=");return P==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(b+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(b+="{}",this._input.next(),this._input.next())),this._create_token(p.WORD,b)}this._input.back()}else if(P==="<"&&this._is_first_token()){if(R=this.__patterns.html_comment_start.read(),R){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)R+=this._input.next();return C=!0,this._create_token(p.COMMENT,R)}}else if(C&&P==="-"&&(R=this.__patterns.html_comment_end.read(),R))return C=!1,this._create_token(p.COMMENT,R);return null},_.prototype._read_comment=function(P){var R=null;if(P==="/"){var b="";if(this._input.peek(1)==="*"){b=this.__patterns.block_comment.read();var n=g.get_directives(b);n&&n.ignore==="start"&&(b+=g.readIgnored(this._input)),b=b.replace(o.allLineBreaks,` `),R=this._create_token(p.BLOCK_COMMENT,b),R.directives=n}else this._input.peek(1)==="/"&&(b=this.__patterns.comment.read(),R=this._create_token(p.COMMENT,b))}return R},_.prototype._read_string=function(P){if(P==="`"||P==="'"||P==='"'){var R=this._input.next();return this.has_char_escapes=!1,P==="`"?R+=this._read_string_recursive("`",!0,"${"):R+=this._read_string_recursive(P),this.has_char_escapes&&this._options.unescape_strings&&(R=E(R)),this._input.peek()===P&&(R+=this._input.next()),R=R.replace(o.allLineBreaks,` `),this._create_token(p.STRING,R)}return null},_.prototype._allow_regexp_or_xml=function(P){return P.type===p.RESERVED&&N(P.text,["return","case","throw","else","do","typeof","yield"])||P.type===p.END_EXPR&&P.text===")"&&P.opened.previous.type===p.RESERVED&&N(P.opened.previous.text,["if","while","for"])||N(P.type,[p.COMMENT,p.START_EXPR,p.START_BLOCK,p.START,p.END_BLOCK,p.OPERATOR,p.EQUALS,p.EOF,p.SEMICOLON,p.COMMA])},_.prototype._read_regexp=function(P,R){if(P==="/"&&this._allow_regexp_or_xml(R)){for(var b=this._input.next(),n=!1,a=!1;this._input.hasNext()&&(n||a||this._input.peek()!==P)&&!this._input.testChar(o.newline);)b+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?a=!0:this._input.peek()==="]"&&(a=!1)),this._input.next();return this._input.peek()===P&&(b+=this._input.next(),b+=this._input.read(o.identifier)),this._create_token(p.STRING,b)}return null},_.prototype._read_xml=function(P,R){if(this._options.e4x&&P==="<"&&this._allow_regexp_or_xml(R)){var b="",n=this.__patterns.xml.read_match();if(n){for(var a=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),d=a.indexOf("{")===0,A=0;n;){var re=!!n[1],de=n[2],ve=!!n[n.length-1]||de.slice(0,8)==="![CDATA[";if(!ve&&(de===a||d&&de.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(re?--A:++A),b+=n[0],A<=0)break;n=this.__patterns.xml.read_match()}return n||(b+=this._input.match(/[\s\S]*/g)[0]),b=b.replace(o.allLineBreaks,` `),this._create_token(p.STRING,b)}}return null};function E(P){for(var R="",b=0,n=new c(P),a=null;n.hasNext();)if(a=n.match(/([\s]|[^\\]|\\\\)+/g),a&&(R+=a[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")a=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")a=n.match(/u([0-9A-Fa-f]{4})/g),a||(a=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{R+="\\",n.hasNext()&&(R+=n.next());continue}if(!a||(b=parseInt(a[1],16),b>126&&b<=255&&a[0].indexOf("x")===0))return P;b>=0&&b<32||b>1114111?R+="\\"+a[0]:b===34||b===39||b===92?R+="\\"+String.fromCharCode(b):R+=String.fromCharCode(b)}return R}_.prototype._read_string_recursive=function(P,R,b){var n,a;P==="'"?a=this.__patterns.single_quote:P==='"'?a=this.__patterns.double_quote:P==="`"?a=this.__patterns.template_text:P==="}"&&(a=this.__patterns.template_expression);for(var d=a.read(),A="";this._input.hasNext();){if(A=this._input.next(),A===P||!R&&o.newline.test(A)){this._input.back();break}else A==="\\"&&this._input.hasNext()?(n=this._input.peek(),n==="x"||n==="u"?this.has_char_escapes=!0:n==="\r"&&this._input.peek(1)===` `&&this._input.next(),A+=this._input.next()):b&&(b==="${"&&A==="$"&&this._input.peek()==="{"&&(A+=this._input.next()),b===A&&(P==="`"?A+=this._read_string_recursive("}",R,"`"):A+=this._read_string_recursive("`",R,"${"),this._input.hasNext()&&(A+=this._input.next())));A+=a.read(),d+=A}return d},H.exports.Tokenizer=_,H.exports.TOKEN=p,H.exports.positionable_operators=T.slice(),H.exports.line_starters=$.slice()},function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position=0&&c=0&&t=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},H.exports.InputScanner=s},function(H,e,s){var c=s(8).InputScanner,t=s(3).Token,r=s(10).TokenStream,i=s(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},m=function(w,N){this._input=new c(w),this._options=N||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new i(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var w,N=new t(o.START,""),p=null,g=[],f=new r;N.type!==o.EOF;){for(w=this._get_next_token(N,p);this._is_comment(w);)f.add(w),w=this._get_next_token(N,p);f.isEmpty()||(w.comments_before=f,f=new r),w.parent=p,this._is_opening(w)?(g.push(p),p=w):p&&this._is_closing(w,p)&&(w.opened=p,p.closed=w,p=g.pop(),w.parent=p),w.previous=N,N.next=w,this.__tokens.add(w),N=w}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.prototype._get_next_token=function(w,N){this._readWhitespace();var p=this._input.read(/.+/g);return p?this._create_token(o.RAW,p):this._create_token(o.EOF,"")},m.prototype._is_comment=function(w){return!1},m.prototype._is_opening=function(w){return!1},m.prototype._is_closing=function(w,N){return!1},m.prototype._create_token=function(w,N){var p=new t(w,N,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return p},m.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},H.exports.Tokenizer=m,H.exports.TOKEN=o},function(H){function e(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position=0&&s/),erb:m.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:m.starting_with(/{%/).until_after(/%}/),django_value:m.starting_with(/{{/).until_after(/}}/),django_comment:m.starting_with(/{#/).until_after(/#}/),smarty:m.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:m.starting_with(/{\*/).until_after(/\*}/),smarty_literal:m.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new c,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(i){var o=this._create();return o._disabled[i]=!0,o._update(),o},r.prototype.read_options=function(i){var o=this._create();for(var m in t)o._disabled[m]=i.templating.indexOf(m)===-1;return o._update(),o},r.prototype.exclude=function(i){var o=this._create();return o._excluded[i]=!0,o._update(),o},r.prototype.read=function(){var i="";this._match_pattern?i=this._input.read(this._starting_pattern):i=this._input.read(this._starting_pattern,this.__template_pattern);for(var o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),i+=o,o=this._read_template();return this._until_after&&(i+=this._input.readUntilAfter(this._until_pattern)),i},r.prototype.__set_templated_pattern=function(){var i=[];this._disabled.php||i.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||i.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(i.push(this.__patterns.django._starting_pattern.source),i.push(this.__patterns.django_value._starting_pattern.source),i.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||i.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&i.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+i.join("|")+")")},r.prototype._read_template=function(){var i="",o=this._input.peek();if(o==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(i=i||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(i=i||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(i=i||this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars_unescaped.read(),i=i||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(i=i||this.__patterns.django_value.read()),this._excluded.django||(i=i||this.__patterns.django_comment.read(),i=i||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(i=i||this.__patterns.smarty_comment.read(),i=i||this.__patterns.smarty_literal.read(),i=i||this.__patterns.smarty.read()));return i},H.exports.TemplatablePattern=r}],W={};function h(H){var e=W[H];if(e!==void 0)return e.exports;var s=W[H]={exports:{}};return G[H](s,s.exports,h),s.exports}var V=h(0);k=V})();var B=k;l=[],O=function(){return{js_beautify:B}}.apply(Ze,l),O!==void 0&&(Bt.exports=O)})()},75918:function(Bt,Ze,l){"use strict";l.d(Ze,{Wi:function(){return h},Z0:function(){return V},aU:function(){return W},eZ:function(){return e},wY:function(){return H}});var O=l(4348),k=l(69323),B=l(13268),G=function(s,c,t,r){function i(o){return o instanceof t?o:new t(function(m){m(o)})}return new(t||(t=Promise))(function(o,m){function w(g){try{p(r.next(g))}catch(f){m(f)}}function N(g){try{p(r.throw(g))}catch(f){m(f)}}function p(g){g.done?o(g.value):i(g.value).then(w,N)}p((r=r.apply(s,c||[])).next())})};class W extends k.JT{constructor(c,t="",r="",i=!0,o){super(),this._onDidChange=this._register(new O.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=c,this._label=t,this._cssClass=r,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(c){this._setLabel(c)}_setLabel(c){this._label!==c&&(this._label=c,this._onDidChange.fire({label:c}))}get tooltip(){return this._tooltip||""}set tooltip(c){this._setTooltip(c)}_setTooltip(c){this._tooltip!==c&&(this._tooltip=c,this._onDidChange.fire({tooltip:c}))}get class(){return this._cssClass}set class(c){this._setClass(c)}_setClass(c){this._cssClass!==c&&(this._cssClass=c,this._onDidChange.fire({class:c}))}get enabled(){return this._enabled}set enabled(c){this._setEnabled(c)}_setEnabled(c){this._enabled!==c&&(this._enabled=c,this._onDidChange.fire({enabled:c}))}get checked(){return this._checked}set checked(c){this._setChecked(c)}_setChecked(c){this._checked!==c&&(this._checked=c,this._onDidChange.fire({checked:c}))}run(c,t){return G(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(c))})}}class h extends k.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new O.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new O.Q5),this.onDidRun=this._onDidRun.event}run(c,t){return G(this,void 0,void 0,function*(){if(!c.enabled)return;this._onBeforeRun.fire({action:c});let r;try{yield this.runAction(c,t)}catch(i){r=i}this._onDidRun.fire({action:c,error:r})})}runAction(c,t){return G(this,void 0,void 0,function*(){yield c.run(t)})}}class V extends W{constructor(c){super(V.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}V.ID="vs.actions.separator";class H{constructor(c,t,r,i){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=c,this.label=t,this.class=i,this._actions=r}get actions(){return this._actions}dispose(){}run(){return G(this,void 0,void 0,function*(){})}}class e extends W{constructor(){super(e.ID,B.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Bt,Ze,l){"use strict";l.d(Ze,{ok:function(){return O}});function O(k,B){if(!k)throw new Error(B?`Assertion failed (${B})`:"Assertion Failed")}},52615:function(Bt,Ze,l){"use strict";l.d(Ze,{CM:function(){return W},JL:function(){return h},dT:function(){return H},fK:function(){return G},lA:function(){return V}});var O=l(4348);class k{constructor(){this._icons=new Map,this._onDidRegister=new O.Q5}add(s){const c=this._icons.get(s.id);c?s.description?c.description=s.description:console.error(`Duplicate registration of codicon ${s.id}`):(this._icons.set(s.id,s),this._onDidRegister.fire(s))}get(s){return this._icons.get(s)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const B=new k,G=B;function W(e,s){return new V(e,s)}function h(e){return e?e.replace(/\$\((.*?)\)/g,(s,c)=>` ${c} `).trim():""}class V{constructor(s,c,t){this.id=s,this.definition=c,this.description=t,B.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var H;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const s=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function c(i){if(i instanceof V)return["codicon","codicon-"+i.id];const o=s.exec(i.id);if(!o)return c(V.error);let[,m,w]=o;const N=["codicon","codicon-"+m];return w&&N.push("codicon-modifier-"+w.substr(1)),N}e.asClassNameArray=c;function t(i){return c(i).join(" ")}e.asClassName=t;function r(i){return"."+c(i).join(".")}e.asCSSSelector=r})(H||(H={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(V||(V={}))},79881:function(Bt,Ze,l){"use strict";l.d(Ze,{B8:function(){return c},Cp:function(){return G},F0:function(){return H},L6:function(){return s},VV:function(){return V},b1:function(){return e},dL:function(){return B},ri:function(){return W}});class O{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+` `+r.stack):r},0)}}emit(r){this.listeners.forEach(i=>{i(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const k=new O;function B(t){V(t)||k.onUnexpectedError(t)}function G(t){V(t)||k.onUnexpectedExternalError(t)}function W(t){if(t instanceof Error){let{name:r,message:i}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:i,stack:o}}return t}const h="Canceled";function V(t){return t instanceof Error&&t.name===h&&t.message===h}function H(){const t=new Error(h);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function s(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class c extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Bt,Ze,l){"use strict";l.d(Ze,{D0:function(){return c},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return W}});var O=l(79881),k=l(69323),B=l(34502),G=l(95830),W;(function(i){i.None=()=>k.JT.None;function o(E){return(P,R=null,b)=>{let n=!1,a;return a=E(d=>{if(!n)return a?a.dispose():n=!0,P.call(R,d)},null,b),n&&a.dispose(),a}}i.once=o;function m(E,P){return u((R,b=null,n)=>E(a=>R.call(b,P(a)),null,n))}i.map=m;function w(E,P){return u((R,b=null,n)=>E(a=>{P(a),R.call(b,a)},null,n))}i.forEach=w;function N(E,P){return u((R,b=null,n)=>E(a=>P(a)&&R.call(b,a),null,n))}i.filter=N;function p(E){return E}i.signal=p;function g(...E){return(P,R=null,b)=>(0,k.F8)(...E.map(n=>n(a=>P.call(R,a),null,b)))}i.any=g;function f(E,P,R){let b=R;return m(E,n=>(b=P(b,n),b))}i.reduce=f;function u(E){let P;const R=new e({onFirstListenerAdd(){P=E(R.fire,R)},onLastListenerRemove(){P.dispose()}});return R.event}function D(E,P,R=100,b=!1,n){let a,d,A,re=0;const de=new e({leakWarningThreshold:n,onFirstListenerAdd(){a=E(ve=>{re++,d=P(d,ve),b&&!A&&(de.fire(d),d=void 0),clearTimeout(A),A=setTimeout(()=>{const De=d;d=void 0,A=void 0,(!b||re>1)&&de.fire(De),re=0},R)})},onLastListenerRemove(){a.dispose()}});return de.event}i.debounce=D;function T(E,P=(R,b)=>R===b){let R=!0,b;return N(E,n=>{const a=R||!P(n,b);return R=!1,b=n,a})}i.latch=T;function K(E,P){return[i.filter(E,P),i.filter(E,R=>!P(R))]}i.split=K;function L(E,P=!1,R=[]){let b=R.slice(),n=E(A=>{b?b.push(A):d.fire(A)});const a=()=>{b&&b.forEach(A=>d.fire(A)),b=null},d=new e({onFirstListenerAdd(){n||(n=E(A=>d.fire(A)))},onFirstListenerDidAdd(){b&&(P?setTimeout(a):a())},onLastListenerRemove(){n&&n.dispose(),n=null}});return d.event}i.buffer=L;class ${constructor(P){this.event=P}map(P){return new $(m(this.event,P))}forEach(P){return new $(w(this.event,P))}filter(P){return new $(N(this.event,P))}reduce(P,R){return new $(f(this.event,P,R))}latch(){return new $(T(this.event))}debounce(P,R=100,b=!1,n){return new $(D(this.event,P,R,b,n))}on(P,R,b){return this.event(P,R,b)}once(P,R,b){return o(this.event)(P,R,b)}}function z(E){return new $(E)}i.chain=z;function Ee(E,P,R=b=>b){const b=(...A)=>d.fire(R(...A)),n=()=>E.on(P,b),a=()=>E.removeListener(P,b),d=new e({onFirstListenerAdd:n,onLastListenerRemove:a});return d.event}i.fromNodeEventEmitter=Ee;function C(E,P,R=b=>b){const b=(...A)=>d.fire(R(...A)),n=()=>E.addEventListener(P,b),a=()=>E.removeEventListener(P,b),d=new e({onFirstListenerAdd:n,onLastListenerRemove:a});return d.event}i.fromDOMEventEmitter=C;function _(E){return new Promise(P=>o(E)(P))}i.toPromise=_})(W||(W={}));class h{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${h._idPool++}`}start(o){this._stopWatch=new G.G(!0),this._listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this._elapsedOverall+=o,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${o.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}h._idPool=0;let V=-1;class H{constructor(o,m=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=m,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let m=V;if(typeof this.customThreshold=="number"&&(m=this.customThreshold),m<=0||o{const p=this._stacks.get(w)||0;this._stacks.set(w,p-1)}}}class e{constructor(o){var m;this._disposed=!1,this._options=o,this._leakageMon=V>0?new H(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((m=this._options)===null||m===void 0)&&m._profName?new h(this._options._profName):void 0}get event(){return this._event||(this._event=(o,m,w)=>{var N;this._listeners||(this._listeners=new B.S);const p=this._listeners.isEmpty();p&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const g=this._listeners.push(m?[o,m]:o);p&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,m);const f=(N=this._leakageMon)===null||N===void 0?void 0:N.check(this._listeners.size),u=(0,k.OF)(()=>{f&&f(),this._disposed||(g(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return w instanceof k.SL?w.add(u):Array.isArray(w)&&w.push(u),u}),this._event}fire(o){var m,w;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new B.S);for(let N of this._listeners)this._deliveryQueue.push([N,o]);for((m=this._perfMon)===null||m===void 0||m.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[N,p]=this._deliveryQueue.shift();try{typeof N=="function"?N.call(void 0,p):N[0].call(N[1],p)}catch(g){(0,O.dL)(g)}}(w=this._perfMon)===null||w===void 0||w.stop()}}dispose(){var o,m,w,N,p;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(m=this._deliveryQueue)===null||m===void 0||m.clear(),(N=(w=this._options)===null||w===void 0?void 0:w.onLastListenerRemove)===null||N===void 0||N.call(w),(p=this._leakageMon)===null||p===void 0||p.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new B.S,this._mergeFn=o==null?void 0:o.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const o=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(o))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(o){this._listeners&&(this._isPaused!==0?this._eventQueue.push(o):super.fire(o))}}class c extends s{constructor(o){var m;super(o),this._delay=(m=o.delay)!==null&&m!==void 0?m:100}fire(o){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(o)}}class t{constructor(){this.buffers=[]}wrapEvent(o){return(m,w,N)=>o(p=>{const g=this.buffers[this.buffers.length-1];g?g.push(()=>m.call(w,p)):m.call(w,p)},void 0,N)}bufferEvents(o){const m=[];this.buffers.push(m);const w=o();return this.buffers.pop(),m.forEach(N=>N()),w}}class r{constructor(){this.listening=!1,this.inputEvent=W.None,this.inputEventListener=k.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(o){this.inputEvent=o,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=o(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Bt,Ze,l){"use strict";l.d(Ze,{I:function(){return O}});function O(k){const B=this;let G=!1,W;return function(){return G||(G=!0,W=k.apply(B,arguments)),W}}},88226:function(Bt,Ze,l){"use strict";l.d(Ze,{$:function(){return O}});var O;(function(k){function B(g){return g&&typeof g=="object"&&typeof g[Symbol.iterator]=="function"}k.is=B;const G=Object.freeze([]);function W(){return G}k.empty=W;function*h(g){yield g}k.single=h;function V(g){return g||G}k.from=V;function H(g){return!g||g[Symbol.iterator]().next().done===!0}k.isEmpty=H;function e(g){return g[Symbol.iterator]().next().value}k.first=e;function s(g,f){for(const u of g)if(f(u))return!0;return!1}k.some=s;function c(g,f){for(const u of g)if(f(u))return u}k.find=c;function*t(g,f){for(const u of g)f(u)&&(yield u)}k.filter=t;function*r(g,f){let u=0;for(const D of g)yield f(D,u++)}k.map=r;function*i(...g){for(const f of g)for(const u of f)yield u}k.concat=i;function*o(g){for(const f of g)for(const u of f)yield u}k.concatNested=o;function m(g,f,u){let D=u;for(const T of g)D=f(D,T);return D}k.reduce=m;function*w(g,f,u=g.length){for(f<0&&(f+=g.length),u<0?u+=g.length:u>g.length&&(u=g.length);fD===T){const D=g[Symbol.iterator](),T=f[Symbol.iterator]();for(;;){const K=D.next(),L=T.next();if(K.done!==L.done)return!1;if(K.done)return!0;if(!u(K.value,L.value))return!1}}k.equals=p})(O||(O={}))},69323:function(Bt,Ze,l){"use strict";l.d(Ze,{B9:function(){return r},F8:function(){return i},JT:function(){return w},Jz:function(){return p},OF:function(){return o},SL:function(){return m},Wf:function(){return t},XK:function(){return N},dk:function(){return s}});var O=l(17845),k=l(88226);const B=!1;let G=null;function W(g){G=g}if(B){const g="__is_disposable_tracked__";W(new class{trackDisposable(f){const u=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[g]||console.log(u)},3e3)}setParent(f,u){if(f&&f!==w.None)try{f[g]=!0}catch(D){}}markAsDisposed(f){if(f&&f!==w.None)try{f[g]=!0}catch(u){}}markAsSingleton(f){}})}function h(g){return G==null||G.trackDisposable(g),g}function V(g){G==null||G.markAsDisposed(g)}function H(g,f){G==null||G.setParent(g,f)}function e(g,f){if(G)for(const u of g)G.setParent(u,f)}function s(g){return G==null||G.markAsSingleton(g),g}class c extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(g){return typeof g.dispose=="function"&&g.dispose.length===0}function r(g){if(k.$.is(g)){let f=[];for(const u of g)if(u)try{u.dispose()}catch(D){f.push(D)}if(f.length===1)throw f[0];if(f.length>1)throw new c(f);return Array.isArray(g)?[]:g}else if(g)return g.dispose(),g}function i(...g){const f=o(()=>r(g));return e(g,f),f}function o(g){const f=h({dispose:(0,O.I)(()=>{V(f),g()})});return f}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,h(this)}dispose(){this._isDisposed||(V(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return H(f,this),this._isDisposed?m.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(f),f}}m.DISABLE_DISPOSED_WARNING=!1;class w{constructor(){this._store=new m,h(this),H(this._store,this)}dispose(){V(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}w.None=Object.freeze({dispose(){}});class N{constructor(){this._isDisposed=!1,h(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var u;this._isDisposed||f===this._value||((u=this._value)===null||u===void 0||u.dispose(),f&&H(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,V(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&H(f,null),f}}class p{constructor(f){this.object=f}dispose(){}}},34502:function(Bt,Ze,l){"use strict";l.d(Ze,{S:function(){return k}});class O{constructor(G){this.element=G,this.next=O.Undefined,this.prev=O.Undefined}}O.Undefined=new O(void 0);class k{constructor(){this._first=O.Undefined,this._last=O.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===O.Undefined}clear(){let G=this._first;for(;G!==O.Undefined;){const W=G.next;G.prev=O.Undefined,G.next=O.Undefined,G=W}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(G){return this._insert(G,!1)}push(G){return this._insert(G,!0)}_insert(G,W){const h=new O(G);if(this._first===O.Undefined)this._first=h,this._last=h;else if(W){const H=this._last;this._last=h,h.prev=H,H.next=h}else{const H=this._first;this._first=h,h.next=H,H.prev=h}this._size+=1;let V=!1;return()=>{V||(V=!0,this._remove(h))}}shift(){if(this._first!==O.Undefined){const G=this._first.element;return this._remove(this._first),G}}pop(){if(this._last!==O.Undefined){const G=this._last.element;return this._remove(this._last),G}}_remove(G){if(G.prev!==O.Undefined&&G.next!==O.Undefined){const W=G.prev;W.next=G.next,G.next.prev=W}else G.prev===O.Undefined&&G.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):G.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):G.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let G=this._first;for(;G!==O.Undefined;)yield G.element,G=G.next}}},23345:function(Bt,Ze,l){"use strict";l.d(Ze,{$L:function(){return D},ED:function(){return p},IJ:function(){return f},OS:function(){return $},WE:function(){return K},dz:function(){return g},gn:function(){return T},li:function(){return o},r:function(){return C},tY:function(){return u},xS:function(){return L}});var O=l(97671),k;const B="en";let G=!1,W=!1,h=!1,V=!1,H=!1,e=!1,s=!1,c,t=null,r=null,i;const o=typeof self=="object"?self:typeof l.g=="object"?l.g:{};let m;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?m=o.vscode.process:typeof O!="undefined"&&(m=O);const w=typeof((k=m==null?void 0:m.versions)===null||k===void 0?void 0:k.electron)=="string"&&m.type==="renderer";if(typeof navigator=="object"&&!w)i=navigator.userAgent,G=i.indexOf("Windows")>=0,W=i.indexOf("Macintosh")>=0,s=(i.indexOf("Macintosh")>=0||i.indexOf("iPad")>=0||i.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h=i.indexOf("Linux")>=0,e=!0,c=navigator.language,t=c;else if(typeof m=="object"){G=m.platform==="win32",W=m.platform==="darwin",h=m.platform==="linux",V=h&&!!m.env.SNAP&&!!m.env.SNAP_REVISION,c=B,t=B;const _=m.env.VSCODE_NLS_CONFIG;if(_)try{const E=JSON.parse(_),P=E.availableLanguages["*"];c=E.locale,t=P||B,r=E._translationsConfigFile}catch(E){}H=!0}else console.error("Unable to resolve platform.");let N=0;W?N=1:G?N=3:h&&(N=2);const p=G,g=W,f=h,u=H,D=e,T=s,K=i,L=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let P=[];o.addEventListener("message",b=>{if(b.data&&b.data.vscodeSetImmediateId)for(let n=0,a=P.length;n{const n=++R;P.push({id:n,callback:b}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(m==null?void 0:m.nextTick)=="function")return m.nextTick.bind(m);const E=Promise.resolve();return P=>E.then(P)}(),$=W||s?2:G?1:3;let z=!0,Ee=!1;function C(){if(!Ee){Ee=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,z=new Uint16Array(_.buffer)[0]===513}return z}},95830:function(Bt,Ze,l){"use strict";l.d(Ze,{G:function(){return B}});var O=l(23345);const k=O.li.performance&&typeof O.li.performance.now=="function";class B{constructor(W){this._highResolution=k&&W,this._startTime=this._now(),this._stopTime=-1}static create(W=!0){return new B(W)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?O.li.performance.now():Date.now()}}},82983:function(Bt,Ze,l){"use strict";l.d(Ze,{$i:function(){return re},C8:function(){return mt},GF:function(){return c},HO:function(){return R},IO:function(){return t},K7:function(){return Ae},Kw:function(){return Ne},LC:function(){return o},Mh:function(){return L},P1:function(){return $},PJ:function(){return Qe},Qe:function(){return de},R1:function(){return s},RP:function(){return d},S6:function(){return Te},TT:function(){return p},Ut:function(){return n},V8:function(){return m},WU:function(){return B},YK:function(){return Ee},YU:function(){return G},ZG:function(){return z},ZH:function(){return _},ab:function(){return ve},c1:function(){return me},df:function(){return D},ec:function(){return W},fi:function(){return ae},fy:function(){return h},j3:function(){return V},j_:function(){return f},m5:function(){return O},mK:function(){return u},mr:function(){return r},oH:function(){return S},oL:function(){return H},ok:function(){return K},ow:function(){return w},qq:function(){return T},qu:function(){return N},rL:function(){return C},uS:function(){return Xe},un:function(){return e},uq:function(){return i},vH:function(){return P},xe:function(){return De},zY:function(){return g}});function O(v){return!v||typeof v!="string"?!0:v.trim().length===0}const k=/{(\d+)}/g;function B(v,...F){return F.length===0?v:v.replace(k,function(X,Z){const U=parseInt(Z,10);return isNaN(U)||U<0||U>=F.length?X:F[U]})}function G(v){return v.replace(/[<>&]/g,function(F){switch(F){case"<":return"<";case">":return">";case"&":return"&";default:return F}})}function W(v){return v.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function h(v,F=" "){const X=V(v,F);return H(X,F)}function V(v,F){if(!v||!F)return v;const X=F.length;if(X===0||v.length===0)return v;let Z=0;for(;v.indexOf(F,Z)===Z;)Z=Z+X;return v.substring(Z)}function H(v,F){if(!v||!F)return v;const X=F.length,Z=v.length;if(X===0||Z===0)return v;let U=Z,j=-1;for(;j=v.lastIndexOf(F,U-1),!(j===-1||j+X!==U);){if(j===0)return"";U=j}return v.substring(0,U)}function e(v){return v.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(v){return v.replace(/\*/g,"")}function c(v,F,X={}){if(!v)throw new Error("Cannot create regex from empty string");F||(v=W(v)),X.wholeWord&&(/\B/.test(v.charAt(0))||(v="\\b"+v),/\B/.test(v.charAt(v.length-1))||(v=v+"\\b"));let Z="";return X.global&&(Z+="g"),X.matchCase||(Z+="i"),X.multiline&&(Z+="m"),X.unicode&&(Z+="u"),new RegExp(v,Z)}function t(v){return v.source==="^"||v.source==="^$"||v.source==="$"||v.source==="^\\s*$"?!1:!!(v.exec("")&&v.lastIndex===0)}function r(v){return(v.global?"g":"")+(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")}function i(v){return v.split(/\r\n|\r|\n/)}function o(v){for(let F=0,X=v.length;F=0;X--){const Z=v.charCodeAt(X);if(Z!==32&&Z!==9)return X}return-1}function N(v,F){return vF?1:0}function p(v,F,X=0,Z=v.length,U=0,j=F.length){for(;XMe)return 1}const ce=Z-X,ie=j-U;return ceie?1:0}function g(v,F){return f(v,F,0,v.length,0,F.length)}function f(v,F,X=0,Z=v.length,U=0,j=F.length){for(;X=128||Me>=128)return p(v.toLowerCase(),F.toLowerCase(),X,Z,U,j);u(we)&&(we-=32),u(Me)&&(Me-=32);const je=we-Me;if(je!==0)return je}const ce=Z-X,ie=j-U;return ceie?1:0}function u(v){return v>=97&&v<=122}function D(v){return v>=65&&v<=90}function T(v,F){return v.length===F.length&&f(v,F)===0}function K(v,F){const X=F.length;return F.length>v.length?!1:f(v,F,0,X)===0}function L(v,F){let X,Z=Math.min(v.length,F.length);for(X=0;X1){const Z=v.charCodeAt(F-2);if(z(Z))return C(Z,X)}return X}function P(v,F){const X=y.getInstance(),Z=F,U=v.length,j=_(v,U,F);F+=j>=65536?2:1;let ce=X.getGraphemeBreakType(j);for(;F=65536?2:1,ce=we}return F-Z}function R(v,F){const X=y.getInstance(),Z=F,U=E(v,F);F-=U>=65536?2:1;let j=X.getGraphemeBreakType(U);for(;F>0;){const ce=E(v,F),ie=X.getGraphemeBreakType(ce);if(ae(ie,j))break;F-=ce>=65536?2:1,j=ie}return Z-F}const b=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function n(v){return b.test(v)}const a=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function d(v){return a.test(v)}const A=/^[\t\n\r\x20-\x7E]*$/;function re(v){return A.test(v)}const de=/[\u2028\u2029]/;function ve(v){return de.test(v)}function De(v){for(let F=0,X=v.length;F=11904&&v<=55215||v>=63744&&v<=64255||v>=65281&&v<=65374}function mt(v){return v>=127462&&v<=127487||v===8986||v===8987||v===9200||v===9203||v>=9728&&v<=10175||v===11088||v===11093||v>=127744&&v<=128591||v>=128640&&v<=128764||v>=128992&&v<=129003||v>=129280&&v<=129535||v>=129648&&v<=129750}const me="\uFEFF";function Xe(v){return!!(v&&v.length>0&&v.charCodeAt(0)===65279)}function Ne(v,F=!1){return v?(F&&(v=v.replace(/\\./g,"")),v.toLowerCase()!==v):!1}function Qe(v){return v=v%(2*26),v<26?String.fromCharCode(97+v):String.fromCharCode(65+v-26)}function Te(v){return y.getInstance().getGraphemeBreakType(v)}function ae(v,F){return v===0?F!==5&&F!==7:v===2&&F===3?!1:v===4||v===2||v===3||F===4||F===2||F===3?!0:!(v===8&&(F===8||F===9||F===11||F===12)||(v===11||v===9)&&(F===9||F===10)||(v===12||v===10)&&F===10||F===5||F===13||F===7||v===1||v===13&&F===14||v===6&&F===6)}class y{constructor(){this._data=M()}static getInstance(){return y._INSTANCE||(y._INSTANCE=new y),y._INSTANCE}getGraphemeBreakType(F){if(F<32)return F===10?3:F===13?2:4;if(F<127)return 0;const X=this._data,Z=X.length/3;let U=1;for(;U<=Z;)if(FX[3*U+1])U=2*U+1;else return X[3*U+2];return 0}}y._INSTANCE=null;function M(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function S(v,F){if(v===0)return 0;const X=q(v,F);if(X!==void 0)return X;const Z=E(F,v);return v-=te(Z),v}function q(v,F){let X=E(F,v);for(v-=te(X);x(X)||X===65039||X===8419;){if(v===0)return;X=E(F,v),v-=te(X)}if(mt(X)){if(v>=0){const Z=E(F,v);Z===8205&&(v-=te(Z))}return v}}function te(v){return v>=65536?2:1}function x(v){return 127995<=v&&v<=127999}},72999:function(Bt,Ze,l){"use strict";l.d(Ze,{$E:function(){return o},$K:function(){return V},D8:function(){return t},HD:function(){return k},IU:function(){return m},Jp:function(){return H},Kn:function(){return B},cW:function(){return s},f6:function(){return w},hj:function(){return G},jn:function(){return W},kJ:function(){return O},mf:function(){return c},o8:function(){return h},p_:function(){return e},vE:function(){return N}});function O(p){return Array.isArray(p)}function k(p){return typeof p=="string"}function B(p){return typeof p=="object"&&p!==null&&!Array.isArray(p)&&!(p instanceof RegExp)&&!(p instanceof Date)}function G(p){return typeof p=="number"&&!isNaN(p)}function W(p){return p===!0||p===!1}function h(p){return typeof p=="undefined"}function V(p){return!H(p)}function H(p){return h(p)||p===null}function e(p,g){if(!p)throw new Error(g?`Unexpected type, expected '${g}'`:"Unexpected type")}function s(p){if(H(p))throw new Error("Assertion Failed: argument is undefined or null");return p}function c(p){return typeof p=="function"}function t(p,g){const f=Math.min(p.length,g.length);for(let u=0;ufunction(){const T=Array.prototype.slice.call(arguments,0);return g(D,T)};let u={};for(const D of p)u[D]=f(D);return u}function w(p){return p===null?void 0:p}function N(p,g="Unreachable"){throw new Error(g)}},13268:function(Bt,Ze,l){"use strict";l.d(Ze,{N:function(){return k}});function O(B,G){let W;return G.length===0?W=B:W=B.replace(/\{(\d+)\}/g,function(h,V){const H=V[0];return typeof G[H]!="undefined"?G[H]:h}),W}function k(B,G,...W){return O(G,W)}},96236:function(Bt,Ze,l){"use strict";l.d(Ze,{BH:function(){return m},NZ:function(){return w},U8:function(){return N},co:function(){return o},eH:function(){return i},vr:function(){return r}});var O=l(75918),k=l(52615),B=l(4348),G=l(88226),W=l(69323),h=l(34502),V=l(35884),H=l(90689),e=l(16925),s=l(49055),c=function(p,g,f,u){var D=arguments.length,T=D<3?g:u===null?u=Object.getOwnPropertyDescriptor(g,f):u,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(p,g,f,u);else for(var L=p.length-1;L>=0;L--)(K=p[L])&&(T=(D<3?K(T):D>3?K(g,f,T):K(g,f))||T);return D>3&&T&&Object.defineProperty(g,f,T),T},t=function(p,g){return function(f,u){g(f,u,p)}};function r(p){return p.command!==void 0}class i{constructor(g){this.id=i._idPool++,this._debugName=g}}i._idPool=0,i.CommandPalette=new i("CommandPalette"),i.EditorContext=new i("EditorContext"),i.SimpleEditorContext=new i("SimpleEditorContext"),i.EditorContextCopy=new i("EditorContextCopy"),i.EditorContextPeek=new i("EditorContextPeek"),i.MenubarEditMenu=new i("MenubarEditMenu"),i.MenubarCopy=new i("MenubarCopy"),i.MenubarGoMenu=new i("MenubarGoMenu"),i.MenubarSelectionMenu=new i("MenubarSelectionMenu"),i.InlineCompletionsActions=new i("InlineCompletionsActions");const o=(0,e.yh)("menuService"),m=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new B.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:p=>p===i.CommandPalette}}addCommand(p){return this.addCommands(G.$.single(p))}addCommands(p){for(const g of p)this._commands.set(g.id,g);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,W.OF)(()=>{let g=!1;for(const f of p)g=this._commands.delete(f.id)||g;g&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(p){return this._commands.get(p)}getCommands(){const p=new Map;return this._commands.forEach((g,f)=>p.set(f,g)),p}appendMenuItem(p,g){return this.appendMenuItems(G.$.single({id:p,item:g}))}appendMenuItems(p){const g=new Set,f=new h.S;for(const{id:u,item:D}of p){let T=this._menuItems.get(u);T||(T=new h.S,this._menuItems.set(u,T)),f.push(T.push(D)),g.add(u)}return this._onDidChangeMenu.fire(g),(0,W.OF)(()=>{if(f.size>0){for(let u of f)u();this._onDidChangeMenu.fire(g),f.clear()}})}getMenuItems(p){let g;return this._menuItems.has(p)?g=[...this._menuItems.get(p)]:g=[],p===i.CommandPalette&&this._appendImplicitItems(g),g}_appendImplicitItems(p){const g=new Set;for(const f of p)r(f)&&(g.add(f.command.id),f.alt&&g.add(f.alt.id));this._commands.forEach((f,u)=>{g.has(u)||p.push({command:f})})}};class w extends O.wY{constructor(g,f,u,D){super(`submenuitem.${g.submenu.id}`,typeof g.title=="string"?g.title:g.title.value,[],"submenu"),this.item=g,this._menuService=f,this._contextKeyService=u,this._options=D}get actions(){const g=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),u=f.getActions(this._options);f.dispose();for(const[,D]of u)D.length>0&&(g.push(...D),g.push(new O.Z0));return g.length&&g.pop(),g}}let N=class ba{constructor(g,f,u,D,T){var K,L;if(this._commandService=T,this.id=g.id,this.label=u!=null&&u.renderShortTitle&&g.shortTitle?typeof g.shortTitle=="string"?g.shortTitle:g.shortTitle.value:typeof g.title=="string"?g.title:g.title.value,this.tooltip=(L=typeof g.tooltip=="string"?g.tooltip:(K=g.tooltip)===null||K===void 0?void 0:K.value)!==null&&L!==void 0?L:"",this.enabled=!g.precondition||D.contextMatchesRules(g.precondition),this.checked=void 0,g.toggled){const $=g.toggled.condition?g.toggled:{condition:g.toggled};this.checked=D.contextMatchesRules($.condition),this.checked&&$.tooltip&&(this.tooltip=typeof $.tooltip=="string"?$.tooltip:$.tooltip.value),$.title&&(this.label=typeof $.title=="string"?$.title:$.title.value)}this.item=g,this.alt=f?new ba(f,void 0,u,D,T):void 0,this._options=u,s.kS.isThemeIcon(g.icon)&&(this.class=k.dT.asClassName(g.icon))}dispose(){}run(...g){var f,u;let D=[];return!((f=this._options)===null||f===void 0)&&f.arg&&(D=[...D,this._options.arg]),!((u=this._options)===null||u===void 0)&&u.shouldForwardArgs&&(D=[...D,...g]),this._commandService.executeCommand(this.id,...D)}};N=c([t(3,H.i6),t(4,V.H)],N)},35884:function(Bt,Ze,l){"use strict";l.d(Ze,{H:function(){return V},P:function(){return H}});var O=l(4348),k=l(88226),B=l(69323),G=l(34502),W=l(72999),h=l(16925);const V=(0,h.yh)("commandService"),H=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new O.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,s){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!s)throw new Error("invalid command");return this.registerCommand({id:e,handler:s})}if(e.description){const o=[];for(let w of e.description.args)o.push(w.constraint);const m=e.handler;e.handler=function(w,...N){return(0,W.D8)(N,o),m(w,...N)}}const{id:c}=e;let t=this._commands.get(c);t||(t=new G.S,this._commands.set(c,t));let r=t.unshift(e),i=(0,B.OF)(()=>{r();const o=this._commands.get(c);o!=null&&o.isEmpty()&&this._commands.delete(c)});return this._onDidRegisterCommand.fire(c),i}registerCommandAlias(e,s){return H.registerCommand(e,(c,...t)=>c.get(V).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return k.$.first(s)}getCommands(){const e=new Map;for(const s of this._commands.keys()){const c=this.getCommand(s);c&&e.set(s,c)}return e}};H.registerCommand("noop",()=>{})},90689:function(Bt,Ze,l){"use strict";l.d(Ze,{Ao:function(){return V},Eq:function(){return C},Fb:function(){return H},K8:function(){return P},i6:function(){return Ee},uy:function(){return z}});var O=l(23345),k=l(82983),B=l(16925);let G=O.WE||"";const W=new Map;W.set("false",!1),W.set("true",!0),W.set("isMac",O.dz),W.set("isLinux",O.IJ),W.set("isWindows",O.ED),W.set("isWeb",O.$L),W.set("isMacNative",O.dz&&!O.$L),W.set("isEdge",G.indexOf("Edg/")>=0),W.set("isFirefox",G.indexOf("Firefox")>=0),W.set("isChrome",G.indexOf("Chrome")>=0),W.set("isSafari",G.indexOf("Safari")>=0);const h=Object.prototype.hasOwnProperty;class V{static has(n){return t.create(n)}static equals(n,a){return r.create(n,a)}static regex(n,a){return D.create(n,a)}static not(n){return w.create(n)}static and(...n){return L.create(n,null)}static or(...n){return $.create(n,null,!0)}static deserialize(n,a=!1){if(n)return this._deserializeOrExpression(n,a)}static _deserializeOrExpression(n,a){let d=n.split("||");return $.create(d.map(A=>this._deserializeAndExpression(A,a)),null,!0)}static _deserializeAndExpression(n,a){let d=n.split("&&");return L.create(d.map(A=>this._deserializeOne(A,a)),null)}static _deserializeOne(n,a){if(n=n.trim(),n.indexOf("!=")>=0){let d=n.split("!=");return m.create(d[0].trim(),this._deserializeValue(d[1],a))}if(n.indexOf("==")>=0){let d=n.split("==");return r.create(d[0].trim(),this._deserializeValue(d[1],a))}if(n.indexOf("=~")>=0){let d=n.split("=~");return D.create(d[0].trim(),this._deserializeRegexValue(d[1],a))}if(n.indexOf(" in ")>=0){let d=n.split(" in ");return i.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const d=n.split(">=");return g.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const d=n.split(">");return p.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const d=n.split("<=");return u.create(d[0].trim(),d[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const d=n.split("<");return f.create(d[0].trim(),d[1].trim())}return/^\!\s*/.test(n)?w.create(n.substr(1).trim()):t.create(n)}static _deserializeValue(n,a){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let d=/^'([^']*)'$/.exec(n);return d?d[1].trim():n}static _deserializeRegexValue(n,a){if((0,k.m5)(n)){if(a)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let d=n.indexOf("/"),A=n.lastIndexOf("/");if(d===A||d<0){if(a)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let re=n.slice(d+1,A),de=n[A+1]==="i"?"i":"";try{return new RegExp(re,de)}catch(ve){if(a)throw new Error(`bad regexp-value '${n}', parse error: ${ve}`);return console.warn(`bad regexp-value '${n}', parse error: ${ve}`),null}}}function H(b,n){const a=b?b.substituteConstants():void 0,d=n?n.substituteConstants():void 0;return!a&&!d?!0:!a||!d?!1:a.equals(d)}function e(b,n){return b.cmp(n)}class s{constructor(){this.type=0}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!1}serialize(){return"false"}keys(){return[]}negate(){return c.INSTANCE}}s.INSTANCE=new s;class c{constructor(){this.type=1}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!0}serialize(){return"true"}keys(){return[]}negate(){return s.INSTANCE}}c.INSTANCE=new c;class t{constructor(n,a){this.key=n,this.negated=a,this.type=2}static create(n,a=null){const d=W.get(n);return typeof d=="boolean"?d?c.INSTANCE:s.INSTANCE:new t(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=W.get(this.key);return typeof n=="boolean"?n?c.INSTANCE:s.INSTANCE:this}evaluate(n){return!!n.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this)),this.negated}}class r{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=4}static create(n,a,d=null){if(typeof a=="boolean")return a?t.create(n,d):w.create(n,d);const A=W.get(n);return typeof A=="boolean"?a===(A?"true":"false")?c.INSTANCE:s.INSTANCE:new r(n,a,d)}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=W.get(this.key);if(typeof n=="boolean"){const a=n?"true":"false";return this.value===a?c.INSTANCE:s.INSTANCE}return this}evaluate(n){return n.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this.value,this)),this.negated}}class i{constructor(n,a){this.key=n,this.valueKey=a,this.type=10,this.negated=null}static create(n,a){return new i(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.valueKey,n.key,n.valueKey)}equals(n){return n.type===this.type?this.key===n.key&&this.valueKey===n.valueKey:!1}substituteConstants(){return this}evaluate(n){const a=n.getValue(this.valueKey),d=n.getValue(this.key);return Array.isArray(a)?a.indexOf(d)>=0:typeof d=="string"&&typeof a=="object"&&a!==null?h.call(a,d):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=o.create(this)),this.negated}}class o{constructor(n){this._actual=n,this.type=11}static create(n){return new o(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class m{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=5}static create(n,a,d=null){if(typeof a=="boolean")return a?w.create(n,d):t.create(n,d);const A=W.get(n);return typeof A=="boolean"?a===(A?"true":"false")?s.INSTANCE:c.INSTANCE:new m(n,a,d)}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=W.get(this.key);if(typeof n=="boolean"){const a=n?"true":"false";return this.value===a?s.INSTANCE:c.INSTANCE}return this}evaluate(n){return n.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this.value,this)),this.negated}}class w{constructor(n,a){this.key=n,this.negated=a,this.type=3}static create(n,a=null){const d=W.get(n);return typeof d=="boolean"?d?s.INSTANCE:c.INSTANCE:new w(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=W.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:c.INSTANCE:this}evaluate(n){return!n.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=t.create(this.key,this)),this.negated}}function N(b,n){if(typeof b=="string"){const a=parseFloat(b);isNaN(a)||(b=a)}return typeof b=="string"||typeof b=="number"?n(b):s.INSTANCE}class p{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=12}static create(n,a,d=null){return N(a,A=>new p(n,A,d))}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class g{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=13}static create(n,a,d=null){return N(a,A=>new g(n,A,d))}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class f{constructor(n,a,d){this.key=n,this.value=a,this.negated=d,this.type=14}static create(n,a,d=null){return N(a,A=>new f(n,A,d))}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))new u(n,A,d))}cmp(n){return n.type!==this.type?this.type-n.type:E(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}class D{constructor(n,a){this.key=n,this.regexp=a,this.type=7,this.negated=null}static create(n,a){return new D(n,a)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.keyn.key)return 1;const a=this.regexp?this.regexp.source:"",d=n.regexp?n.regexp.source:"";return ad?1:0}equals(n){if(n.type===this.type){const a=this.regexp?this.regexp.source:"",d=n.regexp?n.regexp.source:"";return this.key===n.key&&a===d}return!1}substituteConstants(){return this}evaluate(n){let a=n.getValue(this.key);return this.regexp?this.regexp.test(a):!1}serialize(){const n=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${n}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this)),this.negated}}class T{constructor(n){this._actual=n,this.type=8}static create(n){return new T(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function K(b){let n=null;for(let a=0,d=b.length;an.expr.length)return 1;for(let a=0,d=this.expr.length;a1;){const re=d[d.length-1];if(re.type!==9)break;d.pop();const de=d.pop(),ve=d.length===0,De=$.create(re.expr.map(Ae=>L.create([Ae,de],null)),null,ve);De&&(d.push(De),d.sort(e))}return d.length===1?d[0]:new L(d,a)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let a of this.expr)n.push(...a.keys());return n}negate(){if(!this.negated){const n=[];for(let a of this.expr)n.push(a.negate());this.negated=$.create(n,this,!0)}return this.negated}}class ${constructor(n,a){this.expr=n,this.negated=a,this.type=9}static create(n,a,d){return $._normalizeArr(n,a,d)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.lengthn.expr.length)return 1;for(let a=0,d=this.expr.length;an.serialize()).join(" || ")}keys(){const n=[];for(let a of this.expr)n.push(...a.keys());return n}negate(){if(!this.negated){let n=[];for(let a of this.expr)n.push(a.negate());for(;n.length>1;){const a=n.shift(),d=n.shift(),A=[];for(const de of R(a))for(const ve of R(d))A.push(L.create([de,ve],null));const re=n.length===0;n.unshift($.create(A,null,re))}this.negated=n[0]}return this.negated}}class z extends t{constructor(n,a,d){super(n,null),this._defaultValue=a,typeof d=="object"?z._info.push(Object.assign(Object.assign({},d),{key:n})):d!==!0&&z._info.push({key:n,description:d,type:a!=null?typeof a:void 0})}static all(){return z._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return r.create(this.key,n)}}z._info=[];const Ee=(0,B.yh)("contextKeyService"),C="setContext";function _(b,n){return bn?1:0}function E(b,n,a,d){return ba?1:nd?1:0}function P(b,n){if(n.type===6&&b.type!==9&&b.type!==6){for(const A of n.expr)if(b.equals(A))return!0}const a=b.negate(),d=R(a).concat(R(n));d.sort(e);for(let A=0;Ah,O.serviceIds.set(h,V),V}function W(h){return function(V,H,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");B(h,V,e,!0)}}},44650:function(Bt,Ze,l){"use strict";l.d(Ze,{B:function(){return G}});var O=l(76068),k=l(72999);class B{constructor(){this.data=new Map}add(h,V){O.ok(k.HD(h)),O.ok(k.Kn(V)),O.ok(!this.data.has(h),"There is already an extension with this id"),this.data.set(h,V)}as(h){return this.data.get(h)||null}}const G=new B},66213:function(Bt,Ze,l){"use strict";l.d(Ze,{e:function(){return O}});var O;(function(k){k.DARK="dark",k.LIGHT="light",k.HIGH_CONTRAST="hc"})(O||(O={}))},49055:function(Bt,Ze,l){"use strict";l.d(Ze,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return V},bB:function(){return m},kS:function(){return s},m6:function(){return c}});var O=l(52615),k=l(4348),B=l(69323),G=l(16925),W=l(44650),h=l(66213);const V=(0,G.yh)("themeService");var H;(function(w){function N(p){return p&&typeof p=="object"&&typeof p.id=="string"}w.isThemeColor=N})(H||(H={}));function e(w){return{id:w}}var s;(function(w){function N(T){return T&&typeof T=="object"&&typeof T.id=="string"&&(typeof T.color=="undefined"||H.isThemeColor(T.color))}w.isThemeIcon=N;const p=new RegExp(`^\\$\\((${O.dT.iconNameExpression}(?:${O.dT.iconModifierExpression})?)\\)$`);function g(T){const K=p.exec(T);if(!K)return;let[,L]=K;return{id:L}}w.fromString=g;function f(T,K){let L=T.id;const $=L.lastIndexOf("~");return $!==-1&&(L=L.substring(0,$)),K&&(L=`${L}~${K}`),{id:L}}w.modify=f;function u(T,K){var L,$;return T.id===K.id&&((L=T.color)===null||L===void 0?void 0:L.id)===(($=K.color)===null||$===void 0?void 0:$.id)}w.isEqual=u;function D(T,K){return{id:T.id,color:K?e(K):void 0}}w.asThemeIcon=D,w.asClassNameArray=O.dT.asClassNameArray,w.asClassName=O.dT.asClassName,w.asCSSSelector=O.dT.asCSSSelector})(s||(s={}));function c(w){switch(w){case h.e.DARK:return"vs-dark";case h.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new k.Q5}onColorThemeChange(N){return this.themingParticipants.push(N),this.onThemingParticipantAddedEmitter.fire(N),(0,B.OF)(()=>{const p=this.themingParticipants.indexOf(N);this.themingParticipants.splice(p,1)})}getThemingParticipants(){return this.themingParticipants}}let i=new r;W.B.add(t.ThemingContribution,i);function o(w){return i.onColorThemeChange(w)}class m extends B.JT{constructor(N){super(),this.themeService=N,this.theme=N.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(p=>this.onThemeChange(p)))}onThemeChange(N){this.theme=N,this.updateStyles()}updateStyles(){}}},16632:function(Bt,Ze,l){"use strict";var O=l(67711),k=l(98506),B=l(52873),G=l(16886),W=l(33346),h=l(92310),V=l.n(h),H=l(18929),e=l(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],c=(0,e.forwardRef)(function(t,r){var i=t.prefixCls,o=i===void 0?"rc-checkbox":i,m=t.className,w=t.style,N=t.checked,p=t.disabled,g=t.defaultChecked,f=g===void 0?!1:g,u=t.type,D=u===void 0?"checkbox":u,T=t.title,K=t.onChange,L=(0,W.Z)(t,s),$=(0,e.useRef)(null),z=(0,e.useRef)(null),Ee=(0,H.Z)(f,{value:N}),C=(0,G.Z)(Ee,2),_=C[0],E=C[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var a;(a=$.current)===null||a===void 0||a.focus(n)},blur:function(){var n;(n=$.current)===null||n===void 0||n.blur()},input:$.current,nativeElement:z.current}});var P=V()(o,m,(0,B.Z)((0,B.Z)({},"".concat(o,"-checked"),_),"".concat(o,"-disabled"),p)),R=function(n){p||("checked"in t||E(n.target.checked),K==null||K({target:(0,k.Z)((0,k.Z)({},t),{},{type:D,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:P,title:T,style:w,ref:z},e.createElement("input",(0,O.Z)({},L,{className:"".concat(o,"-input"),ref:$,onChange:R,disabled:p,checked:!!_,type:D})),e.createElement("span",{className:"".concat(o,"-inner")}))});Ze.Z=c},96478:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return T}});var O=l(67711),k=l(52873),B=l(16886),G=l(33346),W=l(65030),h=l(92310),V=l.n(h),H=l(8654),e=l(59301),s=l(10228),c=l(16089),t=s.Z.ESC,r=s.Z.TAB;function i(K){var L=K.visible,$=K.triggerRef,z=K.onVisibleChange,Ee=K.autoFocus,C=K.overlayRef,_=e.useRef(!1),E=function(){if(L){var n,a;(n=$.current)===null||n===void 0||(a=n.focus)===null||a===void 0||a.call(n),z==null||z(!1)}},P=function(){var n;return(n=C.current)!==null&&n!==void 0&&n.focus?(C.current.focus(),_.current=!0,!0):!1},R=function(n){switch(n.keyCode){case t:E();break;case r:{var a=!1;_.current||(a=P()),a?n.preventDefault():E();break}}};e.useEffect(function(){return L?(window.addEventListener("keydown",R),Ee&&(0,c.Z)(P,3),function(){window.removeEventListener("keydown",R),_.current=!1}):function(){_.current=!1}},[L])}var o=(0,e.forwardRef)(function(K,L){var $=K.overlay,z=K.arrow,Ee=K.prefixCls,C=(0,e.useMemo)(function(){var E;return typeof $=="function"?E=$():E=$,E},[$]),_=(0,H.sQ)(L,(0,H.C4)(C));return e.createElement(e.Fragment,null,z&&e.createElement("div",{className:"".concat(Ee,"-arrow")}),e.cloneElement(C,{ref:(0,H.Yr)(C)?_:void 0}))}),m=o,w={adjustX:1,adjustY:1},N=[0,0],p={topLeft:{points:["bl","tl"],overflow:w,offset:[0,-4],targetOffset:N},top:{points:["bc","tc"],overflow:w,offset:[0,-4],targetOffset:N},topRight:{points:["br","tr"],overflow:w,offset:[0,-4],targetOffset:N},bottomLeft:{points:["tl","bl"],overflow:w,offset:[0,4],targetOffset:N},bottom:{points:["tc","bc"],overflow:w,offset:[0,4],targetOffset:N},bottomRight:{points:["tr","br"],overflow:w,offset:[0,4],targetOffset:N}},g=p,f=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function u(K,L){var $,z=K.arrow,Ee=z===void 0?!1:z,C=K.prefixCls,_=C===void 0?"rc-dropdown":C,E=K.transitionName,P=K.animation,R=K.align,b=K.placement,n=b===void 0?"bottomLeft":b,a=K.placements,d=a===void 0?g:a,A=K.getPopupContainer,re=K.showAction,de=K.hideAction,ve=K.overlayClassName,De=K.overlayStyle,Ae=K.visible,mt=K.trigger,me=mt===void 0?["hover"]:mt,Xe=K.autoFocus,Ne=K.overlay,Qe=K.children,Te=K.onVisibleChange,ae=(0,G.Z)(K,f),y=e.useState(),M=(0,B.Z)(y,2),S=M[0],q=M[1],te="visible"in K?Ae:S,x=e.useRef(null),v=e.useRef(null),F=e.useRef(null);e.useImperativeHandle(L,function(){return x.current});var X=function(Ke){q(Ke),Te==null||Te(Ke)};i({visible:te,triggerRef:F,onVisibleChange:X,autoFocus:Xe,overlayRef:v});var Z=function(Ke){var ke=K.onOverlayClick;q(!1),ke&&ke(Ke)},U=function(){return e.createElement(m,{ref:v,overlay:Ne,prefixCls:_,arrow:Ee})},j=function(){return typeof Ne=="function"?U:U()},ce=function(){var Ke=K.minOverlayWidthMatchTrigger,ke=K.alignPoint;return"minOverlayWidthMatchTrigger"in K?Ke:!ke},ie=function(){var Ke=K.openClassName;return Ke!==void 0?Ke:"".concat(_,"-open")},we=e.cloneElement(Qe,{className:V()(($=Qe.props)===null||$===void 0?void 0:$.className,te&&ie()),ref:(0,H.Yr)(Qe)?(0,H.sQ)(F,(0,H.C4)(Qe)):void 0}),Me=de;return!Me&&me.indexOf("contextMenu")!==-1&&(Me=["click"]),e.createElement(W.Z,(0,O.Z)({builtinPlacements:d},ae,{prefixCls:_,ref:x,popupClassName:V()(ve,(0,k.Z)({},"".concat(_,"-show-arrow"),Ee)),popupStyle:De,action:me,showAction:re,hideAction:Me,popupPlacement:n,popupAlign:R,popupTransitionName:E,popupAnimation:P,popupVisible:te,stretch:ce()?"minWidth":"",popup:j(),onPopupVisibleChange:X,onPopupClick:Z,getPopupContainer:A}),we)}var D=e.forwardRef(u),T=D},66003:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return V}});var O=l(33346),k=l(98506),B=l(26420),G=l(59301),W=["show"];function h(H,e){if(!e.max)return!0;var s=e.strategy(H);return s<=e.max}function V(H,e){return G.useMemo(function(){var s={};e&&(s.show=(0,B.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,k.Z)((0,k.Z)({},s),H);var c=s,t=c.show,r=(0,O.Z)(c,W);return(0,k.Z)((0,k.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(i){return i.length}})},[H,e])}},36901:function(Bt,Ze,l){"use strict";l.r(Ze),l.d(Ze,{BaseInput:function(){return s},default:function(){return g}});var O=l(98506),k=l(67711),B=l(52873),G=l(26420),W=l(92310),h=l.n(W),V=l(59301),H=l(30292),e=V.forwardRef(function(f,u){var D,T,K,L=f.inputElement,$=f.children,z=f.prefixCls,Ee=f.prefix,C=f.suffix,_=f.addonBefore,E=f.addonAfter,P=f.className,R=f.style,b=f.disabled,n=f.readOnly,a=f.focused,d=f.triggerFocus,A=f.allowClear,re=f.value,de=f.handleReset,ve=f.hidden,De=f.classes,Ae=f.classNames,mt=f.dataAttrs,me=f.styles,Xe=f.components,Ne=f.onClear,Qe=$!=null?$:L,Te=(Xe==null?void 0:Xe.affixWrapper)||"span",ae=(Xe==null?void 0:Xe.groupWrapper)||"span",y=(Xe==null?void 0:Xe.wrapper)||"span",M=(Xe==null?void 0:Xe.groupAddon)||"span",S=(0,V.useRef)(null),q=function(Le){var Pe;(Pe=S.current)!==null&&Pe!==void 0&&Pe.contains(Le.target)&&(d==null||d())},te=(0,H.X3)(f),x=(0,V.cloneElement)(Qe,{value:re,className:h()((D=Qe.props)===null||D===void 0?void 0:D.className,!te&&(Ae==null?void 0:Ae.variant))||null}),v=(0,V.useRef)(null);if(V.useImperativeHandle(u,function(){return{nativeElement:v.current||S.current}}),te){var F=null;if(A){var X=!b&&!n&&re,Z="".concat(z,"-clear-icon"),U=(0,G.Z)(A)==="object"&&A!==null&&A!==void 0&&A.clearIcon?A.clearIcon:"\u2716";F=V.createElement("button",{type:"button",tabIndex:-1,onClick:function(Le){de==null||de(Le),Ne==null||Ne()},onMouseDown:function(Le){return Le.preventDefault()},className:h()(Z,(0,B.Z)((0,B.Z)({},"".concat(Z,"-hidden"),!X),"".concat(Z,"-has-suffix"),!!C))},U)}var j="".concat(z,"-affix-wrapper"),ce=h()(j,(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(z,"-disabled"),b),"".concat(j,"-disabled"),b),"".concat(j,"-focused"),a),"".concat(j,"-readonly"),n),"".concat(j,"-input-with-clear-btn"),C&&A&&re),De==null?void 0:De.affixWrapper,Ae==null?void 0:Ae.affixWrapper,Ae==null?void 0:Ae.variant),ie=(C||A)&&V.createElement("span",{className:h()("".concat(z,"-suffix"),Ae==null?void 0:Ae.suffix),style:me==null?void 0:me.suffix},F,C);x=V.createElement(Te,(0,k.Z)({className:ce,style:me==null?void 0:me.affixWrapper,onClick:q},mt==null?void 0:mt.affixWrapper,{ref:S}),Ee&&V.createElement("span",{className:h()("".concat(z,"-prefix"),Ae==null?void 0:Ae.prefix),style:me==null?void 0:me.prefix},Ee),x,ie)}if((0,H.He)(f)){var we="".concat(z,"-group"),Me="".concat(we,"-addon"),je="".concat(we,"-wrapper"),Ke=h()("".concat(z,"-wrapper"),we,De==null?void 0:De.wrapper,Ae==null?void 0:Ae.wrapper),ke=h()(je,(0,B.Z)({},"".concat(je,"-disabled"),b),De==null?void 0:De.group,Ae==null?void 0:Ae.groupWrapper);x=V.createElement(ae,{className:ke,ref:v},V.createElement(y,{className:Ke},_&&V.createElement(M,{className:Me},_),x,E&&V.createElement(M,{className:Me},E)))}return V.cloneElement(x,{className:h()((T=x.props)===null||T===void 0?void 0:T.className,P)||null,style:(0,O.Z)((0,O.Z)({},(K=x.props)===null||K===void 0?void 0:K.style),R),hidden:ve})}),s=e,c=l(15142),t=l(16886),r=l(33346),i=l(18929),o=l(2738),m=l(66003),w=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],N=(0,V.forwardRef)(function(f,u){var D=f.autoComplete,T=f.onChange,K=f.onFocus,L=f.onBlur,$=f.onPressEnter,z=f.onKeyDown,Ee=f.onKeyUp,C=f.prefixCls,_=C===void 0?"rc-input":C,E=f.disabled,P=f.htmlSize,R=f.className,b=f.maxLength,n=f.suffix,a=f.showCount,d=f.count,A=f.type,re=A===void 0?"text":A,de=f.classes,ve=f.classNames,De=f.styles,Ae=f.onCompositionStart,mt=f.onCompositionEnd,me=(0,r.Z)(f,w),Xe=(0,V.useState)(!1),Ne=(0,t.Z)(Xe,2),Qe=Ne[0],Te=Ne[1],ae=(0,V.useRef)(!1),y=(0,V.useRef)(!1),M=(0,V.useRef)(null),S=(0,V.useRef)(null),q=function(ot){M.current&&(0,H.nH)(M.current,ot)},te=(0,i.Z)(f.defaultValue,{value:f.value}),x=(0,t.Z)(te,2),v=x[0],F=x[1],X=v==null?"":String(v),Z=(0,V.useState)(null),U=(0,t.Z)(Z,2),j=U[0],ce=U[1],ie=(0,m.Z)(d,a),we=ie.max||b,Me=ie.strategy(X),je=!!we&&Me>we;(0,V.useImperativeHandle)(u,function(){var ht;return{focus:q,blur:function(){var Kt;(Kt=M.current)===null||Kt===void 0||Kt.blur()},setSelectionRange:function(Kt,nn,At){var gt;(gt=M.current)===null||gt===void 0||gt.setSelectionRange(Kt,nn,At)},select:function(){var Kt;(Kt=M.current)===null||Kt===void 0||Kt.select()},input:M.current,nativeElement:((ht=S.current)===null||ht===void 0?void 0:ht.nativeElement)||M.current}}),(0,V.useEffect)(function(){y.current&&(y.current=!1),Te(function(ht){return ht&&E?!1:ht})},[E]);var Ke=function(ot,Kt,nn){var At=Kt;if(!ae.current&&ie.exceedFormatter&&ie.max&&ie.strategy(Kt)>ie.max){if(At=ie.exceedFormatter(Kt,{max:ie.max}),Kt!==At){var gt,Ft;ce([((gt=M.current)===null||gt===void 0?void 0:gt.selectionStart)||0,((Ft=M.current)===null||Ft===void 0?void 0:Ft.selectionEnd)||0])}}else if(nn.source==="compositionEnd")return;F(At),M.current&&(0,H.rJ)(M.current,ot,T,At)};(0,V.useEffect)(function(){if(j){var ht;(ht=M.current)===null||ht===void 0||ht.setSelectionRange.apply(ht,(0,c.Z)(j))}},[j]);var ke=function(ot){Ke(ot,ot.target.value,{source:"change"})},ue=function(ot){ae.current=!1,Ke(ot,ot.currentTarget.value,{source:"compositionEnd"}),mt==null||mt(ot)},Le=function(ot){$&&ot.key==="Enter"&&!y.current&&(y.current=!0,$(ot)),z==null||z(ot)},Pe=function(ot){ot.key==="Enter"&&(y.current=!1),Ee==null||Ee(ot)},Re=function(ot){Te(!0),K==null||K(ot)},dt=function(ot){y.current&&(y.current=!1),Te(!1),L==null||L(ot)},xt=function(ot){F(""),q(),M.current&&(0,H.rJ)(M.current,ot,T)},Ie=je&&"".concat(_,"-out-of-range"),Lt=function(){var ot=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return V.createElement("input",(0,k.Z)({autoComplete:D},ot,{onChange:ke,onFocus:Re,onBlur:dt,onKeyDown:Le,onKeyUp:Pe,className:h()(_,(0,B.Z)({},"".concat(_,"-disabled"),E),ve==null?void 0:ve.input),style:De==null?void 0:De.input,ref:M,size:P,type:re,onCompositionStart:function(nn){ae.current=!0,Ae==null||Ae(nn)},onCompositionEnd:ue}))},en=function(){var ot=Number(we)>0;if(n||ie.show){var Kt=ie.showFormatter?ie.showFormatter({value:X,count:Me,maxLength:we}):"".concat(Me).concat(ot?" / ".concat(we):"");return V.createElement(V.Fragment,null,ie.show&&V.createElement("span",{className:h()("".concat(_,"-show-count-suffix"),(0,B.Z)({},"".concat(_,"-show-count-has-suffix"),!!n),ve==null?void 0:ve.count),style:(0,O.Z)({},De==null?void 0:De.count)},Kt),n)}return null};return V.createElement(s,(0,k.Z)({},me,{prefixCls:_,className:h()(R,Ie),handleReset:xt,value:X,focused:Qe,triggerFocus:q,suffix:en(),disabled:E,classes:de,classNames:ve,styles:De}),Lt())}),p=N,g=p},30292:function(Bt,Ze,l){"use strict";l.d(Ze,{He:function(){return O},X3:function(){return k},nH:function(){return W},rJ:function(){return G}});function O(h){return!!(h.addonBefore||h.addonAfter)}function k(h){return!!(h.prefix||h.suffix||h.allowClear)}function B(h,V,H){var e=V.cloneNode(!0),s=Object.create(h,{target:{value:e},currentTarget:{value:e}});return e.value=H,typeof V.selectionStart=="number"&&typeof V.selectionEnd=="number"&&(e.selectionStart=V.selectionStart,e.selectionEnd=V.selectionEnd),e.setSelectionRange=function(){V.setSelectionRange.apply(V,arguments)},s}function G(h,V,H,e){if(H){var s=V;if(V.type==="click"){s=B(V,h,""),H(s);return}if(h.type!=="file"&&e!==void 0){s=B(V,h,e),H(s);return}H(s)}}function W(h,V){if(h){h.focus(V);var H=V||{},e=H.cursor;if(e){var s=h.value.length;switch(e){case"start":h.setSelectionRange(0,0);break;case"end":h.setSelectionRange(s,s);break;default:h.setSelectionRange(0,s)}}}}},28321:function(Bt,Ze,l){"use strict";l.d(Ze,{iz:function(){return Q},ck:function(){return At},BW:function(){return He},sN:function(){return At},Wd:function(){return an},ZP:function(){return ze},Xl:function(){return $}});var O=l(67711),k=l(52873),B=l(98506),G=l(15142),W=l(16886),h=l(33346),V=l(92310),H=l.n(V),e=l(11780),s=l(18929),c=l(13697),t=l(48736),r=l(59301),i=l(4676),o=r.createContext(null);function m(Y,fe){return Y===void 0?null:"".concat(Y,"-").concat(fe)}function w(Y){var fe=r.useContext(o);return m(fe,Y)}var N=l(80547),p=["children","locked"],g=r.createContext(null);function f(Y,fe){var pe=(0,B.Z)({},Y);return Object.keys(fe).forEach(function(ge){var Fe=fe[ge];Fe!==void 0&&(pe[ge]=Fe)}),pe}function u(Y){var fe=Y.children,pe=Y.locked,ge=(0,h.Z)(Y,p),Fe=r.useContext(g),Ge=(0,N.Z)(function(){return f(Fe,ge)},[Fe,ge],function(Je,lt){return!pe&&(Je[0]!==lt[0]||!(0,c.Z)(Je[1],lt[1],!0))});return r.createElement(g.Provider,{value:Ge},fe)}var D=[],T=r.createContext(null);function K(){return r.useContext(T)}var L=r.createContext(D);function $(Y){var fe=r.useContext(L);return r.useMemo(function(){return Y!==void 0?[].concat((0,G.Z)(fe),[Y]):fe},[fe,Y])}var z=r.createContext(null),Ee=r.createContext({}),C=Ee,_=l(29194);function E(Y){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(Y)){var pe=Y.nodeName.toLowerCase(),ge=["input","select","textarea","button"].includes(pe)||Y.isContentEditable||pe==="a"&&!!Y.getAttribute("href"),Fe=Y.getAttribute("tabindex"),Ge=Number(Fe),Je=null;return Fe&&!Number.isNaN(Ge)?Je=Ge:ge&&Je===null&&(Je=0),ge&&Y.disabled&&(Je=null),Je!==null&&(Je>=0||fe&&Je<0)}return!1}function P(Y){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pe=(0,G.Z)(Y.querySelectorAll("*")).filter(function(ge){return E(ge,fe)});return E(Y,fe)&&pe.unshift(Y),pe}var R=null;function b(){R=document.activeElement}function n(){R=null}function a(){if(R)try{R.focus()}catch(Y){}}function d(Y,fe){if(fe.keyCode===9){var pe=P(Y),ge=pe[fe.shiftKey?0:pe.length-1],Fe=ge===document.activeElement||Y===document.activeElement;if(Fe){var Ge=pe[fe.shiftKey?pe.length-1:0];Ge.focus(),fe.preventDefault()}}}var A=l(10228),re=l(16089),de=A.Z.LEFT,ve=A.Z.RIGHT,De=A.Z.UP,Ae=A.Z.DOWN,mt=A.Z.ENTER,me=A.Z.ESC,Xe=A.Z.HOME,Ne=A.Z.END,Qe=[De,Ae,de,ve];function Te(Y,fe,pe,ge){var Fe,Ge="prev",Je="next",lt="children",yt="parent";if(Y==="inline"&&ge===mt)return{inlineTrigger:!0};var St=(0,k.Z)((0,k.Z)({},De,Ge),Ae,Je),cn=(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},de,pe?Je:Ge),ve,pe?Ge:Je),Ae,lt),mt,lt),Rt=(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},De,Ge),Ae,Je),mt,lt),me,yt),de,pe?lt:yt),ve,pe?yt:lt),Pt={inline:St,horizontal:cn,vertical:Rt,inlineSub:St,horizontalSub:Rt,verticalSub:Rt},zt=(Fe=Pt["".concat(Y).concat(fe?"":"Sub")])===null||Fe===void 0?void 0:Fe[ge];switch(zt){case Ge:return{offset:-1,sibling:!0};case Je:return{offset:1,sibling:!0};case yt:return{offset:-1,sibling:!1};case lt:return{offset:1,sibling:!1};default:return null}}function ae(Y){for(var fe=Y;fe;){if(fe.getAttribute("data-menu-list"))return fe;fe=fe.parentElement}return null}function y(Y,fe){for(var pe=Y||document.activeElement;pe;){if(fe.has(pe))return pe;pe=pe.parentElement}return null}function M(Y,fe){var pe=P(Y,!0);return pe.filter(function(ge){return fe.has(ge)})}function S(Y,fe,pe){var ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Y)return null;var Fe=M(Y,fe),Ge=Fe.length,Je=Fe.findIndex(function(lt){return pe===lt});return ge<0?Je===-1?Je=Ge-1:Je-=1:ge>0&&(Je+=1),Je=(Je+Ge)%Ge,Fe[Je]}var q=function(fe,pe){var ge=new Set,Fe=new Map,Ge=new Map;return fe.forEach(function(Je){var lt=document.querySelector("[data-menu-id='".concat(m(pe,Je),"']"));lt&&(ge.add(lt),Ge.set(lt,Je),Fe.set(Je,lt))}),{elements:ge,key2element:Fe,element2key:Ge}};function te(Y,fe,pe,ge,Fe,Ge,Je,lt,yt,St){var cn=r.useRef(),Rt=r.useRef();Rt.current=fe;var Pt=function(){re.Z.cancel(cn.current)};return r.useEffect(function(){return function(){Pt()}},[]),function(zt){var Gt=zt.which;if([].concat(Qe,[mt,me,Xe,Ne]).includes(Gt)){var Vt=Ge(),Nt=q(Vt,ge),Dt=Nt,rt=Dt.elements,ft=Dt.key2element,vt=Dt.element2key,Yt=ft.get(fe),It=y(Yt,rt),Ht=vt.get(It),Tn=Te(Y,Je(Ht,!0).length===1,pe,Gt);if(!Tn&&Gt!==Xe&&Gt!==Ne)return;(Qe.includes(Gt)||[Xe,Ne].includes(Gt))&&zt.preventDefault();var I=function(xe){if(xe){var ne=xe,le=xe.querySelector("a");le!=null&&le.getAttribute("href")&&(ne=le);var he=vt.get(xe);lt(he),Pt(),cn.current=(0,re.Z)(function(){Rt.current===he&&ne.focus()})}};if([Xe,Ne].includes(Gt)||Tn.sibling||!It){var oe;!It||Y==="inline"?oe=Fe.current:oe=ae(It);var ee,se=M(oe,rt);Gt===Xe?ee=se[0]:Gt===Ne?ee=se[se.length-1]:ee=S(oe,rt,It,Tn.offset),I(ee)}else if(Tn.inlineTrigger)yt(Ht);else if(Tn.offset>0)yt(Ht,!0),Pt(),cn.current=(0,re.Z)(function(){Nt=q(Vt,ge);var Oe=It.getAttribute("aria-controls"),xe=document.getElementById(Oe),ne=S(xe,Nt.elements);I(ne)},5);else if(Tn.offset<0){var _e=Je(Ht,!0),be=_e[_e.length-2],Be=ft.get(be);yt(be,!1),I(Be)}}St==null||St(zt)}}function x(Y){Promise.resolve().then(Y)}var v="__RC_UTIL_PATH_SPLIT__",F=function(fe){return fe.join(v)},X=function(fe){return fe.split(v)},Z="rc-menu-more";function U(){var Y=r.useState({}),fe=(0,W.Z)(Y,2),pe=fe[1],ge=(0,r.useRef)(new Map),Fe=(0,r.useRef)(new Map),Ge=r.useState([]),Je=(0,W.Z)(Ge,2),lt=Je[0],yt=Je[1],St=(0,r.useRef)(0),cn=(0,r.useRef)(!1),Rt=function(){cn.current||pe({})},Pt=(0,r.useCallback)(function(ft,vt){var Yt=F(vt);Fe.current.set(Yt,ft),ge.current.set(ft,Yt),St.current+=1;var It=St.current;x(function(){It===St.current&&Rt()})},[]),zt=(0,r.useCallback)(function(ft,vt){var Yt=F(vt);Fe.current.delete(Yt),ge.current.delete(ft)},[]),Gt=(0,r.useCallback)(function(ft){yt(ft)},[]),Vt=(0,r.useCallback)(function(ft,vt){var Yt=ge.current.get(ft)||"",It=X(Yt);return vt&<.includes(It[0])&&It.unshift(Z),It},[lt]),Nt=(0,r.useCallback)(function(ft,vt){return ft.filter(function(Yt){return Yt!==void 0}).some(function(Yt){var It=Vt(Yt,!0);return It.includes(vt)})},[Vt]),Dt=function(){var vt=(0,G.Z)(ge.current.keys());return lt.length&&vt.push(Z),vt},rt=(0,r.useCallback)(function(ft){var vt="".concat(ge.current.get(ft)).concat(v),Yt=new Set;return(0,G.Z)(Fe.current.keys()).forEach(function(It){It.startsWith(vt)&&Yt.add(Fe.current.get(It))}),Yt},[]);return r.useEffect(function(){return function(){cn.current=!0}},[]),{registerPath:Pt,unregisterPath:zt,refreshOverflowKeys:Gt,isSubPathKey:Nt,getKeyPath:Vt,getKeys:Dt,getSubPathKeys:rt}}function j(Y){var fe=r.useRef(Y);fe.current=Y;var pe=r.useCallback(function(){for(var ge,Fe=arguments.length,Ge=new Array(Fe),Je=0;Je1&&(rt.motionAppear=!1);var ft=rt.onVisibleChanged;return rt.onVisibleChanged=function(vt){return!Pt.current&&!vt&&Nt(!0),ft==null?void 0:ft(vt)},Vt?null:r.createElement(u,{mode:Ge,locked:!Pt.current},r.createElement(On.default,(0,O.Z)({visible:Dt},rt,{forceRender:yt,removeOnLeave:!1,leavedClassName:"".concat(lt,"-hidden")}),function(vt){var Yt=vt.className,It=vt.style;return r.createElement(Mt,{id:fe,className:Yt,style:It},Fe)}))}var Dn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],st=["active"],et=r.forwardRef(function(Y,fe){var pe=Y.style,ge=Y.className,Fe=Y.title,Ge=Y.eventKey,Je=Y.warnKey,lt=Y.disabled,yt=Y.internalPopupClose,St=Y.children,cn=Y.itemIcon,Rt=Y.expandIcon,Pt=Y.popupClassName,zt=Y.popupOffset,Gt=Y.popupStyle,Vt=Y.onClick,Nt=Y.onMouseEnter,Dt=Y.onMouseLeave,rt=Y.onTitleClick,ft=Y.onTitleMouseEnter,vt=Y.onTitleMouseLeave,Yt=(0,h.Z)(Y,Dn),It=w(Ge),Ht=r.useContext(g),Tn=Ht.prefixCls,I=Ht.mode,oe=Ht.openKeys,ee=Ht.disabled,se=Ht.overflowDisabled,_e=Ht.activeKey,be=Ht.selectedKeys,Be=Ht.itemIcon,Oe=Ht.expandIcon,xe=Ht.onItemClick,ne=Ht.onOpenChange,le=Ht.onActive,he=r.useContext(C),ye=he._internalRenderSubMenuItem,Ce=r.useContext(z),Ye=Ce.isSubPathKey,pt=$(),it="".concat(Tn,"-submenu"),kt=ee||lt,Ut=r.useRef(),Tt=r.useRef(),Jt=cn!=null?cn:Be,bt=Rt!=null?Rt:Oe,pn=oe.includes(Ge),on=!se&&pn,_n=Ye(be,Ge),Xt=Pe(Ge,kt,ft,vt),rn=Xt.active,yn=(0,h.Z)(Xt,st),ln=r.useState(!1),dn=(0,W.Z)(ln,2),jt=dn[0],wt=dn[1],Zt=function(Nn){kt||wt(Nn)},Qt=function(Nn){Zt(!0),Nt==null||Nt({key:Ge,domEvent:Nn})},hn=function(Nn){Zt(!1),Dt==null||Dt({key:Ge,domEvent:Nn})},un=r.useMemo(function(){return rn||(I!=="inline"?jt||Ye([_e],Ge):!1)},[I,rn,_e,jt,Ge,Ye]),fn=Re(pt.length),Un=function(Nn){kt||(rt==null||rt({key:Ge,domEvent:Nn}),I==="inline"&&ne(Ge,!pn))},Xn=j(function(xn){Vt==null||Vt(Ie(xn)),xe(xn)}),$n=function(Nn){I!=="inline"&&ne(Ge,Nn)},or=function(){le(Ge)},ar=It&&"".concat(It,"-popup"),qn=r.useMemo(function(){return r.createElement(dt,{icon:I!=="horizontal"?bt:void 0,props:(0,B.Z)((0,B.Z)({},Y),{},{isOpen:on,isSubMenu:!0})},r.createElement("i",{className:"".concat(it,"-arrow")}))},[I,bt,Y,on,it]),wn=r.createElement("div",(0,O.Z)({role:"menuitem",style:fn,className:"".concat(it,"-title"),tabIndex:kt?null:-1,ref:Ut,title:typeof Fe=="string"?Fe:null,"data-menu-id":se&&It?null:It,"aria-expanded":on,"aria-haspopup":!0,"aria-controls":ar,"aria-disabled":kt,onClick:Un,onFocus:or},yn),Fe,qn),An=r.useRef(I);if(I!=="inline"&&pt.length>1?An.current="vertical":An.current=I,!se){var Gn=An.current;wn=r.createElement(Rn,{mode:Gn,prefixCls:it,visible:!yt&&on&&I!=="inline",popupClassName:Pt,popupOffset:zt,popupStyle:Gt,popup:r.createElement(u,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(Mt,{id:ar,ref:Tt},St)),disabled:kt,onVisibleChange:$n},wn)}var En=r.createElement(e.Z.Item,(0,O.Z)({ref:fe,role:"none"},Yt,{component:"li",style:pe,className:H()(it,"".concat(it,"-").concat(I),ge,(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},"".concat(it,"-open"),on),"".concat(it,"-active"),un),"".concat(it,"-selected"),_n),"".concat(it,"-disabled"),kt)),onMouseEnter:Qt,onMouseLeave:hn}),wn,!se&&r.createElement(gn,{id:ar,open:on,keyPath:pt},St));return ye&&(En=ye(En,Y,{selected:_n,active:un,open:on,disabled:kt})),r.createElement(u,{onItemClick:Xn,mode:I==="horizontal"?"vertical":I,itemIcon:Jt,expandIcon:bt},En)}),_t=r.forwardRef(function(Y,fe){var pe=Y.eventKey,ge=Y.children,Fe=$(pe),Ge=Et(ge,Fe),Je=K();r.useEffect(function(){if(Je)return Je.registerPath(pe,Fe),function(){Je.unregisterPath(pe,Fe)}},[Fe]);var lt;return Je?lt=Ge:lt=r.createElement(et,(0,O.Z)({ref:fe},Y),Ge),r.createElement(L.Provider,{value:Fe},lt)}),an=_t,Sn=l(26420);function Q(Y){var fe=Y.className,pe=Y.style,ge=r.useContext(g),Fe=ge.prefixCls,Ge=K();return Ge?null:r.createElement("li",{role:"separator",className:H()("".concat(Fe,"-item-divider"),fe),style:pe})}var J=["className","title","eventKey","children"],We=r.forwardRef(function(Y,fe){var pe=Y.className,ge=Y.title,Fe=Y.eventKey,Ge=Y.children,Je=(0,h.Z)(Y,J),lt=r.useContext(g),yt=lt.prefixCls,St="".concat(yt,"-item-group");return r.createElement("li",(0,O.Z)({ref:fe,role:"presentation"},Je,{onClick:function(Rt){return Rt.stopPropagation()},className:H()(St,pe)}),r.createElement("div",{role:"presentation",className:"".concat(St,"-title"),title:typeof ge=="string"?ge:void 0},ge),r.createElement("ul",{role:"group",className:"".concat(St,"-list")},Ge))}),Se=r.forwardRef(function(Y,fe){var pe=Y.eventKey,ge=Y.children,Fe=$(pe),Ge=Et(ge,Fe),Je=K();return Je?Ge:r.createElement(We,(0,O.Z)({ref:fe},(0,ue.Z)(Y,["warnKey"])),Ge)}),He=Se,qe=["label","children","key","type","extra"];function Ve(Y,fe,pe){var ge=fe.item,Fe=fe.group,Ge=fe.submenu,Je=fe.divider;return(Y||[]).map(function(lt,yt){if(lt&&(0,Sn.Z)(lt)==="object"){var St=lt,cn=St.label,Rt=St.children,Pt=St.key,zt=St.type,Gt=St.extra,Vt=(0,h.Z)(St,qe),Nt=Pt!=null?Pt:"tmp-".concat(yt);return Rt||zt==="group"?zt==="group"?r.createElement(Fe,(0,O.Z)({key:Nt},Vt,{title:cn}),Ve(Rt,fe,pe)):r.createElement(Ge,(0,O.Z)({key:Nt},Vt,{title:cn}),Ve(Rt,fe,pe)):zt==="divider"?r.createElement(Je,(0,O.Z)({key:Nt},Vt)):r.createElement(ge,(0,O.Z)({key:Nt},Vt,{extra:Gt}),cn,(!!Gt||Gt===0)&&r.createElement("span",{className:"".concat(pe,"-item-extra")},Gt))}return null}).filter(function(lt){return lt})}function Ue(Y,fe,pe,ge,Fe){var Ge=Y,Je=(0,B.Z)({divider:Q,item:At,group:He,submenu:an},ge);return fe&&(Ge=Ve(fe,Je,Fe)),Et(Ge,pe)}var at=["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","_internalComponents"],$e=[],nt=r.forwardRef(function(Y,fe){var pe,ge=Y,Fe=ge.prefixCls,Ge=Fe===void 0?"rc-menu":Fe,Je=ge.rootClassName,lt=ge.style,yt=ge.className,St=ge.tabIndex,cn=St===void 0?0:St,Rt=ge.items,Pt=ge.children,zt=ge.direction,Gt=ge.id,Vt=ge.mode,Nt=Vt===void 0?"vertical":Vt,Dt=ge.inlineCollapsed,rt=ge.disabled,ft=ge.disabledOverflow,vt=ge.subMenuOpenDelay,Yt=vt===void 0?.1:vt,It=ge.subMenuCloseDelay,Ht=It===void 0?.1:It,Tn=ge.forceSubMenuRender,I=ge.defaultOpenKeys,oe=ge.openKeys,ee=ge.activeKey,se=ge.defaultActiveFirst,_e=ge.selectable,be=_e===void 0?!0:_e,Be=ge.multiple,Oe=Be===void 0?!1:Be,xe=ge.defaultSelectedKeys,ne=ge.selectedKeys,le=ge.onSelect,he=ge.onDeselect,ye=ge.inlineIndent,Ce=ye===void 0?24:ye,Ye=ge.motion,pt=ge.defaultMotions,it=ge.triggerSubMenuAction,kt=it===void 0?"hover":it,Ut=ge.builtinPlacements,Tt=ge.itemIcon,Jt=ge.expandIcon,bt=ge.overflowedIndicator,pn=bt===void 0?"...":bt,on=ge.overflowedIndicatorPopupClassName,_n=ge.getPopupContainer,Xt=ge.onClick,rn=ge.onOpenChange,yn=ge.onKeyDown,ln=ge.openAnimation,dn=ge.openTransitionName,jt=ge._internalRenderMenuItem,wt=ge._internalRenderSubMenuItem,Zt=ge._internalComponents,Qt=(0,h.Z)(ge,at),hn=r.useMemo(function(){return[Ue(Pt,Rt,$e,Zt,Ge),Ue(Pt,Rt,$e,{},Ge)]},[Pt,Rt,Zt]),un=(0,W.Z)(hn,2),fn=un[0],Un=un[1],Xn=r.useState(!1),$n=(0,W.Z)(Xn,2),or=$n[0],ar=$n[1],qn=r.useRef(),wn=we(Gt),An=zt==="rtl",Gn=(0,s.Z)(I,{value:oe,postState:function(Vn){return Vn||$e}}),En=(0,W.Z)(Gn,2),xn=En[0],Nn=En[1],Ot=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vr(){Nn(Vn),rn==null||rn(Vn)}Yn?(0,i.flushSync)(vr):vr()},qt=r.useState(xn),tn=(0,W.Z)(qt,2),sn=tn[0],kn=tn[1],Fn=r.useRef(!1),ir=r.useMemo(function(){return(Nt==="inline"||Nt==="vertical")&&Dt?["vertical",Dt]:[Nt,!1]},[Nt,Dt]),Ct=(0,W.Z)(ir,2),$t=Ct[0],Wt=Ct[1],In=$t==="inline",zn=r.useState($t),Hn=(0,W.Z)(zn,2),cr=Hn[0],dr=Hn[1],lr=r.useState(Wt),Jn=(0,W.Z)(lr,2),Fr=Jn[0],Br=Jn[1];r.useEffect(function(){dr($t),Br(Wt),Fn.current&&(In?Nn(sn):Ot($e))},[$t,Wt]);var Sr=r.useState(0),Tr=(0,W.Z)(Sr,2),Pr=Tr[0],Or=Tr[1],Ar=Pr>=fn.length-1||cr!=="horizontal"||ft;r.useEffect(function(){In&&kn(xn)},[xn]),r.useEffect(function(){return Fn.current=!0,function(){Fn.current=!1}},[]);var br=U(),Mr=br.registerPath,Nr=br.unregisterPath,zr=br.refreshOverflowKeys,Dr=br.isSubPathKey,$r=br.getKeyPath,Ir=br.getKeys,Gr=br.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:Mr,unregisterPath:Nr}},[Mr,Nr]),Wr=r.useMemo(function(){return{isSubPathKey:Dr}},[Dr]);r.useEffect(function(){zr(Ar?$e:fn.slice(Pr+1).map(function(tr){return tr.key}))},[Pr,Ar]);var kr=(0,s.Z)(ee||se&&((pe=fn[0])===null||pe===void 0?void 0:pe.key),{value:ee}),hr=(0,W.Z)(kr,2),ur=hr[0],Mn=hr[1],Pn=j(function(tr){Mn(tr)}),nr=j(function(){Mn(void 0)});(0,r.useImperativeHandle)(fe,function(){return{list:qn.current,focus:function(Vn){var Yn,vr=Ir(),fr=q(vr,wn),Cr=fr.elements,Xr=fr.key2element,ea=fr.element2key,ta=M(qn.current,Cr),Jr=ur!=null?ur:ta[0]?ea.get(ta[0]):(Yn=fn.find(function(Vr){return!Vr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Zr=Xr.get(Jr);if(Jr&&Zr){var Ur;Zr==null||(Ur=Zr.focus)===null||Ur===void 0||Ur.call(Zr,Vn)}}}});var Qn=(0,s.Z)(xe||[],{value:ne,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?$e:[Vn]}}),er=(0,W.Z)(Qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(be){var Yn=Vn.key,vr=rr.includes(Yn),fr;Oe?vr?fr=rr.filter(function(Xr){return Xr!==Yn}):fr=[].concat((0,G.Z)(rr),[Yn]):fr=[Yn],yr(fr);var Cr=(0,B.Z)((0,B.Z)({},Vn),{},{selectedKeys:fr});vr?he==null||he(Cr):le==null||le(Cr)}!Oe&&xn.length&&cr!=="inline"&&Ot($e)},xr=j(function(tr){Xt==null||Xt(Ie(tr)),gr(tr)}),sr=j(function(tr,Vn){var Yn=xn.filter(function(fr){return fr!==tr});if(Vn)Yn.push(tr);else if(cr!=="inline"){var vr=Gr(tr);Yn=Yn.filter(function(fr){return!vr.has(fr)})}(0,c.Z)(xn,Yn,!0)||Ot(Yn,!0)}),mr=function(Vn,Yn){var vr=Yn!=null?Yn:!xn.includes(Vn);sr(Vn,vr)},Rr=te(cr,ur,An,wn,qn,Ir,$r,Mn,mr,yn);r.useEffect(function(){ar(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:jt,_internalRenderSubMenuItem:wt}},[jt,wt]),Yr=cr!=="horizontal"||ft?fn:fn.map(function(tr,Vn){return r.createElement(u,{key:tr.key,overflowDisabled:Vn>Pr},tr)}),qr=r.createElement(e.Z,(0,O.Z)({id:Gt,ref:qn,prefixCls:"".concat(Ge,"-overflow"),component:"ul",itemComponent:At,className:H()(Ge,"".concat(Ge,"-root"),"".concat(Ge,"-").concat(cr),yt,(0,k.Z)((0,k.Z)({},"".concat(Ge,"-inline-collapsed"),Fr),"".concat(Ge,"-rtl"),An),Je),dir:zt,style:lt,role:"menu",tabIndex:cn,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Yn=Vn.length,vr=Yn?fn.slice(-Yn):null;return r.createElement(an,{eventKey:Z,title:pn,disabled:Ar,internalPopupClose:Yn===0,popupClassName:on},vr)},maxCount:cr!=="horizontal"||ft?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){Or(Vn)},onKeyDown:Rr},Qt));return r.createElement(C.Provider,{value:Er},r.createElement(o.Provider,{value:wn},r.createElement(u,{prefixCls:Ge,rootClassName:Je,mode:cr,openKeys:xn,rtl:An,disabled:rt,motion:or?Ye:null,defaultMotions:or?pt:null,activeKey:ur,onActive:Pn,onInactive:nr,selectedKeys:rr,inlineIndent:Ce,subMenuOpenDelay:Yt,subMenuCloseDelay:Ht,forceSubMenuRender:Tn,builtinPlacements:Ut,triggerSubMenuAction:kt,getPopupContainer:_n,itemIcon:Tt,expandIcon:Jt,onItemClick:xr,onOpenChange:sr},r.createElement(z.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(T.Provider,{value:jr},Un)))))}),ct=nt,tt=ct;tt.Item=At,tt.SubMenu=an,tt.ItemGroup=He,tt.Divider=Q;var ze=tt},11780:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return b}});var O=l(67711),k=l(98506),B=l(16886),G=l(33346),W=l(59301),h=l(92310),V=l.n(h),H=l(29301),e=l(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],c=void 0;function t(n,a){var d=n.prefixCls,A=n.invalidate,re=n.item,de=n.renderItem,ve=n.responsive,De=n.responsiveDisabled,Ae=n.registerSize,mt=n.itemKey,me=n.className,Xe=n.style,Ne=n.children,Qe=n.display,Te=n.order,ae=n.component,y=ae===void 0?"div":ae,M=(0,G.Z)(n,s),S=ve&&!Qe;function q(X){Ae(mt,X)}W.useEffect(function(){return function(){q(null)}},[]);var te=de&&re!==c?de(re,{index:Te}):Ne,x;A||(x={opacity:S?0:1,height:S?0:c,overflowY:S?"hidden":c,order:ve?Te:c,pointerEvents:S?"none":c,position:S?"absolute":c});var v={};S&&(v["aria-hidden"]=!0);var F=W.createElement(y,(0,O.Z)({className:V()(!A&&d,me),style:(0,k.Z)((0,k.Z)({},x),Xe)},v,M,{ref:a}),te);return ve&&(F=W.createElement(H.Z,{onResize:function(Z){var U=Z.offsetWidth;q(U)},disabled:De},F)),F}var r=W.forwardRef(t);r.displayName="Item";var i=r,o=l(6089),m=l(4676),w=l(16089);function N(n){if(typeof MessageChannel=="undefined")(0,w.Z)(n);else{var a=new MessageChannel;a.port1.onmessage=function(){return n()},a.port2.postMessage(void 0)}}function p(){var n=W.useRef(null),a=function(A){n.current||(n.current=[],N(function(){(0,m.unstable_batchedUpdates)(function(){n.current.forEach(function(re){re()}),n.current=null})})),n.current.push(A)};return a}function g(n,a){var d=W.useState(a),A=(0,B.Z)(d,2),re=A[0],de=A[1],ve=(0,o.Z)(function(De){n(function(){de(De)})});return[re,ve]}var f=W.createContext(null),u=["component"],D=["className"],T=["className"],K=function(a,d){var A=W.useContext(f);if(!A){var re=a.component,de=re===void 0?"div":re,ve=(0,G.Z)(a,u);return W.createElement(de,(0,O.Z)({},ve,{ref:d}))}var De=A.className,Ae=(0,G.Z)(A,D),mt=a.className,me=(0,G.Z)(a,T);return W.createElement(f.Provider,{value:null},W.createElement(i,(0,O.Z)({ref:d,className:V()(De,mt)},Ae,me)))},L=W.forwardRef(K);L.displayName="RawItem";var $=L,z=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ee="responsive",C="invalidate";function _(n){return"+ ".concat(n.length," ...")}function E(n,a){var d=n.prefixCls,A=d===void 0?"rc-overflow":d,re=n.data,de=re===void 0?[]:re,ve=n.renderItem,De=n.renderRawItem,Ae=n.itemKey,mt=n.itemWidth,me=mt===void 0?10:mt,Xe=n.ssr,Ne=n.style,Qe=n.className,Te=n.maxCount,ae=n.renderRest,y=n.renderRawRest,M=n.suffix,S=n.component,q=S===void 0?"div":S,te=n.itemComponent,x=n.onVisibleChange,v=(0,G.Z)(n,z),F=Xe==="full",X=p(),Z=g(X,null),U=(0,B.Z)(Z,2),j=U[0],ce=U[1],ie=j||0,we=g(X,new Map),Me=(0,B.Z)(we,2),je=Me[0],Ke=Me[1],ke=g(X,0),ue=(0,B.Z)(ke,2),Le=ue[0],Pe=ue[1],Re=g(X,0),dt=(0,B.Z)(Re,2),xt=dt[0],Ie=dt[1],Lt=g(X,0),en=(0,B.Z)(Lt,2),ht=en[0],ot=en[1],Kt=(0,W.useState)(null),nn=(0,B.Z)(Kt,2),At=nn[0],gt=nn[1],Ft=(0,W.useState)(null),vn=(0,B.Z)(Ft,2),Mt=vn[0],ut=vn[1],Et=W.useMemo(function(){return Mt===null&&F?Number.MAX_SAFE_INTEGER:Mt||0},[Mt,j]),Zn=(0,W.useState)(!1),mn=(0,B.Z)(Zn,2),Ln=mn[0],jn=mn[1],bn="".concat(A,"-item"),Cn=Math.max(Le,xt),Kn=Te===Ee,Rn=de.length&&Kn,On=Te===C,gn=Rn||typeof Te=="number"&&de.length>Te,Dn=(0,W.useMemo)(function(){var tt=de;return Rn?j===null&&F?tt=de:tt=de.slice(0,Math.min(de.length,ie/me)):typeof Te=="number"&&(tt=de.slice(0,Te)),tt},[de,me,j,Te,Rn]),st=(0,W.useMemo)(function(){return Rn?de.slice(Et+1):de.slice(Dn.length)},[de,Dn,Rn,Et]),et=(0,W.useCallback)(function(tt,ze){var Y;return typeof Ae=="function"?Ae(tt):(Y=Ae&&(tt==null?void 0:tt[Ae]))!==null&&Y!==void 0?Y:ze},[Ae]),_t=(0,W.useCallback)(ve||function(tt){return tt},[ve]);function an(tt,ze,Y){Mt===tt&&(ze===void 0||ze===At)||(ut(tt),Y||(jn(ttie){an(fe-1,tt-pe-ht+xt);break}}M&&Se(0)+ht>ie&>(null)}},[ie,je,xt,ht,et,Dn]);var He=Ln&&!!st.length,qe={};At!==null&&Rn&&(qe={position:"absolute",left:At,top:0});var Ve={prefixCls:bn,responsive:Rn,component:te,invalidate:On},Ue=De?function(tt,ze){var Y=et(tt,ze);return W.createElement(f.Provider,{key:Y,value:(0,k.Z)((0,k.Z)({},Ve),{},{order:ze,item:tt,itemKey:Y,registerSize:Q,display:ze<=Et})},De(tt,ze))}:function(tt,ze){var Y=et(tt,ze);return W.createElement(i,(0,O.Z)({},Ve,{order:ze,key:Y,item:tt,renderItem:_t,itemKey:Y,registerSize:Q,display:ze<=Et}))},at={order:He?Et:Number.MAX_SAFE_INTEGER,className:"".concat(bn,"-rest"),registerSize:J,display:He},$e=ae||_,nt=y?W.createElement(f.Provider,{value:(0,k.Z)((0,k.Z)({},Ve),at)},y(st)):W.createElement(i,(0,O.Z)({},Ve,at),typeof $e=="function"?$e(st):$e),ct=W.createElement(q,(0,O.Z)({className:V()(!On&&A,Qe),style:Ne,ref:a},v),Dn.map(Ue),gn?nt:null,M&&W.createElement(i,(0,O.Z)({},Ve,{responsive:Kn,responsiveDisabled:!Rn,order:Et,className:"".concat(bn,"-suffix"),registerSize:We,display:!0,style:qe}),M));return Kn?W.createElement(H.Z,{onResize:Sn,disabled:!Rn},ct):ct}var P=W.forwardRef(E);P.displayName="Overflow",P.Item=$,P.RESPONSIVE=Ee,P.INVALIDATE=C;var R=P,b=R},23425:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return T}});var O=l(52873),k=l(67711),B=l(26420),G=l(98506),W=l(16886),h=l(92310),V=l.n(h),H=l(18929),e=l(10228),s=l(26112),c=l(48736),t=l(59301),r=l(17119),i=[10,20,50,100],o=function(L){var $=L.pageSizeOptions,z=$===void 0?i:$,Ee=L.locale,C=L.changeSize,_=L.pageSize,E=L.goButton,P=L.quickGo,R=L.rootPrefixCls,b=L.disabled,n=L.buildOptionText,a=L.showSizeChanger,d=L.sizeChangerRender,A=t.useState(""),re=(0,W.Z)(A,2),de=re[0],ve=re[1],De=function(){return!de||Number.isNaN(de)?void 0:Number(de)},Ae=typeof n=="function"?n:function(M){return"".concat(M," ").concat(Ee.items_per_page)},mt=function(S){ve(S.target.value)},me=function(S){E||de===""||(ve(""),!(S.relatedTarget&&(S.relatedTarget.className.indexOf("".concat(R,"-item-link"))>=0||S.relatedTarget.className.indexOf("".concat(R,"-item"))>=0))&&(P==null||P(De())))},Xe=function(S){de!==""&&(S.keyCode===e.Z.ENTER||S.type==="click")&&(ve(""),P==null||P(De()))},Ne=function(){return z.some(function(S){return S.toString()===_.toString()})?z:z.concat([_]).sort(function(S,q){var te=Number.isNaN(Number(S))?0:Number(S),x=Number.isNaN(Number(q))?0:Number(q);return te-x})},Qe="".concat(R,"-options");if(!a&&!P)return null;var Te=null,ae=null,y=null;return a&&d&&(Te=d({disabled:b,size:_,onSizeChange:function(S){C==null||C(Number(S))},"aria-label":Ee.page_size,className:"".concat(Qe,"-size-changer"),options:Ne().map(function(M){return{label:Ae(M),value:M}})})),P&&(E&&(y=typeof E=="boolean"?t.createElement("button",{type:"button",onClick:Xe,onKeyUp:Xe,disabled:b,className:"".concat(Qe,"-quick-jumper-button")},Ee.jump_to_confirm):t.createElement("span",{onClick:Xe,onKeyUp:Xe},E)),ae=t.createElement("div",{className:"".concat(Qe,"-quick-jumper")},Ee.jump_to,t.createElement("input",{disabled:b,type:"text",value:de,onChange:mt,onKeyUp:Xe,onBlur:me,"aria-label":Ee.page}),Ee.page,y)),t.createElement("li",{className:Qe},Te,ae)},m=o,w=function(L){var $=L.rootPrefixCls,z=L.page,Ee=L.active,C=L.className,_=L.showTitle,E=L.onClick,P=L.onKeyPress,R=L.itemRender,b="".concat($,"-item"),n=V()(b,"".concat(b,"-").concat(z),(0,O.Z)((0,O.Z)({},"".concat(b,"-active"),Ee),"".concat(b,"-disabled"),!z),C),a=function(){E(z)},d=function(de){P(de,E,z)},A=R(z,"page",t.createElement("a",{rel:"nofollow"},z));return A?t.createElement("li",{title:_?String(z):null,className:n,onClick:a,onKeyDown:d,tabIndex:0},A):null},N=w,p=function(L,$,z){return z};function g(){}function f(K){var L=Number(K);return typeof L=="number"&&!Number.isNaN(L)&&isFinite(L)&&Math.floor(L)===L}function u(K,L,$){var z=typeof K=="undefined"?L:K;return Math.floor(($-1)/z)+1}var D=function(L){var $=L.prefixCls,z=$===void 0?"rc-pagination":$,Ee=L.selectPrefixCls,C=Ee===void 0?"rc-select":Ee,_=L.className,E=L.current,P=L.defaultCurrent,R=P===void 0?1:P,b=L.total,n=b===void 0?0:b,a=L.pageSize,d=L.defaultPageSize,A=d===void 0?10:d,re=L.onChange,de=re===void 0?g:re,ve=L.hideOnSinglePage,De=L.align,Ae=L.showPrevNextJumpers,mt=Ae===void 0?!0:Ae,me=L.showQuickJumper,Xe=L.showLessItems,Ne=L.showTitle,Qe=Ne===void 0?!0:Ne,Te=L.onShowSizeChange,ae=Te===void 0?g:Te,y=L.locale,M=y===void 0?r.Z:y,S=L.style,q=L.totalBoundaryShowSizeChanger,te=q===void 0?50:q,x=L.disabled,v=L.simple,F=L.showTotal,X=L.showSizeChanger,Z=X===void 0?n>te:X,U=L.sizeChangerRender,j=L.pageSizeOptions,ce=L.itemRender,ie=ce===void 0?p:ce,we=L.jumpPrevIcon,Me=L.jumpNextIcon,je=L.prevIcon,Ke=L.nextIcon,ke=t.useRef(null),ue=(0,H.Z)(10,{value:a,defaultValue:A}),Le=(0,W.Z)(ue,2),Pe=Le[0],Re=Le[1],dt=(0,H.Z)(1,{value:E,defaultValue:R,postState:function(ft){return Math.max(1,Math.min(ft,u(void 0,Pe,n)))}}),xt=(0,W.Z)(dt,2),Ie=xt[0],Lt=xt[1],en=t.useState(Ie),ht=(0,W.Z)(en,2),ot=ht[0],Kt=ht[1];(0,t.useEffect)(function(){Kt(Ie)},[Ie]);var nn=de!==g,At="current"in L,gt=Math.max(1,Ie-(Xe?3:5)),Ft=Math.min(u(void 0,Pe,n),Ie+(Xe?3:5));function vn(rt,ft){var vt=rt||t.createElement("button",{type:"button","aria-label":ft,className:"".concat(z,"-item-link")});return typeof rt=="function"&&(vt=t.createElement(rt,(0,G.Z)({},L))),vt}function Mt(rt){var ft=rt.target.value,vt=u(void 0,Pe,n),Yt;return ft===""?Yt=ft:Number.isNaN(Number(ft))?Yt=ot:ft>=vt?Yt=vt:Yt=Number(ft),Yt}function ut(rt){return f(rt)&&rt!==Ie&&f(n)&&n>0}var Et=n>Pe?me:!1;function Zn(rt){(rt.keyCode===e.Z.UP||rt.keyCode===e.Z.DOWN)&&rt.preventDefault()}function mn(rt){var ft=Mt(rt);switch(ft!==ot&&Kt(ft),rt.keyCode){case e.Z.ENTER:bn(ft);break;case e.Z.UP:bn(ft-1);break;case e.Z.DOWN:bn(ft+1);break;default:break}}function Ln(rt){bn(Mt(rt))}function jn(rt){var ft=u(rt,Pe,n),vt=Ie>ft&&ft!==0?ft:Ie;Re(rt),Kt(vt),ae==null||ae(Ie,rt),Lt(vt),de==null||de(vt,rt)}function bn(rt){if(ut(rt)&&!x){var ft=u(void 0,Pe,n),vt=rt;return rt>ft?vt=ft:rt<1&&(vt=1),vt!==ot&&Kt(vt),Lt(vt),de==null||de(vt,Pe),vt}return Ie}var Cn=Ie>1,Kn=Ie2?vt-2:0),It=2;Itn?n:Ie*Pe])),Ve=null,Ue=u(void 0,Pe,n);if(ve&&n<=Pe)return null;var at=[],$e={rootPrefixCls:z,onClick:bn,onKeyPress:st,showTitle:Qe,itemRender:ie,page:-1},nt=Ie-1>0?Ie-1:0,ct=Ie+1=pe*2&&Ie!==3&&(at[0]=t.cloneElement(at[0],{className:V()("".concat(z,"-item-after-jump-prev"),at[0].props.className)}),at.unshift(Se)),Ue-Ie>=pe*2&&Ie!==Ue-2){var Rt=at[at.length-1];at[at.length-1]=t.cloneElement(Rt,{className:V()("".concat(z,"-item-before-jump-next"),Rt.props.className)}),at.push(Ve)}yt!==1&&at.unshift(t.createElement(N,(0,k.Z)({},$e,{key:1,page:1}))),St!==Ue&&at.push(t.createElement(N,(0,k.Z)({},$e,{key:Ue,page:Ue})))}var Pt=Q(nt);if(Pt){var zt=!Cn||!Ue;Pt=t.createElement("li",{title:Qe?M.prev_page:null,onClick:Rn,tabIndex:zt?null:0,onKeyDown:et,className:V()("".concat(z,"-prev"),(0,O.Z)({},"".concat(z,"-disabled"),zt)),"aria-disabled":zt},Pt)}var Gt=J(ct);if(Gt){var Vt,Nt;v?(Vt=!Kn,Nt=Cn?0:null):(Vt=!Kn||!Ue,Nt=Vt?null:0),Gt=t.createElement("li",{title:Qe?M.next_page:null,onClick:On,tabIndex:Nt,onKeyDown:_t,className:V()("".concat(z,"-next"),(0,O.Z)({},"".concat(z,"-disabled"),Vt)),"aria-disabled":Vt},Gt)}var Dt=V()(z,_,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(z,"-start"),De==="start"),"".concat(z,"-center"),De==="center"),"".concat(z,"-end"),De==="end"),"".concat(z,"-simple"),v),"".concat(z,"-disabled"),x));return t.createElement("ul",(0,k.Z)({className:Dt,style:S,ref:ke},He),qe,Pt,v?fe:at,Gt,t.createElement(m,{locale:M,rootPrefixCls:z,disabled:x,selectPrefixCls:C,changeSize:jn,pageSize:Pe,pageSizeOptions:j,quickGo:Et?bn:null,goButton:Y,showSizeChanger:Z,sizeChangerRender:U}))},T=D},29301:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return C}});var O=l(67711),k=l(59301),B=l(11592),G=l(48736),W=l(98506),h=l(26420),V=l(76846),H=l(8654),e=k.createContext(null);function s(_){var E=_.children,P=_.onBatchResize,R=k.useRef(0),b=k.useRef([]),n=k.useContext(e),a=k.useCallback(function(d,A,re){R.current+=1;var de=R.current;b.current.push({size:d,element:A,data:re}),Promise.resolve().then(function(){de===R.current&&(P==null||P(b.current),b.current=[])}),n==null||n(d,A,re)},[P,n]);return k.createElement(e.Provider,{value:a},E)}var c=l(76374),t=new Map;function r(_){_.forEach(function(E){var P,R=E.target;(P=t.get(R))===null||P===void 0||P.forEach(function(b){return b(R)})})}var i=new c.Z(r),o=null,m=null;function w(_,E){t.has(_)||(t.set(_,new Set),i.observe(_)),t.get(_).add(E)}function N(_,E){t.has(_)&&(t.get(_).delete(E),t.get(_).size||(i.unobserve(_),t.delete(_)))}var p=l(42573),g=l(58698),f=l(74700),u=l(45080),D=function(_){(0,f.Z)(P,_);var E=(0,u.Z)(P);function P(){return(0,p.Z)(this,P),E.apply(this,arguments)}return(0,g.Z)(P,[{key:"render",value:function(){return this.props.children}}]),P}(k.Component);function T(_,E){var P=_.children,R=_.disabled,b=k.useRef(null),n=k.useRef(null),a=k.useContext(e),d=typeof P=="function",A=d?P(b):P,re=k.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),de=!d&&k.isValidElement(A)&&(0,H.Yr)(A),ve=de?(0,H.C4)(A):null,De=(0,H.x1)(ve,b),Ae=function(){var Ne;return(0,V.ZP)(b.current)||(b.current&&(0,h.Z)(b.current)==="object"?(0,V.ZP)((Ne=b.current)===null||Ne===void 0?void 0:Ne.nativeElement):null)||(0,V.ZP)(n.current)};k.useImperativeHandle(E,function(){return Ae()});var mt=k.useRef(_);mt.current=_;var me=k.useCallback(function(Xe){var Ne=mt.current,Qe=Ne.onResize,Te=Ne.data,ae=Xe.getBoundingClientRect(),y=ae.width,M=ae.height,S=Xe.offsetWidth,q=Xe.offsetHeight,te=Math.floor(y),x=Math.floor(M);if(re.current.width!==te||re.current.height!==x||re.current.offsetWidth!==S||re.current.offsetHeight!==q){var v={width:te,height:x,offsetWidth:S,offsetHeight:q};re.current=v;var F=S===Math.round(y)?y:S,X=q===Math.round(M)?M:q,Z=(0,W.Z)((0,W.Z)({},v),{},{offsetWidth:F,offsetHeight:X});a==null||a(Z,Xe,Te),Qe&&Promise.resolve().then(function(){Qe(Z,Xe)})}},[]);return k.useEffect(function(){var Xe=Ae();return Xe&&!R&&w(Xe,me),function(){return N(Xe,me)}},[b.current,R]),k.createElement(D,{ref:n},de?k.cloneElement(A,{ref:De}):A)}var K=k.forwardRef(T),L=K,$="rc-observer-key";function z(_,E){var P=_.children,R=typeof P=="function"?[P]:(0,B.Z)(P);return R.map(function(b,n){var a=(b==null?void 0:b.key)||"".concat($,"-").concat(n);return k.createElement(L,(0,O.Z)({},_,{key:a,ref:n===0?E:void 0}),b)})}var Ee=k.forwardRef(z);Ee.Collection=s;var C=Ee},6551:function(Bt,Ze,l){"use strict";l.d(Ze,{ZP:function(){return V}});var O=l(16886),k=l(59301),B=l(47273),G=0,W=(0,B.Z)();function h(){var H;return W?(H=G,G+=1):H="TEST_OR_SSR",H}function V(H){var e=k.useState(),s=(0,O.Z)(e,2),c=s[0],t=s[1];return k.useEffect(function(){t("rc_select_".concat(h()))},[]),H||c}},37463:function(Bt,Ze,l){"use strict";l.d(Ze,{Ac:function(){return ue},Xo:function(){return Pe},Wx:function(){return dt},ZP:function(){return Sn},lk:function(){return g}});var O=l(67711),k=l(15142),B=l(52873),G=l(98506),W=l(16886),h=l(33346),V=l(26420),H=l(18929),e=l(48736),s=l(59301),c=l(92310),t=l.n(c),r=l(34280),i=l(49658),o=l(8654),m=function(J){var We=J.className,Se=J.customizeIcon,He=J.customizeIconProps,qe=J.children,Ve=J.onMouseDown,Ue=J.onClick,at=typeof Se=="function"?Se(He):Se;return s.createElement("span",{className:We,onMouseDown:function(nt){nt.preventDefault(),Ve==null||Ve(nt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ue,"aria-hidden":!0},at!==void 0?at:s.createElement("span",{className:t()(We.split(/\s+/).map(function($e){return"".concat($e,"-icon")}))},qe))},w=m,N=function(J,We,Se,He,qe){var Ve=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ue=arguments.length>6?arguments[6]:void 0,at=arguments.length>7?arguments[7]:void 0,$e=s.useMemo(function(){if((0,V.Z)(He)==="object")return He.clearIcon;if(qe)return qe},[He,qe]),nt=s.useMemo(function(){return!!(!Ve&&He&&(Se.length||Ue)&&!(at==="combobox"&&Ue===""))},[He,Ve,Se.length,Ue,at]);return{allowClear:nt,clearIcon:s.createElement(w,{className:"".concat(J,"-clear"),onMouseDown:We,customizeIcon:$e},"\xD7")}},p=s.createContext(null);function g(){return s.useContext(p)}function f(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=s.useState(!1),We=(0,W.Z)(J,2),Se=We[0],He=We[1],qe=s.useRef(null),Ve=function(){window.clearTimeout(qe.current)};s.useEffect(function(){return Ve},[]);var Ue=function($e,nt){Ve(),qe.current=window.setTimeout(function(){He($e),nt&&nt()},Q)};return[Se,Ue,Ve]}function u(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=s.useRef(null),We=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(We.current)}},[]);function Se(He){(He||J.current===null)&&(J.current=He),window.clearTimeout(We.current),We.current=window.setTimeout(function(){J.current=null},Q)}return[function(){return J.current},Se]}function D(Q,J,We,Se){var He=s.useRef(null);He.current={open:J,triggerOpen:We,customizedTrigger:Se},s.useEffect(function(){function qe(Ve){var Ue;if(!((Ue=He.current)!==null&&Ue!==void 0&&Ue.customizedTrigger)){var at=Ve.target;at.shadowRoot&&Ve.composed&&(at=Ve.composedPath()[0]||at),He.current.open&&Q().filter(function($e){return $e}).every(function($e){return!$e.contains(at)&&$e!==at})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",qe),function(){return window.removeEventListener("mousedown",qe)}},[])}var T=l(10228);function K(Q){return Q&&![T.Z.ESC,T.Z.SHIFT,T.Z.BACKSPACE,T.Z.TAB,T.Z.WIN_KEY,T.Z.ALT,T.Z.META,T.Z.WIN_KEY_RIGHT,T.Z.CTRL,T.Z.SEMICOLON,T.Z.EQUALS,T.Z.CAPS_LOCK,T.Z.CONTEXT_MENU,T.Z.F1,T.Z.F2,T.Z.F3,T.Z.F4,T.Z.F5,T.Z.F6,T.Z.F7,T.Z.F8,T.Z.F9,T.Z.F10,T.Z.F11,T.Z.F12].includes(Q)}var L=l(26112),$=l(11780);function z(Q,J,We){var Se=(0,G.Z)((0,G.Z)({},Q),We?J:{});return Object.keys(J).forEach(function(He){var qe=J[He];typeof qe=="function"&&(Se[He]=function(){for(var Ve,Ue=arguments.length,at=new Array(Ue),$e=0;$eGe&&(kt="".concat(Ut.slice(0,Ge),"..."))}var Tt=function(bt){bt&&bt.stopPropagation(),cn(ye)};return typeof yt=="function"?Be(pt,kt,Ce,it,Tt):be(ye,kt,Ce,it,Tt)},xe=function(ye){if(!He.length)return null;var Ce=typeof lt=="function"?lt(ye):lt;return typeof yt=="function"?Be(void 0,Ce,!1,!1,void 0,!0):be({title:Ce},Ce,!1)},ne=s.createElement("div",{className:"".concat(ee,"-search"),style:{width:Yt},onFocus:function(){oe(!0)},onBlur:function(){oe(!1)}},s.createElement(P,{ref:at,open:qe,prefixCls:Se,id:We,inputElement:null,disabled:nt,autoFocus:ze,autoComplete:Y,editable:_e,activeDescendantId:fe,value:se,onKeyDown:zt,onMouseDown:Gt,onChange:Rt,onPaste:Pt,onCompositionStart:Vt,onCompositionEnd:Nt,onBlur:Dt,tabIndex:pe,attrs:(0,L.Z)(J,!0)}),s.createElement("span",{ref:rt,className:"".concat(ee,"-search-mirror"),"aria-hidden":!0},se,"\xA0")),le=s.createElement($.Z,{prefixCls:"".concat(ee,"-overflow"),data:He,renderItem:Oe,renderRest:xe,suffix:ne,itemKey:ve,maxCount:Fe});return s.createElement("span",{className:"".concat(ee,"-wrap")},le,!He.length&&!se&&s.createElement("span",{className:"".concat(ee,"-placeholder")},$e))},mt=Ae,me=function(J){var We=J.inputElement,Se=J.prefixCls,He=J.id,qe=J.inputRef,Ve=J.disabled,Ue=J.autoFocus,at=J.autoComplete,$e=J.activeDescendantId,nt=J.mode,ct=J.open,tt=J.values,ze=J.placeholder,Y=J.tabIndex,fe=J.showSearch,pe=J.searchValue,ge=J.activeValue,Fe=J.maxLength,Ge=J.onInputKeyDown,Je=J.onInputMouseDown,lt=J.onInputChange,yt=J.onInputPaste,St=J.onInputCompositionStart,cn=J.onInputCompositionEnd,Rt=J.onInputBlur,Pt=J.title,zt=s.useState(!1),Gt=(0,W.Z)(zt,2),Vt=Gt[0],Nt=Gt[1],Dt=nt==="combobox",rt=Dt||fe,ft=tt[0],vt=pe||"";Dt&&ge&&!Vt&&(vt=ge),s.useEffect(function(){Dt&&Nt(!1)},[Dt,ge]);var Yt=nt!=="combobox"&&!ct&&!fe?!1:!!vt,It=Pt===void 0?re(ft):Pt,Ht=s.useMemo(function(){return ft?null:s.createElement("span",{className:"".concat(Se,"-selection-placeholder"),style:Yt?{visibility:"hidden"}:void 0},ze)},[ft,Yt,ze,Se]);return s.createElement("span",{className:"".concat(Se,"-selection-wrap")},s.createElement("span",{className:"".concat(Se,"-selection-search")},s.createElement(P,{ref:qe,prefixCls:Se,id:He,open:ct,inputElement:We,disabled:Ve,autoFocus:Ue,autoComplete:at,editable:rt,activeDescendantId:$e,value:vt,onKeyDown:Ge,onMouseDown:Je,onChange:function(I){Nt(!0),lt(I)},onPaste:yt,onCompositionStart:St,onCompositionEnd:cn,onBlur:Rt,tabIndex:Y,attrs:(0,L.Z)(J,!0),maxLength:Dt?Fe:void 0})),!Dt&&ft?s.createElement("span",{className:"".concat(Se,"-selection-item"),title:It,style:Yt?{visibility:"hidden"}:void 0},ft.label):null,Ht)},Xe=me,Ne=function(J,We){var Se=(0,s.useRef)(null),He=(0,s.useRef)(!1),qe=J.prefixCls,Ve=J.open,Ue=J.mode,at=J.showSearch,$e=J.tokenWithEnter,nt=J.disabled,ct=J.prefix,tt=J.autoClearSearchValue,ze=J.onSearch,Y=J.onSearchSubmit,fe=J.onToggleOpen,pe=J.onInputKeyDown,ge=J.onInputBlur,Fe=J.domRef;s.useImperativeHandle(We,function(){return{focus:function(It){Se.current.focus(It)},blur:function(){Se.current.blur()}}});var Ge=u(0),Je=(0,W.Z)(Ge,2),lt=Je[0],yt=Je[1],St=function(It){var Ht=It.which,Tn=Se.current instanceof HTMLTextAreaElement;!Tn&&Ve&&(Ht===T.Z.UP||Ht===T.Z.DOWN)&&It.preventDefault(),pe&&pe(It),Ht===T.Z.ENTER&&Ue==="tags"&&!He.current&&!Ve&&(Y==null||Y(It.target.value)),!(Tn&&!Ve&&~[T.Z.UP,T.Z.DOWN,T.Z.LEFT,T.Z.RIGHT].indexOf(Ht))&&K(Ht)&&fe(!0)},cn=function(){yt(!0)},Rt=(0,s.useRef)(null),Pt=function(It){ze(It,!0,He.current)!==!1&&fe(!0)},zt=function(){He.current=!0},Gt=function(It){He.current=!1,Ue!=="combobox"&&Pt(It.target.value)},Vt=function(It){var Ht=It.target.value;if($e&&Rt.current&&/[\r\n]/.test(Rt.current)){var Tn=Rt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ht=Ht.replace(Tn,Rt.current)}Rt.current=null,Pt(Ht)},Nt=function(It){var Ht=It.clipboardData,Tn=Ht==null?void 0:Ht.getData("text");Rt.current=Tn||""},Dt=function(It){var Ht=It.target;if(Ht!==Se.current){var Tn=document.body.style.msTouchAction!==void 0;Tn?setTimeout(function(){Se.current.focus()}):Se.current.focus()}},rt=function(It){var Ht=lt();It.target!==Se.current&&!Ht&&!(Ue==="combobox"&&nt)&&It.preventDefault(),(Ue!=="combobox"&&(!at||!Ht)||!Ve)&&(Ve&&tt!==!1&&ze("",!0,!1),fe())},ft={inputRef:Se,onInputKeyDown:St,onInputMouseDown:cn,onInputChange:Vt,onInputPaste:Nt,onInputCompositionStart:zt,onInputCompositionEnd:Gt,onInputBlur:ge},vt=Ue==="multiple"||Ue==="tags"?s.createElement(mt,(0,O.Z)({},J,ft)):s.createElement(Xe,(0,O.Z)({},J,ft));return s.createElement("div",{ref:Fe,className:"".concat(qe,"-selector"),onClick:Dt,onMouseDown:rt},ct&&s.createElement("div",{className:"".concat(qe,"-prefix")},ct),vt)},Qe=s.forwardRef(Ne),Te=Qe,ae=l(65030),y=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],M=function(J){var We=J===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"}}},S=function(J,We){var Se=J.prefixCls,He=J.disabled,qe=J.visible,Ve=J.children,Ue=J.popupElement,at=J.animation,$e=J.transitionName,nt=J.dropdownStyle,ct=J.dropdownClassName,tt=J.direction,ze=tt===void 0?"ltr":tt,Y=J.placement,fe=J.builtinPlacements,pe=J.dropdownMatchSelectWidth,ge=J.dropdownRender,Fe=J.dropdownAlign,Ge=J.getPopupContainer,Je=J.empty,lt=J.getTriggerDOMNode,yt=J.onPopupVisibleChange,St=J.onPopupMouseEnter,cn=(0,h.Z)(J,y),Rt="".concat(Se,"-dropdown"),Pt=Ue;ge&&(Pt=ge(Ue));var zt=s.useMemo(function(){return fe||M(pe)},[fe,pe]),Gt=at?"".concat(Rt,"-").concat(at):$e,Vt=typeof pe=="number",Nt=s.useMemo(function(){return Vt?null:pe===!1?"minWidth":"width"},[pe,Vt]),Dt=nt;Vt&&(Dt=(0,G.Z)((0,G.Z)({},Dt),{},{width:pe}));var rt=s.useRef(null);return s.useImperativeHandle(We,function(){return{getPopupElement:function(){var vt;return(vt=rt.current)===null||vt===void 0?void 0:vt.popupElement}}}),s.createElement(ae.Z,(0,O.Z)({},cn,{showAction:yt?["click"]:[],hideAction:yt?["click"]:[],popupPlacement:Y||(ze==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:zt,prefixCls:Rt,popupTransitionName:Gt,popup:s.createElement("div",{onMouseEnter:St},Pt),ref:rt,stretch:Nt,popupAlign:Fe,popupVisible:qe,getPopupContainer:Ge,popupClassName:t()(ct,(0,B.Z)({},"".concat(Rt,"-empty"),Je)),popupStyle:Dt,getTriggerDOMNode:lt,onPopupVisibleChange:yt}),Ve)},q=s.forwardRef(S),te=q,x=l(57879);function v(Q,J){var We=Q.key,Se;return"value"in Q&&(Se=Q.value),We!=null?We:Se!==void 0?Se:"rc-index-key-".concat(J)}function F(Q){return typeof Q!="undefined"&&!Number.isNaN(Q)}function X(Q,J){var We=Q||{},Se=We.label,He=We.value,qe=We.options,Ve=We.groupLabel,Ue=Se||(J?"children":"label");return{label:Ue,value:He||"value",options:qe||"options",groupLabel:Ve||Ue}}function Z(Q){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},We=J.fieldNames,Se=J.childrenAsData,He=[],qe=X(We,!1),Ve=qe.label,Ue=qe.value,at=qe.options,$e=qe.groupLabel;function nt(ct,tt){Array.isArray(ct)&&ct.forEach(function(ze){if(tt||!(at in ze)){var Y=ze[Ue];He.push({key:v(ze,He.length),groupOption:tt,data:ze,label:ze[Ve],value:Y})}else{var fe=ze[$e];fe===void 0&&Se&&(fe=ze.label),He.push({key:v(ze,He.length),group:!0,data:ze,label:fe}),nt(ze[at],!0)}})}return nt(Q,!1),He}function U(Q){var J=(0,G.Z)({},Q);return"props"in J||Object.defineProperty(J,"props",{get:function(){return(0,e.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),J}}),J}var j=function(J,We,Se){if(!We||!We.length)return null;var He=!1,qe=function Ue(at,$e){var nt=(0,x.Z)($e),ct=nt[0],tt=nt.slice(1);if(!ct)return[at];var ze=at.split(ct);return He=He||ze.length>1,ze.reduce(function(Y,fe){return[].concat((0,k.Z)(Y),(0,k.Z)(Ue(fe,tt)))},[]).filter(Boolean)},Ve=qe(J,We);return He?typeof Se!="undefined"?Ve.slice(0,Se):Ve:null},ce=s.createContext(null),ie=ce;function we(Q){var J=Q.visible,We=Q.values;if(!J)return null;var Se=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(We.slice(0,Se).map(function(He){var qe=He.label,Ve=He.value;return["number","string"].includes((0,V.Z)(qe))?qe:Ve}).join(", ")),We.length>Se?", ...":null)}var Me=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],je=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ke=function(J){return J==="tags"||J==="multiple"},ke=s.forwardRef(function(Q,J){var We,Se=Q.id,He=Q.prefixCls,qe=Q.className,Ve=Q.showSearch,Ue=Q.tagRender,at=Q.direction,$e=Q.omitDomProps,nt=Q.displayValues,ct=Q.onDisplayValuesChange,tt=Q.emptyOptions,ze=Q.notFoundContent,Y=ze===void 0?"Not Found":ze,fe=Q.onClear,pe=Q.mode,ge=Q.disabled,Fe=Q.loading,Ge=Q.getInputElement,Je=Q.getRawInputElement,lt=Q.open,yt=Q.defaultOpen,St=Q.onDropdownVisibleChange,cn=Q.activeValue,Rt=Q.onActiveValueChange,Pt=Q.activeDescendantId,zt=Q.searchValue,Gt=Q.autoClearSearchValue,Vt=Q.onSearch,Nt=Q.onSearchSplit,Dt=Q.tokenSeparators,rt=Q.allowClear,ft=Q.prefix,vt=Q.suffixIcon,Yt=Q.clearIcon,It=Q.OptionList,Ht=Q.animation,Tn=Q.transitionName,I=Q.dropdownStyle,oe=Q.dropdownClassName,ee=Q.dropdownMatchSelectWidth,se=Q.dropdownRender,_e=Q.dropdownAlign,be=Q.placement,Be=Q.builtinPlacements,Oe=Q.getPopupContainer,xe=Q.showAction,ne=xe===void 0?[]:xe,le=Q.onFocus,he=Q.onBlur,ye=Q.onKeyUp,Ce=Q.onKeyDown,Ye=Q.onMouseDown,pt=(0,h.Z)(Q,Me),it=Ke(pe),kt=(Ve!==void 0?Ve:it)||pe==="combobox",Ut=(0,G.Z)({},pt);je.forEach(function(Mn){delete Ut[Mn]}),$e==null||$e.forEach(function(Mn){delete Ut[Mn]});var Tt=s.useState(!1),Jt=(0,W.Z)(Tt,2),bt=Jt[0],pn=Jt[1];s.useEffect(function(){pn((0,i.Z)())},[]);var on=s.useRef(null),_n=s.useRef(null),Xt=s.useRef(null),rn=s.useRef(null),yn=s.useRef(null),ln=s.useRef(!1),dn=f(),jt=(0,W.Z)(dn,3),wt=jt[0],Zt=jt[1],Qt=jt[2];s.useImperativeHandle(J,function(){var Mn,Pn;return{focus:(Mn=rn.current)===null||Mn===void 0?void 0:Mn.focus,blur:(Pn=rn.current)===null||Pn===void 0?void 0:Pn.blur,scrollTo:function(Qn){var er;return(er=yn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:on.current||_n.current}});var hn=s.useMemo(function(){var Mn;if(pe!=="combobox")return zt;var Pn=(Mn=nt[0])===null||Mn===void 0?void 0:Mn.value;return typeof Pn=="string"||typeof Pn=="number"?String(Pn):""},[zt,pe,nt]),un=pe==="combobox"&&typeof Ge=="function"&&Ge()||null,fn=typeof Je=="function"&&Je(),Un=(0,o.x1)(_n,fn==null||(We=fn.props)===null||We===void 0?void 0:We.ref),Xn=s.useState(!1),$n=(0,W.Z)(Xn,2),or=$n[0],ar=$n[1];(0,r.Z)(function(){ar(!0)},[]);var qn=(0,H.Z)(!1,{defaultValue:yt,value:lt}),wn=(0,W.Z)(qn,2),An=wn[0],Gn=wn[1],En=or?An:!1,xn=!Y&&tt;(ge||xn&&En&&pe==="combobox")&&(En=!1);var Nn=xn?!1:En,Ot=s.useCallback(function(Mn){var Pn=Mn!==void 0?Mn:!En;ge||(Gn(Pn),En!==Pn&&(St==null||St(Pn)))},[ge,En,Gn,St]),qt=s.useMemo(function(){return(Dt||[]).some(function(Mn){return[` `,`\r `].includes(Mn)})},[Dt]),tn=s.useContext(ie)||{},sn=tn.maxCount,kn=tn.rawValues,Fn=function(Pn,nr,Qn){if(!(it&&F(sn)&&(kn==null?void 0:kn.size)>=sn)){var er=!0,rr=Pn;Rt==null||Rt(null);var yr=j(Pn,Dt,F(sn)?sn-kn.size:void 0),gr=Qn?null:yr;return pe!=="combobox"&&gr&&(rr="",Nt==null||Nt(gr),Ot(!1),er=!1),Vt&&hn!==rr&&Vt(rr,{source:nr?"typing":"effect"}),er}},ir=function(Pn){!Pn||!Pn.trim()||Vt(Pn,{source:"submit"})};s.useEffect(function(){!En&&!it&&pe!=="combobox"&&Fn("",!1,!1)},[En]),s.useEffect(function(){An&&ge&&Gn(!1),ge&&!ln.current&&Zt(!1)},[ge]);var Ct=u(),$t=(0,W.Z)(Ct,2),Wt=$t[0],In=$t[1],zn=s.useRef(!1),Hn=function(Pn){var nr=Wt(),Qn=Pn.key,er=Qn==="Enter";if(er&&(pe!=="combobox"&&Pn.preventDefault(),En||Ot(!0)),In(!!hn),Qn==="Backspace"&&!nr&&it&&!hn&&nt.length){for(var rr=(0,k.Z)(nt),yr=null,gr=rr.length-1;gr>=0;gr-=1){var xr=rr[gr];if(!xr.disabled){rr.splice(gr,1),yr=xr;break}}yr&&ct(rr,{type:"remove",values:[yr]})}for(var sr=arguments.length,mr=new Array(sr>1?sr-1:0),Rr=1;Rr1?nr-1:0),er=1;er1?yr-1:0),xr=1;xr=Y},[Ue,Y,Je==null?void 0:Je.size]),Dt=function(ne){ne.preventDefault()},rt=function(ne){var le;(le=Vt.current)===null||le===void 0||le.scrollTo(typeof ne=="number"?{index:ne}:ne)},ft=s.useCallback(function(xe){return at==="combobox"?!1:Je.has(xe)},[at,(0,k.Z)(Je).toString(),Je.size]),vt=function(ne){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,he=Gt.length,ye=0;ye1&&arguments[1]!==void 0?arguments[1]:!1;Tn(ne);var he={source:le?"keyboard":"mouse"},ye=Gt[ne];if(!ye){pe(null,-1,he);return}pe(ye.value,ne,he)};(0,s.useEffect)(function(){I(ge!==!1?vt(0):-1)},[Gt.length,$e]);var oe=s.useCallback(function(xe){return at==="combobox"?String(xe).toLowerCase()===$e.toLowerCase():Je.has(xe)},[at,$e,(0,k.Z)(Je).toString(),Je.size]);(0,s.useEffect)(function(){var xe=setTimeout(function(){if(!Ue&&Ve&&Je.size===1){var le=Array.from(Je)[0],he=Gt.findIndex(function(ye){var Ce=ye.data;return $e?String(Ce.value).startsWith($e):Ce.value===le});he!==-1&&(I(he),rt(he))}});if(Ve){var ne;(ne=Vt.current)===null||ne===void 0||ne.scrollTo(void 0)}return function(){return clearTimeout(xe)}},[Ve,$e]);var ee=function(ne){ne!==void 0&&Fe(ne,{selected:!Je.has(ne)}),Ue||nt(!1)};if(s.useImperativeHandle(We,function(){return{onKeyDown:function(ne){var le=ne.which,he=ne.ctrlKey;switch(le){case T.Z.N:case T.Z.P:case T.Z.UP:case T.Z.DOWN:{var ye=0;if(le===T.Z.UP?ye=-1:le===T.Z.DOWN?ye=1:en()&&he&&(le===T.Z.N?ye=1:le===T.Z.P&&(ye=-1)),ye!==0){var Ce=vt(Ht+ye,ye);rt(Ce),I(Ce,!0)}break}case T.Z.TAB:case T.Z.ENTER:{var Ye,pt=Gt[Ht];pt&&!(pt!=null&&(Ye=pt.data)!==null&&Ye!==void 0&&Ye.disabled)&&!Nt?ee(pt.value):ee(void 0),Ve&&ne.preventDefault();break}case T.Z.ESC:nt(!1),Ve&&ne.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ne){rt(ne)}}}),Gt.length===0)return s.createElement("div",{role:"listbox",id:"".concat(qe,"_list"),className:"".concat(zt,"-empty"),onMouseDown:Dt},ct);var se=Object.keys(lt).map(function(xe){return lt[xe]}),_e=function(ne){return ne.label};function be(xe,ne){var le=xe.group;return{role:le?"presentation":"option",id:"".concat(qe,"_list_").concat(ne)}}var Be=function(ne){var le=Gt[ne];if(!le)return null;var he=le.data||{},ye=he.value,Ce=le.group,Ye=(0,L.Z)(he,!0),pt=_e(le);return le?s.createElement("div",(0,O.Z)({"aria-label":typeof pt=="string"&&!Ce?pt:null},Ye,{key:ne},be(le,ne),{"aria-selected":oe(ye)}),ye):null},Oe={role:"listbox",id:"".concat(qe,"_list")};return s.createElement(s.Fragment,null,yt&&s.createElement("div",(0,O.Z)({},Oe,{style:{height:0,width:0,overflow:"hidden"}}),Be(Ht-1),Be(Ht),Be(Ht+1)),s.createElement(Lt.Z,{itemKey:"key",ref:Vt,data:Gt,height:cn,itemHeight:Rt,fullHeight:!1,onMouseDown:Dt,onScroll:tt,virtual:yt,direction:St,innerProps:yt?null:Oe},function(xe,ne){var le=xe.group,he=xe.groupOption,ye=xe.data,Ce=xe.label,Ye=xe.value,pt=ye.key;if(le){var it,kt=(it=ye.title)!==null&&it!==void 0?it:ot(Ce)?Ce.toString():void 0;return s.createElement("div",{className:t()(zt,"".concat(zt,"-group"),ye.className),title:kt},Ce!==void 0?Ce:pt)}var Ut=ye.disabled,Tt=ye.title,Jt=ye.children,bt=ye.style,pn=ye.className,on=(0,h.Z)(ye,ht),_n=(0,Ie.Z)(on,se),Xt=ft(Ye),rn=Ut||!Xt&&Nt,yn="".concat(zt,"-option"),ln=t()(zt,yn,pn,(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(yn,"-grouped"),he),"".concat(yn,"-active"),Ht===ne&&!rn),"".concat(yn,"-disabled"),rn),"".concat(yn,"-selected"),Xt)),dn=_e(xe),jt=!Ge||typeof Ge=="function"||Xt,wt=typeof dn=="number"?dn:dn||Ye,Zt=ot(wt)?wt.toString():void 0;return Tt!==void 0&&(Zt=Tt),s.createElement("div",(0,O.Z)({},(0,L.Z)(_n),yt?{}:be(xe,ne),{"aria-selected":oe(Ye),className:ln,title:Zt,onMouseMove:function(){Ht===ne||rn||I(ne)},onClick:function(){rn||ee(Ye)},style:bt}),s.createElement("div",{className:"".concat(yn,"-content")},typeof Pt=="function"?Pt(xe,{index:ne}):wt),s.isValidElement(Ge)||Xt,jt&&s.createElement(w,{className:"".concat(zt,"-option-state"),customizeIcon:Ge,customizeIconProps:{value:Ye,disabled:rn,isSelected:Xt}},Xt?"\u2713":null))}))},nn=s.forwardRef(Kt),At=nn,gt=function(Q,J){var We=s.useRef({values:new Map,options:new Map}),Se=s.useMemo(function(){var qe=We.current,Ve=qe.values,Ue=qe.options,at=Q.map(function(ct){if(ct.label===void 0){var tt;return(0,G.Z)((0,G.Z)({},ct),{},{label:(tt=Ve.get(ct.value))===null||tt===void 0?void 0:tt.label})}return ct}),$e=new Map,nt=new Map;return at.forEach(function(ct){$e.set(ct.value,ct),nt.set(ct.value,J.get(ct.value)||Ue.get(ct.value))}),We.current.values=$e,We.current.options=nt,at},[Q,J]),He=s.useCallback(function(qe){return J.get(qe)||We.current.options.get(qe)},[J]);return[Se,He]};function Ft(Q,J){return R(Q).join("").toUpperCase().includes(J)}var vn=function(Q,J,We,Se,He){return s.useMemo(function(){if(!We||Se===!1)return Q;var qe=J.options,Ve=J.label,Ue=J.value,at=[],$e=typeof Se=="function",nt=We.toUpperCase(),ct=$e?Se:function(ze,Y){return He?Ft(Y[He],nt):Y[qe]?Ft(Y[Ve!=="children"?Ve:"label"],nt):Ft(Y[Ue],nt)},tt=$e?function(ze){return U(ze)}:function(ze){return ze};return Q.forEach(function(ze){if(ze[qe]){var Y=ct(We,tt(ze));if(Y)at.push(ze);else{var fe=ze[qe].filter(function(pe){return ct(We,tt(pe))});fe.length&&at.push((0,G.Z)((0,G.Z)({},ze),{},(0,B.Z)({},qe,fe)))}return}ct(We,tt(ze))&&at.push(ze)}),at},[Q,Se,He,We,J])},Mt=l(6551),ut=l(11592),Et=["children","value"],Zn=["children"];function mn(Q){var J=Q,We=J.key,Se=J.props,He=Se.children,qe=Se.value,Ve=(0,h.Z)(Se,Et);return(0,G.Z)({key:We,value:qe!==void 0?qe:We,children:He},Ve)}function Ln(Q){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ut.Z)(Q).map(function(We,Se){if(!s.isValidElement(We)||!We.type)return null;var He=We,qe=He.type.isSelectOptGroup,Ve=He.key,Ue=He.props,at=Ue.children,$e=(0,h.Z)(Ue,Zn);return J||!qe?mn(We):(0,G.Z)((0,G.Z)({key:"__RC_SELECT_GRP__".concat(Ve===null?Se:Ve,"__"),label:Ve},$e),{},{options:Ln(at)})}).filter(function(We){return We})}var jn=function(J,We,Se,He,qe){return s.useMemo(function(){var Ve=J,Ue=!J;Ue&&(Ve=Ln(We));var at=new Map,$e=new Map,nt=function(ze,Y,fe){fe&&typeof fe=="string"&&ze.set(Y[fe],Y)},ct=function tt(ze){for(var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=0;fe1&&arguments[1]!==void 0?arguments[1]:!1,Ve=0;Ve0?Ot(sn.options):sn.options}):sn})},jt=s.useMemo(function(){return Fe?dn(ln):ln},[ln,Fe,Oe]),wt=s.useMemo(function(){return Z(jt,{fieldNames:_e,childrenAsData:ee})},[jt,_e,ee]),Zt=function(qt){var tn=Ce(qt);if(kt(tn),It&&(tn.length!==bt.length||tn.some(function(Fn,ir){var Ct;return((Ct=bt[ir])===null||Ct===void 0?void 0:Ct.value)!==(Fn==null?void 0:Fn.value)}))){var sn=Yt?tn:tn.map(function(Fn){return Fn.value}),kn=tn.map(function(Fn){return U(pn(Fn.value))});It(oe?sn:sn[0],oe?kn:kn[0])}},Qt=s.useState(null),hn=(0,W.Z)(Qt,2),un=hn[0],fn=hn[1],Un=s.useState(0),Xn=(0,W.Z)(Un,2),$n=Xn[0],or=Xn[1],ar=cn!==void 0?cn:Se!=="combobox",qn=s.useCallback(function(Ot,qt){var tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},sn=tn.source,kn=sn===void 0?"keyboard":sn;or(qt),Ve&&Se==="combobox"&&Ot!==null&&kn==="keyboard"&&fn(String(Ot))},[Ve,Se]),wn=function(qt,tn,sn){var kn=function(){var dr,lr=pn(qt);return[Yt?{label:lr==null?void 0:lr[_e.label],value:qt,key:(dr=lr==null?void 0:lr.key)!==null&&dr!==void 0?dr:qt}:qt,U(lr)]};if(tn&&ze){var Fn=kn(),ir=(0,W.Z)(Fn,2),Ct=ir[0],$t=ir[1];ze(Ct,$t)}else if(!tn&&Y&&sn!=="clear"){var Wt=kn(),In=(0,W.Z)(Wt,2),zn=In[0],Hn=In[1];Y(zn,Hn)}},An=Cn(function(Ot,qt){var tn,sn=oe?qt.selected:!0;sn?tn=oe?[].concat((0,k.Z)(bt),[Ot]):[Ot]:tn=bt.filter(function(kn){return kn.value!==Ot}),Zt(tn),wn(Ot,sn),Se==="combobox"?fn(""):(!Ke||tt)&&(xe(""),fn(""))}),Gn=function(qt,tn){Zt(qt);var sn=tn.type,kn=tn.values;(sn==="remove"||sn==="clear")&&kn.forEach(function(Fn){wn(Fn.value,!1,sn)})},En=function(qt,tn){if(xe(qt),fn(null),tn.source==="submit"){var sn=(qt||"").trim();if(sn){var kn=Array.from(new Set([].concat((0,k.Z)(_n),[sn])));Zt(kn),wn(sn,!0),xe("")}return}tn.source!=="blur"&&(Se==="combobox"&&Zt(qt),nt==null||nt(qt))},xn=function(qt){var tn=qt;Se!=="tags"&&(tn=qt.map(function(kn){var Fn=he.get(kn);return Fn==null?void 0:Fn.value}).filter(function(kn){return kn!==void 0}));var sn=Array.from(new Set([].concat((0,k.Z)(_n),(0,k.Z)(tn))));Zt(sn),sn.forEach(function(kn){wn(kn,!0)})},Nn=s.useMemo(function(){var Ot=Pt!==!1&&pe!==!1;return(0,G.Z)((0,G.Z)({},ne),{},{flattenOptions:wt,onActiveValue:qn,defaultActiveFirstOption:ar,onSelect:An,menuItemSelectedIcon:Rt,rawValues:_n,fieldNames:_e,virtual:Ot,direction:zt,listHeight:Vt,listItemHeight:Dt,childrenAsData:ee,maxCount:Ht,optionRender:yt})},[Ht,ne,wt,qn,ar,An,Rt,_n,_e,Pt,pe,zt,Vt,Dt,ee,yt]);return s.createElement(ie.Provider,{value:Nn},s.createElement(ue,(0,O.Z)({},Tn,{id:I,prefixCls:qe,ref:J,omitDomProps:Dn,mode:Se,displayValues:on,onDisplayValuesChange:Gn,direction:zt,searchValue:Oe,onSearch:En,autoClearSearchValue:tt,onSearchSplit:xn,dropdownMatchSelectWidth:pe,OptionList:At,emptyOptions:!wt.length,activeValue:un,activeDescendantId:"".concat(I,"_list_").concat($n)})))}),_t=et;_t.Option=dt,_t.OptGroup=Pe;var an=_t,Sn=an},86351:function(Bt,Ze,l){"use strict";l.d(Ze,{R:function(){return k},w:function(){return O}});var O={},k="rc-table-internal-hook"},97347:function(Bt,Ze,l){"use strict";l.d(Ze,{L:function(){return m},Z:function(){return f}});var O=l(16886),k=l(52873),B=l(15142),G=l(26420),W=l(98506),h=l(33346),V=l(11592),H=l(48736),e=l(59301),s=l(86351),c=l(54451);function t(u){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof D=="number"?D:D.endsWith("%")?u*parseFloat(D)/100:null}function r(u,D,T){return e.useMemo(function(){if(D&&D>0){var K=0,L=0;u.forEach(function(R){var b=t(D,R.width);b?K+=b:L+=1});var $=Math.max(D,T),z=Math.max($-K,L),Ee=L,C=z/L,_=0,E=u.map(function(R){var b=(0,W.Z)({},R),n=t(D,b.width);if(n)b.width=n;else{var a=Math.floor(C);b.width=Ee===1?z:a,z-=a,Ee-=1}return _+=b.width,b});if(_<$){var P=$/_;z=$,E.forEach(function(R,b){var n=Math.floor(R.width*P);R.width=b===E.length-1?z:n,z-=n})}return[E,Math.max(_,$)]}return[u,D]},[u,D,T])}var i=["children"],o=["fixed"];function m(u){return(0,V.Z)(u).filter(function(D){return e.isValidElement(D)}).map(function(D){var T=D.key,K=D.props,L=K.children,$=(0,h.Z)(K,i),z=(0,W.Z)({key:T},$);return L&&(z.children=m(L)),z})}function w(u){return u.filter(function(D){return D&&(0,G.Z)(D)==="object"&&!D.hidden}).map(function(D){var T=D.children;return T&&T.length>0?(0,W.Z)((0,W.Z)({},D),{},{children:w(T)}):D})}function N(u){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return u.filter(function(T){return T&&(0,G.Z)(T)==="object"}).reduce(function(T,K,L){var $=K.fixed,z=$===!0?"left":$,Ee="".concat(D,"-").concat(L),C=K.children;return C&&C.length>0?[].concat((0,B.Z)(T),(0,B.Z)(N(C,Ee).map(function(_){return(0,W.Z)({fixed:z},_)}))):[].concat((0,B.Z)(T),[(0,W.Z)((0,W.Z)({key:Ee},K),{},{fixed:z})])},[])}function p(u){return u.map(function(D){var T=D.fixed,K=(0,h.Z)(D,o),L=T;return T==="left"?L="right":T==="right"&&(L="left"),(0,W.Z)({fixed:L},K)})}function g(u,D){var T=u.prefixCls,K=u.columns,L=u.children,$=u.expandable,z=u.expandedKeys,Ee=u.columnTitle,C=u.getRowKey,_=u.onTriggerExpand,E=u.expandIcon,P=u.rowExpandable,R=u.expandIconColumnIndex,b=u.direction,n=u.expandRowByClick,a=u.columnWidth,d=u.fixed,A=u.scrollWidth,re=u.clientWidth,de=e.useMemo(function(){var Te=K||m(L)||[];return w(Te.slice())},[K,L]),ve=e.useMemo(function(){if($){var Te=de.slice();if(!Te.includes(s.w)){var ae=R||0;ae>=0&&(ae||d==="left"||!d)&&Te.splice(ae,0,s.w),d==="right"&&Te.splice(de.length,0,s.w)}var y=Te.indexOf(s.w);Te=Te.filter(function(te,x){return te!==s.w||x===y});var M=de[y],S;d?S=d:S=M?M.fixed:null;var q=(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},c.v,{className:"".concat(T,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ee),"fixed",S),"className","".concat(T,"-row-expand-icon-cell")),"width",a),"render",function(x,v,F){var X=C(v,F),Z=z.has(X),U=P?P(v):!0,j=E({prefixCls:T,expanded:Z,expandable:U,record:v,onExpand:_});return n?e.createElement("span",{onClick:function(ie){return ie.stopPropagation()}},j):j});return Te.map(function(te){return te===s.w?q:te})}return de.filter(function(te){return te!==s.w})},[$,de,C,z,E,b]),De=e.useMemo(function(){var Te=ve;return D&&(Te=D(Te)),Te.length||(Te=[{render:function(){return null}}]),Te},[D,ve,b]),Ae=e.useMemo(function(){return b==="rtl"?p(N(De)):N(De)},[De,b,A]),mt=e.useMemo(function(){for(var Te=-1,ae=Ae.length-1;ae>=0;ae-=1){var y=Ae[ae].fixed;if(y==="left"||y===!0){Te=ae;break}}if(Te>=0)for(var M=0;M<=Te;M+=1){var S=Ae[M].fixed;if(S!=="left"&&S!==!0)return!0}var q=Ae.findIndex(function(v){var F=v.fixed;return F==="right"});if(q>=0)for(var te=q;te=ee}function Ae(I,oe){return e(u,function(ee){var se=De(I,oe||1,ee.hoverStartRow,ee.hoverEndRow);return[se,ee.onHover]})}var mt=l(70425),me=function(oe){var ee=oe.ellipsis,se=oe.rowType,_e=oe.children,be,Be=ee===!0?{showTitle:!0}:ee;return Be&&(Be.showTitle||se==="header")&&(typeof _e=="string"||typeof _e=="number"?be=_e.toString():h.isValidElement(_e)&&typeof _e.props.children=="string"&&(be=_e.props.children)),be};function Xe(I){var oe,ee,se,_e,be,Be,Oe,xe,ne=I.component,le=I.children,he=I.ellipsis,ye=I.scope,Ce=I.prefixCls,Ye=I.className,pt=I.align,it=I.record,kt=I.render,Ut=I.dataIndex,Tt=I.renderIndex,Jt=I.shouldCellUpdate,bt=I.index,pn=I.rowType,on=I.colSpan,_n=I.rowSpan,Xt=I.fixLeft,rn=I.fixRight,yn=I.firstFixLeft,ln=I.lastFixLeft,dn=I.firstFixRight,jt=I.lastFixRight,wt=I.appendNode,Zt=I.additionalProps,Qt=Zt===void 0?{}:Zt,hn=I.isSticky,un="".concat(Ce,"-cell"),fn=e(u,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=fn.supportSticky,Xn=fn.allColumnsFixedLeft,$n=fn.rowHoverable,or=ve(it,Ut,Tt,le,kt,Jt),ar=(0,k.Z)(or,2),qn=ar[0],wn=ar[1],An={},Gn=typeof Xt=="number"&&Un,En=typeof rn=="number"&&Un;Gn&&(An.position="sticky",An.left=Xt),En&&(An.position="sticky",An.right=rn);var xn=(oe=(ee=(se=wn==null?void 0:wn.colSpan)!==null&&se!==void 0?se:Qt.colSpan)!==null&&ee!==void 0?ee:on)!==null&&oe!==void 0?oe:1,Nn=(_e=(be=(Be=wn==null?void 0:wn.rowSpan)!==null&&Be!==void 0?Be:Qt.rowSpan)!==null&&be!==void 0?be:_n)!==null&&_e!==void 0?_e:1,Ot=Ae(bt,Nn),qt=(0,k.Z)(Ot,2),tn=qt[0],sn=qt[1],kn=(0,mt.zX)(function(zn){var Hn;it&&sn(bt,bt+Nn-1),Qt==null||(Hn=Qt.onMouseEnter)===null||Hn===void 0||Hn.call(Qt,zn)}),Fn=(0,mt.zX)(function(zn){var Hn;it&&sn(-1,-1),Qt==null||(Hn=Qt.onMouseLeave)===null||Hn===void 0||Hn.call(Qt,zn)});if(xn===0||Nn===0)return null;var ir=(Oe=Qt.title)!==null&&Oe!==void 0?Oe:me({rowType:pn,ellipsis:he,children:qn}),Ct=C()(un,Ye,(xe={},(0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)(xe,"".concat(un,"-fix-left"),Gn&&Un),"".concat(un,"-fix-left-first"),yn&&Un),"".concat(un,"-fix-left-last"),ln&&Un),"".concat(un,"-fix-left-all"),ln&&Xn&&Un),"".concat(un,"-fix-right"),En&&Un),"".concat(un,"-fix-right-first"),dn&&Un),"".concat(un,"-fix-right-last"),jt&&Un),"".concat(un,"-ellipsis"),he),"".concat(un,"-with-append"),wt),"".concat(un,"-fix-sticky"),(Gn||En)&&hn&&Un),(0,z.Z)(xe,"".concat(un,"-row-hover"),!wn&&tn)),Qt.className,wn==null?void 0:wn.className),$t={};pt&&($t.textAlign=pt);var Wt=(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},wn==null?void 0:wn.style),An),$t),Qt.style),In=qn;return(0,L.Z)(In)==="object"&&!Array.isArray(In)&&!h.isValidElement(In)&&(In=null),he&&(ln||dn)&&(In=h.createElement("span",{className:"".concat(un,"-content")},In)),h.createElement(ne,(0,s.Z)({},wn,Qt,{className:Ct,style:Wt,title:ir,scope:ye,onMouseEnter:$n?kn:void 0,onMouseLeave:$n?Fn:void 0,colSpan:xn!==1?xn:null,rowSpan:Nn!==1?Nn:null}),wt,In)}var Ne=h.memo(Xe);function Qe(I,oe,ee,se,_e){var be=ee[I]||{},Be=ee[oe]||{},Oe,xe;be.fixed==="left"?Oe=se.left[_e==="rtl"?oe:I]:Be.fixed==="right"&&(xe=se.right[_e==="rtl"?I:oe]);var ne=!1,le=!1,he=!1,ye=!1,Ce=ee[oe+1],Ye=ee[I-1],pt=Ce&&!Ce.fixed||Ye&&!Ye.fixed||ee.every(function(Jt){return Jt.fixed==="left"});if(_e==="rtl"){if(Oe!==void 0){var it=Ye&&Ye.fixed==="left";ye=!it&&pt}else if(xe!==void 0){var kt=Ce&&Ce.fixed==="right";he=!kt&&pt}}else if(Oe!==void 0){var Ut=Ce&&Ce.fixed==="left";ne=!Ut&&pt}else if(xe!==void 0){var Tt=Ye&&Ye.fixed==="right";le=!Tt&&pt}return{fixLeft:Oe,fixRight:xe,lastFixLeft:ne,firstFixRight:le,lastFixRight:he,firstFixLeft:ye,isSticky:se.isSticky}}var Te=h.createContext({}),ae=Te;function y(I){var oe=I.className,ee=I.index,se=I.children,_e=I.colSpan,be=_e===void 0?1:_e,Be=I.rowSpan,Oe=I.align,xe=e(u,["prefixCls","direction"]),ne=xe.prefixCls,le=xe.direction,he=h.useContext(ae),ye=he.scrollColumnIndex,Ce=he.stickyOffsets,Ye=he.flattenColumns,pt=ee+be-1,it=pt+1===ye?be+1:be,kt=Qe(ee,ee+it-1,Ye,Ce,le);return h.createElement(Ne,(0,s.Z)({className:oe,index:ee,component:"td",prefixCls:ne,record:null,dataIndex:null,align:Oe,colSpan:it,rowSpan:Be,render:function(){return se}},kt))}var M=l(33346),S=["children"];function q(I){var oe=I.children,ee=(0,M.Z)(I,S);return h.createElement("tr",ee,oe)}function te(I){var oe=I.children;return oe}te.Row=q,te.Cell=y;var x=te;function v(I){var oe=I.children,ee=I.stickyOffsets,se=I.flattenColumns,_e=e(u,"prefixCls"),be=se.length-1,Be=se[be],Oe=h.useMemo(function(){return{stickyOffsets:ee,flattenColumns:se,scrollColumnIndex:Be!=null&&Be.scrollbar?be:null}},[Be,se,be,ee]);return h.createElement(ae.Provider,{value:Oe},h.createElement("tfoot",{className:"".concat(_e,"-summary")},oe))}var F=p(v),X=x,Z=l(29301),U=l(24514),j=l(75152),ce=l(26112);function ie(I,oe,ee,se,_e,be,Be){I.push({record:oe,indent:ee,index:Be});var Oe=be(oe),xe=_e==null?void 0:_e.has(Oe);if(oe&&Array.isArray(oe[se])&&xe)for(var ne=0;ne1?yn-1:0),dn=1;dn=1)),style:(0,$.Z)((0,$.Z)({},ee),kt==null?void 0:kt.style)}),Ye.map(function(Xt,rn){var yn=Xt.render,ln=Xt.dataIndex,dn=Xt.className,jt=Pe(ye,Xt,rn,xe,_e),wt=jt.key,Zt=jt.fixedInfo,Qt=jt.appendCellNode,hn=jt.additionalCellProps;return h.createElement(Ne,(0,s.Z)({className:dn,ellipsis:Xt.ellipsis,align:Xt.align,scope:Xt.rowScope,component:Xt.rowScope?he:le,prefixCls:Ce,key:wt,record:se,index:_e,renderIndex:be,dataIndex:ln,render:yn,shouldCellUpdate:Xt.shouldCellUpdate},Zt,{appendNode:Qt,additionalProps:hn}))})),on;if(Tt&&(Jt.current||Ut)){var _n=it(se,_e,xe+1,Ut);on=h.createElement(Ke,{expanded:Ut,className:C()("".concat(Ce,"-expanded-row"),"".concat(Ce,"-expanded-row-level-").concat(xe+1),bt),prefixCls:Ce,component:ne,cellComponent:le,colSpan:Ye.length,isEmpty:!1},_n)}return h.createElement(h.Fragment,null,pn,on)}var dt=p(Re);function xt(I){var oe=I.columnKey,ee=I.onColumnResize,se=h.useRef();return(0,G.Z)(function(){se.current&&ee(oe,se.current.offsetWidth)},[]),h.createElement(Z.Z,{data:oe},h.createElement("td",{ref:se,style:{padding:0,border:0,height:0}},h.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Ie=l(29194);function Lt(I){var oe=I.prefixCls,ee=I.columnsKey,se=I.onColumnResize,_e=h.useRef(null);return h.createElement("tr",{"aria-hidden":"true",className:"".concat(oe,"-measure-row"),style:{height:0,fontSize:0},ref:_e},h.createElement(Z.Z.Collection,{onBatchResize:function(Be){(0,Ie.Z)(_e.current)&&Be.forEach(function(Oe){var xe=Oe.data,ne=Oe.size;se(xe,ne.offsetWidth)})}},ee.map(function(be){return h.createElement(xt,{key:be,columnKey:be,onColumnResize:se})})))}function en(I){var oe=I.data,ee=I.measureColumnWidth,se=e(u,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),_e=se.prefixCls,be=se.getComponent,Be=se.onColumnResize,Oe=se.flattenColumns,xe=se.getRowKey,ne=se.expandedKeys,le=se.childrenColumnName,he=se.emptyNode,ye=we(oe,le,ne,xe),Ce=h.useRef({renderWithProps:!1}),Ye=be(["body","wrapper"],"tbody"),pt=be(["body","row"],"tr"),it=be(["body","cell"],"td"),kt=be(["body","cell"],"th"),Ut;oe.length?Ut=ye.map(function(Jt,bt){var pn=Jt.record,on=Jt.indent,_n=Jt.index,Xt=xe(pn,bt);return h.createElement(dt,{key:Xt,rowKey:Xt,record:pn,index:bt,renderIndex:_n,rowComponent:pt,cellComponent:it,scopeCellComponent:kt,indent:on})}):Ut=h.createElement(Ke,{expanded:!0,className:"".concat(_e,"-placeholder"),prefixCls:_e,component:pt,cellComponent:it,colSpan:Oe.length,isEmpty:!0},he);var Tt=d(Oe);return h.createElement(b.Provider,{value:Ce.current},h.createElement(Ye,{className:"".concat(_e,"-tbody")},ee&&h.createElement(Lt,{prefixCls:_e,columnsKey:Tt,onColumnResize:Be}),Ut))}var ht=p(en),ot=l(54451),Kt=["columnType"];function nn(I){for(var oe=I.colWidths,ee=I.columns,se=I.columCount,_e=e(u,["tableLayout"]),be=_e.tableLayout,Be=[],Oe=se||ee.length,xe=!1,ne=Oe-1;ne>=0;ne-=1){var le=oe[ne],he=ee&&ee[ne],ye=void 0,Ce=void 0;if(he&&(ye=he[ot.v],be==="auto"&&(Ce=he.minWidth)),le||Ce||ye||xe){var Ye=ye||{},pt=Ye.columnType,it=(0,M.Z)(Ye,Kt);Be.unshift(h.createElement("col",(0,s.Z)({key:ne,style:{width:le,minWidth:Ce}},it))),xe=!0}}return h.createElement("colgroup",null,Be)}var At=nn,gt=l(15142),Ft=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function vn(I,oe){return(0,h.useMemo)(function(){for(var ee=[],se=0;se1?"colgroup":"col":null,ellipsis:it.ellipsis,align:it.align,component:Be,prefixCls:le,key:Ce[pt]},kt,{additionalProps:Ut,rowType:"header"}))}))},Zn=Et;function mn(I){var oe=[];function ee(Be,Oe){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;oe[xe]=oe[xe]||[];var ne=Oe,le=Be.filter(Boolean).map(function(he){var ye={key:he.key,className:he.className||"",children:he.title,column:he,colStart:ne},Ce=1,Ye=he.children;return Ye&&Ye.length>0&&(Ce=ee(Ye,ne,xe+1).reduce(function(pt,it){return pt+it},0),ye.hasSubColumns=!0),"colSpan"in he&&(Ce=he.colSpan),"rowSpan"in he&&(ye.rowSpan=he.rowSpan),ye.colSpan=Ce,ye.colEnd=ye.colStart+Ce-1,oe[xe].push(ye),ne+=Ce,Ce});return le}ee(I,0);for(var se=oe.length,_e=function(Oe){oe[Oe].forEach(function(xe){!("rowSpan"in xe)&&!xe.hasSubColumns&&(xe.rowSpan=se-Oe)})},be=0;be=Qt-Oe?Ut(function(hn){return(0,$.Z)((0,$.Z)({},hn),{},{isHiddenScrollBar:!0})}):Ut(function(hn){return(0,$.Z)((0,$.Z)({},hn),{},{isHiddenScrollBar:!1})})}})},dn=function(wt){Ut(function(Zt){return(0,$.Z)((0,$.Z)({},Zt),{},{scrollLeft:wt/he*ye||0})})};return h.useImperativeHandle(ee,function(){return{setScrollLeft:dn,checkScrollBarVisible:ln}}),h.useEffect(function(){var jt=(0,J.Z)(document.body,"mouseup",Xt,!1),wt=(0,J.Z)(document.body,"mousemove",yn,!1);return ln(),function(){jt.remove(),wt.remove()}},[Ce,pn]),h.useEffect(function(){if(be.current){for(var jt=[],wt=(0,Se.bn)(be.current);wt;)jt.push(wt),wt=wt.parentElement;return jt.forEach(function(Zt){return Zt.addEventListener("scroll",ln,!1)}),window.addEventListener("resize",ln,!1),window.addEventListener("scroll",ln,!1),xe.addEventListener("scroll",ln,!1),function(){jt.forEach(function(Zt){return Zt.removeEventListener("scroll",ln)}),window.removeEventListener("resize",ln),window.removeEventListener("scroll",ln),xe.removeEventListener("scroll",ln)}}},[xe]),h.useEffect(function(){kt.isHiddenScrollBar||Ut(function(jt){var wt=be.current;return wt?(0,$.Z)((0,$.Z)({},jt),{},{scrollLeft:wt.scrollLeft/wt.scrollWidth*wt.clientWidth}):jt})},[kt.isHiddenScrollBar]),he<=ye||!Ce||kt.isHiddenScrollBar?null:h.createElement("div",{style:{height:(0,j.Z)(),width:ye,bottom:Oe},className:"".concat(le,"-sticky-scroll")},h.createElement("div",{onMouseDown:rn,ref:Ye,className:C()("".concat(le,"-sticky-scroll-bar"),(0,z.Z)({},"".concat(le,"-sticky-scroll-bar-active"),pn)),style:{width:"".concat(Ce,"px"),transform:"translate3d(".concat(kt.scrollLeft,"px, 0, 0)")}}))},Ve=h.forwardRef(qe);function Ue(I){return null}var at=Ue;function $e(I){return null}var nt=$e,ct="rc-table",tt=[],ze={};function Y(){return"No Data"}function fe(I,oe){var ee=(0,$.Z)({rowKey:"key",prefixCls:ct,emptyText:Y},I),se=ee.prefixCls,_e=ee.className,be=ee.rowClassName,Be=ee.style,Oe=ee.data,xe=ee.rowKey,ne=ee.scroll,le=ee.tableLayout,he=ee.direction,ye=ee.title,Ce=ee.footer,Ye=ee.summary,pt=ee.caption,it=ee.id,kt=ee.showHeader,Ut=ee.components,Tt=ee.emptyText,Jt=ee.onRow,bt=ee.onHeaderRow,pn=ee.onScroll,on=ee.internalHooks,_n=ee.transformColumns,Xt=ee.internalRefs,rn=ee.tailor,yn=ee.getContainerWidth,ln=ee.sticky,dn=ee.rowHoverable,jt=dn===void 0?!0:dn,wt=Oe||tt,Zt=!!wt.length,Qt=on===O.R,hn=h.useCallback(function(Bn,Wn){return(0,E.Z)(Ut,Bn)||Wn},[Ut]),un=h.useMemo(function(){return typeof xe=="function"?xe:function(Bn){var Wn=Bn&&Bn[xe];return Wn}},[xe]),fn=hn(["body"]),Un=gn(),Xn=(0,k.Z)(Un,3),$n=Xn[0],or=Xn[1],ar=Xn[2],qn=Cn(ee,wt,un),wn=(0,k.Z)(qn,6),An=wn[0],Gn=wn[1],En=wn[2],xn=wn[3],Nn=wn[4],Ot=wn[5],qt=ne==null?void 0:ne.x,tn=h.useState(0),sn=(0,k.Z)(tn,2),kn=sn[0],Fn=sn[1],ir=(0,bn.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},ee),An),{},{expandable:!!An.expandedRowRender,columnTitle:An.columnTitle,expandedKeys:En,getRowKey:un,onTriggerExpand:Ot,expandIcon:xn,expandIconColumnIndex:An.expandIconColumnIndex,direction:he,scrollWidth:Qt&&rn&&typeof qt=="number"?qt:null,clientWidth:kn}),Qt?_n:null),Ct=(0,k.Z)(ir,4),$t=Ct[0],Wt=Ct[1],In=Ct[2],zn=Ct[3],Hn=In!=null?In:qt,cr=h.useMemo(function(){return{columns:$t,flattenColumns:Wt}},[$t,Wt]),dr=h.useRef(),lr=h.useRef(),Jn=h.useRef(),Fr=h.useRef();h.useImperativeHandle(oe,function(){return{nativeElement:dr.current,scrollTo:function(Wn){var pr;if(Jn.current instanceof HTMLElement){var wr=Wn.index,_r=Wn.top,Hr=Wn.key;if(re(_r)){var Lr;(Lr=Jn.current)===null||Lr===void 0||Lr.scrollTo({top:_r})}else{var Kr,Qr=Hr!=null?Hr:un(wt[wr]);(Kr=Jn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(pr=Jn.current)!==null&&pr!==void 0&&pr.scrollTo&&Jn.current.scrollTo(Wn)}}});var Br=h.useRef(),Sr=h.useState(!1),Tr=(0,k.Z)(Sr,2),Pr=Tr[0],Or=Tr[1],Ar=h.useState(!1),br=(0,k.Z)(Ar,2),Mr=br[0],Nr=br[1],zr=h.useState(new Map),Dr=(0,k.Z)(zr,2),$r=Dr[0],Ir=Dr[1],Gr=d(Wt),jr=Gr.map(function(Bn){return $r.get(Bn)}),Wr=h.useMemo(function(){return jr},[jr.join("_")]),kr=an(Wr,Wt,he),hr=ne&&A(ne.y),ur=ne&&A(Hn)||!!An.fixed,Mn=ur&&Wt.some(function(Bn){var Wn=Bn.fixed;return Wn}),Pn=h.useRef(),nr=et(ln,se),Qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,sr=h.useMemo(function(){return Ye==null?void 0:Ye(wt)},[Ye,wt]),mr=(hr||Qn)&&h.isValidElement(sr)&&sr.type===x&&sr.props.fixed,Rr,Er,Yr;hr&&(Er={overflowY:Zt?"scroll":"auto",maxHeight:ne.y}),ur&&(Rr={overflowX:"auto"},hr||(Er={overflowY:"hidden"}),Yr={width:Hn===!0?"auto":Hn,minWidth:"100%"});var qr=h.useCallback(function(Bn,Wn){Ir(function(pr){if(pr.get(Bn)!==Wn){var wr=new Map(pr);return wr.set(Bn,Wn),wr}return pr})},[]),tr=On(null),Vn=(0,k.Z)(tr,2),Yn=Vn[0],vr=Vn[1];function fr(Bn,Wn){Wn&&(typeof Wn=="function"?Wn(Bn):Wn.scrollLeft!==Bn&&(Wn.scrollLeft=Bn,Wn.scrollLeft!==Bn&&setTimeout(function(){Wn.scrollLeft=Bn},0)))}var Cr=(0,B.Z)(function(Bn){var Wn=Bn.currentTarget,pr=Bn.scrollLeft,wr=he==="rtl",_r=typeof pr=="number"?pr:Wn.scrollLeft,Hr=Wn||ze;if(!vr()||vr()===Hr){var Lr;Yn(Hr),fr(_r,lr.current),fr(_r,Jn.current),fr(_r,Br.current),fr(_r,(Lr=Pn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=Wn||lr.current;if(Kr){var Qr=Qt&&rn&&typeof Hn=="number"?Hn:Kr.scrollWidth,oa=Kr.clientWidth;if(Qr===oa){Or(!1),Nr(!1);return}wr?(Or(-_r0)):(Or(_r>0),Nr(_r1?it-jt:0,Zt=(0,$.Z)((0,$.Z)((0,$.Z)({},_n),ne),{},{flex:"0 0 ".concat(jt,"px"),width:"".concat(jt,"px"),marginRight:wt,pointerEvents:"auto"}),Qt=h.useMemo(function(){return he?ln<=1:rn===0||ln===0||ln>1},[ln,rn,he]);Qt?Zt.visibility="hidden":he&&(Zt.height=ye==null?void 0:ye(ln));var hn=Qt?function(){return null}:Ce,un={};return(ln===0||rn===0)&&(un.rowSpan=1,un.colSpan=1),h.createElement(Ne,(0,s.Z)({className:C()(pt,le),ellipsis:ee.ellipsis,align:ee.align,scope:ee.rowScope,component:Be,prefixCls:oe.prefixCls,key:Jt,record:xe,index:be,renderIndex:Oe,dataIndex:Ye,render:hn,shouldCellUpdate:ee.shouldCellUpdate},bt,{appendNode:pn,additionalProps:(0,$.Z)((0,$.Z)({},on),{},{style:Zt},un)}))}var Rt=cn,Pt=["data","index","className","rowKey","style","extra","getHeight"],zt=h.forwardRef(function(I,oe){var ee=I.data,se=I.index,_e=I.className,be=I.rowKey,Be=I.style,Oe=I.extra,xe=I.getHeight,ne=(0,M.Z)(I,Pt),le=ee.record,he=ee.indent,ye=ee.index,Ce=e(u,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ye=Ce.scrollX,pt=Ce.flattenColumns,it=Ce.prefixCls,kt=Ce.fixColumn,Ut=Ce.componentWidth,Tt=e(lt,["getComponent"]),Jt=Tt.getComponent,bt=Me(le,be,se,he),pn=Jt(["body","row"],"div"),on=Jt(["body","cell"],"div"),_n=bt.rowSupportExpand,Xt=bt.expanded,rn=bt.rowProps,yn=bt.expandedRowRender,ln=bt.expandedRowClassName,dn;if(_n&&Xt){var jt=yn(le,se,he+1,Xt),wt=Le(ln,le,se,he),Zt={};kt&&(Zt={style:(0,z.Z)({},"--virtual-width","".concat(Ut,"px"))});var Qt="".concat(it,"-expanded-row-cell");dn=h.createElement(pn,{className:C()("".concat(it,"-expanded-row"),"".concat(it,"-expanded-row-level-").concat(he+1),wt)},h.createElement(Ne,{component:on,prefixCls:it,className:C()(Qt,(0,z.Z)({},"".concat(Qt,"-fixed"),kt)),additionalProps:Zt},jt))}var hn=(0,$.Z)((0,$.Z)({},Be),{},{width:Ye});Oe&&(hn.position="absolute",hn.pointerEvents="none");var un=h.createElement(pn,(0,s.Z)({},rn,ne,{"data-row-key":be,ref:_n?null:oe,className:C()(_e,"".concat(it,"-row"),rn==null?void 0:rn.className,(0,z.Z)({},"".concat(it,"-row-extra"),Oe)),style:(0,$.Z)((0,$.Z)({},hn),rn==null?void 0:rn.style)}),pt.map(function(fn,Un){return h.createElement(Rt,{key:Un,component:on,rowInfo:bt,column:fn,colIndex:Un,indent:he,index:se,renderIndex:ye,record:le,inverse:Oe,getHeight:xe})}));return _n?h.createElement("div",{ref:oe},un,dn):un}),Gt=p(zt),Vt=Gt,Nt=h.forwardRef(function(I,oe){var ee=I.data,se=I.onScroll,_e=e(u,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),be=_e.flattenColumns,Be=_e.onColumnResize,Oe=_e.getRowKey,xe=_e.expandedKeys,ne=_e.prefixCls,le=_e.childrenColumnName,he=_e.scrollX,ye=_e.direction,Ce=e(lt),Ye=Ce.sticky,pt=Ce.scrollY,it=Ce.listItemHeight,kt=Ce.getComponent,Ut=Ce.onScroll,Tt=h.useRef(),Jt=we(ee,le,xe,Oe),bt=h.useMemo(function(){var dn=0;return be.map(function(jt){var wt=jt.width,Zt=jt.key;return dn+=wt,[Zt,wt,dn]})},[be]),pn=h.useMemo(function(){return bt.map(function(dn){return dn[2]})},[bt]);h.useEffect(function(){bt.forEach(function(dn){var jt=(0,k.Z)(dn,2),wt=jt[0],Zt=jt[1];Be(wt,Zt)})},[bt]),h.useImperativeHandle(oe,function(){var dn,jt={scrollTo:function(Zt){var Qt;(Qt=Tt.current)===null||Qt===void 0||Qt.scrollTo(Zt)},nativeElement:(dn=Tt.current)===null||dn===void 0?void 0:dn.nativeElement};return Object.defineProperty(jt,"scrollLeft",{get:function(){var Zt;return((Zt=Tt.current)===null||Zt===void 0?void 0:Zt.getScrollInfo().x)||0},set:function(Zt){var Qt;(Qt=Tt.current)===null||Qt===void 0||Qt.scrollTo({left:Zt})}}),jt});var on=function(jt,wt){var Zt,Qt=(Zt=Jt[wt])===null||Zt===void 0?void 0:Zt.record,hn=jt.onCell;if(hn){var un,fn=hn(Qt,wt);return(un=fn==null?void 0:fn.rowSpan)!==null&&un!==void 0?un:1}return 1},_n=function(jt){var wt=jt.start,Zt=jt.end,Qt=jt.getSize,hn=jt.offsetY;if(Zt<0)return null;for(var un=be.filter(function(xn){return on(xn,wt)===0}),fn=wt,Un=function(Nn){if(un=un.filter(function(Ot){return on(Ot,Nn)===0}),!un.length)return fn=Nn,1},Xn=wt;Xn>=0&&!Un(Xn);Xn-=1);for(var $n=be.filter(function(xn){return on(xn,Zt)!==1}),or=Zt,ar=function(Nn){if($n=$n.filter(function(Ot){return on(Ot,Nn)!==1}),!$n.length)return or=Math.max(Nn-1,Zt),1},qn=Zt;qn1})&&wn.push(Nn)},Gn=fn;Gn<=or;Gn+=1)An(Gn);var En=wn.map(function(xn){var Nn=Jt[xn],Ot=Oe(Nn.record,xn),qt=function(kn){var Fn=xn+kn-1,ir=Oe(Jt[Fn].record,Fn),Ct=Qt(Ot,ir);return Ct.bottom-Ct.top},tn=Qt(Ot);return h.createElement(Vt,{key:xn,data:Nn,rowKey:Ot,index:xn,style:{top:-hn+tn.top},extra:!0,getHeight:qt})});return En},Xt=h.useMemo(function(){return{columnsOffset:pn}},[pn]),rn="".concat(ne,"-tbody"),yn=kt(["body","wrapper"]),ln={};return Ye&&(ln.position="sticky",ln.bottom=0,(0,L.Z)(Ye)==="object"&&Ye.offsetScroll&&(ln.bottom=Ye.offsetScroll)),h.createElement(yt.Provider,{value:Xt},h.createElement(Je.Z,{fullHeight:!1,ref:Tt,prefixCls:"".concat(rn,"-virtual"),styles:{horizontalScrollBar:ln},className:rn,height:pt,itemHeight:it||24,data:Jt,itemKey:function(jt){return Oe(jt.record)},component:yn,scrollWidth:he,direction:ye,onVirtualScroll:function(jt){var wt,Zt=jt.x;se({currentTarget:(wt=Tt.current)===null||wt===void 0?void 0:wt.nativeElement,scrollLeft:Zt})},onScroll:Ut,extraRender:_n},function(dn,jt,wt){var Zt=Oe(dn.record,jt);return h.createElement(Vt,{data:dn,rowKey:Zt,index:jt,style:wt.style})}))}),Dt=p(Nt),rt=Dt,ft=function(oe,ee){var se=ee.ref,_e=ee.onScroll;return h.createElement(rt,{ref:se,data:oe,onScroll:_e})};function vt(I,oe){var ee=I.data,se=I.columns,_e=I.scroll,be=I.sticky,Be=I.prefixCls,Oe=Be===void 0?ct:Be,xe=I.className,ne=I.listItemHeight,le=I.components,he=I.onScroll,ye=_e||{},Ce=ye.x,Ye=ye.y;typeof Ce!="number"&&(Ce=1),typeof Ye!="number"&&(Ye=500);var pt=(0,mt.zX)(function(Ut,Tt){return(0,E.Z)(le,Ut)||Tt}),it=(0,mt.zX)(he),kt=h.useMemo(function(){return{sticky:be,scrollY:Ye,listItemHeight:ne,getComponent:pt,onScroll:it}},[be,Ye,ne,pt,it]);return h.createElement(lt.Provider,{value:kt},h.createElement(Ge,(0,s.Z)({},I,{className:C()(xe,"".concat(Oe,"-virtual")),scroll:(0,$.Z)((0,$.Z)({},_e),{},{x:Ce}),components:(0,$.Z)((0,$.Z)({},le),{},{body:ee!=null&&ee.length?ft:void 0}),columns:se,internalHooks:O.R,tailor:!0,ref:oe})))}var Yt=h.forwardRef(vt);function It(I){return N(Yt,I)}var Ht=It(),Tn=null},54451:function(Bt,Ze,l){"use strict";l.d(Ze,{g:function(){return h},v:function(){return W}});var O=l(98506),k=l(33346),B=l(48736),G=["expandable"],W="RC_TABLE_INTERNAL_COL_DEFINE";function h(V){var H=V.expandable,e=(0,k.Z)(V,G),s;return"expandable"in V?s=(0,O.Z)((0,O.Z)({},e),H):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},22711:function(Bt,Ze,l){"use strict";l.r(Ze),l.d(Ze,{ResizableTextArea:function(){return Ee},default:function(){return P}});var O=l(67711),k=l(52873),B=l(98506),G=l(15142),W=l(16886),h=l(33346),V=l(92310),H=l.n(V),e=l(36901),s=l(66003),c=l(30292),t=l(18929),r=l(59301),i=l(26420),o=l(29301),m=l(34280),w=l(16089),N=` 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; `,p=["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"],g={},f;function u(R){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=R.getAttribute("id")||R.getAttribute("data-reactid")||R.getAttribute("name");if(b&&g[n])return g[n];var a=window.getComputedStyle(R),d=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),A=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),re=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),de=p.map(function(De){return"".concat(De,":").concat(a.getPropertyValue(De))}).join(";"),ve={sizingStyle:de,paddingSize:A,borderSize:re,boxSizing:d};return b&&n&&(g[n]=ve),ve}function D(R){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;f||(f=document.createElement("textarea"),f.setAttribute("tab-index","-1"),f.setAttribute("aria-hidden","true"),f.setAttribute("name","hiddenTextarea"),document.body.appendChild(f)),R.getAttribute("wrap")?f.setAttribute("wrap",R.getAttribute("wrap")):f.removeAttribute("wrap");var d=u(R,b),A=d.paddingSize,re=d.borderSize,de=d.boxSizing,ve=d.sizingStyle;f.setAttribute("style","".concat(ve,";").concat(N)),f.value=R.value||R.placeholder||"";var De=void 0,Ae=void 0,mt,me=f.scrollHeight;if(de==="border-box"?me+=re:de==="content-box"&&(me-=A),n!==null||a!==null){f.value=" ";var Xe=f.scrollHeight-A;n!==null&&(De=Xe*n,de==="border-box"&&(De=De+A+re),me=Math.max(De,me)),a!==null&&(Ae=Xe*a,de==="border-box"&&(Ae=Ae+A+re),mt=me>Ae?"":"hidden",me=Math.min(Ae,me))}var Ne={height:me,overflowY:mt,resize:"none"};return De&&(Ne.minHeight=De),Ae&&(Ne.maxHeight=Ae),Ne}var T=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],K=0,L=1,$=2,z=r.forwardRef(function(R,b){var n=R,a=n.prefixCls,d=n.defaultValue,A=n.value,re=n.autoSize,de=n.onResize,ve=n.className,De=n.style,Ae=n.disabled,mt=n.onChange,me=n.onInternalAutoSize,Xe=(0,h.Z)(n,T),Ne=(0,t.Z)(d,{value:A,postState:function(dt){return dt!=null?dt:""}}),Qe=(0,W.Z)(Ne,2),Te=Qe[0],ae=Qe[1],y=function(dt){ae(dt.target.value),mt==null||mt(dt)},M=r.useRef();r.useImperativeHandle(b,function(){return{textArea:M.current}});var S=r.useMemo(function(){return re&&(0,i.Z)(re)==="object"?[re.minRows,re.maxRows]:[]},[re]),q=(0,W.Z)(S,2),te=q[0],x=q[1],v=!!re,F=function(){try{if(document.activeElement===M.current){var dt=M.current,xt=dt.selectionStart,Ie=dt.selectionEnd,Lt=dt.scrollTop;M.current.setSelectionRange(xt,Ie),M.current.scrollTop=Lt}}catch(en){}},X=r.useState($),Z=(0,W.Z)(X,2),U=Z[0],j=Z[1],ce=r.useState(),ie=(0,W.Z)(ce,2),we=ie[0],Me=ie[1],je=function(){j(K)};(0,m.Z)(function(){v&&je()},[A,te,x,v]),(0,m.Z)(function(){if(U===K)j(L);else if(U===L){var Re=D(M.current,!1,te,x);j($),Me(Re)}else F()},[U]);var Ke=r.useRef(),ke=function(){w.Z.cancel(Ke.current)},ue=function(dt){U===$&&(de==null||de(dt),re&&(ke(),Ke.current=(0,w.Z)(function(){je()})))};r.useEffect(function(){return ke},[]);var Le=v?we:null,Pe=(0,B.Z)((0,B.Z)({},De),Le);return(U===K||U===L)&&(Pe.overflowY="hidden",Pe.overflowX="hidden"),r.createElement(o.Z,{onResize:ue,disabled:!(re||de)},r.createElement("textarea",(0,O.Z)({},Xe,{ref:M,style:Pe,className:H()(a,ve,(0,k.Z)({},"".concat(a,"-disabled"),Ae)),disabled:Ae,value:Te,onChange:y})))}),Ee=z,C=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],_=r.forwardRef(function(R,b){var n,a=R.defaultValue,d=R.value,A=R.onFocus,re=R.onBlur,de=R.onChange,ve=R.allowClear,De=R.maxLength,Ae=R.onCompositionStart,mt=R.onCompositionEnd,me=R.suffix,Xe=R.prefixCls,Ne=Xe===void 0?"rc-textarea":Xe,Qe=R.showCount,Te=R.count,ae=R.className,y=R.style,M=R.disabled,S=R.hidden,q=R.classNames,te=R.styles,x=R.onResize,v=R.onClear,F=R.onPressEnter,X=R.readOnly,Z=R.autoSize,U=R.onKeyDown,j=(0,h.Z)(R,C),ce=(0,t.Z)(a,{value:d,defaultValue:a}),ie=(0,W.Z)(ce,2),we=ie[0],Me=ie[1],je=we==null?"":String(we),Ke=r.useState(!1),ke=(0,W.Z)(Ke,2),ue=ke[0],Le=ke[1],Pe=r.useRef(!1),Re=r.useState(null),dt=(0,W.Z)(Re,2),xt=dt[0],Ie=dt[1],Lt=(0,r.useRef)(null),en=(0,r.useRef)(null),ht=function(){var _t;return(_t=en.current)===null||_t===void 0?void 0:_t.textArea},ot=function(){ht().focus()};(0,r.useImperativeHandle)(b,function(){var et;return{resizableTextArea:en.current,focus:ot,blur:function(){ht().blur()},nativeElement:((et=Lt.current)===null||et===void 0?void 0:et.nativeElement)||ht()}}),(0,r.useEffect)(function(){Le(function(et){return!M&&et})},[M]);var Kt=r.useState(null),nn=(0,W.Z)(Kt,2),At=nn[0],gt=nn[1];r.useEffect(function(){if(At){var et;(et=ht()).setSelectionRange.apply(et,(0,G.Z)(At))}},[At]);var Ft=(0,s.Z)(Te,Qe),vn=(n=Ft.max)!==null&&n!==void 0?n:De,Mt=Number(vn)>0,ut=Ft.strategy(je),Et=!!vn&&ut>vn,Zn=function(_t,an){var Sn=an;!Pe.current&&Ft.exceedFormatter&&Ft.max&&Ft.strategy(an)>Ft.max&&(Sn=Ft.exceedFormatter(an,{max:Ft.max}),an!==Sn&>([ht().selectionStart||0,ht().selectionEnd||0])),Me(Sn),(0,c.rJ)(_t.currentTarget,_t,de,Sn)},mn=function(_t){Pe.current=!0,Ae==null||Ae(_t)},Ln=function(_t){Pe.current=!1,Zn(_t,_t.currentTarget.value),mt==null||mt(_t)},jn=function(_t){Zn(_t,_t.target.value)},bn=function(_t){_t.key==="Enter"&&F&&F(_t),U==null||U(_t)},Cn=function(_t){Le(!0),A==null||A(_t)},Kn=function(_t){Le(!1),re==null||re(_t)},Rn=function(_t){Me(""),ot(),(0,c.rJ)(ht(),_t,de)},On=me,gn;Ft.show&&(Ft.showFormatter?gn=Ft.showFormatter({value:je,count:ut,maxLength:vn}):gn="".concat(ut).concat(Mt?" / ".concat(vn):""),On=r.createElement(r.Fragment,null,On,r.createElement("span",{className:H()("".concat(Ne,"-data-count"),q==null?void 0:q.count),style:te==null?void 0:te.count},gn)));var Dn=function(_t){var an;x==null||x(_t),(an=ht())!==null&&an!==void 0&&an.style.height&&Ie(!0)},st=!Z&&!Qe&&!ve;return r.createElement(e.BaseInput,{ref:Lt,value:je,allowClear:ve,handleReset:Rn,suffix:On,prefixCls:Ne,classNames:(0,B.Z)((0,B.Z)({},q),{},{affixWrapper:H()(q==null?void 0:q.affixWrapper,(0,k.Z)((0,k.Z)({},"".concat(Ne,"-show-count"),Qe),"".concat(Ne,"-textarea-allow-clear"),ve))}),disabled:M,focused:ue,className:H()(ae,Et&&"".concat(Ne,"-out-of-range")),style:(0,B.Z)((0,B.Z)({},y),xt&&!st?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof gn=="string"?gn:void 0}},hidden:S,readOnly:X,onClear:v},r.createElement(Ee,(0,O.Z)({},j,{autoSize:Z,maxLength:De,onKeyDown:bn,onChange:jn,onFocus:Cn,onBlur:Kn,onCompositionStart:mn,onCompositionEnd:Ln,className:H()(q==null?void 0:q.textarea),style:(0,B.Z)((0,B.Z)({},te==null?void 0:te.textarea),{},{resize:y==null?void 0:y.resize}),disabled:M,prefixCls:Ne,onResize:Dn,ref:en,readOnly:X})))}),E=_,P=E},29125:function(Bt,Ze,l){"use strict";l.d(Ze,{G:function(){return G},Z:function(){return N}});var O=l(92310),k=l.n(O),B=l(59301);function G(p){var g=p.children,f=p.prefixCls,u=p.id,D=p.overlayInnerStyle,T=p.bodyClassName,K=p.className,L=p.style;return B.createElement("div",{className:k()("".concat(f,"-content"),K),style:L},B.createElement("div",{className:k()("".concat(f,"-inner"),T),id:u,role:"tooltip",style:D},typeof g=="function"?g():g))}var W=l(67711),h=l(98506),V=l(33346),H=l(65030),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},c=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:c}},r=null,i=l(80402),o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],m=function(g,f){var u=g.overlayClassName,D=g.trigger,T=D===void 0?["hover"]:D,K=g.mouseEnterDelay,L=K===void 0?0:K,$=g.mouseLeaveDelay,z=$===void 0?.1:$,Ee=g.overlayStyle,C=g.prefixCls,_=C===void 0?"rc-tooltip":C,E=g.children,P=g.onVisibleChange,R=g.afterVisibleChange,b=g.transitionName,n=g.animation,a=g.motion,d=g.placement,A=d===void 0?"right":d,re=g.align,de=re===void 0?{}:re,ve=g.destroyTooltipOnHide,De=ve===void 0?!1:ve,Ae=g.defaultVisible,mt=g.getTooltipContainer,me=g.overlayInnerStyle,Xe=g.arrowContent,Ne=g.overlay,Qe=g.id,Te=g.showArrow,ae=Te===void 0?!0:Te,y=g.classNames,M=g.styles,S=(0,V.Z)(g,o),q=(0,i.Z)(Qe),te=(0,B.useRef)(null);(0,B.useImperativeHandle)(f,function(){return te.current});var x=(0,h.Z)({},S);"visible"in g&&(x.popupVisible=g.visible);var v=function(){return B.createElement(G,{key:"content",prefixCls:_,id:q,bodyClassName:y==null?void 0:y.body,overlayInnerStyle:(0,h.Z)((0,h.Z)({},me),M==null?void 0:M.body)},Ne)},F=function(){var Z=B.Children.only(E),U=(Z==null?void 0:Z.props)||{},j=(0,h.Z)((0,h.Z)({},U),{},{"aria-describedby":Ne?q:null});return B.cloneElement(E,j)};return B.createElement(H.Z,(0,W.Z)({popupClassName:k()(u,y==null?void 0:y.root),prefixCls:_,popup:v,action:T,builtinPlacements:t,popupPlacement:A,ref:te,popupAlign:de,getPopupContainer:mt,onPopupVisibleChange:P,afterPopupVisibleChange:R,popupTransitionName:b,popupAnimation:n,popupMotion:a,defaultPopupVisible:Ae,autoDestroy:De,mouseLeaveDelay:z,popupStyle:(0,h.Z)((0,h.Z)({},Ee),M==null?void 0:M.root),mouseEnterDelay:L,arrow:ae},x),F())},w=(0,B.forwardRef)(m),N=w},639:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return g}});var O=l(67711),k=l(52873),B=l(98506),G=l(16886),W=l(33346),h=l(59301),V=l(92310),H=l.n(V),e=l(26112),s=l(30699),c=function(u){for(var D=u.prefixCls,T=u.level,K=u.isStart,L=u.isEnd,$="".concat(D,"-indent-unit"),z=[],Ee=0;Ee0&&arguments[0]!==void 0?arguments[0]:[],q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],te=S.length,x=q.length;if(Math.abs(te-x)!==1)return{add:!1,key:null};function v(F,X){var Z=new Map;F.forEach(function(j){Z.set(j,!0)});var U=X.filter(function(j){return!Z.has(j)});return U.length===1?U[0]:null}return te ").concat(q);return q}var mt=m.forwardRef(function(S,q){var te=S.prefixCls,x=S.data,v=S.selectable,F=S.checkable,X=S.expandedKeys,Z=S.selectedKeys,U=S.checkedKeys,j=S.loadedKeys,ce=S.loadingKeys,ie=S.halfCheckedKeys,we=S.keyEntities,Me=S.disabled,je=S.dragging,Ke=S.dragOverNodeKey,ke=S.dropPosition,ue=S.motion,Le=S.height,Pe=S.itemHeight,Re=S.virtual,dt=S.scrollWidth,xt=S.focusable,Ie=S.activeItem,Lt=S.focused,en=S.tabIndex,ht=S.onKeyDown,ot=S.onFocus,Kt=S.onBlur,nn=S.onActiveChange,At=S.onListChangeStart,gt=S.onListChangeEnd,Ft=(0,u.Z)(S,b),vn=m.useRef(null),Mt=m.useRef(null);m.useImperativeHandle(q,function(){return{scrollTo:function(Ue){vn.current.scrollTo(Ue)},getIndentWidth:function(){return Mt.current.offsetWidth}}});var ut=m.useState(X),Et=(0,f.Z)(ut,2),Zn=Et[0],mn=Et[1],Ln=m.useState(x),jn=(0,f.Z)(Ln,2),bn=jn[0],Cn=jn[1],Kn=m.useState(x),Rn=(0,f.Z)(Kn,2),On=Rn[0],gn=Rn[1],Dn=m.useState([]),st=(0,f.Z)(Dn,2),et=st[0],_t=st[1],an=m.useState(null),Sn=(0,f.Z)(an,2),Q=Sn[0],J=Sn[1],We=m.useRef(x);We.current=x;function Se(){var Ve=We.current;Cn(Ve),gn(Ve),_t([]),J(null),gt()}(0,D.Z)(function(){mn(X);var Ve=P(Zn,X);if(Ve.key!==null)if(Ve.add){var Ue=bn.findIndex(function(ze){var Y=ze.key;return Y===Ve.key}),at=ve(R(bn,x,Ve.key),Re,Le,Pe),$e=bn.slice();$e.splice(Ue+1,0,de),gn($e),_t(at),J("show")}else{var nt=x.findIndex(function(ze){var Y=ze.key;return Y===Ve.key}),ct=ve(R(x,bn,Ve.key),Re,Le,Pe),tt=x.slice();tt.splice(nt+1,0,de),gn(tt),_t(ct),J("hide")}else bn!==x&&(Cn(x),gn(x))},[X,x]),m.useEffect(function(){je||Se()},[je]);var He=ue?On:x,qe={expandedKeys:X,selectedKeys:Z,loadedKeys:j,loadingKeys:ce,checkedKeys:U,halfCheckedKeys:ie,dragOverNodeKey:Ke,dropPosition:ke,keyEntities:we};return m.createElement(m.Fragment,null,Lt&&Ie&&m.createElement("span",{style:n,"aria-live":"assertive"},Ae(Ie)),m.createElement("div",null,m.createElement("input",{style:n,disabled:xt===!1||Me,tabIndex:xt!==!1?en:null,onKeyDown:ht,onFocus:ot,onBlur:Kt,value:"",onChange:a,"aria-label":"for screen reader"})),m.createElement("div",{className:"".concat(te,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},m.createElement("div",{className:"".concat(te,"-indent")},m.createElement("div",{ref:Mt,className:"".concat(te,"-indent-unit")}))),m.createElement(T.Z,(0,O.Z)({},Ft,{data:He,itemKey:De,height:Le,fullHeight:!1,virtual:Re,itemHeight:Pe,scrollWidth:dt,prefixCls:"".concat(te,"-list"),ref:vn,role:"tree",onVisibleChange:function(Ue){Ue.every(function(at){return De(at)!==d})&&Se()}}),function(Ve){var Ue=Ve.pos,at=Object.assign({},(g(Ve.data),Ve.data)),$e=Ve.title,nt=Ve.key,ct=Ve.isStart,tt=Ve.isEnd,ze=(0,Ee.km)(nt,Ue);delete at.key,delete at.children;var Y=(0,Ee.H8)(ze,qe);return m.createElement(E,(0,O.Z)({},at,Y,{title:$e,active:!!Ie&&nt===Ie.key,pos:Ue,data:Ve.data,isStart:ct,isEnd:tt,motion:ue,motionNodes:nt===d?et:null,motionType:Q,onMotionStart:At,onMotionEnd:Se,treeNodeRequiredProps:qe,onMouseMove:function(){nn(null)}}))}))}),me=mt,Xe=l(82661),Ne=l(34643),Qe=l(65065),Te=10,ae=function(S){(0,H.Z)(te,S);var q=(0,e.Z)(te);function te(){var x;(0,W.Z)(this,te);for(var v=arguments.length,F=new Array(v),X=0;X2&&arguments[2]!==void 0?arguments[2]:!1,ie=x.state,we=ie.dragChildrenKeys,Me=ie.dropPosition,je=ie.dropTargetKey,Ke=ie.dropTargetPos,ke=ie.dropAllowed;if(ke){var ue=x.props.onDrop;if(x.setState({dragOverNodeKey:null}),x.cleanDragState(),je!==null){var Le=(0,B.Z)((0,B.Z)({},(0,Ee.H8)(je,x.getTreeNodeRequiredProps())),{},{active:((j=x.getActiveItem())===null||j===void 0?void 0:j.key)===je,data:(0,Qe.Z)(x.state.keyEntities,je).node}),Pe=we.includes(je);(0,o.ZP)(!Pe,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Re=(0,Xe.yx)(Ke),dt={event:Z,node:(0,Ee.F)(Le),dragNode:x.dragNodeProps?(0,Ee.F)(x.dragNodeProps):null,dragNodesKeys:[x.dragNodeProps.eventKey].concat(we),dropToGap:Me!==0,dropPosition:Me+Number(Re[Re.length-1])};ce||ue==null||ue(dt),x.dragNodeProps=null}}}),(0,s.Z)((0,V.Z)(x),"cleanDragState",function(){var Z=x.state.draggingNodeKey;Z!==null&&x.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),x.dragStartMousePosition=null,x.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,V.Z)(x),"triggerExpandActionExpand",function(Z,U){var j=x.state,ce=j.expandedKeys,ie=j.flattenNodes,we=U.expanded,Me=U.key,je=U.isLeaf;if(!(je||Z.shiftKey||Z.metaKey||Z.ctrlKey)){var Ke=ie.filter(function(ue){return ue.key===Me})[0],ke=(0,Ee.F)((0,B.Z)((0,B.Z)({},(0,Ee.H8)(Me,x.getTreeNodeRequiredProps())),{},{data:Ke.data}));x.setExpandedKeys(we?(0,Xe._5)(ce,Me):(0,Xe.L0)(ce,Me)),x.onNodeExpand(Z,ke)}}),(0,s.Z)((0,V.Z)(x),"onNodeClick",function(Z,U){var j=x.props,ce=j.onClick,ie=j.expandAction;ie==="click"&&x.triggerExpandActionExpand(Z,U),ce==null||ce(Z,U)}),(0,s.Z)((0,V.Z)(x),"onNodeDoubleClick",function(Z,U){var j=x.props,ce=j.onDoubleClick,ie=j.expandAction;ie==="doubleClick"&&x.triggerExpandActionExpand(Z,U),ce==null||ce(Z,U)}),(0,s.Z)((0,V.Z)(x),"onNodeSelect",function(Z,U){var j=x.state.selectedKeys,ce=x.state,ie=ce.keyEntities,we=ce.fieldNames,Me=x.props,je=Me.onSelect,Ke=Me.multiple,ke=U.selected,ue=U[we.key],Le=!ke;Le?Ke?j=(0,Xe.L0)(j,ue):j=[ue]:j=(0,Xe._5)(j,ue);var Pe=j.map(function(Re){var dt=(0,Qe.Z)(ie,Re);return dt?dt.node:null}).filter(Boolean);x.setUncontrolledState({selectedKeys:j}),je==null||je(j,{event:"select",selected:Le,node:U,selectedNodes:Pe,nativeEvent:Z.nativeEvent})}),(0,s.Z)((0,V.Z)(x),"onNodeCheck",function(Z,U,j){var ce=x.state,ie=ce.keyEntities,we=ce.checkedKeys,Me=ce.halfCheckedKeys,je=x.props,Ke=je.checkStrictly,ke=je.onCheck,ue=U.key,Le,Pe={event:"check",node:U,checked:j,nativeEvent:Z.nativeEvent};if(Ke){var Re=j?(0,Xe.L0)(we,ue):(0,Xe._5)(we,ue),dt=(0,Xe._5)(Me,ue);Le={checked:Re,halfChecked:dt},Pe.checkedNodes=Re.map(function(ot){return(0,Qe.Z)(ie,ot)}).filter(Boolean).map(function(ot){return ot.node}),x.setUncontrolledState({checkedKeys:Re})}else{var xt=(0,Ne.S)([].concat((0,G.Z)(we),[ue]),!0,ie),Ie=xt.checkedKeys,Lt=xt.halfCheckedKeys;if(!j){var en=new Set(Ie);en.delete(ue);var ht=(0,Ne.S)(Array.from(en),{checked:!1,halfCheckedKeys:Lt},ie);Ie=ht.checkedKeys,Lt=ht.halfCheckedKeys}Le=Ie,Pe.checkedNodes=[],Pe.checkedNodesPositions=[],Pe.halfCheckedKeys=Lt,Ie.forEach(function(ot){var Kt=(0,Qe.Z)(ie,ot);if(Kt){var nn=Kt.node,At=Kt.pos;Pe.checkedNodes.push(nn),Pe.checkedNodesPositions.push({node:nn,pos:At})}}),x.setUncontrolledState({checkedKeys:Ie},!1,{halfCheckedKeys:Lt})}ke==null||ke(Le,Pe)}),(0,s.Z)((0,V.Z)(x),"onNodeLoad",function(Z){var U,j=Z.key,ce=x.state.keyEntities,ie=(0,Qe.Z)(ce,j);if(!(ie!=null&&(U=ie.children)!==null&&U!==void 0&&U.length)){var we=new Promise(function(Me,je){x.setState(function(Ke){var ke=Ke.loadedKeys,ue=ke===void 0?[]:ke,Le=Ke.loadingKeys,Pe=Le===void 0?[]:Le,Re=x.props,dt=Re.loadData,xt=Re.onLoad;if(!dt||ue.includes(j)||Pe.includes(j))return null;var Ie=dt(Z);return Ie.then(function(){var Lt=x.state.loadedKeys,en=(0,Xe.L0)(Lt,j);xt==null||xt(en,{event:"load",node:Z}),x.setUncontrolledState({loadedKeys:en}),x.setState(function(ht){return{loadingKeys:(0,Xe._5)(ht.loadingKeys,j)}}),Me()}).catch(function(Lt){if(x.setState(function(ht){return{loadingKeys:(0,Xe._5)(ht.loadingKeys,j)}}),x.loadingRetryTimes[j]=(x.loadingRetryTimes[j]||0)+1,x.loadingRetryTimes[j]>=Te){var en=x.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),x.setUncontrolledState({loadedKeys:(0,Xe.L0)(en,j)}),Me()}je(Lt)}),{loadingKeys:(0,Xe.L0)(Pe,j)}})});return we.catch(function(){}),we}}),(0,s.Z)((0,V.Z)(x),"onNodeMouseEnter",function(Z,U){var j=x.props.onMouseEnter;j==null||j({event:Z,node:U})}),(0,s.Z)((0,V.Z)(x),"onNodeMouseLeave",function(Z,U){var j=x.props.onMouseLeave;j==null||j({event:Z,node:U})}),(0,s.Z)((0,V.Z)(x),"onNodeContextMenu",function(Z,U){var j=x.props.onRightClick;j&&(Z.preventDefault(),j({event:Z,node:U}))}),(0,s.Z)((0,V.Z)(x),"onFocus",function(){var Z=x.props.onFocus;x.setState({focused:!0});for(var U=arguments.length,j=new Array(U),ce=0;ce1&&arguments[1]!==void 0?arguments[1]:!1,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!x.destroyed){var ce=!1,ie=!0,we={};Object.keys(Z).forEach(function(Me){if(x.props.hasOwnProperty(Me)){ie=!1;return}ce=!0,we[Me]=Z[Me]}),ce&&(!U||ie)&&x.setState((0,B.Z)((0,B.Z)({},we),j))}}),(0,s.Z)((0,V.Z)(x),"scrollTo",function(Z){x.listRef.current.scrollTo(Z)}),x}return(0,h.Z)(te,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var v=this.props,F=v.activeKey,X=v.itemScrollOffset,Z=X===void 0?0:X;F!==void 0&&F!==this.state.activeKey&&(this.setState({activeKey:F}),F!==null&&this.scrollTo({key:F,offset:Z}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var v=this.state,F=v.focused,X=v.flattenNodes,Z=v.keyEntities,U=v.draggingNodeKey,j=v.activeKey,ce=v.dropLevelOffset,ie=v.dropContainerKey,we=v.dropTargetKey,Me=v.dropPosition,je=v.dragOverNodeKey,Ke=v.indent,ke=this.props,ue=ke.prefixCls,Le=ke.className,Pe=ke.style,Re=ke.showLine,dt=ke.focusable,xt=ke.tabIndex,Ie=xt===void 0?0:xt,Lt=ke.selectable,en=ke.showIcon,ht=ke.icon,ot=ke.switcherIcon,Kt=ke.draggable,nn=ke.checkable,At=ke.checkStrictly,gt=ke.disabled,Ft=ke.motion,vn=ke.loadData,Mt=ke.filterTreeNode,ut=ke.height,Et=ke.itemHeight,Zn=ke.scrollWidth,mn=ke.virtual,Ln=ke.titleRender,jn=ke.dropIndicatorRender,bn=ke.onContextMenu,Cn=ke.onScroll,Kn=ke.direction,Rn=ke.rootClassName,On=ke.rootStyle,gn=(0,i.Z)(this.props,{aria:!0,data:!0}),Dn;Kt&&((0,k.Z)(Kt)==="object"?Dn=Kt:typeof Kt=="function"?Dn={nodeDraggable:Kt}:Dn={});var st={prefixCls:ue,selectable:Lt,showIcon:en,icon:ht,switcherIcon:ot,draggable:Dn,draggingNodeKey:U,checkable:nn,checkStrictly:At,disabled:gt,keyEntities:Z,dropLevelOffset:ce,dropContainerKey:ie,dropTargetKey:we,dropPosition:Me,dragOverNodeKey:je,indent:Ke,direction:Kn,dropIndicatorRender:jn,loadData:vn,filterTreeNode:Mt,titleRender:Ln,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return m.createElement(w.k.Provider,{value:st},m.createElement("div",{className:t()(ue,Le,Rn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(ue,"-show-line"),Re),"".concat(ue,"-focused"),F),"".concat(ue,"-active-focused"),j!==null)),style:On},m.createElement(me,(0,O.Z)({ref:this.listRef,prefixCls:ue,style:Pe,data:X,disabled:gt,selectable:Lt,checkable:!!nn,motion:Ft,dragging:U!==null,height:ut,itemHeight:Et,virtual:mn,focusable:dt,focused:F,tabIndex:Ie,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:bn,onScroll:Cn,scrollWidth:Zn},this.getTreeNodeRequiredProps(),gn))))}}],[{key:"getDerivedStateFromProps",value:function(v,F){var X=F.prevProps,Z={prevProps:v};function U(Ie){return!X&&v.hasOwnProperty(Ie)||X&&X[Ie]!==v[Ie]}var j,ce=F.fieldNames;if(U("fieldNames")&&(ce=(0,Ee.w$)(v.fieldNames),Z.fieldNames=ce),U("treeData")?j=v.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),j=(0,Ee.zn)(v.children)),j){Z.treeData=j;var ie=(0,Ee.I8)(j,{fieldNames:ce});Z.keyEntities=(0,B.Z)((0,s.Z)({},d,re),ie.keyEntities)}var we=Z.keyEntities||F.keyEntities;if(U("expandedKeys")||X&&U("autoExpandParent"))Z.expandedKeys=v.autoExpandParent||!X&&v.defaultExpandParent?(0,Xe.r7)(v.expandedKeys,we):v.expandedKeys;else if(!X&&v.defaultExpandAll){var Me=(0,B.Z)({},we);delete Me[d];var je=[];Object.keys(Me).forEach(function(Ie){var Lt=Me[Ie];Lt.children&&Lt.children.length&&je.push(Lt.key)}),Z.expandedKeys=je}else!X&&v.defaultExpandedKeys&&(Z.expandedKeys=v.autoExpandParent||v.defaultExpandParent?(0,Xe.r7)(v.defaultExpandedKeys,we):v.defaultExpandedKeys);if(Z.expandedKeys||delete Z.expandedKeys,j||Z.expandedKeys){var Ke=(0,Ee.oH)(j||F.treeData,Z.expandedKeys||F.expandedKeys,ce);Z.flattenNodes=Ke}if(v.selectable&&(U("selectedKeys")?Z.selectedKeys=(0,Xe.BT)(v.selectedKeys,v):!X&&v.defaultSelectedKeys&&(Z.selectedKeys=(0,Xe.BT)(v.defaultSelectedKeys,v))),v.checkable){var ke;if(U("checkedKeys")?ke=(0,Xe.E6)(v.checkedKeys)||{}:!X&&v.defaultCheckedKeys?ke=(0,Xe.E6)(v.defaultCheckedKeys)||{}:j&&(ke=(0,Xe.E6)(v.checkedKeys)||{checkedKeys:F.checkedKeys,halfCheckedKeys:F.halfCheckedKeys}),ke){var ue=ke,Le=ue.checkedKeys,Pe=Le===void 0?[]:Le,Re=ue.halfCheckedKeys,dt=Re===void 0?[]:Re;if(!v.checkStrictly){var xt=(0,Ne.S)(Pe,!0,we);Pe=xt.checkedKeys,dt=xt.halfCheckedKeys}Z.checkedKeys=Pe,Z.halfCheckedKeys=dt}}return U("loadedKeys")&&(Z.loadedKeys=v.loadedKeys),Z}}]),te}(m.Component);(0,s.Z)(ae,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:p,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(ae,"TreeNode",L.Z);var y=ae,M=y},82661:function(Bt,Ze,l){"use strict";l.d(Ze,{BT:function(){return m},E6:function(){return p},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return g},wA:function(){return t},yx:function(){return c}});var O=l(15142),k=l(26420),B=l(48736),G=l(59301),W=l(639),h=l(65065),V=l(34061),H=null;function e(f,u){if(!f)return[];var D=f.slice(),T=D.indexOf(u);return T>=0&&D.splice(T,1),D}function s(f,u){var D=(f||[]).slice();return D.indexOf(u)===-1&&D.push(u),D}function c(f){return f.split("-")}function t(f,u){var D=[],T=(0,h.Z)(u,f);function K(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];L.forEach(function($){var z=$.key,Ee=$.children;D.push(z),K(Ee)})}return K(T.children),D}function r(f){if(f.parent){var u=c(f.pos);return Number(u[u.length-1])===f.parent.children.length-1}return!1}function i(f){var u=c(f.pos);return Number(u[u.length-1])===0}function o(f,u,D,T,K,L,$,z,Ee,C){var _,E=f.clientX,P=f.clientY,R=f.target.getBoundingClientRect(),b=R.top,n=R.height,a=(C==="rtl"?-1:1)*(((K==null?void 0:K.x)||0)-E),d=(a-12)/T,A=Ee.filter(function(M){var S;return(S=z[M])===null||S===void 0||(S=S.children)===null||S===void 0?void 0:S.length}),re=(0,h.Z)(z,D.eventKey);if(P-1.5?L({dragNode:Te,dropNode:ae,dropPosition:1})?Xe=1:y=!1:L({dragNode:Te,dropNode:ae,dropPosition:0})?Xe=0:L({dragNode:Te,dropNode:ae,dropPosition:1})?Xe=1:y=!1:L({dragNode:Te,dropNode:ae,dropPosition:1})?Xe=1:y=!1,{dropPosition:Xe,dropLevelOffset:Ne,dropTargetKey:re.key,dropTargetPos:re.pos,dragOverNodeKey:me,dropContainerKey:Xe===0?null:((_=re.parent)===null||_===void 0?void 0:_.key)||null,dropAllowed:y}}function m(f,u){if(f){var D=u.multiple;return D?f.slice():f.length?[f[0]]:f}}var w=function(u){return u};function N(f,u){if(!f)return[];var D=u||{},T=D.processProps,K=T===void 0?w:T,L=Array.isArray(f)?f:[f];return L.map(function($){var z=$.children,Ee=_objectWithoutProperties($,H),C=N(z,u);return React.createElement(TreeNode,_extends({key:Ee.key},K(Ee)),C)})}function p(f){if(!f)return null;var u;if(Array.isArray(f))u={checkedKeys:f,halfCheckedKeys:void 0};else if((0,k.Z)(f)==="object")u={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,B.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return u}function g(f,u){var D=new Set;function T(K){if(!D.has(K)){var L=(0,h.Z)(u,K);if(L){D.add(K);var $=L.parent,z=L.node;z.disabled||$&&T($.key)}}}return(f||[]).forEach(function(K){T(K)}),(0,O.Z)(D)}},34643:function(Bt,Ze,l){"use strict";l.d(Ze,{S:function(){return V}});var O=l(48736),k=l(65065);function B(H,e){var s=new Set;return H.forEach(function(c){e.has(c)||s.add(c)}),s}function G(H){var e=H||{},s=e.disabled,c=e.disableCheckbox,t=e.checkable;return!!(s||c)||t===!1}function W(H,e,s,c){for(var t=new Set(H),r=new Set,i=0;i<=s;i+=1){var o=e.get(i)||new Set;o.forEach(function(p){var g=p.key,f=p.node,u=p.children,D=u===void 0?[]:u;t.has(g)&&!c(f)&&D.filter(function(T){return!c(T.node)}).forEach(function(T){t.add(T.key)})})}for(var m=new Set,w=s;w>=0;w-=1){var N=e.get(w)||new Set;N.forEach(function(p){var g=p.parent,f=p.node;if(!(c(f)||!p.parent||m.has(p.parent.key))){if(c(p.parent.node)){m.add(g.key);return}var u=!0,D=!1;(g.children||[]).filter(function(T){return!c(T.node)}).forEach(function(T){var K=T.key,L=t.has(K);u&&!L&&(u=!1),!D&&(L||r.has(K))&&(D=!0)}),u&&t.add(g.key),D&&r.add(g.key),m.add(g.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(B(r,t))}}function h(H,e,s,c,t){for(var r=new Set(H),i=new Set(e),o=0;o<=c;o+=1){var m=s.get(o)||new Set;m.forEach(function(g){var f=g.key,u=g.node,D=g.children,T=D===void 0?[]:D;!r.has(f)&&!i.has(f)&&!t(u)&&T.filter(function(K){return!t(K.node)}).forEach(function(K){r.delete(K.key)})})}i=new Set;for(var w=new Set,N=c;N>=0;N-=1){var p=s.get(N)||new Set;p.forEach(function(g){var f=g.parent,u=g.node;if(!(t(u)||!g.parent||w.has(g.parent.key))){if(t(g.parent.node)){w.add(f.key);return}var D=!0,T=!1;(f.children||[]).filter(function(K){return!t(K.node)}).forEach(function(K){var L=K.key,$=r.has(L);D&&!$&&(D=!1),!T&&($||i.has(L))&&(T=!0)}),D||r.delete(f.key),T&&i.add(f.key),w.add(f.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(B(i,r))}}function V(H,e,s,c){var t=[],r;c?r=c:r=G;var i=new Set(H.filter(function(N){var p=!!(0,k.Z)(s,N);return p||t.push(N),p})),o=new Map,m=0;Object.keys(s).forEach(function(N){var p=s[N],g=p.level,f=o.get(g);f||(f=new Set,o.set(g,f)),f.add(p),m=Math.max(m,g)}),(0,O.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(N){return"'".concat(N,"'")}).join(", ")));var w;return e===!0?w=W(i,o,m,r):w=h(i,e.halfCheckedKeys,o,m,r),w}},65065:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return O}});function O(k,B){return k[B]}},34061:function(Bt,Ze,l){"use strict";l.d(Ze,{F:function(){return g},H8:function(){return p},I8:function(){return N},km:function(){return t},oH:function(){return m},w$:function(){return r},zn:function(){return o}});var O=l(26420),k=l(15142),B=l(98506),G=l(33346),W=l(11592),h=l(2738),V=l(48736),H=l(65065),e=["children"];function s(f,u){return"".concat(f,"-").concat(u)}function c(f){return f&&f.type&&f.type.isTreeNode}function t(f,u){return f!=null?f:u}function r(f){var u=f||{},D=u.title,T=u._title,K=u.key,L=u.children,$=D||"title";return{title:$,_title:T||[$],key:K||"key",children:L||"children"}}function i(f,u){var D=new Map;function T(K){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(K||[]).forEach(function($){var z=$[u.key],Ee=$[u.children];warning(z!=null,"Tree node must have a certain key: [".concat(L).concat(z,"]"));var C=String(z);warning(!D.has(C)||z===null||z===void 0,"Same 'key' exist in the Tree: ".concat(C)),D.set(C,!0),T(Ee,"".concat(L).concat(C," > "))})}T(f)}function o(f){function u(D){var T=(0,W.Z)(D);return T.map(function(K){if(!c(K))return(0,V.ZP)(!K,"Tree/TreeNode can only accept TreeNode as children."),null;var L=K.key,$=K.props,z=$.children,Ee=(0,G.Z)($,e),C=(0,B.Z)({key:L},Ee),_=u(z);return _.length&&(C.children=_),C}).filter(function(K){return K})}return u(f)}function m(f,u,D){var T=r(D),K=T._title,L=T.key,$=T.children,z=new Set(u===!0?[]:u),Ee=[];function C(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return _.map(function(P,R){for(var b=s(E?E.pos:"0",R),n=t(P[L],b),a,d=0;d1&&arguments[1]!==void 0?arguments[1]:{},D=u.initWrapper,T=u.processEntity,K=u.onProcessFinished,L=u.externalGetKey,$=u.childrenPropName,z=u.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,C=L||Ee,_={},E={},P={posEntities:_,keyEntities:E};return D&&(P=D(P)||P),w(f,function(R){var b=R.node,n=R.index,a=R.pos,d=R.key,A=R.parentPos,re=R.level,de=R.nodes,ve={node:b,nodes:de,index:n,key:d,pos:a,level:re},De=t(d,a);_[a]=ve,E[De]=ve,ve.parent=_[A],ve.parent&&(ve.parent.children=ve.parent.children||[],ve.parent.children.push(ve)),T&&T(ve,P)},{externalGetKey:C,childrenPropName:$,fieldNames:z}),K&&K(P),P}function p(f,u){var D=u.expandedKeys,T=u.selectedKeys,K=u.loadedKeys,L=u.loadingKeys,$=u.checkedKeys,z=u.halfCheckedKeys,Ee=u.dragOverNodeKey,C=u.dropPosition,_=u.keyEntities,E=(0,H.Z)(_,f),P={eventKey:f,expanded:D.indexOf(f)!==-1,selected:T.indexOf(f)!==-1,loaded:K.indexOf(f)!==-1,loading:L.indexOf(f)!==-1,checked:$.indexOf(f)!==-1,halfChecked:z.indexOf(f)!==-1,pos:String(E?E.pos:""),dragOver:Ee===f&&C===0,dragOverGapTop:Ee===f&&C===-1,dragOverGapBottom:Ee===f&&C===1};return P}function g(f){var u=f.data,D=f.expanded,T=f.selected,K=f.checked,L=f.loaded,$=f.loading,z=f.halfChecked,Ee=f.dragOver,C=f.dragOverGapTop,_=f.dragOverGapBottom,E=f.pos,P=f.active,R=f.eventKey,b=(0,B.Z)((0,B.Z)({},u),{},{expanded:D,selected:T,checked:K,loaded:L,loading:$,halfChecked:z,dragOver:Ee,dragOverGapTop:C,dragOverGapBottom:_,pos:E,active:P,key:R});return"props"in b||Object.defineProperty(b,"props",{get:function(){return(0,V.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),f}}),b}},8224:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return k}});var O=l(4676);function k(B,G,W,h){var V=O.unstable_batchedUpdates?function(e){O.unstable_batchedUpdates(W,e)}:W;return B!=null&&B.addEventListener&&B.addEventListener(G,V,h),{remove:function(){B!=null&&B.removeEventListener&&B.removeEventListener(G,V,h)}}}},24514:function(Bt,Ze,l){"use strict";l.d(Ze,{G:function(){return G}});var O=l(47273),k=function(h){if((0,O.Z)()&&window.document.documentElement){var V=Array.isArray(h)?h:[h],H=window.document.documentElement;return V.some(function(e){return e in H.style})}return!1},B=function(h,V){if(!k(h))return!1;var H=document.createElement("div"),e=H.style[h];return H.style[h]=V,H.style[h]!==e};function G(W,h){return!Array.isArray(W)&&h!==void 0?B(W,h):k(W)}},49658:function(Bt,Ze){"use strict";Ze.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var l=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(l)||/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(l==null?void 0:l.substr(0,4))}},6790:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return Te}});var O=l(67711),k=l(26420),B=l(98506),G=l(52873),W=l(16886),h=l(33346),V=l(92310),H=l.n(V),e=l(29301),s=l(70425),c=l(34280),t=l(59301),r=l(4676),i=t.forwardRef(function(ae,y){var M=ae.height,S=ae.offsetY,q=ae.offsetX,te=ae.children,x=ae.prefixCls,v=ae.onInnerResize,F=ae.innerProps,X=ae.rtl,Z=ae.extra,U={},j={display:"flex",flexDirection:"column"};return S!==void 0&&(U={height:M,position:"relative",overflow:"hidden"},j=(0,B.Z)((0,B.Z)({},j),{},(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({transform:"translateY(".concat(S,"px)")},X?"marginRight":"marginLeft",-q),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:U},t.createElement(e.Z,{onResize:function(ie){var we=ie.offsetHeight;we&&v&&v()}},t.createElement("div",(0,O.Z)({style:j,className:H()((0,G.Z)({},"".concat(x,"-holder-inner"),x)),ref:y},F),te,Z)))});i.displayName="Filler";var o=i;function m(ae){var y=ae.children,M=ae.setRef,S=t.useCallback(function(q){M(q)},[]);return t.cloneElement(y,{ref:S})}function w(ae,y,M,S,q,te,x,v){var F=v.getKey;return ae.slice(y,M+1).map(function(X,Z){var U=y+Z,j=x(X,U,{style:{width:S},offsetX:q}),ce=F(X);return t.createElement(m,{key:ce,setRef:function(we){return te(X,we)}},j)})}function N(ae,y,M,S){var q=M-ae,te=y-M,x=Math.min(q,te)*2;if(S<=x){var v=Math.floor(S/2);return S%2?M+v+1:M-v}return q>te?M-(S-te):M+(S-q)}function p(ae,y,M){var S=ae.length,q=y.length,te,x;if(S===0&&q===0)return null;S2&&arguments[2]!==void 0?arguments[2]:!1,U=F?X<0&&v.current.left||X>0&&v.current.right:X<0&&v.current.top||X>0&&v.current.bottom;return Z&&U?(clearTimeout(te.current),q.current=!1):(!U||q.current)&&x(),!q.current&&U}};function K(ae,y,M,S,q,te,x){var v=(0,t.useRef)(0),F=(0,t.useRef)(null),X=(0,t.useRef)(null),Z=(0,t.useRef)(!1),U=T(y,M,S,q);function j(Ke,ke){if(f.Z.cancel(F.current),!U(!1,ke)){var ue=Ke;if(!ue._virtualHandled)ue._virtualHandled=!0;else return;v.current+=ke,X.current=ke,D||ue.preventDefault(),F.current=(0,f.Z)(function(){var Le=Z.current?10:1;x(v.current*Le,!1),v.current=0})}}function ce(Ke,ke){x(ke,!0),D||Ke.preventDefault()}var ie=(0,t.useRef)(null),we=(0,t.useRef)(null);function Me(Ke){if(ae){f.Z.cancel(we.current),we.current=(0,f.Z)(function(){ie.current=null},2);var ke=Ke.deltaX,ue=Ke.deltaY,Le=Ke.shiftKey,Pe=ke,Re=ue;(ie.current==="sx"||!ie.current&&Le&&ue&&!ke)&&(Pe=ue,Re=0,ie.current="sx");var dt=Math.abs(Pe),xt=Math.abs(Re);ie.current===null&&(ie.current=te&&dt>xt?"x":"y"),ie.current==="y"?j(Ke,Re):ce(Ke,Pe)}}function je(Ke){ae&&(Z.current=Ke.detail===X.current)}return[Me,je]}function L(ae,y,M,S){var q=t.useMemo(function(){return[new Map,[]]},[ae,M.id,S]),te=(0,W.Z)(q,2),x=te[0],v=te[1],F=function(Z){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z,j=x.get(Z),ce=x.get(U);if(j===void 0||ce===void 0)for(var ie=ae.length,we=v.length;we0&&arguments[0]!==void 0?arguments[0]:!1;Z();var ie=function(){var je=!1;v.current.forEach(function(Ke,ke){if(Ke&&Ke.offsetParent){var ue=Ke.offsetHeight,Le=getComputedStyle(Ke),Pe=Le.marginTop,Re=Le.marginBottom,dt=_(Pe),xt=_(Re),Ie=ue+dt+xt;F.current.get(ke)!==Ie&&(F.current.set(ke,Ie),je=!0)}}),je&&x(function(Ke){return Ke+1})};if(ce)ie();else{X.current+=1;var we=X.current;Promise.resolve().then(function(){we===X.current&&ie()})}}function j(ce,ie){var we=ae(ce),Me=v.current.get(we);ie?(v.current.set(we,ie),U()):v.current.delete(we),!Me!=!ie&&(ie?y==null||y(ce):M==null||M(ce))}return(0,t.useEffect)(function(){return Z},[]),[j,U,F.current,te]}var P=14/15;function R(ae,y,M){var S=(0,t.useRef)(!1),q=(0,t.useRef)(0),te=(0,t.useRef)(0),x=(0,t.useRef)(null),v=(0,t.useRef)(null),F,X=function(ce){if(S.current){var ie=Math.ceil(ce.touches[0].pageX),we=Math.ceil(ce.touches[0].pageY),Me=q.current-ie,je=te.current-we,Ke=Math.abs(Me)>Math.abs(je);Ke?q.current=ie:te.current=we;var ke=M(Ke,Ke?Me:je,!1,ce);ke&&ce.preventDefault(),clearInterval(v.current),ke&&(v.current=setInterval(function(){Ke?Me*=P:je*=P;var ue=Math.floor(Ke?Me:je);(!M(Ke,ue,!0)||Math.abs(ue)<=.1)&&clearInterval(v.current)},16))}},Z=function(){S.current=!1,F()},U=function(ce){F(),ce.touches.length===1&&!S.current&&(S.current=!0,q.current=Math.ceil(ce.touches[0].pageX),te.current=Math.ceil(ce.touches[0].pageY),x.current=ce.target,x.current.addEventListener("touchmove",X,{passive:!1}),x.current.addEventListener("touchend",Z,{passive:!0}))};F=function(){x.current&&(x.current.removeEventListener("touchmove",X),x.current.removeEventListener("touchend",Z))},(0,c.Z)(function(){return ae&&y.current.addEventListener("touchstart",U,{passive:!0}),function(){var j;(j=y.current)===null||j===void 0||j.removeEventListener("touchstart",U),F(),clearInterval(v.current)}},[ae])}function b(ae){return Math.floor(Math.pow(ae,.5))}function n(ae,y){var M="touches"in ae?ae.touches[0]:ae;return M[y?"pageX":"pageY"]-window[y?"scrollX":"scrollY"]}function a(ae,y,M){t.useEffect(function(){var S=y.current;if(ae&&S){var q=!1,te,x,v=function(){f.Z.cancel(te)},F=function j(){v(),te=(0,f.Z)(function(){M(x),j()})},X=function(ce){if(!(ce.target.draggable||ce.button!==0)){var ie=ce;ie._virtualHandled||(ie._virtualHandled=!0,q=!0)}},Z=function(){q=!1,v()},U=function(ce){if(q){var ie=n(ce,!1),we=S.getBoundingClientRect(),Me=we.top,je=we.bottom;if(ie<=Me){var Ke=Me-ie;x=-b(Ke),F()}else if(ie>=je){var ke=ie-je;x=b(ke),F()}else v()}};return S.addEventListener("mousedown",X),S.ownerDocument.addEventListener("mouseup",Z),S.ownerDocument.addEventListener("mousemove",U),function(){S.removeEventListener("mousedown",X),S.ownerDocument.removeEventListener("mouseup",Z),S.ownerDocument.removeEventListener("mousemove",U),v()}}},[ae])}var d=10;function A(ae,y,M,S,q,te,x,v){var F=t.useRef(),X=t.useState(null),Z=(0,W.Z)(X,2),U=Z[0],j=Z[1];return(0,c.Z)(function(){if(U&&U.times=0;ot-=1){var Kt=q(y[ot]),nn=M.get(Kt);if(nn===void 0){Ke=!0;break}if(ht-=nn,ht<=0)break}switch(Le){case"top":ue=Re-Me;break;case"bottom":ue=dt-je+Me;break;default:{var At=ae.current.scrollTop,gt=At+je;Regt&&(ke="bottom")}}ue!==null&&x(ue),ue!==U.lastTop&&(Ke=!0)}Ke&&j((0,B.Z)((0,B.Z)({},U),{},{times:U.times+1,targetAlign:ke,lastTop:ue}))}},[U,ae.current]),function(ce){if(ce==null){v();return}if(f.Z.cancel(F.current),typeof ce=="number")x(ce);else if(ce&&(0,k.Z)(ce)==="object"){var ie,we=ce.align;"index"in ce?ie=ce.index:ie=y.findIndex(function(Ke){return q(Ke)===ce.key});var Me=ce.offset,je=Me===void 0?0:Me;j({times:0,index:ie,offset:je,originAlign:we})}}}var re=t.forwardRef(function(ae,y){var M=ae.prefixCls,S=ae.rtl,q=ae.scrollOffset,te=ae.scrollRange,x=ae.onStartMove,v=ae.onStopMove,F=ae.onScroll,X=ae.horizontal,Z=ae.spinSize,U=ae.containerSize,j=ae.style,ce=ae.thumbStyle,ie=ae.showScrollBar,we=t.useState(!1),Me=(0,W.Z)(we,2),je=Me[0],Ke=Me[1],ke=t.useState(null),ue=(0,W.Z)(ke,2),Le=ue[0],Pe=ue[1],Re=t.useState(null),dt=(0,W.Z)(Re,2),xt=dt[0],Ie=dt[1],Lt=!S,en=t.useRef(),ht=t.useRef(),ot=t.useState(ie),Kt=(0,W.Z)(ot,2),nn=Kt[0],At=Kt[1],gt=t.useRef(),Ft=function(){ie===!0||ie===!1||(clearTimeout(gt.current),At(!0),gt.current=setTimeout(function(){At(!1)},3e3))},vn=te-U||0,Mt=U-Z||0,ut=t.useMemo(function(){if(q===0||vn===0)return 0;var Rn=q/vn;return Rn*Mt},[q,vn,Mt]),Et=function(On){On.stopPropagation(),On.preventDefault()},Zn=t.useRef({top:ut,dragging:je,pageY:Le,startTop:xt});Zn.current={top:ut,dragging:je,pageY:Le,startTop:xt};var mn=function(On){Ke(!0),Pe(n(On,X)),Ie(Zn.current.top),x(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var Rn=function(st){st.preventDefault()},On=en.current,gn=ht.current;return On.addEventListener("touchstart",Rn,{passive:!1}),gn.addEventListener("touchstart",mn,{passive:!1}),function(){On.removeEventListener("touchstart",Rn),gn.removeEventListener("touchstart",mn)}},[]);var Ln=t.useRef();Ln.current=vn;var jn=t.useRef();jn.current=Mt,t.useEffect(function(){if(je){var Rn,On=function(st){var et=Zn.current,_t=et.dragging,an=et.pageY,Sn=et.startTop;f.Z.cancel(Rn);var Q=en.current.getBoundingClientRect(),J=U/(X?Q.width:Q.height);if(_t){var We=(n(st,X)-an)*J,Se=Sn;!Lt&&X?Se-=We:Se+=We;var He=Ln.current,qe=jn.current,Ve=qe?Se/qe:0,Ue=Math.ceil(Ve*He);Ue=Math.max(Ue,0),Ue=Math.min(Ue,He),Rn=(0,f.Z)(function(){F(Ue,X)})}},gn=function(){Ke(!1),v()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",gn,{passive:!0}),window.addEventListener("touchend",gn,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",gn),window.removeEventListener("touchend",gn),f.Z.cancel(Rn)}}},[je]),t.useEffect(function(){return Ft(),function(){clearTimeout(gt.current)}},[q]),t.useImperativeHandle(y,function(){return{delayHidden:Ft}});var bn="".concat(M,"-scrollbar"),Cn={position:"absolute",visibility:nn?null:"hidden"},Kn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return X?(Object.assign(Cn,{height:8,left:0,right:0,bottom:0}),Object.assign(Kn,(0,G.Z)({height:"100%",width:Z},Lt?"left":"right",ut))):(Object.assign(Cn,(0,G.Z)({width:8,top:0,bottom:0},Lt?"right":"left",0)),Object.assign(Kn,{width:"100%",height:Z,top:ut})),t.createElement("div",{ref:en,className:H()(bn,(0,G.Z)((0,G.Z)((0,G.Z)({},"".concat(bn,"-horizontal"),X),"".concat(bn,"-vertical"),!X),"".concat(bn,"-visible"),nn)),style:(0,B.Z)((0,B.Z)({},Cn),j),onMouseDown:Et,onMouseMove:Ft},t.createElement("div",{ref:ht,className:H()("".concat(bn,"-thumb"),(0,G.Z)({},"".concat(bn,"-thumb-moving"),je)),style:(0,B.Z)((0,B.Z)({},Kn),ce),onMouseDown:mn}))}),de=re,ve=20;function De(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M=ae/y*ae;return isNaN(M)&&(M=0),M=Math.max(M,ve),Math.floor(M)}var Ae=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],mt=[],me={overflowY:"auto",overflowAnchor:"none"};function Xe(ae,y){var M=ae.prefixCls,S=M===void 0?"rc-virtual-list":M,q=ae.className,te=ae.height,x=ae.itemHeight,v=ae.fullHeight,F=v===void 0?!0:v,X=ae.style,Z=ae.data,U=ae.children,j=ae.itemKey,ce=ae.virtual,ie=ae.direction,we=ae.scrollWidth,Me=ae.component,je=Me===void 0?"div":Me,Ke=ae.onScroll,ke=ae.onVirtualScroll,ue=ae.onVisibleChange,Le=ae.innerProps,Pe=ae.extraRender,Re=ae.styles,dt=ae.showScrollBar,xt=dt===void 0?"optional":dt,Ie=(0,h.Z)(ae,Ae),Lt=t.useCallback(function(ne){return typeof j=="function"?j(ne):ne==null?void 0:ne[j]},[j]),en=E(Lt,null,null),ht=(0,W.Z)(en,4),ot=ht[0],Kt=ht[1],nn=ht[2],At=ht[3],gt=!!(ce!==!1&&te&&x),Ft=t.useMemo(function(){return Object.values(nn.maps).reduce(function(ne,le){return ne+le},0)},[nn.id,nn.maps]),vn=gt&&Z&&(Math.max(x*Z.length,Ft)>te||!!we),Mt=ie==="rtl",ut=H()(S,(0,G.Z)({},"".concat(S,"-rtl"),Mt),q),Et=Z||mt,Zn=(0,t.useRef)(),mn=(0,t.useRef)(),Ln=(0,t.useRef)(),jn=(0,t.useState)(0),bn=(0,W.Z)(jn,2),Cn=bn[0],Kn=bn[1],Rn=(0,t.useState)(0),On=(0,W.Z)(Rn,2),gn=On[0],Dn=On[1],st=(0,t.useState)(!1),et=(0,W.Z)(st,2),_t=et[0],an=et[1],Sn=function(){an(!0)},Q=function(){an(!1)},J={getKey:Lt};function We(ne){Kn(function(le){var he;typeof ne=="function"?he=ne(le):he=ne;var ye=cn(he);return Zn.current.scrollTop=ye,ye})}var Se=(0,t.useRef)({start:0,end:Et.length}),He=(0,t.useRef)(),qe=g(Et,Lt),Ve=(0,W.Z)(qe,1),Ue=Ve[0];He.current=Ue;var at=t.useMemo(function(){if(!gt)return{scrollHeight:void 0,start:0,end:Et.length-1,offset:void 0};if(!vn){var ne;return{scrollHeight:((ne=mn.current)===null||ne===void 0?void 0:ne.offsetHeight)||0,start:0,end:Et.length-1,offset:void 0}}for(var le=0,he,ye,Ce,Ye=Et.length,pt=0;pt=Cn&&he===void 0&&(he=pt,ye=le),Tt>Cn+te&&Ce===void 0&&(Ce=pt),le=Tt}return he===void 0&&(he=0,ye=0,Ce=Math.ceil(te/x)),Ce===void 0&&(Ce=Et.length-1),Ce=Math.min(Ce+1,Et.length-1),{scrollHeight:le,start:he,end:Ce,offset:ye}},[vn,gt,Cn,Et,At,te]),$e=at.scrollHeight,nt=at.start,ct=at.end,tt=at.offset;Se.current.start=nt,Se.current.end=ct,t.useLayoutEffect(function(){var ne=nn.getRecord();if(ne.size===1){var le=Array.from(ne.keys())[0],he=ne.get(le),ye=Et[nt];if(ye&&he===void 0){var Ce=Lt(ye);if(Ce===le){var Ye=nn.get(le),pt=Ye-x;We(function(it){return it+pt})}}}nn.resetRecord()},[$e]);var ze=t.useState({width:0,height:te}),Y=(0,W.Z)(ze,2),fe=Y[0],pe=Y[1],ge=function(le){pe({width:le.offsetWidth,height:le.offsetHeight})},Fe=(0,t.useRef)(),Ge=(0,t.useRef)(),Je=t.useMemo(function(){return De(fe.width,we)},[fe.width,we]),lt=t.useMemo(function(){return De(fe.height,$e)},[fe.height,$e]),yt=$e-te,St=(0,t.useRef)(yt);St.current=yt;function cn(ne){var le=ne;return Number.isNaN(St.current)||(le=Math.min(le,St.current)),le=Math.max(le,0),le}var Rt=Cn<=0,Pt=Cn>=yt,zt=gn<=0,Gt=gn>=we,Vt=T(Rt,Pt,zt,Gt),Nt=function(){return{x:Mt?-gn:gn,y:Cn}},Dt=(0,t.useRef)(Nt()),rt=(0,s.zX)(function(ne){if(ke){var le=(0,B.Z)((0,B.Z)({},Nt()),ne);(Dt.current.x!==le.x||Dt.current.y!==le.y)&&(ke(le),Dt.current=le)}});function ft(ne,le){var he=ne;le?((0,r.flushSync)(function(){Dn(he)}),rt()):We(he)}function vt(ne){var le=ne.currentTarget.scrollTop;le!==Cn&&We(le),Ke==null||Ke(ne),rt()}var Yt=function(le){var he=le,ye=we?we-fe.width:0;return he=Math.max(he,0),he=Math.min(he,ye),he},It=(0,s.zX)(function(ne,le){le?((0,r.flushSync)(function(){Dn(function(he){var ye=he+(Mt?-ne:ne);return Yt(ye)})}),rt()):We(function(he){var ye=he+ne;return ye})}),Ht=K(gt,Rt,Pt,zt,Gt,!!we,It),Tn=(0,W.Z)(Ht,2),I=Tn[0],oe=Tn[1];R(gt,Zn,function(ne,le,he,ye){var Ce=ye;return Vt(ne,le,he)?!1:!Ce||!Ce._virtualHandled?(Ce&&(Ce._virtualHandled=!0),I({preventDefault:function(){},deltaX:ne?le:0,deltaY:ne?0:le}),!0):!1}),a(vn,Zn,function(ne){We(function(le){return le+ne})}),(0,c.Z)(function(){function ne(he){var ye=Rt&&he.detail<0,Ce=Pt&&he.detail>0;gt&&!ye&&!Ce&&he.preventDefault()}var le=Zn.current;return le.addEventListener("wheel",I,{passive:!1}),le.addEventListener("DOMMouseScroll",oe,{passive:!0}),le.addEventListener("MozMousePixelScroll",ne,{passive:!1}),function(){le.removeEventListener("wheel",I),le.removeEventListener("DOMMouseScroll",oe),le.removeEventListener("MozMousePixelScroll",ne)}},[gt,Rt,Pt]),(0,c.Z)(function(){if(we){var ne=Yt(gn);Dn(ne),rt({x:ne})}},[fe.width,we]);var ee=function(){var le,he;(le=Fe.current)===null||le===void 0||le.delayHidden(),(he=Ge.current)===null||he===void 0||he.delayHidden()},se=A(Zn,Et,nn,x,Lt,function(){return Kt(!0)},We,ee);t.useImperativeHandle(y,function(){return{nativeElement:Ln.current,getScrollInfo:Nt,scrollTo:function(le){function he(ye){return ye&&(0,k.Z)(ye)==="object"&&("left"in ye||"top"in ye)}he(le)?(le.left!==void 0&&Dn(Yt(le.left)),se(le.top)):se(le)}}}),(0,c.Z)(function(){if(ue){var ne=Et.slice(nt,ct+1);ue(ne,Et)}},[nt,ct,Et]);var _e=L(Et,Lt,nn,x),be=Pe==null?void 0:Pe({start:nt,end:ct,virtual:vn,offsetX:gn,offsetY:tt,rtl:Mt,getSize:_e}),Be=w(Et,nt,ct,we,gn,ot,U,J),Oe=null;te&&(Oe=(0,B.Z)((0,G.Z)({},F?"height":"maxHeight",te),me),gt&&(Oe.overflowY="hidden",we&&(Oe.overflowX="hidden"),_t&&(Oe.pointerEvents="none")));var xe={};return Mt&&(xe.dir="rtl"),t.createElement("div",(0,O.Z)({ref:Ln,style:(0,B.Z)((0,B.Z)({},X),{},{position:"relative"}),className:ut},xe,Ie),t.createElement(e.Z,{onResize:ge},t.createElement(je,{className:"".concat(S,"-holder"),style:Oe,ref:Zn,onScroll:vt,onMouseEnter:ee},t.createElement(o,{prefixCls:S,height:$e,offsetX:gn,offsetY:tt,scrollWidth:we,onInnerResize:Kt,ref:mn,innerProps:Le,rtl:Mt,extra:be},Be))),vn&&$e>te&&t.createElement(de,{ref:Fe,prefixCls:S,scrollOffset:Cn,scrollRange:$e,rtl:Mt,onScroll:ft,onStartMove:Sn,onStopMove:Q,spinSize:lt,containerSize:fe.height,style:Re==null?void 0:Re.verticalScrollBar,thumbStyle:Re==null?void 0:Re.verticalScrollBarThumb,showScrollBar:xt}),vn&&we>fe.width&&t.createElement(de,{ref:Ge,prefixCls:S,scrollOffset:gn,scrollRange:we,rtl:Mt,onScroll:ft,onStartMove:Sn,onStopMove:Q,spinSize:Je,containerSize:fe.width,horizontal:!0,style:Re==null?void 0:Re.horizontalScrollBar,thumbStyle:Re==null?void 0:Re.horizontalScrollBarThumb,showScrollBar:xt}))}var Ne=t.forwardRef(Xe);Ne.displayName="List";var Qe=Ne,Te=Qe},83145:function(Bt,Ze,l){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.CopyToClipboard=void 0;var O=B(l(59301)),k=B(l(25769));function B(p){return p&&p.__esModule?p:{default:p}}function G(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G=function(f){return typeof f}:G=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},G(p)}function W(p,g){var f=Object.keys(p);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(p);g&&(u=u.filter(function(D){return Object.getOwnPropertyDescriptor(p,D).enumerable})),f.push.apply(f,u)}return f}function h(p){for(var g=1;g=0)&&Object.prototype.propertyIsEnumerable.call(p,u)&&(f[u]=p[u])}return f}function H(p,g){if(p==null)return{};var f={},u=Object.keys(p),D,T;for(T=0;T=0)&&(f[D]=p[D]);return f}function e(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function s(p,g){for(var f=0;f0},C.prototype.connect_=function(){!k||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(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)},C.prototype.disconnect_=function(){!k||!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)},C.prototype.onTransitionEnd_=function(_){var E=_.propertyName,P=E===void 0?"":E,R=H.some(function(b){return!!~P.indexOf(b)});R&&this.refresh()},C.getInstance=function(){return this.instance_||(this.instance_=new C),this.instance_},C.instance_=null,C}(),c=function(C,_){for(var E=0,P=Object.keys(_);E0},C}(),$=typeof WeakMap!="undefined"?new WeakMap:new O,z=function(){function C(_){if(!(this instanceof C))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var E=s.getInstance(),P=new L(_,E,this);$.set(this,P)}return C}();["observe","unobserve","disconnect"].forEach(function(C){z.prototype[C]=function(){var _;return(_=$.get(this))[C].apply(_,arguments)}});var Ee=function(){return typeof B.ResizeObserver!="undefined"?B.ResizeObserver:z}();Ze.Z=Ee},98040:function(Bt){Bt.exports=function(){var Ze=document.getSelection();if(!Ze.rangeCount)return function(){};for(var l=document.activeElement,O=[],k=0;ktypeof e=="object"&&e!=null&&e.nodeType===1,k=(e,s)=>(!s||e!=="hidden")&&e!=="visible"&&e!=="clip",B=(e,s)=>{if(e.clientHeight{const r=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(o){return null}})(t);return!!r&&(r.clientHeightis||i>e&&o=s&&m>=c?i-e-t:o>s&&mc?o-s+r:0,W=e=>{const s=e.parentElement;return s==null?e.getRootNode().host||null:s},h=(e,s)=>{var c,t,r,i;if(typeof document=="undefined")return[];const{scrollMode:o,block:m,inline:w,boundary:N,skipOverflowHiddenElements:p}=s,g=typeof N=="function"?N:de=>de!==N;if(!O(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,u=[];let D=e;for(;O(D)&&g(D);){if(D=W(D),D===f){u.push(D);break}D!=null&&D===document.body&&B(D)&&!B(document.documentElement)||D!=null&&B(D,p)&&u.push(D)}const T=(t=(c=window.visualViewport)==null?void 0:c.width)!=null?t:innerWidth,K=(i=(r=window.visualViewport)==null?void 0:r.height)!=null?i:innerHeight,{scrollX:L,scrollY:$}=window,{height:z,width:Ee,top:C,right:_,bottom:E,left:P}=e.getBoundingClientRect(),{top:R,right:b,bottom:n,left:a}=(de=>{const ve=window.getComputedStyle(de);return{top:parseFloat(ve.scrollMarginTop)||0,right:parseFloat(ve.scrollMarginRight)||0,bottom:parseFloat(ve.scrollMarginBottom)||0,left:parseFloat(ve.scrollMarginLeft)||0}})(e);let d=m==="start"||m==="nearest"?C-R:m==="end"?E+n:C+z/2-R+n,A=w==="center"?P+Ee/2-a+b:w==="end"?_+b:P-a;const re=[];for(let de=0;de=0&&P>=0&&E<=K&&_<=T&&(ve===f&&!B(ve)||C>=mt&&E<=Xe&&P>=Ne&&_<=me))return re;const Qe=getComputedStyle(ve),Te=parseInt(Qe.borderLeftWidth,10),ae=parseInt(Qe.borderTopWidth,10),y=parseInt(Qe.borderRightWidth,10),M=parseInt(Qe.borderBottomWidth,10);let S=0,q=0;const te="offsetWidth"in ve?ve.offsetWidth-ve.clientWidth-Te-y:0,x="offsetHeight"in ve?ve.offsetHeight-ve.clientHeight-ae-M:0,v="offsetWidth"in ve?ve.offsetWidth===0?0:Ae/ve.offsetWidth:0,F="offsetHeight"in ve?ve.offsetHeight===0?0:De/ve.offsetHeight:0;if(f===ve)S=m==="start"?d:m==="end"?d-K:m==="nearest"?G($,$+K,K,ae,M,$+d,$+d+z,z):d-K/2,q=w==="start"?A:w==="center"?A-T/2:w==="end"?A-T:G(L,L+T,T,Te,y,L+A,L+A+Ee,Ee),S=Math.max(0,S+$),q=Math.max(0,q+L);else{S=m==="start"?d-mt-ae:m==="end"?d-Xe+M+x:m==="nearest"?G(mt,Xe,De,ae,M+x,d,d+z,z):d-(mt+De/2)+x/2,q=w==="start"?A-Ne-Te:w==="center"?A-(Ne+Ae/2)+te/2:w==="end"?A-me+y+te:G(Ne,me,Ae,Te,y+te,A,A+Ee,Ee);const{scrollLeft:X,scrollTop:Z}=ve;S=F===0?0:Math.max(0,Math.min(Z+S/F,ve.scrollHeight-De/F+x)),q=v===0?0:Math.max(0,Math.min(X+q/v,ve.scrollWidth-Ae/v+te)),d+=Z-S,A+=X-q}re.push({el:ve,top:S,left:q})}return re},V=e=>e===!1?{block:"end",inline:"nearest"}:(s=>s===Object(s)&&Object.keys(s).length!==0)(e)?e:{block:"start",inline:"nearest"};function H(e,s){if(!e.isConnected||!(r=>{let i=r;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const c=(r=>{const i=window.getComputedStyle(r);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((r=>typeof r=="object"&&typeof r.behavior=="function")(s))return s.behavior(h(e,s));const t=typeof s=="boolean"||s==null?void 0:s.behavior;for(const{el:r,top:i,left:o}of h(e,V(s))){const m=i-c.top+c.bottom,w=o-c.left+c.right;r.scroll({top:m,left:w,behavior:t})}}}}]);