You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Engineering__Lists__Trai...

83 lines
549 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65030:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return te}});var O=u(98506),k=u(16886),z=u(33346),Y=u(43403),j=u(92310),_=u.n(j),U=u(29301),H=u(76846),e=u(96452),s=u(6089),f=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(67711),m=u(77900),E=u(8654);function S(g){var Z=g.prefixCls,R=g.align,ne=g.arrow,re=g.arrowPos,C=ne||{},p=C.className,B=C.content,J=re.x,L=J===void 0?0:J,$=re.y,W=$===void 0?0:$,fe=a.useRef();if(!R||!R.points)return null;var se={position:"absolute"};if(R.autoArrow!==!1){var Ce=R.points[0],Ae=R.points[1],Xe=Ce[0],Le=Ce[1],Me=Ae[0],ke=Ae[1];Xe===Me||!["t","b"].includes(Xe)?se.top=W:Xe==="t"?se.top=0:se.bottom=0,Le===ke||!["l","r"].includes(Le)?se.left=L:Le==="l"?se.left=0:se.right=0}return a.createElement("div",{ref:fe,className:_()("".concat(Z,"-arrow"),p),style:se},B)}function h(g){var Z=g.prefixCls,R=g.open,ne=g.zIndex,re=g.mask,C=g.motion;return re?a.createElement(m.default,(0,o.Z)({},C,{motionAppear:!0,visible:R,removeOnLeave:!0}),function(p){var B=p.className;return a.createElement("div",{style:{zIndex:ne},className:_()("".concat(Z,"-mask"),B)})}):null}var v=a.memo(function(g){var Z=g.children;return Z},function(g,Z){return Z.cache}),c=v,l=a.forwardRef(function(g,Z){var R=g.popup,ne=g.className,re=g.prefixCls,C=g.style,p=g.target,B=g.onVisibleChanged,J=g.open,L=g.keepDom,$=g.fresh,W=g.onClick,fe=g.mask,se=g.arrow,Ce=g.arrowPos,Ae=g.align,Xe=g.motion,Le=g.maskMotion,Me=g.forceRender,ke=g.getPopupContainer,st=g.autoDestroy,Je=g.portal,He=g.zIndex,Kt=g.onMouseEnter,St=g.onMouseLeave,De=g.onPointerEnter,Vt=g.onPointerDownCapture,dn=g.ready,Rt=g.offsetX,dt=g.offsetY,Ft=g.offsetR,un=g.offsetB,Ut=g.onAlign,mt=g.onPrepare,Qt=g.stretch,bn=g.targetWidth,Tt=g.targetHeight,ft=typeof R=="function"?R():R,yt=J||L,Bn=(ke==null?void 0:ke.length)>0,mn=a.useState(!ke||!Bn),Ln=(0,k.Z)(mn,2),Wn=Ln[0],wn=Ln[1];if((0,t.Z)(function(){!Wn&&Bn&&p&&wn(!0)},[Wn,Bn,p]),!Wn)return null;var Rn="auto",Kn={left:"-1000vw",top:"-1000vh",right:Rn,bottom:Rn};if(dn||!J){var Nn,In=Ae.points,En=Ae.dynamicInset||((Nn=Ae._experimental)===null||Nn===void 0?void 0:Nn.dynamicInset),Tn=En&&In[0][1]==="r",at=En&&In[0][0]==="b";Tn?(Kn.right=Ft,Kn.left=Rn):(Kn.left=Rt,Kn.right=Rn),at?(Kn.bottom=un,Kn.top=Rn):(Kn.top=dt,Kn.bottom=Rn)}var it={};return Qt&&(Qt.includes("height")&&Tt?it.height=Tt:Qt.includes("minHeight")&&Tt&&(it.minHeight=Tt),Qt.includes("width")&&bn?it.width=bn:Qt.includes("minWidth")&&bn&&(it.minWidth=bn)),J||(it.pointerEvents="none"),a.createElement(Je,{open:Me||yt,getContainer:ke&&function(){return ke(p)},autoDestroy:st},a.createElement(h,{prefixCls:re,open:J,zIndex:He,mask:fe,motion:Le}),a.createElement(U.Z,{onResize:Ut,disabled:!J},function(en){return a.createElement(m.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(re,"-hidden")},Xe,{onAppearPrepare:mt,onEnterPrepare:mt,visible:J,onVisibleChanged:function(An){var Q;Xe==null||(Q=Xe.onVisibleChanged)===null||Q===void 0||Q.call(Xe,An),B(An)}}),function(pn,An){var Q=pn.className,X=pn.style,Ke=_()(re,Q,ne);return a.createElement("div",{ref:(0,E.sQ)(en,Z,An),className:Ke,style:(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({"--arrow-x":"".concat(Ce.x||0,"px"),"--arrow-y":"".concat(Ce.y||0,"px")},Kn),it),X),{},{boxSizing:"border-box",zIndex:He},C),onMouseEnter:Kt,onMouseLeave:St,onPointerEnter:De,onClick:W,onPointerDownCapture:Vt},se&&a.createElement(S,{prefixCls:re,arrow:se,arrowPos:Ce,align:Ae}),a.createElement(c,{cache:!J&&!$},ft))})}))}),N=l,D=a.forwardRef(function(g,Z){var R=g.children,ne=g.getTriggerDOMNode,re=(0,E.Yr)(R),C=a.useCallback(function(B){(0,E.mH)(Z,ne?ne(B):B)},[ne]),p=(0,E.x1)(C,(0,E.C4)(R));return re?a.cloneElement(R,{ref:p}):R}),I=D,K=a.createContext(null),G=K;function F(g){return g?Array.isArray(g)?g:[g]:[]}function ge(g,Z,R,ne){return a.useMemo(function(){var re=F(R!=null?R:Z),C=F(ne!=null?ne:Z),p=new Set(re),B=new Set(C);return g&&(p.has("hover")&&(p.delete("hover"),p.add("click")),B.has("hover")&&(B.delete("hover"),B.add("click"))),[p,B]},[g,Z,R,ne])}var b=u(29194);function d(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],R=arguments.length>2?arguments[2]:void 0;return R?g[0]===Z[0]:g[0]===Z[0]&&g[1]===Z[1]}function w(g,Z,R,ne){for(var re=R.points,C=Object.keys(g),p=0;p<C.length;p+=1){var B,J=C[p];if(d((B=g[J])===null||B===void 0?void 0:B.points,re,ne))return"".concat(Z,"-placement-").concat(J)}return""}function P(g,Z,R,ne){return Z||(R?{motionName:"".concat(g,"-").concat(R)}:ne?{motionName:ne}:null)}function T(g){return g.ownerDocument.defaultView}function x(g){for(var Z=[],R=g==null?void 0:g.parentElement,ne=["hidden","scroll","clip","auto"];R;){var re=T(R).getComputedStyle(R),C=re.overflowX,p=re.overflowY,B=re.overflow;[C,p,B].some(function(J){return ne.includes(J)})&&Z.push(R),R=R.parentElement}return Z}function n(g){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(g)?Z:g}function i(g){return n(parseFloat(g),0)}function y(g,Z){var R=(0,O.Z)({},g);return(Z||[]).forEach(function(ne){if(!(ne instanceof HTMLBodyElement||ne instanceof HTMLHtmlElement)){var re=T(ne).getComputedStyle(ne),C=re.overflow,p=re.overflowClipMargin,B=re.borderTopWidth,J=re.borderBottomWidth,L=re.borderLeftWidth,$=re.borderRightWidth,W=ne.getBoundingClientRect(),fe=ne.offsetHeight,se=ne.clientHeight,Ce=ne.offsetWidth,Ae=ne.clientWidth,Xe=i(B),Le=i(J),Me=i(L),ke=i($),st=n(Math.round(W.width/Ce*1e3)/1e3),Je=n(Math.round(W.height/fe*1e3)/1e3),He=(Ce-Ae-Me-ke)*st,Kt=(fe-se-Xe-Le)*Je,St=Xe*Je,De=Le*Je,Vt=Me*st,dn=ke*st,Rt=0,dt=0;if(C==="clip"){var Ft=i(p);Rt=Ft*st,dt=Ft*Je}var un=W.x+Vt-Rt,Ut=W.y+St-dt,mt=un+W.width+2*Rt-Vt-dn-He,Qt=Ut+W.height+2*dt-St-De-Kt;R.left=Math.max(R.left,un),R.top=Math.max(R.top,Ut),R.right=Math.min(R.right,mt),R.bottom=Math.min(R.bottom,Qt)}}),R}function M(g){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,R="".concat(Z),ne=R.match(/^(.*)\%$/);return ne?g*(parseFloat(ne[1])/100):parseFloat(R)}function le(g,Z){var R=Z||[],ne=(0,k.Z)(R,2),re=ne[0],C=ne[1];return[M(g.width,re),M(g.height,C)]}function we(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[g[0],g[1]]}function Oe(g,Z){var R=Z[0],ne=Z[1],re,C;return R==="t"?C=g.y:R==="b"?C=g.y+g.height:C=g.y+g.height/2,ne==="l"?re=g.x:ne==="r"?re=g.x+g.width:re=g.x+g.width/2,{x:re,y:C}}function je(g,Z){var R={t:"b",b:"t",l:"r",r:"l"};return g.map(function(ne,re){return re===Z?R[ne]||"c":ne}).join("")}function Ye(g,Z,R,ne,re,C,p){var B=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:re[ne]||{}}),J=(0,k.Z)(B,2),L=J[0],$=J[1],W=a.useRef(0),fe=a.useMemo(function(){return Z?x(Z):[]},[Z]),se=a.useRef({}),Ce=function(){se.current={}};g||Ce();var Ae=(0,s.Z)(function(){if(Z&&R&&g){let xn=function(Cn,Ct){var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Be,qt=yt.x+Cn,nn=yt.y+Ct,Pn=qt+at,Zn=nn+Tn,ar=Math.max(qt,Jt.left),gt=Math.max(nn,Jt.top),Wt=Math.min(Pn,Jt.right),Zt=Math.min(Zn,Jt.bottom);return Math.max(0,(Wt-ar)*(Zt-gt))},yn=function(){ye=yt.y+Pt,Ne=ye+Tn,Re=yt.x+xt,be=Re+at};var Me,ke,st,Je,He=Z,Kt=He.ownerDocument,St=T(He),De=St.getComputedStyle(He),Vt=De.position,dn=He.style.left,Rt=He.style.top,dt=He.style.right,Ft=He.style.bottom,un=He.style.overflow,Ut=(0,O.Z)((0,O.Z)({},re[ne]),C),mt=Kt.createElement("div");(Me=He.parentElement)===null||Me===void 0||Me.appendChild(mt),mt.style.left="".concat(He.offsetLeft,"px"),mt.style.top="".concat(He.offsetTop,"px"),mt.style.position=Vt,mt.style.height="".concat(He.offsetHeight,"px"),mt.style.width="".concat(He.offsetWidth,"px"),He.style.left="0",He.style.top="0",He.style.right="auto",He.style.bottom="auto",He.style.overflow="hidden";var Qt;if(Array.isArray(R))Qt={x:R[0],y:R[1],width:0,height:0};else{var bn,Tt,ft=R.getBoundingClientRect();ft.x=(bn=ft.x)!==null&&bn!==void 0?bn:ft.left,ft.y=(Tt=ft.y)!==null&&Tt!==void 0?Tt:ft.top,Qt={x:ft.x,y:ft.y,width:ft.width,height:ft.height}}var yt=He.getBoundingClientRect(),Bn=St.getComputedStyle(He),mn=Bn.height,Ln=Bn.width;yt.x=(ke=yt.x)!==null&&ke!==void 0?ke:yt.left,yt.y=(st=yt.y)!==null&&st!==void 0?st:yt.top;var Wn=Kt.documentElement,wn=Wn.clientWidth,Rn=Wn.clientHeight,Kn=Wn.scrollWidth,Nn=Wn.scrollHeight,In=Wn.scrollTop,En=Wn.scrollLeft,Tn=yt.height,at=yt.width,it=Qt.height,en=Qt.width,pn={left:0,top:0,right:wn,bottom:Rn},An={left:-En,top:-In,right:Kn-En,bottom:Nn-In},Q=Ut.htmlRegion,X="visible",Ke="visibleFirst";Q!=="scroll"&&Q!==Ke&&(Q=X);var Se=Q===Ke,ze=y(An,fe),Ge=y(pn,fe),Be=Q===X?Ge:ze,Fe=Se?Ge:Be;He.style.left="auto",He.style.top="auto",He.style.right="0",He.style.bottom="0";var nt=He.getBoundingClientRect();He.style.left=dn,He.style.top=Rt,He.style.right=dt,He.style.bottom=Ft,He.style.overflow=un,(Je=He.parentElement)===null||Je===void 0||Je.removeChild(mt);var We=n(Math.round(at/parseFloat(Ln)*1e3)/1e3),et=n(Math.round(Tn/parseFloat(mn)*1e3)/1e3);if(We===0||et===0||(0,H.Sh)(R)&&!(0,b.Z)(R))return;var lt=Ut.offset,Qe=Ut.targetOffset,Ie=le(yt,lt),V=(0,k.Z)(Ie,2),ce=V[0],he=V[1],ve=le(Qt,Qe),Pe=(0,k.Z)(ve,2),Ue=Pe[0],$e=Pe[1];Qt.x-=Ue,Qt.y-=$e;var ot=Ut.points||[],_t=(0,k.Z)(ot,2),bt=_t[0],on=_t[1],wt=we(on),Et=we(bt),Mt=Oe(Qt,wt),Ht=Oe(yt,Et),zt=(0,O.Z)({},Ut),xt=Mt.x-Ht.x+ce,Pt=Mt.y-Ht.y+he,tt=xn(xt,Pt),ut=xn(xt,Pt,Ge),ht=Oe(Qt,["t","l"]),$t=Oe(yt,["t","l"]),kt=Oe(Qt,["b","r"]),jt=Oe(yt,["b","r"]),On=Ut.overflow||{},A=On.adjustX,ae=On.adjustY,q=On.shiftX,ie=On.shiftY,_e=function(Ct){return typeof Ct=="boolean"?Ct:Ct>=0},ye,Ne,Re,be;yn();var ee=_e(ae),oe=Et[0]===wt[0];if(ee&&Et[0]==="t"&&(Ne>Fe.bottom||se.current.bt)){var de=Pt;oe?de-=Tn-it:de=ht.y-jt.y-he;var me=xn(xt,de),Ee=xn(xt,de,Ge);me>tt||me===tt&&(!Se||Ee>=ut)?(se.current.bt=!0,Pt=de,he=-he,zt.points=[je(Et,0),je(wt,0)]):se.current.bt=!1}if(ee&&Et[0]==="b"&&(ye<Fe.top||se.current.tb)){var Ve=Pt;oe?Ve+=Tn-it:Ve=kt.y-$t.y-he;var ct=xn(xt,Ve),rt=xn(xt,Ve,Ge);ct>tt||ct===tt&&(!Se||rt>=ut)?(se.current.tb=!0,Pt=Ve,he=-he,zt.points=[je(Et,0),je(wt,0)]):se.current.tb=!1}var Nt=_e(A),Bt=Et[1]===wt[1];if(Nt&&Et[1]==="l"&&(be>Fe.right||se.current.rl)){var Ot=xt;Bt?Ot-=at-en:Ot=ht.x-jt.x-ce;var Yt=xn(Ot,Pt),pt=xn(Ot,Pt,Ge);Yt>tt||Yt===tt&&(!Se||pt>=ut)?(se.current.rl=!0,xt=Ot,ce=-ce,zt.points=[je(Et,1),je(wt,1)]):se.current.rl=!1}if(Nt&&Et[1]==="r"&&(Re<Fe.left||se.current.lr)){var hn=xt;Bt?hn+=at-en:hn=kt.x-$t.x-ce;var rn=xn(hn,Pt),_n=xn(hn,Pt,Ge);rn>tt||rn===tt&&(!Se||_n>=ut)?(se.current.lr=!0,xt=hn,ce=-ce,zt.points=[je(Et,1),je(wt,1)]):se.current.lr=!1}yn();var Gt=q===!0?0:q;typeof Gt=="number"&&(Re<Ge.left&&(xt-=Re-Ge.left-ce,Qt.x+en<Ge.left+Gt&&(xt+=Qt.x-Ge.left+en-Gt)),be>Ge.right&&(xt-=be-Ge.right-ce,Qt.x>Ge.right-Gt&&(xt+=Qt.x-Ge.right+Gt)));var tn=ie===!0?0:ie;typeof tn=="number"&&(ye<Ge.top&&(Pt-=ye-Ge.top-he,Qt.y+it<Ge.top+tn&&(Pt+=Qt.y-Ge.top+it-tn)),Ne>Ge.bottom&&(Pt-=Ne-Ge.bottom-he,Qt.y>Ge.bottom-tn&&(Pt+=Qt.y-Ge.bottom+tn)));var vn=yt.x+xt,an=vn+at,cn=yt.y+Pt,It=cn+Tn,vt=Qt.x,Dt=vt+en,Xt=Qt.y,fn=Xt+it,sn=Math.max(vn,vt),ln=Math.min(an,Dt),Un=(sn+ln)/2,Xn=Un-vn,$n=Math.max(cn,Xt),or=Math.min(It,fn),ir=($n+or)/2,qn=ir-cn;p==null||p(Z,zt);var gn=nt.right-yt.x-(xt+yt.width),kn=nt.bottom-yt.y-(Pt+yt.height);We===1&&(xt=Math.round(xt),gn=Math.round(gn)),et===1&&(Pt=Math.round(Pt),kn=Math.round(kn));var Gn={ready:!0,offsetX:xt/We,offsetY:Pt/et,offsetR:gn/We,offsetB:kn/et,arrowX:Xn/We,arrowY:qn/et,scaleX:We,scaleY:et,align:zt};$(Gn)}}),Xe=function(){W.current+=1;var ke=W.current;Promise.resolve().then(function(){W.current===ke&&Ae()})},Le=function(){$(function(ke){return(0,O.Z)((0,O.Z)({},ke),{},{ready:!1})})};return(0,t.Z)(Le,[ne]),(0,t.Z)(function(){g||Le()},[g]),[L.ready,L.offsetX,L.offsetY,L.offsetR,L.offsetB,L.arrowX,L.arrowY,L.scaleX,L.scaleY,L.align,Xe]}var At=u(15142);function xe(g,Z,R,ne,re){(0,t.Z)(function(){if(g&&Z&&R){let W=function(){ne(),re()};var C=Z,p=R,B=x(C),J=x(p),L=T(p),$=new Set([L].concat((0,At.Z)(B),(0,At.Z)(J)));return $.forEach(function(fe){fe.addEventListener("scroll",W,{passive:!0})}),L.addEventListener("resize",W,{passive:!0}),ne(),function(){$.forEach(function(fe){fe.removeEventListener("scroll",W),L.removeEventListener("resize",W)})}}},[g,Z,R])}var qe=u(48736);function Ze(g,Z,R,ne,re,C,p,B){var J=a.useRef(g);J.current=g;var L=a.useRef(!1);a.useEffect(function(){if(Z&&ne&&(!re||C)){var W=function(){L.current=!1},fe=function(st){var Je;J.current&&!p(((Je=st.composedPath)===null||Je===void 0||(Je=Je.call(st))===null||Je===void 0?void 0:Je[0])||st.target)&&!L.current&&B(!1)},se=T(ne);se.addEventListener("pointerdown",W,!0),se.addEventListener("mousedown",fe,!0),se.addEventListener("contextmenu",fe,!0);var Ce=(0,e.A)(R);if(Ce&&(Ce.addEventListener("mousedown",fe,!0),Ce.addEventListener("contextmenu",fe,!0)),0)var Ae,Xe,Le,Me;return function(){se.removeEventListener("pointerdown",W,!0),se.removeEventListener("mousedown",fe,!0),se.removeEventListener("contextmenu",fe,!0),Ce&&(Ce.removeEventListener("mousedown",fe,!0),Ce.removeEventListener("contextmenu",fe,!0))}}},[Z,R,ne,re,C]);function $(){L.current=!0}return $}var pe=["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 ue(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y.Z,Z=a.forwardRef(function(R,ne){var re=R.prefixCls,C=re===void 0?"rc-trigger-popup":re,p=R.children,B=R.action,J=B===void 0?"hover":B,L=R.showAction,$=R.hideAction,W=R.popupVisible,fe=R.defaultPopupVisible,se=R.onPopupVisibleChange,Ce=R.afterPopupVisibleChange,Ae=R.mouseEnterDelay,Xe=R.mouseLeaveDelay,Le=Xe===void 0?.1:Xe,Me=R.focusDelay,ke=R.blurDelay,st=R.mask,Je=R.maskClosable,He=Je===void 0?!0:Je,Kt=R.getPopupContainer,St=R.forceRender,De=R.autoDestroy,Vt=R.destroyPopupOnHide,dn=R.popup,Rt=R.popupClassName,dt=R.popupStyle,Ft=R.popupPlacement,un=R.builtinPlacements,Ut=un===void 0?{}:un,mt=R.popupAlign,Qt=R.zIndex,bn=R.stretch,Tt=R.getPopupClassNameFromAlign,ft=R.fresh,yt=R.alignPoint,Bn=R.onPopupClick,mn=R.onPopupAlign,Ln=R.arrow,Wn=R.popupMotion,wn=R.maskMotion,Rn=R.popupTransitionName,Kn=R.popupAnimation,Nn=R.maskTransitionName,In=R.maskAnimation,En=R.className,Tn=R.getTriggerDOMNode,at=(0,z.Z)(R,pe),it=De||Vt||!1,en=a.useState(!1),pn=(0,k.Z)(en,2),An=pn[0],Q=pn[1];(0,t.Z)(function(){Q((0,r.Z)())},[]);var X=a.useRef({}),Ke=a.useContext(G),Se=a.useMemo(function(){return{registerSubPopup:function(Wt,Zt){X.current[Wt]=Zt,Ke==null||Ke.registerSubPopup(Wt,Zt)}}},[Ke]),ze=(0,f.Z)(),Ge=a.useState(null),Be=(0,k.Z)(Ge,2),Fe=Be[0],nt=Be[1],We=a.useRef(null),et=(0,s.Z)(function(gt){We.current=gt,(0,H.Sh)(gt)&&Fe!==gt&&nt(gt),Ke==null||Ke.registerSubPopup(ze,gt)}),lt=a.useState(null),Qe=(0,k.Z)(lt,2),Ie=Qe[0],V=Qe[1],ce=a.useRef(null),he=(0,s.Z)(function(gt){(0,H.Sh)(gt)&&Ie!==gt&&(V(gt),ce.current=gt)}),ve=a.Children.only(p),Pe=(ve==null?void 0:ve.props)||{},Ue={},$e=(0,s.Z)(function(gt){var Wt,Zt,Mn=Ie;return(Mn==null?void 0:Mn.contains(gt))||((Wt=(0,e.A)(Mn))===null||Wt===void 0?void 0:Wt.host)===gt||gt===Mn||(Fe==null?void 0:Fe.contains(gt))||((Zt=(0,e.A)(Fe))===null||Zt===void 0?void 0:Zt.host)===gt||gt===Fe||Object.values(X.current).some(function(zn){return(zn==null?void 0:zn.contains(gt))||gt===zn})}),ot=P(C,Wn,Kn,Rn),_t=P(C,wn,In,Nn),bt=a.useState(fe||!1),on=(0,k.Z)(bt,2),wt=on[0],Et=on[1],Mt=W!=null?W:wt,Ht=(0,s.Z)(function(gt){W===void 0&&Et(gt)});(0,t.Z)(function(){Et(W||!1)},[W]);var zt=a.useRef(Mt);zt.current=Mt;var xt=a.useRef([]);xt.current=[];var Pt=(0,s.Z)(function(gt){var Wt;Ht(gt),((Wt=xt.current[xt.current.length-1])!==null&&Wt!==void 0?Wt:Mt)!==gt&&(xt.current.push(gt),se==null||se(gt))}),tt=a.useRef(),ut=function(){clearTimeout(tt.current)},ht=function(Wt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ut(),Zt===0?Pt(Wt):tt.current=setTimeout(function(){Pt(Wt)},Zt*1e3)};a.useEffect(function(){return ut},[]);var $t=a.useState(!1),kt=(0,k.Z)($t,2),jt=kt[0],On=kt[1];(0,t.Z)(function(gt){(!gt||Mt)&&On(!0)},[Mt]);var A=a.useState(null),ae=(0,k.Z)(A,2),q=ae[0],ie=ae[1],_e=a.useState(null),ye=(0,k.Z)(_e,2),Ne=ye[0],Re=ye[1],be=function(Wt){Re([Wt.clientX,Wt.clientY])},ee=Ye(Mt,Fe,yt&&Ne!==null?Ne:Ie,Ft,Ut,mt,mn),oe=(0,k.Z)(ee,11),de=oe[0],me=oe[1],Ee=oe[2],Ve=oe[3],ct=oe[4],rt=oe[5],Nt=oe[6],Bt=oe[7],Ot=oe[8],Yt=oe[9],pt=oe[10],hn=ge(An,J,L,$),rn=(0,k.Z)(hn,2),_n=rn[0],Gt=rn[1],tn=_n.has("click"),vn=Gt.has("click")||Gt.has("contextMenu"),an=(0,s.Z)(function(){jt||pt()}),cn=function(){zt.current&&yt&&vn&&ht(!1)};xe(Mt,Ie,Fe,an,cn),(0,t.Z)(function(){an()},[Ne,Ft]),(0,t.Z)(function(){Mt&&!(Ut!=null&&Ut[Ft])&&an()},[JSON.stringify(mt)]);var It=a.useMemo(function(){var gt=w(Ut,C,Yt,yt);return _()(gt,Tt==null?void 0:Tt(Yt))},[Yt,Tt,Ut,C,yt]);a.useImperativeHandle(ne,function(){return{nativeElement:ce.current,popupElement:We.current,forceAlign:an}});var vt=a.useState(0),Dt=(0,k.Z)(vt,2),Xt=Dt[0],fn=Dt[1],sn=a.useState(0),ln=(0,k.Z)(sn,2),Un=ln[0],Xn=ln[1],$n=function(){if(bn&&Ie){var Wt=Ie.getBoundingClientRect();fn(Wt.width),Xn(Wt.height)}},or=function(){$n(),an()},ir=function(Wt){On(!1),pt(),Ce==null||Ce(Wt)},qn=function(){return new Promise(function(Wt){$n(),ie(function(){return Wt})})};(0,t.Z)(function(){q&&(pt(),q(),ie(null))},[q]);function gn(gt,Wt,Zt,Mn){Ue[gt]=function(zn){var Hn;Mn==null||Mn(zn),ht(Wt,Zt);for(var cr=arguments.length,dr=new Array(cr>1?cr-1:0),lr=1;lr<cr;lr++)dr[lr-1]=arguments[lr];(Hn=Pe[gt])===null||Hn===void 0||Hn.call.apply(Hn,[Pe,zn].concat(dr))}}(tn||vn)&&(Ue.onClick=function(gt){var Wt;zt.current&&vn?ht(!1):!zt.current&&tn&&(be(gt),ht(!0));for(var Zt=arguments.length,Mn=new Array(Zt>1?Zt-1:0),zn=1;zn<Zt;zn++)Mn[zn-1]=arguments[zn];(Wt=Pe.onClick)===null||Wt===void 0||Wt.call.apply(Wt,[Pe,gt].concat(Mn))});var kn=Ze(Mt,vn,Ie,Fe,st,He,$e,ht),Gn=_n.has("hover"),xn=Gt.has("hover"),yn,Cn;Gn&&(gn("onMouseEnter",!0,Ae,function(gt){be(gt)}),gn("onPointerEnter",!0,Ae,function(gt){be(gt)}),yn=function(Wt){(Mt||jt)&&Fe!==null&&Fe!==void 0&&Fe.contains(Wt.target)&&ht(!0,Ae)},yt&&(Ue.onMouseMove=function(gt){var Wt;(Wt=Pe.onMouseMove)===null||Wt===void 0||Wt.call(Pe,gt)})),xn&&(gn("onMouseLeave",!1,Le),gn("onPointerLeave",!1,Le),Cn=function(){ht(!1,Le)}),_n.has("focus")&&gn("onFocus",!0,Me),Gt.has("focus")&&gn("onBlur",!1,ke),_n.has("contextMenu")&&(Ue.onContextMenu=function(gt){var Wt;zt.current&&Gt.has("contextMenu")?ht(!1):(be(gt),ht(!0)),gt.preventDefault();for(var Zt=arguments.length,Mn=new Array(Zt>1?Zt-1:0),zn=1;zn<Zt;zn++)Mn[zn-1]=arguments[zn];(Wt=Pe.onContextMenu)===null||Wt===void 0||Wt.call.apply(Wt,[Pe,gt].concat(Mn))}),En&&(Ue.className=_()(Pe.className,En));var Ct=a.useRef(!1);Ct.current||(Ct.current=St||Mt||jt);var Jt=(0,O.Z)((0,O.Z)({},Pe),Ue),qt={},nn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];nn.forEach(function(gt){at[gt]&&(qt[gt]=function(){for(var Wt,Zt=arguments.length,Mn=new Array(Zt),zn=0;zn<Zt;zn++)Mn[zn]=arguments[zn];(Wt=Jt[gt])===null||Wt===void 0||Wt.call.apply(Wt,[Jt].concat(Mn)),at[gt].apply(at,Mn)})});var Pn=a.cloneElement(ve,(0,O.Z)((0,O.Z)({},Jt),qt)),Zn={x:rt,y:Nt},ar=Ln?(0,O.Z)({},Ln!==!0?Ln:{}):null;return a.createElement(a.Fragment,null,a.createElement(U.Z,{disabled:!Mt,ref:he,onResize:or},a.createElement(I,{getTriggerDOMNode:Tn},Pn)),Ct.current&&a.createElement(G.Provider,{value:Se},a.createElement(N,{portal:g,ref:et,prefixCls:C,popup:dn,className:_()(Rt,It),style:dt,target:Ie,onMouseEnter:yn,onMouseLeave:Cn,onPointerEnter:yn,zIndex:Qt,open:Mt,keepDom:jt,fresh:ft,onClick:Bn,onPointerDownCapture:kn,mask:st,motion:ot,maskMotion:_t,onVisibleChanged:ir,onPrepare:qn,forceRender:St,autoDestroy:it,getPopupContainer:Kt,align:Yt,arrow:ar,arrowPos:Zn,ready:de,offsetX:me,offsetY:Ee,offsetR:Ve,offsetB:ct,onAlign:an,stretch:bn,targetWidth:Xt/Bt,targetHeight:Un/Ot})))});return Z}var te=ue(Y.Z)},57884:function(Lt,Te,u){"use strict";var O=u(59301),k=u(93314),z=u(99571),Y=Object.defineProperty,j=Object.defineProperties,_=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,m)=>o in a?Y(a,o,{enumerable:!0,configurable:!0,writable:!0,value:m}):a[o]=m,f=(a,o)=>{for(var m in o||(o={}))H.call(o,m)&&s(a,m,o[m]);if(U)for(var m of U(o))e.call(o,m)&&s(a,m,o[m]);return a},t=(a,o)=>j(a,_(o));const r=({img:a,buttonProps:o={},styles:m={},customText:E,ButtonText:S,ButtonClick:h,Buttonclass:v,ButtonTwo:c,imgStyles:l,loading:N=!1,className:D=""})=>O.createElement("section",{className:`tc animated fadeIn ${D}`,style:f({color:"#999",margin:"100px auto",visibility:N?"hidden":"visible"},m)},O.createElement("img",{src:a||k,style:t(f({},l),{pointerEvents:"none",userSelect:"none"})}),O.createElement("p",{className:"mt20 font14"},E||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),S&&O.createElement(z.ZP,f({className:v,onClick:h},o),S),c&&c);Te.Z=r},41550:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return v}});var O=u(59301),k={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},z=u(99571),Y=u(70557),j=u(51124),_=u(25399),U=u(49661),H=u(72664),e=u(57884),s=u(90524),f=u(14794),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,E=(c,l,N)=>l in c?r(c,l,{enumerable:!0,configurable:!0,writable:!0,value:N}):c[l]=N,S=(c,l)=>{for(var N in l||(l={}))o.call(l,N)&&E(c,N,l[N]);if(a)for(var N of a(l))m.call(l,N)&&E(c,N,l[N]);return c},h=(c,l,N)=>new Promise((D,I)=>{var K=ge=>{try{F(N.next(ge))}catch(b){I(b)}},G=ge=>{try{F(N.throw(ge))}catch(b){I(b)}},F=ge=>ge.done?D(ge.value):Promise.resolve(ge.value).then(K,G);F((N=N.apply(c,l)).next())}),v=({editOffice:c="view",data:l,issaver:N,onSaver:D,theme:I,type:K,filename:G,monacoEditor:F,className:ge,style:b,close:d,onClose:w,hasMask:P,disabledDownload:T,onImgDimensions:x,showNodata:n,recordInfo:i})=>{const[y,M]=(0,O.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[le,we]=(0,O.useState)(""),[Oe,je]=(0,O.useState)(),Ye=window.ENV==="build"?"/react/build":"",At=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,qe=10*(1024*1024),Ze=(0,O.useRef)();l!=null&&l.startsWith("/api")&&K!=="txt"&&(l=s.Z.API_SERVER+l);const pe=R=>R.substring(R.lastIndexOf("/")+1).split(".").pop();G&&F&&(F.filename=G),(0,O.useEffect)(()=>{var R,ne;const re=(ne=(R=document.cookie)==null?void 0:R.replace(/\s/g,""))==null?void 0:ne.split(";");re==null||re.map(C=>{let p=C.split("=");p[0]==="_educoder_session"&&we(p[1])})},[]),(0,O.useEffect)(()=>{K==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?je({url:l,fileType:pe(l),model:l.indexOf("model=edit")?"edit":"view"}):te())},[K,l]);function ue(R){return h(this,null,function*(){R.data.type==="pdfdata"&&(D(R.data.data),window.removeEventListener("message",ue,!1)),console.log("mess---:",R.data)})}const te=()=>h(void 0,null,function*(){console.log("data:",l);let R=l;l.startsWith("http")||(R=location.origin+R);let ne=new URL(R).pathname.split("/").pop();const re=yield(0,H.gJ)({attachment_id:ne});re.url=At+re.url,je(re)}),g=()=>{if(l.startsWith("http")||l.startsWith("blob:")){Z();return}(0,U.Sv)(G||"educoder",l,G)},Z=()=>{i&&(0,f.fc)({id:i==null?void 0:i.id,watch_type:1,course_id:i==null?void 0:i.course_id}),(0,U.Nd)(G||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:S({},b||{}),className:`${P&&k.bgBlack} ${K?k.wrp:"hide"}`},d&&t.createElement("div",{className:k.close,ref:Ze},!!x&&t.createElement(_.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ze.current},t.createElement("span",{onClick:()=>{w(),x()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!T&&t.createElement(_.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ze.current},t.createElement("span",{onClick:Z},t.createElement("i",{className:"icon-quxiaozhiding"}))),N&&t.createElement(_.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ze.current},t.createElement("span",{className:"",onClick:()=>{const R=document.getElementById("pdfiframe");window.addEventListener("message",ue,!1),setTimeout(()=>{R.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(_.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ze.current},t.createElement("span",{className:"",onClick:()=>{w()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${k[ge]} ${ge} ${k.monaco} ${K==="txt"?"show":"hide"}`},K==="txt"&&t.createElement(t.Fragment,null,t.createElement(j.ZP,S({},F)))),K==="audio"&&t.createElement("audio",{src:`${(l==null?void 0:l.indexOf("http://"))>-1||(l==null?void 0:l.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${l}`,autoPlay:!0}),K==="video"&&t.createElement(t.Fragment,null,(l==null?void 0:l.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${l}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${l}`,autoPlay:!0})),K==="office"&&Oe&&t.createElement("iframe",{src:`${Ye}/office.html?key=${Oe.key}&url=${btoa(Oe.url)}&callbackUrl=${At+(Oe.callbackUrl||"")}&fileType=${Oe.fileType}&title=${Oe.title||""}&model=${c}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!T}`}),K==="html"&&t.createElement("iframe",{src:l+"&disposition=inline"}),K==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${Ye}/js/pdfview/index.html?filename=${G||"educoder.pdf"}&url=${encodeURIComponent(l)}&disabledDownload=${!!T}&model=${c}`}),K==="image"&&t.createElement("img",{src:`${(l==null?void 0:l.indexOf("http://"))>-1||(l==null?void 0:l.indexOf("https://"))>-1?"":"data:image/png;base64,"}${l}`}),(K==="other"||K==="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(z.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:g,disabled:T},"\u4E0B\u8F7D")}):t.createElement(z.ZP,{type:"primary",size:"middle",onClick:g,disabled:T},t.createElement(Y.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},51124:function(Lt,Te,u){"use strict";u.d(Te,{SV:function(){return qe},ZP:function(){return xe}});var O=u(59301),k=u(76374);const z={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"]},Y={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"]},j={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 <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},_={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(`
`)}]},U={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=u(53184),e=u.n(H),s=(Ze,pe,ue)=>new Promise((te,g)=>{var Z=re=>{try{ne(ue.next(re))}catch(C){g(C)}},R=re=>{try{ne(ue.throw(re))}catch(C){g(C)}},ne=re=>re.done?te(re.value):Promise.resolve(re.value).then(Z,R);ne((ue=ue.apply(Ze,pe)).next())});const f={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=(Ze,pe,ue,te)=>{const g=pe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ue.lineNumber,endColumn:ue.column});return Array.from(new Set(g.match(/\b\w{2,}\b/g)||[])).map(R=>({label:R,kind:Ze.languages.CompletionItemKind.Text,insertText:R,range:te}))},r=(Ze,pe,ue,te)=>{Ze.languages.registerCompletionItemProvider(pe,{provideCompletionItems(g,Z){const R=g.getWordUntilPosition(Z),ne={startLineNumber:Z.lineNumber,endLineNumber:Z.lineNumber,startColumn:R.startColumn,endColumn:R.endColumn},re=g.getLineContent(Z.lineNumber).substring(R.startColumn-2,R.endColumn);return{suggestions:[...t(Ze,g,Z,ne),...ue.map(p=>({label:p,kind:Ze.languages.CompletionItemKind.Keyword,documentation:p,insertText:p,insertTextRules:Ze.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ne})),...te.map(p=>({label:p.label,kind:Ze.languages.CompletionItemKind.Snippet,documentation:p.content,insertText:re.startsWith("#")?p.content.replace(/#/,""):p.content,insertTextRules:Ze.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ne}))]}}})};var a=Ze=>{f.languages.forEach(pe=>{Ze.languages.registerDocumentFormattingEditProvider(pe,{provideDocumentFormattingEdits(ue){return s(this,null,function*(){const te=e()(ue.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:ue.getFullModelRange(),text:te}]})}})}),r(Ze,"java",Y.keywords,Y.quickKey),r(Ze,"cpp",j.keywords,j.quickKey),r(Ze,"c",z.keywords,[]),r(Ze,"python",_.keywords,_.quickKey),r(Ze,"scala",U.keywords,U.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,E=(Ze,pe,ue)=>pe in Ze?m(Ze,pe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Ze[pe]=ue,S=(Ze,pe,ue)=>E(Ze,typeof pe!="symbol"?pe+"":pe,ue);const h=class yi{constructor(pe,ue,te){this.placeholder=pe,this.editor=ue,this.monaco=te,ue.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return yi.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)}};S(h,"ID","editor.widget.placeholderHint");var c=h,l=u(96236),N=u(6767),D=u(25399),I=u(89392),K=u(33796),G=u(56102),F=Object.defineProperty,ge=Object.defineProperties,b=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,T=(Ze,pe,ue)=>pe in Ze?F(Ze,pe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Ze[pe]=ue,x=(Ze,pe)=>{for(var ue in pe||(pe={}))w.call(pe,ue)&&T(Ze,ue,pe[ue]);if(d)for(var ue of d(pe))P.call(pe,ue)&&T(Ze,ue,pe[ue]);return Ze},n=(Ze,pe)=>ge(Ze,b(pe)),i=(Ze,pe)=>{var ue={};for(var te in Ze)w.call(Ze,te)&&pe.indexOf(te)<0&&(ue[te]=Ze[te]);if(Ze!=null&&d)for(var te of d(Ze))pe.indexOf(te)<0&&P.call(Ze,te)&&(ue[te]=Ze[te]);return ue},y=(Ze,pe,ue)=>new Promise((te,g)=>{var Z=re=>{try{ne(ue.next(re))}catch(C){g(C)}},R=re=>{try{ne(ue.throw(re))}catch(C){g(C)}},ne=re=>re.done?te(re.value):Promise.resolve(re.value).then(Z,R);ne((ue=ue.apply(Ze,pe)).next())});function M(Ze){return/^\d+$/.test(Ze)?`${Ze}px`:Ze}function le(){}let we=!1;const Oe={"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 je(Ze=[]){let pe=Ze;if(Array.isArray(Ze)){for(let ue=0;ue<Ze.length;ue++){let te=Oe[Ze[ue]];if(te)return te}return pe[0]}return Oe[pe]||pe}let Ye=null;const At=()=>y(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ze){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ze)}});var xe=Ze=>{var pe=Ze,{width:ue="100%",height:te="100%",value:g,language:Z="javascript",style:R={},options:ne={},overrideServices:re={},theme:C="vs-dark",onEditBlur:p,isCopy:B=!1,onSave:J,autoHeight:L=!1,forbidCopy:$=!1,onChange:W=le,editorDidMount:fe=le,onFocus:se=le,onBreakPoint:Ce=le,breakPointValue:Ae=[],filename:Xe="educoder.txt",errorLine:Le,errorContent:Me="",highlightLine:ke,openBreakPoint:st=!1,placeholder:Je="",showMiniMap:He=!0}=pe,Kt=i(pe,["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 St=(0,O.useRef)(),De=(0,O.useRef)({}),Vt=(0,O.useRef)(),dn=(0,O.useRef)(),Rt=(0,O.useRef)([]),dt=(0,O.useRef)(!1),Ft=(0,O.useRef)(),un=(0,O.useRef)(),Ut=(0,O.useRef)(!1),[mt,Qt]=(0,O.useState)(!1);function bn(){let at;return St.current&&(at=new k.Z(it=>{for(let en of it)(en.target.offsetHeight>0||en.target.offsetWidth>0)&&De.current.instance.layout()}),at.observe(St.current)),at}function Tt(){N.ZP.warning({content:decodeURIComponent(o),key:"monaco-editor-tip"})}const ft=()=>{let at=De.current.instance;if(g!=null&&at&&mt){const it=at.getModel();it&&g!==it.getValue()&&(we=!0,it.setValue(g),at.layout(),we=!1)}};(0,O.useEffect)(()=>{const at=K.Z.subscribe("formatDocument",it=>{var en;let pn=De.current.instance;(en=pn==null?void 0:pn.getAction)==null||en.call(pn,"editor.action.formatDocument").run()});return window.updateMonacoValue=it=>{W(it)},at},[]),(0,O.useEffect)(()=>{var at;let it=De.current.instance;dn.current&&clearTimeout(dn.current),dn.current=setTimeout(()=>{ft()},500),g&&(g!=null&&g.length)&&((at=it==null?void 0:it.updateOptions)==null||at.call(it,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(g.split(/\r\n|\r|\n/g).length))+3,5)}))},[g,mt,De.current]),(0,O.useEffect)(()=>{if(Le&&De.current&&De.current.instance){let it=De.current.instance;it.changeViewZones(function(en){var pn=document.createElement("div");pn.style.padding="10px 20px",pn.style.width="calc(100% - 20px)",pn.className="my-error-line-wrp",pn.innerHTML=Me,en.addZone({afterLineNumber:Le||11,heightInLines:3,domNode:pn})});var at={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}};it.addOverlayWidget(at),it.revealPositionInCenter({lineNumber:20,column:1})}},[Le,De.current,mt]);const yt=(at="",it)=>{if(!at||at.trim()==="")return!0;const pn=De.current.instance.getModel().getLineTokens(it);let An=!1;for(let Q=0;Q<2;Q++)pn.getStandardTokenType(Q)===1&&(An=!0);return An};(0,O.useEffect)(()=>{var at;const it=(at=De.current)==null?void 0:at.instance;if(it&&mt&&$){const en=it.onDidBlurEditorWidget(()=>{Ut.current=!1}),pn=it.onDidFocusEditorText(()=>{Ut.current=!0});return()=>{en.dispose(),pn.dispose()}}},[De.current,mt,$]),(0,O.useEffect)(()=>{var at;if((at=De.current)!=null&&at.instance&&mt&&st){let it=De.current.instance,en=it.getModel();if(!en)return;(()=>{var We;let et=[],lt=[];const Qe=en.getAllDecorations();for(let V of Qe)V.options.className==="highlighted-line"&&(et.push((We=V==null?void 0:V.range)==null?void 0:We.startLineNumber),lt.push(V==null?void 0:V.id));if(ke===et[0])return;en.deltaDecorations(lt,[]);const Ie=en.getLineCount();ke&&ke<=Ie&&(it.deltaDecorations([],[{range:new Ye.Range(ke,1,ke,en.getLineMaxColumn(ke)),options:{isWholeLine:!0,className:"highlighted-line"}}]),it.revealLineInCenter(ke))})();const An=(We=!1)=>{var et;let lt=[],Qe=[];const Ie=en.getAllDecorations();for(let V of Ie)V.options.linesDecorationsClassName==="breakpoints-select"&&(lt.push((et=V==null?void 0:V.range)==null?void 0:et.startLineNumber),Qe.push(V==null?void 0:V.id));if(We)return{lines:lt,ids:Qe};Ce(lt)},Q=We=>y(void 0,null,function*(){let et={range:new Ye.Range(We,1,We,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield en.deltaDecorations([],[et]),An()}),X=We=>y(void 0,null,function*(){let et=[];const lt=it.getLineDecorations(We);for(let Qe of lt)Qe.options.linesDecorationsClassName==="breakpoints-select"&&et.push(Qe.id);yield en.deltaDecorations(et,[]),An()}),Ke=We=>{let et=it.getLineDecorations(We);for(let lt of et)if(lt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,I.isEqual)(Ae,An(!0).lines)){en.deltaDecorations(An(!0).ids,[]);const We=Ae.map(et=>({range:new Ye.Range(et,1,et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));en.deltaDecorations([],We)}const Se=it.onDidChangeModelContent(We=>{let et=it.getPosition();if(et){let lt=et.lineNumber;clearTimeout(un.current),un.current=setTimeout(()=>{yt(en.getLineContent(lt),lt)?X(lt):Ke(lt)?(X(lt),Q(lt)):An()},100)}}),ze=it.onMouseDown(We=>{var et,lt,Qe;if(We.target.detail&&((Qe=(lt=(et=We.target)==null?void 0:et.element)==null?void 0:lt.className)!=null&&Qe.includes("line-numbers"))){let Ie=We.target.position.lineNumber;if(yt(en.getLineContent(Ie),Ie))return;Ke(Ie)?X(Ie):Q(Ie)}}),Ge=We=>{let et={range:new Ye.Range(We,1,We,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Rt.current=it.deltaDecorations(Rt.current,[et])},Be=()=>{Rt.current=it.deltaDecorations(Rt.current,[])},Fe=it.onMouseMove(We=>{var et,lt,Qe;if(Be(),We.target.detail&&((Qe=(lt=(et=We.target)==null?void 0:et.element)==null?void 0:lt.className)!=null&&Qe.includes("line-numbers"))){let Ie=We.target.position.lineNumber;if(yt(en.getLineContent(Ie),Ie))return;Ge(Ie)}}),nt=it.onMouseLeave(()=>{Be()});return()=>{Se.dispose(),ze.dispose(),Fe.dispose(),nt.dispose()}}},[De.current,mt,Ae,ke,st,Z]),(0,O.useEffect)(()=>{var at;(at=De.current)!=null&&at.instance&&st&&De.current.instance.setPosition({lineNumber:0,column:0})},[ke]);function Bn(){let at=De.current.instance;if(at){const it=at.getSelection(),en=De.current.pastePos||{},pn=new Ye.Range(en.startLineNumber||it.endLineNumber,en.startColumn||it.endColumn,en.endLineNumber||it.endLineNumber,en.endColumn||it.endColumn);setTimeout(()=>{at.executeEdits("",[{range:pn,text:""}])},300)}}function mn(at){(window.navigator.platform.match("Mac")?at.metaKey:at.ctrlKey)&&at.keyCode==83&&(at.preventDefault(),J())}const Ln=()=>{if(L&&De.current.instance){const at=De.current.instance.getContentHeight();En(at<te?te:at)}else En(te)};function Wn(at){var it=document.createEvent("MouseEvents");it.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),at.dispatchEvent(it)}const wn=at=>{if(!Ut.current)return;const{keyCode:it,ctrlKey:en,metaKey:pn,target:An,type:Q}=at;return(Q==="paste"||(it===67||it===86)&&(pn||en))&&An.nodeName==="TEXTAREA"&&(Tt(),at.preventDefault()),!1};function Rn(at,it){var en=window.URL||window.webkitURL||window,pn=new Blob([it]),An=document.createElementNS("http://www.w3.org/1999/xhtml","a");An.href=en.createObjectURL(pn),An.download=at,Wn(An)}(0,O.useEffect)(()=>{Ln()},[Ln]),(0,O.useEffect)(()=>{St.current&&!mt&&Promise.all([u.e(8909),u.e(5028)]).then(u.bind(u,71448)).then(at=>{try{Ye=at,De.current.instance=Ye.editor.create(St.current,{value:g,language:je(Z),theme:C,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:He||!1}},re);const it=De.current.instance;let An=[...l.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"],X=(Se,ze)=>{var Ge,Be;let Fe=Se._first;do ze.includes((Be=(Ge=Fe.element)==null?void 0:Ge.command)==null?void 0:Be.id)&&Se._remove(Fe);while(Fe=Fe.next)};if(fe(it,Ye),setTimeout(()=>{Ln(),De.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Rn(Xe||"educoder.txt",it.getValue())}})},500),De.current.subscription=it.onDidChangeModelContent(Se=>{dt.current?clearTimeout(Ft.current):(Ln(),W(it.getValue(),Se)),Ft.current=setTimeout(()=>{dt.current=!1},500)}),window.Monaco||a(Ye,je(Z)),$&&(X(An,Q),St.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",wn),window.removeEventListener("paste",wn),window.addEventListener("keydown",wn),window.addEventListener("paste",wn)),window.Monaco=Ye,p&&it.onDidBlurEditorWidget(()=>{p(it.getValue())}),se&&it.onDidFocusEditorText(()=>{$&&At(),se(it.getValue())}),$){At();try{it.onDidPaste(Se=>{const ze=it.getSelection(),Ge=De.current.pastePos||{},Be=new Ye.Range(Ge.startLineNumber||ze.endLineNumber,Ge.startColumn||ze.endColumn,Ge.endLineNumber||ze.endLineNumber,Ge.endColumn||ze.endColumn);it.executeEdits("",[{range:Se.range,text:""}])})}catch(Se){}}let Ke=bn();return Je&&typeof Je=="string"&&new c(Je,it,Ye),Qt(!0),()=>{const Se=De.current.instance;Se.dispose();const ze=Se.getModel();ze&&ze.dispose(),De.current.subscription&&De.current.subscription.dispose(),Ke.unobserve(St.current)}}catch(it){}})},[]),(0,O.useEffect)(()=>{if(De.current.instance&&mt)return document.addEventListener("keydown",mn,!1),()=>{document.removeEventListener("keydown",mn)}},[J,mt]),(0,O.useEffect)(()=>{let at=De.current.instance;if(at&&mt){let it=je(Z);Ye.editor.setModelLanguage(at.getModel(),it)}},[Z,mt]),(0,O.useEffect)(()=>{De.current.instance&&mt&&Ye.editor.setTheme(C)},[C,mt]),(0,O.useEffect)(()=>{let at=De.current.instance;Vt.current=ne,at&&mt&&(at.updateOptions(x({},ne)),setTimeout(()=>{at.getModel().updateOptions(x({},ne))},200))},[JSON.stringify(ne),mt]),(0,O.useEffect)(()=>{let at=De.current.instance;at&&mt&&at.layout()},[ue,te,mt]);const[Kn,Nn]=(0,O.useState)(M(ue)),[In,En]=(0,O.useState)(M(te)),Tn=n(x({},R),{width:Kn,height:In,position:"relative"});return O.createElement("div",{className:"my-monaco-editor",ref:St,style:Tn},B&&O.createElement(G.CopyToClipboard,{text:g,onCopy:()=>N.ZP.success("\u590D\u5236\u6210\u529F")},O.createElement(D.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 qe({width:Ze="100%",height:pe="100%",original:ue,modified:te,language:g,options:Z={}}){const R=(0,O.useRef)(),[ne,re]=(0,O.useState)(null);function C(L){let $;return R.current&&($=new k.Z(W=>{for(let fe of W)(fe.target.offsetHeight>0||fe.target.offsetWidth>0)&&L.layout()}),$.observe(R.current)),$}(0,O.useEffect)(()=>(R.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(L=>{Ye=L;const $=Ye.editor.createDiffEditor(R.current,n(x({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},Z),{wordWrap:!0}));re($);let W=C($);return()=>{$.dispose();const fe=$.getModel();fe&&fe.dispose(),W.unobserve(R.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,O.useEffect)(()=>{ne&&ne.setModel({original:Ye.editor.createModel(ue,g),modified:Ye.editor.createModel(te,g)})},[ue,te,g,ne]);const p=M(Ze),B=M(pe),J={width:p,height:B};return O.createElement("div",{className:"my-diff-editor",ref:R,style:J})}},93477:function(Lt,Te,u){"use strict";u.r(Te),u.d(Te,{default:function(){return G}});var O=u(59301),k={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},z=u(76560),Y=u(6767),j=u(25399),_=u(62957),U=u(82326),H=u(99571),e=u(54172),s=u(87169),f=u(30975),t=u(82093),r=u(1697),a=u(56854),o=u(41550),m=Object.defineProperty,E=Object.defineProperties,S=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(F,ge,b)=>ge in F?m(F,ge,{enumerable:!0,configurable:!0,writable:!0,value:b}):F[ge]=b,N=(F,ge)=>{for(var b in ge||(ge={}))v.call(ge,b)&&l(F,b,ge[b]);if(h)for(var b of h(ge))c.call(ge,b)&&l(F,b,ge[b]);return F},D=(F,ge)=>E(F,S(ge)),I=(F,ge,b)=>new Promise((d,w)=>{var P=n=>{try{x(b.next(n))}catch(i){w(i)}},T=n=>{try{x(b.throw(n))}catch(i){w(i)}},x=n=>n.done?d(n.value):Promise.resolve(n.value).then(P,T);x((b=b.apply(F,ge)).next())});const K=({user:F})=>{var ge;const b={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[d,w]=(0,O.useState)(b);const[P,T]=(0,O.useState)(!0),[x,n]=(0,O.useState)([]),[i,y]=(0,O.useState)([]),[M,le]=(0,O.useState)([]),[we,Oe]=(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}}}),je=pe=>I(void 0,null,function*(){var ue;T(!0),pe.school_id=(ue=F==null?void 0:F.userInfo)==null?void 0:ue.school_id;let te=yield(0,t.ZP)(`/api/ec_major_schools/${(pe==null?void 0:pe.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:D(N({},pe),{year:(pe==null?void 0:pe.ec_year_id)===0?null:pe==null?void 0:pe.ec_year_id,ec_year_id:((pe==null?void 0:pe.ec_year_id)===0,null)})});te&&(n(te==null?void 0:te.ec_years),T(!1),d.total=te==null?void 0:te.count,w(N({},d)))});(0,O.useEffect)(()=>{var pe;(pe=F.userInfo)!=null&&pe.school_id&&(Ye(),At(),je(d))},[(ge=F==null?void 0:F.userInfo)==null?void 0:ge.school_id]);function Ye(){return I(this,null,function*(){var pe;let ue=yield(0,t.ZP)(`/api/schools/${(pe=F==null?void 0:F.userInfo)==null?void 0:pe.school_id}/ec_majors/get_major_list.json`,{method:"get"});y(ue==null?void 0:ue.data)})}function At(){return I(this,null,function*(){let pe=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});le(pe==null?void 0:pe.year_arr)})}const xe=(pe,ue)=>{d.page=1,d[ue]=typeof pe=="number"?pe:null,w(N({},d)),je(d)},qe=(pe,ue,te)=>{d.page=pe==null?void 0:pe.current,d.per_page=pe==null?void 0:pe.pageSize,te!=null&&te.order?(d.sort_by=te==null?void 0:te.field,d.sort_direction=(te==null?void 0:te.order)==="ascend"?"asc":"desc"):(d.sort_by=null,d.sort_direction=null),w(N({},d)),je(d)},Ze=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(pe,ue,te)=>d.per_page*(d.page-1)+te+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(pe,ue,te)=>O.createElement(z.Link,{to:`/engineering/training/program/edit?ec_year_id=${ue==null?void 0:ue.id}`},pe)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(pe,ue,te)=>O.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(ue==null?void 0:ue.type))we.editOffice="edit",Oe(D(N({},we),{type:ue.file_type,data:`/api/attachments/${ue.attachment_id}`}));else{Y.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},pe||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(pe,ue,te)=>pe+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(pe,ue,te)=>pe||O.createElement("a",{href:`/engineering/training/objectives?ids=${ue==null?void 0:ue.ec_major_school_id},${ue==null?void 0:ue.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(pe,ue,te)=>pe||O.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${ue==null?void 0:ue.ec_major_school_id}&ec_year_id=${ue==null?void 0:ue.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(pe,ue,te)=>pe+"/"+(ue==null?void 0:ue.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(pe,ue,te)=>pe||O.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${ue==null?void 0:ue.ec_major_school_id}&ec_year_id=${ue==null?void 0:ue.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(pe,ue,te)=>O.createElement(j.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${pe} / \u8BFE\u7A0B\u603B\u6570\uFF1A${ue==null?void 0:ue.course_count}`},O.createElement("span",{style:{color:ue!=null&&ue.course_count?parseInt(pe)===parseInt(ue==null?void 0:ue.course_count)?"#07C160":"#E30000":""}},ue!=null&&ue.course_count?pe+"/"+(ue==null?void 0:ue.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(pe,ue,te)=>O.createElement(j.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${pe} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${ue==null?void 0:ue.graduation_requirement_count}`},O.createElement("span",{style:{color:ue!=null&&ue.graduation_requirement_count?parseInt(pe)===parseInt(ue==null?void 0:ue.graduation_requirement_count)?"#07C160":"#E30000":""}},ue!=null&&ue.graduation_requirement_count?pe+"/"+(ue==null?void 0:ue.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(pe,ue,te)=>O.createElement("span",{style:{color:pe==="achieved"?"#E30000":"#07C160"}},pe==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(pe,ue,te)=>O.createElement("div",{style:{display:"flex"}},O.createElement("i",{onClick:()=>I(void 0,null,function*(){z.history.push(`/engineering/training/program/edit?ec_year_id=${ue==null?void 0:ue.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),O.createElement("i",{onClick:()=>{_.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:O.createElement(s.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>I(void 0,null,function*(){var g;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${pe}`,{method:"delete"}))&&(a.U.clear((g=F==null?void 0:F.userInfo)==null?void 0:g.login),Y.ZP.info("\u5220\u9664\u6210\u529F"),je(d))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),O.createElement("i",{onClick:()=>I(void 0,null,function*(){var g;(0,f.xm)({ec_year_id:pe,school_id:(g=F==null?void 0:F.userInfo)==null?void 0:g.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return O.createElement("div",{className:k.wrap},O.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),O.createElement("div",{style:{clear:"both"}}),O.createElement("div",{className:k.control},O.createElement("div",{className:k.label},"\u8BA4\u8BC1\u4E13\u4E1A"),O.createElement(U.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:pe=>xe(pe,"ec_major_school_id")},O.createElement(U.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((pe,ue)=>O.createElement(U.default.Option,{value:pe==null?void 0:pe.ec_major_school_id},pe==null?void 0:pe.name))),O.createElement("div",{className:k.label},"\u8BA4\u8BC1\u5C4A\u522B"),O.createElement(U.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:pe=>xe(pe,"ec_year_id")},O.createElement(U.default.Option,{value:0},"\u5168\u90E8"),M==null?void 0:M.map((pe,ue)=>O.createElement(U.default.Option,{value:pe},pe,"\u5C4A"))),O.createElement("div",{style:{flex:1,textAlign:"end"}},O.createElement(H.ZP,{onClick:()=>{z.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},O.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),O.createElement(e.default,{className:k.customTable,dataSource:x,bordered:!1,rowKey:pe=>pe.id,columns:Ze,rowClassName:k.row,loading:P,onChange:qe,pagination:{pageSize:d.per_page,total:d.total,current:d.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:pe=>O.createElement("span",{className:"mr10"},"\u5171",O.createElement("span",{className:"c-orange"},pe),"\u6761\u6570\u636E")}}),O.createElement(o.Z,D(N({},we),{onClose:()=>{Oe(D(N({},we),{type:""}))}})))};var G=(0,z.connect)(({user:F})=>({user:F}))(K)},1697:function(Lt,Te,u){"use strict";u.d(Te,{p:function(){return Y},v:function(){return U}});var O=u(59301),k={panelTitleContainer:"panelTitleContainer___Ypuh_"},Y=({title:H,style:e={}})=>O.createElement("div",{className:k.panelTitleContainer,style:e},O.createElement("div",null,H)),j={selectWrapContainer:"selectWrapContainer___qocIH"},U=({title:H,children:e})=>O.createElement("div",{className:j.selectWrapContainer},O.createElement("span",null,H),e)},30975:function(Lt,Te,u){"use strict";u.d(Te,{AD:function(){return w},D9:function(){return M},Hp:function(){return N},IM:function(){return we},Iy:function(){return I},KM:function(){return te},MJ:function(){return D},Ne:function(){return le},ON:function(){return xe},Uj:function(){return pe},VY:function(){return Ye},YO:function(){return Ze},YX:function(){return qe},Zn:function(){return o},_g:function(){return v},_k:function(){return i},c6:function(){return b},cr:function(){return m},eV:function(){return d},fi:function(){return E},gh:function(){return F},hS:function(){return Oe},iA:function(){return S},j6:function(){return c},je:function(){return x},jj:function(){return l},kS:function(){return At},lS:function(){return n},o6:function(){return ge},pO:function(){return ue},rQ:function(){return P},sA:function(){return G},xm:function(){return y},xo:function(){return je},y8:function(){return T},yd:function(){return h}});var O=u(64948),k=u(76560),z=u(49661),Y=u(6767),j=u(90524),_=Object.defineProperty,U=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(g,Z,R)=>Z in g?_(g,Z,{enumerable:!0,configurable:!0,writable:!0,value:R}):g[Z]=R,f=(g,Z)=>{for(var R in Z||(Z={}))H.call(Z,R)&&s(g,R,Z[R]);if(U)for(var R of U(Z))e.call(Z,R)&&s(g,R,Z[R]);return g},t=(g,Z,R)=>new Promise((ne,re)=>{var C=J=>{try{B(R.next(J))}catch(L){re(L)}},p=J=>{try{B(R.throw(J))}catch(L){re(L)}},B=J=>J.done?ne(J.value):Promise.resolve(J.value).then(C,p);B((R=R.apply(g,Z)).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..."}})},a=()=>{(0,k.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=g=>t(void 0,null,function*(){r(),(yield(0,O.YR)(f({},g))).status===0&&(yield(0,z.QH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/courses/${g.coursesId}/export_couser_info.json`,query:g}))),a()}),m=g=>t(void 0,null,function*(){const Z=yield(0,O.yS)(f({},g));if(Z.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_member_act_score`);else{if(Z.status===-2)return Z;Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_member_act_score`))}}),E=g=>t(void 0,null,function*(){const Z=yield(0,O.W0)(f({},g));if(Z.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_score`);else{if(Z.status===-4)return Z;Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_score`))}}),S=g=>t(void 0,null,function*(){const Z=yield(0,O.Nl)(f({},g));if(Z.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Z.status===-4)return Z;Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_exercise_and_other`))}}),h=g=>t(void 0,null,function*(){const Z=yield(0,O.IU)(f({},g));if(Z.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/export_star_user`);else{if(Z.status===-4)return Z;Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/export_star_user`))}}),v=g=>t(void 0,null,function*(){const Z=yield(0,O.td)(f({},g));if(Z.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Z.status===-2)return Z;if(Z.status===-3)(0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_exercise_and_other`);else if(Z.status===-4)return Z}}),c=g=>t(void 0,null,function*(){const Z=yield(0,O.QX)(f({},g));if(Z.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_homework`);else{if(Z.status===-4)return Z;Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/course_total_homework`))}}),l=(g,Z)=>t(void 0,null,function*(){const R=yield(0,O.o_)(f({},g));R.status===0?(Y.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/${g.coursesId}/exportlist/${Z}`)):R.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/${Z}`))}),N=(g,Z)=>t(void 0,null,function*(){const R=yield(0,O.ZL)(f({},g));R.status===0?(Y.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/${g.coursesId}/exportlist/${Z}`)):R.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/${Z}`))}),D=(g,Z)=>t(void 0,null,function*(){const R=yield(0,O.vV)(f({},g));R.status===0?(Y.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/${g.coursesId}/exportlist/${Z}`)):R.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/${Z}`))}),I=(g,Z)=>t(void 0,null,function*(){const R=yield(0,O.aP)(f({},g));R.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/${Z}`)):R.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/${Z}`))}),K=g=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(f({},g))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${g.categoryId}/works_list.zip`,query:g}))),a()}),G=g=>t(void 0,null,function*(){r(),yield(0,z.QH)("",j.Z.API_SERVER+`/api/polls/${g.categoryId}/commit_result.xlsx`),a()}),F=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/courses/${g.coursesId}/attendances/export_xlsx_data.xlsx`,query:g}))}),ge=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/courses/${g.coursesId}/video_study_statics.xlsx`,query:g}))}),b=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/courses/${g.coursesId}/export_video_study.xlsx`,query:g}))}),d=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/courses/${g.coursesId}/export_course_students_info.xlsx`,query:g}))}),w=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/school_manages/students.xlsx",query:g}))}),P=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/item_banks/export.xlsx",query:g}))}),T=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:g}))}),x=g=>t(void 0,null,function*(){const Z=yield(0,O.Uy)(f({},g));Z.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/exercise_score,export_exercise_users`)):Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=g=>t(void 0,null,function*(){const Z=yield(0,O.tg)(f({},g));Z.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),k.history.push(`/classrooms/${g.coursesId}/exportlist/exercise_score,export_exercise_report`)):Z.status===-3&&((0,k.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),k.history.push(`/classrooms/${g.coursesId}/exportlist/exercise_score,export_exercise_report`))}),i=g=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/export_records/${g.id}.xlsx`,query:g}))}),y=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:g}))}),M=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/courses/${g==null?void 0:g.coursesId}/${g.menuKey}_statistic.xlsx?${g.checkedList.map(Z=>`course_group_id[]=${Z}`).join("&")}`,query:g}))}),le=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/ec_years/${g==null?void 0:g.ec_year_id}/ec_training_objectives.xlsx`,query:g}))}),we=g=>t(void 0,null,function*(){yield(0,z.FH)(g==null?void 0:g.name,(0,z.NY)({url:j.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:g}))}),Oe=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/ec_years/${g==null?void 0:g.ec_year_id}/ec_courses.xlsx`,query:g}))}),je=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/ec_years/${g==null?void 0:g.ec_year_id}/ec_graduation_requirements.xlsx`,query:g}))}),Ye=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:g}))}),At=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:g}))}),xe=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/examination_banks/${g.id}.json`,query:g}))}),qe=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/exercises/${g.categoryId}.json`,query:g}))}),Ze=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/polls/${g==null?void 0:g.id}/commit_result.json`,query:g}))}),pe=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+"/api/paths/get_task_pass.json",query:g}))}),ue=(g,Z)=>t(void 0,null,function*(){yield(0,z.FH)(Z||"",(0,z.NY)({url:j.Z.API_SERVER+`/api/exercises/${g==null?void 0:g.exercise_id}/consult_exercise.json`,query:g}))}),te=g=>t(void 0,null,function*(){yield(0,z.FH)("",(0,z.NY)({url:j.Z.API_SERVER+`/api/competitions/${g==null?void 0:g.identifier}/competition_commit_records/member_works.xlsx`,query:g}))})},25769:function(Lt,Te,u){"use strict";var O=u(98040),k={"text/plain":"Text","text/html":"Url",default:"Text"},z="Copy to clipboard: #{key}, Enter";function Y(_){var U=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return _.replace(/#{\s*key\s*}/g,U)}function j(_,U){var H,e,s,f,t,r,a=!1;U||(U={}),H=U.debug||!1;try{s=O(),f=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=_,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(),U.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 E=k[U.format]||k.default;window.clipboardData.setData(E,_)}else m.clipboardData.clearData(),m.clipboardData.setData(U.format,_);U.onCopy&&(m.preventDefault(),U.onCopy(m.clipboardData))}),document.body.appendChild(r),f.selectNodeContents(r),t.addRange(f);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");a=!0}catch(m){H&&console.error("unable to copy using execCommand: ",m),H&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(U.format||"text",_),U.onCopy&&U.onCopy(window.clipboardData),a=!0}catch(E){H&&console.error("unable to copy using clipboardData: ",E),H&&console.error("falling back to prompt"),e=Y("message"in U?U.message:z),window.prompt(e,_)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(f):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}Lt.exports=j},53184:function(Lt,Te,u){"use strict";var O,k;function z(Y,j,_){var U=function(H,e){return Y.js_beautify(H,e)};return U.js=Y.js_beautify,U.css=j.css_beautify,U.html=_.html_beautify,U.js_beautify=Y.js_beautify,U.css_beautify=j.css_beautify,U.html_beautify=_.html_beautify,U}O=[u(58553),u(87804),u(40998)],k=function(Y,j,_){return z(Y,j,_)}.apply(Te,O),k!==void 0&&(Lt.exports=k)},87804:function(Lt,Te){var u,O;(function(){var k;(function(){"use strict";var Y=[,,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 a=this.__base_string_length;return r=r||0,t<0&&(a=0),a+=t*this.__indent_size,a+=r,a},s.prototype.get_indent_string=function(t,r){var a=this.__base_string;return r=r||0,t<0&&(t=0,a=""),r+=t*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},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,a="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),t&&(a+=new Array(t+1).join(" ")),this.__cache.push(a)};function f(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()}f.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},f.prototype.get_line_number=function(){return this.__lines.length},f.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},f.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},f.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},f.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},f.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 a=this.__lines.join(`
`);return t!==`
`&&(a=a.replace(/[\n]/g,t)),a},f.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},f.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)},f.prototype.add_raw_token=function(t){for(var r=0;r<t.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},f.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},f.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},f.prototype.remove_indent=function(t){for(var r=this.__lines.length;t<r;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},f.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&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},f.prototype.just_added_newline=function(){return this.current_line.is_empty()},f.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},f.prototype.ensure_empty_line_above=function(t,r){for(var a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},H.exports.Output=f},,,,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 a=this.raw_options[t],o=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var a=this.raw_options[t],o=a===void 0?!!r:!!a;return o},e.prototype._get_characters=function(t,r){var a=this.raw_options[t],o=r||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var a=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(a,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,a){var o=this._get_selection_list(t,r,a);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,a){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[r[0]],!this._is_valid_selection(a,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,a);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(a){return r.indexOf(a)===-1})};function s(t,r){var a={};t=f(t);var o;for(o in t)o!==r&&(a[o]=t[o]);if(r&&t[r])for(o in t[r])a[o]=t[r][o];return a}function f(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}H.exports.Options=e,H.exports.normalizeOpts=f,H.exports.mergeOpts=s},,function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(f){this.__input=f||"",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<this.__input_length},s.prototype.next=function(){var f=null;return this.hasNext()&&(f=this.__input.charAt(this.__position),this.__position+=1),f},s.prototype.peek=function(f){var t=null;return f=f||0,f+=this.__position,f>=0&&f<this.__input_length&&(t=this.__input.charAt(f)),t},s.prototype.__match=function(f,t){f.lastIndex=t;var r=f.exec(this.__input);return r&&!(e&&f.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(f,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(f,t):!1},s.prototype.testChar=function(f,t){var r=this.peek(t);return f.lastIndex=0,r!==null&&f.test(r)},s.prototype.match=function(f){var t=this.__match(f,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(f,t,r){var a="",o;return f&&(o=this.match(f),o&&(a+=o[0])),t&&(o||!f)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(f,t){var r="",a=this.__position;f.lastIndex=this.__position;var o=f.exec(this.__input);return o?(a=o.index,t&&(a+=o[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},s.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)},s.prototype.get_regexp=function(f,t){var r=null,a="g";return t&&e&&(a="y"),typeof f=="string"&&f!==""?r=new RegExp(f,a):f&&(r=new RegExp(f.source,a)),r},s.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(f){var t=this.__position,r=this.readUntilAfter(f);return this.__position=t,r},s.prototype.lookBack=function(f){var t=this.__position-1;return t>=f.length&&this.__input.substring(t-f.length,t).toLowerCase()===f},H.exports.InputScanner=s},,,,,function(H){function e(s,f){s=typeof s=="string"?s:s.source,f=typeof f=="string"?f:f.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+f,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+f,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var f={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)f[t[1]]=t[2],t=this.__directive_pattern.exec(s);return f},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},,function(H,e,s){var f=s(16).Beautifier,t=s(17).Options;function r(a,o){var m=new f(a,o);return m.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var f=s(17).Options,t=s(2).Output,r=s(8).InputScanner,a=s(13).Directives,o=new a(/\/\*/,/\*\//),m=/\r\n|[\r\n]/,E=/\r\n|[\r\n]/g,S=/\s/,h=/(?:\s|\n)+/g,v=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,c=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(N,D){this._source_text=N||"",this._options=new f(D),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"]}l.prototype.eatString=function(N){var D="";for(this._ch=this._input.next();this._ch;){if(D+=this._ch,this._ch==="\\")D+=this._input.next();else if(N.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return D},l.prototype.eatWhitespace=function(N){for(var D=S.test(this._input.peek()),I=0;S.test(this._input.peek());)this._ch=this._input.next(),N&&this._ch===`
`&&(I===0||I<this._options.max_preserve_newlines)&&(I++,this._output.add_new_line(!0));return D},l.prototype.foundNestedPseudoClass=function(){for(var N=0,D=1,I=this._input.peek(D);I;){if(I==="{")return!0;if(I==="(")N+=1;else if(I===")"){if(N===0)return!1;N-=1}else if(I===";"||I==="}")return!1;D++,I=this._input.peek(D)}return!1},l.prototype.print_string=function(N){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(N)},l.prototype.preserveSingleSpace=function(N){N&&(this._output.space_before_token=!0)},l.prototype.indent=function(){this._indentLevel++},l.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},l.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var N=this._source_text,D=this._options.eol;D==="auto"&&(D=`
`,N&&m.test(N||"")&&(D=N.match(m)[0])),N=N.replace(E,`
`);var I=N.match(/^[\t ]*/)[0];this._output=new t(this._options,I),this._input=new r(N),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var K=0,G=!1,F=!1,ge=!1,b=!1,d=!1,w=this._ch,P=!1,T,x,n;T=this._input.read(h),x=T!=="",n=w,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var i=this._input.read(v),y=o.get_directives(i);y&&y.ignore==="start"&&(i+=o.readIgnored(this._input)),this.print_string(i),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(c)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(x),this.print_string(this._ch);var M=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);M.match(/[ :]$/)&&(M=this.eatString(": ").replace(/\s+$/,""),this.print_string(M),this._output.space_before_token=!0),K===0&&M.indexOf(":")!==-1&&(F=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(x),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var le=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);le.match(/[ :]$/)&&(le=this.eatString(": ").replace(/\s+$/,""),this.print_string(le),this._output.space_before_token=!0),K===0&&le.indexOf(":")!==-1?(F=!0,this.indent()):le in this.NESTED_AT_RULE?(this._nestedLevel+=1,le in this.CONDITIONAL_GROUP_RULE&&(ge=!0)):K===0&&!F&&(b=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(x),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")F&&(F=!1,this.outdent()),b=!1,ge?(ge=!1,G=this._indentLevel>=this._nestedLevel):G=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&G&&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),F&&(this.outdent(),F=!1),this.print_string(this._ch),G=!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 we=0;we<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;we++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[we])){P=!0;break}(G||ge)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!b&&K===0?(this.print_string(":"),F||(F=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Oe=n==='"'||n==="'";this.preserveSingleSpace(Oe||x),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")P=!1,K===0?(F&&(this.outdent(),F=!1),b=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),K++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),K&&(K--,this.outdent()));else{var je=!1;this._input.lookBack("with")&&(je=!0),this.preserveSingleSpace(x||je),this.print_string(this._ch),F&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),d=!0):(this.eatWhitespace(),K++,this.indent())}else if(this._ch===")")K&&(K--,this.outdent()),d&&this._input.peek()===";"&&this._options.selector_separator_newline&&(d=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!F||d)&&K===0&&!b?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!F&&K===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&&S.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(x),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),S.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 Ye=n==='"'||n==="'";this.preserveSingleSpace(Ye||x),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&P&&this._output.add_new_line()}var At=this._output.get_code(D);return At},H.exports.Beautifier=l},function(H,e,s){var f=s(6).Options;function t(r){f.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 a=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||a;var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m<o.length;m++)o[m]!=="expand"?this.brace_style="collapse":this.brace_style=o[m]}t.prototype=new f,H.exports.Options=t}],j={};function _(H){var e=j[H];if(e!==void 0)return e.exports;var s=j[H]={exports:{}};return Y[H](s,s.exports,_),s.exports}var U=_(15);k=U})();var z=k;u=[],O=function(){return{css_beautify:z}}.apply(Te,u),O!==void 0&&(Lt.exports=O)})()},40998:function(Lt,Te,u){var O,k;(function(){var z;(function(){"use strict";var U=[,,function(f){function t(o){this.__parent=o,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=[]}t.prototype.clone_empty=function(){var o=new t(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},t.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},t.prototype.has_match=function(o){for(var m=this.__items.length-1;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 E=this.__base_string_length;return m=m||0,o<0&&(E=0),E+=o*this.__indent_size,E+=m,E},r.prototype.get_indent_string=function(o,m){var E=this.__base_string;return m=m||0,o<0&&(o=0,E=""),m+=o*this.__indent_size,this.__ensure_cache(m),E+=this.__cache[m],E},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,E="";this.__indent_size&&o>=this.__indent_size&&(m=Math.floor(o/this.__indent_size),o-=m*this.__indent_size,E=new Array(m+1).join(this.__indent_string)),o&&(E+=new Array(o+1).join(" ")),this.__cache.push(E)};function a(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()}a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(o,m){return this.__indent_cache.get_indent_string(o,m)},a.prototype.get_indent_size=function(o,m){return this.__indent_cache.get_indent_size(o,m)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},a.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 E=this.__lines.join(`
`);return o!==`
`&&(E=E.replace(/[\n]/g,o)),E},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.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)},a.prototype.add_raw_token=function(o){for(var m=0;m<o.newlines;m++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(o){for(var m=this.__lines.length;o<m;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&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},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(o,m){for(var E=this.__lines.length-2;E>=0;){var S=this.__lines[E];if(S.is_empty())break;if(S.item(0).indexOf(o)!==0&&S.item(-1)!==m){this.__lines.splice(E+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}E--}},f.exports.Output=a},function(f){function t(r,a,o,m){this.type=r,this.text=a,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}f.exports.Token=t},,,function(f){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 E=this.raw_options[o],S=m||[];return typeof E=="object"?E!==null&&typeof E.concat=="function"&&(S=E.concat()):typeof E=="string"&&(S=E.split(/[^a-zA-Z0-9_\/\-]+/)),S},t.prototype._get_boolean=function(o,m){var E=this.raw_options[o],S=E===void 0?!!m:!!E;return S},t.prototype._get_characters=function(o,m){var E=this.raw_options[o],S=m||"";return typeof E=="string"&&(S=E.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},t.prototype._get_number=function(o,m){var E=this.raw_options[o];m=parseInt(m,10),isNaN(m)&&(m=0);var S=parseInt(E,10);return isNaN(S)&&(S=m),S},t.prototype._get_selection=function(o,m,E){var S=this._get_selection_list(o,m,E);if(S.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 S[0]},t.prototype._get_selection_list=function(o,m,E){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(E=E||[m[0]],!this._is_valid_selection(E,m))throw new Error("Invalid Default Value!");var S=this._get_array(o,E);if(!this._is_valid_selection(S,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 S},t.prototype._is_valid_selection=function(o,m){return o.length&&m.length&&!o.some(function(E){return m.indexOf(E)===-1})};function r(o,m){var E={};o=a(o);var S;for(S in o)S!==m&&(E[S]=o[S]);if(m&&o[m])for(S in o[m])E[S]=o[m][S];return E}function a(o){var m={},E;for(E in o){var S=E.replace(/-/g,"_");m[S]=o[E]}return m}f.exports.Options=t,f.exports.normalizeOpts=a,f.exports.mergeOpts=r},,function(f){var t=RegExp.prototype.hasOwnProperty("sticky");function r(a){this.__input=a||"",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<this.__input_length},r.prototype.next=function(){var a=null;return this.hasNext()&&(a=this.__input.charAt(this.__position),this.__position+=1),a},r.prototype.peek=function(a){var o=null;return a=a||0,a+=this.__position,a>=0&&a<this.__input_length&&(o=this.__input.charAt(a)),o},r.prototype.__match=function(a,o){a.lastIndex=o;var m=a.exec(this.__input);return m&&!(t&&a.sticky)&&m.index!==o&&(m=null),m},r.prototype.test=function(a,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(a,o):!1},r.prototype.testChar=function(a,o){var m=this.peek(o);return a.lastIndex=0,m!==null&&a.test(m)},r.prototype.match=function(a){var o=this.__match(a,this.__position);return o?this.__position+=o[0].length:o=null,o},r.prototype.read=function(a,o,m){var E="",S;return a&&(S=this.match(a),S&&(E+=S[0])),o&&(S||!a)&&(E+=this.readUntil(o,m)),E},r.prototype.readUntil=function(a,o){var m="",E=this.__position;a.lastIndex=this.__position;var S=a.exec(this.__input);return S?(E=S.index,o&&(E+=S[0].length)):E=this.__input_length,m=this.__input.substring(this.__position,E),this.__position=E,m},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var m=null,E="g";return o&&t&&(E="y"),typeof a=="string"&&a!==""?m=new RegExp(a,E):a&&(m=new RegExp(a.source,E)),m},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,m=this.readUntilAfter(a);return this.__position=o,m},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},f.exports.InputScanner=r},function(f,t,r){var a=r(8).InputScanner,o=r(3).Token,m=r(10).TokenStream,E=r(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},h=function(v,c){this._input=new a(v),this._options=c||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new E(this._input)};h.prototype.tokenize=function(){this._input.restart(),this.__tokens=new m,this._reset();for(var v,c=new o(S.START,""),l=null,N=[],D=new m;c.type!==S.EOF;){for(v=this._get_next_token(c,l);this._is_comment(v);)D.add(v),v=this._get_next_token(c,l);D.isEmpty()||(v.comments_before=D,D=new m),v.parent=l,this._is_opening(v)?(N.push(l),l=v):l&&this._is_closing(v,l)&&(v.opened=l,l.closed=v,l=N.pop(),v.parent=l),v.previous=c,c.next=v,this.__tokens.add(v),c=v}return this.__tokens},h.prototype._is_first_token=function(){return this.__tokens.isEmpty()},h.prototype._reset=function(){},h.prototype._get_next_token=function(v,c){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(S.RAW,l):this._create_token(S.EOF,"")},h.prototype._is_comment=function(v){return!1},h.prototype._is_opening=function(v){return!1},h.prototype._is_closing=function(v,c){return!1},h.prototype._create_token=function(v,c){var l=new o(v,c,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},h.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},f.exports.Tokenizer=h,f.exports.TOKEN=S},function(f){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<this.__tokens_length},t.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__tokens[this.__position],this.__position+=1),r},t.prototype.peek=function(r){var a=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(a=this.__tokens[r]),a},t.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},f.exports.TokenStream=t},function(f,t,r){var a=r(12).Pattern;function o(m,E){a.call(this,m,E),E?this._line_regexp=this._input.get_regexp(E._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new a,o.prototype.__set_whitespace_patterns=function(m,E){m+="\\t ",E+="\\n\\r",this._match_pattern=this._input.get_regexp("["+m+E+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+E+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var m=this._input.read(this._match_pattern);if(m===" ")this.whitespace_before_token=" ";else if(m){var E=this.__split(this._newline_regexp,m);this.newline_count=E.length-1,this.whitespace_before_token=E[this.newline_count]}return m},o.prototype.matching=function(m,E){var S=this._create();return S.__set_whitespace_patterns(m,E),S._update(),S},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(m,E){m.lastIndex=0;for(var S=0,h=[],v=m.exec(E);v;)h.push(E.substring(S,v.index)),S=v.index+v[0].length,v=m.exec(E);return S<E.length?h.push(E.substring(S,E.length)):h.push(""),h},f.exports.WhitespacePattern=o},function(f){function t(r,a){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,a&&(this._starting_pattern=this._input.get_regexp(a._starting_pattern,!0),this._match_pattern=this._input.get_regexp(a._match_pattern,!0),this._until_pattern=this._input.get_regexp(a._until_pattern),this._until_after=a._until_after)}t.prototype.read=function(){var r=this._input.read(this._starting_pattern);return(!this._starting_pattern||r)&&(r+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),r},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(r){var a=this._create();return a._until_after=!0,a._until_pattern=this._input.get_regexp(r),a._update(),a},t.prototype.until=function(r){var a=this._create();return a._until_after=!1,a._until_pattern=this._input.get_regexp(r),a._update(),a},t.prototype.starting_with=function(r){var a=this._create();return a._starting_pattern=this._input.get_regexp(r,!0),a._update(),a},t.prototype.matching=function(r){var a=this._create();return a._match_pattern=this._input.get_regexp(r,!0),a._update(),a},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},f.exports.Pattern=t},function(f){function t(r,a){r=typeof r=="string"?r:r.source,a=typeof a=="string"?a:a.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+a,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+a,"g")}t.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var a={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(r);o;)a[o[1]]=o[2],o=this.__directive_pattern.exec(r);return a},t.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=t},function(f,t,r){var a=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function m(E,S){a.call(this,E,S),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var h=new a(E);this.__patterns={handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:h.starting_with(/{{{/).until_after(/}}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),php:h.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:h.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:h.starting_with(/{%/).until_after(/%}/),django_value:h.starting_with(/{{/).until_after(/}}/),django_comment:h.starting_with(/{#/).until_after(/#}/),smarty:h.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:h.starting_with(/{\*/).until_after(/\*}/),smarty_literal:h.starting_with(/{literal}/).until_after(/{\/literal}/)}}m.prototype=new a,m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){this.__set_templated_pattern()},m.prototype.disable=function(E){var S=this._create();return S._disabled[E]=!0,S._update(),S},m.prototype.read_options=function(E){var S=this._create();for(var h in o)S._disabled[h]=E.templating.indexOf(h)===-1;return S._update(),S},m.prototype.exclude=function(E){var S=this._create();return S._excluded[E]=!0,S._update(),S},m.prototype.read=function(){var E="";this._match_pattern?E=this._input.read(this._starting_pattern):E=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),E+=S,S=this._read_template();return this._until_after&&(E+=this._input.readUntilAfter(this._until_pattern)),E},m.prototype.__set_templated_pattern=function(){var E=[];this._disabled.php||E.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||E.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||E.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||E.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(E.push(this.__patterns.django._starting_pattern.source),E.push(this.__patterns.django_value._starting_pattern.source),E.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||E.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&E.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+E.join("|")+")")},m.prototype._read_template=function(){var E="",S=this._input.peek();if(S==="<"){var h=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&h==="?"&&(E=E||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&h==="%"&&(E=E||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(E=E||this.__patterns.handlebars_comment.read(),E=E||this.__patterns.handlebars_unescaped.read(),E=E||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(E=E||this.__patterns.django_value.read()),this._excluded.django||(E=E||this.__patterns.django_comment.read(),E=E||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(E=E||this.__patterns.smarty_comment.read(),E=E||this.__patterns.smarty_literal.read(),E=E||this.__patterns.smarty.read()));return E},f.exports.TemplatablePattern=m},,,,function(f,t,r){var a=r(19).Beautifier,o=r(20).Options;function m(E,S,h,v){var c=new a(E,S,h,v);return c.beautify()}f.exports=m,f.exports.defaultOptions=function(){return new o}},function(f,t,r){var a=r(20).Options,o=r(2).Output,m=r(21).Tokenizer,E=r(21).TOKEN,S=/\r\n|[\r\n]/,h=/\r\n|[\r\n]/g,v=function(b,d){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new o(b,d)};v.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},v.prototype.set_space_before_token=function(b,d){this._output.space_before_token=b,this._output.non_breaking_space=d},v.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},v.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},v.prototype.print_preserved_newlines=function(b){var d=0;b.type!==E.TEXT&&b.previous.type!==E.TEXT&&(d=b.newlines?1:0),this.preserve_newlines&&(d=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var w=0;w<d;w++)this.print_newline(w>0);return d!==0},v.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},v.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},v.prototype.print_newline=function(b){this._output.add_new_line(b)},v.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},v.prototype.indent=function(){this.indent_level++},v.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},v.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var c=function(b){for(var d=null,w=b.next;w.type!==E.EOF&&b.closed!==w;){if(w.type===E.ATTRIBUTE&&w.text==="type"){w.next&&w.next.type===E.EQUALS&&w.next.next&&w.next.next.type===E.VALUE&&(d=w.next.next.text);break}w=w.next}return d},l=function(b,d){var w=null,P=null;return d.closed?(b==="script"?w="text/javascript":b==="style"&&(w="text/css"),w=c(d)||w,w.search("text/css")>-1?P="css":w.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?P="javascript":w.search(/(text|application|dojo)\/(x-)?(html)/)>-1?P="html":w.search(/test\/null/)>-1&&(P="null"),P):null};function N(b,d){return d.indexOf(b)!==-1}function D(b,d,w){this.parent=b||null,this.tag=d?d.tag_name:"",this.indent_level=w||0,this.parser_token=d||null}function I(b){this._printer=b,this._current_frame=null}I.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},I.prototype.record_tag=function(b){var d=new D(this._current_frame,b,this._printer.indent_level);this._current_frame=d},I.prototype._try_pop_frame=function(b){var d=null;return b&&(d=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),d},I.prototype._get_frame=function(b,d){for(var w=this._current_frame;w&&b.indexOf(w.tag)===-1;){if(d&&d.indexOf(w.tag)!==-1){w=null;break}w=w.parent}return w},I.prototype.try_pop=function(b,d){var w=this._get_frame([b],d);return this._try_pop_frame(w)},I.prototype.indent_to_tag=function(b){var d=this._get_frame(b);d&&(this._printer.indent_level=d.indent_level)};function K(b,d,w,P){this._source_text=b||"",d=d||{},this._js_beautify=w,this._css_beautify=P,this._tag_stack=null;var T=new a(d,"html");this._options=T,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"}K.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,d=this._options.eol;this._options.eol==="auto"&&(d=`
`,b&&S.test(b)&&(d=b.match(S)[0])),b=b.replace(h,`
`);var w=b.match(/^[\t ]*/)[0],P={text:"",type:""},T=new G(this._options),x=new v(this._options,w),n=new m(b,this._options).tokenize();this._tag_stack=new I(x);for(var i=null,y=n.next();y.type!==E.EOF;)y.type===E.TAG_OPEN||y.type===E.COMMENT?(i=this._handle_tag_open(x,y,T,P,n),T=i):y.type===E.ATTRIBUTE||y.type===E.EQUALS||y.type===E.VALUE||y.type===E.TEXT&&!T.tag_complete?i=this._handle_inside_tag(x,y,T,P):y.type===E.TAG_CLOSE?i=this._handle_tag_close(x,y,T):y.type===E.TEXT?i=this._handle_text(x,y,T):y.type===E.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(x,y):y.type===E.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(x,y):x.add_raw_token(y),P=i,y=n.next();var M=x._output.get_code(d);return M},K.prototype._handle_control_flow_open=function(b,d){var w={text:d.text,type:d.type};return b.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),d.newlines?b.print_preserved_newlines(d):b.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.print_token(d),b.indent(),w},K.prototype._handle_control_flow_close=function(b,d){var w={text:d.text,type:d.type};return b.deindent(),d.newlines?b.print_preserved_newlines(d):b.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.print_token(d),w},K.prototype._handle_tag_close=function(b,d,w){var P={text:d.text,type:d.type};return b.alignment_size=0,w.tag_complete=!0,b.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),w.is_unformatted?b.add_raw_token(d):(w.tag_start_char==="<"&&(b.set_space_before_token(d.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&w.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(d)),w.indent_content&&!(w.is_unformatted||w.is_content_unformatted)&&(b.indent(),w.indent_content=!1),!w.is_inline_element&&!(w.is_unformatted||w.is_content_unformatted)&&b.set_wrap_point(),P},K.prototype._handle_inside_tag=function(b,d,w,P){var T=w.has_wrapped_attrs,x={text:d.text,type:d.type};return b.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),w.is_unformatted?b.add_raw_token(d):w.tag_start_char==="{"&&d.type===E.TEXT?b.print_preserved_newlines(d)?(d.newlines=0,b.add_raw_token(d)):b.print_token(d):(d.type===E.ATTRIBUTE?b.set_space_before_token(!0):(d.type===E.EQUALS||d.type===E.VALUE&&d.previous.type===E.EQUALS)&&b.set_space_before_token(!1),d.type===E.ATTRIBUTE&&w.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(d),T=T||d.newlines!==0),this._is_wrap_attributes_force&&w.attr_count>=this._options.wrap_attributes_min_attrs&&(P.type!==E.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),T=!0)),b.print_token(d),T=T||b.previous_token_wrapped(),w.has_wrapped_attrs=T),x},K.prototype._handle_text=function(b,d,w){var P={text:d.text,type:"TK_CONTENT"};return w.custom_beautifier_name?this._print_custom_beatifier_text(b,d,w):w.is_unformatted||w.is_content_unformatted?b.add_raw_token(d):(b.traverse_whitespace(d),b.print_token(d)),P},K.prototype._print_custom_beatifier_text=function(b,d,w){var P=this;if(d.text!==""){var T=d.text,x,n=1,i="",y="";w.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?x=this._js_beautify:w.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?x=this._css_beautify:w.custom_beautifier_name==="html"&&(x=function(Ye,At){var xe=new K(Ye,At,P._js_beautify,P._css_beautify);return xe.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-b.indent_level);var M=b.get_full_indent(n);if(T=T.replace(/\n[ \t]*$/,""),w.custom_beautifier_name!=="html"&&T[0]==="<"&&T.match(/^(<!--|<!\[CDATA\[)/)){var le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(T);if(!le){b.add_raw_token(d);return}i=M+le[1]+`
`,T=le[4],le[5]&&(y=M+le[5]),T=T.replace(/\n[ \t]*$/,""),(le[2]||le[3].indexOf(`
`)!==-1)&&(le=le[3].match(/[ \t]+$/),le&&(d.whitespace_before=le[0]))}if(T)if(x){var we=function(){this.eol=`
`};we.prototype=this._options.raw_options;var Oe=new we;T=x(M+T,Oe)}else{var je=d.whitespace_before;je&&(T=T.replace(new RegExp(`
(`+je+")?","g"),`
`)),T=M+T.replace(/\n/g,`
`+M)}i&&(T?T=i+T+`
`+y:T=i+y),b.print_newline(!1),T&&(d.text=T,d.whitespace_before="",d.newlines=0,b.add_raw_token(d),b.print_newline(!0))}},K.prototype._handle_tag_open=function(b,d,w,P,T){var x=this._get_tag_open_token(d);if((w.is_unformatted||w.is_content_unformatted)&&!w.is_empty_element&&d.type===E.TAG_OPEN&&!x.is_start_tag?(b.add_raw_token(d),x.start_tag_token=this._tag_stack.try_pop(x.tag_name)):(b.traverse_whitespace(d),this._set_tag_position(b,d,x,w,P),x.is_inline_element||b.set_wrap_point(),b.print_token(d)),x.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=T.peek(n),i.type===E.ATTRIBUTE&&(x.attr_count+=1),n+=1;while(i.type!==E.EOF&&i.type!==E.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(x.alignment_size=d.text.length+1),!x.tag_complete&&!x.is_unformatted&&(b.alignment_size=x.alignment_size),x};var G=function(b,d,w){if(this.parent=d||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="",!w)this.tag_complete=!0;else{var P;this.tag_start_char=w.text[0],this.text=w.text,this.tag_start_char==="<"?(P=w.text.match(/^<([^\s>]*)/),this.tag_check=P?P[1]:""):(P=w.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=P?P[1]:"",(w.text.startsWith("{{#>")||w.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&w.next!==null?this.tag_check=w.next.text.split(" ")[0]:this.tag_check=w.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),w.type===E.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||w.closed&&w.closed.text==="/>";var T=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(T=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!b.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(T)))}};K.prototype._get_tag_open_token=function(b){var d=new G(this._options,this._tag_stack.get_parser_token(),b);return d.alignment_size=this._options.wrap_attributes_indent_size,d.is_end_tag=d.is_end_tag||N(d.tag_check,this._options.void_elements),d.is_empty_element=d.tag_complete||d.is_start_tag&&d.is_end_tag,d.is_unformatted=!d.tag_complete&&N(d.tag_check,this._options.unformatted),d.is_content_unformatted=!d.is_empty_element&&N(d.tag_check,this._options.content_unformatted),d.is_inline_element=N(d.tag_name,this._options.inline)||this._options.inline_custom_elements&&d.tag_name.includes("-")||d.tag_start_char==="{",d},K.prototype._set_tag_position=function(b,d,w,P,T){if(w.is_empty_element||(w.is_end_tag?w.start_tag_token=this._tag_stack.try_pop(w.tag_name):(this._do_optional_end_element(w)&&(w.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(w),(w.tag_name==="script"||w.tag_name==="style")&&!(w.is_unformatted||w.is_content_unformatted)&&(w.custom_beautifier_name=l(w.tag_check,d)))),N(w.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),w.is_empty_element){if(w.tag_start_char==="{"&&w.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),w.indent_content=!0;var x=b.current_line_has_match(/{{#if/);x||b.print_newline(!1)}w.tag_name==="!--"&&T.type===E.TAG_CLOSE&&P.is_end_tag&&w.text.indexOf(`
`)===-1||(w.is_inline_element||w.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,w))}else if(w.is_end_tag){var n=!1;n=w.start_tag_token&&w.start_tag_token.multiline_content,n=n||!w.is_inline_element&&!(P.is_inline_element||P.is_unformatted)&&!(T.type===E.TAG_CLOSE&&w.start_tag_token===P)&&T.type!=="TK_CONTENT",(w.is_content_unformatted||w.is_unformatted)&&(n=!1),n&&b.print_newline(!1)}else w.indent_content=!w.custom_beautifier_name,w.tag_start_char==="<"&&(w.tag_name==="html"?w.indent_content=this._options.indent_inner_html:w.tag_name==="head"?w.indent_content=this._options.indent_head_inner_html:w.tag_name==="body"&&(w.indent_content=this._options.indent_body_inner_html)),!(w.is_inline_element||w.is_unformatted)&&(T.type!=="TK_CONTENT"||w.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,w)},K.prototype._calcluate_parent_multiline=function(b,d){d.parent&&b._output.just_added_newline()&&!((d.is_inline_element||d.is_unformatted)&&d.parent.is_inline_element)&&(d.parent.multiline_content=!0)};var F=["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"],ge=["a","audio","del","ins","map","noscript","video"];K.prototype._do_optional_end_element=function(b){var d=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")d=d||this._tag_stack.try_pop("head");else if(b.tag_name==="li")d=d||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")d=d||this._tag_stack.try_pop("dt",["dl"]),d=d||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&F.indexOf(b.tag_name)!==-1){var w=b.parent.parent;(!w||ge.indexOf(w.tag_name)===-1)&&(d=d||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(d=d||this._tag_stack.try_pop("rt",["ruby","rtc"]),d=d||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?d=d||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?d=d||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?d=d||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"]),d=d||this._tag_stack.try_pop("thead",["table"]),d=d||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"]),d=d||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(d=d||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),d=d||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),d}},f.exports.Beautifier=K},function(f,t,r){var a=r(6).Options;function o(m){a.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 a,f.exports.Options=o},function(f,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,m=r(13).Directives,E=r(14).TemplatablePattern,S=r(12).Pattern,h={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},v=new m(/<\!--/,/-->/),c=function(l,N){a.call(this,l,N),this._current_tag_name="";var D=new E(this._input).read_options(this._options),I=new S(this._input);if(this.__patterns={word:D.until(/[\n\r\t <]/),word_control_flow_close_excluded:D.until(/[\n\r\t <}]/),single_quote:D.until_after(/'/),double_quote:D.until_after(/"/),attribute:D.until(/[\n\r\t =>]|\/>/),element_name:D.until(/[\n\r\t >\/]/),angular_control_flow_start:I.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:I.starting_with(/{{!--/).until_after(/--}}/),handlebars:I.starting_with(/{{/).until_after(/}}/),handlebars_open:I.until(/[\n\r\t }]/),handlebars_raw_close:I.until(/}}/),comment:I.starting_with(/<!--/).until_after(/-->/),cdata:I.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:I.starting_with(/<!\[/).until_after(/]>/),processing:I.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 K=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=I.matching(K).until_after(K)}};c.prototype=new a,c.prototype._is_comment=function(l){return!1},c.prototype._is_opening=function(l){return l.type===h.TAG_OPEN||l.type===h.CONTROL_FLOW_OPEN},c.prototype._is_closing=function(l,N){return l.type===h.TAG_CLOSE&&N&&((l.text===">"||l.text==="/>")&&N.text[0]==="<"||l.text==="}}"&&N.text[0]==="{"&&N.text[1]==="{")||l.type===h.CONTROL_FLOW_CLOSE&&l.text==="}"&&N.text.endsWith("{")},c.prototype._reset=function(){this._current_tag_name=""},c.prototype._get_next_token=function(l,N){var D=null;this._readWhitespace();var I=this._input.peek();return I===null?this._create_token(h.EOF,""):(D=D||this._read_open_handlebars(I,N),D=D||this._read_attribute(I,l,N),D=D||this._read_close(I,N),D=D||this._read_script_and_style(I,l),D=D||this._read_control_flows(I,N),D=D||this._read_raw_content(I,l,N),D=D||this._read_content_word(I,N),D=D||this._read_comment_or_cdata(I),D=D||this._read_processing(I),D=D||this._read_open(I,N),D=D||this._create_token(h.UNKNOWN,this._input.next()),D)},c.prototype._read_comment_or_cdata=function(l){var N=null,D=null,I=null;if(l==="<"){var K=this._input.peek(1);K==="!"&&(D=this.__patterns.comment.read(),D?(I=v.get_directives(D),I&&I.ignore==="start"&&(D+=v.readIgnored(this._input))):D=this.__patterns.cdata.read()),D&&(N=this._create_token(h.COMMENT,D),N.directives=I)}return N},c.prototype._read_processing=function(l){var N=null,D=null,I=null;if(l==="<"){var K=this._input.peek(1);(K==="!"||K==="?")&&(D=this.__patterns.conditional_comment.read(),D=D||this.__patterns.processing.read()),D&&(N=this._create_token(h.COMMENT,D),N.directives=I)}return N},c.prototype._read_open=function(l,N){var D=null,I=null;return(!N||N.type===h.CONTROL_FLOW_OPEN)&&l==="<"&&(D=this._input.next(),this._input.peek()==="/"&&(D+=this._input.next()),D+=this.__patterns.element_name.read(),I=this._create_token(h.TAG_OPEN,D)),I},c.prototype._read_open_handlebars=function(l,N){var D=null,I=null;return(!N||N.type===h.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&l==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(D=this.__patterns.handlebars_comment.read(),D=D||this.__patterns.handlebars.read(),I=this._create_token(h.COMMENT,D)):(D=this.__patterns.handlebars_open.read(),I=this._create_token(h.TAG_OPEN,D))),I},c.prototype._read_control_flows=function(l,N){var D="",I=null;if(!this._options.templating.includes("angular"))return I;if(l==="@"){if(D=this.__patterns.angular_control_flow_start.read(),D==="")return I;for(var K=D.endsWith("(")?1:0,G=0;!(D.endsWith("{")&&K===G);){var F=this._input.next();if(F===null)break;F==="("?K++:F===")"&&G++,D+=F}I=this._create_token(h.CONTROL_FLOW_OPEN,D)}else l==="}"&&N&&N.type===h.CONTROL_FLOW_OPEN&&(D=this._input.next(),I=this._create_token(h.CONTROL_FLOW_CLOSE,D));return I},c.prototype._read_close=function(l,N){var D=null,I=null;return N&&N.type===h.TAG_OPEN&&(N.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(D=this._input.next(),l==="/"&&(D+=this._input.next()),I=this._create_token(h.TAG_CLOSE,D)):N.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),I=this._create_token(h.TAG_CLOSE,"}}"))),I},c.prototype._read_attribute=function(l,N,D){var I=null,K="";if(D&&D.text[0]==="<")if(l==="=")I=this._create_token(h.EQUALS,this._input.next());else if(l==='"'||l==="'"){var G=this._input.next();l==='"'?G+=this.__patterns.double_quote.read():G+=this.__patterns.single_quote.read(),I=this._create_token(h.VALUE,G)}else K=this.__patterns.attribute.read(),K&&(N.type===h.EQUALS?I=this._create_token(h.VALUE,K):I=this._create_token(h.ATTRIBUTE,K));return I},c.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},c.prototype._read_raw_content=function(l,N,D){var I="";if(D&&D.text[0]==="{")I=this.__patterns.handlebars_raw_close.read();else if(N.type===h.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var K=N.opened.text.substr(1).toLowerCase();this._is_content_unformatted(K)&&(I=this._input.readUntil(new RegExp("</"+K+"[\\n\\r\\t ]*?>","ig")))}return I?this._create_token(h.TEXT,I):null},c.prototype._read_script_and_style=function(l,N){if(N.type===h.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var D=N.opened.text.substr(1).toLowerCase();if(D==="script"||D==="style"){var I=this._read_comment_or_cdata(l);if(I)return I.type=h.TEXT,I;var K=this._input.readUntil(new RegExp("</"+D+"[\\n\\r\\t ]*?>","ig"));if(K)return this._create_token(h.TEXT,K)}}return null},c.prototype._read_content_word=function(l,N){var D="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(D=this.__patterns.unformatted_content_delimiter.read()),D||(D=N&&N.type===h.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),D?this._create_token(h.TEXT,D):null},f.exports.Tokenizer=c,f.exports.TOKEN=h}],H={};function e(f){var t=H[f];if(t!==void 0)return t.exports;var r=H[f]={exports:{}};return U[f](r,r.exports,e),r.exports}var s=e(18);z=s})();var Y=z;if(1)O=[u,u(58553),u(87804)],k=function(U){var H=u(58553),e=u(87804);return{html_beautify:function(s,f){return Y(s,f,H.js_beautify,e.css_beautify)}}}.apply(Te,O),k!==void 0&&(Lt.exports=k);else var j,_})()},58553:function(Lt,Te){var u,O;(function(){var k;(function(){"use strict";var Y=[function(H,e,s){var f=s(1).Beautifier,t=s(5).Options;function r(a,o){var m=new f(a,o);return m.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var f=s(2).Output,t=s(3).Token,r=s(4),a=s(5).Options,o=s(7).Tokenizer,m=s(7).line_starters,E=s(7).positionable_operators,S=s(7).TOKEN;function h(i,y){return y.indexOf(i)!==-1}function v(i){return i.replace(/^\s+/g,"")}function c(i){for(var y={},M=0;M<i.length;M++)y[i[M].replace(/-/g,"_")]=i[M];return y}function l(i,y){return i&&i.type===S.RESERVED&&i.text===y}function N(i,y){return i&&i.type===S.RESERVED&&h(i.text,y)}var D=["case","return","do","if","throw","else","await","break","continue","async"],I=["before-newline","after-newline","preserve-newline"],K=c(I),G=[K.before_newline,K.preserve_newline],F={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ge(i,y){y.multiline_frame||y.mode===F.ForInitializer||y.mode===F.Conditional||i.remove_indent(y.start_line_index)}function b(i){i=i.replace(r.allLineBreaks,`
`);for(var y=[],M=i.indexOf(`
`);M!==-1;)y.push(i.substring(0,M)),i=i.substring(M+1),M=i.indexOf(`
`);return i.length&&y.push(i),y}function d(i){return i===F.ArrayLiteral}function w(i){return h(i,[F.Expression,F.ForInitializer,F.Conditional])}function P(i,y){for(var M=0;M<i.length;M++){var le=i[M].trim();if(le.charAt(0)!==y)return!1}return!0}function T(i,y){for(var M=0,le=i.length,we;M<le;M++)if(we=i[M],we&&we.indexOf(y)!==0)return!1;return!0}function x(i,y){y=y||{},this._source_text=i||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new a(y)}x.prototype.create_flags=function(i,y){var M=0;i&&(M=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>M&&(M=i.line_indent_level));var le={mode:y,parent:i,last_token:i?i.last_token:new t(S.START_BLOCK,""),last_word:i?i.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:M,alignment:0,line_indent_level:i?i.line_indent_level:M,start_line_index:this._output.get_line_number(),ternary_depth:0};return le},x.prototype._reset=function(i){var y=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new f(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(F.BlockStatement);var M=new o(i,this._options);return this._tokens=M.tokenize(),i},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,y=this._reset(this._source_text),M=this._options.eol;this._options.eol==="auto"&&(M=`
`,y&&r.lineBreak.test(y||"")&&(M=y.match(r.lineBreak)[0]));for(var le=this._tokens.next();le;)this.handle_token(le),this._last_last_text=this._flags.last_token.text,this._flags.last_token=le,le=this._tokens.next();return i=this._output.get_code(M),i},x.prototype.handle_token=function(i,y){i.type===S.START_EXPR?this.handle_start_expr(i):i.type===S.END_EXPR?this.handle_end_expr(i):i.type===S.START_BLOCK?this.handle_start_block(i):i.type===S.END_BLOCK?this.handle_end_block(i):i.type===S.WORD?this.handle_word(i):i.type===S.RESERVED?this.handle_word(i):i.type===S.SEMICOLON?this.handle_semicolon(i):i.type===S.STRING?this.handle_string(i):i.type===S.EQUALS?this.handle_equals(i):i.type===S.OPERATOR?this.handle_operator(i):i.type===S.COMMA?this.handle_comma(i):i.type===S.BLOCK_COMMENT?this.handle_block_comment(i,y):i.type===S.COMMENT?this.handle_comment(i,y):i.type===S.DOT?this.handle_dot(i):i.type===S.EOF?this.handle_eof(i):i.type===S.UNKNOWN?this.handle_unknown(i,y):this.handle_unknown(i,y)},x.prototype.handle_whitespace_and_comments=function(i,y){var M=i.newlines,le=this._options.keep_array_indentation&&d(this._flags.mode);if(i.comments_before)for(var we=i.comments_before.next();we;)this.handle_whitespace_and_comments(we,y),this.handle_token(we,y),we=i.comments_before.next();if(le)for(var Oe=0;Oe<M;Oe+=1)this.print_newline(Oe>0,y);else if(this._options.max_preserve_newlines&&M>this._options.max_preserve_newlines&&(M=this._options.max_preserve_newlines),this._options.preserve_newlines&&M>1){this.print_newline(!1,y);for(var je=1;je<M;je+=1)this.print_newline(!0,y)}};var n=["async","break","continue","return","throw","yield"];x.prototype.allow_wrap_or_preserved_newline=function(i,y){if(y=y===void 0?!1:y,!this._output.just_added_newline()){var M=this._options.preserve_newlines&&i.newlines||y,le=h(this._flags.last_token.text,E)||h(i.text,E);if(le){var we=h(this._flags.last_token.text,E)&&h(this._options.operator_position,G)||h(i.text,E);M=M&&we}if(M)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(N(this._flags.last_token,n))return;this._output.set_wrap_point()}}},x.prototype.print_newline=function(i,y){if(!y&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var M=this._tokens.peek();this._flags.mode===F.Statement&&!(this._flags.if_block&&l(M,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(i)&&(this._flags.multiline_frame=!0)},x.prototype.print_token_line_indentation=function(i){this._output.just_added_newline()&&(this._options.keep_array_indentation&&i.newlines&&(i.text==="["||d(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(i.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},x.prototype.print_token=function(i){if(this._output.raw){this._output.add_raw_token(i);return}if(this._options.comma_first&&i.previous&&i.previous.type===S.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var y=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(y),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(i),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(i),this._output.non_breaking_space=!0,this._output.add_token(i.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},x.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.deindent=function(){this._flags.indentation_level>0&&(!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))},x.prototype.set_mode=function(i){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,i),this._flags=this.create_flags(this._previous_flags,i),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===F.Statement&&ge(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.start_of_object_property=function(){return this._flags.parent.mode===F.ObjectLiteral&&this._flags.mode===F.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||N(this._flags.last_token,["get","set"]))},x.prototype.start_of_statement=function(i){var y=!1;return y=y||N(this._flags.last_token,["var","let","const"])&&i.type===S.WORD,y=y||l(this._flags.last_token,"do"),y=y||!(this._flags.parent.mode===F.ObjectLiteral&&this._flags.mode===F.Statement)&&N(this._flags.last_token,n)&&!i.newlines,y=y||l(this._flags.last_token,"else")&&!(l(i,"if")&&!i.comments_before),y=y||this._flags.last_token.type===S.END_EXPR&&(this._previous_flags.mode===F.ForInitializer||this._previous_flags.mode===F.Conditional),y=y||this._flags.last_token.type===S.WORD&&this._flags.mode===F.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==S.WORD&&i.type!==S.RESERVED,y=y||this._flags.mode===F.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||N(this._flags.last_token,["get","set"])),y?(this.set_mode(F.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,N(i,["do","for","if","while"])),!0):!1},x.prototype.handle_start_expr=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i);var y=F.Expression;if(i.text==="["){if(this._flags.last_token.type===S.WORD||this._flags.last_token.text===")"){N(this._flags.last_token,m)&&(this._output.space_before_token=!0),this.print_token(i),this.set_mode(y),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}y=F.ArrayLiteral,d(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()),h(this._flags.last_token.type,[S.START_EXPR,S.END_EXPR,S.WORD,S.OPERATOR,S.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===S.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,y=F.ForInitializer):h(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=F.Conditional):h(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&i.whitespace_before===""?this._output.space_before_token=!1:(h(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===S.EQUALS||this._flags.last_token.type===S.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i);else if(this._flags.last_token.type===S.WORD){this._output.space_before_token=!1;var M=this._tokens.peek(-3);if(this._options.space_after_named_function&&M){var le=this._tokens.peek(-4);N(M,["async","function"])||M.text==="*"&&N(le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===F.ObjectLiteral?(M.text==="{"||M.text===","||M.text==="*"&&(le.text==="{"||le.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(i);(this._flags.last_token.type===S.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(h(this._last_last_text,["function","yield"])||this._flags.mode===F.ObjectLiteral&&h(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===S.START_BLOCK?this.print_newline():(this._flags.last_token.type===S.END_EXPR||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===S.COMMA)&&this.allow_wrap_or_preserved_newline(i,i.newlines),this.print_token(i),this.set_mode(y),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},x.prototype.handle_end_expr=function(i){for(;this._flags.mode===F.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(i,i.text==="]"&&d(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===S.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(i),this.restore_mode(),ge(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===F.Conditional&&(this._previous_flags.mode=F.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},x.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var y=this._tokens.peek(),M=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===S.END_EXPR?(this.set_mode(F.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(F.BlockStatement):M&&(h(M.text,[":",","])&&h(y.type,[S.STRING,S.WORD,S.RESERVED])||h(y.text,["get","set","..."])&&h(M.type,[S.WORD,S.RESERVED]))?h(this._last_last_text,["class","interface"])&&!h(M.text,[":",","])?this.set_mode(F.BlockStatement):this.set_mode(F.ObjectLiteral):this._flags.last_token.type===S.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(F.BlockStatement):h(this._flags.last_token.type,[S.EQUALS,S.START_EXPR,S.COMMA,S.OPERATOR])||N(this._flags.last_token,["return","throw","import","default"])?this.set_mode(F.ObjectLiteral):this.set_mode(F.BlockStatement),this._flags.last_token&&N(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var le=!y.comments_before&&y.text==="}",we=le&&this._flags.last_word==="function"&&this._flags.last_token.type===S.END_EXPR;if(this._options.brace_preserve_inline){var Oe=0,je=null;this._flags.inline_frame=!0;do if(Oe+=1,je=this._tokens.peek(Oe-1),je.newlines){this._flags.inline_frame=!1;break}while(je.type!==S.EOF&&!(je.type===S.END_BLOCK&&je.opened===i))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==S.OPERATOR&&(we||this._flags.last_token.type===S.EQUALS||N(this._flags.last_token,D)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(d(this._previous_flags.mode)&&(this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.COMMA)&&((this._flags.last_token.type===S.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(i),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==S.OPERATOR&&this._flags.last_token.type!==S.START_EXPR&&(h(this._flags.last_token.type,[S.START_BLOCK,S.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(i),this.indent(),!le&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},x.prototype.handle_end_block=function(i){for(this.handle_whitespace_and_comments(i);this._flags.mode===F.Statement;)this.restore_mode();var y=this._flags.last_token.type===S.START_BLOCK;this._flags.inline_frame&&!y?this._output.space_before_token=!0:this._options.brace_style==="expand"?y||this.print_newline():y||(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(i)},x.prototype.handle_word=function(i){if(i.type===S.RESERVED){if(h(i.text,["set","get"])&&this._flags.mode!==F.ObjectLiteral)i.type=S.WORD;else if(i.text==="import"&&h(this._tokens.peek().text,["(","."]))i.type=S.WORD;else if(h(i.text,["as","from"])&&!this._flags.import_block)i.type=S.WORD;else if(this._flags.mode===F.ObjectLiteral){var y=this._tokens.peek();y.text===":"&&(i.type=S.WORD)}}if(this.start_of_statement(i)?N(this._flags.last_token,["var","let","const"])&&i.type===S.WORD&&(this._flags.declaration_statement=!0):i.newlines&&!w(this._flags.mode)&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==S.EQUALS&&(this._options.preserve_newlines||!N(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(i),this.print_newline()):this.handle_whitespace_and_comments(i),this._flags.do_block&&!this._flags.do_while)if(l(i,"while")){this._output.space_before_token=!0,this.print_token(i),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&&l(i,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===F.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&N(i,["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(i),this._flags.in_case=!0;return}if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)&&!this.start_of_object_property()&&!(h(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===F.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(i),l(i,"function")){(h(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(h(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===S.OPERATOR))&&!this._output.just_added_blankline()&&!i.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD?N(this._flags.last_token,["get","set","new","export"])||N(this._flags.last_token,n)?this._output.space_before_token=!0:l(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===S.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(w(this._flags.mode)||d(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var M="NONE";if(this._flags.last_token.type===S.END_BLOCK?this._previous_flags.inline_frame?M="SPACE":N(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?M="NEWLINE":(M="SPACE",this._output.space_before_token=!0):M="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&this._flags.mode===F.BlockStatement?M="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&w(this._flags.mode)?M="SPACE":this._flags.last_token.type===S.STRING?M="NEWLINE":this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.last_token.text==="*"&&(h(this._last_last_text,["function","yield"])||this._flags.mode===F.ObjectLiteral&&h(this._last_last_text,["{",","]))?M="SPACE":this._flags.last_token.type===S.START_BLOCK?this._flags.inline_frame?M="SPACE":M="NEWLINE":this._flags.last_token.type===S.END_EXPR&&(this._output.space_before_token=!0,M="NEWLINE"),N(i,m)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?M="SPACE":M="NEWLINE"),N(i,["else","catch","finally"]))if((!(this._flags.last_token.type===S.END_BLOCK&&this._previous_flags.mode===F.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var le=this._output.current_line;le.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else M==="NEWLINE"?N(this._flags.last_token,D)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&N(i,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==S.END_EXPR?(this._flags.last_token.type!==S.START_EXPR||!N(i,["var","let","const"]))&&this._flags.last_token.text!==":"&&(l(i,"if")&&l(i.previous,"else")?this._output.space_before_token=!0:this.print_newline()):N(i,m)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&d(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():M==="SPACE"&&(this._output.space_before_token=!0);i.previous&&(i.previous.type===S.WORD||i.previous.type===S.RESERVED)&&(this._output.space_before_token=!0),this.print_token(i),this._flags.last_word=i.text,i.type===S.RESERVED&&(i.text==="do"?this._flags.do_block=!0:i.text==="if"?this._flags.if_block=!0:i.text==="import"?this._flags.import_block=!0:this._flags.import_block&&l(i,"from")&&(this._flags.import_block=!1))},x.prototype.handle_semicolon=function(i){this.start_of_statement(i)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(i);for(var y=this._tokens.peek();this._flags.mode===F.Statement&&!(this._flags.if_block&&l(y,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(i)},x.prototype.handle_string=function(i){i.text.startsWith("`")&&i.newlines===0&&i.whitespace_before===""&&(i.previous.text===")"||this._flags.last_token.type===S.WORD)||(this.start_of_statement(i)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(i),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i):i.text.startsWith("`")&&this._flags.last_token.type===S.END_EXPR&&(i.previous.text==="]"||i.previous.text===")")&&i.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(i)},x.prototype.handle_equals=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0},x.prototype.handle_comma=function(i){this.handle_whitespace_and_comments(i,!0),this.print_token(i),this._output.space_before_token=!0,this._flags.declaration_statement?(w(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(i)):this._flags.mode===F.ObjectLiteral||this._flags.mode===F.Statement&&this._flags.parent.mode===F.ObjectLiteral?(this._flags.mode===F.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},x.prototype.handle_operator=function(i){var y=i.text==="*"&&(N(this._flags.last_token,["function","yield"])||h(this._flags.last_token.type,[S.START_BLOCK,S.COMMA,S.END_BLOCK,S.SEMICOLON])),M=h(i.text,["-","+"])&&(h(this._flags.last_token.type,[S.START_BLOCK,S.START_EXPR,S.EQUALS,S.OPERATOR])||h(this._flags.last_token.text,m)||this._flags.last_token.text===",");if(!this.start_of_statement(i)){var le=!y;this.handle_whitespace_and_comments(i,le)}if(i.text==="*"&&this._flags.last_token.type===S.DOT){this.print_token(i);return}if(i.text==="::"){this.print_token(i);return}if(h(i.text,["-","+"])&&this.start_of_object_property()){this.print_token(i);return}if(this._flags.last_token.type===S.OPERATOR&&h(this._options.operator_position,G)&&this.allow_wrap_or_preserved_newline(i),i.text===":"&&this._flags.in_case){this.print_token(i),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==S.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 we=!0,Oe=!0,je=!1;if(i.text===":"?this._flags.ternary_depth===0?we=!1:(this._flags.ternary_depth-=1,je=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!M&&!y&&this._options.preserve_newlines&&h(i.text,E)){var Ye=i.text===":",At=Ye&&je,xe=Ye&&!je;switch(this._options.operator_position){case K.before_newline:this._output.space_before_token=!xe,this.print_token(i),(!Ye||At)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case K.after_newline:this._output.space_before_token=!0,!Ye||At?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(i):this._output.space_before_token=!1,this.print_token(i),this._output.space_before_token=!0;return;case K.preserve_newline:xe||this.allow_wrap_or_preserved_newline(i),we=!(this._output.just_added_newline()||xe),this._output.space_before_token=we,this.print_token(i),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(i),we=!1;var qe=this._tokens.peek();Oe=qe&&h(qe.type,[S.WORD,S.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),we=this._flags.last_token.type===S.START_BLOCK,Oe=!1;else if(h(i.text,["--","++","!","~"])||M){if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),we=!1,Oe=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Ze=N(this._flags.last_token,D)&&i.newlines;Ze&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Ze,!0)}this._flags.last_token.text===";"&&w(this._flags.mode)&&(we=!0),this._flags.last_token.type===S.RESERVED?we=!0:this._flags.last_token.type===S.END_EXPR?we=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===S.OPERATOR&&(we=h(i.text,["--","-","++","+"])&&h(this._flags.last_token.text,["--","-","++","+"]),h(i.text,["+","-"])&&h(this._flags.last_token.text,["--","++"])&&(Oe=!0)),(this._flags.mode===F.BlockStatement&&!this._flags.inline_frame||this._flags.mode===F.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||we,this.print_token(i),this._output.space_before_token=Oe},x.prototype.handle_block_comment=function(i,y){if(this._output.raw){this._output.add_raw_token(i),i.directives&&i.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(i.directives){this.print_newline(!1,y),this.print_token(i),i.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(i.text)&&!i.newlines){this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0;return}else this.print_block_commment(i,y)},x.prototype.print_block_commment=function(i,y){var M=b(i.text),le,we=!1,Oe=!1,je=i.whitespace_before,Ye=je.length;if(this.print_newline(!1,y),this.print_token_line_indentation(i),this._output.add_token(M[0]),this.print_newline(!1,y),M.length>1){for(M=M.slice(1),we=P(M,"*"),Oe=T(M,je),we&&(this._flags.alignment=1),le=0;le<M.length;le++)we?(this.print_token_line_indentation(i),this._output.add_token(v(M[le]))):Oe&&M[le]?(this.print_token_line_indentation(i),this._output.add_token(M[le].substring(Ye))):(this._output.current_line.set_indent(-1),this._output.add_token(M[le])),this.print_newline(!1,y);this._flags.alignment=0}},x.prototype.handle_comment=function(i,y){i.newlines?this.print_newline(!1,y):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(i),this.print_newline(!1,y)},x.prototype.handle_dot=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),N(this._flags.last_token,D)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(i,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(i)},x.prototype.handle_unknown=function(i,y){this.print_token(i),i.text[i.text.length-1]===`
`&&this.print_newline(!1,y)},x.prototype.handle_eof=function(i){for(;this._flags.mode===F.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i)},H.exports.Beautifier=x},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 a=this.__base_string_length;return r=r||0,t<0&&(a=0),a+=t*this.__indent_size,a+=r,a},s.prototype.get_indent_string=function(t,r){var a=this.__base_string;return r=r||0,t<0&&(t=0,a=""),r+=t*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},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,a="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),t&&(a+=new Array(t+1).join(" ")),this.__cache.push(a)};function f(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()}f.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},f.prototype.get_line_number=function(){return this.__lines.length},f.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},f.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},f.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},f.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},f.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 a=this.__lines.join(`
`);return t!==`
`&&(a=a.replace(/[\n]/g,t)),a},f.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},f.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)},f.prototype.add_raw_token=function(t){for(var r=0;r<t.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},f.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},f.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},f.prototype.remove_indent=function(t){for(var r=this.__lines.length;t<r;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},f.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&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},f.prototype.just_added_newline=function(){return this.current_line.is_empty()},f.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},f.prototype.ensure_empty_line_above=function(t,r){for(var a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},H.exports.Output=f},function(H){function e(s,f,t,r){this.type=s,this.text=f,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",f="\\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",a="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",o="(?:"+a+"|["+s+t+"])",m="(?:"+a+"|["+f+t+r+"])*";e.identifier=new RegExp(o+m,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+a+"|["+f+t+r+"])+");var E=/[\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 f=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(a){f.call(this,a,"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 E=0;E<m.length;E++)m[E]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=m[E];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}r.prototype=new f,H.exports.Options=r},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 a=this.raw_options[t],o=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var a=this.raw_options[t],o=a===void 0?!!r:!!a;return o},e.prototype._get_characters=function(t,r){var a=this.raw_options[t],o=r||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var a=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(a,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,a){var o=this._get_selection_list(t,r,a);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,a){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[r[0]],!this._is_valid_selection(a,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,a);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(a){return r.indexOf(a)===-1})};function s(t,r){var a={};t=f(t);var o;for(o in t)o!==r&&(a[o]=t[o]);if(r&&t[r])for(o in t[r])a[o]=t[r][o];return a}function f(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}H.exports.Options=e,H.exports.normalizeOpts=f,H.exports.mergeOpts=s},function(H,e,s){var f=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,a=s(13).Directives,o=s(4),m=s(12).Pattern,E=s(14).TemplatablePattern;function S(P,T){return T.indexOf(P)!==-1}var h={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},v=new a(/\/\*/,/\*\//),c=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,l=/[0-9]/,N=/[^\d\.]/,D=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),I=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";I=I.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),I="\\?\\.(?!\\d) "+I,I=I.replace(/ /g,"|");var K=new RegExp(I),G="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),F=G.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ge=new RegExp("^(?:"+F.join("|")+")$"),b,d=function(P,T){t.call(this,P,T),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var x=new m(this._input),n=new E(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:x.matching(c),punct:x.matching(K),comment:x.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:x.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:x.matching(/<!--/),html_comment_end:x.matching(/-->/),include:x.starting_with(/#include/).until_after(o.lineBreak),shebang:x.starting_with(/#!/).until_after(o.lineBreak),xml:x.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(/[`}\\]/)}};d.prototype=new t,d.prototype._is_comment=function(P){return P.type===h.COMMENT||P.type===h.BLOCK_COMMENT||P.type===h.UNKNOWN},d.prototype._is_opening=function(P){return P.type===h.START_BLOCK||P.type===h.START_EXPR},d.prototype._is_closing=function(P,T){return(P.type===h.END_BLOCK||P.type===h.END_EXPR)&&T&&(P.text==="]"&&T.text==="["||P.text===")"&&T.text==="("||P.text==="}"&&T.text==="{")},d.prototype._reset=function(){b=!1},d.prototype._get_next_token=function(P,T){var x=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(h.EOF,""):(x=x||this._read_non_javascript(n),x=x||this._read_string(n),x=x||this._read_pair(n,this._input.peek(1)),x=x||this._read_word(P),x=x||this._read_singles(n),x=x||this._read_comment(n),x=x||this._read_regexp(n,P),x=x||this._read_xml(n,P),x=x||this._read_punctuation(),x=x||this._create_token(h.UNKNOWN,this._input.next()),x)},d.prototype._read_word=function(P){var T;if(T=this.__patterns.identifier.read(),T!=="")return T=T.replace(o.allLineBreaks,`
`),!(P.type===h.DOT||P.type===h.RESERVED&&(P.text==="set"||P.text==="get"))&&ge.test(T)?(T==="in"||T==="of")&&(P.type===h.WORD||P.type===h.STRING)?this._create_token(h.OPERATOR,T):this._create_token(h.RESERVED,T):this._create_token(h.WORD,T);if(T=this.__patterns.number.read(),T!=="")return this._create_token(h.WORD,T)},d.prototype._read_singles=function(P){var T=null;return P==="("||P==="["?T=this._create_token(h.START_EXPR,P):P===")"||P==="]"?T=this._create_token(h.END_EXPR,P):P==="{"?T=this._create_token(h.START_BLOCK,P):P==="}"?T=this._create_token(h.END_BLOCK,P):P===";"?T=this._create_token(h.SEMICOLON,P):P==="."&&N.test(this._input.peek(1))?T=this._create_token(h.DOT,P):P===","&&(T=this._create_token(h.COMMA,P)),T&&this._input.next(),T},d.prototype._read_pair=function(P,T){var x=null;return P==="#"&&T==="{"&&(x=this._create_token(h.START_BLOCK,P+T)),x&&(this._input.next(),this._input.next()),x},d.prototype._read_punctuation=function(){var P=this.__patterns.punct.read();if(P!=="")return P==="="?this._create_token(h.EQUALS,P):P==="?."?this._create_token(h.DOT,P):this._create_token(h.OPERATOR,P)},d.prototype._read_non_javascript=function(P){var T="";if(P==="#"){if(this._is_first_token()&&(T=this.__patterns.shebang.read(),T))return this._create_token(h.UNKNOWN,T.trim()+`
`);if(T=this.__patterns.include.read(),T)return this._create_token(h.UNKNOWN,T.trim()+`
`);P=this._input.next();var x="#";if(this._input.hasNext()&&this._input.testChar(l)){do P=this._input.next(),x+=P;while(this._input.hasNext()&&P!=="#"&&P!=="=");return P==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(x+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(x+="{}",this._input.next(),this._input.next())),this._create_token(h.WORD,x)}this._input.back()}else if(P==="<"&&this._is_first_token()){if(T=this.__patterns.html_comment_start.read(),T){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)T+=this._input.next();return b=!0,this._create_token(h.COMMENT,T)}}else if(b&&P==="-"&&(T=this.__patterns.html_comment_end.read(),T))return b=!1,this._create_token(h.COMMENT,T);return null},d.prototype._read_comment=function(P){var T=null;if(P==="/"){var x="";if(this._input.peek(1)==="*"){x=this.__patterns.block_comment.read();var n=v.get_directives(x);n&&n.ignore==="start"&&(x+=v.readIgnored(this._input)),x=x.replace(o.allLineBreaks,`
`),T=this._create_token(h.BLOCK_COMMENT,x),T.directives=n}else this._input.peek(1)==="/"&&(x=this.__patterns.comment.read(),T=this._create_token(h.COMMENT,x))}return T},d.prototype._read_string=function(P){if(P==="`"||P==="'"||P==='"'){var T=this._input.next();return this.has_char_escapes=!1,P==="`"?T+=this._read_string_recursive("`",!0,"${"):T+=this._read_string_recursive(P),this.has_char_escapes&&this._options.unescape_strings&&(T=w(T)),this._input.peek()===P&&(T+=this._input.next()),T=T.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,T)}return null},d.prototype._allow_regexp_or_xml=function(P){return P.type===h.RESERVED&&S(P.text,["return","case","throw","else","do","typeof","yield"])||P.type===h.END_EXPR&&P.text===")"&&P.opened.previous.type===h.RESERVED&&S(P.opened.previous.text,["if","while","for"])||S(P.type,[h.COMMENT,h.START_EXPR,h.START_BLOCK,h.START,h.END_BLOCK,h.OPERATOR,h.EQUALS,h.EOF,h.SEMICOLON,h.COMMA])},d.prototype._read_regexp=function(P,T){if(P==="/"&&this._allow_regexp_or_xml(T)){for(var x=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==P)&&!this._input.testChar(o.newline);)x+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?i=!0:this._input.peek()==="]"&&(i=!1)),this._input.next();return this._input.peek()===P&&(x+=this._input.next(),x+=this._input.read(o.identifier)),this._create_token(h.STRING,x)}return null},d.prototype._read_xml=function(P,T){if(this._options.e4x&&P==="<"&&this._allow_regexp_or_xml(T)){var x="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=i.indexOf("{")===0,M=0;n;){var le=!!n[1],we=n[2],Oe=!!n[n.length-1]||we.slice(0,8)==="![CDATA[";if(!Oe&&(we===i||y&&we.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(le?--M:++M),x+=n[0],M<=0)break;n=this.__patterns.xml.read_match()}return n||(x+=this._input.match(/[\s\S]*/g)[0]),x=x.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,x)}}return null};function w(P){for(var T="",x=0,n=new f(P),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(T+=i[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")i=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")i=n.match(/u([0-9A-Fa-f]{4})/g),i||(i=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{T+="\\",n.hasNext()&&(T+=n.next());continue}if(!i||(x=parseInt(i[1],16),x>126&&x<=255&&i[0].indexOf("x")===0))return P;x>=0&&x<32||x>1114111?T+="\\"+i[0]:x===34||x===39||x===92?T+="\\"+String.fromCharCode(x):T+=String.fromCharCode(x)}return T}d.prototype._read_string_recursive=function(P,T,x){var n,i;P==="'"?i=this.__patterns.single_quote:P==='"'?i=this.__patterns.double_quote:P==="`"?i=this.__patterns.template_text:P==="}"&&(i=this.__patterns.template_expression);for(var y=i.read(),M="";this._input.hasNext();){if(M=this._input.next(),M===P||!T&&o.newline.test(M)){this._input.back();break}else M==="\\"&&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(),M+=this._input.next()):x&&(x==="${"&&M==="$"&&this._input.peek()==="{"&&(M+=this._input.next()),x===M&&(P==="`"?M+=this._read_string_recursive("}",T,"`"):M+=this._read_string_recursive("`",T,"${"),this._input.hasNext()&&(M+=this._input.next())));M+=i.read(),y+=M}return y},H.exports.Tokenizer=d,H.exports.TOKEN=h,H.exports.positionable_operators=D.slice(),H.exports.line_starters=G.slice()},function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(f){this.__input=f||"",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<this.__input_length},s.prototype.next=function(){var f=null;return this.hasNext()&&(f=this.__input.charAt(this.__position),this.__position+=1),f},s.prototype.peek=function(f){var t=null;return f=f||0,f+=this.__position,f>=0&&f<this.__input_length&&(t=this.__input.charAt(f)),t},s.prototype.__match=function(f,t){f.lastIndex=t;var r=f.exec(this.__input);return r&&!(e&&f.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(f,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(f,t):!1},s.prototype.testChar=function(f,t){var r=this.peek(t);return f.lastIndex=0,r!==null&&f.test(r)},s.prototype.match=function(f){var t=this.__match(f,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(f,t,r){var a="",o;return f&&(o=this.match(f),o&&(a+=o[0])),t&&(o||!f)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(f,t){var r="",a=this.__position;f.lastIndex=this.__position;var o=f.exec(this.__input);return o?(a=o.index,t&&(a+=o[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},s.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)},s.prototype.get_regexp=function(f,t){var r=null,a="g";return t&&e&&(a="y"),typeof f=="string"&&f!==""?r=new RegExp(f,a):f&&(r=new RegExp(f.source,a)),r},s.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(f){var t=this.__position,r=this.readUntilAfter(f);return this.__position=t,r},s.prototype.lookBack=function(f){var t=this.__position-1;return t>=f.length&&this.__input.substring(t-f.length,t).toLowerCase()===f},H.exports.InputScanner=s},function(H,e,s){var f=s(8).InputScanner,t=s(3).Token,r=s(10).TokenStream,a=s(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},m=function(E,S){this._input=new f(E),this._options=S||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var E,S=new t(o.START,""),h=null,v=[],c=new r;S.type!==o.EOF;){for(E=this._get_next_token(S,h);this._is_comment(E);)c.add(E),E=this._get_next_token(S,h);c.isEmpty()||(E.comments_before=c,c=new r),E.parent=h,this._is_opening(E)?(v.push(h),h=E):h&&this._is_closing(E,h)&&(E.opened=h,h.closed=E,h=v.pop(),E.parent=h),E.previous=S,S.next=E,this.__tokens.add(E),S=E}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.prototype._get_next_token=function(E,S){this._readWhitespace();var h=this._input.read(/.+/g);return h?this._create_token(o.RAW,h):this._create_token(o.EOF,"")},m.prototype._is_comment=function(E){return!1},m.prototype._is_opening=function(E){return!1},m.prototype._is_closing=function(E,S){return!1},m.prototype._create_token=function(E,S){var h=new t(E,S,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return h},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<this.__tokens_length},e.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__tokens[this.__position],this.__position+=1),s},e.prototype.peek=function(s){var f=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(f=this.__tokens[s]),f},e.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},H.exports.TokenStream=e},function(H,e,s){var f=s(12).Pattern;function t(r,a){f.call(this,r,a),a?this._line_regexp=this._input.get_regexp(a._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new f,t.prototype.__set_whitespace_patterns=function(r,a){r+="\\t ",a+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+a+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+a+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var a=this.__split(this._newline_regexp,r);this.newline_count=a.length-1,this.whitespace_before_token=a[this.newline_count]}return r},t.prototype.matching=function(r,a){var o=this._create();return o.__set_whitespace_patterns(r,a),o._update(),o},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(r,a){r.lastIndex=0;for(var o=0,m=[],E=r.exec(a);E;)m.push(a.substring(o,E.index)),o=E.index+E[0].length,E=r.exec(a);return o<a.length?m.push(a.substring(o,a.length)):m.push(""),m},H.exports.WhitespacePattern=t},function(H){function e(s,f){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,f&&(this._starting_pattern=this._input.get_regexp(f._starting_pattern,!0),this._match_pattern=this._input.get_regexp(f._match_pattern,!0),this._until_pattern=this._input.get_regexp(f._until_pattern),this._until_after=f._until_after)}e.prototype.read=function(){var s=this._input.read(this._starting_pattern);return(!this._starting_pattern||s)&&(s+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),s},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(s){var f=this._create();return f._until_after=!0,f._until_pattern=this._input.get_regexp(s),f._update(),f},e.prototype.until=function(s){var f=this._create();return f._until_after=!1,f._until_pattern=this._input.get_regexp(s),f._update(),f},e.prototype.starting_with=function(s){var f=this._create();return f._starting_pattern=this._input.get_regexp(s,!0),f._update(),f},e.prototype.matching=function(s){var f=this._create();return f._match_pattern=this._input.get_regexp(s,!0),f._update(),f},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},H.exports.Pattern=e},function(H){function e(s,f){s=typeof s=="string"?s:s.source,f=typeof f=="string"?f:f.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+f,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+f,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var f={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)f[t[1]]=t[2],t=this.__directive_pattern.exec(s);return f},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},function(H,e,s){var f=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,o){f.call(this,a,o),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),o&&(this.__template_pattern=this._input.get_regexp(o.__template_pattern),this._excluded=Object.assign(this._excluded,o._excluded),this._disabled=Object.assign(this._disabled,o._disabled));var m=new f(a);this.__patterns={handlebars_comment:m.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:m.starting_with(/{{{/).until_after(/}}}/),handlebars:m.starting_with(/{{/).until_after(/}}/),php:m.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),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 f,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(a){var o=this._create();return o._disabled[a]=!0,o._update(),o},r.prototype.read_options=function(a){var o=this._create();for(var m in t)o._disabled[m]=a.templating.indexOf(m)===-1;return o._update(),o},r.prototype.exclude=function(a){var o=this._create();return o._excluded[a]=!0,o._update(),o},r.prototype.read=function(){var a="";this._match_pattern?a=this._input.read(this._starting_pattern):a=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),a+=o,o=this._read_template();return this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern)),a},r.prototype.__set_templated_pattern=function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||a.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&a.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")},r.prototype._read_template=function(){var a="",o=this._input.peek();if(o==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(a=a||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(a=a||this.__patterns.handlebars_comment.read(),a=a||this.__patterns.handlebars_unescaped.read(),a=a||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=a||this.__patterns.django_comment.read(),a=a||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(a=a||this.__patterns.smarty_comment.read(),a=a||this.__patterns.smarty_literal.read(),a=a||this.__patterns.smarty.read()));return a},H.exports.TemplatablePattern=r}],j={};function _(H){var e=j[H];if(e!==void 0)return e.exports;var s=j[H]={exports:{}};return Y[H](s,s.exports,_),s.exports}var U=_(0);k=U})();var z=k;u=[],O=function(){return{js_beautify:z}}.apply(Te,u),O!==void 0&&(Lt.exports=O)})()},75918:function(Lt,Te,u){"use strict";u.d(Te,{Wi:function(){return _},Z0:function(){return U},aU:function(){return j},eZ:function(){return e},wY:function(){return H}});var O=u(4348),k=u(69323),z=u(13268),Y=function(s,f,t,r){function a(o){return o instanceof t?o:new t(function(m){m(o)})}return new(t||(t=Promise))(function(o,m){function E(v){try{h(r.next(v))}catch(c){m(c)}}function S(v){try{h(r.throw(v))}catch(c){m(c)}}function h(v){v.done?o(v.value):a(v.value).then(E,S)}h((r=r.apply(s,f||[])).next())})};class j extends k.JT{constructor(f,t="",r="",a=!0,o){super(),this._onDidChange=this._register(new O.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=f,this._label=t,this._cssClass=r,this._enabled=a,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(f){this._setLabel(f)}_setLabel(f){this._label!==f&&(this._label=f,this._onDidChange.fire({label:f}))}get tooltip(){return this._tooltip||""}set tooltip(f){this._setTooltip(f)}_setTooltip(f){this._tooltip!==f&&(this._tooltip=f,this._onDidChange.fire({tooltip:f}))}get class(){return this._cssClass}set class(f){this._setClass(f)}_setClass(f){this._cssClass!==f&&(this._cssClass=f,this._onDidChange.fire({class:f}))}get enabled(){return this._enabled}set enabled(f){this._setEnabled(f)}_setEnabled(f){this._enabled!==f&&(this._enabled=f,this._onDidChange.fire({enabled:f}))}get checked(){return this._checked}set checked(f){this._setChecked(f)}_setChecked(f){this._checked!==f&&(this._checked=f,this._onDidChange.fire({checked:f}))}run(f,t){return Y(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(f))})}}class _ 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(f,t){return Y(this,void 0,void 0,function*(){if(!f.enabled)return;this._onBeforeRun.fire({action:f});let r;try{yield this.runAction(f,t)}catch(a){r=a}this._onDidRun.fire({action:f,error:r})})}runAction(f,t){return Y(this,void 0,void 0,function*(){yield f.run(t)})}}class U extends j{constructor(f){super(U.ID,f,f?"separator text":"separator"),this.checked=!1,this.enabled=!1}}U.ID="vs.actions.separator";class H{constructor(f,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=f,this.label=t,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return Y(this,void 0,void 0,function*(){})}}class e extends j{constructor(){super(e.ID,z.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Lt,Te,u){"use strict";u.d(Te,{ok:function(){return O}});function O(k,z){if(!k)throw new Error(z?`Assertion failed (${z})`:"Assertion Failed")}},52615:function(Lt,Te,u){"use strict";u.d(Te,{CM:function(){return j},JL:function(){return _},dT:function(){return H},fK:function(){return Y},lA:function(){return U}});var O=u(4348);class k{constructor(){this._icons=new Map,this._onDidRegister=new O.Q5}add(s){const f=this._icons.get(s.id);f?s.description?f.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 z=new k,Y=z;function j(e,s){return new U(e,s)}function _(e){return e?e.replace(/\$\((.*?)\)/g,(s,f)=>` ${f} `).trim():""}class U{constructor(s,f,t){this.id=s,this.definition=f,this.description=t,z.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 f(a){if(a instanceof U)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return f(U.error);let[,m,E]=o;const S=["codicon","codicon-"+m];return E&&S.push("codicon-modifier-"+E.substr(1)),S}e.asClassNameArray=f;function t(a){return f(a).join(" ")}e.asClassName=t;function r(a){return"."+f(a).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"})}(U||(U={}))},79881:function(Lt,Te,u){"use strict";u.d(Te,{B8:function(){return f},Cp:function(){return Y},F0:function(){return H},L6:function(){return s},VV:function(){return U},b1:function(){return e},dL:function(){return z},ri:function(){return j}});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(a=>{a(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const k=new O;function z(t){U(t)||k.onUnexpectedError(t)}function Y(t){U(t)||k.onUnexpectedExternalError(t)}function j(t){if(t instanceof Error){let{name:r,message:a}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:a,stack:o}}return t}const _="Canceled";function U(t){return t instanceof Error&&t.name===_&&t.message===_}function H(){const t=new Error(_);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 f extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Lt,Te,u){"use strict";u.d(Te,{D0:function(){return f},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return j}});var O=u(79881),k=u(69323),z=u(34502),Y=u(95830),j;(function(a){a.None=()=>k.JT.None;function o(w){return(P,T=null,x)=>{let n=!1,i;return i=w(y=>{if(!n)return i?i.dispose():n=!0,P.call(T,y)},null,x),n&&i.dispose(),i}}a.once=o;function m(w,P){return l((T,x=null,n)=>w(i=>T.call(x,P(i)),null,n))}a.map=m;function E(w,P){return l((T,x=null,n)=>w(i=>{P(i),T.call(x,i)},null,n))}a.forEach=E;function S(w,P){return l((T,x=null,n)=>w(i=>P(i)&&T.call(x,i),null,n))}a.filter=S;function h(w){return w}a.signal=h;function v(...w){return(P,T=null,x)=>(0,k.F8)(...w.map(n=>n(i=>P.call(T,i),null,x)))}a.any=v;function c(w,P,T){let x=T;return m(w,n=>(x=P(x,n),x))}a.reduce=c;function l(w){let P;const T=new e({onFirstListenerAdd(){P=w(T.fire,T)},onLastListenerRemove(){P.dispose()}});return T.event}function N(w,P,T=100,x=!1,n){let i,y,M,le=0;const we=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=w(Oe=>{le++,y=P(y,Oe),x&&!M&&(we.fire(y),y=void 0),clearTimeout(M),M=setTimeout(()=>{const je=y;y=void 0,M=void 0,(!x||le>1)&&we.fire(je),le=0},T)})},onLastListenerRemove(){i.dispose()}});return we.event}a.debounce=N;function D(w,P=(T,x)=>T===x){let T=!0,x;return S(w,n=>{const i=T||!P(n,x);return T=!1,x=n,i})}a.latch=D;function I(w,P){return[a.filter(w,P),a.filter(w,T=>!P(T))]}a.split=I;function K(w,P=!1,T=[]){let x=T.slice(),n=w(M=>{x?x.push(M):y.fire(M)});const i=()=>{x&&x.forEach(M=>y.fire(M)),x=null},y=new e({onFirstListenerAdd(){n||(n=w(M=>y.fire(M)))},onFirstListenerDidAdd(){x&&(P?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return y.event}a.buffer=K;class G{constructor(P){this.event=P}map(P){return new G(m(this.event,P))}forEach(P){return new G(E(this.event,P))}filter(P){return new G(S(this.event,P))}reduce(P,T){return new G(c(this.event,P,T))}latch(){return new G(D(this.event))}debounce(P,T=100,x=!1,n){return new G(N(this.event,P,T,x,n))}on(P,T,x){return this.event(P,T,x)}once(P,T,x){return o(this.event)(P,T,x)}}function F(w){return new G(w)}a.chain=F;function ge(w,P,T=x=>x){const x=(...M)=>y.fire(T(...M)),n=()=>w.on(P,x),i=()=>w.removeListener(P,x),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromNodeEventEmitter=ge;function b(w,P,T=x=>x){const x=(...M)=>y.fire(T(...M)),n=()=>w.addEventListener(P,x),i=()=>w.removeEventListener(P,x),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromDOMEventEmitter=b;function d(w){return new Promise(P=>o(w)(P))}a.toPromise=d})(j||(j={}));class _{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${_._idPool++}`}start(o){this._stopWatch=new Y.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}}}_._idPool=0;let U=-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=U;if(typeof this.customThreshold=="number"&&(m=this.customThreshold),m<=0||o<m)return;this._stacks||(this._stacks=new Map);const E=new Error().stack.split(`
`).slice(3).join(`
`),S=this._stacks.get(E)||0;if(this._stacks.set(E,S+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=m*.5;let h,v=0;for(const[c,l]of this._stacks)(!h||v<l)&&(h=c,v=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${v}):`),console.warn(h)}return()=>{const h=this._stacks.get(E)||0;this._stacks.set(E,h-1)}}}class e{constructor(o){var m;this._disposed=!1,this._options=o,this._leakageMon=U>0?new H(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((m=this._options)===null||m===void 0)&&m._profName?new _(this._options._profName):void 0}get event(){return this._event||(this._event=(o,m,E)=>{var S;this._listeners||(this._listeners=new z.S);const h=this._listeners.isEmpty();h&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const v=this._listeners.push(m?[o,m]:o);h&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,m);const c=(S=this._leakageMon)===null||S===void 0?void 0:S.check(this._listeners.size),l=(0,k.OF)(()=>{c&&c(),this._disposed||(v(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return E instanceof k.SL?E.add(l):Array.isArray(E)&&E.push(l),l}),this._event}fire(o){var m,E;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new z.S);for(let S of this._listeners)this._deliveryQueue.push([S,o]);for((m=this._perfMon)===null||m===void 0||m.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[S,h]=this._deliveryQueue.shift();try{typeof S=="function"?S.call(void 0,h):S[0].call(S[1],h)}catch(v){(0,O.dL)(v)}}(E=this._perfMon)===null||E===void 0||E.stop()}}dispose(){var o,m,E,S,h;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(m=this._deliveryQueue)===null||m===void 0||m.clear(),(S=(E=this._options)===null||E===void 0?void 0:E.onLastListenerRemove)===null||S===void 0||S.call(E),(h=this._leakageMon)===null||h===void 0||h.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new z.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 f 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,E,S)=>o(h=>{const v=this.buffers[this.buffers.length-1];v?v.push(()=>m.call(E,h)):m.call(E,h)},void 0,S)}bufferEvents(o){const m=[];this.buffers.push(m);const E=o();return this.buffers.pop(),m.forEach(S=>S()),E}}class r{constructor(){this.listening=!1,this.inputEvent=j.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(Lt,Te,u){"use strict";u.d(Te,{I:function(){return O}});function O(k){const z=this;let Y=!1,j;return function(){return Y||(Y=!0,j=k.apply(z,arguments)),j}}},88226:function(Lt,Te,u){"use strict";u.d(Te,{$:function(){return O}});var O;(function(k){function z(v){return v&&typeof v=="object"&&typeof v[Symbol.iterator]=="function"}k.is=z;const Y=Object.freeze([]);function j(){return Y}k.empty=j;function*_(v){yield v}k.single=_;function U(v){return v||Y}k.from=U;function H(v){return!v||v[Symbol.iterator]().next().done===!0}k.isEmpty=H;function e(v){return v[Symbol.iterator]().next().value}k.first=e;function s(v,c){for(const l of v)if(c(l))return!0;return!1}k.some=s;function f(v,c){for(const l of v)if(c(l))return l}k.find=f;function*t(v,c){for(const l of v)c(l)&&(yield l)}k.filter=t;function*r(v,c){let l=0;for(const N of v)yield c(N,l++)}k.map=r;function*a(...v){for(const c of v)for(const l of c)yield l}k.concat=a;function*o(v){for(const c of v)for(const l of c)yield l}k.concatNested=o;function m(v,c,l){let N=l;for(const D of v)N=c(N,D);return N}k.reduce=m;function*E(v,c,l=v.length){for(c<0&&(c+=v.length),l<0?l+=v.length:l>v.length&&(l=v.length);c<l;c++)yield v[c]}k.slice=E;function S(v,c=Number.POSITIVE_INFINITY){const l=[];if(c===0)return[l,v];const N=v[Symbol.iterator]();for(let D=0;D<c;D++){const I=N.next();if(I.done)return[l,k.empty()];l.push(I.value)}return[l,{[Symbol.iterator](){return N}}]}k.consume=S;function h(v,c,l=(N,D)=>N===D){const N=v[Symbol.iterator](),D=c[Symbol.iterator]();for(;;){const I=N.next(),K=D.next();if(I.done!==K.done)return!1;if(I.done)return!0;if(!l(I.value,K.value))return!1}}k.equals=h})(O||(O={}))},69323:function(Lt,Te,u){"use strict";u.d(Te,{B9:function(){return r},F8:function(){return a},JT:function(){return E},Jz:function(){return h},OF:function(){return o},SL:function(){return m},Wf:function(){return t},XK:function(){return S},dk:function(){return s}});var O=u(17845),k=u(88226);const z=!1;let Y=null;function j(v){Y=v}if(z){const v="__is_disposable_tracked__";j(new class{trackDisposable(c){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{c[v]||console.log(l)},3e3)}setParent(c,l){if(c&&c!==E.None)try{c[v]=!0}catch(N){}}markAsDisposed(c){if(c&&c!==E.None)try{c[v]=!0}catch(l){}}markAsSingleton(c){}})}function _(v){return Y==null||Y.trackDisposable(v),v}function U(v){Y==null||Y.markAsDisposed(v)}function H(v,c){Y==null||Y.setParent(v,c)}function e(v,c){if(Y)for(const l of v)Y.setParent(l,c)}function s(v){return Y==null||Y.markAsSingleton(v),v}class f extends Error{constructor(c){super(`Encountered errors while disposing of store. Errors: [${c.join(", ")}]`),this.errors=c}}function t(v){return typeof v.dispose=="function"&&v.dispose.length===0}function r(v){if(k.$.is(v)){let c=[];for(const l of v)if(l)try{l.dispose()}catch(N){c.push(N)}if(c.length===1)throw c[0];if(c.length>1)throw new f(c);return Array.isArray(v)?[]:v}else if(v)return v.dispose(),v}function a(...v){const c=o(()=>r(v));return e(v,c),c}function o(v){const c=_({dispose:(0,O.I)(()=>{U(c),v()})});return c}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,_(this)}dispose(){this._isDisposed||(U(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(c){if(!c)return c;if(c===this)throw new Error("Cannot register a disposable on itself!");return H(c,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(c),c}}m.DISABLE_DISPOSED_WARNING=!1;class E{constructor(){this._store=new m,_(this),H(this._store,this)}dispose(){U(this),this._store.dispose()}_register(c){if(c===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(c)}}E.None=Object.freeze({dispose(){}});class S{constructor(){this._isDisposed=!1,_(this)}get value(){return this._isDisposed?void 0:this._value}set value(c){var l;this._isDisposed||c===this._value||((l=this._value)===null||l===void 0||l.dispose(),c&&H(c,this),this._value=c)}clear(){this.value=void 0}dispose(){var c;this._isDisposed=!0,U(this),(c=this._value)===null||c===void 0||c.dispose(),this._value=void 0}clearAndLeak(){const c=this._value;return this._value=void 0,c&&H(c,null),c}}class h{constructor(c){this.object=c}dispose(){}}},34502:function(Lt,Te,u){"use strict";u.d(Te,{S:function(){return k}});class O{constructor(Y){this.element=Y,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 Y=this._first;for(;Y!==O.Undefined;){const j=Y.next;Y.prev=O.Undefined,Y.next=O.Undefined,Y=j}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(Y){return this._insert(Y,!1)}push(Y){return this._insert(Y,!0)}_insert(Y,j){const _=new O(Y);if(this._first===O.Undefined)this._first=_,this._last=_;else if(j){const H=this._last;this._last=_,_.prev=H,H.next=_}else{const H=this._first;this._first=_,_.next=H,H.prev=_}this._size+=1;let U=!1;return()=>{U||(U=!0,this._remove(_))}}shift(){if(this._first!==O.Undefined){const Y=this._first.element;return this._remove(this._first),Y}}pop(){if(this._last!==O.Undefined){const Y=this._last.element;return this._remove(this._last),Y}}_remove(Y){if(Y.prev!==O.Undefined&&Y.next!==O.Undefined){const j=Y.prev;j.next=Y.next,Y.next.prev=j}else Y.prev===O.Undefined&&Y.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):Y.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):Y.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let Y=this._first;for(;Y!==O.Undefined;)yield Y.element,Y=Y.next}}},23345:function(Lt,Te,u){"use strict";u.d(Te,{$L:function(){return N},ED:function(){return h},IJ:function(){return c},OS:function(){return G},WE:function(){return I},dz:function(){return v},gn:function(){return D},li:function(){return o},r:function(){return b},tY:function(){return l},xS:function(){return K}});var O=u(97671),k;const z="en";let Y=!1,j=!1,_=!1,U=!1,H=!1,e=!1,s=!1,f,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let m;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?m=o.vscode.process:typeof O!="undefined"&&(m=O);const E=typeof((k=m==null?void 0:m.versions)===null||k===void 0?void 0:k.electron)=="string"&&m.type==="renderer";if(typeof navigator=="object"&&!E)a=navigator.userAgent,Y=a.indexOf("Windows")>=0,j=a.indexOf("Macintosh")>=0,s=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,_=a.indexOf("Linux")>=0,e=!0,f=navigator.language,t=f;else if(typeof m=="object"){Y=m.platform==="win32",j=m.platform==="darwin",_=m.platform==="linux",U=_&&!!m.env.SNAP&&!!m.env.SNAP_REVISION,f=z,t=z;const d=m.env.VSCODE_NLS_CONFIG;if(d)try{const w=JSON.parse(d),P=w.availableLanguages["*"];f=w.locale,t=P||z,r=w._translationsConfigFile}catch(w){}H=!0}else console.error("Unable to resolve platform.");let S=0;j?S=1:Y?S=3:_&&(S=2);const h=Y,v=j,c=_,l=H,N=e,D=s,I=a,K=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let P=[];o.addEventListener("message",x=>{if(x.data&&x.data.vscodeSetImmediateId)for(let n=0,i=P.length;n<i;n++){const y=P[n];if(y.id===x.data.vscodeSetImmediateId){P.splice(n,1),y.callback();return}}});let T=0;return x=>{const n=++T;P.push({id:n,callback:x}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(m==null?void 0:m.nextTick)=="function")return m.nextTick.bind(m);const w=Promise.resolve();return P=>w.then(P)}(),G=j||s?2:Y?1:3;let F=!0,ge=!1;function b(){if(!ge){ge=!0;const d=new Uint8Array(2);d[0]=1,d[1]=2,F=new Uint16Array(d.buffer)[0]===513}return F}},95830:function(Lt,Te,u){"use strict";u.d(Te,{G:function(){return z}});var O=u(23345);const k=O.li.performance&&typeof O.li.performance.now=="function";class z{constructor(j){this._highResolution=k&&j,this._startTime=this._now(),this._stopTime=-1}static create(j=!0){return new z(j)}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(Lt,Te,u){"use strict";u.d(Te,{$i:function(){return le},C8:function(){return At},GF:function(){return f},HO:function(){return T},IO:function(){return t},K7:function(){return Ye},Kw:function(){return Ze},LC:function(){return o},Mh:function(){return K},P1:function(){return G},PJ:function(){return pe},Qe:function(){return we},R1:function(){return s},RP:function(){return y},S6:function(){return ue},TT:function(){return h},Ut:function(){return n},V8:function(){return m},WU:function(){return z},YK:function(){return ge},YU:function(){return Y},ZG:function(){return F},ZH:function(){return d},ab:function(){return Oe},c1:function(){return xe},df:function(){return N},ec:function(){return j},fi:function(){return te},fy:function(){return _},j3:function(){return U},j_:function(){return c},m5:function(){return O},mK:function(){return l},mr:function(){return r},oH:function(){return R},oL:function(){return H},ok:function(){return I},ow:function(){return E},qq:function(){return D},qu:function(){return S},rL:function(){return b},uS:function(){return qe},un:function(){return e},uq:function(){return a},vH:function(){return P},xe:function(){return je},zY:function(){return v}});function O(p){return!p||typeof p!="string"?!0:p.trim().length===0}const k=/{(\d+)}/g;function z(p,...B){return B.length===0?p:p.replace(k,function(J,L){const $=parseInt(L,10);return isNaN($)||$<0||$>=B.length?J:B[$]})}function Y(p){return p.replace(/[<>&]/g,function(B){switch(B){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return B}})}function j(p){return p.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function _(p,B=" "){const J=U(p,B);return H(J,B)}function U(p,B){if(!p||!B)return p;const J=B.length;if(J===0||p.length===0)return p;let L=0;for(;p.indexOf(B,L)===L;)L=L+J;return p.substring(L)}function H(p,B){if(!p||!B)return p;const J=B.length,L=p.length;if(J===0||L===0)return p;let $=L,W=-1;for(;W=p.lastIndexOf(B,$-1),!(W===-1||W+J!==$);){if(W===0)return"";$=W}return p.substring(0,$)}function e(p){return p.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(p){return p.replace(/\*/g,"")}function f(p,B,J={}){if(!p)throw new Error("Cannot create regex from empty string");B||(p=j(p)),J.wholeWord&&(/\B/.test(p.charAt(0))||(p="\\b"+p),/\B/.test(p.charAt(p.length-1))||(p=p+"\\b"));let L="";return J.global&&(L+="g"),J.matchCase||(L+="i"),J.multiline&&(L+="m"),J.unicode&&(L+="u"),new RegExp(p,L)}function t(p){return p.source==="^"||p.source==="^$"||p.source==="$"||p.source==="^\\s*$"?!1:!!(p.exec("")&&p.lastIndex===0)}function r(p){return(p.global?"g":"")+(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")}function a(p){return p.split(/\r\n|\r|\n/)}function o(p){for(let B=0,J=p.length;B<J;B++){const L=p.charCodeAt(B);if(L!==32&&L!==9)return B}return-1}function m(p,B=0,J=p.length){for(let L=B;L<J;L++){const $=p.charCodeAt(L);if($!==32&&$!==9)return p.substring(B,L)}return p.substring(B,J)}function E(p,B=p.length-1){for(let J=B;J>=0;J--){const L=p.charCodeAt(J);if(L!==32&&L!==9)return J}return-1}function S(p,B){return p<B?-1:p>B?1:0}function h(p,B,J=0,L=p.length,$=0,W=B.length){for(;J<L&&$<W;J++,$++){let Ce=p.charCodeAt(J),Ae=B.charCodeAt($);if(Ce<Ae)return-1;if(Ce>Ae)return 1}const fe=L-J,se=W-$;return fe<se?-1:fe>se?1:0}function v(p,B){return c(p,B,0,p.length,0,B.length)}function c(p,B,J=0,L=p.length,$=0,W=B.length){for(;J<L&&$<W;J++,$++){let Ce=p.charCodeAt(J),Ae=B.charCodeAt($);if(Ce===Ae)continue;if(Ce>=128||Ae>=128)return h(p.toLowerCase(),B.toLowerCase(),J,L,$,W);l(Ce)&&(Ce-=32),l(Ae)&&(Ae-=32);const Xe=Ce-Ae;if(Xe!==0)return Xe}const fe=L-J,se=W-$;return fe<se?-1:fe>se?1:0}function l(p){return p>=97&&p<=122}function N(p){return p>=65&&p<=90}function D(p,B){return p.length===B.length&&c(p,B)===0}function I(p,B){const J=B.length;return B.length>p.length?!1:c(p,B,0,J)===0}function K(p,B){let J,L=Math.min(p.length,B.length);for(J=0;J<L;J++)if(p.charCodeAt(J)!==B.charCodeAt(J))return J;return L}function G(p,B){let J,L=Math.min(p.length,B.length);const $=p.length-1,W=B.length-1;for(J=0;J<L;J++)if(p.charCodeAt($-J)!==B.charCodeAt(W-J))return J;return L}function F(p){return 55296<=p&&p<=56319}function ge(p){return 56320<=p&&p<=57343}function b(p,B){return(p-55296<<10)+(B-56320)+65536}function d(p,B,J){const L=p.charCodeAt(J);if(F(L)&&J+1<B){const $=p.charCodeAt(J+1);if(ge($))return b(L,$)}return L}function w(p,B){const J=p.charCodeAt(B-1);if(ge(J)&&B>1){const L=p.charCodeAt(B-2);if(F(L))return b(L,J)}return J}function P(p,B){const J=g.getInstance(),L=B,$=p.length,W=d(p,$,B);B+=W>=65536?2:1;let fe=J.getGraphemeBreakType(W);for(;B<$;){const se=d(p,$,B),Ce=J.getGraphemeBreakType(se);if(te(fe,Ce))break;B+=se>=65536?2:1,fe=Ce}return B-L}function T(p,B){const J=g.getInstance(),L=B,$=w(p,B);B-=$>=65536?2:1;let W=J.getGraphemeBreakType($);for(;B>0;){const fe=w(p,B),se=J.getGraphemeBreakType(fe);if(te(se,W))break;B-=fe>=65536?2:1,W=se}return L-B}const x=/(?:[\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(p){return x.test(p)}const i=/(?:[\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 y(p){return i.test(p)}const M=/^[\t\n\r\x20-\x7E]*$/;function le(p){return M.test(p)}const we=/[\u2028\u2029]/;function Oe(p){return we.test(p)}function je(p){for(let B=0,J=p.length;B<J;B++)if(Ye(p.charCodeAt(B)))return!0;return!1}function Ye(p){return p=+p,p>=11904&&p<=55215||p>=63744&&p<=64255||p>=65281&&p<=65374}function At(p){return p>=127462&&p<=127487||p===8986||p===8987||p===9200||p===9203||p>=9728&&p<=10175||p===11088||p===11093||p>=127744&&p<=128591||p>=128640&&p<=128764||p>=128992&&p<=129003||p>=129280&&p<=129535||p>=129648&&p<=129750}const xe="\uFEFF";function qe(p){return!!(p&&p.length>0&&p.charCodeAt(0)===65279)}function Ze(p,B=!1){return p?(B&&(p=p.replace(/\\./g,"")),p.toLowerCase()!==p):!1}function pe(p){return p=p%(2*26),p<26?String.fromCharCode(97+p):String.fromCharCode(65+p-26)}function ue(p){return g.getInstance().getGraphemeBreakType(p)}function te(p,B){return p===0?B!==5&&B!==7:p===2&&B===3?!1:p===4||p===2||p===3||B===4||B===2||B===3?!0:!(p===8&&(B===8||B===9||B===11||B===12)||(p===11||p===9)&&(B===9||B===10)||(p===12||p===10)&&B===10||B===5||B===13||B===7||p===1||p===13&&B===14||p===6&&B===6)}class g{constructor(){this._data=Z()}static getInstance(){return g._INSTANCE||(g._INSTANCE=new g),g._INSTANCE}getGraphemeBreakType(B){if(B<32)return B===10?3:B===13?2:4;if(B<127)return 0;const J=this._data,L=J.length/3;let $=1;for(;$<=L;)if(B<J[3*$])$=2*$;else if(B>J[3*$+1])$=2*$+1;else return J[3*$+2];return 0}}g._INSTANCE=null;function Z(){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 R(p,B){if(p===0)return 0;const J=ne(p,B);if(J!==void 0)return J;const L=w(B,p);return p-=re(L),p}function ne(p,B){let J=w(B,p);for(p-=re(J);C(J)||J===65039||J===8419;){if(p===0)return;J=w(B,p),p-=re(J)}if(At(J)){if(p>=0){const L=w(B,p);L===8205&&(p-=re(L))}return p}}function re(p){return p>=65536?2:1}function C(p){return 127995<=p&&p<=127999}},72999:function(Lt,Te,u){"use strict";u.d(Te,{$E:function(){return o},$K:function(){return U},D8:function(){return t},HD:function(){return k},IU:function(){return m},Jp:function(){return H},Kn:function(){return z},cW:function(){return s},f6:function(){return E},hj:function(){return Y},jn:function(){return j},kJ:function(){return O},mf:function(){return f},o8:function(){return _},p_:function(){return e},vE:function(){return S}});function O(h){return Array.isArray(h)}function k(h){return typeof h=="string"}function z(h){return typeof h=="object"&&h!==null&&!Array.isArray(h)&&!(h instanceof RegExp)&&!(h instanceof Date)}function Y(h){return typeof h=="number"&&!isNaN(h)}function j(h){return h===!0||h===!1}function _(h){return typeof h=="undefined"}function U(h){return!H(h)}function H(h){return _(h)||h===null}function e(h,v){if(!h)throw new Error(v?`Unexpected type, expected '${v}'`:"Unexpected type")}function s(h){if(H(h))throw new Error("Assertion Failed: argument is undefined or null");return h}function f(h){return typeof h=="function"}function t(h,v){const c=Math.min(h.length,v.length);for(let l=0;l<c;l++)r(h[l],v[l])}function r(h,v){if(k(v)){if(typeof h!==v)throw new Error(`argument does not match constraint: typeof ${v}`)}else if(f(v)){try{if(h instanceof v)return}catch(c){}if(!H(h)&&h.constructor===v||v.length===1&&v.call(void 0,h)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function a(h){let v=[],c=Object.getPrototypeOf(h);for(;Object.prototype!==c;)v=v.concat(Object.getOwnPropertyNames(c)),c=Object.getPrototypeOf(c);return v}function o(h){const v=[];for(const c of a(h))typeof h[c]=="function"&&v.push(c);return v}function m(h,v){const c=N=>function(){const D=Array.prototype.slice.call(arguments,0);return v(N,D)};let l={};for(const N of h)l[N]=c(N);return l}function E(h){return h===null?void 0:h}function S(h,v="Unreachable"){throw new Error(v)}},13268:function(Lt,Te,u){"use strict";u.d(Te,{N:function(){return k}});function O(z,Y){let j;return Y.length===0?j=z:j=z.replace(/\{(\d+)\}/g,function(_,U){const H=U[0];return typeof Y[H]!="undefined"?Y[H]:_}),j}function k(z,Y,...j){return O(Y,j)}},96236:function(Lt,Te,u){"use strict";u.d(Te,{BH:function(){return m},NZ:function(){return E},U8:function(){return S},co:function(){return o},eH:function(){return a},vr:function(){return r}});var O=u(75918),k=u(52615),z=u(4348),Y=u(88226),j=u(69323),_=u(34502),U=u(35884),H=u(90689),e=u(16925),s=u(49055),f=function(h,v,c,l){var N=arguments.length,D=N<3?v:l===null?l=Object.getOwnPropertyDescriptor(v,c):l,I;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(h,v,c,l);else for(var K=h.length-1;K>=0;K--)(I=h[K])&&(D=(N<3?I(D):N>3?I(v,c,D):I(v,c))||D);return N>3&&D&&Object.defineProperty(v,c,D),D},t=function(h,v){return function(c,l){v(c,l,h)}};function r(h){return h.command!==void 0}class a{constructor(v){this.id=a._idPool++,this._debugName=v}}a._idPool=0,a.CommandPalette=new a("CommandPalette"),a.EditorContext=new a("EditorContext"),a.SimpleEditorContext=new a("SimpleEditorContext"),a.EditorContextCopy=new a("EditorContextCopy"),a.EditorContextPeek=new a("EditorContextPeek"),a.MenubarEditMenu=new a("MenubarEditMenu"),a.MenubarCopy=new a("MenubarCopy"),a.MenubarGoMenu=new a("MenubarGoMenu"),a.MenubarSelectionMenu=new a("MenubarSelectionMenu"),a.InlineCompletionsActions=new a("InlineCompletionsActions");const o=(0,e.yh)("menuService"),m=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new z.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:h=>h===a.CommandPalette}}addCommand(h){return this.addCommands(Y.$.single(h))}addCommands(h){for(const v of h)this._commands.set(v.id,v);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,j.OF)(()=>{let v=!1;for(const c of h)v=this._commands.delete(c.id)||v;v&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(h){return this._commands.get(h)}getCommands(){const h=new Map;return this._commands.forEach((v,c)=>h.set(c,v)),h}appendMenuItem(h,v){return this.appendMenuItems(Y.$.single({id:h,item:v}))}appendMenuItems(h){const v=new Set,c=new _.S;for(const{id:l,item:N}of h){let D=this._menuItems.get(l);D||(D=new _.S,this._menuItems.set(l,D)),c.push(D.push(N)),v.add(l)}return this._onDidChangeMenu.fire(v),(0,j.OF)(()=>{if(c.size>0){for(let l of c)l();this._onDidChangeMenu.fire(v),c.clear()}})}getMenuItems(h){let v;return this._menuItems.has(h)?v=[...this._menuItems.get(h)]:v=[],h===a.CommandPalette&&this._appendImplicitItems(v),v}_appendImplicitItems(h){const v=new Set;for(const c of h)r(c)&&(v.add(c.command.id),c.alt&&v.add(c.alt.id));this._commands.forEach((c,l)=>{v.has(l)||h.push({command:c})})}};class E extends O.wY{constructor(v,c,l,N){super(`submenuitem.${v.submenu.id}`,typeof v.title=="string"?v.title:v.title.value,[],"submenu"),this.item=v,this._menuService=c,this._contextKeyService=l,this._options=N}get actions(){const v=[],c=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=c.getActions(this._options);c.dispose();for(const[,N]of l)N.length>0&&(v.push(...N),v.push(new O.Z0));return v.length&&v.pop(),v}}let S=class bi{constructor(v,c,l,N,D){var I,K;if(this._commandService=D,this.id=v.id,this.label=l!=null&&l.renderShortTitle&&v.shortTitle?typeof v.shortTitle=="string"?v.shortTitle:v.shortTitle.value:typeof v.title=="string"?v.title:v.title.value,this.tooltip=(K=typeof v.tooltip=="string"?v.tooltip:(I=v.tooltip)===null||I===void 0?void 0:I.value)!==null&&K!==void 0?K:"",this.enabled=!v.precondition||N.contextMatchesRules(v.precondition),this.checked=void 0,v.toggled){const G=v.toggled.condition?v.toggled:{condition:v.toggled};this.checked=N.contextMatchesRules(G.condition),this.checked&&G.tooltip&&(this.tooltip=typeof G.tooltip=="string"?G.tooltip:G.tooltip.value),G.title&&(this.label=typeof G.title=="string"?G.title:G.title.value)}this.item=v,this.alt=c?new bi(c,void 0,l,N,D):void 0,this._options=l,s.kS.isThemeIcon(v.icon)&&(this.class=k.dT.asClassName(v.icon))}dispose(){}run(...v){var c,l;let N=[];return!((c=this._options)===null||c===void 0)&&c.arg&&(N=[...N,this._options.arg]),!((l=this._options)===null||l===void 0)&&l.shouldForwardArgs&&(N=[...N,...v]),this._commandService.executeCommand(this.id,...N)}};S=f([t(3,H.i6),t(4,U.H)],S)},35884:function(Lt,Te,u){"use strict";u.d(Te,{H:function(){return U},P:function(){return H}});var O=u(4348),k=u(88226),z=u(69323),Y=u(34502),j=u(72999),_=u(16925);const U=(0,_.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 E of e.description.args)o.push(E.constraint);const m=e.handler;e.handler=function(E,...S){return(0,j.D8)(S,o),m(E,...S)}}const{id:f}=e;let t=this._commands.get(f);t||(t=new Y.S,this._commands.set(f,t));let r=t.unshift(e),a=(0,z.OF)(()=>{r();const o=this._commands.get(f);o!=null&&o.isEmpty()&&this._commands.delete(f)});return this._onDidRegisterCommand.fire(f),a}registerCommandAlias(e,s){return H.registerCommand(e,(f,...t)=>f.get(U).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 f=this.getCommand(s);f&&e.set(s,f)}return e}};H.registerCommand("noop",()=>{})},90689:function(Lt,Te,u){"use strict";u.d(Te,{Ao:function(){return U},Eq:function(){return b},Fb:function(){return H},K8:function(){return P},i6:function(){return ge},uy:function(){return F}});var O=u(23345),k=u(82983),z=u(16925);let Y=O.WE||"";const j=new Map;j.set("false",!1),j.set("true",!0),j.set("isMac",O.dz),j.set("isLinux",O.IJ),j.set("isWindows",O.ED),j.set("isWeb",O.$L),j.set("isMacNative",O.dz&&!O.$L),j.set("isEdge",Y.indexOf("Edg/")>=0),j.set("isFirefox",Y.indexOf("Firefox")>=0),j.set("isChrome",Y.indexOf("Chrome")>=0),j.set("isSafari",Y.indexOf("Safari")>=0);const _=Object.prototype.hasOwnProperty;class U{static has(n){return t.create(n)}static equals(n,i){return r.create(n,i)}static regex(n,i){return N.create(n,i)}static not(n){return E.create(n)}static and(...n){return K.create(n,null)}static or(...n){return G.create(n,null,!0)}static deserialize(n,i=!1){if(n)return this._deserializeOrExpression(n,i)}static _deserializeOrExpression(n,i){let y=n.split("||");return G.create(y.map(M=>this._deserializeAndExpression(M,i)),null,!0)}static _deserializeAndExpression(n,i){let y=n.split("&&");return K.create(y.map(M=>this._deserializeOne(M,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let y=n.split("!=");return m.create(y[0].trim(),this._deserializeValue(y[1],i))}if(n.indexOf("==")>=0){let y=n.split("==");return r.create(y[0].trim(),this._deserializeValue(y[1],i))}if(n.indexOf("=~")>=0){let y=n.split("=~");return N.create(y[0].trim(),this._deserializeRegexValue(y[1],i))}if(n.indexOf(" in ")>=0){let y=n.split(" in ");return a.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const y=n.split(">=");return v.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const y=n.split(">");return h.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const y=n.split("<=");return l.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const y=n.split("<");return c.create(y[0].trim(),y[1].trim())}return/^\!\s*/.test(n)?E.create(n.substr(1).trim()):t.create(n)}static _deserializeValue(n,i){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let y=/^'([^']*)'$/.exec(n);return y?y[1].trim():n}static _deserializeRegexValue(n,i){if((0,k.m5)(n)){if(i)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let y=n.indexOf("/"),M=n.lastIndexOf("/");if(y===M||y<0){if(i)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let le=n.slice(y+1,M),we=n[M+1]==="i"?"i":"";try{return new RegExp(le,we)}catch(Oe){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Oe}`);return console.warn(`bad regexp-value '${n}', parse error: ${Oe}`),null}}}function H(x,n){const i=x?x.substituteConstants():void 0,y=n?n.substituteConstants():void 0;return!i&&!y?!0:!i||!y?!1:i.equals(y)}function e(x,n){return x.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 f.INSTANCE}}s.INSTANCE=new s;class f{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}}f.INSTANCE=new f;class t{constructor(n,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const y=j.get(n);return typeof y=="boolean"?y?f.INSTANCE:s.INSTANCE:new t(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=j.get(this.key);return typeof n=="boolean"?n?f.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=E.create(this.key,this)),this.negated}}class r{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=4}static create(n,i,y=null){if(typeof i=="boolean")return i?t.create(n,y):E.create(n,y);const M=j.get(n);return typeof M=="boolean"?i===(M?"true":"false")?f.INSTANCE:s.INSTANCE:new r(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:w(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=j.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?f.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 a{constructor(n,i){this.key=n,this.valueKey=i,this.type=10,this.negated=null}static create(n,i){return new a(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:w(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 i=n.getValue(this.valueKey),y=n.getValue(this.key);return Array.isArray(i)?i.indexOf(y)>=0:typeof y=="string"&&typeof i=="object"&&i!==null?_.call(i,y):!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,i,y){this.key=n,this.value=i,this.negated=y,this.type=5}static create(n,i,y=null){if(typeof i=="boolean")return i?E.create(n,y):t.create(n,y);const M=j.get(n);return typeof M=="boolean"?i===(M?"true":"false")?s.INSTANCE:f.INSTANCE:new m(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:w(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=j.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?s.INSTANCE:f.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 E{constructor(n,i){this.key=n,this.negated=i,this.type=3}static create(n,i=null){const y=j.get(n);return typeof y=="boolean"?y?s.INSTANCE:f.INSTANCE:new E(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=j.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:f.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 S(x,n){if(typeof x=="string"){const i=parseFloat(x);isNaN(i)||(x=i)}return typeof x=="string"||typeof x=="number"?n(x):s.INSTANCE}class h{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=12}static create(n,i,y=null){return S(i,M=>new h(n,M,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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=l.create(this.key,this.value,this)),this.negated}}class v{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=13}static create(n,i,y=null){return S(i,M=>new v(n,M,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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=c.create(this.key,this.value,this)),this.negated}}class c{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=14}static create(n,i,y=null){return S(i,M=>new c(n,M,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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=v.create(this.key,this.value,this)),this.negated}}class l{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=15}static create(n,i,y=null){return S(i,M=>new l(n,M,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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=h.create(this.key,this.value,this)),this.negated}}class N{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new N(n,i)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.key<n.key)return-1;if(this.key>n.key)return 1;const i=this.regexp?this.regexp.source:"",y=n.regexp?n.regexp.source:"";return i<y?-1:i>y?1:0}equals(n){if(n.type===this.type){const i=this.regexp?this.regexp.source:"",y=n.regexp?n.regexp.source:"";return this.key===n.key&&i===y}return!1}substituteConstants(){return this}evaluate(n){let i=n.getValue(this.key);return this.regexp?this.regexp.test(i):!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=D.create(this)),this.negated}}class D{constructor(n){this._actual=n,this.type=8}static create(n){return new D(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 I(x){let n=null;for(let i=0,y=x.length;i<y;i++){const M=x[i].substituteConstants();if(x[i]!==M&&n===null){n=[];for(let le=0;le<i;le++)n[le]=x[le]}n!==null&&(n[i]=M)}return n===null?x:n}class K{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return K._normalizeArr(n,i)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let i=0,y=this.expr.length;i<y;i++){const M=e(this.expr[i],n.expr[i]);if(M!==0)return M}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=I(this.expr);return n===this.expr?this:K.create(n,this.negated)}evaluate(n){for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].evaluate(n))return!1;return!0}static _normalizeArr(n,i){const y=[];let M=!1;for(const le of n)if(le){if(le.type===1){M=!0;continue}if(le.type===0)return s.INSTANCE;if(le.type===6){y.push(...le.expr);continue}y.push(le)}if(y.length===0&&M)return f.INSTANCE;if(y.length!==0){if(y.length===1)return y[0];y.sort(e);for(let le=1;le<y.length;le++)y[le-1].equals(y[le])&&(y.splice(le,1),le--);if(y.length===1)return y[0];for(;y.length>1;){const le=y[y.length-1];if(le.type!==9)break;y.pop();const we=y.pop(),Oe=y.length===0,je=G.create(le.expr.map(Ye=>K.create([Ye,we],null)),null,Oe);je&&(y.push(je),y.sort(e))}return y.length===1?y[0]:new K(y,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){const n=[];for(let i of this.expr)n.push(i.negate());this.negated=G.create(n,this,!0)}return this.negated}}class G{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,y){return G._normalizeArr(n,i,y)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let i=0,y=this.expr.length;i<y;i++){const M=e(this.expr[i],n.expr[i]);if(M!==0)return M}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=I(this.expr);return n===this.expr?this:G.create(n,this.negated,!1)}evaluate(n){for(let i=0,y=this.expr.length;i<y;i++)if(this.expr[i].evaluate(n))return!0;return!1}static _normalizeArr(n,i,y){let M=[],le=!1;if(n){for(let we=0,Oe=n.length;we<Oe;we++){const je=n[we];if(je){if(je.type===0){le=!0;continue}if(je.type===1)return f.INSTANCE;if(je.type===9){M=M.concat(je.expr);continue}M.push(je)}}if(M.length===0&&le)return s.INSTANCE;M.sort(e)}if(M.length!==0){if(M.length===1)return M[0];for(let we=1;we<M.length;we++)M[we-1].equals(M[we])&&(M.splice(we,1),we--);if(M.length===1)return M[0];if(y){for(let we=0;we<M.length;we++)for(let Oe=we+1;Oe<M.length;Oe++)P(M[we],M[Oe])&&(M.splice(Oe,1),Oe--);if(M.length===1)return M[0]}return new G(M,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" || ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){let n=[];for(let i of this.expr)n.push(i.negate());for(;n.length>1;){const i=n.shift(),y=n.shift(),M=[];for(const we of T(i))for(const Oe of T(y))M.push(K.create([we,Oe],null));const le=n.length===0;n.unshift(G.create(M,null,le))}this.negated=n[0]}return this.negated}}class F extends t{constructor(n,i,y){super(n,null),this._defaultValue=i,typeof y=="object"?F._info.push(Object.assign(Object.assign({},y),{key:n})):y!==!0&&F._info.push({key:n,description:y,type:i!=null?typeof i:void 0})}static all(){return F._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)}}F._info=[];const ge=(0,z.yh)("contextKeyService"),b="setContext";function d(x,n){return x<n?-1:x>n?1:0}function w(x,n,i,y){return x<i?-1:x>i?1:n<y?-1:n>y?1:0}function P(x,n){if(n.type===6&&x.type!==9&&x.type!==6){for(const M of n.expr)if(x.equals(M))return!0}const i=x.negate(),y=T(i).concat(T(n));y.sort(e);for(let M=0;M<y.length;M++){const we=y[M].negate();for(let Oe=M+1;Oe<y.length;Oe++){const je=y[Oe];if(we.equals(je))return!0}}return!1}function T(x){return x.type===9?x.expr:[x]}},16925:function(Lt,Te,u){"use strict";u.d(Te,{I8:function(){return O},TG:function(){return k},jt:function(){return j},yh:function(){return Y}});var O;(function(_){_.serviceIds=new Map,_.DI_TARGET="$di$target",_.DI_DEPENDENCIES="$di$dependencies";function U(H){return H[_.DI_DEPENDENCIES]||[]}_.getServiceDependencies=U})(O||(O={}));const k=Y("instantiationService");function z(_,U,H,e){U[O.DI_TARGET]===U?U[O.DI_DEPENDENCIES].push({id:_,index:H,optional:e}):(U[O.DI_DEPENDENCIES]=[{id:_,index:H,optional:e}],U[O.DI_TARGET]=U)}function Y(_){if(O.serviceIds.has(_))return O.serviceIds.get(_);const U=function(H,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");z(U,H,s,!1)};return U.toString=()=>_,O.serviceIds.set(_,U),U}function j(_){return function(U,H,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");z(_,U,e,!0)}}},44650:function(Lt,Te,u){"use strict";u.d(Te,{B:function(){return Y}});var O=u(76068),k=u(72999);class z{constructor(){this.data=new Map}add(_,U){O.ok(k.HD(_)),O.ok(k.Kn(U)),O.ok(!this.data.has(_),"There is already an extension with this id"),this.data.set(_,U)}as(_){return this.data.get(_)||null}}const Y=new z},66213:function(Lt,Te,u){"use strict";u.d(Te,{e:function(){return O}});var O;(function(k){k.DARK="dark",k.LIGHT="light",k.HIGH_CONTRAST="hc"})(O||(O={}))},49055:function(Lt,Te,u){"use strict";u.d(Te,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return U},bB:function(){return m},kS:function(){return s},m6:function(){return f}});var O=u(52615),k=u(4348),z=u(69323),Y=u(16925),j=u(44650),_=u(66213);const U=(0,Y.yh)("themeService");var H;(function(E){function S(h){return h&&typeof h=="object"&&typeof h.id=="string"}E.isThemeColor=S})(H||(H={}));function e(E){return{id:E}}var s;(function(E){function S(D){return D&&typeof D=="object"&&typeof D.id=="string"&&(typeof D.color=="undefined"||H.isThemeColor(D.color))}E.isThemeIcon=S;const h=new RegExp(`^\\$\\((${O.dT.iconNameExpression}(?:${O.dT.iconModifierExpression})?)\\)$`);function v(D){const I=h.exec(D);if(!I)return;let[,K]=I;return{id:K}}E.fromString=v;function c(D,I){let K=D.id;const G=K.lastIndexOf("~");return G!==-1&&(K=K.substring(0,G)),I&&(K=`${K}~${I}`),{id:K}}E.modify=c;function l(D,I){var K,G;return D.id===I.id&&((K=D.color)===null||K===void 0?void 0:K.id)===((G=I.color)===null||G===void 0?void 0:G.id)}E.isEqual=l;function N(D,I){return{id:D.id,color:I?e(I):void 0}}E.asThemeIcon=N,E.asClassNameArray=O.dT.asClassNameArray,E.asClassName=O.dT.asClassName,E.asCSSSelector=O.dT.asCSSSelector})(s||(s={}));function f(E){switch(E){case _.e.DARK:return"vs-dark";case _.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(S){return this.themingParticipants.push(S),this.onThemingParticipantAddedEmitter.fire(S),(0,z.OF)(()=>{const h=this.themingParticipants.indexOf(S);this.themingParticipants.splice(h,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;j.B.add(t.ThemingContribution,a);function o(E){return a.onColorThemeChange(E)}class m extends z.JT{constructor(S){super(),this.themeService=S,this.theme=S.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(h=>this.onThemeChange(h)))}onThemeChange(S){this.theme=S,this.updateStyles()}updateStyles(){}}},16632:function(Lt,Te,u){"use strict";var O=u(67711),k=u(98506),z=u(52873),Y=u(16886),j=u(33346),_=u(92310),U=u.n(_),H=u(18929),e=u(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],f=(0,e.forwardRef)(function(t,r){var a=t.prefixCls,o=a===void 0?"rc-checkbox":a,m=t.className,E=t.style,S=t.checked,h=t.disabled,v=t.defaultChecked,c=v===void 0?!1:v,l=t.type,N=l===void 0?"checkbox":l,D=t.title,I=t.onChange,K=(0,j.Z)(t,s),G=(0,e.useRef)(null),F=(0,e.useRef)(null),ge=(0,H.Z)(c,{value:S}),b=(0,Y.Z)(ge,2),d=b[0],w=b[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var i;(i=G.current)===null||i===void 0||i.focus(n)},blur:function(){var n;(n=G.current)===null||n===void 0||n.blur()},input:G.current,nativeElement:F.current}});var P=U()(o,m,(0,z.Z)((0,z.Z)({},"".concat(o,"-checked"),d),"".concat(o,"-disabled"),h)),T=function(n){h||("checked"in t||w(n.target.checked),I==null||I({target:(0,k.Z)((0,k.Z)({},t),{},{type:N,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:P,title:D,style:E,ref:F},e.createElement("input",(0,O.Z)({},K,{className:"".concat(o,"-input"),ref:G,onChange:T,disabled:h,checked:!!d,type:N})),e.createElement("span",{className:"".concat(o,"-inner")}))});Te.Z=f},96478:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return D}});var O=u(67711),k=u(52873),z=u(16886),Y=u(33346),j=u(65030),_=u(92310),U=u.n(_),H=u(8654),e=u(59301),s=u(10228),f=u(16089),t=s.Z.ESC,r=s.Z.TAB;function a(I){var K=I.visible,G=I.triggerRef,F=I.onVisibleChange,ge=I.autoFocus,b=I.overlayRef,d=e.useRef(!1),w=function(){if(K){var n,i;(n=G.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),F==null||F(!1)}},P=function(){var n;return(n=b.current)!==null&&n!==void 0&&n.focus?(b.current.focus(),d.current=!0,!0):!1},T=function(n){switch(n.keyCode){case t:w();break;case r:{var i=!1;d.current||(i=P()),i?n.preventDefault():w();break}}};e.useEffect(function(){return K?(window.addEventListener("keydown",T),ge&&(0,f.Z)(P,3),function(){window.removeEventListener("keydown",T),d.current=!1}):function(){d.current=!1}},[K])}var o=(0,e.forwardRef)(function(I,K){var G=I.overlay,F=I.arrow,ge=I.prefixCls,b=(0,e.useMemo)(function(){var w;return typeof G=="function"?w=G():w=G,w},[G]),d=(0,H.sQ)(K,(0,H.C4)(b));return e.createElement(e.Fragment,null,F&&e.createElement("div",{className:"".concat(ge,"-arrow")}),e.cloneElement(b,{ref:(0,H.Yr)(b)?d:void 0}))}),m=o,E={adjustX:1,adjustY:1},S=[0,0],h={topLeft:{points:["bl","tl"],overflow:E,offset:[0,-4],targetOffset:S},top:{points:["bc","tc"],overflow:E,offset:[0,-4],targetOffset:S},topRight:{points:["br","tr"],overflow:E,offset:[0,-4],targetOffset:S},bottomLeft:{points:["tl","bl"],overflow:E,offset:[0,4],targetOffset:S},bottom:{points:["tc","bc"],overflow:E,offset:[0,4],targetOffset:S},bottomRight:{points:["tr","br"],overflow:E,offset:[0,4],targetOffset:S}},v=h,c=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function l(I,K){var G,F=I.arrow,ge=F===void 0?!1:F,b=I.prefixCls,d=b===void 0?"rc-dropdown":b,w=I.transitionName,P=I.animation,T=I.align,x=I.placement,n=x===void 0?"bottomLeft":x,i=I.placements,y=i===void 0?v:i,M=I.getPopupContainer,le=I.showAction,we=I.hideAction,Oe=I.overlayClassName,je=I.overlayStyle,Ye=I.visible,At=I.trigger,xe=At===void 0?["hover"]:At,qe=I.autoFocus,Ze=I.overlay,pe=I.children,ue=I.onVisibleChange,te=(0,Y.Z)(I,c),g=e.useState(),Z=(0,z.Z)(g,2),R=Z[0],ne=Z[1],re="visible"in I?Ye:R,C=e.useRef(null),p=e.useRef(null),B=e.useRef(null);e.useImperativeHandle(K,function(){return C.current});var J=function(Le){ne(Le),ue==null||ue(Le)};a({visible:re,triggerRef:B,onVisibleChange:J,autoFocus:qe,overlayRef:p});var L=function(Le){var Me=I.onOverlayClick;ne(!1),Me&&Me(Le)},$=function(){return e.createElement(m,{ref:p,overlay:Ze,prefixCls:d,arrow:ge})},W=function(){return typeof Ze=="function"?$:$()},fe=function(){var Le=I.minOverlayWidthMatchTrigger,Me=I.alignPoint;return"minOverlayWidthMatchTrigger"in I?Le:!Me},se=function(){var Le=I.openClassName;return Le!==void 0?Le:"".concat(d,"-open")},Ce=e.cloneElement(pe,{className:U()((G=pe.props)===null||G===void 0?void 0:G.className,re&&se()),ref:(0,H.Yr)(pe)?(0,H.sQ)(B,(0,H.C4)(pe)):void 0}),Ae=we;return!Ae&&xe.indexOf("contextMenu")!==-1&&(Ae=["click"]),e.createElement(j.Z,(0,O.Z)({builtinPlacements:y},te,{prefixCls:d,ref:C,popupClassName:U()(Oe,(0,k.Z)({},"".concat(d,"-show-arrow"),ge)),popupStyle:je,action:xe,showAction:le,hideAction:Ae,popupPlacement:n,popupAlign:T,popupTransitionName:w,popupAnimation:P,popupVisible:re,stretch:fe()?"minWidth":"",popup:W(),onPopupVisibleChange:J,onPopupClick:L,getPopupContainer:M}),Ce)}var N=e.forwardRef(l),D=N},66003:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return U}});var O=u(33346),k=u(98506),z=u(26420),Y=u(59301),j=["show"];function _(H,e){if(!e.max)return!0;var s=e.strategy(H);return s<=e.max}function U(H,e){return Y.useMemo(function(){var s={};e&&(s.show=(0,z.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,k.Z)((0,k.Z)({},s),H);var f=s,t=f.show,r=(0,O.Z)(f,j);return(0,k.Z)((0,k.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(a){return a.length}})},[H,e])}},36901:function(Lt,Te,u){"use strict";u.r(Te),u.d(Te,{BaseInput:function(){return s},default:function(){return v}});var O=u(98506),k=u(67711),z=u(52873),Y=u(26420),j=u(92310),_=u.n(j),U=u(59301),H=u(30292),e=U.forwardRef(function(c,l){var N,D,I,K=c.inputElement,G=c.children,F=c.prefixCls,ge=c.prefix,b=c.suffix,d=c.addonBefore,w=c.addonAfter,P=c.className,T=c.style,x=c.disabled,n=c.readOnly,i=c.focused,y=c.triggerFocus,M=c.allowClear,le=c.value,we=c.handleReset,Oe=c.hidden,je=c.classes,Ye=c.classNames,At=c.dataAttrs,xe=c.styles,qe=c.components,Ze=c.onClear,pe=G!=null?G:K,ue=(qe==null?void 0:qe.affixWrapper)||"span",te=(qe==null?void 0:qe.groupWrapper)||"span",g=(qe==null?void 0:qe.wrapper)||"span",Z=(qe==null?void 0:qe.groupAddon)||"span",R=(0,U.useRef)(null),ne=function(st){var Je;(Je=R.current)!==null&&Je!==void 0&&Je.contains(st.target)&&(y==null||y())},re=(0,H.X3)(c),C=(0,U.cloneElement)(pe,{value:le,className:_()((N=pe.props)===null||N===void 0?void 0:N.className,!re&&(Ye==null?void 0:Ye.variant))||null}),p=(0,U.useRef)(null);if(U.useImperativeHandle(l,function(){return{nativeElement:p.current||R.current}}),re){var B=null;if(M){var J=!x&&!n&&le,L="".concat(F,"-clear-icon"),$=(0,Y.Z)(M)==="object"&&M!==null&&M!==void 0&&M.clearIcon?M.clearIcon:"\u2716";B=U.createElement("button",{type:"button",tabIndex:-1,onClick:function(st){we==null||we(st),Ze==null||Ze()},onMouseDown:function(st){return st.preventDefault()},className:_()(L,(0,z.Z)((0,z.Z)({},"".concat(L,"-hidden"),!J),"".concat(L,"-has-suffix"),!!b))},$)}var W="".concat(F,"-affix-wrapper"),fe=_()(W,(0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)({},"".concat(F,"-disabled"),x),"".concat(W,"-disabled"),x),"".concat(W,"-focused"),i),"".concat(W,"-readonly"),n),"".concat(W,"-input-with-clear-btn"),b&&M&&le),je==null?void 0:je.affixWrapper,Ye==null?void 0:Ye.affixWrapper,Ye==null?void 0:Ye.variant),se=(b||M)&&U.createElement("span",{className:_()("".concat(F,"-suffix"),Ye==null?void 0:Ye.suffix),style:xe==null?void 0:xe.suffix},B,b);C=U.createElement(ue,(0,k.Z)({className:fe,style:xe==null?void 0:xe.affixWrapper,onClick:ne},At==null?void 0:At.affixWrapper,{ref:R}),ge&&U.createElement("span",{className:_()("".concat(F,"-prefix"),Ye==null?void 0:Ye.prefix),style:xe==null?void 0:xe.prefix},ge),C,se)}if((0,H.He)(c)){var Ce="".concat(F,"-group"),Ae="".concat(Ce,"-addon"),Xe="".concat(Ce,"-wrapper"),Le=_()("".concat(F,"-wrapper"),Ce,je==null?void 0:je.wrapper,Ye==null?void 0:Ye.wrapper),Me=_()(Xe,(0,z.Z)({},"".concat(Xe,"-disabled"),x),je==null?void 0:je.group,Ye==null?void 0:Ye.groupWrapper);C=U.createElement(te,{className:Me,ref:p},U.createElement(g,{className:Le},d&&U.createElement(Z,{className:Ae},d),C,w&&U.createElement(Z,{className:Ae},w)))}return U.cloneElement(C,{className:_()((D=C.props)===null||D===void 0?void 0:D.className,P)||null,style:(0,O.Z)((0,O.Z)({},(I=C.props)===null||I===void 0?void 0:I.style),T),hidden:Oe})}),s=e,f=u(15142),t=u(16886),r=u(33346),a=u(18929),o=u(2738),m=u(66003),E=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],S=(0,U.forwardRef)(function(c,l){var N=c.autoComplete,D=c.onChange,I=c.onFocus,K=c.onBlur,G=c.onPressEnter,F=c.onKeyDown,ge=c.onKeyUp,b=c.prefixCls,d=b===void 0?"rc-input":b,w=c.disabled,P=c.htmlSize,T=c.className,x=c.maxLength,n=c.suffix,i=c.showCount,y=c.count,M=c.type,le=M===void 0?"text":M,we=c.classes,Oe=c.classNames,je=c.styles,Ye=c.onCompositionStart,At=c.onCompositionEnd,xe=(0,r.Z)(c,E),qe=(0,U.useState)(!1),Ze=(0,t.Z)(qe,2),pe=Ze[0],ue=Ze[1],te=(0,U.useRef)(!1),g=(0,U.useRef)(!1),Z=(0,U.useRef)(null),R=(0,U.useRef)(null),ne=function(dt){Z.current&&(0,H.nH)(Z.current,dt)},re=(0,a.Z)(c.defaultValue,{value:c.value}),C=(0,t.Z)(re,2),p=C[0],B=C[1],J=p==null?"":String(p),L=(0,U.useState)(null),$=(0,t.Z)(L,2),W=$[0],fe=$[1],se=(0,m.Z)(y,i),Ce=se.max||x,Ae=se.strategy(J),Xe=!!Ce&&Ae>Ce;(0,U.useImperativeHandle)(l,function(){var Rt;return{focus:ne,blur:function(){var Ft;(Ft=Z.current)===null||Ft===void 0||Ft.blur()},setSelectionRange:function(Ft,un,Ut){var mt;(mt=Z.current)===null||mt===void 0||mt.setSelectionRange(Ft,un,Ut)},select:function(){var Ft;(Ft=Z.current)===null||Ft===void 0||Ft.select()},input:Z.current,nativeElement:((Rt=R.current)===null||Rt===void 0?void 0:Rt.nativeElement)||Z.current}}),(0,U.useEffect)(function(){g.current&&(g.current=!1),ue(function(Rt){return Rt&&w?!1:Rt})},[w]);var Le=function(dt,Ft,un){var Ut=Ft;if(!te.current&&se.exceedFormatter&&se.max&&se.strategy(Ft)>se.max){if(Ut=se.exceedFormatter(Ft,{max:se.max}),Ft!==Ut){var mt,Qt;fe([((mt=Z.current)===null||mt===void 0?void 0:mt.selectionStart)||0,((Qt=Z.current)===null||Qt===void 0?void 0:Qt.selectionEnd)||0])}}else if(un.source==="compositionEnd")return;B(Ut),Z.current&&(0,H.rJ)(Z.current,dt,D,Ut)};(0,U.useEffect)(function(){if(W){var Rt;(Rt=Z.current)===null||Rt===void 0||Rt.setSelectionRange.apply(Rt,(0,f.Z)(W))}},[W]);var Me=function(dt){Le(dt,dt.target.value,{source:"change"})},ke=function(dt){te.current=!1,Le(dt,dt.currentTarget.value,{source:"compositionEnd"}),At==null||At(dt)},st=function(dt){G&&dt.key==="Enter"&&!g.current&&(g.current=!0,G(dt)),F==null||F(dt)},Je=function(dt){dt.key==="Enter"&&(g.current=!1),ge==null||ge(dt)},He=function(dt){ue(!0),I==null||I(dt)},Kt=function(dt){g.current&&(g.current=!1),ue(!1),K==null||K(dt)},St=function(dt){B(""),ne(),Z.current&&(0,H.rJ)(Z.current,dt,D)},De=Xe&&"".concat(d,"-out-of-range"),Vt=function(){var dt=(0,o.Z)(c,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return U.createElement("input",(0,k.Z)({autoComplete:N},dt,{onChange:Me,onFocus:He,onBlur:Kt,onKeyDown:st,onKeyUp:Je,className:_()(d,(0,z.Z)({},"".concat(d,"-disabled"),w),Oe==null?void 0:Oe.input),style:je==null?void 0:je.input,ref:Z,size:P,type:le,onCompositionStart:function(un){te.current=!0,Ye==null||Ye(un)},onCompositionEnd:ke}))},dn=function(){var dt=Number(Ce)>0;if(n||se.show){var Ft=se.showFormatter?se.showFormatter({value:J,count:Ae,maxLength:Ce}):"".concat(Ae).concat(dt?" / ".concat(Ce):"");return U.createElement(U.Fragment,null,se.show&&U.createElement("span",{className:_()("".concat(d,"-show-count-suffix"),(0,z.Z)({},"".concat(d,"-show-count-has-suffix"),!!n),Oe==null?void 0:Oe.count),style:(0,O.Z)({},je==null?void 0:je.count)},Ft),n)}return null};return U.createElement(s,(0,k.Z)({},xe,{prefixCls:d,className:_()(T,De),handleReset:St,value:J,focused:pe,triggerFocus:ne,suffix:dn(),disabled:w,classes:we,classNames:Oe,styles:je}),Vt())}),h=S,v=h},30292:function(Lt,Te,u){"use strict";u.d(Te,{He:function(){return O},X3:function(){return k},nH:function(){return j},rJ:function(){return Y}});function O(_){return!!(_.addonBefore||_.addonAfter)}function k(_){return!!(_.prefix||_.suffix||_.allowClear)}function z(_,U,H){var e=U.cloneNode(!0),s=Object.create(_,{target:{value:e},currentTarget:{value:e}});return e.value=H,typeof U.selectionStart=="number"&&typeof U.selectionEnd=="number"&&(e.selectionStart=U.selectionStart,e.selectionEnd=U.selectionEnd),e.setSelectionRange=function(){U.setSelectionRange.apply(U,arguments)},s}function Y(_,U,H,e){if(H){var s=U;if(U.type==="click"){s=z(U,_,""),H(s);return}if(_.type!=="file"&&e!==void 0){s=z(U,_,e),H(s);return}H(s)}}function j(_,U){if(_){_.focus(U);var H=U||{},e=H.cursor;if(e){var s=_.value.length;switch(e){case"start":_.setSelectionRange(0,0);break;case"end":_.setSelectionRange(s,s);break;default:_.setSelectionRange(0,s)}}}}},28321:function(Lt,Te,u){"use strict";u.d(Te,{iz:function(){return Q},ck:function(){return Ut},BW:function(){return ze},sN:function(){return Ut},Wd:function(){return pn},ZP:function(){return Ie},Xl:function(){return G}});var O=u(67711),k=u(52873),z=u(98506),Y=u(15142),j=u(16886),_=u(33346),U=u(92310),H=u.n(U),e=u(11780),s=u(18929),f=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function m(V,ce){return V===void 0?null:"".concat(V,"-").concat(ce)}function E(V){var ce=r.useContext(o);return m(ce,V)}var S=u(80547),h=["children","locked"],v=r.createContext(null);function c(V,ce){var he=(0,z.Z)({},V);return Object.keys(ce).forEach(function(ve){var Pe=ce[ve];Pe!==void 0&&(he[ve]=Pe)}),he}function l(V){var ce=V.children,he=V.locked,ve=(0,_.Z)(V,h),Pe=r.useContext(v),Ue=(0,S.Z)(function(){return c(Pe,ve)},[Pe,ve],function($e,ot){return!he&&($e[0]!==ot[0]||!(0,f.Z)($e[1],ot[1],!0))});return r.createElement(v.Provider,{value:Ue},ce)}var N=[],D=r.createContext(null);function I(){return r.useContext(D)}var K=r.createContext(N);function G(V){var ce=r.useContext(K);return r.useMemo(function(){return V!==void 0?[].concat((0,Y.Z)(ce),[V]):ce},[ce,V])}var F=r.createContext(null),ge=r.createContext({}),b=ge,d=u(29194);function w(V){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,d.Z)(V)){var he=V.nodeName.toLowerCase(),ve=["input","select","textarea","button"].includes(he)||V.isContentEditable||he==="a"&&!!V.getAttribute("href"),Pe=V.getAttribute("tabindex"),Ue=Number(Pe),$e=null;return Pe&&!Number.isNaN(Ue)?$e=Ue:ve&&$e===null&&($e=0),ve&&V.disabled&&($e=null),$e!==null&&($e>=0||ce&&$e<0)}return!1}function P(V){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=(0,Y.Z)(V.querySelectorAll("*")).filter(function(ve){return w(ve,ce)});return w(V,ce)&&he.unshift(V),he}var T=null;function x(){T=document.activeElement}function n(){T=null}function i(){if(T)try{T.focus()}catch(V){}}function y(V,ce){if(ce.keyCode===9){var he=P(V),ve=he[ce.shiftKey?0:he.length-1],Pe=ve===document.activeElement||V===document.activeElement;if(Pe){var Ue=he[ce.shiftKey?he.length-1:0];Ue.focus(),ce.preventDefault()}}}var M=u(10228),le=u(16089),we=M.Z.LEFT,Oe=M.Z.RIGHT,je=M.Z.UP,Ye=M.Z.DOWN,At=M.Z.ENTER,xe=M.Z.ESC,qe=M.Z.HOME,Ze=M.Z.END,pe=[je,Ye,we,Oe];function ue(V,ce,he,ve){var Pe,Ue="prev",$e="next",ot="children",_t="parent";if(V==="inline"&&ve===At)return{inlineTrigger:!0};var bt=(0,k.Z)((0,k.Z)({},je,Ue),Ye,$e),on=(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},we,he?$e:Ue),Oe,he?Ue:$e),Ye,ot),At,ot),wt=(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},je,Ue),Ye,$e),At,ot),xe,_t),we,he?ot:_t),Oe,he?_t:ot),Et={inline:bt,horizontal:on,vertical:wt,inlineSub:bt,horizontalSub:wt,verticalSub:wt},Mt=(Pe=Et["".concat(V).concat(ce?"":"Sub")])===null||Pe===void 0?void 0:Pe[ve];switch(Mt){case Ue:return{offset:-1,sibling:!0};case $e:return{offset:1,sibling:!0};case _t:return{offset:-1,sibling:!1};case ot:return{offset:1,sibling:!1};default:return null}}function te(V){for(var ce=V;ce;){if(ce.getAttribute("data-menu-list"))return ce;ce=ce.parentElement}return null}function g(V,ce){for(var he=V||document.activeElement;he;){if(ce.has(he))return he;he=he.parentElement}return null}function Z(V,ce){var he=P(V,!0);return he.filter(function(ve){return ce.has(ve)})}function R(V,ce,he){var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!V)return null;var Pe=Z(V,ce),Ue=Pe.length,$e=Pe.findIndex(function(ot){return he===ot});return ve<0?$e===-1?$e=Ue-1:$e-=1:ve>0&&($e+=1),$e=($e+Ue)%Ue,Pe[$e]}var ne=function(ce,he){var ve=new Set,Pe=new Map,Ue=new Map;return ce.forEach(function($e){var ot=document.querySelector("[data-menu-id='".concat(m(he,$e),"']"));ot&&(ve.add(ot),Ue.set(ot,$e),Pe.set($e,ot))}),{elements:ve,key2element:Pe,element2key:Ue}};function re(V,ce,he,ve,Pe,Ue,$e,ot,_t,bt){var on=r.useRef(),wt=r.useRef();wt.current=ce;var Et=function(){le.Z.cancel(on.current)};return r.useEffect(function(){return function(){Et()}},[]),function(Mt){var Ht=Mt.which;if([].concat(pe,[At,xe,qe,Ze]).includes(Ht)){var zt=Ue(),xt=ne(zt,ve),Pt=xt,tt=Pt.elements,ut=Pt.key2element,ht=Pt.element2key,$t=ut.get(ce),kt=g($t,tt),jt=ht.get(kt),On=ue(V,$e(jt,!0).length===1,he,Ht);if(!On&&Ht!==qe&&Ht!==Ze)return;(pe.includes(Ht)||[qe,Ze].includes(Ht))&&Mt.preventDefault();var A=function(be){if(be){var ee=be,oe=be.querySelector("a");oe!=null&&oe.getAttribute("href")&&(ee=oe);var de=ht.get(be);ot(de),Et(),on.current=(0,le.Z)(function(){wt.current===de&&ee.focus()})}};if([qe,Ze].includes(Ht)||On.sibling||!kt){var ae;!kt||V==="inline"?ae=Pe.current:ae=te(kt);var q,ie=Z(ae,tt);Ht===qe?q=ie[0]:Ht===Ze?q=ie[ie.length-1]:q=R(ae,tt,kt,On.offset),A(q)}else if(On.inlineTrigger)_t(jt);else if(On.offset>0)_t(jt,!0),Et(),on.current=(0,le.Z)(function(){xt=ne(zt,ve);var Re=kt.getAttribute("aria-controls"),be=document.getElementById(Re),ee=R(be,xt.elements);A(ee)},5);else if(On.offset<0){var _e=$e(jt,!0),ye=_e[_e.length-2],Ne=ut.get(ye);_t(ye,!1),A(Ne)}}bt==null||bt(Mt)}}function C(V){Promise.resolve().then(V)}var p="__RC_UTIL_PATH_SPLIT__",B=function(ce){return ce.join(p)},J=function(ce){return ce.split(p)},L="rc-menu-more";function $(){var V=r.useState({}),ce=(0,j.Z)(V,2),he=ce[1],ve=(0,r.useRef)(new Map),Pe=(0,r.useRef)(new Map),Ue=r.useState([]),$e=(0,j.Z)(Ue,2),ot=$e[0],_t=$e[1],bt=(0,r.useRef)(0),on=(0,r.useRef)(!1),wt=function(){on.current||he({})},Et=(0,r.useCallback)(function(ut,ht){var $t=B(ht);Pe.current.set($t,ut),ve.current.set(ut,$t),bt.current+=1;var kt=bt.current;C(function(){kt===bt.current&&wt()})},[]),Mt=(0,r.useCallback)(function(ut,ht){var $t=B(ht);Pe.current.delete($t),ve.current.delete(ut)},[]),Ht=(0,r.useCallback)(function(ut){_t(ut)},[]),zt=(0,r.useCallback)(function(ut,ht){var $t=ve.current.get(ut)||"",kt=J($t);return ht&&ot.includes(kt[0])&&kt.unshift(L),kt},[ot]),xt=(0,r.useCallback)(function(ut,ht){return ut.filter(function($t){return $t!==void 0}).some(function($t){var kt=zt($t,!0);return kt.includes(ht)})},[zt]),Pt=function(){var ht=(0,Y.Z)(ve.current.keys());return ot.length&&ht.push(L),ht},tt=(0,r.useCallback)(function(ut){var ht="".concat(ve.current.get(ut)).concat(p),$t=new Set;return(0,Y.Z)(Pe.current.keys()).forEach(function(kt){kt.startsWith(ht)&&$t.add(Pe.current.get(kt))}),$t},[]);return r.useEffect(function(){return function(){on.current=!0}},[]),{registerPath:Et,unregisterPath:Mt,refreshOverflowKeys:Ht,isSubPathKey:xt,getKeyPath:zt,getKeys:Pt,getSubPathKeys:tt}}function W(V){var ce=r.useRef(V);ce.current=V;var he=r.useCallback(function(){for(var ve,Pe=arguments.length,Ue=new Array(Pe),$e=0;$e<Pe;$e++)Ue[$e]=arguments[$e];return(ve=ce.current)===null||ve===void 0?void 0:ve.call.apply(ve,[ce].concat(Ue))},[]);return V?he:void 0}var fe=Math.random().toFixed(5).toString().slice(2),se=0;function Ce(V){var ce=(0,s.Z)(V,{value:V}),he=(0,j.Z)(ce,2),ve=he[0],Pe=he[1];return r.useEffect(function(){se+=1;var Ue="".concat(fe,"-").concat(se);Pe("rc-menu-uuid-".concat(Ue))},[]),ve}var Ae=u(42573),Xe=u(58698),Le=u(74700),Me=u(45080),ke=u(2738),st=u(8654);function Je(V,ce,he,ve){var Pe=r.useContext(v),Ue=Pe.activeKey,$e=Pe.onActive,ot=Pe.onInactive,_t={active:Ue===V};return ce||(_t.onMouseEnter=function(bt){he==null||he({key:V,domEvent:bt}),$e(V)},_t.onMouseLeave=function(bt){ve==null||ve({key:V,domEvent:bt}),ot(V)}),_t}function He(V){var ce=r.useContext(v),he=ce.mode,ve=ce.rtl,Pe=ce.inlineIndent;if(he!=="inline")return null;var Ue=V;return ve?{paddingRight:Ue*Pe}:{paddingLeft:Ue*Pe}}function Kt(V){var ce=V.icon,he=V.props,ve=V.children,Pe;return ce===null||ce===!1?null:(typeof ce=="function"?Pe=r.createElement(ce,(0,z.Z)({},he)):typeof ce!="boolean"&&(Pe=ce),Pe||ve||null)}var St=["item"];function De(V){var ce=V.item,he=(0,_.Z)(V,St);return Object.defineProperty(he,"item",{get:function(){return(0,t.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),ce}}),he}var Vt=["title","attribute","elementRef"],dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Rt=["active"],dt=function(V){(0,Le.Z)(he,V);var ce=(0,Me.Z)(he);function he(){return(0,Ae.Z)(this,he),ce.apply(this,arguments)}return(0,Xe.Z)(he,[{key:"render",value:function(){var Pe=this.props,Ue=Pe.title,$e=Pe.attribute,ot=Pe.elementRef,_t=(0,_.Z)(Pe,Vt),bt=(0,ke.Z)(_t,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!$e,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,O.Z)({},$e,{title:typeof Ue=="string"?Ue:void 0},bt,{ref:ot}))}}]),he}(r.Component),Ft=r.forwardRef(function(V,ce){var he=V.style,ve=V.className,Pe=V.eventKey,Ue=V.warnKey,$e=V.disabled,ot=V.itemIcon,_t=V.children,bt=V.role,on=V.onMouseEnter,wt=V.onMouseLeave,Et=V.onClick,Mt=V.onKeyDown,Ht=V.onFocus,zt=(0,_.Z)(V,dn),xt=E(Pe),Pt=r.useContext(v),tt=Pt.prefixCls,ut=Pt.onItemClick,ht=Pt.disabled,$t=Pt.overflowDisabled,kt=Pt.itemIcon,jt=Pt.selectedKeys,On=Pt.onActive,A=r.useContext(b),ae=A._internalRenderMenuItem,q="".concat(tt,"-item"),ie=r.useRef(),_e=r.useRef(),ye=ht||$e,Ne=(0,st.x1)(ce,_e),Re=G(Pe),be=function(pt){return{key:Pe,keyPath:(0,Y.Z)(Re).reverse(),item:ie.current,domEvent:pt}},ee=ot||kt,oe=Je(Pe,ye,on,wt),de=oe.active,me=(0,_.Z)(oe,Rt),Ee=jt.includes(Pe),Ve=He(Re.length),ct=function(pt){if(!ye){var hn=be(pt);Et==null||Et(De(hn)),ut(hn)}},rt=function(pt){if(Mt==null||Mt(pt),pt.which===M.Z.ENTER){var hn=be(pt);Et==null||Et(De(hn)),ut(hn)}},Nt=function(pt){On(Pe),Ht==null||Ht(pt)},Bt={};V.role==="option"&&(Bt["aria-selected"]=Ee);var Ot=r.createElement(dt,(0,O.Z)({ref:ie,elementRef:Ne,role:bt===null?"none":bt||"menuitem",tabIndex:$e?null:-1,"data-menu-id":$t&&xt?null:xt},(0,ke.Z)(zt,["extra"]),me,Bt,{component:"li","aria-disabled":$e,style:(0,z.Z)((0,z.Z)({},Ve),he),className:H()(q,(0,k.Z)((0,k.Z)((0,k.Z)({},"".concat(q,"-active"),de),"".concat(q,"-selected"),Ee),"".concat(q,"-disabled"),ye),ve),onClick:ct,onKeyDown:rt,onFocus:Nt}),_t,r.createElement(Kt,{props:(0,z.Z)((0,z.Z)({},V),{},{isSelected:Ee}),icon:ee}));return ae&&(Ot=ae(Ot,V,{selected:Ee})),Ot});function un(V,ce){var he=V.eventKey,ve=I(),Pe=G(he);return r.useEffect(function(){if(ve)return ve.registerPath(he,Pe),function(){ve.unregisterPath(he,Pe)}},[Pe]),ve?null:r.createElement(Ft,(0,O.Z)({},V,{ref:ce}))}var Ut=r.forwardRef(un),mt=["className","children"],Qt=function(ce,he){var ve=ce.className,Pe=ce.children,Ue=(0,_.Z)(ce,mt),$e=r.useContext(v),ot=$e.prefixCls,_t=$e.mode,bt=$e.rtl;return r.createElement("ul",(0,O.Z)({className:H()(ot,bt&&"".concat(ot,"-rtl"),"".concat(ot,"-sub"),"".concat(ot,"-").concat(_t==="inline"?"inline":"vertical"),ve),role:"menu"},Ue,{"data-menu-list":!0,ref:he}),Pe)},bn=r.forwardRef(Qt);bn.displayName="SubMenuList";var Tt=bn,ft=u(11592);function yt(V,ce){return(0,ft.Z)(V).map(function(he,ve){if(r.isValidElement(he)){var Pe,Ue,$e=he.key,ot=(Pe=(Ue=he.props)===null||Ue===void 0?void 0:Ue.eventKey)!==null&&Pe!==void 0?Pe:$e,_t=ot==null;_t&&(ot="tmp_key-".concat([].concat((0,Y.Z)(ce),[ve]).join("-")));var bt={key:ot,eventKey:ot};return r.cloneElement(he,bt)}return he})}var Bn=u(65030),mn={adjustX:1,adjustY:1},Ln={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},leftTop:{points:["tr","tl"],overflow:mn},leftBottom:{points:["br","bl"],overflow:mn},rightTop:{points:["tl","tr"],overflow:mn},rightBottom:{points:["bl","br"],overflow:mn}},Wn={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},rightTop:{points:["tr","tl"],overflow:mn},rightBottom:{points:["br","bl"],overflow:mn},leftTop:{points:["tl","tr"],overflow:mn},leftBottom:{points:["bl","br"],overflow:mn}},wn=null;function Rn(V,ce,he){if(ce)return ce;if(he)return he[V]||he.other}var Kn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Nn(V){var ce=V.prefixCls,he=V.visible,ve=V.children,Pe=V.popup,Ue=V.popupStyle,$e=V.popupClassName,ot=V.popupOffset,_t=V.disabled,bt=V.mode,on=V.onVisibleChange,wt=r.useContext(v),Et=wt.getPopupContainer,Mt=wt.rtl,Ht=wt.subMenuOpenDelay,zt=wt.subMenuCloseDelay,xt=wt.builtinPlacements,Pt=wt.triggerSubMenuAction,tt=wt.forceSubMenuRender,ut=wt.rootClassName,ht=wt.motion,$t=wt.defaultMotions,kt=r.useState(!1),jt=(0,j.Z)(kt,2),On=jt[0],A=jt[1],ae=Mt?(0,z.Z)((0,z.Z)({},Wn),xt):(0,z.Z)((0,z.Z)({},Ln),xt),q=Kn[bt],ie=Rn(bt,ht,$t),_e=r.useRef(ie);bt!=="inline"&&(_e.current=ie);var ye=(0,z.Z)((0,z.Z)({},_e.current),{},{leavedClassName:"".concat(ce,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Ne=r.useRef();return r.useEffect(function(){return Ne.current=(0,le.Z)(function(){A(he)}),function(){le.Z.cancel(Ne.current)}},[he]),r.createElement(Bn.Z,{prefixCls:ce,popupClassName:H()("".concat(ce,"-popup"),(0,k.Z)({},"".concat(ce,"-rtl"),Mt),$e,ut),stretch:bt==="horizontal"?"minWidth":null,getPopupContainer:Et,builtinPlacements:ae,popupPlacement:q,popupVisible:On,popup:Pe,popupStyle:Ue,popupAlign:ot&&{offset:ot},action:_t?[]:[Pt],mouseEnterDelay:Ht,mouseLeaveDelay:zt,onPopupVisibleChange:on,forceRender:tt,popupMotion:ye,fresh:!0},ve)}var In=u(77900);function En(V){var ce=V.id,he=V.open,ve=V.keyPath,Pe=V.children,Ue="inline",$e=r.useContext(v),ot=$e.prefixCls,_t=$e.forceSubMenuRender,bt=$e.motion,on=$e.defaultMotions,wt=$e.mode,Et=r.useRef(!1);Et.current=wt===Ue;var Mt=r.useState(!Et.current),Ht=(0,j.Z)(Mt,2),zt=Ht[0],xt=Ht[1],Pt=Et.current?he:!1;r.useEffect(function(){Et.current&&xt(!1)},[wt]);var tt=(0,z.Z)({},Rn(Ue,bt,on));ve.length>1&&(tt.motionAppear=!1);var ut=tt.onVisibleChanged;return tt.onVisibleChanged=function(ht){return!Et.current&&!ht&&xt(!0),ut==null?void 0:ut(ht)},zt?null:r.createElement(l,{mode:Ue,locked:!Et.current},r.createElement(In.default,(0,O.Z)({visible:Pt},tt,{forceRender:_t,removeOnLeave:!1,leavedClassName:"".concat(ot,"-hidden")}),function(ht){var $t=ht.className,kt=ht.style;return r.createElement(Tt,{id:ce,className:$t,style:kt},Pe)}))}var Tn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],at=["active"],it=r.forwardRef(function(V,ce){var he=V.style,ve=V.className,Pe=V.title,Ue=V.eventKey,$e=V.warnKey,ot=V.disabled,_t=V.internalPopupClose,bt=V.children,on=V.itemIcon,wt=V.expandIcon,Et=V.popupClassName,Mt=V.popupOffset,Ht=V.popupStyle,zt=V.onClick,xt=V.onMouseEnter,Pt=V.onMouseLeave,tt=V.onTitleClick,ut=V.onTitleMouseEnter,ht=V.onTitleMouseLeave,$t=(0,_.Z)(V,Tn),kt=E(Ue),jt=r.useContext(v),On=jt.prefixCls,A=jt.mode,ae=jt.openKeys,q=jt.disabled,ie=jt.overflowDisabled,_e=jt.activeKey,ye=jt.selectedKeys,Ne=jt.itemIcon,Re=jt.expandIcon,be=jt.onItemClick,ee=jt.onOpenChange,oe=jt.onActive,de=r.useContext(b),me=de._internalRenderSubMenuItem,Ee=r.useContext(F),Ve=Ee.isSubPathKey,ct=G(),rt="".concat(On,"-submenu"),Nt=q||ot,Bt=r.useRef(),Ot=r.useRef(),Yt=on!=null?on:Ne,pt=wt!=null?wt:Re,hn=ae.includes(Ue),rn=!ie&&hn,_n=Ve(ye,Ue),Gt=Je(Ue,Nt,ut,ht),tn=Gt.active,vn=(0,_.Z)(Gt,at),an=r.useState(!1),cn=(0,j.Z)(an,2),It=cn[0],vt=cn[1],Dt=function(Cn){Nt||vt(Cn)},Xt=function(Cn){Dt(!0),xt==null||xt({key:Ue,domEvent:Cn})},fn=function(Cn){Dt(!1),Pt==null||Pt({key:Ue,domEvent:Cn})},sn=r.useMemo(function(){return tn||(A!=="inline"?It||Ve([_e],Ue):!1)},[A,tn,_e,It,Ue,Ve]),ln=He(ct.length),Un=function(Cn){Nt||(tt==null||tt({key:Ue,domEvent:Cn}),A==="inline"&&ee(Ue,!hn))},Xn=W(function(yn){zt==null||zt(De(yn)),be(yn)}),$n=function(Cn){A!=="inline"&&ee(Ue,Cn)},or=function(){oe(Ue)},ir=kt&&"".concat(kt,"-popup"),qn=r.useMemo(function(){return r.createElement(Kt,{icon:A!=="horizontal"?pt:void 0,props:(0,z.Z)((0,z.Z)({},V),{},{isOpen:rn,isSubMenu:!0})},r.createElement("i",{className:"".concat(rt,"-arrow")}))},[A,pt,V,rn,rt]),gn=r.createElement("div",(0,O.Z)({role:"menuitem",style:ln,className:"".concat(rt,"-title"),tabIndex:Nt?null:-1,ref:Bt,title:typeof Pe=="string"?Pe:null,"data-menu-id":ie&&kt?null:kt,"aria-expanded":rn,"aria-haspopup":!0,"aria-controls":ir,"aria-disabled":Nt,onClick:Un,onFocus:or},vn),Pe,qn),kn=r.useRef(A);if(A!=="inline"&&ct.length>1?kn.current="vertical":kn.current=A,!ie){var Gn=kn.current;gn=r.createElement(Nn,{mode:Gn,prefixCls:rt,visible:!_t&&rn&&A!=="inline",popupClassName:Et,popupOffset:Mt,popupStyle:Ht,popup:r.createElement(l,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(Tt,{id:ir,ref:Ot},bt)),disabled:Nt,onVisibleChange:$n},gn)}var xn=r.createElement(e.Z.Item,(0,O.Z)({ref:ce,role:"none"},$t,{component:"li",style:he,className:H()(rt,"".concat(rt,"-").concat(A),ve,(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},"".concat(rt,"-open"),rn),"".concat(rt,"-active"),sn),"".concat(rt,"-selected"),_n),"".concat(rt,"-disabled"),Nt)),onMouseEnter:Xt,onMouseLeave:fn}),gn,!ie&&r.createElement(En,{id:ir,open:rn,keyPath:ct},bt));return me&&(xn=me(xn,V,{selected:_n,active:sn,open:rn,disabled:Nt})),r.createElement(l,{onItemClick:Xn,mode:A==="horizontal"?"vertical":A,itemIcon:Yt,expandIcon:pt},xn)}),en=r.forwardRef(function(V,ce){var he=V.eventKey,ve=V.children,Pe=G(he),Ue=yt(ve,Pe),$e=I();r.useEffect(function(){if($e)return $e.registerPath(he,Pe),function(){$e.unregisterPath(he,Pe)}},[Pe]);var ot;return $e?ot=Ue:ot=r.createElement(it,(0,O.Z)({ref:ce},V),Ue),r.createElement(K.Provider,{value:Pe},ot)}),pn=en,An=u(26420);function Q(V){var ce=V.className,he=V.style,ve=r.useContext(v),Pe=ve.prefixCls,Ue=I();return Ue?null:r.createElement("li",{role:"separator",className:H()("".concat(Pe,"-item-divider"),ce),style:he})}var X=["className","title","eventKey","children"],Ke=r.forwardRef(function(V,ce){var he=V.className,ve=V.title,Pe=V.eventKey,Ue=V.children,$e=(0,_.Z)(V,X),ot=r.useContext(v),_t=ot.prefixCls,bt="".concat(_t,"-item-group");return r.createElement("li",(0,O.Z)({ref:ce,role:"presentation"},$e,{onClick:function(wt){return wt.stopPropagation()},className:H()(bt,he)}),r.createElement("div",{role:"presentation",className:"".concat(bt,"-title"),title:typeof ve=="string"?ve:void 0},ve),r.createElement("ul",{role:"group",className:"".concat(bt,"-list")},Ue))}),Se=r.forwardRef(function(V,ce){var he=V.eventKey,ve=V.children,Pe=G(he),Ue=yt(ve,Pe),$e=I();return $e?Ue:r.createElement(Ke,(0,O.Z)({ref:ce},(0,ke.Z)(V,["warnKey"])),Ue)}),ze=Se,Ge=["label","children","key","type","extra"];function Be(V,ce,he){var ve=ce.item,Pe=ce.group,Ue=ce.submenu,$e=ce.divider;return(V||[]).map(function(ot,_t){if(ot&&(0,An.Z)(ot)==="object"){var bt=ot,on=bt.label,wt=bt.children,Et=bt.key,Mt=bt.type,Ht=bt.extra,zt=(0,_.Z)(bt,Ge),xt=Et!=null?Et:"tmp-".concat(_t);return wt||Mt==="group"?Mt==="group"?r.createElement(Pe,(0,O.Z)({key:xt},zt,{title:on}),Be(wt,ce,he)):r.createElement(Ue,(0,O.Z)({key:xt},zt,{title:on}),Be(wt,ce,he)):Mt==="divider"?r.createElement($e,(0,O.Z)({key:xt},zt)):r.createElement(ve,(0,O.Z)({key:xt},zt,{extra:Ht}),on,(!!Ht||Ht===0)&&r.createElement("span",{className:"".concat(he,"-item-extra")},Ht))}return null}).filter(function(ot){return ot})}function Fe(V,ce,he,ve,Pe){var Ue=V,$e=(0,z.Z)({divider:Q,item:Ut,group:ze,submenu:pn},ve);return ce&&(Ue=Be(ce,$e,Pe)),yt(Ue,he)}var nt=["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"],We=[],et=r.forwardRef(function(V,ce){var he,ve=V,Pe=ve.prefixCls,Ue=Pe===void 0?"rc-menu":Pe,$e=ve.rootClassName,ot=ve.style,_t=ve.className,bt=ve.tabIndex,on=bt===void 0?0:bt,wt=ve.items,Et=ve.children,Mt=ve.direction,Ht=ve.id,zt=ve.mode,xt=zt===void 0?"vertical":zt,Pt=ve.inlineCollapsed,tt=ve.disabled,ut=ve.disabledOverflow,ht=ve.subMenuOpenDelay,$t=ht===void 0?.1:ht,kt=ve.subMenuCloseDelay,jt=kt===void 0?.1:kt,On=ve.forceSubMenuRender,A=ve.defaultOpenKeys,ae=ve.openKeys,q=ve.activeKey,ie=ve.defaultActiveFirst,_e=ve.selectable,ye=_e===void 0?!0:_e,Ne=ve.multiple,Re=Ne===void 0?!1:Ne,be=ve.defaultSelectedKeys,ee=ve.selectedKeys,oe=ve.onSelect,de=ve.onDeselect,me=ve.inlineIndent,Ee=me===void 0?24:me,Ve=ve.motion,ct=ve.defaultMotions,rt=ve.triggerSubMenuAction,Nt=rt===void 0?"hover":rt,Bt=ve.builtinPlacements,Ot=ve.itemIcon,Yt=ve.expandIcon,pt=ve.overflowedIndicator,hn=pt===void 0?"...":pt,rn=ve.overflowedIndicatorPopupClassName,_n=ve.getPopupContainer,Gt=ve.onClick,tn=ve.onOpenChange,vn=ve.onKeyDown,an=ve.openAnimation,cn=ve.openTransitionName,It=ve._internalRenderMenuItem,vt=ve._internalRenderSubMenuItem,Dt=ve._internalComponents,Xt=(0,_.Z)(ve,nt),fn=r.useMemo(function(){return[Fe(Et,wt,We,Dt,Ue),Fe(Et,wt,We,{},Ue)]},[Et,wt,Dt]),sn=(0,j.Z)(fn,2),ln=sn[0],Un=sn[1],Xn=r.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ir=$n[1],qn=r.useRef(),gn=Ce(Ht),kn=Mt==="rtl",Gn=(0,s.Z)(A,{value:ae,postState:function(Vn){return Vn||We}}),xn=(0,j.Z)(Gn,2),yn=xn[0],Cn=xn[1],Ct=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vr(){Cn(Vn),tn==null||tn(Vn)}Yn?(0,a.flushSync)(vr):vr()},Jt=r.useState(yn),qt=(0,j.Z)(Jt,2),nn=qt[0],Pn=qt[1],Zn=r.useRef(!1),ar=r.useMemo(function(){return(xt==="inline"||xt==="vertical")&&Pt?["vertical",Pt]:[xt,!1]},[xt,Pt]),gt=(0,j.Z)(ar,2),Wt=gt[0],Zt=gt[1],Mn=Wt==="inline",zn=r.useState(Wt),Hn=(0,j.Z)(zn,2),cr=Hn[0],dr=Hn[1],lr=r.useState(Zt),Jn=(0,j.Z)(lr,2),Fr=Jn[0],Br=Jn[1];r.useEffect(function(){dr(Wt),Br(Zt),Zn.current&&(Mn?Cn(nn):Ct(We))},[Wt,Zt]);var Sr=r.useState(0),Tr=(0,j.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ar=Nr>=ln.length-1||cr!=="horizontal"||ut;r.useEffect(function(){Mn&&Pn(yn)},[yn]),r.useEffect(function(){return Zn.current=!0,function(){Zn.current=!1}},[]);var br=$(),Mr=br.registerPath,Pr=br.unregisterPath,zr=br.refreshOverflowKeys,kr=br.isSubPathKey,$r=br.getKeyPath,Ir=br.getKeys,Gr=br.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:Mr,unregisterPath:Pr}},[Mr,Pr]),Wr=r.useMemo(function(){return{isSubPathKey:kr}},[kr]);r.useEffect(function(){zr(Ar?We:ln.slice(Nr+1).map(function(tr){return tr.key}))},[Nr,Ar]);var Dr=(0,s.Z)(q||ie&&((he=ln[0])===null||he===void 0?void 0:he.key),{value:q}),hr=(0,j.Z)(Dr,2),ur=hr[0],Dn=hr[1],Sn=W(function(tr){Dn(tr)}),nr=W(function(){Dn(void 0)});(0,r.useImperativeHandle)(ce,function(){return{list:qn.current,focus:function(Vn){var Yn,vr=Ir(),fr=ne(vr,gn),Cr=fr.elements,Xr=fr.key2element,ei=fr.element2key,ti=Z(qn.current,Cr),Jr=ur!=null?ur:ti[0]?ei.get(ti[0]):(Yn=ln.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)(be||[],{value:ee,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?We:[Vn]}}),er=(0,j.Z)(Qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(ye){var Yn=Vn.key,vr=rr.includes(Yn),fr;Re?vr?fr=rr.filter(function(Xr){return Xr!==Yn}):fr=[].concat((0,Y.Z)(rr),[Yn]):fr=[Yn],yr(fr);var Cr=(0,z.Z)((0,z.Z)({},Vn),{},{selectedKeys:fr});vr?de==null||de(Cr):oe==null||oe(Cr)}!Re&&yn.length&&cr!=="inline"&&Ct(We)},xr=W(function(tr){Gt==null||Gt(De(tr)),gr(tr)}),sr=W(function(tr,Vn){var Yn=yn.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,f.Z)(yn,Yn,!0)||Ct(Yn,!0)}),mr=function(Vn,Yn){var vr=Yn!=null?Yn:!yn.includes(Vn);sr(Vn,vr)},Rr=re(cr,ur,kn,gn,qn,Ir,$r,Dn,mr,vn);r.useEffect(function(){ir(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:It,_internalRenderSubMenuItem:vt}},[It,vt]),Yr=cr!=="horizontal"||ut?ln:ln.map(function(tr,Vn){return r.createElement(l,{key:tr.key,overflowDisabled:Vn>Nr},tr)}),qr=r.createElement(e.Z,(0,O.Z)({id:Ht,ref:qn,prefixCls:"".concat(Ue,"-overflow"),component:"ul",itemComponent:Ut,className:H()(Ue,"".concat(Ue,"-root"),"".concat(Ue,"-").concat(cr),_t,(0,k.Z)((0,k.Z)({},"".concat(Ue,"-inline-collapsed"),Fr),"".concat(Ue,"-rtl"),kn),$e),dir:Mt,style:ot,role:"menu",tabIndex:on,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Yn=Vn.length,vr=Yn?ln.slice(-Yn):null;return r.createElement(pn,{eventKey:L,title:hn,disabled:Ar,internalPopupClose:Yn===0,popupClassName:rn},vr)},maxCount:cr!=="horizontal"||ut?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){Or(Vn)},onKeyDown:Rr},Xt));return r.createElement(b.Provider,{value:Er},r.createElement(o.Provider,{value:gn},r.createElement(l,{prefixCls:Ue,rootClassName:$e,mode:cr,openKeys:yn,rtl:kn,disabled:tt,motion:or?Ve:null,defaultMotions:or?ct:null,activeKey:ur,onActive:Sn,onInactive:nr,selectedKeys:rr,inlineIndent:Ee,subMenuOpenDelay:$t,subMenuCloseDelay:jt,forceSubMenuRender:On,builtinPlacements:Bt,triggerSubMenuAction:Nt,getPopupContainer:_n,itemIcon:Ot,expandIcon:Yt,onItemClick:xr,onOpenChange:sr},r.createElement(F.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(D.Provider,{value:jr},Un)))))}),lt=et,Qe=lt;Qe.Item=Ut,Qe.SubMenu=pn,Qe.ItemGroup=ze,Qe.Divider=Q;var Ie=Qe},11780:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return x}});var O=u(67711),k=u(98506),z=u(16886),Y=u(33346),j=u(59301),_=u(92310),U=u.n(_),H=u(29301),e=u(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],f=void 0;function t(n,i){var y=n.prefixCls,M=n.invalidate,le=n.item,we=n.renderItem,Oe=n.responsive,je=n.responsiveDisabled,Ye=n.registerSize,At=n.itemKey,xe=n.className,qe=n.style,Ze=n.children,pe=n.display,ue=n.order,te=n.component,g=te===void 0?"div":te,Z=(0,Y.Z)(n,s),R=Oe&&!pe;function ne(J){Ye(At,J)}j.useEffect(function(){return function(){ne(null)}},[]);var re=we&&le!==f?we(le,{index:ue}):Ze,C;M||(C={opacity:R?0:1,height:R?0:f,overflowY:R?"hidden":f,order:Oe?ue:f,pointerEvents:R?"none":f,position:R?"absolute":f});var p={};R&&(p["aria-hidden"]=!0);var B=j.createElement(g,(0,O.Z)({className:U()(!M&&y,xe),style:(0,k.Z)((0,k.Z)({},C),qe)},p,Z,{ref:i}),re);return Oe&&(B=j.createElement(H.Z,{onResize:function(L){var $=L.offsetWidth;ne($)},disabled:je},B)),B}var r=j.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),m=u(4676),E=u(16089);function S(n){if(typeof MessageChannel=="undefined")(0,E.Z)(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function h(){var n=j.useRef(null),i=function(M){n.current||(n.current=[],S(function(){(0,m.unstable_batchedUpdates)(function(){n.current.forEach(function(le){le()}),n.current=null})})),n.current.push(M)};return i}function v(n,i){var y=j.useState(i),M=(0,z.Z)(y,2),le=M[0],we=M[1],Oe=(0,o.Z)(function(je){n(function(){we(je)})});return[le,Oe]}var c=j.createContext(null),l=["component"],N=["className"],D=["className"],I=function(i,y){var M=j.useContext(c);if(!M){var le=i.component,we=le===void 0?"div":le,Oe=(0,Y.Z)(i,l);return j.createElement(we,(0,O.Z)({},Oe,{ref:y}))}var je=M.className,Ye=(0,Y.Z)(M,N),At=i.className,xe=(0,Y.Z)(i,D);return j.createElement(c.Provider,{value:null},j.createElement(a,(0,O.Z)({ref:y,className:U()(je,At)},Ye,xe)))},K=j.forwardRef(I);K.displayName="RawItem";var G=K,F=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ge="responsive",b="invalidate";function d(n){return"+ ".concat(n.length," ...")}function w(n,i){var y=n.prefixCls,M=y===void 0?"rc-overflow":y,le=n.data,we=le===void 0?[]:le,Oe=n.renderItem,je=n.renderRawItem,Ye=n.itemKey,At=n.itemWidth,xe=At===void 0?10:At,qe=n.ssr,Ze=n.style,pe=n.className,ue=n.maxCount,te=n.renderRest,g=n.renderRawRest,Z=n.suffix,R=n.component,ne=R===void 0?"div":R,re=n.itemComponent,C=n.onVisibleChange,p=(0,Y.Z)(n,F),B=qe==="full",J=h(),L=v(J,null),$=(0,z.Z)(L,2),W=$[0],fe=$[1],se=W||0,Ce=v(J,new Map),Ae=(0,z.Z)(Ce,2),Xe=Ae[0],Le=Ae[1],Me=v(J,0),ke=(0,z.Z)(Me,2),st=ke[0],Je=ke[1],He=v(J,0),Kt=(0,z.Z)(He,2),St=Kt[0],De=Kt[1],Vt=v(J,0),dn=(0,z.Z)(Vt,2),Rt=dn[0],dt=dn[1],Ft=(0,j.useState)(null),un=(0,z.Z)(Ft,2),Ut=un[0],mt=un[1],Qt=(0,j.useState)(null),bn=(0,z.Z)(Qt,2),Tt=bn[0],ft=bn[1],yt=j.useMemo(function(){return Tt===null&&B?Number.MAX_SAFE_INTEGER:Tt||0},[Tt,W]),Bn=(0,j.useState)(!1),mn=(0,z.Z)(Bn,2),Ln=mn[0],Wn=mn[1],wn="".concat(M,"-item"),Rn=Math.max(st,St),Kn=ue===ge,Nn=we.length&&Kn,In=ue===b,En=Nn||typeof ue=="number"&&we.length>ue,Tn=(0,j.useMemo)(function(){var Qe=we;return Nn?W===null&&B?Qe=we:Qe=we.slice(0,Math.min(we.length,se/xe)):typeof ue=="number"&&(Qe=we.slice(0,ue)),Qe},[we,xe,W,ue,Nn]),at=(0,j.useMemo)(function(){return Nn?we.slice(yt+1):we.slice(Tn.length)},[we,Tn,Nn,yt]),it=(0,j.useCallback)(function(Qe,Ie){var V;return typeof Ye=="function"?Ye(Qe):(V=Ye&&(Qe==null?void 0:Qe[Ye]))!==null&&V!==void 0?V:Ie},[Ye]),en=(0,j.useCallback)(Oe||function(Qe){return Qe},[Oe]);function pn(Qe,Ie,V){Tt===Qe&&(Ie===void 0||Ie===Ut)||(ft(Qe),V||(Wn(Qe<we.length-1),C==null||C(Qe)),Ie!==void 0&&mt(Ie))}function An(Qe,Ie){fe(Ie.clientWidth)}function Q(Qe,Ie){Le(function(V){var ce=new Map(V);return Ie===null?ce.delete(Qe):ce.set(Qe,Ie),ce})}function X(Qe,Ie){De(Ie),Je(St)}function Ke(Qe,Ie){dt(Ie)}function Se(Qe){return Xe.get(it(Tn[Qe],Qe))}(0,e.Z)(function(){if(se&&typeof Rn=="number"&&Tn){var Qe=Rt,Ie=Tn.length,V=Ie-1;if(!Ie){pn(0,null);return}for(var ce=0;ce<Ie;ce+=1){var he=Se(ce);if(B&&(he=he||0),he===void 0){pn(ce-1,void 0,!0);break}if(Qe+=he,V===0&&Qe<=se||ce===V-1&&Qe+Se(V)<=se){pn(V,null);break}else if(Qe+Rn>se){pn(ce-1,Qe-he-Rt+St);break}}Z&&Se(0)+Rt>se&&mt(null)}},[se,Xe,St,Rt,it,Tn]);var ze=Ln&&!!at.length,Ge={};Ut!==null&&Nn&&(Ge={position:"absolute",left:Ut,top:0});var Be={prefixCls:wn,responsive:Nn,component:re,invalidate:In},Fe=je?function(Qe,Ie){var V=it(Qe,Ie);return j.createElement(c.Provider,{key:V,value:(0,k.Z)((0,k.Z)({},Be),{},{order:Ie,item:Qe,itemKey:V,registerSize:Q,display:Ie<=yt})},je(Qe,Ie))}:function(Qe,Ie){var V=it(Qe,Ie);return j.createElement(a,(0,O.Z)({},Be,{order:Ie,key:V,item:Qe,renderItem:en,itemKey:V,registerSize:Q,display:Ie<=yt}))},nt={order:ze?yt:Number.MAX_SAFE_INTEGER,className:"".concat(wn,"-rest"),registerSize:X,display:ze},We=te||d,et=g?j.createElement(c.Provider,{value:(0,k.Z)((0,k.Z)({},Be),nt)},g(at)):j.createElement(a,(0,O.Z)({},Be,nt),typeof We=="function"?We(at):We),lt=j.createElement(ne,(0,O.Z)({className:U()(!In&&M,pe),style:Ze,ref:i},p),Tn.map(Fe),En?et:null,Z&&j.createElement(a,(0,O.Z)({},Be,{responsive:Kn,responsiveDisabled:!Nn,order:yt,className:"".concat(wn,"-suffix"),registerSize:Ke,display:!0,style:Ge}),Z));return Kn?j.createElement(H.Z,{onResize:An,disabled:!Nn},lt):lt}var P=j.forwardRef(w);P.displayName="Overflow",P.Item=G,P.RESPONSIVE=ge,P.INVALIDATE=b;var T=P,x=T},23425:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return D}});var O=u(52873),k=u(67711),z=u(26420),Y=u(98506),j=u(16886),_=u(92310),U=u.n(_),H=u(18929),e=u(10228),s=u(26112),f=u(48736),t=u(59301),r=u(17119),a=[10,20,50,100],o=function(K){var G=K.pageSizeOptions,F=G===void 0?a:G,ge=K.locale,b=K.changeSize,d=K.pageSize,w=K.goButton,P=K.quickGo,T=K.rootPrefixCls,x=K.disabled,n=K.buildOptionText,i=K.showSizeChanger,y=K.sizeChangerRender,M=t.useState(""),le=(0,j.Z)(M,2),we=le[0],Oe=le[1],je=function(){return!we||Number.isNaN(we)?void 0:Number(we)},Ye=typeof n=="function"?n:function(Z){return"".concat(Z," ").concat(ge.items_per_page)},At=function(R){Oe(R.target.value)},xe=function(R){w||we===""||(Oe(""),!(R.relatedTarget&&(R.relatedTarget.className.indexOf("".concat(T,"-item-link"))>=0||R.relatedTarget.className.indexOf("".concat(T,"-item"))>=0))&&(P==null||P(je())))},qe=function(R){we!==""&&(R.keyCode===e.Z.ENTER||R.type==="click")&&(Oe(""),P==null||P(je()))},Ze=function(){return F.some(function(R){return R.toString()===d.toString()})?F:F.concat([d]).sort(function(R,ne){var re=Number.isNaN(Number(R))?0:Number(R),C=Number.isNaN(Number(ne))?0:Number(ne);return re-C})},pe="".concat(T,"-options");if(!i&&!P)return null;var ue=null,te=null,g=null;return i&&y&&(ue=y({disabled:x,size:d,onSizeChange:function(R){b==null||b(Number(R))},"aria-label":ge.page_size,className:"".concat(pe,"-size-changer"),options:Ze().map(function(Z){return{label:Ye(Z),value:Z}})})),P&&(w&&(g=typeof w=="boolean"?t.createElement("button",{type:"button",onClick:qe,onKeyUp:qe,disabled:x,className:"".concat(pe,"-quick-jumper-button")},ge.jump_to_confirm):t.createElement("span",{onClick:qe,onKeyUp:qe},w)),te=t.createElement("div",{className:"".concat(pe,"-quick-jumper")},ge.jump_to,t.createElement("input",{disabled:x,type:"text",value:we,onChange:At,onKeyUp:qe,onBlur:xe,"aria-label":ge.page}),ge.page,g)),t.createElement("li",{className:pe},ue,te)},m=o,E=function(K){var G=K.rootPrefixCls,F=K.page,ge=K.active,b=K.className,d=K.showTitle,w=K.onClick,P=K.onKeyPress,T=K.itemRender,x="".concat(G,"-item"),n=U()(x,"".concat(x,"-").concat(F),(0,O.Z)((0,O.Z)({},"".concat(x,"-active"),ge),"".concat(x,"-disabled"),!F),b),i=function(){w(F)},y=function(we){P(we,w,F)},M=T(F,"page",t.createElement("a",{rel:"nofollow"},F));return M?t.createElement("li",{title:d?String(F):null,className:n,onClick:i,onKeyDown:y,tabIndex:0},M):null},S=E,h=function(K,G,F){return F};function v(){}function c(I){var K=Number(I);return typeof K=="number"&&!Number.isNaN(K)&&isFinite(K)&&Math.floor(K)===K}function l(I,K,G){var F=typeof I=="undefined"?K:I;return Math.floor((G-1)/F)+1}var N=function(K){var G=K.prefixCls,F=G===void 0?"rc-pagination":G,ge=K.selectPrefixCls,b=ge===void 0?"rc-select":ge,d=K.className,w=K.current,P=K.defaultCurrent,T=P===void 0?1:P,x=K.total,n=x===void 0?0:x,i=K.pageSize,y=K.defaultPageSize,M=y===void 0?10:y,le=K.onChange,we=le===void 0?v:le,Oe=K.hideOnSinglePage,je=K.align,Ye=K.showPrevNextJumpers,At=Ye===void 0?!0:Ye,xe=K.showQuickJumper,qe=K.showLessItems,Ze=K.showTitle,pe=Ze===void 0?!0:Ze,ue=K.onShowSizeChange,te=ue===void 0?v:ue,g=K.locale,Z=g===void 0?r.Z:g,R=K.style,ne=K.totalBoundaryShowSizeChanger,re=ne===void 0?50:ne,C=K.disabled,p=K.simple,B=K.showTotal,J=K.showSizeChanger,L=J===void 0?n>re:J,$=K.sizeChangerRender,W=K.pageSizeOptions,fe=K.itemRender,se=fe===void 0?h:fe,Ce=K.jumpPrevIcon,Ae=K.jumpNextIcon,Xe=K.prevIcon,Le=K.nextIcon,Me=t.useRef(null),ke=(0,H.Z)(10,{value:i,defaultValue:M}),st=(0,j.Z)(ke,2),Je=st[0],He=st[1],Kt=(0,H.Z)(1,{value:w,defaultValue:T,postState:function(ut){return Math.max(1,Math.min(ut,l(void 0,Je,n)))}}),St=(0,j.Z)(Kt,2),De=St[0],Vt=St[1],dn=t.useState(De),Rt=(0,j.Z)(dn,2),dt=Rt[0],Ft=Rt[1];(0,t.useEffect)(function(){Ft(De)},[De]);var un=we!==v,Ut="current"in K,mt=Math.max(1,De-(qe?3:5)),Qt=Math.min(l(void 0,Je,n),De+(qe?3:5));function bn(tt,ut){var ht=tt||t.createElement("button",{type:"button","aria-label":ut,className:"".concat(F,"-item-link")});return typeof tt=="function"&&(ht=t.createElement(tt,(0,Y.Z)({},K))),ht}function Tt(tt){var ut=tt.target.value,ht=l(void 0,Je,n),$t;return ut===""?$t=ut:Number.isNaN(Number(ut))?$t=dt:ut>=ht?$t=ht:$t=Number(ut),$t}function ft(tt){return c(tt)&&tt!==De&&c(n)&&n>0}var yt=n>Je?xe:!1;function Bn(tt){(tt.keyCode===e.Z.UP||tt.keyCode===e.Z.DOWN)&&tt.preventDefault()}function mn(tt){var ut=Tt(tt);switch(ut!==dt&&Ft(ut),tt.keyCode){case e.Z.ENTER:wn(ut);break;case e.Z.UP:wn(ut-1);break;case e.Z.DOWN:wn(ut+1);break;default:break}}function Ln(tt){wn(Tt(tt))}function Wn(tt){var ut=l(tt,Je,n),ht=De>ut&&ut!==0?ut:De;He(tt),Ft(ht),te==null||te(De,tt),Vt(ht),we==null||we(ht,tt)}function wn(tt){if(ft(tt)&&!C){var ut=l(void 0,Je,n),ht=tt;return tt>ut?ht=ut:tt<1&&(ht=1),ht!==dt&&Ft(ht),Vt(ht),we==null||we(ht,Je),ht}return De}var Rn=De>1,Kn=De<l(void 0,Je,n);function Nn(){Rn&&wn(De-1)}function In(){Kn&&wn(De+1)}function En(){wn(mt)}function Tn(){wn(Qt)}function at(tt,ut){if(tt.key==="Enter"||tt.charCode===e.Z.ENTER||tt.keyCode===e.Z.ENTER){for(var ht=arguments.length,$t=new Array(ht>2?ht-2:0),kt=2;kt<ht;kt++)$t[kt-2]=arguments[kt];ut.apply(void 0,$t)}}function it(tt){at(tt,Nn)}function en(tt){at(tt,In)}function pn(tt){at(tt,En)}function An(tt){at(tt,Tn)}function Q(tt){var ut=se(tt,"prev",bn(Xe,"prev page"));return t.isValidElement(ut)?t.cloneElement(ut,{disabled:!Rn}):ut}function X(tt){var ut=se(tt,"next",bn(Le,"next page"));return t.isValidElement(ut)?t.cloneElement(ut,{disabled:!Kn}):ut}function Ke(tt){(tt.type==="click"||tt.keyCode===e.Z.ENTER)&&wn(dt)}var Se=null,ze=(0,s.Z)(K,{aria:!0,data:!0}),Ge=B&&t.createElement("li",{className:"".concat(F,"-total-text")},B(n,[n===0?0:(De-1)*Je+1,De*Je>n?n:De*Je])),Be=null,Fe=l(void 0,Je,n);if(Oe&&n<=Je)return null;var nt=[],We={rootPrefixCls:F,onClick:wn,onKeyPress:at,showTitle:pe,itemRender:se,page:-1},et=De-1>0?De-1:0,lt=De+1<Fe?De+1:Fe,Qe=xe&&xe.goButton,Ie=(0,z.Z)(p)==="object"?p.readOnly:!p,V=Qe,ce=null;p&&(Qe&&(typeof Qe=="boolean"?V=t.createElement("button",{type:"button",onClick:Ke,onKeyUp:Ke},Z.jump_to_confirm):V=t.createElement("span",{onClick:Ke,onKeyUp:Ke},Qe),V=t.createElement("li",{title:pe?"".concat(Z.jump_to).concat(De,"/").concat(Fe):null,className:"".concat(F,"-simple-pager")},V)),ce=t.createElement("li",{title:pe?"".concat(De,"/").concat(Fe):null,className:"".concat(F,"-simple-pager")},Ie?dt:t.createElement("input",{type:"text","aria-label":Z.jump_to,value:dt,disabled:C,onKeyDown:Bn,onKeyUp:mn,onChange:mn,onBlur:Ln,size:3}),t.createElement("span",{className:"".concat(F,"-slash")},"/"),Fe));var he=qe?1:2;if(Fe<=3+he*2){Fe||nt.push(t.createElement(S,(0,k.Z)({},We,{key:"noPager",page:1,className:"".concat(F,"-item-disabled")})));for(var ve=1;ve<=Fe;ve+=1)nt.push(t.createElement(S,(0,k.Z)({},We,{key:ve,page:ve,active:De===ve})))}else{var Pe=qe?Z.prev_3:Z.prev_5,Ue=qe?Z.next_3:Z.next_5,$e=se(mt,"jump-prev",bn(Ce,"prev page")),ot=se(Qt,"jump-next",bn(Ae,"next page"));At&&(Se=$e?t.createElement("li",{title:pe?Pe:null,key:"prev",onClick:En,tabIndex:0,onKeyDown:pn,className:U()("".concat(F,"-jump-prev"),(0,O.Z)({},"".concat(F,"-jump-prev-custom-icon"),!!Ce))},$e):null,Be=ot?t.createElement("li",{title:pe?Ue:null,key:"next",onClick:Tn,tabIndex:0,onKeyDown:An,className:U()("".concat(F,"-jump-next"),(0,O.Z)({},"".concat(F,"-jump-next-custom-icon"),!!Ae))},ot):null);var _t=Math.max(1,De-he),bt=Math.min(De+he,Fe);De-1<=he&&(bt=1+he*2),Fe-De<=he&&(_t=Fe-he*2);for(var on=_t;on<=bt;on+=1)nt.push(t.createElement(S,(0,k.Z)({},We,{key:on,page:on,active:De===on})));if(De-1>=he*2&&De!==3&&(nt[0]=t.cloneElement(nt[0],{className:U()("".concat(F,"-item-after-jump-prev"),nt[0].props.className)}),nt.unshift(Se)),Fe-De>=he*2&&De!==Fe-2){var wt=nt[nt.length-1];nt[nt.length-1]=t.cloneElement(wt,{className:U()("".concat(F,"-item-before-jump-next"),wt.props.className)}),nt.push(Be)}_t!==1&&nt.unshift(t.createElement(S,(0,k.Z)({},We,{key:1,page:1}))),bt!==Fe&&nt.push(t.createElement(S,(0,k.Z)({},We,{key:Fe,page:Fe})))}var Et=Q(et);if(Et){var Mt=!Rn||!Fe;Et=t.createElement("li",{title:pe?Z.prev_page:null,onClick:Nn,tabIndex:Mt?null:0,onKeyDown:it,className:U()("".concat(F,"-prev"),(0,O.Z)({},"".concat(F,"-disabled"),Mt)),"aria-disabled":Mt},Et)}var Ht=X(lt);if(Ht){var zt,xt;p?(zt=!Kn,xt=Rn?0:null):(zt=!Kn||!Fe,xt=zt?null:0),Ht=t.createElement("li",{title:pe?Z.next_page:null,onClick:In,tabIndex:xt,onKeyDown:en,className:U()("".concat(F,"-next"),(0,O.Z)({},"".concat(F,"-disabled"),zt)),"aria-disabled":zt},Ht)}var Pt=U()(F,d,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(F,"-start"),je==="start"),"".concat(F,"-center"),je==="center"),"".concat(F,"-end"),je==="end"),"".concat(F,"-simple"),p),"".concat(F,"-disabled"),C));return t.createElement("ul",(0,k.Z)({className:Pt,style:R,ref:Me},ze),Ge,Et,p?ce:nt,Ht,t.createElement(m,{locale:Z,rootPrefixCls:F,disabled:C,selectPrefixCls:b,changeSize:Wn,pageSize:Je,pageSizeOptions:W,quickGo:yt?wn:null,goButton:V,showSizeChanger:L,sizeChangerRender:$}))},D=N},29301:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return b}});var O=u(67711),k=u(59301),z=u(11592),Y=u(48736),j=u(98506),_=u(26420),U=u(76846),H=u(8654),e=k.createContext(null);function s(d){var w=d.children,P=d.onBatchResize,T=k.useRef(0),x=k.useRef([]),n=k.useContext(e),i=k.useCallback(function(y,M,le){T.current+=1;var we=T.current;x.current.push({size:y,element:M,data:le}),Promise.resolve().then(function(){we===T.current&&(P==null||P(x.current),x.current=[])}),n==null||n(y,M,le)},[P,n]);return k.createElement(e.Provider,{value:i},w)}var f=u(76374),t=new Map;function r(d){d.forEach(function(w){var P,T=w.target;(P=t.get(T))===null||P===void 0||P.forEach(function(x){return x(T)})})}var a=new f.Z(r),o=null,m=null;function E(d,w){t.has(d)||(t.set(d,new Set),a.observe(d)),t.get(d).add(w)}function S(d,w){t.has(d)&&(t.get(d).delete(w),t.get(d).size||(a.unobserve(d),t.delete(d)))}var h=u(42573),v=u(58698),c=u(74700),l=u(45080),N=function(d){(0,c.Z)(P,d);var w=(0,l.Z)(P);function P(){return(0,h.Z)(this,P),w.apply(this,arguments)}return(0,v.Z)(P,[{key:"render",value:function(){return this.props.children}}]),P}(k.Component);function D(d,w){var P=d.children,T=d.disabled,x=k.useRef(null),n=k.useRef(null),i=k.useContext(e),y=typeof P=="function",M=y?P(x):P,le=k.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),we=!y&&k.isValidElement(M)&&(0,H.Yr)(M),Oe=we?(0,H.C4)(M):null,je=(0,H.x1)(Oe,x),Ye=function(){var Ze;return(0,U.ZP)(x.current)||(x.current&&(0,_.Z)(x.current)==="object"?(0,U.ZP)((Ze=x.current)===null||Ze===void 0?void 0:Ze.nativeElement):null)||(0,U.ZP)(n.current)};k.useImperativeHandle(w,function(){return Ye()});var At=k.useRef(d);At.current=d;var xe=k.useCallback(function(qe){var Ze=At.current,pe=Ze.onResize,ue=Ze.data,te=qe.getBoundingClientRect(),g=te.width,Z=te.height,R=qe.offsetWidth,ne=qe.offsetHeight,re=Math.floor(g),C=Math.floor(Z);if(le.current.width!==re||le.current.height!==C||le.current.offsetWidth!==R||le.current.offsetHeight!==ne){var p={width:re,height:C,offsetWidth:R,offsetHeight:ne};le.current=p;var B=R===Math.round(g)?g:R,J=ne===Math.round(Z)?Z:ne,L=(0,j.Z)((0,j.Z)({},p),{},{offsetWidth:B,offsetHeight:J});i==null||i(L,qe,ue),pe&&Promise.resolve().then(function(){pe(L,qe)})}},[]);return k.useEffect(function(){var qe=Ye();return qe&&!T&&E(qe,xe),function(){return S(qe,xe)}},[x.current,T]),k.createElement(N,{ref:n},we?k.cloneElement(M,{ref:je}):M)}var I=k.forwardRef(D),K=I,G="rc-observer-key";function F(d,w){var P=d.children,T=typeof P=="function"?[P]:(0,z.Z)(P);return T.map(function(x,n){var i=(x==null?void 0:x.key)||"".concat(G,"-").concat(n);return k.createElement(K,(0,O.Z)({},d,{key:i,ref:n===0?w:void 0}),x)})}var ge=k.forwardRef(F);ge.Collection=s;var b=ge},6551:function(Lt,Te,u){"use strict";u.d(Te,{ZP:function(){return U}});var O=u(16886),k=u(59301),z=u(47273),Y=0,j=(0,z.Z)();function _(){var H;return j?(H=Y,Y+=1):H="TEST_OR_SSR",H}function U(H){var e=k.useState(),s=(0,O.Z)(e,2),f=s[0],t=s[1];return k.useEffect(function(){t("rc_select_".concat(_()))},[]),H||f}},37463:function(Lt,Te,u){"use strict";u.d(Te,{Ac:function(){return ke},Xo:function(){return Je},Wx:function(){return Kt},ZP:function(){return An},lk:function(){return v}});var O=u(67711),k=u(15142),z=u(52873),Y=u(98506),j=u(16886),_=u(33346),U=u(26420),H=u(18929),e=u(48736),s=u(59301),f=u(92310),t=u.n(f),r=u(34280),a=u(49658),o=u(8654),m=function(X){var Ke=X.className,Se=X.customizeIcon,ze=X.customizeIconProps,Ge=X.children,Be=X.onMouseDown,Fe=X.onClick,nt=typeof Se=="function"?Se(ze):Se;return s.createElement("span",{className:Ke,onMouseDown:function(et){et.preventDefault(),Be==null||Be(et)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Fe,"aria-hidden":!0},nt!==void 0?nt:s.createElement("span",{className:t()(Ke.split(/\s+/).map(function(We){return"".concat(We,"-icon")}))},Ge))},E=m,S=function(X,Ke,Se,ze,Ge){var Be=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Fe=arguments.length>6?arguments[6]:void 0,nt=arguments.length>7?arguments[7]:void 0,We=s.useMemo(function(){if((0,U.Z)(ze)==="object")return ze.clearIcon;if(Ge)return Ge},[ze,Ge]),et=s.useMemo(function(){return!!(!Be&&ze&&(Se.length||Fe)&&!(nt==="combobox"&&Fe===""))},[ze,Be,Se.length,Fe,nt]);return{allowClear:et,clearIcon:s.createElement(E,{className:"".concat(X,"-clear"),onMouseDown:Ke,customizeIcon:We},"\xD7")}},h=s.createContext(null);function v(){return s.useContext(h)}function c(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,X=s.useState(!1),Ke=(0,j.Z)(X,2),Se=Ke[0],ze=Ke[1],Ge=s.useRef(null),Be=function(){window.clearTimeout(Ge.current)};s.useEffect(function(){return Be},[]);var Fe=function(We,et){Be(),Ge.current=window.setTimeout(function(){ze(We),et&&et()},Q)};return[Se,Fe,Be]}function l(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,X=s.useRef(null),Ke=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(Ke.current)}},[]);function Se(ze){(ze||X.current===null)&&(X.current=ze),window.clearTimeout(Ke.current),Ke.current=window.setTimeout(function(){X.current=null},Q)}return[function(){return X.current},Se]}function N(Q,X,Ke,Se){var ze=s.useRef(null);ze.current={open:X,triggerOpen:Ke,customizedTrigger:Se},s.useEffect(function(){function Ge(Be){var Fe;if(!((Fe=ze.current)!==null&&Fe!==void 0&&Fe.customizedTrigger)){var nt=Be.target;nt.shadowRoot&&Be.composed&&(nt=Be.composedPath()[0]||nt),ze.current.open&&Q().filter(function(We){return We}).every(function(We){return!We.contains(nt)&&We!==nt})&&ze.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ge),function(){return window.removeEventListener("mousedown",Ge)}},[])}var D=u(10228);function I(Q){return Q&&![D.Z.ESC,D.Z.SHIFT,D.Z.BACKSPACE,D.Z.TAB,D.Z.WIN_KEY,D.Z.ALT,D.Z.META,D.Z.WIN_KEY_RIGHT,D.Z.CTRL,D.Z.SEMICOLON,D.Z.EQUALS,D.Z.CAPS_LOCK,D.Z.CONTEXT_MENU,D.Z.F1,D.Z.F2,D.Z.F3,D.Z.F4,D.Z.F5,D.Z.F6,D.Z.F7,D.Z.F8,D.Z.F9,D.Z.F10,D.Z.F11,D.Z.F12].includes(Q)}var K=u(26112),G=u(11780);function F(Q,X,Ke){var Se=(0,Y.Z)((0,Y.Z)({},Q),Ke?X:{});return Object.keys(X).forEach(function(ze){var Ge=X[ze];typeof Ge=="function"&&(Se[ze]=function(){for(var Be,Fe=arguments.length,nt=new Array(Fe),We=0;We<Fe;We++)nt[We]=arguments[We];return Ge.apply(void 0,nt),(Be=Q[ze])===null||Be===void 0?void 0:Be.call.apply(Be,[Q].concat(nt))})}),Se}var ge=F,b=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],d=function(X,Ke){var Se=X.prefixCls,ze=X.id,Ge=X.inputElement,Be=X.autoFocus,Fe=X.autoComplete,nt=X.editable,We=X.activeDescendantId,et=X.value,lt=X.open,Qe=X.attrs,Ie=(0,_.Z)(X,b),V=Ge||s.createElement("input",null),ce=V,he=ce.ref,ve=ce.props;return(0,e.Kp)(!("maxLength"in V.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),V=s.cloneElement(V,(0,Y.Z)((0,Y.Z)((0,Y.Z)({type:"search"},ge(Ie,ve,!0)),{},{id:ze,ref:(0,o.sQ)(Ke,he),autoComplete:Fe||"off",autoFocus:Be,className:t()("".concat(Se,"-selection-search-input"),ve==null?void 0:ve.className),role:"combobox","aria-expanded":lt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(ze,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ze,"_list"),"aria-activedescendant":lt?We:void 0},Qe),{},{value:nt?et:"",readOnly:!nt,unselectable:nt?null:"on",style:(0,Y.Z)((0,Y.Z)({},ve.style),{},{opacity:nt?null:0})})),V},w=s.forwardRef(d),P=w;function T(Q){return Array.isArray(Q)?Q:Q!==void 0?[Q]:[]}var x=typeof window!="undefined"&&window.document&&window.document.documentElement,n=x;function i(Q){return Q!=null}function y(Q){return!Q&&Q!==0}function M(Q){return["string","number"].includes((0,U.Z)(Q))}function le(Q){var X=void 0;return Q&&(M(Q.title)?X=Q.title.toString():M(Q.label)&&(X=Q.label.toString())),X}function we(Q,X){n?s.useLayoutEffect(Q,X):s.useEffect(Q,X)}function Oe(Q){var X;return(X=Q.key)!==null&&X!==void 0?X:Q.value}var je=function(X){X.preventDefault(),X.stopPropagation()},Ye=function(X){var Ke=X.id,Se=X.prefixCls,ze=X.values,Ge=X.open,Be=X.searchValue,Fe=X.autoClearSearchValue,nt=X.inputRef,We=X.placeholder,et=X.disabled,lt=X.mode,Qe=X.showSearch,Ie=X.autoFocus,V=X.autoComplete,ce=X.activeDescendantId,he=X.tabIndex,ve=X.removeIcon,Pe=X.maxTagCount,Ue=X.maxTagTextLength,$e=X.maxTagPlaceholder,ot=$e===void 0?function(de){return"+ ".concat(de.length," ...")}:$e,_t=X.tagRender,bt=X.onToggleOpen,on=X.onRemove,wt=X.onInputChange,Et=X.onInputPaste,Mt=X.onInputKeyDown,Ht=X.onInputMouseDown,zt=X.onInputCompositionStart,xt=X.onInputCompositionEnd,Pt=X.onInputBlur,tt=s.useRef(null),ut=(0,s.useState)(0),ht=(0,j.Z)(ut,2),$t=ht[0],kt=ht[1],jt=(0,s.useState)(!1),On=(0,j.Z)(jt,2),A=On[0],ae=On[1],q="".concat(Se,"-selection"),ie=Ge||lt==="multiple"&&Fe===!1||lt==="tags"?Be:"",_e=lt==="tags"||lt==="multiple"&&Fe===!1||Qe&&(Ge||A);we(function(){kt(tt.current.scrollWidth)},[ie]);var ye=function(me,Ee,Ve,ct,rt){return s.createElement("span",{title:le(me),className:t()("".concat(q,"-item"),(0,z.Z)({},"".concat(q,"-item-disabled"),Ve))},s.createElement("span",{className:"".concat(q,"-item-content")},Ee),ct&&s.createElement(E,{className:"".concat(q,"-item-remove"),onMouseDown:je,onClick:rt,customizeIcon:ve},"\xD7"))},Ne=function(me,Ee,Ve,ct,rt,Nt){var Bt=function(Yt){je(Yt),bt(!Ge)};return s.createElement("span",{onMouseDown:Bt},_t({label:Ee,value:me,disabled:Ve,closable:ct,onClose:rt,isMaxTag:!!Nt}))},Re=function(me){var Ee=me.disabled,Ve=me.label,ct=me.value,rt=!et&&!Ee,Nt=Ve;if(typeof Ue=="number"&&(typeof Ve=="string"||typeof Ve=="number")){var Bt=String(Nt);Bt.length>Ue&&(Nt="".concat(Bt.slice(0,Ue),"..."))}var Ot=function(pt){pt&&pt.stopPropagation(),on(me)};return typeof _t=="function"?Ne(ct,Nt,Ee,rt,Ot):ye(me,Nt,Ee,rt,Ot)},be=function(me){if(!ze.length)return null;var Ee=typeof ot=="function"?ot(me):ot;return typeof _t=="function"?Ne(void 0,Ee,!1,!1,void 0,!0):ye({title:Ee},Ee,!1)},ee=s.createElement("div",{className:"".concat(q,"-search"),style:{width:$t},onFocus:function(){ae(!0)},onBlur:function(){ae(!1)}},s.createElement(P,{ref:nt,open:Ge,prefixCls:Se,id:Ke,inputElement:null,disabled:et,autoFocus:Ie,autoComplete:V,editable:_e,activeDescendantId:ce,value:ie,onKeyDown:Mt,onMouseDown:Ht,onChange:wt,onPaste:Et,onCompositionStart:zt,onCompositionEnd:xt,onBlur:Pt,tabIndex:he,attrs:(0,K.Z)(X,!0)}),s.createElement("span",{ref:tt,className:"".concat(q,"-search-mirror"),"aria-hidden":!0},ie,"\xA0")),oe=s.createElement(G.Z,{prefixCls:"".concat(q,"-overflow"),data:ze,renderItem:Re,renderRest:be,suffix:ee,itemKey:Oe,maxCount:Pe});return s.createElement("span",{className:"".concat(q,"-wrap")},oe,!ze.length&&!ie&&s.createElement("span",{className:"".concat(q,"-placeholder")},We))},At=Ye,xe=function(X){var Ke=X.inputElement,Se=X.prefixCls,ze=X.id,Ge=X.inputRef,Be=X.disabled,Fe=X.autoFocus,nt=X.autoComplete,We=X.activeDescendantId,et=X.mode,lt=X.open,Qe=X.values,Ie=X.placeholder,V=X.tabIndex,ce=X.showSearch,he=X.searchValue,ve=X.activeValue,Pe=X.maxLength,Ue=X.onInputKeyDown,$e=X.onInputMouseDown,ot=X.onInputChange,_t=X.onInputPaste,bt=X.onInputCompositionStart,on=X.onInputCompositionEnd,wt=X.onInputBlur,Et=X.title,Mt=s.useState(!1),Ht=(0,j.Z)(Mt,2),zt=Ht[0],xt=Ht[1],Pt=et==="combobox",tt=Pt||ce,ut=Qe[0],ht=he||"";Pt&&ve&&!zt&&(ht=ve),s.useEffect(function(){Pt&&xt(!1)},[Pt,ve]);var $t=et!=="combobox"&&!lt&&!ce?!1:!!ht,kt=Et===void 0?le(ut):Et,jt=s.useMemo(function(){return ut?null:s.createElement("span",{className:"".concat(Se,"-selection-placeholder"),style:$t?{visibility:"hidden"}:void 0},Ie)},[ut,$t,Ie,Se]);return s.createElement("span",{className:"".concat(Se,"-selection-wrap")},s.createElement("span",{className:"".concat(Se,"-selection-search")},s.createElement(P,{ref:Ge,prefixCls:Se,id:ze,open:lt,inputElement:Ke,disabled:Be,autoFocus:Fe,autoComplete:nt,editable:tt,activeDescendantId:We,value:ht,onKeyDown:Ue,onMouseDown:$e,onChange:function(A){xt(!0),ot(A)},onPaste:_t,onCompositionStart:bt,onCompositionEnd:on,onBlur:wt,tabIndex:V,attrs:(0,K.Z)(X,!0),maxLength:Pt?Pe:void 0})),!Pt&&ut?s.createElement("span",{className:"".concat(Se,"-selection-item"),title:kt,style:$t?{visibility:"hidden"}:void 0},ut.label):null,jt)},qe=xe,Ze=function(X,Ke){var Se=(0,s.useRef)(null),ze=(0,s.useRef)(!1),Ge=X.prefixCls,Be=X.open,Fe=X.mode,nt=X.showSearch,We=X.tokenWithEnter,et=X.disabled,lt=X.prefix,Qe=X.autoClearSearchValue,Ie=X.onSearch,V=X.onSearchSubmit,ce=X.onToggleOpen,he=X.onInputKeyDown,ve=X.onInputBlur,Pe=X.domRef;s.useImperativeHandle(Ke,function(){return{focus:function(kt){Se.current.focus(kt)},blur:function(){Se.current.blur()}}});var Ue=l(0),$e=(0,j.Z)(Ue,2),ot=$e[0],_t=$e[1],bt=function(kt){var jt=kt.which,On=Se.current instanceof HTMLTextAreaElement;!On&&Be&&(jt===D.Z.UP||jt===D.Z.DOWN)&&kt.preventDefault(),he&&he(kt),jt===D.Z.ENTER&&Fe==="tags"&&!ze.current&&!Be&&(V==null||V(kt.target.value)),!(On&&!Be&&~[D.Z.UP,D.Z.DOWN,D.Z.LEFT,D.Z.RIGHT].indexOf(jt))&&I(jt)&&ce(!0)},on=function(){_t(!0)},wt=(0,s.useRef)(null),Et=function(kt){Ie(kt,!0,ze.current)!==!1&&ce(!0)},Mt=function(){ze.current=!0},Ht=function(kt){ze.current=!1,Fe!=="combobox"&&Et(kt.target.value)},zt=function(kt){var jt=kt.target.value;if(We&&wt.current&&/[\r\n]/.test(wt.current)){var On=wt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(On,wt.current)}wt.current=null,Et(jt)},xt=function(kt){var jt=kt.clipboardData,On=jt==null?void 0:jt.getData("text");wt.current=On||""},Pt=function(kt){var jt=kt.target;if(jt!==Se.current){var On=document.body.style.msTouchAction!==void 0;On?setTimeout(function(){Se.current.focus()}):Se.current.focus()}},tt=function(kt){var jt=ot();kt.target!==Se.current&&!jt&&!(Fe==="combobox"&&et)&&kt.preventDefault(),(Fe!=="combobox"&&(!nt||!jt)||!Be)&&(Be&&Qe!==!1&&Ie("",!0,!1),ce())},ut={inputRef:Se,onInputKeyDown:bt,onInputMouseDown:on,onInputChange:zt,onInputPaste:xt,onInputCompositionStart:Mt,onInputCompositionEnd:Ht,onInputBlur:ve},ht=Fe==="multiple"||Fe==="tags"?s.createElement(At,(0,O.Z)({},X,ut)):s.createElement(qe,(0,O.Z)({},X,ut));return s.createElement("div",{ref:Pe,className:"".concat(Ge,"-selector"),onClick:Pt,onMouseDown:tt},lt&&s.createElement("div",{className:"".concat(Ge,"-prefix")},lt),ht)},pe=s.forwardRef(Ze),ue=pe,te=u(65030),g=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Z=function(X){var Ke=X===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"}}},R=function(X,Ke){var Se=X.prefixCls,ze=X.disabled,Ge=X.visible,Be=X.children,Fe=X.popupElement,nt=X.animation,We=X.transitionName,et=X.dropdownStyle,lt=X.dropdownClassName,Qe=X.direction,Ie=Qe===void 0?"ltr":Qe,V=X.placement,ce=X.builtinPlacements,he=X.dropdownMatchSelectWidth,ve=X.dropdownRender,Pe=X.dropdownAlign,Ue=X.getPopupContainer,$e=X.empty,ot=X.getTriggerDOMNode,_t=X.onPopupVisibleChange,bt=X.onPopupMouseEnter,on=(0,_.Z)(X,g),wt="".concat(Se,"-dropdown"),Et=Fe;ve&&(Et=ve(Fe));var Mt=s.useMemo(function(){return ce||Z(he)},[ce,he]),Ht=nt?"".concat(wt,"-").concat(nt):We,zt=typeof he=="number",xt=s.useMemo(function(){return zt?null:he===!1?"minWidth":"width"},[he,zt]),Pt=et;zt&&(Pt=(0,Y.Z)((0,Y.Z)({},Pt),{},{width:he}));var tt=s.useRef(null);return s.useImperativeHandle(Ke,function(){return{getPopupElement:function(){var ht;return(ht=tt.current)===null||ht===void 0?void 0:ht.popupElement}}}),s.createElement(te.Z,(0,O.Z)({},on,{showAction:_t?["click"]:[],hideAction:_t?["click"]:[],popupPlacement:V||(Ie==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Mt,prefixCls:wt,popupTransitionName:Ht,popup:s.createElement("div",{onMouseEnter:bt},Et),ref:tt,stretch:xt,popupAlign:Pe,popupVisible:Ge,getPopupContainer:Ue,popupClassName:t()(lt,(0,z.Z)({},"".concat(wt,"-empty"),$e)),popupStyle:Pt,getTriggerDOMNode:ot,onPopupVisibleChange:_t}),Be)},ne=s.forwardRef(R),re=ne,C=u(57879);function p(Q,X){var Ke=Q.key,Se;return"value"in Q&&(Se=Q.value),Ke!=null?Ke:Se!==void 0?Se:"rc-index-key-".concat(X)}function B(Q){return typeof Q!="undefined"&&!Number.isNaN(Q)}function J(Q,X){var Ke=Q||{},Se=Ke.label,ze=Ke.value,Ge=Ke.options,Be=Ke.groupLabel,Fe=Se||(X?"children":"label");return{label:Fe,value:ze||"value",options:Ge||"options",groupLabel:Be||Fe}}function L(Q){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ke=X.fieldNames,Se=X.childrenAsData,ze=[],Ge=J(Ke,!1),Be=Ge.label,Fe=Ge.value,nt=Ge.options,We=Ge.groupLabel;function et(lt,Qe){Array.isArray(lt)&&lt.forEach(function(Ie){if(Qe||!(nt in Ie)){var V=Ie[Fe];ze.push({key:p(Ie,ze.length),groupOption:Qe,data:Ie,label:Ie[Be],value:V})}else{var ce=Ie[We];ce===void 0&&Se&&(ce=Ie.label),ze.push({key:p(Ie,ze.length),group:!0,data:Ie,label:ce}),et(Ie[nt],!0)}})}return et(Q,!1),ze}function $(Q){var X=(0,Y.Z)({},Q);return"props"in X||Object.defineProperty(X,"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`."),X}}),X}var W=function(X,Ke,Se){if(!Ke||!Ke.length)return null;var ze=!1,Ge=function Fe(nt,We){var et=(0,C.Z)(We),lt=et[0],Qe=et.slice(1);if(!lt)return[nt];var Ie=nt.split(lt);return ze=ze||Ie.length>1,Ie.reduce(function(V,ce){return[].concat((0,k.Z)(V),(0,k.Z)(Fe(ce,Qe)))},[]).filter(Boolean)},Be=Ge(X,Ke);return ze?typeof Se!="undefined"?Be.slice(0,Se):Be:null},fe=s.createContext(null),se=fe;function Ce(Q){var X=Q.visible,Ke=Q.values;if(!X)return null;var Se=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ke.slice(0,Se).map(function(ze){var Ge=ze.label,Be=ze.value;return["number","string"].includes((0,U.Z)(Ge))?Ge:Be}).join(", ")),Ke.length>Se?", ...":null)}var Ae=["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"],Xe=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Le=function(X){return X==="tags"||X==="multiple"},Me=s.forwardRef(function(Q,X){var Ke,Se=Q.id,ze=Q.prefixCls,Ge=Q.className,Be=Q.showSearch,Fe=Q.tagRender,nt=Q.direction,We=Q.omitDomProps,et=Q.displayValues,lt=Q.onDisplayValuesChange,Qe=Q.emptyOptions,Ie=Q.notFoundContent,V=Ie===void 0?"Not Found":Ie,ce=Q.onClear,he=Q.mode,ve=Q.disabled,Pe=Q.loading,Ue=Q.getInputElement,$e=Q.getRawInputElement,ot=Q.open,_t=Q.defaultOpen,bt=Q.onDropdownVisibleChange,on=Q.activeValue,wt=Q.onActiveValueChange,Et=Q.activeDescendantId,Mt=Q.searchValue,Ht=Q.autoClearSearchValue,zt=Q.onSearch,xt=Q.onSearchSplit,Pt=Q.tokenSeparators,tt=Q.allowClear,ut=Q.prefix,ht=Q.suffixIcon,$t=Q.clearIcon,kt=Q.OptionList,jt=Q.animation,On=Q.transitionName,A=Q.dropdownStyle,ae=Q.dropdownClassName,q=Q.dropdownMatchSelectWidth,ie=Q.dropdownRender,_e=Q.dropdownAlign,ye=Q.placement,Ne=Q.builtinPlacements,Re=Q.getPopupContainer,be=Q.showAction,ee=be===void 0?[]:be,oe=Q.onFocus,de=Q.onBlur,me=Q.onKeyUp,Ee=Q.onKeyDown,Ve=Q.onMouseDown,ct=(0,_.Z)(Q,Ae),rt=Le(he),Nt=(Be!==void 0?Be:rt)||he==="combobox",Bt=(0,Y.Z)({},ct);Xe.forEach(function(Dn){delete Bt[Dn]}),We==null||We.forEach(function(Dn){delete Bt[Dn]});var Ot=s.useState(!1),Yt=(0,j.Z)(Ot,2),pt=Yt[0],hn=Yt[1];s.useEffect(function(){hn((0,a.Z)())},[]);var rn=s.useRef(null),_n=s.useRef(null),Gt=s.useRef(null),tn=s.useRef(null),vn=s.useRef(null),an=s.useRef(!1),cn=c(),It=(0,j.Z)(cn,3),vt=It[0],Dt=It[1],Xt=It[2];s.useImperativeHandle(X,function(){var Dn,Sn;return{focus:(Dn=tn.current)===null||Dn===void 0?void 0:Dn.focus,blur:(Sn=tn.current)===null||Sn===void 0?void 0:Sn.blur,scrollTo:function(Qn){var er;return(er=vn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:rn.current||_n.current}});var fn=s.useMemo(function(){var Dn;if(he!=="combobox")return Mt;var Sn=(Dn=et[0])===null||Dn===void 0?void 0:Dn.value;return typeof Sn=="string"||typeof Sn=="number"?String(Sn):""},[Mt,he,et]),sn=he==="combobox"&&typeof Ue=="function"&&Ue()||null,ln=typeof $e=="function"&&$e(),Un=(0,o.x1)(_n,ln==null||(Ke=ln.props)===null||Ke===void 0?void 0:Ke.ref),Xn=s.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ir=$n[1];(0,r.Z)(function(){ir(!0)},[]);var qn=(0,H.Z)(!1,{defaultValue:_t,value:ot}),gn=(0,j.Z)(qn,2),kn=gn[0],Gn=gn[1],xn=or?kn:!1,yn=!V&&Qe;(ve||yn&&xn&&he==="combobox")&&(xn=!1);var Cn=yn?!1:xn,Ct=s.useCallback(function(Dn){var Sn=Dn!==void 0?Dn:!xn;ve||(Gn(Sn),xn!==Sn&&(bt==null||bt(Sn)))},[ve,xn,Gn,bt]),Jt=s.useMemo(function(){return(Pt||[]).some(function(Dn){return[`
`,`\r
`].includes(Dn)})},[Pt]),qt=s.useContext(se)||{},nn=qt.maxCount,Pn=qt.rawValues,Zn=function(Sn,nr,Qn){if(!(rt&&B(nn)&&(Pn==null?void 0:Pn.size)>=nn)){var er=!0,rr=Sn;wt==null||wt(null);var yr=W(Sn,Pt,B(nn)?nn-Pn.size:void 0),gr=Qn?null:yr;return he!=="combobox"&&gr&&(rr="",xt==null||xt(gr),Ct(!1),er=!1),zt&&fn!==rr&&zt(rr,{source:nr?"typing":"effect"}),er}},ar=function(Sn){!Sn||!Sn.trim()||zt(Sn,{source:"submit"})};s.useEffect(function(){!xn&&!rt&&he!=="combobox"&&Zn("",!1,!1)},[xn]),s.useEffect(function(){kn&&ve&&Gn(!1),ve&&!an.current&&Dt(!1)},[ve]);var gt=l(),Wt=(0,j.Z)(gt,2),Zt=Wt[0],Mn=Wt[1],zn=s.useRef(!1),Hn=function(Sn){var nr=Zt(),Qn=Sn.key,er=Qn==="Enter";if(er&&(he!=="combobox"&&Sn.preventDefault(),xn||Ct(!0)),Mn(!!fn),Qn==="Backspace"&&!nr&&rt&&!fn&&et.length){for(var rr=(0,k.Z)(et),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&&lt(rr,{type:"remove",values:[yr]})}for(var sr=arguments.length,mr=new Array(sr>1?sr-1:0),Rr=1;Rr<sr;Rr++)mr[Rr-1]=arguments[Rr];if(xn&&(!er||!zn.current)){var Er;er&&(zn.current=!0),(Er=vn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Sn].concat(mr))}Ee==null||Ee.apply(void 0,[Sn].concat(mr))},cr=function(Sn){for(var nr=arguments.length,Qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)Qn[er-1]=arguments[er];if(xn){var rr;(rr=vn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Sn].concat(Qn))}Sn.key==="Enter"&&(zn.current=!1),me==null||me.apply(void 0,[Sn].concat(Qn))},dr=function(Sn){var nr=et.filter(function(Qn){return Qn!==Sn});lt(nr,{type:"remove",values:[Sn]})},lr=function(){zn.current=!1},Jn=s.useRef(!1),Fr=function(){Dt(!0),ve||(oe&&!Jn.current&&oe.apply(void 0,arguments),ee.includes("focus")&&Ct(!0)),Jn.current=!0},Br=function(){an.current=!0,Dt(!1,function(){Jn.current=!1,an.current=!1,Ct(!1)}),!ve&&(fn&&(he==="tags"?zt(fn,{source:"submit"}):he==="multiple"&&zt("",{source:"blur"})),de&&de.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(Dn){return clearTimeout(Dn)}),Sr.splice(0,Sr.length)}},[]);var Tr=function(Sn){var nr,Qn=Sn.target,er=(nr=Gt.current)===null||nr===void 0?void 0:nr.getPopupElement();if(er&&er.contains(Qn)){var rr=setTimeout(function(){var sr=Sr.indexOf(rr);if(sr!==-1&&Sr.splice(sr,1),Xt(),!pt&&!er.contains(document.activeElement)){var mr;(mr=tn.current)===null||mr===void 0||mr.focus()}});Sr.push(rr)}for(var yr=arguments.length,gr=new Array(yr>1?yr-1:0),xr=1;xr<yr;xr++)gr[xr-1]=arguments[xr];Ve==null||Ve.apply(void 0,[Sn].concat(gr))},Nr=s.useState({}),Or=(0,j.Z)(Nr,2),Ar=Or[1];function br(){Ar({})}var Mr;ln&&(Mr=function(Sn){Ct(Sn)}),N(function(){var Dn;return[rn.current,(Dn=Gt.current)===null||Dn===void 0?void 0:Dn.getPopupElement()]},Cn,Ct,!!ln);var Pr=s.useMemo(function(){return(0,Y.Z)((0,Y.Z)({},Q),{},{notFoundContent:V,open:xn,triggerOpen:Cn,id:Se,showSearch:Nt,multiple:rt,toggleOpen:Ct})},[Q,V,Cn,xn,Se,Nt,rt,Ct]),zr=!!ht||Pe,kr;zr&&(kr=s.createElement(E,{className:t()("".concat(ze,"-arrow"),(0,z.Z)({},"".concat(ze,"-arrow-loading"),Pe)),customizeIcon:ht,customizeIconProps:{loading:Pe,searchValue:fn,open:xn,focused:vt,showSearch:Nt}}));var $r=function(){var Sn;ce==null||ce(),(Sn=tn.current)===null||Sn===void 0||Sn.focus(),lt([],{type:"clear",values:et}),Zn("",!1,!1)},Ir=S(ze,$r,et,tt,$t,ve,fn,he),Gr=Ir.allowClear,jr=Ir.clearIcon,Wr=s.createElement(kt,{ref:vn}),Dr=t()(ze,Ge,(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)({},"".concat(ze,"-focused"),vt),"".concat(ze,"-multiple"),rt),"".concat(ze,"-single"),!rt),"".concat(ze,"-allow-clear"),tt),"".concat(ze,"-show-arrow"),zr),"".concat(ze,"-disabled"),ve),"".concat(ze,"-loading"),Pe),"".concat(ze,"-open"),xn),"".concat(ze,"-customize-input"),sn),"".concat(ze,"-show-search"),Nt)),hr=s.createElement(re,{ref:Gt,disabled:ve,prefixCls:ze,visible:Cn,popupElement:Wr,animation:jt,transitionName:On,dropdownStyle:A,dropdownClassName:ae,direction:nt,dropdownMatchSelectWidth:q,dropdownRender:ie,dropdownAlign:_e,placement:ye,builtinPlacements:Ne,getPopupContainer:Re,empty:Qe,getTriggerDOMNode:function(Sn){return _n.current||Sn},onPopupVisibleChange:Mr,onPopupMouseEnter:br},ln?s.cloneElement(ln,{ref:Un}):s.createElement(ue,(0,O.Z)({},Q,{domRef:_n,prefixCls:ze,inputElement:sn,ref:tn,id:Se,prefix:ut,showSearch:Nt,autoClearSearchValue:Ht,mode:he,activeDescendantId:Et,tagRender:Fe,values:et,open:xn,onToggleOpen:Ct,activeValue:on,searchValue:fn,onSearch:Zn,onSearchSubmit:ar,onRemove:dr,tokenWithEnter:Jt,onInputBlur:lr}))),ur;return ln?ur=hr:ur=s.createElement("div",(0,O.Z)({className:Dr},Bt,{ref:rn,onMouseDown:Tr,onKeyDown:Hn,onKeyUp:cr,onFocus:Fr,onBlur:Br}),s.createElement(Ce,{visible:vt&&!xn,values:et}),hr,kr,Gr&&jr),s.createElement(h.Provider,{value:Pr},ur)}),ke=Me,st=function(){return null};st.isSelectOptGroup=!0;var Je=st,He=function(){return null};He.isSelectOption=!0;var Kt=He,St=u(80547),De=u(2738),Vt=u(6790);function dn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Rt=["disabled","title","children","style","className"];function dt(Q){return typeof Q=="string"||typeof Q=="number"}var Ft=function(X,Ke){var Se=v(),ze=Se.prefixCls,Ge=Se.id,Be=Se.open,Fe=Se.multiple,nt=Se.mode,We=Se.searchValue,et=Se.toggleOpen,lt=Se.notFoundContent,Qe=Se.onPopupScroll,Ie=s.useContext(se),V=Ie.maxCount,ce=Ie.flattenOptions,he=Ie.onActiveValue,ve=Ie.defaultActiveFirstOption,Pe=Ie.onSelect,Ue=Ie.menuItemSelectedIcon,$e=Ie.rawValues,ot=Ie.fieldNames,_t=Ie.virtual,bt=Ie.direction,on=Ie.listHeight,wt=Ie.listItemHeight,Et=Ie.optionRender,Mt="".concat(ze,"-item"),Ht=(0,St.Z)(function(){return ce},[Be,ce],function(be,ee){return ee[0]&&be[1]!==ee[1]}),zt=s.useRef(null),xt=s.useMemo(function(){return Fe&&B(V)&&($e==null?void 0:$e.size)>=V},[Fe,V,$e==null?void 0:$e.size]),Pt=function(ee){ee.preventDefault()},tt=function(ee){var oe;(oe=zt.current)===null||oe===void 0||oe.scrollTo(typeof ee=="number"?{index:ee}:ee)},ut=s.useCallback(function(be){return nt==="combobox"?!1:$e.has(be)},[nt,(0,k.Z)($e).toString(),$e.size]),ht=function(ee){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,de=Ht.length,me=0;me<de;me+=1){var Ee=(ee+me*oe+de)%de,Ve=Ht[Ee]||{},ct=Ve.group,rt=Ve.data;if(!ct&&!(rt!=null&&rt.disabled)&&(ut(rt.value)||!xt))return Ee}return-1},$t=s.useState(function(){return ht(0)}),kt=(0,j.Z)($t,2),jt=kt[0],On=kt[1],A=function(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;On(ee);var de={source:oe?"keyboard":"mouse"},me=Ht[ee];if(!me){he(null,-1,de);return}he(me.value,ee,de)};(0,s.useEffect)(function(){A(ve!==!1?ht(0):-1)},[Ht.length,We]);var ae=s.useCallback(function(be){return nt==="combobox"?String(be).toLowerCase()===We.toLowerCase():$e.has(be)},[nt,We,(0,k.Z)($e).toString(),$e.size]);(0,s.useEffect)(function(){var be=setTimeout(function(){if(!Fe&&Be&&$e.size===1){var oe=Array.from($e)[0],de=Ht.findIndex(function(me){var Ee=me.data;return We?String(Ee.value).startsWith(We):Ee.value===oe});de!==-1&&(A(de),tt(de))}});if(Be){var ee;(ee=zt.current)===null||ee===void 0||ee.scrollTo(void 0)}return function(){return clearTimeout(be)}},[Be,We]);var q=function(ee){ee!==void 0&&Pe(ee,{selected:!$e.has(ee)}),Fe||et(!1)};if(s.useImperativeHandle(Ke,function(){return{onKeyDown:function(ee){var oe=ee.which,de=ee.ctrlKey;switch(oe){case D.Z.N:case D.Z.P:case D.Z.UP:case D.Z.DOWN:{var me=0;if(oe===D.Z.UP?me=-1:oe===D.Z.DOWN?me=1:dn()&&de&&(oe===D.Z.N?me=1:oe===D.Z.P&&(me=-1)),me!==0){var Ee=ht(jt+me,me);tt(Ee),A(Ee,!0)}break}case D.Z.TAB:case D.Z.ENTER:{var Ve,ct=Ht[jt];ct&&!(ct!=null&&(Ve=ct.data)!==null&&Ve!==void 0&&Ve.disabled)&&!xt?q(ct.value):q(void 0),Be&&ee.preventDefault();break}case D.Z.ESC:et(!1),Be&&ee.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ee){tt(ee)}}}),Ht.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Ge,"_list"),className:"".concat(Mt,"-empty"),onMouseDown:Pt},lt);var ie=Object.keys(ot).map(function(be){return ot[be]}),_e=function(ee){return ee.label};function ye(be,ee){var oe=be.group;return{role:oe?"presentation":"option",id:"".concat(Ge,"_list_").concat(ee)}}var Ne=function(ee){var oe=Ht[ee];if(!oe)return null;var de=oe.data||{},me=de.value,Ee=oe.group,Ve=(0,K.Z)(de,!0),ct=_e(oe);return oe?s.createElement("div",(0,O.Z)({"aria-label":typeof ct=="string"&&!Ee?ct:null},Ve,{key:ee},ye(oe,ee),{"aria-selected":ae(me)}),me):null},Re={role:"listbox",id:"".concat(Ge,"_list")};return s.createElement(s.Fragment,null,_t&&s.createElement("div",(0,O.Z)({},Re,{style:{height:0,width:0,overflow:"hidden"}}),Ne(jt-1),Ne(jt),Ne(jt+1)),s.createElement(Vt.Z,{itemKey:"key",ref:zt,data:Ht,height:on,itemHeight:wt,fullHeight:!1,onMouseDown:Pt,onScroll:Qe,virtual:_t,direction:bt,innerProps:_t?null:Re},function(be,ee){var oe=be.group,de=be.groupOption,me=be.data,Ee=be.label,Ve=be.value,ct=me.key;if(oe){var rt,Nt=(rt=me.title)!==null&&rt!==void 0?rt:dt(Ee)?Ee.toString():void 0;return s.createElement("div",{className:t()(Mt,"".concat(Mt,"-group"),me.className),title:Nt},Ee!==void 0?Ee:ct)}var Bt=me.disabled,Ot=me.title,Yt=me.children,pt=me.style,hn=me.className,rn=(0,_.Z)(me,Rt),_n=(0,De.Z)(rn,ie),Gt=ut(Ve),tn=Bt||!Gt&&xt,vn="".concat(Mt,"-option"),an=t()(Mt,vn,hn,(0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)({},"".concat(vn,"-grouped"),de),"".concat(vn,"-active"),jt===ee&&!tn),"".concat(vn,"-disabled"),tn),"".concat(vn,"-selected"),Gt)),cn=_e(be),It=!Ue||typeof Ue=="function"||Gt,vt=typeof cn=="number"?cn:cn||Ve,Dt=dt(vt)?vt.toString():void 0;return Ot!==void 0&&(Dt=Ot),s.createElement("div",(0,O.Z)({},(0,K.Z)(_n),_t?{}:ye(be,ee),{"aria-selected":ae(Ve),className:an,title:Dt,onMouseMove:function(){jt===ee||tn||A(ee)},onClick:function(){tn||q(Ve)},style:pt}),s.createElement("div",{className:"".concat(vn,"-content")},typeof Et=="function"?Et(be,{index:ee}):vt),s.isValidElement(Ue)||Gt,It&&s.createElement(E,{className:"".concat(Mt,"-option-state"),customizeIcon:Ue,customizeIconProps:{value:Ve,disabled:tn,isSelected:Gt}},Gt?"\u2713":null))}))},un=s.forwardRef(Ft),Ut=un,mt=function(Q,X){var Ke=s.useRef({values:new Map,options:new Map}),Se=s.useMemo(function(){var Ge=Ke.current,Be=Ge.values,Fe=Ge.options,nt=Q.map(function(lt){if(lt.label===void 0){var Qe;return(0,Y.Z)((0,Y.Z)({},lt),{},{label:(Qe=Be.get(lt.value))===null||Qe===void 0?void 0:Qe.label})}return lt}),We=new Map,et=new Map;return nt.forEach(function(lt){We.set(lt.value,lt),et.set(lt.value,X.get(lt.value)||Fe.get(lt.value))}),Ke.current.values=We,Ke.current.options=et,nt},[Q,X]),ze=s.useCallback(function(Ge){return X.get(Ge)||Ke.current.options.get(Ge)},[X]);return[Se,ze]};function Qt(Q,X){return T(Q).join("").toUpperCase().includes(X)}var bn=function(Q,X,Ke,Se,ze){return s.useMemo(function(){if(!Ke||Se===!1)return Q;var Ge=X.options,Be=X.label,Fe=X.value,nt=[],We=typeof Se=="function",et=Ke.toUpperCase(),lt=We?Se:function(Ie,V){return ze?Qt(V[ze],et):V[Ge]?Qt(V[Be!=="children"?Be:"label"],et):Qt(V[Fe],et)},Qe=We?function(Ie){return $(Ie)}:function(Ie){return Ie};return Q.forEach(function(Ie){if(Ie[Ge]){var V=lt(Ke,Qe(Ie));if(V)nt.push(Ie);else{var ce=Ie[Ge].filter(function(he){return lt(Ke,Qe(he))});ce.length&&nt.push((0,Y.Z)((0,Y.Z)({},Ie),{},(0,z.Z)({},Ge,ce)))}return}lt(Ke,Qe(Ie))&&nt.push(Ie)}),nt},[Q,Se,ze,Ke,X])},Tt=u(6551),ft=u(11592),yt=["children","value"],Bn=["children"];function mn(Q){var X=Q,Ke=X.key,Se=X.props,ze=Se.children,Ge=Se.value,Be=(0,_.Z)(Se,yt);return(0,Y.Z)({key:Ke,value:Ge!==void 0?Ge:Ke,children:ze},Be)}function Ln(Q){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ft.Z)(Q).map(function(Ke,Se){if(!s.isValidElement(Ke)||!Ke.type)return null;var ze=Ke,Ge=ze.type.isSelectOptGroup,Be=ze.key,Fe=ze.props,nt=Fe.children,We=(0,_.Z)(Fe,Bn);return X||!Ge?mn(Ke):(0,Y.Z)((0,Y.Z)({key:"__RC_SELECT_GRP__".concat(Be===null?Se:Be,"__"),label:Be},We),{},{options:Ln(nt)})}).filter(function(Ke){return Ke})}var Wn=function(X,Ke,Se,ze,Ge){return s.useMemo(function(){var Be=X,Fe=!X;Fe&&(Be=Ln(Ke));var nt=new Map,We=new Map,et=function(Ie,V,ce){ce&&typeof ce=="string"&&Ie.set(V[ce],V)},lt=function Qe(Ie){for(var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ce=0;ce<Ie.length;ce+=1){var he=Ie[ce];!he[Se.options]||V?(nt.set(he[Se.value],he),et(We,he,Se.label),et(We,he,ze),et(We,he,Ge)):Qe(he[Se.options],!0)}};return lt(Be),{options:Be,valueOptions:nt,labelOptions:We}},[X,Ke,Se,ze,Ge])},wn=Wn;function Rn(Q){var X=s.useRef();X.current=Q;var Ke=s.useCallback(function(){return X.current.apply(X,arguments)},[]);return Ke}function Kn(Q){var X=Q.mode,Ke=Q.options,Se=Q.children,ze=Q.backfill,Ge=Q.allowClear,Be=Q.placeholder,Fe=Q.getInputElement,nt=Q.showSearch,We=Q.onSearch,et=Q.defaultOpen,lt=Q.autoFocus,Qe=Q.labelInValue,Ie=Q.value,V=Q.inputValue,ce=Q.optionLabelProp,he=isMultiple(X),ve=nt!==void 0?nt:he||X==="combobox",Pe=Ke||convertChildrenToData(Se);if(warning(X!=="tags"||Pe.every(function(_t){return!_t.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),X==="tags"||X==="combobox"){var Ue=Pe.some(function(_t){return _t.options?_t.options.some(function(bt){return typeof("value"in bt?bt.value:bt.key)=="number"}):typeof("value"in _t?_t.value:_t.key)=="number"});warning(!Ue,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(X!=="combobox"||!ce,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(X==="combobox"||!ze,"`backfill` only works with `combobox` mode."),warning(X==="combobox"||!Fe,"`getInputElement` only work with `combobox` mode."),noteOnce(X!=="combobox"||!Fe||!Ge||!Be,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),We&&!ve&&X!=="combobox"&&X!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!et||lt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ie!=null){var $e=toArray(Ie);warning(!Qe||$e.every(function(_t){return _typeof(_t)==="object"&&("key"in _t||"value"in _t)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!he||Array.isArray(Ie),"`value` should be array when `mode` is `multiple` or `tags`")}if(Se){var ot=null;toNodeArray(Se).some(function(_t){if(!React.isValidElement(_t)||!_t.type)return!1;var bt=_t,on=bt.type;if(on.isSelectOption)return!1;if(on.isSelectOptGroup){var wt=toNodeArray(_t.props.children).every(function(Et){return!React.isValidElement(Et)||!_t.type||Et.type.isSelectOption?!0:(ot=Et.type,!1)});return!wt}return ot=on,!0}),ot&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ot.displayName||ot.name||ot,"`.")),warning(V===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Nn(Q,X){if(Q){var Ke=function Se(ze){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Be=0;Be<ze.length;Be++){var Fe=ze[Be];if(Fe[X==null?void 0:X.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ge&&Array.isArray(Fe[X==null?void 0:X.options])&&Se(Fe[X==null?void 0:X.options],!0))break}};Ke(Q)}}var In=null,En=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Tn=["inputValue"];function at(Q){return!Q||(0,U.Z)(Q)!=="object"}var it=s.forwardRef(function(Q,X){var Ke=Q.id,Se=Q.mode,ze=Q.prefixCls,Ge=ze===void 0?"rc-select":ze,Be=Q.backfill,Fe=Q.fieldNames,nt=Q.inputValue,We=Q.searchValue,et=Q.onSearch,lt=Q.autoClearSearchValue,Qe=lt===void 0?!0:lt,Ie=Q.onSelect,V=Q.onDeselect,ce=Q.dropdownMatchSelectWidth,he=ce===void 0?!0:ce,ve=Q.filterOption,Pe=Q.filterSort,Ue=Q.optionFilterProp,$e=Q.optionLabelProp,ot=Q.options,_t=Q.optionRender,bt=Q.children,on=Q.defaultActiveFirstOption,wt=Q.menuItemSelectedIcon,Et=Q.virtual,Mt=Q.direction,Ht=Q.listHeight,zt=Ht===void 0?200:Ht,xt=Q.listItemHeight,Pt=xt===void 0?20:xt,tt=Q.labelRender,ut=Q.value,ht=Q.defaultValue,$t=Q.labelInValue,kt=Q.onChange,jt=Q.maxCount,On=(0,_.Z)(Q,En),A=(0,Tt.ZP)(Ke),ae=Le(Se),q=!!(!ot&&bt),ie=s.useMemo(function(){return ve===void 0&&Se==="combobox"?!1:ve},[ve,Se]),_e=s.useMemo(function(){return J(Fe,q)},[JSON.stringify(Fe),q]),ye=(0,H.Z)("",{value:We!==void 0?We:nt,postState:function(Jt){return Jt||""}}),Ne=(0,j.Z)(ye,2),Re=Ne[0],be=Ne[1],ee=wn(ot,bt,_e,Ue,$e),oe=ee.valueOptions,de=ee.labelOptions,me=ee.options,Ee=s.useCallback(function(Ct){var Jt=T(Ct);return Jt.map(function(qt){var nn,Pn,Zn,ar,gt;if(at(qt))nn=qt;else{var Wt;Zn=qt.key,Pn=qt.label,nn=(Wt=qt.value)!==null&&Wt!==void 0?Wt:Zn}var Zt=oe.get(nn);if(Zt){var Mn;if(Pn===void 0&&(Pn=Zt==null?void 0:Zt[$e||_e.label]),Zn===void 0&&(Zn=(Mn=Zt==null?void 0:Zt.key)!==null&&Mn!==void 0?Mn:nn),ar=Zt==null?void 0:Zt.disabled,gt=Zt==null?void 0:Zt.title,0)var zn}return{label:Pn,value:nn,key:Zn,disabled:ar,title:gt}})},[_e,$e,oe]),Ve=(0,H.Z)(ht,{value:ut}),ct=(0,j.Z)(Ve,2),rt=ct[0],Nt=ct[1],Bt=s.useMemo(function(){var Ct,Jt=ae&&rt===null?[]:rt,qt=Ee(Jt);return Se==="combobox"&&y((Ct=qt[0])===null||Ct===void 0?void 0:Ct.value)?[]:qt},[rt,Ee,Se,ae]),Ot=mt(Bt,oe),Yt=(0,j.Z)(Ot,2),pt=Yt[0],hn=Yt[1],rn=s.useMemo(function(){if(!Se&&pt.length===1){var Ct=pt[0];if(Ct.value===null&&(Ct.label===null||Ct.label===void 0))return[]}return pt.map(function(Jt){var qt;return(0,Y.Z)((0,Y.Z)({},Jt),{},{label:(qt=typeof tt=="function"?tt(Jt):Jt.label)!==null&&qt!==void 0?qt:Jt.value})})},[Se,pt,tt]),_n=s.useMemo(function(){return new Set(pt.map(function(Ct){return Ct.value}))},[pt]);s.useEffect(function(){if(Se==="combobox"){var Ct,Jt=(Ct=pt[0])===null||Ct===void 0?void 0:Ct.value;be(i(Jt)?String(Jt):"")}},[pt]);var Gt=Rn(function(Ct,Jt){var qt=Jt!=null?Jt:Ct;return(0,z.Z)((0,z.Z)({},_e.value,Ct),_e.label,qt)}),tn=s.useMemo(function(){if(Se!=="tags")return me;var Ct=(0,k.Z)(me),Jt=function(nn){return oe.has(nn)};return(0,k.Z)(pt).sort(function(qt,nn){return qt.value<nn.value?-1:1}).forEach(function(qt){var nn=qt.value;Jt(nn)||Ct.push(Gt(nn,qt.label))}),Ct},[Gt,me,oe,pt,Se]),vn=bn(tn,_e,Re,ie,Ue),an=s.useMemo(function(){return Se!=="tags"||!Re||vn.some(function(Ct){return Ct[Ue||"value"]===Re})||vn.some(function(Ct){return Ct[_e.value]===Re})?vn:[Gt(Re)].concat((0,k.Z)(vn))},[Gt,Ue,Se,vn,Re,_e]),cn=function Ct(Jt){var qt=(0,k.Z)(Jt).sort(function(nn,Pn){return Pe(nn,Pn,{searchValue:Re})});return qt.map(function(nn){return Array.isArray(nn.options)?(0,Y.Z)((0,Y.Z)({},nn),{},{options:nn.options.length>0?Ct(nn.options):nn.options}):nn})},It=s.useMemo(function(){return Pe?cn(an):an},[an,Pe,Re]),vt=s.useMemo(function(){return L(It,{fieldNames:_e,childrenAsData:q})},[It,_e,q]),Dt=function(Jt){var qt=Ee(Jt);if(Nt(qt),kt&&(qt.length!==pt.length||qt.some(function(Zn,ar){var gt;return((gt=pt[ar])===null||gt===void 0?void 0:gt.value)!==(Zn==null?void 0:Zn.value)}))){var nn=$t?qt:qt.map(function(Zn){return Zn.value}),Pn=qt.map(function(Zn){return $(hn(Zn.value))});kt(ae?nn:nn[0],ae?Pn:Pn[0])}},Xt=s.useState(null),fn=(0,j.Z)(Xt,2),sn=fn[0],ln=fn[1],Un=s.useState(0),Xn=(0,j.Z)(Un,2),$n=Xn[0],or=Xn[1],ir=on!==void 0?on:Se!=="combobox",qn=s.useCallback(function(Ct,Jt){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nn=qt.source,Pn=nn===void 0?"keyboard":nn;or(Jt),Be&&Se==="combobox"&&Ct!==null&&Pn==="keyboard"&&ln(String(Ct))},[Be,Se]),gn=function(Jt,qt,nn){var Pn=function(){var dr,lr=hn(Jt);return[$t?{label:lr==null?void 0:lr[_e.label],value:Jt,key:(dr=lr==null?void 0:lr.key)!==null&&dr!==void 0?dr:Jt}:Jt,$(lr)]};if(qt&&Ie){var Zn=Pn(),ar=(0,j.Z)(Zn,2),gt=ar[0],Wt=ar[1];Ie(gt,Wt)}else if(!qt&&V&&nn!=="clear"){var Zt=Pn(),Mn=(0,j.Z)(Zt,2),zn=Mn[0],Hn=Mn[1];V(zn,Hn)}},kn=Rn(function(Ct,Jt){var qt,nn=ae?Jt.selected:!0;nn?qt=ae?[].concat((0,k.Z)(pt),[Ct]):[Ct]:qt=pt.filter(function(Pn){return Pn.value!==Ct}),Dt(qt),gn(Ct,nn),Se==="combobox"?ln(""):(!Le||Qe)&&(be(""),ln(""))}),Gn=function(Jt,qt){Dt(Jt);var nn=qt.type,Pn=qt.values;(nn==="remove"||nn==="clear")&&Pn.forEach(function(Zn){gn(Zn.value,!1,nn)})},xn=function(Jt,qt){if(be(Jt),ln(null),qt.source==="submit"){var nn=(Jt||"").trim();if(nn){var Pn=Array.from(new Set([].concat((0,k.Z)(_n),[nn])));Dt(Pn),gn(nn,!0),be("")}return}qt.source!=="blur"&&(Se==="combobox"&&Dt(Jt),et==null||et(Jt))},yn=function(Jt){var qt=Jt;Se!=="tags"&&(qt=Jt.map(function(Pn){var Zn=de.get(Pn);return Zn==null?void 0:Zn.value}).filter(function(Pn){return Pn!==void 0}));var nn=Array.from(new Set([].concat((0,k.Z)(_n),(0,k.Z)(qt))));Dt(nn),nn.forEach(function(Pn){gn(Pn,!0)})},Cn=s.useMemo(function(){var Ct=Et!==!1&&he!==!1;return(0,Y.Z)((0,Y.Z)({},ee),{},{flattenOptions:vt,onActiveValue:qn,defaultActiveFirstOption:ir,onSelect:kn,menuItemSelectedIcon:wt,rawValues:_n,fieldNames:_e,virtual:Ct,direction:Mt,listHeight:zt,listItemHeight:Pt,childrenAsData:q,maxCount:jt,optionRender:_t})},[jt,ee,vt,qn,ir,kn,wt,_n,_e,Et,he,Mt,zt,Pt,q,_t]);return s.createElement(se.Provider,{value:Cn},s.createElement(ke,(0,O.Z)({},On,{id:A,prefixCls:Ge,ref:X,omitDomProps:Tn,mode:Se,displayValues:rn,onDisplayValuesChange:Gn,direction:Mt,searchValue:Re,onSearch:xn,autoClearSearchValue:Qe,onSearchSplit:yn,dropdownMatchSelectWidth:he,OptionList:Ut,emptyOptions:!vt.length,activeValue:sn,activeDescendantId:"".concat(A,"_list_").concat($n)})))}),en=it;en.Option=Kt,en.OptGroup=Je;var pn=en,An=pn},86351:function(Lt,Te,u){"use strict";u.d(Te,{R:function(){return k},w:function(){return O}});var O={},k="rc-table-internal-hook"},97347:function(Lt,Te,u){"use strict";u.d(Te,{L:function(){return m},Z:function(){return c}});var O=u(16886),k=u(52873),z=u(15142),Y=u(26420),j=u(98506),_=u(33346),U=u(11592),H=u(48736),e=u(59301),s=u(86351),f=u(54451);function t(l){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof N=="number"?N:N.endsWith("%")?l*parseFloat(N)/100:null}function r(l,N,D){return e.useMemo(function(){if(N&&N>0){var I=0,K=0;l.forEach(function(T){var x=t(N,T.width);x?I+=x:K+=1});var G=Math.max(N,D),F=Math.max(G-I,K),ge=K,b=F/K,d=0,w=l.map(function(T){var x=(0,j.Z)({},T),n=t(N,x.width);if(n)x.width=n;else{var i=Math.floor(b);x.width=ge===1?F:i,F-=i,ge-=1}return d+=x.width,x});if(d<G){var P=G/d;F=G,w.forEach(function(T,x){var n=Math.floor(T.width*P);T.width=x===w.length-1?F:n,F-=n})}return[w,Math.max(d,G)]}return[l,N]},[l,N,D])}var a=["children"],o=["fixed"];function m(l){return(0,U.Z)(l).filter(function(N){return e.isValidElement(N)}).map(function(N){var D=N.key,I=N.props,K=I.children,G=(0,_.Z)(I,a),F=(0,j.Z)({key:D},G);return K&&(F.children=m(K)),F})}function E(l){return l.filter(function(N){return N&&(0,Y.Z)(N)==="object"&&!N.hidden}).map(function(N){var D=N.children;return D&&D.length>0?(0,j.Z)((0,j.Z)({},N),{},{children:E(D)}):N})}function S(l){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(D){return D&&(0,Y.Z)(D)==="object"}).reduce(function(D,I,K){var G=I.fixed,F=G===!0?"left":G,ge="".concat(N,"-").concat(K),b=I.children;return b&&b.length>0?[].concat((0,z.Z)(D),(0,z.Z)(S(b,ge).map(function(d){return(0,j.Z)({fixed:F},d)}))):[].concat((0,z.Z)(D),[(0,j.Z)((0,j.Z)({key:ge},I),{},{fixed:F})])},[])}function h(l){return l.map(function(N){var D=N.fixed,I=(0,_.Z)(N,o),K=D;return D==="left"?K="right":D==="right"&&(K="left"),(0,j.Z)({fixed:K},I)})}function v(l,N){var D=l.prefixCls,I=l.columns,K=l.children,G=l.expandable,F=l.expandedKeys,ge=l.columnTitle,b=l.getRowKey,d=l.onTriggerExpand,w=l.expandIcon,P=l.rowExpandable,T=l.expandIconColumnIndex,x=l.direction,n=l.expandRowByClick,i=l.columnWidth,y=l.fixed,M=l.scrollWidth,le=l.clientWidth,we=e.useMemo(function(){var ue=I||m(K)||[];return E(ue.slice())},[I,K]),Oe=e.useMemo(function(){if(G){var ue=we.slice();if(!ue.includes(s.w)){var te=T||0;te>=0&&(te||y==="left"||!y)&&ue.splice(te,0,s.w),y==="right"&&ue.splice(we.length,0,s.w)}var g=ue.indexOf(s.w);ue=ue.filter(function(re,C){return re!==s.w||C===g});var Z=we[g],R;y?R=y:R=Z?Z.fixed:null;var ne=(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)({},f.v,{className:"".concat(D,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ge),"fixed",R),"className","".concat(D,"-row-expand-icon-cell")),"width",i),"render",function(C,p,B){var J=b(p,B),L=F.has(J),$=P?P(p):!0,W=w({prefixCls:D,expanded:L,expandable:$,record:p,onExpand:d});return n?e.createElement("span",{onClick:function(se){return se.stopPropagation()}},W):W});return ue.map(function(re){return re===s.w?ne:re})}return we.filter(function(re){return re!==s.w})},[G,we,b,F,w,x]),je=e.useMemo(function(){var ue=Oe;return N&&(ue=N(ue)),ue.length||(ue=[{render:function(){return null}}]),ue},[N,Oe,x]),Ye=e.useMemo(function(){return x==="rtl"?h(S(je)):S(je)},[je,x,M]),At=e.useMemo(function(){for(var ue=-1,te=Ye.length-1;te>=0;te-=1){var g=Ye[te].fixed;if(g==="left"||g===!0){ue=te;break}}if(ue>=0)for(var Z=0;Z<=ue;Z+=1){var R=Ye[Z].fixed;if(R!=="left"&&R!==!0)return!0}var ne=Ye.findIndex(function(p){var B=p.fixed;return B==="right"});if(ne>=0)for(var re=ne;re<Ye.length;re+=1){var C=Ye[re].fixed;if(C!=="right")return!0}return!1},[Ye]),xe=r(Ye,M,le),qe=(0,O.Z)(xe,2),Ze=qe[0],pe=qe[1];return[je,Ze,pe,At]}var c=v},4030:function(Lt,Te,u){"use strict";u.d(Te,{w2:function(){return O.w},vP:function(){return dt.v},RQ:function(){return O.R},ER:function(){return J},Q$:function(){return ve},TN:function(){return kt}});var O=u(86351),k=u(16886),z=u(6089),Y=u(34280),j=u(13697),_=u(59301),U=u(4676);function H(A){var ae=_.createContext(void 0),q=function(_e){var ye=_e.value,Ne=_e.children,Re=_.useRef(ye);Re.current=ye;var be=_.useState(function(){return{getValue:function(){return Re.current},listeners:new Set}}),ee=(0,k.Z)(be,1),oe=ee[0];return(0,Y.Z)(function(){(0,U.unstable_batchedUpdates)(function(){oe.listeners.forEach(function(de){de(ye)})})},[ye]),_.createElement(ae.Provider,{value:oe},Ne)};return{Context:ae,Provider:q,defaultValue:A}}function e(A,ae){var q=(0,z.Z)(typeof ae=="function"?ae:function(de){if(ae===void 0)return de;if(!Array.isArray(ae))return de[ae];var me={};return ae.forEach(function(Ee){me[Ee]=de[Ee]}),me}),ie=_.useContext(A==null?void 0:A.Context),_e=ie||{},ye=_e.listeners,Ne=_e.getValue,Re=_.useRef();Re.current=q(ie?Ne():A==null?void 0:A.defaultValue);var be=_.useState({}),ee=(0,k.Z)(be,2),oe=ee[1];return(0,Y.Z)(function(){if(!ie)return;function de(me){var Ee=q(me);(0,j.Z)(Re.current,Ee,!0)||oe({})}return ye.add(de),function(){ye.delete(de)}},[ie]),Re.current}var s=u(67711),f=u(8654);function t(){var A=_.createContext(null);function ae(){return _.useContext(A)}function q(_e,ye){var Ne=(0,f.Yr)(_e),Re=function(ee,oe){var de=Ne?{ref:oe}:{},me=_.useRef(0),Ee=_.useRef(ee),Ve=ae();return Ve!==null?_.createElement(_e,(0,s.Z)({},ee,de)):((!ye||ye(Ee.current,ee))&&(me.current+=1),Ee.current=ee,_.createElement(A.Provider,{value:me.current},_.createElement(_e,(0,s.Z)({},ee,de))))};return Ne?_.forwardRef(Re):Re}function ie(_e,ye){var Ne=(0,f.Yr)(_e),Re=function(ee,oe){var de=Ne?{ref:oe}:{};return ae(),_.createElement(_e,(0,s.Z)({},ee,de))};return Ne?_.memo(_.forwardRef(Re),ye):_.memo(Re,ye)}return{makeImmutable:q,responseImmutable:ie,useImmutableMark:ae}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,m=r.useImmutableMark,E=t(),S=E.makeImmutable,h=E.responseImmutable,v=E.useImmutableMark,c=H(),l=c;function N(A,ae){var q=React.useRef(0);q.current+=1;var ie=React.useRef(A),_e=[];Object.keys(A||{}).map(function(Ne){var Re;(A==null?void 0:A[Ne])!==((Re=ie.current)===null||Re===void 0?void 0:Re[Ne])&&_e.push(Ne)}),ie.current=A;var ye=React.useRef([]);return _e.length&&(ye.current=_e),React.useDebugValue(q.current),React.useDebugValue(ye.current.join(", ")),ae&&console.log("".concat(ae,":"),q.current,ye.current),q.current}var D=null,I=null,K=u(26420),G=u(98506),F=u(52873),ge=u(92310),b=u.n(ge),d=u(80547),w=u(97938),P=u(48736),T=_.createContext({renderWithProps:!1}),x=T,n="RC_TABLE_KEY";function i(A){return A==null?[]:Array.isArray(A)?A:[A]}function y(A){var ae=[],q={};return A.forEach(function(ie){for(var _e=ie||{},ye=_e.key,Ne=_e.dataIndex,Re=ye||i(Ne).join("-")||n;q[Re];)Re="".concat(Re,"_next");q[Re]=!0,ae.push(Re)}),ae}function M(A){return A!=null}function le(A){return typeof A=="number"&&!Number.isNaN(A)}function we(A){return A&&(0,K.Z)(A)==="object"&&!Array.isArray(A)&&!_.isValidElement(A)}function Oe(A,ae,q,ie,_e,ye){var Ne=_.useContext(x),Re=v(),be=(0,d.Z)(function(){if(M(ie))return[ie];var ee=ae==null||ae===""?[]:Array.isArray(ae)?ae:[ae],oe=(0,w.Z)(A,ee),de=oe,me=void 0;if(_e){var Ee=_e(oe,A,q);we(Ee)?(de=Ee.children,me=Ee.props,Ne.renderWithProps=!0):de=Ee}return[de,me]},[Re,A,ie,ae,_e,q],function(ee,oe){if(ye){var de=(0,k.Z)(ee,2),me=de[1],Ee=(0,k.Z)(oe,2),Ve=Ee[1];return ye(Ve,me)}return Ne.renderWithProps?!0:!(0,j.Z)(ee,oe,!0)});return be}function je(A,ae,q,ie){var _e=A+ae-1;return A<=ie&&_e>=q}function Ye(A,ae){return e(l,function(q){var ie=je(A,ae||1,q.hoverStartRow,q.hoverEndRow);return[ie,q.onHover]})}var At=u(70425),xe=function(ae){var q=ae.ellipsis,ie=ae.rowType,_e=ae.children,ye,Ne=q===!0?{showTitle:!0}:q;return Ne&&(Ne.showTitle||ie==="header")&&(typeof _e=="string"||typeof _e=="number"?ye=_e.toString():_.isValidElement(_e)&&typeof _e.props.children=="string"&&(ye=_e.props.children)),ye};function qe(A){var ae,q,ie,_e,ye,Ne,Re,be,ee=A.component,oe=A.children,de=A.ellipsis,me=A.scope,Ee=A.prefixCls,Ve=A.className,ct=A.align,rt=A.record,Nt=A.render,Bt=A.dataIndex,Ot=A.renderIndex,Yt=A.shouldCellUpdate,pt=A.index,hn=A.rowType,rn=A.colSpan,_n=A.rowSpan,Gt=A.fixLeft,tn=A.fixRight,vn=A.firstFixLeft,an=A.lastFixLeft,cn=A.firstFixRight,It=A.lastFixRight,vt=A.appendNode,Dt=A.additionalProps,Xt=Dt===void 0?{}:Dt,fn=A.isSticky,sn="".concat(Ee,"-cell"),ln=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=ln.supportSticky,Xn=ln.allColumnsFixedLeft,$n=ln.rowHoverable,or=Oe(rt,Bt,Ot,oe,Nt,Yt),ir=(0,k.Z)(or,2),qn=ir[0],gn=ir[1],kn={},Gn=typeof Gt=="number"&&Un,xn=typeof tn=="number"&&Un;Gn&&(kn.position="sticky",kn.left=Gt),xn&&(kn.position="sticky",kn.right=tn);var yn=(ae=(q=(ie=gn==null?void 0:gn.colSpan)!==null&&ie!==void 0?ie:Xt.colSpan)!==null&&q!==void 0?q:rn)!==null&&ae!==void 0?ae:1,Cn=(_e=(ye=(Ne=gn==null?void 0:gn.rowSpan)!==null&&Ne!==void 0?Ne:Xt.rowSpan)!==null&&ye!==void 0?ye:_n)!==null&&_e!==void 0?_e:1,Ct=Ye(pt,Cn),Jt=(0,k.Z)(Ct,2),qt=Jt[0],nn=Jt[1],Pn=(0,At.zX)(function(zn){var Hn;rt&&nn(pt,pt+Cn-1),Xt==null||(Hn=Xt.onMouseEnter)===null||Hn===void 0||Hn.call(Xt,zn)}),Zn=(0,At.zX)(function(zn){var Hn;rt&&nn(-1,-1),Xt==null||(Hn=Xt.onMouseLeave)===null||Hn===void 0||Hn.call(Xt,zn)});if(yn===0||Cn===0)return null;var ar=(Re=Xt.title)!==null&&Re!==void 0?Re:xe({rowType:hn,ellipsis:de,children:qn}),gt=b()(sn,Ve,(be={},(0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)(be,"".concat(sn,"-fix-left"),Gn&&Un),"".concat(sn,"-fix-left-first"),vn&&Un),"".concat(sn,"-fix-left-last"),an&&Un),"".concat(sn,"-fix-left-all"),an&&Xn&&Un),"".concat(sn,"-fix-right"),xn&&Un),"".concat(sn,"-fix-right-first"),cn&&Un),"".concat(sn,"-fix-right-last"),It&&Un),"".concat(sn,"-ellipsis"),de),"".concat(sn,"-with-append"),vt),"".concat(sn,"-fix-sticky"),(Gn||xn)&&fn&&Un),(0,F.Z)(be,"".concat(sn,"-row-hover"),!gn&&qt)),Xt.className,gn==null?void 0:gn.className),Wt={};ct&&(Wt.textAlign=ct);var Zt=(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},gn==null?void 0:gn.style),kn),Wt),Xt.style),Mn=qn;return(0,K.Z)(Mn)==="object"&&!Array.isArray(Mn)&&!_.isValidElement(Mn)&&(Mn=null),de&&(an||cn)&&(Mn=_.createElement("span",{className:"".concat(sn,"-content")},Mn)),_.createElement(ee,(0,s.Z)({},gn,Xt,{className:gt,style:Zt,title:ar,scope:me,onMouseEnter:$n?Pn:void 0,onMouseLeave:$n?Zn:void 0,colSpan:yn!==1?yn:null,rowSpan:Cn!==1?Cn:null}),vt,Mn)}var Ze=_.memo(qe);function pe(A,ae,q,ie,_e){var ye=q[A]||{},Ne=q[ae]||{},Re,be;ye.fixed==="left"?Re=ie.left[_e==="rtl"?ae:A]:Ne.fixed==="right"&&(be=ie.right[_e==="rtl"?A:ae]);var ee=!1,oe=!1,de=!1,me=!1,Ee=q[ae+1],Ve=q[A-1],ct=Ee&&!Ee.fixed||Ve&&!Ve.fixed||q.every(function(Yt){return Yt.fixed==="left"});if(_e==="rtl"){if(Re!==void 0){var rt=Ve&&Ve.fixed==="left";me=!rt&&ct}else if(be!==void 0){var Nt=Ee&&Ee.fixed==="right";de=!Nt&&ct}}else if(Re!==void 0){var Bt=Ee&&Ee.fixed==="left";ee=!Bt&&ct}else if(be!==void 0){var Ot=Ve&&Ve.fixed==="right";oe=!Ot&&ct}return{fixLeft:Re,fixRight:be,lastFixLeft:ee,firstFixRight:oe,lastFixRight:de,firstFixLeft:me,isSticky:ie.isSticky}}var ue=_.createContext({}),te=ue;function g(A){var ae=A.className,q=A.index,ie=A.children,_e=A.colSpan,ye=_e===void 0?1:_e,Ne=A.rowSpan,Re=A.align,be=e(l,["prefixCls","direction"]),ee=be.prefixCls,oe=be.direction,de=_.useContext(te),me=de.scrollColumnIndex,Ee=de.stickyOffsets,Ve=de.flattenColumns,ct=q+ye-1,rt=ct+1===me?ye+1:ye,Nt=pe(q,q+rt-1,Ve,Ee,oe);return _.createElement(Ze,(0,s.Z)({className:ae,index:q,component:"td",prefixCls:ee,record:null,dataIndex:null,align:Re,colSpan:rt,rowSpan:Ne,render:function(){return ie}},Nt))}var Z=u(33346),R=["children"];function ne(A){var ae=A.children,q=(0,Z.Z)(A,R);return _.createElement("tr",q,ae)}function re(A){var ae=A.children;return ae}re.Row=ne,re.Cell=g;var C=re;function p(A){var ae=A.children,q=A.stickyOffsets,ie=A.flattenColumns,_e=e(l,"prefixCls"),ye=ie.length-1,Ne=ie[ye],Re=_.useMemo(function(){return{stickyOffsets:q,flattenColumns:ie,scrollColumnIndex:Ne!=null&&Ne.scrollbar?ye:null}},[Ne,ie,ye,q]);return _.createElement(te.Provider,{value:Re},_.createElement("tfoot",{className:"".concat(_e,"-summary")},ae))}var B=h(p),J=C,L=u(29301),$=u(24514),W=u(75152),fe=u(26112);function se(A,ae,q,ie,_e,ye,Ne){A.push({record:ae,indent:q,index:Ne});var Re=ye(ae),be=_e==null?void 0:_e.has(Re);if(ae&&Array.isArray(ae[ie])&&be)for(var ee=0;ee<ae[ie].length;ee+=1)se(A,ae[ie][ee],q+1,ie,_e,ye,ee)}function Ce(A,ae,q,ie){var _e=_.useMemo(function(){if(q!=null&&q.size){for(var ye=[],Ne=0;Ne<(A==null?void 0:A.length);Ne+=1){var Re=A[Ne];se(ye,Re,0,ae,q,ie,Ne)}return ye}return A==null?void 0:A.map(function(be,ee){return{record:be,indent:0,index:ee}})},[A,ae,q,ie]);return _e}function Ae(A,ae,q,ie){var _e=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ye=_e.flattenColumns,Ne=_e.expandableType,Re=_e.expandedKeys,be=_e.childrenColumnName,ee=_e.onTriggerExpand,oe=_e.rowExpandable,de=_e.onRow,me=_e.expandRowByClick,Ee=_e.rowClassName,Ve=Ne==="nest",ct=Ne==="row"&&(!oe||oe(A)),rt=ct||Ve,Nt=Re&&Re.has(ae),Bt=be&&A&&A[be],Ot=(0,At.zX)(ee),Yt=de==null?void 0:de(A,q),pt=Yt==null?void 0:Yt.onClick,hn=function(tn){me&&rt&&ee(A,tn);for(var vn=arguments.length,an=new Array(vn>1?vn-1:0),cn=1;cn<vn;cn++)an[cn-1]=arguments[cn];pt==null||pt.apply(void 0,[tn].concat(an))},rn;typeof Ee=="string"?rn=Ee:typeof Ee=="function"&&(rn=Ee(A,q,ie));var _n=y(ye);return(0,G.Z)((0,G.Z)({},_e),{},{columnsKey:_n,nestExpandable:Ve,expanded:Nt,hasNestChildren:Bt,record:A,onTriggerExpand:Ot,rowSupportExpand:ct,expandable:rt,rowProps:(0,G.Z)((0,G.Z)({},Yt),{},{className:b()(rn,Yt==null?void 0:Yt.className),onClick:hn})})}function Xe(A){var ae=A.prefixCls,q=A.children,ie=A.component,_e=A.cellComponent,ye=A.className,Ne=A.expanded,Re=A.colSpan,be=A.isEmpty,ee=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),oe=ee.scrollbarSize,de=ee.fixHeader,me=ee.fixColumn,Ee=ee.componentWidth,Ve=ee.horizonScroll,ct=q;return(be?Ve&&Ee:me)&&(ct=_.createElement("div",{style:{width:Ee-(de&&!be?oe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ae,"-expanded-row-fixed")},ct)),_.createElement(ie,{className:ye,style:{display:Ne?null:"none"}},_.createElement(Ze,{component:_e,prefixCls:ae,colSpan:Re},ct))}var Le=Xe;function Me(A){var ae=A.prefixCls,q=A.record,ie=A.onExpand,_e=A.expanded,ye=A.expandable,Ne="".concat(ae,"-row-expand-icon");if(!ye)return _.createElement("span",{className:b()(Ne,"".concat(ae,"-row-spaced"))});var Re=function(ee){ie(q,ee),ee.stopPropagation()};return _.createElement("span",{className:b()(Ne,(0,F.Z)((0,F.Z)({},"".concat(ae,"-row-expanded"),_e),"".concat(ae,"-row-collapsed"),!_e)),onClick:Re})}function ke(A,ae,q){var ie=[];function _e(ye){(ye||[]).forEach(function(Ne,Re){ie.push(ae(Ne,Re)),_e(Ne[q])})}return _e(A),ie}function st(A,ae,q,ie){return typeof A=="string"?A:typeof A=="function"?A(ae,q,ie):""}function Je(A,ae,q,ie,_e){var ye=A.record,Ne=A.prefixCls,Re=A.columnsKey,be=A.fixedInfoList,ee=A.expandIconColumnIndex,oe=A.nestExpandable,de=A.indentSize,me=A.expandIcon,Ee=A.expanded,Ve=A.hasNestChildren,ct=A.onTriggerExpand,rt=Re[q],Nt=be[q],Bt;q===(ee||0)&&oe&&(Bt=_.createElement(_.Fragment,null,_.createElement("span",{style:{paddingLeft:"".concat(de*ie,"px")},className:"".concat(Ne,"-row-indent indent-level-").concat(ie)}),me({prefixCls:Ne,expanded:Ee,expandable:Ve,record:ye,onExpand:ct})));var Ot;return ae.onCell&&(Ot=ae.onCell(ye,_e)),{key:rt,fixedInfo:Nt,appendCellNode:Bt,additionalCellProps:Ot||{}}}function He(A){var ae=A.className,q=A.style,ie=A.record,_e=A.index,ye=A.renderIndex,Ne=A.rowKey,Re=A.indent,be=Re===void 0?0:Re,ee=A.rowComponent,oe=A.cellComponent,de=A.scopeCellComponent,me=Ae(ie,Ne,_e,be),Ee=me.prefixCls,Ve=me.flattenColumns,ct=me.expandedRowClassName,rt=me.expandedRowRender,Nt=me.rowProps,Bt=me.expanded,Ot=me.rowSupportExpand,Yt=_.useRef(!1);Yt.current||(Yt.current=Bt);var pt=st(ct,ie,_e,be),hn=_.createElement(ee,(0,s.Z)({},Nt,{"data-row-key":Ne,className:b()(ae,"".concat(Ee,"-row"),"".concat(Ee,"-row-level-").concat(be),Nt==null?void 0:Nt.className,(0,F.Z)({},pt,be>=1)),style:(0,G.Z)((0,G.Z)({},q),Nt==null?void 0:Nt.style)}),Ve.map(function(Gt,tn){var vn=Gt.render,an=Gt.dataIndex,cn=Gt.className,It=Je(me,Gt,tn,be,_e),vt=It.key,Dt=It.fixedInfo,Xt=It.appendCellNode,fn=It.additionalCellProps;return _.createElement(Ze,(0,s.Z)({className:cn,ellipsis:Gt.ellipsis,align:Gt.align,scope:Gt.rowScope,component:Gt.rowScope?de:oe,prefixCls:Ee,key:vt,record:ie,index:_e,renderIndex:ye,dataIndex:an,render:vn,shouldCellUpdate:Gt.shouldCellUpdate},Dt,{appendNode:Xt,additionalProps:fn}))})),rn;if(Ot&&(Yt.current||Bt)){var _n=rt(ie,_e,be+1,Bt);rn=_.createElement(Le,{expanded:Bt,className:b()("".concat(Ee,"-expanded-row"),"".concat(Ee,"-expanded-row-level-").concat(be+1),pt),prefixCls:Ee,component:ee,cellComponent:oe,colSpan:Ve.length,isEmpty:!1},_n)}return _.createElement(_.Fragment,null,hn,rn)}var Kt=h(He);function St(A){var ae=A.columnKey,q=A.onColumnResize,ie=_.useRef();return(0,Y.Z)(function(){ie.current&&q(ae,ie.current.offsetWidth)},[]),_.createElement(L.Z,{data:ae},_.createElement("td",{ref:ie,style:{padding:0,border:0,height:0}},_.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var De=u(29194);function Vt(A){var ae=A.prefixCls,q=A.columnsKey,ie=A.onColumnResize,_e=_.useRef(null);return _.createElement("tr",{"aria-hidden":"true",className:"".concat(ae,"-measure-row"),style:{height:0,fontSize:0},ref:_e},_.createElement(L.Z.Collection,{onBatchResize:function(Ne){(0,De.Z)(_e.current)&&Ne.forEach(function(Re){var be=Re.data,ee=Re.size;ie(be,ee.offsetWidth)})}},q.map(function(ye){return _.createElement(St,{key:ye,columnKey:ye,onColumnResize:ie})})))}function dn(A){var ae=A.data,q=A.measureColumnWidth,ie=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),_e=ie.prefixCls,ye=ie.getComponent,Ne=ie.onColumnResize,Re=ie.flattenColumns,be=ie.getRowKey,ee=ie.expandedKeys,oe=ie.childrenColumnName,de=ie.emptyNode,me=Ce(ae,oe,ee,be),Ee=_.useRef({renderWithProps:!1}),Ve=ye(["body","wrapper"],"tbody"),ct=ye(["body","row"],"tr"),rt=ye(["body","cell"],"td"),Nt=ye(["body","cell"],"th"),Bt;ae.length?Bt=me.map(function(Yt,pt){var hn=Yt.record,rn=Yt.indent,_n=Yt.index,Gt=be(hn,pt);return _.createElement(Kt,{key:Gt,rowKey:Gt,record:hn,index:pt,renderIndex:_n,rowComponent:ct,cellComponent:rt,scopeCellComponent:Nt,indent:rn})}):Bt=_.createElement(Le,{expanded:!0,className:"".concat(_e,"-placeholder"),prefixCls:_e,component:ct,cellComponent:rt,colSpan:Re.length,isEmpty:!0},de);var Ot=y(Re);return _.createElement(x.Provider,{value:Ee.current},_.createElement(Ve,{className:"".concat(_e,"-tbody")},q&&_.createElement(Vt,{prefixCls:_e,columnsKey:Ot,onColumnResize:Ne}),Bt))}var Rt=h(dn),dt=u(54451),Ft=["columnType"];function un(A){for(var ae=A.colWidths,q=A.columns,ie=A.columCount,_e=e(l,["tableLayout"]),ye=_e.tableLayout,Ne=[],Re=ie||q.length,be=!1,ee=Re-1;ee>=0;ee-=1){var oe=ae[ee],de=q&&q[ee],me=void 0,Ee=void 0;if(de&&(me=de[dt.v],ye==="auto"&&(Ee=de.minWidth)),oe||Ee||me||be){var Ve=me||{},ct=Ve.columnType,rt=(0,Z.Z)(Ve,Ft);Ne.unshift(_.createElement("col",(0,s.Z)({key:ee,style:{width:oe,minWidth:Ee}},rt))),be=!0}}return _.createElement("colgroup",null,Ne)}var Ut=un,mt=u(15142),Qt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function bn(A,ae){return(0,_.useMemo)(function(){for(var q=[],ie=0;ie<ae;ie+=1){var _e=A[ie];if(_e!==void 0)q[ie]=_e;else return null}return q},[A.join("_"),ae])}var Tt=_.forwardRef(function(A,ae){var q=A.className,ie=A.noData,_e=A.columns,ye=A.flattenColumns,Ne=A.colWidths,Re=A.columCount,be=A.stickyOffsets,ee=A.direction,oe=A.fixHeader,de=A.stickyTopOffset,me=A.stickyBottomOffset,Ee=A.stickyClassName,Ve=A.onScroll,ct=A.maxContentScroll,rt=A.children,Nt=(0,Z.Z)(A,Qt),Bt=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ot=Bt.prefixCls,Yt=Bt.scrollbarSize,pt=Bt.isSticky,hn=Bt.getComponent,rn=hn(["header","table"],"table"),_n=pt&&!oe?0:Yt,Gt=_.useRef(null),tn=_.useCallback(function(fn){(0,f.mH)(ae,fn),(0,f.mH)(Gt,fn)},[]);_.useEffect(function(){var fn;function sn(ln){var Un=ln,Xn=Un.currentTarget,$n=Un.deltaX;$n&&(Ve({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),ln.preventDefault())}return(fn=Gt.current)===null||fn===void 0||fn.addEventListener("wheel",sn,{passive:!1}),function(){var ln;(ln=Gt.current)===null||ln===void 0||ln.removeEventListener("wheel",sn)}},[]);var vn=_.useMemo(function(){return ye.every(function(fn){return fn.width})},[ye]),an=ye[ye.length-1],cn={fixed:an?an.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ot,"-cell-scrollbar")}}},It=(0,_.useMemo)(function(){return _n?[].concat((0,mt.Z)(_e),[cn]):_e},[_n,_e]),vt=(0,_.useMemo)(function(){return _n?[].concat((0,mt.Z)(ye),[cn]):ye},[_n,ye]),Dt=(0,_.useMemo)(function(){var fn=be.right,sn=be.left;return(0,G.Z)((0,G.Z)({},be),{},{left:ee==="rtl"?[].concat((0,mt.Z)(sn.map(function(ln){return ln+_n})),[0]):sn,right:ee==="rtl"?fn:[].concat((0,mt.Z)(fn.map(function(ln){return ln+_n})),[0]),isSticky:pt})},[_n,be,pt]),Xt=bn(Ne,Re);return _.createElement("div",{style:(0,G.Z)({overflow:"hidden"},pt?{top:de,bottom:me}:{}),ref:tn,className:b()(q,(0,F.Z)({},Ee,!!Ee))},_.createElement(rn,{style:{tableLayout:"fixed",visibility:ie||Xt?null:"hidden"}},(!ie||!ct||vn)&&_.createElement(Ut,{colWidths:Xt?[].concat((0,mt.Z)(Xt),[_n]):[],columCount:Re+1,columns:vt}),rt((0,G.Z)((0,G.Z)({},Nt),{},{stickyOffsets:Dt,columns:It,flattenColumns:vt}))))}),ft=_.memo(Tt),yt=function(ae){var q=ae.cells,ie=ae.stickyOffsets,_e=ae.flattenColumns,ye=ae.rowComponent,Ne=ae.cellComponent,Re=ae.onHeaderRow,be=ae.index,ee=e(l,["prefixCls","direction"]),oe=ee.prefixCls,de=ee.direction,me;Re&&(me=Re(q.map(function(Ve){return Ve.column}),be));var Ee=y(q.map(function(Ve){return Ve.column}));return _.createElement(ye,me,q.map(function(Ve,ct){var rt=Ve.column,Nt=pe(Ve.colStart,Ve.colEnd,_e,ie,de),Bt;return rt&&rt.onHeaderCell&&(Bt=Ve.column.onHeaderCell(rt)),_.createElement(Ze,(0,s.Z)({},Ve,{scope:rt.title?Ve.colSpan>1?"colgroup":"col":null,ellipsis:rt.ellipsis,align:rt.align,component:Ne,prefixCls:oe,key:Ee[ct]},Nt,{additionalProps:Bt,rowType:"header"}))}))},Bn=yt;function mn(A){var ae=[];function q(Ne,Re){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ae[be]=ae[be]||[];var ee=Re,oe=Ne.filter(Boolean).map(function(de){var me={key:de.key,className:de.className||"",children:de.title,column:de,colStart:ee},Ee=1,Ve=de.children;return Ve&&Ve.length>0&&(Ee=q(Ve,ee,be+1).reduce(function(ct,rt){return ct+rt},0),me.hasSubColumns=!0),"colSpan"in de&&(Ee=de.colSpan),"rowSpan"in de&&(me.rowSpan=de.rowSpan),me.colSpan=Ee,me.colEnd=me.colStart+Ee-1,ae[be].push(me),ee+=Ee,Ee});return oe}q(A,0);for(var ie=ae.length,_e=function(Re){ae[Re].forEach(function(be){!("rowSpan"in be)&&!be.hasSubColumns&&(be.rowSpan=ie-Re)})},ye=0;ye<ie;ye+=1)_e(ye);return ae}var Ln=function(ae){var q=ae.stickyOffsets,ie=ae.columns,_e=ae.flattenColumns,ye=ae.onHeaderRow,Ne=e(l,["prefixCls","getComponent"]),Re=Ne.prefixCls,be=Ne.getComponent,ee=_.useMemo(function(){return mn(ie)},[ie]),oe=be(["header","wrapper"],"thead"),de=be(["header","row"],"tr"),me=be(["header","cell"],"th");return _.createElement(oe,{className:"".concat(Re,"-thead")},ee.map(function(Ee,Ve){var ct=_.createElement(Bn,{key:Ve,flattenColumns:_e,cells:Ee,stickyOffsets:q,rowComponent:de,cellComponent:me,onHeaderRow:ye,index:Ve});return ct}))},Wn=h(Ln),wn=u(97347);function Rn(A,ae,q){var ie=(0,dt.g)(A),_e=ie.expandIcon,ye=ie.expandedRowKeys,Ne=ie.defaultExpandedRowKeys,Re=ie.defaultExpandAllRows,be=ie.expandedRowRender,ee=ie.onExpand,oe=ie.onExpandedRowsChange,de=ie.childrenColumnName,me=_e||Me,Ee=de||"children",Ve=_.useMemo(function(){return be?"row":A.expandable&&A.internalHooks===O.R&&A.expandable.__PARENT_RENDER_ICON__||ae.some(function(pt){return pt&&(0,K.Z)(pt)==="object"&&pt[Ee]})?"nest":!1},[!!be,ae]),ct=_.useState(function(){return Ne||(Re?ke(ae,q,Ee):[])}),rt=(0,k.Z)(ct,2),Nt=rt[0],Bt=rt[1],Ot=_.useMemo(function(){return new Set(ye||Nt||[])},[ye,Nt]),Yt=_.useCallback(function(pt){var hn=q(pt,ae.indexOf(pt)),rn,_n=Ot.has(hn);_n?(Ot.delete(hn),rn=(0,mt.Z)(Ot)):rn=[].concat((0,mt.Z)(Ot),[hn]),Bt(rn),ee&&ee(!_n,pt),oe&&oe(rn)},[q,Ot,ae,ee,oe]);return[ie,Ve,Ot,me,Ee,Yt]}function Kn(A,ae,q){var ie=A.map(function(_e,ye){return pe(ye,ye,A,ae,q)});return(0,d.Z)(function(){return ie},[ie],function(_e,ye){return!(0,j.Z)(_e,ye)})}function Nn(A){var ae=(0,_.useRef)(A),q=(0,_.useState)({}),ie=(0,k.Z)(q,2),_e=ie[1],ye=(0,_.useRef)(null),Ne=(0,_.useRef)([]);function Re(be){Ne.current.push(be);var ee=Promise.resolve();ye.current=ee,ee.then(function(){if(ye.current===ee){var oe=Ne.current,de=ae.current;Ne.current=[],oe.forEach(function(me){ae.current=me(ae.current)}),ye.current=null,de!==ae.current&&_e({})}})}return(0,_.useEffect)(function(){return function(){ye.current=null}},[]),[ae.current,Re]}function In(A){var ae=(0,_.useRef)(A||null),q=(0,_.useRef)();function ie(){window.clearTimeout(q.current)}function _e(Ne){ae.current=Ne,ie(),q.current=window.setTimeout(function(){ae.current=null,q.current=void 0},100)}function ye(){return ae.current}return(0,_.useEffect)(function(){return ie},[]),[_e,ye]}function En(){var A=_.useState(-1),ae=(0,k.Z)(A,2),q=ae[0],ie=ae[1],_e=_.useState(-1),ye=(0,k.Z)(_e,2),Ne=ye[0],Re=ye[1],be=_.useCallback(function(ee,oe){ie(ee),Re(oe)},[]);return[q,Ne,be]}var Tn=u(47273),at=(0,Tn.Z)()?window:null;function it(A,ae){var q=(0,K.Z)(A)==="object"?A:{},ie=q.offsetHeader,_e=ie===void 0?0:ie,ye=q.offsetSummary,Ne=ye===void 0?0:ye,Re=q.offsetScroll,be=Re===void 0?0:Re,ee=q.getContainer,oe=ee===void 0?function(){return at}:ee,de=oe()||at,me=!!A;return _.useMemo(function(){return{isSticky:me,stickyClassName:me?"".concat(ae,"-sticky-holder"):"",offsetHeader:_e,offsetSummary:Ne,offsetScroll:be,container:de}},[me,be,_e,Ne,ae,de])}function en(A,ae,q){var ie=(0,_.useMemo)(function(){var _e=ae.length,ye=function(ee,oe,de){for(var me=[],Ee=0,Ve=ee;Ve!==oe;Ve+=de)me.push(Ee),ae[Ve].fixed&&(Ee+=A[Ve]||0);return me},Ne=ye(0,_e,1),Re=ye(_e-1,-1,-1).reverse();return q==="rtl"?{left:Re,right:Ne}:{left:Ne,right:Re}},[A,ae,q]);return ie}var pn=en;function An(A){var ae=A.className,q=A.children;return _.createElement("div",{className:ae},q)}var Q=An,X=u(8224),Ke=u(16089),Se=u(76846);function ze(A){var ae=(0,Se.bn)(A),q=ae.getBoundingClientRect(),ie=document.documentElement;return{left:q.left+(window.pageXOffset||ie.scrollLeft)-(ie.clientLeft||document.body.clientLeft||0),top:q.top+(window.pageYOffset||ie.scrollTop)-(ie.clientTop||document.body.clientTop||0)}}var Ge=function(ae,q){var ie,_e,ye=ae.scrollBodyRef,Ne=ae.onScroll,Re=ae.offsetScroll,be=ae.container,ee=ae.direction,oe=e(l,"prefixCls"),de=((ie=ye.current)===null||ie===void 0?void 0:ie.scrollWidth)||0,me=((_e=ye.current)===null||_e===void 0?void 0:_e.clientWidth)||0,Ee=de&&me*(me/de),Ve=_.useRef(),ct=Nn({scrollLeft:0,isHiddenScrollBar:!0}),rt=(0,k.Z)(ct,2),Nt=rt[0],Bt=rt[1],Ot=_.useRef({delta:0,x:0}),Yt=_.useState(!1),pt=(0,k.Z)(Yt,2),hn=pt[0],rn=pt[1],_n=_.useRef(null);_.useEffect(function(){return function(){Ke.Z.cancel(_n.current)}},[]);var Gt=function(){rn(!1)},tn=function(vt){vt.persist(),Ot.current.delta=vt.pageX-Nt.scrollLeft,Ot.current.x=0,rn(!0),vt.preventDefault()},vn=function(vt){var Dt,Xt=vt||((Dt=window)===null||Dt===void 0?void 0:Dt.event),fn=Xt.buttons;if(!hn||fn===0){hn&&rn(!1);return}var sn=Ot.current.x+vt.pageX-Ot.current.x-Ot.current.delta,ln=ee==="rtl";sn=Math.max(ln?Ee-me:0,Math.min(ln?0:me-Ee,sn));var Un=!ln||Math.abs(sn)+Math.abs(Ee)<me;Un&&(Ne({scrollLeft:sn/me*(de+2)}),Ot.current.x=vt.pageX)},an=function(){Ke.Z.cancel(_n.current),_n.current=(0,Ke.Z)(function(){if(ye.current){var vt=ze(ye.current).top,Dt=vt+ye.current.offsetHeight,Xt=be===window?document.documentElement.scrollTop+window.innerHeight:ze(be).top+be.clientHeight;Dt-(0,W.Z)()<=Xt||vt>=Xt-Re?Bt(function(fn){return(0,G.Z)((0,G.Z)({},fn),{},{isHiddenScrollBar:!0})}):Bt(function(fn){return(0,G.Z)((0,G.Z)({},fn),{},{isHiddenScrollBar:!1})})}})},cn=function(vt){Bt(function(Dt){return(0,G.Z)((0,G.Z)({},Dt),{},{scrollLeft:vt/de*me||0})})};return _.useImperativeHandle(q,function(){return{setScrollLeft:cn,checkScrollBarVisible:an}}),_.useEffect(function(){var It=(0,X.Z)(document.body,"mouseup",Gt,!1),vt=(0,X.Z)(document.body,"mousemove",vn,!1);return an(),function(){It.remove(),vt.remove()}},[Ee,hn]),_.useEffect(function(){if(ye.current){for(var It=[],vt=(0,Se.bn)(ye.current);vt;)It.push(vt),vt=vt.parentElement;return It.forEach(function(Dt){return Dt.addEventListener("scroll",an,!1)}),window.addEventListener("resize",an,!1),window.addEventListener("scroll",an,!1),be.addEventListener("scroll",an,!1),function(){It.forEach(function(Dt){return Dt.removeEventListener("scroll",an)}),window.removeEventListener("resize",an),window.removeEventListener("scroll",an),be.removeEventListener("scroll",an)}}},[be]),_.useEffect(function(){Nt.isHiddenScrollBar||Bt(function(It){var vt=ye.current;return vt?(0,G.Z)((0,G.Z)({},It),{},{scrollLeft:vt.scrollLeft/vt.scrollWidth*vt.clientWidth}):It})},[Nt.isHiddenScrollBar]),de<=me||!Ee||Nt.isHiddenScrollBar?null:_.createElement("div",{style:{height:(0,W.Z)(),width:me,bottom:Re},className:"".concat(oe,"-sticky-scroll")},_.createElement("div",{onMouseDown:tn,ref:Ve,className:b()("".concat(oe,"-sticky-scroll-bar"),(0,F.Z)({},"".concat(oe,"-sticky-scroll-bar-active"),hn)),style:{width:"".concat(Ee,"px"),transform:"translate3d(".concat(Nt.scrollLeft,"px, 0, 0)")}}))},Be=_.forwardRef(Ge);function Fe(A){return null}var nt=Fe;function We(A){return null}var et=We,lt="rc-table",Qe=[],Ie={};function V(){return"No Data"}function ce(A,ae){var q=(0,G.Z)({rowKey:"key",prefixCls:lt,emptyText:V},A),ie=q.prefixCls,_e=q.className,ye=q.rowClassName,Ne=q.style,Re=q.data,be=q.rowKey,ee=q.scroll,oe=q.tableLayout,de=q.direction,me=q.title,Ee=q.footer,Ve=q.summary,ct=q.caption,rt=q.id,Nt=q.showHeader,Bt=q.components,Ot=q.emptyText,Yt=q.onRow,pt=q.onHeaderRow,hn=q.onScroll,rn=q.internalHooks,_n=q.transformColumns,Gt=q.internalRefs,tn=q.tailor,vn=q.getContainerWidth,an=q.sticky,cn=q.rowHoverable,It=cn===void 0?!0:cn,vt=Re||Qe,Dt=!!vt.length,Xt=rn===O.R,fn=_.useCallback(function(Fn,jn){return(0,w.Z)(Bt,Fn)||jn},[Bt]),sn=_.useMemo(function(){return typeof be=="function"?be:function(Fn){var jn=Fn&&Fn[be];return jn}},[be]),ln=fn(["body"]),Un=En(),Xn=(0,k.Z)(Un,3),$n=Xn[0],or=Xn[1],ir=Xn[2],qn=Rn(q,vt,sn),gn=(0,k.Z)(qn,6),kn=gn[0],Gn=gn[1],xn=gn[2],yn=gn[3],Cn=gn[4],Ct=gn[5],Jt=ee==null?void 0:ee.x,qt=_.useState(0),nn=(0,k.Z)(qt,2),Pn=nn[0],Zn=nn[1],ar=(0,wn.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},q),kn),{},{expandable:!!kn.expandedRowRender,columnTitle:kn.columnTitle,expandedKeys:xn,getRowKey:sn,onTriggerExpand:Ct,expandIcon:yn,expandIconColumnIndex:kn.expandIconColumnIndex,direction:de,scrollWidth:Xt&&tn&&typeof Jt=="number"?Jt:null,clientWidth:Pn}),Xt?_n:null),gt=(0,k.Z)(ar,4),Wt=gt[0],Zt=gt[1],Mn=gt[2],zn=gt[3],Hn=Mn!=null?Mn:Jt,cr=_.useMemo(function(){return{columns:Wt,flattenColumns:Zt}},[Wt,Zt]),dr=_.useRef(),lr=_.useRef(),Jn=_.useRef(),Fr=_.useRef();_.useImperativeHandle(ae,function(){return{nativeElement:dr.current,scrollTo:function(jn){var _r;if(Jn.current instanceof HTMLElement){var wr=jn.index,pr=jn.top,Hr=jn.key;if(le(pr)){var Lr;(Lr=Jn.current)===null||Lr===void 0||Lr.scrollTo({top:pr})}else{var Kr,Qr=Hr!=null?Hr:sn(vt[wr]);(Kr=Jn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(_r=Jn.current)!==null&&_r!==void 0&&_r.scrollTo&&Jn.current.scrollTo(jn)}}});var Br=_.useRef(),Sr=_.useState(!1),Tr=(0,k.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ar=_.useState(!1),br=(0,k.Z)(Ar,2),Mr=br[0],Pr=br[1],zr=_.useState(new Map),kr=(0,k.Z)(zr,2),$r=kr[0],Ir=kr[1],Gr=y(Zt),jr=Gr.map(function(Fn){return $r.get(Fn)}),Wr=_.useMemo(function(){return jr},[jr.join("_")]),Dr=pn(Wr,Zt,de),hr=ee&&M(ee.y),ur=ee&&M(Hn)||!!kn.fixed,Dn=ur&&Zt.some(function(Fn){var jn=Fn.fixed;return jn}),Sn=_.useRef(),nr=it(an,ie),Qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,sr=_.useMemo(function(){return Ve==null?void 0:Ve(vt)},[Ve,vt]),mr=(hr||Qn)&&_.isValidElement(sr)&&sr.type===C&&sr.props.fixed,Rr,Er,Yr;hr&&(Er={overflowY:Dt?"scroll":"auto",maxHeight:ee.y}),ur&&(Rr={overflowX:"auto"},hr||(Er={overflowY:"hidden"}),Yr={width:Hn===!0?"auto":Hn,minWidth:"100%"});var qr=_.useCallback(function(Fn,jn){Ir(function(_r){if(_r.get(Fn)!==jn){var wr=new Map(_r);return wr.set(Fn,jn),wr}return _r})},[]),tr=In(null),Vn=(0,k.Z)(tr,2),Yn=Vn[0],vr=Vn[1];function fr(Fn,jn){jn&&(typeof jn=="function"?jn(Fn):jn.scrollLeft!==Fn&&(jn.scrollLeft=Fn,jn.scrollLeft!==Fn&&setTimeout(function(){jn.scrollLeft=Fn},0)))}var Cr=(0,z.Z)(function(Fn){var jn=Fn.currentTarget,_r=Fn.scrollLeft,wr=de==="rtl",pr=typeof _r=="number"?_r:jn.scrollLeft,Hr=jn||Ie;if(!vr()||vr()===Hr){var Lr;Yn(Hr),fr(pr,lr.current),fr(pr,Jn.current),fr(pr,Br.current),fr(pr,(Lr=Sn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=jn||lr.current;if(Kr){var Qr=Xt&&tn&&typeof Hn=="number"?Hn:Kr.scrollWidth,oi=Kr.clientWidth;if(Qr===oi){Or(!1),Pr(!1);return}wr?(Or(-pr<Qr-oi),Pr(-pr>0)):(Or(pr>0),Pr(pr<Qr-oi))}}),Xr=(0,z.Z)(function(Fn){Cr(Fn),hn==null||hn(Fn)}),ei=function(){if(ur&&Jn.current){var jn;Cr({currentTarget:(0,Se.bn)(Jn.current),scrollLeft:(jn=Jn.current)===null||jn===void 0?void 0:jn.scrollLeft})}else Or(!1),Pr(!1)},ti=function(jn){var _r,wr=jn.width;(_r=Sn.current)===null||_r===void 0||_r.checkScrollBarVisible();var pr=dr.current?dr.current.offsetWidth:wr;Xt&&vn&&dr.current&&(pr=vn(dr.current,pr)||pr),pr!==Pn&&(ei(),Zn(pr))},Jr=_.useRef(!1);_.useEffect(function(){Jr.current&&ei()},[ur,Re,Wt.length]),_.useEffect(function(){Jr.current=!0},[]);var Zr=_.useState(0),Ur=(0,k.Z)(Zr,2),Vr=Ur[0],li=Ur[1],wi=_.useState(!0),ui=(0,k.Z)(wi,2),ci=ui[0],xi=ui[1];(0,Y.Z)(function(){(!tn||!Xt)&&(Jn.current instanceof Element?li((0,W.o)(Jn.current).width):li((0,W.o)(Fr.current).width)),xi((0,$.G)("position","sticky"))},[]),_.useEffect(function(){Xt&&Gt&&(Gt.body.current=Jn.current)});var Ei=_.useCallback(function(Fn){return _.createElement(_.Fragment,null,_.createElement(Wn,Fn),mr==="top"&&_.createElement(B,Fn,sr))},[mr,sr]),Ci=_.useCallback(function(Fn){return _.createElement(B,Fn,sr)},[sr]),fi=fn(["table"],"table"),ni=_.useMemo(function(){return oe||(Dn?Hn==="max-content"?"auto":"fixed":hr||Qn||Zt.some(function(Fn){var jn=Fn.ellipsis;return jn})?"fixed":"auto")},[hr,Dn,Zt,oe,Qn]),ri,ii={colWidths:Wr,columCount:Zt.length,stickyOffsets:Dr,onHeaderRow:pt,fixHeader:hr,scroll:ee},di=_.useMemo(function(){return Dt?null:typeof Ot=="function"?Ot():Ot},[Dt,Ot]),hi=_.createElement(Rt,{data:vt,measureColumnWidth:hr||ur||Qn}),_i=_.createElement(Ut,{colWidths:Zt.map(function(Fn){var jn=Fn.width;return jn}),columns:Zt}),pi=ct!=null?_.createElement("caption",{className:"".concat(ie,"-caption")},ct):void 0,Si=(0,fe.Z)(q,{data:!0}),vi=(0,fe.Z)(q,{aria:!0});if(hr||Qn){var ai;typeof ln=="function"?(ai=ln(vt,{scrollbarSize:Vr,ref:Jn,onScroll:Cr}),ii.colWidths=Zt.map(function(Fn,jn){var _r=Fn.width,wr=jn===Zt.length-1?_r-Vr:_r;return typeof wr=="number"&&!Number.isNaN(wr)?wr:0})):ai=_.createElement("div",{style:(0,G.Z)((0,G.Z)({},Rr),Er),onScroll:Xr,ref:Jn,className:b()("".concat(ie,"-body"))},_.createElement(fi,(0,s.Z)({style:(0,G.Z)((0,G.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,hi,!mr&&sr&&_.createElement(B,{stickyOffsets:Dr,flattenColumns:Zt},sr)));var mi=(0,G.Z)((0,G.Z)((0,G.Z)({noData:!vt.length,maxContentScroll:ur&&Hn==="max-content"},ii),cr),{},{direction:de,stickyClassName:gr,onScroll:Cr});ri=_.createElement(_.Fragment,null,Nt!==!1&&_.createElement(ft,(0,s.Z)({},mi,{stickyTopOffset:er,className:"".concat(ie,"-header"),ref:lr}),Ei),ai,mr&&mr!=="top"&&_.createElement(ft,(0,s.Z)({},mi,{stickyBottomOffset:rr,className:"".concat(ie,"-summary"),ref:Br}),Ci),Qn&&Jn.current&&Jn.current instanceof Element&&_.createElement(Be,{ref:Sn,offsetScroll:yr,scrollBodyRef:Jn,onScroll:Cr,container:xr,direction:de}))}else ri=_.createElement("div",{style:(0,G.Z)((0,G.Z)({},Rr),Er),className:b()("".concat(ie,"-content")),onScroll:Cr,ref:Jn},_.createElement(fi,(0,s.Z)({style:(0,G.Z)((0,G.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,Nt!==!1&&_.createElement(Wn,(0,s.Z)({},ii,cr)),hi,sr&&_.createElement(B,{stickyOffsets:Dr,flattenColumns:Zt},sr)));var si=_.createElement("div",(0,s.Z)({className:b()(ie,_e,(0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)((0,F.Z)({},"".concat(ie,"-rtl"),de==="rtl"),"".concat(ie,"-ping-left"),Nr),"".concat(ie,"-ping-right"),Mr),"".concat(ie,"-layout-fixed"),oe==="fixed"),"".concat(ie,"-fixed-header"),hr),"".concat(ie,"-fixed-column"),Dn),"".concat(ie,"-fixed-column-gapped"),Dn&&zn),"".concat(ie,"-scroll-horizontal"),ur),"".concat(ie,"-has-fix-left"),Zt[0]&&Zt[0].fixed),"".concat(ie,"-has-fix-right"),Zt[Zt.length-1]&&Zt[Zt.length-1].fixed==="right")),style:Ne,id:rt,ref:dr},Si),me&&_.createElement(Q,{className:"".concat(ie,"-title")},me(vt)),_.createElement("div",{ref:Fr,className:"".concat(ie,"-container")},ri),Ee&&_.createElement(Q,{className:"".concat(ie,"-footer")},Ee(vt)));ur&&(si=_.createElement(L.Z,{onResize:ti},si));var gi=Kn(Zt,Dr,de),Ri=_.useMemo(function(){return{scrollX:Hn,prefixCls:ie,getComponent:fn,scrollbarSize:Vr,direction:de,fixedInfoList:gi,isSticky:Qn,supportSticky:ci,componentWidth:Pn,fixHeader:hr,fixColumn:Dn,horizonScroll:ur,tableLayout:ni,rowClassName:ye,expandedRowClassName:kn.expandedRowClassName,expandIcon:yn,expandableType:Gn,expandRowByClick:kn.expandRowByClick,expandedRowRender:kn.expandedRowRender,onTriggerExpand:Ct,expandIconColumnIndex:kn.expandIconColumnIndex,indentSize:kn.indentSize,allColumnsFixedLeft:Zt.every(function(Fn){return Fn.fixed==="left"}),emptyNode:di,columns:Wt,flattenColumns:Zt,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:or,onHover:ir,rowExpandable:kn.rowExpandable,onRow:Yt,getRowKey:sn,expandedKeys:xn,childrenColumnName:Cn,rowHoverable:It}},[Hn,ie,fn,Vr,de,gi,Qn,ci,Pn,hr,Dn,ur,ni,ye,kn.expandedRowClassName,yn,Gn,kn.expandRowByClick,kn.expandedRowRender,Ct,kn.expandIconColumnIndex,kn.indentSize,di,Wt,Zt,qr,$n,or,ir,kn.rowExpandable,Yt,sn,xn,Cn,It]);return _.createElement(l.Provider,{value:Ri},si)}var he=_.forwardRef(ce);function ve(A){return S(he,A)}var Pe=ve();Pe.EXPAND_COLUMN=O.w,Pe.INTERNAL_HOOKS=O.R,Pe.Column=nt,Pe.ColumnGroup=et,Pe.Summary=J;var Ue=Pe,$e=u(6790),ot=H(null),_t=H(null);function bt(A,ae,q){var ie=ae||1;return q[A+ie]-(q[A]||0)}function on(A){var ae=A.rowInfo,q=A.column,ie=A.colIndex,_e=A.indent,ye=A.index,Ne=A.component,Re=A.renderIndex,be=A.record,ee=A.style,oe=A.className,de=A.inverse,me=A.getHeight,Ee=q.render,Ve=q.dataIndex,ct=q.className,rt=q.width,Nt=e(_t,["columnsOffset"]),Bt=Nt.columnsOffset,Ot=Je(ae,q,ie,_e,ye),Yt=Ot.key,pt=Ot.fixedInfo,hn=Ot.appendCellNode,rn=Ot.additionalCellProps,_n=rn.style,Gt=rn.colSpan,tn=Gt===void 0?1:Gt,vn=rn.rowSpan,an=vn===void 0?1:vn,cn=ie-1,It=bt(cn,tn,Bt),vt=tn>1?rt-It:0,Dt=(0,G.Z)((0,G.Z)((0,G.Z)({},_n),ee),{},{flex:"0 0 ".concat(It,"px"),width:"".concat(It,"px"),marginRight:vt,pointerEvents:"auto"}),Xt=_.useMemo(function(){return de?an<=1:tn===0||an===0||an>1},[an,tn,de]);Xt?Dt.visibility="hidden":de&&(Dt.height=me==null?void 0:me(an));var fn=Xt?function(){return null}:Ee,sn={};return(an===0||tn===0)&&(sn.rowSpan=1,sn.colSpan=1),_.createElement(Ze,(0,s.Z)({className:b()(ct,oe),ellipsis:q.ellipsis,align:q.align,scope:q.rowScope,component:Ne,prefixCls:ae.prefixCls,key:Yt,record:be,index:ye,renderIndex:Re,dataIndex:Ve,render:fn,shouldCellUpdate:q.shouldCellUpdate},pt,{appendNode:hn,additionalProps:(0,G.Z)((0,G.Z)({},rn),{},{style:Dt},sn)}))}var wt=on,Et=["data","index","className","rowKey","style","extra","getHeight"],Mt=_.forwardRef(function(A,ae){var q=A.data,ie=A.index,_e=A.className,ye=A.rowKey,Ne=A.style,Re=A.extra,be=A.getHeight,ee=(0,Z.Z)(A,Et),oe=q.record,de=q.indent,me=q.index,Ee=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ve=Ee.scrollX,ct=Ee.flattenColumns,rt=Ee.prefixCls,Nt=Ee.fixColumn,Bt=Ee.componentWidth,Ot=e(ot,["getComponent"]),Yt=Ot.getComponent,pt=Ae(oe,ye,ie,de),hn=Yt(["body","row"],"div"),rn=Yt(["body","cell"],"div"),_n=pt.rowSupportExpand,Gt=pt.expanded,tn=pt.rowProps,vn=pt.expandedRowRender,an=pt.expandedRowClassName,cn;if(_n&&Gt){var It=vn(oe,ie,de+1,Gt),vt=st(an,oe,ie,de),Dt={};Nt&&(Dt={style:(0,F.Z)({},"--virtual-width","".concat(Bt,"px"))});var Xt="".concat(rt,"-expanded-row-cell");cn=_.createElement(hn,{className:b()("".concat(rt,"-expanded-row"),"".concat(rt,"-expanded-row-level-").concat(de+1),vt)},_.createElement(Ze,{component:rn,prefixCls:rt,className:b()(Xt,(0,F.Z)({},"".concat(Xt,"-fixed"),Nt)),additionalProps:Dt},It))}var fn=(0,G.Z)((0,G.Z)({},Ne),{},{width:Ve});Re&&(fn.position="absolute",fn.pointerEvents="none");var sn=_.createElement(hn,(0,s.Z)({},tn,ee,{"data-row-key":ye,ref:_n?null:ae,className:b()(_e,"".concat(rt,"-row"),tn==null?void 0:tn.className,(0,F.Z)({},"".concat(rt,"-row-extra"),Re)),style:(0,G.Z)((0,G.Z)({},fn),tn==null?void 0:tn.style)}),ct.map(function(ln,Un){return _.createElement(wt,{key:Un,component:rn,rowInfo:pt,column:ln,colIndex:Un,indent:de,index:ie,renderIndex:me,record:oe,inverse:Re,getHeight:be})}));return _n?_.createElement("div",{ref:ae},sn,cn):sn}),Ht=h(Mt),zt=Ht,xt=_.forwardRef(function(A,ae){var q=A.data,ie=A.onScroll,_e=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ye=_e.flattenColumns,Ne=_e.onColumnResize,Re=_e.getRowKey,be=_e.expandedKeys,ee=_e.prefixCls,oe=_e.childrenColumnName,de=_e.scrollX,me=_e.direction,Ee=e(ot),Ve=Ee.sticky,ct=Ee.scrollY,rt=Ee.listItemHeight,Nt=Ee.getComponent,Bt=Ee.onScroll,Ot=_.useRef(),Yt=Ce(q,oe,be,Re),pt=_.useMemo(function(){var cn=0;return ye.map(function(It){var vt=It.width,Dt=It.key;return cn+=vt,[Dt,vt,cn]})},[ye]),hn=_.useMemo(function(){return pt.map(function(cn){return cn[2]})},[pt]);_.useEffect(function(){pt.forEach(function(cn){var It=(0,k.Z)(cn,2),vt=It[0],Dt=It[1];Ne(vt,Dt)})},[pt]),_.useImperativeHandle(ae,function(){var cn,It={scrollTo:function(Dt){var Xt;(Xt=Ot.current)===null||Xt===void 0||Xt.scrollTo(Dt)},nativeElement:(cn=Ot.current)===null||cn===void 0?void 0:cn.nativeElement};return Object.defineProperty(It,"scrollLeft",{get:function(){var Dt;return((Dt=Ot.current)===null||Dt===void 0?void 0:Dt.getScrollInfo().x)||0},set:function(Dt){var Xt;(Xt=Ot.current)===null||Xt===void 0||Xt.scrollTo({left:Dt})}}),It});var rn=function(It,vt){var Dt,Xt=(Dt=Yt[vt])===null||Dt===void 0?void 0:Dt.record,fn=It.onCell;if(fn){var sn,ln=fn(Xt,vt);return(sn=ln==null?void 0:ln.rowSpan)!==null&&sn!==void 0?sn:1}return 1},_n=function(It){var vt=It.start,Dt=It.end,Xt=It.getSize,fn=It.offsetY;if(Dt<0)return null;for(var sn=ye.filter(function(yn){return rn(yn,vt)===0}),ln=vt,Un=function(Cn){if(sn=sn.filter(function(Ct){return rn(Ct,Cn)===0}),!sn.length)return ln=Cn,1},Xn=vt;Xn>=0&&!Un(Xn);Xn-=1);for(var $n=ye.filter(function(yn){return rn(yn,Dt)!==1}),or=Dt,ir=function(Cn){if($n=$n.filter(function(Ct){return rn(Ct,Cn)!==1}),!$n.length)return or=Math.max(Cn-1,Dt),1},qn=Dt;qn<Yt.length&&!ir(qn);qn+=1);for(var gn=[],kn=function(Cn){var Ct=Yt[Cn];if(!Ct)return 1;ye.some(function(Jt){return rn(Jt,Cn)>1})&&gn.push(Cn)},Gn=ln;Gn<=or;Gn+=1)kn(Gn);var xn=gn.map(function(yn){var Cn=Yt[yn],Ct=Re(Cn.record,yn),Jt=function(Pn){var Zn=yn+Pn-1,ar=Re(Yt[Zn].record,Zn),gt=Xt(Ct,ar);return gt.bottom-gt.top},qt=Xt(Ct);return _.createElement(zt,{key:yn,data:Cn,rowKey:Ct,index:yn,style:{top:-fn+qt.top},extra:!0,getHeight:Jt})});return xn},Gt=_.useMemo(function(){return{columnsOffset:hn}},[hn]),tn="".concat(ee,"-tbody"),vn=Nt(["body","wrapper"]),an={};return Ve&&(an.position="sticky",an.bottom=0,(0,K.Z)(Ve)==="object"&&Ve.offsetScroll&&(an.bottom=Ve.offsetScroll)),_.createElement(_t.Provider,{value:Gt},_.createElement($e.Z,{fullHeight:!1,ref:Ot,prefixCls:"".concat(tn,"-virtual"),styles:{horizontalScrollBar:an},className:tn,height:ct,itemHeight:rt||24,data:Yt,itemKey:function(It){return Re(It.record)},component:vn,scrollWidth:de,direction:me,onVirtualScroll:function(It){var vt,Dt=It.x;ie({currentTarget:(vt=Ot.current)===null||vt===void 0?void 0:vt.nativeElement,scrollLeft:Dt})},onScroll:Bt,extraRender:_n},function(cn,It,vt){var Dt=Re(cn.record,It);return _.createElement(zt,{data:cn,rowKey:Dt,index:It,style:vt.style})}))}),Pt=h(xt),tt=Pt,ut=function(ae,q){var ie=q.ref,_e=q.onScroll;return _.createElement(tt,{ref:ie,data:ae,onScroll:_e})};function ht(A,ae){var q=A.data,ie=A.columns,_e=A.scroll,ye=A.sticky,Ne=A.prefixCls,Re=Ne===void 0?lt:Ne,be=A.className,ee=A.listItemHeight,oe=A.components,de=A.onScroll,me=_e||{},Ee=me.x,Ve=me.y;typeof Ee!="number"&&(Ee=1),typeof Ve!="number"&&(Ve=500);var ct=(0,At.zX)(function(Bt,Ot){return(0,w.Z)(oe,Bt)||Ot}),rt=(0,At.zX)(de),Nt=_.useMemo(function(){return{sticky:ye,scrollY:Ve,listItemHeight:ee,getComponent:ct,onScroll:rt}},[ye,Ve,ee,ct,rt]);return _.createElement(ot.Provider,{value:Nt},_.createElement(Ue,(0,s.Z)({},A,{className:b()(be,"".concat(Re,"-virtual")),scroll:(0,G.Z)((0,G.Z)({},_e),{},{x:Ee}),components:(0,G.Z)((0,G.Z)({},oe),{},{body:q!=null&&q.length?ut:void 0}),columns:ie,internalHooks:O.R,tailor:!0,ref:ae})))}var $t=_.forwardRef(ht);function kt(A){return S($t,A)}var jt=kt(),On=null},54451:function(Lt,Te,u){"use strict";u.d(Te,{g:function(){return _},v:function(){return j}});var O=u(98506),k=u(33346),z=u(48736),Y=["expandable"],j="RC_TABLE_INTERNAL_COL_DEFINE";function _(U){var H=U.expandable,e=(0,k.Z)(U,Y),s;return"expandable"in U?s=(0,O.Z)((0,O.Z)({},e),H):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Lt,Te,u){"use strict";u.d(Te,{G:function(){return Y},Z:function(){return S}});var O=u(92310),k=u.n(O),z=u(59301);function Y(h){var v=h.children,c=h.prefixCls,l=h.id,N=h.overlayInnerStyle,D=h.bodyClassName,I=h.className,K=h.style;return z.createElement("div",{className:k()("".concat(c,"-content"),I),style:K},z.createElement("div",{className:k()("".concat(c,"-inner"),D),id:l,role:"tooltip",style:N},typeof v=="function"?v():v))}var j=u(67711),_=u(98506),U=u(33346),H=u(65030),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},f=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:f},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:f},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:f},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:f},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:f},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:f},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:f},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:f},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:f},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:f},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:f}},r=null,a=u(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(v,c){var l=v.overlayClassName,N=v.trigger,D=N===void 0?["hover"]:N,I=v.mouseEnterDelay,K=I===void 0?0:I,G=v.mouseLeaveDelay,F=G===void 0?.1:G,ge=v.overlayStyle,b=v.prefixCls,d=b===void 0?"rc-tooltip":b,w=v.children,P=v.onVisibleChange,T=v.afterVisibleChange,x=v.transitionName,n=v.animation,i=v.motion,y=v.placement,M=y===void 0?"right":y,le=v.align,we=le===void 0?{}:le,Oe=v.destroyTooltipOnHide,je=Oe===void 0?!1:Oe,Ye=v.defaultVisible,At=v.getTooltipContainer,xe=v.overlayInnerStyle,qe=v.arrowContent,Ze=v.overlay,pe=v.id,ue=v.showArrow,te=ue===void 0?!0:ue,g=v.classNames,Z=v.styles,R=(0,U.Z)(v,o),ne=(0,a.Z)(pe),re=(0,z.useRef)(null);(0,z.useImperativeHandle)(c,function(){return re.current});var C=(0,_.Z)({},R);"visible"in v&&(C.popupVisible=v.visible);var p=function(){return z.createElement(Y,{key:"content",prefixCls:d,id:ne,bodyClassName:g==null?void 0:g.body,overlayInnerStyle:(0,_.Z)((0,_.Z)({},xe),Z==null?void 0:Z.body)},Ze)},B=function(){var L=z.Children.only(w),$=(L==null?void 0:L.props)||{},W=(0,_.Z)((0,_.Z)({},$),{},{"aria-describedby":Ze?ne:null});return z.cloneElement(w,W)};return z.createElement(H.Z,(0,j.Z)({popupClassName:k()(l,g==null?void 0:g.root),prefixCls:d,popup:p,action:D,builtinPlacements:t,popupPlacement:M,ref:re,popupAlign:we,getPopupContainer:At,onPopupVisibleChange:P,afterPopupVisibleChange:T,popupTransitionName:x,popupAnimation:n,popupMotion:i,defaultPopupVisible:Ye,autoDestroy:je,mouseLeaveDelay:F,popupStyle:(0,_.Z)((0,_.Z)({},ge),Z==null?void 0:Z.root),mouseEnterDelay:K,arrow:te},C),B())},E=(0,z.forwardRef)(m),S=E},639:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return v}});var O=u(67711),k=u(52873),z=u(98506),Y=u(16886),j=u(33346),_=u(59301),U=u(92310),H=u.n(U),e=u(26112),s=u(30699),f=function(l){for(var N=l.prefixCls,D=l.level,I=l.isStart,K=l.isEnd,G="".concat(N,"-indent-unit"),F=[],ge=0;ge<D;ge+=1)F.push(_.createElement("span",{key:ge,className:H()(G,(0,k.Z)((0,k.Z)({},"".concat(G,"-start"),I[ge]),"".concat(G,"-end"),K[ge]))}));return _.createElement("span",{"aria-hidden":"true",className:"".concat(N,"-indent")},F)},t=_.memo(f),r=u(65065),a=u(34061),o=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],m="open",E="close",S="---",h=function(l){var N,D,I,K=l.eventKey,G=l.className,F=l.style,ge=l.dragOver,b=l.dragOverGapTop,d=l.dragOverGapBottom,w=l.isLeaf,P=l.isStart,T=l.isEnd,x=l.expanded,n=l.selected,i=l.checked,y=l.halfChecked,M=l.loading,le=l.domRef,we=l.active,Oe=l.data,je=l.onMouseMove,Ye=l.selectable,At=(0,j.Z)(l,o),xe=_.useContext(s.k),qe=_.useContext(s.y),Ze=_.useRef(null),pe=_.useState(!1),ue=(0,Y.Z)(pe,2),te=ue[0],g=ue[1],Z=!!(xe.disabled||l.disabled||(N=qe.nodeDisabled)!==null&&N!==void 0&&N.call(qe,Oe)),R=_.useMemo(function(){return!xe.checkable||l.checkable===!1?!1:xe.checkable},[xe.checkable,l.checkable]),ne=function(ft){Z||xe.onNodeSelect(ft,(0,a.F)(l))},re=function(ft){Z||!R||l.disableCheckbox||xe.onNodeCheck(ft,(0,a.F)(l),!i)},C=_.useMemo(function(){return typeof Ye=="boolean"?Ye:xe.selectable},[Ye,xe.selectable]),p=function(ft){xe.onNodeClick(ft,(0,a.F)(l)),C?ne(ft):re(ft)},B=function(ft){xe.onNodeDoubleClick(ft,(0,a.F)(l))},J=function(ft){xe.onNodeMouseEnter(ft,(0,a.F)(l))},L=function(ft){xe.onNodeMouseLeave(ft,(0,a.F)(l))},$=function(ft){xe.onNodeContextMenu(ft,(0,a.F)(l))},W=_.useMemo(function(){return!!(xe.draggable&&(!xe.draggable.nodeDraggable||xe.draggable.nodeDraggable(Oe)))},[xe.draggable,Oe]),fe=function(ft){ft.stopPropagation(),g(!0),xe.onNodeDragStart(ft,l);try{ft.dataTransfer.setData("text/plain","")}catch(yt){}},se=function(ft){ft.preventDefault(),ft.stopPropagation(),xe.onNodeDragEnter(ft,l)},Ce=function(ft){ft.preventDefault(),ft.stopPropagation(),xe.onNodeDragOver(ft,l)},Ae=function(ft){ft.stopPropagation(),xe.onNodeDragLeave(ft,l)},Xe=function(ft){ft.stopPropagation(),g(!1),xe.onNodeDragEnd(ft,l)},Le=function(ft){ft.preventDefault(),ft.stopPropagation(),g(!1),xe.onNodeDrop(ft,l)},Me=function(ft){M||xe.onNodeExpand(ft,(0,a.F)(l))},ke=_.useMemo(function(){var Tt=(0,r.Z)(xe.keyEntities,K)||{},ft=Tt.children;return!!(ft||[]).length},[xe.keyEntities,K]),st=_.useMemo(function(){return w===!1?!1:w||!xe.loadData&&!ke||xe.loadData&&l.loaded&&!ke},[w,xe.loadData,ke,l.loaded]);_.useEffect(function(){M||typeof xe.loadData=="function"&&x&&!st&&!l.loaded&&xe.onNodeLoad((0,a.F)(l))},[M,xe.loadData,xe.onNodeLoad,x,st,l]);var Je=_.useMemo(function(){var Tt;return(Tt=xe.draggable)!==null&&Tt!==void 0&&Tt.icon?_.createElement("span",{className:"".concat(xe.prefixCls,"-draggable-icon")},xe.draggable.icon):null},[xe.draggable]),He=function(ft){var yt=l.switcherIcon||xe.switcherIcon;return typeof yt=="function"?yt((0,z.Z)((0,z.Z)({},l),{},{isLeaf:ft})):yt},Kt=function(){if(st){var ft=He(!0);return ft!==!1?_.createElement("span",{className:H()("".concat(xe.prefixCls,"-switcher"),"".concat(xe.prefixCls,"-switcher-noop"))},ft):null}var yt=He(!1);return yt!==!1?_.createElement("span",{onClick:Me,className:H()("".concat(xe.prefixCls,"-switcher"),"".concat(xe.prefixCls,"-switcher_").concat(x?m:E))},yt):null},St=_.useMemo(function(){if(!R)return null;var Tt=typeof R!="boolean"?R:null;return _.createElement("span",{className:H()("".concat(xe.prefixCls,"-checkbox"),(0,k.Z)((0,k.Z)((0,k.Z)({},"".concat(xe.prefixCls,"-checkbox-checked"),i),"".concat(xe.prefixCls,"-checkbox-indeterminate"),!i&&y),"".concat(xe.prefixCls,"-checkbox-disabled"),Z||l.disableCheckbox)),onClick:re,role:"checkbox","aria-checked":y?"mixed":i,"aria-disabled":Z||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},Tt)},[R,i,y,Z,l.disableCheckbox,l.title]),De=_.useMemo(function(){return st?null:x?m:E},[st,x]),Vt=_.useMemo(function(){return _.createElement("span",{className:H()("".concat(xe.prefixCls,"-iconEle"),"".concat(xe.prefixCls,"-icon__").concat(De||"docu"),(0,k.Z)({},"".concat(xe.prefixCls,"-icon_loading"),M))})},[xe.prefixCls,De,M]),dn=_.useMemo(function(){var Tt=!!xe.draggable,ft=!l.disabled&&Tt&&xe.dragOverNodeKey===K;return ft?xe.dropIndicatorRender({dropPosition:xe.dropPosition,dropLevelOffset:xe.dropLevelOffset,indent:xe.indent,prefixCls:xe.prefixCls,direction:xe.direction}):null},[xe.dropPosition,xe.dropLevelOffset,xe.indent,xe.prefixCls,xe.direction,xe.draggable,xe.dragOverNodeKey,xe.dropIndicatorRender]),Rt=_.useMemo(function(){var Tt=l.title,ft=Tt===void 0?S:Tt,yt="".concat(xe.prefixCls,"-node-content-wrapper"),Bn;if(xe.showIcon){var mn=l.icon||xe.icon;Bn=mn?_.createElement("span",{className:H()("".concat(xe.prefixCls,"-iconEle"),"".concat(xe.prefixCls,"-icon__customize"))},typeof mn=="function"?mn(l):mn):Vt}else xe.loadData&&M&&(Bn=Vt);var Ln;return typeof ft=="function"?Ln=ft(Oe):xe.titleRender?Ln=xe.titleRender(Oe):Ln=ft,_.createElement("span",{ref:Ze,title:typeof ft=="string"?ft:"",className:H()(yt,"".concat(yt,"-").concat(De||"normal"),(0,k.Z)({},"".concat(xe.prefixCls,"-node-selected"),!Z&&(n||te))),onMouseEnter:J,onMouseLeave:L,onContextMenu:$,onClick:p,onDoubleClick:B},Bn,_.createElement("span",{className:"".concat(xe.prefixCls,"-title")},Ln),dn)},[xe.prefixCls,xe.showIcon,l,xe.icon,Vt,xe.titleRender,Oe,De,J,L,$,p,B]),dt=(0,e.Z)(At,{aria:!0,data:!0}),Ft=(0,r.Z)(xe.keyEntities,K)||{},un=Ft.level,Ut=T[T.length-1],mt=!Z&&W,Qt=xe.draggingNodeKey===K,bn=Ye!==void 0?{"aria-selected":!!Ye}:void 0;return _.createElement("div",(0,O.Z)({ref:le,role:"treeitem","aria-expanded":w?void 0:x,className:H()(G,"".concat(xe.prefixCls,"-treenode"),(I={},(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)(I,"".concat(xe.prefixCls,"-treenode-disabled"),Z),"".concat(xe.prefixCls,"-treenode-switcher-").concat(x?"open":"close"),!w),"".concat(xe.prefixCls,"-treenode-checkbox-checked"),i),"".concat(xe.prefixCls,"-treenode-checkbox-indeterminate"),y),"".concat(xe.prefixCls,"-treenode-selected"),n),"".concat(xe.prefixCls,"-treenode-loading"),M),"".concat(xe.prefixCls,"-treenode-active"),we),"".concat(xe.prefixCls,"-treenode-leaf-last"),Ut),"".concat(xe.prefixCls,"-treenode-draggable"),W),"dragging",Qt),(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)(I,"drop-target",xe.dropTargetKey===K),"drop-container",xe.dropContainerKey===K),"drag-over",!Z&&ge),"drag-over-gap-top",!Z&&b),"drag-over-gap-bottom",!Z&&d),"filter-node",(D=xe.filterTreeNode)===null||D===void 0?void 0:D.call(xe,(0,a.F)(l))),"".concat(xe.prefixCls,"-treenode-leaf"),st))),style:F,draggable:mt,onDragStart:mt?fe:void 0,onDragEnter:W?se:void 0,onDragOver:W?Ce:void 0,onDragLeave:W?Ae:void 0,onDrop:W?Le:void 0,onDragEnd:W?Xe:void 0,onMouseMove:je},bn,dt),_.createElement(t,{prefixCls:xe.prefixCls,level:un,isStart:P,isEnd:T}),Je,Kt(),St,Rt)};h.isTreeNode=1;var v=h},30699:function(Lt,Te,u){"use strict";u.d(Te,{k:function(){return k},y:function(){return z}});var O=u(59301),k=O.createContext(null),z=O.createContext({})},71598:function(Lt,Te,u){"use strict";u.d(Te,{OF:function(){return K.Z},y6:function(){return E.y},ZP:function(){return Z}});var O=u(67711),k=u(26420),z=u(98506),Y=u(15142),j=u(42573),_=u(58698),U=u(62437),H=u(74700),e=u(45080),s=u(52873),f=u(92310),t=u.n(f),r=u(10228),a=u(26112),o=u(48736),m=u(59301),E=u(30699),S=function(ne){var re=ne.dropPosition,C=ne.dropLevelOffset,p=ne.indent,B={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(re){case-1:B.top=0,B.left=-C*p;break;case 1:B.bottom=0,B.left=-C*p;break;case 0:B.bottom=0,B.left=p;break}return m.createElement("div",{style:B})},h=S;function v(R){if(R==null)throw new TypeError("Cannot destructure "+R)}var c=u(16886),l=u(33346),N=u(34280),D=u(6790),I=u(77900),K=u(639);function G(R,ne){var re=m.useState(!1),C=(0,c.Z)(re,2),p=C[0],B=C[1];(0,N.Z)(function(){if(p)return R(),function(){ne()}},[p]),(0,N.Z)(function(){return B(!0),function(){B(!1)}},[])}var F=G,ge=u(34061),b=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],d=m.forwardRef(function(R,ne){var re=R.className,C=R.style,p=R.motion,B=R.motionNodes,J=R.motionType,L=R.onMotionStart,$=R.onMotionEnd,W=R.active,fe=R.treeNodeRequiredProps,se=(0,l.Z)(R,b),Ce=m.useState(!0),Ae=(0,c.Z)(Ce,2),Xe=Ae[0],Le=Ae[1],Me=m.useContext(E.k),ke=Me.prefixCls,st=B&&J!=="hide";(0,N.Z)(function(){B&&st!==Xe&&Le(st)},[B]);var Je=function(){B&&L()},He=m.useRef(!1),Kt=function(){B&&!He.current&&(He.current=!0,$())};F(Je,Kt);var St=function(Vt){st===Vt&&Kt()};return B?m.createElement(I.default,(0,O.Z)({ref:ne,visible:Xe},p,{motionAppear:J==="show",onVisibleChanged:St}),function(De,Vt){var dn=De.className,Rt=De.style;return m.createElement("div",{ref:Vt,className:t()("".concat(ke,"-treenode-motion"),dn),style:Rt},B.map(function(dt){var Ft=Object.assign({},(v(dt.data),dt.data)),un=dt.title,Ut=dt.key,mt=dt.isStart,Qt=dt.isEnd;delete Ft.children;var bn=(0,ge.H8)(Ut,fe);return m.createElement(K.Z,(0,O.Z)({},Ft,bn,{title:un,active:W,data:dt.data,key:Ut,isStart:mt,isEnd:Qt}))}))}):m.createElement(K.Z,(0,O.Z)({domRef:ne,className:re,style:C},se,{active:W}))}),w=d;function P(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=R.length,C=ne.length;if(Math.abs(re-C)!==1)return{add:!1,key:null};function p(B,J){var L=new Map;B.forEach(function(W){L.set(W,!0)});var $=J.filter(function(W){return!L.has(W)});return $.length===1?$[0]:null}return re<C?{add:!0,key:p(R,ne)}:{add:!1,key:p(ne,R)}}function T(R,ne,re){var C=R.findIndex(function(L){return L.key===re}),p=R[C+1],B=ne.findIndex(function(L){return L.key===re});if(p){var J=ne.findIndex(function(L){return L.key===p.key});return ne.slice(B+1,J)}return ne.slice(B+1)}var x=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],n={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},i=function(){},y="RC_TREE_MOTION_".concat(Math.random()),M={key:y},le={key:y,level:0,index:0,pos:"0",node:M,nodes:[M]},we={parent:null,children:[],pos:le.pos,data:M,title:null,key:y,isStart:[],isEnd:[]};function Oe(R,ne,re,C){return ne===!1||!re?R:R.slice(0,Math.ceil(re/C)+1)}function je(R){var ne=R.key,re=R.pos;return(0,ge.km)(ne,re)}function Ye(R){for(var ne=String(R.data.key),re=R;re.parent;)re=re.parent,ne="".concat(re.data.key," > ").concat(ne);return ne}var At=m.forwardRef(function(R,ne){var re=R.prefixCls,C=R.data,p=R.selectable,B=R.checkable,J=R.expandedKeys,L=R.selectedKeys,$=R.checkedKeys,W=R.loadedKeys,fe=R.loadingKeys,se=R.halfCheckedKeys,Ce=R.keyEntities,Ae=R.disabled,Xe=R.dragging,Le=R.dragOverNodeKey,Me=R.dropPosition,ke=R.motion,st=R.height,Je=R.itemHeight,He=R.virtual,Kt=R.scrollWidth,St=R.focusable,De=R.activeItem,Vt=R.focused,dn=R.tabIndex,Rt=R.onKeyDown,dt=R.onFocus,Ft=R.onBlur,un=R.onActiveChange,Ut=R.onListChangeStart,mt=R.onListChangeEnd,Qt=(0,l.Z)(R,x),bn=m.useRef(null),Tt=m.useRef(null);m.useImperativeHandle(ne,function(){return{scrollTo:function(Fe){bn.current.scrollTo(Fe)},getIndentWidth:function(){return Tt.current.offsetWidth}}});var ft=m.useState(J),yt=(0,c.Z)(ft,2),Bn=yt[0],mn=yt[1],Ln=m.useState(C),Wn=(0,c.Z)(Ln,2),wn=Wn[0],Rn=Wn[1],Kn=m.useState(C),Nn=(0,c.Z)(Kn,2),In=Nn[0],En=Nn[1],Tn=m.useState([]),at=(0,c.Z)(Tn,2),it=at[0],en=at[1],pn=m.useState(null),An=(0,c.Z)(pn,2),Q=An[0],X=An[1],Ke=m.useRef(C);Ke.current=C;function Se(){var Be=Ke.current;Rn(Be),En(Be),en([]),X(null),mt()}(0,N.Z)(function(){mn(J);var Be=P(Bn,J);if(Be.key!==null)if(Be.add){var Fe=wn.findIndex(function(Ie){var V=Ie.key;return V===Be.key}),nt=Oe(T(wn,C,Be.key),He,st,Je),We=wn.slice();We.splice(Fe+1,0,we),En(We),en(nt),X("show")}else{var et=C.findIndex(function(Ie){var V=Ie.key;return V===Be.key}),lt=Oe(T(C,wn,Be.key),He,st,Je),Qe=C.slice();Qe.splice(et+1,0,we),En(Qe),en(lt),X("hide")}else wn!==C&&(Rn(C),En(C))},[J,C]),m.useEffect(function(){Xe||Se()},[Xe]);var ze=ke?In:C,Ge={expandedKeys:J,selectedKeys:L,loadedKeys:W,loadingKeys:fe,checkedKeys:$,halfCheckedKeys:se,dragOverNodeKey:Le,dropPosition:Me,keyEntities:Ce};return m.createElement(m.Fragment,null,Vt&&De&&m.createElement("span",{style:n,"aria-live":"assertive"},Ye(De)),m.createElement("div",null,m.createElement("input",{style:n,disabled:St===!1||Ae,tabIndex:St!==!1?dn:null,onKeyDown:Rt,onFocus:dt,onBlur:Ft,value:"",onChange:i,"aria-label":"for screen reader"})),m.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},m.createElement("div",{className:"".concat(re,"-indent")},m.createElement("div",{ref:Tt,className:"".concat(re,"-indent-unit")}))),m.createElement(D.Z,(0,O.Z)({},Qt,{data:ze,itemKey:je,height:st,fullHeight:!1,virtual:He,itemHeight:Je,scrollWidth:Kt,prefixCls:"".concat(re,"-list"),ref:bn,role:"tree",onVisibleChange:function(Fe){Fe.every(function(nt){return je(nt)!==y})&&Se()}}),function(Be){var Fe=Be.pos,nt=Object.assign({},(v(Be.data),Be.data)),We=Be.title,et=Be.key,lt=Be.isStart,Qe=Be.isEnd,Ie=(0,ge.km)(et,Fe);delete nt.key,delete nt.children;var V=(0,ge.H8)(Ie,Ge);return m.createElement(w,(0,O.Z)({},nt,V,{title:We,active:!!De&&et===De.key,pos:Fe,data:Be.data,isStart:lt,isEnd:Qe,motion:ke,motionNodes:et===y?it:null,motionType:Q,onMotionStart:Ut,onMotionEnd:Se,treeNodeRequiredProps:Ge,onMouseMove:function(){un(null)}}))}))}),xe=At,qe=u(82661),Ze=u(34643),pe=u(65065),ue=10,te=function(R){(0,H.Z)(re,R);var ne=(0,e.Z)(re);function re(){var C;(0,j.Z)(this,re);for(var p=arguments.length,B=new Array(p),J=0;J<p;J++)B[J]=arguments[J];return C=ne.call.apply(ne,[this].concat(B)),(0,s.Z)((0,U.Z)(C),"destroyed",!1),(0,s.Z)((0,U.Z)(C),"delayedDragEnterLogic",void 0),(0,s.Z)((0,U.Z)(C),"loadingRetryTimes",{}),(0,s.Z)((0,U.Z)(C),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ge.w$)()}),(0,s.Z)((0,U.Z)(C),"dragStartMousePosition",null),(0,s.Z)((0,U.Z)(C),"dragNodeProps",null),(0,s.Z)((0,U.Z)(C),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,U.Z)(C),"listRef",m.createRef()),(0,s.Z)((0,U.Z)(C),"onNodeDragStart",function(L,$){var W=C.state,fe=W.expandedKeys,se=W.keyEntities,Ce=C.props.onDragStart,Ae=$.eventKey;C.dragNodeProps=$,C.dragStartMousePosition={x:L.clientX,y:L.clientY};var Xe=(0,qe._5)(fe,Ae);C.setState({draggingNodeKey:Ae,dragChildrenKeys:(0,qe.wA)(Ae,se),indent:C.listRef.current.getIndentWidth()}),C.setExpandedKeys(Xe),window.addEventListener("dragend",C.onWindowDragEnd),Ce==null||Ce({event:L,node:(0,ge.F)($)})}),(0,s.Z)((0,U.Z)(C),"onNodeDragEnter",function(L,$){var W=C.state,fe=W.expandedKeys,se=W.keyEntities,Ce=W.dragChildrenKeys,Ae=W.flattenNodes,Xe=W.indent,Le=C.props,Me=Le.onDragEnter,ke=Le.onExpand,st=Le.allowDrop,Je=Le.direction,He=$.pos,Kt=$.eventKey;if(C.currentMouseOverDroppableNodeKey!==Kt&&(C.currentMouseOverDroppableNodeKey=Kt),!C.dragNodeProps){C.resetDragState();return}var St=(0,qe.OM)(L,C.dragNodeProps,$,Xe,C.dragStartMousePosition,st,Ae,se,fe,Je),De=St.dropPosition,Vt=St.dropLevelOffset,dn=St.dropTargetKey,Rt=St.dropContainerKey,dt=St.dropTargetPos,Ft=St.dropAllowed,un=St.dragOverNodeKey;if(Ce.includes(dn)||!Ft){C.resetDragState();return}if(C.delayedDragEnterLogic||(C.delayedDragEnterLogic={}),Object.keys(C.delayedDragEnterLogic).forEach(function(Ut){clearTimeout(C.delayedDragEnterLogic[Ut])}),C.dragNodeProps.eventKey!==$.eventKey&&(L.persist(),C.delayedDragEnterLogic[He]=window.setTimeout(function(){if(C.state.draggingNodeKey!==null){var Ut=(0,Y.Z)(fe),mt=(0,pe.Z)(se,$.eventKey);mt&&(mt.children||[]).length&&(Ut=(0,qe.L0)(fe,$.eventKey)),C.props.hasOwnProperty("expandedKeys")||C.setExpandedKeys(Ut),ke==null||ke(Ut,{node:(0,ge.F)($),expanded:!0,nativeEvent:L.nativeEvent})}},800)),C.dragNodeProps.eventKey===dn&&Vt===0){C.resetDragState();return}C.setState({dragOverNodeKey:un,dropPosition:De,dropLevelOffset:Vt,dropTargetKey:dn,dropContainerKey:Rt,dropTargetPos:dt,dropAllowed:Ft}),Me==null||Me({event:L,node:(0,ge.F)($),expandedKeys:fe})}),(0,s.Z)((0,U.Z)(C),"onNodeDragOver",function(L,$){var W=C.state,fe=W.dragChildrenKeys,se=W.flattenNodes,Ce=W.keyEntities,Ae=W.expandedKeys,Xe=W.indent,Le=C.props,Me=Le.onDragOver,ke=Le.allowDrop,st=Le.direction;if(C.dragNodeProps){var Je=(0,qe.OM)(L,C.dragNodeProps,$,Xe,C.dragStartMousePosition,ke,se,Ce,Ae,st),He=Je.dropPosition,Kt=Je.dropLevelOffset,St=Je.dropTargetKey,De=Je.dropContainerKey,Vt=Je.dropTargetPos,dn=Je.dropAllowed,Rt=Je.dragOverNodeKey;fe.includes(St)||!dn||(C.dragNodeProps.eventKey===St&&Kt===0?C.state.dropPosition===null&&C.state.dropLevelOffset===null&&C.state.dropTargetKey===null&&C.state.dropContainerKey===null&&C.state.dropTargetPos===null&&C.state.dropAllowed===!1&&C.state.dragOverNodeKey===null||C.resetDragState():He===C.state.dropPosition&&Kt===C.state.dropLevelOffset&&St===C.state.dropTargetKey&&De===C.state.dropContainerKey&&Vt===C.state.dropTargetPos&&dn===C.state.dropAllowed&&Rt===C.state.dragOverNodeKey||C.setState({dropPosition:He,dropLevelOffset:Kt,dropTargetKey:St,dropContainerKey:De,dropTargetPos:Vt,dropAllowed:dn,dragOverNodeKey:Rt}),Me==null||Me({event:L,node:(0,ge.F)($)}))}}),(0,s.Z)((0,U.Z)(C),"onNodeDragLeave",function(L,$){C.currentMouseOverDroppableNodeKey===$.eventKey&&!L.currentTarget.contains(L.relatedTarget)&&(C.resetDragState(),C.currentMouseOverDroppableNodeKey=null);var W=C.props.onDragLeave;W==null||W({event:L,node:(0,ge.F)($)})}),(0,s.Z)((0,U.Z)(C),"onWindowDragEnd",function(L){C.onNodeDragEnd(L,null,!0),window.removeEventListener("dragend",C.onWindowDragEnd)}),(0,s.Z)((0,U.Z)(C),"onNodeDragEnd",function(L,$){var W=C.props.onDragEnd;C.setState({dragOverNodeKey:null}),C.cleanDragState(),W==null||W({event:L,node:(0,ge.F)($)}),C.dragNodeProps=null,window.removeEventListener("dragend",C.onWindowDragEnd)}),(0,s.Z)((0,U.Z)(C),"onNodeDrop",function(L,$){var W,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,se=C.state,Ce=se.dragChildrenKeys,Ae=se.dropPosition,Xe=se.dropTargetKey,Le=se.dropTargetPos,Me=se.dropAllowed;if(Me){var ke=C.props.onDrop;if(C.setState({dragOverNodeKey:null}),C.cleanDragState(),Xe!==null){var st=(0,z.Z)((0,z.Z)({},(0,ge.H8)(Xe,C.getTreeNodeRequiredProps())),{},{active:((W=C.getActiveItem())===null||W===void 0?void 0:W.key)===Xe,data:(0,pe.Z)(C.state.keyEntities,Xe).node}),Je=Ce.includes(Xe);(0,o.ZP)(!Je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var He=(0,qe.yx)(Le),Kt={event:L,node:(0,ge.F)(st),dragNode:C.dragNodeProps?(0,ge.F)(C.dragNodeProps):null,dragNodesKeys:[C.dragNodeProps.eventKey].concat(Ce),dropToGap:Ae!==0,dropPosition:Ae+Number(He[He.length-1])};fe||ke==null||ke(Kt),C.dragNodeProps=null}}}),(0,s.Z)((0,U.Z)(C),"cleanDragState",function(){var L=C.state.draggingNodeKey;L!==null&&C.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),C.dragStartMousePosition=null,C.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,U.Z)(C),"triggerExpandActionExpand",function(L,$){var W=C.state,fe=W.expandedKeys,se=W.flattenNodes,Ce=$.expanded,Ae=$.key,Xe=$.isLeaf;if(!(Xe||L.shiftKey||L.metaKey||L.ctrlKey)){var Le=se.filter(function(ke){return ke.key===Ae})[0],Me=(0,ge.F)((0,z.Z)((0,z.Z)({},(0,ge.H8)(Ae,C.getTreeNodeRequiredProps())),{},{data:Le.data}));C.setExpandedKeys(Ce?(0,qe._5)(fe,Ae):(0,qe.L0)(fe,Ae)),C.onNodeExpand(L,Me)}}),(0,s.Z)((0,U.Z)(C),"onNodeClick",function(L,$){var W=C.props,fe=W.onClick,se=W.expandAction;se==="click"&&C.triggerExpandActionExpand(L,$),fe==null||fe(L,$)}),(0,s.Z)((0,U.Z)(C),"onNodeDoubleClick",function(L,$){var W=C.props,fe=W.onDoubleClick,se=W.expandAction;se==="doubleClick"&&C.triggerExpandActionExpand(L,$),fe==null||fe(L,$)}),(0,s.Z)((0,U.Z)(C),"onNodeSelect",function(L,$){var W=C.state.selectedKeys,fe=C.state,se=fe.keyEntities,Ce=fe.fieldNames,Ae=C.props,Xe=Ae.onSelect,Le=Ae.multiple,Me=$.selected,ke=$[Ce.key],st=!Me;st?Le?W=(0,qe.L0)(W,ke):W=[ke]:W=(0,qe._5)(W,ke);var Je=W.map(function(He){var Kt=(0,pe.Z)(se,He);return Kt?Kt.node:null}).filter(Boolean);C.setUncontrolledState({selectedKeys:W}),Xe==null||Xe(W,{event:"select",selected:st,node:$,selectedNodes:Je,nativeEvent:L.nativeEvent})}),(0,s.Z)((0,U.Z)(C),"onNodeCheck",function(L,$,W){var fe=C.state,se=fe.keyEntities,Ce=fe.checkedKeys,Ae=fe.halfCheckedKeys,Xe=C.props,Le=Xe.checkStrictly,Me=Xe.onCheck,ke=$.key,st,Je={event:"check",node:$,checked:W,nativeEvent:L.nativeEvent};if(Le){var He=W?(0,qe.L0)(Ce,ke):(0,qe._5)(Ce,ke),Kt=(0,qe._5)(Ae,ke);st={checked:He,halfChecked:Kt},Je.checkedNodes=He.map(function(dt){return(0,pe.Z)(se,dt)}).filter(Boolean).map(function(dt){return dt.node}),C.setUncontrolledState({checkedKeys:He})}else{var St=(0,Ze.S)([].concat((0,Y.Z)(Ce),[ke]),!0,se),De=St.checkedKeys,Vt=St.halfCheckedKeys;if(!W){var dn=new Set(De);dn.delete(ke);var Rt=(0,Ze.S)(Array.from(dn),{checked:!1,halfCheckedKeys:Vt},se);De=Rt.checkedKeys,Vt=Rt.halfCheckedKeys}st=De,Je.checkedNodes=[],Je.checkedNodesPositions=[],Je.halfCheckedKeys=Vt,De.forEach(function(dt){var Ft=(0,pe.Z)(se,dt);if(Ft){var un=Ft.node,Ut=Ft.pos;Je.checkedNodes.push(un),Je.checkedNodesPositions.push({node:un,pos:Ut})}}),C.setUncontrolledState({checkedKeys:De},!1,{halfCheckedKeys:Vt})}Me==null||Me(st,Je)}),(0,s.Z)((0,U.Z)(C),"onNodeLoad",function(L){var $,W=L.key,fe=C.state.keyEntities,se=(0,pe.Z)(fe,W);if(!(se!=null&&($=se.children)!==null&&$!==void 0&&$.length)){var Ce=new Promise(function(Ae,Xe){C.setState(function(Le){var Me=Le.loadedKeys,ke=Me===void 0?[]:Me,st=Le.loadingKeys,Je=st===void 0?[]:st,He=C.props,Kt=He.loadData,St=He.onLoad;if(!Kt||ke.includes(W)||Je.includes(W))return null;var De=Kt(L);return De.then(function(){var Vt=C.state.loadedKeys,dn=(0,qe.L0)(Vt,W);St==null||St(dn,{event:"load",node:L}),C.setUncontrolledState({loadedKeys:dn}),C.setState(function(Rt){return{loadingKeys:(0,qe._5)(Rt.loadingKeys,W)}}),Ae()}).catch(function(Vt){if(C.setState(function(Rt){return{loadingKeys:(0,qe._5)(Rt.loadingKeys,W)}}),C.loadingRetryTimes[W]=(C.loadingRetryTimes[W]||0)+1,C.loadingRetryTimes[W]>=ue){var dn=C.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),C.setUncontrolledState({loadedKeys:(0,qe.L0)(dn,W)}),Ae()}Xe(Vt)}),{loadingKeys:(0,qe.L0)(Je,W)}})});return Ce.catch(function(){}),Ce}}),(0,s.Z)((0,U.Z)(C),"onNodeMouseEnter",function(L,$){var W=C.props.onMouseEnter;W==null||W({event:L,node:$})}),(0,s.Z)((0,U.Z)(C),"onNodeMouseLeave",function(L,$){var W=C.props.onMouseLeave;W==null||W({event:L,node:$})}),(0,s.Z)((0,U.Z)(C),"onNodeContextMenu",function(L,$){var W=C.props.onRightClick;W&&(L.preventDefault(),W({event:L,node:$}))}),(0,s.Z)((0,U.Z)(C),"onFocus",function(){var L=C.props.onFocus;C.setState({focused:!0});for(var $=arguments.length,W=new Array($),fe=0;fe<$;fe++)W[fe]=arguments[fe];L==null||L.apply(void 0,W)}),(0,s.Z)((0,U.Z)(C),"onBlur",function(){var L=C.props.onBlur;C.setState({focused:!1}),C.onActiveChange(null);for(var $=arguments.length,W=new Array($),fe=0;fe<$;fe++)W[fe]=arguments[fe];L==null||L.apply(void 0,W)}),(0,s.Z)((0,U.Z)(C),"getTreeNodeRequiredProps",function(){var L=C.state,$=L.expandedKeys,W=L.selectedKeys,fe=L.loadedKeys,se=L.loadingKeys,Ce=L.checkedKeys,Ae=L.halfCheckedKeys,Xe=L.dragOverNodeKey,Le=L.dropPosition,Me=L.keyEntities;return{expandedKeys:$||[],selectedKeys:W||[],loadedKeys:fe||[],loadingKeys:se||[],checkedKeys:Ce||[],halfCheckedKeys:Ae||[],dragOverNodeKey:Xe,dropPosition:Le,keyEntities:Me}}),(0,s.Z)((0,U.Z)(C),"setExpandedKeys",function(L){var $=C.state,W=$.treeData,fe=$.fieldNames,se=(0,ge.oH)(W,L,fe);C.setUncontrolledState({expandedKeys:L,flattenNodes:se},!0)}),(0,s.Z)((0,U.Z)(C),"onNodeExpand",function(L,$){var W=C.state.expandedKeys,fe=C.state,se=fe.listChanging,Ce=fe.fieldNames,Ae=C.props,Xe=Ae.onExpand,Le=Ae.loadData,Me=$.expanded,ke=$[Ce.key];if(!se){var st=W.includes(ke),Je=!Me;if((0,o.ZP)(Me&&st||!Me&&!st,"Expand state not sync with index check"),W=Je?(0,qe.L0)(W,ke):(0,qe._5)(W,ke),C.setExpandedKeys(W),Xe==null||Xe(W,{node:$,expanded:Je,nativeEvent:L.nativeEvent}),Je&&Le){var He=C.onNodeLoad($);He&&He.then(function(){var Kt=(0,ge.oH)(C.state.treeData,W,Ce);C.setUncontrolledState({flattenNodes:Kt})}).catch(function(){var Kt=C.state.expandedKeys,St=(0,qe._5)(Kt,ke);C.setExpandedKeys(St)})}}}),(0,s.Z)((0,U.Z)(C),"onListChangeStart",function(){C.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,U.Z)(C),"onListChangeEnd",function(){setTimeout(function(){C.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,U.Z)(C),"onActiveChange",function(L){var $=C.state.activeKey,W=C.props,fe=W.onActiveChange,se=W.itemScrollOffset,Ce=se===void 0?0:se;$!==L&&(C.setState({activeKey:L}),L!==null&&C.scrollTo({key:L,offset:Ce}),fe==null||fe(L))}),(0,s.Z)((0,U.Z)(C),"getActiveItem",function(){var L=C.state,$=L.activeKey,W=L.flattenNodes;return $===null?null:W.find(function(fe){var se=fe.key;return se===$})||null}),(0,s.Z)((0,U.Z)(C),"offsetActiveKey",function(L){var $=C.state,W=$.flattenNodes,fe=$.activeKey,se=W.findIndex(function(Xe){var Le=Xe.key;return Le===fe});se===-1&&L<0&&(se=W.length),se=(se+L+W.length)%W.length;var Ce=W[se];if(Ce){var Ae=Ce.key;C.onActiveChange(Ae)}else C.onActiveChange(null)}),(0,s.Z)((0,U.Z)(C),"onKeyDown",function(L){var $=C.state,W=$.activeKey,fe=$.expandedKeys,se=$.checkedKeys,Ce=$.fieldNames,Ae=C.props,Xe=Ae.onKeyDown,Le=Ae.checkable,Me=Ae.selectable;switch(L.which){case r.Z.UP:{C.offsetActiveKey(-1),L.preventDefault();break}case r.Z.DOWN:{C.offsetActiveKey(1),L.preventDefault();break}}var ke=C.getActiveItem();if(ke&&ke.data){var st=C.getTreeNodeRequiredProps(),Je=ke.data.isLeaf===!1||!!(ke.data[Ce.children]||[]).length,He=(0,ge.F)((0,z.Z)((0,z.Z)({},(0,ge.H8)(W,st)),{},{data:ke.data,active:!0}));switch(L.which){case r.Z.LEFT:{Je&&fe.includes(W)?C.onNodeExpand({},He):ke.parent&&C.onActiveChange(ke.parent.key),L.preventDefault();break}case r.Z.RIGHT:{Je&&!fe.includes(W)?C.onNodeExpand({},He):ke.children&&ke.children.length&&C.onActiveChange(ke.children[0].key),L.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Le&&!He.disabled&&He.checkable!==!1&&!He.disableCheckbox?C.onNodeCheck({},He,!se.includes(W)):!Le&&Me&&!He.disabled&&He.selectable!==!1&&C.onNodeSelect({},He);break}}}Xe==null||Xe(L)}),(0,s.Z)((0,U.Z)(C),"setUncontrolledState",function(L){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!C.destroyed){var fe=!1,se=!0,Ce={};Object.keys(L).forEach(function(Ae){if(C.props.hasOwnProperty(Ae)){se=!1;return}fe=!0,Ce[Ae]=L[Ae]}),fe&&(!$||se)&&C.setState((0,z.Z)((0,z.Z)({},Ce),W))}}),(0,s.Z)((0,U.Z)(C),"scrollTo",function(L){C.listRef.current.scrollTo(L)}),C}return(0,_.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var p=this.props,B=p.activeKey,J=p.itemScrollOffset,L=J===void 0?0:J;B!==void 0&&B!==this.state.activeKey&&(this.setState({activeKey:B}),B!==null&&this.scrollTo({key:B,offset:L}))}},{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 p=this.state,B=p.focused,J=p.flattenNodes,L=p.keyEntities,$=p.draggingNodeKey,W=p.activeKey,fe=p.dropLevelOffset,se=p.dropContainerKey,Ce=p.dropTargetKey,Ae=p.dropPosition,Xe=p.dragOverNodeKey,Le=p.indent,Me=this.props,ke=Me.prefixCls,st=Me.className,Je=Me.style,He=Me.showLine,Kt=Me.focusable,St=Me.tabIndex,De=St===void 0?0:St,Vt=Me.selectable,dn=Me.showIcon,Rt=Me.icon,dt=Me.switcherIcon,Ft=Me.draggable,un=Me.checkable,Ut=Me.checkStrictly,mt=Me.disabled,Qt=Me.motion,bn=Me.loadData,Tt=Me.filterTreeNode,ft=Me.height,yt=Me.itemHeight,Bn=Me.scrollWidth,mn=Me.virtual,Ln=Me.titleRender,Wn=Me.dropIndicatorRender,wn=Me.onContextMenu,Rn=Me.onScroll,Kn=Me.direction,Nn=Me.rootClassName,In=Me.rootStyle,En=(0,a.Z)(this.props,{aria:!0,data:!0}),Tn;Ft&&((0,k.Z)(Ft)==="object"?Tn=Ft:typeof Ft=="function"?Tn={nodeDraggable:Ft}:Tn={});var at={prefixCls:ke,selectable:Vt,showIcon:dn,icon:Rt,switcherIcon:dt,draggable:Tn,draggingNodeKey:$,checkable:un,checkStrictly:Ut,disabled:mt,keyEntities:L,dropLevelOffset:fe,dropContainerKey:se,dropTargetKey:Ce,dropPosition:Ae,dragOverNodeKey:Xe,indent:Le,direction:Kn,dropIndicatorRender:Wn,loadData:bn,filterTreeNode:Tt,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(E.k.Provider,{value:at},m.createElement("div",{className:t()(ke,st,Nn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(ke,"-show-line"),He),"".concat(ke,"-focused"),B),"".concat(ke,"-active-focused"),W!==null)),style:In},m.createElement(xe,(0,O.Z)({ref:this.listRef,prefixCls:ke,style:Je,data:J,disabled:mt,selectable:Vt,checkable:!!un,motion:Qt,dragging:$!==null,height:ft,itemHeight:yt,virtual:mn,focusable:Kt,focused:B,tabIndex:De,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:wn,onScroll:Rn,scrollWidth:Bn},this.getTreeNodeRequiredProps(),En))))}}],[{key:"getDerivedStateFromProps",value:function(p,B){var J=B.prevProps,L={prevProps:p};function $(De){return!J&&p.hasOwnProperty(De)||J&&J[De]!==p[De]}var W,fe=B.fieldNames;if($("fieldNames")&&(fe=(0,ge.w$)(p.fieldNames),L.fieldNames=fe),$("treeData")?W=p.treeData:$("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),W=(0,ge.zn)(p.children)),W){L.treeData=W;var se=(0,ge.I8)(W,{fieldNames:fe});L.keyEntities=(0,z.Z)((0,s.Z)({},y,le),se.keyEntities)}var Ce=L.keyEntities||B.keyEntities;if($("expandedKeys")||J&&$("autoExpandParent"))L.expandedKeys=p.autoExpandParent||!J&&p.defaultExpandParent?(0,qe.r7)(p.expandedKeys,Ce):p.expandedKeys;else if(!J&&p.defaultExpandAll){var Ae=(0,z.Z)({},Ce);delete Ae[y];var Xe=[];Object.keys(Ae).forEach(function(De){var Vt=Ae[De];Vt.children&&Vt.children.length&&Xe.push(Vt.key)}),L.expandedKeys=Xe}else!J&&p.defaultExpandedKeys&&(L.expandedKeys=p.autoExpandParent||p.defaultExpandParent?(0,qe.r7)(p.defaultExpandedKeys,Ce):p.defaultExpandedKeys);if(L.expandedKeys||delete L.expandedKeys,W||L.expandedKeys){var Le=(0,ge.oH)(W||B.treeData,L.expandedKeys||B.expandedKeys,fe);L.flattenNodes=Le}if(p.selectable&&($("selectedKeys")?L.selectedKeys=(0,qe.BT)(p.selectedKeys,p):!J&&p.defaultSelectedKeys&&(L.selectedKeys=(0,qe.BT)(p.defaultSelectedKeys,p))),p.checkable){var Me;if($("checkedKeys")?Me=(0,qe.E6)(p.checkedKeys)||{}:!J&&p.defaultCheckedKeys?Me=(0,qe.E6)(p.defaultCheckedKeys)||{}:W&&(Me=(0,qe.E6)(p.checkedKeys)||{checkedKeys:B.checkedKeys,halfCheckedKeys:B.halfCheckedKeys}),Me){var ke=Me,st=ke.checkedKeys,Je=st===void 0?[]:st,He=ke.halfCheckedKeys,Kt=He===void 0?[]:He;if(!p.checkStrictly){var St=(0,Ze.S)(Je,!0,Ce);Je=St.checkedKeys,Kt=St.halfCheckedKeys}L.checkedKeys=Je,L.halfCheckedKeys=Kt}}return $("loadedKeys")&&(L.loadedKeys=p.loadedKeys),L}}]),re}(m.Component);(0,s.Z)(te,"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:h,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(te,"TreeNode",K.Z);var g=te,Z=g},82661:function(Lt,Te,u){"use strict";u.d(Te,{BT:function(){return m},E6:function(){return h},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return v},wA:function(){return t},yx:function(){return f}});var O=u(15142),k=u(26420),z=u(48736),Y=u(59301),j=u(639),_=u(65065),U=u(34061),H=null;function e(c,l){if(!c)return[];var N=c.slice(),D=N.indexOf(l);return D>=0&&N.splice(D,1),N}function s(c,l){var N=(c||[]).slice();return N.indexOf(l)===-1&&N.push(l),N}function f(c){return c.split("-")}function t(c,l){var N=[],D=(0,_.Z)(l,c);function I(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];K.forEach(function(G){var F=G.key,ge=G.children;N.push(F),I(ge)})}return I(D.children),N}function r(c){if(c.parent){var l=f(c.pos);return Number(l[l.length-1])===c.parent.children.length-1}return!1}function a(c){var l=f(c.pos);return Number(l[l.length-1])===0}function o(c,l,N,D,I,K,G,F,ge,b){var d,w=c.clientX,P=c.clientY,T=c.target.getBoundingClientRect(),x=T.top,n=T.height,i=(b==="rtl"?-1:1)*(((I==null?void 0:I.x)||0)-w),y=(i-12)/D,M=ge.filter(function(Z){var R;return(R=F[Z])===null||R===void 0||(R=R.children)===null||R===void 0?void 0:R.length}),le=(0,_.Z)(F,N.eventKey);if(P<x+n/2){var we=G.findIndex(function(Z){return Z.key===le.key}),Oe=we<=0?0:we-1,je=G[Oe].key;le=(0,_.Z)(F,je)}var Ye=le.key,At=le,xe=le.key,qe=0,Ze=0;if(!M.includes(Ye))for(var pe=0;pe<y&&r(le);pe+=1)le=le.parent,Ze+=1;var ue=l.data,te=le.node,g=!0;return a(le)&&le.level===0&&P<x+n/2&&K({dragNode:ue,dropNode:te,dropPosition:-1})&&le.key===N.eventKey?qe=-1:(At.children||[]).length&&M.includes(xe)?K({dragNode:ue,dropNode:te,dropPosition:0})?qe=0:g=!1:Ze===0?y>-1.5?K({dragNode:ue,dropNode:te,dropPosition:1})?qe=1:g=!1:K({dragNode:ue,dropNode:te,dropPosition:0})?qe=0:K({dragNode:ue,dropNode:te,dropPosition:1})?qe=1:g=!1:K({dragNode:ue,dropNode:te,dropPosition:1})?qe=1:g=!1,{dropPosition:qe,dropLevelOffset:Ze,dropTargetKey:le.key,dropTargetPos:le.pos,dragOverNodeKey:xe,dropContainerKey:qe===0?null:((d=le.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:g}}function m(c,l){if(c){var N=l.multiple;return N?c.slice():c.length?[c[0]]:c}}var E=function(l){return l};function S(c,l){if(!c)return[];var N=l||{},D=N.processProps,I=D===void 0?E:D,K=Array.isArray(c)?c:[c];return K.map(function(G){var F=G.children,ge=_objectWithoutProperties(G,H),b=S(F,l);return React.createElement(TreeNode,_extends({key:ge.key},I(ge)),b)})}function h(c){if(!c)return null;var l;if(Array.isArray(c))l={checkedKeys:c,halfCheckedKeys:void 0};else if((0,k.Z)(c)==="object")l={checkedKeys:c.checked||void 0,halfCheckedKeys:c.halfChecked||void 0};else return(0,z.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function v(c,l){var N=new Set;function D(I){if(!N.has(I)){var K=(0,_.Z)(l,I);if(K){N.add(I);var G=K.parent,F=K.node;F.disabled||G&&D(G.key)}}}return(c||[]).forEach(function(I){D(I)}),(0,O.Z)(N)}},34643:function(Lt,Te,u){"use strict";u.d(Te,{S:function(){return U}});var O=u(48736),k=u(65065);function z(H,e){var s=new Set;return H.forEach(function(f){e.has(f)||s.add(f)}),s}function Y(H){var e=H||{},s=e.disabled,f=e.disableCheckbox,t=e.checkable;return!!(s||f)||t===!1}function j(H,e,s,f){for(var t=new Set(H),r=new Set,a=0;a<=s;a+=1){var o=e.get(a)||new Set;o.forEach(function(h){var v=h.key,c=h.node,l=h.children,N=l===void 0?[]:l;t.has(v)&&!f(c)&&N.filter(function(D){return!f(D.node)}).forEach(function(D){t.add(D.key)})})}for(var m=new Set,E=s;E>=0;E-=1){var S=e.get(E)||new Set;S.forEach(function(h){var v=h.parent,c=h.node;if(!(f(c)||!h.parent||m.has(h.parent.key))){if(f(h.parent.node)){m.add(v.key);return}var l=!0,N=!1;(v.children||[]).filter(function(D){return!f(D.node)}).forEach(function(D){var I=D.key,K=t.has(I);l&&!K&&(l=!1),!N&&(K||r.has(I))&&(N=!0)}),l&&t.add(v.key),N&&r.add(v.key),m.add(v.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(z(r,t))}}function _(H,e,s,f,t){for(var r=new Set(H),a=new Set(e),o=0;o<=f;o+=1){var m=s.get(o)||new Set;m.forEach(function(v){var c=v.key,l=v.node,N=v.children,D=N===void 0?[]:N;!r.has(c)&&!a.has(c)&&!t(l)&&D.filter(function(I){return!t(I.node)}).forEach(function(I){r.delete(I.key)})})}a=new Set;for(var E=new Set,S=f;S>=0;S-=1){var h=s.get(S)||new Set;h.forEach(function(v){var c=v.parent,l=v.node;if(!(t(l)||!v.parent||E.has(v.parent.key))){if(t(v.parent.node)){E.add(c.key);return}var N=!0,D=!1;(c.children||[]).filter(function(I){return!t(I.node)}).forEach(function(I){var K=I.key,G=r.has(K);N&&!G&&(N=!1),!D&&(G||a.has(K))&&(D=!0)}),N||r.delete(c.key),D&&a.add(c.key),E.add(c.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(z(a,r))}}function U(H,e,s,f){var t=[],r;f?r=f:r=Y;var a=new Set(H.filter(function(S){var h=!!(0,k.Z)(s,S);return h||t.push(S),h})),o=new Map,m=0;Object.keys(s).forEach(function(S){var h=s[S],v=h.level,c=o.get(v);c||(c=new Set,o.set(v,c)),c.add(h),m=Math.max(m,v)}),(0,O.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(S){return"'".concat(S,"'")}).join(", ")));var E;return e===!0?E=j(a,o,m,r):E=_(a,e.halfCheckedKeys,o,m,r),E}},65065:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return O}});function O(k,z){return k[z]}},34061:function(Lt,Te,u){"use strict";u.d(Te,{F:function(){return v},H8:function(){return h},I8:function(){return S},km:function(){return t},oH:function(){return m},w$:function(){return r},zn:function(){return o}});var O=u(26420),k=u(15142),z=u(98506),Y=u(33346),j=u(11592),_=u(2738),U=u(48736),H=u(65065),e=["children"];function s(c,l){return"".concat(c,"-").concat(l)}function f(c){return c&&c.type&&c.type.isTreeNode}function t(c,l){return c!=null?c:l}function r(c){var l=c||{},N=l.title,D=l._title,I=l.key,K=l.children,G=N||"title";return{title:G,_title:D||[G],key:I||"key",children:K||"children"}}function a(c,l){var N=new Map;function D(I){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(I||[]).forEach(function(G){var F=G[l.key],ge=G[l.children];warning(F!=null,"Tree node must have a certain key: [".concat(K).concat(F,"]"));var b=String(F);warning(!N.has(b)||F===null||F===void 0,"Same 'key' exist in the Tree: ".concat(b)),N.set(b,!0),D(ge,"".concat(K).concat(b," > "))})}D(c)}function o(c){function l(N){var D=(0,j.Z)(N);return D.map(function(I){if(!f(I))return(0,U.ZP)(!I,"Tree/TreeNode can only accept TreeNode as children."),null;var K=I.key,G=I.props,F=G.children,ge=(0,Y.Z)(G,e),b=(0,z.Z)({key:K},ge),d=l(F);return d.length&&(b.children=d),b}).filter(function(I){return I})}return l(c)}function m(c,l,N){var D=r(N),I=D._title,K=D.key,G=D.children,F=new Set(l===!0?[]:l),ge=[];function b(d){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(P,T){for(var x=s(w?w.pos:"0",T),n=t(P[K],x),i,y=0;y<I.length;y+=1){var M=I[y];if(P[M]!==void 0){i=P[M];break}}var le=Object.assign((0,_.Z)(P,[].concat((0,k.Z)(I),[K,G])),{title:i,key:n,parent:w,pos:x,children:null,data:P,isStart:[].concat((0,k.Z)(w?w.isStart:[]),[T===0]),isEnd:[].concat((0,k.Z)(w?w.isEnd:[]),[T===d.length-1])});return ge.push(le),l===!0||F.has(n)?le.children=b(P[G]||[],le):le.children=[],le})}return b(c),ge}function E(c,l,N){var D={};(0,O.Z)(N)==="object"?D=N:D={externalGetKey:N},D=D||{};var I=D,K=I.childrenPropName,G=I.externalGetKey,F=I.fieldNames,ge=r(F),b=ge.key,d=ge.children,w=K||d,P;G?typeof G=="string"?P=function(n){return n[G]}:typeof G=="function"&&(P=function(n){return G(n)}):P=function(n,i){return t(n[b],i)};function T(x,n,i,y){var M=x?x[w]:c,le=x?s(i.pos,n):"0",we=x?[].concat((0,k.Z)(y),[x]):[];if(x){var Oe=P(x,le),je={node:x,index:n,pos:le,key:Oe,parentPos:i.node?i.pos:null,level:i.level+1,nodes:we};l(je)}M&&M.forEach(function(Ye,At){T(Ye,At,{node:x,pos:le,level:i?i.level+1:-1},we)})}T(null)}function S(c){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=l.initWrapper,D=l.processEntity,I=l.onProcessFinished,K=l.externalGetKey,G=l.childrenPropName,F=l.fieldNames,ge=arguments.length>2?arguments[2]:void 0,b=K||ge,d={},w={},P={posEntities:d,keyEntities:w};return N&&(P=N(P)||P),E(c,function(T){var x=T.node,n=T.index,i=T.pos,y=T.key,M=T.parentPos,le=T.level,we=T.nodes,Oe={node:x,nodes:we,index:n,key:y,pos:i,level:le},je=t(y,i);d[i]=Oe,w[je]=Oe,Oe.parent=d[M],Oe.parent&&(Oe.parent.children=Oe.parent.children||[],Oe.parent.children.push(Oe)),D&&D(Oe,P)},{externalGetKey:b,childrenPropName:G,fieldNames:F}),I&&I(P),P}function h(c,l){var N=l.expandedKeys,D=l.selectedKeys,I=l.loadedKeys,K=l.loadingKeys,G=l.checkedKeys,F=l.halfCheckedKeys,ge=l.dragOverNodeKey,b=l.dropPosition,d=l.keyEntities,w=(0,H.Z)(d,c),P={eventKey:c,expanded:N.indexOf(c)!==-1,selected:D.indexOf(c)!==-1,loaded:I.indexOf(c)!==-1,loading:K.indexOf(c)!==-1,checked:G.indexOf(c)!==-1,halfChecked:F.indexOf(c)!==-1,pos:String(w?w.pos:""),dragOver:ge===c&&b===0,dragOverGapTop:ge===c&&b===-1,dragOverGapBottom:ge===c&&b===1};return P}function v(c){var l=c.data,N=c.expanded,D=c.selected,I=c.checked,K=c.loaded,G=c.loading,F=c.halfChecked,ge=c.dragOver,b=c.dragOverGapTop,d=c.dragOverGapBottom,w=c.pos,P=c.active,T=c.eventKey,x=(0,z.Z)((0,z.Z)({},l),{},{expanded:N,selected:D,checked:I,loaded:K,loading:G,halfChecked:F,dragOver:ge,dragOverGapTop:b,dragOverGapBottom:d,pos:w,active:P,key:T});return"props"in x||Object.defineProperty(x,"props",{get:function(){return(0,U.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),c}}),x}},8224:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return k}});var O=u(4676);function k(z,Y,j,_){var U=O.unstable_batchedUpdates?function(e){O.unstable_batchedUpdates(j,e)}:j;return z!=null&&z.addEventListener&&z.addEventListener(Y,U,_),{remove:function(){z!=null&&z.removeEventListener&&z.removeEventListener(Y,U,_)}}}},24514:function(Lt,Te,u){"use strict";u.d(Te,{G:function(){return Y}});var O=u(47273),k=function(_){if((0,O.Z)()&&window.document.documentElement){var U=Array.isArray(_)?_:[_],H=window.document.documentElement;return U.some(function(e){return e in H.style})}return!1},z=function(_,U){if(!k(_))return!1;var H=document.createElement("div"),e=H.style[_];return H.style[_]=U,H.style[_]!==e};function Y(j,_){return!Array.isArray(j)&&_!==void 0?z(j,_):k(j)}},49658:function(Lt,Te){"use strict";Te.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var u=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(u)||/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(u==null?void 0:u.substr(0,4))}},6790:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return ue}});var O=u(67711),k=u(26420),z=u(98506),Y=u(52873),j=u(16886),_=u(33346),U=u(92310),H=u.n(U),e=u(29301),s=u(70425),f=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(te,g){var Z=te.height,R=te.offsetY,ne=te.offsetX,re=te.children,C=te.prefixCls,p=te.onInnerResize,B=te.innerProps,J=te.rtl,L=te.extra,$={},W={display:"flex",flexDirection:"column"};return R!==void 0&&($={height:Z,position:"relative",overflow:"hidden"},W=(0,z.Z)((0,z.Z)({},W),{},(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({transform:"translateY(".concat(R,"px)")},J?"marginRight":"marginLeft",-ne),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:$},t.createElement(e.Z,{onResize:function(se){var Ce=se.offsetHeight;Ce&&p&&p()}},t.createElement("div",(0,O.Z)({style:W,className:H()((0,Y.Z)({},"".concat(C,"-holder-inner"),C)),ref:g},B),re,L)))});a.displayName="Filler";var o=a;function m(te){var g=te.children,Z=te.setRef,R=t.useCallback(function(ne){Z(ne)},[]);return t.cloneElement(g,{ref:R})}function E(te,g,Z,R,ne,re,C,p){var B=p.getKey;return te.slice(g,Z+1).map(function(J,L){var $=g+L,W=C(J,$,{style:{width:R},offsetX:ne}),fe=B(J);return t.createElement(m,{key:fe,setRef:function(Ce){return re(J,Ce)}},W)})}function S(te,g,Z,R){var ne=Z-te,re=g-Z,C=Math.min(ne,re)*2;if(R<=C){var p=Math.floor(R/2);return R%2?Z+p+1:Z-p}return ne>re?Z-(R-re):Z+(R-ne)}function h(te,g,Z){var R=te.length,ne=g.length,re,C;if(R===0&&ne===0)return null;R<ne?(re=te,C=g):(re=g,C=te);var p={__EMPTY_ITEM__:!0};function B(se){return se!==void 0?Z(se):p}for(var J=null,L=Math.abs(R-ne)!==1,$=0;$<C.length;$+=1){var W=B(re[$]),fe=B(C[$]);if(W!==fe){J=$,L=L||W!==B(C[$+1]);break}}return J===null?null:{index:J,multiple:L}}function v(te,g,Z){var R=t.useState(te),ne=(0,j.Z)(R,2),re=ne[0],C=ne[1],p=t.useState(null),B=(0,j.Z)(p,2),J=B[0],L=B[1];return t.useEffect(function(){var $=h(re||[],te||[],g);($==null?void 0:$.index)!==void 0&&(Z==null||Z($.index),L(te[$.index])),C(te)},[te]),[J]}var c=u(16089),l=(typeof navigator=="undefined"?"undefined":(0,k.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),N=l,D=function(te,g,Z,R){var ne=(0,t.useRef)(!1),re=(0,t.useRef)(null);function C(){clearTimeout(re.current),ne.current=!0,re.current=setTimeout(function(){ne.current=!1},50)}var p=(0,t.useRef)({top:te,bottom:g,left:Z,right:R});return p.current.top=te,p.current.bottom=g,p.current.left=Z,p.current.right=R,function(B,J){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$=B?J<0&&p.current.left||J>0&&p.current.right:J<0&&p.current.top||J>0&&p.current.bottom;return L&&$?(clearTimeout(re.current),ne.current=!1):(!$||ne.current)&&C(),!ne.current&&$}};function I(te,g,Z,R,ne,re,C){var p=(0,t.useRef)(0),B=(0,t.useRef)(null),J=(0,t.useRef)(null),L=(0,t.useRef)(!1),$=D(g,Z,R,ne);function W(Le,Me){if(c.Z.cancel(B.current),!$(!1,Me)){var ke=Le;if(!ke._virtualHandled)ke._virtualHandled=!0;else return;p.current+=Me,J.current=Me,N||ke.preventDefault(),B.current=(0,c.Z)(function(){var st=L.current?10:1;C(p.current*st,!1),p.current=0})}}function fe(Le,Me){C(Me,!0),N||Le.preventDefault()}var se=(0,t.useRef)(null),Ce=(0,t.useRef)(null);function Ae(Le){if(te){c.Z.cancel(Ce.current),Ce.current=(0,c.Z)(function(){se.current=null},2);var Me=Le.deltaX,ke=Le.deltaY,st=Le.shiftKey,Je=Me,He=ke;(se.current==="sx"||!se.current&&st&&ke&&!Me)&&(Je=ke,He=0,se.current="sx");var Kt=Math.abs(Je),St=Math.abs(He);se.current===null&&(se.current=re&&Kt>St?"x":"y"),se.current==="y"?W(Le,He):fe(Le,Je)}}function Xe(Le){te&&(L.current=Le.detail===J.current)}return[Ae,Xe]}function K(te,g,Z,R){var ne=t.useMemo(function(){return[new Map,[]]},[te,Z.id,R]),re=(0,j.Z)(ne,2),C=re[0],p=re[1],B=function(L){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,W=C.get(L),fe=C.get($);if(W===void 0||fe===void 0)for(var se=te.length,Ce=p.length;Ce<se;Ce+=1){var Ae,Xe=te[Ce],Le=g(Xe);C.set(Le,Ce);var Me=(Ae=Z.get(Le))!==null&&Ae!==void 0?Ae:R;if(p[Ce]=(p[Ce-1]||0)+Me,Le===L&&(W=Ce),Le===$&&(fe=Ce),W!==void 0&&fe!==void 0)break}return{top:p[W-1]||0,bottom:p[fe]}};return B}var G=u(42573),F=u(58698),ge=function(){function te(){(0,G.Z)(this,te),(0,Y.Z)(this,"maps",void 0),(0,Y.Z)(this,"id",0),(0,Y.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,F.Z)(te,[{key:"set",value:function(Z,R){this.diffRecords.set(Z,this.maps[Z]),this.maps[Z]=R,this.id+=1}},{key:"get",value:function(Z){return this.maps[Z]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),te}(),b=ge;function d(te){var g=parseFloat(te);return isNaN(g)?0:g}function w(te,g,Z){var R=t.useState(0),ne=(0,j.Z)(R,2),re=ne[0],C=ne[1],p=(0,t.useRef)(new Map),B=(0,t.useRef)(new b),J=(0,t.useRef)(0);function L(){J.current+=1}function $(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;L();var se=function(){var Xe=!1;p.current.forEach(function(Le,Me){if(Le&&Le.offsetParent){var ke=Le.offsetHeight,st=getComputedStyle(Le),Je=st.marginTop,He=st.marginBottom,Kt=d(Je),St=d(He),De=ke+Kt+St;B.current.get(Me)!==De&&(B.current.set(Me,De),Xe=!0)}}),Xe&&C(function(Le){return Le+1})};if(fe)se();else{J.current+=1;var Ce=J.current;Promise.resolve().then(function(){Ce===J.current&&se()})}}function W(fe,se){var Ce=te(fe),Ae=p.current.get(Ce);se?(p.current.set(Ce,se),$()):p.current.delete(Ce),!Ae!=!se&&(se?g==null||g(fe):Z==null||Z(fe))}return(0,t.useEffect)(function(){return L},[]),[W,$,B.current,re]}var P=14/15;function T(te,g,Z){var R=(0,t.useRef)(!1),ne=(0,t.useRef)(0),re=(0,t.useRef)(0),C=(0,t.useRef)(null),p=(0,t.useRef)(null),B,J=function(fe){if(R.current){var se=Math.ceil(fe.touches[0].pageX),Ce=Math.ceil(fe.touches[0].pageY),Ae=ne.current-se,Xe=re.current-Ce,Le=Math.abs(Ae)>Math.abs(Xe);Le?ne.current=se:re.current=Ce;var Me=Z(Le,Le?Ae:Xe,!1,fe);Me&&fe.preventDefault(),clearInterval(p.current),Me&&(p.current=setInterval(function(){Le?Ae*=P:Xe*=P;var ke=Math.floor(Le?Ae:Xe);(!Z(Le,ke,!0)||Math.abs(ke)<=.1)&&clearInterval(p.current)},16))}},L=function(){R.current=!1,B()},$=function(fe){B(),fe.touches.length===1&&!R.current&&(R.current=!0,ne.current=Math.ceil(fe.touches[0].pageX),re.current=Math.ceil(fe.touches[0].pageY),C.current=fe.target,C.current.addEventListener("touchmove",J,{passive:!1}),C.current.addEventListener("touchend",L,{passive:!0}))};B=function(){C.current&&(C.current.removeEventListener("touchmove",J),C.current.removeEventListener("touchend",L))},(0,f.Z)(function(){return te&&g.current.addEventListener("touchstart",$,{passive:!0}),function(){var W;(W=g.current)===null||W===void 0||W.removeEventListener("touchstart",$),B(),clearInterval(p.current)}},[te])}function x(te){return Math.floor(Math.pow(te,.5))}function n(te,g){var Z="touches"in te?te.touches[0]:te;return Z[g?"pageX":"pageY"]-window[g?"scrollX":"scrollY"]}function i(te,g,Z){t.useEffect(function(){var R=g.current;if(te&&R){var ne=!1,re,C,p=function(){c.Z.cancel(re)},B=function W(){p(),re=(0,c.Z)(function(){Z(C),W()})},J=function(fe){if(!(fe.target.draggable||fe.button!==0)){var se=fe;se._virtualHandled||(se._virtualHandled=!0,ne=!0)}},L=function(){ne=!1,p()},$=function(fe){if(ne){var se=n(fe,!1),Ce=R.getBoundingClientRect(),Ae=Ce.top,Xe=Ce.bottom;if(se<=Ae){var Le=Ae-se;C=-x(Le),B()}else if(se>=Xe){var Me=se-Xe;C=x(Me),B()}else p()}};return R.addEventListener("mousedown",J),R.ownerDocument.addEventListener("mouseup",L),R.ownerDocument.addEventListener("mousemove",$),function(){R.removeEventListener("mousedown",J),R.ownerDocument.removeEventListener("mouseup",L),R.ownerDocument.removeEventListener("mousemove",$),p()}}},[te])}var y=10;function M(te,g,Z,R,ne,re,C,p){var B=t.useRef(),J=t.useState(null),L=(0,j.Z)(J,2),$=L[0],W=L[1];return(0,f.Z)(function(){if($&&$.times<y){if(!te.current){W(function(Qt){return(0,z.Z)({},Qt)});return}re();var fe=$.targetAlign,se=$.originAlign,Ce=$.index,Ae=$.offset,Xe=te.current.clientHeight,Le=!1,Me=fe,ke=null;if(Xe){for(var st=fe||se,Je=0,He=0,Kt=0,St=Math.min(g.length-1,Ce),De=0;De<=St;De+=1){var Vt=ne(g[De]);He=Je;var dn=Z.get(Vt);Kt=He+(dn===void 0?R:dn),Je=Kt}for(var Rt=st==="top"?Ae:Xe-Ae,dt=St;dt>=0;dt-=1){var Ft=ne(g[dt]),un=Z.get(Ft);if(un===void 0){Le=!0;break}if(Rt-=un,Rt<=0)break}switch(st){case"top":ke=He-Ae;break;case"bottom":ke=Kt-Xe+Ae;break;default:{var Ut=te.current.scrollTop,mt=Ut+Xe;He<Ut?Me="top":Kt>mt&&(Me="bottom")}}ke!==null&&C(ke),ke!==$.lastTop&&(Le=!0)}Le&&W((0,z.Z)((0,z.Z)({},$),{},{times:$.times+1,targetAlign:Me,lastTop:ke}))}},[$,te.current]),function(fe){if(fe==null){p();return}if(c.Z.cancel(B.current),typeof fe=="number")C(fe);else if(fe&&(0,k.Z)(fe)==="object"){var se,Ce=fe.align;"index"in fe?se=fe.index:se=g.findIndex(function(Le){return ne(Le)===fe.key});var Ae=fe.offset,Xe=Ae===void 0?0:Ae;W({times:0,index:se,offset:Xe,originAlign:Ce})}}}var le=t.forwardRef(function(te,g){var Z=te.prefixCls,R=te.rtl,ne=te.scrollOffset,re=te.scrollRange,C=te.onStartMove,p=te.onStopMove,B=te.onScroll,J=te.horizontal,L=te.spinSize,$=te.containerSize,W=te.style,fe=te.thumbStyle,se=te.showScrollBar,Ce=t.useState(!1),Ae=(0,j.Z)(Ce,2),Xe=Ae[0],Le=Ae[1],Me=t.useState(null),ke=(0,j.Z)(Me,2),st=ke[0],Je=ke[1],He=t.useState(null),Kt=(0,j.Z)(He,2),St=Kt[0],De=Kt[1],Vt=!R,dn=t.useRef(),Rt=t.useRef(),dt=t.useState(se),Ft=(0,j.Z)(dt,2),un=Ft[0],Ut=Ft[1],mt=t.useRef(),Qt=function(){se===!0||se===!1||(clearTimeout(mt.current),Ut(!0),mt.current=setTimeout(function(){Ut(!1)},3e3))},bn=re-$||0,Tt=$-L||0,ft=t.useMemo(function(){if(ne===0||bn===0)return 0;var Nn=ne/bn;return Nn*Tt},[ne,bn,Tt]),yt=function(In){In.stopPropagation(),In.preventDefault()},Bn=t.useRef({top:ft,dragging:Xe,pageY:st,startTop:St});Bn.current={top:ft,dragging:Xe,pageY:st,startTop:St};var mn=function(In){Le(!0),Je(n(In,J)),De(Bn.current.top),C(),In.stopPropagation(),In.preventDefault()};t.useEffect(function(){var Nn=function(at){at.preventDefault()},In=dn.current,En=Rt.current;return In.addEventListener("touchstart",Nn,{passive:!1}),En.addEventListener("touchstart",mn,{passive:!1}),function(){In.removeEventListener("touchstart",Nn),En.removeEventListener("touchstart",mn)}},[]);var Ln=t.useRef();Ln.current=bn;var Wn=t.useRef();Wn.current=Tt,t.useEffect(function(){if(Xe){var Nn,In=function(at){var it=Bn.current,en=it.dragging,pn=it.pageY,An=it.startTop;c.Z.cancel(Nn);var Q=dn.current.getBoundingClientRect(),X=$/(J?Q.width:Q.height);if(en){var Ke=(n(at,J)-pn)*X,Se=An;!Vt&&J?Se-=Ke:Se+=Ke;var ze=Ln.current,Ge=Wn.current,Be=Ge?Se/Ge:0,Fe=Math.ceil(Be*ze);Fe=Math.max(Fe,0),Fe=Math.min(Fe,ze),Nn=(0,c.Z)(function(){B(Fe,J)})}},En=function(){Le(!1),p()};return window.addEventListener("mousemove",In,{passive:!0}),window.addEventListener("touchmove",In,{passive:!0}),window.addEventListener("mouseup",En,{passive:!0}),window.addEventListener("touchend",En,{passive:!0}),function(){window.removeEventListener("mousemove",In),window.removeEventListener("touchmove",In),window.removeEventListener("mouseup",En),window.removeEventListener("touchend",En),c.Z.cancel(Nn)}}},[Xe]),t.useEffect(function(){return Qt(),function(){clearTimeout(mt.current)}},[ne]),t.useImperativeHandle(g,function(){return{delayHidden:Qt}});var wn="".concat(Z,"-scrollbar"),Rn={position:"absolute",visibility:un?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 J?(Object.assign(Rn,{height:8,left:0,right:0,bottom:0}),Object.assign(Kn,(0,Y.Z)({height:"100%",width:L},Vt?"left":"right",ft))):(Object.assign(Rn,(0,Y.Z)({width:8,top:0,bottom:0},Vt?"right":"left",0)),Object.assign(Kn,{width:"100%",height:L,top:ft})),t.createElement("div",{ref:dn,className:H()(wn,(0,Y.Z)((0,Y.Z)((0,Y.Z)({},"".concat(wn,"-horizontal"),J),"".concat(wn,"-vertical"),!J),"".concat(wn,"-visible"),un)),style:(0,z.Z)((0,z.Z)({},Rn),W),onMouseDown:yt,onMouseMove:Qt},t.createElement("div",{ref:Rt,className:H()("".concat(wn,"-thumb"),(0,Y.Z)({},"".concat(wn,"-thumb-moving"),Xe)),style:(0,z.Z)((0,z.Z)({},Kn),fe),onMouseDown:mn}))}),we=le,Oe=20;function je(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Z=te/g*te;return isNaN(Z)&&(Z=0),Z=Math.max(Z,Oe),Math.floor(Z)}var Ye=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],At=[],xe={overflowY:"auto",overflowAnchor:"none"};function qe(te,g){var Z=te.prefixCls,R=Z===void 0?"rc-virtual-list":Z,ne=te.className,re=te.height,C=te.itemHeight,p=te.fullHeight,B=p===void 0?!0:p,J=te.style,L=te.data,$=te.children,W=te.itemKey,fe=te.virtual,se=te.direction,Ce=te.scrollWidth,Ae=te.component,Xe=Ae===void 0?"div":Ae,Le=te.onScroll,Me=te.onVirtualScroll,ke=te.onVisibleChange,st=te.innerProps,Je=te.extraRender,He=te.styles,Kt=te.showScrollBar,St=Kt===void 0?"optional":Kt,De=(0,_.Z)(te,Ye),Vt=t.useCallback(function(ee){return typeof W=="function"?W(ee):ee==null?void 0:ee[W]},[W]),dn=w(Vt,null,null),Rt=(0,j.Z)(dn,4),dt=Rt[0],Ft=Rt[1],un=Rt[2],Ut=Rt[3],mt=!!(fe!==!1&&re&&C),Qt=t.useMemo(function(){return Object.values(un.maps).reduce(function(ee,oe){return ee+oe},0)},[un.id,un.maps]),bn=mt&&L&&(Math.max(C*L.length,Qt)>re||!!Ce),Tt=se==="rtl",ft=H()(R,(0,Y.Z)({},"".concat(R,"-rtl"),Tt),ne),yt=L||At,Bn=(0,t.useRef)(),mn=(0,t.useRef)(),Ln=(0,t.useRef)(),Wn=(0,t.useState)(0),wn=(0,j.Z)(Wn,2),Rn=wn[0],Kn=wn[1],Nn=(0,t.useState)(0),In=(0,j.Z)(Nn,2),En=In[0],Tn=In[1],at=(0,t.useState)(!1),it=(0,j.Z)(at,2),en=it[0],pn=it[1],An=function(){pn(!0)},Q=function(){pn(!1)},X={getKey:Vt};function Ke(ee){Kn(function(oe){var de;typeof ee=="function"?de=ee(oe):de=ee;var me=on(de);return Bn.current.scrollTop=me,me})}var Se=(0,t.useRef)({start:0,end:yt.length}),ze=(0,t.useRef)(),Ge=v(yt,Vt),Be=(0,j.Z)(Ge,1),Fe=Be[0];ze.current=Fe;var nt=t.useMemo(function(){if(!mt)return{scrollHeight:void 0,start:0,end:yt.length-1,offset:void 0};if(!bn){var ee;return{scrollHeight:((ee=mn.current)===null||ee===void 0?void 0:ee.offsetHeight)||0,start:0,end:yt.length-1,offset:void 0}}for(var oe=0,de,me,Ee,Ve=yt.length,ct=0;ct<Ve;ct+=1){var rt=yt[ct],Nt=Vt(rt),Bt=un.get(Nt),Ot=oe+(Bt===void 0?C:Bt);Ot>=Rn&&de===void 0&&(de=ct,me=oe),Ot>Rn+re&&Ee===void 0&&(Ee=ct),oe=Ot}return de===void 0&&(de=0,me=0,Ee=Math.ceil(re/C)),Ee===void 0&&(Ee=yt.length-1),Ee=Math.min(Ee+1,yt.length-1),{scrollHeight:oe,start:de,end:Ee,offset:me}},[bn,mt,Rn,yt,Ut,re]),We=nt.scrollHeight,et=nt.start,lt=nt.end,Qe=nt.offset;Se.current.start=et,Se.current.end=lt,t.useLayoutEffect(function(){var ee=un.getRecord();if(ee.size===1){var oe=Array.from(ee.keys())[0],de=ee.get(oe),me=yt[et];if(me&&de===void 0){var Ee=Vt(me);if(Ee===oe){var Ve=un.get(oe),ct=Ve-C;Ke(function(rt){return rt+ct})}}}un.resetRecord()},[We]);var Ie=t.useState({width:0,height:re}),V=(0,j.Z)(Ie,2),ce=V[0],he=V[1],ve=function(oe){he({width:oe.offsetWidth,height:oe.offsetHeight})},Pe=(0,t.useRef)(),Ue=(0,t.useRef)(),$e=t.useMemo(function(){return je(ce.width,Ce)},[ce.width,Ce]),ot=t.useMemo(function(){return je(ce.height,We)},[ce.height,We]),_t=We-re,bt=(0,t.useRef)(_t);bt.current=_t;function on(ee){var oe=ee;return Number.isNaN(bt.current)||(oe=Math.min(oe,bt.current)),oe=Math.max(oe,0),oe}var wt=Rn<=0,Et=Rn>=_t,Mt=En<=0,Ht=En>=Ce,zt=D(wt,Et,Mt,Ht),xt=function(){return{x:Tt?-En:En,y:Rn}},Pt=(0,t.useRef)(xt()),tt=(0,s.zX)(function(ee){if(Me){var oe=(0,z.Z)((0,z.Z)({},xt()),ee);(Pt.current.x!==oe.x||Pt.current.y!==oe.y)&&(Me(oe),Pt.current=oe)}});function ut(ee,oe){var de=ee;oe?((0,r.flushSync)(function(){Tn(de)}),tt()):Ke(de)}function ht(ee){var oe=ee.currentTarget.scrollTop;oe!==Rn&&Ke(oe),Le==null||Le(ee),tt()}var $t=function(oe){var de=oe,me=Ce?Ce-ce.width:0;return de=Math.max(de,0),de=Math.min(de,me),de},kt=(0,s.zX)(function(ee,oe){oe?((0,r.flushSync)(function(){Tn(function(de){var me=de+(Tt?-ee:ee);return $t(me)})}),tt()):Ke(function(de){var me=de+ee;return me})}),jt=I(mt,wt,Et,Mt,Ht,!!Ce,kt),On=(0,j.Z)(jt,2),A=On[0],ae=On[1];T(mt,Bn,function(ee,oe,de,me){var Ee=me;return zt(ee,oe,de)?!1:!Ee||!Ee._virtualHandled?(Ee&&(Ee._virtualHandled=!0),A({preventDefault:function(){},deltaX:ee?oe:0,deltaY:ee?0:oe}),!0):!1}),i(bn,Bn,function(ee){Ke(function(oe){return oe+ee})}),(0,f.Z)(function(){function ee(de){var me=wt&&de.detail<0,Ee=Et&&de.detail>0;mt&&!me&&!Ee&&de.preventDefault()}var oe=Bn.current;return oe.addEventListener("wheel",A,{passive:!1}),oe.addEventListener("DOMMouseScroll",ae,{passive:!0}),oe.addEventListener("MozMousePixelScroll",ee,{passive:!1}),function(){oe.removeEventListener("wheel",A),oe.removeEventListener("DOMMouseScroll",ae),oe.removeEventListener("MozMousePixelScroll",ee)}},[mt,wt,Et]),(0,f.Z)(function(){if(Ce){var ee=$t(En);Tn(ee),tt({x:ee})}},[ce.width,Ce]);var q=function(){var oe,de;(oe=Pe.current)===null||oe===void 0||oe.delayHidden(),(de=Ue.current)===null||de===void 0||de.delayHidden()},ie=M(Bn,yt,un,C,Vt,function(){return Ft(!0)},Ke,q);t.useImperativeHandle(g,function(){return{nativeElement:Ln.current,getScrollInfo:xt,scrollTo:function(oe){function de(me){return me&&(0,k.Z)(me)==="object"&&("left"in me||"top"in me)}de(oe)?(oe.left!==void 0&&Tn($t(oe.left)),ie(oe.top)):ie(oe)}}}),(0,f.Z)(function(){if(ke){var ee=yt.slice(et,lt+1);ke(ee,yt)}},[et,lt,yt]);var _e=K(yt,Vt,un,C),ye=Je==null?void 0:Je({start:et,end:lt,virtual:bn,offsetX:En,offsetY:Qe,rtl:Tt,getSize:_e}),Ne=E(yt,et,lt,Ce,En,dt,$,X),Re=null;re&&(Re=(0,z.Z)((0,Y.Z)({},B?"height":"maxHeight",re),xe),mt&&(Re.overflowY="hidden",Ce&&(Re.overflowX="hidden"),en&&(Re.pointerEvents="none")));var be={};return Tt&&(be.dir="rtl"),t.createElement("div",(0,O.Z)({ref:Ln,style:(0,z.Z)((0,z.Z)({},J),{},{position:"relative"}),className:ft},be,De),t.createElement(e.Z,{onResize:ve},t.createElement(Xe,{className:"".concat(R,"-holder"),style:Re,ref:Bn,onScroll:ht,onMouseEnter:q},t.createElement(o,{prefixCls:R,height:We,offsetX:En,offsetY:Qe,scrollWidth:Ce,onInnerResize:Ft,ref:mn,innerProps:st,rtl:Tt,extra:ye},Ne))),bn&&We>re&&t.createElement(we,{ref:Pe,prefixCls:R,scrollOffset:Rn,scrollRange:We,rtl:Tt,onScroll:ut,onStartMove:An,onStopMove:Q,spinSize:ot,containerSize:ce.height,style:He==null?void 0:He.verticalScrollBar,thumbStyle:He==null?void 0:He.verticalScrollBarThumb,showScrollBar:St}),bn&&Ce>ce.width&&t.createElement(we,{ref:Ue,prefixCls:R,scrollOffset:En,scrollRange:Ce,rtl:Tt,onScroll:ut,onStartMove:An,onStopMove:Q,spinSize:$e,containerSize:ce.width,horizontal:!0,style:He==null?void 0:He.horizontalScrollBar,thumbStyle:He==null?void 0:He.horizontalScrollBarThumb,showScrollBar:St}))}var Ze=t.forwardRef(qe);Ze.displayName="List";var pe=Ze,ue=pe},83145:function(Lt,Te,u){"use strict";Object.defineProperty(Te,"__esModule",{value:!0}),Te.CopyToClipboard=void 0;var O=z(u(59301)),k=z(u(25769));function z(h){return h&&h.__esModule?h:{default:h}}function Y(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(c){return typeof c}:Y=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},Y(h)}function j(h,v){var c=Object.keys(h);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(h);v&&(l=l.filter(function(N){return Object.getOwnPropertyDescriptor(h,N).enumerable})),c.push.apply(c,l)}return c}function _(h){for(var v=1;v<arguments.length;v++){var c=arguments[v]!=null?arguments[v]:{};v%2?j(c,!0).forEach(function(l){E(h,l,c[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(c)):j(c).forEach(function(l){Object.defineProperty(h,l,Object.getOwnPropertyDescriptor(c,l))})}return h}function U(h,v){if(h==null)return{};var c=H(h,v),l,N;if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(h);for(N=0;N<D.length;N++)l=D[N],!(v.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(h,l)&&(c[l]=h[l])}return c}function H(h,v){if(h==null)return{};var c={},l=Object.keys(h),N,D;for(D=0;D<l.length;D++)N=l[D],!(v.indexOf(N)>=0)&&(c[N]=h[N]);return c}function e(h,v){if(!(h instanceof v))throw new TypeError("Cannot call a class as a function")}function s(h,v){for(var c=0;c<v.length;c++){var l=v[c];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(h,l.key,l)}}function f(h,v,c){return v&&s(h.prototype,v),c&&s(h,c),h}function t(h,v){return v&&(Y(v)==="object"||typeof v=="function")?v:a(h)}function r(h){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},r(h)}function a(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function o(h,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(v&&v.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),v&&m(h,v)}function m(h,v){return m=Object.setPrototypeOf||function(l,N){return l.__proto__=N,l},m(h,v)}function E(h,v,c){return v in h?Object.defineProperty(h,v,{value:c,enumerable:!0,configurable:!0,writable:!0}):h[v]=c,h}var S=function(h){o(v,h);function v(){var c,l;e(this,v);for(var N=arguments.length,D=new Array(N),I=0;I<N;I++)D[I]=arguments[I];return l=t(this,(c=r(v)).call.apply(c,[this].concat(D))),E(a(l),"onClick",function(K){var G=l.props,F=G.text,ge=G.onCopy,b=G.children,d=G.options,w=O.default.Children.only(b),P=(0,k.default)(F,d);ge&&ge(F,P),w&&w.props&&typeof w.props.onClick=="function"&&w.props.onClick(K)}),l}return f(v,[{key:"render",value:function(){var l=this.props,N=l.text,D=l.onCopy,I=l.options,K=l.children,G=U(l,["text","onCopy","options","children"]),F=O.default.Children.only(K);return O.default.cloneElement(F,_({},G,{onClick:this.onClick}))}}]),v}(O.default.PureComponent);Te.CopyToClipboard=S,E(S,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Lt,Te,u){"use strict";var O=u(83145),k=O.CopyToClipboard;k.CopyToClipboard=k,Lt.exports=k},76374:function(Lt,Te,u){"use strict";var O=function(){if(typeof Map!="undefined")return Map;function b(d,w){var P=-1;return d.some(function(T,x){return T[0]===w?(P=x,!0):!1}),P}return function(){function d(){this.__entries__=[]}return Object.defineProperty(d.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),d.prototype.get=function(w){var P=b(this.__entries__,w),T=this.__entries__[P];return T&&T[1]},d.prototype.set=function(w,P){var T=b(this.__entries__,w);~T?this.__entries__[T][1]=P:this.__entries__.push([w,P])},d.prototype.delete=function(w){var P=this.__entries__,T=b(P,w);~T&&P.splice(T,1)},d.prototype.has=function(w){return!!~b(this.__entries__,w)},d.prototype.clear=function(){this.__entries__.splice(0)},d.prototype.forEach=function(w,P){P===void 0&&(P=null);for(var T=0,x=this.__entries__;T<x.length;T++){var n=x[T];w.call(P,n[1],n[0])}},d}()}(),k=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,z=function(){return typeof u.g!="undefined"&&u.g.Math===Math?u.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Y=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(z):function(b){return setTimeout(function(){return b(Date.now())},1e3/60)}}(),j=2;function _(b,d){var w=!1,P=!1,T=0;function x(){w&&(w=!1,b()),P&&i()}function n(){Y(x)}function i(){var y=Date.now();if(w){if(y-T<j)return;P=!0}else w=!0,P=!1,setTimeout(n,d);T=y}return i}var U=20,H=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function b(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=_(this.refresh.bind(this),U)}return b.prototype.addObserver=function(d){~this.observers_.indexOf(d)||this.observers_.push(d),this.connected_||this.connect_()},b.prototype.removeObserver=function(d){var w=this.observers_,P=w.indexOf(d);~P&&w.splice(P,1),!w.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){var d=this.updateObservers_();d&&this.refresh()},b.prototype.updateObservers_=function(){var d=this.observers_.filter(function(w){return w.gatherActive(),w.hasActive()});return d.forEach(function(w){return w.broadcastActive()}),d.length>0},b.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)},b.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)},b.prototype.onTransitionEnd_=function(d){var w=d.propertyName,P=w===void 0?"":w,T=H.some(function(x){return!!~P.indexOf(x)});T&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null,b}(),f=function(b,d){for(var w=0,P=Object.keys(d);w<P.length;w++){var T=P[w];Object.defineProperty(b,T,{value:d[T],enumerable:!1,writable:!1,configurable:!0})}return b},t=function(b){var d=b&&b.ownerDocument&&b.ownerDocument.defaultView;return d||z},r=N(0,0,0,0);function a(b){return parseFloat(b)||0}function o(b){for(var d=[],w=1;w<arguments.length;w++)d[w-1]=arguments[w];return d.reduce(function(P,T){var x=b["border-"+T+"-width"];return P+a(x)},0)}function m(b){for(var d=["top","right","bottom","left"],w={},P=0,T=d;P<T.length;P++){var x=T[P],n=b["padding-"+x];w[x]=a(n)}return w}function E(b){var d=b.getBBox();return N(0,0,d.width,d.height)}function S(b){var d=b.clientWidth,w=b.clientHeight;if(!d&&!w)return r;var P=t(b).getComputedStyle(b),T=m(P),x=T.left+T.right,n=T.top+T.bottom,i=a(P.width),y=a(P.height);if(P.boxSizing==="border-box"&&(Math.round(i+x)!==d&&(i-=o(P,"left","right")+x),Math.round(y+n)!==w&&(y-=o(P,"top","bottom")+n)),!v(b)){var M=Math.round(i+x)-d,le=Math.round(y+n)-w;Math.abs(M)!==1&&(i-=M),Math.abs(le)!==1&&(y-=le)}return N(T.left,T.top,i,y)}var h=function(){return typeof SVGGraphicsElement!="undefined"?function(b){return b instanceof t(b).SVGGraphicsElement}:function(b){return b instanceof t(b).SVGElement&&typeof b.getBBox=="function"}}();function v(b){return b===t(b).document.documentElement}function c(b){return k?h(b)?E(b):S(b):r}function l(b){var d=b.x,w=b.y,P=b.width,T=b.height,x=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(x.prototype);return f(n,{x:d,y:w,width:P,height:T,top:w,right:d+P,bottom:T+w,left:d}),n}function N(b,d,w,P){return{x:b,y:d,width:w,height:P}}var D=function(){function b(d){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=N(0,0,0,0),this.target=d}return b.prototype.isActive=function(){var d=c(this.target);return this.contentRect_=d,d.width!==this.broadcastWidth||d.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var d=this.contentRect_;return this.broadcastWidth=d.width,this.broadcastHeight=d.height,d},b}(),I=function(){function b(d,w){var P=l(w);f(this,{target:d,contentRect:P})}return b}(),K=function(){function b(d,w,P){if(this.activeObservations_=[],this.observations_=new O,typeof d!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=d,this.controller_=w,this.callbackCtx_=P}return b.prototype.observe=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof t(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var w=this.observations_;w.has(d)||(w.set(d,new D(d)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof t(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var w=this.observations_;w.has(d)&&(w.delete(d),w.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var d=this;this.clearActive(),this.observations_.forEach(function(w){w.isActive()&&d.activeObservations_.push(w)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var d=this.callbackCtx_,w=this.activeObservations_.map(function(P){return new I(P.target,P.broadcastRect())});this.callback_.call(d,w,d),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0},b}(),G=typeof WeakMap!="undefined"?new WeakMap:new O,F=function(){function b(d){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var w=s.getInstance(),P=new K(d,w,this);G.set(this,P)}return b}();["observe","unobserve","disconnect"].forEach(function(b){F.prototype[b]=function(){var d;return(d=G.get(this))[b].apply(d,arguments)}});var ge=function(){return typeof z.ResizeObserver!="undefined"?z.ResizeObserver:F}();Te.Z=ge},98040:function(Lt){Lt.exports=function(){var Te=document.getSelection();if(!Te.rangeCount)return function(){};for(var u=document.activeElement,O=[],k=0;k<Te.rangeCount;k++)O.push(Te.getRangeAt(k));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Te.removeAllRanges(),function(){Te.type==="Caret"&&Te.removeAllRanges(),Te.rangeCount||O.forEach(function(z){Te.addRange(z)}),u&&u.focus()}}},93314:function(Lt){"use strict";Lt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="}}]);