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
550 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65030:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return re}});var P=u(33885),O=u(42978),K=u(75931),Y=u(43403),z=u(92310),p=u.n(z),U=u(29301),H=u(76846),e=u(96452),s=u(6089),d=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(54476),g=u(77900),E=u(8654);function S(W){var Q=W.prefixCls,c=W.align,B=W.arrow,q=W.arrowPos,C=B||{},v=C.className,F=C.content,ee=q.x,M=ee===void 0?0:ee,V=q.y,j=V===void 0?0:V,ce=a.useRef();if(!c||!c.points)return null;var oe={position:"absolute"};if(c.autoArrow!==!1){var Ce=c.points[0],Ze=c.points[1],Ye=Ce[0],Ke=Ce[1],Me=Ze[0],Ie=Ze[1];Ye===Me||!["t","b"].includes(Ye)?oe.top=j:Ye==="t"?oe.top=0:oe.bottom=0,Ke===Ie||!["l","r"].includes(Ke)?oe.left=M:Ke==="l"?oe.left=0:oe.right=0}return a.createElement("div",{ref:ce,className:p()("".concat(Q,"-arrow"),v),style:oe},F)}function _(W){var Q=W.prefixCls,c=W.open,B=W.zIndex,q=W.mask,C=W.motion;return q?a.createElement(g.default,(0,o.Z)({},C,{motionAppear:!0,visible:c,removeOnLeave:!0}),function(v){var F=v.className;return a.createElement("div",{style:{zIndex:B},className:p()("".concat(Q,"-mask"),F)})}):null}var m=a.memo(function(W){var Q=W.children;return Q},function(W,Q){return Q.cache}),f=m,l=a.forwardRef(function(W,Q){var c=W.popup,B=W.className,q=W.prefixCls,C=W.style,v=W.target,F=W.onVisibleChanged,ee=W.open,M=W.keepDom,V=W.fresh,j=W.onClick,ce=W.mask,oe=W.arrow,Ce=W.arrowPos,Ze=W.align,Ye=W.motion,Ke=W.maskMotion,Me=W.forceRender,Ie=W.getPopupContainer,st=W.autoDestroy,Xe=W.portal,He=W.zIndex,Bt=W.onMouseEnter,Pt=W.onMouseLeave,ke=W.onPointerEnter,Ut=W.onPointerDownCapture,_n=W.ready,Nt=W.offsetX,dt=W.offsetY,Kt=W.offsetR,fn=W.offsetB,Vt=W.onAlign,_t=W.onPrepare,Qt=W.stretch,Cn=W.targetWidth,At=W.targetHeight,ct=typeof c=="function"?c():c,Ct=ee||M,Kn=(Ie==null?void 0:Ie.length)>0,mn=a.useState(!Ie||!Kn),An=(0,O.Z)(mn,2),Wn=An[0],vn=An[1];if((0,t.Z)(function(){!Wn&&Kn&&v&&vn(!0)},[Wn,Kn,v]),!Wn)return null;var Nn="auto",Fn={left:"-1000vw",top:"-1000vh",right:Nn,bottom:Nn};if(_n||!ee){var zn,Mn=Ze.points,yn=Ze.dynamicInset||((zn=Ze._experimental)===null||zn===void 0?void 0:zn.dynamicInset),Zn=yn&&Mn[0][1]==="r",at=yn&&Mn[0][0]==="b";Zn?(Fn.right=Kt,Fn.left=Nn):(Fn.left=Nt,Fn.right=Nn),at?(Fn.bottom=fn,Fn.top=Nn):(Fn.top=dt,Fn.bottom=Nn)}var nt={};return Qt&&(Qt.includes("height")&&At?nt.height=At:Qt.includes("minHeight")&&At&&(nt.minHeight=At),Qt.includes("width")&&Cn?nt.width=Cn:Qt.includes("minWidth")&&Cn&&(nt.minWidth=Cn)),ee||(nt.pointerEvents="none"),a.createElement(Xe,{open:Me||Ct,getContainer:Ie&&function(){return Ie(v)},autoDestroy:st},a.createElement(_,{prefixCls:q,open:ee,zIndex:He,mask:ce,motion:Ke}),a.createElement(U.Z,{onResize:Vt,disabled:!ee},function(qt){return a.createElement(g.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(q,"-hidden")},Ye,{onAppearPrepare:_t,onEnterPrepare:_t,visible:ee,onVisibleChanged:function(xn){var J;Ye==null||(J=Ye.onVisibleChanged)===null||J===void 0||J.call(Ye,xn),F(xn)}}),function(bn,xn){var J=bn.className,G=bn.style,Fe=p()(q,J,B);return a.createElement("div",{ref:(0,E.sQ)(qt,Q,xn),className:Fe,style:(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({"--arrow-x":"".concat(Ce.x||0,"px"),"--arrow-y":"".concat(Ce.y||0,"px")},Fn),nt),G),{},{boxSizing:"border-box",zIndex:He},C),onMouseEnter:Bt,onMouseLeave:Pt,onPointerEnter:ke,onClick:j,onPointerDownCapture:Ut},oe&&a.createElement(S,{prefixCls:q,arrow:oe,arrowPos:Ce,align:Ze}),a.createElement(f,{cache:!ee&&!V},ct))})}))}),N=l,k=a.forwardRef(function(W,Q){var c=W.children,B=W.getTriggerDOMNode,q=(0,E.Yr)(c),C=a.useCallback(function(F){(0,E.mH)(Q,B?B(F):F)},[B]),v=(0,E.x1)(C,(0,E.C4)(c));return q?a.cloneElement(c,{ref:v}):c}),I=k,Z=a.createContext(null),$=Z;function L(W){return W?Array.isArray(W)?W:[W]:[]}function ye(W,Q,c,B){return a.useMemo(function(){var q=L(c!=null?c:Q),C=L(B!=null?B:Q),v=new Set(q),F=new Set(C);return W&&(v.has("hover")&&(v.delete("hover"),v.add("click")),F.has("hover")&&(F.delete("hover"),F.add("click"))),[v,F]},[W,Q,c,B])}var b=u(29194);function h(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=arguments.length>2?arguments[2]:void 0;return c?W[0]===Q[0]:W[0]===Q[0]&&W[1]===Q[1]}function w(W,Q,c,B){for(var q=c.points,C=Object.keys(W),v=0;v<C.length;v+=1){var F,ee=C[v];if(h((F=W[ee])===null||F===void 0?void 0:F.points,q,B))return"".concat(Q,"-placement-").concat(ee)}return""}function R(W,Q,c,B){return Q||(c?{motionName:"".concat(W,"-").concat(c)}:B?{motionName:B}:null)}function D(W){return W.ownerDocument.defaultView}function x(W){for(var Q=[],c=W==null?void 0:W.parentElement,B=["hidden","scroll","clip","auto"];c;){var q=D(c).getComputedStyle(c),C=q.overflowX,v=q.overflowY,F=q.overflow;[C,v,F].some(function(ee){return B.includes(ee)})&&Q.push(c),c=c.parentElement}return Q}function n(W){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(W)?Q:W}function i(W){return n(parseFloat(W),0)}function y(W,Q){var c=(0,P.Z)({},W);return(Q||[]).forEach(function(B){if(!(B instanceof HTMLBodyElement||B instanceof HTMLHtmlElement)){var q=D(B).getComputedStyle(B),C=q.overflow,v=q.overflowClipMargin,F=q.borderTopWidth,ee=q.borderBottomWidth,M=q.borderLeftWidth,V=q.borderRightWidth,j=B.getBoundingClientRect(),ce=B.offsetHeight,oe=B.clientHeight,Ce=B.offsetWidth,Ze=B.clientWidth,Ye=i(F),Ke=i(ee),Me=i(M),Ie=i(V),st=n(Math.round(j.width/Ce*1e3)/1e3),Xe=n(Math.round(j.height/ce*1e3)/1e3),He=(Ce-Ze-Me-Ie)*st,Bt=(ce-oe-Ye-Ke)*Xe,Pt=Ye*Xe,ke=Ke*Xe,Ut=Me*st,_n=Ie*st,Nt=0,dt=0;if(C==="clip"){var Kt=i(v);Nt=Kt*st,dt=Kt*Xe}var fn=j.x+Ut-Nt,Vt=j.y+Pt-dt,_t=fn+j.width+2*Nt-Ut-_n-He,Qt=Vt+j.height+2*dt-Pt-ke-Bt;c.left=Math.max(c.left,fn),c.top=Math.max(c.top,Vt),c.right=Math.min(c.right,_t),c.bottom=Math.min(c.bottom,Qt)}}),c}function A(W){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c="".concat(Q),B=c.match(/^(.*)\%$/);return B?W*(parseFloat(B[1])/100):parseFloat(c)}function le(W,Q){var c=Q||[],B=(0,O.Z)(c,2),q=B[0],C=B[1];return[A(W.width,q),A(W.height,C)]}function xe(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[W[0],W[1]]}function Te(W,Q){var c=Q[0],B=Q[1],q,C;return c==="t"?C=W.y:c==="b"?C=W.y+W.height:C=W.y+W.height/2,B==="l"?q=W.x:B==="r"?q=W.x+W.width:q=W.x+W.width/2,{x:q,y:C}}function ze(W,Q){var c={t:"b",b:"t",l:"r",r:"l"};return W.map(function(B,q){return q===Q?c[B]||"c":B}).join("")}function Ge(W,Q,c,B,q,C,v){var F=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:q[B]||{}}),ee=(0,O.Z)(F,2),M=ee[0],V=ee[1],j=a.useRef(0),ce=a.useMemo(function(){return Q?x(Q):[]},[Q]),oe=a.useRef({}),Ce=function(){oe.current={}};W||Ce();var Ze=(0,s.Z)(function(){if(Q&&c&&W){let En=function(Sn,Et){var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ve,en=Ct.x+Sn,nn=Ct.y+Et,Pn=en+at,In=nn+Zn,ar=Math.max(en,Jt.left),mt=Math.max(nn,Jt.top),Wt=Math.min(Pn,Jt.right),Zt=Math.min(In,Jt.bottom);return Math.max(0,(Wt-ar)*(Zt-mt))},wn=function(){be=Ct.y+St,De=be+Zn,Ne=Ct.x+bt,we=Ne+at};var Me,Ie,st,Xe,He=Q,Bt=He.ownerDocument,Pt=D(He),ke=Pt.getComputedStyle(He),Ut=ke.position,_n=He.style.left,Nt=He.style.top,dt=He.style.right,Kt=He.style.bottom,fn=He.style.overflow,Vt=(0,P.Z)((0,P.Z)({},q[B]),C),_t=Bt.createElement("div");(Me=He.parentElement)===null||Me===void 0||Me.appendChild(_t),_t.style.left="".concat(He.offsetLeft,"px"),_t.style.top="".concat(He.offsetTop,"px"),_t.style.position=Ut,_t.style.height="".concat(He.offsetHeight,"px"),_t.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(c))Qt={x:c[0],y:c[1],width:0,height:0};else{var Cn,At,ct=c.getBoundingClientRect();ct.x=(Cn=ct.x)!==null&&Cn!==void 0?Cn:ct.left,ct.y=(At=ct.y)!==null&&At!==void 0?At:ct.top,Qt={x:ct.x,y:ct.y,width:ct.width,height:ct.height}}var Ct=He.getBoundingClientRect(),Kn=Pt.getComputedStyle(He),mn=Kn.height,An=Kn.width;Ct.x=(Ie=Ct.x)!==null&&Ie!==void 0?Ie:Ct.left,Ct.y=(st=Ct.y)!==null&&st!==void 0?st:Ct.top;var Wn=Bt.documentElement,vn=Wn.clientWidth,Nn=Wn.clientHeight,Fn=Wn.scrollWidth,zn=Wn.scrollHeight,Mn=Wn.scrollTop,yn=Wn.scrollLeft,Zn=Ct.height,at=Ct.width,nt=Qt.height,qt=Qt.width,bn={left:0,top:0,right:vn,bottom:Nn},xn={left:-yn,top:-Mn,right:Fn-yn,bottom:zn-Mn},J=Vt.htmlRegion,G="visible",Fe="visibleFirst";J!=="scroll"&&J!==Fe&&(J=G);var Re=J===Fe,je=y(xn,ce),$e=y(bn,ce),Ve=J===G?$e:je,Be=Re?$e:Ve;He.style.left="auto",He.style.top="auto",He.style.right="0",He.style.bottom="0";var it=He.getBoundingClientRect();He.style.left=_n,He.style.top=Nt,He.style.right=dt,He.style.bottom=Kt,He.style.overflow=fn,(Xe=He.parentElement)===null||Xe===void 0||Xe.removeChild(_t);var We=n(Math.round(at/parseFloat(An)*1e3)/1e3),Qe=n(Math.round(Zn/parseFloat(mn)*1e3)/1e3);if(We===0||Qe===0||(0,H.Sh)(c)&&!(0,b.Z)(c))return;var ot=Vt.offset,wt=Vt.targetOffset,qe=le(Ct,ot),X=(0,O.Z)(qe,2),fe=X[0],ve=X[1],_e=le(Qt,wt),me=(0,O.Z)(_e,2),Pe=me[0],Oe=me[1];Qt.x-=Pe,Qt.y-=Oe;var et=Vt.points||[],ut=(0,O.Z)(et,2),gt=ut[0],on=ut[1],yt=xe(on),xt=xe(gt),Mt=Te(Qt,yt),Ht=Te(Ct,xt),zt=(0,P.Z)({},Vt),bt=Mt.x-Ht.x+fe,St=Mt.y-Ht.y+ve,tt=En(bt,St),lt=En(bt,St,$e),ht=Te(Qt,["t","l"]),$t=Te(Ct,["t","l"]),kt=Te(Qt,["b","r"]),jt=Te(Ct,["b","r"]),On=Vt.overflow||{},T=On.adjustX,ae=On.adjustY,te=On.shiftX,ie=On.shiftY,he=function(Et){return typeof Et=="boolean"?Et:Et>=0},be,De,Ne,we;wn();var ne=he(ae),se=xt[0]===yt[0];if(ne&&xt[0]==="t"&&(De>Be.bottom||oe.current.bt)){var de=St;se?de-=Zn-nt:de=ht.y-jt.y-ve;var ge=En(bt,de),Se=En(bt,de,$e);ge>tt||ge===tt&&(!Re||Se>=lt)?(oe.current.bt=!0,St=de,ve=-ve,zt.points=[ze(xt,0),ze(yt,0)]):oe.current.bt=!1}if(ne&&xt[0]==="b"&&(be<Be.top||oe.current.tb)){var Ue=St;se?Ue+=Zn-nt:Ue=kt.y-$t.y-ve;var ft=En(bt,Ue),rt=En(bt,Ue,$e);ft>tt||ft===tt&&(!Re||rt>=lt)?(oe.current.tb=!0,St=Ue,ve=-ve,zt.points=[ze(xt,0),ze(yt,0)]):oe.current.tb=!1}var Rt=he(T),Ft=xt[1]===yt[1];if(Rt&&xt[1]==="l"&&(we>Be.right||oe.current.rl)){var Ot=bt;Ft?Ot-=at-qt:Ot=ht.x-jt.x-fe;var Yt=En(Ot,St),pt=En(Ot,St,$e);Yt>tt||Yt===tt&&(!Re||pt>=lt)?(oe.current.rl=!0,bt=Ot,fe=-fe,zt.points=[ze(xt,1),ze(yt,1)]):oe.current.rl=!1}if(Rt&&xt[1]==="r"&&(Ne<Be.left||oe.current.lr)){var dn=bt;Ft?dn+=at-qt:dn=kt.x-$t.x-fe;var rn=En(dn,St),hn=En(dn,St,$e);rn>tt||rn===tt&&(!Re||hn>=lt)?(oe.current.lr=!0,bt=dn,fe=-fe,zt.points=[ze(xt,1),ze(yt,1)]):oe.current.lr=!1}wn();var Gt=te===!0?0:te;typeof Gt=="number"&&(Ne<$e.left&&(bt-=Ne-$e.left-fe,Qt.x+qt<$e.left+Gt&&(bt+=Qt.x-$e.left+qt-Gt)),we>$e.right&&(bt-=we-$e.right-fe,Qt.x>$e.right-Gt&&(bt+=Qt.x-$e.right+Gt)));var tn=ie===!0?0:ie;typeof tn=="number"&&(be<$e.top&&(St-=be-$e.top-ve,Qt.y+nt<$e.top+tn&&(St+=Qt.y-$e.top+nt-tn)),De>$e.bottom&&(St-=De-$e.bottom-ve,Qt.y>$e.bottom-tn&&(St+=Qt.y-$e.bottom+tn)));var pn=Ct.x+bt,an=pn+at,un=Ct.y+St,It=un+Zn,vt=Qt.x,Dt=vt+qt,Xt=Qt.y,cn=Xt+nt,sn=Math.max(pn,vt),ln=Math.min(an,Dt),Un=(sn+ln)/2,Xn=Un-pn,$n=Math.max(un,Xt),or=Math.min(It,cn),ir=($n+or)/2,qn=ir-un;v==null||v(Q,zt);var gn=it.right-Ct.x-(bt+Ct.width),kn=it.bottom-Ct.y-(St+Ct.height);We===1&&(bt=Math.round(bt),gn=Math.round(gn)),Qe===1&&(St=Math.round(St),kn=Math.round(kn));var Gn={ready:!0,offsetX:bt/We,offsetY:St/Qe,offsetR:gn/We,offsetB:kn/Qe,arrowX:Xn/We,arrowY:qn/Qe,scaleX:We,scaleY:Qe,align:zt};V(Gn)}}),Ye=function(){j.current+=1;var Ie=j.current;Promise.resolve().then(function(){j.current===Ie&&Ze()})},Ke=function(){V(function(Ie){return(0,P.Z)((0,P.Z)({},Ie),{},{ready:!1})})};return(0,t.Z)(Ke,[B]),(0,t.Z)(function(){W||Ke()},[W]),[M.ready,M.offsetX,M.offsetY,M.offsetR,M.offsetB,M.arrowX,M.arrowY,M.scaleX,M.scaleY,M.align,Ye]}var Tt=u(94480);function Ee(W,Q,c,B,q){(0,t.Z)(function(){if(W&&Q&&c){let j=function(){B(),q()};var C=Q,v=c,F=x(C),ee=x(v),M=D(v),V=new Set([M].concat((0,Tt.Z)(F),(0,Tt.Z)(ee)));return V.forEach(function(ce){ce.addEventListener("scroll",j,{passive:!0})}),M.addEventListener("resize",j,{passive:!0}),B(),function(){V.forEach(function(ce){ce.removeEventListener("scroll",j),M.removeEventListener("resize",j)})}}},[W,Q,c])}var Je=u(48736);function Le(W,Q,c,B,q,C,v,F){var ee=a.useRef(W);ee.current=W;var M=a.useRef(!1);a.useEffect(function(){if(Q&&B&&(!q||C)){var j=function(){M.current=!1},ce=function(st){var Xe;ee.current&&!v(((Xe=st.composedPath)===null||Xe===void 0||(Xe=Xe.call(st))===null||Xe===void 0?void 0:Xe[0])||st.target)&&!M.current&&F(!1)},oe=D(B);oe.addEventListener("pointerdown",j,!0),oe.addEventListener("mousedown",ce,!0),oe.addEventListener("contextmenu",ce,!0);var Ce=(0,e.A)(c);if(Ce&&(Ce.addEventListener("mousedown",ce,!0),Ce.addEventListener("contextmenu",ce,!0)),0)var Ze,Ye,Ke,Me;return function(){oe.removeEventListener("pointerdown",j,!0),oe.removeEventListener("mousedown",ce,!0),oe.removeEventListener("contextmenu",ce,!0),Ce&&(Ce.removeEventListener("mousedown",ce,!0),Ce.removeEventListener("contextmenu",ce,!0))}}},[Q,c,B,q,C]);function V(){M.current=!0}return V}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 W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y.Z,Q=a.forwardRef(function(c,B){var q=c.prefixCls,C=q===void 0?"rc-trigger-popup":q,v=c.children,F=c.action,ee=F===void 0?"hover":F,M=c.showAction,V=c.hideAction,j=c.popupVisible,ce=c.defaultPopupVisible,oe=c.onPopupVisibleChange,Ce=c.afterPopupVisibleChange,Ze=c.mouseEnterDelay,Ye=c.mouseLeaveDelay,Ke=Ye===void 0?.1:Ye,Me=c.focusDelay,Ie=c.blurDelay,st=c.mask,Xe=c.maskClosable,He=Xe===void 0?!0:Xe,Bt=c.getPopupContainer,Pt=c.forceRender,ke=c.autoDestroy,Ut=c.destroyPopupOnHide,_n=c.popup,Nt=c.popupClassName,dt=c.popupStyle,Kt=c.popupPlacement,fn=c.builtinPlacements,Vt=fn===void 0?{}:fn,_t=c.popupAlign,Qt=c.zIndex,Cn=c.stretch,At=c.getPopupClassNameFromAlign,ct=c.fresh,Ct=c.alignPoint,Kn=c.onPopupClick,mn=c.onPopupAlign,An=c.arrow,Wn=c.popupMotion,vn=c.maskMotion,Nn=c.popupTransitionName,Fn=c.popupAnimation,zn=c.maskTransitionName,Mn=c.maskAnimation,yn=c.className,Zn=c.getTriggerDOMNode,at=(0,K.Z)(c,pe),nt=ke||Ut||!1,qt=a.useState(!1),bn=(0,O.Z)(qt,2),xn=bn[0],J=bn[1];(0,t.Z)(function(){J((0,r.Z)())},[]);var G=a.useRef({}),Fe=a.useContext($),Re=a.useMemo(function(){return{registerSubPopup:function(Wt,Zt){G.current[Wt]=Zt,Fe==null||Fe.registerSubPopup(Wt,Zt)}}},[Fe]),je=(0,d.Z)(),$e=a.useState(null),Ve=(0,O.Z)($e,2),Be=Ve[0],it=Ve[1],We=a.useRef(null),Qe=(0,s.Z)(function(mt){We.current=mt,(0,H.Sh)(mt)&&Be!==mt&&it(mt),Fe==null||Fe.registerSubPopup(je,mt)}),ot=a.useState(null),wt=(0,O.Z)(ot,2),qe=wt[0],X=wt[1],fe=a.useRef(null),ve=(0,s.Z)(function(mt){(0,H.Sh)(mt)&&qe!==mt&&(X(mt),fe.current=mt)}),_e=a.Children.only(v),me=(_e==null?void 0:_e.props)||{},Pe={},Oe=(0,s.Z)(function(mt){var Wt,Zt,Tn=qe;return(Tn==null?void 0:Tn.contains(mt))||((Wt=(0,e.A)(Tn))===null||Wt===void 0?void 0:Wt.host)===mt||mt===Tn||(Be==null?void 0:Be.contains(mt))||((Zt=(0,e.A)(Be))===null||Zt===void 0?void 0:Zt.host)===mt||mt===Be||Object.values(G.current).some(function(Bn){return(Bn==null?void 0:Bn.contains(mt))||mt===Bn})}),et=R(C,Wn,Fn,Nn),ut=R(C,vn,Mn,zn),gt=a.useState(ce||!1),on=(0,O.Z)(gt,2),yt=on[0],xt=on[1],Mt=j!=null?j:yt,Ht=(0,s.Z)(function(mt){j===void 0&&xt(mt)});(0,t.Z)(function(){xt(j||!1)},[j]);var zt=a.useRef(Mt);zt.current=Mt;var bt=a.useRef([]);bt.current=[];var St=(0,s.Z)(function(mt){var Wt;Ht(mt),((Wt=bt.current[bt.current.length-1])!==null&&Wt!==void 0?Wt:Mt)!==mt&&(bt.current.push(mt),oe==null||oe(mt))}),tt=a.useRef(),lt=function(){clearTimeout(tt.current)},ht=function(Wt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;lt(),Zt===0?St(Wt):tt.current=setTimeout(function(){St(Wt)},Zt*1e3)};a.useEffect(function(){return lt},[]);var $t=a.useState(!1),kt=(0,O.Z)($t,2),jt=kt[0],On=kt[1];(0,t.Z)(function(mt){(!mt||Mt)&&On(!0)},[Mt]);var T=a.useState(null),ae=(0,O.Z)(T,2),te=ae[0],ie=ae[1],he=a.useState(null),be=(0,O.Z)(he,2),De=be[0],Ne=be[1],we=function(Wt){Ne([Wt.clientX,Wt.clientY])},ne=Ge(Mt,Be,Ct&&De!==null?De:qe,Kt,Vt,_t,mn),se=(0,O.Z)(ne,11),de=se[0],ge=se[1],Se=se[2],Ue=se[3],ft=se[4],rt=se[5],Rt=se[6],Ft=se[7],Ot=se[8],Yt=se[9],pt=se[10],dn=ye(xn,ee,M,V),rn=(0,O.Z)(dn,2),hn=rn[0],Gt=rn[1],tn=hn.has("click"),pn=Gt.has("click")||Gt.has("contextMenu"),an=(0,s.Z)(function(){jt||pt()}),un=function(){zt.current&&Ct&&pn&&ht(!1)};Ee(Mt,qe,Be,an,un),(0,t.Z)(function(){an()},[De,Kt]),(0,t.Z)(function(){Mt&&!(Vt!=null&&Vt[Kt])&&an()},[JSON.stringify(_t)]);var It=a.useMemo(function(){var mt=w(Vt,C,Yt,Ct);return p()(mt,At==null?void 0:At(Yt))},[Yt,At,Vt,C,Ct]);a.useImperativeHandle(B,function(){return{nativeElement:fe.current,popupElement:We.current,forceAlign:an}});var vt=a.useState(0),Dt=(0,O.Z)(vt,2),Xt=Dt[0],cn=Dt[1],sn=a.useState(0),ln=(0,O.Z)(sn,2),Un=ln[0],Xn=ln[1],$n=function(){if(Cn&&qe){var Wt=qe.getBoundingClientRect();cn(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(){te&&(pt(),te(),ie(null))},[te]);function gn(mt,Wt,Zt,Tn){Pe[mt]=function(Bn){var Hn;Tn==null||Tn(Bn),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=me[mt])===null||Hn===void 0||Hn.call.apply(Hn,[me,Bn].concat(dr))}}(tn||pn)&&(Pe.onClick=function(mt){var Wt;zt.current&&pn?ht(!1):!zt.current&&tn&&(we(mt),ht(!0));for(var Zt=arguments.length,Tn=new Array(Zt>1?Zt-1:0),Bn=1;Bn<Zt;Bn++)Tn[Bn-1]=arguments[Bn];(Wt=me.onClick)===null||Wt===void 0||Wt.call.apply(Wt,[me,mt].concat(Tn))});var kn=Le(Mt,pn,qe,Be,st,He,Oe,ht),Gn=hn.has("hover"),En=Gt.has("hover"),wn,Sn;Gn&&(gn("onMouseEnter",!0,Ze,function(mt){we(mt)}),gn("onPointerEnter",!0,Ze,function(mt){we(mt)}),wn=function(Wt){(Mt||jt)&&Be!==null&&Be!==void 0&&Be.contains(Wt.target)&&ht(!0,Ze)},Ct&&(Pe.onMouseMove=function(mt){var Wt;(Wt=me.onMouseMove)===null||Wt===void 0||Wt.call(me,mt)})),En&&(gn("onMouseLeave",!1,Ke),gn("onPointerLeave",!1,Ke),Sn=function(){ht(!1,Ke)}),hn.has("focus")&&gn("onFocus",!0,Me),Gt.has("focus")&&gn("onBlur",!1,Ie),hn.has("contextMenu")&&(Pe.onContextMenu=function(mt){var Wt;zt.current&&Gt.has("contextMenu")?ht(!1):(we(mt),ht(!0)),mt.preventDefault();for(var Zt=arguments.length,Tn=new Array(Zt>1?Zt-1:0),Bn=1;Bn<Zt;Bn++)Tn[Bn-1]=arguments[Bn];(Wt=me.onContextMenu)===null||Wt===void 0||Wt.call.apply(Wt,[me,mt].concat(Tn))}),yn&&(Pe.className=p()(me.className,yn));var Et=a.useRef(!1);Et.current||(Et.current=Pt||Mt||jt);var Jt=(0,P.Z)((0,P.Z)({},me),Pe),en={},nn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];nn.forEach(function(mt){at[mt]&&(en[mt]=function(){for(var Wt,Zt=arguments.length,Tn=new Array(Zt),Bn=0;Bn<Zt;Bn++)Tn[Bn]=arguments[Bn];(Wt=Jt[mt])===null||Wt===void 0||Wt.call.apply(Wt,[Jt].concat(Tn)),at[mt].apply(at,Tn)})});var Pn=a.cloneElement(_e,(0,P.Z)((0,P.Z)({},Jt),en)),In={x:rt,y:Rt},ar=An?(0,P.Z)({},An!==!0?An:{}):null;return a.createElement(a.Fragment,null,a.createElement(U.Z,{disabled:!Mt,ref:ve,onResize:or},a.createElement(I,{getTriggerDOMNode:Zn},Pn)),Et.current&&a.createElement($.Provider,{value:Re},a.createElement(N,{portal:W,ref:Qe,prefixCls:C,popup:_n,className:p()(Nt,It),style:dt,target:qe,onMouseEnter:wn,onMouseLeave:Sn,onPointerEnter:wn,zIndex:Qt,open:Mt,keepDom:jt,fresh:ct,onClick:Kn,onPointerDownCapture:kn,mask:st,motion:et,maskMotion:ut,onVisibleChanged:ir,onPrepare:qn,forceRender:Pt,autoDestroy:nt,getPopupContainer:Bt,align:Yt,arrow:ar,arrowPos:In,ready:de,offsetX:ge,offsetY:Se,offsetR:Ue,offsetB:ft,onAlign:an,stretch:Cn,targetWidth:Xt/Ft,targetHeight:Un/Ot})))});return Q}var re=ue(Y.Z)},2524:function(Lt,Ae,u){"use strict";var P=u(59301),O=u(93314),K=u(7939),Y=Object.defineProperty,z=Object.defineProperties,p=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,g)=>o in a?Y(a,o,{enumerable:!0,configurable:!0,writable:!0,value:g}):a[o]=g,d=(a,o)=>{for(var g in o||(o={}))H.call(o,g)&&s(a,g,o[g]);if(U)for(var g of U(o))e.call(o,g)&&s(a,g,o[g]);return a},t=(a,o)=>z(a,p(o));const r=({img:a,buttonProps:o={},styles:g={},customText:E,ButtonText:S,ButtonClick:_,Buttonclass:m,ButtonTwo:f,imgStyles:l,loading:N=!1,className:k=""})=>P.createElement("section",{className:`tc animated fadeIn ${k}`,style:d({color:"#999",margin:"100px auto",visibility:N?"hidden":"visible"},g)},P.createElement("img",{src:a||O,style:t(d({},l),{pointerEvents:"none",userSelect:"none"})}),P.createElement("p",{className:"mt20 font14"},E||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),S&&P.createElement(K.ZP,d({className:m,onClick:_},o),S),f&&f);Ae.Z=r},52918:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return m}});var P=u(59301),O={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},K=u(7939),Y=u(70557),z=u(50258),p=u(25399),U=u(65862),H=u(87513),e=u(2524),s=u(74128),d=u(7310),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,E=(f,l,N)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:N}):f[l]=N,S=(f,l)=>{for(var N in l||(l={}))o.call(l,N)&&E(f,N,l[N]);if(a)for(var N of a(l))g.call(l,N)&&E(f,N,l[N]);return f},_=(f,l,N)=>new Promise((k,I)=>{var Z=ye=>{try{L(N.next(ye))}catch(b){I(b)}},$=ye=>{try{L(N.throw(ye))}catch(b){I(b)}},L=ye=>ye.done?k(ye.value):Promise.resolve(ye.value).then(Z,$);L((N=N.apply(f,l)).next())}),m=({editOffice:f="view",data:l,issaver:N,onSaver:k,theme:I,type:Z,filename:$,monacoEditor:L,className:ye,style:b,close:h,onClose:w,hasMask:R,disabledDownload:D,onImgDimensions:x,showNodata:n,recordInfo:i})=>{const[y,A]=(0,P.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[le,xe]=(0,P.useState)(""),[Te,ze]=(0,P.useState)(),Ge=window.ENV==="build"?"/react/build":"",Tt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Je=10*(1024*1024),Le=(0,P.useRef)();l!=null&&l.startsWith("/api")&&Z!=="txt"&&(l=s.Z.API_SERVER+l);const pe=c=>c.substring(c.lastIndexOf("/")+1).split(".").pop();$&&L&&(L.filename=$),(0,P.useEffect)(()=>{var c,B;const q=(B=(c=document.cookie)==null?void 0:c.replace(/\s/g,""))==null?void 0:B.split(";");q==null||q.map(C=>{let v=C.split("=");v[0]==="_educoder_session"&&xe(v[1])})},[]),(0,P.useEffect)(()=>{Z==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?ze({url:l,fileType:pe(l),model:l.indexOf("model=edit")?"edit":"view"}):re())},[Z,l]);function ue(c){return _(this,null,function*(){c.data.type==="pdfdata"&&(k(c.data.data),window.removeEventListener("message",ue,!1)),console.log("mess---:",c.data)})}const re=()=>_(void 0,null,function*(){console.log("data:",l);let c=l;l.startsWith("http")||(c=location.origin+c);let B=new URL(c).pathname.split("/").pop();const q=yield(0,H.gJ)({attachment_id:B});q.url=Tt+q.url,ze(q)}),W=()=>{if(l.startsWith("http")||l.startsWith("blob:")){Q();return}(0,U.Sv)($||"educoder",l,$)},Q=()=>{i&&(0,d.fc)({id:i==null?void 0:i.id,watch_type:1,course_id:i==null?void 0:i.course_id}),(0,U.Nd)($||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:S({},b||{}),className:`${R&&O.bgBlack} ${Z?O.wrp:"hide"}`},h&&t.createElement("div",{className:O.close,ref:Le},!!x&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Le.current},t.createElement("span",{onClick:()=>{w(),x()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!D&&t.createElement(p.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Le.current},t.createElement("span",{onClick:Q},t.createElement("i",{className:"icon-quxiaozhiding"}))),N&&t.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Le.current},t.createElement("span",{className:"",onClick:()=>{const c=document.getElementById("pdfiframe");window.addEventListener("message",ue,!1),setTimeout(()=>{c.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Le.current},t.createElement("span",{className:"",onClick:()=>{w()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${O[ye]} ${ye} ${O.monaco} ${Z==="txt"?"show":"hide"}`},Z==="txt"&&t.createElement(t.Fragment,null,t.createElement(z.ZP,S({},L)))),Z==="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}),Z==="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})),Z==="office"&&Te&&t.createElement("iframe",{src:`${Ge}/office.html?key=${Te.key}&url=${btoa(Te.url)}&callbackUrl=${Tt+(Te.callbackUrl||"")}&fileType=${Te.fileType}&title=${Te.title||""}&model=${f}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!D}`}),Z==="html"&&t.createElement("iframe",{src:l+"&disposition=inline"}),Z==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${Ge}/js/pdf/index.html?filename=${$||"educoder.pdf"}&url=${encodeURIComponent(l)}&disabledDownload=${!!D}&model=${f}`}),Z==="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}`}),(Z==="other"||Z==="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(K.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:W,disabled:D},"\u4E0B\u8F7D")}):t.createElement(K.ZP,{type:"primary",size:"middle",onClick:W,disabled:D},t.createElement(Y.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Z==="flowChart"&&t.createElement("div",{className:"embed"},t.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${l||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},50258:function(Lt,Ae,u){"use strict";u.d(Ae,{SV:function(){return Je},ZP:function(){return Ee}});var P=u(59301),O=u(76374);const K={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"]},z={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(`
`)}]},p={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=(Le,pe,ue)=>new Promise((re,W)=>{var Q=q=>{try{B(ue.next(q))}catch(C){W(C)}},c=q=>{try{B(ue.throw(q))}catch(C){W(C)}},B=q=>q.done?re(q.value):Promise.resolve(q.value).then(Q,c);B((ue=ue.apply(Le,pe)).next())});const d={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=(Le,pe,ue,re)=>{const W=pe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ue.lineNumber,endColumn:ue.column});return Array.from(new Set(W.match(/\b\w{2,}\b/g)||[])).map(c=>({label:c,kind:Le.languages.CompletionItemKind.Text,insertText:c,range:re}))},r=(Le,pe,ue,re)=>{Le.languages.registerCompletionItemProvider(pe,{provideCompletionItems(W,Q){const c=W.getWordUntilPosition(Q),B={startLineNumber:Q.lineNumber,endLineNumber:Q.lineNumber,startColumn:c.startColumn,endColumn:c.endColumn},q=W.getLineContent(Q.lineNumber).substring(c.startColumn-2,c.endColumn);return{suggestions:[...t(Le,W,Q,B),...ue.map(v=>({label:v,kind:Le.languages.CompletionItemKind.Keyword,documentation:v,insertText:v,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:B})),...re.map(v=>({label:v.label,kind:Le.languages.CompletionItemKind.Snippet,documentation:v.content,insertText:q.startsWith("#")?v.content.replace(/#/,""):v.content,insertTextRules:Le.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:B}))]}}})};var a=Le=>{d.languages.forEach(pe=>{Le.languages.registerDocumentFormattingEditProvider(pe,{provideDocumentFormattingEdits(ue){return s(this,null,function*(){const re=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:re}]})}})}),r(Le,"java",Y.keywords,Y.quickKey),r(Le,"cpp",z.keywords,z.quickKey),r(Le,"c",K.keywords,[]),r(Le,"python",p.keywords,p.quickKey),r(Le,"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 g=Object.defineProperty,E=(Le,pe,ue)=>pe in Le?g(Le,pe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Le[pe]=ue,S=(Le,pe,ue)=>E(Le,typeof pe!="symbol"?pe+"":pe,ue);const _=class yi{constructor(pe,ue,re){this.placeholder=pe,this.editor=ue,this.monaco=re,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(_,"ID","editor.widget.placeholderHint");var f=_,l=u(96236),N=u(6767),k=u(25399),I=u(89392),Z=u(77254),$=u(56102),L=Object.defineProperty,ye=Object.defineProperties,b=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,D=(Le,pe,ue)=>pe in Le?L(Le,pe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Le[pe]=ue,x=(Le,pe)=>{for(var ue in pe||(pe={}))w.call(pe,ue)&&D(Le,ue,pe[ue]);if(h)for(var ue of h(pe))R.call(pe,ue)&&D(Le,ue,pe[ue]);return Le},n=(Le,pe)=>ye(Le,b(pe)),i=(Le,pe)=>{var ue={};for(var re in Le)w.call(Le,re)&&pe.indexOf(re)<0&&(ue[re]=Le[re]);if(Le!=null&&h)for(var re of h(Le))pe.indexOf(re)<0&&R.call(Le,re)&&(ue[re]=Le[re]);return ue},y=(Le,pe,ue)=>new Promise((re,W)=>{var Q=q=>{try{B(ue.next(q))}catch(C){W(C)}},c=q=>{try{B(ue.throw(q))}catch(C){W(C)}},B=q=>q.done?re(q.value):Promise.resolve(q.value).then(Q,c);B((ue=ue.apply(Le,pe)).next())});function A(Le){return/^\d+$/.test(Le)?`${Le}px`:Le}function le(){}let xe=!1;const Te={"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 ze(Le=[]){let pe=Le;if(Array.isArray(Le)){for(let ue=0;ue<Le.length;ue++){let re=Te[Le[ue]];if(re)return re}return pe[0]}return Te[pe]||pe}let Ge=null;const Tt=()=>y(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Le){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Le)}});var Ee=Le=>{var pe=Le,{width:ue="100%",height:re="100%",value:W,language:Q="javascript",style:c={},options:B={},overrideServices:q={},theme:C="vs-dark",onEditBlur:v,isCopy:F=!1,onSave:ee,autoHeight:M=!1,forbidCopy:V=!1,onChange:j=le,editorDidMount:ce=le,onFocus:oe=le,onBreakPoint:Ce=le,breakPointValue:Ze=[],filename:Ye="educoder.txt",errorLine:Ke,errorContent:Me="",highlightLine:Ie,openBreakPoint:st=!1,placeholder:Xe="",showMiniMap:He=!0}=pe,Bt=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 Pt=(0,P.useRef)(),ke=(0,P.useRef)({}),Ut=(0,P.useRef)(),_n=(0,P.useRef)(),Nt=(0,P.useRef)([]),dt=(0,P.useRef)(!1),Kt=(0,P.useRef)(),fn=(0,P.useRef)(),Vt=(0,P.useRef)(!1),[_t,Qt]=(0,P.useState)(!1);function Cn(){let at;return Pt.current&&(at=new O.Z(nt=>{for(let qt of nt)(qt.target.offsetHeight>0||qt.target.offsetWidth>0)&&ke.current.instance.layout()}),at.observe(Pt.current)),at}function At(){N.ZP.warning({content:decodeURIComponent(o),key:"monaco-editor-tip"})}const ct=()=>{let at=ke.current.instance;if(W!=null&&at&&_t){const nt=at.getModel();nt&&W!==nt.getValue()&&(xe=!0,nt.setValue(W),at.layout(),xe=!1)}};(0,P.useEffect)(()=>{const at=Z.Z.subscribe("formatDocument",nt=>{var qt;let bn=ke.current.instance;(qt=bn==null?void 0:bn.getAction)==null||qt.call(bn,"editor.action.formatDocument").run()});return window.updateMonacoValue=nt=>{j(nt)},at},[]),(0,P.useEffect)(()=>{var at;let nt=ke.current.instance;_n.current&&clearTimeout(_n.current),_n.current=setTimeout(()=>{ct()},500),W&&(W!=null&&W.length)&&((at=nt==null?void 0:nt.updateOptions)==null||at.call(nt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(W.split(/\r\n|\r|\n/g).length))+3,5)}))},[W,_t,ke.current]),(0,P.useEffect)(()=>{if(Ke&&ke.current&&ke.current.instance){let nt=ke.current.instance;nt.changeViewZones(function(qt){var bn=document.createElement("div");bn.style.padding="10px 20px",bn.style.width="calc(100% - 20px)",bn.className="my-error-line-wrp",bn.innerHTML=Me,qt.addZone({afterLineNumber:Ke||11,heightInLines:3,domNode:bn})});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}};nt.addOverlayWidget(at),nt.revealPositionInCenter({lineNumber:20,column:1})}},[Ke,ke.current,_t]);const Ct=(at="",nt)=>{if(!at||at.trim()==="")return!0;const bn=ke.current.instance.getModel().getLineTokens(nt);let xn=!1;for(let J=0;J<2;J++)bn.getStandardTokenType(J)===1&&(xn=!0);return xn};(0,P.useEffect)(()=>{var at;const nt=(at=ke.current)==null?void 0:at.instance;if(nt&&_t&&V){const qt=nt.onDidBlurEditorWidget(()=>{Vt.current=!1}),bn=nt.onDidFocusEditorText(()=>{Vt.current=!0});return()=>{qt.dispose(),bn.dispose()}}},[ke.current,_t,V]),(0,P.useEffect)(()=>{var at;if((at=ke.current)!=null&&at.instance&&_t&&st){let nt=ke.current.instance,qt=nt.getModel();if(!qt)return;(()=>{var We;let Qe=[],ot=[];const wt=qt.getAllDecorations();for(let X of wt)X.options.className==="highlighted-line"&&(Qe.push((We=X==null?void 0:X.range)==null?void 0:We.startLineNumber),ot.push(X==null?void 0:X.id));if(Ie===Qe[0])return;qt.deltaDecorations(ot,[]);const qe=qt.getLineCount();Ie&&Ie<=qe&&(nt.deltaDecorations([],[{range:new Ge.Range(Ie,1,Ie,qt.getLineMaxColumn(Ie)),options:{isWholeLine:!0,className:"highlighted-line"}}]),nt.revealLineInCenter(Ie))})();const xn=(We=!1)=>{var Qe;let ot=[],wt=[];const qe=qt.getAllDecorations();for(let X of qe)X.options.linesDecorationsClassName==="breakpoints-select"&&(ot.push((Qe=X==null?void 0:X.range)==null?void 0:Qe.startLineNumber),wt.push(X==null?void 0:X.id));if(We)return{lines:ot,ids:wt};Ce(ot)},J=We=>y(void 0,null,function*(){let Qe={range:new Ge.Range(We,1,We,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield qt.deltaDecorations([],[Qe]),xn()}),G=We=>y(void 0,null,function*(){let Qe=[];const ot=nt.getLineDecorations(We);for(let wt of ot)wt.options.linesDecorationsClassName==="breakpoints-select"&&Qe.push(wt.id);yield qt.deltaDecorations(Qe,[]),xn()}),Fe=We=>{let Qe=nt.getLineDecorations(We);for(let ot of Qe)if(ot.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,I.isEqual)(Ze,xn(!0).lines)){qt.deltaDecorations(xn(!0).ids,[]);const We=Ze.map(Qe=>({range:new Ge.Range(Qe,1,Qe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));qt.deltaDecorations([],We)}const Re=nt.onDidChangeModelContent(We=>{let Qe=nt.getPosition();if(Qe){let ot=Qe.lineNumber;clearTimeout(fn.current),fn.current=setTimeout(()=>{Ct(qt.getLineContent(ot),ot)?G(ot):Fe(ot)?(G(ot),J(ot)):xn()},100)}}),je=nt.onMouseDown(We=>{var Qe,ot,wt;if(We.target.detail&&((wt=(ot=(Qe=We.target)==null?void 0:Qe.element)==null?void 0:ot.className)!=null&&wt.includes("line-numbers"))){let qe=We.target.position.lineNumber;if(Ct(qt.getLineContent(qe),qe))return;Fe(qe)?G(qe):J(qe)}}),$e=We=>{let Qe={range:new Ge.Range(We,1,We,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Nt.current=nt.deltaDecorations(Nt.current,[Qe])},Ve=()=>{Nt.current=nt.deltaDecorations(Nt.current,[])},Be=nt.onMouseMove(We=>{var Qe,ot,wt;if(Ve(),We.target.detail&&((wt=(ot=(Qe=We.target)==null?void 0:Qe.element)==null?void 0:ot.className)!=null&&wt.includes("line-numbers"))){let qe=We.target.position.lineNumber;if(Ct(qt.getLineContent(qe),qe))return;$e(qe)}}),it=nt.onMouseLeave(()=>{Ve()});return()=>{Re.dispose(),je.dispose(),Be.dispose(),it.dispose()}}},[ke.current,_t,Ze,Ie,st,Q]),(0,P.useEffect)(()=>{var at;(at=ke.current)!=null&&at.instance&&st&&ke.current.instance.setPosition({lineNumber:0,column:0})},[Ie]);function Kn(){let at=ke.current.instance;if(at){const nt=at.getSelection(),qt=ke.current.pastePos||{},bn=new Ge.Range(qt.startLineNumber||nt.endLineNumber,qt.startColumn||nt.endColumn,qt.endLineNumber||nt.endLineNumber,qt.endColumn||nt.endColumn);setTimeout(()=>{at.executeEdits("",[{range:bn,text:""}])},300)}}function mn(at){(window.navigator.platform.match("Mac")?at.metaKey:at.ctrlKey)&&at.keyCode==83&&(at.preventDefault(),ee())}const An=()=>{if(M&&ke.current.instance){const at=ke.current.instance.getContentHeight();yn(at<re?re:at)}else yn(re)};function Wn(at){var nt=document.createEvent("MouseEvents");nt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),at.dispatchEvent(nt)}const vn=at=>{if(!Vt.current)return;const{keyCode:nt,ctrlKey:qt,metaKey:bn,target:xn,type:J}=at;return(J==="paste"||(nt===67||nt===86)&&(bn||qt))&&xn.nodeName==="TEXTAREA"&&(At(),at.preventDefault()),!1};function Nn(at,nt){var qt=window.URL||window.webkitURL||window,bn=new Blob([nt]),xn=document.createElementNS("http://www.w3.org/1999/xhtml","a");xn.href=qt.createObjectURL(bn),xn.download=at,Wn(xn)}(0,P.useEffect)(()=>{An()},[An]),(0,P.useEffect)(()=>{Pt.current&&!_t&&Promise.all([u.e(8909),u.e(2460)]).then(u.bind(u,71448)).then(at=>{try{Ge=at,ke.current.instance=Ge.editor.create(Pt.current,{value:W,language:ze(Q),theme:C,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:He||!1}},q);const nt=ke.current.instance;let xn=[...l.BH._menuItems].find(Re=>Re[0]._debugName=="EditorContext")[1],J=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],G=(Re,je)=>{var $e,Ve;let Be=Re._first;do je.includes((Ve=($e=Be.element)==null?void 0:$e.command)==null?void 0:Ve.id)&&Re._remove(Be);while(Be=Be.next)};if(ce(nt,Ge),setTimeout(()=>{An(),ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Nn(Ye||"educoder.txt",nt.getValue())}})},500),ke.current.subscription=nt.onDidChangeModelContent(Re=>{dt.current?clearTimeout(Kt.current):(An(),j(nt.getValue(),Re)),Kt.current=setTimeout(()=>{dt.current=!1},500)}),window.Monaco||a(Ge,ze(Q)),V&&(G(xn,J),Pt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",vn),window.removeEventListener("paste",vn),window.addEventListener("keydown",vn),window.addEventListener("paste",vn)),window.Monaco=Ge,v&&nt.onDidBlurEditorWidget(()=>{v(nt.getValue())}),oe&&nt.onDidFocusEditorText(()=>{V&&Tt(),oe(nt.getValue())}),V){Tt();try{nt.onDidPaste(Re=>{const je=nt.getSelection(),$e=ke.current.pastePos||{},Ve=new Ge.Range($e.startLineNumber||je.endLineNumber,$e.startColumn||je.endColumn,$e.endLineNumber||je.endLineNumber,$e.endColumn||je.endColumn);nt.executeEdits("",[{range:Re.range,text:""}])})}catch(Re){}}let Fe=Cn();return Xe&&typeof Xe=="string"&&new f(Xe,nt,Ge),Qt(!0),()=>{const Re=ke.current.instance;Re.dispose();const je=Re.getModel();je&&je.dispose(),ke.current.subscription&&ke.current.subscription.dispose(),Fe.unobserve(Pt.current)}}catch(nt){}})},[]),(0,P.useEffect)(()=>{if(ke.current.instance&&_t)return document.addEventListener("keydown",mn,!1),()=>{document.removeEventListener("keydown",mn)}},[ee,_t]),(0,P.useEffect)(()=>{let at=ke.current.instance;if(at&&_t){let nt=ze(Q);Ge.editor.setModelLanguage(at.getModel(),nt)}},[Q,_t]),(0,P.useEffect)(()=>{ke.current.instance&&_t&&Ge.editor.setTheme(C)},[C,_t]),(0,P.useEffect)(()=>{let at=ke.current.instance;Ut.current=B,at&&_t&&(at.updateOptions(x({},B)),setTimeout(()=>{at.getModel().updateOptions(x({},B))},200))},[JSON.stringify(B),_t]),(0,P.useEffect)(()=>{let at=ke.current.instance;at&&_t&&at.layout()},[ue,re,_t]);const[Fn,zn]=(0,P.useState)(A(ue)),[Mn,yn]=(0,P.useState)(A(re)),Zn=n(x({},c),{width:Fn,height:Mn,position:"relative"});return P.createElement("div",{className:"my-monaco-editor",ref:Pt,style:Zn,onFocus:()=>{V&&Tt()}},F&&P.createElement($.CopyToClipboard,{text:W,onCopy:()=>N.ZP.success("\u590D\u5236\u6210\u529F")},P.createElement(k.Z,{title:"\u590D\u5236\u4EE3\u7801"},P.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},P.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Je({width:Le="100%",height:pe="100%",original:ue,modified:re,language:W,options:Q={}}){const c=(0,P.useRef)(),[B,q]=(0,P.useState)(null);function C(M){let V;return c.current&&(V=new O.Z(j=>{for(let ce of j)(ce.target.offsetHeight>0||ce.target.offsetWidth>0)&&M.layout()}),V.observe(c.current)),V}(0,P.useEffect)(()=>(c.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(M=>{Ge=M;const V=Ge.editor.createDiffEditor(c.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},Q),{wordWrap:!0}));q(V);let j=C(V);return()=>{V.dispose();const ce=V.getModel();ce&&ce.dispose(),j.unobserve(c.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,P.useEffect)(()=>{B&&B.setModel({original:Ge.editor.createModel(ue,W),modified:Ge.editor.createModel(re,W)})},[ue,re,W,B]);const v=A(Le),F=A(pe),ee={width:v,height:F};return P.createElement("div",{className:"my-diff-editor",ref:c,style:ee})}},12810:function(Lt,Ae,u){"use strict";u.r(Ae),u.d(Ae,{default:function(){return $}});var P=u(59301),O={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"},K=u(65582),Y=u(6767),z=u(25399),p=u(62957),U=u(82326),H=u(7939),e=u(54172),s=u(87169),d=u(84454),t=u(38147),r=u(82311),a=u(2001),o=u(52918),g=Object.defineProperty,E=Object.defineProperties,S=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(L,ye,b)=>ye in L?g(L,ye,{enumerable:!0,configurable:!0,writable:!0,value:b}):L[ye]=b,N=(L,ye)=>{for(var b in ye||(ye={}))m.call(ye,b)&&l(L,b,ye[b]);if(_)for(var b of _(ye))f.call(ye,b)&&l(L,b,ye[b]);return L},k=(L,ye)=>E(L,S(ye)),I=(L,ye,b)=>new Promise((h,w)=>{var R=n=>{try{x(b.next(n))}catch(i){w(i)}},D=n=>{try{x(b.throw(n))}catch(i){w(i)}},x=n=>n.done?h(n.value):Promise.resolve(n.value).then(R,D);x((b=b.apply(L,ye)).next())});const Z=({user:L})=>{var ye;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[h,w]=(0,P.useState)(b);const[R,D]=(0,P.useState)(!0),[x,n]=(0,P.useState)([]),[i,y]=(0,P.useState)([]),[A,le]=(0,P.useState)([]),[xe,Te]=(0,P.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}}}),ze=pe=>I(void 0,null,function*(){var ue;D(!0),pe.school_id=(ue=L==null?void 0:L.userInfo)==null?void 0:ue.school_id;let re=yield(0,t.ZP)(`/api/ec_major_schools/${(pe==null?void 0:pe.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:k(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)})});re&&(n(re==null?void 0:re.ec_years),D(!1),h.total=re==null?void 0:re.count,w(N({},h)))});(0,P.useEffect)(()=>{var pe;(pe=L.userInfo)!=null&&pe.school_id&&(Ge(),Tt(),ze(h))},[(ye=L==null?void 0:L.userInfo)==null?void 0:ye.school_id]);function Ge(){return I(this,null,function*(){var pe;let ue=yield(0,t.ZP)(`/api/schools/${(pe=L==null?void 0:L.userInfo)==null?void 0:pe.school_id}/ec_majors/get_major_list.json`,{method:"get"});y(ue==null?void 0:ue.data)})}function Tt(){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 Ee=(pe,ue)=>{h.page=1,h[ue]=typeof pe=="number"?pe:null,w(N({},h)),ze(h)},Je=(pe,ue,re)=>{h.page=pe==null?void 0:pe.current,h.per_page=pe==null?void 0:pe.pageSize,re!=null&&re.order?(h.sort_by=re==null?void 0:re.field,h.sort_direction=(re==null?void 0:re.order)==="ascend"?"asc":"desc"):(h.sort_by=null,h.sort_direction=null),w(N({},h)),ze(h)},Le=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(pe,ue,re)=>h.per_page*(h.page-1)+re+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(pe,ue,re)=>P.createElement(K.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,re)=>P.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(ue==null?void 0:ue.type))xe.editOffice="edit",Te(k(N({},xe),{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,re)=>pe+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(pe,ue,re)=>pe||P.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,re)=>pe||P.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,re)=>pe+"/"+(ue==null?void 0:ue.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(pe,ue,re)=>pe||P.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,re)=>P.createElement(z.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${pe} / \u8BFE\u7A0B\u603B\u6570\uFF1A${ue==null?void 0:ue.course_count}`},P.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,re)=>P.createElement(z.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}`},P.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,re)=>P.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,re)=>P.createElement("div",{style:{display:"flex"}},P.createElement("i",{onClick:()=>I(void 0,null,function*(){K.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"}),P.createElement("i",{onClick:()=>{p.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:P.createElement(s.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>I(void 0,null,function*(){var W;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${pe}`,{method:"delete"}))&&(a.U.clear((W=L==null?void 0:L.userInfo)==null?void 0:W.login),Y.ZP.info("\u5220\u9664\u6210\u529F"),ze(h))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),P.createElement("i",{onClick:()=>I(void 0,null,function*(){var W;(0,d.xm)({ec_year_id:pe,school_id:(W=L==null?void 0:L.userInfo)==null?void 0:W.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return P.createElement("div",{className:O.wrap},P.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),P.createElement("div",{style:{clear:"both"}}),P.createElement("div",{className:O.control},P.createElement("div",{className:O.label},"\u8BA4\u8BC1\u4E13\u4E1A"),P.createElement(U.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:h==null?void 0:h.ec_major_school_id,onChange:pe=>Ee(pe,"ec_major_school_id")},P.createElement(U.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((pe,ue)=>P.createElement(U.default.Option,{value:pe==null?void 0:pe.ec_major_school_id},pe==null?void 0:pe.name))),P.createElement("div",{className:O.label},"\u8BA4\u8BC1\u5C4A\u522B"),P.createElement(U.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:h==null?void 0:h.ec_year_id,onChange:pe=>Ee(pe,"ec_year_id")},P.createElement(U.default.Option,{value:0},"\u5168\u90E8"),A==null?void 0:A.map((pe,ue)=>P.createElement(U.default.Option,{value:pe},pe,"\u5C4A"))),P.createElement("div",{style:{flex:1,textAlign:"end"}},P.createElement(H.ZP,{onClick:()=>{K.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},P.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),P.createElement(e.default,{className:O.customTable,dataSource:x,bordered:!1,rowKey:pe=>pe.id,columns:Le,rowClassName:O.row,loading:R,onChange:Je,pagination:{pageSize:h.per_page,total:h.total,current:h.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:pe=>P.createElement("span",{className:"mr10"},"\u5171",P.createElement("span",{className:"c-orange"},pe),"\u6761\u6570\u636E")}}),P.createElement(o.Z,k(N({},xe),{onClose:()=>{Te(k(N({},xe),{type:""}))}})))};var $=(0,K.connect)(({user:L})=>({user:L}))(Z)},82311:function(Lt,Ae,u){"use strict";u.d(Ae,{p:function(){return Y},v:function(){return U}});var P=u(59301),O={panelTitleContainer:"panelTitleContainer___Ypuh_"},Y=({title:H,style:e={}})=>P.createElement("div",{className:O.panelTitleContainer,style:e},P.createElement("div",null,H)),z={selectWrapContainer:"selectWrapContainer___qocIH"},U=({title:H,children:e})=>P.createElement("div",{className:z.selectWrapContainer},P.createElement("span",null,H),e)},84454:function(Lt,Ae,u){"use strict";u.d(Ae,{AD:function(){return w},BA:function(){return Q},D9:function(){return A},Hp:function(){return N},IM:function(){return xe},Iy:function(){return I},KM:function(){return W},KU:function(){return Tt},MJ:function(){return k},Ne:function(){return le},ON:function(){return Je},Uj:function(){return ue},VY:function(){return Ge},YO:function(){return pe},YX:function(){return Le},Zn:function(){return o},_g:function(){return m},_k:function(){return i},c6:function(){return b},cr:function(){return g},eV:function(){return h},fi:function(){return E},gh:function(){return L},hS:function(){return Te},iA:function(){return S},j6:function(){return f},je:function(){return x},jj:function(){return l},kS:function(){return Ee},lS:function(){return n},o6:function(){return ye},pO:function(){return re},rQ:function(){return R},sA:function(){return $},xm:function(){return y},xo:function(){return ze},y8:function(){return D},yd:function(){return _}});var P=u(33270),O=u(65582),K=u(65862),Y=u(6767),z=u(74128),p=Object.defineProperty,U=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(c,B,q)=>B in c?p(c,B,{enumerable:!0,configurable:!0,writable:!0,value:q}):c[B]=q,d=(c,B)=>{for(var q in B||(B={}))H.call(B,q)&&s(c,q,B[q]);if(U)for(var q of U(B))e.call(B,q)&&s(c,q,B[q]);return c},t=(c,B,q)=>new Promise((C,v)=>{var F=V=>{try{M(q.next(V))}catch(j){v(j)}},ee=V=>{try{M(q.throw(V))}catch(j){v(j)}},M=V=>V.done?C(V.value):Promise.resolve(V.value).then(F,ee);M((q=q.apply(c,B)).next())});const r=()=>{(0,O.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},a=()=>{(0,O.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=c=>t(void 0,null,function*(){r(),(yield(0,P.YR)(d({},c))).status===0&&(yield(0,K.QH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c.coursesId}/export_couser_info.json`,query:c}))),a()}),g=c=>t(void 0,null,function*(){const B=yield(0,P.yS)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_member_act_score`);else{if(B.status===-2)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_member_act_score`))}}),E=c=>t(void 0,null,function*(){const B=yield(0,P.W0)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_score`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_score`))}}),S=c=>t(void 0,null,function*(){const B=yield(0,P.Nl)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`))}}),_=c=>t(void 0,null,function*(){const B=yield(0,P.IU)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/export_star_user`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/export_star_user`))}}),m=c=>t(void 0,null,function*(){const B=yield(0,P.td)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else{if(B.status===-2)return B;if(B.status===-3)(0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else if(B.status===-4)return B}}),f=c=>t(void 0,null,function*(){const B=yield(0,P.QX)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_homework`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_homework`))}}),l=(c,B)=>t(void 0,null,function*(){const q=yield(0,P.o_)(d({},c));q.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"),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),N=(c,B)=>t(void 0,null,function*(){const q=yield(0,P.ZL)(d({},c));q.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"),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),k=(c,B)=>t(void 0,null,function*(){const q=yield(0,P.vV)(d({},c));q.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"),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),I=(c,B)=>t(void 0,null,function*(){const q=yield(0,P.aP)(d({},c));q.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),Z=c=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(d({},c))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${c.categoryId}/works_list.zip`,query:c}))),a()}),$=c=>t(void 0,null,function*(){r(),yield(0,K.FH)("",z.Z.API_SERVER+`/api/polls/${c.categoryId}/commit_result.xlsx`),a()}),L=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c.coursesId}/attendances/export_xlsx_data.xlsx`,query:c}))}),ye=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c.coursesId}/video_study_statics.xlsx`,query:c}))}),b=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c.coursesId}/export_video_study.xlsx`,query:c}))}),h=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c.coursesId}/export_course_students_info.xlsx`,query:c}))}),w=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/school_manages/students.xlsx",query:c}))}),R=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/item_banks/export.xlsx",query:c}))}),D=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:c}))}),x=c=>t(void 0,null,function*(){const B=yield(0,P.Uy)(d({},c));B.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_users`)):B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=c=>t(void 0,null,function*(){const B=yield(0,P.tg)(d({},c));B.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_report`)):B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_report`))}),i=c=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/export_records/${c.id}.xlsx`,query:c}))}),y=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:c}))}),A=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c==null?void 0:c.coursesId}/${c.menuKey}_statistic.xlsx?${c.checkedList.map(B=>`course_group_id[]=${B}`).join("&")}`,query:c}))}),le=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_training_objectives.xlsx`,query:c}))}),xe=c=>t(void 0,null,function*(){yield(0,K.FH)(c==null?void 0:c.name,(0,K.NY)({url:z.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:c}))}),Te=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_courses.xlsx`,query:c}))}),ze=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_graduation_requirements.xlsx`,query:c}))}),Ge=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:c}))}),Tt=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/exercises/${c.categoryId}/rank_list.xlsx`,query:c}))}),Ee=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:c}))}),Je=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/examination_banks/${c.id}.json`,query:c}))}),Le=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/exercises/${c.categoryId}.json`,query:c}))}),pe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/polls/${c==null?void 0:c.id}/commit_result.json`,query:c}))}),ue=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+"/api/paths/get_task_pass.json",query:c}))}),re=(c,B)=>t(void 0,null,function*(){yield(0,K.FH)(B||"",(0,K.NY)({url:z.Z.API_SERVER+`/api/exercises/${c==null?void 0:c.exercise_id}/consult_exercise.json`,query:c}))}),W=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/competitions/${c==null?void 0:c.identifier}/competition_commit_records/member_works.xlsx`,query:c}))}),Q=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:z.Z.API_SERVER+`/api/courses/${c==null?void 0:c.coursesId}/group_homeworks/import_group_template.xlsx`,query:c}))})},25769:function(Lt,Ae,u){"use strict";var P=u(98040),O={"text/plain":"Text","text/html":"Url",default:"Text"},K="Copy to clipboard: #{key}, Enter";function Y(p){var U=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,U)}function z(p,U){var H,e,s,d,t,r,a=!1;U||(U={}),H=U.debug||!1;try{s=P(),d=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=p,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(g){if(g.stopPropagation(),U.format)if(g.preventDefault(),typeof g.clipboardData=="undefined"){H&&console.warn("unable to use e.clipboardData"),H&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var E=O[U.format]||O.default;window.clipboardData.setData(E,p)}else g.clipboardData.clearData(),g.clipboardData.setData(U.format,p);U.onCopy&&(g.preventDefault(),U.onCopy(g.clipboardData))}),document.body.appendChild(r),d.selectNodeContents(r),t.addRange(d);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");a=!0}catch(g){H&&console.error("unable to copy using execCommand: ",g),H&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(U.format||"text",p),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:K),window.prompt(e,p)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(d):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}Lt.exports=z},53184:function(Lt,Ae,u){"use strict";var P,O;function K(Y,z,p){var U=function(H,e){return Y.js_beautify(H,e)};return U.js=Y.js_beautify,U.css=z.css_beautify,U.html=p.html_beautify,U.js_beautify=Y.js_beautify,U.css_beautify=z.css_beautify,U.html_beautify=p.html_beautify,U}P=[u(58553),u(87804),u(40998)],O=function(Y,z,p){return K(Y,z,p)}.apply(Ae,P),O!==void 0&&(Lt.exports=O)},87804:function(Lt,Ae){var u,P;(function(){var O;(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 d(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()}d.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},d.prototype.get_line_number=function(){return this.__lines.length},d.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},d.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},d.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},d.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},d.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},d.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},d.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)},d.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},d.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()},d.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(" "))},d.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()},d.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},d.prototype.just_added_newline=function(){return this.current_line.is_empty()},d.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},d.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=d},,,,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=d(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 d(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=d,H.exports.mergeOpts=s},,function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(d){this.__input=d||"",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 d=null;return this.hasNext()&&(d=this.__input.charAt(this.__position),this.__position+=1),d},s.prototype.peek=function(d){var t=null;return d=d||0,d+=this.__position,d>=0&&d<this.__input_length&&(t=this.__input.charAt(d)),t},s.prototype.__match=function(d,t){d.lastIndex=t;var r=d.exec(this.__input);return r&&!(e&&d.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(d,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(d,t):!1},s.prototype.testChar=function(d,t){var r=this.peek(t);return d.lastIndex=0,r!==null&&d.test(r)},s.prototype.match=function(d){var t=this.__match(d,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(d,t,r){var a="",o;return d&&(o=this.match(d),o&&(a+=o[0])),t&&(o||!d)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(d,t){var r="",a=this.__position;d.lastIndex=this.__position;var o=d.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(d){return this.readUntil(d,!0)},s.prototype.get_regexp=function(d,t){var r=null,a="g";return t&&e&&(a="y"),typeof d=="string"&&d!==""?r=new RegExp(d,a):d&&(r=new RegExp(d.source,a)),r},s.prototype.get_literal_regexp=function(d){return RegExp(d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(d){var t=this.__position,r=this.readUntilAfter(d);return this.__position=t,r},s.prototype.lookBack=function(d){var t=this.__position-1;return t>=d.length&&this.__input.substring(t-d.length,t).toLowerCase()===d},H.exports.InputScanner=s},,,,,function(H){function e(s,d){s=typeof s=="string"?s:s.source,d=typeof d=="string"?d:d.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+d,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+d,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var d={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)d[t[1]]=t[2],t=this.__directive_pattern.exec(s);return d},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},,function(H,e,s){var d=s(16).Beautifier,t=s(17).Options;function r(a,o){var g=new d(a,o);return g.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var d=s(17).Options,t=s(2).Output,r=s(8).InputScanner,a=s(13).Directives,o=new a(/\/\*/,/\*\//),g=/\r\n|[\r\n]/,E=/\r\n|[\r\n]/g,S=/\s/,_=/(?:\s|\n)+/g,m=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(N,k){this._source_text=N||"",this._options=new d(k),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 k="";for(this._ch=this._input.next();this._ch;){if(k+=this._ch,this._ch==="\\")k+=this._input.next();else if(N.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return k},l.prototype.eatWhitespace=function(N){for(var k=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 k},l.prototype.foundNestedPseudoClass=function(){for(var N=0,k=1,I=this._input.peek(k);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;k++,I=this._input.peek(k)}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,k=this._options.eol;k==="auto"&&(k=`
`,N&&g.test(N||"")&&(k=N.match(g)[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 Z=0,$=!1,L=!1,ye=!1,b=!1,h=!1,w=this._ch,R=!1,D,x,n;D=this._input.read(_),x=D!=="",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(m),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(f)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(x),this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s+$/,""),this.print_string(A),this._output.space_before_token=!0),Z===0&&A.indexOf(":")!==-1&&(L=!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),Z===0&&le.indexOf(":")!==-1?(L=!0,this.indent()):le in this.NESTED_AT_RULE?(this._nestedLevel+=1,le in this.CONDITIONAL_GROUP_RULE&&(ye=!0)):Z===0&&!L&&(b=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(x),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")L&&(L=!1,this.outdent()),b=!1,ye?(ye=!1,$=this._indentLevel>=this._nestedLevel):$=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&$&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),L&&(this.outdent(),L=!1),this.print_string(this._ch),$=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var xe=0;xe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;xe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[xe])){R=!0;break}($||ye)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!b&&Z===0?(this.print_string(":"),L||(L=!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 Te=n==='"'||n==="'";this.preserveSingleSpace(Te||x),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")R=!1,Z===0?(L&&(this.outdent(),L=!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(),Z++,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(")")),Z&&(Z--,this.outdent()));else{var ze=!1;this._input.lookBack("with")&&(ze=!0),this.preserveSingleSpace(x||ze),this.print_string(this._ch),L&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),h=!0):(this.eatWhitespace(),Z++,this.indent())}else if(this._ch===")")Z&&(Z--,this.outdent()),h&&this._input.peek()===";"&&this._options.selector_separator_newline&&(h=!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&&(!L||h)&&Z===0&&!b?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!L&&Z===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 Ge=n==='"'||n==="'";this.preserveSingleSpace(Ge||x),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&R&&this._output.add_new_line()}var Tt=this._output.get_code(k);return Tt},H.exports.Beautifier=l},function(H,e,s){var d=s(6).Options;function t(r){d.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 g=0;g<o.length;g++)o[g]!=="expand"?this.brace_style="collapse":this.brace_style=o[g]}t.prototype=new d,H.exports.Options=t}],z={};function p(H){var e=z[H];if(e!==void 0)return e.exports;var s=z[H]={exports:{}};return Y[H](s,s.exports,p),s.exports}var U=p(15);O=U})();var K=O;u=[],P=function(){return{css_beautify:K}}.apply(Ae,u),P!==void 0&&(Lt.exports=P)})()},40998:function(Lt,Ae,u){var P,O;(function(){var K;(function(){"use strict";var U=[,,function(d){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 g=this.__items.length-1;g>=0;g--)if(this.__items[g].match(o))return!0;return!1},t.prototype.set_indent=function(o,g){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=g||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 g=o.lastIndexOf(`
`);g!==-1?this.__character_count=o.length-g: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,g){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)),g=g||"",o.indent_level>0&&(g=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=g,this.__base_string_length=g.length}r.prototype.get_indent_size=function(o,g){var E=this.__base_string_length;return g=g||0,o<0&&(E=0),E+=o*this.__indent_size,E+=g,E},r.prototype.get_indent_string=function(o,g){var E=this.__base_string;return g=g||0,o<0&&(o=0,E=""),g+=o*this.__indent_size,this.__ensure_cache(g),E+=this.__cache[g],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,g=0,E="";this.__indent_size&&o>=this.__indent_size&&(g=Math.floor(o/this.__indent_size),o-=g*this.__indent_size,E=new Array(g+1).join(this.__indent_string)),o&&(E+=new Array(o+1).join(" ")),this.__cache.push(E)};function a(o,g){this.__indent_cache=new r(o,g),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,g){return this.__indent_cache.get_indent_string(o,g)},a.prototype.get_indent_size=function(o,g){return this.__indent_cache.get_indent_size(o,g)},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 g=this.current_line.pop();g&&(g[g.length-1]===`
`&&(g=g.replace(/\n+$/g,"")),this.current_line.push(g)),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,g){return o=o||0,g=g||0,this.next_line.set_indent(o,g),this.__lines.length>1?(this.current_line.set_indent(o,g),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(o){for(var g=0;g<o.newlines;g++)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 g=this.__lines.length;o<g;)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,g){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)!==g){this.__lines.splice(E+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}E--}},d.exports.Output=a},function(d){function t(r,a,o,g){this.type=r,this.text=a,this.comments_before=null,this.newlines=o||0,this.whitespace_before=g||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}d.exports.Token=t},,,function(d){function t(o,g){this.raw_options=r(o,g),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,g){var E=this.raw_options[o],S=g||[];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,g){var E=this.raw_options[o],S=E===void 0?!!g:!!E;return S},t.prototype._get_characters=function(o,g){var E=this.raw_options[o],S=g||"";return typeof E=="string"&&(S=E.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},t.prototype._get_number=function(o,g){var E=this.raw_options[o];g=parseInt(g,10),isNaN(g)&&(g=0);var S=parseInt(E,10);return isNaN(S)&&(S=g),S},t.prototype._get_selection=function(o,g,E){var S=this._get_selection_list(o,g,E);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+g+`
You passed in: '`+this.raw_options[o]+"'");return S[0]},t.prototype._get_selection_list=function(o,g,E){if(!g||g.length===0)throw new Error("Selection list cannot be empty.");if(E=E||[g[0]],!this._is_valid_selection(E,g))throw new Error("Invalid Default Value!");var S=this._get_array(o,E);if(!this._is_valid_selection(S,g))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+g+`
You passed in: '`+this.raw_options[o]+"'");return S},t.prototype._is_valid_selection=function(o,g){return o.length&&g.length&&!o.some(function(E){return g.indexOf(E)===-1})};function r(o,g){var E={};o=a(o);var S;for(S in o)S!==g&&(E[S]=o[S]);if(g&&o[g])for(S in o[g])E[S]=o[g][S];return E}function a(o){var g={},E;for(E in o){var S=E.replace(/-/g,"_");g[S]=o[E]}return g}d.exports.Options=t,d.exports.normalizeOpts=a,d.exports.mergeOpts=r},,function(d){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 g=a.exec(this.__input);return g&&!(t&&a.sticky)&&g.index!==o&&(g=null),g},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 g=this.peek(o);return a.lastIndex=0,g!==null&&a.test(g)},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,g){var E="",S;return a&&(S=this.match(a),S&&(E+=S[0])),o&&(S||!a)&&(E+=this.readUntil(o,g)),E},r.prototype.readUntil=function(a,o){var g="",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,g=this.__input.substring(this.__position,E),this.__position=E,g},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var g=null,E="g";return o&&t&&(E="y"),typeof a=="string"&&a!==""?g=new RegExp(a,E):a&&(g=new RegExp(a.source,E)),g},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,g=this.readUntilAfter(a);return this.__position=o,g},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},d.exports.InputScanner=r},function(d,t,r){var a=r(8).InputScanner,o=r(3).Token,g=r(10).TokenStream,E=r(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},_=function(m,f){this._input=new a(m),this._options=f||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new E(this._input)};_.prototype.tokenize=function(){this._input.restart(),this.__tokens=new g,this._reset();for(var m,f=new o(S.START,""),l=null,N=[],k=new g;f.type!==S.EOF;){for(m=this._get_next_token(f,l);this._is_comment(m);)k.add(m),m=this._get_next_token(f,l);k.isEmpty()||(m.comments_before=k,k=new g),m.parent=l,this._is_opening(m)?(N.push(l),l=m):l&&this._is_closing(m,l)&&(m.opened=l,l.closed=m,l=N.pop(),m.parent=l),m.previous=f,f.next=m,this.__tokens.add(m),f=m}return this.__tokens},_.prototype._is_first_token=function(){return this.__tokens.isEmpty()},_.prototype._reset=function(){},_.prototype._get_next_token=function(m,f){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(S.RAW,l):this._create_token(S.EOF,"")},_.prototype._is_comment=function(m){return!1},_.prototype._is_opening=function(m){return!1},_.prototype._is_closing=function(m,f){return!1},_.prototype._create_token=function(m,f){var l=new o(m,f,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},_.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},d.exports.Tokenizer=_,d.exports.TOKEN=S},function(d){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},d.exports.TokenStream=t},function(d,t,r){var a=r(12).Pattern;function o(g,E){a.call(this,g,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(g,E){g+="\\t ",E+="\\n\\r",this._match_pattern=this._input.get_regexp("["+g+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 g=this._input.read(this._match_pattern);if(g===" ")this.whitespace_before_token=" ";else if(g){var E=this.__split(this._newline_regexp,g);this.newline_count=E.length-1,this.whitespace_before_token=E[this.newline_count]}return g},o.prototype.matching=function(g,E){var S=this._create();return S.__set_whitespace_patterns(g,E),S._update(),S},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(g,E){g.lastIndex=0;for(var S=0,_=[],m=g.exec(E);m;)_.push(E.substring(S,m.index)),S=m.index+m[0].length,m=g.exec(E);return S<E.length?_.push(E.substring(S,E.length)):_.push(""),_},d.exports.WhitespacePattern=o},function(d){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(){},d.exports.Pattern=t},function(d){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)},d.exports.Directives=t},function(d,t,r){var a=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function g(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 _=new a(E);this.__patterns={handlebars_comment:_.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:_.starting_with(/{{{/).until_after(/}}}/),handlebars:_.starting_with(/{{/).until_after(/}}/),php:_.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:_.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:_.starting_with(/{%/).until_after(/%}/),django_value:_.starting_with(/{{/).until_after(/}}/),django_comment:_.starting_with(/{#/).until_after(/#}/),smarty:_.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:_.starting_with(/{\*/).until_after(/\*}/),smarty_literal:_.starting_with(/{literal}/).until_after(/{\/literal}/)}}g.prototype=new a,g.prototype._create=function(){return new g(this._input,this)},g.prototype._update=function(){this.__set_templated_pattern()},g.prototype.disable=function(E){var S=this._create();return S._disabled[E]=!0,S._update(),S},g.prototype.read_options=function(E){var S=this._create();for(var _ in o)S._disabled[_]=E.templating.indexOf(_)===-1;return S._update(),S},g.prototype.exclude=function(E){var S=this._create();return S._excluded[E]=!0,S._update(),S},g.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},g.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("|")+")")},g.prototype._read_template=function(){var E="",S=this._input.peek();if(S==="<"){var _=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&_==="?"&&(E=E||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&_==="%"&&(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},d.exports.TemplatablePattern=g},,,,function(d,t,r){var a=r(19).Beautifier,o=r(20).Options;function g(E,S,_,m){var f=new a(E,S,_,m);return f.beautify()}d.exports=g,d.exports.defaultOptions=function(){return new o}},function(d,t,r){var a=r(20).Options,o=r(2).Output,g=r(21).Tokenizer,E=r(21).TOKEN,S=/\r\n|[\r\n]/,_=/\r\n|[\r\n]/g,m=function(b,h){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,h)};m.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},m.prototype.set_space_before_token=function(b,h){this._output.space_before_token=b,this._output.non_breaking_space=h},m.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},m.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},m.prototype.print_preserved_newlines=function(b){var h=0;b.type!==E.TEXT&&b.previous.type!==E.TEXT&&(h=b.newlines?1:0),this.preserve_newlines&&(h=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var w=0;w<h;w++)this.print_newline(w>0);return h!==0},m.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},m.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},m.prototype.print_newline=function(b){this._output.add_new_line(b)},m.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},m.prototype.indent=function(){this.indent_level++},m.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},m.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var f=function(b){for(var h=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&&(h=w.next.next.text);break}w=w.next}return h},l=function(b,h){var w=null,R=null;return h.closed?(b==="script"?w="text/javascript":b==="style"&&(w="text/css"),w=f(h)||w,w.search("text/css")>-1?R="css":w.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?R="javascript":w.search(/(text|application|dojo)\/(x-)?(html)/)>-1?R="html":w.search(/test\/null/)>-1&&(R="null"),R):null};function N(b,h){return h.indexOf(b)!==-1}function k(b,h,w){this.parent=b||null,this.tag=h?h.tag_name:"",this.indent_level=w||0,this.parser_token=h||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 h=new k(this._current_frame,b,this._printer.indent_level);this._current_frame=h},I.prototype._try_pop_frame=function(b){var h=null;return b&&(h=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),h},I.prototype._get_frame=function(b,h){for(var w=this._current_frame;w&&b.indexOf(w.tag)===-1;){if(h&&h.indexOf(w.tag)!==-1){w=null;break}w=w.parent}return w},I.prototype.try_pop=function(b,h){var w=this._get_frame([b],h);return this._try_pop_frame(w)},I.prototype.indent_to_tag=function(b){var h=this._get_frame(b);h&&(this._printer.indent_level=h.indent_level)};function Z(b,h,w,R){this._source_text=b||"",h=h||{},this._js_beautify=w,this._css_beautify=R,this._tag_stack=null;var D=new a(h,"html");this._options=D,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"}Z.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,h=this._options.eol;this._options.eol==="auto"&&(h=`
`,b&&S.test(b)&&(h=b.match(S)[0])),b=b.replace(_,`
`);var w=b.match(/^[\t ]*/)[0],R={text:"",type:""},D=new $(this._options),x=new m(this._options,w),n=new g(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,D,R,n),D=i):y.type===E.ATTRIBUTE||y.type===E.EQUALS||y.type===E.VALUE||y.type===E.TEXT&&!D.tag_complete?i=this._handle_inside_tag(x,y,D,R):y.type===E.TAG_CLOSE?i=this._handle_tag_close(x,y,D):y.type===E.TEXT?i=this._handle_text(x,y,D):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),R=i,y=n.next();var A=x._output.get_code(h);return A},Z.prototype._handle_control_flow_open=function(b,h){var w={text:h.text,type:h.type};return b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines?b.print_preserved_newlines(h):b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),b.print_token(h),b.indent(),w},Z.prototype._handle_control_flow_close=function(b,h){var w={text:h.text,type:h.type};return b.deindent(),h.newlines?b.print_preserved_newlines(h):b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),b.print_token(h),w},Z.prototype._handle_tag_close=function(b,h,w){var R={text:h.text,type:h.type};return b.alignment_size=0,w.tag_complete=!0,b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),w.is_unformatted?b.add_raw_token(h):(w.tag_start_char==="<"&&(b.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&w.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(h)),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(),R},Z.prototype._handle_inside_tag=function(b,h,w,R){var D=w.has_wrapped_attrs,x={text:h.text,type:h.type};return b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),w.is_unformatted?b.add_raw_token(h):w.tag_start_char==="{"&&h.type===E.TEXT?b.print_preserved_newlines(h)?(h.newlines=0,b.add_raw_token(h)):b.print_token(h):(h.type===E.ATTRIBUTE?b.set_space_before_token(!0):(h.type===E.EQUALS||h.type===E.VALUE&&h.previous.type===E.EQUALS)&&b.set_space_before_token(!1),h.type===E.ATTRIBUTE&&w.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(h),D=D||h.newlines!==0),this._is_wrap_attributes_force&&w.attr_count>=this._options.wrap_attributes_min_attrs&&(R.type!==E.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),D=!0)),b.print_token(h),D=D||b.previous_token_wrapped(),w.has_wrapped_attrs=D),x},Z.prototype._handle_text=function(b,h,w){var R={text:h.text,type:"TK_CONTENT"};return w.custom_beautifier_name?this._print_custom_beatifier_text(b,h,w):w.is_unformatted||w.is_content_unformatted?b.add_raw_token(h):(b.traverse_whitespace(h),b.print_token(h)),R},Z.prototype._print_custom_beatifier_text=function(b,h,w){var R=this;if(h.text!==""){var D=h.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(Ge,Tt){var Ee=new Z(Ge,Tt,R._js_beautify,R._css_beautify);return Ee.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-b.indent_level);var A=b.get_full_indent(n);if(D=D.replace(/\n[ \t]*$/,""),w.custom_beautifier_name!=="html"&&D[0]==="<"&&D.match(/^(<!--|<!\[CDATA\[)/)){var le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(D);if(!le){b.add_raw_token(h);return}i=A+le[1]+`
`,D=le[4],le[5]&&(y=A+le[5]),D=D.replace(/\n[ \t]*$/,""),(le[2]||le[3].indexOf(`
`)!==-1)&&(le=le[3].match(/[ \t]+$/),le&&(h.whitespace_before=le[0]))}if(D)if(x){var xe=function(){this.eol=`
`};xe.prototype=this._options.raw_options;var Te=new xe;D=x(A+D,Te)}else{var ze=h.whitespace_before;ze&&(D=D.replace(new RegExp(`
(`+ze+")?","g"),`
`)),D=A+D.replace(/\n/g,`
`+A)}i&&(D?D=i+D+`
`+y:D=i+y),b.print_newline(!1),D&&(h.text=D,h.whitespace_before="",h.newlines=0,b.add_raw_token(h),b.print_newline(!0))}},Z.prototype._handle_tag_open=function(b,h,w,R,D){var x=this._get_tag_open_token(h);if((w.is_unformatted||w.is_content_unformatted)&&!w.is_empty_element&&h.type===E.TAG_OPEN&&!x.is_start_tag?(b.add_raw_token(h),x.start_tag_token=this._tag_stack.try_pop(x.tag_name)):(b.traverse_whitespace(h),this._set_tag_position(b,h,x,w,R),x.is_inline_element||b.set_wrap_point(),b.print_token(h)),x.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=D.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=h.text.length+1),!x.tag_complete&&!x.is_unformatted&&(b.alignment_size=x.alignment_size),x};var $=function(b,h,w){if(this.parent=h||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 R;this.tag_start_char=w.text[0],this.text=w.text,this.tag_start_char==="<"?(R=w.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:""):(R=w.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[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 D=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(D=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!b.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(D)))}};Z.prototype._get_tag_open_token=function(b){var h=new $(this._options,this._tag_stack.get_parser_token(),b);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||N(h.tag_check,this._options.void_elements),h.is_empty_element=h.tag_complete||h.is_start_tag&&h.is_end_tag,h.is_unformatted=!h.tag_complete&&N(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&N(h.tag_check,this._options.content_unformatted),h.is_inline_element=N(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h},Z.prototype._set_tag_position=function(b,h,w,R,D){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,h)))),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==="!--"&&D.type===E.TAG_CLOSE&&R.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&&!(R.is_inline_element||R.is_unformatted)&&!(D.type===E.TAG_CLOSE&&w.start_tag_token===R)&&D.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)&&(D.type!=="TK_CONTENT"||w.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,w)},Z.prototype._calcluate_parent_multiline=function(b,h){h.parent&&b._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element)&&(h.parent.multiline_content=!0)};var L=["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"],ye=["a","audio","del","ins","map","noscript","video"];Z.prototype._do_optional_end_element=function(b){var h=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(b.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&L.indexOf(b.tag_name)!==-1){var w=b.parent.parent;(!w||ye.indexOf(w.tag_name)===-1)&&(h=h||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?h=h||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?h=h||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("thead",["table"]),h=h||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(h=h||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),h=h||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),h}},d.exports.Beautifier=Z},function(d,t,r){var a=r(6).Options;function o(g){a.call(this,g,"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,d.exports.Options=o},function(d,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,g=r(13).Directives,E=r(14).TemplatablePattern,S=r(12).Pattern,_={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},m=new g(/<\!--/,/-->/),f=function(l,N){a.call(this,l,N),this._current_tag_name="";var k=new E(this._input).read_options(this._options),I=new S(this._input);if(this.__patterns={word:k.until(/[\n\r\t <]/),word_control_flow_close_excluded:k.until(/[\n\r\t <}]/),single_quote:k.until_after(/'/),double_quote:k.until_after(/"/),attribute:k.until(/[\n\r\t =>]|\/>/),element_name:k.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 Z=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=I.matching(Z).until_after(Z)}};f.prototype=new a,f.prototype._is_comment=function(l){return!1},f.prototype._is_opening=function(l){return l.type===_.TAG_OPEN||l.type===_.CONTROL_FLOW_OPEN},f.prototype._is_closing=function(l,N){return l.type===_.TAG_CLOSE&&N&&((l.text===">"||l.text==="/>")&&N.text[0]==="<"||l.text==="}}"&&N.text[0]==="{"&&N.text[1]==="{")||l.type===_.CONTROL_FLOW_CLOSE&&l.text==="}"&&N.text.endsWith("{")},f.prototype._reset=function(){this._current_tag_name=""},f.prototype._get_next_token=function(l,N){var k=null;this._readWhitespace();var I=this._input.peek();return I===null?this._create_token(_.EOF,""):(k=k||this._read_open_handlebars(I,N),k=k||this._read_attribute(I,l,N),k=k||this._read_close(I,N),k=k||this._read_script_and_style(I,l),k=k||this._read_control_flows(I,N),k=k||this._read_raw_content(I,l,N),k=k||this._read_content_word(I,N),k=k||this._read_comment_or_cdata(I),k=k||this._read_processing(I),k=k||this._read_open(I,N),k=k||this._create_token(_.UNKNOWN,this._input.next()),k)},f.prototype._read_comment_or_cdata=function(l){var N=null,k=null,I=null;if(l==="<"){var Z=this._input.peek(1);Z==="!"&&(k=this.__patterns.comment.read(),k?(I=m.get_directives(k),I&&I.ignore==="start"&&(k+=m.readIgnored(this._input))):k=this.__patterns.cdata.read()),k&&(N=this._create_token(_.COMMENT,k),N.directives=I)}return N},f.prototype._read_processing=function(l){var N=null,k=null,I=null;if(l==="<"){var Z=this._input.peek(1);(Z==="!"||Z==="?")&&(k=this.__patterns.conditional_comment.read(),k=k||this.__patterns.processing.read()),k&&(N=this._create_token(_.COMMENT,k),N.directives=I)}return N},f.prototype._read_open=function(l,N){var k=null,I=null;return(!N||N.type===_.CONTROL_FLOW_OPEN)&&l==="<"&&(k=this._input.next(),this._input.peek()==="/"&&(k+=this._input.next()),k+=this.__patterns.element_name.read(),I=this._create_token(_.TAG_OPEN,k)),I},f.prototype._read_open_handlebars=function(l,N){var k=null,I=null;return(!N||N.type===_.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)==="!"?(k=this.__patterns.handlebars_comment.read(),k=k||this.__patterns.handlebars.read(),I=this._create_token(_.COMMENT,k)):(k=this.__patterns.handlebars_open.read(),I=this._create_token(_.TAG_OPEN,k))),I},f.prototype._read_control_flows=function(l,N){var k="",I=null;if(!this._options.templating.includes("angular"))return I;if(l==="@"){if(k=this.__patterns.angular_control_flow_start.read(),k==="")return I;for(var Z=k.endsWith("(")?1:0,$=0;!(k.endsWith("{")&&Z===$);){var L=this._input.next();if(L===null)break;L==="("?Z++:L===")"&&$++,k+=L}I=this._create_token(_.CONTROL_FLOW_OPEN,k)}else l==="}"&&N&&N.type===_.CONTROL_FLOW_OPEN&&(k=this._input.next(),I=this._create_token(_.CONTROL_FLOW_CLOSE,k));return I},f.prototype._read_close=function(l,N){var k=null,I=null;return N&&N.type===_.TAG_OPEN&&(N.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(k=this._input.next(),l==="/"&&(k+=this._input.next()),I=this._create_token(_.TAG_CLOSE,k)):N.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),I=this._create_token(_.TAG_CLOSE,"}}"))),I},f.prototype._read_attribute=function(l,N,k){var I=null,Z="";if(k&&k.text[0]==="<")if(l==="=")I=this._create_token(_.EQUALS,this._input.next());else if(l==='"'||l==="'"){var $=this._input.next();l==='"'?$+=this.__patterns.double_quote.read():$+=this.__patterns.single_quote.read(),I=this._create_token(_.VALUE,$)}else Z=this.__patterns.attribute.read(),Z&&(N.type===_.EQUALS?I=this._create_token(_.VALUE,Z):I=this._create_token(_.ATTRIBUTE,Z));return I},f.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)},f.prototype._read_raw_content=function(l,N,k){var I="";if(k&&k.text[0]==="{")I=this.__patterns.handlebars_raw_close.read();else if(N.type===_.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var Z=N.opened.text.substr(1).toLowerCase();this._is_content_unformatted(Z)&&(I=this._input.readUntil(new RegExp("</"+Z+"[\\n\\r\\t ]*?>","ig")))}return I?this._create_token(_.TEXT,I):null},f.prototype._read_script_and_style=function(l,N){if(N.type===_.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var k=N.opened.text.substr(1).toLowerCase();if(k==="script"||k==="style"){var I=this._read_comment_or_cdata(l);if(I)return I.type=_.TEXT,I;var Z=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig"));if(Z)return this._create_token(_.TEXT,Z)}}return null},f.prototype._read_content_word=function(l,N){var k="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(k=this.__patterns.unformatted_content_delimiter.read()),k||(k=N&&N.type===_.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),k?this._create_token(_.TEXT,k):null},d.exports.Tokenizer=f,d.exports.TOKEN=_}],H={};function e(d){var t=H[d];if(t!==void 0)return t.exports;var r=H[d]={exports:{}};return U[d](r,r.exports,e),r.exports}var s=e(18);K=s})();var Y=K;if(1)P=[u,u(58553),u(87804)],O=function(U){var H=u(58553),e=u(87804);return{html_beautify:function(s,d){return Y(s,d,H.js_beautify,e.css_beautify)}}}.apply(Ae,P),O!==void 0&&(Lt.exports=O);else var z,p})()},58553:function(Lt,Ae){var u,P;(function(){var O;(function(){"use strict";var Y=[function(H,e,s){var d=s(1).Beautifier,t=s(5).Options;function r(a,o){var g=new d(a,o);return g.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var d=s(2).Output,t=s(3).Token,r=s(4),a=s(5).Options,o=s(7).Tokenizer,g=s(7).line_starters,E=s(7).positionable_operators,S=s(7).TOKEN;function _(i,y){return y.indexOf(i)!==-1}function m(i){return i.replace(/^\s+/g,"")}function f(i){for(var y={},A=0;A<i.length;A++)y[i[A].replace(/-/g,"_")]=i[A];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&&_(i.text,y)}var k=["case","return","do","if","throw","else","await","break","continue","async"],I=["before-newline","after-newline","preserve-newline"],Z=f(I),$=[Z.before_newline,Z.preserve_newline],L={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ye(i,y){y.multiline_frame||y.mode===L.ForInitializer||y.mode===L.Conditional||i.remove_indent(y.start_line_index)}function b(i){i=i.replace(r.allLineBreaks,`
`);for(var y=[],A=i.indexOf(`
`);A!==-1;)y.push(i.substring(0,A)),i=i.substring(A+1),A=i.indexOf(`
`);return i.length&&y.push(i),y}function h(i){return i===L.ArrayLiteral}function w(i){return _(i,[L.Expression,L.ForInitializer,L.Conditional])}function R(i,y){for(var A=0;A<i.length;A++){var le=i[A].trim();if(le.charAt(0)!==y)return!1}return!0}function D(i,y){for(var A=0,le=i.length,xe;A<le;A++)if(xe=i[A],xe&&xe.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 A=0;i&&(A=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>A&&(A=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:A,alignment:0,line_indent_level:i?i.line_indent_level:A,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 d(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(L.BlockStatement);var A=new o(i,this._options);return this._tokens=A.tokenize(),i},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,y=this._reset(this._source_text),A=this._options.eol;this._options.eol==="auto"&&(A=`
`,y&&r.lineBreak.test(y||"")&&(A=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(A),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 A=i.newlines,le=this._options.keep_array_indentation&&h(this._flags.mode);if(i.comments_before)for(var xe=i.comments_before.next();xe;)this.handle_whitespace_and_comments(xe,y),this.handle_token(xe,y),xe=i.comments_before.next();if(le)for(var Te=0;Te<A;Te+=1)this.print_newline(Te>0,y);else if(this._options.max_preserve_newlines&&A>this._options.max_preserve_newlines&&(A=this._options.max_preserve_newlines),this._options.preserve_newlines&&A>1){this.print_newline(!1,y);for(var ze=1;ze<A;ze+=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 A=this._options.preserve_newlines&&i.newlines||y,le=_(this._flags.last_token.text,E)||_(i.text,E);if(le){var xe=_(this._flags.last_token.text,E)&&_(this._options.operator_position,$)||_(i.text,E);A=A&&xe}if(A)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 A=this._tokens.peek();this._flags.mode===L.Statement&&!(this._flags.if_block&&l(A,"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==="["||h(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===L.Statement&&ye(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===L.ObjectLiteral&&this._flags.mode===L.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===L.ObjectLiteral&&this._flags.mode===L.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===L.ForInitializer||this._previous_flags.mode===L.Conditional),y=y||this._flags.last_token.type===S.WORD&&this._flags.mode===L.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===L.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||N(this._flags.last_token,["get","set"])),y?(this.set_mode(L.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=L.Expression;if(i.text==="["){if(this._flags.last_token.type===S.WORD||this._flags.last_token.text===")"){N(this._flags.last_token,g)&&(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=L.ArrayLiteral,h(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()),_(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=L.ForInitializer):_(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=L.Conditional):_(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:(_(this._flags.last_token.text,g)||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 A=this._tokens.peek(-3);if(this._options.space_after_named_function&&A){var le=this._tokens.peek(-4);N(A,["async","function"])||A.text==="*"&&N(le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===L.ObjectLiteral?(A.text==="{"||A.text===","||A.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==="*"&&(_(this._last_last_text,["function","yield"])||this._flags.mode===L.ObjectLiteral&&_(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===L.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(i,i.text==="]"&&h(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(),ye(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===L.Conditional&&(this._previous_flags.mode=L.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(),A=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===S.END_EXPR?(this.set_mode(L.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(L.BlockStatement):A&&(_(A.text,[":",","])&&_(y.type,[S.STRING,S.WORD,S.RESERVED])||_(y.text,["get","set","..."])&&_(A.type,[S.WORD,S.RESERVED]))?_(this._last_last_text,["class","interface"])&&!_(A.text,[":",","])?this.set_mode(L.BlockStatement):this.set_mode(L.ObjectLiteral):this._flags.last_token.type===S.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(L.BlockStatement):_(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(L.ObjectLiteral):this.set_mode(L.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==="}",xe=le&&this._flags.last_word==="function"&&this._flags.last_token.type===S.END_EXPR;if(this._options.brace_preserve_inline){var Te=0,ze=null;this._flags.inline_frame=!0;do if(Te+=1,ze=this._tokens.peek(Te-1),ze.newlines){this._flags.inline_frame=!1;break}while(ze.type!==S.EOF&&!(ze.type===S.END_BLOCK&&ze.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&&(xe||this._flags.last_token.type===S.EQUALS||N(this._flags.last_token,k)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(h(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&&(_(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===L.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||(h(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(_(i.text,["set","get"])&&this._flags.mode!==L.ObjectLiteral)i.type=S.WORD;else if(i.text==="import"&&_(this._tokens.peek().text,["(","."]))i.type=S.WORD;else if(_(i.text,["as","from"])&&!this._flags.import_block)i.type=S.WORD;else if(this._flags.mode===L.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===L.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()&&!(_(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===L.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(i),l(i,"function")){(_(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(_(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)||h(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var A="NONE";if(this._flags.last_token.type===S.END_BLOCK?this._previous_flags.inline_frame?A="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?A="NEWLINE":(A="SPACE",this._output.space_before_token=!0):A="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&this._flags.mode===L.BlockStatement?A="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&w(this._flags.mode)?A="SPACE":this._flags.last_token.type===S.STRING?A="NEWLINE":this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.last_token.text==="*"&&(_(this._last_last_text,["function","yield"])||this._flags.mode===L.ObjectLiteral&&_(this._last_last_text,["{",","]))?A="SPACE":this._flags.last_token.type===S.START_BLOCK?this._flags.inline_frame?A="SPACE":A="NEWLINE":this._flags.last_token.type===S.END_EXPR&&(this._output.space_before_token=!0,A="NEWLINE"),N(i,g)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?A="SPACE":A="NEWLINE"),N(i,["else","catch","finally"]))if((!(this._flags.last_token.type===S.END_BLOCK&&this._previous_flags.mode===L.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 A==="NEWLINE"?N(this._flags.last_token,k)?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,g)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&h(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():A==="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===L.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===L.ObjectLiteral||this._flags.mode===L.Statement&&this._flags.parent.mode===L.ObjectLiteral?(this._flags.mode===L.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"])||_(this._flags.last_token.type,[S.START_BLOCK,S.COMMA,S.END_BLOCK,S.SEMICOLON])),A=_(i.text,["-","+"])&&(_(this._flags.last_token.type,[S.START_BLOCK,S.START_EXPR,S.EQUALS,S.OPERATOR])||_(this._flags.last_token.text,g)||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(_(i.text,["-","+"])&&this.start_of_object_property()){this.print_token(i);return}if(this._flags.last_token.type===S.OPERATOR&&_(this._options.operator_position,$)&&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 xe=!0,Te=!0,ze=!1;if(i.text===":"?this._flags.ternary_depth===0?xe=!1:(this._flags.ternary_depth-=1,ze=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!A&&!y&&this._options.preserve_newlines&&_(i.text,E)){var Ge=i.text===":",Tt=Ge&&ze,Ee=Ge&&!ze;switch(this._options.operator_position){case Z.before_newline:this._output.space_before_token=!Ee,this.print_token(i),(!Ge||Tt)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case Z.after_newline:this._output.space_before_token=!0,!Ge||Tt?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 Z.preserve_newline:Ee||this.allow_wrap_or_preserved_newline(i),xe=!(this._output.just_added_newline()||Ee),this._output.space_before_token=xe,this.print_token(i),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(i),xe=!1;var Je=this._tokens.peek();Te=Je&&_(Je.type,[S.WORD,S.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),xe=this._flags.last_token.type===S.START_BLOCK,Te=!1;else if(_(i.text,["--","++","!","~"])||A){if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),xe=!1,Te=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Le=N(this._flags.last_token,k)&&i.newlines;Le&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Le,!0)}this._flags.last_token.text===";"&&w(this._flags.mode)&&(xe=!0),this._flags.last_token.type===S.RESERVED?xe=!0:this._flags.last_token.type===S.END_EXPR?xe=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===S.OPERATOR&&(xe=_(i.text,["--","-","++","+"])&&_(this._flags.last_token.text,["--","-","++","+"]),_(i.text,["+","-"])&&_(this._flags.last_token.text,["--","++"])&&(Te=!0)),(this._flags.mode===L.BlockStatement&&!this._flags.inline_frame||this._flags.mode===L.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||xe,this.print_token(i),this._output.space_before_token=Te},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 A=b(i.text),le,xe=!1,Te=!1,ze=i.whitespace_before,Ge=ze.length;if(this.print_newline(!1,y),this.print_token_line_indentation(i),this._output.add_token(A[0]),this.print_newline(!1,y),A.length>1){for(A=A.slice(1),xe=R(A,"*"),Te=D(A,ze),xe&&(this._flags.alignment=1),le=0;le<A.length;le++)xe?(this.print_token_line_indentation(i),this._output.add_token(m(A[le]))):Te&&A[le]?(this.print_token_line_indentation(i),this._output.add_token(A[le].substring(Ge))):(this._output.current_line.set_indent(-1),this._output.add_token(A[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,k)?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===L.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 d(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()}d.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},d.prototype.get_line_number=function(){return this.__lines.length},d.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},d.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},d.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},d.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},d.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},d.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},d.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)},d.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},d.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()},d.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(" "))},d.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()},d.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},d.prototype.just_added_newline=function(){return this.current_line.is_empty()},d.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},d.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=d},function(H){function e(s,d,t,r){this.type=s,this.text=d,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",d="\\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+"])",g="(?:"+a+"|["+d+t+r+"])*";e.identifier=new RegExp(o+g,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+a+"|["+d+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 d=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(a){d.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 g=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<g.length;E++)g[E]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=g[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 d,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=d(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 d(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=d,H.exports.mergeOpts=s},function(H,e,s){var d=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,a=s(13).Directives,o=s(4),g=s(12).Pattern,E=s(14).TemplatablePattern;function S(R,D){return D.indexOf(R)!==-1}var _={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},m=new a(/\/\*/,/\*\//),f=/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\.]/,k=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),I=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";I=I.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),I="\\?\\.(?!\\d) "+I,I=I.replace(/ /g,"|");var Z=new RegExp(I),$="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),L=$.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ye=new RegExp("^(?:"+L.join("|")+")$"),b,h=function(R,D){t.call(this,R,D),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var x=new g(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(f),punct:x.matching(Z),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(/[`}\\]/)}};h.prototype=new t,h.prototype._is_comment=function(R){return R.type===_.COMMENT||R.type===_.BLOCK_COMMENT||R.type===_.UNKNOWN},h.prototype._is_opening=function(R){return R.type===_.START_BLOCK||R.type===_.START_EXPR},h.prototype._is_closing=function(R,D){return(R.type===_.END_BLOCK||R.type===_.END_EXPR)&&D&&(R.text==="]"&&D.text==="["||R.text===")"&&D.text==="("||R.text==="}"&&D.text==="{")},h.prototype._reset=function(){b=!1},h.prototype._get_next_token=function(R,D){var x=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(_.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(R),x=x||this._read_singles(n),x=x||this._read_comment(n),x=x||this._read_regexp(n,R),x=x||this._read_xml(n,R),x=x||this._read_punctuation(),x=x||this._create_token(_.UNKNOWN,this._input.next()),x)},h.prototype._read_word=function(R){var D;if(D=this.__patterns.identifier.read(),D!=="")return D=D.replace(o.allLineBreaks,`
`),!(R.type===_.DOT||R.type===_.RESERVED&&(R.text==="set"||R.text==="get"))&&ye.test(D)?(D==="in"||D==="of")&&(R.type===_.WORD||R.type===_.STRING)?this._create_token(_.OPERATOR,D):this._create_token(_.RESERVED,D):this._create_token(_.WORD,D);if(D=this.__patterns.number.read(),D!=="")return this._create_token(_.WORD,D)},h.prototype._read_singles=function(R){var D=null;return R==="("||R==="["?D=this._create_token(_.START_EXPR,R):R===")"||R==="]"?D=this._create_token(_.END_EXPR,R):R==="{"?D=this._create_token(_.START_BLOCK,R):R==="}"?D=this._create_token(_.END_BLOCK,R):R===";"?D=this._create_token(_.SEMICOLON,R):R==="."&&N.test(this._input.peek(1))?D=this._create_token(_.DOT,R):R===","&&(D=this._create_token(_.COMMA,R)),D&&this._input.next(),D},h.prototype._read_pair=function(R,D){var x=null;return R==="#"&&D==="{"&&(x=this._create_token(_.START_BLOCK,R+D)),x&&(this._input.next(),this._input.next()),x},h.prototype._read_punctuation=function(){var R=this.__patterns.punct.read();if(R!=="")return R==="="?this._create_token(_.EQUALS,R):R==="?."?this._create_token(_.DOT,R):this._create_token(_.OPERATOR,R)},h.prototype._read_non_javascript=function(R){var D="";if(R==="#"){if(this._is_first_token()&&(D=this.__patterns.shebang.read(),D))return this._create_token(_.UNKNOWN,D.trim()+`
`);if(D=this.__patterns.include.read(),D)return this._create_token(_.UNKNOWN,D.trim()+`
`);R=this._input.next();var x="#";if(this._input.hasNext()&&this._input.testChar(l)){do R=this._input.next(),x+=R;while(this._input.hasNext()&&R!=="#"&&R!=="=");return R==="#"||(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(_.WORD,x)}this._input.back()}else if(R==="<"&&this._is_first_token()){if(D=this.__patterns.html_comment_start.read(),D){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)D+=this._input.next();return b=!0,this._create_token(_.COMMENT,D)}}else if(b&&R==="-"&&(D=this.__patterns.html_comment_end.read(),D))return b=!1,this._create_token(_.COMMENT,D);return null},h.prototype._read_comment=function(R){var D=null;if(R==="/"){var x="";if(this._input.peek(1)==="*"){x=this.__patterns.block_comment.read();var n=m.get_directives(x);n&&n.ignore==="start"&&(x+=m.readIgnored(this._input)),x=x.replace(o.allLineBreaks,`
`),D=this._create_token(_.BLOCK_COMMENT,x),D.directives=n}else this._input.peek(1)==="/"&&(x=this.__patterns.comment.read(),D=this._create_token(_.COMMENT,x))}return D},h.prototype._read_string=function(R){if(R==="`"||R==="'"||R==='"'){var D=this._input.next();return this.has_char_escapes=!1,R==="`"?D+=this._read_string_recursive("`",!0,"${"):D+=this._read_string_recursive(R),this.has_char_escapes&&this._options.unescape_strings&&(D=w(D)),this._input.peek()===R&&(D+=this._input.next()),D=D.replace(o.allLineBreaks,`
`),this._create_token(_.STRING,D)}return null},h.prototype._allow_regexp_or_xml=function(R){return R.type===_.RESERVED&&S(R.text,["return","case","throw","else","do","typeof","yield"])||R.type===_.END_EXPR&&R.text===")"&&R.opened.previous.type===_.RESERVED&&S(R.opened.previous.text,["if","while","for"])||S(R.type,[_.COMMENT,_.START_EXPR,_.START_BLOCK,_.START,_.END_BLOCK,_.OPERATOR,_.EQUALS,_.EOF,_.SEMICOLON,_.COMMA])},h.prototype._read_regexp=function(R,D){if(R==="/"&&this._allow_regexp_or_xml(D)){for(var x=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==R)&&!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()===R&&(x+=this._input.next(),x+=this._input.read(o.identifier)),this._create_token(_.STRING,x)}return null},h.prototype._read_xml=function(R,D){if(this._options.e4x&&R==="<"&&this._allow_regexp_or_xml(D)){var x="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=i.indexOf("{")===0,A=0;n;){var le=!!n[1],xe=n[2],Te=!!n[n.length-1]||xe.slice(0,8)==="![CDATA[";if(!Te&&(xe===i||y&&xe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(le?--A:++A),x+=n[0],A<=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(_.STRING,x)}}return null};function w(R){for(var D="",x=0,n=new d(R),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(D+=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{D+="\\",n.hasNext()&&(D+=n.next());continue}if(!i||(x=parseInt(i[1],16),x>126&&x<=255&&i[0].indexOf("x")===0))return R;x>=0&&x<32||x>1114111?D+="\\"+i[0]:x===34||x===39||x===92?D+="\\"+String.fromCharCode(x):D+=String.fromCharCode(x)}return D}h.prototype._read_string_recursive=function(R,D,x){var n,i;R==="'"?i=this.__patterns.single_quote:R==='"'?i=this.__patterns.double_quote:R==="`"?i=this.__patterns.template_text:R==="}"&&(i=this.__patterns.template_expression);for(var y=i.read(),A="";this._input.hasNext();){if(A=this._input.next(),A===R||!D&&o.newline.test(A)){this._input.back();break}else A==="\\"&&this._input.hasNext()?(n=this._input.peek(),n==="x"||n==="u"?this.has_char_escapes=!0:n==="\r"&&this._input.peek(1)===`
`&&this._input.next(),A+=this._input.next()):x&&(x==="${"&&A==="$"&&this._input.peek()==="{"&&(A+=this._input.next()),x===A&&(R==="`"?A+=this._read_string_recursive("}",D,"`"):A+=this._read_string_recursive("`",D,"${"),this._input.hasNext()&&(A+=this._input.next())));A+=i.read(),y+=A}return y},H.exports.Tokenizer=h,H.exports.TOKEN=_,H.exports.positionable_operators=k.slice(),H.exports.line_starters=$.slice()},function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(d){this.__input=d||"",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 d=null;return this.hasNext()&&(d=this.__input.charAt(this.__position),this.__position+=1),d},s.prototype.peek=function(d){var t=null;return d=d||0,d+=this.__position,d>=0&&d<this.__input_length&&(t=this.__input.charAt(d)),t},s.prototype.__match=function(d,t){d.lastIndex=t;var r=d.exec(this.__input);return r&&!(e&&d.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(d,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(d,t):!1},s.prototype.testChar=function(d,t){var r=this.peek(t);return d.lastIndex=0,r!==null&&d.test(r)},s.prototype.match=function(d){var t=this.__match(d,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(d,t,r){var a="",o;return d&&(o=this.match(d),o&&(a+=o[0])),t&&(o||!d)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(d,t){var r="",a=this.__position;d.lastIndex=this.__position;var o=d.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(d){return this.readUntil(d,!0)},s.prototype.get_regexp=function(d,t){var r=null,a="g";return t&&e&&(a="y"),typeof d=="string"&&d!==""?r=new RegExp(d,a):d&&(r=new RegExp(d.source,a)),r},s.prototype.get_literal_regexp=function(d){return RegExp(d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(d){var t=this.__position,r=this.readUntilAfter(d);return this.__position=t,r},s.prototype.lookBack=function(d){var t=this.__position-1;return t>=d.length&&this.__input.substring(t-d.length,t).toLowerCase()===d},H.exports.InputScanner=s},function(H,e,s){var d=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"},g=function(E,S){this._input=new d(E),this._options=S||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var E,S=new t(o.START,""),_=null,m=[],f=new r;S.type!==o.EOF;){for(E=this._get_next_token(S,_);this._is_comment(E);)f.add(E),E=this._get_next_token(S,_);f.isEmpty()||(E.comments_before=f,f=new r),E.parent=_,this._is_opening(E)?(m.push(_),_=E):_&&this._is_closing(E,_)&&(E.opened=_,_.closed=E,_=m.pop(),E.parent=_),E.previous=S,S.next=E,this.__tokens.add(E),S=E}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(E,S){this._readWhitespace();var _=this._input.read(/.+/g);return _?this._create_token(o.RAW,_):this._create_token(o.EOF,"")},g.prototype._is_comment=function(E){return!1},g.prototype._is_opening=function(E){return!1},g.prototype._is_closing=function(E,S){return!1},g.prototype._create_token=function(E,S){var _=new t(E,S,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return _},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},H.exports.Tokenizer=g,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 d=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(d=this.__tokens[s]),d},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 d=s(12).Pattern;function t(r,a){d.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 d,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,g=[],E=r.exec(a);E;)g.push(a.substring(o,E.index)),o=E.index+E[0].length,E=r.exec(a);return o<a.length?g.push(a.substring(o,a.length)):g.push(""),g},H.exports.WhitespacePattern=t},function(H){function e(s,d){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,d&&(this._starting_pattern=this._input.get_regexp(d._starting_pattern,!0),this._match_pattern=this._input.get_regexp(d._match_pattern,!0),this._until_pattern=this._input.get_regexp(d._until_pattern),this._until_after=d._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 d=this._create();return d._until_after=!0,d._until_pattern=this._input.get_regexp(s),d._update(),d},e.prototype.until=function(s){var d=this._create();return d._until_after=!1,d._until_pattern=this._input.get_regexp(s),d._update(),d},e.prototype.starting_with=function(s){var d=this._create();return d._starting_pattern=this._input.get_regexp(s,!0),d._update(),d},e.prototype.matching=function(s){var d=this._create();return d._match_pattern=this._input.get_regexp(s,!0),d._update(),d},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},H.exports.Pattern=e},function(H){function e(s,d){s=typeof s=="string"?s:s.source,d=typeof d=="string"?d:d.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+d,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+d,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var d={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)d[t[1]]=t[2],t=this.__directive_pattern.exec(s);return d},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},function(H,e,s){var d=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,o){d.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 g=new d(a);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new d,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 g in t)o._disabled[g]=a.templating.indexOf(g)===-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 g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(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}],z={};function p(H){var e=z[H];if(e!==void 0)return e.exports;var s=z[H]={exports:{}};return Y[H](s,s.exports,p),s.exports}var U=p(0);O=U})();var K=O;u=[],P=function(){return{js_beautify:K}}.apply(Ae,u),P!==void 0&&(Lt.exports=P)})()},75918:function(Lt,Ae,u){"use strict";u.d(Ae,{Wi:function(){return p},Z0:function(){return U},aU:function(){return z},eZ:function(){return e},wY:function(){return H}});var P=u(4348),O=u(69323),K=u(13268),Y=function(s,d,t,r){function a(o){return o instanceof t?o:new t(function(g){g(o)})}return new(t||(t=Promise))(function(o,g){function E(m){try{_(r.next(m))}catch(f){g(f)}}function S(m){try{_(r.throw(m))}catch(f){g(f)}}function _(m){m.done?o(m.value):a(m.value).then(E,S)}_((r=r.apply(s,d||[])).next())})};class z extends O.JT{constructor(d,t="",r="",a=!0,o){super(),this._onDidChange=this._register(new P.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=d,this._label=t,this._cssClass=r,this._enabled=a,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(d){this._setLabel(d)}_setLabel(d){this._label!==d&&(this._label=d,this._onDidChange.fire({label:d}))}get tooltip(){return this._tooltip||""}set tooltip(d){this._setTooltip(d)}_setTooltip(d){this._tooltip!==d&&(this._tooltip=d,this._onDidChange.fire({tooltip:d}))}get class(){return this._cssClass}set class(d){this._setClass(d)}_setClass(d){this._cssClass!==d&&(this._cssClass=d,this._onDidChange.fire({class:d}))}get enabled(){return this._enabled}set enabled(d){this._setEnabled(d)}_setEnabled(d){this._enabled!==d&&(this._enabled=d,this._onDidChange.fire({enabled:d}))}get checked(){return this._checked}set checked(d){this._setChecked(d)}_setChecked(d){this._checked!==d&&(this._checked=d,this._onDidChange.fire({checked:d}))}run(d,t){return Y(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(d))})}}class p extends O.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new P.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new P.Q5),this.onDidRun=this._onDidRun.event}run(d,t){return Y(this,void 0,void 0,function*(){if(!d.enabled)return;this._onBeforeRun.fire({action:d});let r;try{yield this.runAction(d,t)}catch(a){r=a}this._onDidRun.fire({action:d,error:r})})}runAction(d,t){return Y(this,void 0,void 0,function*(){yield d.run(t)})}}class U extends z{constructor(d){super(U.ID,d,d?"separator text":"separator"),this.checked=!1,this.enabled=!1}}U.ID="vs.actions.separator";class H{constructor(d,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=d,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 z{constructor(){super(e.ID,K.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Lt,Ae,u){"use strict";u.d(Ae,{ok:function(){return P}});function P(O,K){if(!O)throw new Error(K?`Assertion failed (${K})`:"Assertion Failed")}},52615:function(Lt,Ae,u){"use strict";u.d(Ae,{CM:function(){return z},JL:function(){return p},dT:function(){return H},fK:function(){return Y},lA:function(){return U}});var P=u(4348);class O{constructor(){this._icons=new Map,this._onDidRegister=new P.Q5}add(s){const d=this._icons.get(s.id);d?s.description?d.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 K=new O,Y=K;function z(e,s){return new U(e,s)}function p(e){return e?e.replace(/\$\((.*?)\)/g,(s,d)=>` ${d} `).trim():""}class U{constructor(s,d,t){this.id=s,this.definition=d,this.description=t,K.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 d(a){if(a instanceof U)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return d(U.error);let[,g,E]=o;const S=["codicon","codicon-"+g];return E&&S.push("codicon-modifier-"+E.substr(1)),S}e.asClassNameArray=d;function t(a){return d(a).join(" ")}e.asClassName=t;function r(a){return"."+d(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,Ae,u){"use strict";u.d(Ae,{B8:function(){return d},Cp:function(){return Y},F0:function(){return H},L6:function(){return s},VV:function(){return U},b1:function(){return e},dL:function(){return K},ri:function(){return z}});class P{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 O=new P;function K(t){U(t)||O.onUnexpectedError(t)}function Y(t){U(t)||O.onUnexpectedExternalError(t)}function z(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 p="Canceled";function U(t){return t instanceof Error&&t.name===p&&t.message===p}function H(){const t=new Error(p);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 d extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Lt,Ae,u){"use strict";u.d(Ae,{D0:function(){return d},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return z}});var P=u(79881),O=u(69323),K=u(34502),Y=u(95830),z;(function(a){a.None=()=>O.JT.None;function o(w){return(R,D=null,x)=>{let n=!1,i;return i=w(y=>{if(!n)return i?i.dispose():n=!0,R.call(D,y)},null,x),n&&i.dispose(),i}}a.once=o;function g(w,R){return l((D,x=null,n)=>w(i=>D.call(x,R(i)),null,n))}a.map=g;function E(w,R){return l((D,x=null,n)=>w(i=>{R(i),D.call(x,i)},null,n))}a.forEach=E;function S(w,R){return l((D,x=null,n)=>w(i=>R(i)&&D.call(x,i),null,n))}a.filter=S;function _(w){return w}a.signal=_;function m(...w){return(R,D=null,x)=>(0,O.F8)(...w.map(n=>n(i=>R.call(D,i),null,x)))}a.any=m;function f(w,R,D){let x=D;return g(w,n=>(x=R(x,n),x))}a.reduce=f;function l(w){let R;const D=new e({onFirstListenerAdd(){R=w(D.fire,D)},onLastListenerRemove(){R.dispose()}});return D.event}function N(w,R,D=100,x=!1,n){let i,y,A,le=0;const xe=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=w(Te=>{le++,y=R(y,Te),x&&!A&&(xe.fire(y),y=void 0),clearTimeout(A),A=setTimeout(()=>{const ze=y;y=void 0,A=void 0,(!x||le>1)&&xe.fire(ze),le=0},D)})},onLastListenerRemove(){i.dispose()}});return xe.event}a.debounce=N;function k(w,R=(D,x)=>D===x){let D=!0,x;return S(w,n=>{const i=D||!R(n,x);return D=!1,x=n,i})}a.latch=k;function I(w,R){return[a.filter(w,R),a.filter(w,D=>!R(D))]}a.split=I;function Z(w,R=!1,D=[]){let x=D.slice(),n=w(A=>{x?x.push(A):y.fire(A)});const i=()=>{x&&x.forEach(A=>y.fire(A)),x=null},y=new e({onFirstListenerAdd(){n||(n=w(A=>y.fire(A)))},onFirstListenerDidAdd(){x&&(R?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return y.event}a.buffer=Z;class ${constructor(R){this.event=R}map(R){return new $(g(this.event,R))}forEach(R){return new $(E(this.event,R))}filter(R){return new $(S(this.event,R))}reduce(R,D){return new $(f(this.event,R,D))}latch(){return new $(k(this.event))}debounce(R,D=100,x=!1,n){return new $(N(this.event,R,D,x,n))}on(R,D,x){return this.event(R,D,x)}once(R,D,x){return o(this.event)(R,D,x)}}function L(w){return new $(w)}a.chain=L;function ye(w,R,D=x=>x){const x=(...A)=>y.fire(D(...A)),n=()=>w.on(R,x),i=()=>w.removeListener(R,x),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromNodeEventEmitter=ye;function b(w,R,D=x=>x){const x=(...A)=>y.fire(D(...A)),n=()=>w.addEventListener(R,x),i=()=>w.removeEventListener(R,x),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromDOMEventEmitter=b;function h(w){return new Promise(R=>o(w)(R))}a.toPromise=h})(z||(z={}));class p{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${p._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}}}p._idPool=0;let U=-1;class H{constructor(o,g=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=g,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let g=U;if(typeof this.customThreshold=="number"&&(g=this.customThreshold),g<=0||o<g)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=g*.5;let _,m=0;for(const[f,l]of this._stacks)(!_||m<l)&&(_=f,m=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${m}):`),console.warn(_)}return()=>{const _=this._stacks.get(E)||0;this._stacks.set(E,_-1)}}}class e{constructor(o){var g;this._disposed=!1,this._options=o,this._leakageMon=U>0?new H(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((g=this._options)===null||g===void 0)&&g._profName?new p(this._options._profName):void 0}get event(){return this._event||(this._event=(o,g,E)=>{var S;this._listeners||(this._listeners=new K.S);const _=this._listeners.isEmpty();_&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const m=this._listeners.push(g?[o,g]:o);_&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,g);const f=(S=this._leakageMon)===null||S===void 0?void 0:S.check(this._listeners.size),l=(0,O.OF)(()=>{f&&f(),this._disposed||(m(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return E instanceof O.SL?E.add(l):Array.isArray(E)&&E.push(l),l}),this._event}fire(o){var g,E;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new K.S);for(let S of this._listeners)this._deliveryQueue.push([S,o]);for((g=this._perfMon)===null||g===void 0||g.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[S,_]=this._deliveryQueue.shift();try{typeof S=="function"?S.call(void 0,_):S[0].call(S[1],_)}catch(m){(0,P.dL)(m)}}(E=this._perfMon)===null||E===void 0||E.stop()}}dispose(){var o,g,E,S,_;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(g=this._deliveryQueue)===null||g===void 0||g.clear(),(S=(E=this._options)===null||E===void 0?void 0:E.onLastListenerRemove)===null||S===void 0||S.call(E),(_=this._leakageMon)===null||_===void 0||_.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new K.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 d extends s{constructor(o){var g;super(o),this._delay=(g=o.delay)!==null&&g!==void 0?g: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(g,E,S)=>o(_=>{const m=this.buffers[this.buffers.length-1];m?m.push(()=>g.call(E,_)):g.call(E,_)},void 0,S)}bufferEvents(o){const g=[];this.buffers.push(g);const E=o();return this.buffers.pop(),g.forEach(S=>S()),E}}class r{constructor(){this.listening=!1,this.inputEvent=z.None,this.inputEventListener=O.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,Ae,u){"use strict";u.d(Ae,{I:function(){return P}});function P(O){const K=this;let Y=!1,z;return function(){return Y||(Y=!0,z=O.apply(K,arguments)),z}}},88226:function(Lt,Ae,u){"use strict";u.d(Ae,{$:function(){return P}});var P;(function(O){function K(m){return m&&typeof m=="object"&&typeof m[Symbol.iterator]=="function"}O.is=K;const Y=Object.freeze([]);function z(){return Y}O.empty=z;function*p(m){yield m}O.single=p;function U(m){return m||Y}O.from=U;function H(m){return!m||m[Symbol.iterator]().next().done===!0}O.isEmpty=H;function e(m){return m[Symbol.iterator]().next().value}O.first=e;function s(m,f){for(const l of m)if(f(l))return!0;return!1}O.some=s;function d(m,f){for(const l of m)if(f(l))return l}O.find=d;function*t(m,f){for(const l of m)f(l)&&(yield l)}O.filter=t;function*r(m,f){let l=0;for(const N of m)yield f(N,l++)}O.map=r;function*a(...m){for(const f of m)for(const l of f)yield l}O.concat=a;function*o(m){for(const f of m)for(const l of f)yield l}O.concatNested=o;function g(m,f,l){let N=l;for(const k of m)N=f(N,k);return N}O.reduce=g;function*E(m,f,l=m.length){for(f<0&&(f+=m.length),l<0?l+=m.length:l>m.length&&(l=m.length);f<l;f++)yield m[f]}O.slice=E;function S(m,f=Number.POSITIVE_INFINITY){const l=[];if(f===0)return[l,m];const N=m[Symbol.iterator]();for(let k=0;k<f;k++){const I=N.next();if(I.done)return[l,O.empty()];l.push(I.value)}return[l,{[Symbol.iterator](){return N}}]}O.consume=S;function _(m,f,l=(N,k)=>N===k){const N=m[Symbol.iterator](),k=f[Symbol.iterator]();for(;;){const I=N.next(),Z=k.next();if(I.done!==Z.done)return!1;if(I.done)return!0;if(!l(I.value,Z.value))return!1}}O.equals=_})(P||(P={}))},69323:function(Lt,Ae,u){"use strict";u.d(Ae,{B9:function(){return r},F8:function(){return a},JT:function(){return E},Jz:function(){return _},OF:function(){return o},SL:function(){return g},Wf:function(){return t},XK:function(){return S},dk:function(){return s}});var P=u(17845),O=u(88226);const K=!1;let Y=null;function z(m){Y=m}if(K){const m="__is_disposable_tracked__";z(new class{trackDisposable(f){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[m]||console.log(l)},3e3)}setParent(f,l){if(f&&f!==E.None)try{f[m]=!0}catch(N){}}markAsDisposed(f){if(f&&f!==E.None)try{f[m]=!0}catch(l){}}markAsSingleton(f){}})}function p(m){return Y==null||Y.trackDisposable(m),m}function U(m){Y==null||Y.markAsDisposed(m)}function H(m,f){Y==null||Y.setParent(m,f)}function e(m,f){if(Y)for(const l of m)Y.setParent(l,f)}function s(m){return Y==null||Y.markAsSingleton(m),m}class d extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(m){return typeof m.dispose=="function"&&m.dispose.length===0}function r(m){if(O.$.is(m)){let f=[];for(const l of m)if(l)try{l.dispose()}catch(N){f.push(N)}if(f.length===1)throw f[0];if(f.length>1)throw new d(f);return Array.isArray(m)?[]:m}else if(m)return m.dispose(),m}function a(...m){const f=o(()=>r(m));return e(m,f),f}function o(m){const f=p({dispose:(0,P.I)(()=>{U(f),m()})});return f}class g{constructor(){this._toDispose=new Set,this._isDisposed=!1,p(this)}dispose(){this._isDisposed||(U(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return H(f,this),this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(f),f}}g.DISABLE_DISPOSED_WARNING=!1;class E{constructor(){this._store=new g,p(this),H(this._store,this)}dispose(){U(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}E.None=Object.freeze({dispose(){}});class S{constructor(){this._isDisposed=!1,p(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var l;this._isDisposed||f===this._value||((l=this._value)===null||l===void 0||l.dispose(),f&&H(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,U(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&H(f,null),f}}class _{constructor(f){this.object=f}dispose(){}}},34502:function(Lt,Ae,u){"use strict";u.d(Ae,{S:function(){return O}});class P{constructor(Y){this.element=Y,this.next=P.Undefined,this.prev=P.Undefined}}P.Undefined=new P(void 0);class O{constructor(){this._first=P.Undefined,this._last=P.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===P.Undefined}clear(){let Y=this._first;for(;Y!==P.Undefined;){const z=Y.next;Y.prev=P.Undefined,Y.next=P.Undefined,Y=z}this._first=P.Undefined,this._last=P.Undefined,this._size=0}unshift(Y){return this._insert(Y,!1)}push(Y){return this._insert(Y,!0)}_insert(Y,z){const p=new P(Y);if(this._first===P.Undefined)this._first=p,this._last=p;else if(z){const H=this._last;this._last=p,p.prev=H,H.next=p}else{const H=this._first;this._first=p,p.next=H,H.prev=p}this._size+=1;let U=!1;return()=>{U||(U=!0,this._remove(p))}}shift(){if(this._first!==P.Undefined){const Y=this._first.element;return this._remove(this._first),Y}}pop(){if(this._last!==P.Undefined){const Y=this._last.element;return this._remove(this._last),Y}}_remove(Y){if(Y.prev!==P.Undefined&&Y.next!==P.Undefined){const z=Y.prev;z.next=Y.next,Y.next.prev=z}else Y.prev===P.Undefined&&Y.next===P.Undefined?(this._first=P.Undefined,this._last=P.Undefined):Y.next===P.Undefined?(this._last=this._last.prev,this._last.next=P.Undefined):Y.prev===P.Undefined&&(this._first=this._first.next,this._first.prev=P.Undefined);this._size-=1}*[Symbol.iterator](){let Y=this._first;for(;Y!==P.Undefined;)yield Y.element,Y=Y.next}}},23345:function(Lt,Ae,u){"use strict";u.d(Ae,{$L:function(){return N},ED:function(){return _},IJ:function(){return f},OS:function(){return $},WE:function(){return I},dz:function(){return m},gn:function(){return k},li:function(){return o},r:function(){return b},tY:function(){return l},xS:function(){return Z}});var P=u(97671),O;const K="en";let Y=!1,z=!1,p=!1,U=!1,H=!1,e=!1,s=!1,d,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let g;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?g=o.vscode.process:typeof P!="undefined"&&(g=P);const E=typeof((O=g==null?void 0:g.versions)===null||O===void 0?void 0:O.electron)=="string"&&g.type==="renderer";if(typeof navigator=="object"&&!E)a=navigator.userAgent,Y=a.indexOf("Windows")>=0,z=a.indexOf("Macintosh")>=0,s=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,p=a.indexOf("Linux")>=0,e=!0,d=navigator.language,t=d;else if(typeof g=="object"){Y=g.platform==="win32",z=g.platform==="darwin",p=g.platform==="linux",U=p&&!!g.env.SNAP&&!!g.env.SNAP_REVISION,d=K,t=K;const h=g.env.VSCODE_NLS_CONFIG;if(h)try{const w=JSON.parse(h),R=w.availableLanguages["*"];d=w.locale,t=R||K,r=w._translationsConfigFile}catch(w){}H=!0}else console.error("Unable to resolve platform.");let S=0;z?S=1:Y?S=3:p&&(S=2);const _=Y,m=z,f=p,l=H,N=e,k=s,I=a,Z=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let R=[];o.addEventListener("message",x=>{if(x.data&&x.data.vscodeSetImmediateId)for(let n=0,i=R.length;n<i;n++){const y=R[n];if(y.id===x.data.vscodeSetImmediateId){R.splice(n,1),y.callback();return}}});let D=0;return x=>{const n=++D;R.push({id:n,callback:x}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(g==null?void 0:g.nextTick)=="function")return g.nextTick.bind(g);const w=Promise.resolve();return R=>w.then(R)}(),$=z||s?2:Y?1:3;let L=!0,ye=!1;function b(){if(!ye){ye=!0;const h=new Uint8Array(2);h[0]=1,h[1]=2,L=new Uint16Array(h.buffer)[0]===513}return L}},95830:function(Lt,Ae,u){"use strict";u.d(Ae,{G:function(){return K}});var P=u(23345);const O=P.li.performance&&typeof P.li.performance.now=="function";class K{constructor(z){this._highResolution=O&&z,this._startTime=this._now(),this._stopTime=-1}static create(z=!0){return new K(z)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?P.li.performance.now():Date.now()}}},82983:function(Lt,Ae,u){"use strict";u.d(Ae,{$i:function(){return le},C8:function(){return Tt},GF:function(){return d},HO:function(){return D},IO:function(){return t},K7:function(){return Ge},Kw:function(){return Le},LC:function(){return o},Mh:function(){return Z},P1:function(){return $},PJ:function(){return pe},Qe:function(){return xe},R1:function(){return s},RP:function(){return y},S6:function(){return ue},TT:function(){return _},Ut:function(){return n},V8:function(){return g},WU:function(){return K},YK:function(){return ye},YU:function(){return Y},ZG:function(){return L},ZH:function(){return h},ab:function(){return Te},c1:function(){return Ee},df:function(){return N},ec:function(){return z},fi:function(){return re},fy:function(){return p},j3:function(){return U},j_:function(){return f},m5:function(){return P},mK:function(){return l},mr:function(){return r},oH:function(){return c},oL:function(){return H},ok:function(){return I},ow:function(){return E},qq:function(){return k},qu:function(){return S},rL:function(){return b},uS:function(){return Je},un:function(){return e},uq:function(){return a},vH:function(){return R},xe:function(){return ze},zY:function(){return m}});function P(v){return!v||typeof v!="string"?!0:v.trim().length===0}const O=/{(\d+)}/g;function K(v,...F){return F.length===0?v:v.replace(O,function(ee,M){const V=parseInt(M,10);return isNaN(V)||V<0||V>=F.length?ee:F[V]})}function Y(v){return v.replace(/[<>&]/g,function(F){switch(F){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return F}})}function z(v){return v.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function p(v,F=" "){const ee=U(v,F);return H(ee,F)}function U(v,F){if(!v||!F)return v;const ee=F.length;if(ee===0||v.length===0)return v;let M=0;for(;v.indexOf(F,M)===M;)M=M+ee;return v.substring(M)}function H(v,F){if(!v||!F)return v;const ee=F.length,M=v.length;if(ee===0||M===0)return v;let V=M,j=-1;for(;j=v.lastIndexOf(F,V-1),!(j===-1||j+ee!==V);){if(j===0)return"";V=j}return v.substring(0,V)}function e(v){return v.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(v){return v.replace(/\*/g,"")}function d(v,F,ee={}){if(!v)throw new Error("Cannot create regex from empty string");F||(v=z(v)),ee.wholeWord&&(/\B/.test(v.charAt(0))||(v="\\b"+v),/\B/.test(v.charAt(v.length-1))||(v=v+"\\b"));let M="";return ee.global&&(M+="g"),ee.matchCase||(M+="i"),ee.multiline&&(M+="m"),ee.unicode&&(M+="u"),new RegExp(v,M)}function t(v){return v.source==="^"||v.source==="^$"||v.source==="$"||v.source==="^\\s*$"?!1:!!(v.exec("")&&v.lastIndex===0)}function r(v){return(v.global?"g":"")+(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")}function a(v){return v.split(/\r\n|\r|\n/)}function o(v){for(let F=0,ee=v.length;F<ee;F++){const M=v.charCodeAt(F);if(M!==32&&M!==9)return F}return-1}function g(v,F=0,ee=v.length){for(let M=F;M<ee;M++){const V=v.charCodeAt(M);if(V!==32&&V!==9)return v.substring(F,M)}return v.substring(F,ee)}function E(v,F=v.length-1){for(let ee=F;ee>=0;ee--){const M=v.charCodeAt(ee);if(M!==32&&M!==9)return ee}return-1}function S(v,F){return v<F?-1:v>F?1:0}function _(v,F,ee=0,M=v.length,V=0,j=F.length){for(;ee<M&&V<j;ee++,V++){let Ce=v.charCodeAt(ee),Ze=F.charCodeAt(V);if(Ce<Ze)return-1;if(Ce>Ze)return 1}const ce=M-ee,oe=j-V;return ce<oe?-1:ce>oe?1:0}function m(v,F){return f(v,F,0,v.length,0,F.length)}function f(v,F,ee=0,M=v.length,V=0,j=F.length){for(;ee<M&&V<j;ee++,V++){let Ce=v.charCodeAt(ee),Ze=F.charCodeAt(V);if(Ce===Ze)continue;if(Ce>=128||Ze>=128)return _(v.toLowerCase(),F.toLowerCase(),ee,M,V,j);l(Ce)&&(Ce-=32),l(Ze)&&(Ze-=32);const Ye=Ce-Ze;if(Ye!==0)return Ye}const ce=M-ee,oe=j-V;return ce<oe?-1:ce>oe?1:0}function l(v){return v>=97&&v<=122}function N(v){return v>=65&&v<=90}function k(v,F){return v.length===F.length&&f(v,F)===0}function I(v,F){const ee=F.length;return F.length>v.length?!1:f(v,F,0,ee)===0}function Z(v,F){let ee,M=Math.min(v.length,F.length);for(ee=0;ee<M;ee++)if(v.charCodeAt(ee)!==F.charCodeAt(ee))return ee;return M}function $(v,F){let ee,M=Math.min(v.length,F.length);const V=v.length-1,j=F.length-1;for(ee=0;ee<M;ee++)if(v.charCodeAt(V-ee)!==F.charCodeAt(j-ee))return ee;return M}function L(v){return 55296<=v&&v<=56319}function ye(v){return 56320<=v&&v<=57343}function b(v,F){return(v-55296<<10)+(F-56320)+65536}function h(v,F,ee){const M=v.charCodeAt(ee);if(L(M)&&ee+1<F){const V=v.charCodeAt(ee+1);if(ye(V))return b(M,V)}return M}function w(v,F){const ee=v.charCodeAt(F-1);if(ye(ee)&&F>1){const M=v.charCodeAt(F-2);if(L(M))return b(M,ee)}return ee}function R(v,F){const ee=W.getInstance(),M=F,V=v.length,j=h(v,V,F);F+=j>=65536?2:1;let ce=ee.getGraphemeBreakType(j);for(;F<V;){const oe=h(v,V,F),Ce=ee.getGraphemeBreakType(oe);if(re(ce,Ce))break;F+=oe>=65536?2:1,ce=Ce}return F-M}function D(v,F){const ee=W.getInstance(),M=F,V=w(v,F);F-=V>=65536?2:1;let j=ee.getGraphemeBreakType(V);for(;F>0;){const ce=w(v,F),oe=ee.getGraphemeBreakType(ce);if(re(oe,j))break;F-=ce>=65536?2:1,j=oe}return M-F}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(v){return x.test(v)}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(v){return i.test(v)}const A=/^[\t\n\r\x20-\x7E]*$/;function le(v){return A.test(v)}const xe=/[\u2028\u2029]/;function Te(v){return xe.test(v)}function ze(v){for(let F=0,ee=v.length;F<ee;F++)if(Ge(v.charCodeAt(F)))return!0;return!1}function Ge(v){return v=+v,v>=11904&&v<=55215||v>=63744&&v<=64255||v>=65281&&v<=65374}function Tt(v){return v>=127462&&v<=127487||v===8986||v===8987||v===9200||v===9203||v>=9728&&v<=10175||v===11088||v===11093||v>=127744&&v<=128591||v>=128640&&v<=128764||v>=128992&&v<=129003||v>=129280&&v<=129535||v>=129648&&v<=129750}const Ee="\uFEFF";function Je(v){return!!(v&&v.length>0&&v.charCodeAt(0)===65279)}function Le(v,F=!1){return v?(F&&(v=v.replace(/\\./g,"")),v.toLowerCase()!==v):!1}function pe(v){return v=v%(2*26),v<26?String.fromCharCode(97+v):String.fromCharCode(65+v-26)}function ue(v){return W.getInstance().getGraphemeBreakType(v)}function re(v,F){return v===0?F!==5&&F!==7:v===2&&F===3?!1:v===4||v===2||v===3||F===4||F===2||F===3?!0:!(v===8&&(F===8||F===9||F===11||F===12)||(v===11||v===9)&&(F===9||F===10)||(v===12||v===10)&&F===10||F===5||F===13||F===7||v===1||v===13&&F===14||v===6&&F===6)}class W{constructor(){this._data=Q()}static getInstance(){return W._INSTANCE||(W._INSTANCE=new W),W._INSTANCE}getGraphemeBreakType(F){if(F<32)return F===10?3:F===13?2:4;if(F<127)return 0;const ee=this._data,M=ee.length/3;let V=1;for(;V<=M;)if(F<ee[3*V])V=2*V;else if(F>ee[3*V+1])V=2*V+1;else return ee[3*V+2];return 0}}W._INSTANCE=null;function Q(){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 c(v,F){if(v===0)return 0;const ee=B(v,F);if(ee!==void 0)return ee;const M=w(F,v);return v-=q(M),v}function B(v,F){let ee=w(F,v);for(v-=q(ee);C(ee)||ee===65039||ee===8419;){if(v===0)return;ee=w(F,v),v-=q(ee)}if(Tt(ee)){if(v>=0){const M=w(F,v);M===8205&&(v-=q(M))}return v}}function q(v){return v>=65536?2:1}function C(v){return 127995<=v&&v<=127999}},72999:function(Lt,Ae,u){"use strict";u.d(Ae,{$E:function(){return o},$K:function(){return U},D8:function(){return t},HD:function(){return O},IU:function(){return g},Jp:function(){return H},Kn:function(){return K},cW:function(){return s},f6:function(){return E},hj:function(){return Y},jn:function(){return z},kJ:function(){return P},mf:function(){return d},o8:function(){return p},p_:function(){return e},vE:function(){return S}});function P(_){return Array.isArray(_)}function O(_){return typeof _=="string"}function K(_){return typeof _=="object"&&_!==null&&!Array.isArray(_)&&!(_ instanceof RegExp)&&!(_ instanceof Date)}function Y(_){return typeof _=="number"&&!isNaN(_)}function z(_){return _===!0||_===!1}function p(_){return typeof _=="undefined"}function U(_){return!H(_)}function H(_){return p(_)||_===null}function e(_,m){if(!_)throw new Error(m?`Unexpected type, expected '${m}'`:"Unexpected type")}function s(_){if(H(_))throw new Error("Assertion Failed: argument is undefined or null");return _}function d(_){return typeof _=="function"}function t(_,m){const f=Math.min(_.length,m.length);for(let l=0;l<f;l++)r(_[l],m[l])}function r(_,m){if(O(m)){if(typeof _!==m)throw new Error(`argument does not match constraint: typeof ${m}`)}else if(d(m)){try{if(_ instanceof m)return}catch(f){}if(!H(_)&&_.constructor===m||m.length===1&&m.call(void 0,_)===!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(_){let m=[],f=Object.getPrototypeOf(_);for(;Object.prototype!==f;)m=m.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return m}function o(_){const m=[];for(const f of a(_))typeof _[f]=="function"&&m.push(f);return m}function g(_,m){const f=N=>function(){const k=Array.prototype.slice.call(arguments,0);return m(N,k)};let l={};for(const N of _)l[N]=f(N);return l}function E(_){return _===null?void 0:_}function S(_,m="Unreachable"){throw new Error(m)}},13268:function(Lt,Ae,u){"use strict";u.d(Ae,{N:function(){return O}});function P(K,Y){let z;return Y.length===0?z=K:z=K.replace(/\{(\d+)\}/g,function(p,U){const H=U[0];return typeof Y[H]!="undefined"?Y[H]:p}),z}function O(K,Y,...z){return P(Y,z)}},96236:function(Lt,Ae,u){"use strict";u.d(Ae,{BH:function(){return g},NZ:function(){return E},U8:function(){return S},co:function(){return o},eH:function(){return a},vr:function(){return r}});var P=u(75918),O=u(52615),K=u(4348),Y=u(88226),z=u(69323),p=u(34502),U=u(35884),H=u(90689),e=u(16925),s=u(49055),d=function(_,m,f,l){var N=arguments.length,k=N<3?m:l===null?l=Object.getOwnPropertyDescriptor(m,f):l,I;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(_,m,f,l);else for(var Z=_.length-1;Z>=0;Z--)(I=_[Z])&&(k=(N<3?I(k):N>3?I(m,f,k):I(m,f))||k);return N>3&&k&&Object.defineProperty(m,f,k),k},t=function(_,m){return function(f,l){m(f,l,_)}};function r(_){return _.command!==void 0}class a{constructor(m){this.id=a._idPool++,this._debugName=m}}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"),g=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new K.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:_=>_===a.CommandPalette}}addCommand(_){return this.addCommands(Y.$.single(_))}addCommands(_){for(const m of _)this._commands.set(m.id,m);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,z.OF)(()=>{let m=!1;for(const f of _)m=this._commands.delete(f.id)||m;m&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(_){return this._commands.get(_)}getCommands(){const _=new Map;return this._commands.forEach((m,f)=>_.set(f,m)),_}appendMenuItem(_,m){return this.appendMenuItems(Y.$.single({id:_,item:m}))}appendMenuItems(_){const m=new Set,f=new p.S;for(const{id:l,item:N}of _){let k=this._menuItems.get(l);k||(k=new p.S,this._menuItems.set(l,k)),f.push(k.push(N)),m.add(l)}return this._onDidChangeMenu.fire(m),(0,z.OF)(()=>{if(f.size>0){for(let l of f)l();this._onDidChangeMenu.fire(m),f.clear()}})}getMenuItems(_){let m;return this._menuItems.has(_)?m=[...this._menuItems.get(_)]:m=[],_===a.CommandPalette&&this._appendImplicitItems(m),m}_appendImplicitItems(_){const m=new Set;for(const f of _)r(f)&&(m.add(f.command.id),f.alt&&m.add(f.alt.id));this._commands.forEach((f,l)=>{m.has(l)||_.push({command:f})})}};class E extends P.wY{constructor(m,f,l,N){super(`submenuitem.${m.submenu.id}`,typeof m.title=="string"?m.title:m.title.value,[],"submenu"),this.item=m,this._menuService=f,this._contextKeyService=l,this._options=N}get actions(){const m=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=f.getActions(this._options);f.dispose();for(const[,N]of l)N.length>0&&(m.push(...N),m.push(new P.Z0));return m.length&&m.pop(),m}}let S=class bi{constructor(m,f,l,N,k){var I,Z;if(this._commandService=k,this.id=m.id,this.label=l!=null&&l.renderShortTitle&&m.shortTitle?typeof m.shortTitle=="string"?m.shortTitle:m.shortTitle.value:typeof m.title=="string"?m.title:m.title.value,this.tooltip=(Z=typeof m.tooltip=="string"?m.tooltip:(I=m.tooltip)===null||I===void 0?void 0:I.value)!==null&&Z!==void 0?Z:"",this.enabled=!m.precondition||N.contextMatchesRules(m.precondition),this.checked=void 0,m.toggled){const $=m.toggled.condition?m.toggled:{condition:m.toggled};this.checked=N.contextMatchesRules($.condition),this.checked&&$.tooltip&&(this.tooltip=typeof $.tooltip=="string"?$.tooltip:$.tooltip.value),$.title&&(this.label=typeof $.title=="string"?$.title:$.title.value)}this.item=m,this.alt=f?new bi(f,void 0,l,N,k):void 0,this._options=l,s.kS.isThemeIcon(m.icon)&&(this.class=O.dT.asClassName(m.icon))}dispose(){}run(...m){var f,l;let N=[];return!((f=this._options)===null||f===void 0)&&f.arg&&(N=[...N,this._options.arg]),!((l=this._options)===null||l===void 0)&&l.shouldForwardArgs&&(N=[...N,...m]),this._commandService.executeCommand(this.id,...N)}};S=d([t(3,H.i6),t(4,U.H)],S)},35884:function(Lt,Ae,u){"use strict";u.d(Ae,{H:function(){return U},P:function(){return H}});var P=u(4348),O=u(88226),K=u(69323),Y=u(34502),z=u(72999),p=u(16925);const U=(0,p.yh)("commandService"),H=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new P.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 g=e.handler;e.handler=function(E,...S){return(0,z.D8)(S,o),g(E,...S)}}const{id:d}=e;let t=this._commands.get(d);t||(t=new Y.S,this._commands.set(d,t));let r=t.unshift(e),a=(0,K.OF)(()=>{r();const o=this._commands.get(d);o!=null&&o.isEmpty()&&this._commands.delete(d)});return this._onDidRegisterCommand.fire(d),a}registerCommandAlias(e,s){return H.registerCommand(e,(d,...t)=>d.get(U).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return O.$.first(s)}getCommands(){const e=new Map;for(const s of this._commands.keys()){const d=this.getCommand(s);d&&e.set(s,d)}return e}};H.registerCommand("noop",()=>{})},90689:function(Lt,Ae,u){"use strict";u.d(Ae,{Ao:function(){return U},Eq:function(){return b},Fb:function(){return H},K8:function(){return R},i6:function(){return ye},uy:function(){return L}});var P=u(23345),O=u(82983),K=u(16925);let Y=P.WE||"";const z=new Map;z.set("false",!1),z.set("true",!0),z.set("isMac",P.dz),z.set("isLinux",P.IJ),z.set("isWindows",P.ED),z.set("isWeb",P.$L),z.set("isMacNative",P.dz&&!P.$L),z.set("isEdge",Y.indexOf("Edg/")>=0),z.set("isFirefox",Y.indexOf("Firefox")>=0),z.set("isChrome",Y.indexOf("Chrome")>=0),z.set("isSafari",Y.indexOf("Safari")>=0);const p=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 Z.create(n,null)}static or(...n){return $.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 $.create(y.map(A=>this._deserializeAndExpression(A,i)),null,!0)}static _deserializeAndExpression(n,i){let y=n.split("&&");return Z.create(y.map(A=>this._deserializeOne(A,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let y=n.split("!=");return g.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 m.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const y=n.split(">");return _.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 f.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,O.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("/"),A=n.lastIndexOf("/");if(y===A||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,A),xe=n[A+1]==="i"?"i":"";try{return new RegExp(le,xe)}catch(Te){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Te}`);return console.warn(`bad regexp-value '${n}', parse error: ${Te}`),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 d.INSTANCE}}s.INSTANCE=new s;class d{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}}d.INSTANCE=new d;class t{constructor(n,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const y=z.get(n);return typeof y=="boolean"?y?d.INSTANCE:s.INSTANCE:new t(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:h(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=z.get(this.key);return typeof n=="boolean"?n?d.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 A=z.get(n);return typeof A=="boolean"?i===(A?"true":"false")?d.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=z.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?d.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=g.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?p.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 g{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 A=z.get(n);return typeof A=="boolean"?i===(A?"true":"false")?s.INSTANCE:d.INSTANCE:new g(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=z.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?s.INSTANCE:d.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=z.get(n);return typeof y=="boolean"?y?s.INSTANCE:d.INSTANCE:new E(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:h(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=z.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:d.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 _{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,A=>new _(n,A,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 m{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,A=>new m(n,A,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=f.create(this.key,this.value,this)),this.negated}}class f{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,A=>new f(n,A,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=m.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,A=>new l(n,A,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=_.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=k.create(this)),this.negated}}class k{constructor(n){this._actual=n,this.type=8}static create(n){return new k(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 A=x[i].substituteConstants();if(x[i]!==A&&n===null){n=[];for(let le=0;le<i;le++)n[le]=x[le]}n!==null&&(n[i]=A)}return n===null?x:n}class Z{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return Z._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 A=e(this.expr[i],n.expr[i]);if(A!==0)return A}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:Z.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 A=!1;for(const le of n)if(le){if(le.type===1){A=!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&&A)return d.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 xe=y.pop(),Te=y.length===0,ze=$.create(le.expr.map(Ge=>Z.create([Ge,xe],null)),null,Te);ze&&(y.push(ze),y.sort(e))}return y.length===1?y[0]:new Z(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=$.create(n,this,!0)}return this.negated}}class ${constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,y){return $._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 A=e(this.expr[i],n.expr[i]);if(A!==0)return A}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:$.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 A=[],le=!1;if(n){for(let xe=0,Te=n.length;xe<Te;xe++){const ze=n[xe];if(ze){if(ze.type===0){le=!0;continue}if(ze.type===1)return d.INSTANCE;if(ze.type===9){A=A.concat(ze.expr);continue}A.push(ze)}}if(A.length===0&&le)return s.INSTANCE;A.sort(e)}if(A.length!==0){if(A.length===1)return A[0];for(let xe=1;xe<A.length;xe++)A[xe-1].equals(A[xe])&&(A.splice(xe,1),xe--);if(A.length===1)return A[0];if(y){for(let xe=0;xe<A.length;xe++)for(let Te=xe+1;Te<A.length;Te++)R(A[xe],A[Te])&&(A.splice(Te,1),Te--);if(A.length===1)return A[0]}return new $(A,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(),A=[];for(const xe of D(i))for(const Te of D(y))A.push(Z.create([xe,Te],null));const le=n.length===0;n.unshift($.create(A,null,le))}this.negated=n[0]}return this.negated}}class L extends t{constructor(n,i,y){super(n,null),this._defaultValue=i,typeof y=="object"?L._info.push(Object.assign(Object.assign({},y),{key:n})):y!==!0&&L._info.push({key:n,description:y,type:i!=null?typeof i:void 0})}static all(){return L._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)}}L._info=[];const ye=(0,K.yh)("contextKeyService"),b="setContext";function h(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 R(x,n){if(n.type===6&&x.type!==9&&x.type!==6){for(const A of n.expr)if(x.equals(A))return!0}const i=x.negate(),y=D(i).concat(D(n));y.sort(e);for(let A=0;A<y.length;A++){const xe=y[A].negate();for(let Te=A+1;Te<y.length;Te++){const ze=y[Te];if(xe.equals(ze))return!0}}return!1}function D(x){return x.type===9?x.expr:[x]}},16925:function(Lt,Ae,u){"use strict";u.d(Ae,{I8:function(){return P},TG:function(){return O},jt:function(){return z},yh:function(){return Y}});var P;(function(p){p.serviceIds=new Map,p.DI_TARGET="$di$target",p.DI_DEPENDENCIES="$di$dependencies";function U(H){return H[p.DI_DEPENDENCIES]||[]}p.getServiceDependencies=U})(P||(P={}));const O=Y("instantiationService");function K(p,U,H,e){U[P.DI_TARGET]===U?U[P.DI_DEPENDENCIES].push({id:p,index:H,optional:e}):(U[P.DI_DEPENDENCIES]=[{id:p,index:H,optional:e}],U[P.DI_TARGET]=U)}function Y(p){if(P.serviceIds.has(p))return P.serviceIds.get(p);const U=function(H,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");K(U,H,s,!1)};return U.toString=()=>p,P.serviceIds.set(p,U),U}function z(p){return function(U,H,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");K(p,U,e,!0)}}},44650:function(Lt,Ae,u){"use strict";u.d(Ae,{B:function(){return Y}});var P=u(76068),O=u(72999);class K{constructor(){this.data=new Map}add(p,U){P.ok(O.HD(p)),P.ok(O.Kn(U)),P.ok(!this.data.has(p),"There is already an extension with this id"),this.data.set(p,U)}as(p){return this.data.get(p)||null}}const Y=new K},66213:function(Lt,Ae,u){"use strict";u.d(Ae,{e:function(){return P}});var P;(function(O){O.DARK="dark",O.LIGHT="light",O.HIGH_CONTRAST="hc"})(P||(P={}))},49055:function(Lt,Ae,u){"use strict";u.d(Ae,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return U},bB:function(){return g},kS:function(){return s},m6:function(){return d}});var P=u(52615),O=u(4348),K=u(69323),Y=u(16925),z=u(44650),p=u(66213);const U=(0,Y.yh)("themeService");var H;(function(E){function S(_){return _&&typeof _=="object"&&typeof _.id=="string"}E.isThemeColor=S})(H||(H={}));function e(E){return{id:E}}var s;(function(E){function S(k){return k&&typeof k=="object"&&typeof k.id=="string"&&(typeof k.color=="undefined"||H.isThemeColor(k.color))}E.isThemeIcon=S;const _=new RegExp(`^\\$\\((${P.dT.iconNameExpression}(?:${P.dT.iconModifierExpression})?)\\)$`);function m(k){const I=_.exec(k);if(!I)return;let[,Z]=I;return{id:Z}}E.fromString=m;function f(k,I){let Z=k.id;const $=Z.lastIndexOf("~");return $!==-1&&(Z=Z.substring(0,$)),I&&(Z=`${Z}~${I}`),{id:Z}}E.modify=f;function l(k,I){var Z,$;return k.id===I.id&&((Z=k.color)===null||Z===void 0?void 0:Z.id)===(($=I.color)===null||$===void 0?void 0:$.id)}E.isEqual=l;function N(k,I){return{id:k.id,color:I?e(I):void 0}}E.asThemeIcon=N,E.asClassNameArray=P.dT.asClassNameArray,E.asClassName=P.dT.asClassName,E.asCSSSelector=P.dT.asCSSSelector})(s||(s={}));function d(E){switch(E){case p.e.DARK:return"vs-dark";case p.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 O.Q5}onColorThemeChange(S){return this.themingParticipants.push(S),this.onThemingParticipantAddedEmitter.fire(S),(0,K.OF)(()=>{const _=this.themingParticipants.indexOf(S);this.themingParticipants.splice(_,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;z.B.add(t.ThemingContribution,a);function o(E){return a.onColorThemeChange(E)}class g extends K.JT{constructor(S){super(),this.themeService=S,this.theme=S.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(_=>this.onThemeChange(_)))}onThemeChange(S){this.theme=S,this.updateStyles()}updateStyles(){}}},16632:function(Lt,Ae,u){"use strict";var P=u(54476),O=u(33885),K=u(20068),Y=u(42978),z=u(75931),p=u(92310),U=u.n(p),H=u(18929),e=u(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],d=(0,e.forwardRef)(function(t,r){var a=t.prefixCls,o=a===void 0?"rc-checkbox":a,g=t.className,E=t.style,S=t.checked,_=t.disabled,m=t.defaultChecked,f=m===void 0?!1:m,l=t.type,N=l===void 0?"checkbox":l,k=t.title,I=t.onChange,Z=(0,z.Z)(t,s),$=(0,e.useRef)(null),L=(0,e.useRef)(null),ye=(0,H.Z)(f,{value:S}),b=(0,Y.Z)(ye,2),h=b[0],w=b[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var i;(i=$.current)===null||i===void 0||i.focus(n)},blur:function(){var n;(n=$.current)===null||n===void 0||n.blur()},input:$.current,nativeElement:L.current}});var R=U()(o,g,(0,K.Z)((0,K.Z)({},"".concat(o,"-checked"),h),"".concat(o,"-disabled"),_)),D=function(n){_||("checked"in t||w(n.target.checked),I==null||I({target:(0,O.Z)((0,O.Z)({},t),{},{type:N,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:R,title:k,style:E,ref:L},e.createElement("input",(0,P.Z)({},Z,{className:"".concat(o,"-input"),ref:$,onChange:D,disabled:_,checked:!!h,type:N})),e.createElement("span",{className:"".concat(o,"-inner")}))});Ae.Z=d},96478:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return k}});var P=u(54476),O=u(20068),K=u(42978),Y=u(75931),z=u(65030),p=u(92310),U=u.n(p),H=u(8654),e=u(59301),s=u(10228),d=u(16089),t=s.Z.ESC,r=s.Z.TAB;function a(I){var Z=I.visible,$=I.triggerRef,L=I.onVisibleChange,ye=I.autoFocus,b=I.overlayRef,h=e.useRef(!1),w=function(){if(Z){var n,i;(n=$.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),L==null||L(!1)}},R=function(){var n;return(n=b.current)!==null&&n!==void 0&&n.focus?(b.current.focus(),h.current=!0,!0):!1},D=function(n){switch(n.keyCode){case t:w();break;case r:{var i=!1;h.current||(i=R()),i?n.preventDefault():w();break}}};e.useEffect(function(){return Z?(window.addEventListener("keydown",D),ye&&(0,d.Z)(R,3),function(){window.removeEventListener("keydown",D),h.current=!1}):function(){h.current=!1}},[Z])}var o=(0,e.forwardRef)(function(I,Z){var $=I.overlay,L=I.arrow,ye=I.prefixCls,b=(0,e.useMemo)(function(){var w;return typeof $=="function"?w=$():w=$,w},[$]),h=(0,H.sQ)(Z,(0,H.C4)(b));return e.createElement(e.Fragment,null,L&&e.createElement("div",{className:"".concat(ye,"-arrow")}),e.cloneElement(b,{ref:(0,H.Yr)(b)?h:void 0}))}),g=o,E={adjustX:1,adjustY:1},S=[0,0],_={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}},m=_,f=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function l(I,Z){var $,L=I.arrow,ye=L===void 0?!1:L,b=I.prefixCls,h=b===void 0?"rc-dropdown":b,w=I.transitionName,R=I.animation,D=I.align,x=I.placement,n=x===void 0?"bottomLeft":x,i=I.placements,y=i===void 0?m:i,A=I.getPopupContainer,le=I.showAction,xe=I.hideAction,Te=I.overlayClassName,ze=I.overlayStyle,Ge=I.visible,Tt=I.trigger,Ee=Tt===void 0?["hover"]:Tt,Je=I.autoFocus,Le=I.overlay,pe=I.children,ue=I.onVisibleChange,re=(0,Y.Z)(I,f),W=e.useState(),Q=(0,K.Z)(W,2),c=Q[0],B=Q[1],q="visible"in I?Ge:c,C=e.useRef(null),v=e.useRef(null),F=e.useRef(null);e.useImperativeHandle(Z,function(){return C.current});var ee=function(Ke){B(Ke),ue==null||ue(Ke)};a({visible:q,triggerRef:F,onVisibleChange:ee,autoFocus:Je,overlayRef:v});var M=function(Ke){var Me=I.onOverlayClick;B(!1),Me&&Me(Ke)},V=function(){return e.createElement(g,{ref:v,overlay:Le,prefixCls:h,arrow:ye})},j=function(){return typeof Le=="function"?V:V()},ce=function(){var Ke=I.minOverlayWidthMatchTrigger,Me=I.alignPoint;return"minOverlayWidthMatchTrigger"in I?Ke:!Me},oe=function(){var Ke=I.openClassName;return Ke!==void 0?Ke:"".concat(h,"-open")},Ce=e.cloneElement(pe,{className:U()(($=pe.props)===null||$===void 0?void 0:$.className,q&&oe()),ref:(0,H.Yr)(pe)?(0,H.sQ)(F,(0,H.C4)(pe)):void 0}),Ze=xe;return!Ze&&Ee.indexOf("contextMenu")!==-1&&(Ze=["click"]),e.createElement(z.Z,(0,P.Z)({builtinPlacements:y},re,{prefixCls:h,ref:C,popupClassName:U()(Te,(0,O.Z)({},"".concat(h,"-show-arrow"),ye)),popupStyle:ze,action:Ee,showAction:le,hideAction:Ze,popupPlacement:n,popupAlign:D,popupTransitionName:w,popupAnimation:R,popupVisible:q,stretch:ce()?"minWidth":"",popup:j(),onPopupVisibleChange:ee,onPopupClick:M,getPopupContainer:A}),Ce)}var N=e.forwardRef(l),k=N},66003:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return U}});var P=u(75931),O=u(33885),K=u(76190),Y=u(59301),z=["show"];function p(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,K.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,O.Z)((0,O.Z)({},s),H);var d=s,t=d.show,r=(0,P.Z)(d,z);return(0,O.Z)((0,O.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(a){return a.length}})},[H,e])}},36901:function(Lt,Ae,u){"use strict";u.r(Ae),u.d(Ae,{BaseInput:function(){return s},default:function(){return m}});var P=u(33885),O=u(54476),K=u(20068),Y=u(76190),z=u(92310),p=u.n(z),U=u(59301),H=u(30292),e=U.forwardRef(function(f,l){var N,k,I,Z=f.inputElement,$=f.children,L=f.prefixCls,ye=f.prefix,b=f.suffix,h=f.addonBefore,w=f.addonAfter,R=f.className,D=f.style,x=f.disabled,n=f.readOnly,i=f.focused,y=f.triggerFocus,A=f.allowClear,le=f.value,xe=f.handleReset,Te=f.hidden,ze=f.classes,Ge=f.classNames,Tt=f.dataAttrs,Ee=f.styles,Je=f.components,Le=f.onClear,pe=$!=null?$:Z,ue=(Je==null?void 0:Je.affixWrapper)||"span",re=(Je==null?void 0:Je.groupWrapper)||"span",W=(Je==null?void 0:Je.wrapper)||"span",Q=(Je==null?void 0:Je.groupAddon)||"span",c=(0,U.useRef)(null),B=function(st){var Xe;(Xe=c.current)!==null&&Xe!==void 0&&Xe.contains(st.target)&&(y==null||y())},q=(0,H.X3)(f),C=(0,U.cloneElement)(pe,{value:le,className:p()((N=pe.props)===null||N===void 0?void 0:N.className,!q&&(Ge==null?void 0:Ge.variant))||null}),v=(0,U.useRef)(null);if(U.useImperativeHandle(l,function(){return{nativeElement:v.current||c.current}}),q){var F=null;if(A){var ee=!x&&!n&&le,M="".concat(L,"-clear-icon"),V=(0,Y.Z)(A)==="object"&&A!==null&&A!==void 0&&A.clearIcon?A.clearIcon:"\u2716";F=U.createElement("button",{type:"button",tabIndex:-1,onClick:function(st){xe==null||xe(st),Le==null||Le()},onMouseDown:function(st){return st.preventDefault()},className:p()(M,(0,K.Z)((0,K.Z)({},"".concat(M,"-hidden"),!ee),"".concat(M,"-has-suffix"),!!b))},V)}var j="".concat(L,"-affix-wrapper"),ce=p()(j,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(L,"-disabled"),x),"".concat(j,"-disabled"),x),"".concat(j,"-focused"),i),"".concat(j,"-readonly"),n),"".concat(j,"-input-with-clear-btn"),b&&A&&le),ze==null?void 0:ze.affixWrapper,Ge==null?void 0:Ge.affixWrapper,Ge==null?void 0:Ge.variant),oe=(b||A)&&U.createElement("span",{className:p()("".concat(L,"-suffix"),Ge==null?void 0:Ge.suffix),style:Ee==null?void 0:Ee.suffix},F,b);C=U.createElement(ue,(0,O.Z)({className:ce,style:Ee==null?void 0:Ee.affixWrapper,onClick:B},Tt==null?void 0:Tt.affixWrapper,{ref:c}),ye&&U.createElement("span",{className:p()("".concat(L,"-prefix"),Ge==null?void 0:Ge.prefix),style:Ee==null?void 0:Ee.prefix},ye),C,oe)}if((0,H.He)(f)){var Ce="".concat(L,"-group"),Ze="".concat(Ce,"-addon"),Ye="".concat(Ce,"-wrapper"),Ke=p()("".concat(L,"-wrapper"),Ce,ze==null?void 0:ze.wrapper,Ge==null?void 0:Ge.wrapper),Me=p()(Ye,(0,K.Z)({},"".concat(Ye,"-disabled"),x),ze==null?void 0:ze.group,Ge==null?void 0:Ge.groupWrapper);C=U.createElement(re,{className:Me,ref:v},U.createElement(W,{className:Ke},h&&U.createElement(Q,{className:Ze},h),C,w&&U.createElement(Q,{className:Ze},w)))}return U.cloneElement(C,{className:p()((k=C.props)===null||k===void 0?void 0:k.className,R)||null,style:(0,P.Z)((0,P.Z)({},(I=C.props)===null||I===void 0?void 0:I.style),D),hidden:Te})}),s=e,d=u(94480),t=u(42978),r=u(75931),a=u(18929),o=u(2738),g=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(f,l){var N=f.autoComplete,k=f.onChange,I=f.onFocus,Z=f.onBlur,$=f.onPressEnter,L=f.onKeyDown,ye=f.onKeyUp,b=f.prefixCls,h=b===void 0?"rc-input":b,w=f.disabled,R=f.htmlSize,D=f.className,x=f.maxLength,n=f.suffix,i=f.showCount,y=f.count,A=f.type,le=A===void 0?"text":A,xe=f.classes,Te=f.classNames,ze=f.styles,Ge=f.onCompositionStart,Tt=f.onCompositionEnd,Ee=(0,r.Z)(f,E),Je=(0,U.useState)(!1),Le=(0,t.Z)(Je,2),pe=Le[0],ue=Le[1],re=(0,U.useRef)(!1),W=(0,U.useRef)(!1),Q=(0,U.useRef)(null),c=(0,U.useRef)(null),B=function(dt){Q.current&&(0,H.nH)(Q.current,dt)},q=(0,a.Z)(f.defaultValue,{value:f.value}),C=(0,t.Z)(q,2),v=C[0],F=C[1],ee=v==null?"":String(v),M=(0,U.useState)(null),V=(0,t.Z)(M,2),j=V[0],ce=V[1],oe=(0,g.Z)(y,i),Ce=oe.max||x,Ze=oe.strategy(ee),Ye=!!Ce&&Ze>Ce;(0,U.useImperativeHandle)(l,function(){var Nt;return{focus:B,blur:function(){var Kt;(Kt=Q.current)===null||Kt===void 0||Kt.blur()},setSelectionRange:function(Kt,fn,Vt){var _t;(_t=Q.current)===null||_t===void 0||_t.setSelectionRange(Kt,fn,Vt)},select:function(){var Kt;(Kt=Q.current)===null||Kt===void 0||Kt.select()},input:Q.current,nativeElement:((Nt=c.current)===null||Nt===void 0?void 0:Nt.nativeElement)||Q.current}}),(0,U.useEffect)(function(){W.current&&(W.current=!1),ue(function(Nt){return Nt&&w?!1:Nt})},[w]);var Ke=function(dt,Kt,fn){var Vt=Kt;if(!re.current&&oe.exceedFormatter&&oe.max&&oe.strategy(Kt)>oe.max){if(Vt=oe.exceedFormatter(Kt,{max:oe.max}),Kt!==Vt){var _t,Qt;ce([((_t=Q.current)===null||_t===void 0?void 0:_t.selectionStart)||0,((Qt=Q.current)===null||Qt===void 0?void 0:Qt.selectionEnd)||0])}}else if(fn.source==="compositionEnd")return;F(Vt),Q.current&&(0,H.rJ)(Q.current,dt,k,Vt)};(0,U.useEffect)(function(){if(j){var Nt;(Nt=Q.current)===null||Nt===void 0||Nt.setSelectionRange.apply(Nt,(0,d.Z)(j))}},[j]);var Me=function(dt){Ke(dt,dt.target.value,{source:"change"})},Ie=function(dt){re.current=!1,Ke(dt,dt.currentTarget.value,{source:"compositionEnd"}),Tt==null||Tt(dt)},st=function(dt){$&&dt.key==="Enter"&&!W.current&&(W.current=!0,$(dt)),L==null||L(dt)},Xe=function(dt){dt.key==="Enter"&&(W.current=!1),ye==null||ye(dt)},He=function(dt){ue(!0),I==null||I(dt)},Bt=function(dt){W.current&&(W.current=!1),ue(!1),Z==null||Z(dt)},Pt=function(dt){F(""),B(),Q.current&&(0,H.rJ)(Q.current,dt,k)},ke=Ye&&"".concat(h,"-out-of-range"),Ut=function(){var dt=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return U.createElement("input",(0,O.Z)({autoComplete:N},dt,{onChange:Me,onFocus:He,onBlur:Bt,onKeyDown:st,onKeyUp:Xe,className:p()(h,(0,K.Z)({},"".concat(h,"-disabled"),w),Te==null?void 0:Te.input),style:ze==null?void 0:ze.input,ref:Q,size:R,type:le,onCompositionStart:function(fn){re.current=!0,Ge==null||Ge(fn)},onCompositionEnd:Ie}))},_n=function(){var dt=Number(Ce)>0;if(n||oe.show){var Kt=oe.showFormatter?oe.showFormatter({value:ee,count:Ze,maxLength:Ce}):"".concat(Ze).concat(dt?" / ".concat(Ce):"");return U.createElement(U.Fragment,null,oe.show&&U.createElement("span",{className:p()("".concat(h,"-show-count-suffix"),(0,K.Z)({},"".concat(h,"-show-count-has-suffix"),!!n),Te==null?void 0:Te.count),style:(0,P.Z)({},ze==null?void 0:ze.count)},Kt),n)}return null};return U.createElement(s,(0,O.Z)({},Ee,{prefixCls:h,className:p()(D,ke),handleReset:Pt,value:ee,focused:pe,triggerFocus:B,suffix:_n(),disabled:w,classes:xe,classNames:Te,styles:ze}),Ut())}),_=S,m=_},30292:function(Lt,Ae,u){"use strict";u.d(Ae,{He:function(){return P},X3:function(){return O},nH:function(){return z},rJ:function(){return Y}});function P(p){return!!(p.addonBefore||p.addonAfter)}function O(p){return!!(p.prefix||p.suffix||p.allowClear)}function K(p,U,H){var e=U.cloneNode(!0),s=Object.create(p,{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(p,U,H,e){if(H){var s=U;if(U.type==="click"){s=K(U,p,""),H(s);return}if(p.type!=="file"&&e!==void 0){s=K(U,p,e),H(s);return}H(s)}}function z(p,U){if(p){p.focus(U);var H=U||{},e=H.cursor;if(e){var s=p.value.length;switch(e){case"start":p.setSelectionRange(0,0);break;case"end":p.setSelectionRange(s,s);break;default:p.setSelectionRange(0,s)}}}}},28321:function(Lt,Ae,u){"use strict";u.d(Ae,{iz:function(){return J},ck:function(){return Vt},BW:function(){return je},sN:function(){return Vt},Wd:function(){return bn},ZP:function(){return qe},Xl:function(){return $}});var P=u(54476),O=u(20068),K=u(33885),Y=u(94480),z=u(42978),p=u(75931),U=u(92310),H=u.n(U),e=u(83836),s=u(18929),d=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function g(X,fe){return X===void 0?null:"".concat(X,"-").concat(fe)}function E(X){var fe=r.useContext(o);return g(fe,X)}var S=u(80547),_=["children","locked"],m=r.createContext(null);function f(X,fe){var ve=(0,K.Z)({},X);return Object.keys(fe).forEach(function(_e){var me=fe[_e];me!==void 0&&(ve[_e]=me)}),ve}function l(X){var fe=X.children,ve=X.locked,_e=(0,p.Z)(X,_),me=r.useContext(m),Pe=(0,S.Z)(function(){return f(me,_e)},[me,_e],function(Oe,et){return!ve&&(Oe[0]!==et[0]||!(0,d.Z)(Oe[1],et[1],!0))});return r.createElement(m.Provider,{value:Pe},fe)}var N=[],k=r.createContext(null);function I(){return r.useContext(k)}var Z=r.createContext(N);function $(X){var fe=r.useContext(Z);return r.useMemo(function(){return X!==void 0?[].concat((0,Y.Z)(fe),[X]):fe},[fe,X])}var L=r.createContext(null),ye=r.createContext({}),b=ye,h=u(29194);function w(X){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,h.Z)(X)){var ve=X.nodeName.toLowerCase(),_e=["input","select","textarea","button"].includes(ve)||X.isContentEditable||ve==="a"&&!!X.getAttribute("href"),me=X.getAttribute("tabindex"),Pe=Number(me),Oe=null;return me&&!Number.isNaN(Pe)?Oe=Pe:_e&&Oe===null&&(Oe=0),_e&&X.disabled&&(Oe=null),Oe!==null&&(Oe>=0||fe&&Oe<0)}return!1}function R(X){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ve=(0,Y.Z)(X.querySelectorAll("*")).filter(function(_e){return w(_e,fe)});return w(X,fe)&&ve.unshift(X),ve}var D=null;function x(){D=document.activeElement}function n(){D=null}function i(){if(D)try{D.focus()}catch(X){}}function y(X,fe){if(fe.keyCode===9){var ve=R(X),_e=ve[fe.shiftKey?0:ve.length-1],me=_e===document.activeElement||X===document.activeElement;if(me){var Pe=ve[fe.shiftKey?ve.length-1:0];Pe.focus(),fe.preventDefault()}}}var A=u(10228),le=u(16089),xe=A.Z.LEFT,Te=A.Z.RIGHT,ze=A.Z.UP,Ge=A.Z.DOWN,Tt=A.Z.ENTER,Ee=A.Z.ESC,Je=A.Z.HOME,Le=A.Z.END,pe=[ze,Ge,xe,Te];function ue(X,fe,ve,_e){var me,Pe="prev",Oe="next",et="children",ut="parent";if(X==="inline"&&_e===Tt)return{inlineTrigger:!0};var gt=(0,O.Z)((0,O.Z)({},ze,Pe),Ge,Oe),on=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},xe,ve?Oe:Pe),Te,ve?Pe:Oe),Ge,et),Tt,et),yt=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},ze,Pe),Ge,Oe),Tt,et),Ee,ut),xe,ve?et:ut),Te,ve?ut:et),xt={inline:gt,horizontal:on,vertical:yt,inlineSub:gt,horizontalSub:yt,verticalSub:yt},Mt=(me=xt["".concat(X).concat(fe?"":"Sub")])===null||me===void 0?void 0:me[_e];switch(Mt){case Pe:return{offset:-1,sibling:!0};case Oe:return{offset:1,sibling:!0};case ut:return{offset:-1,sibling:!1};case et:return{offset:1,sibling:!1};default:return null}}function re(X){for(var fe=X;fe;){if(fe.getAttribute("data-menu-list"))return fe;fe=fe.parentElement}return null}function W(X,fe){for(var ve=X||document.activeElement;ve;){if(fe.has(ve))return ve;ve=ve.parentElement}return null}function Q(X,fe){var ve=R(X,!0);return ve.filter(function(_e){return fe.has(_e)})}function c(X,fe,ve){var _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!X)return null;var me=Q(X,fe),Pe=me.length,Oe=me.findIndex(function(et){return ve===et});return _e<0?Oe===-1?Oe=Pe-1:Oe-=1:_e>0&&(Oe+=1),Oe=(Oe+Pe)%Pe,me[Oe]}var B=function(fe,ve){var _e=new Set,me=new Map,Pe=new Map;return fe.forEach(function(Oe){var et=document.querySelector("[data-menu-id='".concat(g(ve,Oe),"']"));et&&(_e.add(et),Pe.set(et,Oe),me.set(Oe,et))}),{elements:_e,key2element:me,element2key:Pe}};function q(X,fe,ve,_e,me,Pe,Oe,et,ut,gt){var on=r.useRef(),yt=r.useRef();yt.current=fe;var xt=function(){le.Z.cancel(on.current)};return r.useEffect(function(){return function(){xt()}},[]),function(Mt){var Ht=Mt.which;if([].concat(pe,[Tt,Ee,Je,Le]).includes(Ht)){var zt=Pe(),bt=B(zt,_e),St=bt,tt=St.elements,lt=St.key2element,ht=St.element2key,$t=lt.get(fe),kt=W($t,tt),jt=ht.get(kt),On=ue(X,Oe(jt,!0).length===1,ve,Ht);if(!On&&Ht!==Je&&Ht!==Le)return;(pe.includes(Ht)||[Je,Le].includes(Ht))&&Mt.preventDefault();var T=function(we){if(we){var ne=we,se=we.querySelector("a");se!=null&&se.getAttribute("href")&&(ne=se);var de=ht.get(we);et(de),xt(),on.current=(0,le.Z)(function(){yt.current===de&&ne.focus()})}};if([Je,Le].includes(Ht)||On.sibling||!kt){var ae;!kt||X==="inline"?ae=me.current:ae=re(kt);var te,ie=Q(ae,tt);Ht===Je?te=ie[0]:Ht===Le?te=ie[ie.length-1]:te=c(ae,tt,kt,On.offset),T(te)}else if(On.inlineTrigger)ut(jt);else if(On.offset>0)ut(jt,!0),xt(),on.current=(0,le.Z)(function(){bt=B(zt,_e);var Ne=kt.getAttribute("aria-controls"),we=document.getElementById(Ne),ne=c(we,bt.elements);T(ne)},5);else if(On.offset<0){var he=Oe(jt,!0),be=he[he.length-2],De=lt.get(be);ut(be,!1),T(De)}}gt==null||gt(Mt)}}function C(X){Promise.resolve().then(X)}var v="__RC_UTIL_PATH_SPLIT__",F=function(fe){return fe.join(v)},ee=function(fe){return fe.split(v)},M="rc-menu-more";function V(){var X=r.useState({}),fe=(0,z.Z)(X,2),ve=fe[1],_e=(0,r.useRef)(new Map),me=(0,r.useRef)(new Map),Pe=r.useState([]),Oe=(0,z.Z)(Pe,2),et=Oe[0],ut=Oe[1],gt=(0,r.useRef)(0),on=(0,r.useRef)(!1),yt=function(){on.current||ve({})},xt=(0,r.useCallback)(function(lt,ht){var $t=F(ht);me.current.set($t,lt),_e.current.set(lt,$t),gt.current+=1;var kt=gt.current;C(function(){kt===gt.current&&yt()})},[]),Mt=(0,r.useCallback)(function(lt,ht){var $t=F(ht);me.current.delete($t),_e.current.delete(lt)},[]),Ht=(0,r.useCallback)(function(lt){ut(lt)},[]),zt=(0,r.useCallback)(function(lt,ht){var $t=_e.current.get(lt)||"",kt=ee($t);return ht&&et.includes(kt[0])&&kt.unshift(M),kt},[et]),bt=(0,r.useCallback)(function(lt,ht){return lt.filter(function($t){return $t!==void 0}).some(function($t){var kt=zt($t,!0);return kt.includes(ht)})},[zt]),St=function(){var ht=(0,Y.Z)(_e.current.keys());return et.length&&ht.push(M),ht},tt=(0,r.useCallback)(function(lt){var ht="".concat(_e.current.get(lt)).concat(v),$t=new Set;return(0,Y.Z)(me.current.keys()).forEach(function(kt){kt.startsWith(ht)&&$t.add(me.current.get(kt))}),$t},[]);return r.useEffect(function(){return function(){on.current=!0}},[]),{registerPath:xt,unregisterPath:Mt,refreshOverflowKeys:Ht,isSubPathKey:bt,getKeyPath:zt,getKeys:St,getSubPathKeys:tt}}function j(X){var fe=r.useRef(X);fe.current=X;var ve=r.useCallback(function(){for(var _e,me=arguments.length,Pe=new Array(me),Oe=0;Oe<me;Oe++)Pe[Oe]=arguments[Oe];return(_e=fe.current)===null||_e===void 0?void 0:_e.call.apply(_e,[fe].concat(Pe))},[]);return X?ve:void 0}var ce=Math.random().toFixed(5).toString().slice(2),oe=0;function Ce(X){var fe=(0,s.Z)(X,{value:X}),ve=(0,z.Z)(fe,2),_e=ve[0],me=ve[1];return r.useEffect(function(){oe+=1;var Pe="".concat(ce,"-").concat(oe);me("rc-menu-uuid-".concat(Pe))},[]),_e}var Ze=u(67732),Ye=u(83652),Ke=u(42403),Me=u(158),Ie=u(2738),st=u(8654);function Xe(X,fe,ve,_e){var me=r.useContext(m),Pe=me.activeKey,Oe=me.onActive,et=me.onInactive,ut={active:Pe===X};return fe||(ut.onMouseEnter=function(gt){ve==null||ve({key:X,domEvent:gt}),Oe(X)},ut.onMouseLeave=function(gt){_e==null||_e({key:X,domEvent:gt}),et(X)}),ut}function He(X){var fe=r.useContext(m),ve=fe.mode,_e=fe.rtl,me=fe.inlineIndent;if(ve!=="inline")return null;var Pe=X;return _e?{paddingRight:Pe*me}:{paddingLeft:Pe*me}}function Bt(X){var fe=X.icon,ve=X.props,_e=X.children,me;return fe===null||fe===!1?null:(typeof fe=="function"?me=r.createElement(fe,(0,K.Z)({},ve)):typeof fe!="boolean"&&(me=fe),me||_e||null)}var Pt=["item"];function ke(X){var fe=X.item,ve=(0,p.Z)(X,Pt);return Object.defineProperty(ve,"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."),fe}}),ve}var Ut=["title","attribute","elementRef"],_n=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Nt=["active"],dt=function(X){(0,Ke.Z)(ve,X);var fe=(0,Me.Z)(ve);function ve(){return(0,Ze.Z)(this,ve),fe.apply(this,arguments)}return(0,Ye.Z)(ve,[{key:"render",value:function(){var me=this.props,Pe=me.title,Oe=me.attribute,et=me.elementRef,ut=(0,p.Z)(me,Ut),gt=(0,Ie.Z)(ut,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Oe,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,P.Z)({},Oe,{title:typeof Pe=="string"?Pe:void 0},gt,{ref:et}))}}]),ve}(r.Component),Kt=r.forwardRef(function(X,fe){var ve=X.style,_e=X.className,me=X.eventKey,Pe=X.warnKey,Oe=X.disabled,et=X.itemIcon,ut=X.children,gt=X.role,on=X.onMouseEnter,yt=X.onMouseLeave,xt=X.onClick,Mt=X.onKeyDown,Ht=X.onFocus,zt=(0,p.Z)(X,_n),bt=E(me),St=r.useContext(m),tt=St.prefixCls,lt=St.onItemClick,ht=St.disabled,$t=St.overflowDisabled,kt=St.itemIcon,jt=St.selectedKeys,On=St.onActive,T=r.useContext(b),ae=T._internalRenderMenuItem,te="".concat(tt,"-item"),ie=r.useRef(),he=r.useRef(),be=ht||Oe,De=(0,st.x1)(fe,he),Ne=$(me),we=function(pt){return{key:me,keyPath:(0,Y.Z)(Ne).reverse(),item:ie.current,domEvent:pt}},ne=et||kt,se=Xe(me,be,on,yt),de=se.active,ge=(0,p.Z)(se,Nt),Se=jt.includes(me),Ue=He(Ne.length),ft=function(pt){if(!be){var dn=we(pt);xt==null||xt(ke(dn)),lt(dn)}},rt=function(pt){if(Mt==null||Mt(pt),pt.which===A.Z.ENTER){var dn=we(pt);xt==null||xt(ke(dn)),lt(dn)}},Rt=function(pt){On(me),Ht==null||Ht(pt)},Ft={};X.role==="option"&&(Ft["aria-selected"]=Se);var Ot=r.createElement(dt,(0,P.Z)({ref:ie,elementRef:De,role:gt===null?"none":gt||"menuitem",tabIndex:Oe?null:-1,"data-menu-id":$t&&bt?null:bt},(0,Ie.Z)(zt,["extra"]),ge,Ft,{component:"li","aria-disabled":Oe,style:(0,K.Z)((0,K.Z)({},Ue),ve),className:H()(te,(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(te,"-active"),de),"".concat(te,"-selected"),Se),"".concat(te,"-disabled"),be),_e),onClick:ft,onKeyDown:rt,onFocus:Rt}),ut,r.createElement(Bt,{props:(0,K.Z)((0,K.Z)({},X),{},{isSelected:Se}),icon:ne}));return ae&&(Ot=ae(Ot,X,{selected:Se})),Ot});function fn(X,fe){var ve=X.eventKey,_e=I(),me=$(ve);return r.useEffect(function(){if(_e)return _e.registerPath(ve,me),function(){_e.unregisterPath(ve,me)}},[me]),_e?null:r.createElement(Kt,(0,P.Z)({},X,{ref:fe}))}var Vt=r.forwardRef(fn),_t=["className","children"],Qt=function(fe,ve){var _e=fe.className,me=fe.children,Pe=(0,p.Z)(fe,_t),Oe=r.useContext(m),et=Oe.prefixCls,ut=Oe.mode,gt=Oe.rtl;return r.createElement("ul",(0,P.Z)({className:H()(et,gt&&"".concat(et,"-rtl"),"".concat(et,"-sub"),"".concat(et,"-").concat(ut==="inline"?"inline":"vertical"),_e),role:"menu"},Pe,{"data-menu-list":!0,ref:ve}),me)},Cn=r.forwardRef(Qt);Cn.displayName="SubMenuList";var At=Cn,ct=u(11592);function Ct(X,fe){return(0,ct.Z)(X).map(function(ve,_e){if(r.isValidElement(ve)){var me,Pe,Oe=ve.key,et=(me=(Pe=ve.props)===null||Pe===void 0?void 0:Pe.eventKey)!==null&&me!==void 0?me:Oe,ut=et==null;ut&&(et="tmp_key-".concat([].concat((0,Y.Z)(fe),[_e]).join("-")));var gt={key:et,eventKey:et};return r.cloneElement(ve,gt)}return ve})}var Kn=u(65030),mn={adjustX:1,adjustY:1},An={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}},vn=null;function Nn(X,fe,ve){if(fe)return fe;if(ve)return ve[X]||ve.other}var Fn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function zn(X){var fe=X.prefixCls,ve=X.visible,_e=X.children,me=X.popup,Pe=X.popupStyle,Oe=X.popupClassName,et=X.popupOffset,ut=X.disabled,gt=X.mode,on=X.onVisibleChange,yt=r.useContext(m),xt=yt.getPopupContainer,Mt=yt.rtl,Ht=yt.subMenuOpenDelay,zt=yt.subMenuCloseDelay,bt=yt.builtinPlacements,St=yt.triggerSubMenuAction,tt=yt.forceSubMenuRender,lt=yt.rootClassName,ht=yt.motion,$t=yt.defaultMotions,kt=r.useState(!1),jt=(0,z.Z)(kt,2),On=jt[0],T=jt[1],ae=Mt?(0,K.Z)((0,K.Z)({},Wn),bt):(0,K.Z)((0,K.Z)({},An),bt),te=Fn[gt],ie=Nn(gt,ht,$t),he=r.useRef(ie);gt!=="inline"&&(he.current=ie);var be=(0,K.Z)((0,K.Z)({},he.current),{},{leavedClassName:"".concat(fe,"-hidden"),removeOnLeave:!1,motionAppear:!0}),De=r.useRef();return r.useEffect(function(){return De.current=(0,le.Z)(function(){T(ve)}),function(){le.Z.cancel(De.current)}},[ve]),r.createElement(Kn.Z,{prefixCls:fe,popupClassName:H()("".concat(fe,"-popup"),(0,O.Z)({},"".concat(fe,"-rtl"),Mt),Oe,lt),stretch:gt==="horizontal"?"minWidth":null,getPopupContainer:xt,builtinPlacements:ae,popupPlacement:te,popupVisible:On,popup:me,popupStyle:Pe,popupAlign:et&&{offset:et},action:ut?[]:[St],mouseEnterDelay:Ht,mouseLeaveDelay:zt,onPopupVisibleChange:on,forceRender:tt,popupMotion:be,fresh:!0},_e)}var Mn=u(77900);function yn(X){var fe=X.id,ve=X.open,_e=X.keyPath,me=X.children,Pe="inline",Oe=r.useContext(m),et=Oe.prefixCls,ut=Oe.forceSubMenuRender,gt=Oe.motion,on=Oe.defaultMotions,yt=Oe.mode,xt=r.useRef(!1);xt.current=yt===Pe;var Mt=r.useState(!xt.current),Ht=(0,z.Z)(Mt,2),zt=Ht[0],bt=Ht[1],St=xt.current?ve:!1;r.useEffect(function(){xt.current&&bt(!1)},[yt]);var tt=(0,K.Z)({},Nn(Pe,gt,on));_e.length>1&&(tt.motionAppear=!1);var lt=tt.onVisibleChanged;return tt.onVisibleChanged=function(ht){return!xt.current&&!ht&&bt(!0),lt==null?void 0:lt(ht)},zt?null:r.createElement(l,{mode:Pe,locked:!xt.current},r.createElement(Mn.default,(0,P.Z)({visible:St},tt,{forceRender:ut,removeOnLeave:!1,leavedClassName:"".concat(et,"-hidden")}),function(ht){var $t=ht.className,kt=ht.style;return r.createElement(At,{id:fe,className:$t,style:kt},me)}))}var Zn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],at=["active"],nt=r.forwardRef(function(X,fe){var ve=X.style,_e=X.className,me=X.title,Pe=X.eventKey,Oe=X.warnKey,et=X.disabled,ut=X.internalPopupClose,gt=X.children,on=X.itemIcon,yt=X.expandIcon,xt=X.popupClassName,Mt=X.popupOffset,Ht=X.popupStyle,zt=X.onClick,bt=X.onMouseEnter,St=X.onMouseLeave,tt=X.onTitleClick,lt=X.onTitleMouseEnter,ht=X.onTitleMouseLeave,$t=(0,p.Z)(X,Zn),kt=E(Pe),jt=r.useContext(m),On=jt.prefixCls,T=jt.mode,ae=jt.openKeys,te=jt.disabled,ie=jt.overflowDisabled,he=jt.activeKey,be=jt.selectedKeys,De=jt.itemIcon,Ne=jt.expandIcon,we=jt.onItemClick,ne=jt.onOpenChange,se=jt.onActive,de=r.useContext(b),ge=de._internalRenderSubMenuItem,Se=r.useContext(L),Ue=Se.isSubPathKey,ft=$(),rt="".concat(On,"-submenu"),Rt=te||et,Ft=r.useRef(),Ot=r.useRef(),Yt=on!=null?on:De,pt=yt!=null?yt:Ne,dn=ae.includes(Pe),rn=!ie&&dn,hn=Ue(be,Pe),Gt=Xe(Pe,Rt,lt,ht),tn=Gt.active,pn=(0,p.Z)(Gt,at),an=r.useState(!1),un=(0,z.Z)(an,2),It=un[0],vt=un[1],Dt=function(Sn){Rt||vt(Sn)},Xt=function(Sn){Dt(!0),bt==null||bt({key:Pe,domEvent:Sn})},cn=function(Sn){Dt(!1),St==null||St({key:Pe,domEvent:Sn})},sn=r.useMemo(function(){return tn||(T!=="inline"?It||Ue([he],Pe):!1)},[T,tn,he,It,Pe,Ue]),ln=He(ft.length),Un=function(Sn){Rt||(tt==null||tt({key:Pe,domEvent:Sn}),T==="inline"&&ne(Pe,!dn))},Xn=j(function(wn){zt==null||zt(ke(wn)),we(wn)}),$n=function(Sn){T!=="inline"&&ne(Pe,Sn)},or=function(){se(Pe)},ir=kt&&"".concat(kt,"-popup"),qn=r.useMemo(function(){return r.createElement(Bt,{icon:T!=="horizontal"?pt:void 0,props:(0,K.Z)((0,K.Z)({},X),{},{isOpen:rn,isSubMenu:!0})},r.createElement("i",{className:"".concat(rt,"-arrow")}))},[T,pt,X,rn,rt]),gn=r.createElement("div",(0,P.Z)({role:"menuitem",style:ln,className:"".concat(rt,"-title"),tabIndex:Rt?null:-1,ref:Ft,title:typeof me=="string"?me:null,"data-menu-id":ie&&kt?null:kt,"aria-expanded":rn,"aria-haspopup":!0,"aria-controls":ir,"aria-disabled":Rt,onClick:Un,onFocus:or},pn),me,qn),kn=r.useRef(T);if(T!=="inline"&&ft.length>1?kn.current="vertical":kn.current=T,!ie){var Gn=kn.current;gn=r.createElement(zn,{mode:Gn,prefixCls:rt,visible:!ut&&rn&&T!=="inline",popupClassName:xt,popupOffset:Mt,popupStyle:Ht,popup:r.createElement(l,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(At,{id:ir,ref:Ot},gt)),disabled:Rt,onVisibleChange:$n},gn)}var En=r.createElement(e.Z.Item,(0,P.Z)({ref:fe,role:"none"},$t,{component:"li",style:ve,className:H()(rt,"".concat(rt,"-").concat(T),_e,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(rt,"-open"),rn),"".concat(rt,"-active"),sn),"".concat(rt,"-selected"),hn),"".concat(rt,"-disabled"),Rt)),onMouseEnter:Xt,onMouseLeave:cn}),gn,!ie&&r.createElement(yn,{id:ir,open:rn,keyPath:ft},gt));return ge&&(En=ge(En,X,{selected:hn,active:sn,open:rn,disabled:Rt})),r.createElement(l,{onItemClick:Xn,mode:T==="horizontal"?"vertical":T,itemIcon:Yt,expandIcon:pt},En)}),qt=r.forwardRef(function(X,fe){var ve=X.eventKey,_e=X.children,me=$(ve),Pe=Ct(_e,me),Oe=I();r.useEffect(function(){if(Oe)return Oe.registerPath(ve,me),function(){Oe.unregisterPath(ve,me)}},[me]);var et;return Oe?et=Pe:et=r.createElement(nt,(0,P.Z)({ref:fe},X),Pe),r.createElement(Z.Provider,{value:me},et)}),bn=qt,xn=u(76190);function J(X){var fe=X.className,ve=X.style,_e=r.useContext(m),me=_e.prefixCls,Pe=I();return Pe?null:r.createElement("li",{role:"separator",className:H()("".concat(me,"-item-divider"),fe),style:ve})}var G=["className","title","eventKey","children"],Fe=r.forwardRef(function(X,fe){var ve=X.className,_e=X.title,me=X.eventKey,Pe=X.children,Oe=(0,p.Z)(X,G),et=r.useContext(m),ut=et.prefixCls,gt="".concat(ut,"-item-group");return r.createElement("li",(0,P.Z)({ref:fe,role:"presentation"},Oe,{onClick:function(yt){return yt.stopPropagation()},className:H()(gt,ve)}),r.createElement("div",{role:"presentation",className:"".concat(gt,"-title"),title:typeof _e=="string"?_e:void 0},_e),r.createElement("ul",{role:"group",className:"".concat(gt,"-list")},Pe))}),Re=r.forwardRef(function(X,fe){var ve=X.eventKey,_e=X.children,me=$(ve),Pe=Ct(_e,me),Oe=I();return Oe?Pe:r.createElement(Fe,(0,P.Z)({ref:fe},(0,Ie.Z)(X,["warnKey"])),Pe)}),je=Re,$e=["label","children","key","type","extra"];function Ve(X,fe,ve){var _e=fe.item,me=fe.group,Pe=fe.submenu,Oe=fe.divider;return(X||[]).map(function(et,ut){if(et&&(0,xn.Z)(et)==="object"){var gt=et,on=gt.label,yt=gt.children,xt=gt.key,Mt=gt.type,Ht=gt.extra,zt=(0,p.Z)(gt,$e),bt=xt!=null?xt:"tmp-".concat(ut);return yt||Mt==="group"?Mt==="group"?r.createElement(me,(0,P.Z)({key:bt},zt,{title:on}),Ve(yt,fe,ve)):r.createElement(Pe,(0,P.Z)({key:bt},zt,{title:on}),Ve(yt,fe,ve)):Mt==="divider"?r.createElement(Oe,(0,P.Z)({key:bt},zt)):r.createElement(_e,(0,P.Z)({key:bt},zt,{extra:Ht}),on,(!!Ht||Ht===0)&&r.createElement("span",{className:"".concat(ve,"-item-extra")},Ht))}return null}).filter(function(et){return et})}function Be(X,fe,ve,_e,me){var Pe=X,Oe=(0,K.Z)({divider:J,item:Vt,group:je,submenu:bn},_e);return fe&&(Pe=Ve(fe,Oe,me)),Ct(Pe,ve)}var it=["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=[],Qe=r.forwardRef(function(X,fe){var ve,_e=X,me=_e.prefixCls,Pe=me===void 0?"rc-menu":me,Oe=_e.rootClassName,et=_e.style,ut=_e.className,gt=_e.tabIndex,on=gt===void 0?0:gt,yt=_e.items,xt=_e.children,Mt=_e.direction,Ht=_e.id,zt=_e.mode,bt=zt===void 0?"vertical":zt,St=_e.inlineCollapsed,tt=_e.disabled,lt=_e.disabledOverflow,ht=_e.subMenuOpenDelay,$t=ht===void 0?.1:ht,kt=_e.subMenuCloseDelay,jt=kt===void 0?.1:kt,On=_e.forceSubMenuRender,T=_e.defaultOpenKeys,ae=_e.openKeys,te=_e.activeKey,ie=_e.defaultActiveFirst,he=_e.selectable,be=he===void 0?!0:he,De=_e.multiple,Ne=De===void 0?!1:De,we=_e.defaultSelectedKeys,ne=_e.selectedKeys,se=_e.onSelect,de=_e.onDeselect,ge=_e.inlineIndent,Se=ge===void 0?24:ge,Ue=_e.motion,ft=_e.defaultMotions,rt=_e.triggerSubMenuAction,Rt=rt===void 0?"hover":rt,Ft=_e.builtinPlacements,Ot=_e.itemIcon,Yt=_e.expandIcon,pt=_e.overflowedIndicator,dn=pt===void 0?"...":pt,rn=_e.overflowedIndicatorPopupClassName,hn=_e.getPopupContainer,Gt=_e.onClick,tn=_e.onOpenChange,pn=_e.onKeyDown,an=_e.openAnimation,un=_e.openTransitionName,It=_e._internalRenderMenuItem,vt=_e._internalRenderSubMenuItem,Dt=_e._internalComponents,Xt=(0,p.Z)(_e,it),cn=r.useMemo(function(){return[Be(xt,yt,We,Dt,Pe),Be(xt,yt,We,{},Pe)]},[xt,yt,Dt]),sn=(0,z.Z)(cn,2),ln=sn[0],Un=sn[1],Xn=r.useState(!1),$n=(0,z.Z)(Xn,2),or=$n[0],ir=$n[1],qn=r.useRef(),gn=Ce(Ht),kn=Mt==="rtl",Gn=(0,s.Z)(T,{value:ae,postState:function(Vn){return Vn||We}}),En=(0,z.Z)(Gn,2),wn=En[0],Sn=En[1],Et=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vr(){Sn(Vn),tn==null||tn(Vn)}Yn?(0,a.flushSync)(vr):vr()},Jt=r.useState(wn),en=(0,z.Z)(Jt,2),nn=en[0],Pn=en[1],In=r.useRef(!1),ar=r.useMemo(function(){return(bt==="inline"||bt==="vertical")&&St?["vertical",St]:[bt,!1]},[bt,St]),mt=(0,z.Z)(ar,2),Wt=mt[0],Zt=mt[1],Tn=Wt==="inline",Bn=r.useState(Wt),Hn=(0,z.Z)(Bn,2),cr=Hn[0],dr=Hn[1],lr=r.useState(Zt),Jn=(0,z.Z)(lr,2),Fr=Jn[0],Br=Jn[1];r.useEffect(function(){dr(Wt),Br(Zt),In.current&&(Tn?Sn(nn):Et(We))},[Wt,Zt]);var Sr=r.useState(0),Tr=(0,z.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ar=Nr>=ln.length-1||cr!=="horizontal"||lt;r.useEffect(function(){Tn&&Pn(wn)},[wn]),r.useEffect(function(){return In.current=!0,function(){In.current=!1}},[]);var br=V(),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)(te||ie&&((ve=ln[0])===null||ve===void 0?void 0:ve.key),{value:te}),hr=(0,z.Z)(Dr,2),ur=hr[0],Dn=hr[1],Rn=j(function(tr){Dn(tr)}),nr=j(function(){Dn(void 0)});(0,r.useImperativeHandle)(fe,function(){return{list:qn.current,focus:function(Vn){var Yn,vr=Ir(),fr=B(vr,gn),Cr=fr.elements,Xr=fr.key2element,ei=fr.element2key,ti=Q(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)(we||[],{value:ne,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?We:[Vn]}}),er=(0,z.Z)(Qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(be){var Yn=Vn.key,vr=rr.includes(Yn),fr;Ne?vr?fr=rr.filter(function(Xr){return Xr!==Yn}):fr=[].concat((0,Y.Z)(rr),[Yn]):fr=[Yn],yr(fr);var Cr=(0,K.Z)((0,K.Z)({},Vn),{},{selectedKeys:fr});vr?de==null||de(Cr):se==null||se(Cr)}!Ne&&wn.length&&cr!=="inline"&&Et(We)},xr=j(function(tr){Gt==null||Gt(ke(tr)),gr(tr)}),sr=j(function(tr,Vn){var Yn=wn.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,d.Z)(wn,Yn,!0)||Et(Yn,!0)}),mr=function(Vn,Yn){var vr=Yn!=null?Yn:!wn.includes(Vn);sr(Vn,vr)},Rr=q(cr,ur,kn,gn,qn,Ir,$r,Dn,mr,pn);r.useEffect(function(){ir(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:It,_internalRenderSubMenuItem:vt}},[It,vt]),Yr=cr!=="horizontal"||lt?ln:ln.map(function(tr,Vn){return r.createElement(l,{key:tr.key,overflowDisabled:Vn>Nr},tr)}),qr=r.createElement(e.Z,(0,P.Z)({id:Ht,ref:qn,prefixCls:"".concat(Pe,"-overflow"),component:"ul",itemComponent:Vt,className:H()(Pe,"".concat(Pe,"-root"),"".concat(Pe,"-").concat(cr),ut,(0,O.Z)((0,O.Z)({},"".concat(Pe,"-inline-collapsed"),Fr),"".concat(Pe,"-rtl"),kn),Oe),dir:Mt,style:et,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(bn,{eventKey:M,title:dn,disabled:Ar,internalPopupClose:Yn===0,popupClassName:rn},vr)},maxCount:cr!=="horizontal"||lt?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:Pe,rootClassName:Oe,mode:cr,openKeys:wn,rtl:kn,disabled:tt,motion:or?Ue:null,defaultMotions:or?ft:null,activeKey:ur,onActive:Rn,onInactive:nr,selectedKeys:rr,inlineIndent:Se,subMenuOpenDelay:$t,subMenuCloseDelay:jt,forceSubMenuRender:On,builtinPlacements:Ft,triggerSubMenuAction:Rt,getPopupContainer:hn,itemIcon:Ot,expandIcon:Yt,onItemClick:xr,onOpenChange:sr},r.createElement(L.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(k.Provider,{value:jr},Un)))))}),ot=Qe,wt=ot;wt.Item=Vt,wt.SubMenu=bn,wt.ItemGroup=je,wt.Divider=J;var qe=wt},83836:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return x}});var P=u(54476),O=u(33885),K=u(42978),Y=u(75931),z=u(59301),p=u(92310),U=u.n(p),H=u(29301),e=u(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],d=void 0;function t(n,i){var y=n.prefixCls,A=n.invalidate,le=n.item,xe=n.renderItem,Te=n.responsive,ze=n.responsiveDisabled,Ge=n.registerSize,Tt=n.itemKey,Ee=n.className,Je=n.style,Le=n.children,pe=n.display,ue=n.order,re=n.component,W=re===void 0?"div":re,Q=(0,Y.Z)(n,s),c=Te&&!pe;function B(ee){Ge(Tt,ee)}z.useEffect(function(){return function(){B(null)}},[]);var q=xe&&le!==d?xe(le,{index:ue}):Le,C;A||(C={opacity:c?0:1,height:c?0:d,overflowY:c?"hidden":d,order:Te?ue:d,pointerEvents:c?"none":d,position:c?"absolute":d});var v={};c&&(v["aria-hidden"]=!0);var F=z.createElement(W,(0,P.Z)({className:U()(!A&&y,Ee),style:(0,O.Z)((0,O.Z)({},C),Je)},v,Q,{ref:i}),q);return Te&&(F=z.createElement(H.Z,{onResize:function(M){var V=M.offsetWidth;B(V)},disabled:ze},F)),F}var r=z.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),g=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 _(){var n=z.useRef(null),i=function(A){n.current||(n.current=[],S(function(){(0,g.unstable_batchedUpdates)(function(){n.current.forEach(function(le){le()}),n.current=null})})),n.current.push(A)};return i}function m(n,i){var y=z.useState(i),A=(0,K.Z)(y,2),le=A[0],xe=A[1],Te=(0,o.Z)(function(ze){n(function(){xe(ze)})});return[le,Te]}var f=z.createContext(null),l=["component"],N=["className"],k=["className"],I=function(i,y){var A=z.useContext(f);if(!A){var le=i.component,xe=le===void 0?"div":le,Te=(0,Y.Z)(i,l);return z.createElement(xe,(0,P.Z)({},Te,{ref:y}))}var ze=A.className,Ge=(0,Y.Z)(A,N),Tt=i.className,Ee=(0,Y.Z)(i,k);return z.createElement(f.Provider,{value:null},z.createElement(a,(0,P.Z)({ref:y,className:U()(ze,Tt)},Ge,Ee)))},Z=z.forwardRef(I);Z.displayName="RawItem";var $=Z,L=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],ye="responsive",b="invalidate";function h(n){return"+ ".concat(n.length," ...")}function w(n,i){var y=n.prefixCls,A=y===void 0?"rc-overflow":y,le=n.data,xe=le===void 0?[]:le,Te=n.renderItem,ze=n.renderRawItem,Ge=n.itemKey,Tt=n.itemWidth,Ee=Tt===void 0?10:Tt,Je=n.ssr,Le=n.style,pe=n.className,ue=n.maxCount,re=n.renderRest,W=n.renderRawRest,Q=n.prefix,c=n.suffix,B=n.component,q=B===void 0?"div":B,C=n.itemComponent,v=n.onVisibleChange,F=(0,Y.Z)(n,L),ee=Je==="full",M=_(),V=m(M,null),j=(0,K.Z)(V,2),ce=j[0],oe=j[1],Ce=ce||0,Ze=m(M,new Map),Ye=(0,K.Z)(Ze,2),Ke=Ye[0],Me=Ye[1],Ie=m(M,0),st=(0,K.Z)(Ie,2),Xe=st[0],He=st[1],Bt=m(M,0),Pt=(0,K.Z)(Bt,2),ke=Pt[0],Ut=Pt[1],_n=m(M,0),Nt=(0,K.Z)(_n,2),dt=Nt[0],Kt=Nt[1],fn=m(M,0),Vt=(0,K.Z)(fn,2),_t=Vt[0],Qt=Vt[1],Cn=(0,z.useState)(null),At=(0,K.Z)(Cn,2),ct=At[0],Ct=At[1],Kn=(0,z.useState)(null),mn=(0,K.Z)(Kn,2),An=mn[0],Wn=mn[1],vn=z.useMemo(function(){return An===null&&ee?Number.MAX_SAFE_INTEGER:An||0},[An,ce]),Nn=(0,z.useState)(!1),Fn=(0,K.Z)(Nn,2),zn=Fn[0],Mn=Fn[1],yn="".concat(A,"-item"),Zn=Math.max(Xe,ke),at=ue===ye,nt=xe.length&&at,qt=ue===b,bn=nt||typeof ue=="number"&&xe.length>ue,xn=(0,z.useMemo)(function(){var me=xe;return nt?ce===null&&ee?me=xe:me=xe.slice(0,Math.min(xe.length,Ce/Ee)):typeof ue=="number"&&(me=xe.slice(0,ue)),me},[xe,Ee,ce,ue,nt]),J=(0,z.useMemo)(function(){return nt?xe.slice(vn+1):xe.slice(xn.length)},[xe,xn,nt,vn]),G=(0,z.useCallback)(function(me,Pe){var Oe;return typeof Ge=="function"?Ge(me):(Oe=Ge&&(me==null?void 0:me[Ge]))!==null&&Oe!==void 0?Oe:Pe},[Ge]),Fe=(0,z.useCallback)(Te||function(me){return me},[Te]);function Re(me,Pe,Oe){An===me&&(Pe===void 0||Pe===ct)||(Wn(me),Oe||(Mn(me<xe.length-1),v==null||v(me)),Pe!==void 0&&Ct(Pe))}function je(me,Pe){oe(Pe.clientWidth)}function $e(me,Pe){Me(function(Oe){var et=new Map(Oe);return Pe===null?et.delete(me):et.set(me,Pe),et})}function Ve(me,Pe){Ut(Pe),He(ke)}function Be(me,Pe){Kt(Pe)}function it(me,Pe){Qt(Pe)}function We(me){return Ke.get(G(xn[me],me))}(0,e.Z)(function(){if(Ce&&typeof Zn=="number"&&xn){var me=dt+_t,Pe=xn.length,Oe=Pe-1;if(!Pe){Re(0,null);return}for(var et=0;et<Pe;et+=1){var ut=We(et);if(ee&&(ut=ut||0),ut===void 0){Re(et-1,void 0,!0);break}if(me+=ut,Oe===0&&me<=Ce||et===Oe-1&&me+We(Oe)<=Ce){Re(Oe,null);break}else if(me+Zn>Ce){Re(et-1,me-ut-_t+ke);break}}c&&We(0)+_t>Ce&&Ct(null)}},[Ce,Ke,ke,dt,_t,G,xn]);var Qe=zn&&!!J.length,ot={};ct!==null&&nt&&(ot={position:"absolute",left:ct,top:0});var wt={prefixCls:yn,responsive:nt,component:C,invalidate:qt},qe=ze?function(me,Pe){var Oe=G(me,Pe);return z.createElement(f.Provider,{key:Oe,value:(0,O.Z)((0,O.Z)({},wt),{},{order:Pe,item:me,itemKey:Oe,registerSize:$e,display:Pe<=vn})},ze(me,Pe))}:function(me,Pe){var Oe=G(me,Pe);return z.createElement(a,(0,P.Z)({},wt,{order:Pe,key:Oe,item:me,renderItem:Fe,itemKey:Oe,registerSize:$e,display:Pe<=vn}))},X={order:Qe?vn:Number.MAX_SAFE_INTEGER,className:"".concat(yn,"-rest"),registerSize:Ve,display:Qe},fe=re||h,ve=W?z.createElement(f.Provider,{value:(0,O.Z)((0,O.Z)({},wt),X)},W(J)):z.createElement(a,(0,P.Z)({},wt,X),typeof fe=="function"?fe(J):fe),_e=z.createElement(q,(0,P.Z)({className:U()(!qt&&A,pe),style:Le,ref:i},F),Q&&z.createElement(a,(0,P.Z)({},wt,{responsive:at,responsiveDisabled:!nt,order:-1,className:"".concat(yn,"-prefix"),registerSize:Be,display:!0}),Q),xn.map(qe),bn?ve:null,c&&z.createElement(a,(0,P.Z)({},wt,{responsive:at,responsiveDisabled:!nt,order:vn,className:"".concat(yn,"-suffix"),registerSize:it,display:!0,style:ot}),c));return at?z.createElement(H.Z,{onResize:je,disabled:!nt},_e):_e}var R=z.forwardRef(w);R.displayName="Overflow",R.Item=$,R.RESPONSIVE=ye,R.INVALIDATE=b;var D=R,x=D},23425:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return k}});var P=u(20068),O=u(54476),K=u(76190),Y=u(33885),z=u(42978),p=u(92310),U=u.n(p),H=u(18929),e=u(10228),s=u(26112),d=u(48736),t=u(59301),r=u(17119),a=[10,20,50,100],o=function(Z){var $=Z.pageSizeOptions,L=$===void 0?a:$,ye=Z.locale,b=Z.changeSize,h=Z.pageSize,w=Z.goButton,R=Z.quickGo,D=Z.rootPrefixCls,x=Z.disabled,n=Z.buildOptionText,i=Z.showSizeChanger,y=Z.sizeChangerRender,A=t.useState(""),le=(0,z.Z)(A,2),xe=le[0],Te=le[1],ze=function(){return!xe||Number.isNaN(xe)?void 0:Number(xe)},Ge=typeof n=="function"?n:function(Q){return"".concat(Q," ").concat(ye.items_per_page)},Tt=function(c){Te(c.target.value)},Ee=function(c){w||xe===""||(Te(""),!(c.relatedTarget&&(c.relatedTarget.className.indexOf("".concat(D,"-item-link"))>=0||c.relatedTarget.className.indexOf("".concat(D,"-item"))>=0))&&(R==null||R(ze())))},Je=function(c){xe!==""&&(c.keyCode===e.Z.ENTER||c.type==="click")&&(Te(""),R==null||R(ze()))},Le=function(){return L.some(function(c){return c.toString()===h.toString()})?L:L.concat([h]).sort(function(c,B){var q=Number.isNaN(Number(c))?0:Number(c),C=Number.isNaN(Number(B))?0:Number(B);return q-C})},pe="".concat(D,"-options");if(!i&&!R)return null;var ue=null,re=null,W=null;return i&&y&&(ue=y({disabled:x,size:h,onSizeChange:function(c){b==null||b(Number(c))},"aria-label":ye.page_size,className:"".concat(pe,"-size-changer"),options:Le().map(function(Q){return{label:Ge(Q),value:Q}})})),R&&(w&&(W=typeof w=="boolean"?t.createElement("button",{type:"button",onClick:Je,onKeyUp:Je,disabled:x,className:"".concat(pe,"-quick-jumper-button")},ye.jump_to_confirm):t.createElement("span",{onClick:Je,onKeyUp:Je},w)),re=t.createElement("div",{className:"".concat(pe,"-quick-jumper")},ye.jump_to,t.createElement("input",{disabled:x,type:"text",value:xe,onChange:Tt,onKeyUp:Je,onBlur:Ee,"aria-label":ye.page}),ye.page,W)),t.createElement("li",{className:pe},ue,re)},g=o,E=function(Z){var $=Z.rootPrefixCls,L=Z.page,ye=Z.active,b=Z.className,h=Z.showTitle,w=Z.onClick,R=Z.onKeyPress,D=Z.itemRender,x="".concat($,"-item"),n=U()(x,"".concat(x,"-").concat(L),(0,P.Z)((0,P.Z)({},"".concat(x,"-active"),ye),"".concat(x,"-disabled"),!L),b),i=function(){w(L)},y=function(xe){R(xe,w,L)},A=D(L,"page",t.createElement("a",{rel:"nofollow"},L));return A?t.createElement("li",{title:h?String(L):null,className:n,onClick:i,onKeyDown:y,tabIndex:0},A):null},S=E,_=function(Z,$,L){return L};function m(){}function f(I){var Z=Number(I);return typeof Z=="number"&&!Number.isNaN(Z)&&isFinite(Z)&&Math.floor(Z)===Z}function l(I,Z,$){var L=typeof I=="undefined"?Z:I;return Math.floor(($-1)/L)+1}var N=function(Z){var $=Z.prefixCls,L=$===void 0?"rc-pagination":$,ye=Z.selectPrefixCls,b=ye===void 0?"rc-select":ye,h=Z.className,w=Z.current,R=Z.defaultCurrent,D=R===void 0?1:R,x=Z.total,n=x===void 0?0:x,i=Z.pageSize,y=Z.defaultPageSize,A=y===void 0?10:y,le=Z.onChange,xe=le===void 0?m:le,Te=Z.hideOnSinglePage,ze=Z.align,Ge=Z.showPrevNextJumpers,Tt=Ge===void 0?!0:Ge,Ee=Z.showQuickJumper,Je=Z.showLessItems,Le=Z.showTitle,pe=Le===void 0?!0:Le,ue=Z.onShowSizeChange,re=ue===void 0?m:ue,W=Z.locale,Q=W===void 0?r.Z:W,c=Z.style,B=Z.totalBoundaryShowSizeChanger,q=B===void 0?50:B,C=Z.disabled,v=Z.simple,F=Z.showTotal,ee=Z.showSizeChanger,M=ee===void 0?n>q:ee,V=Z.sizeChangerRender,j=Z.pageSizeOptions,ce=Z.itemRender,oe=ce===void 0?_:ce,Ce=Z.jumpPrevIcon,Ze=Z.jumpNextIcon,Ye=Z.prevIcon,Ke=Z.nextIcon,Me=t.useRef(null),Ie=(0,H.Z)(10,{value:i,defaultValue:A}),st=(0,z.Z)(Ie,2),Xe=st[0],He=st[1],Bt=(0,H.Z)(1,{value:w,defaultValue:D,postState:function(lt){return Math.max(1,Math.min(lt,l(void 0,Xe,n)))}}),Pt=(0,z.Z)(Bt,2),ke=Pt[0],Ut=Pt[1],_n=t.useState(ke),Nt=(0,z.Z)(_n,2),dt=Nt[0],Kt=Nt[1];(0,t.useEffect)(function(){Kt(ke)},[ke]);var fn=xe!==m,Vt="current"in Z,_t=Math.max(1,ke-(Je?3:5)),Qt=Math.min(l(void 0,Xe,n),ke+(Je?3:5));function Cn(tt,lt){var ht=tt||t.createElement("button",{type:"button","aria-label":lt,className:"".concat(L,"-item-link")});return typeof tt=="function"&&(ht=t.createElement(tt,(0,Y.Z)({},Z))),ht}function At(tt){var lt=tt.target.value,ht=l(void 0,Xe,n),$t;return lt===""?$t=lt:Number.isNaN(Number(lt))?$t=dt:lt>=ht?$t=ht:$t=Number(lt),$t}function ct(tt){return f(tt)&&tt!==ke&&f(n)&&n>0}var Ct=n>Xe?Ee:!1;function Kn(tt){(tt.keyCode===e.Z.UP||tt.keyCode===e.Z.DOWN)&&tt.preventDefault()}function mn(tt){var lt=At(tt);switch(lt!==dt&&Kt(lt),tt.keyCode){case e.Z.ENTER:vn(lt);break;case e.Z.UP:vn(lt-1);break;case e.Z.DOWN:vn(lt+1);break;default:break}}function An(tt){vn(At(tt))}function Wn(tt){var lt=l(tt,Xe,n),ht=ke>lt&&lt!==0?lt:ke;He(tt),Kt(ht),re==null||re(ke,tt),Ut(ht),xe==null||xe(ht,tt)}function vn(tt){if(ct(tt)&&!C){var lt=l(void 0,Xe,n),ht=tt;return tt>lt?ht=lt:tt<1&&(ht=1),ht!==dt&&Kt(ht),Ut(ht),xe==null||xe(ht,Xe),ht}return ke}var Nn=ke>1,Fn=ke<l(void 0,Xe,n);function zn(){Nn&&vn(ke-1)}function Mn(){Fn&&vn(ke+1)}function yn(){vn(_t)}function Zn(){vn(Qt)}function at(tt,lt){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];lt.apply(void 0,$t)}}function nt(tt){at(tt,zn)}function qt(tt){at(tt,Mn)}function bn(tt){at(tt,yn)}function xn(tt){at(tt,Zn)}function J(tt){var lt=oe(tt,"prev",Cn(Ye,"prev page"));return t.isValidElement(lt)?t.cloneElement(lt,{disabled:!Nn}):lt}function G(tt){var lt=oe(tt,"next",Cn(Ke,"next page"));return t.isValidElement(lt)?t.cloneElement(lt,{disabled:!Fn}):lt}function Fe(tt){(tt.type==="click"||tt.keyCode===e.Z.ENTER)&&vn(dt)}var Re=null,je=(0,s.Z)(Z,{aria:!0,data:!0}),$e=F&&t.createElement("li",{className:"".concat(L,"-total-text")},F(n,[n===0?0:(ke-1)*Xe+1,ke*Xe>n?n:ke*Xe])),Ve=null,Be=l(void 0,Xe,n);if(Te&&n<=Xe)return null;var it=[],We={rootPrefixCls:L,onClick:vn,onKeyPress:at,showTitle:pe,itemRender:oe,page:-1},Qe=ke-1>0?ke-1:0,ot=ke+1<Be?ke+1:Be,wt=Ee&&Ee.goButton,qe=(0,K.Z)(v)==="object"?v.readOnly:!v,X=wt,fe=null;v&&(wt&&(typeof wt=="boolean"?X=t.createElement("button",{type:"button",onClick:Fe,onKeyUp:Fe},Q.jump_to_confirm):X=t.createElement("span",{onClick:Fe,onKeyUp:Fe},wt),X=t.createElement("li",{title:pe?"".concat(Q.jump_to).concat(ke,"/").concat(Be):null,className:"".concat(L,"-simple-pager")},X)),fe=t.createElement("li",{title:pe?"".concat(ke,"/").concat(Be):null,className:"".concat(L,"-simple-pager")},qe?dt:t.createElement("input",{type:"text","aria-label":Q.jump_to,value:dt,disabled:C,onKeyDown:Kn,onKeyUp:mn,onChange:mn,onBlur:An,size:3}),t.createElement("span",{className:"".concat(L,"-slash")},"/"),Be));var ve=Je?1:2;if(Be<=3+ve*2){Be||it.push(t.createElement(S,(0,O.Z)({},We,{key:"noPager",page:1,className:"".concat(L,"-item-disabled")})));for(var _e=1;_e<=Be;_e+=1)it.push(t.createElement(S,(0,O.Z)({},We,{key:_e,page:_e,active:ke===_e})))}else{var me=Je?Q.prev_3:Q.prev_5,Pe=Je?Q.next_3:Q.next_5,Oe=oe(_t,"jump-prev",Cn(Ce,"prev page")),et=oe(Qt,"jump-next",Cn(Ze,"next page"));Tt&&(Re=Oe?t.createElement("li",{title:pe?me:null,key:"prev",onClick:yn,tabIndex:0,onKeyDown:bn,className:U()("".concat(L,"-jump-prev"),(0,P.Z)({},"".concat(L,"-jump-prev-custom-icon"),!!Ce))},Oe):null,Ve=et?t.createElement("li",{title:pe?Pe:null,key:"next",onClick:Zn,tabIndex:0,onKeyDown:xn,className:U()("".concat(L,"-jump-next"),(0,P.Z)({},"".concat(L,"-jump-next-custom-icon"),!!Ze))},et):null);var ut=Math.max(1,ke-ve),gt=Math.min(ke+ve,Be);ke-1<=ve&&(gt=1+ve*2),Be-ke<=ve&&(ut=Be-ve*2);for(var on=ut;on<=gt;on+=1)it.push(t.createElement(S,(0,O.Z)({},We,{key:on,page:on,active:ke===on})));if(ke-1>=ve*2&&ke!==3&&(it[0]=t.cloneElement(it[0],{className:U()("".concat(L,"-item-after-jump-prev"),it[0].props.className)}),it.unshift(Re)),Be-ke>=ve*2&&ke!==Be-2){var yt=it[it.length-1];it[it.length-1]=t.cloneElement(yt,{className:U()("".concat(L,"-item-before-jump-next"),yt.props.className)}),it.push(Ve)}ut!==1&&it.unshift(t.createElement(S,(0,O.Z)({},We,{key:1,page:1}))),gt!==Be&&it.push(t.createElement(S,(0,O.Z)({},We,{key:Be,page:Be})))}var xt=J(Qe);if(xt){var Mt=!Nn||!Be;xt=t.createElement("li",{title:pe?Q.prev_page:null,onClick:zn,tabIndex:Mt?null:0,onKeyDown:nt,className:U()("".concat(L,"-prev"),(0,P.Z)({},"".concat(L,"-disabled"),Mt)),"aria-disabled":Mt},xt)}var Ht=G(ot);if(Ht){var zt,bt;v?(zt=!Fn,bt=Nn?0:null):(zt=!Fn||!Be,bt=zt?null:0),Ht=t.createElement("li",{title:pe?Q.next_page:null,onClick:Mn,tabIndex:bt,onKeyDown:qt,className:U()("".concat(L,"-next"),(0,P.Z)({},"".concat(L,"-disabled"),zt)),"aria-disabled":zt},Ht)}var St=U()(L,h,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(L,"-start"),ze==="start"),"".concat(L,"-center"),ze==="center"),"".concat(L,"-end"),ze==="end"),"".concat(L,"-simple"),v),"".concat(L,"-disabled"),C));return t.createElement("ul",(0,O.Z)({className:St,style:c,ref:Me},je),$e,xt,v?fe:it,Ht,t.createElement(g,{locale:Q,rootPrefixCls:L,disabled:C,selectPrefixCls:b,changeSize:Wn,pageSize:Xe,pageSizeOptions:j,quickGo:Ct?vn:null,goButton:X,showSizeChanger:M,sizeChangerRender:V}))},k=N},29301:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return b}});var P=u(54476),O=u(59301),K=u(11592),Y=u(48736),z=u(33885),p=u(76190),U=u(76846),H=u(8654),e=O.createContext(null);function s(h){var w=h.children,R=h.onBatchResize,D=O.useRef(0),x=O.useRef([]),n=O.useContext(e),i=O.useCallback(function(y,A,le){D.current+=1;var xe=D.current;x.current.push({size:y,element:A,data:le}),Promise.resolve().then(function(){xe===D.current&&(R==null||R(x.current),x.current=[])}),n==null||n(y,A,le)},[R,n]);return O.createElement(e.Provider,{value:i},w)}var d=u(76374),t=new Map;function r(h){h.forEach(function(w){var R,D=w.target;(R=t.get(D))===null||R===void 0||R.forEach(function(x){return x(D)})})}var a=new d.Z(r),o=null,g=null;function E(h,w){t.has(h)||(t.set(h,new Set),a.observe(h)),t.get(h).add(w)}function S(h,w){t.has(h)&&(t.get(h).delete(w),t.get(h).size||(a.unobserve(h),t.delete(h)))}var _=u(67732),m=u(83652),f=u(42403),l=u(158),N=function(h){(0,f.Z)(R,h);var w=(0,l.Z)(R);function R(){return(0,_.Z)(this,R),w.apply(this,arguments)}return(0,m.Z)(R,[{key:"render",value:function(){return this.props.children}}]),R}(O.Component);function k(h,w){var R=h.children,D=h.disabled,x=O.useRef(null),n=O.useRef(null),i=O.useContext(e),y=typeof R=="function",A=y?R(x):R,le=O.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),xe=!y&&O.isValidElement(A)&&(0,H.Yr)(A),Te=xe?(0,H.C4)(A):null,ze=(0,H.x1)(Te,x),Ge=function(){var Le;return(0,U.ZP)(x.current)||(x.current&&(0,p.Z)(x.current)==="object"?(0,U.ZP)((Le=x.current)===null||Le===void 0?void 0:Le.nativeElement):null)||(0,U.ZP)(n.current)};O.useImperativeHandle(w,function(){return Ge()});var Tt=O.useRef(h);Tt.current=h;var Ee=O.useCallback(function(Je){var Le=Tt.current,pe=Le.onResize,ue=Le.data,re=Je.getBoundingClientRect(),W=re.width,Q=re.height,c=Je.offsetWidth,B=Je.offsetHeight,q=Math.floor(W),C=Math.floor(Q);if(le.current.width!==q||le.current.height!==C||le.current.offsetWidth!==c||le.current.offsetHeight!==B){var v={width:q,height:C,offsetWidth:c,offsetHeight:B};le.current=v;var F=c===Math.round(W)?W:c,ee=B===Math.round(Q)?Q:B,M=(0,z.Z)((0,z.Z)({},v),{},{offsetWidth:F,offsetHeight:ee});i==null||i(M,Je,ue),pe&&Promise.resolve().then(function(){pe(M,Je)})}},[]);return O.useEffect(function(){var Je=Ge();return Je&&!D&&E(Je,Ee),function(){return S(Je,Ee)}},[x.current,D]),O.createElement(N,{ref:n},xe?O.cloneElement(A,{ref:ze}):A)}var I=O.forwardRef(k),Z=I,$="rc-observer-key";function L(h,w){var R=h.children,D=typeof R=="function"?[R]:(0,K.Z)(R);return D.map(function(x,n){var i=(x==null?void 0:x.key)||"".concat($,"-").concat(n);return O.createElement(Z,(0,P.Z)({},h,{key:i,ref:n===0?w:void 0}),x)})}var ye=O.forwardRef(L);ye.Collection=s;var b=ye},6551:function(Lt,Ae,u){"use strict";u.d(Ae,{ZP:function(){return U}});var P=u(42978),O=u(59301),K=u(47273),Y=0,z=(0,K.Z)();function p(){var H;return z?(H=Y,Y+=1):H="TEST_OR_SSR",H}function U(H){var e=O.useState(),s=(0,P.Z)(e,2),d=s[0],t=s[1];return O.useEffect(function(){t("rc_select_".concat(p()))},[]),H||d}},37463:function(Lt,Ae,u){"use strict";u.d(Ae,{Ac:function(){return Ie},Xo:function(){return Xe},Wx:function(){return Bt},ZP:function(){return xn},lk:function(){return m}});var P=u(54476),O=u(94480),K=u(20068),Y=u(33885),z=u(42978),p=u(75931),U=u(76190),H=u(18929),e=u(48736),s=u(59301),d=u(92310),t=u.n(d),r=u(34280),a=u(49658),o=u(8654),g=function(G){var Fe=G.className,Re=G.customizeIcon,je=G.customizeIconProps,$e=G.children,Ve=G.onMouseDown,Be=G.onClick,it=typeof Re=="function"?Re(je):Re;return s.createElement("span",{className:Fe,onMouseDown:function(Qe){Qe.preventDefault(),Ve==null||Ve(Qe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Be,"aria-hidden":!0},it!==void 0?it:s.createElement("span",{className:t()(Fe.split(/\s+/).map(function(We){return"".concat(We,"-icon")}))},$e))},E=g,S=function(G,Fe,Re,je,$e){var Ve=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Be=arguments.length>6?arguments[6]:void 0,it=arguments.length>7?arguments[7]:void 0,We=s.useMemo(function(){if((0,U.Z)(je)==="object")return je.clearIcon;if($e)return $e},[je,$e]),Qe=s.useMemo(function(){return!!(!Ve&&je&&(Re.length||Be)&&!(it==="combobox"&&Be===""))},[je,Ve,Re.length,Be,it]);return{allowClear:Qe,clearIcon:s.createElement(E,{className:"".concat(G,"-clear"),onMouseDown:Fe,customizeIcon:We},"\xD7")}},_=s.createContext(null);function m(){return s.useContext(_)}function f(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,G=s.useState(!1),Fe=(0,z.Z)(G,2),Re=Fe[0],je=Fe[1],$e=s.useRef(null),Ve=function(){window.clearTimeout($e.current)};s.useEffect(function(){return Ve},[]);var Be=function(We,Qe){Ve(),$e.current=window.setTimeout(function(){je(We),Qe&&Qe()},J)};return[Re,Be,Ve]}function l(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,G=s.useRef(null),Fe=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(Fe.current)}},[]);function Re(je){(je||G.current===null)&&(G.current=je),window.clearTimeout(Fe.current),Fe.current=window.setTimeout(function(){G.current=null},J)}return[function(){return G.current},Re]}function N(J,G,Fe,Re){var je=s.useRef(null);je.current={open:G,triggerOpen:Fe,customizedTrigger:Re},s.useEffect(function(){function $e(Ve){var Be;if(!((Be=je.current)!==null&&Be!==void 0&&Be.customizedTrigger)){var it=Ve.target;it.shadowRoot&&Ve.composed&&(it=Ve.composedPath()[0]||it),je.current.open&&J().filter(function(We){return We}).every(function(We){return!We.contains(it)&&We!==it})&&je.current.triggerOpen(!1)}}return window.addEventListener("mousedown",$e),function(){return window.removeEventListener("mousedown",$e)}},[])}var k=u(10228);function I(J){return J&&![k.Z.ESC,k.Z.SHIFT,k.Z.BACKSPACE,k.Z.TAB,k.Z.WIN_KEY,k.Z.ALT,k.Z.META,k.Z.WIN_KEY_RIGHT,k.Z.CTRL,k.Z.SEMICOLON,k.Z.EQUALS,k.Z.CAPS_LOCK,k.Z.CONTEXT_MENU,k.Z.F1,k.Z.F2,k.Z.F3,k.Z.F4,k.Z.F5,k.Z.F6,k.Z.F7,k.Z.F8,k.Z.F9,k.Z.F10,k.Z.F11,k.Z.F12].includes(J)}var Z=u(26112),$=u(83836);function L(J,G,Fe){var Re=(0,Y.Z)((0,Y.Z)({},J),Fe?G:{});return Object.keys(G).forEach(function(je){var $e=G[je];typeof $e=="function"&&(Re[je]=function(){for(var Ve,Be=arguments.length,it=new Array(Be),We=0;We<Be;We++)it[We]=arguments[We];return $e.apply(void 0,it),(Ve=J[je])===null||Ve===void 0?void 0:Ve.call.apply(Ve,[J].concat(it))})}),Re}var ye=L,b=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],h=function(G,Fe){var Re=G.prefixCls,je=G.id,$e=G.inputElement,Ve=G.autoFocus,Be=G.autoComplete,it=G.editable,We=G.activeDescendantId,Qe=G.value,ot=G.open,wt=G.attrs,qe=(0,p.Z)(G,b),X=$e||s.createElement("input",null),fe=X,ve=fe.ref,_e=fe.props;return(0,e.Kp)(!("maxLength"in X.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),X=s.cloneElement(X,(0,Y.Z)((0,Y.Z)((0,Y.Z)({type:"search"},ye(qe,_e,!0)),{},{id:je,ref:(0,o.sQ)(Fe,ve),autoComplete:Be||"off",autoFocus:Ve,className:t()("".concat(Re,"-selection-search-input"),_e==null?void 0:_e.className),role:"combobox","aria-expanded":ot||!1,"aria-haspopup":"listbox","aria-owns":"".concat(je,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(je,"_list"),"aria-activedescendant":ot?We:void 0},wt),{},{value:it?Qe:"",readOnly:!it,unselectable:it?null:"on",style:(0,Y.Z)((0,Y.Z)({},_e.style),{},{opacity:it?null:0})})),X},w=s.forwardRef(h),R=w;function D(J){return Array.isArray(J)?J:J!==void 0?[J]:[]}var x=typeof window!="undefined"&&window.document&&window.document.documentElement,n=x;function i(J){return J!=null}function y(J){return!J&&J!==0}function A(J){return["string","number"].includes((0,U.Z)(J))}function le(J){var G=void 0;return J&&(A(J.title)?G=J.title.toString():A(J.label)&&(G=J.label.toString())),G}function xe(J,G){n?s.useLayoutEffect(J,G):s.useEffect(J,G)}function Te(J){var G;return(G=J.key)!==null&&G!==void 0?G:J.value}var ze=function(G){G.preventDefault(),G.stopPropagation()},Ge=function(G){var Fe=G.id,Re=G.prefixCls,je=G.values,$e=G.open,Ve=G.searchValue,Be=G.autoClearSearchValue,it=G.inputRef,We=G.placeholder,Qe=G.disabled,ot=G.mode,wt=G.showSearch,qe=G.autoFocus,X=G.autoComplete,fe=G.activeDescendantId,ve=G.tabIndex,_e=G.removeIcon,me=G.maxTagCount,Pe=G.maxTagTextLength,Oe=G.maxTagPlaceholder,et=Oe===void 0?function(de){return"+ ".concat(de.length," ...")}:Oe,ut=G.tagRender,gt=G.onToggleOpen,on=G.onRemove,yt=G.onInputChange,xt=G.onInputPaste,Mt=G.onInputKeyDown,Ht=G.onInputMouseDown,zt=G.onInputCompositionStart,bt=G.onInputCompositionEnd,St=G.onInputBlur,tt=s.useRef(null),lt=(0,s.useState)(0),ht=(0,z.Z)(lt,2),$t=ht[0],kt=ht[1],jt=(0,s.useState)(!1),On=(0,z.Z)(jt,2),T=On[0],ae=On[1],te="".concat(Re,"-selection"),ie=$e||ot==="multiple"&&Be===!1||ot==="tags"?Ve:"",he=ot==="tags"||ot==="multiple"&&Be===!1||wt&&($e||T);xe(function(){kt(tt.current.scrollWidth)},[ie]);var be=function(ge,Se,Ue,ft,rt){return s.createElement("span",{title:le(ge),className:t()("".concat(te,"-item"),(0,K.Z)({},"".concat(te,"-item-disabled"),Ue))},s.createElement("span",{className:"".concat(te,"-item-content")},Se),ft&&s.createElement(E,{className:"".concat(te,"-item-remove"),onMouseDown:ze,onClick:rt,customizeIcon:_e},"\xD7"))},De=function(ge,Se,Ue,ft,rt,Rt){var Ft=function(Yt){ze(Yt),gt(!$e)};return s.createElement("span",{onMouseDown:Ft},ut({label:Se,value:ge,disabled:Ue,closable:ft,onClose:rt,isMaxTag:!!Rt}))},Ne=function(ge){var Se=ge.disabled,Ue=ge.label,ft=ge.value,rt=!Qe&&!Se,Rt=Ue;if(typeof Pe=="number"&&(typeof Ue=="string"||typeof Ue=="number")){var Ft=String(Rt);Ft.length>Pe&&(Rt="".concat(Ft.slice(0,Pe),"..."))}var Ot=function(pt){pt&&pt.stopPropagation(),on(ge)};return typeof ut=="function"?De(ft,Rt,Se,rt,Ot):be(ge,Rt,Se,rt,Ot)},we=function(ge){if(!je.length)return null;var Se=typeof et=="function"?et(ge):et;return typeof ut=="function"?De(void 0,Se,!1,!1,void 0,!0):be({title:Se},Se,!1)},ne=s.createElement("div",{className:"".concat(te,"-search"),style:{width:$t},onFocus:function(){ae(!0)},onBlur:function(){ae(!1)}},s.createElement(R,{ref:it,open:$e,prefixCls:Re,id:Fe,inputElement:null,disabled:Qe,autoFocus:qe,autoComplete:X,editable:he,activeDescendantId:fe,value:ie,onKeyDown:Mt,onMouseDown:Ht,onChange:yt,onPaste:xt,onCompositionStart:zt,onCompositionEnd:bt,onBlur:St,tabIndex:ve,attrs:(0,Z.Z)(G,!0)}),s.createElement("span",{ref:tt,className:"".concat(te,"-search-mirror"),"aria-hidden":!0},ie,"\xA0")),se=s.createElement($.Z,{prefixCls:"".concat(te,"-overflow"),data:je,renderItem:Ne,renderRest:we,suffix:ne,itemKey:Te,maxCount:me});return s.createElement("span",{className:"".concat(te,"-wrap")},se,!je.length&&!ie&&s.createElement("span",{className:"".concat(te,"-placeholder")},We))},Tt=Ge,Ee=function(G){var Fe=G.inputElement,Re=G.prefixCls,je=G.id,$e=G.inputRef,Ve=G.disabled,Be=G.autoFocus,it=G.autoComplete,We=G.activeDescendantId,Qe=G.mode,ot=G.open,wt=G.values,qe=G.placeholder,X=G.tabIndex,fe=G.showSearch,ve=G.searchValue,_e=G.activeValue,me=G.maxLength,Pe=G.onInputKeyDown,Oe=G.onInputMouseDown,et=G.onInputChange,ut=G.onInputPaste,gt=G.onInputCompositionStart,on=G.onInputCompositionEnd,yt=G.onInputBlur,xt=G.title,Mt=s.useState(!1),Ht=(0,z.Z)(Mt,2),zt=Ht[0],bt=Ht[1],St=Qe==="combobox",tt=St||fe,lt=wt[0],ht=ve||"";St&&_e&&!zt&&(ht=_e),s.useEffect(function(){St&&bt(!1)},[St,_e]);var $t=Qe!=="combobox"&&!ot&&!fe?!1:!!ht,kt=xt===void 0?le(lt):xt,jt=s.useMemo(function(){return lt?null:s.createElement("span",{className:"".concat(Re,"-selection-placeholder"),style:$t?{visibility:"hidden"}:void 0},qe)},[lt,$t,qe,Re]);return s.createElement("span",{className:"".concat(Re,"-selection-wrap")},s.createElement("span",{className:"".concat(Re,"-selection-search")},s.createElement(R,{ref:$e,prefixCls:Re,id:je,open:ot,inputElement:Fe,disabled:Ve,autoFocus:Be,autoComplete:it,editable:tt,activeDescendantId:We,value:ht,onKeyDown:Pe,onMouseDown:Oe,onChange:function(T){bt(!0),et(T)},onPaste:ut,onCompositionStart:gt,onCompositionEnd:on,onBlur:yt,tabIndex:X,attrs:(0,Z.Z)(G,!0),maxLength:St?me:void 0})),!St&&lt?s.createElement("span",{className:"".concat(Re,"-selection-item"),title:kt,style:$t?{visibility:"hidden"}:void 0},lt.label):null,jt)},Je=Ee,Le=function(G,Fe){var Re=(0,s.useRef)(null),je=(0,s.useRef)(!1),$e=G.prefixCls,Ve=G.open,Be=G.mode,it=G.showSearch,We=G.tokenWithEnter,Qe=G.disabled,ot=G.prefix,wt=G.autoClearSearchValue,qe=G.onSearch,X=G.onSearchSubmit,fe=G.onToggleOpen,ve=G.onInputKeyDown,_e=G.onInputBlur,me=G.domRef;s.useImperativeHandle(Fe,function(){return{focus:function(kt){Re.current.focus(kt)},blur:function(){Re.current.blur()}}});var Pe=l(0),Oe=(0,z.Z)(Pe,2),et=Oe[0],ut=Oe[1],gt=function(kt){var jt=kt.which,On=Re.current instanceof HTMLTextAreaElement;!On&&Ve&&(jt===k.Z.UP||jt===k.Z.DOWN)&&kt.preventDefault(),ve&&ve(kt),jt===k.Z.ENTER&&Be==="tags"&&!je.current&&!Ve&&(X==null||X(kt.target.value)),!(On&&!Ve&&~[k.Z.UP,k.Z.DOWN,k.Z.LEFT,k.Z.RIGHT].indexOf(jt))&&I(jt)&&fe(!0)},on=function(){ut(!0)},yt=(0,s.useRef)(null),xt=function(kt){qe(kt,!0,je.current)!==!1&&fe(!0)},Mt=function(){je.current=!0},Ht=function(kt){je.current=!1,Be!=="combobox"&&xt(kt.target.value)},zt=function(kt){var jt=kt.target.value;if(We&&yt.current&&/[\r\n]/.test(yt.current)){var On=yt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(On,yt.current)}yt.current=null,xt(jt)},bt=function(kt){var jt=kt.clipboardData,On=jt==null?void 0:jt.getData("text");yt.current=On||""},St=function(kt){var jt=kt.target;if(jt!==Re.current){var On=document.body.style.msTouchAction!==void 0;On?setTimeout(function(){Re.current.focus()}):Re.current.focus()}},tt=function(kt){var jt=et();kt.target!==Re.current&&!jt&&!(Be==="combobox"&&Qe)&&kt.preventDefault(),(Be!=="combobox"&&(!it||!jt)||!Ve)&&(Ve&&wt!==!1&&qe("",!0,!1),fe())},lt={inputRef:Re,onInputKeyDown:gt,onInputMouseDown:on,onInputChange:zt,onInputPaste:bt,onInputCompositionStart:Mt,onInputCompositionEnd:Ht,onInputBlur:_e},ht=Be==="multiple"||Be==="tags"?s.createElement(Tt,(0,P.Z)({},G,lt)):s.createElement(Je,(0,P.Z)({},G,lt));return s.createElement("div",{ref:me,className:"".concat($e,"-selector"),onClick:St,onMouseDown:tt},ot&&s.createElement("div",{className:"".concat($e,"-prefix")},ot),ht)},pe=s.forwardRef(Le),ue=pe,re=u(65030),W=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Q=function(G){var Fe=G===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Fe,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Fe,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Fe,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Fe,adjustY:1},htmlRegion:"scroll"}}},c=function(G,Fe){var Re=G.prefixCls,je=G.disabled,$e=G.visible,Ve=G.children,Be=G.popupElement,it=G.animation,We=G.transitionName,Qe=G.dropdownStyle,ot=G.dropdownClassName,wt=G.direction,qe=wt===void 0?"ltr":wt,X=G.placement,fe=G.builtinPlacements,ve=G.dropdownMatchSelectWidth,_e=G.dropdownRender,me=G.dropdownAlign,Pe=G.getPopupContainer,Oe=G.empty,et=G.getTriggerDOMNode,ut=G.onPopupVisibleChange,gt=G.onPopupMouseEnter,on=(0,p.Z)(G,W),yt="".concat(Re,"-dropdown"),xt=Be;_e&&(xt=_e(Be));var Mt=s.useMemo(function(){return fe||Q(ve)},[fe,ve]),Ht=it?"".concat(yt,"-").concat(it):We,zt=typeof ve=="number",bt=s.useMemo(function(){return zt?null:ve===!1?"minWidth":"width"},[ve,zt]),St=Qe;zt&&(St=(0,Y.Z)((0,Y.Z)({},St),{},{width:ve}));var tt=s.useRef(null);return s.useImperativeHandle(Fe,function(){return{getPopupElement:function(){var ht;return(ht=tt.current)===null||ht===void 0?void 0:ht.popupElement}}}),s.createElement(re.Z,(0,P.Z)({},on,{showAction:ut?["click"]:[],hideAction:ut?["click"]:[],popupPlacement:X||(qe==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Mt,prefixCls:yt,popupTransitionName:Ht,popup:s.createElement("div",{onMouseEnter:gt},xt),ref:tt,stretch:bt,popupAlign:me,popupVisible:$e,getPopupContainer:Pe,popupClassName:t()(ot,(0,K.Z)({},"".concat(yt,"-empty"),Oe)),popupStyle:St,getTriggerDOMNode:et,onPopupVisibleChange:ut}),Ve)},B=s.forwardRef(c),q=B,C=u(66712);function v(J,G){var Fe=J.key,Re;return"value"in J&&(Re=J.value),Fe!=null?Fe:Re!==void 0?Re:"rc-index-key-".concat(G)}function F(J){return typeof J!="undefined"&&!Number.isNaN(J)}function ee(J,G){var Fe=J||{},Re=Fe.label,je=Fe.value,$e=Fe.options,Ve=Fe.groupLabel,Be=Re||(G?"children":"label");return{label:Be,value:je||"value",options:$e||"options",groupLabel:Ve||Be}}function M(J){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Fe=G.fieldNames,Re=G.childrenAsData,je=[],$e=ee(Fe,!1),Ve=$e.label,Be=$e.value,it=$e.options,We=$e.groupLabel;function Qe(ot,wt){Array.isArray(ot)&&ot.forEach(function(qe){if(wt||!(it in qe)){var X=qe[Be];je.push({key:v(qe,je.length),groupOption:wt,data:qe,label:qe[Ve],value:X})}else{var fe=qe[We];fe===void 0&&Re&&(fe=qe.label),je.push({key:v(qe,je.length),group:!0,data:qe,label:fe}),Qe(qe[it],!0)}})}return Qe(J,!1),je}function V(J){var G=(0,Y.Z)({},J);return"props"in G||Object.defineProperty(G,"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`."),G}}),G}var j=function(G,Fe,Re){if(!Fe||!Fe.length)return null;var je=!1,$e=function Be(it,We){var Qe=(0,C.Z)(We),ot=Qe[0],wt=Qe.slice(1);if(!ot)return[it];var qe=it.split(ot);return je=je||qe.length>1,qe.reduce(function(X,fe){return[].concat((0,O.Z)(X),(0,O.Z)(Be(fe,wt)))},[]).filter(Boolean)},Ve=$e(G,Fe);return je?typeof Re!="undefined"?Ve.slice(0,Re):Ve:null},ce=s.createContext(null),oe=ce;function Ce(J){var G=J.visible,Fe=J.values;if(!G)return null;var Re=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Fe.slice(0,Re).map(function(je){var $e=je.label,Ve=je.value;return["number","string"].includes((0,U.Z)($e))?$e:Ve}).join(", ")),Fe.length>Re?", ...":null)}var Ze=["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"],Ye=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ke=function(G){return G==="tags"||G==="multiple"},Me=s.forwardRef(function(J,G){var Fe,Re=J.id,je=J.prefixCls,$e=J.className,Ve=J.showSearch,Be=J.tagRender,it=J.direction,We=J.omitDomProps,Qe=J.displayValues,ot=J.onDisplayValuesChange,wt=J.emptyOptions,qe=J.notFoundContent,X=qe===void 0?"Not Found":qe,fe=J.onClear,ve=J.mode,_e=J.disabled,me=J.loading,Pe=J.getInputElement,Oe=J.getRawInputElement,et=J.open,ut=J.defaultOpen,gt=J.onDropdownVisibleChange,on=J.activeValue,yt=J.onActiveValueChange,xt=J.activeDescendantId,Mt=J.searchValue,Ht=J.autoClearSearchValue,zt=J.onSearch,bt=J.onSearchSplit,St=J.tokenSeparators,tt=J.allowClear,lt=J.prefix,ht=J.suffixIcon,$t=J.clearIcon,kt=J.OptionList,jt=J.animation,On=J.transitionName,T=J.dropdownStyle,ae=J.dropdownClassName,te=J.dropdownMatchSelectWidth,ie=J.dropdownRender,he=J.dropdownAlign,be=J.placement,De=J.builtinPlacements,Ne=J.getPopupContainer,we=J.showAction,ne=we===void 0?[]:we,se=J.onFocus,de=J.onBlur,ge=J.onKeyUp,Se=J.onKeyDown,Ue=J.onMouseDown,ft=(0,p.Z)(J,Ze),rt=Ke(ve),Rt=(Ve!==void 0?Ve:rt)||ve==="combobox",Ft=(0,Y.Z)({},ft);Ye.forEach(function(Dn){delete Ft[Dn]}),We==null||We.forEach(function(Dn){delete Ft[Dn]});var Ot=s.useState(!1),Yt=(0,z.Z)(Ot,2),pt=Yt[0],dn=Yt[1];s.useEffect(function(){dn((0,a.Z)())},[]);var rn=s.useRef(null),hn=s.useRef(null),Gt=s.useRef(null),tn=s.useRef(null),pn=s.useRef(null),an=s.useRef(!1),un=f(),It=(0,z.Z)(un,3),vt=It[0],Dt=It[1],Xt=It[2];s.useImperativeHandle(G,function(){var Dn,Rn;return{focus:(Dn=tn.current)===null||Dn===void 0?void 0:Dn.focus,blur:(Rn=tn.current)===null||Rn===void 0?void 0:Rn.blur,scrollTo:function(Qn){var er;return(er=pn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:rn.current||hn.current}});var cn=s.useMemo(function(){var Dn;if(ve!=="combobox")return Mt;var Rn=(Dn=Qe[0])===null||Dn===void 0?void 0:Dn.value;return typeof Rn=="string"||typeof Rn=="number"?String(Rn):""},[Mt,ve,Qe]),sn=ve==="combobox"&&typeof Pe=="function"&&Pe()||null,ln=typeof Oe=="function"&&Oe(),Un=(0,o.x1)(hn,ln==null||(Fe=ln.props)===null||Fe===void 0?void 0:Fe.ref),Xn=s.useState(!1),$n=(0,z.Z)(Xn,2),or=$n[0],ir=$n[1];(0,r.Z)(function(){ir(!0)},[]);var qn=(0,H.Z)(!1,{defaultValue:ut,value:et}),gn=(0,z.Z)(qn,2),kn=gn[0],Gn=gn[1],En=or?kn:!1,wn=!X&&wt;(_e||wn&&En&&ve==="combobox")&&(En=!1);var Sn=wn?!1:En,Et=s.useCallback(function(Dn){var Rn=Dn!==void 0?Dn:!En;_e||(Gn(Rn),En!==Rn&&(gt==null||gt(Rn)))},[_e,En,Gn,gt]),Jt=s.useMemo(function(){return(St||[]).some(function(Dn){return[`
`,`\r
`].includes(Dn)})},[St]),en=s.useContext(oe)||{},nn=en.maxCount,Pn=en.rawValues,In=function(Rn,nr,Qn){if(!(rt&&F(nn)&&(Pn==null?void 0:Pn.size)>=nn)){var er=!0,rr=Rn;yt==null||yt(null);var yr=j(Rn,St,F(nn)?nn-Pn.size:void 0),gr=Qn?null:yr;return ve!=="combobox"&&gr&&(rr="",bt==null||bt(gr),Et(!1),er=!1),zt&&cn!==rr&&zt(rr,{source:nr?"typing":"effect"}),er}},ar=function(Rn){!Rn||!Rn.trim()||zt(Rn,{source:"submit"})};s.useEffect(function(){!En&&!rt&&ve!=="combobox"&&In("",!1,!1)},[En]),s.useEffect(function(){kn&&_e&&Gn(!1),_e&&!an.current&&Dt(!1)},[_e]);var mt=l(),Wt=(0,z.Z)(mt,2),Zt=Wt[0],Tn=Wt[1],Bn=s.useRef(!1),Hn=function(Rn){var nr=Zt(),Qn=Rn.key,er=Qn==="Enter";if(er&&(ve!=="combobox"&&Rn.preventDefault(),En||Et(!0)),Tn(!!cn),Qn==="Backspace"&&!nr&&rt&&!cn&&Qe.length){for(var rr=(0,O.Z)(Qe),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&&ot(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(En&&(!er||!Bn.current)){var Er;er&&(Bn.current=!0),(Er=pn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Rn].concat(mr))}Se==null||Se.apply(void 0,[Rn].concat(mr))},cr=function(Rn){for(var nr=arguments.length,Qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)Qn[er-1]=arguments[er];if(En){var rr;(rr=pn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Rn].concat(Qn))}Rn.key==="Enter"&&(Bn.current=!1),ge==null||ge.apply(void 0,[Rn].concat(Qn))},dr=function(Rn){var nr=Qe.filter(function(Qn){return Qn!==Rn});ot(nr,{type:"remove",values:[Rn]})},lr=function(){Bn.current=!1},Jn=s.useRef(!1),Fr=function(){Dt(!0),_e||(se&&!Jn.current&&se.apply(void 0,arguments),ne.includes("focus")&&Et(!0)),Jn.current=!0},Br=function(){an.current=!0,Dt(!1,function(){Jn.current=!1,an.current=!1,Et(!1)}),!_e&&(cn&&(ve==="tags"?zt(cn,{source:"submit"}):ve==="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(Rn){var nr,Qn=Rn.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];Ue==null||Ue.apply(void 0,[Rn].concat(gr))},Nr=s.useState({}),Or=(0,z.Z)(Nr,2),Ar=Or[1];function br(){Ar({})}var Mr;ln&&(Mr=function(Rn){Et(Rn)}),N(function(){var Dn;return[rn.current,(Dn=Gt.current)===null||Dn===void 0?void 0:Dn.getPopupElement()]},Sn,Et,!!ln);var Pr=s.useMemo(function(){return(0,Y.Z)((0,Y.Z)({},J),{},{notFoundContent:X,open:En,triggerOpen:Sn,id:Re,showSearch:Rt,multiple:rt,toggleOpen:Et})},[J,X,Sn,En,Re,Rt,rt,Et]),zr=!!ht||me,kr;zr&&(kr=s.createElement(E,{className:t()("".concat(je,"-arrow"),(0,K.Z)({},"".concat(je,"-arrow-loading"),me)),customizeIcon:ht,customizeIconProps:{loading:me,searchValue:cn,open:En,focused:vt,showSearch:Rt}}));var $r=function(){var Rn;fe==null||fe(),(Rn=tn.current)===null||Rn===void 0||Rn.focus(),ot([],{type:"clear",values:Qe}),In("",!1,!1)},Ir=S(je,$r,Qe,tt,$t,_e,cn,ve),Gr=Ir.allowClear,jr=Ir.clearIcon,Wr=s.createElement(kt,{ref:pn}),Dr=t()(je,$e,(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)({},"".concat(je,"-focused"),vt),"".concat(je,"-multiple"),rt),"".concat(je,"-single"),!rt),"".concat(je,"-allow-clear"),tt),"".concat(je,"-show-arrow"),zr),"".concat(je,"-disabled"),_e),"".concat(je,"-loading"),me),"".concat(je,"-open"),En),"".concat(je,"-customize-input"),sn),"".concat(je,"-show-search"),Rt)),hr=s.createElement(q,{ref:Gt,disabled:_e,prefixCls:je,visible:Sn,popupElement:Wr,animation:jt,transitionName:On,dropdownStyle:T,dropdownClassName:ae,direction:it,dropdownMatchSelectWidth:te,dropdownRender:ie,dropdownAlign:he,placement:be,builtinPlacements:De,getPopupContainer:Ne,empty:wt,getTriggerDOMNode:function(Rn){return hn.current||Rn},onPopupVisibleChange:Mr,onPopupMouseEnter:br},ln?s.cloneElement(ln,{ref:Un}):s.createElement(ue,(0,P.Z)({},J,{domRef:hn,prefixCls:je,inputElement:sn,ref:tn,id:Re,prefix:lt,showSearch:Rt,autoClearSearchValue:Ht,mode:ve,activeDescendantId:xt,tagRender:Be,values:Qe,open:En,onToggleOpen:Et,activeValue:on,searchValue:cn,onSearch:In,onSearchSubmit:ar,onRemove:dr,tokenWithEnter:Jt,onInputBlur:lr}))),ur;return ln?ur=hr:ur=s.createElement("div",(0,P.Z)({className:Dr},Ft,{ref:rn,onMouseDown:Tr,onKeyDown:Hn,onKeyUp:cr,onFocus:Fr,onBlur:Br}),s.createElement(Ce,{visible:vt&&!En,values:Qe}),hr,kr,Gr&&jr),s.createElement(_.Provider,{value:Pr},ur)}),Ie=Me,st=function(){return null};st.isSelectOptGroup=!0;var Xe=st,He=function(){return null};He.isSelectOption=!0;var Bt=He,Pt=u(80547),ke=u(2738),Ut=u(48911);function _n(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Nt=["disabled","title","children","style","className"];function dt(J){return typeof J=="string"||typeof J=="number"}var Kt=function(G,Fe){var Re=m(),je=Re.prefixCls,$e=Re.id,Ve=Re.open,Be=Re.multiple,it=Re.mode,We=Re.searchValue,Qe=Re.toggleOpen,ot=Re.notFoundContent,wt=Re.onPopupScroll,qe=s.useContext(oe),X=qe.maxCount,fe=qe.flattenOptions,ve=qe.onActiveValue,_e=qe.defaultActiveFirstOption,me=qe.onSelect,Pe=qe.menuItemSelectedIcon,Oe=qe.rawValues,et=qe.fieldNames,ut=qe.virtual,gt=qe.direction,on=qe.listHeight,yt=qe.listItemHeight,xt=qe.optionRender,Mt="".concat(je,"-item"),Ht=(0,Pt.Z)(function(){return fe},[Ve,fe],function(we,ne){return ne[0]&&we[1]!==ne[1]}),zt=s.useRef(null),bt=s.useMemo(function(){return Be&&F(X)&&(Oe==null?void 0:Oe.size)>=X},[Be,X,Oe==null?void 0:Oe.size]),St=function(ne){ne.preventDefault()},tt=function(ne){var se;(se=zt.current)===null||se===void 0||se.scrollTo(typeof ne=="number"?{index:ne}:ne)},lt=s.useCallback(function(we){return it==="combobox"?!1:Oe.has(we)},[it,(0,O.Z)(Oe).toString(),Oe.size]),ht=function(ne){for(var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,de=Ht.length,ge=0;ge<de;ge+=1){var Se=(ne+ge*se+de)%de,Ue=Ht[Se]||{},ft=Ue.group,rt=Ue.data;if(!ft&&!(rt!=null&&rt.disabled)&&(lt(rt.value)||!bt))return Se}return-1},$t=s.useState(function(){return ht(0)}),kt=(0,z.Z)($t,2),jt=kt[0],On=kt[1],T=function(ne){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;On(ne);var de={source:se?"keyboard":"mouse"},ge=Ht[ne];if(!ge){ve(null,-1,de);return}ve(ge.value,ne,de)};(0,s.useEffect)(function(){T(_e!==!1?ht(0):-1)},[Ht.length,We]);var ae=s.useCallback(function(we){return it==="combobox"?String(we).toLowerCase()===We.toLowerCase():Oe.has(we)},[it,We,(0,O.Z)(Oe).toString(),Oe.size]);(0,s.useEffect)(function(){var we=setTimeout(function(){if(!Be&&Ve&&Oe.size===1){var se=Array.from(Oe)[0],de=Ht.findIndex(function(ge){var Se=ge.data;return We?String(Se.value).startsWith(We):Se.value===se});de!==-1&&(T(de),tt(de))}});if(Ve){var ne;(ne=zt.current)===null||ne===void 0||ne.scrollTo(void 0)}return function(){return clearTimeout(we)}},[Ve,We]);var te=function(ne){ne!==void 0&&me(ne,{selected:!Oe.has(ne)}),Be||Qe(!1)};if(s.useImperativeHandle(Fe,function(){return{onKeyDown:function(ne){var se=ne.which,de=ne.ctrlKey;switch(se){case k.Z.N:case k.Z.P:case k.Z.UP:case k.Z.DOWN:{var ge=0;if(se===k.Z.UP?ge=-1:se===k.Z.DOWN?ge=1:_n()&&de&&(se===k.Z.N?ge=1:se===k.Z.P&&(ge=-1)),ge!==0){var Se=ht(jt+ge,ge);tt(Se),T(Se,!0)}break}case k.Z.TAB:case k.Z.ENTER:{var Ue,ft=Ht[jt];ft&&!(ft!=null&&(Ue=ft.data)!==null&&Ue!==void 0&&Ue.disabled)&&!bt?te(ft.value):te(void 0),Ve&&ne.preventDefault();break}case k.Z.ESC:Qe(!1),Ve&&ne.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ne){tt(ne)}}}),Ht.length===0)return s.createElement("div",{role:"listbox",id:"".concat($e,"_list"),className:"".concat(Mt,"-empty"),onMouseDown:St},ot);var ie=Object.keys(et).map(function(we){return et[we]}),he=function(ne){return ne.label};function be(we,ne){var se=we.group;return{role:se?"presentation":"option",id:"".concat($e,"_list_").concat(ne)}}var De=function(ne){var se=Ht[ne];if(!se)return null;var de=se.data||{},ge=de.value,Se=se.group,Ue=(0,Z.Z)(de,!0),ft=he(se);return se?s.createElement("div",(0,P.Z)({"aria-label":typeof ft=="string"&&!Se?ft:null},Ue,{key:ne},be(se,ne),{"aria-selected":ae(ge)}),ge):null},Ne={role:"listbox",id:"".concat($e,"_list")};return s.createElement(s.Fragment,null,ut&&s.createElement("div",(0,P.Z)({},Ne,{style:{height:0,width:0,overflow:"hidden"}}),De(jt-1),De(jt),De(jt+1)),s.createElement(Ut.Z,{itemKey:"key",ref:zt,data:Ht,height:on,itemHeight:yt,fullHeight:!1,onMouseDown:St,onScroll:wt,virtual:ut,direction:gt,innerProps:ut?null:Ne},function(we,ne){var se=we.group,de=we.groupOption,ge=we.data,Se=we.label,Ue=we.value,ft=ge.key;if(se){var rt,Rt=(rt=ge.title)!==null&&rt!==void 0?rt:dt(Se)?Se.toString():void 0;return s.createElement("div",{className:t()(Mt,"".concat(Mt,"-group"),ge.className),title:Rt},Se!==void 0?Se:ft)}var Ft=ge.disabled,Ot=ge.title,Yt=ge.children,pt=ge.style,dn=ge.className,rn=(0,p.Z)(ge,Nt),hn=(0,ke.Z)(rn,ie),Gt=lt(Ue),tn=Ft||!Gt&&bt,pn="".concat(Mt,"-option"),an=t()(Mt,pn,dn,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(pn,"-grouped"),de),"".concat(pn,"-active"),jt===ne&&!tn),"".concat(pn,"-disabled"),tn),"".concat(pn,"-selected"),Gt)),un=he(we),It=!Pe||typeof Pe=="function"||Gt,vt=typeof un=="number"?un:un||Ue,Dt=dt(vt)?vt.toString():void 0;return Ot!==void 0&&(Dt=Ot),s.createElement("div",(0,P.Z)({},(0,Z.Z)(hn),ut?{}:be(we,ne),{"aria-selected":ae(Ue),className:an,title:Dt,onMouseMove:function(){jt===ne||tn||T(ne)},onClick:function(){tn||te(Ue)},style:pt}),s.createElement("div",{className:"".concat(pn,"-content")},typeof xt=="function"?xt(we,{index:ne}):vt),s.isValidElement(Pe)||Gt,It&&s.createElement(E,{className:"".concat(Mt,"-option-state"),customizeIcon:Pe,customizeIconProps:{value:Ue,disabled:tn,isSelected:Gt}},Gt?"\u2713":null))}))},fn=s.forwardRef(Kt),Vt=fn,_t=function(J,G){var Fe=s.useRef({values:new Map,options:new Map}),Re=s.useMemo(function(){var $e=Fe.current,Ve=$e.values,Be=$e.options,it=J.map(function(ot){if(ot.label===void 0){var wt;return(0,Y.Z)((0,Y.Z)({},ot),{},{label:(wt=Ve.get(ot.value))===null||wt===void 0?void 0:wt.label})}return ot}),We=new Map,Qe=new Map;return it.forEach(function(ot){We.set(ot.value,ot),Qe.set(ot.value,G.get(ot.value)||Be.get(ot.value))}),Fe.current.values=We,Fe.current.options=Qe,it},[J,G]),je=s.useCallback(function($e){return G.get($e)||Fe.current.options.get($e)},[G]);return[Re,je]};function Qt(J,G){return D(J).join("").toUpperCase().includes(G)}var Cn=function(J,G,Fe,Re,je){return s.useMemo(function(){if(!Fe||Re===!1)return J;var $e=G.options,Ve=G.label,Be=G.value,it=[],We=typeof Re=="function",Qe=Fe.toUpperCase(),ot=We?Re:function(qe,X){return je?Qt(X[je],Qe):X[$e]?Qt(X[Ve!=="children"?Ve:"label"],Qe):Qt(X[Be],Qe)},wt=We?function(qe){return V(qe)}:function(qe){return qe};return J.forEach(function(qe){if(qe[$e]){var X=ot(Fe,wt(qe));if(X)it.push(qe);else{var fe=qe[$e].filter(function(ve){return ot(Fe,wt(ve))});fe.length&&it.push((0,Y.Z)((0,Y.Z)({},qe),{},(0,K.Z)({},$e,fe)))}return}ot(Fe,wt(qe))&&it.push(qe)}),it},[J,Re,je,Fe,G])},At=u(6551),ct=u(11592),Ct=["children","value"],Kn=["children"];function mn(J){var G=J,Fe=G.key,Re=G.props,je=Re.children,$e=Re.value,Ve=(0,p.Z)(Re,Ct);return(0,Y.Z)({key:Fe,value:$e!==void 0?$e:Fe,children:je},Ve)}function An(J){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ct.Z)(J).map(function(Fe,Re){if(!s.isValidElement(Fe)||!Fe.type)return null;var je=Fe,$e=je.type.isSelectOptGroup,Ve=je.key,Be=je.props,it=Be.children,We=(0,p.Z)(Be,Kn);return G||!$e?mn(Fe):(0,Y.Z)((0,Y.Z)({key:"__RC_SELECT_GRP__".concat(Ve===null?Re:Ve,"__"),label:Ve},We),{},{options:An(it)})}).filter(function(Fe){return Fe})}var Wn=function(G,Fe,Re,je,$e){return s.useMemo(function(){var Ve=G,Be=!G;Be&&(Ve=An(Fe));var it=new Map,We=new Map,Qe=function(qe,X,fe){fe&&typeof fe=="string"&&qe.set(X[fe],X)},ot=function wt(qe){for(var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=0;fe<qe.length;fe+=1){var ve=qe[fe];!ve[Re.options]||X?(it.set(ve[Re.value],ve),Qe(We,ve,Re.label),Qe(We,ve,je),Qe(We,ve,$e)):wt(ve[Re.options],!0)}};return ot(Ve),{options:Ve,valueOptions:it,labelOptions:We}},[G,Fe,Re,je,$e])},vn=Wn;function Nn(J){var G=s.useRef();G.current=J;var Fe=s.useCallback(function(){return G.current.apply(G,arguments)},[]);return Fe}function Fn(J){var G=J.mode,Fe=J.options,Re=J.children,je=J.backfill,$e=J.allowClear,Ve=J.placeholder,Be=J.getInputElement,it=J.showSearch,We=J.onSearch,Qe=J.defaultOpen,ot=J.autoFocus,wt=J.labelInValue,qe=J.value,X=J.inputValue,fe=J.optionLabelProp,ve=isMultiple(G),_e=it!==void 0?it:ve||G==="combobox",me=Fe||convertChildrenToData(Re);if(warning(G!=="tags"||me.every(function(ut){return!ut.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),G==="tags"||G==="combobox"){var Pe=me.some(function(ut){return ut.options?ut.options.some(function(gt){return typeof("value"in gt?gt.value:gt.key)=="number"}):typeof("value"in ut?ut.value:ut.key)=="number"});warning(!Pe,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(G!=="combobox"||!fe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(G==="combobox"||!je,"`backfill` only works with `combobox` mode."),warning(G==="combobox"||!Be,"`getInputElement` only work with `combobox` mode."),noteOnce(G!=="combobox"||!Be||!$e||!Ve,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),We&&!_e&&G!=="combobox"&&G!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Qe||ot,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),qe!=null){var Oe=toArray(qe);warning(!wt||Oe.every(function(ut){return _typeof(ut)==="object"&&("key"in ut||"value"in ut)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ve||Array.isArray(qe),"`value` should be array when `mode` is `multiple` or `tags`")}if(Re){var et=null;toNodeArray(Re).some(function(ut){if(!React.isValidElement(ut)||!ut.type)return!1;var gt=ut,on=gt.type;if(on.isSelectOption)return!1;if(on.isSelectOptGroup){var yt=toNodeArray(ut.props.children).every(function(xt){return!React.isValidElement(xt)||!ut.type||xt.type.isSelectOption?!0:(et=xt.type,!1)});return!yt}return et=on,!0}),et&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(et.displayName||et.name||et,"`.")),warning(X===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function zn(J,G){if(J){var Fe=function Re(je){for(var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=0;Ve<je.length;Ve++){var Be=je[Ve];if(Be[G==null?void 0:G.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!$e&&Array.isArray(Be[G==null?void 0:G.options])&&Re(Be[G==null?void 0:G.options],!0))break}};Fe(J)}}var Mn=null,yn=["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"],Zn=["inputValue"];function at(J){return!J||(0,U.Z)(J)!=="object"}var nt=s.forwardRef(function(J,G){var Fe=J.id,Re=J.mode,je=J.prefixCls,$e=je===void 0?"rc-select":je,Ve=J.backfill,Be=J.fieldNames,it=J.inputValue,We=J.searchValue,Qe=J.onSearch,ot=J.autoClearSearchValue,wt=ot===void 0?!0:ot,qe=J.onSelect,X=J.onDeselect,fe=J.dropdownMatchSelectWidth,ve=fe===void 0?!0:fe,_e=J.filterOption,me=J.filterSort,Pe=J.optionFilterProp,Oe=J.optionLabelProp,et=J.options,ut=J.optionRender,gt=J.children,on=J.defaultActiveFirstOption,yt=J.menuItemSelectedIcon,xt=J.virtual,Mt=J.direction,Ht=J.listHeight,zt=Ht===void 0?200:Ht,bt=J.listItemHeight,St=bt===void 0?20:bt,tt=J.labelRender,lt=J.value,ht=J.defaultValue,$t=J.labelInValue,kt=J.onChange,jt=J.maxCount,On=(0,p.Z)(J,yn),T=(0,At.ZP)(Fe),ae=Ke(Re),te=!!(!et&&gt),ie=s.useMemo(function(){return _e===void 0&&Re==="combobox"?!1:_e},[_e,Re]),he=s.useMemo(function(){return ee(Be,te)},[JSON.stringify(Be),te]),be=(0,H.Z)("",{value:We!==void 0?We:it,postState:function(Jt){return Jt||""}}),De=(0,z.Z)(be,2),Ne=De[0],we=De[1],ne=vn(et,gt,he,Pe,Oe),se=ne.valueOptions,de=ne.labelOptions,ge=ne.options,Se=s.useCallback(function(Et){var Jt=D(Et);return Jt.map(function(en){var nn,Pn,In,ar,mt;if(at(en))nn=en;else{var Wt;In=en.key,Pn=en.label,nn=(Wt=en.value)!==null&&Wt!==void 0?Wt:In}var Zt=se.get(nn);if(Zt){var Tn;if(Pn===void 0&&(Pn=Zt==null?void 0:Zt[Oe||he.label]),In===void 0&&(In=(Tn=Zt==null?void 0:Zt.key)!==null&&Tn!==void 0?Tn:nn),ar=Zt==null?void 0:Zt.disabled,mt=Zt==null?void 0:Zt.title,0)var Bn}return{label:Pn,value:nn,key:In,disabled:ar,title:mt}})},[he,Oe,se]),Ue=(0,H.Z)(ht,{value:lt}),ft=(0,z.Z)(Ue,2),rt=ft[0],Rt=ft[1],Ft=s.useMemo(function(){var Et,Jt=ae&&rt===null?[]:rt,en=Se(Jt);return Re==="combobox"&&y((Et=en[0])===null||Et===void 0?void 0:Et.value)?[]:en},[rt,Se,Re,ae]),Ot=_t(Ft,se),Yt=(0,z.Z)(Ot,2),pt=Yt[0],dn=Yt[1],rn=s.useMemo(function(){if(!Re&&pt.length===1){var Et=pt[0];if(Et.value===null&&(Et.label===null||Et.label===void 0))return[]}return pt.map(function(Jt){var en;return(0,Y.Z)((0,Y.Z)({},Jt),{},{label:(en=typeof tt=="function"?tt(Jt):Jt.label)!==null&&en!==void 0?en:Jt.value})})},[Re,pt,tt]),hn=s.useMemo(function(){return new Set(pt.map(function(Et){return Et.value}))},[pt]);s.useEffect(function(){if(Re==="combobox"){var Et,Jt=(Et=pt[0])===null||Et===void 0?void 0:Et.value;we(i(Jt)?String(Jt):"")}},[pt]);var Gt=Nn(function(Et,Jt){var en=Jt!=null?Jt:Et;return(0,K.Z)((0,K.Z)({},he.value,Et),he.label,en)}),tn=s.useMemo(function(){if(Re!=="tags")return ge;var Et=(0,O.Z)(ge),Jt=function(nn){return se.has(nn)};return(0,O.Z)(pt).sort(function(en,nn){return en.value<nn.value?-1:1}).forEach(function(en){var nn=en.value;Jt(nn)||Et.push(Gt(nn,en.label))}),Et},[Gt,ge,se,pt,Re]),pn=Cn(tn,he,Ne,ie,Pe),an=s.useMemo(function(){return Re!=="tags"||!Ne||pn.some(function(Et){return Et[Pe||"value"]===Ne})||pn.some(function(Et){return Et[he.value]===Ne})?pn:[Gt(Ne)].concat((0,O.Z)(pn))},[Gt,Pe,Re,pn,Ne,he]),un=function Et(Jt){var en=(0,O.Z)(Jt).sort(function(nn,Pn){return me(nn,Pn,{searchValue:Ne})});return en.map(function(nn){return Array.isArray(nn.options)?(0,Y.Z)((0,Y.Z)({},nn),{},{options:nn.options.length>0?Et(nn.options):nn.options}):nn})},It=s.useMemo(function(){return me?un(an):an},[an,me,Ne]),vt=s.useMemo(function(){return M(It,{fieldNames:he,childrenAsData:te})},[It,he,te]),Dt=function(Jt){var en=Se(Jt);if(Rt(en),kt&&(en.length!==pt.length||en.some(function(In,ar){var mt;return((mt=pt[ar])===null||mt===void 0?void 0:mt.value)!==(In==null?void 0:In.value)}))){var nn=$t?en:en.map(function(In){return In.value}),Pn=en.map(function(In){return V(dn(In.value))});kt(ae?nn:nn[0],ae?Pn:Pn[0])}},Xt=s.useState(null),cn=(0,z.Z)(Xt,2),sn=cn[0],ln=cn[1],Un=s.useState(0),Xn=(0,z.Z)(Un,2),$n=Xn[0],or=Xn[1],ir=on!==void 0?on:Re!=="combobox",qn=s.useCallback(function(Et,Jt){var en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nn=en.source,Pn=nn===void 0?"keyboard":nn;or(Jt),Ve&&Re==="combobox"&&Et!==null&&Pn==="keyboard"&&ln(String(Et))},[Ve,Re]),gn=function(Jt,en,nn){var Pn=function(){var dr,lr=dn(Jt);return[$t?{label:lr==null?void 0:lr[he.label],value:Jt,key:(dr=lr==null?void 0:lr.key)!==null&&dr!==void 0?dr:Jt}:Jt,V(lr)]};if(en&&qe){var In=Pn(),ar=(0,z.Z)(In,2),mt=ar[0],Wt=ar[1];qe(mt,Wt)}else if(!en&&X&&nn!=="clear"){var Zt=Pn(),Tn=(0,z.Z)(Zt,2),Bn=Tn[0],Hn=Tn[1];X(Bn,Hn)}},kn=Nn(function(Et,Jt){var en,nn=ae?Jt.selected:!0;nn?en=ae?[].concat((0,O.Z)(pt),[Et]):[Et]:en=pt.filter(function(Pn){return Pn.value!==Et}),Dt(en),gn(Et,nn),Re==="combobox"?ln(""):(!Ke||wt)&&(we(""),ln(""))}),Gn=function(Jt,en){Dt(Jt);var nn=en.type,Pn=en.values;(nn==="remove"||nn==="clear")&&Pn.forEach(function(In){gn(In.value,!1,nn)})},En=function(Jt,en){if(we(Jt),ln(null),en.source==="submit"){var nn=(Jt||"").trim();if(nn){var Pn=Array.from(new Set([].concat((0,O.Z)(hn),[nn])));Dt(Pn),gn(nn,!0),we("")}return}en.source!=="blur"&&(Re==="combobox"&&Dt(Jt),Qe==null||Qe(Jt))},wn=function(Jt){var en=Jt;Re!=="tags"&&(en=Jt.map(function(Pn){var In=de.get(Pn);return In==null?void 0:In.value}).filter(function(Pn){return Pn!==void 0}));var nn=Array.from(new Set([].concat((0,O.Z)(hn),(0,O.Z)(en))));Dt(nn),nn.forEach(function(Pn){gn(Pn,!0)})},Sn=s.useMemo(function(){var Et=xt!==!1&&ve!==!1;return(0,Y.Z)((0,Y.Z)({},ne),{},{flattenOptions:vt,onActiveValue:qn,defaultActiveFirstOption:ir,onSelect:kn,menuItemSelectedIcon:yt,rawValues:hn,fieldNames:he,virtual:Et,direction:Mt,listHeight:zt,listItemHeight:St,childrenAsData:te,maxCount:jt,optionRender:ut})},[jt,ne,vt,qn,ir,kn,yt,hn,he,xt,ve,Mt,zt,St,te,ut]);return s.createElement(oe.Provider,{value:Sn},s.createElement(Ie,(0,P.Z)({},On,{id:T,prefixCls:$e,ref:G,omitDomProps:Zn,mode:Re,displayValues:rn,onDisplayValuesChange:Gn,direction:Mt,searchValue:Ne,onSearch:En,autoClearSearchValue:wt,onSearchSplit:wn,dropdownMatchSelectWidth:ve,OptionList:Vt,emptyOptions:!vt.length,activeValue:sn,activeDescendantId:"".concat(T,"_list_").concat($n)})))}),qt=nt;qt.Option=Bt,qt.OptGroup=Xe;var bn=qt,xn=bn},86351:function(Lt,Ae,u){"use strict";u.d(Ae,{R:function(){return O},w:function(){return P}});var P={},O="rc-table-internal-hook"},97347:function(Lt,Ae,u){"use strict";u.d(Ae,{L:function(){return g},Z:function(){return f}});var P=u(42978),O=u(20068),K=u(94480),Y=u(76190),z=u(33885),p=u(75931),U=u(11592),H=u(48736),e=u(59301),s=u(86351),d=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,k){return e.useMemo(function(){if(N&&N>0){var I=0,Z=0;l.forEach(function(D){var x=t(N,D.width);x?I+=x:Z+=1});var $=Math.max(N,k),L=Math.max($-I,Z),ye=Z,b=L/Z,h=0,w=l.map(function(D){var x=(0,z.Z)({},D),n=t(N,x.width);if(n)x.width=n;else{var i=Math.floor(b);x.width=ye===1?L:i,L-=i,ye-=1}return h+=x.width,x});if(h<$){var R=$/h;L=$,w.forEach(function(D,x){var n=Math.floor(D.width*R);D.width=x===w.length-1?L:n,L-=n})}return[w,Math.max(h,$)]}return[l,N]},[l,N,k])}var a=["children"],o=["fixed"];function g(l){return(0,U.Z)(l).filter(function(N){return e.isValidElement(N)}).map(function(N){var k=N.key,I=N.props,Z=I.children,$=(0,p.Z)(I,a),L=(0,z.Z)({key:k},$);return Z&&(L.children=g(Z)),L})}function E(l){return l.filter(function(N){return N&&(0,Y.Z)(N)==="object"&&!N.hidden}).map(function(N){var k=N.children;return k&&k.length>0?(0,z.Z)((0,z.Z)({},N),{},{children:E(k)}):N})}function S(l){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(k){return k&&(0,Y.Z)(k)==="object"}).reduce(function(k,I,Z){var $=I.fixed,L=$===!0?"left":$,ye="".concat(N,"-").concat(Z),b=I.children;return b&&b.length>0?[].concat((0,K.Z)(k),(0,K.Z)(S(b,ye).map(function(h){return(0,z.Z)({fixed:L},h)}))):[].concat((0,K.Z)(k),[(0,z.Z)((0,z.Z)({key:ye},I),{},{fixed:L})])},[])}function _(l){return l.map(function(N){var k=N.fixed,I=(0,p.Z)(N,o),Z=k;return k==="left"?Z="right":k==="right"&&(Z="left"),(0,z.Z)({fixed:Z},I)})}function m(l,N){var k=l.prefixCls,I=l.columns,Z=l.children,$=l.expandable,L=l.expandedKeys,ye=l.columnTitle,b=l.getRowKey,h=l.onTriggerExpand,w=l.expandIcon,R=l.rowExpandable,D=l.expandIconColumnIndex,x=l.direction,n=l.expandRowByClick,i=l.columnWidth,y=l.fixed,A=l.scrollWidth,le=l.clientWidth,xe=e.useMemo(function(){var ue=I||g(Z)||[];return E(ue.slice())},[I,Z]),Te=e.useMemo(function(){if($){var ue=xe.slice();if(!ue.includes(s.w)){var re=D||0;re>=0&&(re||y==="left"||!y)&&ue.splice(re,0,s.w),y==="right"&&ue.splice(xe.length,0,s.w)}var W=ue.indexOf(s.w);ue=ue.filter(function(q,C){return q!==s.w||C===W});var Q=xe[W],c;y?c=y:c=Q?Q.fixed:null;var B=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},d.v,{className:"".concat(k,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ye),"fixed",c),"className","".concat(k,"-row-expand-icon-cell")),"width",i),"render",function(C,v,F){var ee=b(v,F),M=L.has(ee),V=R?R(v):!0,j=w({prefixCls:k,expanded:M,expandable:V,record:v,onExpand:h});return n?e.createElement("span",{onClick:function(oe){return oe.stopPropagation()}},j):j});return ue.map(function(q){return q===s.w?B:q})}return xe.filter(function(q){return q!==s.w})},[$,xe,b,L,w,x]),ze=e.useMemo(function(){var ue=Te;return N&&(ue=N(ue)),ue.length||(ue=[{render:function(){return null}}]),ue},[N,Te,x]),Ge=e.useMemo(function(){return x==="rtl"?_(S(ze)):S(ze)},[ze,x,A]),Tt=e.useMemo(function(){for(var ue=-1,re=Ge.length-1;re>=0;re-=1){var W=Ge[re].fixed;if(W==="left"||W===!0){ue=re;break}}if(ue>=0)for(var Q=0;Q<=ue;Q+=1){var c=Ge[Q].fixed;if(c!=="left"&&c!==!0)return!0}var B=Ge.findIndex(function(v){var F=v.fixed;return F==="right"});if(B>=0)for(var q=B;q<Ge.length;q+=1){var C=Ge[q].fixed;if(C!=="right")return!0}return!1},[Ge]),Ee=r(Ge,A,le),Je=(0,P.Z)(Ee,2),Le=Je[0],pe=Je[1];return[ze,Le,pe,Tt]}var f=m},4030:function(Lt,Ae,u){"use strict";u.d(Ae,{w2:function(){return P.w},vP:function(){return dt.v},RQ:function(){return P.R},ER:function(){return ee},Q$:function(){return _e},TN:function(){return kt}});var P=u(86351),O=u(42978),K=u(6089),Y=u(34280),z=u(13697),p=u(59301),U=u(4676);function H(T){var ae=p.createContext(void 0),te=function(he){var be=he.value,De=he.children,Ne=p.useRef(be);Ne.current=be;var we=p.useState(function(){return{getValue:function(){return Ne.current},listeners:new Set}}),ne=(0,O.Z)(we,1),se=ne[0];return(0,Y.Z)(function(){(0,U.unstable_batchedUpdates)(function(){se.listeners.forEach(function(de){de(be)})})},[be]),p.createElement(ae.Provider,{value:se},De)};return{Context:ae,Provider:te,defaultValue:T}}function e(T,ae){var te=(0,K.Z)(typeof ae=="function"?ae:function(de){if(ae===void 0)return de;if(!Array.isArray(ae))return de[ae];var ge={};return ae.forEach(function(Se){ge[Se]=de[Se]}),ge}),ie=p.useContext(T==null?void 0:T.Context),he=ie||{},be=he.listeners,De=he.getValue,Ne=p.useRef();Ne.current=te(ie?De():T==null?void 0:T.defaultValue);var we=p.useState({}),ne=(0,O.Z)(we,2),se=ne[1];return(0,Y.Z)(function(){if(!ie)return;function de(ge){var Se=te(ge);(0,z.Z)(Ne.current,Se,!0)||se({})}return be.add(de),function(){be.delete(de)}},[ie]),Ne.current}var s=u(54476),d=u(8654);function t(){var T=p.createContext(null);function ae(){return p.useContext(T)}function te(he,be){var De=(0,d.Yr)(he),Ne=function(ne,se){var de=De?{ref:se}:{},ge=p.useRef(0),Se=p.useRef(ne),Ue=ae();return Ue!==null?p.createElement(he,(0,s.Z)({},ne,de)):((!be||be(Se.current,ne))&&(ge.current+=1),Se.current=ne,p.createElement(T.Provider,{value:ge.current},p.createElement(he,(0,s.Z)({},ne,de))))};return De?p.forwardRef(Ne):Ne}function ie(he,be){var De=(0,d.Yr)(he),Ne=function(ne,se){var de=De?{ref:se}:{};return ae(),p.createElement(he,(0,s.Z)({},ne,de))};return De?p.memo(p.forwardRef(Ne),be):p.memo(Ne,be)}return{makeImmutable:te,responseImmutable:ie,useImmutableMark:ae}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,g=r.useImmutableMark,E=t(),S=E.makeImmutable,_=E.responseImmutable,m=E.useImmutableMark,f=H(),l=f;function N(T,ae){var te=React.useRef(0);te.current+=1;var ie=React.useRef(T),he=[];Object.keys(T||{}).map(function(De){var Ne;(T==null?void 0:T[De])!==((Ne=ie.current)===null||Ne===void 0?void 0:Ne[De])&&he.push(De)}),ie.current=T;var be=React.useRef([]);return he.length&&(be.current=he),React.useDebugValue(te.current),React.useDebugValue(be.current.join(", ")),ae&&console.log("".concat(ae,":"),te.current,be.current),te.current}var k=null,I=null,Z=u(76190),$=u(33885),L=u(20068),ye=u(92310),b=u.n(ye),h=u(80547),w=u(97938),R=u(48736),D=p.createContext({renderWithProps:!1}),x=D,n="RC_TABLE_KEY";function i(T){return T==null?[]:Array.isArray(T)?T:[T]}function y(T){var ae=[],te={};return T.forEach(function(ie){for(var he=ie||{},be=he.key,De=he.dataIndex,Ne=be||i(De).join("-")||n;te[Ne];)Ne="".concat(Ne,"_next");te[Ne]=!0,ae.push(Ne)}),ae}function A(T){return T!=null}function le(T){return typeof T=="number"&&!Number.isNaN(T)}function xe(T){return T&&(0,Z.Z)(T)==="object"&&!Array.isArray(T)&&!p.isValidElement(T)}function Te(T,ae,te,ie,he,be){var De=p.useContext(x),Ne=m(),we=(0,h.Z)(function(){if(A(ie))return[ie];var ne=ae==null||ae===""?[]:Array.isArray(ae)?ae:[ae],se=(0,w.Z)(T,ne),de=se,ge=void 0;if(he){var Se=he(se,T,te);xe(Se)?(de=Se.children,ge=Se.props,De.renderWithProps=!0):de=Se}return[de,ge]},[Ne,T,ie,ae,he,te],function(ne,se){if(be){var de=(0,O.Z)(ne,2),ge=de[1],Se=(0,O.Z)(se,2),Ue=Se[1];return be(Ue,ge)}return De.renderWithProps?!0:!(0,z.Z)(ne,se,!0)});return we}function ze(T,ae,te,ie){var he=T+ae-1;return T<=ie&&he>=te}function Ge(T,ae){return e(l,function(te){var ie=ze(T,ae||1,te.hoverStartRow,te.hoverEndRow);return[ie,te.onHover]})}var Tt=u(70425),Ee=function(ae){var te=ae.ellipsis,ie=ae.rowType,he=ae.children,be,De=te===!0?{showTitle:!0}:te;return De&&(De.showTitle||ie==="header")&&(typeof he=="string"||typeof he=="number"?be=he.toString():p.isValidElement(he)&&typeof he.props.children=="string"&&(be=he.props.children)),be};function Je(T){var ae,te,ie,he,be,De,Ne,we,ne=T.component,se=T.children,de=T.ellipsis,ge=T.scope,Se=T.prefixCls,Ue=T.className,ft=T.align,rt=T.record,Rt=T.render,Ft=T.dataIndex,Ot=T.renderIndex,Yt=T.shouldCellUpdate,pt=T.index,dn=T.rowType,rn=T.colSpan,hn=T.rowSpan,Gt=T.fixLeft,tn=T.fixRight,pn=T.firstFixLeft,an=T.lastFixLeft,un=T.firstFixRight,It=T.lastFixRight,vt=T.appendNode,Dt=T.additionalProps,Xt=Dt===void 0?{}:Dt,cn=T.isSticky,sn="".concat(Se,"-cell"),ln=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=ln.supportSticky,Xn=ln.allColumnsFixedLeft,$n=ln.rowHoverable,or=Te(rt,Ft,Ot,se,Rt,Yt),ir=(0,O.Z)(or,2),qn=ir[0],gn=ir[1],kn={},Gn=typeof Gt=="number"&&Un,En=typeof tn=="number"&&Un;Gn&&(kn.position="sticky",kn.left=Gt),En&&(kn.position="sticky",kn.right=tn);var wn=(ae=(te=(ie=gn==null?void 0:gn.colSpan)!==null&&ie!==void 0?ie:Xt.colSpan)!==null&&te!==void 0?te:rn)!==null&&ae!==void 0?ae:1,Sn=(he=(be=(De=gn==null?void 0:gn.rowSpan)!==null&&De!==void 0?De:Xt.rowSpan)!==null&&be!==void 0?be:hn)!==null&&he!==void 0?he:1,Et=Ge(pt,Sn),Jt=(0,O.Z)(Et,2),en=Jt[0],nn=Jt[1],Pn=(0,Tt.zX)(function(Bn){var Hn;rt&&nn(pt,pt+Sn-1),Xt==null||(Hn=Xt.onMouseEnter)===null||Hn===void 0||Hn.call(Xt,Bn)}),In=(0,Tt.zX)(function(Bn){var Hn;rt&&nn(-1,-1),Xt==null||(Hn=Xt.onMouseLeave)===null||Hn===void 0||Hn.call(Xt,Bn)});if(wn===0||Sn===0)return null;var ar=(Ne=Xt.title)!==null&&Ne!==void 0?Ne:Ee({rowType:dn,ellipsis:de,children:qn}),mt=b()(sn,Ue,(we={},(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)(we,"".concat(sn,"-fix-left"),Gn&&Un),"".concat(sn,"-fix-left-first"),pn&&Un),"".concat(sn,"-fix-left-last"),an&&Un),"".concat(sn,"-fix-left-all"),an&&Xn&&Un),"".concat(sn,"-fix-right"),En&&Un),"".concat(sn,"-fix-right-first"),un&&Un),"".concat(sn,"-fix-right-last"),It&&Un),"".concat(sn,"-ellipsis"),de),"".concat(sn,"-with-append"),vt),"".concat(sn,"-fix-sticky"),(Gn||En)&&cn&&Un),(0,L.Z)(we,"".concat(sn,"-row-hover"),!gn&&en)),Xt.className,gn==null?void 0:gn.className),Wt={};ft&&(Wt.textAlign=ft);var Zt=(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},gn==null?void 0:gn.style),kn),Wt),Xt.style),Tn=qn;return(0,Z.Z)(Tn)==="object"&&!Array.isArray(Tn)&&!p.isValidElement(Tn)&&(Tn=null),de&&(an||un)&&(Tn=p.createElement("span",{className:"".concat(sn,"-content")},Tn)),p.createElement(ne,(0,s.Z)({},gn,Xt,{className:mt,style:Zt,title:ar,scope:ge,onMouseEnter:$n?Pn:void 0,onMouseLeave:$n?In:void 0,colSpan:wn!==1?wn:null,rowSpan:Sn!==1?Sn:null}),vt,Tn)}var Le=p.memo(Je);function pe(T,ae,te,ie,he){var be=te[T]||{},De=te[ae]||{},Ne,we;be.fixed==="left"?Ne=ie.left[he==="rtl"?ae:T]:De.fixed==="right"&&(we=ie.right[he==="rtl"?T:ae]);var ne=!1,se=!1,de=!1,ge=!1,Se=te[ae+1],Ue=te[T-1],ft=Se&&!Se.fixed||Ue&&!Ue.fixed||te.every(function(Yt){return Yt.fixed==="left"});if(he==="rtl"){if(Ne!==void 0){var rt=Ue&&Ue.fixed==="left";ge=!rt&&ft}else if(we!==void 0){var Rt=Se&&Se.fixed==="right";de=!Rt&&ft}}else if(Ne!==void 0){var Ft=Se&&Se.fixed==="left";ne=!Ft&&ft}else if(we!==void 0){var Ot=Ue&&Ue.fixed==="right";se=!Ot&&ft}return{fixLeft:Ne,fixRight:we,lastFixLeft:ne,firstFixRight:se,lastFixRight:de,firstFixLeft:ge,isSticky:ie.isSticky}}var ue=p.createContext({}),re=ue;function W(T){var ae=T.className,te=T.index,ie=T.children,he=T.colSpan,be=he===void 0?1:he,De=T.rowSpan,Ne=T.align,we=e(l,["prefixCls","direction"]),ne=we.prefixCls,se=we.direction,de=p.useContext(re),ge=de.scrollColumnIndex,Se=de.stickyOffsets,Ue=de.flattenColumns,ft=te+be-1,rt=ft+1===ge?be+1:be,Rt=pe(te,te+rt-1,Ue,Se,se);return p.createElement(Le,(0,s.Z)({className:ae,index:te,component:"td",prefixCls:ne,record:null,dataIndex:null,align:Ne,colSpan:rt,rowSpan:De,render:function(){return ie}},Rt))}var Q=u(75931),c=["children"];function B(T){var ae=T.children,te=(0,Q.Z)(T,c);return p.createElement("tr",te,ae)}function q(T){var ae=T.children;return ae}q.Row=B,q.Cell=W;var C=q;function v(T){var ae=T.children,te=T.stickyOffsets,ie=T.flattenColumns,he=e(l,"prefixCls"),be=ie.length-1,De=ie[be],Ne=p.useMemo(function(){return{stickyOffsets:te,flattenColumns:ie,scrollColumnIndex:De!=null&&De.scrollbar?be:null}},[De,ie,be,te]);return p.createElement(re.Provider,{value:Ne},p.createElement("tfoot",{className:"".concat(he,"-summary")},ae))}var F=_(v),ee=C,M=u(29301),V=u(3465),j=u(75152),ce=u(26112);function oe(T,ae,te,ie,he,be,De){T.push({record:ae,indent:te,index:De});var Ne=be(ae),we=he==null?void 0:he.has(Ne);if(ae&&Array.isArray(ae[ie])&&we)for(var ne=0;ne<ae[ie].length;ne+=1)oe(T,ae[ie][ne],te+1,ie,he,be,ne)}function Ce(T,ae,te,ie){var he=p.useMemo(function(){if(te!=null&&te.size){for(var be=[],De=0;De<(T==null?void 0:T.length);De+=1){var Ne=T[De];oe(be,Ne,0,ae,te,ie,De)}return be}return T==null?void 0:T.map(function(we,ne){return{record:we,indent:0,index:ne}})},[T,ae,te,ie]);return he}function Ze(T,ae,te,ie){var he=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),be=he.flattenColumns,De=he.expandableType,Ne=he.expandedKeys,we=he.childrenColumnName,ne=he.onTriggerExpand,se=he.rowExpandable,de=he.onRow,ge=he.expandRowByClick,Se=he.rowClassName,Ue=De==="nest",ft=De==="row"&&(!se||se(T)),rt=ft||Ue,Rt=Ne&&Ne.has(ae),Ft=we&&T&&T[we],Ot=(0,Tt.zX)(ne),Yt=de==null?void 0:de(T,te),pt=Yt==null?void 0:Yt.onClick,dn=function(tn){ge&&rt&&ne(T,tn);for(var pn=arguments.length,an=new Array(pn>1?pn-1:0),un=1;un<pn;un++)an[un-1]=arguments[un];pt==null||pt.apply(void 0,[tn].concat(an))},rn;typeof Se=="string"?rn=Se:typeof Se=="function"&&(rn=Se(T,te,ie));var hn=y(be);return(0,$.Z)((0,$.Z)({},he),{},{columnsKey:hn,nestExpandable:Ue,expanded:Rt,hasNestChildren:Ft,record:T,onTriggerExpand:Ot,rowSupportExpand:ft,expandable:rt,rowProps:(0,$.Z)((0,$.Z)({},Yt),{},{className:b()(rn,Yt==null?void 0:Yt.className),onClick:dn})})}function Ye(T){var ae=T.prefixCls,te=T.children,ie=T.component,he=T.cellComponent,be=T.className,De=T.expanded,Ne=T.colSpan,we=T.isEmpty,ne=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),se=ne.scrollbarSize,de=ne.fixHeader,ge=ne.fixColumn,Se=ne.componentWidth,Ue=ne.horizonScroll,ft=te;return(we?Ue&&Se:ge)&&(ft=p.createElement("div",{style:{width:Se-(de&&!we?se:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ae,"-expanded-row-fixed")},ft)),p.createElement(ie,{className:be,style:{display:De?null:"none"}},p.createElement(Le,{component:he,prefixCls:ae,colSpan:Ne},ft))}var Ke=Ye;function Me(T){var ae=T.prefixCls,te=T.record,ie=T.onExpand,he=T.expanded,be=T.expandable,De="".concat(ae,"-row-expand-icon");if(!be)return p.createElement("span",{className:b()(De,"".concat(ae,"-row-spaced"))});var Ne=function(ne){ie(te,ne),ne.stopPropagation()};return p.createElement("span",{className:b()(De,(0,L.Z)((0,L.Z)({},"".concat(ae,"-row-expanded"),he),"".concat(ae,"-row-collapsed"),!he)),onClick:Ne})}function Ie(T,ae,te){var ie=[];function he(be){(be||[]).forEach(function(De,Ne){ie.push(ae(De,Ne)),he(De[te])})}return he(T),ie}function st(T,ae,te,ie){return typeof T=="string"?T:typeof T=="function"?T(ae,te,ie):""}function Xe(T,ae,te,ie,he){var be=T.record,De=T.prefixCls,Ne=T.columnsKey,we=T.fixedInfoList,ne=T.expandIconColumnIndex,se=T.nestExpandable,de=T.indentSize,ge=T.expandIcon,Se=T.expanded,Ue=T.hasNestChildren,ft=T.onTriggerExpand,rt=Ne[te],Rt=we[te],Ft;te===(ne||0)&&se&&(Ft=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(de*ie,"px")},className:"".concat(De,"-row-indent indent-level-").concat(ie)}),ge({prefixCls:De,expanded:Se,expandable:Ue,record:be,onExpand:ft})));var Ot;return ae.onCell&&(Ot=ae.onCell(be,he)),{key:rt,fixedInfo:Rt,appendCellNode:Ft,additionalCellProps:Ot||{}}}function He(T){var ae=T.className,te=T.style,ie=T.record,he=T.index,be=T.renderIndex,De=T.rowKey,Ne=T.indent,we=Ne===void 0?0:Ne,ne=T.rowComponent,se=T.cellComponent,de=T.scopeCellComponent,ge=Ze(ie,De,he,we),Se=ge.prefixCls,Ue=ge.flattenColumns,ft=ge.expandedRowClassName,rt=ge.expandedRowRender,Rt=ge.rowProps,Ft=ge.expanded,Ot=ge.rowSupportExpand,Yt=p.useRef(!1);Yt.current||(Yt.current=Ft);var pt=st(ft,ie,he,we),dn=p.createElement(ne,(0,s.Z)({},Rt,{"data-row-key":De,className:b()(ae,"".concat(Se,"-row"),"".concat(Se,"-row-level-").concat(we),Rt==null?void 0:Rt.className,(0,L.Z)({},pt,we>=1)),style:(0,$.Z)((0,$.Z)({},te),Rt==null?void 0:Rt.style)}),Ue.map(function(Gt,tn){var pn=Gt.render,an=Gt.dataIndex,un=Gt.className,It=Xe(ge,Gt,tn,we,he),vt=It.key,Dt=It.fixedInfo,Xt=It.appendCellNode,cn=It.additionalCellProps;return p.createElement(Le,(0,s.Z)({className:un,ellipsis:Gt.ellipsis,align:Gt.align,scope:Gt.rowScope,component:Gt.rowScope?de:se,prefixCls:Se,key:vt,record:ie,index:he,renderIndex:be,dataIndex:an,render:pn,shouldCellUpdate:Gt.shouldCellUpdate},Dt,{appendNode:Xt,additionalProps:cn}))})),rn;if(Ot&&(Yt.current||Ft)){var hn=rt(ie,he,we+1,Ft);rn=p.createElement(Ke,{expanded:Ft,className:b()("".concat(Se,"-expanded-row"),"".concat(Se,"-expanded-row-level-").concat(we+1),pt),prefixCls:Se,component:ne,cellComponent:se,colSpan:Ue.length,isEmpty:!1},hn)}return p.createElement(p.Fragment,null,dn,rn)}var Bt=_(He);function Pt(T){var ae=T.columnKey,te=T.onColumnResize,ie=p.useRef();return(0,Y.Z)(function(){ie.current&&te(ae,ie.current.offsetWidth)},[]),p.createElement(M.Z,{data:ae},p.createElement("td",{ref:ie,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var ke=u(29194);function Ut(T){var ae=T.prefixCls,te=T.columnsKey,ie=T.onColumnResize,he=p.useRef(null);return p.createElement("tr",{"aria-hidden":"true",className:"".concat(ae,"-measure-row"),style:{height:0,fontSize:0},ref:he},p.createElement(M.Z.Collection,{onBatchResize:function(De){(0,ke.Z)(he.current)&&De.forEach(function(Ne){var we=Ne.data,ne=Ne.size;ie(we,ne.offsetWidth)})}},te.map(function(be){return p.createElement(Pt,{key:be,columnKey:be,onColumnResize:ie})})))}function _n(T){var ae=T.data,te=T.measureColumnWidth,ie=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),he=ie.prefixCls,be=ie.getComponent,De=ie.onColumnResize,Ne=ie.flattenColumns,we=ie.getRowKey,ne=ie.expandedKeys,se=ie.childrenColumnName,de=ie.emptyNode,ge=Ce(ae,se,ne,we),Se=p.useRef({renderWithProps:!1}),Ue=be(["body","wrapper"],"tbody"),ft=be(["body","row"],"tr"),rt=be(["body","cell"],"td"),Rt=be(["body","cell"],"th"),Ft;ae.length?Ft=ge.map(function(Yt,pt){var dn=Yt.record,rn=Yt.indent,hn=Yt.index,Gt=we(dn,pt);return p.createElement(Bt,{key:Gt,rowKey:Gt,record:dn,index:pt,renderIndex:hn,rowComponent:ft,cellComponent:rt,scopeCellComponent:Rt,indent:rn})}):Ft=p.createElement(Ke,{expanded:!0,className:"".concat(he,"-placeholder"),prefixCls:he,component:ft,cellComponent:rt,colSpan:Ne.length,isEmpty:!0},de);var Ot=y(Ne);return p.createElement(x.Provider,{value:Se.current},p.createElement(Ue,{className:"".concat(he,"-tbody")},te&&p.createElement(Ut,{prefixCls:he,columnsKey:Ot,onColumnResize:De}),Ft))}var Nt=_(_n),dt=u(54451),Kt=["columnType"];function fn(T){for(var ae=T.colWidths,te=T.columns,ie=T.columCount,he=e(l,["tableLayout"]),be=he.tableLayout,De=[],Ne=ie||te.length,we=!1,ne=Ne-1;ne>=0;ne-=1){var se=ae[ne],de=te&&te[ne],ge=void 0,Se=void 0;if(de&&(ge=de[dt.v],be==="auto"&&(Se=de.minWidth)),se||Se||ge||we){var Ue=ge||{},ft=Ue.columnType,rt=(0,Q.Z)(Ue,Kt);De.unshift(p.createElement("col",(0,s.Z)({key:ne,style:{width:se,minWidth:Se}},rt))),we=!0}}return p.createElement("colgroup",null,De)}var Vt=fn,_t=u(94480),Qt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Cn(T,ae){return(0,p.useMemo)(function(){for(var te=[],ie=0;ie<ae;ie+=1){var he=T[ie];if(he!==void 0)te[ie]=he;else return null}return te},[T.join("_"),ae])}var At=p.forwardRef(function(T,ae){var te=T.className,ie=T.noData,he=T.columns,be=T.flattenColumns,De=T.colWidths,Ne=T.columCount,we=T.stickyOffsets,ne=T.direction,se=T.fixHeader,de=T.stickyTopOffset,ge=T.stickyBottomOffset,Se=T.stickyClassName,Ue=T.onScroll,ft=T.maxContentScroll,rt=T.children,Rt=(0,Q.Z)(T,Qt),Ft=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ot=Ft.prefixCls,Yt=Ft.scrollbarSize,pt=Ft.isSticky,dn=Ft.getComponent,rn=dn(["header","table"],"table"),hn=pt&&!se?0:Yt,Gt=p.useRef(null),tn=p.useCallback(function(cn){(0,d.mH)(ae,cn),(0,d.mH)(Gt,cn)},[]);p.useEffect(function(){var cn;function sn(ln){var Un=ln,Xn=Un.currentTarget,$n=Un.deltaX;$n&&(Ue({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),ln.preventDefault())}return(cn=Gt.current)===null||cn===void 0||cn.addEventListener("wheel",sn,{passive:!1}),function(){var ln;(ln=Gt.current)===null||ln===void 0||ln.removeEventListener("wheel",sn)}},[]);var pn=p.useMemo(function(){return be.every(function(cn){return cn.width})},[be]),an=be[be.length-1],un={fixed:an?an.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ot,"-cell-scrollbar")}}},It=(0,p.useMemo)(function(){return hn?[].concat((0,_t.Z)(he),[un]):he},[hn,he]),vt=(0,p.useMemo)(function(){return hn?[].concat((0,_t.Z)(be),[un]):be},[hn,be]),Dt=(0,p.useMemo)(function(){var cn=we.right,sn=we.left;return(0,$.Z)((0,$.Z)({},we),{},{left:ne==="rtl"?[].concat((0,_t.Z)(sn.map(function(ln){return ln+hn})),[0]):sn,right:ne==="rtl"?cn:[].concat((0,_t.Z)(cn.map(function(ln){return ln+hn})),[0]),isSticky:pt})},[hn,we,pt]),Xt=Cn(De,Ne);return p.createElement("div",{style:(0,$.Z)({overflow:"hidden"},pt?{top:de,bottom:ge}:{}),ref:tn,className:b()(te,(0,L.Z)({},Se,!!Se))},p.createElement(rn,{style:{tableLayout:"fixed",visibility:ie||Xt?null:"hidden"}},(!ie||!ft||pn)&&p.createElement(Vt,{colWidths:Xt?[].concat((0,_t.Z)(Xt),[hn]):[],columCount:Ne+1,columns:vt}),rt((0,$.Z)((0,$.Z)({},Rt),{},{stickyOffsets:Dt,columns:It,flattenColumns:vt}))))}),ct=p.memo(At),Ct=function(ae){var te=ae.cells,ie=ae.stickyOffsets,he=ae.flattenColumns,be=ae.rowComponent,De=ae.cellComponent,Ne=ae.onHeaderRow,we=ae.index,ne=e(l,["prefixCls","direction"]),se=ne.prefixCls,de=ne.direction,ge;Ne&&(ge=Ne(te.map(function(Ue){return Ue.column}),we));var Se=y(te.map(function(Ue){return Ue.column}));return p.createElement(be,ge,te.map(function(Ue,ft){var rt=Ue.column,Rt=pe(Ue.colStart,Ue.colEnd,he,ie,de),Ft;return rt&&rt.onHeaderCell&&(Ft=Ue.column.onHeaderCell(rt)),p.createElement(Le,(0,s.Z)({},Ue,{scope:rt.title?Ue.colSpan>1?"colgroup":"col":null,ellipsis:rt.ellipsis,align:rt.align,component:De,prefixCls:se,key:Se[ft]},Rt,{additionalProps:Ft,rowType:"header"}))}))},Kn=Ct;function mn(T){var ae=[];function te(De,Ne){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ae[we]=ae[we]||[];var ne=Ne,se=De.filter(Boolean).map(function(de){var ge={key:de.key,className:de.className||"",children:de.title,column:de,colStart:ne},Se=1,Ue=de.children;return Ue&&Ue.length>0&&(Se=te(Ue,ne,we+1).reduce(function(ft,rt){return ft+rt},0),ge.hasSubColumns=!0),"colSpan"in de&&(Se=de.colSpan),"rowSpan"in de&&(ge.rowSpan=de.rowSpan),ge.colSpan=Se,ge.colEnd=ge.colStart+Se-1,ae[we].push(ge),ne+=Se,Se});return se}te(T,0);for(var ie=ae.length,he=function(Ne){ae[Ne].forEach(function(we){!("rowSpan"in we)&&!we.hasSubColumns&&(we.rowSpan=ie-Ne)})},be=0;be<ie;be+=1)he(be);return ae}var An=function(ae){var te=ae.stickyOffsets,ie=ae.columns,he=ae.flattenColumns,be=ae.onHeaderRow,De=e(l,["prefixCls","getComponent"]),Ne=De.prefixCls,we=De.getComponent,ne=p.useMemo(function(){return mn(ie)},[ie]),se=we(["header","wrapper"],"thead"),de=we(["header","row"],"tr"),ge=we(["header","cell"],"th");return p.createElement(se,{className:"".concat(Ne,"-thead")},ne.map(function(Se,Ue){var ft=p.createElement(Kn,{key:Ue,flattenColumns:he,cells:Se,stickyOffsets:te,rowComponent:de,cellComponent:ge,onHeaderRow:be,index:Ue});return ft}))},Wn=_(An),vn=u(97347);function Nn(T,ae,te){var ie=(0,dt.g)(T),he=ie.expandIcon,be=ie.expandedRowKeys,De=ie.defaultExpandedRowKeys,Ne=ie.defaultExpandAllRows,we=ie.expandedRowRender,ne=ie.onExpand,se=ie.onExpandedRowsChange,de=ie.childrenColumnName,ge=he||Me,Se=de||"children",Ue=p.useMemo(function(){return we?"row":T.expandable&&T.internalHooks===P.R&&T.expandable.__PARENT_RENDER_ICON__||ae.some(function(pt){return pt&&(0,Z.Z)(pt)==="object"&&pt[Se]})?"nest":!1},[!!we,ae]),ft=p.useState(function(){return De||(Ne?Ie(ae,te,Se):[])}),rt=(0,O.Z)(ft,2),Rt=rt[0],Ft=rt[1],Ot=p.useMemo(function(){return new Set(be||Rt||[])},[be,Rt]),Yt=p.useCallback(function(pt){var dn=te(pt,ae.indexOf(pt)),rn,hn=Ot.has(dn);hn?(Ot.delete(dn),rn=(0,_t.Z)(Ot)):rn=[].concat((0,_t.Z)(Ot),[dn]),Ft(rn),ne&&ne(!hn,pt),se&&se(rn)},[te,Ot,ae,ne,se]);return[ie,Ue,Ot,ge,Se,Yt]}function Fn(T,ae,te){var ie=T.map(function(he,be){return pe(be,be,T,ae,te)});return(0,h.Z)(function(){return ie},[ie],function(he,be){return!(0,z.Z)(he,be)})}function zn(T){var ae=(0,p.useRef)(T),te=(0,p.useState)({}),ie=(0,O.Z)(te,2),he=ie[1],be=(0,p.useRef)(null),De=(0,p.useRef)([]);function Ne(we){De.current.push(we);var ne=Promise.resolve();be.current=ne,ne.then(function(){if(be.current===ne){var se=De.current,de=ae.current;De.current=[],se.forEach(function(ge){ae.current=ge(ae.current)}),be.current=null,de!==ae.current&&he({})}})}return(0,p.useEffect)(function(){return function(){be.current=null}},[]),[ae.current,Ne]}function Mn(T){var ae=(0,p.useRef)(T||null),te=(0,p.useRef)();function ie(){window.clearTimeout(te.current)}function he(De){ae.current=De,ie(),te.current=window.setTimeout(function(){ae.current=null,te.current=void 0},100)}function be(){return ae.current}return(0,p.useEffect)(function(){return ie},[]),[he,be]}function yn(){var T=p.useState(-1),ae=(0,O.Z)(T,2),te=ae[0],ie=ae[1],he=p.useState(-1),be=(0,O.Z)(he,2),De=be[0],Ne=be[1],we=p.useCallback(function(ne,se){ie(ne),Ne(se)},[]);return[te,De,we]}var Zn=u(47273),at=(0,Zn.Z)()?window:null;function nt(T,ae){var te=(0,Z.Z)(T)==="object"?T:{},ie=te.offsetHeader,he=ie===void 0?0:ie,be=te.offsetSummary,De=be===void 0?0:be,Ne=te.offsetScroll,we=Ne===void 0?0:Ne,ne=te.getContainer,se=ne===void 0?function(){return at}:ne,de=se()||at,ge=!!T;return p.useMemo(function(){return{isSticky:ge,stickyClassName:ge?"".concat(ae,"-sticky-holder"):"",offsetHeader:he,offsetSummary:De,offsetScroll:we,container:de}},[ge,we,he,De,ae,de])}function qt(T,ae,te){var ie=(0,p.useMemo)(function(){var he=ae.length,be=function(ne,se,de){for(var ge=[],Se=0,Ue=ne;Ue!==se;Ue+=de)ge.push(Se),ae[Ue].fixed&&(Se+=T[Ue]||0);return ge},De=be(0,he,1),Ne=be(he-1,-1,-1).reverse();return te==="rtl"?{left:Ne,right:De}:{left:De,right:Ne}},[T,ae,te]);return ie}var bn=qt;function xn(T){var ae=T.className,te=T.children;return p.createElement("div",{className:ae},te)}var J=xn,G=u(8224),Fe=u(16089),Re=u(76846);function je(T){var ae=(0,Re.bn)(T),te=ae.getBoundingClientRect(),ie=document.documentElement;return{left:te.left+(window.pageXOffset||ie.scrollLeft)-(ie.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||ie.scrollTop)-(ie.clientTop||document.body.clientTop||0)}}var $e=function(ae,te){var ie,he,be=ae.scrollBodyRef,De=ae.onScroll,Ne=ae.offsetScroll,we=ae.container,ne=ae.direction,se=e(l,"prefixCls"),de=((ie=be.current)===null||ie===void 0?void 0:ie.scrollWidth)||0,ge=((he=be.current)===null||he===void 0?void 0:he.clientWidth)||0,Se=de&&ge*(ge/de),Ue=p.useRef(),ft=zn({scrollLeft:0,isHiddenScrollBar:!0}),rt=(0,O.Z)(ft,2),Rt=rt[0],Ft=rt[1],Ot=p.useRef({delta:0,x:0}),Yt=p.useState(!1),pt=(0,O.Z)(Yt,2),dn=pt[0],rn=pt[1],hn=p.useRef(null);p.useEffect(function(){return function(){Fe.Z.cancel(hn.current)}},[]);var Gt=function(){rn(!1)},tn=function(vt){vt.persist(),Ot.current.delta=vt.pageX-Rt.scrollLeft,Ot.current.x=0,rn(!0),vt.preventDefault()},pn=function(vt){var Dt,Xt=vt||((Dt=window)===null||Dt===void 0?void 0:Dt.event),cn=Xt.buttons;if(!dn||cn===0){dn&&rn(!1);return}var sn=Ot.current.x+vt.pageX-Ot.current.x-Ot.current.delta,ln=ne==="rtl";sn=Math.max(ln?Se-ge:0,Math.min(ln?0:ge-Se,sn));var Un=!ln||Math.abs(sn)+Math.abs(Se)<ge;Un&&(De({scrollLeft:sn/ge*(de+2)}),Ot.current.x=vt.pageX)},an=function(){Fe.Z.cancel(hn.current),hn.current=(0,Fe.Z)(function(){if(be.current){var vt=je(be.current).top,Dt=vt+be.current.offsetHeight,Xt=we===window?document.documentElement.scrollTop+window.innerHeight:je(we).top+we.clientHeight;Dt-(0,j.Z)()<=Xt||vt>=Xt-Ne?Ft(function(cn){return(0,$.Z)((0,$.Z)({},cn),{},{isHiddenScrollBar:!0})}):Ft(function(cn){return(0,$.Z)((0,$.Z)({},cn),{},{isHiddenScrollBar:!1})})}})},un=function(vt){Ft(function(Dt){return(0,$.Z)((0,$.Z)({},Dt),{},{scrollLeft:vt/de*ge||0})})};return p.useImperativeHandle(te,function(){return{setScrollLeft:un,checkScrollBarVisible:an}}),p.useEffect(function(){var It=(0,G.Z)(document.body,"mouseup",Gt,!1),vt=(0,G.Z)(document.body,"mousemove",pn,!1);return an(),function(){It.remove(),vt.remove()}},[Se,dn]),p.useEffect(function(){if(be.current){for(var It=[],vt=(0,Re.bn)(be.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),we.addEventListener("scroll",an,!1),function(){It.forEach(function(Dt){return Dt.removeEventListener("scroll",an)}),window.removeEventListener("resize",an),window.removeEventListener("scroll",an),we.removeEventListener("scroll",an)}}},[we]),p.useEffect(function(){Rt.isHiddenScrollBar||Ft(function(It){var vt=be.current;return vt?(0,$.Z)((0,$.Z)({},It),{},{scrollLeft:vt.scrollLeft/vt.scrollWidth*vt.clientWidth}):It})},[Rt.isHiddenScrollBar]),de<=ge||!Se||Rt.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,j.Z)(),width:ge,bottom:Ne},className:"".concat(se,"-sticky-scroll")},p.createElement("div",{onMouseDown:tn,ref:Ue,className:b()("".concat(se,"-sticky-scroll-bar"),(0,L.Z)({},"".concat(se,"-sticky-scroll-bar-active"),dn)),style:{width:"".concat(Se,"px"),transform:"translate3d(".concat(Rt.scrollLeft,"px, 0, 0)")}}))},Ve=p.forwardRef($e);function Be(T){return null}var it=Be;function We(T){return null}var Qe=We,ot="rc-table",wt=[],qe={};function X(){return"No Data"}function fe(T,ae){var te=(0,$.Z)({rowKey:"key",prefixCls:ot,emptyText:X},T),ie=te.prefixCls,he=te.className,be=te.rowClassName,De=te.style,Ne=te.data,we=te.rowKey,ne=te.scroll,se=te.tableLayout,de=te.direction,ge=te.title,Se=te.footer,Ue=te.summary,ft=te.caption,rt=te.id,Rt=te.showHeader,Ft=te.components,Ot=te.emptyText,Yt=te.onRow,pt=te.onHeaderRow,dn=te.onScroll,rn=te.internalHooks,hn=te.transformColumns,Gt=te.internalRefs,tn=te.tailor,pn=te.getContainerWidth,an=te.sticky,un=te.rowHoverable,It=un===void 0?!0:un,vt=Ne||wt,Dt=!!vt.length,Xt=rn===P.R,cn=p.useCallback(function(Ln,jn){return(0,w.Z)(Ft,Ln)||jn},[Ft]),sn=p.useMemo(function(){return typeof we=="function"?we:function(Ln){var jn=Ln&&Ln[we];return jn}},[we]),ln=cn(["body"]),Un=yn(),Xn=(0,O.Z)(Un,3),$n=Xn[0],or=Xn[1],ir=Xn[2],qn=Nn(te,vt,sn),gn=(0,O.Z)(qn,6),kn=gn[0],Gn=gn[1],En=gn[2],wn=gn[3],Sn=gn[4],Et=gn[5],Jt=ne==null?void 0:ne.x,en=p.useState(0),nn=(0,O.Z)(en,2),Pn=nn[0],In=nn[1],ar=(0,vn.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},te),kn),{},{expandable:!!kn.expandedRowRender,columnTitle:kn.columnTitle,expandedKeys:En,getRowKey:sn,onTriggerExpand:Et,expandIcon:wn,expandIconColumnIndex:kn.expandIconColumnIndex,direction:de,scrollWidth:Xt&&tn&&typeof Jt=="number"?Jt:null,clientWidth:Pn}),Xt?hn:null),mt=(0,O.Z)(ar,4),Wt=mt[0],Zt=mt[1],Tn=mt[2],Bn=mt[3],Hn=Tn!=null?Tn:Jt,cr=p.useMemo(function(){return{columns:Wt,flattenColumns:Zt}},[Wt,Zt]),dr=p.useRef(),lr=p.useRef(),Jn=p.useRef(),Fr=p.useRef();p.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=p.useRef(),Sr=p.useState(!1),Tr=(0,O.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ar=p.useState(!1),br=(0,O.Z)(Ar,2),Mr=br[0],Pr=br[1],zr=p.useState(new Map),kr=(0,O.Z)(zr,2),$r=kr[0],Ir=kr[1],Gr=y(Zt),jr=Gr.map(function(Ln){return $r.get(Ln)}),Wr=p.useMemo(function(){return jr},[jr.join("_")]),Dr=bn(Wr,Zt,de),hr=ne&&A(ne.y),ur=ne&&A(Hn)||!!kn.fixed,Dn=ur&&Zt.some(function(Ln){var jn=Ln.fixed;return jn}),Rn=p.useRef(),nr=nt(an,ie),Qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,sr=p.useMemo(function(){return Ue==null?void 0:Ue(vt)},[Ue,vt]),mr=(hr||Qn)&&p.isValidElement(sr)&&sr.type===C&&sr.props.fixed,Rr,Er,Yr;hr&&(Er={overflowY:Dt?"scroll":"auto",maxHeight:ne.y}),ur&&(Rr={overflowX:"auto"},hr||(Er={overflowY:"hidden"}),Yr={width:Hn===!0?"auto":Hn,minWidth:"100%"});var qr=p.useCallback(function(Ln,jn){Ir(function(_r){if(_r.get(Ln)!==jn){var wr=new Map(_r);return wr.set(Ln,jn),wr}return _r})},[]),tr=Mn(null),Vn=(0,O.Z)(tr,2),Yn=Vn[0],vr=Vn[1];function fr(Ln,jn){jn&&(typeof jn=="function"?jn(Ln):jn.scrollLeft!==Ln&&(jn.scrollLeft=Ln,jn.scrollLeft!==Ln&&setTimeout(function(){jn.scrollLeft=Ln},0)))}var Cr=(0,K.Z)(function(Ln){var jn=Ln.currentTarget,_r=Ln.scrollLeft,wr=de==="rtl",pr=typeof _r=="number"?_r:jn.scrollLeft,Hr=jn||qe;if(!vr()||vr()===Hr){var Lr;Yn(Hr),fr(pr,lr.current),fr(pr,Jn.current),fr(pr,Br.current),fr(pr,(Lr=Rn.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,K.Z)(function(Ln){Cr(Ln),dn==null||dn(Ln)}),ei=function(){if(ur&&Jn.current){var jn;Cr({currentTarget:(0,Re.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=Rn.current)===null||_r===void 0||_r.checkScrollBarVisible();var pr=dr.current?dr.current.offsetWidth:wr;Xt&&pn&&dr.current&&(pr=pn(dr.current,pr)||pr),pr!==Pn&&(ei(),In(pr))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ei()},[ur,Ne,Wt.length]),p.useEffect(function(){Jr.current=!0},[]);var Zr=p.useState(0),Ur=(0,O.Z)(Zr,2),Vr=Ur[0],li=Ur[1],wi=p.useState(!0),ui=(0,O.Z)(wi,2),ci=ui[0],xi=ui[1];(0,Y.Z)(function(){(!tn||!Xt)&&(Jn.current instanceof Element?li((0,j.o)(Jn.current).width):li((0,j.o)(Fr.current).width)),xi((0,V.G)("position","sticky"))},[]),p.useEffect(function(){Xt&&Gt&&(Gt.body.current=Jn.current)});var Ei=p.useCallback(function(Ln){return p.createElement(p.Fragment,null,p.createElement(Wn,Ln),mr==="top"&&p.createElement(F,Ln,sr))},[mr,sr]),Ci=p.useCallback(function(Ln){return p.createElement(F,Ln,sr)},[sr]),fi=cn(["table"],"table"),ni=p.useMemo(function(){return se||(Dn?Hn==="max-content"?"auto":"fixed":hr||Qn||Zt.some(function(Ln){var jn=Ln.ellipsis;return jn})?"fixed":"auto")},[hr,Dn,Zt,se,Qn]),ri,ii={colWidths:Wr,columCount:Zt.length,stickyOffsets:Dr,onHeaderRow:pt,fixHeader:hr,scroll:ne},di=p.useMemo(function(){return Dt?null:typeof Ot=="function"?Ot():Ot},[Dt,Ot]),hi=p.createElement(Nt,{data:vt,measureColumnWidth:hr||ur||Qn}),_i=p.createElement(Vt,{colWidths:Zt.map(function(Ln){var jn=Ln.width;return jn}),columns:Zt}),pi=ft!=null?p.createElement("caption",{className:"".concat(ie,"-caption")},ft):void 0,Si=(0,ce.Z)(te,{data:!0}),vi=(0,ce.Z)(te,{aria:!0});if(hr||Qn){var ai;typeof ln=="function"?(ai=ln(vt,{scrollbarSize:Vr,ref:Jn,onScroll:Cr}),ii.colWidths=Zt.map(function(Ln,jn){var _r=Ln.width,wr=jn===Zt.length-1?_r-Vr:_r;return typeof wr=="number"&&!Number.isNaN(wr)?wr:0})):ai=p.createElement("div",{style:(0,$.Z)((0,$.Z)({},Rr),Er),onScroll:Xr,ref:Jn,className:b()("".concat(ie,"-body"))},p.createElement(fi,(0,s.Z)({style:(0,$.Z)((0,$.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,hi,!mr&&sr&&p.createElement(F,{stickyOffsets:Dr,flattenColumns:Zt},sr)));var mi=(0,$.Z)((0,$.Z)((0,$.Z)({noData:!vt.length,maxContentScroll:ur&&Hn==="max-content"},ii),cr),{},{direction:de,stickyClassName:gr,onScroll:Cr});ri=p.createElement(p.Fragment,null,Rt!==!1&&p.createElement(ct,(0,s.Z)({},mi,{stickyTopOffset:er,className:"".concat(ie,"-header"),ref:lr}),Ei),ai,mr&&mr!=="top"&&p.createElement(ct,(0,s.Z)({},mi,{stickyBottomOffset:rr,className:"".concat(ie,"-summary"),ref:Br}),Ci),Qn&&Jn.current&&Jn.current instanceof Element&&p.createElement(Ve,{ref:Rn,offsetScroll:yr,scrollBodyRef:Jn,onScroll:Cr,container:xr,direction:de}))}else ri=p.createElement("div",{style:(0,$.Z)((0,$.Z)({},Rr),Er),className:b()("".concat(ie,"-content")),onScroll:Cr,ref:Jn},p.createElement(fi,(0,s.Z)({style:(0,$.Z)((0,$.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,Rt!==!1&&p.createElement(Wn,(0,s.Z)({},ii,cr)),hi,sr&&p.createElement(F,{stickyOffsets:Dr,flattenColumns:Zt},sr)));var si=p.createElement("div",(0,s.Z)({className:b()(ie,he,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ie,"-rtl"),de==="rtl"),"".concat(ie,"-ping-left"),Nr),"".concat(ie,"-ping-right"),Mr),"".concat(ie,"-layout-fixed"),se==="fixed"),"".concat(ie,"-fixed-header"),hr),"".concat(ie,"-fixed-column"),Dn),"".concat(ie,"-fixed-column-gapped"),Dn&&Bn),"".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:De,id:rt,ref:dr},Si),ge&&p.createElement(J,{className:"".concat(ie,"-title")},ge(vt)),p.createElement("div",{ref:Fr,className:"".concat(ie,"-container")},ri),Se&&p.createElement(J,{className:"".concat(ie,"-footer")},Se(vt)));ur&&(si=p.createElement(M.Z,{onResize:ti},si));var gi=Fn(Zt,Dr,de),Ri=p.useMemo(function(){return{scrollX:Hn,prefixCls:ie,getComponent:cn,scrollbarSize:Vr,direction:de,fixedInfoList:gi,isSticky:Qn,supportSticky:ci,componentWidth:Pn,fixHeader:hr,fixColumn:Dn,horizonScroll:ur,tableLayout:ni,rowClassName:be,expandedRowClassName:kn.expandedRowClassName,expandIcon:wn,expandableType:Gn,expandRowByClick:kn.expandRowByClick,expandedRowRender:kn.expandedRowRender,onTriggerExpand:Et,expandIconColumnIndex:kn.expandIconColumnIndex,indentSize:kn.indentSize,allColumnsFixedLeft:Zt.every(function(Ln){return Ln.fixed==="left"}),emptyNode:di,columns:Wt,flattenColumns:Zt,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:or,onHover:ir,rowExpandable:kn.rowExpandable,onRow:Yt,getRowKey:sn,expandedKeys:En,childrenColumnName:Sn,rowHoverable:It}},[Hn,ie,cn,Vr,de,gi,Qn,ci,Pn,hr,Dn,ur,ni,be,kn.expandedRowClassName,wn,Gn,kn.expandRowByClick,kn.expandedRowRender,Et,kn.expandIconColumnIndex,kn.indentSize,di,Wt,Zt,qr,$n,or,ir,kn.rowExpandable,Yt,sn,En,Sn,It]);return p.createElement(l.Provider,{value:Ri},si)}var ve=p.forwardRef(fe);function _e(T){return S(ve,T)}var me=_e();me.EXPAND_COLUMN=P.w,me.INTERNAL_HOOKS=P.R,me.Column=it,me.ColumnGroup=Qe,me.Summary=ee;var Pe=me,Oe=u(48911),et=H(null),ut=H(null);function gt(T,ae,te){var ie=ae||1;return te[T+ie]-(te[T]||0)}function on(T){var ae=T.rowInfo,te=T.column,ie=T.colIndex,he=T.indent,be=T.index,De=T.component,Ne=T.renderIndex,we=T.record,ne=T.style,se=T.className,de=T.inverse,ge=T.getHeight,Se=te.render,Ue=te.dataIndex,ft=te.className,rt=te.width,Rt=e(ut,["columnsOffset"]),Ft=Rt.columnsOffset,Ot=Xe(ae,te,ie,he,be),Yt=Ot.key,pt=Ot.fixedInfo,dn=Ot.appendCellNode,rn=Ot.additionalCellProps,hn=rn.style,Gt=rn.colSpan,tn=Gt===void 0?1:Gt,pn=rn.rowSpan,an=pn===void 0?1:pn,un=ie-1,It=gt(un,tn,Ft),vt=tn>1?rt-It:0,Dt=(0,$.Z)((0,$.Z)((0,$.Z)({},hn),ne),{},{flex:"0 0 ".concat(It,"px"),width:"".concat(It,"px"),marginRight:vt,pointerEvents:"auto"}),Xt=p.useMemo(function(){return de?an<=1:tn===0||an===0||an>1},[an,tn,de]);Xt?Dt.visibility="hidden":de&&(Dt.height=ge==null?void 0:ge(an));var cn=Xt?function(){return null}:Se,sn={};return(an===0||tn===0)&&(sn.rowSpan=1,sn.colSpan=1),p.createElement(Le,(0,s.Z)({className:b()(ft,se),ellipsis:te.ellipsis,align:te.align,scope:te.rowScope,component:De,prefixCls:ae.prefixCls,key:Yt,record:we,index:be,renderIndex:Ne,dataIndex:Ue,render:cn,shouldCellUpdate:te.shouldCellUpdate},pt,{appendNode:dn,additionalProps:(0,$.Z)((0,$.Z)({},rn),{},{style:Dt},sn)}))}var yt=on,xt=["data","index","className","rowKey","style","extra","getHeight"],Mt=p.forwardRef(function(T,ae){var te=T.data,ie=T.index,he=T.className,be=T.rowKey,De=T.style,Ne=T.extra,we=T.getHeight,ne=(0,Q.Z)(T,xt),se=te.record,de=te.indent,ge=te.index,Se=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ue=Se.scrollX,ft=Se.flattenColumns,rt=Se.prefixCls,Rt=Se.fixColumn,Ft=Se.componentWidth,Ot=e(et,["getComponent"]),Yt=Ot.getComponent,pt=Ze(se,be,ie,de),dn=Yt(["body","row"],"div"),rn=Yt(["body","cell"],"div"),hn=pt.rowSupportExpand,Gt=pt.expanded,tn=pt.rowProps,pn=pt.expandedRowRender,an=pt.expandedRowClassName,un;if(hn&&Gt){var It=pn(se,ie,de+1,Gt),vt=st(an,se,ie,de),Dt={};Rt&&(Dt={style:(0,L.Z)({},"--virtual-width","".concat(Ft,"px"))});var Xt="".concat(rt,"-expanded-row-cell");un=p.createElement(dn,{className:b()("".concat(rt,"-expanded-row"),"".concat(rt,"-expanded-row-level-").concat(de+1),vt)},p.createElement(Le,{component:rn,prefixCls:rt,className:b()(Xt,(0,L.Z)({},"".concat(Xt,"-fixed"),Rt)),additionalProps:Dt},It))}var cn=(0,$.Z)((0,$.Z)({},De),{},{width:Ue});Ne&&(cn.position="absolute",cn.pointerEvents="none");var sn=p.createElement(dn,(0,s.Z)({},tn,ne,{"data-row-key":be,ref:hn?null:ae,className:b()(he,"".concat(rt,"-row"),tn==null?void 0:tn.className,(0,L.Z)({},"".concat(rt,"-row-extra"),Ne)),style:(0,$.Z)((0,$.Z)({},cn),tn==null?void 0:tn.style)}),ft.map(function(ln,Un){return p.createElement(yt,{key:Un,component:rn,rowInfo:pt,column:ln,colIndex:Un,indent:de,index:ie,renderIndex:ge,record:se,inverse:Ne,getHeight:we})}));return hn?p.createElement("div",{ref:ae},sn,un):sn}),Ht=_(Mt),zt=Ht,bt=p.forwardRef(function(T,ae){var te=T.data,ie=T.onScroll,he=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),be=he.flattenColumns,De=he.onColumnResize,Ne=he.getRowKey,we=he.expandedKeys,ne=he.prefixCls,se=he.childrenColumnName,de=he.scrollX,ge=he.direction,Se=e(et),Ue=Se.sticky,ft=Se.scrollY,rt=Se.listItemHeight,Rt=Se.getComponent,Ft=Se.onScroll,Ot=p.useRef(),Yt=Ce(te,se,we,Ne),pt=p.useMemo(function(){var un=0;return be.map(function(It){var vt=It.width,Dt=It.key;return un+=vt,[Dt,vt,un]})},[be]),dn=p.useMemo(function(){return pt.map(function(un){return un[2]})},[pt]);p.useEffect(function(){pt.forEach(function(un){var It=(0,O.Z)(un,2),vt=It[0],Dt=It[1];De(vt,Dt)})},[pt]),p.useImperativeHandle(ae,function(){var un,It={scrollTo:function(Dt){var Xt;(Xt=Ot.current)===null||Xt===void 0||Xt.scrollTo(Dt)},nativeElement:(un=Ot.current)===null||un===void 0?void 0:un.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,cn=It.onCell;if(cn){var sn,ln=cn(Xt,vt);return(sn=ln==null?void 0:ln.rowSpan)!==null&&sn!==void 0?sn:1}return 1},hn=function(It){var vt=It.start,Dt=It.end,Xt=It.getSize,cn=It.offsetY;if(Dt<0)return null;for(var sn=be.filter(function(wn){return rn(wn,vt)===0}),ln=vt,Un=function(Sn){if(sn=sn.filter(function(Et){return rn(Et,Sn)===0}),!sn.length)return ln=Sn,1},Xn=vt;Xn>=0&&!Un(Xn);Xn-=1);for(var $n=be.filter(function(wn){return rn(wn,Dt)!==1}),or=Dt,ir=function(Sn){if($n=$n.filter(function(Et){return rn(Et,Sn)!==1}),!$n.length)return or=Math.max(Sn-1,Dt),1},qn=Dt;qn<Yt.length&&!ir(qn);qn+=1);for(var gn=[],kn=function(Sn){var Et=Yt[Sn];if(!Et)return 1;be.some(function(Jt){return rn(Jt,Sn)>1})&&gn.push(Sn)},Gn=ln;Gn<=or;Gn+=1)kn(Gn);var En=gn.map(function(wn){var Sn=Yt[wn],Et=Ne(Sn.record,wn),Jt=function(Pn){var In=wn+Pn-1,ar=Ne(Yt[In].record,In),mt=Xt(Et,ar);return mt.bottom-mt.top},en=Xt(Et);return p.createElement(zt,{key:wn,data:Sn,rowKey:Et,index:wn,style:{top:-cn+en.top},extra:!0,getHeight:Jt})});return En},Gt=p.useMemo(function(){return{columnsOffset:dn}},[dn]),tn="".concat(ne,"-tbody"),pn=Rt(["body","wrapper"]),an={};return Ue&&(an.position="sticky",an.bottom=0,(0,Z.Z)(Ue)==="object"&&Ue.offsetScroll&&(an.bottom=Ue.offsetScroll)),p.createElement(ut.Provider,{value:Gt},p.createElement(Oe.Z,{fullHeight:!1,ref:Ot,prefixCls:"".concat(tn,"-virtual"),styles:{horizontalScrollBar:an},className:tn,height:ft,itemHeight:rt||24,data:Yt,itemKey:function(It){return Ne(It.record)},component:pn,scrollWidth:de,direction:ge,onVirtualScroll:function(It){var vt,Dt=It.x;ie({currentTarget:(vt=Ot.current)===null||vt===void 0?void 0:vt.nativeElement,scrollLeft:Dt})},onScroll:Ft,extraRender:hn},function(un,It,vt){var Dt=Ne(un.record,It);return p.createElement(zt,{data:un,rowKey:Dt,index:It,style:vt.style})}))}),St=_(bt),tt=St,lt=function(ae,te){var ie=te.ref,he=te.onScroll;return p.createElement(tt,{ref:ie,data:ae,onScroll:he})};function ht(T,ae){var te=T.data,ie=T.columns,he=T.scroll,be=T.sticky,De=T.prefixCls,Ne=De===void 0?ot:De,we=T.className,ne=T.listItemHeight,se=T.components,de=T.onScroll,ge=he||{},Se=ge.x,Ue=ge.y;typeof Se!="number"&&(Se=1),typeof Ue!="number"&&(Ue=500);var ft=(0,Tt.zX)(function(Ft,Ot){return(0,w.Z)(se,Ft)||Ot}),rt=(0,Tt.zX)(de),Rt=p.useMemo(function(){return{sticky:be,scrollY:Ue,listItemHeight:ne,getComponent:ft,onScroll:rt}},[be,Ue,ne,ft,rt]);return p.createElement(et.Provider,{value:Rt},p.createElement(Pe,(0,s.Z)({},T,{className:b()(we,"".concat(Ne,"-virtual")),scroll:(0,$.Z)((0,$.Z)({},he),{},{x:Se}),components:(0,$.Z)((0,$.Z)({},se),{},{body:te!=null&&te.length?lt:void 0}),columns:ie,internalHooks:P.R,tailor:!0,ref:ae})))}var $t=p.forwardRef(ht);function kt(T){return S($t,T)}var jt=kt(),On=null},54451:function(Lt,Ae,u){"use strict";u.d(Ae,{g:function(){return p},v:function(){return z}});var P=u(33885),O=u(75931),K=u(48736),Y=["expandable"],z="RC_TABLE_INTERNAL_COL_DEFINE";function p(U){var H=U.expandable,e=(0,O.Z)(U,Y),s;return"expandable"in U?s=(0,P.Z)((0,P.Z)({},e),H):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Lt,Ae,u){"use strict";u.d(Ae,{G:function(){return Y},Z:function(){return S}});var P=u(92310),O=u.n(P),K=u(59301);function Y(_){var m=_.children,f=_.prefixCls,l=_.id,N=_.overlayInnerStyle,k=_.bodyClassName,I=_.className,Z=_.style;return K.createElement("div",{className:O()("".concat(f,"-content"),I),style:Z},K.createElement("div",{className:O()("".concat(f,"-inner"),k),id:l,role:"tooltip",style:N},typeof m=="function"?m():m))}var z=u(54476),p=u(33885),U=u(75931),H=u(65030),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},d=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:d},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:d},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:d},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:d},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:d},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:d},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:d},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:d},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:d},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:d},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:d}},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"],g=function(m,f){var l=m.overlayClassName,N=m.trigger,k=N===void 0?["hover"]:N,I=m.mouseEnterDelay,Z=I===void 0?0:I,$=m.mouseLeaveDelay,L=$===void 0?.1:$,ye=m.overlayStyle,b=m.prefixCls,h=b===void 0?"rc-tooltip":b,w=m.children,R=m.onVisibleChange,D=m.afterVisibleChange,x=m.transitionName,n=m.animation,i=m.motion,y=m.placement,A=y===void 0?"right":y,le=m.align,xe=le===void 0?{}:le,Te=m.destroyTooltipOnHide,ze=Te===void 0?!1:Te,Ge=m.defaultVisible,Tt=m.getTooltipContainer,Ee=m.overlayInnerStyle,Je=m.arrowContent,Le=m.overlay,pe=m.id,ue=m.showArrow,re=ue===void 0?!0:ue,W=m.classNames,Q=m.styles,c=(0,U.Z)(m,o),B=(0,a.Z)(pe),q=(0,K.useRef)(null);(0,K.useImperativeHandle)(f,function(){return q.current});var C=(0,p.Z)({},c);"visible"in m&&(C.popupVisible=m.visible);var v=function(){return K.createElement(Y,{key:"content",prefixCls:h,id:B,bodyClassName:W==null?void 0:W.body,overlayInnerStyle:(0,p.Z)((0,p.Z)({},Ee),Q==null?void 0:Q.body)},Le)},F=function(){var M=K.Children.only(w),V=(M==null?void 0:M.props)||{},j=(0,p.Z)((0,p.Z)({},V),{},{"aria-describedby":Le?B:null});return K.cloneElement(w,j)};return K.createElement(H.Z,(0,z.Z)({popupClassName:O()(l,W==null?void 0:W.root),prefixCls:h,popup:v,action:k,builtinPlacements:t,popupPlacement:A,ref:q,popupAlign:xe,getPopupContainer:Tt,onPopupVisibleChange:R,afterPopupVisibleChange:D,popupTransitionName:x,popupAnimation:n,popupMotion:i,defaultPopupVisible:Ge,autoDestroy:ze,mouseLeaveDelay:L,popupStyle:(0,p.Z)((0,p.Z)({},ye),Q==null?void 0:Q.root),mouseEnterDelay:Z,arrow:re},C),F())},E=(0,K.forwardRef)(g),S=E},639:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return m}});var P=u(54476),O=u(20068),K=u(33885),Y=u(42978),z=u(75931),p=u(59301),U=u(92310),H=u.n(U),e=u(26112),s=u(30699),d=function(l){for(var N=l.prefixCls,k=l.level,I=l.isStart,Z=l.isEnd,$="".concat(N,"-indent-unit"),L=[],ye=0;ye<k;ye+=1)L.push(p.createElement("span",{key:ye,className:H()($,(0,O.Z)((0,O.Z)({},"".concat($,"-start"),I[ye]),"".concat($,"-end"),Z[ye]))}));return p.createElement("span",{"aria-hidden":"true",className:"".concat(N,"-indent")},L)},t=p.memo(d),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"],g="open",E="close",S="---",_=function(l){var N,k,I,Z=l.eventKey,$=l.className,L=l.style,ye=l.dragOver,b=l.dragOverGapTop,h=l.dragOverGapBottom,w=l.isLeaf,R=l.isStart,D=l.isEnd,x=l.expanded,n=l.selected,i=l.checked,y=l.halfChecked,A=l.loading,le=l.domRef,xe=l.active,Te=l.data,ze=l.onMouseMove,Ge=l.selectable,Tt=(0,z.Z)(l,o),Ee=p.useContext(s.k),Je=p.useContext(s.y),Le=p.useRef(null),pe=p.useState(!1),ue=(0,Y.Z)(pe,2),re=ue[0],W=ue[1],Q=!!(Ee.disabled||l.disabled||(N=Je.nodeDisabled)!==null&&N!==void 0&&N.call(Je,Te)),c=p.useMemo(function(){return!Ee.checkable||l.checkable===!1?!1:Ee.checkable},[Ee.checkable,l.checkable]),B=function(ct){Q||Ee.onNodeSelect(ct,(0,a.F)(l))},q=function(ct){Q||!c||l.disableCheckbox||Ee.onNodeCheck(ct,(0,a.F)(l),!i)},C=p.useMemo(function(){return typeof Ge=="boolean"?Ge:Ee.selectable},[Ge,Ee.selectable]),v=function(ct){Ee.onNodeClick(ct,(0,a.F)(l)),C?B(ct):q(ct)},F=function(ct){Ee.onNodeDoubleClick(ct,(0,a.F)(l))},ee=function(ct){Ee.onNodeMouseEnter(ct,(0,a.F)(l))},M=function(ct){Ee.onNodeMouseLeave(ct,(0,a.F)(l))},V=function(ct){Ee.onNodeContextMenu(ct,(0,a.F)(l))},j=p.useMemo(function(){return!!(Ee.draggable&&(!Ee.draggable.nodeDraggable||Ee.draggable.nodeDraggable(Te)))},[Ee.draggable,Te]),ce=function(ct){ct.stopPropagation(),W(!0),Ee.onNodeDragStart(ct,l);try{ct.dataTransfer.setData("text/plain","")}catch(Ct){}},oe=function(ct){ct.preventDefault(),ct.stopPropagation(),Ee.onNodeDragEnter(ct,l)},Ce=function(ct){ct.preventDefault(),ct.stopPropagation(),Ee.onNodeDragOver(ct,l)},Ze=function(ct){ct.stopPropagation(),Ee.onNodeDragLeave(ct,l)},Ye=function(ct){ct.stopPropagation(),W(!1),Ee.onNodeDragEnd(ct,l)},Ke=function(ct){ct.preventDefault(),ct.stopPropagation(),W(!1),Ee.onNodeDrop(ct,l)},Me=function(ct){A||Ee.onNodeExpand(ct,(0,a.F)(l))},Ie=p.useMemo(function(){var At=(0,r.Z)(Ee.keyEntities,Z)||{},ct=At.children;return!!(ct||[]).length},[Ee.keyEntities,Z]),st=p.useMemo(function(){return w===!1?!1:w||!Ee.loadData&&!Ie||Ee.loadData&&l.loaded&&!Ie},[w,Ee.loadData,Ie,l.loaded]);p.useEffect(function(){A||typeof Ee.loadData=="function"&&x&&!st&&!l.loaded&&Ee.onNodeLoad((0,a.F)(l))},[A,Ee.loadData,Ee.onNodeLoad,x,st,l]);var Xe=p.useMemo(function(){var At;return(At=Ee.draggable)!==null&&At!==void 0&&At.icon?p.createElement("span",{className:"".concat(Ee.prefixCls,"-draggable-icon")},Ee.draggable.icon):null},[Ee.draggable]),He=function(ct){var Ct=l.switcherIcon||Ee.switcherIcon;return typeof Ct=="function"?Ct((0,K.Z)((0,K.Z)({},l),{},{isLeaf:ct})):Ct},Bt=function(){if(st){var ct=He(!0);return ct!==!1?p.createElement("span",{className:H()("".concat(Ee.prefixCls,"-switcher"),"".concat(Ee.prefixCls,"-switcher-noop"))},ct):null}var Ct=He(!1);return Ct!==!1?p.createElement("span",{onClick:Me,className:H()("".concat(Ee.prefixCls,"-switcher"),"".concat(Ee.prefixCls,"-switcher_").concat(x?g:E))},Ct):null},Pt=p.useMemo(function(){if(!c)return null;var At=typeof c!="boolean"?c:null;return p.createElement("span",{className:H()("".concat(Ee.prefixCls,"-checkbox"),(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(Ee.prefixCls,"-checkbox-checked"),i),"".concat(Ee.prefixCls,"-checkbox-indeterminate"),!i&&y),"".concat(Ee.prefixCls,"-checkbox-disabled"),Q||l.disableCheckbox)),onClick:q,role:"checkbox","aria-checked":y?"mixed":i,"aria-disabled":Q||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},At)},[c,i,y,Q,l.disableCheckbox,l.title]),ke=p.useMemo(function(){return st?null:x?g:E},[st,x]),Ut=p.useMemo(function(){return p.createElement("span",{className:H()("".concat(Ee.prefixCls,"-iconEle"),"".concat(Ee.prefixCls,"-icon__").concat(ke||"docu"),(0,O.Z)({},"".concat(Ee.prefixCls,"-icon_loading"),A))})},[Ee.prefixCls,ke,A]),_n=p.useMemo(function(){var At=!!Ee.draggable,ct=!l.disabled&&At&&Ee.dragOverNodeKey===Z;return ct?Ee.dropIndicatorRender({dropPosition:Ee.dropPosition,dropLevelOffset:Ee.dropLevelOffset,indent:Ee.indent,prefixCls:Ee.prefixCls,direction:Ee.direction}):null},[Ee.dropPosition,Ee.dropLevelOffset,Ee.indent,Ee.prefixCls,Ee.direction,Ee.draggable,Ee.dragOverNodeKey,Ee.dropIndicatorRender]),Nt=p.useMemo(function(){var At=l.title,ct=At===void 0?S:At,Ct="".concat(Ee.prefixCls,"-node-content-wrapper"),Kn;if(Ee.showIcon){var mn=l.icon||Ee.icon;Kn=mn?p.createElement("span",{className:H()("".concat(Ee.prefixCls,"-iconEle"),"".concat(Ee.prefixCls,"-icon__customize"))},typeof mn=="function"?mn(l):mn):Ut}else Ee.loadData&&A&&(Kn=Ut);var An;return typeof ct=="function"?An=ct(Te):Ee.titleRender?An=Ee.titleRender(Te):An=ct,p.createElement("span",{ref:Le,title:typeof ct=="string"?ct:"",className:H()(Ct,"".concat(Ct,"-").concat(ke||"normal"),(0,O.Z)({},"".concat(Ee.prefixCls,"-node-selected"),!Q&&(n||re))),onMouseEnter:ee,onMouseLeave:M,onContextMenu:V,onClick:v,onDoubleClick:F},Kn,p.createElement("span",{className:"".concat(Ee.prefixCls,"-title")},An),_n)},[Ee.prefixCls,Ee.showIcon,l,Ee.icon,Ut,Ee.titleRender,Te,ke,ee,M,V,v,F]),dt=(0,e.Z)(Tt,{aria:!0,data:!0}),Kt=(0,r.Z)(Ee.keyEntities,Z)||{},fn=Kt.level,Vt=D[D.length-1],_t=!Q&&j,Qt=Ee.draggingNodeKey===Z,Cn=Ge!==void 0?{"aria-selected":!!Ge}:void 0;return p.createElement("div",(0,P.Z)({ref:le,role:"treeitem","aria-expanded":w?void 0:x,className:H()($,"".concat(Ee.prefixCls,"-treenode"),(I={},(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)(I,"".concat(Ee.prefixCls,"-treenode-disabled"),Q),"".concat(Ee.prefixCls,"-treenode-switcher-").concat(x?"open":"close"),!w),"".concat(Ee.prefixCls,"-treenode-checkbox-checked"),i),"".concat(Ee.prefixCls,"-treenode-checkbox-indeterminate"),y),"".concat(Ee.prefixCls,"-treenode-selected"),n),"".concat(Ee.prefixCls,"-treenode-loading"),A),"".concat(Ee.prefixCls,"-treenode-active"),xe),"".concat(Ee.prefixCls,"-treenode-leaf-last"),Vt),"".concat(Ee.prefixCls,"-treenode-draggable"),j),"dragging",Qt),(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)(I,"drop-target",Ee.dropTargetKey===Z),"drop-container",Ee.dropContainerKey===Z),"drag-over",!Q&&ye),"drag-over-gap-top",!Q&&b),"drag-over-gap-bottom",!Q&&h),"filter-node",(k=Ee.filterTreeNode)===null||k===void 0?void 0:k.call(Ee,(0,a.F)(l))),"".concat(Ee.prefixCls,"-treenode-leaf"),st))),style:L,draggable:_t,onDragStart:_t?ce:void 0,onDragEnter:j?oe:void 0,onDragOver:j?Ce:void 0,onDragLeave:j?Ze:void 0,onDrop:j?Ke:void 0,onDragEnd:j?Ye:void 0,onMouseMove:ze},Cn,dt),p.createElement(t,{prefixCls:Ee.prefixCls,level:fn,isStart:R,isEnd:D}),Xe,Bt(),Pt,Nt)};_.isTreeNode=1;var m=_},30699:function(Lt,Ae,u){"use strict";u.d(Ae,{k:function(){return O},y:function(){return K}});var P=u(59301),O=P.createContext(null),K=P.createContext({})},3741:function(Lt,Ae,u){"use strict";u.d(Ae,{OF:function(){return Z.Z},y6:function(){return E.y},ZP:function(){return Q}});var P=u(54476),O=u(76190),K=u(33885),Y=u(94480),z=u(67732),p=u(83652),U=u(31226),H=u(42403),e=u(158),s=u(20068),d=u(92310),t=u.n(d),r=u(10228),a=u(26112),o=u(48736),g=u(59301),E=u(30699),S=function(B){var q=B.dropPosition,C=B.dropLevelOffset,v=B.indent,F={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(q){case-1:F.top=0,F.left=-C*v;break;case 1:F.bottom=0,F.left=-C*v;break;case 0:F.bottom=0,F.left=v;break}return g.createElement("div",{style:F})},_=S;function m(c){if(c==null)throw new TypeError("Cannot destructure "+c)}var f=u(42978),l=u(75931),N=u(34280),k=u(48911),I=u(77900),Z=u(639);function $(c,B){var q=g.useState(!1),C=(0,f.Z)(q,2),v=C[0],F=C[1];(0,N.Z)(function(){if(v)return c(),function(){B()}},[v]),(0,N.Z)(function(){return F(!0),function(){F(!1)}},[])}var L=$,ye=u(34061),b=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],h=g.forwardRef(function(c,B){var q=c.className,C=c.style,v=c.motion,F=c.motionNodes,ee=c.motionType,M=c.onMotionStart,V=c.onMotionEnd,j=c.active,ce=c.treeNodeRequiredProps,oe=(0,l.Z)(c,b),Ce=g.useState(!0),Ze=(0,f.Z)(Ce,2),Ye=Ze[0],Ke=Ze[1],Me=g.useContext(E.k),Ie=Me.prefixCls,st=F&&ee!=="hide";(0,N.Z)(function(){F&&st!==Ye&&Ke(st)},[F]);var Xe=function(){F&&M()},He=g.useRef(!1),Bt=function(){F&&!He.current&&(He.current=!0,V())};L(Xe,Bt);var Pt=function(Ut){st===Ut&&Bt()};return F?g.createElement(I.default,(0,P.Z)({ref:B,visible:Ye},v,{motionAppear:ee==="show",onVisibleChanged:Pt}),function(ke,Ut){var _n=ke.className,Nt=ke.style;return g.createElement("div",{ref:Ut,className:t()("".concat(Ie,"-treenode-motion"),_n),style:Nt},F.map(function(dt){var Kt=Object.assign({},(m(dt.data),dt.data)),fn=dt.title,Vt=dt.key,_t=dt.isStart,Qt=dt.isEnd;delete Kt.children;var Cn=(0,ye.H8)(Vt,ce);return g.createElement(Z.Z,(0,P.Z)({},Kt,Cn,{title:fn,active:j,data:dt.data,key:Vt,isStart:_t,isEnd:Qt}))}))}):g.createElement(Z.Z,(0,P.Z)({domRef:B,className:q,style:C},oe,{active:j}))}),w=h;function R(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],q=c.length,C=B.length;if(Math.abs(q-C)!==1)return{add:!1,key:null};function v(F,ee){var M=new Map;F.forEach(function(j){M.set(j,!0)});var V=ee.filter(function(j){return!M.has(j)});return V.length===1?V[0]:null}return q<C?{add:!0,key:v(c,B)}:{add:!1,key:v(B,c)}}function D(c,B,q){var C=c.findIndex(function(M){return M.key===q}),v=c[C+1],F=B.findIndex(function(M){return M.key===q});if(v){var ee=B.findIndex(function(M){return M.key===v.key});return B.slice(F+1,ee)}return B.slice(F+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()),A={key:y},le={key:y,level:0,index:0,pos:"0",node:A,nodes:[A]},xe={parent:null,children:[],pos:le.pos,data:A,title:null,key:y,isStart:[],isEnd:[]};function Te(c,B,q,C){return B===!1||!q?c:c.slice(0,Math.ceil(q/C)+1)}function ze(c){var B=c.key,q=c.pos;return(0,ye.km)(B,q)}function Ge(c){for(var B=String(c.data.key),q=c;q.parent;)q=q.parent,B="".concat(q.data.key," > ").concat(B);return B}var Tt=g.forwardRef(function(c,B){var q=c.prefixCls,C=c.data,v=c.selectable,F=c.checkable,ee=c.expandedKeys,M=c.selectedKeys,V=c.checkedKeys,j=c.loadedKeys,ce=c.loadingKeys,oe=c.halfCheckedKeys,Ce=c.keyEntities,Ze=c.disabled,Ye=c.dragging,Ke=c.dragOverNodeKey,Me=c.dropPosition,Ie=c.motion,st=c.height,Xe=c.itemHeight,He=c.virtual,Bt=c.scrollWidth,Pt=c.focusable,ke=c.activeItem,Ut=c.focused,_n=c.tabIndex,Nt=c.onKeyDown,dt=c.onFocus,Kt=c.onBlur,fn=c.onActiveChange,Vt=c.onListChangeStart,_t=c.onListChangeEnd,Qt=(0,l.Z)(c,x),Cn=g.useRef(null),At=g.useRef(null);g.useImperativeHandle(B,function(){return{scrollTo:function(Be){Cn.current.scrollTo(Be)},getIndentWidth:function(){return At.current.offsetWidth}}});var ct=g.useState(ee),Ct=(0,f.Z)(ct,2),Kn=Ct[0],mn=Ct[1],An=g.useState(C),Wn=(0,f.Z)(An,2),vn=Wn[0],Nn=Wn[1],Fn=g.useState(C),zn=(0,f.Z)(Fn,2),Mn=zn[0],yn=zn[1],Zn=g.useState([]),at=(0,f.Z)(Zn,2),nt=at[0],qt=at[1],bn=g.useState(null),xn=(0,f.Z)(bn,2),J=xn[0],G=xn[1],Fe=g.useRef(C);Fe.current=C;function Re(){var Ve=Fe.current;Nn(Ve),yn(Ve),qt([]),G(null),_t()}(0,N.Z)(function(){mn(ee);var Ve=R(Kn,ee);if(Ve.key!==null)if(Ve.add){var Be=vn.findIndex(function(qe){var X=qe.key;return X===Ve.key}),it=Te(D(vn,C,Ve.key),He,st,Xe),We=vn.slice();We.splice(Be+1,0,xe),yn(We),qt(it),G("show")}else{var Qe=C.findIndex(function(qe){var X=qe.key;return X===Ve.key}),ot=Te(D(C,vn,Ve.key),He,st,Xe),wt=C.slice();wt.splice(Qe+1,0,xe),yn(wt),qt(ot),G("hide")}else vn!==C&&(Nn(C),yn(C))},[ee,C]),g.useEffect(function(){Ye||Re()},[Ye]);var je=Ie?Mn:C,$e={expandedKeys:ee,selectedKeys:M,loadedKeys:j,loadingKeys:ce,checkedKeys:V,halfCheckedKeys:oe,dragOverNodeKey:Ke,dropPosition:Me,keyEntities:Ce};return g.createElement(g.Fragment,null,Ut&&ke&&g.createElement("span",{style:n,"aria-live":"assertive"},Ge(ke)),g.createElement("div",null,g.createElement("input",{style:n,disabled:Pt===!1||Ze,tabIndex:Pt!==!1?_n:null,onKeyDown:Nt,onFocus:dt,onBlur:Kt,value:"",onChange:i,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(q,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(q,"-indent")},g.createElement("div",{ref:At,className:"".concat(q,"-indent-unit")}))),g.createElement(k.Z,(0,P.Z)({},Qt,{data:je,itemKey:ze,height:st,fullHeight:!1,virtual:He,itemHeight:Xe,scrollWidth:Bt,prefixCls:"".concat(q,"-list"),ref:Cn,role:"tree",onVisibleChange:function(Be){Be.every(function(it){return ze(it)!==y})&&Re()}}),function(Ve){var Be=Ve.pos,it=Object.assign({},(m(Ve.data),Ve.data)),We=Ve.title,Qe=Ve.key,ot=Ve.isStart,wt=Ve.isEnd,qe=(0,ye.km)(Qe,Be);delete it.key,delete it.children;var X=(0,ye.H8)(qe,$e);return g.createElement(w,(0,P.Z)({},it,X,{title:We,active:!!ke&&Qe===ke.key,pos:Be,data:Ve.data,isStart:ot,isEnd:wt,motion:Ie,motionNodes:Qe===y?nt:null,motionType:J,onMotionStart:Vt,onMotionEnd:Re,treeNodeRequiredProps:$e,onMouseMove:function(){fn(null)}}))}))}),Ee=Tt,Je=u(82661),Le=u(34643),pe=u(65065),ue=10,re=function(c){(0,H.Z)(q,c);var B=(0,e.Z)(q);function q(){var C;(0,z.Z)(this,q);for(var v=arguments.length,F=new Array(v),ee=0;ee<v;ee++)F[ee]=arguments[ee];return C=B.call.apply(B,[this].concat(F)),(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,ye.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",g.createRef()),(0,s.Z)((0,U.Z)(C),"onNodeDragStart",function(M,V){var j=C.state,ce=j.expandedKeys,oe=j.keyEntities,Ce=C.props.onDragStart,Ze=V.eventKey;C.dragNodeProps=V,C.dragStartMousePosition={x:M.clientX,y:M.clientY};var Ye=(0,Je._5)(ce,Ze);C.setState({draggingNodeKey:Ze,dragChildrenKeys:(0,Je.wA)(Ze,oe),indent:C.listRef.current.getIndentWidth()}),C.setExpandedKeys(Ye),window.addEventListener("dragend",C.onWindowDragEnd),Ce==null||Ce({event:M,node:(0,ye.F)(V)})}),(0,s.Z)((0,U.Z)(C),"onNodeDragEnter",function(M,V){var j=C.state,ce=j.expandedKeys,oe=j.keyEntities,Ce=j.dragChildrenKeys,Ze=j.flattenNodes,Ye=j.indent,Ke=C.props,Me=Ke.onDragEnter,Ie=Ke.onExpand,st=Ke.allowDrop,Xe=Ke.direction,He=V.pos,Bt=V.eventKey;if(C.currentMouseOverDroppableNodeKey!==Bt&&(C.currentMouseOverDroppableNodeKey=Bt),!C.dragNodeProps){C.resetDragState();return}var Pt=(0,Je.OM)(M,C.dragNodeProps,V,Ye,C.dragStartMousePosition,st,Ze,oe,ce,Xe),ke=Pt.dropPosition,Ut=Pt.dropLevelOffset,_n=Pt.dropTargetKey,Nt=Pt.dropContainerKey,dt=Pt.dropTargetPos,Kt=Pt.dropAllowed,fn=Pt.dragOverNodeKey;if(Ce.includes(_n)||!Kt){C.resetDragState();return}if(C.delayedDragEnterLogic||(C.delayedDragEnterLogic={}),Object.keys(C.delayedDragEnterLogic).forEach(function(Vt){clearTimeout(C.delayedDragEnterLogic[Vt])}),C.dragNodeProps.eventKey!==V.eventKey&&(M.persist(),C.delayedDragEnterLogic[He]=window.setTimeout(function(){if(C.state.draggingNodeKey!==null){var Vt=(0,Y.Z)(ce),_t=(0,pe.Z)(oe,V.eventKey);_t&&(_t.children||[]).length&&(Vt=(0,Je.L0)(ce,V.eventKey)),C.props.hasOwnProperty("expandedKeys")||C.setExpandedKeys(Vt),Ie==null||Ie(Vt,{node:(0,ye.F)(V),expanded:!0,nativeEvent:M.nativeEvent})}},800)),C.dragNodeProps.eventKey===_n&&Ut===0){C.resetDragState();return}C.setState({dragOverNodeKey:fn,dropPosition:ke,dropLevelOffset:Ut,dropTargetKey:_n,dropContainerKey:Nt,dropTargetPos:dt,dropAllowed:Kt}),Me==null||Me({event:M,node:(0,ye.F)(V),expandedKeys:ce})}),(0,s.Z)((0,U.Z)(C),"onNodeDragOver",function(M,V){var j=C.state,ce=j.dragChildrenKeys,oe=j.flattenNodes,Ce=j.keyEntities,Ze=j.expandedKeys,Ye=j.indent,Ke=C.props,Me=Ke.onDragOver,Ie=Ke.allowDrop,st=Ke.direction;if(C.dragNodeProps){var Xe=(0,Je.OM)(M,C.dragNodeProps,V,Ye,C.dragStartMousePosition,Ie,oe,Ce,Ze,st),He=Xe.dropPosition,Bt=Xe.dropLevelOffset,Pt=Xe.dropTargetKey,ke=Xe.dropContainerKey,Ut=Xe.dropTargetPos,_n=Xe.dropAllowed,Nt=Xe.dragOverNodeKey;ce.includes(Pt)||!_n||(C.dragNodeProps.eventKey===Pt&&Bt===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&&Bt===C.state.dropLevelOffset&&Pt===C.state.dropTargetKey&&ke===C.state.dropContainerKey&&Ut===C.state.dropTargetPos&&_n===C.state.dropAllowed&&Nt===C.state.dragOverNodeKey||C.setState({dropPosition:He,dropLevelOffset:Bt,dropTargetKey:Pt,dropContainerKey:ke,dropTargetPos:Ut,dropAllowed:_n,dragOverNodeKey:Nt}),Me==null||Me({event:M,node:(0,ye.F)(V)}))}}),(0,s.Z)((0,U.Z)(C),"onNodeDragLeave",function(M,V){C.currentMouseOverDroppableNodeKey===V.eventKey&&!M.currentTarget.contains(M.relatedTarget)&&(C.resetDragState(),C.currentMouseOverDroppableNodeKey=null);var j=C.props.onDragLeave;j==null||j({event:M,node:(0,ye.F)(V)})}),(0,s.Z)((0,U.Z)(C),"onWindowDragEnd",function(M){C.onNodeDragEnd(M,null,!0),window.removeEventListener("dragend",C.onWindowDragEnd)}),(0,s.Z)((0,U.Z)(C),"onNodeDragEnd",function(M,V){var j=C.props.onDragEnd;C.setState({dragOverNodeKey:null}),C.cleanDragState(),j==null||j({event:M,node:(0,ye.F)(V)}),C.dragNodeProps=null,window.removeEventListener("dragend",C.onWindowDragEnd)}),(0,s.Z)((0,U.Z)(C),"onNodeDrop",function(M,V){var j,ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,oe=C.state,Ce=oe.dragChildrenKeys,Ze=oe.dropPosition,Ye=oe.dropTargetKey,Ke=oe.dropTargetPos,Me=oe.dropAllowed;if(Me){var Ie=C.props.onDrop;if(C.setState({dragOverNodeKey:null}),C.cleanDragState(),Ye!==null){var st=(0,K.Z)((0,K.Z)({},(0,ye.H8)(Ye,C.getTreeNodeRequiredProps())),{},{active:((j=C.getActiveItem())===null||j===void 0?void 0:j.key)===Ye,data:(0,pe.Z)(C.state.keyEntities,Ye).node}),Xe=Ce.includes(Ye);(0,o.ZP)(!Xe,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var He=(0,Je.yx)(Ke),Bt={event:M,node:(0,ye.F)(st),dragNode:C.dragNodeProps?(0,ye.F)(C.dragNodeProps):null,dragNodesKeys:[C.dragNodeProps.eventKey].concat(Ce),dropToGap:Ze!==0,dropPosition:Ze+Number(He[He.length-1])};ce||Ie==null||Ie(Bt),C.dragNodeProps=null}}}),(0,s.Z)((0,U.Z)(C),"cleanDragState",function(){var M=C.state.draggingNodeKey;M!==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(M,V){var j=C.state,ce=j.expandedKeys,oe=j.flattenNodes,Ce=V.expanded,Ze=V.key,Ye=V.isLeaf;if(!(Ye||M.shiftKey||M.metaKey||M.ctrlKey)){var Ke=oe.filter(function(Ie){return Ie.key===Ze})[0],Me=(0,ye.F)((0,K.Z)((0,K.Z)({},(0,ye.H8)(Ze,C.getTreeNodeRequiredProps())),{},{data:Ke.data}));C.setExpandedKeys(Ce?(0,Je._5)(ce,Ze):(0,Je.L0)(ce,Ze)),C.onNodeExpand(M,Me)}}),(0,s.Z)((0,U.Z)(C),"onNodeClick",function(M,V){var j=C.props,ce=j.onClick,oe=j.expandAction;oe==="click"&&C.triggerExpandActionExpand(M,V),ce==null||ce(M,V)}),(0,s.Z)((0,U.Z)(C),"onNodeDoubleClick",function(M,V){var j=C.props,ce=j.onDoubleClick,oe=j.expandAction;oe==="doubleClick"&&C.triggerExpandActionExpand(M,V),ce==null||ce(M,V)}),(0,s.Z)((0,U.Z)(C),"onNodeSelect",function(M,V){var j=C.state.selectedKeys,ce=C.state,oe=ce.keyEntities,Ce=ce.fieldNames,Ze=C.props,Ye=Ze.onSelect,Ke=Ze.multiple,Me=V.selected,Ie=V[Ce.key],st=!Me;st?Ke?j=(0,Je.L0)(j,Ie):j=[Ie]:j=(0,Je._5)(j,Ie);var Xe=j.map(function(He){var Bt=(0,pe.Z)(oe,He);return Bt?Bt.node:null}).filter(Boolean);C.setUncontrolledState({selectedKeys:j}),Ye==null||Ye(j,{event:"select",selected:st,node:V,selectedNodes:Xe,nativeEvent:M.nativeEvent})}),(0,s.Z)((0,U.Z)(C),"onNodeCheck",function(M,V,j){var ce=C.state,oe=ce.keyEntities,Ce=ce.checkedKeys,Ze=ce.halfCheckedKeys,Ye=C.props,Ke=Ye.checkStrictly,Me=Ye.onCheck,Ie=V.key,st,Xe={event:"check",node:V,checked:j,nativeEvent:M.nativeEvent};if(Ke){var He=j?(0,Je.L0)(Ce,Ie):(0,Je._5)(Ce,Ie),Bt=(0,Je._5)(Ze,Ie);st={checked:He,halfChecked:Bt},Xe.checkedNodes=He.map(function(dt){return(0,pe.Z)(oe,dt)}).filter(Boolean).map(function(dt){return dt.node}),C.setUncontrolledState({checkedKeys:He})}else{var Pt=(0,Le.S)([].concat((0,Y.Z)(Ce),[Ie]),!0,oe),ke=Pt.checkedKeys,Ut=Pt.halfCheckedKeys;if(!j){var _n=new Set(ke);_n.delete(Ie);var Nt=(0,Le.S)(Array.from(_n),{checked:!1,halfCheckedKeys:Ut},oe);ke=Nt.checkedKeys,Ut=Nt.halfCheckedKeys}st=ke,Xe.checkedNodes=[],Xe.checkedNodesPositions=[],Xe.halfCheckedKeys=Ut,ke.forEach(function(dt){var Kt=(0,pe.Z)(oe,dt);if(Kt){var fn=Kt.node,Vt=Kt.pos;Xe.checkedNodes.push(fn),Xe.checkedNodesPositions.push({node:fn,pos:Vt})}}),C.setUncontrolledState({checkedKeys:ke},!1,{halfCheckedKeys:Ut})}Me==null||Me(st,Xe)}),(0,s.Z)((0,U.Z)(C),"onNodeLoad",function(M){var V,j=M.key,ce=C.state.keyEntities,oe=(0,pe.Z)(ce,j);if(!(oe!=null&&(V=oe.children)!==null&&V!==void 0&&V.length)){var Ce=new Promise(function(Ze,Ye){C.setState(function(Ke){var Me=Ke.loadedKeys,Ie=Me===void 0?[]:Me,st=Ke.loadingKeys,Xe=st===void 0?[]:st,He=C.props,Bt=He.loadData,Pt=He.onLoad;if(!Bt||Ie.includes(j)||Xe.includes(j))return null;var ke=Bt(M);return ke.then(function(){var Ut=C.state.loadedKeys,_n=(0,Je.L0)(Ut,j);Pt==null||Pt(_n,{event:"load",node:M}),C.setUncontrolledState({loadedKeys:_n}),C.setState(function(Nt){return{loadingKeys:(0,Je._5)(Nt.loadingKeys,j)}}),Ze()}).catch(function(Ut){if(C.setState(function(Nt){return{loadingKeys:(0,Je._5)(Nt.loadingKeys,j)}}),C.loadingRetryTimes[j]=(C.loadingRetryTimes[j]||0)+1,C.loadingRetryTimes[j]>=ue){var _n=C.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),C.setUncontrolledState({loadedKeys:(0,Je.L0)(_n,j)}),Ze()}Ye(Ut)}),{loadingKeys:(0,Je.L0)(Xe,j)}})});return Ce.catch(function(){}),Ce}}),(0,s.Z)((0,U.Z)(C),"onNodeMouseEnter",function(M,V){var j=C.props.onMouseEnter;j==null||j({event:M,node:V})}),(0,s.Z)((0,U.Z)(C),"onNodeMouseLeave",function(M,V){var j=C.props.onMouseLeave;j==null||j({event:M,node:V})}),(0,s.Z)((0,U.Z)(C),"onNodeContextMenu",function(M,V){var j=C.props.onRightClick;j&&(M.preventDefault(),j({event:M,node:V}))}),(0,s.Z)((0,U.Z)(C),"onFocus",function(){var M=C.props.onFocus;C.setState({focused:!0});for(var V=arguments.length,j=new Array(V),ce=0;ce<V;ce++)j[ce]=arguments[ce];M==null||M.apply(void 0,j)}),(0,s.Z)((0,U.Z)(C),"onBlur",function(){var M=C.props.onBlur;C.setState({focused:!1}),C.onActiveChange(null);for(var V=arguments.length,j=new Array(V),ce=0;ce<V;ce++)j[ce]=arguments[ce];M==null||M.apply(void 0,j)}),(0,s.Z)((0,U.Z)(C),"getTreeNodeRequiredProps",function(){var M=C.state,V=M.expandedKeys,j=M.selectedKeys,ce=M.loadedKeys,oe=M.loadingKeys,Ce=M.checkedKeys,Ze=M.halfCheckedKeys,Ye=M.dragOverNodeKey,Ke=M.dropPosition,Me=M.keyEntities;return{expandedKeys:V||[],selectedKeys:j||[],loadedKeys:ce||[],loadingKeys:oe||[],checkedKeys:Ce||[],halfCheckedKeys:Ze||[],dragOverNodeKey:Ye,dropPosition:Ke,keyEntities:Me}}),(0,s.Z)((0,U.Z)(C),"setExpandedKeys",function(M){var V=C.state,j=V.treeData,ce=V.fieldNames,oe=(0,ye.oH)(j,M,ce);C.setUncontrolledState({expandedKeys:M,flattenNodes:oe},!0)}),(0,s.Z)((0,U.Z)(C),"onNodeExpand",function(M,V){var j=C.state.expandedKeys,ce=C.state,oe=ce.listChanging,Ce=ce.fieldNames,Ze=C.props,Ye=Ze.onExpand,Ke=Ze.loadData,Me=V.expanded,Ie=V[Ce.key];if(!oe){var st=j.includes(Ie),Xe=!Me;if((0,o.ZP)(Me&&st||!Me&&!st,"Expand state not sync with index check"),j=Xe?(0,Je.L0)(j,Ie):(0,Je._5)(j,Ie),C.setExpandedKeys(j),Ye==null||Ye(j,{node:V,expanded:Xe,nativeEvent:M.nativeEvent}),Xe&&Ke){var He=C.onNodeLoad(V);He&&He.then(function(){var Bt=(0,ye.oH)(C.state.treeData,j,Ce);C.setUncontrolledState({flattenNodes:Bt})}).catch(function(){var Bt=C.state.expandedKeys,Pt=(0,Je._5)(Bt,Ie);C.setExpandedKeys(Pt)})}}}),(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(M){var V=C.state.activeKey,j=C.props,ce=j.onActiveChange,oe=j.itemScrollOffset,Ce=oe===void 0?0:oe;V!==M&&(C.setState({activeKey:M}),M!==null&&C.scrollTo({key:M,offset:Ce}),ce==null||ce(M))}),(0,s.Z)((0,U.Z)(C),"getActiveItem",function(){var M=C.state,V=M.activeKey,j=M.flattenNodes;return V===null?null:j.find(function(ce){var oe=ce.key;return oe===V})||null}),(0,s.Z)((0,U.Z)(C),"offsetActiveKey",function(M){var V=C.state,j=V.flattenNodes,ce=V.activeKey,oe=j.findIndex(function(Ye){var Ke=Ye.key;return Ke===ce});oe===-1&&M<0&&(oe=j.length),oe=(oe+M+j.length)%j.length;var Ce=j[oe];if(Ce){var Ze=Ce.key;C.onActiveChange(Ze)}else C.onActiveChange(null)}),(0,s.Z)((0,U.Z)(C),"onKeyDown",function(M){var V=C.state,j=V.activeKey,ce=V.expandedKeys,oe=V.checkedKeys,Ce=V.fieldNames,Ze=C.props,Ye=Ze.onKeyDown,Ke=Ze.checkable,Me=Ze.selectable;switch(M.which){case r.Z.UP:{C.offsetActiveKey(-1),M.preventDefault();break}case r.Z.DOWN:{C.offsetActiveKey(1),M.preventDefault();break}}var Ie=C.getActiveItem();if(Ie&&Ie.data){var st=C.getTreeNodeRequiredProps(),Xe=Ie.data.isLeaf===!1||!!(Ie.data[Ce.children]||[]).length,He=(0,ye.F)((0,K.Z)((0,K.Z)({},(0,ye.H8)(j,st)),{},{data:Ie.data,active:!0}));switch(M.which){case r.Z.LEFT:{Xe&&ce.includes(j)?C.onNodeExpand({},He):Ie.parent&&C.onActiveChange(Ie.parent.key),M.preventDefault();break}case r.Z.RIGHT:{Xe&&!ce.includes(j)?C.onNodeExpand({},He):Ie.children&&Ie.children.length&&C.onActiveChange(Ie.children[0].key),M.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Ke&&!He.disabled&&He.checkable!==!1&&!He.disableCheckbox?C.onNodeCheck({},He,!oe.includes(j)):!Ke&&Me&&!He.disabled&&He.selectable!==!1&&C.onNodeSelect({},He);break}}}Ye==null||Ye(M)}),(0,s.Z)((0,U.Z)(C),"setUncontrolledState",function(M){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!C.destroyed){var ce=!1,oe=!0,Ce={};Object.keys(M).forEach(function(Ze){if(C.props.hasOwnProperty(Ze)){oe=!1;return}ce=!0,Ce[Ze]=M[Ze]}),ce&&(!V||oe)&&C.setState((0,K.Z)((0,K.Z)({},Ce),j))}}),(0,s.Z)((0,U.Z)(C),"scrollTo",function(M){C.listRef.current.scrollTo(M)}),C}return(0,p.Z)(q,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var v=this.props,F=v.activeKey,ee=v.itemScrollOffset,M=ee===void 0?0:ee;F!==void 0&&F!==this.state.activeKey&&(this.setState({activeKey:F}),F!==null&&this.scrollTo({key:F,offset:M}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var v=this.state,F=v.focused,ee=v.flattenNodes,M=v.keyEntities,V=v.draggingNodeKey,j=v.activeKey,ce=v.dropLevelOffset,oe=v.dropContainerKey,Ce=v.dropTargetKey,Ze=v.dropPosition,Ye=v.dragOverNodeKey,Ke=v.indent,Me=this.props,Ie=Me.prefixCls,st=Me.className,Xe=Me.style,He=Me.showLine,Bt=Me.focusable,Pt=Me.tabIndex,ke=Pt===void 0?0:Pt,Ut=Me.selectable,_n=Me.showIcon,Nt=Me.icon,dt=Me.switcherIcon,Kt=Me.draggable,fn=Me.checkable,Vt=Me.checkStrictly,_t=Me.disabled,Qt=Me.motion,Cn=Me.loadData,At=Me.filterTreeNode,ct=Me.height,Ct=Me.itemHeight,Kn=Me.scrollWidth,mn=Me.virtual,An=Me.titleRender,Wn=Me.dropIndicatorRender,vn=Me.onContextMenu,Nn=Me.onScroll,Fn=Me.direction,zn=Me.rootClassName,Mn=Me.rootStyle,yn=(0,a.Z)(this.props,{aria:!0,data:!0}),Zn;Kt&&((0,O.Z)(Kt)==="object"?Zn=Kt:typeof Kt=="function"?Zn={nodeDraggable:Kt}:Zn={});var at={prefixCls:Ie,selectable:Ut,showIcon:_n,icon:Nt,switcherIcon:dt,draggable:Zn,draggingNodeKey:V,checkable:fn,checkStrictly:Vt,disabled:_t,keyEntities:M,dropLevelOffset:ce,dropContainerKey:oe,dropTargetKey:Ce,dropPosition:Ze,dragOverNodeKey:Ye,indent:Ke,direction:Fn,dropIndicatorRender:Wn,loadData:Cn,filterTreeNode:At,titleRender:An,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 g.createElement(E.k.Provider,{value:at},g.createElement("div",{className:t()(Ie,st,zn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(Ie,"-show-line"),He),"".concat(Ie,"-focused"),F),"".concat(Ie,"-active-focused"),j!==null)),style:Mn},g.createElement(Ee,(0,P.Z)({ref:this.listRef,prefixCls:Ie,style:Xe,data:ee,disabled:_t,selectable:Ut,checkable:!!fn,motion:Qt,dragging:V!==null,height:ct,itemHeight:Ct,virtual:mn,focusable:Bt,focused:F,tabIndex:ke,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:vn,onScroll:Nn,scrollWidth:Kn},this.getTreeNodeRequiredProps(),yn))))}}],[{key:"getDerivedStateFromProps",value:function(v,F){var ee=F.prevProps,M={prevProps:v};function V(ke){return!ee&&v.hasOwnProperty(ke)||ee&&ee[ke]!==v[ke]}var j,ce=F.fieldNames;if(V("fieldNames")&&(ce=(0,ye.w$)(v.fieldNames),M.fieldNames=ce),V("treeData")?j=v.treeData:V("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),j=(0,ye.zn)(v.children)),j){M.treeData=j;var oe=(0,ye.I8)(j,{fieldNames:ce});M.keyEntities=(0,K.Z)((0,s.Z)({},y,le),oe.keyEntities)}var Ce=M.keyEntities||F.keyEntities;if(V("expandedKeys")||ee&&V("autoExpandParent"))M.expandedKeys=v.autoExpandParent||!ee&&v.defaultExpandParent?(0,Je.r7)(v.expandedKeys,Ce):v.expandedKeys;else if(!ee&&v.defaultExpandAll){var Ze=(0,K.Z)({},Ce);delete Ze[y];var Ye=[];Object.keys(Ze).forEach(function(ke){var Ut=Ze[ke];Ut.children&&Ut.children.length&&Ye.push(Ut.key)}),M.expandedKeys=Ye}else!ee&&v.defaultExpandedKeys&&(M.expandedKeys=v.autoExpandParent||v.defaultExpandParent?(0,Je.r7)(v.defaultExpandedKeys,Ce):v.defaultExpandedKeys);if(M.expandedKeys||delete M.expandedKeys,j||M.expandedKeys){var Ke=(0,ye.oH)(j||F.treeData,M.expandedKeys||F.expandedKeys,ce);M.flattenNodes=Ke}if(v.selectable&&(V("selectedKeys")?M.selectedKeys=(0,Je.BT)(v.selectedKeys,v):!ee&&v.defaultSelectedKeys&&(M.selectedKeys=(0,Je.BT)(v.defaultSelectedKeys,v))),v.checkable){var Me;if(V("checkedKeys")?Me=(0,Je.E6)(v.checkedKeys)||{}:!ee&&v.defaultCheckedKeys?Me=(0,Je.E6)(v.defaultCheckedKeys)||{}:j&&(Me=(0,Je.E6)(v.checkedKeys)||{checkedKeys:F.checkedKeys,halfCheckedKeys:F.halfCheckedKeys}),Me){var Ie=Me,st=Ie.checkedKeys,Xe=st===void 0?[]:st,He=Ie.halfCheckedKeys,Bt=He===void 0?[]:He;if(!v.checkStrictly){var Pt=(0,Le.S)(Xe,!0,Ce);Xe=Pt.checkedKeys,Bt=Pt.halfCheckedKeys}M.checkedKeys=Xe,M.halfCheckedKeys=Bt}}return V("loadedKeys")&&(M.loadedKeys=v.loadedKeys),M}}]),q}(g.Component);(0,s.Z)(re,"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:_,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(re,"TreeNode",Z.Z);var W=re,Q=W},82661:function(Lt,Ae,u){"use strict";u.d(Ae,{BT:function(){return g},E6:function(){return _},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return m},wA:function(){return t},yx:function(){return d}});var P=u(94480),O=u(76190),K=u(48736),Y=u(59301),z=u(639),p=u(65065),U=u(34061),H=null;function e(f,l){if(!f)return[];var N=f.slice(),k=N.indexOf(l);return k>=0&&N.splice(k,1),N}function s(f,l){var N=(f||[]).slice();return N.indexOf(l)===-1&&N.push(l),N}function d(f){return f.split("-")}function t(f,l){var N=[],k=(0,p.Z)(l,f);function I(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Z.forEach(function($){var L=$.key,ye=$.children;N.push(L),I(ye)})}return I(k.children),N}function r(f){if(f.parent){var l=d(f.pos);return Number(l[l.length-1])===f.parent.children.length-1}return!1}function a(f){var l=d(f.pos);return Number(l[l.length-1])===0}function o(f,l,N,k,I,Z,$,L,ye,b){var h,w=f.clientX,R=f.clientY,D=f.target.getBoundingClientRect(),x=D.top,n=D.height,i=(b==="rtl"?-1:1)*(((I==null?void 0:I.x)||0)-w),y=(i-12)/k,A=ye.filter(function(Q){var c;return(c=L[Q])===null||c===void 0||(c=c.children)===null||c===void 0?void 0:c.length}),le=(0,p.Z)(L,N.eventKey);if(R<x+n/2){var xe=$.findIndex(function(Q){return Q.key===le.key}),Te=xe<=0?0:xe-1,ze=$[Te].key;le=(0,p.Z)(L,ze)}var Ge=le.key,Tt=le,Ee=le.key,Je=0,Le=0;if(!A.includes(Ge))for(var pe=0;pe<y&&r(le);pe+=1)le=le.parent,Le+=1;var ue=l.data,re=le.node,W=!0;return a(le)&&le.level===0&&R<x+n/2&&Z({dragNode:ue,dropNode:re,dropPosition:-1})&&le.key===N.eventKey?Je=-1:(Tt.children||[]).length&&A.includes(Ee)?Z({dragNode:ue,dropNode:re,dropPosition:0})?Je=0:W=!1:Le===0?y>-1.5?Z({dragNode:ue,dropNode:re,dropPosition:1})?Je=1:W=!1:Z({dragNode:ue,dropNode:re,dropPosition:0})?Je=0:Z({dragNode:ue,dropNode:re,dropPosition:1})?Je=1:W=!1:Z({dragNode:ue,dropNode:re,dropPosition:1})?Je=1:W=!1,{dropPosition:Je,dropLevelOffset:Le,dropTargetKey:le.key,dropTargetPos:le.pos,dragOverNodeKey:Ee,dropContainerKey:Je===0?null:((h=le.parent)===null||h===void 0?void 0:h.key)||null,dropAllowed:W}}function g(f,l){if(f){var N=l.multiple;return N?f.slice():f.length?[f[0]]:f}}var E=function(l){return l};function S(f,l){if(!f)return[];var N=l||{},k=N.processProps,I=k===void 0?E:k,Z=Array.isArray(f)?f:[f];return Z.map(function($){var L=$.children,ye=_objectWithoutProperties($,H),b=S(L,l);return React.createElement(TreeNode,_extends({key:ye.key},I(ye)),b)})}function _(f){if(!f)return null;var l;if(Array.isArray(f))l={checkedKeys:f,halfCheckedKeys:void 0};else if((0,O.Z)(f)==="object")l={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,K.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function m(f,l){var N=new Set;function k(I){if(!N.has(I)){var Z=(0,p.Z)(l,I);if(Z){N.add(I);var $=Z.parent,L=Z.node;L.disabled||$&&k($.key)}}}return(f||[]).forEach(function(I){k(I)}),(0,P.Z)(N)}},34643:function(Lt,Ae,u){"use strict";u.d(Ae,{S:function(){return U}});var P=u(48736),O=u(65065);function K(H,e){var s=new Set;return H.forEach(function(d){e.has(d)||s.add(d)}),s}function Y(H){var e=H||{},s=e.disabled,d=e.disableCheckbox,t=e.checkable;return!!(s||d)||t===!1}function z(H,e,s,d){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(_){var m=_.key,f=_.node,l=_.children,N=l===void 0?[]:l;t.has(m)&&!d(f)&&N.filter(function(k){return!d(k.node)}).forEach(function(k){t.add(k.key)})})}for(var g=new Set,E=s;E>=0;E-=1){var S=e.get(E)||new Set;S.forEach(function(_){var m=_.parent,f=_.node;if(!(d(f)||!_.parent||g.has(_.parent.key))){if(d(_.parent.node)){g.add(m.key);return}var l=!0,N=!1;(m.children||[]).filter(function(k){return!d(k.node)}).forEach(function(k){var I=k.key,Z=t.has(I);l&&!Z&&(l=!1),!N&&(Z||r.has(I))&&(N=!0)}),l&&t.add(m.key),N&&r.add(m.key),g.add(m.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(K(r,t))}}function p(H,e,s,d,t){for(var r=new Set(H),a=new Set(e),o=0;o<=d;o+=1){var g=s.get(o)||new Set;g.forEach(function(m){var f=m.key,l=m.node,N=m.children,k=N===void 0?[]:N;!r.has(f)&&!a.has(f)&&!t(l)&&k.filter(function(I){return!t(I.node)}).forEach(function(I){r.delete(I.key)})})}a=new Set;for(var E=new Set,S=d;S>=0;S-=1){var _=s.get(S)||new Set;_.forEach(function(m){var f=m.parent,l=m.node;if(!(t(l)||!m.parent||E.has(m.parent.key))){if(t(m.parent.node)){E.add(f.key);return}var N=!0,k=!1;(f.children||[]).filter(function(I){return!t(I.node)}).forEach(function(I){var Z=I.key,$=r.has(Z);N&&!$&&(N=!1),!k&&($||a.has(Z))&&(k=!0)}),N||r.delete(f.key),k&&a.add(f.key),E.add(f.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(K(a,r))}}function U(H,e,s,d){var t=[],r;d?r=d:r=Y;var a=new Set(H.filter(function(S){var _=!!(0,O.Z)(s,S);return _||t.push(S),_})),o=new Map,g=0;Object.keys(s).forEach(function(S){var _=s[S],m=_.level,f=o.get(m);f||(f=new Set,o.set(m,f)),f.add(_),g=Math.max(g,m)}),(0,P.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=z(a,o,g,r):E=p(a,e.halfCheckedKeys,o,g,r),E}},65065:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return P}});function P(O,K){return O[K]}},34061:function(Lt,Ae,u){"use strict";u.d(Ae,{F:function(){return m},H8:function(){return _},I8:function(){return S},km:function(){return t},oH:function(){return g},w$:function(){return r},zn:function(){return o}});var P=u(76190),O=u(94480),K=u(33885),Y=u(75931),z=u(11592),p=u(2738),U=u(48736),H=u(65065),e=["children"];function s(f,l){return"".concat(f,"-").concat(l)}function d(f){return f&&f.type&&f.type.isTreeNode}function t(f,l){return f!=null?f:l}function r(f){var l=f||{},N=l.title,k=l._title,I=l.key,Z=l.children,$=N||"title";return{title:$,_title:k||[$],key:I||"key",children:Z||"children"}}function a(f,l){var N=new Map;function k(I){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(I||[]).forEach(function($){var L=$[l.key],ye=$[l.children];warning(L!=null,"Tree node must have a certain key: [".concat(Z).concat(L,"]"));var b=String(L);warning(!N.has(b)||L===null||L===void 0,"Same 'key' exist in the Tree: ".concat(b)),N.set(b,!0),k(ye,"".concat(Z).concat(b," > "))})}k(f)}function o(f){function l(N){var k=(0,z.Z)(N);return k.map(function(I){if(!d(I))return(0,U.ZP)(!I,"Tree/TreeNode can only accept TreeNode as children."),null;var Z=I.key,$=I.props,L=$.children,ye=(0,Y.Z)($,e),b=(0,K.Z)({key:Z},ye),h=l(L);return h.length&&(b.children=h),b}).filter(function(I){return I})}return l(f)}function g(f,l,N){var k=r(N),I=k._title,Z=k.key,$=k.children,L=new Set(l===!0?[]:l),ye=[];function b(h){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return h.map(function(R,D){for(var x=s(w?w.pos:"0",D),n=t(R[Z],x),i,y=0;y<I.length;y+=1){var A=I[y];if(R[A]!==void 0){i=R[A];break}}var le=Object.assign((0,p.Z)(R,[].concat((0,O.Z)(I),[Z,$])),{title:i,key:n,parent:w,pos:x,children:null,data:R,isStart:[].concat((0,O.Z)(w?w.isStart:[]),[D===0]),isEnd:[].concat((0,O.Z)(w?w.isEnd:[]),[D===h.length-1])});return ye.push(le),l===!0||L.has(n)?le.children=b(R[$]||[],le):le.children=[],le})}return b(f),ye}function E(f,l,N){var k={};(0,P.Z)(N)==="object"?k=N:k={externalGetKey:N},k=k||{};var I=k,Z=I.childrenPropName,$=I.externalGetKey,L=I.fieldNames,ye=r(L),b=ye.key,h=ye.children,w=Z||h,R;$?typeof $=="string"?R=function(n){return n[$]}:typeof $=="function"&&(R=function(n){return $(n)}):R=function(n,i){return t(n[b],i)};function D(x,n,i,y){var A=x?x[w]:f,le=x?s(i.pos,n):"0",xe=x?[].concat((0,O.Z)(y),[x]):[];if(x){var Te=R(x,le),ze={node:x,index:n,pos:le,key:Te,parentPos:i.node?i.pos:null,level:i.level+1,nodes:xe};l(ze)}A&&A.forEach(function(Ge,Tt){D(Ge,Tt,{node:x,pos:le,level:i?i.level+1:-1},xe)})}D(null)}function S(f){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=l.initWrapper,k=l.processEntity,I=l.onProcessFinished,Z=l.externalGetKey,$=l.childrenPropName,L=l.fieldNames,ye=arguments.length>2?arguments[2]:void 0,b=Z||ye,h={},w={},R={posEntities:h,keyEntities:w};return N&&(R=N(R)||R),E(f,function(D){var x=D.node,n=D.index,i=D.pos,y=D.key,A=D.parentPos,le=D.level,xe=D.nodes,Te={node:x,nodes:xe,index:n,key:y,pos:i,level:le},ze=t(y,i);h[i]=Te,w[ze]=Te,Te.parent=h[A],Te.parent&&(Te.parent.children=Te.parent.children||[],Te.parent.children.push(Te)),k&&k(Te,R)},{externalGetKey:b,childrenPropName:$,fieldNames:L}),I&&I(R),R}function _(f,l){var N=l.expandedKeys,k=l.selectedKeys,I=l.loadedKeys,Z=l.loadingKeys,$=l.checkedKeys,L=l.halfCheckedKeys,ye=l.dragOverNodeKey,b=l.dropPosition,h=l.keyEntities,w=(0,H.Z)(h,f),R={eventKey:f,expanded:N.indexOf(f)!==-1,selected:k.indexOf(f)!==-1,loaded:I.indexOf(f)!==-1,loading:Z.indexOf(f)!==-1,checked:$.indexOf(f)!==-1,halfChecked:L.indexOf(f)!==-1,pos:String(w?w.pos:""),dragOver:ye===f&&b===0,dragOverGapTop:ye===f&&b===-1,dragOverGapBottom:ye===f&&b===1};return R}function m(f){var l=f.data,N=f.expanded,k=f.selected,I=f.checked,Z=f.loaded,$=f.loading,L=f.halfChecked,ye=f.dragOver,b=f.dragOverGapTop,h=f.dragOverGapBottom,w=f.pos,R=f.active,D=f.eventKey,x=(0,K.Z)((0,K.Z)({},l),{},{expanded:N,selected:k,checked:I,loaded:Z,loading:$,halfChecked:L,dragOver:ye,dragOverGapTop:b,dragOverGapBottom:h,pos:w,active:R,key:D});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`."),f}}),x}},8224:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return O}});var P=u(4676);function O(K,Y,z,p){var U=P.unstable_batchedUpdates?function(e){P.unstable_batchedUpdates(z,e)}:z;return K!=null&&K.addEventListener&&K.addEventListener(Y,U,p),{remove:function(){K!=null&&K.removeEventListener&&K.removeEventListener(Y,U,p)}}}},3465:function(Lt,Ae,u){"use strict";u.d(Ae,{G:function(){return Y}});var P=u(47273),O=function(p){if((0,P.Z)()&&window.document.documentElement){var U=Array.isArray(p)?p:[p],H=window.document.documentElement;return U.some(function(e){return e in H.style})}return!1},K=function(p,U){if(!O(p))return!1;var H=document.createElement("div"),e=H.style[p];return H.style[p]=U,H.style[p]!==e};function Y(z,p){return!Array.isArray(z)&&p!==void 0?K(z,p):O(z)}},49658:function(Lt,Ae){"use strict";Ae.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))}},48911:function(Lt,Ae,u){"use strict";u.d(Ae,{Z:function(){return ue}});var P=u(54476),O=u(76190),K=u(33885),Y=u(20068),z=u(42978),p=u(75931),U=u(92310),H=u.n(U),e=u(29301),s=u(70425),d=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(re,W){var Q=re.height,c=re.offsetY,B=re.offsetX,q=re.children,C=re.prefixCls,v=re.onInnerResize,F=re.innerProps,ee=re.rtl,M=re.extra,V={},j={display:"flex",flexDirection:"column"};return c!==void 0&&(V={height:Q,position:"relative",overflow:"hidden"},j=(0,K.Z)((0,K.Z)({},j),{},(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({transform:"translateY(".concat(c,"px)")},ee?"marginRight":"marginLeft",-B),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:V},t.createElement(e.Z,{onResize:function(oe){var Ce=oe.offsetHeight;Ce&&v&&v()}},t.createElement("div",(0,P.Z)({style:j,className:H()((0,Y.Z)({},"".concat(C,"-holder-inner"),C)),ref:W},F),q,M)))});a.displayName="Filler";var o=a;function g(re){var W=re.children,Q=re.setRef,c=t.useCallback(function(B){Q(B)},[]);return t.cloneElement(W,{ref:c})}function E(re,W,Q,c,B,q,C,v){var F=v.getKey;return re.slice(W,Q+1).map(function(ee,M){var V=W+M,j=C(ee,V,{style:{width:c},offsetX:B}),ce=F(ee);return t.createElement(g,{key:ce,setRef:function(Ce){return q(ee,Ce)}},j)})}function S(re,W,Q,c){var B=Q-re,q=W-Q,C=Math.min(B,q)*2;if(c<=C){var v=Math.floor(c/2);return c%2?Q+v+1:Q-v}return B>q?Q-(c-q):Q+(c-B)}function _(re,W,Q){var c=re.length,B=W.length,q,C;if(c===0&&B===0)return null;c<B?(q=re,C=W):(q=W,C=re);var v={__EMPTY_ITEM__:!0};function F(oe){return oe!==void 0?Q(oe):v}for(var ee=null,M=Math.abs(c-B)!==1,V=0;V<C.length;V+=1){var j=F(q[V]),ce=F(C[V]);if(j!==ce){ee=V,M=M||j!==F(C[V+1]);break}}return ee===null?null:{index:ee,multiple:M}}function m(re,W,Q){var c=t.useState(re),B=(0,z.Z)(c,2),q=B[0],C=B[1],v=t.useState(null),F=(0,z.Z)(v,2),ee=F[0],M=F[1];return t.useEffect(function(){var V=_(q||[],re||[],W);(V==null?void 0:V.index)!==void 0&&(Q==null||Q(V.index),M(re[V.index])),C(re)},[re]),[ee]}var f=u(16089),l=(typeof navigator=="undefined"?"undefined":(0,O.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),N=l,k=function(re,W,Q,c){var B=(0,t.useRef)(!1),q=(0,t.useRef)(null);function C(){clearTimeout(q.current),B.current=!0,q.current=setTimeout(function(){B.current=!1},50)}var v=(0,t.useRef)({top:re,bottom:W,left:Q,right:c});return v.current.top=re,v.current.bottom=W,v.current.left=Q,v.current.right=c,function(F,ee){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,V=F?ee<0&&v.current.left||ee>0&&v.current.right:ee<0&&v.current.top||ee>0&&v.current.bottom;return M&&V?(clearTimeout(q.current),B.current=!1):(!V||B.current)&&C(),!B.current&&V}};function I(re,W,Q,c,B,q,C){var v=(0,t.useRef)(0),F=(0,t.useRef)(null),ee=(0,t.useRef)(null),M=(0,t.useRef)(!1),V=k(W,Q,c,B);function j(Ke,Me){if(f.Z.cancel(F.current),!V(!1,Me)){var Ie=Ke;if(!Ie._virtualHandled)Ie._virtualHandled=!0;else return;v.current+=Me,ee.current=Me,N||Ie.preventDefault(),F.current=(0,f.Z)(function(){var st=M.current?10:1;C(v.current*st,!1),v.current=0})}}function ce(Ke,Me){C(Me,!0),N||Ke.preventDefault()}var oe=(0,t.useRef)(null),Ce=(0,t.useRef)(null);function Ze(Ke){if(re){f.Z.cancel(Ce.current),Ce.current=(0,f.Z)(function(){oe.current=null},2);var Me=Ke.deltaX,Ie=Ke.deltaY,st=Ke.shiftKey,Xe=Me,He=Ie;(oe.current==="sx"||!oe.current&&st&&Ie&&!Me)&&(Xe=Ie,He=0,oe.current="sx");var Bt=Math.abs(Xe),Pt=Math.abs(He);oe.current===null&&(oe.current=q&&Bt>Pt?"x":"y"),oe.current==="y"?j(Ke,He):ce(Ke,Xe)}}function Ye(Ke){re&&(M.current=Ke.detail===ee.current)}return[Ze,Ye]}function Z(re,W,Q,c){var B=t.useMemo(function(){return[new Map,[]]},[re,Q.id,c]),q=(0,z.Z)(B,2),C=q[0],v=q[1],F=function(M){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:M,j=C.get(M),ce=C.get(V);if(j===void 0||ce===void 0)for(var oe=re.length,Ce=v.length;Ce<oe;Ce+=1){var Ze,Ye=re[Ce],Ke=W(Ye);C.set(Ke,Ce);var Me=(Ze=Q.get(Ke))!==null&&Ze!==void 0?Ze:c;if(v[Ce]=(v[Ce-1]||0)+Me,Ke===M&&(j=Ce),Ke===V&&(ce=Ce),j!==void 0&&ce!==void 0)break}return{top:v[j-1]||0,bottom:v[ce]}};return F}var $=u(67732),L=u(83652),ye=function(){function re(){(0,$.Z)(this,re),(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,L.Z)(re,[{key:"set",value:function(Q,c){this.diffRecords.set(Q,this.maps[Q]),this.maps[Q]=c,this.id+=1}},{key:"get",value:function(Q){return this.maps[Q]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),re}(),b=ye;function h(re){var W=parseFloat(re);return isNaN(W)?0:W}function w(re,W,Q){var c=t.useState(0),B=(0,z.Z)(c,2),q=B[0],C=B[1],v=(0,t.useRef)(new Map),F=(0,t.useRef)(new b),ee=(0,t.useRef)(0);function M(){ee.current+=1}function V(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;M();var oe=function(){var Ye=!1;v.current.forEach(function(Ke,Me){if(Ke&&Ke.offsetParent){var Ie=Ke.offsetHeight,st=getComputedStyle(Ke),Xe=st.marginTop,He=st.marginBottom,Bt=h(Xe),Pt=h(He),ke=Ie+Bt+Pt;F.current.get(Me)!==ke&&(F.current.set(Me,ke),Ye=!0)}}),Ye&&C(function(Ke){return Ke+1})};if(ce)oe();else{ee.current+=1;var Ce=ee.current;Promise.resolve().then(function(){Ce===ee.current&&oe()})}}function j(ce,oe){var Ce=re(ce),Ze=v.current.get(Ce);oe?(v.current.set(Ce,oe),V()):v.current.delete(Ce),!Ze!=!oe&&(oe?W==null||W(ce):Q==null||Q(ce))}return(0,t.useEffect)(function(){return M},[]),[j,V,F.current,q]}var R=14/15;function D(re,W,Q){var c=(0,t.useRef)(!1),B=(0,t.useRef)(0),q=(0,t.useRef)(0),C=(0,t.useRef)(null),v=(0,t.useRef)(null),F,ee=function(ce){if(c.current){var oe=Math.ceil(ce.touches[0].pageX),Ce=Math.ceil(ce.touches[0].pageY),Ze=B.current-oe,Ye=q.current-Ce,Ke=Math.abs(Ze)>Math.abs(Ye);Ke?B.current=oe:q.current=Ce;var Me=Q(Ke,Ke?Ze:Ye,!1,ce);Me&&ce.preventDefault(),clearInterval(v.current),Me&&(v.current=setInterval(function(){Ke?Ze*=R:Ye*=R;var Ie=Math.floor(Ke?Ze:Ye);(!Q(Ke,Ie,!0)||Math.abs(Ie)<=.1)&&clearInterval(v.current)},16))}},M=function(){c.current=!1,F()},V=function(ce){F(),ce.touches.length===1&&!c.current&&(c.current=!0,B.current=Math.ceil(ce.touches[0].pageX),q.current=Math.ceil(ce.touches[0].pageY),C.current=ce.target,C.current.addEventListener("touchmove",ee,{passive:!1}),C.current.addEventListener("touchend",M,{passive:!0}))};F=function(){C.current&&(C.current.removeEventListener("touchmove",ee),C.current.removeEventListener("touchend",M))},(0,d.Z)(function(){return re&&W.current.addEventListener("touchstart",V,{passive:!0}),function(){var j;(j=W.current)===null||j===void 0||j.removeEventListener("touchstart",V),F(),clearInterval(v.current)}},[re])}function x(re){return Math.floor(Math.pow(re,.5))}function n(re,W){var Q="touches"in re?re.touches[0]:re;return Q[W?"pageX":"pageY"]-window[W?"scrollX":"scrollY"]}function i(re,W,Q){t.useEffect(function(){var c=W.current;if(re&&c){var B=!1,q,C,v=function(){f.Z.cancel(q)},F=function j(){v(),q=(0,f.Z)(function(){Q(C),j()})},ee=function(){B=!1,v()},M=function(ce){if(!(ce.target.draggable||ce.button!==0)){var oe=ce;oe._virtualHandled||(oe._virtualHandled=!0,B=!0)}},V=function(ce){if(B){var oe=n(ce,!1),Ce=c.getBoundingClientRect(),Ze=Ce.top,Ye=Ce.bottom;if(oe<=Ze){var Ke=Ze-oe;C=-x(Ke),F()}else if(oe>=Ye){var Me=oe-Ye;C=x(Me),F()}else v()}};return c.addEventListener("mousedown",M),c.ownerDocument.addEventListener("mouseup",ee),c.ownerDocument.addEventListener("mousemove",V),c.ownerDocument.addEventListener("dragend",ee),function(){c.removeEventListener("mousedown",M),c.ownerDocument.removeEventListener("mouseup",ee),c.ownerDocument.removeEventListener("mousemove",V),c.ownerDocument.removeEventListener("dragend",ee),v()}}},[re])}var y=10;function A(re,W,Q,c,B,q,C,v){var F=t.useRef(),ee=t.useState(null),M=(0,z.Z)(ee,2),V=M[0],j=M[1];return(0,d.Z)(function(){if(V&&V.times<y){if(!re.current){j(function(Qt){return(0,K.Z)({},Qt)});return}q();var ce=V.targetAlign,oe=V.originAlign,Ce=V.index,Ze=V.offset,Ye=re.current.clientHeight,Ke=!1,Me=ce,Ie=null;if(Ye){for(var st=ce||oe,Xe=0,He=0,Bt=0,Pt=Math.min(W.length-1,Ce),ke=0;ke<=Pt;ke+=1){var Ut=B(W[ke]);He=Xe;var _n=Q.get(Ut);Bt=He+(_n===void 0?c:_n),Xe=Bt}for(var Nt=st==="top"?Ze:Ye-Ze,dt=Pt;dt>=0;dt-=1){var Kt=B(W[dt]),fn=Q.get(Kt);if(fn===void 0){Ke=!0;break}if(Nt-=fn,Nt<=0)break}switch(st){case"top":Ie=He-Ze;break;case"bottom":Ie=Bt-Ye+Ze;break;default:{var Vt=re.current.scrollTop,_t=Vt+Ye;He<Vt?Me="top":Bt>_t&&(Me="bottom")}}Ie!==null&&C(Ie),Ie!==V.lastTop&&(Ke=!0)}Ke&&j((0,K.Z)((0,K.Z)({},V),{},{times:V.times+1,targetAlign:Me,lastTop:Ie}))}},[V,re.current]),function(ce){if(ce==null){v();return}if(f.Z.cancel(F.current),typeof ce=="number")C(ce);else if(ce&&(0,O.Z)(ce)==="object"){var oe,Ce=ce.align;"index"in ce?oe=ce.index:oe=W.findIndex(function(Ke){return B(Ke)===ce.key});var Ze=ce.offset,Ye=Ze===void 0?0:Ze;j({times:0,index:oe,offset:Ye,originAlign:Ce})}}}var le=t.forwardRef(function(re,W){var Q=re.prefixCls,c=re.rtl,B=re.scrollOffset,q=re.scrollRange,C=re.onStartMove,v=re.onStopMove,F=re.onScroll,ee=re.horizontal,M=re.spinSize,V=re.containerSize,j=re.style,ce=re.thumbStyle,oe=re.showScrollBar,Ce=t.useState(!1),Ze=(0,z.Z)(Ce,2),Ye=Ze[0],Ke=Ze[1],Me=t.useState(null),Ie=(0,z.Z)(Me,2),st=Ie[0],Xe=Ie[1],He=t.useState(null),Bt=(0,z.Z)(He,2),Pt=Bt[0],ke=Bt[1],Ut=!c,_n=t.useRef(),Nt=t.useRef(),dt=t.useState(oe),Kt=(0,z.Z)(dt,2),fn=Kt[0],Vt=Kt[1],_t=t.useRef(),Qt=function(){oe===!0||oe===!1||(clearTimeout(_t.current),Vt(!0),_t.current=setTimeout(function(){Vt(!1)},3e3))},Cn=q-V||0,At=V-M||0,ct=t.useMemo(function(){if(B===0||Cn===0)return 0;var zn=B/Cn;return zn*At},[B,Cn,At]),Ct=function(Mn){Mn.stopPropagation(),Mn.preventDefault()},Kn=t.useRef({top:ct,dragging:Ye,pageY:st,startTop:Pt});Kn.current={top:ct,dragging:Ye,pageY:st,startTop:Pt};var mn=function(Mn){Ke(!0),Xe(n(Mn,ee)),ke(Kn.current.top),C(),Mn.stopPropagation(),Mn.preventDefault()};t.useEffect(function(){var zn=function(at){at.preventDefault()},Mn=_n.current,yn=Nt.current;return Mn.addEventListener("touchstart",zn,{passive:!1}),yn.addEventListener("touchstart",mn,{passive:!1}),function(){Mn.removeEventListener("touchstart",zn),yn.removeEventListener("touchstart",mn)}},[]);var An=t.useRef();An.current=Cn;var Wn=t.useRef();Wn.current=At,t.useEffect(function(){if(Ye){var zn,Mn=function(at){var nt=Kn.current,qt=nt.dragging,bn=nt.pageY,xn=nt.startTop;f.Z.cancel(zn);var J=_n.current.getBoundingClientRect(),G=V/(ee?J.width:J.height);if(qt){var Fe=(n(at,ee)-bn)*G,Re=xn;!Ut&&ee?Re-=Fe:Re+=Fe;var je=An.current,$e=Wn.current,Ve=$e?Re/$e:0,Be=Math.ceil(Ve*je);Be=Math.max(Be,0),Be=Math.min(Be,je),zn=(0,f.Z)(function(){F(Be,ee)})}},yn=function(){Ke(!1),v()};return window.addEventListener("mousemove",Mn,{passive:!0}),window.addEventListener("touchmove",Mn,{passive:!0}),window.addEventListener("mouseup",yn,{passive:!0}),window.addEventListener("touchend",yn,{passive:!0}),function(){window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",yn),window.removeEventListener("touchend",yn),f.Z.cancel(zn)}}},[Ye]),t.useEffect(function(){return Qt(),function(){clearTimeout(_t.current)}},[B]),t.useImperativeHandle(W,function(){return{delayHidden:Qt}});var vn="".concat(Q,"-scrollbar"),Nn={position:"absolute",visibility:fn?null:"hidden"},Fn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return ee?(Object.assign(Nn,{height:8,left:0,right:0,bottom:0}),Object.assign(Fn,(0,Y.Z)({height:"100%",width:M},Ut?"left":"right",ct))):(Object.assign(Nn,(0,Y.Z)({width:8,top:0,bottom:0},Ut?"right":"left",0)),Object.assign(Fn,{width:"100%",height:M,top:ct})),t.createElement("div",{ref:_n,className:H()(vn,(0,Y.Z)((0,Y.Z)((0,Y.Z)({},"".concat(vn,"-horizontal"),ee),"".concat(vn,"-vertical"),!ee),"".concat(vn,"-visible"),fn)),style:(0,K.Z)((0,K.Z)({},Nn),j),onMouseDown:Ct,onMouseMove:Qt},t.createElement("div",{ref:Nt,className:H()("".concat(vn,"-thumb"),(0,Y.Z)({},"".concat(vn,"-thumb-moving"),Ye)),style:(0,K.Z)((0,K.Z)({},Fn),ce),onMouseDown:mn}))}),xe=le,Te=20;function ze(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Q=re/W*re;return isNaN(Q)&&(Q=0),Q=Math.max(Q,Te),Math.floor(Q)}var Ge=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Tt=[],Ee={overflowY:"auto",overflowAnchor:"none"};function Je(re,W){var Q=re.prefixCls,c=Q===void 0?"rc-virtual-list":Q,B=re.className,q=re.height,C=re.itemHeight,v=re.fullHeight,F=v===void 0?!0:v,ee=re.style,M=re.data,V=re.children,j=re.itemKey,ce=re.virtual,oe=re.direction,Ce=re.scrollWidth,Ze=re.component,Ye=Ze===void 0?"div":Ze,Ke=re.onScroll,Me=re.onVirtualScroll,Ie=re.onVisibleChange,st=re.innerProps,Xe=re.extraRender,He=re.styles,Bt=re.showScrollBar,Pt=Bt===void 0?"optional":Bt,ke=(0,p.Z)(re,Ge),Ut=t.useCallback(function(ne){return typeof j=="function"?j(ne):ne==null?void 0:ne[j]},[j]),_n=w(Ut,null,null),Nt=(0,z.Z)(_n,4),dt=Nt[0],Kt=Nt[1],fn=Nt[2],Vt=Nt[3],_t=!!(ce!==!1&&q&&C),Qt=t.useMemo(function(){return Object.values(fn.maps).reduce(function(ne,se){return ne+se},0)},[fn.id,fn.maps]),Cn=_t&&M&&(Math.max(C*M.length,Qt)>q||!!Ce),At=oe==="rtl",ct=H()(c,(0,Y.Z)({},"".concat(c,"-rtl"),At),B),Ct=M||Tt,Kn=(0,t.useRef)(),mn=(0,t.useRef)(),An=(0,t.useRef)(),Wn=(0,t.useState)(0),vn=(0,z.Z)(Wn,2),Nn=vn[0],Fn=vn[1],zn=(0,t.useState)(0),Mn=(0,z.Z)(zn,2),yn=Mn[0],Zn=Mn[1],at=(0,t.useState)(!1),nt=(0,z.Z)(at,2),qt=nt[0],bn=nt[1],xn=function(){bn(!0)},J=function(){bn(!1)},G={getKey:Ut};function Fe(ne){Fn(function(se){var de;typeof ne=="function"?de=ne(se):de=ne;var ge=on(de);return Kn.current.scrollTop=ge,ge})}var Re=(0,t.useRef)({start:0,end:Ct.length}),je=(0,t.useRef)(),$e=m(Ct,Ut),Ve=(0,z.Z)($e,1),Be=Ve[0];je.current=Be;var it=t.useMemo(function(){if(!_t)return{scrollHeight:void 0,start:0,end:Ct.length-1,offset:void 0};if(!Cn){var ne;return{scrollHeight:((ne=mn.current)===null||ne===void 0?void 0:ne.offsetHeight)||0,start:0,end:Ct.length-1,offset:void 0}}for(var se=0,de,ge,Se,Ue=Ct.length,ft=0;ft<Ue;ft+=1){var rt=Ct[ft],Rt=Ut(rt),Ft=fn.get(Rt),Ot=se+(Ft===void 0?C:Ft);Ot>=Nn&&de===void 0&&(de=ft,ge=se),Ot>Nn+q&&Se===void 0&&(Se=ft),se=Ot}return de===void 0&&(de=0,ge=0,Se=Math.ceil(q/C)),Se===void 0&&(Se=Ct.length-1),Se=Math.min(Se+1,Ct.length-1),{scrollHeight:se,start:de,end:Se,offset:ge}},[Cn,_t,Nn,Ct,Vt,q]),We=it.scrollHeight,Qe=it.start,ot=it.end,wt=it.offset;Re.current.start=Qe,Re.current.end=ot,t.useLayoutEffect(function(){var ne=fn.getRecord();if(ne.size===1){var se=Array.from(ne.keys())[0],de=ne.get(se),ge=Ct[Qe];if(ge&&de===void 0){var Se=Ut(ge);if(Se===se){var Ue=fn.get(se),ft=Ue-C;Fe(function(rt){return rt+ft})}}}fn.resetRecord()},[We]);var qe=t.useState({width:0,height:q}),X=(0,z.Z)(qe,2),fe=X[0],ve=X[1],_e=function(se){ve({width:se.offsetWidth,height:se.offsetHeight})},me=(0,t.useRef)(),Pe=(0,t.useRef)(),Oe=t.useMemo(function(){return ze(fe.width,Ce)},[fe.width,Ce]),et=t.useMemo(function(){return ze(fe.height,We)},[fe.height,We]),ut=We-q,gt=(0,t.useRef)(ut);gt.current=ut;function on(ne){var se=ne;return Number.isNaN(gt.current)||(se=Math.min(se,gt.current)),se=Math.max(se,0),se}var yt=Nn<=0,xt=Nn>=ut,Mt=yn<=0,Ht=yn>=Ce,zt=k(yt,xt,Mt,Ht),bt=function(){return{x:At?-yn:yn,y:Nn}},St=(0,t.useRef)(bt()),tt=(0,s.zX)(function(ne){if(Me){var se=(0,K.Z)((0,K.Z)({},bt()),ne);(St.current.x!==se.x||St.current.y!==se.y)&&(Me(se),St.current=se)}});function lt(ne,se){var de=ne;se?((0,r.flushSync)(function(){Zn(de)}),tt()):Fe(de)}function ht(ne){var se=ne.currentTarget.scrollTop;se!==Nn&&Fe(se),Ke==null||Ke(ne),tt()}var $t=function(se){var de=se,ge=Ce?Ce-fe.width:0;return de=Math.max(de,0),de=Math.min(de,ge),de},kt=(0,s.zX)(function(ne,se){se?((0,r.flushSync)(function(){Zn(function(de){var ge=de+(At?-ne:ne);return $t(ge)})}),tt()):Fe(function(de){var ge=de+ne;return ge})}),jt=I(_t,yt,xt,Mt,Ht,!!Ce,kt),On=(0,z.Z)(jt,2),T=On[0],ae=On[1];D(_t,Kn,function(ne,se,de,ge){var Se=ge;return zt(ne,se,de)?!1:!Se||!Se._virtualHandled?(Se&&(Se._virtualHandled=!0),T({preventDefault:function(){},deltaX:ne?se:0,deltaY:ne?0:se}),!0):!1}),i(Cn,Kn,function(ne){Fe(function(se){return se+ne})}),(0,d.Z)(function(){function ne(de){var ge=yt&&de.detail<0,Se=xt&&de.detail>0;_t&&!ge&&!Se&&de.preventDefault()}var se=Kn.current;return se.addEventListener("wheel",T,{passive:!1}),se.addEventListener("DOMMouseScroll",ae,{passive:!0}),se.addEventListener("MozMousePixelScroll",ne,{passive:!1}),function(){se.removeEventListener("wheel",T),se.removeEventListener("DOMMouseScroll",ae),se.removeEventListener("MozMousePixelScroll",ne)}},[_t,yt,xt]),(0,d.Z)(function(){if(Ce){var ne=$t(yn);Zn(ne),tt({x:ne})}},[fe.width,Ce]);var te=function(){var se,de;(se=me.current)===null||se===void 0||se.delayHidden(),(de=Pe.current)===null||de===void 0||de.delayHidden()},ie=A(Kn,Ct,fn,C,Ut,function(){return Kt(!0)},Fe,te);t.useImperativeHandle(W,function(){return{nativeElement:An.current,getScrollInfo:bt,scrollTo:function(se){function de(ge){return ge&&(0,O.Z)(ge)==="object"&&("left"in ge||"top"in ge)}de(se)?(se.left!==void 0&&Zn($t(se.left)),ie(se.top)):ie(se)}}}),(0,d.Z)(function(){if(Ie){var ne=Ct.slice(Qe,ot+1);Ie(ne,Ct)}},[Qe,ot,Ct]);var he=Z(Ct,Ut,fn,C),be=Xe==null?void 0:Xe({start:Qe,end:ot,virtual:Cn,offsetX:yn,offsetY:wt,rtl:At,getSize:he}),De=E(Ct,Qe,ot,Ce,yn,dt,V,G),Ne=null;q&&(Ne=(0,K.Z)((0,Y.Z)({},F?"height":"maxHeight",q),Ee),_t&&(Ne.overflowY="hidden",Ce&&(Ne.overflowX="hidden"),qt&&(Ne.pointerEvents="none")));var we={};return At&&(we.dir="rtl"),t.createElement("div",(0,P.Z)({ref:An,style:(0,K.Z)((0,K.Z)({},ee),{},{position:"relative"}),className:ct},we,ke),t.createElement(e.Z,{onResize:_e},t.createElement(Ye,{className:"".concat(c,"-holder"),style:Ne,ref:Kn,onScroll:ht,onMouseEnter:te},t.createElement(o,{prefixCls:c,height:We,offsetX:yn,offsetY:wt,scrollWidth:Ce,onInnerResize:Kt,ref:mn,innerProps:st,rtl:At,extra:be},De))),Cn&&We>q&&t.createElement(xe,{ref:me,prefixCls:c,scrollOffset:Nn,scrollRange:We,rtl:At,onScroll:lt,onStartMove:xn,onStopMove:J,spinSize:et,containerSize:fe.height,style:He==null?void 0:He.verticalScrollBar,thumbStyle:He==null?void 0:He.verticalScrollBarThumb,showScrollBar:Pt}),Cn&&Ce>fe.width&&t.createElement(xe,{ref:Pe,prefixCls:c,scrollOffset:yn,scrollRange:Ce,rtl:At,onScroll:lt,onStartMove:xn,onStopMove:J,spinSize:Oe,containerSize:fe.width,horizontal:!0,style:He==null?void 0:He.horizontalScrollBar,thumbStyle:He==null?void 0:He.horizontalScrollBarThumb,showScrollBar:Pt}))}var Le=t.forwardRef(Je);Le.displayName="List";var pe=Le,ue=pe},83145:function(Lt,Ae,u){"use strict";Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.CopyToClipboard=void 0;var P=K(u(59301)),O=K(u(25769));function K(_){return _&&_.__esModule?_:{default:_}}function Y(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(f){return typeof f}:Y=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},Y(_)}function z(_,m){var f=Object.keys(_);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(_);m&&(l=l.filter(function(N){return Object.getOwnPropertyDescriptor(_,N).enumerable})),f.push.apply(f,l)}return f}function p(_){for(var m=1;m<arguments.length;m++){var f=arguments[m]!=null?arguments[m]:{};m%2?z(f,!0).forEach(function(l){E(_,l,f[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(f)):z(f).forEach(function(l){Object.defineProperty(_,l,Object.getOwnPropertyDescriptor(f,l))})}return _}function U(_,m){if(_==null)return{};var f=H(_,m),l,N;if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(_);for(N=0;N<k.length;N++)l=k[N],!(m.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(_,l)&&(f[l]=_[l])}return f}function H(_,m){if(_==null)return{};var f={},l=Object.keys(_),N,k;for(k=0;k<l.length;k++)N=l[k],!(m.indexOf(N)>=0)&&(f[N]=_[N]);return f}function e(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function s(_,m){for(var f=0;f<m.length;f++){var l=m[f];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(_,l.key,l)}}function d(_,m,f){return m&&s(_.prototype,m),f&&s(_,f),_}function t(_,m){return m&&(Y(m)==="object"||typeof m=="function")?m:a(_)}function r(_){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},r(_)}function a(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function o(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),m&&g(_,m)}function g(_,m){return g=Object.setPrototypeOf||function(l,N){return l.__proto__=N,l},g(_,m)}function E(_,m,f){return m in _?Object.defineProperty(_,m,{value:f,enumerable:!0,configurable:!0,writable:!0}):_[m]=f,_}var S=function(_){o(m,_);function m(){var f,l;e(this,m);for(var N=arguments.length,k=new Array(N),I=0;I<N;I++)k[I]=arguments[I];return l=t(this,(f=r(m)).call.apply(f,[this].concat(k))),E(a(l),"onClick",function(Z){var $=l.props,L=$.text,ye=$.onCopy,b=$.children,h=$.options,w=P.default.Children.only(b),R=(0,O.default)(L,h);ye&&ye(L,R),w&&w.props&&typeof w.props.onClick=="function"&&w.props.onClick(Z)}),l}return d(m,[{key:"render",value:function(){var l=this.props,N=l.text,k=l.onCopy,I=l.options,Z=l.children,$=U(l,["text","onCopy","options","children"]),L=P.default.Children.only(Z);return P.default.cloneElement(L,p({},$,{onClick:this.onClick}))}}]),m}(P.default.PureComponent);Ae.CopyToClipboard=S,E(S,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Lt,Ae,u){"use strict";var P=u(83145),O=P.CopyToClipboard;O.CopyToClipboard=O,Lt.exports=O},76374:function(Lt,Ae,u){"use strict";var P=function(){if(typeof Map!="undefined")return Map;function b(h,w){var R=-1;return h.some(function(D,x){return D[0]===w?(R=x,!0):!1}),R}return function(){function h(){this.__entries__=[]}return Object.defineProperty(h.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),h.prototype.get=function(w){var R=b(this.__entries__,w),D=this.__entries__[R];return D&&D[1]},h.prototype.set=function(w,R){var D=b(this.__entries__,w);~D?this.__entries__[D][1]=R:this.__entries__.push([w,R])},h.prototype.delete=function(w){var R=this.__entries__,D=b(R,w);~D&&R.splice(D,1)},h.prototype.has=function(w){return!!~b(this.__entries__,w)},h.prototype.clear=function(){this.__entries__.splice(0)},h.prototype.forEach=function(w,R){R===void 0&&(R=null);for(var D=0,x=this.__entries__;D<x.length;D++){var n=x[D];w.call(R,n[1],n[0])}},h}()}(),O=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,K=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(K):function(b){return setTimeout(function(){return b(Date.now())},1e3/60)}}(),z=2;function p(b,h){var w=!1,R=!1,D=0;function x(){w&&(w=!1,b()),R&&i()}function n(){Y(x)}function i(){var y=Date.now();if(w){if(y-D<z)return;R=!0}else w=!0,R=!1,setTimeout(n,h);D=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=p(this.refresh.bind(this),U)}return b.prototype.addObserver=function(h){~this.observers_.indexOf(h)||this.observers_.push(h),this.connected_||this.connect_()},b.prototype.removeObserver=function(h){var w=this.observers_,R=w.indexOf(h);~R&&w.splice(R,1),!w.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){var h=this.updateObservers_();h&&this.refresh()},b.prototype.updateObservers_=function(){var h=this.observers_.filter(function(w){return w.gatherActive(),w.hasActive()});return h.forEach(function(w){return w.broadcastActive()}),h.length>0},b.prototype.connect_=function(){!O||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(){!O||!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(h){var w=h.propertyName,R=w===void 0?"":w,D=H.some(function(x){return!!~R.indexOf(x)});D&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null,b}(),d=function(b,h){for(var w=0,R=Object.keys(h);w<R.length;w++){var D=R[w];Object.defineProperty(b,D,{value:h[D],enumerable:!1,writable:!1,configurable:!0})}return b},t=function(b){var h=b&&b.ownerDocument&&b.ownerDocument.defaultView;return h||K},r=N(0,0,0,0);function a(b){return parseFloat(b)||0}function o(b){for(var h=[],w=1;w<arguments.length;w++)h[w-1]=arguments[w];return h.reduce(function(R,D){var x=b["border-"+D+"-width"];return R+a(x)},0)}function g(b){for(var h=["top","right","bottom","left"],w={},R=0,D=h;R<D.length;R++){var x=D[R],n=b["padding-"+x];w[x]=a(n)}return w}function E(b){var h=b.getBBox();return N(0,0,h.width,h.height)}function S(b){var h=b.clientWidth,w=b.clientHeight;if(!h&&!w)return r;var R=t(b).getComputedStyle(b),D=g(R),x=D.left+D.right,n=D.top+D.bottom,i=a(R.width),y=a(R.height);if(R.boxSizing==="border-box"&&(Math.round(i+x)!==h&&(i-=o(R,"left","right")+x),Math.round(y+n)!==w&&(y-=o(R,"top","bottom")+n)),!m(b)){var A=Math.round(i+x)-h,le=Math.round(y+n)-w;Math.abs(A)!==1&&(i-=A),Math.abs(le)!==1&&(y-=le)}return N(D.left,D.top,i,y)}var _=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 m(b){return b===t(b).document.documentElement}function f(b){return O?_(b)?E(b):S(b):r}function l(b){var h=b.x,w=b.y,R=b.width,D=b.height,x=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(x.prototype);return d(n,{x:h,y:w,width:R,height:D,top:w,right:h+R,bottom:D+w,left:h}),n}function N(b,h,w,R){return{x:b,y:h,width:w,height:R}}var k=function(){function b(h){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=N(0,0,0,0),this.target=h}return b.prototype.isActive=function(){var h=f(this.target);return this.contentRect_=h,h.width!==this.broadcastWidth||h.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var h=this.contentRect_;return this.broadcastWidth=h.width,this.broadcastHeight=h.height,h},b}(),I=function(){function b(h,w){var R=l(w);d(this,{target:h,contentRect:R})}return b}(),Z=function(){function b(h,w,R){if(this.activeObservations_=[],this.observations_=new P,typeof h!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=h,this.controller_=w,this.callbackCtx_=R}return b.prototype.observe=function(h){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(h instanceof t(h).Element))throw new TypeError('parameter 1 is not of type "Element".');var w=this.observations_;w.has(h)||(w.set(h,new k(h)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(h){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(h instanceof t(h).Element))throw new TypeError('parameter 1 is not of type "Element".');var w=this.observations_;w.has(h)&&(w.delete(h),w.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var h=this;this.clearActive(),this.observations_.forEach(function(w){w.isActive()&&h.activeObservations_.push(w)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var h=this.callbackCtx_,w=this.activeObservations_.map(function(R){return new I(R.target,R.broadcastRect())});this.callback_.call(h,w,h),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0},b}(),$=typeof WeakMap!="undefined"?new WeakMap:new P,L=function(){function b(h){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(),R=new Z(h,w,this);$.set(this,R)}return b}();["observe","unobserve","disconnect"].forEach(function(b){L.prototype[b]=function(){var h;return(h=$.get(this))[b].apply(h,arguments)}});var ye=function(){return typeof K.ResizeObserver!="undefined"?K.ResizeObserver:L}();Ae.Z=ye},98040:function(Lt){Lt.exports=function(){var Ae=document.getSelection();if(!Ae.rangeCount)return function(){};for(var u=document.activeElement,P=[],O=0;O<Ae.rangeCount;O++)P.push(Ae.getRangeAt(O));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Ae.removeAllRanges(),function(){Ae.type==="Caret"&&Ae.removeAllRanges(),Ae.rangeCount||P.forEach(function(K){Ae.addRange(K)}),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=="}}]);