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.
83 lines
552 KiB
83 lines
552 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65966:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return le}});var O=u(20439),T=u(50298),W=u(62646),X=u(43403),V=u(92310),p=u.n(V),H=u(29301),G=u(76846),e=u(96452),s=u(6089),c=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(14809),m=u(77900),x=u(8654);function C(E){var j=E.prefixCls,D=E.align,re=E.arrow,de=E.arrowPos,P=re||{},v=P.className,S=P.content,B=de.x,N=B===void 0?0:B,U=de.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 fe=D.points[0],be=D.points[1],we=fe[0],Ke=fe[1],Me=be[0],Fe=be[1];we===Me||!["t","b"].includes(we)?Q.top=Z:we==="t"?Q.top=0:Q.bottom=0,Ke===Fe||!["l","r"].includes(Ke)?Q.left=N:Ke==="l"?Q.left=0:Q.right=0}return a.createElement("div",{ref:ne,className:p()("".concat(j,"-arrow"),v),style:Q},S)}function h(E){var j=E.prefixCls,D=E.open,re=E.zIndex,de=E.mask,P=E.motion;return de?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,de=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,fe=E.arrowPos,be=E.align,we=E.motion,Ke=E.maskMotion,Me=E.forceRender,Fe=E.getPopupContainer,st=E.autoDestroy,je=E.portal,ze=E.zIndex,Rt=E.onMouseEnter,Dt=E.onMouseLeave,it=E.onPointerEnter,Ft=E.onPointerDownCapture,dn=E.ready,Et=E.offsetX,ht=E.offsetY,Pt=E.offsetR,sn=E.offsetB,jt=E.onAlign,Bt=E.onPrepare,Qt=E.stretch,hn=E.targetWidth,qe=E.targetHeight,ct=typeof D=="function"?D():D,vt=B||N,Tn=(Fe==null?void 0:Fe.length)>0,_n=a.useState(!Fe||!Tn),Kn=(0,T.Z)(_n,2),Bn=Kn[0],yn=Kn[1];if((0,t.Z)(function(){!Bn&&Tn&&v&&yn(!0)},[Bn,Tn,v]),!Bn)return null;var Wt="auto",Dn={left:"-1000vw",top:"-1000vh",right:Wt,bottom:Wt};if(dn||!B){var En,In=be.points,Cn=be.dynamicInset||((En=be._experimental)===null||En===void 0?void 0:En.dynamicInset),Sn=Cn&&In[0][1]==="r",An=Cn&&In[0][0]==="b";Sn?(Dn.right=Pt,Dn.left=Wt):(Dn.left=Et,Dn.right=Wt),An?(Dn.bottom=sn,Dn.top=Wt):(Dn.top=ht,Dn.bottom=Wt)}var Zn={};return Qt&&(Qt.includes("height")&&qe?Zn.height=qe:Qt.includes("minHeight")&&qe&&(Zn.minHeight=qe),Qt.includes("width")&&hn?Zn.width=hn:Qt.includes("minWidth")&&hn&&(Zn.minWidth=hn)),B||(Zn.pointerEvents="none"),a.createElement(je,{open:Me||vt,getContainer:Fe&&function(){return Fe(v)},autoDestroy:st},a.createElement(h,{prefixCls:de,open:B,zIndex:ze,mask:ne,motion:Ke}),a.createElement(H.Z,{onResize:jt,disabled:!B},function(zn){return a.createElement(m.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(de,"-hidden")},we,{onAppearPrepare:Bt,onEnterPrepare:Bt,visible:B,onVisibleChanged:function(Un){var ee;we==null||(ee=we.onVisibleChanged)===null||ee===void 0||ee.call(we,Un),S(Un)}}),function(Wn,Un){var ee=Wn.className,J=Wn.style,We=p()(de,ee,re);return a.createElement("div",{ref:(0,x.sQ)(zn,j,Un),className:We,style:(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({"--arrow-x":"".concat(fe.x||0,"px"),"--arrow-y":"".concat(fe.y||0,"px")},Dn),Zn),J),{},{boxSizing:"border-box",zIndex:ze},P),onMouseEnter:Rt,onMouseLeave:Dt,onPointerEnter:it,onClick:Z,onPointerDownCapture:Ft},Q&&a.createElement(C,{prefixCls:de,arrow:Q,arrowPos:fe,align:be}),a.createElement(f,{cache:!B&&!U},ct))})}))}),k=l,I=a.forwardRef(function(E,j){var D=E.children,re=E.getTriggerDOMNode,de=(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 de?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 de=z(D!=null?D:j),P=z(re!=null?re:j),v=new Set(de),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 de=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,de,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 de=A(D).getComputedStyle(D),P=de.overflowX,v=de.overflowY,S=de.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 de=A(re).getComputedStyle(re),P=de.overflow,v=de.overflowClipMargin,S=de.borderTopWidth,B=de.borderBottomWidth,N=de.borderLeftWidth,U=de.borderRightWidth,Z=re.getBoundingClientRect(),ne=re.offsetHeight,Q=re.clientHeight,fe=re.offsetWidth,be=re.clientWidth,we=i(S),Ke=i(B),Me=i(N),Fe=i(U),st=n(Math.round(Z.width/fe*1e3)/1e3),je=n(Math.round(Z.height/ne*1e3)/1e3),ze=(fe-be-Me-Fe)*st,Rt=(ne-Q-we-Ke)*je,Dt=we*je,it=Ke*je,Ft=Me*st,dn=Fe*st,Et=0,ht=0;if(P==="clip"){var Pt=i(v);Et=Pt*st,ht=Pt*je}var sn=Z.x+Ft-Et,jt=Z.y+Dt-ht,Bt=sn+Z.width+2*Et-Ft-dn-ze,Qt=jt+Z.height+2*ht-Dt-it-Rt;D.left=Math.max(D.left,sn),D.top=Math.max(D.top,jt),D.right=Math.min(D.right,Bt),D.bottom=Math.min(D.bottom,Qt)}}),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 ce(E,j){var D=j||[],re=(0,T.Z)(D,2),de=re[0],P=re[1];return[K(E.width,de),K(E.height,P)]}function Se(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[E[0],E[1]]}function Ae(E,j){var D=j[0],re=j[1],de,P;return D==="t"?P=E.y:D==="b"?P=E.y+E.height:P=E.y+E.height/2,re==="l"?de=E.x:re==="r"?de=E.x+E.width:de=E.x+E.width/2,{x:de,y:P}}function Ue(E,j){var D={t:"b",b:"t",l:"r",r:"l"};return E.map(function(re,de){return de===j?D[re]||"c":re}).join("")}function tt(E,j,D,re,de,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:de[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({}),fe=function(){Q.current={}};E||fe();var be=(0,s.Z)(function(){if(j&&D&&E){let gn=function(bn,bt){var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:me,qt=vt.x+bn,tn=vt.y+bt,Rn=qt+An,Mn=tn+Sn,xt=Math.max(qt,Jt.left),Kt=Math.max(tn,Jt.top),wn=Math.min(Rn,Jt.right),Vt=Math.min(Mn,Jt.bottom);return Math.max(0,(wn-xt)*(Vt-Kt))},mn=function(){xe=vt.y+wt,Ie=xe+Sn,Oe=vt.x+gt,Ce=Oe+An};var Me,Fe,st,je,ze=j,Rt=ze.ownerDocument,Dt=A(ze),it=Dt.getComputedStyle(ze),Ft=it.position,dn=ze.style.left,Et=ze.style.top,ht=ze.style.right,Pt=ze.style.bottom,sn=ze.style.overflow,jt=(0,O.Z)((0,O.Z)({},de[re]),P),Bt=Rt.createElement("div");(Me=ze.parentElement)===null||Me===void 0||Me.appendChild(Bt),Bt.style.left="".concat(ze.offsetLeft,"px"),Bt.style.top="".concat(ze.offsetTop,"px"),Bt.style.position=Ft,Bt.style.height="".concat(ze.offsetHeight,"px"),Bt.style.width="".concat(ze.offsetWidth,"px"),ze.style.left="0",ze.style.top="0",ze.style.right="auto",ze.style.bottom="auto",ze.style.overflow="hidden";var Qt;if(Array.isArray(D))Qt={x:D[0],y:D[1],width:0,height:0};else{var hn,qe,ct=D.getBoundingClientRect();ct.x=(hn=ct.x)!==null&&hn!==void 0?hn:ct.left,ct.y=(qe=ct.y)!==null&&qe!==void 0?qe:ct.top,Qt={x:ct.x,y:ct.y,width:ct.width,height:ct.height}}var vt=ze.getBoundingClientRect(),Tn=Dt.getComputedStyle(ze),_n=Tn.height,Kn=Tn.width;vt.x=(Fe=vt.x)!==null&&Fe!==void 0?Fe:vt.left,vt.y=(st=vt.y)!==null&&st!==void 0?st:vt.top;var Bn=Rt.documentElement,yn=Bn.clientWidth,Wt=Bn.clientHeight,Dn=Bn.scrollWidth,En=Bn.scrollHeight,In=Bn.scrollTop,Cn=Bn.scrollLeft,Sn=vt.height,An=vt.width,Zn=Qt.height,zn=Qt.width,Wn={left:0,top:0,right:yn,bottom:Wt},Un={left:-Cn,top:-In,right:Dn-Cn,bottom:En-In},ee=jt.htmlRegion,J="visible",We="visibleFirst";ee!=="scroll"&&ee!==We&&(ee=J);var De=ee===We,Ye=g(Un,ne),Xe=g(Wn,ne),me=ee===J?Xe:Ye,he=De?Xe:me;ze.style.left="auto",ze.style.top="auto",ze.style.right="0",ze.style.bottom="0";var Ze=ze.getBoundingClientRect();ze.style.left=dn,ze.style.top=Et,ze.style.right=ht,ze.style.bottom=Pt,ze.style.overflow=sn,(je=ze.parentElement)===null||je===void 0||je.removeChild(Bt);var Ge=n(Math.round(An/parseFloat(Kn)*1e3)/1e3),at=n(Math.round(Sn/parseFloat(_n)*1e3)/1e3);if(Ge===0||at===0||(0,G.Sh)(D)&&!(0,y.Z)(D))return;var mt=jt.offset,nt=jt.targetOffset,Ve=ce(vt,mt),$=(0,T.Z)(Ve,2),ie=$[0],ue=$[1],_e=ce(Qt,nt),ke=(0,T.Z)(_e,2),Be=ke[0],Pe=ke[1];Qt.x-=Be,Qt.y-=Pe;var $e=jt.points||[],Qe=(0,T.Z)($e,2),ot=Qe[0],It=Qe[1],ut=Se(It),yt=Se(ot),At=Ae(Qt,ut),Ht=Ae(vt,yt),zt=(0,O.Z)({},jt),gt=At.x-Ht.x+ie,wt=At.y-Ht.y+ue,et=gn(gt,wt),lt=gn(gt,wt,Xe),dt=Ae(Qt,["t","l"]),$t=Ae(vt,["t","l"]),Nt=Ae(Qt,["b","r"]),Ut=Ae(vt,["b","r"]),Nn=jt.overflow||{},M=Nn.adjustX,se=Nn.adjustY,q=Nn.shiftX,ae=Nn.shiftY,ve=function(bt){return typeof bt=="boolean"?bt:bt>=0},xe,Ie,Oe,Ce;mn();var te=ve(se),oe=yt[0]===ut[0];if(te&&yt[0]==="t"&&(Ie>he.bottom||Q.current.bt)){var pe=wt;oe?pe-=Sn-Zn:pe=dt.y-Ut.y-ue;var ge=gn(gt,pe),Re=gn(gt,pe,Xe);ge>et||ge===et&&(!De||Re>=lt)?(Q.current.bt=!0,wt=pe,ue=-ue,zt.points=[Ue(yt,0),Ue(ut,0)]):Q.current.bt=!1}if(te&&yt[0]==="b"&&(xe<he.top||Q.current.tb)){var He=wt;oe?He+=Sn-Zn:He=Nt.y-$t.y-ue;var ft=gn(gt,He),rt=gn(gt,He,Xe);ft>et||ft===et&&(!De||rt>=lt)?(Q.current.tb=!0,wt=He,ue=-ue,zt.points=[Ue(yt,0),Ue(ut,0)]):Q.current.tb=!1}var Ct=ve(M),Lt=yt[1]===ut[1];if(Ct&&yt[1]==="l"&&(Ce>he.right||Q.current.rl)){var St=gt;Lt?St-=An-zn:St=dt.x-Ut.x-ie;var Yt=gn(St,wt),pt=gn(St,wt,Xe);Yt>et||Yt===et&&(!De||pt>=lt)?(Q.current.rl=!0,gt=St,ie=-ie,zt.points=[Ue(yt,1),Ue(ut,1)]):Q.current.rl=!1}if(Ct&&yt[1]==="r"&&(Oe<he.left||Q.current.lr)){var cn=gt;Lt?cn+=An-zn:cn=Nt.x-$t.x-ie;var nn=gn(cn,wt),fn=gn(cn,wt,Xe);nn>et||nn===et&&(!De||fn>=lt)?(Q.current.lr=!0,gt=cn,ie=-ie,zt.points=[Ue(yt,1),Ue(ut,1)]):Q.current.lr=!1}mn();var Gt=q===!0?0:q;typeof Gt=="number"&&(Oe<Xe.left&&(gt-=Oe-Xe.left-ie,Qt.x+zn<Xe.left+Gt&&(gt+=Qt.x-Xe.left+zn-Gt)),Ce>Xe.right&&(gt-=Ce-Xe.right-ie,Qt.x>Xe.right-Gt&&(gt+=Qt.x-Xe.right+Gt)));var en=ae===!0?0:ae;typeof en=="number"&&(xe<Xe.top&&(wt-=xe-Xe.top-ue,Qt.y+Zn<Xe.top+en&&(wt+=Qt.y-Xe.top+Zn-en)),Ie>Xe.bottom&&(wt-=Ie-Xe.bottom-ue,Qt.y>Xe.bottom-en&&(wt+=Qt.y-Xe.bottom+en)));var pn=vt.x+gt,rn=pn+An,ln=vt.y+wt,Mt=ln+Sn,_t=Qt.x,Ot=_t+zn,Xt=Qt.y,un=Xt+Zn,an=Math.max(pn,_t),on=Math.min(rn,Ot),jn=(an+on)/2,Xn=jn-pn,$n=Math.max(ln,Xt),sr=Math.min(Mt,un),ir=($n+sr)/2,qn=ir-ln;v==null||v(j,zt);var vn=Ze.right-vt.x-(gt+vt.width),On=Ze.bottom-vt.y-(wt+vt.height);Ge===1&&(gt=Math.round(gt),vn=Math.round(vn)),at===1&&(wt=Math.round(wt),On=Math.round(On));var Gn={ready:!0,offsetX:gt/Ge,offsetY:wt/at,offsetR:vn/Ge,offsetB:On/at,arrowX:Xn/Ge,arrowY:qn/at,scaleX:Ge,scaleY:at,align:zt};U(Gn)}}),we=function(){Z.current+=1;var Fe=Z.current;Promise.resolve().then(function(){Z.current===Fe&&be()})},Ke=function(){U(function(Fe){return(0,O.Z)((0,O.Z)({},Fe),{},{ready:!1})})};return(0,t.Z)(Ke,[re]),(0,t.Z)(function(){E||Ke()},[E]),[N.ready,N.offsetX,N.offsetY,N.offsetR,N.offsetB,N.arrowX,N.arrowY,N.scaleX,N.scaleY,N.align,we]}var Tt=u(95190);function Ee(E,j,D,re,de){(0,t.Z)(function(){if(E&&j&&D){let Z=function(){re(),de()};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 kt(E,j,D,re,de,P,v,S){var B=a.useRef(E);B.current=E;var N=a.useRef(!1);a.useEffect(function(){if(j&&re&&(!de||P)){var Z=function(){N.current=!1},ne=function(st){var je;B.current&&!v(((je=st.composedPath)===null||je===void 0||(je=je.call(st))===null||je===void 0?void 0:je[0])||st.target)&&!N.current&&S(!1)},Q=A(re);Q.addEventListener("pointerdown",Z,!0),Q.addEventListener("mousedown",ne,!0),Q.addEventListener("contextmenu",ne,!0);var fe=(0,e.A)(D);if(fe&&(fe.addEventListener("mousedown",ne,!0),fe.addEventListener("contextmenu",ne,!0)),0)var be,we,Ke,Me;return function(){Q.removeEventListener("pointerdown",Z,!0),Q.removeEventListener("mousedown",ne,!0),Q.removeEventListener("contextmenu",ne,!0),fe&&(fe.removeEventListener("mousedown",ne,!0),fe.removeEventListener("contextmenu",ne,!0))}}},[j,D,re,de,P]);function U(){N.current=!0}return U}var Te=["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 de=D.prefixCls,P=de===void 0?"rc-trigger-popup":de,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,fe=D.afterPopupVisibleChange,be=D.mouseEnterDelay,we=D.mouseLeaveDelay,Ke=we===void 0?.1:we,Me=D.focusDelay,Fe=D.blurDelay,st=D.mask,je=D.maskClosable,ze=je===void 0?!0:je,Rt=D.getPopupContainer,Dt=D.forceRender,it=D.autoDestroy,Ft=D.destroyPopupOnHide,dn=D.popup,Et=D.popupClassName,ht=D.popupStyle,Pt=D.popupPlacement,sn=D.builtinPlacements,jt=sn===void 0?{}:sn,Bt=D.popupAlign,Qt=D.zIndex,hn=D.stretch,qe=D.getPopupClassNameFromAlign,ct=D.fresh,vt=D.alignPoint,Tn=D.onPopupClick,_n=D.onPopupAlign,Kn=D.arrow,Bn=D.popupMotion,yn=D.maskMotion,Wt=D.popupTransitionName,Dn=D.popupAnimation,En=D.maskTransitionName,In=D.maskAnimation,Cn=D.className,Sn=D.getTriggerDOMNode,An=(0,W.Z)(D,Te),Zn=it||Ft||!1,zn=a.useState(!1),Wn=(0,T.Z)(zn,2),Un=Wn[0],ee=Wn[1];(0,t.Z)(function(){ee((0,r.Z)())},[]);var J=a.useRef({}),We=a.useContext(Y),De=a.useMemo(function(){return{registerSubPopup:function(Kt,wn){J.current[Kt]=wn,We==null||We.registerSubPopup(Kt,wn)}}},[We]),Ye=(0,c.Z)(),Xe=a.useState(null),me=(0,T.Z)(Xe,2),he=me[0],Ze=me[1],Ge=a.useRef(null),at=(0,s.Z)(function(xt){Ge.current=xt,(0,G.Sh)(xt)&&he!==xt&&Ze(xt),We==null||We.registerSubPopup(Ye,xt)}),mt=a.useState(null),nt=(0,T.Z)(mt,2),Ve=nt[0],$=nt[1],ie=a.useRef(null),ue=(0,s.Z)(function(xt){(0,G.Sh)(xt)&&Ve!==xt&&($(xt),ie.current=xt)}),_e=a.Children.only(v),ke=(_e==null?void 0:_e.props)||{},Be={},Pe=(0,s.Z)(function(xt){var Kt,wn,Vt=Ve;return(Vt==null?void 0:Vt.contains(xt))||((Kt=(0,e.A)(Vt))===null||Kt===void 0?void 0:Kt.host)===xt||xt===Vt||(he==null?void 0:he.contains(xt))||((wn=(0,e.A)(he))===null||wn===void 0?void 0:wn.host)===xt||xt===he||Object.values(J.current).some(function(Pn){return(Pn==null?void 0:Pn.contains(xt))||xt===Pn})}),$e=R(P,Bn,Dn,Wt),Qe=R(P,yn,In,En),ot=a.useState(ne||!1),It=(0,T.Z)(ot,2),ut=It[0],yt=It[1],At=Z!=null?Z:ut,Ht=(0,s.Z)(function(xt){Z===void 0&&yt(xt)});(0,t.Z)(function(){yt(Z||!1)},[Z]);var zt=a.useRef(At);zt.current=At;var gt=a.useRef([]);gt.current=[];var wt=(0,s.Z)(function(xt){var Kt;Ht(xt),((Kt=gt.current[gt.current.length-1])!==null&&Kt!==void 0?Kt:At)!==xt&&(gt.current.push(xt),Q==null||Q(xt))}),et=a.useRef(),lt=function(){clearTimeout(et.current)},dt=function(Kt){var wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;lt(),wn===0?wt(Kt):et.current=setTimeout(function(){wt(Kt)},wn*1e3)};a.useEffect(function(){return lt},[]);var $t=a.useState(!1),Nt=(0,T.Z)($t,2),Ut=Nt[0],Nn=Nt[1];(0,t.Z)(function(xt){(!xt||At)&&Nn(!0)},[At]);var M=a.useState(null),se=(0,T.Z)(M,2),q=se[0],ae=se[1],ve=a.useState(null),xe=(0,T.Z)(ve,2),Ie=xe[0],Oe=xe[1],Ce=function(Kt){Oe([Kt.clientX,Kt.clientY])},te=tt(At,he,vt&&Ie!==null?Ie:Ve,Pt,jt,Bt,_n),oe=(0,T.Z)(te,11),pe=oe[0],ge=oe[1],Re=oe[2],He=oe[3],ft=oe[4],rt=oe[5],Ct=oe[6],Lt=oe[7],St=oe[8],Yt=oe[9],pt=oe[10],cn=ye(Un,B,N,U),nn=(0,T.Z)(cn,2),fn=nn[0],Gt=nn[1],en=fn.has("click"),pn=Gt.has("click")||Gt.has("contextMenu"),rn=(0,s.Z)(function(){Ut||pt()}),ln=function(){zt.current&&vt&&pn&&dt(!1)};Ee(At,Ve,he,rn,ln),(0,t.Z)(function(){rn()},[Ie,Pt]),(0,t.Z)(function(){At&&!(jt!=null&&jt[Pt])&&rn()},[JSON.stringify(Bt)]);var Mt=a.useMemo(function(){var xt=b(jt,P,Yt,vt);return p()(xt,qe==null?void 0:qe(Yt))},[Yt,qe,jt,P,vt]);a.useImperativeHandle(re,function(){return{nativeElement:ie.current,popupElement:Ge.current,forceAlign:rn}});var _t=a.useState(0),Ot=(0,T.Z)(_t,2),Xt=Ot[0],un=Ot[1],an=a.useState(0),on=(0,T.Z)(an,2),jn=on[0],Xn=on[1],$n=function(){if(hn&&Ve){var Kt=Ve.getBoundingClientRect();un(Kt.width),Xn(Kt.height)}},sr=function(){$n(),rn()},ir=function(Kt){Nn(!1),pt(),fe==null||fe(Kt)},qn=function(){return new Promise(function(Kt){$n(),ae(function(){return Kt})})};(0,t.Z)(function(){q&&(pt(),q(),ae(null))},[q]);function vn(xt,Kt,wn,Vt){Be[xt]=function(Pn){var or;Vt==null||Vt(Pn),dt(Kt,wn);for(var Hn=arguments.length,fr=new Array(Hn>1?Hn-1:0),ur=1;ur<Hn;ur++)fr[ur-1]=arguments[ur];(or=ke[xt])===null||or===void 0||or.call.apply(or,[ke,Pn].concat(fr))}}(en||pn)&&(Be.onClick=function(xt){var Kt;zt.current&&pn?dt(!1):!zt.current&&en&&(Ce(xt),dt(!0));for(var wn=arguments.length,Vt=new Array(wn>1?wn-1:0),Pn=1;Pn<wn;Pn++)Vt[Pn-1]=arguments[Pn];(Kt=ke.onClick)===null||Kt===void 0||Kt.call.apply(Kt,[ke,xt].concat(Vt))});var On=kt(At,pn,Ve,he,st,ze,Pe,dt),Gn=fn.has("hover"),gn=Gt.has("hover"),mn,bn;Gn&&(vn("onMouseEnter",!0,be,function(xt){Ce(xt)}),vn("onPointerEnter",!0,be,function(xt){Ce(xt)}),mn=function(Kt){(At||Ut)&&he!==null&&he!==void 0&&he.contains(Kt.target)&&dt(!0,be)},vt&&(Be.onMouseMove=function(xt){var Kt;(Kt=ke.onMouseMove)===null||Kt===void 0||Kt.call(ke,xt)})),gn&&(vn("onMouseLeave",!1,Ke),vn("onPointerLeave",!1,Ke),bn=function(){dt(!1,Ke)}),fn.has("focus")&&vn("onFocus",!0,Me),Gt.has("focus")&&vn("onBlur",!1,Fe),fn.has("contextMenu")&&(Be.onContextMenu=function(xt){var Kt;zt.current&&Gt.has("contextMenu")?dt(!1):(Ce(xt),dt(!0)),xt.preventDefault();for(var wn=arguments.length,Vt=new Array(wn>1?wn-1:0),Pn=1;Pn<wn;Pn++)Vt[Pn-1]=arguments[Pn];(Kt=ke.onContextMenu)===null||Kt===void 0||Kt.call.apply(Kt,[ke,xt].concat(Vt))}),Cn&&(Be.className=p()(ke.className,Cn));var bt=(0,O.Z)((0,O.Z)({},ke),Be),Jt={},qt=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];qt.forEach(function(xt){An[xt]&&(Jt[xt]=function(){for(var Kt,wn=arguments.length,Vt=new Array(wn),Pn=0;Pn<wn;Pn++)Vt[Pn]=arguments[Pn];(Kt=bt[xt])===null||Kt===void 0||Kt.call.apply(Kt,[bt].concat(Vt)),An[xt].apply(An,Vt)})});var tn=a.cloneElement(_e,(0,O.Z)((0,O.Z)({},bt),Jt)),Rn={x:rt,y:Ct},Mn=Kn?(0,O.Z)({},Kn!==!0?Kn:{}):null;return a.createElement(a.Fragment,null,a.createElement(H.Z,{disabled:!At,ref:ue,onResize:sr},a.createElement(L,{getTriggerDOMNode:Sn},tn)),a.createElement(Y.Provider,{value:De},a.createElement(k,{portal:E,ref:at,prefixCls:P,popup:dn,className:p()(Et,Mt),style:ht,target:Ve,onMouseEnter:mn,onMouseLeave:bn,onPointerEnter:mn,zIndex:Qt,open:At,keepDom:Ut,fresh:ct,onClick:Tn,onPointerDownCapture:On,mask:st,motion:$e,maskMotion:Qe,onVisibleChanged:ir,onPrepare:qn,forceRender:Dt,autoDestroy:Zn,getPopupContainer:Rt,align:Yt,arrow:Mn,arrowPos:Rn,ready:pe,offsetX:ge,offsetY:Re,offsetR:He,offsetB:ft,onAlign:rn,stretch:hn,targetWidth:Xt/Lt,targetHeight:jn/St})))});return j}var le=Ne(X.Z)},28426:function(Zt,Le,u){"use strict";var O=u(59301),T=u(93314),W=u(99571),X=Object.defineProperty,V=Object.defineProperties,p=Object.getOwnPropertyDescriptors,H=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(H)for(var m of H(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);Le.Z=r},45677:function(Zt,Le,u){"use strict";u.d(Le,{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),H=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"),[ce,Se]=(0,O.useState)(""),[Ae,Ue]=(0,O.useState)(),tt=window.ENV==="build"?"/react/build":"",Tt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Je=10*(1024*1024),kt=(0,O.useRef)();l!=null&&l.startsWith("/api")&&F!=="txt"&&(l=s.Z.API_SERVER+l);const Te=D=>D.substring(D.lastIndexOf("/")+1).split(".").pop();Y&&z&&(z.filename=Y),(0,O.useEffect)(()=>{var D,re;const de=(re=(D=document.cookie)==null?void 0:D.replace(/\s/g,""))==null?void 0:re.split(";");de==null||de.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?Ue({url:l,fileType:Te(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 de=yield(0,G.gJ)({attachment_id:re});de.url=Tt+de.url,Ue(de)}),E=()=>{if(l.startsWith("http")||l.startsWith("blob:")){j();return}(0,H.Sv)(Y||"educoder",l,Y)},j=()=>{i&&(0,c.fc)({id:i==null?void 0:i.id,watch_type:1,course_id:i==null?void 0:i.course_id}),(0,H.Nd)(Y||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:C({},y||{}),className:`${R&&T.bgBlack} ${F?T.wrp:"hide"}`},d&&t.createElement("div",{className:T.close,ref:kt},!!w&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>kt.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:()=>kt.current},t.createElement("span",{onClick:j},t.createElement("i",{className:"icon-quxiaozhiding"}))),k&&t.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>kt.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:()=>kt.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"&&Ae&&t.createElement("iframe",{src:`${tt}/office.html?key=${Ae.key}&url=${btoa(Ae.url)}&callbackUrl=${Tt+(Ae.callbackUrl||"")}&fileType=${Ae.fileType}&title=${Ae.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:`${tt}/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(Zt,Le,u){"use strict";u.d(Le,{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(`
|
|
`)}]},H={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var G=u(53184),e=u.n(G),s=Object.defineProperty,c=Object.defineProperties,t=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,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{fe(N.next(be))}catch(we){Z(we)}},Q=be=>{try{fe(N.throw(be))}catch(we){Z(we)}},fe=be=>be.done?U(be.value):Promise.resolve(be.value).then(ne,Q);fe((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},fe=U.map(be=>({label:be,kind:S.languages.CompletionItemKind.Keyword,insertText:be,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Q}));return Z.map(be=>{fe.push(C(x({},be),{range:Q}))}),fe}var L=S=>{_.languages.map(Z=>(S.languages.registerDocumentFormattingEditProvider(Z,{provideDocumentFormattingEdits(ne,Q,fe){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),fe={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:fe})),...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:fe}))]}}}),S.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),fe={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:fe}))]}}}),S.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),fe={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:fe})),...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:fe}))]}}}),S.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),fe={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:[...H.keywords.map(we=>({label:we,kind:S.languages.CompletionItemKind.Function,documentation:we,insertText:we,insertTextRules:S.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:fe})),...H.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:fe}))]}}}),S.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Z,ne){var Q=Z.getWordUntilPosition(ne),fe={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:fe})),...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:fe}))]}}})};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,ce=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,tt=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={}))Ue.call(B,N)&&Tt(S,N,B[N]);if(Ae)for(var N of Ae(B))tt.call(B,N)&&Tt(S,N,B[N]);return S},Je=(S,B)=>ce(S,Se(B)),kt=(S,B)=>{var N={};for(var U in S)Ue.call(S,U)&&B.indexOf(U)<0&&(N[U]=S[U]);if(S!=null&&Ae)for(var U of Ae(S))B.indexOf(U)<0&&tt.call(S,U)&&(N[U]=S[U]);return N},Te=(S,B,N)=>new Promise((U,Z)=>{var ne=be=>{try{fe(N.next(be))}catch(we){Z(we)}},Q=be=>{try{fe(N.throw(be))}catch(we){Z(we)}},fe=be=>be.done?U(be.value):Promise.resolve(be.value).then(ne,Q);fe((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 de=()=>Te(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:fe={},overrideServices:be={},theme:we="vs-dark",onEditBlur:Ke,isCopy:Me=!1,onSave:Fe,autoHeight:st=!1,forbidCopy:je=!1,onChange:ze=le,editorDidMount:Rt=le,onFocus:Dt=le,onBreakPoint:it=le,breakPointValue:Ft=[],filename:dn="educoder.txt",errorLine:Et,errorContent:ht="",highlightLine:Pt,openBreakPoint:sn=!1,placeholder:jt="",showMiniMap:Bt=!0}=B,Qt=kt(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 hn=(0,O.useRef)(),qe=(0,O.useRef)({}),ct=(0,O.useRef)(),vt=(0,O.useRef)(),Tn=(0,O.useRef)([]),_n=(0,O.useRef)(!1),Kn=(0,O.useRef)(),Bn=(0,O.useRef)(),yn=(0,O.useRef)(!1),[Wt,Dn]=(0,O.useState)(!1);function En(){let me;return hn.current&&(me=new T.Z(he=>{for(let Ze of he)(Ze.target.offsetHeight>0||Ze.target.offsetWidth>0)&&qe.current.instance.layout()}),me.observe(hn.current)),me}function In(){A.ZP.warning({content:decodeURIComponent(F),key:"monaco-editor-tip"})}const Cn=()=>{let me=qe.current.instance;if(Z!=null&&me&&Wt){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 Ze;let Ge=qe.current.instance;(Ze=Ge==null?void 0:Ge.getAction)==null||Ze.call(Ge,"editor.action.formatDocument").run()});return window.updateMonacoValue=he=>{ze(he)},me},[]),(0,O.useEffect)(()=>{var me;let he=qe.current.instance;vt.current&&clearTimeout(vt.current),vt.current=setTimeout(()=>{Cn()},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,Wt,qe.current]),(0,O.useEffect)(()=>{if(Et&&qe.current&&qe.current.instance){let he=qe.current.instance;he.changeViewZones(function(Ze){var Ge=document.createElement("div");Ge.style.padding="10px 20px",Ge.style.width="calc(100% - 20px)",Ge.className="my-error-line-wrp",Ge.innerHTML=ht,Ze.addZone({afterLineNumber:Et||11,heightInLines:3,domNode:Ge})});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})}},[Et,qe.current,Wt]);const Sn=(me="",he)=>{if(!me||me.trim()==="")return!0;const Ge=qe.current.instance.getModel().getLineTokens(he);let at=!1;for(let mt=0;mt<2;mt++)Ge.getStandardTokenType(mt)===1&&(at=!0);return at};(0,O.useEffect)(()=>{var me;const he=(me=qe.current)==null?void 0:me.instance;if(he&&Wt&&je){const Ze=he.onDidBlurEditorWidget(()=>{yn.current=!1}),Ge=he.onDidFocusEditorText(()=>{yn.current=!0});return()=>{Ze.dispose(),Ge.dispose()}}},[qe.current,Wt,je]),(0,O.useEffect)(()=>{var me;if((me=qe.current)!=null&&me.instance&&Wt&&sn){let he=qe.current.instance,Ze=he.getModel();if(!Ze)return;(()=>{var Pe;let $e=[],Qe=[];const ot=Ze.getAllDecorations();for(let ut of ot)ut.options.className==="highlighted-line"&&($e.push((Pe=ut==null?void 0:ut.range)==null?void 0:Pe.startLineNumber),Qe.push(ut==null?void 0:ut.id));if(Pt===$e[0])return;Ze.deltaDecorations(Qe,[]);const It=Ze.getLineCount();Pt&&Pt<=It&&(he.deltaDecorations([],[{range:new re.Range(Pt,1,Pt,Ze.getLineMaxColumn(Pt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),he.revealLineInCenter(Pt))})();const at=(Pe=!1)=>{var $e;let Qe=[],ot=[];const It=Ze.getAllDecorations();for(let ut of It)ut.options.linesDecorationsClassName==="breakpoints-select"&&(Qe.push(($e=ut==null?void 0:ut.range)==null?void 0:$e.startLineNumber),ot.push(ut==null?void 0:ut.id));if(Pe)return{lines:Qe,ids:ot};it(Qe)},mt=Pe=>Te(void 0,null,function*(){let $e={range:new re.Range(Pe,1,Pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ze.deltaDecorations([],[$e]),at()}),nt=Pe=>Te(void 0,null,function*(){let $e=[];const Qe=he.getLineDecorations(Pe);for(let ot of Qe)ot.options.linesDecorationsClassName==="breakpoints-select"&&$e.push(ot.id);yield Ze.deltaDecorations($e,[]),at()}),Ve=Pe=>{let $e=he.getLineDecorations(Pe);for(let Qe of $e)if(Qe.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(Ft,at(!0).lines)){Ze.deltaDecorations(at(!0).ids,[]);const Pe=Ft.map($e=>({range:new re.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ze.deltaDecorations([],Pe)}const $=he.onDidChangeModelContent(Pe=>{let $e=he.getPosition();if($e){let Qe=$e.lineNumber;clearTimeout(Bn.current),Bn.current=setTimeout(()=>{Sn(Ze.getLineContent(Qe),Qe)?nt(Qe):Ve(Qe)?(nt(Qe),mt(Qe)):at()},100)}}),ie=he.onMouseDown(Pe=>{var $e,Qe,ot;if(Pe.target.detail&&((ot=(Qe=($e=Pe.target)==null?void 0:$e.element)==null?void 0:Qe.className)!=null&&ot.includes("line-numbers"))){let It=Pe.target.position.lineNumber;if(Sn(Ze.getLineContent(It),It))return;Ve(It)?nt(It):mt(It)}}),ue=Pe=>{let $e={range:new re.Range(Pe,1,Pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Tn.current=he.deltaDecorations(Tn.current,[$e])},_e=()=>{Tn.current=he.deltaDecorations(Tn.current,[])},ke=he.onMouseMove(Pe=>{var $e,Qe,ot;if(_e(),Pe.target.detail&&((ot=(Qe=($e=Pe.target)==null?void 0:$e.element)==null?void 0:Qe.className)!=null&&ot.includes("line-numbers"))){let It=Pe.target.position.lineNumber;if(Sn(Ze.getLineContent(It),It))return;ue(It)}}),Be=he.onMouseLeave(()=>{_e()});return()=>{$.dispose(),ie.dispose(),ke.dispose(),Be.dispose()}}},[qe.current,Wt,Ft,Pt,sn,ne]),(0,O.useEffect)(()=>{var me;(me=qe.current)!=null&&me.instance&&sn&&qe.current.instance.setPosition({lineNumber:0,column:0})},[Pt]);function An(){let me=qe.current.instance;if(me){const he=me.getSelection(),Ze=qe.current.pastePos||{},Ge=new re.Range(Ze.startLineNumber||he.endLineNumber,Ze.startColumn||he.endColumn,Ze.endLineNumber||he.endLineNumber,Ze.endColumn||he.endColumn);setTimeout(()=>{me.executeEdits("",[{range:Ge,text:""}])},300)}}function Zn(me){(window.navigator.platform.match("Mac")?me.metaKey:me.ctrlKey)&&me.keyCode==83&&(me.preventDefault(),Fe())}const zn=()=>{if(st&&qe.current.instance){const me=qe.current.instance.getContentHeight();Ye(me<U?U:me)}else Ye(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 Un=me=>{if(!yn.current)return;const{keyCode:he,ctrlKey:Ze,metaKey:Ge,target:at,type:mt}=me;return(mt==="paste"||(he===67||he===86)&&(Ge||Ze))&&at.nodeName==="TEXTAREA"&&(In(),me.preventDefault()),!1};function ee(me,he){var Ze=window.URL||window.webkitURL||window,Ge=new Blob([he]),at=document.createElementNS("http://www.w3.org/1999/xhtml","a");at.href=Ze.createObjectURL(Ge),at.download=me,Wn(at)}(0,O.useEffect)(()=>{zn()},[zn]),(0,O.useEffect)(()=>{hn.current&&!Wt&&Promise.all([u.e(8909),u.e(6656)]).then(u.bind(u,71448)).then(me=>{try{re=me,qe.current.instance=re.editor.create(hn.current,{value:Z,language:D(ne),theme:we,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Bt||!1}},be);const he=qe.current.instance;let at=[...R.BH._menuItems].find($=>$[0]._debugName=="EditorContext")[1],mt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],nt=($,ie)=>{var ue,_e;let ke=$._first;do ie.includes((_e=(ue=ke.element)==null?void 0:ue.command)==null?void 0:_e.id)&&$._remove(ke);while(ke=ke.next)};if(Rt(he,re),setTimeout(()=>{zn(),qe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{ee(dn||"educoder.txt",he.getValue())}})},500),qe.current.subscription=he.onDidChangeModelContent($=>{_n.current?clearTimeout(Kn.current):(zn(),ze(he.getValue(),$)),Kn.current=setTimeout(()=>{_n.current=!1},500)}),window.Monaco||L(re,D(ne)),je&&(nt(at,mt),hn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Un),window.removeEventListener("paste",Un),window.addEventListener("keydown",Un),window.addEventListener("paste",Un)),window.Monaco=re,Ke&&he.onDidBlurEditorWidget(()=>{Ke(he.getValue())}),Dt&&he.onDidFocusEditorText(()=>{je&&de(),Dt(he.getValue())}),je){de();try{he.onDidPaste($=>{const ie=he.getSelection(),ue=qe.current.pastePos||{},_e=new re.Range(ue.startLineNumber||ie.endLineNumber,ue.startColumn||ie.endColumn,ue.endLineNumber||ie.endLineNumber,ue.endColumn||ie.endColumn);he.executeEdits("",[{range:$.range,text:""}])})}catch($){}}let Ve=En();return jt&&typeof jt=="string"&&new b(jt,he,re),Dn(!0),()=>{const $=qe.current.instance;$.dispose();const ie=$.getModel();ie&&ie.dispose(),qe.current.subscription&&qe.current.subscription.dispose(),Ve.unobserve(hn.current)}}catch(he){}})},[]),(0,O.useEffect)(()=>{if(qe.current.instance&&Wt)return document.addEventListener("keydown",Zn,!1),()=>{document.removeEventListener("keydown",Zn)}},[Fe,Wt]),(0,O.useEffect)(()=>{let me=qe.current.instance;if(me&&Wt){let he=D(ne);re.editor.setModelLanguage(me.getModel(),he)}},[ne,Wt]),(0,O.useEffect)(()=>{qe.current.instance&&Wt&&re.editor.setTheme(we)},[we,Wt]),(0,O.useEffect)(()=>{let me=qe.current.instance;ct.current=fe,me&&Wt&&(me.updateOptions(Ee({},fe)),setTimeout(()=>{me.getModel().updateOptions(Ee({},fe))},200))},[JSON.stringify(fe),Wt]),(0,O.useEffect)(()=>{let me=qe.current.instance;me&&Wt&&me.layout()},[N,U,Wt]);const[J,We]=(0,O.useState)(Ne(N)),[De,Ye]=(0,O.useState)(Ne(U)),Xe=Je(Ee({},Q),{width:J,height:De,position:"relative"});return O.createElement("div",{className:"my-monaco-editor",ref:hn,style:Xe},Me&&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)(),[fe,be]=(0,O.useState)(null);function we(st){let je;return Q.current&&(je=new T.Z(ze=>{for(let Rt of ze)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&&st.layout()}),je.observe(Q.current)),je}(0,O.useEffect)(()=>(Q.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(st=>{re=st;const je=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(je);let ze=we(je);return()=>{je.dispose();const Rt=je.getModel();Rt&&Rt.dispose(),ze.unobserve(Q.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,O.useEffect)(()=>{fe&&fe.setModel({original:re.editor.createModel(N,Z),modified:re.editor.createModel(U,Z)})},[N,U,Z,fe]);const Ke=Ne(S),Me=Ne(B),Fe={width:Ke,height:Me};return O.createElement("div",{className:"my-diff-editor",ref:Q,style:Fe})}},62256:function(Zt,Le,u){"use strict";u.r(Le),u.d(Le,{default:function(){return Y}});var O=u(59301),T={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},W=u(25690),X=u(6767),V=u(25399),p=u(62957),H=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,ce]=(0,O.useState)([]),[Se,Ae]=(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}}}),Ue=Te=>L(void 0,null,function*(){var Ne;A(!0),Te.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/${(Te==null?void 0:Te.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:I(k({},Te),{year:(Te==null?void 0:Te.ec_year_id)===0?null:Te==null?void 0:Te.ec_year_id,ec_year_id:((Te==null?void 0:Te.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 Te;(Te=z.userInfo)!=null&&Te.school_id&&(tt(),Tt(),Ue(d))},[(ye=z==null?void 0:z.userInfo)==null?void 0:ye.school_id]);function tt(){return L(this,null,function*(){var Te;let Ne=yield(0,t.ZP)(`/api/schools/${(Te=z==null?void 0:z.userInfo)==null?void 0:Te.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 Te=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});ce(Te==null?void 0:Te.year_arr)})}const Ee=(Te,Ne)=>{d.page=1,d[Ne]=typeof Te=="number"?Te:null,b(k({},d)),Ue(d)},Je=(Te,Ne,le)=>{d.page=Te==null?void 0:Te.current,d.per_page=Te==null?void 0:Te.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)),Ue(d)},kt=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Te,Ne,le)=>d.per_page*(d.page-1)+le+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Te,Ne,le)=>O.createElement(W.Link,{to:`/engineering/training/program/edit?ec_year_id=${Ne==null?void 0:Ne.id}`},Te)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Te,Ne,le)=>O.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Ne==null?void 0:Ne.type))Se.editOffice="edit",Ae(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}}},Te||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Te,Ne,le)=>Te+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Te,Ne,le)=>Te||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:(Te,Ne,le)=>Te||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:(Te,Ne,le)=>Te+"/"+(Ne==null?void 0:Ne.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Te,Ne,le)=>Te||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:(Te,Ne,le)=>O.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Te} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Ne==null?void 0:Ne.course_count}`},O.createElement("span",{style:{color:Ne!=null&&Ne.course_count?parseInt(Te)===parseInt(Ne==null?void 0:Ne.course_count)?"#07C160":"#E30000":""}},Ne!=null&&Ne.course_count?Te+"/"+(Ne==null?void 0:Ne.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Te,Ne,le)=>O.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Te} / \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(Te)===parseInt(Ne==null?void 0:Ne.graduation_requirement_count)?"#07C160":"#E30000":""}},Ne!=null&&Ne.graduation_requirement_count?Te+"/"+(Ne==null?void 0:Ne.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Te,Ne,le)=>O.createElement("span",{style:{color:Te==="achieved"?"#E30000":"#07C160"}},Te==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Te,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/${Te}`,{method:"delete"}))&&(a.U.clear((E=z==null?void 0:z.userInfo)==null?void 0:E.login),X.ZP.info("\u5220\u9664\u6210\u529F"),Ue(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:Te,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(H.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:Te=>Ee(Te,"ec_major_school_id")},O.createElement(H.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((Te,Ne)=>O.createElement(H.default.Option,{value:Te==null?void 0:Te.ec_major_school_id},Te==null?void 0:Te.name))),O.createElement("div",{className:T.label},"\u8BA4\u8BC1\u5C4A\u522B"),O.createElement(H.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:Te=>Ee(Te,"ec_year_id")},O.createElement(H.default.Option,{value:0},"\u5168\u90E8"),K==null?void 0:K.map((Te,Ne)=>O.createElement(H.default.Option,{value:Te},Te,"\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:Te=>Te.id,columns:kt,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:Te=>O.createElement("span",{className:"mr10"},"\u5171",O.createElement("span",{className:"c-orange"},Te),"\u6761\u6570\u636E")}}),O.createElement(o.Z,I(k({},Se),{onClose:()=>{Ae(I(k({},Se),{type:""}))}})))};var Y=(0,W.connect)(({user:z})=>({user:z}))(F)},23029:function(Zt,Le,u){"use strict";u.d(Le,{p:function(){return X},v:function(){return H}});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"},H=({title:G,children:e})=>O.createElement("div",{className:V.selectWrapContainer},O.createElement("span",null,G),e)},40133:function(Zt,Le,u){"use strict";u.d(Le,{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 ce},ON:function(){return Ee},Uj:function(){return Te},VY:function(){return tt},YO:function(){return kt},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 Ae},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 Ue},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,H=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(H)for(var D of H(j))e.call(j,D)&&s(E,D,j[D]);return E},t=(E,j,D)=>new Promise((re,de)=>{var P=B=>{try{S(D.next(B))}catch(N){de(N)}},v=B=>{try{S(D.throw(B))}catch(N){de(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}))}),ce=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}))}),Ae=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}))}),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_graduation_requirements.xlsx`,query:E}))}),tt=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}))}),kt=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}))}),Te=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(Zt,Le,u){"use strict";var O=u(98040),T={"text/plain":"Text","text/html":"Url",default:"Text"},W="Copy to clipboard: #{key}, Enter";function X(p){var H=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,H)}function V(p,H){var G,e,s,c,t,r,a=!1;H||(H={}),G=H.debug||!1;try{s=O(),c=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=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(),H.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[H.format]||T.default;window.clipboardData.setData(x,p)}else m.clipboardData.clearData(),m.clipboardData.setData(H.format,p);H.onCopy&&(m.preventDefault(),H.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(H.format||"text",p),H.onCopy&&H.onCopy(window.clipboardData),a=!0}catch(x){G&&console.error("unable to copy using clipboardData: ",x),G&&console.error("falling back to prompt"),e=X("message"in H?H.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}Zt.exports=V},53184:function(Zt,Le,u){"use strict";var O,T;function W(X,V,p){var H=function(G,e){return X.js_beautify(G,e)};return H.js=X.js_beautify,H.css=V.css_beautify,H.html=p.html_beautify,H.js_beautify=X.js_beautify,H.css_beautify=V.css_beautify,H.html_beautify=p.html_beautify,H}O=[u(58553),u(87804),u(40998)],T=function(X,V,p){return W(X,V,p)}.apply(Le,O),T!==void 0&&(Zt.exports=T)},87804:function(Zt,Le){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 ce=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ce.match(/[ :]$/)&&(ce=this.eatString(": ").replace(/\s+$/,""),this.print_string(ce),this._output.space_before_token=!0),F===0&&ce.indexOf(":")!==-1?(z=!0,this.indent()):ce in this.NESTED_AT_RULE?(this._nestedLevel+=1,ce 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 Ae=n==='"'||n==="'";this.preserveSingleSpace(Ae||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 Ue=!1;this._input.lookBack("with")&&(Ue=!0),this.preserveSingleSpace(w||Ue),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 tt=n==='"'||n==="'";this.preserveSingleSpace(tt||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 H=p(15);T=H})();var W=T;u=[],O=function(){return{css_beautify:W}}.apply(Le,u),O!==void 0&&(Zt.exports=O)})()},40998:function(Zt,Le,u){var O,T;(function(){var W;(function(){"use strict";var H=[,,function(c){function t(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}t.prototype.clone_empty=function(){var o=new t(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},t.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},t.prototype.has_match=function(o){for(var 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(tt,Tt){var Ee=new F(tt,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 ce=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(A);if(!ce){y.add_raw_token(d);return}i=K+ce[1]+`
|
|
`,A=ce[4],ce[5]&&(g=K+ce[5]),A=A.replace(/\n[ \t]*$/,""),(ce[2]||ce[3].indexOf(`
|
|
`)!==-1)&&(ce=ce[3].match(/[ \t]+$/),ce&&(d.whitespace_before=ce[0]))}if(A)if(w){var Se=function(){this.eol=`
|
|
`};Se.prototype=this._options.raw_options;var Ae=new Se;A=w(K+A,Ae)}else{var Ue=d.whitespace_before;Ue&&(A=A.replace(new RegExp(`
|
|
(`+Ue+")?","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 H[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(H){var G=u(58553),e=u(87804);return{html_beautify:function(s,c){return X(s,c,G.js_beautify,e.css_beautify)}}}.apply(Le,O),T!==void 0&&(Zt.exports=T);else var V,p})()},58553:function(Zt,Le){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 ce=i[K].trim();if(ce.charAt(0)!==g)return!1}return!0}function A(i,g){for(var K=0,ce=i.length,Se;K<ce;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 ce={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 ce},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 ce=this._tokens.next();ce;)this.handle_token(ce),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ce,ce=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,ce=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(ce)for(var Ae=0;Ae<K;Ae+=1)this.print_newline(Ae>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 Ue=1;Ue<K;Ue+=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,ce=h(this._flags.last_token.text,x)||h(i.text,x);if(ce){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 ce=this._tokens.peek(-4);k(K,["async","function"])||K.text==="*"&&k(ce,["async","function"])?this._output.space_before_token=!0:this._flags.mode===z.ObjectLiteral?(K.text==="{"||K.text===","||K.text==="*"&&(ce.text==="{"||ce.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 ce=!g.comments_before&&g.text==="}",Se=ce&&this._flags.last_word==="function"&&this._flags.last_token.type===C.END_EXPR;if(this._options.brace_preserve_inline){var Ae=0,Ue=null;this._flags.inline_frame=!0;do if(Ae+=1,Ue=this._tokens.peek(Ae-1),Ue.newlines){this._flags.inline_frame=!1;break}while(Ue.type!==C.EOF&&!(Ue.type===C.END_BLOCK&&Ue.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(),!ce&&!(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 ce=this._output.current_line;ce.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 ce=!g;this.handle_whitespace_and_comments(i,ce)}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,Ae=!0,Ue=!1;if(i.text===":"?this._flags.ternary_depth===0?Se=!1:(this._flags.ternary_depth-=1,Ue=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!K&&!g&&this._options.preserve_newlines&&h(i.text,x)){var tt=i.text===":",Tt=tt&&Ue,Ee=tt&&!Ue;switch(this._options.operator_position){case F.before_newline:this._output.space_before_token=!Ee,this.print_token(i),(!tt||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,!tt||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();Ae=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,Ae=!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,Ae=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var kt=k(this._flags.last_token,I)&&i.newlines;kt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(kt,!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,["--","++"])&&(Ae=!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=Ae},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),ce,Se=!1,Ae=!1,Ue=i.whitespace_before,tt=Ue.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,"*"),Ae=A(K,Ue),Se&&(this._flags.alignment=1),ce=0;ce<K.length;ce++)Se?(this.print_token_line_indentation(i),this._output.add_token(_(K[ce]))):Ae&&K[ce]?(this.print_token_line_indentation(i),this._output.add_token(K[ce].substring(tt))):(this._output.current_line.set_indent(-1),this._output.add_token(K[ce])),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 ce=!!n[1],Se=n[2],Ae=!!n[n.length-1]||Se.slice(0,8)==="![CDATA[";if(!Ae&&(Se===i||g&&Se.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ce?--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 H=p(0);T=H})();var W=T;u=[],O=function(){return{js_beautify:W}}.apply(Le,u),O!==void 0&&(Zt.exports=O)})()},75918:function(Zt,Le,u){"use strict";u.d(Le,{Wi:function(){return p},Z0:function(){return H},aU:function(){return V},eZ:function(){return e},wY:function(){return G}});var O=u(4348),T=u(69323),W=u(13268),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 H extends V{constructor(c){super(H.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}H.ID="vs.actions.separator";class G{constructor(c,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=c,this.label=t,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return 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(Zt,Le,u){"use strict";u.d(Le,{ok:function(){return O}});function O(T,W){if(!T)throw new Error(W?`Assertion failed (${W})`:"Assertion Failed")}},52615:function(Zt,Le,u){"use strict";u.d(Le,{CM:function(){return V},JL:function(){return p},dT:function(){return G},fK:function(){return X},lA:function(){return H}});var O=u(4348);class T{constructor(){this._icons=new Map,this._onDidRegister=new O.Q5}add(s){const c=this._icons.get(s.id);c?s.description?c.description=s.description:console.error(`Duplicate registration of codicon ${s.id}`):(this._icons.set(s.id,s),this._onDidRegister.fire(s))}get(s){return this._icons.get(s)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const W=new T,X=W;function V(e,s){return new H(e,s)}function p(e){return e?e.replace(/\$\((.*?)\)/g,(s,c)=>` ${c} `).trim():""}class H{constructor(s,c,t){this.id=s,this.definition=c,this.description=t,W.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var G;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const s=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function c(a){if(a instanceof H)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return c(H.error);let[,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"})}(H||(H={}))},79881:function(Zt,Le,u){"use strict";u.d(Le,{B8:function(){return c},Cp:function(){return X},F0:function(){return G},L6:function(){return s},VV:function(){return H},b1:function(){return e},dL:function(){return W},ri:function(){return V}});class O{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
|
|
|
|
`+r.stack):r},0)}}emit(r){this.listeners.forEach(a=>{a(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const T=new O;function W(t){H(t)||T.onUnexpectedError(t)}function X(t){H(t)||T.onUnexpectedExternalError(t)}function V(t){if(t instanceof Error){let{name:r,message:a}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:a,stack:o}}return t}const p="Canceled";function H(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(Zt,Le,u){"use strict";u.d(Le,{D0:function(){return c},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return V}});var O=u(79881),T=u(69323),W=u(34502),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,ce=0;const Se=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=b(Ae=>{ce++,g=R(g,Ae),w&&!K&&(Se.fire(g),g=void 0),clearTimeout(K),K=setTimeout(()=>{const Ue=g;g=void 0,K=void 0,(!w||ce>1)&&Se.fire(Ue),ce=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 H=-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=H;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=H>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(Zt,Le,u){"use strict";u.d(Le,{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(Zt,Le,u){"use strict";u.d(Le,{$: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 H(_){return _||X}T.from=H;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(Zt,Le,u){"use strict";u.d(Le,{B9:function(){return r},F8:function(){return a},JT:function(){return x},Jz:function(){return h},OF:function(){return o},SL:function(){return 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 H(_){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)(()=>{H(f),_()})});return f}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,p(this)}dispose(){this._isDisposed||(H(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return G(f,this),this._isDisposed?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(){H(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}x.None=Object.freeze({dispose(){}});class C{constructor(){this._isDisposed=!1,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,H(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&G(f,null),f}}class h{constructor(f){this.object=f}dispose(){}}},34502:function(Zt,Le,u){"use strict";u.d(Le,{S:function(){return T}});class O{constructor(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 H=!1;return()=>{H||(H=!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(Zt,Le,u){"use strict";u.d(Le,{$L:function(){return k},ED:function(){return h},IJ:function(){return f},OS:function(){return Y},WE:function(){return L},dz:function(){return _},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,H=!1,G=!1,e=!1,s=!1,c,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let 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",H=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(Zt,Le,u){"use strict";u.d(Le,{G:function(){return W}});var O=u(23345);const T=O.li.performance&&typeof O.li.performance.now=="function";class W{constructor(V){this._highResolution=T&&V,this._startTime=this._now(),this._stopTime=-1}static create(V=!0){return new W(V)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?O.li.performance.now():Date.now()}}},82983:function(Zt,Le,u){"use strict";u.d(Le,{$i:function(){return ce},C8:function(){return Tt},GF:function(){return c},HO:function(){return A},IO:function(){return t},K7:function(){return tt},Kw:function(){return kt},LC:function(){return o},Mh:function(){return F},P1:function(){return Y},PJ:function(){return Te},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 Ae},c1:function(){return Ee},df:function(){return k},ec:function(){return V},fi:function(){return le},fy:function(){return p},j3:function(){return H},j_:function(){return f},m5:function(){return O},mK:function(){return l},mr:function(){return r},oH:function(){return D},oL:function(){return G},ok:function(){return L},ow:function(){return x},qq:function(){return I},qu:function(){return C},rL:function(){return y},uS:function(){return Je},un:function(){return e},uq:function(){return a},vH:function(){return R},xe:function(){return Ue},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"<";case">":return">";case"&":return"&";default:return S}})}function V(v){return v.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function p(v,S=" "){const B=H(v,S);return G(B,S)}function H(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 fe=v.charCodeAt(B),be=S.charCodeAt(U);if(fe<be)return-1;if(fe>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 fe=v.charCodeAt(B),be=S.charCodeAt(U);if(fe===be)continue;if(fe>=128||be>=128)return h(v.toLowerCase(),S.toLowerCase(),B,N,U,Z);l(fe)&&(fe-=32),l(be)&&(be-=32);const we=fe-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),fe=B.getGraphemeBreakType(Q);if(le(ne,fe))break;S+=Q>=65536?2:1,ne=fe}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 ce(v){return K.test(v)}const Se=/[\u2028\u2029]/;function Ae(v){return Se.test(v)}function Ue(v){for(let S=0,B=v.length;S<B;S++)if(tt(v.charCodeAt(S)))return!0;return!1}function tt(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 kt(v,S=!1){return v?(S&&(v=v.replace(/\\./g,"")),v.toLowerCase()!==v):!1}function Te(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-=de(N),v}function re(v,S){let B=b(S,v);for(v-=de(B);P(B)||B===65039||B===8419;){if(v===0)return;B=b(S,v),v-=de(B)}if(Tt(B)){if(v>=0){const N=b(S,v);N===8205&&(v-=de(N))}return v}}function de(v){return v>=65536?2:1}function P(v){return 127995<=v&&v<=127999}},72999:function(Zt,Le,u){"use strict";u.d(Le,{$E:function(){return o},$K:function(){return H},D8:function(){return t},HD:function(){return T},IU:function(){return 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(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(Zt,Le,u){"use strict";u.d(Le,{N:function(){return T}});function O(W,X){let V;return X.length===0?V=W:V=W.replace(/\{(\d+)\}/g,function(p,H){const G=H[0];return typeof X[G]!="undefined"?X[G]:p}),V}function T(W,X,...V){return O(X,V)}},96236:function(Zt,Le,u){"use strict";u.d(Le,{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),H=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.H)],C)},35884:function(Zt,Le,u){"use strict";u.d(Le,{H:function(){return H},P:function(){return G}});var O=u(4348),T=u(88226),W=u(69323),X=u(34502),V=u(72999),p=u(16925);const H=(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(H).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return T.$.first(s)}getCommands(){const e=new Map;for(const s of this._commands.keys()){const c=this.getCommand(s);c&&e.set(s,c)}return e}};G.registerCommand("noop",()=>{})},90689:function(Zt,Le,u){"use strict";u.d(Le,{Ao:function(){return H},Eq:function(){return 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 H{static has(n){return t.create(n)}static equals(n,i){return r.create(n,i)}static regex(n,i){return k.create(n,i)}static not(n){return x.create(n)}static and(...n){return F.create(n,null)}static or(...n){return Y.create(n,null,!0)}static deserialize(n,i=!1){if(n)return this._deserializeOrExpression(n,i)}static _deserializeOrExpression(n,i){let 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 ce=n.slice(g+1,K),Se=n[K+1]==="i"?"i":"";try{return new RegExp(ce,Se)}catch(Ae){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Ae}`);return console.warn(`bad regexp-value '${n}', parse error: ${Ae}`),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 ce=0;ce<i;ce++)n[ce]=w[ce]}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 ce of n)if(ce){if(ce.type===1){K=!0;continue}if(ce.type===0)return s.INSTANCE;if(ce.type===6){g.push(...ce.expr);continue}g.push(ce)}if(g.length===0&&K)return c.INSTANCE;if(g.length!==0){if(g.length===1)return g[0];g.sort(e);for(let ce=1;ce<g.length;ce++)g[ce-1].equals(g[ce])&&(g.splice(ce,1),ce--);if(g.length===1)return g[0];for(;g.length>1;){const ce=g[g.length-1];if(ce.type!==9)break;g.pop();const Se=g.pop(),Ae=g.length===0,Ue=Y.create(ce.expr.map(tt=>F.create([tt,Se],null)),null,Ae);Ue&&(g.push(Ue),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=[],ce=!1;if(n){for(let Se=0,Ae=n.length;Se<Ae;Se++){const Ue=n[Se];if(Ue){if(Ue.type===0){ce=!0;continue}if(Ue.type===1)return c.INSTANCE;if(Ue.type===9){K=K.concat(Ue.expr);continue}K.push(Ue)}}if(K.length===0&&ce)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 Ae=Se+1;Ae<K.length;Ae++)R(K[Se],K[Ae])&&(K.splice(Ae,1),Ae--);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 Ae of A(g))K.push(F.create([Se,Ae],null));const ce=n.length===0;n.unshift(Y.create(K,null,ce))}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 Ae=K+1;Ae<g.length;Ae++){const Ue=g[Ae];if(Se.equals(Ue))return!0}}return!1}function A(w){return w.type===9?w.expr:[w]}},16925:function(Zt,Le,u){"use strict";u.d(Le,{I8:function(){return O},TG:function(){return T},jt:function(){return V},yh:function(){return X}});var O;(function(p){p.serviceIds=new Map,p.DI_TARGET="$di$target",p.DI_DEPENDENCIES="$di$dependencies";function H(G){return G[p.DI_DEPENDENCIES]||[]}p.getServiceDependencies=H})(O||(O={}));const T=X("instantiationService");function W(p,H,G,e){H[O.DI_TARGET]===H?H[O.DI_DEPENDENCIES].push({id:p,index:G,optional:e}):(H[O.DI_DEPENDENCIES]=[{id:p,index:G,optional:e}],H[O.DI_TARGET]=H)}function X(p){if(O.serviceIds.has(p))return O.serviceIds.get(p);const H=function(G,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");W(H,G,s,!1)};return H.toString=()=>p,O.serviceIds.set(p,H),H}function V(p){return function(H,G,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");W(p,H,e,!0)}}},44650:function(Zt,Le,u){"use strict";u.d(Le,{B:function(){return X}});var O=u(76068),T=u(72999);class W{constructor(){this.data=new Map}add(p,H){O.ok(T.HD(p)),O.ok(T.Kn(H)),O.ok(!this.data.has(p),"There is already an extension with this id"),this.data.set(p,H)}as(p){return this.data.get(p)||null}}const X=new W},66213:function(Zt,Le,u){"use strict";u.d(Le,{e:function(){return O}});var O;(function(T){T.DARK="dark",T.LIGHT="light",T.HIGH_CONTRAST="hc"})(O||(O={}))},49055:function(Zt,Le,u){"use strict";u.d(Le,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return H},bB:function(){return 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 H=(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(Zt,Le,u){"use strict";var O=u(14809),T=u(20439),W=u(4635),X=u(50298),V=u(62646),p=u(92310),H=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=H()(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")}))});Le.Z=c},96478:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return I}});var O=u(14809),T=u(4635),W=u(50298),X=u(62646),V=u(65966),p=u(92310),H=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,ce=L.showAction,Se=L.hideAction,Ae=L.overlayClassName,Ue=L.overlayStyle,tt=L.visible,Tt=L.trigger,Ee=Tt===void 0?["hover"]:Tt,Je=L.autoFocus,kt=L.overlay,Te=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],de="visible"in L?tt:D,P=e.useRef(null),v=e.useRef(null),S=e.useRef(null);e.useImperativeHandle(F,function(){return P.current});var B=function(Ke){re(Ke),Ne==null||Ne(Ke)};a({visible:de,triggerRef:S,onVisibleChange:B,autoFocus:Je,overlayRef:v});var N=function(Ke){var Me=L.onOverlayClick;re(!1),Me&&Me(Ke)},U=function(){return e.createElement(m,{ref:v,overlay:kt,prefixCls:d,arrow:ye})},Z=function(){return typeof kt=="function"?U:U()},ne=function(){var Ke=L.minOverlayWidthMatchTrigger,Me=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?Ke:!Me},Q=function(){var Ke=L.openClassName;return Ke!==void 0?Ke:"".concat(d,"-open")},fe=e.cloneElement(Te,{className:H()((Y=Te.props)===null||Y===void 0?void 0:Y.className,de&&Q()),ref:(0,G.Yr)(Te)?(0,G.sQ)(S,(0,G.C4)(Te)):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:H()(Ae,(0,T.Z)({},"".concat(d,"-show-arrow"),ye)),popupStyle:Ue,action:Ee,showAction:ce,hideAction:be,popupPlacement:n,popupAlign:A,popupTransitionName:b,popupAnimation:R,popupVisible:de,stretch:ne()?"minWidth":"",popup:Z(),onPopupVisibleChange:B,onPopupClick:N,getPopupContainer:K}),fe)}var k=e.forwardRef(l),I=k},66003:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return H}});var O=u(62646),T=u(20439),W=u(93664),X=u(59301),V=["show"];function p(G,e){if(!e.max)return!0;var s=e.strategy(G);return s<=e.max}function H(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(Zt,Le,u){"use strict";u.r(Le),u.d(Le,{BaseInput:function(){return s},default:function(){return _}});var O=u(20439),T=u(14809),W=u(4635),X=u(93664),V=u(92310),p=u.n(V),H=u(59301),G=u(30292),e=H.forwardRef(function(f,l){var k,I,L,F=f.inputElement,Y=f.children,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,ce=f.value,Se=f.handleReset,Ae=f.hidden,Ue=f.classes,tt=f.classNames,Tt=f.dataAttrs,Ee=f.styles,Je=f.components,kt=f.onClear,Te=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,H.useRef)(null),re=function(st){var je;(je=D.current)!==null&&je!==void 0&&je.contains(st.target)&&(g==null||g())},de=(0,G.X3)(f),P=(0,H.cloneElement)(Te,{value:ce,className:p()((k=Te.props)===null||k===void 0?void 0:k.className,!de&&(tt==null?void 0:tt.variant))||null}),v=(0,H.useRef)(null);if(H.useImperativeHandle(l,function(){return{nativeElement:v.current||D.current}}),de){var S=null;if(K){var B=!w&&!n&&ce,N="".concat(z,"-clear-icon"),U=(0,X.Z)(K)==="object"&&K!==null&&K!==void 0&&K.clearIcon?K.clearIcon:"\u2716";S=H.createElement("button",{type:"button",tabIndex:-1,onClick:function(st){Se==null||Se(st),kt==null||kt()},onMouseDown:function(st){return st.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&&ce),Ue==null?void 0:Ue.affixWrapper,tt==null?void 0:tt.affixWrapper,tt==null?void 0:tt.variant),Q=(y||K)&&H.createElement("span",{className:p()("".concat(z,"-suffix"),tt==null?void 0:tt.suffix),style:Ee==null?void 0:Ee.suffix},S,y);P=H.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&&H.createElement("span",{className:p()("".concat(z,"-prefix"),tt==null?void 0:tt.prefix),style:Ee==null?void 0:Ee.prefix},ye),P,Q)}if((0,G.He)(f)){var fe="".concat(z,"-group"),be="".concat(fe,"-addon"),we="".concat(fe,"-wrapper"),Ke=p()("".concat(z,"-wrapper"),fe,Ue==null?void 0:Ue.wrapper,tt==null?void 0:tt.wrapper),Me=p()(we,(0,W.Z)({},"".concat(we,"-disabled"),w),Ue==null?void 0:Ue.group,tt==null?void 0:tt.groupWrapper);P=H.createElement(le,{className:Me,ref:v},H.createElement(E,{className:Ke},d&&H.createElement(j,{className:be},d),P,b&&H.createElement(j,{className:be},b)))}return H.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:Ae})}),s=e,c=u(95190),t=u(50298),r=u(62646),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,H.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,ce=K===void 0?"text":K,Se=f.classes,Ae=f.classNames,Ue=f.styles,tt=f.onCompositionStart,Tt=f.onCompositionEnd,Ee=(0,r.Z)(f,x),Je=(0,H.useState)(!1),kt=(0,t.Z)(Je,2),Te=kt[0],Ne=kt[1],le=(0,H.useRef)(!1),E=(0,H.useRef)(!1),j=(0,H.useRef)(null),D=(0,H.useRef)(null),re=function(ht){j.current&&(0,G.nH)(j.current,ht)},de=(0,a.Z)(f.defaultValue,{value:f.value}),P=(0,t.Z)(de,2),v=P[0],S=P[1],B=v==null?"":String(v),N=(0,H.useState)(null),U=(0,t.Z)(N,2),Z=U[0],ne=U[1],Q=(0,m.Z)(g,i),fe=Q.max||w,be=Q.strategy(B),we=!!fe&&be>fe;(0,H.useImperativeHandle)(l,function(){var Et;return{focus:re,blur:function(){var Pt;(Pt=j.current)===null||Pt===void 0||Pt.blur()},setSelectionRange:function(Pt,sn,jt){var Bt;(Bt=j.current)===null||Bt===void 0||Bt.setSelectionRange(Pt,sn,jt)},select:function(){var Pt;(Pt=j.current)===null||Pt===void 0||Pt.select()},input:j.current,nativeElement:((Et=D.current)===null||Et===void 0?void 0:Et.nativeElement)||j.current}}),(0,H.useEffect)(function(){E.current&&(E.current=!1),Ne(function(Et){return Et&&b?!1:Et})},[b]);var Ke=function(ht,Pt,sn){var jt=Pt;if(!le.current&&Q.exceedFormatter&&Q.max&&Q.strategy(Pt)>Q.max){if(jt=Q.exceedFormatter(Pt,{max:Q.max}),Pt!==jt){var Bt,Qt;ne([((Bt=j.current)===null||Bt===void 0?void 0:Bt.selectionStart)||0,((Qt=j.current)===null||Qt===void 0?void 0:Qt.selectionEnd)||0])}}else if(sn.source==="compositionEnd")return;S(jt),j.current&&(0,G.rJ)(j.current,ht,I,jt)};(0,H.useEffect)(function(){if(Z){var Et;(Et=j.current)===null||Et===void 0||Et.setSelectionRange.apply(Et,(0,c.Z)(Z))}},[Z]);var Me=function(ht){Ke(ht,ht.target.value,{source:"change"})},Fe=function(ht){le.current=!1,Ke(ht,ht.currentTarget.value,{source:"compositionEnd"}),Tt==null||Tt(ht)},st=function(ht){Y&&ht.key==="Enter"&&!E.current&&(E.current=!0,Y(ht)),z==null||z(ht)},je=function(ht){ht.key==="Enter"&&(E.current=!1),ye==null||ye(ht)},ze=function(ht){Ne(!0),L==null||L(ht)},Rt=function(ht){E.current&&(E.current=!1),Ne(!1),F==null||F(ht)},Dt=function(ht){S(""),re(),j.current&&(0,G.rJ)(j.current,ht,I)},it=we&&"".concat(d,"-out-of-range"),Ft=function(){var ht=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return H.createElement("input",(0,T.Z)({autoComplete:k},ht,{onChange:Me,onFocus:ze,onBlur:Rt,onKeyDown:st,onKeyUp:je,className:p()(d,(0,W.Z)({},"".concat(d,"-disabled"),b),Ae==null?void 0:Ae.input),style:Ue==null?void 0:Ue.input,ref:j,size:R,type:ce,onCompositionStart:function(sn){le.current=!0,tt==null||tt(sn)},onCompositionEnd:Fe}))},dn=function(){var ht=Number(fe)>0;if(n||Q.show){var Pt=Q.showFormatter?Q.showFormatter({value:B,count:be,maxLength:fe}):"".concat(be).concat(ht?" / ".concat(fe):"");return H.createElement(H.Fragment,null,Q.show&&H.createElement("span",{className:p()("".concat(d,"-show-count-suffix"),(0,W.Z)({},"".concat(d,"-show-count-has-suffix"),!!n),Ae==null?void 0:Ae.count),style:(0,O.Z)({},Ue==null?void 0:Ue.count)},Pt),n)}return null};return H.createElement(s,(0,T.Z)({},Ee,{prefixCls:d,className:p()(A,it),handleReset:Dt,value:B,focused:Te,triggerFocus:re,suffix:dn(),disabled:b,classes:Se,classNames:Ae,styles:Ue}),Ft())}),h=C,_=h},30292:function(Zt,Le,u){"use strict";u.d(Le,{He:function(){return O},X3:function(){return T},nH:function(){return V},rJ:function(){return X}});function O(p){return!!(p.addonBefore||p.addonAfter)}function T(p){return!!(p.prefix||p.suffix||p.allowClear)}function W(p,H,G){var e=H.cloneNode(!0),s=Object.create(p,{target:{value:e},currentTarget:{value:e}});return e.value=G,typeof H.selectionStart=="number"&&typeof H.selectionEnd=="number"&&(e.selectionStart=H.selectionStart,e.selectionEnd=H.selectionEnd),e.setSelectionRange=function(){H.setSelectionRange.apply(H,arguments)},s}function X(p,H,G,e){if(G){var s=H;if(H.type==="click"){s=W(H,p,""),G(s);return}if(p.type!=="file"&&e!==void 0){s=W(H,p,e),G(s);return}G(s)}}function V(p,H){if(p){p.focus(H);var G=H||{},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(Zt,Le,u){"use strict";u.d(Le,{iz:function(){return ee},ck:function(){return jt},BW:function(){return Ye},sN:function(){return jt},Wd:function(){return Wn},ZP:function(){return Ve},Xl:function(){return Y}});var O=u(14809),T=u(4635),W=u(20439),X=u(95190),V=u(50298),p=u(62646),H=u(92310),G=u.n(H),e=u(11780),s=u(18929),c=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function m($,ie){return $===void 0?null:"".concat($,"-").concat(ie)}function x($){var ie=r.useContext(o);return m(ie,$)}var C=u(80547),h=["children","locked"],_=r.createContext(null);function f($,ie){var ue=(0,W.Z)({},$);return Object.keys(ie).forEach(function(_e){var ke=ie[_e];ke!==void 0&&(ue[_e]=ke)}),ue}function l($){var ie=$.children,ue=$.locked,_e=(0,p.Z)($,h),ke=r.useContext(_),Be=(0,C.Z)(function(){return f(ke,_e)},[ke,_e],function(Pe,$e){return!ue&&(Pe[0]!==$e[0]||!(0,c.Z)(Pe[1],$e[1],!0))});return r.createElement(_.Provider,{value:Be},ie)}var k=[],I=r.createContext(null);function L(){return r.useContext(I)}var F=r.createContext(k);function Y($){var ie=r.useContext(F);return r.useMemo(function(){return $!==void 0?[].concat((0,X.Z)(ie),[$]):ie},[ie,$])}var z=r.createContext(null),ye=r.createContext({}),y=ye,d=u(29194);function b($){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,d.Z)($)){var ue=$.nodeName.toLowerCase(),_e=["input","select","textarea","button"].includes(ue)||$.isContentEditable||ue==="a"&&!!$.getAttribute("href"),ke=$.getAttribute("tabindex"),Be=Number(ke),Pe=null;return ke&&!Number.isNaN(Be)?Pe=Be:_e&&Pe===null&&(Pe=0),_e&&$.disabled&&(Pe=null),Pe!==null&&(Pe>=0||ie&&Pe<0)}return!1}function R($){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ue=(0,X.Z)($.querySelectorAll("*")).filter(function(_e){return b(_e,ie)});return b($,ie)&&ue.unshift($),ue}var A=null;function w(){A=document.activeElement}function n(){A=null}function i(){if(A)try{A.focus()}catch($){}}function g($,ie){if(ie.keyCode===9){var ue=R($),_e=ue[ie.shiftKey?0:ue.length-1],ke=_e===document.activeElement||$===document.activeElement;if(ke){var Be=ue[ie.shiftKey?ue.length-1:0];Be.focus(),ie.preventDefault()}}}var K=u(10228),ce=u(16089),Se=K.Z.LEFT,Ae=K.Z.RIGHT,Ue=K.Z.UP,tt=K.Z.DOWN,Tt=K.Z.ENTER,Ee=K.Z.ESC,Je=K.Z.HOME,kt=K.Z.END,Te=[Ue,tt,Se,Ae];function Ne($,ie,ue,_e){var ke,Be="prev",Pe="next",$e="children",Qe="parent";if($==="inline"&&_e===Tt)return{inlineTrigger:!0};var ot=(0,T.Z)((0,T.Z)({},Ue,Be),tt,Pe),It=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},Se,ue?Pe:Be),Ae,ue?Be:Pe),tt,$e),Tt,$e),ut=(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},Ue,Be),tt,Pe),Tt,$e),Ee,Qe),Se,ue?$e:Qe),Ae,ue?Qe:$e),yt={inline:ot,horizontal:It,vertical:ut,inlineSub:ot,horizontalSub:ut,verticalSub:ut},At=(ke=yt["".concat($).concat(ie?"":"Sub")])===null||ke===void 0?void 0:ke[_e];switch(At){case Be:return{offset:-1,sibling:!0};case Pe:return{offset:1,sibling:!0};case Qe:return{offset:-1,sibling:!1};case $e:return{offset:1,sibling:!1};default:return null}}function le($){for(var ie=$;ie;){if(ie.getAttribute("data-menu-list"))return ie;ie=ie.parentElement}return null}function E($,ie){for(var ue=$||document.activeElement;ue;){if(ie.has(ue))return ue;ue=ue.parentElement}return null}function j($,ie){var ue=R($,!0);return ue.filter(function(_e){return ie.has(_e)})}function D($,ie,ue){var _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!$)return null;var ke=j($,ie),Be=ke.length,Pe=ke.findIndex(function($e){return ue===$e});return _e<0?Pe===-1?Pe=Be-1:Pe-=1:_e>0&&(Pe+=1),Pe=(Pe+Be)%Be,ke[Pe]}var re=function(ie,ue){var _e=new Set,ke=new Map,Be=new Map;return ie.forEach(function(Pe){var $e=document.querySelector("[data-menu-id='".concat(m(ue,Pe),"']"));$e&&(_e.add($e),Be.set($e,Pe),ke.set(Pe,$e))}),{elements:_e,key2element:ke,element2key:Be}};function de($,ie,ue,_e,ke,Be,Pe,$e,Qe,ot){var It=r.useRef(),ut=r.useRef();ut.current=ie;var yt=function(){ce.Z.cancel(It.current)};return r.useEffect(function(){return function(){yt()}},[]),function(At){var Ht=At.which;if([].concat(Te,[Tt,Ee,Je,kt]).includes(Ht)){var zt=Be(),gt=re(zt,_e),wt=gt,et=wt.elements,lt=wt.key2element,dt=wt.element2key,$t=lt.get(ie),Nt=E($t,et),Ut=dt.get(Nt),Nn=Ne($,Pe(Ut,!0).length===1,ue,Ht);if(!Nn&&Ht!==Je&&Ht!==kt)return;(Te.includes(Ht)||[Je,kt].includes(Ht))&&At.preventDefault();var M=function(Ce){if(Ce){var te=Ce,oe=Ce.querySelector("a");oe!=null&&oe.getAttribute("href")&&(te=oe);var pe=dt.get(Ce);$e(pe),yt(),It.current=(0,ce.Z)(function(){ut.current===pe&&te.focus()})}};if([Je,kt].includes(Ht)||Nn.sibling||!Nt){var se;!Nt||$==="inline"?se=ke.current:se=le(Nt);var q,ae=j(se,et);Ht===Je?q=ae[0]:Ht===kt?q=ae[ae.length-1]:q=D(se,et,Nt,Nn.offset),M(q)}else if(Nn.inlineTrigger)Qe(Ut);else if(Nn.offset>0)Qe(Ut,!0),yt(),It.current=(0,ce.Z)(function(){gt=re(zt,_e);var Oe=Nt.getAttribute("aria-controls"),Ce=document.getElementById(Oe),te=D(Ce,gt.elements);M(te)},5);else if(Nn.offset<0){var ve=Pe(Ut,!0),xe=ve[ve.length-2],Ie=lt.get(xe);Qe(xe,!1),M(Ie)}}ot==null||ot(At)}}function P($){Promise.resolve().then($)}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 $=r.useState({}),ie=(0,V.Z)($,2),ue=ie[1],_e=(0,r.useRef)(new Map),ke=(0,r.useRef)(new Map),Be=r.useState([]),Pe=(0,V.Z)(Be,2),$e=Pe[0],Qe=Pe[1],ot=(0,r.useRef)(0),It=(0,r.useRef)(!1),ut=function(){It.current||ue({})},yt=(0,r.useCallback)(function(lt,dt){var $t=S(dt);ke.current.set($t,lt),_e.current.set(lt,$t),ot.current+=1;var Nt=ot.current;P(function(){Nt===ot.current&&ut()})},[]),At=(0,r.useCallback)(function(lt,dt){var $t=S(dt);ke.current.delete($t),_e.current.delete(lt)},[]),Ht=(0,r.useCallback)(function(lt){Qe(lt)},[]),zt=(0,r.useCallback)(function(lt,dt){var $t=_e.current.get(lt)||"",Nt=B($t);return dt&&$e.includes(Nt[0])&&Nt.unshift(N),Nt},[$e]),gt=(0,r.useCallback)(function(lt,dt){return lt.filter(function($t){return $t!==void 0}).some(function($t){var Nt=zt($t,!0);return Nt.includes(dt)})},[zt]),wt=function(){var dt=(0,X.Z)(_e.current.keys());return $e.length&&dt.push(N),dt},et=(0,r.useCallback)(function(lt){var dt="".concat(_e.current.get(lt)).concat(v),$t=new Set;return(0,X.Z)(ke.current.keys()).forEach(function(Nt){Nt.startsWith(dt)&&$t.add(ke.current.get(Nt))}),$t},[]);return r.useEffect(function(){return function(){It.current=!0}},[]),{registerPath:yt,unregisterPath:At,refreshOverflowKeys:Ht,isSubPathKey:gt,getKeyPath:zt,getKeys:wt,getSubPathKeys:et}}function Z($){var ie=r.useRef($);ie.current=$;var ue=r.useCallback(function(){for(var _e,ke=arguments.length,Be=new Array(ke),Pe=0;Pe<ke;Pe++)Be[Pe]=arguments[Pe];return(_e=ie.current)===null||_e===void 0?void 0:_e.call.apply(_e,[ie].concat(Be))},[]);return $?ue:void 0}var ne=Math.random().toFixed(5).toString().slice(2),Q=0;function fe($){var ie=(0,s.Z)($,{value:$}),ue=(0,V.Z)(ie,2),_e=ue[0],ke=ue[1];return r.useEffect(function(){Q+=1;var Be="".concat(ne,"-").concat(Q);ke("rc-menu-uuid-".concat(Be))},[]),_e}var be=u(99153),we=u(84851),Ke=u(19257),Me=u(93046),Fe=u(2738),st=u(8654);function je($,ie,ue,_e){var ke=r.useContext(_),Be=ke.activeKey,Pe=ke.onActive,$e=ke.onInactive,Qe={active:Be===$};return ie||(Qe.onMouseEnter=function(ot){ue==null||ue({key:$,domEvent:ot}),Pe($)},Qe.onMouseLeave=function(ot){_e==null||_e({key:$,domEvent:ot}),$e($)}),Qe}function ze($){var ie=r.useContext(_),ue=ie.mode,_e=ie.rtl,ke=ie.inlineIndent;if(ue!=="inline")return null;var Be=$;return _e?{paddingRight:Be*ke}:{paddingLeft:Be*ke}}function Rt($){var ie=$.icon,ue=$.props,_e=$.children,ke;return ie===null||ie===!1?null:(typeof ie=="function"?ke=r.createElement(ie,(0,W.Z)({},ue)):typeof ie!="boolean"&&(ke=ie),ke||_e||null)}var Dt=["item"];function it($){var ie=$.item,ue=(0,p.Z)($,Dt);return Object.defineProperty(ue,"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}}),ue}var Ft=["title","attribute","elementRef"],dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Et=["active"],ht=function($){(0,Ke.Z)(ue,$);var ie=(0,Me.Z)(ue);function ue(){return(0,be.Z)(this,ue),ie.apply(this,arguments)}return(0,we.Z)(ue,[{key:"render",value:function(){var ke=this.props,Be=ke.title,Pe=ke.attribute,$e=ke.elementRef,Qe=(0,p.Z)(ke,Ft),ot=(0,Fe.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 Be=="string"?Be:void 0},ot,{ref:$e}))}}]),ue}(r.Component),Pt=r.forwardRef(function($,ie){var ue=$.style,_e=$.className,ke=$.eventKey,Be=$.warnKey,Pe=$.disabled,$e=$.itemIcon,Qe=$.children,ot=$.role,It=$.onMouseEnter,ut=$.onMouseLeave,yt=$.onClick,At=$.onKeyDown,Ht=$.onFocus,zt=(0,p.Z)($,dn),gt=x(ke),wt=r.useContext(_),et=wt.prefixCls,lt=wt.onItemClick,dt=wt.disabled,$t=wt.overflowDisabled,Nt=wt.itemIcon,Ut=wt.selectedKeys,Nn=wt.onActive,M=r.useContext(y),se=M._internalRenderMenuItem,q="".concat(et,"-item"),ae=r.useRef(),ve=r.useRef(),xe=dt||Pe,Ie=(0,st.x1)(ie,ve),Oe=Y(ke),Ce=function(pt){return{key:ke,keyPath:(0,X.Z)(Oe).reverse(),item:ae.current,domEvent:pt}},te=$e||Nt,oe=je(ke,xe,It,ut),pe=oe.active,ge=(0,p.Z)(oe,Et),Re=Ut.includes(ke),He=ze(Oe.length),ft=function(pt){if(!xe){var cn=Ce(pt);yt==null||yt(it(cn)),lt(cn)}},rt=function(pt){if(At==null||At(pt),pt.which===K.Z.ENTER){var cn=Ce(pt);yt==null||yt(it(cn)),lt(cn)}},Ct=function(pt){Nn(ke),Ht==null||Ht(pt)},Lt={};$.role==="option"&&(Lt["aria-selected"]=Re);var St=r.createElement(ht,(0,O.Z)({ref:ae,elementRef:Ie,role:ot===null?"none":ot||"menuitem",tabIndex:Pe?null:-1,"data-menu-id":$t&>?null:gt},(0,Fe.Z)(zt,["extra"]),ge,Lt,{component:"li","aria-disabled":Pe,style:(0,W.Z)((0,W.Z)({},He),ue),className:G()(q,(0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(q,"-active"),pe),"".concat(q,"-selected"),Re),"".concat(q,"-disabled"),xe),_e),onClick:ft,onKeyDown:rt,onFocus:Ct}),Qe,r.createElement(Rt,{props:(0,W.Z)((0,W.Z)({},$),{},{isSelected:Re}),icon:te}));return se&&(St=se(St,$,{selected:Re})),St});function sn($,ie){var ue=$.eventKey,_e=L(),ke=Y(ue);return r.useEffect(function(){if(_e)return _e.registerPath(ue,ke),function(){_e.unregisterPath(ue,ke)}},[ke]),_e?null:r.createElement(Pt,(0,O.Z)({},$,{ref:ie}))}var jt=r.forwardRef(sn),Bt=["className","children"],Qt=function(ie,ue){var _e=ie.className,ke=ie.children,Be=(0,p.Z)(ie,Bt),Pe=r.useContext(_),$e=Pe.prefixCls,Qe=Pe.mode,ot=Pe.rtl;return r.createElement("ul",(0,O.Z)({className:G()($e,ot&&"".concat($e,"-rtl"),"".concat($e,"-sub"),"".concat($e,"-").concat(Qe==="inline"?"inline":"vertical"),_e),role:"menu"},Be,{"data-menu-list":!0,ref:ue}),ke)},hn=r.forwardRef(Qt);hn.displayName="SubMenuList";var qe=hn,ct=u(11592);function vt($,ie){return(0,ct.Z)($).map(function(ue,_e){if(r.isValidElement(ue)){var ke,Be,Pe=ue.key,$e=(ke=(Be=ue.props)===null||Be===void 0?void 0:Be.eventKey)!==null&&ke!==void 0?ke:Pe,Qe=$e==null;Qe&&($e="tmp_key-".concat([].concat((0,X.Z)(ie),[_e]).join("-")));var ot={key:$e,eventKey:$e};return r.cloneElement(ue,ot)}return ue})}var Tn=u(65966),_n={adjustX:1,adjustY:1},Kn={topLeft:{points:["bl","tl"],overflow:_n},topRight:{points:["br","tr"],overflow:_n},bottomLeft:{points:["tl","bl"],overflow:_n},bottomRight:{points:["tr","br"],overflow:_n},leftTop:{points:["tr","tl"],overflow:_n},leftBottom:{points:["br","bl"],overflow:_n},rightTop:{points:["tl","tr"],overflow:_n},rightBottom:{points:["bl","br"],overflow:_n}},Bn={topLeft:{points:["bl","tl"],overflow:_n},topRight:{points:["br","tr"],overflow:_n},bottomLeft:{points:["tl","bl"],overflow:_n},bottomRight:{points:["tr","br"],overflow:_n},rightTop:{points:["tr","tl"],overflow:_n},rightBottom:{points:["br","bl"],overflow:_n},leftTop:{points:["tl","tr"],overflow:_n},leftBottom:{points:["bl","br"],overflow:_n}},yn=null;function Wt($,ie,ue){if(ie)return ie;if(ue)return ue[$]||ue.other}var Dn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function En($){var ie=$.prefixCls,ue=$.visible,_e=$.children,ke=$.popup,Be=$.popupStyle,Pe=$.popupClassName,$e=$.popupOffset,Qe=$.disabled,ot=$.mode,It=$.onVisibleChange,ut=r.useContext(_),yt=ut.getPopupContainer,At=ut.rtl,Ht=ut.subMenuOpenDelay,zt=ut.subMenuCloseDelay,gt=ut.builtinPlacements,wt=ut.triggerSubMenuAction,et=ut.forceSubMenuRender,lt=ut.rootClassName,dt=ut.motion,$t=ut.defaultMotions,Nt=r.useState(!1),Ut=(0,V.Z)(Nt,2),Nn=Ut[0],M=Ut[1],se=At?(0,W.Z)((0,W.Z)({},Bn),gt):(0,W.Z)((0,W.Z)({},Kn),gt),q=Dn[ot],ae=Wt(ot,dt,$t),ve=r.useRef(ae);ot!=="inline"&&(ve.current=ae);var xe=(0,W.Z)((0,W.Z)({},ve.current),{},{leavedClassName:"".concat(ie,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Ie=r.useRef();return r.useEffect(function(){return Ie.current=(0,ce.Z)(function(){M(ue)}),function(){ce.Z.cancel(Ie.current)}},[ue]),r.createElement(Tn.Z,{prefixCls:ie,popupClassName:G()("".concat(ie,"-popup"),(0,T.Z)({},"".concat(ie,"-rtl"),At),Pe,lt),stretch:ot==="horizontal"?"minWidth":null,getPopupContainer:yt,builtinPlacements:se,popupPlacement:q,popupVisible:Nn,popup:ke,popupStyle:Be,popupAlign:$e&&{offset:$e},action:Qe?[]:[wt],mouseEnterDelay:Ht,mouseLeaveDelay:zt,onPopupVisibleChange:It,forceRender:et,popupMotion:xe,fresh:!0},_e)}var In=u(77900);function Cn($){var ie=$.id,ue=$.open,_e=$.keyPath,ke=$.children,Be="inline",Pe=r.useContext(_),$e=Pe.prefixCls,Qe=Pe.forceSubMenuRender,ot=Pe.motion,It=Pe.defaultMotions,ut=Pe.mode,yt=r.useRef(!1);yt.current=ut===Be;var At=r.useState(!yt.current),Ht=(0,V.Z)(At,2),zt=Ht[0],gt=Ht[1],wt=yt.current?ue:!1;r.useEffect(function(){yt.current&>(!1)},[ut]);var et=(0,W.Z)({},Wt(Be,ot,It));_e.length>1&&(et.motionAppear=!1);var lt=et.onVisibleChanged;return et.onVisibleChanged=function(dt){return!yt.current&&!dt&>(!0),lt==null?void 0:lt(dt)},zt?null:r.createElement(l,{mode:Be,locked:!yt.current},r.createElement(In.default,(0,O.Z)({visible:wt},et,{forceRender:Qe,removeOnLeave:!1,leavedClassName:"".concat($e,"-hidden")}),function(dt){var $t=dt.className,Nt=dt.style;return r.createElement(qe,{id:ie,className:$t,style:Nt},ke)}))}var Sn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],An=["active"],Zn=r.forwardRef(function($,ie){var ue=$.style,_e=$.className,ke=$.title,Be=$.eventKey,Pe=$.warnKey,$e=$.disabled,Qe=$.internalPopupClose,ot=$.children,It=$.itemIcon,ut=$.expandIcon,yt=$.popupClassName,At=$.popupOffset,Ht=$.popupStyle,zt=$.onClick,gt=$.onMouseEnter,wt=$.onMouseLeave,et=$.onTitleClick,lt=$.onTitleMouseEnter,dt=$.onTitleMouseLeave,$t=(0,p.Z)($,Sn),Nt=x(Be),Ut=r.useContext(_),Nn=Ut.prefixCls,M=Ut.mode,se=Ut.openKeys,q=Ut.disabled,ae=Ut.overflowDisabled,ve=Ut.activeKey,xe=Ut.selectedKeys,Ie=Ut.itemIcon,Oe=Ut.expandIcon,Ce=Ut.onItemClick,te=Ut.onOpenChange,oe=Ut.onActive,pe=r.useContext(y),ge=pe._internalRenderSubMenuItem,Re=r.useContext(z),He=Re.isSubPathKey,ft=Y(),rt="".concat(Nn,"-submenu"),Ct=q||$e,Lt=r.useRef(),St=r.useRef(),Yt=It!=null?It:Ie,pt=ut!=null?ut:Oe,cn=se.includes(Be),nn=!ae&&cn,fn=He(xe,Be),Gt=je(Be,Ct,lt,dt),en=Gt.active,pn=(0,p.Z)(Gt,An),rn=r.useState(!1),ln=(0,V.Z)(rn,2),Mt=ln[0],_t=ln[1],Ot=function(bn){Ct||_t(bn)},Xt=function(bn){Ot(!0),gt==null||gt({key:Be,domEvent:bn})},un=function(bn){Ot(!1),wt==null||wt({key:Be,domEvent:bn})},an=r.useMemo(function(){return en||(M!=="inline"?Mt||He([ve],Be):!1)},[M,en,ve,Mt,Be,He]),on=ze(ft.length),jn=function(bn){Ct||(et==null||et({key:Be,domEvent:bn}),M==="inline"&&te(Be,!cn))},Xn=Z(function(mn){zt==null||zt(it(mn)),Ce(mn)}),$n=function(bn){M!=="inline"&&te(Be,bn)},sr=function(){oe(Be)},ir=Nt&&"".concat(Nt,"-popup"),qn=r.useMemo(function(){return r.createElement(Rt,{icon:M!=="horizontal"?pt:void 0,props:(0,W.Z)((0,W.Z)({},$),{},{isOpen:nn,isSubMenu:!0})},r.createElement("i",{className:"".concat(rt,"-arrow")}))},[M,pt,$,nn,rt]),vn=r.createElement("div",(0,O.Z)({role:"menuitem",style:on,className:"".concat(rt,"-title"),tabIndex:Ct?null:-1,ref:Lt,title:typeof ke=="string"?ke:null,"data-menu-id":ae&&Nt?null:Nt,"aria-expanded":nn,"aria-haspopup":!0,"aria-controls":ir,"aria-disabled":Ct,onClick:jn,onFocus:sr},pn),ke,qn),On=r.useRef(M);if(M!=="inline"&&ft.length>1?On.current="vertical":On.current=M,!ae){var Gn=On.current;vn=r.createElement(En,{mode:Gn,prefixCls:rt,visible:!Qe&&nn&&M!=="inline",popupClassName:yt,popupOffset:At,popupStyle:Ht,popup:r.createElement(l,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(qe,{id:ir,ref:St},ot)),disabled:Ct,onVisibleChange:$n},vn)}var gn=r.createElement(e.Z.Item,(0,O.Z)({ref:ie,role:"none"},$t,{component:"li",style:ue,className:G()(rt,"".concat(rt,"-").concat(M),_e,(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(rt,"-open"),nn),"".concat(rt,"-active"),an),"".concat(rt,"-selected"),fn),"".concat(rt,"-disabled"),Ct)),onMouseEnter:Xt,onMouseLeave:un}),vn,!ae&&r.createElement(Cn,{id:ir,open:nn,keyPath:ft},ot));return ge&&(gn=ge(gn,$,{selected:fn,active:an,open:nn,disabled:Ct})),r.createElement(l,{onItemClick:Xn,mode:M==="horizontal"?"vertical":M,itemIcon:Yt,expandIcon:pt},gn)}),zn=r.forwardRef(function($,ie){var ue=$.eventKey,_e=$.children,ke=Y(ue),Be=vt(_e,ke),Pe=L();r.useEffect(function(){if(Pe)return Pe.registerPath(ue,ke),function(){Pe.unregisterPath(ue,ke)}},[ke]);var $e;return Pe?$e=Be:$e=r.createElement(Zn,(0,O.Z)({ref:ie},$),Be),r.createElement(F.Provider,{value:ke},$e)}),Wn=zn,Un=u(93664);function ee($){var ie=$.className,ue=$.style,_e=r.useContext(_),ke=_e.prefixCls,Be=L();return Be?null:r.createElement("li",{role:"separator",className:G()("".concat(ke,"-item-divider"),ie),style:ue})}var J=["className","title","eventKey","children"],We=r.forwardRef(function($,ie){var ue=$.className,_e=$.title,ke=$.eventKey,Be=$.children,Pe=(0,p.Z)($,J),$e=r.useContext(_),Qe=$e.prefixCls,ot="".concat(Qe,"-item-group");return r.createElement("li",(0,O.Z)({ref:ie,role:"presentation"},Pe,{onClick:function(ut){return ut.stopPropagation()},className:G()(ot,ue)}),r.createElement("div",{role:"presentation",className:"".concat(ot,"-title"),title:typeof _e=="string"?_e:void 0},_e),r.createElement("ul",{role:"group",className:"".concat(ot,"-list")},Be))}),De=r.forwardRef(function($,ie){var ue=$.eventKey,_e=$.children,ke=Y(ue),Be=vt(_e,ke),Pe=L();return Pe?Be:r.createElement(We,(0,O.Z)({ref:ie},(0,Fe.Z)($,["warnKey"])),Be)}),Ye=De,Xe=["label","children","key","type","extra"];function me($,ie,ue){var _e=ie.item,ke=ie.group,Be=ie.submenu,Pe=ie.divider;return($||[]).map(function($e,Qe){if($e&&(0,Un.Z)($e)==="object"){var ot=$e,It=ot.label,ut=ot.children,yt=ot.key,At=ot.type,Ht=ot.extra,zt=(0,p.Z)(ot,Xe),gt=yt!=null?yt:"tmp-".concat(Qe);return ut||At==="group"?At==="group"?r.createElement(ke,(0,O.Z)({key:gt},zt,{title:It}),me(ut,ie,ue)):r.createElement(Be,(0,O.Z)({key:gt},zt,{title:It}),me(ut,ie,ue)):At==="divider"?r.createElement(Pe,(0,O.Z)({key:gt},zt)):r.createElement(_e,(0,O.Z)({key:gt},zt,{extra:Ht}),It,(!!Ht||Ht===0)&&r.createElement("span",{className:"".concat(ue,"-item-extra")},Ht))}return null}).filter(function($e){return $e})}function he($,ie,ue,_e,ke){var Be=$,Pe=(0,W.Z)({divider:ee,item:jt,group:Ye,submenu:Wn},_e);return ie&&(Be=me(ie,Pe,ke)),vt(Be,ue)}var Ze=["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"],Ge=[],at=r.forwardRef(function($,ie){var ue,_e=$,ke=_e.prefixCls,Be=ke===void 0?"rc-menu":ke,Pe=_e.rootClassName,$e=_e.style,Qe=_e.className,ot=_e.tabIndex,It=ot===void 0?0:ot,ut=_e.items,yt=_e.children,At=_e.direction,Ht=_e.id,zt=_e.mode,gt=zt===void 0?"vertical":zt,wt=_e.inlineCollapsed,et=_e.disabled,lt=_e.disabledOverflow,dt=_e.subMenuOpenDelay,$t=dt===void 0?.1:dt,Nt=_e.subMenuCloseDelay,Ut=Nt===void 0?.1:Nt,Nn=_e.forceSubMenuRender,M=_e.defaultOpenKeys,se=_e.openKeys,q=_e.activeKey,ae=_e.defaultActiveFirst,ve=_e.selectable,xe=ve===void 0?!0:ve,Ie=_e.multiple,Oe=Ie===void 0?!1:Ie,Ce=_e.defaultSelectedKeys,te=_e.selectedKeys,oe=_e.onSelect,pe=_e.onDeselect,ge=_e.inlineIndent,Re=ge===void 0?24:ge,He=_e.motion,ft=_e.defaultMotions,rt=_e.triggerSubMenuAction,Ct=rt===void 0?"hover":rt,Lt=_e.builtinPlacements,St=_e.itemIcon,Yt=_e.expandIcon,pt=_e.overflowedIndicator,cn=pt===void 0?"...":pt,nn=_e.overflowedIndicatorPopupClassName,fn=_e.getPopupContainer,Gt=_e.onClick,en=_e.onOpenChange,pn=_e.onKeyDown,rn=_e.openAnimation,ln=_e.openTransitionName,Mt=_e._internalRenderMenuItem,_t=_e._internalRenderSubMenuItem,Ot=_e._internalComponents,Xt=(0,p.Z)(_e,Ze),un=r.useMemo(function(){return[he(yt,ut,Ge,Ot,Be),he(yt,ut,Ge,{},Be)]},[yt,ut,Ot]),an=(0,V.Z)(un,2),on=an[0],jn=an[1],Xn=r.useState(!1),$n=(0,V.Z)(Xn,2),sr=$n[0],ir=$n[1],qn=r.useRef(),vn=fe(Ht),On=At==="rtl",Gn=(0,s.Z)(M,{value:se,postState:function(Vn){return Vn||Ge}}),gn=(0,V.Z)(Gn,2),mn=gn[0],bn=gn[1],bt=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){bn(Vn),en==null||en(Vn)}Yn?(0,a.flushSync)(_r):_r()},Jt=r.useState(mn),qt=(0,V.Z)(Jt,2),tn=qt[0],Rn=qt[1],Mn=r.useRef(!1),xt=r.useMemo(function(){return(gt==="inline"||gt==="vertical")&&wt?["vertical",wt]:[gt,!1]},[gt,wt]),Kt=(0,V.Z)(xt,2),wn=Kt[0],Vt=Kt[1],Pn=wn==="inline",or=r.useState(wn),Hn=(0,V.Z)(or,2),fr=Hn[0],ur=Hn[1],vr=r.useState(Vt),Jn=(0,V.Z)(vr,2),Fr=Jn[0],Br=Jn[1];r.useEffect(function(){ur(wn),Br(Vt),Mn.current&&(Pn?bn(tn):bt(Ge))},[wn,Vt]);var Sr=r.useState(0),Tr=(0,V.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ir=Nr>=on.length-1||fr!=="horizontal"||lt;r.useEffect(function(){Pn&&Rn(mn)},[mn]),r.useEffect(function(){return Mn.current=!0,function(){Mn.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?Ge:on.slice(Nr+1).map(function(tr){return tr.key}))},[Nr,Ir]);var Dr=(0,s.Z)(q||ae&&((ue=on[0])===null||ue===void 0?void 0:ue.key),{value:q}),dr=(0,V.Z)(Dr,2),lr=dr[0],kn=dr[1],xn=Z(function(tr){kn(tr)}),nr=Z(function(){kn(void 0)});(0,r.useImperativeHandle)(ie,function(){return{list:qn.current,focus:function(Vn){var Yn,_r=Mr(),cr=re(_r,vn),Cr=cr.elements,Xr=cr.key2element,ei=cr.element2key,ti=j(qn.current,Cr),Jr=lr!=null?lr:ti[0]?ei.get(ti[0]):(Yn=on.find(function(Vr){return!Vr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Zr=Xr.get(Jr);if(Jr&&Zr){var Ur;Zr==null||(Ur=Zr.focus)===null||Ur===void 0||Ur.call(Zr,Vn)}}}});var Qn=(0,s.Z)(Ce||[],{value:te,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?Ge:[Vn]}}),er=(0,V.Z)(Qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(xe){var Yn=Vn.key,_r=rr.includes(Yn),cr;Oe?_r?cr=rr.filter(function(Xr){return Xr!==Yn}):cr=[].concat((0,X.Z)(rr),[Yn]):cr=[Yn],yr(cr);var Cr=(0,W.Z)((0,W.Z)({},Vn),{},{selectedKeys:cr});_r?pe==null||pe(Cr):oe==null||oe(Cr)}!Oe&&mn.length&&fr!=="inline"&&bt(Ge)},xr=Z(function(tr){Gt==null||Gt(it(tr)),gr(tr)}),ar=Z(function(tr,Vn){var Yn=mn.filter(function(cr){return cr!==tr});if(Vn)Yn.push(tr);else if(fr!=="inline"){var _r=Gr(tr);Yn=Yn.filter(function(cr){return!_r.has(cr)})}(0,c.Z)(mn,Yn,!0)||bt(Yn,!0)}),mr=function(Vn,Yn){var _r=Yn!=null?Yn:!mn.includes(Vn);ar(Vn,_r)},Rr=de(fr,lr,On,vn,qn,Mr,$r,kn,mr,pn);r.useEffect(function(){ir(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:Mt,_internalRenderSubMenuItem:_t}},[Mt,_t]),Yr=fr!=="horizontal"||lt?on:on.map(function(tr,Vn){return r.createElement(l,{key:tr.key,overflowDisabled:Vn>Nr},tr)}),qr=r.createElement(e.Z,(0,O.Z)({id:Ht,ref:qn,prefixCls:"".concat(Be,"-overflow"),component:"ul",itemComponent:jt,className:G()(Be,"".concat(Be,"-root"),"".concat(Be,"-").concat(fr),Qe,(0,T.Z)((0,T.Z)({},"".concat(Be,"-inline-collapsed"),Fr),"".concat(Be,"-rtl"),On),Pe),dir:At,style:$e,role:"menu",tabIndex:It,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Yn=Vn.length,_r=Yn?on.slice(-Yn):null;return r.createElement(Wn,{eventKey:N,title:cn,disabled:Ir,internalPopupClose:Yn===0,popupClassName:nn},_r)},maxCount:fr!=="horizontal"||lt?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){Or(Vn)},onKeyDown:Rr},Xt));return r.createElement(y.Provider,{value:Er},r.createElement(o.Provider,{value:vn},r.createElement(l,{prefixCls:Be,rootClassName:Pe,mode:fr,openKeys:mn,rtl:On,disabled:et,motion:sr?He:null,defaultMotions:sr?ft:null,activeKey:lr,onActive:xn,onInactive:nr,selectedKeys:rr,inlineIndent:Re,subMenuOpenDelay:$t,subMenuCloseDelay:Ut,forceSubMenuRender:Nn,builtinPlacements:Lt,triggerSubMenuAction:Ct,getPopupContainer:fn,itemIcon:St,expandIcon:Yt,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=at,nt=mt;nt.Item=jt,nt.SubMenu=Wn,nt.ItemGroup=Ye,nt.Divider=ee;var Ve=nt},11780:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return w}});var O=u(14809),T=u(20439),W=u(50298),X=u(62646),V=u(59301),p=u(92310),H=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,ce=n.item,Se=n.renderItem,Ae=n.responsive,Ue=n.responsiveDisabled,tt=n.registerSize,Tt=n.itemKey,Ee=n.className,Je=n.style,kt=n.children,Te=n.display,Ne=n.order,le=n.component,E=le===void 0?"div":le,j=(0,X.Z)(n,s),D=Ae&&!Te;function re(B){tt(Tt,B)}V.useEffect(function(){return function(){re(null)}},[]);var de=Se&&ce!==c?Se(ce,{index:Ne}):kt,P;K||(P={opacity:D?0:1,height:D?0:c,overflowY:D?"hidden":c,order:Ae?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:H()(!K&&g,Ee),style:(0,T.Z)((0,T.Z)({},P),Je)},v,j,{ref:i}),de);return Ae&&(S=V.createElement(G.Z,{onResize:function(N){var U=N.offsetWidth;re(U)},disabled:Ue},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(ce){ce()}),n.current=null})})),n.current.push(K)};return i}function _(n,i){var g=V.useState(i),K=(0,W.Z)(g,2),ce=K[0],Se=K[1],Ae=(0,o.Z)(function(Ue){n(function(){Se(Ue)})});return[ce,Ae]}var f=V.createContext(null),l=["component"],k=["className"],I=["className"],L=function(i,g){var K=V.useContext(f);if(!K){var ce=i.component,Se=ce===void 0?"div":ce,Ae=(0,X.Z)(i,l);return V.createElement(Se,(0,O.Z)({},Ae,{ref:g}))}var Ue=K.className,tt=(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:H()(Ue,Tt)},tt,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,ce=n.data,Se=ce===void 0?[]:ce,Ae=n.renderItem,Ue=n.renderRawItem,tt=n.itemKey,Tt=n.itemWidth,Ee=Tt===void 0?10:Tt,Je=n.ssr,kt=n.style,Te=n.className,Ne=n.maxCount,le=n.renderRest,E=n.renderRawRest,j=n.suffix,D=n.component,re=D===void 0?"div":D,de=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,fe=_(B,new Map),be=(0,W.Z)(fe,2),we=be[0],Ke=be[1],Me=_(B,0),Fe=(0,W.Z)(Me,2),st=Fe[0],je=Fe[1],ze=_(B,0),Rt=(0,W.Z)(ze,2),Dt=Rt[0],it=Rt[1],Ft=_(B,0),dn=(0,W.Z)(Ft,2),Et=dn[0],ht=dn[1],Pt=(0,V.useState)(null),sn=(0,W.Z)(Pt,2),jt=sn[0],Bt=sn[1],Qt=(0,V.useState)(null),hn=(0,W.Z)(Qt,2),qe=hn[0],ct=hn[1],vt=V.useMemo(function(){return qe===null&&S?Number.MAX_SAFE_INTEGER:qe||0},[qe,Z]),Tn=(0,V.useState)(!1),_n=(0,W.Z)(Tn,2),Kn=_n[0],Bn=_n[1],yn="".concat(K,"-item"),Wt=Math.max(st,Dt),Dn=Ne===ye,En=Se.length&&Dn,In=Ne===y,Cn=En||typeof Ne=="number"&&Se.length>Ne,Sn=(0,V.useMemo)(function(){var nt=Se;return En?Z===null&&S?nt=Se:nt=Se.slice(0,Math.min(Se.length,Q/Ee)):typeof Ne=="number"&&(nt=Se.slice(0,Ne)),nt},[Se,Ee,Z,Ne,En]),An=(0,V.useMemo)(function(){return En?Se.slice(vt+1):Se.slice(Sn.length)},[Se,Sn,En,vt]),Zn=(0,V.useCallback)(function(nt,Ve){var $;return typeof tt=="function"?tt(nt):($=tt&&(nt==null?void 0:nt[tt]))!==null&&$!==void 0?$:Ve},[tt]),zn=(0,V.useCallback)(Ae||function(nt){return nt},[Ae]);function Wn(nt,Ve,$){qe===nt&&(Ve===void 0||Ve===jt)||(ct(nt),$||(Bn(nt<Se.length-1),P==null||P(nt)),Ve!==void 0&&Bt(Ve))}function Un(nt,Ve){ne(Ve.clientWidth)}function ee(nt,Ve){Ke(function($){var ie=new Map($);return Ve===null?ie.delete(nt):ie.set(nt,Ve),ie})}function J(nt,Ve){it(Ve),je(Dt)}function We(nt,Ve){ht(Ve)}function De(nt){return we.get(Zn(Sn[nt],nt))}(0,e.Z)(function(){if(Q&&typeof Wt=="number"&&Sn){var nt=Et,Ve=Sn.length,$=Ve-1;if(!Ve){Wn(0,null);return}for(var ie=0;ie<Ve;ie+=1){var ue=De(ie);if(S&&(ue=ue||0),ue===void 0){Wn(ie-1,void 0,!0);break}if(nt+=ue,$===0&&nt<=Q||ie===$-1&&nt+De($)<=Q){Wn($,null);break}else if(nt+Wt>Q){Wn(ie-1,nt-ue-Et+Dt);break}}j&&De(0)+Et>Q&&Bt(null)}},[Q,we,Dt,Et,Zn,Sn]);var Ye=Kn&&!!An.length,Xe={};jt!==null&&En&&(Xe={position:"absolute",left:jt,top:0});var me={prefixCls:yn,responsive:En,component:de,invalidate:In},he=Ue?function(nt,Ve){var $=Zn(nt,Ve);return V.createElement(f.Provider,{key:$,value:(0,T.Z)((0,T.Z)({},me),{},{order:Ve,item:nt,itemKey:$,registerSize:ee,display:Ve<=vt})},Ue(nt,Ve))}:function(nt,Ve){var $=Zn(nt,Ve);return V.createElement(a,(0,O.Z)({},me,{order:Ve,key:$,item:nt,renderItem:zn,itemKey:$,registerSize:ee,display:Ve<=vt}))},Ze={order:Ye?vt:Number.MAX_SAFE_INTEGER,className:"".concat(yn,"-rest"),registerSize:J,display:Ye},Ge=le||d,at=E?V.createElement(f.Provider,{value:(0,T.Z)((0,T.Z)({},me),Ze)},E(An)):V.createElement(a,(0,O.Z)({},me,Ze),typeof Ge=="function"?Ge(An):Ge),mt=V.createElement(re,(0,O.Z)({className:H()(!In&&K,Te),style:kt,ref:i},v),Sn.map(he),Cn?at:null,j&&V.createElement(a,(0,O.Z)({},me,{responsive:Dn,responsiveDisabled:!En,order:vt,className:"".concat(yn,"-suffix"),registerSize:We,display:!0,style:Xe}),j));return Dn?V.createElement(G.Z,{onResize:Un,disabled:!En},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(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return I}});var O=u(4635),T=u(14809),W=u(93664),X=u(20439),V=u(50298),p=u(92310),H=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(""),ce=(0,V.Z)(K,2),Se=ce[0],Ae=ce[1],Ue=function(){return!Se||Number.isNaN(Se)?void 0:Number(Se)},tt=typeof n=="function"?n:function(j){return"".concat(j," ").concat(ye.items_per_page)},Tt=function(D){Ae(D.target.value)},Ee=function(D){b||Se===""||(Ae(""),!(D.relatedTarget&&(D.relatedTarget.className.indexOf("".concat(A,"-item-link"))>=0||D.relatedTarget.className.indexOf("".concat(A,"-item"))>=0))&&(R==null||R(Ue())))},Je=function(D){Se!==""&&(D.keyCode===e.Z.ENTER||D.type==="click")&&(Ae(""),R==null||R(Ue()))},kt=function(){return z.some(function(D){return D.toString()===d.toString()})?z:z.concat([d]).sort(function(D,re){var de=Number.isNaN(Number(D))?0:Number(D),P=Number.isNaN(Number(re))?0:Number(re);return de-P})},Te="".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(Te,"-size-changer"),options:kt().map(function(j){return{label:tt(j),value:j}})})),R&&(b&&(E=typeof b=="boolean"?t.createElement("button",{type:"button",onClick:Je,onKeyUp:Je,disabled:w,className:"".concat(Te,"-quick-jumper-button")},ye.jump_to_confirm):t.createElement("span",{onClick:Je,onKeyUp:Je},b)),le=t.createElement("div",{className:"".concat(Te,"-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:Te},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=H()(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,ce=F.onChange,Se=ce===void 0?_:ce,Ae=F.hideOnSinglePage,Ue=F.align,tt=F.showPrevNextJumpers,Tt=tt===void 0?!0:tt,Ee=F.showQuickJumper,Je=F.showLessItems,kt=F.showTitle,Te=kt===void 0?!0:kt,Ne=F.onShowSizeChange,le=Ne===void 0?_:Ne,E=F.locale,j=E===void 0?r.Z:E,D=F.style,re=F.totalBoundaryShowSizeChanger,de=re===void 0?50:re,P=F.disabled,v=F.simple,S=F.showTotal,B=F.showSizeChanger,N=B===void 0?n>de:B,U=F.sizeChangerRender,Z=F.pageSizeOptions,ne=F.itemRender,Q=ne===void 0?h:ne,fe=F.jumpPrevIcon,be=F.jumpNextIcon,we=F.prevIcon,Ke=F.nextIcon,Me=t.useRef(null),Fe=(0,G.Z)(10,{value:i,defaultValue:K}),st=(0,V.Z)(Fe,2),je=st[0],ze=st[1],Rt=(0,G.Z)(1,{value:b,defaultValue:A,postState:function(lt){return Math.max(1,Math.min(lt,l(void 0,je,n)))}}),Dt=(0,V.Z)(Rt,2),it=Dt[0],Ft=Dt[1],dn=t.useState(it),Et=(0,V.Z)(dn,2),ht=Et[0],Pt=Et[1];(0,t.useEffect)(function(){Pt(it)},[it]);var sn=Se!==_,jt="current"in F,Bt=Math.max(1,it-(Je?3:5)),Qt=Math.min(l(void 0,je,n),it+(Je?3:5));function hn(et,lt){var dt=et||t.createElement("button",{type:"button","aria-label":lt,className:"".concat(z,"-item-link")});return typeof et=="function"&&(dt=t.createElement(et,(0,X.Z)({},F))),dt}function qe(et){var lt=et.target.value,dt=l(void 0,je,n),$t;return lt===""?$t=lt:Number.isNaN(Number(lt))?$t=ht:lt>=dt?$t=dt:$t=Number(lt),$t}function ct(et){return f(et)&&et!==it&&f(n)&&n>0}var vt=n>je?Ee:!1;function Tn(et){(et.keyCode===e.Z.UP||et.keyCode===e.Z.DOWN)&&et.preventDefault()}function _n(et){var lt=qe(et);switch(lt!==ht&&Pt(lt),et.keyCode){case e.Z.ENTER:yn(lt);break;case e.Z.UP:yn(lt-1);break;case e.Z.DOWN:yn(lt+1);break;default:break}}function Kn(et){yn(qe(et))}function Bn(et){var lt=l(et,je,n),dt=it>lt&<!==0?lt:it;ze(et),Pt(dt),le==null||le(it,et),Ft(dt),Se==null||Se(dt,et)}function yn(et){if(ct(et)&&!P){var lt=l(void 0,je,n),dt=et;return et>lt?dt=lt:et<1&&(dt=1),dt!==ht&&Pt(dt),Ft(dt),Se==null||Se(dt,je),dt}return it}var Wt=it>1,Dn=it<l(void 0,je,n);function En(){Wt&&yn(it-1)}function In(){Dn&&yn(it+1)}function Cn(){yn(Bt)}function Sn(){yn(Qt)}function An(et,lt){if(et.key==="Enter"||et.charCode===e.Z.ENTER||et.keyCode===e.Z.ENTER){for(var dt=arguments.length,$t=new Array(dt>2?dt-2:0),Nt=2;Nt<dt;Nt++)$t[Nt-2]=arguments[Nt];lt.apply(void 0,$t)}}function Zn(et){An(et,En)}function zn(et){An(et,In)}function Wn(et){An(et,Cn)}function Un(et){An(et,Sn)}function ee(et){var lt=Q(et,"prev",hn(we,"prev page"));return t.isValidElement(lt)?t.cloneElement(lt,{disabled:!Wt}):lt}function J(et){var lt=Q(et,"next",hn(Ke,"next page"));return t.isValidElement(lt)?t.cloneElement(lt,{disabled:!Dn}):lt}function We(et){(et.type==="click"||et.keyCode===e.Z.ENTER)&&yn(ht)}var De=null,Ye=(0,s.Z)(F,{aria:!0,data:!0}),Xe=S&&t.createElement("li",{className:"".concat(z,"-total-text")},S(n,[n===0?0:(it-1)*je+1,it*je>n?n:it*je])),me=null,he=l(void 0,je,n);if(Ae&&n<=je)return null;var Ze=[],Ge={rootPrefixCls:z,onClick:yn,onKeyPress:An,showTitle:Te,itemRender:Q,page:-1},at=it-1>0?it-1:0,mt=it+1<he?it+1:he,nt=Ee&&Ee.goButton,Ve=(0,W.Z)(v)==="object"?v.readOnly:!v,$=nt,ie=null;v&&(nt&&(typeof nt=="boolean"?$=t.createElement("button",{type:"button",onClick:We,onKeyUp:We},j.jump_to_confirm):$=t.createElement("span",{onClick:We,onKeyUp:We},nt),$=t.createElement("li",{title:Te?"".concat(j.jump_to).concat(it,"/").concat(he):null,className:"".concat(z,"-simple-pager")},$)),ie=t.createElement("li",{title:Te?"".concat(it,"/").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:Tn,onKeyUp:_n,onChange:_n,onBlur:Kn,size:3}),t.createElement("span",{className:"".concat(z,"-slash")},"/"),he));var ue=Je?1:2;if(he<=3+ue*2){he||Ze.push(t.createElement(C,(0,T.Z)({},Ge,{key:"noPager",page:1,className:"".concat(z,"-item-disabled")})));for(var _e=1;_e<=he;_e+=1)Ze.push(t.createElement(C,(0,T.Z)({},Ge,{key:_e,page:_e,active:it===_e})))}else{var ke=Je?j.prev_3:j.prev_5,Be=Je?j.next_3:j.next_5,Pe=Q(Bt,"jump-prev",hn(fe,"prev page")),$e=Q(Qt,"jump-next",hn(be,"next page"));Tt&&(De=Pe?t.createElement("li",{title:Te?ke:null,key:"prev",onClick:Cn,tabIndex:0,onKeyDown:Wn,className:H()("".concat(z,"-jump-prev"),(0,O.Z)({},"".concat(z,"-jump-prev-custom-icon"),!!fe))},Pe):null,me=$e?t.createElement("li",{title:Te?Be:null,key:"next",onClick:Sn,tabIndex:0,onKeyDown:Un,className:H()("".concat(z,"-jump-next"),(0,O.Z)({},"".concat(z,"-jump-next-custom-icon"),!!be))},$e):null);var Qe=Math.max(1,it-ue),ot=Math.min(it+ue,he);it-1<=ue&&(ot=1+ue*2),he-it<=ue&&(Qe=he-ue*2);for(var It=Qe;It<=ot;It+=1)Ze.push(t.createElement(C,(0,T.Z)({},Ge,{key:It,page:It,active:it===It})));if(it-1>=ue*2&&it!==3&&(Ze[0]=t.cloneElement(Ze[0],{className:H()("".concat(z,"-item-after-jump-prev"),Ze[0].props.className)}),Ze.unshift(De)),he-it>=ue*2&&it!==he-2){var ut=Ze[Ze.length-1];Ze[Ze.length-1]=t.cloneElement(ut,{className:H()("".concat(z,"-item-before-jump-next"),ut.props.className)}),Ze.push(me)}Qe!==1&&Ze.unshift(t.createElement(C,(0,T.Z)({},Ge,{key:1,page:1}))),ot!==he&&Ze.push(t.createElement(C,(0,T.Z)({},Ge,{key:he,page:he})))}var yt=ee(at);if(yt){var At=!Wt||!he;yt=t.createElement("li",{title:Te?j.prev_page:null,onClick:En,tabIndex:At?null:0,onKeyDown:Zn,className:H()("".concat(z,"-prev"),(0,O.Z)({},"".concat(z,"-disabled"),At)),"aria-disabled":At},yt)}var Ht=J(mt);if(Ht){var zt,gt;v?(zt=!Dn,gt=Wt?0:null):(zt=!Dn||!he,gt=zt?null:0),Ht=t.createElement("li",{title:Te?j.next_page:null,onClick:In,tabIndex:gt,onKeyDown:zn,className:H()("".concat(z,"-next"),(0,O.Z)({},"".concat(z,"-disabled"),zt)),"aria-disabled":zt},Ht)}var wt=H()(z,d,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(z,"-start"),Ue==="start"),"".concat(z,"-center"),Ue==="center"),"".concat(z,"-end"),Ue==="end"),"".concat(z,"-simple"),v),"".concat(z,"-disabled"),P));return t.createElement("ul",(0,T.Z)({className:wt,style:D,ref:Me},Ye),Xe,yt,v?ie:Ze,Ht,t.createElement(m,{locale:j,rootPrefixCls:z,disabled:P,selectPrefixCls:y,changeSize:Bn,pageSize:je,pageSizeOptions:Z,quickGo:vt?yn:null,goButton:$,showSizeChanger:N,sizeChangerRender:U}))},I=k},29301:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return y}});var O=u(14809),T=u(59301),W=u(11592),X=u(48736),V=u(20439),p=u(93664),H=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,ce){A.current+=1;var Se=A.current;w.current.push({size:g,element:K,data:ce}),Promise.resolve().then(function(){Se===A.current&&(R==null||R(w.current),w.current=[])}),n==null||n(g,K,ce)},[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(99153),_=u(84851),f=u(19257),l=u(93046),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,ce=T.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Se=!g&&T.isValidElement(K)&&(0,G.Yr)(K),Ae=Se?(0,G.C4)(K):null,Ue=(0,G.x1)(Ae,w),tt=function(){var kt;return(0,H.ZP)(w.current)||(w.current&&(0,p.Z)(w.current)==="object"?(0,H.ZP)((kt=w.current)===null||kt===void 0?void 0:kt.nativeElement):null)||(0,H.ZP)(n.current)};T.useImperativeHandle(b,function(){return tt()});var Tt=T.useRef(d);Tt.current=d;var Ee=T.useCallback(function(Je){var kt=Tt.current,Te=kt.onResize,Ne=kt.data,le=Je.getBoundingClientRect(),E=le.width,j=le.height,D=Je.offsetWidth,re=Je.offsetHeight,de=Math.floor(E),P=Math.floor(j);if(ce.current.width!==de||ce.current.height!==P||ce.current.offsetWidth!==D||ce.current.offsetHeight!==re){var v={width:de,height:P,offsetWidth:D,offsetHeight:re};ce.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),Te&&Promise.resolve().then(function(){Te(N,Je)})}},[]);return T.useEffect(function(){var Je=tt();return Je&&!A&&x(Je,Ee),function(){return C(Je,Ee)}},[w.current,A]),T.createElement(k,{ref:n},Se?T.cloneElement(K,{ref:Ue}):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(Zt,Le,u){"use strict";u.d(Le,{ZP:function(){return H}});var O=u(50298),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 H(G){var e=T.useState(),s=(0,O.Z)(e,2),c=s[0],t=s[1];return T.useEffect(function(){t("rc_select_".concat(p()))},[]),G||c}},37463:function(Zt,Le,u){"use strict";u.d(Le,{Ac:function(){return Fe},Xo:function(){return je},Wx:function(){return Rt},ZP:function(){return Un},lk:function(){return _}});var O=u(14809),T=u(95190),W=u(4635),X=u(20439),V=u(50298),p=u(62646),H=u(93664),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 We=J.className,De=J.customizeIcon,Ye=J.customizeIconProps,Xe=J.children,me=J.onMouseDown,he=J.onClick,Ze=typeof De=="function"?De(Ye):De;return s.createElement("span",{className:We,onMouseDown:function(at){at.preventDefault(),me==null||me(at)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:he,"aria-hidden":!0},Ze!==void 0?Ze:s.createElement("span",{className:t()(We.split(/\s+/).map(function(Ge){return"".concat(Ge,"-icon")}))},Xe))},x=m,C=function(J,We,De,Ye,Xe){var me=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,he=arguments.length>6?arguments[6]:void 0,Ze=arguments.length>7?arguments[7]:void 0,Ge=s.useMemo(function(){if((0,H.Z)(Ye)==="object")return Ye.clearIcon;if(Xe)return Xe},[Ye,Xe]),at=s.useMemo(function(){return!!(!me&&Ye&&(De.length||he)&&!(Ze==="combobox"&&he===""))},[Ye,me,De.length,he,Ze]);return{allowClear:at,clearIcon:s.createElement(x,{className:"".concat(J,"-clear"),onMouseDown:We,customizeIcon:Ge},"\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),We=(0,V.Z)(J,2),De=We[0],Ye=We[1],Xe=s.useRef(null),me=function(){window.clearTimeout(Xe.current)};s.useEffect(function(){return me},[]);var he=function(Ge,at){me(),Xe.current=window.setTimeout(function(){Ye(Ge),at&&at()},ee)};return[De,he,me]}function l(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=s.useRef(null),We=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(We.current)}},[]);function De(Ye){(Ye||J.current===null)&&(J.current=Ye),window.clearTimeout(We.current),We.current=window.setTimeout(function(){J.current=null},ee)}return[function(){return J.current},De]}function k(ee,J,We,De){var Ye=s.useRef(null);Ye.current={open:J,triggerOpen:We,customizedTrigger:De},s.useEffect(function(){function Xe(me){var he;if(!((he=Ye.current)!==null&&he!==void 0&&he.customizedTrigger)){var Ze=me.target;Ze.shadowRoot&&me.composed&&(Ze=me.composedPath()[0]||Ze),Ye.current.open&&ee().filter(function(Ge){return Ge}).every(function(Ge){return!Ge.contains(Ze)&&Ge!==Ze})&&Ye.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Xe),function(){return window.removeEventListener("mousedown",Xe)}},[])}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,We){var De=(0,X.Z)((0,X.Z)({},ee),We?J:{});return Object.keys(J).forEach(function(Ye){var Xe=J[Ye];typeof Xe=="function"&&(De[Ye]=function(){for(var me,he=arguments.length,Ze=new Array(he),Ge=0;Ge<he;Ge++)Ze[Ge]=arguments[Ge];return Xe.apply(void 0,Ze),(me=ee[Ye])===null||me===void 0?void 0:me.call.apply(me,[ee].concat(Ze))})}),De}var ye=z,y=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],d=function(J,We){var De=J.prefixCls,Ye=J.id,Xe=J.inputElement,me=J.autoFocus,he=J.autoComplete,Ze=J.editable,Ge=J.activeDescendantId,at=J.value,mt=J.open,nt=J.attrs,Ve=(0,p.Z)(J,y),$=Xe||s.createElement("input",null),ie=$,ue=ie.ref,_e=ie.props;return(0,e.Kp)(!("maxLength"in $.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),$=s.cloneElement($,(0,X.Z)((0,X.Z)((0,X.Z)({type:"search"},ye(Ve,_e,!0)),{},{id:Ye,ref:(0,o.sQ)(We,ue),autoComplete:he||"off",autoFocus:me,className:t()("".concat(De,"-selection-search-input"),_e==null?void 0:_e.className),role:"combobox","aria-expanded":mt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ye,"_list"),"aria-activedescendant":mt?Ge:void 0},nt),{},{value:Ze?at:"",readOnly:!Ze,unselectable:Ze?null:"on",style:(0,X.Z)((0,X.Z)({},_e.style),{},{opacity:Ze?null:0})})),$},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,H.Z)(ee))}function ce(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 Ae(ee){var J;return(J=ee.key)!==null&&J!==void 0?J:ee.value}var Ue=function(J){J.preventDefault(),J.stopPropagation()},tt=function(J){var We=J.id,De=J.prefixCls,Ye=J.values,Xe=J.open,me=J.searchValue,he=J.autoClearSearchValue,Ze=J.inputRef,Ge=J.placeholder,at=J.disabled,mt=J.mode,nt=J.showSearch,Ve=J.autoFocus,$=J.autoComplete,ie=J.activeDescendantId,ue=J.tabIndex,_e=J.removeIcon,ke=J.maxTagCount,Be=J.maxTagTextLength,Pe=J.maxTagPlaceholder,$e=Pe===void 0?function(pe){return"+ ".concat(pe.length," ...")}:Pe,Qe=J.tagRender,ot=J.onToggleOpen,It=J.onRemove,ut=J.onInputChange,yt=J.onInputPaste,At=J.onInputKeyDown,Ht=J.onInputMouseDown,zt=J.onInputCompositionStart,gt=J.onInputCompositionEnd,wt=J.onInputBlur,et=s.useRef(null),lt=(0,s.useState)(0),dt=(0,V.Z)(lt,2),$t=dt[0],Nt=dt[1],Ut=(0,s.useState)(!1),Nn=(0,V.Z)(Ut,2),M=Nn[0],se=Nn[1],q="".concat(De,"-selection"),ae=Xe||mt==="multiple"&&he===!1||mt==="tags"?me:"",ve=mt==="tags"||mt==="multiple"&&he===!1||nt&&(Xe||M);Se(function(){Nt(et.current.scrollWidth)},[ae]);var xe=function(ge,Re,He,ft,rt){return s.createElement("span",{title:ce(ge),className:t()("".concat(q,"-item"),(0,W.Z)({},"".concat(q,"-item-disabled"),He))},s.createElement("span",{className:"".concat(q,"-item-content")},Re),ft&&s.createElement(x,{className:"".concat(q,"-item-remove"),onMouseDown:Ue,onClick:rt,customizeIcon:_e},"\xD7"))},Ie=function(ge,Re,He,ft,rt,Ct){var Lt=function(Yt){Ue(Yt),ot(!Xe)};return s.createElement("span",{onMouseDown:Lt},Qe({label:Re,value:ge,disabled:He,closable:ft,onClose:rt,isMaxTag:!!Ct}))},Oe=function(ge){var Re=ge.disabled,He=ge.label,ft=ge.value,rt=!at&&!Re,Ct=He;if(typeof Be=="number"&&(typeof He=="string"||typeof He=="number")){var Lt=String(Ct);Lt.length>Be&&(Ct="".concat(Lt.slice(0,Be),"..."))}var St=function(pt){pt&&pt.stopPropagation(),It(ge)};return typeof Qe=="function"?Ie(ft,Ct,Re,rt,St):xe(ge,Ct,Re,rt,St)},Ce=function(ge){if(!Ye.length)return null;var Re=typeof $e=="function"?$e(ge):$e;return typeof Qe=="function"?Ie(void 0,Re,!1,!1,void 0,!0):xe({title:Re},Re,!1)},te=s.createElement("div",{className:"".concat(q,"-search"),style:{width:$t},onFocus:function(){se(!0)},onBlur:function(){se(!1)}},s.createElement(R,{ref:Ze,open:Xe,prefixCls:De,id:We,inputElement:null,disabled:at,autoFocus:Ve,autoComplete:$,editable:ve,activeDescendantId:ie,value:ae,onKeyDown:At,onMouseDown:Ht,onChange:ut,onPaste:yt,onCompositionStart:zt,onCompositionEnd:gt,onBlur:wt,tabIndex:ue,attrs:(0,F.Z)(J,!0)}),s.createElement("span",{ref:et,className:"".concat(q,"-search-mirror"),"aria-hidden":!0},ae,"\xA0")),oe=s.createElement(Y.Z,{prefixCls:"".concat(q,"-overflow"),data:Ye,renderItem:Oe,renderRest:Ce,suffix:te,itemKey:Ae,maxCount:ke});return s.createElement("span",{className:"".concat(q,"-wrap")},oe,!Ye.length&&!ae&&s.createElement("span",{className:"".concat(q,"-placeholder")},Ge))},Tt=tt,Ee=function(J){var We=J.inputElement,De=J.prefixCls,Ye=J.id,Xe=J.inputRef,me=J.disabled,he=J.autoFocus,Ze=J.autoComplete,Ge=J.activeDescendantId,at=J.mode,mt=J.open,nt=J.values,Ve=J.placeholder,$=J.tabIndex,ie=J.showSearch,ue=J.searchValue,_e=J.activeValue,ke=J.maxLength,Be=J.onInputKeyDown,Pe=J.onInputMouseDown,$e=J.onInputChange,Qe=J.onInputPaste,ot=J.onInputCompositionStart,It=J.onInputCompositionEnd,ut=J.onInputBlur,yt=J.title,At=s.useState(!1),Ht=(0,V.Z)(At,2),zt=Ht[0],gt=Ht[1],wt=at==="combobox",et=wt||ie,lt=nt[0],dt=ue||"";wt&&_e&&!zt&&(dt=_e),s.useEffect(function(){wt&>(!1)},[wt,_e]);var $t=at!=="combobox"&&!mt&&!ie?!1:!!dt,Nt=yt===void 0?ce(lt):yt,Ut=s.useMemo(function(){return lt?null:s.createElement("span",{className:"".concat(De,"-selection-placeholder"),style:$t?{visibility:"hidden"}:void 0},Ve)},[lt,$t,Ve,De]);return s.createElement("span",{className:"".concat(De,"-selection-wrap")},s.createElement("span",{className:"".concat(De,"-selection-search")},s.createElement(R,{ref:Xe,prefixCls:De,id:Ye,open:mt,inputElement:We,disabled:me,autoFocus:he,autoComplete:Ze,editable:et,activeDescendantId:Ge,value:dt,onKeyDown:Be,onMouseDown:Pe,onChange:function(M){gt(!0),$e(M)},onPaste:Qe,onCompositionStart:ot,onCompositionEnd:It,onBlur:ut,tabIndex:$,attrs:(0,F.Z)(J,!0),maxLength:wt?ke:void 0})),!wt&<?s.createElement("span",{className:"".concat(De,"-selection-item"),title:Nt,style:$t?{visibility:"hidden"}:void 0},lt.label):null,Ut)},Je=Ee,kt=function(J,We){var De=(0,s.useRef)(null),Ye=(0,s.useRef)(!1),Xe=J.prefixCls,me=J.open,he=J.mode,Ze=J.showSearch,Ge=J.tokenWithEnter,at=J.disabled,mt=J.prefix,nt=J.autoClearSearchValue,Ve=J.onSearch,$=J.onSearchSubmit,ie=J.onToggleOpen,ue=J.onInputKeyDown,_e=J.onInputBlur,ke=J.domRef;s.useImperativeHandle(We,function(){return{focus:function(Nt){De.current.focus(Nt)},blur:function(){De.current.blur()}}});var Be=l(0),Pe=(0,V.Z)(Be,2),$e=Pe[0],Qe=Pe[1],ot=function(Nt){var Ut=Nt.which,Nn=De.current instanceof HTMLTextAreaElement;!Nn&&me&&(Ut===I.Z.UP||Ut===I.Z.DOWN)&&Nt.preventDefault(),ue&&ue(Nt),Ut===I.Z.ENTER&&he==="tags"&&!Ye.current&&!me&&($==null||$(Nt.target.value)),!(Nn&&!me&&~[I.Z.UP,I.Z.DOWN,I.Z.LEFT,I.Z.RIGHT].indexOf(Ut))&&L(Ut)&&ie(!0)},It=function(){Qe(!0)},ut=(0,s.useRef)(null),yt=function(Nt){Ve(Nt,!0,Ye.current)!==!1&&ie(!0)},At=function(){Ye.current=!0},Ht=function(Nt){Ye.current=!1,he!=="combobox"&&yt(Nt.target.value)},zt=function(Nt){var Ut=Nt.target.value;if(Ge&&ut.current&&/[\r\n]/.test(ut.current)){var Nn=ut.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ut=Ut.replace(Nn,ut.current)}ut.current=null,yt(Ut)},gt=function(Nt){var Ut=Nt.clipboardData,Nn=Ut==null?void 0:Ut.getData("text");ut.current=Nn||""},wt=function(Nt){var Ut=Nt.target;if(Ut!==De.current){var Nn=document.body.style.msTouchAction!==void 0;Nn?setTimeout(function(){De.current.focus()}):De.current.focus()}},et=function(Nt){var Ut=$e();Nt.target!==De.current&&!Ut&&!(he==="combobox"&&at)&&Nt.preventDefault(),(he!=="combobox"&&(!Ze||!Ut)||!me)&&(me&&nt!==!1&&Ve("",!0,!1),ie())},lt={inputRef:De,onInputKeyDown:ot,onInputMouseDown:It,onInputChange:zt,onInputPaste:gt,onInputCompositionStart:At,onInputCompositionEnd:Ht,onInputBlur:_e},dt=he==="multiple"||he==="tags"?s.createElement(Tt,(0,O.Z)({},J,lt)):s.createElement(Je,(0,O.Z)({},J,lt));return s.createElement("div",{ref:ke,className:"".concat(Xe,"-selector"),onClick:wt,onMouseDown:et},mt&&s.createElement("div",{className:"".concat(Xe,"-prefix")},mt),dt)},Te=s.forwardRef(kt),Ne=Te,le=u(65966),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 We=J===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"}}},D=function(J,We){var De=J.prefixCls,Ye=J.disabled,Xe=J.visible,me=J.children,he=J.popupElement,Ze=J.animation,Ge=J.transitionName,at=J.dropdownStyle,mt=J.dropdownClassName,nt=J.direction,Ve=nt===void 0?"ltr":nt,$=J.placement,ie=J.builtinPlacements,ue=J.dropdownMatchSelectWidth,_e=J.dropdownRender,ke=J.dropdownAlign,Be=J.getPopupContainer,Pe=J.empty,$e=J.getTriggerDOMNode,Qe=J.onPopupVisibleChange,ot=J.onPopupMouseEnter,It=(0,p.Z)(J,E),ut="".concat(De,"-dropdown"),yt=he;_e&&(yt=_e(he));var At=s.useMemo(function(){return ie||j(ue)},[ie,ue]),Ht=Ze?"".concat(ut,"-").concat(Ze):Ge,zt=typeof ue=="number",gt=s.useMemo(function(){return zt?null:ue===!1?"minWidth":"width"},[ue,zt]),wt=at;zt&&(wt=(0,X.Z)((0,X.Z)({},wt),{},{width:ue}));var et=s.useRef(null);return s.useImperativeHandle(We,function(){return{getPopupElement:function(){var dt;return(dt=et.current)===null||dt===void 0?void 0:dt.popupElement}}}),s.createElement(le.Z,(0,O.Z)({},It,{showAction:Qe?["click"]:[],hideAction:Qe?["click"]:[],popupPlacement:$||(Ve==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:At,prefixCls:ut,popupTransitionName:Ht,popup:s.createElement("div",{onMouseEnter:ot},yt),ref:et,stretch:gt,popupAlign:ke,popupVisible:Xe,getPopupContainer:Be,popupClassName:t()(mt,(0,W.Z)({},"".concat(ut,"-empty"),Pe)),popupStyle:wt,getTriggerDOMNode:$e,onPopupVisibleChange:Qe}),me)},re=s.forwardRef(D),de=re,P=u(21696);function v(ee,J){var We=ee.key,De;return"value"in ee&&(De=ee.value),We!=null?We:De!==void 0?De:"rc-index-key-".concat(J)}function S(ee){return typeof ee!="undefined"&&!Number.isNaN(ee)}function B(ee,J){var We=ee||{},De=We.label,Ye=We.value,Xe=We.options,me=We.groupLabel,he=De||(J?"children":"label");return{label:he,value:Ye||"value",options:Xe||"options",groupLabel:me||he}}function N(ee){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},We=J.fieldNames,De=J.childrenAsData,Ye=[],Xe=B(We,!1),me=Xe.label,he=Xe.value,Ze=Xe.options,Ge=Xe.groupLabel;function at(mt,nt){Array.isArray(mt)&&mt.forEach(function(Ve){if(nt||!(Ze in Ve)){var $=Ve[he];Ye.push({key:v(Ve,Ye.length),groupOption:nt,data:Ve,label:Ve[me],value:$})}else{var ie=Ve[Ge];ie===void 0&&De&&(ie=Ve.label),Ye.push({key:v(Ve,Ye.length),group:!0,data:Ve,label:ie}),at(Ve[Ze],!0)}})}return at(ee,!1),Ye}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,We,De){if(!We||!We.length)return null;var Ye=!1,Xe=function he(Ze,Ge){var at=(0,P.Z)(Ge),mt=at[0],nt=at.slice(1);if(!mt)return[Ze];var Ve=Ze.split(mt);return Ye=Ye||Ve.length>1,Ve.reduce(function($,ie){return[].concat((0,T.Z)($),(0,T.Z)(he(ie,nt)))},[]).filter(Boolean)},me=Xe(J,We);return Ye?typeof De!="undefined"?me.slice(0,De):me:null},ne=s.createContext(null),Q=ne;function fe(ee){var J=ee.visible,We=ee.values;if(!J)return null;var De=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(We.slice(0,De).map(function(Ye){var Xe=Ye.label,me=Ye.value;return["number","string"].includes((0,H.Z)(Xe))?Xe:me}).join(", ")),We.length>De?", ...":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"],Ke=function(J){return J==="tags"||J==="multiple"},Me=s.forwardRef(function(ee,J){var We,De=ee.id,Ye=ee.prefixCls,Xe=ee.className,me=ee.showSearch,he=ee.tagRender,Ze=ee.direction,Ge=ee.omitDomProps,at=ee.displayValues,mt=ee.onDisplayValuesChange,nt=ee.emptyOptions,Ve=ee.notFoundContent,$=Ve===void 0?"Not Found":Ve,ie=ee.onClear,ue=ee.mode,_e=ee.disabled,ke=ee.loading,Be=ee.getInputElement,Pe=ee.getRawInputElement,$e=ee.open,Qe=ee.defaultOpen,ot=ee.onDropdownVisibleChange,It=ee.activeValue,ut=ee.onActiveValueChange,yt=ee.activeDescendantId,At=ee.searchValue,Ht=ee.autoClearSearchValue,zt=ee.onSearch,gt=ee.onSearchSplit,wt=ee.tokenSeparators,et=ee.allowClear,lt=ee.prefix,dt=ee.suffixIcon,$t=ee.clearIcon,Nt=ee.OptionList,Ut=ee.animation,Nn=ee.transitionName,M=ee.dropdownStyle,se=ee.dropdownClassName,q=ee.dropdownMatchSelectWidth,ae=ee.dropdownRender,ve=ee.dropdownAlign,xe=ee.placement,Ie=ee.builtinPlacements,Oe=ee.getPopupContainer,Ce=ee.showAction,te=Ce===void 0?[]:Ce,oe=ee.onFocus,pe=ee.onBlur,ge=ee.onKeyUp,Re=ee.onKeyDown,He=ee.onMouseDown,ft=(0,p.Z)(ee,be),rt=Ke(ue),Ct=(me!==void 0?me:rt)||ue==="combobox",Lt=(0,X.Z)({},ft);we.forEach(function(kn){delete Lt[kn]}),Ge==null||Ge.forEach(function(kn){delete Lt[kn]});var St=s.useState(!1),Yt=(0,V.Z)(St,2),pt=Yt[0],cn=Yt[1];s.useEffect(function(){cn((0,a.Z)())},[]);var nn=s.useRef(null),fn=s.useRef(null),Gt=s.useRef(null),en=s.useRef(null),pn=s.useRef(null),rn=s.useRef(!1),ln=f(),Mt=(0,V.Z)(ln,3),_t=Mt[0],Ot=Mt[1],Xt=Mt[2];s.useImperativeHandle(J,function(){var kn,xn;return{focus:(kn=en.current)===null||kn===void 0?void 0:kn.focus,blur:(xn=en.current)===null||xn===void 0?void 0:xn.blur,scrollTo:function(Qn){var er;return(er=pn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:nn.current||fn.current}});var un=s.useMemo(function(){var kn;if(ue!=="combobox")return At;var xn=(kn=at[0])===null||kn===void 0?void 0:kn.value;return typeof xn=="string"||typeof xn=="number"?String(xn):""},[At,ue,at]),an=ue==="combobox"&&typeof Be=="function"&&Be()||null,on=typeof Pe=="function"&&Pe(),jn=(0,o.x1)(fn,on==null||(We=on.props)===null||We===void 0?void 0:We.ref),Xn=s.useState(!1),$n=(0,V.Z)(Xn,2),sr=$n[0],ir=$n[1];(0,r.Z)(function(){ir(!0)},[]);var qn=(0,G.Z)(!1,{defaultValue:Qe,value:$e}),vn=(0,V.Z)(qn,2),On=vn[0],Gn=vn[1],gn=sr?On:!1,mn=!$&&nt;(_e||mn&&gn&&ue==="combobox")&&(gn=!1);var bn=mn?!1:gn,bt=s.useCallback(function(kn){var xn=kn!==void 0?kn:!gn;_e||(Gn(xn),gn!==xn&&(ot==null||ot(xn)))},[_e,gn,Gn,ot]),Jt=s.useMemo(function(){return(wt||[]).some(function(kn){return[`
|
|
`,`\r
|
|
`].includes(kn)})},[wt]),qt=s.useContext(Q)||{},tn=qt.maxCount,Rn=qt.rawValues,Mn=function(xn,nr,Qn){if(!(rt&&S(tn)&&(Rn==null?void 0:Rn.size)>=tn)){var er=!0,rr=xn;ut==null||ut(null);var yr=Z(xn,wt,S(tn)?tn-Rn.size:void 0),gr=Qn?null:yr;return ue!=="combobox"&&gr&&(rr="",gt==null||gt(gr),bt(!1),er=!1),zt&&un!==rr&&zt(rr,{source:nr?"typing":"effect"}),er}},xt=function(xn){!xn||!xn.trim()||zt(xn,{source:"submit"})};s.useEffect(function(){!gn&&!rt&&ue!=="combobox"&&Mn("",!1,!1)},[gn]),s.useEffect(function(){On&&_e&&Gn(!1),_e&&!rn.current&&Ot(!1)},[_e]);var Kt=l(),wn=(0,V.Z)(Kt,2),Vt=wn[0],Pn=wn[1],or=s.useRef(!1),Hn=function(xn){var nr=Vt(),Qn=xn.key,er=Qn==="Enter";if(er&&(ue!=="combobox"&&xn.preventDefault(),gn||bt(!0)),Pn(!!un),Qn==="Backspace"&&!nr&&rt&&!un&&at.length){for(var rr=(0,T.Z)(at),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(gn&&(!er||!or.current)){var Er;er&&(or.current=!0),(Er=pn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[xn].concat(mr))}Re==null||Re.apply(void 0,[xn].concat(mr))},fr=function(xn){for(var nr=arguments.length,Qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)Qn[er-1]=arguments[er];if(gn){var rr;(rr=pn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[xn].concat(Qn))}xn.key==="Enter"&&(or.current=!1),ge==null||ge.apply(void 0,[xn].concat(Qn))},ur=function(xn){var nr=at.filter(function(Qn){return Qn!==xn});mt(nr,{type:"remove",values:[xn]})},vr=function(){or.current=!1},Jn=s.useRef(!1),Fr=function(){Ot(!0),_e||(oe&&!Jn.current&&oe.apply(void 0,arguments),te.includes("focus")&&bt(!0)),Jn.current=!0},Br=function(){rn.current=!0,Ot(!1,function(){Jn.current=!1,rn.current=!1,bt(!1)}),!_e&&(un&&(ue==="tags"?zt(un,{source:"submit"}):ue==="multiple"&&zt("",{source:"blur"})),pe&&pe.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(kn){return clearTimeout(kn)}),Sr.splice(0,Sr.length)}},[]);var Tr=function(xn){var nr,Qn=xn.target,er=(nr=Gt.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),Xt(),!pt&&!er.contains(document.activeElement)){var mr;(mr=en.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];He==null||He.apply(void 0,[xn].concat(gr))},Nr=s.useState({}),Or=(0,V.Z)(Nr,2),Ir=Or[1];function br(){Ir({})}var Ar;on&&(Ar=function(xn){bt(xn)}),k(function(){var kn;return[nn.current,(kn=Gt.current)===null||kn===void 0?void 0:kn.getPopupElement()]},bn,bt,!!on);var Pr=s.useMemo(function(){return(0,X.Z)((0,X.Z)({},ee),{},{notFoundContent:$,open:gn,triggerOpen:bn,id:De,showSearch:Ct,multiple:rt,toggleOpen:bt})},[ee,$,bn,gn,De,Ct,rt,bt]),zr=!!dt||ke,kr;zr&&(kr=s.createElement(x,{className:t()("".concat(Ye,"-arrow"),(0,W.Z)({},"".concat(Ye,"-arrow-loading"),ke)),customizeIcon:dt,customizeIconProps:{loading:ke,searchValue:un,open:gn,focused:_t,showSearch:Ct}}));var $r=function(){var xn;ie==null||ie(),(xn=en.current)===null||xn===void 0||xn.focus(),mt([],{type:"clear",values:at}),Mn("",!1,!1)},Mr=C(Ye,$r,at,et,$t,_e,un,ue),Gr=Mr.allowClear,jr=Mr.clearIcon,Wr=s.createElement(Nt,{ref:pn}),Dr=t()(Ye,Xe,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(Ye,"-focused"),_t),"".concat(Ye,"-multiple"),rt),"".concat(Ye,"-single"),!rt),"".concat(Ye,"-allow-clear"),et),"".concat(Ye,"-show-arrow"),zr),"".concat(Ye,"-disabled"),_e),"".concat(Ye,"-loading"),ke),"".concat(Ye,"-open"),gn),"".concat(Ye,"-customize-input"),an),"".concat(Ye,"-show-search"),Ct)),dr=s.createElement(de,{ref:Gt,disabled:_e,prefixCls:Ye,visible:bn,popupElement:Wr,animation:Ut,transitionName:Nn,dropdownStyle:M,dropdownClassName:se,direction:Ze,dropdownMatchSelectWidth:q,dropdownRender:ae,dropdownAlign:ve,placement:xe,builtinPlacements:Ie,getPopupContainer:Oe,empty:nt,getTriggerDOMNode:function(xn){return fn.current||xn},onPopupVisibleChange:Ar,onPopupMouseEnter:br},on?s.cloneElement(on,{ref:jn}):s.createElement(Ne,(0,O.Z)({},ee,{domRef:fn,prefixCls:Ye,inputElement:an,ref:en,id:De,prefix:lt,showSearch:Ct,autoClearSearchValue:Ht,mode:ue,activeDescendantId:yt,tagRender:he,values:at,open:gn,onToggleOpen:bt,activeValue:It,searchValue:un,onSearch:Mn,onSearchSubmit:xt,onRemove:ur,tokenWithEnter:Jt,onInputBlur:vr}))),lr;return on?lr=dr:lr=s.createElement("div",(0,O.Z)({className:Dr},Lt,{ref:nn,onMouseDown:Tr,onKeyDown:Hn,onKeyUp:fr,onFocus:Fr,onBlur:Br}),s.createElement(fe,{visible:_t&&!gn,values:at}),dr,kr,Gr&&jr),s.createElement(h.Provider,{value:Pr},lr)}),Fe=Me,st=function(){return null};st.isSelectOptGroup=!0;var je=st,ze=function(){return null};ze.isSelectOption=!0;var Rt=ze,Dt=u(80547),it=u(2738),Ft=u(65283);function dn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Et=["disabled","title","children","style","className"];function ht(ee){return typeof ee=="string"||typeof ee=="number"}var Pt=function(J,We){var De=_(),Ye=De.prefixCls,Xe=De.id,me=De.open,he=De.multiple,Ze=De.mode,Ge=De.searchValue,at=De.toggleOpen,mt=De.notFoundContent,nt=De.onPopupScroll,Ve=s.useContext(Q),$=Ve.maxCount,ie=Ve.flattenOptions,ue=Ve.onActiveValue,_e=Ve.defaultActiveFirstOption,ke=Ve.onSelect,Be=Ve.menuItemSelectedIcon,Pe=Ve.rawValues,$e=Ve.fieldNames,Qe=Ve.virtual,ot=Ve.direction,It=Ve.listHeight,ut=Ve.listItemHeight,yt=Ve.optionRender,At="".concat(Ye,"-item"),Ht=(0,Dt.Z)(function(){return ie},[me,ie],function(Ce,te){return te[0]&&Ce[1]!==te[1]}),zt=s.useRef(null),gt=s.useMemo(function(){return he&&S($)&&(Pe==null?void 0:Pe.size)>=$},[he,$,Pe==null?void 0:Pe.size]),wt=function(te){te.preventDefault()},et=function(te){var oe;(oe=zt.current)===null||oe===void 0||oe.scrollTo(typeof te=="number"?{index:te}:te)},lt=s.useCallback(function(Ce){return Ze==="combobox"?!1:Pe.has(Ce)},[Ze,(0,T.Z)(Pe).toString(),Pe.size]),dt=function(te){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,pe=Ht.length,ge=0;ge<pe;ge+=1){var Re=(te+ge*oe+pe)%pe,He=Ht[Re]||{},ft=He.group,rt=He.data;if(!ft&&!(rt!=null&&rt.disabled)&&(lt(rt.value)||!gt))return Re}return-1},$t=s.useState(function(){return dt(0)}),Nt=(0,V.Z)($t,2),Ut=Nt[0],Nn=Nt[1],M=function(te){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Nn(te);var pe={source:oe?"keyboard":"mouse"},ge=Ht[te];if(!ge){ue(null,-1,pe);return}ue(ge.value,te,pe)};(0,s.useEffect)(function(){M(_e!==!1?dt(0):-1)},[Ht.length,Ge]);var se=s.useCallback(function(Ce){return Ze==="combobox"?String(Ce).toLowerCase()===Ge.toLowerCase():Pe.has(Ce)},[Ze,Ge,(0,T.Z)(Pe).toString(),Pe.size]);(0,s.useEffect)(function(){var Ce=setTimeout(function(){if(!he&&me&&Pe.size===1){var oe=Array.from(Pe)[0],pe=Ht.findIndex(function(ge){var Re=ge.data;return Ge?String(Re.value).startsWith(Ge):Re.value===oe});pe!==-1&&(M(pe),et(pe))}});if(me){var te;(te=zt.current)===null||te===void 0||te.scrollTo(void 0)}return function(){return clearTimeout(Ce)}},[me,Ge]);var q=function(te){te!==void 0&&ke(te,{selected:!Pe.has(te)}),he||at(!1)};if(s.useImperativeHandle(We,function(){return{onKeyDown:function(te){var oe=te.which,pe=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()&&pe&&(oe===I.Z.N?ge=1:oe===I.Z.P&&(ge=-1)),ge!==0){var Re=dt(Ut+ge,ge);et(Re),M(Re,!0)}break}case I.Z.TAB:case I.Z.ENTER:{var He,ft=Ht[Ut];ft&&!(ft!=null&&(He=ft.data)!==null&&He!==void 0&&He.disabled)&&!gt?q(ft.value):q(void 0),me&&te.preventDefault();break}case I.Z.ESC:at(!1),me&&te.stopPropagation()}},onKeyUp:function(){},scrollTo:function(te){et(te)}}}),Ht.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Xe,"_list"),className:"".concat(At,"-empty"),onMouseDown:wt},mt);var ae=Object.keys($e).map(function(Ce){return $e[Ce]}),ve=function(te){return te.label};function xe(Ce,te){var oe=Ce.group;return{role:oe?"presentation":"option",id:"".concat(Xe,"_list_").concat(te)}}var Ie=function(te){var oe=Ht[te];if(!oe)return null;var pe=oe.data||{},ge=pe.value,Re=oe.group,He=(0,F.Z)(pe,!0),ft=ve(oe);return oe?s.createElement("div",(0,O.Z)({"aria-label":typeof ft=="string"&&!Re?ft:null},He,{key:te},xe(oe,te),{"aria-selected":se(ge)}),ge):null},Oe={role:"listbox",id:"".concat(Xe,"_list")};return s.createElement(s.Fragment,null,Qe&&s.createElement("div",(0,O.Z)({},Oe,{style:{height:0,width:0,overflow:"hidden"}}),Ie(Ut-1),Ie(Ut),Ie(Ut+1)),s.createElement(Ft.Z,{itemKey:"key",ref:zt,data:Ht,height:It,itemHeight:ut,fullHeight:!1,onMouseDown:wt,onScroll:nt,virtual:Qe,direction:ot,innerProps:Qe?null:Oe},function(Ce,te){var oe=Ce.group,pe=Ce.groupOption,ge=Ce.data,Re=Ce.label,He=Ce.value,ft=ge.key;if(oe){var rt,Ct=(rt=ge.title)!==null&&rt!==void 0?rt:ht(Re)?Re.toString():void 0;return s.createElement("div",{className:t()(At,"".concat(At,"-group"),ge.className),title:Ct},Re!==void 0?Re:ft)}var Lt=ge.disabled,St=ge.title,Yt=ge.children,pt=ge.style,cn=ge.className,nn=(0,p.Z)(ge,Et),fn=(0,it.Z)(nn,ae),Gt=lt(He),en=Lt||!Gt&>,pn="".concat(At,"-option"),rn=t()(At,pn,cn,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(pn,"-grouped"),pe),"".concat(pn,"-active"),Ut===te&&!en),"".concat(pn,"-disabled"),en),"".concat(pn,"-selected"),Gt)),ln=ve(Ce),Mt=!Be||typeof Be=="function"||Gt,_t=typeof ln=="number"?ln:ln||He,Ot=ht(_t)?_t.toString():void 0;return St!==void 0&&(Ot=St),s.createElement("div",(0,O.Z)({},(0,F.Z)(fn),Qe?{}:xe(Ce,te),{"aria-selected":se(He),className:rn,title:Ot,onMouseMove:function(){Ut===te||en||M(te)},onClick:function(){en||q(He)},style:pt}),s.createElement("div",{className:"".concat(pn,"-content")},typeof yt=="function"?yt(Ce,{index:te}):_t),s.isValidElement(Be)||Gt,Mt&&s.createElement(x,{className:"".concat(At,"-option-state"),customizeIcon:Be,customizeIconProps:{value:He,disabled:en,isSelected:Gt}},Gt?"\u2713":null))}))},sn=s.forwardRef(Pt),jt=sn,Bt=function(ee,J){var We=s.useRef({values:new Map,options:new Map}),De=s.useMemo(function(){var Xe=We.current,me=Xe.values,he=Xe.options,Ze=ee.map(function(mt){if(mt.label===void 0){var nt;return(0,X.Z)((0,X.Z)({},mt),{},{label:(nt=me.get(mt.value))===null||nt===void 0?void 0:nt.label})}return mt}),Ge=new Map,at=new Map;return Ze.forEach(function(mt){Ge.set(mt.value,mt),at.set(mt.value,J.get(mt.value)||he.get(mt.value))}),We.current.values=Ge,We.current.options=at,Ze},[ee,J]),Ye=s.useCallback(function(Xe){return J.get(Xe)||We.current.options.get(Xe)},[J]);return[De,Ye]};function Qt(ee,J){return A(ee).join("").toUpperCase().includes(J)}var hn=function(ee,J,We,De,Ye){return s.useMemo(function(){if(!We||De===!1)return ee;var Xe=J.options,me=J.label,he=J.value,Ze=[],Ge=typeof De=="function",at=We.toUpperCase(),mt=Ge?De:function(Ve,$){return Ye?Qt($[Ye],at):$[Xe]?Qt($[me!=="children"?me:"label"],at):Qt($[he],at)},nt=Ge?function(Ve){return U(Ve)}:function(Ve){return Ve};return ee.forEach(function(Ve){if(Ve[Xe]){var $=mt(We,nt(Ve));if($)Ze.push(Ve);else{var ie=Ve[Xe].filter(function(ue){return mt(We,nt(ue))});ie.length&&Ze.push((0,X.Z)((0,X.Z)({},Ve),{},(0,W.Z)({},Xe,ie)))}return}mt(We,nt(Ve))&&Ze.push(Ve)}),Ze},[ee,De,Ye,We,J])},qe=u(6551),ct=u(11592),vt=["children","value"],Tn=["children"];function _n(ee){var J=ee,We=J.key,De=J.props,Ye=De.children,Xe=De.value,me=(0,p.Z)(De,vt);return(0,X.Z)({key:We,value:Xe!==void 0?Xe:We,children:Ye},me)}function Kn(ee){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ct.Z)(ee).map(function(We,De){if(!s.isValidElement(We)||!We.type)return null;var Ye=We,Xe=Ye.type.isSelectOptGroup,me=Ye.key,he=Ye.props,Ze=he.children,Ge=(0,p.Z)(he,Tn);return J||!Xe?_n(We):(0,X.Z)((0,X.Z)({key:"__RC_SELECT_GRP__".concat(me===null?De:me,"__"),label:me},Ge),{},{options:Kn(Ze)})}).filter(function(We){return We})}var Bn=function(J,We,De,Ye,Xe){return s.useMemo(function(){var me=J,he=!J;he&&(me=Kn(We));var Ze=new Map,Ge=new Map,at=function(Ve,$,ie){ie&&typeof ie=="string"&&Ve.set($[ie],$)},mt=function nt(Ve){for(var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=0;ie<Ve.length;ie+=1){var ue=Ve[ie];!ue[De.options]||$?(Ze.set(ue[De.value],ue),at(Ge,ue,De.label),at(Ge,ue,Ye),at(Ge,ue,Xe)):nt(ue[De.options],!0)}};return mt(me),{options:me,valueOptions:Ze,labelOptions:Ge}},[J,We,De,Ye,Xe])},yn=Bn;function Wt(ee){var J=s.useRef();J.current=ee;var We=s.useCallback(function(){return J.current.apply(J,arguments)},[]);return We}function Dn(ee){var J=ee.mode,We=ee.options,De=ee.children,Ye=ee.backfill,Xe=ee.allowClear,me=ee.placeholder,he=ee.getInputElement,Ze=ee.showSearch,Ge=ee.onSearch,at=ee.defaultOpen,mt=ee.autoFocus,nt=ee.labelInValue,Ve=ee.value,$=ee.inputValue,ie=ee.optionLabelProp,ue=isMultiple(J),_e=Ze!==void 0?Ze:ue||J==="combobox",ke=We||convertChildrenToData(De);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 Be=ke.some(function(Qe){return Qe.options?Qe.options.some(function(ot){return typeof("value"in ot?ot.value:ot.key)=="number"}):typeof("value"in Qe?Qe.value:Qe.key)=="number"});warning(!Be,"`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"||!Ye,"`backfill` only works with `combobox` mode."),warning(J==="combobox"||!he,"`getInputElement` only work with `combobox` mode."),noteOnce(J!=="combobox"||!he||!Xe||!me,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ge&&!_e&&J!=="combobox"&&J!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!at||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(!nt||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(!ue||Array.isArray(Ve),"`value` should be array when `mode` is `multiple` or `tags`")}if(De){var $e=null;toNodeArray(De).some(function(Qe){if(!React.isValidElement(Qe)||!Qe.type)return!1;var ot=Qe,It=ot.type;if(It.isSelectOption)return!1;if(It.isSelectOptGroup){var ut=toNodeArray(Qe.props.children).every(function(yt){return!React.isValidElement(yt)||!Qe.type||yt.type.isSelectOption?!0:($e=yt.type,!1)});return!ut}return $e=It,!0}),$e&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat($e.displayName||$e.name||$e,"`.")),warning($===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function En(ee,J){if(ee){var We=function De(Ye){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,me=0;me<Ye.length;me++){var he=Ye[me];if(he[J==null?void 0:J.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Xe&&Array.isArray(he[J==null?void 0:J.options])&&De(he[J==null?void 0:J.options],!0))break}};We(ee)}}var In=null,Cn=["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 An(ee){return!ee||(0,H.Z)(ee)!=="object"}var Zn=s.forwardRef(function(ee,J){var We=ee.id,De=ee.mode,Ye=ee.prefixCls,Xe=Ye===void 0?"rc-select":Ye,me=ee.backfill,he=ee.fieldNames,Ze=ee.inputValue,Ge=ee.searchValue,at=ee.onSearch,mt=ee.autoClearSearchValue,nt=mt===void 0?!0:mt,Ve=ee.onSelect,$=ee.onDeselect,ie=ee.dropdownMatchSelectWidth,ue=ie===void 0?!0:ie,_e=ee.filterOption,ke=ee.filterSort,Be=ee.optionFilterProp,Pe=ee.optionLabelProp,$e=ee.options,Qe=ee.optionRender,ot=ee.children,It=ee.defaultActiveFirstOption,ut=ee.menuItemSelectedIcon,yt=ee.virtual,At=ee.direction,Ht=ee.listHeight,zt=Ht===void 0?200:Ht,gt=ee.listItemHeight,wt=gt===void 0?20:gt,et=ee.labelRender,lt=ee.value,dt=ee.defaultValue,$t=ee.labelInValue,Nt=ee.onChange,Ut=ee.maxCount,Nn=(0,p.Z)(ee,Cn),M=(0,qe.ZP)(We),se=Ke(De),q=!!(!$e&&ot),ae=s.useMemo(function(){return _e===void 0&&De==="combobox"?!1:_e},[_e,De]),ve=s.useMemo(function(){return B(he,q)},[JSON.stringify(he),q]),xe=(0,G.Z)("",{value:Ge!==void 0?Ge:Ze,postState:function(Jt){return Jt||""}}),Ie=(0,V.Z)(xe,2),Oe=Ie[0],Ce=Ie[1],te=yn($e,ot,ve,Be,Pe),oe=te.valueOptions,pe=te.labelOptions,ge=te.options,Re=s.useCallback(function(bt){var Jt=A(bt);return Jt.map(function(qt){var tn,Rn,Mn,xt,Kt;if(An(qt))tn=qt;else{var wn;Mn=qt.key,Rn=qt.label,tn=(wn=qt.value)!==null&&wn!==void 0?wn:Mn}var Vt=oe.get(tn);if(Vt){var Pn;if(Rn===void 0&&(Rn=Vt==null?void 0:Vt[Pe||ve.label]),Mn===void 0&&(Mn=(Pn=Vt==null?void 0:Vt.key)!==null&&Pn!==void 0?Pn:tn),xt=Vt==null?void 0:Vt.disabled,Kt=Vt==null?void 0:Vt.title,0)var or}return{label:Rn,value:tn,key:Mn,disabled:xt,title:Kt}})},[ve,Pe,oe]),He=(0,G.Z)(dt,{value:lt}),ft=(0,V.Z)(He,2),rt=ft[0],Ct=ft[1],Lt=s.useMemo(function(){var bt,Jt=se&&rt===null?[]:rt,qt=Re(Jt);return De==="combobox"&&g((bt=qt[0])===null||bt===void 0?void 0:bt.value)?[]:qt},[rt,Re,De,se]),St=Bt(Lt,oe),Yt=(0,V.Z)(St,2),pt=Yt[0],cn=Yt[1],nn=s.useMemo(function(){if(!De&&pt.length===1){var bt=pt[0];if(bt.value===null&&(bt.label===null||bt.label===void 0))return[]}return pt.map(function(Jt){var qt;return(0,X.Z)((0,X.Z)({},Jt),{},{label:(qt=typeof et=="function"?et(Jt):Jt.label)!==null&&qt!==void 0?qt:Jt.value})})},[De,pt,et]),fn=s.useMemo(function(){return new Set(pt.map(function(bt){return bt.value}))},[pt]);s.useEffect(function(){if(De==="combobox"){var bt,Jt=(bt=pt[0])===null||bt===void 0?void 0:bt.value;Ce(i(Jt)?String(Jt):"")}},[pt]);var Gt=Wt(function(bt,Jt){var qt=Jt!=null?Jt:bt;return(0,W.Z)((0,W.Z)({},ve.value,bt),ve.label,qt)}),en=s.useMemo(function(){if(De!=="tags")return ge;var bt=(0,T.Z)(ge),Jt=function(tn){return oe.has(tn)};return(0,T.Z)(pt).sort(function(qt,tn){return qt.value<tn.value?-1:1}).forEach(function(qt){var tn=qt.value;Jt(tn)||bt.push(Gt(tn,qt.label))}),bt},[Gt,ge,oe,pt,De]),pn=hn(en,ve,Oe,ae,Be),rn=s.useMemo(function(){return De!=="tags"||!Oe||pn.some(function(bt){return bt[Be||"value"]===Oe})||pn.some(function(bt){return bt[ve.value]===Oe})?pn:[Gt(Oe)].concat((0,T.Z)(pn))},[Gt,Be,De,pn,Oe,ve]),ln=function bt(Jt){var qt=(0,T.Z)(Jt).sort(function(tn,Rn){return ke(tn,Rn,{searchValue:Oe})});return qt.map(function(tn){return Array.isArray(tn.options)?(0,X.Z)((0,X.Z)({},tn),{},{options:tn.options.length>0?bt(tn.options):tn.options}):tn})},Mt=s.useMemo(function(){return ke?ln(rn):rn},[rn,ke,Oe]),_t=s.useMemo(function(){return N(Mt,{fieldNames:ve,childrenAsData:q})},[Mt,ve,q]),Ot=function(Jt){var qt=Re(Jt);if(Ct(qt),Nt&&(qt.length!==pt.length||qt.some(function(Mn,xt){var Kt;return((Kt=pt[xt])===null||Kt===void 0?void 0:Kt.value)!==(Mn==null?void 0:Mn.value)}))){var tn=$t?qt:qt.map(function(Mn){return Mn.value}),Rn=qt.map(function(Mn){return U(cn(Mn.value))});Nt(se?tn:tn[0],se?Rn:Rn[0])}},Xt=s.useState(null),un=(0,V.Z)(Xt,2),an=un[0],on=un[1],jn=s.useState(0),Xn=(0,V.Z)(jn,2),$n=Xn[0],sr=Xn[1],ir=It!==void 0?It:De!=="combobox",qn=s.useCallback(function(bt,Jt){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tn=qt.source,Rn=tn===void 0?"keyboard":tn;sr(Jt),me&&De==="combobox"&&bt!==null&&Rn==="keyboard"&&on(String(bt))},[me,De]),vn=function(Jt,qt,tn){var Rn=function(){var ur,vr=cn(Jt);return[$t?{label:vr==null?void 0:vr[ve.label],value:Jt,key:(ur=vr==null?void 0:vr.key)!==null&&ur!==void 0?ur:Jt}:Jt,U(vr)]};if(qt&&Ve){var Mn=Rn(),xt=(0,V.Z)(Mn,2),Kt=xt[0],wn=xt[1];Ve(Kt,wn)}else if(!qt&&$&&tn!=="clear"){var Vt=Rn(),Pn=(0,V.Z)(Vt,2),or=Pn[0],Hn=Pn[1];$(or,Hn)}},On=Wt(function(bt,Jt){var qt,tn=se?Jt.selected:!0;tn?qt=se?[].concat((0,T.Z)(pt),[bt]):[bt]:qt=pt.filter(function(Rn){return Rn.value!==bt}),Ot(qt),vn(bt,tn),De==="combobox"?on(""):(!Ke||nt)&&(Ce(""),on(""))}),Gn=function(Jt,qt){Ot(Jt);var tn=qt.type,Rn=qt.values;(tn==="remove"||tn==="clear")&&Rn.forEach(function(Mn){vn(Mn.value,!1,tn)})},gn=function(Jt,qt){if(Ce(Jt),on(null),qt.source==="submit"){var tn=(Jt||"").trim();if(tn){var Rn=Array.from(new Set([].concat((0,T.Z)(fn),[tn])));Ot(Rn),vn(tn,!0),Ce("")}return}qt.source!=="blur"&&(De==="combobox"&&Ot(Jt),at==null||at(Jt))},mn=function(Jt){var qt=Jt;De!=="tags"&&(qt=Jt.map(function(Rn){var Mn=pe.get(Rn);return Mn==null?void 0:Mn.value}).filter(function(Rn){return Rn!==void 0}));var tn=Array.from(new Set([].concat((0,T.Z)(fn),(0,T.Z)(qt))));Ot(tn),tn.forEach(function(Rn){vn(Rn,!0)})},bn=s.useMemo(function(){var bt=yt!==!1&&ue!==!1;return(0,X.Z)((0,X.Z)({},te),{},{flattenOptions:_t,onActiveValue:qn,defaultActiveFirstOption:ir,onSelect:On,menuItemSelectedIcon:ut,rawValues:fn,fieldNames:ve,virtual:bt,direction:At,listHeight:zt,listItemHeight:wt,childrenAsData:q,maxCount:Ut,optionRender:Qe})},[Ut,te,_t,qn,ir,On,ut,fn,ve,yt,ue,At,zt,wt,q,Qe]);return s.createElement(Q.Provider,{value:bn},s.createElement(Fe,(0,O.Z)({},Nn,{id:M,prefixCls:Xe,ref:J,omitDomProps:Sn,mode:De,displayValues:nn,onDisplayValuesChange:Gn,direction:At,searchValue:Oe,onSearch:gn,autoClearSearchValue:nt,onSearchSplit:mn,dropdownMatchSelectWidth:ue,OptionList:jt,emptyOptions:!_t.length,activeValue:an,activeDescendantId:"".concat(M,"_list_").concat($n)})))}),zn=Zn;zn.Option=Rt,zn.OptGroup=je;var Wn=zn,Un=Wn},86351:function(Zt,Le,u){"use strict";u.d(Le,{R:function(){return T},w:function(){return O}});var O={},T="rc-table-internal-hook"},97347:function(Zt,Le,u){"use strict";u.d(Le,{L:function(){return m},Z:function(){return f}});var O=u(50298),T=u(4635),W=u(95190),X=u(93664),V=u(20439),p=u(62646),H=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,H.Z)(l).filter(function(k){return e.isValidElement(k)}).map(function(k){var I=k.key,L=k.props,F=L.children,Y=(0,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,ce=l.clientWidth,Se=e.useMemo(function(){var Ne=L||m(F)||[];return x(Ne.slice())},[L,F]),Ae=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(de,P){return de!==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(de){return de===s.w?re:de})}return Se.filter(function(de){return de!==s.w})},[Y,Se,y,z,b,w]),Ue=e.useMemo(function(){var Ne=Ae;return k&&(Ne=k(Ne)),Ne.length||(Ne=[{render:function(){return null}}]),Ne},[k,Ae,w]),tt=e.useMemo(function(){return w==="rtl"?h(C(Ue)):C(Ue)},[Ue,w,K]),Tt=e.useMemo(function(){for(var Ne=-1,le=tt.length-1;le>=0;le-=1){var E=tt[le].fixed;if(E==="left"||E===!0){Ne=le;break}}if(Ne>=0)for(var j=0;j<=Ne;j+=1){var D=tt[j].fixed;if(D!=="left"&&D!==!0)return!0}var re=tt.findIndex(function(v){var S=v.fixed;return S==="right"});if(re>=0)for(var de=re;de<tt.length;de+=1){var P=tt[de].fixed;if(P!=="right")return!0}return!1},[tt]),Ee=r(tt,K,ce),Je=(0,O.Z)(Ee,2),kt=Je[0],Te=Je[1];return[Ue,kt,Te,Tt]}var f=_},4030:function(Zt,Le,u){"use strict";u.d(Le,{w2:function(){return O.w},vP:function(){return ht.v},RQ:function(){return O.R},ER:function(){return B},Q$:function(){return _e},TN:function(){return Nt}});var O=u(86351),T=u(50298),W=u(6089),X=u(34280),V=u(13697),p=u(59301),H=u(4676);function G(M){var se=p.createContext(void 0),q=function(ve){var xe=ve.value,Ie=ve.children,Oe=p.useRef(xe);Oe.current=xe;var Ce=p.useState(function(){return{getValue:function(){return Oe.current},listeners:new Set}}),te=(0,T.Z)(Ce,1),oe=te[0];return(0,X.Z)(function(){(0,H.unstable_batchedUpdates)(function(){oe.listeners.forEach(function(pe){pe(xe)})})},[xe]),p.createElement(se.Provider,{value:oe},Ie)};return{Context:se,Provider:q,defaultValue:M}}function e(M,se){var q=(0,W.Z)(typeof se=="function"?se:function(pe){if(se===void 0)return pe;if(!Array.isArray(se))return pe[se];var ge={};return se.forEach(function(Re){ge[Re]=pe[Re]}),ge}),ae=p.useContext(M==null?void 0:M.Context),ve=ae||{},xe=ve.listeners,Ie=ve.getValue,Oe=p.useRef();Oe.current=q(ae?Ie():M==null?void 0:M.defaultValue);var Ce=p.useState({}),te=(0,T.Z)(Ce,2),oe=te[1];return(0,X.Z)(function(){if(!ae)return;function pe(ge){var Re=q(ge);(0,V.Z)(Oe.current,Re,!0)||oe({})}return xe.add(pe),function(){xe.delete(pe)}},[ae]),Oe.current}var s=u(14809),c=u(8654);function t(){var M=p.createContext(null);function se(){return p.useContext(M)}function q(ve,xe){var Ie=(0,c.Yr)(ve),Oe=function(te,oe){var pe=Ie?{ref:oe}:{},ge=p.useRef(0),Re=p.useRef(te),He=se();return He!==null?p.createElement(ve,(0,s.Z)({},te,pe)):((!xe||xe(Re.current,te))&&(ge.current+=1),Re.current=te,p.createElement(M.Provider,{value:ge.current},p.createElement(ve,(0,s.Z)({},te,pe))))};return Ie?p.forwardRef(Oe):Oe}function ae(ve,xe){var Ie=(0,c.Yr)(ve),Oe=function(te,oe){var pe=Ie?{ref:oe}:{};return se(),p.createElement(ve,(0,s.Z)({},te,pe))};return Ie?p.memo(p.forwardRef(Oe),xe):p.memo(Oe,xe)}return{makeImmutable:q,responseImmutable:ae,useImmutableMark:se}}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,se){var q=React.useRef(0);q.current+=1;var ae=React.useRef(M),ve=[];Object.keys(M||{}).map(function(Ie){var Oe;(M==null?void 0:M[Ie])!==((Oe=ae.current)===null||Oe===void 0?void 0:Oe[Ie])&&ve.push(Ie)}),ae.current=M;var xe=React.useRef([]);return ve.length&&(xe.current=ve),React.useDebugValue(q.current),React.useDebugValue(xe.current.join(", ")),se&&console.log("".concat(se,":"),q.current,xe.current),q.current}var I=null,L=null,F=u(93664),Y=u(20439),z=u(4635),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 se=[],q={};return M.forEach(function(ae){for(var ve=ae||{},xe=ve.key,Ie=ve.dataIndex,Oe=xe||i(Ie).join("-")||n;q[Oe];)Oe="".concat(Oe,"_next");q[Oe]=!0,se.push(Oe)}),se}function K(M){return M!=null}function ce(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 Ae(M,se,q,ae,ve,xe){var Ie=p.useContext(w),Oe=_(),Ce=(0,d.Z)(function(){if(K(ae))return[ae];var te=se==null||se===""?[]:Array.isArray(se)?se:[se],oe=(0,b.Z)(M,te),pe=oe,ge=void 0;if(ve){var Re=ve(oe,M,q);Se(Re)?(pe=Re.children,ge=Re.props,Ie.renderWithProps=!0):pe=Re}return[pe,ge]},[Oe,M,ae,se,ve,q],function(te,oe){if(xe){var pe=(0,T.Z)(te,2),ge=pe[1],Re=(0,T.Z)(oe,2),He=Re[1];return xe(He,ge)}return Ie.renderWithProps?!0:!(0,V.Z)(te,oe,!0)});return Ce}function Ue(M,se,q,ae){var ve=M+se-1;return M<=ae&&ve>=q}function tt(M,se){return e(l,function(q){var ae=Ue(M,se||1,q.hoverStartRow,q.hoverEndRow);return[ae,q.onHover]})}var Tt=u(70425),Ee=function(se){var q=se.ellipsis,ae=se.rowType,ve=se.children,xe,Ie=q===!0?{showTitle:!0}:q;return Ie&&(Ie.showTitle||ae==="header")&&(typeof ve=="string"||typeof ve=="number"?xe=ve.toString():p.isValidElement(ve)&&typeof ve.props.children=="string"&&(xe=ve.props.children)),xe};function Je(M){var se,q,ae,ve,xe,Ie,Oe,Ce,te=M.component,oe=M.children,pe=M.ellipsis,ge=M.scope,Re=M.prefixCls,He=M.className,ft=M.align,rt=M.record,Ct=M.render,Lt=M.dataIndex,St=M.renderIndex,Yt=M.shouldCellUpdate,pt=M.index,cn=M.rowType,nn=M.colSpan,fn=M.rowSpan,Gt=M.fixLeft,en=M.fixRight,pn=M.firstFixLeft,rn=M.lastFixLeft,ln=M.firstFixRight,Mt=M.lastFixRight,_t=M.appendNode,Ot=M.additionalProps,Xt=Ot===void 0?{}:Ot,un=M.isSticky,an="".concat(Re,"-cell"),on=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),jn=on.supportSticky,Xn=on.allColumnsFixedLeft,$n=on.rowHoverable,sr=Ae(rt,Lt,St,oe,Ct,Yt),ir=(0,T.Z)(sr,2),qn=ir[0],vn=ir[1],On={},Gn=typeof Gt=="number"&&jn,gn=typeof en=="number"&&jn;Gn&&(On.position="sticky",On.left=Gt),gn&&(On.position="sticky",On.right=en);var mn=(se=(q=(ae=vn==null?void 0:vn.colSpan)!==null&&ae!==void 0?ae:Xt.colSpan)!==null&&q!==void 0?q:nn)!==null&&se!==void 0?se:1,bn=(ve=(xe=(Ie=vn==null?void 0:vn.rowSpan)!==null&&Ie!==void 0?Ie:Xt.rowSpan)!==null&&xe!==void 0?xe:fn)!==null&&ve!==void 0?ve:1,bt=tt(pt,bn),Jt=(0,T.Z)(bt,2),qt=Jt[0],tn=Jt[1],Rn=(0,Tt.zX)(function(or){var Hn;rt&&tn(pt,pt+bn-1),Xt==null||(Hn=Xt.onMouseEnter)===null||Hn===void 0||Hn.call(Xt,or)}),Mn=(0,Tt.zX)(function(or){var Hn;rt&&tn(-1,-1),Xt==null||(Hn=Xt.onMouseLeave)===null||Hn===void 0||Hn.call(Xt,or)});if(mn===0||bn===0)return null;var xt=(Oe=Xt.title)!==null&&Oe!==void 0?Oe:Ee({rowType:cn,ellipsis:pe,children:qn}),Kt=y()(an,He,(Ce={},(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)(Ce,"".concat(an,"-fix-left"),Gn&&jn),"".concat(an,"-fix-left-first"),pn&&jn),"".concat(an,"-fix-left-last"),rn&&jn),"".concat(an,"-fix-left-all"),rn&&Xn&&jn),"".concat(an,"-fix-right"),gn&&jn),"".concat(an,"-fix-right-first"),ln&&jn),"".concat(an,"-fix-right-last"),Mt&&jn),"".concat(an,"-ellipsis"),pe),"".concat(an,"-with-append"),_t),"".concat(an,"-fix-sticky"),(Gn||gn)&&un&&jn),(0,z.Z)(Ce,"".concat(an,"-row-hover"),!vn&&qt)),Xt.className,vn==null?void 0:vn.className),wn={};ft&&(wn.textAlign=ft);var Vt=(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},vn==null?void 0:vn.style),On),wn),Xt.style),Pn=qn;return(0,F.Z)(Pn)==="object"&&!Array.isArray(Pn)&&!p.isValidElement(Pn)&&(Pn=null),pe&&(rn||ln)&&(Pn=p.createElement("span",{className:"".concat(an,"-content")},Pn)),p.createElement(te,(0,s.Z)({},vn,Xt,{className:Kt,style:Vt,title:xt,scope:ge,onMouseEnter:$n?Rn:void 0,onMouseLeave:$n?Mn:void 0,colSpan:mn!==1?mn:null,rowSpan:bn!==1?bn:null}),_t,Pn)}var kt=p.memo(Je);function Te(M,se,q,ae,ve){var xe=q[M]||{},Ie=q[se]||{},Oe,Ce;xe.fixed==="left"?Oe=ae.left[ve==="rtl"?se:M]:Ie.fixed==="right"&&(Ce=ae.right[ve==="rtl"?M:se]);var te=!1,oe=!1,pe=!1,ge=!1,Re=q[se+1],He=q[M-1],ft=Re&&!Re.fixed||He&&!He.fixed||q.every(function(Yt){return Yt.fixed==="left"});if(ve==="rtl"){if(Oe!==void 0){var rt=He&&He.fixed==="left";ge=!rt&&ft}else if(Ce!==void 0){var Ct=Re&&Re.fixed==="right";pe=!Ct&&ft}}else if(Oe!==void 0){var Lt=Re&&Re.fixed==="left";te=!Lt&&ft}else if(Ce!==void 0){var St=He&&He.fixed==="right";oe=!St&&ft}return{fixLeft:Oe,fixRight:Ce,lastFixLeft:te,firstFixRight:oe,lastFixRight:pe,firstFixLeft:ge,isSticky:ae.isSticky}}var Ne=p.createContext({}),le=Ne;function E(M){var se=M.className,q=M.index,ae=M.children,ve=M.colSpan,xe=ve===void 0?1:ve,Ie=M.rowSpan,Oe=M.align,Ce=e(l,["prefixCls","direction"]),te=Ce.prefixCls,oe=Ce.direction,pe=p.useContext(le),ge=pe.scrollColumnIndex,Re=pe.stickyOffsets,He=pe.flattenColumns,ft=q+xe-1,rt=ft+1===ge?xe+1:xe,Ct=Te(q,q+rt-1,He,Re,oe);return p.createElement(kt,(0,s.Z)({className:se,index:q,component:"td",prefixCls:te,record:null,dataIndex:null,align:Oe,colSpan:rt,rowSpan:Ie,render:function(){return ae}},Ct))}var j=u(62646),D=["children"];function re(M){var se=M.children,q=(0,j.Z)(M,D);return p.createElement("tr",q,se)}function de(M){var se=M.children;return se}de.Row=re,de.Cell=E;var P=de;function v(M){var se=M.children,q=M.stickyOffsets,ae=M.flattenColumns,ve=e(l,"prefixCls"),xe=ae.length-1,Ie=ae[xe],Oe=p.useMemo(function(){return{stickyOffsets:q,flattenColumns:ae,scrollColumnIndex:Ie!=null&&Ie.scrollbar?xe:null}},[Ie,ae,xe,q]);return p.createElement(le.Provider,{value:Oe},p.createElement("tfoot",{className:"".concat(ve,"-summary")},se))}var S=h(v),B=P,N=u(29301),U=u(24514),Z=u(75152),ne=u(26112);function Q(M,se,q,ae,ve,xe,Ie){M.push({record:se,indent:q,index:Ie});var Oe=xe(se),Ce=ve==null?void 0:ve.has(Oe);if(se&&Array.isArray(se[ae])&&Ce)for(var te=0;te<se[ae].length;te+=1)Q(M,se[ae][te],q+1,ae,ve,xe,te)}function fe(M,se,q,ae){var ve=p.useMemo(function(){if(q!=null&&q.size){for(var xe=[],Ie=0;Ie<(M==null?void 0:M.length);Ie+=1){var Oe=M[Ie];Q(xe,Oe,0,se,q,ae,Ie)}return xe}return M==null?void 0:M.map(function(Ce,te){return{record:Ce,indent:0,index:te}})},[M,se,q,ae]);return ve}function be(M,se,q,ae){var ve=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),xe=ve.flattenColumns,Ie=ve.expandableType,Oe=ve.expandedKeys,Ce=ve.childrenColumnName,te=ve.onTriggerExpand,oe=ve.rowExpandable,pe=ve.onRow,ge=ve.expandRowByClick,Re=ve.rowClassName,He=Ie==="nest",ft=Ie==="row"&&(!oe||oe(M)),rt=ft||He,Ct=Oe&&Oe.has(se),Lt=Ce&&M&&M[Ce],St=(0,Tt.zX)(te),Yt=pe==null?void 0:pe(M,q),pt=Yt==null?void 0:Yt.onClick,cn=function(en){ge&&rt&&te(M,en);for(var pn=arguments.length,rn=new Array(pn>1?pn-1:0),ln=1;ln<pn;ln++)rn[ln-1]=arguments[ln];pt==null||pt.apply(void 0,[en].concat(rn))},nn;typeof Re=="string"?nn=Re:typeof Re=="function"&&(nn=Re(M,q,ae));var fn=g(xe);return(0,Y.Z)((0,Y.Z)({},ve),{},{columnsKey:fn,nestExpandable:He,expanded:Ct,hasNestChildren:Lt,record:M,onTriggerExpand:St,rowSupportExpand:ft,expandable:rt,rowProps:(0,Y.Z)((0,Y.Z)({},Yt),{},{className:y()(nn,Yt==null?void 0:Yt.className),onClick:cn})})}function we(M){var se=M.prefixCls,q=M.children,ae=M.component,ve=M.cellComponent,xe=M.className,Ie=M.expanded,Oe=M.colSpan,Ce=M.isEmpty,te=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),oe=te.scrollbarSize,pe=te.fixHeader,ge=te.fixColumn,Re=te.componentWidth,He=te.horizonScroll,ft=q;return(Ce?He&&Re:ge)&&(ft=p.createElement("div",{style:{width:Re-(pe&&!Ce?oe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(se,"-expanded-row-fixed")},ft)),p.createElement(ae,{className:xe,style:{display:Ie?null:"none"}},p.createElement(kt,{component:ve,prefixCls:se,colSpan:Oe},ft))}var Ke=we;function Me(M){var se=M.prefixCls,q=M.record,ae=M.onExpand,ve=M.expanded,xe=M.expandable,Ie="".concat(se,"-row-expand-icon");if(!xe)return p.createElement("span",{className:y()(Ie,"".concat(se,"-row-spaced"))});var Oe=function(te){ae(q,te),te.stopPropagation()};return p.createElement("span",{className:y()(Ie,(0,z.Z)((0,z.Z)({},"".concat(se,"-row-expanded"),ve),"".concat(se,"-row-collapsed"),!ve)),onClick:Oe})}function Fe(M,se,q){var ae=[];function ve(xe){(xe||[]).forEach(function(Ie,Oe){ae.push(se(Ie,Oe)),ve(Ie[q])})}return ve(M),ae}function st(M,se,q,ae){return typeof M=="string"?M:typeof M=="function"?M(se,q,ae):""}function je(M,se,q,ae,ve){var xe=M.record,Ie=M.prefixCls,Oe=M.columnsKey,Ce=M.fixedInfoList,te=M.expandIconColumnIndex,oe=M.nestExpandable,pe=M.indentSize,ge=M.expandIcon,Re=M.expanded,He=M.hasNestChildren,ft=M.onTriggerExpand,rt=Oe[q],Ct=Ce[q],Lt;q===(te||0)&&oe&&(Lt=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(pe*ae,"px")},className:"".concat(Ie,"-row-indent indent-level-").concat(ae)}),ge({prefixCls:Ie,expanded:Re,expandable:He,record:xe,onExpand:ft})));var St;return se.onCell&&(St=se.onCell(xe,ve)),{key:rt,fixedInfo:Ct,appendCellNode:Lt,additionalCellProps:St||{}}}function ze(M){var se=M.className,q=M.style,ae=M.record,ve=M.index,xe=M.renderIndex,Ie=M.rowKey,Oe=M.indent,Ce=Oe===void 0?0:Oe,te=M.rowComponent,oe=M.cellComponent,pe=M.scopeCellComponent,ge=be(ae,Ie,ve,Ce),Re=ge.prefixCls,He=ge.flattenColumns,ft=ge.expandedRowClassName,rt=ge.expandedRowRender,Ct=ge.rowProps,Lt=ge.expanded,St=ge.rowSupportExpand,Yt=p.useRef(!1);Yt.current||(Yt.current=Lt);var pt=st(ft,ae,ve,Ce),cn=p.createElement(te,(0,s.Z)({},Ct,{"data-row-key":Ie,className:y()(se,"".concat(Re,"-row"),"".concat(Re,"-row-level-").concat(Ce),Ct==null?void 0:Ct.className,(0,z.Z)({},pt,Ce>=1)),style:(0,Y.Z)((0,Y.Z)({},q),Ct==null?void 0:Ct.style)}),He.map(function(Gt,en){var pn=Gt.render,rn=Gt.dataIndex,ln=Gt.className,Mt=je(ge,Gt,en,Ce,ve),_t=Mt.key,Ot=Mt.fixedInfo,Xt=Mt.appendCellNode,un=Mt.additionalCellProps;return p.createElement(kt,(0,s.Z)({className:ln,ellipsis:Gt.ellipsis,align:Gt.align,scope:Gt.rowScope,component:Gt.rowScope?pe:oe,prefixCls:Re,key:_t,record:ae,index:ve,renderIndex:xe,dataIndex:rn,render:pn,shouldCellUpdate:Gt.shouldCellUpdate},Ot,{appendNode:Xt,additionalProps:un}))})),nn;if(St&&(Yt.current||Lt)){var fn=rt(ae,ve,Ce+1,Lt);nn=p.createElement(Ke,{expanded:Lt,className:y()("".concat(Re,"-expanded-row"),"".concat(Re,"-expanded-row-level-").concat(Ce+1),pt),prefixCls:Re,component:te,cellComponent:oe,colSpan:He.length,isEmpty:!1},fn)}return p.createElement(p.Fragment,null,cn,nn)}var Rt=h(ze);function Dt(M){var se=M.columnKey,q=M.onColumnResize,ae=p.useRef();return(0,X.Z)(function(){ae.current&&q(se,ae.current.offsetWidth)},[]),p.createElement(N.Z,{data:se},p.createElement("td",{ref:ae,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var it=u(29194);function Ft(M){var se=M.prefixCls,q=M.columnsKey,ae=M.onColumnResize,ve=p.useRef(null);return p.createElement("tr",{"aria-hidden":"true",className:"".concat(se,"-measure-row"),style:{height:0,fontSize:0},ref:ve},p.createElement(N.Z.Collection,{onBatchResize:function(Ie){(0,it.Z)(ve.current)&&Ie.forEach(function(Oe){var Ce=Oe.data,te=Oe.size;ae(Ce,te.offsetWidth)})}},q.map(function(xe){return p.createElement(Dt,{key:xe,columnKey:xe,onColumnResize:ae})})))}function dn(M){var se=M.data,q=M.measureColumnWidth,ae=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ve=ae.prefixCls,xe=ae.getComponent,Ie=ae.onColumnResize,Oe=ae.flattenColumns,Ce=ae.getRowKey,te=ae.expandedKeys,oe=ae.childrenColumnName,pe=ae.emptyNode,ge=fe(se,oe,te,Ce),Re=p.useRef({renderWithProps:!1}),He=xe(["body","wrapper"],"tbody"),ft=xe(["body","row"],"tr"),rt=xe(["body","cell"],"td"),Ct=xe(["body","cell"],"th"),Lt;se.length?Lt=ge.map(function(Yt,pt){var cn=Yt.record,nn=Yt.indent,fn=Yt.index,Gt=Ce(cn,pt);return p.createElement(Rt,{key:Gt,rowKey:Gt,record:cn,index:pt,renderIndex:fn,rowComponent:ft,cellComponent:rt,scopeCellComponent:Ct,indent:nn})}):Lt=p.createElement(Ke,{expanded:!0,className:"".concat(ve,"-placeholder"),prefixCls:ve,component:ft,cellComponent:rt,colSpan:Oe.length,isEmpty:!0},pe);var St=g(Oe);return p.createElement(w.Provider,{value:Re.current},p.createElement(He,{className:"".concat(ve,"-tbody")},q&&p.createElement(Ft,{prefixCls:ve,columnsKey:St,onColumnResize:Ie}),Lt))}var Et=h(dn),ht=u(54451),Pt=["columnType"];function sn(M){for(var se=M.colWidths,q=M.columns,ae=M.columCount,ve=e(l,["tableLayout"]),xe=ve.tableLayout,Ie=[],Oe=ae||q.length,Ce=!1,te=Oe-1;te>=0;te-=1){var oe=se[te],pe=q&&q[te],ge=void 0,Re=void 0;if(pe&&(ge=pe[ht.v],xe==="auto"&&(Re=pe.minWidth)),oe||Re||ge||Ce){var He=ge||{},ft=He.columnType,rt=(0,j.Z)(He,Pt);Ie.unshift(p.createElement("col",(0,s.Z)({key:te,style:{width:oe,minWidth:Re}},rt))),Ce=!0}}return p.createElement("colgroup",null,Ie)}var jt=sn,Bt=u(95190),Qt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function hn(M,se){return(0,p.useMemo)(function(){for(var q=[],ae=0;ae<se;ae+=1){var ve=M[ae];if(ve!==void 0)q[ae]=ve;else return null}return q},[M.join("_"),se])}var qe=p.forwardRef(function(M,se){var q=M.className,ae=M.noData,ve=M.columns,xe=M.flattenColumns,Ie=M.colWidths,Oe=M.columCount,Ce=M.stickyOffsets,te=M.direction,oe=M.fixHeader,pe=M.stickyTopOffset,ge=M.stickyBottomOffset,Re=M.stickyClassName,He=M.onScroll,ft=M.maxContentScroll,rt=M.children,Ct=(0,j.Z)(M,Qt),Lt=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),St=Lt.prefixCls,Yt=Lt.scrollbarSize,pt=Lt.isSticky,cn=Lt.getComponent,nn=cn(["header","table"],"table"),fn=pt&&!oe?0:Yt,Gt=p.useRef(null),en=p.useCallback(function(un){(0,c.mH)(se,un),(0,c.mH)(Gt,un)},[]);p.useEffect(function(){var un;function an(on){var jn=on,Xn=jn.currentTarget,$n=jn.deltaX;$n&&(He({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),on.preventDefault())}return(un=Gt.current)===null||un===void 0||un.addEventListener("wheel",an,{passive:!1}),function(){var on;(on=Gt.current)===null||on===void 0||on.removeEventListener("wheel",an)}},[]);var pn=p.useMemo(function(){return xe.every(function(un){return un.width})},[xe]),rn=xe[xe.length-1],ln={fixed:rn?rn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(St,"-cell-scrollbar")}}},Mt=(0,p.useMemo)(function(){return fn?[].concat((0,Bt.Z)(ve),[ln]):ve},[fn,ve]),_t=(0,p.useMemo)(function(){return fn?[].concat((0,Bt.Z)(xe),[ln]):xe},[fn,xe]),Ot=(0,p.useMemo)(function(){var un=Ce.right,an=Ce.left;return(0,Y.Z)((0,Y.Z)({},Ce),{},{left:te==="rtl"?[].concat((0,Bt.Z)(an.map(function(on){return on+fn})),[0]):an,right:te==="rtl"?un:[].concat((0,Bt.Z)(un.map(function(on){return on+fn})),[0]),isSticky:pt})},[fn,Ce,pt]),Xt=hn(Ie,Oe);return p.createElement("div",{style:(0,Y.Z)({overflow:"hidden"},pt?{top:pe,bottom:ge}:{}),ref:en,className:y()(q,(0,z.Z)({},Re,!!Re))},p.createElement(nn,{style:{tableLayout:"fixed",visibility:ae||Xt?null:"hidden"}},(!ae||!ft||pn)&&p.createElement(jt,{colWidths:Xt?[].concat((0,Bt.Z)(Xt),[fn]):[],columCount:Oe+1,columns:_t}),rt((0,Y.Z)((0,Y.Z)({},Ct),{},{stickyOffsets:Ot,columns:Mt,flattenColumns:_t}))))}),ct=p.memo(qe),vt=function(se){var q=se.cells,ae=se.stickyOffsets,ve=se.flattenColumns,xe=se.rowComponent,Ie=se.cellComponent,Oe=se.onHeaderRow,Ce=se.index,te=e(l,["prefixCls","direction"]),oe=te.prefixCls,pe=te.direction,ge;Oe&&(ge=Oe(q.map(function(He){return He.column}),Ce));var Re=g(q.map(function(He){return He.column}));return p.createElement(xe,ge,q.map(function(He,ft){var rt=He.column,Ct=Te(He.colStart,He.colEnd,ve,ae,pe),Lt;return rt&&rt.onHeaderCell&&(Lt=He.column.onHeaderCell(rt)),p.createElement(kt,(0,s.Z)({},He,{scope:rt.title?He.colSpan>1?"colgroup":"col":null,ellipsis:rt.ellipsis,align:rt.align,component:Ie,prefixCls:oe,key:Re[ft]},Ct,{additionalProps:Lt,rowType:"header"}))}))},Tn=vt;function _n(M){var se=[];function q(Ie,Oe){var Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;se[Ce]=se[Ce]||[];var te=Oe,oe=Ie.filter(Boolean).map(function(pe){var ge={key:pe.key,className:pe.className||"",children:pe.title,column:pe,colStart:te},Re=1,He=pe.children;return He&&He.length>0&&(Re=q(He,te,Ce+1).reduce(function(ft,rt){return ft+rt},0),ge.hasSubColumns=!0),"colSpan"in pe&&(Re=pe.colSpan),"rowSpan"in pe&&(ge.rowSpan=pe.rowSpan),ge.colSpan=Re,ge.colEnd=ge.colStart+Re-1,se[Ce].push(ge),te+=Re,Re});return oe}q(M,0);for(var ae=se.length,ve=function(Oe){se[Oe].forEach(function(Ce){!("rowSpan"in Ce)&&!Ce.hasSubColumns&&(Ce.rowSpan=ae-Oe)})},xe=0;xe<ae;xe+=1)ve(xe);return se}var Kn=function(se){var q=se.stickyOffsets,ae=se.columns,ve=se.flattenColumns,xe=se.onHeaderRow,Ie=e(l,["prefixCls","getComponent"]),Oe=Ie.prefixCls,Ce=Ie.getComponent,te=p.useMemo(function(){return _n(ae)},[ae]),oe=Ce(["header","wrapper"],"thead"),pe=Ce(["header","row"],"tr"),ge=Ce(["header","cell"],"th");return p.createElement(oe,{className:"".concat(Oe,"-thead")},te.map(function(Re,He){var ft=p.createElement(Tn,{key:He,flattenColumns:ve,cells:Re,stickyOffsets:q,rowComponent:pe,cellComponent:ge,onHeaderRow:xe,index:He});return ft}))},Bn=h(Kn),yn=u(97347);function Wt(M,se,q){var ae=(0,ht.g)(M),ve=ae.expandIcon,xe=ae.expandedRowKeys,Ie=ae.defaultExpandedRowKeys,Oe=ae.defaultExpandAllRows,Ce=ae.expandedRowRender,te=ae.onExpand,oe=ae.onExpandedRowsChange,pe=ae.childrenColumnName,ge=ve||Me,Re=pe||"children",He=p.useMemo(function(){return Ce?"row":M.expandable&&M.internalHooks===O.R&&M.expandable.__PARENT_RENDER_ICON__||se.some(function(pt){return pt&&(0,F.Z)(pt)==="object"&&pt[Re]})?"nest":!1},[!!Ce,se]),ft=p.useState(function(){return Ie||(Oe?Fe(se,q,Re):[])}),rt=(0,T.Z)(ft,2),Ct=rt[0],Lt=rt[1],St=p.useMemo(function(){return new Set(xe||Ct||[])},[xe,Ct]),Yt=p.useCallback(function(pt){var cn=q(pt,se.indexOf(pt)),nn,fn=St.has(cn);fn?(St.delete(cn),nn=(0,Bt.Z)(St)):nn=[].concat((0,Bt.Z)(St),[cn]),Lt(nn),te&&te(!fn,pt),oe&&oe(nn)},[q,St,se,te,oe]);return[ae,He,St,ge,Re,Yt]}function Dn(M,se,q){var ae=M.map(function(ve,xe){return Te(xe,xe,M,se,q)});return(0,d.Z)(function(){return ae},[ae],function(ve,xe){return!(0,V.Z)(ve,xe)})}function En(M){var se=(0,p.useRef)(M),q=(0,p.useState)({}),ae=(0,T.Z)(q,2),ve=ae[1],xe=(0,p.useRef)(null),Ie=(0,p.useRef)([]);function Oe(Ce){Ie.current.push(Ce);var te=Promise.resolve();xe.current=te,te.then(function(){if(xe.current===te){var oe=Ie.current,pe=se.current;Ie.current=[],oe.forEach(function(ge){se.current=ge(se.current)}),xe.current=null,pe!==se.current&&ve({})}})}return(0,p.useEffect)(function(){return function(){xe.current=null}},[]),[se.current,Oe]}function In(M){var se=(0,p.useRef)(M||null),q=(0,p.useRef)();function ae(){window.clearTimeout(q.current)}function ve(Ie){se.current=Ie,ae(),q.current=window.setTimeout(function(){se.current=null,q.current=void 0},100)}function xe(){return se.current}return(0,p.useEffect)(function(){return ae},[]),[ve,xe]}function Cn(){var M=p.useState(-1),se=(0,T.Z)(M,2),q=se[0],ae=se[1],ve=p.useState(-1),xe=(0,T.Z)(ve,2),Ie=xe[0],Oe=xe[1],Ce=p.useCallback(function(te,oe){ae(te),Oe(oe)},[]);return[q,Ie,Ce]}var Sn=u(47273),An=(0,Sn.Z)()?window:null;function Zn(M,se){var q=(0,F.Z)(M)==="object"?M:{},ae=q.offsetHeader,ve=ae===void 0?0:ae,xe=q.offsetSummary,Ie=xe===void 0?0:xe,Oe=q.offsetScroll,Ce=Oe===void 0?0:Oe,te=q.getContainer,oe=te===void 0?function(){return An}:te,pe=oe()||An,ge=!!M;return p.useMemo(function(){return{isSticky:ge,stickyClassName:ge?"".concat(se,"-sticky-holder"):"",offsetHeader:ve,offsetSummary:Ie,offsetScroll:Ce,container:pe}},[ge,Ce,ve,Ie,se,pe])}function zn(M,se,q){var ae=(0,p.useMemo)(function(){var ve=se.length,xe=function(te,oe,pe){for(var ge=[],Re=0,He=te;He!==oe;He+=pe)ge.push(Re),se[He].fixed&&(Re+=M[He]||0);return ge},Ie=xe(0,ve,1),Oe=xe(ve-1,-1,-1).reverse();return q==="rtl"?{left:Oe,right:Ie}:{left:Ie,right:Oe}},[M,se,q]);return ae}var Wn=zn;function Un(M){var se=M.className,q=M.children;return p.createElement("div",{className:se},q)}var ee=Un,J=u(8224),We=u(16089),De=u(76846);function Ye(M){var se=(0,De.bn)(M),q=se.getBoundingClientRect(),ae=document.documentElement;return{left:q.left+(window.pageXOffset||ae.scrollLeft)-(ae.clientLeft||document.body.clientLeft||0),top:q.top+(window.pageYOffset||ae.scrollTop)-(ae.clientTop||document.body.clientTop||0)}}var Xe=function(se,q){var ae,ve,xe=se.scrollBodyRef,Ie=se.onScroll,Oe=se.offsetScroll,Ce=se.container,te=se.direction,oe=e(l,"prefixCls"),pe=((ae=xe.current)===null||ae===void 0?void 0:ae.scrollWidth)||0,ge=((ve=xe.current)===null||ve===void 0?void 0:ve.clientWidth)||0,Re=pe&&ge*(ge/pe),He=p.useRef(),ft=En({scrollLeft:0,isHiddenScrollBar:!0}),rt=(0,T.Z)(ft,2),Ct=rt[0],Lt=rt[1],St=p.useRef({delta:0,x:0}),Yt=p.useState(!1),pt=(0,T.Z)(Yt,2),cn=pt[0],nn=pt[1],fn=p.useRef(null);p.useEffect(function(){return function(){We.Z.cancel(fn.current)}},[]);var Gt=function(){nn(!1)},en=function(_t){_t.persist(),St.current.delta=_t.pageX-Ct.scrollLeft,St.current.x=0,nn(!0),_t.preventDefault()},pn=function(_t){var Ot,Xt=_t||((Ot=window)===null||Ot===void 0?void 0:Ot.event),un=Xt.buttons;if(!cn||un===0){cn&&nn(!1);return}var an=St.current.x+_t.pageX-St.current.x-St.current.delta,on=te==="rtl";an=Math.max(on?Re-ge:0,Math.min(on?0:ge-Re,an));var jn=!on||Math.abs(an)+Math.abs(Re)<ge;jn&&(Ie({scrollLeft:an/ge*(pe+2)}),St.current.x=_t.pageX)},rn=function(){We.Z.cancel(fn.current),fn.current=(0,We.Z)(function(){if(xe.current){var _t=Ye(xe.current).top,Ot=_t+xe.current.offsetHeight,Xt=Ce===window?document.documentElement.scrollTop+window.innerHeight:Ye(Ce).top+Ce.clientHeight;Ot-(0,Z.Z)()<=Xt||_t>=Xt-Oe?Lt(function(un){return(0,Y.Z)((0,Y.Z)({},un),{},{isHiddenScrollBar:!0})}):Lt(function(un){return(0,Y.Z)((0,Y.Z)({},un),{},{isHiddenScrollBar:!1})})}})},ln=function(_t){Lt(function(Ot){return(0,Y.Z)((0,Y.Z)({},Ot),{},{scrollLeft:_t/pe*ge||0})})};return p.useImperativeHandle(q,function(){return{setScrollLeft:ln,checkScrollBarVisible:rn}}),p.useEffect(function(){var Mt=(0,J.Z)(document.body,"mouseup",Gt,!1),_t=(0,J.Z)(document.body,"mousemove",pn,!1);return rn(),function(){Mt.remove(),_t.remove()}},[Re,cn]),p.useEffect(function(){if(xe.current){for(var Mt=[],_t=(0,De.bn)(xe.current);_t;)Mt.push(_t),_t=_t.parentElement;return Mt.forEach(function(Ot){return Ot.addEventListener("scroll",rn,!1)}),window.addEventListener("resize",rn,!1),window.addEventListener("scroll",rn,!1),Ce.addEventListener("scroll",rn,!1),function(){Mt.forEach(function(Ot){return Ot.removeEventListener("scroll",rn)}),window.removeEventListener("resize",rn),window.removeEventListener("scroll",rn),Ce.removeEventListener("scroll",rn)}}},[Ce]),p.useEffect(function(){Ct.isHiddenScrollBar||Lt(function(Mt){var _t=xe.current;return _t?(0,Y.Z)((0,Y.Z)({},Mt),{},{scrollLeft:_t.scrollLeft/_t.scrollWidth*_t.clientWidth}):Mt})},[Ct.isHiddenScrollBar]),pe<=ge||!Re||Ct.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,Z.Z)(),width:ge,bottom:Oe},className:"".concat(oe,"-sticky-scroll")},p.createElement("div",{onMouseDown:en,ref:He,className:y()("".concat(oe,"-sticky-scroll-bar"),(0,z.Z)({},"".concat(oe,"-sticky-scroll-bar-active"),cn)),style:{width:"".concat(Re,"px"),transform:"translate3d(".concat(Ct.scrollLeft,"px, 0, 0)")}}))},me=p.forwardRef(Xe);function he(M){return null}var Ze=he;function Ge(M){return null}var at=Ge,mt="rc-table",nt=[],Ve={};function $(){return"No Data"}function ie(M,se){var q=(0,Y.Z)({rowKey:"key",prefixCls:mt,emptyText:$},M),ae=q.prefixCls,ve=q.className,xe=q.rowClassName,Ie=q.style,Oe=q.data,Ce=q.rowKey,te=q.scroll,oe=q.tableLayout,pe=q.direction,ge=q.title,Re=q.footer,He=q.summary,ft=q.caption,rt=q.id,Ct=q.showHeader,Lt=q.components,St=q.emptyText,Yt=q.onRow,pt=q.onHeaderRow,cn=q.onScroll,nn=q.internalHooks,fn=q.transformColumns,Gt=q.internalRefs,en=q.tailor,pn=q.getContainerWidth,rn=q.sticky,ln=q.rowHoverable,Mt=ln===void 0?!0:ln,_t=Oe||nt,Ot=!!_t.length,Xt=nn===O.R,un=p.useCallback(function(Ln,Fn){return(0,b.Z)(Lt,Ln)||Fn},[Lt]),an=p.useMemo(function(){return typeof Ce=="function"?Ce:function(Ln){var Fn=Ln&&Ln[Ce];return Fn}},[Ce]),on=un(["body"]),jn=Cn(),Xn=(0,T.Z)(jn,3),$n=Xn[0],sr=Xn[1],ir=Xn[2],qn=Wt(q,_t,an),vn=(0,T.Z)(qn,6),On=vn[0],Gn=vn[1],gn=vn[2],mn=vn[3],bn=vn[4],bt=vn[5],Jt=te==null?void 0:te.x,qt=p.useState(0),tn=(0,T.Z)(qt,2),Rn=tn[0],Mn=tn[1],xt=(0,yn.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({},q),On),{},{expandable:!!On.expandedRowRender,columnTitle:On.columnTitle,expandedKeys:gn,getRowKey:an,onTriggerExpand:bt,expandIcon:mn,expandIconColumnIndex:On.expandIconColumnIndex,direction:pe,scrollWidth:Xt&&en&&typeof Jt=="number"?Jt:null,clientWidth:Rn}),Xt?fn:null),Kt=(0,T.Z)(xt,4),wn=Kt[0],Vt=Kt[1],Pn=Kt[2],or=Kt[3],Hn=Pn!=null?Pn:Jt,fr=p.useMemo(function(){return{columns:wn,flattenColumns:Vt}},[wn,Vt]),ur=p.useRef(),vr=p.useRef(),Jn=p.useRef(),Fr=p.useRef();p.useImperativeHandle(se,function(){return{nativeElement:ur.current,scrollTo:function(Fn){var hr;if(Jn.current instanceof HTMLElement){var wr=Fn.index,pr=Fn.top,Hr=Fn.key;if(ce(pr)){var Lr;(Lr=Jn.current)===null||Lr===void 0||Lr.scrollTo({top:pr})}else{var Kr,Qr=Hr!=null?Hr:an(_t[wr]);(Kr=Jn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(hr=Jn.current)!==null&&hr!==void 0&&hr.scrollTo&&Jn.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(Vt),jr=Gr.map(function(Ln){return $r.get(Ln)}),Wr=p.useMemo(function(){return jr},[jr.join("_")]),Dr=Wn(Wr,Vt,pe),dr=te&&K(te.y),lr=te&&K(Hn)||!!On.fixed,kn=lr&&Vt.some(function(Ln){var Fn=Ln.fixed;return Fn}),xn=p.useRef(),nr=Zn(rn,ae),Qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,ar=p.useMemo(function(){return He==null?void 0:He(_t)},[He,_t]),mr=(dr||Qn)&&p.isValidElement(ar)&&ar.type===P&&ar.props.fixed,Rr,Er,Yr;dr&&(Er={overflowY:Ot?"scroll":"auto",maxHeight:te.y}),lr&&(Rr={overflowX:"auto"},dr||(Er={overflowY:"hidden"}),Yr={width:Hn===!0?"auto":Hn,minWidth:"100%"});var qr=p.useCallback(function(Ln,Fn){Mr(function(hr){if(hr.get(Ln)!==Fn){var wr=new Map(hr);return wr.set(Ln,Fn),wr}return hr})},[]),tr=In(null),Vn=(0,T.Z)(tr,2),Yn=Vn[0],_r=Vn[1];function cr(Ln,Fn){Fn&&(typeof Fn=="function"?Fn(Ln):Fn.scrollLeft!==Ln&&(Fn.scrollLeft=Ln,Fn.scrollLeft!==Ln&&setTimeout(function(){Fn.scrollLeft=Ln},0)))}var Cr=(0,W.Z)(function(Ln){var Fn=Ln.currentTarget,hr=Ln.scrollLeft,wr=pe==="rtl",pr=typeof hr=="number"?hr:Fn.scrollLeft,Hr=Fn||Ve;if(!_r()||_r()===Hr){var Lr;Yn(Hr),cr(pr,vr.current),cr(pr,Jn.current),cr(pr,Br.current),cr(pr,(Lr=xn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=Fn||vr.current;if(Kr){var Qr=Xt&&en&&typeof Hn=="number"?Hn:Kr.scrollWidth,oi=Kr.clientWidth;if(Qr===oi){Or(!1),Pr(!1);return}wr?(Or(-pr<Qr-oi),Pr(-pr>0)):(Or(pr>0),Pr(pr<Qr-oi))}}),Xr=(0,W.Z)(function(Ln){Cr(Ln),cn==null||cn(Ln)}),ei=function(){if(lr&&Jn.current){var Fn;Cr({currentTarget:(0,De.bn)(Jn.current),scrollLeft:(Fn=Jn.current)===null||Fn===void 0?void 0:Fn.scrollLeft})}else Or(!1),Pr(!1)},ti=function(Fn){var hr,wr=Fn.width;(hr=xn.current)===null||hr===void 0||hr.checkScrollBarVisible();var pr=ur.current?ur.current.offsetWidth:wr;Xt&&pn&&ur.current&&(pr=pn(ur.current,pr)||pr),pr!==Rn&&(ei(),Mn(pr))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ei()},[lr,Oe,wn.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(){(!en||!Xt)&&(Jn.current instanceof Element?li((0,Z.o)(Jn.current).width):li((0,Z.o)(Fr.current).width)),xi((0,U.G)("position","sticky"))},[]),p.useEffect(function(){Xt&&Gt&&(Gt.body.current=Jn.current)});var Ei=p.useCallback(function(Ln){return p.createElement(p.Fragment,null,p.createElement(Bn,Ln),mr==="top"&&p.createElement(S,Ln,ar))},[mr,ar]),Ci=p.useCallback(function(Ln){return p.createElement(S,Ln,ar)},[ar]),fi=un(["table"],"table"),ni=p.useMemo(function(){return oe||(kn?Hn==="max-content"?"auto":"fixed":dr||Qn||Vt.some(function(Ln){var Fn=Ln.ellipsis;return Fn})?"fixed":"auto")},[dr,kn,Vt,oe,Qn]),ri,ii={colWidths:Wr,columCount:Vt.length,stickyOffsets:Dr,onHeaderRow:pt,fixHeader:dr,scroll:te},di=p.useMemo(function(){return Ot?null:typeof St=="function"?St():St},[Ot,St]),hi=p.createElement(Et,{data:_t,measureColumnWidth:dr||lr||Qn}),pi=p.createElement(jt,{colWidths:Vt.map(function(Ln){var Fn=Ln.width;return Fn}),columns:Vt}),_i=ft!=null?p.createElement("caption",{className:"".concat(ae,"-caption")},ft):void 0,Si=(0,ne.Z)(q,{data:!0}),vi=(0,ne.Z)(q,{aria:!0});if(dr||Qn){var ai;typeof on=="function"?(ai=on(_t,{scrollbarSize:Vr,ref:Jn,onScroll:Cr}),ii.colWidths=Vt.map(function(Ln,Fn){var hr=Ln.width,wr=Fn===Vt.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:Jn,className:y()("".concat(ae,"-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:Vt},ar)));var mi=(0,Y.Z)((0,Y.Z)((0,Y.Z)({noData:!_t.length,maxContentScroll:lr&&Hn==="max-content"},ii),fr),{},{direction:pe,stickyClassName:gr,onScroll:Cr});ri=p.createElement(p.Fragment,null,Ct!==!1&&p.createElement(ct,(0,s.Z)({},mi,{stickyTopOffset:er,className:"".concat(ae,"-header"),ref:vr}),Ei),ai,mr&&mr!=="top"&&p.createElement(ct,(0,s.Z)({},mi,{stickyBottomOffset:rr,className:"".concat(ae,"-summary"),ref:Br}),Ci),Qn&&Jn.current&&Jn.current instanceof Element&&p.createElement(me,{ref:xn,offsetScroll:yr,scrollBodyRef:Jn,onScroll:Cr,container:xr,direction:pe}))}else ri=p.createElement("div",{style:(0,Y.Z)((0,Y.Z)({},Rr),Er),className:y()("".concat(ae,"-content")),onScroll:Cr,ref:Jn},p.createElement(fi,(0,s.Z)({style:(0,Y.Z)((0,Y.Z)({},Yr),{},{tableLayout:ni})},vi),_i,pi,Ct!==!1&&p.createElement(Bn,(0,s.Z)({},ii,fr)),hi,ar&&p.createElement(S,{stickyOffsets:Dr,flattenColumns:Vt},ar)));var si=p.createElement("div",(0,s.Z)({className:y()(ae,ve,(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(ae,"-rtl"),pe==="rtl"),"".concat(ae,"-ping-left"),Nr),"".concat(ae,"-ping-right"),Ar),"".concat(ae,"-layout-fixed"),oe==="fixed"),"".concat(ae,"-fixed-header"),dr),"".concat(ae,"-fixed-column"),kn),"".concat(ae,"-fixed-column-gapped"),kn&&or),"".concat(ae,"-scroll-horizontal"),lr),"".concat(ae,"-has-fix-left"),Vt[0]&&Vt[0].fixed),"".concat(ae,"-has-fix-right"),Vt[Vt.length-1]&&Vt[Vt.length-1].fixed==="right")),style:Ie,id:rt,ref:ur},Si),ge&&p.createElement(ee,{className:"".concat(ae,"-title")},ge(_t)),p.createElement("div",{ref:Fr,className:"".concat(ae,"-container")},ri),Re&&p.createElement(ee,{className:"".concat(ae,"-footer")},Re(_t)));lr&&(si=p.createElement(N.Z,{onResize:ti},si));var gi=Dn(Vt,Dr,pe),Ri=p.useMemo(function(){return{scrollX:Hn,prefixCls:ae,getComponent:un,scrollbarSize:Vr,direction:pe,fixedInfoList:gi,isSticky:Qn,supportSticky:ci,componentWidth:Rn,fixHeader:dr,fixColumn:kn,horizonScroll:lr,tableLayout:ni,rowClassName:xe,expandedRowClassName:On.expandedRowClassName,expandIcon:mn,expandableType:Gn,expandRowByClick:On.expandRowByClick,expandedRowRender:On.expandedRowRender,onTriggerExpand:bt,expandIconColumnIndex:On.expandIconColumnIndex,indentSize:On.indentSize,allColumnsFixedLeft:Vt.every(function(Ln){return Ln.fixed==="left"}),emptyNode:di,columns:wn,flattenColumns:Vt,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:sr,onHover:ir,rowExpandable:On.rowExpandable,onRow:Yt,getRowKey:an,expandedKeys:gn,childrenColumnName:bn,rowHoverable:Mt}},[Hn,ae,un,Vr,pe,gi,Qn,ci,Rn,dr,kn,lr,ni,xe,On.expandedRowClassName,mn,Gn,On.expandRowByClick,On.expandedRowRender,bt,On.expandIconColumnIndex,On.indentSize,di,wn,Vt,qr,$n,sr,ir,On.rowExpandable,Yt,an,gn,bn,Mt]);return p.createElement(l.Provider,{value:Ri},si)}var ue=p.forwardRef(ie);function _e(M){return C(ue,M)}var ke=_e();ke.EXPAND_COLUMN=O.w,ke.INTERNAL_HOOKS=O.R,ke.Column=Ze,ke.ColumnGroup=at,ke.Summary=B;var Be=ke,Pe=u(65283),$e=G(null),Qe=G(null);function ot(M,se,q){var ae=se||1;return q[M+ae]-(q[M]||0)}function It(M){var se=M.rowInfo,q=M.column,ae=M.colIndex,ve=M.indent,xe=M.index,Ie=M.component,Oe=M.renderIndex,Ce=M.record,te=M.style,oe=M.className,pe=M.inverse,ge=M.getHeight,Re=q.render,He=q.dataIndex,ft=q.className,rt=q.width,Ct=e(Qe,["columnsOffset"]),Lt=Ct.columnsOffset,St=je(se,q,ae,ve,xe),Yt=St.key,pt=St.fixedInfo,cn=St.appendCellNode,nn=St.additionalCellProps,fn=nn.style,Gt=nn.colSpan,en=Gt===void 0?1:Gt,pn=nn.rowSpan,rn=pn===void 0?1:pn,ln=ae-1,Mt=ot(ln,en,Lt),_t=en>1?rt-Mt:0,Ot=(0,Y.Z)((0,Y.Z)((0,Y.Z)({},fn),te),{},{flex:"0 0 ".concat(Mt,"px"),width:"".concat(Mt,"px"),marginRight:_t,pointerEvents:"auto"}),Xt=p.useMemo(function(){return pe?rn<=1:en===0||rn===0||rn>1},[rn,en,pe]);Xt?Ot.visibility="hidden":pe&&(Ot.height=ge==null?void 0:ge(rn));var un=Xt?function(){return null}:Re,an={};return(rn===0||en===0)&&(an.rowSpan=1,an.colSpan=1),p.createElement(kt,(0,s.Z)({className:y()(ft,oe),ellipsis:q.ellipsis,align:q.align,scope:q.rowScope,component:Ie,prefixCls:se.prefixCls,key:Yt,record:Ce,index:xe,renderIndex:Oe,dataIndex:He,render:un,shouldCellUpdate:q.shouldCellUpdate},pt,{appendNode:cn,additionalProps:(0,Y.Z)((0,Y.Z)({},nn),{},{style:Ot},an)}))}var ut=It,yt=["data","index","className","rowKey","style","extra","getHeight"],At=p.forwardRef(function(M,se){var q=M.data,ae=M.index,ve=M.className,xe=M.rowKey,Ie=M.style,Oe=M.extra,Ce=M.getHeight,te=(0,j.Z)(M,yt),oe=q.record,pe=q.indent,ge=q.index,Re=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),He=Re.scrollX,ft=Re.flattenColumns,rt=Re.prefixCls,Ct=Re.fixColumn,Lt=Re.componentWidth,St=e($e,["getComponent"]),Yt=St.getComponent,pt=be(oe,xe,ae,pe),cn=Yt(["body","row"],"div"),nn=Yt(["body","cell"],"div"),fn=pt.rowSupportExpand,Gt=pt.expanded,en=pt.rowProps,pn=pt.expandedRowRender,rn=pt.expandedRowClassName,ln;if(fn&&Gt){var Mt=pn(oe,ae,pe+1,Gt),_t=st(rn,oe,ae,pe),Ot={};Ct&&(Ot={style:(0,z.Z)({},"--virtual-width","".concat(Lt,"px"))});var Xt="".concat(rt,"-expanded-row-cell");ln=p.createElement(cn,{className:y()("".concat(rt,"-expanded-row"),"".concat(rt,"-expanded-row-level-").concat(pe+1),_t)},p.createElement(kt,{component:nn,prefixCls:rt,className:y()(Xt,(0,z.Z)({},"".concat(Xt,"-fixed"),Ct)),additionalProps:Ot},Mt))}var un=(0,Y.Z)((0,Y.Z)({},Ie),{},{width:He});Oe&&(un.position="absolute",un.pointerEvents="none");var an=p.createElement(cn,(0,s.Z)({},en,te,{"data-row-key":xe,ref:fn?null:se,className:y()(ve,"".concat(rt,"-row"),en==null?void 0:en.className,(0,z.Z)({},"".concat(rt,"-row-extra"),Oe)),style:(0,Y.Z)((0,Y.Z)({},un),en==null?void 0:en.style)}),ft.map(function(on,jn){return p.createElement(ut,{key:jn,component:nn,rowInfo:pt,column:on,colIndex:jn,indent:pe,index:ae,renderIndex:ge,record:oe,inverse:Oe,getHeight:Ce})}));return fn?p.createElement("div",{ref:se},an,ln):an}),Ht=h(At),zt=Ht,gt=p.forwardRef(function(M,se){var q=M.data,ae=M.onScroll,ve=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),xe=ve.flattenColumns,Ie=ve.onColumnResize,Oe=ve.getRowKey,Ce=ve.expandedKeys,te=ve.prefixCls,oe=ve.childrenColumnName,pe=ve.scrollX,ge=ve.direction,Re=e($e),He=Re.sticky,ft=Re.scrollY,rt=Re.listItemHeight,Ct=Re.getComponent,Lt=Re.onScroll,St=p.useRef(),Yt=fe(q,oe,Ce,Oe),pt=p.useMemo(function(){var ln=0;return xe.map(function(Mt){var _t=Mt.width,Ot=Mt.key;return ln+=_t,[Ot,_t,ln]})},[xe]),cn=p.useMemo(function(){return pt.map(function(ln){return ln[2]})},[pt]);p.useEffect(function(){pt.forEach(function(ln){var Mt=(0,T.Z)(ln,2),_t=Mt[0],Ot=Mt[1];Ie(_t,Ot)})},[pt]),p.useImperativeHandle(se,function(){var ln,Mt={scrollTo:function(Ot){var Xt;(Xt=St.current)===null||Xt===void 0||Xt.scrollTo(Ot)},nativeElement:(ln=St.current)===null||ln===void 0?void 0:ln.nativeElement};return Object.defineProperty(Mt,"scrollLeft",{get:function(){var Ot;return((Ot=St.current)===null||Ot===void 0?void 0:Ot.getScrollInfo().x)||0},set:function(Ot){var Xt;(Xt=St.current)===null||Xt===void 0||Xt.scrollTo({left:Ot})}}),Mt});var nn=function(Mt,_t){var Ot,Xt=(Ot=Yt[_t])===null||Ot===void 0?void 0:Ot.record,un=Mt.onCell;if(un){var an,on=un(Xt,_t);return(an=on==null?void 0:on.rowSpan)!==null&&an!==void 0?an:1}return 1},fn=function(Mt){var _t=Mt.start,Ot=Mt.end,Xt=Mt.getSize,un=Mt.offsetY;if(Ot<0)return null;for(var an=xe.filter(function(mn){return nn(mn,_t)===0}),on=_t,jn=function(bn){if(an=an.filter(function(bt){return nn(bt,bn)===0}),!an.length)return on=bn,1},Xn=_t;Xn>=0&&!jn(Xn);Xn-=1);for(var $n=xe.filter(function(mn){return nn(mn,Ot)!==1}),sr=Ot,ir=function(bn){if($n=$n.filter(function(bt){return nn(bt,bn)!==1}),!$n.length)return sr=Math.max(bn-1,Ot),1},qn=Ot;qn<Yt.length&&!ir(qn);qn+=1);for(var vn=[],On=function(bn){var bt=Yt[bn];if(!bt)return 1;xe.some(function(Jt){return nn(Jt,bn)>1})&&vn.push(bn)},Gn=on;Gn<=sr;Gn+=1)On(Gn);var gn=vn.map(function(mn){var bn=Yt[mn],bt=Oe(bn.record,mn),Jt=function(Rn){var Mn=mn+Rn-1,xt=Oe(Yt[Mn].record,Mn),Kt=Xt(bt,xt);return Kt.bottom-Kt.top},qt=Xt(bt);return p.createElement(zt,{key:mn,data:bn,rowKey:bt,index:mn,style:{top:-un+qt.top},extra:!0,getHeight:Jt})});return gn},Gt=p.useMemo(function(){return{columnsOffset:cn}},[cn]),en="".concat(te,"-tbody"),pn=Ct(["body","wrapper"]),rn={};return He&&(rn.position="sticky",rn.bottom=0,(0,F.Z)(He)==="object"&&He.offsetScroll&&(rn.bottom=He.offsetScroll)),p.createElement(Qe.Provider,{value:Gt},p.createElement(Pe.Z,{fullHeight:!1,ref:St,prefixCls:"".concat(en,"-virtual"),styles:{horizontalScrollBar:rn},className:en,height:ft,itemHeight:rt||24,data:Yt,itemKey:function(Mt){return Oe(Mt.record)},component:pn,scrollWidth:pe,direction:ge,onVirtualScroll:function(Mt){var _t,Ot=Mt.x;ae({currentTarget:(_t=St.current)===null||_t===void 0?void 0:_t.nativeElement,scrollLeft:Ot})},onScroll:Lt,extraRender:fn},function(ln,Mt,_t){var Ot=Oe(ln.record,Mt);return p.createElement(zt,{data:ln,rowKey:Ot,index:Mt,style:_t.style})}))}),wt=h(gt),et=wt,lt=function(se,q){var ae=q.ref,ve=q.onScroll;return p.createElement(et,{ref:ae,data:se,onScroll:ve})};function dt(M,se){var q=M.data,ae=M.columns,ve=M.scroll,xe=M.sticky,Ie=M.prefixCls,Oe=Ie===void 0?mt:Ie,Ce=M.className,te=M.listItemHeight,oe=M.components,pe=M.onScroll,ge=ve||{},Re=ge.x,He=ge.y;typeof Re!="number"&&(Re=1),typeof He!="number"&&(He=500);var ft=(0,Tt.zX)(function(Lt,St){return(0,b.Z)(oe,Lt)||St}),rt=(0,Tt.zX)(pe),Ct=p.useMemo(function(){return{sticky:xe,scrollY:He,listItemHeight:te,getComponent:ft,onScroll:rt}},[xe,He,te,ft,rt]);return p.createElement($e.Provider,{value:Ct},p.createElement(Be,(0,s.Z)({},M,{className:y()(Ce,"".concat(Oe,"-virtual")),scroll:(0,Y.Z)((0,Y.Z)({},ve),{},{x:Re}),components:(0,Y.Z)((0,Y.Z)({},oe),{},{body:q!=null&&q.length?lt:void 0}),columns:ae,internalHooks:O.R,tailor:!0,ref:se})))}var $t=p.forwardRef(dt);function Nt(M){return C($t,M)}var Ut=Nt(),Nn=null},54451:function(Zt,Le,u){"use strict";u.d(Le,{g:function(){return p},v:function(){return V}});var O=u(20439),T=u(62646),W=u(48736),X=["expandable"],V="RC_TABLE_INTERNAL_COL_DEFINE";function p(H){var G=H.expandable,e=(0,T.Z)(H,X),s;return"expandable"in H?s=(0,O.Z)((0,O.Z)({},e),G):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Zt,Le,u){"use strict";u.d(Le,{G:function(){return 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(14809),p=u(20439),H=u(62646),G=u(65966),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,ce=_.align,Se=ce===void 0?{}:ce,Ae=_.destroyTooltipOnHide,Ue=Ae===void 0?!1:Ae,tt=_.defaultVisible,Tt=_.getTooltipContainer,Ee=_.overlayInnerStyle,Je=_.arrowContent,kt=_.overlay,Te=_.id,Ne=_.showArrow,le=Ne===void 0?!0:Ne,E=_.classNames,j=_.styles,D=(0,H.Z)(_,o),re=(0,a.Z)(Te),de=(0,W.useRef)(null);(0,W.useImperativeHandle)(f,function(){return de.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)},kt)},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":kt?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:de,popupAlign:Se,getPopupContainer:Tt,onPopupVisibleChange:R,afterPopupVisibleChange:A,popupTransitionName:w,popupAnimation:n,popupMotion:i,defaultPopupVisible:tt,autoDestroy:Ue,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(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return _}});var O=u(14809),T=u(4635),W=u(20439),X=u(50298),V=u(62646),p=u(59301),H=u(92310),G=u.n(H),e=u(26112),s=u(30699),c=function(l){for(var k=l.prefixCls,I=l.level,L=l.isStart,F=l.isEnd,Y="".concat(k,"-indent-unit"),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,ce=l.domRef,Se=l.active,Ae=l.data,Ue=l.onMouseMove,tt=l.selectable,Tt=(0,V.Z)(l,o),Ee=p.useContext(s.k),Je=p.useContext(s.y),kt=p.useRef(null),Te=p.useState(!1),Ne=(0,X.Z)(Te,2),le=Ne[0],E=Ne[1],j=!!(Ee.disabled||l.disabled||(k=Je.nodeDisabled)!==null&&k!==void 0&&k.call(Je,Ae)),D=p.useMemo(function(){return!Ee.checkable||l.checkable===!1?!1:Ee.checkable},[Ee.checkable,l.checkable]),re=function(ct){j||Ee.onNodeSelect(ct,(0,a.F)(l))},de=function(ct){j||!D||l.disableCheckbox||Ee.onNodeCheck(ct,(0,a.F)(l),!i)},P=p.useMemo(function(){return typeof tt=="boolean"?tt:Ee.selectable},[tt,Ee.selectable]),v=function(ct){Ee.onNodeClick(ct,(0,a.F)(l)),P?re(ct):de(ct)},S=function(ct){Ee.onNodeDoubleClick(ct,(0,a.F)(l))},B=function(ct){Ee.onNodeMouseEnter(ct,(0,a.F)(l))},N=function(ct){Ee.onNodeMouseLeave(ct,(0,a.F)(l))},U=function(ct){Ee.onNodeContextMenu(ct,(0,a.F)(l))},Z=p.useMemo(function(){return!!(Ee.draggable&&(!Ee.draggable.nodeDraggable||Ee.draggable.nodeDraggable(Ae)))},[Ee.draggable,Ae]),ne=function(ct){ct.stopPropagation(),E(!0),Ee.onNodeDragStart(ct,l);try{ct.dataTransfer.setData("text/plain","")}catch(vt){}},Q=function(ct){ct.preventDefault(),ct.stopPropagation(),Ee.onNodeDragEnter(ct,l)},fe=function(ct){ct.preventDefault(),ct.stopPropagation(),Ee.onNodeDragOver(ct,l)},be=function(ct){ct.stopPropagation(),Ee.onNodeDragLeave(ct,l)},we=function(ct){ct.stopPropagation(),E(!1),Ee.onNodeDragEnd(ct,l)},Ke=function(ct){ct.preventDefault(),ct.stopPropagation(),E(!1),Ee.onNodeDrop(ct,l)},Me=function(ct){K||Ee.onNodeExpand(ct,(0,a.F)(l))},Fe=p.useMemo(function(){var qe=(0,r.Z)(Ee.keyEntities,F)||{},ct=qe.children;return!!(ct||[]).length},[Ee.keyEntities,F]),st=p.useMemo(function(){return b===!1?!1:b||!Ee.loadData&&!Fe||Ee.loadData&&l.loaded&&!Fe},[b,Ee.loadData,Fe,l.loaded]);p.useEffect(function(){K||typeof Ee.loadData=="function"&&w&&!st&&!l.loaded&&Ee.onNodeLoad((0,a.F)(l))},[K,Ee.loadData,Ee.onNodeLoad,w,st,l]);var je=p.useMemo(function(){var qe;return(qe=Ee.draggable)!==null&&qe!==void 0&&qe.icon?p.createElement("span",{className:"".concat(Ee.prefixCls,"-draggable-icon")},Ee.draggable.icon):null},[Ee.draggable]),ze=function(ct){var vt=l.switcherIcon||Ee.switcherIcon;return typeof vt=="function"?vt((0,W.Z)((0,W.Z)({},l),{},{isLeaf:ct})):vt},Rt=function(){if(st){var ct=ze(!0);return ct!==!1?p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-switcher"),"".concat(Ee.prefixCls,"-switcher-noop"))},ct):null}var vt=ze(!1);return vt!==!1?p.createElement("span",{onClick:Me,className:G()("".concat(Ee.prefixCls,"-switcher"),"".concat(Ee.prefixCls,"-switcher_").concat(w?m:x))},vt):null},Dt=p.useMemo(function(){if(!D)return null;var qe=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:de,role:"checkbox","aria-checked":g?"mixed":i,"aria-disabled":j||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},qe)},[D,i,g,j,l.disableCheckbox,l.title]),it=p.useMemo(function(){return st?null:w?m:x},[st,w]),Ft=p.useMemo(function(){return p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-iconEle"),"".concat(Ee.prefixCls,"-icon__").concat(it||"docu"),(0,T.Z)({},"".concat(Ee.prefixCls,"-icon_loading"),K))})},[Ee.prefixCls,it,K]),dn=p.useMemo(function(){var qe=!!Ee.draggable,ct=!l.disabled&&qe&&Ee.dragOverNodeKey===F;return ct?Ee.dropIndicatorRender({dropPosition:Ee.dropPosition,dropLevelOffset:Ee.dropLevelOffset,indent:Ee.indent,prefixCls:Ee.prefixCls,direction:Ee.direction}):null},[Ee.dropPosition,Ee.dropLevelOffset,Ee.indent,Ee.prefixCls,Ee.direction,Ee.draggable,Ee.dragOverNodeKey,Ee.dropIndicatorRender]),Et=p.useMemo(function(){var qe=l.title,ct=qe===void 0?C:qe,vt="".concat(Ee.prefixCls,"-node-content-wrapper"),Tn;if(Ee.showIcon){var _n=l.icon||Ee.icon;Tn=_n?p.createElement("span",{className:G()("".concat(Ee.prefixCls,"-iconEle"),"".concat(Ee.prefixCls,"-icon__customize"))},typeof _n=="function"?_n(l):_n):Ft}else Ee.loadData&&K&&(Tn=Ft);var Kn;return typeof ct=="function"?Kn=ct(Ae):Ee.titleRender?Kn=Ee.titleRender(Ae):Kn=ct,p.createElement("span",{ref:kt,title:typeof ct=="string"?ct:"",className:G()(vt,"".concat(vt,"-").concat(it||"normal"),(0,T.Z)({},"".concat(Ee.prefixCls,"-node-selected"),!j&&(n||le))),onMouseEnter:B,onMouseLeave:N,onContextMenu:U,onClick:v,onDoubleClick:S},Tn,p.createElement("span",{className:"".concat(Ee.prefixCls,"-title")},Kn),dn)},[Ee.prefixCls,Ee.showIcon,l,Ee.icon,Ft,Ee.titleRender,Ae,it,B,N,U,v,S]),ht=(0,e.Z)(Tt,{aria:!0,data:!0}),Pt=(0,r.Z)(Ee.keyEntities,F)||{},sn=Pt.level,jt=A[A.length-1],Bt=!j&&Z,Qt=Ee.draggingNodeKey===F,hn=tt!==void 0?{"aria-selected":!!tt}:void 0;return p.createElement("div",(0,O.Z)({ref:ce,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"),jt),"".concat(Ee.prefixCls,"-treenode-draggable"),Z),"dragging",Qt),(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"),st))),style:z,draggable:Bt,onDragStart:Bt?ne:void 0,onDragEnter:Z?Q:void 0,onDragOver:Z?fe:void 0,onDragLeave:Z?be:void 0,onDrop:Z?Ke:void 0,onDragEnd:Z?we:void 0,onMouseMove:Ue},hn,ht),p.createElement(t,{prefixCls:Ee.prefixCls,level:sn,isStart:R,isEnd:A}),je,Rt(),Dt,Et)};h.isTreeNode=1;var _=h},30699:function(Zt,Le,u){"use strict";u.d(Le,{k:function(){return T},y:function(){return W}});var O=u(59301),T=O.createContext(null),W=O.createContext({})},29530:function(Zt,Le,u){"use strict";u.d(Le,{OF:function(){return F.Z},y6:function(){return x.y},ZP:function(){return j}});var O=u(14809),T=u(93664),W=u(20439),X=u(95190),V=u(99153),p=u(84851),H=u(13028),G=u(19257),e=u(93046),s=u(4635),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 de=re.dropPosition,P=re.dropLevelOffset,v=re.indent,S={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(de){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(50298),l=u(62646),k=u(34280),I=u(65283),L=u(77900),F=u(639);function Y(D,re){var de=m.useState(!1),P=(0,f.Z)(de,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 de=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),fe=m.useState(!0),be=(0,f.Z)(fe,2),we=be[0],Ke=be[1],Me=m.useContext(x.k),Fe=Me.prefixCls,st=S&&B!=="hide";(0,k.Z)(function(){S&&st!==we&&Ke(st)},[S]);var je=function(){S&&N()},ze=m.useRef(!1),Rt=function(){S&&!ze.current&&(ze.current=!0,U())};z(je,Rt);var Dt=function(Ft){st===Ft&&Rt()};return S?m.createElement(L.default,(0,O.Z)({ref:re,visible:we},v,{motionAppear:B==="show",onVisibleChanged:Dt}),function(it,Ft){var dn=it.className,Et=it.style;return m.createElement("div",{ref:Ft,className:t()("".concat(Fe,"-treenode-motion"),dn),style:Et},S.map(function(ht){var Pt=Object.assign({},(_(ht.data),ht.data)),sn=ht.title,jt=ht.key,Bt=ht.isStart,Qt=ht.isEnd;delete Pt.children;var hn=(0,ye.H8)(jt,ne);return m.createElement(F.Z,(0,O.Z)({},Pt,hn,{title:sn,active:Z,data:ht.data,key:jt,isStart:Bt,isEnd:Qt}))}))}):m.createElement(F.Z,(0,O.Z)({domRef:re,className:de,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]:[],de=D.length,P=re.length;if(Math.abs(de-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 de<P?{add:!0,key:v(D,re)}:{add:!1,key:v(re,D)}}function A(D,re,de){var P=D.findIndex(function(N){return N.key===de}),v=D[P+1],S=re.findIndex(function(N){return N.key===de});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},ce={key:g,level:0,index:0,pos:"0",node:K,nodes:[K]},Se={parent:null,children:[],pos:ce.pos,data:K,title:null,key:g,isStart:[],isEnd:[]};function Ae(D,re,de,P){return re===!1||!de?D:D.slice(0,Math.ceil(de/P)+1)}function Ue(D){var re=D.key,de=D.pos;return(0,ye.km)(re,de)}function tt(D){for(var re=String(D.data.key),de=D;de.parent;)de=de.parent,re="".concat(de.data.key," > ").concat(re);return re}var Tt=m.forwardRef(function(D,re){var de=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,fe=D.keyEntities,be=D.disabled,we=D.dragging,Ke=D.dragOverNodeKey,Me=D.dropPosition,Fe=D.motion,st=D.height,je=D.itemHeight,ze=D.virtual,Rt=D.scrollWidth,Dt=D.focusable,it=D.activeItem,Ft=D.focused,dn=D.tabIndex,Et=D.onKeyDown,ht=D.onFocus,Pt=D.onBlur,sn=D.onActiveChange,jt=D.onListChangeStart,Bt=D.onListChangeEnd,Qt=(0,l.Z)(D,w),hn=m.useRef(null),qe=m.useRef(null);m.useImperativeHandle(re,function(){return{scrollTo:function(he){hn.current.scrollTo(he)},getIndentWidth:function(){return qe.current.offsetWidth}}});var ct=m.useState(B),vt=(0,f.Z)(ct,2),Tn=vt[0],_n=vt[1],Kn=m.useState(P),Bn=(0,f.Z)(Kn,2),yn=Bn[0],Wt=Bn[1],Dn=m.useState(P),En=(0,f.Z)(Dn,2),In=En[0],Cn=En[1],Sn=m.useState([]),An=(0,f.Z)(Sn,2),Zn=An[0],zn=An[1],Wn=m.useState(null),Un=(0,f.Z)(Wn,2),ee=Un[0],J=Un[1],We=m.useRef(P);We.current=P;function De(){var me=We.current;Wt(me),Cn(me),zn([]),J(null),Bt()}(0,k.Z)(function(){_n(B);var me=R(Tn,B);if(me.key!==null)if(me.add){var he=yn.findIndex(function(Ve){var $=Ve.key;return $===me.key}),Ze=Ae(A(yn,P,me.key),ze,st,je),Ge=yn.slice();Ge.splice(he+1,0,Se),Cn(Ge),zn(Ze),J("show")}else{var at=P.findIndex(function(Ve){var $=Ve.key;return $===me.key}),mt=Ae(A(P,yn,me.key),ze,st,je),nt=P.slice();nt.splice(at+1,0,Se),Cn(nt),zn(mt),J("hide")}else yn!==P&&(Wt(P),Cn(P))},[B,P]),m.useEffect(function(){we||De()},[we]);var Ye=Fe?In:P,Xe={expandedKeys:B,selectedKeys:N,loadedKeys:Z,loadingKeys:ne,checkedKeys:U,halfCheckedKeys:Q,dragOverNodeKey:Ke,dropPosition:Me,keyEntities:fe};return m.createElement(m.Fragment,null,Ft&&it&&m.createElement("span",{style:n,"aria-live":"assertive"},tt(it)),m.createElement("div",null,m.createElement("input",{style:n,disabled:Dt===!1||be,tabIndex:Dt!==!1?dn:null,onKeyDown:Et,onFocus:ht,onBlur:Pt,value:"",onChange:i,"aria-label":"for screen reader"})),m.createElement("div",{className:"".concat(de,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},m.createElement("div",{className:"".concat(de,"-indent")},m.createElement("div",{ref:qe,className:"".concat(de,"-indent-unit")}))),m.createElement(I.Z,(0,O.Z)({},Qt,{data:Ye,itemKey:Ue,height:st,fullHeight:!1,virtual:ze,itemHeight:je,scrollWidth:Rt,prefixCls:"".concat(de,"-list"),ref:hn,role:"tree",onVisibleChange:function(he){he.every(function(Ze){return Ue(Ze)!==g})&&De()}}),function(me){var he=me.pos,Ze=Object.assign({},(_(me.data),me.data)),Ge=me.title,at=me.key,mt=me.isStart,nt=me.isEnd,Ve=(0,ye.km)(at,he);delete Ze.key,delete Ze.children;var $=(0,ye.H8)(Ve,Xe);return m.createElement(b,(0,O.Z)({},Ze,$,{title:Ge,active:!!it&&at===it.key,pos:he,data:me.data,isStart:mt,isEnd:nt,motion:Fe,motionNodes:at===g?Zn:null,motionType:ee,onMotionStart:jt,onMotionEnd:De,treeNodeRequiredProps:Xe,onMouseMove:function(){sn(null)}}))}))}),Ee=Tt,Je=u(82661),kt=u(34643),Te=u(65065),Ne=10,le=function(D){(0,G.Z)(de,D);var re=(0,e.Z)(de);function de(){var P;(0,V.Z)(this,de);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,H.Z)(P),"destroyed",!1),(0,s.Z)((0,H.Z)(P),"delayedDragEnterLogic",void 0),(0,s.Z)((0,H.Z)(P),"loadingRetryTimes",{}),(0,s.Z)((0,H.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,H.Z)(P),"dragStartMousePosition",null),(0,s.Z)((0,H.Z)(P),"dragNodeProps",null),(0,s.Z)((0,H.Z)(P),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,H.Z)(P),"listRef",m.createRef()),(0,s.Z)((0,H.Z)(P),"onNodeDragStart",function(N,U){var Z=P.state,ne=Z.expandedKeys,Q=Z.keyEntities,fe=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),fe==null||fe({event:N,node:(0,ye.F)(U)})}),(0,s.Z)((0,H.Z)(P),"onNodeDragEnter",function(N,U){var Z=P.state,ne=Z.expandedKeys,Q=Z.keyEntities,fe=Z.dragChildrenKeys,be=Z.flattenNodes,we=Z.indent,Ke=P.props,Me=Ke.onDragEnter,Fe=Ke.onExpand,st=Ke.allowDrop,je=Ke.direction,ze=U.pos,Rt=U.eventKey;if(P.currentMouseOverDroppableNodeKey!==Rt&&(P.currentMouseOverDroppableNodeKey=Rt),!P.dragNodeProps){P.resetDragState();return}var Dt=(0,Je.OM)(N,P.dragNodeProps,U,we,P.dragStartMousePosition,st,be,Q,ne,je),it=Dt.dropPosition,Ft=Dt.dropLevelOffset,dn=Dt.dropTargetKey,Et=Dt.dropContainerKey,ht=Dt.dropTargetPos,Pt=Dt.dropAllowed,sn=Dt.dragOverNodeKey;if(fe.includes(dn)||!Pt){P.resetDragState();return}if(P.delayedDragEnterLogic||(P.delayedDragEnterLogic={}),Object.keys(P.delayedDragEnterLogic).forEach(function(jt){clearTimeout(P.delayedDragEnterLogic[jt])}),P.dragNodeProps.eventKey!==U.eventKey&&(N.persist(),P.delayedDragEnterLogic[ze]=window.setTimeout(function(){if(P.state.draggingNodeKey!==null){var jt=(0,X.Z)(ne),Bt=(0,Te.Z)(Q,U.eventKey);Bt&&(Bt.children||[]).length&&(jt=(0,Je.L0)(ne,U.eventKey)),P.props.hasOwnProperty("expandedKeys")||P.setExpandedKeys(jt),Fe==null||Fe(jt,{node:(0,ye.F)(U),expanded:!0,nativeEvent:N.nativeEvent})}},800)),P.dragNodeProps.eventKey===dn&&Ft===0){P.resetDragState();return}P.setState({dragOverNodeKey:sn,dropPosition:it,dropLevelOffset:Ft,dropTargetKey:dn,dropContainerKey:Et,dropTargetPos:ht,dropAllowed:Pt}),Me==null||Me({event:N,node:(0,ye.F)(U),expandedKeys:ne})}),(0,s.Z)((0,H.Z)(P),"onNodeDragOver",function(N,U){var Z=P.state,ne=Z.dragChildrenKeys,Q=Z.flattenNodes,fe=Z.keyEntities,be=Z.expandedKeys,we=Z.indent,Ke=P.props,Me=Ke.onDragOver,Fe=Ke.allowDrop,st=Ke.direction;if(P.dragNodeProps){var je=(0,Je.OM)(N,P.dragNodeProps,U,we,P.dragStartMousePosition,Fe,Q,fe,be,st),ze=je.dropPosition,Rt=je.dropLevelOffset,Dt=je.dropTargetKey,it=je.dropContainerKey,Ft=je.dropTargetPos,dn=je.dropAllowed,Et=je.dragOverNodeKey;ne.includes(Dt)||!dn||(P.dragNodeProps.eventKey===Dt&&Rt===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():ze===P.state.dropPosition&&Rt===P.state.dropLevelOffset&&Dt===P.state.dropTargetKey&&it===P.state.dropContainerKey&&Ft===P.state.dropTargetPos&&dn===P.state.dropAllowed&&Et===P.state.dragOverNodeKey||P.setState({dropPosition:ze,dropLevelOffset:Rt,dropTargetKey:Dt,dropContainerKey:it,dropTargetPos:Ft,dropAllowed:dn,dragOverNodeKey:Et}),Me==null||Me({event:N,node:(0,ye.F)(U)}))}}),(0,s.Z)((0,H.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,H.Z)(P),"onWindowDragEnd",function(N){P.onNodeDragEnd(N,null,!0),window.removeEventListener("dragend",P.onWindowDragEnd)}),(0,s.Z)((0,H.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,H.Z)(P),"onNodeDrop",function(N,U){var Z,ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Q=P.state,fe=Q.dragChildrenKeys,be=Q.dropPosition,we=Q.dropTargetKey,Ke=Q.dropTargetPos,Me=Q.dropAllowed;if(Me){var Fe=P.props.onDrop;if(P.setState({dragOverNodeKey:null}),P.cleanDragState(),we!==null){var st=(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,Te.Z)(P.state.keyEntities,we).node}),je=fe.includes(we);(0,o.ZP)(!je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ze=(0,Je.yx)(Ke),Rt={event:N,node:(0,ye.F)(st),dragNode:P.dragNodeProps?(0,ye.F)(P.dragNodeProps):null,dragNodesKeys:[P.dragNodeProps.eventKey].concat(fe),dropToGap:be!==0,dropPosition:be+Number(ze[ze.length-1])};ne||Fe==null||Fe(Rt),P.dragNodeProps=null}}}),(0,s.Z)((0,H.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,H.Z)(P),"triggerExpandActionExpand",function(N,U){var Z=P.state,ne=Z.expandedKeys,Q=Z.flattenNodes,fe=U.expanded,be=U.key,we=U.isLeaf;if(!(we||N.shiftKey||N.metaKey||N.ctrlKey)){var Ke=Q.filter(function(Fe){return Fe.key===be})[0],Me=(0,ye.F)((0,W.Z)((0,W.Z)({},(0,ye.H8)(be,P.getTreeNodeRequiredProps())),{},{data:Ke.data}));P.setExpandedKeys(fe?(0,Je._5)(ne,be):(0,Je.L0)(ne,be)),P.onNodeExpand(N,Me)}}),(0,s.Z)((0,H.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,H.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,H.Z)(P),"onNodeSelect",function(N,U){var Z=P.state.selectedKeys,ne=P.state,Q=ne.keyEntities,fe=ne.fieldNames,be=P.props,we=be.onSelect,Ke=be.multiple,Me=U.selected,Fe=U[fe.key],st=!Me;st?Ke?Z=(0,Je.L0)(Z,Fe):Z=[Fe]:Z=(0,Je._5)(Z,Fe);var je=Z.map(function(ze){var Rt=(0,Te.Z)(Q,ze);return Rt?Rt.node:null}).filter(Boolean);P.setUncontrolledState({selectedKeys:Z}),we==null||we(Z,{event:"select",selected:st,node:U,selectedNodes:je,nativeEvent:N.nativeEvent})}),(0,s.Z)((0,H.Z)(P),"onNodeCheck",function(N,U,Z){var ne=P.state,Q=ne.keyEntities,fe=ne.checkedKeys,be=ne.halfCheckedKeys,we=P.props,Ke=we.checkStrictly,Me=we.onCheck,Fe=U.key,st,je={event:"check",node:U,checked:Z,nativeEvent:N.nativeEvent};if(Ke){var ze=Z?(0,Je.L0)(fe,Fe):(0,Je._5)(fe,Fe),Rt=(0,Je._5)(be,Fe);st={checked:ze,halfChecked:Rt},je.checkedNodes=ze.map(function(ht){return(0,Te.Z)(Q,ht)}).filter(Boolean).map(function(ht){return ht.node}),P.setUncontrolledState({checkedKeys:ze})}else{var Dt=(0,kt.S)([].concat((0,X.Z)(fe),[Fe]),!0,Q),it=Dt.checkedKeys,Ft=Dt.halfCheckedKeys;if(!Z){var dn=new Set(it);dn.delete(Fe);var Et=(0,kt.S)(Array.from(dn),{checked:!1,halfCheckedKeys:Ft},Q);it=Et.checkedKeys,Ft=Et.halfCheckedKeys}st=it,je.checkedNodes=[],je.checkedNodesPositions=[],je.halfCheckedKeys=Ft,it.forEach(function(ht){var Pt=(0,Te.Z)(Q,ht);if(Pt){var sn=Pt.node,jt=Pt.pos;je.checkedNodes.push(sn),je.checkedNodesPositions.push({node:sn,pos:jt})}}),P.setUncontrolledState({checkedKeys:it},!1,{halfCheckedKeys:Ft})}Me==null||Me(st,je)}),(0,s.Z)((0,H.Z)(P),"onNodeLoad",function(N){var U,Z=N.key,ne=P.state.keyEntities,Q=(0,Te.Z)(ne,Z);if(!(Q!=null&&(U=Q.children)!==null&&U!==void 0&&U.length)){var fe=new Promise(function(be,we){P.setState(function(Ke){var Me=Ke.loadedKeys,Fe=Me===void 0?[]:Me,st=Ke.loadingKeys,je=st===void 0?[]:st,ze=P.props,Rt=ze.loadData,Dt=ze.onLoad;if(!Rt||Fe.includes(Z)||je.includes(Z))return null;var it=Rt(N);return it.then(function(){var Ft=P.state.loadedKeys,dn=(0,Je.L0)(Ft,Z);Dt==null||Dt(dn,{event:"load",node:N}),P.setUncontrolledState({loadedKeys:dn}),P.setState(function(Et){return{loadingKeys:(0,Je._5)(Et.loadingKeys,Z)}}),be()}).catch(function(Ft){if(P.setState(function(Et){return{loadingKeys:(0,Je._5)(Et.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(Ft)}),{loadingKeys:(0,Je.L0)(je,Z)}})});return fe.catch(function(){}),fe}}),(0,s.Z)((0,H.Z)(P),"onNodeMouseEnter",function(N,U){var Z=P.props.onMouseEnter;Z==null||Z({event:N,node:U})}),(0,s.Z)((0,H.Z)(P),"onNodeMouseLeave",function(N,U){var Z=P.props.onMouseLeave;Z==null||Z({event:N,node:U})}),(0,s.Z)((0,H.Z)(P),"onNodeContextMenu",function(N,U){var Z=P.props.onRightClick;Z&&(N.preventDefault(),Z({event:N,node:U}))}),(0,s.Z)((0,H.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,H.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,H.Z)(P),"getTreeNodeRequiredProps",function(){var N=P.state,U=N.expandedKeys,Z=N.selectedKeys,ne=N.loadedKeys,Q=N.loadingKeys,fe=N.checkedKeys,be=N.halfCheckedKeys,we=N.dragOverNodeKey,Ke=N.dropPosition,Me=N.keyEntities;return{expandedKeys:U||[],selectedKeys:Z||[],loadedKeys:ne||[],loadingKeys:Q||[],checkedKeys:fe||[],halfCheckedKeys:be||[],dragOverNodeKey:we,dropPosition:Ke,keyEntities:Me}}),(0,s.Z)((0,H.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,H.Z)(P),"onNodeExpand",function(N,U){var Z=P.state.expandedKeys,ne=P.state,Q=ne.listChanging,fe=ne.fieldNames,be=P.props,we=be.onExpand,Ke=be.loadData,Me=U.expanded,Fe=U[fe.key];if(!Q){var st=Z.includes(Fe),je=!Me;if((0,o.ZP)(Me&&st||!Me&&!st,"Expand state not sync with index check"),Z=je?(0,Je.L0)(Z,Fe):(0,Je._5)(Z,Fe),P.setExpandedKeys(Z),we==null||we(Z,{node:U,expanded:je,nativeEvent:N.nativeEvent}),je&&Ke){var ze=P.onNodeLoad(U);ze&&ze.then(function(){var Rt=(0,ye.oH)(P.state.treeData,Z,fe);P.setUncontrolledState({flattenNodes:Rt})}).catch(function(){var Rt=P.state.expandedKeys,Dt=(0,Je._5)(Rt,Fe);P.setExpandedKeys(Dt)})}}}),(0,s.Z)((0,H.Z)(P),"onListChangeStart",function(){P.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,H.Z)(P),"onListChangeEnd",function(){setTimeout(function(){P.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,H.Z)(P),"onActiveChange",function(N){var U=P.state.activeKey,Z=P.props,ne=Z.onActiveChange,Q=Z.itemScrollOffset,fe=Q===void 0?0:Q;U!==N&&(P.setState({activeKey:N}),N!==null&&P.scrollTo({key:N,offset:fe}),ne==null||ne(N))}),(0,s.Z)((0,H.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,H.Z)(P),"offsetActiveKey",function(N){var U=P.state,Z=U.flattenNodes,ne=U.activeKey,Q=Z.findIndex(function(we){var Ke=we.key;return Ke===ne});Q===-1&&N<0&&(Q=Z.length),Q=(Q+N+Z.length)%Z.length;var fe=Z[Q];if(fe){var be=fe.key;P.onActiveChange(be)}else P.onActiveChange(null)}),(0,s.Z)((0,H.Z)(P),"onKeyDown",function(N){var U=P.state,Z=U.activeKey,ne=U.expandedKeys,Q=U.checkedKeys,fe=U.fieldNames,be=P.props,we=be.onKeyDown,Ke=be.checkable,Me=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 Fe=P.getActiveItem();if(Fe&&Fe.data){var st=P.getTreeNodeRequiredProps(),je=Fe.data.isLeaf===!1||!!(Fe.data[fe.children]||[]).length,ze=(0,ye.F)((0,W.Z)((0,W.Z)({},(0,ye.H8)(Z,st)),{},{data:Fe.data,active:!0}));switch(N.which){case r.Z.LEFT:{je&&ne.includes(Z)?P.onNodeExpand({},ze):Fe.parent&&P.onActiveChange(Fe.parent.key),N.preventDefault();break}case r.Z.RIGHT:{je&&!ne.includes(Z)?P.onNodeExpand({},ze):Fe.children&&Fe.children.length&&P.onActiveChange(Fe.children[0].key),N.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Ke&&!ze.disabled&&ze.checkable!==!1&&!ze.disableCheckbox?P.onNodeCheck({},ze,!Q.includes(Z)):!Ke&&Me&&!ze.disabled&&ze.selectable!==!1&&P.onNodeSelect({},ze);break}}}we==null||we(N)}),(0,s.Z)((0,H.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,fe={};Object.keys(N).forEach(function(be){if(P.props.hasOwnProperty(be)){Q=!1;return}ne=!0,fe[be]=N[be]}),ne&&(!U||Q)&&P.setState((0,W.Z)((0,W.Z)({},fe),Z))}}),(0,s.Z)((0,H.Z)(P),"scrollTo",function(N){P.listRef.current.scrollTo(N)}),P}return(0,p.Z)(de,[{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,fe=v.dropTargetKey,be=v.dropPosition,we=v.dragOverNodeKey,Ke=v.indent,Me=this.props,Fe=Me.prefixCls,st=Me.className,je=Me.style,ze=Me.showLine,Rt=Me.focusable,Dt=Me.tabIndex,it=Dt===void 0?0:Dt,Ft=Me.selectable,dn=Me.showIcon,Et=Me.icon,ht=Me.switcherIcon,Pt=Me.draggable,sn=Me.checkable,jt=Me.checkStrictly,Bt=Me.disabled,Qt=Me.motion,hn=Me.loadData,qe=Me.filterTreeNode,ct=Me.height,vt=Me.itemHeight,Tn=Me.scrollWidth,_n=Me.virtual,Kn=Me.titleRender,Bn=Me.dropIndicatorRender,yn=Me.onContextMenu,Wt=Me.onScroll,Dn=Me.direction,En=Me.rootClassName,In=Me.rootStyle,Cn=(0,a.Z)(this.props,{aria:!0,data:!0}),Sn;Pt&&((0,T.Z)(Pt)==="object"?Sn=Pt:typeof Pt=="function"?Sn={nodeDraggable:Pt}:Sn={});var An={prefixCls:Fe,selectable:Ft,showIcon:dn,icon:Et,switcherIcon:ht,draggable:Sn,draggingNodeKey:U,checkable:sn,checkStrictly:jt,disabled:Bt,keyEntities:N,dropLevelOffset:ne,dropContainerKey:Q,dropTargetKey:fe,dropPosition:be,dragOverNodeKey:we,indent:Ke,direction:Dn,dropIndicatorRender:Bn,loadData:hn,filterTreeNode:qe,titleRender:Kn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return m.createElement(x.k.Provider,{value:An},m.createElement("div",{className:t()(Fe,st,En,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(Fe,"-show-line"),ze),"".concat(Fe,"-focused"),S),"".concat(Fe,"-active-focused"),Z!==null)),style:In},m.createElement(Ee,(0,O.Z)({ref:this.listRef,prefixCls:Fe,style:je,data:B,disabled:Bt,selectable:Ft,checkable:!!sn,motion:Qt,dragging:U!==null,height:ct,itemHeight:vt,virtual:_n,focusable:Rt,focused:S,tabIndex:it,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:yn,onScroll:Wt,scrollWidth:Tn},this.getTreeNodeRequiredProps(),Cn))))}}],[{key:"getDerivedStateFromProps",value:function(v,S){var B=S.prevProps,N={prevProps:v};function U(it){return!B&&v.hasOwnProperty(it)||B&&B[it]!==v[it]}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,ce),Q.keyEntities)}var fe=N.keyEntities||S.keyEntities;if(U("expandedKeys")||B&&U("autoExpandParent"))N.expandedKeys=v.autoExpandParent||!B&&v.defaultExpandParent?(0,Je.r7)(v.expandedKeys,fe):v.expandedKeys;else if(!B&&v.defaultExpandAll){var be=(0,W.Z)({},fe);delete be[g];var we=[];Object.keys(be).forEach(function(it){var Ft=be[it];Ft.children&&Ft.children.length&&we.push(Ft.key)}),N.expandedKeys=we}else!B&&v.defaultExpandedKeys&&(N.expandedKeys=v.autoExpandParent||v.defaultExpandParent?(0,Je.r7)(v.defaultExpandedKeys,fe):v.defaultExpandedKeys);if(N.expandedKeys||delete N.expandedKeys,Z||N.expandedKeys){var Ke=(0,ye.oH)(Z||S.treeData,N.expandedKeys||S.expandedKeys,ne);N.flattenNodes=Ke}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 Me;if(U("checkedKeys")?Me=(0,Je.E6)(v.checkedKeys)||{}:!B&&v.defaultCheckedKeys?Me=(0,Je.E6)(v.defaultCheckedKeys)||{}:Z&&(Me=(0,Je.E6)(v.checkedKeys)||{checkedKeys:S.checkedKeys,halfCheckedKeys:S.halfCheckedKeys}),Me){var Fe=Me,st=Fe.checkedKeys,je=st===void 0?[]:st,ze=Fe.halfCheckedKeys,Rt=ze===void 0?[]:ze;if(!v.checkStrictly){var Dt=(0,kt.S)(je,!0,fe);je=Dt.checkedKeys,Rt=Dt.halfCheckedKeys}N.checkedKeys=je,N.halfCheckedKeys=Rt}}return U("loadedKeys")&&(N.loadedKeys=v.loadedKeys),N}}]),de}(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(Zt,Le,u){"use strict";u.d(Le,{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(95190),T=u(93664),W=u(48736),X=u(59301),V=u(639),p=u(65065),H=u(34061),G=null;function e(f,l){if(!f)return[];var k=f.slice(),I=k.indexOf(l);return I>=0&&k.splice(I,1),k}function s(f,l){var k=(f||[]).slice();return k.indexOf(l)===-1&&k.push(l),k}function c(f){return f.split("-")}function t(f,l){var k=[],I=(0,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}),ce=(0,p.Z)(z,k.eventKey);if(R<w+n/2){var Se=Y.findIndex(function(j){return j.key===ce.key}),Ae=Se<=0?0:Se-1,Ue=Y[Ae].key;ce=(0,p.Z)(z,Ue)}var tt=ce.key,Tt=ce,Ee=ce.key,Je=0,kt=0;if(!K.includes(tt))for(var Te=0;Te<g&&r(ce);Te+=1)ce=ce.parent,kt+=1;var Ne=l.data,le=ce.node,E=!0;return a(ce)&&ce.level===0&&R<w+n/2&&F({dragNode:Ne,dropNode:le,dropPosition:-1})&&ce.key===k.eventKey?Je=-1:(Tt.children||[]).length&&K.includes(Ee)?F({dragNode:Ne,dropNode:le,dropPosition:0})?Je=0:E=!1:kt===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:kt,dropTargetKey:ce.key,dropTargetPos:ce.pos,dragOverNodeKey:Ee,dropContainerKey:Je===0?null:((d=ce.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(Zt,Le,u){"use strict";u.d(Le,{S:function(){return H}});var O=u(48736),T=u(65065);function W(G,e){var s=new Set;return G.forEach(function(c){e.has(c)||s.add(c)}),s}function 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 H(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(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return O}});function O(T,W){return T[W]}},34061:function(Zt,Le,u){"use strict";u.d(Le,{F:function(){return _},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(93664),T=u(95190),W=u(20439),X=u(62646),V=u(11592),p=u(2738),H=u(48736),G=u(65065),e=["children"];function s(f,l){return"".concat(f,"-").concat(l)}function c(f){return f&&f.type&&f.type.isTreeNode}function t(f,l){return f!=null?f:l}function r(f){var l=f||{},k=l.title,I=l._title,L=l.key,F=l.children,Y=k||"title";return{title:Y,_title:I||[Y],key:L||"key",children:F||"children"}}function a(f,l){var k=new Map;function I(L){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(L||[]).forEach(function(Y){var 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,H.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 ce=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(ce),l===!0||z.has(n)?ce.children=y(R[Y]||[],ce):ce.children=[],ce})}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,ce=w?s(i.pos,n):"0",Se=w?[].concat((0,T.Z)(g),[w]):[];if(w){var Ae=R(w,ce),Ue={node:w,index:n,pos:ce,key:Ae,parentPos:i.node?i.pos:null,level:i.level+1,nodes:Se};l(Ue)}K&&K.forEach(function(tt,Tt){A(tt,Tt,{node:w,pos:ce,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,ce=A.level,Se=A.nodes,Ae={node:w,nodes:Se,index:n,key:g,pos:i,level:ce},Ue=t(g,i);d[i]=Ae,b[Ue]=Ae,Ae.parent=d[K],Ae.parent&&(Ae.parent.children=Ae.parent.children||[],Ae.parent.children.push(Ae)),I&&I(Ae,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,H.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),f}}),w}},8224:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return T}});var O=u(4676);function T(W,X,V,p){var H=O.unstable_batchedUpdates?function(e){O.unstable_batchedUpdates(V,e)}:V;return W!=null&&W.addEventListener&&W.addEventListener(X,H,p),{remove:function(){W!=null&&W.removeEventListener&&W.removeEventListener(X,H,p)}}}},24514:function(Zt,Le,u){"use strict";u.d(Le,{G:function(){return X}});var O=u(47273),T=function(p){if((0,O.Z)()&&window.document.documentElement){var H=Array.isArray(p)?p:[p],G=window.document.documentElement;return H.some(function(e){return e in G.style})}return!1},W=function(p,H){if(!T(p))return!1;var G=document.createElement("div"),e=G.style[p];return G.style[p]=H,G.style[p]!==e};function X(V,p){return!Array.isArray(V)&&p!==void 0?W(V,p):T(V)}},49658:function(Zt,Le){"use strict";Le.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var u=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(u)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(u==null?void 0:u.substr(0,4))}},65283:function(Zt,Le,u){"use strict";u.d(Le,{Z:function(){return Ne}});var O=u(14809),T=u(93664),W=u(20439),X=u(4635),V=u(50298),p=u(62646),H=u(92310),G=u.n(H),e=u(29301),s=u(70425),c=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(le,E){var j=le.height,D=le.offsetY,re=le.offsetX,de=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 fe=Q.offsetHeight;fe&&v&&v()}},t.createElement("div",(0,O.Z)({style:Z,className:G()((0,X.Z)({},"".concat(P,"-holder-inner"),P)),ref:E},S),de,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,de,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(fe){return de(B,fe)}},Z)})}function C(le,E,j,D){var re=j-le,de=E-j,P=Math.min(re,de)*2;if(D<=P){var v=Math.floor(D/2);return D%2?j+v+1:j-v}return re>de?j-(D-de):j+(D-re)}function h(le,E,j){var D=le.length,re=E.length,de,P;if(D===0&&re===0)return null;D<re?(de=le,P=E):(de=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(de[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),de=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(de||[],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),de=(0,t.useRef)(null);function P(){clearTimeout(de.current),re.current=!0,de.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(de.current),re.current=!1):(!U||re.current)&&P(),!re.current&&U}};function L(le,E,j,D,re,de,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(Ke,Me){if(f.Z.cancel(S.current),!U(!1,Me)){var Fe=Ke;if(!Fe._virtualHandled)Fe._virtualHandled=!0;else return;v.current+=Me,B.current=Me,k||Fe.preventDefault(),S.current=(0,f.Z)(function(){var st=N.current?10:1;P(v.current*st,!1),v.current=0})}}function ne(Ke,Me){P(Me,!0),k||Ke.preventDefault()}var Q=(0,t.useRef)(null),fe=(0,t.useRef)(null);function be(Ke){if(le){f.Z.cancel(fe.current),fe.current=(0,f.Z)(function(){Q.current=null},2);var Me=Ke.deltaX,Fe=Ke.deltaY,st=Ke.shiftKey,je=Me,ze=Fe;(Q.current==="sx"||!Q.current&&st&&Fe&&!Me)&&(je=Fe,ze=0,Q.current="sx");var Rt=Math.abs(je),Dt=Math.abs(ze);Q.current===null&&(Q.current=de&&Rt>Dt?"x":"y"),Q.current==="y"?Z(Ke,ze):ne(Ke,je)}}function we(Ke){le&&(N.current=Ke.detail===B.current)}return[be,we]}function F(le,E,j,D){var re=t.useMemo(function(){return[new Map,[]]},[le,j.id,D]),de=(0,V.Z)(re,2),P=de[0],v=de[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,fe=v.length;fe<Q;fe+=1){var be,we=le[fe],Ke=E(we);P.set(Ke,fe);var Me=(be=j.get(Ke))!==null&&be!==void 0?be:D;if(v[fe]=(v[fe-1]||0)+Me,Ke===N&&(Z=fe),Ke===U&&(ne=fe),Z!==void 0&&ne!==void 0)break}return{top:v[Z-1]||0,bottom:v[ne]}};return S}var Y=u(99153),z=u(84851),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),de=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(Ke,Me){if(Ke&&Ke.offsetParent){var Fe=Ke.offsetHeight,st=getComputedStyle(Ke),je=st.marginTop,ze=st.marginBottom,Rt=d(je),Dt=d(ze),it=Fe+Rt+Dt;S.current.get(Me)!==it&&(S.current.set(Me,it),we=!0)}}),we&&P(function(Ke){return Ke+1})};if(ne)Q();else{B.current+=1;var fe=B.current;Promise.resolve().then(function(){fe===B.current&&Q()})}}function Z(ne,Q){var fe=le(ne),be=v.current.get(fe);Q?(v.current.set(fe,Q),U()):v.current.delete(fe),!be!=!Q&&(Q?E==null||E(ne):j==null||j(ne))}return(0,t.useEffect)(function(){return N},[]),[Z,U,S.current,de]}var R=14/15;function A(le,E,j){var D=(0,t.useRef)(!1),re=(0,t.useRef)(0),de=(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),fe=Math.ceil(ne.touches[0].pageY),be=re.current-Q,we=de.current-fe,Ke=Math.abs(be)>Math.abs(we);Ke?re.current=Q:de.current=fe;var Me=j(Ke,Ke?be:we,!1,ne);Me&&ne.preventDefault(),clearInterval(v.current),Me&&(v.current=setInterval(function(){Ke?be*=R:we*=R;var Fe=Math.floor(Ke?be:we);(!j(Ke,Fe,!0)||Math.abs(Fe)<=.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),de.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,de,P,v=function(){f.Z.cancel(de)},S=function Z(){v(),de=(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),fe=D.getBoundingClientRect(),be=fe.top,we=fe.bottom;if(Q<=be){var Ke=be-Q;P=-w(Ke),S()}else if(Q>=we){var Me=Q-we;P=w(Me),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,de,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(Qt){return(0,W.Z)({},Qt)});return}de();var ne=U.targetAlign,Q=U.originAlign,fe=U.index,be=U.offset,we=le.current.clientHeight,Ke=!1,Me=ne,Fe=null;if(we){for(var st=ne||Q,je=0,ze=0,Rt=0,Dt=Math.min(E.length-1,fe),it=0;it<=Dt;it+=1){var Ft=re(E[it]);ze=je;var dn=j.get(Ft);Rt=ze+(dn===void 0?D:dn),je=Rt}for(var Et=st==="top"?be:we-be,ht=Dt;ht>=0;ht-=1){var Pt=re(E[ht]),sn=j.get(Pt);if(sn===void 0){Ke=!0;break}if(Et-=sn,Et<=0)break}switch(st){case"top":Fe=ze-be;break;case"bottom":Fe=Rt-we+be;break;default:{var jt=le.current.scrollTop,Bt=jt+we;ze<jt?Me="top":Rt>Bt&&(Me="bottom")}}Fe!==null&&P(Fe),Fe!==U.lastTop&&(Ke=!0)}Ke&&Z((0,W.Z)((0,W.Z)({},U),{},{times:U.times+1,targetAlign:Me,lastTop:Fe}))}},[U,le.current]),function(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,fe=ne.align;"index"in ne?Q=ne.index:Q=E.findIndex(function(Ke){return re(Ke)===ne.key});var be=ne.offset,we=be===void 0?0:be;Z({times:0,index:Q,offset:we,originAlign:fe})}}}var ce=t.forwardRef(function(le,E){var j=le.prefixCls,D=le.rtl,re=le.scrollOffset,de=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,fe=t.useState(!1),be=(0,V.Z)(fe,2),we=be[0],Ke=be[1],Me=t.useState(null),Fe=(0,V.Z)(Me,2),st=Fe[0],je=Fe[1],ze=t.useState(null),Rt=(0,V.Z)(ze,2),Dt=Rt[0],it=Rt[1],Ft=!D,dn=t.useRef(),Et=t.useRef(),ht=t.useState(Q),Pt=(0,V.Z)(ht,2),sn=Pt[0],jt=Pt[1],Bt=t.useRef(),Qt=function(){Q===!0||Q===!1||(clearTimeout(Bt.current),jt(!0),Bt.current=setTimeout(function(){jt(!1)},3e3))},hn=de-U||0,qe=U-N||0,ct=t.useMemo(function(){if(re===0||hn===0)return 0;var En=re/hn;return En*qe},[re,hn,qe]),vt=function(In){In.stopPropagation(),In.preventDefault()},Tn=t.useRef({top:ct,dragging:we,pageY:st,startTop:Dt});Tn.current={top:ct,dragging:we,pageY:st,startTop:Dt};var _n=function(In){Ke(!0),je(n(In,B)),it(Tn.current.top),P(),In.stopPropagation(),In.preventDefault()};t.useEffect(function(){var En=function(An){An.preventDefault()},In=dn.current,Cn=Et.current;return In.addEventListener("touchstart",En,{passive:!1}),Cn.addEventListener("touchstart",_n,{passive:!1}),function(){In.removeEventListener("touchstart",En),Cn.removeEventListener("touchstart",_n)}},[]);var Kn=t.useRef();Kn.current=hn;var Bn=t.useRef();Bn.current=qe,t.useEffect(function(){if(we){var En,In=function(An){var Zn=Tn.current,zn=Zn.dragging,Wn=Zn.pageY,Un=Zn.startTop;f.Z.cancel(En);var ee=dn.current.getBoundingClientRect(),J=U/(B?ee.width:ee.height);if(zn){var We=(n(An,B)-Wn)*J,De=Un;!Ft&&B?De-=We:De+=We;var Ye=Kn.current,Xe=Bn.current,me=Xe?De/Xe:0,he=Math.ceil(me*Ye);he=Math.max(he,0),he=Math.min(he,Ye),En=(0,f.Z)(function(){S(he,B)})}},Cn=function(){Ke(!1),v()};return window.addEventListener("mousemove",In,{passive:!0}),window.addEventListener("touchmove",In,{passive:!0}),window.addEventListener("mouseup",Cn,{passive:!0}),window.addEventListener("touchend",Cn,{passive:!0}),function(){window.removeEventListener("mousemove",In),window.removeEventListener("touchmove",In),window.removeEventListener("mouseup",Cn),window.removeEventListener("touchend",Cn),f.Z.cancel(En)}}},[we]),t.useEffect(function(){return Qt(),function(){clearTimeout(Bt.current)}},[re]),t.useImperativeHandle(E,function(){return{delayHidden:Qt}});var yn="".concat(j,"-scrollbar"),Wt={position:"absolute",visibility:sn?null:"hidden"},Dn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return B?(Wt.height=8,Wt.left=0,Wt.right=0,Wt.bottom=0,Dn.height="100%",Dn.width=N,Ft?Dn.left=ct:Dn.right=ct):(Wt.width=8,Wt.top=0,Wt.bottom=0,Ft?Wt.right=0:Wt.left=0,Dn.width="100%",Dn.height=N,Dn.top=ct),t.createElement("div",{ref:dn,className:G()(yn,(0,X.Z)((0,X.Z)((0,X.Z)({},"".concat(yn,"-horizontal"),B),"".concat(yn,"-vertical"),!B),"".concat(yn,"-visible"),sn)),style:(0,W.Z)((0,W.Z)({},Wt),Z),onMouseDown:vt,onMouseMove:Qt},t.createElement("div",{ref:Et,className:G()("".concat(yn,"-thumb"),(0,X.Z)({},"".concat(yn,"-thumb-moving"),we)),style:(0,W.Z)((0,W.Z)({},Dn),ne),onMouseDown:_n}))}),Se=ce,Ae=20;function Ue(){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,Ae),Math.floor(j)}var tt=["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,de=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,fe=le.scrollWidth,be=le.component,we=be===void 0?"div":be,Ke=le.onScroll,Me=le.onVirtualScroll,Fe=le.onVisibleChange,st=le.innerProps,je=le.extraRender,ze=le.styles,Rt=le.showScrollBar,Dt=Rt===void 0?"optional":Rt,it=(0,p.Z)(le,tt),Ft=t.useCallback(function(te){return typeof Z=="function"?Z(te):te==null?void 0:te[Z]},[Z]),dn=b(Ft,null,null),Et=(0,V.Z)(dn,4),ht=Et[0],Pt=Et[1],sn=Et[2],jt=Et[3],Bt=!!(ne!==!1&&de&&P),Qt=t.useMemo(function(){return Object.values(sn.maps).reduce(function(te,oe){return te+oe},0)},[sn.id,sn.maps]),hn=Bt&&N&&(Math.max(P*N.length,Qt)>de||!!fe),qe=Q==="rtl",ct=G()(D,(0,X.Z)({},"".concat(D,"-rtl"),qe),re),vt=N||Tt,Tn=(0,t.useRef)(),_n=(0,t.useRef)(),Kn=(0,t.useRef)(),Bn=(0,t.useState)(0),yn=(0,V.Z)(Bn,2),Wt=yn[0],Dn=yn[1],En=(0,t.useState)(0),In=(0,V.Z)(En,2),Cn=In[0],Sn=In[1],An=(0,t.useState)(!1),Zn=(0,V.Z)(An,2),zn=Zn[0],Wn=Zn[1],Un=function(){Wn(!0)},ee=function(){Wn(!1)},J={getKey:Ft};function We(te){Dn(function(oe){var pe;typeof te=="function"?pe=te(oe):pe=te;var ge=It(pe);return Tn.current.scrollTop=ge,ge})}var De=(0,t.useRef)({start:0,end:vt.length}),Ye=(0,t.useRef)(),Xe=_(vt,Ft),me=(0,V.Z)(Xe,1),he=me[0];Ye.current=he;var Ze=t.useMemo(function(){if(!Bt)return{scrollHeight:void 0,start:0,end:vt.length-1,offset:void 0};if(!hn){var te;return{scrollHeight:((te=_n.current)===null||te===void 0?void 0:te.offsetHeight)||0,start:0,end:vt.length-1,offset:void 0}}for(var oe=0,pe,ge,Re,He=vt.length,ft=0;ft<He;ft+=1){var rt=vt[ft],Ct=Ft(rt),Lt=sn.get(Ct),St=oe+(Lt===void 0?P:Lt);St>=Wt&&pe===void 0&&(pe=ft,ge=oe),St>Wt+de&&Re===void 0&&(Re=ft),oe=St}return pe===void 0&&(pe=0,ge=0,Re=Math.ceil(de/P)),Re===void 0&&(Re=vt.length-1),Re=Math.min(Re+1,vt.length-1),{scrollHeight:oe,start:pe,end:Re,offset:ge}},[hn,Bt,Wt,vt,jt,de]),Ge=Ze.scrollHeight,at=Ze.start,mt=Ze.end,nt=Ze.offset;De.current.start=at,De.current.end=mt,t.useLayoutEffect(function(){var te=sn.getRecord();if(te.size===1){var oe=Array.from(te.keys())[0],pe=te.get(oe),ge=vt[at];if(ge&&pe===void 0){var Re=Ft(ge);if(Re===oe){var He=sn.get(oe),ft=He-P;We(function(rt){return rt+ft})}}}sn.resetRecord()},[Ge]);var Ve=t.useState({width:0,height:de}),$=(0,V.Z)(Ve,2),ie=$[0],ue=$[1],_e=function(oe){ue({width:oe.offsetWidth,height:oe.offsetHeight})},ke=(0,t.useRef)(),Be=(0,t.useRef)(),Pe=t.useMemo(function(){return Ue(ie.width,fe)},[ie.width,fe]),$e=t.useMemo(function(){return Ue(ie.height,Ge)},[ie.height,Ge]),Qe=Ge-de,ot=(0,t.useRef)(Qe);ot.current=Qe;function It(te){var oe=te;return Number.isNaN(ot.current)||(oe=Math.min(oe,ot.current)),oe=Math.max(oe,0),oe}var ut=Wt<=0,yt=Wt>=Qe,At=Cn<=0,Ht=Cn>=fe,zt=I(ut,yt,At,Ht),gt=function(){return{x:qe?-Cn:Cn,y:Wt}},wt=(0,t.useRef)(gt()),et=(0,s.zX)(function(te){if(Me){var oe=(0,W.Z)((0,W.Z)({},gt()),te);(wt.current.x!==oe.x||wt.current.y!==oe.y)&&(Me(oe),wt.current=oe)}});function lt(te,oe){var pe=te;oe?((0,r.flushSync)(function(){Sn(pe)}),et()):We(pe)}function dt(te){var oe=te.currentTarget.scrollTop;oe!==Wt&&We(oe),Ke==null||Ke(te),et()}var $t=function(oe){var pe=oe,ge=fe?fe-ie.width:0;return pe=Math.max(pe,0),pe=Math.min(pe,ge),pe},Nt=(0,s.zX)(function(te,oe){oe?((0,r.flushSync)(function(){Sn(function(pe){var ge=pe+(qe?-te:te);return $t(ge)})}),et()):We(function(pe){var ge=pe+te;return ge})}),Ut=L(Bt,ut,yt,At,Ht,!!fe,Nt),Nn=(0,V.Z)(Ut,2),M=Nn[0],se=Nn[1];A(Bt,Tn,function(te,oe,pe,ge){var Re=ge;return zt(te,oe,pe)?!1:!Re||!Re._virtualHandled?(Re&&(Re._virtualHandled=!0),M({preventDefault:function(){},deltaX:te?oe:0,deltaY:te?0:oe}),!0):!1}),i(hn,Tn,function(te){We(function(oe){return oe+te})}),(0,c.Z)(function(){function te(pe){var ge=ut&&pe.detail<0,Re=yt&&pe.detail>0;Bt&&!ge&&!Re&&pe.preventDefault()}var oe=Tn.current;return oe.addEventListener("wheel",M,{passive:!1}),oe.addEventListener("DOMMouseScroll",se,{passive:!0}),oe.addEventListener("MozMousePixelScroll",te,{passive:!1}),function(){oe.removeEventListener("wheel",M),oe.removeEventListener("DOMMouseScroll",se),oe.removeEventListener("MozMousePixelScroll",te)}},[Bt,ut,yt]),(0,c.Z)(function(){if(fe){var te=$t(Cn);Sn(te),et({x:te})}},[ie.width,fe]);var q=function(){var oe,pe;(oe=ke.current)===null||oe===void 0||oe.delayHidden(),(pe=Be.current)===null||pe===void 0||pe.delayHidden()},ae=K(Tn,vt,sn,P,Ft,function(){return Pt(!0)},We,q);t.useImperativeHandle(E,function(){return{nativeElement:Kn.current,getScrollInfo:gt,scrollTo:function(oe){function pe(ge){return ge&&(0,T.Z)(ge)==="object"&&("left"in ge||"top"in ge)}pe(oe)?(oe.left!==void 0&&Sn($t(oe.left)),ae(oe.top)):ae(oe)}}}),(0,c.Z)(function(){if(Fe){var te=vt.slice(at,mt+1);Fe(te,vt)}},[at,mt,vt]);var ve=F(vt,Ft,sn,P),xe=je==null?void 0:je({start:at,end:mt,virtual:hn,offsetX:Cn,offsetY:nt,rtl:qe,getSize:ve}),Ie=x(vt,at,mt,fe,Cn,ht,U,J),Oe=null;de&&(Oe=(0,W.Z)((0,X.Z)({},S?"height":"maxHeight",de),Ee),Bt&&(Oe.overflowY="hidden",fe&&(Oe.overflowX="hidden"),zn&&(Oe.pointerEvents="none")));var Ce={};return qe&&(Ce.dir="rtl"),t.createElement("div",(0,O.Z)({ref:Kn,style:(0,W.Z)((0,W.Z)({},B),{},{position:"relative"}),className:ct},Ce,it),t.createElement(e.Z,{onResize:_e},t.createElement(we,{className:"".concat(D,"-holder"),style:Oe,ref:Tn,onScroll:dt,onMouseEnter:q},t.createElement(o,{prefixCls:D,height:Ge,offsetX:Cn,offsetY:nt,scrollWidth:fe,onInnerResize:Pt,ref:_n,innerProps:st,rtl:qe,extra:xe},Ie))),hn&&Ge>de&&t.createElement(Se,{ref:ke,prefixCls:D,scrollOffset:Wt,scrollRange:Ge,rtl:qe,onScroll:lt,onStartMove:Un,onStopMove:ee,spinSize:$e,containerSize:ie.height,style:ze==null?void 0:ze.verticalScrollBar,thumbStyle:ze==null?void 0:ze.verticalScrollBarThumb,showScrollBar:Dt}),hn&&fe>ie.width&&t.createElement(Se,{ref:Be,prefixCls:D,scrollOffset:Cn,scrollRange:fe,rtl:qe,onScroll:lt,onStartMove:Un,onStopMove:ee,spinSize:Pe,containerSize:ie.width,horizontal:!0,style:ze==null?void 0:ze.horizontalScrollBar,thumbStyle:ze==null?void 0:ze.horizontalScrollBarThumb,showScrollBar:Dt}))}var kt=t.forwardRef(Je);kt.displayName="List";var Te=kt,Ne=Te},83145:function(Zt,Le,u){"use strict";Object.defineProperty(Le,"__esModule",{value:!0}),Le.CopyToClipboard=void 0;var O=W(u(59301)),T=W(u(25769));function W(h){return h&&h.__esModule?h:{default:h}}function 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(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=H(l,["text","onCopy","options","children"]),z=O.default.Children.only(F);return O.default.cloneElement(z,p({},Y,{onClick:this.onClick}))}}]),_}(O.default.PureComponent);Le.CopyToClipboard=C,x(C,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Zt,Le,u){"use strict";var O=u(83145),T=O.CopyToClipboard;T.CopyToClipboard=T,Zt.exports=T},76374:function(Zt,Le,u){"use strict";var O=function(){if(typeof Map!="undefined")return Map;function 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 H=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),H)}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,ce=Math.round(g+n)-b;Math.abs(K)!==1&&(i-=K),Math.abs(ce)!==1&&(g-=ce)}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}();Le.Z=ye},98040:function(Zt){Zt.exports=function(){var Le=document.getSelection();if(!Le.rangeCount)return function(){};for(var u=document.activeElement,O=[],T=0;T<Le.rangeCount;T++)O.push(Le.getRangeAt(T));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Le.removeAllRanges(),function(){Le.type==="Caret"&&Le.removeAllRanges(),Le.rangeCount||O.forEach(function(W){Le.addRange(W)}),u&&u.focus()}}},93314:function(Zt){"use strict";Zt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="}}]);
|