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(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return le}});var O=u(20049),T=u(52456),W=u(5883),X=u(43403),V=u(92310),p=u.n(V),$=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(5016),m=u(77900),x=u(8654);function C(E){var j=E.prefixCls,D=E.align,re=E.arrow,fe=E.arrowPos,P=re||{},v=P.className,S=P.content,B=fe.x,N=B===void 0?0:B,U=fe.y,Z=U===void 0?0:U,ne=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],we=ce[0],Fe=ce[1],Le=be[0],Be=be[1];we===Le||!["t","b"].includes(we)?Q.top=Z:we==="t"?Q.top=0:Q.bottom=0,Fe===Be||!["l","r"].includes(Fe)?Q.left=N:Fe==="l"?Q.left=0:Q.right=0}return a.createElement("div",{ref:ne,className:p()("".concat(j,"-arrow"),v),style:Q},S)}function h(E){var j=E.prefixCls,D=E.open,re=E.zIndex,fe=E.mask,P=E.motion;return fe?a.createElement(m.default,(0,o.Z)({},P,{motionAppear:!0,visible:D,removeOnLeave:!0}),function(v){var S=v.className;return a.createElement("div",{style:{zIndex:re},className:p()("".concat(j,"-mask"),S)})}):null}var _=a.memo(function(E){var j=E.children;return j},function(E,j){return j.cache}),f=_,l=a.forwardRef(function(E,j){var D=E.popup,re=E.className,fe=E.prefixCls,P=E.style,v=E.target,S=E.onVisibleChanged,B=E.open,N=E.keepDom,U=E.fresh,Z=E.onClick,ne=E.mask,Q=E.arrow,ce=E.arrowPos,be=E.align,we=E.motion,Fe=E.maskMotion,Le=E.forceRender,Be=E.getPopupContainer,it=E.autoDestroy,Ue=E.portal,We=E.zIndex,Ct=E.onMouseEnter,kt=E.onMouseLeave,nt=E.onPointerEnter,zt=E.onPointerDownCapture,dn=E.ready,wt=E.offsetX,ht=E.offsetY,St=E.offsetR,on=E.offsetB,Gt=E.onAlign,Yt=E.onPrepare,vn=E.stretch,ln=E.targetWidth,$e=E.targetHeight,_t=typeof D=="function"?D():D,$t=B||N,mn=(Be==null?void 0:Be.length)>0,Kt=a.useState(!Be||!mn),Dn=(0,T.Z)(Kt,2),Un=Dn[0],wn=Dn[1];if((0,t.Z)(function(){!Un&&mn&&v&&wn(!0)},[Un,mn,v]),!Un)return null;var jt="auto",On={left:"-1000vw",top:"-1000vh",right:jt,bottom:jt};if(dn||!B){var xn,Tn=be.points,gn=be.dynamicInset||((xn=be._experimental)===null||xn===void 0?void 0:xn.dynamicInset),Sn=gn&&Tn[0][1]==="r",Mn=gn&&Tn[0][0]==="b";Sn?(On.right=St,On.left=jt):(On.left=wt,On.right=jt),Mn?(On.bottom=on,On.top=jt):(On.top=ht,On.bottom=jt)}var Ln={};return vn&&(vn.includes("height")&&$e?Ln.height=$e:vn.includes("minHeight")&&$e&&(Ln.minHeight=$e),vn.includes("width")&&ln?Ln.width=ln:vn.includes("minWidth")&&ln&&(Ln.minWidth=ln)),B||(Ln.pointerEvents="none"),a.createElement(Ue,{open:Le||$t,getContainer:Be&&function(){return Be(v)},autoDestroy:it},a.createElement(h,{prefixCls:fe,open:B,zIndex:We,mask:ne,motion:Fe}),a.createElement($.Z,{onResize:Gt,disabled:!B},function(Hn){return a.createElement(m.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Le,leavedClassName:"".concat(fe,"-hidden")},we,{onAppearPrepare:Yt,onEnterPrepare:Yt,visible:B,onVisibleChanged:function(Bn){var ee;we==null||(ee=we.onVisibleChanged)===null||ee===void 0||ee.call(we,Bn),S(Bn)}}),function(Wn,Bn){var ee=Wn.className,J=Wn.style,ze=p()(fe,ee,re);return a.createElement("div",{ref:(0,x.sQ)(Hn,j,Bn),className:ze,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")},On),Ln),J),{},{boxSizing:"border-box",zIndex:We},P),onMouseEnter:Ct,onMouseLeave:kt,onPointerEnter:nt,onClick:Z,onPointerDownCapture:zt},Q&&a.createElement(C,{prefixCls:fe,arrow:Q,arrowPos:ce,align:be}),a.createElement(f,{cache:!B&&!U},_t))})}))}),k=l,I=a.forwardRef(function(E,j){var D=E.children,re=E.getTriggerDOMNode,fe=(0,x.Yr)(D),P=a.useCallback(function(S){(0,x.mH)(j,re?re(S):S)},[re]),v=(0,x.x1)(P,(0,x.C4)(D));return fe?a.cloneElement(D,{ref:v}):D}),L=I,F=a.createContext(null),Y=F;function z(E){return E?Array.isArray(E)?E:[E]:[]}function ye(E,j,D,re){return a.useMemo(function(){var fe=z(D!=null?D:j),P=z(re!=null?re:j),v=new Set(fe),S=new Set(P);return E&&(v.has("hover")&&(v.delete("hover"),v.add("click")),S.has("hover")&&(S.delete("hover"),S.add("click"))),[v,S]},[E,j,D,re])}var y=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,re){for(var fe=D.points,P=Object.keys(E),v=0;v<P.length;v+=1){var S,B=P[v];if(d((S=E[B])===null||S===void 0?void 0:S.points,fe,re))return"".concat(j,"-placement-").concat(B)}return""}function R(E,j,D,re){return j||(D?{motionName:"".concat(E,"-").concat(D)}:re?{motionName:re}:null)}function A(E){return E.ownerDocument.defaultView}function w(E){for(var j=[],D=E==null?void 0:E.parentElement,re=["hidden","scroll","clip","auto"];D;){var fe=A(D).getComputedStyle(D),P=fe.overflowX,v=fe.overflowY,S=fe.overflow;[P,v,S].some(function(B){return re.includes(B)})&&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 g(E,j){var D=(0,O.Z)({},E);return(j||[]).forEach(function(re){if(!(re instanceof HTMLBodyElement||re instanceof HTMLHtmlElement)){var fe=A(re).getComputedStyle(re),P=fe.overflow,v=fe.overflowClipMargin,S=fe.borderTopWidth,B=fe.borderBottomWidth,N=fe.borderLeftWidth,U=fe.borderRightWidth,Z=re.getBoundingClientRect(),ne=re.offsetHeight,Q=re.clientHeight,ce=re.offsetWidth,be=re.clientWidth,we=i(S),Fe=i(B),Le=i(N),Be=i(U),it=n(Math.round(Z.width/ce*1e3)/1e3),Ue=n(Math.round(Z.height/ne*1e3)/1e3),We=(ce-be-Le-Be)*it,Ct=(ne-Q-we-Fe)*Ue,kt=we*Ue,nt=Fe*Ue,zt=Le*it,dn=Be*it,wt=0,ht=0;if(P==="clip"){var St=i(v);wt=St*it,ht=St*Ue}var on=Z.x+zt-wt,Gt=Z.y+kt-ht,Yt=on+Z.width+2*wt-zt-dn-We,vn=Gt+Z.height+2*ht-kt-nt-Ct;D.left=Math.max(D.left,on),D.top=Math.max(D.top,Gt),D.right=Math.min(D.right,Yt),D.bottom=Math.min(D.bottom,vn)}}),D}function K(E){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,D="".concat(j),re=D.match(/^(.*)\%$/);return re?E*(parseFloat(re[1])/100):parseFloat(D)}function ue(E,j){var D=j||[],re=(0,T.Z)(D,2),fe=re[0],P=re[1];return[K(E.width,fe),K(E.height,P)]}function Se(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[E[0],E[1]]}function Ze(E,j){var D=j[0],re=j[1],fe,P;return D==="t"?P=E.y:D==="b"?P=E.y+E.height:P=E.y+E.height/2,re==="l"?fe=E.x:re==="r"?fe=E.x+E.width:fe=E.x+E.width/2,{x:fe,y:P}}function He(E,j){var D={t:"b",b:"t",l:"r",r:"l"};return E.map(function(re,fe){return fe===j?D[re]||"c":re}).join("")}function qe(E,j,D,re,fe,P,v){var S=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:fe[re]||{}}),B=(0,T.Z)(S,2),N=B[0],U=B[1],Z=a.useRef(0),ne=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 zn=function(yn,bn){var yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:lt,qt=Kt.x+yn,Qt=Kt.y+bn,rn=qt+Sn,Rn=Qt+gn,Zn=Math.max(qt,yt.left),bt=Math.max(Qt,yt.top),Bt=Math.min(rn,yt.right),En=Math.min(Rn,yt.bottom);return Math.max(0,(Bt-Zn)*(En-bt))},An=function(){pe=Kt.y+gt,xe=pe+gn,Me=Kt.x+vt,Oe=Me+Sn};var Le,Be,it,Ue,We=j,Ct=We.ownerDocument,kt=A(We),nt=kt.getComputedStyle(We),zt=nt.width,dn=nt.height,wt=nt.position,ht=We.style.left,St=We.style.top,on=We.style.right,Gt=We.style.bottom,Yt=We.style.overflow,vn=(0,O.Z)((0,O.Z)({},fe[re]),P),ln=Ct.createElement("div");(Le=We.parentElement)===null||Le===void 0||Le.appendChild(ln),ln.style.left="".concat(We.offsetLeft,"px"),ln.style.top="".concat(We.offsetTop,"px"),ln.style.position=wt,ln.style.height="".concat(We.offsetHeight,"px"),ln.style.width="".concat(We.offsetWidth,"px"),We.style.left="0",We.style.top="0",We.style.right="auto",We.style.bottom="auto",We.style.overflow="hidden";var $e;if(Array.isArray(D))$e={x:D[0],y:D[1],width:0,height:0};else{var _t,$t,mn=D.getBoundingClientRect();mn.x=(_t=mn.x)!==null&&_t!==void 0?_t:mn.left,mn.y=($t=mn.y)!==null&&$t!==void 0?$t:mn.top,$e={x:mn.x,y:mn.y,width:mn.width,height:mn.height}}var Kt=We.getBoundingClientRect();Kt.x=(Be=Kt.x)!==null&&Be!==void 0?Be:Kt.left,Kt.y=(it=Kt.y)!==null&&it!==void 0?it:Kt.top;var Dn=Ct.documentElement,Un=Dn.clientWidth,wn=Dn.clientHeight,jt=Dn.scrollWidth,On=Dn.scrollHeight,xn=Dn.scrollTop,Tn=Dn.scrollLeft,gn=Kt.height,Sn=Kt.width,Mn=$e.height,Ln=$e.width,Hn={left:0,top:0,right:Un,bottom:wn},Wn={left:-Tn,top:-xn,right:jt-Tn,bottom:On-xn},Bn=vn.htmlRegion,ee="visible",J="visibleFirst";Bn!=="scroll"&&Bn!==J&&(Bn=ee);var ze=Bn===J,Ae=g(Wn,ne),De=g(Hn,ne),lt=Bn===ee?De:Ae,me=ze?De:lt;We.style.left="auto",We.style.top="auto",We.style.right="0",We.style.bottom="0";var he=We.getBoundingClientRect();We.style.left=ht,We.style.top=St,We.style.right=on,We.style.bottom=Gt,We.style.overflow=Yt,(Ue=We.parentElement)===null||Ue===void 0||Ue.removeChild(ln);var Te=n(Math.round(Sn/parseFloat(zt)*1e3)/1e3),Ye=n(Math.round(gn/parseFloat(dn)*1e3)/1e3);if(Te===0||Ye===0||(0,G.Sh)(D)&&!(0,y.Z)(D))return;var ot=vn.offset,mt=vn.targetOffset,et=ue(Kt,ot),Ve=(0,T.Z)(et,2),H=Ve[0],ie=Ve[1],_e=ue($e,mt),de=(0,T.Z)(_e,2),ke=de[0],je=de[1];$e.x-=ke,$e.y-=je;var Pe=vn.points||[],Ge=(0,T.Z)(Pe,2),Qe=Ge[0],st=Ge[1],Rt=Se(st),at=Se(Qe),It=Ze($e,Rt),Mt=Ze(Kt,at),Zt=(0,O.Z)({},vn),vt=It.x-Mt.x+H,gt=It.y-Mt.y+ie,Wt=zn(vt,gt),rt=zn(vt,gt,De),ut=Ze($e,["t","l"]),dt=Ze(Kt,["t","l"]),Ut=Ze($e,["b","r"]),Pt=Ze(Kt,["b","r"]),Ft=vn.overflow||{},In=Ft.adjustX,M=Ft.adjustY,ae=Ft.shiftX,q=Ft.shiftY,se=function(bn){return typeof bn=="boolean"?bn:bn>=0},pe,xe,Me,Oe;An();var Re=se(M),te=at[0]===Rt[0];if(Re&&at[0]==="t"&&(xe>me.bottom||Q.current.bt)){var oe=gt;te?oe-=gn-Mn:oe=ut.y-Pt.y-ie;var ve=zn(vt,oe),ge=zn(vt,oe,De);ve>Wt||ve===Wt&&(!ze||ge>=rt)?(Q.current.bt=!0,gt=oe,ie=-ie,Zt.points=[He(at,0),He(Rt,0)]):Q.current.bt=!1}if(Re&&at[0]==="b"&&(pe<me.top||Q.current.tb)){var Ce=gt;te?Ce+=gn-Mn:Ce=Ut.y-dt.y-ie;var Xe=zn(vt,Ce),ft=zn(vt,Ce,De);Xe>Wt||Xe===Wt&&(!ze||ft>=rt)?(Q.current.tb=!0,gt=Ce,ie=-ie,Zt.points=[He(at,0),He(Rt,0)]):Q.current.tb=!1}var tt=se(In),xt=at[1]===Rt[1];if(tt&&at[1]==="l"&&(Oe>me.right||Q.current.rl)){var Dt=vt;xt?Dt-=Sn-Ln:Dt=ut.x-Pt.x-H;var Ot=zn(Dt,gt),Xt=zn(Dt,gt,De);Ot>Wt||Ot===Wt&&(!ze||Xt>=rt)?(Q.current.rl=!0,vt=Dt,H=-H,Zt.points=[He(at,1),He(Rt,1)]):Q.current.rl=!1}if(tt&&at[1]==="r"&&(Me<me.left||Q.current.lr)){var ct=vt;xt?ct+=Sn-Ln:ct=Ut.x-dt.x-H;var hn=zn(ct,gt),an=zn(ct,gt,De);hn>Wt||hn===Wt&&(!ze||an>=rt)?(Q.current.lr=!0,vt=ct,H=-H,Zt.points=[He(at,1),He(Rt,1)]):Q.current.lr=!1}An();var tn=ae===!0?0:ae;typeof tn=="number"&&(Me<De.left&&(vt-=Me-De.left-H,$e.x+Ln<De.left+tn&&(vt+=$e.x-De.left+Ln-tn)),Oe>De.right&&(vt-=Oe-De.right-H,$e.x>De.right-tn&&(vt+=$e.x-De.right+tn)));var Vt=q===!0?0:q;typeof Vt=="number"&&(pe<De.top&&(gt-=pe-De.top-ie,$e.y+Mn<De.top+Vt&&(gt+=$e.y-De.top+Mn-Vt)),xe>De.bottom&&(gt-=xe-De.bottom-ie,$e.y>De.bottom-Vt&&(gt+=$e.y-De.bottom+Vt)));var nn=Kt.x+vt,pn=nn+Sn,en=Kt.y+gt,fn=en+gn,At=$e.x,pt=At+Ln,Et=$e.y,Jt=Et+Mn,cn=Math.max(nn,At),sn=Math.min(pn,pt),un=(cn+sn)/2,jn=un-nn,Jn=Math.max(en,Et),Gn=Math.min(fn,Jt),sr=(Jn+Gn)/2,ir=sr-en;v==null||v(j,Zt);var Yn=he.right-Kt.x-(vt+Kt.width),_n=he.bottom-Kt.y-(gt+Kt.height);Te===1&&(vt=Math.round(vt),Yn=Math.round(Yn)),Ye===1&&(gt=Math.round(gt),_n=Math.round(_n));var kn={ready:!0,offsetX:vt/Te,offsetY:gt/Ye,offsetR:Yn/Te,offsetB:_n/Ye,arrowX:jn/Te,arrowY:ir/Ye,scaleX:Te,scaleY:Ye,align:Zt};U(kn)}}),we=function(){Z.current+=1;var Be=Z.current;Promise.resolve().then(function(){Z.current===Be&&be()})},Fe=function(){U(function(Be){return(0,O.Z)((0,O.Z)({},Be),{},{ready:!1})})};return(0,t.Z)(Fe,[re]),(0,t.Z)(function(){E||Fe()},[E]),[N.ready,N.offsetX,N.offsetY,N.offsetR,N.offsetB,N.arrowX,N.arrowY,N.scaleX,N.scaleY,N.align,we]}var Tt=u(92393);function Ee(E,j,D,re,fe){(0,t.Z)(function(){if(E&&j&&D){let Z=function(){re(),fe()};var P=j,v=D,S=w(P),B=w(v),N=A(v),U=new Set([N].concat((0,Tt.Z)(S),(0,Tt.Z)(B)));return U.forEach(function(ne){ne.addEventListener("scroll",Z,{passive:!0})}),N.addEventListener("resize",Z,{passive:!0}),re(),function(){U.forEach(function(ne){ne.removeEventListener("scroll",Z),N.removeEventListener("resize",Z)})}}},[E,j,D])}var Je=u(48736);function Nt(E,j,D,re,fe,P,v,S){var B=a.useRef(E);B.current=E;var N=a.useRef(!1);a.useEffect(function(){if(j&&re&&(!fe||P)){var Z=function(){N.current=!1},ne=function(it){var Ue;B.current&&!v(((Ue=it.composedPath)===null||Ue===void 0||(Ue=Ue.call(it))===null||Ue===void 0?void 0:Ue[0])||it.target)&&!N.current&&S(!1)},Q=A(re);Q.addEventListener("pointerdown",Z,!0),Q.addEventListener("mousedown",ne,!0),Q.addEventListener("contextmenu",ne,!0);var ce=(0,e.A)(D);if(ce&&(ce.addEventListener("mousedown",ne,!0),ce.addEventListener("contextmenu",ne,!0)),0)var be,we,Fe,Le;return function(){Q.removeEventListener("pointerdown",Z,!0),Q.removeEventListener("mousedown",ne,!0),Q.removeEventListener("contextmenu",ne,!0),ce&&(ce.removeEventListener("mousedown",ne,!0),ce.removeEventListener("contextmenu",ne,!0))}}},[j,D,re,fe,P]);function U(){N.current=!0}return U}var Ie=["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 Ne(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:X.Z,j=a.forwardRef(function(D,re){var fe=D.prefixCls,P=fe===void 0?"rc-trigger-popup":fe,v=D.children,S=D.action,B=S===void 0?"hover":S,N=D.showAction,U=D.hideAction,Z=D.popupVisible,ne=D.defaultPopupVisible,Q=D.onPopupVisibleChange,ce=D.afterPopupVisibleChange,be=D.mouseEnterDelay,we=D.mouseLeaveDelay,Fe=we===void 0?.1:we,Le=D.focusDelay,Be=D.blurDelay,it=D.mask,Ue=D.maskClosable,We=Ue===void 0?!0:Ue,Ct=D.getPopupContainer,kt=D.forceRender,nt=D.autoDestroy,zt=D.destroyPopupOnHide,dn=D.popup,wt=D.popupClassName,ht=D.popupStyle,St=D.popupPlacement,on=D.builtinPlacements,Gt=on===void 0?{}:on,Yt=D.popupAlign,vn=D.zIndex,ln=D.stretch,$e=D.getPopupClassNameFromAlign,_t=D.fresh,$t=D.alignPoint,mn=D.onPopupClick,Kt=D.onPopupAlign,Dn=D.arrow,Un=D.popupMotion,wn=D.maskMotion,jt=D.popupTransitionName,On=D.popupAnimation,xn=D.maskTransitionName,Tn=D.maskAnimation,gn=D.className,Sn=D.getTriggerDOMNode,Mn=(0,W.Z)(D,Ie),Ln=nt||zt||!1,Hn=a.useState(!1),Wn=(0,T.Z)(Hn,2),Bn=Wn[0],ee=Wn[1];(0,t.Z)(function(){ee((0,r.Z)())},[]);var J=a.useRef({}),ze=a.useContext(Y),Ae=a.useMemo(function(){return{registerSubPopup:function(Bt,En){J.current[Bt]=En,ze==null||ze.registerSubPopup(Bt,En)}}},[ze]),De=(0,c.Z)(),lt=a.useState(null),me=(0,T.Z)(lt,2),he=me[0],Te=me[1],Ye=a.useRef(null),ot=(0,s.Z)(function(bt){Ye.current=bt,(0,G.Sh)(bt)&&he!==bt&&Te(bt),ze==null||ze.registerSubPopup(De,bt)}),mt=a.useState(null),et=(0,T.Z)(mt,2),Ve=et[0],H=et[1],ie=a.useRef(null),_e=(0,s.Z)(function(bt){(0,G.Sh)(bt)&&Ve!==bt&&(H(bt),ie.current=bt)}),de=a.Children.only(v),ke=(de==null?void 0:de.props)||{},je={},Pe=(0,s.Z)(function(bt){var Bt,En,Ht=Ve;return(Ht==null?void 0:Ht.contains(bt))||((Bt=(0,e.A)(Ht))===null||Bt===void 0?void 0:Bt.host)===bt||bt===Ht||(he==null?void 0:he.contains(bt))||((En=(0,e.A)(he))===null||En===void 0?void 0:En.host)===bt||bt===he||Object.values(J.current).some(function(Pn){return(Pn==null?void 0:Pn.contains(bt))||bt===Pn})}),Ge=R(P,Un,On,jt),Qe=R(P,wn,Tn,xn),st=a.useState(ne||!1),Rt=(0,T.Z)(st,2),at=Rt[0],It=Rt[1],Mt=Z!=null?Z:at,Zt=(0,s.Z)(function(bt){Z===void 0&&It(bt)});(0,t.Z)(function(){It(Z||!1)},[Z]);var vt=a.useRef(Mt);vt.current=Mt;var gt=a.useRef([]);gt.current=[];var Wt=(0,s.Z)(function(bt){var Bt;Zt(bt),((Bt=gt.current[gt.current.length-1])!==null&&Bt!==void 0?Bt:Mt)!==bt&&(gt.current.push(bt),Q==null||Q(bt))}),rt=a.useRef(),ut=function(){clearTimeout(rt.current)},dt=function(Bt){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ut(),En===0?Wt(Bt):rt.current=setTimeout(function(){Wt(Bt)},En*1e3)};a.useEffect(function(){return ut},[]);var Ut=a.useState(!1),Pt=(0,T.Z)(Ut,2),Ft=Pt[0],In=Pt[1];(0,t.Z)(function(bt){(!bt||Mt)&&In(!0)},[Mt]);var M=a.useState(null),ae=(0,T.Z)(M,2),q=ae[0],se=ae[1],pe=a.useState(null),xe=(0,T.Z)(pe,2),Me=xe[0],Oe=xe[1],Re=function(Bt){Oe([Bt.clientX,Bt.clientY])},te=qe(Mt,he,$t&&Me!==null?Me:Ve,St,Gt,Yt,Kt),oe=(0,T.Z)(te,11),ve=oe[0],ge=oe[1],Ce=oe[2],Xe=oe[3],ft=oe[4],tt=oe[5],xt=oe[6],Dt=oe[7],Ot=oe[8],Xt=oe[9],ct=oe[10],hn=ye(Bn,B,N,U),an=(0,T.Z)(hn,2),tn=an[0],Vt=an[1],nn=tn.has("click"),pn=Vt.has("click")||Vt.has("contextMenu"),en=(0,s.Z)(function(){Ft||ct()}),fn=function(){vt.current&&$t&&pn&&dt(!1)};Ee(Mt,Ve,he,en,fn),(0,t.Z)(function(){en()},[Me,St]),(0,t.Z)(function(){Mt&&!(Gt!=null&&Gt[St])&&en()},[JSON.stringify(Yt)]);var At=a.useMemo(function(){var bt=b(Gt,P,Xt,$t);return p()(bt,$e==null?void 0:$e(Xt))},[Xt,$e,Gt,P,$t]);a.useImperativeHandle(re,function(){return{nativeElement:ie.current,popupElement:Ye.current,forceAlign:en}});var pt=a.useState(0),Et=(0,T.Z)(pt,2),Jt=Et[0],cn=Et[1],sn=a.useState(0),un=(0,T.Z)(sn,2),jn=un[0],Jn=un[1],Gn=function(){if(ln&&Ve){var Bt=Ve.getBoundingClientRect();cn(Bt.width),Jn(Bt.height)}},sr=function(){Gn(),en()},ir=function(Bt){In(!1),ct(),ce==null||ce(Bt)},Yn=function(){return new Promise(function(Bt){Gn(),se(function(){return Bt})})};(0,t.Z)(function(){q&&(ct(),q(),se(null))},[q]);function _n(bt,Bt,En,Ht){je[bt]=function(Pn){var or;Ht==null||Ht(Pn),dt(Bt,En);for(var $n=arguments.length,fr=new Array($n>1?$n-1:0),ur=1;ur<$n;ur++)fr[ur-1]=arguments[ur];(or=ke[bt])===null||or===void 0||or.call.apply(or,[ke,Pn].concat(fr))}}(nn||pn)&&(je.onClick=function(bt){var Bt;vt.current&&pn?dt(!1):!vt.current&&nn&&(Re(bt),dt(!0));for(var En=arguments.length,Ht=new Array(En>1?En-1:0),Pn=1;Pn<En;Pn++)Ht[Pn-1]=arguments[Pn];(Bt=ke.onClick)===null||Bt===void 0||Bt.call.apply(Bt,[ke,bt].concat(Ht))});var kn=Nt(Mt,pn,Ve,he,it,We,Pe,dt),zn=tn.has("hover"),An=Vt.has("hover"),yn,bn;zn&&(_n("onMouseEnter",!0,be,function(bt){Re(bt)}),_n("onPointerEnter",!0,be,function(bt){Re(bt)}),yn=function(Bt){(Mt||Ft)&&he!==null&&he!==void 0&&he.contains(Bt.target)&&dt(!0,be)},$t&&(je.onMouseMove=function(bt){var Bt;(Bt=ke.onMouseMove)===null||Bt===void 0||Bt.call(ke,bt)})),An&&(_n("onMouseLeave",!1,Fe),_n("onPointerLeave",!1,Fe),bn=function(){dt(!1,Fe)}),tn.has("focus")&&_n("onFocus",!0,Le),Vt.has("focus")&&_n("onBlur",!1,Be),tn.has("contextMenu")&&(je.onContextMenu=function(bt){var Bt;vt.current&&Vt.has("contextMenu")?dt(!1):(Re(bt),dt(!0)),bt.preventDefault();for(var En=arguments.length,Ht=new Array(En>1?En-1:0),Pn=1;Pn<En;Pn++)Ht[Pn-1]=arguments[Pn];(Bt=ke.onContextMenu)===null||Bt===void 0||Bt.call.apply(Bt,[ke,bt].concat(Ht))}),gn&&(je.className=p()(ke.className,gn));var yt=(0,O.Z)((0,O.Z)({},ke),je),qt={},Qt=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Qt.forEach(function(bt){Mn[bt]&&(qt[bt]=function(){for(var Bt,En=arguments.length,Ht=new Array(En),Pn=0;Pn<En;Pn++)Ht[Pn]=arguments[Pn];(Bt=yt[bt])===null||Bt===void 0||Bt.call.apply(Bt,[yt].concat(Ht)),Mn[bt].apply(Mn,Ht)})});var rn=a.cloneElement(de,(0,O.Z)((0,O.Z)({},yt),qt)),Rn={x:tt,y:xt},Zn=Dn?(0,O.Z)({},Dn!==!0?Dn:{}):null;return a.createElement(a.Fragment,null,a.createElement($.Z,{disabled:!Mt,ref:_e,onResize:sr},a.createElement(L,{getTriggerDOMNode:Sn},rn)),a.createElement(Y.Provider,{value:Ae},a.createElement(k,{portal:E,ref:ot,prefixCls:P,popup:dn,className:p()(wt,At),style:ht,target:Ve,onMouseEnter:yn,onMouseLeave:bn,onPointerEnter:yn,zIndex:vn,open:Mt,keepDom:Ft,fresh:_t,onClick:mn,onPointerDownCapture:kn,mask:it,motion:Ge,maskMotion:Qe,onVisibleChanged:ir,onPrepare:Yn,forceRender:kt,autoDestroy:Ln,getPopupContainer:Ct,align:Xt,arrow:Zn,arrowPos:Rn,ready:ve,offsetX:ge,offsetY:Ce,offsetR:Xe,offsetB:ft,onAlign:en,stretch:ln,targetWidth:Jt/Dt,targetHeight:jn/Ot})))});return j}var le=Ne(X.Z)},28426:function(Lt,Ke,u){"use strict";var O=u(59301),T=u(93314),W=u(99571),X=Object.defineProperty,V=Object.defineProperties,p=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,m)=>o in a?X(a,o,{enumerable:!0,configurable:!0,writable:!0,value:m}):a[o]=m,c=(a,o)=>{for(var m in o||(o={}))G.call(o,m)&&s(a,m,o[m]);if($)for(var m of $(o))e.call(o,m)&&s(a,m,o[m]);return a},t=(a,o)=>V(a,p(o));const r=({img:a,buttonProps:o={},styles:m={},customText:x,ButtonText:C,ButtonClick:h,Buttonclass:_,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"},m)},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:_,onClick:h},o),C),f&&f);Ke.Z=r},45677:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return _}});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),X=u(70557),V=u(75975),p=u(25399),$=u(51257),G=u(81722),e=u(28426),s=u(346),c=u(44203),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,m=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))m.call(l,k)&&x(f,k,l[k]);return f},h=(f,l,k)=>new Promise((I,L)=>{var F=ye=>{try{z(k.next(ye))}catch(y){L(y)}},Y=ye=>{try{z(k.throw(ye))}catch(y){L(y)}},z=ye=>ye.done?I(ye.value):Promise.resolve(ye.value).then(F,Y);z((k=k.apply(f,l)).next())}),_=({editOffice:f="view",data:l,issaver:k,onSaver:I,theme:L,type:F,filename:Y,monacoEditor:z,className:ye,style:y,close:d,onClose:b,hasMask:R,disabledDownload:A,onImgDimensions:w,showNodata:n,recordInfo:i})=>{const[g,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,Se]=(0,O.useState)(""),[Ze,He]=(0,O.useState)(),qe=window.ENV==="build"?"/react/build":"",Tt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Je=10*(1024*1024),Nt=(0,O.useRef)();l!=null&&l.startsWith("/api")&&F!=="txt"&&(l=s.Z.API_SERVER+l);const Ie=D=>D.substring(D.lastIndexOf("/")+1).split(".").pop();Y&&z&&(z.filename=Y),(0,O.useEffect)(()=>{var D,re;const fe=(re=(D=document.cookie)==null?void 0:D.replace(/\s/g,""))==null?void 0:re.split(";");fe==null||fe.map(P=>{let v=P.split("=");v[0]==="_educoder_session"&&Se(v[1])})},[]),(0,O.useEffect)(()=>{F==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?He({url:l,fileType:Ie(l),model:l.indexOf("model=edit")?"edit":"view"}):le())},[F,l]);function Ne(D){return h(this,null,function*(){D.data.type==="pdfdata"&&(I(D.data.data),window.removeEventListener("message",Ne,!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 re=new URL(D).pathname.split("/").pop();const fe=yield(0,G.gJ)({attachment_id:re});fe.url=Tt+fe.url,He(fe)}),E=()=>{if(l.startsWith("http")||l.startsWith("blob:")){j();return}(0,$.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,$.Nd)(Y||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:C({},y||{}),className:`${R&&T.bgBlack} ${F?T.wrp:"hide"}`},d&&t.createElement("div",{className:T.close,ref:Nt},!!w&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Nt.current},t.createElement("span",{onClick:()=>{b(),w()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!A&&t.createElement(p.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Nt.current},t.createElement("span",{onClick:j},t.createElement("i",{className:"icon-quxiaozhiding"}))),k&&t.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Nt.current},t.createElement("span",{className:"",onClick:()=>{const D=document.getElementById("pdfiframe");window.addEventListener("message",Ne,!1),setTimeout(()=>{D.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Nt.current},t.createElement("span",{className:"",onClick:()=>{b()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${T[ye]} ${ye} ${T.monaco} ${F==="txt"?"show":"hide"}`},F==="txt"&&t.createElement(t.Fragment,null,t.createElement(V.ZP,C({},z)))),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:`${qe}/office.html?key=${Ze.key}&url=${btoa(Ze.url)}&callbackUrl=${Tt+(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:`${qe}/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(X.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},75975:function(Lt,Ke,u){"use strict";u.d(Ke,{SV:function(){return v},ZP:function(){return P}});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"]},X={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(`
`)}]},p={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},$={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,m=(S,B,N)=>B in S?s(S,B,{enumerable:!0,configurable:!0,writable:!0,value:N}):S[B]=N,x=(S,B)=>{for(var N in B||(B={}))a.call(B,N)&&m(S,N,B[N]);if(r)for(var N of r(B))o.call(B,N)&&m(S,N,B[N]);return S},C=(S,B)=>c(S,t(B)),h=(S,B,N)=>new Promise((U,Z)=>{var ne=be=>{try{ce(N.next(be))}catch(we){Z(we)}},Q=be=>{try{ce(N.throw(be))}catch(we){Z(we)}},ce=be=>be.done?U(be.value):Promise.resolve(be.value).then(ne,Q);ce((N=N.apply(S,B)).next())});const _={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,B)=>B.map(N=>({label:N,kind:S.languages.CompletionItemKind.Keyword,insertText:N})),l=S=>Object.keys(_.tables).map(B=>({label:B,kind:S.languages.CompletionItemKind.Variable,insertText:B})),k=(S,B)=>{const N=_.tables[S];return N?N.map(U=>({label:U,kind:B.languages.CompletionItemKind.Field,insertText:U})):[]};function I(S,B,N,U,Z){let ne=B.getWordUntilPosition(N),Q={startLineNumber:N.lineNumber,endLineNumber:N.lineNumber,startColumn:ne.startColumn,endColumn:ne.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=>{_.languages.map(Z=>(S.languages.registerDocumentFormattingEditProvider(Z,{provideDocumentFormattingEdits(ne,Q,ce){return h(this,null,function*(){const be=e()(ne.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:ne.getFullModelRange(),text:be}]})}}),Z));const B=V.quickKey.map(Z=>({label:Z.label,kind:S.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet})),N=p.quickKey.map(Z=>({label:Z.label,kind:S.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet})),U=X.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,ne){var Q=Z.getWordUntilPosition(ne),ce={startLineNumber:ne.lineNumber,endLineNumber:ne.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(ne.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...V.keywords.map(we=>({label:we,kind:S.languages.CompletionItemKind.Function,documentation:we,insertText:we,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...V.quickKey.map(we=>({label:we.label,kind:S.languages.CompletionItemKind.Function,documentation:we.content,insertText:be.startsWith("#")?we.content.replace(/#/,""):we.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),ce={startLineNumber:ne.lineNumber,endLineNumber:ne.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,ne){var Q=Z.getWordUntilPosition(ne),ce={startLineNumber:ne.lineNumber,endLineNumber:ne.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(ne.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...X.keywords.map(we=>({label:we,kind:S.languages.CompletionItemKind.Function,documentation:we,insertText:we,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...X.quickKey.map(we=>({label:we.label,kind:S.languages.CompletionItemKind.Function,documentation:we.content,insertText:be.startsWith("#")?we.content.replace(/#/,""):we.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),ce={startLineNumber:ne.lineNumber,endLineNumber:ne.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(ne.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...$.keywords.map(we=>({label:we,kind:S.languages.CompletionItemKind.Function,documentation:we,insertText:we,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...$.quickKey.map(we=>({label:we.label,kind:S.languages.CompletionItemKind.Function,documentation:we.content,insertText:be.startsWith("#")?we.content.replace(/#/,""):we.content,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),S.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),ce={startLineNumber:ne.lineNumber,endLineNumber:ne.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},be=Z.getLineContent(ne.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...p.keywords.map(we=>({label:we,kind:S.languages.CompletionItemKind.Function,documentation:we,insertText:we,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...p.quickKey.map(we=>({label:we.label,kind:S.languages.CompletionItemKind.Function,documentation:we.content,insertText:be.startsWith("#")?we.content.replace(/#/,""):we.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,z=(S,B,N)=>B in S?Y(S,B,{enumerable:!0,configurable:!0,writable:!0,value:N}):S[B]=N,ye=(S,B,N)=>z(S,typeof B!="symbol"?B+"":B,N);const y=class yi{constructor(B,N,U){this.placeholder=B,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)}};ye(y,"ID","editor.widget.placeholderHint");var b=y,R=u(96236),A=u(6767),w=u(25399),n=u(89392),i=u(49535),g=u(56102),K=Object.defineProperty,ue=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Tt=(S,B,N)=>B in S?K(S,B,{enumerable:!0,configurable:!0,writable:!0,value:N}):S[B]=N,Ee=(S,B)=>{for(var N in B||(B={}))He.call(B,N)&&Tt(S,N,B[N]);if(Ze)for(var N of Ze(B))qe.call(B,N)&&Tt(S,N,B[N]);return S},Je=(S,B)=>ue(S,Se(B)),Nt=(S,B)=>{var N={};for(var U in S)He.call(S,U)&&B.indexOf(U)<0&&(N[U]=S[U]);if(S!=null&&Ze)for(var U of Ze(S))B.indexOf(U)<0&&qe.call(S,U)&&(N[U]=S[U]);return N},Ie=(S,B,N)=>new Promise((U,Z)=>{var ne=be=>{try{ce(N.next(be))}catch(we){Z(we)}},Q=be=>{try{ce(N.throw(be))}catch(we){Z(we)}},ce=be=>be.done?U(be.value):Promise.resolve(be.value).then(ne,Q);ce((N=N.apply(S,B)).next())});function Ne(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 B=S;if(Array.isArray(S)){for(let N=0;N<S.length;N++){let U=j[S[N]];if(U)return U}return B[0]}return j[B]||B}let re=null;const fe=()=>Ie(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 P=S=>{var B=S,{width:N="100%",height:U="100%",value:Z,language:ne="javascript",style:Q={},options:ce={},overrideServices:be={},theme:we="vs-dark",onEditBlur:Fe,isCopy:Le=!1,onSave:Be,autoHeight:it=!1,forbidCopy:Ue=!1,onChange:We=le,editorDidMount:Ct=le,onFocus:kt=le,onBreakPoint:nt=le,breakPointValue:zt=[],filename:dn="educoder.txt",errorLine:wt,errorContent:ht="",highlightLine:St,openBreakPoint:on=!1,placeholder:Gt="",showMiniMap:Yt=!0}=B,vn=Nt(B,["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 ln=(0,O.useRef)(),$e=(0,O.useRef)({}),_t=(0,O.useRef)(),$t=(0,O.useRef)(),mn=(0,O.useRef)([]),Kt=(0,O.useRef)(!1),Dn=(0,O.useRef)(),Un=(0,O.useRef)(),wn=(0,O.useRef)(!1),[jt,On]=(0,O.useState)(!1);function xn(){let me;return ln.current&&(me=new T.Z(he=>{for(let Te of he)(Te.target.offsetHeight>0||Te.target.offsetWidth>0)&&$e.current.instance.layout()}),me.observe(ln.current)),me}function Tn(){A.ZP.warning({content:decodeURIComponent(F),key:"monaco-editor-tip"})}const gn=()=>{let me=$e.current.instance;if(Z!=null&&me&&jt){const he=me.getModel();he&&Z!==he.getValue()&&(E=!0,he.setValue(Z),me.layout(),E=!1)}};(0,O.useEffect)(()=>{const me=i.Z.subscribe("formatDocument",he=>{var Te;let Ye=$e.current.instance;(Te=Ye==null?void 0:Ye.getAction)==null||Te.call(Ye,"editor.action.formatDocument").run()});return window.updateMonacoValue=he=>{We(he)},me},[]),(0,O.useEffect)(()=>{var me;let he=$e.current.instance;$t.current&&clearTimeout($t.current),$t.current=setTimeout(()=>{gn()},500),Z&&(Z!=null&&Z.length)&&((me=he==null?void 0:he.updateOptions)==null||me.call(he,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Z.split(/\r\n|\r|\n/g).length))+3,5)}))},[Z,jt,$e.current]),(0,O.useEffect)(()=>{if(wt&&$e.current&&$e.current.instance){let he=$e.current.instance;he.changeViewZones(function(Te){var Ye=document.createElement("div");Ye.style.padding="10px 20px",Ye.style.width="calc(100% - 20px)",Ye.className="my-error-line-wrp",Ye.innerHTML=ht,Te.addZone({afterLineNumber:wt||11,heightInLines:3,domNode:Ye})});var me={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}};he.addOverlayWidget(me),he.revealPositionInCenter({lineNumber:20,column:1})}},[wt,$e.current,jt]);const Sn=(me="",he)=>{if(!me||me.trim()==="")return!0;const Ye=$e.current.instance.getModel().getLineTokens(he);let ot=!1;for(let mt=0;mt<2;mt++)Ye.getStandardTokenType(mt)===1&&(ot=!0);return ot};(0,O.useEffect)(()=>{var me;const he=(me=$e.current)==null?void 0:me.instance;if(he&&jt&&Ue){const Te=he.onDidBlurEditorWidget(()=>{wn.current=!1}),Ye=he.onDidFocusEditorText(()=>{wn.current=!0});return()=>{Te.dispose(),Ye.dispose()}}},[$e.current,jt,Ue]),(0,O.useEffect)(()=>{var me;if((me=$e.current)!=null&&me.instance&&jt&&on){let he=$e.current.instance,Te=he.getModel();if(!Te)return;(()=>{var Pe;let Ge=[],Qe=[];const st=Te.getAllDecorations();for(let at of st)at.options.className==="highlighted-line"&&(Ge.push((Pe=at==null?void 0:at.range)==null?void 0:Pe.startLineNumber),Qe.push(at==null?void 0:at.id));if(St===Ge[0])return;Te.deltaDecorations(Qe,[]);const Rt=Te.getLineCount();St&&St<=Rt&&(he.deltaDecorations([],[{range:new re.Range(St,1,St,Te.getLineMaxColumn(St)),options:{isWholeLine:!0,className:"highlighted-line"}}]),he.revealLineInCenter(St))})();const ot=(Pe=!1)=>{var Ge;let Qe=[],st=[];const Rt=Te.getAllDecorations();for(let at of Rt)at.options.linesDecorationsClassName==="breakpoints-select"&&(Qe.push((Ge=at==null?void 0:at.range)==null?void 0:Ge.startLineNumber),st.push(at==null?void 0:at.id));if(Pe)return{lines:Qe,ids:st};nt(Qe)},mt=Pe=>Ie(void 0,null,function*(){let Ge={range:new re.Range(Pe,1,Pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Te.deltaDecorations([],[Ge]),ot()}),et=Pe=>Ie(void 0,null,function*(){let Ge=[];const Qe=he.getLineDecorations(Pe);for(let st of Qe)st.options.linesDecorationsClassName==="breakpoints-select"&&Ge.push(st.id);yield Te.deltaDecorations(Ge,[]),ot()}),Ve=Pe=>{let Ge=he.getLineDecorations(Pe);for(let Qe of Ge)if(Qe.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(zt,ot(!0).lines)){Te.deltaDecorations(ot(!0).ids,[]);const Pe=zt.map(Ge=>({range:new re.Range(Ge,1,Ge,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Te.deltaDecorations([],Pe)}const H=he.onDidChangeModelContent(Pe=>{let Ge=he.getPosition();if(Ge){let Qe=Ge.lineNumber;clearTimeout(Un.current),Un.current=setTimeout(()=>{Sn(Te.getLineContent(Qe),Qe)?et(Qe):Ve(Qe)?(et(Qe),mt(Qe)):ot()},100)}}),ie=he.onMouseDown(Pe=>{var Ge,Qe,st;if(Pe.target.detail&&((st=(Qe=(Ge=Pe.target)==null?void 0:Ge.element)==null?void 0:Qe.className)!=null&&st.includes("line-numbers"))){let Rt=Pe.target.position.lineNumber;if(Sn(Te.getLineContent(Rt),Rt))return;Ve(Rt)?et(Rt):mt(Rt)}}),_e=Pe=>{let Ge={range:new re.Range(Pe,1,Pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mn.current=he.deltaDecorations(mn.current,[Ge])},de=()=>{mn.current=he.deltaDecorations(mn.current,[])},ke=he.onMouseMove(Pe=>{var Ge,Qe,st;if(de(),Pe.target.detail&&((st=(Qe=(Ge=Pe.target)==null?void 0:Ge.element)==null?void 0:Qe.className)!=null&&st.includes("line-numbers"))){let Rt=Pe.target.position.lineNumber;if(Sn(Te.getLineContent(Rt),Rt))return;_e(Rt)}}),je=he.onMouseLeave(()=>{de()});return()=>{H.dispose(),ie.dispose(),ke.dispose(),je.dispose()}}},[$e.current,jt,zt,St,on,ne]),(0,O.useEffect)(()=>{var me;(me=$e.current)!=null&&me.instance&&on&&$e.current.instance.setPosition({lineNumber:0,column:0})},[St]);function Mn(){let me=$e.current.instance;if(me){const he=me.getSelection(),Te=$e.current.pastePos||{},Ye=new re.Range(Te.startLineNumber||he.endLineNumber,Te.startColumn||he.endColumn,Te.endLineNumber||he.endLineNumber,Te.endColumn||he.endColumn);setTimeout(()=>{me.executeEdits("",[{range:Ye,text:""}])},300)}}function Ln(me){(window.navigator.platform.match("Mac")?me.metaKey:me.ctrlKey)&&me.keyCode==83&&(me.preventDefault(),Be())}const Hn=()=>{if(it&&$e.current.instance){const me=$e.current.instance.getContentHeight();De(me<U?U:me)}else De(U)};function Wn(me){var he=document.createEvent("MouseEvents");he.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),me.dispatchEvent(he)}const Bn=me=>{if(!wn.current)return;const{keyCode:he,ctrlKey:Te,metaKey:Ye,target:ot,type:mt}=me;return(mt==="paste"||(he===67||he===86)&&(Ye||Te))&&ot.nodeName==="TEXTAREA"&&(Tn(),me.preventDefault()),!1};function ee(me,he){var Te=window.URL||window.webkitURL||window,Ye=new Blob([he]),ot=document.createElementNS("http://www.w3.org/1999/xhtml","a");ot.href=Te.createObjectURL(Ye),ot.download=me,Wn(ot)}(0,O.useEffect)(()=>{Hn()},[Hn]),(0,O.useEffect)(()=>{ln.current&&!jt&&Promise.all([u.e(8909),u.e(6656)]).then(u.bind(u,71448)).then(me=>{try{re=me,$e.current.instance=re.editor.create(ln.current,{value:Z,language:D(ne),theme:we,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Yt||!1}},be);const he=$e.current.instance;let ot=[...R.BH._menuItems].find(H=>H[0]._debugName=="EditorContext")[1],mt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],et=(H,ie)=>{var _e,de;let ke=H._first;do ie.includes((de=(_e=ke.element)==null?void 0:_e.command)==null?void 0:de.id)&&H._remove(ke);while(ke=ke.next)};if(Ct(he,re),setTimeout(()=>{Hn(),$e.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{ee(dn||"educoder.txt",he.getValue())}})},500),$e.current.subscription=he.onDidChangeModelContent(H=>{Kt.current?clearTimeout(Dn.current):(Hn(),We(he.getValue(),H)),Dn.current=setTimeout(()=>{Kt.current=!1},500)}),window.Monaco||L(re,D(ne)),Ue&&(et(ot,mt),ln.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Bn),window.removeEventListener("paste",Bn),window.addEventListener("keydown",Bn),window.addEventListener("paste",Bn)),window.Monaco=re,Fe&&he.onDidBlurEditorWidget(()=>{Fe(he.getValue())}),kt&&he.onDidFocusEditorText(()=>{Ue&&fe(),kt(he.getValue())}),Ue){fe();try{he.onDidPaste(H=>{const ie=he.getSelection(),_e=$e.current.pastePos||{},de=new re.Range(_e.startLineNumber||ie.endLineNumber,_e.startColumn||ie.endColumn,_e.endLineNumber||ie.endLineNumber,_e.endColumn||ie.endColumn);he.executeEdits("",[{range:H.range,text:""}])})}catch(H){}}let Ve=xn();return Gt&&typeof Gt=="string"&&new b(Gt,he,re),On(!0),()=>{const H=$e.current.instance;H.dispose();const ie=H.getModel();ie&&ie.dispose(),$e.current.subscription&&$e.current.subscription.dispose(),Ve.unobserve(ln.current)}}catch(he){}})},[]),(0,O.useEffect)(()=>{if($e.current.instance&&jt)return document.addEventListener("keydown",Ln,!1),()=>{document.removeEventListener("keydown",Ln)}},[Be,jt]),(0,O.useEffect)(()=>{let me=$e.current.instance;if(me&&jt){let he=D(ne);re.editor.setModelLanguage(me.getModel(),he)}},[ne,jt]),(0,O.useEffect)(()=>{$e.current.instance&&jt&&re.editor.setTheme(we)},[we,jt]),(0,O.useEffect)(()=>{let me=$e.current.instance;_t.current=ce,me&&jt&&(me.updateOptions(Ee({},ce)),setTimeout(()=>{me.getModel().updateOptions(Ee({},ce))},200))},[JSON.stringify(ce),jt]),(0,O.useEffect)(()=>{let me=$e.current.instance;me&&jt&&me.layout()},[N,U,jt]);const[J,ze]=(0,O.useState)(Ne(N)),[Ae,De]=(0,O.useState)(Ne(U)),lt=Je(Ee({},Q),{width:J,height:Ae,position:"relative"});return O.createElement("div",{className:"my-monaco-editor",ref:ln,style:lt},Le&&O.createElement(g.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 v({width:S="100%",height:B="100%",original:N,modified:U,language:Z,options:ne={}}){const Q=(0,O.useRef)(),[ce,be]=(0,O.useState)(null);function we(it){let Ue;return Q.current&&(Ue=new T.Z(We=>{for(let Ct of We)(Ct.target.offsetHeight>0||Ct.target.offsetWidth>0)&&it.layout()}),Ue.observe(Q.current)),Ue}(0,O.useEffect)(()=>(Q.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(it=>{re=it;const Ue=re.editor.createDiffEditor(Q.current,Je(Ee({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},ne),{wordWrap:!0}));be(Ue);let We=we(Ue);return()=>{Ue.dispose();const Ct=Ue.getModel();Ct&&Ct.dispose(),We.unobserve(Q.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,O.useEffect)(()=>{ce&&ce.setModel({original:re.editor.createModel(N,Z),modified:re.editor.createModel(U,Z)})},[N,U,Z,ce]);const Fe=Ne(S),Le=Ne(B),Be={width:Fe,height:Le};return O.createElement("div",{className:"my-diff-editor",ref:Q,style:Be})}},62256:function(Lt,Ke,u){"use strict";u.r(Ke),u.d(Ke,{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(25690),X=u(6767),V=u(25399),p=u(62957),$=u(82326),G=u(99571),e=u(54172),s=u(87169),c=u(40133),t=u(38986),r=u(23029),a=u(96999),o=u(45677),m=Object.defineProperty,x=Object.defineProperties,C=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(z,ye,y)=>ye in z?m(z,ye,{enumerable:!0,configurable:!0,writable:!0,value:y}):z[ye]=y,k=(z,ye)=>{for(var y in ye||(ye={}))_.call(ye,y)&&l(z,y,ye[y]);if(h)for(var y of h(ye))f.call(ye,y)&&l(z,y,ye[y]);return z},I=(z,ye)=>x(z,C(ye)),L=(z,ye,y)=>new Promise((d,b)=>{var R=n=>{try{w(y.next(n))}catch(i){b(i)}},A=n=>{try{w(y.throw(n))}catch(i){b(i)}},w=n=>n.done?d(n.value):Promise.resolve(n.value).then(R,A);w((y=y.apply(z,ye)).next())});const F=({user:z})=>{var ye;const y={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)(y);const[R,A]=(0,O.useState)(!0),[w,n]=(0,O.useState)([]),[i,g]=(0,O.useState)([]),[K,ue]=(0,O.useState)([]),[Se,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}}}),He=Ie=>L(void 0,null,function*(){var Ne;A(!0),Ie.school_id=(Ne=z==null?void 0:z.userInfo)==null?void 0:Ne.school_id;let le=yield(0,t.ZP)(`/api/ec_major_schools/${(Ie==null?void 0:Ie.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:I(k({},Ie),{year:(Ie==null?void 0:Ie.ec_year_id)===0?null:Ie==null?void 0:Ie.ec_year_id,ec_year_id:((Ie==null?void 0:Ie.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 Ie;(Ie=z.userInfo)!=null&&Ie.school_id&&(qe(),Tt(),He(d))},[(ye=z==null?void 0:z.userInfo)==null?void 0:ye.school_id]);function qe(){return L(this,null,function*(){var Ie;let Ne=yield(0,t.ZP)(`/api/schools/${(Ie=z==null?void 0:z.userInfo)==null?void 0:Ie.school_id}/ec_majors/get_major_list.json`,{method:"get"});g(Ne==null?void 0:Ne.data)})}function Tt(){return L(this,null,function*(){let Ie=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});ue(Ie==null?void 0:Ie.year_arr)})}const Ee=(Ie,Ne)=>{d.page=1,d[Ne]=typeof Ie=="number"?Ie:null,b(k({},d)),He(d)},Je=(Ie,Ne,le)=>{d.page=Ie==null?void 0:Ie.current,d.per_page=Ie==null?void 0:Ie.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)),He(d)},Nt=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Ie,Ne,le)=>d.per_page*(d.page-1)+le+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Ie,Ne,le)=>O.createElement(W.Link,{to:`/engineering/training/program/edit?ec_year_id=${Ne==null?void 0:Ne.id}`},Ie)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Ie,Ne,le)=>O.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Ne==null?void 0:Ne.type))Se.editOffice="edit",Ze(I(k({},Se),{type:Ne.file_type,data:`/api/attachments/${Ne.attachment_id}`}));else{X.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},Ie||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Ie,Ne,le)=>Ie+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Ie,Ne,le)=>Ie||O.createElement("a",{href:`/engineering/training/objectives?ids=${Ne==null?void 0:Ne.ec_major_school_id},${Ne==null?void 0:Ne.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(Ie,Ne,le)=>Ie||O.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Ne==null?void 0:Ne.ec_major_school_id}&ec_year_id=${Ne==null?void 0:Ne.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(Ie,Ne,le)=>Ie+"/"+(Ne==null?void 0:Ne.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Ie,Ne,le)=>Ie||O.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Ne==null?void 0:Ne.ec_major_school_id}&ec_year_id=${Ne==null?void 0:Ne.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(Ie,Ne,le)=>O.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Ie} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Ne==null?void 0:Ne.course_count}`},O.createElement("span",{style:{color:Ne!=null&&Ne.course_count?parseInt(Ie)===parseInt(Ne==null?void 0:Ne.course_count)?"#07C160":"#E30000":""}},Ne!=null&&Ne.course_count?Ie+"/"+(Ne==null?void 0:Ne.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Ie,Ne,le)=>O.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Ie} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Ne==null?void 0:Ne.graduation_requirement_count}`},O.createElement("span",{style:{color:Ne!=null&&Ne.graduation_requirement_count?parseInt(Ie)===parseInt(Ne==null?void 0:Ne.graduation_requirement_count)?"#07C160":"#E30000":""}},Ne!=null&&Ne.graduation_requirement_count?Ie+"/"+(Ne==null?void 0:Ne.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Ie,Ne,le)=>O.createElement("span",{style:{color:Ie==="achieved"?"#E30000":"#07C160"}},Ie==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Ie,Ne,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=${Ne==null?void 0:Ne.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),O.createElement("i",{onClick:()=>{p.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/${Ie}`,{method:"delete"}))&&(a.U.clear((E=z==null?void 0:z.userInfo)==null?void 0:E.login),X.ZP.info("\u5220\u9664\u6210\u529F"),He(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:Ie,school_id:(E=z==null?void 0:z.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($.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:Ie=>Ee(Ie,"ec_major_school_id")},O.createElement($.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((Ie,Ne)=>O.createElement($.default.Option,{value:Ie==null?void 0:Ie.ec_major_school_id},Ie==null?void 0:Ie.name))),O.createElement("div",{className:T.label},"\u8BA4\u8BC1\u5C4A\u522B"),O.createElement($.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:Ie=>Ee(Ie,"ec_year_id")},O.createElement($.default.Option,{value:0},"\u5168\u90E8"),K==null?void 0:K.map((Ie,Ne)=>O.createElement($.default.Option,{value:Ie},Ie,"\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:Ie=>Ie.id,columns:Nt,rowClassName:T.row,loading:R,onChange:Je,pagination:{pageSize:d.per_page,total:d.total,current:d.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:Ie=>O.createElement("span",{className:"mr10"},"\u5171",O.createElement("span",{className:"c-orange"},Ie),"\u6761\u6570\u636E")}}),O.createElement(o.Z,I(k({},Se),{onClose:()=>{Ze(I(k({},Se),{type:""}))}})))};var Y=(0,W.connect)(({user:z})=>({user:z}))(F)},23029:function(Lt,Ke,u){"use strict";u.d(Ke,{p:function(){return X},v:function(){return $}});var O=u(59301),T={panelTitleContainer:"panelTitleContainer___Ypuh_"},X=({title:G,style:e={}})=>O.createElement("div",{className:T.panelTitleContainer,style:e},O.createElement("div",null,G)),V={selectWrapContainer:"selectWrapContainer___qocIH"},$=({title:G,children:e})=>O.createElement("div",{className:V.selectWrapContainer},O.createElement("span",null,G),e)},40133:function(Lt,Ke,u){"use strict";u.d(Ke,{AD:function(){return b},D9:function(){return K},Hp:function(){return k},IM:function(){return Se},Iy:function(){return L},KM:function(){return le},MJ:function(){return I},Ne:function(){return ue},ON:function(){return Ee},Uj:function(){return Ie},VY:function(){return qe},YO:function(){return Nt},YX:function(){return Je},Zn:function(){return o},_g:function(){return _},_k:function(){return i},c6:function(){return y},cr:function(){return m},eV:function(){return d},fi:function(){return x},gh:function(){return z},hS:function(){return Ze},iA:function(){return C},j6:function(){return f},je:function(){return w},jj:function(){return l},kS:function(){return Tt},lS:function(){return n},o6:function(){return ye},pO:function(){return Ne},rQ:function(){return R},sA:function(){return Y},xm:function(){return g},xo:function(){return He},y8:function(){return A},yd:function(){return h}});var O=u(82264),T=u(25690),W=u(51257),X=u(6767),V=u(346),p=Object.defineProperty,$=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(E,j,D)=>j in E?p(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($)for(var D of $(j))e.call(j,D)&&s(E,D,j[D]);return E},t=(E,j,D)=>new Promise((re,fe)=>{var P=B=>{try{S(D.next(B))}catch(N){fe(N)}},v=B=>{try{S(D.throw(B))}catch(N){fe(N)}},S=B=>B.done?re(B.value):Promise.resolve(B.value).then(P,v);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()}),m=E=>t(void 0,null,function*(){const j=yield(0,O.yS)(c({},E));if(j.status===0)X.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)X.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)X.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)X.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`))}}),_=E=>t(void 0,null,function*(){const j=yield(0,O.td)(c({},E));if(j.status===0)X.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)X.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?(X.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?(X.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?(X.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?(X.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()}),z=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}))}),ye=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}))}),y=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}))}),R=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?(X.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?(X.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}))}),g=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}))}),Se=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}))}),He=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}))}),qe=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}))}),Tt=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}))}),Ee=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}))}),Je=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}))}),Nt=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}))}),Ie=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}))}),Ne=(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(Lt,Ke,u){"use strict";var O=u(98040),T={"text/plain":"Text","text/html":"Url",default:"Text"},W="Copy to clipboard: #{key}, Enter";function X(p){var $=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,$)}function V(p,$){var G,e,s,c,t,r,a=!1;$||($={}),G=$.debug||!1;try{s=O(),c=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=p,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(m){if(m.stopPropagation(),$.format)if(m.preventDefault(),typeof m.clipboardData=="undefined"){G&&console.warn("unable to use e.clipboardData"),G&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var x=T[$.format]||T.default;window.clipboardData.setData(x,p)}else m.clipboardData.clearData(),m.clipboardData.setData($.format,p);$.onCopy&&(m.preventDefault(),$.onCopy(m.clipboardData))}),document.body.appendChild(r),c.selectNodeContents(r),t.addRange(c);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");a=!0}catch(m){G&&console.error("unable to copy using execCommand: ",m),G&&console.warn("trying IE specific stuff");try{window.clipboardData.setData($.format||"text",p),$.onCopy&&$.onCopy(window.clipboardData),a=!0}catch(x){G&&console.error("unable to copy using clipboardData: ",x),G&&console.error("falling back to prompt"),e=X("message"in $?$.message:W),window.prompt(e,p)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(c):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}Lt.exports=V},53184:function(Lt,Ke,u){"use strict";var O,T;function W(X,V,p){var $=function(G,e){return X.js_beautify(G,e)};return $.js=X.js_beautify,$.css=V.css_beautify,$.html=p.html_beautify,$.js_beautify=X.js_beautify,$.css_beautify=V.css_beautify,$.html_beautify=p.html_beautify,$}O=[u(58553),u(87804),u(40998)],T=function(X,V,p){return W(X,V,p)}.apply(Ke,O),T!==void 0&&(Lt.exports=T)},87804:function(Lt,Ke){var u,O;(function(){var T;(function(){"use strict";var X=[,,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 m=new c(a,o);return m.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(/\/\*/,/\*\//),m=/\r\n|[\r\n]/,x=/\r\n|[\r\n]/g,C=/\s/,h=/(?:\s|\n)+/g,_=/\/\*(?:[\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&&m.test(k||"")&&(I=k.match(m)[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,z=!1,ye=!1,y=!1,d=!1,b=this._ch,R=!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(_),g=o.get_directives(i);g&&g.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&&(z=!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?(z=!0,this.indent()):ue in this.NESTED_AT_RULE?(this._nestedLevel+=1,ue in this.CONDITIONAL_GROUP_RULE&&(ye=!0)):F===0&&!z&&(y=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(w),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")z&&(z=!1,this.outdent()),y=!1,ye?(ye=!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),z&&(this.outdent(),z=!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 Se=0;Se<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Se++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Se])){R=!0;break}(Y||ye)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!y&&F===0?(this.print_string(":"),z||(z=!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===";")R=!1,F===0?(z&&(this.outdent(),z=!1),y=!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 He=!1;this._input.lookBack("with")&&(He=!0),this.preserveSingleSpace(w||He),this.print_string(this._ch),z&&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&&(!z||d)&&F===0&&!y?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!z&&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 qe=n==='"'||n==="'";this.preserveSingleSpace(qe||w),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&R&&this._output.add_new_line()}var Tt=this._output.get_code(I);return Tt},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 m=0;m<o.length;m++)o[m]!=="expand"?this.brace_style="collapse":this.brace_style=o[m]}t.prototype=new c,G.exports.Options=t}],V={};function p(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return X[G](s,s.exports,p),s.exports}var $=p(15);T=$})();var W=T;u=[],O=function(){return{css_beautify:W}}.apply(Ke,u),O!==void 0&&(Lt.exports=O)})()},40998:function(Lt,Ke,u){var O,T;(function(){var W;(function(){"use strict";var $=[,,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 m=this.__items.length-1;m>=0;m--)if(this.__items[m].match(o))return!0;return!1},t.prototype.set_indent=function(o,m){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=m||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(o){this.__items.push(o);var m=o.lastIndexOf(`
`);m!==-1?this.__character_count=o.length-m:this.__character_count+=o.length},t.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function r(o,m){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),m=m||"",o.indent_level>0&&(m=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=m,this.__base_string_length=m.length}r.prototype.get_indent_size=function(o,m){var x=this.__base_string_length;return m=m||0,o<0&&(x=0),x+=o*this.__indent_size,x+=m,x},r.prototype.get_indent_string=function(o,m){var x=this.__base_string;return m=m||0,o<0&&(o=0,x=""),m+=o*this.__indent_size,this.__ensure_cache(m),x+=this.__cache[m],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,m=0,x="";this.__indent_size&&o>=this.__indent_size&&(m=Math.floor(o/this.__indent_size),o-=m*this.__indent_size,x=new Array(m+1).join(this.__indent_string)),o&&(x+=new Array(o+1).join(" ")),this.__cache.push(x)};function a(o,m){this.__indent_cache=new r(o,m),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(o,m){return this.__indent_cache.get_indent_string(o,m)},a.prototype.get_indent_size=function(o,m){return this.__indent_cache.get_indent_size(o,m)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(o){this.trim(!0);var m=this.current_line.pop();m&&(m[m.length-1]===`
`&&(m=m.replace(/\n+$/g,"")),this.current_line.push(m)),this._end_with_newline&&this.__add_outputline();var 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,m){return o=o||0,m=m||0,this.next_line.set_indent(o,m),this.__lines.length>1?(this.current_line.set_indent(o,m),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(o){for(var m=0;m<o.newlines;m++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(o){for(var m=this.__lines.length;o<m;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(o,m){for(var 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)!==m){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,m){this.type=r,this.text=a,this.comments_before=null,this.newlines=o||0,this.whitespace_before=m||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}c.exports.Token=t},,,function(c){function t(o,m){this.raw_options=r(o,m),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}t.prototype._get_array=function(o,m){var x=this.raw_options[o],C=m||[];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,m){var x=this.raw_options[o],C=x===void 0?!!m:!!x;return C},t.prototype._get_characters=function(o,m){var x=this.raw_options[o],C=m||"";return typeof x=="string"&&(C=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),C},t.prototype._get_number=function(o,m){var x=this.raw_options[o];m=parseInt(m,10),isNaN(m)&&(m=0);var C=parseInt(x,10);return isNaN(C)&&(C=m),C},t.prototype._get_selection=function(o,m,x){var C=this._get_selection_list(o,m,x);if(C.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+m+`
You passed in: '`+this.raw_options[o]+"'");return C[0]},t.prototype._get_selection_list=function(o,m,x){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[m[0]],!this._is_valid_selection(x,m))throw new Error("Invalid Default Value!");var C=this._get_array(o,x);if(!this._is_valid_selection(C,m))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+m+`
You passed in: '`+this.raw_options[o]+"'");return C},t.prototype._is_valid_selection=function(o,m){return o.length&&m.length&&!o.some(function(x){return m.indexOf(x)===-1})};function r(o,m){var x={};o=a(o);var C;for(C in o)C!==m&&(x[C]=o[C]);if(m&&o[m])for(C in o[m])x[C]=o[m][C];return x}function a(o){var m={},x;for(x in o){var C=x.replace(/-/g,"_");m[C]=o[x]}return m}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 m=a.exec(this.__input);return m&&!(t&&a.sticky)&&m.index!==o&&(m=null),m},r.prototype.test=function(a,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(a,o):!1},r.prototype.testChar=function(a,o){var m=this.peek(o);return a.lastIndex=0,m!==null&&a.test(m)},r.prototype.match=function(a){var o=this.__match(a,this.__position);return o?this.__position+=o[0].length:o=null,o},r.prototype.read=function(a,o,m){var x="",C;return a&&(C=this.match(a),C&&(x+=C[0])),o&&(C||!a)&&(x+=this.readUntil(o,m)),x},r.prototype.readUntil=function(a,o){var m="",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,m=this.__input.substring(this.__position,x),this.__position=x,m},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var m=null,x="g";return o&&t&&(x="y"),typeof a=="string"&&a!==""?m=new RegExp(a,x):a&&(m=new RegExp(a.source,x)),m},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,m=this.readUntilAfter(a);return this.__position=o,m},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},c.exports.InputScanner=r},function(c,t,r){var a=r(8).InputScanner,o=r(3).Token,m=r(10).TokenStream,x=r(11).WhitespacePattern,C={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},h=function(_,f){this._input=new a(_),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 m,this._reset();for(var _,f=new o(C.START,""),l=null,k=[],I=new m;f.type!==C.EOF;){for(_=this._get_next_token(f,l);this._is_comment(_);)I.add(_),_=this._get_next_token(f,l);I.isEmpty()||(_.comments_before=I,I=new m),_.parent=l,this._is_opening(_)?(k.push(l),l=_):l&&this._is_closing(_,l)&&(_.opened=l,l.closed=_,l=k.pop(),_.parent=l),_.previous=f,f.next=_,this.__tokens.add(_),f=_}return this.__tokens},h.prototype._is_first_token=function(){return this.__tokens.isEmpty()},h.prototype._reset=function(){},h.prototype._get_next_token=function(_,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(_){return!1},h.prototype._is_opening=function(_){return!1},h.prototype._is_closing=function(_,f){return!1},h.prototype._create_token=function(_,f){var l=new o(_,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(m,x){a.call(this,m,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(m,x){m+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+m+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 m=this._input.read(this._match_pattern);if(m===" ")this.whitespace_before_token=" ";else if(m){var x=this.__split(this._newline_regexp,m);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return m},o.prototype.matching=function(m,x){var C=this._create();return C.__set_whitespace_patterns(m,x),C._update(),C},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(m,x){m.lastIndex=0;for(var C=0,h=[],_=m.exec(x);_;)h.push(x.substring(C,_.index)),C=_.index+_[0].length,_=m.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 m(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}/)}}m.prototype=new a,m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){this.__set_templated_pattern()},m.prototype.disable=function(x){var C=this._create();return C._disabled[x]=!0,C._update(),C},m.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},m.prototype.exclude=function(x){var C=this._create();return C._excluded[x]=!0,C._update(),C},m.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},m.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("|")+")")},m.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=m},,,,function(c,t,r){var a=r(19).Beautifier,o=r(20).Options;function m(x,C,h,_){var f=new a(x,C,h,_);return f.beautify()}c.exports=m,c.exports.defaultOptions=function(){return new o}},function(c,t,r){var a=r(20).Options,o=r(2).Output,m=r(21).Tokenizer,x=r(21).TOKEN,C=/\r\n|[\r\n]/,h=/\r\n|[\r\n]/g,_=function(y,d){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=y.max_preserve_newlines,this.preserve_newlines=y.preserve_newlines,this._output=new o(y,d)};_.prototype.current_line_has_match=function(y){return this._output.current_line.has_match(y)},_.prototype.set_space_before_token=function(y,d){this._output.space_before_token=y,this._output.non_breaking_space=d},_.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},_.prototype.add_raw_token=function(y){this._output.add_raw_token(y)},_.prototype.print_preserved_newlines=function(y){var d=0;y.type!==x.TEXT&&y.previous.type!==x.TEXT&&(d=y.newlines?1:0),this.preserve_newlines&&(d=y.newlines<this.max_preserve_newlines+1?y.newlines:this.max_preserve_newlines+1);for(var b=0;b<d;b++)this.print_newline(b>0);return d!==0},_.prototype.traverse_whitespace=function(y){return y.whitespace_before||y.newlines?(this.print_preserved_newlines(y)||(this._output.space_before_token=!0),!0):!1},_.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},_.prototype.print_newline=function(y){this._output.add_new_line(y)},_.prototype.print_token=function(y){y.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(y.text))},_.prototype.indent=function(){this.indent_level++},_.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},_.prototype.get_full_indent=function(y){return y=this.indent_level+(y||0),y<1?"":this._output.get_indent_string(y)};var f=function(y){for(var d=null,b=y.next;b.type!==x.EOF&&y.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(y,d){var b=null,R=null;return d.closed?(y==="script"?b="text/javascript":y==="style"&&(b="text/css"),b=f(d)||b,b.search("text/css")>-1?R="css":b.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?R="javascript":b.search(/(text|application|dojo)\/(x-)?(html)/)>-1?R="html":b.search(/test\/null/)>-1&&(R="null"),R):null};function k(y,d){return d.indexOf(y)!==-1}function I(y,d,b){this.parent=y||null,this.tag=d?d.tag_name:"",this.indent_level=b||0,this.parser_token=d||null}function L(y){this._printer=y,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(y){var d=new I(this._current_frame,y,this._printer.indent_level);this._current_frame=d},L.prototype._try_pop_frame=function(y){var d=null;return y&&(d=y.parser_token,this._printer.indent_level=y.indent_level,this._current_frame=y.parent),d},L.prototype._get_frame=function(y,d){for(var b=this._current_frame;b&&y.indexOf(b.tag)===-1;){if(d&&d.indexOf(b.tag)!==-1){b=null;break}b=b.parent}return b},L.prototype.try_pop=function(y,d){var b=this._get_frame([y],d);return this._try_pop_frame(b)},L.prototype.indent_to_tag=function(y){var d=this._get_frame(y);d&&(this._printer.indent_level=d.indent_level)};function F(y,d,b,R){this._source_text=y||"",d=d||{},this._js_beautify=b,this._css_beautify=R,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 y=this._source_text,d=this._options.eol;this._options.eol==="auto"&&(d=`
`,y&&C.test(y)&&(d=y.match(C)[0])),y=y.replace(h,`
`);var b=y.match(/^[\t ]*/)[0],R={text:"",type:""},A=new Y(this._options),w=new _(this._options,b),n=new m(y,this._options).tokenize();this._tag_stack=new L(w);for(var i=null,g=n.next();g.type!==x.EOF;)g.type===x.TAG_OPEN||g.type===x.COMMENT?(i=this._handle_tag_open(w,g,A,R,n),A=i):g.type===x.ATTRIBUTE||g.type===x.EQUALS||g.type===x.VALUE||g.type===x.TEXT&&!A.tag_complete?i=this._handle_inside_tag(w,g,A,R):g.type===x.TAG_CLOSE?i=this._handle_tag_close(w,g,A):g.type===x.TEXT?i=this._handle_text(w,g,A):g.type===x.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(w,g):g.type===x.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(w,g):w.add_raw_token(g),R=i,g=n.next();var K=w._output.get_code(d);return K},F.prototype._handle_control_flow_open=function(y,d){var b={text:d.text,type:d.type};return y.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),d.newlines?y.print_preserved_newlines(d):y.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),y.print_token(d),y.indent(),b},F.prototype._handle_control_flow_close=function(y,d){var b={text:d.text,type:d.type};return y.deindent(),d.newlines?y.print_preserved_newlines(d):y.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),y.print_token(d),b},F.prototype._handle_tag_close=function(y,d,b){var R={text:d.text,type:d.type};return y.alignment_size=0,b.tag_complete=!0,y.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.is_unformatted?y.add_raw_token(d):(b.tag_start_char==="<"&&(y.set_space_before_token(d.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&b.has_wrapped_attrs&&y.print_newline(!1)),y.print_token(d)),b.indent_content&&!(b.is_unformatted||b.is_content_unformatted)&&(y.indent(),b.indent_content=!1),!b.is_inline_element&&!(b.is_unformatted||b.is_content_unformatted)&&y.set_wrap_point(),R},F.prototype._handle_inside_tag=function(y,d,b,R){var A=b.has_wrapped_attrs,w={text:d.text,type:d.type};return y.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.is_unformatted?y.add_raw_token(d):b.tag_start_char==="{"&&d.type===x.TEXT?y.print_preserved_newlines(d)?(d.newlines=0,y.add_raw_token(d)):y.print_token(d):(d.type===x.ATTRIBUTE?y.set_space_before_token(!0):(d.type===x.EQUALS||d.type===x.VALUE&&d.previous.type===x.EQUALS)&&y.set_space_before_token(!1),d.type===x.ATTRIBUTE&&b.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(y.traverse_whitespace(d),A=A||d.newlines!==0),this._is_wrap_attributes_force&&b.attr_count>=this._options.wrap_attributes_min_attrs&&(R.type!==x.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(y.print_newline(!1),A=!0)),y.print_token(d),A=A||y.previous_token_wrapped(),b.has_wrapped_attrs=A),w},F.prototype._handle_text=function(y,d,b){var R={text:d.text,type:"TK_CONTENT"};return b.custom_beautifier_name?this._print_custom_beatifier_text(y,d,b):b.is_unformatted||b.is_content_unformatted?y.add_raw_token(d):(y.traverse_whitespace(d),y.print_token(d)),R},F.prototype._print_custom_beatifier_text=function(y,d,b){var R=this;if(d.text!==""){var A=d.text,w,n=1,i="",g="";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(qe,Tt){var Ee=new F(qe,Tt,R._js_beautify,R._css_beautify);return Ee.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-y.indent_level);var K=y.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){y.add_raw_token(d);return}i=K+ue[1]+`
`,A=ue[4],ue[5]&&(g=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 Se=function(){this.eol=`
`};Se.prototype=this._options.raw_options;var Ze=new Se;A=w(K+A,Ze)}else{var He=d.whitespace_before;He&&(A=A.replace(new RegExp(`
(`+He+")?","g"),`
`)),A=K+A.replace(/\n/g,`
`+K)}i&&(A?A=i+A+`
`+g:A=i+g),y.print_newline(!1),A&&(d.text=A,d.whitespace_before="",d.newlines=0,y.add_raw_token(d),y.print_newline(!0))}},F.prototype._handle_tag_open=function(y,d,b,R,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?(y.add_raw_token(d),w.start_tag_token=this._tag_stack.try_pop(w.tag_name)):(y.traverse_whitespace(d),this._set_tag_position(y,d,w,b,R),w.is_inline_element||y.set_wrap_point(),y.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&&(y.alignment_size=w.alignment_size),w};var Y=function(y,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 R;this.tag_start_char=b.text[0],this.text=b.text,this.tag_start_char==="<"?(R=b.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:""):(R=b.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[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==="{"&&(!y.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};F.prototype._get_tag_open_token=function(y){var d=new Y(this._options,this._tag_stack.get_parser_token(),y);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(y,d,b,R,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||y.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)&&(y.print_newline(!1),y._output.just_added_blankline()||y.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=y.current_line_has_match(/{{#if/);w||y.print_newline(!1)}b.tag_name==="!--"&&A.type===x.TAG_CLOSE&&R.is_end_tag&&b.text.indexOf(`
`)===-1||(b.is_inline_element||b.is_unformatted||y.print_newline(!1),this._calcluate_parent_multiline(y,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&&!(R.is_inline_element||R.is_unformatted)&&!(A.type===x.TAG_CLOSE&&b.start_tag_token===R)&&A.type!=="TK_CONTENT",(b.is_content_unformatted||b.is_unformatted)&&(n=!1),n&&y.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)&&y.print_newline(!1),this._calcluate_parent_multiline(y,b)},F.prototype._calcluate_parent_multiline=function(y,d){d.parent&&y._output.just_added_newline()&&!((d.is_inline_element||d.is_unformatted)&&d.parent.is_inline_element)&&(d.parent.multiline_content=!0)};var z=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],ye=["a","audio","del","ins","map","noscript","video"];F.prototype._do_optional_end_element=function(y){var d=null;if(!(y.is_empty_element||!y.is_start_tag||!y.parent)){if(y.tag_name==="body")d=d||this._tag_stack.try_pop("head");else if(y.tag_name==="li")d=d||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(y.tag_name==="dd"||y.tag_name==="dt")d=d||this._tag_stack.try_pop("dt",["dl"]),d=d||this._tag_stack.try_pop("dd",["dl"]);else if(y.parent.tag_name==="p"&&z.indexOf(y.tag_name)!==-1){var b=y.parent.parent;(!b||ye.indexOf(b.tag_name)===-1)&&(d=d||this._tag_stack.try_pop("p"))}else y.tag_name==="rp"||y.tag_name==="rt"?(d=d||this._tag_stack.try_pop("rt",["ruby","rtc"]),d=d||this._tag_stack.try_pop("rp",["ruby","rtc"])):y.tag_name==="optgroup"?d=d||this._tag_stack.try_pop("optgroup",["select"]):y.tag_name==="option"?d=d||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):y.tag_name==="colgroup"?d=d||this._tag_stack.try_pop("caption",["table"]):y.tag_name==="thead"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"])):y.tag_name==="tbody"||y.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"])):y.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"])):(y.tag_name==="th"||y.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 y.parent=this._tag_stack.get_parser_token(),d}},c.exports.Beautifier=F},function(c,t,r){var a=r(6).Options;function o(m){a.call(this,m,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new a,c.exports.Options=o},function(c,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,m=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},_=new m(/<\!--/,/-->/),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=_.get_directives(I),L&&L.ignore==="start"&&(I+=_.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 z=this._input.next();if(z===null)break;z==="("?F++:z===")"&&Y++,I+=z}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 $[c](r,r.exports,e),r.exports}var s=e(18);W=s})();var X=W;if(1)O=[u,u(58553),u(87804)],T=function($){var G=u(58553),e=u(87804);return{html_beautify:function(s,c){return X(s,c,G.js_beautify,e.css_beautify)}}}.apply(Ke,O),T!==void 0&&(Lt.exports=T);else var V,p})()},58553:function(Lt,Ke){var u,O;(function(){var T;(function(){"use strict";var X=[function(G,e,s){var c=s(1).Beautifier,t=s(5).Options;function r(a,o){var m=new c(a,o);return m.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,m=s(7).line_starters,x=s(7).positionable_operators,C=s(7).TOKEN;function h(i,g){return g.indexOf(i)!==-1}function _(i){return i.replace(/^\s+/g,"")}function f(i){for(var g={},K=0;K<i.length;K++)g[i[K].replace(/-/g,"_")]=i[K];return g}function l(i,g){return i&&i.type===C.RESERVED&&i.text===g}function k(i,g){return i&&i.type===C.RESERVED&&h(i.text,g)}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],z={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ye(i,g){g.multiline_frame||g.mode===z.ForInitializer||g.mode===z.Conditional||i.remove_indent(g.start_line_index)}function y(i){i=i.replace(r.allLineBreaks,`
`);for(var g=[],K=i.indexOf(`
`);K!==-1;)g.push(i.substring(0,K)),i=i.substring(K+1),K=i.indexOf(`
`);return i.length&&g.push(i),g}function d(i){return i===z.ArrayLiteral}function b(i){return h(i,[z.Expression,z.ForInitializer,z.Conditional])}function R(i,g){for(var K=0;K<i.length;K++){var ue=i[K].trim();if(ue.charAt(0)!==g)return!1}return!0}function A(i,g){for(var K=0,ue=i.length,Se;K<ue;K++)if(Se=i[K],Se&&Se.indexOf(g)!==0)return!1;return!0}function w(i,g){g=g||{},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(g)}w.prototype.create_flags=function(i,g){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:g,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 g=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,g),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(z.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,g=this._reset(this._source_text),K=this._options.eol;this._options.eol==="auto"&&(K=`
`,g&&r.lineBreak.test(g||"")&&(K=g.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,g){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,g):i.type===C.COMMENT?this.handle_comment(i,g):i.type===C.DOT?this.handle_dot(i):i.type===C.EOF?this.handle_eof(i):i.type===C.UNKNOWN?this.handle_unknown(i,g):this.handle_unknown(i,g)},w.prototype.handle_whitespace_and_comments=function(i,g){var K=i.newlines,ue=this._options.keep_array_indentation&&d(this._flags.mode);if(i.comments_before)for(var Se=i.comments_before.next();Se;)this.handle_whitespace_and_comments(Se,g),this.handle_token(Se,g),Se=i.comments_before.next();if(ue)for(var Ze=0;Ze<K;Ze+=1)this.print_newline(Ze>0,g);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,g);for(var He=1;He<K;He+=1)this.print_newline(!0,g)}};var n=["async","break","continue","return","throw","yield"];w.prototype.allow_wrap_or_preserved_newline=function(i,g){if(g=g===void 0?!1:g,!this._output.just_added_newline()){var K=this._options.preserve_newlines&&i.newlines||g,ue=h(this._flags.last_token.text,x)||h(i.text,x);if(ue){var Se=h(this._flags.last_token.text,x)&&h(this._options.operator_position,Y)||h(i.text,x);K=K&&Se}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,g){if(!g&&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===z.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 g=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(g),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===z.Statement&&ye(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===z.ObjectLiteral&&this._flags.mode===z.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 g=!1;return g=g||k(this._flags.last_token,["var","let","const"])&&i.type===C.WORD,g=g||l(this._flags.last_token,"do"),g=g||!(this._flags.parent.mode===z.ObjectLiteral&&this._flags.mode===z.Statement)&&k(this._flags.last_token,n)&&!i.newlines,g=g||l(this._flags.last_token,"else")&&!(l(i,"if")&&!i.comments_before),g=g||this._flags.last_token.type===C.END_EXPR&&(this._previous_flags.mode===z.ForInitializer||this._previous_flags.mode===z.Conditional),g=g||this._flags.last_token.type===C.WORD&&this._flags.mode===z.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==C.WORD&&i.type!==C.RESERVED,g=g||this._flags.mode===z.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"])),g?(this.set_mode(z.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 g=z.Expression;if(i.text==="["){if(this._flags.last_token.type===C.WORD||this._flags.last_token.text===")"){k(this._flags.last_token,m)&&(this._output.space_before_token=!0),this.print_token(i),this.set_mode(g),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}g=z.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,g=z.ForInitializer):h(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,g=z.Conditional):h(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&i.whitespace_before===""?this._output.space_before_token=!1:(h(this._flags.last_token.text,m)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===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===z.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===z.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(g),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},w.prototype.handle_end_expr=function(i){for(;this._flags.mode===z.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(),ye(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===z.Conditional&&(this._previous_flags.mode=z.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},w.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var g=this._tokens.peek(),K=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===C.END_EXPR?(this.set_mode(z.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(z.BlockStatement):K&&(h(K.text,[":",","])&&h(g.type,[C.STRING,C.WORD,C.RESERVED])||h(g.text,["get","set","..."])&&h(K.type,[C.WORD,C.RESERVED]))?h(this._last_last_text,["class","interface"])&&!h(K.text,[":",","])?this.set_mode(z.BlockStatement):this.set_mode(z.ObjectLiteral):this._flags.last_token.type===C.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(z.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(z.ObjectLiteral):this.set_mode(z.BlockStatement),this._flags.last_token&&k(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ue=!g.comments_before&&g.text==="}",Se=ue&&this._flags.last_word==="function"&&this._flags.last_token.type===C.END_EXPR;if(this._options.brace_preserve_inline){var Ze=0,He=null;this._flags.inline_frame=!0;do if(Ze+=1,He=this._tokens.peek(Ze-1),He.newlines){this._flags.inline_frame=!1;break}while(He.type!==C.EOF&&!(He.type===C.END_BLOCK&&He.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&&(Se||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===z.Statement;)this.restore_mode();var g=this._flags.last_token.type===C.START_BLOCK;this._flags.inline_frame&&!g?this._output.space_before_token=!0:this._options.brace_style==="expand"?g||this.print_newline():g||(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!==z.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===z.ObjectLiteral){var g=this._tokens.peek();g.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===z.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===z.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===z.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===z.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,m)&&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===z.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,m)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&d(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():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 g=this._tokens.peek();this._flags.mode===z.Statement&&!(this._flags.if_block&&l(g,"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===z.ObjectLiteral||this._flags.mode===z.Statement&&this._flags.parent.mode===z.ObjectLiteral?(this._flags.mode===z.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},w.prototype.handle_operator=function(i){var g=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,m)||this._flags.last_token.text===",");if(!this.start_of_statement(i)){var ue=!g;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 Se=!0,Ze=!0,He=!1;if(i.text===":"?this._flags.ternary_depth===0?Se=!1:(this._flags.ternary_depth-=1,He=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!K&&!g&&this._options.preserve_newlines&&h(i.text,x)){var qe=i.text===":",Tt=qe&&He,Ee=qe&&!He;switch(this._options.operator_position){case F.before_newline:this._output.space_before_token=!Ee,this.print_token(i),(!qe||Tt)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case F.after_newline:this._output.space_before_token=!0,!qe||Tt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(i):this._output.space_before_token=!1,this.print_token(i),this._output.space_before_token=!0;return;case F.preserve_newline:Ee||this.allow_wrap_or_preserved_newline(i),Se=!(this._output.just_added_newline()||Ee),this._output.space_before_token=Se,this.print_token(i),this._output.space_before_token=!0;return}}if(g){this.allow_wrap_or_preserved_newline(i),Se=!1;var Je=this._tokens.peek();Ze=Je&&h(Je.type,[C.WORD,C.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),Se=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),Se=!1,Ze=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Nt=k(this._flags.last_token,I)&&i.newlines;Nt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Nt,!0)}this._flags.last_token.text===";"&&b(this._flags.mode)&&(Se=!0),this._flags.last_token.type===C.RESERVED?Se=!0:this._flags.last_token.type===C.END_EXPR?Se=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===C.OPERATOR&&(Se=h(i.text,["--","-","++","+"])&&h(this._flags.last_token.text,["--","-","++","+"]),h(i.text,["+","-"])&&h(this._flags.last_token.text,["--","++"])&&(Ze=!0)),(this._flags.mode===z.BlockStatement&&!this._flags.inline_frame||this._flags.mode===z.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Se,this.print_token(i),this._output.space_before_token=Ze},w.prototype.handle_block_comment=function(i,g){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,g),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,g)},w.prototype.print_block_commment=function(i,g){var K=y(i.text),ue,Se=!1,Ze=!1,He=i.whitespace_before,qe=He.length;if(this.print_newline(!1,g),this.print_token_line_indentation(i),this._output.add_token(K[0]),this.print_newline(!1,g),K.length>1){for(K=K.slice(1),Se=R(K,"*"),Ze=A(K,He),Se&&(this._flags.alignment=1),ue=0;ue<K.length;ue++)Se?(this.print_token_line_indentation(i),this._output.add_token(_(K[ue]))):Ze&&K[ue]?(this.print_token_line_indentation(i),this._output.add_token(K[ue].substring(qe))):(this._output.current_line.set_indent(-1),this._output.add_token(K[ue])),this.print_newline(!1,g);this._flags.alignment=0}},w.prototype.handle_comment=function(i,g){i.newlines?this.print_newline(!1,g):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(i),this.print_newline(!1,g)},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,g){this.print_token(i),i.text[i.text.length-1]===`
`&&this.print_newline(!1,g)},w.prototype.handle_eof=function(i){for(;this._flags.mode===z.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+"])",m="(?:"+a+"|["+c+t+r+"])*";e.identifier=new RegExp(o+m,"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 m=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var x=0;x<m.length;x++)m[x]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=m[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),m=s(12).Pattern,x=s(14).TemplatablePattern;function C(R,A){return A.indexOf(R)!==-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},_=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(","),z=Y.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ye=new RegExp("^(?:"+z.join("|")+")$"),y,d=function(R,A){t.call(this,R,A),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var w=new m(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(R){return R.type===h.COMMENT||R.type===h.BLOCK_COMMENT||R.type===h.UNKNOWN},d.prototype._is_opening=function(R){return R.type===h.START_BLOCK||R.type===h.START_EXPR},d.prototype._is_closing=function(R,A){return(R.type===h.END_BLOCK||R.type===h.END_EXPR)&&A&&(R.text==="]"&&A.text==="["||R.text===")"&&A.text==="("||R.text==="}"&&A.text==="{")},d.prototype._reset=function(){y=!1},d.prototype._get_next_token=function(R,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(R),w=w||this._read_singles(n),w=w||this._read_comment(n),w=w||this._read_regexp(n,R),w=w||this._read_xml(n,R),w=w||this._read_punctuation(),w=w||this._create_token(h.UNKNOWN,this._input.next()),w)},d.prototype._read_word=function(R){var A;if(A=this.__patterns.identifier.read(),A!=="")return A=A.replace(o.allLineBreaks,`
`),!(R.type===h.DOT||R.type===h.RESERVED&&(R.text==="set"||R.text==="get"))&&ye.test(A)?(A==="in"||A==="of")&&(R.type===h.WORD||R.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(R){var A=null;return R==="("||R==="["?A=this._create_token(h.START_EXPR,R):R===")"||R==="]"?A=this._create_token(h.END_EXPR,R):R==="{"?A=this._create_token(h.START_BLOCK,R):R==="}"?A=this._create_token(h.END_BLOCK,R):R===";"?A=this._create_token(h.SEMICOLON,R):R==="."&&k.test(this._input.peek(1))?A=this._create_token(h.DOT,R):R===","&&(A=this._create_token(h.COMMA,R)),A&&this._input.next(),A},d.prototype._read_pair=function(R,A){var w=null;return R==="#"&&A==="{"&&(w=this._create_token(h.START_BLOCK,R+A)),w&&(this._input.next(),this._input.next()),w},d.prototype._read_punctuation=function(){var R=this.__patterns.punct.read();if(R!=="")return R==="="?this._create_token(h.EQUALS,R):R==="?."?this._create_token(h.DOT,R):this._create_token(h.OPERATOR,R)},d.prototype._read_non_javascript=function(R){var A="";if(R==="#"){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()+`
`);R=this._input.next();var w="#";if(this._input.hasNext()&&this._input.testChar(l)){do R=this._input.next(),w+=R;while(this._input.hasNext()&&R!=="#"&&R!=="=");return R==="#"||(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(R==="<"&&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 y=!0,this._create_token(h.COMMENT,A)}}else if(y&&R==="-"&&(A=this.__patterns.html_comment_end.read(),A))return y=!1,this._create_token(h.COMMENT,A);return null},d.prototype._read_comment=function(R){var A=null;if(R==="/"){var w="";if(this._input.peek(1)==="*"){w=this.__patterns.block_comment.read();var n=_.get_directives(w);n&&n.ignore==="start"&&(w+=_.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(R){if(R==="`"||R==="'"||R==='"'){var A=this._input.next();return this.has_char_escapes=!1,R==="`"?A+=this._read_string_recursive("`",!0,"${"):A+=this._read_string_recursive(R),this.has_char_escapes&&this._options.unescape_strings&&(A=b(A)),this._input.peek()===R&&(A+=this._input.next()),A=A.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,A)}return null},d.prototype._allow_regexp_or_xml=function(R){return R.type===h.RESERVED&&C(R.text,["return","case","throw","else","do","typeof","yield"])||R.type===h.END_EXPR&&R.text===")"&&R.opened.previous.type===h.RESERVED&&C(R.opened.previous.text,["if","while","for"])||C(R.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(R,A){if(R==="/"&&this._allow_regexp_or_xml(A)){for(var w=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==R)&&!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()===R&&(w+=this._input.next(),w+=this._input.read(o.identifier)),this._create_token(h.STRING,w)}return null},d.prototype._read_xml=function(R,A){if(this._options.e4x&&R==="<"&&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+}$/,"}"),g=i.indexOf("{")===0,K=0;n;){var ue=!!n[1],Se=n[2],Ze=!!n[n.length-1]||Se.slice(0,8)==="![CDATA[";if(!Ze&&(Se===i||g&&Se.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(R){for(var A="",w=0,n=new c(R),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 R;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(R,A,w){var n,i;R==="'"?i=this.__patterns.single_quote:R==='"'?i=this.__patterns.double_quote:R==="`"?i=this.__patterns.template_text:R==="}"&&(i=this.__patterns.template_expression);for(var g=i.read(),K="";this._input.hasNext();){if(K=this._input.next(),K===R||!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&&(R==="`"?K+=this._read_string_recursive("}",A,"`"):K+=this._read_string_recursive("`",A,"${"),this._input.hasNext()&&(K+=this._input.next())));K+=i.read(),g+=K}return g},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"},m=function(x,C){this._input=new c(x),this._options=C||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var x,C=new t(o.START,""),h=null,_=[],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)?(_.push(h),h=x):h&&this._is_closing(x,h)&&(x.opened=h,h.closed=x,h=_.pop(),x.parent=h),x.previous=C,C.next=x,this.__tokens.add(x),C=x}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.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,"")},m.prototype._is_comment=function(x){return!1},m.prototype._is_opening=function(x){return!1},m.prototype._is_closing=function(x,C){return!1},m.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},m.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},G.exports.Tokenizer=m,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,m=[],x=r.exec(a);x;)m.push(a.substring(o,x.index)),o=x.index+x[0].length,x=r.exec(a);return o<a.length?m.push(a.substring(o,a.length)):m.push(""),m},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 m=new c(a);this.__patterns={handlebars_comment:m.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:m.starting_with(/{{{/).until_after(/}}}/),handlebars:m.starting_with(/{{/).until_after(/}}/),php:m.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:m.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:m.starting_with(/{%/).until_after(/%}/),django_value:m.starting_with(/{{/).until_after(/}}/),django_comment:m.starting_with(/{#/).until_after(/#}/),smarty:m.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:m.starting_with(/{\*/).until_after(/\*}/),smarty_literal:m.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new 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 m in t)o._disabled[m]=a.templating.indexOf(m)===-1;return o._update(),o},r.prototype.exclude=function(a){var o=this._create();return o._excluded[a]=!0,o._update(),o},r.prototype.read=function(){var a="";this._match_pattern?a=this._input.read(this._starting_pattern):a=this._input.read(this._starting_pattern,this.__template_pattern);for(var o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),a+=o,o=this._read_template();return this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern)),a},r.prototype.__set_templated_pattern=function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||a.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&a.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")},r.prototype._read_template=function(){var a="",o=this._input.peek();if(o==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(a=a||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(a=a||this.__patterns.handlebars_comment.read(),a=a||this.__patterns.handlebars_unescaped.read(),a=a||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=a||this.__patterns.django_comment.read(),a=a||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(a=a||this.__patterns.smarty_comment.read(),a=a||this.__patterns.smarty_literal.read(),a=a||this.__patterns.smarty.read()));return a},G.exports.TemplatablePattern=r}],V={};function p(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return X[G](s,s.exports,p),s.exports}var $=p(0);T=$})();var W=T;u=[],O=function(){return{js_beautify:W}}.apply(Ke,u),O!==void 0&&(Lt.exports=O)})()},75918:function(Lt,Ke,u){"use strict";u.d(Ke,{Wi:function(){return p},Z0:function(){return $},aU:function(){return V},eZ:function(){return e},wY:function(){return G}});var O=u(4348),T=u(69323),W=u(13268),X=function(s,c,t,r){function a(o){return o instanceof t?o:new t(function(m){m(o)})}return new(t||(t=Promise))(function(o,m){function x(_){try{h(r.next(_))}catch(f){m(f)}}function C(_){try{h(r.throw(_))}catch(f){m(f)}}function h(_){_.done?o(_.value):a(_.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 X(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(c))})}}class p 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 X(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 X(this,void 0,void 0,function*(){yield c.run(t)})}}class $ extends V{constructor(c){super($.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}$.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 X(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(Lt,Ke,u){"use strict";u.d(Ke,{ok:function(){return O}});function O(T,W){if(!T)throw new Error(W?`Assertion failed (${W})`:"Assertion Failed")}},52615:function(Lt,Ke,u){"use strict";u.d(Ke,{CM:function(){return V},JL:function(){return p},dT:function(){return G},fK:function(){return X},lA:function(){return $}});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,X=W;function V(e,s){return new $(e,s)}function p(e){return e?e.replace(/\$\((.*?)\)/g,(s,c)=>` ${c} `).trim():""}class ${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 $)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return c($.error);let[,m,x]=o;const C=["codicon","codicon-"+m];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"})}($||($={}))},79881:function(Lt,Ke,u){"use strict";u.d(Ke,{B8:function(){return c},Cp:function(){return X},F0:function(){return G},L6:function(){return s},VV:function(){return $},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){$(t)||T.onUnexpectedError(t)}function X(t){$(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 p="Canceled";function $(t){return t instanceof Error&&t.name===p&&t.message===p}function G(){const t=new Error(p);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function s(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class c extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Lt,Ke,u){"use strict";u.d(Ke,{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),X=u(95830),V;(function(a){a.None=()=>T.JT.None;function o(b){return(R,A=null,w)=>{let n=!1,i;return i=b(g=>{if(!n)return i?i.dispose():n=!0,R.call(A,g)},null,w),n&&i.dispose(),i}}a.once=o;function m(b,R){return l((A,w=null,n)=>b(i=>A.call(w,R(i)),null,n))}a.map=m;function x(b,R){return l((A,w=null,n)=>b(i=>{R(i),A.call(w,i)},null,n))}a.forEach=x;function C(b,R){return l((A,w=null,n)=>b(i=>R(i)&&A.call(w,i),null,n))}a.filter=C;function h(b){return b}a.signal=h;function _(...b){return(R,A=null,w)=>(0,T.F8)(...b.map(n=>n(i=>R.call(A,i),null,w)))}a.any=_;function f(b,R,A){let w=A;return m(b,n=>(w=R(w,n),w))}a.reduce=f;function l(b){let R;const A=new e({onFirstListenerAdd(){R=b(A.fire,A)},onLastListenerRemove(){R.dispose()}});return A.event}function k(b,R,A=100,w=!1,n){let i,g,K,ue=0;const Se=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=b(Ze=>{ue++,g=R(g,Ze),w&&!K&&(Se.fire(g),g=void 0),clearTimeout(K),K=setTimeout(()=>{const He=g;g=void 0,K=void 0,(!w||ue>1)&&Se.fire(He),ue=0},A)})},onLastListenerRemove(){i.dispose()}});return Se.event}a.debounce=k;function I(b,R=(A,w)=>A===w){let A=!0,w;return C(b,n=>{const i=A||!R(n,w);return A=!1,w=n,i})}a.latch=I;function L(b,R){return[a.filter(b,R),a.filter(b,A=>!R(A))]}a.split=L;function F(b,R=!1,A=[]){let w=A.slice(),n=b(K=>{w?w.push(K):g.fire(K)});const i=()=>{w&&w.forEach(K=>g.fire(K)),w=null},g=new e({onFirstListenerAdd(){n||(n=b(K=>g.fire(K)))},onFirstListenerDidAdd(){w&&(R?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return g.event}a.buffer=F;class Y{constructor(R){this.event=R}map(R){return new Y(m(this.event,R))}forEach(R){return new Y(x(this.event,R))}filter(R){return new Y(C(this.event,R))}reduce(R,A){return new Y(f(this.event,R,A))}latch(){return new Y(I(this.event))}debounce(R,A=100,w=!1,n){return new Y(k(this.event,R,A,w,n))}on(R,A,w){return this.event(R,A,w)}once(R,A,w){return o(this.event)(R,A,w)}}function z(b){return new Y(b)}a.chain=z;function ye(b,R,A=w=>w){const w=(...K)=>g.fire(A(...K)),n=()=>b.on(R,w),i=()=>b.removeListener(R,w),g=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return g.event}a.fromNodeEventEmitter=ye;function y(b,R,A=w=>w){const w=(...K)=>g.fire(A(...K)),n=()=>b.addEventListener(R,w),i=()=>b.removeEventListener(R,w),g=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return g.event}a.fromDOMEventEmitter=y;function d(b){return new Promise(R=>o(b)(R))}a.toPromise=d})(V||(V={}));class p{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${p._idPool++}`}start(o){this._stopWatch=new X.G(!0),this._listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this._elapsedOverall+=o,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${o.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}p._idPool=0;let $=-1;class G{constructor(o,m=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=m,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let m=$;if(typeof this.customThreshold=="number"&&(m=this.customThreshold),m<=0||o<m)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=m*.5;let h,_=0;for(const[f,l]of this._stacks)(!h||_<l)&&(h=f,_=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${_}):`),console.warn(h)}return()=>{const h=this._stacks.get(x)||0;this._stacks.set(x,h-1)}}}class e{constructor(o){var m;this._disposed=!1,this._options=o,this._leakageMon=$>0?new G(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((m=this._options)===null||m===void 0)&&m._profName?new p(this._options._profName):void 0}get event(){return this._event||(this._event=(o,m,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 _=this._listeners.push(m?[o,m]:o);h&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,m);const f=(C=this._leakageMon)===null||C===void 0?void 0:C.check(this._listeners.size),l=(0,T.OF)(()=>{f&&f(),this._disposed||(_(),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 m,x;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new W.S);for(let C of this._listeners)this._deliveryQueue.push([C,o]);for((m=this._perfMon)===null||m===void 0||m.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(_){(0,O.dL)(_)}}(x=this._perfMon)===null||x===void 0||x.stop()}}dispose(){var o,m,x,C,h;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(m=this._deliveryQueue)===null||m===void 0||m.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 m;super(o),this._delay=(m=o.delay)!==null&&m!==void 0?m:100}fire(o){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(o)}}class t{constructor(){this.buffers=[]}wrapEvent(o){return(m,x,C)=>o(h=>{const _=this.buffers[this.buffers.length-1];_?_.push(()=>m.call(x,h)):m.call(x,h)},void 0,C)}bufferEvents(o){const m=[];this.buffers.push(m);const x=o();return this.buffers.pop(),m.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(Lt,Ke,u){"use strict";u.d(Ke,{I:function(){return O}});function O(T){const W=this;let X=!1,V;return function(){return X||(X=!0,V=T.apply(W,arguments)),V}}},88226:function(Lt,Ke,u){"use strict";u.d(Ke,{$:function(){return O}});var O;(function(T){function W(_){return _&&typeof _=="object"&&typeof _[Symbol.iterator]=="function"}T.is=W;const X=Object.freeze([]);function V(){return X}T.empty=V;function*p(_){yield _}T.single=p;function $(_){return _||X}T.from=$;function G(_){return!_||_[Symbol.iterator]().next().done===!0}T.isEmpty=G;function e(_){return _[Symbol.iterator]().next().value}T.first=e;function s(_,f){for(const l of _)if(f(l))return!0;return!1}T.some=s;function c(_,f){for(const l of _)if(f(l))return l}T.find=c;function*t(_,f){for(const l of _)f(l)&&(yield l)}T.filter=t;function*r(_,f){let l=0;for(const k of _)yield f(k,l++)}T.map=r;function*a(..._){for(const f of _)for(const l of f)yield l}T.concat=a;function*o(_){for(const f of _)for(const l of f)yield l}T.concatNested=o;function m(_,f,l){let k=l;for(const I of _)k=f(k,I);return k}T.reduce=m;function*x(_,f,l=_.length){for(f<0&&(f+=_.length),l<0?l+=_.length:l>_.length&&(l=_.length);f<l;f++)yield _[f]}T.slice=x;function C(_,f=Number.POSITIVE_INFINITY){const l=[];if(f===0)return[l,_];const k=_[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(_,f,l=(k,I)=>k===I){const k=_[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(Lt,Ke,u){"use strict";u.d(Ke,{B9:function(){return r},F8:function(){return a},JT:function(){return x},Jz:function(){return h},OF:function(){return o},SL:function(){return m},Wf:function(){return t},XK:function(){return C},dk:function(){return s}});var O=u(17845),T=u(88226);const W=!1;let X=null;function V(_){X=_}if(W){const _="__is_disposable_tracked__";V(new class{trackDisposable(f){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[_]||console.log(l)},3e3)}setParent(f,l){if(f&&f!==x.None)try{f[_]=!0}catch(k){}}markAsDisposed(f){if(f&&f!==x.None)try{f[_]=!0}catch(l){}}markAsSingleton(f){}})}function p(_){return X==null||X.trackDisposable(_),_}function $(_){X==null||X.markAsDisposed(_)}function G(_,f){X==null||X.setParent(_,f)}function e(_,f){if(X)for(const l of _)X.setParent(l,f)}function s(_){return X==null||X.markAsSingleton(_),_}class c extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(_){return typeof _.dispose=="function"&&_.dispose.length===0}function r(_){if(T.$.is(_)){let f=[];for(const l of _)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(_)?[]:_}else if(_)return _.dispose(),_}function a(..._){const f=o(()=>r(_));return e(_,f),f}function o(_){const f=p({dispose:(0,O.I)(()=>{$(f),_()})});return f}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,p(this)}dispose(){this._isDisposed||($(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?m.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(f),f}}m.DISABLE_DISPOSED_WARNING=!1;class x{constructor(){this._store=new m,p(this),G(this._store,this)}dispose(){$(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,p(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var l;this._isDisposed||f===this._value||((l=this._value)===null||l===void 0||l.dispose(),f&&G(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,$(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(Lt,Ke,u){"use strict";u.d(Ke,{S:function(){return T}});class O{constructor(X){this.element=X,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 X=this._first;for(;X!==O.Undefined;){const V=X.next;X.prev=O.Undefined,X.next=O.Undefined,X=V}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(X){return this._insert(X,!1)}push(X){return this._insert(X,!0)}_insert(X,V){const p=new O(X);if(this._first===O.Undefined)this._first=p,this._last=p;else if(V){const G=this._last;this._last=p,p.prev=G,G.next=p}else{const G=this._first;this._first=p,p.next=G,G.prev=p}this._size+=1;let $=!1;return()=>{$||($=!0,this._remove(p))}}shift(){if(this._first!==O.Undefined){const X=this._first.element;return this._remove(this._first),X}}pop(){if(this._last!==O.Undefined){const X=this._last.element;return this._remove(this._last),X}}_remove(X){if(X.prev!==O.Undefined&&X.next!==O.Undefined){const V=X.prev;V.next=X.next,X.next.prev=V}else X.prev===O.Undefined&&X.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):X.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):X.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let X=this._first;for(;X!==O.Undefined;)yield X.element,X=X.next}}},23345:function(Lt,Ke,u){"use strict";u.d(Ke,{$L:function(){return k},ED:function(){return h},IJ:function(){return f},OS:function(){return Y},WE:function(){return L},dz:function(){return _},gn:function(){return I},li:function(){return o},r:function(){return y},tY:function(){return l},xS:function(){return F}});var O=u(97671),T;const W="en";let X=!1,V=!1,p=!1,$=!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 m;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?m=o.vscode.process:typeof O!="undefined"&&(m=O);const x=typeof((T=m==null?void 0:m.versions)===null||T===void 0?void 0:T.electron)=="string"&&m.type==="renderer";if(typeof navigator=="object"&&!x)a=navigator.userAgent,X=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,p=a.indexOf("Linux")>=0,e=!0,c=navigator.language,t=c;else if(typeof m=="object"){X=m.platform==="win32",V=m.platform==="darwin",p=m.platform==="linux",$=p&&!!m.env.SNAP&&!!m.env.SNAP_REVISION,c=W,t=W;const d=m.env.VSCODE_NLS_CONFIG;if(d)try{const b=JSON.parse(d),R=b.availableLanguages["*"];c=b.locale,t=R||W,r=b._translationsConfigFile}catch(b){}G=!0}else console.error("Unable to resolve platform.");let C=0;V?C=1:X?C=3:p&&(C=2);const h=X,_=V,f=p,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 R=[];o.addEventListener("message",w=>{if(w.data&&w.data.vscodeSetImmediateId)for(let n=0,i=R.length;n<i;n++){const g=R[n];if(g.id===w.data.vscodeSetImmediateId){R.splice(n,1),g.callback();return}}});let A=0;return w=>{const n=++A;R.push({id:n,callback:w}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(m==null?void 0:m.nextTick)=="function")return m.nextTick.bind(m);const b=Promise.resolve();return R=>b.then(R)}(),Y=V||s?2:X?1:3;let z=!0,ye=!1;function y(){if(!ye){ye=!0;const d=new Uint8Array(2);d[0]=1,d[1]=2,z=new Uint16Array(d.buffer)[0]===513}return z}},95830:function(Lt,Ke,u){"use strict";u.d(Ke,{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(Lt,Ke,u){"use strict";u.d(Ke,{$i:function(){return ue},C8:function(){return Tt},GF:function(){return c},HO:function(){return A},IO:function(){return t},K7:function(){return qe},Kw:function(){return Nt},LC:function(){return o},Mh:function(){return F},P1:function(){return Y},PJ:function(){return Ie},Qe:function(){return Se},R1:function(){return s},RP:function(){return g},S6:function(){return Ne},TT:function(){return h},Ut:function(){return n},V8:function(){return m},WU:function(){return W},YK:function(){return ye},YU:function(){return X},ZG:function(){return z},ZH:function(){return d},ab:function(){return Ze},c1:function(){return Ee},df:function(){return k},ec:function(){return V},fi:function(){return le},fy:function(){return p},j3:function(){return $},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 y},uS:function(){return Je},un:function(){return e},uq:function(){return a},vH:function(){return R},xe:function(){return He},zY:function(){return _}});function O(v){return!v||typeof v!="string"?!0:v.trim().length===0}const T=/{(\d+)}/g;function W(v,...S){return S.length===0?v:v.replace(T,function(B,N){const U=parseInt(N,10);return isNaN(U)||U<0||U>=S.length?B:S[U]})}function X(v){return v.replace(/[<>&]/g,function(S){switch(S){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return S}})}function V(v){return v.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function p(v,S=" "){const B=$(v,S);return G(B,S)}function $(v,S){if(!v||!S)return v;const B=S.length;if(B===0||v.length===0)return v;let N=0;for(;v.indexOf(S,N)===N;)N=N+B;return v.substring(N)}function G(v,S){if(!v||!S)return v;const B=S.length,N=v.length;if(B===0||N===0)return v;let U=N,Z=-1;for(;Z=v.lastIndexOf(S,U-1),!(Z===-1||Z+B!==U);){if(Z===0)return"";U=Z}return v.substring(0,U)}function e(v){return v.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(v){return v.replace(/\*/g,"")}function c(v,S,B={}){if(!v)throw new Error("Cannot create regex from empty string");S||(v=V(v)),B.wholeWord&&(/\B/.test(v.charAt(0))||(v="\\b"+v),/\B/.test(v.charAt(v.length-1))||(v=v+"\\b"));let N="";return B.global&&(N+="g"),B.matchCase||(N+="i"),B.multiline&&(N+="m"),B.unicode&&(N+="u"),new RegExp(v,N)}function t(v){return v.source==="^"||v.source==="^$"||v.source==="$"||v.source==="^\\s*$"?!1:!!(v.exec("")&&v.lastIndex===0)}function r(v){return(v.global?"g":"")+(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")}function a(v){return v.split(/\r\n|\r|\n/)}function o(v){for(let S=0,B=v.length;S<B;S++){const N=v.charCodeAt(S);if(N!==32&&N!==9)return S}return-1}function m(v,S=0,B=v.length){for(let N=S;N<B;N++){const U=v.charCodeAt(N);if(U!==32&&U!==9)return v.substring(S,N)}return v.substring(S,B)}function x(v,S=v.length-1){for(let B=S;B>=0;B--){const N=v.charCodeAt(B);if(N!==32&&N!==9)return B}return-1}function C(v,S){return v<S?-1:v>S?1:0}function h(v,S,B=0,N=v.length,U=0,Z=S.length){for(;B<N&&U<Z;B++,U++){let ce=v.charCodeAt(B),be=S.charCodeAt(U);if(ce<be)return-1;if(ce>be)return 1}const ne=N-B,Q=Z-U;return ne<Q?-1:ne>Q?1:0}function _(v,S){return f(v,S,0,v.length,0,S.length)}function f(v,S,B=0,N=v.length,U=0,Z=S.length){for(;B<N&&U<Z;B++,U++){let ce=v.charCodeAt(B),be=S.charCodeAt(U);if(ce===be)continue;if(ce>=128||be>=128)return h(v.toLowerCase(),S.toLowerCase(),B,N,U,Z);l(ce)&&(ce-=32),l(be)&&(be-=32);const we=ce-be;if(we!==0)return we}const ne=N-B,Q=Z-U;return ne<Q?-1:ne>Q?1:0}function l(v){return v>=97&&v<=122}function k(v){return v>=65&&v<=90}function I(v,S){return v.length===S.length&&f(v,S)===0}function L(v,S){const B=S.length;return S.length>v.length?!1:f(v,S,0,B)===0}function F(v,S){let B,N=Math.min(v.length,S.length);for(B=0;B<N;B++)if(v.charCodeAt(B)!==S.charCodeAt(B))return B;return N}function Y(v,S){let B,N=Math.min(v.length,S.length);const U=v.length-1,Z=S.length-1;for(B=0;B<N;B++)if(v.charCodeAt(U-B)!==S.charCodeAt(Z-B))return B;return N}function z(v){return 55296<=v&&v<=56319}function ye(v){return 56320<=v&&v<=57343}function y(v,S){return(v-55296<<10)+(S-56320)+65536}function d(v,S,B){const N=v.charCodeAt(B);if(z(N)&&B+1<S){const U=v.charCodeAt(B+1);if(ye(U))return y(N,U)}return N}function b(v,S){const B=v.charCodeAt(S-1);if(ye(B)&&S>1){const N=v.charCodeAt(S-2);if(z(N))return y(N,B)}return B}function R(v,S){const B=E.getInstance(),N=S,U=v.length,Z=d(v,U,S);S+=Z>=65536?2:1;let ne=B.getGraphemeBreakType(Z);for(;S<U;){const Q=d(v,U,S),ce=B.getGraphemeBreakType(Q);if(le(ne,ce))break;S+=Q>=65536?2:1,ne=ce}return S-N}function A(v,S){const B=E.getInstance(),N=S,U=b(v,S);S-=U>=65536?2:1;let Z=B.getGraphemeBreakType(U);for(;S>0;){const ne=b(v,S),Q=B.getGraphemeBreakType(ne);if(le(Q,Z))break;S-=ne>=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(v){return w.test(v)}const i=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function g(v){return i.test(v)}const K=/^[\t\n\r\x20-\x7E]*$/;function ue(v){return K.test(v)}const Se=/[\u2028\u2029]/;function Ze(v){return Se.test(v)}function He(v){for(let S=0,B=v.length;S<B;S++)if(qe(v.charCodeAt(S)))return!0;return!1}function qe(v){return v=+v,v>=11904&&v<=55215||v>=63744&&v<=64255||v>=65281&&v<=65374}function Tt(v){return v>=127462&&v<=127487||v===8986||v===8987||v===9200||v===9203||v>=9728&&v<=10175||v===11088||v===11093||v>=127744&&v<=128591||v>=128640&&v<=128764||v>=128992&&v<=129003||v>=129280&&v<=129535||v>=129648&&v<=129750}const Ee="\uFEFF";function Je(v){return!!(v&&v.length>0&&v.charCodeAt(0)===65279)}function Nt(v,S=!1){return v?(S&&(v=v.replace(/\\./g,"")),v.toLowerCase()!==v):!1}function Ie(v){return v=v%(2*26),v<26?String.fromCharCode(97+v):String.fromCharCode(65+v-26)}function Ne(v){return E.getInstance().getGraphemeBreakType(v)}function le(v,S){return v===0?S!==5&&S!==7:v===2&&S===3?!1:v===4||v===2||v===3||S===4||S===2||S===3?!0:!(v===8&&(S===8||S===9||S===11||S===12)||(v===11||v===9)&&(S===9||S===10)||(v===12||v===10)&&S===10||S===5||S===13||S===7||v===1||v===13&&S===14||v===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 B=this._data,N=B.length/3;let U=1;for(;U<=N;)if(S<B[3*U])U=2*U;else if(S>B[3*U+1])U=2*U+1;else return B[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(v,S){if(v===0)return 0;const B=re(v,S);if(B!==void 0)return B;const N=b(S,v);return v-=fe(N),v}function re(v,S){let B=b(S,v);for(v-=fe(B);P(B)||B===65039||B===8419;){if(v===0)return;B=b(S,v),v-=fe(B)}if(Tt(B)){if(v>=0){const N=b(S,v);N===8205&&(v-=fe(N))}return v}}function fe(v){return v>=65536?2:1}function P(v){return 127995<=v&&v<=127999}},72999:function(Lt,Ke,u){"use strict";u.d(Ke,{$E:function(){return o},$K:function(){return $},D8:function(){return t},HD:function(){return T},IU:function(){return m},Jp:function(){return G},Kn:function(){return W},cW:function(){return s},f6:function(){return x},hj:function(){return X},jn:function(){return V},kJ:function(){return O},mf:function(){return c},o8:function(){return p},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 X(h){return typeof h=="number"&&!isNaN(h)}function V(h){return h===!0||h===!1}function p(h){return typeof h=="undefined"}function $(h){return!G(h)}function G(h){return p(h)||h===null}function e(h,_){if(!h)throw new Error(_?`Unexpected type, expected '${_}'`:"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,_){const f=Math.min(h.length,_.length);for(let l=0;l<f;l++)r(h[l],_[l])}function r(h,_){if(T(_)){if(typeof h!==_)throw new Error(`argument does not match constraint: typeof ${_}`)}else if(c(_)){try{if(h instanceof _)return}catch(f){}if(!G(h)&&h.constructor===_||_.length===1&&_.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 _=[],f=Object.getPrototypeOf(h);for(;Object.prototype!==f;)_=_.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return _}function o(h){const _=[];for(const f of a(h))typeof h[f]=="function"&&_.push(f);return _}function m(h,_){const f=k=>function(){const I=Array.prototype.slice.call(arguments,0);return _(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,_="Unreachable"){throw new Error(_)}},13268:function(Lt,Ke,u){"use strict";u.d(Ke,{N:function(){return T}});function O(W,X){let V;return X.length===0?V=W:V=W.replace(/\{(\d+)\}/g,function(p,$){const G=$[0];return typeof X[G]!="undefined"?X[G]:p}),V}function T(W,X,...V){return O(X,V)}},96236:function(Lt,Ke,u){"use strict";u.d(Ke,{BH:function(){return m},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),X=u(88226),V=u(69323),p=u(34502),$=u(35884),G=u(90689),e=u(16925),s=u(49055),c=function(h,_,f,l){var k=arguments.length,I=k<3?_:l===null?l=Object.getOwnPropertyDescriptor(_,f):l,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")I=Reflect.decorate(h,_,f,l);else for(var F=h.length-1;F>=0;F--)(L=h[F])&&(I=(k<3?L(I):k>3?L(_,f,I):L(_,f))||I);return k>3&&I&&Object.defineProperty(_,f,I),I},t=function(h,_){return function(f,l){_(f,l,h)}};function r(h){return h.command!==void 0}class a{constructor(_){this.id=a._idPool++,this._debugName=_}}a._idPool=0,a.CommandPalette=new a("CommandPalette"),a.EditorContext=new a("EditorContext"),a.SimpleEditorContext=new a("SimpleEditorContext"),a.EditorContextCopy=new a("EditorContextCopy"),a.EditorContextPeek=new a("EditorContextPeek"),a.MenubarEditMenu=new a("MenubarEditMenu"),a.MenubarCopy=new a("MenubarCopy"),a.MenubarGoMenu=new a("MenubarGoMenu"),a.MenubarSelectionMenu=new a("MenubarSelectionMenu"),a.InlineCompletionsActions=new a("InlineCompletionsActions");const o=(0,e.yh)("menuService"),m=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new W.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:h=>h===a.CommandPalette}}addCommand(h){return this.addCommands(X.$.single(h))}addCommands(h){for(const _ of h)this._commands.set(_.id,_);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,V.OF)(()=>{let _=!1;for(const f of h)_=this._commands.delete(f.id)||_;_&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(h){return this._commands.get(h)}getCommands(){const h=new Map;return this._commands.forEach((_,f)=>h.set(f,_)),h}appendMenuItem(h,_){return this.appendMenuItems(X.$.single({id:h,item:_}))}appendMenuItems(h){const _=new Set,f=new p.S;for(const{id:l,item:k}of h){let I=this._menuItems.get(l);I||(I=new p.S,this._menuItems.set(l,I)),f.push(I.push(k)),_.add(l)}return this._onDidChangeMenu.fire(_),(0,V.OF)(()=>{if(f.size>0){for(let l of f)l();this._onDidChangeMenu.fire(_),f.clear()}})}getMenuItems(h){let _;return this._menuItems.has(h)?_=[...this._menuItems.get(h)]:_=[],h===a.CommandPalette&&this._appendImplicitItems(_),_}_appendImplicitItems(h){const _=new Set;for(const f of h)r(f)&&(_.add(f.command.id),f.alt&&_.add(f.alt.id));this._commands.forEach((f,l)=>{_.has(l)||h.push({command:f})})}};class x extends O.wY{constructor(_,f,l,k){super(`submenuitem.${_.submenu.id}`,typeof _.title=="string"?_.title:_.title.value,[],"submenu"),this.item=_,this._menuService=f,this._contextKeyService=l,this._options=k}get actions(){const _=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=f.getActions(this._options);f.dispose();for(const[,k]of l)k.length>0&&(_.push(...k),_.push(new O.Z0));return _.length&&_.pop(),_}}let C=class bi{constructor(_,f,l,k,I){var L,F;if(this._commandService=I,this.id=_.id,this.label=l!=null&&l.renderShortTitle&&_.shortTitle?typeof _.shortTitle=="string"?_.shortTitle:_.shortTitle.value:typeof _.title=="string"?_.title:_.title.value,this.tooltip=(F=typeof _.tooltip=="string"?_.tooltip:(L=_.tooltip)===null||L===void 0?void 0:L.value)!==null&&F!==void 0?F:"",this.enabled=!_.precondition||k.contextMatchesRules(_.precondition),this.checked=void 0,_.toggled){const Y=_.toggled.condition?_.toggled:{condition:_.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=_,this.alt=f?new bi(f,void 0,l,k,I):void 0,this._options=l,s.kS.isThemeIcon(_.icon)&&(this.class=T.dT.asClassName(_.icon))}dispose(){}run(..._){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,..._]),this._commandService.executeCommand(this.id,...k)}};C=c([t(3,G.i6),t(4,$.H)],C)},35884:function(Lt,Ke,u){"use strict";u.d(Ke,{H:function(){return $},P:function(){return G}});var O=u(4348),T=u(88226),W=u(69323),X=u(34502),V=u(72999),p=u(16925);const $=(0,p.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 m=e.handler;e.handler=function(x,...C){return(0,V.D8)(C,o),m(x,...C)}}const{id:c}=e;let t=this._commands.get(c);t||(t=new X.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($).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(Lt,Ke,u){"use strict";u.d(Ke,{Ao:function(){return $},Eq:function(){return y},Fb:function(){return G},K8:function(){return R},i6:function(){return ye},uy:function(){return z}});var O=u(23345),T=u(82983),W=u(16925);let X=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",X.indexOf("Edg/")>=0),V.set("isFirefox",X.indexOf("Firefox")>=0),V.set("isChrome",X.indexOf("Chrome")>=0),V.set("isSafari",X.indexOf("Safari")>=0);const p=Object.prototype.hasOwnProperty;class ${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 g=n.split("||");return Y.create(g.map(K=>this._deserializeAndExpression(K,i)),null,!0)}static _deserializeAndExpression(n,i){let g=n.split("&&");return F.create(g.map(K=>this._deserializeOne(K,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let g=n.split("!=");return m.create(g[0].trim(),this._deserializeValue(g[1],i))}if(n.indexOf("==")>=0){let g=n.split("==");return r.create(g[0].trim(),this._deserializeValue(g[1],i))}if(n.indexOf("=~")>=0){let g=n.split("=~");return k.create(g[0].trim(),this._deserializeRegexValue(g[1],i))}if(n.indexOf(" in ")>=0){let g=n.split(" in ");return a.create(g[0].trim(),g[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const g=n.split(">=");return _.create(g[0].trim(),g[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const g=n.split(">");return h.create(g[0].trim(),g[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const g=n.split("<=");return l.create(g[0].trim(),g[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const g=n.split("<");return f.create(g[0].trim(),g[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 g=/^'([^']*)'$/.exec(n);return g?g[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 g=n.indexOf("/"),K=n.lastIndexOf("/");if(g===K||g<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(g+1,K),Se=n[K+1]==="i"?"i":"";try{return new RegExp(ue,Se)}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,g=n?n.substituteConstants():void 0;return!i&&!g?!0:!i||!g?!1:i.equals(g)}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 g=V.get(n);return typeof g=="boolean"?g?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,g){this.key=n,this.value=i,this.negated=g,this.type=4}static create(n,i,g=null){if(typeof i=="boolean")return i?t.create(n,g):x.create(n,g);const K=V.get(n);return typeof K=="boolean"?i===(K?"true":"false")?c.INSTANCE:s.INSTANCE:new r(n,i,g)}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=m.create(this.key,this.value,this)),this.negated}}class a{constructor(n,i){this.key=n,this.valueKey=i,this.type=10,this.negated=null}static create(n,i){return new a(n,i)}cmp(n){return n.type!==this.type?this.type-n.type: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),g=n.getValue(this.key);return Array.isArray(i)?i.indexOf(g)>=0:typeof g=="string"&&typeof i=="object"&&i!==null?p.call(i,g):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=o.create(this)),this.negated}}class o{constructor(n){this._actual=n,this.type=11}static create(n){return new o(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class m{constructor(n,i,g){this.key=n,this.value=i,this.negated=g,this.type=5}static create(n,i,g=null){if(typeof i=="boolean")return i?x.create(n,g):t.create(n,g);const K=V.get(n);return typeof K=="boolean"?i===(K?"true":"false")?s.INSTANCE:c.INSTANCE:new m(n,i,g)}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 g=V.get(n);return typeof g=="boolean"?g?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,g){this.key=n,this.value=i,this.negated=g,this.type=12}static create(n,i,g=null){return C(i,K=>new h(n,K,g))}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 _{constructor(n,i,g){this.key=n,this.value=i,this.negated=g,this.type=13}static create(n,i,g=null){return C(i,K=>new _(n,K,g))}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,g){this.key=n,this.value=i,this.negated=g,this.type=14}static create(n,i,g=null){return C(i,K=>new f(n,K,g))}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=_.create(this.key,this.value,this)),this.negated}}class l{constructor(n,i,g){this.key=n,this.value=i,this.negated=g,this.type=15}static create(n,i,g=null){return C(i,K=>new l(n,K,g))}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:"",g=n.regexp?n.regexp.source:"";return i<g?-1:i>g?1:0}equals(n){if(n.type===this.type){const i=this.regexp?this.regexp.source:"",g=n.regexp?n.regexp.source:"";return this.key===n.key&&i===g}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,g=w.length;i<g;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,g=this.expr.length;i<g;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,g=this.expr.length;i<g;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,g=this.expr.length;i<g;i++)if(!this.expr[i].evaluate(n))return!1;return!0}static _normalizeArr(n,i){const g=[];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){g.push(...ue.expr);continue}g.push(ue)}if(g.length===0&&K)return c.INSTANCE;if(g.length!==0){if(g.length===1)return g[0];g.sort(e);for(let ue=1;ue<g.length;ue++)g[ue-1].equals(g[ue])&&(g.splice(ue,1),ue--);if(g.length===1)return g[0];for(;g.length>1;){const ue=g[g.length-1];if(ue.type!==9)break;g.pop();const Se=g.pop(),Ze=g.length===0,He=Y.create(ue.expr.map(qe=>F.create([qe,Se],null)),null,Ze);He&&(g.push(He),g.sort(e))}return g.length===1?g[0]:new F(g,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,g){return Y._normalizeArr(n,i,g)}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,g=this.expr.length;i<g;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,g=this.expr.length;i<g;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,g=this.expr.length;i<g;i++)if(this.expr[i].evaluate(n))return!0;return!1}static _normalizeArr(n,i,g){let K=[],ue=!1;if(n){for(let Se=0,Ze=n.length;Se<Ze;Se++){const He=n[Se];if(He){if(He.type===0){ue=!0;continue}if(He.type===1)return c.INSTANCE;if(He.type===9){K=K.concat(He.expr);continue}K.push(He)}}if(K.length===0&&ue)return s.INSTANCE;K.sort(e)}if(K.length!==0){if(K.length===1)return K[0];for(let Se=1;Se<K.length;Se++)K[Se-1].equals(K[Se])&&(K.splice(Se,1),Se--);if(K.length===1)return K[0];if(g){for(let Se=0;Se<K.length;Se++)for(let Ze=Se+1;Ze<K.length;Ze++)R(K[Se],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(),g=n.shift(),K=[];for(const Se of A(i))for(const Ze of A(g))K.push(F.create([Se,Ze],null));const ue=n.length===0;n.unshift(Y.create(K,null,ue))}this.negated=n[0]}return this.negated}}class z extends t{constructor(n,i,g){super(n,null),this._defaultValue=i,typeof g=="object"?z._info.push(Object.assign(Object.assign({},g),{key:n})):g!==!0&&z._info.push({key:n,description:g,type:i!=null?typeof i:void 0})}static all(){return z._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return r.create(this.key,n)}}z._info=[];const ye=(0,W.yh)("contextKeyService"),y="setContext";function d(w,n){return w<n?-1:w>n?1:0}function b(w,n,i,g){return w<i?-1:w>i?1:n<g?-1:n>g?1:0}function R(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(),g=A(i).concat(A(n));g.sort(e);for(let K=0;K<g.length;K++){const Se=g[K].negate();for(let Ze=K+1;Ze<g.length;Ze++){const He=g[Ze];if(Se.equals(He))return!0}}return!1}function A(w){return w.type===9?w.expr:[w]}},16925:function(Lt,Ke,u){"use strict";u.d(Ke,{I8:function(){return O},TG:function(){return T},jt:function(){return V},yh:function(){return X}});var O;(function(p){p.serviceIds=new Map,p.DI_TARGET="$di$target",p.DI_DEPENDENCIES="$di$dependencies";function $(G){return G[p.DI_DEPENDENCIES]||[]}p.getServiceDependencies=$})(O||(O={}));const T=X("instantiationService");function W(p,$,G,e){$[O.DI_TARGET]===$?$[O.DI_DEPENDENCIES].push({id:p,index:G,optional:e}):($[O.DI_DEPENDENCIES]=[{id:p,index:G,optional:e}],$[O.DI_TARGET]=$)}function X(p){if(O.serviceIds.has(p))return O.serviceIds.get(p);const $=function(G,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");W($,G,s,!1)};return $.toString=()=>p,O.serviceIds.set(p,$),$}function V(p){return function($,G,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");W(p,$,e,!0)}}},44650:function(Lt,Ke,u){"use strict";u.d(Ke,{B:function(){return X}});var O=u(76068),T=u(72999);class W{constructor(){this.data=new Map}add(p,$){O.ok(T.HD(p)),O.ok(T.Kn($)),O.ok(!this.data.has(p),"There is already an extension with this id"),this.data.set(p,$)}as(p){return this.data.get(p)||null}}const X=new W},66213:function(Lt,Ke,u){"use strict";u.d(Ke,{e:function(){return O}});var O;(function(T){T.DARK="dark",T.LIGHT="light",T.HIGH_CONTRAST="hc"})(O||(O={}))},49055:function(Lt,Ke,u){"use strict";u.d(Ke,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return $},bB:function(){return m},kS:function(){return s},m6:function(){return c}});var O=u(52615),T=u(4348),W=u(69323),X=u(16925),V=u(44650),p=u(66213);const $=(0,X.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 _(I){const L=h.exec(I);if(!L)return;let[,F]=L;return{id:F}}x.fromString=_;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 p.e.DARK:return"vs-dark";case p.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new 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 m 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(Lt,Ke,u){"use strict";var O=u(5016),T=u(20049),W=u(18082),X=u(52456),V=u(5883),p=u(92310),$=u.n(p),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,m=t.className,x=t.style,C=t.checked,h=t.disabled,_=t.defaultChecked,f=_===void 0?!1:_,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),z=(0,e.useRef)(null),ye=(0,G.Z)(f,{value:C}),y=(0,X.Z)(ye,2),d=y[0],b=y[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:z.current}});var R=$()(o,m,(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:R,title:I,style:x,ref:z},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")}))});Ke.Z=c},96478:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return I}});var O=u(5016),T=u(18082),W=u(52456),X=u(5883),V=u(65352),p=u(92310),$=u.n(p),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,z=L.onVisibleChange,ye=L.autoFocus,y=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),z==null||z(!1)}},R=function(){var n;return(n=y.current)!==null&&n!==void 0&&n.focus?(y.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=R()),i?n.preventDefault():b();break}}};e.useEffect(function(){return F?(window.addEventListener("keydown",A),ye&&(0,c.Z)(R,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,z=L.arrow,ye=L.prefixCls,y=(0,e.useMemo)(function(){var b;return typeof Y=="function"?b=Y():b=Y,b},[Y]),d=(0,G.sQ)(F,(0,G.C4)(y));return e.createElement(e.Fragment,null,z&&e.createElement("div",{className:"".concat(ye,"-arrow")}),e.cloneElement(y,{ref:(0,G.Yr)(y)?d:void 0}))}),m=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}},_=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,z=L.arrow,ye=z===void 0?!1:z,y=L.prefixCls,d=y===void 0?"rc-dropdown":y,b=L.transitionName,R=L.animation,A=L.align,w=L.placement,n=w===void 0?"bottomLeft":w,i=L.placements,g=i===void 0?_:i,K=L.getPopupContainer,ue=L.showAction,Se=L.hideAction,Ze=L.overlayClassName,He=L.overlayStyle,qe=L.visible,Tt=L.trigger,Ee=Tt===void 0?["hover"]:Tt,Je=L.autoFocus,Nt=L.overlay,Ie=L.children,Ne=L.onVisibleChange,le=(0,X.Z)(L,f),E=e.useState(),j=(0,W.Z)(E,2),D=j[0],re=j[1],fe="visible"in L?qe:D,P=e.useRef(null),v=e.useRef(null),S=e.useRef(null);e.useImperativeHandle(F,function(){return P.current});var B=function(Fe){re(Fe),Ne==null||Ne(Fe)};a({visible:fe,triggerRef:S,onVisibleChange:B,autoFocus:Je,overlayRef:v});var N=function(Fe){var Le=L.onOverlayClick;re(!1),Le&&Le(Fe)},U=function(){return e.createElement(m,{ref:v,overlay:Nt,prefixCls:d,arrow:ye})},Z=function(){return typeof Nt=="function"?U:U()},ne=function(){var Fe=L.minOverlayWidthMatchTrigger,Le=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?Fe:!Le},Q=function(){var Fe=L.openClassName;return Fe!==void 0?Fe:"".concat(d,"-open")},ce=e.cloneElement(Ie,{className:$()((Y=Ie.props)===null||Y===void 0?void 0:Y.className,fe&&Q()),ref:(0,G.Yr)(Ie)?(0,G.sQ)(S,(0,G.C4)(Ie)):void 0}),be=Se;return!be&&Ee.indexOf("contextMenu")!==-1&&(be=["click"]),e.createElement(V.Z,(0,O.Z)({builtinPlacements:g},le,{prefixCls:d,ref:P,popupClassName:$()(Ze,(0,T.Z)({},"".concat(d,"-show-arrow"),ye)),popupStyle:He,action:Ee,showAction:ue,hideAction:be,popupPlacement:n,popupAlign:A,popupTransitionName:b,popupAnimation:R,popupVisible:fe,stretch:ne()?"minWidth":"",popup:Z(),onPopupVisibleChange:B,onPopupClick:N,getPopupContainer:K}),ce)}var k=e.forwardRef(l),I=k},66003:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return $}});var O=u(5883),T=u(20049),W=u(10928),X=u(59301),V=["show"];function p(G,e){if(!e.max)return!0;var s=e.strategy(G);return s<=e.max}function $(G,e){return X.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(Lt,Ke,u){"use strict";u.r(Ke),u.d(Ke,{BaseInput:function(){return s},default:function(){return _}});var O=u(20049),T=u(5016),W=u(18082),X=u(10928),V=u(92310),p=u.n(V),$=u(59301),G=u(30292),e=$.forwardRef(function(f,l){var k,I,L,F=f.inputElement,Y=f.children,z=f.prefixCls,ye=f.prefix,y=f.suffix,d=f.addonBefore,b=f.addonAfter,R=f.className,A=f.style,w=f.disabled,n=f.readOnly,i=f.focused,g=f.triggerFocus,K=f.allowClear,ue=f.value,Se=f.handleReset,Ze=f.hidden,He=f.classes,qe=f.classNames,Tt=f.dataAttrs,Ee=f.styles,Je=f.components,Nt=f.onClear,Ie=Y!=null?Y:F,Ne=(Je==null?void 0:Je.affixWrapper)||"span",le=(Je==null?void 0:Je.groupWrapper)||"span",E=(Je==null?void 0:Je.wrapper)||"span",j=(Je==null?void 0:Je.groupAddon)||"span",D=(0,$.useRef)(null),re=function(it){var Ue;(Ue=D.current)!==null&&Ue!==void 0&&Ue.contains(it.target)&&(g==null||g())},fe=(0,G.X3)(f),P=(0,$.cloneElement)(Ie,{value:ue,className:p()((k=Ie.props)===null||k===void 0?void 0:k.className,!fe&&(qe==null?void 0:qe.variant))||null}),v=(0,$.useRef)(null);if($.useImperativeHandle(l,function(){return{nativeElement:v.current||D.current}}),fe){var S=null;if(K){var B=!w&&!n&&ue,N="".concat(z,"-clear-icon"),U=(0,X.Z)(K)==="object"&&K!==null&&K!==void 0&&K.clearIcon?K.clearIcon:"\u2716";S=$.createElement("button",{type:"button",tabIndex:-1,onClick:function(it){Se==null||Se(it),Nt==null||Nt()},onMouseDown:function(it){return it.preventDefault()},className:p()(N,(0,W.Z)((0,W.Z)({},"".concat(N,"-hidden"),!B),"".concat(N,"-has-suffix"),!!y))},U)}var Z="".concat(z,"-affix-wrapper"),ne=p()(Z,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(z,"-disabled"),w),"".concat(Z,"-disabled"),w),"".concat(Z,"-focused"),i),"".concat(Z,"-readonly"),n),"".concat(Z,"-input-with-clear-btn"),y&&K&&ue),He==null?void 0:He.affixWrapper,qe==null?void 0:qe.affixWrapper,qe==null?void 0:qe.variant),Q=(y||K)&&$.createElement("span",{className:p()("".concat(z,"-suffix"),qe==null?void 0:qe.suffix),style:Ee==null?void 0:Ee.suffix},S,y);P=$.createElement(Ne,(0,T.Z)({className:ne,style:Ee==null?void 0:Ee.affixWrapper,onClick:re},Tt==null?void 0:Tt.affixWrapper,{ref:D}),ye&&$.createElement("span",{className:p()("".concat(z,"-prefix"),qe==null?void 0:qe.prefix),style:Ee==null?void 0:Ee.prefix},ye),P,Q)}if((0,G.He)(f)){var ce="".concat(z,"-group"),be="".concat(ce,"-addon"),we="".concat(ce,"-wrapper"),Fe=p()("".concat(z,"-wrapper"),ce,He==null?void 0:He.wrapper,qe==null?void 0:qe.wrapper),Le=p()(we,(0,W.Z)({},"".concat(we,"-disabled"),w),He==null?void 0:He.group,qe==null?void 0:qe.groupWrapper);P=$.createElement(le,{className:Le,ref:v},$.createElement(E,{className:Fe},d&&$.createElement(j,{className:be},d),P,b&&$.createElement(j,{className:be},b)))}return $.cloneElement(P,{className:p()((I=P.props)===null||I===void 0?void 0:I.className,R)||null,style:(0,O.Z)((0,O.Z)({},(L=P.props)===null||L===void 0?void 0:L.style),A),hidden:Ze})}),s=e,c=u(92393),t=u(52456),r=u(5883),a=u(18929),o=u(2738),m=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,$.forwardRef)(function(f,l){var k=f.autoComplete,I=f.onChange,L=f.onFocus,F=f.onBlur,Y=f.onPressEnter,z=f.onKeyDown,ye=f.onKeyUp,y=f.prefixCls,d=y===void 0?"rc-input":y,b=f.disabled,R=f.htmlSize,A=f.className,w=f.maxLength,n=f.suffix,i=f.showCount,g=f.count,K=f.type,ue=K===void 0?"text":K,Se=f.classes,Ze=f.classNames,He=f.styles,qe=f.onCompositionStart,Tt=f.onCompositionEnd,Ee=(0,r.Z)(f,x),Je=(0,$.useState)(!1),Nt=(0,t.Z)(Je,2),Ie=Nt[0],Ne=Nt[1],le=(0,$.useRef)(!1),E=(0,$.useRef)(!1),j=(0,$.useRef)(null),D=(0,$.useRef)(null),re=function(ht){j.current&&(0,G.nH)(j.current,ht)},fe=(0,a.Z)(f.defaultValue,{value:f.value}),P=(0,t.Z)(fe,2),v=P[0],S=P[1],B=v==null?"":String(v),N=(0,$.useState)(null),U=(0,t.Z)(N,2),Z=U[0],ne=U[1],Q=(0,m.Z)(g,i),ce=Q.max||w,be=Q.strategy(B),we=!!ce&&be>ce;(0,$.useImperativeHandle)(l,function(){var wt;return{focus:re,blur:function(){var St;(St=j.current)===null||St===void 0||St.blur()},setSelectionRange:function(St,on,Gt){var Yt;(Yt=j.current)===null||Yt===void 0||Yt.setSelectionRange(St,on,Gt)},select:function(){var St;(St=j.current)===null||St===void 0||St.select()},input:j.current,nativeElement:((wt=D.current)===null||wt===void 0?void 0:wt.nativeElement)||j.current}}),(0,$.useEffect)(function(){E.current&&(E.current=!1),Ne(function(wt){return wt&&b?!1:wt})},[b]);var Fe=function(ht,St,on){var Gt=St;if(!le.current&&Q.exceedFormatter&&Q.max&&Q.strategy(St)>Q.max){if(Gt=Q.exceedFormatter(St,{max:Q.max}),St!==Gt){var Yt,vn;ne([((Yt=j.current)===null||Yt===void 0?void 0:Yt.selectionStart)||0,((vn=j.current)===null||vn===void 0?void 0:vn.selectionEnd)||0])}}else if(on.source==="compositionEnd")return;S(Gt),j.current&&(0,G.rJ)(j.current,ht,I,Gt)};(0,$.useEffect)(function(){if(Z){var wt;(wt=j.current)===null||wt===void 0||wt.setSelectionRange.apply(wt,(0,c.Z)(Z))}},[Z]);var Le=function(ht){Fe(ht,ht.target.value,{source:"change"})},Be=function(ht){le.current=!1,Fe(ht,ht.currentTarget.value,{source:"compositionEnd"}),Tt==null||Tt(ht)},it=function(ht){Y&&ht.key==="Enter"&&!E.current&&(E.current=!0,Y(ht)),z==null||z(ht)},Ue=function(ht){ht.key==="Enter"&&(E.current=!1),ye==null||ye(ht)},We=function(ht){Ne(!0),L==null||L(ht)},Ct=function(ht){E.current&&(E.current=!1),Ne(!1),F==null||F(ht)},kt=function(ht){S(""),re(),j.current&&(0,G.rJ)(j.current,ht,I)},nt=we&&"".concat(d,"-out-of-range"),zt=function(){var ht=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return $.createElement("input",(0,T.Z)({autoComplete:k},ht,{onChange:Le,onFocus:We,onBlur:Ct,onKeyDown:it,onKeyUp:Ue,className:p()(d,(0,W.Z)({},"".concat(d,"-disabled"),b),Ze==null?void 0:Ze.input),style:He==null?void 0:He.input,ref:j,size:R,type:ue,onCompositionStart:function(on){le.current=!0,qe==null||qe(on)},onCompositionEnd:Be}))},dn=function(){var ht=Number(ce)>0;if(n||Q.show){var St=Q.showFormatter?Q.showFormatter({value:B,count:be,maxLength:ce}):"".concat(be).concat(ht?" / ".concat(ce):"");return $.createElement($.Fragment,null,Q.show&&$.createElement("span",{className:p()("".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)({},He==null?void 0:He.count)},St),n)}return null};return $.createElement(s,(0,T.Z)({},Ee,{prefixCls:d,className:p()(A,nt),handleReset:kt,value:B,focused:Ie,triggerFocus:re,suffix:dn(),disabled:b,classes:Se,classNames:Ze,styles:He}),zt())}),h=C,_=h},30292:function(Lt,Ke,u){"use strict";u.d(Ke,{He:function(){return O},X3:function(){return T},nH:function(){return V},rJ:function(){return X}});function O(p){return!!(p.addonBefore||p.addonAfter)}function T(p){return!!(p.prefix||p.suffix||p.allowClear)}function W(p,$,G){var e=$.cloneNode(!0),s=Object.create(p,{target:{value:e},currentTarget:{value:e}});return e.value=G,typeof $.selectionStart=="number"&&typeof $.selectionEnd=="number"&&(e.selectionStart=$.selectionStart,e.selectionEnd=$.selectionEnd),e.setSelectionRange=function(){$.setSelectionRange.apply($,arguments)},s}function X(p,$,G,e){if(G){var s=$;if($.type==="click"){s=W($,p,""),G(s);return}if(p.type!=="file"&&e!==void 0){s=W($,p,e),G(s);return}G(s)}}function V(p,$){if(p){p.focus($);var G=$||{},e=G.cursor;if(e){var s=p.value.length;switch(e){case"start":p.setSelectionRange(0,0);break;case"end":p.setSelectionRange(s,s);break;default:p.setSelectionRange(0,s)}}}}},28321:function(Lt,Ke,u){"use strict";u.d(Ke,{iz:function(){return ee},ck:function(){return Gt},BW:function(){return De},sN:function(){return Gt},Wd:function(){return Wn},ZP:function(){return Ve},Xl:function(){return Y}});var O=u(5016),T=u(18082),W=u(20049),X=u(92393),V=u(52456),p=u(5883),$=u(92310),G=u.n($),e=u(11780),s=u(18929),c=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function m(H,ie){return H===void 0?null:"".concat(H,"-").concat(ie)}function x(H){var ie=r.useContext(o);return m(ie,H)}var C=u(80547),h=["children","locked"],_=r.createContext(null);function f(H,ie){var _e=(0,W.Z)({},H);return Object.keys(ie).forEach(function(de){var ke=ie[de];ke!==void 0&&(_e[de]=ke)}),_e}function l(H){var ie=H.children,_e=H.locked,de=(0,p.Z)(H,h),ke=r.useContext(_),je=(0,C.Z)(function(){return f(ke,de)},[ke,de],function(Pe,Ge){return!_e&&(Pe[0]!==Ge[0]||!(0,c.Z)(Pe[1],Ge[1],!0))});return r.createElement(_.Provider,{value:je},ie)}var k=[],I=r.createContext(null);function L(){return r.useContext(I)}var F=r.createContext(k);function Y(H){var ie=r.useContext(F);return r.useMemo(function(){return H!==void 0?[].concat((0,X.Z)(ie),[H]):ie},[ie,H])}var z=r.createContext(null),ye=r.createContext({}),y=ye,d=u(29194);function b(H){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,d.Z)(H)){var _e=H.nodeName.toLowerCase(),de=["input","select","textarea","button"].includes(_e)||H.isContentEditable||_e==="a"&&!!H.getAttribute("href"),ke=H.getAttribute("tabindex"),je=Number(ke),Pe=null;return ke&&!Number.isNaN(je)?Pe=je:de&&Pe===null&&(Pe=0),de&&H.disabled&&(Pe=null),Pe!==null&&(Pe>=0||ie&&Pe<0)}return!1}function R(H){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e=(0,X.Z)(H.querySelectorAll("*")).filter(function(de){return b(de,ie)});return b(H,ie)&&_e.unshift(H),_e}var A=null;function w(){A=document.activeElement}function n(){A=null}function i(){if(A)try{A.focus()}catch(H){}}function g(H,ie){if(ie.keyCode===9){var _e=R(H),de=_e[ie.shiftKey?0:_e.length-1],ke=de===document.activeElement||H===document.activeElement;if(ke){var je=_e[ie.shiftKey?_e.length-1:0];je.focus(),ie.preventDefault()}}}var K=u(10228),ue=u(16089),Se=K.Z.LEFT,Ze=K.Z.RIGHT,He=K.Z.UP,qe=K.Z.DOWN,Tt=K.Z.ENTER,Ee=K.Z.ESC,Je=K.Z.HOME,Nt=K.Z.END,Ie=[He,qe,Se,Ze];function Ne(H,ie,_e,de){var ke,je="prev",Pe="next",Ge="children",Qe="parent";if(H==="inline"&&de===Tt)return{inlineTrigger:!0};var st=(0,T.Z)((0,T.Z)({},He,je),qe,Pe),Rt=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},Se,_e?Pe:je),Ze,_e?je:Pe),qe,Ge),Tt,Ge),at=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},He,je),qe,Pe),Tt,Ge),Ee,Qe),Se,_e?Ge:Qe),Ze,_e?Qe:Ge),It={inline:st,horizontal:Rt,vertical:at,inlineSub:st,horizontalSub:at,verticalSub:at},Mt=(ke=It["".concat(H).concat(ie?"":"Sub")])===null||ke===void 0?void 0:ke[de];switch(Mt){case je:return{offset:-1,sibling:!0};case Pe:return{offset:1,sibling:!0};case Qe:return{offset:-1,sibling:!1};case Ge:return{offset:1,sibling:!1};default:return null}}function le(H){for(var ie=H;ie;){if(ie.getAttribute("data-menu-list"))return ie;ie=ie.parentElement}return null}function E(H,ie){for(var _e=H||document.activeElement;_e;){if(ie.has(_e))return _e;_e=_e.parentElement}return null}function j(H,ie){var _e=R(H,!0);return _e.filter(function(de){return ie.has(de)})}function D(H,ie,_e){var de=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!H)return null;var ke=j(H,ie),je=ke.length,Pe=ke.findIndex(function(Ge){return _e===Ge});return de<0?Pe===-1?Pe=je-1:Pe-=1:de>0&&(Pe+=1),Pe=(Pe+je)%je,ke[Pe]}var re=function(ie,_e){var de=new Set,ke=new Map,je=new Map;return ie.forEach(function(Pe){var Ge=document.querySelector("[data-menu-id='".concat(m(_e,Pe),"']"));Ge&&(de.add(Ge),je.set(Ge,Pe),ke.set(Pe,Ge))}),{elements:de,key2element:ke,element2key:je}};function fe(H,ie,_e,de,ke,je,Pe,Ge,Qe,st){var Rt=r.useRef(),at=r.useRef();at.current=ie;var It=function(){ue.Z.cancel(Rt.current)};return r.useEffect(function(){return function(){It()}},[]),function(Mt){var Zt=Mt.which;if([].concat(Ie,[Tt,Ee,Je,Nt]).includes(Zt)){var vt=je(),gt=re(vt,de),Wt=gt,rt=Wt.elements,ut=Wt.key2element,dt=Wt.element2key,Ut=ut.get(ie),Pt=E(Ut,rt),Ft=dt.get(Pt),In=Ne(H,Pe(Ft,!0).length===1,_e,Zt);if(!In&&Zt!==Je&&Zt!==Nt)return;(Ie.includes(Zt)||[Je,Nt].includes(Zt))&&Mt.preventDefault();var M=function(Re){if(Re){var te=Re,oe=Re.querySelector("a");oe!=null&&oe.getAttribute("href")&&(te=oe);var ve=dt.get(Re);Ge(ve),It(),Rt.current=(0,ue.Z)(function(){at.current===ve&&te.focus()})}};if([Je,Nt].includes(Zt)||In.sibling||!Pt){var ae;!Pt||H==="inline"?ae=ke.current:ae=le(Pt);var q,se=j(ae,rt);Zt===Je?q=se[0]:Zt===Nt?q=se[se.length-1]:q=D(ae,rt,Pt,In.offset),M(q)}else if(In.inlineTrigger)Qe(Ft);else if(In.offset>0)Qe(Ft,!0),It(),Rt.current=(0,ue.Z)(function(){gt=re(vt,de);var Oe=Pt.getAttribute("aria-controls"),Re=document.getElementById(Oe),te=D(Re,gt.elements);M(te)},5);else if(In.offset<0){var pe=Pe(Ft,!0),xe=pe[pe.length-2],Me=ut.get(xe);Qe(xe,!1),M(Me)}}st==null||st(Mt)}}function P(H){Promise.resolve().then(H)}var v="__RC_UTIL_PATH_SPLIT__",S=function(ie){return ie.join(v)},B=function(ie){return ie.split(v)},N="rc-menu-more";function U(){var H=r.useState({}),ie=(0,V.Z)(H,2),_e=ie[1],de=(0,r.useRef)(new Map),ke=(0,r.useRef)(new Map),je=r.useState([]),Pe=(0,V.Z)(je,2),Ge=Pe[0],Qe=Pe[1],st=(0,r.useRef)(0),Rt=(0,r.useRef)(!1),at=function(){Rt.current||_e({})},It=(0,r.useCallback)(function(ut,dt){var Ut=S(dt);ke.current.set(Ut,ut),de.current.set(ut,Ut),st.current+=1;var Pt=st.current;P(function(){Pt===st.current&&at()})},[]),Mt=(0,r.useCallback)(function(ut,dt){var Ut=S(dt);ke.current.delete(Ut),de.current.delete(ut)},[]),Zt=(0,r.useCallback)(function(ut){Qe(ut)},[]),vt=(0,r.useCallback)(function(ut,dt){var Ut=de.current.get(ut)||"",Pt=B(Ut);return dt&&Ge.includes(Pt[0])&&Pt.unshift(N),Pt},[Ge]),gt=(0,r.useCallback)(function(ut,dt){return ut.filter(function(Ut){return Ut!==void 0}).some(function(Ut){var Pt=vt(Ut,!0);return Pt.includes(dt)})},[vt]),Wt=function(){var dt=(0,X.Z)(de.current.keys());return Ge.length&&dt.push(N),dt},rt=(0,r.useCallback)(function(ut){var dt="".concat(de.current.get(ut)).concat(v),Ut=new Set;return(0,X.Z)(ke.current.keys()).forEach(function(Pt){Pt.startsWith(dt)&&Ut.add(ke.current.get(Pt))}),Ut},[]);return r.useEffect(function(){return function(){Rt.current=!0}},[]),{registerPath:It,unregisterPath:Mt,refreshOverflowKeys:Zt,isSubPathKey:gt,getKeyPath:vt,getKeys:Wt,getSubPathKeys:rt}}function Z(H){var ie=r.useRef(H);ie.current=H;var _e=r.useCallback(function(){for(var de,ke=arguments.length,je=new Array(ke),Pe=0;Pe<ke;Pe++)je[Pe]=arguments[Pe];return(de=ie.current)===null||de===void 0?void 0:de.call.apply(de,[ie].concat(je))},[]);return H?_e:void 0}var ne=Math.random().toFixed(5).toString().slice(2),Q=0;function ce(H){var ie=(0,s.Z)(H,{value:H}),_e=(0,V.Z)(ie,2),de=_e[0],ke=_e[1];return r.useEffect(function(){Q+=1;var je="".concat(ne,"-").concat(Q);ke("rc-menu-uuid-".concat(je))},[]),de}var be=u(6487),we=u(56789),Fe=u(7942),Le=u(76773),Be=u(2738),it=u(8654);function Ue(H,ie,_e,de){var ke=r.useContext(_),je=ke.activeKey,Pe=ke.onActive,Ge=ke.onInactive,Qe={active:je===H};return ie||(Qe.onMouseEnter=function(st){_e==null||_e({key:H,domEvent:st}),Pe(H)},Qe.onMouseLeave=function(st){de==null||de({key:H,domEvent:st}),Ge(H)}),Qe}function We(H){var ie=r.useContext(_),_e=ie.mode,de=ie.rtl,ke=ie.inlineIndent;if(_e!=="inline")return null;var je=H;return de?{paddingRight:je*ke}:{paddingLeft:je*ke}}function Ct(H){var ie=H.icon,_e=H.props,de=H.children,ke;return ie===null||ie===!1?null:(typeof ie=="function"?ke=r.createElement(ie,(0,W.Z)({},_e)):typeof ie!="boolean"&&(ke=ie),ke||de||null)}var kt=["item"];function nt(H){var ie=H.item,_e=(0,p.Z)(H,kt);return Object.defineProperty(_e,"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."),ie}}),_e}var zt=["title","attribute","elementRef"],dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],wt=["active"],ht=function(H){(0,Fe.Z)(_e,H);var ie=(0,Le.Z)(_e);function _e(){return(0,be.Z)(this,_e),ie.apply(this,arguments)}return(0,we.Z)(_e,[{key:"render",value:function(){var ke=this.props,je=ke.title,Pe=ke.attribute,Ge=ke.elementRef,Qe=(0,p.Z)(ke,zt),st=(0,Be.Z)(Qe,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Pe,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,O.Z)({},Pe,{title:typeof je=="string"?je:void 0},st,{ref:Ge}))}}]),_e}(r.Component),St=r.forwardRef(function(H,ie){var _e=H.style,de=H.className,ke=H.eventKey,je=H.warnKey,Pe=H.disabled,Ge=H.itemIcon,Qe=H.children,st=H.role,Rt=H.onMouseEnter,at=H.onMouseLeave,It=H.onClick,Mt=H.onKeyDown,Zt=H.onFocus,vt=(0,p.Z)(H,dn),gt=x(ke),Wt=r.useContext(_),rt=Wt.prefixCls,ut=Wt.onItemClick,dt=Wt.disabled,Ut=Wt.overflowDisabled,Pt=Wt.itemIcon,Ft=Wt.selectedKeys,In=Wt.onActive,M=r.useContext(y),ae=M._internalRenderMenuItem,q="".concat(rt,"-item"),se=r.useRef(),pe=r.useRef(),xe=dt||Pe,Me=(0,it.x1)(ie,pe),Oe=Y(ke),Re=function(ct){return{key:ke,keyPath:(0,X.Z)(Oe).reverse(),item:se.current,domEvent:ct}},te=Ge||Pt,oe=Ue(ke,xe,Rt,at),ve=oe.active,ge=(0,p.Z)(oe,wt),Ce=Ft.includes(ke),Xe=We(Oe.length),ft=function(ct){if(!xe){var hn=Re(ct);It==null||It(nt(hn)),ut(hn)}},tt=function(ct){if(Mt==null||Mt(ct),ct.which===K.Z.ENTER){var hn=Re(ct);It==null||It(nt(hn)),ut(hn)}},xt=function(ct){In(ke),Zt==null||Zt(ct)},Dt={};H.role==="option"&&(Dt["aria-selected"]=Ce);var Ot=r.createElement(ht,(0,O.Z)({ref:se,elementRef:Me,role:st===null?"none":st||"menuitem",tabIndex:Pe?null:-1,"data-menu-id":Ut&&gt?null:gt},(0,Be.Z)(vt,["extra"]),ge,Dt,{component:"li","aria-disabled":Pe,style:(0,W.Z)((0,W.Z)({},Xe),_e),className:G()(q,(0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(q,"-active"),ve),"".concat(q,"-selected"),Ce),"".concat(q,"-disabled"),xe),de),onClick:ft,onKeyDown:tt,onFocus:xt}),Qe,r.createElement(Ct,{props:(0,W.Z)((0,W.Z)({},H),{},{isSelected:Ce}),icon:te}));return ae&&(Ot=ae(Ot,H,{selected:Ce})),Ot});function on(H,ie){var _e=H.eventKey,de=L(),ke=Y(_e);return r.useEffect(function(){if(de)return de.registerPath(_e,ke),function(){de.unregisterPath(_e,ke)}},[ke]),de?null:r.createElement(St,(0,O.Z)({},H,{ref:ie}))}var Gt=r.forwardRef(on),Yt=["className","children"],vn=function(ie,_e){var de=ie.className,ke=ie.children,je=(0,p.Z)(ie,Yt),Pe=r.useContext(_),Ge=Pe.prefixCls,Qe=Pe.mode,st=Pe.rtl;return r.createElement("ul",(0,O.Z)({className:G()(Ge,st&&"".concat(Ge,"-rtl"),"".concat(Ge,"-sub"),"".concat(Ge,"-").concat(Qe==="inline"?"inline":"vertical"),de),role:"menu"},je,{"data-menu-list":!0,ref:_e}),ke)},ln=r.forwardRef(vn);ln.displayName="SubMenuList";var $e=ln,_t=u(11592);function $t(H,ie){return(0,_t.Z)(H).map(function(_e,de){if(r.isValidElement(_e)){var ke,je,Pe=_e.key,Ge=(ke=(je=_e.props)===null||je===void 0?void 0:je.eventKey)!==null&&ke!==void 0?ke:Pe,Qe=Ge==null;Qe&&(Ge="tmp_key-".concat([].concat((0,X.Z)(ie),[de]).join("-")));var st={key:Ge,eventKey:Ge};return r.cloneElement(_e,st)}return _e})}var mn=u(65352),Kt={adjustX:1,adjustY:1},Dn={topLeft:{points:["bl","tl"],overflow:Kt},topRight:{points:["br","tr"],overflow:Kt},bottomLeft:{points:["tl","bl"],overflow:Kt},bottomRight:{points:["tr","br"],overflow:Kt},leftTop:{points:["tr","tl"],overflow:Kt},leftBottom:{points:["br","bl"],overflow:Kt},rightTop:{points:["tl","tr"],overflow:Kt},rightBottom:{points:["bl","br"],overflow:Kt}},Un={topLeft:{points:["bl","tl"],overflow:Kt},topRight:{points:["br","tr"],overflow:Kt},bottomLeft:{points:["tl","bl"],overflow:Kt},bottomRight:{points:["tr","br"],overflow:Kt},rightTop:{points:["tr","tl"],overflow:Kt},rightBottom:{points:["br","bl"],overflow:Kt},leftTop:{points:["tl","tr"],overflow:Kt},leftBottom:{points:["bl","br"],overflow:Kt}},wn=null;function jt(H,ie,_e){if(ie)return ie;if(_e)return _e[H]||_e.other}var On={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function xn(H){var ie=H.prefixCls,_e=H.visible,de=H.children,ke=H.popup,je=H.popupStyle,Pe=H.popupClassName,Ge=H.popupOffset,Qe=H.disabled,st=H.mode,Rt=H.onVisibleChange,at=r.useContext(_),It=at.getPopupContainer,Mt=at.rtl,Zt=at.subMenuOpenDelay,vt=at.subMenuCloseDelay,gt=at.builtinPlacements,Wt=at.triggerSubMenuAction,rt=at.forceSubMenuRender,ut=at.rootClassName,dt=at.motion,Ut=at.defaultMotions,Pt=r.useState(!1),Ft=(0,V.Z)(Pt,2),In=Ft[0],M=Ft[1],ae=Mt?(0,W.Z)((0,W.Z)({},Un),gt):(0,W.Z)((0,W.Z)({},Dn),gt),q=On[st],se=jt(st,dt,Ut),pe=r.useRef(se);st!=="inline"&&(pe.current=se);var xe=(0,W.Z)((0,W.Z)({},pe.current),{},{leavedClassName:"".concat(ie,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Me=r.useRef();return r.useEffect(function(){return Me.current=(0,ue.Z)(function(){M(_e)}),function(){ue.Z.cancel(Me.current)}},[_e]),r.createElement(mn.Z,{prefixCls:ie,popupClassName:G()("".concat(ie,"-popup"),(0,T.Z)({},"".concat(ie,"-rtl"),Mt),Pe,ut),stretch:st==="horizontal"?"minWidth":null,getPopupContainer:It,builtinPlacements:ae,popupPlacement:q,popupVisible:In,popup:ke,popupStyle:je,popupAlign:Ge&&{offset:Ge},action:Qe?[]:[Wt],mouseEnterDelay:Zt,mouseLeaveDelay:vt,onPopupVisibleChange:Rt,forceRender:rt,popupMotion:xe,fresh:!0},de)}var Tn=u(77900);function gn(H){var ie=H.id,_e=H.open,de=H.keyPath,ke=H.children,je="inline",Pe=r.useContext(_),Ge=Pe.prefixCls,Qe=Pe.forceSubMenuRender,st=Pe.motion,Rt=Pe.defaultMotions,at=Pe.mode,It=r.useRef(!1);It.current=at===je;var Mt=r.useState(!It.current),Zt=(0,V.Z)(Mt,2),vt=Zt[0],gt=Zt[1],Wt=It.current?_e:!1;r.useEffect(function(){It.current&&gt(!1)},[at]);var rt=(0,W.Z)({},jt(je,st,Rt));de.length>1&&(rt.motionAppear=!1);var ut=rt.onVisibleChanged;return rt.onVisibleChanged=function(dt){return!It.current&&!dt&&gt(!0),ut==null?void 0:ut(dt)},vt?null:r.createElement(l,{mode:je,locked:!It.current},r.createElement(Tn.default,(0,O.Z)({visible:Wt},rt,{forceRender:Qe,removeOnLeave:!1,leavedClassName:"".concat(Ge,"-hidden")}),function(dt){var Ut=dt.className,Pt=dt.style;return r.createElement($e,{id:ie,className:Ut,style:Pt},ke)}))}var Sn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Mn=["active"],Ln=r.forwardRef(function(H,ie){var _e=H.style,de=H.className,ke=H.title,je=H.eventKey,Pe=H.warnKey,Ge=H.disabled,Qe=H.internalPopupClose,st=H.children,Rt=H.itemIcon,at=H.expandIcon,It=H.popupClassName,Mt=H.popupOffset,Zt=H.popupStyle,vt=H.onClick,gt=H.onMouseEnter,Wt=H.onMouseLeave,rt=H.onTitleClick,ut=H.onTitleMouseEnter,dt=H.onTitleMouseLeave,Ut=(0,p.Z)(H,Sn),Pt=x(je),Ft=r.useContext(_),In=Ft.prefixCls,M=Ft.mode,ae=Ft.openKeys,q=Ft.disabled,se=Ft.overflowDisabled,pe=Ft.activeKey,xe=Ft.selectedKeys,Me=Ft.itemIcon,Oe=Ft.expandIcon,Re=Ft.onItemClick,te=Ft.onOpenChange,oe=Ft.onActive,ve=r.useContext(y),ge=ve._internalRenderSubMenuItem,Ce=r.useContext(z),Xe=Ce.isSubPathKey,ft=Y(),tt="".concat(In,"-submenu"),xt=q||Ge,Dt=r.useRef(),Ot=r.useRef(),Xt=Rt!=null?Rt:Me,ct=at!=null?at:Oe,hn=ae.includes(je),an=!se&&hn,tn=Xe(xe,je),Vt=Ue(je,xt,ut,dt),nn=Vt.active,pn=(0,p.Z)(Vt,Mn),en=r.useState(!1),fn=(0,V.Z)(en,2),At=fn[0],pt=fn[1],Et=function(bn){xt||pt(bn)},Jt=function(bn){Et(!0),gt==null||gt({key:je,domEvent:bn})},cn=function(bn){Et(!1),Wt==null||Wt({key:je,domEvent:bn})},sn=r.useMemo(function(){return nn||(M!=="inline"?At||Xe([pe],je):!1)},[M,nn,pe,At,je,Xe]),un=We(ft.length),jn=function(bn){xt||(rt==null||rt({key:je,domEvent:bn}),M==="inline"&&te(je,!hn))},Jn=Z(function(yn){vt==null||vt(nt(yn)),Re(yn)}),Gn=function(bn){M!=="inline"&&te(je,bn)},sr=function(){oe(je)},ir=Pt&&"".concat(Pt,"-popup"),Yn=r.useMemo(function(){return r.createElement(Ct,{icon:M!=="horizontal"?ct:void 0,props:(0,W.Z)((0,W.Z)({},H),{},{isOpen:an,isSubMenu:!0})},r.createElement("i",{className:"".concat(tt,"-arrow")}))},[M,ct,H,an,tt]),_n=r.createElement("div",(0,O.Z)({role:"menuitem",style:un,className:"".concat(tt,"-title"),tabIndex:xt?null:-1,ref:Dt,title:typeof ke=="string"?ke:null,"data-menu-id":se&&Pt?null:Pt,"aria-expanded":an,"aria-haspopup":!0,"aria-controls":ir,"aria-disabled":xt,onClick:jn,onFocus:sr},pn),ke,Yn),kn=r.useRef(M);if(M!=="inline"&&ft.length>1?kn.current="vertical":kn.current=M,!se){var zn=kn.current;_n=r.createElement(xn,{mode:zn,prefixCls:tt,visible:!Qe&&an&&M!=="inline",popupClassName:It,popupOffset:Mt,popupStyle:Zt,popup:r.createElement(l,{mode:zn==="horizontal"?"vertical":zn},r.createElement($e,{id:ir,ref:Ot},st)),disabled:xt,onVisibleChange:Gn},_n)}var An=r.createElement(e.Z.Item,(0,O.Z)({ref:ie,role:"none"},Ut,{component:"li",style:_e,className:G()(tt,"".concat(tt,"-").concat(M),de,(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(tt,"-open"),an),"".concat(tt,"-active"),sn),"".concat(tt,"-selected"),tn),"".concat(tt,"-disabled"),xt)),onMouseEnter:Jt,onMouseLeave:cn}),_n,!se&&r.createElement(gn,{id:ir,open:an,keyPath:ft},st));return ge&&(An=ge(An,H,{selected:tn,active:sn,open:an,disabled:xt})),r.createElement(l,{onItemClick:Jn,mode:M==="horizontal"?"vertical":M,itemIcon:Xt,expandIcon:ct},An)}),Hn=r.forwardRef(function(H,ie){var _e=H.eventKey,de=H.children,ke=Y(_e),je=$t(de,ke),Pe=L();r.useEffect(function(){if(Pe)return Pe.registerPath(_e,ke),function(){Pe.unregisterPath(_e,ke)}},[ke]);var Ge;return Pe?Ge=je:Ge=r.createElement(Ln,(0,O.Z)({ref:ie},H),je),r.createElement(F.Provider,{value:ke},Ge)}),Wn=Hn,Bn=u(10928);function ee(H){var ie=H.className,_e=H.style,de=r.useContext(_),ke=de.prefixCls,je=L();return je?null:r.createElement("li",{role:"separator",className:G()("".concat(ke,"-item-divider"),ie),style:_e})}var J=["className","title","eventKey","children"],ze=r.forwardRef(function(H,ie){var _e=H.className,de=H.title,ke=H.eventKey,je=H.children,Pe=(0,p.Z)(H,J),Ge=r.useContext(_),Qe=Ge.prefixCls,st="".concat(Qe,"-item-group");return r.createElement("li",(0,O.Z)({ref:ie,role:"presentation"},Pe,{onClick:function(at){return at.stopPropagation()},className:G()(st,_e)}),r.createElement("div",{role:"presentation",className:"".concat(st,"-title"),title:typeof de=="string"?de:void 0},de),r.createElement("ul",{role:"group",className:"".concat(st,"-list")},je))}),Ae=r.forwardRef(function(H,ie){var _e=H.eventKey,de=H.children,ke=Y(_e),je=$t(de,ke),Pe=L();return Pe?je:r.createElement(ze,(0,O.Z)({ref:ie},(0,Be.Z)(H,["warnKey"])),je)}),De=Ae,lt=["label","children","key","type","extra"];function me(H,ie,_e){var de=ie.item,ke=ie.group,je=ie.submenu,Pe=ie.divider;return(H||[]).map(function(Ge,Qe){if(Ge&&(0,Bn.Z)(Ge)==="object"){var st=Ge,Rt=st.label,at=st.children,It=st.key,Mt=st.type,Zt=st.extra,vt=(0,p.Z)(st,lt),gt=It!=null?It:"tmp-".concat(Qe);return at||Mt==="group"?Mt==="group"?r.createElement(ke,(0,O.Z)({key:gt},vt,{title:Rt}),me(at,ie,_e)):r.createElement(je,(0,O.Z)({key:gt},vt,{title:Rt}),me(at,ie,_e)):Mt==="divider"?r.createElement(Pe,(0,O.Z)({key:gt},vt)):r.createElement(de,(0,O.Z)({key:gt},vt,{extra:Zt}),Rt,(!!Zt||Zt===0)&&r.createElement("span",{className:"".concat(_e,"-item-extra")},Zt))}return null}).filter(function(Ge){return Ge})}function he(H,ie,_e,de,ke){var je=H,Pe=(0,W.Z)({divider:ee,item:Gt,group:De,submenu:Wn},de);return ie&&(je=me(ie,Pe,ke)),$t(je,_e)}var Te=["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"],Ye=[],ot=r.forwardRef(function(H,ie){var _e,de=H,ke=de.prefixCls,je=ke===void 0?"rc-menu":ke,Pe=de.rootClassName,Ge=de.style,Qe=de.className,st=de.tabIndex,Rt=st===void 0?0:st,at=de.items,It=de.children,Mt=de.direction,Zt=de.id,vt=de.mode,gt=vt===void 0?"vertical":vt,Wt=de.inlineCollapsed,rt=de.disabled,ut=de.disabledOverflow,dt=de.subMenuOpenDelay,Ut=dt===void 0?.1:dt,Pt=de.subMenuCloseDelay,Ft=Pt===void 0?.1:Pt,In=de.forceSubMenuRender,M=de.defaultOpenKeys,ae=de.openKeys,q=de.activeKey,se=de.defaultActiveFirst,pe=de.selectable,xe=pe===void 0?!0:pe,Me=de.multiple,Oe=Me===void 0?!1:Me,Re=de.defaultSelectedKeys,te=de.selectedKeys,oe=de.onSelect,ve=de.onDeselect,ge=de.inlineIndent,Ce=ge===void 0?24:ge,Xe=de.motion,ft=de.defaultMotions,tt=de.triggerSubMenuAction,xt=tt===void 0?"hover":tt,Dt=de.builtinPlacements,Ot=de.itemIcon,Xt=de.expandIcon,ct=de.overflowedIndicator,hn=ct===void 0?"...":ct,an=de.overflowedIndicatorPopupClassName,tn=de.getPopupContainer,Vt=de.onClick,nn=de.onOpenChange,pn=de.onKeyDown,en=de.openAnimation,fn=de.openTransitionName,At=de._internalRenderMenuItem,pt=de._internalRenderSubMenuItem,Et=de._internalComponents,Jt=(0,p.Z)(de,Te),cn=r.useMemo(function(){return[he(It,at,Ye,Et,je),he(It,at,Ye,{},je)]},[It,at,Et]),sn=(0,V.Z)(cn,2),un=sn[0],jn=sn[1],Jn=r.useState(!1),Gn=(0,V.Z)(Jn,2),sr=Gn[0],ir=Gn[1],Yn=r.useRef(),_n=ce(Zt),kn=Mt==="rtl",zn=(0,s.Z)(M,{value:ae,postState:function(Vn){return Vn||Ye}}),An=(0,V.Z)(zn,2),yn=An[0],bn=An[1],yt=function(Vn){var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){bn(Vn),nn==null||nn(Vn)}Xn?(0,a.flushSync)(_r):_r()},qt=r.useState(yn),Qt=(0,V.Z)(qt,2),rn=Qt[0],Rn=Qt[1],Zn=r.useRef(!1),bt=r.useMemo(function(){return(gt==="inline"||gt==="vertical")&&Wt?["vertical",Wt]:[gt,!1]},[gt,Wt]),Bt=(0,V.Z)(bt,2),En=Bt[0],Ht=Bt[1],Pn=En==="inline",or=r.useState(En),$n=(0,V.Z)(or,2),fr=$n[0],ur=$n[1],vr=r.useState(Ht),Qn=(0,V.Z)(vr,2),Fr=Qn[0],Br=Qn[1];r.useEffect(function(){ur(En),Br(Ht),Zn.current&&(Pn?bn(rn):yt(Ye))},[En,Ht]);var Sr=r.useState(0),Tr=(0,V.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ir=Nr>=un.length-1||fr!=="horizontal"||ut;r.useEffect(function(){Pn&&Rn(yn)},[yn]),r.useEffect(function(){return Zn.current=!0,function(){Zn.current=!1}},[]);var br=U(),Ar=br.registerPath,Pr=br.unregisterPath,zr=br.refreshOverflowKeys,kr=br.isSubPathKey,$r=br.getKeyPath,Mr=br.getKeys,Gr=br.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:Ar,unregisterPath:Pr}},[Ar,Pr]),Wr=r.useMemo(function(){return{isSubPathKey:kr}},[kr]);r.useEffect(function(){zr(Ir?Ye:un.slice(Nr+1).map(function(tr){return tr.key}))},[Nr,Ir]);var Dr=(0,s.Z)(q||se&&((_e=un[0])===null||_e===void 0?void 0:_e.key),{value:q}),dr=(0,V.Z)(Dr,2),lr=dr[0],Nn=dr[1],Cn=Z(function(tr){Nn(tr)}),nr=Z(function(){Nn(void 0)});(0,r.useImperativeHandle)(ie,function(){return{list:Yn.current,focus:function(Vn){var Xn,_r=Mr(),cr=re(_r,_n),Cr=cr.elements,Xr=cr.key2element,ei=cr.element2key,ti=j(Yn.current,Cr),Jr=lr!=null?lr:ti[0]?ei.get(ti[0]):(Xn=un.find(function(Vr){return!Vr.props.disabled}))===null||Xn===void 0?void 0:Xn.key,Zr=Xr.get(Jr);if(Jr&&Zr){var Ur;Zr==null||(Ur=Zr.focus)===null||Ur===void 0||Ur.call(Zr,Vn)}}}});var qn=(0,s.Z)(Re||[],{value:te,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?Ye:[Vn]}}),er=(0,V.Z)(qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(xe){var Xn=Vn.key,_r=rr.includes(Xn),cr;Oe?_r?cr=rr.filter(function(Xr){return Xr!==Xn}):cr=[].concat((0,X.Z)(rr),[Xn]):cr=[Xn],yr(cr);var Cr=(0,W.Z)((0,W.Z)({},Vn),{},{selectedKeys:cr});_r?ve==null||ve(Cr):oe==null||oe(Cr)}!Oe&&yn.length&&fr!=="inline"&&yt(Ye)},xr=Z(function(tr){Vt==null||Vt(nt(tr)),gr(tr)}),ar=Z(function(tr,Vn){var Xn=yn.filter(function(cr){return cr!==tr});if(Vn)Xn.push(tr);else if(fr!=="inline"){var _r=Gr(tr);Xn=Xn.filter(function(cr){return!_r.has(cr)})}(0,c.Z)(yn,Xn,!0)||yt(Xn,!0)}),mr=function(Vn,Xn){var _r=Xn!=null?Xn:!yn.includes(Vn);ar(Vn,_r)},Rr=fe(fr,lr,kn,_n,Yn,Mr,$r,Nn,mr,pn);r.useEffect(function(){ir(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:At,_internalRenderSubMenuItem:pt}},[At,pt]),Yr=fr!=="horizontal"||ut?un:un.map(function(tr,Vn){return r.createElement(l,{key:tr.key,overflowDisabled:Vn>Nr},tr)}),qr=r.createElement(e.Z,(0,O.Z)({id:Zt,ref:Yn,prefixCls:"".concat(je,"-overflow"),component:"ul",itemComponent:Gt,className:G()(je,"".concat(je,"-root"),"".concat(je,"-").concat(fr),Qe,(0,T.Z)((0,T.Z)({},"".concat(je,"-inline-collapsed"),Fr),"".concat(je,"-rtl"),kn),Pe),dir:Mt,style:Ge,role:"menu",tabIndex:Rt,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Xn=Vn.length,_r=Xn?un.slice(-Xn):null;return r.createElement(Wn,{eventKey:N,title:hn,disabled:Ir,internalPopupClose:Xn===0,popupClassName:an},_r)},maxCount:fr!=="horizontal"||ut?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){Or(Vn)},onKeyDown:Rr},Jt));return r.createElement(y.Provider,{value:Er},r.createElement(o.Provider,{value:_n},r.createElement(l,{prefixCls:je,rootClassName:Pe,mode:fr,openKeys:yn,rtl:kn,disabled:rt,motion:sr?Xe:null,defaultMotions:sr?ft:null,activeKey:lr,onActive:Cn,onInactive:nr,selectedKeys:rr,inlineIndent:Ce,subMenuOpenDelay:Ut,subMenuCloseDelay:Ft,forceSubMenuRender:In,builtinPlacements:Dt,triggerSubMenuAction:xt,getPopupContainer:tn,itemIcon:Ot,expandIcon:Xt,onItemClick:xr,onOpenChange:ar},r.createElement(z.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(I.Provider,{value:jr},jn)))))}),mt=ot,et=mt;et.Item=Gt,et.SubMenu=Wn,et.ItemGroup=De,et.Divider=ee;var Ve=et},11780:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return w}});var O=u(5016),T=u(20049),W=u(52456),X=u(5883),V=u(59301),p=u(92310),$=u.n(p),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 g=n.prefixCls,K=n.invalidate,ue=n.item,Se=n.renderItem,Ze=n.responsive,He=n.responsiveDisabled,qe=n.registerSize,Tt=n.itemKey,Ee=n.className,Je=n.style,Nt=n.children,Ie=n.display,Ne=n.order,le=n.component,E=le===void 0?"div":le,j=(0,X.Z)(n,s),D=Ze&&!Ie;function re(B){qe(Tt,B)}V.useEffect(function(){return function(){re(null)}},[]);var fe=Se&&ue!==c?Se(ue,{index:Ne}):Nt,P;K||(P={opacity:D?0:1,height:D?0:c,overflowY:D?"hidden":c,order:Ze?Ne:c,pointerEvents:D?"none":c,position:D?"absolute":c});var v={};D&&(v["aria-hidden"]=!0);var S=V.createElement(E,(0,O.Z)({className:$()(!K&&g,Ee),style:(0,T.Z)((0,T.Z)({},P),Je)},v,j,{ref:i}),fe);return Ze&&(S=V.createElement(G.Z,{onResize:function(N){var U=N.offsetWidth;re(U)},disabled:He},S)),S}var r=V.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),m=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,m.unstable_batchedUpdates)(function(){n.current.forEach(function(ue){ue()}),n.current=null})})),n.current.push(K)};return i}function _(n,i){var g=V.useState(i),K=(0,W.Z)(g,2),ue=K[0],Se=K[1],Ze=(0,o.Z)(function(He){n(function(){Se(He)})});return[ue,Ze]}var f=V.createContext(null),l=["component"],k=["className"],I=["className"],L=function(i,g){var K=V.useContext(f);if(!K){var ue=i.component,Se=ue===void 0?"div":ue,Ze=(0,X.Z)(i,l);return V.createElement(Se,(0,O.Z)({},Ze,{ref:g}))}var He=K.className,qe=(0,X.Z)(K,k),Tt=i.className,Ee=(0,X.Z)(i,I);return V.createElement(f.Provider,{value:null},V.createElement(a,(0,O.Z)({ref:g,className:$()(He,Tt)},qe,Ee)))},F=V.forwardRef(L);F.displayName="RawItem";var Y=F,z=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ye="responsive",y="invalidate";function d(n){return"+ ".concat(n.length," ...")}function b(n,i){var g=n.prefixCls,K=g===void 0?"rc-overflow":g,ue=n.data,Se=ue===void 0?[]:ue,Ze=n.renderItem,He=n.renderRawItem,qe=n.itemKey,Tt=n.itemWidth,Ee=Tt===void 0?10:Tt,Je=n.ssr,Nt=n.style,Ie=n.className,Ne=n.maxCount,le=n.renderRest,E=n.renderRawRest,j=n.suffix,D=n.component,re=D===void 0?"div":D,fe=n.itemComponent,P=n.onVisibleChange,v=(0,X.Z)(n,z),S=Je==="full",B=h(),N=_(B,null),U=(0,W.Z)(N,2),Z=U[0],ne=U[1],Q=Z||0,ce=_(B,new Map),be=(0,W.Z)(ce,2),we=be[0],Fe=be[1],Le=_(B,0),Be=(0,W.Z)(Le,2),it=Be[0],Ue=Be[1],We=_(B,0),Ct=(0,W.Z)(We,2),kt=Ct[0],nt=Ct[1],zt=_(B,0),dn=(0,W.Z)(zt,2),wt=dn[0],ht=dn[1],St=(0,V.useState)(null),on=(0,W.Z)(St,2),Gt=on[0],Yt=on[1],vn=(0,V.useState)(null),ln=(0,W.Z)(vn,2),$e=ln[0],_t=ln[1],$t=V.useMemo(function(){return $e===null&&S?Number.MAX_SAFE_INTEGER:$e||0},[$e,Z]),mn=(0,V.useState)(!1),Kt=(0,W.Z)(mn,2),Dn=Kt[0],Un=Kt[1],wn="".concat(K,"-item"),jt=Math.max(it,kt),On=Ne===ye,xn=Se.length&&On,Tn=Ne===y,gn=xn||typeof Ne=="number"&&Se.length>Ne,Sn=(0,V.useMemo)(function(){var et=Se;return xn?Z===null&&S?et=Se:et=Se.slice(0,Math.min(Se.length,Q/Ee)):typeof Ne=="number"&&(et=Se.slice(0,Ne)),et},[Se,Ee,Z,Ne,xn]),Mn=(0,V.useMemo)(function(){return xn?Se.slice($t+1):Se.slice(Sn.length)},[Se,Sn,xn,$t]),Ln=(0,V.useCallback)(function(et,Ve){var H;return typeof qe=="function"?qe(et):(H=qe&&(et==null?void 0:et[qe]))!==null&&H!==void 0?H:Ve},[qe]),Hn=(0,V.useCallback)(Ze||function(et){return et},[Ze]);function Wn(et,Ve,H){$e===et&&(Ve===void 0||Ve===Gt)||(_t(et),H||(Un(et<Se.length-1),P==null||P(et)),Ve!==void 0&&Yt(Ve))}function Bn(et,Ve){ne(Ve.clientWidth)}function ee(et,Ve){Fe(function(H){var ie=new Map(H);return Ve===null?ie.delete(et):ie.set(et,Ve),ie})}function J(et,Ve){nt(Ve),Ue(kt)}function ze(et,Ve){ht(Ve)}function Ae(et){return we.get(Ln(Sn[et],et))}(0,e.Z)(function(){if(Q&&typeof jt=="number"&&Sn){var et=wt,Ve=Sn.length,H=Ve-1;if(!Ve){Wn(0,null);return}for(var ie=0;ie<Ve;ie+=1){var _e=Ae(ie);if(S&&(_e=_e||0),_e===void 0){Wn(ie-1,void 0,!0);break}if(et+=_e,H===0&&et<=Q||ie===H-1&&et+Ae(H)<=Q){Wn(H,null);break}else if(et+jt>Q){Wn(ie-1,et-_e-wt+kt);break}}j&&Ae(0)+wt>Q&&Yt(null)}},[Q,we,kt,wt,Ln,Sn]);var De=Dn&&!!Mn.length,lt={};Gt!==null&&xn&&(lt={position:"absolute",left:Gt,top:0});var me={prefixCls:wn,responsive:xn,component:fe,invalidate:Tn},he=He?function(et,Ve){var H=Ln(et,Ve);return V.createElement(f.Provider,{key:H,value:(0,T.Z)((0,T.Z)({},me),{},{order:Ve,item:et,itemKey:H,registerSize:ee,display:Ve<=$t})},He(et,Ve))}:function(et,Ve){var H=Ln(et,Ve);return V.createElement(a,(0,O.Z)({},me,{order:Ve,key:H,item:et,renderItem:Hn,itemKey:H,registerSize:ee,display:Ve<=$t}))},Te={order:De?$t:Number.MAX_SAFE_INTEGER,className:"".concat(wn,"-rest"),registerSize:J,display:De},Ye=le||d,ot=E?V.createElement(f.Provider,{value:(0,T.Z)((0,T.Z)({},me),Te)},E(Mn)):V.createElement(a,(0,O.Z)({},me,Te),typeof Ye=="function"?Ye(Mn):Ye),mt=V.createElement(re,(0,O.Z)({className:$()(!Tn&&K,Ie),style:Nt,ref:i},v),Sn.map(he),gn?ot:null,j&&V.createElement(a,(0,O.Z)({},me,{responsive:On,responsiveDisabled:!xn,order:$t,className:"".concat(wn,"-suffix"),registerSize:ze,display:!0,style:lt}),j));return On?V.createElement(G.Z,{onResize:Bn,disabled:!xn},mt):mt}var R=V.forwardRef(b);R.displayName="Overflow",R.Item=Y,R.RESPONSIVE=ye,R.INVALIDATE=y;var A=R,w=A},23425:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return I}});var O=u(18082),T=u(5016),W=u(10928),X=u(20049),V=u(52456),p=u(92310),$=u.n(p),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,z=Y===void 0?a:Y,ye=F.locale,y=F.changeSize,d=F.pageSize,b=F.goButton,R=F.quickGo,A=F.rootPrefixCls,w=F.disabled,n=F.buildOptionText,i=F.showSizeChanger,g=F.sizeChangerRender,K=t.useState(""),ue=(0,V.Z)(K,2),Se=ue[0],Ze=ue[1],He=function(){return!Se||Number.isNaN(Se)?void 0:Number(Se)},qe=typeof n=="function"?n:function(j){return"".concat(j," ").concat(ye.items_per_page)},Tt=function(D){Ze(D.target.value)},Ee=function(D){b||Se===""||(Ze(""),!(D.relatedTarget&&(D.relatedTarget.className.indexOf("".concat(A,"-item-link"))>=0||D.relatedTarget.className.indexOf("".concat(A,"-item"))>=0))&&(R==null||R(He())))},Je=function(D){Se!==""&&(D.keyCode===e.Z.ENTER||D.type==="click")&&(Ze(""),R==null||R(He()))},Nt=function(){return z.some(function(D){return D.toString()===d.toString()})?z:z.concat([d]).sort(function(D,re){var fe=Number.isNaN(Number(D))?0:Number(D),P=Number.isNaN(Number(re))?0:Number(re);return fe-P})},Ie="".concat(A,"-options");if(!i&&!R)return null;var Ne=null,le=null,E=null;return i&&g&&(Ne=g({disabled:w,size:d,onSizeChange:function(D){y==null||y(Number(D))},"aria-label":ye.page_size,className:"".concat(Ie,"-size-changer"),options:Nt().map(function(j){return{label:qe(j),value:j}})})),R&&(b&&(E=typeof b=="boolean"?t.createElement("button",{type:"button",onClick:Je,onKeyUp:Je,disabled:w,className:"".concat(Ie,"-quick-jumper-button")},ye.jump_to_confirm):t.createElement("span",{onClick:Je,onKeyUp:Je},b)),le=t.createElement("div",{className:"".concat(Ie,"-quick-jumper")},ye.jump_to,t.createElement("input",{disabled:w,type:"text",value:Se,onChange:Tt,onKeyUp:Je,onBlur:Ee,"aria-label":ye.page}),ye.page,E)),t.createElement("li",{className:Ie},Ne,le)},m=o,x=function(F){var Y=F.rootPrefixCls,z=F.page,ye=F.active,y=F.className,d=F.showTitle,b=F.onClick,R=F.onKeyPress,A=F.itemRender,w="".concat(Y,"-item"),n=$()(w,"".concat(w,"-").concat(z),(0,O.Z)((0,O.Z)({},"".concat(w,"-active"),ye),"".concat(w,"-disabled"),!z),y),i=function(){b(z)},g=function(Se){R(Se,b,z)},K=A(z,"page",t.createElement("a",{rel:"nofollow"},z));return K?t.createElement("li",{title:d?String(z):null,className:n,onClick:i,onKeyDown:g,tabIndex:0},K):null},C=x,h=function(F,Y,z){return z};function _(){}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 z=typeof L=="undefined"?F:L;return Math.floor((Y-1)/z)+1}var k=function(F){var Y=F.prefixCls,z=Y===void 0?"rc-pagination":Y,ye=F.selectPrefixCls,y=ye===void 0?"rc-select":ye,d=F.className,b=F.current,R=F.defaultCurrent,A=R===void 0?1:R,w=F.total,n=w===void 0?0:w,i=F.pageSize,g=F.defaultPageSize,K=g===void 0?10:g,ue=F.onChange,Se=ue===void 0?_:ue,Ze=F.hideOnSinglePage,He=F.align,qe=F.showPrevNextJumpers,Tt=qe===void 0?!0:qe,Ee=F.showQuickJumper,Je=F.showLessItems,Nt=F.showTitle,Ie=Nt===void 0?!0:Nt,Ne=F.onShowSizeChange,le=Ne===void 0?_:Ne,E=F.locale,j=E===void 0?r.Z:E,D=F.style,re=F.totalBoundaryShowSizeChanger,fe=re===void 0?50:re,P=F.disabled,v=F.simple,S=F.showTotal,B=F.showSizeChanger,N=B===void 0?n>fe:B,U=F.sizeChangerRender,Z=F.pageSizeOptions,ne=F.itemRender,Q=ne===void 0?h:ne,ce=F.jumpPrevIcon,be=F.jumpNextIcon,we=F.prevIcon,Fe=F.nextIcon,Le=t.useRef(null),Be=(0,G.Z)(10,{value:i,defaultValue:K}),it=(0,V.Z)(Be,2),Ue=it[0],We=it[1],Ct=(0,G.Z)(1,{value:b,defaultValue:A,postState:function(ut){return Math.max(1,Math.min(ut,l(void 0,Ue,n)))}}),kt=(0,V.Z)(Ct,2),nt=kt[0],zt=kt[1],dn=t.useState(nt),wt=(0,V.Z)(dn,2),ht=wt[0],St=wt[1];(0,t.useEffect)(function(){St(nt)},[nt]);var on=Se!==_,Gt="current"in F,Yt=Math.max(1,nt-(Je?3:5)),vn=Math.min(l(void 0,Ue,n),nt+(Je?3:5));function ln(rt,ut){var dt=rt||t.createElement("button",{type:"button","aria-label":ut,className:"".concat(z,"-item-link")});return typeof rt=="function"&&(dt=t.createElement(rt,(0,X.Z)({},F))),dt}function $e(rt){var ut=rt.target.value,dt=l(void 0,Ue,n),Ut;return ut===""?Ut=ut:Number.isNaN(Number(ut))?Ut=ht:ut>=dt?Ut=dt:Ut=Number(ut),Ut}function _t(rt){return f(rt)&&rt!==nt&&f(n)&&n>0}var $t=n>Ue?Ee:!1;function mn(rt){(rt.keyCode===e.Z.UP||rt.keyCode===e.Z.DOWN)&&rt.preventDefault()}function Kt(rt){var ut=$e(rt);switch(ut!==ht&&St(ut),rt.keyCode){case e.Z.ENTER:wn(ut);break;case e.Z.UP:wn(ut-1);break;case e.Z.DOWN:wn(ut+1);break;default:break}}function Dn(rt){wn($e(rt))}function Un(rt){var ut=l(rt,Ue,n),dt=nt>ut&&ut!==0?ut:nt;We(rt),St(dt),le==null||le(nt,rt),zt(dt),Se==null||Se(dt,rt)}function wn(rt){if(_t(rt)&&!P){var ut=l(void 0,Ue,n),dt=rt;return rt>ut?dt=ut:rt<1&&(dt=1),dt!==ht&&St(dt),zt(dt),Se==null||Se(dt,Ue),dt}return nt}var jt=nt>1,On=nt<l(void 0,Ue,n);function xn(){jt&&wn(nt-1)}function Tn(){On&&wn(nt+1)}function gn(){wn(Yt)}function Sn(){wn(vn)}function Mn(rt,ut){if(rt.key==="Enter"||rt.charCode===e.Z.ENTER||rt.keyCode===e.Z.ENTER){for(var dt=arguments.length,Ut=new Array(dt>2?dt-2:0),Pt=2;Pt<dt;Pt++)Ut[Pt-2]=arguments[Pt];ut.apply(void 0,Ut)}}function Ln(rt){Mn(rt,xn)}function Hn(rt){Mn(rt,Tn)}function Wn(rt){Mn(rt,gn)}function Bn(rt){Mn(rt,Sn)}function ee(rt){var ut=Q(rt,"prev",ln(we,"prev page"));return t.isValidElement(ut)?t.cloneElement(ut,{disabled:!jt}):ut}function J(rt){var ut=Q(rt,"next",ln(Fe,"next page"));return t.isValidElement(ut)?t.cloneElement(ut,{disabled:!On}):ut}function ze(rt){(rt.type==="click"||rt.keyCode===e.Z.ENTER)&&wn(ht)}var Ae=null,De=(0,s.Z)(F,{aria:!0,data:!0}),lt=S&&t.createElement("li",{className:"".concat(z,"-total-text")},S(n,[n===0?0:(nt-1)*Ue+1,nt*Ue>n?n:nt*Ue])),me=null,he=l(void 0,Ue,n);if(Ze&&n<=Ue)return null;var Te=[],Ye={rootPrefixCls:z,onClick:wn,onKeyPress:Mn,showTitle:Ie,itemRender:Q,page:-1},ot=nt-1>0?nt-1:0,mt=nt+1<he?nt+1:he,et=Ee&&Ee.goButton,Ve=(0,W.Z)(v)==="object"?v.readOnly:!v,H=et,ie=null;v&&(et&&(typeof et=="boolean"?H=t.createElement("button",{type:"button",onClick:ze,onKeyUp:ze},j.jump_to_confirm):H=t.createElement("span",{onClick:ze,onKeyUp:ze},et),H=t.createElement("li",{title:Ie?"".concat(j.jump_to).concat(nt,"/").concat(he):null,className:"".concat(z,"-simple-pager")},H)),ie=t.createElement("li",{title:Ie?"".concat(nt,"/").concat(he):null,className:"".concat(z,"-simple-pager")},Ve?ht:t.createElement("input",{type:"text","aria-label":j.jump_to,value:ht,disabled:P,onKeyDown:mn,onKeyUp:Kt,onChange:Kt,onBlur:Dn,size:3}),t.createElement("span",{className:"".concat(z,"-slash")},"/"),he));var _e=Je?1:2;if(he<=3+_e*2){he||Te.push(t.createElement(C,(0,T.Z)({},Ye,{key:"noPager",page:1,className:"".concat(z,"-item-disabled")})));for(var de=1;de<=he;de+=1)Te.push(t.createElement(C,(0,T.Z)({},Ye,{key:de,page:de,active:nt===de})))}else{var ke=Je?j.prev_3:j.prev_5,je=Je?j.next_3:j.next_5,Pe=Q(Yt,"jump-prev",ln(ce,"prev page")),Ge=Q(vn,"jump-next",ln(be,"next page"));Tt&&(Ae=Pe?t.createElement("li",{title:Ie?ke:null,key:"prev",onClick:gn,tabIndex:0,onKeyDown:Wn,className:$()("".concat(z,"-jump-prev"),(0,O.Z)({},"".concat(z,"-jump-prev-custom-icon"),!!ce))},Pe):null,me=Ge?t.createElement("li",{title:Ie?je:null,key:"next",onClick:Sn,tabIndex:0,onKeyDown:Bn,className:$()("".concat(z,"-jump-next"),(0,O.Z)({},"".concat(z,"-jump-next-custom-icon"),!!be))},Ge):null);var Qe=Math.max(1,nt-_e),st=Math.min(nt+_e,he);nt-1<=_e&&(st=1+_e*2),he-nt<=_e&&(Qe=he-_e*2);for(var Rt=Qe;Rt<=st;Rt+=1)Te.push(t.createElement(C,(0,T.Z)({},Ye,{key:Rt,page:Rt,active:nt===Rt})));if(nt-1>=_e*2&&nt!==3&&(Te[0]=t.cloneElement(Te[0],{className:$()("".concat(z,"-item-after-jump-prev"),Te[0].props.className)}),Te.unshift(Ae)),he-nt>=_e*2&&nt!==he-2){var at=Te[Te.length-1];Te[Te.length-1]=t.cloneElement(at,{className:$()("".concat(z,"-item-before-jump-next"),at.props.className)}),Te.push(me)}Qe!==1&&Te.unshift(t.createElement(C,(0,T.Z)({},Ye,{key:1,page:1}))),st!==he&&Te.push(t.createElement(C,(0,T.Z)({},Ye,{key:he,page:he})))}var It=ee(ot);if(It){var Mt=!jt||!he;It=t.createElement("li",{title:Ie?j.prev_page:null,onClick:xn,tabIndex:Mt?null:0,onKeyDown:Ln,className:$()("".concat(z,"-prev"),(0,O.Z)({},"".concat(z,"-disabled"),Mt)),"aria-disabled":Mt},It)}var Zt=J(mt);if(Zt){var vt,gt;v?(vt=!On,gt=jt?0:null):(vt=!On||!he,gt=vt?null:0),Zt=t.createElement("li",{title:Ie?j.next_page:null,onClick:Tn,tabIndex:gt,onKeyDown:Hn,className:$()("".concat(z,"-next"),(0,O.Z)({},"".concat(z,"-disabled"),vt)),"aria-disabled":vt},Zt)}var Wt=$()(z,d,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(z,"-start"),He==="start"),"".concat(z,"-center"),He==="center"),"".concat(z,"-end"),He==="end"),"".concat(z,"-simple"),v),"".concat(z,"-disabled"),P));return t.createElement("ul",(0,T.Z)({className:Wt,style:D,ref:Le},De),lt,It,v?ie:Te,Zt,t.createElement(m,{locale:j,rootPrefixCls:z,disabled:P,selectPrefixCls:y,changeSize:Un,pageSize:Ue,pageSizeOptions:Z,quickGo:$t?wn:null,goButton:H,showSizeChanger:N,sizeChangerRender:U}))},I=k},29301:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return y}});var O=u(5016),T=u(59301),W=u(11592),X=u(48736),V=u(20049),p=u(10928),$=u(76846),G=u(8654),e=T.createContext(null);function s(d){var b=d.children,R=d.onBatchResize,A=T.useRef(0),w=T.useRef([]),n=T.useContext(e),i=T.useCallback(function(g,K,ue){A.current+=1;var Se=A.current;w.current.push({size:g,element:K,data:ue}),Promise.resolve().then(function(){Se===A.current&&(R==null||R(w.current),w.current=[])}),n==null||n(g,K,ue)},[R,n]);return T.createElement(e.Provider,{value:i},b)}var c=u(76374),t=new Map;function r(d){d.forEach(function(b){var R,A=b.target;(R=t.get(A))===null||R===void 0||R.forEach(function(w){return w(A)})})}var a=new c.Z(r),o=null,m=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(6487),_=u(56789),f=u(7942),l=u(76773),k=function(d){(0,f.Z)(R,d);var b=(0,l.Z)(R);function R(){return(0,h.Z)(this,R),b.apply(this,arguments)}return(0,_.Z)(R,[{key:"render",value:function(){return this.props.children}}]),R}(T.Component);function I(d,b){var R=d.children,A=d.disabled,w=T.useRef(null),n=T.useRef(null),i=T.useContext(e),g=typeof R=="function",K=g?R(w):R,ue=T.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Se=!g&&T.isValidElement(K)&&(0,G.Yr)(K),Ze=Se?(0,G.C4)(K):null,He=(0,G.x1)(Ze,w),qe=function(){var Nt;return(0,$.ZP)(w.current)||(w.current&&(0,p.Z)(w.current)==="object"?(0,$.ZP)((Nt=w.current)===null||Nt===void 0?void 0:Nt.nativeElement):null)||(0,$.ZP)(n.current)};T.useImperativeHandle(b,function(){return qe()});var Tt=T.useRef(d);Tt.current=d;var Ee=T.useCallback(function(Je){var Nt=Tt.current,Ie=Nt.onResize,Ne=Nt.data,le=Je.getBoundingClientRect(),E=le.width,j=le.height,D=Je.offsetWidth,re=Je.offsetHeight,fe=Math.floor(E),P=Math.floor(j);if(ue.current.width!==fe||ue.current.height!==P||ue.current.offsetWidth!==D||ue.current.offsetHeight!==re){var v={width:fe,height:P,offsetWidth:D,offsetHeight:re};ue.current=v;var S=D===Math.round(E)?E:D,B=re===Math.round(j)?j:re,N=(0,V.Z)((0,V.Z)({},v),{},{offsetWidth:S,offsetHeight:B});i==null||i(N,Je,Ne),Ie&&Promise.resolve().then(function(){Ie(N,Je)})}},[]);return T.useEffect(function(){var Je=qe();return Je&&!A&&x(Je,Ee),function(){return C(Je,Ee)}},[w.current,A]),T.createElement(k,{ref:n},Se?T.cloneElement(K,{ref:He}):K)}var L=T.forwardRef(I),F=L,Y="rc-observer-key";function z(d,b){var R=d.children,A=typeof R=="function"?[R]:(0,W.Z)(R);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 ye=T.forwardRef(z);ye.Collection=s;var y=ye},6551:function(Lt,Ke,u){"use strict";u.d(Ke,{ZP:function(){return $}});var O=u(52456),T=u(59301),W=u(47273),X=0,V=(0,W.Z)();function p(){var G;return V?(G=X,X+=1):G="TEST_OR_SSR",G}function $(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(p()))},[]),G||c}},37463:function(Lt,Ke,u){"use strict";u.d(Ke,{Ac:function(){return Be},Xo:function(){return Ue},Wx:function(){return Ct},ZP:function(){return Bn},lk:function(){return _}});var O=u(5016),T=u(92393),W=u(18082),X=u(20049),V=u(52456),p=u(5883),$=u(10928),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),m=function(J){var ze=J.className,Ae=J.customizeIcon,De=J.customizeIconProps,lt=J.children,me=J.onMouseDown,he=J.onClick,Te=typeof Ae=="function"?Ae(De):Ae;return s.createElement("span",{className:ze,onMouseDown:function(ot){ot.preventDefault(),me==null||me(ot)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:he,"aria-hidden":!0},Te!==void 0?Te:s.createElement("span",{className:t()(ze.split(/\s+/).map(function(Ye){return"".concat(Ye,"-icon")}))},lt))},x=m,C=function(J,ze,Ae,De,lt){var me=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,he=arguments.length>6?arguments[6]:void 0,Te=arguments.length>7?arguments[7]:void 0,Ye=s.useMemo(function(){if((0,$.Z)(De)==="object")return De.clearIcon;if(lt)return lt},[De,lt]),ot=s.useMemo(function(){return!!(!me&&De&&(Ae.length||he)&&!(Te==="combobox"&&he===""))},[De,me,Ae.length,he,Te]);return{allowClear:ot,clearIcon:s.createElement(x,{className:"".concat(J,"-clear"),onMouseDown:ze,customizeIcon:Ye},"\xD7")}},h=s.createContext(null);function _(){return s.useContext(h)}function f(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,J=s.useState(!1),ze=(0,V.Z)(J,2),Ae=ze[0],De=ze[1],lt=s.useRef(null),me=function(){window.clearTimeout(lt.current)};s.useEffect(function(){return me},[]);var he=function(Ye,ot){me(),lt.current=window.setTimeout(function(){De(Ye),ot&&ot()},ee)};return[Ae,he,me]}function l(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=s.useRef(null),ze=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(ze.current)}},[]);function Ae(De){(De||J.current===null)&&(J.current=De),window.clearTimeout(ze.current),ze.current=window.setTimeout(function(){J.current=null},ee)}return[function(){return J.current},Ae]}function k(ee,J,ze,Ae){var De=s.useRef(null);De.current={open:J,triggerOpen:ze,customizedTrigger:Ae},s.useEffect(function(){function lt(me){var he;if(!((he=De.current)!==null&&he!==void 0&&he.customizedTrigger)){var Te=me.target;Te.shadowRoot&&me.composed&&(Te=me.composedPath()[0]||Te),De.current.open&&ee().filter(function(Ye){return Ye}).every(function(Ye){return!Ye.contains(Te)&&Ye!==Te})&&De.current.triggerOpen(!1)}}return window.addEventListener("mousedown",lt),function(){return window.removeEventListener("mousedown",lt)}},[])}var I=u(10228);function L(ee){return ee&&![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(ee)}var F=u(26112),Y=u(11780);function z(ee,J,ze){var Ae=(0,X.Z)((0,X.Z)({},ee),ze?J:{});return Object.keys(J).forEach(function(De){var lt=J[De];typeof lt=="function"&&(Ae[De]=function(){for(var me,he=arguments.length,Te=new Array(he),Ye=0;Ye<he;Ye++)Te[Ye]=arguments[Ye];return lt.apply(void 0,Te),(me=ee[De])===null||me===void 0?void 0:me.call.apply(me,[ee].concat(Te))})}),Ae}var ye=z,y=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],d=function(J,ze){var Ae=J.prefixCls,De=J.id,lt=J.inputElement,me=J.autoFocus,he=J.autoComplete,Te=J.editable,Ye=J.activeDescendantId,ot=J.value,mt=J.open,et=J.attrs,Ve=(0,p.Z)(J,y),H=lt||s.createElement("input",null),ie=H,_e=ie.ref,de=ie.props;return(0,e.Kp)(!("maxLength"in H.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),H=s.cloneElement(H,(0,X.Z)((0,X.Z)((0,X.Z)({type:"search"},ye(Ve,de,!0)),{},{id:De,ref:(0,o.sQ)(ze,_e),autoComplete:he||"off",autoFocus:me,className:t()("".concat(Ae,"-selection-search-input"),de==null?void 0:de.className),role:"combobox","aria-expanded":mt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(De,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(De,"_list"),"aria-activedescendant":mt?Ye:void 0},et),{},{value:Te?ot:"",readOnly:!Te,unselectable:Te?null:"on",style:(0,X.Z)((0,X.Z)({},de.style),{},{opacity:Te?null:0})})),H},b=s.forwardRef(d),R=b;function A(ee){return Array.isArray(ee)?ee:ee!==void 0?[ee]:[]}var w=typeof window!="undefined"&&window.document&&window.document.documentElement,n=w;function i(ee){return ee!=null}function g(ee){return!ee&&ee!==0}function K(ee){return["string","number"].includes((0,$.Z)(ee))}function ue(ee){var J=void 0;return ee&&(K(ee.title)?J=ee.title.toString():K(ee.label)&&(J=ee.label.toString())),J}function Se(ee,J){n?s.useLayoutEffect(ee,J):s.useEffect(ee,J)}function Ze(ee){var J;return(J=ee.key)!==null&&J!==void 0?J:ee.value}var He=function(J){J.preventDefault(),J.stopPropagation()},qe=function(J){var ze=J.id,Ae=J.prefixCls,De=J.values,lt=J.open,me=J.searchValue,he=J.autoClearSearchValue,Te=J.inputRef,Ye=J.placeholder,ot=J.disabled,mt=J.mode,et=J.showSearch,Ve=J.autoFocus,H=J.autoComplete,ie=J.activeDescendantId,_e=J.tabIndex,de=J.removeIcon,ke=J.maxTagCount,je=J.maxTagTextLength,Pe=J.maxTagPlaceholder,Ge=Pe===void 0?function(ve){return"+ ".concat(ve.length," ...")}:Pe,Qe=J.tagRender,st=J.onToggleOpen,Rt=J.onRemove,at=J.onInputChange,It=J.onInputPaste,Mt=J.onInputKeyDown,Zt=J.onInputMouseDown,vt=J.onInputCompositionStart,gt=J.onInputCompositionEnd,Wt=J.onInputBlur,rt=s.useRef(null),ut=(0,s.useState)(0),dt=(0,V.Z)(ut,2),Ut=dt[0],Pt=dt[1],Ft=(0,s.useState)(!1),In=(0,V.Z)(Ft,2),M=In[0],ae=In[1],q="".concat(Ae,"-selection"),se=lt||mt==="multiple"&&he===!1||mt==="tags"?me:"",pe=mt==="tags"||mt==="multiple"&&he===!1||et&&(lt||M);Se(function(){Pt(rt.current.scrollWidth)},[se]);var xe=function(ge,Ce,Xe,ft,tt){return s.createElement("span",{title:ue(ge),className:t()("".concat(q,"-item"),(0,W.Z)({},"".concat(q,"-item-disabled"),Xe))},s.createElement("span",{className:"".concat(q,"-item-content")},Ce),ft&&s.createElement(x,{className:"".concat(q,"-item-remove"),onMouseDown:He,onClick:tt,customizeIcon:de},"\xD7"))},Me=function(ge,Ce,Xe,ft,tt,xt){var Dt=function(Xt){He(Xt),st(!lt)};return s.createElement("span",{onMouseDown:Dt},Qe({label:Ce,value:ge,disabled:Xe,closable:ft,onClose:tt,isMaxTag:!!xt}))},Oe=function(ge){var Ce=ge.disabled,Xe=ge.label,ft=ge.value,tt=!ot&&!Ce,xt=Xe;if(typeof je=="number"&&(typeof Xe=="string"||typeof Xe=="number")){var Dt=String(xt);Dt.length>je&&(xt="".concat(Dt.slice(0,je),"..."))}var Ot=function(ct){ct&&ct.stopPropagation(),Rt(ge)};return typeof Qe=="function"?Me(ft,xt,Ce,tt,Ot):xe(ge,xt,Ce,tt,Ot)},Re=function(ge){if(!De.length)return null;var Ce=typeof Ge=="function"?Ge(ge):Ge;return typeof Qe=="function"?Me(void 0,Ce,!1,!1,void 0,!0):xe({title:Ce},Ce,!1)},te=s.createElement("div",{className:"".concat(q,"-search"),style:{width:Ut},onFocus:function(){ae(!0)},onBlur:function(){ae(!1)}},s.createElement(R,{ref:Te,open:lt,prefixCls:Ae,id:ze,inputElement:null,disabled:ot,autoFocus:Ve,autoComplete:H,editable:pe,activeDescendantId:ie,value:se,onKeyDown:Mt,onMouseDown:Zt,onChange:at,onPaste:It,onCompositionStart:vt,onCompositionEnd:gt,onBlur:Wt,tabIndex:_e,attrs:(0,F.Z)(J,!0)}),s.createElement("span",{ref:rt,className:"".concat(q,"-search-mirror"),"aria-hidden":!0},se,"\xA0")),oe=s.createElement(Y.Z,{prefixCls:"".concat(q,"-overflow"),data:De,renderItem:Oe,renderRest:Re,suffix:te,itemKey:Ze,maxCount:ke});return s.createElement("span",{className:"".concat(q,"-wrap")},oe,!De.length&&!se&&s.createElement("span",{className:"".concat(q,"-placeholder")},Ye))},Tt=qe,Ee=function(J){var ze=J.inputElement,Ae=J.prefixCls,De=J.id,lt=J.inputRef,me=J.disabled,he=J.autoFocus,Te=J.autoComplete,Ye=J.activeDescendantId,ot=J.mode,mt=J.open,et=J.values,Ve=J.placeholder,H=J.tabIndex,ie=J.showSearch,_e=J.searchValue,de=J.activeValue,ke=J.maxLength,je=J.onInputKeyDown,Pe=J.onInputMouseDown,Ge=J.onInputChange,Qe=J.onInputPaste,st=J.onInputCompositionStart,Rt=J.onInputCompositionEnd,at=J.onInputBlur,It=J.title,Mt=s.useState(!1),Zt=(0,V.Z)(Mt,2),vt=Zt[0],gt=Zt[1],Wt=ot==="combobox",rt=Wt||ie,ut=et[0],dt=_e||"";Wt&&de&&!vt&&(dt=de),s.useEffect(function(){Wt&&gt(!1)},[Wt,de]);var Ut=ot!=="combobox"&&!mt&&!ie?!1:!!dt,Pt=It===void 0?ue(ut):It,Ft=s.useMemo(function(){return ut?null:s.createElement("span",{className:"".concat(Ae,"-selection-placeholder"),style:Ut?{visibility:"hidden"}:void 0},Ve)},[ut,Ut,Ve,Ae]);return s.createElement("span",{className:"".concat(Ae,"-selection-wrap")},s.createElement("span",{className:"".concat(Ae,"-selection-search")},s.createElement(R,{ref:lt,prefixCls:Ae,id:De,open:mt,inputElement:ze,disabled:me,autoFocus:he,autoComplete:Te,editable:rt,activeDescendantId:Ye,value:dt,onKeyDown:je,onMouseDown:Pe,onChange:function(M){gt(!0),Ge(M)},onPaste:Qe,onCompositionStart:st,onCompositionEnd:Rt,onBlur:at,tabIndex:H,attrs:(0,F.Z)(J,!0),maxLength:Wt?ke:void 0})),!Wt&&ut?s.createElement("span",{className:"".concat(Ae,"-selection-item"),title:Pt,style:Ut?{visibility:"hidden"}:void 0},ut.label):null,Ft)},Je=Ee,Nt=function(J,ze){var Ae=(0,s.useRef)(null),De=(0,s.useRef)(!1),lt=J.prefixCls,me=J.open,he=J.mode,Te=J.showSearch,Ye=J.tokenWithEnter,ot=J.disabled,mt=J.prefix,et=J.autoClearSearchValue,Ve=J.onSearch,H=J.onSearchSubmit,ie=J.onToggleOpen,_e=J.onInputKeyDown,de=J.onInputBlur,ke=J.domRef;s.useImperativeHandle(ze,function(){return{focus:function(Pt){Ae.current.focus(Pt)},blur:function(){Ae.current.blur()}}});var je=l(0),Pe=(0,V.Z)(je,2),Ge=Pe[0],Qe=Pe[1],st=function(Pt){var Ft=Pt.which,In=Ae.current instanceof HTMLTextAreaElement;!In&&me&&(Ft===I.Z.UP||Ft===I.Z.DOWN)&&Pt.preventDefault(),_e&&_e(Pt),Ft===I.Z.ENTER&&he==="tags"&&!De.current&&!me&&(H==null||H(Pt.target.value)),!(In&&!me&&~[I.Z.UP,I.Z.DOWN,I.Z.LEFT,I.Z.RIGHT].indexOf(Ft))&&L(Ft)&&ie(!0)},Rt=function(){Qe(!0)},at=(0,s.useRef)(null),It=function(Pt){Ve(Pt,!0,De.current)!==!1&&ie(!0)},Mt=function(){De.current=!0},Zt=function(Pt){De.current=!1,he!=="combobox"&&It(Pt.target.value)},vt=function(Pt){var Ft=Pt.target.value;if(Ye&&at.current&&/[\r\n]/.test(at.current)){var In=at.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ft=Ft.replace(In,at.current)}at.current=null,It(Ft)},gt=function(Pt){var Ft=Pt.clipboardData,In=Ft==null?void 0:Ft.getData("text");at.current=In||""},Wt=function(Pt){var Ft=Pt.target;if(Ft!==Ae.current){var In=document.body.style.msTouchAction!==void 0;In?setTimeout(function(){Ae.current.focus()}):Ae.current.focus()}},rt=function(Pt){var Ft=Ge();Pt.target!==Ae.current&&!Ft&&!(he==="combobox"&&ot)&&Pt.preventDefault(),(he!=="combobox"&&(!Te||!Ft)||!me)&&(me&&et!==!1&&Ve("",!0,!1),ie())},ut={inputRef:Ae,onInputKeyDown:st,onInputMouseDown:Rt,onInputChange:vt,onInputPaste:gt,onInputCompositionStart:Mt,onInputCompositionEnd:Zt,onInputBlur:de},dt=he==="multiple"||he==="tags"?s.createElement(Tt,(0,O.Z)({},J,ut)):s.createElement(Je,(0,O.Z)({},J,ut));return s.createElement("div",{ref:ke,className:"".concat(lt,"-selector"),onClick:Wt,onMouseDown:rt},mt&&s.createElement("div",{className:"".concat(lt,"-prefix")},mt),dt)},Ie=s.forwardRef(Nt),Ne=Ie,le=u(65352),E=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],j=function(J){var ze=J===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ze,adjustY:1},htmlRegion:"scroll"}}},D=function(J,ze){var Ae=J.prefixCls,De=J.disabled,lt=J.visible,me=J.children,he=J.popupElement,Te=J.animation,Ye=J.transitionName,ot=J.dropdownStyle,mt=J.dropdownClassName,et=J.direction,Ve=et===void 0?"ltr":et,H=J.placement,ie=J.builtinPlacements,_e=J.dropdownMatchSelectWidth,de=J.dropdownRender,ke=J.dropdownAlign,je=J.getPopupContainer,Pe=J.empty,Ge=J.getTriggerDOMNode,Qe=J.onPopupVisibleChange,st=J.onPopupMouseEnter,Rt=(0,p.Z)(J,E),at="".concat(Ae,"-dropdown"),It=he;de&&(It=de(he));var Mt=s.useMemo(function(){return ie||j(_e)},[ie,_e]),Zt=Te?"".concat(at,"-").concat(Te):Ye,vt=typeof _e=="number",gt=s.useMemo(function(){return vt?null:_e===!1?"minWidth":"width"},[_e,vt]),Wt=ot;vt&&(Wt=(0,X.Z)((0,X.Z)({},Wt),{},{width:_e}));var rt=s.useRef(null);return s.useImperativeHandle(ze,function(){return{getPopupElement:function(){var dt;return(dt=rt.current)===null||dt===void 0?void 0:dt.popupElement}}}),s.createElement(le.Z,(0,O.Z)({},Rt,{showAction:Qe?["click"]:[],hideAction:Qe?["click"]:[],popupPlacement:H||(Ve==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Mt,prefixCls:at,popupTransitionName:Zt,popup:s.createElement("div",{onMouseEnter:st},It),ref:rt,stretch:gt,popupAlign:ke,popupVisible:lt,getPopupContainer:je,popupClassName:t()(mt,(0,W.Z)({},"".concat(at,"-empty"),Pe)),popupStyle:Wt,getTriggerDOMNode:Ge,onPopupVisibleChange:Qe}),me)},re=s.forwardRef(D),fe=re,P=u(74604);function v(ee,J){var ze=ee.key,Ae;return"value"in ee&&(Ae=ee.value),ze!=null?ze:Ae!==void 0?Ae:"rc-index-key-".concat(J)}function S(ee){return typeof ee!="undefined"&&!Number.isNaN(ee)}function B(ee,J){var ze=ee||{},Ae=ze.label,De=ze.value,lt=ze.options,me=ze.groupLabel,he=Ae||(J?"children":"label");return{label:he,value:De||"value",options:lt||"options",groupLabel:me||he}}function N(ee){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ze=J.fieldNames,Ae=J.childrenAsData,De=[],lt=B(ze,!1),me=lt.label,he=lt.value,Te=lt.options,Ye=lt.groupLabel;function ot(mt,et){Array.isArray(mt)&&mt.forEach(function(Ve){if(et||!(Te in Ve)){var H=Ve[he];De.push({key:v(Ve,De.length),groupOption:et,data:Ve,label:Ve[me],value:H})}else{var ie=Ve[Ye];ie===void 0&&Ae&&(ie=Ve.label),De.push({key:v(Ve,De.length),group:!0,data:Ve,label:ie}),ot(Ve[Te],!0)}})}return ot(ee,!1),De}function U(ee){var J=(0,X.Z)({},ee);return"props"in J||Object.defineProperty(J,"props",{get:function(){return(0,e.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),J}}),J}var Z=function(J,ze,Ae){if(!ze||!ze.length)return null;var De=!1,lt=function he(Te,Ye){var ot=(0,P.Z)(Ye),mt=ot[0],et=ot.slice(1);if(!mt)return[Te];var Ve=Te.split(mt);return De=De||Ve.length>1,Ve.reduce(function(H,ie){return[].concat((0,T.Z)(H),(0,T.Z)(he(ie,et)))},[]).filter(Boolean)},me=lt(J,ze);return De?typeof Ae!="undefined"?me.slice(0,Ae):me:null},ne=s.createContext(null),Q=ne;function ce(ee){var J=ee.visible,ze=ee.values;if(!J)return null;var Ae=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(ze.slice(0,Ae).map(function(De){var lt=De.label,me=De.value;return["number","string"].includes((0,$.Z)(lt))?lt:me}).join(", ")),ze.length>Ae?", ...":null)}var be=["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"],we=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Fe=function(J){return J==="tags"||J==="multiple"},Le=s.forwardRef(function(ee,J){var ze,Ae=ee.id,De=ee.prefixCls,lt=ee.className,me=ee.showSearch,he=ee.tagRender,Te=ee.direction,Ye=ee.omitDomProps,ot=ee.displayValues,mt=ee.onDisplayValuesChange,et=ee.emptyOptions,Ve=ee.notFoundContent,H=Ve===void 0?"Not Found":Ve,ie=ee.onClear,_e=ee.mode,de=ee.disabled,ke=ee.loading,je=ee.getInputElement,Pe=ee.getRawInputElement,Ge=ee.open,Qe=ee.defaultOpen,st=ee.onDropdownVisibleChange,Rt=ee.activeValue,at=ee.onActiveValueChange,It=ee.activeDescendantId,Mt=ee.searchValue,Zt=ee.autoClearSearchValue,vt=ee.onSearch,gt=ee.onSearchSplit,Wt=ee.tokenSeparators,rt=ee.allowClear,ut=ee.prefix,dt=ee.suffixIcon,Ut=ee.clearIcon,Pt=ee.OptionList,Ft=ee.animation,In=ee.transitionName,M=ee.dropdownStyle,ae=ee.dropdownClassName,q=ee.dropdownMatchSelectWidth,se=ee.dropdownRender,pe=ee.dropdownAlign,xe=ee.placement,Me=ee.builtinPlacements,Oe=ee.getPopupContainer,Re=ee.showAction,te=Re===void 0?[]:Re,oe=ee.onFocus,ve=ee.onBlur,ge=ee.onKeyUp,Ce=ee.onKeyDown,Xe=ee.onMouseDown,ft=(0,p.Z)(ee,be),tt=Fe(_e),xt=(me!==void 0?me:tt)||_e==="combobox",Dt=(0,X.Z)({},ft);we.forEach(function(Nn){delete Dt[Nn]}),Ye==null||Ye.forEach(function(Nn){delete Dt[Nn]});var Ot=s.useState(!1),Xt=(0,V.Z)(Ot,2),ct=Xt[0],hn=Xt[1];s.useEffect(function(){hn((0,a.Z)())},[]);var an=s.useRef(null),tn=s.useRef(null),Vt=s.useRef(null),nn=s.useRef(null),pn=s.useRef(null),en=s.useRef(!1),fn=f(),At=(0,V.Z)(fn,3),pt=At[0],Et=At[1],Jt=At[2];s.useImperativeHandle(J,function(){var Nn,Cn;return{focus:(Nn=nn.current)===null||Nn===void 0?void 0:Nn.focus,blur:(Cn=nn.current)===null||Cn===void 0?void 0:Cn.blur,scrollTo:function(qn){var er;return(er=pn.current)===null||er===void 0?void 0:er.scrollTo(qn)},nativeElement:an.current||tn.current}});var cn=s.useMemo(function(){var Nn;if(_e!=="combobox")return Mt;var Cn=(Nn=ot[0])===null||Nn===void 0?void 0:Nn.value;return typeof Cn=="string"||typeof Cn=="number"?String(Cn):""},[Mt,_e,ot]),sn=_e==="combobox"&&typeof je=="function"&&je()||null,un=typeof Pe=="function"&&Pe(),jn=(0,o.x1)(tn,un==null||(ze=un.props)===null||ze===void 0?void 0:ze.ref),Jn=s.useState(!1),Gn=(0,V.Z)(Jn,2),sr=Gn[0],ir=Gn[1];(0,r.Z)(function(){ir(!0)},[]);var Yn=(0,G.Z)(!1,{defaultValue:Qe,value:Ge}),_n=(0,V.Z)(Yn,2),kn=_n[0],zn=_n[1],An=sr?kn:!1,yn=!H&&et;(de||yn&&An&&_e==="combobox")&&(An=!1);var bn=yn?!1:An,yt=s.useCallback(function(Nn){var Cn=Nn!==void 0?Nn:!An;de||(zn(Cn),An!==Cn&&(st==null||st(Cn)))},[de,An,zn,st]),qt=s.useMemo(function(){return(Wt||[]).some(function(Nn){return[`
`,`\r
`].includes(Nn)})},[Wt]),Qt=s.useContext(Q)||{},rn=Qt.maxCount,Rn=Qt.rawValues,Zn=function(Cn,nr,qn){if(!(tt&&S(rn)&&(Rn==null?void 0:Rn.size)>=rn)){var er=!0,rr=Cn;at==null||at(null);var yr=Z(Cn,Wt,S(rn)?rn-Rn.size:void 0),gr=qn?null:yr;return _e!=="combobox"&&gr&&(rr="",gt==null||gt(gr),yt(!1),er=!1),vt&&cn!==rr&&vt(rr,{source:nr?"typing":"effect"}),er}},bt=function(Cn){!Cn||!Cn.trim()||vt(Cn,{source:"submit"})};s.useEffect(function(){!An&&!tt&&_e!=="combobox"&&Zn("",!1,!1)},[An]),s.useEffect(function(){kn&&de&&zn(!1),de&&!en.current&&Et(!1)},[de]);var Bt=l(),En=(0,V.Z)(Bt,2),Ht=En[0],Pn=En[1],or=s.useRef(!1),$n=function(Cn){var nr=Ht(),qn=Cn.key,er=qn==="Enter";if(er&&(_e!=="combobox"&&Cn.preventDefault(),An||yt(!0)),Pn(!!cn),qn==="Backspace"&&!nr&&tt&&!cn&&ot.length){for(var rr=(0,T.Z)(ot),yr=null,gr=rr.length-1;gr>=0;gr-=1){var xr=rr[gr];if(!xr.disabled){rr.splice(gr,1),yr=xr;break}}yr&&mt(rr,{type:"remove",values:[yr]})}for(var ar=arguments.length,mr=new Array(ar>1?ar-1:0),Rr=1;Rr<ar;Rr++)mr[Rr-1]=arguments[Rr];if(An&&(!er||!or.current)){var Er;er&&(or.current=!0),(Er=pn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Cn].concat(mr))}Ce==null||Ce.apply(void 0,[Cn].concat(mr))},fr=function(Cn){for(var nr=arguments.length,qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)qn[er-1]=arguments[er];if(An){var rr;(rr=pn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Cn].concat(qn))}Cn.key==="Enter"&&(or.current=!1),ge==null||ge.apply(void 0,[Cn].concat(qn))},ur=function(Cn){var nr=ot.filter(function(qn){return qn!==Cn});mt(nr,{type:"remove",values:[Cn]})},vr=function(){or.current=!1},Qn=s.useRef(!1),Fr=function(){Et(!0),de||(oe&&!Qn.current&&oe.apply(void 0,arguments),te.includes("focus")&&yt(!0)),Qn.current=!0},Br=function(){en.current=!0,Et(!1,function(){Qn.current=!1,en.current=!1,yt(!1)}),!de&&(cn&&(_e==="tags"?vt(cn,{source:"submit"}):_e==="multiple"&&vt("",{source:"blur"})),ve&&ve.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(Nn){return clearTimeout(Nn)}),Sr.splice(0,Sr.length)}},[]);var Tr=function(Cn){var nr,qn=Cn.target,er=(nr=Vt.current)===null||nr===void 0?void 0:nr.getPopupElement();if(er&&er.contains(qn)){var rr=setTimeout(function(){var ar=Sr.indexOf(rr);if(ar!==-1&&Sr.splice(ar,1),Jt(),!ct&&!er.contains(document.activeElement)){var mr;(mr=nn.current)===null||mr===void 0||mr.focus()}});Sr.push(rr)}for(var yr=arguments.length,gr=new Array(yr>1?yr-1:0),xr=1;xr<yr;xr++)gr[xr-1]=arguments[xr];Xe==null||Xe.apply(void 0,[Cn].concat(gr))},Nr=s.useState({}),Or=(0,V.Z)(Nr,2),Ir=Or[1];function br(){Ir({})}var Ar;un&&(Ar=function(Cn){yt(Cn)}),k(function(){var Nn;return[an.current,(Nn=Vt.current)===null||Nn===void 0?void 0:Nn.getPopupElement()]},bn,yt,!!un);var Pr=s.useMemo(function(){return(0,X.Z)((0,X.Z)({},ee),{},{notFoundContent:H,open:An,triggerOpen:bn,id:Ae,showSearch:xt,multiple:tt,toggleOpen:yt})},[ee,H,bn,An,Ae,xt,tt,yt]),zr=!!dt||ke,kr;zr&&(kr=s.createElement(x,{className:t()("".concat(De,"-arrow"),(0,W.Z)({},"".concat(De,"-arrow-loading"),ke)),customizeIcon:dt,customizeIconProps:{loading:ke,searchValue:cn,open:An,focused:pt,showSearch:xt}}));var $r=function(){var Cn;ie==null||ie(),(Cn=nn.current)===null||Cn===void 0||Cn.focus(),mt([],{type:"clear",values:ot}),Zn("",!1,!1)},Mr=C(De,$r,ot,rt,Ut,de,cn,_e),Gr=Mr.allowClear,jr=Mr.clearIcon,Wr=s.createElement(Pt,{ref:pn}),Dr=t()(De,lt,(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(De,"-focused"),pt),"".concat(De,"-multiple"),tt),"".concat(De,"-single"),!tt),"".concat(De,"-allow-clear"),rt),"".concat(De,"-show-arrow"),zr),"".concat(De,"-disabled"),de),"".concat(De,"-loading"),ke),"".concat(De,"-open"),An),"".concat(De,"-customize-input"),sn),"".concat(De,"-show-search"),xt)),dr=s.createElement(fe,{ref:Vt,disabled:de,prefixCls:De,visible:bn,popupElement:Wr,animation:Ft,transitionName:In,dropdownStyle:M,dropdownClassName:ae,direction:Te,dropdownMatchSelectWidth:q,dropdownRender:se,dropdownAlign:pe,placement:xe,builtinPlacements:Me,getPopupContainer:Oe,empty:et,getTriggerDOMNode:function(Cn){return tn.current||Cn},onPopupVisibleChange:Ar,onPopupMouseEnter:br},un?s.cloneElement(un,{ref:jn}):s.createElement(Ne,(0,O.Z)({},ee,{domRef:tn,prefixCls:De,inputElement:sn,ref:nn,id:Ae,prefix:ut,showSearch:xt,autoClearSearchValue:Zt,mode:_e,activeDescendantId:It,tagRender:he,values:ot,open:An,onToggleOpen:yt,activeValue:Rt,searchValue:cn,onSearch:Zn,onSearchSubmit:bt,onRemove:ur,tokenWithEnter:qt,onInputBlur:vr}))),lr;return un?lr=dr:lr=s.createElement("div",(0,O.Z)({className:Dr},Dt,{ref:an,onMouseDown:Tr,onKeyDown:$n,onKeyUp:fr,onFocus:Fr,onBlur:Br}),s.createElement(ce,{visible:pt&&!An,values:ot}),dr,kr,Gr&&jr),s.createElement(h.Provider,{value:Pr},lr)}),Be=Le,it=function(){return null};it.isSelectOptGroup=!0;var Ue=it,We=function(){return null};We.isSelectOption=!0;var Ct=We,kt=u(80547),nt=u(2738),zt=u(65283);function dn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var wt=["disabled","title","children","style","className"];function ht(ee){return typeof ee=="string"||typeof ee=="number"}var St=function(J,ze){var Ae=_(),De=Ae.prefixCls,lt=Ae.id,me=Ae.open,he=Ae.multiple,Te=Ae.mode,Ye=Ae.searchValue,ot=Ae.toggleOpen,mt=Ae.notFoundContent,et=Ae.onPopupScroll,Ve=s.useContext(Q),H=Ve.maxCount,ie=Ve.flattenOptions,_e=Ve.onActiveValue,de=Ve.defaultActiveFirstOption,ke=Ve.onSelect,je=Ve.menuItemSelectedIcon,Pe=Ve.rawValues,Ge=Ve.fieldNames,Qe=Ve.virtual,st=Ve.direction,Rt=Ve.listHeight,at=Ve.listItemHeight,It=Ve.optionRender,Mt="".concat(De,"-item"),Zt=(0,kt.Z)(function(){return ie},[me,ie],function(Re,te){return te[0]&&Re[1]!==te[1]}),vt=s.useRef(null),gt=s.useMemo(function(){return he&&S(H)&&(Pe==null?void 0:Pe.size)>=H},[he,H,Pe==null?void 0:Pe.size]),Wt=function(te){te.preventDefault()},rt=function(te){var oe;(oe=vt.current)===null||oe===void 0||oe.scrollTo(typeof te=="number"?{index:te}:te)},ut=s.useCallback(function(Re){return Te==="combobox"?!1:Pe.has(Re)},[Te,(0,T.Z)(Pe).toString(),Pe.size]),dt=function(te){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ve=Zt.length,ge=0;ge<ve;ge+=1){var Ce=(te+ge*oe+ve)%ve,Xe=Zt[Ce]||{},ft=Xe.group,tt=Xe.data;if(!ft&&!(tt!=null&&tt.disabled)&&(ut(tt.value)||!gt))return Ce}return-1},Ut=s.useState(function(){return dt(0)}),Pt=(0,V.Z)(Ut,2),Ft=Pt[0],In=Pt[1],M=function(te){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;In(te);var ve={source:oe?"keyboard":"mouse"},ge=Zt[te];if(!ge){_e(null,-1,ve);return}_e(ge.value,te,ve)};(0,s.useEffect)(function(){M(de!==!1?dt(0):-1)},[Zt.length,Ye]);var ae=s.useCallback(function(Re){return Te==="combobox"?String(Re).toLowerCase()===Ye.toLowerCase():Pe.has(Re)},[Te,Ye,(0,T.Z)(Pe).toString(),Pe.size]);(0,s.useEffect)(function(){var Re=setTimeout(function(){if(!he&&me&&Pe.size===1){var oe=Array.from(Pe)[0],ve=Zt.findIndex(function(ge){var Ce=ge.data;return Ye?String(Ce.value).startsWith(Ye):Ce.value===oe});ve!==-1&&(M(ve),rt(ve))}});if(me){var te;(te=vt.current)===null||te===void 0||te.scrollTo(void 0)}return function(){return clearTimeout(Re)}},[me,Ye]);var q=function(te){te!==void 0&&ke(te,{selected:!Pe.has(te)}),he||ot(!1)};if(s.useImperativeHandle(ze,function(){return{onKeyDown:function(te){var oe=te.which,ve=te.ctrlKey;switch(oe){case I.Z.N:case I.Z.P:case I.Z.UP:case I.Z.DOWN:{var ge=0;if(oe===I.Z.UP?ge=-1:oe===I.Z.DOWN?ge=1:dn()&&ve&&(oe===I.Z.N?ge=1:oe===I.Z.P&&(ge=-1)),ge!==0){var Ce=dt(Ft+ge,ge);rt(Ce),M(Ce,!0)}break}case I.Z.TAB:case I.Z.ENTER:{var Xe,ft=Zt[Ft];ft&&!(ft!=null&&(Xe=ft.data)!==null&&Xe!==void 0&&Xe.disabled)&&!gt?q(ft.value):q(void 0),me&&te.preventDefault();break}case I.Z.ESC:ot(!1),me&&te.stopPropagation()}},onKeyUp:function(){},scrollTo:function(te){rt(te)}}}),Zt.length===0)return s.createElement("div",{role:"listbox",id:"".concat(lt,"_list"),className:"".concat(Mt,"-empty"),onMouseDown:Wt},mt);var se=Object.keys(Ge).map(function(Re){return Ge[Re]}),pe=function(te){return te.label};function xe(Re,te){var oe=Re.group;return{role:oe?"presentation":"option",id:"".concat(lt,"_list_").concat(te)}}var Me=function(te){var oe=Zt[te];if(!oe)return null;var ve=oe.data||{},ge=ve.value,Ce=oe.group,Xe=(0,F.Z)(ve,!0),ft=pe(oe);return oe?s.createElement("div",(0,O.Z)({"aria-label":typeof ft=="string"&&!Ce?ft:null},Xe,{key:te},xe(oe,te),{"aria-selected":ae(ge)}),ge):null},Oe={role:"listbox",id:"".concat(lt,"_list")};return s.createElement(s.Fragment,null,Qe&&s.createElement("div",(0,O.Z)({},Oe,{style:{height:0,width:0,overflow:"hidden"}}),Me(Ft-1),Me(Ft),Me(Ft+1)),s.createElement(zt.Z,{itemKey:"key",ref:vt,data:Zt,height:Rt,itemHeight:at,fullHeight:!1,onMouseDown:Wt,onScroll:et,virtual:Qe,direction:st,innerProps:Qe?null:Oe},function(Re,te){var oe=Re.group,ve=Re.groupOption,ge=Re.data,Ce=Re.label,Xe=Re.value,ft=ge.key;if(oe){var tt,xt=(tt=ge.title)!==null&&tt!==void 0?tt:ht(Ce)?Ce.toString():void 0;return s.createElement("div",{className:t()(Mt,"".concat(Mt,"-group"),ge.className),title:xt},Ce!==void 0?Ce:ft)}var Dt=ge.disabled,Ot=ge.title,Xt=ge.children,ct=ge.style,hn=ge.className,an=(0,p.Z)(ge,wt),tn=(0,nt.Z)(an,se),Vt=ut(Xe),nn=Dt||!Vt&&gt,pn="".concat(Mt,"-option"),en=t()(Mt,pn,hn,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(pn,"-grouped"),ve),"".concat(pn,"-active"),Ft===te&&!nn),"".concat(pn,"-disabled"),nn),"".concat(pn,"-selected"),Vt)),fn=pe(Re),At=!je||typeof je=="function"||Vt,pt=typeof fn=="number"?fn:fn||Xe,Et=ht(pt)?pt.toString():void 0;return Ot!==void 0&&(Et=Ot),s.createElement("div",(0,O.Z)({},(0,F.Z)(tn),Qe?{}:xe(Re,te),{"aria-selected":ae(Xe),className:en,title:Et,onMouseMove:function(){Ft===te||nn||M(te)},onClick:function(){nn||q(Xe)},style:ct}),s.createElement("div",{className:"".concat(pn,"-content")},typeof It=="function"?It(Re,{index:te}):pt),s.isValidElement(je)||Vt,At&&s.createElement(x,{className:"".concat(Mt,"-option-state"),customizeIcon:je,customizeIconProps:{value:Xe,disabled:nn,isSelected:Vt}},Vt?"\u2713":null))}))},on=s.forwardRef(St),Gt=on,Yt=function(ee,J){var ze=s.useRef({values:new Map,options:new Map}),Ae=s.useMemo(function(){var lt=ze.current,me=lt.values,he=lt.options,Te=ee.map(function(mt){if(mt.label===void 0){var et;return(0,X.Z)((0,X.Z)({},mt),{},{label:(et=me.get(mt.value))===null||et===void 0?void 0:et.label})}return mt}),Ye=new Map,ot=new Map;return Te.forEach(function(mt){Ye.set(mt.value,mt),ot.set(mt.value,J.get(mt.value)||he.get(mt.value))}),ze.current.values=Ye,ze.current.options=ot,Te},[ee,J]),De=s.useCallback(function(lt){return J.get(lt)||ze.current.options.get(lt)},[J]);return[Ae,De]};function vn(ee,J){return A(ee).join("").toUpperCase().includes(J)}var ln=function(ee,J,ze,Ae,De){return s.useMemo(function(){if(!ze||Ae===!1)return ee;var lt=J.options,me=J.label,he=J.value,Te=[],Ye=typeof Ae=="function",ot=ze.toUpperCase(),mt=Ye?Ae:function(Ve,H){return De?vn(H[De],ot):H[lt]?vn(H[me!=="children"?me:"label"],ot):vn(H[he],ot)},et=Ye?function(Ve){return U(Ve)}:function(Ve){return Ve};return ee.forEach(function(Ve){if(Ve[lt]){var H=mt(ze,et(Ve));if(H)Te.push(Ve);else{var ie=Ve[lt].filter(function(_e){return mt(ze,et(_e))});ie.length&&Te.push((0,X.Z)((0,X.Z)({},Ve),{},(0,W.Z)({},lt,ie)))}return}mt(ze,et(Ve))&&Te.push(Ve)}),Te},[ee,Ae,De,ze,J])},$e=u(6551),_t=u(11592),$t=["children","value"],mn=["children"];function Kt(ee){var J=ee,ze=J.key,Ae=J.props,De=Ae.children,lt=Ae.value,me=(0,p.Z)(Ae,$t);return(0,X.Z)({key:ze,value:lt!==void 0?lt:ze,children:De},me)}function Dn(ee){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,_t.Z)(ee).map(function(ze,Ae){if(!s.isValidElement(ze)||!ze.type)return null;var De=ze,lt=De.type.isSelectOptGroup,me=De.key,he=De.props,Te=he.children,Ye=(0,p.Z)(he,mn);return J||!lt?Kt(ze):(0,X.Z)((0,X.Z)({key:"__RC_SELECT_GRP__".concat(me===null?Ae:me,"__"),label:me},Ye),{},{options:Dn(Te)})}).filter(function(ze){return ze})}var Un=function(J,ze,Ae,De,lt){return s.useMemo(function(){var me=J,he=!J;he&&(me=Dn(ze));var Te=new Map,Ye=new Map,ot=function(Ve,H,ie){ie&&typeof ie=="string"&&Ve.set(H[ie],H)},mt=function et(Ve){for(var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=0;ie<Ve.length;ie+=1){var _e=Ve[ie];!_e[Ae.options]||H?(Te.set(_e[Ae.value],_e),ot(Ye,_e,Ae.label),ot(Ye,_e,De),ot(Ye,_e,lt)):et(_e[Ae.options],!0)}};return mt(me),{options:me,valueOptions:Te,labelOptions:Ye}},[J,ze,Ae,De,lt])},wn=Un;function jt(ee){var J=s.useRef();J.current=ee;var ze=s.useCallback(function(){return J.current.apply(J,arguments)},[]);return ze}function On(ee){var J=ee.mode,ze=ee.options,Ae=ee.children,De=ee.backfill,lt=ee.allowClear,me=ee.placeholder,he=ee.getInputElement,Te=ee.showSearch,Ye=ee.onSearch,ot=ee.defaultOpen,mt=ee.autoFocus,et=ee.labelInValue,Ve=ee.value,H=ee.inputValue,ie=ee.optionLabelProp,_e=isMultiple(J),de=Te!==void 0?Te:_e||J==="combobox",ke=ze||convertChildrenToData(Ae);if(warning(J!=="tags"||ke.every(function(Qe){return!Qe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),J==="tags"||J==="combobox"){var je=ke.some(function(Qe){return Qe.options?Qe.options.some(function(st){return typeof("value"in st?st.value:st.key)=="number"}):typeof("value"in Qe?Qe.value:Qe.key)=="number"});warning(!je,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(J!=="combobox"||!ie,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(J==="combobox"||!De,"`backfill` only works with `combobox` mode."),warning(J==="combobox"||!he,"`getInputElement` only work with `combobox` mode."),noteOnce(J!=="combobox"||!he||!lt||!me,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ye&&!de&&J!=="combobox"&&J!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ot||mt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ve!=null){var Pe=toArray(Ve);warning(!et||Pe.every(function(Qe){return _typeof(Qe)==="object"&&("key"in Qe||"value"in Qe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!_e||Array.isArray(Ve),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ae){var Ge=null;toNodeArray(Ae).some(function(Qe){if(!React.isValidElement(Qe)||!Qe.type)return!1;var st=Qe,Rt=st.type;if(Rt.isSelectOption)return!1;if(Rt.isSelectOptGroup){var at=toNodeArray(Qe.props.children).every(function(It){return!React.isValidElement(It)||!Qe.type||It.type.isSelectOption?!0:(Ge=It.type,!1)});return!at}return Ge=Rt,!0}),Ge&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ge.displayName||Ge.name||Ge,"`.")),warning(H===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function xn(ee,J){if(ee){var ze=function Ae(De){for(var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=0;me<De.length;me++){var he=De[me];if(he[J==null?void 0:J.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!lt&&Array.isArray(he[J==null?void 0:J.options])&&Ae(he[J==null?void 0:J.options],!0))break}};ze(ee)}}var Tn=null,gn=["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"],Sn=["inputValue"];function Mn(ee){return!ee||(0,$.Z)(ee)!=="object"}var Ln=s.forwardRef(function(ee,J){var ze=ee.id,Ae=ee.mode,De=ee.prefixCls,lt=De===void 0?"rc-select":De,me=ee.backfill,he=ee.fieldNames,Te=ee.inputValue,Ye=ee.searchValue,ot=ee.onSearch,mt=ee.autoClearSearchValue,et=mt===void 0?!0:mt,Ve=ee.onSelect,H=ee.onDeselect,ie=ee.dropdownMatchSelectWidth,_e=ie===void 0?!0:ie,de=ee.filterOption,ke=ee.filterSort,je=ee.optionFilterProp,Pe=ee.optionLabelProp,Ge=ee.options,Qe=ee.optionRender,st=ee.children,Rt=ee.defaultActiveFirstOption,at=ee.menuItemSelectedIcon,It=ee.virtual,Mt=ee.direction,Zt=ee.listHeight,vt=Zt===void 0?200:Zt,gt=ee.listItemHeight,Wt=gt===void 0?20:gt,rt=ee.labelRender,ut=ee.value,dt=ee.defaultValue,Ut=ee.labelInValue,Pt=ee.onChange,Ft=ee.maxCount,In=(0,p.Z)(ee,gn),M=(0,$e.ZP)(ze),ae=Fe(Ae),q=!!(!Ge&&st),se=s.useMemo(function(){return de===void 0&&Ae==="combobox"?!1:de},[de,Ae]),pe=s.useMemo(function(){return B(he,q)},[JSON.stringify(he),q]),xe=(0,G.Z)("",{value:Ye!==void 0?Ye:Te,postState:function(qt){return qt||""}}),Me=(0,V.Z)(xe,2),Oe=Me[0],Re=Me[1],te=wn(Ge,st,pe,je,Pe),oe=te.valueOptions,ve=te.labelOptions,ge=te.options,Ce=s.useCallback(function(yt){var qt=A(yt);return qt.map(function(Qt){var rn,Rn,Zn,bt,Bt;if(Mn(Qt))rn=Qt;else{var En;Zn=Qt.key,Rn=Qt.label,rn=(En=Qt.value)!==null&&En!==void 0?En:Zn}var Ht=oe.get(rn);if(Ht){var Pn;if(Rn===void 0&&(Rn=Ht==null?void 0:Ht[Pe||pe.label]),Zn===void 0&&(Zn=(Pn=Ht==null?void 0:Ht.key)!==null&&Pn!==void 0?Pn:rn),bt=Ht==null?void 0:Ht.disabled,Bt=Ht==null?void 0:Ht.title,0)var or}return{label:Rn,value:rn,key:Zn,disabled:bt,title:Bt}})},[pe,Pe,oe]),Xe=(0,G.Z)(dt,{value:ut}),ft=(0,V.Z)(Xe,2),tt=ft[0],xt=ft[1],Dt=s.useMemo(function(){var yt,qt=ae&&tt===null?[]:tt,Qt=Ce(qt);return Ae==="combobox"&&g((yt=Qt[0])===null||yt===void 0?void 0:yt.value)?[]:Qt},[tt,Ce,Ae,ae]),Ot=Yt(Dt,oe),Xt=(0,V.Z)(Ot,2),ct=Xt[0],hn=Xt[1],an=s.useMemo(function(){if(!Ae&&ct.length===1){var yt=ct[0];if(yt.value===null&&(yt.label===null||yt.label===void 0))return[]}return ct.map(function(qt){var Qt;return(0,X.Z)((0,X.Z)({},qt),{},{label:(Qt=typeof rt=="function"?rt(qt):qt.label)!==null&&Qt!==void 0?Qt:qt.value})})},[Ae,ct,rt]),tn=s.useMemo(function(){return new Set(ct.map(function(yt){return yt.value}))},[ct]);s.useEffect(function(){if(Ae==="combobox"){var yt,qt=(yt=ct[0])===null||yt===void 0?void 0:yt.value;Re(i(qt)?String(qt):"")}},[ct]);var Vt=jt(function(yt,qt){var Qt=qt!=null?qt:yt;return(0,W.Z)((0,W.Z)({},pe.value,yt),pe.label,Qt)}),nn=s.useMemo(function(){if(Ae!=="tags")return ge;var yt=(0,T.Z)(ge),qt=function(rn){return oe.has(rn)};return(0,T.Z)(ct).sort(function(Qt,rn){return Qt.value<rn.value?-1:1}).forEach(function(Qt){var rn=Qt.value;qt(rn)||yt.push(Vt(rn,Qt.label))}),yt},[Vt,ge,oe,ct,Ae]),pn=ln(nn,pe,Oe,se,je),en=s.useMemo(function(){return Ae!=="tags"||!Oe||pn.some(function(yt){return yt[je||"value"]===Oe})||pn.some(function(yt){return yt[pe.value]===Oe})?pn:[Vt(Oe)].concat((0,T.Z)(pn))},[Vt,je,Ae,pn,Oe,pe]),fn=function yt(qt){var Qt=(0,T.Z)(qt).sort(function(rn,Rn){return ke(rn,Rn,{searchValue:Oe})});return Qt.map(function(rn){return Array.isArray(rn.options)?(0,X.Z)((0,X.Z)({},rn),{},{options:rn.options.length>0?yt(rn.options):rn.options}):rn})},At=s.useMemo(function(){return ke?fn(en):en},[en,ke,Oe]),pt=s.useMemo(function(){return N(At,{fieldNames:pe,childrenAsData:q})},[At,pe,q]),Et=function(qt){var Qt=Ce(qt);if(xt(Qt),Pt&&(Qt.length!==ct.length||Qt.some(function(Zn,bt){var Bt;return((Bt=ct[bt])===null||Bt===void 0?void 0:Bt.value)!==(Zn==null?void 0:Zn.value)}))){var rn=Ut?Qt:Qt.map(function(Zn){return Zn.value}),Rn=Qt.map(function(Zn){return U(hn(Zn.value))});Pt(ae?rn:rn[0],ae?Rn:Rn[0])}},Jt=s.useState(null),cn=(0,V.Z)(Jt,2),sn=cn[0],un=cn[1],jn=s.useState(0),Jn=(0,V.Z)(jn,2),Gn=Jn[0],sr=Jn[1],ir=Rt!==void 0?Rt:Ae!=="combobox",Yn=s.useCallback(function(yt,qt){var Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},rn=Qt.source,Rn=rn===void 0?"keyboard":rn;sr(qt),me&&Ae==="combobox"&&yt!==null&&Rn==="keyboard"&&un(String(yt))},[me,Ae]),_n=function(qt,Qt,rn){var Rn=function(){var ur,vr=hn(qt);return[Ut?{label:vr==null?void 0:vr[pe.label],value:qt,key:(ur=vr==null?void 0:vr.key)!==null&&ur!==void 0?ur:qt}:qt,U(vr)]};if(Qt&&Ve){var Zn=Rn(),bt=(0,V.Z)(Zn,2),Bt=bt[0],En=bt[1];Ve(Bt,En)}else if(!Qt&&H&&rn!=="clear"){var Ht=Rn(),Pn=(0,V.Z)(Ht,2),or=Pn[0],$n=Pn[1];H(or,$n)}},kn=jt(function(yt,qt){var Qt,rn=ae?qt.selected:!0;rn?Qt=ae?[].concat((0,T.Z)(ct),[yt]):[yt]:Qt=ct.filter(function(Rn){return Rn.value!==yt}),Et(Qt),_n(yt,rn),Ae==="combobox"?un(""):(!Fe||et)&&(Re(""),un(""))}),zn=function(qt,Qt){Et(qt);var rn=Qt.type,Rn=Qt.values;(rn==="remove"||rn==="clear")&&Rn.forEach(function(Zn){_n(Zn.value,!1,rn)})},An=function(qt,Qt){if(Re(qt),un(null),Qt.source==="submit"){var rn=(qt||"").trim();if(rn){var Rn=Array.from(new Set([].concat((0,T.Z)(tn),[rn])));Et(Rn),_n(rn,!0),Re("")}return}Qt.source!=="blur"&&(Ae==="combobox"&&Et(qt),ot==null||ot(qt))},yn=function(qt){var Qt=qt;Ae!=="tags"&&(Qt=qt.map(function(Rn){var Zn=ve.get(Rn);return Zn==null?void 0:Zn.value}).filter(function(Rn){return Rn!==void 0}));var rn=Array.from(new Set([].concat((0,T.Z)(tn),(0,T.Z)(Qt))));Et(rn),rn.forEach(function(Rn){_n(Rn,!0)})},bn=s.useMemo(function(){var yt=It!==!1&&_e!==!1;return(0,X.Z)((0,X.Z)({},te),{},{flattenOptions:pt,onActiveValue:Yn,defaultActiveFirstOption:ir,onSelect:kn,menuItemSelectedIcon:at,rawValues:tn,fieldNames:pe,virtual:yt,direction:Mt,listHeight:vt,listItemHeight:Wt,childrenAsData:q,maxCount:Ft,optionRender:Qe})},[Ft,te,pt,Yn,ir,kn,at,tn,pe,It,_e,Mt,vt,Wt,q,Qe]);return s.createElement(Q.Provider,{value:bn},s.createElement(Be,(0,O.Z)({},In,{id:M,prefixCls:lt,ref:J,omitDomProps:Sn,mode:Ae,displayValues:an,onDisplayValuesChange:zn,direction:Mt,searchValue:Oe,onSearch:An,autoClearSearchValue:et,onSearchSplit:yn,dropdownMatchSelectWidth:_e,OptionList:Gt,emptyOptions:!pt.length,activeValue:sn,activeDescendantId:"".concat(M,"_list_").concat(Gn)})))}),Hn=Ln;Hn.Option=Ct,Hn.OptGroup=Ue;var Wn=Hn,Bn=Wn},86351:function(Lt,Ke,u){"use strict";u.d(Ke,{R:function(){return T},w:function(){return O}});var O={},T="rc-table-internal-hook"},97347:function(Lt,Ke,u){"use strict";u.d(Ke,{L:function(){return m},Z:function(){return f}});var O=u(52456),T=u(18082),W=u(92393),X=u(10928),V=u(20049),p=u(5883),$=u(11592),G=u(48736),e=u(59301),s=u(86351),c=u(54451);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),z=Math.max(Y-L,F),ye=F,y=z/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(y);w.width=ye===1?z:i,z-=i,ye-=1}return d+=w.width,w});if(d<Y){var R=Y/d;z=Y,b.forEach(function(A,w){var n=Math.floor(A.width*R);A.width=w===b.length-1?z:n,z-=n})}return[b,Math.max(d,Y)]}return[l,k]},[l,k,I])}var a=["children"],o=["fixed"];function m(l){return(0,$.Z)(l).filter(function(k){return e.isValidElement(k)}).map(function(k){var I=k.key,L=k.props,F=L.children,Y=(0,p.Z)(L,a),z=(0,V.Z)({key:I},Y);return F&&(z.children=m(F)),z})}function x(l){return l.filter(function(k){return k&&(0,X.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,X.Z)(I)==="object"}).reduce(function(I,L,F){var Y=L.fixed,z=Y===!0?"left":Y,ye="".concat(k,"-").concat(F),y=L.children;return y&&y.length>0?[].concat((0,W.Z)(I),(0,W.Z)(C(y,ye).map(function(d){return(0,V.Z)({fixed:z},d)}))):[].concat((0,W.Z)(I),[(0,V.Z)((0,V.Z)({key:ye},L),{},{fixed:z})])},[])}function h(l){return l.map(function(k){var I=k.fixed,L=(0,p.Z)(k,o),F=I;return I==="left"?F="right":I==="right"&&(F="left"),(0,V.Z)({fixed:F},L)})}function _(l,k){var I=l.prefixCls,L=l.columns,F=l.children,Y=l.expandable,z=l.expandedKeys,ye=l.columnTitle,y=l.getRowKey,d=l.onTriggerExpand,b=l.expandIcon,R=l.rowExpandable,A=l.expandIconColumnIndex,w=l.direction,n=l.expandRowByClick,i=l.columnWidth,g=l.fixed,K=l.scrollWidth,ue=l.clientWidth,Se=e.useMemo(function(){var Ne=L||m(F)||[];return x(Ne.slice())},[L,F]),Ze=e.useMemo(function(){if(Y){var Ne=Se.slice();if(!Ne.includes(s.w)){var le=A||0;le>=0&&(le||g==="left"||!g)&&Ne.splice(le,0,s.w),g==="right"&&Ne.splice(Se.length,0,s.w)}var E=Ne.indexOf(s.w);Ne=Ne.filter(function(fe,P){return fe!==s.w||P===E});var j=Se[E],D;g?D=g:D=j?j.fixed:null;var re=(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",ye),"fixed",D),"className","".concat(I,"-row-expand-icon-cell")),"width",i),"render",function(P,v,S){var B=y(v,S),N=z.has(B),U=R?R(v):!0,Z=b({prefixCls:I,expanded:N,expandable:U,record:v,onExpand:d});return n?e.createElement("span",{onClick:function(Q){return Q.stopPropagation()}},Z):Z});return Ne.map(function(fe){return fe===s.w?re:fe})}return Se.filter(function(fe){return fe!==s.w})},[Y,Se,y,z,b,w]),He=e.useMemo(function(){var Ne=Ze;return k&&(Ne=k(Ne)),Ne.length||(Ne=[{render:function(){return null}}]),Ne},[k,Ze,w]),qe=e.useMemo(function(){return w==="rtl"?h(C(He)):C(He)},[He,w,K]),Tt=e.useMemo(function(){for(var Ne=-1,le=qe.length-1;le>=0;le-=1){var E=qe[le].fixed;if(E==="left"||E===!0){Ne=le;break}}if(Ne>=0)for(var j=0;j<=Ne;j+=1){var D=qe[j].fixed;if(D!=="left"&&D!==!0)return!0}var re=qe.findIndex(function(v){var S=v.fixed;return S==="right"});if(re>=0)for(var fe=re;fe<qe.length;fe+=1){var P=qe[fe].fixed;if(P!=="right")return!0}return!1},[qe]),Ee=r(qe,K,ue),Je=(0,O.Z)(Ee,2),Nt=Je[0],Ie=Je[1];return[He,Nt,Ie,Tt]}var f=_},4030:function(Lt,Ke,u){"use strict";u.d(Ke,{w2:function(){return O.w},vP:function(){return ht.v},RQ:function(){return O.R},ER:function(){return B},Q$:function(){return de},TN:function(){return Pt}});var O=u(86351),T=u(52456),W=u(6089),X=u(34280),V=u(13697),p=u(59301),$=u(4676);function G(M){var ae=p.createContext(void 0),q=function(pe){var xe=pe.value,Me=pe.children,Oe=p.useRef(xe);Oe.current=xe;var Re=p.useState(function(){return{getValue:function(){return Oe.current},listeners:new Set}}),te=(0,T.Z)(Re,1),oe=te[0];return(0,X.Z)(function(){(0,$.unstable_batchedUpdates)(function(){oe.listeners.forEach(function(ve){ve(xe)})})},[xe]),p.createElement(ae.Provider,{value:oe},Me)};return{Context:ae,Provider:q,defaultValue:M}}function e(M,ae){var q=(0,W.Z)(typeof ae=="function"?ae:function(ve){if(ae===void 0)return ve;if(!Array.isArray(ae))return ve[ae];var ge={};return ae.forEach(function(Ce){ge[Ce]=ve[Ce]}),ge}),se=p.useContext(M==null?void 0:M.Context),pe=se||{},xe=pe.listeners,Me=pe.getValue,Oe=p.useRef();Oe.current=q(se?Me():M==null?void 0:M.defaultValue);var Re=p.useState({}),te=(0,T.Z)(Re,2),oe=te[1];return(0,X.Z)(function(){if(!se)return;function ve(ge){var Ce=q(ge);(0,V.Z)(Oe.current,Ce,!0)||oe({})}return xe.add(ve),function(){xe.delete(ve)}},[se]),Oe.current}var s=u(5016),c=u(8654);function t(){var M=p.createContext(null);function ae(){return p.useContext(M)}function q(pe,xe){var Me=(0,c.Yr)(pe),Oe=function(te,oe){var ve=Me?{ref:oe}:{},ge=p.useRef(0),Ce=p.useRef(te),Xe=ae();return Xe!==null?p.createElement(pe,(0,s.Z)({},te,ve)):((!xe||xe(Ce.current,te))&&(ge.current+=1),Ce.current=te,p.createElement(M.Provider,{value:ge.current},p.createElement(pe,(0,s.Z)({},te,ve))))};return Me?p.forwardRef(Oe):Oe}function se(pe,xe){var Me=(0,c.Yr)(pe),Oe=function(te,oe){var ve=Me?{ref:oe}:{};return ae(),p.createElement(pe,(0,s.Z)({},te,ve))};return Me?p.memo(p.forwardRef(Oe),xe):p.memo(Oe,xe)}return{makeImmutable:q,responseImmutable:se,useImmutableMark:ae}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,m=r.useImmutableMark,x=t(),C=x.makeImmutable,h=x.responseImmutable,_=x.useImmutableMark,f=G(),l=f;function k(M,ae){var q=React.useRef(0);q.current+=1;var se=React.useRef(M),pe=[];Object.keys(M||{}).map(function(Me){var Oe;(M==null?void 0:M[Me])!==((Oe=se.current)===null||Oe===void 0?void 0:Oe[Me])&&pe.push(Me)}),se.current=M;var xe=React.useRef([]);return pe.length&&(xe.current=pe),React.useDebugValue(q.current),React.useDebugValue(xe.current.join(", ")),ae&&console.log("".concat(ae,":"),q.current,xe.current),q.current}var I=null,L=null,F=u(10928),Y=u(20049),z=u(18082),ye=u(92310),y=u.n(ye),d=u(80547),b=u(97938),R=u(48736),A=p.createContext({renderWithProps:!1}),w=A,n="RC_TABLE_KEY";function i(M){return M==null?[]:Array.isArray(M)?M:[M]}function g(M){var ae=[],q={};return M.forEach(function(se){for(var pe=se||{},xe=pe.key,Me=pe.dataIndex,Oe=xe||i(Me).join("-")||n;q[Oe];)Oe="".concat(Oe,"_next");q[Oe]=!0,ae.push(Oe)}),ae}function K(M){return M!=null}function ue(M){return typeof M=="number"&&!Number.isNaN(M)}function Se(M){return M&&(0,F.Z)(M)==="object"&&!Array.isArray(M)&&!p.isValidElement(M)}function Ze(M,ae,q,se,pe,xe){var Me=p.useContext(w),Oe=_(),Re=(0,d.Z)(function(){if(K(se))return[se];var te=ae==null||ae===""?[]:Array.isArray(ae)?ae:[ae],oe=(0,b.Z)(M,te),ve=oe,ge=void 0;if(pe){var Ce=pe(oe,M,q);Se(Ce)?(ve=Ce.children,ge=Ce.props,Me.renderWithProps=!0):ve=Ce}return[ve,ge]},[Oe,M,se,ae,pe,q],function(te,oe){if(xe){var ve=(0,T.Z)(te,2),ge=ve[1],Ce=(0,T.Z)(oe,2),Xe=Ce[1];return xe(Xe,ge)}return Me.renderWithProps?!0:!(0,V.Z)(te,oe,!0)});return Re}function He(M,ae,q,se){var pe=M+ae-1;return M<=se&&pe>=q}function qe(M,ae){return e(l,function(q){var se=He(M,ae||1,q.hoverStartRow,q.hoverEndRow);return[se,q.onHover]})}var Tt=u(70425),Ee=function(ae){var q=ae.ellipsis,se=ae.rowType,pe=ae.children,xe,Me=q===!0?{showTitle:!0}:q;return Me&&(Me.showTitle||se==="header")&&(typeof pe=="string"||typeof pe=="number"?xe=pe.toString():p.isValidElement(pe)&&typeof pe.props.children=="string"&&(xe=pe.props.children)),xe};function Je(M){var ae,q,se,pe,xe,Me,Oe,Re,te=M.component,oe=M.children,ve=M.ellipsis,ge=M.scope,Ce=M.prefixCls,Xe=M.className,ft=M.align,tt=M.record,xt=M.render,Dt=M.dataIndex,Ot=M.renderIndex,Xt=M.shouldCellUpdate,ct=M.index,hn=M.rowType,an=M.colSpan,tn=M.rowSpan,Vt=M.fixLeft,nn=M.fixRight,pn=M.firstFixLeft,en=M.lastFixLeft,fn=M.firstFixRight,At=M.lastFixRight,pt=M.appendNode,Et=M.additionalProps,Jt=Et===void 0?{}:Et,cn=M.isSticky,sn="".concat(Ce,"-cell"),un=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),jn=un.supportSticky,Jn=un.allColumnsFixedLeft,Gn=un.rowHoverable,sr=Ze(tt,Dt,Ot,oe,xt,Xt),ir=(0,T.Z)(sr,2),Yn=ir[0],_n=ir[1],kn={},zn=typeof Vt=="number"&&jn,An=typeof nn=="number"&&jn;zn&&(kn.position="sticky",kn.left=Vt),An&&(kn.position="sticky",kn.right=nn);var yn=(ae=(q=(se=_n==null?void 0:_n.colSpan)!==null&&se!==void 0?se:Jt.colSpan)!==null&&q!==void 0?q:an)!==null&&ae!==void 0?ae:1,bn=(pe=(xe=(Me=_n==null?void 0:_n.rowSpan)!==null&&Me!==void 0?Me:Jt.rowSpan)!==null&&xe!==void 0?xe:tn)!==null&&pe!==void 0?pe:1,yt=qe(ct,bn),qt=(0,T.Z)(yt,2),Qt=qt[0],rn=qt[1],Rn=(0,Tt.zX)(function(or){var $n;tt&&rn(ct,ct+bn-1),Jt==null||($n=Jt.onMouseEnter)===null||$n===void 0||$n.call(Jt,or)}),Zn=(0,Tt.zX)(function(or){var $n;tt&&rn(-1,-1),Jt==null||($n=Jt.onMouseLeave)===null||$n===void 0||$n.call(Jt,or)});if(yn===0||bn===0)return null;var bt=(Oe=Jt.title)!==null&&Oe!==void 0?Oe:Ee({rowType:hn,ellipsis:ve,children:Yn}),Bt=y()(sn,Xe,(Re={},(0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)(Re,"".concat(sn,"-fix-left"),zn&&jn),"".concat(sn,"-fix-left-first"),pn&&jn),"".concat(sn,"-fix-left-last"),en&&jn),"".concat(sn,"-fix-left-all"),en&&Jn&&jn),"".concat(sn,"-fix-right"),An&&jn),"".concat(sn,"-fix-right-first"),fn&&jn),"".concat(sn,"-fix-right-last"),At&&jn),"".concat(sn,"-ellipsis"),ve),"".concat(sn,"-with-append"),pt),"".concat(sn,"-fix-sticky"),(zn||An)&&cn&&jn),(0,z.Z)(Re,"".concat(sn,"-row-hover"),!_n&&Qt)),Jt.className,_n==null?void 0:_n.className),En={};ft&&(En.textAlign=ft);var Ht=(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},_n==null?void 0:_n.style),kn),En),Jt.style),Pn=Yn;return(0,F.Z)(Pn)==="object"&&!Array.isArray(Pn)&&!p.isValidElement(Pn)&&(Pn=null),ve&&(en||fn)&&(Pn=p.createElement("span",{className:"".concat(sn,"-content")},Pn)),p.createElement(te,(0,s.Z)({},_n,Jt,{className:Bt,style:Ht,title:bt,scope:ge,onMouseEnter:Gn?Rn:void 0,onMouseLeave:Gn?Zn:void 0,colSpan:yn!==1?yn:null,rowSpan:bn!==1?bn:null}),pt,Pn)}var Nt=p.memo(Je);function Ie(M,ae,q,se,pe){var xe=q[M]||{},Me=q[ae]||{},Oe,Re;xe.fixed==="left"?Oe=se.left[pe==="rtl"?ae:M]:Me.fixed==="right"&&(Re=se.right[pe==="rtl"?M:ae]);var te=!1,oe=!1,ve=!1,ge=!1,Ce=q[ae+1],Xe=q[M-1],ft=Ce&&!Ce.fixed||Xe&&!Xe.fixed||q.every(function(Xt){return Xt.fixed==="left"});if(pe==="rtl"){if(Oe!==void 0){var tt=Xe&&Xe.fixed==="left";ge=!tt&&ft}else if(Re!==void 0){var xt=Ce&&Ce.fixed==="right";ve=!xt&&ft}}else if(Oe!==void 0){var Dt=Ce&&Ce.fixed==="left";te=!Dt&&ft}else if(Re!==void 0){var Ot=Xe&&Xe.fixed==="right";oe=!Ot&&ft}return{fixLeft:Oe,fixRight:Re,lastFixLeft:te,firstFixRight:oe,lastFixRight:ve,firstFixLeft:ge,isSticky:se.isSticky}}var Ne=p.createContext({}),le=Ne;function E(M){var ae=M.className,q=M.index,se=M.children,pe=M.colSpan,xe=pe===void 0?1:pe,Me=M.rowSpan,Oe=M.align,Re=e(l,["prefixCls","direction"]),te=Re.prefixCls,oe=Re.direction,ve=p.useContext(le),ge=ve.scrollColumnIndex,Ce=ve.stickyOffsets,Xe=ve.flattenColumns,ft=q+xe-1,tt=ft+1===ge?xe+1:xe,xt=Ie(q,q+tt-1,Xe,Ce,oe);return p.createElement(Nt,(0,s.Z)({className:ae,index:q,component:"td",prefixCls:te,record:null,dataIndex:null,align:Oe,colSpan:tt,rowSpan:Me,render:function(){return se}},xt))}var j=u(5883),D=["children"];function re(M){var ae=M.children,q=(0,j.Z)(M,D);return p.createElement("tr",q,ae)}function fe(M){var ae=M.children;return ae}fe.Row=re,fe.Cell=E;var P=fe;function v(M){var ae=M.children,q=M.stickyOffsets,se=M.flattenColumns,pe=e(l,"prefixCls"),xe=se.length-1,Me=se[xe],Oe=p.useMemo(function(){return{stickyOffsets:q,flattenColumns:se,scrollColumnIndex:Me!=null&&Me.scrollbar?xe:null}},[Me,se,xe,q]);return p.createElement(le.Provider,{value:Oe},p.createElement("tfoot",{className:"".concat(pe,"-summary")},ae))}var S=h(v),B=P,N=u(29301),U=u(24514),Z=u(75152),ne=u(26112);function Q(M,ae,q,se,pe,xe,Me){M.push({record:ae,indent:q,index:Me});var Oe=xe(ae),Re=pe==null?void 0:pe.has(Oe);if(ae&&Array.isArray(ae[se])&&Re)for(var te=0;te<ae[se].length;te+=1)Q(M,ae[se][te],q+1,se,pe,xe,te)}function ce(M,ae,q,se){var pe=p.useMemo(function(){if(q!=null&&q.size){for(var xe=[],Me=0;Me<(M==null?void 0:M.length);Me+=1){var Oe=M[Me];Q(xe,Oe,0,ae,q,se,Me)}return xe}return M==null?void 0:M.map(function(Re,te){return{record:Re,indent:0,index:te}})},[M,ae,q,se]);return pe}function be(M,ae,q,se){var pe=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),xe=pe.flattenColumns,Me=pe.expandableType,Oe=pe.expandedKeys,Re=pe.childrenColumnName,te=pe.onTriggerExpand,oe=pe.rowExpandable,ve=pe.onRow,ge=pe.expandRowByClick,Ce=pe.rowClassName,Xe=Me==="nest",ft=Me==="row"&&(!oe||oe(M)),tt=ft||Xe,xt=Oe&&Oe.has(ae),Dt=Re&&M&&M[Re],Ot=(0,Tt.zX)(te),Xt=ve==null?void 0:ve(M,q),ct=Xt==null?void 0:Xt.onClick,hn=function(nn){ge&&tt&&te(M,nn);for(var pn=arguments.length,en=new Array(pn>1?pn-1:0),fn=1;fn<pn;fn++)en[fn-1]=arguments[fn];ct==null||ct.apply(void 0,[nn].concat(en))},an;typeof Ce=="string"?an=Ce:typeof Ce=="function"&&(an=Ce(M,q,se));var tn=g(xe);return(0,Y.Z)((0,Y.Z)({},pe),{},{columnsKey:tn,nestExpandable:Xe,expanded:xt,hasNestChildren:Dt,record:M,onTriggerExpand:Ot,rowSupportExpand:ft,expandable:tt,rowProps:(0,Y.Z)((0,Y.Z)({},Xt),{},{className:y()(an,Xt==null?void 0:Xt.className),onClick:hn})})}function we(M){var ae=M.prefixCls,q=M.children,se=M.component,pe=M.cellComponent,xe=M.className,Me=M.expanded,Oe=M.colSpan,Re=M.isEmpty,te=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),oe=te.scrollbarSize,ve=te.fixHeader,ge=te.fixColumn,Ce=te.componentWidth,Xe=te.horizonScroll,ft=q;return(Re?Xe&&Ce:ge)&&(ft=p.createElement("div",{style:{width:Ce-(ve&&!Re?oe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ae,"-expanded-row-fixed")},ft)),p.createElement(se,{className:xe,style:{display:Me?null:"none"}},p.createElement(Nt,{component:pe,prefixCls:ae,colSpan:Oe},ft))}var Fe=we;function Le(M){var ae=M.prefixCls,q=M.record,se=M.onExpand,pe=M.expanded,xe=M.expandable,Me="".concat(ae,"-row-expand-icon");if(!xe)return p.createElement("span",{className:y()(Me,"".concat(ae,"-row-spaced"))});var Oe=function(te){se(q,te),te.stopPropagation()};return p.createElement("span",{className:y()(Me,(0,z.Z)((0,z.Z)({},"".concat(ae,"-row-expanded"),pe),"".concat(ae,"-row-collapsed"),!pe)),onClick:Oe})}function Be(M,ae,q){var se=[];function pe(xe){(xe||[]).forEach(function(Me,Oe){se.push(ae(Me,Oe)),pe(Me[q])})}return pe(M),se}function it(M,ae,q,se){return typeof M=="string"?M:typeof M=="function"?M(ae,q,se):""}function Ue(M,ae,q,se,pe){var xe=M.record,Me=M.prefixCls,Oe=M.columnsKey,Re=M.fixedInfoList,te=M.expandIconColumnIndex,oe=M.nestExpandable,ve=M.indentSize,ge=M.expandIcon,Ce=M.expanded,Xe=M.hasNestChildren,ft=M.onTriggerExpand,tt=Oe[q],xt=Re[q],Dt;q===(te||0)&&oe&&(Dt=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(ve*se,"px")},className:"".concat(Me,"-row-indent indent-level-").concat(se)}),ge({prefixCls:Me,expanded:Ce,expandable:Xe,record:xe,onExpand:ft})));var Ot;return ae.onCell&&(Ot=ae.onCell(xe,pe)),{key:tt,fixedInfo:xt,appendCellNode:Dt,additionalCellProps:Ot||{}}}function We(M){var ae=M.className,q=M.style,se=M.record,pe=M.index,xe=M.renderIndex,Me=M.rowKey,Oe=M.indent,Re=Oe===void 0?0:Oe,te=M.rowComponent,oe=M.cellComponent,ve=M.scopeCellComponent,ge=be(se,Me,pe,Re),Ce=ge.prefixCls,Xe=ge.flattenColumns,ft=ge.expandedRowClassName,tt=ge.expandedRowRender,xt=ge.rowProps,Dt=ge.expanded,Ot=ge.rowSupportExpand,Xt=p.useRef(!1);Xt.current||(Xt.current=Dt);var ct=it(ft,se,pe,Re),hn=p.createElement(te,(0,s.Z)({},xt,{"data-row-key":Me,className:y()(ae,"".concat(Ce,"-row"),"".concat(Ce,"-row-level-").concat(Re),xt==null?void 0:xt.className,(0,z.Z)({},ct,Re>=1)),style:(0,Y.Z)((0,Y.Z)({},q),xt==null?void 0:xt.style)}),Xe.map(function(Vt,nn){var pn=Vt.render,en=Vt.dataIndex,fn=Vt.className,At=Ue(ge,Vt,nn,Re,pe),pt=At.key,Et=At.fixedInfo,Jt=At.appendCellNode,cn=At.additionalCellProps;return p.createElement(Nt,(0,s.Z)({className:fn,ellipsis:Vt.ellipsis,align:Vt.align,scope:Vt.rowScope,component:Vt.rowScope?ve:oe,prefixCls:Ce,key:pt,record:se,index:pe,renderIndex:xe,dataIndex:en,render:pn,shouldCellUpdate:Vt.shouldCellUpdate},Et,{appendNode:Jt,additionalProps:cn}))})),an;if(Ot&&(Xt.current||Dt)){var tn=tt(se,pe,Re+1,Dt);an=p.createElement(Fe,{expanded:Dt,className:y()("".concat(Ce,"-expanded-row"),"".concat(Ce,"-expanded-row-level-").concat(Re+1),ct),prefixCls:Ce,component:te,cellComponent:oe,colSpan:Xe.length,isEmpty:!1},tn)}return p.createElement(p.Fragment,null,hn,an)}var Ct=h(We);function kt(M){var ae=M.columnKey,q=M.onColumnResize,se=p.useRef();return(0,X.Z)(function(){se.current&&q(ae,se.current.offsetWidth)},[]),p.createElement(N.Z,{data:ae},p.createElement("td",{ref:se,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var nt=u(29194);function zt(M){var ae=M.prefixCls,q=M.columnsKey,se=M.onColumnResize,pe=p.useRef(null);return p.createElement("tr",{"aria-hidden":"true",className:"".concat(ae,"-measure-row"),style:{height:0,fontSize:0},ref:pe},p.createElement(N.Z.Collection,{onBatchResize:function(Me){(0,nt.Z)(pe.current)&&Me.forEach(function(Oe){var Re=Oe.data,te=Oe.size;se(Re,te.offsetWidth)})}},q.map(function(xe){return p.createElement(kt,{key:xe,columnKey:xe,onColumnResize:se})})))}function dn(M){var ae=M.data,q=M.measureColumnWidth,se=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),pe=se.prefixCls,xe=se.getComponent,Me=se.onColumnResize,Oe=se.flattenColumns,Re=se.getRowKey,te=se.expandedKeys,oe=se.childrenColumnName,ve=se.emptyNode,ge=ce(ae,oe,te,Re),Ce=p.useRef({renderWithProps:!1}),Xe=xe(["body","wrapper"],"tbody"),ft=xe(["body","row"],"tr"),tt=xe(["body","cell"],"td"),xt=xe(["body","cell"],"th"),Dt;ae.length?Dt=ge.map(function(Xt,ct){var hn=Xt.record,an=Xt.indent,tn=Xt.index,Vt=Re(hn,ct);return p.createElement(Ct,{key:Vt,rowKey:Vt,record:hn,index:ct,renderIndex:tn,rowComponent:ft,cellComponent:tt,scopeCellComponent:xt,indent:an})}):Dt=p.createElement(Fe,{expanded:!0,className:"".concat(pe,"-placeholder"),prefixCls:pe,component:ft,cellComponent:tt,colSpan:Oe.length,isEmpty:!0},ve);var Ot=g(Oe);return p.createElement(w.Provider,{value:Ce.current},p.createElement(Xe,{className:"".concat(pe,"-tbody")},q&&p.createElement(zt,{prefixCls:pe,columnsKey:Ot,onColumnResize:Me}),Dt))}var wt=h(dn),ht=u(54451),St=["columnType"];function on(M){for(var ae=M.colWidths,q=M.columns,se=M.columCount,pe=e(l,["tableLayout"]),xe=pe.tableLayout,Me=[],Oe=se||q.length,Re=!1,te=Oe-1;te>=0;te-=1){var oe=ae[te],ve=q&&q[te],ge=void 0,Ce=void 0;if(ve&&(ge=ve[ht.v],xe==="auto"&&(Ce=ve.minWidth)),oe||Ce||ge||Re){var Xe=ge||{},ft=Xe.columnType,tt=(0,j.Z)(Xe,St);Me.unshift(p.createElement("col",(0,s.Z)({key:te,style:{width:oe,minWidth:Ce}},tt))),Re=!0}}return p.createElement("colgroup",null,Me)}var Gt=on,Yt=u(92393),vn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ln(M,ae){return(0,p.useMemo)(function(){for(var q=[],se=0;se<ae;se+=1){var pe=M[se];if(pe!==void 0)q[se]=pe;else return null}return q},[M.join("_"),ae])}var $e=p.forwardRef(function(M,ae){var q=M.className,se=M.noData,pe=M.columns,xe=M.flattenColumns,Me=M.colWidths,Oe=M.columCount,Re=M.stickyOffsets,te=M.direction,oe=M.fixHeader,ve=M.stickyTopOffset,ge=M.stickyBottomOffset,Ce=M.stickyClassName,Xe=M.onScroll,ft=M.maxContentScroll,tt=M.children,xt=(0,j.Z)(M,vn),Dt=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ot=Dt.prefixCls,Xt=Dt.scrollbarSize,ct=Dt.isSticky,hn=Dt.getComponent,an=hn(["header","table"],"table"),tn=ct&&!oe?0:Xt,Vt=p.useRef(null),nn=p.useCallback(function(cn){(0,c.mH)(ae,cn),(0,c.mH)(Vt,cn)},[]);p.useEffect(function(){var cn;function sn(un){var jn=un,Jn=jn.currentTarget,Gn=jn.deltaX;Gn&&(Xe({currentTarget:Jn,scrollLeft:Jn.scrollLeft+Gn}),un.preventDefault())}return(cn=Vt.current)===null||cn===void 0||cn.addEventListener("wheel",sn,{passive:!1}),function(){var un;(un=Vt.current)===null||un===void 0||un.removeEventListener("wheel",sn)}},[]);var pn=p.useMemo(function(){return xe.every(function(cn){return cn.width})},[xe]),en=xe[xe.length-1],fn={fixed:en?en.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ot,"-cell-scrollbar")}}},At=(0,p.useMemo)(function(){return tn?[].concat((0,Yt.Z)(pe),[fn]):pe},[tn,pe]),pt=(0,p.useMemo)(function(){return tn?[].concat((0,Yt.Z)(xe),[fn]):xe},[tn,xe]),Et=(0,p.useMemo)(function(){var cn=Re.right,sn=Re.left;return(0,Y.Z)((0,Y.Z)({},Re),{},{left:te==="rtl"?[].concat((0,Yt.Z)(sn.map(function(un){return un+tn})),[0]):sn,right:te==="rtl"?cn:[].concat((0,Yt.Z)(cn.map(function(un){return un+tn})),[0]),isSticky:ct})},[tn,Re,ct]),Jt=ln(Me,Oe);return p.createElement("div",{style:(0,Y.Z)({overflow:"hidden"},ct?{top:ve,bottom:ge}:{}),ref:nn,className:y()(q,(0,z.Z)({},Ce,!!Ce))},p.createElement(an,{style:{tableLayout:"fixed",visibility:se||Jt?null:"hidden"}},(!se||!ft||pn)&&p.createElement(Gt,{colWidths:Jt?[].concat((0,Yt.Z)(Jt),[tn]):[],columCount:Oe+1,columns:pt}),tt((0,Y.Z)((0,Y.Z)({},xt),{},{stickyOffsets:Et,columns:At,flattenColumns:pt}))))}),_t=p.memo($e),$t=function(ae){var q=ae.cells,se=ae.stickyOffsets,pe=ae.flattenColumns,xe=ae.rowComponent,Me=ae.cellComponent,Oe=ae.onHeaderRow,Re=ae.index,te=e(l,["prefixCls","direction"]),oe=te.prefixCls,ve=te.direction,ge;Oe&&(ge=Oe(q.map(function(Xe){return Xe.column}),Re));var Ce=g(q.map(function(Xe){return Xe.column}));return p.createElement(xe,ge,q.map(function(Xe,ft){var tt=Xe.column,xt=Ie(Xe.colStart,Xe.colEnd,pe,se,ve),Dt;return tt&&tt.onHeaderCell&&(Dt=Xe.column.onHeaderCell(tt)),p.createElement(Nt,(0,s.Z)({},Xe,{scope:tt.title?Xe.colSpan>1?"colgroup":"col":null,ellipsis:tt.ellipsis,align:tt.align,component:Me,prefixCls:oe,key:Ce[ft]},xt,{additionalProps:Dt,rowType:"header"}))}))},mn=$t;function Kt(M){var ae=[];function q(Me,Oe){var Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ae[Re]=ae[Re]||[];var te=Oe,oe=Me.filter(Boolean).map(function(ve){var ge={key:ve.key,className:ve.className||"",children:ve.title,column:ve,colStart:te},Ce=1,Xe=ve.children;return Xe&&Xe.length>0&&(Ce=q(Xe,te,Re+1).reduce(function(ft,tt){return ft+tt},0),ge.hasSubColumns=!0),"colSpan"in ve&&(Ce=ve.colSpan),"rowSpan"in ve&&(ge.rowSpan=ve.rowSpan),ge.colSpan=Ce,ge.colEnd=ge.colStart+Ce-1,ae[Re].push(ge),te+=Ce,Ce});return oe}q(M,0);for(var se=ae.length,pe=function(Oe){ae[Oe].forEach(function(Re){!("rowSpan"in Re)&&!Re.hasSubColumns&&(Re.rowSpan=se-Oe)})},xe=0;xe<se;xe+=1)pe(xe);return ae}var Dn=function(ae){var q=ae.stickyOffsets,se=ae.columns,pe=ae.flattenColumns,xe=ae.onHeaderRow,Me=e(l,["prefixCls","getComponent"]),Oe=Me.prefixCls,Re=Me.getComponent,te=p.useMemo(function(){return Kt(se)},[se]),oe=Re(["header","wrapper"],"thead"),ve=Re(["header","row"],"tr"),ge=Re(["header","cell"],"th");return p.createElement(oe,{className:"".concat(Oe,"-thead")},te.map(function(Ce,Xe){var ft=p.createElement(mn,{key:Xe,flattenColumns:pe,cells:Ce,stickyOffsets:q,rowComponent:ve,cellComponent:ge,onHeaderRow:xe,index:Xe});return ft}))},Un=h(Dn),wn=u(97347);function jt(M,ae,q){var se=(0,ht.g)(M),pe=se.expandIcon,xe=se.expandedRowKeys,Me=se.defaultExpandedRowKeys,Oe=se.defaultExpandAllRows,Re=se.expandedRowRender,te=se.onExpand,oe=se.onExpandedRowsChange,ve=se.childrenColumnName,ge=pe||Le,Ce=ve||"children",Xe=p.useMemo(function(){return Re?"row":M.expandable&&M.internalHooks===O.R&&M.expandable.__PARENT_RENDER_ICON__||ae.some(function(ct){return ct&&(0,F.Z)(ct)==="object"&&ct[Ce]})?"nest":!1},[!!Re,ae]),ft=p.useState(function(){return Me||(Oe?Be(ae,q,Ce):[])}),tt=(0,T.Z)(ft,2),xt=tt[0],Dt=tt[1],Ot=p.useMemo(function(){return new Set(xe||xt||[])},[xe,xt]),Xt=p.useCallback(function(ct){var hn=q(ct,ae.indexOf(ct)),an,tn=Ot.has(hn);tn?(Ot.delete(hn),an=(0,Yt.Z)(Ot)):an=[].concat((0,Yt.Z)(Ot),[hn]),Dt(an),te&&te(!tn,ct),oe&&oe(an)},[q,Ot,ae,te,oe]);return[se,Xe,Ot,ge,Ce,Xt]}function On(M,ae,q){var se=M.map(function(pe,xe){return Ie(xe,xe,M,ae,q)});return(0,d.Z)(function(){return se},[se],function(pe,xe){return!(0,V.Z)(pe,xe)})}function xn(M){var ae=(0,p.useRef)(M),q=(0,p.useState)({}),se=(0,T.Z)(q,2),pe=se[1],xe=(0,p.useRef)(null),Me=(0,p.useRef)([]);function Oe(Re){Me.current.push(Re);var te=Promise.resolve();xe.current=te,te.then(function(){if(xe.current===te){var oe=Me.current,ve=ae.current;Me.current=[],oe.forEach(function(ge){ae.current=ge(ae.current)}),xe.current=null,ve!==ae.current&&pe({})}})}return(0,p.useEffect)(function(){return function(){xe.current=null}},[]),[ae.current,Oe]}function Tn(M){var ae=(0,p.useRef)(M||null),q=(0,p.useRef)();function se(){window.clearTimeout(q.current)}function pe(Me){ae.current=Me,se(),q.current=window.setTimeout(function(){ae.current=null,q.current=void 0},100)}function xe(){return ae.current}return(0,p.useEffect)(function(){return se},[]),[pe,xe]}function gn(){var M=p.useState(-1),ae=(0,T.Z)(M,2),q=ae[0],se=ae[1],pe=p.useState(-1),xe=(0,T.Z)(pe,2),Me=xe[0],Oe=xe[1],Re=p.useCallback(function(te,oe){se(te),Oe(oe)},[]);return[q,Me,Re]}var Sn=u(47273),Mn=(0,Sn.Z)()?window:null;function Ln(M,ae){var q=(0,F.Z)(M)==="object"?M:{},se=q.offsetHeader,pe=se===void 0?0:se,xe=q.offsetSummary,Me=xe===void 0?0:xe,Oe=q.offsetScroll,Re=Oe===void 0?0:Oe,te=q.getContainer,oe=te===void 0?function(){return Mn}:te,ve=oe()||Mn,ge=!!M;return p.useMemo(function(){return{isSticky:ge,stickyClassName:ge?"".concat(ae,"-sticky-holder"):"",offsetHeader:pe,offsetSummary:Me,offsetScroll:Re,container:ve}},[ge,Re,pe,Me,ae,ve])}function Hn(M,ae,q){var se=(0,p.useMemo)(function(){var pe=ae.length,xe=function(te,oe,ve){for(var ge=[],Ce=0,Xe=te;Xe!==oe;Xe+=ve)ge.push(Ce),ae[Xe].fixed&&(Ce+=M[Xe]||0);return ge},Me=xe(0,pe,1),Oe=xe(pe-1,-1,-1).reverse();return q==="rtl"?{left:Oe,right:Me}:{left:Me,right:Oe}},[M,ae,q]);return se}var Wn=Hn;function Bn(M){var ae=M.className,q=M.children;return p.createElement("div",{className:ae},q)}var ee=Bn,J=u(8224),ze=u(16089),Ae=u(76846);function De(M){var ae=(0,Ae.bn)(M),q=ae.getBoundingClientRect(),se=document.documentElement;return{left:q.left+(window.pageXOffset||se.scrollLeft)-(se.clientLeft||document.body.clientLeft||0),top:q.top+(window.pageYOffset||se.scrollTop)-(se.clientTop||document.body.clientTop||0)}}var lt=function(ae,q){var se,pe,xe=ae.scrollBodyRef,Me=ae.onScroll,Oe=ae.offsetScroll,Re=ae.container,te=ae.direction,oe=e(l,"prefixCls"),ve=((se=xe.current)===null||se===void 0?void 0:se.scrollWidth)||0,ge=((pe=xe.current)===null||pe===void 0?void 0:pe.clientWidth)||0,Ce=ve&&ge*(ge/ve),Xe=p.useRef(),ft=xn({scrollLeft:0,isHiddenScrollBar:!0}),tt=(0,T.Z)(ft,2),xt=tt[0],Dt=tt[1],Ot=p.useRef({delta:0,x:0}),Xt=p.useState(!1),ct=(0,T.Z)(Xt,2),hn=ct[0],an=ct[1],tn=p.useRef(null);p.useEffect(function(){return function(){ze.Z.cancel(tn.current)}},[]);var Vt=function(){an(!1)},nn=function(pt){pt.persist(),Ot.current.delta=pt.pageX-xt.scrollLeft,Ot.current.x=0,an(!0),pt.preventDefault()},pn=function(pt){var Et,Jt=pt||((Et=window)===null||Et===void 0?void 0:Et.event),cn=Jt.buttons;if(!hn||cn===0){hn&&an(!1);return}var sn=Ot.current.x+pt.pageX-Ot.current.x-Ot.current.delta,un=te==="rtl";sn=Math.max(un?Ce-ge:0,Math.min(un?0:ge-Ce,sn));var jn=!un||Math.abs(sn)+Math.abs(Ce)<ge;jn&&(Me({scrollLeft:sn/ge*(ve+2)}),Ot.current.x=pt.pageX)},en=function(){ze.Z.cancel(tn.current),tn.current=(0,ze.Z)(function(){if(xe.current){var pt=De(xe.current).top,Et=pt+xe.current.offsetHeight,Jt=Re===window?document.documentElement.scrollTop+window.innerHeight:De(Re).top+Re.clientHeight;Et-(0,Z.Z)()<=Jt||pt>=Jt-Oe?Dt(function(cn){return(0,Y.Z)((0,Y.Z)({},cn),{},{isHiddenScrollBar:!0})}):Dt(function(cn){return(0,Y.Z)((0,Y.Z)({},cn),{},{isHiddenScrollBar:!1})})}})},fn=function(pt){Dt(function(Et){return(0,Y.Z)((0,Y.Z)({},Et),{},{scrollLeft:pt/ve*ge||0})})};return p.useImperativeHandle(q,function(){return{setScrollLeft:fn,checkScrollBarVisible:en}}),p.useEffect(function(){var At=(0,J.Z)(document.body,"mouseup",Vt,!1),pt=(0,J.Z)(document.body,"mousemove",pn,!1);return en(),function(){At.remove(),pt.remove()}},[Ce,hn]),p.useEffect(function(){if(xe.current){for(var At=[],pt=(0,Ae.bn)(xe.current);pt;)At.push(pt),pt=pt.parentElement;return At.forEach(function(Et){return Et.addEventListener("scroll",en,!1)}),window.addEventListener("resize",en,!1),window.addEventListener("scroll",en,!1),Re.addEventListener("scroll",en,!1),function(){At.forEach(function(Et){return Et.removeEventListener("scroll",en)}),window.removeEventListener("resize",en),window.removeEventListener("scroll",en),Re.removeEventListener("scroll",en)}}},[Re]),p.useEffect(function(){xt.isHiddenScrollBar||Dt(function(At){var pt=xe.current;return pt?(0,Y.Z)((0,Y.Z)({},At),{},{scrollLeft:pt.scrollLeft/pt.scrollWidth*pt.clientWidth}):At})},[xt.isHiddenScrollBar]),ve<=ge||!Ce||xt.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,Z.Z)(),width:ge,bottom:Oe},className:"".concat(oe,"-sticky-scroll")},p.createElement("div",{onMouseDown:nn,ref:Xe,className:y()("".concat(oe,"-sticky-scroll-bar"),(0,z.Z)({},"".concat(oe,"-sticky-scroll-bar-active"),hn)),style:{width:"".concat(Ce,"px"),transform:"translate3d(".concat(xt.scrollLeft,"px, 0, 0)")}}))},me=p.forwardRef(lt);function he(M){return null}var Te=he;function Ye(M){return null}var ot=Ye,mt="rc-table",et=[],Ve={};function H(){return"No Data"}function ie(M,ae){var q=(0,Y.Z)({rowKey:"key",prefixCls:mt,emptyText:H},M),se=q.prefixCls,pe=q.className,xe=q.rowClassName,Me=q.style,Oe=q.data,Re=q.rowKey,te=q.scroll,oe=q.tableLayout,ve=q.direction,ge=q.title,Ce=q.footer,Xe=q.summary,ft=q.caption,tt=q.id,xt=q.showHeader,Dt=q.components,Ot=q.emptyText,Xt=q.onRow,ct=q.onHeaderRow,hn=q.onScroll,an=q.internalHooks,tn=q.transformColumns,Vt=q.internalRefs,nn=q.tailor,pn=q.getContainerWidth,en=q.sticky,fn=q.rowHoverable,At=fn===void 0?!0:fn,pt=Oe||et,Et=!!pt.length,Jt=an===O.R,cn=p.useCallback(function(Kn,Fn){return(0,b.Z)(Dt,Kn)||Fn},[Dt]),sn=p.useMemo(function(){return typeof Re=="function"?Re:function(Kn){var Fn=Kn&&Kn[Re];return Fn}},[Re]),un=cn(["body"]),jn=gn(),Jn=(0,T.Z)(jn,3),Gn=Jn[0],sr=Jn[1],ir=Jn[2],Yn=jt(q,pt,sn),_n=(0,T.Z)(Yn,6),kn=_n[0],zn=_n[1],An=_n[2],yn=_n[3],bn=_n[4],yt=_n[5],qt=te==null?void 0:te.x,Qt=p.useState(0),rn=(0,T.Z)(Qt,2),Rn=rn[0],Zn=rn[1],bt=(0,wn.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},q),kn),{},{expandable:!!kn.expandedRowRender,columnTitle:kn.columnTitle,expandedKeys:An,getRowKey:sn,onTriggerExpand:yt,expandIcon:yn,expandIconColumnIndex:kn.expandIconColumnIndex,direction:ve,scrollWidth:Jt&&nn&&typeof qt=="number"?qt:null,clientWidth:Rn}),Jt?tn:null),Bt=(0,T.Z)(bt,4),En=Bt[0],Ht=Bt[1],Pn=Bt[2],or=Bt[3],$n=Pn!=null?Pn:qt,fr=p.useMemo(function(){return{columns:En,flattenColumns:Ht}},[En,Ht]),ur=p.useRef(),vr=p.useRef(),Qn=p.useRef(),Fr=p.useRef();p.useImperativeHandle(ae,function(){return{nativeElement:ur.current,scrollTo:function(Fn){var hr;if(Qn.current instanceof HTMLElement){var wr=Fn.index,pr=Fn.top,Hr=Fn.key;if(ue(pr)){var Lr;(Lr=Qn.current)===null||Lr===void 0||Lr.scrollTo({top:pr})}else{var Kr,Qr=Hr!=null?Hr:sn(pt[wr]);(Kr=Qn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(hr=Qn.current)!==null&&hr!==void 0&&hr.scrollTo&&Qn.current.scrollTo(Fn)}}});var Br=p.useRef(),Sr=p.useState(!1),Tr=(0,T.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ir=p.useState(!1),br=(0,T.Z)(Ir,2),Ar=br[0],Pr=br[1],zr=p.useState(new Map),kr=(0,T.Z)(zr,2),$r=kr[0],Mr=kr[1],Gr=g(Ht),jr=Gr.map(function(Kn){return $r.get(Kn)}),Wr=p.useMemo(function(){return jr},[jr.join("_")]),Dr=Wn(Wr,Ht,ve),dr=te&&K(te.y),lr=te&&K($n)||!!kn.fixed,Nn=lr&&Ht.some(function(Kn){var Fn=Kn.fixed;return Fn}),Cn=p.useRef(),nr=Ln(en,se),qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,ar=p.useMemo(function(){return Xe==null?void 0:Xe(pt)},[Xe,pt]),mr=(dr||qn)&&p.isValidElement(ar)&&ar.type===P&&ar.props.fixed,Rr,Er,Yr;dr&&(Er={overflowY:Et?"scroll":"auto",maxHeight:te.y}),lr&&(Rr={overflowX:"auto"},dr||(Er={overflowY:"hidden"}),Yr={width:$n===!0?"auto":$n,minWidth:"100%"});var qr=p.useCallback(function(Kn,Fn){Mr(function(hr){if(hr.get(Kn)!==Fn){var wr=new Map(hr);return wr.set(Kn,Fn),wr}return hr})},[]),tr=Tn(null),Vn=(0,T.Z)(tr,2),Xn=Vn[0],_r=Vn[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 Cr=(0,W.Z)(function(Kn){var Fn=Kn.currentTarget,hr=Kn.scrollLeft,wr=ve==="rtl",pr=typeof hr=="number"?hr:Fn.scrollLeft,Hr=Fn||Ve;if(!_r()||_r()===Hr){var Lr;Xn(Hr),cr(pr,vr.current),cr(pr,Qn.current),cr(pr,Br.current),cr(pr,(Lr=Cn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=Fn||vr.current;if(Kr){var Qr=Jt&&nn&&typeof $n=="number"?$n:Kr.scrollWidth,oi=Kr.clientWidth;if(Qr===oi){Or(!1),Pr(!1);return}wr?(Or(-pr<Qr-oi),Pr(-pr>0)):(Or(pr>0),Pr(pr<Qr-oi))}}),Xr=(0,W.Z)(function(Kn){Cr(Kn),hn==null||hn(Kn)}),ei=function(){if(lr&&Qn.current){var Fn;Cr({currentTarget:(0,Ae.bn)(Qn.current),scrollLeft:(Fn=Qn.current)===null||Fn===void 0?void 0:Fn.scrollLeft})}else Or(!1),Pr(!1)},ti=function(Fn){var hr,wr=Fn.width;(hr=Cn.current)===null||hr===void 0||hr.checkScrollBarVisible();var pr=ur.current?ur.current.offsetWidth:wr;Jt&&pn&&ur.current&&(pr=pn(ur.current,pr)||pr),pr!==Rn&&(ei(),Zn(pr))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ei()},[lr,Oe,En.length]),p.useEffect(function(){Jr.current=!0},[]);var Zr=p.useState(0),Ur=(0,T.Z)(Zr,2),Vr=Ur[0],li=Ur[1],wi=p.useState(!0),ui=(0,T.Z)(wi,2),ci=ui[0],xi=ui[1];(0,X.Z)(function(){(!nn||!Jt)&&(Qn.current instanceof Element?li((0,Z.o)(Qn.current).width):li((0,Z.o)(Fr.current).width)),xi((0,U.G)("position","sticky"))},[]),p.useEffect(function(){Jt&&Vt&&(Vt.body.current=Qn.current)});var Ei=p.useCallback(function(Kn){return p.createElement(p.Fragment,null,p.createElement(Un,Kn),mr==="top"&&p.createElement(S,Kn,ar))},[mr,ar]),Ci=p.useCallback(function(Kn){return p.createElement(S,Kn,ar)},[ar]),fi=cn(["table"],"table"),ni=p.useMemo(function(){return oe||(Nn?$n==="max-content"?"auto":"fixed":dr||qn||Ht.some(function(Kn){var Fn=Kn.ellipsis;return Fn})?"fixed":"auto")},[dr,Nn,Ht,oe,qn]),ri,ii={colWidths:Wr,columCount:Ht.length,stickyOffsets:Dr,onHeaderRow:ct,fixHeader:dr,scroll:te},di=p.useMemo(function(){return Et?null:typeof Ot=="function"?Ot():Ot},[Et,Ot]),hi=p.createElement(wt,{data:pt,measureColumnWidth:dr||lr||qn}),pi=p.createElement(Gt,{colWidths:Ht.map(function(Kn){var Fn=Kn.width;return Fn}),columns:Ht}),_i=ft!=null?p.createElement("caption",{className:"".concat(se,"-caption")},ft):void 0,Si=(0,ne.Z)(q,{data:!0}),vi=(0,ne.Z)(q,{aria:!0});if(dr||qn){var ai;typeof un=="function"?(ai=un(pt,{scrollbarSize:Vr,ref:Qn,onScroll:Cr}),ii.colWidths=Ht.map(function(Kn,Fn){var hr=Kn.width,wr=Fn===Ht.length-1?hr-Vr:hr;return typeof wr=="number"&&!Number.isNaN(wr)?wr:0})):ai=p.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Rr),Er),onScroll:Xr,ref:Qn,className:y()("".concat(se,"-body"))},p.createElement(fi,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:ni})},vi),_i,pi,hi,!mr&&ar&&p.createElement(S,{stickyOffsets:Dr,flattenColumns:Ht},ar)));var mi=(0,Y.Z)((0,Y.Z)((0,Y.Z)({noData:!pt.length,maxContentScroll:lr&&$n==="max-content"},ii),fr),{},{direction:ve,stickyClassName:gr,onScroll:Cr});ri=p.createElement(p.Fragment,null,xt!==!1&&p.createElement(_t,(0,s.Z)({},mi,{stickyTopOffset:er,className:"".concat(se,"-header"),ref:vr}),Ei),ai,mr&&mr!=="top"&&p.createElement(_t,(0,s.Z)({},mi,{stickyBottomOffset:rr,className:"".concat(se,"-summary"),ref:Br}),Ci),qn&&Qn.current&&Qn.current instanceof Element&&p.createElement(me,{ref:Cn,offsetScroll:yr,scrollBodyRef:Qn,onScroll:Cr,container:xr,direction:ve}))}else ri=p.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Rr),Er),className:y()("".concat(se,"-content")),onScroll:Cr,ref:Qn},p.createElement(fi,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:ni})},vi),_i,pi,xt!==!1&&p.createElement(Un,(0,s.Z)({},ii,fr)),hi,ar&&p.createElement(S,{stickyOffsets:Dr,flattenColumns:Ht},ar)));var si=p.createElement("div",(0,s.Z)({className:y()(se,pe,(0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)((0,z.Z)({},"".concat(se,"-rtl"),ve==="rtl"),"".concat(se,"-ping-left"),Nr),"".concat(se,"-ping-right"),Ar),"".concat(se,"-layout-fixed"),oe==="fixed"),"".concat(se,"-fixed-header"),dr),"".concat(se,"-fixed-column"),Nn),"".concat(se,"-fixed-column-gapped"),Nn&&or),"".concat(se,"-scroll-horizontal"),lr),"".concat(se,"-has-fix-left"),Ht[0]&&Ht[0].fixed),"".concat(se,"-has-fix-right"),Ht[Ht.length-1]&&Ht[Ht.length-1].fixed==="right")),style:Me,id:tt,ref:ur},Si),ge&&p.createElement(ee,{className:"".concat(se,"-title")},ge(pt)),p.createElement("div",{ref:Fr,className:"".concat(se,"-container")},ri),Ce&&p.createElement(ee,{className:"".concat(se,"-footer")},Ce(pt)));lr&&(si=p.createElement(N.Z,{onResize:ti},si));var gi=On(Ht,Dr,ve),Ri=p.useMemo(function(){return{scrollX:$n,prefixCls:se,getComponent:cn,scrollbarSize:Vr,direction:ve,fixedInfoList:gi,isSticky:qn,supportSticky:ci,componentWidth:Rn,fixHeader:dr,fixColumn:Nn,horizonScroll:lr,tableLayout:ni,rowClassName:xe,expandedRowClassName:kn.expandedRowClassName,expandIcon:yn,expandableType:zn,expandRowByClick:kn.expandRowByClick,expandedRowRender:kn.expandedRowRender,onTriggerExpand:yt,expandIconColumnIndex:kn.expandIconColumnIndex,indentSize:kn.indentSize,allColumnsFixedLeft:Ht.every(function(Kn){return Kn.fixed==="left"}),emptyNode:di,columns:En,flattenColumns:Ht,onColumnResize:qr,hoverStartRow:Gn,hoverEndRow:sr,onHover:ir,rowExpandable:kn.rowExpandable,onRow:Xt,getRowKey:sn,expandedKeys:An,childrenColumnName:bn,rowHoverable:At}},[$n,se,cn,Vr,ve,gi,qn,ci,Rn,dr,Nn,lr,ni,xe,kn.expandedRowClassName,yn,zn,kn.expandRowByClick,kn.expandedRowRender,yt,kn.expandIconColumnIndex,kn.indentSize,di,En,Ht,qr,Gn,sr,ir,kn.rowExpandable,Xt,sn,An,bn,At]);return p.createElement(l.Provider,{value:Ri},si)}var _e=p.forwardRef(ie);function de(M){return C(_e,M)}var ke=de();ke.EXPAND_COLUMN=O.w,ke.INTERNAL_HOOKS=O.R,ke.Column=Te,ke.ColumnGroup=ot,ke.Summary=B;var je=ke,Pe=u(65283),Ge=G(null),Qe=G(null);function st(M,ae,q){var se=ae||1;return q[M+se]-(q[M]||0)}function Rt(M){var ae=M.rowInfo,q=M.column,se=M.colIndex,pe=M.indent,xe=M.index,Me=M.component,Oe=M.renderIndex,Re=M.record,te=M.style,oe=M.className,ve=M.inverse,ge=M.getHeight,Ce=q.render,Xe=q.dataIndex,ft=q.className,tt=q.width,xt=e(Qe,["columnsOffset"]),Dt=xt.columnsOffset,Ot=Ue(ae,q,se,pe,xe),Xt=Ot.key,ct=Ot.fixedInfo,hn=Ot.appendCellNode,an=Ot.additionalCellProps,tn=an.style,Vt=an.colSpan,nn=Vt===void 0?1:Vt,pn=an.rowSpan,en=pn===void 0?1:pn,fn=se-1,At=st(fn,nn,Dt),pt=nn>1?tt-At:0,Et=(0,Y.Z)((0,Y.Z)((0,Y.Z)({},tn),te),{},{flex:"0 0 ".concat(At,"px"),width:"".concat(At,"px"),marginRight:pt,pointerEvents:"auto"}),Jt=p.useMemo(function(){return ve?en<=1:nn===0||en===0||en>1},[en,nn,ve]);Jt?Et.visibility="hidden":ve&&(Et.height=ge==null?void 0:ge(en));var cn=Jt?function(){return null}:Ce,sn={};return(en===0||nn===0)&&(sn.rowSpan=1,sn.colSpan=1),p.createElement(Nt,(0,s.Z)({className:y()(ft,oe),ellipsis:q.ellipsis,align:q.align,scope:q.rowScope,component:Me,prefixCls:ae.prefixCls,key:Xt,record:Re,index:xe,renderIndex:Oe,dataIndex:Xe,render:cn,shouldCellUpdate:q.shouldCellUpdate},ct,{appendNode:hn,additionalProps:(0,Y.Z)((0,Y.Z)({},an),{},{style:Et},sn)}))}var at=Rt,It=["data","index","className","rowKey","style","extra","getHeight"],Mt=p.forwardRef(function(M,ae){var q=M.data,se=M.index,pe=M.className,xe=M.rowKey,Me=M.style,Oe=M.extra,Re=M.getHeight,te=(0,j.Z)(M,It),oe=q.record,ve=q.indent,ge=q.index,Ce=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Xe=Ce.scrollX,ft=Ce.flattenColumns,tt=Ce.prefixCls,xt=Ce.fixColumn,Dt=Ce.componentWidth,Ot=e(Ge,["getComponent"]),Xt=Ot.getComponent,ct=be(oe,xe,se,ve),hn=Xt(["body","row"],"div"),an=Xt(["body","cell"],"div"),tn=ct.rowSupportExpand,Vt=ct.expanded,nn=ct.rowProps,pn=ct.expandedRowRender,en=ct.expandedRowClassName,fn;if(tn&&Vt){var At=pn(oe,se,ve+1,Vt),pt=it(en,oe,se,ve),Et={};xt&&(Et={style:(0,z.Z)({},"--virtual-width","".concat(Dt,"px"))});var Jt="".concat(tt,"-expanded-row-cell");fn=p.createElement(hn,{className:y()("".concat(tt,"-expanded-row"),"".concat(tt,"-expanded-row-level-").concat(ve+1),pt)},p.createElement(Nt,{component:an,prefixCls:tt,className:y()(Jt,(0,z.Z)({},"".concat(Jt,"-fixed"),xt)),additionalProps:Et},At))}var cn=(0,Y.Z)((0,Y.Z)({},Me),{},{width:Xe});Oe&&(cn.position="absolute",cn.pointerEvents="none");var sn=p.createElement(hn,(0,s.Z)({},nn,te,{"data-row-key":xe,ref:tn?null:ae,className:y()(pe,"".concat(tt,"-row"),nn==null?void 0:nn.className,(0,z.Z)({},"".concat(tt,"-row-extra"),Oe)),style:(0,Y.Z)((0,Y.Z)({},cn),nn==null?void 0:nn.style)}),ft.map(function(un,jn){return p.createElement(at,{key:jn,component:an,rowInfo:ct,column:un,colIndex:jn,indent:ve,index:se,renderIndex:ge,record:oe,inverse:Oe,getHeight:Re})}));return tn?p.createElement("div",{ref:ae},sn,fn):sn}),Zt=h(Mt),vt=Zt,gt=p.forwardRef(function(M,ae){var q=M.data,se=M.onScroll,pe=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),xe=pe.flattenColumns,Me=pe.onColumnResize,Oe=pe.getRowKey,Re=pe.expandedKeys,te=pe.prefixCls,oe=pe.childrenColumnName,ve=pe.scrollX,ge=pe.direction,Ce=e(Ge),Xe=Ce.sticky,ft=Ce.scrollY,tt=Ce.listItemHeight,xt=Ce.getComponent,Dt=Ce.onScroll,Ot=p.useRef(),Xt=ce(q,oe,Re,Oe),ct=p.useMemo(function(){var fn=0;return xe.map(function(At){var pt=At.width,Et=At.key;return fn+=pt,[Et,pt,fn]})},[xe]),hn=p.useMemo(function(){return ct.map(function(fn){return fn[2]})},[ct]);p.useEffect(function(){ct.forEach(function(fn){var At=(0,T.Z)(fn,2),pt=At[0],Et=At[1];Me(pt,Et)})},[ct]),p.useImperativeHandle(ae,function(){var fn,At={scrollTo:function(Et){var Jt;(Jt=Ot.current)===null||Jt===void 0||Jt.scrollTo(Et)},nativeElement:(fn=Ot.current)===null||fn===void 0?void 0:fn.nativeElement};return Object.defineProperty(At,"scrollLeft",{get:function(){var Et;return((Et=Ot.current)===null||Et===void 0?void 0:Et.getScrollInfo().x)||0},set:function(Et){var Jt;(Jt=Ot.current)===null||Jt===void 0||Jt.scrollTo({left:Et})}}),At});var an=function(At,pt){var Et,Jt=(Et=Xt[pt])===null||Et===void 0?void 0:Et.record,cn=At.onCell;if(cn){var sn,un=cn(Jt,pt);return(sn=un==null?void 0:un.rowSpan)!==null&&sn!==void 0?sn:1}return 1},tn=function(At){var pt=At.start,Et=At.end,Jt=At.getSize,cn=At.offsetY;if(Et<0)return null;for(var sn=xe.filter(function(yn){return an(yn,pt)===0}),un=pt,jn=function(bn){if(sn=sn.filter(function(yt){return an(yt,bn)===0}),!sn.length)return un=bn,1},Jn=pt;Jn>=0&&!jn(Jn);Jn-=1);for(var Gn=xe.filter(function(yn){return an(yn,Et)!==1}),sr=Et,ir=function(bn){if(Gn=Gn.filter(function(yt){return an(yt,bn)!==1}),!Gn.length)return sr=Math.max(bn-1,Et),1},Yn=Et;Yn<Xt.length&&!ir(Yn);Yn+=1);for(var _n=[],kn=function(bn){var yt=Xt[bn];if(!yt)return 1;xe.some(function(qt){return an(qt,bn)>1})&&_n.push(bn)},zn=un;zn<=sr;zn+=1)kn(zn);var An=_n.map(function(yn){var bn=Xt[yn],yt=Oe(bn.record,yn),qt=function(Rn){var Zn=yn+Rn-1,bt=Oe(Xt[Zn].record,Zn),Bt=Jt(yt,bt);return Bt.bottom-Bt.top},Qt=Jt(yt);return p.createElement(vt,{key:yn,data:bn,rowKey:yt,index:yn,style:{top:-cn+Qt.top},extra:!0,getHeight:qt})});return An},Vt=p.useMemo(function(){return{columnsOffset:hn}},[hn]),nn="".concat(te,"-tbody"),pn=xt(["body","wrapper"]),en={};return Xe&&(en.position="sticky",en.bottom=0,(0,F.Z)(Xe)==="object"&&Xe.offsetScroll&&(en.bottom=Xe.offsetScroll)),p.createElement(Qe.Provider,{value:Vt},p.createElement(Pe.Z,{fullHeight:!1,ref:Ot,prefixCls:"".concat(nn,"-virtual"),styles:{horizontalScrollBar:en},className:nn,height:ft,itemHeight:tt||24,data:Xt,itemKey:function(At){return Oe(At.record)},component:pn,scrollWidth:ve,direction:ge,onVirtualScroll:function(At){var pt,Et=At.x;se({currentTarget:(pt=Ot.current)===null||pt===void 0?void 0:pt.nativeElement,scrollLeft:Et})},onScroll:Dt,extraRender:tn},function(fn,At,pt){var Et=Oe(fn.record,At);return p.createElement(vt,{data:fn,rowKey:Et,index:At,style:pt.style})}))}),Wt=h(gt),rt=Wt,ut=function(ae,q){var se=q.ref,pe=q.onScroll;return p.createElement(rt,{ref:se,data:ae,onScroll:pe})};function dt(M,ae){var q=M.data,se=M.columns,pe=M.scroll,xe=M.sticky,Me=M.prefixCls,Oe=Me===void 0?mt:Me,Re=M.className,te=M.listItemHeight,oe=M.components,ve=M.onScroll,ge=pe||{},Ce=ge.x,Xe=ge.y;typeof Ce!="number"&&(Ce=1),typeof Xe!="number"&&(Xe=500);var ft=(0,Tt.zX)(function(Dt,Ot){return(0,b.Z)(oe,Dt)||Ot}),tt=(0,Tt.zX)(ve),xt=p.useMemo(function(){return{sticky:xe,scrollY:Xe,listItemHeight:te,getComponent:ft,onScroll:tt}},[xe,Xe,te,ft,tt]);return p.createElement(Ge.Provider,{value:xt},p.createElement(je,(0,s.Z)({},M,{className:y()(Re,"".concat(Oe,"-virtual")),scroll:(0,Y.Z)((0,Y.Z)({},pe),{},{x:Ce}),components:(0,Y.Z)((0,Y.Z)({},oe),{},{body:q!=null&&q.length?ut:void 0}),columns:se,internalHooks:O.R,tailor:!0,ref:ae})))}var Ut=p.forwardRef(dt);function Pt(M){return C(Ut,M)}var Ft=Pt(),In=null},54451:function(Lt,Ke,u){"use strict";u.d(Ke,{g:function(){return p},v:function(){return V}});var O=u(20049),T=u(5883),W=u(48736),X=["expandable"],V="RC_TABLE_INTERNAL_COL_DEFINE";function p($){var G=$.expandable,e=(0,T.Z)($,X),s;return"expandable"in $?s=(0,O.Z)((0,O.Z)({},e),G):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Lt,Ke,u){"use strict";u.d(Ke,{G:function(){return X},Z:function(){return C}});var O=u(92310),T=u.n(O),W=u(59301);function X(h){var _=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 _=="function"?_():_))}var V=u(5016),p=u(20049),$=u(5883),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"],m=function(_,f){var l=_.overlayClassName,k=_.trigger,I=k===void 0?["hover"]:k,L=_.mouseEnterDelay,F=L===void 0?0:L,Y=_.mouseLeaveDelay,z=Y===void 0?.1:Y,ye=_.overlayStyle,y=_.prefixCls,d=y===void 0?"rc-tooltip":y,b=_.children,R=_.onVisibleChange,A=_.afterVisibleChange,w=_.transitionName,n=_.animation,i=_.motion,g=_.placement,K=g===void 0?"right":g,ue=_.align,Se=ue===void 0?{}:ue,Ze=_.destroyTooltipOnHide,He=Ze===void 0?!1:Ze,qe=_.defaultVisible,Tt=_.getTooltipContainer,Ee=_.overlayInnerStyle,Je=_.arrowContent,Nt=_.overlay,Ie=_.id,Ne=_.showArrow,le=Ne===void 0?!0:Ne,E=_.classNames,j=_.styles,D=(0,$.Z)(_,o),re=(0,a.Z)(Ie),fe=(0,W.useRef)(null);(0,W.useImperativeHandle)(f,function(){return fe.current});var P=(0,p.Z)({},D);"visible"in _&&(P.popupVisible=_.visible);var v=function(){return W.createElement(X,{key:"content",prefixCls:d,id:re,bodyClassName:E==null?void 0:E.body,overlayInnerStyle:(0,p.Z)((0,p.Z)({},Ee),j==null?void 0:j.body)},Nt)},S=function(){var N=W.Children.only(b),U=(N==null?void 0:N.props)||{},Z=(0,p.Z)((0,p.Z)({},U),{},{"aria-describedby":Nt?re: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:v,action:I,builtinPlacements:t,popupPlacement:K,ref:fe,popupAlign:Se,getPopupContainer:Tt,onPopupVisibleChange:R,afterPopupVisibleChange:A,popupTransitionName:w,popupAnimation:n,popupMotion:i,defaultPopupVisible:qe,autoDestroy:He,mouseLeaveDelay:z,popupStyle:(0,p.Z)((0,p.Z)({},ye),j==null?void 0:j.root),mouseEnterDelay:F,arrow:le},P),S())},x=(0,W.forwardRef)(m),C=x},639:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return _}});var O=u(5016),T=u(18082),W=u(20049),X=u(52456),V=u(5883),p=u(59301),$=u(92310),G=u.n($),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"),z=[],ye=0;ye<I;ye+=1)z.push(p.createElement("span",{key:ye,className:G()(Y,(0,T.Z)((0,T.Z)({},"".concat(Y,"-start"),L[ye]),"".concat(Y,"-end"),F[ye]))}));return p.createElement("span",{"aria-hidden":"true",className:"".concat(k,"-indent")},z)},t=p.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"],m="open",x="close",C="---",h=function(l){var k,I,L,F=l.eventKey,Y=l.className,z=l.style,ye=l.dragOver,y=l.dragOverGapTop,d=l.dragOverGapBottom,b=l.isLeaf,R=l.isStart,A=l.isEnd,w=l.expanded,n=l.selected,i=l.checked,g=l.halfChecked,K=l.loading,ue=l.domRef,Se=l.active,Ze=l.data,He=l.onMouseMove,qe=l.selectable,Tt=(0,V.Z)(l,o),Ee=p.useContext(s.k),Je=p.useContext(s.y),Nt=p.useRef(null),Ie=p.useState(!1),Ne=(0,X.Z)(Ie,2),le=Ne[0],E=Ne[1],j=!!(Ee.disabled||l.disabled||(k=Je.nodeDisabled)!==null&&k!==void 0&&k.call(Je,Ze)),D=p.useMemo(function(){return!Ee.checkable||l.checkable===!1?!1:Ee.checkable},[Ee.checkable,l.checkable]),re=function(_t){j||Ee.onNodeSelect(_t,(0,a.F)(l))},fe=function(_t){j||!D||l.disableCheckbox||Ee.onNodeCheck(_t,(0,a.F)(l),!i)},P=p.useMemo(function(){return typeof qe=="boolean"?qe:Ee.selectable},[qe,Ee.selectable]),v=function(_t){Ee.onNodeClick(_t,(0,a.F)(l)),P?re(_t):fe(_t)},S=function(_t){Ee.onNodeDoubleClick(_t,(0,a.F)(l))},B=function(_t){Ee.onNodeMouseEnter(_t,(0,a.F)(l))},N=function(_t){Ee.onNodeMouseLeave(_t,(0,a.F)(l))},U=function(_t){Ee.onNodeContextMenu(_t,(0,a.F)(l))},Z=p.useMemo(function(){return!!(Ee.draggable&&(!Ee.draggable.nodeDraggable||Ee.draggable.nodeDraggable(Ze)))},[Ee.draggable,Ze]),ne=function(_t){_t.stopPropagation(),E(!0),Ee.onNodeDragStart(_t,l);try{_t.dataTransfer.setData("text/plain","")}catch($t){}},Q=function(_t){_t.preventDefault(),_t.stopPropagation(),Ee.onNodeDragEnter(_t,l)},ce=function(_t){_t.preventDefault(),_t.stopPropagation(),Ee.onNodeDragOver(_t,l)},be=function(_t){_t.stopPropagation(),Ee.onNodeDragLeave(_t,l)},we=function(_t){_t.stopPropagation(),E(!1),Ee.onNodeDragEnd(_t,l)},Fe=function(_t){_t.preventDefault(),_t.stopPropagation(),E(!1),Ee.onNodeDrop(_t,l)},Le=function(_t){K||Ee.onNodeExpand(_t,(0,a.F)(l))},Be=p.useMemo(function(){var $e=(0,r.Z)(Ee.keyEntities,F)||{},_t=$e.children;return!!(_t||[]).length},[Ee.keyEntities,F]),it=p.useMemo(function(){return b===!1?!1:b||!Ee.loadData&&!Be||Ee.loadData&&l.loaded&&!Be},[b,Ee.loadData,Be,l.loaded]);p.useEffect(function(){K||typeof Ee.loadData=="function"&&w&&!it&&!l.loaded&&Ee.onNodeLoad((0,a.F)(l))},[K,Ee.loadData,Ee.onNodeLoad,w,it,l]);var Ue=p.useMemo(function(){var $e;return($e=Ee.draggable)!==null&&$e!==void 0&&$e.icon?p.createElement("span",{className:"".concat(Ee.prefixCls,"-draggable-icon")},Ee.draggable.icon):null},[Ee.draggable]),We=function(_t){var $t=l.switcherIcon||Ee.switcherIcon;return typeof $t=="function"?$t((0,W.Z)((0,W.Z)({},l),{},{isLeaf:_t})):$t},Ct=function(){if(it){var _t=We(!0);return _t!==!1?p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-switcher"),"".concat(Ee.prefixCls,"-switcher-noop"))},_t):null}var $t=We(!1);return $t!==!1?p.createElement("span",{onClick:Le,className:G()("".concat(Ee.prefixCls,"-switcher"),"".concat(Ee.prefixCls,"-switcher_").concat(w?m:x))},$t):null},kt=p.useMemo(function(){if(!D)return null;var $e=typeof D!="boolean"?D:null;return p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-checkbox"),(0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(Ee.prefixCls,"-checkbox-checked"),i),"".concat(Ee.prefixCls,"-checkbox-indeterminate"),!i&&g),"".concat(Ee.prefixCls,"-checkbox-disabled"),j||l.disableCheckbox)),onClick:fe,role:"checkbox","aria-checked":g?"mixed":i,"aria-disabled":j||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},$e)},[D,i,g,j,l.disableCheckbox,l.title]),nt=p.useMemo(function(){return it?null:w?m:x},[it,w]),zt=p.useMemo(function(){return p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-iconEle"),"".concat(Ee.prefixCls,"-icon__").concat(nt||"docu"),(0,T.Z)({},"".concat(Ee.prefixCls,"-icon_loading"),K))})},[Ee.prefixCls,nt,K]),dn=p.useMemo(function(){var $e=!!Ee.draggable,_t=!l.disabled&&$e&&Ee.dragOverNodeKey===F;return _t?Ee.dropIndicatorRender({dropPosition:Ee.dropPosition,dropLevelOffset:Ee.dropLevelOffset,indent:Ee.indent,prefixCls:Ee.prefixCls,direction:Ee.direction}):null},[Ee.dropPosition,Ee.dropLevelOffset,Ee.indent,Ee.prefixCls,Ee.direction,Ee.draggable,Ee.dragOverNodeKey,Ee.dropIndicatorRender]),wt=p.useMemo(function(){var $e=l.title,_t=$e===void 0?C:$e,$t="".concat(Ee.prefixCls,"-node-content-wrapper"),mn;if(Ee.showIcon){var Kt=l.icon||Ee.icon;mn=Kt?p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-iconEle"),"".concat(Ee.prefixCls,"-icon__customize"))},typeof Kt=="function"?Kt(l):Kt):zt}else Ee.loadData&&K&&(mn=zt);var Dn;return typeof _t=="function"?Dn=_t(Ze):Ee.titleRender?Dn=Ee.titleRender(Ze):Dn=_t,p.createElement("span",{ref:Nt,title:typeof _t=="string"?_t:"",className:G()($t,"".concat($t,"-").concat(nt||"normal"),(0,T.Z)({},"".concat(Ee.prefixCls,"-node-selected"),!j&&(n||le))),onMouseEnter:B,onMouseLeave:N,onContextMenu:U,onClick:v,onDoubleClick:S},mn,p.createElement("span",{className:"".concat(Ee.prefixCls,"-title")},Dn),dn)},[Ee.prefixCls,Ee.showIcon,l,Ee.icon,zt,Ee.titleRender,Ze,nt,B,N,U,v,S]),ht=(0,e.Z)(Tt,{aria:!0,data:!0}),St=(0,r.Z)(Ee.keyEntities,F)||{},on=St.level,Gt=A[A.length-1],Yt=!j&&Z,vn=Ee.draggingNodeKey===F,ln=qe!==void 0?{"aria-selected":!!qe}:void 0;return p.createElement("div",(0,O.Z)({ref:ue,role:"treeitem","aria-expanded":b?void 0:w,className:G()(Y,"".concat(Ee.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(Ee.prefixCls,"-treenode-disabled"),j),"".concat(Ee.prefixCls,"-treenode-switcher-").concat(w?"open":"close"),!b),"".concat(Ee.prefixCls,"-treenode-checkbox-checked"),i),"".concat(Ee.prefixCls,"-treenode-checkbox-indeterminate"),g),"".concat(Ee.prefixCls,"-treenode-selected"),n),"".concat(Ee.prefixCls,"-treenode-loading"),K),"".concat(Ee.prefixCls,"-treenode-active"),Se),"".concat(Ee.prefixCls,"-treenode-leaf-last"),Gt),"".concat(Ee.prefixCls,"-treenode-draggable"),Z),"dragging",vn),(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)(L,"drop-target",Ee.dropTargetKey===F),"drop-container",Ee.dropContainerKey===F),"drag-over",!j&&ye),"drag-over-gap-top",!j&&y),"drag-over-gap-bottom",!j&&d),"filter-node",(I=Ee.filterTreeNode)===null||I===void 0?void 0:I.call(Ee,(0,a.F)(l))),"".concat(Ee.prefixCls,"-treenode-leaf"),it))),style:z,draggable:Yt,onDragStart:Yt?ne:void 0,onDragEnter:Z?Q:void 0,onDragOver:Z?ce:void 0,onDragLeave:Z?be:void 0,onDrop:Z?Fe:void 0,onDragEnd:Z?we:void 0,onMouseMove:He},ln,ht),p.createElement(t,{prefixCls:Ee.prefixCls,level:on,isStart:R,isEnd:A}),Ue,Ct(),kt,wt)};h.isTreeNode=1;var _=h},30699:function(Lt,Ke,u){"use strict";u.d(Ke,{k:function(){return T},y:function(){return W}});var O=u(59301),T=O.createContext(null),W=O.createContext({})},28390:function(Lt,Ke,u){"use strict";u.d(Ke,{OF:function(){return F.Z},y6:function(){return x.y},ZP:function(){return j}});var O=u(5016),T=u(10928),W=u(20049),X=u(92393),V=u(6487),p=u(56789),$=u(41281),G=u(7942),e=u(76773),s=u(18082),c=u(92310),t=u.n(c),r=u(10228),a=u(26112),o=u(48736),m=u(59301),x=u(30699),C=function(re){var fe=re.dropPosition,P=re.dropLevelOffset,v=re.indent,S={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(fe){case-1:S.top=0,S.left=-P*v;break;case 1:S.bottom=0,S.left=-P*v;break;case 0:S.bottom=0,S.left=v;break}return m.createElement("div",{style:S})},h=C;function _(D){if(D==null)throw new TypeError("Cannot destructure "+D)}var f=u(52456),l=u(5883),k=u(34280),I=u(65283),L=u(77900),F=u(639);function Y(D,re){var fe=m.useState(!1),P=(0,f.Z)(fe,2),v=P[0],S=P[1];(0,k.Z)(function(){if(v)return D(),function(){re()}},[v]),(0,k.Z)(function(){return S(!0),function(){S(!1)}},[])}var z=Y,ye=u(34061),y=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],d=m.forwardRef(function(D,re){var fe=D.className,P=D.style,v=D.motion,S=D.motionNodes,B=D.motionType,N=D.onMotionStart,U=D.onMotionEnd,Z=D.active,ne=D.treeNodeRequiredProps,Q=(0,l.Z)(D,y),ce=m.useState(!0),be=(0,f.Z)(ce,2),we=be[0],Fe=be[1],Le=m.useContext(x.k),Be=Le.prefixCls,it=S&&B!=="hide";(0,k.Z)(function(){S&&it!==we&&Fe(it)},[S]);var Ue=function(){S&&N()},We=m.useRef(!1),Ct=function(){S&&!We.current&&(We.current=!0,U())};z(Ue,Ct);var kt=function(zt){it===zt&&Ct()};return S?m.createElement(L.default,(0,O.Z)({ref:re,visible:we},v,{motionAppear:B==="show",onVisibleChanged:kt}),function(nt,zt){var dn=nt.className,wt=nt.style;return m.createElement("div",{ref:zt,className:t()("".concat(Be,"-treenode-motion"),dn),style:wt},S.map(function(ht){var St=Object.assign({},(_(ht.data),ht.data)),on=ht.title,Gt=ht.key,Yt=ht.isStart,vn=ht.isEnd;delete St.children;var ln=(0,ye.H8)(Gt,ne);return m.createElement(F.Z,(0,O.Z)({},St,ln,{title:on,active:Z,data:ht.data,key:Gt,isStart:Yt,isEnd:vn}))}))}):m.createElement(F.Z,(0,O.Z)({domRef:re,className:fe,style:P},Q,{active:Z}))}),b=d;function R(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fe=D.length,P=re.length;if(Math.abs(fe-P)!==1)return{add:!1,key:null};function v(S,B){var N=new Map;S.forEach(function(Z){N.set(Z,!0)});var U=B.filter(function(Z){return!N.has(Z)});return U.length===1?U[0]:null}return fe<P?{add:!0,key:v(D,re)}:{add:!1,key:v(re,D)}}function A(D,re,fe){var P=D.findIndex(function(N){return N.key===fe}),v=D[P+1],S=re.findIndex(function(N){return N.key===fe});if(v){var B=re.findIndex(function(N){return N.key===v.key});return re.slice(S+1,B)}return re.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(){},g="RC_TREE_MOTION_".concat(Math.random()),K={key:g},ue={key:g,level:0,index:0,pos:"0",node:K,nodes:[K]},Se={parent:null,children:[],pos:ue.pos,data:K,title:null,key:g,isStart:[],isEnd:[]};function Ze(D,re,fe,P){return re===!1||!fe?D:D.slice(0,Math.ceil(fe/P)+1)}function He(D){var re=D.key,fe=D.pos;return(0,ye.km)(re,fe)}function qe(D){for(var re=String(D.data.key),fe=D;fe.parent;)fe=fe.parent,re="".concat(fe.data.key," > ").concat(re);return re}var Tt=m.forwardRef(function(D,re){var fe=D.prefixCls,P=D.data,v=D.selectable,S=D.checkable,B=D.expandedKeys,N=D.selectedKeys,U=D.checkedKeys,Z=D.loadedKeys,ne=D.loadingKeys,Q=D.halfCheckedKeys,ce=D.keyEntities,be=D.disabled,we=D.dragging,Fe=D.dragOverNodeKey,Le=D.dropPosition,Be=D.motion,it=D.height,Ue=D.itemHeight,We=D.virtual,Ct=D.scrollWidth,kt=D.focusable,nt=D.activeItem,zt=D.focused,dn=D.tabIndex,wt=D.onKeyDown,ht=D.onFocus,St=D.onBlur,on=D.onActiveChange,Gt=D.onListChangeStart,Yt=D.onListChangeEnd,vn=(0,l.Z)(D,w),ln=m.useRef(null),$e=m.useRef(null);m.useImperativeHandle(re,function(){return{scrollTo:function(he){ln.current.scrollTo(he)},getIndentWidth:function(){return $e.current.offsetWidth}}});var _t=m.useState(B),$t=(0,f.Z)(_t,2),mn=$t[0],Kt=$t[1],Dn=m.useState(P),Un=(0,f.Z)(Dn,2),wn=Un[0],jt=Un[1],On=m.useState(P),xn=(0,f.Z)(On,2),Tn=xn[0],gn=xn[1],Sn=m.useState([]),Mn=(0,f.Z)(Sn,2),Ln=Mn[0],Hn=Mn[1],Wn=m.useState(null),Bn=(0,f.Z)(Wn,2),ee=Bn[0],J=Bn[1],ze=m.useRef(P);ze.current=P;function Ae(){var me=ze.current;jt(me),gn(me),Hn([]),J(null),Yt()}(0,k.Z)(function(){Kt(B);var me=R(mn,B);if(me.key!==null)if(me.add){var he=wn.findIndex(function(Ve){var H=Ve.key;return H===me.key}),Te=Ze(A(wn,P,me.key),We,it,Ue),Ye=wn.slice();Ye.splice(he+1,0,Se),gn(Ye),Hn(Te),J("show")}else{var ot=P.findIndex(function(Ve){var H=Ve.key;return H===me.key}),mt=Ze(A(P,wn,me.key),We,it,Ue),et=P.slice();et.splice(ot+1,0,Se),gn(et),Hn(mt),J("hide")}else wn!==P&&(jt(P),gn(P))},[B,P]),m.useEffect(function(){we||Ae()},[we]);var De=Be?Tn:P,lt={expandedKeys:B,selectedKeys:N,loadedKeys:Z,loadingKeys:ne,checkedKeys:U,halfCheckedKeys:Q,dragOverNodeKey:Fe,dropPosition:Le,keyEntities:ce};return m.createElement(m.Fragment,null,zt&&nt&&m.createElement("span",{style:n,"aria-live":"assertive"},qe(nt)),m.createElement("div",null,m.createElement("input",{style:n,disabled:kt===!1||be,tabIndex:kt!==!1?dn:null,onKeyDown:wt,onFocus:ht,onBlur:St,value:"",onChange:i,"aria-label":"for screen reader"})),m.createElement("div",{className:"".concat(fe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},m.createElement("div",{className:"".concat(fe,"-indent")},m.createElement("div",{ref:$e,className:"".concat(fe,"-indent-unit")}))),m.createElement(I.Z,(0,O.Z)({},vn,{data:De,itemKey:He,height:it,fullHeight:!1,virtual:We,itemHeight:Ue,scrollWidth:Ct,prefixCls:"".concat(fe,"-list"),ref:ln,role:"tree",onVisibleChange:function(he){he.every(function(Te){return He(Te)!==g})&&Ae()}}),function(me){var he=me.pos,Te=Object.assign({},(_(me.data),me.data)),Ye=me.title,ot=me.key,mt=me.isStart,et=me.isEnd,Ve=(0,ye.km)(ot,he);delete Te.key,delete Te.children;var H=(0,ye.H8)(Ve,lt);return m.createElement(b,(0,O.Z)({},Te,H,{title:Ye,active:!!nt&&ot===nt.key,pos:he,data:me.data,isStart:mt,isEnd:et,motion:Be,motionNodes:ot===g?Ln:null,motionType:ee,onMotionStart:Gt,onMotionEnd:Ae,treeNodeRequiredProps:lt,onMouseMove:function(){on(null)}}))}))}),Ee=Tt,Je=u(82661),Nt=u(34643),Ie=u(65065),Ne=10,le=function(D){(0,G.Z)(fe,D);var re=(0,e.Z)(fe);function fe(){var P;(0,V.Z)(this,fe);for(var v=arguments.length,S=new Array(v),B=0;B<v;B++)S[B]=arguments[B];return P=re.call.apply(re,[this].concat(S)),(0,s.Z)((0,$.Z)(P),"destroyed",!1),(0,s.Z)((0,$.Z)(P),"delayedDragEnterLogic",void 0),(0,s.Z)((0,$.Z)(P),"loadingRetryTimes",{}),(0,s.Z)((0,$.Z)(P),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ye.w$)()}),(0,s.Z)((0,$.Z)(P),"dragStartMousePosition",null),(0,s.Z)((0,$.Z)(P),"dragNodeProps",null),(0,s.Z)((0,$.Z)(P),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,$.Z)(P),"listRef",m.createRef()),(0,s.Z)((0,$.Z)(P),"onNodeDragStart",function(N,U){var Z=P.state,ne=Z.expandedKeys,Q=Z.keyEntities,ce=P.props.onDragStart,be=U.eventKey;P.dragNodeProps=U,P.dragStartMousePosition={x:N.clientX,y:N.clientY};var we=(0,Je._5)(ne,be);P.setState({draggingNodeKey:be,dragChildrenKeys:(0,Je.wA)(be,Q),indent:P.listRef.current.getIndentWidth()}),P.setExpandedKeys(we),window.addEventListener("dragend",P.onWindowDragEnd),ce==null||ce({event:N,node:(0,ye.F)(U)})}),(0,s.Z)((0,$.Z)(P),"onNodeDragEnter",function(N,U){var Z=P.state,ne=Z.expandedKeys,Q=Z.keyEntities,ce=Z.dragChildrenKeys,be=Z.flattenNodes,we=Z.indent,Fe=P.props,Le=Fe.onDragEnter,Be=Fe.onExpand,it=Fe.allowDrop,Ue=Fe.direction,We=U.pos,Ct=U.eventKey;if(P.currentMouseOverDroppableNodeKey!==Ct&&(P.currentMouseOverDroppableNodeKey=Ct),!P.dragNodeProps){P.resetDragState();return}var kt=(0,Je.OM)(N,P.dragNodeProps,U,we,P.dragStartMousePosition,it,be,Q,ne,Ue),nt=kt.dropPosition,zt=kt.dropLevelOffset,dn=kt.dropTargetKey,wt=kt.dropContainerKey,ht=kt.dropTargetPos,St=kt.dropAllowed,on=kt.dragOverNodeKey;if(ce.includes(dn)||!St){P.resetDragState();return}if(P.delayedDragEnterLogic||(P.delayedDragEnterLogic={}),Object.keys(P.delayedDragEnterLogic).forEach(function(Gt){clearTimeout(P.delayedDragEnterLogic[Gt])}),P.dragNodeProps.eventKey!==U.eventKey&&(N.persist(),P.delayedDragEnterLogic[We]=window.setTimeout(function(){if(P.state.draggingNodeKey!==null){var Gt=(0,X.Z)(ne),Yt=(0,Ie.Z)(Q,U.eventKey);Yt&&(Yt.children||[]).length&&(Gt=(0,Je.L0)(ne,U.eventKey)),P.props.hasOwnProperty("expandedKeys")||P.setExpandedKeys(Gt),Be==null||Be(Gt,{node:(0,ye.F)(U),expanded:!0,nativeEvent:N.nativeEvent})}},800)),P.dragNodeProps.eventKey===dn&&zt===0){P.resetDragState();return}P.setState({dragOverNodeKey:on,dropPosition:nt,dropLevelOffset:zt,dropTargetKey:dn,dropContainerKey:wt,dropTargetPos:ht,dropAllowed:St}),Le==null||Le({event:N,node:(0,ye.F)(U),expandedKeys:ne})}),(0,s.Z)((0,$.Z)(P),"onNodeDragOver",function(N,U){var Z=P.state,ne=Z.dragChildrenKeys,Q=Z.flattenNodes,ce=Z.keyEntities,be=Z.expandedKeys,we=Z.indent,Fe=P.props,Le=Fe.onDragOver,Be=Fe.allowDrop,it=Fe.direction;if(P.dragNodeProps){var Ue=(0,Je.OM)(N,P.dragNodeProps,U,we,P.dragStartMousePosition,Be,Q,ce,be,it),We=Ue.dropPosition,Ct=Ue.dropLevelOffset,kt=Ue.dropTargetKey,nt=Ue.dropContainerKey,zt=Ue.dropTargetPos,dn=Ue.dropAllowed,wt=Ue.dragOverNodeKey;ne.includes(kt)||!dn||(P.dragNodeProps.eventKey===kt&&Ct===0?P.state.dropPosition===null&&P.state.dropLevelOffset===null&&P.state.dropTargetKey===null&&P.state.dropContainerKey===null&&P.state.dropTargetPos===null&&P.state.dropAllowed===!1&&P.state.dragOverNodeKey===null||P.resetDragState():We===P.state.dropPosition&&Ct===P.state.dropLevelOffset&&kt===P.state.dropTargetKey&&nt===P.state.dropContainerKey&&zt===P.state.dropTargetPos&&dn===P.state.dropAllowed&&wt===P.state.dragOverNodeKey||P.setState({dropPosition:We,dropLevelOffset:Ct,dropTargetKey:kt,dropContainerKey:nt,dropTargetPos:zt,dropAllowed:dn,dragOverNodeKey:wt}),Le==null||Le({event:N,node:(0,ye.F)(U)}))}}),(0,s.Z)((0,$.Z)(P),"onNodeDragLeave",function(N,U){P.currentMouseOverDroppableNodeKey===U.eventKey&&!N.currentTarget.contains(N.relatedTarget)&&(P.resetDragState(),P.currentMouseOverDroppableNodeKey=null);var Z=P.props.onDragLeave;Z==null||Z({event:N,node:(0,ye.F)(U)})}),(0,s.Z)((0,$.Z)(P),"onWindowDragEnd",function(N){P.onNodeDragEnd(N,null,!0),window.removeEventListener("dragend",P.onWindowDragEnd)}),(0,s.Z)((0,$.Z)(P),"onNodeDragEnd",function(N,U){var Z=P.props.onDragEnd;P.setState({dragOverNodeKey:null}),P.cleanDragState(),Z==null||Z({event:N,node:(0,ye.F)(U)}),P.dragNodeProps=null,window.removeEventListener("dragend",P.onWindowDragEnd)}),(0,s.Z)((0,$.Z)(P),"onNodeDrop",function(N,U){var Z,ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Q=P.state,ce=Q.dragChildrenKeys,be=Q.dropPosition,we=Q.dropTargetKey,Fe=Q.dropTargetPos,Le=Q.dropAllowed;if(Le){var Be=P.props.onDrop;if(P.setState({dragOverNodeKey:null}),P.cleanDragState(),we!==null){var it=(0,W.Z)((0,W.Z)({},(0,ye.H8)(we,P.getTreeNodeRequiredProps())),{},{active:((Z=P.getActiveItem())===null||Z===void 0?void 0:Z.key)===we,data:(0,Ie.Z)(P.state.keyEntities,we).node}),Ue=ce.includes(we);(0,o.ZP)(!Ue,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var We=(0,Je.yx)(Fe),Ct={event:N,node:(0,ye.F)(it),dragNode:P.dragNodeProps?(0,ye.F)(P.dragNodeProps):null,dragNodesKeys:[P.dragNodeProps.eventKey].concat(ce),dropToGap:be!==0,dropPosition:be+Number(We[We.length-1])};ne||Be==null||Be(Ct),P.dragNodeProps=null}}}),(0,s.Z)((0,$.Z)(P),"cleanDragState",function(){var N=P.state.draggingNodeKey;N!==null&&P.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),P.dragStartMousePosition=null,P.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,$.Z)(P),"triggerExpandActionExpand",function(N,U){var Z=P.state,ne=Z.expandedKeys,Q=Z.flattenNodes,ce=U.expanded,be=U.key,we=U.isLeaf;if(!(we||N.shiftKey||N.metaKey||N.ctrlKey)){var Fe=Q.filter(function(Be){return Be.key===be})[0],Le=(0,ye.F)((0,W.Z)((0,W.Z)({},(0,ye.H8)(be,P.getTreeNodeRequiredProps())),{},{data:Fe.data}));P.setExpandedKeys(ce?(0,Je._5)(ne,be):(0,Je.L0)(ne,be)),P.onNodeExpand(N,Le)}}),(0,s.Z)((0,$.Z)(P),"onNodeClick",function(N,U){var Z=P.props,ne=Z.onClick,Q=Z.expandAction;Q==="click"&&P.triggerExpandActionExpand(N,U),ne==null||ne(N,U)}),(0,s.Z)((0,$.Z)(P),"onNodeDoubleClick",function(N,U){var Z=P.props,ne=Z.onDoubleClick,Q=Z.expandAction;Q==="doubleClick"&&P.triggerExpandActionExpand(N,U),ne==null||ne(N,U)}),(0,s.Z)((0,$.Z)(P),"onNodeSelect",function(N,U){var Z=P.state.selectedKeys,ne=P.state,Q=ne.keyEntities,ce=ne.fieldNames,be=P.props,we=be.onSelect,Fe=be.multiple,Le=U.selected,Be=U[ce.key],it=!Le;it?Fe?Z=(0,Je.L0)(Z,Be):Z=[Be]:Z=(0,Je._5)(Z,Be);var Ue=Z.map(function(We){var Ct=(0,Ie.Z)(Q,We);return Ct?Ct.node:null}).filter(Boolean);P.setUncontrolledState({selectedKeys:Z}),we==null||we(Z,{event:"select",selected:it,node:U,selectedNodes:Ue,nativeEvent:N.nativeEvent})}),(0,s.Z)((0,$.Z)(P),"onNodeCheck",function(N,U,Z){var ne=P.state,Q=ne.keyEntities,ce=ne.checkedKeys,be=ne.halfCheckedKeys,we=P.props,Fe=we.checkStrictly,Le=we.onCheck,Be=U.key,it,Ue={event:"check",node:U,checked:Z,nativeEvent:N.nativeEvent};if(Fe){var We=Z?(0,Je.L0)(ce,Be):(0,Je._5)(ce,Be),Ct=(0,Je._5)(be,Be);it={checked:We,halfChecked:Ct},Ue.checkedNodes=We.map(function(ht){return(0,Ie.Z)(Q,ht)}).filter(Boolean).map(function(ht){return ht.node}),P.setUncontrolledState({checkedKeys:We})}else{var kt=(0,Nt.S)([].concat((0,X.Z)(ce),[Be]),!0,Q),nt=kt.checkedKeys,zt=kt.halfCheckedKeys;if(!Z){var dn=new Set(nt);dn.delete(Be);var wt=(0,Nt.S)(Array.from(dn),{checked:!1,halfCheckedKeys:zt},Q);nt=wt.checkedKeys,zt=wt.halfCheckedKeys}it=nt,Ue.checkedNodes=[],Ue.checkedNodesPositions=[],Ue.halfCheckedKeys=zt,nt.forEach(function(ht){var St=(0,Ie.Z)(Q,ht);if(St){var on=St.node,Gt=St.pos;Ue.checkedNodes.push(on),Ue.checkedNodesPositions.push({node:on,pos:Gt})}}),P.setUncontrolledState({checkedKeys:nt},!1,{halfCheckedKeys:zt})}Le==null||Le(it,Ue)}),(0,s.Z)((0,$.Z)(P),"onNodeLoad",function(N){var U,Z=N.key,ne=P.state.keyEntities,Q=(0,Ie.Z)(ne,Z);if(!(Q!=null&&(U=Q.children)!==null&&U!==void 0&&U.length)){var ce=new Promise(function(be,we){P.setState(function(Fe){var Le=Fe.loadedKeys,Be=Le===void 0?[]:Le,it=Fe.loadingKeys,Ue=it===void 0?[]:it,We=P.props,Ct=We.loadData,kt=We.onLoad;if(!Ct||Be.includes(Z)||Ue.includes(Z))return null;var nt=Ct(N);return nt.then(function(){var zt=P.state.loadedKeys,dn=(0,Je.L0)(zt,Z);kt==null||kt(dn,{event:"load",node:N}),P.setUncontrolledState({loadedKeys:dn}),P.setState(function(wt){return{loadingKeys:(0,Je._5)(wt.loadingKeys,Z)}}),be()}).catch(function(zt){if(P.setState(function(wt){return{loadingKeys:(0,Je._5)(wt.loadingKeys,Z)}}),P.loadingRetryTimes[Z]=(P.loadingRetryTimes[Z]||0)+1,P.loadingRetryTimes[Z]>=Ne){var dn=P.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),P.setUncontrolledState({loadedKeys:(0,Je.L0)(dn,Z)}),be()}we(zt)}),{loadingKeys:(0,Je.L0)(Ue,Z)}})});return ce.catch(function(){}),ce}}),(0,s.Z)((0,$.Z)(P),"onNodeMouseEnter",function(N,U){var Z=P.props.onMouseEnter;Z==null||Z({event:N,node:U})}),(0,s.Z)((0,$.Z)(P),"onNodeMouseLeave",function(N,U){var Z=P.props.onMouseLeave;Z==null||Z({event:N,node:U})}),(0,s.Z)((0,$.Z)(P),"onNodeContextMenu",function(N,U){var Z=P.props.onRightClick;Z&&(N.preventDefault(),Z({event:N,node:U}))}),(0,s.Z)((0,$.Z)(P),"onFocus",function(){var N=P.props.onFocus;P.setState({focused:!0});for(var U=arguments.length,Z=new Array(U),ne=0;ne<U;ne++)Z[ne]=arguments[ne];N==null||N.apply(void 0,Z)}),(0,s.Z)((0,$.Z)(P),"onBlur",function(){var N=P.props.onBlur;P.setState({focused:!1}),P.onActiveChange(null);for(var U=arguments.length,Z=new Array(U),ne=0;ne<U;ne++)Z[ne]=arguments[ne];N==null||N.apply(void 0,Z)}),(0,s.Z)((0,$.Z)(P),"getTreeNodeRequiredProps",function(){var N=P.state,U=N.expandedKeys,Z=N.selectedKeys,ne=N.loadedKeys,Q=N.loadingKeys,ce=N.checkedKeys,be=N.halfCheckedKeys,we=N.dragOverNodeKey,Fe=N.dropPosition,Le=N.keyEntities;return{expandedKeys:U||[],selectedKeys:Z||[],loadedKeys:ne||[],loadingKeys:Q||[],checkedKeys:ce||[],halfCheckedKeys:be||[],dragOverNodeKey:we,dropPosition:Fe,keyEntities:Le}}),(0,s.Z)((0,$.Z)(P),"setExpandedKeys",function(N){var U=P.state,Z=U.treeData,ne=U.fieldNames,Q=(0,ye.oH)(Z,N,ne);P.setUncontrolledState({expandedKeys:N,flattenNodes:Q},!0)}),(0,s.Z)((0,$.Z)(P),"onNodeExpand",function(N,U){var Z=P.state.expandedKeys,ne=P.state,Q=ne.listChanging,ce=ne.fieldNames,be=P.props,we=be.onExpand,Fe=be.loadData,Le=U.expanded,Be=U[ce.key];if(!Q){var it=Z.includes(Be),Ue=!Le;if((0,o.ZP)(Le&&it||!Le&&!it,"Expand state not sync with index check"),Z=Ue?(0,Je.L0)(Z,Be):(0,Je._5)(Z,Be),P.setExpandedKeys(Z),we==null||we(Z,{node:U,expanded:Ue,nativeEvent:N.nativeEvent}),Ue&&Fe){var We=P.onNodeLoad(U);We&&We.then(function(){var Ct=(0,ye.oH)(P.state.treeData,Z,ce);P.setUncontrolledState({flattenNodes:Ct})}).catch(function(){var Ct=P.state.expandedKeys,kt=(0,Je._5)(Ct,Be);P.setExpandedKeys(kt)})}}}),(0,s.Z)((0,$.Z)(P),"onListChangeStart",function(){P.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,$.Z)(P),"onListChangeEnd",function(){setTimeout(function(){P.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,$.Z)(P),"onActiveChange",function(N){var U=P.state.activeKey,Z=P.props,ne=Z.onActiveChange,Q=Z.itemScrollOffset,ce=Q===void 0?0:Q;U!==N&&(P.setState({activeKey:N}),N!==null&&P.scrollTo({key:N,offset:ce}),ne==null||ne(N))}),(0,s.Z)((0,$.Z)(P),"getActiveItem",function(){var N=P.state,U=N.activeKey,Z=N.flattenNodes;return U===null?null:Z.find(function(ne){var Q=ne.key;return Q===U})||null}),(0,s.Z)((0,$.Z)(P),"offsetActiveKey",function(N){var U=P.state,Z=U.flattenNodes,ne=U.activeKey,Q=Z.findIndex(function(we){var Fe=we.key;return Fe===ne});Q===-1&&N<0&&(Q=Z.length),Q=(Q+N+Z.length)%Z.length;var ce=Z[Q];if(ce){var be=ce.key;P.onActiveChange(be)}else P.onActiveChange(null)}),(0,s.Z)((0,$.Z)(P),"onKeyDown",function(N){var U=P.state,Z=U.activeKey,ne=U.expandedKeys,Q=U.checkedKeys,ce=U.fieldNames,be=P.props,we=be.onKeyDown,Fe=be.checkable,Le=be.selectable;switch(N.which){case r.Z.UP:{P.offsetActiveKey(-1),N.preventDefault();break}case r.Z.DOWN:{P.offsetActiveKey(1),N.preventDefault();break}}var Be=P.getActiveItem();if(Be&&Be.data){var it=P.getTreeNodeRequiredProps(),Ue=Be.data.isLeaf===!1||!!(Be.data[ce.children]||[]).length,We=(0,ye.F)((0,W.Z)((0,W.Z)({},(0,ye.H8)(Z,it)),{},{data:Be.data,active:!0}));switch(N.which){case r.Z.LEFT:{Ue&&ne.includes(Z)?P.onNodeExpand({},We):Be.parent&&P.onActiveChange(Be.parent.key),N.preventDefault();break}case r.Z.RIGHT:{Ue&&!ne.includes(Z)?P.onNodeExpand({},We):Be.children&&Be.children.length&&P.onActiveChange(Be.children[0].key),N.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Fe&&!We.disabled&&We.checkable!==!1&&!We.disableCheckbox?P.onNodeCheck({},We,!Q.includes(Z)):!Fe&&Le&&!We.disabled&&We.selectable!==!1&&P.onNodeSelect({},We);break}}}we==null||we(N)}),(0,s.Z)((0,$.Z)(P),"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(!P.destroyed){var ne=!1,Q=!0,ce={};Object.keys(N).forEach(function(be){if(P.props.hasOwnProperty(be)){Q=!1;return}ne=!0,ce[be]=N[be]}),ne&&(!U||Q)&&P.setState((0,W.Z)((0,W.Z)({},ce),Z))}}),(0,s.Z)((0,$.Z)(P),"scrollTo",function(N){P.listRef.current.scrollTo(N)}),P}return(0,p.Z)(fe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var v=this.props,S=v.activeKey,B=v.itemScrollOffset,N=B===void 0?0:B;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 v=this.state,S=v.focused,B=v.flattenNodes,N=v.keyEntities,U=v.draggingNodeKey,Z=v.activeKey,ne=v.dropLevelOffset,Q=v.dropContainerKey,ce=v.dropTargetKey,be=v.dropPosition,we=v.dragOverNodeKey,Fe=v.indent,Le=this.props,Be=Le.prefixCls,it=Le.className,Ue=Le.style,We=Le.showLine,Ct=Le.focusable,kt=Le.tabIndex,nt=kt===void 0?0:kt,zt=Le.selectable,dn=Le.showIcon,wt=Le.icon,ht=Le.switcherIcon,St=Le.draggable,on=Le.checkable,Gt=Le.checkStrictly,Yt=Le.disabled,vn=Le.motion,ln=Le.loadData,$e=Le.filterTreeNode,_t=Le.height,$t=Le.itemHeight,mn=Le.scrollWidth,Kt=Le.virtual,Dn=Le.titleRender,Un=Le.dropIndicatorRender,wn=Le.onContextMenu,jt=Le.onScroll,On=Le.direction,xn=Le.rootClassName,Tn=Le.rootStyle,gn=(0,a.Z)(this.props,{aria:!0,data:!0}),Sn;St&&((0,T.Z)(St)==="object"?Sn=St:typeof St=="function"?Sn={nodeDraggable:St}:Sn={});var Mn={prefixCls:Be,selectable:zt,showIcon:dn,icon:wt,switcherIcon:ht,draggable:Sn,draggingNodeKey:U,checkable:on,checkStrictly:Gt,disabled:Yt,keyEntities:N,dropLevelOffset:ne,dropContainerKey:Q,dropTargetKey:ce,dropPosition:be,dragOverNodeKey:we,indent:Fe,direction:On,dropIndicatorRender:Un,loadData:ln,filterTreeNode:$e,titleRender:Dn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return m.createElement(x.k.Provider,{value:Mn},m.createElement("div",{className:t()(Be,it,xn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(Be,"-show-line"),We),"".concat(Be,"-focused"),S),"".concat(Be,"-active-focused"),Z!==null)),style:Tn},m.createElement(Ee,(0,O.Z)({ref:this.listRef,prefixCls:Be,style:Ue,data:B,disabled:Yt,selectable:zt,checkable:!!on,motion:vn,dragging:U!==null,height:_t,itemHeight:$t,virtual:Kt,focusable:Ct,focused:S,tabIndex:nt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:wn,onScroll:jt,scrollWidth:mn},this.getTreeNodeRequiredProps(),gn))))}}],[{key:"getDerivedStateFromProps",value:function(v,S){var B=S.prevProps,N={prevProps:v};function U(nt){return!B&&v.hasOwnProperty(nt)||B&&B[nt]!==v[nt]}var Z,ne=S.fieldNames;if(U("fieldNames")&&(ne=(0,ye.w$)(v.fieldNames),N.fieldNames=ne),U("treeData")?Z=v.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Z=(0,ye.zn)(v.children)),Z){N.treeData=Z;var Q=(0,ye.I8)(Z,{fieldNames:ne});N.keyEntities=(0,W.Z)((0,s.Z)({},g,ue),Q.keyEntities)}var ce=N.keyEntities||S.keyEntities;if(U("expandedKeys")||B&&U("autoExpandParent"))N.expandedKeys=v.autoExpandParent||!B&&v.defaultExpandParent?(0,Je.r7)(v.expandedKeys,ce):v.expandedKeys;else if(!B&&v.defaultExpandAll){var be=(0,W.Z)({},ce);delete be[g];var we=[];Object.keys(be).forEach(function(nt){var zt=be[nt];zt.children&&zt.children.length&&we.push(zt.key)}),N.expandedKeys=we}else!B&&v.defaultExpandedKeys&&(N.expandedKeys=v.autoExpandParent||v.defaultExpandParent?(0,Je.r7)(v.defaultExpandedKeys,ce):v.defaultExpandedKeys);if(N.expandedKeys||delete N.expandedKeys,Z||N.expandedKeys){var Fe=(0,ye.oH)(Z||S.treeData,N.expandedKeys||S.expandedKeys,ne);N.flattenNodes=Fe}if(v.selectable&&(U("selectedKeys")?N.selectedKeys=(0,Je.BT)(v.selectedKeys,v):!B&&v.defaultSelectedKeys&&(N.selectedKeys=(0,Je.BT)(v.defaultSelectedKeys,v))),v.checkable){var Le;if(U("checkedKeys")?Le=(0,Je.E6)(v.checkedKeys)||{}:!B&&v.defaultCheckedKeys?Le=(0,Je.E6)(v.defaultCheckedKeys)||{}:Z&&(Le=(0,Je.E6)(v.checkedKeys)||{checkedKeys:S.checkedKeys,halfCheckedKeys:S.halfCheckedKeys}),Le){var Be=Le,it=Be.checkedKeys,Ue=it===void 0?[]:it,We=Be.halfCheckedKeys,Ct=We===void 0?[]:We;if(!v.checkStrictly){var kt=(0,Nt.S)(Ue,!0,ce);Ue=kt.checkedKeys,Ct=kt.halfCheckedKeys}N.checkedKeys=Ue,N.halfCheckedKeys=Ct}}return U("loadedKeys")&&(N.loadedKeys=v.loadedKeys),N}}]),fe}(m.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(Lt,Ke,u){"use strict";u.d(Ke,{BT:function(){return m},E6:function(){return h},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return _},wA:function(){return t},yx:function(){return c}});var O=u(92393),T=u(10928),W=u(48736),X=u(59301),V=u(639),p=u(65065),$=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,p.Z)(l,f);function L(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];F.forEach(function(Y){var z=Y.key,ye=Y.children;k.push(z),L(ye)})}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,z,ye,y){var d,b=f.clientX,R=f.clientY,A=f.target.getBoundingClientRect(),w=A.top,n=A.height,i=(y==="rtl"?-1:1)*(((L==null?void 0:L.x)||0)-b),g=(i-12)/I,K=ye.filter(function(j){var D;return(D=z[j])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),ue=(0,p.Z)(z,k.eventKey);if(R<w+n/2){var Se=Y.findIndex(function(j){return j.key===ue.key}),Ze=Se<=0?0:Se-1,He=Y[Ze].key;ue=(0,p.Z)(z,He)}var qe=ue.key,Tt=ue,Ee=ue.key,Je=0,Nt=0;if(!K.includes(qe))for(var Ie=0;Ie<g&&r(ue);Ie+=1)ue=ue.parent,Nt+=1;var Ne=l.data,le=ue.node,E=!0;return a(ue)&&ue.level===0&&R<w+n/2&&F({dragNode:Ne,dropNode:le,dropPosition:-1})&&ue.key===k.eventKey?Je=-1:(Tt.children||[]).length&&K.includes(Ee)?F({dragNode:Ne,dropNode:le,dropPosition:0})?Je=0:E=!1:Nt===0?g>-1.5?F({dragNode:Ne,dropNode:le,dropPosition:1})?Je=1:E=!1:F({dragNode:Ne,dropNode:le,dropPosition:0})?Je=0:F({dragNode:Ne,dropNode:le,dropPosition:1})?Je=1:E=!1:F({dragNode:Ne,dropNode:le,dropPosition:1})?Je=1:E=!1,{dropPosition:Je,dropLevelOffset:Nt,dropTargetKey:ue.key,dropTargetPos:ue.pos,dragOverNodeKey:Ee,dropContainerKey:Je===0?null:((d=ue.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:E}}function m(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 z=Y.children,ye=_objectWithoutProperties(Y,G),y=C(z,l);return React.createElement(TreeNode,_extends({key:ye.key},L(ye)),y)})}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 _(f,l){var k=new Set;function I(L){if(!k.has(L)){var F=(0,p.Z)(l,L);if(F){k.add(L);var Y=F.parent,z=F.node;z.disabled||Y&&I(Y.key)}}}return(f||[]).forEach(function(L){I(L)}),(0,O.Z)(k)}},34643:function(Lt,Ke,u){"use strict";u.d(Ke,{S:function(){return $}});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 X(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 _=h.key,f=h.node,l=h.children,k=l===void 0?[]:l;t.has(_)&&!c(f)&&k.filter(function(I){return!c(I.node)}).forEach(function(I){t.add(I.key)})})}for(var m=new Set,x=s;x>=0;x-=1){var C=e.get(x)||new Set;C.forEach(function(h){var _=h.parent,f=h.node;if(!(c(f)||!h.parent||m.has(h.parent.key))){if(c(h.parent.node)){m.add(_.key);return}var l=!0,k=!1;(_.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(_.key),k&&r.add(_.key),m.add(_.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(W(r,t))}}function p(G,e,s,c,t){for(var r=new Set(G),a=new Set(e),o=0;o<=c;o+=1){var m=s.get(o)||new Set;m.forEach(function(_){var f=_.key,l=_.node,k=_.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(_){var f=_.parent,l=_.node;if(!(t(l)||!_.parent||x.has(_.parent.key))){if(t(_.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 $(G,e,s,c){var t=[],r;c?r=c:r=X;var a=new Set(G.filter(function(C){var h=!!(0,T.Z)(s,C);return h||t.push(C),h})),o=new Map,m=0;Object.keys(s).forEach(function(C){var h=s[C],_=h.level,f=o.get(_);f||(f=new Set,o.set(_,f)),f.add(h),m=Math.max(m,_)}),(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,m,r):x=p(a,e.halfCheckedKeys,o,m,r),x}},65065:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return O}});function O(T,W){return T[W]}},34061:function(Lt,Ke,u){"use strict";u.d(Ke,{F:function(){return _},H8:function(){return h},I8:function(){return C},km:function(){return t},oH:function(){return m},w$:function(){return r},zn:function(){return o}});var O=u(10928),T=u(92393),W=u(20049),X=u(5883),V=u(11592),p=u(2738),$=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 z=Y[l.key],ye=Y[l.children];warning(z!=null,"Tree node must have a certain key: [".concat(F).concat(z,"]"));var y=String(z);warning(!k.has(y)||z===null||z===void 0,"Same 'key' exist in the Tree: ".concat(y)),k.set(y,!0),I(ye,"".concat(F).concat(y," > "))})}I(f)}function o(f){function l(k){var I=(0,V.Z)(k);return I.map(function(L){if(!c(L))return(0,$.ZP)(!L,"Tree/TreeNode can only accept TreeNode as children."),null;var F=L.key,Y=L.props,z=Y.children,ye=(0,X.Z)(Y,e),y=(0,W.Z)({key:F},ye),d=l(z);return d.length&&(y.children=d),y}).filter(function(L){return L})}return l(f)}function m(f,l,k){var I=r(k),L=I._title,F=I.key,Y=I.children,z=new Set(l===!0?[]:l),ye=[];function y(d){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(R,A){for(var w=s(b?b.pos:"0",A),n=t(R[F],w),i,g=0;g<L.length;g+=1){var K=L[g];if(R[K]!==void 0){i=R[K];break}}var ue=Object.assign((0,p.Z)(R,[].concat((0,T.Z)(L),[F,Y])),{title:i,key:n,parent:b,pos:w,children:null,data:R,isStart:[].concat((0,T.Z)(b?b.isStart:[]),[A===0]),isEnd:[].concat((0,T.Z)(b?b.isEnd:[]),[A===d.length-1])});return ye.push(ue),l===!0||z.has(n)?ue.children=y(R[Y]||[],ue):ue.children=[],ue})}return y(f),ye}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,z=L.fieldNames,ye=r(z),y=ye.key,d=ye.children,b=F||d,R;Y?typeof Y=="string"?R=function(n){return n[Y]}:typeof Y=="function"&&(R=function(n){return Y(n)}):R=function(n,i){return t(n[y],i)};function A(w,n,i,g){var K=w?w[b]:f,ue=w?s(i.pos,n):"0",Se=w?[].concat((0,T.Z)(g),[w]):[];if(w){var Ze=R(w,ue),He={node:w,index:n,pos:ue,key:Ze,parentPos:i.node?i.pos:null,level:i.level+1,nodes:Se};l(He)}K&&K.forEach(function(qe,Tt){A(qe,Tt,{node:w,pos:ue,level:i?i.level+1:-1},Se)})}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,z=l.fieldNames,ye=arguments.length>2?arguments[2]:void 0,y=F||ye,d={},b={},R={posEntities:d,keyEntities:b};return k&&(R=k(R)||R),x(f,function(A){var w=A.node,n=A.index,i=A.pos,g=A.key,K=A.parentPos,ue=A.level,Se=A.nodes,Ze={node:w,nodes:Se,index:n,key:g,pos:i,level:ue},He=t(g,i);d[i]=Ze,b[He]=Ze,Ze.parent=d[K],Ze.parent&&(Ze.parent.children=Ze.parent.children||[],Ze.parent.children.push(Ze)),I&&I(Ze,R)},{externalGetKey:y,childrenPropName:Y,fieldNames:z}),L&&L(R),R}function h(f,l){var k=l.expandedKeys,I=l.selectedKeys,L=l.loadedKeys,F=l.loadingKeys,Y=l.checkedKeys,z=l.halfCheckedKeys,ye=l.dragOverNodeKey,y=l.dropPosition,d=l.keyEntities,b=(0,G.Z)(d,f),R={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:z.indexOf(f)!==-1,pos:String(b?b.pos:""),dragOver:ye===f&&y===0,dragOverGapTop:ye===f&&y===-1,dragOverGapBottom:ye===f&&y===1};return R}function _(f){var l=f.data,k=f.expanded,I=f.selected,L=f.checked,F=f.loaded,Y=f.loading,z=f.halfChecked,ye=f.dragOver,y=f.dragOverGapTop,d=f.dragOverGapBottom,b=f.pos,R=f.active,A=f.eventKey,w=(0,W.Z)((0,W.Z)({},l),{},{expanded:k,selected:I,checked:L,loaded:F,loading:Y,halfChecked:z,dragOver:ye,dragOverGapTop:y,dragOverGapBottom:d,pos:b,active:R,key:A});return"props"in w||Object.defineProperty(w,"props",{get:function(){return(0,$.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(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return T}});var O=u(4676);function T(W,X,V,p){var $=O.unstable_batchedUpdates?function(e){O.unstable_batchedUpdates(V,e)}:V;return W!=null&&W.addEventListener&&W.addEventListener(X,$,p),{remove:function(){W!=null&&W.removeEventListener&&W.removeEventListener(X,$,p)}}}},24514:function(Lt,Ke,u){"use strict";u.d(Ke,{G:function(){return X}});var O=u(47273),T=function(p){if((0,O.Z)()&&window.document.documentElement){var $=Array.isArray(p)?p:[p],G=window.document.documentElement;return $.some(function(e){return e in G.style})}return!1},W=function(p,$){if(!T(p))return!1;var G=document.createElement("div"),e=G.style[p];return G.style[p]=$,G.style[p]!==e};function X(V,p){return!Array.isArray(V)&&p!==void 0?W(V,p):T(V)}},49658:function(Lt,Ke){"use strict";Ke.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))}},65283:function(Lt,Ke,u){"use strict";u.d(Ke,{Z:function(){return Ne}});var O=u(5016),T=u(10928),W=u(20049),X=u(18082),V=u(52456),p=u(5883),$=u(92310),G=u.n($),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,re=le.offsetX,fe=le.children,P=le.prefixCls,v=le.onInnerResize,S=le.innerProps,B=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,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)({transform:"translateY(".concat(D,"px)")},B?"marginRight":"marginLeft",-re),"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&&v&&v()}},t.createElement("div",(0,O.Z)({style:Z,className:G()((0,X.Z)({},"".concat(P,"-holder-inner"),P)),ref:E},S),fe,N)))});a.displayName="Filler";var o=a;function m(le){var E=le.children,j=le.setRef,D=t.useCallback(function(re){j(re)},[]);return t.cloneElement(E,{ref:D})}function x(le,E,j,D,re,fe,P,v){var S=v.getKey;return le.slice(E,j+1).map(function(B,N){var U=E+N,Z=P(B,U,{style:{width:D},offsetX:re}),ne=S(B);return t.createElement(m,{key:ne,setRef:function(ce){return fe(B,ce)}},Z)})}function C(le,E,j,D){var re=j-le,fe=E-j,P=Math.min(re,fe)*2;if(D<=P){var v=Math.floor(D/2);return D%2?j+v+1:j-v}return re>fe?j-(D-fe):j+(D-re)}function h(le,E,j){var D=le.length,re=E.length,fe,P;if(D===0&&re===0)return null;D<re?(fe=le,P=E):(fe=E,P=le);var v={__EMPTY_ITEM__:!0};function S(Q){return Q!==void 0?j(Q):v}for(var B=null,N=Math.abs(D-re)!==1,U=0;U<P.length;U+=1){var Z=S(fe[U]),ne=S(P[U]);if(Z!==ne){B=U,N=N||Z!==S(P[U+1]);break}}return B===null?null:{index:B,multiple:N}}function _(le,E,j){var D=t.useState(le),re=(0,V.Z)(D,2),fe=re[0],P=re[1],v=t.useState(null),S=(0,V.Z)(v,2),B=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])),P(le)},[le]),[B]}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 re=(0,t.useRef)(!1),fe=(0,t.useRef)(null);function P(){clearTimeout(fe.current),re.current=!0,fe.current=setTimeout(function(){re.current=!1},50)}var v=(0,t.useRef)({top:le,bottom:E,left:j,right:D});return v.current.top=le,v.current.bottom=E,v.current.left=j,v.current.right=D,function(S,B){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,U=S?B<0&&v.current.left||B>0&&v.current.right:B<0&&v.current.top||B>0&&v.current.bottom;return N&&U?(clearTimeout(fe.current),re.current=!1):(!U||re.current)&&P(),!re.current&&U}};function L(le,E,j,D,re,fe,P){var v=(0,t.useRef)(0),S=(0,t.useRef)(null),B=(0,t.useRef)(null),N=(0,t.useRef)(!1),U=I(E,j,D,re);function Z(Fe,Le){if(f.Z.cancel(S.current),!U(!1,Le)){var Be=Fe;if(!Be._virtualHandled)Be._virtualHandled=!0;else return;v.current+=Le,B.current=Le,k||Be.preventDefault(),S.current=(0,f.Z)(function(){var it=N.current?10:1;P(v.current*it,!1),v.current=0})}}function ne(Fe,Le){P(Le,!0),k||Fe.preventDefault()}var Q=(0,t.useRef)(null),ce=(0,t.useRef)(null);function be(Fe){if(le){f.Z.cancel(ce.current),ce.current=(0,f.Z)(function(){Q.current=null},2);var Le=Fe.deltaX,Be=Fe.deltaY,it=Fe.shiftKey,Ue=Le,We=Be;(Q.current==="sx"||!Q.current&&it&&Be&&!Le)&&(Ue=Be,We=0,Q.current="sx");var Ct=Math.abs(Ue),kt=Math.abs(We);Q.current===null&&(Q.current=fe&&Ct>kt?"x":"y"),Q.current==="y"?Z(Fe,We):ne(Fe,Ue)}}function we(Fe){le&&(N.current=Fe.detail===B.current)}return[be,we]}function F(le,E,j,D){var re=t.useMemo(function(){return[new Map,[]]},[le,j.id,D]),fe=(0,V.Z)(re,2),P=fe[0],v=fe[1],S=function(N){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N,Z=P.get(N),ne=P.get(U);if(Z===void 0||ne===void 0)for(var Q=le.length,ce=v.length;ce<Q;ce+=1){var be,we=le[ce],Fe=E(we);P.set(Fe,ce);var Le=(be=j.get(Fe))!==null&&be!==void 0?be:D;if(v[ce]=(v[ce-1]||0)+Le,Fe===N&&(Z=ce),Fe===U&&(ne=ce),Z!==void 0&&ne!==void 0)break}return{top:v[Z-1]||0,bottom:v[ne]}};return S}var Y=u(6487),z=u(56789),ye=function(){function le(){(0,Y.Z)(this,le),(0,X.Z)(this,"maps",void 0),(0,X.Z)(this,"id",0),(0,X.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,z.Z)(le,[{key:"set",value:function(j,D){this.diffRecords.set(j,this.maps[j]),this.maps[j]=D,this.id+=1}},{key:"get",value:function(j){return this.maps[j]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),le}(),y=ye;function d(le){var E=parseFloat(le);return isNaN(E)?0:E}function b(le,E,j){var D=t.useState(0),re=(0,V.Z)(D,2),fe=re[0],P=re[1],v=(0,t.useRef)(new Map),S=(0,t.useRef)(new y),B=(0,t.useRef)(0);function N(){B.current+=1}function U(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;N();var Q=function(){var we=!1;v.current.forEach(function(Fe,Le){if(Fe&&Fe.offsetParent){var Be=Fe.offsetHeight,it=getComputedStyle(Fe),Ue=it.marginTop,We=it.marginBottom,Ct=d(Ue),kt=d(We),nt=Be+Ct+kt;S.current.get(Le)!==nt&&(S.current.set(Le,nt),we=!0)}}),we&&P(function(Fe){return Fe+1})};if(ne)Q();else{B.current+=1;var ce=B.current;Promise.resolve().then(function(){ce===B.current&&Q()})}}function Z(ne,Q){var ce=le(ne),be=v.current.get(ce);Q?(v.current.set(ce,Q),U()):v.current.delete(ce),!be!=!Q&&(Q?E==null||E(ne):j==null||j(ne))}return(0,t.useEffect)(function(){return N},[]),[Z,U,S.current,fe]}var R=14/15;function A(le,E,j){var D=(0,t.useRef)(!1),re=(0,t.useRef)(0),fe=(0,t.useRef)(0),P=(0,t.useRef)(null),v=(0,t.useRef)(null),S,B=function(ne){if(D.current){var Q=Math.ceil(ne.touches[0].pageX),ce=Math.ceil(ne.touches[0].pageY),be=re.current-Q,we=fe.current-ce,Fe=Math.abs(be)>Math.abs(we);Fe?re.current=Q:fe.current=ce;var Le=j(Fe,Fe?be:we,!1,ne);Le&&ne.preventDefault(),clearInterval(v.current),Le&&(v.current=setInterval(function(){Fe?be*=R:we*=R;var Be=Math.floor(Fe?be:we);(!j(Fe,Be,!0)||Math.abs(Be)<=.1)&&clearInterval(v.current)},16))}},N=function(){D.current=!1,S()},U=function(ne){S(),ne.touches.length===1&&!D.current&&(D.current=!0,re.current=Math.ceil(ne.touches[0].pageX),fe.current=Math.ceil(ne.touches[0].pageY),P.current=ne.target,P.current.addEventListener("touchmove",B,{passive:!1}),P.current.addEventListener("touchend",N,{passive:!0}))};S=function(){P.current&&(P.current.removeEventListener("touchmove",B),P.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(v.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 re=!1,fe,P,v=function(){f.Z.cancel(fe)},S=function Z(){v(),fe=(0,f.Z)(function(){j(P),Z()})},B=function(ne){if(!(ne.target.draggable||ne.button!==0)){var Q=ne;Q._virtualHandled||(Q._virtualHandled=!0,re=!0)}},N=function(){re=!1,v()},U=function(ne){if(re){var Q=n(ne,!1),ce=D.getBoundingClientRect(),be=ce.top,we=ce.bottom;if(Q<=be){var Fe=be-Q;P=-w(Fe),S()}else if(Q>=we){var Le=Q-we;P=w(Le),S()}else v()}};return D.addEventListener("mousedown",B),D.ownerDocument.addEventListener("mouseup",N),D.ownerDocument.addEventListener("mousemove",U),function(){D.removeEventListener("mousedown",B),D.ownerDocument.removeEventListener("mouseup",N),D.ownerDocument.removeEventListener("mousemove",U),v()}}},[le])}var g=10;function K(le,E,j,D,re,fe,P,v){var S=t.useRef(),B=t.useState(null),N=(0,V.Z)(B,2),U=N[0],Z=N[1];return(0,c.Z)(function(){if(U&&U.times<g){if(!le.current){Z(function(vn){return(0,W.Z)({},vn)});return}fe();var ne=U.targetAlign,Q=U.originAlign,ce=U.index,be=U.offset,we=le.current.clientHeight,Fe=!1,Le=ne,Be=null;if(we){for(var it=ne||Q,Ue=0,We=0,Ct=0,kt=Math.min(E.length-1,ce),nt=0;nt<=kt;nt+=1){var zt=re(E[nt]);We=Ue;var dn=j.get(zt);Ct=We+(dn===void 0?D:dn),Ue=Ct}for(var wt=it==="top"?be:we-be,ht=kt;ht>=0;ht-=1){var St=re(E[ht]),on=j.get(St);if(on===void 0){Fe=!0;break}if(wt-=on,wt<=0)break}switch(it){case"top":Be=We-be;break;case"bottom":Be=Ct-we+be;break;default:{var Gt=le.current.scrollTop,Yt=Gt+we;We<Gt?Le="top":Ct>Yt&&(Le="bottom")}}Be!==null&&P(Be),Be!==U.lastTop&&(Fe=!0)}Fe&&Z((0,W.Z)((0,W.Z)({},U),{},{times:U.times+1,targetAlign:Le,lastTop:Be}))}},[U,le.current]),function(ne){if(ne==null){v();return}if(f.Z.cancel(S.current),typeof ne=="number")P(ne);else if(ne&&(0,T.Z)(ne)==="object"){var Q,ce=ne.align;"index"in ne?Q=ne.index:Q=E.findIndex(function(Fe){return re(Fe)===ne.key});var be=ne.offset,we=be===void 0?0:be;Z({times:0,index:Q,offset:we,originAlign:ce})}}}var ue=t.forwardRef(function(le,E){var j=le.prefixCls,D=le.rtl,re=le.scrollOffset,fe=le.scrollRange,P=le.onStartMove,v=le.onStopMove,S=le.onScroll,B=le.horizontal,N=le.spinSize,U=le.containerSize,Z=le.style,ne=le.thumbStyle,Q=le.showScrollBar,ce=t.useState(!1),be=(0,V.Z)(ce,2),we=be[0],Fe=be[1],Le=t.useState(null),Be=(0,V.Z)(Le,2),it=Be[0],Ue=Be[1],We=t.useState(null),Ct=(0,V.Z)(We,2),kt=Ct[0],nt=Ct[1],zt=!D,dn=t.useRef(),wt=t.useRef(),ht=t.useState(Q),St=(0,V.Z)(ht,2),on=St[0],Gt=St[1],Yt=t.useRef(),vn=function(){Q===!0||Q===!1||(clearTimeout(Yt.current),Gt(!0),Yt.current=setTimeout(function(){Gt(!1)},3e3))},ln=fe-U||0,$e=U-N||0,_t=t.useMemo(function(){if(re===0||ln===0)return 0;var xn=re/ln;return xn*$e},[re,ln,$e]),$t=function(Tn){Tn.stopPropagation(),Tn.preventDefault()},mn=t.useRef({top:_t,dragging:we,pageY:it,startTop:kt});mn.current={top:_t,dragging:we,pageY:it,startTop:kt};var Kt=function(Tn){Fe(!0),Ue(n(Tn,B)),nt(mn.current.top),P(),Tn.stopPropagation(),Tn.preventDefault()};t.useEffect(function(){var xn=function(Mn){Mn.preventDefault()},Tn=dn.current,gn=wt.current;return Tn.addEventListener("touchstart",xn,{passive:!1}),gn.addEventListener("touchstart",Kt,{passive:!1}),function(){Tn.removeEventListener("touchstart",xn),gn.removeEventListener("touchstart",Kt)}},[]);var Dn=t.useRef();Dn.current=ln;var Un=t.useRef();Un.current=$e,t.useEffect(function(){if(we){var xn,Tn=function(Mn){var Ln=mn.current,Hn=Ln.dragging,Wn=Ln.pageY,Bn=Ln.startTop;f.Z.cancel(xn);var ee=dn.current.getBoundingClientRect(),J=U/(B?ee.width:ee.height);if(Hn){var ze=(n(Mn,B)-Wn)*J,Ae=Bn;!zt&&B?Ae-=ze:Ae+=ze;var De=Dn.current,lt=Un.current,me=lt?Ae/lt:0,he=Math.ceil(me*De);he=Math.max(he,0),he=Math.min(he,De),xn=(0,f.Z)(function(){S(he,B)})}},gn=function(){Fe(!1),v()};return window.addEventListener("mousemove",Tn,{passive:!0}),window.addEventListener("touchmove",Tn,{passive:!0}),window.addEventListener("mouseup",gn,{passive:!0}),window.addEventListener("touchend",gn,{passive:!0}),function(){window.removeEventListener("mousemove",Tn),window.removeEventListener("touchmove",Tn),window.removeEventListener("mouseup",gn),window.removeEventListener("touchend",gn),f.Z.cancel(xn)}}},[we]),t.useEffect(function(){return vn(),function(){clearTimeout(Yt.current)}},[re]),t.useImperativeHandle(E,function(){return{delayHidden:vn}});var wn="".concat(j,"-scrollbar"),jt={position:"absolute",visibility:on?null:"hidden"},On={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return B?(jt.height=8,jt.left=0,jt.right=0,jt.bottom=0,On.height="100%",On.width=N,zt?On.left=_t:On.right=_t):(jt.width=8,jt.top=0,jt.bottom=0,zt?jt.right=0:jt.left=0,On.width="100%",On.height=N,On.top=_t),t.createElement("div",{ref:dn,className:G()(wn,(0,X.Z)((0,X.Z)((0,X.Z)({},"".concat(wn,"-horizontal"),B),"".concat(wn,"-vertical"),!B),"".concat(wn,"-visible"),on)),style:(0,W.Z)((0,W.Z)({},jt),Z),onMouseDown:$t,onMouseMove:vn},t.createElement("div",{ref:wt,className:G()("".concat(wn,"-thumb"),(0,X.Z)({},"".concat(wn,"-thumb-moving"),we)),style:(0,W.Z)((0,W.Z)({},On),ne),onMouseDown:Kt}))}),Se=ue,Ze=20;function He(){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 qe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Tt=[],Ee={overflowY:"auto",overflowAnchor:"none"};function Je(le,E){var j=le.prefixCls,D=j===void 0?"rc-virtual-list":j,re=le.className,fe=le.height,P=le.itemHeight,v=le.fullHeight,S=v===void 0?!0:v,B=le.style,N=le.data,U=le.children,Z=le.itemKey,ne=le.virtual,Q=le.direction,ce=le.scrollWidth,be=le.component,we=be===void 0?"div":be,Fe=le.onScroll,Le=le.onVirtualScroll,Be=le.onVisibleChange,it=le.innerProps,Ue=le.extraRender,We=le.styles,Ct=le.showScrollBar,kt=Ct===void 0?"optional":Ct,nt=(0,p.Z)(le,qe),zt=t.useCallback(function(te){return typeof Z=="function"?Z(te):te==null?void 0:te[Z]},[Z]),dn=b(zt,null,null),wt=(0,V.Z)(dn,4),ht=wt[0],St=wt[1],on=wt[2],Gt=wt[3],Yt=!!(ne!==!1&&fe&&P),vn=t.useMemo(function(){return Object.values(on.maps).reduce(function(te,oe){return te+oe},0)},[on.id,on.maps]),ln=Yt&&N&&(Math.max(P*N.length,vn)>fe||!!ce),$e=Q==="rtl",_t=G()(D,(0,X.Z)({},"".concat(D,"-rtl"),$e),re),$t=N||Tt,mn=(0,t.useRef)(),Kt=(0,t.useRef)(),Dn=(0,t.useRef)(),Un=(0,t.useState)(0),wn=(0,V.Z)(Un,2),jt=wn[0],On=wn[1],xn=(0,t.useState)(0),Tn=(0,V.Z)(xn,2),gn=Tn[0],Sn=Tn[1],Mn=(0,t.useState)(!1),Ln=(0,V.Z)(Mn,2),Hn=Ln[0],Wn=Ln[1],Bn=function(){Wn(!0)},ee=function(){Wn(!1)},J={getKey:zt};function ze(te){On(function(oe){var ve;typeof te=="function"?ve=te(oe):ve=te;var ge=Rt(ve);return mn.current.scrollTop=ge,ge})}var Ae=(0,t.useRef)({start:0,end:$t.length}),De=(0,t.useRef)(),lt=_($t,zt),me=(0,V.Z)(lt,1),he=me[0];De.current=he;var Te=t.useMemo(function(){if(!Yt)return{scrollHeight:void 0,start:0,end:$t.length-1,offset:void 0};if(!ln){var te;return{scrollHeight:((te=Kt.current)===null||te===void 0?void 0:te.offsetHeight)||0,start:0,end:$t.length-1,offset:void 0}}for(var oe=0,ve,ge,Ce,Xe=$t.length,ft=0;ft<Xe;ft+=1){var tt=$t[ft],xt=zt(tt),Dt=on.get(xt),Ot=oe+(Dt===void 0?P:Dt);Ot>=jt&&ve===void 0&&(ve=ft,ge=oe),Ot>jt+fe&&Ce===void 0&&(Ce=ft),oe=Ot}return ve===void 0&&(ve=0,ge=0,Ce=Math.ceil(fe/P)),Ce===void 0&&(Ce=$t.length-1),Ce=Math.min(Ce+1,$t.length-1),{scrollHeight:oe,start:ve,end:Ce,offset:ge}},[ln,Yt,jt,$t,Gt,fe]),Ye=Te.scrollHeight,ot=Te.start,mt=Te.end,et=Te.offset;Ae.current.start=ot,Ae.current.end=mt,t.useLayoutEffect(function(){var te=on.getRecord();if(te.size===1){var oe=Array.from(te.keys())[0],ve=te.get(oe),ge=$t[ot];if(ge&&ve===void 0){var Ce=zt(ge);if(Ce===oe){var Xe=on.get(oe),ft=Xe-P;ze(function(tt){return tt+ft})}}}on.resetRecord()},[Ye]);var Ve=t.useState({width:0,height:fe}),H=(0,V.Z)(Ve,2),ie=H[0],_e=H[1],de=function(oe){_e({width:oe.offsetWidth,height:oe.offsetHeight})},ke=(0,t.useRef)(),je=(0,t.useRef)(),Pe=t.useMemo(function(){return He(ie.width,ce)},[ie.width,ce]),Ge=t.useMemo(function(){return He(ie.height,Ye)},[ie.height,Ye]),Qe=Ye-fe,st=(0,t.useRef)(Qe);st.current=Qe;function Rt(te){var oe=te;return Number.isNaN(st.current)||(oe=Math.min(oe,st.current)),oe=Math.max(oe,0),oe}var at=jt<=0,It=jt>=Qe,Mt=gn<=0,Zt=gn>=ce,vt=I(at,It,Mt,Zt),gt=function(){return{x:$e?-gn:gn,y:jt}},Wt=(0,t.useRef)(gt()),rt=(0,s.zX)(function(te){if(Le){var oe=(0,W.Z)((0,W.Z)({},gt()),te);(Wt.current.x!==oe.x||Wt.current.y!==oe.y)&&(Le(oe),Wt.current=oe)}});function ut(te,oe){var ve=te;oe?((0,r.flushSync)(function(){Sn(ve)}),rt()):ze(ve)}function dt(te){var oe=te.currentTarget.scrollTop;oe!==jt&&ze(oe),Fe==null||Fe(te),rt()}var Ut=function(oe){var ve=oe,ge=ce?ce-ie.width:0;return ve=Math.max(ve,0),ve=Math.min(ve,ge),ve},Pt=(0,s.zX)(function(te,oe){oe?((0,r.flushSync)(function(){Sn(function(ve){var ge=ve+($e?-te:te);return Ut(ge)})}),rt()):ze(function(ve){var ge=ve+te;return ge})}),Ft=L(Yt,at,It,Mt,Zt,!!ce,Pt),In=(0,V.Z)(Ft,2),M=In[0],ae=In[1];A(Yt,mn,function(te,oe,ve,ge){var Ce=ge;return vt(te,oe,ve)?!1:!Ce||!Ce._virtualHandled?(Ce&&(Ce._virtualHandled=!0),M({preventDefault:function(){},deltaX:te?oe:0,deltaY:te?0:oe}),!0):!1}),i(ln,mn,function(te){ze(function(oe){return oe+te})}),(0,c.Z)(function(){function te(ve){var ge=at&&ve.detail<0,Ce=It&&ve.detail>0;Yt&&!ge&&!Ce&&ve.preventDefault()}var oe=mn.current;return oe.addEventListener("wheel",M,{passive:!1}),oe.addEventListener("DOMMouseScroll",ae,{passive:!0}),oe.addEventListener("MozMousePixelScroll",te,{passive:!1}),function(){oe.removeEventListener("wheel",M),oe.removeEventListener("DOMMouseScroll",ae),oe.removeEventListener("MozMousePixelScroll",te)}},[Yt,at,It]),(0,c.Z)(function(){if(ce){var te=Ut(gn);Sn(te),rt({x:te})}},[ie.width,ce]);var q=function(){var oe,ve;(oe=ke.current)===null||oe===void 0||oe.delayHidden(),(ve=je.current)===null||ve===void 0||ve.delayHidden()},se=K(mn,$t,on,P,zt,function(){return St(!0)},ze,q);t.useImperativeHandle(E,function(){return{nativeElement:Dn.current,getScrollInfo:gt,scrollTo:function(oe){function ve(ge){return ge&&(0,T.Z)(ge)==="object"&&("left"in ge||"top"in ge)}ve(oe)?(oe.left!==void 0&&Sn(Ut(oe.left)),se(oe.top)):se(oe)}}}),(0,c.Z)(function(){if(Be){var te=$t.slice(ot,mt+1);Be(te,$t)}},[ot,mt,$t]);var pe=F($t,zt,on,P),xe=Ue==null?void 0:Ue({start:ot,end:mt,virtual:ln,offsetX:gn,offsetY:et,rtl:$e,getSize:pe}),Me=x($t,ot,mt,ce,gn,ht,U,J),Oe=null;fe&&(Oe=(0,W.Z)((0,X.Z)({},S?"height":"maxHeight",fe),Ee),Yt&&(Oe.overflowY="hidden",ce&&(Oe.overflowX="hidden"),Hn&&(Oe.pointerEvents="none")));var Re={};return $e&&(Re.dir="rtl"),t.createElement("div",(0,O.Z)({ref:Dn,style:(0,W.Z)((0,W.Z)({},B),{},{position:"relative"}),className:_t},Re,nt),t.createElement(e.Z,{onResize:de},t.createElement(we,{className:"".concat(D,"-holder"),style:Oe,ref:mn,onScroll:dt,onMouseEnter:q},t.createElement(o,{prefixCls:D,height:Ye,offsetX:gn,offsetY:et,scrollWidth:ce,onInnerResize:St,ref:Kt,innerProps:it,rtl:$e,extra:xe},Me))),ln&&Ye>fe&&t.createElement(Se,{ref:ke,prefixCls:D,scrollOffset:jt,scrollRange:Ye,rtl:$e,onScroll:ut,onStartMove:Bn,onStopMove:ee,spinSize:Ge,containerSize:ie.height,style:We==null?void 0:We.verticalScrollBar,thumbStyle:We==null?void 0:We.verticalScrollBarThumb,showScrollBar:kt}),ln&&ce>ie.width&&t.createElement(Se,{ref:je,prefixCls:D,scrollOffset:gn,scrollRange:ce,rtl:$e,onScroll:ut,onStartMove:Bn,onStopMove:ee,spinSize:Pe,containerSize:ie.width,horizontal:!0,style:We==null?void 0:We.horizontalScrollBar,thumbStyle:We==null?void 0:We.horizontalScrollBarThumb,showScrollBar:kt}))}var Nt=t.forwardRef(Je);Nt.displayName="List";var Ie=Nt,Ne=Ie},83145:function(Lt,Ke,u){"use strict";Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.CopyToClipboard=void 0;var O=W(u(59301)),T=W(u(25769));function W(h){return h&&h.__esModule?h:{default:h}}function X(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(f){return typeof f}:X=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},X(h)}function V(h,_){var f=Object.keys(h);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(h);_&&(l=l.filter(function(k){return Object.getOwnPropertyDescriptor(h,k).enumerable})),f.push.apply(f,l)}return f}function p(h){for(var _=1;_<arguments.length;_++){var f=arguments[_]!=null?arguments[_]:{};_%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,_){if(h==null)return{};var f=G(h,_),l,k;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(h);for(k=0;k<I.length;k++)l=I[k],!(_.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(h,l)&&(f[l]=h[l])}return f}function G(h,_){if(h==null)return{};var f={},l=Object.keys(h),k,I;for(I=0;I<l.length;I++)k=l[I],!(_.indexOf(k)>=0)&&(f[k]=h[k]);return f}function e(h,_){if(!(h instanceof _))throw new TypeError("Cannot call a class as a function")}function s(h,_){for(var f=0;f<_.length;f++){var l=_[f];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(h,l.key,l)}}function c(h,_,f){return _&&s(h.prototype,_),f&&s(h,f),h}function t(h,_){return _&&(X(_)==="object"||typeof _=="function")?_: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,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(_&&_.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),_&&m(h,_)}function m(h,_){return m=Object.setPrototypeOf||function(l,k){return l.__proto__=k,l},m(h,_)}function x(h,_,f){return _ in h?Object.defineProperty(h,_,{value:f,enumerable:!0,configurable:!0,writable:!0}):h[_]=f,h}var C=function(h){o(_,h);function _(){var f,l;e(this,_);for(var k=arguments.length,I=new Array(k),L=0;L<k;L++)I[L]=arguments[L];return l=t(this,(f=r(_)).call.apply(f,[this].concat(I))),x(a(l),"onClick",function(F){var Y=l.props,z=Y.text,ye=Y.onCopy,y=Y.children,d=Y.options,b=O.default.Children.only(y),R=(0,T.default)(z,d);ye&&ye(z,R),b&&b.props&&typeof b.props.onClick=="function"&&b.props.onClick(F)}),l}return c(_,[{key:"render",value:function(){var l=this.props,k=l.text,I=l.onCopy,L=l.options,F=l.children,Y=$(l,["text","onCopy","options","children"]),z=O.default.Children.only(F);return O.default.cloneElement(z,p({},Y,{onClick:this.onClick}))}}]),_}(O.default.PureComponent);Ke.CopyToClipboard=C,x(C,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Lt,Ke,u){"use strict";var O=u(83145),T=O.CopyToClipboard;T.CopyToClipboard=T,Lt.exports=T},76374:function(Lt,Ke,u){"use strict";var O=function(){if(typeof Map!="undefined")return Map;function y(d,b){var R=-1;return d.some(function(A,w){return A[0]===b?(R=w,!0):!1}),R}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 R=y(this.__entries__,b),A=this.__entries__[R];return A&&A[1]},d.prototype.set=function(b,R){var A=y(this.__entries__,b);~A?this.__entries__[A][1]=R:this.__entries__.push([b,R])},d.prototype.delete=function(b){var R=this.__entries__,A=y(R,b);~A&&R.splice(A,1)},d.prototype.has=function(b){return!!~y(this.__entries__,b)},d.prototype.clear=function(){this.__entries__.splice(0)},d.prototype.forEach=function(b,R){R===void 0&&(R=null);for(var A=0,w=this.__entries__;A<w.length;A++){var n=w[A];b.call(R,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")()}(),X=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(W):function(y){return setTimeout(function(){return y(Date.now())},1e3/60)}}(),V=2;function p(y,d){var b=!1,R=!1,A=0;function w(){b&&(b=!1,y()),R&&i()}function n(){X(w)}function i(){var g=Date.now();if(b){if(g-A<V)return;R=!0}else b=!0,R=!1,setTimeout(n,d);A=g}return i}var $=20,G=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function y(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=p(this.refresh.bind(this),$)}return y.prototype.addObserver=function(d){~this.observers_.indexOf(d)||this.observers_.push(d),this.connected_||this.connect_()},y.prototype.removeObserver=function(d){var b=this.observers_,R=b.indexOf(d);~R&&b.splice(R,1),!b.length&&this.connected_&&this.disconnect_()},y.prototype.refresh=function(){var d=this.updateObservers_();d&&this.refresh()},y.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},y.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)},y.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)},y.prototype.onTransitionEnd_=function(d){var b=d.propertyName,R=b===void 0?"":b,A=G.some(function(w){return!!~R.indexOf(w)});A&&this.refresh()},y.getInstance=function(){return this.instance_||(this.instance_=new y),this.instance_},y.instance_=null,y}(),c=function(y,d){for(var b=0,R=Object.keys(d);b<R.length;b++){var A=R[b];Object.defineProperty(y,A,{value:d[A],enumerable:!1,writable:!1,configurable:!0})}return y},t=function(y){var d=y&&y.ownerDocument&&y.ownerDocument.defaultView;return d||W},r=k(0,0,0,0);function a(y){return parseFloat(y)||0}function o(y){for(var d=[],b=1;b<arguments.length;b++)d[b-1]=arguments[b];return d.reduce(function(R,A){var w=y["border-"+A+"-width"];return R+a(w)},0)}function m(y){for(var d=["top","right","bottom","left"],b={},R=0,A=d;R<A.length;R++){var w=A[R],n=y["padding-"+w];b[w]=a(n)}return b}function x(y){var d=y.getBBox();return k(0,0,d.width,d.height)}function C(y){var d=y.clientWidth,b=y.clientHeight;if(!d&&!b)return r;var R=t(y).getComputedStyle(y),A=m(R),w=A.left+A.right,n=A.top+A.bottom,i=a(R.width),g=a(R.height);if(R.boxSizing==="border-box"&&(Math.round(i+w)!==d&&(i-=o(R,"left","right")+w),Math.round(g+n)!==b&&(g-=o(R,"top","bottom")+n)),!_(y)){var K=Math.round(i+w)-d,ue=Math.round(g+n)-b;Math.abs(K)!==1&&(i-=K),Math.abs(ue)!==1&&(g-=ue)}return k(A.left,A.top,i,g)}var h=function(){return typeof SVGGraphicsElement!="undefined"?function(y){return y instanceof t(y).SVGGraphicsElement}:function(y){return y instanceof t(y).SVGElement&&typeof y.getBBox=="function"}}();function _(y){return y===t(y).document.documentElement}function f(y){return T?h(y)?x(y):C(y):r}function l(y){var d=y.x,b=y.y,R=y.width,A=y.height,w=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(w.prototype);return c(n,{x:d,y:b,width:R,height:A,top:b,right:d+R,bottom:A+b,left:d}),n}function k(y,d,b,R){return{x:y,y:d,width:b,height:R}}var I=function(){function y(d){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=k(0,0,0,0),this.target=d}return y.prototype.isActive=function(){var d=f(this.target);return this.contentRect_=d,d.width!==this.broadcastWidth||d.height!==this.broadcastHeight},y.prototype.broadcastRect=function(){var d=this.contentRect_;return this.broadcastWidth=d.width,this.broadcastHeight=d.height,d},y}(),L=function(){function y(d,b){var R=l(b);c(this,{target:d,contentRect:R})}return y}(),F=function(){function y(d,b,R){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_=R}return y.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())}},y.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))}},y.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},y.prototype.gatherActive=function(){var d=this;this.clearActive(),this.observations_.forEach(function(b){b.isActive()&&d.activeObservations_.push(b)})},y.prototype.broadcastActive=function(){if(this.hasActive()){var d=this.callbackCtx_,b=this.activeObservations_.map(function(R){return new L(R.target,R.broadcastRect())});this.callback_.call(d,b,d),this.clearActive()}},y.prototype.clearActive=function(){this.activeObservations_.splice(0)},y.prototype.hasActive=function(){return this.activeObservations_.length>0},y}(),Y=typeof WeakMap!="undefined"?new WeakMap:new O,z=function(){function y(d){if(!(this instanceof y))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(),R=new F(d,b,this);Y.set(this,R)}return y}();["observe","unobserve","disconnect"].forEach(function(y){z.prototype[y]=function(){var d;return(d=Y.get(this))[y].apply(d,arguments)}});var ye=function(){return typeof W.ResizeObserver!="undefined"?W.ResizeObserver:z}();Ke.Z=ye},98040:function(Lt){Lt.exports=function(){var Ke=document.getSelection();if(!Ke.rangeCount)return function(){};for(var u=document.activeElement,O=[],T=0;T<Ke.rangeCount;T++)O.push(Ke.getRangeAt(T));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Ke.removeAllRanges(),function(){Ke.type==="Caret"&&Ke.removeAllRanges(),Ke.rangeCount||O.forEach(function(W){Ke.addRange(W)}),u&&u.focus()}}},93314:function(Lt){"use strict";Lt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="}}]);