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

(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65352:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return le}});var O=u(77321),T=u(52487),W=u(74416),J=u(43403),V=u(92310),_=u.n(V),H=u(29301),G=u(76846),e=u(96452),s=u(6089),c=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(72308),v=u(77900),x=u(8654);function C(E){var j=E.prefixCls,D=E.align,ie=E.arrow,fe=E.arrowPos,R=ie||{},m=R.className,S=R.content,z=fe.x,N=z===void 0?0:z,U=fe.y,Z=U===void 0?0:U,q=a.useRef();if(!D||!D.points)return null;var Q={position:"absolute"};if(D.autoArrow!==!1){var ce=D.points[0],be=D.points[1],ye=ce[0],Ke=ce[1],Me=be[0],Fe=be[1];ye===Me||!["t","b"].includes(ye)?Q.top=Z:ye==="t"?Q.top=0:Q.bottom=0,Ke===Fe||!["l","r"].includes(Ke)?Q.left=N:Ke==="l"?Q.left=0:Q.right=0}return a.createElement("div",{ref:q,className:_()("".concat(j,"-arrow"),m),style:Q},S)}function h(E){var j=E.prefixCls,D=E.open,ie=E.zIndex,fe=E.mask,R=E.motion;return fe?a.createElement(v.default,(0,o.Z)({},R,{motionAppear:!0,visible:D,removeOnLeave:!0}),function(m){var S=m.className;return a.createElement("div",{style:{zIndex:ie},className:_()("".concat(j,"-mask"),S)})}):null}var p=a.memo(function(E){var j=E.children;return j},function(E,j){return j.cache}),f=p,l=a.forwardRef(function(E,j){var D=E.popup,ie=E.className,fe=E.prefixCls,R=E.style,m=E.target,S=E.onVisibleChanged,z=E.open,N=E.keepDom,U=E.fresh,Z=E.onClick,q=E.mask,Q=E.arrow,ce=E.arrowPos,be=E.align,ye=E.motion,Ke=E.maskMotion,Me=E.forceRender,Fe=E.getPopupContainer,ft=E.autoDestroy,je=E.portal,ze=E.zIndex,Nt=E.onMouseEnter,It=E.onMouseLeave,it=E.onPointerEnter,jt=E.onPointerDownCapture,hn=E.ready,St=E.offsetX,vt=E.offsetY,Rt=E.offsetR,on=E.offsetB,Qt=E.onAlign,qt=E.onPrepare,En=E.stretch,fn=E.targetWidth,We=E.targetHeight,gt=typeof D=="function"?D():D,Gt=z||N,mn=(Fe==null?void 0:Fe.length)>0,Wt=a.useState(!Fe||!mn),kn=(0,T.Z)(Wt,2),Vn=kn[0],Sn=kn[1];if((0,t.Z)(function(){!Vn&&mn&&m&&Sn(!0)},[Vn,mn,m]),!Vn)return null;var Yt="auto",Nn={left:"-1000vw",top:"-1000vh",right:Yt,bottom:Yt};if(hn||!z){var xn,On=be.points,gn=be.dynamicInset||((xn=be._experimental)===null||xn===void 0?void 0:xn.dynamicInset),Cn=gn&&On[0][1]==="r",An=gn&&On[0][0]==="b";Cn?(Nn.right=Rt,Nn.left=Yt):(Nn.left=St,Nn.right=Yt),An?(Nn.bottom=on,Nn.top=Yt):(Nn.top=vt,Nn.bottom=Yt)}var Zn={};return En&&(En.includes("height")&&We?Zn.height=We:En.includes("minHeight")&&We&&(Zn.minHeight=We),En.includes("width")&&fn?Zn.width=fn:En.includes("minWidth")&&fn&&(Zn.minWidth=fn)),z||(Zn.pointerEvents="none"),a.createElement(je,{open:Me||Gt,getContainer:Fe&&function(){return Fe(m)},autoDestroy:ft},a.createElement(h,{prefixCls:fe,open:z,zIndex:ze,mask:q,motion:Ke}),a.createElement(H.Z,{onResize:Qt,disabled:!z},function(ne){return a.createElement(v.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(fe,"-hidden")},ye,{onAppearPrepare:qt,onEnterPrepare:qt,visible:z,onVisibleChanged:function($e){var Te;ye==null||(Te=ye.onVisibleChanged)===null||Te===void 0||Te.call(ye,$e),S($e)}}),function(X,$e){var Te=X.className,Ge=X.style,Xe=_()(fe,Te,ie);return a.createElement("div",{ref:(0,x.sQ)(ne,j,$e),className:Xe,style:(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({"--arrow-x":"".concat(ce.x||0,"px"),"--arrow-y":"".concat(ce.y||0,"px")},Nn),Zn),Ge),{},{boxSizing:"border-box",zIndex:ze},R),onMouseEnter:Nt,onMouseLeave:It,onPointerEnter:it,onClick:Z,onPointerDownCapture:jt},Q&&a.createElement(C,{prefixCls:fe,arrow:Q,arrowPos:ce,align:be}),a.createElement(f,{cache:!z&&!U},gt))})}))}),k=l,I=a.forwardRef(function(E,j){var D=E.children,ie=E.getTriggerDOMNode,fe=(0,x.Yr)(D),R=a.useCallback(function(S){(0,x.mH)(j,ie?ie(S):S)},[ie]),m=(0,x.x1)(R,(0,x.C4)(D));return fe?a.cloneElement(D,{ref:m}):D}),L=I,F=a.createContext(null),Y=F;function B(E){return E?Array.isArray(E)?E:[E]:[]}function ge(E,j,D,ie){return a.useMemo(function(){var fe=B(D!=null?D:j),R=B(ie!=null?ie:j),m=new Set(fe),S=new Set(R);return E&&(m.has("hover")&&(m.delete("hover"),m.add("click")),S.has("hover")&&(S.delete("hover"),S.add("click"))),[m,S]},[E,j,D,ie])}var g=u(29194);function d(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],D=arguments.length>2?arguments[2]:void 0;return D?E[0]===j[0]:E[0]===j[0]&&E[1]===j[1]}function b(E,j,D,ie){for(var fe=D.points,R=Object.keys(E),m=0;m<R.length;m+=1){var S,z=R[m];if(d((S=E[z])===null||S===void 0?void 0:S.points,fe,ie))return"".concat(j,"-placement-").concat(z)}return""}function P(E,j,D,ie){return j||(D?{motionName:"".concat(E,"-").concat(D)}:ie?{motionName:ie}:null)}function A(E){return E.ownerDocument.defaultView}function w(E){for(var j=[],D=E==null?void 0:E.parentElement,ie=["hidden","scroll","clip","auto"];D;){var fe=A(D).getComputedStyle(D),R=fe.overflowX,m=fe.overflowY,S=fe.overflow;[R,m,S].some(function(z){return ie.includes(z)})&&j.push(D),D=D.parentElement}return j}function n(E){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(E)?j:E}function i(E){return n(parseFloat(E),0)}function y(E,j){var D=(0,O.Z)({},E);return(j||[]).forEach(function(ie){if(!(ie instanceof HTMLBodyElement||ie instanceof HTMLHtmlElement)){var fe=A(ie).getComputedStyle(ie),R=fe.overflow,m=fe.overflowClipMargin,S=fe.borderTopWidth,z=fe.borderBottomWidth,N=fe.borderLeftWidth,U=fe.borderRightWidth,Z=ie.getBoundingClientRect(),q=ie.offsetHeight,Q=ie.clientHeight,ce=ie.offsetWidth,be=ie.clientWidth,ye=i(S),Ke=i(z),Me=i(N),Fe=i(U),ft=n(Math.round(Z.width/ce*1e3)/1e3),je=n(Math.round(Z.height/q*1e3)/1e3),ze=(ce-be-Me-Fe)*ft,Nt=(q-Q-ye-Ke)*je,It=ye*je,it=Ke*je,jt=Me*ft,hn=Fe*ft,St=0,vt=0;if(R==="clip"){var Rt=i(m);St=Rt*ft,vt=Rt*je}var on=Z.x+jt-St,Qt=Z.y+It-vt,qt=on+Z.width+2*St-jt-hn-ze,En=Qt+Z.height+2*vt-It-it-Nt;D.left=Math.max(D.left,on),D.top=Math.max(D.top,Qt),D.right=Math.min(D.right,qt),D.bottom=Math.min(D.bottom,En)}}),D}function K(E){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,D="".concat(j),ie=D.match(/^(.*)\%$/);return ie?E*(parseFloat(ie[1])/100):parseFloat(D)}function ue(E,j){var D=j||[],ie=(0,T.Z)(D,2),fe=ie[0],R=ie[1];return[K(E.width,fe),K(E.height,R)]}function Ee(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[E[0],E[1]]}function Ze(E,j){var D=j[0],ie=j[1],fe,R;return D==="t"?R=E.y:D==="b"?R=E.y+E.height:R=E.y+E.height/2,ie==="l"?fe=E.x:ie==="r"?fe=E.x+E.width:fe=E.x+E.width/2,{x:fe,y:R}}function Ve(E,j){var D={t:"b",b:"t",l:"r",r:"l"};return E.map(function(ie,fe){return fe===j?D[ie]||"c":ie}).join("")}function rt(E,j,D,ie,fe,R,m){var S=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:fe[ie]||{}}),z=(0,T.Z)(S,2),N=z[0],U=z[1],Z=a.useRef(0),q=a.useMemo(function(){return j?w(j):[]},[j]),Q=a.useRef({}),ce=function(){Q.current={}};E||ce();var be=(0,s.Z)(function(){if(j&&D&&E){let Bn=function(_t,dt){var Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pt,wn=Wt.x+_t,Ln=Wt.y+dt,ar=wn+Cn,Jn=Ln+gn,ir=Math.max(wn,Tt.left),pt=Math.max(Ln,Tt.top),Ht=Math.min(ar,Tt.right),Pn=Math.min(Jn,Tt.bottom);return Math.max(0,(Ht-ir)*(Pn-pt))},Mt=function(){_e=Wt.y+wt,oe=_e+gn,ve=Wt.x+bt,we=ve+Cn};var Me,Fe,ft,je,ze=j,Nt=ze.ownerDocument,It=A(ze),it=It.getComputedStyle(ze),jt=it.width,hn=it.height,St=it.position,vt=ze.style.left,Rt=ze.style.top,on=ze.style.right,Qt=ze.style.bottom,qt=ze.style.overflow,En=(0,O.Z)((0,O.Z)({},fe[ie]),R),fn=Nt.createElement("div");(Me=ze.parentElement)===null||Me===void 0||Me.appendChild(fn),fn.style.left="".concat(ze.offsetLeft,"px"),fn.style.top="".concat(ze.offsetTop,"px"),fn.style.position=St,fn.style.height="".concat(ze.offsetHeight,"px"),fn.style.width="".concat(ze.offsetWidth,"px"),ze.style.left="0",ze.style.top="0",ze.style.right="auto",ze.style.bottom="auto",ze.style.overflow="hidden";var We;if(Array.isArray(D))We={x:D[0],y:D[1],width:0,height:0};else{var gt,Gt,mn=D.getBoundingClientRect();mn.x=(gt=mn.x)!==null&&gt!==void 0?gt:mn.left,mn.y=(Gt=mn.y)!==null&&Gt!==void 0?Gt:mn.top,We={x:mn.x,y:mn.y,width:mn.width,height:mn.height}}var Wt=ze.getBoundingClientRect();Wt.x=(Fe=Wt.x)!==null&&Fe!==void 0?Fe:Wt.left,Wt.y=(ft=Wt.y)!==null&&ft!==void 0?ft:Wt.top;var kn=Nt.documentElement,Vn=kn.clientWidth,Sn=kn.clientHeight,Yt=kn.scrollWidth,Nn=kn.scrollHeight,xn=kn.scrollTop,On=kn.scrollLeft,gn=Wt.height,Cn=Wt.width,An=We.height,Zn=We.width,ne={left:0,top:0,right:Vn,bottom:Sn},X={left:-On,top:-xn,right:Yt-On,bottom:Nn-xn},$e=En.htmlRegion,Te="visible",Ge="visibleFirst";$e!=="scroll"&&$e!==Ge&&($e=Te);var Xe=$e===Ge,ot=y(X,q),tt=y(ne,q),Pt=$e===Te?tt:ot,Se=Xe?tt:Pt;ze.style.left="auto",ze.style.top="auto",ze.style.right="0",ze.style.bottom="0";var me=ze.getBoundingClientRect();ze.style.left=vt,ze.style.top=Rt,ze.style.right=on,ze.style.bottom=Qt,ze.style.overflow=qt,(je=ze.parentElement)===null||je===void 0||je.removeChild(fn);var Be=n(Math.round(Cn/parseFloat(jt)*1e3)/1e3),lt=n(Math.round(gn/parseFloat(hn)*1e3)/1e3);if(Be===0||lt===0||(0,G.Sh)(D)&&!(0,g.Z)(D))return;var et=En.offset,At=En.targetOffset,Je=ue(Wt,et),nt=(0,T.Z)(Je,2),$=nt[0],he=nt[1],Ce=ue(We,At),de=(0,T.Z)(Ce,2),Ne=de[0],ke=de[1];We.x-=Ne,We.y-=ke;var Ie=En.points||[],Ue=(0,T.Z)(Ie,2),st=Ue[0],ct=Ue[1],ht=Ee(ct),ut=Ee(st),kt=Ze(We,ht),Lt=Ze(Wt,ut),Dt=(0,O.Z)({},En),bt=kt.x-Lt.x+$,wt=kt.y-Lt.y+he,$t=Bn(bt,wt),Qe=Bn(bt,wt,tt),He=Ze(We,["t","l"]),at=Ze(Wt,["t","l"]),en=Ze(We,["b","r"]),ln=Ze(Wt,["b","r"]),vn=En.overflow||{},Rn=vn.adjustX,M=vn.adjustY,re=vn.shiftX,te=vn.shiftY,ae=function(dt){return typeof dt=="boolean"?dt:dt>=0},_e,oe,ve,we;Mt();var Pe=ae(M),ee=ut[0]===ht[0];if(Pe&&ut[0]==="t"&&(oe>Se.bottom||Q.current.bt)){var se=wt;ee?se-=gn-An:se=He.y-ln.y-he;var pe=Bn(bt,se),De=Bn(bt,se,tt);pe>$t||pe===$t&&(!Xe||De>=Qe)?(Q.current.bt=!0,wt=se,he=-he,Dt.points=[Ve(ut,0),Ve(ht,0)]):Q.current.bt=!1}if(Pe&&ut[0]==="b"&&(_e<Se.top||Q.current.tb)){var Re=wt;ee?Re+=gn-An:Re=en.y-at.y-he;var qe=Bn(bt,Re),Ct=Bn(bt,Re,tt);qe>$t||qe===$t&&(!Xe||Ct>=Qe)?(Q.current.tb=!0,wt=Re,he=-he,Dt.points=[Ve(ut,0),Ve(ht,0)]):Q.current.tb=!1}var yt=ae(Rn),Kt=ut[1]===ht[1];if(yt&&ut[1]==="l"&&(we>Se.right||Q.current.rl)){var xt=bt;Kt?xt-=Cn-Zn:xt=He.x-ln.x-$;var Ft=Bn(xt,wt),nn=Bn(xt,wt,tt);Ft>$t||Ft===$t&&(!Xe||nn>=Qe)?(Q.current.rl=!0,bt=xt,$=-$,Dt.points=[Ve(ut,1),Ve(ht,1)]):Q.current.rl=!1}if(yt&&ut[1]==="r"&&(ve<Se.left||Q.current.lr)){var Et=bt;Kt?Et+=Cn-Zn:Et=en.x-at.x-$;var rn=Bn(Et,wt),Jt=Bn(Et,wt,tt);rn>$t||rn===$t&&(!Xe||Jt>=Qe)?(Q.current.lr=!0,bt=Et,$=-$,Dt.points=[Ve(ut,1),Ve(ht,1)]):Q.current.lr=!1}Mt();var Xt=re===!0?0:re;typeof Xt=="number"&&(ve<tt.left&&(bt-=ve-tt.left-$,We.x+Zn<tt.left+Xt&&(bt+=We.x-tt.left+Zn-Xt)),we>tt.right&&(bt-=we-tt.right-$,We.x>tt.right-Xt&&(bt+=We.x-tt.right+Xt)));var sn=te===!0?0:te;typeof sn=="number"&&(_e<tt.top&&(wt-=_e-tt.top-he,We.y+An<tt.top+sn&&(wt+=We.y-tt.top+An-sn)),oe>tt.bottom&&(wt-=oe-tt.bottom-he,We.y>tt.bottom-sn&&(wt+=We.y-tt.bottom+sn)));var _n=Wt.x+bt,Tn=_n+Cn,tn=Wt.y+wt,un=tn+gn,Vt=We.x,mt=Vt+Zn,Ut=We.y,Bt=Ut+An,yn=Math.max(_n,Vt),cn=Math.min(Tn,mt),bn=(yn+cn)/2,zn=bn-_n,Xn=Math.max(tn,Ut),$n=Math.min(un,Bt),tr=(Xn+$n)/2,rr=tr-tn;m==null||m(j,Dt);var Gn=me.right-Wt.x-(bt+Wt.width),an=me.bottom-Wt.y-(wt+Wt.height);Be===1&&(bt=Math.round(bt),Gn=Math.round(Gn)),lt===1&&(wt=Math.round(wt),an=Math.round(an));var Dn={ready:!0,offsetX:bt/Be,offsetY:wt/lt,offsetR:Gn/Be,offsetB:an/lt,arrowX:zn/Be,arrowY:rr/lt,scaleX:Be,scaleY:lt,align:Dt};U(Dn)}}),ye=function(){Z.current+=1;var Fe=Z.current;Promise.resolve().then(function(){Z.current===Fe&&be()})},Ke=function(){U(function(Fe){return(0,O.Z)((0,O.Z)({},Fe),{},{ready:!1})})};return(0,t.Z)(Ke,[ie]),(0,t.Z)(function(){E||Ke()},[E]),[N.ready,N.offsetX,N.offsetY,N.offsetR,N.offsetB,N.arrowX,N.arrowY,N.scaleX,N.scaleY,N.align,ye]}var Zt=u(80702);function xe(E,j,D,ie,fe){(0,t.Z)(function(){if(E&&j&&D){let Z=function(){ie(),fe()};var R=j,m=D,S=w(R),z=w(m),N=A(m),U=new Set([N].concat((0,Zt.Z)(S),(0,Zt.Z)(z)));return U.forEach(function(q){q.addEventListener("scroll",Z,{passive:!0})}),N.addEventListener("resize",Z,{passive:!0}),ie(),function(){U.forEach(function(q){q.removeEventListener("scroll",Z),N.removeEventListener("resize",Z)})}}},[E,j,D])}var Ye=u(48736);function Ot(E,j,D,ie,fe,R,m,S){var z=a.useRef(E);z.current=E;var N=a.useRef(!1);a.useEffect(function(){if(j&&ie&&(!fe||R)){var Z=function(){N.current=!1},q=function(ft){var je;z.current&&!m(((je=ft.composedPath)===null||je===void 0||(je=je.call(ft))===null||je===void 0?void 0:je[0])||ft.target)&&!N.current&&S(!1)},Q=A(ie);Q.addEventListener("pointerdown",Z,!0),Q.addEventListener("mousedown",q,!0),Q.addEventListener("contextmenu",q,!0);var ce=(0,e.A)(D);if(ce&&(ce.addEventListener("mousedown",q,!0),ce.addEventListener("contextmenu",q,!0)),0)var be,ye,Ke,Me;return function(){Q.removeEventListener("pointerdown",Z,!0),Q.removeEventListener("mousedown",q,!0),Q.removeEventListener("contextmenu",q,!0),ce&&(ce.removeEventListener("mousedown",q,!0),ce.removeEventListener("contextmenu",q,!0))}}},[j,D,ie,fe,R]);function U(){N.current=!0}return U}var Ae=["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 Oe(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:J.Z,j=a.forwardRef(function(D,ie){var fe=D.prefixCls,R=fe===void 0?"rc-trigger-popup":fe,m=D.children,S=D.action,z=S===void 0?"hover":S,N=D.showAction,U=D.hideAction,Z=D.popupVisible,q=D.defaultPopupVisible,Q=D.onPopupVisibleChange,ce=D.afterPopupVisibleChange,be=D.mouseEnterDelay,ye=D.mouseLeaveDelay,Ke=ye===void 0?.1:ye,Me=D.focusDelay,Fe=D.blurDelay,ft=D.mask,je=D.maskClosable,ze=je===void 0?!0:je,Nt=D.getPopupContainer,It=D.forceRender,it=D.autoDestroy,jt=D.destroyPopupOnHide,hn=D.popup,St=D.popupClassName,vt=D.popupStyle,Rt=D.popupPlacement,on=D.builtinPlacements,Qt=on===void 0?{}:on,qt=D.popupAlign,En=D.zIndex,fn=D.stretch,We=D.getPopupClassNameFromAlign,gt=D.fresh,Gt=D.alignPoint,mn=D.onPopupClick,Wt=D.onPopupAlign,kn=D.arrow,Vn=D.popupMotion,Sn=D.maskMotion,Yt=D.popupTransitionName,Nn=D.popupAnimation,xn=D.maskTransitionName,On=D.maskAnimation,gn=D.className,Cn=D.getTriggerDOMNode,An=(0,W.Z)(D,Ae),Zn=it||jt||!1,ne=a.useState(!1),X=(0,T.Z)(ne,2),$e=X[0],Te=X[1];(0,t.Z)(function(){Te((0,r.Z)())},[]);var Ge=a.useRef({}),Xe=a.useContext(Y),ot=a.useMemo(function(){return{registerSubPopup:function(Ht,Pn){Ge.current[Ht]=Pn,Xe==null||Xe.registerSubPopup(Ht,Pn)}}},[Xe]),tt=(0,c.Z)(),Pt=a.useState(null),Se=(0,T.Z)(Pt,2),me=Se[0],Be=Se[1],lt=a.useRef(null),et=(0,s.Z)(function(pt){lt.current=pt,(0,G.Sh)(pt)&&me!==pt&&Be(pt),Xe==null||Xe.registerSubPopup(tt,pt)}),At=a.useState(null),Je=(0,T.Z)(At,2),nt=Je[0],$=Je[1],he=a.useRef(null),Ce=(0,s.Z)(function(pt){(0,G.Sh)(pt)&&nt!==pt&&($(pt),he.current=pt)}),de=a.Children.only(m),Ne=(de==null?void 0:de.props)||{},ke={},Ie=(0,s.Z)(function(pt){var Ht,Pn,pn=nt;return(pn==null?void 0:pn.contains(pt))||((Ht=(0,e.A)(pn))===null||Ht===void 0?void 0:Ht.host)===pt||pt===pn||(me==null?void 0:me.contains(pt))||((Pn=(0,e.A)(me))===null||Pn===void 0?void 0:Pn.host)===pt||pt===me||Object.values(Ge.current).some(function(Mn){return(Mn==null?void 0:Mn.contains(pt))||pt===Mn})}),Ue=P(R,Vn,Nn,Yt),st=P(R,Sn,On,xn),ct=a.useState(q||!1),ht=(0,T.Z)(ct,2),ut=ht[0],kt=ht[1],Lt=Z!=null?Z:ut,Dt=(0,s.Z)(function(pt){Z===void 0&&kt(pt)});(0,t.Z)(function(){kt(Z||!1)},[Z]);var bt=a.useRef(Lt);bt.current=Lt;var wt=a.useRef([]);wt.current=[];var $t=(0,s.Z)(function(pt){var Ht;Dt(pt),((Ht=wt.current[wt.current.length-1])!==null&&Ht!==void 0?Ht:Lt)!==pt&&(wt.current.push(pt),Q==null||Q(pt))}),Qe=a.useRef(),He=function(){clearTimeout(Qe.current)},at=function(Ht){var Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;He(),Pn===0?$t(Ht):Qe.current=setTimeout(function(){$t(Ht)},Pn*1e3)};a.useEffect(function(){return He},[]);var en=a.useState(!1),ln=(0,T.Z)(en,2),vn=ln[0],Rn=ln[1];(0,t.Z)(function(pt){(!pt||Lt)&&Rn(!0)},[Lt]);var M=a.useState(null),re=(0,T.Z)(M,2),te=re[0],ae=re[1],_e=a.useState(null),oe=(0,T.Z)(_e,2),ve=oe[0],we=oe[1],Pe=function(Ht){we([Ht.clientX,Ht.clientY])},ee=rt(Lt,me,Gt&&ve!==null?ve:nt,Rt,Qt,qt,Wt),se=(0,T.Z)(ee,11),pe=se[0],De=se[1],Re=se[2],qe=se[3],Ct=se[4],yt=se[5],Kt=se[6],xt=se[7],Ft=se[8],nn=se[9],Et=se[10],rn=ge($e,z,N,U),Jt=(0,T.Z)(rn,2),Xt=Jt[0],sn=Jt[1],_n=Xt.has("click"),Tn=sn.has("click")||sn.has("contextMenu"),tn=(0,s.Z)(function(){vn||Et()}),un=function(){bt.current&&Gt&&Tn&&at(!1)};xe(Lt,nt,me,tn,un),(0,t.Z)(function(){tn()},[ve,Rt]),(0,t.Z)(function(){Lt&&!(Qt!=null&&Qt[Rt])&&tn()},[JSON.stringify(qt)]);var Vt=a.useMemo(function(){var pt=b(Qt,R,nn,Gt);return _()(pt,We==null?void 0:We(nn))},[nn,We,Qt,R,Gt]);a.useImperativeHandle(ie,function(){return{nativeElement:he.current,popupElement:lt.current,forceAlign:tn}});var mt=a.useState(0),Ut=(0,T.Z)(mt,2),Bt=Ut[0],yn=Ut[1],cn=a.useState(0),bn=(0,T.Z)(cn,2),zn=bn[0],Xn=bn[1],$n=function(){if(fn&&nt){var Ht=nt.getBoundingClientRect();yn(Ht.width),Xn(Ht.height)}},tr=function(){$n(),tn()},rr=function(Ht){Rn(!1),Et(),ce==null||ce(Ht)},Gn=function(){return new Promise(function(Ht){$n(),ae(function(){return Ht})})};(0,t.Z)(function(){te&&(Et(),te(),ae(null))},[te]);function an(pt,Ht,Pn,pn){ke[pt]=function(Mn){var lr;pn==null||pn(Mn),at(Ht,Pn);for(var jn=arguments.length,ur=new Array(jn>1?jn-1:0),hr=1;hr<jn;hr++)ur[hr-1]=arguments[hr];(lr=Ne[pt])===null||lr===void 0||lr.call.apply(lr,[Ne,Mn].concat(ur))}}(_n||Tn)&&(ke.onClick=function(pt){var Ht;bt.current&&Tn?at(!1):!bt.current&&_n&&(Pe(pt),at(!0));for(var Pn=arguments.length,pn=new Array(Pn>1?Pn-1:0),Mn=1;Mn<Pn;Mn++)pn[Mn-1]=arguments[Mn];(Ht=Ne.onClick)===null||Ht===void 0||Ht.call.apply(Ht,[Ne,pt].concat(pn))});var Dn=Ot(Lt,Tn,nt,me,ft,ze,Ie,at),Bn=Xt.has("hover"),Mt=sn.has("hover"),_t,dt;Bn&&(an("onMouseEnter",!0,be,function(pt){Pe(pt)}),an("onPointerEnter",!0,be,function(pt){Pe(pt)}),_t=function(Ht){(Lt||vn)&&me!==null&&me!==void 0&&me.contains(Ht.target)&&at(!0,be)},Gt&&(ke.onMouseMove=function(pt){var Ht;(Ht=Ne.onMouseMove)===null||Ht===void 0||Ht.call(Ne,pt)})),Mt&&(an("onMouseLeave",!1,Ke),an("onPointerLeave",!1,Ke),dt=function(){at(!1,Ke)}),Xt.has("focus")&&an("onFocus",!0,Me),sn.has("focus")&&an("onBlur",!1,Fe),Xt.has("contextMenu")&&(ke.onContextMenu=function(pt){var Ht;bt.current&&sn.has("contextMenu")?at(!1):(Pe(pt),at(!0)),pt.preventDefault();for(var Pn=arguments.length,pn=new Array(Pn>1?Pn-1:0),Mn=1;Mn<Pn;Mn++)pn[Mn-1]=arguments[Mn];(Ht=Ne.onContextMenu)===null||Ht===void 0||Ht.call.apply(Ht,[Ne,pt].concat(pn))}),gn&&(ke.className=_()(Ne.className,gn));var Tt=(0,O.Z)((0,O.Z)({},Ne),ke),wn={},Ln=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ln.forEach(function(pt){An[pt]&&(wn[pt]=function(){for(var Ht,Pn=arguments.length,pn=new Array(Pn),Mn=0;Mn<Pn;Mn++)pn[Mn]=arguments[Mn];(Ht=Tt[pt])===null||Ht===void 0||Ht.call.apply(Ht,[Tt].concat(pn)),An[pt].apply(An,pn)})});var ar=a.cloneElement(de,(0,O.Z)((0,O.Z)({},Tt),wn)),Jn={x:yt,y:Kt},ir=kn?(0,O.Z)({},kn!==!0?kn:{}):null;return a.createElement(a.Fragment,null,a.createElement(H.Z,{disabled:!Lt,ref:Ce,onResize:tr},a.createElement(L,{getTriggerDOMNode:Cn},ar)),a.createElement(Y.Provider,{value:ot},a.createElement(k,{portal:E,ref:et,prefixCls:R,popup:hn,className:_()(St,Vt),style:vt,target:nt,onMouseEnter:_t,onMouseLeave:dt,onPointerEnter:_t,zIndex:En,open:Lt,keepDom:vn,fresh:gt,onClick:mn,onPointerDownCapture:Dn,mask:ft,motion:Ue,maskMotion:st,onVisibleChanged:rr,onPrepare:Gn,forceRender:It,autoDestroy:Zn,getPopupContainer:Nt,align:nn,arrow:ir,arrowPos:Jn,ready:pe,offsetX:De,offsetY:Re,offsetR:qe,offsetB:Ct,onAlign:tn,stretch:fn,targetWidth:Bt/xt,targetHeight:zn/Ft})))});return j}var le=Oe(J.Z)},63604:function(zt,Le,u){"use strict";var O=u(59301),T=u(93314),W=u(99571),J=Object.defineProperty,V=Object.defineProperties,_=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,v)=>o in a?J(a,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):a[o]=v,c=(a,o)=>{for(var v in o||(o={}))G.call(o,v)&&s(a,v,o[v]);if(H)for(var v of H(o))e.call(o,v)&&s(a,v,o[v]);return a},t=(a,o)=>V(a,_(o));const r=({img:a,buttonProps:o={},styles:v={},customText:x,ButtonText:C,ButtonClick:h,Buttonclass:p,ButtonTwo:f,imgStyles:l,loading:k=!1,className:I=""})=>O.createElement("section",{className:`tc animated fadeIn ${I}`,style:c({color:"#999",margin:"100px auto",visibility:k?"hidden":"visible"},v)},O.createElement("img",{src:a||T,style:t(c({},l),{pointerEvents:"none",userSelect:"none"})}),O.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),C&&O.createElement(W.ZP,c({className:p,onClick:h},o),C),f&&f);Le.Z=r},23416:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return p}});var O=u(59301),T={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},W=u(99571),J=u(70557),V=u(58531),_=u(25399),H=u(89299),G=u(68606),e=u(63604),s=u(13952),c=u(59669),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,x=(f,l,k)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:k}):f[l]=k,C=(f,l)=>{for(var k in l||(l={}))o.call(l,k)&&x(f,k,l[k]);if(a)for(var k of a(l))v.call(l,k)&&x(f,k,l[k]);return f},h=(f,l,k)=>new Promise((I,L)=>{var F=ge=>{try{B(k.next(ge))}catch(g){L(g)}},Y=ge=>{try{B(k.throw(ge))}catch(g){L(g)}},B=ge=>ge.done?I(ge.value):Promise.resolve(ge.value).then(F,Y);B((k=k.apply(f,l)).next())}),p=({editOffice:f="view",data:l,issaver:k,onSaver:I,theme:L,type:F,filename:Y,monacoEditor:B,className:ge,style:g,close:d,onClose:b,hasMask:P,disabledDownload:A,onImgDimensions:w,showNodata:n,recordInfo:i})=>{const[y,K]=(0,O.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ue,Ee]=(0,O.useState)(""),[Ze,Ve]=(0,O.useState)(),rt=window.ENV==="build"?"/react/build":"",Zt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Ye=10*(1024*1024),Ot=(0,O.useRef)();l!=null&&l.startsWith("/api")&&F!=="txt"&&(l=s.Z.API_SERVER+l);const Ae=D=>D.substring(D.lastIndexOf("/")+1).split(".").pop();Y&&B&&(B.filename=Y),(0,O.useEffect)(()=>{var D,ie;const fe=(ie=(D=document.cookie)==null?void 0:D.replace(/\s/g,""))==null?void 0:ie.split(";");fe==null||fe.map(R=>{let m=R.split("=");m[0]==="_educoder_session"&&Ee(m[1])})},[]),(0,O.useEffect)(()=>{F==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?Ve({url:l,fileType:Ae(l),model:l.indexOf("model=edit")?"edit":"view"}):le())},[F,l]);function Oe(D){return h(this,null,function*(){D.data.type==="pdfdata"&&(I(D.data.data),window.removeEventListener("message",Oe,!1)),console.log("mess---:",D.data)})}const le=()=>h(void 0,null,function*(){console.log("data:",l);let D=l;l.startsWith("http")||(D=location.origin+D);let ie=new URL(D).pathname.split("/").pop();const fe=yield(0,G.gJ)({attachment_id:ie});fe.url=Zt+fe.url,Ve(fe)}),E=()=>{if(l.startsWith("http")||l.startsWith("blob:")){j();return}(0,H.Sv)(Y||"educoder",l,Y)},j=()=>{i&&(0,c.fc)({id:i==null?void 0:i.id,watch_type:1,course_id:i==null?void 0:i.course_id}),(0,H.Nd)(Y||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:C({},g||{}),className:`${P&&T.bgBlack} ${F?T.wrp:"hide"}`},d&&t.createElement("div",{className:T.close,ref:Ot},!!w&&t.createElement(_.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ot.current},t.createElement("span",{onClick:()=>{b(),w()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!A&&t.createElement(_.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ot.current},t.createElement("span",{onClick:j},t.createElement("i",{className:"icon-quxiaozhiding"}))),k&&t.createElement(_.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ot.current},t.createElement("span",{className:"",onClick:()=>{const D=document.getElementById("pdfiframe");window.addEventListener("message",Oe,!1),setTimeout(()=>{D.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(_.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ot.current},t.createElement("span",{className:"",onClick:()=>{b()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${T[ge]} ${ge} ${T.monaco} ${F==="txt"?"show":"hide"}`},F==="txt"&&t.createElement(t.Fragment,null,t.createElement(V.ZP,C({},B)))),F==="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}),F==="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})),F==="office"&&Ze&&t.createElement("iframe",{src:`${rt}/office.html?key=${Ze.key}&url=${btoa(Ze.url)}&callbackUrl=${Zt+(Ze.callbackUrl||"")}&fileType=${Ze.fileType}&title=${Ze.title||""}&model=${f}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!A}`}),F==="html"&&t.createElement("iframe",{src:l+"&disposition=inline"}),F==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${rt}/js/pdfview/index.html?filename=${Y||"educoder.pdf"}&url=${encodeURIComponent(l)}&disabledDownload=${!!A}&model=${f}`}),F==="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}`}),(F==="other"||F==="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(W.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:E,disabled:A},"\u4E0B\u8F7D")}):t.createElement(W.ZP,{type:"primary",size:"middle",onClick:E,disabled:A},t.createElement(J.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},58531:function(zt,Le,u){"use strict";u.d(Le,{SV:function(){return m},ZP:function(){return R}});var O=u(59301),T=u(76374);const W={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"]},J={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"]},V={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},_={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},H={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 G=u(53184),e=u.n(G),s=Object.defineProperty,c=Object.defineProperties,t=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,v=(S,z,N)=>z in S?s(S,z,{enumerable:!0,configurable:!0,writable:!0,value:N}):S[z]=N,x=(S,z)=>{for(var N in z||(z={}))a.call(z,N)&&v(S,N,z[N]);if(r)for(var N of r(z))o.call(z,N)&&v(S,N,z[N]);return S},C=(S,z)=>c(S,t(z)),h=(S,z,N)=>new Promise((U,Z)=>{var q=be=>{try{ce(N.next(be))}catch(ye){Z(ye)}},Q=be=>{try{ce(N.throw(be))}catch(ye){Z(ye)}},ce=be=>be.done?U(be.value):Promise.resolve(be.value).then(q,Q);ce((N=N.apply(S,z)).next())});const p={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"]}},f=(S,z)=>z.map(N=>({label:N,kind:S.languages.CompletionItemKind.Keyword,insertText:N})),l=S=>Object.keys(p.tables).map(z=>({label:z,kind:S.languages.CompletionItemKind.Variable,insertText:z})),k=(S,z)=>{const N=p.tables[S];return N?N.map(U=>({label:U,kind:z.languages.CompletionItemKind.Field,insertText:U})):[]};function I(S,z,N,U,Z){let q=z.getWordUntilPosition(N),Q={startLineNumber:N.lineNumber,endLineNumber:N.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},ce=U.map(be=>({label:be,kind:S.languages.CompletionItemKind.Keyword,insertText:be,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Q}));return Z.map(be=>{ce.push(C(x({},be),{range:Q}))}),ce}var L=S=>{p.languages.map(Z=>(S.languages.registerDocumentFormattingEditProvider(Z,{provideDocumentFormattingEdits(q,Q,ce){return h(this,null,function*(){const be=e()(q.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:q.getFullModelRange(),text:be}]})}}),Z));const z=V.quickKey.map(Z=>({label:Z.label,kind:S.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet})),N=_.quickKey.map(Z=>({label:Z.label,kind:S.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet})),U=J.quickKey.map(Z=>({label:Z.label,kind:S.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet}));S.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Z,q){var Q=Z.getWordUntilPosition(q),ce={startLineNumber:q.lineNumber,endLineNumber:q.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(q.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...V.keywords.map(ye=>({label:ye,kind:S.languages.CompletionItemKind.Function,documentation:ye,insertText:ye,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...V.quickKey.map(ye=>({label:ye.label,kind:S.languages.CompletionItemKind.Function,documentation:ye.content,insertText:be.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Z,q){var Q=Z.getWordUntilPosition(q),ce={startLineNumber:q.lineNumber,endLineNumber:q.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn};return{suggestions:[...W.keywords.map(be=>({label:be,kind:S.languages.CompletionItemKind.Function,documentation:be,insertText:be,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Z,q){var Q=Z.getWordUntilPosition(q),ce={startLineNumber:q.lineNumber,endLineNumber:q.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(q.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...J.keywords.map(ye=>({label:ye,kind:S.languages.CompletionItemKind.Function,documentation:ye,insertText:ye,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...J.quickKey.map(ye=>({label:ye.label,kind:S.languages.CompletionItemKind.Function,documentation:ye.content,insertText:be.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Z,q){var Q=Z.getWordUntilPosition(q),ce={startLineNumber:q.lineNumber,endLineNumber:q.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(q.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...H.keywords.map(ye=>({label:ye,kind:S.languages.CompletionItemKind.Function,documentation:ye,insertText:ye,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...H.quickKey.map(ye=>({label:ye.label,kind:S.languages.CompletionItemKind.Function,documentation:ye.content,insertText:be.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Z,q){var Q=Z.getWordUntilPosition(q),ce={startLineNumber:q.lineNumber,endLineNumber:q.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(q.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[..._.keywords.map(ye=>({label:ye,kind:S.languages.CompletionItemKind.Function,documentation:ye,insertText:ye,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),..._.quickKey.map(ye=>({label:ye.label,kind:S.languages.CompletionItemKind.Function,documentation:ye.content,insertText:be.startsWith("#")?ye.content.replace(/#/,""):ye.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}})};const F="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Y=Object.defineProperty,B=(S,z,N)=>z in S?Y(S,z,{enumerable:!0,configurable:!0,writable:!0,value:N}):S[z]=N,ge=(S,z,N)=>B(S,typeof z!="symbol"?z+"":z,N);const g=class yi{constructor(z,N,U){this.placeholder=z,this.editor=N,this.monaco=U,N.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)}};ge(g,"ID","editor.widget.placeholderHint");var b=g,P=u(96236),A=u(6767),w=u(25399),n=u(89392),i=u(41312),y=u(56102),K=Object.defineProperty,ue=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Zt=(S,z,N)=>z in S?K(S,z,{enumerable:!0,configurable:!0,writable:!0,value:N}):S[z]=N,xe=(S,z)=>{for(var N in z||(z={}))Ve.call(z,N)&&Zt(S,N,z[N]);if(Ze)for(var N of Ze(z))rt.call(z,N)&&Zt(S,N,z[N]);return S},Ye=(S,z)=>ue(S,Ee(z)),Ot=(S,z)=>{var N={};for(var U in S)Ve.call(S,U)&&z.indexOf(U)<0&&(N[U]=S[U]);if(S!=null&&Ze)for(var U of Ze(S))z.indexOf(U)<0&&rt.call(S,U)&&(N[U]=S[U]);return N},Ae=(S,z,N)=>new Promise((U,Z)=>{var q=be=>{try{ce(N.next(be))}catch(ye){Z(ye)}},Q=be=>{try{ce(N.throw(be))}catch(ye){Z(ye)}},ce=be=>be.done?U(be.value):Promise.resolve(be.value).then(q,Q);ce((N=N.apply(S,z)).next())});function Oe(S){return/^\d+$/.test(S)?`${S}px`:S}function le(){}let E=!1;const j={"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 D(S=[]){let z=S;if(Array.isArray(S)){for(let N=0;N<S.length;N++){let U=j[S[N]];if(U)return U}return z[0]}return j[z]||z}let ie=null;const fe=()=>Ae(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(S){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",S)}});var R=S=>{var z=S,{width:N="100%",height:U="100%",value:Z,language:q="javascript",style:Q={},options:ce={},overrideServices:be={},theme:ye="vs-dark",onEditBlur:Ke,isCopy:Me=!1,onSave:Fe,autoHeight:ft=!1,forbidCopy:je=!1,onChange:ze=le,editorDidMount:Nt=le,onFocus:It=le,onBreakPoint:it=le,breakPointValue:jt=[],filename:hn="educoder.txt",errorLine:St,errorContent:vt="",highlightLine:Rt,openBreakPoint:on=!1,placeholder:Qt="",showMiniMap:qt=!0}=z,En=Ot(z,["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 fn=(0,O.useRef)(),We=(0,O.useRef)({}),gt=(0,O.useRef)(),Gt=(0,O.useRef)(),mn=(0,O.useRef)([]),Wt=(0,O.useRef)(!1),kn=(0,O.useRef)(),Vn=(0,O.useRef)(),Sn=(0,O.useRef)(!1),[Yt,Nn]=(0,O.useState)(!1);function xn(){let Se;return fn.current&&(Se=new T.Z(me=>{for(let Be of me)(Be.target.offsetHeight>0||Be.target.offsetWidth>0)&&We.current.instance.layout()}),Se.observe(fn.current)),Se}function On(){A.ZP.warning({content:decodeURIComponent(F),key:"monaco-editor-tip"})}const gn=()=>{let Se=We.current.instance;if(Z!=null&&Se&&Yt){const me=Se.getModel();me&&Z!==me.getValue()&&(E=!0,me.setValue(Z),Se.layout(),E=!1)}};(0,O.useEffect)(()=>{const Se=i.Z.subscribe("formatDocument",me=>{var Be;let lt=We.current.instance;(Be=lt==null?void 0:lt.getAction)==null||Be.call(lt,"editor.action.formatDocument").run()});return window.updateMonacoValue=me=>{ze(me)},Se},[]),(0,O.useEffect)(()=>{var Se;let me=We.current.instance;Gt.current&&clearTimeout(Gt.current),Gt.current=setTimeout(()=>{gn()},500),Z&&(Z!=null&&Z.length)&&((Se=me==null?void 0:me.updateOptions)==null||Se.call(me,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Z.split(/\r\n|\r|\n/g).length))+3,5)}))},[Z,Yt,We.current]),(0,O.useEffect)(()=>{if(St&&We.current&&We.current.instance){let me=We.current.instance;me.changeViewZones(function(Be){var lt=document.createElement("div");lt.style.padding="10px 20px",lt.style.width="calc(100% - 20px)",lt.className="my-error-line-wrp",lt.innerHTML=vt,Be.addZone({afterLineNumber:St||11,heightInLines:3,domNode:lt})});var Se={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}};me.addOverlayWidget(Se),me.revealPositionInCenter({lineNumber:20,column:1})}},[St,We.current,Yt]);const Cn=(Se="",me)=>{if(!Se||Se.trim()==="")return!0;const lt=We.current.instance.getModel().getLineTokens(me);let et=!1;for(let At=0;At<2;At++)lt.getStandardTokenType(At)===1&&(et=!0);return et};(0,O.useEffect)(()=>{var Se;const me=(Se=We.current)==null?void 0:Se.instance;if(me&&Yt&&je){const Be=me.onDidBlurEditorWidget(()=>{Sn.current=!1}),lt=me.onDidFocusEditorText(()=>{Sn.current=!0});return()=>{Be.dispose(),lt.dispose()}}},[We.current,Yt,je]),(0,O.useEffect)(()=>{var Se;if((Se=We.current)!=null&&Se.instance&&Yt&&on){let me=We.current.instance,Be=me.getModel();if(!Be)return;(()=>{var Ie;let Ue=[],st=[];const ct=Be.getAllDecorations();for(let ut of ct)ut.options.className==="highlighted-line"&&(Ue.push((Ie=ut==null?void 0:ut.range)==null?void 0:Ie.startLineNumber),st.push(ut==null?void 0:ut.id));if(Rt===Ue[0])return;Be.deltaDecorations(st,[]);const ht=Be.getLineCount();Rt&&Rt<=ht&&(me.deltaDecorations([],[{range:new ie.Range(Rt,1,Rt,Be.getLineMaxColumn(Rt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),me.revealLineInCenter(Rt))})();const et=(Ie=!1)=>{var Ue;let st=[],ct=[];const ht=Be.getAllDecorations();for(let ut of ht)ut.options.linesDecorationsClassName==="breakpoints-select"&&(st.push((Ue=ut==null?void 0:ut.range)==null?void 0:Ue.startLineNumber),ct.push(ut==null?void 0:ut.id));if(Ie)return{lines:st,ids:ct};it(st)},At=Ie=>Ae(void 0,null,function*(){let Ue={range:new ie.Range(Ie,1,Ie,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Be.deltaDecorations([],[Ue]),et()}),Je=Ie=>Ae(void 0,null,function*(){let Ue=[];const st=me.getLineDecorations(Ie);for(let ct of st)ct.options.linesDecorationsClassName==="breakpoints-select"&&Ue.push(ct.id);yield Be.deltaDecorations(Ue,[]),et()}),nt=Ie=>{let Ue=me.getLineDecorations(Ie);for(let st of Ue)if(st.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(jt,et(!0).lines)){Be.deltaDecorations(et(!0).ids,[]);const Ie=jt.map(Ue=>({range:new ie.Range(Ue,1,Ue,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Be.deltaDecorations([],Ie)}const $=me.onDidChangeModelContent(Ie=>{let Ue=me.getPosition();if(Ue){let st=Ue.lineNumber;clearTimeout(Vn.current),Vn.current=setTimeout(()=>{Cn(Be.getLineContent(st),st)?Je(st):nt(st)?(Je(st),At(st)):et()},100)}}),he=me.onMouseDown(Ie=>{var Ue,st,ct;if(Ie.target.detail&&((ct=(st=(Ue=Ie.target)==null?void 0:Ue.element)==null?void 0:st.className)!=null&&ct.includes("line-numbers"))){let ht=Ie.target.position.lineNumber;if(Cn(Be.getLineContent(ht),ht))return;nt(ht)?Je(ht):At(ht)}}),Ce=Ie=>{let Ue={range:new ie.Range(Ie,1,Ie,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mn.current=me.deltaDecorations(mn.current,[Ue])},de=()=>{mn.current=me.deltaDecorations(mn.current,[])},Ne=me.onMouseMove(Ie=>{var Ue,st,ct;if(de(),Ie.target.detail&&((ct=(st=(Ue=Ie.target)==null?void 0:Ue.element)==null?void 0:st.className)!=null&&ct.includes("line-numbers"))){let ht=Ie.target.position.lineNumber;if(Cn(Be.getLineContent(ht),ht))return;Ce(ht)}}),ke=me.onMouseLeave(()=>{de()});return()=>{$.dispose(),he.dispose(),Ne.dispose(),ke.dispose()}}},[We.current,Yt,jt,Rt,on,q]),(0,O.useEffect)(()=>{var Se;(Se=We.current)!=null&&Se.instance&&on&&We.current.instance.setPosition({lineNumber:0,column:0})},[Rt]);function An(){let Se=We.current.instance;if(Se){const me=Se.getSelection(),Be=We.current.pastePos||{},lt=new ie.Range(Be.startLineNumber||me.endLineNumber,Be.startColumn||me.endColumn,Be.endLineNumber||me.endLineNumber,Be.endColumn||me.endColumn);setTimeout(()=>{Se.executeEdits("",[{range:lt,text:""}])},300)}}function Zn(Se){(window.navigator.platform.match("Mac")?Se.metaKey:Se.ctrlKey)&&Se.keyCode==83&&(Se.preventDefault(),Fe())}const ne=()=>{if(ft&&We.current.instance){const Se=We.current.instance.getContentHeight();tt(Se<U?U:Se)}else tt(U)};function X(Se){var me=document.createEvent("MouseEvents");me.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Se.dispatchEvent(me)}const $e=Se=>{if(!Sn.current)return;const{keyCode:me,ctrlKey:Be,metaKey:lt,target:et,type:At}=Se;return(At==="paste"||(me===67||me===86)&&(lt||Be))&&et.nodeName==="TEXTAREA"&&(On(),Se.preventDefault()),!1};function Te(Se,me){var Be=window.URL||window.webkitURL||window,lt=new Blob([me]),et=document.createElementNS("http://www.w3.org/1999/xhtml","a");et.href=Be.createObjectURL(lt),et.download=Se,X(et)}(0,O.useEffect)(()=>{ne()},[ne]),(0,O.useEffect)(()=>{fn.current&&!Yt&&Promise.all([u.e(8909),u.e(503)]).then(u.bind(u,71448)).then(Se=>{try{ie=Se,We.current.instance=ie.editor.create(fn.current,{value:Z,language:D(q),theme:ye,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:qt||!1}},be);const me=We.current.instance;let et=[...P.BH._menuItems].find($=>$[0]._debugName=="EditorContext")[1],At=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Je=($,he)=>{var Ce,de;let Ne=$._first;do he.includes((de=(Ce=Ne.element)==null?void 0:Ce.command)==null?void 0:de.id)&&$._remove(Ne);while(Ne=Ne.next)};if(Nt(me,ie),setTimeout(()=>{ne(),We.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Te(hn||"educoder.txt",me.getValue())}})},500),We.current.subscription=me.onDidChangeModelContent($=>{Wt.current?clearTimeout(kn.current):(ne(),ze(me.getValue(),$)),kn.current=setTimeout(()=>{Wt.current=!1},500)}),window.Monaco||L(ie,D(q)),je&&(Je(et,At),fn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$e),window.removeEventListener("paste",$e),window.addEventListener("keydown",$e),window.addEventListener("paste",$e)),window.Monaco=ie,Ke&&me.onDidBlurEditorWidget(()=>{Ke(me.getValue())}),It&&me.onDidFocusEditorText(()=>{je&&fe(),It(me.getValue())}),je){fe();try{me.onDidPaste($=>{const he=me.getSelection(),Ce=We.current.pastePos||{},de=new ie.Range(Ce.startLineNumber||he.endLineNumber,Ce.startColumn||he.endColumn,Ce.endLineNumber||he.endLineNumber,Ce.endColumn||he.endColumn);me.executeEdits("",[{range:$.range,text:""}])})}catch($){}}let nt=xn();return Qt&&typeof Qt=="string"&&new b(Qt,me,ie),Nn(!0),()=>{const $=We.current.instance;$.dispose();const he=$.getModel();he&&he.dispose(),We.current.subscription&&We.current.subscription.dispose(),nt.unobserve(fn.current)}}catch(me){}})},[]),(0,O.useEffect)(()=>{if(We.current.instance&&Yt)return document.addEventListener("keydown",Zn,!1),()=>{document.removeEventListener("keydown",Zn)}},[Fe,Yt]),(0,O.useEffect)(()=>{let Se=We.current.instance;if(Se&&Yt){let me=D(q);ie.editor.setModelLanguage(Se.getModel(),me)}},[q,Yt]),(0,O.useEffect)(()=>{We.current.instance&&Yt&&ie.editor.setTheme(ye)},[ye,Yt]),(0,O.useEffect)(()=>{let Se=We.current.instance;gt.current=ce,Se&&Yt&&(Se.updateOptions(xe({},ce)),setTimeout(()=>{Se.getModel().updateOptions(xe({},ce))},200))},[JSON.stringify(ce),Yt]),(0,O.useEffect)(()=>{let Se=We.current.instance;Se&&Yt&&Se.layout()},[N,U,Yt]);const[Ge,Xe]=(0,O.useState)(Oe(N)),[ot,tt]=(0,O.useState)(Oe(U)),Pt=Ye(xe({},Q),{width:Ge,height:ot,position:"relative"});return O.createElement("div",{className:"my-monaco-editor",ref:fn,style:Pt},Me&&O.createElement(y.CopyToClipboard,{text:Z,onCopy:()=>A.ZP.success("\u590D\u5236\u6210\u529F")},O.createElement(w.Z,{title:"\u590D\u5236\u4EE3\u7801"},O.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},O.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function m({width:S="100%",height:z="100%",original:N,modified:U,language:Z,options:q={}}){const Q=(0,O.useRef)(),[ce,be]=(0,O.useState)(null);function ye(ft){let je;return Q.current&&(je=new T.Z(ze=>{for(let Nt of ze)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&ft.layout()}),je.observe(Q.current)),je}(0,O.useEffect)(()=>(Q.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(ft=>{ie=ft;const je=ie.editor.createDiffEditor(Q.current,Ye(xe({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}));be(je);let ze=ye(je);return()=>{je.dispose();const Nt=je.getModel();Nt&&Nt.dispose(),ze.unobserve(Q.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,O.useEffect)(()=>{ce&&ce.setModel({original:ie.editor.createModel(N,Z),modified:ie.editor.createModel(U,Z)})},[N,U,Z,ce]);const Ke=Oe(S),Me=Oe(z),Fe={width:Ke,height:Me};return O.createElement("div",{className:"my-diff-editor",ref:Q,style:Fe})}},70019:function(zt,Le,u){"use strict";u.r(Le),u.d(Le,{default:function(){return Y}});var O=u(59301),T={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"},W=u(44993),J=u(6767),V=u(25399),_=u(62957),H=u(82326),G=u(99571),e=u(54172),s=u(87169),c=u(66654),t=u(52430),r=u(29804),a=u(8234),o=u(23416),v=Object.defineProperty,x=Object.defineProperties,C=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(B,ge,g)=>ge in B?v(B,ge,{enumerable:!0,configurable:!0,writable:!0,value:g}):B[ge]=g,k=(B,ge)=>{for(var g in ge||(ge={}))p.call(ge,g)&&l(B,g,ge[g]);if(h)for(var g of h(ge))f.call(ge,g)&&l(B,g,ge[g]);return B},I=(B,ge)=>x(B,C(ge)),L=(B,ge,g)=>new Promise((d,b)=>{var P=n=>{try{w(g.next(n))}catch(i){b(i)}},A=n=>{try{w(g.throw(n))}catch(i){b(i)}},w=n=>n.done?d(n.value):Promise.resolve(n.value).then(P,A);w((g=g.apply(B,ge)).next())});const F=({user:B})=>{var ge;const g={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[d,b]=(0,O.useState)(g);const[P,A]=(0,O.useState)(!0),[w,n]=(0,O.useState)([]),[i,y]=(0,O.useState)([]),[K,ue]=(0,O.useState)([]),[Ee,Ze]=(0,O.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),Ve=Ae=>L(void 0,null,function*(){var Oe;A(!0),Ae.school_id=(Oe=B==null?void 0:B.userInfo)==null?void 0:Oe.school_id;let le=yield(0,t.ZP)(`/api/ec_major_schools/${(Ae==null?void 0:Ae.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:I(k({},Ae),{year:(Ae==null?void 0:Ae.ec_year_id)===0?null:Ae==null?void 0:Ae.ec_year_id,ec_year_id:((Ae==null?void 0:Ae.ec_year_id)===0,null)})});le&&(n(le==null?void 0:le.ec_years),A(!1),d.total=le==null?void 0:le.count,b(k({},d)))});(0,O.useEffect)(()=>{var Ae;(Ae=B.userInfo)!=null&&Ae.school_id&&(rt(),Zt(),Ve(d))},[(ge=B==null?void 0:B.userInfo)==null?void 0:ge.school_id]);function rt(){return L(this,null,function*(){var Ae;let Oe=yield(0,t.ZP)(`/api/schools/${(Ae=B==null?void 0:B.userInfo)==null?void 0:Ae.school_id}/ec_majors/get_major_list.json`,{method:"get"});y(Oe==null?void 0:Oe.data)})}function Zt(){return L(this,null,function*(){let Ae=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});ue(Ae==null?void 0:Ae.year_arr)})}const xe=(Ae,Oe)=>{d.page=1,d[Oe]=typeof Ae=="number"?Ae:null,b(k({},d)),Ve(d)},Ye=(Ae,Oe,le)=>{d.page=Ae==null?void 0:Ae.current,d.per_page=Ae==null?void 0:Ae.pageSize,le!=null&&le.order?(d.sort_by=le==null?void 0:le.field,d.sort_direction=(le==null?void 0:le.order)==="ascend"?"asc":"desc"):(d.sort_by=null,d.sort_direction=null),b(k({},d)),Ve(d)},Ot=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Ae,Oe,le)=>d.per_page*(d.page-1)+le+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Ae,Oe,le)=>O.createElement(W.Link,{to:`/engineering/training/program/edit?ec_year_id=${Oe==null?void 0:Oe.id}`},Ae)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Ae,Oe,le)=>O.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Oe==null?void 0:Oe.type))Ee.editOffice="edit",Ze(I(k({},Ee),{type:Oe.file_type,data:`/api/attachments/${Oe.attachment_id}`}));else{J.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},Ae||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Ae,Oe,le)=>Ae+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Ae,Oe,le)=>Ae||O.createElement("a",{href:`/engineering/training/objectives?ids=${Oe==null?void 0:Oe.ec_major_school_id},${Oe==null?void 0:Oe.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(Ae,Oe,le)=>Ae||O.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Oe==null?void 0:Oe.ec_major_school_id}&ec_year_id=${Oe==null?void 0:Oe.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(Ae,Oe,le)=>Ae+"/"+(Oe==null?void 0:Oe.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Ae,Oe,le)=>Ae||O.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Oe==null?void 0:Oe.ec_major_school_id}&ec_year_id=${Oe==null?void 0:Oe.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(Ae,Oe,le)=>O.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Ae} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Oe==null?void 0:Oe.course_count}`},O.createElement("span",{style:{color:Oe!=null&&Oe.course_count?parseInt(Ae)===parseInt(Oe==null?void 0:Oe.course_count)?"#07C160":"#E30000":""}},Oe!=null&&Oe.course_count?Ae+"/"+(Oe==null?void 0:Oe.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Ae,Oe,le)=>O.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Ae} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Oe==null?void 0:Oe.graduation_requirement_count}`},O.createElement("span",{style:{color:Oe!=null&&Oe.graduation_requirement_count?parseInt(Ae)===parseInt(Oe==null?void 0:Oe.graduation_requirement_count)?"#07C160":"#E30000":""}},Oe!=null&&Oe.graduation_requirement_count?Ae+"/"+(Oe==null?void 0:Oe.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Ae,Oe,le)=>O.createElement("span",{style:{color:Ae==="achieved"?"#E30000":"#07C160"}},Ae==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Ae,Oe,le)=>O.createElement("div",{style:{display:"flex"}},O.createElement("i",{onClick:()=>L(void 0,null,function*(){W.history.push(`/engineering/training/program/edit?ec_year_id=${Oe==null?void 0:Oe.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),O.createElement("i",{onClick:()=>{_.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:O.createElement(s.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>L(void 0,null,function*(){var E;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${Ae}`,{method:"delete"}))&&(a.U.clear((E=B==null?void 0:B.userInfo)==null?void 0:E.login),J.ZP.info("\u5220\u9664\u6210\u529F"),Ve(d))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),O.createElement("i",{onClick:()=>L(void 0,null,function*(){var E;(0,c.xm)({ec_year_id:Ae,school_id:(E=B==null?void 0:B.userInfo)==null?void 0:E.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return O.createElement("div",{className:T.wrap},O.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),O.createElement("div",{style:{clear:"both"}}),O.createElement("div",{className:T.control},O.createElement("div",{className:T.label},"\u8BA4\u8BC1\u4E13\u4E1A"),O.createElement(H.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:Ae=>xe(Ae,"ec_major_school_id")},O.createElement(H.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((Ae,Oe)=>O.createElement(H.default.Option,{value:Ae==null?void 0:Ae.ec_major_school_id},Ae==null?void 0:Ae.name))),O.createElement("div",{className:T.label},"\u8BA4\u8BC1\u5C4A\u522B"),O.createElement(H.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:Ae=>xe(Ae,"ec_year_id")},O.createElement(H.default.Option,{value:0},"\u5168\u90E8"),K==null?void 0:K.map((Ae,Oe)=>O.createElement(H.default.Option,{value:Ae},Ae,"\u5C4A"))),O.createElement("div",{style:{flex:1,textAlign:"end"}},O.createElement(G.ZP,{onClick:()=>{W.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},O.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),O.createElement(e.default,{className:T.customTable,dataSource:w,bordered:!1,rowKey:Ae=>Ae.id,columns:Ot,rowClassName:T.row,loading:P,onChange:Ye,pagination:{pageSize:d.per_page,total:d.total,current:d.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:Ae=>O.createElement("span",{className:"mr10"},"\u5171",O.createElement("span",{className:"c-orange"},Ae),"\u6761\u6570\u636E")}}),O.createElement(o.Z,I(k({},Ee),{onClose:()=>{Ze(I(k({},Ee),{type:""}))}})))};var Y=(0,W.connect)(({user:B})=>({user:B}))(F)},29804:function(zt,Le,u){"use strict";u.d(Le,{p:function(){return J},v:function(){return H}});var O=u(59301),T={panelTitleContainer:"panelTitleContainer___Ypuh_"},J=({title:G,style:e={}})=>O.createElement("div",{className:T.panelTitleContainer,style:e},O.createElement("div",null,G)),V={selectWrapContainer:"selectWrapContainer___qocIH"},H=({title:G,children:e})=>O.createElement("div",{className:V.selectWrapContainer},O.createElement("span",null,G),e)},66654:function(zt,Le,u){"use strict";u.d(Le,{AD:function(){return b},D9:function(){return K},Hp:function(){return k},IM:function(){return Ee},Iy:function(){return L},KM:function(){return le},MJ:function(){return I},Ne:function(){return ue},ON:function(){return xe},Uj:function(){return Ae},VY:function(){return rt},YO:function(){return Ot},YX:function(){return Ye},Zn:function(){return o},_g:function(){return p},_k:function(){return i},c6:function(){return g},cr:function(){return v},eV:function(){return d},fi:function(){return x},gh:function(){return B},hS:function(){return Ze},iA:function(){return C},j6:function(){return f},je:function(){return w},jj:function(){return l},kS:function(){return Zt},lS:function(){return n},o6:function(){return ge},pO:function(){return Oe},rQ:function(){return P},sA:function(){return Y},xm:function(){return y},xo:function(){return Ve},y8:function(){return A},yd:function(){return h}});var O=u(54877),T=u(44993),W=u(89299),J=u(6767),V=u(13952),_=Object.defineProperty,H=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(E,j,D)=>j in E?_(E,j,{enumerable:!0,configurable:!0,writable:!0,value:D}):E[j]=D,c=(E,j)=>{for(var D in j||(j={}))G.call(j,D)&&s(E,D,j[D]);if(H)for(var D of H(j))e.call(j,D)&&s(E,D,j[D]);return E},t=(E,j,D)=>new Promise((ie,fe)=>{var R=z=>{try{S(D.next(z))}catch(N){fe(N)}},m=z=>{try{S(D.throw(z))}catch(N){fe(N)}},S=z=>z.done?ie(z.value):Promise.resolve(z.value).then(R,m);S((D=D.apply(E,j)).next())});const r=()=>{(0,T.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},a=()=>{(0,T.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=E=>t(void 0,null,function*(){r(),(yield(0,O.YR)(c({},E))).status===0&&(yield(0,W.QH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/export_couser_info.json`,query:E}))),a()}),v=E=>t(void 0,null,function*(){const j=yield(0,O.yS)(c({},E));if(j.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_member_act_score`);else{if(j.status===-2)return j;j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_member_act_score`))}}),x=E=>t(void 0,null,function*(){const j=yield(0,O.W0)(c({},E));if(j.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_score`);else{if(j.status===-4)return j;j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_score`))}}),C=E=>t(void 0,null,function*(){const j=yield(0,O.Nl)(c({},E));if(j.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`);else{if(j.status===-4)return j;j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`))}}),h=E=>t(void 0,null,function*(){const j=yield(0,O.IU)(c({},E));if(j.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/export_star_user`);else{if(j.status===-4)return j;j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/export_star_user`))}}),p=E=>t(void 0,null,function*(){const j=yield(0,O.td)(c({},E));if(j.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`);else{if(j.status===-2)return j;if(j.status===-3)(0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_exercise_and_other`);else if(j.status===-4)return j}}),f=E=>t(void 0,null,function*(){const j=yield(0,O.QX)(c({},E));if(j.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_homework`);else{if(j.status===-4)return j;j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/course_total_homework`))}}),l=(E,j)=>t(void 0,null,function*(){const D=yield(0,O.o_)(c({},E));D.status===0?(J.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"),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`)):D.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`))}),k=(E,j)=>t(void 0,null,function*(){const D=yield(0,O.ZL)(c({},E));D.status===0?(J.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"),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`)):D.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`))}),I=(E,j)=>t(void 0,null,function*(){const D=yield(0,O.vV)(c({},E));D.status===0?(J.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"),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`)):D.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`))}),L=(E,j)=>t(void 0,null,function*(){const D=yield(0,O.aP)(c({},E));D.status===0?(J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`)):D.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/${j}`))}),F=E=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(c({},E))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${E.categoryId}/works_list.zip`,query:E}))),a()}),Y=E=>t(void 0,null,function*(){r(),yield(0,W.QH)("",V.Z.API_SERVER+`/api/polls/${E.categoryId}/commit_result.xlsx`),a()}),B=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/attendances/export_xlsx_data.xlsx`,query:E}))}),ge=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/video_study_statics.xlsx`,query:E}))}),g=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/export_video_study.xlsx`,query:E}))}),d=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${E.coursesId}/export_course_students_info.xlsx`,query:E}))}),b=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/school_manages/students.xlsx",query:E}))}),P=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/item_banks/export.xlsx",query:E}))}),A=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:E}))}),w=E=>t(void 0,null,function*(){const j=yield(0,O.Uy)(c({},E));j.status===0?(J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_users`)):j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=E=>t(void 0,null,function*(){const j=yield(0,O.tg)(c({},E));j.status===0?(J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),T.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_report`)):j.status===-3&&((0,T.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),T.history.push(`/classrooms/${E.coursesId}/exportlist/exercise_score,export_exercise_report`))}),i=E=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/export_records/${E.id}.xlsx`,query:E}))}),y=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:E}))}),K=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${E==null?void 0:E.coursesId}/${E.menuKey}_statistic.xlsx?${E.checkedList.map(j=>`course_group_id[]=${j}`).join("&")}`,query:E}))}),ue=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/ec_years/${E==null?void 0:E.ec_year_id}/ec_training_objectives.xlsx`,query:E}))}),Ee=E=>t(void 0,null,function*(){yield(0,W.FH)(E==null?void 0:E.name,(0,W.NY)({url:V.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:E}))}),Ze=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/ec_years/${E==null?void 0:E.ec_year_id}/ec_courses.xlsx`,query:E}))}),Ve=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/ec_years/${E==null?void 0:E.ec_year_id}/ec_graduation_requirements.xlsx`,query:E}))}),rt=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:E}))}),Zt=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:E}))}),xe=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/examination_banks/${E.id}.json`,query:E}))}),Ye=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/exercises/${E.categoryId}.json`,query:E}))}),Ot=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/polls/${E==null?void 0:E.id}/commit_result.json`,query:E}))}),Ae=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/paths/get_task_pass.json",query:E}))}),Oe=(E,j)=>t(void 0,null,function*(){yield(0,W.FH)(j||"",(0,W.NY)({url:V.Z.API_SERVER+`/api/exercises/${E==null?void 0:E.exercise_id}/consult_exercise.json`,query:E}))}),le=E=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/competitions/${E==null?void 0:E.identifier}/competition_commit_records/member_works.xlsx`,query:E}))})},25769:function(zt,Le,u){"use strict";var O=u(98040),T={"text/plain":"Text","text/html":"Url",default:"Text"},W="Copy to clipboard: #{key}, Enter";function J(_){var H=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return _.replace(/#{\s*key\s*}/g,H)}function V(_,H){var G,e,s,c,t,r,a=!1;H||(H={}),G=H.debug||!1;try{s=O(),c=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=_,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(v){if(v.stopPropagation(),H.format)if(v.preventDefault(),typeof v.clipboardData=="undefined"){G&&console.warn("unable to use e.clipboardData"),G&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var x=T[H.format]||T.default;window.clipboardData.setData(x,_)}else v.clipboardData.clearData(),v.clipboardData.setData(H.format,_);H.onCopy&&(v.preventDefault(),H.onCopy(v.clipboardData))}),document.body.appendChild(r),c.selectNodeContents(r),t.addRange(c);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");a=!0}catch(v){G&&console.error("unable to copy using execCommand: ",v),G&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(H.format||"text",_),H.onCopy&&H.onCopy(window.clipboardData),a=!0}catch(x){G&&console.error("unable to copy using clipboardData: ",x),G&&console.error("falling back to prompt"),e=J("message"in H?H.message:W),window.prompt(e,_)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(c):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}zt.exports=V},53184:function(zt,Le,u){"use strict";var O,T;function W(J,V,_){var H=function(G,e){return J.js_beautify(G,e)};return H.js=J.js_beautify,H.css=V.css_beautify,H.html=_.html_beautify,H.js_beautify=J.js_beautify,H.css_beautify=V.css_beautify,H.html_beautify=_.html_beautify,H}O=[u(58553),u(87804),u(40998)],T=function(J,V,_){return W(J,V,_)}.apply(Le,O),T!==void 0&&(zt.exports=T)},87804:function(zt,Le){var u,O;(function(){var T;(function(){"use strict";var J=[,,function(G){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 c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var a=this.__lines.join(`
`);return t!==`
`&&(a=a.replace(/[\n]/g,t)),a},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;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},c.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()},c.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(" "))},c.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()},c.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},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var 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--}},G.exports.Output=c},,,,function(G){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=c(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 c(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}G.exports.Options=e,G.exports.normalizeOpts=c,G.exports.mergeOpts=s},,function(G){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},s.prototype.peek=function(c){var t=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(t=this.__input.charAt(c)),t},s.prototype.__match=function(c,t){c.lastIndex=t;var r=c.exec(this.__input);return r&&!(e&&c.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(c,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(c,t):!1},s.prototype.testChar=function(c,t){var r=this.peek(t);return c.lastIndex=0,r!==null&&c.test(r)},s.prototype.match=function(c){var t=this.__match(c,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(c,t,r){var a="",o;return c&&(o=this.match(c),o&&(a+=o[0])),t&&(o||!c)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(c,t){var r="",a=this.__position;c.lastIndex=this.__position;var o=c.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(c){return this.readUntil(c,!0)},s.prototype.get_regexp=function(c,t){var r=null,a="g";return t&&e&&(a="y"),typeof c=="string"&&c!==""?r=new RegExp(c,a):c&&(r=new RegExp(c.source,a)),r},s.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(c){var t=this.__position,r=this.readUntilAfter(c);return this.__position=t,r},s.prototype.lookBack=function(c){var t=this.__position-1;return t>=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},G.exports.InputScanner=s},,,,,function(G){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=e},,function(G,e,s){var c=s(16).Beautifier,t=s(17).Options;function r(a,o){var v=new c(a,o);return v.beautify()}G.exports=r,G.exports.defaultOptions=function(){return new t}},function(G,e,s){var c=s(17).Options,t=s(2).Output,r=s(8).InputScanner,a=s(13).Directives,o=new a(/\/\*/,/\*\//),v=/\r\n|[\r\n]/,x=/\r\n|[\r\n]/g,C=/\s/,h=/(?:\s|\n)+/g,p=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(k,I){this._source_text=k||"",this._options=new c(I),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(k){var I="";for(this._ch=this._input.next();this._ch;){if(I+=this._ch,this._ch==="\\")I+=this._input.next();else if(k.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return I},l.prototype.eatWhitespace=function(k){for(var I=C.test(this._input.peek()),L=0;C.test(this._input.peek());)this._ch=this._input.next(),k&&this._ch===`
`&&(L===0||L<this._options.max_preserve_newlines)&&(L++,this._output.add_new_line(!0));return I},l.prototype.foundNestedPseudoClass=function(){for(var k=0,I=1,L=this._input.peek(I);L;){if(L==="{")return!0;if(L==="(")k+=1;else if(L===")"){if(k===0)return!1;k-=1}else if(L===";"||L==="}")return!1;I++,L=this._input.peek(I)}return!1},l.prototype.print_string=function(k){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(k)},l.prototype.preserveSingleSpace=function(k){k&&(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 k=this._source_text,I=this._options.eol;I==="auto"&&(I=`
`,k&&v.test(k||"")&&(I=k.match(v)[0])),k=k.replace(x,`
`);var L=k.match(/^[\t ]*/)[0];this._output=new t(this._options,L),this._input=new r(k),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var F=0,Y=!1,B=!1,ge=!1,g=!1,d=!1,b=this._ch,P=!1,A,w,n;A=this._input.read(h),w=A!=="",n=b,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),b=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var i=this._input.read(p),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(w),this.print_string(this._ch);var K=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);K.match(/[ :]$/)&&(K=this.eatString(": ").replace(/\s+$/,""),this.print_string(K),this._output.space_before_token=!0),F===0&&K.indexOf(":")!==-1&&(B=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(w),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ue=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ue.match(/[ :]$/)&&(ue=this.eatString(": ").replace(/\s+$/,""),this.print_string(ue),this._output.space_before_token=!0),F===0&&ue.indexOf(":")!==-1?(B=!0,this.indent()):ue in this.NESTED_AT_RULE?(this._nestedLevel+=1,ue in this.CONDITIONAL_GROUP_RULE&&(ge=!0)):F===0&&!B&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(w),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")B&&(B=!1,this.outdent()),g=!1,ge?(ge=!1,Y=this._indentLevel>=this._nestedLevel):Y=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&Y&&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),B&&(this.outdent(),B=!1),this.print_string(this._ch),Y=!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 Ee=0;Ee<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ee++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ee])){P=!0;break}(Y||ge)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&F===0?(this.print_string(":"),B||(B=!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 Ze=n==='"'||n==="'";this.preserveSingleSpace(Ze||w),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")P=!1,F===0?(B&&(this.outdent(),B=!1),g=!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(),F++,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(")")),F&&(F--,this.outdent()));else{var Ve=!1;this._input.lookBack("with")&&(Ve=!0),this.preserveSingleSpace(w||Ve),this.print_string(this._ch),B&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),d=!0):(this.eatWhitespace(),F++,this.indent())}else if(this._ch===")")F&&(F--,this.outdent()),d&&this._input.peek()===";"&&this._options.selector_separator_newline&&(d=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!B||d)&&F===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!B&&F===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&&C.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(w),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),C.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 rt=n==='"'||n==="'";this.preserveSingleSpace(rt||w),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&P&&this._output.add_new_line()}var Zt=this._output.get_code(I);return Zt},G.exports.Beautifier=l},function(G,e,s){var c=s(6).Options;function t(r){c.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var 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 v=0;v<o.length;v++)o[v]!=="expand"?this.brace_style="collapse":this.brace_style=o[v]}t.prototype=new c,G.exports.Options=t}],V={};function _(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return J[G](s,s.exports,_),s.exports}var H=_(15);T=H})();var W=T;u=[],O=function(){return{css_beautify:W}}.apply(Le,u),O!==void 0&&(zt.exports=O)})()},40998:function(zt,Le,u){var O,T;(function(){var W;(function(){"use strict";var H=[,,function(c){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 v=this.__items.length-1;v>=0;v--)if(this.__items[v].match(o))return!0;return!1},t.prototype.set_indent=function(o,v){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=v||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 v=o.lastIndexOf(`
`);v!==-1?this.__character_count=o.length-v: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,v){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)),v=v||"",o.indent_level>0&&(v=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=v,this.__base_string_length=v.length}r.prototype.get_indent_size=function(o,v){var x=this.__base_string_length;return v=v||0,o<0&&(x=0),x+=o*this.__indent_size,x+=v,x},r.prototype.get_indent_string=function(o,v){var x=this.__base_string;return v=v||0,o<0&&(o=0,x=""),v+=o*this.__indent_size,this.__ensure_cache(v),x+=this.__cache[v],x},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,v=0,x="";this.__indent_size&&o>=this.__indent_size&&(v=Math.floor(o/this.__indent_size),o-=v*this.__indent_size,x=new Array(v+1).join(this.__indent_string)),o&&(x+=new Array(o+1).join(" ")),this.__cache.push(x)};function a(o,v){this.__indent_cache=new r(o,v),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,v){return this.__indent_cache.get_indent_string(o,v)},a.prototype.get_indent_size=function(o,v){return this.__indent_cache.get_indent_size(o,v)},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 v=this.current_line.pop();v&&(v[v.length-1]===`
`&&(v=v.replace(/\n+$/g,"")),this.current_line.push(v)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return o!==`
`&&(x=x.replace(/[\n]/g,o)),x},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(o,v){return o=o||0,v=v||0,this.next_line.set_indent(o,v),this.__lines.length>1?(this.current_line.set_indent(o,v),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(o){for(var v=0;v<o.newlines;v++)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 v=this.__lines.length;o<v;)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,v){for(var x=this.__lines.length-2;x>=0;){var C=this.__lines[x];if(C.is_empty())break;if(C.item(0).indexOf(o)!==0&&C.item(-1)!==v){this.__lines.splice(x+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},c.exports.Output=a},function(c){function t(r,a,o,v){this.type=r,this.text=a,this.comments_before=null,this.newlines=o||0,this.whitespace_before=v||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}c.exports.Token=t},,,function(c){function t(o,v){this.raw_options=r(o,v),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,v){var x=this.raw_options[o],C=v||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(C=x.concat()):typeof x=="string"&&(C=x.split(/[^a-zA-Z0-9_\/\-]+/)),C},t.prototype._get_boolean=function(o,v){var x=this.raw_options[o],C=x===void 0?!!v:!!x;return C},t.prototype._get_characters=function(o,v){var x=this.raw_options[o],C=v||"";return typeof x=="string"&&(C=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),C},t.prototype._get_number=function(o,v){var x=this.raw_options[o];v=parseInt(v,10),isNaN(v)&&(v=0);var C=parseInt(x,10);return isNaN(C)&&(C=v),C},t.prototype._get_selection=function(o,v,x){var C=this._get_selection_list(o,v,x);if(C.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+v+`
You passed in: '`+this.raw_options[o]+"'");return C[0]},t.prototype._get_selection_list=function(o,v,x){if(!v||v.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[v[0]],!this._is_valid_selection(x,v))throw new Error("Invalid Default Value!");var C=this._get_array(o,x);if(!this._is_valid_selection(C,v))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+v+`
You passed in: '`+this.raw_options[o]+"'");return C},t.prototype._is_valid_selection=function(o,v){return o.length&&v.length&&!o.some(function(x){return v.indexOf(x)===-1})};function r(o,v){var x={};o=a(o);var C;for(C in o)C!==v&&(x[C]=o[C]);if(v&&o[v])for(C in o[v])x[C]=o[v][C];return x}function a(o){var v={},x;for(x in o){var C=x.replace(/-/g,"_");v[C]=o[x]}return v}c.exports.Options=t,c.exports.normalizeOpts=a,c.exports.mergeOpts=r},,function(c){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 v=a.exec(this.__input);return v&&!(t&&a.sticky)&&v.index!==o&&(v=null),v},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 v=this.peek(o);return a.lastIndex=0,v!==null&&a.test(v)},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,v){var x="",C;return a&&(C=this.match(a),C&&(x+=C[0])),o&&(C||!a)&&(x+=this.readUntil(o,v)),x},r.prototype.readUntil=function(a,o){var v="",x=this.__position;a.lastIndex=this.__position;var C=a.exec(this.__input);return C?(x=C.index,o&&(x+=C[0].length)):x=this.__input_length,v=this.__input.substring(this.__position,x),this.__position=x,v},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var v=null,x="g";return o&&t&&(x="y"),typeof a=="string"&&a!==""?v=new RegExp(a,x):a&&(v=new RegExp(a.source,x)),v},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,v=this.readUntilAfter(a);return this.__position=o,v},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},c.exports.InputScanner=r},function(c,t,r){var a=r(8).InputScanner,o=r(3).Token,v=r(10).TokenStream,x=r(11).WhitespacePattern,C={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},h=function(p,f){this._input=new a(p),this._options=f||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new x(this._input)};h.prototype.tokenize=function(){this._input.restart(),this.__tokens=new v,this._reset();for(var p,f=new o(C.START,""),l=null,k=[],I=new v;f.type!==C.EOF;){for(p=this._get_next_token(f,l);this._is_comment(p);)I.add(p),p=this._get_next_token(f,l);I.isEmpty()||(p.comments_before=I,I=new v),p.parent=l,this._is_opening(p)?(k.push(l),l=p):l&&this._is_closing(p,l)&&(p.opened=l,l.closed=p,l=k.pop(),p.parent=l),p.previous=f,f.next=p,this.__tokens.add(p),f=p}return this.__tokens},h.prototype._is_first_token=function(){return this.__tokens.isEmpty()},h.prototype._reset=function(){},h.prototype._get_next_token=function(p,f){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(C.RAW,l):this._create_token(C.EOF,"")},h.prototype._is_comment=function(p){return!1},h.prototype._is_opening=function(p){return!1},h.prototype._is_closing=function(p,f){return!1},h.prototype._create_token=function(p,f){var l=new o(p,f,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},h.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},c.exports.Tokenizer=h,c.exports.TOKEN=C},function(c){function t(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position<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},c.exports.TokenStream=t},function(c,t,r){var a=r(12).Pattern;function o(v,x){a.call(this,v,x),x?this._line_regexp=this._input.get_regexp(x._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new a,o.prototype.__set_whitespace_patterns=function(v,x){v+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+v+x+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+x+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var v=this._input.read(this._match_pattern);if(v===" ")this.whitespace_before_token=" ";else if(v){var x=this.__split(this._newline_regexp,v);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return v},o.prototype.matching=function(v,x){var C=this._create();return C.__set_whitespace_patterns(v,x),C._update(),C},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(v,x){v.lastIndex=0;for(var C=0,h=[],p=v.exec(x);p;)h.push(x.substring(C,p.index)),C=p.index+p[0].length,p=v.exec(x);return C<x.length?h.push(x.substring(C,x.length)):h.push(""),h},c.exports.WhitespacePattern=o},function(c){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(){},c.exports.Pattern=t},function(c){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)},c.exports.Directives=t},function(c,t,r){var a=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function v(x,C){a.call(this,x,C),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),C&&(this.__template_pattern=this._input.get_regexp(C.__template_pattern),this._excluded=Object.assign(this._excluded,C._excluded),this._disabled=Object.assign(this._disabled,C._disabled));var h=new a(x);this.__patterns={handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:h.starting_with(/{{{/).until_after(/}}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),php:h.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:h.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:h.starting_with(/{%/).until_after(/%}/),django_value:h.starting_with(/{{/).until_after(/}}/),django_comment:h.starting_with(/{#/).until_after(/#}/),smarty:h.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:h.starting_with(/{\*/).until_after(/\*}/),smarty_literal:h.starting_with(/{literal}/).until_after(/{\/literal}/)}}v.prototype=new a,v.prototype._create=function(){return new v(this._input,this)},v.prototype._update=function(){this.__set_templated_pattern()},v.prototype.disable=function(x){var C=this._create();return C._disabled[x]=!0,C._update(),C},v.prototype.read_options=function(x){var C=this._create();for(var h in o)C._disabled[h]=x.templating.indexOf(h)===-1;return C._update(),C},v.prototype.exclude=function(x){var C=this._create();return C._excluded[x]=!0,C._update(),C},v.prototype.read=function(){var x="";this._match_pattern?x=this._input.read(this._starting_pattern):x=this._input.read(this._starting_pattern,this.__template_pattern);for(var C=this._read_template();C;)this._match_pattern?C+=this._input.read(this._match_pattern):C+=this._input.readUntil(this.__template_pattern),x+=C,C=this._read_template();return this._until_after&&(x+=this._input.readUntilAfter(this._until_pattern)),x},v.prototype.__set_templated_pattern=function(){var x=[];this._disabled.php||x.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||x.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(x.push(this.__patterns.django._starting_pattern.source),x.push(this.__patterns.django_value._starting_pattern.source),x.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||x.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&x.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+x.join("|")+")")},v.prototype._read_template=function(){var x="",C=this._input.peek();if(C==="<"){var h=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&h==="?"&&(x=x||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&h==="%"&&(x=x||this.__patterns.erb.read())}else C==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(x=x||this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars_unescaped.read(),x=x||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(x=x||this.__patterns.django_value.read()),this._excluded.django||(x=x||this.__patterns.django_comment.read(),x=x||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(x=x||this.__patterns.smarty_comment.read(),x=x||this.__patterns.smarty_literal.read(),x=x||this.__patterns.smarty.read()));return x},c.exports.TemplatablePattern=v},,,,function(c,t,r){var a=r(19).Beautifier,o=r(20).Options;function v(x,C,h,p){var f=new a(x,C,h,p);return f.beautify()}c.exports=v,c.exports.defaultOptions=function(){return new o}},function(c,t,r){var a=r(20).Options,o=r(2).Output,v=r(21).Tokenizer,x=r(21).TOKEN,C=/\r\n|[\r\n]/,h=/\r\n|[\r\n]/g,p=function(g,d){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=g.max_preserve_newlines,this.preserve_newlines=g.preserve_newlines,this._output=new o(g,d)};p.prototype.current_line_has_match=function(g){return this._output.current_line.has_match(g)},p.prototype.set_space_before_token=function(g,d){this._output.space_before_token=g,this._output.non_breaking_space=d},p.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},p.prototype.add_raw_token=function(g){this._output.add_raw_token(g)},p.prototype.print_preserved_newlines=function(g){var d=0;g.type!==x.TEXT&&g.previous.type!==x.TEXT&&(d=g.newlines?1:0),this.preserve_newlines&&(d=g.newlines<this.max_preserve_newlines+1?g.newlines:this.max_preserve_newlines+1);for(var b=0;b<d;b++)this.print_newline(b>0);return d!==0},p.prototype.traverse_whitespace=function(g){return g.whitespace_before||g.newlines?(this.print_preserved_newlines(g)||(this._output.space_before_token=!0),!0):!1},p.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},p.prototype.print_newline=function(g){this._output.add_new_line(g)},p.prototype.print_token=function(g){g.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(g.text))},p.prototype.indent=function(){this.indent_level++},p.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},p.prototype.get_full_indent=function(g){return g=this.indent_level+(g||0),g<1?"":this._output.get_indent_string(g)};var f=function(g){for(var d=null,b=g.next;b.type!==x.EOF&&g.closed!==b;){if(b.type===x.ATTRIBUTE&&b.text==="type"){b.next&&b.next.type===x.EQUALS&&b.next.next&&b.next.next.type===x.VALUE&&(d=b.next.next.text);break}b=b.next}return d},l=function(g,d){var b=null,P=null;return d.closed?(g==="script"?b="text/javascript":g==="style"&&(b="text/css"),b=f(d)||b,b.search("text/css")>-1?P="css":b.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?P="javascript":b.search(/(text|application|dojo)\/(x-)?(html)/)>-1?P="html":b.search(/test\/null/)>-1&&(P="null"),P):null};function k(g,d){return d.indexOf(g)!==-1}function I(g,d,b){this.parent=g||null,this.tag=d?d.tag_name:"",this.indent_level=b||0,this.parser_token=d||null}function L(g){this._printer=g,this._current_frame=null}L.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},L.prototype.record_tag=function(g){var d=new I(this._current_frame,g,this._printer.indent_level);this._current_frame=d},L.prototype._try_pop_frame=function(g){var d=null;return g&&(d=g.parser_token,this._printer.indent_level=g.indent_level,this._current_frame=g.parent),d},L.prototype._get_frame=function(g,d){for(var b=this._current_frame;b&&g.indexOf(b.tag)===-1;){if(d&&d.indexOf(b.tag)!==-1){b=null;break}b=b.parent}return b},L.prototype.try_pop=function(g,d){var b=this._get_frame([g],d);return this._try_pop_frame(b)},L.prototype.indent_to_tag=function(g){var d=this._get_frame(g);d&&(this._printer.indent_level=d.indent_level)};function F(g,d,b,P){this._source_text=g||"",d=d||{},this._js_beautify=b,this._css_beautify=P,this._tag_stack=null;var A=new a(d,"html");this._options=A,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"}F.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var g=this._source_text,d=this._options.eol;this._options.eol==="auto"&&(d=`
`,g&&C.test(g)&&(d=g.match(C)[0])),g=g.replace(h,`
`);var b=g.match(/^[\t ]*/)[0],P={text:"",type:""},A=new Y(this._options),w=new p(this._options,b),n=new v(g,this._options).tokenize();this._tag_stack=new L(w);for(var i=null,y=n.next();y.type!==x.EOF;)y.type===x.TAG_OPEN||y.type===x.COMMENT?(i=this._handle_tag_open(w,y,A,P,n),A=i):y.type===x.ATTRIBUTE||y.type===x.EQUALS||y.type===x.VALUE||y.type===x.TEXT&&!A.tag_complete?i=this._handle_inside_tag(w,y,A,P):y.type===x.TAG_CLOSE?i=this._handle_tag_close(w,y,A):y.type===x.TEXT?i=this._handle_text(w,y,A):y.type===x.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(w,y):y.type===x.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(w,y):w.add_raw_token(y),P=i,y=n.next();var K=w._output.get_code(d);return K},F.prototype._handle_control_flow_open=function(g,d){var b={text:d.text,type:d.type};return g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),d.newlines?g.print_preserved_newlines(d):g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),g.print_token(d),g.indent(),b},F.prototype._handle_control_flow_close=function(g,d){var b={text:d.text,type:d.type};return g.deindent(),d.newlines?g.print_preserved_newlines(d):g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),g.print_token(d),b},F.prototype._handle_tag_close=function(g,d,b){var P={text:d.text,type:d.type};return g.alignment_size=0,b.tag_complete=!0,g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.is_unformatted?g.add_raw_token(d):(b.tag_start_char==="<"&&(g.set_space_before_token(d.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&b.has_wrapped_attrs&&g.print_newline(!1)),g.print_token(d)),b.indent_content&&!(b.is_unformatted||b.is_content_unformatted)&&(g.indent(),b.indent_content=!1),!b.is_inline_element&&!(b.is_unformatted||b.is_content_unformatted)&&g.set_wrap_point(),P},F.prototype._handle_inside_tag=function(g,d,b,P){var A=b.has_wrapped_attrs,w={text:d.text,type:d.type};return g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.is_unformatted?g.add_raw_token(d):b.tag_start_char==="{"&&d.type===x.TEXT?g.print_preserved_newlines(d)?(d.newlines=0,g.add_raw_token(d)):g.print_token(d):(d.type===x.ATTRIBUTE?g.set_space_before_token(!0):(d.type===x.EQUALS||d.type===x.VALUE&&d.previous.type===x.EQUALS)&&g.set_space_before_token(!1),d.type===x.ATTRIBUTE&&b.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(g.traverse_whitespace(d),A=A||d.newlines!==0),this._is_wrap_attributes_force&&b.attr_count>=this._options.wrap_attributes_min_attrs&&(P.type!==x.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(g.print_newline(!1),A=!0)),g.print_token(d),A=A||g.previous_token_wrapped(),b.has_wrapped_attrs=A),w},F.prototype._handle_text=function(g,d,b){var P={text:d.text,type:"TK_CONTENT"};return b.custom_beautifier_name?this._print_custom_beatifier_text(g,d,b):b.is_unformatted||b.is_content_unformatted?g.add_raw_token(d):(g.traverse_whitespace(d),g.print_token(d)),P},F.prototype._print_custom_beatifier_text=function(g,d,b){var P=this;if(d.text!==""){var A=d.text,w,n=1,i="",y="";b.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?w=this._js_beautify:b.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?w=this._css_beautify:b.custom_beautifier_name==="html"&&(w=function(rt,Zt){var xe=new F(rt,Zt,P._js_beautify,P._css_beautify);return xe.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-g.indent_level);var K=g.get_full_indent(n);if(A=A.replace(/\n[ \t]*$/,""),b.custom_beautifier_name!=="html"&&A[0]==="<"&&A.match(/^(<!--|<!\[CDATA\[)/)){var ue=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(A);if(!ue){g.add_raw_token(d);return}i=K+ue[1]+`
`,A=ue[4],ue[5]&&(y=K+ue[5]),A=A.replace(/\n[ \t]*$/,""),(ue[2]||ue[3].indexOf(`
`)!==-1)&&(ue=ue[3].match(/[ \t]+$/),ue&&(d.whitespace_before=ue[0]))}if(A)if(w){var Ee=function(){this.eol=`
`};Ee.prototype=this._options.raw_options;var Ze=new Ee;A=w(K+A,Ze)}else{var Ve=d.whitespace_before;Ve&&(A=A.replace(new RegExp(`
(`+Ve+")?","g"),`
`)),A=K+A.replace(/\n/g,`
`+K)}i&&(A?A=i+A+`
`+y:A=i+y),g.print_newline(!1),A&&(d.text=A,d.whitespace_before="",d.newlines=0,g.add_raw_token(d),g.print_newline(!0))}},F.prototype._handle_tag_open=function(g,d,b,P,A){var w=this._get_tag_open_token(d);if((b.is_unformatted||b.is_content_unformatted)&&!b.is_empty_element&&d.type===x.TAG_OPEN&&!w.is_start_tag?(g.add_raw_token(d),w.start_tag_token=this._tag_stack.try_pop(w.tag_name)):(g.traverse_whitespace(d),this._set_tag_position(g,d,w,b,P),w.is_inline_element||g.set_wrap_point(),g.print_token(d)),w.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=A.peek(n),i.type===x.ATTRIBUTE&&(w.attr_count+=1),n+=1;while(i.type!==x.EOF&&i.type!==x.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(w.alignment_size=d.text.length+1),!w.tag_complete&&!w.is_unformatted&&(g.alignment_size=w.alignment_size),w};var Y=function(g,d,b){if(this.parent=d||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!b)this.tag_complete=!0;else{var P;this.tag_start_char=b.text[0],this.text=b.text,this.tag_start_char==="<"?(P=b.text.match(/^<([^\s>]*)/),this.tag_check=P?P[1]:""):(P=b.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=P?P[1]:"",(b.text.startsWith("{{#>")||b.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&b.next!==null?this.tag_check=b.next.text.split(" ")[0]:this.tag_check=b.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),b.type===x.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||b.closed&&b.closed.text==="/>";var A=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(A=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!g.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};F.prototype._get_tag_open_token=function(g){var d=new Y(this._options,this._tag_stack.get_parser_token(),g);return d.alignment_size=this._options.wrap_attributes_indent_size,d.is_end_tag=d.is_end_tag||k(d.tag_check,this._options.void_elements),d.is_empty_element=d.tag_complete||d.is_start_tag&&d.is_end_tag,d.is_unformatted=!d.tag_complete&&k(d.tag_check,this._options.unformatted),d.is_content_unformatted=!d.is_empty_element&&k(d.tag_check,this._options.content_unformatted),d.is_inline_element=k(d.tag_name,this._options.inline)||this._options.inline_custom_elements&&d.tag_name.includes("-")||d.tag_start_char==="{",d},F.prototype._set_tag_position=function(g,d,b,P,A){if(b.is_empty_element||(b.is_end_tag?b.start_tag_token=this._tag_stack.try_pop(b.tag_name):(this._do_optional_end_element(b)&&(b.is_inline_element||g.print_newline(!1)),this._tag_stack.record_tag(b),(b.tag_name==="script"||b.tag_name==="style")&&!(b.is_unformatted||b.is_content_unformatted)&&(b.custom_beautifier_name=l(b.tag_check,d)))),k(b.tag_check,this._options.extra_liners)&&(g.print_newline(!1),g._output.just_added_blankline()||g.print_newline(!0)),b.is_empty_element){if(b.tag_start_char==="{"&&b.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),b.indent_content=!0;var w=g.current_line_has_match(/{{#if/);w||g.print_newline(!1)}b.tag_name==="!--"&&A.type===x.TAG_CLOSE&&P.is_end_tag&&b.text.indexOf(`
`)===-1||(b.is_inline_element||b.is_unformatted||g.print_newline(!1),this._calcluate_parent_multiline(g,b))}else if(b.is_end_tag){var n=!1;n=b.start_tag_token&&b.start_tag_token.multiline_content,n=n||!b.is_inline_element&&!(P.is_inline_element||P.is_unformatted)&&!(A.type===x.TAG_CLOSE&&b.start_tag_token===P)&&A.type!=="TK_CONTENT",(b.is_content_unformatted||b.is_unformatted)&&(n=!1),n&&g.print_newline(!1)}else b.indent_content=!b.custom_beautifier_name,b.tag_start_char==="<"&&(b.tag_name==="html"?b.indent_content=this._options.indent_inner_html:b.tag_name==="head"?b.indent_content=this._options.indent_head_inner_html:b.tag_name==="body"&&(b.indent_content=this._options.indent_body_inner_html)),!(b.is_inline_element||b.is_unformatted)&&(A.type!=="TK_CONTENT"||b.is_content_unformatted)&&g.print_newline(!1),this._calcluate_parent_multiline(g,b)},F.prototype._calcluate_parent_multiline=function(g,d){d.parent&&g._output.just_added_newline()&&!((d.is_inline_element||d.is_unformatted)&&d.parent.is_inline_element)&&(d.parent.multiline_content=!0)};var B=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],ge=["a","audio","del","ins","map","noscript","video"];F.prototype._do_optional_end_element=function(g){var d=null;if(!(g.is_empty_element||!g.is_start_tag||!g.parent)){if(g.tag_name==="body")d=d||this._tag_stack.try_pop("head");else if(g.tag_name==="li")d=d||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(g.tag_name==="dd"||g.tag_name==="dt")d=d||this._tag_stack.try_pop("dt",["dl"]),d=d||this._tag_stack.try_pop("dd",["dl"]);else if(g.parent.tag_name==="p"&&B.indexOf(g.tag_name)!==-1){var b=g.parent.parent;(!b||ge.indexOf(b.tag_name)===-1)&&(d=d||this._tag_stack.try_pop("p"))}else g.tag_name==="rp"||g.tag_name==="rt"?(d=d||this._tag_stack.try_pop("rt",["ruby","rtc"]),d=d||this._tag_stack.try_pop("rp",["ruby","rtc"])):g.tag_name==="optgroup"?d=d||this._tag_stack.try_pop("optgroup",["select"]):g.tag_name==="option"?d=d||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):g.tag_name==="colgroup"?d=d||this._tag_stack.try_pop("caption",["table"]):g.tag_name==="thead"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"])):g.tag_name==="tbody"||g.tag_name==="tfoot"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"]),d=d||this._tag_stack.try_pop("thead",["table"]),d=d||this._tag_stack.try_pop("tbody",["table"])):g.tag_name==="tr"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"]),d=d||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(g.tag_name==="th"||g.tag_name==="td")&&(d=d||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),d=d||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return g.parent=this._tag_stack.get_parser_token(),d}},c.exports.Beautifier=F},function(c,t,r){var a=r(6).Options;function o(v){a.call(this,v,"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,c.exports.Options=o},function(c,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,v=r(13).Directives,x=r(14).TemplatablePattern,C=r(12).Pattern,h={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},p=new v(/<\!--/,/-->/),f=function(l,k){a.call(this,l,k),this._current_tag_name="";var I=new x(this._input).read_options(this._options),L=new C(this._input);if(this.__patterns={word:I.until(/[\n\r\t <]/),word_control_flow_close_excluded:I.until(/[\n\r\t <}]/),single_quote:I.until_after(/'/),double_quote:I.until_after(/"/),attribute:I.until(/[\n\r\t =>]|\/>/),element_name:I.until(/[\n\r\t >\/]/),angular_control_flow_start:L.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:L.starting_with(/{{!--/).until_after(/--}}/),handlebars:L.starting_with(/{{/).until_after(/}}/),handlebars_open:L.until(/[\n\r\t }]/),handlebars_raw_close:L.until(/}}/),comment:L.starting_with(/<!--/).until_after(/-->/),cdata:L.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:L.starting_with(/<!\[/).until_after(/]>/),processing:L.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 F=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=L.matching(F).until_after(F)}};f.prototype=new a,f.prototype._is_comment=function(l){return!1},f.prototype._is_opening=function(l){return l.type===h.TAG_OPEN||l.type===h.CONTROL_FLOW_OPEN},f.prototype._is_closing=function(l,k){return l.type===h.TAG_CLOSE&&k&&((l.text===">"||l.text==="/>")&&k.text[0]==="<"||l.text==="}}"&&k.text[0]==="{"&&k.text[1]==="{")||l.type===h.CONTROL_FLOW_CLOSE&&l.text==="}"&&k.text.endsWith("{")},f.prototype._reset=function(){this._current_tag_name=""},f.prototype._get_next_token=function(l,k){var I=null;this._readWhitespace();var L=this._input.peek();return L===null?this._create_token(h.EOF,""):(I=I||this._read_open_handlebars(L,k),I=I||this._read_attribute(L,l,k),I=I||this._read_close(L,k),I=I||this._read_script_and_style(L,l),I=I||this._read_control_flows(L,k),I=I||this._read_raw_content(L,l,k),I=I||this._read_content_word(L,k),I=I||this._read_comment_or_cdata(L),I=I||this._read_processing(L),I=I||this._read_open(L,k),I=I||this._create_token(h.UNKNOWN,this._input.next()),I)},f.prototype._read_comment_or_cdata=function(l){var k=null,I=null,L=null;if(l==="<"){var F=this._input.peek(1);F==="!"&&(I=this.__patterns.comment.read(),I?(L=p.get_directives(I),L&&L.ignore==="start"&&(I+=p.readIgnored(this._input))):I=this.__patterns.cdata.read()),I&&(k=this._create_token(h.COMMENT,I),k.directives=L)}return k},f.prototype._read_processing=function(l){var k=null,I=null,L=null;if(l==="<"){var F=this._input.peek(1);(F==="!"||F==="?")&&(I=this.__patterns.conditional_comment.read(),I=I||this.__patterns.processing.read()),I&&(k=this._create_token(h.COMMENT,I),k.directives=L)}return k},f.prototype._read_open=function(l,k){var I=null,L=null;return(!k||k.type===h.CONTROL_FLOW_OPEN)&&l==="<"&&(I=this._input.next(),this._input.peek()==="/"&&(I+=this._input.next()),I+=this.__patterns.element_name.read(),L=this._create_token(h.TAG_OPEN,I)),L},f.prototype._read_open_handlebars=function(l,k){var I=null,L=null;return(!k||k.type===h.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&l==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(I=this.__patterns.handlebars_comment.read(),I=I||this.__patterns.handlebars.read(),L=this._create_token(h.COMMENT,I)):(I=this.__patterns.handlebars_open.read(),L=this._create_token(h.TAG_OPEN,I))),L},f.prototype._read_control_flows=function(l,k){var I="",L=null;if(!this._options.templating.includes("angular"))return L;if(l==="@"){if(I=this.__patterns.angular_control_flow_start.read(),I==="")return L;for(var F=I.endsWith("(")?1:0,Y=0;!(I.endsWith("{")&&F===Y);){var B=this._input.next();if(B===null)break;B==="("?F++:B===")"&&Y++,I+=B}L=this._create_token(h.CONTROL_FLOW_OPEN,I)}else l==="}"&&k&&k.type===h.CONTROL_FLOW_OPEN&&(I=this._input.next(),L=this._create_token(h.CONTROL_FLOW_CLOSE,I));return L},f.prototype._read_close=function(l,k){var I=null,L=null;return k&&k.type===h.TAG_OPEN&&(k.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(I=this._input.next(),l==="/"&&(I+=this._input.next()),L=this._create_token(h.TAG_CLOSE,I)):k.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),L=this._create_token(h.TAG_CLOSE,"}}"))),L},f.prototype._read_attribute=function(l,k,I){var L=null,F="";if(I&&I.text[0]==="<")if(l==="=")L=this._create_token(h.EQUALS,this._input.next());else if(l==='"'||l==="'"){var Y=this._input.next();l==='"'?Y+=this.__patterns.double_quote.read():Y+=this.__patterns.single_quote.read(),L=this._create_token(h.VALUE,Y)}else F=this.__patterns.attribute.read(),F&&(k.type===h.EQUALS?L=this._create_token(h.VALUE,F):L=this._create_token(h.ATTRIBUTE,F));return L},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,k,I){var L="";if(I&&I.text[0]==="{")L=this.__patterns.handlebars_raw_close.read();else if(k.type===h.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var F=k.opened.text.substr(1).toLowerCase();this._is_content_unformatted(F)&&(L=this._input.readUntil(new RegExp("</"+F+"[\\n\\r\\t ]*?>","ig")))}return L?this._create_token(h.TEXT,L):null},f.prototype._read_script_and_style=function(l,k){if(k.type===h.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var I=k.opened.text.substr(1).toLowerCase();if(I==="script"||I==="style"){var L=this._read_comment_or_cdata(l);if(L)return L.type=h.TEXT,L;var F=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig"));if(F)return this._create_token(h.TEXT,F)}}return null},f.prototype._read_content_word=function(l,k){var I="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(I=this.__patterns.unformatted_content_delimiter.read()),I||(I=k&&k.type===h.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),I?this._create_token(h.TEXT,I):null},c.exports.Tokenizer=f,c.exports.TOKEN=h}],G={};function e(c){var t=G[c];if(t!==void 0)return t.exports;var r=G[c]={exports:{}};return H[c](r,r.exports,e),r.exports}var s=e(18);W=s})();var J=W;if(1)O=[u,u(58553),u(87804)],T=function(H){var G=u(58553),e=u(87804);return{html_beautify:function(s,c){return J(s,c,G.js_beautify,e.css_beautify)}}}.apply(Le,O),T!==void 0&&(zt.exports=T);else var V,_})()},58553:function(zt,Le){var u,O;(function(){var T;(function(){"use strict";var J=[function(G,e,s){var c=s(1).Beautifier,t=s(5).Options;function r(a,o){var v=new c(a,o);return v.beautify()}G.exports=r,G.exports.defaultOptions=function(){return new t}},function(G,e,s){var c=s(2).Output,t=s(3).Token,r=s(4),a=s(5).Options,o=s(7).Tokenizer,v=s(7).line_starters,x=s(7).positionable_operators,C=s(7).TOKEN;function h(i,y){return y.indexOf(i)!==-1}function p(i){return i.replace(/^\s+/g,"")}function f(i){for(var y={},K=0;K<i.length;K++)y[i[K].replace(/-/g,"_")]=i[K];return y}function l(i,y){return i&&i.type===C.RESERVED&&i.text===y}function k(i,y){return i&&i.type===C.RESERVED&&h(i.text,y)}var I=["case","return","do","if","throw","else","await","break","continue","async"],L=["before-newline","after-newline","preserve-newline"],F=f(L),Y=[F.before_newline,F.preserve_newline],B={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ge(i,y){y.multiline_frame||y.mode===B.ForInitializer||y.mode===B.Conditional||i.remove_indent(y.start_line_index)}function g(i){i=i.replace(r.allLineBreaks,`
`);for(var y=[],K=i.indexOf(`
`);K!==-1;)y.push(i.substring(0,K)),i=i.substring(K+1),K=i.indexOf(`
`);return i.length&&y.push(i),y}function d(i){return i===B.ArrayLiteral}function b(i){return h(i,[B.Expression,B.ForInitializer,B.Conditional])}function P(i,y){for(var K=0;K<i.length;K++){var ue=i[K].trim();if(ue.charAt(0)!==y)return!1}return!0}function A(i,y){for(var K=0,ue=i.length,Ee;K<ue;K++)if(Ee=i[K],Ee&&Ee.indexOf(y)!==0)return!1;return!0}function w(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)}w.prototype.create_flags=function(i,y){var K=0;i&&(K=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>K&&(K=i.line_indent_level));var ue={mode:y,parent:i,last_token:i?i.last_token:new t(C.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:K,alignment:0,line_indent_level:i?i.line_indent_level:K,start_line_index:this._output.get_line_number(),ternary_depth:0};return ue},w.prototype._reset=function(i){var y=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(B.BlockStatement);var K=new o(i,this._options);return this._tokens=K.tokenize(),i},w.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,y=this._reset(this._source_text),K=this._options.eol;this._options.eol==="auto"&&(K=`
`,y&&r.lineBreak.test(y||"")&&(K=y.match(r.lineBreak)[0]));for(var ue=this._tokens.next();ue;)this.handle_token(ue),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ue,ue=this._tokens.next();return i=this._output.get_code(K),i},w.prototype.handle_token=function(i,y){i.type===C.START_EXPR?this.handle_start_expr(i):i.type===C.END_EXPR?this.handle_end_expr(i):i.type===C.START_BLOCK?this.handle_start_block(i):i.type===C.END_BLOCK?this.handle_end_block(i):i.type===C.WORD?this.handle_word(i):i.type===C.RESERVED?this.handle_word(i):i.type===C.SEMICOLON?this.handle_semicolon(i):i.type===C.STRING?this.handle_string(i):i.type===C.EQUALS?this.handle_equals(i):i.type===C.OPERATOR?this.handle_operator(i):i.type===C.COMMA?this.handle_comma(i):i.type===C.BLOCK_COMMENT?this.handle_block_comment(i,y):i.type===C.COMMENT?this.handle_comment(i,y):i.type===C.DOT?this.handle_dot(i):i.type===C.EOF?this.handle_eof(i):i.type===C.UNKNOWN?this.handle_unknown(i,y):this.handle_unknown(i,y)},w.prototype.handle_whitespace_and_comments=function(i,y){var K=i.newlines,ue=this._options.keep_array_indentation&&d(this._flags.mode);if(i.comments_before)for(var Ee=i.comments_before.next();Ee;)this.handle_whitespace_and_comments(Ee,y),this.handle_token(Ee,y),Ee=i.comments_before.next();if(ue)for(var Ze=0;Ze<K;Ze+=1)this.print_newline(Ze>0,y);else if(this._options.max_preserve_newlines&&K>this._options.max_preserve_newlines&&(K=this._options.max_preserve_newlines),this._options.preserve_newlines&&K>1){this.print_newline(!1,y);for(var Ve=1;Ve<K;Ve+=1)this.print_newline(!0,y)}};var n=["async","break","continue","return","throw","yield"];w.prototype.allow_wrap_or_preserved_newline=function(i,y){if(y=y===void 0?!1:y,!this._output.just_added_newline()){var K=this._options.preserve_newlines&&i.newlines||y,ue=h(this._flags.last_token.text,x)||h(i.text,x);if(ue){var Ee=h(this._flags.last_token.text,x)&&h(this._options.operator_position,Y)||h(i.text,x);K=K&&Ee}if(K)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(k(this._flags.last_token,n))return;this._output.set_wrap_point()}}},w.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!==C.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var K=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&l(K,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(i)&&(this._flags.multiline_frame=!0)},w.prototype.print_token_line_indentation=function(i){this._output.just_added_newline()&&(this._options.keep_array_indentation&&i.newlines&&(i.text==="["||d(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(i.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},w.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===C.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)},w.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},w.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))},w.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)},w.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===B.Statement&&ge(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},w.prototype.start_of_object_property=function(){return this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"]))},w.prototype.start_of_statement=function(i){var y=!1;return y=y||k(this._flags.last_token,["var","let","const"])&&i.type===C.WORD,y=y||l(this._flags.last_token,"do"),y=y||!(this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement)&&k(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===C.END_EXPR&&(this._previous_flags.mode===B.ForInitializer||this._previous_flags.mode===B.Conditional),y=y||this._flags.last_token.type===C.WORD&&this._flags.mode===B.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==C.WORD&&i.type!==C.RESERVED,y=y||this._flags.mode===B.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"])),y?(this.set_mode(B.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,k(i,["do","for","if","while"])),!0):!1},w.prototype.handle_start_expr=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i);var y=B.Expression;if(i.text==="["){if(this._flags.last_token.type===C.WORD||this._flags.last_token.text===")"){k(this._flags.last_token,v)&&(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=B.ArrayLiteral,d(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),h(this._flags.last_token.type,[C.START_EXPR,C.END_EXPR,C.WORD,C.OPERATOR,C.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===C.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,y=B.ForInitializer):h(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=B.Conditional):h(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&i.whitespace_before===""?this._output.space_before_token=!1:(h(this._flags.last_token.text,v)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i);else if(this._flags.last_token.type===C.WORD){this._output.space_before_token=!1;var K=this._tokens.peek(-3);if(this._options.space_after_named_function&&K){var ue=this._tokens.peek(-4);k(K,["async","function"])||K.text==="*"&&k(ue,["async","function"])?this._output.space_before_token=!0:this._flags.mode===B.ObjectLiteral?(K.text==="{"||K.text===","||K.text==="*"&&(ue.text==="{"||ue.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===C.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(h(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&h(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===C.START_BLOCK?this.print_newline():(this._flags.last_token.type===C.END_EXPR||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===C.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()},w.prototype.handle_end_expr=function(i){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(i,i.text==="]"&&d(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===C.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(i),this.restore_mode(),ge(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===B.Conditional&&(this._previous_flags.mode=B.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},w.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var y=this._tokens.peek(),K=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===C.END_EXPR?(this.set_mode(B.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(B.BlockStatement):K&&(h(K.text,[":",","])&&h(y.type,[C.STRING,C.WORD,C.RESERVED])||h(y.text,["get","set","..."])&&h(K.type,[C.WORD,C.RESERVED]))?h(this._last_last_text,["class","interface"])&&!h(K.text,[":",","])?this.set_mode(B.BlockStatement):this.set_mode(B.ObjectLiteral):this._flags.last_token.type===C.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(B.BlockStatement):h(this._flags.last_token.type,[C.EQUALS,C.START_EXPR,C.COMMA,C.OPERATOR])||k(this._flags.last_token,["return","throw","import","default"])?this.set_mode(B.ObjectLiteral):this.set_mode(B.BlockStatement),this._flags.last_token&&k(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ue=!y.comments_before&&y.text==="}",Ee=ue&&this._flags.last_word==="function"&&this._flags.last_token.type===C.END_EXPR;if(this._options.brace_preserve_inline){var Ze=0,Ve=null;this._flags.inline_frame=!0;do if(Ze+=1,Ve=this._tokens.peek(Ze-1),Ve.newlines){this._flags.inline_frame=!1;break}while(Ve.type!==C.EOF&&!(Ve.type===C.END_BLOCK&&Ve.opened===i))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==C.OPERATOR&&(Ee||this._flags.last_token.type===C.EQUALS||k(this._flags.last_token,I)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(d(this._previous_flags.mode)&&(this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.COMMA)&&((this._flags.last_token.type===C.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.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!==C.OPERATOR&&this._flags.last_token.type!==C.START_EXPR&&(h(this._flags.last_token.type,[C.START_BLOCK,C.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(i),this.indent(),!ue&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},w.prototype.handle_end_block=function(i){for(this.handle_whitespace_and_comments(i);this._flags.mode===B.Statement;)this.restore_mode();var y=this._flags.last_token.type===C.START_BLOCK;this._flags.inline_frame&&!y?this._output.space_before_token=!0:this._options.brace_style==="expand"?y||this.print_newline():y||(d(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(i)},w.prototype.handle_word=function(i){if(i.type===C.RESERVED){if(h(i.text,["set","get"])&&this._flags.mode!==B.ObjectLiteral)i.type=C.WORD;else if(i.text==="import"&&h(this._tokens.peek().text,["(","."]))i.type=C.WORD;else if(h(i.text,["as","from"])&&!this._flags.import_block)i.type=C.WORD;else if(this._flags.mode===B.ObjectLiteral){var y=this._tokens.peek();y.text===":"&&(i.type=C.WORD)}}if(this.start_of_statement(i)?k(this._flags.last_token,["var","let","const"])&&i.type===C.WORD&&(this._flags.declaration_statement=!0):i.newlines&&!b(this._flags.mode)&&(this._flags.last_token.type!==C.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==C.EQUALS&&(this._options.preserve_newlines||!k(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===B.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&k(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===C.COMMA||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR)&&!this.start_of_object_property()&&!(h(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===B.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(i),l(i,"function")){(h(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(h(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===C.OPERATOR))&&!this._output.just_added_blankline()&&!i.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD?k(this._flags.last_token,["get","set","new","export"])||k(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===C.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(b(this._flags.mode)||d(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var K="NONE";if(this._flags.last_token.type===C.END_BLOCK?this._previous_flags.inline_frame?K="SPACE":k(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?K="NEWLINE":(K="SPACE",this._output.space_before_token=!0):K="NEWLINE":this._flags.last_token.type===C.SEMICOLON&&this._flags.mode===B.BlockStatement?K="NEWLINE":this._flags.last_token.type===C.SEMICOLON&&b(this._flags.mode)?K="SPACE":this._flags.last_token.type===C.STRING?K="NEWLINE":this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD||this._flags.last_token.text==="*"&&(h(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&h(this._last_last_text,["{",","]))?K="SPACE":this._flags.last_token.type===C.START_BLOCK?this._flags.inline_frame?K="SPACE":K="NEWLINE":this._flags.last_token.type===C.END_EXPR&&(this._output.space_before_token=!0,K="NEWLINE"),k(i,v)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?K="SPACE":K="NEWLINE"),k(i,["else","catch","finally"]))if((!(this._flags.last_token.type===C.END_BLOCK&&this._previous_flags.mode===B.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 ue=this._output.current_line;ue.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else K==="NEWLINE"?k(this._flags.last_token,I)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&k(i,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==C.END_EXPR?(this._flags.last_token.type!==C.START_EXPR||!k(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()):k(i,v)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&d(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():K==="SPACE"&&(this._output.space_before_token=!0);i.previous&&(i.previous.type===C.WORD||i.previous.type===C.RESERVED)&&(this._output.space_before_token=!0),this.print_token(i),this._flags.last_word=i.text,i.type===C.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))},w.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===B.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)},w.prototype.handle_string=function(i){i.text.startsWith("`")&&i.newlines===0&&i.whitespace_before===""&&(i.previous.text===")"||this._flags.last_token.type===C.WORD)||(this.start_of_statement(i)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(i),this._flags.last_token.type===C.RESERVED||this._flags.last_token.type===C.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR||this._flags.last_token.type===C.EQUALS||this._flags.last_token.type===C.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i):i.text.startsWith("`")&&this._flags.last_token.type===C.END_EXPR&&(i.previous.text==="]"||i.previous.text===")")&&i.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(i)},w.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},w.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?(b(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===B.ObjectLiteral||this._flags.mode===B.Statement&&this._flags.parent.mode===B.ObjectLiteral?(this._flags.mode===B.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},w.prototype.handle_operator=function(i){var y=i.text==="*"&&(k(this._flags.last_token,["function","yield"])||h(this._flags.last_token.type,[C.START_BLOCK,C.COMMA,C.END_BLOCK,C.SEMICOLON])),K=h(i.text,["-","+"])&&(h(this._flags.last_token.type,[C.START_BLOCK,C.START_EXPR,C.EQUALS,C.OPERATOR])||h(this._flags.last_token.text,v)||this._flags.last_token.text===",");if(!this.start_of_statement(i)){var ue=!y;this.handle_whitespace_and_comments(i,ue)}if(i.text==="*"&&this._flags.last_token.type===C.DOT){this.print_token(i);return}if(i.text==="::"){this.print_token(i);return}if(h(i.text,["-","+"])&&this.start_of_object_property()){this.print_token(i);return}if(this._flags.last_token.type===C.OPERATOR&&h(this._options.operator_position,Y)&&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!==C.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 Ee=!0,Ze=!0,Ve=!1;if(i.text===":"?this._flags.ternary_depth===0?Ee=!1:(this._flags.ternary_depth-=1,Ve=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!K&&!y&&this._options.preserve_newlines&&h(i.text,x)){var rt=i.text===":",Zt=rt&&Ve,xe=rt&&!Ve;switch(this._options.operator_position){case F.before_newline:this._output.space_before_token=!xe,this.print_token(i),(!rt||Zt)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case F.after_newline:this._output.space_before_token=!0,!rt||Zt?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 F.preserve_newline:xe||this.allow_wrap_or_preserved_newline(i),Ee=!(this._output.just_added_newline()||xe),this._output.space_before_token=Ee,this.print_token(i),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(i),Ee=!1;var Ye=this._tokens.peek();Ze=Ye&&h(Ye.type,[C.WORD,C.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),Ee=this._flags.last_token.type===C.START_BLOCK,Ze=!1;else if(h(i.text,["--","++","!","~"])||K){if((this._flags.last_token.type===C.COMMA||this._flags.last_token.type===C.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),Ee=!1,Ze=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Ot=k(this._flags.last_token,I)&&i.newlines;Ot&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Ot,!0)}this._flags.last_token.text===";"&&b(this._flags.mode)&&(Ee=!0),this._flags.last_token.type===C.RESERVED?Ee=!0:this._flags.last_token.type===C.END_EXPR?Ee=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===C.OPERATOR&&(Ee=h(i.text,["--","-","++","+"])&&h(this._flags.last_token.text,["--","-","++","+"]),h(i.text,["+","-"])&&h(this._flags.last_token.text,["--","++"])&&(Ze=!0)),(this._flags.mode===B.BlockStatement&&!this._flags.inline_frame||this._flags.mode===B.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ee,this.print_token(i),this._output.space_before_token=Ze},w.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)},w.prototype.print_block_commment=function(i,y){var K=g(i.text),ue,Ee=!1,Ze=!1,Ve=i.whitespace_before,rt=Ve.length;if(this.print_newline(!1,y),this.print_token_line_indentation(i),this._output.add_token(K[0]),this.print_newline(!1,y),K.length>1){for(K=K.slice(1),Ee=P(K,"*"),Ze=A(K,Ve),Ee&&(this._flags.alignment=1),ue=0;ue<K.length;ue++)Ee?(this.print_token_line_indentation(i),this._output.add_token(p(K[ue]))):Ze&&K[ue]?(this.print_token_line_indentation(i),this._output.add_token(K[ue].substring(rt))):(this._output.current_line.set_indent(-1),this._output.add_token(K[ue])),this.print_newline(!1,y);this._flags.alignment=0}},w.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)},w.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),k(this._flags.last_token,I)?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)},w.prototype.handle_unknown=function(i,y){this.print_token(i),i.text[i.text.length-1]===`
`&&this.print_newline(!1,y)},w.prototype.handle_eof=function(i){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i)},G.exports.Beautifier=w},function(G){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 c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var a=this.__lines.join(`
`);return t!==`
`&&(a=a.replace(/[\n]/g,t)),a},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;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},c.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()},c.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(" "))},c.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()},c.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},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var 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--}},G.exports.Output=c},function(G){function e(s,c,t,r){this.type=s,this.text=c,this.comments_before=null,this.newlines=t||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}G.exports.Token=e},function(G,e){var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",a="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",o="(?:"+a+"|["+s+t+"])",v="(?:"+a+"|["+c+t+r+"])*";e.identifier=new RegExp(o+v,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+a+"|["+c+t+r+"])+");var x=/[\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(G,e,s){var c=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(a){c.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 v=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var x=0;x<v.length;x++)v[x]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=v[x];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 c,G.exports.Options=r},function(G){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=c(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 c(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}G.exports.Options=e,G.exports.normalizeOpts=c,G.exports.mergeOpts=s},function(G,e,s){var c=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,a=s(13).Directives,o=s(4),v=s(12).Pattern,x=s(14).TemplatablePattern;function C(P,A){return A.indexOf(P)!==-1}var h={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},p=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]/,k=/[^\d\.]/,I=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),L=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";L=L.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),L="\\?\\.(?!\\d) "+L,L=L.replace(/ /g,"|");var F=new RegExp(L),Y="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),B=Y.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ge=new RegExp("^(?:"+B.join("|")+")$"),g,d=function(P,A){t.call(this,P,A),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var w=new v(this._input),n=new x(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:w.matching(f),punct:w.matching(F),comment:w.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:w.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:w.matching(/<!--/),html_comment_end:w.matching(/-->/),include:w.starting_with(/#include/).until_after(o.lineBreak),shebang:w.starting_with(/#!/).until_after(o.lineBreak),xml:w.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};d.prototype=new t,d.prototype._is_comment=function(P){return P.type===h.COMMENT||P.type===h.BLOCK_COMMENT||P.type===h.UNKNOWN},d.prototype._is_opening=function(P){return P.type===h.START_BLOCK||P.type===h.START_EXPR},d.prototype._is_closing=function(P,A){return(P.type===h.END_BLOCK||P.type===h.END_EXPR)&&A&&(P.text==="]"&&A.text==="["||P.text===")"&&A.text==="("||P.text==="}"&&A.text==="{")},d.prototype._reset=function(){g=!1},d.prototype._get_next_token=function(P,A){var w=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(h.EOF,""):(w=w||this._read_non_javascript(n),w=w||this._read_string(n),w=w||this._read_pair(n,this._input.peek(1)),w=w||this._read_word(P),w=w||this._read_singles(n),w=w||this._read_comment(n),w=w||this._read_regexp(n,P),w=w||this._read_xml(n,P),w=w||this._read_punctuation(),w=w||this._create_token(h.UNKNOWN,this._input.next()),w)},d.prototype._read_word=function(P){var A;if(A=this.__patterns.identifier.read(),A!=="")return A=A.replace(o.allLineBreaks,`
`),!(P.type===h.DOT||P.type===h.RESERVED&&(P.text==="set"||P.text==="get"))&&ge.test(A)?(A==="in"||A==="of")&&(P.type===h.WORD||P.type===h.STRING)?this._create_token(h.OPERATOR,A):this._create_token(h.RESERVED,A):this._create_token(h.WORD,A);if(A=this.__patterns.number.read(),A!=="")return this._create_token(h.WORD,A)},d.prototype._read_singles=function(P){var A=null;return P==="("||P==="["?A=this._create_token(h.START_EXPR,P):P===")"||P==="]"?A=this._create_token(h.END_EXPR,P):P==="{"?A=this._create_token(h.START_BLOCK,P):P==="}"?A=this._create_token(h.END_BLOCK,P):P===";"?A=this._create_token(h.SEMICOLON,P):P==="."&&k.test(this._input.peek(1))?A=this._create_token(h.DOT,P):P===","&&(A=this._create_token(h.COMMA,P)),A&&this._input.next(),A},d.prototype._read_pair=function(P,A){var w=null;return P==="#"&&A==="{"&&(w=this._create_token(h.START_BLOCK,P+A)),w&&(this._input.next(),this._input.next()),w},d.prototype._read_punctuation=function(){var P=this.__patterns.punct.read();if(P!=="")return P==="="?this._create_token(h.EQUALS,P):P==="?."?this._create_token(h.DOT,P):this._create_token(h.OPERATOR,P)},d.prototype._read_non_javascript=function(P){var A="";if(P==="#"){if(this._is_first_token()&&(A=this.__patterns.shebang.read(),A))return this._create_token(h.UNKNOWN,A.trim()+`
`);if(A=this.__patterns.include.read(),A)return this._create_token(h.UNKNOWN,A.trim()+`
`);P=this._input.next();var w="#";if(this._input.hasNext()&&this._input.testChar(l)){do P=this._input.next(),w+=P;while(this._input.hasNext()&&P!=="#"&&P!=="=");return P==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(w+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(w+="{}",this._input.next(),this._input.next())),this._create_token(h.WORD,w)}this._input.back()}else if(P==="<"&&this._is_first_token()){if(A=this.__patterns.html_comment_start.read(),A){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)A+=this._input.next();return g=!0,this._create_token(h.COMMENT,A)}}else if(g&&P==="-"&&(A=this.__patterns.html_comment_end.read(),A))return g=!1,this._create_token(h.COMMENT,A);return null},d.prototype._read_comment=function(P){var A=null;if(P==="/"){var w="";if(this._input.peek(1)==="*"){w=this.__patterns.block_comment.read();var n=p.get_directives(w);n&&n.ignore==="start"&&(w+=p.readIgnored(this._input)),w=w.replace(o.allLineBreaks,`
`),A=this._create_token(h.BLOCK_COMMENT,w),A.directives=n}else this._input.peek(1)==="/"&&(w=this.__patterns.comment.read(),A=this._create_token(h.COMMENT,w))}return A},d.prototype._read_string=function(P){if(P==="`"||P==="'"||P==='"'){var A=this._input.next();return this.has_char_escapes=!1,P==="`"?A+=this._read_string_recursive("`",!0,"${"):A+=this._read_string_recursive(P),this.has_char_escapes&&this._options.unescape_strings&&(A=b(A)),this._input.peek()===P&&(A+=this._input.next()),A=A.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,A)}return null},d.prototype._allow_regexp_or_xml=function(P){return P.type===h.RESERVED&&C(P.text,["return","case","throw","else","do","typeof","yield"])||P.type===h.END_EXPR&&P.text===")"&&P.opened.previous.type===h.RESERVED&&C(P.opened.previous.text,["if","while","for"])||C(P.type,[h.COMMENT,h.START_EXPR,h.START_BLOCK,h.START,h.END_BLOCK,h.OPERATOR,h.EQUALS,h.EOF,h.SEMICOLON,h.COMMA])},d.prototype._read_regexp=function(P,A){if(P==="/"&&this._allow_regexp_or_xml(A)){for(var w=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==P)&&!this._input.testChar(o.newline);)w+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?i=!0:this._input.peek()==="]"&&(i=!1)),this._input.next();return this._input.peek()===P&&(w+=this._input.next(),w+=this._input.read(o.identifier)),this._create_token(h.STRING,w)}return null},d.prototype._read_xml=function(P,A){if(this._options.e4x&&P==="<"&&this._allow_regexp_or_xml(A)){var w="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=i.indexOf("{")===0,K=0;n;){var ue=!!n[1],Ee=n[2],Ze=!!n[n.length-1]||Ee.slice(0,8)==="![CDATA[";if(!Ze&&(Ee===i||y&&Ee.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ue?--K:++K),w+=n[0],K<=0)break;n=this.__patterns.xml.read_match()}return n||(w+=this._input.match(/[\s\S]*/g)[0]),w=w.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,w)}}return null};function b(P){for(var A="",w=0,n=new c(P),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(A+=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{A+="\\",n.hasNext()&&(A+=n.next());continue}if(!i||(w=parseInt(i[1],16),w>126&&w<=255&&i[0].indexOf("x")===0))return P;w>=0&&w<32||w>1114111?A+="\\"+i[0]:w===34||w===39||w===92?A+="\\"+String.fromCharCode(w):A+=String.fromCharCode(w)}return A}d.prototype._read_string_recursive=function(P,A,w){var n,i;P==="'"?i=this.__patterns.single_quote:P==='"'?i=this.__patterns.double_quote:P==="`"?i=this.__patterns.template_text:P==="}"&&(i=this.__patterns.template_expression);for(var y=i.read(),K="";this._input.hasNext();){if(K=this._input.next(),K===P||!A&&o.newline.test(K)){this._input.back();break}else K==="\\"&&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(),K+=this._input.next()):w&&(w==="${"&&K==="$"&&this._input.peek()==="{"&&(K+=this._input.next()),w===K&&(P==="`"?K+=this._read_string_recursive("}",A,"`"):K+=this._read_string_recursive("`",A,"${"),this._input.hasNext()&&(K+=this._input.next())));K+=i.read(),y+=K}return y},G.exports.Tokenizer=d,G.exports.TOKEN=h,G.exports.positionable_operators=I.slice(),G.exports.line_starters=Y.slice()},function(G){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},s.prototype.peek=function(c){var t=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(t=this.__input.charAt(c)),t},s.prototype.__match=function(c,t){c.lastIndex=t;var r=c.exec(this.__input);return r&&!(e&&c.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(c,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(c,t):!1},s.prototype.testChar=function(c,t){var r=this.peek(t);return c.lastIndex=0,r!==null&&c.test(r)},s.prototype.match=function(c){var t=this.__match(c,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(c,t,r){var a="",o;return c&&(o=this.match(c),o&&(a+=o[0])),t&&(o||!c)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(c,t){var r="",a=this.__position;c.lastIndex=this.__position;var o=c.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(c){return this.readUntil(c,!0)},s.prototype.get_regexp=function(c,t){var r=null,a="g";return t&&e&&(a="y"),typeof c=="string"&&c!==""?r=new RegExp(c,a):c&&(r=new RegExp(c.source,a)),r},s.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(c){var t=this.__position,r=this.readUntilAfter(c);return this.__position=t,r},s.prototype.lookBack=function(c){var t=this.__position-1;return t>=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},G.exports.InputScanner=s},function(G,e,s){var c=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"},v=function(x,C){this._input=new c(x),this._options=C||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};v.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var x,C=new t(o.START,""),h=null,p=[],f=new r;C.type!==o.EOF;){for(x=this._get_next_token(C,h);this._is_comment(x);)f.add(x),x=this._get_next_token(C,h);f.isEmpty()||(x.comments_before=f,f=new r),x.parent=h,this._is_opening(x)?(p.push(h),h=x):h&&this._is_closing(x,h)&&(x.opened=h,h.closed=x,h=p.pop(),x.parent=h),x.previous=C,C.next=x,this.__tokens.add(x),C=x}return this.__tokens},v.prototype._is_first_token=function(){return this.__tokens.isEmpty()},v.prototype._reset=function(){},v.prototype._get_next_token=function(x,C){this._readWhitespace();var h=this._input.read(/.+/g);return h?this._create_token(o.RAW,h):this._create_token(o.EOF,"")},v.prototype._is_comment=function(x){return!1},v.prototype._is_opening=function(x){return!1},v.prototype._is_closing=function(x,C){return!1},v.prototype._create_token=function(x,C){var h=new t(x,C,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return h},v.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},G.exports.Tokenizer=v,G.exports.TOKEN=o},function(G){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 c=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(c=this.__tokens[s]),c},e.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},G.exports.TokenStream=e},function(G,e,s){var c=s(12).Pattern;function t(r,a){c.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 c,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,v=[],x=r.exec(a);x;)v.push(a.substring(o,x.index)),o=x.index+x[0].length,x=r.exec(a);return o<a.length?v.push(a.substring(o,a.length)):v.push(""),v},G.exports.WhitespacePattern=t},function(G){function e(s,c){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._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 c=this._create();return c._until_after=!0,c._until_pattern=this._input.get_regexp(s),c._update(),c},e.prototype.until=function(s){var c=this._create();return c._until_after=!1,c._until_pattern=this._input.get_regexp(s),c._update(),c},e.prototype.starting_with=function(s){var c=this._create();return c._starting_pattern=this._input.get_regexp(s,!0),c._update(),c},e.prototype.matching=function(s){var c=this._create();return c._match_pattern=this._input.get_regexp(s,!0),c._update(),c},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},G.exports.Pattern=e},function(G){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=e},function(G,e,s){var c=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,o){c.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 v=new c(a);this.__patterns={handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:v.starting_with(/{{{/).until_after(/}}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),php:v.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:v.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:v.starting_with(/{%/).until_after(/%}/),django_value:v.starting_with(/{{/).until_after(/}}/),django_comment:v.starting_with(/{#/).until_after(/#}/),smarty:v.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:v.starting_with(/{\*/).until_after(/\*}/),smarty_literal:v.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new c,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(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 v in t)o._disabled[v]=a.templating.indexOf(v)===-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 v=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&v==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&v==="%"&&(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},G.exports.TemplatablePattern=r}],V={};function _(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return J[G](s,s.exports,_),s.exports}var H=_(0);T=H})();var W=T;u=[],O=function(){return{js_beautify:W}}.apply(Le,u),O!==void 0&&(zt.exports=O)})()},75918:function(zt,Le,u){"use strict";u.d(Le,{Wi:function(){return _},Z0:function(){return H},aU:function(){return V},eZ:function(){return e},wY:function(){return G}});var O=u(4348),T=u(69323),W=u(13268),J=function(s,c,t,r){function a(o){return o instanceof t?o:new t(function(v){v(o)})}return new(t||(t=Promise))(function(o,v){function x(p){try{h(r.next(p))}catch(f){v(f)}}function C(p){try{h(r.throw(p))}catch(f){v(f)}}function h(p){p.done?o(p.value):a(p.value).then(x,C)}h((r=r.apply(s,c||[])).next())})};class V extends T.JT{constructor(c,t="",r="",a=!0,o){super(),this._onDidChange=this._register(new O.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=c,this._label=t,this._cssClass=r,this._enabled=a,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(c){this._setLabel(c)}_setLabel(c){this._label!==c&&(this._label=c,this._onDidChange.fire({label:c}))}get tooltip(){return this._tooltip||""}set tooltip(c){this._setTooltip(c)}_setTooltip(c){this._tooltip!==c&&(this._tooltip=c,this._onDidChange.fire({tooltip:c}))}get class(){return this._cssClass}set class(c){this._setClass(c)}_setClass(c){this._cssClass!==c&&(this._cssClass=c,this._onDidChange.fire({class:c}))}get enabled(){return this._enabled}set enabled(c){this._setEnabled(c)}_setEnabled(c){this._enabled!==c&&(this._enabled=c,this._onDidChange.fire({enabled:c}))}get checked(){return this._checked}set checked(c){this._setChecked(c)}_setChecked(c){this._checked!==c&&(this._checked=c,this._onDidChange.fire({checked:c}))}run(c,t){return J(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(c))})}}class _ extends T.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new O.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new O.Q5),this.onDidRun=this._onDidRun.event}run(c,t){return J(this,void 0,void 0,function*(){if(!c.enabled)return;this._onBeforeRun.fire({action:c});let r;try{yield this.runAction(c,t)}catch(a){r=a}this._onDidRun.fire({action:c,error:r})})}runAction(c,t){return J(this,void 0,void 0,function*(){yield c.run(t)})}}class H extends V{constructor(c){super(H.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}H.ID="vs.actions.separator";class G{constructor(c,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=c,this.label=t,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return J(this,void 0,void 0,function*(){})}}class e extends V{constructor(){super(e.ID,W.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(zt,Le,u){"use strict";u.d(Le,{ok:function(){return O}});function O(T,W){if(!T)throw new Error(W?`Assertion failed (${W})`:"Assertion Failed")}},52615:function(zt,Le,u){"use strict";u.d(Le,{CM:function(){return V},JL:function(){return _},dT:function(){return G},fK:function(){return J},lA:function(){return H}});var O=u(4348);class T{constructor(){this._icons=new Map,this._onDidRegister=new O.Q5}add(s){const c=this._icons.get(s.id);c?s.description?c.description=s.description:console.error(`Duplicate registration of codicon ${s.id}`):(this._icons.set(s.id,s),this._onDidRegister.fire(s))}get(s){return this._icons.get(s)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const W=new T,J=W;function V(e,s){return new H(e,s)}function _(e){return e?e.replace(/\$\((.*?)\)/g,(s,c)=>` ${c} `).trim():""}class H{constructor(s,c,t){this.id=s,this.definition=c,this.description=t,W.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var G;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const s=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function c(a){if(a instanceof H)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return c(H.error);let[,v,x]=o;const C=["codicon","codicon-"+v];return x&&C.push("codicon-modifier-"+x.substr(1)),C}e.asClassNameArray=c;function t(a){return c(a).join(" ")}e.asClassName=t;function r(a){return"."+c(a).join(".")}e.asCSSSelector=r})(G||(G={})),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"})}(H||(H={}))},79881:function(zt,Le,u){"use strict";u.d(Le,{B8:function(){return c},Cp:function(){return J},F0:function(){return G},L6:function(){return s},VV:function(){return H},b1:function(){return e},dL:function(){return W},ri:function(){return V}});class O{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
`+r.stack):r},0)}}emit(r){this.listeners.forEach(a=>{a(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const T=new O;function W(t){H(t)||T.onUnexpectedError(t)}function J(t){H(t)||T.onUnexpectedExternalError(t)}function V(t){if(t instanceof Error){let{name:r,message:a}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:a,stack:o}}return t}const _="Canceled";function H(t){return t instanceof Error&&t.name===_&&t.message===_}function G(){const t=new Error(_);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function s(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class c extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(zt,Le,u){"use strict";u.d(Le,{D0:function(){return c},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return V}});var O=u(79881),T=u(69323),W=u(34502),J=u(95830),V;(function(a){a.None=()=>T.JT.None;function o(b){return(P,A=null,w)=>{let n=!1,i;return i=b(y=>{if(!n)return i?i.dispose():n=!0,P.call(A,y)},null,w),n&&i.dispose(),i}}a.once=o;function v(b,P){return l((A,w=null,n)=>b(i=>A.call(w,P(i)),null,n))}a.map=v;function x(b,P){return l((A,w=null,n)=>b(i=>{P(i),A.call(w,i)},null,n))}a.forEach=x;function C(b,P){return l((A,w=null,n)=>b(i=>P(i)&&A.call(w,i),null,n))}a.filter=C;function h(b){return b}a.signal=h;function p(...b){return(P,A=null,w)=>(0,T.F8)(...b.map(n=>n(i=>P.call(A,i),null,w)))}a.any=p;function f(b,P,A){let w=A;return v(b,n=>(w=P(w,n),w))}a.reduce=f;function l(b){let P;const A=new e({onFirstListenerAdd(){P=b(A.fire,A)},onLastListenerRemove(){P.dispose()}});return A.event}function k(b,P,A=100,w=!1,n){let i,y,K,ue=0;const Ee=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=b(Ze=>{ue++,y=P(y,Ze),w&&!K&&(Ee.fire(y),y=void 0),clearTimeout(K),K=setTimeout(()=>{const Ve=y;y=void 0,K=void 0,(!w||ue>1)&&Ee.fire(Ve),ue=0},A)})},onLastListenerRemove(){i.dispose()}});return Ee.event}a.debounce=k;function I(b,P=(A,w)=>A===w){let A=!0,w;return C(b,n=>{const i=A||!P(n,w);return A=!1,w=n,i})}a.latch=I;function L(b,P){return[a.filter(b,P),a.filter(b,A=>!P(A))]}a.split=L;function F(b,P=!1,A=[]){let w=A.slice(),n=b(K=>{w?w.push(K):y.fire(K)});const i=()=>{w&&w.forEach(K=>y.fire(K)),w=null},y=new e({onFirstListenerAdd(){n||(n=b(K=>y.fire(K)))},onFirstListenerDidAdd(){w&&(P?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return y.event}a.buffer=F;class Y{constructor(P){this.event=P}map(P){return new Y(v(this.event,P))}forEach(P){return new Y(x(this.event,P))}filter(P){return new Y(C(this.event,P))}reduce(P,A){return new Y(f(this.event,P,A))}latch(){return new Y(I(this.event))}debounce(P,A=100,w=!1,n){return new Y(k(this.event,P,A,w,n))}on(P,A,w){return this.event(P,A,w)}once(P,A,w){return o(this.event)(P,A,w)}}function B(b){return new Y(b)}a.chain=B;function ge(b,P,A=w=>w){const w=(...K)=>y.fire(A(...K)),n=()=>b.on(P,w),i=()=>b.removeListener(P,w),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromNodeEventEmitter=ge;function g(b,P,A=w=>w){const w=(...K)=>y.fire(A(...K)),n=()=>b.addEventListener(P,w),i=()=>b.removeEventListener(P,w),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromDOMEventEmitter=g;function d(b){return new Promise(P=>o(b)(P))}a.toPromise=d})(V||(V={}));class _{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${_._idPool++}`}start(o){this._stopWatch=new J.G(!0),this._listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this._elapsedOverall+=o,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${o.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}_._idPool=0;let H=-1;class G{constructor(o,v=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=v,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let v=H;if(typeof this.customThreshold=="number"&&(v=this.customThreshold),v<=0||o<v)return;this._stacks||(this._stacks=new Map);const x=new Error().stack.split(`
`).slice(3).join(`
`),C=this._stacks.get(x)||0;if(this._stacks.set(x,C+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=v*.5;let h,p=0;for(const[f,l]of this._stacks)(!h||p<l)&&(h=f,p=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${p}):`),console.warn(h)}return()=>{const h=this._stacks.get(x)||0;this._stacks.set(x,h-1)}}}class e{constructor(o){var v;this._disposed=!1,this._options=o,this._leakageMon=H>0?new G(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((v=this._options)===null||v===void 0)&&v._profName?new _(this._options._profName):void 0}get event(){return this._event||(this._event=(o,v,x)=>{var C;this._listeners||(this._listeners=new W.S);const h=this._listeners.isEmpty();h&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const p=this._listeners.push(v?[o,v]:o);h&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,v);const f=(C=this._leakageMon)===null||C===void 0?void 0:C.check(this._listeners.size),l=(0,T.OF)(()=>{f&&f(),this._disposed||(p(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return x instanceof T.SL?x.add(l):Array.isArray(x)&&x.push(l),l}),this._event}fire(o){var v,x;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new W.S);for(let C of this._listeners)this._deliveryQueue.push([C,o]);for((v=this._perfMon)===null||v===void 0||v.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[C,h]=this._deliveryQueue.shift();try{typeof C=="function"?C.call(void 0,h):C[0].call(C[1],h)}catch(p){(0,O.dL)(p)}}(x=this._perfMon)===null||x===void 0||x.stop()}}dispose(){var o,v,x,C,h;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(v=this._deliveryQueue)===null||v===void 0||v.clear(),(C=(x=this._options)===null||x===void 0?void 0:x.onLastListenerRemove)===null||C===void 0||C.call(x),(h=this._leakageMon)===null||h===void 0||h.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new W.S,this._mergeFn=o==null?void 0:o.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const o=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(o))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(o){this._listeners&&(this._isPaused!==0?this._eventQueue.push(o):super.fire(o))}}class c extends s{constructor(o){var v;super(o),this._delay=(v=o.delay)!==null&&v!==void 0?v: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(v,x,C)=>o(h=>{const p=this.buffers[this.buffers.length-1];p?p.push(()=>v.call(x,h)):v.call(x,h)},void 0,C)}bufferEvents(o){const v=[];this.buffers.push(v);const x=o();return this.buffers.pop(),v.forEach(C=>C()),x}}class r{constructor(){this.listening=!1,this.inputEvent=V.None,this.inputEventListener=T.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(zt,Le,u){"use strict";u.d(Le,{I:function(){return O}});function O(T){const W=this;let J=!1,V;return function(){return J||(J=!0,V=T.apply(W,arguments)),V}}},88226:function(zt,Le,u){"use strict";u.d(Le,{$:function(){return O}});var O;(function(T){function W(p){return p&&typeof p=="object"&&typeof p[Symbol.iterator]=="function"}T.is=W;const J=Object.freeze([]);function V(){return J}T.empty=V;function*_(p){yield p}T.single=_;function H(p){return p||J}T.from=H;function G(p){return!p||p[Symbol.iterator]().next().done===!0}T.isEmpty=G;function e(p){return p[Symbol.iterator]().next().value}T.first=e;function s(p,f){for(const l of p)if(f(l))return!0;return!1}T.some=s;function c(p,f){for(const l of p)if(f(l))return l}T.find=c;function*t(p,f){for(const l of p)f(l)&&(yield l)}T.filter=t;function*r(p,f){let l=0;for(const k of p)yield f(k,l++)}T.map=r;function*a(...p){for(const f of p)for(const l of f)yield l}T.concat=a;function*o(p){for(const f of p)for(const l of f)yield l}T.concatNested=o;function v(p,f,l){let k=l;for(const I of p)k=f(k,I);return k}T.reduce=v;function*x(p,f,l=p.length){for(f<0&&(f+=p.length),l<0?l+=p.length:l>p.length&&(l=p.length);f<l;f++)yield p[f]}T.slice=x;function C(p,f=Number.POSITIVE_INFINITY){const l=[];if(f===0)return[l,p];const k=p[Symbol.iterator]();for(let I=0;I<f;I++){const L=k.next();if(L.done)return[l,T.empty()];l.push(L.value)}return[l,{[Symbol.iterator](){return k}}]}T.consume=C;function h(p,f,l=(k,I)=>k===I){const k=p[Symbol.iterator](),I=f[Symbol.iterator]();for(;;){const L=k.next(),F=I.next();if(L.done!==F.done)return!1;if(L.done)return!0;if(!l(L.value,F.value))return!1}}T.equals=h})(O||(O={}))},69323:function(zt,Le,u){"use strict";u.d(Le,{B9:function(){return r},F8:function(){return a},JT:function(){return x},Jz:function(){return h},OF:function(){return o},SL:function(){return v},Wf:function(){return t},XK:function(){return C},dk:function(){return s}});var O=u(17845),T=u(88226);const W=!1;let J=null;function V(p){J=p}if(W){const p="__is_disposable_tracked__";V(new class{trackDisposable(f){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[p]||console.log(l)},3e3)}setParent(f,l){if(f&&f!==x.None)try{f[p]=!0}catch(k){}}markAsDisposed(f){if(f&&f!==x.None)try{f[p]=!0}catch(l){}}markAsSingleton(f){}})}function _(p){return J==null||J.trackDisposable(p),p}function H(p){J==null||J.markAsDisposed(p)}function G(p,f){J==null||J.setParent(p,f)}function e(p,f){if(J)for(const l of p)J.setParent(l,f)}function s(p){return J==null||J.markAsSingleton(p),p}class c extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(p){return typeof p.dispose=="function"&&p.dispose.length===0}function r(p){if(T.$.is(p)){let f=[];for(const l of p)if(l)try{l.dispose()}catch(k){f.push(k)}if(f.length===1)throw f[0];if(f.length>1)throw new c(f);return Array.isArray(p)?[]:p}else if(p)return p.dispose(),p}function a(...p){const f=o(()=>r(p));return e(p,f),f}function o(p){const f=_({dispose:(0,O.I)(()=>{H(f),p()})});return f}class v{constructor(){this._toDispose=new Set,this._isDisposed=!1,_(this)}dispose(){this._isDisposed||(H(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 G(f,this),this._isDisposed?v.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}}v.DISABLE_DISPOSED_WARNING=!1;class x{constructor(){this._store=new v,_(this),G(this._store,this)}dispose(){H(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}x.None=Object.freeze({dispose(){}});class C{constructor(){this._isDisposed=!1,_(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&&G(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,H(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&&G(f,null),f}}class h{constructor(f){this.object=f}dispose(){}}},34502:function(zt,Le,u){"use strict";u.d(Le,{S:function(){return T}});class O{constructor(J){this.element=J,this.next=O.Undefined,this.prev=O.Undefined}}O.Undefined=new O(void 0);class T{constructor(){this._first=O.Undefined,this._last=O.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===O.Undefined}clear(){let J=this._first;for(;J!==O.Undefined;){const V=J.next;J.prev=O.Undefined,J.next=O.Undefined,J=V}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(J){return this._insert(J,!1)}push(J){return this._insert(J,!0)}_insert(J,V){const _=new O(J);if(this._first===O.Undefined)this._first=_,this._last=_;else if(V){const G=this._last;this._last=_,_.prev=G,G.next=_}else{const G=this._first;this._first=_,_.next=G,G.prev=_}this._size+=1;let H=!1;return()=>{H||(H=!0,this._remove(_))}}shift(){if(this._first!==O.Undefined){const J=this._first.element;return this._remove(this._first),J}}pop(){if(this._last!==O.Undefined){const J=this._last.element;return this._remove(this._last),J}}_remove(J){if(J.prev!==O.Undefined&&J.next!==O.Undefined){const V=J.prev;V.next=J.next,J.next.prev=V}else J.prev===O.Undefined&&J.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):J.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):J.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let J=this._first;for(;J!==O.Undefined;)yield J.element,J=J.next}}},23345:function(zt,Le,u){"use strict";u.d(Le,{$L:function(){return k},ED:function(){return h},IJ:function(){return f},OS:function(){return Y},WE:function(){return L},dz:function(){return p},gn:function(){return I},li:function(){return o},r:function(){return g},tY:function(){return l},xS:function(){return F}});var O=u(97671),T;const W="en";let J=!1,V=!1,_=!1,H=!1,G=!1,e=!1,s=!1,c,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let v;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?v=o.vscode.process:typeof O!="undefined"&&(v=O);const x=typeof((T=v==null?void 0:v.versions)===null||T===void 0?void 0:T.electron)=="string"&&v.type==="renderer";if(typeof navigator=="object"&&!x)a=navigator.userAgent,J=a.indexOf("Windows")>=0,V=a.indexOf("Macintosh")>=0,s=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,_=a.indexOf("Linux")>=0,e=!0,c=navigator.language,t=c;else if(typeof v=="object"){J=v.platform==="win32",V=v.platform==="darwin",_=v.platform==="linux",H=_&&!!v.env.SNAP&&!!v.env.SNAP_REVISION,c=W,t=W;const d=v.env.VSCODE_NLS_CONFIG;if(d)try{const b=JSON.parse(d),P=b.availableLanguages["*"];c=b.locale,t=P||W,r=b._translationsConfigFile}catch(b){}G=!0}else console.error("Unable to resolve platform.");let C=0;V?C=1:J?C=3:_&&(C=2);const h=J,p=V,f=_,l=G,k=e,I=s,L=a,F=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let P=[];o.addEventListener("message",w=>{if(w.data&&w.data.vscodeSetImmediateId)for(let n=0,i=P.length;n<i;n++){const y=P[n];if(y.id===w.data.vscodeSetImmediateId){P.splice(n,1),y.callback();return}}});let A=0;return w=>{const n=++A;P.push({id:n,callback:w}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(v==null?void 0:v.nextTick)=="function")return v.nextTick.bind(v);const b=Promise.resolve();return P=>b.then(P)}(),Y=V||s?2:J?1:3;let B=!0,ge=!1;function g(){if(!ge){ge=!0;const d=new Uint8Array(2);d[0]=1,d[1]=2,B=new Uint16Array(d.buffer)[0]===513}return B}},95830:function(zt,Le,u){"use strict";u.d(Le,{G:function(){return W}});var O=u(23345);const T=O.li.performance&&typeof O.li.performance.now=="function";class W{constructor(V){this._highResolution=T&&V,this._startTime=this._now(),this._stopTime=-1}static create(V=!0){return new W(V)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?O.li.performance.now():Date.now()}}},82983:function(zt,Le,u){"use strict";u.d(Le,{$i:function(){return ue},C8:function(){return Zt},GF:function(){return c},HO:function(){return A},IO:function(){return t},K7:function(){return rt},Kw:function(){return Ot},LC:function(){return o},Mh:function(){return F},P1:function(){return Y},PJ:function(){return Ae},Qe:function(){return Ee},R1:function(){return s},RP:function(){return y},S6:function(){return Oe},TT:function(){return h},Ut:function(){return n},V8:function(){return v},WU:function(){return W},YK:function(){return ge},YU:function(){return J},ZG:function(){return B},ZH:function(){return d},ab:function(){return Ze},c1:function(){return xe},df:function(){return k},ec:function(){return V},fi:function(){return le},fy:function(){return _},j3:function(){return H},j_:function(){return f},m5:function(){return O},mK:function(){return l},mr:function(){return r},oH:function(){return D},oL:function(){return G},ok:function(){return L},ow:function(){return x},qq:function(){return I},qu:function(){return C},rL:function(){return g},uS:function(){return Ye},un:function(){return e},uq:function(){return a},vH:function(){return P},xe:function(){return Ve},zY:function(){return p}});function O(m){return!m||typeof m!="string"?!0:m.trim().length===0}const T=/{(\d+)}/g;function W(m,...S){return S.length===0?m:m.replace(T,function(z,N){const U=parseInt(N,10);return isNaN(U)||U<0||U>=S.length?z:S[U]})}function J(m){return m.replace(/[<>&]/g,function(S){switch(S){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return S}})}function V(m){return m.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function _(m,S=" "){const z=H(m,S);return G(z,S)}function H(m,S){if(!m||!S)return m;const z=S.length;if(z===0||m.length===0)return m;let N=0;for(;m.indexOf(S,N)===N;)N=N+z;return m.substring(N)}function G(m,S){if(!m||!S)return m;const z=S.length,N=m.length;if(z===0||N===0)return m;let U=N,Z=-1;for(;Z=m.lastIndexOf(S,U-1),!(Z===-1||Z+z!==U);){if(Z===0)return"";U=Z}return m.substring(0,U)}function e(m){return m.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(m){return m.replace(/\*/g,"")}function c(m,S,z={}){if(!m)throw new Error("Cannot create regex from empty string");S||(m=V(m)),z.wholeWord&&(/\B/.test(m.charAt(0))||(m="\\b"+m),/\B/.test(m.charAt(m.length-1))||(m=m+"\\b"));let N="";return z.global&&(N+="g"),z.matchCase||(N+="i"),z.multiline&&(N+="m"),z.unicode&&(N+="u"),new RegExp(m,N)}function t(m){return m.source==="^"||m.source==="^$"||m.source==="$"||m.source==="^\\s*$"?!1:!!(m.exec("")&&m.lastIndex===0)}function r(m){return(m.global?"g":"")+(m.ignoreCase?"i":"")+(m.multiline?"m":"")+(m.unicode?"u":"")}function a(m){return m.split(/\r\n|\r|\n/)}function o(m){for(let S=0,z=m.length;S<z;S++){const N=m.charCodeAt(S);if(N!==32&&N!==9)return S}return-1}function v(m,S=0,z=m.length){for(let N=S;N<z;N++){const U=m.charCodeAt(N);if(U!==32&&U!==9)return m.substring(S,N)}return m.substring(S,z)}function x(m,S=m.length-1){for(let z=S;z>=0;z--){const N=m.charCodeAt(z);if(N!==32&&N!==9)return z}return-1}function C(m,S){return m<S?-1:m>S?1:0}function h(m,S,z=0,N=m.length,U=0,Z=S.length){for(;z<N&&U<Z;z++,U++){let ce=m.charCodeAt(z),be=S.charCodeAt(U);if(ce<be)return-1;if(ce>be)return 1}const q=N-z,Q=Z-U;return q<Q?-1:q>Q?1:0}function p(m,S){return f(m,S,0,m.length,0,S.length)}function f(m,S,z=0,N=m.length,U=0,Z=S.length){for(;z<N&&U<Z;z++,U++){let ce=m.charCodeAt(z),be=S.charCodeAt(U);if(ce===be)continue;if(ce>=128||be>=128)return h(m.toLowerCase(),S.toLowerCase(),z,N,U,Z);l(ce)&&(ce-=32),l(be)&&(be-=32);const ye=ce-be;if(ye!==0)return ye}const q=N-z,Q=Z-U;return q<Q?-1:q>Q?1:0}function l(m){return m>=97&&m<=122}function k(m){return m>=65&&m<=90}function I(m,S){return m.length===S.length&&f(m,S)===0}function L(m,S){const z=S.length;return S.length>m.length?!1:f(m,S,0,z)===0}function F(m,S){let z,N=Math.min(m.length,S.length);for(z=0;z<N;z++)if(m.charCodeAt(z)!==S.charCodeAt(z))return z;return N}function Y(m,S){let z,N=Math.min(m.length,S.length);const U=m.length-1,Z=S.length-1;for(z=0;z<N;z++)if(m.charCodeAt(U-z)!==S.charCodeAt(Z-z))return z;return N}function B(m){return 55296<=m&&m<=56319}function ge(m){return 56320<=m&&m<=57343}function g(m,S){return(m-55296<<10)+(S-56320)+65536}function d(m,S,z){const N=m.charCodeAt(z);if(B(N)&&z+1<S){const U=m.charCodeAt(z+1);if(ge(U))return g(N,U)}return N}function b(m,S){const z=m.charCodeAt(S-1);if(ge(z)&&S>1){const N=m.charCodeAt(S-2);if(B(N))return g(N,z)}return z}function P(m,S){const z=E.getInstance(),N=S,U=m.length,Z=d(m,U,S);S+=Z>=65536?2:1;let q=z.getGraphemeBreakType(Z);for(;S<U;){const Q=d(m,U,S),ce=z.getGraphemeBreakType(Q);if(le(q,ce))break;S+=Q>=65536?2:1,q=ce}return S-N}function A(m,S){const z=E.getInstance(),N=S,U=b(m,S);S-=U>=65536?2:1;let Z=z.getGraphemeBreakType(U);for(;S>0;){const q=b(m,S),Q=z.getGraphemeBreakType(q);if(le(Q,Z))break;S-=q>=65536?2:1,Z=Q}return N-S}const w=/(?:[\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(m){return w.test(m)}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(m){return i.test(m)}const K=/^[\t\n\r\x20-\x7E]*$/;function ue(m){return K.test(m)}const Ee=/[\u2028\u2029]/;function Ze(m){return Ee.test(m)}function Ve(m){for(let S=0,z=m.length;S<z;S++)if(rt(m.charCodeAt(S)))return!0;return!1}function rt(m){return m=+m,m>=11904&&m<=55215||m>=63744&&m<=64255||m>=65281&&m<=65374}function Zt(m){return m>=127462&&m<=127487||m===8986||m===8987||m===9200||m===9203||m>=9728&&m<=10175||m===11088||m===11093||m>=127744&&m<=128591||m>=128640&&m<=128764||m>=128992&&m<=129003||m>=129280&&m<=129535||m>=129648&&m<=129750}const xe="\uFEFF";function Ye(m){return!!(m&&m.length>0&&m.charCodeAt(0)===65279)}function Ot(m,S=!1){return m?(S&&(m=m.replace(/\\./g,"")),m.toLowerCase()!==m):!1}function Ae(m){return m=m%(2*26),m<26?String.fromCharCode(97+m):String.fromCharCode(65+m-26)}function Oe(m){return E.getInstance().getGraphemeBreakType(m)}function le(m,S){return m===0?S!==5&&S!==7:m===2&&S===3?!1:m===4||m===2||m===3||S===4||S===2||S===3?!0:!(m===8&&(S===8||S===9||S===11||S===12)||(m===11||m===9)&&(S===9||S===10)||(m===12||m===10)&&S===10||S===5||S===13||S===7||m===1||m===13&&S===14||m===6&&S===6)}class E{constructor(){this._data=j()}static getInstance(){return E._INSTANCE||(E._INSTANCE=new E),E._INSTANCE}getGraphemeBreakType(S){if(S<32)return S===10?3:S===13?2:4;if(S<127)return 0;const z=this._data,N=z.length/3;let U=1;for(;U<=N;)if(S<z[3*U])U=2*U;else if(S>z[3*U+1])U=2*U+1;else return z[3*U+2];return 0}}E._INSTANCE=null;function j(){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 D(m,S){if(m===0)return 0;const z=ie(m,S);if(z!==void 0)return z;const N=b(S,m);return m-=fe(N),m}function ie(m,S){let z=b(S,m);for(m-=fe(z);R(z)||z===65039||z===8419;){if(m===0)return;z=b(S,m),m-=fe(z)}if(Zt(z)){if(m>=0){const N=b(S,m);N===8205&&(m-=fe(N))}return m}}function fe(m){return m>=65536?2:1}function R(m){return 127995<=m&&m<=127999}},72999:function(zt,Le,u){"use strict";u.d(Le,{$E:function(){return o},$K:function(){return H},D8:function(){return t},HD:function(){return T},IU:function(){return v},Jp:function(){return G},Kn:function(){return W},cW:function(){return s},f6:function(){return x},hj:function(){return J},jn:function(){return V},kJ:function(){return O},mf:function(){return c},o8:function(){return _},p_:function(){return e},vE:function(){return C}});function O(h){return Array.isArray(h)}function T(h){return typeof h=="string"}function W(h){return typeof h=="object"&&h!==null&&!Array.isArray(h)&&!(h instanceof RegExp)&&!(h instanceof Date)}function J(h){return typeof h=="number"&&!isNaN(h)}function V(h){return h===!0||h===!1}function _(h){return typeof h=="undefined"}function H(h){return!G(h)}function G(h){return _(h)||h===null}function e(h,p){if(!h)throw new Error(p?`Unexpected type, expected '${p}'`:"Unexpected type")}function s(h){if(G(h))throw new Error("Assertion Failed: argument is undefined or null");return h}function c(h){return typeof h=="function"}function t(h,p){const f=Math.min(h.length,p.length);for(let l=0;l<f;l++)r(h[l],p[l])}function r(h,p){if(T(p)){if(typeof h!==p)throw new Error(`argument does not match constraint: typeof ${p}`)}else if(c(p)){try{if(h instanceof p)return}catch(f){}if(!G(h)&&h.constructor===p||p.length===1&&p.call(void 0,h)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function a(h){let p=[],f=Object.getPrototypeOf(h);for(;Object.prototype!==f;)p=p.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return p}function o(h){const p=[];for(const f of a(h))typeof h[f]=="function"&&p.push(f);return p}function v(h,p){const f=k=>function(){const I=Array.prototype.slice.call(arguments,0);return p(k,I)};let l={};for(const k of h)l[k]=f(k);return l}function x(h){return h===null?void 0:h}function C(h,p="Unreachable"){throw new Error(p)}},13268:function(zt,Le,u){"use strict";u.d(Le,{N:function(){return T}});function O(W,J){let V;return J.length===0?V=W:V=W.replace(/\{(\d+)\}/g,function(_,H){const G=H[0];return typeof J[G]!="undefined"?J[G]:_}),V}function T(W,J,...V){return O(J,V)}},96236:function(zt,Le,u){"use strict";u.d(Le,{BH:function(){return v},NZ:function(){return x},U8:function(){return C},co:function(){return o},eH:function(){return a},vr:function(){return r}});var O=u(75918),T=u(52615),W=u(4348),J=u(88226),V=u(69323),_=u(34502),H=u(35884),G=u(90689),e=u(16925),s=u(49055),c=function(h,p,f,l){var k=arguments.length,I=k<3?p:l===null?l=Object.getOwnPropertyDescriptor(p,f):l,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")I=Reflect.decorate(h,p,f,l);else for(var F=h.length-1;F>=0;F--)(L=h[F])&&(I=(k<3?L(I):k>3?L(p,f,I):L(p,f))||I);return k>3&&I&&Object.defineProperty(p,f,I),I},t=function(h,p){return function(f,l){p(f,l,h)}};function r(h){return h.command!==void 0}class a{constructor(p){this.id=a._idPool++,this._debugName=p}}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"),v=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new W.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:h=>h===a.CommandPalette}}addCommand(h){return this.addCommands(J.$.single(h))}addCommands(h){for(const p of h)this._commands.set(p.id,p);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,V.OF)(()=>{let p=!1;for(const f of h)p=this._commands.delete(f.id)||p;p&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(h){return this._commands.get(h)}getCommands(){const h=new Map;return this._commands.forEach((p,f)=>h.set(f,p)),h}appendMenuItem(h,p){return this.appendMenuItems(J.$.single({id:h,item:p}))}appendMenuItems(h){const p=new Set,f=new _.S;for(const{id:l,item:k}of h){let I=this._menuItems.get(l);I||(I=new _.S,this._menuItems.set(l,I)),f.push(I.push(k)),p.add(l)}return this._onDidChangeMenu.fire(p),(0,V.OF)(()=>{if(f.size>0){for(let l of f)l();this._onDidChangeMenu.fire(p),f.clear()}})}getMenuItems(h){let p;return this._menuItems.has(h)?p=[...this._menuItems.get(h)]:p=[],h===a.CommandPalette&&this._appendImplicitItems(p),p}_appendImplicitItems(h){const p=new Set;for(const f of h)r(f)&&(p.add(f.command.id),f.alt&&p.add(f.alt.id));this._commands.forEach((f,l)=>{p.has(l)||h.push({command:f})})}};class x extends O.wY{constructor(p,f,l,k){super(`submenuitem.${p.submenu.id}`,typeof p.title=="string"?p.title:p.title.value,[],"submenu"),this.item=p,this._menuService=f,this._contextKeyService=l,this._options=k}get actions(){const p=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=f.getActions(this._options);f.dispose();for(const[,k]of l)k.length>0&&(p.push(...k),p.push(new O.Z0));return p.length&&p.pop(),p}}let C=class bi{constructor(p,f,l,k,I){var L,F;if(this._commandService=I,this.id=p.id,this.label=l!=null&&l.renderShortTitle&&p.shortTitle?typeof p.shortTitle=="string"?p.shortTitle:p.shortTitle.value:typeof p.title=="string"?p.title:p.title.value,this.tooltip=(F=typeof p.tooltip=="string"?p.tooltip:(L=p.tooltip)===null||L===void 0?void 0:L.value)!==null&&F!==void 0?F:"",this.enabled=!p.precondition||k.contextMatchesRules(p.precondition),this.checked=void 0,p.toggled){const Y=p.toggled.condition?p.toggled:{condition:p.toggled};this.checked=k.contextMatchesRules(Y.condition),this.checked&&Y.tooltip&&(this.tooltip=typeof Y.tooltip=="string"?Y.tooltip:Y.tooltip.value),Y.title&&(this.label=typeof Y.title=="string"?Y.title:Y.title.value)}this.item=p,this.alt=f?new bi(f,void 0,l,k,I):void 0,this._options=l,s.kS.isThemeIcon(p.icon)&&(this.class=T.dT.asClassName(p.icon))}dispose(){}run(...p){var f,l;let k=[];return!((f=this._options)===null||f===void 0)&&f.arg&&(k=[...k,this._options.arg]),!((l=this._options)===null||l===void 0)&&l.shouldForwardArgs&&(k=[...k,...p]),this._commandService.executeCommand(this.id,...k)}};C=c([t(3,G.i6),t(4,H.H)],C)},35884:function(zt,Le,u){"use strict";u.d(Le,{H:function(){return H},P:function(){return G}});var O=u(4348),T=u(88226),W=u(69323),J=u(34502),V=u(72999),_=u(16925);const H=(0,_.yh)("commandService"),G=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new O.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,s){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!s)throw new Error("invalid command");return this.registerCommand({id:e,handler:s})}if(e.description){const o=[];for(let x of e.description.args)o.push(x.constraint);const v=e.handler;e.handler=function(x,...C){return(0,V.D8)(C,o),v(x,...C)}}const{id:c}=e;let t=this._commands.get(c);t||(t=new J.S,this._commands.set(c,t));let r=t.unshift(e),a=(0,W.OF)(()=>{r();const o=this._commands.get(c);o!=null&&o.isEmpty()&&this._commands.delete(c)});return this._onDidRegisterCommand.fire(c),a}registerCommandAlias(e,s){return G.registerCommand(e,(c,...t)=>c.get(H).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return T.$.first(s)}getCommands(){const e=new Map;for(const s of this._commands.keys()){const c=this.getCommand(s);c&&e.set(s,c)}return e}};G.registerCommand("noop",()=>{})},90689:function(zt,Le,u){"use strict";u.d(Le,{Ao:function(){return H},Eq:function(){return g},Fb:function(){return G},K8:function(){return P},i6:function(){return ge},uy:function(){return B}});var O=u(23345),T=u(82983),W=u(16925);let J=O.WE||"";const V=new Map;V.set("false",!1),V.set("true",!0),V.set("isMac",O.dz),V.set("isLinux",O.IJ),V.set("isWindows",O.ED),V.set("isWeb",O.$L),V.set("isMacNative",O.dz&&!O.$L),V.set("isEdge",J.indexOf("Edg/")>=0),V.set("isFirefox",J.indexOf("Firefox")>=0),V.set("isChrome",J.indexOf("Chrome")>=0),V.set("isSafari",J.indexOf("Safari")>=0);const _=Object.prototype.hasOwnProperty;class H{static has(n){return t.create(n)}static equals(n,i){return r.create(n,i)}static regex(n,i){return k.create(n,i)}static not(n){return x.create(n)}static and(...n){return F.create(n,null)}static or(...n){return Y.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 Y.create(y.map(K=>this._deserializeAndExpression(K,i)),null,!0)}static _deserializeAndExpression(n,i){let y=n.split("&&");return F.create(y.map(K=>this._deserializeOne(K,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let y=n.split("!=");return v.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 k.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 p.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const y=n.split(">");return h.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const y=n.split("<=");return l.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const y=n.split("<");return f.create(y[0].trim(),y[1].trim())}return/^\!\s*/.test(n)?x.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,T.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("/"),K=n.lastIndexOf("/");if(y===K||y<0){if(i)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let ue=n.slice(y+1,K),Ee=n[K+1]==="i"?"i":"";try{return new RegExp(ue,Ee)}catch(Ze){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Ze}`);return console.warn(`bad regexp-value '${n}', parse error: ${Ze}`),null}}}function G(w,n){const i=w?w.substituteConstants():void 0,y=n?n.substituteConstants():void 0;return!i&&!y?!0:!i||!y?!1:i.equals(y)}function e(w,n){return w.cmp(n)}class s{constructor(){this.type=0}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!1}serialize(){return"false"}keys(){return[]}negate(){return c.INSTANCE}}s.INSTANCE=new s;class c{constructor(){this.type=1}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!0}serialize(){return"true"}keys(){return[]}negate(){return s.INSTANCE}}c.INSTANCE=new c;class t{constructor(n,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const y=V.get(n);return typeof y=="boolean"?y?c.INSTANCE:s.INSTANCE:new t(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?c.INSTANCE:s.INSTANCE:this}evaluate(n){return!!n.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=x.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):x.create(n,y);const K=V.get(n);return typeof K=="boolean"?i===(K?"true":"false")?c.INSTANCE:s.INSTANCE:new r(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:b(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=V.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?c.INSTANCE:s.INSTANCE}return this}evaluate(n){return n.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.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:b(this.key,this.valueKey,n.key,n.valueKey)}equals(n){return n.type===this.type?this.key===n.key&&this.valueKey===n.valueKey:!1}substituteConstants(){return this}evaluate(n){const i=n.getValue(this.valueKey),y=n.getValue(this.key);return Array.isArray(i)?i.indexOf(y)>=0:typeof y=="string"&&typeof i=="object"&&i!==null?_.call(i,y):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=o.create(this)),this.negated}}class o{constructor(n){this._actual=n,this.type=11}static create(n){return new o(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class v{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?x.create(n,y):t.create(n,y);const K=V.get(n);return typeof K=="boolean"?i===(K?"true":"false")?s.INSTANCE:c.INSTANCE:new v(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:b(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=V.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?s.INSTANCE:c.INSTANCE}return this}evaluate(n){return n.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this.value,this)),this.negated}}class x{constructor(n,i){this.key=n,this.negated=i,this.type=3}static create(n,i=null){const y=V.get(n);return typeof y=="boolean"?y?s.INSTANCE:c.INSTANCE:new x(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:c.INSTANCE:this}evaluate(n){return!n.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=t.create(this.key,this)),this.negated}}function C(w,n){if(typeof w=="string"){const i=parseFloat(w);isNaN(i)||(w=i)}return typeof w=="string"||typeof w=="number"?n(w):s.INSTANCE}class h{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=12}static create(n,i,y=null){return C(i,K=>new h(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(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 p{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=13}static create(n,i,y=null){return C(i,K=>new p(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(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 C(i,K=>new f(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}class l{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=15}static create(n,i,y=null){return C(i,K=>new l(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=h.create(this.key,this.value,this)),this.negated}}class k{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new k(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=I.create(this)),this.negated}}class I{constructor(n){this._actual=n,this.type=8}static create(n){return new I(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 L(w){let n=null;for(let i=0,y=w.length;i<y;i++){const K=w[i].substituteConstants();if(w[i]!==K&&n===null){n=[];for(let ue=0;ue<i;ue++)n[ue]=w[ue]}n!==null&&(n[i]=K)}return n===null?w:n}class F{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return F._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 K=e(this.expr[i],n.expr[i]);if(K!==0)return K}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=L(this.expr);return n===this.expr?this:F.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 K=!1;for(const ue of n)if(ue){if(ue.type===1){K=!0;continue}if(ue.type===0)return s.INSTANCE;if(ue.type===6){y.push(...ue.expr);continue}y.push(ue)}if(y.length===0&&K)return c.INSTANCE;if(y.length!==0){if(y.length===1)return y[0];y.sort(e);for(let ue=1;ue<y.length;ue++)y[ue-1].equals(y[ue])&&(y.splice(ue,1),ue--);if(y.length===1)return y[0];for(;y.length>1;){const ue=y[y.length-1];if(ue.type!==9)break;y.pop();const Ee=y.pop(),Ze=y.length===0,Ve=Y.create(ue.expr.map(rt=>F.create([rt,Ee],null)),null,Ze);Ve&&(y.push(Ve),y.sort(e))}return y.length===1?y[0]:new F(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=Y.create(n,this,!0)}return this.negated}}class Y{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,y){return Y._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 K=e(this.expr[i],n.expr[i]);if(K!==0)return K}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=L(this.expr);return n===this.expr?this:Y.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 K=[],ue=!1;if(n){for(let Ee=0,Ze=n.length;Ee<Ze;Ee++){const Ve=n[Ee];if(Ve){if(Ve.type===0){ue=!0;continue}if(Ve.type===1)return c.INSTANCE;if(Ve.type===9){K=K.concat(Ve.expr);continue}K.push(Ve)}}if(K.length===0&&ue)return s.INSTANCE;K.sort(e)}if(K.length!==0){if(K.length===1)return K[0];for(let Ee=1;Ee<K.length;Ee++)K[Ee-1].equals(K[Ee])&&(K.splice(Ee,1),Ee--);if(K.length===1)return K[0];if(y){for(let Ee=0;Ee<K.length;Ee++)for(let Ze=Ee+1;Ze<K.length;Ze++)P(K[Ee],K[Ze])&&(K.splice(Ze,1),Ze--);if(K.length===1)return K[0]}return new Y(K,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(),K=[];for(const Ee of A(i))for(const Ze of A(y))K.push(F.create([Ee,Ze],null));const ue=n.length===0;n.unshift(Y.create(K,null,ue))}this.negated=n[0]}return this.negated}}class B extends t{constructor(n,i,y){super(n,null),this._defaultValue=i,typeof y=="object"?B._info.push(Object.assign(Object.assign({},y),{key:n})):y!==!0&&B._info.push({key:n,description:y,type:i!=null?typeof i:void 0})}static all(){return B._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)}}B._info=[];const ge=(0,W.yh)("contextKeyService"),g="setContext";function d(w,n){return w<n?-1:w>n?1:0}function b(w,n,i,y){return w<i?-1:w>i?1:n<y?-1:n>y?1:0}function P(w,n){if(n.type===6&&w.type!==9&&w.type!==6){for(const K of n.expr)if(w.equals(K))return!0}const i=w.negate(),y=A(i).concat(A(n));y.sort(e);for(let K=0;K<y.length;K++){const Ee=y[K].negate();for(let Ze=K+1;Ze<y.length;Ze++){const Ve=y[Ze];if(Ee.equals(Ve))return!0}}return!1}function A(w){return w.type===9?w.expr:[w]}},16925:function(zt,Le,u){"use strict";u.d(Le,{I8:function(){return O},TG:function(){return T},jt:function(){return V},yh:function(){return J}});var O;(function(_){_.serviceIds=new Map,_.DI_TARGET="$di$target",_.DI_DEPENDENCIES="$di$dependencies";function H(G){return G[_.DI_DEPENDENCIES]||[]}_.getServiceDependencies=H})(O||(O={}));const T=J("instantiationService");function W(_,H,G,e){H[O.DI_TARGET]===H?H[O.DI_DEPENDENCIES].push({id:_,index:G,optional:e}):(H[O.DI_DEPENDENCIES]=[{id:_,index:G,optional:e}],H[O.DI_TARGET]=H)}function J(_){if(O.serviceIds.has(_))return O.serviceIds.get(_);const H=function(G,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");W(H,G,s,!1)};return H.toString=()=>_,O.serviceIds.set(_,H),H}function V(_){return function(H,G,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");W(_,H,e,!0)}}},44650:function(zt,Le,u){"use strict";u.d(Le,{B:function(){return J}});var O=u(76068),T=u(72999);class W{constructor(){this.data=new Map}add(_,H){O.ok(T.HD(_)),O.ok(T.Kn(H)),O.ok(!this.data.has(_),"There is already an extension with this id"),this.data.set(_,H)}as(_){return this.data.get(_)||null}}const J=new W},66213:function(zt,Le,u){"use strict";u.d(Le,{e:function(){return O}});var O;(function(T){T.DARK="dark",T.LIGHT="light",T.HIGH_CONTRAST="hc"})(O||(O={}))},49055:function(zt,Le,u){"use strict";u.d(Le,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return H},bB:function(){return v},kS:function(){return s},m6:function(){return c}});var O=u(52615),T=u(4348),W=u(69323),J=u(16925),V=u(44650),_=u(66213);const H=(0,J.yh)("themeService");var G;(function(x){function C(h){return h&&typeof h=="object"&&typeof h.id=="string"}x.isThemeColor=C})(G||(G={}));function e(x){return{id:x}}var s;(function(x){function C(I){return I&&typeof I=="object"&&typeof I.id=="string"&&(typeof I.color=="undefined"||G.isThemeColor(I.color))}x.isThemeIcon=C;const h=new RegExp(`^\\$\\((${O.dT.iconNameExpression}(?:${O.dT.iconModifierExpression})?)\\)$`);function p(I){const L=h.exec(I);if(!L)return;let[,F]=L;return{id:F}}x.fromString=p;function f(I,L){let F=I.id;const Y=F.lastIndexOf("~");return Y!==-1&&(F=F.substring(0,Y)),L&&(F=`${F}~${L}`),{id:F}}x.modify=f;function l(I,L){var F,Y;return I.id===L.id&&((F=I.color)===null||F===void 0?void 0:F.id)===((Y=L.color)===null||Y===void 0?void 0:Y.id)}x.isEqual=l;function k(I,L){return{id:I.id,color:L?e(L):void 0}}x.asThemeIcon=k,x.asClassNameArray=O.dT.asClassNameArray,x.asClassName=O.dT.asClassName,x.asCSSSelector=O.dT.asCSSSelector})(s||(s={}));function c(x){switch(x){case _.e.DARK:return"vs-dark";case _.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new T.Q5}onColorThemeChange(C){return this.themingParticipants.push(C),this.onThemingParticipantAddedEmitter.fire(C),(0,W.OF)(()=>{const h=this.themingParticipants.indexOf(C);this.themingParticipants.splice(h,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;V.B.add(t.ThemingContribution,a);function o(x){return a.onColorThemeChange(x)}class v extends W.JT{constructor(C){super(),this.themeService=C,this.theme=C.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(h=>this.onThemeChange(h)))}onThemeChange(C){this.theme=C,this.updateStyles()}updateStyles(){}}},16632:function(zt,Le,u){"use strict";var O=u(72308),T=u(77321),W=u(49618),J=u(52487),V=u(74416),_=u(92310),H=u.n(_),G=u(18929),e=u(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],c=(0,e.forwardRef)(function(t,r){var a=t.prefixCls,o=a===void 0?"rc-checkbox":a,v=t.className,x=t.style,C=t.checked,h=t.disabled,p=t.defaultChecked,f=p===void 0?!1:p,l=t.type,k=l===void 0?"checkbox":l,I=t.title,L=t.onChange,F=(0,V.Z)(t,s),Y=(0,e.useRef)(null),B=(0,e.useRef)(null),ge=(0,G.Z)(f,{value:C}),g=(0,J.Z)(ge,2),d=g[0],b=g[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var i;(i=Y.current)===null||i===void 0||i.focus(n)},blur:function(){var n;(n=Y.current)===null||n===void 0||n.blur()},input:Y.current,nativeElement:B.current}});var P=H()(o,v,(0,W.Z)((0,W.Z)({},"".concat(o,"-checked"),d),"".concat(o,"-disabled"),h)),A=function(n){h||("checked"in t||b(n.target.checked),L==null||L({target:(0,T.Z)((0,T.Z)({},t),{},{type:k,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:P,title:I,style:x,ref:B},e.createElement("input",(0,O.Z)({},F,{className:"".concat(o,"-input"),ref:Y,onChange:A,disabled:h,checked:!!d,type:k})),e.createElement("span",{className:"".concat(o,"-inner")}))});Le.Z=c},96478:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return I}});var O=u(72308),T=u(49618),W=u(52487),J=u(74416),V=u(65352),_=u(92310),H=u.n(_),G=u(8654),e=u(59301),s=u(10228),c=u(16089),t=s.Z.ESC,r=s.Z.TAB;function a(L){var F=L.visible,Y=L.triggerRef,B=L.onVisibleChange,ge=L.autoFocus,g=L.overlayRef,d=e.useRef(!1),b=function(){if(F){var n,i;(n=Y.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),B==null||B(!1)}},P=function(){var n;return(n=g.current)!==null&&n!==void 0&&n.focus?(g.current.focus(),d.current=!0,!0):!1},A=function(n){switch(n.keyCode){case t:b();break;case r:{var i=!1;d.current||(i=P()),i?n.preventDefault():b();break}}};e.useEffect(function(){return F?(window.addEventListener("keydown",A),ge&&(0,c.Z)(P,3),function(){window.removeEventListener("keydown",A),d.current=!1}):function(){d.current=!1}},[F])}var o=(0,e.forwardRef)(function(L,F){var Y=L.overlay,B=L.arrow,ge=L.prefixCls,g=(0,e.useMemo)(function(){var b;return typeof Y=="function"?b=Y():b=Y,b},[Y]),d=(0,G.sQ)(F,(0,G.C4)(g));return e.createElement(e.Fragment,null,B&&e.createElement("div",{className:"".concat(ge,"-arrow")}),e.cloneElement(g,{ref:(0,G.Yr)(g)?d:void 0}))}),v=o,x={adjustX:1,adjustY:1},C=[0,0],h={topLeft:{points:["bl","tl"],overflow:x,offset:[0,-4],targetOffset:C},top:{points:["bc","tc"],overflow:x,offset:[0,-4],targetOffset:C},topRight:{points:["br","tr"],overflow:x,offset:[0,-4],targetOffset:C},bottomLeft:{points:["tl","bl"],overflow:x,offset:[0,4],targetOffset:C},bottom:{points:["tc","bc"],overflow:x,offset:[0,4],targetOffset:C},bottomRight:{points:["tr","br"],overflow:x,offset:[0,4],targetOffset:C}},p=h,f=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function l(L,F){var Y,B=L.arrow,ge=B===void 0?!1:B,g=L.prefixCls,d=g===void 0?"rc-dropdown":g,b=L.transitionName,P=L.animation,A=L.align,w=L.placement,n=w===void 0?"bottomLeft":w,i=L.placements,y=i===void 0?p:i,K=L.getPopupContainer,ue=L.showAction,Ee=L.hideAction,Ze=L.overlayClassName,Ve=L.overlayStyle,rt=L.visible,Zt=L.trigger,xe=Zt===void 0?["hover"]:Zt,Ye=L.autoFocus,Ot=L.overlay,Ae=L.children,Oe=L.onVisibleChange,le=(0,J.Z)(L,f),E=e.useState(),j=(0,W.Z)(E,2),D=j[0],ie=j[1],fe="visible"in L?rt:D,R=e.useRef(null),m=e.useRef(null),S=e.useRef(null);e.useImperativeHandle(F,function(){return R.current});var z=function(Ke){ie(Ke),Oe==null||Oe(Ke)};a({visible:fe,triggerRef:S,onVisibleChange:z,autoFocus:Ye,overlayRef:m});var N=function(Ke){var Me=L.onOverlayClick;ie(!1),Me&&Me(Ke)},U=function(){return e.createElement(v,{ref:m,overlay:Ot,prefixCls:d,arrow:ge})},Z=function(){return typeof Ot=="function"?U:U()},q=function(){var Ke=L.minOverlayWidthMatchTrigger,Me=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?Ke:!Me},Q=function(){var Ke=L.openClassName;return Ke!==void 0?Ke:"".concat(d,"-open")},ce=e.cloneElement(Ae,{className:H()((Y=Ae.props)===null||Y===void 0?void 0:Y.className,fe&&Q()),ref:(0,G.Yr)(Ae)?(0,G.sQ)(S,(0,G.C4)(Ae)):void 0}),be=Ee;return!be&&xe.indexOf("contextMenu")!==-1&&(be=["click"]),e.createElement(V.Z,(0,O.Z)({builtinPlacements:y},le,{prefixCls:d,ref:R,popupClassName:H()(Ze,(0,T.Z)({},"".concat(d,"-show-arrow"),ge)),popupStyle:Ve,action:xe,showAction:ue,hideAction:be,popupPlacement:n,popupAlign:A,popupTransitionName:b,popupAnimation:P,popupVisible:fe,stretch:q()?"minWidth":"",popup:Z(),onPopupVisibleChange:z,onPopupClick:N,getPopupContainer:K}),ce)}var k=e.forwardRef(l),I=k},66003:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return H}});var O=u(74416),T=u(77321),W=u(62853),J=u(59301),V=["show"];function _(G,e){if(!e.max)return!0;var s=e.strategy(G);return s<=e.max}function H(G,e){return J.useMemo(function(){var s={};e&&(s.show=(0,W.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,T.Z)((0,T.Z)({},s),G);var c=s,t=c.show,r=(0,O.Z)(c,V);return(0,T.Z)((0,T.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(a){return a.length}})},[G,e])}},36901:function(zt,Le,u){"use strict";u.r(Le),u.d(Le,{BaseInput:function(){return s},default:function(){return p}});var O=u(77321),T=u(72308),W=u(49618),J=u(62853),V=u(92310),_=u.n(V),H=u(59301),G=u(30292),e=H.forwardRef(function(f,l){var k,I,L,F=f.inputElement,Y=f.children,B=f.prefixCls,ge=f.prefix,g=f.suffix,d=f.addonBefore,b=f.addonAfter,P=f.className,A=f.style,w=f.disabled,n=f.readOnly,i=f.focused,y=f.triggerFocus,K=f.allowClear,ue=f.value,Ee=f.handleReset,Ze=f.hidden,Ve=f.classes,rt=f.classNames,Zt=f.dataAttrs,xe=f.styles,Ye=f.components,Ot=f.onClear,Ae=Y!=null?Y:F,Oe=(Ye==null?void 0:Ye.affixWrapper)||"span",le=(Ye==null?void 0:Ye.groupWrapper)||"span",E=(Ye==null?void 0:Ye.wrapper)||"span",j=(Ye==null?void 0:Ye.groupAddon)||"span",D=(0,H.useRef)(null),ie=function(ft){var je;(je=D.current)!==null&&je!==void 0&&je.contains(ft.target)&&(y==null||y())},fe=(0,G.X3)(f),R=(0,H.cloneElement)(Ae,{value:ue,className:_()((k=Ae.props)===null||k===void 0?void 0:k.className,!fe&&(rt==null?void 0:rt.variant))||null}),m=(0,H.useRef)(null);if(H.useImperativeHandle(l,function(){return{nativeElement:m.current||D.current}}),fe){var S=null;if(K){var z=!w&&!n&&ue,N="".concat(B,"-clear-icon"),U=(0,J.Z)(K)==="object"&&K!==null&&K!==void 0&&K.clearIcon?K.clearIcon:"\u2716";S=H.createElement("button",{type:"button",tabIndex:-1,onClick:function(ft){Ee==null||Ee(ft),Ot==null||Ot()},onMouseDown:function(ft){return ft.preventDefault()},className:_()(N,(0,W.Z)((0,W.Z)({},"".concat(N,"-hidden"),!z),"".concat(N,"-has-suffix"),!!g))},U)}var Z="".concat(B,"-affix-wrapper"),q=_()(Z,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(B,"-disabled"),w),"".concat(Z,"-disabled"),w),"".concat(Z,"-focused"),i),"".concat(Z,"-readonly"),n),"".concat(Z,"-input-with-clear-btn"),g&&K&&ue),Ve==null?void 0:Ve.affixWrapper,rt==null?void 0:rt.affixWrapper,rt==null?void 0:rt.variant),Q=(g||K)&&H.createElement("span",{className:_()("".concat(B,"-suffix"),rt==null?void 0:rt.suffix),style:xe==null?void 0:xe.suffix},S,g);R=H.createElement(Oe,(0,T.Z)({className:q,style:xe==null?void 0:xe.affixWrapper,onClick:ie},Zt==null?void 0:Zt.affixWrapper,{ref:D}),ge&&H.createElement("span",{className:_()("".concat(B,"-prefix"),rt==null?void 0:rt.prefix),style:xe==null?void 0:xe.prefix},ge),R,Q)}if((0,G.He)(f)){var ce="".concat(B,"-group"),be="".concat(ce,"-addon"),ye="".concat(ce,"-wrapper"),Ke=_()("".concat(B,"-wrapper"),ce,Ve==null?void 0:Ve.wrapper,rt==null?void 0:rt.wrapper),Me=_()(ye,(0,W.Z)({},"".concat(ye,"-disabled"),w),Ve==null?void 0:Ve.group,rt==null?void 0:rt.groupWrapper);R=H.createElement(le,{className:Me,ref:m},H.createElement(E,{className:Ke},d&&H.createElement(j,{className:be},d),R,b&&H.createElement(j,{className:be},b)))}return H.cloneElement(R,{className:_()((I=R.props)===null||I===void 0?void 0:I.className,P)||null,style:(0,O.Z)((0,O.Z)({},(L=R.props)===null||L===void 0?void 0:L.style),A),hidden:Ze})}),s=e,c=u(80702),t=u(52487),r=u(74416),a=u(18929),o=u(2738),v=u(66003),x=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],C=(0,H.forwardRef)(function(f,l){var k=f.autoComplete,I=f.onChange,L=f.onFocus,F=f.onBlur,Y=f.onPressEnter,B=f.onKeyDown,ge=f.onKeyUp,g=f.prefixCls,d=g===void 0?"rc-input":g,b=f.disabled,P=f.htmlSize,A=f.className,w=f.maxLength,n=f.suffix,i=f.showCount,y=f.count,K=f.type,ue=K===void 0?"text":K,Ee=f.classes,Ze=f.classNames,Ve=f.styles,rt=f.onCompositionStart,Zt=f.onCompositionEnd,xe=(0,r.Z)(f,x),Ye=(0,H.useState)(!1),Ot=(0,t.Z)(Ye,2),Ae=Ot[0],Oe=Ot[1],le=(0,H.useRef)(!1),E=(0,H.useRef)(!1),j=(0,H.useRef)(null),D=(0,H.useRef)(null),ie=function(vt){j.current&&(0,G.nH)(j.current,vt)},fe=(0,a.Z)(f.defaultValue,{value:f.value}),R=(0,t.Z)(fe,2),m=R[0],S=R[1],z=m==null?"":String(m),N=(0,H.useState)(null),U=(0,t.Z)(N,2),Z=U[0],q=U[1],Q=(0,v.Z)(y,i),ce=Q.max||w,be=Q.strategy(z),ye=!!ce&&be>ce;(0,H.useImperativeHandle)(l,function(){var St;return{focus:ie,blur:function(){var Rt;(Rt=j.current)===null||Rt===void 0||Rt.blur()},setSelectionRange:function(Rt,on,Qt){var qt;(qt=j.current)===null||qt===void 0||qt.setSelectionRange(Rt,on,Qt)},select:function(){var Rt;(Rt=j.current)===null||Rt===void 0||Rt.select()},input:j.current,nativeElement:((St=D.current)===null||St===void 0?void 0:St.nativeElement)||j.current}}),(0,H.useEffect)(function(){E.current&&(E.current=!1),Oe(function(St){return St&&b?!1:St})},[b]);var Ke=function(vt,Rt,on){var Qt=Rt;if(!le.current&&Q.exceedFormatter&&Q.max&&Q.strategy(Rt)>Q.max){if(Qt=Q.exceedFormatter(Rt,{max:Q.max}),Rt!==Qt){var qt,En;q([((qt=j.current)===null||qt===void 0?void 0:qt.selectionStart)||0,((En=j.current)===null||En===void 0?void 0:En.selectionEnd)||0])}}else if(on.source==="compositionEnd")return;S(Qt),j.current&&(0,G.rJ)(j.current,vt,I,Qt)};(0,H.useEffect)(function(){if(Z){var St;(St=j.current)===null||St===void 0||St.setSelectionRange.apply(St,(0,c.Z)(Z))}},[Z]);var Me=function(vt){Ke(vt,vt.target.value,{source:"change"})},Fe=function(vt){le.current=!1,Ke(vt,vt.currentTarget.value,{source:"compositionEnd"}),Zt==null||Zt(vt)},ft=function(vt){Y&&vt.key==="Enter"&&!E.current&&(E.current=!0,Y(vt)),B==null||B(vt)},je=function(vt){vt.key==="Enter"&&(E.current=!1),ge==null||ge(vt)},ze=function(vt){Oe(!0),L==null||L(vt)},Nt=function(vt){E.current&&(E.current=!1),Oe(!1),F==null||F(vt)},It=function(vt){S(""),ie(),j.current&&(0,G.rJ)(j.current,vt,I)},it=ye&&"".concat(d,"-out-of-range"),jt=function(){var vt=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return H.createElement("input",(0,T.Z)({autoComplete:k},vt,{onChange:Me,onFocus:ze,onBlur:Nt,onKeyDown:ft,onKeyUp:je,className:_()(d,(0,W.Z)({},"".concat(d,"-disabled"),b),Ze==null?void 0:Ze.input),style:Ve==null?void 0:Ve.input,ref:j,size:P,type:ue,onCompositionStart:function(on){le.current=!0,rt==null||rt(on)},onCompositionEnd:Fe}))},hn=function(){var vt=Number(ce)>0;if(n||Q.show){var Rt=Q.showFormatter?Q.showFormatter({value:z,count:be,maxLength:ce}):"".concat(be).concat(vt?" / ".concat(ce):"");return H.createElement(H.Fragment,null,Q.show&&H.createElement("span",{className:_()("".concat(d,"-show-count-suffix"),(0,W.Z)({},"".concat(d,"-show-count-has-suffix"),!!n),Ze==null?void 0:Ze.count),style:(0,O.Z)({},Ve==null?void 0:Ve.count)},Rt),n)}return null};return H.createElement(s,(0,T.Z)({},xe,{prefixCls:d,className:_()(A,it),handleReset:It,value:z,focused:Ae,triggerFocus:ie,suffix:hn(),disabled:b,classes:Ee,classNames:Ze,styles:Ve}),jt())}),h=C,p=h},30292:function(zt,Le,u){"use strict";u.d(Le,{He:function(){return O},X3:function(){return T},nH:function(){return V},rJ:function(){return J}});function O(_){return!!(_.addonBefore||_.addonAfter)}function T(_){return!!(_.prefix||_.suffix||_.allowClear)}function W(_,H,G){var e=H.cloneNode(!0),s=Object.create(_,{target:{value:e},currentTarget:{value:e}});return e.value=G,typeof H.selectionStart=="number"&&typeof H.selectionEnd=="number"&&(e.selectionStart=H.selectionStart,e.selectionEnd=H.selectionEnd),e.setSelectionRange=function(){H.setSelectionRange.apply(H,arguments)},s}function J(_,H,G,e){if(G){var s=H;if(H.type==="click"){s=W(H,_,""),G(s);return}if(_.type!=="file"&&e!==void 0){s=W(H,_,e),G(s);return}G(s)}}function V(_,H){if(_){_.focus(H);var G=H||{},e=G.cursor;if(e){var s=_.value.length;switch(e){case"start":_.setSelectionRange(0,0);break;case"end":_.setSelectionRange(s,s);break;default:_.setSelectionRange(0,s)}}}}},28321:function(zt,Le,u){"use strict";u.d(Le,{iz:function(){return Te},ck:function(){return Qt},BW:function(){return tt},sN:function(){return Qt},Wd:function(){return X},ZP:function(){return nt},Xl:function(){return Y}});var O=u(72308),T=u(49618),W=u(77321),J=u(80702),V=u(52487),_=u(74416),H=u(92310),G=u.n(H),e=u(11780),s=u(18929),c=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function v($,he){return $===void 0?null:"".concat($,"-").concat(he)}function x($){var he=r.useContext(o);return v(he,$)}var C=u(80547),h=["children","locked"],p=r.createContext(null);function f($,he){var Ce=(0,W.Z)({},$);return Object.keys(he).forEach(function(de){var Ne=he[de];Ne!==void 0&&(Ce[de]=Ne)}),Ce}function l($){var he=$.children,Ce=$.locked,de=(0,_.Z)($,h),Ne=r.useContext(p),ke=(0,C.Z)(function(){return f(Ne,de)},[Ne,de],function(Ie,Ue){return!Ce&&(Ie[0]!==Ue[0]||!(0,c.Z)(Ie[1],Ue[1],!0))});return r.createElement(p.Provider,{value:ke},he)}var k=[],I=r.createContext(null);function L(){return r.useContext(I)}var F=r.createContext(k);function Y($){var he=r.useContext(F);return r.useMemo(function(){return $!==void 0?[].concat((0,J.Z)(he),[$]):he},[he,$])}var B=r.createContext(null),ge=r.createContext({}),g=ge,d=u(29194);function b($){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,d.Z)($)){var Ce=$.nodeName.toLowerCase(),de=["input","select","textarea","button"].includes(Ce)||$.isContentEditable||Ce==="a"&&!!$.getAttribute("href"),Ne=$.getAttribute("tabindex"),ke=Number(Ne),Ie=null;return Ne&&!Number.isNaN(ke)?Ie=ke:de&&Ie===null&&(Ie=0),de&&$.disabled&&(Ie=null),Ie!==null&&(Ie>=0||he&&Ie<0)}return!1}function P($){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=(0,J.Z)($.querySelectorAll("*")).filter(function(de){return b(de,he)});return b($,he)&&Ce.unshift($),Ce}var A=null;function w(){A=document.activeElement}function n(){A=null}function i(){if(A)try{A.focus()}catch($){}}function y($,he){if(he.keyCode===9){var Ce=P($),de=Ce[he.shiftKey?0:Ce.length-1],Ne=de===document.activeElement||$===document.activeElement;if(Ne){var ke=Ce[he.shiftKey?Ce.length-1:0];ke.focus(),he.preventDefault()}}}var K=u(10228),ue=u(16089),Ee=K.Z.LEFT,Ze=K.Z.RIGHT,Ve=K.Z.UP,rt=K.Z.DOWN,Zt=K.Z.ENTER,xe=K.Z.ESC,Ye=K.Z.HOME,Ot=K.Z.END,Ae=[Ve,rt,Ee,Ze];function Oe($,he,Ce,de){var Ne,ke="prev",Ie="next",Ue="children",st="parent";if($==="inline"&&de===Zt)return{inlineTrigger:!0};var ct=(0,T.Z)((0,T.Z)({},Ve,ke),rt,Ie),ht=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},Ee,Ce?Ie:ke),Ze,Ce?ke:Ie),rt,Ue),Zt,Ue),ut=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},Ve,ke),rt,Ie),Zt,Ue),xe,st),Ee,Ce?Ue:st),Ze,Ce?st:Ue),kt={inline:ct,horizontal:ht,vertical:ut,inlineSub:ct,horizontalSub:ut,verticalSub:ut},Lt=(Ne=kt["".concat($).concat(he?"":"Sub")])===null||Ne===void 0?void 0:Ne[de];switch(Lt){case ke:return{offset:-1,sibling:!0};case Ie:return{offset:1,sibling:!0};case st:return{offset:-1,sibling:!1};case Ue:return{offset:1,sibling:!1};default:return null}}function le($){for(var he=$;he;){if(he.getAttribute("data-menu-list"))return he;he=he.parentElement}return null}function E($,he){for(var Ce=$||document.activeElement;Ce;){if(he.has(Ce))return Ce;Ce=Ce.parentElement}return null}function j($,he){var Ce=P($,!0);return Ce.filter(function(de){return he.has(de)})}function D($,he,Ce){var de=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!$)return null;var Ne=j($,he),ke=Ne.length,Ie=Ne.findIndex(function(Ue){return Ce===Ue});return de<0?Ie===-1?Ie=ke-1:Ie-=1:de>0&&(Ie+=1),Ie=(Ie+ke)%ke,Ne[Ie]}var ie=function(he,Ce){var de=new Set,Ne=new Map,ke=new Map;return he.forEach(function(Ie){var Ue=document.querySelector("[data-menu-id='".concat(v(Ce,Ie),"']"));Ue&&(de.add(Ue),ke.set(Ue,Ie),Ne.set(Ie,Ue))}),{elements:de,key2element:Ne,element2key:ke}};function fe($,he,Ce,de,Ne,ke,Ie,Ue,st,ct){var ht=r.useRef(),ut=r.useRef();ut.current=he;var kt=function(){ue.Z.cancel(ht.current)};return r.useEffect(function(){return function(){kt()}},[]),function(Lt){var Dt=Lt.which;if([].concat(Ae,[Zt,xe,Ye,Ot]).includes(Dt)){var bt=ke(),wt=ie(bt,de),$t=wt,Qe=$t.elements,He=$t.key2element,at=$t.element2key,en=He.get(he),ln=E(en,Qe),vn=at.get(ln),Rn=Oe($,Ie(vn,!0).length===1,Ce,Dt);if(!Rn&&Dt!==Ye&&Dt!==Ot)return;(Ae.includes(Dt)||[Ye,Ot].includes(Dt))&&Lt.preventDefault();var M=function(Pe){if(Pe){var ee=Pe,se=Pe.querySelector("a");se!=null&&se.getAttribute("href")&&(ee=se);var pe=at.get(Pe);Ue(pe),kt(),ht.current=(0,ue.Z)(function(){ut.current===pe&&ee.focus()})}};if([Ye,Ot].includes(Dt)||Rn.sibling||!ln){var re;!ln||$==="inline"?re=Ne.current:re=le(ln);var te,ae=j(re,Qe);Dt===Ye?te=ae[0]:Dt===Ot?te=ae[ae.length-1]:te=D(re,Qe,ln,Rn.offset),M(te)}else if(Rn.inlineTrigger)st(vn);else if(Rn.offset>0)st(vn,!0),kt(),ht.current=(0,ue.Z)(function(){wt=ie(bt,de);var we=ln.getAttribute("aria-controls"),Pe=document.getElementById(we),ee=D(Pe,wt.elements);M(ee)},5);else if(Rn.offset<0){var _e=Ie(vn,!0),oe=_e[_e.length-2],ve=He.get(oe);st(oe,!1),M(ve)}}ct==null||ct(Lt)}}function R($){Promise.resolve().then($)}var m="__RC_UTIL_PATH_SPLIT__",S=function(he){return he.join(m)},z=function(he){return he.split(m)},N="rc-menu-more";function U(){var $=r.useState({}),he=(0,V.Z)($,2),Ce=he[1],de=(0,r.useRef)(new Map),Ne=(0,r.useRef)(new Map),ke=r.useState([]),Ie=(0,V.Z)(ke,2),Ue=Ie[0],st=Ie[1],ct=(0,r.useRef)(0),ht=(0,r.useRef)(!1),ut=function(){ht.current||Ce({})},kt=(0,r.useCallback)(function(He,at){var en=S(at);Ne.current.set(en,He),de.current.set(He,en),ct.current+=1;var ln=ct.current;R(function(){ln===ct.current&&ut()})},[]),Lt=(0,r.useCallback)(function(He,at){var en=S(at);Ne.current.delete(en),de.current.delete(He)},[]),Dt=(0,r.useCallback)(function(He){st(He)},[]),bt=(0,r.useCallback)(function(He,at){var en=de.current.get(He)||"",ln=z(en);return at&&Ue.includes(ln[0])&&ln.unshift(N),ln},[Ue]),wt=(0,r.useCallback)(function(He,at){return He.filter(function(en){return en!==void 0}).some(function(en){var ln=bt(en,!0);return ln.includes(at)})},[bt]),$t=function(){var at=(0,J.Z)(de.current.keys());return Ue.length&&at.push(N),at},Qe=(0,r.useCallback)(function(He){var at="".concat(de.current.get(He)).concat(m),en=new Set;return(0,J.Z)(Ne.current.keys()).forEach(function(ln){ln.startsWith(at)&&en.add(Ne.current.get(ln))}),en},[]);return r.useEffect(function(){return function(){ht.current=!0}},[]),{registerPath:kt,unregisterPath:Lt,refreshOverflowKeys:Dt,isSubPathKey:wt,getKeyPath:bt,getKeys:$t,getSubPathKeys:Qe}}function Z($){var he=r.useRef($);he.current=$;var Ce=r.useCallback(function(){for(var de,Ne=arguments.length,ke=new Array(Ne),Ie=0;Ie<Ne;Ie++)ke[Ie]=arguments[Ie];return(de=he.current)===null||de===void 0?void 0:de.call.apply(de,[he].concat(ke))},[]);return $?Ce:void 0}var q=Math.random().toFixed(5).toString().slice(2),Q=0;function ce($){var he=(0,s.Z)($,{value:$}),Ce=(0,V.Z)(he,2),de=Ce[0],Ne=Ce[1];return r.useEffect(function(){Q+=1;var ke="".concat(q,"-").concat(Q);Ne("rc-menu-uuid-".concat(ke))},[]),de}var be=u(96949),ye=u(55090),Ke=u(77205),Me=u(38793),Fe=u(2738),ft=u(8654);function je($,he,Ce,de){var Ne=r.useContext(p),ke=Ne.activeKey,Ie=Ne.onActive,Ue=Ne.onInactive,st={active:ke===$};return he||(st.onMouseEnter=function(ct){Ce==null||Ce({key:$,domEvent:ct}),Ie($)},st.onMouseLeave=function(ct){de==null||de({key:$,domEvent:ct}),Ue($)}),st}function ze($){var he=r.useContext(p),Ce=he.mode,de=he.rtl,Ne=he.inlineIndent;if(Ce!=="inline")return null;var ke=$;return de?{paddingRight:ke*Ne}:{paddingLeft:ke*Ne}}function Nt($){var he=$.icon,Ce=$.props,de=$.children,Ne;return he===null||he===!1?null:(typeof he=="function"?Ne=r.createElement(he,(0,W.Z)({},Ce)):typeof he!="boolean"&&(Ne=he),Ne||de||null)}var It=["item"];function it($){var he=$.item,Ce=(0,_.Z)($,It);return Object.defineProperty(Ce,"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."),he}}),Ce}var jt=["title","attribute","elementRef"],hn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],St=["active"],vt=function($){(0,Ke.Z)(Ce,$);var he=(0,Me.Z)(Ce);function Ce(){return(0,be.Z)(this,Ce),he.apply(this,arguments)}return(0,ye.Z)(Ce,[{key:"render",value:function(){var Ne=this.props,ke=Ne.title,Ie=Ne.attribute,Ue=Ne.elementRef,st=(0,_.Z)(Ne,jt),ct=(0,Fe.Z)(st,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Ie,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,O.Z)({},Ie,{title:typeof ke=="string"?ke:void 0},ct,{ref:Ue}))}}]),Ce}(r.Component),Rt=r.forwardRef(function($,he){var Ce=$.style,de=$.className,Ne=$.eventKey,ke=$.warnKey,Ie=$.disabled,Ue=$.itemIcon,st=$.children,ct=$.role,ht=$.onMouseEnter,ut=$.onMouseLeave,kt=$.onClick,Lt=$.onKeyDown,Dt=$.onFocus,bt=(0,_.Z)($,hn),wt=x(Ne),$t=r.useContext(p),Qe=$t.prefixCls,He=$t.onItemClick,at=$t.disabled,en=$t.overflowDisabled,ln=$t.itemIcon,vn=$t.selectedKeys,Rn=$t.onActive,M=r.useContext(g),re=M._internalRenderMenuItem,te="".concat(Qe,"-item"),ae=r.useRef(),_e=r.useRef(),oe=at||Ie,ve=(0,ft.x1)(he,_e),we=Y(Ne),Pe=function(Et){return{key:Ne,keyPath:(0,J.Z)(we).reverse(),item:ae.current,domEvent:Et}},ee=Ue||ln,se=je(Ne,oe,ht,ut),pe=se.active,De=(0,_.Z)(se,St),Re=vn.includes(Ne),qe=ze(we.length),Ct=function(Et){if(!oe){var rn=Pe(Et);kt==null||kt(it(rn)),He(rn)}},yt=function(Et){if(Lt==null||Lt(Et),Et.which===K.Z.ENTER){var rn=Pe(Et);kt==null||kt(it(rn)),He(rn)}},Kt=function(Et){Rn(Ne),Dt==null||Dt(Et)},xt={};$.role==="option"&&(xt["aria-selected"]=Re);var Ft=r.createElement(vt,(0,O.Z)({ref:ae,elementRef:ve,role:ct===null?"none":ct||"menuitem",tabIndex:Ie?null:-1,"data-menu-id":en&&wt?null:wt},(0,Fe.Z)(bt,["extra"]),De,xt,{component:"li","aria-disabled":Ie,style:(0,W.Z)((0,W.Z)({},qe),Ce),className:G()(te,(0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(te,"-active"),pe),"".concat(te,"-selected"),Re),"".concat(te,"-disabled"),oe),de),onClick:Ct,onKeyDown:yt,onFocus:Kt}),st,r.createElement(Nt,{props:(0,W.Z)((0,W.Z)({},$),{},{isSelected:Re}),icon:ee}));return re&&(Ft=re(Ft,$,{selected:Re})),Ft});function on($,he){var Ce=$.eventKey,de=L(),Ne=Y(Ce);return r.useEffect(function(){if(de)return de.registerPath(Ce,Ne),function(){de.unregisterPath(Ce,Ne)}},[Ne]),de?null:r.createElement(Rt,(0,O.Z)({},$,{ref:he}))}var Qt=r.forwardRef(on),qt=["className","children"],En=function(he,Ce){var de=he.className,Ne=he.children,ke=(0,_.Z)(he,qt),Ie=r.useContext(p),Ue=Ie.prefixCls,st=Ie.mode,ct=Ie.rtl;return r.createElement("ul",(0,O.Z)({className:G()(Ue,ct&&"".concat(Ue,"-rtl"),"".concat(Ue,"-sub"),"".concat(Ue,"-").concat(st==="inline"?"inline":"vertical"),de),role:"menu"},ke,{"data-menu-list":!0,ref:Ce}),Ne)},fn=r.forwardRef(En);fn.displayName="SubMenuList";var We=fn,gt=u(11592);function Gt($,he){return(0,gt.Z)($).map(function(Ce,de){if(r.isValidElement(Ce)){var Ne,ke,Ie=Ce.key,Ue=(Ne=(ke=Ce.props)===null||ke===void 0?void 0:ke.eventKey)!==null&&Ne!==void 0?Ne:Ie,st=Ue==null;st&&(Ue="tmp_key-".concat([].concat((0,J.Z)(he),[de]).join("-")));var ct={key:Ue,eventKey:Ue};return r.cloneElement(Ce,ct)}return Ce})}var mn=u(65352),Wt={adjustX:1,adjustY:1},kn={topLeft:{points:["bl","tl"],overflow:Wt},topRight:{points:["br","tr"],overflow:Wt},bottomLeft:{points:["tl","bl"],overflow:Wt},bottomRight:{points:["tr","br"],overflow:Wt},leftTop:{points:["tr","tl"],overflow:Wt},leftBottom:{points:["br","bl"],overflow:Wt},rightTop:{points:["tl","tr"],overflow:Wt},rightBottom:{points:["bl","br"],overflow:Wt}},Vn={topLeft:{points:["bl","tl"],overflow:Wt},topRight:{points:["br","tr"],overflow:Wt},bottomLeft:{points:["tl","bl"],overflow:Wt},bottomRight:{points:["tr","br"],overflow:Wt},rightTop:{points:["tr","tl"],overflow:Wt},rightBottom:{points:["br","bl"],overflow:Wt},leftTop:{points:["tl","tr"],overflow:Wt},leftBottom:{points:["bl","br"],overflow:Wt}},Sn=null;function Yt($,he,Ce){if(he)return he;if(Ce)return Ce[$]||Ce.other}var Nn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function xn($){var he=$.prefixCls,Ce=$.visible,de=$.children,Ne=$.popup,ke=$.popupStyle,Ie=$.popupClassName,Ue=$.popupOffset,st=$.disabled,ct=$.mode,ht=$.onVisibleChange,ut=r.useContext(p),kt=ut.getPopupContainer,Lt=ut.rtl,Dt=ut.subMenuOpenDelay,bt=ut.subMenuCloseDelay,wt=ut.builtinPlacements,$t=ut.triggerSubMenuAction,Qe=ut.forceSubMenuRender,He=ut.rootClassName,at=ut.motion,en=ut.defaultMotions,ln=r.useState(!1),vn=(0,V.Z)(ln,2),Rn=vn[0],M=vn[1],re=Lt?(0,W.Z)((0,W.Z)({},Vn),wt):(0,W.Z)((0,W.Z)({},kn),wt),te=Nn[ct],ae=Yt(ct,at,en),_e=r.useRef(ae);ct!=="inline"&&(_e.current=ae);var oe=(0,W.Z)((0,W.Z)({},_e.current),{},{leavedClassName:"".concat(he,"-hidden"),removeOnLeave:!1,motionAppear:!0}),ve=r.useRef();return r.useEffect(function(){return ve.current=(0,ue.Z)(function(){M(Ce)}),function(){ue.Z.cancel(ve.current)}},[Ce]),r.createElement(mn.Z,{prefixCls:he,popupClassName:G()("".concat(he,"-popup"),(0,T.Z)({},"".concat(he,"-rtl"),Lt),Ie,He),stretch:ct==="horizontal"?"minWidth":null,getPopupContainer:kt,builtinPlacements:re,popupPlacement:te,popupVisible:Rn,popup:Ne,popupStyle:ke,popupAlign:Ue&&{offset:Ue},action:st?[]:[$t],mouseEnterDelay:Dt,mouseLeaveDelay:bt,onPopupVisibleChange:ht,forceRender:Qe,popupMotion:oe,fresh:!0},de)}var On=u(77900);function gn($){var he=$.id,Ce=$.open,de=$.keyPath,Ne=$.children,ke="inline",Ie=r.useContext(p),Ue=Ie.prefixCls,st=Ie.forceSubMenuRender,ct=Ie.motion,ht=Ie.defaultMotions,ut=Ie.mode,kt=r.useRef(!1);kt.current=ut===ke;var Lt=r.useState(!kt.current),Dt=(0,V.Z)(Lt,2),bt=Dt[0],wt=Dt[1],$t=kt.current?Ce:!1;r.useEffect(function(){kt.current&&wt(!1)},[ut]);var Qe=(0,W.Z)({},Yt(ke,ct,ht));de.length>1&&(Qe.motionAppear=!1);var He=Qe.onVisibleChanged;return Qe.onVisibleChanged=function(at){return!kt.current&&!at&&wt(!0),He==null?void 0:He(at)},bt?null:r.createElement(l,{mode:ke,locked:!kt.current},r.createElement(On.default,(0,O.Z)({visible:$t},Qe,{forceRender:st,removeOnLeave:!1,leavedClassName:"".concat(Ue,"-hidden")}),function(at){var en=at.className,ln=at.style;return r.createElement(We,{id:he,className:en,style:ln},Ne)}))}var Cn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],An=["active"],Zn=r.forwardRef(function($,he){var Ce=$.style,de=$.className,Ne=$.title,ke=$.eventKey,Ie=$.warnKey,Ue=$.disabled,st=$.internalPopupClose,ct=$.children,ht=$.itemIcon,ut=$.expandIcon,kt=$.popupClassName,Lt=$.popupOffset,Dt=$.popupStyle,bt=$.onClick,wt=$.onMouseEnter,$t=$.onMouseLeave,Qe=$.onTitleClick,He=$.onTitleMouseEnter,at=$.onTitleMouseLeave,en=(0,_.Z)($,Cn),ln=x(ke),vn=r.useContext(p),Rn=vn.prefixCls,M=vn.mode,re=vn.openKeys,te=vn.disabled,ae=vn.overflowDisabled,_e=vn.activeKey,oe=vn.selectedKeys,ve=vn.itemIcon,we=vn.expandIcon,Pe=vn.onItemClick,ee=vn.onOpenChange,se=vn.onActive,pe=r.useContext(g),De=pe._internalRenderSubMenuItem,Re=r.useContext(B),qe=Re.isSubPathKey,Ct=Y(),yt="".concat(Rn,"-submenu"),Kt=te||Ue,xt=r.useRef(),Ft=r.useRef(),nn=ht!=null?ht:ve,Et=ut!=null?ut:we,rn=re.includes(ke),Jt=!ae&&rn,Xt=qe(oe,ke),sn=je(ke,Kt,He,at),_n=sn.active,Tn=(0,_.Z)(sn,An),tn=r.useState(!1),un=(0,V.Z)(tn,2),Vt=un[0],mt=un[1],Ut=function(dt){Kt||mt(dt)},Bt=function(dt){Ut(!0),wt==null||wt({key:ke,domEvent:dt})},yn=function(dt){Ut(!1),$t==null||$t({key:ke,domEvent:dt})},cn=r.useMemo(function(){return _n||(M!=="inline"?Vt||qe([_e],ke):!1)},[M,_n,_e,Vt,ke,qe]),bn=ze(Ct.length),zn=function(dt){Kt||(Qe==null||Qe({key:ke,domEvent:dt}),M==="inline"&&ee(ke,!rn))},Xn=Z(function(_t){bt==null||bt(it(_t)),Pe(_t)}),$n=function(dt){M!=="inline"&&ee(ke,dt)},tr=function(){se(ke)},rr=ln&&"".concat(ln,"-popup"),Gn=r.useMemo(function(){return r.createElement(Nt,{icon:M!=="horizontal"?Et:void 0,props:(0,W.Z)((0,W.Z)({},$),{},{isOpen:Jt,isSubMenu:!0})},r.createElement("i",{className:"".concat(yt,"-arrow")}))},[M,Et,$,Jt,yt]),an=r.createElement("div",(0,O.Z)({role:"menuitem",style:bn,className:"".concat(yt,"-title"),tabIndex:Kt?null:-1,ref:xt,title:typeof Ne=="string"?Ne:null,"data-menu-id":ae&&ln?null:ln,"aria-expanded":Jt,"aria-haspopup":!0,"aria-controls":rr,"aria-disabled":Kt,onClick:zn,onFocus:tr},Tn),Ne,Gn),Dn=r.useRef(M);if(M!=="inline"&&Ct.length>1?Dn.current="vertical":Dn.current=M,!ae){var Bn=Dn.current;an=r.createElement(xn,{mode:Bn,prefixCls:yt,visible:!st&&Jt&&M!=="inline",popupClassName:kt,popupOffset:Lt,popupStyle:Dt,popup:r.createElement(l,{mode:Bn==="horizontal"?"vertical":Bn},r.createElement(We,{id:rr,ref:Ft},ct)),disabled:Kt,onVisibleChange:$n},an)}var Mt=r.createElement(e.Z.Item,(0,O.Z)({ref:he,role:"none"},en,{component:"li",style:Ce,className:G()(yt,"".concat(yt,"-").concat(M),de,(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(yt,"-open"),Jt),"".concat(yt,"-active"),cn),"".concat(yt,"-selected"),Xt),"".concat(yt,"-disabled"),Kt)),onMouseEnter:Bt,onMouseLeave:yn}),an,!ae&&r.createElement(gn,{id:rr,open:Jt,keyPath:Ct},ct));return De&&(Mt=De(Mt,$,{selected:Xt,active:cn,open:Jt,disabled:Kt})),r.createElement(l,{onItemClick:Xn,mode:M==="horizontal"?"vertical":M,itemIcon:nn,expandIcon:Et},Mt)}),ne=r.forwardRef(function($,he){var Ce=$.eventKey,de=$.children,Ne=Y(Ce),ke=Gt(de,Ne),Ie=L();r.useEffect(function(){if(Ie)return Ie.registerPath(Ce,Ne),function(){Ie.unregisterPath(Ce,Ne)}},[Ne]);var Ue;return Ie?Ue=ke:Ue=r.createElement(Zn,(0,O.Z)({ref:he},$),ke),r.createElement(F.Provider,{value:Ne},Ue)}),X=ne,$e=u(62853);function Te($){var he=$.className,Ce=$.style,de=r.useContext(p),Ne=de.prefixCls,ke=L();return ke?null:r.createElement("li",{role:"separator",className:G()("".concat(Ne,"-item-divider"),he),style:Ce})}var Ge=["className","title","eventKey","children"],Xe=r.forwardRef(function($,he){var Ce=$.className,de=$.title,Ne=$.eventKey,ke=$.children,Ie=(0,_.Z)($,Ge),Ue=r.useContext(p),st=Ue.prefixCls,ct="".concat(st,"-item-group");return r.createElement("li",(0,O.Z)({ref:he,role:"presentation"},Ie,{onClick:function(ut){return ut.stopPropagation()},className:G()(ct,Ce)}),r.createElement("div",{role:"presentation",className:"".concat(ct,"-title"),title:typeof de=="string"?de:void 0},de),r.createElement("ul",{role:"group",className:"".concat(ct,"-list")},ke))}),ot=r.forwardRef(function($,he){var Ce=$.eventKey,de=$.children,Ne=Y(Ce),ke=Gt(de,Ne),Ie=L();return Ie?ke:r.createElement(Xe,(0,O.Z)({ref:he},(0,Fe.Z)($,["warnKey"])),ke)}),tt=ot,Pt=["label","children","key","type","extra"];function Se($,he,Ce){var de=he.item,Ne=he.group,ke=he.submenu,Ie=he.divider;return($||[]).map(function(Ue,st){if(Ue&&(0,$e.Z)(Ue)==="object"){var ct=Ue,ht=ct.label,ut=ct.children,kt=ct.key,Lt=ct.type,Dt=ct.extra,bt=(0,_.Z)(ct,Pt),wt=kt!=null?kt:"tmp-".concat(st);return ut||Lt==="group"?Lt==="group"?r.createElement(Ne,(0,O.Z)({key:wt},bt,{title:ht}),Se(ut,he,Ce)):r.createElement(ke,(0,O.Z)({key:wt},bt,{title:ht}),Se(ut,he,Ce)):Lt==="divider"?r.createElement(Ie,(0,O.Z)({key:wt},bt)):r.createElement(de,(0,O.Z)({key:wt},bt,{extra:Dt}),ht,(!!Dt||Dt===0)&&r.createElement("span",{className:"".concat(Ce,"-item-extra")},Dt))}return null}).filter(function(Ue){return Ue})}function me($,he,Ce,de,Ne){var ke=$,Ie=(0,W.Z)({divider:Te,item:Qt,group:tt,submenu:X},de);return he&&(ke=Se(he,Ie,Ne)),Gt(ke,Ce)}var Be=["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"],lt=[],et=r.forwardRef(function($,he){var Ce,de=$,Ne=de.prefixCls,ke=Ne===void 0?"rc-menu":Ne,Ie=de.rootClassName,Ue=de.style,st=de.className,ct=de.tabIndex,ht=ct===void 0?0:ct,ut=de.items,kt=de.children,Lt=de.direction,Dt=de.id,bt=de.mode,wt=bt===void 0?"vertical":bt,$t=de.inlineCollapsed,Qe=de.disabled,He=de.disabledOverflow,at=de.subMenuOpenDelay,en=at===void 0?.1:at,ln=de.subMenuCloseDelay,vn=ln===void 0?.1:ln,Rn=de.forceSubMenuRender,M=de.defaultOpenKeys,re=de.openKeys,te=de.activeKey,ae=de.defaultActiveFirst,_e=de.selectable,oe=_e===void 0?!0:_e,ve=de.multiple,we=ve===void 0?!1:ve,Pe=de.defaultSelectedKeys,ee=de.selectedKeys,se=de.onSelect,pe=de.onDeselect,De=de.inlineIndent,Re=De===void 0?24:De,qe=de.motion,Ct=de.defaultMotions,yt=de.triggerSubMenuAction,Kt=yt===void 0?"hover":yt,xt=de.builtinPlacements,Ft=de.itemIcon,nn=de.expandIcon,Et=de.overflowedIndicator,rn=Et===void 0?"...":Et,Jt=de.overflowedIndicatorPopupClassName,Xt=de.getPopupContainer,sn=de.onClick,_n=de.onOpenChange,Tn=de.onKeyDown,tn=de.openAnimation,un=de.openTransitionName,Vt=de._internalRenderMenuItem,mt=de._internalRenderSubMenuItem,Ut=de._internalComponents,Bt=(0,_.Z)(de,Be),yn=r.useMemo(function(){return[me(kt,ut,lt,Ut,ke),me(kt,ut,lt,{},ke)]},[kt,ut,Ut]),cn=(0,V.Z)(yn,2),bn=cn[0],zn=cn[1],Xn=r.useState(!1),$n=(0,V.Z)(Xn,2),tr=$n[0],rr=$n[1],Gn=r.useRef(),an=ce(Dt),Dn=Lt==="rtl",Bn=(0,s.Z)(M,{value:re,postState:function(Un){return Un||lt}}),Mt=(0,V.Z)(Bn,2),_t=Mt[0],dt=Mt[1],Tt=function(Un){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){dt(Un),_n==null||_n(Un)}Yn?(0,a.flushSync)(_r):_r()},wn=r.useState(_t),Ln=(0,V.Z)(wn,2),ar=Ln[0],Jn=Ln[1],ir=r.useRef(!1),pt=r.useMemo(function(){return(wt==="inline"||wt==="vertical")&&$t?["vertical",$t]:[wt,!1]},[wt,$t]),Ht=(0,V.Z)(pt,2),Pn=Ht[0],pn=Ht[1],Mn=Pn==="inline",lr=r.useState(Pn),jn=(0,V.Z)(lr,2),ur=jn[0],hr=jn[1],Pr=r.useState(pn),Hn=(0,V.Z)(Pr,2),Lr=Hn[0],Kr=Hn[1];r.useEffect(function(){hr(Pn),Kr(pn),ir.current&&(Mn?dt(ar):Tt(lt))},[Pn,pn]);var Vr=r.useState(0),Nr=(0,V.Z)(Vr,2),Cr=Nr[0],xr=Nr[1],Or=Cr>=bn.length-1||ur!=="horizontal"||He;r.useEffect(function(){Mn&&Jn(_t)},[_t]),r.useEffect(function(){return ir.current=!0,function(){ir.current=!1}},[]);var mr=U(),kr=mr.registerPath,Er=mr.unregisterPath,Fr=mr.refreshOverflowKeys,Dr=mr.isSubPathKey,Hr=mr.getKeyPath,Br=mr.getKeys,$r=mr.getSubPathKeys,Tr=r.useMemo(function(){return{registerPath:kr,unregisterPath:Er}},[kr,Er]),Sr=r.useMemo(function(){return{isSubPathKey:Dr}},[Dr]);r.useEffect(function(){Fr(Or?lt:bn.slice(Cr+1).map(function(nr){return nr.key}))},[Cr,Or]);var In=(0,s.Z)(te||ae&&((Ce=bn[0])===null||Ce===void 0?void 0:Ce.key),{value:te}),dn=(0,V.Z)(In,2),Wn=dn[0],Qn=dn[1],qn=Z(function(nr){Qn(nr)}),er=Z(function(){Qn(void 0)});(0,r.useImperativeHandle)(he,function(){return{list:Gn.current,focus:function(Un){var Yn,_r=Br(),cr=ie(_r,an),br=cr.elements,Xr=cr.key2element,ei=cr.element2key,ti=j(Gn.current,br),Jr=Wn!=null?Wn:ti[0]?ei.get(ti[0]):(Yn=bn.find(function(Wr){return!Wr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Ar=Xr.get(Jr);if(Jr&&Ar){var jr;Ar==null||(jr=Ar.focus)===null||jr===void 0||jr.call(Ar,Un)}}}});var sr=(0,s.Z)(Pe||[],{value:ee,postState:function(Un){return Array.isArray(Un)?Un:Un==null?lt:[Un]}}),pr=(0,V.Z)(sr,2),vr=pr[0],wr=pr[1],yr=function(Un){if(oe){var Yn=Un.key,_r=vr.includes(Yn),cr;we?_r?cr=vr.filter(function(Xr){return Xr!==Yn}):cr=[].concat((0,J.Z)(vr),[Yn]):cr=[Yn],wr(cr);var br=(0,W.Z)((0,W.Z)({},Un),{},{selectedKeys:cr});_r?pe==null||pe(br):se==null||se(br)}!we&&_t.length&&ur!=="inline"&&Tt(lt)},Rr=Z(function(nr){sn==null||sn(it(nr)),yr(nr)}),or=Z(function(nr,Un){var Yn=_t.filter(function(cr){return cr!==nr});if(Un)Yn.push(nr);else if(ur!=="inline"){var _r=$r(nr);Yn=Yn.filter(function(cr){return!_r.has(cr)})}(0,c.Z)(_t,Yn,!0)||Tt(Yn,!0)}),Ir=function(Un,Yn){var _r=Yn!=null?Yn:!_t.includes(Un);or(Un,_r)},Gr=fe(ur,Wn,Dn,an,Gn,Br,Hr,Qn,Ir,Tn);r.useEffect(function(){rr(!0)},[]);var zr=r.useMemo(function(){return{_internalRenderMenuItem:Vt,_internalRenderSubMenuItem:mt}},[Vt,mt]),Yr=ur!=="horizontal"||He?bn:bn.map(function(nr,Un){return r.createElement(l,{key:nr.key,overflowDisabled:Un>Cr},nr)}),qr=r.createElement(e.Z,(0,O.Z)({id:Dt,ref:Gn,prefixCls:"".concat(ke,"-overflow"),component:"ul",itemComponent:Qt,className:G()(ke,"".concat(ke,"-root"),"".concat(ke,"-").concat(ur),st,(0,T.Z)((0,T.Z)({},"".concat(ke,"-inline-collapsed"),Lr),"".concat(ke,"-rtl"),Dn),Ie),dir:Lt,style:Ue,role:"menu",tabIndex:ht,data:Yr,renderRawItem:function(Un){return Un},renderRawRest:function(Un){var Yn=Un.length,_r=Yn?bn.slice(-Yn):null;return r.createElement(X,{eventKey:N,title:rn,disabled:Or,internalPopupClose:Yn===0,popupClassName:Jt},_r)},maxCount:ur!=="horizontal"||He?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Un){xr(Un)},onKeyDown:Gr},Bt));return r.createElement(g.Provider,{value:zr},r.createElement(o.Provider,{value:an},r.createElement(l,{prefixCls:ke,rootClassName:Ie,mode:ur,openKeys:_t,rtl:Dn,disabled:Qe,motion:tr?qe:null,defaultMotions:tr?Ct:null,activeKey:Wn,onActive:qn,onInactive:er,selectedKeys:vr,inlineIndent:Re,subMenuOpenDelay:en,subMenuCloseDelay:vn,forceSubMenuRender:Rn,builtinPlacements:xt,triggerSubMenuAction:Kt,getPopupContainer:Xt,itemIcon:Ft,expandIcon:nn,onItemClick:Rr,onOpenChange:or},r.createElement(B.Provider,{value:Sr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(I.Provider,{value:Tr},zn)))))}),At=et,Je=At;Je.Item=Qt,Je.SubMenu=X,Je.ItemGroup=tt,Je.Divider=Te;var nt=Je},11780:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return w}});var O=u(72308),T=u(77321),W=u(52487),J=u(74416),V=u(59301),_=u(92310),H=u.n(_),G=u(29301),e=u(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],c=void 0;function t(n,i){var y=n.prefixCls,K=n.invalidate,ue=n.item,Ee=n.renderItem,Ze=n.responsive,Ve=n.responsiveDisabled,rt=n.registerSize,Zt=n.itemKey,xe=n.className,Ye=n.style,Ot=n.children,Ae=n.display,Oe=n.order,le=n.component,E=le===void 0?"div":le,j=(0,J.Z)(n,s),D=Ze&&!Ae;function ie(z){rt(Zt,z)}V.useEffect(function(){return function(){ie(null)}},[]);var fe=Ee&&ue!==c?Ee(ue,{index:Oe}):Ot,R;K||(R={opacity:D?0:1,height:D?0:c,overflowY:D?"hidden":c,order:Ze?Oe:c,pointerEvents:D?"none":c,position:D?"absolute":c});var m={};D&&(m["aria-hidden"]=!0);var S=V.createElement(E,(0,O.Z)({className:H()(!K&&y,xe),style:(0,T.Z)((0,T.Z)({},R),Ye)},m,j,{ref:i}),fe);return Ze&&(S=V.createElement(G.Z,{onResize:function(N){var U=N.offsetWidth;ie(U)},disabled:Ve},S)),S}var r=V.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),v=u(4676),x=u(16089);function C(n){if(typeof MessageChannel=="undefined")(0,x.Z)(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function h(){var n=V.useRef(null),i=function(K){n.current||(n.current=[],C(function(){(0,v.unstable_batchedUpdates)(function(){n.current.forEach(function(ue){ue()}),n.current=null})})),n.current.push(K)};return i}function p(n,i){var y=V.useState(i),K=(0,W.Z)(y,2),ue=K[0],Ee=K[1],Ze=(0,o.Z)(function(Ve){n(function(){Ee(Ve)})});return[ue,Ze]}var f=V.createContext(null),l=["component"],k=["className"],I=["className"],L=function(i,y){var K=V.useContext(f);if(!K){var ue=i.component,Ee=ue===void 0?"div":ue,Ze=(0,J.Z)(i,l);return V.createElement(Ee,(0,O.Z)({},Ze,{ref:y}))}var Ve=K.className,rt=(0,J.Z)(K,k),Zt=i.className,xe=(0,J.Z)(i,I);return V.createElement(f.Provider,{value:null},V.createElement(a,(0,O.Z)({ref:y,className:H()(Ve,Zt)},rt,xe)))},F=V.forwardRef(L);F.displayName="RawItem";var Y=F,B=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ge="responsive",g="invalidate";function d(n){return"+ ".concat(n.length," ...")}function b(n,i){var y=n.prefixCls,K=y===void 0?"rc-overflow":y,ue=n.data,Ee=ue===void 0?[]:ue,Ze=n.renderItem,Ve=n.renderRawItem,rt=n.itemKey,Zt=n.itemWidth,xe=Zt===void 0?10:Zt,Ye=n.ssr,Ot=n.style,Ae=n.className,Oe=n.maxCount,le=n.renderRest,E=n.renderRawRest,j=n.suffix,D=n.component,ie=D===void 0?"div":D,fe=n.itemComponent,R=n.onVisibleChange,m=(0,J.Z)(n,B),S=Ye==="full",z=h(),N=p(z,null),U=(0,W.Z)(N,2),Z=U[0],q=U[1],Q=Z||0,ce=p(z,new Map),be=(0,W.Z)(ce,2),ye=be[0],Ke=be[1],Me=p(z,0),Fe=(0,W.Z)(Me,2),ft=Fe[0],je=Fe[1],ze=p(z,0),Nt=(0,W.Z)(ze,2),It=Nt[0],it=Nt[1],jt=p(z,0),hn=(0,W.Z)(jt,2),St=hn[0],vt=hn[1],Rt=(0,V.useState)(null),on=(0,W.Z)(Rt,2),Qt=on[0],qt=on[1],En=(0,V.useState)(null),fn=(0,W.Z)(En,2),We=fn[0],gt=fn[1],Gt=V.useMemo(function(){return We===null&&S?Number.MAX_SAFE_INTEGER:We||0},[We,Z]),mn=(0,V.useState)(!1),Wt=(0,W.Z)(mn,2),kn=Wt[0],Vn=Wt[1],Sn="".concat(K,"-item"),Yt=Math.max(ft,It),Nn=Oe===ge,xn=Ee.length&&Nn,On=Oe===g,gn=xn||typeof Oe=="number"&&Ee.length>Oe,Cn=(0,V.useMemo)(function(){var Je=Ee;return xn?Z===null&&S?Je=Ee:Je=Ee.slice(0,Math.min(Ee.length,Q/xe)):typeof Oe=="number"&&(Je=Ee.slice(0,Oe)),Je},[Ee,xe,Z,Oe,xn]),An=(0,V.useMemo)(function(){return xn?Ee.slice(Gt+1):Ee.slice(Cn.length)},[Ee,Cn,xn,Gt]),Zn=(0,V.useCallback)(function(Je,nt){var $;return typeof rt=="function"?rt(Je):($=rt&&(Je==null?void 0:Je[rt]))!==null&&$!==void 0?$:nt},[rt]),ne=(0,V.useCallback)(Ze||function(Je){return Je},[Ze]);function X(Je,nt,$){We===Je&&(nt===void 0||nt===Qt)||(gt(Je),$||(Vn(Je<Ee.length-1),R==null||R(Je)),nt!==void 0&&qt(nt))}function $e(Je,nt){q(nt.clientWidth)}function Te(Je,nt){Ke(function($){var he=new Map($);return nt===null?he.delete(Je):he.set(Je,nt),he})}function Ge(Je,nt){it(nt),je(It)}function Xe(Je,nt){vt(nt)}function ot(Je){return ye.get(Zn(Cn[Je],Je))}(0,e.Z)(function(){if(Q&&typeof Yt=="number"&&Cn){var Je=St,nt=Cn.length,$=nt-1;if(!nt){X(0,null);return}for(var he=0;he<nt;he+=1){var Ce=ot(he);if(S&&(Ce=Ce||0),Ce===void 0){X(he-1,void 0,!0);break}if(Je+=Ce,$===0&&Je<=Q||he===$-1&&Je+ot($)<=Q){X($,null);break}else if(Je+Yt>Q){X(he-1,Je-Ce-St+It);break}}j&&ot(0)+St>Q&&qt(null)}},[Q,ye,It,St,Zn,Cn]);var tt=kn&&!!An.length,Pt={};Qt!==null&&xn&&(Pt={position:"absolute",left:Qt,top:0});var Se={prefixCls:Sn,responsive:xn,component:fe,invalidate:On},me=Ve?function(Je,nt){var $=Zn(Je,nt);return V.createElement(f.Provider,{key:$,value:(0,T.Z)((0,T.Z)({},Se),{},{order:nt,item:Je,itemKey:$,registerSize:Te,display:nt<=Gt})},Ve(Je,nt))}:function(Je,nt){var $=Zn(Je,nt);return V.createElement(a,(0,O.Z)({},Se,{order:nt,key:$,item:Je,renderItem:ne,itemKey:$,registerSize:Te,display:nt<=Gt}))},Be={order:tt?Gt:Number.MAX_SAFE_INTEGER,className:"".concat(Sn,"-rest"),registerSize:Ge,display:tt},lt=le||d,et=E?V.createElement(f.Provider,{value:(0,T.Z)((0,T.Z)({},Se),Be)},E(An)):V.createElement(a,(0,O.Z)({},Se,Be),typeof lt=="function"?lt(An):lt),At=V.createElement(ie,(0,O.Z)({className:H()(!On&&K,Ae),style:Ot,ref:i},m),Cn.map(me),gn?et:null,j&&V.createElement(a,(0,O.Z)({},Se,{responsive:Nn,responsiveDisabled:!xn,order:Gt,className:"".concat(Sn,"-suffix"),registerSize:Xe,display:!0,style:Pt}),j));return Nn?V.createElement(G.Z,{onResize:$e,disabled:!xn},At):At}var P=V.forwardRef(b);P.displayName="Overflow",P.Item=Y,P.RESPONSIVE=ge,P.INVALIDATE=g;var A=P,w=A},23425:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return I}});var O=u(49618),T=u(72308),W=u(62853),J=u(77321),V=u(52487),_=u(92310),H=u.n(_),G=u(18929),e=u(10228),s=u(26112),c=u(48736),t=u(59301),r=u(17119),a=[10,20,50,100],o=function(F){var Y=F.pageSizeOptions,B=Y===void 0?a:Y,ge=F.locale,g=F.changeSize,d=F.pageSize,b=F.goButton,P=F.quickGo,A=F.rootPrefixCls,w=F.disabled,n=F.buildOptionText,i=F.showSizeChanger,y=F.sizeChangerRender,K=t.useState(""),ue=(0,V.Z)(K,2),Ee=ue[0],Ze=ue[1],Ve=function(){return!Ee||Number.isNaN(Ee)?void 0:Number(Ee)},rt=typeof n=="function"?n:function(j){return"".concat(j," ").concat(ge.items_per_page)},Zt=function(D){Ze(D.target.value)},xe=function(D){b||Ee===""||(Ze(""),!(D.relatedTarget&&(D.relatedTarget.className.indexOf("".concat(A,"-item-link"))>=0||D.relatedTarget.className.indexOf("".concat(A,"-item"))>=0))&&(P==null||P(Ve())))},Ye=function(D){Ee!==""&&(D.keyCode===e.Z.ENTER||D.type==="click")&&(Ze(""),P==null||P(Ve()))},Ot=function(){return B.some(function(D){return D.toString()===d.toString()})?B:B.concat([d]).sort(function(D,ie){var fe=Number.isNaN(Number(D))?0:Number(D),R=Number.isNaN(Number(ie))?0:Number(ie);return fe-R})},Ae="".concat(A,"-options");if(!i&&!P)return null;var Oe=null,le=null,E=null;return i&&y&&(Oe=y({disabled:w,size:d,onSizeChange:function(D){g==null||g(Number(D))},"aria-label":ge.page_size,className:"".concat(Ae,"-size-changer"),options:Ot().map(function(j){return{label:rt(j),value:j}})})),P&&(b&&(E=typeof b=="boolean"?t.createElement("button",{type:"button",onClick:Ye,onKeyUp:Ye,disabled:w,className:"".concat(Ae,"-quick-jumper-button")},ge.jump_to_confirm):t.createElement("span",{onClick:Ye,onKeyUp:Ye},b)),le=t.createElement("div",{className:"".concat(Ae,"-quick-jumper")},ge.jump_to,t.createElement("input",{disabled:w,type:"text",value:Ee,onChange:Zt,onKeyUp:Ye,onBlur:xe,"aria-label":ge.page}),ge.page,E)),t.createElement("li",{className:Ae},Oe,le)},v=o,x=function(F){var Y=F.rootPrefixCls,B=F.page,ge=F.active,g=F.className,d=F.showTitle,b=F.onClick,P=F.onKeyPress,A=F.itemRender,w="".concat(Y,"-item"),n=H()(w,"".concat(w,"-").concat(B),(0,O.Z)((0,O.Z)({},"".concat(w,"-active"),ge),"".concat(w,"-disabled"),!B),g),i=function(){b(B)},y=function(Ee){P(Ee,b,B)},K=A(B,"page",t.createElement("a",{rel:"nofollow"},B));return K?t.createElement("li",{title:d?String(B):null,className:n,onClick:i,onKeyDown:y,tabIndex:0},K):null},C=x,h=function(F,Y,B){return B};function p(){}function f(L){var F=Number(L);return typeof F=="number"&&!Number.isNaN(F)&&isFinite(F)&&Math.floor(F)===F}function l(L,F,Y){var B=typeof L=="undefined"?F:L;return Math.floor((Y-1)/B)+1}var k=function(F){var Y=F.prefixCls,B=Y===void 0?"rc-pagination":Y,ge=F.selectPrefixCls,g=ge===void 0?"rc-select":ge,d=F.className,b=F.current,P=F.defaultCurrent,A=P===void 0?1:P,w=F.total,n=w===void 0?0:w,i=F.pageSize,y=F.defaultPageSize,K=y===void 0?10:y,ue=F.onChange,Ee=ue===void 0?p:ue,Ze=F.hideOnSinglePage,Ve=F.align,rt=F.showPrevNextJumpers,Zt=rt===void 0?!0:rt,xe=F.showQuickJumper,Ye=F.showLessItems,Ot=F.showTitle,Ae=Ot===void 0?!0:Ot,Oe=F.onShowSizeChange,le=Oe===void 0?p:Oe,E=F.locale,j=E===void 0?r.Z:E,D=F.style,ie=F.totalBoundaryShowSizeChanger,fe=ie===void 0?50:ie,R=F.disabled,m=F.simple,S=F.showTotal,z=F.showSizeChanger,N=z===void 0?n>fe:z,U=F.sizeChangerRender,Z=F.pageSizeOptions,q=F.itemRender,Q=q===void 0?h:q,ce=F.jumpPrevIcon,be=F.jumpNextIcon,ye=F.prevIcon,Ke=F.nextIcon,Me=t.useRef(null),Fe=(0,G.Z)(10,{value:i,defaultValue:K}),ft=(0,V.Z)(Fe,2),je=ft[0],ze=ft[1],Nt=(0,G.Z)(1,{value:b,defaultValue:A,postState:function(He){return Math.max(1,Math.min(He,l(void 0,je,n)))}}),It=(0,V.Z)(Nt,2),it=It[0],jt=It[1],hn=t.useState(it),St=(0,V.Z)(hn,2),vt=St[0],Rt=St[1];(0,t.useEffect)(function(){Rt(it)},[it]);var on=Ee!==p,Qt="current"in F,qt=Math.max(1,it-(Ye?3:5)),En=Math.min(l(void 0,je,n),it+(Ye?3:5));function fn(Qe,He){var at=Qe||t.createElement("button",{type:"button","aria-label":He,className:"".concat(B,"-item-link")});return typeof Qe=="function"&&(at=t.createElement(Qe,(0,J.Z)({},F))),at}function We(Qe){var He=Qe.target.value,at=l(void 0,je,n),en;return He===""?en=He:Number.isNaN(Number(He))?en=vt:He>=at?en=at:en=Number(He),en}function gt(Qe){return f(Qe)&&Qe!==it&&f(n)&&n>0}var Gt=n>je?xe:!1;function mn(Qe){(Qe.keyCode===e.Z.UP||Qe.keyCode===e.Z.DOWN)&&Qe.preventDefault()}function Wt(Qe){var He=We(Qe);switch(He!==vt&&Rt(He),Qe.keyCode){case e.Z.ENTER:Sn(He);break;case e.Z.UP:Sn(He-1);break;case e.Z.DOWN:Sn(He+1);break;default:break}}function kn(Qe){Sn(We(Qe))}function Vn(Qe){var He=l(Qe,je,n),at=it>He&&He!==0?He:it;ze(Qe),Rt(at),le==null||le(it,Qe),jt(at),Ee==null||Ee(at,Qe)}function Sn(Qe){if(gt(Qe)&&!R){var He=l(void 0,je,n),at=Qe;return Qe>He?at=He:Qe<1&&(at=1),at!==vt&&Rt(at),jt(at),Ee==null||Ee(at,je),at}return it}var Yt=it>1,Nn=it<l(void 0,je,n);function xn(){Yt&&Sn(it-1)}function On(){Nn&&Sn(it+1)}function gn(){Sn(qt)}function Cn(){Sn(En)}function An(Qe,He){if(Qe.key==="Enter"||Qe.charCode===e.Z.ENTER||Qe.keyCode===e.Z.ENTER){for(var at=arguments.length,en=new Array(at>2?at-2:0),ln=2;ln<at;ln++)en[ln-2]=arguments[ln];He.apply(void 0,en)}}function Zn(Qe){An(Qe,xn)}function ne(Qe){An(Qe,On)}function X(Qe){An(Qe,gn)}function $e(Qe){An(Qe,Cn)}function Te(Qe){var He=Q(Qe,"prev",fn(ye,"prev page"));return t.isValidElement(He)?t.cloneElement(He,{disabled:!Yt}):He}function Ge(Qe){var He=Q(Qe,"next",fn(Ke,"next page"));return t.isValidElement(He)?t.cloneElement(He,{disabled:!Nn}):He}function Xe(Qe){(Qe.type==="click"||Qe.keyCode===e.Z.ENTER)&&Sn(vt)}var ot=null,tt=(0,s.Z)(F,{aria:!0,data:!0}),Pt=S&&t.createElement("li",{className:"".concat(B,"-total-text")},S(n,[n===0?0:(it-1)*je+1,it*je>n?n:it*je])),Se=null,me=l(void 0,je,n);if(Ze&&n<=je)return null;var Be=[],lt={rootPrefixCls:B,onClick:Sn,onKeyPress:An,showTitle:Ae,itemRender:Q,page:-1},et=it-1>0?it-1:0,At=it+1<me?it+1:me,Je=xe&&xe.goButton,nt=(0,W.Z)(m)==="object"?m.readOnly:!m,$=Je,he=null;m&&(Je&&(typeof Je=="boolean"?$=t.createElement("button",{type:"button",onClick:Xe,onKeyUp:Xe},j.jump_to_confirm):$=t.createElement("span",{onClick:Xe,onKeyUp:Xe},Je),$=t.createElement("li",{title:Ae?"".concat(j.jump_to).concat(it,"/").concat(me):null,className:"".concat(B,"-simple-pager")},$)),he=t.createElement("li",{title:Ae?"".concat(it,"/").concat(me):null,className:"".concat(B,"-simple-pager")},nt?vt:t.createElement("input",{type:"text","aria-label":j.jump_to,value:vt,disabled:R,onKeyDown:mn,onKeyUp:Wt,onChange:Wt,onBlur:kn,size:3}),t.createElement("span",{className:"".concat(B,"-slash")},"/"),me));var Ce=Ye?1:2;if(me<=3+Ce*2){me||Be.push(t.createElement(C,(0,T.Z)({},lt,{key:"noPager",page:1,className:"".concat(B,"-item-disabled")})));for(var de=1;de<=me;de+=1)Be.push(t.createElement(C,(0,T.Z)({},lt,{key:de,page:de,active:it===de})))}else{var Ne=Ye?j.prev_3:j.prev_5,ke=Ye?j.next_3:j.next_5,Ie=Q(qt,"jump-prev",fn(ce,"prev page")),Ue=Q(En,"jump-next",fn(be,"next page"));Zt&&(ot=Ie?t.createElement("li",{title:Ae?Ne:null,key:"prev",onClick:gn,tabIndex:0,onKeyDown:X,className:H()("".concat(B,"-jump-prev"),(0,O.Z)({},"".concat(B,"-jump-prev-custom-icon"),!!ce))},Ie):null,Se=Ue?t.createElement("li",{title:Ae?ke:null,key:"next",onClick:Cn,tabIndex:0,onKeyDown:$e,className:H()("".concat(B,"-jump-next"),(0,O.Z)({},"".concat(B,"-jump-next-custom-icon"),!!be))},Ue):null);var st=Math.max(1,it-Ce),ct=Math.min(it+Ce,me);it-1<=Ce&&(ct=1+Ce*2),me-it<=Ce&&(st=me-Ce*2);for(var ht=st;ht<=ct;ht+=1)Be.push(t.createElement(C,(0,T.Z)({},lt,{key:ht,page:ht,active:it===ht})));if(it-1>=Ce*2&&it!==3&&(Be[0]=t.cloneElement(Be[0],{className:H()("".concat(B,"-item-after-jump-prev"),Be[0].props.className)}),Be.unshift(ot)),me-it>=Ce*2&&it!==me-2){var ut=Be[Be.length-1];Be[Be.length-1]=t.cloneElement(ut,{className:H()("".concat(B,"-item-before-jump-next"),ut.props.className)}),Be.push(Se)}st!==1&&Be.unshift(t.createElement(C,(0,T.Z)({},lt,{key:1,page:1}))),ct!==me&&Be.push(t.createElement(C,(0,T.Z)({},lt,{key:me,page:me})))}var kt=Te(et);if(kt){var Lt=!Yt||!me;kt=t.createElement("li",{title:Ae?j.prev_page:null,onClick:xn,tabIndex:Lt?null:0,onKeyDown:Zn,className:H()("".concat(B,"-prev"),(0,O.Z)({},"".concat(B,"-disabled"),Lt)),"aria-disabled":Lt},kt)}var Dt=Ge(At);if(Dt){var bt,wt;m?(bt=!Nn,wt=Yt?0:null):(bt=!Nn||!me,wt=bt?null:0),Dt=t.createElement("li",{title:Ae?j.next_page:null,onClick:On,tabIndex:wt,onKeyDown:ne,className:H()("".concat(B,"-next"),(0,O.Z)({},"".concat(B,"-disabled"),bt)),"aria-disabled":bt},Dt)}var $t=H()(B,d,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(B,"-start"),Ve==="start"),"".concat(B,"-center"),Ve==="center"),"".concat(B,"-end"),Ve==="end"),"".concat(B,"-simple"),m),"".concat(B,"-disabled"),R));return t.createElement("ul",(0,T.Z)({className:$t,style:D,ref:Me},tt),Pt,kt,m?he:Be,Dt,t.createElement(v,{locale:j,rootPrefixCls:B,disabled:R,selectPrefixCls:g,changeSize:Vn,pageSize:je,pageSizeOptions:Z,quickGo:Gt?Sn:null,goButton:$,showSizeChanger:N,sizeChangerRender:U}))},I=k},29301:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return g}});var O=u(72308),T=u(59301),W=u(11592),J=u(48736),V=u(77321),_=u(62853),H=u(76846),G=u(8654),e=T.createContext(null);function s(d){var b=d.children,P=d.onBatchResize,A=T.useRef(0),w=T.useRef([]),n=T.useContext(e),i=T.useCallback(function(y,K,ue){A.current+=1;var Ee=A.current;w.current.push({size:y,element:K,data:ue}),Promise.resolve().then(function(){Ee===A.current&&(P==null||P(w.current),w.current=[])}),n==null||n(y,K,ue)},[P,n]);return T.createElement(e.Provider,{value:i},b)}var c=u(76374),t=new Map;function r(d){d.forEach(function(b){var P,A=b.target;(P=t.get(A))===null||P===void 0||P.forEach(function(w){return w(A)})})}var a=new c.Z(r),o=null,v=null;function x(d,b){t.has(d)||(t.set(d,new Set),a.observe(d)),t.get(d).add(b)}function C(d,b){t.has(d)&&(t.get(d).delete(b),t.get(d).size||(a.unobserve(d),t.delete(d)))}var h=u(96949),p=u(55090),f=u(77205),l=u(38793),k=function(d){(0,f.Z)(P,d);var b=(0,l.Z)(P);function P(){return(0,h.Z)(this,P),b.apply(this,arguments)}return(0,p.Z)(P,[{key:"render",value:function(){return this.props.children}}]),P}(T.Component);function I(d,b){var P=d.children,A=d.disabled,w=T.useRef(null),n=T.useRef(null),i=T.useContext(e),y=typeof P=="function",K=y?P(w):P,ue=T.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ee=!y&&T.isValidElement(K)&&(0,G.Yr)(K),Ze=Ee?(0,G.C4)(K):null,Ve=(0,G.x1)(Ze,w),rt=function(){var Ot;return(0,H.ZP)(w.current)||(w.current&&(0,_.Z)(w.current)==="object"?(0,H.ZP)((Ot=w.current)===null||Ot===void 0?void 0:Ot.nativeElement):null)||(0,H.ZP)(n.current)};T.useImperativeHandle(b,function(){return rt()});var Zt=T.useRef(d);Zt.current=d;var xe=T.useCallback(function(Ye){var Ot=Zt.current,Ae=Ot.onResize,Oe=Ot.data,le=Ye.getBoundingClientRect(),E=le.width,j=le.height,D=Ye.offsetWidth,ie=Ye.offsetHeight,fe=Math.floor(E),R=Math.floor(j);if(ue.current.width!==fe||ue.current.height!==R||ue.current.offsetWidth!==D||ue.current.offsetHeight!==ie){var m={width:fe,height:R,offsetWidth:D,offsetHeight:ie};ue.current=m;var S=D===Math.round(E)?E:D,z=ie===Math.round(j)?j:ie,N=(0,V.Z)((0,V.Z)({},m),{},{offsetWidth:S,offsetHeight:z});i==null||i(N,Ye,Oe),Ae&&Promise.resolve().then(function(){Ae(N,Ye)})}},[]);return T.useEffect(function(){var Ye=rt();return Ye&&!A&&x(Ye,xe),function(){return C(Ye,xe)}},[w.current,A]),T.createElement(k,{ref:n},Ee?T.cloneElement(K,{ref:Ve}):K)}var L=T.forwardRef(I),F=L,Y="rc-observer-key";function B(d,b){var P=d.children,A=typeof P=="function"?[P]:(0,W.Z)(P);return A.map(function(w,n){var i=(w==null?void 0:w.key)||"".concat(Y,"-").concat(n);return T.createElement(F,(0,O.Z)({},d,{key:i,ref:n===0?b:void 0}),w)})}var ge=T.forwardRef(B);ge.Collection=s;var g=ge},69582:function(zt,Le,u){"use strict";u.d(Le,{ZP:function(){return H}});var O=u(52487),T=u(59301),W=u(47273),J=0,V=(0,W.Z)();function _(){var G;return V?(G=J,J+=1):G="TEST_OR_SSR",G}function H(G){var e=T.useState(),s=(0,O.Z)(e,2),c=s[0],t=s[1];return T.useEffect(function(){t("rc_select_".concat(_()))},[]),G||c}},45560:function(zt,Le,u){"use strict";u.d(Le,{Ac:function(){return ye},Xo:function(){return Me},Wx:function(){return ft},ZP:function(){return Zn},lk:function(){return p}});var O=u(72308),T=u(80702),W=u(49618),J=u(77321),V=u(52487),_=u(74416),H=u(62853),G=u(18929),e=u(48736),s=u(59301),c=u(92310),t=u.n(c),r=u(34280),a=u(49658),o=u(8654),v=function(X){var $e=X.className,Te=X.customizeIcon,Ge=X.customizeIconProps,Xe=X.children,ot=X.onMouseDown,tt=X.onClick,Pt=typeof Te=="function"?Te(Ge):Te;return s.createElement("span",{className:$e,onMouseDown:function(me){me.preventDefault(),ot==null||ot(me)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:tt,"aria-hidden":!0},Pt!==void 0?Pt:s.createElement("span",{className:t()($e.split(/\s+/).map(function(Se){return"".concat(Se,"-icon")}))},Xe))},x=v,C=function(X,$e,Te,Ge,Xe){var ot=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,tt=arguments.length>6?arguments[6]:void 0,Pt=arguments.length>7?arguments[7]:void 0,Se=s.useMemo(function(){if((0,H.Z)(Ge)==="object")return Ge.clearIcon;if(Xe)return Xe},[Ge,Xe]),me=s.useMemo(function(){return!!(!ot&&Ge&&(Te.length||tt)&&!(Pt==="combobox"&&tt===""))},[Ge,ot,Te.length,tt,Pt]);return{allowClear:me,clearIcon:s.createElement(x,{className:"".concat(X,"-clear"),onMouseDown:$e,customizeIcon:Se},"\xD7")}},h=s.createContext(null);function p(){return s.useContext(h)}function f(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,X=s.useState(!1),$e=(0,V.Z)(X,2),Te=$e[0],Ge=$e[1],Xe=s.useRef(null),ot=function(){window.clearTimeout(Xe.current)};s.useEffect(function(){return ot},[]);var tt=function(Se,me){ot(),Xe.current=window.setTimeout(function(){Ge(Se),me&&me()},ne)};return[Te,tt,ot]}function l(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,X=s.useRef(null),$e=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout($e.current)}},[]);function Te(Ge){(Ge||X.current===null)&&(X.current=Ge),window.clearTimeout($e.current),$e.current=window.setTimeout(function(){X.current=null},ne)}return[function(){return X.current},Te]}function k(ne,X,$e,Te){var Ge=s.useRef(null);Ge.current={open:X,triggerOpen:$e,customizedTrigger:Te},s.useEffect(function(){function Xe(ot){var tt;if(!((tt=Ge.current)!==null&&tt!==void 0&&tt.customizedTrigger)){var Pt=ot.target;Pt.shadowRoot&&ot.composed&&(Pt=ot.composedPath()[0]||Pt),Ge.current.open&&ne().filter(function(Se){return Se}).every(function(Se){return!Se.contains(Pt)&&Se!==Pt})&&Ge.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Xe),function(){return window.removeEventListener("mousedown",Xe)}},[])}var I=u(10228);function L(ne){return ne&&![I.Z.ESC,I.Z.SHIFT,I.Z.BACKSPACE,I.Z.TAB,I.Z.WIN_KEY,I.Z.ALT,I.Z.META,I.Z.WIN_KEY_RIGHT,I.Z.CTRL,I.Z.SEMICOLON,I.Z.EQUALS,I.Z.CAPS_LOCK,I.Z.CONTEXT_MENU,I.Z.F1,I.Z.F2,I.Z.F3,I.Z.F4,I.Z.F5,I.Z.F6,I.Z.F7,I.Z.F8,I.Z.F9,I.Z.F10,I.Z.F11,I.Z.F12].includes(ne)}var F=u(26112),Y=u(11780),B=function(X,$e){var Te,Ge=X.prefixCls,Xe=X.id,ot=X.inputElement,tt=X.disabled,Pt=X.tabIndex,Se=X.autoFocus,me=X.autoComplete,Be=X.editable,lt=X.activeDescendantId,et=X.value,At=X.maxLength,Je=X.onKeyDown,nt=X.onMouseDown,$=X.onChange,he=X.onPaste,Ce=X.onCompositionStart,de=X.onCompositionEnd,Ne=X.onBlur,ke=X.open,Ie=X.attrs,Ue=ot||s.createElement("input",null),st=Ue,ct=st.ref,ht=st.props,ut=ht.onKeyDown,kt=ht.onChange,Lt=ht.onMouseDown,Dt=ht.onCompositionStart,bt=ht.onCompositionEnd,wt=ht.onBlur,$t=ht.style;return(0,e.Kp)(!("maxLength"in Ue.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ue=s.cloneElement(Ue,(0,J.Z)((0,J.Z)((0,J.Z)({type:"search"},ht),{},{id:Xe,ref:(0,o.sQ)($e,ct),disabled:tt,tabIndex:Pt,autoComplete:me||"off",autoFocus:Se,className:t()("".concat(Ge,"-selection-search-input"),(Te=Ue)===null||Te===void 0||(Te=Te.props)===null||Te===void 0?void 0:Te.className),role:"combobox","aria-expanded":ke||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Xe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Xe,"_list"),"aria-activedescendant":ke?lt:void 0},Ie),{},{value:Be?et:"",maxLength:At,readOnly:!Be,unselectable:Be?null:"on",style:(0,J.Z)((0,J.Z)({},$t),{},{opacity:Be?null:0}),onKeyDown:function(He){Je(He),ut&&ut(He)},onMouseDown:function(He){nt(He),Lt&&Lt(He)},onChange:function(He){$(He),kt&&kt(He)},onCompositionStart:function(He){Ce(He),Dt&&Dt(He)},onCompositionEnd:function(He){de(He),bt&&bt(He)},onPaste:he,onBlur:function(He){Ne(He),wt&&wt(He)}})),Ue},ge=s.forwardRef(B),g=ge;function d(ne){return Array.isArray(ne)?ne:ne!==void 0?[ne]:[]}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,P=b;function A(ne){return ne!=null}function w(ne){return!ne&&ne!==0}function n(ne){return["string","number"].includes((0,H.Z)(ne))}function i(ne){var X=void 0;return ne&&(n(ne.title)?X=ne.title.toString():n(ne.label)&&(X=ne.label.toString())),X}function y(ne,X){P?s.useLayoutEffect(ne,X):s.useEffect(ne,X)}function K(ne){var X;return(X=ne.key)!==null&&X!==void 0?X:ne.value}var ue=function(X){X.preventDefault(),X.stopPropagation()},Ee=function(X){var $e=X.id,Te=X.prefixCls,Ge=X.values,Xe=X.open,ot=X.searchValue,tt=X.autoClearSearchValue,Pt=X.inputRef,Se=X.placeholder,me=X.disabled,Be=X.mode,lt=X.showSearch,et=X.autoFocus,At=X.autoComplete,Je=X.activeDescendantId,nt=X.tabIndex,$=X.removeIcon,he=X.maxTagCount,Ce=X.maxTagTextLength,de=X.maxTagPlaceholder,Ne=de===void 0?function(Pe){return"+ ".concat(Pe.length," ...")}:de,ke=X.tagRender,Ie=X.onToggleOpen,Ue=X.onRemove,st=X.onInputChange,ct=X.onInputPaste,ht=X.onInputKeyDown,ut=X.onInputMouseDown,kt=X.onInputCompositionStart,Lt=X.onInputCompositionEnd,Dt=X.onInputBlur,bt=s.useRef(null),wt=(0,s.useState)(0),$t=(0,V.Z)(wt,2),Qe=$t[0],He=$t[1],at=(0,s.useState)(!1),en=(0,V.Z)(at,2),ln=en[0],vn=en[1],Rn="".concat(Te,"-selection"),M=Xe||Be==="multiple"&&tt===!1||Be==="tags"?ot:"",re=Be==="tags"||Be==="multiple"&&tt===!1||lt&&(Xe||ln);y(function(){He(bt.current.scrollWidth)},[M]);var te=function(ee,se,pe,De,Re){return s.createElement("span",{title:i(ee),className:t()("".concat(Rn,"-item"),(0,W.Z)({},"".concat(Rn,"-item-disabled"),pe))},s.createElement("span",{className:"".concat(Rn,"-item-content")},se),De&&s.createElement(x,{className:"".concat(Rn,"-item-remove"),onMouseDown:ue,onClick:Re,customizeIcon:$},"\xD7"))},ae=function(ee,se,pe,De,Re,qe){var Ct=function(Kt){ue(Kt),Ie(!Xe)};return s.createElement("span",{onMouseDown:Ct},ke({label:se,value:ee,disabled:pe,closable:De,onClose:Re,isMaxTag:!!qe}))},_e=function(ee){var se=ee.disabled,pe=ee.label,De=ee.value,Re=!me&&!se,qe=pe;if(typeof Ce=="number"&&(typeof pe=="string"||typeof pe=="number")){var Ct=String(qe);Ct.length>Ce&&(qe="".concat(Ct.slice(0,Ce),"..."))}var yt=function(xt){xt&&xt.stopPropagation(),Ue(ee)};return typeof ke=="function"?ae(De,qe,se,Re,yt):te(ee,qe,se,Re,yt)},oe=function(ee){if(!Ge.length)return null;var se=typeof Ne=="function"?Ne(ee):Ne;return typeof ke=="function"?ae(void 0,se,!1,!1,void 0,!0):te({title:se},se,!1)},ve=s.createElement("div",{className:"".concat(Rn,"-search"),style:{width:Qe},onFocus:function(){vn(!0)},onBlur:function(){vn(!1)}},s.createElement(g,{ref:Pt,open:Xe,prefixCls:Te,id:$e,inputElement:null,disabled:me,autoFocus:et,autoComplete:At,editable:re,activeDescendantId:Je,value:M,onKeyDown:ht,onMouseDown:ut,onChange:st,onPaste:ct,onCompositionStart:kt,onCompositionEnd:Lt,onBlur:Dt,tabIndex:nt,attrs:(0,F.Z)(X,!0)}),s.createElement("span",{ref:bt,className:"".concat(Rn,"-search-mirror"),"aria-hidden":!0},M,"\xA0")),we=s.createElement(Y.Z,{prefixCls:"".concat(Rn,"-overflow"),data:Ge,renderItem:_e,renderRest:oe,suffix:ve,itemKey:K,maxCount:he});return s.createElement("span",{className:"".concat(Rn,"-wrap")},we,!Ge.length&&!M&&s.createElement("span",{className:"".concat(Rn,"-placeholder")},Se))},Ze=Ee,Ve=function(X){var $e=X.inputElement,Te=X.prefixCls,Ge=X.id,Xe=X.inputRef,ot=X.disabled,tt=X.autoFocus,Pt=X.autoComplete,Se=X.activeDescendantId,me=X.mode,Be=X.open,lt=X.values,et=X.placeholder,At=X.tabIndex,Je=X.showSearch,nt=X.searchValue,$=X.activeValue,he=X.maxLength,Ce=X.onInputKeyDown,de=X.onInputMouseDown,Ne=X.onInputChange,ke=X.onInputPaste,Ie=X.onInputCompositionStart,Ue=X.onInputCompositionEnd,st=X.onInputBlur,ct=X.title,ht=s.useState(!1),ut=(0,V.Z)(ht,2),kt=ut[0],Lt=ut[1],Dt=me==="combobox",bt=Dt||Je,wt=lt[0],$t=nt||"";Dt&&$&&!kt&&($t=$),s.useEffect(function(){Dt&&Lt(!1)},[Dt,$]);var Qe=me!=="combobox"&&!Be&&!Je?!1:!!$t,He=ct===void 0?i(wt):ct,at=s.useMemo(function(){return wt?null:s.createElement("span",{className:"".concat(Te,"-selection-placeholder"),style:Qe?{visibility:"hidden"}:void 0},et)},[wt,Qe,et,Te]);return s.createElement("span",{className:"".concat(Te,"-selection-wrap")},s.createElement("span",{className:"".concat(Te,"-selection-search")},s.createElement(g,{ref:Xe,prefixCls:Te,id:Ge,open:Be,inputElement:$e,disabled:ot,autoFocus:tt,autoComplete:Pt,editable:bt,activeDescendantId:Se,value:$t,onKeyDown:Ce,onMouseDown:de,onChange:function(ln){Lt(!0),Ne(ln)},onPaste:ke,onCompositionStart:Ie,onCompositionEnd:Ue,onBlur:st,tabIndex:At,attrs:(0,F.Z)(X,!0),maxLength:Dt?he:void 0})),!Dt&&wt?s.createElement("span",{className:"".concat(Te,"-selection-item"),title:He,style:Qe?{visibility:"hidden"}:void 0},wt.label):null,at)},rt=Ve,Zt=function(X,$e){var Te=(0,s.useRef)(null),Ge=(0,s.useRef)(!1),Xe=X.prefixCls,ot=X.open,tt=X.mode,Pt=X.showSearch,Se=X.tokenWithEnter,me=X.disabled,Be=X.prefix,lt=X.autoClearSearchValue,et=X.onSearch,At=X.onSearchSubmit,Je=X.onToggleOpen,nt=X.onInputKeyDown,$=X.onInputBlur,he=X.domRef;s.useImperativeHandle($e,function(){return{focus:function(He){Te.current.focus(He)},blur:function(){Te.current.blur()}}});var Ce=l(0),de=(0,V.Z)(Ce,2),Ne=de[0],ke=de[1],Ie=function(He){var at=He.which,en=Te.current instanceof HTMLTextAreaElement;!en&&ot&&(at===I.Z.UP||at===I.Z.DOWN)&&He.preventDefault(),nt&&nt(He),at===I.Z.ENTER&&tt==="tags"&&!Ge.current&&!ot&&(At==null||At(He.target.value)),!(en&&!ot&&~[I.Z.UP,I.Z.DOWN,I.Z.LEFT,I.Z.RIGHT].indexOf(at))&&L(at)&&Je(!0)},Ue=function(){ke(!0)},st=(0,s.useRef)(null),ct=function(He){et(He,!0,Ge.current)!==!1&&Je(!0)},ht=function(){Ge.current=!0},ut=function(He){Ge.current=!1,tt!=="combobox"&&ct(He.target.value)},kt=function(He){var at=He.target.value;if(Se&&st.current&&/[\r\n]/.test(st.current)){var en=st.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");at=at.replace(en,st.current)}st.current=null,ct(at)},Lt=function(He){var at=He.clipboardData,en=at==null?void 0:at.getData("text");st.current=en||""},Dt=function(He){var at=He.target;if(at!==Te.current){var en=document.body.style.msTouchAction!==void 0;en?setTimeout(function(){Te.current.focus()}):Te.current.focus()}},bt=function(He){var at=Ne();He.target!==Te.current&&!at&&!(tt==="combobox"&&me)&&He.preventDefault(),(tt!=="combobox"&&(!Pt||!at)||!ot)&&(ot&&lt!==!1&&et("",!0,!1),Je())},wt={inputRef:Te,onInputKeyDown:Ie,onInputMouseDown:Ue,onInputChange:kt,onInputPaste:Lt,onInputCompositionStart:ht,onInputCompositionEnd:ut,onInputBlur:$},$t=tt==="multiple"||tt==="tags"?s.createElement(Ze,(0,O.Z)({},X,wt)):s.createElement(rt,(0,O.Z)({},X,wt));return s.createElement("div",{ref:he,className:"".concat(Xe,"-selector"),onClick:Dt,onMouseDown:bt},Be&&s.createElement("div",{className:"".concat(Xe,"-prefix")},Be),$t)},xe=s.forwardRef(Zt),Ye=xe,Ot=u(65352),Ae=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Oe=function(X){var $e=X===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"}}},le=function(X,$e){var Te=X.prefixCls,Ge=X.disabled,Xe=X.visible,ot=X.children,tt=X.popupElement,Pt=X.animation,Se=X.transitionName,me=X.dropdownStyle,Be=X.dropdownClassName,lt=X.direction,et=lt===void 0?"ltr":lt,At=X.placement,Je=X.builtinPlacements,nt=X.dropdownMatchSelectWidth,$=X.dropdownRender,he=X.dropdownAlign,Ce=X.getPopupContainer,de=X.empty,Ne=X.getTriggerDOMNode,ke=X.onPopupVisibleChange,Ie=X.onPopupMouseEnter,Ue=(0,_.Z)(X,Ae),st="".concat(Te,"-dropdown"),ct=tt;$&&(ct=$(tt));var ht=s.useMemo(function(){return Je||Oe(nt)},[Je,nt]),ut=Pt?"".concat(st,"-").concat(Pt):Se,kt=typeof nt=="number",Lt=s.useMemo(function(){return kt?null:nt===!1?"minWidth":"width"},[nt,kt]),Dt=me;kt&&(Dt=(0,J.Z)((0,J.Z)({},Dt),{},{width:nt}));var bt=s.useRef(null);return s.useImperativeHandle($e,function(){return{getPopupElement:function(){var $t;return($t=bt.current)===null||$t===void 0?void 0:$t.popupElement}}}),s.createElement(Ot.Z,(0,O.Z)({},Ue,{showAction:ke?["click"]:[],hideAction:ke?["click"]:[],popupPlacement:At||(et==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ht,prefixCls:st,popupTransitionName:ut,popup:s.createElement("div",{onMouseEnter:Ie},ct),ref:bt,stretch:Lt,popupAlign:he,popupVisible:Xe,getPopupContainer:Ce,popupClassName:t()(Be,(0,W.Z)({},"".concat(st,"-empty"),de)),popupStyle:Dt,getTriggerDOMNode:Ne,onPopupVisibleChange:ke}),ot)},E=s.forwardRef(le),j=E,D=u(68413);function ie(ne,X){var $e=ne.key,Te;return"value"in ne&&(Te=ne.value),$e!=null?$e:Te!==void 0?Te:"rc-index-key-".concat(X)}function fe(ne){return typeof ne!="undefined"&&!Number.isNaN(ne)}function R(ne,X){var $e=ne||{},Te=$e.label,Ge=$e.value,Xe=$e.options,ot=$e.groupLabel,tt=Te||(X?"children":"label");return{label:tt,value:Ge||"value",options:Xe||"options",groupLabel:ot||tt}}function m(ne){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$e=X.fieldNames,Te=X.childrenAsData,Ge=[],Xe=R($e,!1),ot=Xe.label,tt=Xe.value,Pt=Xe.options,Se=Xe.groupLabel;function me(Be,lt){Array.isArray(Be)&&Be.forEach(function(et){if(lt||!(Pt in et)){var At=et[tt];Ge.push({key:ie(et,Ge.length),groupOption:lt,data:et,label:et[ot],value:At})}else{var Je=et[Se];Je===void 0&&Te&&(Je=et.label),Ge.push({key:ie(et,Ge.length),group:!0,data:et,label:Je}),me(et[Pt],!0)}})}return me(ne,!1),Ge}function S(ne){var X=(0,J.Z)({},ne);return"props"in X||Object.defineProperty(X,"props",{get:function(){return(0,e.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),X}}),X}var z=function(X,$e,Te){if(!$e||!$e.length)return null;var Ge=!1,Xe=function tt(Pt,Se){var me=(0,D.Z)(Se),Be=me[0],lt=me.slice(1);if(!Be)return[Pt];var et=Pt.split(Be);return Ge=Ge||et.length>1,et.reduce(function(At,Je){return[].concat((0,T.Z)(At),(0,T.Z)(tt(Je,lt)))},[]).filter(Boolean)},ot=Xe(X,$e);return Ge?typeof Te!="undefined"?ot.slice(0,Te):ot:null},N=s.createContext(null),U=N;function Z(ne){var X=ne.visible,$e=ne.values;if(!X)return null;var Te=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat($e.slice(0,Te).map(function(Ge){var Xe=Ge.label,ot=Ge.value;return["number","string"].includes((0,H.Z)(Xe))?Xe:ot}).join(", ")),$e.length>Te?", ...":null)}var q=["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"],Q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ce=function(X){return X==="tags"||X==="multiple"},be=s.forwardRef(function(ne,X){var $e,Te=ne.id,Ge=ne.prefixCls,Xe=ne.className,ot=ne.showSearch,tt=ne.tagRender,Pt=ne.direction,Se=ne.omitDomProps,me=ne.displayValues,Be=ne.onDisplayValuesChange,lt=ne.emptyOptions,et=ne.notFoundContent,At=et===void 0?"Not Found":et,Je=ne.onClear,nt=ne.mode,$=ne.disabled,he=ne.loading,Ce=ne.getInputElement,de=ne.getRawInputElement,Ne=ne.open,ke=ne.defaultOpen,Ie=ne.onDropdownVisibleChange,Ue=ne.activeValue,st=ne.onActiveValueChange,ct=ne.activeDescendantId,ht=ne.searchValue,ut=ne.autoClearSearchValue,kt=ne.onSearch,Lt=ne.onSearchSplit,Dt=ne.tokenSeparators,bt=ne.allowClear,wt=ne.prefix,$t=ne.suffixIcon,Qe=ne.clearIcon,He=ne.OptionList,at=ne.animation,en=ne.transitionName,ln=ne.dropdownStyle,vn=ne.dropdownClassName,Rn=ne.dropdownMatchSelectWidth,M=ne.dropdownRender,re=ne.dropdownAlign,te=ne.placement,ae=ne.builtinPlacements,_e=ne.getPopupContainer,oe=ne.showAction,ve=oe===void 0?[]:oe,we=ne.onFocus,Pe=ne.onBlur,ee=ne.onKeyUp,se=ne.onKeyDown,pe=ne.onMouseDown,De=(0,_.Z)(ne,q),Re=ce(nt),qe=(ot!==void 0?ot:Re)||nt==="combobox",Ct=(0,J.Z)({},De);Q.forEach(function(In){delete Ct[In]}),Se==null||Se.forEach(function(In){delete Ct[In]});var yt=s.useState(!1),Kt=(0,V.Z)(yt,2),xt=Kt[0],Ft=Kt[1];s.useEffect(function(){Ft((0,a.Z)())},[]);var nn=s.useRef(null),Et=s.useRef(null),rn=s.useRef(null),Jt=s.useRef(null),Xt=s.useRef(null),sn=s.useRef(!1),_n=f(),Tn=(0,V.Z)(_n,3),tn=Tn[0],un=Tn[1],Vt=Tn[2];s.useImperativeHandle(X,function(){var In,dn;return{focus:(In=Jt.current)===null||In===void 0?void 0:In.focus,blur:(dn=Jt.current)===null||dn===void 0?void 0:dn.blur,scrollTo:function(Qn){var qn;return(qn=Xt.current)===null||qn===void 0?void 0:qn.scrollTo(Qn)},nativeElement:nn.current||Et.current}});var mt=s.useMemo(function(){var In;if(nt!=="combobox")return ht;var dn=(In=me[0])===null||In===void 0?void 0:In.value;return typeof dn=="string"||typeof dn=="number"?String(dn):""},[ht,nt,me]),Ut=nt==="combobox"&&typeof Ce=="function"&&Ce()||null,Bt=typeof de=="function"&&de(),yn=(0,o.x1)(Et,Bt==null||($e=Bt.props)===null||$e===void 0?void 0:$e.ref),cn=s.useState(!1),bn=(0,V.Z)(cn,2),zn=bn[0],Xn=bn[1];(0,r.Z)(function(){Xn(!0)},[]);var $n=(0,G.Z)(!1,{defaultValue:ke,value:Ne}),tr=(0,V.Z)($n,2),rr=tr[0],Gn=tr[1],an=zn?rr:!1,Dn=!At&&lt;($||Dn&&an&&nt==="combobox")&&(an=!1);var Bn=Dn?!1:an,Mt=s.useCallback(function(In){var dn=In!==void 0?In:!an;$||(Gn(dn),an!==dn&&(Ie==null||Ie(dn)))},[$,an,Gn,Ie]),_t=s.useMemo(function(){return(Dt||[]).some(function(In){return[`
`,`\r
`].includes(In)})},[Dt]),dt=s.useContext(U)||{},Tt=dt.maxCount,wn=dt.rawValues,Ln=function(dn,Wn,Qn){if(!(Re&&fe(Tt)&&(wn==null?void 0:wn.size)>=Tt)){var qn=!0,er=dn;st==null||st(null);var sr=z(dn,Dt,fe(Tt)?Tt-wn.size:void 0),pr=Qn?null:sr;return nt!=="combobox"&&pr&&(er="",Lt==null||Lt(pr),Mt(!1),qn=!1),kt&&mt!==er&&kt(er,{source:Wn?"typing":"effect"}),qn}},ar=function(dn){!dn||!dn.trim()||kt(dn,{source:"submit"})};s.useEffect(function(){!an&&!Re&&nt!=="combobox"&&Ln("",!1,!1)},[an]),s.useEffect(function(){rr&&$&&Gn(!1),$&&!sn.current&&un(!1)},[$]);var Jn=l(),ir=(0,V.Z)(Jn,2),pt=ir[0],Ht=ir[1],Pn=s.useRef(!1),pn=function(dn){var Wn=pt(),Qn=dn.key,qn=Qn==="Enter";if(qn&&(nt!=="combobox"&&dn.preventDefault(),an||Mt(!0)),Ht(!!mt),Qn==="Backspace"&&!Wn&&Re&&!mt&&me.length){for(var er=(0,T.Z)(me),sr=null,pr=er.length-1;pr>=0;pr-=1){var vr=er[pr];if(!vr.disabled){er.splice(pr,1),sr=vr;break}}sr&&Be(er,{type:"remove",values:[sr]})}for(var wr=arguments.length,yr=new Array(wr>1?wr-1:0),Rr=1;Rr<wr;Rr++)yr[Rr-1]=arguments[Rr];if(an&&(!qn||!Pn.current)){var or;qn&&(Pn.current=!0),(or=Xt.current)===null||or===void 0||or.onKeyDown.apply(or,[dn].concat(yr))}se==null||se.apply(void 0,[dn].concat(yr))},Mn=function(dn){for(var Wn=arguments.length,Qn=new Array(Wn>1?Wn-1:0),qn=1;qn<Wn;qn++)Qn[qn-1]=arguments[qn];if(an){var er;(er=Xt.current)===null||er===void 0||er.onKeyUp.apply(er,[dn].concat(Qn))}dn.key==="Enter"&&(Pn.current=!1),ee==null||ee.apply(void 0,[dn].concat(Qn))},lr=function(dn){var Wn=me.filter(function(Qn){return Qn!==dn});Be(Wn,{type:"remove",values:[dn]})},jn=function(){Pn.current=!1},ur=s.useRef(!1),hr=function(){un(!0),$||(we&&!ur.current&&we.apply(void 0,arguments),ve.includes("focus")&&Mt(!0)),ur.current=!0},Pr=function(){sn.current=!0,un(!1,function(){ur.current=!1,sn.current=!1,Mt(!1)}),!$&&(mt&&(nt==="tags"?kt(mt,{source:"submit"}):nt==="multiple"&&kt("",{source:"blur"})),Pe&&Pe.apply(void 0,arguments))},Hn=[];s.useEffect(function(){return function(){Hn.forEach(function(In){return clearTimeout(In)}),Hn.splice(0,Hn.length)}},[]);var Lr=function(dn){var Wn,Qn=dn.target,qn=(Wn=rn.current)===null||Wn===void 0?void 0:Wn.getPopupElement();if(qn&&qn.contains(Qn)){var er=setTimeout(function(){var wr=Hn.indexOf(er);if(wr!==-1&&Hn.splice(wr,1),Vt(),!xt&&!qn.contains(document.activeElement)){var yr;(yr=Jt.current)===null||yr===void 0||yr.focus()}});Hn.push(er)}for(var sr=arguments.length,pr=new Array(sr>1?sr-1:0),vr=1;vr<sr;vr++)pr[vr-1]=arguments[vr];pe==null||pe.apply(void 0,[dn].concat(pr))},Kr=s.useState({}),Vr=(0,V.Z)(Kr,2),Nr=Vr[1];function Cr(){Nr({})}var xr;Bt&&(xr=function(dn){Mt(dn)}),k(function(){var In;return[nn.current,(In=rn.current)===null||In===void 0?void 0:In.getPopupElement()]},Bn,Mt,!!Bt);var Or=s.useMemo(function(){return(0,J.Z)((0,J.Z)({},ne),{},{notFoundContent:At,open:an,triggerOpen:Bn,id:Te,showSearch:qe,multiple:Re,toggleOpen:Mt})},[ne,At,Bn,an,Te,qe,Re,Mt]),mr=!!$t||he,kr;mr&&(kr=s.createElement(x,{className:t()("".concat(Ge,"-arrow"),(0,W.Z)({},"".concat(Ge,"-arrow-loading"),he)),customizeIcon:$t,customizeIconProps:{loading:he,searchValue:mt,open:an,focused:tn,showSearch:qe}}));var Er=function(){var dn;Je==null||Je(),(dn=Jt.current)===null||dn===void 0||dn.focus(),Be([],{type:"clear",values:me}),Ln("",!1,!1)},Fr=C(Ge,Er,me,bt,Qe,$,mt,nt),Dr=Fr.allowClear,Hr=Fr.clearIcon,Br=s.createElement(He,{ref:Xt}),$r=t()(Ge,Xe,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(Ge,"-focused"),tn),"".concat(Ge,"-multiple"),Re),"".concat(Ge,"-single"),!Re),"".concat(Ge,"-allow-clear"),bt),"".concat(Ge,"-show-arrow"),mr),"".concat(Ge,"-disabled"),$),"".concat(Ge,"-loading"),he),"".concat(Ge,"-open"),an),"".concat(Ge,"-customize-input"),Ut),"".concat(Ge,"-show-search"),qe)),Tr=s.createElement(j,{ref:rn,disabled:$,prefixCls:Ge,visible:Bn,popupElement:Br,animation:at,transitionName:en,dropdownStyle:ln,dropdownClassName:vn,direction:Pt,dropdownMatchSelectWidth:Rn,dropdownRender:M,dropdownAlign:re,placement:te,builtinPlacements:ae,getPopupContainer:_e,empty:lt,getTriggerDOMNode:function(dn){return Et.current||dn},onPopupVisibleChange:xr,onPopupMouseEnter:Cr},Bt?s.cloneElement(Bt,{ref:yn}):s.createElement(Ye,(0,O.Z)({},ne,{domRef:Et,prefixCls:Ge,inputElement:Ut,ref:Jt,id:Te,prefix:wt,showSearch:qe,autoClearSearchValue:ut,mode:nt,activeDescendantId:ct,tagRender:tt,values:me,open:an,onToggleOpen:Mt,activeValue:Ue,searchValue:mt,onSearch:Ln,onSearchSubmit:ar,onRemove:lr,tokenWithEnter:_t,onInputBlur:jn}))),Sr;return Bt?Sr=Tr:Sr=s.createElement("div",(0,O.Z)({className:$r},Ct,{ref:nn,onMouseDown:Lr,onKeyDown:pn,onKeyUp:Mn,onFocus:hr,onBlur:Pr}),s.createElement(Z,{visible:tn&&!an,values:me}),Tr,kr,Dr&&Hr),s.createElement(h.Provider,{value:Or},Sr)}),ye=be,Ke=function(){return null};Ke.isSelectOptGroup=!0;var Me=Ke,Fe=function(){return null};Fe.isSelectOption=!0;var ft=Fe,je=u(80547),ze=u(2738),Nt=u(45680);function It(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var it=["disabled","title","children","style","className"];function jt(ne){return typeof ne=="string"||typeof ne=="number"}var hn=function(X,$e){var Te=p(),Ge=Te.prefixCls,Xe=Te.id,ot=Te.open,tt=Te.multiple,Pt=Te.mode,Se=Te.searchValue,me=Te.toggleOpen,Be=Te.notFoundContent,lt=Te.onPopupScroll,et=s.useContext(U),At=et.maxCount,Je=et.flattenOptions,nt=et.onActiveValue,$=et.defaultActiveFirstOption,he=et.onSelect,Ce=et.menuItemSelectedIcon,de=et.rawValues,Ne=et.fieldNames,ke=et.virtual,Ie=et.direction,Ue=et.listHeight,st=et.listItemHeight,ct=et.optionRender,ht="".concat(Ge,"-item"),ut=(0,je.Z)(function(){return Je},[ot,Je],function(oe,ve){return ve[0]&&oe[1]!==ve[1]}),kt=s.useRef(null),Lt=s.useMemo(function(){return tt&&fe(At)&&(de==null?void 0:de.size)>=At},[tt,At,de==null?void 0:de.size]),Dt=function(ve){ve.preventDefault()},bt=function(ve){var we;(we=kt.current)===null||we===void 0||we.scrollTo(typeof ve=="number"?{index:ve}:ve)},wt=s.useCallback(function(oe){return Pt==="combobox"?!1:de.has(oe)},[Pt,(0,T.Z)(de).toString(),de.size]),$t=function(ve){for(var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Pe=ut.length,ee=0;ee<Pe;ee+=1){var se=(ve+ee*we+Pe)%Pe,pe=ut[se]||{},De=pe.group,Re=pe.data;if(!De&&!(Re!=null&&Re.disabled)&&(wt(Re.value)||!Lt))return se}return-1},Qe=s.useState(function(){return $t(0)}),He=(0,V.Z)(Qe,2),at=He[0],en=He[1],ln=function(ve){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;en(ve);var Pe={source:we?"keyboard":"mouse"},ee=ut[ve];if(!ee){nt(null,-1,Pe);return}nt(ee.value,ve,Pe)};(0,s.useEffect)(function(){ln($!==!1?$t(0):-1)},[ut.length,Se]);var vn=s.useCallback(function(oe){return Pt==="combobox"?String(oe).toLowerCase()===Se.toLowerCase():de.has(oe)},[Pt,Se,(0,T.Z)(de).toString(),de.size]);(0,s.useEffect)(function(){var oe=setTimeout(function(){if(!tt&&ot&&de.size===1){var we=Array.from(de)[0],Pe=ut.findIndex(function(ee){var se=ee.data;return se.value===we});Pe!==-1&&(ln(Pe),bt(Pe))}});if(ot){var ve;(ve=kt.current)===null||ve===void 0||ve.scrollTo(void 0)}return function(){return clearTimeout(oe)}},[ot,Se]);var Rn=function(ve){ve!==void 0&&he(ve,{selected:!de.has(ve)}),tt||me(!1)};if(s.useImperativeHandle($e,function(){return{onKeyDown:function(ve){var we=ve.which,Pe=ve.ctrlKey;switch(we){case I.Z.N:case I.Z.P:case I.Z.UP:case I.Z.DOWN:{var ee=0;if(we===I.Z.UP?ee=-1:we===I.Z.DOWN?ee=1:It()&&Pe&&(we===I.Z.N?ee=1:we===I.Z.P&&(ee=-1)),ee!==0){var se=$t(at+ee,ee);bt(se),ln(se,!0)}break}case I.Z.TAB:case I.Z.ENTER:{var pe,De=ut[at];De&&!(De!=null&&(pe=De.data)!==null&&pe!==void 0&&pe.disabled)&&!Lt?Rn(De.value):Rn(void 0),ot&&ve.preventDefault();break}case I.Z.ESC:me(!1),ot&&ve.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ve){bt(ve)}}}),ut.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Xe,"_list"),className:"".concat(ht,"-empty"),onMouseDown:Dt},Be);var M=Object.keys(Ne).map(function(oe){return Ne[oe]}),re=function(ve){return ve.label};function te(oe,ve){var we=oe.group;return{role:we?"presentation":"option",id:"".concat(Xe,"_list_").concat(ve)}}var ae=function(ve){var we=ut[ve];if(!we)return null;var Pe=we.data||{},ee=Pe.value,se=we.group,pe=(0,F.Z)(Pe,!0),De=re(we);return we?s.createElement("div",(0,O.Z)({"aria-label":typeof De=="string"&&!se?De:null},pe,{key:ve},te(we,ve),{"aria-selected":vn(ee)}),ee):null},_e={role:"listbox",id:"".concat(Xe,"_list")};return s.createElement(s.Fragment,null,ke&&s.createElement("div",(0,O.Z)({},_e,{style:{height:0,width:0,overflow:"hidden"}}),ae(at-1),ae(at),ae(at+1)),s.createElement(Nt.Z,{itemKey:"key",ref:kt,data:ut,height:Ue,itemHeight:st,fullHeight:!1,onMouseDown:Dt,onScroll:lt,virtual:ke,direction:Ie,innerProps:ke?null:_e},function(oe,ve){var we=oe.group,Pe=oe.groupOption,ee=oe.data,se=oe.label,pe=oe.value,De=ee.key;if(we){var Re,qe=(Re=ee.title)!==null&&Re!==void 0?Re:jt(se)?se.toString():void 0;return s.createElement("div",{className:t()(ht,"".concat(ht,"-group"),ee.className),title:qe},se!==void 0?se:De)}var Ct=ee.disabled,yt=ee.title,Kt=ee.children,xt=ee.style,Ft=ee.className,nn=(0,_.Z)(ee,it),Et=(0,ze.Z)(nn,M),rn=wt(pe),Jt=Ct||!rn&&Lt,Xt="".concat(ht,"-option"),sn=t()(ht,Xt,Ft,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(Xt,"-grouped"),Pe),"".concat(Xt,"-active"),at===ve&&!Jt),"".concat(Xt,"-disabled"),Jt),"".concat(Xt,"-selected"),rn)),_n=re(oe),Tn=!Ce||typeof Ce=="function"||rn,tn=typeof _n=="number"?_n:_n||pe,un=jt(tn)?tn.toString():void 0;return yt!==void 0&&(un=yt),s.createElement("div",(0,O.Z)({},(0,F.Z)(Et),ke?{}:te(oe,ve),{"aria-selected":vn(pe),className:sn,title:un,onMouseMove:function(){at===ve||Jt||ln(ve)},onClick:function(){Jt||Rn(pe)},style:xt}),s.createElement("div",{className:"".concat(Xt,"-content")},typeof ct=="function"?ct(oe,{index:ve}):tn),s.isValidElement(Ce)||rn,Tn&&s.createElement(x,{className:"".concat(ht,"-option-state"),customizeIcon:Ce,customizeIconProps:{value:pe,disabled:Jt,isSelected:rn}},rn?"\u2713":null))}))},St=s.forwardRef(hn),vt=St,Rt=function(ne,X){var $e=s.useRef({values:new Map,options:new Map}),Te=s.useMemo(function(){var Xe=$e.current,ot=Xe.values,tt=Xe.options,Pt=ne.map(function(Be){if(Be.label===void 0){var lt;return(0,J.Z)((0,J.Z)({},Be),{},{label:(lt=ot.get(Be.value))===null||lt===void 0?void 0:lt.label})}return Be}),Se=new Map,me=new Map;return Pt.forEach(function(Be){Se.set(Be.value,Be),me.set(Be.value,X.get(Be.value)||tt.get(Be.value))}),$e.current.values=Se,$e.current.options=me,Pt},[ne,X]),Ge=s.useCallback(function(Xe){return X.get(Xe)||$e.current.options.get(Xe)},[X]);return[Te,Ge]};function on(ne,X){return d(ne).join("").toUpperCase().includes(X)}var Qt=function(ne,X,$e,Te,Ge){return s.useMemo(function(){if(!$e||Te===!1)return ne;var Xe=X.options,ot=X.label,tt=X.value,Pt=[],Se=typeof Te=="function",me=$e.toUpperCase(),Be=Se?Te:function(et,At){return Ge?on(At[Ge],me):At[Xe]?on(At[ot!=="children"?ot:"label"],me):on(At[tt],me)},lt=Se?function(et){return S(et)}:function(et){return et};return ne.forEach(function(et){if(et[Xe]){var At=Be($e,lt(et));if(At)Pt.push(et);else{var Je=et[Xe].filter(function(nt){return Be($e,lt(nt))});Je.length&&Pt.push((0,J.Z)((0,J.Z)({},et),{},(0,W.Z)({},Xe,Je)))}return}Be($e,lt(et))&&Pt.push(et)}),Pt},[ne,Te,Ge,$e,X])},qt=u(69582),En=u(11592),fn=["children","value"],We=["children"];function gt(ne){var X=ne,$e=X.key,Te=X.props,Ge=Te.children,Xe=Te.value,ot=(0,_.Z)(Te,fn);return(0,J.Z)({key:$e,value:Xe!==void 0?Xe:$e,children:Ge},ot)}function Gt(ne){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,En.Z)(ne).map(function($e,Te){if(!s.isValidElement($e)||!$e.type)return null;var Ge=$e,Xe=Ge.type.isSelectOptGroup,ot=Ge.key,tt=Ge.props,Pt=tt.children,Se=(0,_.Z)(tt,We);return X||!Xe?gt($e):(0,J.Z)((0,J.Z)({key:"__RC_SELECT_GRP__".concat(ot===null?Te:ot,"__"),label:ot},Se),{},{options:Gt(Pt)})}).filter(function($e){return $e})}var mn=function(X,$e,Te,Ge,Xe){return s.useMemo(function(){var ot=X,tt=!X;tt&&(ot=Gt($e));var Pt=new Map,Se=new Map,me=function(et,At,Je){Je&&typeof Je=="string"&&et.set(At[Je],At)},Be=function lt(et){for(var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je=0;Je<et.length;Je+=1){var nt=et[Je];!nt[Te.options]||At?(Pt.set(nt[Te.value],nt),me(Se,nt,Te.label),me(Se,nt,Ge),me(Se,nt,Xe)):lt(nt[Te.options],!0)}};return Be(ot),{options:ot,valueOptions:Pt,labelOptions:Se}},[X,$e,Te,Ge,Xe])},Wt=mn;function kn(ne){var X=s.useRef();X.current=ne;var $e=s.useCallback(function(){return X.current.apply(X,arguments)},[]);return $e}function Vn(ne){var X=ne.mode,$e=ne.options,Te=ne.children,Ge=ne.backfill,Xe=ne.allowClear,ot=ne.placeholder,tt=ne.getInputElement,Pt=ne.showSearch,Se=ne.onSearch,me=ne.defaultOpen,Be=ne.autoFocus,lt=ne.labelInValue,et=ne.value,At=ne.inputValue,Je=ne.optionLabelProp,nt=isMultiple(X),$=Pt!==void 0?Pt:nt||X==="combobox",he=$e||convertChildrenToData(Te);if(warning(X!=="tags"||he.every(function(ke){return!ke.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),X==="tags"||X==="combobox"){var Ce=he.some(function(ke){return ke.options?ke.options.some(function(Ie){return typeof("value"in Ie?Ie.value:Ie.key)=="number"}):typeof("value"in ke?ke.value:ke.key)=="number"});warning(!Ce,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(X!=="combobox"||!Je,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(X==="combobox"||!Ge,"`backfill` only works with `combobox` mode."),warning(X==="combobox"||!tt,"`getInputElement` only work with `combobox` mode."),noteOnce(X!=="combobox"||!tt||!Xe||!ot,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Se&&!$&&X!=="combobox"&&X!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!me||Be,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),et!=null){var de=toArray(et);warning(!lt||de.every(function(ke){return _typeof(ke)==="object"&&("key"in ke||"value"in ke)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!nt||Array.isArray(et),"`value` should be array when `mode` is `multiple` or `tags`")}if(Te){var Ne=null;toNodeArray(Te).some(function(ke){if(!React.isValidElement(ke)||!ke.type)return!1;var Ie=ke,Ue=Ie.type;if(Ue.isSelectOption)return!1;if(Ue.isSelectOptGroup){var st=toNodeArray(ke.props.children).every(function(ct){return!React.isValidElement(ct)||!ke.type||ct.type.isSelectOption?!0:(Ne=ct.type,!1)});return!st}return Ne=Ue,!0}),Ne&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ne.displayName||Ne.name||Ne,"`.")),warning(At===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Sn(ne,X){if(ne){var $e=function Te(Ge){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=0;ot<Ge.length;ot++){var tt=Ge[ot];if(tt[X==null?void 0:X.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Xe&&Array.isArray(tt[X==null?void 0:X.options])&&Te(tt[X==null?void 0:X.options],!0))break}};$e(ne)}}var Yt=null,Nn=["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"],xn=["inputValue"];function On(ne){return!ne||(0,H.Z)(ne)!=="object"}var gn=s.forwardRef(function(ne,X){var $e=ne.id,Te=ne.mode,Ge=ne.prefixCls,Xe=Ge===void 0?"rc-select":Ge,ot=ne.backfill,tt=ne.fieldNames,Pt=ne.inputValue,Se=ne.searchValue,me=ne.onSearch,Be=ne.autoClearSearchValue,lt=Be===void 0?!0:Be,et=ne.onSelect,At=ne.onDeselect,Je=ne.dropdownMatchSelectWidth,nt=Je===void 0?!0:Je,$=ne.filterOption,he=ne.filterSort,Ce=ne.optionFilterProp,de=ne.optionLabelProp,Ne=ne.options,ke=ne.optionRender,Ie=ne.children,Ue=ne.defaultActiveFirstOption,st=ne.menuItemSelectedIcon,ct=ne.virtual,ht=ne.direction,ut=ne.listHeight,kt=ut===void 0?200:ut,Lt=ne.listItemHeight,Dt=Lt===void 0?20:Lt,bt=ne.labelRender,wt=ne.value,$t=ne.defaultValue,Qe=ne.labelInValue,He=ne.onChange,at=ne.maxCount,en=(0,_.Z)(ne,Nn),ln=(0,qt.ZP)($e),vn=ce(Te),Rn=!!(!Ne&&Ie),M=s.useMemo(function(){return $===void 0&&Te==="combobox"?!1:$},[$,Te]),re=s.useMemo(function(){return R(tt,Rn)},[JSON.stringify(tt),Rn]),te=(0,G.Z)("",{value:Se!==void 0?Se:Pt,postState:function(_t){return _t||""}}),ae=(0,V.Z)(te,2),_e=ae[0],oe=ae[1],ve=Wt(Ne,Ie,re,Ce,de),we=ve.valueOptions,Pe=ve.labelOptions,ee=ve.options,se=s.useCallback(function(Mt){var _t=d(Mt);return _t.map(function(dt){var Tt,wn,Ln,ar,Jn;if(On(dt))Tt=dt;else{var ir;Ln=dt.key,wn=dt.label,Tt=(ir=dt.value)!==null&&ir!==void 0?ir:Ln}var pt=we.get(Tt);if(pt){var Ht;if(wn===void 0&&(wn=pt==null?void 0:pt[de||re.label]),Ln===void 0&&(Ln=(Ht=pt==null?void 0:pt.key)!==null&&Ht!==void 0?Ht:Tt),ar=pt==null?void 0:pt.disabled,Jn=pt==null?void 0:pt.title,0)var Pn}return{label:wn,value:Tt,key:Ln,disabled:ar,title:Jn}})},[re,de,we]),pe=(0,G.Z)($t,{value:wt}),De=(0,V.Z)(pe,2),Re=De[0],qe=De[1],Ct=s.useMemo(function(){var Mt,_t=vn&&Re===null?[]:Re,dt=se(_t);return Te==="combobox"&&w((Mt=dt[0])===null||Mt===void 0?void 0:Mt.value)?[]:dt},[Re,se,Te,vn]),yt=Rt(Ct,we),Kt=(0,V.Z)(yt,2),xt=Kt[0],Ft=Kt[1],nn=s.useMemo(function(){if(!Te&&xt.length===1){var Mt=xt[0];if(Mt.value===null&&(Mt.label===null||Mt.label===void 0))return[]}return xt.map(function(_t){var dt;return(0,J.Z)((0,J.Z)({},_t),{},{label:(dt=typeof bt=="function"?bt(_t):_t.label)!==null&&dt!==void 0?dt:_t.value})})},[Te,xt,bt]),Et=s.useMemo(function(){return new Set(xt.map(function(Mt){return Mt.value}))},[xt]);s.useEffect(function(){if(Te==="combobox"){var Mt,_t=(Mt=xt[0])===null||Mt===void 0?void 0:Mt.value;oe(A(_t)?String(_t):"")}},[xt]);var rn=kn(function(Mt,_t){var dt=_t!=null?_t:Mt;return(0,W.Z)((0,W.Z)({},re.value,Mt),re.label,dt)}),Jt=s.useMemo(function(){if(Te!=="tags")return ee;var Mt=(0,T.Z)(ee),_t=function(Tt){return we.has(Tt)};return(0,T.Z)(xt).sort(function(dt,Tt){return dt.value<Tt.value?-1:1}).forEach(function(dt){var Tt=dt.value;_t(Tt)||Mt.push(rn(Tt,dt.label))}),Mt},[rn,ee,we,xt,Te]),Xt=Qt(Jt,re,_e,M,Ce),sn=s.useMemo(function(){return Te!=="tags"||!_e||Xt.some(function(Mt){return Mt[Ce||"value"]===_e})||Xt.some(function(Mt){return Mt[re.value]===_e})?Xt:[rn(_e)].concat((0,T.Z)(Xt))},[rn,Ce,Te,Xt,_e,re]),_n=function Mt(_t){var dt=(0,T.Z)(_t).sort(function(Tt,wn){return he(Tt,wn,{searchValue:_e})});return dt.map(function(Tt){return Array.isArray(Tt.options)?(0,J.Z)((0,J.Z)({},Tt),{},{options:Tt.options.length>0?Mt(Tt.options):Tt.options}):Tt})},Tn=s.useMemo(function(){return he?_n(sn):sn},[sn,he,_e]),tn=s.useMemo(function(){return m(Tn,{fieldNames:re,childrenAsData:Rn})},[Tn,re,Rn]),un=function(_t){var dt=se(_t);if(qe(dt),He&&(dt.length!==xt.length||dt.some(function(Ln,ar){var Jn;return((Jn=xt[ar])===null||Jn===void 0?void 0:Jn.value)!==(Ln==null?void 0:Ln.value)}))){var Tt=Qe?dt:dt.map(function(Ln){return Ln.value}),wn=dt.map(function(Ln){return S(Ft(Ln.value))});He(vn?Tt:Tt[0],vn?wn:wn[0])}},Vt=s.useState(null),mt=(0,V.Z)(Vt,2),Ut=mt[0],Bt=mt[1],yn=s.useState(0),cn=(0,V.Z)(yn,2),bn=cn[0],zn=cn[1],Xn=Ue!==void 0?Ue:Te!=="combobox",$n=s.useCallback(function(Mt,_t){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Tt=dt.source,wn=Tt===void 0?"keyboard":Tt;zn(_t),ot&&Te==="combobox"&&Mt!==null&&wn==="keyboard"&&Bt(String(Mt))},[ot,Te]),tr=function(_t,dt,Tt){var wn=function(){var lr,jn=Ft(_t);return[Qe?{label:jn==null?void 0:jn[re.label],value:_t,key:(lr=jn==null?void 0:jn.key)!==null&&lr!==void 0?lr:_t}:_t,S(jn)]};if(dt&&et){var Ln=wn(),ar=(0,V.Z)(Ln,2),Jn=ar[0],ir=ar[1];et(Jn,ir)}else if(!dt&&At&&Tt!=="clear"){var pt=wn(),Ht=(0,V.Z)(pt,2),Pn=Ht[0],pn=Ht[1];At(Pn,pn)}},rr=kn(function(Mt,_t){var dt,Tt=vn?_t.selected:!0;Tt?dt=vn?[].concat((0,T.Z)(xt),[Mt]):[Mt]:dt=xt.filter(function(wn){return wn.value!==Mt}),un(dt),tr(Mt,Tt),Te==="combobox"?Bt(""):(!ce||lt)&&(oe(""),Bt(""))}),Gn=function(_t,dt){un(_t);var Tt=dt.type,wn=dt.values;(Tt==="remove"||Tt==="clear")&&wn.forEach(function(Ln){tr(Ln.value,!1,Tt)})},an=function(_t,dt){if(oe(_t),Bt(null),dt.source==="submit"){var Tt=(_t||"").trim();if(Tt){var wn=Array.from(new Set([].concat((0,T.Z)(Et),[Tt])));un(wn),tr(Tt,!0),oe("")}return}dt.source!=="blur"&&(Te==="combobox"&&un(_t),me==null||me(_t))},Dn=function(_t){var dt=_t;Te!=="tags"&&(dt=_t.map(function(wn){var Ln=Pe.get(wn);return Ln==null?void 0:Ln.value}).filter(function(wn){return wn!==void 0}));var Tt=Array.from(new Set([].concat((0,T.Z)(Et),(0,T.Z)(dt))));un(Tt),Tt.forEach(function(wn){tr(wn,!0)})},Bn=s.useMemo(function(){var Mt=ct!==!1&&nt!==!1;return(0,J.Z)((0,J.Z)({},ve),{},{flattenOptions:tn,onActiveValue:$n,defaultActiveFirstOption:Xn,onSelect:rr,menuItemSelectedIcon:st,rawValues:Et,fieldNames:re,virtual:Mt,direction:ht,listHeight:kt,listItemHeight:Dt,childrenAsData:Rn,maxCount:at,optionRender:ke})},[at,ve,tn,$n,Xn,rr,st,Et,re,ct,nt,ht,kt,Dt,Rn,ke]);return s.createElement(U.Provider,{value:Bn},s.createElement(ye,(0,O.Z)({},en,{id:ln,prefixCls:Xe,ref:X,omitDomProps:xn,mode:Te,displayValues:nn,onDisplayValuesChange:Gn,direction:ht,searchValue:_e,onSearch:an,autoClearSearchValue:lt,onSearchSplit:Dn,dropdownMatchSelectWidth:nt,OptionList:vt,emptyOptions:!tn.length,activeValue:Ut,activeDescendantId:"".concat(ln,"_list_").concat(bn)})))}),Cn=gn;Cn.Option=ft,Cn.OptGroup=Me;var An=Cn,Zn=An},67204:function(zt,Le,u){"use strict";u.d(Le,{R:function(){return T},w:function(){return O}});var O={},T="rc-table-internal-hook"},78612:function(zt,Le,u){"use strict";u.d(Le,{L:function(){return v},Z:function(){return f}});var O=u(52487),T=u(49618),W=u(80702),J=u(62853),V=u(77321),_=u(74416),H=u(11592),G=u(48736),e=u(59301),s=u(67204),c=u(90494);function t(l){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof k=="number"?k:k.endsWith("%")?l*parseFloat(k)/100:null}function r(l,k,I){return e.useMemo(function(){if(k&&k>0){var L=0,F=0;l.forEach(function(A){var w=t(k,A.width);w?L+=w:F+=1});var Y=Math.max(k,I),B=Math.max(Y-L,F),ge=F,g=B/F,d=0,b=l.map(function(A){var w=(0,V.Z)({},A),n=t(k,w.width);if(n)w.width=n;else{var i=Math.floor(g);w.width=ge===1?B:i,B-=i,ge-=1}return d+=w.width,w});if(d<Y){var P=Y/d;B=Y,b.forEach(function(A,w){var n=Math.floor(A.width*P);A.width=w===b.length-1?B:n,B-=n})}return[b,Math.max(d,Y)]}return[l,k]},[l,k,I])}var a=["children"],o=["fixed"];function v(l){return(0,H.Z)(l).filter(function(k){return e.isValidElement(k)}).map(function(k){var I=k.key,L=k.props,F=L.children,Y=(0,_.Z)(L,a),B=(0,V.Z)({key:I},Y);return F&&(B.children=v(F)),B})}function x(l){return l.filter(function(k){return k&&(0,J.Z)(k)==="object"&&!k.hidden}).map(function(k){var I=k.children;return I&&I.length>0?(0,V.Z)((0,V.Z)({},k),{},{children:x(I)}):k})}function C(l){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(I){return I&&(0,J.Z)(I)==="object"}).reduce(function(I,L,F){var Y=L.fixed,B=Y===!0?"left":Y,ge="".concat(k,"-").concat(F),g=L.children;return g&&g.length>0?[].concat((0,W.Z)(I),(0,W.Z)(C(g,ge).map(function(d){return(0,V.Z)({fixed:B},d)}))):[].concat((0,W.Z)(I),[(0,V.Z)((0,V.Z)({key:ge},L),{},{fixed:B})])},[])}function h(l){return l.map(function(k){var I=k.fixed,L=(0,_.Z)(k,o),F=I;return I==="left"?F="right":I==="right"&&(F="left"),(0,V.Z)({fixed:F},L)})}function p(l,k){var I=l.prefixCls,L=l.columns,F=l.children,Y=l.expandable,B=l.expandedKeys,ge=l.columnTitle,g=l.getRowKey,d=l.onTriggerExpand,b=l.expandIcon,P=l.rowExpandable,A=l.expandIconColumnIndex,w=l.direction,n=l.expandRowByClick,i=l.columnWidth,y=l.fixed,K=l.scrollWidth,ue=l.clientWidth,Ee=e.useMemo(function(){var Oe=L||v(F)||[];return x(Oe.slice())},[L,F]),Ze=e.useMemo(function(){if(Y){var Oe=Ee.slice();if(!Oe.includes(s.w)){var le=A||0;le>=0&&(le||y==="left"||!y)&&Oe.splice(le,0,s.w),y==="right"&&Oe.splice(Ee.length,0,s.w)}var E=Oe.indexOf(s.w);Oe=Oe.filter(function(fe,R){return fe!==s.w||R===E});var j=Ee[E],D;y?D=y:D=j?j.fixed:null;var ie=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},c.v,{className:"".concat(I,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ge),"fixed",D),"className","".concat(I,"-row-expand-icon-cell")),"width",i),"render",function(R,m,S){var z=g(m,S),N=B.has(z),U=P?P(m):!0,Z=b({prefixCls:I,expanded:N,expandable:U,record:m,onExpand:d});return n?e.createElement("span",{onClick:function(Q){return Q.stopPropagation()}},Z):Z});return Oe.map(function(fe){return fe===s.w?ie:fe})}return Ee.filter(function(fe){return fe!==s.w})},[Y,Ee,g,B,b,w]),Ve=e.useMemo(function(){var Oe=Ze;return k&&(Oe=k(Oe)),Oe.length||(Oe=[{render:function(){return null}}]),Oe},[k,Ze,w]),rt=e.useMemo(function(){return w==="rtl"?h(C(Ve)):C(Ve)},[Ve,w,K]),Zt=e.useMemo(function(){for(var Oe=-1,le=rt.length-1;le>=0;le-=1){var E=rt[le].fixed;if(E==="left"||E===!0){Oe=le;break}}if(Oe>=0)for(var j=0;j<=Oe;j+=1){var D=rt[j].fixed;if(D!=="left"&&D!==!0)return!0}var ie=rt.findIndex(function(m){var S=m.fixed;return S==="right"});if(ie>=0)for(var fe=ie;fe<rt.length;fe+=1){var R=rt[fe].fixed;if(R!=="right")return!0}return!1},[rt]),xe=r(rt,K,ue),Ye=(0,O.Z)(xe,2),Ot=Ye[0],Ae=Ye[1];return[Ve,Ot,Ae,Zt]}var f=p},16596:function(zt,Le,u){"use strict";u.d(Le,{w2:function(){return O.w},vP:function(){return vt.v},RQ:function(){return O.R},ER:function(){return z},Q$:function(){return de},TN:function(){return ln}});var O=u(67204),T=u(52487),W=u(6089),J=u(34280),V=u(13697),_=u(59301),H=u(4676);function G(M){var re=_.createContext(void 0),te=function(_e){var oe=_e.value,ve=_e.children,we=_.useRef(oe);we.current=oe;var Pe=_.useState(function(){return{getValue:function(){return we.current},listeners:new Set}}),ee=(0,T.Z)(Pe,1),se=ee[0];return(0,J.Z)(function(){(0,H.unstable_batchedUpdates)(function(){se.listeners.forEach(function(pe){pe(oe)})})},[oe]),_.createElement(re.Provider,{value:se},ve)};return{Context:re,Provider:te,defaultValue:M}}function e(M,re){var te=(0,W.Z)(typeof re=="function"?re:function(pe){if(re===void 0)return pe;if(!Array.isArray(re))return pe[re];var De={};return re.forEach(function(Re){De[Re]=pe[Re]}),De}),ae=_.useContext(M==null?void 0:M.Context),_e=ae||{},oe=_e.listeners,ve=_e.getValue,we=_.useRef();we.current=te(ae?ve():M==null?void 0:M.defaultValue);var Pe=_.useState({}),ee=(0,T.Z)(Pe,2),se=ee[1];return(0,J.Z)(function(){if(!ae)return;function pe(De){var Re=te(De);(0,V.Z)(we.current,Re,!0)||se({})}return oe.add(pe),function(){oe.delete(pe)}},[ae]),we.current}var s=u(72308),c=u(8654);function t(){var M=_.createContext(null);function re(){return _.useContext(M)}function te(_e,oe){var ve=(0,c.Yr)(_e),we=function(ee,se){var pe=ve?{ref:se}:{},De=_.useRef(0),Re=_.useRef(ee),qe=re();return qe!==null?_.createElement(_e,(0,s.Z)({},ee,pe)):((!oe||oe(Re.current,ee))&&(De.current+=1),Re.current=ee,_.createElement(M.Provider,{value:De.current},_.createElement(_e,(0,s.Z)({},ee,pe))))};return ve?_.forwardRef(we):we}function ae(_e,oe){var ve=(0,c.Yr)(_e),we=function(ee,se){var pe=ve?{ref:se}:{};return re(),_.createElement(_e,(0,s.Z)({},ee,pe))};return ve?_.memo(_.forwardRef(we),oe):_.memo(we,oe)}return{makeImmutable:te,responseImmutable:ae,useImmutableMark:re}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,v=r.useImmutableMark,x=t(),C=x.makeImmutable,h=x.responseImmutable,p=x.useImmutableMark,f=G(),l=f;function k(M,re){var te=React.useRef(0);te.current+=1;var ae=React.useRef(M),_e=[];Object.keys(M||{}).map(function(ve){var we;(M==null?void 0:M[ve])!==((we=ae.current)===null||we===void 0?void 0:we[ve])&&_e.push(ve)}),ae.current=M;var oe=React.useRef([]);return _e.length&&(oe.current=_e),React.useDebugValue(te.current),React.useDebugValue(oe.current.join(", ")),re&&console.log("".concat(re,":"),te.current,oe.current),te.current}var I=null,L=null,F=u(62853),Y=u(77321),B=u(49618),ge=u(92310),g=u.n(ge),d=u(80547),b=u(97938),P=u(48736),A=_.createContext({renderWithProps:!1}),w=A,n="RC_TABLE_KEY";function i(M){return M==null?[]:Array.isArray(M)?M:[M]}function y(M){var re=[],te={};return M.forEach(function(ae){for(var _e=ae||{},oe=_e.key,ve=_e.dataIndex,we=oe||i(ve).join("-")||n;te[we];)we="".concat(we,"_next");te[we]=!0,re.push(we)}),re}function K(M){return M!=null}function ue(M){return typeof M=="number"&&!Number.isNaN(M)}function Ee(M){return M&&(0,F.Z)(M)==="object"&&!Array.isArray(M)&&!_.isValidElement(M)}function Ze(M,re,te,ae,_e,oe){var ve=_.useContext(w),we=p(),Pe=(0,d.Z)(function(){if(K(ae))return[ae];var ee=re==null||re===""?[]:Array.isArray(re)?re:[re],se=(0,b.Z)(M,ee),pe=se,De=void 0;if(_e){var Re=_e(se,M,te);Ee(Re)?(pe=Re.children,De=Re.props,ve.renderWithProps=!0):pe=Re}return[pe,De]},[we,M,ae,re,_e,te],function(ee,se){if(oe){var pe=(0,T.Z)(ee,2),De=pe[1],Re=(0,T.Z)(se,2),qe=Re[1];return oe(qe,De)}return ve.renderWithProps?!0:!(0,V.Z)(ee,se,!0)});return Pe}function Ve(M,re,te,ae){var _e=M+re-1;return M<=ae&&_e>=te}function rt(M,re){return e(l,function(te){var ae=Ve(M,re||1,te.hoverStartRow,te.hoverEndRow);return[ae,te.onHover]})}var Zt=u(70425),xe=function(re){var te=re.ellipsis,ae=re.rowType,_e=re.children,oe,ve=te===!0?{showTitle:!0}:te;return ve&&(ve.showTitle||ae==="header")&&(typeof _e=="string"||typeof _e=="number"?oe=_e.toString():_.isValidElement(_e)&&typeof _e.props.children=="string"&&(oe=_e.props.children)),oe};function Ye(M){var re,te,ae,_e,oe,ve,we,Pe,ee=M.component,se=M.children,pe=M.ellipsis,De=M.scope,Re=M.prefixCls,qe=M.className,Ct=M.align,yt=M.record,Kt=M.render,xt=M.dataIndex,Ft=M.renderIndex,nn=M.shouldCellUpdate,Et=M.index,rn=M.rowType,Jt=M.colSpan,Xt=M.rowSpan,sn=M.fixLeft,_n=M.fixRight,Tn=M.firstFixLeft,tn=M.lastFixLeft,un=M.firstFixRight,Vt=M.lastFixRight,mt=M.appendNode,Ut=M.additionalProps,Bt=Ut===void 0?{}:Ut,yn=M.isSticky,cn="".concat(Re,"-cell"),bn=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),zn=bn.supportSticky,Xn=bn.allColumnsFixedLeft,$n=bn.rowHoverable,tr=Ze(yt,xt,Ft,se,Kt,nn),rr=(0,T.Z)(tr,2),Gn=rr[0],an=rr[1],Dn={},Bn=typeof sn=="number"&&zn,Mt=typeof _n=="number"&&zn;Bn&&(Dn.position="sticky",Dn.left=sn),Mt&&(Dn.position="sticky",Dn.right=_n);var _t=(re=(te=(ae=an==null?void 0:an.colSpan)!==null&&ae!==void 0?ae:Bt.colSpan)!==null&&te!==void 0?te:Jt)!==null&&re!==void 0?re:1,dt=(_e=(oe=(ve=an==null?void 0:an.rowSpan)!==null&&ve!==void 0?ve:Bt.rowSpan)!==null&&oe!==void 0?oe:Xt)!==null&&_e!==void 0?_e:1,Tt=rt(Et,dt),wn=(0,T.Z)(Tt,2),Ln=wn[0],ar=wn[1],Jn=(0,Zt.zX)(function(lr){var jn;yt&&ar(Et,Et+dt-1),Bt==null||(jn=Bt.onMouseEnter)===null||jn===void 0||jn.call(Bt,lr)}),ir=(0,Zt.zX)(function(lr){var jn;yt&&ar(-1,-1),Bt==null||(jn=Bt.onMouseLeave)===null||jn===void 0||jn.call(Bt,lr)});if(_t===0||dt===0)return null;var pt=(we=Bt.title)!==null&&we!==void 0?we:xe({rowType:rn,ellipsis:pe,children:Gn}),Ht=g()(cn,qe,(Pe={},(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)(Pe,"".concat(cn,"-fix-left"),Bn&&zn),"".concat(cn,"-fix-left-first"),Tn&&zn),"".concat(cn,"-fix-left-last"),tn&&zn),"".concat(cn,"-fix-left-all"),tn&&Xn&&zn),"".concat(cn,"-fix-right"),Mt&&zn),"".concat(cn,"-fix-right-first"),un&&zn),"".concat(cn,"-fix-right-last"),Vt&&zn),"".concat(cn,"-ellipsis"),pe),"".concat(cn,"-with-append"),mt),"".concat(cn,"-fix-sticky"),(Bn||Mt)&&yn&&zn),(0,B.Z)(Pe,"".concat(cn,"-row-hover"),!an&&Ln)),Bt.className,an==null?void 0:an.className),Pn={};Ct&&(Pn.textAlign=Ct);var pn=(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},an==null?void 0:an.style),Dn),Pn),Bt.style),Mn=Gn;return(0,F.Z)(Mn)==="object"&&!Array.isArray(Mn)&&!_.isValidElement(Mn)&&(Mn=null),pe&&(tn||un)&&(Mn=_.createElement("span",{className:"".concat(cn,"-content")},Mn)),_.createElement(ee,(0,s.Z)({},an,Bt,{className:Ht,style:pn,title:pt,scope:De,onMouseEnter:$n?Jn:void 0,onMouseLeave:$n?ir:void 0,colSpan:_t!==1?_t:null,rowSpan:dt!==1?dt:null}),mt,Mn)}var Ot=_.memo(Ye);function Ae(M,re,te,ae,_e){var oe=te[M]||{},ve=te[re]||{},we,Pe;oe.fixed==="left"?we=ae.left[_e==="rtl"?re:M]:ve.fixed==="right"&&(Pe=ae.right[_e==="rtl"?M:re]);var ee=!1,se=!1,pe=!1,De=!1,Re=te[re+1],qe=te[M-1],Ct=Re&&!Re.fixed||qe&&!qe.fixed||te.every(function(nn){return nn.fixed==="left"});if(_e==="rtl"){if(we!==void 0){var yt=qe&&qe.fixed==="left";De=!yt&&Ct}else if(Pe!==void 0){var Kt=Re&&Re.fixed==="right";pe=!Kt&&Ct}}else if(we!==void 0){var xt=Re&&Re.fixed==="left";ee=!xt&&Ct}else if(Pe!==void 0){var Ft=qe&&qe.fixed==="right";se=!Ft&&Ct}return{fixLeft:we,fixRight:Pe,lastFixLeft:ee,firstFixRight:se,lastFixRight:pe,firstFixLeft:De,isSticky:ae.isSticky}}var Oe=_.createContext({}),le=Oe;function E(M){var re=M.className,te=M.index,ae=M.children,_e=M.colSpan,oe=_e===void 0?1:_e,ve=M.rowSpan,we=M.align,Pe=e(l,["prefixCls","direction"]),ee=Pe.prefixCls,se=Pe.direction,pe=_.useContext(le),De=pe.scrollColumnIndex,Re=pe.stickyOffsets,qe=pe.flattenColumns,Ct=te+oe-1,yt=Ct+1===De?oe+1:oe,Kt=Ae(te,te+yt-1,qe,Re,se);return _.createElement(Ot,(0,s.Z)({className:re,index:te,component:"td",prefixCls:ee,record:null,dataIndex:null,align:we,colSpan:yt,rowSpan:ve,render:function(){return ae}},Kt))}var j=u(74416),D=["children"];function ie(M){var re=M.children,te=(0,j.Z)(M,D);return _.createElement("tr",te,re)}function fe(M){var re=M.children;return re}fe.Row=ie,fe.Cell=E;var R=fe;function m(M){var re=M.children,te=M.stickyOffsets,ae=M.flattenColumns,_e=e(l,"prefixCls"),oe=ae.length-1,ve=ae[oe],we=_.useMemo(function(){return{stickyOffsets:te,flattenColumns:ae,scrollColumnIndex:ve!=null&&ve.scrollbar?oe:null}},[ve,ae,oe,te]);return _.createElement(le.Provider,{value:we},_.createElement("tfoot",{className:"".concat(_e,"-summary")},re))}var S=h(m),z=R,N=u(29301),U=u(29194),Z=u(24514),q=u(75152),Q=u(26112);function ce(M,re,te,ae,_e,oe,ve){M.push({record:re,indent:te,index:ve});var we=oe(re),Pe=_e==null?void 0:_e.has(we);if(re&&Array.isArray(re[ae])&&Pe)for(var ee=0;ee<re[ae].length;ee+=1)ce(M,re[ae][ee],te+1,ae,_e,oe,ee)}function be(M,re,te,ae){var _e=_.useMemo(function(){if(te!=null&&te.size){for(var oe=[],ve=0;ve<(M==null?void 0:M.length);ve+=1){var we=M[ve];ce(oe,we,0,re,te,ae,ve)}return oe}return M==null?void 0:M.map(function(Pe,ee){return{record:Pe,indent:0,index:ee}})},[M,re,te,ae]);return _e}function ye(M,re,te,ae){var _e=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),oe=_e.flattenColumns,ve=_e.expandableType,we=_e.expandedKeys,Pe=_e.childrenColumnName,ee=_e.onTriggerExpand,se=_e.rowExpandable,pe=_e.onRow,De=_e.expandRowByClick,Re=_e.rowClassName,qe=ve==="nest",Ct=ve==="row"&&(!se||se(M)),yt=Ct||qe,Kt=we&&we.has(re),xt=Pe&&M&&M[Pe],Ft=(0,Zt.zX)(ee),nn=pe==null?void 0:pe(M,te),Et=nn==null?void 0:nn.onClick,rn=function(_n){De&&yt&&ee(M,_n);for(var Tn=arguments.length,tn=new Array(Tn>1?Tn-1:0),un=1;un<Tn;un++)tn[un-1]=arguments[un];Et==null||Et.apply(void 0,[_n].concat(tn))},Jt;typeof Re=="string"?Jt=Re:typeof Re=="function"&&(Jt=Re(M,te,ae));var Xt=y(oe);return(0,Y.Z)((0,Y.Z)({},_e),{},{columnsKey:Xt,nestExpandable:qe,expanded:Kt,hasNestChildren:xt,record:M,onTriggerExpand:Ft,rowSupportExpand:Ct,expandable:yt,rowProps:(0,Y.Z)((0,Y.Z)({},nn),{},{className:g()(Jt,nn==null?void 0:nn.className),onClick:rn})})}function Ke(M){var re=M.prefixCls,te=M.children,ae=M.component,_e=M.cellComponent,oe=M.className,ve=M.expanded,we=M.colSpan,Pe=M.isEmpty,ee=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),se=ee.scrollbarSize,pe=ee.fixHeader,De=ee.fixColumn,Re=ee.componentWidth,qe=ee.horizonScroll,Ct=te;return(Pe?qe&&Re:De)&&(Ct=_.createElement("div",{style:{width:Re-(pe&&!Pe?se:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(re,"-expanded-row-fixed")},Ct)),_.createElement(ae,{className:oe,style:{display:ve?null:"none"}},_.createElement(Ot,{component:_e,prefixCls:re,colSpan:we},Ct))}var Me=Ke;function Fe(M){var re=M.prefixCls,te=M.record,ae=M.onExpand,_e=M.expanded,oe=M.expandable,ve="".concat(re,"-row-expand-icon");if(!oe)return _.createElement("span",{className:g()(ve,"".concat(re,"-row-spaced"))});var we=function(ee){ae(te,ee),ee.stopPropagation()};return _.createElement("span",{className:g()(ve,(0,B.Z)((0,B.Z)({},"".concat(re,"-row-expanded"),_e),"".concat(re,"-row-collapsed"),!_e)),onClick:we})}function ft(M,re,te){var ae=[];function _e(oe){(oe||[]).forEach(function(ve,we){ae.push(re(ve,we)),_e(ve[te])})}return _e(M),ae}function je(M,re,te,ae){return typeof M=="string"?M:typeof M=="function"?M(re,te,ae):""}function ze(M,re,te,ae,_e){var oe=M.record,ve=M.prefixCls,we=M.columnsKey,Pe=M.fixedInfoList,ee=M.expandIconColumnIndex,se=M.nestExpandable,pe=M.indentSize,De=M.expandIcon,Re=M.expanded,qe=M.hasNestChildren,Ct=M.onTriggerExpand,yt=we[te],Kt=Pe[te],xt;te===(ee||0)&&se&&(xt=_.createElement(_.Fragment,null,_.createElement("span",{style:{paddingLeft:"".concat(pe*ae,"px")},className:"".concat(ve,"-row-indent indent-level-").concat(ae)}),De({prefixCls:ve,expanded:Re,expandable:qe,record:oe,onExpand:Ct})));var Ft;return re.onCell&&(Ft=re.onCell(oe,_e)),{key:yt,fixedInfo:Kt,appendCellNode:xt,additionalCellProps:Ft||{}}}function Nt(M){var re=M.className,te=M.style,ae=M.record,_e=M.index,oe=M.renderIndex,ve=M.rowKey,we=M.indent,Pe=we===void 0?0:we,ee=M.rowComponent,se=M.cellComponent,pe=M.scopeCellComponent,De=ye(ae,ve,_e,Pe),Re=De.prefixCls,qe=De.flattenColumns,Ct=De.expandedRowClassName,yt=De.expandedRowRender,Kt=De.rowProps,xt=De.expanded,Ft=De.rowSupportExpand,nn=_.useRef(!1);nn.current||(nn.current=xt);var Et=je(Ct,ae,_e,Pe),rn=_.createElement(ee,(0,s.Z)({},Kt,{"data-row-key":ve,className:g()(re,"".concat(Re,"-row"),"".concat(Re,"-row-level-").concat(Pe),Kt==null?void 0:Kt.className,(0,B.Z)({},Et,Pe>=1)),style:(0,Y.Z)((0,Y.Z)({},te),Kt==null?void 0:Kt.style)}),qe.map(function(sn,_n){var Tn=sn.render,tn=sn.dataIndex,un=sn.className,Vt=ze(De,sn,_n,Pe,_e),mt=Vt.key,Ut=Vt.fixedInfo,Bt=Vt.appendCellNode,yn=Vt.additionalCellProps;return _.createElement(Ot,(0,s.Z)({className:un,ellipsis:sn.ellipsis,align:sn.align,scope:sn.rowScope,component:sn.rowScope?pe:se,prefixCls:Re,key:mt,record:ae,index:_e,renderIndex:oe,dataIndex:tn,render:Tn,shouldCellUpdate:sn.shouldCellUpdate},Ut,{appendNode:Bt,additionalProps:yn}))})),Jt;if(Ft&&(nn.current||xt)){var Xt=yt(ae,_e,Pe+1,xt);Jt=_.createElement(Me,{expanded:xt,className:g()("".concat(Re,"-expanded-row"),"".concat(Re,"-expanded-row-level-").concat(Pe+1),Et),prefixCls:Re,component:ee,cellComponent:se,colSpan:qe.length,isEmpty:!1},Xt)}return _.createElement(_.Fragment,null,rn,Jt)}var It=h(Nt);function it(M){var re=M.columnKey,te=M.onColumnResize,ae=_.useRef();return _.useEffect(function(){ae.current&&te(re,ae.current.offsetWidth)},[]),_.createElement(N.Z,{data:re},_.createElement("td",{ref:ae,style:{padding:0,border:0,height:0}},_.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function jt(M){var re=M.prefixCls,te=M.columnsKey,ae=M.onColumnResize;return _.createElement("tr",{"aria-hidden":"true",className:"".concat(re,"-measure-row"),style:{height:0,fontSize:0}},_.createElement(N.Z.Collection,{onBatchResize:function(oe){oe.forEach(function(ve){var we=ve.data,Pe=ve.size;ae(we,Pe.offsetWidth)})}},te.map(function(_e){return _.createElement(it,{key:_e,columnKey:_e,onColumnResize:ae})})))}function hn(M){var re=M.data,te=M.measureColumnWidth,ae=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),_e=ae.prefixCls,oe=ae.getComponent,ve=ae.onColumnResize,we=ae.flattenColumns,Pe=ae.getRowKey,ee=ae.expandedKeys,se=ae.childrenColumnName,pe=ae.emptyNode,De=be(re,se,ee,Pe),Re=_.useRef({renderWithProps:!1}),qe=oe(["body","wrapper"],"tbody"),Ct=oe(["body","row"],"tr"),yt=oe(["body","cell"],"td"),Kt=oe(["body","cell"],"th"),xt;re.length?xt=De.map(function(nn,Et){var rn=nn.record,Jt=nn.indent,Xt=nn.index,sn=Pe(rn,Et);return _.createElement(It,{key:sn,rowKey:sn,record:rn,index:Et,renderIndex:Xt,rowComponent:Ct,cellComponent:yt,scopeCellComponent:Kt,indent:Jt})}):xt=_.createElement(Me,{expanded:!0,className:"".concat(_e,"-placeholder"),prefixCls:_e,component:Ct,cellComponent:yt,colSpan:we.length,isEmpty:!0},pe);var Ft=y(we);return _.createElement(w.Provider,{value:Re.current},_.createElement(qe,{className:"".concat(_e,"-tbody")},te&&_.createElement(jt,{prefixCls:_e,columnsKey:Ft,onColumnResize:ve}),xt))}var St=h(hn),vt=u(90494),Rt=["columnType"];function on(M){for(var re=M.colWidths,te=M.columns,ae=M.columCount,_e=e(l,["tableLayout"]),oe=_e.tableLayout,ve=[],we=ae||te.length,Pe=!1,ee=we-1;ee>=0;ee-=1){var se=re[ee],pe=te&&te[ee],De=void 0,Re=void 0;if(pe&&(De=pe[vt.v],oe==="auto"&&(Re=pe.minWidth)),se||Re||De||Pe){var qe=De||{},Ct=qe.columnType,yt=(0,j.Z)(qe,Rt);ve.unshift(_.createElement("col",(0,s.Z)({key:ee,style:{width:se,minWidth:Re}},yt))),Pe=!0}}return _.createElement("colgroup",null,ve)}var Qt=on,qt=u(80702),En=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function fn(M,re){return(0,_.useMemo)(function(){for(var te=[],ae=0;ae<re;ae+=1){var _e=M[ae];if(_e!==void 0)te[ae]=_e;else return null}return te},[M.join("_"),re])}var We=_.forwardRef(function(M,re){var te=M.className,ae=M.noData,_e=M.columns,oe=M.flattenColumns,ve=M.colWidths,we=M.columCount,Pe=M.stickyOffsets,ee=M.direction,se=M.fixHeader,pe=M.stickyTopOffset,De=M.stickyBottomOffset,Re=M.stickyClassName,qe=M.onScroll,Ct=M.maxContentScroll,yt=M.children,Kt=(0,j.Z)(M,En),xt=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ft=xt.prefixCls,nn=xt.scrollbarSize,Et=xt.isSticky,rn=xt.getComponent,Jt=rn(["header","table"],"table"),Xt=Et&&!se?0:nn,sn=_.useRef(null),_n=_.useCallback(function(yn){(0,c.mH)(re,yn),(0,c.mH)(sn,yn)},[]);_.useEffect(function(){var yn;function cn(bn){var zn=bn,Xn=zn.currentTarget,$n=zn.deltaX;$n&&(qe({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),bn.preventDefault())}return(yn=sn.current)===null||yn===void 0||yn.addEventListener("wheel",cn,{passive:!1}),function(){var bn;(bn=sn.current)===null||bn===void 0||bn.removeEventListener("wheel",cn)}},[]);var Tn=_.useMemo(function(){return oe.every(function(yn){return yn.width})},[oe]),tn=oe[oe.length-1],un={fixed:tn?tn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ft,"-cell-scrollbar")}}},Vt=(0,_.useMemo)(function(){return Xt?[].concat((0,qt.Z)(_e),[un]):_e},[Xt,_e]),mt=(0,_.useMemo)(function(){return Xt?[].concat((0,qt.Z)(oe),[un]):oe},[Xt,oe]),Ut=(0,_.useMemo)(function(){var yn=Pe.right,cn=Pe.left;return(0,Y.Z)((0,Y.Z)({},Pe),{},{left:ee==="rtl"?[].concat((0,qt.Z)(cn.map(function(bn){return bn+Xt})),[0]):cn,right:ee==="rtl"?yn:[].concat((0,qt.Z)(yn.map(function(bn){return bn+Xt})),[0]),isSticky:Et})},[Xt,Pe,Et]),Bt=fn(ve,we);return _.createElement("div",{style:(0,Y.Z)({overflow:"hidden"},Et?{top:pe,bottom:De}:{}),ref:_n,className:g()(te,(0,B.Z)({},Re,!!Re))},_.createElement(Jt,{style:{tableLayout:"fixed",visibility:ae||Bt?null:"hidden"}},(!ae||!Ct||Tn)&&_.createElement(Qt,{colWidths:Bt?[].concat((0,qt.Z)(Bt),[Xt]):[],columCount:we+1,columns:mt}),yt((0,Y.Z)((0,Y.Z)({},Kt),{},{stickyOffsets:Ut,columns:Vt,flattenColumns:mt}))))}),gt=_.memo(We),Gt=function(re){var te=re.cells,ae=re.stickyOffsets,_e=re.flattenColumns,oe=re.rowComponent,ve=re.cellComponent,we=re.onHeaderRow,Pe=re.index,ee=e(l,["prefixCls","direction"]),se=ee.prefixCls,pe=ee.direction,De;we&&(De=we(te.map(function(qe){return qe.column}),Pe));var Re=y(te.map(function(qe){return qe.column}));return _.createElement(oe,De,te.map(function(qe,Ct){var yt=qe.column,Kt=Ae(qe.colStart,qe.colEnd,_e,ae,pe),xt;return yt&&yt.onHeaderCell&&(xt=qe.column.onHeaderCell(yt)),_.createElement(Ot,(0,s.Z)({},qe,{scope:yt.title?qe.colSpan>1?"colgroup":"col":null,ellipsis:yt.ellipsis,align:yt.align,component:ve,prefixCls:se,key:Re[Ct]},Kt,{additionalProps:xt,rowType:"header"}))}))},mn=Gt;function Wt(M){var re=[];function te(ve,we){var Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;re[Pe]=re[Pe]||[];var ee=we,se=ve.filter(Boolean).map(function(pe){var De={key:pe.key,className:pe.className||"",children:pe.title,column:pe,colStart:ee},Re=1,qe=pe.children;return qe&&qe.length>0&&(Re=te(qe,ee,Pe+1).reduce(function(Ct,yt){return Ct+yt},0),De.hasSubColumns=!0),"colSpan"in pe&&(Re=pe.colSpan),"rowSpan"in pe&&(De.rowSpan=pe.rowSpan),De.colSpan=Re,De.colEnd=De.colStart+Re-1,re[Pe].push(De),ee+=Re,Re});return se}te(M,0);for(var ae=re.length,_e=function(we){re[we].forEach(function(Pe){!("rowSpan"in Pe)&&!Pe.hasSubColumns&&(Pe.rowSpan=ae-we)})},oe=0;oe<ae;oe+=1)_e(oe);return re}var kn=function(re){var te=re.stickyOffsets,ae=re.columns,_e=re.flattenColumns,oe=re.onHeaderRow,ve=e(l,["prefixCls","getComponent"]),we=ve.prefixCls,Pe=ve.getComponent,ee=_.useMemo(function(){return Wt(ae)},[ae]),se=Pe(["header","wrapper"],"thead"),pe=Pe(["header","row"],"tr"),De=Pe(["header","cell"],"th");return _.createElement(se,{className:"".concat(we,"-thead")},ee.map(function(Re,qe){var Ct=_.createElement(mn,{key:qe,flattenColumns:_e,cells:Re,stickyOffsets:te,rowComponent:pe,cellComponent:De,onHeaderRow:oe,index:qe});return Ct}))},Vn=h(kn),Sn=u(78612);function Yt(M,re,te){var ae=(0,vt.g)(M),_e=ae.expandIcon,oe=ae.expandedRowKeys,ve=ae.defaultExpandedRowKeys,we=ae.defaultExpandAllRows,Pe=ae.expandedRowRender,ee=ae.onExpand,se=ae.onExpandedRowsChange,pe=ae.childrenColumnName,De=_e||Fe,Re=pe||"children",qe=_.useMemo(function(){return Pe?"row":M.expandable&&M.internalHooks===O.R&&M.expandable.__PARENT_RENDER_ICON__||re.some(function(Et){return Et&&(0,F.Z)(Et)==="object"&&Et[Re]})?"nest":!1},[!!Pe,re]),Ct=_.useState(function(){return ve||(we?ft(re,te,Re):[])}),yt=(0,T.Z)(Ct,2),Kt=yt[0],xt=yt[1],Ft=_.useMemo(function(){return new Set(oe||Kt||[])},[oe,Kt]),nn=_.useCallback(function(Et){var rn=te(Et,re.indexOf(Et)),Jt,Xt=Ft.has(rn);Xt?(Ft.delete(rn),Jt=(0,qt.Z)(Ft)):Jt=[].concat((0,qt.Z)(Ft),[rn]),xt(Jt),ee&&ee(!Xt,Et),se&&se(Jt)},[te,Ft,re,ee,se]);return[ae,qe,Ft,De,Re,nn]}function Nn(M,re,te){var ae=M.map(function(_e,oe){return Ae(oe,oe,M,re,te)});return(0,d.Z)(function(){return ae},[ae],function(_e,oe){return!(0,V.Z)(_e,oe)})}function xn(M){var re=(0,_.useRef)(M),te=(0,_.useState)({}),ae=(0,T.Z)(te,2),_e=ae[1],oe=(0,_.useRef)(null),ve=(0,_.useRef)([]);function we(Pe){ve.current.push(Pe);var ee=Promise.resolve();oe.current=ee,ee.then(function(){if(oe.current===ee){var se=ve.current,pe=re.current;ve.current=[],se.forEach(function(De){re.current=De(re.current)}),oe.current=null,pe!==re.current&&_e({})}})}return(0,_.useEffect)(function(){return function(){oe.current=null}},[]),[re.current,we]}function On(M){var re=(0,_.useRef)(M||null),te=(0,_.useRef)();function ae(){window.clearTimeout(te.current)}function _e(ve){re.current=ve,ae(),te.current=window.setTimeout(function(){re.current=null,te.current=void 0},100)}function oe(){return re.current}return(0,_.useEffect)(function(){return ae},[]),[_e,oe]}function gn(){var M=_.useState(-1),re=(0,T.Z)(M,2),te=re[0],ae=re[1],_e=_.useState(-1),oe=(0,T.Z)(_e,2),ve=oe[0],we=oe[1],Pe=_.useCallback(function(ee,se){ae(ee),we(se)},[]);return[te,ve,Pe]}var Cn=u(47273),An=(0,Cn.Z)()?window:null;function Zn(M,re){var te=(0,F.Z)(M)==="object"?M:{},ae=te.offsetHeader,_e=ae===void 0?0:ae,oe=te.offsetSummary,ve=oe===void 0?0:oe,we=te.offsetScroll,Pe=we===void 0?0:we,ee=te.getContainer,se=ee===void 0?function(){return An}:ee,pe=se()||An,De=!!M;return _.useMemo(function(){return{isSticky:De,stickyClassName:De?"".concat(re,"-sticky-holder"):"",offsetHeader:_e,offsetSummary:ve,offsetScroll:Pe,container:pe}},[De,Pe,_e,ve,re,pe])}function ne(M,re,te){var ae=(0,_.useMemo)(function(){var _e=re.length,oe=function(ee,se,pe){for(var De=[],Re=0,qe=ee;qe!==se;qe+=pe)De.push(Re),re[qe].fixed&&(Re+=M[qe]||0);return De},ve=oe(0,_e,1),we=oe(_e-1,-1,-1).reverse();return te==="rtl"?{left:we,right:ve}:{left:ve,right:we}},[M,re,te]);return ae}var X=ne;function $e(M){var re=M.className,te=M.children;return _.createElement("div",{className:re},te)}var Te=$e,Ge=u(8224),Xe=u(16089),ot=u(76846);function tt(M){var re=(0,ot.bn)(M),te=re.getBoundingClientRect(),ae=document.documentElement;return{left:te.left+(window.pageXOffset||ae.scrollLeft)-(ae.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||ae.scrollTop)-(ae.clientTop||document.body.clientTop||0)}}var Pt=function(re,te){var ae,_e,oe=re.scrollBodyRef,ve=re.onScroll,we=re.offsetScroll,Pe=re.container,ee=re.direction,se=e(l,"prefixCls"),pe=((ae=oe.current)===null||ae===void 0?void 0:ae.scrollWidth)||0,De=((_e=oe.current)===null||_e===void 0?void 0:_e.clientWidth)||0,Re=pe&&De*(De/pe),qe=_.useRef(),Ct=xn({scrollLeft:0,isHiddenScrollBar:!0}),yt=(0,T.Z)(Ct,2),Kt=yt[0],xt=yt[1],Ft=_.useRef({delta:0,x:0}),nn=_.useState(!1),Et=(0,T.Z)(nn,2),rn=Et[0],Jt=Et[1],Xt=_.useRef(null);_.useEffect(function(){return function(){Xe.Z.cancel(Xt.current)}},[]);var sn=function(){Jt(!1)},_n=function(mt){mt.persist(),Ft.current.delta=mt.pageX-Kt.scrollLeft,Ft.current.x=0,Jt(!0),mt.preventDefault()},Tn=function(mt){var Ut,Bt=mt||((Ut=window)===null||Ut===void 0?void 0:Ut.event),yn=Bt.buttons;if(!rn||yn===0){rn&&Jt(!1);return}var cn=Ft.current.x+mt.pageX-Ft.current.x-Ft.current.delta,bn=ee==="rtl";cn=Math.max(bn?Re-De:0,Math.min(bn?0:De-Re,cn));var zn=!bn||Math.abs(cn)+Math.abs(Re)<De;zn&&(ve({scrollLeft:cn/De*(pe+2)}),Ft.current.x=mt.pageX)},tn=function(){Xe.Z.cancel(Xt.current),Xt.current=(0,Xe.Z)(function(){if(oe.current){var mt=tt(oe.current).top,Ut=mt+oe.current.offsetHeight,Bt=Pe===window?document.documentElement.scrollTop+window.innerHeight:tt(Pe).top+Pe.clientHeight;Ut-(0,q.Z)()<=Bt||mt>=Bt-we?xt(function(yn){return(0,Y.Z)((0,Y.Z)({},yn),{},{isHiddenScrollBar:!0})}):xt(function(yn){return(0,Y.Z)((0,Y.Z)({},yn),{},{isHiddenScrollBar:!1})})}})},un=function(mt){xt(function(Ut){return(0,Y.Z)((0,Y.Z)({},Ut),{},{scrollLeft:mt/pe*De||0})})};return _.useImperativeHandle(te,function(){return{setScrollLeft:un,checkScrollBarVisible:tn}}),_.useEffect(function(){var Vt=(0,Ge.Z)(document.body,"mouseup",sn,!1),mt=(0,Ge.Z)(document.body,"mousemove",Tn,!1);return tn(),function(){Vt.remove(),mt.remove()}},[Re,rn]),_.useEffect(function(){if(oe.current){for(var Vt=[],mt=(0,ot.bn)(oe.current);mt;)Vt.push(mt),mt=mt.parentElement;return Vt.forEach(function(Ut){return Ut.addEventListener("scroll",tn,!1)}),window.addEventListener("resize",tn,!1),window.addEventListener("scroll",tn,!1),Pe.addEventListener("scroll",tn,!1),function(){Vt.forEach(function(Ut){return Ut.removeEventListener("scroll",tn)}),window.removeEventListener("resize",tn),window.removeEventListener("scroll",tn),Pe.removeEventListener("scroll",tn)}}},[Pe]),_.useEffect(function(){Kt.isHiddenScrollBar||xt(function(Vt){var mt=oe.current;return mt?(0,Y.Z)((0,Y.Z)({},Vt),{},{scrollLeft:mt.scrollLeft/mt.scrollWidth*mt.clientWidth}):Vt})},[Kt.isHiddenScrollBar]),pe<=De||!Re||Kt.isHiddenScrollBar?null:_.createElement("div",{style:{height:(0,q.Z)(),width:De,bottom:we},className:"".concat(se,"-sticky-scroll")},_.createElement("div",{onMouseDown:_n,ref:qe,className:g()("".concat(se,"-sticky-scroll-bar"),(0,B.Z)({},"".concat(se,"-sticky-scroll-bar-active"),rn)),style:{width:"".concat(Re,"px"),transform:"translate3d(".concat(Kt.scrollLeft,"px, 0, 0)")}}))},Se=_.forwardRef(Pt);function me(M){return null}var Be=me;function lt(M){return null}var et=lt,At="rc-table",Je=[],nt={};function $(){return"No Data"}function he(M,re){var te=(0,Y.Z)({rowKey:"key",prefixCls:At,emptyText:$},M),ae=te.prefixCls,_e=te.className,oe=te.rowClassName,ve=te.style,we=te.data,Pe=te.rowKey,ee=te.scroll,se=te.tableLayout,pe=te.direction,De=te.title,Re=te.footer,qe=te.summary,Ct=te.caption,yt=te.id,Kt=te.showHeader,xt=te.components,Ft=te.emptyText,nn=te.onRow,Et=te.onHeaderRow,rn=te.onScroll,Jt=te.internalHooks,Xt=te.transformColumns,sn=te.internalRefs,_n=te.tailor,Tn=te.getContainerWidth,tn=te.sticky,un=te.rowHoverable,Vt=un===void 0?!0:un,mt=we||Je,Ut=!!mt.length,Bt=Jt===O.R,yn=_.useCallback(function(Kn,Fn){return(0,b.Z)(xt,Kn)||Fn},[xt]),cn=_.useMemo(function(){return typeof Pe=="function"?Pe:function(Kn){var Fn=Kn&&Kn[Pe];return Fn}},[Pe]),bn=yn(["body"]),zn=gn(),Xn=(0,T.Z)(zn,3),$n=Xn[0],tr=Xn[1],rr=Xn[2],Gn=Yt(te,mt,cn),an=(0,T.Z)(Gn,6),Dn=an[0],Bn=an[1],Mt=an[2],_t=an[3],dt=an[4],Tt=an[5],wn=ee==null?void 0:ee.x,Ln=_.useState(0),ar=(0,T.Z)(Ln,2),Jn=ar[0],ir=ar[1],pt=(0,Sn.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},te),Dn),{},{expandable:!!Dn.expandedRowRender,columnTitle:Dn.columnTitle,expandedKeys:Mt,getRowKey:cn,onTriggerExpand:Tt,expandIcon:_t,expandIconColumnIndex:Dn.expandIconColumnIndex,direction:pe,scrollWidth:Bt&&_n&&typeof wn=="number"?wn:null,clientWidth:Jn}),Bt?Xt:null),Ht=(0,T.Z)(pt,4),Pn=Ht[0],pn=Ht[1],Mn=Ht[2],lr=Ht[3],jn=Mn!=null?Mn:wn,ur=_.useMemo(function(){return{columns:Pn,flattenColumns:pn}},[Pn,pn]),hr=_.useRef(),Pr=_.useRef(),Hn=_.useRef(),Lr=_.useRef();_.useImperativeHandle(re,function(){return{nativeElement:hr.current,scrollTo:function(Fn){var fr;if(Hn.current instanceof HTMLElement){var gr=Fn.index,dr=Fn.top,Ur=Fn.key;if(ue(dr)){var Mr;(Mr=Hn.current)===null||Mr===void 0||Mr.scrollTo({top:dr})}else{var Zr,Qr=Ur!=null?Ur:cn(mt[gr]);(Zr=Hn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Zr===void 0||Zr.scrollIntoView()}}else(fr=Hn.current)!==null&&fr!==void 0&&fr.scrollTo&&Hn.current.scrollTo(Fn)}}});var Kr=_.useRef(),Vr=_.useState(!1),Nr=(0,T.Z)(Vr,2),Cr=Nr[0],xr=Nr[1],Or=_.useState(!1),mr=(0,T.Z)(Or,2),kr=mr[0],Er=mr[1],Fr=xn(new Map),Dr=(0,T.Z)(Fr,2),Hr=Dr[0],Br=Dr[1],$r=y(pn),Tr=$r.map(function(Kn){return Hr.get(Kn)}),Sr=_.useMemo(function(){return Tr},[Tr.join("_")]),In=X(Sr,pn,pe),dn=ee&&K(ee.y),Wn=ee&&K(jn)||!!Dn.fixed,Qn=Wn&&pn.some(function(Kn){var Fn=Kn.fixed;return Fn}),qn=_.useRef(),er=Zn(tn,ae),sr=er.isSticky,pr=er.offsetHeader,vr=er.offsetSummary,wr=er.offsetScroll,yr=er.stickyClassName,Rr=er.container,or=_.useMemo(function(){return qe==null?void 0:qe(mt)},[qe,mt]),Ir=(dn||sr)&&_.isValidElement(or)&&or.type===R&&or.props.fixed,Gr,zr,Yr;dn&&(zr={overflowY:Ut?"scroll":"auto",maxHeight:ee.y}),Wn&&(Gr={overflowX:"auto"},dn||(zr={overflowY:"hidden"}),Yr={width:jn===!0?"auto":jn,minWidth:"100%"});var qr=_.useCallback(function(Kn,Fn){(0,U.Z)(hr.current)&&Br(function(fr){if(fr.get(Kn)!==Fn){var gr=new Map(fr);return gr.set(Kn,Fn),gr}return fr})},[]),nr=On(null),Un=(0,T.Z)(nr,2),Yn=Un[0],_r=Un[1];function cr(Kn,Fn){Fn&&(typeof Fn=="function"?Fn(Kn):Fn.scrollLeft!==Kn&&(Fn.scrollLeft=Kn,Fn.scrollLeft!==Kn&&setTimeout(function(){Fn.scrollLeft=Kn},0)))}var br=(0,W.Z)(function(Kn){var Fn=Kn.currentTarget,fr=Kn.scrollLeft,gr=pe==="rtl",dr=typeof fr=="number"?fr:Fn.scrollLeft,Ur=Fn||nt;if(!_r()||_r()===Ur){var Mr;Yn(Ur),cr(dr,Pr.current),cr(dr,Hn.current),cr(dr,Kr.current),cr(dr,(Mr=qn.current)===null||Mr===void 0?void 0:Mr.setScrollLeft)}var Zr=Fn||Pr.current;if(Zr){var Qr=Bt&&_n&&typeof jn=="number"?jn:Zr.scrollWidth,oi=Zr.clientWidth;if(Qr===oi){xr(!1),Er(!1);return}gr?(xr(-dr<Qr-oi),Er(-dr>0)):(xr(dr>0),Er(dr<Qr-oi))}}),Xr=(0,W.Z)(function(Kn){br(Kn),rn==null||rn(Kn)}),ei=function(){if(Wn&&Hn.current){var Fn;br({currentTarget:(0,ot.bn)(Hn.current),scrollLeft:(Fn=Hn.current)===null||Fn===void 0?void 0:Fn.scrollLeft})}else xr(!1),Er(!1)},ti=function(Fn){var fr,gr=Fn.width;(fr=qn.current)===null||fr===void 0||fr.checkScrollBarVisible();var dr=hr.current?hr.current.offsetWidth:gr;Bt&&Tn&&hr.current&&(dr=Tn(hr.current,dr)||dr),dr!==Jn&&(ei(),ir(dr))},Jr=_.useRef(!1);_.useEffect(function(){Jr.current&&ei()},[Wn,we,Pn.length]),_.useEffect(function(){Jr.current=!0},[]);var Ar=_.useState(0),jr=(0,T.Z)(Ar,2),Wr=jr[0],li=jr[1],wi=_.useState(!0),ui=(0,T.Z)(wi,2),ci=ui[0],xi=ui[1];_.useEffect(function(){(!_n||!Bt)&&(Hn.current instanceof Element?li((0,q.o)(Hn.current).width):li((0,q.o)(Lr.current).width)),xi((0,Z.G)("position","sticky"))},[]),_.useEffect(function(){Bt&&sn&&(sn.body.current=Hn.current)});var Ei=_.useCallback(function(Kn){return _.createElement(_.Fragment,null,_.createElement(Vn,Kn),Ir==="top"&&_.createElement(S,Kn,or))},[Ir,or]),Ci=_.useCallback(function(Kn){return _.createElement(S,Kn,or)},[or]),fi=yn(["table"],"table"),ni=_.useMemo(function(){return se||(Qn?jn==="max-content"?"auto":"fixed":dn||sr||pn.some(function(Kn){var Fn=Kn.ellipsis;return Fn})?"fixed":"auto")},[dn,Qn,pn,se,sr]),ri,ii={colWidths:Sr,columCount:pn.length,stickyOffsets:In,onHeaderRow:Et,fixHeader:dn,scroll:ee},di=_.useMemo(function(){return Ut?null:typeof Ft=="function"?Ft():Ft},[Ut,Ft]),hi=_.createElement(St,{data:mt,measureColumnWidth:dn||Wn||sr}),_i=_.createElement(Qt,{colWidths:pn.map(function(Kn){var Fn=Kn.width;return Fn}),columns:pn}),pi=Ct!=null?_.createElement("caption",{className:"".concat(ae,"-caption")},Ct):void 0,Si=(0,Q.Z)(te,{data:!0}),vi=(0,Q.Z)(te,{aria:!0});if(dn||sr){var ai;typeof bn=="function"?(ai=bn(mt,{scrollbarSize:Wr,ref:Hn,onScroll:br}),ii.colWidths=pn.map(function(Kn,Fn){var fr=Kn.width,gr=Fn===pn.length-1?fr-Wr:fr;return typeof gr=="number"&&!Number.isNaN(gr)?gr:0})):ai=_.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Gr),zr),onScroll:Xr,ref:Hn,className:g()("".concat(ae,"-body"))},_.createElement(fi,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,hi,!Ir&&or&&_.createElement(S,{stickyOffsets:In,flattenColumns:pn},or)));var mi=(0,Y.Z)((0,Y.Z)((0,Y.Z)({noData:!mt.length,maxContentScroll:Wn&&jn==="max-content"},ii),ur),{},{direction:pe,stickyClassName:yr,onScroll:br});ri=_.createElement(_.Fragment,null,Kt!==!1&&_.createElement(gt,(0,s.Z)({},mi,{stickyTopOffset:pr,className:"".concat(ae,"-header"),ref:Pr}),Ei),ai,Ir&&Ir!=="top"&&_.createElement(gt,(0,s.Z)({},mi,{stickyBottomOffset:vr,className:"".concat(ae,"-summary"),ref:Kr}),Ci),sr&&Hn.current&&Hn.current instanceof Element&&_.createElement(Se,{ref:qn,offsetScroll:wr,scrollBodyRef:Hn,onScroll:br,container:Rr,direction:pe}))}else ri=_.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Gr),zr),className:g()("".concat(ae,"-content")),onScroll:br,ref:Hn},_.createElement(fi,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,Kt!==!1&&_.createElement(Vn,(0,s.Z)({},ii,ur)),hi,or&&_.createElement(S,{stickyOffsets:In,flattenColumns:pn},or)));var si=_.createElement("div",(0,s.Z)({className:g()(ae,_e,(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(ae,"-rtl"),pe==="rtl"),"".concat(ae,"-ping-left"),Cr),"".concat(ae,"-ping-right"),kr),"".concat(ae,"-layout-fixed"),se==="fixed"),"".concat(ae,"-fixed-header"),dn),"".concat(ae,"-fixed-column"),Qn),"".concat(ae,"-fixed-column-gapped"),Qn&&lr),"".concat(ae,"-scroll-horizontal"),Wn),"".concat(ae,"-has-fix-left"),pn[0]&&pn[0].fixed),"".concat(ae,"-has-fix-right"),pn[pn.length-1]&&pn[pn.length-1].fixed==="right")),style:ve,id:yt,ref:hr},Si),De&&_.createElement(Te,{className:"".concat(ae,"-title")},De(mt)),_.createElement("div",{ref:Lr,className:"".concat(ae,"-container")},ri),Re&&_.createElement(Te,{className:"".concat(ae,"-footer")},Re(mt)));Wn&&(si=_.createElement(N.Z,{onResize:ti},si));var gi=Nn(pn,In,pe),Ri=_.useMemo(function(){return{scrollX:jn,prefixCls:ae,getComponent:yn,scrollbarSize:Wr,direction:pe,fixedInfoList:gi,isSticky:sr,supportSticky:ci,componentWidth:Jn,fixHeader:dn,fixColumn:Qn,horizonScroll:Wn,tableLayout:ni,rowClassName:oe,expandedRowClassName:Dn.expandedRowClassName,expandIcon:_t,expandableType:Bn,expandRowByClick:Dn.expandRowByClick,expandedRowRender:Dn.expandedRowRender,onTriggerExpand:Tt,expandIconColumnIndex:Dn.expandIconColumnIndex,indentSize:Dn.indentSize,allColumnsFixedLeft:pn.every(function(Kn){return Kn.fixed==="left"}),emptyNode:di,columns:Pn,flattenColumns:pn,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:tr,onHover:rr,rowExpandable:Dn.rowExpandable,onRow:nn,getRowKey:cn,expandedKeys:Mt,childrenColumnName:dt,rowHoverable:Vt}},[jn,ae,yn,Wr,pe,gi,sr,ci,Jn,dn,Qn,Wn,ni,oe,Dn.expandedRowClassName,_t,Bn,Dn.expandRowByClick,Dn.expandedRowRender,Tt,Dn.expandIconColumnIndex,Dn.indentSize,di,Pn,pn,qr,$n,tr,rr,Dn.rowExpandable,nn,cn,Mt,dt,Vt]);return _.createElement(l.Provider,{value:Ri},si)}var Ce=_.forwardRef(he);function de(M){return C(Ce,M)}var Ne=de();Ne.EXPAND_COLUMN=O.w,Ne.INTERNAL_HOOKS=O.R,Ne.Column=Be,Ne.ColumnGroup=et,Ne.Summary=z;var ke=Ne,Ie=u(45680),Ue=G(null),st=G(null);function ct(M,re,te){var ae=re||1;return te[M+ae]-(te[M]||0)}function ht(M){var re=M.rowInfo,te=M.column,ae=M.colIndex,_e=M.indent,oe=M.index,ve=M.component,we=M.renderIndex,Pe=M.record,ee=M.style,se=M.className,pe=M.inverse,De=M.getHeight,Re=te.render,qe=te.dataIndex,Ct=te.className,yt=te.width,Kt=e(st,["columnsOffset"]),xt=Kt.columnsOffset,Ft=ze(re,te,ae,_e,oe),nn=Ft.key,Et=Ft.fixedInfo,rn=Ft.appendCellNode,Jt=Ft.additionalCellProps,Xt=Jt.style,sn=Jt.colSpan,_n=sn===void 0?1:sn,Tn=Jt.rowSpan,tn=Tn===void 0?1:Tn,un=ae-1,Vt=ct(un,_n,xt),mt=_n>1?yt-Vt:0,Ut=(0,Y.Z)((0,Y.Z)((0,Y.Z)({},Xt),ee),{},{flex:"0 0 ".concat(Vt,"px"),width:"".concat(Vt,"px"),marginRight:mt,pointerEvents:"auto"}),Bt=_.useMemo(function(){return pe?tn<=1:_n===0||tn===0||tn>1},[tn,_n,pe]);Bt?Ut.visibility="hidden":pe&&(Ut.height=De==null?void 0:De(tn));var yn=Bt?function(){return null}:Re,cn={};return(tn===0||_n===0)&&(cn.rowSpan=1,cn.colSpan=1),_.createElement(Ot,(0,s.Z)({className:g()(Ct,se),ellipsis:te.ellipsis,align:te.align,scope:te.rowScope,component:ve,prefixCls:re.prefixCls,key:nn,record:Pe,index:oe,renderIndex:we,dataIndex:qe,render:yn,shouldCellUpdate:te.shouldCellUpdate},Et,{appendNode:rn,additionalProps:(0,Y.Z)((0,Y.Z)({},Jt),{},{style:Ut},cn)}))}var ut=ht,kt=["data","index","className","rowKey","style","extra","getHeight"],Lt=_.forwardRef(function(M,re){var te=M.data,ae=M.index,_e=M.className,oe=M.rowKey,ve=M.style,we=M.extra,Pe=M.getHeight,ee=(0,j.Z)(M,kt),se=te.record,pe=te.indent,De=te.index,Re=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),qe=Re.scrollX,Ct=Re.flattenColumns,yt=Re.prefixCls,Kt=Re.fixColumn,xt=Re.componentWidth,Ft=e(Ue,["getComponent"]),nn=Ft.getComponent,Et=ye(se,oe,ae,pe),rn=nn(["body","row"],"div"),Jt=nn(["body","cell"],"div"),Xt=Et.rowSupportExpand,sn=Et.expanded,_n=Et.rowProps,Tn=Et.expandedRowRender,tn=Et.expandedRowClassName,un;if(Xt&&sn){var Vt=Tn(se,ae,pe+1,sn),mt=je(tn,se,ae,pe),Ut={};Kt&&(Ut={style:(0,B.Z)({},"--virtual-width","".concat(xt,"px"))});var Bt="".concat(yt,"-expanded-row-cell");un=_.createElement(rn,{className:g()("".concat(yt,"-expanded-row"),"".concat(yt,"-expanded-row-level-").concat(pe+1),mt)},_.createElement(Ot,{component:Jt,prefixCls:yt,className:g()(Bt,(0,B.Z)({},"".concat(Bt,"-fixed"),Kt)),additionalProps:Ut},Vt))}var yn=(0,Y.Z)((0,Y.Z)({},ve),{},{width:qe});we&&(yn.position="absolute",yn.pointerEvents="none");var cn=_.createElement(rn,(0,s.Z)({},_n,ee,{"data-row-key":oe,ref:Xt?null:re,className:g()(_e,"".concat(yt,"-row"),_n==null?void 0:_n.className,(0,B.Z)({},"".concat(yt,"-row-extra"),we)),style:(0,Y.Z)((0,Y.Z)({},yn),_n==null?void 0:_n.style)}),Ct.map(function(bn,zn){return _.createElement(ut,{key:zn,component:Jt,rowInfo:Et,column:bn,colIndex:zn,indent:pe,index:ae,renderIndex:De,record:se,inverse:we,getHeight:Pe})}));return Xt?_.createElement("div",{ref:re},cn,un):cn}),Dt=h(Lt),bt=Dt,wt=_.forwardRef(function(M,re){var te=M.data,ae=M.onScroll,_e=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),oe=_e.flattenColumns,ve=_e.onColumnResize,we=_e.getRowKey,Pe=_e.expandedKeys,ee=_e.prefixCls,se=_e.childrenColumnName,pe=_e.scrollX,De=_e.direction,Re=e(Ue),qe=Re.sticky,Ct=Re.scrollY,yt=Re.listItemHeight,Kt=Re.getComponent,xt=Re.onScroll,Ft=_.useRef(),nn=be(te,se,Pe,we),Et=_.useMemo(function(){var un=0;return oe.map(function(Vt){var mt=Vt.width,Ut=Vt.key;return un+=mt,[Ut,mt,un]})},[oe]),rn=_.useMemo(function(){return Et.map(function(un){return un[2]})},[Et]);_.useEffect(function(){Et.forEach(function(un){var Vt=(0,T.Z)(un,2),mt=Vt[0],Ut=Vt[1];ve(mt,Ut)})},[Et]),_.useImperativeHandle(re,function(){var un,Vt={scrollTo:function(Ut){var Bt;(Bt=Ft.current)===null||Bt===void 0||Bt.scrollTo(Ut)},nativeElement:(un=Ft.current)===null||un===void 0?void 0:un.nativeElement};return Object.defineProperty(Vt,"scrollLeft",{get:function(){var Ut;return((Ut=Ft.current)===null||Ut===void 0?void 0:Ut.getScrollInfo().x)||0},set:function(Ut){var Bt;(Bt=Ft.current)===null||Bt===void 0||Bt.scrollTo({left:Ut})}}),Vt});var Jt=function(Vt,mt){var Ut,Bt=(Ut=nn[mt])===null||Ut===void 0?void 0:Ut.record,yn=Vt.onCell;if(yn){var cn,bn=yn(Bt,mt);return(cn=bn==null?void 0:bn.rowSpan)!==null&&cn!==void 0?cn:1}return 1},Xt=function(Vt){var mt=Vt.start,Ut=Vt.end,Bt=Vt.getSize,yn=Vt.offsetY;if(Ut<0)return null;for(var cn=oe.filter(function(_t){return Jt(_t,mt)===0}),bn=mt,zn=function(dt){if(cn=cn.filter(function(Tt){return Jt(Tt,dt)===0}),!cn.length)return bn=dt,1},Xn=mt;Xn>=0&&!zn(Xn);Xn-=1);for(var $n=oe.filter(function(_t){return Jt(_t,Ut)!==1}),tr=Ut,rr=function(dt){if($n=$n.filter(function(Tt){return Jt(Tt,dt)!==1}),!$n.length)return tr=Math.max(dt-1,Ut),1},Gn=Ut;Gn<nn.length&&!rr(Gn);Gn+=1);for(var an=[],Dn=function(dt){var Tt=nn[dt];if(!Tt)return 1;oe.some(function(wn){return Jt(wn,dt)>1})&&an.push(dt)},Bn=bn;Bn<=tr;Bn+=1)Dn(Bn);var Mt=an.map(function(_t){var dt=nn[_t],Tt=we(dt.record,_t),wn=function(Jn){var ir=_t+Jn-1,pt=we(nn[ir].record,ir),Ht=Bt(Tt,pt);return Ht.bottom-Ht.top},Ln=Bt(Tt);return _.createElement(bt,{key:_t,data:dt,rowKey:Tt,index:_t,style:{top:-yn+Ln.top},extra:!0,getHeight:wn})});return Mt},sn=_.useMemo(function(){return{columnsOffset:rn}},[rn]),_n="".concat(ee,"-tbody"),Tn=Kt(["body","wrapper"]),tn={};return qe&&(tn.position="sticky",tn.bottom=0,(0,F.Z)(qe)==="object"&&qe.offsetScroll&&(tn.bottom=qe.offsetScroll)),_.createElement(st.Provider,{value:sn},_.createElement(Ie.Z,{fullHeight:!1,ref:Ft,prefixCls:"".concat(_n,"-virtual"),styles:{horizontalScrollBar:tn},className:_n,height:Ct,itemHeight:yt||24,data:nn,itemKey:function(Vt){return we(Vt.record)},component:Tn,scrollWidth:pe,direction:De,onVirtualScroll:function(Vt){var mt,Ut=Vt.x;ae({currentTarget:(mt=Ft.current)===null||mt===void 0?void 0:mt.nativeElement,scrollLeft:Ut})},onScroll:xt,extraRender:Xt},function(un,Vt,mt){var Ut=we(un.record,Vt);return _.createElement(bt,{data:un,rowKey:Ut,index:Vt,style:mt.style})}))}),$t=h(wt),Qe=$t,He=function(re,te){var ae=te.ref,_e=te.onScroll;return _.createElement(Qe,{ref:ae,data:re,onScroll:_e})};function at(M,re){var te=M.data,ae=M.columns,_e=M.scroll,oe=M.sticky,ve=M.prefixCls,we=ve===void 0?At:ve,Pe=M.className,ee=M.listItemHeight,se=M.components,pe=M.onScroll,De=_e||{},Re=De.x,qe=De.y;typeof Re!="number"&&(Re=1),typeof qe!="number"&&(qe=500);var Ct=(0,Zt.zX)(function(xt,Ft){return(0,b.Z)(se,xt)||Ft}),yt=(0,Zt.zX)(pe),Kt=_.useMemo(function(){return{sticky:oe,scrollY:qe,listItemHeight:ee,getComponent:Ct,onScroll:yt}},[oe,qe,ee,Ct,yt]);return _.createElement(Ue.Provider,{value:Kt},_.createElement(ke,(0,s.Z)({},M,{className:g()(Pe,"".concat(we,"-virtual")),scroll:(0,Y.Z)((0,Y.Z)({},_e),{},{x:Re}),components:(0,Y.Z)((0,Y.Z)({},se),{},{body:te!=null&&te.length?He:void 0}),columns:ae,internalHooks:O.R,tailor:!0,ref:re})))}var en=_.forwardRef(at);function ln(M){return C(en,M)}var vn=ln(),Rn=null},90494:function(zt,Le,u){"use strict";u.d(Le,{g:function(){return _},v:function(){return V}});var O=u(77321),T=u(74416),W=u(48736),J=["expandable"],V="RC_TABLE_INTERNAL_COL_DEFINE";function _(H){var G=H.expandable,e=(0,T.Z)(H,J),s;return"expandable"in H?s=(0,O.Z)((0,O.Z)({},e),G):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(zt,Le,u){"use strict";u.d(Le,{G:function(){return J},Z:function(){return C}});var O=u(92310),T=u.n(O),W=u(59301);function J(h){var p=h.children,f=h.prefixCls,l=h.id,k=h.overlayInnerStyle,I=h.bodyClassName,L=h.className,F=h.style;return W.createElement("div",{className:T()("".concat(f,"-content"),L),style:F},W.createElement("div",{className:T()("".concat(f,"-inner"),I),id:l,role:"tooltip",style:k},typeof p=="function"?p():p))}var V=u(72308),_=u(77321),H=u(74416),G=u(65352),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},c=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:c}},r=null,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"],v=function(p,f){var l=p.overlayClassName,k=p.trigger,I=k===void 0?["hover"]:k,L=p.mouseEnterDelay,F=L===void 0?0:L,Y=p.mouseLeaveDelay,B=Y===void 0?.1:Y,ge=p.overlayStyle,g=p.prefixCls,d=g===void 0?"rc-tooltip":g,b=p.children,P=p.onVisibleChange,A=p.afterVisibleChange,w=p.transitionName,n=p.animation,i=p.motion,y=p.placement,K=y===void 0?"right":y,ue=p.align,Ee=ue===void 0?{}:ue,Ze=p.destroyTooltipOnHide,Ve=Ze===void 0?!1:Ze,rt=p.defaultVisible,Zt=p.getTooltipContainer,xe=p.overlayInnerStyle,Ye=p.arrowContent,Ot=p.overlay,Ae=p.id,Oe=p.showArrow,le=Oe===void 0?!0:Oe,E=p.classNames,j=p.styles,D=(0,H.Z)(p,o),ie=(0,a.Z)(Ae),fe=(0,W.useRef)(null);(0,W.useImperativeHandle)(f,function(){return fe.current});var R=(0,_.Z)({},D);"visible"in p&&(R.popupVisible=p.visible);var m=function(){return W.createElement(J,{key:"content",prefixCls:d,id:ie,bodyClassName:E==null?void 0:E.body,overlayInnerStyle:(0,_.Z)((0,_.Z)({},xe),j==null?void 0:j.body)},Ot)},S=function(){var N=W.Children.only(b),U=(N==null?void 0:N.props)||{},Z=(0,_.Z)((0,_.Z)({},U),{},{"aria-describedby":Ot?ie:null});return W.cloneElement(b,Z)};return W.createElement(G.Z,(0,V.Z)({popupClassName:T()(l,E==null?void 0:E.root),prefixCls:d,popup:m,action:I,builtinPlacements:t,popupPlacement:K,ref:fe,popupAlign:Ee,getPopupContainer:Zt,onPopupVisibleChange:P,afterPopupVisibleChange:A,popupTransitionName:w,popupAnimation:n,popupMotion:i,defaultPopupVisible:rt,autoDestroy:Ve,mouseLeaveDelay:B,popupStyle:(0,_.Z)((0,_.Z)({},ge),j==null?void 0:j.root),mouseEnterDelay:F,arrow:le},R),S())},x=(0,W.forwardRef)(v),C=x},639:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return p}});var O=u(72308),T=u(49618),W=u(77321),J=u(52487),V=u(74416),_=u(59301),H=u(92310),G=u.n(H),e=u(26112),s=u(30699),c=function(l){for(var k=l.prefixCls,I=l.level,L=l.isStart,F=l.isEnd,Y="".concat(k,"-indent-unit"),B=[],ge=0;ge<I;ge+=1)B.push(_.createElement("span",{key:ge,className:G()(Y,(0,T.Z)((0,T.Z)({},"".concat(Y,"-start"),L[ge]),"".concat(Y,"-end"),F[ge]))}));return _.createElement("span",{"aria-hidden":"true",className:"".concat(k,"-indent")},B)},t=_.memo(c),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"],v="open",x="close",C="---",h=function(l){var k,I,L,F=l.eventKey,Y=l.className,B=l.style,ge=l.dragOver,g=l.dragOverGapTop,d=l.dragOverGapBottom,b=l.isLeaf,P=l.isStart,A=l.isEnd,w=l.expanded,n=l.selected,i=l.checked,y=l.halfChecked,K=l.loading,ue=l.domRef,Ee=l.active,Ze=l.data,Ve=l.onMouseMove,rt=l.selectable,Zt=(0,V.Z)(l,o),xe=_.useContext(s.k),Ye=_.useContext(s.y),Ot=_.useRef(null),Ae=_.useState(!1),Oe=(0,J.Z)(Ae,2),le=Oe[0],E=Oe[1],j=!!(xe.disabled||l.disabled||(k=Ye.nodeDisabled)!==null&&k!==void 0&&k.call(Ye,Ze)),D=_.useMemo(function(){return!xe.checkable||l.checkable===!1?!1:xe.checkable},[xe.checkable,l.checkable]),ie=function(gt){j||xe.onNodeSelect(gt,(0,a.F)(l))},fe=function(gt){j||!D||l.disableCheckbox||xe.onNodeCheck(gt,(0,a.F)(l),!i)},R=_.useMemo(function(){return typeof rt=="boolean"?rt:xe.selectable},[rt,xe.selectable]),m=function(gt){xe.onNodeClick(gt,(0,a.F)(l)),R?ie(gt):fe(gt)},S=function(gt){xe.onNodeDoubleClick(gt,(0,a.F)(l))},z=function(gt){xe.onNodeMouseEnter(gt,(0,a.F)(l))},N=function(gt){xe.onNodeMouseLeave(gt,(0,a.F)(l))},U=function(gt){xe.onNodeContextMenu(gt,(0,a.F)(l))},Z=_.useMemo(function(){return!!(xe.draggable&&(!xe.draggable.nodeDraggable||xe.draggable.nodeDraggable(Ze)))},[xe.draggable,Ze]),q=function(gt){gt.stopPropagation(),E(!0),xe.onNodeDragStart(gt,l);try{gt.dataTransfer.setData("text/plain","")}catch(Gt){}},Q=function(gt){gt.preventDefault(),gt.stopPropagation(),xe.onNodeDragEnter(gt,l)},ce=function(gt){gt.preventDefault(),gt.stopPropagation(),xe.onNodeDragOver(gt,l)},be=function(gt){gt.stopPropagation(),xe.onNodeDragLeave(gt,l)},ye=function(gt){gt.stopPropagation(),E(!1),xe.onNodeDragEnd(gt,l)},Ke=function(gt){gt.preventDefault(),gt.stopPropagation(),E(!1),xe.onNodeDrop(gt,l)},Me=function(gt){K||xe.onNodeExpand(gt,(0,a.F)(l))},Fe=_.useMemo(function(){var We=(0,r.Z)(xe.keyEntities,F)||{},gt=We.children;return!!(gt||[]).length},[xe.keyEntities,F]),ft=_.useMemo(function(){return b===!1?!1:b||!xe.loadData&&!Fe||xe.loadData&&l.loaded&&!Fe},[b,xe.loadData,Fe,l.loaded]);_.useEffect(function(){K||typeof xe.loadData=="function"&&w&&!ft&&!l.loaded&&xe.onNodeLoad((0,a.F)(l))},[K,xe.loadData,xe.onNodeLoad,w,ft,l]);var je=_.useMemo(function(){var We;return(We=xe.draggable)!==null&&We!==void 0&&We.icon?_.createElement("span",{className:"".concat(xe.prefixCls,"-draggable-icon")},xe.draggable.icon):null},[xe.draggable]),ze=function(gt){var Gt=l.switcherIcon||xe.switcherIcon;return typeof Gt=="function"?Gt((0,W.Z)((0,W.Z)({},l),{},{isLeaf:gt})):Gt},Nt=function(){if(ft){var gt=ze(!0);return gt!==!1?_.createElement("span",{className:G()("".concat(xe.prefixCls,"-switcher"),"".concat(xe.prefixCls,"-switcher-noop"))},gt):null}var Gt=ze(!1);return Gt!==!1?_.createElement("span",{onClick:Me,className:G()("".concat(xe.prefixCls,"-switcher"),"".concat(xe.prefixCls,"-switcher_").concat(w?v:x))},Gt):null},It=_.useMemo(function(){if(!D)return null;var We=typeof D!="boolean"?D:null;return _.createElement("span",{className:G()("".concat(xe.prefixCls,"-checkbox"),(0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(xe.prefixCls,"-checkbox-checked"),i),"".concat(xe.prefixCls,"-checkbox-indeterminate"),!i&&y),"".concat(xe.prefixCls,"-checkbox-disabled"),j||l.disableCheckbox)),onClick:fe,role:"checkbox","aria-checked":y?"mixed":i,"aria-disabled":j||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},We)},[D,i,y,j,l.disableCheckbox,l.title]),it=_.useMemo(function(){return ft?null:w?v:x},[ft,w]),jt=_.useMemo(function(){return _.createElement("span",{className:G()("".concat(xe.prefixCls,"-iconEle"),"".concat(xe.prefixCls,"-icon__").concat(it||"docu"),(0,T.Z)({},"".concat(xe.prefixCls,"-icon_loading"),K))})},[xe.prefixCls,it,K]),hn=_.useMemo(function(){var We=!!xe.draggable,gt=!l.disabled&&We&&xe.dragOverNodeKey===F;return gt?xe.dropIndicatorRender({dropPosition:xe.dropPosition,dropLevelOffset:xe.dropLevelOffset,indent:xe.indent,prefixCls:xe.prefixCls,direction:xe.direction}):null},[xe.dropPosition,xe.dropLevelOffset,xe.indent,xe.prefixCls,xe.direction,xe.draggable,xe.dragOverNodeKey,xe.dropIndicatorRender]),St=_.useMemo(function(){var We=l.title,gt=We===void 0?C:We,Gt="".concat(xe.prefixCls,"-node-content-wrapper"),mn;if(xe.showIcon){var Wt=l.icon||xe.icon;mn=Wt?_.createElement("span",{className:G()("".concat(xe.prefixCls,"-iconEle"),"".concat(xe.prefixCls,"-icon__customize"))},typeof Wt=="function"?Wt(l):Wt):jt}else xe.loadData&&K&&(mn=jt);var kn;return typeof gt=="function"?kn=gt(Ze):xe.titleRender?kn=xe.titleRender(Ze):kn=gt,_.createElement("span",{ref:Ot,title:typeof gt=="string"?gt:"",className:G()(Gt,"".concat(Gt,"-").concat(it||"normal"),(0,T.Z)({},"".concat(xe.prefixCls,"-node-selected"),!j&&(n||le))),onMouseEnter:z,onMouseLeave:N,onContextMenu:U,onClick:m,onDoubleClick:S},mn,_.createElement("span",{className:"".concat(xe.prefixCls,"-title")},kn),hn)},[xe.prefixCls,xe.showIcon,l,xe.icon,jt,xe.titleRender,Ze,it,z,N,U,m,S]),vt=(0,e.Z)(Zt,{aria:!0,data:!0}),Rt=(0,r.Z)(xe.keyEntities,F)||{},on=Rt.level,Qt=A[A.length-1],qt=!j&&Z,En=xe.draggingNodeKey===F,fn=rt!==void 0?{"aria-selected":!!rt}:void 0;return _.createElement("div",(0,O.Z)({ref:ue,role:"treeitem","aria-expanded":b?void 0:w,className:G()(Y,"".concat(xe.prefixCls,"-treenode"),(L={},(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)(L,"".concat(xe.prefixCls,"-treenode-disabled"),j),"".concat(xe.prefixCls,"-treenode-switcher-").concat(w?"open":"close"),!b),"".concat(xe.prefixCls,"-treenode-checkbox-checked"),i),"".concat(xe.prefixCls,"-treenode-checkbox-indeterminate"),y),"".concat(xe.prefixCls,"-treenode-selected"),n),"".concat(xe.prefixCls,"-treenode-loading"),K),"".concat(xe.prefixCls,"-treenode-active"),Ee),"".concat(xe.prefixCls,"-treenode-leaf-last"),Qt),"".concat(xe.prefixCls,"-treenode-draggable"),Z),"dragging",En),(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)(L,"drop-target",xe.dropTargetKey===F),"drop-container",xe.dropContainerKey===F),"drag-over",!j&&ge),"drag-over-gap-top",!j&&g),"drag-over-gap-bottom",!j&&d),"filter-node",(I=xe.filterTreeNode)===null||I===void 0?void 0:I.call(xe,(0,a.F)(l))),"".concat(xe.prefixCls,"-treenode-leaf"),ft))),style:B,draggable:qt,onDragStart:qt?q:void 0,onDragEnter:Z?Q:void 0,onDragOver:Z?ce:void 0,onDragLeave:Z?be:void 0,onDrop:Z?Ke:void 0,onDragEnd:Z?ye:void 0,onMouseMove:Ve},fn,vt),_.createElement(t,{prefixCls:xe.prefixCls,level:on,isStart:P,isEnd:A}),je,Nt(),It,St)};h.isTreeNode=1;var p=h},30699:function(zt,Le,u){"use strict";u.d(Le,{k:function(){return T},y:function(){return W}});var O=u(59301),T=O.createContext(null),W=O.createContext({})},15018:function(zt,Le,u){"use strict";u.d(Le,{OF:function(){return F.Z},y6:function(){return x.y},ZP:function(){return j}});var O=u(72308),T=u(62853),W=u(77321),J=u(80702),V=u(96949),_=u(55090),H=u(80237),G=u(77205),e=u(38793),s=u(49618),c=u(92310),t=u.n(c),r=u(10228),a=u(26112),o=u(48736),v=u(59301),x=u(30699),C=function(ie){var fe=ie.dropPosition,R=ie.dropLevelOffset,m=ie.indent,S={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(fe){case-1:S.top=0,S.left=-R*m;break;case 1:S.bottom=0,S.left=-R*m;break;case 0:S.bottom=0,S.left=m;break}return v.createElement("div",{style:S})},h=C;function p(D){if(D==null)throw new TypeError("Cannot destructure "+D)}var f=u(52487),l=u(74416),k=u(34280),I=u(45680),L=u(77900),F=u(639);function Y(D,ie){var fe=v.useState(!1),R=(0,f.Z)(fe,2),m=R[0],S=R[1];(0,k.Z)(function(){if(m)return D(),function(){ie()}},[m]),(0,k.Z)(function(){return S(!0),function(){S(!1)}},[])}var B=Y,ge=u(34061),g=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],d=v.forwardRef(function(D,ie){var fe=D.className,R=D.style,m=D.motion,S=D.motionNodes,z=D.motionType,N=D.onMotionStart,U=D.onMotionEnd,Z=D.active,q=D.treeNodeRequiredProps,Q=(0,l.Z)(D,g),ce=v.useState(!0),be=(0,f.Z)(ce,2),ye=be[0],Ke=be[1],Me=v.useContext(x.k),Fe=Me.prefixCls,ft=S&&z!=="hide";(0,k.Z)(function(){S&&ft!==ye&&Ke(ft)},[S]);var je=function(){S&&N()},ze=v.useRef(!1),Nt=function(){S&&!ze.current&&(ze.current=!0,U())};B(je,Nt);var It=function(jt){ft===jt&&Nt()};return S?v.createElement(L.default,(0,O.Z)({ref:ie,visible:ye},m,{motionAppear:z==="show",onVisibleChanged:It}),function(it,jt){var hn=it.className,St=it.style;return v.createElement("div",{ref:jt,className:t()("".concat(Fe,"-treenode-motion"),hn),style:St},S.map(function(vt){var Rt=Object.assign({},(p(vt.data),vt.data)),on=vt.title,Qt=vt.key,qt=vt.isStart,En=vt.isEnd;delete Rt.children;var fn=(0,ge.H8)(Qt,q);return v.createElement(F.Z,(0,O.Z)({},Rt,fn,{title:on,active:Z,data:vt.data,key:Qt,isStart:qt,isEnd:En}))}))}):v.createElement(F.Z,(0,O.Z)({domRef:ie,className:fe,style:R},Q,{active:Z}))}),b=d;function P(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fe=D.length,R=ie.length;if(Math.abs(fe-R)!==1)return{add:!1,key:null};function m(S,z){var N=new Map;S.forEach(function(Z){N.set(Z,!0)});var U=z.filter(function(Z){return!N.has(Z)});return U.length===1?U[0]:null}return fe<R?{add:!0,key:m(D,ie)}:{add:!1,key:m(ie,D)}}function A(D,ie,fe){var R=D.findIndex(function(N){return N.key===fe}),m=D[R+1],S=ie.findIndex(function(N){return N.key===fe});if(m){var z=ie.findIndex(function(N){return N.key===m.key});return ie.slice(S+1,z)}return ie.slice(S+1)}var w=["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()),K={key:y},ue={key:y,level:0,index:0,pos:"0",node:K,nodes:[K]},Ee={parent:null,children:[],pos:ue.pos,data:K,title:null,key:y,isStart:[],isEnd:[]};function Ze(D,ie,fe,R){return ie===!1||!fe?D:D.slice(0,Math.ceil(fe/R)+1)}function Ve(D){var ie=D.key,fe=D.pos;return(0,ge.km)(ie,fe)}function rt(D){for(var ie=String(D.data.key),fe=D;fe.parent;)fe=fe.parent,ie="".concat(fe.data.key," > ").concat(ie);return ie}var Zt=v.forwardRef(function(D,ie){var fe=D.prefixCls,R=D.data,m=D.selectable,S=D.checkable,z=D.expandedKeys,N=D.selectedKeys,U=D.checkedKeys,Z=D.loadedKeys,q=D.loadingKeys,Q=D.halfCheckedKeys,ce=D.keyEntities,be=D.disabled,ye=D.dragging,Ke=D.dragOverNodeKey,Me=D.dropPosition,Fe=D.motion,ft=D.height,je=D.itemHeight,ze=D.virtual,Nt=D.scrollWidth,It=D.focusable,it=D.activeItem,jt=D.focused,hn=D.tabIndex,St=D.onKeyDown,vt=D.onFocus,Rt=D.onBlur,on=D.onActiveChange,Qt=D.onListChangeStart,qt=D.onListChangeEnd,En=(0,l.Z)(D,w),fn=v.useRef(null),We=v.useRef(null);v.useImperativeHandle(ie,function(){return{scrollTo:function(me){fn.current.scrollTo(me)},getIndentWidth:function(){return We.current.offsetWidth}}});var gt=v.useState(z),Gt=(0,f.Z)(gt,2),mn=Gt[0],Wt=Gt[1],kn=v.useState(R),Vn=(0,f.Z)(kn,2),Sn=Vn[0],Yt=Vn[1],Nn=v.useState(R),xn=(0,f.Z)(Nn,2),On=xn[0],gn=xn[1],Cn=v.useState([]),An=(0,f.Z)(Cn,2),Zn=An[0],ne=An[1],X=v.useState(null),$e=(0,f.Z)(X,2),Te=$e[0],Ge=$e[1],Xe=v.useRef(R);Xe.current=R;function ot(){var Se=Xe.current;Yt(Se),gn(Se),ne([]),Ge(null),qt()}(0,k.Z)(function(){Wt(z);var Se=P(mn,z);if(Se.key!==null)if(Se.add){var me=Sn.findIndex(function(nt){var $=nt.key;return $===Se.key}),Be=Ze(A(Sn,R,Se.key),ze,ft,je),lt=Sn.slice();lt.splice(me+1,0,Ee),gn(lt),ne(Be),Ge("show")}else{var et=R.findIndex(function(nt){var $=nt.key;return $===Se.key}),At=Ze(A(R,Sn,Se.key),ze,ft,je),Je=R.slice();Je.splice(et+1,0,Ee),gn(Je),ne(At),Ge("hide")}else Sn!==R&&(Yt(R),gn(R))},[z,R]),v.useEffect(function(){ye||ot()},[ye]);var tt=Fe?On:R,Pt={expandedKeys:z,selectedKeys:N,loadedKeys:Z,loadingKeys:q,checkedKeys:U,halfCheckedKeys:Q,dragOverNodeKey:Ke,dropPosition:Me,keyEntities:ce};return v.createElement(v.Fragment,null,jt&&it&&v.createElement("span",{style:n,"aria-live":"assertive"},rt(it)),v.createElement("div",null,v.createElement("input",{style:n,disabled:It===!1||be,tabIndex:It!==!1?hn:null,onKeyDown:St,onFocus:vt,onBlur:Rt,value:"",onChange:i,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(fe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(fe,"-indent")},v.createElement("div",{ref:We,className:"".concat(fe,"-indent-unit")}))),v.createElement(I.Z,(0,O.Z)({},En,{data:tt,itemKey:Ve,height:ft,fullHeight:!1,virtual:ze,itemHeight:je,scrollWidth:Nt,prefixCls:"".concat(fe,"-list"),ref:fn,role:"tree",onVisibleChange:function(me){me.every(function(Be){return Ve(Be)!==y})&&ot()}}),function(Se){var me=Se.pos,Be=Object.assign({},(p(Se.data),Se.data)),lt=Se.title,et=Se.key,At=Se.isStart,Je=Se.isEnd,nt=(0,ge.km)(et,me);delete Be.key,delete Be.children;var $=(0,ge.H8)(nt,Pt);return v.createElement(b,(0,O.Z)({},Be,$,{title:lt,active:!!it&&et===it.key,pos:me,data:Se.data,isStart:At,isEnd:Je,motion:Fe,motionNodes:et===y?Zn:null,motionType:Te,onMotionStart:Qt,onMotionEnd:ot,treeNodeRequiredProps:Pt,onMouseMove:function(){on(null)}}))}))}),xe=Zt,Ye=u(82661),Ot=u(34643),Ae=u(65065),Oe=10,le=function(D){(0,G.Z)(fe,D);var ie=(0,e.Z)(fe);function fe(){var R;(0,V.Z)(this,fe);for(var m=arguments.length,S=new Array(m),z=0;z<m;z++)S[z]=arguments[z];return R=ie.call.apply(ie,[this].concat(S)),(0,s.Z)((0,H.Z)(R),"destroyed",!1),(0,s.Z)((0,H.Z)(R),"delayedDragEnterLogic",void 0),(0,s.Z)((0,H.Z)(R),"loadingRetryTimes",{}),(0,s.Z)((0,H.Z)(R),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ge.w$)()}),(0,s.Z)((0,H.Z)(R),"dragStartMousePosition",null),(0,s.Z)((0,H.Z)(R),"dragNodeProps",null),(0,s.Z)((0,H.Z)(R),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,H.Z)(R),"listRef",v.createRef()),(0,s.Z)((0,H.Z)(R),"onNodeDragStart",function(N,U){var Z=R.state,q=Z.expandedKeys,Q=Z.keyEntities,ce=R.props.onDragStart,be=U.eventKey;R.dragNodeProps=U,R.dragStartMousePosition={x:N.clientX,y:N.clientY};var ye=(0,Ye._5)(q,be);R.setState({draggingNodeKey:be,dragChildrenKeys:(0,Ye.wA)(be,Q),indent:R.listRef.current.getIndentWidth()}),R.setExpandedKeys(ye),window.addEventListener("dragend",R.onWindowDragEnd),ce==null||ce({event:N,node:(0,ge.F)(U)})}),(0,s.Z)((0,H.Z)(R),"onNodeDragEnter",function(N,U){var Z=R.state,q=Z.expandedKeys,Q=Z.keyEntities,ce=Z.dragChildrenKeys,be=Z.flattenNodes,ye=Z.indent,Ke=R.props,Me=Ke.onDragEnter,Fe=Ke.onExpand,ft=Ke.allowDrop,je=Ke.direction,ze=U.pos,Nt=U.eventKey;if(R.currentMouseOverDroppableNodeKey!==Nt&&(R.currentMouseOverDroppableNodeKey=Nt),!R.dragNodeProps){R.resetDragState();return}var It=(0,Ye.OM)(N,R.dragNodeProps,U,ye,R.dragStartMousePosition,ft,be,Q,q,je),it=It.dropPosition,jt=It.dropLevelOffset,hn=It.dropTargetKey,St=It.dropContainerKey,vt=It.dropTargetPos,Rt=It.dropAllowed,on=It.dragOverNodeKey;if(ce.includes(hn)||!Rt){R.resetDragState();return}if(R.delayedDragEnterLogic||(R.delayedDragEnterLogic={}),Object.keys(R.delayedDragEnterLogic).forEach(function(Qt){clearTimeout(R.delayedDragEnterLogic[Qt])}),R.dragNodeProps.eventKey!==U.eventKey&&(N.persist(),R.delayedDragEnterLogic[ze]=window.setTimeout(function(){if(R.state.draggingNodeKey!==null){var Qt=(0,J.Z)(q),qt=(0,Ae.Z)(Q,U.eventKey);qt&&(qt.children||[]).length&&(Qt=(0,Ye.L0)(q,U.eventKey)),R.props.hasOwnProperty("expandedKeys")||R.setExpandedKeys(Qt),Fe==null||Fe(Qt,{node:(0,ge.F)(U),expanded:!0,nativeEvent:N.nativeEvent})}},800)),R.dragNodeProps.eventKey===hn&&jt===0){R.resetDragState();return}R.setState({dragOverNodeKey:on,dropPosition:it,dropLevelOffset:jt,dropTargetKey:hn,dropContainerKey:St,dropTargetPos:vt,dropAllowed:Rt}),Me==null||Me({event:N,node:(0,ge.F)(U),expandedKeys:q})}),(0,s.Z)((0,H.Z)(R),"onNodeDragOver",function(N,U){var Z=R.state,q=Z.dragChildrenKeys,Q=Z.flattenNodes,ce=Z.keyEntities,be=Z.expandedKeys,ye=Z.indent,Ke=R.props,Me=Ke.onDragOver,Fe=Ke.allowDrop,ft=Ke.direction;if(R.dragNodeProps){var je=(0,Ye.OM)(N,R.dragNodeProps,U,ye,R.dragStartMousePosition,Fe,Q,ce,be,ft),ze=je.dropPosition,Nt=je.dropLevelOffset,It=je.dropTargetKey,it=je.dropContainerKey,jt=je.dropTargetPos,hn=je.dropAllowed,St=je.dragOverNodeKey;q.includes(It)||!hn||(R.dragNodeProps.eventKey===It&&Nt===0?R.state.dropPosition===null&&R.state.dropLevelOffset===null&&R.state.dropTargetKey===null&&R.state.dropContainerKey===null&&R.state.dropTargetPos===null&&R.state.dropAllowed===!1&&R.state.dragOverNodeKey===null||R.resetDragState():ze===R.state.dropPosition&&Nt===R.state.dropLevelOffset&&It===R.state.dropTargetKey&&it===R.state.dropContainerKey&&jt===R.state.dropTargetPos&&hn===R.state.dropAllowed&&St===R.state.dragOverNodeKey||R.setState({dropPosition:ze,dropLevelOffset:Nt,dropTargetKey:It,dropContainerKey:it,dropTargetPos:jt,dropAllowed:hn,dragOverNodeKey:St}),Me==null||Me({event:N,node:(0,ge.F)(U)}))}}),(0,s.Z)((0,H.Z)(R),"onNodeDragLeave",function(N,U){R.currentMouseOverDroppableNodeKey===U.eventKey&&!N.currentTarget.contains(N.relatedTarget)&&(R.resetDragState(),R.currentMouseOverDroppableNodeKey=null);var Z=R.props.onDragLeave;Z==null||Z({event:N,node:(0,ge.F)(U)})}),(0,s.Z)((0,H.Z)(R),"onWindowDragEnd",function(N){R.onNodeDragEnd(N,null,!0),window.removeEventListener("dragend",R.onWindowDragEnd)}),(0,s.Z)((0,H.Z)(R),"onNodeDragEnd",function(N,U){var Z=R.props.onDragEnd;R.setState({dragOverNodeKey:null}),R.cleanDragState(),Z==null||Z({event:N,node:(0,ge.F)(U)}),R.dragNodeProps=null,window.removeEventListener("dragend",R.onWindowDragEnd)}),(0,s.Z)((0,H.Z)(R),"onNodeDrop",function(N,U){var Z,q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Q=R.state,ce=Q.dragChildrenKeys,be=Q.dropPosition,ye=Q.dropTargetKey,Ke=Q.dropTargetPos,Me=Q.dropAllowed;if(Me){var Fe=R.props.onDrop;if(R.setState({dragOverNodeKey:null}),R.cleanDragState(),ye!==null){var ft=(0,W.Z)((0,W.Z)({},(0,ge.H8)(ye,R.getTreeNodeRequiredProps())),{},{active:((Z=R.getActiveItem())===null||Z===void 0?void 0:Z.key)===ye,data:(0,Ae.Z)(R.state.keyEntities,ye).node}),je=ce.includes(ye);(0,o.ZP)(!je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ze=(0,Ye.yx)(Ke),Nt={event:N,node:(0,ge.F)(ft),dragNode:R.dragNodeProps?(0,ge.F)(R.dragNodeProps):null,dragNodesKeys:[R.dragNodeProps.eventKey].concat(ce),dropToGap:be!==0,dropPosition:be+Number(ze[ze.length-1])};q||Fe==null||Fe(Nt),R.dragNodeProps=null}}}),(0,s.Z)((0,H.Z)(R),"cleanDragState",function(){var N=R.state.draggingNodeKey;N!==null&&R.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),R.dragStartMousePosition=null,R.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,H.Z)(R),"triggerExpandActionExpand",function(N,U){var Z=R.state,q=Z.expandedKeys,Q=Z.flattenNodes,ce=U.expanded,be=U.key,ye=U.isLeaf;if(!(ye||N.shiftKey||N.metaKey||N.ctrlKey)){var Ke=Q.filter(function(Fe){return Fe.key===be})[0],Me=(0,ge.F)((0,W.Z)((0,W.Z)({},(0,ge.H8)(be,R.getTreeNodeRequiredProps())),{},{data:Ke.data}));R.setExpandedKeys(ce?(0,Ye._5)(q,be):(0,Ye.L0)(q,be)),R.onNodeExpand(N,Me)}}),(0,s.Z)((0,H.Z)(R),"onNodeClick",function(N,U){var Z=R.props,q=Z.onClick,Q=Z.expandAction;Q==="click"&&R.triggerExpandActionExpand(N,U),q==null||q(N,U)}),(0,s.Z)((0,H.Z)(R),"onNodeDoubleClick",function(N,U){var Z=R.props,q=Z.onDoubleClick,Q=Z.expandAction;Q==="doubleClick"&&R.triggerExpandActionExpand(N,U),q==null||q(N,U)}),(0,s.Z)((0,H.Z)(R),"onNodeSelect",function(N,U){var Z=R.state.selectedKeys,q=R.state,Q=q.keyEntities,ce=q.fieldNames,be=R.props,ye=be.onSelect,Ke=be.multiple,Me=U.selected,Fe=U[ce.key],ft=!Me;ft?Ke?Z=(0,Ye.L0)(Z,Fe):Z=[Fe]:Z=(0,Ye._5)(Z,Fe);var je=Z.map(function(ze){var Nt=(0,Ae.Z)(Q,ze);return Nt?Nt.node:null}).filter(Boolean);R.setUncontrolledState({selectedKeys:Z}),ye==null||ye(Z,{event:"select",selected:ft,node:U,selectedNodes:je,nativeEvent:N.nativeEvent})}),(0,s.Z)((0,H.Z)(R),"onNodeCheck",function(N,U,Z){var q=R.state,Q=q.keyEntities,ce=q.checkedKeys,be=q.halfCheckedKeys,ye=R.props,Ke=ye.checkStrictly,Me=ye.onCheck,Fe=U.key,ft,je={event:"check",node:U,checked:Z,nativeEvent:N.nativeEvent};if(Ke){var ze=Z?(0,Ye.L0)(ce,Fe):(0,Ye._5)(ce,Fe),Nt=(0,Ye._5)(be,Fe);ft={checked:ze,halfChecked:Nt},je.checkedNodes=ze.map(function(vt){return(0,Ae.Z)(Q,vt)}).filter(Boolean).map(function(vt){return vt.node}),R.setUncontrolledState({checkedKeys:ze})}else{var It=(0,Ot.S)([].concat((0,J.Z)(ce),[Fe]),!0,Q),it=It.checkedKeys,jt=It.halfCheckedKeys;if(!Z){var hn=new Set(it);hn.delete(Fe);var St=(0,Ot.S)(Array.from(hn),{checked:!1,halfCheckedKeys:jt},Q);it=St.checkedKeys,jt=St.halfCheckedKeys}ft=it,je.checkedNodes=[],je.checkedNodesPositions=[],je.halfCheckedKeys=jt,it.forEach(function(vt){var Rt=(0,Ae.Z)(Q,vt);if(Rt){var on=Rt.node,Qt=Rt.pos;je.checkedNodes.push(on),je.checkedNodesPositions.push({node:on,pos:Qt})}}),R.setUncontrolledState({checkedKeys:it},!1,{halfCheckedKeys:jt})}Me==null||Me(ft,je)}),(0,s.Z)((0,H.Z)(R),"onNodeLoad",function(N){var U,Z=N.key,q=R.state.keyEntities,Q=(0,Ae.Z)(q,Z);if(!(Q!=null&&(U=Q.children)!==null&&U!==void 0&&U.length)){var ce=new Promise(function(be,ye){R.setState(function(Ke){var Me=Ke.loadedKeys,Fe=Me===void 0?[]:Me,ft=Ke.loadingKeys,je=ft===void 0?[]:ft,ze=R.props,Nt=ze.loadData,It=ze.onLoad;if(!Nt||Fe.includes(Z)||je.includes(Z))return null;var it=Nt(N);return it.then(function(){var jt=R.state.loadedKeys,hn=(0,Ye.L0)(jt,Z);It==null||It(hn,{event:"load",node:N}),R.setUncontrolledState({loadedKeys:hn}),R.setState(function(St){return{loadingKeys:(0,Ye._5)(St.loadingKeys,Z)}}),be()}).catch(function(jt){if(R.setState(function(St){return{loadingKeys:(0,Ye._5)(St.loadingKeys,Z)}}),R.loadingRetryTimes[Z]=(R.loadingRetryTimes[Z]||0)+1,R.loadingRetryTimes[Z]>=Oe){var hn=R.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),R.setUncontrolledState({loadedKeys:(0,Ye.L0)(hn,Z)}),be()}ye(jt)}),{loadingKeys:(0,Ye.L0)(je,Z)}})});return ce.catch(function(){}),ce}}),(0,s.Z)((0,H.Z)(R),"onNodeMouseEnter",function(N,U){var Z=R.props.onMouseEnter;Z==null||Z({event:N,node:U})}),(0,s.Z)((0,H.Z)(R),"onNodeMouseLeave",function(N,U){var Z=R.props.onMouseLeave;Z==null||Z({event:N,node:U})}),(0,s.Z)((0,H.Z)(R),"onNodeContextMenu",function(N,U){var Z=R.props.onRightClick;Z&&(N.preventDefault(),Z({event:N,node:U}))}),(0,s.Z)((0,H.Z)(R),"onFocus",function(){var N=R.props.onFocus;R.setState({focused:!0});for(var U=arguments.length,Z=new Array(U),q=0;q<U;q++)Z[q]=arguments[q];N==null||N.apply(void 0,Z)}),(0,s.Z)((0,H.Z)(R),"onBlur",function(){var N=R.props.onBlur;R.setState({focused:!1}),R.onActiveChange(null);for(var U=arguments.length,Z=new Array(U),q=0;q<U;q++)Z[q]=arguments[q];N==null||N.apply(void 0,Z)}),(0,s.Z)((0,H.Z)(R),"getTreeNodeRequiredProps",function(){var N=R.state,U=N.expandedKeys,Z=N.selectedKeys,q=N.loadedKeys,Q=N.loadingKeys,ce=N.checkedKeys,be=N.halfCheckedKeys,ye=N.dragOverNodeKey,Ke=N.dropPosition,Me=N.keyEntities;return{expandedKeys:U||[],selectedKeys:Z||[],loadedKeys:q||[],loadingKeys:Q||[],checkedKeys:ce||[],halfCheckedKeys:be||[],dragOverNodeKey:ye,dropPosition:Ke,keyEntities:Me}}),(0,s.Z)((0,H.Z)(R),"setExpandedKeys",function(N){var U=R.state,Z=U.treeData,q=U.fieldNames,Q=(0,ge.oH)(Z,N,q);R.setUncontrolledState({expandedKeys:N,flattenNodes:Q},!0)}),(0,s.Z)((0,H.Z)(R),"onNodeExpand",function(N,U){var Z=R.state.expandedKeys,q=R.state,Q=q.listChanging,ce=q.fieldNames,be=R.props,ye=be.onExpand,Ke=be.loadData,Me=U.expanded,Fe=U[ce.key];if(!Q){var ft=Z.includes(Fe),je=!Me;if((0,o.ZP)(Me&&ft||!Me&&!ft,"Expand state not sync with index check"),Z=je?(0,Ye.L0)(Z,Fe):(0,Ye._5)(Z,Fe),R.setExpandedKeys(Z),ye==null||ye(Z,{node:U,expanded:je,nativeEvent:N.nativeEvent}),je&&Ke){var ze=R.onNodeLoad(U);ze&&ze.then(function(){var Nt=(0,ge.oH)(R.state.treeData,Z,ce);R.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=R.state.expandedKeys,It=(0,Ye._5)(Nt,Fe);R.setExpandedKeys(It)})}}}),(0,s.Z)((0,H.Z)(R),"onListChangeStart",function(){R.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,H.Z)(R),"onListChangeEnd",function(){setTimeout(function(){R.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,H.Z)(R),"onActiveChange",function(N){var U=R.state.activeKey,Z=R.props,q=Z.onActiveChange,Q=Z.itemScrollOffset,ce=Q===void 0?0:Q;U!==N&&(R.setState({activeKey:N}),N!==null&&R.scrollTo({key:N,offset:ce}),q==null||q(N))}),(0,s.Z)((0,H.Z)(R),"getActiveItem",function(){var N=R.state,U=N.activeKey,Z=N.flattenNodes;return U===null?null:Z.find(function(q){var Q=q.key;return Q===U})||null}),(0,s.Z)((0,H.Z)(R),"offsetActiveKey",function(N){var U=R.state,Z=U.flattenNodes,q=U.activeKey,Q=Z.findIndex(function(ye){var Ke=ye.key;return Ke===q});Q===-1&&N<0&&(Q=Z.length),Q=(Q+N+Z.length)%Z.length;var ce=Z[Q];if(ce){var be=ce.key;R.onActiveChange(be)}else R.onActiveChange(null)}),(0,s.Z)((0,H.Z)(R),"onKeyDown",function(N){var U=R.state,Z=U.activeKey,q=U.expandedKeys,Q=U.checkedKeys,ce=U.fieldNames,be=R.props,ye=be.onKeyDown,Ke=be.checkable,Me=be.selectable;switch(N.which){case r.Z.UP:{R.offsetActiveKey(-1),N.preventDefault();break}case r.Z.DOWN:{R.offsetActiveKey(1),N.preventDefault();break}}var Fe=R.getActiveItem();if(Fe&&Fe.data){var ft=R.getTreeNodeRequiredProps(),je=Fe.data.isLeaf===!1||!!(Fe.data[ce.children]||[]).length,ze=(0,ge.F)((0,W.Z)((0,W.Z)({},(0,ge.H8)(Z,ft)),{},{data:Fe.data,active:!0}));switch(N.which){case r.Z.LEFT:{je&&q.includes(Z)?R.onNodeExpand({},ze):Fe.parent&&R.onActiveChange(Fe.parent.key),N.preventDefault();break}case r.Z.RIGHT:{je&&!q.includes(Z)?R.onNodeExpand({},ze):Fe.children&&Fe.children.length&&R.onActiveChange(Fe.children[0].key),N.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Ke&&!ze.disabled&&ze.checkable!==!1&&!ze.disableCheckbox?R.onNodeCheck({},ze,!Q.includes(Z)):!Ke&&Me&&!ze.disabled&&ze.selectable!==!1&&R.onNodeSelect({},ze);break}}}ye==null||ye(N)}),(0,s.Z)((0,H.Z)(R),"setUncontrolledState",function(N){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R.destroyed){var q=!1,Q=!0,ce={};Object.keys(N).forEach(function(be){if(R.props.hasOwnProperty(be)){Q=!1;return}q=!0,ce[be]=N[be]}),q&&(!U||Q)&&R.setState((0,W.Z)((0,W.Z)({},ce),Z))}}),(0,s.Z)((0,H.Z)(R),"scrollTo",function(N){R.listRef.current.scrollTo(N)}),R}return(0,_.Z)(fe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var m=this.props,S=m.activeKey,z=m.itemScrollOffset,N=z===void 0?0:z;S!==void 0&&S!==this.state.activeKey&&(this.setState({activeKey:S}),S!==null&&this.scrollTo({key:S,offset:N}))}},{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 m=this.state,S=m.focused,z=m.flattenNodes,N=m.keyEntities,U=m.draggingNodeKey,Z=m.activeKey,q=m.dropLevelOffset,Q=m.dropContainerKey,ce=m.dropTargetKey,be=m.dropPosition,ye=m.dragOverNodeKey,Ke=m.indent,Me=this.props,Fe=Me.prefixCls,ft=Me.className,je=Me.style,ze=Me.showLine,Nt=Me.focusable,It=Me.tabIndex,it=It===void 0?0:It,jt=Me.selectable,hn=Me.showIcon,St=Me.icon,vt=Me.switcherIcon,Rt=Me.draggable,on=Me.checkable,Qt=Me.checkStrictly,qt=Me.disabled,En=Me.motion,fn=Me.loadData,We=Me.filterTreeNode,gt=Me.height,Gt=Me.itemHeight,mn=Me.scrollWidth,Wt=Me.virtual,kn=Me.titleRender,Vn=Me.dropIndicatorRender,Sn=Me.onContextMenu,Yt=Me.onScroll,Nn=Me.direction,xn=Me.rootClassName,On=Me.rootStyle,gn=(0,a.Z)(this.props,{aria:!0,data:!0}),Cn;Rt&&((0,T.Z)(Rt)==="object"?Cn=Rt:typeof Rt=="function"?Cn={nodeDraggable:Rt}:Cn={});var An={prefixCls:Fe,selectable:jt,showIcon:hn,icon:St,switcherIcon:vt,draggable:Cn,draggingNodeKey:U,checkable:on,checkStrictly:Qt,disabled:qt,keyEntities:N,dropLevelOffset:q,dropContainerKey:Q,dropTargetKey:ce,dropPosition:be,dragOverNodeKey:ye,indent:Ke,direction:Nn,dropIndicatorRender:Vn,loadData:fn,filterTreeNode:We,titleRender:kn,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 v.createElement(x.k.Provider,{value:An},v.createElement("div",{className:t()(Fe,ft,xn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(Fe,"-show-line"),ze),"".concat(Fe,"-focused"),S),"".concat(Fe,"-active-focused"),Z!==null)),style:On},v.createElement(xe,(0,O.Z)({ref:this.listRef,prefixCls:Fe,style:je,data:z,disabled:qt,selectable:jt,checkable:!!on,motion:En,dragging:U!==null,height:gt,itemHeight:Gt,virtual:Wt,focusable:Nt,focused:S,tabIndex:it,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Sn,onScroll:Yt,scrollWidth:mn},this.getTreeNodeRequiredProps(),gn))))}}],[{key:"getDerivedStateFromProps",value:function(m,S){var z=S.prevProps,N={prevProps:m};function U(it){return!z&&m.hasOwnProperty(it)||z&&z[it]!==m[it]}var Z,q=S.fieldNames;if(U("fieldNames")&&(q=(0,ge.w$)(m.fieldNames),N.fieldNames=q),U("treeData")?Z=m.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Z=(0,ge.zn)(m.children)),Z){N.treeData=Z;var Q=(0,ge.I8)(Z,{fieldNames:q});N.keyEntities=(0,W.Z)((0,s.Z)({},y,ue),Q.keyEntities)}var ce=N.keyEntities||S.keyEntities;if(U("expandedKeys")||z&&U("autoExpandParent"))N.expandedKeys=m.autoExpandParent||!z&&m.defaultExpandParent?(0,Ye.r7)(m.expandedKeys,ce):m.expandedKeys;else if(!z&&m.defaultExpandAll){var be=(0,W.Z)({},ce);delete be[y];var ye=[];Object.keys(be).forEach(function(it){var jt=be[it];jt.children&&jt.children.length&&ye.push(jt.key)}),N.expandedKeys=ye}else!z&&m.defaultExpandedKeys&&(N.expandedKeys=m.autoExpandParent||m.defaultExpandParent?(0,Ye.r7)(m.defaultExpandedKeys,ce):m.defaultExpandedKeys);if(N.expandedKeys||delete N.expandedKeys,Z||N.expandedKeys){var Ke=(0,ge.oH)(Z||S.treeData,N.expandedKeys||S.expandedKeys,q);N.flattenNodes=Ke}if(m.selectable&&(U("selectedKeys")?N.selectedKeys=(0,Ye.BT)(m.selectedKeys,m):!z&&m.defaultSelectedKeys&&(N.selectedKeys=(0,Ye.BT)(m.defaultSelectedKeys,m))),m.checkable){var Me;if(U("checkedKeys")?Me=(0,Ye.E6)(m.checkedKeys)||{}:!z&&m.defaultCheckedKeys?Me=(0,Ye.E6)(m.defaultCheckedKeys)||{}:Z&&(Me=(0,Ye.E6)(m.checkedKeys)||{checkedKeys:S.checkedKeys,halfCheckedKeys:S.halfCheckedKeys}),Me){var Fe=Me,ft=Fe.checkedKeys,je=ft===void 0?[]:ft,ze=Fe.halfCheckedKeys,Nt=ze===void 0?[]:ze;if(!m.checkStrictly){var It=(0,Ot.S)(je,!0,ce);je=It.checkedKeys,Nt=It.halfCheckedKeys}N.checkedKeys=je,N.halfCheckedKeys=Nt}}return U("loadedKeys")&&(N.loadedKeys=m.loadedKeys),N}}]),fe}(v.Component);(0,s.Z)(le,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:h,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(le,"TreeNode",F.Z);var E=le,j=E},82661:function(zt,Le,u){"use strict";u.d(Le,{BT:function(){return v},E6:function(){return h},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return p},wA:function(){return t},yx:function(){return c}});var O=u(80702),T=u(62853),W=u(48736),J=u(59301),V=u(639),_=u(65065),H=u(34061),G=null;function e(f,l){if(!f)return[];var k=f.slice(),I=k.indexOf(l);return I>=0&&k.splice(I,1),k}function s(f,l){var k=(f||[]).slice();return k.indexOf(l)===-1&&k.push(l),k}function c(f){return f.split("-")}function t(f,l){var k=[],I=(0,_.Z)(l,f);function L(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];F.forEach(function(Y){var B=Y.key,ge=Y.children;k.push(B),L(ge)})}return L(I.children),k}function r(f){if(f.parent){var l=c(f.pos);return Number(l[l.length-1])===f.parent.children.length-1}return!1}function a(f){var l=c(f.pos);return Number(l[l.length-1])===0}function o(f,l,k,I,L,F,Y,B,ge,g){var d,b=f.clientX,P=f.clientY,A=f.target.getBoundingClientRect(),w=A.top,n=A.height,i=(g==="rtl"?-1:1)*(((L==null?void 0:L.x)||0)-b),y=(i-12)/I,K=ge.filter(function(j){var D;return(D=B[j])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),ue=(0,_.Z)(B,k.eventKey);if(P<w+n/2){var Ee=Y.findIndex(function(j){return j.key===ue.key}),Ze=Ee<=0?0:Ee-1,Ve=Y[Ze].key;ue=(0,_.Z)(B,Ve)}var rt=ue.key,Zt=ue,xe=ue.key,Ye=0,Ot=0;if(!K.includes(rt))for(var Ae=0;Ae<y&&r(ue);Ae+=1)ue=ue.parent,Ot+=1;var Oe=l.data,le=ue.node,E=!0;return a(ue)&&ue.level===0&&P<w+n/2&&F({dragNode:Oe,dropNode:le,dropPosition:-1})&&ue.key===k.eventKey?Ye=-1:(Zt.children||[]).length&&K.includes(xe)?F({dragNode:Oe,dropNode:le,dropPosition:0})?Ye=0:E=!1:Ot===0?y>-1.5?F({dragNode:Oe,dropNode:le,dropPosition:1})?Ye=1:E=!1:F({dragNode:Oe,dropNode:le,dropPosition:0})?Ye=0:F({dragNode:Oe,dropNode:le,dropPosition:1})?Ye=1:E=!1:F({dragNode:Oe,dropNode:le,dropPosition:1})?Ye=1:E=!1,{dropPosition:Ye,dropLevelOffset:Ot,dropTargetKey:ue.key,dropTargetPos:ue.pos,dragOverNodeKey:xe,dropContainerKey:Ye===0?null:((d=ue.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:E}}function v(f,l){if(f){var k=l.multiple;return k?f.slice():f.length?[f[0]]:f}}var x=function(l){return l};function C(f,l){if(!f)return[];var k=l||{},I=k.processProps,L=I===void 0?x:I,F=Array.isArray(f)?f:[f];return F.map(function(Y){var B=Y.children,ge=_objectWithoutProperties(Y,G),g=C(B,l);return React.createElement(TreeNode,_extends({key:ge.key},L(ge)),g)})}function h(f){if(!f)return null;var l;if(Array.isArray(f))l={checkedKeys:f,halfCheckedKeys:void 0};else if((0,T.Z)(f)==="object")l={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,W.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function p(f,l){var k=new Set;function I(L){if(!k.has(L)){var F=(0,_.Z)(l,L);if(F){k.add(L);var Y=F.parent,B=F.node;B.disabled||Y&&I(Y.key)}}}return(f||[]).forEach(function(L){I(L)}),(0,O.Z)(k)}},34643:function(zt,Le,u){"use strict";u.d(Le,{S:function(){return H}});var O=u(48736),T=u(65065);function W(G,e){var s=new Set;return G.forEach(function(c){e.has(c)||s.add(c)}),s}function J(G){var e=G||{},s=e.disabled,c=e.disableCheckbox,t=e.checkable;return!!(s||c)||t===!1}function V(G,e,s,c){for(var t=new Set(G),r=new Set,a=0;a<=s;a+=1){var o=e.get(a)||new Set;o.forEach(function(h){var p=h.key,f=h.node,l=h.children,k=l===void 0?[]:l;t.has(p)&&!c(f)&&k.filter(function(I){return!c(I.node)}).forEach(function(I){t.add(I.key)})})}for(var v=new Set,x=s;x>=0;x-=1){var C=e.get(x)||new Set;C.forEach(function(h){var p=h.parent,f=h.node;if(!(c(f)||!h.parent||v.has(h.parent.key))){if(c(h.parent.node)){v.add(p.key);return}var l=!0,k=!1;(p.children||[]).filter(function(I){return!c(I.node)}).forEach(function(I){var L=I.key,F=t.has(L);l&&!F&&(l=!1),!k&&(F||r.has(L))&&(k=!0)}),l&&t.add(p.key),k&&r.add(p.key),v.add(p.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(W(r,t))}}function _(G,e,s,c,t){for(var r=new Set(G),a=new Set(e),o=0;o<=c;o+=1){var v=s.get(o)||new Set;v.forEach(function(p){var f=p.key,l=p.node,k=p.children,I=k===void 0?[]:k;!r.has(f)&&!a.has(f)&&!t(l)&&I.filter(function(L){return!t(L.node)}).forEach(function(L){r.delete(L.key)})})}a=new Set;for(var x=new Set,C=c;C>=0;C-=1){var h=s.get(C)||new Set;h.forEach(function(p){var f=p.parent,l=p.node;if(!(t(l)||!p.parent||x.has(p.parent.key))){if(t(p.parent.node)){x.add(f.key);return}var k=!0,I=!1;(f.children||[]).filter(function(L){return!t(L.node)}).forEach(function(L){var F=L.key,Y=r.has(F);k&&!Y&&(k=!1),!I&&(Y||a.has(F))&&(I=!0)}),k||r.delete(f.key),I&&a.add(f.key),x.add(f.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(W(a,r))}}function H(G,e,s,c){var t=[],r;c?r=c:r=J;var a=new Set(G.filter(function(C){var h=!!(0,T.Z)(s,C);return h||t.push(C),h})),o=new Map,v=0;Object.keys(s).forEach(function(C){var h=s[C],p=h.level,f=o.get(p);f||(f=new Set,o.set(p,f)),f.add(h),v=Math.max(v,p)}),(0,O.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(C){return"'".concat(C,"'")}).join(", ")));var x;return e===!0?x=V(a,o,v,r):x=_(a,e.halfCheckedKeys,o,v,r),x}},65065:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return O}});function O(T,W){return T[W]}},34061:function(zt,Le,u){"use strict";u.d(Le,{F:function(){return p},H8:function(){return h},I8:function(){return C},km:function(){return t},oH:function(){return v},w$:function(){return r},zn:function(){return o}});var O=u(62853),T=u(80702),W=u(77321),J=u(74416),V=u(11592),_=u(2738),H=u(48736),G=u(65065),e=["children"];function s(f,l){return"".concat(f,"-").concat(l)}function c(f){return f&&f.type&&f.type.isTreeNode}function t(f,l){return f!=null?f:l}function r(f){var l=f||{},k=l.title,I=l._title,L=l.key,F=l.children,Y=k||"title";return{title:Y,_title:I||[Y],key:L||"key",children:F||"children"}}function a(f,l){var k=new Map;function I(L){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(L||[]).forEach(function(Y){var B=Y[l.key],ge=Y[l.children];warning(B!=null,"Tree node must have a certain key: [".concat(F).concat(B,"]"));var g=String(B);warning(!k.has(g)||B===null||B===void 0,"Same 'key' exist in the Tree: ".concat(g)),k.set(g,!0),I(ge,"".concat(F).concat(g," > "))})}I(f)}function o(f){function l(k){var I=(0,V.Z)(k);return I.map(function(L){if(!c(L))return(0,H.ZP)(!L,"Tree/TreeNode can only accept TreeNode as children."),null;var F=L.key,Y=L.props,B=Y.children,ge=(0,J.Z)(Y,e),g=(0,W.Z)({key:F},ge),d=l(B);return d.length&&(g.children=d),g}).filter(function(L){return L})}return l(f)}function v(f,l,k){var I=r(k),L=I._title,F=I.key,Y=I.children,B=new Set(l===!0?[]:l),ge=[];function g(d){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(P,A){for(var w=s(b?b.pos:"0",A),n=t(P[F],w),i,y=0;y<L.length;y+=1){var K=L[y];if(P[K]!==void 0){i=P[K];break}}var ue=Object.assign((0,_.Z)(P,[].concat((0,T.Z)(L),[F,Y])),{title:i,key:n,parent:b,pos:w,children:null,data:P,isStart:[].concat((0,T.Z)(b?b.isStart:[]),[A===0]),isEnd:[].concat((0,T.Z)(b?b.isEnd:[]),[A===d.length-1])});return ge.push(ue),l===!0||B.has(n)?ue.children=g(P[Y]||[],ue):ue.children=[],ue})}return g(f),ge}function x(f,l,k){var I={};(0,O.Z)(k)==="object"?I=k:I={externalGetKey:k},I=I||{};var L=I,F=L.childrenPropName,Y=L.externalGetKey,B=L.fieldNames,ge=r(B),g=ge.key,d=ge.children,b=F||d,P;Y?typeof Y=="string"?P=function(n){return n[Y]}:typeof Y=="function"&&(P=function(n){return Y(n)}):P=function(n,i){return t(n[g],i)};function A(w,n,i,y){var K=w?w[b]:f,ue=w?s(i.pos,n):"0",Ee=w?[].concat((0,T.Z)(y),[w]):[];if(w){var Ze=P(w,ue),Ve={node:w,index:n,pos:ue,key:Ze,parentPos:i.node?i.pos:null,level:i.level+1,nodes:Ee};l(Ve)}K&&K.forEach(function(rt,Zt){A(rt,Zt,{node:w,pos:ue,level:i?i.level+1:-1},Ee)})}A(null)}function C(f){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=l.initWrapper,I=l.processEntity,L=l.onProcessFinished,F=l.externalGetKey,Y=l.childrenPropName,B=l.fieldNames,ge=arguments.length>2?arguments[2]:void 0,g=F||ge,d={},b={},P={posEntities:d,keyEntities:b};return k&&(P=k(P)||P),x(f,function(A){var w=A.node,n=A.index,i=A.pos,y=A.key,K=A.parentPos,ue=A.level,Ee=A.nodes,Ze={node:w,nodes:Ee,index:n,key:y,pos:i,level:ue},Ve=t(y,i);d[i]=Ze,b[Ve]=Ze,Ze.parent=d[K],Ze.parent&&(Ze.parent.children=Ze.parent.children||[],Ze.parent.children.push(Ze)),I&&I(Ze,P)},{externalGetKey:g,childrenPropName:Y,fieldNames:B}),L&&L(P),P}function h(f,l){var k=l.expandedKeys,I=l.selectedKeys,L=l.loadedKeys,F=l.loadingKeys,Y=l.checkedKeys,B=l.halfCheckedKeys,ge=l.dragOverNodeKey,g=l.dropPosition,d=l.keyEntities,b=(0,G.Z)(d,f),P={eventKey:f,expanded:k.indexOf(f)!==-1,selected:I.indexOf(f)!==-1,loaded:L.indexOf(f)!==-1,loading:F.indexOf(f)!==-1,checked:Y.indexOf(f)!==-1,halfChecked:B.indexOf(f)!==-1,pos:String(b?b.pos:""),dragOver:ge===f&&g===0,dragOverGapTop:ge===f&&g===-1,dragOverGapBottom:ge===f&&g===1};return P}function p(f){var l=f.data,k=f.expanded,I=f.selected,L=f.checked,F=f.loaded,Y=f.loading,B=f.halfChecked,ge=f.dragOver,g=f.dragOverGapTop,d=f.dragOverGapBottom,b=f.pos,P=f.active,A=f.eventKey,w=(0,W.Z)((0,W.Z)({},l),{},{expanded:k,selected:I,checked:L,loaded:F,loading:Y,halfChecked:B,dragOver:ge,dragOverGapTop:g,dragOverGapBottom:d,pos:b,active:P,key:A});return"props"in w||Object.defineProperty(w,"props",{get:function(){return(0,H.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),f}}),w}},8224:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return T}});var O=u(4676);function T(W,J,V,_){var H=O.unstable_batchedUpdates?function(e){O.unstable_batchedUpdates(V,e)}:V;return W!=null&&W.addEventListener&&W.addEventListener(J,H,_),{remove:function(){W!=null&&W.removeEventListener&&W.removeEventListener(J,H,_)}}}},24514:function(zt,Le,u){"use strict";u.d(Le,{G:function(){return J}});var O=u(47273),T=function(_){if((0,O.Z)()&&window.document.documentElement){var H=Array.isArray(_)?_:[_],G=window.document.documentElement;return H.some(function(e){return e in G.style})}return!1},W=function(_,H){if(!T(_))return!1;var G=document.createElement("div"),e=G.style[_];return G.style[_]=H,G.style[_]!==e};function J(V,_){return!Array.isArray(V)&&_!==void 0?W(V,_):T(V)}},49658:function(zt,Le){"use strict";Le.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))}},45680:function(zt,Le,u){"use strict";u.d(Le,{Z:function(){return Oe}});var O=u(72308),T=u(62853),W=u(77321),J=u(49618),V=u(52487),_=u(74416),H=u(92310),G=u.n(H),e=u(29301),s=u(70425),c=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(le,E){var j=le.height,D=le.offsetY,ie=le.offsetX,fe=le.children,R=le.prefixCls,m=le.onInnerResize,S=le.innerProps,z=le.rtl,N=le.extra,U={},Z={display:"flex",flexDirection:"column"};return D!==void 0&&(U={height:j,position:"relative",overflow:"hidden"},Z=(0,W.Z)((0,W.Z)({},Z),{},(0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)({transform:"translateY(".concat(D,"px)")},z?"marginRight":"marginLeft",-ie),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:U},t.createElement(e.Z,{onResize:function(Q){var ce=Q.offsetHeight;ce&&m&&m()}},t.createElement("div",(0,O.Z)({style:Z,className:G()((0,J.Z)({},"".concat(R,"-holder-inner"),R)),ref:E},S),fe,N)))});a.displayName="Filler";var o=a;function v(le){var E=le.children,j=le.setRef,D=t.useCallback(function(ie){j(ie)},[]);return t.cloneElement(E,{ref:D})}function x(le,E,j,D,ie,fe,R,m){var S=m.getKey;return le.slice(E,j+1).map(function(z,N){var U=E+N,Z=R(z,U,{style:{width:D},offsetX:ie}),q=S(z);return t.createElement(v,{key:q,setRef:function(ce){return fe(z,ce)}},Z)})}function C(le,E,j,D){var ie=j-le,fe=E-j,R=Math.min(ie,fe)*2;if(D<=R){var m=Math.floor(D/2);return D%2?j+m+1:j-m}return ie>fe?j-(D-fe):j+(D-ie)}function h(le,E,j){var D=le.length,ie=E.length,fe,R;if(D===0&&ie===0)return null;D<ie?(fe=le,R=E):(fe=E,R=le);var m={__EMPTY_ITEM__:!0};function S(Q){return Q!==void 0?j(Q):m}for(var z=null,N=Math.abs(D-ie)!==1,U=0;U<R.length;U+=1){var Z=S(fe[U]),q=S(R[U]);if(Z!==q){z=U,N=N||Z!==S(R[U+1]);break}}return z===null?null:{index:z,multiple:N}}function p(le,E,j){var D=t.useState(le),ie=(0,V.Z)(D,2),fe=ie[0],R=ie[1],m=t.useState(null),S=(0,V.Z)(m,2),z=S[0],N=S[1];return t.useEffect(function(){var U=h(fe||[],le||[],E);(U==null?void 0:U.index)!==void 0&&(j==null||j(U.index),N(le[U.index])),R(le)},[le]),[z]}var f=u(16089),l=(typeof navigator=="undefined"?"undefined":(0,T.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),k=l,I=function(le,E,j,D){var ie=(0,t.useRef)(!1),fe=(0,t.useRef)(null);function R(){clearTimeout(fe.current),ie.current=!0,fe.current=setTimeout(function(){ie.current=!1},50)}var m=(0,t.useRef)({top:le,bottom:E,left:j,right:D});return m.current.top=le,m.current.bottom=E,m.current.left=j,m.current.right=D,function(S,z){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,U=S?z<0&&m.current.left||z>0&&m.current.right:z<0&&m.current.top||z>0&&m.current.bottom;return N&&U?(clearTimeout(fe.current),ie.current=!1):(!U||ie.current)&&R(),!ie.current&&U}};function L(le,E,j,D,ie,fe,R){var m=(0,t.useRef)(0),S=(0,t.useRef)(null),z=(0,t.useRef)(null),N=(0,t.useRef)(!1),U=I(E,j,D,ie);function Z(Ke,Me){if(f.Z.cancel(S.current),!U(!1,Me)){var Fe=Ke;if(!Fe._virtualHandled)Fe._virtualHandled=!0;else return;m.current+=Me,z.current=Me,k||Fe.preventDefault(),S.current=(0,f.Z)(function(){var ft=N.current?10:1;R(m.current*ft,!1),m.current=0})}}function q(Ke,Me){R(Me,!0),k||Ke.preventDefault()}var Q=(0,t.useRef)(null),ce=(0,t.useRef)(null);function be(Ke){if(le){f.Z.cancel(ce.current),ce.current=(0,f.Z)(function(){Q.current=null},2);var Me=Ke.deltaX,Fe=Ke.deltaY,ft=Ke.shiftKey,je=Me,ze=Fe;(Q.current==="sx"||!Q.current&&ft&&Fe&&!Me)&&(je=Fe,ze=0,Q.current="sx");var Nt=Math.abs(je),It=Math.abs(ze);Q.current===null&&(Q.current=fe&&Nt>It?"x":"y"),Q.current==="y"?Z(Ke,ze):q(Ke,je)}}function ye(Ke){le&&(N.current=Ke.detail===z.current)}return[be,ye]}function F(le,E,j,D){var ie=t.useMemo(function(){return[new Map,[]]},[le,j.id,D]),fe=(0,V.Z)(ie,2),R=fe[0],m=fe[1],S=function(N){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N,Z=R.get(N),q=R.get(U);if(Z===void 0||q===void 0)for(var Q=le.length,ce=m.length;ce<Q;ce+=1){var be,ye=le[ce],Ke=E(ye);R.set(Ke,ce);var Me=(be=j.get(Ke))!==null&&be!==void 0?be:D;if(m[ce]=(m[ce-1]||0)+Me,Ke===N&&(Z=ce),Ke===U&&(q=ce),Z!==void 0&&q!==void 0)break}return{top:m[Z-1]||0,bottom:m[q]}};return S}var Y=u(96949),B=u(55090),ge=function(){function le(){(0,Y.Z)(this,le),(0,J.Z)(this,"maps",void 0),(0,J.Z)(this,"id",0),(0,J.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,B.Z)(le,[{key:"set",value:function(j,D){this.maps[j]=D,this.id+=1,this.diffKeys.add(j)}},{key:"get",value:function(j){return this.maps[j]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),le}(),g=ge;function d(le){var E=parseFloat(le);return isNaN(E)?0:E}function b(le,E,j){var D=t.useState(0),ie=(0,V.Z)(D,2),fe=ie[0],R=ie[1],m=(0,t.useRef)(new Map),S=(0,t.useRef)(new g),z=(0,t.useRef)(0);function N(){z.current+=1}function U(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;N();var Q=function(){var ye=!1;m.current.forEach(function(Ke,Me){if(Ke&&Ke.offsetParent){var Fe=Ke.offsetHeight,ft=getComputedStyle(Ke),je=ft.marginTop,ze=ft.marginBottom,Nt=d(je),It=d(ze),it=Fe+Nt+It;S.current.get(Me)!==it&&(S.current.set(Me,it),ye=!0)}}),ye&&R(function(Ke){return Ke+1})};if(q)Q();else{z.current+=1;var ce=z.current;Promise.resolve().then(function(){ce===z.current&&Q()})}}function Z(q,Q){var ce=le(q),be=m.current.get(ce);Q?(m.current.set(ce,Q),U()):m.current.delete(ce),!be!=!Q&&(Q?E==null||E(q):j==null||j(q))}return(0,t.useEffect)(function(){return N},[]),[Z,U,S.current,fe]}var P=14/15;function A(le,E,j){var D=(0,t.useRef)(!1),ie=(0,t.useRef)(0),fe=(0,t.useRef)(0),R=(0,t.useRef)(null),m=(0,t.useRef)(null),S,z=function(q){if(D.current){var Q=Math.ceil(q.touches[0].pageX),ce=Math.ceil(q.touches[0].pageY),be=ie.current-Q,ye=fe.current-ce,Ke=Math.abs(be)>Math.abs(ye);Ke?ie.current=Q:fe.current=ce;var Me=j(Ke,Ke?be:ye,!1,q);Me&&q.preventDefault(),clearInterval(m.current),Me&&(m.current=setInterval(function(){Ke?be*=P:ye*=P;var Fe=Math.floor(Ke?be:ye);(!j(Ke,Fe,!0)||Math.abs(Fe)<=.1)&&clearInterval(m.current)},16))}},N=function(){D.current=!1,S()},U=function(q){S(),q.touches.length===1&&!D.current&&(D.current=!0,ie.current=Math.ceil(q.touches[0].pageX),fe.current=Math.ceil(q.touches[0].pageY),R.current=q.target,R.current.addEventListener("touchmove",z,{passive:!1}),R.current.addEventListener("touchend",N,{passive:!0}))};S=function(){R.current&&(R.current.removeEventListener("touchmove",z),R.current.removeEventListener("touchend",N))},(0,c.Z)(function(){return le&&E.current.addEventListener("touchstart",U,{passive:!0}),function(){var Z;(Z=E.current)===null||Z===void 0||Z.removeEventListener("touchstart",U),S(),clearInterval(m.current)}},[le])}function w(le){return Math.floor(Math.pow(le,.5))}function n(le,E){var j="touches"in le?le.touches[0]:le;return j[E?"pageX":"pageY"]-window[E?"scrollX":"scrollY"]}function i(le,E,j){t.useEffect(function(){var D=E.current;if(le&&D){var ie=!1,fe,R,m=function(){f.Z.cancel(fe)},S=function Z(){m(),fe=(0,f.Z)(function(){j(R),Z()})},z=function(q){if(!(q.target.draggable||q.button!==0)){var Q=q;Q._virtualHandled||(Q._virtualHandled=!0,ie=!0)}},N=function(){ie=!1,m()},U=function(q){if(ie){var Q=n(q,!1),ce=D.getBoundingClientRect(),be=ce.top,ye=ce.bottom;if(Q<=be){var Ke=be-Q;R=-w(Ke),S()}else if(Q>=ye){var Me=Q-ye;R=w(Me),S()}else m()}};return D.addEventListener("mousedown",z),D.ownerDocument.addEventListener("mouseup",N),D.ownerDocument.addEventListener("mousemove",U),function(){D.removeEventListener("mousedown",z),D.ownerDocument.removeEventListener("mouseup",N),D.ownerDocument.removeEventListener("mousemove",U),m()}}},[le])}var y=10;function K(le,E,j,D,ie,fe,R,m){var S=t.useRef(),z=t.useState(null),N=(0,V.Z)(z,2),U=N[0],Z=N[1];return(0,c.Z)(function(){if(U&&U.times<y){if(!le.current){Z(function(En){return(0,W.Z)({},En)});return}fe();var q=U.targetAlign,Q=U.originAlign,ce=U.index,be=U.offset,ye=le.current.clientHeight,Ke=!1,Me=q,Fe=null;if(ye){for(var ft=q||Q,je=0,ze=0,Nt=0,It=Math.min(E.length-1,ce),it=0;it<=It;it+=1){var jt=ie(E[it]);ze=je;var hn=j.get(jt);Nt=ze+(hn===void 0?D:hn),je=Nt}for(var St=ft==="top"?be:ye-be,vt=It;vt>=0;vt-=1){var Rt=ie(E[vt]),on=j.get(Rt);if(on===void 0){Ke=!0;break}if(St-=on,St<=0)break}switch(ft){case"top":Fe=ze-be;break;case"bottom":Fe=Nt-ye+be;break;default:{var Qt=le.current.scrollTop,qt=Qt+ye;ze<Qt?Me="top":Nt>qt&&(Me="bottom")}}Fe!==null&&R(Fe),Fe!==U.lastTop&&(Ke=!0)}Ke&&Z((0,W.Z)((0,W.Z)({},U),{},{times:U.times+1,targetAlign:Me,lastTop:Fe}))}},[U,le.current]),function(q){if(q==null){m();return}if(f.Z.cancel(S.current),typeof q=="number")R(q);else if(q&&(0,T.Z)(q)==="object"){var Q,ce=q.align;"index"in q?Q=q.index:Q=E.findIndex(function(Ke){return ie(Ke)===q.key});var be=q.offset,ye=be===void 0?0:be;Z({times:0,index:Q,offset:ye,originAlign:ce})}}}var ue=t.forwardRef(function(le,E){var j=le.prefixCls,D=le.rtl,ie=le.scrollOffset,fe=le.scrollRange,R=le.onStartMove,m=le.onStopMove,S=le.onScroll,z=le.horizontal,N=le.spinSize,U=le.containerSize,Z=le.style,q=le.thumbStyle,Q=le.showScrollBar,ce=t.useState(!1),be=(0,V.Z)(ce,2),ye=be[0],Ke=be[1],Me=t.useState(null),Fe=(0,V.Z)(Me,2),ft=Fe[0],je=Fe[1],ze=t.useState(null),Nt=(0,V.Z)(ze,2),It=Nt[0],it=Nt[1],jt=!D,hn=t.useRef(),St=t.useRef(),vt=t.useState(Q),Rt=(0,V.Z)(vt,2),on=Rt[0],Qt=Rt[1],qt=t.useRef(),En=function(){Q===!0||Q===!1||(clearTimeout(qt.current),Qt(!0),qt.current=setTimeout(function(){Qt(!1)},3e3))},fn=fe-U||0,We=U-N||0,gt=t.useMemo(function(){if(ie===0||fn===0)return 0;var xn=ie/fn;return xn*We},[ie,fn,We]),Gt=function(On){On.stopPropagation(),On.preventDefault()},mn=t.useRef({top:gt,dragging:ye,pageY:ft,startTop:It});mn.current={top:gt,dragging:ye,pageY:ft,startTop:It};var Wt=function(On){Ke(!0),je(n(On,z)),it(mn.current.top),R(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var xn=function(An){An.preventDefault()},On=hn.current,gn=St.current;return On.addEventListener("touchstart",xn,{passive:!1}),gn.addEventListener("touchstart",Wt,{passive:!1}),function(){On.removeEventListener("touchstart",xn),gn.removeEventListener("touchstart",Wt)}},[]);var kn=t.useRef();kn.current=fn;var Vn=t.useRef();Vn.current=We,t.useEffect(function(){if(ye){var xn,On=function(An){var Zn=mn.current,ne=Zn.dragging,X=Zn.pageY,$e=Zn.startTop;f.Z.cancel(xn);var Te=hn.current.getBoundingClientRect(),Ge=U/(z?Te.width:Te.height);if(ne){var Xe=(n(An,z)-X)*Ge,ot=$e;!jt&&z?ot-=Xe:ot+=Xe;var tt=kn.current,Pt=Vn.current,Se=Pt?ot/Pt:0,me=Math.ceil(Se*tt);me=Math.max(me,0),me=Math.min(me,tt),xn=(0,f.Z)(function(){S(me,z)})}},gn=function(){Ke(!1),m()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",gn,{passive:!0}),window.addEventListener("touchend",gn,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",gn),window.removeEventListener("touchend",gn),f.Z.cancel(xn)}}},[ye]),t.useEffect(function(){return En(),function(){clearTimeout(qt.current)}},[ie]),t.useImperativeHandle(E,function(){return{delayHidden:En}});var Sn="".concat(j,"-scrollbar"),Yt={position:"absolute",visibility:on?null:"hidden"},Nn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return z?(Yt.height=8,Yt.left=0,Yt.right=0,Yt.bottom=0,Nn.height="100%",Nn.width=N,jt?Nn.left=gt:Nn.right=gt):(Yt.width=8,Yt.top=0,Yt.bottom=0,jt?Yt.right=0:Yt.left=0,Nn.width="100%",Nn.height=N,Nn.top=gt),t.createElement("div",{ref:hn,className:G()(Sn,(0,J.Z)((0,J.Z)((0,J.Z)({},"".concat(Sn,"-horizontal"),z),"".concat(Sn,"-vertical"),!z),"".concat(Sn,"-visible"),on)),style:(0,W.Z)((0,W.Z)({},Yt),Z),onMouseDown:Gt,onMouseMove:En},t.createElement("div",{ref:St,className:G()("".concat(Sn,"-thumb"),(0,J.Z)({},"".concat(Sn,"-thumb-moving"),ye)),style:(0,W.Z)((0,W.Z)({},Nn),q),onMouseDown:Wt}))}),Ee=ue,Ze=20;function Ve(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,j=le/E*le;return isNaN(j)&&(j=0),j=Math.max(j,Ze),Math.floor(j)}var rt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Zt=[],xe={overflowY:"auto",overflowAnchor:"none"};function Ye(le,E){var j=le.prefixCls,D=j===void 0?"rc-virtual-list":j,ie=le.className,fe=le.height,R=le.itemHeight,m=le.fullHeight,S=m===void 0?!0:m,z=le.style,N=le.data,U=le.children,Z=le.itemKey,q=le.virtual,Q=le.direction,ce=le.scrollWidth,be=le.component,ye=be===void 0?"div":be,Ke=le.onScroll,Me=le.onVirtualScroll,Fe=le.onVisibleChange,ft=le.innerProps,je=le.extraRender,ze=le.styles,Nt=le.showScrollBar,It=Nt===void 0?"optional":Nt,it=(0,_.Z)(le,rt),jt=t.useCallback(function(ee){return typeof Z=="function"?Z(ee):ee==null?void 0:ee[Z]},[Z]),hn=b(jt,null,null),St=(0,V.Z)(hn,4),vt=St[0],Rt=St[1],on=St[2],Qt=St[3],qt=!!(q!==!1&&fe&&R),En=t.useMemo(function(){return Object.values(on.maps).reduce(function(ee,se){return ee+se},0)},[on.id,on.maps]),fn=qt&&N&&(Math.max(R*N.length,En)>fe||!!ce),We=Q==="rtl",gt=G()(D,(0,J.Z)({},"".concat(D,"-rtl"),We),ie),Gt=N||Zt,mn=(0,t.useRef)(),Wt=(0,t.useRef)(),kn=(0,t.useRef)(),Vn=(0,t.useState)(0),Sn=(0,V.Z)(Vn,2),Yt=Sn[0],Nn=Sn[1],xn=(0,t.useState)(0),On=(0,V.Z)(xn,2),gn=On[0],Cn=On[1],An=(0,t.useState)(!1),Zn=(0,V.Z)(An,2),ne=Zn[0],X=Zn[1],$e=function(){X(!0)},Te=function(){X(!1)},Ge={getKey:jt};function Xe(ee){Nn(function(se){var pe;typeof ee=="function"?pe=ee(se):pe=ee;var De=ht(pe);return mn.current.scrollTop=De,De})}var ot=(0,t.useRef)({start:0,end:Gt.length}),tt=(0,t.useRef)(),Pt=p(Gt,jt),Se=(0,V.Z)(Pt,1),me=Se[0];tt.current=me;var Be=t.useMemo(function(){if(!qt)return{scrollHeight:void 0,start:0,end:Gt.length-1,offset:void 0};if(!fn){var ee;return{scrollHeight:((ee=Wt.current)===null||ee===void 0?void 0:ee.offsetHeight)||0,start:0,end:Gt.length-1,offset:void 0}}for(var se=0,pe,De,Re,qe=Gt.length,Ct=0;Ct<qe;Ct+=1){var yt=Gt[Ct],Kt=jt(yt),xt=on.get(Kt),Ft=se+(xt===void 0?R:xt);Ft>=Yt&&pe===void 0&&(pe=Ct,De=se),Ft>Yt+fe&&Re===void 0&&(Re=Ct),se=Ft}return pe===void 0&&(pe=0,De=0,Re=Math.ceil(fe/R)),Re===void 0&&(Re=Gt.length-1),Re=Math.min(Re+1,Gt.length-1),{scrollHeight:se,start:pe,end:Re,offset:De}},[fn,qt,Yt,Gt,Qt,fe]),lt=Be.scrollHeight,et=Be.start,At=Be.end,Je=Be.offset;ot.current.start=et,ot.current.end=At,t.useLayoutEffect(function(){var ee=on.getRecord();if(ee.size===1){var se=Array.from(ee)[0],pe=Gt[et];if(pe){var De=jt(pe);if(De===se){var Re=on.get(se),qe=Re-R;Xe(function(Ct){return Ct+qe})}}}on.resetRecord()},[lt]);var nt=t.useState({width:0,height:fe}),$=(0,V.Z)(nt,2),he=$[0],Ce=$[1],de=function(se){Ce({width:se.offsetWidth,height:se.offsetHeight})},Ne=(0,t.useRef)(),ke=(0,t.useRef)(),Ie=t.useMemo(function(){return Ve(he.width,ce)},[he.width,ce]),Ue=t.useMemo(function(){return Ve(he.height,lt)},[he.height,lt]),st=lt-fe,ct=(0,t.useRef)(st);ct.current=st;function ht(ee){var se=ee;return Number.isNaN(ct.current)||(se=Math.min(se,ct.current)),se=Math.max(se,0),se}var ut=Yt<=0,kt=Yt>=st,Lt=gn<=0,Dt=gn>=ce,bt=I(ut,kt,Lt,Dt),wt=function(){return{x:We?-gn:gn,y:Yt}},$t=(0,t.useRef)(wt()),Qe=(0,s.zX)(function(ee){if(Me){var se=(0,W.Z)((0,W.Z)({},wt()),ee);($t.current.x!==se.x||$t.current.y!==se.y)&&(Me(se),$t.current=se)}});function He(ee,se){var pe=ee;se?((0,r.flushSync)(function(){Cn(pe)}),Qe()):Xe(pe)}function at(ee){var se=ee.currentTarget.scrollTop;se!==Yt&&Xe(se),Ke==null||Ke(ee),Qe()}var en=function(se){var pe=se,De=ce?ce-he.width:0;return pe=Math.max(pe,0),pe=Math.min(pe,De),pe},ln=(0,s.zX)(function(ee,se){se?((0,r.flushSync)(function(){Cn(function(pe){var De=pe+(We?-ee:ee);return en(De)})}),Qe()):Xe(function(pe){var De=pe+ee;return De})}),vn=L(qt,ut,kt,Lt,Dt,!!ce,ln),Rn=(0,V.Z)(vn,2),M=Rn[0],re=Rn[1];A(qt,mn,function(ee,se,pe,De){var Re=De;return bt(ee,se,pe)?!1:!Re||!Re._virtualHandled?(Re&&(Re._virtualHandled=!0),M({preventDefault:function(){},deltaX:ee?se:0,deltaY:ee?0:se}),!0):!1}),i(fn,mn,function(ee){Xe(function(se){return se+ee})}),(0,c.Z)(function(){function ee(pe){var De=ut&&pe.detail<0,Re=kt&&pe.detail>0;qt&&!De&&!Re&&pe.preventDefault()}var se=mn.current;return se.addEventListener("wheel",M,{passive:!1}),se.addEventListener("DOMMouseScroll",re,{passive:!0}),se.addEventListener("MozMousePixelScroll",ee,{passive:!1}),function(){se.removeEventListener("wheel",M),se.removeEventListener("DOMMouseScroll",re),se.removeEventListener("MozMousePixelScroll",ee)}},[qt,ut,kt]),(0,c.Z)(function(){if(ce){var ee=en(gn);Cn(ee),Qe({x:ee})}},[he.width,ce]);var te=function(){var se,pe;(se=Ne.current)===null||se===void 0||se.delayHidden(),(pe=ke.current)===null||pe===void 0||pe.delayHidden()},ae=K(mn,Gt,on,R,jt,function(){return Rt(!0)},Xe,te);t.useImperativeHandle(E,function(){return{nativeElement:kn.current,getScrollInfo:wt,scrollTo:function(se){function pe(De){return De&&(0,T.Z)(De)==="object"&&("left"in De||"top"in De)}pe(se)?(se.left!==void 0&&Cn(en(se.left)),ae(se.top)):ae(se)}}}),(0,c.Z)(function(){if(Fe){var ee=Gt.slice(et,At+1);Fe(ee,Gt)}},[et,At,Gt]);var _e=F(Gt,jt,on,R),oe=je==null?void 0:je({start:et,end:At,virtual:fn,offsetX:gn,offsetY:Je,rtl:We,getSize:_e}),ve=x(Gt,et,At,ce,gn,vt,U,Ge),we=null;fe&&(we=(0,W.Z)((0,J.Z)({},S?"height":"maxHeight",fe),xe),qt&&(we.overflowY="hidden",ce&&(we.overflowX="hidden"),ne&&(we.pointerEvents="none")));var Pe={};return We&&(Pe.dir="rtl"),t.createElement("div",(0,O.Z)({ref:kn,style:(0,W.Z)((0,W.Z)({},z),{},{position:"relative"}),className:gt},Pe,it),t.createElement(e.Z,{onResize:de},t.createElement(ye,{className:"".concat(D,"-holder"),style:we,ref:mn,onScroll:at,onMouseEnter:te},t.createElement(o,{prefixCls:D,height:lt,offsetX:gn,offsetY:Je,scrollWidth:ce,onInnerResize:Rt,ref:Wt,innerProps:ft,rtl:We,extra:oe},ve))),fn&&lt>fe&&t.createElement(Ee,{ref:Ne,prefixCls:D,scrollOffset:Yt,scrollRange:lt,rtl:We,onScroll:He,onStartMove:$e,onStopMove:Te,spinSize:Ue,containerSize:he.height,style:ze==null?void 0:ze.verticalScrollBar,thumbStyle:ze==null?void 0:ze.verticalScrollBarThumb,showScrollBar:It}),fn&&ce>he.width&&t.createElement(Ee,{ref:ke,prefixCls:D,scrollOffset:gn,scrollRange:ce,rtl:We,onScroll:He,onStartMove:$e,onStopMove:Te,spinSize:Ie,containerSize:he.width,horizontal:!0,style:ze==null?void 0:ze.horizontalScrollBar,thumbStyle:ze==null?void 0:ze.horizontalScrollBarThumb,showScrollBar:It}))}var Ot=t.forwardRef(Ye);Ot.displayName="List";var Ae=Ot,Oe=Ae},83145:function(zt,Le,u){"use strict";Object.defineProperty(Le,"__esModule",{value:!0}),Le.CopyToClipboard=void 0;var O=W(u(59301)),T=W(u(25769));function W(h){return h&&h.__esModule?h:{default:h}}function J(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function(f){return typeof f}:J=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},J(h)}function V(h,p){var f=Object.keys(h);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(h);p&&(l=l.filter(function(k){return Object.getOwnPropertyDescriptor(h,k).enumerable})),f.push.apply(f,l)}return f}function _(h){for(var p=1;p<arguments.length;p++){var f=arguments[p]!=null?arguments[p]:{};p%2?V(f,!0).forEach(function(l){x(h,l,f[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(f)):V(f).forEach(function(l){Object.defineProperty(h,l,Object.getOwnPropertyDescriptor(f,l))})}return h}function H(h,p){if(h==null)return{};var f=G(h,p),l,k;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(h);for(k=0;k<I.length;k++)l=I[k],!(p.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(h,l)&&(f[l]=h[l])}return f}function G(h,p){if(h==null)return{};var f={},l=Object.keys(h),k,I;for(I=0;I<l.length;I++)k=l[I],!(p.indexOf(k)>=0)&&(f[k]=h[k]);return f}function e(h,p){if(!(h instanceof p))throw new TypeError("Cannot call a class as a function")}function s(h,p){for(var f=0;f<p.length;f++){var l=p[f];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(h,l.key,l)}}function c(h,p,f){return p&&s(h.prototype,p),f&&s(h,f),h}function t(h,p){return p&&(J(p)==="object"||typeof p=="function")?p:a(h)}function r(h){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},r(h)}function a(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function o(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(p&&p.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),p&&v(h,p)}function v(h,p){return v=Object.setPrototypeOf||function(l,k){return l.__proto__=k,l},v(h,p)}function x(h,p,f){return p in h?Object.defineProperty(h,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):h[p]=f,h}var C=function(h){o(p,h);function p(){var f,l;e(this,p);for(var k=arguments.length,I=new Array(k),L=0;L<k;L++)I[L]=arguments[L];return l=t(this,(f=r(p)).call.apply(f,[this].concat(I))),x(a(l),"onClick",function(F){var Y=l.props,B=Y.text,ge=Y.onCopy,g=Y.children,d=Y.options,b=O.default.Children.only(g),P=(0,T.default)(B,d);ge&&ge(B,P),b&&b.props&&typeof b.props.onClick=="function"&&b.props.onClick(F)}),l}return c(p,[{key:"render",value:function(){var l=this.props,k=l.text,I=l.onCopy,L=l.options,F=l.children,Y=H(l,["text","onCopy","options","children"]),B=O.default.Children.only(F);return O.default.cloneElement(B,_({},Y,{onClick:this.onClick}))}}]),p}(O.default.PureComponent);Le.CopyToClipboard=C,x(C,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(zt,Le,u){"use strict";var O=u(83145),T=O.CopyToClipboard;T.CopyToClipboard=T,zt.exports=T},76374:function(zt,Le,u){"use strict";var O=function(){if(typeof Map!="undefined")return Map;function g(d,b){var P=-1;return d.some(function(A,w){return A[0]===b?(P=w,!0):!1}),P}return function(){function d(){this.__entries__=[]}return Object.defineProperty(d.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),d.prototype.get=function(b){var P=g(this.__entries__,b),A=this.__entries__[P];return A&&A[1]},d.prototype.set=function(b,P){var A=g(this.__entries__,b);~A?this.__entries__[A][1]=P:this.__entries__.push([b,P])},d.prototype.delete=function(b){var P=this.__entries__,A=g(P,b);~A&&P.splice(A,1)},d.prototype.has=function(b){return!!~g(this.__entries__,b)},d.prototype.clear=function(){this.__entries__.splice(0)},d.prototype.forEach=function(b,P){P===void 0&&(P=null);for(var A=0,w=this.__entries__;A<w.length;A++){var n=w[A];b.call(P,n[1],n[0])}},d}()}(),T=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,W=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")()}(),J=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(W):function(g){return setTimeout(function(){return g(Date.now())},1e3/60)}}(),V=2;function _(g,d){var b=!1,P=!1,A=0;function w(){b&&(b=!1,g()),P&&i()}function n(){J(w)}function i(){var y=Date.now();if(b){if(y-A<V)return;P=!0}else b=!0,P=!1,setTimeout(n,d);A=y}return i}var H=20,G=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function g(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=_(this.refresh.bind(this),H)}return g.prototype.addObserver=function(d){~this.observers_.indexOf(d)||this.observers_.push(d),this.connected_||this.connect_()},g.prototype.removeObserver=function(d){var b=this.observers_,P=b.indexOf(d);~P&&b.splice(P,1),!b.length&&this.connected_&&this.disconnect_()},g.prototype.refresh=function(){var d=this.updateObservers_();d&&this.refresh()},g.prototype.updateObservers_=function(){var d=this.observers_.filter(function(b){return b.gatherActive(),b.hasActive()});return d.forEach(function(b){return b.broadcastActive()}),d.length>0},g.prototype.connect_=function(){!T||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)},g.prototype.disconnect_=function(){!T||!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)},g.prototype.onTransitionEnd_=function(d){var b=d.propertyName,P=b===void 0?"":b,A=G.some(function(w){return!!~P.indexOf(w)});A&&this.refresh()},g.getInstance=function(){return this.instance_||(this.instance_=new g),this.instance_},g.instance_=null,g}(),c=function(g,d){for(var b=0,P=Object.keys(d);b<P.length;b++){var A=P[b];Object.defineProperty(g,A,{value:d[A],enumerable:!1,writable:!1,configurable:!0})}return g},t=function(g){var d=g&&g.ownerDocument&&g.ownerDocument.defaultView;return d||W},r=k(0,0,0,0);function a(g){return parseFloat(g)||0}function o(g){for(var d=[],b=1;b<arguments.length;b++)d[b-1]=arguments[b];return d.reduce(function(P,A){var w=g["border-"+A+"-width"];return P+a(w)},0)}function v(g){for(var d=["top","right","bottom","left"],b={},P=0,A=d;P<A.length;P++){var w=A[P],n=g["padding-"+w];b[w]=a(n)}return b}function x(g){var d=g.getBBox();return k(0,0,d.width,d.height)}function C(g){var d=g.clientWidth,b=g.clientHeight;if(!d&&!b)return r;var P=t(g).getComputedStyle(g),A=v(P),w=A.left+A.right,n=A.top+A.bottom,i=a(P.width),y=a(P.height);if(P.boxSizing==="border-box"&&(Math.round(i+w)!==d&&(i-=o(P,"left","right")+w),Math.round(y+n)!==b&&(y-=o(P,"top","bottom")+n)),!p(g)){var K=Math.round(i+w)-d,ue=Math.round(y+n)-b;Math.abs(K)!==1&&(i-=K),Math.abs(ue)!==1&&(y-=ue)}return k(A.left,A.top,i,y)}var h=function(){return typeof SVGGraphicsElement!="undefined"?function(g){return g instanceof t(g).SVGGraphicsElement}:function(g){return g instanceof t(g).SVGElement&&typeof g.getBBox=="function"}}();function p(g){return g===t(g).document.documentElement}function f(g){return T?h(g)?x(g):C(g):r}function l(g){var d=g.x,b=g.y,P=g.width,A=g.height,w=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(w.prototype);return c(n,{x:d,y:b,width:P,height:A,top:b,right:d+P,bottom:A+b,left:d}),n}function k(g,d,b,P){return{x:g,y:d,width:b,height:P}}var I=function(){function g(d){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=k(0,0,0,0),this.target=d}return g.prototype.isActive=function(){var d=f(this.target);return this.contentRect_=d,d.width!==this.broadcastWidth||d.height!==this.broadcastHeight},g.prototype.broadcastRect=function(){var d=this.contentRect_;return this.broadcastWidth=d.width,this.broadcastHeight=d.height,d},g}(),L=function(){function g(d,b){var P=l(b);c(this,{target:d,contentRect:P})}return g}(),F=function(){function g(d,b,P){if(this.activeObservations_=[],this.observations_=new O,typeof d!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=d,this.controller_=b,this.callbackCtx_=P}return g.prototype.observe=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof t(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(d)||(b.set(d,new I(d)),this.controller_.addObserver(this),this.controller_.refresh())}},g.prototype.unobserve=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof t(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(d)&&(b.delete(d),b.size||this.controller_.removeObserver(this))}},g.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},g.prototype.gatherActive=function(){var d=this;this.clearActive(),this.observations_.forEach(function(b){b.isActive()&&d.activeObservations_.push(b)})},g.prototype.broadcastActive=function(){if(this.hasActive()){var d=this.callbackCtx_,b=this.activeObservations_.map(function(P){return new L(P.target,P.broadcastRect())});this.callback_.call(d,b,d),this.clearActive()}},g.prototype.clearActive=function(){this.activeObservations_.splice(0)},g.prototype.hasActive=function(){return this.activeObservations_.length>0},g}(),Y=typeof WeakMap!="undefined"?new WeakMap:new O,B=function(){function g(d){if(!(this instanceof g))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var b=s.getInstance(),P=new F(d,b,this);Y.set(this,P)}return g}();["observe","unobserve","disconnect"].forEach(function(g){B.prototype[g]=function(){var d;return(d=Y.get(this))[g].apply(d,arguments)}});var ge=function(){return typeof W.ResizeObserver!="undefined"?W.ResizeObserver:B}();Le.Z=ge},98040:function(zt){zt.exports=function(){var Le=document.getSelection();if(!Le.rangeCount)return function(){};for(var u=document.activeElement,O=[],T=0;T<Le.rangeCount;T++)O.push(Le.getRangeAt(T));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Le.removeAllRanges(),function(){Le.type==="Caret"&&Le.removeAllRanges(),Le.rangeCount||O.forEach(function(W){Le.addRange(W)}),u&&u.focus()}}},93314:function(zt){"use strict";zt.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=="}}]);