(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("6MrE"),v=d.n(T)},"+QRC":function(U,P,d){"use strict";var O=d("E9nw"),x={"text/plain":"Text","text/html":"Url",default:"Text"},T="Copy to clipboard: #{key}, Enter";function v(m){var f=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return m.replace(/#{\s*key\s*}/g,f)}function S(m,f){var c,o,r,a,n,e,s=!1;f||(f={}),c=f.debug||!1;try{r=O(),a=document.createRange(),n=document.getSelection(),e=document.createElement("span"),e.textContent=m,e.style.all="unset",e.style.position="fixed",e.style.top=0,e.style.clip="rect(0, 0, 0, 0)",e.style.whiteSpace="pre",e.style.webkitUserSelect="text",e.style.MozUserSelect="text",e.style.msUserSelect="text",e.style.userSelect="text",e.addEventListener("copy",function(i){if(i.stopPropagation(),f.format)if(i.preventDefault(),typeof i.clipboardData=="undefined"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=x[f.format]||x.default;window.clipboardData.setData(l,m)}else i.clipboardData.clearData(),i.clipboardData.setData(f.format,m);f.onCopy&&(i.preventDefault(),f.onCopy(i.clipboardData))}),document.body.appendChild(e),a.selectNodeContents(e),n.addRange(a);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");s=!0}catch(i){c&&console.error("unable to copy using execCommand: ",i),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(f.format||"text",m),f.onCopy&&f.onCopy(window.clipboardData),s=!0}catch(l){c&&console.error("unable to copy using clipboardData: ",l),c&&console.error("falling back to prompt"),o=v("message"in f?f.message:T),window.prompt(o,m)}}finally{n&&(typeof n.removeRange=="function"?n.removeRange(a):n.removeAllRanges()),e&&document.body.removeChild(e),r()}return s}U.exports=S},"+TT/":function(U,P,d){var O=d("bYtY"),x=d("mFDi"),T=d("OELB"),v=T.parsePercent,S=d("7aKB"),m=O.each,f=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function o(p,g,A,y,E){var C=0,w=0;y==null&&(y=Infinity),E==null&&(E=Infinity);var b=0;g.eachChild(function(I,_){var L=I.position,D=I.getBoundingRect(),N=g.childAt(_+1),R=N&&N.getBoundingRect(),B,M;if(p==="horizontal"){var H=D.width+(R?-R.x+D.x:0);B=C+H,B>y||I.newline?(C=0,B=H,w+=b+A,b=D.height):b=Math.max(b,D.height)}else{var F=D.height+(R?-R.y+D.y:0);M=w+F,M>E||I.newline?(C+=b+A,w=0,M=F,b=D.width):b=Math.max(b,D.width)}if(I.newline)return;L[0]=C,L[1]=w,p==="horizontal"?C=B+A:w=M+A})}var r=o,a=O.curry(o,"vertical"),n=O.curry(o,"horizontal");function e(p,g,A){var y=g.width,E=g.height,C=v(p.x,y),w=v(p.y,E),b=v(p.x2,y),I=v(p.y2,E);return(isNaN(C)||isNaN(parseFloat(p.x)))&&(C=0),(isNaN(b)||isNaN(parseFloat(p.x2)))&&(b=y),(isNaN(w)||isNaN(parseFloat(p.y)))&&(w=0),(isNaN(I)||isNaN(parseFloat(p.y2)))&&(I=E),A=S.normalizeCssArray(A||0),{width:Math.max(b-C-A[1]-A[3],0),height:Math.max(I-w-A[0]-A[2],0)}}function s(p,g,A){A=S.normalizeCssArray(A||0);var y=g.width,E=g.height,C=v(p.left,y),w=v(p.top,E),b=v(p.right,y),I=v(p.bottom,E),_=v(p.width,y),L=v(p.height,E),D=A[2]+A[0],N=A[1]+A[3],R=p.aspect;isNaN(_)&&(_=y-b-N-C),isNaN(L)&&(L=E-I-D-w),R!=null&&(isNaN(_)&&isNaN(L)&&(R>y/E?_=y*.8:L=E*.8),isNaN(_)&&(_=R*L),isNaN(L)&&(L=_/R)),isNaN(C)&&(C=y-b-_-N),isNaN(w)&&(w=E-I-L-D);switch(p.left||p.right){case"center":C=y/2-_/2-A[3];break;case"right":C=y-_-N;break}switch(p.top||p.bottom){case"middle":case"center":w=E/2-L/2-A[0];break;case"bottom":w=E-L-D;break}C=C||0,w=w||0,isNaN(_)&&(_=y-N-C-(b||0)),isNaN(L)&&(L=E-D-w-(I||0));var B=new x(C+A[3],w+A[0],_,L);return B.margin=A,B}function t(p,g,A,y,E){var C=!E||!E.hv||E.hv[0],w=!E||!E.hv||E.hv[1],b=E&&E.boundingMode||"all";if(!C&&!w)return;var I;if(b==="raw")I=p.type==="group"?new x(0,0,+g.width||0,+g.height||0):p.getBoundingRect();else if(I=p.getBoundingRect(),p.needLocalTransform()){var _=p.getLocalTransform();I=I.clone(),I.applyTransform(_)}g=s(O.defaults({width:I.width,height:I.height},g),A,y);var L=p.position,D=C?g.x-I.x:0,N=w?g.y-I.y:0;p.attr("position",b==="raw"?[D,N]:[L[0]+D,L[1]+N])}function i(p,g){return p[c[g][0]]!=null||p[c[g][1]]!=null&&p[c[g][2]]!=null}function l(p,g,A){!O.isObject(A)&&(A={});var y=A.ignoreSize;!O.isArray(y)&&(y=[y,y]);var E=w(c[0],0),C=w(c[1],1);_(c[0],p,E),_(c[1],p,C);function w(L,D){var N={},R=0,B={},M=0,H=2;if(m(L,function(j){B[j]=p[j]}),m(L,function(j){b(g,j)&&(N[j]=B[j]=g[j]),I(N,j)&&R++,I(B,j)&&M++}),y[D])return I(g,L[1])?B[L[2]]=null:I(g,L[2])&&(B[L[1]]=null),B;if(M===H||!R)return B;if(R>=H)return N;for(var F=0;F2&&arguments[2]!==void 0?arguments[2]:"0",Ir=String(rt);Ir.length=12,xo%=12);var Xa=c.useMemo(function(){if(!xn)return[!1,!1];var Fa=[!0,!0];return ya.forEach(function($a){var Ca=$a.disabled,Eo=$a.value;if(Ca)return;Eo>=12?Fa[1]=!1:Fa[0]=!1}),Fa},[xn,ya]),_a=Object(K.a)(Xa,2),qa=_a[0],ro=_a[1],Uo=c.useMemo(function(){return xn?ya.filter(fa?function(Fa){return Fa.value>=12}:function(Fa){return Fa.value<12}).map(function(Fa){var $a=Fa.value%12,Ca=$a===0?"12":it($a,2);return Object(F.a)(Object(F.a)({},Fa),{},{label:Ca,value:$a})}):ya},[xn,ya]),zo=Nt(0,59,si,Bi&&Bi(xo)),hs=Nt(0,59,ti,yi&&yi(xo,Za));Ir.current={onUpDown:function($a){var Ca=ta[En];if(Ca)for(var Eo=Ca.units.findIndex(function(ho){return ho.value===Ca.value}),qo=Ca.units.length,vo=1;vo1&&(yr=ar.addDate(yr,-7)),yr}function yn(rt,ar,Fr){var Ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ar){case"year":return Fr.addYear(rt,Ir*10);case"quarter":case"month":return Fr.addYear(rt,Ir);default:return Fr.addMonth(rt,Ir)}}var Dn=c.createContext({}),Un=Dn;function wi(rt){var ar=rt.cellPrefixCls,Fr=rt.generateConfig,Ir=rt.rangedValue,En=rt.hoverRangedValue,zr=rt.isInView,yr=rt.isSameCell,Cn=rt.offsetCell,Pr=rt.today,xn=rt.value;function Qn($n){var Kn,si=Cn($n,-1),Xn=Cn($n,1),ti=ze(Ir,0),di=ze(Ir,1),Bi=ze(En,0),yi=ze(En,1),Xi=ft(Fr,Bi,yi,$n);function ba(Za){return yr(ti,Za)}function ta(Za){return yr(di,Za)}var Qi=yr(Bi,$n),aa=yr(yi,$n),fa=(Xi||aa)&&(!zr(si)||ta(si)),xo=(Xi||Qi)&&(!zr(Xn)||ba(Xn));return Kn={},Object(H.a)(Kn,"".concat(ar,"-in-view"),zr($n)),Object(H.a)(Kn,"".concat(ar,"-in-range"),ft(Fr,ti,di,$n)),Object(H.a)(Kn,"".concat(ar,"-range-start"),ba($n)),Object(H.a)(Kn,"".concat(ar,"-range-end"),ta($n)),Object(H.a)(Kn,"".concat(ar,"-range-start-single"),ba($n)&&!di),Object(H.a)(Kn,"".concat(ar,"-range-end-single"),ta($n)&&!ti),Object(H.a)(Kn,"".concat(ar,"-range-start-near-hover"),ba($n)&&(yr(si,Bi)||ft(Fr,Bi,yi,si))),Object(H.a)(Kn,"".concat(ar,"-range-end-near-hover"),ta($n)&&(yr(Xn,yi)||ft(Fr,Bi,yi,Xn))),Object(H.a)(Kn,"".concat(ar,"-range-hover"),Xi),Object(H.a)(Kn,"".concat(ar,"-range-hover-start"),Qi),Object(H.a)(Kn,"".concat(ar,"-range-hover-end"),aa),Object(H.a)(Kn,"".concat(ar,"-range-hover-edge-start"),fa),Object(H.a)(Kn,"".concat(ar,"-range-hover-edge-end"),xo),Object(H.a)(Kn,"".concat(ar,"-range-hover-edge-start-near-range"),fa&&yr(si,di)),Object(H.a)(Kn,"".concat(ar,"-range-hover-edge-end-near-range"),xo&&yr(Xn,ti)),Object(H.a)(Kn,"".concat(ar,"-today"),yr(Pr,$n)),Object(H.a)(Kn,"".concat(ar,"-selected"),yr(xn,$n)),Kn}return Qn}function Rn(rt){for(var ar=rt.prefixCls,Fr=rt.disabledDate,Ir=rt.onSelect,En=rt.rowNum,zr=rt.colNum,yr=rt.prefixColumn,Cn=rt.rowClassName,Pr=rt.baseDate,xn=rt.getCellClassName,Qn=rt.getCellText,$n=rt.getCellNode,Kn=rt.getCellDate,si=rt.titleCell,Xn=rt.headerCells,ti=c.useContext(ee),di=ti.onDateMouseEnter,Bi=ti.onDateMouseLeave,yi="".concat(ar,"-cell"),Xi=[],ba=0;ba2&&arguments[2]!==void 0?arguments[2]:!1;(no===ti||Yi)&&(Vo(ri),aa&&aa(ri),qo&&qo(ri,Ii),fa&&!Xt(Cn,ri,cs)&&fa(ri))},At=function(ri){return on.current&&on.current.onKeyDown?([z.a.LEFT,z.a.RIGHT,z.a.UP,z.a.DOWN,z.a.PAGE_UP,z.a.PAGE_DOWN,z.a.ENTER].includes(ri.which)&&ri.preventDefault(),on.current.onKeyDown(ri)):(Object(T.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},se=function(ri){on.current&&on.current.onBlur&&on.current.onBlur(ri)};Ca&&us!=="right"&&(Ca.current={onKeyDown:At,onClose:function(){on.current&&on.current.onClose&&on.current.onClose()}}),c.useEffect(function(){Pr&&!Fi.current&&es(Pr)},[Pr]),c.useEffect(function(){Fi.current=!1},[]);var ge,Se=Object(F.a)(Object(F.a)({},rt),{},{operationRef:on,prefixCls:Ir,viewDate:ns,value:cs,onViewDateChange:fs,sourceMode:Ft,onPanelChange:Hn,disabledDate:no!=="decade"?Kn:void 0});delete Se.onChange,delete Se.onSelect;switch(no){case"decade":ge=c.createElement(gn,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}));break;case"year":ge=c.createElement(Qe,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}));break;case"month":ge=c.createElement(ot,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}));break;case"quarter":ge=c.createElement(Mn,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}));break;case"week":ge=c.createElement(an,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}));break;case"time":delete Se.showTime,ge=c.createElement(De,Object.assign({},Se,Object(V.a)(Xi)==="object"?Xi:null,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}));break;default:Xi?ge=c.createElement(qt,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}})):ge=c.createElement(je,Object.assign({},Se,{onSelect:function(ri,Ii){fs(ri),hi(ri,Ii)}}))}var We,vt,Yt=function(){var ri=Cn.getNow(),Ii=Tt(Cn.getHour(ri),Cn.getMinute(ri),Cn.getSecond(ri),Po?_a:1,Mo?ro:1,Fa?zo:1),Yi=Ot(Cn,ri,Ii[0],Ii[1],Ii[2]);hi(Yi,"submit")};vo||(We=hr(Ir,no,ta),vt=vn({prefixCls:Ir,components:ca,needConfirmButton:hs,okDisabled:!cs||Kn&&Kn(cs),locale:yr,showNow:yi,onNow:hs&&Yt,onOk:function(){cs&&(hi(cs,"submit",!0),Gi&&Gi(cs))}}));var Rr;if(ba&&no==="date"&&ti==="date"&&!Xi){var Yr=Cn.getNow(),mn="".concat(Ir,"-today-btn"),Wn=Kn&&Kn(Yr);Rr=c.createElement("a",{className:C()(mn,Wn&&"".concat(mn,"-disabled")),"aria-disabled":Wn,onClick:function(){Wn||hi(Yr,"mouse",!0)}},yr.today)}return c.createElement(ee.Provider,{value:Object(F.a)(Object(F.a)({},$a),{},{hideHeader:"hideHeader"in rt?Qi:$a.hideHeader,hidePrevBtn:No&&us==="right",hideNextBtn:No&&us==="left"})},c.createElement("div",{tabIndex:Bi,className:C()("".concat(Ir,"-panel"),En,(ar={},Object(H.a)(ar,"".concat(Ir,"-panel-has-range"),jo&&jo[0]&&jo[1]),Object(H.a)(ar,"".concat(Ir,"-panel-has-range-hover"),Qo&&Qo[0]&&Qo[1]),Object(H.a)(ar,"".concat(Ir,"-panel-rtl"),ya==="rtl"),ar)),style:zr,onKeyDown:At,onBlur:se,onMouseDown:Za,ref:Eo},ge,We||vt||Rr?c.createElement("div",{className:"".concat(Ir,"-footer")},We,vt,Rr):null))}var Dt=en,jr=d("JX7q"),un=d("i8i4"),Hr=d.n(un),Wt=d("l4aY"),wr=d("m+aA"),fn=d("c+Xe"),zt=d("zT1h"),Dr=d("QC+M");function ir(rt,ar,Fr){return Fr?rt[0]===ar[0]:rt[0]===ar[0]&&rt[1]===ar[1]}function Lt(rt,ar,Fr){var Ir=rt[ar]||{};return Object(F.a)(Object(F.a)({},Ir),Fr)}function Qt(rt,ar,Fr,Ir){for(var En=Fr.points,zr=Object.keys(rt),yr=0;yr0&&(Pr.deadlineId=setTimeout(function(){Pr.onMotionEnd({deadline:!0})},Kn))})},Pr.nextFrame=function(xn){Pr.cancelNextFrame(),Pr.raf=Cr()(xn)},Pr.cancelNextFrame=function(){Pr.raf&&(Cr.a.cancel(Pr.raf),Pr.raf=null)},Pr}return Object(R.a)(Cn,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var xn,Qn=this.state,$n=Qn.status,Kn=Qn.statusActive,si=Qn.statusStyle,Xn=this.props,ti=Xn.children,di=Xn.motionName,Bi=Xn.visible,yi=Xn.removeOnLeave,Xi=Xn.leavedClassName,ba=Xn.eventProps;return ti?$n===qn||!Ir(this.props)?Bi?ti(Object(F.a)({},ba),this.setNodeRef):yi?null:ti(Object(F.a)(Object(F.a)({},ba),{},{className:Xi}),this.setNodeRef):ti(Object(F.a)(Object(F.a)({},ba),{},{className:C()(ii(di,$n),(xn={},Object(H.a)(xn,ii(di,"".concat($n,"-active")),Kn),Object(H.a)(xn,di,typeof di=="string"),xn)),style:si}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(xn,Qn){var $n=Qn.prevProps,Kn=Qn.status;if(!Ir(xn))return{};var si=xn.visible,Xn=xn.motionAppear,ti=xn.motionEnter,di=xn.motionLeave,Bi=xn.motionLeaveImmediately,yi={prevProps:xn};return(Kn===Li&&!Xn||Kn===zi&&!ti||Kn===Ri&&!di)&&(yi.status=qn,yi.statusActive=!1,yi.newStatus=!1),!$n&&si&&Xn&&(yi.status=Li,yi.statusActive=!1,yi.newStatus=!0),$n&&!$n.visible&&si&&ti&&(yi.status=zi,yi.statusActive=!1,yi.newStatus=!0),($n&&$n.visible&&!si&&di||!$n&&Bi&&!si&&di)&&(yi.status=Ri,yi.statusActive=!1,yi.newStatus=!0),yi}}]),Cn}(c.Component);return En.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Fr?c.forwardRef(function(zr,yr){return c.createElement(En,Object.assign({internalRef:yr},zr))}):En}var oi=ga(ui),hn="add",Ei="keep",Hi="remove",ki="removed";function ji(rt){var ar;return rt&&Object(V.a)(rt)==="object"&&"key"in rt?ar=rt:ar={key:rt},Object(F.a)(Object(F.a)({},ar),{},{key:String(ar.key)})}function dr(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return rt.map(ji)}function sr(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fr=[],Ir=0,En=ar.length,zr=dr(rt),yr=dr(ar);zr.forEach(function(xn){for(var Qn=!1,$n=Ir;$n1});return Pr.forEach(function(xn){Fr=Fr.filter(function(Qn){var $n=Qn.key,Kn=Qn.status;return $n!==xn||Kn!==Hi}),Fr.forEach(function(Qn){Qn.key===xn&&(Qn.status=Ei)})}),Fr}var cn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Zt(rt){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oi,Fr=function(Ir){Object(B.a)(zr,Ir);var En=Object(M.a)(zr);function zr(){var yr;return Object(N.a)(this,zr),yr=En.apply(this,arguments),yr.state={keyEntities:[]},yr.removeKey=function(Cn){yr.setState(function(Pr){var xn=Pr.keyEntities;return{keyEntities:xn.map(function(Qn){return Qn.key!==Cn?Qn:Object(F.a)(Object(F.a)({},Qn),{},{status:ki})})}})},yr}return Object(R.a)(zr,[{key:"render",value:function(){var Cn=this,Pr=this.state.keyEntities,xn=this.props,Qn=xn.component,$n=xn.children,Kn=Object(It.a)(xn,["component","children"]),si=Qn||c.Fragment,Xn={};return cn.forEach(function(ti){Xn[ti]=Kn[ti],delete Kn[ti]}),delete Kn.keys,c.createElement(si,Object.assign({},Kn),Pr.map(function(ti){var di=ti.status,Bi=Object(It.a)(ti,["status"]),yi=di===hn||di===Ei;return c.createElement(ar,Object.assign({},Xn,{key:Bi.key,visible:yi,eventProps:Bi,onLeaveEnd:function(){Xn.onLeaveEnd&&Xn.onLeaveEnd.apply(Xn,arguments),Cn.removeKey(Bi.key)}}),$n)}))}}],[{key:"getDerivedStateFromProps",value:function(Cn,Pr){var xn=Cn.keys,Qn=Pr.keyEntities,$n=dr(xn);if(!rt)return{keyEntities:$n.map(function(Xn){return Object(F.a)(Object(F.a)({},Xn),{},{status:Ei})})};var Kn=sr(Qn,$n),si=Qn.length;return{keyEntities:Kn.filter(function(Xn){for(var ti=null,di=0;di1&&($n=c.createElement("div",{className:"".concat(Ir,"-content")},yr)),c.createElement("div",{ref:Fr,className:En,onMouseEnter:Cn,onMouseLeave:Pr,onMouseDown:xn,onTouchStart:Qn,style:zr},$n)},pn=c.forwardRef(tn);pn.displayName="PopupInner";var St=pn;function cr(rt){var ar=rt.prefixCls,Fr=rt.motion,Ir=rt.animation,En=rt.transitionName;return Fr||(Ir?{motionName:"".concat(ar,"-").concat(Ir)}:En?{motionName:En}:null)}function fr(rt){return rt&&rt.motionName}var Br=function(rt){Object(B.a)(Fr,rt);var ar=Object(M.a)(Fr);function Fr(){var Ir;return Object(N.a)(this,Fr),Ir=ar.apply(this,arguments),Ir.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Ir.popupRef=o.a.createRef(),Ir.alignRef=o.a.createRef(),Ir.nextFrameState=null,Ir.nextFrameId=null,Ir.onAlign=function(En,zr){var yr=Ir.state.status,Cn=Ir.props,Pr=Cn.getClassNameFromAlign,xn=Cn.onAlign,Qn=Pr(zr);yr==="align"?Ir.setState({alignClassName:Qn,status:"aligned"},function(){Ir.alignRef.current.forceAlign()}):yr==="aligned"?(Ir.setState({alignClassName:Qn,status:"afterAlign"}),xn(En,zr)):Ir.setState({alignClassName:Qn})},Ir.onMotionEnd=function(){var En=Ir.props.visible;Ir.setState({status:En?"AfterMotion":"stable",inMotion:!1})},Ir.setStateOnNextFrame=function(En){Ir.cancelFrameState(),Ir.nextFrameState=Object(F.a)(Object(F.a)({},Ir.nextFrameState),En),Ir.nextFrameId=Cr()(function(){var zr=Object(F.a)({},Ir.nextFrameState);Ir.nextFrameState=null,Ir.setState(zr)})},Ir.getMotion=function(){return Object(F.a)({},cr(Ir.props))},Ir.getAlignTarget=function(){var En=Ir.props,zr=En.point,yr=En.getRootDomNode;return zr||yr},Ir.cancelFrameState=function(){Cr.a.cancel(Ir.nextFrameId)},Ir.renderPopupElement=function(){var En=Ir.state,zr=En.status,yr=En.targetHeight,Cn=En.targetWidth,Pr=En.alignClassName,xn=Ir.props,Qn=xn.prefixCls,$n=xn.className,Kn=xn.style,si=xn.stretch,Xn=xn.visible,ti=xn.align,di=xn.destroyPopupOnHide,Bi=xn.onMouseEnter,yi=xn.onMouseLeave,Xi=xn.onMouseDown,ba=xn.onTouchStart,ta=xn.children,Qi=C()(Qn,$n,Pr),aa="".concat(Qn,"-hidden"),fa={};si&&(si.indexOf("height")!==-1?fa.height=yr:si.indexOf("minHeight")!==-1&&(fa.minHeight=yr),si.indexOf("width")!==-1?fa.width=Cn:si.indexOf("minWidth")!==-1&&(fa.minWidth=Cn));var xo=Object(F.a)(Object(F.a)(Object(F.a)(Object(F.a)({},fa),Ir.getZIndexStyle()),Kn),{},{opacity:zr==="stable"||!Xn?void 0:0,pointerEvents:zr==="stable"||!Xn?void 0:"none"}),Za=Ir.getMotion(),Wi=Xn;Xn&&zr!=="beforeMotion"&&zr!=="motion"&&zr!=="stable"&&(Za.motionAppear=!1,Za.motionEnter=!1,Za.motionLeave=!1),(zr==="afterAlign"||zr==="beforeMotion")&&(Wi=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(ya){var Xa=Za==null?void 0:Za[ya];Za[ya]=function(){for(var _a=arguments.length,qa=new Array(_a),ro=0;ro<_a;ro++)qa[ro]=arguments[ro];Xa==null||Xa.apply(void 0,qa),Ir.setState({inMotion:!0})}});var Gi=!Xn||zr!=="align"&&zr!=="aligned"&&zr!=="stable",ca=!0;return zr==="stable"&&(ca=Xn),di&&!ca?null:o.a.createElement(Nr,Object.assign({visible:Wi},Za,{removeOnLeave:!1,onEnterEnd:Ir.onMotionEnd,onLeaveEnd:Ir.onMotionEnd,leavedClassName:aa}),function(ya,Xa){var _a=ya.style,qa=ya.className;return o.a.createElement(Er.a,{target:Ir.getAlignTarget(),key:"popup",ref:Ir.alignRef,monitorWindowResize:!0,disabled:Gi,align:ti,onAlign:Ir.onAlign},o.a.createElement(St,{prefixCls:Qn,className:C()(Qi,qa),ref:Object(fn.a)(Xa,Ir.popupRef),onMouseEnter:Bi,onMouseLeave:yi,onMouseDown:Xi,onTouchStart:ba,style:Object(F.a)(Object(F.a)({},xo),_a)},ta))})},Ir.renderMaskElement=function(){var En=Ir.props,zr=En.mask,yr=En.maskMotion,Cn=En.maskTransitionName,Pr=En.maskAnimation,xn=En.prefixCls,Qn=En.visible;if(!zr)return null;var $n={};return yr&&yr.motionName&&($n=Object(F.a)({motionAppear:!0},cr({motion:yr,prefixCls:xn,transitionName:Cn,animation:Pr}))),o.a.createElement(Nr,Object.assign({},$n,{visible:Qn,removeOnLeave:!0}),function(Kn){var si=Kn.className;return o.a.createElement("div",{style:Ir.getZIndexStyle(),key:"mask",className:C()("".concat(xn,"-mask"),si)})})},Ir}return Object(R.a)(Fr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var En=this.state.status,zr=this.props,yr=zr.getRootDomNode,Cn=zr.visible,Pr=zr.stretch;if(this.cancelFrameState(),Cn&&En!=="stable")switch(En){case null:{this.setStateOnNextFrame({status:Pr?"measure":"align"});break}case"afterAlign":{this.setStateOnNextFrame({status:fr(this.getMotion())?"beforeMotion":"stable"});break}case"AfterMotion":{this.setStateOnNextFrame({status:"stable"});break}default:{var xn=["measure","align",null,"beforeMotion","motion"],Qn=xn.indexOf(En),$n=xn[Qn+1];Qn!==-1&&$n&&this.setStateOnNextFrame({status:$n})}}if(En==="measure"){var Kn=yr();Kn&&this.setStateOnNextFrame({targetHeight:Kn.offsetHeight,targetWidth:Kn.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var En=this.props.zIndex;return{zIndex:En}}},{key:"render",value:function(){return o.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(En,zr){var yr=En.visible,Cn=Object(It.a)(En,["visible"]),Pr=zr.prevVisible,xn=zr.status,Qn=zr.inMotion,$n={prevVisible:yr,status:xn},Kn=cr(Cn);return Pr===null&&yr===!1?($n.status="stable",$n.inMotion=!1):yr!==Pr&&($n.inMotion=!1,yr||fr(Kn)&&Qn?$n.status=null:$n.status="stable",yr&&($n.alignClassName=null)),$n}}]),Fr}(c.Component),$r=Br,wn=c.createContext(null),rn=wn;function On(){}function In(){return""}function Gn(){return window.document}var fi=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Yn(rt){var ar=function(Fr){Object(B.a)(En,Fr);var Ir=Object(M.a)(En);function En(zr){var yr;Object(N.a)(this,En),yr=Ir.call(this,zr),yr.popupRef=o.a.createRef(),yr.triggerRef=o.a.createRef(),yr.onMouseEnter=function(Pr){var xn=yr.props.mouseEnterDelay;yr.fireEvents("onMouseEnter",Pr),yr.delaySetPopupVisible(!0,xn,xn?null:Pr)},yr.onMouseMove=function(Pr){yr.fireEvents("onMouseMove",Pr),yr.setPoint(Pr)},yr.onMouseLeave=function(Pr){yr.fireEvents("onMouseLeave",Pr),yr.delaySetPopupVisible(!1,yr.props.mouseLeaveDelay)},yr.onPopupMouseEnter=function(){yr.clearDelayTimer()},yr.onPopupMouseLeave=function(Pr){if(Pr.relatedTarget&&!Pr.relatedTarget.setTimeout&&yr.popupRef.current&&yr.popupRef.current.popupRef.current&&Object(Wt.a)(yr.popupRef.current.popupRef.current,Pr.relatedTarget))return;yr.delaySetPopupVisible(!1,yr.props.mouseLeaveDelay)},yr.onFocus=function(Pr){yr.fireEvents("onFocus",Pr),yr.clearDelayTimer(),yr.isFocusToShow()&&(yr.focusTime=Date.now(),yr.delaySetPopupVisible(!0,yr.props.focusDelay))},yr.onMouseDown=function(Pr){yr.fireEvents("onMouseDown",Pr),yr.preClickTime=Date.now()},yr.onTouchStart=function(Pr){yr.fireEvents("onTouchStart",Pr),yr.preTouchTime=Date.now()},yr.onBlur=function(Pr){yr.fireEvents("onBlur",Pr),yr.clearDelayTimer(),yr.isBlurToHide()&&yr.delaySetPopupVisible(!1,yr.props.blurDelay)},yr.onContextMenu=function(Pr){Pr.preventDefault(),yr.fireEvents("onContextMenu",Pr),yr.setPopupVisible(!0,Pr)},yr.onContextMenuClose=function(){yr.isContextMenuToShow()&&yr.close()},yr.onClick=function(Pr){if(yr.fireEvents("onClick",Pr),yr.focusTime){var xn;if(yr.preClickTime&&yr.preTouchTime?xn=Math.min(yr.preClickTime,yr.preTouchTime):yr.preClickTime?xn=yr.preClickTime:yr.preTouchTime&&(xn=yr.preTouchTime),Math.abs(xn-yr.focusTime)<20)return;yr.focusTime=0}yr.preClickTime=0,yr.preTouchTime=0,yr.isClickToShow()&&(yr.isClickToHide()||yr.isBlurToHide())&&Pr&&Pr.preventDefault&&Pr.preventDefault();var Qn=!yr.state.popupVisible;(yr.isClickToHide()&&!Qn||Qn&&yr.isClickToShow())&&yr.setPopupVisible(!yr.state.popupVisible,Pr)},yr.onPopupMouseDown=function(){if(yr.hasPopupMouseDown=!0,clearTimeout(yr.mouseDownTimeout),yr.mouseDownTimeout=window.setTimeout(function(){yr.hasPopupMouseDown=!1},0),yr.context){var Pr;(Pr=yr.context).onPopupMouseDown.apply(Pr,arguments)}},yr.onDocumentClick=function(Pr){if(yr.props.mask&&!yr.props.maskClosable)return;var xn=Pr.target,Qn=yr.getRootDomNode(),$n=yr.getPopupDomNode();!Object(Wt.a)(Qn,xn)&&!Object(Wt.a)($n,xn)&&!yr.hasPopupMouseDown&&yr.close()},yr.getRootDomNode=function(){var Pr=yr.props.getTriggerDOMNode;if(Pr)return Pr(yr.triggerRef.current);try{var xn=Object(wr.a)(yr.triggerRef.current);if(xn)return xn}catch(Qn){}return Hr.a.findDOMNode(Object(jr.a)(yr))},yr.getPopupClassNameFromAlign=function(Pr){var xn=[],Qn=yr.props,$n=Qn.popupPlacement,Kn=Qn.builtinPlacements,si=Qn.prefixCls,Xn=Qn.alignPoint,ti=Qn.getPopupClassNameFromAlign;return $n&&Kn&&xn.push(Qt(Kn,si,Pr,Xn)),ti&&xn.push(ti(Pr)),xn.join(" ")},yr.getComponent=function(){var Pr=yr.props,xn=Pr.prefixCls,Qn=Pr.destroyPopupOnHide,$n=Pr.popupClassName,Kn=Pr.onPopupAlign,si=Pr.popupMotion,Xn=Pr.popupAnimation,ti=Pr.popupTransitionName,di=Pr.popupStyle,Bi=Pr.mask,yi=Pr.maskAnimation,Xi=Pr.maskTransitionName,ba=Pr.maskMotion,ta=Pr.zIndex,Qi=Pr.popup,aa=Pr.stretch,fa=Pr.alignPoint,xo=yr.state,Za=xo.popupVisible,Wi=xo.point,Gi=yr.getPopupAlign(),ca={};return yr.isMouseEnterToShow()&&(ca.onMouseEnter=yr.onPopupMouseEnter),yr.isMouseLeaveToHide()&&(ca.onMouseLeave=yr.onPopupMouseLeave),ca.onMouseDown=yr.onPopupMouseDown,ca.onTouchStart=yr.onPopupMouseDown,o.a.createElement($r,Object.assign({prefixCls:xn,destroyPopupOnHide:Qn,visible:Za,point:fa&&Wi,className:$n,align:Gi,onAlign:Kn,animation:Xn,getClassNameFromAlign:yr.getPopupClassNameFromAlign},ca,{stretch:aa,getRootDomNode:yr.getRootDomNode,style:di,mask:Bi,zIndex:ta,transitionName:ti,maskAnimation:yi,maskTransitionName:Xi,maskMotion:ba,ref:yr.popupRef,motion:si}),typeof Qi=="function"?Qi():Qi)},yr.getContainer=function(){var Pr=Object(jr.a)(yr),xn=Pr.props,Qn=document.createElement("div");Qn.style.position="absolute",Qn.style.top="0",Qn.style.left="0",Qn.style.width="100%";var $n=xn.getPopupContainer?xn.getPopupContainer(yr.getRootDomNode()):xn.getDocument().body;return $n.appendChild(Qn),Qn},yr.setPoint=function(Pr){var xn=yr.props.alignPoint;if(!xn||!Pr)return;yr.setState({point:{pageX:Pr.pageX,pageY:Pr.pageY}})},yr.handlePortalUpdate=function(){yr.state.prevPopupVisible!==yr.state.popupVisible&&yr.props.afterPopupVisibleChange(yr.state.popupVisible)};var Cn;return"popupVisible"in zr?Cn=!!zr.popupVisible:Cn=!!zr.defaultPopupVisible,yr.state={prevPopupVisible:Cn,popupVisible:Cn},fi.forEach(function(Pr){yr["fire".concat(Pr)]=function(xn){yr.fireEvents(Pr,xn)}}),yr}return Object(R.a)(En,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var yr=this.props,Cn=this.state;if(Cn.popupVisible){var Pr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Pr=yr.getDocument(),this.clickOutsideHandler=Object(zt.a)(Pr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Pr=Pr||yr.getDocument(),this.touchOutsideHandler=Object(zt.a)(Pr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Pr=Pr||yr.getDocument(),this.contextMenuOutsideHandler1=Object(zt.a)(Pr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(zt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var yr=this.props,Cn=yr.popupPlacement,Pr=yr.popupAlign,xn=yr.builtinPlacements;return Cn&&xn?Lt(xn,Cn,Pr):Pr}},{key:"setPopupVisible",value:function(yr,Cn){var Pr=this.props.alignPoint,xn=this.state.popupVisible;this.clearDelayTimer(),xn!==yr&&("popupVisible"in this.props||this.setState({popupVisible:yr,prevPopupVisible:xn}),this.props.onPopupVisibleChange(yr)),Pr&&Cn&&this.setPoint(Cn)}},{key:"delaySetPopupVisible",value:function(yr,Cn,Pr){var xn=this,Qn=Cn*1e3;if(this.clearDelayTimer(),Qn){var $n=Pr?{pageX:Pr.pageX,pageY:Pr.pageY}:null;this.delayTimer=window.setTimeout(function(){xn.setPopupVisible(yr,$n),xn.clearDelayTimer()},Qn)}else this.setPopupVisible(yr,Pr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(yr){var Cn=this.props.children.props,Pr=this.props;return Cn[yr]&&Pr[yr]?this["fire".concat(yr)]:Cn[yr]||Pr[yr]}},{key:"isClickToShow",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.showAction;return Cn.indexOf("click")!==-1||Pr.indexOf("click")!==-1}},{key:"isContextMenuToShow",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.showAction;return Cn.indexOf("contextMenu")!==-1||Pr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.hideAction;return Cn.indexOf("click")!==-1||Pr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.showAction;return Cn.indexOf("hover")!==-1||Pr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.hideAction;return Cn.indexOf("hover")!==-1||Pr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.showAction;return Cn.indexOf("focus")!==-1||Pr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var yr=this.props,Cn=yr.action,Pr=yr.hideAction;return Cn.indexOf("focus")!==-1||Pr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(yr,Cn){var Pr=this.props.children.props[yr];Pr&&Pr(Cn);var xn=this.props[yr];xn&&xn(Cn)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var yr=this.state.popupVisible,Cn=this.props,Pr=Cn.children,xn=Cn.forceRender,Qn=Cn.alignPoint,$n=Cn.className,Kn=Cn.autoDestroy,si=o.a.Children.only(Pr),Xn={key:"trigger"};this.isContextMenuToShow()?Xn.onContextMenu=this.onContextMenu:Xn.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Xn.onClick=this.onClick,Xn.onMouseDown=this.onMouseDown,Xn.onTouchStart=this.onTouchStart):(Xn.onClick=this.createTwoChains("onClick"),Xn.onMouseDown=this.createTwoChains("onMouseDown"),Xn.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Xn.onMouseEnter=this.onMouseEnter,Qn&&(Xn.onMouseMove=this.onMouseMove)):Xn.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Xn.onMouseLeave=this.onMouseLeave:Xn.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Xn.onFocus=this.onFocus,Xn.onBlur=this.onBlur):(Xn.onFocus=this.createTwoChains("onFocus"),Xn.onBlur=this.createTwoChains("onBlur"));var ti=C()(si&&si.props&&si.props.className,$n);ti&&(Xn.className=ti);var di=Object(F.a)({},Xn);Object(fn.c)(si)&&(di.ref=Object(fn.a)(this.triggerRef,si.ref));var Bi=o.a.cloneElement(si,di),yi;return(yr||this.popupRef.current||xn)&&(yi=o.a.createElement(rt,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!yr&&Kn&&(yi=null),o.a.createElement(rn.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},Bi,yi)}}],[{key:"getDerivedStateFromProps",value:function(yr,Cn){var Pr=yr.popupVisible,xn={};return Pr!==void 0&&Cn.popupVisible!==Pr&&(xn.popupVisible=Pr,xn.prevPopupVisible=Cn.popupVisible),xn}}]),En}(o.a.Component);return ar.contextType=rn,ar.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:In,getDocument:Gn,onPopupVisibleChange:On,afterPopupVisibleChange:On,onPopupAlign:On,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},ar}var gi=Yn(Dr.a),vi={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Di(rt){var ar,Fr=rt.prefixCls,Ir=rt.popupElement,En=rt.popupStyle,zr=rt.visible,yr=rt.dropdownClassName,Cn=rt.dropdownAlign,Pr=rt.transitionName,xn=rt.getPopupContainer,Qn=rt.children,$n=rt.range,Kn=rt.popupPlacement,si=rt.direction,Xn="".concat(Fr,"-dropdown"),ti=function(){return Kn!==void 0?Kn:si==="rtl"?"bottomRight":"bottomLeft"};return c.createElement(gi,{showAction:[],hideAction:[],popupPlacement:ti(),builtinPlacements:vi,prefixCls:Xn,popupTransitionName:Pr,popup:Ir,popupAlign:Cn,popupVisible:zr,popupClassName:C()(yr,(ar={},Object(H.a)(ar,"".concat(Xn,"-range"),$n),Object(H.a)(ar,"".concat(Xn,"-rtl"),si==="rtl"),ar)),popupStyle:En,getPopupContainer:xn},Qn)}var Mi=Di;function xi(rt){var ar=rt.open,Fr=rt.value,Ir=rt.isClickOutside,En=rt.triggerOpen,zr=rt.forwardKeyDown,yr=rt.blurToCancel,Cn=rt.onSubmit,Pr=rt.onCancel,xn=rt.onFocus,Qn=rt.onBlur,$n=Object(c.useState)(!1),Kn=Object(K.a)($n,2),si=Kn[0],Xn=Kn[1],ti=Object(c.useState)(!1),di=Object(K.a)(ti,2),Bi=di[0],yi=di[1],Xi=Object(c.useRef)(!1),ba=Object(c.useRef)(!1),ta={onMouseDown:function(){Xn(!0),En(!0)},onKeyDown:function(aa){switch(aa.which){case z.a.ENTER:{ar?Cn()!==!1&&Xn(!0):En(!0),aa.preventDefault();return}case z.a.TAB:{si&&ar&&!aa.shiftKey?(Xn(!1),aa.preventDefault()):!si&&ar&&(!zr(aa)&&aa.shiftKey&&(Xn(!0),aa.preventDefault()));return}case z.a.ESC:{Xn(!0),Pr();return}}!ar&&![z.a.SHIFT].includes(aa.which)?En(!0):si||zr(aa)},onFocus:function(aa){Xn(!0),yi(!0),xn&&xn(aa)},onBlur:function(aa){if(Xi.current||!Ir(document.activeElement)){Xi.current=!1;return}yr?setTimeout(function(){Ir(document.activeElement)&&Pr()},0):ar&&(En(!1),ba.current&&Cn()),yi(!1),Qn&&Qn(aa)}};return Object(c.useEffect)(function(){ba.current=!1},[ar]),Object(c.useEffect)(function(){ba.current=!0},[Fr]),Object(c.useEffect)(function(){return J(function(Qi){var aa=Qi.target;ar&&(Ir(aa)?Bi||En(!1):(Xi.current=!0,requestAnimationFrame(function(){Xi.current=!1})))})}),[ta,{focused:Bi,typing:si}]}function bi(rt){var ar=rt.valueTexts,Fr=rt.onTextChange,Ir=c.useState(""),En=Object(K.a)(Ir,2),zr=En[0],yr=En[1],Cn=c.useRef([]);Cn.current=ar;function Pr(Qn){yr(Qn),Fr(Qn)}function xn(){yr(Cn.current[0])}return c.useEffect(function(){ar.every(function(Qn){return Qn!==zr})&&xn()},[ar.join("||")]),[zr,Pr,xn]}var Ci=d("Gytx"),$i=d.n(Ci);function qi(rt,ar){var Fr=ar.formatList,Ir=ar.generateConfig,En=ar.locale;return Object(He.a)(function(){if(!rt)return[[""],""];for(var zr="",yr=[],Cn=0;Cn1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(xn.current),Bi){Pr(di);return}xn.current=requestAnimationFrame(function(){Pr(di)})}var $n=qi(Cn,{formatList:Fr,generateConfig:Ir,locale:En}),Kn=Object(K.a)($n,2),si=Kn[1];function Xn(di){Qn(di)}function ti(){var di=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Qn(null,di)}return Object(c.useEffect)(function(){ti(!0)},[rt]),Object(c.useEffect)(function(){return function(){return cancelAnimationFrame(xn.current)}},[]),[si,Xn,ti]}function ia(rt){var ar,Fr=rt.prefixCls,Ir=Fr===void 0?"rc-picker":Fr,En=rt.id,zr=rt.tabIndex,yr=rt.style,Cn=rt.className,Pr=rt.dropdownClassName,xn=rt.dropdownAlign,Qn=rt.popupStyle,$n=rt.transitionName,Kn=rt.generateConfig,si=rt.locale,Xn=rt.inputReadOnly,ti=rt.allowClear,di=rt.autoFocus,Bi=rt.showTime,yi=rt.picker,Xi=yi===void 0?"date":yi,ba=rt.format,ta=rt.use12Hours,Qi=rt.value,aa=rt.defaultValue,fa=rt.open,xo=rt.defaultOpen,Za=rt.defaultOpenValue,Wi=rt.suffixIcon,Gi=rt.clearIcon,ca=rt.disabled,ya=rt.disabledDate,Xa=rt.placeholder,_a=rt.getPopupContainer,qa=rt.pickerRef,ro=rt.panelRender,Uo=rt.onChange,zo=rt.onOpenChange,hs=rt.onFocus,Po=rt.onBlur,Mo=rt.onMouseDown,Fa=rt.onMouseUp,$a=rt.onMouseEnter,Ca=rt.onMouseLeave,Eo=rt.onContextMenu,qo=rt.onClick,vo=rt.direction,rs=rt.autoComplete,ho=rs===void 0?"off":rs,No=c.useRef(null),us=Xi==="date"&&!!Bi||Xi==="time",jo=Te(Je(ba,Xi,Bi,ta)),Qo=c.useRef(null),on=c.useRef(null),Fi=Object(j.a)(null,{value:Qi,defaultValue:aa}),Bs=Object(K.a)(Fi,2),ws=Bs[0],cs=Bs[1],Vo=c.useState(ws),vs=Object(K.a)(Vo,2),Ss=vs[0],ns=vs[1],es=c.useRef(null),fs=Object(j.a)(!1,{value:fa,defaultValue:xo,postState:function(Ya){return ca?!1:Ya},onChange:function(Ya){zo&&zo(Ya),!Ya&&es.current&&es.current.onClose&&es.current.onClose()}}),ys=Object(K.a)(fs,2),ds=ys[0],yo=ys[1],no=qi(Ss,{formatList:jo,generateConfig:Kn,locale:si}),Jo=Object(K.a)(no,2),Go=Jo[0],xt=Jo[1],Ft=bi({valueTexts:Go,onTextChange:function(Ya){var ps=Kn.locale.parse(si.locale,Ya,jo);ps&&(!ya||!ya(ps))&&ns(ps)}}),An=Object(K.a)(Ft,3),Hn=An[0],hi=An[1],At=An[2],se=function(Ya){ns(Ya),cs(Ya),Uo&&!Xt(Kn,ws,Ya)&&Uo(Ya,Ya?Kn.locale.format(si.locale,Ya,jo[0]):"")},ge=function(Ya){if(ca&&Ya)return;yo(Ya)},Se=function(Ya){return ds&&es.current&&es.current.onKeyDown?es.current.onKeyDown(Ya):(Object(T.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},We=function(){Fa&&Fa.apply(void 0,arguments),No.current&&(No.current.focus(),ge(!0))},vt=xi({blurToCancel:us,open:ds,value:Hn,triggerOpen:ge,forwardKeyDown:Se,isClickOutside:function(Ya){return!pe([Qo.current,on.current],Ya)},onSubmit:function(){return ya&&ya(Ss)?!1:(se(Ss),ge(!1),At(),!0)},onCancel:function(){ge(!1),ns(ws),At()},onFocus:hs,onBlur:Po}),Yt=Object(K.a)(vt,2),Rr=Yt[0],Yr=Yt[1],mn=Yr.focused,Wn=Yr.typing;c.useEffect(function(){ds||(ns(ws),!Go.length||Go[0]===""?hi(""):xt!==Hn&&At())},[ds,Go]),c.useEffect(function(){ds||At()},[Xi]),c.useEffect(function(){ns(ws)},[ws]),qa&&(qa.current={focus:function(){No.current&&No.current.focus()},blur:function(){No.current&&No.current.blur()}});var Jn=Object(F.a)(Object(F.a)({},rt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),ri=c.createElement(Dt,Object.assign({},Jn,{generateConfig:Kn,className:C()(Object(H.a)({},"".concat(Ir,"-panel-focused"),!Wn)),value:Ss,locale:si,tabIndex:-1,onChange:ns,direction:vo}));ro&&(ri=ro(ri));var Ii=c.createElement("div",{className:"".concat(Ir,"-panel-container"),onMouseDown:function(Ya){Ya.preventDefault()}},ri),Yi;Wi&&(Yi=c.createElement("span",{className:"".concat(Ir,"-suffix")},Wi));var ma;ti&&ws&&!ca&&(ma=c.createElement("span",{onMouseDown:function(Ya){Ya.preventDefault(),Ya.stopPropagation()},onMouseUp:function(Ya){Ya.preventDefault(),Ya.stopPropagation(),se(null),ge(!1)},className:"".concat(Ir,"-clear")},Gi||c.createElement("span",{className:"".concat(Ir,"-clear-btn")})));var Ta=function(Ya,ps){(ps==="submit"||ps!=="key"&&!us)&&(se(Ya),ge(!1))},uo=vo==="rtl"?"bottomRight":"bottomLeft",bo=Ti(Hn,{formatList:jo,generateConfig:Kn,locale:si}),co=Object(K.a)(bo,3),Zo=co[0],Oo=co[1],Do=co[2];return c.createElement(ee.Provider,{value:{operationRef:es,hideHeader:Xi==="time",panelRef:Qo,onSelect:Ta,open:ds,defaultOpenValue:Za,onDateMouseEnter:Oo,onDateMouseLeave:Do}},c.createElement(Mi,{visible:ds,popupElement:Ii,popupStyle:Qn,prefixCls:Ir,dropdownClassName:Pr,dropdownAlign:xn,getPopupContainer:_a,transitionName:$n,popupPlacement:uo,direction:vo},c.createElement("div",{className:C()(Ir,Cn,(ar={},Object(H.a)(ar,"".concat(Ir,"-disabled"),ca),Object(H.a)(ar,"".concat(Ir,"-focused"),mn),Object(H.a)(ar,"".concat(Ir,"-rtl"),vo==="rtl"),ar)),style:yr,onMouseDown:Mo,onMouseUp:We,onMouseEnter:$a,onMouseLeave:Ca,onContextMenu:Eo,onClick:qo},c.createElement("div",{className:C()("".concat(Ir,"-input"),Object(H.a)({},"".concat(Ir,"-input-placeholder"),!!Zo)),ref:on},c.createElement("input",Object.assign({id:En,tabIndex:zr,disabled:ca,readOnly:Xn||!Wn,value:Zo||Hn,onChange:function(Ya){hi(Ya.target.value)},autoFocus:di,placeholder:Xa,ref:No,title:Hn},Rr,{size:re(Xi,jo[0])},tt(rt),{autoComplete:ho})),Yi,ma))))}var na=function(rt){Object(B.a)(Fr,rt);var ar=Object(M.a)(Fr);function Fr(){var Ir;return Object(N.a)(this,Fr),Ir=ar.apply(this,arguments),Ir.pickerRef=c.createRef(),Ir.focus=function(){Ir.pickerRef.current&&Ir.pickerRef.current.focus()},Ir.blur=function(){Ir.pickerRef.current&&Ir.pickerRef.current.blur()},Ir}return Object(R.a)(Fr,[{key:"render",value:function(){return c.createElement(ia,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Fr}(c.Component),Ui=na;function Ki(rt,ar,Fr){var Ir=rt.picker,En=rt.locale,zr=rt.selectedValue,yr=rt.disabledDate,Cn=rt.disabled,Pr=rt.generateConfig,xn=ze(zr,0),Qn=ze(zr,1);function $n(di){var Bi=Pr.getYear(di),yi=Pr.locale.getWeek(En.locale,di);return Bi*100+yi}function Kn(di){var Bi=Pr.getYear(di),yi=Pr.getMonth(di);return Bi*100+yi}function si(di){var Bi=Pr.getYear(di),yi=rr(Pr,di);return Bi*10+yi}var Xn=c.useCallback(function(di){if(yr&&yr(di))return!0;if(Cn[1]&&Qn)return!mr(Pr,di,Qn)&&Pr.isAfter(di,Qn);if(ar&&Qn)switch(Ir){case"quarter":return si(di)>si(Qn);case"month":return Kn(di)>Kn(Qn);case"week":return $n(di)>$n(Qn);default:return!mr(Pr,di,Qn)&&Pr.isAfter(di,Qn)}return!1},[yr,Cn[1],Qn,ar]),ti=c.useCallback(function(di){if(yr&&yr(di))return!0;if(Cn[0]&&xn)return!mr(Pr,di,Qn)&&Pr.isAfter(xn,di);if(Fr&&xn)switch(Ir){case"quarter":return si(di)0&&arguments[0]!==void 0?arguments[0]:!1,La=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oo=null;Do&&Ol&&Ol[0]&&Ol[1]&&Xn.isAfter(Ol[1],Ol[0])&&(oo=Ol);var Ro=Qi;if(Qi&&Object(V.a)(Qi)==="object"&&Qi.defaultValue){var Ps=Qi.defaultValue;Ro=Object(F.a)(Object(F.a)({},Qi),{},{defaultValue:ze(Ps,xt)||void 0})}var Hl=null;return qa&&(Hl=function(gl,yl){return qa(gl,yl,{range:xt?"end":"start"})}),c.createElement(Un.Provider,{value:{inRange:!0,panelPosition:Ho,rangedValue:Os||mn,hoverRangedValue:oo}},c.createElement(Dt,Object.assign({},rt,La,{dateRender:Hl,showTime:Ro,mode:Ii[xt],generateConfig:Xn,style:void 0,direction:Fi,disabledDate:xt===0?bo:co,disabledTime:function(gl){return _a?_a(gl,xt===0?"start":"end"):!1},className:C()(Object(H.a)({},"".concat(zr,"-panel-focused"),xt===0?!Jl:!Il)),value:ze(mn,xt),locale:ti,tabIndex:-1,onPanelChange:function(gl,yl){ma(dt(Ii,yl,xt),dt(mn,gl,xt));var Nl=gl;Ho==="right"&&Ii[xt]===yl&&(Nl=yn(Nl,yl,Xn,-1)),Yt(Nl,xt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var ml=0,Ul=0;xt&&es.current&&ys.current&&ns.current&&(ml=es.current.offsetWidth+ys.current.offsetWidth,ns.current.offsetWidth&&ml>ns.current.offsetWidth&&(Ul=ml));var xu=Fi==="rtl"?{right:ml}:{left:ml};function Eu(){var Ho,La=hr(zr,Ii[xt],Eo),oo=vn({prefixCls:zr,components:Qo,needConfirmButton:Vo,okDisabled:!ze(mn,xt)||Xa&&Xa(mn[xt]),locale:ti,rangeList:hu,onOk:function(){ze(mn,xt)&&(Cs(mn,xt),jo&&jo(mn))}});if(ta!=="time"&&!Qi){var Ro=vt(xt),Ps=yn(Ro,ta,Xn),Hl=Ii[xt],Ll=Hl===ta,gl=_l(Ll?"left":!1,{pickerValue:Ro,onPickerValueChange:function(Vs){Yt(Vs,xt)}}),yl=_l("right",{pickerValue:Ps,onPickerValueChange:function(Vs){Yt(yn(Vs,ta,Xn,-1),xt)}});Fi==="rtl"?Ho=c.createElement(c.Fragment,null,yl,Ll&&gl):Ho=c.createElement(c.Fragment,null,gl,Ll&&yl)}else Ho=_l();var Nl=c.createElement(c.Fragment,null,c.createElement("div",{className:"".concat(zr,"-panels")},Ho),(La||oo)&&c.createElement("div",{className:"".concat(zr,"-footer")},La,oo));return ro&&(Nl=ro(Nl)),c.createElement("div",{className:"".concat(zr,"-panel-container"),style:{marginLeft:Ul},ref:ns,onMouseDown:function(Vs){Vs.preventDefault()}},Nl)}var fu=c.createElement("div",{className:C()("".concat(zr,"-range-wrapper"),"".concat(zr,"-").concat(ta,"-range-wrapper")),style:{minWidth:Ds}},c.createElement("div",{className:"".concat(zr,"-range-arrow"),style:xu}),Eu()),jl;Po&&(jl=c.createElement("span",{className:"".concat(zr,"-suffix")},Po));var au;hs&&(ze(se,0)&&!Hn[0]||ze(se,1)&&!Hn[1])&&(au=c.createElement("span",{onMouseDown:function(La){La.preventDefault(),La.stopPropagation()},onMouseUp:function(La){La.preventDefault(),La.stopPropagation();var oo=se;Hn[0]||(oo=dt(oo,null,0)),Hn[1]||(oo=dt(oo,null,1)),Cs(oo,null),Xo(!1,xt)},className:"".concat(zr,"-clear")},Mo||c.createElement("span",{className:"".concat(zr,"-clear-btn")})));var $l={size:re(ta,no[0])},ou=0,Is=0;es.current&&fs.current&&ys.current&&(xt===0?Is=es.current.offsetWidth:(ou=ml,Is=fs.current.offsetWidth));var cl=Fi==="rtl"?{right:ou}:{left:ou},Fl=function(La,oo){var Ro=dt(mn,La,xt);oo==="submit"||oo!=="key"&&!Vo?(Cs(Ro,xt),xt===0?bu():rl()):Wn(Ro)};return c.createElement(ee.Provider,{value:{operationRef:An,hideHeader:ta==="time",onDateMouseEnter:al,onDateMouseLeave:dl,hideRanges:!0,onSelect:Fl,open:Do}},c.createElement(Mi,{visible:Do,popupElement:fu,popupStyle:xn,prefixCls:zr,dropdownClassName:Qn,dropdownAlign:Kn,getPopupContainer:si,transitionName:$n,range:!0,direction:Fi},c.createElement("div",Object.assign({ref:Ss,className:C()(zr,"".concat(zr,"-range"),Pr,(ar={},Object(H.a)(ar,"".concat(zr,"-disabled"),Hn[0]&&Hn[1]),Object(H.a)(ar,"".concat(zr,"-focused"),xt===0?nu:Zl),Object(H.a)(ar,"".concat(zr,"-rtl"),Fi==="rtl"),ar)),style:Cn,onClick:Iu,onMouseDown:pl},tt(rt)),c.createElement("div",{className:C()("".concat(zr,"-input"),(Fr={},Object(H.a)(Fr,"".concat(zr,"-input-active"),xt===0),Object(H.a)(Fr,"".concat(zr,"-input-placeholder"),!!Rl),Fr)),ref:es},c.createElement("input",Object.assign({id:yr,disabled:Hn[0],readOnly:$a||!Jl,value:Rl||is,onChange:function(La){ms(La.target.value)},autoFocus:Bi,placeholder:ze(di,0)||"",ref:ds},Ql,$l,{autoComplete:cs}))),c.createElement("div",{className:"".concat(zr,"-range-separator"),ref:ys},xo),c.createElement("div",{className:C()("".concat(zr,"-input"),(Ir={},Object(H.a)(Ir,"".concat(zr,"-input-active"),xt===1),Object(H.a)(Ir,"".concat(zr,"-input-placeholder"),!!Su),Ir)),ref:fs},c.createElement("input",Object.assign({disabled:Hn[1],readOnly:$a||!Il,value:Su||Qs,onChange:function(La){tl(La.target.value)},placeholder:ze(di,1)||"",ref:yo},kl,$l,{autoComplete:cs}))),c.createElement("div",{className:"".concat(zr,"-active-bar"),style:Object(F.a)(Object(F.a)({},cl),{},{width:Is,position:"absolute"})}),jl,au)))}var Ia=function(rt){Object(B.a)(Fr,rt);var ar=Object(M.a)(Fr);function Fr(){var Ir;return Object(N.a)(this,Fr),Ir=ar.apply(this,arguments),Ir.pickerRef=c.createRef(),Ir.focus=function(){Ir.pickerRef.current&&Ir.pickerRef.current.focus()},Ir.blur=function(){Ir.pickerRef.current&&Ir.pickerRef.current.blur()},Ir}return Object(R.a)(Fr,[{key:"render",value:function(){return c.createElement(ka,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Fr}(c.Component),Ea=Ia,So=Ui,Ga=d("61s2");function Va(rt,ar,Fr){return Fr!==void 0?Fr:rt==="year"&&ar.lang.yearPlaceholder?ar.lang.yearPlaceholder:rt==="quarter"&&ar.lang.quarterPlaceholder?ar.lang.quarterPlaceholder:rt==="month"&&ar.lang.monthPlaceholder?ar.lang.monthPlaceholder:rt==="week"&&ar.lang.weekPlaceholder?ar.lang.weekPlaceholder:rt==="time"&&ar.timePickerLocale.placeholder?ar.timePickerLocale.placeholder:ar.lang.placeholder}function Ra(rt,ar,Fr){return Fr!==void 0?Fr:rt==="year"&&ar.lang.yearPlaceholder?ar.lang.rangeYearPlaceholder:rt==="month"&&ar.lang.monthPlaceholder?ar.lang.rangeMonthPlaceholder:rt==="week"&&ar.lang.weekPlaceholder?ar.lang.rangeWeekPlaceholder:rt==="time"&&ar.timePickerLocale.placeholder?ar.timePickerLocale.rangePlaceholder:ar.lang.rangePlaceholder}var po=d("uaoM"),mo=d("H84U"),Aa=d("YMnH"),Io=d("3Nzz"),go=function(rt,ar){var Fr={};for(var Ir in rt)Object.prototype.hasOwnProperty.call(rt,Ir)&&ar.indexOf(Ir)<0&&(Fr[Ir]=rt[Ir]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,Ir=Object.getOwnPropertySymbols(rt);Enrr},De}return t(Re,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(ae){ae.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var ae=this.state,gt=ae.dragging,jt=ae.visible,ut=this.props.prefixCls,rr=this.getSpinHeight(),pr=this.getTop(),nn=this.showScroll(),mr=nn&&jt;return O.createElement("div",{ref:this.scrollbarRef,className:T()("".concat(ut,"-scrollbar"),n({},"".concat(ut,"-scrollbar-show"),nn)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:mr?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},O.createElement("div",{ref:this.thumbRef,className:T()("".concat(ut,"-scrollbar-thumb"),n({},"".concat(ut,"-scrollbar-thumb-moving"),gt)),style:{width:"100%",height:rr,top:pr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),Re}(O.Component);function w($){var Z=$.children,Re=$.setRef,De=O.useCallback(function(ae){Re(ae)},[]);return O.cloneElement(Z,{ref:De})}function b($,Z,Re,De,ae,gt){var jt=gt.getKey;return $.slice(Z,Re+1).map(function(ut,rr){var pr=Z+rr,nn=ae(ut,pr,{}),mr=jt(ut);return O.createElement(w,{key:mr,setRef:function($t){return De(ut,$t)}},nn)})}var I=d("m+aA");function _($,Z){if(!($ instanceof Z))throw new TypeError("Cannot call a class as a function")}function L($,Z){for(var Re=0;Re$.length)&&(Z=$.length);for(var Re=0,De=new Array(Z);Rewt&&(wi="bottom")}}Ve!==null&&Ve!==$.current.scrollTop&&jt(Ve)}rr.current=Object(r.a)(function(){Un&>(),ft(Ur-1,wi)})};Xt(3)}}}function ee($,Z,Re,De){var ae=Re-$,gt=Z-Re,jt=Math.min(ae,gt)*2;if(De<=jt){var ut=Math.floor(De/2);return De%2?Re+ut+1:Re-ut}return ae>gt?Re-(De-gt):Re+(De-ae)}function fe($,Z,Re){var De=$.length,ae=Z.length,gt,jt;if(De===0&&ae===0)return null;De$.length)&&(Z=$.length);for(var Re=0,De=new Array(Z);Re1&&arguments[1]!==void 0?arguments[1]:!1,rr=jt<0&>.current.top||jt>0&>.current.bottom;return ut&&rr?(clearTimeout(De.current),Re.current=!1):(!rr||Re.current)&&ae(),!Re.current&&rr}};function G($,Z,Re,De){var ae=Object(O.useRef)(0),gt=Object(O.useRef)(null),jt=Object(O.useRef)(null),ut=Object(O.useRef)(!1),rr=re(Z,Re);function pr(mr){if(!$)return;r.a.cancel(gt.current);var vr=mr.deltaY;if(ae.current+=vr,jt.current=vr,rr(vr))return;Je||mr.preventDefault(),gt.current=Object(r.a)(function(){var $t=ut.current?10:1;De(ae.current*$t),ae.current=0})}function nn(mr){if(!$)return;ut.current=mr.detail===jt.current}return[pr,nn]}var X=14/15;function J($,Z,Re){var De=Object(O.useRef)(!1),ae=Object(O.useRef)(0),gt=Object(O.useRef)(null),jt=Object(O.useRef)(null),ut,rr=function(vr){if(De.current){var $t=Math.ceil(vr.touches[0].pageY),Xt=ae.current-$t;ae.current=$t,Re(Xt)&&vr.preventDefault(),clearInterval(jt.current),jt.current=setInterval(function(){Xt*=X,(!Re(Xt,!0)||Math.abs(Xt)<=.1)&&clearInterval(jt.current)},16)}},pr=function(){De.current=!1,ut()},nn=function(vr){ut(),vr.touches.length===1&&!De.current&&(De.current=!0,ae.current=Math.ceil(vr.touches[0].pageY),gt.current=vr.target,gt.current.addEventListener("touchmove",rr),gt.current.addEventListener("touchend",pr))};ut=function(){gt.current&&(gt.current.removeEventListener("touchmove",rr),gt.current.removeEventListener("touchend",pr))},O.useLayoutEffect(function(){return $&&Z.current.addEventListener("touchstart",nn),function(){Z.current.removeEventListener("touchstart",nn),ut(),clearInterval(jt.current)}},[$])}var Ae=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function he(){return he=Object.assign||function($){for(var Z=1;Z$.length)&&(Z=$.length);for(var Re=0,De=new Array(Z);Re=0)continue;if(!Object.prototype.propertyIsEnumerable.call($,De))continue;Re[De]=$[De]}}return Re}function ze($,Z){if($==null)return{};var Re={},De=Object.keys($),ae,gt;for(gt=0;gt=0)continue;Re[ae]=$[ae]}return Re}var dt=[],Ot={overflowY:"auto",overflowAnchor:"none"};function Tt($,Z){var Re=$.prefixCls,De=Re===void 0?"rc-virtual-list":Re,ae=$.className,gt=$.height,jt=$.itemHeight,ut=$.fullHeight,rr=ut===void 0?!0:ut,pr=$.style,nn=$.data,mr=$.children,vr=$.itemKey,$t=$.virtual,Xt=$.component,ft=Xt===void 0?"div":Xt,Ur=$.onScroll,yn=$.onVisibleChange,Dn=tt($,Ae),Un=!!($t!==!1&>&&jt),wi=Un&&nn&&jt*nn.length>gt,Rn=Object(O.useState)(0),kn=pe(Rn,2),Vn=kn[0],Gt=kn[1],st=Object(O.useState)(!1),ue=pe(st,2),Ee=ue[0],je=ue[1],Ve=T()(De,ae),$e=nn||dt,wt=Object(O.useRef)(),qt=Object(O.useRef)(),Mr=Object(O.useRef)(),an=O.useCallback(function(Bt){return typeof vr=="function"?vr(Bt):Bt==null?void 0:Bt[vr]},[vr]),_t={getKey:an};function at(Bt){Gt(function(gn){var hr;typeof Bt=="function"?hr=Bt(gn):hr=Bt;var vn=Ze(hr);return wt.current.scrollTop=vn,vn})}var bt=Object(O.useRef)({start:0,end:$e.length}),kt=Object(O.useRef)(),Pt=Pe($e,an),Et=pe(Pt,1),Ht=Et[0];kt.current=Ht;var ot=V(an,null,null),Mt=pe(ot,4),xr=Mt[0],ur=Mt[1],gr=Mt[2],Qr=Mt[3],ln=O.useMemo(function(){if(!Un)return{scrollHeight:void 0,start:0,end:$e.length-1,offset:void 0};if(!wi){var Bt;return{scrollHeight:((Bt=qt.current)===null||Bt===void 0?void 0:Bt.offsetHeight)||0,start:0,end:$e.length-1,offset:void 0}}for(var gn=0,hr,vn,en,Dt=$e.length,jr=0;jr=Vn&&hr===void 0&&(hr=jr,vn=gn),wr>Vn+gt&&en===void 0&&(en=jr),gn=wr}return hr===void 0&&(hr=0,vn=0),en===void 0&&(en=$e.length-1),en=Math.min(en+1,$e.length),{scrollHeight:gn,start:hr,end:en,offset:vn}},[wi,Un,Vn,$e,Qr,gt]),_n=ln.scrollHeight,Mn=ln.start,li=ln.end,ai=ln.offset;bt.current.start=Mn,bt.current.end=li;var pi=_n-gt,Oi=Object(O.useRef)(pi);Oi.current=pi;function Ze(Bt){var gn=Bt;return Number.isNaN(Oi.current)||(gn=Math.min(gn,Oi.current)),gn=Math.max(gn,0),gn}var be=Vn<=0,Ne=Vn>=pi,Ue=re(be,Ne);function Qe(Bt){var gn=Bt;at(gn)}function Xe(Bt){var gn=Bt.currentTarget.scrollTop;gn!==Vn&&at(gn),Ur==null||Ur(Bt)}var qe=G(Un,be,Ne,function(Bt){at(function(gn){var hr=gn+Bt;return hr})}),yt=pe(qe,2),ht=yt[0],Jt=yt[1];J(Un,wt,function(Bt,gn){return Ue(Bt,gn)?!1:(ht({preventDefault:function(){},deltaY:Bt}),!0)}),Object(O.useLayoutEffect)(function(){function Bt(gn){Un&&gn.preventDefault()}return wt.current.addEventListener("wheel",ht),wt.current.addEventListener("DOMMouseScroll",Jt),wt.current.addEventListener("MozMousePixelScroll",Bt),function(){wt.current.removeEventListener("wheel",ht),wt.current.removeEventListener("DOMMouseScroll",Jt),wt.current.removeEventListener("MozMousePixelScroll",Bt)}},[Un]);var kr=Y(wt,$e,gr,jt,an,ur,at,function(){var Bt;(Bt=Mr.current)===null||Bt===void 0||Bt.delayHidden()});O.useImperativeHandle(Z,function(){return{scrollTo:kr}}),Object(O.useLayoutEffect)(function(){if(yn){var Bt=$e.slice(Mn,li+1);yn(Bt,$e)}},[Mn,li,$e]);var _r=b($e,Mn,li,xr,mr,_t),Xr=null;return gt&&(Xr=Ie(oe({},rr?"height":"maxHeight",gt),Ot),Un&&(Xr.overflowY="hidden",Ee&&(Xr.pointerEvents="none"))),O.createElement("div",he({style:Ie(Ie({},pr),{},{position:"relative"}),className:Ve},Dn),O.createElement(ft,{className:"".concat(De,"-holder"),style:Xr,ref:wt,onScroll:Xe},O.createElement(o,{prefixCls:De,height:_n,offset:ai,onInnerResize:ur,ref:qt},_r)),Un&&O.createElement(C,{ref:Mr,prefixCls:De,scrollTop:Vn,height:gt,scrollHeight:_n,count:$e.length,onScroll:Qe,onStartMove:function(){je(!0)},onStopMove:function(){je(!1)}}))}var Ct=O.forwardRef(Tt);Ct.displayName="List";var Nt=Ct,Be=P.a=Nt},"+rIm":function(U,P,d){var O=d("bYtY"),x=O.retrieve,T=O.defaults,v=O.extend,S=O.each,m=d("7aKB"),f=d("IwbS"),c=d("Qxkt"),o=d("OELB"),r=o.isRadianAroundZero,a=o.remRadian,n=d("oVpE"),e=n.createSymbol,s=d("Fofx"),t=d("QBsz"),i=t.applyTransform,l=d("aX7z"),u=l.shouldShowAllLabels,h=Math.PI,p=function(M,H){this.opt=H,this.axisModel=M,T(H,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new f.Group;var F=new f.Group({position:H.position.slice(),rotation:H.rotation});F.updateTransform(),this._transform=F.transform,this._dumbGroup=F};p.prototype={constructor:p,hasBuilder:function(M){return!!g[M]},add:function(M){g[M].call(this)},getGroup:function(){return this.group}};var g={axisLine:function(){var M=this.opt,H=this.axisModel;if(!H.get("axisLine.show"))return;var F=this.axisModel.axis.getExtent(),K=this._transform,j=[F[0],0],V=[F[1],0];K&&(i(j,j,K),i(V,V,K));var z=v({lineCap:"round"},H.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new f.Line({anid:"line",subPixelOptimize:!0,shape:{x1:j[0],y1:j[1],x2:V[0],y2:V[1]},style:z,strokeContainThreshold:M.strokeContainThreshold||5,silent:!0,z2:1}));var Y=H.get("axisLine.symbol"),ee=H.get("axisLine.symbolSize"),fe=H.get("axisLine.symbolOffset")||0;if(typeof fe=="number"&&(fe=[fe,fe]),Y!=null){typeof Y=="string"&&(Y=[Y,Y]),(typeof ee=="string"||typeof ee=="number")&&(ee=[ee,ee]);var ie=ee[0],we=ee[1];S([{rotate:M.rotation+Math.PI/2,offset:fe[0],r:0},{rotate:M.rotation-Math.PI/2,offset:fe[1],r:Math.sqrt((j[0]-V[0])*(j[0]-V[0])+(j[1]-V[1])*(j[1]-V[1]))}],function(Ce,Le){if(Y[Le]!=="none"&&Y[Le]!=null){var He=e(Y[Le],-ie/2,-we/2,ie,we,z.stroke,!0),ce=Ce.r+Ce.offset,Pe=[j[0]+ce*Math.cos(M.rotation),j[1]-ce*Math.sin(M.rotation)];He.attr({rotation:Ce.rotate,position:Pe,silent:!0,z2:11}),this.group.add(He)}},this)}},axisTickLabel:function(){var M=this.axisModel,H=this.opt,F=D(this,M,H),K=R(this,M,H);w(M,K,F),N(this,M,H)},axisName:function(){var M=this.opt,H=this.axisModel,F=x(M.axisName,H.get("name"));if(!F)return;var K=H.get("nameLocation"),j=M.nameDirection,V=H.getModel("nameTextStyle"),z=H.get("nameGap")||0,Y=this.axisModel.axis.getExtent(),ee=Y[0]>Y[1]?-1:1,fe=[K==="start"?Y[0]-ee*z:K==="end"?Y[1]+ee*z:(Y[0]+Y[1])/2,_(K)?M.labelOffset+j*z:0],ie,we=H.get("nameRotate");we!=null&&(we=we*h/180);var Ce;_(K)?ie=y(M.rotation,we!=null?we:M.rotation,j):(ie=E(M,K,we||0,Y),Ce=M.axisNameAvailableWidth,Ce!=null&&(Ce=Math.abs(Ce/Math.sin(ie.rotation)),!isFinite(Ce)&&(Ce=null)));var Le=V.getFont(),He=H.get("nameTruncate",!0)||{},ce=He.ellipsis,Pe=x(M.nameTruncateMaxWidth,He.maxWidth,Ce),Q=ce!=null&&Pe!=null?m.truncateText(F,Pe,Le,ce,{minChar:2,placeholder:He.placeholder}):F,me=H.get("tooltip",!0),Je=H.mainType,re={componentType:Je,name:F,$vars:["name"]};re[Je+"Index"]=H.componentIndex;var G=new f.Text({anid:"name",__fullText:F,__truncatedText:Q,position:fe,rotation:ie.rotation,silent:C(H),z2:1,tooltip:me&&me.show?v({content:F,formatter:function(){return F},formatterParams:re},me):null});f.setTextStyle(G.style,V,{text:Q,textFont:Le,textFill:V.getTextColor()||H.get("axisLine.lineStyle.color"),textAlign:V.get("align")||ie.textAlign,textVerticalAlign:V.get("verticalAlign")||ie.textVerticalAlign}),H.get("triggerEvent")&&(G.eventData=A(H),G.eventData.targetType="axisName",G.eventData.name=F),this._dumbGroup.add(G),G.updateTransform(),this.group.add(G),G.decomposeTransform()}},A=p.makeAxisEventDataBase=function(M){var H={componentType:M.mainType,componentIndex:M.componentIndex};return H[M.mainType+"Index"]=M.componentIndex,H},y=p.innerTextLayout=function(M,H,F){var K=a(H-M),j,V;return r(K)?(V=F>0?"top":"bottom",j="center"):r(K-h)?(V=F>0?"bottom":"top",j="center"):(V="middle",K>0&&K0?"right":"left":j=F>0?"left":"right"),{rotation:K,textAlign:j,textVerticalAlign:V}};function E(M,H,F,K){var j=a(F-M.rotation),V,z,Y=K[0]>K[1],ee=H==="start"&&!Y||H!=="start"&&Y;return r(j-h/2)?(z=ee?"bottom":"top",V="center"):r(j-h*1.5)?(z=ee?"top":"bottom",V="center"):(z="middle",jh/2?V=ee?"left":"right":V=ee?"right":"left"),{rotation:j,textAlign:V,textVerticalAlign:z}}var C=p.isLabelSilent=function(M){var H=M.get("tooltip");return M.get("silent")||!(M.get("triggerEvent")||H&&H.show)};function w(M,H,F){if(u(M.axis))return;var K=M.get("axisLabel.showMinLabel"),j=M.get("axisLabel.showMaxLabel");H=H||[],F=F||[];var V=H[0],z=H[1],Y=H[H.length-1],ee=H[H.length-2],fe=F[0],ie=F[1],we=F[F.length-1],Ce=F[F.length-2];K===!1?(b(V),b(fe)):I(V,z)&&(K?(b(z),b(ie)):(b(V),b(fe))),j===!1?(b(Y),b(we)):I(ee,Y)&&(j?(b(ee),b(Ce)):(b(Y),b(we)))}function b(M){M&&(M.ignore=!0)}function I(M,H,F){var K=M&&M.getBoundingRect().clone(),j=H&&H.getBoundingRect().clone();if(!K||!j)return;var V=s.identity([]);return s.rotate(V,V,-M.rotation),K.applyTransform(s.mul([],V,M.getLocalTransform())),j.applyTransform(s.mul([],V,H.getLocalTransform())),K.intersect(j)}function _(M){return M==="middle"||M==="center"}function L(M,H,F,K,j){for(var V=[],z=[],Y=[],ee=0;eet}function K(oe){var pe=oe.length-1;return pe<0&&(pe=0),[oe[0],oe[pe]]}function j(oe,pe,Oe,Ye){var it=new S.Group;return it.add(new S.Rect({name:"main",style:ee(Oe),silent:!0,draggable:!0,cursor:"move",drift:c(oe,pe,it,"nswe"),ondragend:c(H,pe,{isEnd:!0})})),o(Ye,function(et){it.add(new S.Rect({name:et,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(oe,pe,it,et),ondragend:c(H,pe,{isEnd:!0})}))}),it}function V(oe,pe,Oe,Ye){var it=Ye.brushStyle.lineWidth||0,et=n(it,i),Te=Oe[0][0],tt=Oe[1][0],ze=Te-it/2,dt=tt-it/2,Ot=Oe[0][1],Tt=Oe[1][1],Ct=Ot-et+it/2,Nt=Tt-et+it/2,Be=Ot-Te,$=Tt-tt,Z=Be+it,Re=$+it;Y(oe,pe,"main",Te,tt,Be,$),Ye.transformable&&(Y(oe,pe,"w",ze,dt,et,Re),Y(oe,pe,"e",Ct,dt,et,Re),Y(oe,pe,"n",ze,dt,Z,et),Y(oe,pe,"s",ze,Nt,Z,et),Y(oe,pe,"nw",ze,dt,et,et),Y(oe,pe,"ne",Ct,dt,et,et),Y(oe,pe,"sw",ze,Nt,et,et),Y(oe,pe,"se",Ct,Nt,et,et))}function z(oe,pe){var Oe=pe.__brushOption,Ye=Oe.transformable,it=pe.childAt(0);it.useStyle(ee(Oe)),it.attr({silent:!Ye,cursor:Ye?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function(et){var Te=pe.childOfName(et),tt=we(oe,et);Te&&Te.attr({silent:!Ye,invisible:!Ye,cursor:Ye?h[tt]+"-resize":null})})}function Y(oe,pe,Oe,Ye,it,et,Te){var tt=pe.childOfName(Oe);tt&&tt.setShape(Pe(ce(oe,pe,[[Ye,it],[Ye+et,it+Te]])))}function ee(oe){return T.defaults({strokeNoScale:!0},oe.brushStyle)}function fe(oe,pe,Oe,Ye){var it=[a(oe,Oe),a(pe,Ye)],et=[n(oe,Oe),n(pe,Ye)];return[[it[0],et[0]],[it[1],et[1]]]}function ie(oe){return S.getTransform(oe.group)}function we(oe,pe){if(pe.length>1){pe=pe.split("");var Oe=[we(oe,pe[0]),we(oe,pe[1])];return(Oe[0]==="e"||Oe[0]==="w")&&Oe.reverse(),Oe.join("")}else{var Ye={w:"left",e:"right",n:"top",s:"bottom"},it={left:"w",right:"e",top:"n",bottom:"s"},Oe=S.transformDirection(Ye[pe],ie(oe));return it[Oe]}}function Ce(oe,pe,Oe,Ye,it,et,Te,tt){var ze=Ye.__brushOption,dt=oe(ze.range),Ot=He(Oe,et,Te);o(it.split(""),function(Tt){var Ct=u[Tt];dt[Ct[0]][Ct[1]]+=Ot[Ct[0]]}),ze.range=pe(fe(dt[0][0],dt[1][0],dt[0][1],dt[1][1])),D(Oe,Ye),H(Oe,{isEnd:!1})}function Le(oe,pe,Oe,Ye,it){var et=pe.__brushOption.range,Te=He(oe,Oe,Ye);o(et,function(tt){tt[0]+=Te[0],tt[1]+=Te[1]}),D(oe,pe),H(oe,{isEnd:!1})}function He(oe,pe,Oe){var Ye=oe.group,it=Ye.transformCoordToLocal(pe,Oe),et=Ye.transformCoordToLocal(0,0);return[it[0]-et[0],it[1]-et[1]]}function ce(oe,pe,Oe){var Ye=B(oe,pe);return Ye&&Ye!==!0?Ye.clipPath(Oe,oe._transform):T.clone(Oe)}function Pe(oe){var pe=a(oe[0][0],oe[1][0]),Oe=a(oe[0][1],oe[1][1]),Ye=n(oe[0][0],oe[1][0]),it=n(oe[0][1],oe[1][1]);return{x:pe,y:Oe,width:Ye-pe,height:it-Oe}}function Q(oe,pe,Oe){if(!oe._brushType||Ae(oe,pe))return;var Ye=oe._zr,it=oe._covers,et=R(oe,pe,Oe);if(!oe._dragging)for(var Te=0;TeYe.getWidth()||Oe<0||Oe>Ye.getHeight()}var he={lineX:Me(0),lineY:Me(1),rect:{createCover:function(oe,pe){return j(c(Ce,function(Oe){return Oe},function(Oe){return Oe}),oe,pe,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(oe){var pe=K(oe);return fe(pe[1][0],pe[1][1],pe[0][0],pe[0][1])},updateCoverShape:function(oe,pe,Oe,Ye){V(oe,pe,Oe,Ye)},updateCommon:z,contain:Je},polygon:{createCover:function(oe,pe){var Oe=new S.Group;return Oe.add(new S.Polyline({name:"main",style:ee(pe),silent:!0})),Oe},getCreatingRange:function(oe){return oe},endCreating:function(oe,pe){pe.remove(pe.childAt(0)),pe.add(new S.Polygon({name:"main",draggable:!0,drift:c(Le,oe,pe),ondragend:c(H,oe,{isEnd:!0})}))},updateCoverShape:function(oe,pe,Oe,Ye){pe.childAt(0).setShape({points:ce(oe,pe,Oe)})},updateCommon:z,contain:Je}};function Me(oe){return{createCover:function(pe,Oe){return j(c(Ce,function(Ye){var it=[Ye,[0,100]];return oe&&it.reverse(),it},function(Ye){return Ye[oe]}),pe,Oe,[["w","e"],["n","s"]][oe])},getCreatingRange:function(pe){var Oe=K(pe),Ye=a(Oe[0][oe],Oe[1][oe]),it=n(Oe[0][oe],Oe[1][oe]);return[Ye,it]},updateCoverShape:function(pe,Oe,Ye,it){var et,Te=B(pe,Oe);if(Te!==!0&&Te.getLinearBrushOtherExtent)et=Te.getLinearBrushOtherExtent(oe,pe._transform);else{var tt=pe._zr;et=[0,[tt.getWidth(),tt.getHeight()][1-oe]]}var ze=[Ye,et];oe&&ze.reverse(),V(pe,Oe,ze,it)},updateCommon:z,contain:Je}}var Ie=A;U.exports=Ie},"/MfK":function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="DeleteOutlined";var f=P.a=x.forwardRef(m)},"/POA":function(U,P,d){!function(O,x){if(!0)U.exports=x();else var T,v}(window,function(){return function(O){var x={};function T(v){if(x[v])return x[v].exports;var S=x[v]={i:v,l:!1,exports:{}};return O[v].call(S.exports,S,S.exports,T),S.l=!0,S.exports}return T.m=O,T.c=x,T.d=function(v,S,m){T.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:m})},T.r=function(v){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},T.t=function(v,S){if(1&S&&(v=T(v)),8&S)return v;if(4&S&&typeof v=="object"&&v&&v.__esModule)return v;var m=Object.create(null);if(T.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var f in v)T.d(m,f,function(c){return v[c]}.bind(null,f));return m},T.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return T.d(S,"a",S),S},T.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},T.p="",T(T.s=34)}([function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.forwardEvent=x.EventEmitter=void 0;var v=function(){function S(){this._listeners=[],this._disposed=!1}return Object.defineProperty(S.prototype,"event",{get:function(){var f=this;return this._event||(this._event=function(c){return f._listeners.push(c),{dispose:function(){if(!f._disposed){for(var r=0;r>22},a.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?m.stringFromCodePoint(2097151&this.content):""},a.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},a.prototype.setFromCharData=function(n){this.fg=n[f.CHAR_DATA_ATTR_INDEX],this.bg=0;var e=!1;if(n[f.CHAR_DATA_CHAR_INDEX].length>2)e=!0;else if(n[f.CHAR_DATA_CHAR_INDEX].length===2){var s=n[f.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=s&&s<=56319){var t=n[f.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(s-55296)+t-56320+65536|n[f.CHAR_DATA_WIDTH_INDEX]<<22:e=!0}else e=!0}else this.content=n[f.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|n[f.CHAR_DATA_WIDTH_INDEX]<<22;e&&(this.combinedData=n[f.CHAR_DATA_CHAR_INDEX],this.content=2097152|n[f.CHAR_DATA_WIDTH_INDEX]<<22)},a.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},a}(c.AttributeData);x.CellData=o},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ISoundService=x.ISelectionService=x.IRenderService=x.IMouseService=x.ICoreBrowserService=x.ICharSizeService=void 0;var v=T(14);x.ICharSizeService=v.createDecorator("CharSizeService"),x.ICoreBrowserService=v.createDecorator("CoreBrowserService"),x.IMouseService=v.createDecorator("MouseService"),x.IRenderService=v.createDecorator("RenderService"),x.ISelectionService=v.createDecorator("SelectionService"),x.ISoundService=v.createDecorator("SoundService")},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.ExtendedAttrs=x.AttributeData=void 0;var v=function(){function m(){this.fg=0,this.bg=0,this.extended=new S}return m.toColorRGB=function(f){return[f>>>16&255,f>>>8&255,255&f]},m.fromColorRGB=function(f){return(255&f[0])<<16|(255&f[1])<<8|255&f[2]},m.prototype.clone=function(){var f=new m;return f.fg=this.fg,f.bg=this.bg,f.extended=this.extended.clone(),f},m.prototype.isInverse=function(){return 67108864&this.fg},m.prototype.isBold=function(){return 134217728&this.fg},m.prototype.isUnderline=function(){return 268435456&this.fg},m.prototype.isBlink=function(){return 536870912&this.fg},m.prototype.isInvisible=function(){return 1073741824&this.fg},m.prototype.isItalic=function(){return 67108864&this.bg},m.prototype.isDim=function(){return 134217728&this.bg},m.prototype.getFgColorMode=function(){return 50331648&this.fg},m.prototype.getBgColorMode=function(){return 50331648&this.bg},m.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},m.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},m.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},m.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},m.prototype.isFgDefault=function(){return(50331648&this.fg)==0},m.prototype.isBgDefault=function(){return(50331648&this.bg)==0},m.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},m.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},m.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},m.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},m.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},m.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},m.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},m.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},m.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},m.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},m.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},m}();x.AttributeData=v;var S=function(){function m(f,c){f===void 0&&(f=0),c===void 0&&(c=-1),this.underlineStyle=f,this.underlineColor=c}return m.prototype.clone=function(){return new m(this.underlineStyle,this.underlineColor)},m.prototype.isEmpty=function(){return this.underlineStyle===0},m}();x.ExtendedAttrs=S},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.addDisposableDomListener=void 0,x.addDisposableDomListener=function(v,S,m,f){v.addEventListener(S,m,f);var c=!1;return{dispose:function(){c||(c=!0,v.removeEventListener(S,m,f))}}}},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.Utf8ToUtf32=x.StringToUtf32=x.utf32ToString=x.stringFromCodePoint=void 0,x.stringFromCodePoint=function(m){return m>65535?(m-=65536,String.fromCharCode(55296+(m>>10))+String.fromCharCode(m%1024+56320)):String.fromCharCode(m)},x.utf32ToString=function(m,f,c){f===void 0&&(f=0),c===void 0&&(c=m.length);for(var o="",r=f;r65535?(a-=65536,o+=String.fromCharCode(55296+(a>>10))+String.fromCharCode(a%1024+56320)):o+=String.fromCharCode(a)}return o};var v=function(){function m(){this._interim=0}return m.prototype.clear=function(){this._interim=0},m.prototype.decode=function(f,c){var o=f.length;if(!o)return 0;var r=0,a=0;this._interim&&(56320<=(s=f.charCodeAt(a++))&&s<=57343?c[r++]=1024*(this._interim-55296)+s-56320+65536:(c[r++]=this._interim,c[r++]=s),this._interim=0);for(var n=a;n=o)return this._interim=e,r;var s;56320<=(s=f.charCodeAt(n))&&s<=57343?c[r++]=1024*(e-55296)+s-56320+65536:(c[r++]=e,c[r++]=s)}else c[r++]=e}return r},m}();x.StringToUtf32=v;var S=function(){function m(){this.interim=new Uint8Array(3)}return m.prototype.clear=function(){this.interim.fill(0)},m.prototype.decode=function(f,c){var o=f.length;if(!o)return 0;var r,a,n,e,s=0,t=0,i=0;if(this.interim[0]){var l=!1,u=this.interim[0];u&=(224&u)==192?31:(240&u)==224?15:7;for(var h=0,p=void 0;(p=63&this.interim[++h])&&h<4;)u<<=6,u|=p;for(var g=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,A=g-h;i=o)return 0;if((192&(p=f[i++]))!=128){i--,l=!0;break}this.interim[h++]=p,u<<=6,u|=63&p}l||(g===2?u<128?i--:c[s++]=u:g===3?u<2048||u>=55296&&u<=57343||(c[s++]=u):u<65536||u>1114111||(c[s++]=u)),this.interim.fill(0)}for(var y=o-4,E=i;E=o)return this.interim[0]=r,s;if((192&(a=f[E++]))!=128){E--;continue}if((t=(31&r)<<6|63&a)<128){E--;continue}c[s++]=t}else if((240&r)==224){if(E>=o)return this.interim[0]=r,s;if((192&(a=f[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=a,s;if((192&(n=f[E++]))!=128){E--;continue}if((t=(15&r)<<12|(63&a)<<6|63&n)<2048||t>=55296&&t<=57343)continue;c[s++]=t}else if((248&r)==240){if(E>=o)return this.interim[0]=r,s;if((192&(a=f[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=a,s;if((192&(n=f[E++]))!=128){E--;continue}if(E>=o)return this.interim[0]=r,this.interim[1]=a,this.interim[2]=n,s;if((192&(e=f[E++]))!=128){E--;continue}if((t=(7&r)<<18|(63&a)<<12|(63&n)<<6|63&e)<65536||t>1114111)continue;c[s++]=t}}return s},m}();x.Utf8ToUtf32=S},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CHAR_ATLAS_CELL_SPACING=x.DIM_OPACITY=x.INVERTED_DEFAULT_COLOR=void 0,x.INVERTED_DEFAULT_COLOR=257,x.DIM_OPACITY=.5,x.CHAR_ATLAS_CELL_SPACING=1},function(O,x,T){"use strict";var v,S,m,f;function c(r){var a=r.toString(16);return a.length<2?"0"+a:a}function o(r,a){return r>>0}}(v=x.channels||(x.channels={})),(S=x.color||(x.color={})).blend=function(r,a){var n=(255&a.rgba)/255;if(n===1)return{css:a.css,rgba:a.rgba};var e=a.rgba>>24&255,s=a.rgba>>16&255,t=a.rgba>>8&255,i=r.rgba>>24&255,l=r.rgba>>16&255,u=r.rgba>>8&255,h=i+Math.round((e-i)*n),p=l+Math.round((s-l)*n),g=u+Math.round((t-u)*n);return{css:v.toCss(h,p,g),rgba:v.toRgba(h,p,g)}},S.isOpaque=function(r){return(255&r.rgba)==255},S.ensureContrastRatio=function(r,a,n){var e=f.ensureContrastRatio(r.rgba,a.rgba,n);if(e)return f.toColor(e>>24&255,e>>16&255,e>>8&255)},S.opaque=function(r){var a=(255|r.rgba)>>>0,n=f.toChannels(a),e=n[0],s=n[1],t=n[2];return{css:v.toCss(e,s,t),rgba:a}},S.opacity=function(r,a){var n=Math.round(255*a),e=f.toChannels(r.rgba),s=e[0],t=e[1],i=e[2];return{css:v.toCss(s,t,i,n),rgba:v.toRgba(s,t,i,n)}},(x.css||(x.css={})).toColor=function(r){switch(r.length){case 7:return{css:r,rgba:(parseInt(r.slice(1),16)<<8|255)>>>0};case 9:return{css:r,rgba:parseInt(r.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(r){function a(n,e,s){var t=n/255,i=e/255,l=s/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4))}r.relativeLuminance=function(n){return a(n>>16&255,n>>8&255,255&n)},r.relativeLuminance2=a}(m=x.rgb||(x.rgb={})),function(r){function a(e,s,t){for(var i=e>>24&255,l=e>>16&255,u=e>>8&255,h=s>>24&255,p=s>>16&255,g=s>>8&255,A=o(m.relativeLuminance2(h,g,p),m.relativeLuminance2(i,l,u));A0||p>0||g>0);)h-=Math.max(0,Math.ceil(.1*h)),p-=Math.max(0,Math.ceil(.1*p)),g-=Math.max(0,Math.ceil(.1*g)),A=o(m.relativeLuminance2(h,g,p),m.relativeLuminance2(i,l,u));return(h<<24|p<<16|g<<8|255)>>>0}function n(e,s,t){for(var i=e>>24&255,l=e>>16&255,u=e>>8&255,h=s>>24&255,p=s>>16&255,g=s>>8&255,A=o(m.relativeLuminance2(h,g,p),m.relativeLuminance2(i,l,u));A>>0}r.ensureContrastRatio=function(e,s,t){var i=m.relativeLuminance(e>>8),l=m.relativeLuminance(s>>8);if(o(i,l)>24&255,e>>16&255,e>>8&255,255&e]},r.toColor=function(e,s,t){return{css:v.toCss(e,s,t),rgba:v.toRgba(e,s,t)}}}(f=x.rgba||(x.rgba={})),x.toPaddedHex=c,x.contrastRatio=o},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.isLinux=x.isWindows=x.isIphone=x.isIpad=x.isMac=x.isSafari=x.isFirefox=void 0;var v=typeof navigator=="undefined",S=v?"node":navigator.userAgent,m=v?"node":navigator.platform;function f(c,o){return c.indexOf(o)>=0}x.isFirefox=!!~S.indexOf("Firefox"),x.isSafari=/^((?!chrome|android).)*safari/i.test(S),x.isMac=f(["Macintosh","MacIntel","MacPPC","Mac68K"],m),x.isIpad=m==="iPad",x.isIphone=m==="iPhone",x.isWindows=f(["Windows","Win16","Win32","WinCE"],m),x.isLinux=m.indexOf("Linux")>=0},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.C1=x.C0=void 0,function(v){v.NUL="\0",v.SOH="",v.STX="",v.ETX="",v.EOT="",v.ENQ="",v.ACK="",v.BEL="\x07",v.BS="\b",v.HT=" ",v.LF=` `,v.VT="\v",v.FF="\f",v.CR="\r",v.SO="",v.SI="",v.DLE="",v.DC1="",v.DC2="",v.DC3="",v.DC4="",v.NAK="",v.SYN="",v.ETB="",v.CAN="",v.EM="",v.SUB="",v.ESC="",v.FS="",v.GS="",v.RS="",v.US="",v.SP=" ",v.DEL="\x7F"}(x.C0||(x.C0={})),function(v){v.PAD="\x80",v.HOP="\x81",v.BPH="\x82",v.NBH="\x83",v.IND="\x84",v.NEL="\x85",v.SSA="\x86",v.ESA="\x87",v.HTS="\x88",v.HTJ="\x89",v.VTS="\x8A",v.PLD="\x8B",v.PLU="\x8C",v.RI="\x8D",v.SS2="\x8E",v.SS3="\x8F",v.DCS="\x90",v.PU1="\x91",v.PU2="\x92",v.STS="\x93",v.CCH="\x94",v.MW="\x95",v.SPA="\x96",v.EPA="\x97",v.SOS="\x98",v.SGCI="\x99",v.SCI="\x9A",v.CSI="\x9B",v.ST="\x9C",v.OSC="\x9D",v.PM="\x9E",v.APC="\x9F"}(x.C1||(x.C1={}))},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BaseRenderLayer=void 0;var v=T(3),S=T(9),m=T(25),f=T(6),c=T(28),o=T(10),r=T(17),a=function(){function n(e,s,t,i,l,u,h,p){this._container=e,this._alpha=i,this._colors=l,this._rendererId=u,this._bufferService=h,this._optionsService=p,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+s+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return n.prototype.dispose=function(){var e;r.removeElementFromParent(this._canvas),(e=this._charAtlas)===null||e===void 0||e.dispose()},n.prototype._initCanvas=function(){this._ctx=c.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},n.prototype.onOptionsChanged=function(){},n.prototype.onBlur=function(){},n.prototype.onFocus=function(){},n.prototype.onCursorMove=function(){},n.prototype.onGridChanged=function(e,s){},n.prototype.onSelectionChanged=function(e,s,t){t===void 0&&(t=!1)},n.prototype.setColors=function(e){this._refreshCharAtlas(e)},n.prototype._setTransparency=function(e){if(e!==this._alpha){var s=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,s),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},n.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=m.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},n.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},n.prototype._fillCells=function(e,s,t,i){this._ctx.fillRect(e*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,i*this._scaledCellHeight)},n.prototype._fillBottomLineAtCells=function(e,s,t){t===void 0&&(t=1),this._ctx.fillRect(e*this._scaledCellWidth,(s+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},n.prototype._fillLeftLineAtCell=function(e,s,t){this._ctx.fillRect(e*this._scaledCellWidth,s*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},n.prototype._strokeRectAtCell=function(e,s,t,i){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,s*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,i*this._scaledCellHeight-window.devicePixelRatio)},n.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},n.prototype._clearCells=function(e,s,t,i){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,i*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,s*this._scaledCellHeight,t*this._scaledCellWidth,i*this._scaledCellHeight))},n.prototype._fillCharTrueColor=function(e,s,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(e.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},n.prototype._drawChars=function(e,s,t){var i,l,u=this._getContrastColor(e);u||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,s,t,u):(e.isInverse()?(i=e.isBgDefault()?S.INVERTED_DEFAULT_COLOR:e.getBgColor(),l=e.isFgDefault()?S.INVERTED_DEFAULT_COLOR:e.getFgColor()):(l=e.isBgDefault()?v.DEFAULT_COLOR:e.getBgColor(),i=e.isFgDefault()?v.DEFAULT_COLOR:e.getFgColor()),i+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&i<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||v.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||v.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=l,this._currentGlyphIdentifier.fg=i,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,s,t))},n.prototype._drawUncachedChars=function(e,s,t,i){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(i)this._ctx.fillStyle=i.css;else if(e.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+f.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var l=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&l<8&&(l+=8),this._ctx.fillStyle=this._colors.ansi[l].css}else if(i)this._ctx.fillStyle=i.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+f.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var u=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}this._clipRow(t),e.isDim()&&(this._ctx.globalAlpha=S.DIM_OPACITY),this._ctx.fillText(e.getChars(),s*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},n.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},n.prototype._getFont=function(e,s){return(s?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},n.prototype._getContrastColor=function(e){if(this._optionsService.options.minimumContrastRatio!==1){var s=this._colors.contrastCache.getColor(e.bg,e.fg);if(s!==void 0)return s||void 0;var t=e.getFgColor(),i=e.getFgColorMode(),l=e.getBgColor(),u=e.getBgColorMode(),h=!!e.isInverse(),p=!!e.isInverse();if(h){var g=t;t=l,l=g;var A=i;i=u,u=A}var y=this._resolveBackgroundRgba(u,l,h),E=this._resolveForegroundRgba(i,t,h,p),C=o.rgba.ensureContrastRatio(y,E,this._optionsService.options.minimumContrastRatio);if(C){var w={css:o.channels.toCss(C>>24&255,C>>16&255,C>>8&255),rgba:C};return this._colors.contrastCache.setColor(e.bg,e.fg,w),w}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},n.prototype._resolveBackgroundRgba=function(e,s,t){switch(e){case 16777216:case 33554432:return this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},n.prototype._resolveForegroundRgba=function(e,s,t,i){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&i&&s<8&&(s+=8),this._colors.ansi[s].rgba;case 50331648:return s<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},n}();x.BaseRenderLayer=a},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.createDecorator=x.getServiceDependencies=x.serviceRegistry=void 0;function v(S,m,f){m.di$target===m?m.di$dependencies.push({id:S,index:f}):(m.di$dependencies=[{id:S,index:f}],m.di$target=m)}x.serviceRegistry=new Map,x.getServiceDependencies=function(S){return S.di$dependencies||[]},x.createDecorator=function(S){if(x.serviceRegistry.has(S))return x.serviceRegistry.get(S);var m=function f(c,o,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");v(f,c,r)};return m.toString=function(){return S},x.serviceRegistry.set(S,m),m}},function(O,x,T){"use strict";function v(S,m,f,c){if(f===void 0&&(f=0),c===void 0&&(c=S.length),f>=S.length)return S;f=(S.length+f)%S.length,c=c>=S.length?S.length:(S.length+c)%S.length;for(var o=f;o>22,2097152&a?this._combined[r].charCodeAt(this._combined[r].length-1):n]},o.prototype.set=function(r,a){this._data[3*r+1]=a[S.CHAR_DATA_ATTR_INDEX],a[S.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=a[1],this._data[3*r+0]=2097152|r|a[S.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=a[S.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|a[S.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(r){return this._data[3*r+0]>>22},o.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},o.prototype.getFg=function(r){return this._data[3*r+1]},o.prototype.getBg=function(r){return this._data[3*r+2]},o.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},o.prototype.getCodePoint=function(r){var a=this._data[3*r+0];return 2097152&a?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&a},o.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},o.prototype.getString=function(r){var a=this._data[3*r+0];return 2097152&a?this._combined[r]:2097151&a?v.stringFromCodePoint(2097151&a):""},o.prototype.loadCell=function(r,a){var n=3*r;return a.content=this._data[n+0],a.fg=this._data[n+1],a.bg=this._data[n+2],2097152&a.content&&(a.combinedData=this._combined[r]),268435456&a.bg&&(a.extended=this._extendedAttrs[r]),a},o.prototype.setCell=function(r,a){2097152&a.content&&(this._combined[r]=a.combinedData),268435456&a.bg&&(this._extendedAttrs[r]=a.extended),this._data[3*r+0]=a.content,this._data[3*r+1]=a.fg,this._data[3*r+2]=a.bg},o.prototype.setCellFromCodePoint=function(r,a,n,e,s,t){268435456&s&&(this._extendedAttrs[r]=t),this._data[3*r+0]=a|n<<22,this._data[3*r+1]=e,this._data[3*r+2]=s},o.prototype.addCodepointToCell=function(r,a){var n=this._data[3*r+0];2097152&n?this._combined[r]+=v.stringFromCodePoint(a):(2097151&n?(this._combined[r]=v.stringFromCodePoint(2097151&n)+v.stringFromCodePoint(a),n&=-2097152,n|=2097152):n=a|1<<22,this._data[3*r+0]=n)},o.prototype.insertCells=function(r,a,n,e){if((r%=this.length)&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(e==null?void 0:e.fg)||0,(e==null?void 0:e.bg)||0,(e==null?void 0:e.extended)||new f.ExtendedAttrs),a=0;--t)this.setCell(r+a+t,this.loadCell(r+t,s));for(t=0;tthis.length){var n=new Uint32Array(3*r);this.length&&(3*r=r&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},o.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var a=0;a=0;--r)if(4194303&this._data[3*r+0])return r+(this._data[3*r+0]>>22);return 0},o.prototype.copyCellsFrom=function(r,a,n,e,s){var t=r._data;if(s)for(var i=e-1;i>=0;i--)for(var l=0;l<3;l++)this._data[3*(n+i)+l]=t[3*(a+i)+l];else for(i=0;i=a&&(this._combined[h-a+n]=r._combined[h])}},o.prototype.translateToString=function(r,a,n){r===void 0&&(r=!1),a===void 0&&(a=0),n===void 0&&(n=this.length),r&&(n=Math.min(n,this.getTrimmedLength()));for(var e="";a>22||1}return e},o}();x.BufferLine=c},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.removeElementFromParent=void 0,x.removeElementFromParent=function(){for(var v,S=[],m=0;m24)return C.setWinLines||!1;switch(E){case 1:return!!C.restoreWin;case 2:return!!C.minimizeWin;case 3:return!!C.setWinPosition;case 4:return!!C.setWinSizePixels;case 5:return!!C.raiseWin;case 6:return!!C.lowerWin;case 7:return!!C.refreshWin;case 8:return!!C.setWinSizeChars;case 9:return!!C.maximizeWin;case 10:return!!C.fullscreenWin;case 11:return!!C.getWinState;case 13:return!!C.getWinPosition;case 14:return!!C.getWinSizePixels;case 15:return!!C.getScreenSizePixels;case 16:return!!C.getCellSizePixels;case 18:return!!C.getWinSizeChars;case 19:return!!C.getScreenSizeChars;case 20:return!!C.getIconTitle;case 21:return!!C.getWinTitle;case 22:return!!C.pushTitle;case 23:return!!C.popTitle;case 24:return!!C.setWinLines}return!1}!function(E){E[E.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",E[E.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(m=x.WindowsOptionsReportType||(x.WindowsOptionsReportType={}));var A=function(){function E(C,w,b,I){this._bufferService=C,this._coreService=w,this._logService=b,this._optionsService=I,this._data=new Uint32Array(0)}return E.prototype.hook=function(C){this._data=new Uint32Array(0)},E.prototype.put=function(C,w,b){this._data=a.concat(this._data,C.subarray(w,b))},E.prototype.unhook=function(C){if(C){var w=n.utf32ToString(this._data);switch(this._data=new Uint32Array(0),w){case'"q':return this._coreService.triggerDataEvent(f.C0.ESC+'P1$r0"q'+f.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(f.C0.ESC+'P1$r61;1"p'+f.C0.ESC+"\\");case"r":var b=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(f.C0.ESC+"P1$r"+b+f.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(f.C0.ESC+"P1$r0m"+f.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(f.C0.ESC+"P1$r"+I+" q"+f.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",w),this._coreService.triggerDataEvent(f.C0.ESC+"P0$r"+f.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},E}(),y=function(E){function C(w,b,I,_,L,D,N,R,B){B===void 0&&(B=new o.EscapeSequenceParser);var M=E.call(this)||this;M._bufferService=w,M._charsetService=b,M._coreService=I,M._dirtyRowService=_,M._logService=L,M._optionsService=D,M._coreMouseService=N,M._unicodeService=R,M._parser=B,M._parseBuffer=new Uint32Array(4096),M._stringDecoder=new n.StringToUtf32,M._utf8Decoder=new n.Utf8ToUtf32,M._workCell=new i.CellData,M._windowTitle="",M._iconName="",M._windowTitleStack=[],M._iconNameStack=[],M._curAttrData=e.DEFAULT_ATTR_DATA.clone(),M._eraseAttrDataInternal=e.DEFAULT_ATTR_DATA.clone(),M._onRequestBell=new s.EventEmitter,M._onRequestRefreshRows=new s.EventEmitter,M._onRequestReset=new s.EventEmitter,M._onRequestScroll=new s.EventEmitter,M._onRequestSyncScrollBar=new s.EventEmitter,M._onRequestWindowsOptionsReport=new s.EventEmitter,M._onA11yChar=new s.EventEmitter,M._onA11yTab=new s.EventEmitter,M._onCursorMove=new s.EventEmitter,M._onLineFeed=new s.EventEmitter,M._onScroll=new s.EventEmitter,M._onTitleChange=new s.EventEmitter,M.register(M._parser),M._parser.setCsiHandlerFallback(function(j,V){M._logService.debug("Unknown CSI code: ",{identifier:M._parser.identToString(j),params:V.toArray()})}),M._parser.setEscHandlerFallback(function(j){M._logService.debug("Unknown ESC code: ",{identifier:M._parser.identToString(j)})}),M._parser.setExecuteHandlerFallback(function(j){M._logService.debug("Unknown EXECUTE code: ",{code:j})}),M._parser.setOscHandlerFallback(function(j,V,z){M._logService.debug("Unknown OSC code: ",{identifier:j,action:V,data:z})}),M._parser.setDcsHandlerFallback(function(j,V,z){V==="HOOK"&&(z=z.toArray()),M._logService.debug("Unknown DCS code: ",{identifier:M._parser.identToString(j),action:V,payload:z})}),M._parser.setPrintHandler(function(j,V,z){return M.print(j,V,z)}),M._parser.setCsiHandler({final:"@"},function(j){return M.insertChars(j)}),M._parser.setCsiHandler({intermediates:" ",final:"@"},function(j){return M.scrollLeft(j)}),M._parser.setCsiHandler({final:"A"},function(j){return M.cursorUp(j)}),M._parser.setCsiHandler({intermediates:" ",final:"A"},function(j){return M.scrollRight(j)}),M._parser.setCsiHandler({final:"B"},function(j){return M.cursorDown(j)}),M._parser.setCsiHandler({final:"C"},function(j){return M.cursorForward(j)}),M._parser.setCsiHandler({final:"D"},function(j){return M.cursorBackward(j)}),M._parser.setCsiHandler({final:"E"},function(j){return M.cursorNextLine(j)}),M._parser.setCsiHandler({final:"F"},function(j){return M.cursorPrecedingLine(j)}),M._parser.setCsiHandler({final:"G"},function(j){return M.cursorCharAbsolute(j)}),M._parser.setCsiHandler({final:"H"},function(j){return M.cursorPosition(j)}),M._parser.setCsiHandler({final:"I"},function(j){return M.cursorForwardTab(j)}),M._parser.setCsiHandler({final:"J"},function(j){return M.eraseInDisplay(j)}),M._parser.setCsiHandler({prefix:"?",final:"J"},function(j){return M.eraseInDisplay(j)}),M._parser.setCsiHandler({final:"K"},function(j){return M.eraseInLine(j)}),M._parser.setCsiHandler({prefix:"?",final:"K"},function(j){return M.eraseInLine(j)}),M._parser.setCsiHandler({final:"L"},function(j){return M.insertLines(j)}),M._parser.setCsiHandler({final:"M"},function(j){return M.deleteLines(j)}),M._parser.setCsiHandler({final:"P"},function(j){return M.deleteChars(j)}),M._parser.setCsiHandler({final:"S"},function(j){return M.scrollUp(j)}),M._parser.setCsiHandler({final:"T"},function(j){return M.scrollDown(j)}),M._parser.setCsiHandler({final:"X"},function(j){return M.eraseChars(j)}),M._parser.setCsiHandler({final:"Z"},function(j){return M.cursorBackwardTab(j)}),M._parser.setCsiHandler({final:"`"},function(j){return M.charPosAbsolute(j)}),M._parser.setCsiHandler({final:"a"},function(j){return M.hPositionRelative(j)}),M._parser.setCsiHandler({final:"b"},function(j){return M.repeatPrecedingCharacter(j)}),M._parser.setCsiHandler({final:"c"},function(j){return M.sendDeviceAttributesPrimary(j)}),M._parser.setCsiHandler({prefix:">",final:"c"},function(j){return M.sendDeviceAttributesSecondary(j)}),M._parser.setCsiHandler({final:"d"},function(j){return M.linePosAbsolute(j)}),M._parser.setCsiHandler({final:"e"},function(j){return M.vPositionRelative(j)}),M._parser.setCsiHandler({final:"f"},function(j){return M.hVPosition(j)}),M._parser.setCsiHandler({final:"g"},function(j){return M.tabClear(j)}),M._parser.setCsiHandler({final:"h"},function(j){return M.setMode(j)}),M._parser.setCsiHandler({prefix:"?",final:"h"},function(j){return M.setModePrivate(j)}),M._parser.setCsiHandler({final:"l"},function(j){return M.resetMode(j)}),M._parser.setCsiHandler({prefix:"?",final:"l"},function(j){return M.resetModePrivate(j)}),M._parser.setCsiHandler({final:"m"},function(j){return M.charAttributes(j)}),M._parser.setCsiHandler({final:"n"},function(j){return M.deviceStatus(j)}),M._parser.setCsiHandler({prefix:"?",final:"n"},function(j){return M.deviceStatusPrivate(j)}),M._parser.setCsiHandler({intermediates:"!",final:"p"},function(j){return M.softReset(j)}),M._parser.setCsiHandler({intermediates:" ",final:"q"},function(j){return M.setCursorStyle(j)}),M._parser.setCsiHandler({final:"r"},function(j){return M.setScrollRegion(j)}),M._parser.setCsiHandler({final:"s"},function(j){return M.saveCursor(j)}),M._parser.setCsiHandler({final:"t"},function(j){return M.windowOptions(j)}),M._parser.setCsiHandler({final:"u"},function(j){return M.restoreCursor(j)}),M._parser.setCsiHandler({intermediates:"'",final:"}"},function(j){return M.insertColumns(j)}),M._parser.setCsiHandler({intermediates:"'",final:"~"},function(j){return M.deleteColumns(j)}),M._parser.setExecuteHandler(f.C0.BEL,function(){return M.bell()}),M._parser.setExecuteHandler(f.C0.LF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(f.C0.VT,function(){return M.lineFeed()}),M._parser.setExecuteHandler(f.C0.FF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(f.C0.CR,function(){return M.carriageReturn()}),M._parser.setExecuteHandler(f.C0.BS,function(){return M.backspace()}),M._parser.setExecuteHandler(f.C0.HT,function(){return M.tab()}),M._parser.setExecuteHandler(f.C0.SO,function(){return M.shiftOut()}),M._parser.setExecuteHandler(f.C0.SI,function(){return M.shiftIn()}),M._parser.setExecuteHandler(f.C1.IND,function(){return M.index()}),M._parser.setExecuteHandler(f.C1.NEL,function(){return M.nextLine()}),M._parser.setExecuteHandler(f.C1.HTS,function(){return M.tabSet()}),M._parser.setOscHandler(0,new u.OscHandler(function(j){M.setTitle(j),M.setIconName(j)})),M._parser.setOscHandler(1,new u.OscHandler(function(j){return M.setIconName(j)})),M._parser.setOscHandler(2,new u.OscHandler(function(j){return M.setTitle(j)})),M._parser.setEscHandler({final:"7"},function(){return M.saveCursor()}),M._parser.setEscHandler({final:"8"},function(){return M.restoreCursor()}),M._parser.setEscHandler({final:"D"},function(){return M.index()}),M._parser.setEscHandler({final:"E"},function(){return M.nextLine()}),M._parser.setEscHandler({final:"H"},function(){return M.tabSet()}),M._parser.setEscHandler({final:"M"},function(){return M.reverseIndex()}),M._parser.setEscHandler({final:"="},function(){return M.keypadApplicationMode()}),M._parser.setEscHandler({final:">"},function(){return M.keypadNumericMode()}),M._parser.setEscHandler({final:"c"},function(){return M.fullReset()}),M._parser.setEscHandler({final:"n"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"o"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"|"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"}"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"~"},function(){return M.setgLevel(1)}),M._parser.setEscHandler({intermediates:"%",final:"@"},function(){return M.selectDefaultCharset()}),M._parser.setEscHandler({intermediates:"%",final:"G"},function(){return M.selectDefaultCharset()});var H=function(V){F._parser.setEscHandler({intermediates:"(",final:V},function(){return M.selectCharset("("+V)}),F._parser.setEscHandler({intermediates:")",final:V},function(){return M.selectCharset(")"+V)}),F._parser.setEscHandler({intermediates:"*",final:V},function(){return M.selectCharset("*"+V)}),F._parser.setEscHandler({intermediates:"+",final:V},function(){return M.selectCharset("+"+V)}),F._parser.setEscHandler({intermediates:"-",final:V},function(){return M.selectCharset("-"+V)}),F._parser.setEscHandler({intermediates:".",final:V},function(){return M.selectCharset("."+V)}),F._parser.setEscHandler({intermediates:"/",final:V},function(){return M.selectCharset("/"+V)})},F=this;for(var K in c.CHARSETS)H(K);return M._parser.setEscHandler({intermediates:"#",final:"8"},function(){return M.screenAlignmentPattern()}),M._parser.setErrorHandler(function(j){return M._logService.error("Parsing error: ",j),j}),M._parser.setDcsHandler({intermediates:"$",final:"q"},new A(M._bufferService,M._coreService,M._logService,M._optionsService)),M}return S(C,E),Object.defineProperty(C.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),C.prototype.dispose=function(){E.prototype.dispose.call(this)},C.prototype.parse=function(w){var b=this._bufferService.buffer,I=b.x,_=b.y;if(this._logService.debug("parsing data",w),this._parseBuffer.length131072)for(var L=0;L0&&K.getWidth(D.x-1)===2&&K.setCellFromCodePoint(D.x-1,0,1,F.fg,F.bg,F.extended);for(var j=b;j=B){if(M){for(;D.x=this._bufferService.rows&&(D.y=this._bufferService.rows-1),D.lines.get(D.ybase+D.y).isWrapped=!0),K=D.lines.get(D.ybase+D.y)}else if(D.x=B-1,L===2)continue}if(H&&(K.insertCells(D.x,L,D.getNullCell(F),F),K.getWidth(B-1)===2&&K.setCellFromCodePoint(B-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,F.fg,F.bg,F.extended)),K.setCellFromCodePoint(D.x++,_,L,F.fg,F.bg,F.extended),L>0)for(;--L;)K.setCellFromCodePoint(D.x++,0,0,F.fg,F.bg,F.extended)}else K.getWidth(D.x-1)?K.addCodepointToCell(D.x-1,_):K.addCodepointToCell(D.x-2,_)}I-b>0&&(K.loadCell(D.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),D.x0&&K.getWidth(D.x)===0&&!K.hasContent(D.x)&&K.setCellFromCodePoint(D.x,0,1,F.fg,F.bg,F.extended),this._dirtyRowService.markDirty(D.y)},C.prototype.addCsiHandler=function(w,b){var I=this;return w.final!=="t"||w.prefix||w.intermediates?this._parser.addCsiHandler(w,b):this._parser.addCsiHandler(w,function(_){return!g(_.params[0],I._optionsService.options.windowOptions)||b(_)})},C.prototype.addDcsHandler=function(w,b){return this._parser.addDcsHandler(w,new h.DcsHandler(b))},C.prototype.addEscHandler=function(w,b){return this._parser.addEscHandler(w,b)},C.prototype.addOscHandler=function(w,b){return this._parser.addOscHandler(w,new u.OscHandler(b))},C.prototype.bell=function(){this._onRequestBell.fire()},C.prototype.lineFeed=function(){var w=this._bufferService.buffer;this._dirtyRowService.markDirty(w.y),this._optionsService.options.convertEol&&(w.x=0),w.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),w.x>=this._bufferService.cols&&w.x--,this._dirtyRowService.markDirty(w.y),this._onLineFeed.fire()},C.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},C.prototype.backspace=function(){var w,b=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(b.x>0&&b.x--);if(this._restrictCursor(this._bufferService.cols),b.x>0)b.x--;else if(b.x===0&&b.y>b.scrollTop&&b.y<=b.scrollBottom&&((w=b.lines.get(b.ybase+b.y))===null||w===void 0?void 0:w.isWrapped)){b.lines.get(b.ybase+b.y).isWrapped=!1,b.y--,b.x=this._bufferService.cols-1;var I=b.lines.get(b.ybase+b.y);I.hasWidth(b.x)&&!I.hasContent(b.x)&&b.x--}this._restrictCursor()},C.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var w=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-w)}},C.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},C.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},C.prototype._restrictCursor=function(w){w===void 0&&(w=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(w,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},C.prototype._setCursor=function(w,b){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=w,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+b):(this._bufferService.buffer.x=w,this._bufferService.buffer.y=b),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},C.prototype._moveCursor=function(w,b){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+w,this._bufferService.buffer.y+b)},C.prototype.cursorUp=function(w){var b=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;b>=0?this._moveCursor(0,-Math.min(b,w.params[0]||1)):this._moveCursor(0,-(w.params[0]||1))},C.prototype.cursorDown=function(w){var b=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;b>=0?this._moveCursor(0,Math.min(b,w.params[0]||1)):this._moveCursor(0,w.params[0]||1)},C.prototype.cursorForward=function(w){this._moveCursor(w.params[0]||1,0)},C.prototype.cursorBackward=function(w){this._moveCursor(-(w.params[0]||1),0)},C.prototype.cursorNextLine=function(w){this.cursorDown(w),this._bufferService.buffer.x=0},C.prototype.cursorPrecedingLine=function(w){this.cursorUp(w),this._bufferService.buffer.x=0},C.prototype.cursorCharAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},C.prototype.cursorPosition=function(w){this._setCursor(w.length>=2?(w.params[1]||1)-1:0,(w.params[0]||1)-1)},C.prototype.charPosAbsolute=function(w){this._setCursor((w.params[0]||1)-1,this._bufferService.buffer.y)},C.prototype.hPositionRelative=function(w){this._moveCursor(w.params[0]||1,0)},C.prototype.linePosAbsolute=function(w){this._setCursor(this._bufferService.buffer.x,(w.params[0]||1)-1)},C.prototype.vPositionRelative=function(w){this._moveCursor(0,w.params[0]||1)},C.prototype.hVPosition=function(w){this.cursorPosition(w)},C.prototype.tabClear=function(w){var b=w.params[0];b===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:b===3&&(this._bufferService.buffer.tabs={})},C.prototype.cursorForwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var b=w.params[0]||1;b--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},C.prototype.cursorBackwardTab=function(w){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var b=w.params[0]||1,I=this._bufferService.buffer;b--;)I.x=I.prevStop()},C.prototype._eraseInBufferLine=function(w,b,I,_){_===void 0&&(_=!1);var L=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);L.replaceCells(b,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),_&&(L.isWrapped=!1)},C.prototype._resetBufferLine=function(w){var b=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+w);b.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),b.isWrapped=!1},C.prototype.eraseInDisplay=function(w){var b;switch(this._restrictCursor(),w.params[0]){case 0:for(b=this._bufferService.buffer.y,this._dirtyRowService.markDirty(b),this._eraseInBufferLine(b++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);b=this._bufferService.cols&&(this._bufferService.buffer.lines.get(b+1).isWrapped=!1);b--;)this._resetBufferLine(b);this._dirtyRowService.markDirty(0);break;case 2:for(b=this._bufferService.rows,this._dirtyRowService.markDirty(b-1);b--;)this._resetBufferLine(b);this._dirtyRowService.markDirty(0);break;case 3:var I=this._bufferService.buffer.lines.length-this._bufferService.rows;I>0&&(this._bufferService.buffer.lines.trimStart(I),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-I,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-I,0),this._onScroll.fire(0))}},C.prototype.eraseInLine=function(w){switch(this._restrictCursor(),w.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},C.prototype.insertLines=function(w){this._restrictCursor();var b=w.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.yI.scrollBottom||I.yb.scrollBottom||b.yb.scrollBottom||b.yb.scrollBottom||b.yb.scrollBottom||b.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(f.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(f.C0.ESC+"[?6c"))},C.prototype.sendDeviceAttributesSecondary=function(w){w.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(f.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(f.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(w.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(f.C0.ESC+"[>83;40003;0c"))},C.prototype._is=function(w){return(this._optionsService.options.termName+"").indexOf(w)===0},C.prototype.setMode=function(w){for(var b=0;b=2||_[1]===2&&D+L>=5)break;_[1]&&(L=1)}while(++D+b5)&&(w=1),b.extended.underlineStyle=w,b.fg|=268435456,w===0&&(b.fg&=-268435457),b.updateExtended()},C.prototype.charAttributes=function(w){if(w.length===1&&w.params[0]===0)return this._curAttrData.fg=e.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=e.DEFAULT_ATTR_DATA.bg);for(var b,I=w.length,_=this._curAttrData,L=0;L=30&&b<=37?(_.fg&=-50331904,_.fg|=16777216|b-30):b>=40&&b<=47?(_.bg&=-50331904,_.bg|=16777216|b-40):b>=90&&b<=97?(_.fg&=-50331904,_.fg|=16777224|b-90):b>=100&&b<=107?(_.bg&=-50331904,_.bg|=16777224|b-100):b===0?(_.fg=e.DEFAULT_ATTR_DATA.fg,_.bg=e.DEFAULT_ATTR_DATA.bg):b===1?_.fg|=134217728:b===3?_.bg|=67108864:b===4?(_.fg|=268435456,this._processUnderline(w.hasSubParams(L)?w.getSubParams(L)[0]:1,_)):b===5?_.fg|=536870912:b===7?_.fg|=67108864:b===8?_.fg|=1073741824:b===2?_.bg|=134217728:b===21?this._processUnderline(2,_):b===22?(_.fg&=-134217729,_.bg&=-134217729):b===23?_.bg&=-67108865:b===24?_.fg&=-268435457:b===25?_.fg&=-536870913:b===27?_.fg&=-67108865:b===28?_.fg&=-1073741825:b===39?(_.fg&=-67108864,_.fg|=16777215&e.DEFAULT_ATTR_DATA.fg):b===49?(_.bg&=-67108864,_.bg|=16777215&e.DEFAULT_ATTR_DATA.bg):b===38||b===48||b===58?L+=this._extractColor(w,L,_):b===59?(_.extended=_.extended.clone(),_.extended.underlineColor=-1,_.updateExtended()):b===100?(_.fg&=-67108864,_.fg|=16777215&e.DEFAULT_ATTR_DATA.fg,_.bg&=-67108864,_.bg|=16777215&e.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",b)},C.prototype.deviceStatus=function(w){switch(w.params[0]){case 5:this._coreService.triggerDataEvent(f.C0.ESC+"[0n");break;case 6:var b=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(f.C0.ESC+"["+b+";"+I+"R")}},C.prototype.deviceStatusPrivate=function(w){switch(w.params[0]){case 6:var b=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(f.C0.ESC+"[?"+b+";"+I+"R")}},C.prototype.softReset=function(w){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=e.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},C.prototype.setCursorStyle=function(w){var b=w.params[0]||1;switch(b){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var I=b%2==1;this._optionsService.options.cursorBlink=I},C.prototype.setScrollRegion=function(w){var b,I=w.params[0]||1;(w.length<2||(b=w.params[1])>this._bufferService.rows||b===0)&&(b=this._bufferService.rows),b>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=b-1,this._setCursor(0,0))},C.prototype.windowOptions=function(w){if(g(w.params[0],this._optionsService.options.windowOptions)){var b=w.length>1?w.params[1]:0;switch(w.params[0]){case 14:b!==2&&this._onRequestWindowsOptionsReport.fire(m.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(m.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(f.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:b!==0&&b!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),b!==0&&b!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:b!==0&&b!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),b!==0&&b!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},C.prototype.saveCursor=function(w){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},C.prototype.restoreCursor=function(w){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},C.prototype.setTitle=function(w){this._windowTitle=w,this._onTitleChange.fire(w)},C.prototype.setIconName=function(w){this._iconName=w},C.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},C.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},C.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},C.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,c.DEFAULT_CHARSET)},C.prototype.selectCharset=function(w){w.length===2?w[0]!=="/"&&this._charsetService.setgCharset(p[w[0]],c.CHARSETS[w[1]]||c.DEFAULT_CHARSET):this.selectDefaultCharset()},C.prototype.index=function(){this._restrictCursor();var w=this._bufferService.buffer;this._bufferService.buffer.y++,w.y===w.scrollBottom+1?(w.y--,this._onRequestScroll.fire(this._eraseAttrData())):w.y>=this._bufferService.rows&&(w.y=this._bufferService.rows-1),this._restrictCursor()},C.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},C.prototype.reverseIndex=function(){this._restrictCursor();var w=this._bufferService.buffer;if(w.y===w.scrollTop){var b=w.scrollBottom-w.scrollTop;w.lines.shiftElements(w.ybase+w.y,b,1),w.lines.set(w.ybase+w.y,w.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}else w.y--,this._restrictCursor()},C.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},C.prototype.reset=function(){this._curAttrData=e.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=e.DEFAULT_ATTR_DATA.clone()},C.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},C.prototype.setgLevel=function(w){this._charsetService.setgLevel(w)},C.prototype.screenAlignmentPattern=function(){var w=new i.CellData;w.content=1<<22|"E".charCodeAt(0),w.fg=this._curAttrData.fg,w.bg=this._curAttrData.bg;var b=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(m),this.length=0,this._subParams=new Int32Array(f),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(m),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return S.fromArray=function(m){var f=new S;if(!m.length)return f;for(var c=m[0]instanceof Array?1:0;c>8,o=255&this._subParamsIdx[f];o-c>0&&m.push(Array.prototype.slice.call(this._subParams,c,o))}return m},S.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},S.prototype.addParam=function(m){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(m<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=m>2147483647?2147483647:m}},S.prototype.addSubParam=function(m){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(m<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=m>2147483647?2147483647:m,this._subParamsIdx[this.length-1]++}},S.prototype.hasSubParams=function(m){return(255&this._subParamsIdx[m])-(this._subParamsIdx[m]>>8)>0},S.prototype.getSubParams=function(m){var f=this._subParamsIdx[m]>>8,c=255&this._subParamsIdx[m];return c-f>0?this._subParams.subarray(f,c):null},S.prototype.getSubParamsAll=function(){for(var m={},f=0;f>8,o=255&this._subParamsIdx[f];o-c>0&&(m[f]=this._subParams.slice(c,o))}return m},S.prototype.addDigit=function(m){var f;if(!(this._rejectDigits||!(f=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var c=this._digitIsSub?this._subParams:this.params,o=c[f-1];c[f-1]=~o?Math.min(10*o+m,2147483647):m}},S}();x.Params=v},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.OscHandler=x.OscParser=void 0;var v=T(23),S=T(8),m=function(){function c(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return c.prototype.addHandler=function(o,r){this._handlers[o]===void 0&&(this._handlers[o]=[]);var a=this._handlers[o];return a.push(r),{dispose:function(){var e=a.indexOf(r);e!==-1&&a.splice(e,1)}}},c.prototype.setHandler=function(o,r){this._handlers[o]=[r]},c.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},c.prototype.setHandlerFallback=function(o){this._handlerFb=o},c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},c.prototype._start=function(){var o=this._handlers[this._id];if(o)for(var r=o.length-1;r>=0;r--)o[r].start();else this._handlerFb(this._id,"START")},c.prototype._put=function(o,r,a){var n=this._handlers[this._id];if(n)for(var e=n.length-1;e>=0;e--)n[e].put(o,r,a);else this._handlerFb(this._id,"PUT",S.utf32ToString(o,r,a))},c.prototype._end=function(o){var r=this._handlers[this._id];if(r){for(var a=r.length-1;a>=0&&r[a].end(o)===!1;a--);for(a--;a>=0;a--)r[a].end(!1)}else this._handlerFb(this._id,"END",o)},c.prototype.start=function(){this.reset(),this._id=-1,this._state=1},c.prototype.put=function(o,r,a){if(this._state!==3){if(this._state===1)for(;r0&&this._put(o,r,a)}},c.prototype.end=function(o){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(o)),this._id=-1,this._state=0)},c}();x.OscParser=m;var f=function(){function c(o){this._handler=o,this._data="",this._hitLimit=!1}return c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(o,r,a){this._hitLimit||(this._data+=S.utf32ToString(o,r,a),this._data.length>v.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(o){var r;return this._hitLimit?r=!1:o&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},c}();x.OscHandler=f},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.PAYLOAD_LIMIT=void 0,x.PAYLOAD_LIMIT=1e7},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DcsHandler=x.DcsParser=void 0;var v=T(8),S=T(21),m=T(23),f=[],c=function(){function r(){this._handlers=Object.create(null),this._active=f,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(a,n){this._handlers[a]===void 0&&(this._handlers[a]=[]);var e=this._handlers[a];return e.push(n),{dispose:function(){var t=e.indexOf(n);t!==-1&&e.splice(t,1)}}},r.prototype.setHandler=function(a,n){this._handlers[a]=[n]},r.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},r.prototype.setHandlerFallback=function(a){this._handlerFb=a},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=f,this._ident=0},r.prototype.hook=function(a,n){if(this.reset(),this._ident=a,this._active=this._handlers[a]||f,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].hook(n);else this._handlerFb(this._ident,"HOOK",n)},r.prototype.put=function(a,n,e){if(this._active.length)for(var s=this._active.length-1;s>=0;s--)this._active[s].put(a,n,e);else this._handlerFb(this._ident,"PUT",v.utf32ToString(a,n,e))},r.prototype.unhook=function(a){if(this._active.length){for(var n=this._active.length-1;n>=0&&this._active[n].unhook(a)===!1;n--);for(n--;n>=0;n--)this._active[n].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",a);this._active=f,this._ident=0},r}();x.DcsParser=c;var o=function(){function r(a){this._handler=a,this._data="",this._hitLimit=!1}return r.prototype.hook=function(a){this._params=a.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(a,n,e){this._hitLimit||(this._data+=v.utf32ToString(a,n,e),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(a){var n;return this._hitLimit?n=!1:a&&(n=this._handler(this._data,this._params||new S.Params)),this._params=void 0,this._data="",this._hitLimit=!1,n},r}();x.DcsHandler=o},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.removeTerminalFromCache=x.acquireCharAtlas=void 0;var v=T(26),S=T(43),m=[];x.acquireCharAtlas=function(f,c,o,r,a){for(var n=v.generateConfig(r,a,f,o),e=0;e=0){if(v.configEquals(t.config,n))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),m.splice(e,1)):t.ownedBy.splice(s,1);break}}for(e=0;e1)for(var A=this._getJoinedRanges(t,u,l,e,i),y=0;y1)for(A=this._getJoinedRanges(t,u,l,e,i),y=0;y=this._line.length))return l?(this._line.loadCell(i,l),l):this._line.loadCell(i,new v.CellData)},t.prototype.translateToString=function(i,l,u){return this._line.translateToString(i,l,u)},t}(),e=function(){function t(i){this._core=i}return t.prototype.registerCsiHandler=function(i,l){return this._core.addCsiHandler(i,function(u){return l(u.toArray())})},t.prototype.addCsiHandler=function(i,l){return this.registerCsiHandler(i,l)},t.prototype.registerDcsHandler=function(i,l){return this._core.addDcsHandler(i,function(u,h){return l(u,h.toArray())})},t.prototype.addDcsHandler=function(i,l){return this.registerDcsHandler(i,l)},t.prototype.registerEscHandler=function(i,l){return this._core.addEscHandler(i,l)},t.prototype.addEscHandler=function(i,l){return this.registerEscHandler(i,l)},t.prototype.registerOscHandler=function(i,l){return this._core.addOscHandler(i,l)},t.prototype.addOscHandler=function(i,l){return this.registerOscHandler(i,l)},t}(),s=function(){function t(i){this._core=i}return t.prototype.register=function(i){this._core.unicodeService.register(i)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(l){this._core.unicodeService.activeVersion=l},enumerable:!1,configurable:!0}),t}()},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(M,H){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,K){F.__proto__=K}||function(F,K){for(var j in K)K.hasOwnProperty(j)&&(F[j]=K[j])})(M,H)},function(B,M){function H(){this.constructor=B}v(B,M),B.prototype=M===null?Object.create(M):(H.prototype=M.prototype,new H)});Object.defineProperty(x,"__esModule",{value:!0}),x.Terminal=void 0;var m=T(36),f=T(37),c=T(38),o=T(12),r=T(19),a=T(40),n=T(50),e=T(51),s=T(11),t=T(7),i=T(18),l=T(54),u=T(55),h=T(56),p=T(57),g=T(59),A=T(0),y=T(16),E=T(27),C=T(60),w=T(5),b=T(61),I=T(62),_=T(63),L=T(64),D=T(65),N=typeof window!="undefined"?window.document:null,R=function(B){function M(H){H===void 0&&(H={});var F=B.call(this,H)||this;return F.browser=s,F._keyDownHandled=!1,F._onCursorMove=new A.EventEmitter,F._onKey=new A.EventEmitter,F._onRender=new A.EventEmitter,F._onSelectionChange=new A.EventEmitter,F._onTitleChange=new A.EventEmitter,F._onFocus=new A.EventEmitter,F._onBlur=new A.EventEmitter,F._onA11yCharEmitter=new A.EventEmitter,F._onA11yTabEmitter=new A.EventEmitter,F._setup(),F.linkifier=F._instantiationService.createInstance(n.Linkifier),F.linkifier2=F.register(F._instantiationService.createInstance(_.Linkifier2)),F.register(F._inputHandler.onRequestBell(function(){return F.bell()})),F.register(F._inputHandler.onRequestRefreshRows(function(K,j){return F.refresh(K,j)})),F.register(F._inputHandler.onRequestReset(function(){return F.reset()})),F.register(F._inputHandler.onRequestScroll(function(K,j){return F.scroll(K,j||void 0)})),F.register(F._inputHandler.onRequestWindowsOptionsReport(function(K){return F._reportWindowsOptions(K)})),F.register(A.forwardEvent(F._inputHandler.onCursorMove,F._onCursorMove)),F.register(A.forwardEvent(F._inputHandler.onTitleChange,F._onTitleChange)),F.register(A.forwardEvent(F._inputHandler.onA11yChar,F._onA11yCharEmitter)),F.register(A.forwardEvent(F._inputHandler.onA11yTab,F._onA11yTabEmitter)),F.register(F._bufferService.onResize(function(K){return F._afterResize(K.cols,K.rows)})),F}return S(M,B),Object.defineProperty(M.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),M.prototype.dispose=function(){var H,F,K;this._isDisposed||(B.prototype.dispose.call(this),(H=this._renderService)===null||H===void 0||H.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(K=(F=this.element)===null||F===void 0?void 0:F.parentNode)===null||K===void 0||K.removeChild(this.element))},M.prototype._setup=function(){B.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(M.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),M.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},M.prototype._updateOptions=function(H){var F,K,j,V;switch(B.prototype._updateOptions.call(this,H),H){case"fontFamily":case"fontSize":(F=this._renderService)===null||F===void 0||F.clear(),(K=this._charSizeService)===null||K===void 0||K.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(j=this.viewport)===null||j===void 0||j.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new h.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},M.prototype._onTextAreaFocus=function(H){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[I"),this.updateCursorStyle(H),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},M.prototype.blur=function(){var H;return(H=this.textarea)===null||H===void 0?void 0:H.blur()},M.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},M.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var H=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),F=this._bufferService.buffer.y*H,K=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=K+"px",this.textarea.style.top=F+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=H+"px",this.textarea.style.lineHeight=H+"px",this.textarea.style.zIndex="-5"}},M.prototype._initGlobal=function(){var H=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(K){H.hasSelection()&&c.copyHandler(K,H._selectionService)}));var F=function(j){return c.handlePasteEvent(j,H.textarea,H._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",F)),this.register(t.addDisposableDomListener(this.element,"paste",F)),s.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(K){K.button===2&&c.rightClickHandler(K,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(K){c.rightClickHandler(K,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})),s.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(K){K.button===1&&c.moveTextAreaUnderMouseCursor(K,H.textarea,H.screenElement)}))},M.prototype._bindKeys=function(){var H=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(F){return H._keyUp(F)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(F){return H._keyDown(F)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(F){return H._keyPress(F)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return H._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(F){return H._compositionHelper.compositionupdate(F)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return H._compositionHelper.compositionend()})),this.register(this.onRender(function(){return H._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(F){return H._queueLinkification(F.start,F.end)}))},M.prototype.open=function(H){var F=this;if(!H)throw new Error("Terminal requires a parent element.");N.body.contains(H)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=H.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),H.appendChild(this.element);var K=N.createDocumentFragment();this._viewportElement=N.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),K.appendChild(this._viewportElement),this._viewportScrollArea=N.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=N.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=N.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),K.appendChild(this.screenElement),this.textarea=N.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",i.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(z){return F._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return F._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var j=this._instantiationService.createInstance(L.CoreBrowserService,this.textarea);this._instantiationService.setService(w.ICoreBrowserService,j),this._charSizeService=this._instantiationService.createInstance(b.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(w.ICharSizeService,this._charSizeService),this._compositionView=N.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(m.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(K),this._theme=this.options.theme||this._theme,this._colorManager=new E.ColorManager(N,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return F._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(C.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(w.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return F._onRender.fire(z)})),this.onResize(function(z){return F._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(l.SoundService),this._instantiationService.setService(w.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(w.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(f.Viewport,function(z,Y){return F.scrollLines(z,Y)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return F.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){F._renderService.onCursorMove(),F._syncTextArea()})),this.register(this.onResize(function(){return F._renderService.onResize(F.cols,F.rows)})),this.register(this.onBlur(function(){return F._renderService.onBlur()})),this.register(this.onFocus(function(){return F._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return F.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(e.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(w.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return F.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return F._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return F._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){F.textarea.value=z,F.textarea.focus(),F.textarea.select()})),this.register(this.onScroll(function(){F.viewport.syncScrollArea(),F._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return F._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(u.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return F._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(z){return F._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new h.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},M.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(a.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(p.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},M.prototype._setTheme=function(H){var F,K,j;this._theme=H,(F=this._colorManager)===null||F===void 0||F.setTheme(H),(K=this._renderService)===null||K===void 0||K.setColors(this._colorManager.colors),(j=this.viewport)===null||j===void 0||j.onThemeChange(this._colorManager.colors)},M.prototype.bindMouse=function(){var H=this,F=this,K=this.element;function j(ie){var we,Ce,Le=F._mouseService.getRawByteCoords(ie,F.screenElement,F.cols,F.rows);if(!Le)return!1;switch(ie.overrideType||ie.type){case"mousemove":Ce=32,ie.buttons===void 0?(we=3,ie.button!==void 0&&(we=ie.button<3?ie.button:3)):we=1&ie.buttons?0:4&ie.buttons?1:2&ie.buttons?2:3;break;case"mouseup":Ce=0,we=ie.button<3?ie.button:3;break;case"mousedown":Ce=1,we=ie.button<3?ie.button:3;break;case"wheel":ie.deltaY!==0&&(Ce=ie.deltaY<0?0:1),we=4;break;default:return!1}return!(Ce===void 0||we===void 0||we>4)&&F._coreMouseService.triggerMouseEvent({col:Le.x-33,row:Le.y-33,button:we,action:Ce,ctrl:ie.ctrlKey,alt:ie.altKey,shift:ie.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(we){return j(we),we.buttons||(H._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&H._document.removeEventListener("mousemove",V.mousedrag)),H.cancel(we)},Y=function(we){return j(we),we.preventDefault(),H.cancel(we)},ee=function(we){we.buttons&&j(we)},fe=function(we){we.buttons||j(we)};this.register(this._coreMouseService.onProtocolChange(function(ie){ie?(H.optionsService.options.logLevel==="debug"&&H._logService.debug("Binding to mouse events:",H._coreMouseService.explainEvents(ie)),H.element.classList.add("enable-mouse-events"),H._selectionService.disable()):(H._logService.debug("Unbinding from mouse events."),H.element.classList.remove("enable-mouse-events"),H._selectionService.enable()),8&ie?V.mousemove||(K.addEventListener("mousemove",fe),V.mousemove=fe):(K.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&ie?V.wheel||(K.addEventListener("wheel",Y,{passive:!1}),V.wheel=Y):(K.removeEventListener("wheel",V.wheel),V.wheel=null),2&ie?V.mouseup||(V.mouseup=z):(H._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&ie?V.mousedrag||(V.mousedrag=ee):(H._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(K,"mousedown",function(ie){if(ie.preventDefault(),H.focus(),H._coreMouseService.areMouseEventsActive&&!H._selectionService.shouldForceSelection(ie))return j(ie),V.mouseup&&H._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&H._document.addEventListener("mousemove",V.mousedrag),H.cancel(ie)})),this.register(t.addDisposableDomListener(K,"wheel",function(ie){if(!V.wheel){if(!H.buffer.hasScrollback){var we=H.viewport.getLinesScrolled(ie);if(we===0)return;for(var Ce=o.C0.ESC+(H._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ie.deltaY<0?"A":"B"),Le="",He=0;He47)},M.prototype._keyUp=function(H){this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1||(function(F){return F.keyCode===16||F.keyCode===17||F.keyCode===18}(H)||this.focus(),this.updateCursorStyle(H))},M.prototype._keyPress=function(H){var F;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(this.cancel(H),H.charCode)F=H.charCode;else if(H.which===null||H.which===void 0)F=H.keyCode;else{if(H.which===0||H.charCode===0)return!1;F=H.which}return!(!F||(H.altKey||H.ctrlKey||H.metaKey)&&!this._isThirdLevelShift(this.browser,H))&&(F=String.fromCharCode(F),this._onKey.fire({key:F,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(F,!0),!0)},M.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},M.prototype.resize=function(H,F){H!==this.cols||F!==this.rows?B.prototype.resize.call(this,H,F):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},M.prototype._afterResize=function(H,F){var K,j;(K=this._charSizeService)===null||K===void 0||K.measure(),(j=this.viewport)===null||j===void 0||j.syncScrollArea(!0)},M.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var H=1;H=0;i--)(e=o[i])&&(t=(s<3?e(t):s>3?e(r,a,t):e(r,a))||t);return s>3&&t&&Object.defineProperty(r,a,t),t},S=this&&this.__param||function(o,r){return function(a,n){r(a,n,o)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CompositionHelper=void 0;var m=T(5),f=T(1),c=function(){function o(r,a,n,e,s,t){this._textarea=r,this._compositionView=a,this._bufferService=n,this._optionsService=e,this._charSizeService=s,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(o.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),o.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},o.prototype.compositionupdate=function(r){var a=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){a._compositionPosition.end=a._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.prototype.keydown=function(r){if(this._isComposing||this._isSendingComposition){if(r.keyCode===229)return!1;if(r.keyCode===16||r.keyCode===17||r.keyCode===18)return!1;this._finalizeComposition(!1)}return r.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},o.prototype._finalizeComposition=function(r){var a=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(a._isSendingComposition){a._isSendingComposition=!1;var s=void 0;s=a._isComposing?a._textarea.value.substring(n.start,n.end):a._textarea.value.substring(n.start),a._coreService.triggerDataEvent(s,!0)}},0)}else{this._isSendingComposition=!1;var e=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(e,!0)}},o.prototype._handleAnyTextareaChanges=function(){var r=this,a=this._textarea.value;setTimeout(function(){if(!r._isComposing){var n=r._textarea.value.replace(a,"");n.length>0&&r._coreService.triggerDataEvent(n,!0)}},0)},o.prototype.updateCompositionElements=function(r){var a=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),e=this._bufferService.buffer.y*n,s=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=s+"px",this._compositionView.style.top=e+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=s+"px",this._textarea.style.top=e+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}r||setTimeout(function(){return a.updateCompositionElements(!0)},0)}},o=v([S(2,f.IBufferService),S(3,f.IOptionsService),S(4,m.ICharSizeService),S(5,f.ICoreService)],o)}();x.CompositionHelper=c},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(s,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var u in l)l.hasOwnProperty(u)&&(i[u]=l[u])})(s,t)},function(e,s){function t(){this.constructor=e}v(e,s),e.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),m=this&&this.__decorate||function(e,s,t,i){var l,u=arguments.length,h=u<3?s:i===null?i=Object.getOwnPropertyDescriptor(s,t):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(e,s,t,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,i){s(t,i,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Viewport=void 0;var c=T(2),o=T(7),r=T(5),a=T(1),n=function(e){function s(t,i,l,u,h,p,g){var A=e.call(this)||this;return A._scrollLines=t,A._viewportElement=i,A._scrollArea=l,A._bufferService=u,A._optionsService=h,A._charSizeService=p,A._renderService=g,A.scrollBarWidth=0,A._currentRowHeight=0,A._lastRecordedBufferLength=0,A._lastRecordedViewportHeight=0,A._lastRecordedBufferHeight=0,A._lastTouchY=0,A._lastScrollTop=0,A._wheelPartialScroll=0,A._refreshAnimationFrame=null,A._ignoreNextScrollEvent=!1,A.scrollBarWidth=A._viewportElement.offsetWidth-A._scrollArea.offsetWidth||15,A.register(o.addDisposableDomListener(A._viewportElement,"scroll",A._onScroll.bind(A))),setTimeout(function(){return A.syncScrollArea()},0),A}return S(s,e),s.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},s.prototype._refresh=function(t){var i=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return i._innerRefresh()}))},s.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var i=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==i&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=i),this._refreshAnimationFrame=null},s.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var i=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===i&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},s.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var i=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(i,!0)}},s.prototype._bubbleScroll=function(t,i){var l=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(i<0&&this._viewportElement.scrollTop!==0||i>0&&l0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(i*=this._bufferService.rows),i},s.prototype._applyScrollModifier=function(t,i){var l=this._optionsService.options.fastScrollModifier;return l==="alt"&&i.altKey||l==="ctrl"&&i.ctrlKey||l==="shift"&&i.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},s.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},s.prototype.onTouchMove=function(t){var i=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,i!==0&&(this._viewportElement.scrollTop+=i,this._bubbleScroll(t,i))},s=m([f(3,a.IBufferService),f(4,a.IOptionsService),f(5,r.ICharSizeService),f(6,r.IRenderService)],s)}(c.Disposable);x.Viewport=n},function(O,x,T){"use strict";function v(c){return c.replace(/\r?\n/g,"\r")}function S(c,o){return o?"[200~"+c+"[201~":c}function m(c,o,r){c=S(c=v(c),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(c,!0),o.value=""}function f(c,o,r){var a=r.getBoundingClientRect(),n=c.clientX-a.left-10,e=c.clientY-a.top-10;o.style.width="20px",o.style.height="20px",o.style.left=n+"px",o.style.top=e+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(x,"__esModule",{value:!0}),x.rightClickHandler=x.moveTextAreaUnderMouseCursor=x.paste=x.handlePasteEvent=x.copyHandler=x.bracketTextForPaste=x.prepareTextForTerminal=void 0,x.prepareTextForTerminal=v,x.bracketTextForPaste=S,x.copyHandler=function(c,o){c.clipboardData&&c.clipboardData.setData("text/plain",o.selectionText),c.preventDefault()},x.handlePasteEvent=function(c,o,r){c.stopPropagation(),c.clipboardData&&m(c.clipboardData.getData("text/plain"),o,r)},x.paste=m,x.moveTextAreaUnderMouseCursor=f,x.rightClickHandler=function(c,o,r,a,n){f(c,o,r),n&&!a.isClickInSelection(c)&&a.selectWordAtCursor(c),o.value=a.selectionText,o.select()}},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(s,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var u in l)l.hasOwnProperty(u)&&(i[u]=l[u])})(s,t)},function(e,s){function t(){this.constructor=e}v(e,s),e.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)});Object.defineProperty(x,"__esModule",{value:!0}),x.EscapeSequenceParser=x.VT500_TRANSITION_TABLE=x.TransitionTable=void 0;var m=T(2),f=T(15),c=T(21),o=T(22),r=T(24),a=function(){function e(s){this.table=new Uint8Array(s)}return e.prototype.setDefault=function(s,t){f.fill(this.table,s<<4|t)},e.prototype.add=function(s,t,i,l){this.table[t<<8|s]=i<<4|l},e.prototype.addMany=function(s,t,i,l){for(var u=0;u1)throw new Error("only one byte as prefix supported");if((l=t.prefix.charCodeAt(0))&&60>l||l>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var u=0;uh||h>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");l<<=8,l|=h}}if(t.final.length!==1)throw new Error("final must be a single byte");var p=t.final.charCodeAt(0);if(i[0]>p||p>i[1])throw new Error("final must be in range "+i[0]+" .. "+i[1]);return l<<=8,l|=p},s.prototype.identToString=function(t){for(var i=[];t;)i.push(String.fromCharCode(255&t)),t>>=8;return i.reverse().join("")},s.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},s.prototype.setPrintHandler=function(t){this._printHandler=t},s.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},s.prototype.addEscHandler=function(t,i){var l=this._identifier(t,[48,126]);this._escHandlers[l]===void 0&&(this._escHandlers[l]=[]);var u=this._escHandlers[l];return u.push(i),{dispose:function(){var p=u.indexOf(i);p!==-1&&u.splice(p,1)}}},s.prototype.setEscHandler=function(t,i){this._escHandlers[this._identifier(t,[48,126])]=[i]},s.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},s.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},s.prototype.setExecuteHandler=function(t,i){this._executeHandlers[t.charCodeAt(0)]=i},s.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},s.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},s.prototype.addCsiHandler=function(t,i){var l=this._identifier(t);this._csiHandlers[l]===void 0&&(this._csiHandlers[l]=[]);var u=this._csiHandlers[l];return u.push(i),{dispose:function(){var p=u.indexOf(i);p!==-1&&u.splice(p,1)}}},s.prototype.setCsiHandler=function(t,i){this._csiHandlers[this._identifier(t)]=[i]},s.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},s.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},s.prototype.addDcsHandler=function(t,i){return this._dcsParser.addHandler(this._identifier(t),i)},s.prototype.setDcsHandler=function(t,i){this._dcsParser.setHandler(this._identifier(t),i)},s.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},s.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},s.prototype.addOscHandler=function(t,i){return this._oscParser.addHandler(t,i)},s.prototype.setOscHandler=function(t,i){this._oscParser.setHandler(t,i)},s.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},s.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},s.prototype.setErrorHandler=function(t){this._errorHandler=t},s.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},s.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},s.prototype.parse=function(t,i){for(var l=0,u=0,h=this.currentState,p=this._oscParser,g=this._dcsParser,A=this._collect,y=this._params,E=this._transitions.table,C=0;C>4){case 2:for(var w=C+1;;++w){if(w>=i||(l=t[w])<32||l>126&&l<160){this._printHandler(t,C,w),C=w-1;break}if(++w>=i||(l=t[w])<32||l>126&&l<160){this._printHandler(t,C,w),C=w-1;break}if(++w>=i||(l=t[w])<32||l>126&&l<160){this._printHandler(t,C,w),C=w-1;break}if(++w>=i||(l=t[w])<32||l>126&&l<160){this._printHandler(t,C,w),C=w-1;break}}break;case 3:this._executeHandlers[l]?this._executeHandlers[l]():this._executeHandlerFb(l),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:C,code:l,currentState:h,collect:A,params:y,abort:!1}).abort)return;break;case 7:for(var b=this._csiHandlers[A<<8|l],I=b?b.length-1:-1;I>=0&&b[I](y)===!1;I--);I<0&&this._csiHandlerFb(A<<8|l,y),this.precedingCodepoint=0;break;case 8:do switch(l){case 59:y.addParam(0);break;case 58:y.addSubParam(-1);break;default:y.addDigit(l-48)}while(++C47&&l<60);C--;break;case 9:A<<=8,A|=l;break;case 10:for(var _=this._escHandlers[A<<8|l],L=_?_.length-1:-1;L>=0&&_[L]()===!1;L--);L<0&&this._escHandlerFb(A<<8|l),this.precedingCodepoint=0;break;case 11:y.reset(),y.addParam(0),A=0;break;case 12:g.hook(A<<8|l,y);break;case 13:for(var D=C+1;;++D)if(D>=i||(l=t[D])===24||l===26||l===27||l>127&&l<160){g.put(t,C,D),C=D-1;break}break;case 14:g.unhook(l!==24&&l!==26),l===27&&(u|=1),y.reset(),y.addParam(0),A=0,this.precedingCodepoint=0;break;case 4:p.start();break;case 5:for(var N=C+1;;N++)if(N>=i||(l=t[N])<32||l>127&&l<=159){p.put(t,C,N),C=N-1;break}break;case 6:p.end(l!==24&&l!==26),l===27&&(u|=1),y.reset(),y.addParam(0),A=0,this.precedingCodepoint=0}h=15&u}this._collect=A,this.currentState=h},s}(m.Disposable);x.EscapeSequenceParser=n},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(g,A){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,E){y.__proto__=E}||function(y,E){for(var C in E)E.hasOwnProperty(C)&&(y[C]=E[C])})(g,A)},function(p,g){function A(){this.constructor=p}v(p,g),p.prototype=g===null?Object.create(g):(A.prototype=g.prototype,new A)}),m=this&&this.__decorate||function(p,g,A,y){var E,C=arguments.length,w=C<3?g:y===null?y=Object.getOwnPropertyDescriptor(g,A):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(p,g,A,y);else for(var b=p.length-1;b>=0;b--)(E=p[b])&&(w=(C<3?E(w):C>3?E(g,A,w):E(g,A))||w);return C>3&&w&&Object.defineProperty(g,A,w),w},f=this&&this.__param||function(p,g){return function(A,y){g(A,y,p)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Renderer=void 0;var c=T(41),o=T(47),r=T(48),a=T(49),n=T(29),e=T(2),s=T(5),t=T(1),i=T(25),l=T(0),u=1,h=function(p){function g(A,y,E,C,w,b,I,_,L){var D=p.call(this)||this;D._colors=A,D._screenElement=y,D._bufferService=w,D._charSizeService=b,D._optionsService=I,D._id=u++,D._onRequestRedraw=new l.EventEmitter;var N=D._optionsService.options.allowTransparency;return D._characterJoinerRegistry=new n.CharacterJoinerRegistry(D._bufferService),D._renderLayers=[new c.TextRenderLayer(D._screenElement,0,D._colors,D._characterJoinerRegistry,N,D._id,D._bufferService,I),new o.SelectionRenderLayer(D._screenElement,1,D._colors,D._id,D._bufferService,I),new a.LinkRenderLayer(D._screenElement,2,D._colors,D._id,E,C,D._bufferService,I),new r.CursorRenderLayer(D._screenElement,3,D._colors,D._id,D._onRequestRedraw,D._bufferService,I,_,L)],D.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},D._devicePixelRatio=window.devicePixelRatio,D._updateDimensions(),D.onOptionsChanged(),D}return S(g,p),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){for(var A=0,y=this._renderLayers;A0&&y===A[0][0]){C=!0;var b=A.shift();E=new r.JoinedCellData(this._workCell,g.translateToString(!0,b[0],b[1]),b[1]-b[0]),w=b[1]-1}!C&&this._isOverlapping(E)&&wthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[i]=l,l},s}(f.BaseRenderLayer);x.TextRenderLayer=n},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.GridCache=void 0;var v=function(){function S(){this.cache=[]}return S.prototype.resize=function(m,f){for(var c=0;c>>24,R=L.rgba>>>16&255,B=L.rgba>>>8&255,M=0;M<_.data.length;M+=4)_.data[M]===N&&_.data[M+1]===R&&_.data[M+2]===B?_.data[M+3]=0:D=!1;return D}(E,g));var w=this._toCoordinateX(p),b=this._toCoordinateY(p);this._cacheCtx.putImageData(E,w,b);var I={index:p,isEmpty:C,inBitmap:!1};return this._addGlyphToBitmap(I),I},u.prototype._addGlyphToBitmap=function(h){var p=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(h),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return p._generateBitmap()},100)))},u.prototype._generateBitmap=function(){var h=this,p=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(g){h._bitmap=g;for(var A=0;A=this.capacity)c=this._head,this._unlinkNode(c),delete this._map[c.key],c.key=m,c.value=f,this._map[m]=c;else{var o=this._nodePool;o.length>0?((c=o.pop()).key=m,c.value=f):c={prev:null,next:null,key:m,value:f},this._map[m]=c,this.size++}this._appendNode(c)},S}();x.LRUMap=v},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(c,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var n in a)a.hasOwnProperty(n)&&(r[n]=a[n])})(c,o)},function(f,c){function o(){this.constructor=f}v(f,c),f.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)});Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionRenderLayer=void 0;var m=function(f){function c(o,r,a,n,e,s){var t=f.call(this,o,"selection",r,!0,a,n,e,s)||this;return t._clearState(),t}return S(c,f),c.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},c.prototype.resize=function(o){f.prototype.resize.call(this,o),this._clearState()},c.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},c.prototype.onSelectionChanged=function(o,r,a){if(this._didStateChange(o,r,a,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&r){var n=o[1]-this._bufferService.buffer.ydisp,e=r[1]-this._bufferService.buffer.ydisp,s=Math.max(n,0),t=Math.min(e,this._bufferService.rows-1);if(!(s>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,a){var i=o[0],l=r[0]-i,u=t-s+1;this._fillCells(i,s,l,u)}else{i=n===s?o[0]:0;var h=s===t?r[0]:this._bufferService.cols;this._fillCells(i,s,h-i,1);var p=Math.max(t-s-1,0);if(this._fillCells(0,s+1,this._bufferService.cols,p),s!==t){var g=e===t?r[0]:this._bufferService.cols;this._fillCells(0,t,g,1)}}this._state.start=[o[0],o[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=a,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},c.prototype._didStateChange=function(o,r,a,n){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||a!==this._state.columnSelectMode||n!==this._state.ydisp},c.prototype._areCoordinatesEqual=function(o,r){return!(!o||!r)&&o[0]===r[0]&&o[1]===r[1]},c}(T(13).BaseRenderLayer);x.SelectionRenderLayer=m},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(a,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,s){e.__proto__=s}||function(e,s){for(var t in s)s.hasOwnProperty(t)&&(e[t]=s[t])})(a,n)},function(r,a){function n(){this.constructor=r}v(r,a),r.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.CursorRenderLayer=void 0;var m=T(13),f=T(4),c=function(r){function a(n,e,s,t,i,l,u,h,p){var g=r.call(this,n,"cursor",e,!0,s,t,l,u)||this;return g._onRequestRedraw=i,g._coreService=h,g._coreBrowserService=p,g._cell=new f.CellData,g._state={x:0,y:0,isFocused:!1,style:"",width:0},g._cursorRenderers={bar:g._renderBarCursor.bind(g),block:g._renderBlockCursor.bind(g),underline:g._renderUnderlineCursor.bind(g)},g}return S(a,r),a.prototype.resize=function(n){r.prototype.resize.call(this,n),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},a.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},a.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onOptionsChanged=function(){var n,e=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){e._render(!0)})):((n=this._cursorBlinkStateManager)===null||n===void 0||n.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},a.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype.onGridChanged=function(n,e){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},a.prototype._render=function(n){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var e=this._bufferService.buffer.ybase+this._bufferService.buffer.y,s=e-this._bufferService.buffer.ydisp;if(s<0||s>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(e).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var i=this._optionsService.options.cursorStyle;return i&&i!=="block"?this._cursorRenderers[i](t,s,this._cell):this._renderBlurCursor(t,s,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=s,this._state.isFocused=!1,this._state.style=i,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===s&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,s,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=s,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},a.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},a.prototype._renderBarCursor=function(n,e,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(n,e,this._optionsService.options.cursorWidth),this._ctx.restore()},a.prototype._renderBlockCursor=function(n,e,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(n,e,s.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(s,n,e),this._ctx.restore()},a.prototype._renderUnderlineCursor=function(n,e,s){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(n,e),this._ctx.restore()},a.prototype._renderBlurCursor=function(n,e,s){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(n,e,s.getWidth(),1),this._ctx.restore()},a}(m.BaseRenderLayer);x.CursorRenderLayer=c;var o=function(){function r(a,n){this._renderCallback=n,this.isCursorVisible=!0,a&&this._restartInterval()}return Object.defineProperty(r.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),r.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.restartBlinkAnimation=function(){var a=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){a._renderCallback(),a._animationFrame=void 0})))},r.prototype._restartInterval=function(a){var n=this;a===void 0&&(a=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(n._animationTimeRestarted){var e=600-(Date.now()-n._animationTimeRestarted);if(n._animationTimeRestarted=void 0,e>0)return void n._restartInterval(e)}n.isCursorVisible=!1,n._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0}),n._blinkInterval=window.setInterval(function(){if(n._animationTimeRestarted){var s=600-(Date.now()-n._animationTimeRestarted);return n._animationTimeRestarted=void 0,void n._restartInterval(s)}n.isCursorVisible=!n.isCursorVisible,n._animationFrame=window.requestAnimationFrame(function(){n._renderCallback(),n._animationFrame=void 0})},600)},a)},r.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},r}()},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(a,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,s){e.__proto__=s}||function(e,s){for(var t in s)s.hasOwnProperty(t)&&(e[t]=s[t])})(a,n)},function(r,a){function n(){this.constructor=r}v(r,a),r.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)});Object.defineProperty(x,"__esModule",{value:!0}),x.LinkRenderLayer=void 0;var m=T(13),f=T(9),c=T(26),o=function(r){function a(n,e,s,t,i,l,u,h){var p=r.call(this,n,"link",e,!0,s,t,u,h)||this;return i.onShowLinkUnderline(function(g){return p._onShowLinkUnderline(g)}),i.onHideLinkUnderline(function(g){return p._onHideLinkUnderline(g)}),l.onShowLinkUnderline(function(g){return p._onShowLinkUnderline(g)}),l.onHideLinkUnderline(function(g){return p._onHideLinkUnderline(g)}),p}return S(a,r),a.prototype.resize=function(n){r.prototype.resize.call(this,n),this._state=void 0},a.prototype.reset=function(){this._clearCurrentLink()},a.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var n=this._state.y2-this._state.y1-1;n>0&&this._clearCells(0,this._state.y1+1,this._state.cols,n),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},a.prototype._onShowLinkUnderline=function(n){if(n.fg===f.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:n.fg&&c.is256Color(n.fg)?this._ctx.fillStyle=this._colors.ansi[n.fg].css:this._ctx.fillStyle=this._colors.foreground.css,n.y1===n.y2)this._fillBottomLineAtCells(n.x1,n.y1,n.x2-n.x1);else{this._fillBottomLineAtCells(n.x1,n.y1,n.cols-n.x1);for(var e=n.y1+1;e=0;l--)(s=r[l])&&(i=(t<3?s(i):t>3?s(a,n,i):s(a,n))||i);return t>3&&i&&Object.defineProperty(a,n,i),i},S=this&&this.__param||function(r,a){return function(n,e){a(n,e,r)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseZone=x.Linkifier=void 0;var m=T(0),f=T(1),c=function(){function r(a,n,e){this._bufferService=a,this._logService=n,this._unicodeService=e,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new m.EventEmitter,this._onHideLinkUnderline=new m.EventEmitter,this._onLinkTooltip=new m.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),r.prototype.attachToDom=function(a,n){this._element=a,this._mouseZoneManager=n},r.prototype.linkifyRows=function(a,n){var e=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=a,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,a),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(a,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return e._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var a=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var n=a.ydisp+this._rowsToLinkify.start;if(!(n>=a.lines.length)){for(var e=a.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,s=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,n,e,s,s);t.hasNext();)for(var i=t.next(),l=0;l=0;n--)if(a.priority<=this._linkMatchers[n].priority)return void this._linkMatchers.splice(n+1,0,a);this._linkMatchers.splice(0,0,a)}else this._linkMatchers.push(a)},r.prototype.deregisterLinkMatcher=function(a){for(var n=0;n>9&511:void 0;e.validationCallback?e.validationCallback(g,function(w){t._rowsTimeoutId||w&&t._addLink(A[1],A[0]-t._bufferService.buffer.ydisp,g,e,C)}):h._addLink(A[1],A[0]-h._bufferService.buffer.ydisp,g,e,C)},h=this;(s=i.exec(n))!==null&&!(u()==="break"););},r.prototype._addLink=function(a,n,e,s,t){var i=this;if(this._mouseZoneManager&&this._element){var l=this._unicodeService.getStringCellWidth(e),u=a%this._bufferService.cols,h=n+Math.floor(a/this._bufferService.cols),p=(u+l)%this._bufferService.cols,g=h+Math.floor((u+l)/this._bufferService.cols);p===0&&(p=this._bufferService.cols,g--),this._mouseZoneManager.add(new o(u+1,h+1,p+1,g+1,function(A){if(s.handler)return s.handler(A,e);var y=window.open();y?(y.opener=null,y.location.href=e):console.warn("Opening link blocked as opener could not be cleared")},function(){i._onShowLinkUnderline.fire(i._createLinkHoverEvent(u,h,p,g,t)),i._element.classList.add("xterm-cursor-pointer")},function(A){i._onLinkTooltip.fire(i._createLinkHoverEvent(u,h,p,g,t)),s.hoverTooltipCallback&&s.hoverTooltipCallback(A,e,{start:{x:u,y:h},end:{x:p,y:g}})},function(){i._onHideLinkUnderline.fire(i._createLinkHoverEvent(u,h,p,g,t)),i._element.classList.remove("xterm-cursor-pointer"),s.hoverLeaveCallback&&s.hoverLeaveCallback()},function(A){return!s.willLinkActivate||s.willLinkActivate(A,e)}))}},r.prototype._createLinkHoverEvent=function(a,n,e,s,t){return{x1:a,y1:n,x2:e,y2:s,cols:this._bufferService.cols,fg:t}},r._timeBeforeLatency=200,r=v([S(0,f.IBufferService),S(1,f.ILogService),S(2,f.IUnicodeService)],r)}();x.Linkifier=c;var o=function(a,n,e,s,t,i,l,u,h){this.x1=a,this.y1=n,this.x2=e,this.y2=s,this.clickCallback=t,this.hoverCallback=i,this.tooltipCallback=l,this.leaveCallback=u,this.willLinkActivate=h};x.MouseZone=o},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(g,A){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,E){y.__proto__=E}||function(y,E){for(var C in E)E.hasOwnProperty(C)&&(y[C]=E[C])})(g,A)},function(p,g){function A(){this.constructor=p}v(p,g),p.prototype=g===null?Object.create(g):(A.prototype=g.prototype,new A)}),m=this&&this.__decorate||function(p,g,A,y){var E,C=arguments.length,w=C<3?g:y===null?y=Object.getOwnPropertyDescriptor(g,A):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(p,g,A,y);else for(var b=p.length-1;b>=0;b--)(E=p[b])&&(w=(C<3?E(w):C>3?E(g,A,w):E(g,A))||w);return C>3&&w&&Object.defineProperty(g,A,w),w},f=this&&this.__param||function(p,g){return function(A,y){g(A,y,p)}};Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionService=void 0;var c=T(11),o=T(52),r=T(4),a=T(0),n=T(5),e=T(1),s=T(30),t=T(53),i=T(2),l=String.fromCharCode(160),u=new RegExp(l,"g"),h=function(p){function g(A,y,E,C,w,b,I){var _=p.call(this)||this;return _._element=A,_._screenElement=y,_._bufferService=E,_._coreService=C,_._mouseService=w,_._optionsService=b,_._renderService=I,_._dragScrollAmount=0,_._enabled=!0,_._workCell=new r.CellData,_._mouseDownTimeStamp=0,_._onLinuxMouseSelection=_.register(new a.EventEmitter),_._onRedrawRequest=_.register(new a.EventEmitter),_._onSelectionChange=_.register(new a.EventEmitter),_._onRequestScrollLines=_.register(new a.EventEmitter),_._mouseMoveListener=function(L){return _._onMouseMove(L)},_._mouseUpListener=function(L){return _._onMouseUp(L)},_._coreService.onUserInput(function(){_.hasSelection&&_.clearSelection()}),_._trimListener=_._bufferService.buffer.lines.onTrim(function(L){return _._onTrim(L)}),_.register(_._bufferService.buffers.onBufferActivate(function(L){return _._onBufferActivate(L)})),_.enable(),_._model=new o.SelectionModel(_._bufferService),_._activeSelectionMode=0,_}return S(g,p),Object.defineProperty(g.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),g.prototype.dispose=function(){this._removeMouseDownListeners()},g.prototype.reset=function(){this.clearSelection()},g.prototype.disable=function(){this.clearSelection(),this._enabled=!1},g.prototype.enable=function(){this._enabled=!0},Object.defineProperty(g.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"hasSelection",{get:function(){var y=this._model.finalSelectionStart,E=this._model.finalSelectionEnd;return!(!y||!E)&&(y[0]!==E[0]||y[1]!==E[1])},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"selectionText",{get:function(){var y=this._model.finalSelectionStart,E=this._model.finalSelectionEnd;if(!y||!E)return"";var C=this._bufferService.buffer,w=[];if(this._activeSelectionMode===3){if(y[0]===E[0])return"";for(var b=y[1];b<=E[1];b++){var I=C.translateBufferLineToString(b,!0,y[0],E[0]);w.push(I)}}else{var _=y[1]===E[1]?E[0]:void 0;for(w.push(C.translateBufferLineToString(y[1],!0,y[0],_)),b=y[1]+1;b<=E[1]-1;b++){var L=C.lines.get(b);I=C.translateBufferLineToString(b,!0),L&&L.isWrapped?w[w.length-1]+=I:w.push(I)}y[1]!==E[1]&&(L=C.lines.get(E[1]),I=C.translateBufferLineToString(E[1],!0,0,E[0]),L&&L.isWrapped?w[w.length-1]+=I:w.push(I))}return w.map(function(D){return D.replace(u," ")}).join(c.isWindows?`\r `:` `)},enumerable:!1,configurable:!0}),g.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},g.prototype.refresh=function(A){var y=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return y._refresh()})),c.isLinux&&A)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},g.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},g.prototype.isClickInSelection=function(A){var y=this._getMouseBufferCoords(A),E=this._model.finalSelectionStart,C=this._model.finalSelectionEnd;return!!(E&&C&&y)&&this._areCoordsInSelection(y,E,C)},g.prototype._areCoordsInSelection=function(A,y,E){return A[1]>y[1]&&A[1]=y[0]&&A[0]=y[0]},g.prototype.selectWordAtCursor=function(A){var y=this._getMouseBufferCoords(A);y&&(this._selectWordAt(y,!1),this._model.selectionEnd=void 0,this.refresh(!0))},g.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},g.prototype.selectLines=function(A,y){this._model.clearSelection(),A=Math.max(A,0),y=Math.min(y,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,A],this._model.selectionEnd=[this._bufferService.cols,y],this.refresh(),this._onSelectionChange.fire()},g.prototype._onTrim=function(A){this._model.onTrim(A)&&this.refresh()},g.prototype._getMouseBufferCoords=function(A){var y=this._mouseService.getCoords(A,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(y)return y[0]--,y[1]--,y[1]+=this._bufferService.buffer.ydisp,y},g.prototype._getMouseEventScrollAmount=function(A){var y=s.getCoordsRelativeToElement(A,this._screenElement)[1],E=this._renderService.dimensions.canvasHeight;return y>=0&&y<=E?0:(y>E&&(y-=E),y=Math.min(Math.max(y,-50),50),(y/=50)/Math.abs(y)+Math.round(14*y))},g.prototype.shouldForceSelection=function(A){return c.isMac?A.altKey&&this._optionsService.options.macOptionClickForcesSelection:A.shiftKey},g.prototype.onMouseDown=function(A){if(this._mouseDownTimeStamp=A.timeStamp,(A.button!==2||!this.hasSelection)&&A.button===0){if(!this._enabled){if(!this.shouldForceSelection(A))return;A.stopPropagation()}A.preventDefault(),this._dragScrollAmount=0,this._enabled&&A.shiftKey?this._onIncrementalClick(A):A.detail===1?this._onSingleClick(A):A.detail===2?this._onDoubleClick(A):A.detail===3&&this._onTripleClick(A),this._addMouseDownListeners(),this.refresh(!0)}},g.prototype._addMouseDownListeners=function(){var A=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return A._dragScroll()},50)},g.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},g.prototype._onIncrementalClick=function(A){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(A))},g.prototype._onSingleClick=function(A){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(A)?3:0,this._model.selectionStart=this._getMouseBufferCoords(A),this._model.selectionStart){this._model.selectionEnd=void 0;var y=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);y&&y.length!==this._model.selectionStart[0]&&y.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},g.prototype._onDoubleClick=function(A){var y=this._getMouseBufferCoords(A);y&&(this._activeSelectionMode=1,this._selectWordAt(y,!0))},g.prototype._onTripleClick=function(A){var y=this._getMouseBufferCoords(A);y&&(this._activeSelectionMode=2,this._selectLineAt(y[1]))},g.prototype.shouldColumnSelect=function(A){return A.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},g.prototype._onMouseMove=function(A){if(A.stopImmediatePropagation(),this._model.selectionStart){var y=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(A),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var E=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(A.ydisp+this._bufferService.rows,A.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=A.ydisp),this.refresh()}},g.prototype._onMouseUp=function(A){var y=A.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&y<500&&A.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var E=this._mouseService.getCoords(A,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(E&&E[0]!==void 0&&E[1]!==void 0){var C=t.moveToCellSequence(E[0]-1,E[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(C,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},g.prototype._onBufferActivate=function(A){var y=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=A.activeBuffer.lines.onTrim(function(E){return y._onTrim(E)})},g.prototype._convertViewportColToCharacterIndex=function(A,y){for(var E=y[0],C=0;y[0]>=C;C++){var w=A.loadCell(C,this._workCell).getChars().length;this._workCell.getWidth()===0?E--:w>1&&y[0]!==C&&(E+=w-1)}return E},g.prototype.setSelection=function(A,y,E){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[A,y],this._model.selectionStartLength=E,this.refresh()},g.prototype._getWordAt=function(A,y,E,C){if(E===void 0&&(E=!0),C===void 0&&(C=!0),!(A[0]>=this._bufferService.cols)){var w=this._bufferService.buffer,b=w.lines.get(A[1]);if(b){var I=w.translateBufferLineToString(A[1],!1),_=this._convertViewportColToCharacterIndex(b,A),L=_,D=A[0]-_,N=0,R=0,B=0,M=0;if(I.charAt(_)===" "){for(;_>0&&I.charAt(_-1)===" ";)_--;for(;L1&&(M+=K-1,L+=K-1);H>0&&_>0&&!this._isCharWordSeparator(b.loadCell(H-1,this._workCell));){b.loadCell(H-1,this._workCell);var j=this._workCell.getChars().length;this._workCell.getWidth()===0?(N++,H--):j>1&&(B+=j-1,_-=j-1),_--,H--}for(;F1&&(M+=V-1,L+=V-1),L++,F++}}L++;var z=_+D-N+B,Y=Math.min(this._bufferService.cols,L-_+N+R-B-M);if(y||I.slice(_,L).trim()!==""){if(E&&z===0&&b.getCodePoint(0)!==32){var ee=w.lines.get(A[1]-1);if(ee&&b.isWrapped&&ee.getCodePoint(this._bufferService.cols-1)!==32){var fe=this._getWordAt([this._bufferService.cols-1,A[1]-1],!1,!0,!1);if(fe){var ie=this._bufferService.cols-fe.start;z-=ie,Y+=ie}}}if(C&&z+Y===this._bufferService.cols&&b.getCodePoint(this._bufferService.cols-1)!==32){var we=w.lines.get(A[1]+1);if(we&&we.isWrapped&&we.getCodePoint(0)!==32){var Ce=this._getWordAt([0,A[1]+1],!1,!1,!0);Ce&&(Y+=Ce.length)}}return{start:z,length:Y}}}}},g.prototype._selectWordAt=function(A,y){var E=this._getWordAt(A,y);if(E){for(;E.start<0;)E.start+=this._bufferService.cols,A[1]--;this._model.selectionStart=[E.start,A[1]],this._model.selectionStartLength=E.length}},g.prototype._selectToWordAt=function(A){var y=this._getWordAt(A,!0);if(y){for(var E=A[1];y.start<0;)y.start+=this._bufferService.cols,E--;if(!this._model.areSelectionValuesReversed())for(;y.start+y.length>this._bufferService.cols;)y.length-=this._bufferService.cols,E++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?y.start:y.start+y.length,E]}},g.prototype._isCharWordSeparator=function(A){return A.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(A.getChars())>=0},g.prototype._selectLineAt=function(A){var y=this._bufferService.buffer.getWrappedRangeForLine(A);this._model.selectionStart=[0,y.first],this._model.selectionEnd=[this._bufferService.cols,y.last],this._model.selectionStartLength=0},g=m([f(2,e.IBufferService),f(3,e.ICoreService),f(4,n.IMouseService),f(5,e.IOptionsService),f(6,n.IRenderService)],g)}(i.Disposable);x.SelectionService=h},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.SelectionModel=void 0;var v=function(){function S(m){this._bufferService=m,this.isSelectAllActive=!1,this.selectionStartLength=0}return S.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(S.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var f=this.selectionStart[0]+this.selectionStartLength;return f>this._bufferService.cols?[f%this._bufferService.cols,this.selectionStart[1]+Math.floor(f/this._bufferService.cols)]:[f,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),S.prototype.areSelectionValuesReversed=function(){var m=this.selectionStart,f=this.selectionEnd;return!(!m||!f)&&(m[1]>f[1]||m[1]===f[1]&&m[0]>f[0])},S.prototype.onTrim=function(m){return this.selectionStart&&(this.selectionStart[1]-=m),this.selectionEnd&&(this.selectionEnd[1]-=m),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},S}();x.SelectionModel=v},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.moveToCellSequence=void 0;var v=T(12);function S(a,n,e,s){var t=a-m(e,a),i=n-m(e,n);return r(Math.abs(t-i)-function(l,u,h){for(var p=0,g=l-m(h,l),A=u-m(h,u),y=0;y=0&&nn?"A":"B"}function c(a,n,e,s,t,i){for(var l=a,u=n,h="";l!==e||u!==s;)l+=t?1:-1,t&&l>i.cols-1?(h+=i.buffer.translateBufferLineToString(u,!1,a,l),l=0,a=0,u++):!t&&l<0&&(h+=i.buffer.translateBufferLineToString(u,!1,0,a+1),a=l=i.cols-1,u--);return h+i.buffer.translateBufferLineToString(u,!1,a,l)}function o(a,n){var e=n?"O":"[";return v.C0.ESC+e+a}function r(a,n){a=Math.floor(a);for(var e="",s=0;s0?A-m(y,A):p;var w=A,b=function(I,_,L,D,N,R){var B;return B=S(L,D,N,R).length>0?D-m(N,D):_,I=L&&Ba?"D":"C",r(Math.abs(i-a),o(t,s));t=l>n?"D":"C";var u=Math.abs(l-n);return r(function(h,p){return p.cols-h}(l>n?a:i,e)+(u-1)*e.cols+1+((l>n?i:a)-1),o(t,s))}},function(O,x,T){"use strict";var v=this&&this.__decorate||function(c,o,r,a){var n,e=arguments.length,s=e<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,o,r,a);else for(var t=c.length-1;t>=0;t--)(n=c[t])&&(s=(e<3?n(s):e>3?n(o,r,s):n(o,r))||s);return e>3&&s&&Object.defineProperty(o,r,s),s},S=this&&this.__param||function(c,o){return function(r,a){o(r,a,c)}};Object.defineProperty(x,"__esModule",{value:!0}),x.SoundService=void 0;var m=T(1),f=function(){function c(o){this._optionsService=o}return Object.defineProperty(c,"audioContext",{get:function(){if(!c._audioContext){var r=window.AudioContext||window.webkitAudioContext;if(!r)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;c._audioContext=new r}return c._audioContext},enumerable:!1,configurable:!0}),c.prototype.playBellSound=function(){var o=c.audioContext;if(o){var r=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(a){r.buffer=a,r.connect(o.destination),r.start(0)})}},c.prototype._base64ToArrayBuffer=function(o){for(var r=window.atob(o),a=r.length,n=new Uint8Array(a),e=0;e=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,i){s(t,i,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseZoneManager=void 0;var c=T(2),o=T(7),r=T(5),a=T(1),n=function(e){function s(t,i,l,u,h,p){var g=e.call(this)||this;return g._element=t,g._screenElement=i,g._bufferService=l,g._mouseService=u,g._selectionService=h,g._optionsService=p,g._zones=[],g._areZonesActive=!1,g._lastHoverCoords=[void 0,void 0],g._initialSelectionLength=0,g.register(o.addDisposableDomListener(g._element,"mousedown",function(A){return g._onMouseDown(A)})),g._mouseMoveListener=function(A){return g._onMouseMove(A)},g._mouseLeaveListener=function(A){return g._onMouseLeave(A)},g._clickListener=function(A){return g._onClick(A)},g}return S(s,e),s.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},s.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},s.prototype.clearAll=function(t,i){if(this._zones.length!==0){t&&i||(t=0,i=this._bufferService.rows-1);for(var l=0;lt&&u.y1<=i+1||u.y2>t&&u.y2<=i+1||u.y1i+1)&&(this._currentZone&&this._currentZone===u&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(l--,1))}this._zones.length===0&&this._deactivate()}},s.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},s.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},s.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},s.prototype._onHover=function(t){var i=this,l=this._findZoneEventAt(t);l!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),l&&(this._currentZone=l,l.hoverCallback&&l.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return i._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},s.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var i=this._findZoneEventAt(t);i&&i.tooltipCallback&&i.tooltipCallback(t)},s.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var i=this._findZoneEventAt(t);(i==null?void 0:i.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},s.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},s.prototype._onClick=function(t){var i=this._findZoneEventAt(t),l=this._getSelectionLength();i&&l===this._initialSelectionLength&&(i.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},s.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},s.prototype._findZoneEventAt=function(t){var i=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(i)for(var l=i[0],u=i[1],h=0;h=p.x1&&l=p.x1||u===p.y2&&lp.y1&&ui;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var i=document.createElement("div");return i.setAttribute("role","listitem"),i.tabIndex=-1,this._refreshRowDimensions(i),i},t.prototype._onTab=function(i){for(var l=0;l0?this._charsToConsume.shift()!==i&&(this._charsToAnnounce+=i):this._charsToAnnounce+=i,i===` `&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=m.tooMuchOutput)),f.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){l._accessibilityTreeRoot.appendChild(l._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,f.isMac&&n.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(i){this._clearLiveRegion(),this._charsToConsume.push(i)},t.prototype._refreshRows=function(i,l){this._renderRowsDebouncer.refresh(i,l,this._terminal.rows)},t.prototype._renderRows=function(i,l){for(var u=this._terminal.buffer,h=u.lines.length.toString(),p=i;p<=l;p++){var g=u.translateBufferLineToString(u.ydisp+p,!0),A=(u.ydisp+p+1).toString(),y=this._rowElements[p];y&&(g.length===0?y.innerHTML=" ":y.textContent=g,y.setAttribute("aria-posinset",A),y.setAttribute("aria-setsize",h))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var i=0;i=0;C--)(A=u[C])&&(E=(y<3?A(E):y>3?A(h,p,E):A(h,p))||E);return y>3&&E&&Object.defineProperty(h,p,E),E},f=this&&this.__param||function(u,h){return function(p,g){h(p,g,u)}};Object.defineProperty(x,"__esModule",{value:!0}),x.DomRenderer=void 0;var c=T(58),o=T(9),r=T(2),a=T(5),n=T(1),e=T(0),s=T(10),t=T(17),i=1,l=function(u){function h(p,g,A,y,E,C,w,b,I){var _=u.call(this)||this;return _._colors=p,_._element=g,_._screenElement=A,_._viewportElement=y,_._linkifier=E,_._linkifier2=C,_._charSizeService=w,_._optionsService=b,_._bufferService=I,_._terminalClass=i++,_._rowElements=[],_._rowContainer=document.createElement("div"),_._rowContainer.classList.add("xterm-rows"),_._rowContainer.style.lineHeight="normal",_._rowContainer.setAttribute("aria-hidden","true"),_._refreshRowElements(_._bufferService.cols,_._bufferService.rows),_._selectionContainer=document.createElement("div"),_._selectionContainer.classList.add("xterm-selection"),_._selectionContainer.setAttribute("aria-hidden","true"),_.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},_._updateDimensions(),_._injectCss(),_._rowFactory=new c.DomRendererRowFactory(document,_._optionsService,_._colors),_._element.classList.add("xterm-dom-renderer-owner-"+_._terminalClass),_._screenElement.appendChild(_._rowContainer),_._screenElement.appendChild(_._selectionContainer),_._linkifier.onShowLinkUnderline(function(L){return _._onLinkHover(L)}),_._linkifier.onHideLinkUnderline(function(L){return _._onLinkLeave(L)}),_._linkifier2.onShowLinkUnderline(function(L){return _._onLinkHover(L)}),_._linkifier2.onHideLinkUnderline(function(L){return _._onLinkLeave(L)}),_}return S(h,u),Object.defineProperty(h.prototype,"onRequestRedraw",{get:function(){return new e.EventEmitter().event},enumerable:!1,configurable:!0}),h.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),u.prototype.dispose.call(this)},h.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var p=0,g=this._rowElements;pg;)this._rowContainer.removeChild(this._rowElements.pop())},h.prototype.onResize=function(p,g){this._refreshRowElements(p,g),this._updateDimensions()},h.prototype.onCharSizeChanged=function(){this._updateDimensions()},h.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},h.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},h.prototype.onSelectionChanged=function(p,g,A){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(p&&g){var y=p[1]-this._bufferService.buffer.ydisp,E=g[1]-this._bufferService.buffer.ydisp,C=Math.max(y,0),w=Math.min(E,this._bufferService.rows-1);if(!(C>=this._bufferService.rows||w<0)){var b=document.createDocumentFragment();if(A)b.appendChild(this._createSelectionElement(C,p[0],g[0],w-C+1));else{var I=y===C?p[0]:0,_=C===w?g[0]:this._bufferService.cols;b.appendChild(this._createSelectionElement(C,I,_));var L=w-C-1;if(b.appendChild(this._createSelectionElement(C+1,0,this._bufferService.cols,L)),C!==w){var D=E===w?g[0]:this._bufferService.cols;b.appendChild(this._createSelectionElement(w,0,D))}}this._selectionContainer.appendChild(b)}}},h.prototype._createSelectionElement=function(p,g,A,y){y===void 0&&(y=1);var E=document.createElement("div");return E.style.height=y*this.dimensions.actualCellHeight+"px",E.style.top=p*this.dimensions.actualCellHeight+"px",E.style.left=g*this.dimensions.actualCellWidth+"px",E.style.width=this.dimensions.actualCellWidth*(A-g)+"px",E},h.prototype.onCursorMove=function(){},h.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},h.prototype.clear=function(){for(var p=0,g=this._rowElements;p=E&&(p=0,A++)}},h=m([f(6,a.ICharSizeService),f(7,n.IOptionsService),f(8,n.IBufferService)],h)}(r.Disposable);x.DomRenderer=l},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.DomRendererRowFactory=x.CURSOR_STYLE_UNDERLINE_CLASS=x.CURSOR_STYLE_BAR_CLASS=x.CURSOR_STYLE_BLOCK_CLASS=x.CURSOR_BLINK_CLASS=x.CURSOR_CLASS=x.UNDERLINE_CLASS=x.ITALIC_CLASS=x.DIM_CLASS=x.BOLD_CLASS=void 0;var v=T(9),S=T(3),m=T(4),f=T(10);x.BOLD_CLASS="xterm-bold",x.DIM_CLASS="xterm-dim",x.ITALIC_CLASS="xterm-italic",x.UNDERLINE_CLASS="xterm-underline",x.CURSOR_CLASS="xterm-cursor",x.CURSOR_BLINK_CLASS="xterm-cursor-blink",x.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",x.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",x.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var c=function(){function r(a,n,e){this._document=a,this._optionsService=n,this._colors=e,this._workCell=new m.CellData}return r.prototype.setColors=function(a){this._colors=a},r.prototype.createRow=function(a,n,e,s,t,i,l){for(var u=this._document.createDocumentFragment(),h=0,p=Math.min(a.length,l)-1;p>=0;p--)if(a.loadCell(p,this._workCell).getCode()!==S.NULL_CELL_CODE||n&&p===s){h=p+1;break}for(p=0;p1&&(A.style.width=i*g+"px"),n&&p===s)switch(A.classList.add(x.CURSOR_CLASS),t&&A.classList.add(x.CURSOR_BLINK_CLASS),e){case"bar":A.classList.add(x.CURSOR_STYLE_BAR_CLASS);break;case"underline":A.classList.add(x.CURSOR_STYLE_UNDERLINE_CLASS);break;default:A.classList.add(x.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&A.classList.add(x.BOLD_CLASS),this._workCell.isItalic()&&A.classList.add(x.ITALIC_CLASS),this._workCell.isDim()&&A.classList.add(x.DIM_CLASS),this._workCell.isUnderline()&&A.classList.add(x.UNDERLINE_CLASS),this._workCell.isInvisible()?A.textContent=S.WHITESPACE_CELL_CHAR:A.textContent=this._workCell.getChars()||S.WHITESPACE_CELL_CHAR;var y=this._workCell.getFgColor(),E=this._workCell.getFgColorMode(),C=this._workCell.getBgColor(),w=this._workCell.getBgColorMode(),b=!!this._workCell.isInverse();if(b){var I=y;y=C,C=I;var _=E;E=w,w=_}switch(E){case 16777216:case 33554432:this._workCell.isBold()&&y<8&&this._optionsService.options.drawBoldTextInBrightColors&&(y+=8),this._applyMinimumContrast(A,this._colors.background,this._colors.ansi[y])||A.classList.add("xterm-fg-"+y);break;case 50331648:var L=f.rgba.toColor(y>>16&255,y>>8&255,255&y);this._applyMinimumContrast(A,this._colors.background,L)||this._addStyle(A,"color:#"+o(y.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(A,this._colors.background,this._colors.foreground)||b&&A.classList.add("xterm-fg-"+v.INVERTED_DEFAULT_COLOR)}switch(w){case 16777216:case 33554432:A.classList.add("xterm-bg-"+C);break;case 50331648:this._addStyle(A,"background-color:#"+o(C.toString(16),"0",6));break;case 0:default:b&&A.classList.add("xterm-bg-"+v.INVERTED_DEFAULT_COLOR)}u.appendChild(A)}}return u},r.prototype._applyMinimumContrast=function(a,n,e){if(this._optionsService.options.minimumContrastRatio===1)return!1;var s=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return s===void 0&&(s=f.color.ensureContrastRatio(n,e,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,s!=null?s:null)),!!s&&(this._addStyle(a,"color:"+s.css),!0)},r.prototype._addStyle=function(a,n){a.setAttribute("style",""+(a.getAttribute("style")||"")+n+";")},r}();function o(r,a,n){for(;r.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};x.evaluateKeyboardEvent=function(m,f,c,o){var r={type:0,cancel:!1,key:void 0},a=(m.shiftKey?1:0)|(m.altKey?2:0)|(m.ctrlKey?4:0)|(m.metaKey?8:0);switch(m.keyCode){case 0:m.key==="UIKeyInputUpArrow"?r.key=f?v.C0.ESC+"OA":v.C0.ESC+"[A":m.key==="UIKeyInputLeftArrow"?r.key=f?v.C0.ESC+"OD":v.C0.ESC+"[D":m.key==="UIKeyInputRightArrow"?r.key=f?v.C0.ESC+"OC":v.C0.ESC+"[C":m.key==="UIKeyInputDownArrow"&&(r.key=f?v.C0.ESC+"OB":v.C0.ESC+"[B");break;case 8:if(m.shiftKey){r.key=v.C0.BS;break}if(m.altKey){r.key=v.C0.ESC+v.C0.DEL;break}r.key=v.C0.DEL;break;case 9:if(m.shiftKey){r.key=v.C0.ESC+"[Z";break}r.key=v.C0.HT,r.cancel=!0;break;case 13:r.key=m.altKey?v.C0.ESC+v.C0.CR:v.C0.CR,r.cancel=!0;break;case 27:r.key=v.C0.ESC,m.altKey&&(r.key=v.C0.ESC+v.C0.ESC),r.cancel=!0;break;case 37:if(m.metaKey)break;a?(r.key=v.C0.ESC+"[1;"+(a+1)+"D",r.key===v.C0.ESC+"[1;3D"&&(r.key=v.C0.ESC+(c?"b":"[1;5D"))):r.key=f?v.C0.ESC+"OD":v.C0.ESC+"[D";break;case 39:if(m.metaKey)break;a?(r.key=v.C0.ESC+"[1;"+(a+1)+"C",r.key===v.C0.ESC+"[1;3C"&&(r.key=v.C0.ESC+(c?"f":"[1;5C"))):r.key=f?v.C0.ESC+"OC":v.C0.ESC+"[C";break;case 38:if(m.metaKey)break;a?(r.key=v.C0.ESC+"[1;"+(a+1)+"A",c||r.key!==v.C0.ESC+"[1;3A"||(r.key=v.C0.ESC+"[1;5A")):r.key=f?v.C0.ESC+"OA":v.C0.ESC+"[A";break;case 40:if(m.metaKey)break;a?(r.key=v.C0.ESC+"[1;"+(a+1)+"B",c||r.key!==v.C0.ESC+"[1;3B"||(r.key=v.C0.ESC+"[1;5B")):r.key=f?v.C0.ESC+"OB":v.C0.ESC+"[B";break;case 45:m.shiftKey||m.ctrlKey||(r.key=v.C0.ESC+"[2~");break;case 46:r.key=a?v.C0.ESC+"[3;"+(a+1)+"~":v.C0.ESC+"[3~";break;case 36:r.key=a?v.C0.ESC+"[1;"+(a+1)+"H":f?v.C0.ESC+"OH":v.C0.ESC+"[H";break;case 35:r.key=a?v.C0.ESC+"[1;"+(a+1)+"F":f?v.C0.ESC+"OF":v.C0.ESC+"[F";break;case 33:m.shiftKey?r.type=2:r.key=v.C0.ESC+"[5~";break;case 34:m.shiftKey?r.type=3:r.key=v.C0.ESC+"[6~";break;case 112:r.key=a?v.C0.ESC+"[1;"+(a+1)+"P":v.C0.ESC+"OP";break;case 113:r.key=a?v.C0.ESC+"[1;"+(a+1)+"Q":v.C0.ESC+"OQ";break;case 114:r.key=a?v.C0.ESC+"[1;"+(a+1)+"R":v.C0.ESC+"OR";break;case 115:r.key=a?v.C0.ESC+"[1;"+(a+1)+"S":v.C0.ESC+"OS";break;case 116:r.key=a?v.C0.ESC+"[15;"+(a+1)+"~":v.C0.ESC+"[15~";break;case 117:r.key=a?v.C0.ESC+"[17;"+(a+1)+"~":v.C0.ESC+"[17~";break;case 118:r.key=a?v.C0.ESC+"[18;"+(a+1)+"~":v.C0.ESC+"[18~";break;case 119:r.key=a?v.C0.ESC+"[19;"+(a+1)+"~":v.C0.ESC+"[19~";break;case 120:r.key=a?v.C0.ESC+"[20;"+(a+1)+"~":v.C0.ESC+"[20~";break;case 121:r.key=a?v.C0.ESC+"[21;"+(a+1)+"~":v.C0.ESC+"[21~";break;case 122:r.key=a?v.C0.ESC+"[23;"+(a+1)+"~":v.C0.ESC+"[23~";break;case 123:r.key=a?v.C0.ESC+"[24;"+(a+1)+"~":v.C0.ESC+"[24~";break;default:if(!m.ctrlKey||m.shiftKey||m.altKey||m.metaKey)if(c&&!o||!m.altKey||m.metaKey)c&&!m.altKey&&!m.ctrlKey&&m.metaKey?m.keyCode===65&&(r.type=1):m.key&&!m.ctrlKey&&!m.altKey&&!m.metaKey&&m.keyCode>=48&&m.key.length===1?r.key=m.key:m.key&&m.ctrlKey&&m.key==="_"&&(r.key=v.C0.US);else{var n=S[m.keyCode],e=n&&n[m.shiftKey?1:0];if(e)r.key=v.C0.ESC+e;else if(m.keyCode>=65&&m.keyCode<=90){var s=m.ctrlKey?m.keyCode-64:m.keyCode+32;r.key=v.C0.ESC+String.fromCharCode(s)}}else m.keyCode>=65&&m.keyCode<=90?r.key=String.fromCharCode(m.keyCode-64):m.keyCode===32?r.key=v.C0.NUL:m.keyCode>=51&&m.keyCode<=55?r.key=String.fromCharCode(m.keyCode-51+27):m.keyCode===56?r.key=v.C0.DEL:m.keyCode===219?r.key=v.C0.ESC:m.keyCode===220?r.key=v.C0.FS:m.keyCode===221&&(r.key=v.C0.GS)}return r}},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(l,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var g in p)p.hasOwnProperty(g)&&(h[g]=p[g])})(l,u)},function(i,l){function u(){this.constructor=i}v(i,l),i.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)}),m=this&&this.__decorate||function(i,l,u,h){var p,g=arguments.length,A=g<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,u):h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(i,l,u,h);else for(var y=i.length-1;y>=0;y--)(p=i[y])&&(A=(g<3?p(A):g>3?p(l,u,A):p(l,u))||A);return g>3&&A&&Object.defineProperty(l,u,A),A},f=this&&this.__param||function(i,l){return function(u,h){l(u,h,i)}};Object.defineProperty(x,"__esModule",{value:!0}),x.RenderService=void 0;var c=T(31),o=T(0),r=T(2),a=T(32),n=T(7),e=T(1),s=T(5),t=function(i){function l(u,h,p,g,A,y){var E=i.call(this)||this;if(E._renderer=u,E._rowCount=h,E._isPaused=!1,E._needsFullRefresh=!1,E._isNextRenderRedrawOnly=!0,E._needsSelectionRefresh=!1,E._canvasWidth=0,E._canvasHeight=0,E._selectionState={start:void 0,end:void 0,columnSelectMode:!1},E._onDimensionsChange=new o.EventEmitter,E._onRender=new o.EventEmitter,E._onRefreshRequest=new o.EventEmitter,E.register({dispose:function(){return E._renderer.dispose()}}),E._renderDebouncer=new c.RenderDebouncer(function(w,b){return E._renderRows(w,b)}),E.register(E._renderDebouncer),E._screenDprMonitor=new a.ScreenDprMonitor,E._screenDprMonitor.setListener(function(){return E.onDevicePixelRatioChange()}),E.register(E._screenDprMonitor),E.register(y.onResize(function(w){return E._fullRefresh()})),E.register(g.onOptionChange(function(){return E._renderer.onOptionsChanged()})),E.register(A.onCharSizeChange(function(){return E.onCharSizeChanged()})),E._renderer.onRequestRedraw(function(w){return E.refreshRows(w.start,w.end,!0)}),E.register(n.addDisposableDomListener(window,"resize",function(){return E.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var C=new IntersectionObserver(function(w){return E._onIntersectionChange(w[w.length-1])},{threshold:0});C.observe(p),E.register({dispose:function(){return C.disconnect()}})}return E}return S(l,i),Object.defineProperty(l.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),l.prototype._onIntersectionChange=function(u){this._isPaused=u.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},l.prototype.refreshRows=function(u,h,p){p===void 0&&(p=!1),this._isPaused?this._needsFullRefresh=!0:(p||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(u,h,this._rowCount))},l.prototype._renderRows=function(u,h){this._renderer.renderRows(u,h),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:u,end:h}),this._isNextRenderRedrawOnly=!0},l.prototype.resize=function(u,h){this._rowCount=h,this._fireOnCanvasResize()},l.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},l.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},l.prototype.dispose=function(){i.prototype.dispose.call(this)},l.prototype.setRenderer=function(u){var h=this;this._renderer.dispose(),this._renderer=u,this._renderer.onRequestRedraw(function(p){return h.refreshRows(p.start,p.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},l.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},l.prototype.setColors=function(u){this._renderer.setColors(u),this._fullRefresh()},l.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},l.prototype.onResize=function(u,h){this._renderer.onResize(u,h),this._fullRefresh()},l.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},l.prototype.onBlur=function(){this._renderer.onBlur()},l.prototype.onFocus=function(){this._renderer.onFocus()},l.prototype.onSelectionChanged=function(u,h,p){this._selectionState.start=u,this._selectionState.end=h,this._selectionState.columnSelectMode=p,this._renderer.onSelectionChanged(u,h,p)},l.prototype.onCursorMove=function(){this._renderer.onCursorMove()},l.prototype.clear=function(){this._renderer.clear()},l.prototype.registerCharacterJoiner=function(u){return this._renderer.registerCharacterJoiner(u)},l.prototype.deregisterCharacterJoiner=function(u){return this._renderer.deregisterCharacterJoiner(u)},l=m([f(3,e.IOptionsService),f(4,s.ICharSizeService),f(5,e.IBufferService)],l)}(r.Disposable);x.RenderService=t},function(O,x,T){"use strict";var v=this&&this.__decorate||function(r,a,n,e){var s,t=arguments.length,i=t<3?a:e===null?e=Object.getOwnPropertyDescriptor(a,n):e;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,a,n,e);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(t<3?s(i):t>3?s(a,n,i):s(a,n))||i);return t>3&&i&&Object.defineProperty(a,n,i),i},S=this&&this.__param||function(r,a){return function(n,e){a(n,e,r)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CharSizeService=void 0;var m=T(1),f=T(0),c=function(){function r(a,n,e){this._optionsService=e,this.width=0,this.height=0,this._onCharSizeChange=new f.EventEmitter,this._measureStrategy=new o(a,n,this._optionsService)}return Object.defineProperty(r.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),r.prototype.measure=function(){var a=this._measureStrategy.measure();a.width===this.width&&a.height===this.height||(this.width=a.width,this.height=a.height,this._onCharSizeChange.fire())},r=v([S(2,m.IOptionsService)],r)}();x.CharSizeService=c;var o=function(){function r(a,n,e){this._document=a,this._parentElement=n,this._optionsService=e,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return r.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var a=this._measureElement.getBoundingClientRect();return a.width!==0&&a.height!==0&&(this._result.width=a.width,this._result.height=Math.ceil(a.height)),this._result},r}()},function(O,x,T){"use strict";var v=this&&this.__decorate||function(o,r,a,n){var e,s=arguments.length,t=s<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,a):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,r,a,n);else for(var i=o.length-1;i>=0;i--)(e=o[i])&&(t=(s<3?e(t):s>3?e(r,a,t):e(r,a))||t);return s>3&&t&&Object.defineProperty(r,a,t),t},S=this&&this.__param||function(o,r){return function(a,n){r(a,n,o)}};Object.defineProperty(x,"__esModule",{value:!0}),x.MouseService=void 0;var m=T(5),f=T(30),c=function(){function o(r,a){this._renderService=r,this._charSizeService=a}return o.prototype.getCoords=function(r,a,n,e,s){return f.getCoords(r,a,n,e,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,s)},o.prototype.getRawByteCoords=function(r,a,n,e){var s=this.getCoords(r,a,n,e);return f.getRawByteCoords(s)},o=v([S(0,m.IRenderService),S(1,m.ICharSizeService)],o)}();x.MouseService=c},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(s,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,l){i.__proto__=l}||function(i,l){for(var u in l)l.hasOwnProperty(u)&&(i[u]=l[u])})(s,t)},function(e,s){function t(){this.constructor=e}v(e,s),e.prototype=s===null?Object.create(s):(t.prototype=s.prototype,new t)}),m=this&&this.__decorate||function(e,s,t,i){var l,u=arguments.length,h=u<3?s:i===null?i=Object.getOwnPropertyDescriptor(s,t):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(e,s,t,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,i){s(t,i,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.Linkifier2=void 0;var c=T(1),o=T(0),r=T(2),a=T(7),n=function(e){function s(t){var i=e.call(this)||this;return i._bufferService=t,i._linkProviders=[],i._linkCacheDisposables=[],i._isMouseOut=!0,i._activeLine=-1,i._onShowLinkUnderline=i.register(new o.EventEmitter),i._onHideLinkUnderline=i.register(new o.EventEmitter),i.register(r.getDisposeArrayDisposable(i._linkCacheDisposables)),i}return S(s,e),Object.defineProperty(s.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),s.prototype.registerLinkProvider=function(t){var i=this;return this._linkProviders.push(t),{dispose:function(){var u=i._linkProviders.indexOf(t);u!==-1&&i._linkProviders.splice(u,1)}}},s.prototype.attachToDom=function(t,i,l){var u=this;this._element=t,this._mouseService=i,this._renderService=l,this.register(a.addDisposableDomListener(this._element,"mouseleave",function(){u._isMouseOut=!0,u._clearCurrentLink()})),this.register(a.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(a.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},s.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var i=this._positionFromMouseEvent(t,this._element,this._mouseService);if(i){this._isMouseOut=!1;for(var l=t.composedPath(),u=0;ut?this._bufferService.cols:g.link.range.end.x,E=A;E<=y;E++){if(l.has(E)){h.splice(p--,1);break}l.add(E)}}},s.prototype._checkLinkProviderResult=function(t,i,l){var u,h=this;if(!this._activeProviderReplies)return l;for(var p=this._activeProviderReplies.get(t),g=!1,A=0;A=t&&this._currentLink.link.range.end.y<=i)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},s.prototype._handleNewLink=function(t){var i=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var l=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);l&&this._linkAtPosition(t.link,l)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var h,p;return(p=(h=i._currentLink)===null||h===void 0?void 0:h.state)===null||p===void 0?void 0:p.decorations.pointerCursor},set:function(h){var p,g;((p=i._currentLink)===null||p===void 0?void 0:p.state)&&i._currentLink.state.decorations.pointerCursor!==h&&(i._currentLink.state.decorations.pointerCursor=h,i._currentLink.state.isHovered&&((g=i._element)===null||g===void 0||g.classList.toggle("xterm-cursor-pointer",h)))}},underline:{get:function(){var h,p;return(p=(h=i._currentLink)===null||h===void 0?void 0:h.state)===null||p===void 0?void 0:p.decorations.underline},set:function(h){var p,g,A;((p=i._currentLink)===null||p===void 0?void 0:p.state)&&((A=(g=i._currentLink)===null||g===void 0?void 0:g.state)===null||A===void 0?void 0:A.decorations.underline)!==h&&(i._currentLink.state.decorations.underline=h,i._currentLink.state.isHovered&&i._fireUnderlineEvent(t.link,h))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(u){var h=u.start===0?0:u.start+1+i._bufferService.buffer.ydisp;i._clearCurrentLink(h,u.end+1+i._bufferService.buffer.ydisp)})))}},s.prototype._linkHover=function(t,i,l){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(i,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),i.hover&&i.hover(l,i.text)},s.prototype._fireUnderlineEvent=function(t,i){var l=t.range,u=this._bufferService.buffer.ydisp,h=this._createLinkUnderlineEvent(l.start.x-1,l.start.y-u-1,l.end.x,l.end.y-u-1,void 0);(i?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(h)},s.prototype._linkLeave=function(t,i,l){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(i,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),i.leave&&i.leave(l,i.text)},s.prototype._linkAtPosition=function(t,i){var l=t.range.start.y===t.range.end.y,u=t.range.start.yi.y;return(l&&t.range.start.x<=i.x&&t.range.end.x>=i.x||u&&t.range.end.x>=i.x||h&&t.range.start.x<=i.x||u&&h)&&t.range.start.y<=i.y&&t.range.end.y>=i.y},s.prototype._positionFromMouseEvent=function(t,i,l){var u=l.getCoords(t,i,this._bufferService.cols,this._bufferService.rows);if(u)return{x:u[0],y:u[1]+this._bufferService.buffer.ydisp}},s.prototype._createLinkUnderlineEvent=function(t,i,l,u,h){return{x1:t,y1:i,x2:l,y2:u,cols:this._bufferService.cols,fg:h}},s=m([f(0,c.IBufferService)],s)}(r.Disposable);x.Linkifier2=n},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CoreBrowserService=void 0;var v=function(){function S(m){this._textarea=m}return Object.defineProperty(S.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),S}();x.CoreBrowserService=v},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(y,E){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,w){C.__proto__=w}||function(C,w){for(var b in w)w.hasOwnProperty(b)&&(C[b]=w[b])})(y,E)},function(A,y){function E(){this.constructor=A}v(A,y),A.prototype=y===null?Object.create(y):(E.prototype=y.prototype,new E)});Object.defineProperty(x,"__esModule",{value:!0}),x.CoreTerminal=void 0;var m=T(2),f=T(1),c=T(66),o=T(67),r=T(68),a=T(74),n=T(75),e=T(0),s=T(76),t=T(77),i=T(78),l=T(80),u=T(81),h=T(19),p=T(82),g=function(A){function y(E){var C=A.call(this)||this;return C._onBinary=new e.EventEmitter,C._onData=new e.EventEmitter,C._onLineFeed=new e.EventEmitter,C._onResize=new e.EventEmitter,C._onScroll=new e.EventEmitter,C._instantiationService=new c.InstantiationService,C.optionsService=new a.OptionsService(E),C._instantiationService.setService(f.IOptionsService,C.optionsService),C._bufferService=C.register(C._instantiationService.createInstance(r.BufferService)),C._instantiationService.setService(f.IBufferService,C._bufferService),C._logService=C._instantiationService.createInstance(o.LogService),C._instantiationService.setService(f.ILogService,C._logService),C._coreService=C.register(C._instantiationService.createInstance(n.CoreService,function(){return C.scrollToBottom()})),C._instantiationService.setService(f.ICoreService,C._coreService),C._coreMouseService=C._instantiationService.createInstance(s.CoreMouseService),C._instantiationService.setService(f.ICoreMouseService,C._coreMouseService),C._dirtyRowService=C._instantiationService.createInstance(t.DirtyRowService),C._instantiationService.setService(f.IDirtyRowService,C._dirtyRowService),C.unicodeService=C._instantiationService.createInstance(i.UnicodeService),C._instantiationService.setService(f.IUnicodeService,C.unicodeService),C._charsetService=C._instantiationService.createInstance(l.CharsetService),C._instantiationService.setService(f.ICharsetService,C._charsetService),C._inputHandler=new h.InputHandler(C._bufferService,C._charsetService,C._coreService,C._dirtyRowService,C._logService,C.optionsService,C._coreMouseService,C.unicodeService),C.register(e.forwardEvent(C._inputHandler.onLineFeed,C._onLineFeed)),C.register(C._inputHandler),C.register(e.forwardEvent(C._bufferService.onResize,C._onResize)),C.register(e.forwardEvent(C._coreService.onData,C._onData)),C.register(e.forwardEvent(C._coreService.onBinary,C._onBinary)),C.register(C.optionsService.onOptionChange(function(w){return C._updateOptions(w)})),C._writeBuffer=new p.WriteBuffer(function(w){return C._inputHandler.parse(w)}),C}return S(y,A),Object.defineProperty(y.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),y.prototype.dispose=function(){var E;this._isDisposed||(A.prototype.dispose.call(this),(E=this._windowsMode)===null||E===void 0||E.dispose(),this._windowsMode=void 0)},y.prototype.write=function(E,C){this._writeBuffer.write(E,C)},y.prototype.writeSync=function(E){this._writeBuffer.writeSync(E)},y.prototype.resize=function(E,C){isNaN(E)||isNaN(C)||(E=Math.max(E,r.MINIMUM_COLS),C=Math.max(C,r.MINIMUM_ROWS),this._bufferService.resize(E,C))},y.prototype.scroll=function(E,C){C===void 0&&(C=!1);var w,b=this._bufferService.buffer;(w=this._cachedBlankLine)&&w.length===this.cols&&w.getFg(0)===E.fg&&w.getBg(0)===E.bg||(w=b.getBlankLine(E,C),this._cachedBlankLine=w),w.isWrapped=C;var I=b.ybase+b.scrollTop,_=b.ybase+b.scrollBottom;if(b.scrollTop===0){var L=b.lines.isFull;_===b.lines.length-1?L?b.lines.recycle().copyFrom(w):b.lines.push(w.clone()):b.lines.splice(_+1,0,w.clone()),L?this._bufferService.isUserScrolling&&(b.ydisp=Math.max(b.ydisp-1,0)):(b.ybase++,this._bufferService.isUserScrolling||b.ydisp++)}else{var D=_-I+1;b.lines.shiftElements(I+1,D-1,-1),b.lines.set(_,w.clone())}this._bufferService.isUserScrolling||(b.ydisp=b.ybase),this._dirtyRowService.markRangeDirty(b.scrollTop,b.scrollBottom),this._onScroll.fire(b.ydisp)},y.prototype.scrollLines=function(E,C){var w=this._bufferService.buffer;if(E<0){if(w.ydisp===0)return;this._bufferService.isUserScrolling=!0}else E+w.ydisp>=w.ybase&&(this._bufferService.isUserScrolling=!1);var b=w.ydisp;w.ydisp=Math.max(Math.min(w.ydisp+E,w.ybase),0),b!==w.ydisp&&(C||this._onScroll.fire(w.ydisp))},y.prototype.scrollPages=function(E){this.scrollLines(E*(this.rows-1))},y.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},y.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},y.prototype.scrollToLine=function(E){var C=E-this._bufferService.buffer.ydisp;C!==0&&this.scrollLines(C)},y.prototype.addEscHandler=function(E,C){return this._inputHandler.addEscHandler(E,C)},y.prototype.addDcsHandler=function(E,C){return this._inputHandler.addDcsHandler(E,C)},y.prototype.addCsiHandler=function(E,C){return this._inputHandler.addCsiHandler(E,C)},y.prototype.addOscHandler=function(E,C){return this._inputHandler.addOscHandler(E,C)},y.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},y.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},y.prototype._updateOptions=function(E){var C;switch(E){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((C=this._windowsMode)===null||C===void 0||C.dispose(),this._windowsMode=void 0)}},y.prototype._enableWindowsMode=function(){var E=this;if(!this._windowsMode){var C=[];C.push(this.onLineFeed(u.updateWindowsModeWrappedState.bind(null,this._bufferService))),C.push(this.addCsiHandler({final:"H"},function(){return u.updateWindowsModeWrappedState(E._bufferService),!1})),this._windowsMode={dispose:function(){for(var b=0,I=C;b0?e[0].index:a.length;if(a.length!==h)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(h+1)+" conflicts with "+a.length+" static arguments");return new(r.bind.apply(r,v([void 0],v(a,s))))},o}();x.InstantiationService=c},function(O,x,T){"use strict";var v=this&&this.__decorate||function(a,n,e,s){var t,i=arguments.length,l=i<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,n,e,s);else for(var u=a.length-1;u>=0;u--)(t=a[u])&&(l=(i<3?t(l):i>3?t(n,e,l):t(n,e))||l);return i>3&&l&&Object.defineProperty(n,e,l),l},S=this&&this.__param||function(a,n){return function(e,s){n(e,s,a)}},m=this&&this.__spreadArrays||function(){for(var a=0,n=0,e=arguments.length;n=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},f=this&&this.__param||function(e,s){return function(t,i){s(t,i,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.BufferService=x.MINIMUM_ROWS=x.MINIMUM_COLS=void 0;var c=T(1),o=T(69),r=T(0),a=T(2);x.MINIMUM_COLS=2,x.MINIMUM_ROWS=1;var n=function(e){function s(t){var i=e.call(this)||this;return i._optionsService=t,i.isUserScrolling=!1,i._onResize=new r.EventEmitter,i.cols=Math.max(t.options.cols,x.MINIMUM_COLS),i.rows=Math.max(t.options.rows,x.MINIMUM_ROWS),i.buffers=new o.BufferSet(t,i),i}return S(s,e),Object.defineProperty(s.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),s.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},s.prototype.resize=function(t,i){this.cols=t,this.rows=i,this.buffers.resize(t,i),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:i})},s.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},s=m([f(0,c.IOptionsService)],s)}(a.Disposable);x.BufferService=n},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(r,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var s in e)e.hasOwnProperty(s)&&(n[s]=e[s])})(r,a)},function(o,r){function a(){this.constructor=o}v(o,r),o.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)});Object.defineProperty(x,"__esModule",{value:!0}),x.BufferSet=void 0;var m=T(70),f=T(0),c=function(o){function r(a,n){var e=o.call(this)||this;return e._onBufferActivate=e.register(new f.EventEmitter),e._normal=new m.Buffer(!0,a,n),e._normal.fillViewportRows(),e._alt=new m.Buffer(!1,a,n),e._activeBuffer=e._normal,e.setupTabStops(),e}return S(r,o),Object.defineProperty(r.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),r.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},r.prototype.activateAltBuffer=function(a){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(a),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},r.prototype.resize=function(a,n){this._normal.resize(a,n),this._alt.resize(a,n)},r.prototype.setupTabStops=function(a){this._normal.setupTabStops(a),this._alt.setupTabStops(a)},r}(T(2).Disposable);x.BufferSet=c},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.BufferStringIterator=x.Buffer=x.MAX_BUFFER_SIZE=void 0;var v=T(71),S=T(16),m=T(4),f=T(3),c=T(72),o=T(73),r=T(20),a=T(6);x.MAX_BUFFER_SIZE=4294967295;var n=function(){function s(t,i,l){this._hasScrollback=t,this._optionsService=i,this._bufferService=l,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=S.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=m.CellData.fromCharData([0,f.NULL_CELL_CHAR,f.NULL_CELL_WIDTH,f.NULL_CELL_CODE]),this._whitespaceCell=m.CellData.fromCharData([0,f.WHITESPACE_CELL_CHAR,f.WHITESPACE_CELL_WIDTH,f.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new v.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return s.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new a.ExtendedAttrs),this._nullCell},s.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new a.ExtendedAttrs),this._whitespaceCell},s.prototype.getBlankLine=function(t,i){return new S.BufferLine(this._bufferService.cols,this.getNullCell(t),i)},Object.defineProperty(s.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isCursorInViewport",{get:function(){var i=this.ybase+this.y-this.ydisp;return i>=0&&ix.MAX_BUFFER_SIZE?x.MAX_BUFFER_SIZE:i},s.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=S.DEFAULT_ATTR_DATA);for(var i=this._rows;i--;)this.lines.push(this.getBlankLine(t))}},s.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new v.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},s.prototype.resize=function(t,i){var l=this.getNullCell(S.DEFAULT_ATTR_DATA),u=this._getCorrectBufferLength(i);if(u>this.lines.maxLength&&(this.lines.maxLength=u),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+p+1?(this.ybase--,p++,this.ydisp>0&&this.ydisp--):this.lines.push(new S.BufferLine(t,l)));else for(g=this._rows;g>i;g--)this.lines.length>i+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(u0&&(this.lines.trimStart(A),this.ybase=Math.max(this.ybase-A,0),this.ydisp=Math.max(this.ydisp-A,0),this.savedY=Math.max(this.savedY-A,0)),this.lines.maxLength=u}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,i-1),p&&(this.y+=p),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=i-1,this._isReflowEnabled&&(this._reflow(t,i),this._cols>t))for(h=0;hthis._cols?this._reflowLarger(t,i):this._reflowSmaller(t,i))},s.prototype._reflowLarger=function(t,i){var l=c.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(S.DEFAULT_ATTR_DATA));if(l.length>0){var u=c.reflowLargerCreateNewLayout(this.lines,l);c.reflowLargerApplyNewLayout(this.lines,u.layout),this._reflowLargerAdjustViewport(t,i,u.countRemoved)}},s.prototype._reflowLargerAdjustViewport=function(t,i,l){for(var u=this.getNullCell(S.DEFAULT_ATTR_DATA),h=l;h-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;p--){var g=this.lines.get(p);if(!(!g||!g.isWrapped&&g.getTrimmedLength()<=t)){for(var A=[g];g.isWrapped&&p>0;)g=this.lines.get(--p),A.unshift(g);var y=this.ybase+this.y;if(!(y>=p&&y0&&(u.push({start:p+A.length+h,newLines:I}),h+=I.length),A.push.apply(A,I);var D=C.length-1,N=C[D];N===0&&(N=C[--D]);for(var R=A.length-w-1,B=E;R>=0;){var M=Math.min(B,N);if(A[D].copyCellsFrom(A[R],B-M,N-M,M,!0),(N-=M)===0&&(N=C[--D]),(B-=M)===0){R--;var H=Math.max(R,0);B=c.getWrappedLineTrimmedLength(A,H,this._cols)}}for(_=0;_0;)this.ybase===0?this.y0){var K=[],j=[];for(_=0;_=0;_--)if(ee&&ee.start>z+fe){for(var ie=ee.newLines.length-1;ie>=0;ie--)this.lines.set(_--,ee.newLines[ie]);_++,K.push({index:z+1,amount:ee.newLines.length}),fe+=ee.newLines.length,ee=u[++Y]}else this.lines.set(_,j[z--]);var we=0;for(_=K.length-1;_>=0;_--)K[_].index+=we,this.lines.onInsertEmitter.fire(K[_]),we+=K[_].amount;var Ce=Math.max(0,V+h-this.lines.maxLength);Ce>0&&this.lines.onTrimEmitter.fire(Ce)}},s.prototype.stringIndexToBufferIndex=function(t,i,l){for(l===void 0&&(l=!1);i;){var u=this.lines.get(t);if(!u)return[-1,-1];for(var h=l?u.getTrimmedLength():u.length,p=0;p0&&this.lines.get(i).isWrapped;)i--;for(;l+10;);return t>=this._cols?this._cols-1:t<0?0:t},s.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t=this._cols?this._cols-1:t<0?0:t},s.prototype.addMarker=function(t){var i=this,l=new o.Marker(t);return this.markers.push(l),l.register(this.lines.onTrim(function(u){l.line-=u,l.line<0&&l.dispose()})),l.register(this.lines.onInsert(function(u){l.line>=u.index&&(l.line+=u.amount)})),l.register(this.lines.onDelete(function(u){l.line>=u.index&&l.lineu.index&&(l.line-=u.amount)})),l.register(l.onDispose(function(){return i._removeMarker(l)})),l},s.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},s.prototype.iterator=function(t,i,l,u,h){return new e(this,t,i,l,u,h)},s}();x.Buffer=n;var e=function(){function s(t,i,l,u,h,p){l===void 0&&(l=0),u===void 0&&(u=t.lines.length),h===void 0&&(h=0),p===void 0&&(p=0),this._buffer=t,this._trimRight=i,this._startIndex=l,this._endIndex=u,this._startOverscan=h,this._endOverscan=p,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return s.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var i="",l=t.first;l<=t.last;++l)i+=this._buffer.translateBufferLineToString(l,this._trimRight);return this._current=t.last+1,{range:t,content:i}},s}();x.BufferStringIterator=e},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CircularList=void 0;var v=T(0),S=function(){function m(f){this._maxLength=f,this.onDeleteEmitter=new v.EventEmitter,this.onInsertEmitter=new v.EventEmitter,this.onTrimEmitter=new v.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(m.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"maxLength",{get:function(){return this._maxLength},set:function(c){if(this._maxLength!==c){for(var o=new Array(c),r=0;rthis._length)for(var o=this._length;o=f;a--)this._array[this._getCyclicIndex(a+o.length)]=this._array[this._getCyclicIndex(a)];for(a=0;athis._maxLength){var n=this._length+o.length-this._maxLength;this._startIndex+=n,this._length=this._maxLength,this.onTrimEmitter.fire(n)}else this._length+=o.length},m.prototype.trimStart=function(f){f>this._length&&(f=this._length),this._startIndex+=f,this._length-=f,this.onTrimEmitter.fire(f)},m.prototype.shiftElements=function(f,c,o){if(!(c<=0)){if(f<0||f>=this._length)throw new Error("start argument out of range");if(f+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var r=c-1;r>=0;r--)this.set(f+r+o,this.get(f+r));var a=f+c+o-this._length;if(a>0)for(this._length+=a;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r=a&&c0&&(E>t||s[E].getTrimmedLength()===0);E--)y++;y>0&&(r.push(a+s.length-y),r.push(y)),a+=s.length-1}}}return r},x.reflowLargerCreateNewLayout=function(S,m){for(var f=[],c=0,o=m[c],r=0,a=0;ae&&(r-=e,a++);var s=S[a].getWidth(r-1)===2;s&&r--;var t=s?f-1:f;c.push(t),n+=t}return c},x.getWrappedLineTrimmedLength=v},function(O,x,T){"use strict";var v,S=this&&this.__extends||(v=function(o,r){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var e in n)n.hasOwnProperty(e)&&(a[e]=n[e])})(o,r)},function(c,o){function r(){this.constructor=c}v(c,o),c.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)});Object.defineProperty(x,"__esModule",{value:!0}),x.Marker=void 0;var m=T(0),f=function(c){function o(r){var a=c.call(this)||this;return a.line=r,a._id=o._nextId++,a.isDisposed=!1,a._onDispose=new m.EventEmitter,a}return S(o,c),Object.defineProperty(o.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},o._nextId=1,o}(T(2).Disposable);x.Marker=f},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.OptionsService=x.DEFAULT_OPTIONS=x.DEFAULT_BELL_SOUND=void 0;var v=T(0),S=T(11),m=T(33);x.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",x.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:x.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:S.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var f=["cols","rows"],c=function(){function o(r){this._onOptionChange=new v.EventEmitter,this.options=m.clone(x.DEFAULT_OPTIONS);for(var a=0,n=Object.keys(r);a=0;A--)(h=t[A])&&(g=(p<3?h(g):p>3?h(i,l,g):h(i,l))||g);return p>3&&g&&Object.defineProperty(i,l,g),g},f=this&&this.__param||function(t,i){return function(l,u){i(l,u,t)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CoreService=void 0;var c=T(1),o=T(0),r=T(33),a=T(2),n=Object.freeze({insertMode:!1}),e=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),s=function(t){function i(l,u,h,p){var g=t.call(this)||this;return g._bufferService=u,g._logService=h,g._optionsService=p,g.isCursorInitialized=!1,g.isCursorHidden=!1,g._onData=g.register(new o.EventEmitter),g._onUserInput=g.register(new o.EventEmitter),g._onBinary=g.register(new o.EventEmitter),g._scrollToBottom=l,g.register({dispose:function(){return g._scrollToBottom=void 0}}),g.modes=r.clone(n),g.decPrivateModes=r.clone(e),g}return S(i,t),Object.defineProperty(i.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),i.prototype.reset=function(){this.modes=r.clone(n),this.decPrivateModes=r.clone(e)},i.prototype.triggerDataEvent=function(l,u){if(u===void 0&&(u=!1),!this._optionsService.options.disableStdin){var h=this._bufferService.buffer;h.ybase!==h.ydisp&&this._scrollToBottom(),u&&this._onUserInput.fire(),this._logService.debug('sending data "'+l+'"',function(){return l.split("").map(function(p){return p.charCodeAt(0)})}),this._onData.fire(l)}},i.prototype.triggerBinaryEvent=function(l){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+l+'"',function(){return l.split("").map(function(u){return u.charCodeAt(0)})}),this._onBinary.fire(l))},i=m([f(1,c.IBufferService),f(2,c.ILogService),f(3,c.IOptionsService)],i)}(a.Disposable);x.CoreService=s},function(O,x,T){"use strict";var v=this&&this.__decorate||function(e,s,t,i){var l,u=arguments.length,h=u<3?s:i===null?i=Object.getOwnPropertyDescriptor(s,t):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(e,s,t,i);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(h=(u<3?l(h):u>3?l(s,t,h):l(s,t))||h);return u>3&&h&&Object.defineProperty(s,t,h),h},S=this&&this.__param||function(e,s){return function(t,i){s(t,i,e)}};Object.defineProperty(x,"__esModule",{value:!0}),x.CoreMouseService=void 0;var m=T(1),f=T(0),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(s){return s.button!==4&&s.action===1&&(s.ctrl=!1,s.alt=!1,s.shift=!1,!0)}},VT200:{events:19,restrict:function(s){return s.action!==32}},DRAG:{events:23,restrict:function(s){return s.action!==32||s.button!==3}},ANY:{events:31,restrict:function(s){return!0}}};function o(e,s){var t=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return e.button===4?(t|=64,t|=e.action):(t|=3&e.button,4&e.button&&(t|=64),8&e.button&&(t|=128),e.action===32?t|=32:e.action!==0||s||(t|=3)),t}var r=String.fromCharCode,a={DEFAULT:function(s){var t=[o(s,!1)+32,s.col+32,s.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+r(t[0])+r(t[1])+r(t[2])},SGR:function(s){var t=s.action===0&&s.button!==4?"m":"M";return"[<"+o(s,!0)+";"+s.col+";"+s.row+t}},n=function(){function e(s,t){this._bufferService=s,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new f.EventEmitter,this._lastEvent=null;for(var i=0,l=Object.keys(c);i=this._bufferService.cols||s.row<0||s.row>=this._bufferService.rows)return!1;if(s.button===4&&s.action===32)return!1;if(s.button===3&&s.action!==32)return!1;if(s.button!==4&&(s.action===2||s.action===3))return!1;if(s.col++,s.row++,s.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,s))return!1;if(!this._protocols[this._activeProtocol].restrict(s))return!1;var t=this._encodings[this._activeEncoding](s);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=s,!0},e.prototype.explainEvents=function(s){return{down:!!(1&s),up:!!(2&s),drag:!!(4&s),move:!!(8&s),wheel:!!(16&s)}},e.prototype._compareEvents=function(s,t){return s.col===t.col&&s.row===t.row&&s.button===t.button&&s.action===t.action&&s.ctrl===t.ctrl&&s.alt===t.alt&&s.shift===t.shift},e=v([S(0,m.IBufferService),S(1,m.ICoreService)],e)}();x.CoreMouseService=n},function(O,x,T){"use strict";var v=this&&this.__decorate||function(c,o,r,a){var n,e=arguments.length,s=e<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,o,r,a);else for(var t=c.length-1;t>=0;t--)(n=c[t])&&(s=(e<3?n(s):e>3?n(o,r,s):n(o,r))||s);return e>3&&s&&Object.defineProperty(o,r,s),s},S=this&&this.__param||function(c,o){return function(r,a){o(r,a,c)}};Object.defineProperty(x,"__esModule",{value:!0}),x.DirtyRowService=void 0;var m=T(1),f=function(){function c(o){this._bufferService=o,this.clearRange()}return Object.defineProperty(c.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),c.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},c.prototype.markDirty=function(o){othis._end&&(this._end=o)},c.prototype.markRangeDirty=function(o,r){if(o>r){var a=o;o=r,r=a}othis._end&&(this._end=r)},c.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},c=v([S(0,m.IBufferService)],c)}();x.DirtyRowService=f},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.UnicodeService=void 0;var v=T(0),S=T(79),m=function(){function f(){this._providers=Object.create(null),this._active="",this._onChange=new v.EventEmitter;var c=new S.UnicodeV6;this.register(c),this._active=c.version,this._activeProvider=c}return Object.defineProperty(f.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"activeVersion",{get:function(){return this._active},set:function(o){if(!this._providers[o])throw new Error('unknown Unicode version "'+o+'"');this._active=o,this._activeProvider=this._providers[o],this._onChange.fire(o)},enumerable:!1,configurable:!0}),f.prototype.register=function(c){this._providers[c.version]=c},f.prototype.wcwidth=function(c){return this._activeProvider.wcwidth(c)},f.prototype.getStringCellWidth=function(c){for(var o=0,r=c.length,a=0;a=r)return o+this.wcwidth(n);var e=c.charCodeAt(a);56320<=e&&e<=57343?n=1024*(n-55296)+e-56320+65536:o+=this.wcwidth(e)}o+=this.wcwidth(n)}return o},f}();x.UnicodeService=m},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.UnicodeV6=void 0;var v,S=T(15),m=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],f=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],c=function(){function o(){if(this.version="6",!v){v=new Uint8Array(65536),S.fill(v,1),v[0]=0,S.fill(v,0,1,32),S.fill(v,0,127,160),S.fill(v,2,4352,4448),v[9001]=2,v[9002]=2,S.fill(v,2,11904,42192),v[12351]=1,S.fill(v,2,44032,55204),S.fill(v,2,63744,64256),S.fill(v,2,65040,65050),S.fill(v,2,65072,65136),S.fill(v,2,65280,65377),S.fill(v,2,65504,65511);for(var r=0;rn[t][1])return!1;for(;t>=s;)if(a>n[e=s+t>>1][1])s=e+1;else{if(!(a=131072&&r<=196605||r>=196608&&r<=262141?2:1},o}();x.UnicodeV6=c},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.CharsetService=void 0;var v=function(){function S(){this.glevel=0,this._charsets=[]}return S.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},S.prototype.setgLevel=function(m){this.glevel=m,this.charset=this._charsets[m]},S.prototype.setgCharset=function(m,f){this._charsets[m]=f,this.glevel===m&&(this.charset=f)},S}();x.CharsetService=v},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.updateWindowsModeWrappedState=void 0;var v=T(3);x.updateWindowsModeWrappedState=function(S){var m=S.buffer.lines.get(S.buffer.ybase+S.buffer.y-1),f=m==null?void 0:m.get(S.cols-1),c=S.buffer.lines.get(S.buffer.ybase+S.buffer.y);c&&f&&(c.isWrapped=f[v.CHAR_DATA_CODE_INDEX]!==v.NULL_CELL_CODE&&f[v.CHAR_DATA_CODE_INDEX]!==v.WHITESPACE_CELL_CODE)}},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.WriteBuffer=void 0;var v=function(){function S(m){this._action=m,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return S.prototype.writeSync=function(m){if(this._writeBuffer.length){for(var f=this._bufferOffset;f5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return c._innerWrite()})),this._pendingData+=m.length,this._writeBuffer.push(m),this._callbacks.push(f)},S.prototype._innerWrite=function(){for(var m=this,f=Date.now();this._writeBuffer.length>this._bufferOffset;){var c=this._writeBuffer[this._bufferOffset],o=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(c),this._pendingData-=c.length,o&&o(),Date.now()-f>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return m._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},S}();x.WriteBuffer=v},function(O,x,T){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.AddonManager=void 0;var v=function(){function S(){this._addons=[]}return S.prototype.dispose=function(){for(var m=this._addons.length-1;m>=0;m--)this._addons[m].instance.dispose()},S.prototype.loadAddon=function(m,f){var c=this,o={instance:f,dispose:f.dispose,isDisposed:!1};this._addons.push(o),f.dispose=function(){return c._wrappedAddonDispose(o)},f.activate(m)},S.prototype._wrappedAddonDispose=function(m){if(!m.isDisposed){for(var f=-1,c=0;ca;)e+=s*360;return[n,e]},coordToPoint:function(S){var m=S[0],f=S[1]/180*Math.PI,c=Math.cos(f)*m+this.cx,o=-Math.sin(f)*m+this.cy;return[c,o]},getArea:function(){var S=this.getAngleAxis(),m=this.getRadiusAxis(),f=m.getExtent().slice();f[0]>f[1]&&f.reverse();var c=S.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:f[0],r:f[1],startAngle:-c[0]*o,endAngle:-c[1]*o,clockwise:S.inverse,contain:function(r,a){var n=r-this.cx,e=a-this.cy,s=n*n+e*e,t=this.r,i=this.r0;return s<=t*t&&s>=i*i}}}};var v=T;U.exports=v},"/WM3":function(U,P,d){var O=d("QuXc"),x=d("bYtY"),T=x.isFunction,v={createOnAllSeries:!0,performRawSeries:!0,reset:function(S,m){var f=S.getData(),c=(S.visualColorAccessPath||"itemStyle.color").split("."),o=S.get(c),r=T(o)&&!(o instanceof O)?o:null;(!o||r)&&(o=S.getColorFromPalette(S.name,null,m.getSeriesCount())),f.setVisual("color",o);var a=(S.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),n=S.get(a);if(f.setVisual("borderColor",n),!m.isSeriesFiltered(S)){r&&f.each(function(s){f.setItemVisual(s,"color",r(S.getDataParams(s)))});var e=function(s,t){var i=s.getItemModel(t),l=i.get(c,!0),u=i.get(a,!0);l!=null&&s.setItemVisual(t,"color",l),u!=null&&s.setItemVisual(t,"borderColor",u)};return{dataEach:f.hasItemOption?e:null}}}};U.exports=v},"/d5a":function(U,P){var d={average:function(T){for(var v=0,S=0,m=0;mv&&(v=T[S]);return isFinite(v)?v:NaN},min:function(T){for(var v=Infinity,S=0;S1){var t;typeof c=="string"?t=d[c]:typeof c=="function"&&(t=c),t&&v.setData(f.downSample(f.mapDimension(a.dim),1/s,t,O))}}}}}U.exports=x},"/ezw":function(U,P,d){"use strict";var O=d("lSNA"),x=d.n(O),T=d("pVnL"),v=d.n(T),S=d("cDf5"),m=d.n(S),f=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=function(F){var K=F.prefixCls,j=F.className,V=F.width,z=F.style;return f.createElement("h3",{className:o()(K,j),style:v()({width:V},z)})},a=r,n=d("RIqP"),e=d.n(n),s=function(F){var K=function(ie){var we=F.width,Ce=F.rows,Le=Ce===void 0?2:Ce;return Array.isArray(we)?we[ie]:Le-1===ie?we:void 0},j=F.prefixCls,V=F.className,z=F.style,Y=F.rows,ee=e()(Array(Y)).map(function(fe,ie){return f.createElement("li",{key:ie,style:{width:K(ie)}})});return f.createElement("ul",{className:o()(j,V),style:z},ee)},t=s,i=d("H84U"),l=function(F){var K,j,V=F.prefixCls,z=F.className,Y=F.style,ee=F.size,fe=F.shape,ie=o()((K={},x()(K,"".concat(V,"-lg"),ee==="large"),x()(K,"".concat(V,"-sm"),ee==="small"),K)),we=o()((j={},x()(j,"".concat(V,"-circle"),fe==="circle"),x()(j,"".concat(V,"-square"),fe==="square"),x()(j,"".concat(V,"-round"),fe==="round"),j)),Ce=typeof ee=="number"?{width:ee,height:ee,lineHeight:"".concat(ee,"px")}:{};return f.createElement("span",{className:o()(V,z,ie,we),style:v()(v()({},Ce),Y)})},u=l,h=d("BGR+"),p=function(F){var K=function(V){var z=V.getPrefixCls,Y=F.prefixCls,ee=F.className,fe=F.active,ie=z("skeleton",Y),we=Object(h.default)(F,["prefixCls"]),Ce=o()(ie,ee,"".concat(ie,"-element"),x()({},"".concat(ie,"-active"),fe));return f.createElement("div",{className:Ce},f.createElement(u,v()({prefixCls:"".concat(ie,"-avatar")},we)))};return f.createElement(i.a,null,K)};p.defaultProps={size:"default",shape:"circle"};var g=p,A=function(F){var K=function(V){var z=V.getPrefixCls,Y=F.prefixCls,ee=F.className,fe=F.active,ie=z("skeleton",Y),we=Object(h.default)(F,["prefixCls"]),Ce=o()(ie,ee,"".concat(ie,"-element"),x()({},"".concat(ie,"-active"),fe));return f.createElement("div",{className:Ce},f.createElement(u,v()({prefixCls:"".concat(ie,"-button")},we)))};return f.createElement(i.a,null,K)};A.defaultProps={size:"default"};var y=A,E=function(F){var K=function(V){var z=V.getPrefixCls,Y=F.prefixCls,ee=F.className,fe=F.active,ie=z("skeleton",Y),we=Object(h.default)(F,["prefixCls"]),Ce=o()(ie,ee,"".concat(ie,"-element"),x()({},"".concat(ie,"-active"),fe));return f.createElement("div",{className:Ce},f.createElement(u,v()({prefixCls:"".concat(ie,"-input")},we)))};return f.createElement(i.a,null,K)};E.defaultProps={size:"default"};var C=E,w="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",b=function(F){var K=function(V){var z=V.getPrefixCls,Y=F.prefixCls,ee=F.className,fe=F.style,ie=z("skeleton",Y),we=o()(ie,ee,"".concat(ie,"-element"));return f.createElement("div",{className:we},f.createElement("div",{className:o()("".concat(ie,"-image"),ee),style:fe},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(ie,"-image-svg")},f.createElement("path",{d:w,className:"".concat(ie,"-image-path")}))))};return f.createElement(i.a,null,K)},I=b;function _(H){return H&&m()(H)==="object"?H:{}}function L(H,F){return H&&!F?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function D(H,F){return!H&&F?{width:"38%"}:H&&F?{width:"50%"}:{}}function N(H,F){var K={};return(!H||!F)&&(K.width="61%"),!H&&F?K.rows=3:K.rows=2,K}var R=function(F){var K=function(V){var z=V.getPrefixCls,Y=V.direction,ee=F.prefixCls,fe=F.loading,ie=F.className,we=F.children,Ce=F.avatar,Le=F.title,He=F.paragraph,ce=F.active,Pe=F.round,Q=z("skeleton",ee);if(fe||!("loading"in F)){var me,Je=!!Ce,re=!!Le,G=!!He,X;if(Je){var J=v()(v()({prefixCls:"".concat(Q,"-avatar")},L(re,G)),_(Ce));X=f.createElement("div",{className:"".concat(Q,"-header")},f.createElement(u,J))}var Ae;if(re||G){var he;if(re){var Me=v()(v()({prefixCls:"".concat(Q,"-title")},D(Je,G)),_(Le));he=f.createElement(a,Me)}var Ie;if(G){var oe=v()(v()({prefixCls:"".concat(Q,"-paragraph")},N(Je,re)),_(He));Ie=f.createElement(t,oe)}Ae=f.createElement("div",{className:"".concat(Q,"-content")},he,Ie)}var pe=o()(Q,ie,(me={},x()(me,"".concat(Q,"-with-avatar"),Je),x()(me,"".concat(Q,"-active"),ce),x()(me,"".concat(Q,"-rtl"),Y==="rtl"),x()(me,"".concat(Q,"-round"),Pe),me));return f.createElement("div",{className:pe},X,Ae)}return we};return f.createElement(i.a,null,K)};R.defaultProps={avatar:!1,title:!0,paragraph:!0},R.Button=y,R.Avatar=g,R.Input=C,R.Image=I;var B=R,M=P.a=B},"/iHx":function(U,P,d){var O=d("6GrX"),x=d("IwbS"),T=["textStyle","color"],v={getTextColor:function(S){var m=this.ecModel;return this.getShallow("color")||(!S&&m?m.get(T):null)},getFont:function(){return x.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(S){return O.getBoundingRect(S,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};U.exports=v},"/ry/":function(U,P,d){var O=d("bYtY"),x=d("T4UG"),T=d("5GhG"),v=T.seriesModelMixin,S=x.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});O.mixin(S,v,!0);var m=S;U.exports=m},"/stD":function(U,P,d){var O=d("bYtY"),x=d("IUWy"),T=d("Kagy"),v=T.toolbox.brush;function S(c,o,r){this.model=c,this.ecModel=o,this.api=r,this._brushType,this._brushMode}S.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:O.clone(v.title)};var m=S.prototype;m.render=m.updateView=function(c,o,r){var a,n,e;o.eachComponent({mainType:"brush"},function(s){a=s.brushType,n=s.brushOption.brushMode||"single",e|=s.areas.length}),this._brushType=a,this._brushMode=n,O.each(c.get("type",!0),function(s){c.setIconStatus(s,(s==="keep"?n==="multiple":s==="clear"?e:s===a)?"emphasis":"normal")})},m.getIcons=function(){var c=this.model,o=c.get("icon",!0),r={};return O.each(c.get("type",!0),function(a){o[a]&&(r[a]=o[a])}),r},m.onclick=function(c,o,r){var a=this._brushType,n=this._brushMode;r==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?a:a===r?!1:r,brushMode:r==="keep"?n==="multiple"?"single":"multiple":n}})},x.register("brush",S);var f=S;U.exports=f},"/wGt":function(U,P,d){"use strict";var O=d("lSNA"),x=d.n(O),T=d("pVnL"),v=d.n(T),S=d("lwsE"),m=d.n(S),f=d("W8MJ"),c=d.n(f),o=d("PJYZ"),r=d.n(o),a=d("7W2i"),n=d.n(a),e=d("LQ03"),s=d.n(e),t=d("q1tI"),i=d("Ff2n"),l=d("1OyB"),u=d("vuIU"),h=d("Ji7U"),p=d("md7G"),g=d("foSv"),A=d("1W/9"),y=d("rePB"),E=d("JX7q"),C=d("TSYQ"),w=d.n(C),b=d("qx4F"),I=d("4IlW");function _(he){return Array.isArray(he)?he:[he]}var L={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},D=Object.keys(L).filter(function(he){if(typeof document=="undefined")return!1;var Me=document.getElementsByTagName("html")[0];return he in(Me?Me.style:{})})[0],N=L[D];function R(he,Me,Ie,oe){he.addEventListener?he.addEventListener(Me,Ie,oe):he.attachEvent&&he.attachEvent("on".concat(Me),Ie)}function B(he,Me,Ie,oe){he.removeEventListener?he.removeEventListener(Me,Ie,oe):he.attachEvent&&he.detachEvent("on".concat(Me),Ie)}function M(he,Me){var Ie=typeof he=="function"?he(Me):he;return Array.isArray(Ie)?Ie.length===2?Ie:[Ie[0],Ie[1]]:[Ie]}var H=function(Me){return!isNaN(parseFloat(Me))&&isFinite(Me)},F=!(typeof window!="undefined"&&window.document&&window.document.createElement),K=function he(Me,Ie,oe,pe){if(!Ie||Ie===document||Ie instanceof Document)return!1;if(Ie===Me.parentNode)return!0;var Oe=Math.max(Math.abs(oe),Math.abs(pe))===Math.abs(pe),Ye=Math.max(Math.abs(oe),Math.abs(pe))===Math.abs(oe),it=Ie.scrollHeight-Ie.clientHeight,et=Ie.scrollWidth-Ie.clientWidth,Te=document.defaultView.getComputedStyle(Ie),tt=Te.overflowY==="auto"||Te.overflowY==="scroll",ze=Te.overflowX==="auto"||Te.overflowX==="scroll",dt=it&&tt,Ot=et&&ze;return Oe&&(!dt||dt&&(Ie.scrollTop>=it&&pe<0||Ie.scrollTop<=0&&pe>0))||Ye&&(!Ot||Ot&&(Ie.scrollLeft>=et&&oe<0||Ie.scrollLeft<=0&&oe>0))?he(Me,Ie.parentNode,oe,pe):!1};function j(he){var Me=V();return function(){var oe=Object(g.a)(he),pe;if(Me){var Oe=Object(g.a)(this).constructor;pe=Reflect.construct(oe,arguments,Oe)}else pe=oe.apply(this,arguments);return Object(p.a)(this,pe)}}function V(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(he){return!1}}var z={},Y=function(he){Object(h.a)(Ie,he);var Me=j(Ie);function Ie(oe){var pe;return Object(l.a)(this,Ie),pe=Me.call(this,oe),pe.domFocus=function(){pe.dom&&pe.dom.focus()},pe.removeStartHandler=function(Oe){if(Oe.touches.length>1)return;pe.startPos={x:Oe.touches[0].clientX,y:Oe.touches[0].clientY}},pe.removeMoveHandler=function(Oe){if(Oe.changedTouches.length>1)return;var Ye=Oe.currentTarget,it=Oe.changedTouches[0].clientX-pe.startPos.x,et=Oe.changedTouches[0].clientY-pe.startPos.y;(Ye===pe.maskDom||Ye===pe.handlerDom||Ye===pe.contentDom&&K(Ye,Oe.target,it,et))&&Oe.cancelable&&Oe.preventDefault()},pe.transitionEnd=function(Oe){var Ye=Oe.target;B(Ye,N,pe.transitionEnd),Ye.style.transition=""},pe.onKeyDown=function(Oe){if(Oe.keyCode===I.a.ESC){var Ye=pe.props.onClose;Oe.stopPropagation(),Ye&&Ye(Oe)}},pe.onWrapperTransitionEnd=function(Oe){var Ye=pe.props,it=Ye.open,et=Ye.afterVisibleChange;Oe.target===pe.contentWrapper&&Oe.propertyName.match(/transform$/)&&(pe.dom.style.transition="",!it&&pe.getCurrentDrawerSome()&&(document.body.style.overflowX="",pe.maskDom&&(pe.maskDom.style.left="",pe.maskDom.style.width="")),et&&et(!!it))},pe.openLevelTransition=function(){var Oe=pe.props,Ye=Oe.open,it=Oe.width,et=Oe.height,Te=pe.getHorizontalBoolAndPlacementName(),tt=Te.isHorizontal,ze=Te.placementName,dt=pe.contentDom?pe.contentDom.getBoundingClientRect()[tt?"width":"height"]:0,Ot=(tt?it:et)||dt;pe.setLevelAndScrolling(Ye,ze,Ot)},pe.setLevelTransform=function(Oe,Ye,it,et){var Te=pe.props,tt=Te.placement,ze=Te.levelMove,dt=Te.duration,Ot=Te.ease,Tt=Te.showMask;pe.levelDom.forEach(function(Ct){Ct.style.transition="transform ".concat(dt," ").concat(Ot),R(Ct,N,pe.transitionEnd);var Nt=Oe?it:0;if(ze){var Be=M(ze,{target:Ct,open:Oe});Nt=Oe?Be[0]:Be[1]||0}var $=typeof Nt=="number"?"".concat(Nt,"px"):Nt,Z=tt==="left"||tt==="top"?$:"-".concat($);Z=Tt&&tt==="right"&&et?"calc(".concat(Z," + ").concat(et,"px)"):Z,Ct.style.transform=Nt?"".concat(Ye,"(").concat(Z,")"):""})},pe.setLevelAndScrolling=function(Oe,Ye,it){var et=pe.props.onChange;if(!F){var Te=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(b.a)(!0):0;pe.setLevelTransform(Oe,Ye,it,Te),pe.toggleScrollingToDrawerAndBody(Te)}et&&et(Oe)},pe.toggleScrollingToDrawerAndBody=function(Oe){var Ye=pe.props,it=Ye.getOpenCount,et=Ye.getContainer,Te=Ye.showMask,tt=Ye.open,ze=et&&et(),dt=it&&it();if(ze&&ze.parentNode===document.body&&Te){var Ot=["touchstart"],Tt=[document.body,pe.maskDom,pe.handlerDom,pe.contentDom];tt&&document.body.style.overflow!=="hidden"?(Oe&&pe.addScrollingEffect(Oe),dt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Tt.forEach(function(Ct,Nt){if(!Ct)return;R(Ct,Ot[Nt]||"touchmove",Nt?pe.removeMoveHandler:pe.removeStartHandler,pe.passive)})):pe.getCurrentDrawerSome()&&(dt||(document.body.style.overflow=""),document.body.style.touchAction="",Oe&&pe.remScrollingEffect(Oe),Tt.forEach(function(Ct,Nt){if(!Ct)return;B(Ct,Ot[Nt]||"touchmove",Nt?pe.removeMoveHandler:pe.removeStartHandler,pe.passive)}))}},pe.addScrollingEffect=function(Oe){var Ye=pe.props,it=Ye.placement,et=Ye.duration,Te=Ye.ease,tt=Ye.getOpenCount,ze=Ye.switchScrollingEffect,dt=tt&&tt();dt===1&&ze();var Ot="width ".concat(et," ").concat(Te),Tt="transform ".concat(et," ").concat(Te);pe.dom.style.transition="none";switch(it){case"right":pe.dom.style.transform="translateX(-".concat(Oe,"px)");break;case"top":case"bottom":pe.dom.style.width="calc(100% - ".concat(Oe,"px)"),pe.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(pe.timeout),pe.timeout=setTimeout(function(){pe.dom&&(pe.dom.style.transition="".concat(Tt,",").concat(Ot),pe.dom.style.width="",pe.dom.style.transform="")})},pe.remScrollingEffect=function(Oe){var Ye=pe.props,it=Ye.placement,et=Ye.duration,Te=Ye.ease,tt=Ye.getOpenCount,ze=Ye.switchScrollingEffect,dt=tt&&tt();dt||ze(!0),D&&(document.body.style.overflowX="hidden"),pe.dom.style.transition="none";var Ot,Tt="width ".concat(et," ").concat(Te),Ct="transform ".concat(et," ").concat(Te);switch(it){case"left":{pe.dom.style.width="100%",Tt="width 0s ".concat(Te," ").concat(et);break}case"right":{pe.dom.style.transform="translateX(".concat(Oe,"px)"),pe.dom.style.width="100%",Tt="width 0s ".concat(Te," ").concat(et),pe.maskDom&&(pe.maskDom.style.left="-".concat(Oe,"px"),pe.maskDom.style.width="calc(100% + ".concat(Oe,"px)"));break}case"top":case"bottom":{pe.dom.style.width="calc(100% + ".concat(Oe,"px)"),pe.dom.style.height="100%",pe.dom.style.transform="translateZ(0)",Ot="height 0s ".concat(Te," ").concat(et);break}default:break}clearTimeout(pe.timeout),pe.timeout=setTimeout(function(){pe.dom&&(pe.dom.style.transition="".concat(Ct,",").concat(Ot?"".concat(Ot,","):"").concat(Tt),pe.dom.style.transform="",pe.dom.style.width="",pe.dom.style.height="")})},pe.getCurrentDrawerSome=function(){return!Object.keys(z).some(function(Oe){return z[Oe]})},pe.getLevelDom=function(Oe){var Ye=Oe.level,it=Oe.getContainer;if(F)return;var et=it&&it(),Te=et?et.parentNode:null;if(pe.levelDom=[],Ye==="all"){var tt=Te?Array.prototype.slice.call(Te.children):[];tt.forEach(function(ze){ze.nodeName!=="SCRIPT"&&ze.nodeName!=="STYLE"&&ze.nodeName!=="LINK"&&ze!==et&&pe.levelDom.push(ze)})}else Ye&&_(Ye).forEach(function(ze){document.querySelectorAll(ze).forEach(function(dt){pe.levelDom.push(dt)})})},pe.getHorizontalBoolAndPlacementName=function(){var Oe=pe.props.placement,Ye=Oe==="left"||Oe==="right",it="translate".concat(Ye?"X":"Y");return{isHorizontal:Ye,placementName:it}},pe.state={_self:Object(E.a)(pe)},pe}return Object(u.a)(Ie,[{key:"componentDidMount",value:function(){var pe=this;if(!F){var Oe=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Oe=!0,null}}))}catch(tt){}this.passive=Oe?{passive:!1}:!1}var Ye=this.props,it=Ye.open,et=Ye.getContainer,Te=et&&et();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),it&&(Te&&Te.parentNode===document.body&&(z[this.drawerId]=it),this.openLevelTransition(),this.forceUpdate(function(){pe.domFocus()}))}},{key:"componentDidUpdate",value:function(pe){var Oe=this.props,Ye=Oe.open,it=Oe.getContainer,et=it&&it();Ye!==pe.open&&(Ye&&this.domFocus(),et&&et.parentNode===document.body&&(z[this.drawerId]=!!Ye),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var pe=this.props,Oe=pe.getOpenCount,Ye=pe.open,it=pe.switchScrollingEffect,et=typeof Oe=="function"&&Oe();delete z[this.drawerId],Ye&&(this.setLevelTransform(!1),document.body.style.touchAction=""),et||(document.body.style.overflow="",it(!0))}},{key:"render",value:function(){var pe,Oe=this,Ye=this.props,it=Ye.className,et=Ye.children,Te=Ye.style,tt=Ye.width,ze=Ye.height,dt=Ye.defaultOpen,Ot=Ye.open,Tt=Ye.prefixCls,Ct=Ye.placement,Nt=Ye.level,Be=Ye.levelMove,$=Ye.ease,Z=Ye.duration,Re=Ye.getContainer,De=Ye.handler,ae=Ye.onChange,gt=Ye.afterVisibleChange,jt=Ye.showMask,ut=Ye.maskClosable,rr=Ye.maskStyle,pr=Ye.onClose,nn=Ye.onHandleClick,mr=Ye.keyboard,vr=Ye.getOpenCount,$t=Ye.switchScrollingEffect,Xt=Object(i.a)(Ye,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),ft=this.dom?Ot:!1,Ur=w()(Tt,(pe={},Object(y.a)(pe,"".concat(Tt,"-").concat(Ct),!0),Object(y.a)(pe,"".concat(Tt,"-open"),ft),Object(y.a)(pe,it||"",!!it),Object(y.a)(pe,"no-mask",!jt),pe)),yn=this.getHorizontalBoolAndPlacementName(),Dn=yn.placementName,Un=Ct==="left"||Ct==="top"?"-100%":"100%",wi=ft?"":"".concat(Dn,"(").concat(Un,")"),Rn=De&&t.cloneElement(De,{onClick:function(Vn){De.props.onClick&&De.props.onClick(),nn&&nn(Vn)},ref:function(Vn){Oe.handlerDom=Vn}});return t.createElement("div",Object.assign({},Xt,{tabIndex:-1,className:Ur,style:Te,ref:function(Vn){Oe.dom=Vn},onKeyDown:ft&&mr?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),jt&&t.createElement("div",{className:"".concat(Tt,"-mask"),onClick:ut?pr:void 0,style:rr,ref:function(Vn){Oe.maskDom=Vn}}),t.createElement("div",{className:"".concat(Tt,"-content-wrapper"),style:{transform:wi,msTransform:wi,width:H(tt)?"".concat(tt,"px"):tt,height:H(ze)?"".concat(ze,"px"):ze},ref:function(Vn){Oe.contentWrapper=Vn}},t.createElement("div",{className:"".concat(Tt,"-content"),ref:function(Vn){Oe.contentDom=Vn},onTouchStart:ft&&jt?this.removeStartHandler:void 0,onTouchMove:ft&&jt?this.removeMoveHandler:void 0},et),Rn))}}],[{key:"getDerivedStateFromProps",value:function(pe,Oe){var Ye=Oe.prevProps,it=Oe._self,et={prevProps:pe};if(Ye!==void 0){var Te=pe.placement,tt=pe.level;Te!==Ye.placement&&(it.contentDom=null),tt!==Ye.level&&it.getLevelDom(pe)}return et}}]),Ie}(t.Component);Y.defaultProps={switchScrollingEffect:function(){}};var ee=Y;function fe(he){var Me=ie();return function(){var oe=Object(g.a)(he),pe;if(Me){var Oe=Object(g.a)(this).constructor;pe=Reflect.construct(oe,arguments,Oe)}else pe=oe.apply(this,arguments);return Object(p.a)(this,pe)}}function ie(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(he){return!1}}var we=function(he){Object(h.a)(Ie,he);var Me=fe(Ie);function Ie(oe){var pe;Object(l.a)(this,Ie),pe=Me.call(this,oe),pe.onHandleClick=function(Ye){var it=pe.props,et=it.onHandleClick,Te=it.open;if(et&&et(Ye),typeof Te=="undefined"){var tt=pe.state.open;pe.setState({open:!tt})}},pe.onClose=function(Ye){var it=pe.props,et=it.onClose,Te=it.open;et&&et(Ye),typeof Te=="undefined"&&pe.setState({open:!1})};var Oe=typeof oe.open!="undefined"?oe.open:!!oe.defaultOpen;return pe.state={open:Oe},"onMaskClick"in oe&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),pe}return Object(u.a)(Ie,[{key:"render",value:function(){var pe=this,Oe=this.props,Ye=Oe.defaultOpen,it=Oe.getContainer,et=Oe.wrapperClassName,Te=Oe.forceRender,tt=Oe.handler,ze=Object(i.a)(Oe,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),dt=this.state.open;if(!it)return t.createElement("div",{className:et,ref:function(Ct){pe.dom=Ct}},t.createElement(ee,Object.assign({},ze,{open:dt,handler:tt,getContainer:function(){return pe.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ot=!!tt||Te;return t.createElement(A.a,{visible:dt,forceRender:Ot,getContainer:it,wrapperClassName:et},function(Tt){var Ct=Tt.visible,Nt=Tt.afterClose,Be=Object(i.a)(Tt,["visible","afterClose"]);return t.createElement(ee,Object.assign({},ze,Be,{open:Ct!==void 0?Ct:dt,afterVisibleChange:Nt!==void 0?Nt:ze.afterVisibleChange,handler:tt,onClose:pe.onClose,onHandleClick:pe.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(pe,Oe){var Ye=Oe.prevProps,it={prevProps:pe};return typeof Ye!="undefined"&&pe.open!==Ye.open&&(it.open=pe.open),it}}]),Ie}(t.Component);we.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ce=we,Le=Ce,He=d("V/uB"),ce=d.n(He),Pe=d("BGR+"),Q=d("H84U"),me=d("CWQg"),Je=function(he,Me){var Ie={};for(var oe in he)Object.prototype.hasOwnProperty.call(he,oe)&&Me.indexOf(oe)<0&&(Ie[oe]=he[oe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,oe=Object.getOwnPropertySymbols(he);pe=0&&x.each(g,function(A){t.setIconStatus(A,"normal")})}),t.setIconStatus(s,"emphasis"),n.eachComponent({mainType:"series",query:i==null?null:{seriesIndex:i}},u);var h;if(s==="stack"){var p=l.series&&l.series[0]&&l.series[0].stack===m;h=p?x.merge({stack:S.title.tiled},S.title):x.clone(S.title)}e.dispatchAction({type:"changeMagicType",currentType:s,newOption:l,newTitle:h,featureName:"magicType"})},O.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(n,e){e.mergeOption(n.newOption)}),v.register("magicType",f);var a=f;U.exports=a},"06Qe":function(U,P,d){var O=d("ItGF"),x="urn:schemas-microsoft-com:vml",T=typeof window=="undefined"?null:window,v=!1,S=T&&T.document;function m(o){return f(o)}var f;if(S&&!O.canvasSupported)try{!S.namespaces.zrvml&&S.namespaces.add("zrvml",x),f=function(r){return S.createElement("')}}catch(o){f=function(a){return S.createElement("<"+a+' xmlns="'+x+'" class="zrvml">')}}function c(){if(v||!S)return;v=!0;var o=S.styleSheets;o.length<31?S.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}P.doc=S,P.createNode=m,P.initVML=c},"09Wf":function(U,P,d){"use strict";d.d(P,"b",function(){return x}),d.d(P,"a",function(){return T});var O=d("CWQg"),x=Object(O.a)("success","processing","error","default","warning"),T=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(U,P,d){var O=d("T4UG"),x=d("I3/A"),T=d("7aKB"),v=T.encodeHTML,S=d("Qxkt"),m=d("Tghj"),f=m.__DEV__,c=O.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,a){for(var n=r.edges||r.links,e=r.data||r.nodes,s=r.levels,t=this.levelModels={},i=0;i=0&&(t[s[i].depth]=new S(s[i],this,a));if(e&&n){var l=x(e,n,this,!0,u);return l.data}function u(h,p){h.wrapMethod("getItemModel",function(g,A){return g.customizeGetParent(function(y){var E=this.parentModel,C=E.getData().getItemLayout(A).depth,w=E.levelModels[C];return w||this.parentModel}),g}),p.wrapMethod("getItemModel",function(g,A){return g.customizeGetParent(function(y){var E=this.parentModel,C=E.getGraph().getEdgeByIndex(A),w=C.node1.getLayout().depth,b=E.levelModels[w];return b||this.parentModel}),g})}},setNodePosition:function(r,a){var n=this.option.data[r];n.localX=a[0],n.localY=a[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,a,n){if(n==="edge"){var e=this.getDataParams(r,n),s=e.data,t=s.source+" -- "+s.target;return e.value&&(t+=" : "+e.value),v(t)}else if(n==="node"){var i=this.getGraph().getNodeByIndex(r),l=i.getLayout().value,u=this.getDataParams(r,n).data.name;if(l)var t=u+" : "+l;return v(t)}return c.superCall(this,"formatTooltip",r,a)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,a){var n=c.superCall(this,"getDataParams",r,a);if(n.value==null&&a==="node"){var e=this.getGraph().getNodeByIndex(r),s=e.getLayout().value;n.value=s}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),o=c;U.exports=o},"0HBW":function(U,P,d){var O=d("ProS"),x=d("bYtY");d("Hxpc"),d("7uqq"),d("dmGj"),d("SehX");function T(v,S){S.update="updateView",O.registerAction(S,function(m,f){var c={};return f.eachComponent({mainType:"geo",query:m},function(o){o[v](m.name);var r=o.coordinateSystem;x.each(r.regions,function(a){c[a.name]=o.isSelected(a.name)||!1})}),{selected:c,name:m.name}})}T("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),T("select",{type:"geoSelect",event:"geoselected"}),T("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(U,P,d){var O=d("bYtY"),x=d("+TT/"),T=d("OELB"),v=d("IDmD"),S=864e5;function m(o,r,a){this._model=o}m.prototype={constructor:m,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(o){o=T.parseDate(o);var r=o.getFullYear(),a=o.getMonth()+1;a=a<10?"0"+a:a;var n=o.getDate();n=n<10?"0"+n:n;var e=o.getDay();return e=Math.abs((e+7-this.getFirstDayOfWeek())%7),{y:r,m:a,d:n,day:e,time:o.getTime(),formatedDate:r+"-"+a+"-"+n,date:o}},getNextNDay:function(o,r){return r=r||0,r===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+r),this.getDateInfo(o))},update:function(o,r){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var a=this._rangeInfo.weeks||1,n=["width","height"],e=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[a,7]:[7,a];O.each([0,1],function(h){u(e,h)&&(s[n[h]]=e[h]*t[h])});var i={width:r.getWidth(),height:r.getHeight()},l=this._rect=x.getLayoutRect(s,i);O.each([0,1],function(h){u(e,h)||(e[h]=l[n[h]]/t[h])});function u(h,p){return h[p]!=null&&h[p]!=="auto"}this._sw=e[0],this._sh=e[1]},dataToPoint:function(o,r){O.isArray(o)&&(o=o[0]),r==null&&(r=!0);var a=this.getDateInfo(o),n=this._rangeInfo,e=a.formatedDate;if(r&&!(a.time>=n.start.time&&a.times.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var r;o[0].time>o[1].time&&(r=!0,o.reverse());var a=Math.floor(o[1].time/S)-Math.floor(o[0].time/S)+1,n=new Date(o[0].time),e=n.getDate(),s=o[1].date.getDate();n.setDate(e+a-1);var t=n.getDate();if(t!==s)for(var i=n.getTime()-o[1].time>0?1:-1;(t=n.getDate())!==s&&(n.getTime()-o[1].time)*i>0;)a-=i,n.setDate(t-i);var l=Math.floor((a+o[0].day+6)/7),u=r?-l+1:l-1;return r&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:a,weeks:l,nthWeek:u,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,r,a){var n=this._getRangeInfo(a);if(o>n.weeks||o===0&&rn.lweek)return!1;var e=(o-1)*7-n.fweek+r,s=new Date(n.start.time);return s.setDate(n.start.d+e),this.getDateInfo(s)}},m.dimensions=m.prototype.dimensions,m.getDimensionsInfo=m.prototype.getDimensionsInfo,m.create=function(o,r){var a=[];return o.eachComponent("calendar",function(n){var e=new m(n,o,r);a.push(e),n.coordinateSystem=e}),o.eachSeries(function(n){n.get("coordinateSystem")==="calendar"&&(n.coordinateSystem=a[n.get("calendarIndex")||0])}),a};function f(o,r,a,n){var e=a.calendarModel,s=a.seriesModel,t=e?e.coordinateSystem:s?s.coordinateSystem:null;return t===this?t[o](n):null}v.register("calendar",m);var c=m;U.exports=c},"0JQy":function(U,P){var d="\\ud800-\\udfff",O="\\u0300-\\u036f",x="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",v=O+x+T,S="\\ufe0e\\ufe0f",m="["+d+"]",f="["+v+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+f+"|"+c+")",r="[^"+d+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",n="[\\ud800-\\udbff][\\udc00-\\udfff]",e="\\u200d",s=o+"?",t="["+S+"]?",i="(?:"+e+"(?:"+[r,a,n].join("|")+")"+t+s+")*",l=t+s+i,u="(?:"+[r+f+"?",f,a,n,m].join("|")+")",h=RegExp(c+"(?="+c+")|"+u+l,"g");function p(g){return g.match(h)||[]}U.exports=p},"0NbB":function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="CaretDownOutlined";var f=P.a=x.forwardRef(m)},"0V0F":function(U,P,d){var O=d("bYtY"),x=O.createHashMap,T=O.each;function v(m){var f=x();m.eachSeries(function(c){var o=c.get("stack");if(o){var r=f.get(o)||f.set(o,[]),a=c.getData(),n={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:c};if(!n.stackedDimension||!(n.isStackedByIndex||n.stackedByDimension))return;r.length&&a.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(n)}}),f.each(S)}function S(m){T(m,function(f,c){var o=[],r=[NaN,NaN],a=[f.stackResultDimension,f.stackedOverDimension],n=f.data,e=f.isStackedByIndex,s=n.map(a,function(t,i,l){var u=n.get(f.stackedDimension,l);if(isNaN(u))return r;var h,p;e?p=n.getRawIndex(l):h=n.get(f.stackedByDimension,l);for(var g=NaN,A=c-1;A>=0;A--){var y=m[A];if(e||(p=y.data.rawIndexOf(y.stackedByDimension,h)),p>=0){var E=y.data.getByRawIndex(y.stackResultDimension,p);if(u>=0&&E>0||u<=0&&E<0){u+=E,g=E;break}}}return o[0]=u,o[1]=g,o});n.hostModel.setData(s),f.data=s})}U.exports=v},"0XgM":function(U,P,d){},"0fbx":function(U,P,d){},"0o9m":function(U,P,d){var O=d("ProS");d("hNWo"),d("RlCK"),d("XpcN");var x=d("kDyi"),T=d("bLfw");O.registerProcessor(O.PRIORITY.PROCESSOR.SERIES_FILTER,x),T.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(U,P,d){var O=d("ProS");O.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),O.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(U,P){var d=arguments[3],O=arguments[4],x=arguments[5],T=JSON.stringify;U.exports=function(v,S){for(var m,f=Object.keys(x),c=0,o=f.length;c=0;A--){var y;if(p[A]!==h&&!p[A].ignore&&(y=e(p[A],l,u))&&(!g.topTarget&&(g.topTarget=p[A]),y!==f)){g.target=p[A];break}}return g},processGesture:function(l,u){this._gestureMgr||(this._gestureMgr=new m);var h=this._gestureMgr;u==="start"&&h.clear();var p=h.recognize(l,this.findHover(l.zrX,l.zrY,null).target,this.proxy.dom);if(u==="end"&&h.clear(),p){var g=p.type;l.gestureEvent=g,this.dispatchToElement({target:p.target},g,p.event)}}},O.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(i){n.prototype[i]=function(l){var u=l.zrX,h=l.zrY,p=s(this,u,h),g,A;if((i!=="mouseup"||!p)&&(g=this.findHover(u,h),A=g.target),i==="mousedown")this._downEl=A,this._downPoint=[l.zrX,l.zrY],this._upEl=A;else if(i==="mouseup")this._upEl=A;else if(i==="click"){if(this._downEl!==this._upEl||!this._downPoint||x.dist(this._downPoint,[l.zrX,l.zrY])>4)return;this._downPoint=null}this.dispatchToElement(g,i,l)}});function e(i,l,u){if(i[i.rectHover?"rectContain":"contain"](l,u)){for(var h=i,p;h;){if(h.clipPath&&!h.clipPath.contain(l,u))return!1;h.silent&&(p=!0),h=h.parent}return p?f:!0}return!1}function s(i,l,u){var h=i.painter;return l<0||l>h.getWidth()||u<0||u>h.getHeight()}O.mixin(n,v),O.mixin(n,T);var t=n;U.exports=t},"10cm":function(U,P,d){var O=d("ProS"),x=d("2B6p"),T=x.updateCenterAndZoom;d("0qV/");var v={type:"graphRoam",event:"graphRoam",update:"none"};O.registerAction(v,function(S,m){m.eachComponent({mainType:"series",query:S},function(f){var c=f.coordinateSystem,o=T(c,S);f.setCenter&&f.setCenter(o.center),f.setZoom&&f.setZoom(o.zoom)})})},"15/o":function(U,P,d){},"19Vz":function(U,P,d){(function(O){O(d("VrN/"))})(function(O){O.defineOption("placeholder","",function(c,o,r){var a=r&&r!=O.Init;if(o&&!a)c.on("blur",S),c.on("change",m),c.on("swapDoc",m),O.on(c.getInputField(),"compositionupdate",c.state.placeholderCompose=function(){v(c)}),m(c);else if(!o&&a){c.off("blur",S),c.off("change",m),c.off("swapDoc",m),O.off(c.getInputField(),"compositionupdate",c.state.placeholderCompose),x(c);var n=c.getWrapperElement();n.className=n.className.replace(" CodeMirror-empty","")}o&&!c.hasFocus()&&S(c)});function x(c){c.state.placeholder&&(c.state.placeholder.parentNode.removeChild(c.state.placeholder),c.state.placeholder=null)}function T(c){x(c);var o=c.state.placeholder=document.createElement("pre");o.style.cssText="height: 0; overflow: visible",o.style.direction=c.getOption("direction"),o.className="CodeMirror-placeholder CodeMirror-line-like";var r=c.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),o.appendChild(r),c.display.lineSpace.insertBefore(o,c.display.lineSpace.firstChild)}function v(c){setTimeout(function(){var o=!1,r=c.getInputField();r.nodeName=="TEXTAREA"?o=!r.value:c.lineCount()==1&&(o=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),o?T(c):x(c)},20)}function S(c){f(c)&&T(c)}function m(c){var o=c.getWrapperElement(),r=f(c);o.className=o.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?T(c):x(c)}function f(c){return c.lineCount()===1&&c.getLine(0)===""}})},"1Jh7":function(U,P,d){var O=d("y+Vt"),x=d("T6xi"),T=O.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(S,m){x.buildPath(S,m,!1)}});U.exports=T},"1LEl":function(U,P,d){var O=d("ProS"),x=d("F9bG"),T=O.extendComponentView({type:"axisPointer",render:function(S,m,f){var c=m.getComponent("tooltip"),o=S.get("triggerOn")||c&&c.get("triggerOn")||"mousemove|click";x.register("axisPointer",f,function(r,a,n){o!=="none"&&(r==="leave"||o.indexOf(r)>=0)&&n({type:"updateAxisPointer",currTrigger:r,x:a&&a.offsetX,y:a&&a.offsetY})})},remove:function(S,m){x.unregister(m.getZr(),"axisPointer"),T.superApply(this._model,"remove",arguments)},dispose:function(S,m){x.unregister("axisPointer",m),T.superApply(this._model,"dispose",arguments)}}),v=T;U.exports=v},"1MYJ":function(U,P,d){var O=d("y+Vt"),x=O.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var v=this.__dirtyPath,S=this.shape.paths,m=0;m=A||L<0)break;if(a(N)){if(I){L+=y;continue}break}if(L===p)u[y>0?"moveTo":"lineTo"](N[0],N[1]);else if(w>0){var R=h[_],B=b==="y"?1:0,M=(N[B]-R[B])*w;f(o,R),o[B]=R[B]+M,f(r,N),r[B]=N[B]-M,u.bezierCurveTo(o[0],o[1],r[0],r[1],N[0],N[1])}else u.lineTo(N[0],N[1]);_=L,L+=y}return D}function s(u,h,p,g,A,y,E,C,w,b,I){for(var _=0,L=p,D=0;D=A||L<0)break;if(a(N)){if(I){L+=y;continue}break}if(L===p)u[y>0?"moveTo":"lineTo"](N[0],N[1]),f(o,N);else if(w>0){var R=L+y,B=h[R];if(I)for(;B&&a(h[R]);)R+=y,B=h[R];var M=.5,H=h[_],B=h[R];if(!B||a(B))f(r,N);else{a(B)&&!I&&(B=N),x.sub(c,B,H);var F,K;if(b==="x"||b==="y"){var j=b==="x"?0:1;F=Math.abs(N[j]-H[j]),K=Math.abs(N[j]-B[j])}else F=x.dist(N,H),K=x.dist(N,B);M=K/(K+F),m(r,N,c,-w*(1-M))}v(o,o,C),S(o,o,E),v(r,r,C),S(r,r,E),u.bezierCurveTo(o[0],o[1],r[0],r[1],N[0],N[1]),m(o,N,c,w*M)}else u.lineTo(N[0],N[1]);_=L,L+=y}return D}function t(u,h){var p=[Infinity,Infinity],g=[-Infinity,-Infinity];if(h)for(var A=0;Ag[0]&&(g[0]=y[0]),y[1]>g[1]&&(g[1]=y[1])}return{min:h?p:g,max:h?g:p}}var i=O.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:T(O.prototype.brush),buildPath:function(u,h){var p=h.points,g=0,A=p.length,y=t(p,h.smoothConstraint);if(h.connectNulls){for(;A>0&&a(p[A-1]);A--);for(;g0&&a(p[y-1]);y--);for(;A=this._maxSize&&a>0){var e=c.head;c.remove(e),delete o[e.key],r=e.value,this._lastRemovedEntry=e}n?n.value=f:n=new x(f),n.key=m,c.insertEntry(n),o[m]=n}return r},v.get=function(m){var f=this._map[m],c=this._list;if(f!=null)return f!==c.tail&&(c.remove(f),c.insertEntry(f)),f.value},v.clear=function(){this._list.clear(),this._map={}};var S=T;U.exports=S},"1bdT":function(U,P,d){var O=d("3gBT"),x=d("H6uX"),T=d("DN4a"),v=d("vWvF"),S=d("bYtY"),m=function(o){T.call(this,o),x.call(this,o),v.call(this,o),this.id=o.id||O()};m.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":o=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=o,a[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,r){},attrKV:function(o,r){if(o==="position"||o==="scale"||o==="origin"){if(r){var a=this[o];a||(a=this[o]=[]),a[0]=r[0],a[1]=r[1]}}else this[o]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,r){if(typeof o=="string")this.attrKV(o,r);else if(S.isObject(o))for(var a in o)o.hasOwnProperty(a)&&this.attrKV(a,o[a]);return this.dirty(!1),this},setClipPath:function(o){var r=this.__zr;r&&o.addSelfToZr(r),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=r,o.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var o=this.clipPath;o&&(o.__zr&&o.removeSelfFromZr(o.__zr),o.__zr=null,o.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(o){this.__zr=o;var r=this.animators;if(r)for(var a=0;a> RFB.constructor"),Oe._screen=document.createElement("div"),Oe._screen.style.display="flex",Oe._screen.style.width="100%",Oe._screen.style.height="100%",Oe._screen.style.overflow="auto",Oe._screen.style.background=V,Oe._canvas=document.createElement("canvas"),Oe._canvas.style.margin="auto",Oe._canvas.style.outline="none",Oe._canvas.style.flexShrink="0",Oe._canvas.width=0,Oe._canvas.height=0,Oe._canvas.tabIndex=-1,Oe._screen.appendChild(Oe._canvas),Oe._cursor=new e.default,Oe._cursorImage=Me.cursors.none,Oe._decoders[u.encodings.encodingRaw]=new h.default,Oe._decoders[u.encodings.encodingCopyRect]=new p.default,Oe._decoders[u.encodings.encodingRRE]=new g.default,Oe._decoders[u.encodings.encodingHextile]=new A.default,Oe._decoders[u.encodings.encodingTight]=new y.default,Oe._decoders[u.encodings.encodingTightPNG]=new E.default;try{Oe._display=new c.default(Oe._canvas)}catch(Ye){throw x.Error("Display exception: "+Ye),Ye}return Oe._display.onflush=Oe._onFlush.bind(H(Oe)),Oe._keyboard=new a.default(Oe._canvas),Oe._keyboard.onkeyevent=Oe._handleKeyEvent.bind(H(Oe)),Oe._gestures=new n.default,Oe._sock=new s.default,Oe._sock.on("message",function(){Oe._handleMessage()}),Oe._sock.on("open",function(){Oe._rfbConnectionState==="connecting"&&Oe._rfbInitState===""?(Oe._rfbInitState="ProtocolVersion",x.Debug("Starting VNC handshake")):Oe._fail("Unexpected server connection while "+Oe._rfbConnectionState)}),Oe._sock.on("close",function(Ye){x.Debug("WebSocket on-close event");var it="";Ye.code&&(it="(code: "+Ye.code,Ye.reason&&(it+=", reason: "+Ye.reason),it+=")");switch(Oe._rfbConnectionState){case"connecting":Oe._fail("Connection closed "+it);break;case"connected":Oe._updateConnectionState("disconnecting"),Oe._updateConnectionState("disconnected");break;case"disconnecting":Oe._updateConnectionState("disconnected");break;case"disconnected":Oe._fail("Unexpected server disconnect when already disconnected "+it);break;default:Oe._fail("Unexpected server disconnect before connecting "+it);break}Oe._sock.off("close")}),Oe._sock.on("error",function(Ye){return x.Warn("WebSocket on-error event")}),setTimeout(Oe._updateConnectionState.bind(H(Oe),"connecting")),x.Debug("<< RFB.constructor"),Oe.dragViewport=!1,Oe.focusOnClick=!0,Oe._viewOnly=!1,Oe._clipViewport=!1,Oe._scaleViewport=!1,Oe._resizeSession=!1,Oe._showDotCursor=!1,pe.showDotCursor!==void 0&&(x.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Oe._showDotCursor=pe.showDotCursor),Oe._qualityLevel=6,Oe._compressionLevel=2,Oe}return D(Me,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(oe){this._rfbCredentials=oe,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;x.Info("Sending Ctrl-Alt-Del"),this.sendKey(i.default.XK_Control_L,"ControlLeft",!0),this.sendKey(i.default.XK_Alt_L,"AltLeft",!0),this.sendKey(i.default.XK_Delete,"Delete",!0),this.sendKey(i.default.XK_Delete,"Delete",!1),this.sendKey(i.default.XK_Alt_L,"AltLeft",!1),this.sendKey(i.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(oe,pe,Oe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Oe===void 0){this.sendKey(oe,pe,!0),this.sendKey(oe,pe,!1);return}var Ye=l.default[pe];if(this._qemuExtKeyEventSupported&&Ye)oe=oe||0,x.Info("Sending key ("+(Oe?"down":"up")+"): keysym "+oe+", scancode "+Ye),Me.messages.QEMUExtendedKeyEvent(this._sock,oe,Oe,Ye);else{if(!oe)return;x.Info("Sending keysym ("+(Oe?"down":"up")+"): "+oe),Me.messages.keyEvent(this._sock,oe,Oe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(oe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Le]&&this._clipboardServerCapabilitiesActions[G])this._clipboardText=oe,Me.messages.extendedClipboardNotify(this._sock,[Le]);else{for(var pe=new Uint8Array(oe.length),Oe=0;Oe> RFB.connect"),x.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(oe){oe.name==="SyntaxError"?this._fail("Invalid host or port ("+oe+")"):this._fail("Error when opening socket ("+oe+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),x.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){x.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(oe){if(!(oe.name==="NotFoundError"))throw oe}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),x.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(oe){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(oe){this._fbName=oe,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(oe){var pe=this;window.requestAnimationFrame(function(){pe._updateClip(),pe._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var oe=this._display.clipViewport,pe=this._clipViewport;if(this._scaleViewport&&(pe=!1),oe!==pe&&(this._display.clipViewport=pe),pe){var Oe=this._screenSize();this._display.viewportChangeSize(Oe.w,Oe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var oe=this._screenSize();this._display.autoscale(oe.w,oe.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var oe=this._screenSize();Me.messages.setDesktopSize(this._sock,Math.floor(oe.w),Math.floor(oe.h),this._screenID,this._screenFlags),x.Debug("Requested new desktop size: "+oe.w+"x"+oe.h)}},{key:"_screenSize",value:function(){var oe=this._screen.getBoundingClientRect();return{w:oe.width,h:oe.height}}},{key:"_fixScrollbars",value:function(){var oe=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=oe}},{key:"_updateConnectionState",value:function(oe){var pe=this,Oe=this._rfbConnectionState;if(oe===Oe){x.Debug("Already in state '"+oe+"', ignoring");return}if(Oe==="disconnected"){x.Error("Tried changing state of a disconnected RFB object");return}switch(oe){case"connected":if(Oe!=="connecting"){x.Error("Bad transition to connected state, previous connection state: "+Oe);return}break;case"disconnected":if(Oe!=="disconnecting"){x.Error("Bad transition to disconnected state, previous connection state: "+Oe);return}break;case"connecting":if(Oe!==""){x.Error("Bad transition to connecting state, previous connection state: "+Oe);return}break;case"disconnecting":if(Oe!=="connected"&&Oe!=="connecting"){x.Error("Bad transition to disconnecting state, previous connection state: "+Oe);return}break;default:x.Error("Unknown connection state: "+oe);return}this._rfbConnectionState=oe,x.Debug("New state '"+oe+"', was '"+Oe+"'."),this._disconnTimer&&oe!=="disconnecting"&&(x.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(oe){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){x.Error("Disconnection timed out."),pe._updateConnectionState("disconnected")},j*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(oe){switch(this._rfbConnectionState){case"disconnecting":x.Error("Failed when disconnecting: "+oe);break;case"connected":x.Error("Failed while connected: "+oe);break;case"connecting":x.Error("Failed when connecting: "+oe);break;default:x.Error("RFB failure: "+oe);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(oe,pe){this._capabilities[oe]=pe,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){x.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":x.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(oe,pe,Oe){this.sendKey(oe,pe,Oe)}},{key:"_handleMouse",value:function(oe){if(oe.type==="click"&&oe.target!==this._canvas)return;if(oe.stopPropagation(),oe.preventDefault(),oe.type==="click"||oe.type==="contextmenu")return;var pe=(0,S.clientToElement)(oe.clientX,oe.clientY,this._canvas);switch(oe.type){case"mousedown":(0,m.setCapture)(this._canvas),this._handleMouseButton(pe.x,pe.y,!0,1<v.dragThreshold||Math.abs(it)>v.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:oe,y:pe},this._display.viewportChangePos(Ye,it));return}if(this._mousePos={x:oe,y:pe},this._mouseMoveTimer==null){var et=Date.now()-this._mouseLastMoveTime;et>z?(this._sendMouse(oe,pe,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Oe._handleDelayedMouseMove()},z-et)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(oe,pe,Oe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Me.messages.pointerEvent(this._sock,this._display.absX(oe),this._display.absY(pe),Oe)}},{key:"_handleWheel",value:function(oe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;oe.stopPropagation(),oe.preventDefault();var pe=(0,S.clientToElement)(oe.clientX,oe.clientY,this._canvas),Oe=oe.deltaX,Ye=oe.deltaY;oe.deltaMode!==0&&(Oe*=ee,Ye*=ee),this._accumulatedWheelDeltaX+=Oe,this._accumulatedWheelDeltaY+=Ye,Math.abs(this._accumulatedWheelDeltaX)>=Y&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(pe.x,pe.y,!0,1<<5),this._handleMouseButton(pe.x,pe.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(pe.x,pe.y,!0,1<<6),this._handleMouseButton(pe.x,pe.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Y&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(pe.x,pe.y,!0,1<<3),this._handleMouseButton(pe.x,pe.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(pe.x,pe.y,!0,1<<4),this._handleMouseButton(pe.x,pe.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(oe,pe,Oe){this._handleMouseMove(pe,Oe),this._cursor.move(oe.detail.clientX,oe.detail.clientY)}},{key:"_handleTapEvent",value:function(oe,pe){var Oe=(0,S.clientToElement)(oe.detail.clientX,oe.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTimeie;)this._handleMouseButton(Oe.x,Oe.y,!0,8),this._handleMouseButton(Oe.x,Oe.y,!1,8),this._gestureLastMagnitudeY+=ie;for(;oe.detail.magnitudeY-this._gestureLastMagnitudeY<-ie;)this._handleMouseButton(Oe.x,Oe.y,!0,16),this._handleMouseButton(Oe.x,Oe.y,!1,16),this._gestureLastMagnitudeY-=ie;for(;oe.detail.magnitudeX-this._gestureLastMagnitudeX>ie;)this._handleMouseButton(Oe.x,Oe.y,!0,32),this._handleMouseButton(Oe.x,Oe.y,!1,32),this._gestureLastMagnitudeX+=ie;for(;oe.detail.magnitudeX-this._gestureLastMagnitudeX<-ie;)this._handleMouseButton(Oe.x,Oe.y,!0,64),this._handleMouseButton(Oe.x,Oe.y,!1,64),this._gestureLastMagnitudeX-=ie;break;case"pinch":if(this._fakeMouseMove(oe,Oe.x,Oe.y),pe=Math.hypot(oe.detail.magnitudeX,oe.detail.magnitudeY),Math.abs(pe-this._gestureLastMagnitudeX)>fe){for(this._handleKeyEvent(i.default.XK_Control_L,"ControlLeft",!0);pe-this._gestureLastMagnitudeX>fe;)this._handleMouseButton(Oe.x,Oe.y,!0,8),this._handleMouseButton(Oe.x,Oe.y,!1,8),this._gestureLastMagnitudeX+=fe;for(;pe-this._gestureLastMagnitudeX<-fe;)this._handleMouseButton(Oe.x,Oe.y,!0,16),this._handleMouseButton(Oe.x,Oe.y,!1,16),this._gestureLastMagnitudeX-=fe}this._handleKeyEvent(i.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(oe.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(oe,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!1,1);break;case"longpress":this._fakeMouseMove(oe,Oe.x,Oe.y),this._handleMouseButton(Oe.x,Oe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var oe=this._sock.rQshiftStr(12).substr(4,7);x.Info("Server ProtocolVersion: "+oe);var pe=0;switch(oe){case"000.000":pe=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+oe)}if(pe){for(var Oe="ID:"+this._repeaterID;Oe.length<250;)Oe+="\0";return this._sock.sendString(Oe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ye="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ye+` `),x.Debug("Sent ProtocolVersion: "+Ye),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function oe(Ye,it){for(var et=0;et=3.7){var pe=this._sock.rQshift8();if(this._sock.rQwait("security type",pe,1))return!1;if(pe===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Oe=this._sock.rQshiftBytes(pe);if(x.Debug("Server security types: "+Oe),oe(1,Oe))this._rfbAuthScheme=1;else if(oe(22,Oe))this._rfbAuthScheme=22;else if(oe(16,Oe))this._rfbAuthScheme=16;else if(oe(2,Oe))this._rfbAuthScheme=2;else if(oe(19,Oe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Oe+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",x.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var oe=this._sock.rQshift32(),pe="";if(oe>0){if(this._sock.rQwait("reason",oe,4))return!1;pe=this._sock.rQshiftStr(oe)}return pe!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:pe}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+pe+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var oe=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(oe),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var oe=this._sock.rQshift8(),pe=this._sock.rQshift8();if(!(oe==0&&pe==2))return this._fail("Unsupported VeNCrypt version "+oe+"."+pe);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Oe=this._sock.rQshift8();if(Oe!=0)return this._fail("VeNCrypt failure "+Oe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ye=this._sock.rQshift8();if(Ye<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ye,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var it=[],et=0;et0&&this._sock.rQwait("tunnel capabilities",16*oe,4))return!1;if(this._rfbTightVNC=!0,oe>0)return this._negotiateTightTunnels(oe),!1}if(this._sock.rQwait("sub auth count",4))return!1;var pe=this._sock.rQshift32();if(pe===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*pe,4))return!1;for(var Oe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ye=[],it=0;it=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var oe=this._sock.rQshift32();return oe===0?(this._rfbInitState="ClientInitialisation",x.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=oe,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:oe}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var oe=this._sock.rQshift16(),pe=this._sock.rQshift16(),Oe=this._sock.rQshift8(),Ye=this._sock.rQshift8(),it=this._sock.rQshift8(),et=this._sock.rQshift8(),Te=this._sock.rQshift16(),tt=this._sock.rQshift16(),ze=this._sock.rQshift16(),dt=this._sock.rQshift8(),Ot=this._sock.rQshift8(),Tt=this._sock.rQshift8();this._sock.rQskipBytes(3);var Ct=this._sock.rQshift32();if(this._sock.rQwait("server init name",Ct,24))return!1;var Nt=this._sock.rQshiftStr(Ct);if(Nt=(0,T.decodeUTF8)(Nt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Ct))return!1;var Be=this._sock.rQshift16(),$=this._sock.rQshift16(),Z=this._sock.rQshift16();this._sock.rQskipBytes(2);var Re=(Be+$+Z)*16;if(this._sock.rQwait("TightVNC extended server init header",Re,32+Ct))return!1;this._sock.rQskipBytes(16*Be),this._sock.rQskipBytes(16*$),this._sock.rQskipBytes(16*Z)}return x.Info("Screen: "+oe+"x"+pe+", bpp: "+Oe+", depth: "+Ye+", bigEndian: "+it+", trueColor: "+et+", redMax: "+Te+", greenMax: "+tt+", blueMax: "+ze+", redShift: "+dt+", greenShift: "+Ot+", blueShift: "+Tt),this._setDesktopName(Nt),this._resize(oe,pe),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(x.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Me.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Me.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var oe=[];oe.push(u.encodings.encodingCopyRect),this._fbDepth==24&&(oe.push(u.encodings.encodingTight),oe.push(u.encodings.encodingTightPNG),oe.push(u.encodings.encodingHextile),oe.push(u.encodings.encodingRRE)),oe.push(u.encodings.encodingRaw),oe.push(u.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),oe.push(u.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),oe.push(u.encodings.pseudoEncodingDesktopSize),oe.push(u.encodings.pseudoEncodingLastRect),oe.push(u.encodings.pseudoEncodingQEMUExtendedKeyEvent),oe.push(u.encodings.pseudoEncodingExtendedDesktopSize),oe.push(u.encodings.pseudoEncodingXvp),oe.push(u.encodings.pseudoEncodingFence),oe.push(u.encodings.pseudoEncodingContinuousUpdates),oe.push(u.encodings.pseudoEncodingDesktopName),oe.push(u.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(oe.push(u.encodings.pseudoEncodingVMwareCursor),oe.push(u.encodings.pseudoEncodingCursor)),Me.messages.clientEncodings(this._sock,oe)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return x.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(x.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var oe=this._sock.rQshift32();if(oe=(0,O.toSigned32bit)(oe),this._sock.rQwait("ServerCutText content",Math.abs(oe),8))return!1;if(oe>=0){var pe=this._sock.rQshiftStr(oe);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:pe}}))}else{oe=Math.abs(oe);var Oe=this._sock.rQshift32(),Ye=Oe&65535,it=Oe&4278190080,et=!!(it&me);if(et){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Te=0;Te<=15;Te++){var tt=1<0&&Nt.charAt(Nt.length-1)==="\0"&&(Nt=Nt.slice(0,-1)),Nt=Nt.replace(`\r `,` `),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Nt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+it)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var oe=this._sock.rQshift32(),pe=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",pe,9))return!1;pe>64&&(x.Warn("Bad payload length ("+pe+") in fence response"),pe=64);var Oe=this._sock.rQshiftStr(pe);return this._supportsFence=!0,oe&1<<31?(oe&=1<<0|1<<1,Me.messages.clientFence(this._sock,oe,Oe),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var oe=this._sock.rQshift8(),pe=this._sock.rQshift8();switch(pe){case 0:x.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=oe,x.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+pe+")");break}return!0}},{key:"_normalMsg",value:function(){var oe;this._FBU.rects>0?oe=0:oe=this._sock.rQshift8();var pe,Oe;switch(oe){case 0:return Oe=this._framebufferUpdate(),Oe&&!this._enabledContinuousUpdates&&Me.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Oe;case 1:return this._handleSetColourMapMsg();case 2:return x.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return pe=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,pe&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),x.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+oe+")"),x.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var oe=this._sock.rQshiftBytes(12);this._FBU.x=(oe[0]<<8)+oe[1],this._FBU.y=(oe[2]<<8)+oe[3],this._FBU.width=(oe[4]<<8)+oe[5],this._FBU.height=(oe[6]<<8)+oe[7],this._FBU.encoding=parseInt((oe[8]<<24)+(oe[9]<<16)+(oe[10]<<8)+oe[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case u.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case u.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case u.encodings.pseudoEncodingCursor:return this._handleCursor();case u.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var oe=document.createEvent("keyboardEvent");oe.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(pe){}return!0;case u.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case u.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case u.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var oe=this._FBU.x,pe=this._FBU.y,Oe=this._FBU.width,Ye=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var it=this._sock.rQshift8();this._sock.rQshift8();var et,Te=4;if(it==0){var tt=4294967040|0;if(et=new Array(Oe*Ye*Te),this._sock.rQwait("VMware cursor classic encoding",Oe*Ye*Te*2,2))return!1;for(var ze=new Array(Oe*Ye),dt=0;dt>8&255,$=Nt>>16&255,Z=Nt>>24&255;et[Ct*Te]=Be,et[Ct*Te+1]=$,et[Ct*Te+2]=Z,et[Ct*Te+3]=255}else(ze[Ct]&tt)==tt?Ot[Ct]==0?(et[Ct*Te]=0,et[Ct*Te+1]=0,et[Ct*Te+2]=0,et[Ct*Te+3]=0):((Ot[Ct]&tt)==tt,et[Ct*Te]=0,et[Ct*Te+1]=0,et[Ct*Te+2]=0,et[Ct*Te+3]=255):(et[Ct*Te]=0,et[Ct*Te+1]=0,et[Ct*Te+2]=0,et[Ct*Te+3]=255)}else if(it==1){if(this._sock.rQwait("VMware cursor alpha encoding",Oe*Ye*4,2))return!1;et=new Array(Oe*Ye*Te);for(var Re=0;Re>24&255,et[Re*4+1]=De>>16&255,et[Re*4+2]=De>>8&255,et[Re*4+3]=De&255}}else return x.Warn("The given cursor type is not supported: "+it+" given."),!1;return this._updateCursor(et,oe,pe,Oe,Ye),!0}},{key:"_handleCursor",value:function(){var oe=this._FBU.x,pe=this._FBU.y,Oe=this._FBU.width,Ye=this._FBU.height,it=Oe*Ye*4,et=Math.ceil(Oe/8)*Ye,Te=it+et;if(this._sock.rQwait("cursor encoding",Te))return!1;for(var tt=this._sock.rQshiftBytes(it),ze=this._sock.rQshiftBytes(et),dt=new Uint8Array(Oe*Ye*4),Ot=0,Tt=0;Tt9){x.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===oe)return;this._qualityLevel=oe,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(oe){if(!Number.isInteger(oe)||oe<0||oe>9){x.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===oe)return;this._compressionLevel=oe,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(oe,pe){var Oe=oe.split("").map(function(Ye){return Ye.charCodeAt(0)});return new t.default(Oe).encrypt(pe)}}]),Me}(f.default);P.default=J,J.messages={keyEvent:function(he,Me,Ie){var oe=he._sQ,pe=he._sQlen;oe[pe]=4,oe[pe+1]=Ie,oe[pe+2]=0,oe[pe+3]=0,oe[pe+4]=Me>>24,oe[pe+5]=Me>>16,oe[pe+6]=Me>>8,oe[pe+7]=Me,he._sQlen+=8,he.flush()},QEMUExtendedKeyEvent:function(he,Me,Ie,oe){function pe(et){var Te=oe>>8,tt=oe&255;return Te===224&&tt<127?tt|128:et}var Oe=he._sQ,Ye=he._sQlen;Oe[Ye]=255,Oe[Ye+1]=0,Oe[Ye+2]=Ie>>8,Oe[Ye+3]=Ie,Oe[Ye+4]=Me>>24,Oe[Ye+5]=Me>>16,Oe[Ye+6]=Me>>8,Oe[Ye+7]=Me;var it=pe(oe);Oe[Ye+8]=it>>24,Oe[Ye+9]=it>>16,Oe[Ye+10]=it>>8,Oe[Ye+11]=it,he._sQlen+=12,he.flush()},pointerEvent:function(he,Me,Ie,oe){var pe=he._sQ,Oe=he._sQlen;pe[Oe]=5,pe[Oe+1]=oe,pe[Oe+2]=Me>>8,pe[Oe+3]=Me,pe[Oe+4]=Ie>>8,pe[Oe+5]=Ie,he._sQlen+=6,he.flush()},_buildExtendedClipboardFlags:function(he,Me){for(var Ie=new Uint8Array(4),oe=0,pe=0,Oe=0;Oe>24,Ie[1]=0,Ie[2]=0,Ie[3]=oe,Ie},extendedClipboardProvide:function(he,Me,Ie){for(var oe=new r.default,pe=[],Oe=0;Oe>24&255,Ye.length>>16&255,Ye.length>>8&255,Ye.length&255);for(var it=0;it>24,pe[Oe+1]=Ie[oe[Ye]]>>16,pe[Oe+2]=Ie[oe[Ye]]>>8,pe[Oe+3]=Ie[oe[Ye]]>>0,Oe+=4,pe[3]|=1<2&&arguments[2]!==void 0?arguments[2]:!1,oe=he._sQ,pe=he._sQlen;oe[pe]=6,oe[pe+1]=0,oe[pe+2]=0,oe[pe+3]=0;var Oe;Ie?Oe=(0,O.toUnsigned32bit)(-Me.length):Oe=Me.length,oe[pe+4]=Oe>>24,oe[pe+5]=Oe>>16,oe[pe+6]=Oe>>8,oe[pe+7]=Oe,he._sQlen+=8;for(var Ye=0,it=Me.length;it>0;){for(var et=Math.min(it,he._sQbufferSize-he._sQlen),Te=0;Te>8,Oe[Ye+3]=Me,Oe[Ye+4]=Ie>>8,Oe[Ye+5]=Ie,Oe[Ye+6]=1,Oe[Ye+7]=0,Oe[Ye+8]=oe>>24,Oe[Ye+9]=oe>>16,Oe[Ye+10]=oe>>8,Oe[Ye+11]=oe,Oe[Ye+12]=0,Oe[Ye+13]=0,Oe[Ye+14]=0,Oe[Ye+15]=0,Oe[Ye+16]=Me>>8,Oe[Ye+17]=Me,Oe[Ye+18]=Ie>>8,Oe[Ye+19]=Ie,Oe[Ye+20]=pe>>24,Oe[Ye+21]=pe>>16,Oe[Ye+22]=pe>>8,Oe[Ye+23]=pe,he._sQlen+=24,he.flush()},clientFence:function(he,Me,Ie){var oe=he._sQ,pe=he._sQlen;oe[pe]=248,oe[pe+1]=0,oe[pe+2]=0,oe[pe+3]=0,oe[pe+4]=Me>>24,oe[pe+5]=Me>>16,oe[pe+6]=Me>>8,oe[pe+7]=Me;var Oe=Ie.length;oe[pe+8]=Oe;for(var Ye=0;Ye>8,Ye[it+3]=Ie,Ye[it+4]=oe>>8,Ye[it+5]=oe,Ye[it+6]=pe>>8,Ye[it+7]=pe,Ye[it+8]=Oe>>8,Ye[it+9]=Oe,he._sQlen+=10,he.flush()},pixelFormat:function(he,Me,Ie){var oe=he._sQ,pe=he._sQlen,Oe;Me>16?Oe=32:Me>8?Oe=16:Oe=8;var Ye=Math.floor(Me/3);oe[pe]=0,oe[pe+1]=0,oe[pe+2]=0,oe[pe+3]=0,oe[pe+4]=Oe,oe[pe+5]=Me,oe[pe+6]=0,oe[pe+7]=Ie?1:0,oe[pe+8]=0,oe[pe+9]=(1<>8,Ie[oe+3]=Me.length;for(var pe=oe+4,Oe=0;Oe>24,Ie[pe+1]=Ye>>16,Ie[pe+2]=Ye>>8,Ie[pe+3]=Ye,pe+=4}he._sQlen+=pe-oe,he.flush()},fbUpdateRequest:function(he,Me,Ie,oe,pe,Oe){var Ye=he._sQ,it=he._sQlen;typeof Ie=="undefined"&&(Ie=0),typeof oe=="undefined"&&(oe=0),Ye[it]=3,Ye[it+1]=Me?1:0,Ye[it+2]=Ie>>8&255,Ye[it+3]=Ie&255,Ye[it+4]=oe>>8&255,Ye[it+5]=oe&255,Ye[it+6]=pe>>8&255,Ye[it+7]=pe&255,Ye[it+8]=Oe>>8&255,Ye[it+9]=Oe&255,he._sQlen+=10,he.flush()},xvpOp:function(he,Me,Ie){var oe=he._sQ,pe=he._sQlen;oe[pe]=250,oe[pe+1]=0,oe[pe+2]=Me,oe[pe+3]=Ie,he._sQlen+=4,he.flush()}},J.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(U,P,d){(function(O){O(d("VrN/"))})(function(O){"use strict";var x={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},T={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};O.defineMode("xml",function(v,S){var m=v.indentUnit,f={},c=S.htmlMode?x:T;for(var o in c)f[o]=c[o];for(var o in S)f[o]=S[o];var r,a;function n(_,L){function D(B){return L.tokenize=B,B(_,L)}var N=_.next();if(N=="<")return _.eat("!")?_.eat("[")?_.match("CDATA[")?D(t("atom","]]>")):null:_.match("--")?D(t("comment","-->")):_.match("DOCTYPE",!0,!0)?(_.eatWhile(/[\w\._\-]/),D(i(1))):null:_.eat("?")?(_.eatWhile(/[\w\._\-]/),L.tokenize=t("meta","?>"),"meta"):(r=_.eat("/")?"closeTag":"openTag",L.tokenize=e,"tag bracket");if(N=="&"){var R;return _.eat("#")?_.eat("x")?R=_.eatWhile(/[a-fA-F\d]/)&&_.eat(";"):R=_.eatWhile(/[\d]/)&&_.eat(";"):R=_.eatWhile(/[\w\.\-:]/)&&_.eat(";"),R?"atom":"error"}else return _.eatWhile(/[^&<]/),null}n.isInText=!0;function e(_,L){var D=_.next();if(D==">"||D=="/"&&_.eat(">"))return L.tokenize=n,r=D==">"?"endTag":"selfcloseTag","tag bracket";if(D=="=")return r="equals",null;if(D=="<"){L.tokenize=n,L.state=p,L.tagName=L.tagStart=null;var N=L.tokenize(_,L);return N?N+" tag error":"tag error"}else return/[\'\"]/.test(D)?(L.tokenize=s(D),L.stringStartCol=_.column(),L.tokenize(_,L)):(_.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(_){var L=function(N,R){for(;!N.eol();)if(N.next()==_){R.tokenize=e;break}return"string"};return L.isInAttribute=!0,L}function t(_,L){return function(D,N){for(;!D.eol();){if(D.match(L)){N.tokenize=n;break}D.next()}return _}}function i(_){return function(L,D){for(var N;(N=L.next())!=null;){if(N=="<")return D.tokenize=i(_+1),D.tokenize(L,D);if(N==">")if(_==1){D.tokenize=n;break}else return D.tokenize=i(_-1),D.tokenize(L,D)}return"meta"}}function l(_,L,D){this.prev=_.context,this.tagName=L,this.indent=_.indented,this.startOfLine=D,(f.doNotIndent.hasOwnProperty(L)||_.context&&_.context.noIndent)&&(this.noIndent=!0)}function u(_){_.context&&(_.context=_.context.prev)}function h(_,L){for(var D;;){if(!_.context)return;if(D=_.context.tagName,!f.contextGrabbers.hasOwnProperty(D)||!f.contextGrabbers[D].hasOwnProperty(L))return;u(_)}}function p(_,L,D){return _=="openTag"?(D.tagStart=L.column(),g):_=="closeTag"?A:p}function g(_,L,D){return _=="word"?(D.tagName=L.current(),a="tag",C):f.allowMissingTagName&&_=="endTag"?(a="tag bracket",C(_,L,D)):(a="error",g)}function A(_,L,D){if(_=="word"){var N=L.current();return D.context&&D.context.tagName!=N&&f.implicitlyClosed.hasOwnProperty(D.context.tagName)&&u(D),D.context&&D.context.tagName==N||f.matchClosing===!1?(a="tag",y):(a="tag error",E)}else return f.allowMissingTagName&&_=="endTag"?(a="tag bracket",y(_,L,D)):(a="error",E)}function y(_,L,D){return _!="endTag"?(a="error",y):(u(D),p)}function E(_,L,D){return a="error",y(_,L,D)}function C(_,L,D){if(_=="word")return a="attribute",w;if(_=="endTag"||_=="selfcloseTag"){var N=D.tagName,R=D.tagStart;return D.tagName=D.tagStart=null,_=="selfcloseTag"||f.autoSelfClosers.hasOwnProperty(N)?h(D,N):(h(D,N),D.context=new l(D,N,R==D.indented)),p}return a="error",C}function w(_,L,D){return _=="equals"?b:(f.allowMissing||(a="error"),C(_,L,D))}function b(_,L,D){return _=="string"?I:_=="word"&&f.allowUnquoted?(a="string",C):(a="error",C(_,L,D))}function I(_,L,D){return _=="string"?I:C(_,L,D)}return{startState:function(L){var D={tokenize:n,state:p,indented:L||0,tagName:null,tagStart:null,context:null};return L!=null&&(D.baseIndent=L),D},token:function(L,D){if(!D.tagName&&L.sol()&&(D.indented=L.indentation()),L.eatSpace())return null;r=null;var N=D.tokenize(L,D);return(N||r)&&N!="comment"&&(a=null,D.state=D.state(r||N,L,D),a&&(N=a=="error"?N+" error":a)),N},indent:function(L,D,N){var R=L.context;if(L.tokenize.isInAttribute)return L.tagStart==L.indented?L.stringStartCol+1:L.indented+m;if(R&&R.noIndent)return O.Pass;if(L.tokenize!=e&&L.tokenize!=n)return N?N.match(/^(\s*)/)[0].length:0;if(L.tagName)return f.multilineTagIndentPastTag!==!1?L.tagStart+L.tagName.length+2:L.tagStart+m*(f.multilineTagIndentFactor||1);if(f.alignCDATA&&/$/,blockCommentStart:"",configuration:f.htmlMode?"html":"xml",helperType:f.htmlMode?"html":"xml",skipAttribute:function(L){L.state==b&&(L.state=C)},xmlCurrentTag:function(L){return L.tagName?{name:L.tagName,close:L.type=="closeTag"}:null},xmlCurrentContext:function(L){for(var D=[],N=L.context;N;N=N.prev)N.tagName&&D.push(N.tagName);return D.reverse()}}}),O.defineMIME("text/xml","xml"),O.defineMIME("application/xml","xml"),O.mimeModes.hasOwnProperty("text/html")||O.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(U,P,d){(function(O,x){/*! * html2pdf.js v0.10.1 * Copyright (c) 2021 Erik Koopmans * Released under the MIT License. */(function(v,S){U.exports=S(d("dtIV"),d("wOnQ"))})(self,function(T,v){return function(){var S={"./src/plugin/hyperlinks.js":function(r,a,n){"use strict";n.r(a);var e=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.string.link.js"),i=n.n(t),l=n("./src/worker.js"),u=n("./src/utils.js"),h=[],p={toContainer:l.default.prototype.toContainer,toPdf:l.default.prototype.toPdf};l.default.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){if(this.opt.enableLinks){var y=this.prop.container,E=y.querySelectorAll("a"),C=(0,u.unitConvert)(y.getBoundingClientRect(),this.prop.pageSize.k);h=[],Array.prototype.forEach.call(E,function(w){for(var b=w.getClientRects(),I=0;IF){var j=K;K=F,F=j}}else if(L==="l"||L==="landscape"){if(L="l",F>K){var j=K;K=F,F=j}}else throw"Invalid orientation: "+L;var V={width:K,height:F,unit:D,k:H};return V},a.default=b.jsPDF},"./src/plugin/pagebreaks.js":function(r,a,n){"use strict";n.r(a);var e=n("./node_modules/core-js/modules/es.array.concat.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.array.slice.js"),i=n.n(t),l=n("./node_modules/core-js/modules/es.array.join.js"),u=n.n(l),h=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),p=n.n(h),g=n("./node_modules/core-js/modules/es.object.keys.js"),A=n.n(g),y=n("./src/worker.js"),E=n("./src/utils.js"),C={toContainer:y.default.prototype.toContainer};y.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},y.default.prototype.toContainer=function(){return C.toContainer.call(this).then(function(){var I=this.prop.container,_=this.prop.pageSize.inner.px.height,L=[].concat(this.opt.pagebreak.mode),D={avoidAll:L.indexOf("avoid-all")!==-1,css:L.indexOf("css")!==-1,legacy:L.indexOf("legacy")!==-1},N={},R=this;["before","after","avoid"].forEach(function(H){var F=D.avoidAll&&H==="avoid";N[H]=F?[]:[].concat(R.opt.pagebreak[H]||[]),N[H].length>0&&(N[H]=Array.prototype.slice.call(I.querySelectorAll(N[H].join(", "))))});var B=I.querySelectorAll(".html2pdf__page-break");B=Array.prototype.slice.call(B);var M=I.querySelectorAll("*");Array.prototype.forEach.call(M,function(F){var K={before:!1,after:D.legacy&&B.indexOf(F)!==-1,avoid:D.avoidAll};if(D.css){var j=window.getComputedStyle(F),V=["always","page","left","right"],z=["avoid","avoid-page"];K={before:K.before||V.indexOf(j.breakBefore||j.pageBreakBefore)!==-1,after:K.after||V.indexOf(j.breakAfter||j.pageBreakAfter)!==-1,avoid:K.avoid||z.indexOf(j.breakInside||j.pageBreakInside)!==-1}}Object.keys(K).forEach(function(Ce){K[Ce]=K[Ce]||N[Ce].indexOf(F)!==-1});var Y=F.getBoundingClientRect();if(K.avoid&&!K.before){var ee=Math.floor(Y.top/_),fe=Math.floor(Y.bottom/_),ie=Math.abs(Y.bottom-Y.top)/_;fe!==ee&&ie<=1&&(K.before=!0)}if(K.before){var we=(0,E.createElement)("div",{style:{display:"block",height:_-Y.top%_+"px"}});F.parentNode.insertBefore(we,F)}if(K.after){var we=(0,E.createElement)("div",{style:{display:"block",height:_-Y.bottom%_+"px"}});F.parentNode.insertBefore(we,F.nextSibling)}})})}},"./src/utils.js":function(r,a,n){"use strict";n.r(a),n.d(a,{objType:function(){return L},createElement:function(){return D},cloneNode:function(){return N},unitConvert:function(){return R},toPx:function(){return B}});var e=n("./node_modules/core-js/modules/es.number.constructor.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.symbol.js"),i=n.n(t),l=n("./node_modules/core-js/modules/es.symbol.description.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.object.to-string.js"),p=n.n(h),g=n("./node_modules/core-js/modules/es.symbol.iterator.js"),A=n.n(g),y=n("./node_modules/core-js/modules/es.array.iterator.js"),E=n.n(y),C=n("./node_modules/core-js/modules/es.string.iterator.js"),w=n.n(C),b=n("./node_modules/core-js/modules/web.dom-collections.iterator.js"),I=n.n(b);function _(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(F){return typeof F}:_=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_(M)}var L=function(H){var F=_(H);return F==="undefined"?"undefined":F==="string"||H instanceof String?"string":F==="number"||H instanceof Number?"number":F==="function"||H instanceof Function?"function":!!H&&H.constructor===Array?"array":H&&H.nodeType===1?"element":F==="object"?"object":"unknown"},D=function(H,F){var K=document.createElement(H);if(F.className&&(K.className=F.className),F.innerHTML){K.innerHTML=F.innerHTML;for(var j=K.getElementsByTagName("script"),V=j.length;V-- >0;null)j[V].parentNode.removeChild(j[V])}for(var z in F.style)K.style[z]=F.style[z];return K},N=function M(H,F){for(var K=H.nodeType===3?document.createTextNode(H.nodeValue):H.cloneNode(!1),j=H.firstChild;j;j=j.nextSibling)(F===!0||j.nodeType!==1||j.nodeName!=="SCRIPT")&&K.appendChild(M(j,F));return H.nodeType===1&&(H.nodeName==="CANVAS"?(K.width=H.width,K.height=H.height,K.getContext("2d").drawImage(H,0,0)):(H.nodeName==="TEXTAREA"||H.nodeName==="SELECT")&&(K.value=H.value),K.addEventListener("load",function(){K.scrollTop=H.scrollTop,K.scrollLeft=H.scrollLeft},!0)),K},R=function(H,F){if(L(H)==="number")return H*72/96/F;var K={};for(var j in H)K[j]=H[j]*72/96/F;return K},B=function(H,F){return Math.floor(H*F/72*96)}},"./src/worker.js":function(r,a,n){"use strict";n.r(a);var e=n("./node_modules/core-js/modules/es.object.assign.js"),s=n.n(e),t=n("./node_modules/core-js/modules/es.array.map.js"),i=n.n(t),l=n("./node_modules/core-js/modules/es.object.keys.js"),u=n.n(l),h=n("./node_modules/core-js/modules/es.array.concat.js"),p=n.n(h),g=n("./node_modules/core-js/modules/es.object.to-string.js"),A=n.n(g),y=n("./node_modules/core-js/modules/es.regexp.to-string.js"),E=n.n(y),C=n("./node_modules/core-js/modules/es.function.name.js"),w=n.n(C),b=n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),I=n.n(b),_=n("jspdf"),L=n.n(_),D=n("html2canvas"),N=n.n(D),R=n("./src/utils.js"),B=n("./node_modules/es6-promise/dist/es6-promise.js"),M=n.n(B),H=M().Promise,F=function K(j){var V=Object.assign(K.convert(H.resolve()),JSON.parse(JSON.stringify(K.template))),z=K.convert(H.resolve(),V);return z=z.setProgress(1,K,1,[K]),z=z.set(j),z};F.prototype=Object.create(H.prototype),F.prototype.constructor=F,F.convert=function(j,V){return j.__proto__=V||F.prototype,j},F.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},F.prototype.from=function(j,V){function z(Y){switch((0,R.objType)(Y)){case"string":return"string";case"element":return Y.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){V=V||z(j);switch(V){case"string":return this.set({src:(0,R.createElement)("div",{innerHTML:j})});case"element":return this.set({src:j});case"canvas":return this.set({canvas:j});case"img":return this.set({img:j});default:return this.error("Unknown source type.")}})},F.prototype.to=function(j){switch(j){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},F.prototype.toContainer=function(){var j=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(j).then(function(){var z={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Y={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};z.opacity=0;var ee=(0,R.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,R.createElement)("div",{className:"html2pdf__overlay",style:z}),this.prop.container=(0,R.createElement)("div",{className:"html2pdf__container",style:Y}),this.prop.container.appendChild(ee),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},F.prototype.toCanvas=function(){var j=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(j).then(function(){var z=Object.assign({},this.opt.html2canvas);return delete z.onrendered,D(this.prop.container,z)}).then(function(z){var Y=this.opt.html2canvas.onrendered||function(){};Y(z),this.prop.canvas=z,document.body.removeChild(this.prop.overlay)})},F.prototype.toImg=function(){var j=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(j).then(function(){var z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=z})},F.prototype.toPdf=function(){var j=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(j).then(function(){var z=this.prop.canvas,Y=this.opt,ee=z.height,fe=Math.floor(z.width*this.prop.pageSize.inner.ratio),ie=Math.ceil(ee/fe),we=this.prop.pageSize.inner.height,Ce=document.createElement("canvas"),Le=Ce.getContext("2d");Ce.width=z.width,Ce.height=fe,this.prop.pdf=this.prop.pdf||new _.jsPDF(Y.jsPDF);for(var He=0;He1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/to-length.js"),t=n("./node_modules/core-js/internals/to-absolute-index.js"),i=function(u){return function(h,p,g){var A=e(h),y=s(A.length),E=t(g,y),C;if(u&&p!=p){for(;y>E;)if(C=A[E++],C!=C)return!0}else for(;y>E;E++)if((u||E in A)&&A[E]===p)return u||E||0;return!u&&-1}};r.exports={includes:i(!0),indexOf:i(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(r,a,n){var e=n("./node_modules/core-js/internals/function-bind-context.js"),s=n("./node_modules/core-js/internals/indexed-object.js"),t=n("./node_modules/core-js/internals/to-object.js"),i=n("./node_modules/core-js/internals/to-length.js"),l=n("./node_modules/core-js/internals/array-species-create.js"),u=[].push,h=function(g){var A=g==1,y=g==2,E=g==3,C=g==4,w=g==6,b=g==7,I=g==5||w;return function(_,L,D,N){for(var R=t(_),B=s(R),M=e(L,D,3),H=i(B.length),F=0,K=N||l,j=A?K(_,H):y||b?K(_,0):void 0,V,z;H>F;F++)if((I||F in B)&&(V=B[F],z=M(V,F,R),g))if(A)j[F]=z;else if(z)switch(g){case 3:return!0;case 5:return V;case 6:return F;case 2:u.call(j,V)}else switch(g){case 4:return!1;case 7:u.call(j,V)}return w?-1:E||C?C:j}};r.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(r,a,n){var e=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),t=n("./node_modules/core-js/internals/engine-v8-version.js"),i=s("species");r.exports=function(l){return t>=51||!e(function(){var u=[],h=u.constructor={};return h[i]=function(){return{foo:1}},u[l](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/fails.js");r.exports=function(s,t){var i=[][s];return!!i&&e(function(){i.call(null,t||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(r,a,n){var e=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/is-array.js"),t=n("./node_modules/core-js/internals/well-known-symbol.js"),i=t("species");r.exports=function(l){var u;return s(l)&&(u=l.constructor,typeof u=="function"&&(u===Array||s(u.prototype))?u=void 0:e(u)&&(u=u[i],u===null&&(u=void 0))),u===void 0?Array:u}},"./node_modules/core-js/internals/array-species-create.js":function(r,a,n){var e=n("./node_modules/core-js/internals/array-species-constructor.js");r.exports=function(s,t){return new(e(s))(t===0?0:t)}},"./node_modules/core-js/internals/classof-raw.js":function(r){var a={}.toString;r.exports=function(n){return a.call(n).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/classof-raw.js"),t=n("./node_modules/core-js/internals/well-known-symbol.js"),i=t("toStringTag"),l=s(function(){return arguments}())=="Arguments",u=function(p,g){try{return p[g]}catch(A){}};r.exports=e?s:function(h){var p,g,A;return h===void 0?"Undefined":h===null?"Null":typeof(g=u(p=Object(h),i))=="string"?g:l?s(p):(A=s(p))=="Object"&&typeof p.callee=="function"?"Arguments":A}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(r,a,n){var e=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/own-keys.js"),t=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=n("./node_modules/core-js/internals/object-define-property.js");r.exports=function(l,u){for(var h=s(u),p=i.f,g=t.f,A=0;A"+p+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,s=n("./node_modules/core-js/internals/object-create.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js"),i=n("./node_modules/core-js/internals/set-to-string-tag.js"),l=n("./node_modules/core-js/internals/iterators.js"),u=function(){return this};r.exports=function(h,p,g){var A=p+" Iterator";return h.prototype=s(e,{next:t(1,g)}),i(h,A,!1,!0),l[A]=u,h}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(r,a,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=e?function(i,l,u){return s.f(i,l,t(1,u))}:function(i,l,u){return i[l]=u,i}},"./node_modules/core-js/internals/create-property-descriptor.js":function(r){r.exports=function(a,n){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:n}}},"./node_modules/core-js/internals/create-property.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/to-property-key.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=function(i,l,u){var h=e(l);h in i?s.f(i,h,t(0,u)):i[h]=u}},"./node_modules/core-js/internals/define-iterator.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/create-iterator-constructor.js"),t=n("./node_modules/core-js/internals/object-get-prototype-of.js"),i=n("./node_modules/core-js/internals/object-set-prototype-of.js"),l=n("./node_modules/core-js/internals/set-to-string-tag.js"),u=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),h=n("./node_modules/core-js/internals/redefine.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),g=n("./node_modules/core-js/internals/is-pure.js"),A=n("./node_modules/core-js/internals/iterators.js"),y=n("./node_modules/core-js/internals/iterators-core.js"),E=y.IteratorPrototype,C=y.BUGGY_SAFARI_ITERATORS,w=p("iterator"),b="keys",I="values",_="entries",L=function(){return this};r.exports=function(D,N,R,B,M,H,F){s(R,N,B);var K=function(He){if(He===M&&ee)return ee;if(!C&&He in z)return z[He];switch(He){case b:return function(){return new R(this,He)};case I:return function(){return new R(this,He)};case _:return function(){return new R(this,He)}}return function(){return new R(this)}},j=N+" Iterator",V=!1,z=D.prototype,Y=z[w]||z["@@iterator"]||M&&z[M],ee=!C&&Y||K(M),fe=N=="Array"&&z.entries||Y,ie,we,Ce;if(fe&&(ie=t(fe.call(new D)),E!==Object.prototype&&ie.next&&(!g&&t(ie)!==E&&(i?i(ie,E):typeof ie[w]!="function"&&u(ie,w,L)),l(ie,j,!0,!0),g&&(A[j]=L))),M==I&&Y&&Y.name!==I&&(V=!0,ee=function(){return Y.call(this)}),(!g||F)&&z[w]!==ee&&u(z,w,ee),A[N]=ee,M)if(we={values:K(I),keys:H?ee:K(b),entries:K(_)},F)for(Ce in we)(C||V||!(Ce in z))&&h(z,Ce,we[Ce]);else e({target:N,proto:!0,forced:C||V},we);return we}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(r,a,n){var e=n("./node_modules/core-js/internals/path.js"),s=n("./node_modules/core-js/internals/has.js"),t=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),i=n("./node_modules/core-js/internals/object-define-property.js").f;r.exports=function(l){var u=e.Symbol||(e.Symbol={});s(u,l)||i(u,l,{value:t.f(l)})}},"./node_modules/core-js/internals/descriptors.js":function(r,a,n){var e=n("./node_modules/core-js/internals/fails.js");r.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/is-object.js"),t=e.document,i=s(t)&&s(t.createElement);r.exports=function(l){return i?t.createElement(l):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(r){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(r,a,n){var e=n("./node_modules/core-js/internals/get-built-in.js");r.exports=e("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/engine-user-agent.js"),t=e.process,i=e.Deno,l=t&&t.versions||i&&i.version,u=l&&l.v8,h,p;u?(h=u.split("."),p=h[0]<4?1:h[0]+h[1]):s&&(h=s.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=s.match(/Chrome\/(\d+)/),h&&(p=h[1]))),r.exports=p&&+p},"./node_modules/core-js/internals/enum-bug-keys.js":function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,t=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=n("./node_modules/core-js/internals/redefine.js"),l=n("./node_modules/core-js/internals/set-global.js"),u=n("./node_modules/core-js/internals/copy-constructor-properties.js"),h=n("./node_modules/core-js/internals/is-forced.js");r.exports=function(p,g){var A=p.target,y=p.global,E=p.stat,C,w,b,I,_,L;if(y?w=e:E?w=e[A]||l(A,{}):w=(e[A]||{}).prototype,w)for(b in g){if(_=g[b],p.noTargetGet?(L=s(w,b),I=L&&L.value):I=w[b],C=h(y?b:A+(E?".":"#")+b,p.forced),!C&&I!==void 0){if(typeof _===typeof I)continue;u(_,I)}(p.sham||I&&I.sham)&&t(_,"sham",!0),i(w,b,_,p)}}},"./node_modules/core-js/internals/fails.js":function(r){r.exports=function(a){try{return!!a()}catch(n){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(r,a,n){var e=n("./node_modules/core-js/internals/a-function.js");r.exports=function(s,t,i){if(e(s),t===void 0)return s;switch(i){case 0:return function(){return s.call(t)};case 1:return function(l){return s.call(t,l)};case 2:return function(l,u){return s.call(t,l,u)};case 3:return function(l,u,h){return s.call(t,l,u,h)}}return function(){return s.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=function(i){return typeof i=="function"?i:void 0};r.exports=function(t,i){return arguments.length<2?s(e[t]):e[t]&&e[t][i]}},"./node_modules/core-js/internals/global.js":function(r){var a=function(e){return e&&e.Math==Math&&e};r.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof O=="object"&&O)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-object.js"),s={}.hasOwnProperty;r.exports=Object.hasOwn||function(i,l){return s.call(e(i),l)}},"./node_modules/core-js/internals/hidden-keys.js":function(r){r.exports={}},"./node_modules/core-js/internals/html.js":function(r,a,n){var e=n("./node_modules/core-js/internals/get-built-in.js");r.exports=e("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(r,a,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/fails.js"),t=n("./node_modules/core-js/internals/document-create-element.js");r.exports=!e&&!s(function(){return Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(r,a,n){var e=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/classof-raw.js"),t="".split;r.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(i){return s(i)=="String"?t.call(i,""):Object(i)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(r,a,n){var e=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/object-set-prototype-of.js");r.exports=function(t,i,l){var u,h;return s&&typeof(u=i.constructor)=="function"&&u!==l&&e(h=u.prototype)&&h!==l.prototype&&s(t,h),t}},"./node_modules/core-js/internals/inspect-source.js":function(r,a,n){var e=n("./node_modules/core-js/internals/shared-store.js"),s=Function.toString;typeof e.inspectSource!="function"&&(e.inspectSource=function(t){return s.call(t)}),r.exports=e.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(r,a,n){var e=n("./node_modules/core-js/internals/native-weak-map.js"),s=n("./node_modules/core-js/internals/global.js"),t=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/has.js"),u=n("./node_modules/core-js/internals/shared-store.js"),h=n("./node_modules/core-js/internals/shared-key.js"),p=n("./node_modules/core-js/internals/hidden-keys.js"),g="Object already initialized",A=s.WeakMap,y,E,C,w=function(B){return C(B)?E(B):y(B,{})},b=function(B){return function(M){var H;if(!t(M)||(H=E(M)).type!==B)throw TypeError("Incompatible receiver, "+B+" required");return H}};if(e||u.state){var I=u.state||(u.state=new A),_=I.get,L=I.has,D=I.set;y=function(B,M){if(L.call(I,B))throw new TypeError(g);return M.facade=B,D.call(I,B,M),M},E=function(B){return _.call(I,B)||{}},C=function(B){return L.call(I,B)}}else{var N=h("state");p[N]=!0,y=function(B,M){if(l(B,N))throw new TypeError(g);return M.facade=B,i(B,N,M),M},E=function(B){return l(B,N)?B[N]:{}},C=function(B){return l(B,N)}}r.exports={set:y,get:E,has:C,enforce:w,getterFor:b}},"./node_modules/core-js/internals/is-array.js":function(r,a,n){var e=n("./node_modules/core-js/internals/classof-raw.js");r.exports=Array.isArray||function(t){return e(t)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(r,a,n){var e=n("./node_modules/core-js/internals/fails.js"),s=/#|\.prototype\./,t=function(g,A){var y=l[i(g)];return y==h?!0:y==u?!1:typeof A=="function"?e(A):!!A},i=t.normalize=function(p){return String(p).replace(s,".").toLowerCase()},l=t.data={},u=t.NATIVE="N",h=t.POLYFILL="P";r.exports=t},"./node_modules/core-js/internals/is-object.js":function(r){r.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},"./node_modules/core-js/internals/is-pure.js":function(r){r.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(r,a,n){var e=n("./node_modules/core-js/internals/get-built-in.js"),s=n("./node_modules/core-js/internals/use-symbol-as-uid.js");r.exports=s?function(t){return typeof t=="symbol"}:function(t){var i=e("Symbol");return typeof i=="function"&&Object(t)instanceof i}},"./node_modules/core-js/internals/iterators-core.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/object-get-prototype-of.js"),t=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),u=n("./node_modules/core-js/internals/is-pure.js"),h=l("iterator"),p=!1,g=function(){return this},A,y,E;[].keys&&(E=[].keys(),"next"in E?(y=s(s(E)),y!==Object.prototype&&(A=y)):p=!0);var C=A==null||e(function(){var w={};return A[h].call(w)!==w});C&&(A={}),(!u||C)&&!i(A,h)&&t(A,h,g),r.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:p}},"./node_modules/core-js/internals/iterators.js":function(r){r.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(r,a,n){var e=n("./node_modules/core-js/internals/engine-v8-version.js"),s=n("./node_modules/core-js/internals/fails.js");r.exports=!!Object.getOwnPropertySymbols&&!s(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})},"./node_modules/core-js/internals/native-weak-map.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),t=e.WeakMap;r.exports=typeof t=="function"&&/native code/.test(s(t))},"./node_modules/core-js/internals/object-assign.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/fails.js"),t=n("./node_modules/core-js/internals/object-keys.js"),i=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),u=n("./node_modules/core-js/internals/to-object.js"),h=n("./node_modules/core-js/internals/indexed-object.js"),p=Object.assign,g=Object.defineProperty;r.exports=!p||s(function(){if(e&&p({b:1},p(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var A={},y={},E=Symbol(),C="abcdefghijklmnopqrst";return A[E]=7,C.split("").forEach(function(w){y[w]=w}),p({},A)[E]!=7||t(p({},y)).join("")!=C})?function(y,E){for(var C=u(y),w=arguments.length,b=1,I=i.f,_=l.f;w>b;)for(var L=h(arguments[b++]),D=I?t(L).concat(I(L)):t(L),N=D.length,R=0,B;N>R;)B=D[R++],(!e||_.call(L,B))&&(C[B]=L[B]);return C}:p},"./node_modules/core-js/internals/object-create.js":function(r,a,n){var e=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/object-define-properties.js"),t=n("./node_modules/core-js/internals/enum-bug-keys.js"),i=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),u=n("./node_modules/core-js/internals/document-create-element.js"),h=n("./node_modules/core-js/internals/shared-key.js"),p=">",g="<",A="prototype",y="script",E=h("IE_PROTO"),C=function(){},w=function(N){return g+y+p+N+g+"/"+y+p},b=function(N){N.write(w("")),N.close();var R=N.parentWindow.Object;return N=null,R},I=function(){var N=u("iframe"),R="java"+y+":",B;if(N.style)return N.style.display="none",l.appendChild(N),N.src=String(R),B=N.contentWindow.document,B.open(),B.write(w("document.F=Object")),B.close(),B.F},_,L=function(){try{_=new ActiveXObject("htmlfile")}catch(R){}L=document.domain&&_?b(_):I()||b(_);for(var N=t.length;N--;)delete L[A][t[N]];return L()};i[E]=!0,r.exports=Object.create||function(N,R){var B;return N!==null?(C[A]=e(N),B=new C,C[A]=null,B[E]=N):B=L(),R===void 0?B:s(B,R)}},"./node_modules/core-js/internals/object-define-properties.js":function(r,a,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-define-property.js"),t=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/object-keys.js");r.exports=e?Object.defineProperties:function(u,h){t(u);for(var p=i(h),g=p.length,A=0,y;g>A;)s.f(u,y=p[A++],h[y]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(r,a,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/ie8-dom-define.js"),t=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/to-property-key.js"),l=Object.defineProperty;a.f=e?l:function(h,p,g){if(t(h),p=i(p),t(g),s)try{return l(h,p,g)}catch(A){}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[p]=g.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(r,a,n){var e=n("./node_modules/core-js/internals/descriptors.js"),s=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),t=n("./node_modules/core-js/internals/create-property-descriptor.js"),i=n("./node_modules/core-js/internals/to-indexed-object.js"),l=n("./node_modules/core-js/internals/to-property-key.js"),u=n("./node_modules/core-js/internals/has.js"),h=n("./node_modules/core-js/internals/ie8-dom-define.js"),p=Object.getOwnPropertyDescriptor;a.f=e?p:function(A,y){if(A=i(A),y=l(y),h)try{return p(A,y)}catch(E){}if(u(A,y))return t(!s.f.call(A,y),A[y])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,t={}.toString,i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(h){try{return s(h)}catch(p){return i.slice()}};r.exports.f=function(h){return i&&t.call(h)=="[object Window]"?l(h):s(e(h))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(r,a,n){var e=n("./node_modules/core-js/internals/object-keys-internal.js"),s=n("./node_modules/core-js/internals/enum-bug-keys.js"),t=s.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(l){return e(l,t)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(r,a){a.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(r,a,n){var e=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/to-object.js"),t=n("./node_modules/core-js/internals/shared-key.js"),i=n("./node_modules/core-js/internals/correct-prototype-getter.js"),l=t("IE_PROTO"),u=Object.prototype;r.exports=i?Object.getPrototypeOf:function(h){return h=s(h),e(h,l)?h[l]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(r,a,n){var e=n("./node_modules/core-js/internals/has.js"),s=n("./node_modules/core-js/internals/to-indexed-object.js"),t=n("./node_modules/core-js/internals/array-includes.js").indexOf,i=n("./node_modules/core-js/internals/hidden-keys.js");r.exports=function(l,u){var h=s(l),p=0,g=[],A;for(A in h)!e(i,A)&&e(h,A)&&g.push(A);for(;u.length>p;)e(h,A=u[p++])&&(~t(g,A)||g.push(A));return g}},"./node_modules/core-js/internals/object-keys.js":function(r,a,n){var e=n("./node_modules/core-js/internals/object-keys-internal.js"),s=n("./node_modules/core-js/internals/enum-bug-keys.js");r.exports=Object.keys||function(i){return e(i,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(r,a){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,s=e&&!n.call({1:2},1);a.f=s?function(i){var l=e(this,i);return!!l&&l.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":function(r,a,n){var e=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/a-possible-prototype.js");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,i={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(i,[]),t=i instanceof Array}catch(u){}return function(h,p){return e(h),s(p),t?l.call(h,p):h.__proto__=p,h}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/classof.js");r.exports=e?{}.toString:function(){return"[object "+s(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(r,a,n){var e=n("./node_modules/core-js/internals/is-object.js");r.exports=function(s,t){var i,l;if(t==="string"&&typeof(i=s.toString)=="function"&&!e(l=i.call(s)))return l;if(typeof(i=s.valueOf)=="function"&&!e(l=i.call(s)))return l;if(t!=="string"&&typeof(i=s.toString)=="function"&&!e(l=i.call(s)))return l;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(r,a,n){var e=n("./node_modules/core-js/internals/get-built-in.js"),s=n("./node_modules/core-js/internals/object-get-own-property-names.js"),t=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),i=n("./node_modules/core-js/internals/an-object.js");r.exports=e("Reflect","ownKeys")||function(u){var h=s.f(i(u)),p=t.f;return p?h.concat(p(u)):h}},"./node_modules/core-js/internals/path.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js");r.exports=e},"./node_modules/core-js/internals/redefine.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),t=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/set-global.js"),l=n("./node_modules/core-js/internals/inspect-source.js"),u=n("./node_modules/core-js/internals/internal-state.js"),h=u.get,p=u.enforce,g=String(String).split("String");(r.exports=function(A,y,E,C){var w=C?!!C.unsafe:!1,b=C?!!C.enumerable:!1,I=C?!!C.noTargetGet:!1,_;if(typeof E=="function"&&(typeof y=="string"&&!t(E,"name")&&s(E,"name",y),_=p(E),_.source||(_.source=g.join(typeof y=="string"?y:""))),A===e){b?A[y]=E:i(y,E);return}else w?!I&&A[y]&&(b=!0):delete A[y];b?A[y]=E:s(A,y,E)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||l(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/an-object.js");r.exports=function(){var s=e(this),t="";return s.global&&(t+="g"),s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.dotAll&&(t+="s"),s.unicode&&(t+="u"),s.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":function(r){r.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"./node_modules/core-js/internals/set-global.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js");r.exports=function(s,t){try{Object.defineProperty(e,s,{value:t,configurable:!0,writable:!0})}catch(i){e[s]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":function(r,a,n){var e=n("./node_modules/core-js/internals/object-define-property.js").f,s=n("./node_modules/core-js/internals/has.js"),t=n("./node_modules/core-js/internals/well-known-symbol.js"),i=t("toStringTag");r.exports=function(l,u,h){l&&!s(l=h?l:l.prototype,i)&&e(l,i,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(r,a,n){var e=n("./node_modules/core-js/internals/shared.js"),s=n("./node_modules/core-js/internals/uid.js"),t=e("keys");r.exports=function(i){return t[i]||(t[i]=s(i))}},"./node_modules/core-js/internals/shared-store.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/set-global.js"),t="__core-js_shared__",i=e[t]||s(t,{});r.exports=i},"./node_modules/core-js/internals/shared.js":function(r,a,n){var e=n("./node_modules/core-js/internals/is-pure.js"),s=n("./node_modules/core-js/internals/shared-store.js");(r.exports=function(t,i){return s[t]||(s[t]=i!==void 0?i:{})})("versions",[]).push({version:"3.16.0",mode:e?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(r,a,n){var e=n("./node_modules/core-js/internals/fails.js");r.exports=function(s){return e(function(){var t=""[s]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-integer.js"),s=n("./node_modules/core-js/internals/to-string.js"),t=n("./node_modules/core-js/internals/require-object-coercible.js"),i=function(u){return function(h,p){var g=s(t(h)),A=e(p),y=g.length,E,C;return A<0||A>=y?u?"":void 0:(E=g.charCodeAt(A),E<55296||E>56319||A+1===y||(C=g.charCodeAt(A+1))<56320||C>57343?u?g.charAt(A):E:u?g.slice(A,A+2):(E-55296<<10)+(C-56320)+65536)}};r.exports={codeAt:i(!1),charAt:i(!0)}},"./node_modules/core-js/internals/string-trim.js":function(r,a,n){var e=n("./node_modules/core-js/internals/require-object-coercible.js"),s=n("./node_modules/core-js/internals/to-string.js"),t=n("./node_modules/core-js/internals/whitespaces.js"),i="["+t+"]",l=RegExp("^"+i+i+"*"),u=RegExp(i+i+"*$"),h=function(g){return function(A){var y=s(e(A));return g&1&&(y=y.replace(l,"")),g&2&&(y=y.replace(u,"")),y}};r.exports={start:h(1),end:h(2),trim:h(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-integer.js"),s=Math.max,t=Math.min;r.exports=function(i,l){var u=e(i);return u<0?s(u+l,0):t(u,l)}},"./node_modules/core-js/internals/to-indexed-object.js":function(r,a,n){var e=n("./node_modules/core-js/internals/indexed-object.js"),s=n("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(t){return e(s(t))}},"./node_modules/core-js/internals/to-integer.js":function(r){var a=Math.ceil,n=Math.floor;r.exports=function(e){return isNaN(e=+e)?0:(e>0?n:a)(e)}},"./node_modules/core-js/internals/to-length.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-integer.js"),s=Math.min;r.exports=function(t){return t>0?s(e(t),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(r,a,n){var e=n("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(s){return Object(e(s))}},"./node_modules/core-js/internals/to-primitive.js":function(r,a,n){var e=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/is-symbol.js"),t=n("./node_modules/core-js/internals/ordinary-to-primitive.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js"),l=i("toPrimitive");r.exports=function(u,h){if(!e(u)||s(u))return u;var p=u[l],g;if(p!==void 0){if(h===void 0&&(h="default"),g=p.call(u,h),!e(g)||s(g))return g;throw TypeError("Can't convert object to primitive value")}return h===void 0&&(h="number"),t(u,h)}},"./node_modules/core-js/internals/to-property-key.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-primitive.js"),s=n("./node_modules/core-js/internals/is-symbol.js");r.exports=function(t){var i=e(t,"string");return s(i)?i:String(i)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(r,a,n){var e=n("./node_modules/core-js/internals/well-known-symbol.js"),s=e("toStringTag"),t={};t[s]="z",r.exports=String(t)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(r,a,n){var e=n("./node_modules/core-js/internals/is-symbol.js");r.exports=function(s){if(e(s))throw TypeError("Cannot convert a Symbol value to a string");return String(s)}},"./node_modules/core-js/internals/uid.js":function(r){var a=0,n=Math.random();r.exports=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++a+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(r,a,n){var e=n("./node_modules/core-js/internals/native-symbol.js");r.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(r,a,n){var e=n("./node_modules/core-js/internals/well-known-symbol.js");a.f=e},"./node_modules/core-js/internals/well-known-symbol.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/shared.js"),t=n("./node_modules/core-js/internals/has.js"),i=n("./node_modules/core-js/internals/uid.js"),l=n("./node_modules/core-js/internals/native-symbol.js"),u=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),h=s("wks"),p=e.Symbol,g=u?p:p&&p.withoutSetter||i;r.exports=function(A){return(!t(h,A)||!(l||typeof h[A]=="string"))&&(l&&t(p,A)?h[A]=p[A]:h[A]=g("Symbol."+A)),h[A]}},"./node_modules/core-js/internals/whitespaces.js":function(r){r.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/fails.js"),t=n("./node_modules/core-js/internals/is-array.js"),i=n("./node_modules/core-js/internals/is-object.js"),l=n("./node_modules/core-js/internals/to-object.js"),u=n("./node_modules/core-js/internals/to-length.js"),h=n("./node_modules/core-js/internals/create-property.js"),p=n("./node_modules/core-js/internals/array-species-create.js"),g=n("./node_modules/core-js/internals/array-method-has-species-support.js"),A=n("./node_modules/core-js/internals/well-known-symbol.js"),y=n("./node_modules/core-js/internals/engine-v8-version.js"),E=A("isConcatSpreadable"),C=9007199254740991,w="Maximum allowed index exceeded",b=y>=51||!s(function(){var D=[];return D[E]=!1,D.concat()[0]!==D}),I=g("concat"),_=function(N){if(!i(N))return!1;var R=N[E];return R!==void 0?!!R:t(N)},L=!b||!I;e({target:"Array",proto:!0,forced:L},{concat:function(N){var R=l(this),B=p(R,0),M=0,H,F,K,j,V;for(H=-1,K=arguments.length;HC)throw TypeError(w);for(F=0;F=C)throw TypeError(w);h(B,M++,V)}return B.length=M,B}})},"./node_modules/core-js/modules/es.array.iterator.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/add-to-unscopables.js"),t=n("./node_modules/core-js/internals/iterators.js"),i=n("./node_modules/core-js/internals/internal-state.js"),l=n("./node_modules/core-js/internals/define-iterator.js"),u="Array Iterator",h=i.set,p=i.getterFor(u);r.exports=l(Array,"Array",function(g,A){h(this,{type:u,target:e(g),index:0,kind:A})},function(){var g=p(this),A=g.target,y=g.kind,E=g.index++;return!A||E>=A.length?(g.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:E,done:!1}:y=="values"?{value:A[E],done:!1}:{value:[E,A[E]],done:!1}},"values"),t.Arguments=t.Array,s("keys"),s("values"),s("entries")},"./node_modules/core-js/modules/es.array.join.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/indexed-object.js"),t=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/array-method-is-strict.js"),l=[].join,u=s!=Object,h=i("join",",");e({target:"Array",proto:!0,forced:u||!h},{join:function(g){return l.call(t(this),g===void 0?",":g)}})},"./node_modules/core-js/modules/es.array.map.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/array-iteration.js").map,t=n("./node_modules/core-js/internals/array-method-has-species-support.js"),i=t("map");e({target:"Array",proto:!0,forced:!i},{map:function(u){return s(this,u,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/is-object.js"),t=n("./node_modules/core-js/internals/is-array.js"),i=n("./node_modules/core-js/internals/to-absolute-index.js"),l=n("./node_modules/core-js/internals/to-length.js"),u=n("./node_modules/core-js/internals/to-indexed-object.js"),h=n("./node_modules/core-js/internals/create-property.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),g=n("./node_modules/core-js/internals/array-method-has-species-support.js"),A=g("slice"),y=p("species"),E=[].slice,C=Math.max;e({target:"Array",proto:!0,forced:!A},{slice:function(b,I){var _=u(this),L=l(_.length),D=i(b,L),N=i(I===void 0?L:I,L),R,B,M;if(t(_)&&(R=_.constructor,typeof R=="function"&&(R===Array||t(R.prototype))?R=void 0:s(R)&&(R=R[y],R===null&&(R=void 0)),R===Array||R===void 0))return E.call(_,D,N);for(B=new(R===void 0?Array:R)(C(N-D,0)),M=0;D2){if(j=b(j),V=j.charCodeAt(0),V===43||V===45){if(z=j.charCodeAt(2),z===88||z===120)return NaN}else if(V===48){switch(j.charCodeAt(1)){case 66:case 98:Y=2,ee=49;break;case 79:case 111:Y=8,ee=55;break;default:return+j}for(fe=j.slice(2),ie=fe.length,we=0;weee)return NaN;return parseInt(fe,Y)}}return+j};if(t(I,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var R=function(K){var j=arguments.length<1?0:K,V=this;return V instanceof R&&(D?A(function(){L.valueOf.call(V)}):u(V)!=I)?h(new _(N(j)),V,R):N(j)},B=e?E(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),M=0,H;B.length>M;M++)l(_,H=B[M])&&!l(R,H)&&w(R,H,C(_,H));R.prototype=L,L.constructor=R,i(s,I,R)}},"./node_modules/core-js/modules/es.object.assign.js":function(r,a,n){var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/object-assign.js");e({target:"Object",stat:!0,forced:Object.assign!==s},{assign:s})},"./node_modules/core-js/modules/es.object.keys.js":function(r,a,n){var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/to-object.js"),t=n("./node_modules/core-js/internals/object-keys.js"),i=n("./node_modules/core-js/internals/fails.js"),l=i(function(){t(1)});e({target:"Object",stat:!0,forced:l},{keys:function(h){return t(s(h))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(r,a,n){var e=n("./node_modules/core-js/internals/to-string-tag-support.js"),s=n("./node_modules/core-js/internals/redefine.js"),t=n("./node_modules/core-js/internals/object-to-string.js");e||s(Object.prototype,"toString",t,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/redefine.js"),s=n("./node_modules/core-js/internals/an-object.js"),t=n("./node_modules/core-js/internals/to-string.js"),i=n("./node_modules/core-js/internals/fails.js"),l=n("./node_modules/core-js/internals/regexp-flags.js"),u="toString",h=RegExp.prototype,p=h[u],g=i(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),A=p.name!=u;(g||A)&&e(RegExp.prototype,u,function(){var E=s(this),C=t(E.source),w=E.flags,b=t(w===void 0&&E instanceof RegExp&&!("flags"in h)?l.call(E):w);return"/"+C+"/"+b},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/string-multibyte.js").charAt,s=n("./node_modules/core-js/internals/to-string.js"),t=n("./node_modules/core-js/internals/internal-state.js"),i=n("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",u=t.set,h=t.getterFor(l);i(String,"String",function(p){u(this,{type:l,string:s(p),index:0})},function(){var g=h(this),A=g.string,y=g.index,E;return y>=A.length?{value:void 0,done:!0}:(E=e(A,y),g.index+=E.length,{value:E,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/create-html.js"),t=n("./node_modules/core-js/internals/string-html-forced.js");e({target:"String",proto:!0,forced:t("link")},{link:function(l){return s(this,"a","href",l)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/descriptors.js"),t=n("./node_modules/core-js/internals/global.js"),i=n("./node_modules/core-js/internals/has.js"),l=n("./node_modules/core-js/internals/is-object.js"),u=n("./node_modules/core-js/internals/object-define-property.js").f,h=n("./node_modules/core-js/internals/copy-constructor-properties.js"),p=t.Symbol;if(s&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var g={},A=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof A?new p(I):I===void 0?p():p(I);return I===""&&(g[_]=!0),_};h(A,p);var y=A.prototype=p.prototype;y.constructor=A;var E=y.toString,C=String(p("test"))=="Symbol(test)",w=/^Symbol\((.*)\)[^)]+$/;u(y,"description",{configurable:!0,get:function(){var I=l(this)?this.valueOf():this,_=E.call(I);if(i(g,I))return"";var L=C?_.slice(7,-1):_.replace(w,"$1");return L===""?void 0:L}}),e({global:!0,forced:!0},{Symbol:A})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(r,a,n){var e=n("./node_modules/core-js/internals/define-well-known-symbol.js");e("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(r,a,n){"use strict";var e=n("./node_modules/core-js/internals/export.js"),s=n("./node_modules/core-js/internals/global.js"),t=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/is-pure.js"),l=n("./node_modules/core-js/internals/descriptors.js"),u=n("./node_modules/core-js/internals/native-symbol.js"),h=n("./node_modules/core-js/internals/fails.js"),p=n("./node_modules/core-js/internals/has.js"),g=n("./node_modules/core-js/internals/is-array.js"),A=n("./node_modules/core-js/internals/is-object.js"),y=n("./node_modules/core-js/internals/is-symbol.js"),E=n("./node_modules/core-js/internals/an-object.js"),C=n("./node_modules/core-js/internals/to-object.js"),w=n("./node_modules/core-js/internals/to-indexed-object.js"),b=n("./node_modules/core-js/internals/to-property-key.js"),I=n("./node_modules/core-js/internals/to-string.js"),_=n("./node_modules/core-js/internals/create-property-descriptor.js"),L=n("./node_modules/core-js/internals/object-create.js"),D=n("./node_modules/core-js/internals/object-keys.js"),N=n("./node_modules/core-js/internals/object-get-own-property-names.js"),R=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),B=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),M=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),H=n("./node_modules/core-js/internals/object-define-property.js"),F=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),j=n("./node_modules/core-js/internals/redefine.js"),V=n("./node_modules/core-js/internals/shared.js"),z=n("./node_modules/core-js/internals/shared-key.js"),Y=n("./node_modules/core-js/internals/hidden-keys.js"),ee=n("./node_modules/core-js/internals/uid.js"),fe=n("./node_modules/core-js/internals/well-known-symbol.js"),ie=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),we=n("./node_modules/core-js/internals/define-well-known-symbol.js"),Ce=n("./node_modules/core-js/internals/set-to-string-tag.js"),Le=n("./node_modules/core-js/internals/internal-state.js"),He=n("./node_modules/core-js/internals/array-iteration.js").forEach,ce=z("hidden"),Pe="Symbol",Q="prototype",me=fe("toPrimitive"),Je=Le.set,re=Le.getterFor(Pe),G=Object[Q],X=s.Symbol,J=t("JSON","stringify"),Ae=M.f,he=H.f,Me=R.f,Ie=F.f,oe=V("symbols"),pe=V("op-symbols"),Oe=V("string-to-symbol-registry"),Ye=V("symbol-to-string-registry"),it=V("wks"),et=s.QObject,Te=!et||!et[Q]||!et[Q].findChild,tt=l&&h(function(){return L(he({},"a",{get:function(){return he(this,"a",{value:7}).a}})).a!=7})?function(Re,De,ae){var gt=Ae(G,De);gt&&delete G[De],he(Re,De,ae),gt&&Re!==G&&he(G,De,gt)}:he,ze=function(De,ae){var gt=oe[De]=L(X[Q]);return Je(gt,{type:Pe,tag:De,description:ae}),l||(gt.description=ae),gt},dt=function(De,ae,gt){De===G&&dt(pe,ae,gt),E(De);var jt=b(ae);return E(gt),p(oe,jt)?(gt.enumerable?(p(De,ce)&&De[ce][jt]&&(De[ce][jt]=!1),gt=L(gt,{enumerable:_(0,!1)})):(p(De,ce)||he(De,ce,_(1,{})),De[ce][jt]=!0),tt(De,jt,gt)):he(De,jt,gt)},Ot=function(De,ae){E(De);var gt=w(ae),jt=D(gt).concat($(gt));return He(jt,function(ut){(!l||Ct.call(gt,ut))&&dt(De,ut,gt[ut])}),De},Tt=function(De,ae){return ae===void 0?L(De):Ot(L(De),ae)},Ct=function(De){var ae=b(De),gt=Ie.call(this,ae);return this===G&&p(oe,ae)&&!p(pe,ae)?!1:gt||!p(this,ae)||!p(oe,ae)||p(this,ce)&&this[ce][ae]?gt:!0},Nt=function(De,ae){var gt=w(De),jt=b(ae);if(gt===G&&p(oe,jt)&&!p(pe,jt))return;var ut=Ae(gt,jt);return ut&&p(oe,jt)&&!(p(gt,ce)&>[ce][jt])&&(ut.enumerable=!0),ut},Be=function(De){var ae=Me(w(De)),gt=[];return He(ae,function(jt){!p(oe,jt)&&!p(Y,jt)&>.push(jt)}),gt},$=function(De){var ae=De===G,gt=Me(ae?pe:w(De)),jt=[];return He(gt,function(ut){p(oe,ut)&&(!ae||p(G,ut))&&jt.push(oe[ut])}),jt};if(u||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var De=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),ae=ee(De),gt=function jt(ut){this===G&&jt.call(pe,ut),p(this,ce)&&p(this[ce],ae)&&(this[ce][ae]=!1),tt(this,ae,_(1,ut))};return l&&Te&&tt(G,ae,{configurable:!0,set:gt}),ze(ae,De)},j(X[Q],"toString",function(){return re(this).tag}),j(X,"withoutSetter",function(Re){return ze(ee(Re),Re)}),F.f=Ct,H.f=dt,M.f=Nt,N.f=R.f=Be,B.f=$,ie.f=function(Re){return ze(fe(Re),Re)},l&&(he(X[Q],"description",{configurable:!0,get:function(){return re(this).description}}),i||j(G,"propertyIsEnumerable",Ct,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:X}),He(D(it),function(Re){we(Re)}),e({target:Pe,stat:!0,forced:!u},{for:function(De){var ae=I(De);if(p(Oe,ae))return Oe[ae];var gt=X(ae);return Oe[ae]=gt,Ye[gt]=ae,gt},keyFor:function(De){if(!y(De))throw TypeError(De+" is not a symbol");if(p(Ye,De))return Ye[De]},useSetter:function(){Te=!0},useSimple:function(){Te=!1}}),e({target:"Object",stat:!0,forced:!u,sham:!l},{create:Tt,defineProperty:dt,defineProperties:Ot,getOwnPropertyDescriptor:Nt}),e({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:Be,getOwnPropertySymbols:$}),e({target:"Object",stat:!0,forced:h(function(){B.f(1)})},{getOwnPropertySymbols:function(De){return B.f(C(De))}}),J){var Z=!u||h(function(){var Re=X();return J([Re])!="[null]"||J({a:Re})!="{}"||J(Object(Re))!="{}"});e({target:"JSON",stat:!0,forced:Z},{stringify:function(De,ae,gt){for(var jt=[De],ut=1,rr;arguments.length>ut;)jt.push(arguments[ut++]);return rr=ae,!A(ae)&&De===void 0||y(De)?void 0:(g(ae)||(ae=function(nn,mr){if(typeof rr=="function"&&(mr=rr.call(this,nn,mr)),!y(mr))return mr}),jt[1]=ae,J.apply(null,jt))}})}X[Q][me]||K(X[Q],me,X[Q].valueOf),Ce(X,Pe),Y[ce]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/dom-iterables.js"),t=n("./node_modules/core-js/internals/array-for-each.js"),i=n("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var l in s){var u=e[l],h=u&&u.prototype;if(h&&h.forEach!==t)try{i(h,"forEach",t)}catch(p){h.forEach=t}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(r,a,n){var e=n("./node_modules/core-js/internals/global.js"),s=n("./node_modules/core-js/internals/dom-iterables.js"),t=n("./node_modules/core-js/modules/es.array.iterator.js"),i=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),u=l("iterator"),h=l("toStringTag"),p=t.values;for(var g in s){var A=e[g],y=A&&A.prototype;if(y){if(y[u]!==p)try{i(y,u,p)}catch(C){y[u]=p}if(y[h]||i(y,h,g),s[g]){for(var E in t)if(y[E]!==t[E])try{i(y,E,t[E])}catch(C){y[E]=t[E]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(r){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */(function(a,n){r.exports=n()})(this,function(){"use strict";function a(et){var Te=typeof et;return et!==null&&(Te==="object"||Te==="function")}function n(et){return typeof et=="function"}var e=void 0;Array.isArray?e=Array.isArray:e=function(Te){return Object.prototype.toString.call(Te)==="[object Array]"};var s=e,t=0,i=void 0,l=void 0,u=function(Te,tt){D[t]=Te,D[t+1]=tt,t+=2,t===2&&(l?l(N):B())};function h(et){l=et}function p(et){u=et}var g=typeof window!="undefined"?window:void 0,A=g||{},y=A.MutationObserver||A.WebKitMutationObserver,E=typeof self=="undefined"&&typeof x!="undefined"&&{}.toString.call(x)==="[object process]",C=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function w(){return function(){return x.nextTick(N)}}function b(){return typeof i!="undefined"?function(){i(N)}:L()}function I(){var et=0,Te=new y(N),tt=document.createTextNode("");return Te.observe(tt,{characterData:!0}),function(){tt.data=et=++et%2}}function _(){var et=new MessageChannel;return et.port1.onmessage=N,function(){return et.port2.postMessage(0)}}function L(){var et=setTimeout;return function(){return et(N,1)}}var D=new Array(1e3);function N(){for(var et=0;et>>1|oe<<31)^(Ie>>>8|oe<<24)^Ie>>>7,Oe=(oe>>>1|Ie<<31)^(oe>>>8|Ie<<24)^(oe>>>7|Ie<<25),Ye=a[X-2],it=Ye.high,et=Ye.low,Te=(it>>>19|et<<13)^(it<<3|et>>>29)^it>>>6,tt=(et>>>19|it<<13)^(et<<3|it>>>29)^(et>>>6|it<<26),ze=a[X-7],dt=ze.high,Ot=ze.low,Tt=a[X-16],Ct=Tt.high,Nt=Tt.low;J=Oe+Ot,Ae=pe+dt+(J>>>0>>0?1:0),J=J+tt,Ae=Ae+Te+(J>>>0>>0?1:0),J=J+Nt,Ae=Ae+Ct+(J>>>0>>0?1:0),he.high=Ae,he.low=J}var Be=He&Pe^~He&me,$=ce&Q^~ce&Je,Z=z&ee^z&ie^ee&ie,Re=Y&fe^Y&we^fe&we,De=(z>>>28|Y<<4)^(z<<30|Y>>>2)^(z<<25|Y>>>7),ae=(Y>>>28|z<<4)^(Y<<30|z>>>2)^(Y<<25|z>>>7),gt=(He>>>14|ce<<18)^(He>>>18|ce<<14)^(He<<23|ce>>>9),jt=(ce>>>14|He<<18)^(ce>>>18|He<<14)^(ce<<23|He>>>9),ut=r[X],rr=ut.high,pr=ut.low,nn=G+jt,mr=re+gt+(nn>>>0>>0?1:0),nn=nn+$,mr=mr+Be+(nn>>>0<$>>>0?1:0),nn=nn+pr,mr=mr+rr+(nn>>>0>>0?1:0),nn=nn+J,mr=mr+Ae+(nn>>>0>>0?1:0),vr=ae+Re,$t=De+Z+(vr>>>0>>0?1:0);re=me,G=Je,me=Pe,Je=Q,Pe=He,Q=ce,ce=Le+nn|0,He=Ce+mr+(ce>>>0>>0?1:0)|0,Ce=ie,Le=we,ie=ee,we=fe,ee=z,fe=Y,Y=nn+vr|0,z=mr+$t+(Y>>>0>>0?1:0)|0}w=l.low=w+Y,l.high=C+z+(w>>>0>>0?1:0),I=u.low=I+fe,u.high=b+ee+(I>>>0>>0?1:0),L=h.low=L+we,h.high=_+ie+(L>>>0>>0?1:0),N=p.low=N+Le,p.high=D+Ce+(N>>>0>>0?1:0),B=g.low=B+ce,g.high=R+He+(B>>>0>>0?1:0),H=A.low=H+Q,A.high=M+Pe+(H>>>0>>0?1:0),K=y.low=K+Je,y.high=F+me+(K>>>0>>0?1:0),V=E.low=V+G,E.high=j+re+(V>>>0>>0?1:0)},_doFinalize:function(){var s=this._data,t=s.words,i=this._nDataBytes*8,l=s.sigBytes*8;t[l>>>5]|=128<<24-l%32,t[(l+128>>>10<<5)+30]=Math.floor(i/4294967296),t[(l+128>>>10<<5)+31]=i,s.sigBytes=t.length*4,this._process();var u=this._hash.toX32();return u},clone:function(){var s=v.clone.call(this);return s._hash=this._hash.clone(),s},blockSize:1024/32});x.SHA512=v._createHelper(n),x.HmacSHA512=v._createHmacHelper(n)}(),O.SHA512})},"1vzs":function(U,P,d){"use strict";d.d(P,"a",function(){return t});var O=d("q1tI"),x=d.n(O),T=d("HQEm"),v=d.n(T),S=d("gZBC"),m=d.n(S),f=d("NAnI"),c=d.n(f),o=d("V/uB"),r=d.n(o),a=d("kbBi"),n=d.n(a),e=d("w6Tc"),s=d.n(e);function t(i){var l=i.suffixIcon,u=i.clearIcon,h=i.menuItemSelectedIcon,p=i.removeIcon,g=i.loading,A=i.multiple,y=i.prefixCls,E=u;u||(E=O.createElement(n.a,null));var C=null;if(l!==void 0)C=l;else if(g)C=O.createElement(m.a,{spin:!0});else{var w="".concat(y,"-suffix");C=function(L){var D=L.open,N=L.showSearch;return D&&N?O.createElement(s.a,{className:w}):O.createElement(v.a,{className:w})}}var b=null;h!==void 0?b=h:A?b=O.createElement(c.a,null):b=null;var I=null;return p!==void 0?I=p:I=O.createElement(r.a,null),{clearIcon:E,suffixIcon:C,itemIcon:b,removeIcon:I}}},"1xaR":function(U,P,d){var O=d("ProS"),x=d("bYtY");d("qgGe"),d("NA0q"),d("RPvy");var T=d("mOdp"),v=d("y3NT"),S=d("0/Rx");O.registerVisual(x.curry(T,"sunburst")),O.registerLayout(x.curry(v,"sunburst")),O.registerProcessor(x.curry(S,"sunburst"))},"24YM":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SensorTabIndex=P.SensorClassName=P.SizeSensorId=void 0;var O="size-sensor-id";P.SizeSensorId=O;var x="size-sensor-object";P.SensorClassName=x;var T="-1";P.SensorTabIndex=T},"2548":function(U,P,d){var O=d("ProS"),x=d("bYtY"),T=d("6GrX"),v=d("IUWy"),S=d("IwbS"),m=d("Qxkt"),f=d("gPAo"),c=d("eRkO"),o=O.extendComponentView({type:"toolbox",render:function(a,n,e,s){var t=this.group;if(t.removeAll(),!a.get("show"))return;var i=+a.get("itemSize"),l=a.get("feature")||{},u=this._features||(this._features={}),h=[];x.each(l,function(A,y){h.push(y)}),new f(this._featureNames||[],h).add(p).update(p).remove(x.curry(p,null)).execute(),this._featureNames=h;function p(A,y){var E=h[A],C=h[y],w=l[E],b=new m(w,a,a.ecModel),I;if(s&&s.newTitle!=null&&s.featureName===E&&(w.title=s.newTitle),E&&!C){if(r(E))I={model:b,onclick:b.option.onclick,featureName:E};else{var _=v.get(E);if(!_)return;I=new _(b,n,e)}u[E]=I}else{if(I=u[C],!I)return;I.model=b,I.ecModel=n,I.api=e}if(!E&&C){I.dispose&&I.dispose(n,e);return}if(!b.get("show")||I.unusable){I.remove&&I.remove(n,e);return}g(b,I,E),b.setIconStatus=function(L,D){var N=this.option,R=this.iconPaths;N.iconStatus=N.iconStatus||{},N.iconStatus[L]=D,R[L]&&R[L].trigger(D)},I.render&&I.render(b,n,e,s)}function g(A,y,E){var C=A.getModel("iconStyle"),w=A.getModel("emphasis.iconStyle"),b=y.getIcons?y.getIcons():A.get("icon"),I=A.get("title")||{};if(typeof b=="string"){var _=b,L=I;b={},I={},b[E]=_,I[E]=L}var D=A.iconPaths={};x.each(b,function(N,R){var B=S.createIcon(N,{},{x:-i/2,y:-i/2,width:i,height:i});B.setStyle(C.getItemStyle()),B.hoverStyle=w.getItemStyle(),B.setStyle({text:I[R],textAlign:w.get("textAlign"),textBorderRadius:w.get("textBorderRadius"),textPadding:w.get("textPadding"),textFill:null});var M=a.getModel("tooltip");M&&M.get("show")&&B.attr("tooltip",x.extend({content:I[R],formatter:M.get("formatter",!0)||function(){return I[R]},formatterParams:{componentType:"toolbox",name:R,title:I[R],$vars:["name","title"]},position:M.get("position",!0)||"bottom"},M.option)),S.setHoverStyle(B),a.get("showTitle")&&(B.__title=I[R],B.on("mouseover",function(){var H=w.getItemStyle(),F=a.get("orient")==="vertical"?a.get("right")==null?"right":"left":a.get("bottom")==null?"bottom":"top";B.setStyle({textFill:w.get("textFill")||H.fill||H.stroke||"#000",textBackgroundColor:w.get("textBackgroundColor"),textPosition:w.get("textPosition")||F})}).on("mouseout",function(){B.setStyle({textFill:null,textBackgroundColor:null})})),B.trigger(A.get("iconStatus."+R)||"normal"),t.add(B),B.on("click",x.bind(y.onclick,y,n,e,R)),D[R]=B})}c.layout(t,a,e),t.add(c.makeBackground(t.getBoundingRect(),a)),t.eachChild(function(A){var y=A.__title,E=A.hoverStyle;if(E&&y){var C=T.getBoundingRect(y,T.makeFont(E)),w=A.position[0]+t.position[0],b=A.position[1]+t.position[1]+i,I=!1;b+C.height>e.getHeight()&&(E.textPosition="top",I=!0);var _=I?-5-C.height:i+8;w+C.width/2>e.getWidth()?(E.textPosition=["100%",_],E.textAlign="right"):w-C.width/2<0&&(E.textPosition=[0,_],E.textAlign="left")}})},updateView:function(a,n,e,s){x.each(this._features,function(t){t.updateView&&t.updateView(t.model,n,e,s)})},remove:function(a,n){x.each(this._features,function(e){e.remove&&e.remove(a,n)}),this.group.removeAll()},dispose:function(a,n){x.each(this._features,function(e){e.dispose&&e.dispose(a,n)})}});function r(a){return a.indexOf("my")===0}U.exports=o},"2B6p":function(U,P){function d(O,x,T){var v=O.getZoom(),S=O.getCenter(),m=x.zoom,f=O.dataToPoint(S);if(x.dx!=null&&x.dy!=null){f[0]-=x.dx,f[1]-=x.dy;var S=O.pointToData(f);O.setCenter(S)}if(m!=null){if(T){var c=T.min||0,o=T.max||Infinity;m=Math.max(Math.min(v*m,o),c)/v}O.scale[0]*=m,O.scale[1]*=m;var r=O.position,a=(x.originX-r[0])*(m-1),n=(x.originY-r[1])*(m-1);r[0]-=a,r[1]-=n,O.updateTransform();var S=O.pointToData(f);O.setCenter(S),O.setZoom(m*v)}return{center:O.getCenter(),zoom:O.getZoom()}}P.updateCenterAndZoom=d},"2BaD":function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="CloseCircleOutlined";var f=P.a=x.forwardRef(m)},"2DNl":function(U,P,d){var O=d("IMiH"),x=d("loD1"),T=d("59Ip"),v=d("aKvl"),S=d("n1HI"),m=d("hX1E"),f=m.normalizeRadian,c=d("Sj9i"),o=d("hyiK"),r=O.CMD,a=Math.PI*2,n=1e-4;function e(y,E){return Math.abs(y-E)E&&N>w&&N>I&&N>L||N1&&i(),H=c.cubicAt(E,w,I,L,t[0]),M>1&&(F=c.cubicAt(E,w,I,L,t[1]))),M===2?jE&&L>w&&L>I||L=0&&N<=1){for(var R=0,B=c.quadraticAt(E,w,I,N),M=0;MC||L<-C)return 0;var D=Math.sqrt(C*C-L*L);s[0]=-D,s[1]=D;var N=Math.abs(w-b);if(N<1e-4)return 0;if(N%a<1e-4){w=0,b=a;var R=I?1:-1;return _>=s[0]+y&&_<=s[1]+y?R:0}if(I){var D=w;w=f(b),b=f(D)}else w=f(w),b=f(b);w>b&&(b+=a);for(var B=0,M=0;M<2;M++){var H=s[M];if(H+y>_){var F=Math.atan2(L,H),R=I?1:-1;F<0&&(F=a+F),(F>=w&&F<=b||F+a>=w&&F+a<=b)&&(F>Math.PI/2&&F1&&(C||(I+=o(_,L,D,N,w,b))),R===1&&(_=y[R],L=y[R+1],D=_,N=L);switch(B){case r.M:D=y[R++],N=y[R++],_=D,L=N;break;case r.L:if(C){if(x.containStroke(_,L,y[R],y[R+1],E,w,b))return!0}else I+=o(_,L,y[R],y[R+1],w,b)||0;_=y[R++],L=y[R++];break;case r.C:if(C){if(T.containStroke(_,L,y[R++],y[R++],y[R++],y[R++],y[R],y[R+1],E,w,b))return!0}else I+=l(_,L,y[R++],y[R++],y[R++],y[R++],y[R],y[R+1],w,b)||0;_=y[R++],L=y[R++];break;case r.Q:if(C){if(v.containStroke(_,L,y[R++],y[R++],y[R],y[R+1],E,w,b))return!0}else I+=u(_,L,y[R++],y[R++],y[R],y[R+1],w,b)||0;_=y[R++],L=y[R++];break;case r.A:var M=y[R++],H=y[R++],F=y[R++],K=y[R++],j=y[R++],V=y[R++];R+=1;var z=1-y[R++],Y=Math.cos(j)*F+M,ee=Math.sin(j)*K+H;R>1?I+=o(_,L,Y,ee,w,b):(D=Y,N=ee);var fe=(w-M)*K/F+M;if(C){if(S.containStroke(M,H,K,j,j+V,z,E,fe,b))return!0}else I+=h(M,H,K,j,j+V,z,fe,b);_=Math.cos(j+V)*F+M,L=Math.sin(j+V)*K+H;break;case r.R:D=_=y[R++],N=L=y[R++];var ie=y[R++],we=y[R++],Y=D+ie,ee=N+we;if(C){if(x.containStroke(D,N,Y,N,E,w,b)||x.containStroke(Y,N,Y,ee,E,w,b)||x.containStroke(Y,ee,D,ee,E,w,b)||x.containStroke(D,ee,D,N,E,w,b))return!0}else I+=o(Y,N,Y,ee,w,b),I+=o(D,ee,D,N,w,b);break;case r.Z:if(C){if(x.containStroke(_,L,D,N,E,w,b))return!0}else I+=o(_,L,D,N,w,b);_=D,L=N;break}}return!C&&!e(L,N)&&(I+=o(_,L,D,N,w,b)||0),I!==0}function g(y,E,C){return p(y,0,!1,E,C)}function A(y,E,C,w){return p(y,E,!0,C,w)}P.contain=g,P.containStroke=A},"2dDv":function(U,P,d){var O=d("bYtY"),x=d("Fofx"),T=d("+TT/"),v=d("aX7z"),S=d("D1WM"),m=d("IwbS"),f=d("OELB"),c=d("72pK"),o=O.each,r=Math.min,a=Math.max,n=Math.floor,e=Math.ceil,s=f.round,t=Math.PI;function i(g,A,y){this._axesMap=O.createHashMap(),this._axesLayout={},this.dimensions=g.dimensions,this._rect,this._model=g,this._init(g,A,y)}i.prototype={type:"parallel",constructor:i,_init:function(g,A,y){var E=g.dimensions,C=g.parallelAxisIndex;o(E,function(w,b){var I=C[b],_=A.getComponent("parallelAxis",I),L=this._axesMap.set(w,new S(w,v.createScaleByModel(_),[0,0],_.get("type"),I)),D=L.type==="category";L.onBand=D&&_.get("boundaryGap"),L.inverse=_.get("inverse"),_.axis=L,L.model=_,L.coordinateSystem=_.coordinateSystem=this},this)},update:function(g,A){this._updateAxesFromSeries(this._model,g)},containPoint:function(g){var A=this._makeLayoutInfo(),y=A.axisBase,E=A.layoutBase,C=A.pixelDimIndex,w=g[1-C],b=g[C];return w>=y&&w<=y+A.axisLength&&b>=E&&b<=E+A.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(g,A){A.eachSeries(function(y){if(!g.contains(y,A))return;var E=y.getData();o(this.dimensions,function(C){var w=this._axesMap.get(C);w.scale.unionExtentFromData(E,E.mapDimension(C)),v.niceScaleExtent(w.scale,w.model)},this)},this)},resize:function(g,A){this._rect=T.getLayoutRect(g.getBoxLayoutParams(),{width:A.getWidth(),height:A.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var g=this._model,A=this._rect,y=["x","y"],E=["width","height"],C=g.get("layout"),w=C==="horizontal"?0:1,b=A[E[w]],I=[0,b],_=this.dimensions.length,L=l(g.get("axisExpandWidth"),I),D=l(g.get("axisExpandCount")||0,[0,_]),N=g.get("axisExpandable")&&_>3&&_>D&&D>1&&L>0&&b>0,R=g.get("axisExpandWindow"),B;if(R)B=l(R[1]-R[0],I),R[1]=R[0]+B;else{B=l(L*(D-1),I);var M=g.get("axisExpandCenter")||n(_/2);R=[L*M-B/2],R[1]=R[0]+B}var H=(b-B)/(_-D);H<3&&(H=0);var F=[n(s(R[0]/L,1))+1,e(s(R[1]/L,1))-1],K=H/L*R[0];return{layout:C,pixelDimIndex:w,layoutBase:A[y[w]],layoutLength:b,axisBase:A[y[1-w]],axisLength:A[E[1-w]],axisExpandable:N,axisExpandWidth:L,axisCollapseWidth:H,axisExpandWindow:R,axisCount:_,winInnerIndices:F,axisExpandWindow0Pos:K}},_layoutAxes:function(){var g=this._rect,A=this._axesMap,y=this.dimensions,E=this._makeLayoutInfo(),C=E.layout;A.each(function(w){var b=[0,E.axisLength],I=w.inverse?1:0;w.setExtent(b[I],b[1-I])}),o(y,function(w,b){var I=(E.axisExpandable?h:u)(b,E),_={horizontal:{x:I.position,y:E.axisLength},vertical:{x:0,y:I.position}},L={horizontal:t/2,vertical:0},D=[_[C].x+g.x,_[C].y+g.y],N=L[C],R=x.create();x.rotate(R,R,N),x.translate(R,R,D),this._axesLayout[w]={position:D,rotation:N,transform:R,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(g){return this._axesMap.get(g)},dataToPoint:function(g,A){return this.axisCoordToPoint(this._axesMap.get(A).dataToCoord(g),A)},eachActiveState:function(g,A,y,E){y==null&&(y=0),E==null&&(E=g.count());var C=this._axesMap,w=this.dimensions,b=[],I=[];O.each(w,function(H){b.push(g.mapDimension(H)),I.push(C.get(H).model)});for(var _=this.hasAxisBrushed(),L=y;LC*(1-D[0])?(_="jump",I=b-C*(1-D[2])):(I=b-C*D[1])>=0&&(I=b-C*(1-D[1]))<=0&&(I=0),I*=A.axisExpandWidth/L,I?c(I,E,w,"all"):_="none";else{var C=E[1]-E[0],R=w[1]*b/C;E=[a(0,R-C/2)],E[1]=r(w[1],E[0]+C),E[0]=E[1]-C}return{axisExpandWindow:E,behavior:_}}};function l(g,A){return r(a(g,A[0]),A[1])}function u(g,A){var y=A.layoutLength/(A.axisCount-1);return{position:y*g,axisNameAvailableWidth:y,axisLabelShow:!0}}function h(g,A){var y=A.layoutLength,E=A.axisExpandWidth,C=A.axisCount,w=A.axisCollapseWidth,b=A.winInnerIndices,I,_=w,L=!1,D;return g1&&arguments[1]!==void 0?arguments[1]:1,ht=ln.length,Jt=0;Jt1&&arguments[1]!==void 0?arguments[1]:!1;return Object(K.a)(st).map(function(Ee,je){if(!e.isValidElement(Ee)||!Ee.type)return null;var Ve=Ee.type.isSelectOptGroup,$e=Ee.key,wt=Ee.props,qt=wt.children,Mr=Object(A.a)(wt,["children"]);return ue||!Ve?j(Ee):Object(F.a)(Object(F.a)({key:"__RC_SELECT_GRP__".concat($e===null?je:$e,"__"),label:$e},Mr),{},{options:V(qt)})}).filter(function(Ee){return Ee})}var z=d("KQm4"),Y=d("T5bk"),ee=d("U8pU"),fe=d("Kwbf");function ie(st){return Array.isArray(st)?st:st!==void 0?[st]:[]}function we(st,ue){var Ee=ue.labelInValue,je=ue.combobox;if(st===void 0||st===""&&je)return[];var Ve=Array.isArray(st)?st:[st];return Ee?Ve.map(function($e){var wt=$e.key,qt=$e.value;return qt!==void 0?qt:wt}):Ve}function Ce(st,ue){var Ee=ue.optionLabelProp,je=ue.labelInValue,Ve=ue.prevValue,$e=ue.options,wt=ue.getLabeledValue,qt=st;return je&&(qt=qt.map(function(Mr){return wt(Mr,{options:$e,prevValue:Ve,labelInValue:je,optionLabelProp:Ee})})),qt}function Le(st,ue){var Ee=Object(z.a)(ue),je;for(je=st.length-1;je>=0&&st[je].disabled;je-=1);var Ve=null;return je!==-1&&(Ve=Ee[je],Ee.splice(je,1)),{values:Ee,removedValue:Ve}}var He=typeof window!="undefined"&&window.document&&window.document.documentElement,ce=He,Pe=0;function Q(){var st;return ce?(st=Pe,Pe+=1):st="TEST_OR_SSR",st}function me(st,ue){var Ee=st.key,je;return"value"in st&&(je=st.value),Ee!=null?Ee:je!==void 0?je:"rc-index-key-".concat(ue)}function Je(st){var ue=[];function Ee(je,Ve){je.forEach(function($e){Ve||!("options"in $e)?ue.push({key:me($e,ue.length),groupOption:Ve,data:$e}):(ue.push({key:me($e,ue.length),group:!0,data:$e}),Ee($e.options,!0))})}return Ee(st,!1),ue}function re(st){var ue=Object(F.a)({},st);return"props"in ue||Object.defineProperty(ue,"props",{get:function(){return Object(fe.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),ue}}),ue}function G(st,ue){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},je=Ee.prevValueOptions,Ve=je===void 0?[]:je,$e=new Map;return ue.forEach(function(wt){if(!wt.group){var qt=wt.data;$e.set(qt.value,qt)}}),st.map(function(wt){var qt=$e.get(wt);return qt||(qt=Object(F.a)({},Ve.find(function(Mr){return Mr._INTERNAL_OPTION_VALUE_===wt}))),re(qt)})}var X=function(ue,Ee){var je=Ee.options,Ve=Ee.prevValue,$e=Ee.labelInValue,wt=Ee.optionLabelProp,qt=G([ue],je)[0],Mr={value:ue},an,_t=ie(Ve);return $e&&(an=_t.find(function(at){return Object(ee.a)(at)==="object"&&"value"in at?at.value===ue:at.key===ue})),an&&Object(ee.a)(an)==="object"&&"label"in an?(Mr.label=an.label,qt&&typeof an.label=="string"&&typeof qt[wt]=="string"&&an.label.trim()!==qt[wt].trim()&&Object(fe.a)(!1,"`label` of `value` is not same as `label` in Select options.")):qt&&wt in qt?Mr.label=qt[wt]:Mr.label=ue,Mr.key=Mr.value,Mr};function J(st){return ie(st).join("")}function Ae(st){return function(ue,Ee){var je=ue.toLowerCase();if("options"in Ee)return J(Ee.label).toLowerCase().includes(je);var Ve=Ee[st],$e=J(Ve).toLowerCase();return $e.includes(je)}}function he(st,ue,Ee){var je=Ee.optionFilterProp,Ve=Ee.filterOption,$e=[],wt;return Ve===!1?ue:(typeof Ve=="function"?wt=Ve:wt=Ae(je),ue.forEach(function(qt){if("options"in qt){var Mr=wt(st,qt);if(Mr)$e.push(qt);else{var an=qt.options.filter(function(_t){return wt(st,_t)});an.length&&$e.push(Object(F.a)(Object(F.a)({},qt),{},{options:an}))}return}wt(st,re(qt))&&$e.push(qt)}),$e)}function Me(st,ue){if(!ue||!ue.length)return null;var Ee=!1;function je($e,wt){var qt=Object(Y.a)(wt),Mr=qt[0],an=qt.slice(1);if(!Mr)return[$e];var _t=$e.split(Mr);return Ee=Ee||_t.length>1,_t.reduce(function(at,bt){return[].concat(Object(z.a)(at),Object(z.a)(je(bt,an)))},[]).filter(function(at){return at})}var Ve=je(st,ue);return Ee?Ve:null}function Ie(st,ue){var Ee=G([st],ue)[0];return Ee.disabled}function oe(st,ue,Ee,je){var Ve=ie(ue).slice().sort(),$e=Object(z.a)(st),wt=new Set;return st.forEach(function(qt){qt.options?qt.options.forEach(function(Mr){wt.add(Mr.value)}):wt.add(qt.value)}),Ve.forEach(function(qt){var Mr=je?qt.value:qt;if(!wt.has(Mr)){var an;$e.push(je?(an={},Object(g.a)(an,Ee,qt.label),Object(g.a)(an,"value",Mr),an):{value:Mr})}}),$e}var pe=d("6cGi"),Oe=d("HTfv"),Ye=d("c+Xe"),it=function(ue,Ee){var je=ue.prefixCls,Ve=ue.id,$e=ue.inputElement,wt=ue.disabled,qt=ue.tabIndex,Mr=ue.autoFocus,an=ue.autoComplete,_t=ue.editable,at=ue.accessibilityIndex,bt=ue.value,kt=ue.onKeyDown,Pt=ue.onMouseDown,Et=ue.onChange,Ht=ue.onPaste,ot=ue.onCompositionStart,Mt=ue.onCompositionEnd,xr=ue.open,ur=ue.attrs,gr=$e||e.createElement("input",null),Qr=gr,ln=Qr.ref,_n=Qr.props,Mn=_n.onKeyDown,li=_n.onChange,ai=_n.onMouseDown,pi=_n.onCompositionStart,Oi=_n.onCompositionEnd,Ze=_n.style;return gr=e.cloneElement(gr,Object(F.a)(Object(F.a)({id:Ve,ref:Object(Ye.a)(Ee,ln),disabled:wt,tabIndex:qt,autoComplete:an||"off",autoFocus:Mr,className:"".concat(je,"-selection-search-input"),style:Object(F.a)(Object(F.a)({},Ze),{},{opacity:_t?null:0}),role:"combobox","aria-expanded":xr,"aria-haspopup":"listbox","aria-owns":"".concat(Ve,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ve,"_list"),"aria-activedescendant":"".concat(Ve,"_list_").concat(at)},ur),{},{value:_t?bt:"",readOnly:!_t,unselectable:_t?null:"on",onKeyDown:function(Ne){kt(Ne),Mn&&Mn(Ne)},onMouseDown:function(Ne){Pt(Ne),ai&&ai(Ne)},onChange:function(Ne){Et(Ne),li&&li(Ne)},onCompositionStart:function(Ne){ot(Ne),pi&&pi(Ne)},onCompositionEnd:function(Ne){Mt(Ne),Oi&&Oi(Ne)},onPaste:Ht})),gr},et=e.forwardRef(it);et.displayName="Input";var Te=et;function tt(st,ue){ce?e.useLayoutEffect(st,ue):e.useEffect(st,ue)}var ze="__RC_SELECT_MAX_REST_COUNT__",dt=function(ue){var Ee=ue.id,je=ue.prefixCls,Ve=ue.values,$e=ue.open,wt=ue.searchValue,qt=ue.inputRef,Mr=ue.placeholder,an=ue.disabled,_t=ue.mode,at=ue.showSearch,bt=ue.autoFocus,kt=ue.autoComplete,Pt=ue.accessibilityIndex,Et=ue.tabIndex,Ht=ue.removeIcon,ot=ue.choiceTransitionName,Mt=ue.maxTagCount,xr=ue.maxTagTextLength,ur=ue.maxTagPlaceholder,gr=ur===void 0?function(gn){return"+ ".concat(gn.length," ...")}:ur,Qr=ue.tagRender,ln=ue.onSelect,_n=ue.onInputChange,Mn=ue.onInputPaste,li=ue.onInputKeyDown,ai=ue.onInputMouseDown,pi=ue.onInputCompositionStart,Oi=ue.onInputCompositionEnd,Ze=e.useState(!1),be=Object(y.a)(Ze,2),Ne=be[0],Ue=be[1],Qe=e.useRef(null),Xe=e.useState(0),qe=Object(y.a)(Xe,2),yt=qe[0],ht=qe[1];e.useEffect(function(){Ue(!0)},[]);var Jt=$e||_t==="tags"?wt:"",kr=_t==="tags"||$e&&at;tt(function(){ht(Qe.current.scrollWidth)},[Jt]);var _r=Ve,Xr;typeof Mt=="number"&&(Xr=Ve.length-Mt,_r=Ve.slice(0,Mt)),typeof xr=="number"&&(_r=_r.map(function(gn){var hr=gn.label,vn=Object(A.a)(gn,["label"]),en=hr;if(typeof hr=="string"||typeof hr=="number"){var Dt=String(en);Dt.length>xr&&(en="".concat(Dt.slice(0,xr),"..."))}return Object(F.a)(Object(F.a)({},vn),{},{label:en})})),Xr>0&&_r.push({key:ze,label:typeof gr=="function"?gr(Ve.slice(Mt)):gr});var Bt=e.createElement(Oe.CSSMotionList,{component:!1,keys:_r,motionName:ot,motionAppear:Ne},function(gn){var hr=gn.key,vn=gn.label,en=gn.value,Dt=gn.disabled,jr=gn.className,un=gn.style,Hr=hr||en,Wt=hr!==ze&&!Dt,wr=function(Dr){Dr.preventDefault(),Dr.stopPropagation()},fn=function(Dr){Dr&&Dr.stopPropagation(),ln(en,{selected:!1})};return typeof Qr=="function"?e.createElement("span",{key:Hr,onMouseDown:wr,className:jr,style:un},Qr({label:vn,value:en,disabled:Dt,closable:Wt,onClose:fn})):e.createElement("span",{key:Hr,className:i()(jr,"".concat(je,"-selection-item"),Object(g.a)({},"".concat(je,"-selection-item-disabled"),Dt)),style:un},e.createElement("span",{className:"".concat(je,"-selection-item-content")},vn),Wt&&e.createElement(_,{className:"".concat(je,"-selection-item-remove"),onMouseDown:wr,onClick:fn,customizeIcon:Ht},"\xD7"))});return e.createElement(e.Fragment,null,Bt,e.createElement("span",{className:"".concat(je,"-selection-search"),style:{width:yt}},e.createElement(Te,{ref:qt,open:$e,prefixCls:je,id:Ee,inputElement:null,disabled:an,autoFocus:bt,autoComplete:kt,editable:kr,accessibilityIndex:Pt,value:Jt,onKeyDown:li,onMouseDown:ai,onChange:_n,onPaste:Mn,onCompositionStart:pi,onCompositionEnd:Oi,tabIndex:Et,attrs:Object(C.a)(ue,!0)}),e.createElement("span",{ref:Qe,className:"".concat(je,"-selection-search-mirror"),"aria-hidden":!0},Jt,"\xA0")),!Ve.length&&!Jt&&e.createElement("span",{className:"".concat(je,"-selection-placeholder")},Mr))},Ot=dt,Tt=function(ue){var Ee=ue.inputElement,je=ue.prefixCls,Ve=ue.id,$e=ue.inputRef,wt=ue.disabled,qt=ue.autoFocus,Mr=ue.autoComplete,an=ue.accessibilityIndex,_t=ue.mode,at=ue.open,bt=ue.values,kt=ue.placeholder,Pt=ue.tabIndex,Et=ue.showSearch,Ht=ue.searchValue,ot=ue.activeValue,Mt=ue.onInputKeyDown,xr=ue.onInputMouseDown,ur=ue.onInputChange,gr=ue.onInputPaste,Qr=ue.onInputCompositionStart,ln=ue.onInputCompositionEnd,_n=e.useState(!1),Mn=Object(y.a)(_n,2),li=Mn[0],ai=Mn[1],pi=_t==="combobox",Oi=pi||Et&&at,Ze=bt[0],be=Ht||"";pi&&ot&&!li&&(be=ot),e.useEffect(function(){pi&&ai(!1)},[pi,ot]);var Ne=_t!=="combobox"&&!at?!1:!!be,Ue=Ze&&(typeof Ze.label=="string"||typeof Ze.label=="number")?Ze.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(je,"-selection-search")},e.createElement(Te,{ref:$e,prefixCls:je,id:Ve,open:at,inputElement:Ee,disabled:wt,autoFocus:qt,autoComplete:Mr,editable:Oi,accessibilityIndex:an,value:be,onKeyDown:Mt,onMouseDown:xr,onChange:function(Xe){ai(!0),ur(Xe)},onPaste:gr,onCompositionStart:Qr,onCompositionEnd:ln,tabIndex:Pt,attrs:Object(C.a)(ue,!0)})),!pi&&Ze&&!Ne&&e.createElement("span",{className:"".concat(je,"-selection-item"),title:Ue},Ze.label),!Ze&&!Ne&&e.createElement("span",{className:"".concat(je,"-selection-placeholder")},kt))},Ct=Tt;function Nt(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ue=e.useRef(null),Ee=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(Ee.current)}},[]);function je(Ve){(Ve||ue.current===null)&&(ue.current=Ve),window.clearTimeout(Ee.current),Ee.current=window.setTimeout(function(){ue.current=null},st)}return[function(){return ue.current},je]}var Be=function(ue,Ee){var je=Object(e.useRef)(null),Ve=Object(e.useRef)(!1),$e=ue.prefixCls,wt=ue.multiple,qt=ue.open,Mr=ue.mode,an=ue.showSearch,_t=ue.tokenWithEnter,at=ue.onSearch,bt=ue.onSearchSubmit,kt=ue.onToggleOpen,Pt=ue.onInputKeyDown,Et=ue.domRef;e.useImperativeHandle(Ee,function(){return{focus:function(){je.current.focus()},blur:function(){je.current.blur()}}});var Ht=Nt(0),ot=Object(y.a)(Ht,2),Mt=ot[0],xr=ot[1],ur=function(Ne){var Ue=Ne.which;(Ue===E.a.UP||Ue===E.a.DOWN)&&Ne.preventDefault(),Pt&&Pt(Ne),Ue===E.a.ENTER&&Mr==="tags"&&!Ve.current&&!qt&&bt(Ne.target.value),[E.a.SHIFT,E.a.TAB,E.a.BACKSPACE,E.a.ESC].includes(Ue)||kt(!0)},gr=function(){xr(!0)},Qr=Object(e.useRef)(null),ln=function(Ne){at(Ne,!0,Ve.current)!==!1&&kt(!0)},_n=function(){Ve.current=!0},Mn=function(){Ve.current=!1},li=function(Ne){var Ue=Ne.target.value;if(_t&&Qr.current&&/[\r\n]/.test(Qr.current)){var Qe=Qr.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ue=Ue.replace(Qe,Qr.current)}Qr.current=null,ln(Ue)},ai=function(Ne){var Ue=Ne.clipboardData,Qe=Ue.getData("text");Qr.current=Qe},pi=function(Ne){var Ue=Mt();if(Ne.target!==je.current){Ue||Ne.preventDefault();var Qe=document.body.style.msTouchAction!==void 0;Qe?setTimeout(function(){je.current.focus()}):je.current.focus()}(Mr!=="combobox"&&(!an||!Ue)||!qt)&&(qt&&at("",!0,!1),kt())},Oi={inputRef:je,onInputKeyDown:ur,onInputMouseDown:gr,onInputChange:li,onInputPaste:ai,onInputCompositionStart:_n,onInputCompositionEnd:Mn},Ze=wt?e.createElement(Ot,Object.assign({},ue,Oi)):e.createElement(Ct,Object.assign({},ue,Oi));return e.createElement("div",{ref:Et,className:"".concat($e,"-selector"),onMouseDown:pi},Ze)},$=e.forwardRef(Be);$.displayName="Selector";var Z=$,Re=d("Uaa1"),De=function(ue){var Ee=typeof ue!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1}}}},ae=function(ue,Ee){var je=ue.prefixCls,Ve=ue.disabled,$e=ue.visible,wt=ue.children,qt=ue.popupElement,Mr=ue.containerWidth,an=ue.animation,_t=ue.transitionName,at=ue.dropdownStyle,bt=ue.dropdownClassName,kt=ue.direction,Pt=kt===void 0?"ltr":kt,Et=ue.dropdownMatchSelectWidth,Ht=Et===void 0?!0:Et,ot=ue.dropdownRender,Mt=ue.dropdownAlign,xr=ue.getPopupContainer,ur=ue.empty,gr=ue.getTriggerDOMNode,Qr=Object(A.a)(ue,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),ln="".concat(je,"-dropdown"),_n=qt;ot&&(_n=ot(qt));var Mn=e.useMemo(function(){return De(Ht)},[Ht]),li=an?"".concat(ln,"-").concat(an):_t,ai=e.useRef(null);e.useImperativeHandle(Ee,function(){return{getPopupElement:function(){return ai.current}}});var pi=Object(F.a)({minWidth:Mr},at);return typeof Ht=="number"?pi.width=Ht:Ht&&(pi.width=Mr),e.createElement(Re.a,Object.assign({},Qr,{showAction:[],hideAction:[],popupPlacement:Pt==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:Mn,prefixCls:ln,popupTransitionName:li,popup:e.createElement("div",{ref:ai},_n),popupAlign:Mt,popupVisible:$e,getPopupContainer:xr,popupClassName:i()(bt,Object(g.a)({},"".concat(ln,"-empty"),ur)),popupStyle:pi,getTriggerDOMNode:gr}),wt)},gt=e.forwardRef(ae);gt.displayName="SelectTrigger";var jt=gt,ut="RC_SELECT_INTERNAL_PROPS_MARK";function rr(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ue=e.useState(!1),Ee=Object(y.a)(ue,2),je=Ee[0],Ve=Ee[1],$e=e.useRef(null),wt=function(){window.clearTimeout($e.current)};e.useEffect(function(){return wt},[]);var qt=function(an,_t){wt(),$e.current=window.setTimeout(function(){Ve(an),_t&&_t()},st)};return[je,qt,wt]}function pr(st,ue,Ee){var je=e.useRef(null);je.current={elements:st.filter(function(Ve){return Ve}),open:ue,triggerOpen:Ee},e.useEffect(function(){function Ve($e){var wt=$e.target;je.current.open&&je.current.elements.every(function(qt){return!qt.contains(wt)&&qt!==wt})&&je.current.triggerOpen(!1)}return window.addEventListener("mousedown",Ve),function(){return window.removeEventListener("mousedown",Ve)}},[])}function nn(st){var ue=e.useRef(st),Ee=e.useMemo(function(){var je=new Map;ue.current.forEach(function($e){var wt=$e.value,qt=$e.label;wt!==qt&&je.set(wt,qt)});var Ve=st.map(function($e){var wt=je.get($e.value);return $e.value===$e.label&&wt?Object(F.a)(Object(F.a)({},$e),{},{label:wt}):$e});return ue.current=Ve,Ve},[st]);return Ee}function mr(st,ue){var Ee=e.useRef(null),je=e.useMemo(function(){var $e=new Map;return ue.forEach(function(wt){var qt=wt.data.value;$e.set(qt,wt)}),$e},[st,ue]);Ee.current=je;var Ve=function(wt){return wt.map(function(qt){return Ee.current.get(qt)}).filter(Boolean)};return Ve}var vr=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function $t(st){var ue=st.prefixCls,Ee=st.components.optionList,je=st.convertChildrenToData,Ve=st.flattenOptions,$e=st.getLabeledValue,wt=st.filterOptions,qt=st.isValueDisabled,Mr=st.findValueOption,an=st.warningProps,_t=st.fillOptionsWithMissingValue,at=st.omitDOMProps;function bt(Pt,Et){var Ht,ot=Pt.prefixCls,Mt=ot===void 0?ue:ot,xr=Pt.className,ur=Pt.id,gr=Pt.open,Qr=Pt.defaultOpen,ln=Pt.options,_n=Pt.children,Mn=Pt.mode,li=Pt.value,ai=Pt.defaultValue,pi=Pt.labelInValue,Oi=Pt.showSearch,Ze=Pt.inputValue,be=Pt.searchValue,Ne=Pt.filterOption,Ue=Pt.optionFilterProp,Qe=Ue===void 0?"value":Ue,Xe=Pt.autoClearSearchValue,qe=Xe===void 0?!0:Xe,yt=Pt.onSearch,ht=Pt.allowClear,Jt=Pt.clearIcon,kr=Pt.showArrow,_r=Pt.inputIcon,Xr=Pt.menuItemSelectedIcon,Bt=Pt.disabled,gn=Pt.loading,hr=Pt.defaultActiveFirstOption,vn=Pt.notFoundContent,en=vn===void 0?"Not Found":vn,Dt=Pt.optionLabelProp,jr=Pt.backfill,un=Pt.getInputElement,Hr=Pt.getPopupContainer,Wt=Pt.listHeight,wr=Wt===void 0?200:Wt,fn=Pt.listItemHeight,zt=fn===void 0?20:fn,Dr=Pt.animation,ir=Pt.transitionName,Lt=Pt.virtual,Qt=Pt.dropdownStyle,It=Pt.dropdownClassName,or=Pt.dropdownMatchSelectWidth,Cr=Pt.dropdownRender,Er=Pt.dropdownAlign,Kr=Pt.showAction,jn=Kr===void 0?[]:Kr,Nn=Pt.direction,ei=Pt.tokenSeparators,Zr=Pt.tagRender,br=Pt.onPopupScroll,dn=Pt.onDropdownVisibleChange,Ln=Pt.onFocus,Fn=Pt.onBlur,zn=Pt.onKeyUp,ui=Pt.onKeyDown,ii=Pt.onMouseDown,qn=Pt.onChange,Li=Pt.onSelect,zi=Pt.onDeselect,Ri=Pt.onClear,ga=Pt.internalProps,oi=ga===void 0?{}:ga,hn=Object(A.a)(Pt,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Ei=oi.mark===ut,Hi=at?at(hn):hn;vr.forEach(function(Wi){delete Hi[Wi]});var ki=Object(e.useRef)(null),ji=Object(e.useRef)(null),dr=Object(e.useRef)(null),sr=Object(e.useRef)(null),cn=Object(e.useMemo)(function(){return(ei||[]).some(function(Wi){return[` `,`\r `].includes(Wi)})},[ei]),Zt=rr(),Ar=Object(y.a)(Zt,3),Nr=Ar[0],tn=Ar[1],pn=Ar[2],St=Object(e.useState)(),cr=Object(y.a)(St,2),fr=cr[0],Br=cr[1];Object(e.useEffect)(function(){Br("rc_select_".concat(Q()))},[]);var $r=ur||fr,wn=Dt;wn===void 0&&(wn=ln?"label":"children");var rn=Mn==="combobox"?!1:pi,On=Mn==="tags"||Mn==="multiple",In=Oi!==void 0?Oi:On||Mn==="combobox",Gn=Object(e.useRef)(null);e.useImperativeHandle(Et,function(){return{focus:dr.current.focus,blur:dr.current.blur}});var fi=Object(pe.a)(ai,{value:li}),Yn=Object(y.a)(fi,2),gi=Yn[0],vi=Yn[1],Di=Object(e.useMemo)(function(){return we(gi,{labelInValue:rn,combobox:Mn==="combobox"})},[gi,rn]),Mi=Object(e.useMemo)(function(){return new Set(Di)},[Di]),xi=Object(e.useState)(null),bi=Object(y.a)(xi,2),Ci=bi[0],$i=bi[1],qi=Object(e.useState)(""),Ti=Object(y.a)(qi,2),ia=Ti[0],na=Ti[1],Ui=ia;Mn==="combobox"&&gi!==void 0?Ui=gi:be!==void 0?Ui=be:Ze&&(Ui=Ze);var Ki=Object(e.useMemo)(function(){var Wi=ln;return Wi===void 0&&(Wi=je(_n)),Mn==="tags"&&_t&&(Wi=_t(Wi,gi,wn,pi)),Wi||[]},[ln,_n,Mn,gi]),ra=Object(e.useMemo)(function(){return Ve(Ki,Pt)},[Ki]),ea=mr(Di,ra),va=Object(e.useMemo)(function(){if(!Ui||!In)return Object(z.a)(Ki);var Wi=wt(Ui,Ki,{optionFilterProp:Qe,filterOption:Mn==="combobox"&&Ne===void 0?function(){return!0}:Ne});return Mn==="tags"&&Wi.every(function(Gi){return Gi[Qe]!==Ui})&&Wi.unshift({value:Ui,label:Ui,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Wi},[Ki,Ui,Mn,In]),sa=Object(e.useMemo)(function(){return Ve(va,Pt)},[va]);Object(e.useEffect)(function(){sr.current&&sr.current.scrollTo&&sr.current.scrollTo(0)},[Ui]);var Pa=Object(e.useMemo)(function(){var Wi=Di.map(function(Gi){var ca=ea([Gi]),ya=$e(Gi,{options:ca,prevValue:gi,labelInValue:rn,optionLabelProp:wn});return Object(F.a)(Object(F.a)({},ya),{},{disabled:qt(Gi,ca)})});return!Mn&&Wi.length===1&&Wi[0].value===null&&Wi[0].label===null?[]:Wi},[gi,Ki,Mn]);Pa=nn(Pa);var ka=function(Gi,ca,ya){var Xa=ea([Gi]),_a=Mr([Gi],Xa)[0];if(!oi.skipTriggerSelect){var qa=rn?$e(Gi,{options:Xa,prevValue:gi,labelInValue:rn,optionLabelProp:wn}):Gi;ca&&Li?Li(qa,_a):!ca&&zi&&zi(qa,_a)}Ei&&(ca&&oi.onRawSelect?oi.onRawSelect(Gi,_a,ya):!ca&&oi.onRawDeselect&&oi.onRawDeselect(Gi,_a,ya))},Ia=Object(e.useState)([]),Ea=Object(y.a)(Ia,2),So=Ea[0],Ga=Ea[1],Va=function(Gi){if(Ei&&oi.skipTriggerChange)return;var ca=ea(Gi),ya=Ce(Array.from(Gi),{labelInValue:rn,options:ca,getLabeledValue:$e,prevValue:gi,optionLabelProp:wn}),Xa=On?ya:ya[0];if(qn&&(Di.length!==0||ya.length!==0)){var _a=Mr(Gi,ca,{prevValueOptions:So});Ga(_a.map(function(qa,ro){var Uo=Object(F.a)({},qa);return Object.defineProperty(Uo,"_INTERNAL_OPTION_VALUE_",{get:function(){return Gi[ro]}}),Uo})),qn(Xa,On?_a:_a[0])}vi(Xa)},Ra=function(Gi,ca){var ya=ca.selected,Xa=ca.source;if(Bt)return;var _a;On?(_a=new Set(Di),ya?_a.add(Gi):_a.delete(Gi)):(_a=new Set,_a.add(Gi)),(On||!On&&Array.from(Di)[0]!==Gi)&&Va(Array.from(_a)),ka(Gi,!On||ya,Xa),Mn==="combobox"?(na(String(Gi)),$i("")):(!On||qe)&&(na(""),$i(""))},po=function(Gi,ca){Ra(Gi,Object(F.a)(Object(F.a)({},ca),{},{source:"option"}))},mo=function(Gi,ca){Ra(Gi,Object(F.a)(Object(F.a)({},ca),{},{source:"selection"}))},Aa=Mn==="combobox"&&un&&un()||null,Io=Object(pe.a)(void 0,{defaultValue:Qr,value:gr}),go=Object(y.a)(Io,2),Qa=go[0],wo=go[1],pa=Qa,to=!en&&!va.length;(Bt||to&&pa&&Mn==="combobox")&&(pa=!1);var ao=to?!1:pa,Bo=function(Gi){var ca=Gi!==void 0?Gi:!pa;Qa!==ca&&!Bt&&(wo(ca),dn&&dn(ca))};pr([ki.current,ji.current&&ji.current.getPopupElement()],ao,Bo);var Ja=function(Gi,ca,ya){var Xa=!0,_a=Gi;$i(null);var qa=ya?null:Me(Gi,ei),ro=qa;if(Mn==="combobox")ca&&Va([_a]);else if(qa){_a="",Mn!=="tags"&&(ro=qa.map(function(zo){var hs=ra.find(function(Po){var Mo=Po.data;return Mo[wn]===zo});return hs?hs.data.value:null}).filter(function(zo){return zo!==null}));var Uo=Array.from(new Set([].concat(Object(z.a)(Di),Object(z.a)(ro))));Va(Uo),Uo.forEach(function(zo){ka(zo,!0,"input")}),Bo(!1),Xa=!1}return na(_a),yt&&Ui!==_a&&yt(_a),Xa},_o=function(Gi){var ca=Array.from(new Set([].concat(Object(z.a)(Di),[Gi])));Va(ca),ca.forEach(function(ya){ka(ya,!0,"input")}),na("")};Object(e.useEffect)(function(){Qa&&!!Bt&&wo(!1)},[Bt]),Object(e.useEffect)(function(){!pa&&!On&&Mn!=="combobox"&&Ja("",!1,!1)},[pa]);var Ao=Nt(),za=Object(y.a)(Ao,2),ja=za[0],da=za[1],rt=function(Gi){var ca=ja(),ya=Gi.which;if(!pa&&ya===E.a.ENTER&&Bo(!0),da(!!Ui),ya===E.a.BACKSPACE&&!ca&&On&&!Ui&&Di.length){var Xa=Le(Pa,Di);Xa.removedValue!==null&&(Va(Xa.values),ka(Xa.removedValue,!1,"input"))}for(var _a=arguments.length,qa=new Array(_a>1?_a-1:0),ro=1;ro<_a;ro++)qa[ro-1]=arguments[ro];if(pa&&sr.current){var Uo;(Uo=sr.current).onKeyDown.apply(Uo,[Gi].concat(qa))}ui&&ui.apply(void 0,[Gi].concat(qa))},ar=function(Gi){for(var ca=arguments.length,ya=new Array(ca>1?ca-1:0),Xa=1;Xa1?_a-1:0),ro=1;ro<_a;ro++)qa[ro-1]=arguments[ro];ii.apply(void 0,[Gi].concat(qa))}},Cn=Object(e.useState)(0),Pr=Object(y.a)(Cn,2),xn=Pr[0],Qn=Pr[1],$n=hr!==void 0?hr:Mn!=="combobox",Kn=function(Gi,ca){Qn(ca),jr&&Mn==="combobox"&&Gi!==null&&$i(String(Gi))},si=Object(e.useState)(null),Xn=Object(y.a)(si,2),ti=Xn[0],di=Xn[1],Bi=Object(e.useState)({}),yi=Object(y.a)(Bi,2),Xi=yi[1];function ba(){Xi({})}tt(function(){if(ao){var Wi=Math.ceil(ki.current.offsetWidth);ti!==Wi&&di(Wi)}},[ao]);var ta=e.createElement(Ee,{ref:sr,prefixCls:Mt,id:$r,open:pa,childrenAsData:!ln,options:va,flattenOptions:sa,multiple:On,values:Mi,height:wr,itemHeight:zt,onSelect:po,onToggleOpen:Bo,onActiveValue:Kn,defaultActiveFirstOption:$n,notFoundContent:en,onScroll:br,searchValue:Ui,menuItemSelectedIcon:Xr,virtual:Lt!==!1&&or!==!1,onMouseEnter:ba}),Qi,aa=function(){Ei&&oi.onClear&&oi.onClear(),Ri&&Ri(),Va([]),Ja("",!1,!1)};!Bt&&ht&&(Di.length||Ui)&&(Qi=e.createElement(_,{className:"".concat(Mt,"-clear"),onMouseDown:aa,customizeIcon:Jt},"\xD7"));var fa=kr!==void 0?kr:gn||!On&&Mn!=="combobox",xo;fa&&(xo=e.createElement(_,{className:i()("".concat(Mt,"-arrow"),Object(g.a)({},"".concat(Mt,"-arrow-loading"),gn)),customizeIcon:_r,customizeIconProps:{loading:gn,searchValue:Ui,open:pa,focused:Nr,showSearch:In}}));var Za=i()(Mt,xr,(Ht={},Object(g.a)(Ht,"".concat(Mt,"-focused"),Nr),Object(g.a)(Ht,"".concat(Mt,"-multiple"),On),Object(g.a)(Ht,"".concat(Mt,"-single"),!On),Object(g.a)(Ht,"".concat(Mt,"-allow-clear"),ht),Object(g.a)(Ht,"".concat(Mt,"-show-arrow"),fa),Object(g.a)(Ht,"".concat(Mt,"-disabled"),Bt),Object(g.a)(Ht,"".concat(Mt,"-loading"),gn),Object(g.a)(Ht,"".concat(Mt,"-open"),pa),Object(g.a)(Ht,"".concat(Mt,"-customize-input"),Aa),Object(g.a)(Ht,"".concat(Mt,"-show-search"),In),Ht));return e.createElement("div",Object.assign({className:Za},Hi,{ref:ki,onMouseDown:yr,onKeyDown:rt,onKeyUp:ar,onFocus:Ir,onBlur:En}),Nr&&!pa&&e.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Di.join(", "))),e.createElement(jt,{ref:ji,disabled:Bt,prefixCls:Mt,visible:ao,popupElement:ta,containerWidth:ti,animation:Dr,transitionName:ir,dropdownStyle:Qt,dropdownClassName:It,direction:Nn,dropdownMatchSelectWidth:or,dropdownRender:Cr,dropdownAlign:Er,getPopupContainer:Hr,empty:!Ki.length,getTriggerDOMNode:function(){return Gn.current}},e.createElement(Z,Object.assign({},Pt,{domRef:Gn,prefixCls:Mt,inputElement:Aa,ref:dr,id:$r,showSearch:In,mode:Mn,accessibilityIndex:xn,multiple:On,tagRender:Zr,values:Pa,open:pa,onToggleOpen:Bo,searchValue:Ui,activeValue:Ci,onSearch:Ja,onSearchSubmit:_o,onSelect:mo,tokenWithEnter:cn}))),xo,Qi)}var kt=e.forwardRef(bt);return kt}function Xt(st){var ue=st.mode,Ee=st.options,je=st.children,Ve=st.backfill,$e=st.allowClear,wt=st.placeholder,qt=st.getInputElement,Mr=st.showSearch,an=st.onSearch,_t=st.defaultOpen,at=st.autoFocus,bt=st.labelInValue,kt=st.value,Pt=st.inputValue,Et=st.optionLabelProp,Ht=ue==="multiple"||ue==="tags",ot=Mr!==void 0?Mr:Ht||ue==="combobox",Mt=Ee||V(je);if(Object(fe.a)(ue!=="tags"||Mt.every(function(Qr){return!Qr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ue==="tags"||ue==="combobox"){var xr=Mt.some(function(Qr){return Qr.options?Qr.options.some(function(ln){return typeof("value"in ln?ln.value:ln.key)=="number"}):typeof("value"in Qr?Qr.value:Qr.key)=="number"});Object(fe.a)(!xr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(fe.a)(ue!=="combobox"||!Et,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(fe.a)(ue==="combobox"||!Ve,"`backfill` only works with `combobox` mode."),Object(fe.a)(ue==="combobox"||!qt,"`getInputElement` only work with `combobox` mode."),Object(fe.b)(ue!=="combobox"||!qt||!$e||!wt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),an&&!ot&&ue!=="combobox"&&ue!=="tags"&&Object(fe.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(fe.b)(!_t||at,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),kt!=null){var ur=ie(kt);Object(fe.a)(!bt||ur.every(function(Qr){return Object(ee.a)(Qr)==="object"&&("key"in Qr||"value"in Qr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(fe.a)(!Ht||Array.isArray(kt),"`value` should be array when `mode` is `multiple` or `tags`")}if(je){var gr=null;Object(K.a)(je).some(function(Qr){if(!e.isValidElement(Qr)||!Qr.type)return!1;var ln=Qr.type;if(ln.isSelectOption)return!1;if(ln.isSelectOptGroup){var _n=Object(K.a)(Qr.props.children).every(function(Mn){return!e.isValidElement(Mn)||!Qr.type||Mn.type.isSelectOption?!0:(gr=Mn.type,!1)});return!_n}return gr=ln,!0}),gr&&Object(fe.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(gr.displayName||gr.name||gr,"`.")),Object(fe.a)(Pt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var ft=Xt,Ur=$t({prefixCls:"rc-select",components:{optionList:N},convertChildrenToData:V,flattenOptions:Je,getLabeledValue:X,filterOptions:he,isValueDisabled:Ie,findValueOption:G,warningProps:ft,fillOptionsWithMissingValue:oe}),yn=function(st){Object(h.a)(Ee,st);var ue=Object(p.a)(Ee);function Ee(){var je;return Object(l.a)(this,Ee),je=ue.apply(this,arguments),je.selectRef=e.createRef(),je.focus=function(){je.selectRef.current.focus()},je.blur=function(){je.selectRef.current.blur()},je}return Object(u.a)(Ee,[{key:"render",value:function(){return e.createElement(Ur,Object.assign({ref:this.selectRef},this.props))}}]),Ee}(e.Component);yn.Option=B,yn.OptGroup=H;var Dn=yn,Un=Dn,wi=d("H84U"),Rn=d("1vzs"),kn=d("3Nzz"),Vn=function(st){r()(Ee,st);var ue=n()(Ee);function Ee(){var je;return m()(this,Ee),je=ue.apply(this,arguments),je.selectRef=e.createRef(),je.focus=function(){je.selectRef.current&&je.selectRef.current.focus()},je.blur=function(){je.selectRef.current&&je.selectRef.current.blur()},je.getMode=function(){var Ve=je.props.mode;return Ve==="combobox"?void 0:Ve===Ee.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Ve},je.renderSelect=function(Ve){var $e=Ve.getPopupContainer,wt=Ve.getPrefixCls,qt=Ve.renderEmpty,Mr=Ve.direction,an=Ve.virtual,_t=Ve.dropdownMatchSelectWidth,at=je.props,bt=at.prefixCls,kt=at.notFoundContent,Pt=at.className,Et=at.size,Ht=at.listHeight,ot=Ht===void 0?256:Ht,Mt=at.listItemHeight,xr=Mt===void 0?24:Mt,ur=at.getPopupContainer,gr=at.dropdownClassName,Qr=at.bordered,ln=wt("select",bt),_n=je.getMode(),Mn=_n==="multiple"||_n==="tags",li;kt!==void 0?li=kt:_n==="combobox"?li=null:li=qt("Select");var ai=Object(Rn.a)(v()(v()({},je.props),{multiple:Mn,prefixCls:ln})),pi=ai.suffixIcon,Oi=ai.itemIcon,Ze=ai.removeIcon,be=ai.clearIcon,Ne=Object(s.default)(je.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Ue=i()(gr,x()({},"".concat(ln,"-dropdown-").concat(Mr),Mr==="rtl"));return e.createElement(kn.b.Consumer,null,function(Qe){var Xe,qe=Et||Qe,yt=i()(Pt,(Xe={},x()(Xe,"".concat(ln,"-lg"),qe==="large"),x()(Xe,"".concat(ln,"-sm"),qe==="small"),x()(Xe,"".concat(ln,"-rtl"),Mr==="rtl"),x()(Xe,"".concat(ln,"-borderless"),!Qr),Xe));return e.createElement(Un,v()({ref:je.selectRef,virtual:an,dropdownMatchSelectWidth:_t},Ne,{listHeight:ot,listItemHeight:xr,mode:_n,prefixCls:ln,direction:Mr,inputIcon:pi,menuItemSelectedIcon:Oi,removeIcon:Ze,clearIcon:be,notFoundContent:li,className:yt,getPopupContainer:ur||$e,dropdownClassName:Ue}))})},je}return c()(Ee,[{key:"render",value:function(){return e.createElement(wi.a,null,this.renderSelect)}}]),Ee}(e.Component);Vn.Option=B,Vn.OptGroup=H,Vn.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Vn.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Gt=P.a=Vn},"2fw6":function(U,P,d){var O=d("y+Vt"),x=O.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(v,S,m){m&&v.moveTo(S.cx+S.r,S.cy),v.arc(S.cx,S.cy,S.r,0,Math.PI*2,!0)}});U.exports=x},"2jpz":function(U,P,d){"use strict";d.d(P,"a",function(){return u});var O=d("cDf5"),x=d.n(O),T=d("q1tI"),v=d.n(T),S=d("TSYQ"),m=d.n(S),f=d("gZBC"),c=d.n(f),o=d("vk+C"),r=d.n(o),a=d("pG52"),n=d.n(a),e=d("Csr3"),s=d.n(e),t=d("e5VY"),i=d.n(t),l=d("0n0R");function u(h,p,g,A){var y=A.isLeaf,E=A.expanded,C=A.loading;if(C)return T.createElement(c.a,{className:"".concat(h,"-switcher-loading-icon")});var w;if(g&&x()(g)==="object"&&(w=g.showLeafIcon),y)return g?x()(g)==="object"&&!w?T.createElement("span",{className:"".concat(h,"-switcher-leaf-line")}):T.createElement(r.a,{className:"".concat(h,"-switcher-line-icon")}):null;var b="".concat(h,"-switcher-icon");return Object(l.b)(p)?Object(l.a)(p,{className:m()(p.props.className||"",b)}):p||(g?E?T.createElement(n.a,{className:"".concat(h,"-switcher-line-icon")}):T.createElement(s.a,{className:"".concat(h,"-switcher-line-icon")}):T.createElement(i.a,{className:b}))}},"2oIt":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};P.default=O},"2uGb":function(U,P,d){var O=d("ProS");d("ko1b"),d("s2lz"),d("RBEP");var x=d("kMLO"),T=d("nKiI");O.registerVisual(x),O.registerLayout(T)},"2w7y":function(U,P,d){var O=d("ProS");d("qMZE"),d("g0SD"),O.registerPreprocessor(function(x){x.markPoint=x.markPoint||{}})},"33Ds":function(U,P,d){var O=d("ProS"),x=d("b9oc"),T=d("Kagy"),v=d("IUWy"),S=T.toolbox.restore;function m(o){this.model=o}m.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:S.title};var f=m.prototype;f.onclick=function(o,r,a){x.clear(o),r.dispatchAction({type:"restore",from:this.uid})},v.register("restore",m),O.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(o,r){r.resetOption("recreate")});var c=m;U.exports=c},"34/K":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function O(S,m){if(!(S instanceof m))throw new TypeError("Cannot call a class as a function")}function x(S,m){for(var f=0;f>0&3)*255/3,g[A*4+1]=(u[h+A]>>2&3)*255/3,g[A*4+2]=(u[h+A]>>4&3)*255/3,g[A*4+4]=0;u=g,h=0}return n.blitImage(f,i,o,l,u,h),a.rQskipBytes(l*t),this._lines-=l,!(this._lines>0)}}]),S}();P.default=v},"3690":function(U,P,d){"use strict";function O(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(a){return typeof a}:O=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},O(o)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var x=v(d("Lo0S"));function T(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return T=function(){return o},o}function v(o){if(o&&o.__esModule)return o;if(o===null||O(o)!=="object"&&typeof o!="function")return{default:o};var r=T();if(r&&r.has(o))return r.get(o);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var s=n?Object.getOwnPropertyDescriptor(o,e):null;s&&(s.get||s.set)?Object.defineProperty(a,e,s):a[e]=o[e]}return a.default=o,r&&r.set(o,a),a}function S(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function m(o,r){for(var a=0;a0;){var u=1;if(t.rQwait("HEXTILE",u))return!1;var h=t.rQ,p=t.rQi,g=h[p];if(g>30)throw new Error("Illegal hextile subencoding (subencoding: "+g+")");var A=this._totalTiles-this._tiles,y=A%this._tilesX,E=Math.floor(A/this._tilesX),C=a+y*16,w=n+E*16,b=Math.min(16,a+e-C),I=Math.min(16,n+s-w);if(g&1)u+=b*I*4;else if(g&2&&(u+=4),g&4&&(u+=4),g&8){if(u++,t.rQwait("HEXTILE",u))return!1;var _=h[p+u-1];g&16?u+=_*(4+2):u+=_*2}if(t.rQwait("HEXTILE",u))return!1;if(p++,g===0)this._lastsubencoding&1?x.Debug(" Ignoring blank after RAW"):i.fillRect(C,w,b,I,this._background);else if(g&1)i.blitImage(C,w,b,I,h,p),p+=u-1;else{if(g&2&&(this._background=[h[p],h[p+1],h[p+2],h[p+3]],p+=4),g&4&&(this._foreground=[h[p],h[p+1],h[p+2],h[p+3]],p+=4),i.startTile(C,w,b,I,this._background),g&8){var L=h[p];p++;for(var D=0;D>4,M=R&15,H=h[p];p++;var F=(H>>4)+1,K=(H&15)+1;i.subTile(B,M,F,K,N)}}i.finishTile()}t.rQi=p,this._lastsubencoding=g,this._tiles--}return!0}}]),o}();P.default=c},"3C/r":function(U,P){var d=function(T,v){this.image=T,this.repeat=v,this.type="pattern"};d.prototype.getCanvasPattern=function(x){return x.createPattern(this.image,this.repeat||"repeat")};var O=d;U.exports=O},"3CBa":function(U,P,d){var O=d("hydK"),x=O.createElement,T=d("bYtY"),v=d("SUKs"),S=d("y+Vt"),m=d("Dagg"),f=d("dqUG"),c=d("DBLp"),o=d("sW+o"),r=d("n6Mw"),a=d("vKoX"),n=d("P47w"),e=n.path,s=n.image,t=n.text;function i(b){return parseInt(b,10)}function l(b){return b instanceof S?e:b instanceof m?s:b instanceof f?t:e}function u(b,I){return I&&b&&I.parentNode!==b}function h(b,I,_){if(u(b,I)&&_){var L=_.nextSibling;L?b.insertBefore(I,L):b.appendChild(I)}}function p(b,I){if(u(b,I)){var _=b.firstChild;_?b.insertBefore(I,_):b.appendChild(I)}}function g(b,I){I&&b&&I.parentNode===b&&b.removeChild(I)}function A(b){return b.__textSvgEl}function y(b){return b.__svgEl}var E=function(I,_,L,D){this.root=I,this.storage=_,this._opts=L=T.extend({},L||{});var N=x("svg");N.setAttribute("xmlns","http://www.w3.org/2000/svg"),N.setAttribute("version","1.1"),N.setAttribute("baseProfile","full"),N.style.cssText="user-select:none;position:absolute;left:0;top:0;";var R=x("g");N.appendChild(R);var B=x("g");N.appendChild(B),this.gradientManager=new o(D,B),this.clipPathManager=new r(D,B),this.shadowManager=new a(D,B);var M=document.createElement("div");M.style.cssText="overflow:hidden;position:relative",this._svgDom=N,this._svgRoot=B,this._backgroundRoot=R,this._viewport=M,I.appendChild(M),M.appendChild(N),this.resize(L.width,L.height),this._visibleList=[]};E.prototype={constructor:E,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var I=this.getViewportRoot();if(I)return{offsetLeft:I.offsetLeft||0,offsetTop:I.offsetTop||0}},refresh:function(){var I=this.storage.getDisplayList(!0);this._paintList(I)},setBackgroundColor:function(I){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var _=x("rect");_.setAttribute("width",this.getWidth()),_.setAttribute("height",this.getHeight()),_.setAttribute("x",0),_.setAttribute("y",0),_.setAttribute("id",0),_.style.fill=I,this._backgroundRoot.appendChild(_),this._backgroundNode=_},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var _=this._svgRoot,L=this._visibleList,D=I.length,N=[],R;for(R=0;R=0;--B)if(R[B]===N)return!0;return!1}),L}else return null;else return L[0]},resize:function(I,_){var L=this._viewport;L.style.display="none";var D=this._opts;if(I!=null&&(D.width=I),_!=null&&(D.height=_),I=this._getSize(0),_=this._getSize(1),L.style.display="",this._width!==I||this._height!==_){this._width=I,this._height=_;var N=L.style;N.width=I+"px",N.height=_+"px";var R=this._svgDom;R.setAttribute("width",I),R.setAttribute("height",_)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",_))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var _=this._opts,L=["width","height"][I],D=["clientWidth","clientHeight"][I],N=["paddingLeft","paddingTop"][I],R=["paddingRight","paddingBottom"][I];if(_[L]!=null&&_[L]!=="auto")return parseFloat(_[L]);var B=this.root,M=document.defaultView.getComputedStyle(B);return(B[D]||i(M[L])||i(B.style[L]))-(i(M[N])||0)-(i(M[R])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var I=encodeURIComponent(this._svgDom.outerHTML.replace(/> \r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function C(b){return function(){v('In SVG mode painter not support method "'+b+'"')}}T.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(b){E.prototype[b]=C(b)});var w=E;U.exports=w},"3LNs":function(U,P,d){var O=d("bYtY"),x=d("Yl7c"),T=d("IwbS"),v=d("zTMp"),S=d("YH21"),m=d("iLNv"),f=d("4NO4"),c=f.makeInner,o=c(),r=O.clone,a=O.bind;function n(){}n.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(h,p,g,A){var y=p.get("value"),E=p.get("status");if(this._axisModel=h,this._axisPointerModel=p,this._api=g,!A&&this._lastValue===y&&this._lastStatus===E)return;this._lastValue=y,this._lastStatus=E;var C=this._group,w=this._handle;if(!E||E==="hide"){C&&C.hide(),w&&w.hide();return}C&&C.show(),w&&w.show();var b={};this.makeElOption(b,y,h,p,g);var I=b.graphicKey;I!==this._lastGraphicKey&&this.clear(g),this._lastGraphicKey=I;var _=this._moveAnimation=this.determineAnimation(h,p);if(!C)C=this._group=new T.Group,this.createPointerEl(C,b,h,p),this.createLabelEl(C,b,h,p),g.getZr().add(C);else{var L=O.curry(e,p,_);this.updatePointerEl(C,b,L,p),this.updateLabelEl(C,b,L,p)}l(C,p,!0),this._renderHandle(y)},remove:function(h){this.clear(h)},dispose:function(h){this.clear(h)},determineAnimation:function(h,p){var g=p.get("animation"),A=h.axis,y=A.type==="category",E=p.get("snap");if(!E&&!y)return!1;if(g==="auto"||g==null){var C=this.animationThreshold;if(y&&A.getBandWidth()>C)return!0;if(E){var w=v.getAxisInfo(h).seriesDataCount,b=A.getExtent();return Math.abs(b[0]-b[1])/w>C}return!1}return g===!0},makeElOption:function(h,p,g,A,y){},createPointerEl:function(h,p,g,A){var y=p.pointer;if(y){var E=o(h).pointerEl=new T[y.type](r(p.pointer));h.add(E)}},createLabelEl:function(h,p,g,A){if(p.label){var y=o(h).labelEl=new T.Rect(r(p.label));h.add(y),t(y,A)}},updatePointerEl:function(h,p,g){var A=o(h).pointerEl;A&&p.pointer&&(A.setStyle(p.pointer.style),g(A,{shape:p.pointer.shape}))},updateLabelEl:function(h,p,g,A){var y=o(h).labelEl;y&&(y.setStyle(p.label.style),g(y,{shape:p.label.shape,position:p.label.position}),t(y,A))},_renderHandle:function(h){if(this._dragging||!this.updateHandleTransform)return;var p=this._axisPointerModel,g=this._api.getZr(),A=this._handle,y=p.getModel("handle"),E=p.get("status");if(!y.get("show")||!E||E==="hide"){A&&g.remove(A),this._handle=null;return}var C;this._handle||(C=!0,A=this._handle=T.createIcon(y.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){S.stop(I.event)},onmousedown:a(this._onHandleDragMove,this,0,0),drift:a(this._onHandleDragMove,this),ondragend:a(this._onHandleDragEnd,this)}),g.add(A)),l(A,p,!1);var w=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];A.setStyle(y.getItemStyle(null,w));var b=y.get("size");O.isArray(b)||(b=[b,b]),A.attr("scale",[b[0]/2,b[1]/2]),m.createOrUpdate(this,"_doDispatchAxisPointer",y.get("throttle")||0,"fixRate"),this._moveHandleToValue(h,C)},_moveHandleToValue:function(h,p){e(this._axisPointerModel,!p&&this._moveAnimation,this._handle,i(this.getHandleTransform(h,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(h,p){var g=this._handle;if(!g)return;this._dragging=!0;var A=this.updateHandleTransform(i(g),[h,p],this._axisModel,this._axisPointerModel);this._payloadInfo=A,g.stopAnimation(),g.attr(i(A)),o(g).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var h=this._handle;if(!h)return;var p=this._payloadInfo,g=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:p.cursorPoint[0],y:p.cursorPoint[1],tooltipOption:p.tooltipOption,axesInfo:[{axisDim:g.axis.dim,axisIndex:g.componentIndex}]})},_onHandleDragEnd:function(h){this._dragging=!1;var p=this._handle;if(!p)return;var g=this._axisPointerModel.get("value");this._moveHandleToValue(g),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(h){this._lastValue=null,this._lastStatus=null;var p=h.getZr(),g=this._group,A=this._handle;p&&g&&(this._lastGraphicKey=null,g&&p.remove(g),A&&p.remove(A),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(h,p,g){return g=g||0,{x:h[g],y:h[1-g],width:p[g],height:p[1-g]}}},n.prototype.constructor=n;function e(h,p,g,A){s(o(g).lastProp,A)||(o(g).lastProp=A,p?T.updateProps(g,A,h):(g.stopAnimation(),g.attr(A)))}function s(h,p){if(O.isObject(h)&&O.isObject(p)){var g=!0;return O.each(p,function(A,y){g=g&&s(h[y],A)}),!!g}else return h===p}function t(h,p){h[p.get("label.show")?"show":"hide"]()}function i(h){return{position:h.position.slice(),rotation:h.rotation||0}}function l(h,p,g){var A=p.get("z"),y=p.get("zlevel");h&&h.traverse(function(E){E.type!=="group"&&(A!=null&&(E.z=A),y!=null&&(E.zlevel=y),E.silent=g)})}x.enableClassExtend(n);var u=n;U.exports=u},"3OrL":function(U,P,d){var O=d("bYtY"),x=d("6Ic6"),T=d("IwbS"),v=d("y+Vt"),S=["itemStyle"],m=["emphasis","itemStyle"],f=x.extend({type:"boxplot",render:function(e,s,t){var i=e.getData(),l=this.group,u=this._data;this._data||l.removeAll();var h=e.get("layout")==="horizontal"?1:0;i.diff(u).add(function(p){if(i.hasValue(p)){var g=i.getItemLayout(p),A=o(g,i,p,h,!0);i.setItemGraphicEl(p,A),l.add(A)}}).update(function(p,g){var A=u.getItemGraphicEl(g);if(!i.hasValue(p)){l.remove(A);return}var y=i.getItemLayout(p);A?r(y,A,i,p):A=o(y,i,p,h),l.add(A),i.setItemGraphicEl(p,A)}).remove(function(p){var g=u.getItemGraphicEl(p);g&&l.remove(g)}).execute(),this._data=i},remove:function(e){var s=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(i){i&&s.remove(i)})},dispose:O.noop}),c=v.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,s){var t=s.points,i=0;for(e.moveTo(t[i][0],t[i][1]),i++;i<4;i++)e.lineTo(t[i][0],t[i][1]);for(e.closePath();i0&&(Ve.deadlineId=setTimeout(function(){Ve.onMotionEnd({deadline:!0})},Mr))})},Ve.nextFrame=function($e){Ve.cancelNextFrame(),Ve.raf=L()($e)},Ve.cancelNextFrame=function(){Ve.raf&&(L.a.cancel(Ve.raf),Ve.raf=null)},Ve}return Object(e.a)(je,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var $e,wt=this.state,qt=wt.status,Mr=wt.statusActive,an=wt.statusStyle,_t=this.props,at=_t.children,bt=_t.motionName,kt=_t.visible,Pt=_t.removeOnLeave,Et=_t.leavedClassName,Ht=_t.eventProps;return at?qt===ie||!Gt(this.props)?kt?at(Object(r.a)({},Ht),this.setNodeRef):Pt?null:at(Object(r.a)(Object(r.a)({},Ht),{},{className:Et}),this.setNodeRef):at(Object(r.a)(Object(r.a)({},Ht),{},{className:C()(fe(bt,qt),($e={},Object(N.a)($e,fe(bt,"".concat(qt,"-active")),Mr),Object(N.a)($e,bt,typeof bt=="string"),$e)),style:an}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function($e,wt){var qt=wt.prevProps,Mr=wt.status;if(!Gt($e))return{};var an=$e.visible,_t=$e.motionAppear,at=$e.motionEnter,bt=$e.motionLeave,kt=$e.motionLeaveImmediately,Pt={prevProps:$e};return(Mr===we&&!_t||Mr===Ce&&!at||Mr===Le&&!bt)&&(Pt.status=ie,Pt.statusActive=!1,Pt.newStatus=!1),!qt&&an&&_t&&(Pt.status=we,Pt.statusActive=!1,Pt.newStatus=!0),qt&&!qt.visible&&an&&at&&(Pt.status=Ce,Pt.statusActive=!1,Pt.newStatus=!0),(qt&&qt.visible&&!an&&bt||!qt&&kt&&!an&&bt)&&(Pt.status=Le,Pt.statusActive=!1,Pt.newStatus=!0),Pt}}]),je}(f.Component);return st.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},Vn?f.forwardRef(function(ue,Ee){return f.createElement(st,Object.assign({internalRef:Ee},ue))}):st}var ce=He(ee),Pe="add",Q="keep",me="remove",Je="removed";function re(Rn){var kn;return Rn&&Object(o.a)(Rn)==="object"&&"key"in Rn?kn=Rn:kn={key:Rn},Object(r.a)(Object(r.a)({},kn),{},{key:String(kn.key)})}function G(){var Rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Rn.map(re)}function X(){var Rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Vn=[],Gt=0,st=kn.length,ue=G(Rn),Ee=G(kn);ue.forEach(function($e){for(var wt=!1,qt=Gt;qt1});return Ve.forEach(function($e){Vn=Vn.filter(function(wt){var qt=wt.key,Mr=wt.status;return qt!==$e||Mr!==me}),Vn.forEach(function(wt){wt.key===$e&&(wt.status=Q)})}),Vn}var J=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ae(Rn){var kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce,Vn=function(Gt){Object(t.a)(ue,Gt);var st=Object(i.a)(ue);function ue(){var Ee;return Object(n.a)(this,ue),Ee=st.apply(this,arguments),Ee.state={keyEntities:[]},Ee.removeKey=function(je){Ee.setState(function(Ve){var $e=Ve.keyEntities;return{keyEntities:$e.map(function(wt){return wt.key!==je?wt:Object(r.a)(Object(r.a)({},wt),{},{status:Je})})}})},Ee}return Object(e.a)(ue,[{key:"render",value:function(){var je=this,Ve=this.state.keyEntities,$e=this.props,wt=$e.component,qt=$e.children,Mr=Object(a.a)($e,["component","children"]),an=wt||f.Fragment,_t={};return J.forEach(function(at){_t[at]=Mr[at],delete Mr[at]}),delete Mr.keys,f.createElement(an,Object.assign({},Mr),Ve.map(function(at){var bt=at.status,kt=Object(a.a)(at,["status"]),Pt=bt===Pe||bt===Q;return f.createElement(kn,Object.assign({},_t,{key:kt.key,visible:Pt,eventProps:kt,onLeaveEnd:function(){_t.onLeaveEnd&&_t.onLeaveEnd.apply(_t,arguments),je.removeKey(kt.key)}}),qt)}))}}],[{key:"getDerivedStateFromProps",value:function(je,Ve){var $e=je.keys,wt=Ve.keyEntities,qt=G($e);if(!Rn)return{keyEntities:qt.map(function(_t){return Object(r.a)(Object(r.a)({},_t),{},{status:Q})})};var Mr=X(wt,qt),an=wt.length;return{keyEntities:Mr.filter(function(_t){for(var at=null,bt=0;bt1&&(qt=f.createElement("div",{className:"".concat(Gt,"-content")},Ee)),f.createElement("div",{ref:Vn,className:st,onMouseEnter:je,onMouseLeave:Ve,onMouseDown:$e,onTouchStart:wt,style:ue},qt)},oe=f.forwardRef(Ie);oe.displayName="PopupInner";var pe=oe;function Oe(Rn){var kn=Rn.prefixCls,Vn=Rn.motion,Gt=Rn.animation,st=Rn.transitionName;return Vn||(Gt?{motionName:"".concat(kn,"-").concat(Gt)}:st?{motionName:st}:null)}function Ye(Rn){return Rn&&Rn.motionName}var it=function(Rn){Object(t.a)(Vn,Rn);var kn=Object(i.a)(Vn);function Vn(){var Gt;return Object(n.a)(this,Vn),Gt=kn.apply(this,arguments),Gt.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Gt.popupRef=c.a.createRef(),Gt.alignRef=c.a.createRef(),Gt.nextFrameState=null,Gt.nextFrameId=null,Gt.onAlign=function(st,ue){var Ee=Gt.state.status,je=Gt.props,Ve=je.getClassNameFromAlign,$e=je.onAlign,wt=Ve(ue);Ee==="align"?Gt.setState({alignClassName:wt,status:"aligned"},function(){Gt.alignRef.current.forceAlign()}):Ee==="aligned"?(Gt.setState({alignClassName:wt,status:"afterAlign"}),$e(st,ue)):Gt.setState({alignClassName:wt})},Gt.onMotionEnd=function(){var st=Gt.props.visible;Gt.setState({status:st?"AfterMotion":"stable",inMotion:!1})},Gt.setStateOnNextFrame=function(st){Gt.cancelFrameState(),Gt.nextFrameState=Object(r.a)(Object(r.a)({},Gt.nextFrameState),st),Gt.nextFrameId=L()(function(){var ue=Object(r.a)({},Gt.nextFrameState);Gt.nextFrameState=null,Gt.setState(ue)})},Gt.getMotion=function(){return Object(r.a)({},Oe(Gt.props))},Gt.getAlignTarget=function(){var st=Gt.props,ue=st.point,Ee=st.getRootDomNode;return ue||Ee},Gt.cancelFrameState=function(){L.a.cancel(Gt.nextFrameId)},Gt.renderPopupElement=function(){var st=Gt.state,ue=st.status,Ee=st.targetHeight,je=st.targetWidth,Ve=st.alignClassName,$e=Gt.props,wt=$e.prefixCls,qt=$e.className,Mr=$e.style,an=$e.stretch,_t=$e.visible,at=$e.align,bt=$e.destroyPopupOnHide,kt=$e.onMouseEnter,Pt=$e.onMouseLeave,Et=$e.onMouseDown,Ht=$e.onTouchStart,ot=$e.children,Mt=C()(wt,qt,Ve),xr="".concat(wt,"-hidden"),ur={};an&&(an.indexOf("height")!==-1?ur.height=Ee:an.indexOf("minHeight")!==-1&&(ur.minHeight=Ee),an.indexOf("width")!==-1?ur.width=je:an.indexOf("minWidth")!==-1&&(ur.minWidth=je));var gr=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},ur),Gt.getZIndexStyle()),Mr),{},{opacity:ue==="stable"||!_t?void 0:0,pointerEvents:ue==="stable"||!_t?void 0:"none"}),Qr=Gt.getMotion(),ln=_t;_t&&ue!=="beforeMotion"&&ue!=="motion"&&ue!=="stable"&&(Qr.motionAppear=!1,Qr.motionEnter=!1,Qr.motionLeave=!1),(ue==="afterAlign"||ue==="beforeMotion")&&(ln=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(li){var ai=Qr==null?void 0:Qr[li];Qr[li]=function(){for(var pi=arguments.length,Oi=new Array(pi),Ze=0;Ze=0||Ne.indexOf("Bottom")>=0?Qe.top="".concat(Ue.height-Ze.offset[1],"px"):(Ne.indexOf("Top")>=0||Ne.indexOf("bottom")>=0)&&(Qe.top="".concat(-Ze.offset[1],"px")),Ne.indexOf("left")>=0||Ne.indexOf("Right")>=0?Qe.left="".concat(Ue.width-Ze.offset[0],"px"):(Ne.indexOf("right")>=0||Ne.indexOf("Left")>=0)&&(Qe.left="".concat(-Ze.offset[0],"px")),Oi.style.transformOrigin="".concat(Qe.left," ").concat(Qe.top)},at=function(){var Oi=Rn.title,Ze=Rn.overlay;return Oi===0?Oi:Ze||Oi||""},bt=Rn.prefixCls,kt=Rn.openClassName,Pt=Rn.getPopupContainer,Et=Rn.getTooltipContainer,Ht=Rn.overlayClassName,ot=Rn.color,Mt=Rn.overlayInnerStyle,xr=Rn.children,ur=ue("tooltip",bt),gr=$e;!("visible"in Rn)&&qt()&&(gr=!1);var Qr=Dn(Object($t.b)(xr)?xr:f.createElement("span",null,xr),ur),ln=Qr.props,_n=C()(ln.className,x()({},kt||"".concat(ur,"-open"),!0)),Mn=C()(Ht,(Vn={},x()(Vn,"".concat(ur,"-rtl"),Ee==="rtl"),x()(Vn,"".concat(ur,"-").concat(ot),ot&&yn.test(ot)),Vn)),li,ai;return ot&&!yn.test(ot)&&(li=m()(m()({},Mt),{background:ot}),ai={background:ot}),f.createElement(ut,m()({},Rn,{prefixCls:ur,overlayClassName:Mn,getTooltipContainer:Pt||Et||st,ref:kn,builtinPlacements:an(),overlay:at(),visible:gr,onVisibleChange:Mr,onPopupAlign:_t,overlayInnerStyle:li,arrowContent:f.createElement("span",{className:"".concat(ur,"-arrow-content"),style:ai})}),gr?Object($t.a)(Qr,{className:_n}):Qr)});Un.displayName="Tooltip",Un.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var wi=P.a=Un},"3TkU":function(U,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("QUw5"),d("Swgg"),d("LBfv"),d("noeP")},"3X6L":function(U,P,d){var O=d("bYtY"),x=d("7a+S"),T=d("OKJ2"),v=x.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});O.mixin(v,T);var S=v;U.exports=S},"3e3G":function(U,P,d){var O=d("bYtY"),x=d("QuXc"),T=function(m,f,c,o,r){this.x=m==null?.5:m,this.y=f==null?.5:f,this.r=c==null?.5:c,this.type="radial",this.global=r||!1,x.call(this,o)};T.prototype={constructor:T},O.inherits(T,x);var v=T;U.exports=v},"3gBT":function(U,P){var d=2311;function O(){return d++}U.exports=O},"3hzK":function(U,P){var d={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};U.exports=d},"3m61":function(U,P){function d(x){return x instanceof Array||(x=[x,x]),x}function O(x){x.eachSeriesByType("graph",function(T){var v=T.getGraph(),S=T.getEdgeData(),m=d(T.get("edgeSymbol")),f=d(T.get("edgeSymbolSize")),c="lineStyle.color".split("."),o="lineStyle.opacity".split(".");S.setVisual("fromSymbol",m&&m[0]),S.setVisual("toSymbol",m&&m[1]),S.setVisual("fromSymbolSize",f&&f[0]),S.setVisual("toSymbolSize",f&&f[1]),S.setVisual("color",T.get(c)),S.setVisual("opacity",T.get(o)),S.each(function(r){var a=S.getItemModel(r),n=v.getEdgeByIndex(r),e=d(a.getShallow("symbol",!0)),s=d(a.getShallow("symbolSize",!0)),t=a.get(c),i=a.get(o);switch(t){case"source":t=n.node1.getVisual("color");break;case"target":t=n.node2.getVisual("color");break}e[0]&&n.setVisual("fromSymbol",e[0]),e[1]&&n.setVisual("toSymbol",e[1]),s[0]&&n.setVisual("fromSymbolSize",s[0]),s[1]&&n.setVisual("toSymbolSize",s[1]),n.setVisual("color",t),n.setVisual("opacity",i)})})}U.exports=O},"3ouR":function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="CloseSquareOutlined";var f=P.a=x.forwardRef(m)},"3y9D":function(U,P,d){(function(O,x){U.exports=P=x(d("Ib8C"))})(this,function(O){return function(){var x=O,T=x.lib,v=T.WordArray,S=T.Hasher,m=x.algo,f=[],c=m.SHA1=S.extend({_doReset:function(){this._hash=new v.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,a){for(var n=this._hash.words,e=n[0],s=n[1],t=n[2],i=n[3],l=n[4],u=0;u<80;u++){if(u<16)f[u]=r[a+u]|0;else{var h=f[u-3]^f[u-8]^f[u-14]^f[u-16];f[u]=h<<1|h>>>31}var p=(e<<5|e>>>27)+l+f[u];u<20?p+=(s&t|~s&i)+1518500249:u<40?p+=(s^t^i)+1859775393:u<60?p+=(s&t|s&i|t&i)-1894007588:p+=(s^t^i)-899497514,l=i,i=t,t=s<<30|s>>>2,s=e,e=p}n[0]=n[0]+e|0,n[1]=n[1]+s|0,n[2]=n[2]+t|0,n[3]=n[3]+i|0,n[4]=n[4]+l|0},_doFinalize:function(){var r=this._data,a=r.words,n=this._nDataBytes*8,e=r.sigBytes*8;return a[e>>>5]|=128<<24-e%32,a[(e+64>>>9<<4)+14]=Math.floor(n/4294967296),a[(e+64>>>9<<4)+15]=n,r.sigBytes=a.length*4,this._process(),this._hash},clone:function(){var r=S.clone.call(this);return r._hash=this._hash.clone(),r}});x.SHA1=S._createHelper(c),x.HmacSHA1=S._createHmacHelper(c)}(),O.SHA1})},"3zoK":function(U,P,d){var O=d("bYtY"),x=d("bLfw"),T=d("KCsZ"),v=d("nkfE"),S=d("OELB"),m=d("ICMv"),f=x.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return T([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(a){var n=this.activeIntervals=O.clone(a);if(n)for(var e=n.length-1;e>=0;e--)S.asc(n[e])},getActiveState:function(a){var n=this.activeIntervals;if(!n.length)return"normal";if(a==null||isNaN(a))return"inactive";if(n.length===1){var e=n[0];if(e[0]<=a&&a<=e[1])return"active"}else for(var s=0,t=n.length;s40&&(D=Math.max(1,Math.floor(L/40)));for(var N=_[0],R=E.dataToCoord(N+1)-E.dataToCoord(N),B=Math.abs(R*Math.cos(b)),M=Math.abs(R*Math.sin(b)),H=0,F=0;N<=_[1];N+=D){var K=0,j=0,V=x.getBoundingRect(w(N),C.font,"center","top");K=V.width*1.3,j=V.height*1.3,H=Math.max(H,K,7),F=Math.max(F,j,7)}var z=H/B,Y=F/M;isNaN(z)&&(z=Infinity),isNaN(Y)&&(Y=Infinity);var ee=Math.max(0,Math.floor(Math.min(z,Y))),fe=o(E.model),ie=E.getExtent(),we=fe.lastAutoInterval,Ce=fe.lastTickCount;return we!=null&&Ce!=null&&Math.abs(we-ee)<=1&&Math.abs(Ce-L)<=1&&we>ee&&fe.axisExtend0===ie[0]&&fe.axisExtend1===ie[1]?ee=we:(fe.lastTickCount=L,fe.lastAutoInterval=ee,fe.axisExtend0=ie[0],fe.axisExtend1=ie[1]),ee}function g(E){var C=E.getLabelModel();return{axisRotate:E.getRotate?E.getRotate():E.isHorizontal&&!E.isHorizontal()?90:0,labelRotate:C.get("rotate")||0,font:C.getFont()}}function A(E,C,w){var b=m(E),I=E.scale,_=I.getExtent(),L=E.getLabelModel(),D=[],N=Math.max((C||0)+1,1),R=_[0],B=I.count();R!==0&&N>1&&B/N>2&&(R=Math.round(Math.ceil(R/N)*N));var M=c(E),H=L.get("showMinLabel")||M,F=L.get("showMaxLabel")||M;H&&R!==_[0]&&j(_[0]);for(var K=R;K<=_[1];K+=N)j(K);F&&K-N!==_[1]&&j(_[1]);function j(V){D.push(w?V:{formattedLabel:b(V),rawLabel:I.getLabel(V),tickValue:V})}return D}function y(E,C,w){var b=E.scale,I=m(E),_=[];return O.each(b.getTicks(),function(L){var D=b.getLabel(L);C(L,D)&&_.push(w?L:{formattedLabel:I(L),rawLabel:D,tickValue:L})}),_}P.createAxisLabels=r,P.createAxisTicks=a,P.calculateCategoryInterval=p},"4NO4":function(U,P,d){var O=d("bYtY"),x=d("ItGF"),T=O.each,v=O.isObject,S=O.isArray,m="series\0";function f(w){return w instanceof Array?w:w==null?[]:[w]}function c(w,b,I){if(w){w[b]=w[b]||{},w.emphasis=w.emphasis||{},w.emphasis[b]=w.emphasis[b]||{};for(var _=0,L=I.length;_=I.length&&I.push({option:_})}),I}function e(w){var b=O.createHashMap();T(w,function(I,_){var L=I.exist;L&&b.set(L.id,I)}),T(w,function(I,_){var L=I.option;O.assert(!L||L.id==null||!b.get(L.id)||b.get(L.id)===I,"id duplicates: "+(L&&L.id)),L&&L.id!=null&&b.set(L.id,I),!I.keyInfo&&(I.keyInfo={})}),T(w,function(I,_){var L=I.exist,D=I.option,N=I.keyInfo;if(!v(D))return;if(N.name=D.name!=null?D.name+"":L?L.name:m+_,L)N.id=L.id;else if(D.id!=null)N.id=D.id+"";else{var R=0;do N.id="\0"+N.name+"\0"+R++;while(b.get(N.id))}b.set(N.id,I)})}function s(w){var b=w.name;return!!(b&&b.indexOf(m))}function t(w){return v(w)&&w.id&&(w.id+"").indexOf("\0_ec_\0")===0}function i(w,b){var I={},_={};return L(w||[],I),L(b||[],_,I),[D(I),D(_)];function L(N,R,B){for(var M=0,H=N.length;M=S[0]&&v<=S[1]},x.prototype.normalize=function(v){var S=this._extent;return S[1]===S[0]?.5:(v-S[0])/(S[1]-S[0])},x.prototype.scale=function(v){var S=this._extent;return v*(S[1]-S[0])+S[0]},x.prototype.unionExtent=function(v){var S=this._extent;v[0]S[1]&&(S[1]=v[1])},x.prototype.unionExtentFromData=function(v,S){this.unionExtent(v.getApproximateExtent(S))},x.prototype.getExtent=function(){return this._extent.slice()},x.prototype.setExtent=function(v,S){var m=this._extent;isNaN(v)||(m[0]=v),isNaN(S)||(m[1]=S)},x.prototype.isBlank=function(){return this._isBlank},x.prototype.setBlank=function(v){this._isBlank=v},x.prototype.getLabel=null,O.enableClassExtend(x),O.enableClassManagement(x,{registerWhenExtend:!0});var T=x;U.exports=T},"4fz+":function(U,P,d){var O=d("bYtY"),x=d("1bdT"),T=d("mFDi"),v=function(f){f=f||{},x.call(this,f);for(var c in f)f.hasOwnProperty(c)&&(this[c]=f[c]);this._children=[],this.__storage=null,this.__dirty=!0};v.prototype={constructor:v,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(f){return this._children[f]},childOfName:function(f){for(var c=this._children,o=0;o=0&&(o.splice(r,0,f),this._doAdd(f))}return this},_doAdd:function(f){f.parent&&f.parent.remove(f),f.parent=this;var c=this.__storage,o=this.__zr;c&&c!==f.__storage&&(c.addToStorage(f),f instanceof v&&f.addChildrenToStorage(c)),o&&o.refresh()},remove:function(f){var c=this.__zr,o=this.__storage,r=this._children,a=O.indexOf(r,f);return a<0?this:(r.splice(a,1),f.parent=null,o&&(o.delFromStorage(f),f instanceof v&&f.delChildrenFromStorage(o)),c&&c.refresh(),this)},removeAll:function(){var f=this._children,c=this.__storage,o,r;for(r=0;r1e-4){C[0]=u-p,C[1]=h-g,w[0]=u+p,w[1]=h+g;return}if(c[0]=m(A)*p+u,c[1]=S(A)*g+h,o[0]=m(y)*p+u,o[1]=S(y)*g+h,b(C,c,o),I(w,c,o),A=A%f,A<0&&(A=A+f),y=y%f,y<0&&(y=y+f),A>y&&!E?y+=f:AA&&(r[0]=m(D)*p+u,r[1]=S(D)*g+h,b(C,r,C),I(w,r,w))}P.fromPoints=a,P.fromLine=n,P.fromCubic=t,P.fromQuadratic=i,P.fromArc=l},"4vCz":function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("X2/X")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="PlusSquareOutlined";var c=v.forwardRef(f);P.default=c},"4xFK":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};P.default=O},"56rv":function(U,P,d){var O=d("IwbS"),x=d("x3X8"),T=x.getDefaultLabel;function v(m,f,c,o,r,a,n){var e=c.getModel("label"),s=c.getModel("emphasis.label");O.setLabelStyle(m,f,e,s,{labelFetcher:r,labelDataIndex:a,defaultText:T(r.getData(),a),isRectText:!0,autoColor:o}),S(m),S(f)}function S(m,f){m.textPosition==="outside"&&(m.textPosition=f)}P.setLabel=v},"59Ip":function(U,P,d){var O=d("Sj9i");function x(T,v,S,m,f,c,o,r,a,n,e){if(a===0)return!1;var s=a;if(e>v+s&&e>m+s&&e>c+s&&e>r+s||eT+s&&n>S+s&&n>f+s&&n>o+s||nc)return f[r];return f[o-1]}var m={clearColorPalette:function(){v(this).colorIdx=0,v(this).colorNameMap={}},getColorFromPalette:function(f,c,o){c=c||this;var r=v(c),a=r.colorIdx||0,n=r.colorNameMap=r.colorNameMap||{};if(n.hasOwnProperty(f))return n[f];var e=T(this.get("color",!0)),s=this.get("colorLayer",!0),t=o==null||!s?e:S(s,o);if(t=t||e,!t||!t.length)return;var i=t[a];return f&&(n[f]=i),r.colorIdx=(a+1)%t.length,i}};U.exports=m},"5NDa":function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("OnYD"),v=d.n(T),S=d("+L6B")},"5NHt":function(U,P,d){d("aTJb"),d("OlYY"),d("fc+c"),d("N5BQ"),d("IyUQ"),d("LBfv"),d("noeP")},"5OYt":function(U,P,d){"use strict";var O=d("J4zp"),x=d.n(O),T=d("q1tI"),v=d.n(T),S=d("ACnJ");function m(){var f=Object(T.useState)({}),c=x()(f,2),o=c[0],r=c[1];return Object(T.useEffect)(function(){var a=S.a.subscribe(function(n){r(n)});return function(){return S.a.unsubscribe(a)}},[]),o}P.a=m},"5RzL":function(U,P,d){"use strict";var O=d("pVnL"),x=d.n(O),T=d("lSNA"),v=d.n(T),S=d("lwsE"),m=d.n(S),f=d("W8MJ"),c=d.n(f),o=d("7W2i"),r=d.n(o),a=d("LQ03"),n=d.n(a),e=d("q1tI"),s=d.n(e),t=d("1OyB"),i=d("vuIU"),l=d("Ji7U"),u=d("LK+K"),h=d("KQm4"),p=d("U8pU"),g=d("ODXe"),A=d("VTBJ"),y=d("rePB"),E=d("Ff2n"),C=d("4IlW"),w=d("TSYQ"),b=d.n(w),I=d("6cGi"),_=d("bX4T"),L=d("8XRh"),D=function(sr){var cn=sr.className,Zt=sr.customizeIcon,Ar=sr.customizeIconProps,Nr=sr.onMouseDown,tn=sr.onClick,pn=sr.children,St;return typeof Zt=="function"?St=Zt(Ar):St=Zt,e.createElement("span",{className:cn,onMouseDown:function(fr){fr.preventDefault(),Nr&&Nr(fr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:tn,"aria-hidden":!0},St!==void 0?St:e.createElement("span",{className:b()(cn.split(/\s+/).map(function(cr){return"".concat(cr,"-icon")}))},pn))},N=D,R=d("c+Xe"),B=function(sr,cn){var Zt=sr.prefixCls,Ar=sr.id,Nr=sr.inputElement,tn=sr.disabled,pn=sr.tabIndex,St=sr.autoFocus,cr=sr.autoComplete,fr=sr.editable,Br=sr.accessibilityIndex,$r=sr.value,wn=sr.maxLength,rn=sr.onKeyDown,On=sr.onMouseDown,In=sr.onChange,Gn=sr.onPaste,fi=sr.onCompositionStart,Yn=sr.onCompositionEnd,gi=sr.open,vi=sr.attrs,Di=Nr||e.createElement("input",null),Mi=Di,xi=Mi.ref,bi=Mi.props,Ci=bi.onKeyDown,$i=bi.onChange,qi=bi.onMouseDown,Ti=bi.onCompositionStart,ia=bi.onCompositionEnd,na=bi.style;return Di=e.cloneElement(Di,Object(A.a)(Object(A.a)({id:Ar,ref:Object(R.a)(cn,xi),disabled:tn,tabIndex:pn,autoComplete:cr||"off",type:"search",autoFocus:St,className:"".concat(Zt,"-selection-search-input"),style:Object(A.a)(Object(A.a)({},na),{},{opacity:fr?null:0}),role:"combobox","aria-expanded":gi,"aria-haspopup":"listbox","aria-owns":"".concat(Ar,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ar,"_list"),"aria-activedescendant":"".concat(Ar,"_list_").concat(Br)},vi),{},{value:fr?$r:"",maxLength:wn,readOnly:!fr,unselectable:fr?null:"on",onKeyDown:function(Ki){rn(Ki),Ci&&Ci(Ki)},onMouseDown:function(Ki){On(Ki),qi&&qi(Ki)},onChange:function(Ki){In(Ki),$i&&$i(Ki)},onCompositionStart:function(Ki){fi(Ki),Ti&&Ti(Ki)},onCompositionEnd:function(Ki){Yn(Ki),ia&&ia(Ki)},onPaste:Gn})),Di},M=e.forwardRef(B);M.displayName="Input";var H=M;function F(dr){return Array.isArray(dr)?dr:dr!==void 0?[dr]:[]}function K(dr,sr){var cn=sr.labelInValue,Zt=sr.combobox;if(dr===void 0||dr===""&&Zt)return[];var Ar=Array.isArray(dr)?dr:[dr];return cn?Ar.map(function(Nr){var tn=Nr.key,pn=Nr.value;return pn!==void 0?pn:tn}):Ar}function j(dr,sr){var cn=sr.optionLabelProp,Zt=sr.labelInValue,Ar=sr.prevValue,Nr=sr.options,tn=sr.getLabeledValue,pn=dr;return Zt&&(pn=pn.map(function(St){return tn(St,{options:Nr,prevValue:Ar,labelInValue:Zt,optionLabelProp:cn})})),pn}function V(dr,sr){var cn=Object(h.a)(sr),Zt;for(Zt=dr.length-1;Zt>=0&&dr[Zt].disabled;Zt-=1);var Ar=null;return Zt!==-1&&(Ar=cn[Zt],cn.splice(Zt,1)),{values:cn,removedValue:Ar}}var z=typeof window!="undefined"&&window.document&&window.document.documentElement,Y=z,ee=0;function fe(){var dr;return Y?(dr=ee,ee+=1):dr="TEST_OR_SSR",dr}function ie(dr,sr){Y?e.useLayoutEffect(dr,sr):e.useEffect(dr,sr)}var we="__RC_SELECT_MAX_REST_COUNT__",Ce=function(sr){var cn=sr.id,Zt=sr.prefixCls,Ar=sr.values,Nr=sr.open,tn=sr.searchValue,pn=sr.inputRef,St=sr.placeholder,cr=sr.disabled,fr=sr.mode,Br=sr.showSearch,$r=sr.autoFocus,wn=sr.autoComplete,rn=sr.accessibilityIndex,On=sr.tabIndex,In=sr.removeIcon,Gn=sr.choiceTransitionName,fi=sr.maxTagCount,Yn=sr.maxTagTextLength,gi=sr.maxTagPlaceholder,vi=gi===void 0?function(Aa){return"+ ".concat(Aa.length," ...")}:gi,Di=sr.tagRender,Mi=sr.onSelect,xi=sr.onInputChange,bi=sr.onInputPaste,Ci=sr.onInputKeyDown,$i=sr.onInputMouseDown,qi=sr.onInputCompositionStart,Ti=sr.onInputCompositionEnd,ia=Object(e.useState)(!1),na=Object(g.a)(ia,2),Ui=na[0],Ki=na[1],ra=e.useRef(null),ea=Object(e.useState)(0),va=Object(g.a)(ea,2),sa=va[0],Pa=va[1],ka=Object(e.useState)(!1),Ia=Object(g.a)(ka,2),Ea=Ia[0],So=Ia[1];e.useEffect(function(){Ki(!0)},[]);var Ga=Nr||fr==="tags"?tn:"",Va=fr==="tags"||Br&&(Nr||Ea);ie(function(){Pa(ra.current.scrollWidth)},[Ga]);var Ra=Ar,po;typeof fi=="number"&&(po=Ar.length-fi,Ra=Ar.slice(0,fi)),typeof Yn=="number"&&(Ra=Ra.map(function(Aa){var Io=Aa.label,go=Object(E.a)(Aa,["label"]),Qa=Io;if(typeof Io=="string"||typeof Io=="number"){var wo=String(Qa);wo.length>Yn&&(Qa="".concat(wo.slice(0,Yn),"..."))}return Object(A.a)(Object(A.a)({},go),{},{label:Qa})})),po>0&&Ra.push({key:we,label:typeof vi=="function"?vi(Ar.slice(fi)):vi});var mo=e.createElement(L.a,{component:!1,keys:Ra,motionName:Gn,motionAppear:Ui},function(Aa){var Io=Aa.key,go=Aa.label,Qa=Aa.value,wo=Aa.disabled,pa=Aa.className,to=Aa.style,ao=Io||Qa,Bo=!cr&&Io!==we&&!wo,Ja=function(za){za.preventDefault(),za.stopPropagation()},_o=function(za){za&&za.stopPropagation(),Mi(Qa,{selected:!1})};return typeof Di=="function"?e.createElement("span",{key:ao,onMouseDown:Ja,className:pa,style:to},Di({label:go,value:Qa,disabled:wo,closable:Bo,onClose:_o})):e.createElement("span",{key:ao,className:b()(pa,"".concat(Zt,"-selection-item"),Object(y.a)({},"".concat(Zt,"-selection-item-disabled"),wo)),style:to},e.createElement("span",{className:"".concat(Zt,"-selection-item-content")},go),Bo&&e.createElement(N,{className:"".concat(Zt,"-selection-item-remove"),onMouseDown:Ja,onClick:_o,customizeIcon:In},"\xD7"))});return e.createElement(e.Fragment,null,mo,e.createElement("span",{className:"".concat(Zt,"-selection-search"),style:{width:sa},onFocus:function(){So(!0)},onBlur:function(){So(!1)}},e.createElement(H,{ref:pn,open:Nr,prefixCls:Zt,id:cn,inputElement:null,disabled:cr,autoFocus:$r,autoComplete:wn,editable:Va,accessibilityIndex:rn,value:Ga,onKeyDown:Ci,onMouseDown:$i,onChange:xi,onPaste:bi,onCompositionStart:qi,onCompositionEnd:Ti,tabIndex:On,attrs:Object(_.a)(sr,!0)}),e.createElement("span",{ref:ra,className:"".concat(Zt,"-selection-search-mirror"),"aria-hidden":!0},Ga,"\xA0")),!Ar.length&&!Ga&&e.createElement("span",{className:"".concat(Zt,"-selection-placeholder")},St))},Le=Ce,He=function(sr){var cn=sr.inputElement,Zt=sr.prefixCls,Ar=sr.id,Nr=sr.inputRef,tn=sr.disabled,pn=sr.autoFocus,St=sr.autoComplete,cr=sr.accessibilityIndex,fr=sr.mode,Br=sr.open,$r=sr.values,wn=sr.placeholder,rn=sr.tabIndex,On=sr.showSearch,In=sr.searchValue,Gn=sr.activeValue,fi=sr.maxLength,Yn=sr.onInputKeyDown,gi=sr.onInputMouseDown,vi=sr.onInputChange,Di=sr.onInputPaste,Mi=sr.onInputCompositionStart,xi=sr.onInputCompositionEnd,bi=e.useState(!1),Ci=Object(g.a)(bi,2),$i=Ci[0],qi=Ci[1],Ti=fr==="combobox",ia=Ti||On,na=$r[0],Ui=In||"";Ti&&Gn&&!$i&&(Ui=Gn),e.useEffect(function(){Ti&&qi(!1)},[Ti,Gn]);var Ki=fr!=="combobox"&&!Br?!1:!!Ui,ra=na&&(typeof na.label=="string"||typeof na.label=="number")?na.label.toString():void 0;return e.createElement(e.Fragment,null,e.createElement("span",{className:"".concat(Zt,"-selection-search")},e.createElement(H,{ref:Nr,prefixCls:Zt,id:Ar,open:Br,inputElement:cn,disabled:tn,autoFocus:pn,autoComplete:St,editable:ia,accessibilityIndex:cr,value:Ui,onKeyDown:Yn,onMouseDown:gi,onChange:function(va){qi(!0),vi(va)},onPaste:Di,onCompositionStart:Mi,onCompositionEnd:xi,tabIndex:rn,attrs:Object(_.a)(sr,!0),maxLength:Ti?fi:void 0})),!Ti&&na&&!Ki&&e.createElement("span",{className:"".concat(Zt,"-selection-item"),title:ra},na.label),!na&&!Ki&&e.createElement("span",{className:"".concat(Zt,"-selection-placeholder")},wn))},ce=He;function Pe(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,sr=e.useRef(null),cn=e.useRef(null);e.useEffect(function(){return function(){window.clearTimeout(cn.current)}},[]);function Zt(Ar){(Ar||sr.current===null)&&(sr.current=Ar),window.clearTimeout(cn.current),cn.current=window.setTimeout(function(){sr.current=null},dr)}return[function(){return sr.current},Zt]}var Q=function(sr,cn){var Zt=Object(e.useRef)(null),Ar=Object(e.useRef)(!1),Nr=sr.prefixCls,tn=sr.multiple,pn=sr.open,St=sr.mode,cr=sr.showSearch,fr=sr.tokenWithEnter,Br=sr.onSearch,$r=sr.onSearchSubmit,wn=sr.onToggleOpen,rn=sr.onInputKeyDown,On=sr.domRef;e.useImperativeHandle(cn,function(){return{focus:function(){Zt.current.focus()},blur:function(){Zt.current.blur()}}});var In=Pe(0),Gn=Object(g.a)(In,2),fi=Gn[0],Yn=Gn[1],gi=function(Ki){var ra=Ki.which;(ra===C.a.UP||ra===C.a.DOWN)&&Ki.preventDefault(),rn&&rn(Ki),ra===C.a.ENTER&&St==="tags"&&!Ar.current&&!pn&&$r(Ki.target.value),[C.a.SHIFT,C.a.TAB,C.a.BACKSPACE,C.a.ESC].includes(ra)||wn(!0)},vi=function(){Yn(!0)},Di=Object(e.useRef)(null),Mi=function(Ki){Br(Ki,!0,Ar.current)!==!1&&wn(!0)},xi=function(){Ar.current=!0},bi=function(){Ar.current=!1},Ci=function(Ki){var ra=Ki.target.value;if(fr&&Di.current&&/[\r\n]/.test(Di.current)){var ea=Di.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");ra=ra.replace(ea,Di.current)}Di.current=null,Mi(ra)},$i=function(Ki){var ra=Ki.clipboardData,ea=ra.getData("text");Di.current=ea},qi=function(Ki){var ra=Ki.target;if(ra!==Zt.current){var ea=document.body.style.msTouchAction!==void 0;ea?setTimeout(function(){Zt.current.focus()}):Zt.current.focus()}},Ti=function(Ki){var ra=fi();Ki.target!==Zt.current&&!ra&&Ki.preventDefault(),(St!=="combobox"&&(!cr||!ra)||!pn)&&(pn&&Br("",!0,!1),wn())},ia={inputRef:Zt,onInputKeyDown:gi,onInputMouseDown:vi,onInputChange:Ci,onInputPaste:$i,onInputCompositionStart:xi,onInputCompositionEnd:bi},na=tn?e.createElement(Le,Object.assign({},sr,ia)):e.createElement(ce,Object.assign({},sr,ia));return e.createElement("div",{ref:On,className:"".concat(Nr,"-selector"),onClick:qi,onMouseDown:Ti},na)},me=e.forwardRef(Q);me.displayName="Selector";var Je=me,re=d("uciX"),G=function(sr){var cn=typeof sr!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:cn,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:cn,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:cn,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:cn,adjustY:1}}}},X=function(sr,cn){var Zt=sr.prefixCls,Ar=sr.disabled,Nr=sr.visible,tn=sr.children,pn=sr.popupElement,St=sr.containerWidth,cr=sr.animation,fr=sr.transitionName,Br=sr.dropdownStyle,$r=sr.dropdownClassName,wn=sr.direction,rn=wn===void 0?"ltr":wn,On=sr.dropdownMatchSelectWidth,In=On===void 0?!0:On,Gn=sr.dropdownRender,fi=sr.dropdownAlign,Yn=sr.getPopupContainer,gi=sr.empty,vi=sr.getTriggerDOMNode,Di=Object(E.a)(sr,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Mi="".concat(Zt,"-dropdown"),xi=pn;Gn&&(xi=Gn(pn));var bi=e.useMemo(function(){return G(In)},[In]),Ci=cr?"".concat(Mi,"-").concat(cr):fr,$i=e.useRef(null);e.useImperativeHandle(cn,function(){return{getPopupElement:function(){return $i.current}}});var qi=Object(A.a)({minWidth:St},Br);return typeof In=="number"?qi.width=In:In&&(qi.width=St),e.createElement(re.a,Object.assign({},Di,{showAction:[],hideAction:[],popupPlacement:rn==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:bi,prefixCls:Mi,popupTransitionName:Ci,popup:e.createElement("div",{ref:$i},xi),popupAlign:fi,popupVisible:Nr,getPopupContainer:Yn,popupClassName:b()($r,Object(y.a)({},"".concat(Mi,"-empty"),gi)),popupStyle:qi,getTriggerDOMNode:vi}),tn)},J=e.forwardRef(X);J.displayName="SelectTrigger";var Ae=J,he="RC_SELECT_INTERNAL_PROPS_MARK";function Me(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,sr=e.useState(!1),cn=Object(g.a)(sr,2),Zt=cn[0],Ar=cn[1],Nr=e.useRef(null),tn=function(){window.clearTimeout(Nr.current)};e.useEffect(function(){return tn},[]);var pn=function(cr,fr){tn(),Nr.current=window.setTimeout(function(){Ar(cr),fr&&fr()},dr)};return[Zt,pn,tn]}var Ie=d("T5bk"),oe=d("Kwbf");function pe(dr,sr){var cn=dr.key,Zt;return"value"in dr&&(Zt=dr.value),cn!=null?cn:Zt!==void 0?Zt:"rc-index-key-".concat(sr)}function Oe(dr){var sr=[];function cn(Zt,Ar){Zt.forEach(function(Nr){Ar||!("options"in Nr)?sr.push({key:pe(Nr,sr.length),groupOption:Ar,data:Nr}):(sr.push({key:pe(Nr,sr.length),group:!0,data:Nr}),cn(Nr.options,!0))})}return cn(dr,!1),sr}function Ye(dr){var sr=Object(A.a)({},dr);return"props"in sr||Object.defineProperty(sr,"props",{get:function(){return Object(oe.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),sr}}),sr}function it(dr,sr){var cn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Zt=cn.prevValueOptions,Ar=Zt===void 0?[]:Zt,Nr=new Map;return sr.forEach(function(tn){if(!tn.group){var pn=tn.data;Nr.set(pn.value,pn)}}),dr.map(function(tn){var pn=Nr.get(tn);return pn||(pn=Object(A.a)({},Ar.find(function(St){return St._INTERNAL_OPTION_VALUE_===tn}))),Ye(pn)})}var et=function(sr,cn){var Zt=cn.options,Ar=cn.prevValue,Nr=cn.labelInValue,tn=cn.optionLabelProp,pn=it([sr],Zt)[0],St={value:sr},cr,fr=F(Ar);return Nr&&(cr=fr.find(function(Br){return Object(p.a)(Br)==="object"&&"value"in Br?Br.value===sr:Br.key===sr})),cr&&Object(p.a)(cr)==="object"&&"label"in cr?(St.label=cr.label,pn&&typeof cr.label=="string"&&typeof pn[tn]=="string"&&cr.label.trim()!==pn[tn].trim()&&Object(oe.a)(!1,"`label` of `value` is not same as `label` in Select options.")):pn&&tn in pn?St.label=pn[tn]:St.label=sr,St.key=St.value,St};function Te(dr){return F(dr).join("")}function tt(dr){return function(sr,cn){var Zt=sr.toLowerCase();if("options"in cn)return Te(cn.label).toLowerCase().includes(Zt);var Ar=cn[dr],Nr=Te(Ar).toLowerCase();return Nr.includes(Zt)}}function ze(dr,sr,cn){var Zt=cn.optionFilterProp,Ar=cn.filterOption,Nr=[],tn;return Ar===!1?Object(h.a)(sr):(typeof Ar=="function"?tn=Ar:tn=tt(Zt),sr.forEach(function(pn){if("options"in pn){var St=tn(dr,pn);if(St)Nr.push(pn);else{var cr=pn.options.filter(function(fr){return tn(dr,fr)});cr.length&&Nr.push(Object(A.a)(Object(A.a)({},pn),{},{options:cr}))}return}tn(dr,Ye(pn))&&Nr.push(pn)}),Nr)}function dt(dr,sr){if(!sr||!sr.length)return null;var cn=!1;function Zt(Nr,tn){var pn=Object(Ie.a)(tn),St=pn[0],cr=pn.slice(1);if(!St)return[Nr];var fr=Nr.split(St);return cn=cn||fr.length>1,fr.reduce(function(Br,$r){return[].concat(Object(h.a)(Br),Object(h.a)(Zt($r,cr)))},[]).filter(function(Br){return Br})}var Ar=Zt(dr,sr);return cn?Ar:null}function Ot(dr,sr){var cn=it([dr],sr)[0];return cn.disabled}function Tt(dr,sr,cn,Zt){var Ar=F(sr).slice().sort(),Nr=Object(h.a)(dr),tn=new Set;return dr.forEach(function(pn){pn.options?pn.options.forEach(function(St){tn.add(St.value)}):tn.add(pn.value)}),Ar.forEach(function(pn){var St=Zt?pn.value:pn;if(!tn.has(St)){var cr;Nr.push(Zt?(cr={},Object(y.a)(cr,cn,pn.label),Object(y.a)(cr,"value",St),cr):{value:St})}}),Nr}function Ct(dr,sr,cn){var Zt=e.useRef(null);Zt.current={elements:dr.filter(function(Ar){return Ar}),open:sr,triggerOpen:cn},e.useEffect(function(){function Ar(Nr){var tn=Nr.target;Zt.current.open&&Zt.current.elements.every(function(pn){return!pn.contains(tn)&&pn!==tn})&&Zt.current.triggerOpen(!1)}return window.addEventListener("mousedown",Ar),function(){return window.removeEventListener("mousedown",Ar)}},[])}function Nt(dr){var sr=e.useRef(dr),cn=e.useMemo(function(){var Zt=new Map;sr.current.forEach(function(Nr){var tn=Nr.value,pn=Nr.label;tn!==pn&&Zt.set(tn,pn)});var Ar=dr.map(function(Nr){var tn=Zt.get(Nr.value);return Nr.value===Nr.label&&tn?Object(A.a)(Object(A.a)({},Nr),{},{label:tn}):Nr});return sr.current=Ar,Ar},[dr]);return cn}function Be(dr,sr){var cn=e.useRef(null),Zt=e.useMemo(function(){var Nr=new Map;return sr.forEach(function(tn){var pn=tn.data.value;Nr.set(pn,tn)}),Nr},[dr,sr]);cn.current=Zt;var Ar=function(tn){return tn.map(function(pn){return cn.current.get(pn)}).filter(Boolean)};return Ar}var $=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function Z(dr){var sr=dr.prefixCls,cn=dr.components.optionList,Zt=dr.convertChildrenToData,Ar=dr.flattenOptions,Nr=dr.getLabeledValue,tn=dr.filterOptions,pn=dr.isValueDisabled,St=dr.findValueOption,cr=dr.warningProps,fr=dr.fillOptionsWithMissingValue,Br=dr.omitDOMProps;function $r(rn,On){var In,Gn=rn.prefixCls,fi=Gn===void 0?sr:Gn,Yn=rn.className,gi=rn.id,vi=rn.open,Di=rn.defaultOpen,Mi=rn.options,xi=rn.children,bi=rn.mode,Ci=rn.value,$i=rn.defaultValue,qi=rn.labelInValue,Ti=rn.showSearch,ia=rn.inputValue,na=rn.searchValue,Ui=rn.filterOption,Ki=rn.filterSort,ra=rn.optionFilterProp,ea=ra===void 0?"value":ra,va=rn.autoClearSearchValue,sa=va===void 0?!0:va,Pa=rn.onSearch,ka=rn.allowClear,Ia=rn.clearIcon,Ea=rn.showArrow,So=rn.inputIcon,Ga=rn.menuItemSelectedIcon,Va=rn.disabled,Ra=rn.loading,po=rn.defaultActiveFirstOption,mo=rn.notFoundContent,Aa=mo===void 0?"Not Found":mo,Io=rn.optionLabelProp,go=rn.backfill,Qa=rn.getInputElement,wo=rn.getPopupContainer,pa=rn.listHeight,to=pa===void 0?200:pa,ao=rn.listItemHeight,Bo=ao===void 0?20:ao,Ja=rn.animation,_o=rn.transitionName,Ao=rn.virtual,za=rn.dropdownStyle,ja=rn.dropdownClassName,da=rn.dropdownMatchSelectWidth,rt=rn.dropdownRender,ar=rn.dropdownAlign,Fr=rn.showAction,Ir=Fr===void 0?[]:Fr,En=rn.direction,zr=rn.tokenSeparators,yr=rn.tagRender,Cn=rn.onPopupScroll,Pr=rn.onDropdownVisibleChange,xn=rn.onFocus,Qn=rn.onBlur,$n=rn.onKeyUp,Kn=rn.onKeyDown,si=rn.onMouseDown,Xn=rn.onChange,ti=rn.onSelect,di=rn.onDeselect,Bi=rn.onClear,yi=rn.internalProps,Xi=yi===void 0?{}:yi,ba=Object(E.a)(rn,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),ta=Xi.mark===he,Qi=Br?Br(ba):ba;$.forEach(function(lo){delete Qi[lo]});var aa=Object(e.useRef)(null),fa=Object(e.useRef)(null),xo=Object(e.useRef)(null),Za=Object(e.useRef)(null),Wi=Object(e.useMemo)(function(){return(zr||[]).some(function(lo){return[` `,`\r `].includes(lo)})},[zr]),Gi=Me(),ca=Object(g.a)(Gi,3),ya=ca[0],Xa=ca[1],_a=ca[2],qa=Object(e.useState)(),ro=Object(g.a)(qa,2),Uo=ro[0],zo=ro[1];Object(e.useEffect)(function(){zo("rc_select_".concat(fe()))},[]);var hs=gi||Uo,Po=Io;Po===void 0&&(Po=Mi?"label":"children");var Mo=bi==="combobox"?!1:qi,Fa=bi==="tags"||bi==="multiple",$a=Ti!==void 0?Ti:Fa||bi==="combobox",Ca=Object(e.useRef)(null);e.useImperativeHandle(On,function(){return{focus:xo.current.focus,blur:xo.current.blur}});var Eo=Object(I.a)($i,{value:Ci}),qo=Object(g.a)(Eo,2),vo=qo[0],rs=qo[1],ho=Object(e.useMemo)(function(){return K(vo,{labelInValue:Mo,combobox:bi==="combobox"})},[vo,Mo]),No=Object(e.useMemo)(function(){return new Set(ho)},[ho]),us=Object(e.useState)(null),jo=Object(g.a)(us,2),Qo=jo[0],on=jo[1],Fi=Object(e.useState)(""),Bs=Object(g.a)(Fi,2),ws=Bs[0],cs=Bs[1],Vo=ws;bi==="combobox"&&vo!==void 0?Vo=vo:na!==void 0?Vo=na:ia&&(Vo=ia);var vs=Object(e.useMemo)(function(){var lo=Mi;return lo===void 0&&(lo=Zt(xi)),bi==="tags"&&fr&&(lo=fr(lo,vo,Po,qi)),lo||[]},[Mi,xi,bi,vo]),Ss=Object(e.useMemo)(function(){return Ar(vs,rn)},[vs]),ns=Be(ho,Ss),es=Object(e.useMemo)(function(){if(!Vo||!$a)return Object(h.a)(vs);var lo=tn(Vo,vs,{optionFilterProp:ea,filterOption:bi==="combobox"&&Ui===void 0?function(){return!0}:Ui});return bi==="tags"&&lo.every(function(Ka){return Ka[ea]!==Vo})&&lo.unshift({value:Vo,label:Vo,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Ki&&Array.isArray(lo)?Object(h.a)(lo).sort(Ki):lo},[vs,Vo,bi,$a,Ki]),fs=Object(e.useMemo)(function(){return Ar(es,rn)},[es]);Object(e.useEffect)(function(){Za.current&&Za.current.scrollTo&&Za.current.scrollTo(0)},[Vo]);var ys=Object(e.useMemo)(function(){var lo=ho.map(function(Ka){var Fo=ns([Ka]),Ko=Nr(Ka,{options:Fo,prevValue:vo,labelInValue:Mo,optionLabelProp:Po});return Object(A.a)(Object(A.a)({},Ko),{},{disabled:pn(Ka,Fo)})});return!bi&&lo.length===1&&lo[0].value===null&&lo[0].label===null?[]:lo},[vo,vs,bi]);ys=Nt(ys);var ds=function(Ka,Fo,Ko){var Wo=ns([Ka]),Co=St([Ka],Wo)[0];if(!Xi.skipTriggerSelect){var is=Mo?Nr(Ka,{options:Wo,prevValue:vo,labelInValue:Mo,optionLabelProp:Po}):Ka;Fo&&ti?ti(is,Co):!Fo&&di&&di(is,Co)}ta&&(Fo&&Xi.onRawSelect?Xi.onRawSelect(Ka,Co,Ko):!Fo&&Xi.onRawDeselect&&Xi.onRawDeselect(Ka,Co,Ko))},yo=Object(e.useState)([]),no=Object(g.a)(yo,2),Jo=no[0],Go=no[1],xt=function(Ka){if(ta&&Xi.skipTriggerChange)return;var Fo=ns(Ka),Ko=j(Array.from(Ka),{labelInValue:Mo,options:Fo,getLabeledValue:Nr,prevValue:vo,optionLabelProp:Po}),Wo=Fa?Ko:Ko[0];if(Xn&&(ho.length!==0||Ko.length!==0)){var Co=St(Ka,Fo,{prevValueOptions:Jo});Go(Co.map(function(is,ms){var Rs=Object(A.a)({},is);return Object.defineProperty(Rs,"_INTERNAL_OPTION_VALUE_",{get:function(){return Ka[ms]}}),Rs})),Xn(Wo,Fa?Co:Co[0])}rs(Wo)},Ft=function(Ka,Fo){var Ko=Fo.selected,Wo=Fo.source;if(Va)return;var Co;Fa?(Co=new Set(ho),Ko?Co.add(Ka):Co.delete(Ka)):(Co=new Set,Co.add(Ka)),(Fa||!Fa&&Array.from(ho)[0]!==Ka)&&xt(Array.from(Co)),ds(Ka,!Fa||Ko,Wo),bi==="combobox"?(cs(String(Ka)),on("")):(!Fa||sa)&&(cs(""),on(""))},An=function(Ka,Fo){Ft(Ka,Object(A.a)(Object(A.a)({},Fo),{},{source:"option"}))},Hn=function(Ka,Fo){Ft(Ka,Object(A.a)(Object(A.a)({},Fo),{},{source:"selection"}))},hi=bi==="combobox"&&Qa&&Qa()||null,At=Object(I.a)(void 0,{defaultValue:Di,value:vi}),se=Object(g.a)(At,2),ge=se[0],Se=se[1],We=ge,vt=!Aa&&!es.length;(Va||vt&&We&&bi==="combobox")&&(We=!1);var Yt=vt?!1:We,Rr=function(Ka){var Fo=Ka!==void 0?Ka:!We;ge!==Fo&&!Va&&(Se(Fo),Pr&&Pr(Fo))};Ct([aa.current,fa.current&&fa.current.getPopupElement()],Yt,Rr);var Yr=function(Ka,Fo,Ko){var Wo=!0,Co=Ka;on(null);var is=Ko?null:dt(Ka,zr),ms=is;if(bi==="combobox")Fo&&xt([Co]);else if(is){Co="",bi!=="tags"&&(ms=is.map(function(Us){var el=Ss.find(function(Qs){var tl=Qs.data;return tl[Po]===Us});return el?el.data.value:null}).filter(function(Us){return Us!==null}));var Rs=Array.from(new Set([].concat(Object(h.a)(ho),Object(h.a)(ms))));xt(Rs),Rs.forEach(function(Us){ds(Us,!0,"input")}),Rr(!1),Wo=!1}return cs(Co),Pa&&Vo!==Co&&Pa(Co),Wo},mn=function(Ka){var Fo=Array.from(new Set([].concat(Object(h.a)(ho),[Ka])));xt(Fo),Fo.forEach(function(Ko){ds(Ko,!0,"input")}),cs("")};Object(e.useEffect)(function(){ge&&!!Va&&Se(!1)},[Va]),Object(e.useEffect)(function(){!We&&!Fa&&bi!=="combobox"&&Yr("",!1,!1)},[We]);var Wn=Pe(),Jn=Object(g.a)(Wn,2),ri=Jn[0],Ii=Jn[1],Yi=function(Ka){var Fo=ri(),Ko=Ka.which;if(!We&&Ko===C.a.ENTER&&Rr(!0),Ii(!!Vo),Ko===C.a.BACKSPACE&&!Fo&&Fa&&!Vo&&ho.length){var Wo=V(ys,ho);Wo.removedValue!==null&&(xt(Wo.values),ds(Wo.removedValue,!1,"input"))}for(var Co=arguments.length,is=new Array(Co>1?Co-1:0),ms=1;ms1?Fo-1:0),Wo=1;Wo1?Co-1:0),ms=1;ms2&&arguments[2]!==void 0?arguments[2]:{},Wo=Ko.source,Co=Wo===void 0?"keyboard":Wo;Ya(Fo),go&&bi==="combobox"&&Ka!==null&&Co==="keyboard"&&on(String(Ka))},$o=Object(e.useState)(null),Ds=Object(g.a)($o,2),Hs=Ds[0],xs=Ds[1],Xo=Object(e.useState)({}),Js=Object(g.a)(Xo,2),Cs=Js[1];function fl(){Cs({})}ie(function(){if(Yt){var lo=Math.ceil(aa.current.offsetWidth);Hs!==lo&&xs(lo)}},[Yt]);var sl=e.createElement(cn,{ref:Za,prefixCls:fi,id:hs,open:We,childrenAsData:!Mi,options:es,flattenOptions:fs,multiple:Fa,values:No,height:to,itemHeight:Bo,onSelect:An,onToggleOpen:Rr,onActiveValue:ts,defaultActiveFirstOption:ps,notFoundContent:Aa,onScroll:Cn,searchValue:Vo,menuItemSelectedIcon:Ga,virtual:Ao!==!1&&da!==!1,onMouseEnter:fl}),Ks,as=function(){ta&&Xi.onClear&&Xi.onClear(),Bi&&Bi(),xt([]),Yr("",!1,!1)};!Va&&ka&&(ho.length||Vo)&&(Ks=e.createElement(N,{className:"".concat(fi,"-clear"),onMouseDown:as,customizeIcon:Ia},"\xD7"));var ha=Ea!==void 0?Ea:Ra||!Fa&&bi!=="combobox",Zs;ha&&(Zs=e.createElement(N,{className:b()("".concat(fi,"-arrow"),Object(y.a)({},"".concat(fi,"-arrow-loading"),Ra)),customizeIcon:So,customizeIconProps:{loading:Ra,searchValue:Vo,open:We,focused:ya,showSearch:$a}}));var ll=b()(fi,Yn,(In={},Object(y.a)(In,"".concat(fi,"-focused"),ya),Object(y.a)(In,"".concat(fi,"-multiple"),Fa),Object(y.a)(In,"".concat(fi,"-single"),!Fa),Object(y.a)(In,"".concat(fi,"-allow-clear"),ka),Object(y.a)(In,"".concat(fi,"-show-arrow"),ha),Object(y.a)(In,"".concat(fi,"-disabled"),Va),Object(y.a)(In,"".concat(fi,"-loading"),Ra),Object(y.a)(In,"".concat(fi,"-open"),We),Object(y.a)(In,"".concat(fi,"-customize-input"),hi),Object(y.a)(In,"".concat(fi,"-show-search"),$a),In));return e.createElement("div",Object.assign({className:ll},Qi,{ref:aa,onMouseDown:Zo,onKeyDown:Yi,onKeyUp:ma,onFocus:uo,onBlur:bo}),ya&&!We&&e.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(ho.join(", "))),e.createElement(Ae,{ref:fa,disabled:Va,prefixCls:fi,visible:Yt,popupElement:sl,containerWidth:Hs,animation:Ja,transitionName:_o,dropdownStyle:za,dropdownClassName:ja,direction:En,dropdownMatchSelectWidth:da,dropdownRender:rt,dropdownAlign:ar,getPopupContainer:wo,empty:!vs.length,getTriggerDOMNode:function(){return Ca.current}},e.createElement(Je,Object.assign({},rn,{domRef:Ca,prefixCls:fi,inputElement:hi,ref:xo,id:hs,showSearch:$a,mode:bi,accessibilityIndex:Ha,multiple:Fa,tagRender:yr,values:ys,open:We,onToggleOpen:Rr,searchValue:Vo,activeValue:Qo,onSearch:Yr,onSearchSubmit:mn,onSelect:Hn,tokenWithEnter:Wi}))),Zs,Ks)}var wn=e.forwardRef($r);return wn}var Re=d("Zm9Q"),De=d("JX7q"),ae=e.createContext(null),gt=function(sr){var cn=sr.prefixCls,Zt=sr.level,Ar=sr.isStart,Nr=sr.isEnd;if(!Zt)return null;for(var tn="".concat(cn,"-indent-unit"),pn=[],St=0;St=0&&cn.splice(Zt,1),cn}function Ur(dr,sr){var cn=dr.slice();return cn.indexOf(sr)===-1&&cn.push(sr),cn}function yn(dr){return dr.split("-")}function Dn(dr,sr){return"".concat(dr,"-").concat(sr)}function Un(dr){return dr&&dr.type&&dr.type.isTreeNode}function wi(dr,sr){var cn=[dr],Zt=sr[dr];function Ar(){var Nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Nr.forEach(function(tn){var pn=tn.key,St=tn.children;cn.push(pn),Ar(St)})}return Ar(Zt.children),cn}function Rn(dr,sr){var cn=dr.clientY,Zt=sr.selectHandle.getBoundingClientRect(),Ar=Zt.top,Nr=Zt.bottom,tn=Zt.height,pn=Math.max(tn*$t,Xt);return cn<=Ar+pn?-1:cn>=Nr-pn?1:0}function kn(dr,sr){if(!dr)return;var cn=sr.multiple;return cn?dr.slice():dr.length?[dr[0]]:dr}var Vn=function(sr){return sr};function Gt(dr,sr){if(!dr)return[];var cn=sr||{},Zt=cn.processProps,Ar=Zt===void 0?Vn:Zt,Nr=Array.isArray(dr)?dr:[dr];return Nr.map(function(tn){var pn=tn.children,St=Object(E.a)(tn,["children"]),cr=Gt(pn,sr);return s.a.createElement(vr,Object.assign({},Ar(St)),cr)})}function st(dr){if(!dr)return null;var sr;if(Array.isArray(dr))sr={checkedKeys:dr,halfCheckedKeys:void 0};else if(Object(p.a)(dr)==="object")sr={checkedKeys:dr.checked||void 0,halfCheckedKeys:dr.halfChecked||void 0};else return Object(oe.a)(!1,"`checkedKeys` is not an array or an object"),null;return sr}function ue(dr,sr){var cn=new Set;function Zt(Ar){if(cn.has(Ar))return;var Nr=sr[Ar];if(!Nr)return;cn.add(Ar);var tn=Nr.parent,pn=Nr.node;if(pn.disabled)return;tn&&Zt(tn.key)}return(dr||[]).forEach(function(Ar){Zt(Ar)}),Object(h.a)(cn)}function Ee(dr){var sr={};return Object.keys(dr).forEach(function(cn){(cn.startsWith("data-")||cn.startsWith("aria-"))&&(sr[cn]=dr[cn])}),sr}function je(dr,sr){return dr!=null?dr:sr}function Ve(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],sr=new Map;function cn(Zt){var Ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Zt||[]).forEach(function(Nr){var tn=Nr.key,pn=Nr.children;Object(oe.a)(tn!=null,"Tree node must have a certain key: [".concat(Ar).concat(tn,"]"));var St=String(tn);Object(oe.a)(!sr.has(St)||tn===null||tn===void 0,"Same 'key' exist in the Tree: ".concat(St)),sr.set(St,!0),cn(pn,"".concat(Ar).concat(St," > "))})}cn(dr)}function $e(dr){function sr(cn){var Zt=Object(Re.a)(cn);return Zt.map(function(Ar){if(!Un(Ar))return Object(oe.a)(!Ar,"Tree/TreeNode can only accept TreeNode as children."),null;var Nr=Ar.key,tn=Ar.props,pn=tn.children,St=Object(E.a)(tn,["children"]),cr=Object(A.a)({key:Nr},St),fr=sr(pn);return fr.length&&(cr.children=fr),cr}).filter(function(Ar){return Ar})}return sr(dr)}function wt(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],cn=new Set(sr===!0?[]:sr),Zt=[];function Ar(Nr){var tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Nr.map(function(pn,St){var cr=Dn(tn?tn.pos:"0",St),fr=je(pn.key,cr),Br=Object(A.a)(Object(A.a)({},pn),{},{parent:tn,pos:cr,children:null,data:pn,isStart:[].concat(Object(h.a)(tn?tn.isStart:[]),[St===0]),isEnd:[].concat(Object(h.a)(tn?tn.isEnd:[]),[St===Nr.length-1])});return Zt.push(Br),sr===!0||cn.has(fr)?Br.children=Ar(pn.children||[],Br):Br.children=[],Br})}return Ar(dr),Zt}function qt(dr,sr,cn){var Zt;cn?typeof cn=="string"?Zt=function(tn){return tn[cn]}:typeof cn=="function"&&(Zt=function(tn){return cn(tn)}):Zt=function(tn,pn){return je(tn.key,pn)};function Ar(Nr,tn,pn){var St=Nr?Nr.children:dr,cr=Nr?Dn(pn.pos,tn):"0";if(Nr){var fr=Zt(Nr,cr),Br={node:Nr,index:tn,pos:cr,key:fr,parentPos:pn.node?pn.pos:null,level:pn.level+1};sr(Br)}St&&St.forEach(function($r,wn){Ar($r,wn,{node:Nr,pos:cr,level:pn?pn.level+1:-1})})}Ar(null)}function Mr(dr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},cn=sr.initWrapper,Zt=sr.processEntity,Ar=sr.onProcessFinished,Nr=arguments.length>2?arguments[2]:void 0,tn={},pn={},St={posEntities:tn,keyEntities:pn};return cn&&(St=cn(St)||St),qt(dr,function(cr){var fr=cr.node,Br=cr.index,$r=cr.pos,wn=cr.key,rn=cr.parentPos,On=cr.level,In={node:fr,index:Br,key:wn,pos:$r,level:On},Gn=je(wn,$r);tn[$r]=In,pn[Gn]=In,In.parent=tn[rn],In.parent&&(In.parent.children=In.parent.children||[],In.parent.children.push(In)),Zt&&Zt(In,St)},Nr),Ar&&Ar(St),St}function an(dr,sr){var cn=sr.expandedKeys,Zt=sr.selectedKeys,Ar=sr.loadedKeys,Nr=sr.loadingKeys,tn=sr.checkedKeys,pn=sr.halfCheckedKeys,St=sr.dragOverNodeKey,cr=sr.dropPosition,fr=sr.keyEntities,Br=fr[dr],$r={eventKey:dr,expanded:cn.indexOf(dr)!==-1,selected:Zt.indexOf(dr)!==-1,loaded:Ar.indexOf(dr)!==-1,loading:Nr.indexOf(dr)!==-1,checked:tn.indexOf(dr)!==-1,halfChecked:pn.indexOf(dr)!==-1,pos:String(Br?Br.pos:""),dragOver:St===dr&&cr===0,dragOverGapTop:St===dr&&cr===-1,dragOverGapBottom:St===dr&&cr===1};return $r}function _t(dr){var sr=dr.data,cn=dr.expanded,Zt=dr.selected,Ar=dr.checked,Nr=dr.loaded,tn=dr.loading,pn=dr.halfChecked,St=dr.dragOver,cr=dr.dragOverGapTop,fr=dr.dragOverGapBottom,Br=dr.pos,$r=dr.active,wn=Object(A.a)(Object(A.a)({},sr),{},{expanded:cn,selected:Zt,checked:Ar,loaded:Nr,loading:tn,halfChecked:pn,dragOver:St,dragOverGapTop:cr,dragOverGapBottom:fr,pos:Br,active:$r});return"props"in wn||Object.defineProperty(wn,"props",{get:function(){return Object(oe.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),dr}}),wn}function at(dr,sr){var cn=new Set;return dr.forEach(function(Zt){sr.has(Zt)||cn.add(Zt)}),cn}function bt(dr){var sr=dr||{},cn=sr.disabled,Zt=sr.disableCheckbox,Ar=sr.checkable;return!!(cn||Zt)||Ar===!1}function kt(dr,sr,cn,Zt){for(var Ar=new Set(dr),Nr=new Set,tn=0;tn<=cn;tn+=1){var pn=sr.get(tn)||new Set;pn.forEach(function(Br){var $r=Br.key,wn=Br.node,rn=Br.children,On=rn===void 0?[]:rn;Ar.has($r)&&!Zt(wn)&&On.filter(function(In){return!Zt(In.node)}).forEach(function(In){Ar.add(In.key)})})}for(var St=new Set,cr=cn;cr>=0;cr-=1){var fr=sr.get(cr)||new Set;fr.forEach(function(Br){var $r=Br.parent,wn=Br.node;if(Zt(wn)||!Br.parent||St.has(Br.parent.key))return;if(Zt(Br.parent.node)){St.add($r.key);return}var rn=!0,On=!1;($r.children||[]).filter(function(In){return!Zt(In.node)}).forEach(function(In){var Gn=In.key,fi=Ar.has(Gn);rn&&!fi&&(rn=!1),!On&&(fi||Nr.has(Gn))&&(On=!0)}),rn&&Ar.add($r.key),On&&Nr.add($r.key),St.add($r.key)})}return{checkedKeys:Array.from(Ar),halfCheckedKeys:Array.from(at(Nr,Ar))}}function Pt(dr,sr,cn,Zt,Ar){for(var Nr=new Set(dr),tn=new Set(sr),pn=0;pn<=Zt;pn+=1){var St=cn.get(pn)||new Set;St.forEach(function($r){var wn=$r.key,rn=$r.node,On=$r.children,In=On===void 0?[]:On;!Nr.has(wn)&&!tn.has(wn)&&!Ar(rn)&&In.filter(function(Gn){return!Ar(Gn.node)}).forEach(function(Gn){Nr.delete(Gn.key)})})}tn=new Set;for(var cr=new Set,fr=Zt;fr>=0;fr-=1){var Br=cn.get(fr)||new Set;Br.forEach(function($r){var wn=$r.parent,rn=$r.node;if(Ar(rn)||!$r.parent||cr.has($r.parent.key))return;if(Ar($r.parent.node)){cr.add(wn.key);return}var On=!0,In=!1;(wn.children||[]).filter(function(Gn){return!Ar(Gn.node)}).forEach(function(Gn){var fi=Gn.key,Yn=Nr.has(fi);On&&!Yn&&(On=!1),!In&&(Yn||tn.has(fi))&&(In=!0)}),On||Nr.delete(wn.key),In&&tn.add(wn.key),cr.add(wn.key)})}return{checkedKeys:Array.from(Nr),halfCheckedKeys:Array.from(at(tn,Nr))}}function Et(dr,sr,cn,Zt){var Ar=[],Nr;Zt?Nr=Zt:Nr=bt;var tn=new Set(dr.filter(function(fr){var Br=!!cn[fr];return Br||Ar.push(fr),Br})),pn=new Map,St=0;Object.keys(cn).forEach(function(fr){var Br=cn[fr],$r=Br.level,wn=pn.get($r);wn||(wn=new Set,pn.set($r,wn)),wn.add(Br),St=Math.max(St,$r)}),Object(oe.a)(!Ar.length,"Tree missing follow keys: ".concat(Ar.slice(0,100).map(function(fr){return"'".concat(fr,"'")}).join(", ")));var cr;return sr===!0?cr=kt(tn,pn,St,Nr):cr=Pt(tn,sr.halfCheckedKeys,pn,St,Nr),cr}var Ht=d("YrtM"),ot=d("+nKL"),Mt=function(sr,cn){var Zt=sr.className,Ar=sr.style,Nr=sr.motion,tn=sr.motionNodes,pn=sr.motionType,St=sr.onMotionStart,cr=sr.onMotionEnd,fr=sr.active,Br=sr.treeNodeRequiredProps,$r=Object(E.a)(sr,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),wn=e.useState(!0),rn=Object(g.a)(wn,2),On=rn[0],In=rn[1],Gn=e.useContext(ae),fi=Gn.prefixCls,Yn=e.useRef(!1),gi=function(){Yn.current||cr(),Yn.current=!0};return Object(e.useEffect)(function(){tn&&pn==="hide"&&On&&In(!1)},[tn]),Object(e.useEffect)(function(){return tn&&St(),function(){tn&&gi()}},[]),tn?e.createElement(L.b,Object.assign({ref:cn,visible:On},Nr,{motionAppear:pn==="show",onAppearEnd:gi,onLeaveEnd:gi}),function(vi,Di){var Mi=vi.className,xi=vi.style;return e.createElement("div",{ref:Di,className:b()("".concat(fi,"-treenode-motion"),Mi),style:xi},tn.map(function(bi){var Ci=bi.data,$i=Ci.key,qi=Object(E.a)(Ci,["key"]),Ti=bi.isStart,ia=bi.isEnd;delete qi.children;var na=an($i,Br);return e.createElement(vr,Object.assign({},qi,na,{active:fr,data:bi.data,key:$i,isStart:Ti,isEnd:ia}))}))}):e.createElement(vr,Object.assign({domRef:cn,className:Zt,style:Ar},$r,{active:fr}))};Mt.displayName="MotionTreeNode";var xr=e.forwardRef(Mt),ur=xr;function gr(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],cn=dr.length,Zt=sr.length;if(Math.abs(cn-Zt)!==1)return{add:!1,key:null};function Ar(Nr,tn){var pn=new Map;Nr.forEach(function(cr){pn.set(cr,!0)});var St=tn.filter(function(cr){return!pn.has(cr)});return St.length===1?St[0]:null}return cn ").concat(sr);return sr}var Ne=function(sr,cn){var Zt=sr.prefixCls,Ar=sr.data,Nr=sr.selectable,tn=sr.checkable,pn=sr.expandedKeys,St=sr.selectedKeys,cr=sr.checkedKeys,fr=sr.loadedKeys,Br=sr.loadingKeys,$r=sr.halfCheckedKeys,wn=sr.keyEntities,rn=sr.disabled,On=sr.dragging,In=sr.dragOverNodeKey,Gn=sr.dropPosition,fi=sr.motion,Yn=sr.height,gi=sr.itemHeight,vi=sr.virtual,Di=sr.focusable,Mi=sr.activeItem,xi=sr.focused,bi=sr.tabIndex,Ci=sr.onKeyDown,$i=sr.onFocus,qi=sr.onBlur,Ti=sr.onActiveChange,ia=sr.onListChangeStart,na=sr.onListChangeEnd,Ui=Object(E.a)(sr,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),Ki=e.useRef(null);e.useImperativeHandle(cn,function(){return{scrollTo:function(_o){Ki.current.scrollTo(_o)}}});var ra=e.useState(pn),ea=Object(g.a)(ra,2),va=ea[0],sa=ea[1],Pa=e.useState(Ar),ka=Object(g.a)(Pa,2),Ia=ka[0],Ea=ka[1],So=e.useState(Ar),Ga=Object(g.a)(So,2),Va=Ga[0],Ra=Ga[1],po=e.useState([]),mo=Object(g.a)(po,2),Aa=mo[0],Io=mo[1],go=e.useState(null),Qa=Object(g.a)(go,2),wo=Qa[0],pa=Qa[1];function to(){Ea(Ar),Ra(Ar),Io([]),pa(null),na()}e.useEffect(function(){sa(pn);var Ja=gr(va,pn);if(Ja.key!==null)if(Ja.add){var _o=Ia.findIndex(function(ar){var Fr=ar.data.key;return Fr===Ja.key}),Ao=Oi(Qr(Ia,Ar,Ja.key),vi,Yn,gi),za=Ia.slice();za.splice(_o+1,0,pi),Ra(za),Io(Ao),pa("show")}else{var ja=Ar.findIndex(function(ar){var Fr=ar.data.key;return Fr===Ja.key}),da=Oi(Qr(Ar,Ia,Ja.key),vi,Yn,gi),rt=Ar.slice();rt.splice(ja+1,0,pi),Ra(rt),Io(da),pa("hide")}else Ia!==Ar&&(Ea(Ar),Ra(Ar))},[pn,Ar]),e.useEffect(function(){On||to()},[On]);var ao=fi?Va:Ar,Bo={expandedKeys:pn,selectedKeys:St,loadedKeys:fr,loadingKeys:Br,checkedKeys:cr,halfCheckedKeys:$r,dragOverNodeKey:In,dropPosition:Gn,keyEntities:wn};return e.createElement(e.Fragment,null,xi&&Mi&&e.createElement("span",{style:ln,"aria-live":"assertive"},be(Mi)),e.createElement("div",{role:"tree"},e.createElement("input",{style:ln,disabled:Di===!1||rn,tabIndex:Di!==!1?bi:null,onKeyDown:Ci,onFocus:$i,onBlur:qi,value:"",onChange:_n})),e.createElement(ot.a,Object.assign({},Ui,{data:ao,itemKey:Ze,height:Yn,fullHeight:!1,virtual:vi,itemHeight:gi,prefixCls:"".concat(Zt,"-list"),ref:Ki}),function(Ja){var _o=Ja.pos,Ao=Ja.data,za=Ao.key,ja=Object(E.a)(Ao,["key"]),da=Ja.isStart,rt=Ja.isEnd,ar=je(za,_o);delete ja.children;var Fr=an(ar,Bo);return e.createElement(ur,Object.assign({},ja,Fr,{active:Mi&&za===Mi.data.key,pos:_o,data:Ja.data,isStart:da,isEnd:rt,motion:fi,motionNodes:za===Mn?Aa:null,motionType:wo,onMotionStart:ia,onMotionEnd:to,treeNodeRequiredProps:Bo,onMouseMove:function(){Ti(null)}}))}))},Ue=e.forwardRef(Ne);Ue.displayName="NodeList";var Qe=Ue,Xe=function(dr){Object(l.a)(cn,dr);var sr=Object(u.a)(cn);function cn(){var Zt;return Object(t.a)(this,cn),Zt=sr.apply(this,arguments),Zt.destroyed=!1,Zt.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},Zt.listRef=e.createRef(),Zt.onNodeDragStart=function(Ar,Nr){var tn=Zt.state,pn=tn.expandedKeys,St=tn.keyEntities,cr=Zt.props.onDragStart,fr=Nr.props.eventKey;Zt.dragNode=Nr;var Br=ft(pn,fr);Zt.setState({dragging:!0,dragNodesKeys:wi(fr,St)}),Zt.setExpandedKeys(Br),cr&&cr({event:Ar,node:_t(Nr.props)})},Zt.onNodeDragEnter=function(Ar,Nr){var tn=Zt.state,pn=tn.expandedKeys,St=tn.keyEntities,cr=tn.dragNodesKeys,fr=Zt.props.onDragEnter,Br=Nr.props,$r=Br.pos,wn=Br.eventKey;if(!Zt.dragNode||cr.indexOf(wn)!==-1)return;var rn=Rn(Ar,Nr);if(Zt.dragNode.props.eventKey===wn&&rn===0){Zt.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Zt.setState({dragOverNodeKey:wn,dropPosition:rn}),Zt.delayedDragEnterLogic||(Zt.delayedDragEnterLogic={}),Object.keys(Zt.delayedDragEnterLogic).forEach(function(On){clearTimeout(Zt.delayedDragEnterLogic[On])}),Zt.delayedDragEnterLogic[$r]=window.setTimeout(function(){if(!Zt.state.dragging)return;var On=Object(h.a)(pn),In=St[wn];In&&(In.children||[]).length&&(On=Ur(pn,wn)),"expandedKeys"in Zt.props||Zt.setExpandedKeys(On),fr&&fr({event:Ar,node:_t(Nr.props),expandedKeys:On})},400)},0)},Zt.onNodeDragOver=function(Ar,Nr){var tn=Zt.state.dragNodesKeys,pn=Zt.props.onDragOver,St=Nr.props.eventKey;if(tn.indexOf(St)!==-1)return;if(Zt.dragNode&&St===Zt.state.dragOverNodeKey){var cr=Rn(Ar,Nr);if(cr===Zt.state.dropPosition)return;Zt.setState({dropPosition:cr})}pn&&pn({event:Ar,node:_t(Nr.props)})},Zt.onNodeDragLeave=function(Ar,Nr){var tn=Zt.props.onDragLeave;Zt.setState({dragOverNodeKey:""}),tn&&tn({event:Ar,node:_t(Nr.props)})},Zt.onNodeDragEnd=function(Ar,Nr){var tn=Zt.props.onDragEnd;Zt.setState({dragOverNodeKey:""}),Zt.cleanDragState(),tn&&tn({event:Ar,node:_t(Nr.props)}),Zt.dragNode=null},Zt.onNodeDrop=function(Ar,Nr){var tn=Zt.state,pn=tn.dragNodesKeys,St=pn===void 0?[]:pn,cr=tn.dropPosition,fr=Zt.props.onDrop,Br=Nr.props,$r=Br.eventKey,wn=Br.pos;if(Zt.setState({dragOverNodeKey:""}),Zt.cleanDragState(),St.indexOf($r)!==-1){Object(oe.a)(!1,"Can not drop to dragNode(include it's children node)");return}var rn=yn(wn),On={event:Ar,node:_t(Nr.props),dragNode:Zt.dragNode?_t(Zt.dragNode.props):null,dragNodesKeys:St.slice(),dropPosition:cr+Number(rn[rn.length-1]),dropToGap:!1};cr!==0&&(On.dropToGap=!0),fr&&fr(On),Zt.dragNode=null},Zt.cleanDragState=function(){var Ar=Zt.state.dragging;Ar&&Zt.setState({dragging:!1})},Zt.onNodeClick=function(Ar,Nr){var tn=Zt.props.onClick;tn&&tn(Ar,Nr)},Zt.onNodeDoubleClick=function(Ar,Nr){var tn=Zt.props.onDoubleClick;tn&&tn(Ar,Nr)},Zt.onNodeSelect=function(Ar,Nr){var tn=Zt.state.selectedKeys,pn=Zt.state.keyEntities,St=Zt.props,cr=St.onSelect,fr=St.multiple,Br=Nr.selected,$r=Nr.key,wn=!Br;wn?fr?tn=Ur(tn,$r):tn=[$r]:tn=ft(tn,$r);var rn=tn.map(function(On){var In=pn[On];return In?In.node:null}).filter(function(On){return On});Zt.setUncontrolledState({selectedKeys:tn}),cr&&cr(tn,{event:"select",selected:wn,node:Nr,selectedNodes:rn,nativeEvent:Ar.nativeEvent})},Zt.onNodeCheck=function(Ar,Nr,tn){var pn=Zt.state,St=pn.keyEntities,cr=pn.checkedKeys,fr=pn.halfCheckedKeys,Br=Zt.props,$r=Br.checkStrictly,wn=Br.onCheck,rn=Nr.key,On,In={event:"check",node:Nr,checked:tn,nativeEvent:Ar.nativeEvent};if($r){var Gn=tn?Ur(cr,rn):ft(cr,rn),fi=ft(fr,rn);On={checked:Gn,halfChecked:fi},In.checkedNodes=Gn.map(function(xi){return St[xi]}).filter(function(xi){return xi}).map(function(xi){return xi.node}),Zt.setUncontrolledState({checkedKeys:Gn})}else{var Yn=Et([].concat(Object(h.a)(cr),[rn]),!0,St),gi=Yn.checkedKeys,vi=Yn.halfCheckedKeys;if(!tn){var Di=new Set(gi);Di.delete(rn);var Mi=Et(Array.from(Di),{checked:!1,halfCheckedKeys:vi},St);gi=Mi.checkedKeys,vi=Mi.halfCheckedKeys}On=gi,In.checkedNodes=[],In.checkedNodesPositions=[],In.halfCheckedKeys=vi,gi.forEach(function(xi){var bi=St[xi];if(!bi)return;var Ci=bi.node,$i=bi.pos;In.checkedNodes.push(Ci),In.checkedNodesPositions.push({node:Ci,pos:$i})}),Zt.setUncontrolledState({checkedKeys:gi},!1,{halfCheckedKeys:vi})}wn&&wn(On,In)},Zt.onNodeLoad=function(Ar){return new Promise(function(Nr){Zt.setState(function(tn){var pn=tn.loadedKeys,St=pn===void 0?[]:pn,cr=tn.loadingKeys,fr=cr===void 0?[]:cr,Br=Zt.props,$r=Br.loadData,wn=Br.onLoad,rn=Ar.key;if(!$r||St.indexOf(rn)!==-1||fr.indexOf(rn)!==-1)return{};var On=$r(Ar);return On.then(function(){var In=Zt.state,Gn=In.loadedKeys,fi=In.loadingKeys,Yn=Ur(Gn,rn),gi=ft(fi,rn);wn&&wn(Yn,{event:"load",node:Ar}),Zt.setUncontrolledState({loadedKeys:Yn}),Zt.setState({loadingKeys:gi}),Nr()}),{loadingKeys:Ur(fr,rn)}})})},Zt.onNodeMouseEnter=function(Ar,Nr){var tn=Zt.props.onMouseEnter;tn&&tn({event:Ar,node:Nr})},Zt.onNodeMouseLeave=function(Ar,Nr){var tn=Zt.props.onMouseLeave;tn&&tn({event:Ar,node:Nr})},Zt.onNodeContextMenu=function(Ar,Nr){var tn=Zt.props.onRightClick;tn&&(Ar.preventDefault(),tn({event:Ar,node:Nr}))},Zt.onFocus=function(){var Ar=Zt.props.onFocus;Zt.setState({focused:!0}),Ar&&Ar.apply(void 0,arguments)},Zt.onBlur=function(){var Ar=Zt.props.onBlur;Zt.setState({focused:!1}),Zt.onActiveChange(null),Ar&&Ar.apply(void 0,arguments)},Zt.getTreeNodeRequiredProps=function(){var Ar=Zt.state,Nr=Ar.expandedKeys,tn=Ar.selectedKeys,pn=Ar.loadedKeys,St=Ar.loadingKeys,cr=Ar.checkedKeys,fr=Ar.halfCheckedKeys,Br=Ar.dragOverNodeKey,$r=Ar.dropPosition,wn=Ar.keyEntities;return{expandedKeys:Nr||[],selectedKeys:tn||[],loadedKeys:pn||[],loadingKeys:St||[],checkedKeys:cr||[],halfCheckedKeys:fr||[],dragOverNodeKey:Br,dropPosition:$r,keyEntities:wn}},Zt.setExpandedKeys=function(Ar){var Nr=Zt.state.treeData,tn=wt(Nr,Ar);Zt.setUncontrolledState({expandedKeys:Ar,flattenNodes:tn},!0)},Zt.onNodeExpand=function(Ar,Nr){var tn=Zt.state.expandedKeys,pn=Zt.state.listChanging,St=Zt.props,cr=St.onExpand,fr=St.loadData,Br=Nr.key,$r=Nr.expanded;if(pn)return;var wn=tn.indexOf(Br),rn=!$r;if(Object(oe.a)($r&&wn!==-1||!$r&&wn===-1,"Expand state not sync with index check"),rn?tn=Ur(tn,Br):tn=ft(tn,Br),Zt.setExpandedKeys(tn),cr&&cr(tn,{node:Nr,expanded:rn,nativeEvent:Ar.nativeEvent}),rn&&fr){var On=Zt.onNodeLoad(Nr);On&&On.then(function(){var In=wt(Zt.state.treeData,tn);Zt.setUncontrolledState({flattenNodes:In})})}},Zt.onListChangeStart=function(){Zt.setUncontrolledState({listChanging:!0})},Zt.onListChangeEnd=function(){setTimeout(function(){Zt.setUncontrolledState({listChanging:!1})})},Zt.onActiveChange=function(Ar){var Nr=Zt.state.activeKey,tn=Zt.props.onActiveChange;if(Nr===Ar)return;Zt.setState({activeKey:Ar}),Ar!==null&&Zt.scrollTo({key:Ar}),tn&&tn(Ar)},Zt.getActiveItem=function(){var Ar=Zt.state,Nr=Ar.activeKey,tn=Ar.flattenNodes;return Nr===null?null:tn.find(function(pn){var St=pn.data.key;return St===Nr})||null},Zt.offsetActiveKey=function(Ar){var Nr=Zt.state,tn=Nr.flattenNodes,pn=Nr.activeKey,St=tn.findIndex(function(Br){var $r=Br.data.key;return $r===pn});St===-1&&Ar<0&&(St=tn.length),St=(St+Ar+tn.length)%tn.length;var cr=tn[St];if(cr){var fr=cr.data.key;Zt.onActiveChange(fr)}else Zt.onActiveChange(null)},Zt.onKeyDown=function(Ar){var Nr=Zt.state,tn=Nr.activeKey,pn=Nr.expandedKeys,St=Nr.checkedKeys,cr=Zt.props,fr=cr.onKeyDown,Br=cr.checkable,$r=cr.selectable;switch(Ar.which){case C.a.UP:{Zt.offsetActiveKey(-1),Ar.preventDefault();break}case C.a.DOWN:{Zt.offsetActiveKey(1),Ar.preventDefault();break}}var wn=Zt.getActiveItem();if(wn&&wn.data){var rn=Zt.getTreeNodeRequiredProps(),On=wn.data.isLeaf===!1||!!(wn.data.children||[]).length,In=_t(Object(A.a)(Object(A.a)({},an(tn,rn)),{},{data:wn.data,active:!0}));switch(Ar.which){case C.a.LEFT:{On&&pn.includes(tn)?Zt.onNodeExpand({},In):wn.parent&&Zt.onActiveChange(wn.parent.data.key),Ar.preventDefault();break}case C.a.RIGHT:{On&&!pn.includes(tn)?Zt.onNodeExpand({},In):wn.children&&wn.children.length&&Zt.onActiveChange(wn.children[0].data.key),Ar.preventDefault();break}case C.a.ENTER:case C.a.SPACE:{Br&&!In.disabled&&In.checkable!==!1&&!In.disableCheckbox?Zt.onNodeCheck({},In,!St.includes(tn)):!Br&&$r&&!In.disabled&&In.selectable!==!1&&Zt.onNodeSelect({},In);break}}}fr&&fr(Ar)},Zt.setUncontrolledState=function(Ar){var Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Zt.destroyed)return;var pn=!1,St=!0,cr={};Object.keys(Ar).forEach(function(fr){if(fr in Zt.props){St=!1;return}pn=!0,cr[fr]=Ar[fr]}),pn&&(!Nr||St)&&Zt.setState(Object(A.a)(Object(A.a)({},cr),tn))},Zt.scrollTo=function(Ar){Zt.listRef.current.scrollTo(Ar)},Zt}return Object(i.a)(cn,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var Ar,Nr=this.state,tn=Nr.focused,pn=Nr.flattenNodes,St=Nr.keyEntities,cr=Nr.dragging,fr=Nr.activeKey,Br=this.props,$r=Br.prefixCls,wn=Br.className,rn=Br.style,On=Br.showLine,In=Br.focusable,Gn=Br.tabIndex,fi=Gn===void 0?0:Gn,Yn=Br.selectable,gi=Br.showIcon,vi=Br.icon,Di=Br.switcherIcon,Mi=Br.draggable,xi=Br.checkable,bi=Br.checkStrictly,Ci=Br.disabled,$i=Br.motion,qi=Br.loadData,Ti=Br.filterTreeNode,ia=Br.height,na=Br.itemHeight,Ui=Br.virtual,Ki=Br.titleRender,ra=Br.onContextMenu,ea=Ee(this.props);return e.createElement(ae.Provider,{value:{prefixCls:$r,selectable:Yn,showIcon:gi,icon:vi,switcherIcon:Di,draggable:Mi,checkable:xi,checkStrictly:bi,disabled:Ci,keyEntities:St,loadData:qi,filterTreeNode:Ti,titleRender:Ki,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}},e.createElement("div",{className:b()($r,wn,(Ar={},Object(y.a)(Ar,"".concat($r,"-show-line"),On),Object(y.a)(Ar,"".concat($r,"-focused"),tn),Object(y.a)(Ar,"".concat($r,"-active-focused"),fr!==null),Ar))},e.createElement(Qe,Object.assign({ref:this.listRef,prefixCls:$r,style:rn,data:pn,disabled:Ci,selectable:Yn,checkable:!!xi,motion:$i,dragging:cr,height:ia,itemHeight:na,virtual:Ui,focusable:In,focused:tn,tabIndex:fi,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ra},this.getTreeNodeRequiredProps(),ea))))}}],[{key:"getDerivedStateFromProps",value:function(Ar,Nr){var tn=Nr.prevProps,pn={prevProps:Ar};function St(vi){return!tn&&vi in Ar||tn&&tn[vi]!==Ar[vi]}var cr;if(St("treeData")?cr=Ar.treeData:St("children")&&(Object(oe.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),cr=$e(Ar.children)),cr){pn.treeData=cr;var fr=Mr(cr);pn.keyEntities=Object(A.a)(Object(y.a)({},Mn,ai),fr.keyEntities)}var Br=pn.keyEntities||Nr.keyEntities;if(St("expandedKeys")||tn&&St("autoExpandParent"))pn.expandedKeys=Ar.autoExpandParent||!tn&&Ar.defaultExpandParent?ue(Ar.expandedKeys,Br):Ar.expandedKeys;else if(!tn&&Ar.defaultExpandAll){var $r=Object(A.a)({},Br);delete $r[Mn],pn.expandedKeys=Object.keys($r).map(function(vi){return $r[vi].key})}else!tn&&Ar.defaultExpandedKeys&&(pn.expandedKeys=Ar.autoExpandParent||Ar.defaultExpandParent?ue(Ar.defaultExpandedKeys,Br):Ar.defaultExpandedKeys);if(pn.expandedKeys||delete pn.expandedKeys,cr||pn.expandedKeys){var wn=wt(cr||Nr.treeData,pn.expandedKeys||Nr.expandedKeys);pn.flattenNodes=wn}if(Ar.selectable&&(St("selectedKeys")?pn.selectedKeys=kn(Ar.selectedKeys,Ar):!tn&&Ar.defaultSelectedKeys&&(pn.selectedKeys=kn(Ar.defaultSelectedKeys,Ar))),Ar.checkable){var rn;if(St("checkedKeys")?rn=st(Ar.checkedKeys)||{}:!tn&&Ar.defaultCheckedKeys?rn=st(Ar.defaultCheckedKeys)||{}:cr&&(rn=st(Ar.checkedKeys)||{checkedKeys:Nr.checkedKeys,halfCheckedKeys:Nr.halfCheckedKeys}),rn){var On=rn,In=On.checkedKeys,Gn=In===void 0?[]:In,fi=On.halfCheckedKeys,Yn=fi===void 0?[]:fi;if(!Ar.checkStrictly){var gi=Et(Gn,!0,Br);Gn=gi.checkedKeys,Yn=gi.halfCheckedKeys}pn.checkedKeys=Gn,pn.halfCheckedKeys=Yn}}return St("loadedKeys")&&(pn.loadedKeys=Ar.loadedKeys),pn}}]),cn}(e.Component);Xe.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:[]},Xe.TreeNode=vr;var qe=Xe,yt=qe,ht=e.createContext(null);function Jt(dr,sr){if(!dr)return!0;var cn=dr.data,Zt=cn.disabled,Ar=cn.disableCheckbox;switch(sr){case"select":return Zt;case"checkbox":return Zt||Ar}return!1}function kr(dr,sr){var cn=e.useCallback(function(Ar){var Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",tn=arguments.length>2?arguments[2]:void 0,pn=dr.get(Ar);return!tn&&Jt(pn,Nr)?null:pn},[dr]),Zt=e.useCallback(function(Ar){var Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",tn=arguments.length>2?arguments[2]:void 0,pn=sr.get(Ar);return!tn&&Jt(pn,Nr)?null:pn},[sr]);return[cn,Zt]}function _r(dr){return e.useMemo(function(){var sr=new Map,cn=new Map;return dr.forEach(function(Zt){sr.set(Zt.key,Zt),cn.set(Zt.data.value,Zt)}),[sr,cn]},[dr])}var Xr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Bt=function(sr,cn){var Zt=sr.prefixCls,Ar=sr.height,Nr=sr.itemHeight,tn=sr.virtual,pn=sr.options,St=sr.flattenOptions,cr=sr.multiple,fr=sr.searchValue,Br=sr.onSelect,$r=sr.onToggleOpen,wn=sr.open,rn=sr.notFoundContent,On=sr.onMouseEnter,In=e.useContext(ht),Gn=In.checkable,fi=In.checkedKeys,Yn=In.halfCheckedKeys,gi=In.treeExpandedKeys,vi=In.treeDefaultExpandAll,Di=In.treeDefaultExpandedKeys,Mi=In.onTreeExpand,xi=In.treeIcon,bi=In.showTreeIcon,Ci=In.switcherIcon,$i=In.treeLine,qi=In.treeNodeFilterProp,Ti=In.loadData,ia=In.treeLoadedKeys,na=In.treeMotion,Ui=In.onTreeLoad,Ki=e.useRef(),ra=Object(Ht.a)(function(){return pn},[wn,pn],function(Fr,Ir){return Ir[0]&&Fr[1]!==Ir[1]}),ea=_r(St),va=Object(g.a)(ea,2),sa=va[0],Pa=va[1],ka=kr(sa,Pa),Ia=Object(g.a)(ka,2),Ea=Ia[0],So=Ia[1],Ga=e.useMemo(function(){return fi.map(function(Fr){var Ir=So(Fr);return Ir?Ir.key:null})},[fi]),Va=e.useMemo(function(){return Gn?{checked:Ga,halfChecked:Yn}:null},[Ga,Yn,Gn]);e.useEffect(function(){if(wn&&!cr&&Ga.length){var Fr;(Fr=Ki.current)===null||Fr===void 0||Fr.scrollTo({key:Ga[0]})}},[wn]);var Ra=String(fr).toLowerCase(),po=function(Ir){return Ra?String(Ir[qi]).toLowerCase().includes(Ra):!1},mo=e.useState(Di),Aa=Object(g.a)(mo,2),Io=Aa[0],go=Aa[1],Qa=e.useState(null),wo=Object(g.a)(Qa,2),pa=wo[0],to=wo[1],ao=e.useMemo(function(){return gi?Object(h.a)(gi):fr?pa:Io},[Io,pa,Ra,gi]);e.useEffect(function(){fr&&to(St.map(function(Fr){return Fr.key}))},[fr]);var Bo=function(Ir){go(Ir),to(Ir),Mi&&Mi(Ir)},Ja=function(Ir){Ir.preventDefault()},_o=function(Ir,En){var zr=En.node.key,yr=Ea(zr,Gn?"checkbox":"select");yr!==null&&Br(yr.data.value,{selected:!fi.includes(yr.data.value)}),cr||$r(!1)},Ao=e.useState(null),za=Object(g.a)(Ao,2),ja=za[0],da=za[1],rt=Ea(ja);if(e.useImperativeHandle(cn,function(){return{onKeyDown:function(Ir){var En,zr=Ir.which;switch(zr){case C.a.UP:case C.a.DOWN:case C.a.LEFT:case C.a.RIGHT:(En=Ki.current)===null||En===void 0||En.onKeyDown(Ir);break;case C.a.ENTER:{rt!==null&&_o(null,{node:{key:ja},selected:!fi.includes(rt.data.value)});break}case C.a.ESC:$r(!1)}},onKeyUp:function(){}}}),ra.length===0)return e.createElement("div",{role:"listbox",className:"".concat(Zt,"-empty"),onMouseDown:Ja},rn);var ar={};return ia&&(ar.loadedKeys=ia),ao&&(ar.expandedKeys=ao),e.createElement("div",{onMouseDown:Ja,onMouseEnter:On},rt&&wn&&e.createElement("span",{style:Xr,"aria-live":"assertive"},rt.data.value),e.createElement(yt,Object.assign({ref:Ki,focusable:!1,prefixCls:"".concat(Zt,"-tree"),treeData:ra,height:Ar,itemHeight:Nr,virtual:tn,multiple:cr,icon:xi,showIcon:bi,switcherIcon:Ci,showLine:$i,loadData:fr?null:Ti,motion:na,checkable:Gn,checkStrictly:!0,checkedKeys:Va,selectedKeys:Gn?[]:Ga,defaultExpandAll:vi},ar,{onActiveChange:da,onSelect:_o,onCheck:_o,onExpand:Bo,onLoad:Ui,filterTreeNode:po})))},gn=e.forwardRef(Bt);gn.displayName="OptionList";var hr=gn,vn=function(){return null},en=vn;function Dt(dr){return Object(Re.a)(dr).map(function(sr){if(!e.isValidElement(sr)||!sr.type)return null;var cn=sr.key,Zt=sr.props,Ar=Zt.children,Nr=Zt.value,tn=Object(E.a)(Zt,["children","value"]),pn=Object(A.a)({key:cn,value:Nr},tn),St=Dt(Ar);return St.length&&(pn.children=St),pn}).filter(function(sr){return sr})}function jr(dr){if(!dr)return dr;var sr=Object(A.a)({},dr);return"props"in sr||Object.defineProperty(sr,"props",{get:function(){return Object(oe.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),sr}}),sr}function un(dr,sr,cn,Zt,Ar){var Nr=null,tn=null;function pn(){function St(cr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return cr.map(function($r,wn){var rn="".concat(fr,"-").concat(wn),On=cn.includes($r.value),In=St($r.children||[],rn,On),Gn=e.createElement(en,Object.assign({},$r),In.map(function(Yn){return Yn.node}));if(sr===$r.value&&(Nr=Gn),On){var fi={pos:rn,node:Gn,children:In};return Br||tn.push(fi),fi}return null}).filter(function($r){return $r})}tn||(tn=[],St(Zt),tn.sort(function(cr,fr){var Br=cr.node.props.value,$r=fr.node.props.value,wn=cn.indexOf(Br),rn=cn.indexOf($r);return wn-rn}))}Object.defineProperty(dr,"triggerNode",{get:function(){return Object(oe.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),pn(),Nr}}),Object.defineProperty(dr,"allCheckedNodes",{get:function(){return Object(oe.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),pn(),Ar?tn:tn.map(function(cr){var fr=cr.node;return fr})}})}function Hr(dr){return Array.isArray(dr)?dr:dr!==void 0?[dr]:[]}function Wt(dr,sr){var cn=new Map;return sr.forEach(function(Zt){var Ar=Zt.data;cn.set(Ar.value,Ar)}),dr.map(function(Zt){return jr(cn.get(Zt))})}function wr(dr,sr){var cn=Wt([dr],sr)[0];return cn?cn.disabled:!1}function fn(dr){return dr.disabled||dr.disableCheckbox||dr.checkable===!1}function zt(dr){for(var sr=dr.parent,cn=0,Zt=sr;Zt;)Zt=Zt.parent,cn+=1;return cn}function Dr(dr){function sr(Zt){return(Zt||[]).map(function(Ar){var Nr=Ar.value,tn=Ar.key,pn=Ar.children,St=Object(A.a)(Object(A.a)({},Ar),{},{key:"key"in Ar?tn:Nr});return pn&&(St.children=sr(pn)),St})}var cn=wt(sr(dr),!0);return cn.map(function(Zt){return{key:Zt.data.key,data:Zt.data,level:zt(Zt)}})}function ir(dr){return function(sr,cn){var Zt=cn[dr];return String(Zt).toLowerCase().includes(String(sr).toLowerCase())}}function Lt(dr,sr,cn){var Zt=cn.optionFilterProp,Ar=cn.filterOption;if(Ar===!1)return sr;var Nr;typeof Ar=="function"?Nr=Ar:Nr=ir(Zt);function tn(pn){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return pn.map(function(cr){var fr=cr.children,Br=St||Nr(dr,jr(cr)),$r=tn(fr||[],Br);return Br||$r.length?Object(A.a)(Object(A.a)({},cr),{},{children:$r}):null}).filter(function(cr){return cr})}return tn(sr)}function Qt(dr,sr,cn,Zt){var Ar=new Map;return Hr(sr).forEach(function(Nr){Nr&&Object(p.a)(Nr)==="object"&&"value"in Nr&&Ar.set(Nr.value,Nr)}),dr.map(function(Nr){var tn={value:Nr},pn=cn(Nr,"select",!0),St=pn?Zt(pn.data):Nr;if(Ar.has(Nr)){var cr=Ar.get(Nr);tn.label="label"in cr?cr.label:St,"halfChecked"in cr&&(tn.halfChecked=cr.halfChecked)}else tn.label=St;return tn})}function It(dr,sr){var cn=new Set(dr);return cn.add(sr),Array.from(cn)}function or(dr,sr){var cn=new Set(dr);return cn.delete(sr),Array.from(cn)}function Cr(dr){var sr=dr.searchPlaceholder,cn=dr.treeCheckStrictly,Zt=dr.treeCheckable,Ar=dr.labelInValue,Nr=dr.value,tn=dr.multiple;Object(oe.a)(!sr,"`searchPlaceholder` has been removed."),cn&&Ar===!1&&Object(oe.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ar||cn)&&Object(oe.a)(Hr(Nr).every(function(pn){return pn&&Object(p.a)(pn)==="object"&&"value"in pn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),cn||tn||Zt?Object(oe.a)(!Nr||Array.isArray(Nr),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(oe.a)(!Array.isArray(Nr),"`value` should not be array when `TreeSelect` is single mode.")}var Er=Cr,Kr=10;function jn(dr,sr){var cn=sr.id,Zt=sr.pId,Ar=sr.rootPId,Nr={},tn=[],pn=dr.map(function(St){var cr=Object(A.a)({},St),fr=cr[cn];return Nr[fr]=cr,cr.key=cr.key||fr,cr});return pn.forEach(function(St){var cr=St[Zt],fr=Nr[cr];fr&&(fr.children=fr.children||[],fr.children.push(St)),(cr===Ar||!fr&&Ar===null)&&tn.push(St)}),tn}function Nn(dr,sr){var cn=0,Zt=new Set;function Ar(Nr){return(Nr||[]).map(function(tn){var pn=tn.key,St=tn.value,cr=tn.children,fr=Object(E.a)(tn,["key","value","children"]),Br="value"in tn?St:pn,$r=Object(A.a)(Object(A.a)({},fr),{},{key:pn!=null?pn:Br,value:Br,title:sr(tn)});return"children"in tn&&($r.children=Ar(cr)),$r})}return Ar(dr)}function ei(dr,sr,cn){var Zt=cn.getLabelProp,Ar=cn.simpleMode,Nr=e.useRef({});return dr?(Nr.current.formatTreeData=Nr.current.treeData===dr?Nr.current.formatTreeData:Nn(Ar?jn(dr,Object(A.a)({id:"id",pId:"pId",rootPId:null},Ar!==!0?Ar:{})):dr,Zt),Nr.current.treeData=dr):Nr.current.formatTreeData=Nr.current.children===sr?Nr.current.formatTreeData:Nn(Dt(sr),Zt),Nr.current.formatTreeData}var Zr="SHOW_ALL",br="SHOW_PARENT",dn="SHOW_CHILD";function Ln(dr,sr,cn){var Zt=new Set(dr);return sr===dn?dr.filter(function(Ar){var Nr=cn[Ar];return!(Nr&&Nr.children&&Nr.children.every(function(tn){var pn=tn.node;return fn(pn)||Zt.has(pn.key)}))}):sr===br?dr.filter(function(Ar){var Nr=cn[Ar],tn=Nr?Nr.parent:null;return!(tn&&!fn(tn.node)&&Zt.has(tn.node.key))}):dr}function Fn(dr,sr){var cn=sr.value,Zt=sr.getEntityByValue,Ar=sr.getEntityByKey,Nr=sr.treeConduction,tn=sr.showCheckedStrategy,pn=sr.conductKeyEntities,St=sr.getLabelProp;return e.useMemo(function(){var cr=dr;if(Nr){var fr=Ln(dr.map(function(Br){var $r=Zt(Br);return $r?$r.key:Br}),tn,pn);cr=fr.map(function(Br){var $r=Ar(Br);return $r?$r.data.value:Br})}return Qt(cr,cn,Zt,St)},[dr,cn,Nr,tn,Zt])}var zn=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],ui=Z({prefixCls:"rc-tree-select",components:{optionList:hr},convertChildrenToData:function(){return null},flattenOptions:Dr,getLabeledValue:et,filterOptions:Lt,isValueDisabled:wr,findValueOption:Wt,omitDOMProps:function(sr){var cn=Object(A.a)({},sr);return zn.forEach(function(Zt){delete cn[Zt]}),cn}});ui.displayName="Select";var ii=e.forwardRef(function(dr,sr){var cn=dr.multiple,Zt=dr.treeCheckable,Ar=dr.treeCheckStrictly,Nr=dr.showCheckedStrategy,tn=Nr===void 0?"SHOW_CHILD":Nr,pn=dr.labelInValue,St=dr.loadData,cr=dr.treeLoadedKeys,fr=dr.treeNodeFilterProp,Br=fr===void 0?"value":fr,$r=dr.treeNodeLabelProp,wn=dr.treeDataSimpleMode,rn=dr.treeData,On=dr.treeExpandedKeys,In=dr.treeDefaultExpandedKeys,Gn=dr.treeDefaultExpandAll,fi=dr.children,Yn=dr.treeIcon,gi=dr.showTreeIcon,vi=dr.switcherIcon,Di=dr.treeLine,Mi=dr.treeMotion,xi=dr.filterTreeNode,bi=dr.dropdownPopupAlign,Ci=dr.onChange,$i=dr.onTreeExpand,qi=dr.onTreeLoad,Ti=dr.onDropdownVisibleChange,ia=dr.onSelect,na=dr.onDeselect,Ui=Zt||Ar,Ki=cn||Ui,ra=Zt&&!Ar,ea=Ar||pn,va=e.useRef(null);e.useImperativeHandle(sr,function(){return{focus:va.current.focus,blur:va.current.blur}});var sa=function(zr){return rn&&zr.label||zr.title},Pa=function(zr){return $r?zr[$r]:sa(zr)},ka=ei(rn,fi,{getLabelProp:sa,simpleMode:wn}),Ia=Object(e.useMemo)(function(){return Dr(ka)},[ka]),Ea=_r(Ia),So=Object(g.a)(Ea,2),Ga=So[0],Va=So[1],Ra=kr(Ga,Va),po=Object(g.a)(Ra,2),mo=po[0],Aa=po[1],Io=Object(e.useMemo)(function(){return ra?Mr(ka):{keyEntities:null}},[ka,Zt,Ar]),go=Io.keyEntities,Qa=Object(I.a)(dr.defaultValue,{value:dr.value}),wo=Object(g.a)(Qa,2),pa=wo[0],to=wo[1],ao=function(zr){var yr=[],Cn=[];return zr.forEach(function(Pr){Aa(Pr)?Cn.push(Pr):yr.push(Pr)}),{missingRawValues:yr,existRawValues:Cn}},Bo=Object(e.useMemo)(function(){var En=[],zr=[];if(Hr(pa).forEach(function(si){if(si&&Object(p.a)(si)==="object"&&"value"in si)if(si.halfChecked&&Ar){var Xn=Aa(si.value);En.push(Xn?Xn.key:si.value)}else zr.push(si.value);else zr.push(si)}),ra){var yr=ao(zr),Cn=yr.missingRawValues,Pr=yr.existRawValues,xn=Pr.map(function(si){return Aa(si).key}),Qn=Et(xn,!0,go),$n=Qn.checkedKeys,Kn=Qn.halfCheckedKeys;return[[].concat(Object(h.a)(Cn),Object(h.a)($n.map(function(si){return mo(si).data.value}))),Kn]}return[zr,En]},[pa,Ki,ea,Zt,Ar]),Ja=Object(g.a)(Bo,2),_o=Ja[0],Ao=Ja[1],za=Fn(_o,{treeConduction:ra,value:pa,showCheckedStrategy:tn,conductKeyEntities:go,getEntityByValue:Aa,getEntityByKey:mo,getLabelProp:Pa}),ja=function(zr,yr,Cn){if(to(Ki?zr:zr[0]),Ci){var Pr=zr;if(ra&&tn!=="SHOW_ALL"){var xn=zr.map(function(yi){var Xi=Aa(yi);return Xi?Xi.key:yi}),Qn=Ln(xn,tn,go);Pr=Qn.map(function(yi){var Xi=mo(yi);return Xi?Xi.data.value:yi})}var $n=yr||{triggerValue:void 0,selected:void 0},Kn=$n.triggerValue,si=$n.selected,Xn=ea?Qt(Pr,pa,Aa,Pa):Pr;if(Ar){var ti=Ao.map(function(yi){var Xi=mo(yi);return Xi?Xi.data.value:yi}).filter(function(yi){return!Pr.includes(yi)});Xn=[].concat(Object(h.a)(Xn),Object(h.a)(Qt(ti,pa,Aa,Pa)))}var di={preValue:za,triggerValue:Kn},Bi=!0;(Ar||Cn==="selection"&&!si)&&(Bi=!1),un(di,Kn,zr,ka,Bi),Ui?di.checked=si:di.selected=si,Ci(Ki?Xn:Xn[0],ea?null:Pr.map(function(yi){var Xi=Aa(yi);return Xi?Pa(Xi.data):null}),di)}},da=function(zr,yr,Cn){var Pr=zr;if(!Ki)ja([zr],{selected:!0,triggerValue:zr},Cn);else{var xn=It(_o,zr);if(ra){var Qn=ao(xn),$n=Qn.missingRawValues,Kn=Qn.existRawValues,si=Kn.map(function(di){return Aa(di).key}),Xn=Et(si,!0,go),ti=Xn.checkedKeys;xn=[].concat(Object(h.a)($n),Object(h.a)(ti.map(function(di){return mo(di).data.value})))}ja(xn,{selected:!0,triggerValue:zr},Cn)}ia&&ia(Pr,yr)},rt=function(zr,yr,Cn){var Pr=zr,xn=or(_o,zr);if(ra){var Qn=ao(xn),$n=Qn.missingRawValues,Kn=Qn.existRawValues,si=Kn.map(function(di){return Aa(di).key}),Xn=Et(si,{checked:!1,halfCheckedKeys:Ao},go),ti=Xn.checkedKeys;xn=[].concat(Object(h.a)($n),Object(h.a)(ti.map(function(di){return mo(di).data.value})))}ja(xn,{selected:!1,triggerValue:zr},Cn),na&&na(Pr,yr)},ar=function(){ja([],null,"clear")},Fr=e.useCallback(function(En){if(Ti){var zr={};Object.defineProperty(zr,"documentClickClose",{get:function(){return Object(oe.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ti(En,zr)}},[Ti]),Ir={optionLabelProp:null,optionFilterProp:Br,dropdownAlign:bi,internalProps:{mark:he,onClear:ar,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:da,onRawDeselect:rt}};return"filterTreeNode"in dr&&(Ir.filterOption=xi),e.createElement(ht.Provider,{value:{checkable:Ui,loadData:St,treeLoadedKeys:cr,onTreeLoad:qi,checkedKeys:_o,halfCheckedKeys:Ao,treeDefaultExpandAll:Gn,treeExpandedKeys:On,treeDefaultExpandedKeys:In,onTreeExpand:$i,treeIcon:Yn,treeMotion:Mi,showTreeIcon:gi,switcherIcon:vi,treeLine:Di,treeNodeFilterProp:Br}},e.createElement(ui,Object.assign({ref:va,mode:Ki?"multiple":null},dr,Ir,{value:za,labelInValue:!0,options:ka,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Fr})))}),qn=function(dr){Object(l.a)(cn,dr);var sr=Object(u.a)(cn);function cn(){var Zt;return Object(t.a)(this,cn),Zt=sr.apply(this,arguments),Zt.selectRef=e.createRef(),Zt.focus=function(){Zt.selectRef.current.focus()},Zt.blur=function(){Zt.selectRef.current.blur()},Zt}return Object(i.a)(cn,[{key:"render",value:function(){return e.createElement(ii,Object.assign({ref:this.selectRef},this.props))}}]),cn}(e.Component);qn.TreeNode=en,qn.SHOW_ALL=Zr,qn.SHOW_PARENT=br,qn.SHOW_CHILD=dn;var Li=qn,zi=Li,Ri=d("BGR+"),ga=d("H84U"),oi=d("uaoM"),hn=d("1vzs"),Ei=d("2jpz"),Hi=d("3Nzz"),ki=function(dr){r()(cn,dr);var sr=n()(cn);function cn(Zt){var Ar;return m()(this,cn),Ar=sr.call(this,Zt),Ar.selectRef=e.createRef(),Ar.renderTreeSelect=function(Nr){var tn=Nr.getPopupContainer,pn=Nr.getPrefixCls,St=Nr.renderEmpty,cr=Nr.direction,fr=Nr.virtual,Br=Nr.dropdownMatchSelectWidth,$r=Ar.props,wn=$r.prefixCls,rn=$r.size,On=$r.className,In=$r.treeCheckable,Gn=$r.multiple,fi=$r.listHeight,Yn=fi===void 0?256:fi,gi=$r.listItemHeight,vi=gi===void 0?26:gi,Di=$r.notFoundContent,Mi=$r.switcherIcon,xi=$r.treeLine,bi=$r.getPopupContainer,Ci=$r.dropdownClassName,$i=$r.bordered,qi=$r.treeIcon,Ti=qi===void 0?!1:qi,ia=pn("select",wn),na=pn("select-tree",wn),Ui=pn("tree-select",wn),Ki=b()(Ci,"".concat(Ui,"-dropdown"),v()({},"".concat(Ui,"-dropdown-rtl"),cr==="rtl")),ra=!!(In||Gn),ea=Object(hn.a)(x()(x()({},Ar.props),{multiple:ra,prefixCls:ia})),va=ea.suffixIcon,sa=ea.itemIcon,Pa=ea.removeIcon,ka=ea.clearIcon,Ia;Di!==void 0?Ia=Di:Ia=St("Select");var Ea=Object(Ri.default)(Ar.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return e.createElement(Hi.b.Consumer,null,function(So){var Ga,Va=rn||So,Ra=b()(!wn&&Ui,(Ga={},v()(Ga,"".concat(ia,"-lg"),Va==="large"),v()(Ga,"".concat(ia,"-sm"),Va==="small"),v()(Ga,"".concat(ia,"-rtl"),cr==="rtl"),v()(Ga,"".concat(ia,"-borderless"),!$i),Ga),On);return e.createElement(zi,x()({virtual:fr,dropdownMatchSelectWidth:Br},Ea,{ref:Ar.selectRef,prefixCls:ia,className:Ra,listHeight:Yn,listItemHeight:vi,treeCheckable:In&&e.createElement("span",{className:"".concat(ia,"-tree-checkbox-inner")}),inputIcon:va,menuItemSelectedIcon:sa,removeIcon:Pa,clearIcon:ka,switcherIcon:function(mo){return Object(Ei.a)(na,Mi,xi,mo)},showTreeIcon:Ti,notFoundContent:Ia,getPopupContainer:bi||tn,treeMotion:null,dropdownClassName:Ki}))})},Object(oi.a)(Zt.multiple!==!1||!Zt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),Ar}return c()(cn,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return e.createElement(ga.a,null,this.renderTreeSelect)}}]),cn}(e.Component);ki.TreeNode=en,ki.SHOW_ALL=Zr,ki.SHOW_PARENT=br,ki.SHOW_CHILD=dn,ki.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ji=P.a=ki},"5Uyt":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("KmBX"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},"5YOS":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("xb2K"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},"5YgA":function(U,P,d){},"5bA4":function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="LeftOutlined";var f=P.a=x.forwardRef(m)},"5hvy":function(U,P,d){(function(O,x,T){U.exports=P=x(d("Ib8C"),d("MlIO"))})(this,function(O){return function(x){var T=O,v=T.lib,S=v.WordArray,m=v.Hasher,f=T.x64,c=f.Word,o=T.algo,r=[],a=[],n=[];(function(){for(var t=1,i=0,l=0;l<24;l++){r[t+5*i]=(l+1)*(l+2)/2%64;var u=i%5,h=(2*t+3*i)%5;t=u,i=h}for(var t=0;t<5;t++)for(var i=0;i<5;i++)a[t+5*i]=i+(2*t+3*i)%5*5;for(var p=1,g=0;g<24;g++){for(var A=0,y=0,E=0;E<7;E++){if(p&1){var C=(1<>>24)&16711935|(g<<24|g>>>8)&4278255360,A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360;var y=u[p];y.high^=A,y.low^=g}for(var E=0;E<24;E++){for(var C=0;C<5;C++){for(var w=0,b=0,I=0;I<5;I++){var y=u[C+5*I];w^=y.high,b^=y.low}var _=e[C];_.high=w,_.low=b}for(var C=0;C<5;C++)for(var L=e[(C+4)%5],D=e[(C+1)%5],N=D.high,R=D.low,w=L.high^(N<<1|R>>>31),b=L.low^(R<<1|N>>>31),I=0;I<5;I++){var y=u[C+5*I];y.high^=w,y.low^=b}for(var B=1;B<25;B++){var w,b,y=u[B],M=y.high,H=y.low,F=r[B];F<32?(w=M<>>32-F,b=H<>>32-F):(w=H<>>64-F,b=M<>>64-F);var K=e[a[B]];K.high=w,K.low=b}var j=e[0],V=u[0];j.high=V.high,j.low=V.low;for(var C=0;C<5;C++)for(var I=0;I<5;I++){var B=C+5*I,y=u[B],z=e[B],Y=e[(C+1)%5+5*I],ee=e[(C+2)%5+5*I];y.high=z.high^~Y.high&ee.high,y.low=z.low^~Y.low&ee.low}var y=u[0],fe=n[E];y.high^=fe.high,y.low^=fe.low}},_doFinalize:function(){var i=this._data,l=i.words,u=this._nDataBytes*8,h=i.sigBytes*8,p=this.blockSize*32;l[h>>>5]|=1<<24-h%32,l[(x.ceil((h+1)/p)*p>>>5)-1]|=128,i.sigBytes=l.length*4,this._process();for(var g=this._state,A=this.cfg.outputLength/8,y=A/8,E=[],C=0;C>>24)&16711935|(b<<24|b>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,E.push(I),E.push(b)}return new S.init(E,A)},clone:function(){for(var i=m.clone.call(this),l=i._state=this._state.slice(0),u=0;u<25;u++)l[u]=l[u].clone();return i}});T.SHA3=m._createHelper(s),T.HmacSHA3=m._createHmacHelper(s)}(Math),O.SHA3})},"5nXd":function(U,P,d){var O=d("MFOe"),x=O.slice,T=O.pluck,v=O.each,S=O.bind,m=O.create,f=O.isList,c=O.isFunction,o=O.isObject;U.exports={createStore:n};var r={version:"2.0.12",enabled:!1,get:function(s,t){var i=this.storage.read(this._namespacePrefix+s);return this._deserialize(i,t)},set:function(s,t){return t===void 0?this.remove(s):(this.storage.write(this._namespacePrefix+s,this._serialize(t)),t)},remove:function(s){this.storage.remove(this._namespacePrefix+s)},each:function(s){var t=this;this.storage.each(function(i,l){s.call(t,t._deserialize(i),(l||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(s){return this._namespacePrefix=="__storejs_"+s+"_"},createStore:function(){return n.apply(this,arguments)},addPlugin:function(s){this._addPlugin(s)},namespace:function(s){return n(this.storage,this.plugins,s)}};function a(){var e=typeof console=="undefined"?null:console;if(!e)return;var s=e.warn?e.warn:e.log;s.apply(e,arguments)}function n(e,s,t){t||(t=""),e&&!f(e)&&(e=[e]),s&&!f(s)&&(s=[s]);var i=t?"__storejs_"+t+"_":"",l=t?new RegExp("^"+i):null,u=/^[a-zA-Z0-9_\-]*$/;if(!u.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:i,_namespaceRegexp:l,_testStorage:function(A){try{var y="__storejs__test__";A.write(y,y);var E=A.read(y)===y;return A.remove(y),E}catch(C){return!1}},_assignPluginFnProp:function(A,y){var E=this[y];this[y]=function(){var w=x(arguments,0),b=this;function I(){return E?(v(arguments,function(L,D){w[D]=L}),E.apply(b,w)):void 0}var _=[I].concat(w);return A.apply(b,_)}},_serialize:function(A){return JSON.stringify(A)},_deserialize:function(A,y){if(!A)return y;var E="";try{E=JSON.parse(A)}catch(C){E=A}return E!==void 0?E:y},_addStorage:function(A){if(this.enabled)return;this._testStorage(A)&&(this.storage=A,this.enabled=!0)},_addPlugin:function(A){var y=this;if(f(A)){v(A,function(w){y._addPlugin(w)});return}var E=T(this.plugins,function(w){return A===w});if(E)return;if(this.plugins.push(A),!c(A))throw new Error("Plugins must be function values that return objects");var C=A.call(this);if(!o(C))throw new Error("Plugins must return an object of function properties");v(C,function(w,b){if(!c(w))throw new Error("Bad plugin property: "+b+" from plugin "+A.name+". Plugins should only return functions.");y._assignPluginFnProp(w,b)})},addStorage:function(A){a("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(A)}},p=m(h,r,{plugins:[]});return p.raw={},v(p,function(g,A){c(g)&&(p.raw[A]=S(p,g))}),v(e,function(g){p._addStorage(g)}),v(s,function(g){p._addPlugin(g)}),p}},"5rEg":function(U,P,d){"use strict";var O=d("pVnL"),x=d.n(O),T=d("lwsE"),v=d.n(T),S=d("W8MJ"),m=d.n(S),f=d("7W2i"),c=d.n(f),o=d("LQ03"),r=d.n(o),a=d("lSNA"),n=d.n(a),e=d("q1tI"),s=d("TSYQ"),t=d.n(s),i=d("BGR+"),l=d("kbBi"),u=d.n(l),h=d("CWQg"),p=d("0n0R"),g=Object(h.a)("text","input");function A(J){return!!(J.prefix||J.suffix||J.allowClear)}var y=function(J){c()(he,J);var Ae=r()(he);function he(){var Me;return v()(this,he),Me=Ae.apply(this,arguments),Me.containerRef=e.createRef(),Me.onInputMouseUp=function(Ie){var oe;if((oe=Me.containerRef.current)===null||oe===void 0?void 0:oe.contains(Ie.target)){var pe=Me.props.triggerFocus;pe()}},Me}return m()(he,[{key:"renderClearIcon",value:function(Ie){var oe=this.props,pe=oe.allowClear,Oe=oe.value,Ye=oe.disabled,it=oe.readOnly,et=oe.inputType,Te=oe.handleReset;if(!pe)return null;var tt=!Ye&&!it&&Oe,ze=et===g[0]?"".concat(Ie,"-textarea-clear-icon"):"".concat(Ie,"-clear-icon");return e.createElement(u.a,{onClick:Te,className:t()(ze,n()({},"".concat(ze,"-hidden"),!tt)),role:"button"})}},{key:"renderSuffix",value:function(Ie){var oe=this.props,pe=oe.suffix,Oe=oe.allowClear;return pe||Oe?e.createElement("span",{className:"".concat(Ie,"-suffix")},this.renderClearIcon(Ie),pe):null}},{key:"renderLabeledIcon",value:function(Ie,oe){var pe,Oe=this.props,Ye=Oe.focused,it=Oe.value,et=Oe.prefix,Te=Oe.className,tt=Oe.size,ze=Oe.suffix,dt=Oe.disabled,Ot=Oe.allowClear,Tt=Oe.direction,Ct=Oe.style,Nt=Oe.readOnly,Be=Oe.bordered,$=this.renderSuffix(Ie);if(!A(this.props))return Object(p.a)(oe,{value:it});var Z=et?e.createElement("span",{className:"".concat(Ie,"-prefix")},et):null,Re=t()(Te,"".concat(Ie,"-affix-wrapper"),(pe={},n()(pe,"".concat(Ie,"-affix-wrapper-focused"),Ye),n()(pe,"".concat(Ie,"-affix-wrapper-disabled"),dt),n()(pe,"".concat(Ie,"-affix-wrapper-sm"),tt==="small"),n()(pe,"".concat(Ie,"-affix-wrapper-lg"),tt==="large"),n()(pe,"".concat(Ie,"-affix-wrapper-input-with-clear-btn"),ze&&Ot&&it),n()(pe,"".concat(Ie,"-affix-wrapper-rtl"),Tt==="rtl"),n()(pe,"".concat(Ie,"-affix-wrapper-readonly"),Nt),n()(pe,"".concat(Ie,"-affix-wrapper-borderless"),!Be),pe));return e.createElement("span",{ref:this.containerRef,className:Re,style:Ct,onMouseUp:this.onInputMouseUp},Z,Object(p.a)(oe,{style:null,value:it,className:L(Ie,Be,tt,dt)}),$)}},{key:"renderInputWithLabel",value:function(Ie,oe){var pe,Oe,Ye=this.props,it=Ye.addonBefore,et=Ye.addonAfter,Te=Ye.style,tt=Ye.size,ze=Ye.className,dt=Ye.direction;if(!it&&!et)return oe;var Ot="".concat(Ie,"-group"),Tt="".concat(Ot,"-addon"),Ct=it?e.createElement("span",{className:Tt},it):null,Nt=et?e.createElement("span",{className:Tt},et):null,Be=t()("".concat(Ie,"-wrapper"),(pe={},n()(pe,Ot,it||et),n()(pe,"".concat(Ot,"-rtl"),dt==="rtl"),pe)),$=t()(ze,"".concat(Ie,"-group-wrapper"),(Oe={},n()(Oe,"".concat(Ie,"-group-wrapper-sm"),tt==="small"),n()(Oe,"".concat(Ie,"-group-wrapper-lg"),tt==="large"),n()(Oe,"".concat(Ie,"-group-wrapper-rtl"),dt==="rtl"),Oe));return e.createElement("span",{className:$,style:Te},e.createElement("span",{className:Be},Ct,Object(p.a)(oe,{style:null}),Nt))}},{key:"renderTextAreaWithClearIcon",value:function(Ie,oe){var pe,Oe=this.props,Ye=Oe.value,it=Oe.allowClear,et=Oe.className,Te=Oe.style,tt=Oe.direction,ze=Oe.bordered;if(!it)return Object(p.a)(oe,{value:Ye});var dt=t()(et,"".concat(Ie,"-affix-wrapper"),"".concat(Ie,"-affix-wrapper-textarea-with-clear-btn"),(pe={},n()(pe,"".concat(Ie,"-affix-wrapper-rtl"),tt==="rtl"),n()(pe,"".concat(Ie,"-affix-wrapper-borderless"),!ze),pe));return e.createElement("span",{className:dt,style:Te},Object(p.a)(oe,{style:null,value:Ye}),this.renderClearIcon(Ie))}},{key:"render",value:function(){var Ie=this.props,oe=Ie.prefixCls,pe=Ie.inputType,Oe=Ie.element;return pe===g[0]?this.renderTextAreaWithClearIcon(oe,Oe):this.renderInputWithLabel(oe,this.renderLabeledIcon(oe,Oe))}}]),he}(e.Component),E=y,C=d("H84U"),w=d("3Nzz"),b=d("uaoM");function I(J){return typeof J=="undefined"||J===null?"":J}function _(J,Ae,he){if(he){var Me=Ae;if(Ae.type==="click"){Me=Object.create(Ae),Me.target=J,Me.currentTarget=J;var Ie=J.value;J.value="",he(Me),J.value=Ie;return}he(Me)}}function L(J,Ae,he,Me,Ie){var oe;return t()(J,(oe={},n()(oe,"".concat(J,"-sm"),he==="small"),n()(oe,"".concat(J,"-lg"),he==="large"),n()(oe,"".concat(J,"-disabled"),Me),n()(oe,"".concat(J,"-rtl"),Ie==="rtl"),n()(oe,"".concat(J,"-borderless"),!Ae),oe))}var D=function(J){c()(he,J);var Ae=r()(he);function he(Me){var Ie;v()(this,he),Ie=Ae.call(this,Me),Ie.direction="ltr",Ie.focus=function(){Ie.input.focus()},Ie.saveClearableInput=function(pe){Ie.clearableInput=pe},Ie.saveInput=function(pe){Ie.input=pe},Ie.onFocus=function(pe){var Oe=Ie.props.onFocus;Ie.setState({focused:!0},Ie.clearPasswordValueAttribute),Oe&&Oe(pe)},Ie.onBlur=function(pe){var Oe=Ie.props.onBlur;Ie.setState({focused:!1},Ie.clearPasswordValueAttribute),Oe&&Oe(pe)},Ie.handleReset=function(pe){Ie.setValue("",function(){Ie.focus()}),_(Ie.input,pe,Ie.props.onChange)},Ie.renderInput=function(pe,Oe,Ye){var it=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},et=Ie.props,Te=et.className,tt=et.addonBefore,ze=et.addonAfter,dt=et.size,Ot=et.disabled,Tt=Object(i.default)(Ie.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return e.createElement("input",x()({autoComplete:it.autoComplete},Tt,{onChange:Ie.handleChange,onFocus:Ie.onFocus,onBlur:Ie.onBlur,onKeyDown:Ie.handleKeyDown,className:t()(L(pe,Ye,dt||Oe,Ot,Ie.direction),n()({},Te,Te&&!tt&&!ze)),ref:Ie.saveInput}))},Ie.clearPasswordValueAttribute=function(){Ie.removePasswordTimeout=setTimeout(function(){Ie.input&&Ie.input.getAttribute("type")==="password"&&Ie.input.hasAttribute("value")&&Ie.input.removeAttribute("value")})},Ie.handleChange=function(pe){Ie.setValue(pe.target.value,Ie.clearPasswordValueAttribute),_(Ie.input,pe,Ie.props.onChange)},Ie.handleKeyDown=function(pe){var Oe=Ie.props,Ye=Oe.onPressEnter,it=Oe.onKeyDown;pe.keyCode===13&&Ye&&Ye(pe),it&&it(pe)},Ie.renderComponent=function(pe){var Oe=pe.getPrefixCls,Ye=pe.direction,it=pe.input,et=Ie.state,Te=et.value,tt=et.focused,ze=Ie.props,dt=ze.prefixCls,Ot=ze.bordered,Tt=Ot===void 0?!0:Ot,Ct=Oe("input",dt);return Ie.direction=Ye,e.createElement(w.b.Consumer,null,function(Nt){return e.createElement(E,x()({size:Nt},Ie.props,{prefixCls:Ct,inputType:"input",value:I(Te),element:Ie.renderInput(Ct,Nt,Tt,it),handleReset:Ie.handleReset,ref:Ie.saveClearableInput,direction:Ye,focused:tt,triggerFocus:Ie.focus,bordered:Tt}))})};var oe=typeof Me.value=="undefined"?Me.defaultValue:Me.value;return Ie.state={value:oe,focused:!1,prevValue:Me.value},Ie}return m()(he,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ie){return A(Ie)!==A(this.props)&&Object(b.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ie,oe){this.props.value===void 0&&this.setState({value:Ie},oe)}},{key:"render",value:function(){return e.createElement(C.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ie,oe){var pe=oe.prevValue,Oe={prevValue:Ie.value};return(Ie.value!==void 0||pe!==Ie.value)&&(Oe.value=Ie.value),Oe}}]),he}(e.Component);D.defaultProps={type:"text"};var N=D,R=function(Ae){return e.createElement(C.a,null,function(he){var Me,Ie=he.getPrefixCls,oe=he.direction,pe=Ae.prefixCls,Oe=Ae.className,Ye=Oe===void 0?"":Oe,it=Ie("input-group",pe),et=t()(it,(Me={},n()(Me,"".concat(it,"-lg"),Ae.size==="large"),n()(Me,"".concat(it,"-sm"),Ae.size==="small"),n()(Me,"".concat(it,"-compact"),Ae.compact),n()(Me,"".concat(it,"-rtl"),oe==="rtl"),Me),Ye);return e.createElement("span",{className:et,style:Ae.style,onMouseEnter:Ae.onMouseEnter,onMouseLeave:Ae.onMouseLeave,onFocus:Ae.onFocus,onBlur:Ae.onBlur},Ae.children)})},B=R,M=d("c+Xe"),H=d("w6Tc"),F=d.n(H),K=d("gZBC"),j=d.n(K),V=d("2/Rp"),z=function(J,Ae){var he={};for(var Me in J)Object.prototype.hasOwnProperty.call(J,Me)&&Ae.indexOf(Me)<0&&(he[Me]=J[Me]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Me=Object.getOwnPropertySymbols(J);Ie=0&&b<0)&&(w=M,b=B,E=D,C.length=0),m(N,function(H){C.push({seriesIndex:I.seriesIndex,dataIndexInside:H,dataIndex:I.getData().getRawIndex(H)})}))}),{payloadBatch:C,snapToValue:E}}function n(p,g,A,y){p[g.key]={value:A,payloadBatch:y}}function e(p,g,A,y){var E=A.payloadBatch,C=g.axis,w=C.model,b=g.axisPointerModel;if(!g.triggerTooltip||!E.length)return;var I=g.coordSys.model,_=v.makeKey(I),L=p.map[_];L||(L=p.map[_]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},p.list.push(L)),L.dataByAxis.push({axisDim:C.dim,axisIndex:w.componentIndex,axisType:w.type,axisId:w.id,value:y,valueLabelOpt:{precision:b.get("label.precision"),formatter:b.get("label.formatter")},seriesDataIndices:E.slice()})}function s(p,g,A){var y=A.axesInfo=[];m(g,function(E,C){var w=E.axisPointerModel.option,b=p[C];b?(!E.useHandle&&(w.status="show"),w.value=b.value,w.seriesDataIndices=(b.payloadBatch||[]).slice()):!E.useHandle&&(w.status="hide"),w.status==="show"&&y.push({axisDim:E.axis.dim,axisIndex:E.axis.model.componentIndex,value:w.value})})}function t(p,g,A,y){if(h(g)||!p.list.length){y({type:"hideTip"});return}var E=((p.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};y({type:"showTip",escapeConnect:!0,x:g[0],y:g[1],tooltipOption:A.tooltipOption,position:A.position,dataIndexInside:E.dataIndexInside,dataIndex:E.dataIndex,seriesIndex:E.seriesIndex,dataByCoordSys:p.list})}function i(p,g,A){var y=A.getZr(),E="axisPointerLastHighlights",C=c(y)[E]||{},w=c(y)[E]={};m(p,function(_,L){var D=_.axisPointerModel.option;D.status==="show"&&m(D.seriesDataIndices,function(N){var R=N.seriesIndex+" | "+N.dataIndex;w[R]=N})});var b=[],I=[];O.each(C,function(_,L){!w[L]&&I.push(_)}),O.each(w,function(_,L){!C[L]&&b.push(_)}),I.length&&A.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),b.length&&A.dispatchAction({type:"highlight",escapeConnect:!0,batch:b})}function l(p,g){for(var A=0;A<(p||[]).length;A++){var y=p[A];if(g.axis.dim===y.axisDim&&g.axis.model.componentIndex===y.axisIndex)return y}}function u(p){var g=p.axis.model,A={},y=A.axisDim=p.axis.dim;return A.axisIndex=A[y+"AxisIndex"]=g.componentIndex,A.axisName=A[y+"AxisName"]=g.name,A.axisId=A[y+"AxisId"]=g.id,A}function h(p){return!p||p[0]==null||isNaN(p[0])||p[1]==null||isNaN(p[1])}U.exports=o},"6BzB":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.shrinkBuf=O,P.arraySet=x,P.flattenChunks=T,P.Buf32=P.Buf16=P.Buf8=void 0;function O(f,c){return f.length===c?f:f.subarray?f.subarray(0,c):(f.length=c,f)}function x(f,c,o,r,a){if(c.subarray&&f.subarray){f.set(c.subarray(o,o+r),a);return}for(var n=0;na&&(r=0,o={}),r++,o[H]=K,K}function l(B,M,H,F,K,j,V,z){return V?h(B,M,H,F,K,j,V,z):u(B,M,H,F,K,j,z)}function u(B,M,H,F,K,j,V){var z=L(B,M,K,j,V),Y=i(B,M);K&&(Y+=K[1]+K[3]);var ee=z.outerHeight,fe=p(0,Y,H),ie=g(0,ee,F),we=new O(fe,ie,Y,ee);return we.lineHeight=z.lineHeight,we}function h(B,M,H,F,K,j,V,z){var Y=D(B,{rich:V,truncate:z,font:M,textAlign:H,textPadding:K,textLineHeight:j}),ee=Y.outerWidth,fe=Y.outerHeight,ie=p(0,ee,H),we=g(0,fe,F);return new O(ie,we,ee,fe)}function p(B,M,H){return H==="right"?B-=M:H==="center"&&(B-=M/2),B}function g(B,M,H){return H==="middle"?B-=M/2:H==="bottom"&&(B-=M),B}function A(B,M,H){var F=M.textPosition,K=M.textDistance,j=H.x,V=H.y;K=K||0;var z=H.height,Y=H.width,ee=z/2,fe="left",ie="top";switch(F){case"left":j-=K,V+=ee,fe="right",ie="middle";break;case"right":j+=K+Y,V+=ee,ie="middle";break;case"top":j+=Y/2,V-=K,fe="center",ie="bottom";break;case"bottom":j+=Y/2,V+=z+K,fe="center";break;case"inside":j+=Y/2,V+=ee,fe="center",ie="middle";break;case"insideLeft":j+=K,V+=ee,ie="middle";break;case"insideRight":j+=Y-K,V+=ee,fe="right",ie="middle";break;case"insideTop":j+=Y/2,V+=K,fe="center";break;case"insideBottom":j+=Y/2,V+=z-K,fe="center",ie="bottom";break;case"insideTopLeft":j+=K,V+=K;break;case"insideTopRight":j+=Y-K,V+=K,fe="right";break;case"insideBottomLeft":j+=K,V+=z-K,ie="bottom";break;case"insideBottomRight":j+=Y-K,V+=z-K,fe="right",ie="bottom";break}return B=B||{},B.x=j,B.y=V,B.textAlign=fe,B.textVerticalAlign=ie,B}function y(B,M,H){var F={textPosition:B,textDistance:H};return A({},F,M)}function E(B,M,H,F,K){if(!M)return"";var j=(B+"").split(` `);K=C(M,H,F,K);for(var V=0,z=j.length;V=j;z++)V-=j;var Y=i(H,M);return Y>V&&(H="",Y=0),V=B-Y,F.ellipsis=H,F.ellipsisWidth=Y,F.contentWidth=V,F.containerWidth=B,F}function w(B,M){var H=M.containerWidth,F=M.font,K=M.contentWidth;if(!H)return"";var j=i(B,F);if(j<=H)return B;for(var V=0;;V++){if(j<=K||V>=M.maxIterations){B+=M.ellipsis;break}var z=V===0?b(B,K,M.ascCharWidth,M.cnCharWidth):j>0?Math.floor(B.length*K/j):0;B=B.substr(0,z),j=i(B,F)}return B===""&&(B=M.placeholder),B}function b(B,M,H,F){for(var K=0,j=0,V=B.length;jfe)B="",V=[];else if(ie!=null)for(var we=C(ie-(H?H[1]+H[3]:0),M,K.ellipsis,{minChar:K.minChar,placeholder:K.placeholder}),Ce=0,Le=V.length;CeF&&N(H,B.substring(F,j)),N(H,K[2],K[1]),F=n.lastIndex}FCe)return{lines:[],width:0,height:0};me.textWidth=i(me.text,G);var J=Je.textWidth,Ae=J==null||J==="auto";if(typeof J=="string"&&J.charAt(J.length-1)==="%")me.percentWidth=J,ee.push(me),J=0;else{if(Ae){J=me.textWidth;var he=Je.textBackgroundColor,Me=he&&he.image;Me&&(Me=x.findExistImage(Me),x.isImageReady(Me)&&(J=Math.max(J,Me.width*X/Me.height)))}var Ie=re?re[1]+re[3]:0;J+=Ie;var oe=we!=null?we-Pe:null;oe!=null&&oe"],x.isArray(u)&&(u=u.slice(),C=!0),w=h?u:C?[b(u[0]),b(u[1])]:b(u),x.isString(E))return E.replace("{value}",C?w[0]:w).replace("{value2}",C?w[1]:w);if(x.isFunction(E))return C?E(u[0],u[1]):E(u);if(C)return u[0]===y[0]?p[0]+" "+w[1]:u[1]===y[1]?p[1]+" "+w[0]:w[0]+" - "+w[1];return w;function b(I){return I===y[0]?"min":I===y[1]?"max":(+I).toFixed(Math.min(A,20))}},resetExtent:function(){var u=this.option,h=e([u.min,u.max]);this._dataExtent=h},getDataDimension:function(u){var h=this.option.dimension,p=u.dimensions;if(h==null&&!p.length)return;if(h!=null)return u.getDimension(h);for(var g=u.dimensions,A=g.length-1;A>=0;A--){var y=g[A],E=u.getDimensionInfo(y);if(!E.isCalculationCoord)return y}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var u=this.ecModel,h=this.option,p={inRange:h.inRange,outOfRange:h.outOfRange},g=h.target||(h.target={}),A=h.controller||(h.controller={});x.merge(g,p),x.merge(A,p);var y=this.isCategory();E.call(this,g),E.call(this,A),C.call(this,g,"inRange","outOfRange"),w.call(this,A);function E(b){a(h.color)&&!b.inRange&&(b.inRange={color:h.color.slice().reverse()}),b.inRange=b.inRange||{color:u.get("gradientColor")},n(this.stateList,function(I){var _=b[I];if(x.isString(_)){var L=v.get(_,"active",y);L?(b[I]={},b[I][_]=L):delete b[I]}},this)}function C(b,I,_){var L=b[I],D=b[_];L&&!D&&(D=b[_]={},n(L,function(N,R){if(!S.isValidType(R))return;var B=v.get(R,"inactive",y);B!=null&&(D[R]=B,R==="color"&&!D.hasOwnProperty("opacity")&&!D.hasOwnProperty("colorAlpha")&&(D.opacity=[0,0]))}))}function w(b){var I=(b.inRange||{}).symbol||(b.outOfRange||{}).symbol,_=(b.inRange||{}).symbolSize||(b.outOfRange||{}).symbolSize,L=this.get("inactiveColor");n(this.stateList,function(D){var N=this.itemSize,R=b[D];R||(R=b[D]={color:y?L:[L]}),R.symbol==null&&(R.symbol=I&&x.clone(I)||(y?"roundRect":["roundRect"])),R.symbolSize==null&&(R.symbolSize=_&&x.clone(_)||(y?N[0]:[N[0],N[0]])),R.symbol=o(R.symbol,function(H){return H==="none"||H==="square"?"roundRect":H});var B=R.symbolSize;if(B!=null){var M=-Infinity;r(B,function(H){H>M&&(M=H)}),R.symbolSize=o(B,function(H){return s(H,[0,M],[0,N[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),l=i;U.exports=l},"6usn":function(U,P,d){var O=d("bYtY");function x(v,S){return O.map(["Radius","Angle"],function(m,f){var c=this["get"+m+"Axis"](),o=S[f],r=v[f]/2,a="dataTo"+m,n=c.type==="category"?c.getBandWidth():Math.abs(c[a](o-r)-c[a](o+r));return m==="Angle"&&(n=n*Math.PI/180),n},this)}function T(v){var S=v.getRadiusAxis(),m=v.getAngleAxis(),f=S.getExtent();return f[0]>f[1]&&f.reverse(),{coordSys:{type:"polar",cx:v.cx,cy:v.cy,r:f[1],r0:f[0]},api:{coord:O.bind(function(c){var o=S.dataToRadius(c[0]),r=m.dataToAngle(c[1]),a=v.coordToPoint([o,r]);return a.push(o,r*Math.PI/180),a}),size:O.bind(x,v)}}}U.exports=T},"6xvX":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("V7ic"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},"711d":function(U,P){function d(O){return function(x){return x==null?void 0:x[O]}}U.exports=d},"72pK":function(U,P){function d(T,v,S,m,f,c){T=T||0;var o=S[1]-S[0];if(f!=null&&(f=x(f,[0,o])),c!=null&&(c=Math.max(c,f!=null?f:0)),m==="all"){var r=Math.abs(v[1]-v[0]);r=x(r,[0,o]),f=c=x(r,[f,c]),m=0}v[0]=x(v[0],S),v[1]=x(v[1],S);var a=O(v,m);v[m]+=T;var n=f||0,e=S.slice();a.sign<0?e[0]+=n:e[1]-=n,v[m]=x(v[m],e);var s=O(v,m);f!=null&&(s.sign!==a.sign||s.spanc&&(v[1-m]=v[m]+s.sign*c),v}function O(T,v){var S=T[v]-T[1-v];return{span:Math.abs(S),sign:S>0?-1:S<0?1:v?-1:1}}function x(T,v){return Math.min(v[1]!=null?v[1]:Infinity,Math.max(v[0]!=null?v[0]:-Infinity,T))}U.exports=d},"75ce":function(U,P,d){var O=d("ProS");d("IXuL"),d("8X+K");var x=d("f5Yq"),T=d("h8O9"),v=d("/d5a");d("Ae16"),O.registerVisual(x("line","circle","line")),O.registerLayout(T("line")),O.registerProcessor(O.PRIORITY.PROCESSOR.STATISTIC,v("line"))},"75ev":function(U,P,d){var O=d("ProS");d("IWNH"),d("bNin"),d("v5uJ");var x=d("f5Yq"),T=d("yik8");O.registerVisual(x("tree","circle")),O.registerLayout(T)},"7AJT":function(U,P,d){var O=d("bYtY"),x=d("hM6l"),T=function(S,m,f,c,o){x.call(this,S,m,f),this.type=c||"value",this.position=o||"bottom"};T.prototype={constructor:T,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var S=this.position;return S==="top"||S==="bottom"},getGlobalExtent:function(S){var m=this.getExtent();return m[0]=this.toGlobalCoord(m[0]),m[1]=this.toGlobalCoord(m[1]),S&&m[0]>m[1]&&m.reverse(),m},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(S,m){return this.coordToData(this.toLocalCoord(S[this.dim==="x"?0:1]),m)},toLocalCoord:null,toGlobalCoord:null},O.inherits(T,x);var v=T;U.exports=v},"7Cbv":function(U,P,d){"use strict";var O=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),x=new Uint8Array(16);function T(){if(!O)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return O(x)}var v=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function S(e){return typeof e=="string"&&v.test(e)}for(var m=S,f=[],c=0;c<256;++c)f.push((c+256).toString(16).substr(1));function o(e){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(f[e[s+0]]+f[e[s+1]]+f[e[s+2]]+f[e[s+3]]+"-"+f[e[s+4]]+f[e[s+5]]+"-"+f[e[s+6]]+f[e[s+7]]+"-"+f[e[s+8]]+f[e[s+9]]+"-"+f[e[s+10]]+f[e[s+11]]+f[e[s+12]]+f[e[s+13]]+f[e[s+14]]+f[e[s+15]]).toLowerCase();if(!m(t))throw TypeError("Stringified UUID is invalid");return t}var r=o;function a(e,s,t){e=e||{};var i=e.random||(e.rng||T)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,s){t=t||0;for(var l=0;l<16;++l)s[t+l]=i[l];return s}return r(i)}var n=P.a=a},"7DRL":function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("bYtY"),v=T.createHashMap,S=T.isString,m=T.isArray,f=T.each,c=T.assert,o=d("MEGo"),r=o.parseXML,a=v(),n={registerMap:function(s,t,i){var l;return m(t)?l=t:t.svg?l=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(i=t.specialAreas,t=t.geoJson),l=[{type:"geoJSON",source:t,specialAreas:i}]),f(l,function(u){var h=u.type;h==="geoJson"&&(h=u.type="geoJSON");var p=e[h];p(u)}),a.set(s,l)},retrieveMap:function(s){return a.get(s)}},e={geoJSON:function(s){var t=s.source;s.geoJSON=S(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(s){s.svgXML=r(s.source)}};U.exports=n},"7G+c":function(U,P,d){var O=d("bYtY"),x=O.createHashMap,T=O.isTypedArray,v=d("Yl7c"),S=v.enableClassCheck,m=d("k9D9"),f=m.SOURCE_FORMAT_ORIGINAL,c=m.SERIES_LAYOUT_BY_COLUMN,o=m.SOURCE_FORMAT_UNKNOWN,r=m.SOURCE_FORMAT_TYPED_ARRAY,a=m.SOURCE_FORMAT_KEYED_COLUMNS;function n(s){this.fromDataset=s.fromDataset,this.data=s.data||(s.sourceFormat===a?{}:[]),this.sourceFormat=s.sourceFormat||o,this.seriesLayoutBy=s.seriesLayoutBy||c,this.dimensionsDefine=s.dimensionsDefine,this.encodeDefine=s.encodeDefine&&x(s.encodeDefine),this.startIndex=s.startIndex||0,this.dimensionsDetectCount=s.dimensionsDetectCount}n.seriesDataToSource=function(s){return new n({data:s,sourceFormat:T(s)?r:f,fromDataset:!1})},S(n);var e=n;U.exports=e},"7Kak":function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("KPFz"),v=d.n(T)},"7Phj":function(U,P,d){var O=d("bYtY"),x=d("OELB"),T=x.parsePercent,v=O.each;function S(o){var r=m(o);v(r,function(a){var n=a.seriesModels;if(!n.length)return;f(a),v(n,function(e,s){c(e,a.boxOffsetList[s],a.boxWidthList[s])})})}function m(o){var r=[],a=[];return o.eachSeriesByType("boxplot",function(n){var e=n.getBaseAxis(),s=O.indexOf(a,e);s<0&&(s=a.length,a[s]=e,r[s]={axis:e,seriesModels:[]}),r[s].seriesModels.push(n)}),r}function f(o){var r,a=o.axis,n=o.seriesModels,e=n.length,s=o.boxWidthList=[],t=o.boxOffsetList=[],i=[],l;if(a.type==="category")l=a.getBandWidth();else{var u=0;v(n,function(y){u=Math.max(u,y.getData().count())}),r=a.getExtent(),Math.abs(r[1]-r[0])/u}v(n,function(y){var E=y.get("boxWidth");O.isArray(E)||(E=[E,E]),i.push([T(E[0],l)||0,T(E[1],l)||0])});var h=l*.8-2,p=h/e*.3,g=(h-p*(e-1))/e,A=g/2-h/2;v(n,function(y,E){t.push(A),A+=p+g,s.push(Math.min(Math.max(g,i[E][0]),i[E][1]))})}function c(o,r,a){var n=o.coordinateSystem,e=o.getData(),s=a/2,t=o.get("layout")==="horizontal"?0:1,i=1-t,l=["x","y"],u=e.mapDimension(l[t]),h=e.mapDimension(l[i],!0);if(u==null||h.length<5)return;for(var p=0;p=0&&I.splice(_,1),w.__hoverMir=null},clearHover:function(w){for(var b=this._hoverElements,I=0;I15)break}}D.__drawIndex=z,D.__drawIndex0&&w>_[0]){for(N=0;Nw);N++);D=I[_[N]]}if(_.splice(N+1,0,w),I[w]=b,!b.virtual)if(D){var B=D.dom;B.nextSibling?R.insertBefore(b.dom,B.nextSibling):R.appendChild(b.dom)}else R.firstChild?R.insertBefore(b.dom,R.firstChild):R.appendChild(b.dom)},eachLayer:function(w,b){var I=this._zlevelList,_,L;for(L=0;L0?e:0),this._needsManuallyCompositing),B.__builtin__||v("ZLevel "+R+" has been used by unkown layer "+B.id),B!==L&&(B.__used=!0,B.__startIndex!==I&&(B.__dirty=!0),B.__startIndex=I,B.incremental?B.__drawIndex=-1:B.__drawIndex=I,b(I),L=B),_.__dirty&&(B.__dirty=!0,B.incremental&&B.__drawIndex<0&&(B.__drawIndex=I))}b(I),this.eachBuiltinLayer(function(M,H){!M.__used&&M.getElementCount()>0&&(M.__dirty=!0,M.__startIndex=M.__endIndex=M.__drawIndex=0),M.__dirty&&M.__drawIndex<0&&(M.__drawIndex=M.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(w){w.clear()},setBackgroundColor:function(w){this._backgroundColor=w},configLayer:function(w,b){if(b){var I=this._layerConfig;I[w]?T.merge(I[w],b,!0):I[w]=b;for(var _=0;_=c&&(f=c-1),f<0&&(f=0)),this.option.currentIndex=f},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(f){this.option.autoPlay=!!f},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var f=this.option,c=f.data||[],o=f.axisType,r=this._names=[];if(o==="category"){var a=[];O.each(c,function(s,t){var i=v.getDataItemValue(s),l;O.isObject(s)?(l=O.clone(s),l.value=t):l=t,a.push(l),!O.isString(i)&&(i==null||isNaN(i))&&(i=""),r.push(i+"")}),c=a}var n={category:"ordinal",time:"time"}[o]||"number",e=this._data=new T([{name:"value",type:n}],this);e.initData(c,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),m=S;U.exports=m},"7aKB":function(U,P,d){var O=d("bYtY"),x=d("6GrX"),T=d("OELB");function v(A){return isNaN(A)?"-":(A=(A+"").split("."),A[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(A.length>1?"."+A[1]:""))}function S(A,y){return A=(A||"").toLowerCase().replace(/-(.)/g,function(E,C){return C.toUpperCase()}),y&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var m=O.normalizeCssArray,f=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function o(A){return A==null?"":(A+"").replace(f,function(y,E){return c[E]})}var r=["a","b","c","d","e","f","g"],a=function(A,y){return"{"+A+(y==null?"":y)+"}"};function n(A,y,E){O.isArray(y)||(y=[y]);var C=y.length;if(!C)return"";for(var w=y[0].$vars||[],b=0;b':'':{renderMode:w,content:"{marker"+b+"|} ",style:{color:E}}:""}function t(A,y){return A+="","0000".substr(0,y-A.length)+A}function i(A,y,E){(A==="week"||A==="month"||A==="quarter"||A==="half-year"||A==="year")&&(A=`MM-dd yyyy`);var C=T.parseDate(y),w=E?"UTC":"",b=C["get"+w+"FullYear"](),I=C["get"+w+"Month"]()+1,_=C["get"+w+"Date"](),L=C["get"+w+"Hours"](),D=C["get"+w+"Minutes"](),N=C["get"+w+"Seconds"](),R=C["get"+w+"Milliseconds"]();return A=A.replace("MM",t(I,2)).replace("M",I).replace("yyyy",b).replace("yy",b%100).replace("dd",t(_,2)).replace("d",_).replace("hh",t(L,2)).replace("h",L).replace("mm",t(D,2)).replace("m",D).replace("ss",t(N,2)).replace("s",N).replace("SSS",t(R,3)),A}function l(A){return A&&A.charAt(0).toUpperCase()+A.substr(1)}var u=x.truncateText;function h(A){return x.getBoundingRect(A.text,A.font,A.textAlign,A.textVerticalAlign,A.textPadding,A.textLineHeight,A.rich,A.truncate)}function p(A,y,E,C,w,b,I,_){return x.getBoundingRect(A,y,E,C,w,_,b,I)}function g(A,y){if(y==="_blank"||y==="blank"){var E=window.open();E.opener=null,E.location=A}else window.open(A,y)}P.addCommas=v,P.toCamelCase=S,P.normalizeCssArray=m,P.encodeHTML=o,P.formatTpl=n,P.formatTplSimple=e,P.getTooltipMarker=s,P.formatTime=i,P.capitalFirst=l,P.truncateText=u,P.getTextBoundingRect=h,P.getTextRect=p,P.windowOpen=g},"7bkD":function(U,P,d){var O=d("bYtY");function x(T,v){v=v||{};var S=T.coordinateSystem,m=T.axis,f={},c=m.position,o=m.orient,r=S.getRect(),a=[r.x,r.x+r.width,r.y,r.y+r.height],n={horizontal:{top:a[2],bottom:a[3]},vertical:{left:a[0],right:a[1]}};f.position=[o==="vertical"?n.vertical[c]:a[0],o==="horizontal"?n.horizontal[c]:a[3]];var e={horizontal:0,vertical:1};f.rotation=Math.PI/2*e[o];var s={top:-1,bottom:1,right:1,left:-1};f.labelDirection=f.tickDirection=f.nameDirection=s[c],T.get("axisTick.inside")&&(f.tickDirection=-f.tickDirection),O.retrieve(v.labelInside,T.get("axisLabel.inside"))&&(f.labelDirection=-f.labelDirection);var t=v.rotate;return t==null&&(t=T.get("axisLabel.rotate")),f.labelRotation=c==="top"?-t:t,f.z2=1,f}P.layout=x},"7hqr":function(U,P,d){var O=d("bYtY"),x=O.each,T=O.isString;function v(f,c,o){o=o||{};var r=o.byIndex,a=o.stackedCoordDimension,n=!!(f&&f.get("stack")),e,s,t,i;if(x(c,function(p,g){T(p)&&(c[g]=p={name:p}),n&&!p.isExtraCoord&&(!r&&!e&&p.ordinalMeta&&(e=p),!s&&p.type!=="ordinal"&&p.type!=="time"&&(!a||a===p.coordDim)&&(s=p))}),s&&!r&&!e&&(r=!0),s){t="__\0ecstackresult",i="__\0ecstackedover",e&&(e.createInvertedIndices=!0);var l=s.coordDim,u=s.type,h=0;x(c,function(p){p.coordDim===l&&h++}),c.push({name:t,coordDim:l,coordDimIndex:h,type:u,isExtraCoord:!0,isCalculationCoord:!0}),h++,c.push({name:i,coordDim:i,coordDimIndex:h,type:u,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:s&&s.name,stackedByDimension:e&&e.name,isStackedByIndex:r,stackedOverDimension:i,stackResultDimension:t}}function S(f,c){return!!c&&c===f.getCalculationInfo("stackedDimension")}function m(f,c){return S(f,c)?f.getCalculationInfo("stackResultDimension"):c}P.enableDataStack=v,P.isDimensionStacked=S,P.getStackedDimension=m},"7mYs":function(U,P,d){var O=d("ProS"),x=d("bYtY"),T=d("IwbS"),v=d("7aKB"),S=d("OELB"),m={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},f={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},c=O.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,r,a){var n=this.group;n.removeAll();var e=o.coordinateSystem,s=e.getRangeInfo(),t=e.getOrient();this._renderDayRect(o,s,n),this._renderLines(o,s,t,n),this._renderYearText(o,s,t,n),this._renderMonthText(o,t,n),this._renderWeekText(o,s,t,n)},_renderDayRect:function(o,r,a){for(var n=o.coordinateSystem,e=o.getModel("itemStyle").getItemStyle(),s=n.getCellWidth(),t=n.getCellHeight(),i=r.start.time;i<=r.end.time;i=n.getNextNDay(i,1).time){var l=n.dataToRect([i],!1).tl,u=new T.Rect({shape:{x:l[0],y:l[1],width:s,height:t},cursor:"default",style:e});a.add(u)}},_renderLines:function(o,r,a,n){var e=this,s=o.coordinateSystem,t=o.getModel("splitLine.lineStyle").getLineStyle(),i=o.get("splitLine.show"),l=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=r.start,h=0;u.time<=r.end.time;h++){g(u.formatedDate),h===0&&(u=s.getDateInfo(r.start.y+"-"+r.start.m));var p=u.date;p.setMonth(p.getMonth()+1),u=s.getDateInfo(p)}g(s.getNextNDay(r.end.time,1).formatedDate);function g(A){e._firstDayOfMonth.push(s.getDateInfo(A)),e._firstDayPoints.push(s.dataToRect([A],!1).tl);var y=e._getLinePointsOfOneWeek(o,A,a);e._tlpoints.push(y[0]),e._blpoints.push(y[y.length-1]),i&&e._drawSplitline(y,t,n)}i&&this._drawSplitline(e._getEdgesPoints(e._tlpoints,l,a),t,n),i&&this._drawSplitline(e._getEdgesPoints(e._blpoints,l,a),t,n)},_getEdgesPoints:function(o,r,a){var n=[o[0].slice(),o[o.length-1].slice()],e=a==="horizontal"?0:1;return n[0][e]=n[0][e]-r/2,n[1][e]=n[1][e]+r/2,n},_drawSplitline:function(o,r,a){var n=new T.Polyline({z2:20,shape:{points:o},style:r});a.add(n)},_getLinePointsOfOneWeek:function(o,r,a){var n=o.coordinateSystem;r=n.getDateInfo(r);for(var e=[],s=0;s<7;s++){var t=n.getNextNDay(r.time,s),i=n.dataToRect([t.time],!1);e[2*t.day]=i.tl,e[2*t.day+1]=i[a==="horizontal"?"bl":"tr"]}return e},_formatterLabel:function(o,r){return typeof o=="string"&&o?v.formatTplSimple(o,r):typeof o=="function"?o(r):r.nameMap},_yearTextPositionControl:function(o,r,a,n,e){r=r.slice();var s=["center","bottom"];n==="bottom"?(r[1]+=e,s=["center","top"]):n==="left"?r[0]-=e:n==="right"?(r[0]+=e,s=["center","top"]):r[1]-=e;var t=0;return(n==="left"||n==="right")&&(t=Math.PI/2),{rotation:t,position:r,style:{textAlign:s[0],textVerticalAlign:s[1]}}},_renderYearText:function(o,r,a,n){var e=o.getModel("yearLabel");if(!e.get("show"))return;var s=e.get("margin"),t=e.get("position");t||(t=a!=="horizontal"?"top":"left");var i=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(i[0][0]+i[1][0])/2,u=(i[0][1]+i[1][1])/2,h=a==="horizontal"?0:1,p={top:[l,i[h][1]],bottom:[l,i[1-h][1]],left:[i[1-h][0],u],right:[i[h][0],u]},g=r.start.y;+r.end.y>+r.start.y&&(g=g+"-"+r.end.y);var A=e.get("formatter"),y={start:r.start.y,end:r.end.y,nameMap:g},E=this._formatterLabel(A,y),C=new T.Text({z2:30});T.setTextStyle(C.style,e,{text:E}),C.attr(this._yearTextPositionControl(C,p[t],a,t,s)),n.add(C)},_monthTextPositionControl:function(o,r,a,n,e){var s="left",t="top",i=o[0],l=o[1];return a==="horizontal"?(l=l+e,r&&(s="center"),n==="start"&&(t="bottom")):(i=i+e,r&&(t="middle"),n==="start"&&(s="right")),{x:i,y:l,textAlign:s,textVerticalAlign:t}},_renderMonthText:function(o,r,a){var n=o.getModel("monthLabel");if(!n.get("show"))return;var e=n.get("nameMap"),s=n.get("margin"),t=n.get("position"),i=n.get("align"),l=[this._tlpoints,this._blpoints];x.isString(e)&&(e=m[e.toUpperCase()]||[]);var u=t==="start"?0:1,h=r==="horizontal"?0:1;s=t==="start"?-s:s;for(var p=i==="center",g=0;g1?(b.width=A,b.height=A/C):(b.height=A,b.width=A*C),b.y=g[1]-b.height/2,b.x=g[0]-b.width/2}else p=s.getBoxLayoutParams(),p.aspect=C,b=m.getLayoutRect(p,{width:y,height:E});this.setViewRect(b.x,b.y,b.width,b.height),this.setCenter(s.get("center")),this.setZoom(s.get("zoom"))}function a(s,t){v.each(t.get("geoCoord"),function(i,l){s.addGeoCoord(l,i)})}var n={dimensions:S.prototype.dimensions,create:function(s,t){var i=[];s.eachComponent("geo",function(u,h){var p=u.get("map"),g=u.get("aspectScale"),A=!0,y=o.retrieveMap(p);y&&y[0]&&y[0].type==="svg"?(g==null&&(g=1),A=!1):g==null&&(g=.75);var E=new S(p+h,p,u.get("nameMap"),A);E.aspectScale=g,E.zoomLimit=u.get("scaleLimit"),i.push(E),a(E,u),u.coordinateSystem=E,E.model=u,E.resize=r,E.resize(u,t)}),s.eachSeries(function(u){var h=u.get("coordinateSystem");if(h==="geo"){var p=u.get("geoIndex")||0;u.coordinateSystem=i[p]}});var l={};return s.eachSeriesByType("map",function(u){if(!u.getHostGeoModel()){var h=u.getMapType();l[h]=l[h]||[],l[h].push(u)}}),v.each(l,function(u,h){var p=v.map(u,function(A){return A.get("nameMap")}),g=new S(h,h,v.mergeAll(p));g.zoomLimit=v.retrieve.apply(null,v.map(u,function(A){return A.get("scaleLimit")})),i.push(g),g.resize=r,g.aspectScale=u[0].get("aspectScale"),g.resize(u[0],t),v.each(u,function(A){A.coordinateSystem=g,a(g,A)})}),i},getFilledRegions:function(s,t,i){for(var l=(s||[]).slice(),u=v.createHashMap(),h=0;h=32&&v<=255)return v;var S=O[v];return S!==void 0?S:16777216|v}};P.default=x},"8CQX":function(U,P,d){"use strict";function O(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(i){return typeof i}:O=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},O(s)}Object.defineProperty(P,"__esModule",{value:!0}),P.getKeycode=a,P.getKey=n,P.getKeysym=e;var x=r(d("mHUz")),T=r(d("8+yF")),v=r(d("6Qwc")),S=r(d("gIYZ")),m=r(d("mTgk")),f=o(d("GdRQ"));function c(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return c=function(){return s},s}function o(s){if(s&&s.__esModule)return s;if(s===null||O(s)!=="object"&&typeof s!="function")return{default:s};var t=c();if(t&&t.has(s))return t.get(s);var i={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in s)if(Object.prototype.hasOwnProperty.call(s,u)){var h=l?Object.getOwnPropertyDescriptor(s,u):null;h&&(h.get||h.set)?Object.defineProperty(i,u,h):i[u]=s[u]}return i.default=s,t&&t.set(s,i),i}function r(s){return s&&s.__esModule?s:{default:s}}function a(s){if(s.code){switch(s.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return s.code}if(s.type!=="keypress"&&s.keyCode in v.default){var t=v.default[s.keyCode];if(f.isMac()&&t==="ContextMenu"&&(t="MetaRight"),s.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(s.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function n(s){if(s.key!==void 0){switch(s.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return s.char}switch(s.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(s.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(s.key==="\0"&&s.code==="NumpadDecimal")return"Delete";if(!f.isIE()&&!f.isEdge())return s.key;if(s.key.length!==1&&s.key!=="Unidentified")return s.key}var t=a(s);return t in S.default?S.default[t]:s.charCode?String.fromCharCode(s.charCode):"Unidentified"}function e(s){var t=n(s);if(t==="Unidentified")return null;if(t in m.default){var i=s.location;if(t==="Meta"&&i===0&&(i=2),t==="Clear"&&i===3){var l=a(s);l==="NumLock"&&(i=0)}if((i===void 0||i>3)&&(i=0),t==="Meta"){var u=a(s);if(u==="AltLeft")return x.default.XK_Meta_L;if(u==="AltRight")return x.default.XK_Meta_R}if(t==="Clear"){var h=a(s);if(h==="NumLock")return x.default.XK_Num_Lock}return m.default[t][i]}if(t.length!==1)return null;var p=t.charCodeAt();return p?T.default.lookup(p):null}},"8EBN":function(U,P,d){(function(O){O(d("VrN/"))})(function(O){"use strict";O.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var x=0;x-1&&v.substring(f+1,v.length);if(c)return O.findModeByExtension(c)},O.findModeByName=function(v){v=v.toLowerCase();for(var S=0;S>p&1&&(this._zlibs[p].reset(),x.Info("Reset zlib stream "+p));this._ctl=this._ctl>>4}var g;if(this._ctl===8)g=this._fillRect(e,s,t,i,l,u,h);else if(this._ctl===9)g=this._jpegRect(e,s,t,i,l,u,h);else if(this._ctl===10)g=this._pngRect(e,s,t,i,l,u,h);else if((this._ctl&128)==0)g=this._basicRect(this._ctl,e,s,t,i,l,u,h);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return g&&(this._ctl=null),g}},{key:"_fillRect",value:function(e,s,t,i,l,u,h){if(l.rQwait("TIGHT",3))return!1;var p=l.rQi,g=l.rQ;return u.fillRect(e,s,t,i,[g[p+2],g[p+1],g[p]],!1),l.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(e,s,t,i,l,u,h){var p=this._readData(l);return p===null?!1:(u.imageRect(e,s,t,i,"image/jpeg",p),!0)}},{key:"_pngRect",value:function(e,s,t,i,l,u,h){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(e,s,t,i,l,u,h,p){if(this._filter===null)if(e&4){if(u.rQwait("TIGHT",1))return!1;this._filter=u.rQshift8()}else this._filter=0;var g=e&3,A;switch(this._filter){case 0:A=this._copyFilter(g,s,t,i,l,u,h,p);break;case 1:A=this._paletteFilter(g,s,t,i,l,u,h,p);break;case 2:A=this._gradientFilter(g,s,t,i,l,u,h,p);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return A&&(this._filter=null),A}},{key:"_copyFilter",value:function(e,s,t,i,l,u,h,p){var g=i*l*3,A;if(g<12){if(u.rQwait("TIGHT",g))return!1;A=u.rQshiftBytes(g)}else{if(A=this._readData(u),A===null)return!1;this._zlibs[e].setInput(A),A=this._zlibs[e].inflate(g),this._zlibs[e].setInput(null)}return h.blitRgbImage(s,t,i,l,A,0,!1),!0}},{key:"_paletteFilter",value:function(e,s,t,i,l,u,h,p){if(this._numColors===0){if(u.rQwait("TIGHT palette",1))return!1;var g=u.rQpeek8()+1,A=g*3;if(u.rQwait("TIGHT palette",1+A))return!1;this._numColors=g,u.rQskipBytes(1),u.rQshiftTo(this._palette,A)}var y=this._numColors<=2?1:8,E=Math.floor((i*y+7)/8),C=E*l,w;if(C<12){if(u.rQwait("TIGHT",C))return!1;w=u.rQshiftBytes(C)}else{if(w=this._readData(u),w===null)return!1;this._zlibs[e].setInput(w),w=this._zlibs[e].inflate(C),this._zlibs[e].setInput(null)}return this._numColors==2?this._monoRect(s,t,i,l,w,this._palette,h):this._paletteRect(s,t,i,l,w,this._palette,h),this._numColors=0,!0}},{key:"_monoRect",value:function(e,s,t,i,l,u,h){for(var p=this._getScratchBuffer(t*i*4),g=Math.floor((t+7)/8),A=Math.floor(t/8),y=0;y=0;b--)E=(y*t+w*8+7-b)*4,C=(l[y*g+w]>>b&1)*3,p[E]=u[C],p[E+1]=u[C+1],p[E+2]=u[C+2],p[E+3]=255;for(var I=7;I>=8-t%8;I--)E=(y*t+w*8+7-I)*4,C=(l[y*g+w]>>I&1)*3,p[E]=u[C],p[E+1]=u[C+1],p[E+2]=u[C+2],p[E+3]=255}h.blitRgbxImage(e,s,t,i,p,0,!1)}},{key:"_paletteRect",value:function(e,s,t,i,l,u,h){for(var p=this._getScratchBuffer(t*i*4),g=t*i*4,A=0,y=0;A=0;H--){var F=R[H].dimension,K=D.dimensions[F],j=D.getDimensionInfo(K);if(B=j&&j.coordDim,B==="x"||B==="y"){M=R[H];break}}if(!M)return;var V=N.getAxis(B),z=T.map(M.stops,function(He){return{coord:V.toGlobalCoord(V.dataToCoord(He.value)),color:He.color}}),Y=z.length,ee=M.outerColors.slice();Y&&z[0].coord>z[Y-1].coord&&(z.reverse(),ee.reverse());var fe=10,ie=z[0].coord-fe,we=z[Y-1].coord+fe,Ce=we-ie;if(Ce<.001)return"transparent";T.each(z,function(He){He.offset=(He.coord-ie)/Ce}),z.push({offset:Y?z[Y-1].offset:.5,color:ee[1]||"transparent"}),z.unshift({offset:Y?z[0].offset:.5,color:ee[0]||"transparent"});var Le=new o.LinearGradient(0,0,0,0,z,!0);return Le[B]=ie,Le[B+"2"]=we,Le}function b(D,N,R){var B=D.get("showAllSymbol"),M=B==="auto";if(B&&!M)return;var H=R.getAxesByScale("ordinal")[0];if(!H)return;if(M&&I(H,N))return;var F=N.mapDimension(H.dim),K={};return T.each(H.getViewLabels(),function(j){K[j.tickValue]=1}),function(j){return!K.hasOwnProperty(N.get(F,j))}}function I(D,N){var R=D.getExtent(),B=Math.abs(R[1]-R[0])/D.scale.count();isNaN(B)&&(B=0);for(var M=N.count(),H=Math.max(1,Math.round(M/5)),F=0;FB)return!1;return!0}function _(D,N,R){if(D.type==="cartesian2d"){var B=D.getBaseAxis().isHorizontal(),M=h(D,N,R);if(!R.get("clip",!0)){var H=M.shape,F=Math.max(H.width,H.height);B?(H.y-=F,H.height+=F*2):(H.x-=F,H.width+=F*2)}return M}else return p(D,N,R)}var L=s.extend({type:"line",init:function(){var D=new o.Group,N=new m;this.group.add(N.group),this._symbolDraw=N,this._lineGroup=D},render:function(D,N,R){var B=D.coordinateSystem,M=this.group,H=D.getData(),F=D.getModel("lineStyle"),K=D.getModel("areaStyle"),j=H.mapArray(H.getItemLayout),V=B.type==="polar",z=this._coordSys,Y=this._symbolDraw,ee=this._polyline,fe=this._polygon,ie=this._lineGroup,we=D.get("animation"),Ce=!K.isEmpty(),Le=K.get("origin"),He=i(B,H,Le),ce=E(B,H,He),Pe=D.get("showSymbol"),Q=Pe&&!V&&b(D,H,B),me=this._data;me&&me.eachItemGraphicEl(function(he,Me){he.__temp&&(M.remove(he),me.setItemGraphicEl(Me,null))}),Pe||Y.remove(),M.add(ie);var Je=!V&&D.get("step"),re;B&&B.getArea&&D.get("clip",!0)&&(re=B.getArea(),re.width!=null?(re.x-=.1,re.y-=.1,re.width+=.2,re.height+=.2):re.r0&&(re.r0-=.5,re.r1+=.5)),this._clipShapeForSymbol=re,ee&&z.type===B.type&&Je===this._step?(Ce&&!fe?fe=this._newPolygon(j,ce,B,we):fe&&!Ce&&(ie.remove(fe),fe=this._polygon=null),ie.setClipPath(_(B,!1,D)),Pe&&Y.updateData(H,{isIgnore:Q,clipShape:re}),H.eachItemGraphicEl(function(he){he.stopAnimation(!0)}),(!g(this._stackedOnPoints,ce)||!g(this._points,j))&&(we?this._updateAnimation(H,ce,B,R,Je,Le):(Je&&(j=C(j,B,Je),ce=C(ce,B,Je)),ee.setShape({points:j}),fe&&fe.setShape({points:j,stackedOnPoints:ce})))):(Pe&&Y.updateData(H,{isIgnore:Q,clipShape:re}),Je&&(j=C(j,B,Je),ce=C(ce,B,Je)),ee=this._newPolyline(j,B,we),Ce&&(fe=this._newPolygon(j,ce,B,we)),ie.setClipPath(_(B,!0,D)));var G=w(H,B)||H.getVisual("color");ee.useStyle(T.defaults(F.getLineStyle(),{fill:"none",stroke:G,lineJoin:"bevel"}));var X=D.get("smooth");if(X=y(D.get("smooth")),ee.setShape({smooth:X,smoothMonotone:D.get("smoothMonotone"),connectNulls:D.get("connectNulls")}),fe){var J=H.getCalculationInfo("stackedOnSeries"),Ae=0;fe.useStyle(T.defaults(K.getAreaStyle(),{fill:G,opacity:.7,lineJoin:"bevel"})),J&&(Ae=y(J.get("smooth"))),fe.setShape({smooth:X,stackedOnSmooth:Ae,smoothMonotone:D.get("smoothMonotone"),connectNulls:D.get("connectNulls")})}this._data=H,this._coordSys=B,this._stackedOnPoints=ce,this._points=j,this._step=Je,this._valueOrigin=Le},dispose:function(){},highlight:function(D,N,R,B){var M=D.getData(),H=r.queryDataIndex(M,B);if(!(H instanceof Array)&&H!=null&&H>=0){var F=M.getItemGraphicEl(H);if(!F){var K=M.getItemLayout(H);if(!K)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(K[0],K[1]))return;F=new f(M,H),F.position=K,F.setZ(D.get("zlevel"),D.get("z")),F.ignore=isNaN(K[0])||isNaN(K[1]),F.__temp=!0,M.setItemGraphicEl(H,F),F.stopSymbolAnimation(!0),this.group.add(F)}F.highlight()}else s.prototype.highlight.call(this,D,N,R,B)},downplay:function(D,N,R,B){var M=D.getData(),H=r.queryDataIndex(M,B);if(H!=null&&H>=0){var F=M.getItemGraphicEl(H);F&&(F.__temp?(M.setItemGraphicEl(H,null),this.group.remove(F)):F.downplay())}else s.prototype.downplay.call(this,D,N,R,B)},_newPolyline:function(D){var N=this._polyline;return N&&this._lineGroup.remove(N),N=new n({shape:{points:D},silent:!0,z2:10}),this._lineGroup.add(N),this._polyline=N,N},_newPolygon:function(D,N){var R=this._polygon;return R&&this._lineGroup.remove(R),R=new e({shape:{points:D,stackedOnPoints:N},silent:!0}),this._lineGroup.add(R),this._polygon=R,R},_updateAnimation:function(D,N,R,B,M,H){var F=this._polyline,K=this._polygon,j=D.hostModel,V=c(this._data,D,this._stackedOnPoints,N,this._coordSys,R,this._valueOrigin,H),z=V.current,Y=V.stackedOnCurrent,ee=V.next,fe=V.stackedOnNext;if(M&&(z=C(V.current,R,M),Y=C(V.stackedOnCurrent,R,M),ee=C(V.next,R,M),fe=C(V.stackedOnNext,R,M)),A(z,ee)>3e3||K&&A(Y,fe)>3e3){F.setShape({points:ee}),K&&K.setShape({points:ee,stackedOnPoints:fe});return}F.shape.__points=V.current,F.shape.points=z,o.updateProps(F,{shape:{points:ee}},j),K&&(K.setShape({points:z,stackedOnPoints:Y}),o.updateProps(K,{shape:{points:ee,stackedOnPoints:fe}},j));for(var ie=[],we=V.status,Ce=0;Ce1&&arguments[1]!==void 0?arguments[1]:2;it();var ze=Object(H.a)(function(){tt<=1?Te({isCanceled:function(){return ze!==Ye.current}}):et(Te,tt-1)});Ye.current=ze}return S.useEffect(function(){return function(){it()}},[]),[et,it]},K=[_,L,D,N],j=!1,V=!0;function z(Ye){return Ye===D||Ye===N}var Y=function(Ye,it){var et=S.useState(I),Te=Object(T.a)(et,2),tt=Te[0],ze=Te[1],dt=F(),Ot=Object(T.a)(dt,2),Tt=Ot[0],Ct=Ot[1];function Nt(){ze(_)}return M(function(){if(tt!==I&&tt!==N){var Be=K.indexOf(tt),$=K[Be+1],Z=it(tt);Z===j?ze($):Tt(function(Re){function De(){if(Re.isCanceled())return;ze($)}Z===!0?De():Promise.resolve(Z).then(De)})}},[Ye,tt]),S.useEffect(function(){return function(){Ct()}},[]),[Nt,tt]},ee=function(Ye){var it=Object(S.useRef)(),et=Object(S.useRef)(Ye);et.current=Ye;var Te=S.useCallback(function(dt){et.current(dt)},[]);function tt(dt){dt&&(dt.removeEventListener(A,Te),dt.removeEventListener(g,Te))}function ze(dt){it.current&&it.current!==dt&&tt(it.current),dt&&dt!==it.current&&(dt.addEventListener(A,Te),dt.addEventListener(g,Te),it.current=dt)}return S.useEffect(function(){return function(){tt(it.current)}},[]),[ze,tt]};function fe(Ye,it,et,Te){var tt=Te.motionEnter,ze=tt===void 0?!0:tt,dt=Te.motionAppear,Ot=dt===void 0?!0:dt,Tt=Te.motionLeave,Ct=Tt===void 0?!0:Tt,Nt=Te.motionDeadline,Be=Te.motionLeaveImmediately,$=Te.onAppearPrepare,Z=Te.onEnterPrepare,Re=Te.onLeavePrepare,De=Te.onAppearStart,ae=Te.onEnterStart,gt=Te.onLeaveStart,jt=Te.onAppearActive,ut=Te.onEnterActive,rr=Te.onLeaveActive,pr=Te.onAppearEnd,nn=Te.onEnterEnd,mr=Te.onLeaveEnd,vr=Te.onVisibleChanged,$t=R(),Xt=Object(T.a)($t,2),ft=Xt[0],Ur=Xt[1],yn=R(E),Dn=Object(T.a)(yn,2),Un=Dn[0],wi=Dn[1],Rn=R(null),kn=Object(T.a)(Rn,2),Vn=kn[0],Gt=kn[1],st=Object(S.useRef)(!1),ue=Object(S.useRef)(null),Ee=Object(S.useRef)(!1),je=Object(S.useRef)(null);function Ve(){var ot=et();return ot||je.current}var $e=Object(S.useRef)(!1);function wt(ot){var Mt=Ve();if(ot&&!ot.deadline&&ot.target!==Mt)return;var xr;Un===C&&$e.current?xr=pr==null?void 0:pr(Mt,ot):Un===w&&$e.current?xr=nn==null?void 0:nn(Mt,ot):Un===b&&$e.current&&(xr=mr==null?void 0:mr(Mt,ot)),xr!==!1&&!Ee.current&&(wi(E),Gt(null))}var qt=ee(wt),Mr=Object(T.a)(qt,1),an=Mr[0],_t=S.useMemo(function(){var ot,Mt,xr;switch(Un){case"appear":return ot={},Object(O.a)(ot,_,$),Object(O.a)(ot,L,De),Object(O.a)(ot,D,jt),ot;case"enter":return Mt={},Object(O.a)(Mt,_,Z),Object(O.a)(Mt,L,ae),Object(O.a)(Mt,D,ut),Mt;case"leave":return xr={},Object(O.a)(xr,_,Re),Object(O.a)(xr,L,gt),Object(O.a)(xr,D,rr),xr;default:return{}}},[Un]),at=Y(Un,function(ot){if(ot===_){var Mt=_t[_];return Mt?Mt(Ve()):j}if(Pt in _t){var xr;Gt(((xr=_t[Pt])===null||xr===void 0?void 0:xr.call(_t,Ve(),null))||null)}return Pt===D&&(an(Ve()),Nt>0&&(clearTimeout(ue.current),ue.current=setTimeout(function(){wt({deadline:!0})},Nt))),V}),bt=Object(T.a)(at,2),kt=bt[0],Pt=bt[1],Et=z(Pt);$e.current=Et,M(function(){Ur(it);var ot=st.current;if(st.current=!0,!Ye)return;var Mt;!ot&&it&&Ot&&(Mt=C),ot&&it&&ze&&(Mt=w),(ot&&!it&&Ct||!ot&&Be&&!it&&Ct)&&(Mt=b),Mt&&(wi(Mt),kt())},[it]),Object(S.useEffect)(function(){(Un===C&&!Ot||Un===w&&!ze||Un===b&&!Ct)&&wi(E)},[Ot,ze,Ct]),Object(S.useEffect)(function(){return function(){clearTimeout(ue.current),Ee.current=!0}},[]),Object(S.useEffect)(function(){ft!==void 0&&Un===E&&(vr==null||vr(ft))},[ft,Un]);var Ht=Vn;return _t[_]&&Pt===L&&(Ht=Object(x.a)({transition:"none"},Ht)),[Un,Pt,Ht,ft!=null?ft:it]}var ie=d("1OyB"),we=d("vuIU"),Ce=d("Ji7U"),Le=d("LK+K"),He=function(Ye){Object(Ce.a)(et,Ye);var it=Object(Le.a)(et);function et(){return Object(ie.a)(this,et),it.apply(this,arguments)}return Object(we.a)(et,[{key:"render",value:function(){return this.props.children}}]),et}(S.Component),ce=He;function Pe(Ye){var it=Ye;Object(v.a)(Ye)==="object"&&(it=Ye.transitionSupport);function et(tt){return!!(tt.motionName&&it)}var Te=S.forwardRef(function(tt,ze){var dt=tt.visible,Ot=dt===void 0?!0:dt,Tt=tt.removeOnLeave,Ct=Tt===void 0?!0:Tt,Nt=tt.forceRender,Be=tt.children,$=tt.motionName,Z=tt.leavedClassName,Re=tt.eventProps,De=et(tt),ae=Object(S.useRef)(),gt=Object(S.useRef)();function jt(){try{return Object(m.a)(ae.current||gt.current)}catch(wi){return null}}var ut=fe(De,Ot,jt,tt),rr=Object(T.a)(ut,4),pr=rr[0],nn=rr[1],mr=rr[2],vr=rr[3],$t=S.useRef(vr);vr&&($t.current=!0);var Xt=Object(S.useRef)(ze);Xt.current=ze;var ft=S.useCallback(function(wi){ae.current=wi,Object(f.b)(Xt.current,wi)},[]),Ur,yn=Object(x.a)(Object(x.a)({},Re),{},{visible:Ot});if(!Be)Ur=null;else if(pr===E||!et(tt))vr?Ur=Be(Object(x.a)({},yn),ft):!Ct&&$t.current?Ur=Be(Object(x.a)(Object(x.a)({},yn),{},{className:Z}),ft):Nt?Ur=Be(Object(x.a)(Object(x.a)({},yn),{},{style:{display:"none"}}),ft):Ur=null;else{var Dn,Un;nn===_?Un="prepare":z(nn)?Un="active":nn===L&&(Un="start"),Ur=Be(Object(x.a)(Object(x.a)({},yn),{},{className:o()(y($,pr),(Dn={},Object(O.a)(Dn,y($,"".concat(pr,"-").concat(Un)),Un),Object(O.a)(Dn,$,typeof $=="string"),Dn)),style:mr}),ft)}return S.createElement(ce,{ref:gt},Ur)});return Te.displayName="CSSMotion",Te}var Q=Pe(p),me=d("wx14"),Je=d("Ff2n"),re="add",G="keep",X="remove",J="removed";function Ae(Ye){var it;return Ye&&Object(v.a)(Ye)==="object"&&"key"in Ye?it=Ye:it={key:Ye},Object(x.a)(Object(x.a)({},it),{},{key:String(it.key)})}function he(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ye.map(Ae)}function Me(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],et=[],Te=0,tt=it.length,ze=he(Ye),dt=he(it);ze.forEach(function(Ct){for(var Nt=!1,Be=Te;Be1});return Tt.forEach(function(Ct){et=et.filter(function(Nt){var Be=Nt.key,$=Nt.status;return Be!==Ct||$!==X}),et.forEach(function(Nt){Nt.key===Ct&&(Nt.status=G)})}),et}var Ie=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function oe(Ye){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q,et=function(Te){Object(Ce.a)(ze,Te);var tt=Object(Le.a)(ze);function ze(){var dt;return Object(ie.a)(this,ze),dt=tt.apply(this,arguments),dt.state={keyEntities:[]},dt.removeKey=function(Ot){dt.setState(function(Tt){var Ct=Tt.keyEntities;return{keyEntities:Ct.map(function(Nt){return Nt.key!==Ot?Nt:Object(x.a)(Object(x.a)({},Nt),{},{status:J})})}})},dt}return Object(we.a)(ze,[{key:"render",value:function(){var Ot=this,Tt=this.state.keyEntities,Ct=this.props,Nt=Ct.component,Be=Ct.children,$=Ct.onVisibleChanged,Z=Object(Je.a)(Ct,["component","children","onVisibleChanged"]),Re=Nt||S.Fragment,De={};return Ie.forEach(function(ae){De[ae]=Z[ae],delete Z[ae]}),delete Z.keys,S.createElement(Re,Z,Tt.map(function(ae){var gt=ae.status,jt=Object(Je.a)(ae,["status"]),ut=gt===re||gt===G;return S.createElement(it,Object(me.a)({},De,{key:jt.key,visible:ut,eventProps:jt,onVisibleChanged:function(pr){$==null||$(pr,{key:jt.key}),pr||Ot.removeKey(jt.key)}}),Be)}))}}],[{key:"getDerivedStateFromProps",value:function(Ot,Tt){var Ct=Ot.keys,Nt=Tt.keyEntities,Be=he(Ct),$=Me(Nt,Be);return{keyEntities:$.filter(function(Z){var Re=Nt.find(function(De){var ae=De.key;return Z.key===ae});return!(Re&&Re.status===J&&Z.status===X)})}}}]),ze}(S.Component);return et.defaultProps={component:"div"},et}var pe=oe(p),Oe=P.b=Q},"8hn6":function(U,P){var d="#eee",O=function(){return{axisLine:{lineStyle:{color:d}},axisTick:{lineStyle:{color:d}},axisLabel:{textStyle:{color:d}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:d}}}},x=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],T={color:x,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:d},crossStyle:{color:d},label:{color:"#000"}}},legend:{textStyle:{color:d}},textStyle:{color:d},title:{textStyle:{color:d}},toolbox:{iconStyle:{normal:{borderColor:d}}},dataZoom:{textStyle:{color:d}},visualMap:{textStyle:{color:d}},timeline:{lineStyle:{color:d},itemStyle:{normal:{color:x[1]}},label:{normal:{textStyle:{color:d}}},controlStyle:{normal:{color:d,borderColor:d}}},timeAxis:O(),logAxis:O(),valueAxis:O(),categoryAxis:O(),line:{symbol:"circle"},graph:{color:x},gauge:{title:{textStyle:{color:d}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};T.categoryAxis.splitLine.show=!1;var v=T;U.exports=v},"8nMs":function(U,P,d){var O=d("bYtY"),x=d("IwbS"),T=d("+rIm"),v=d("Znkb"),S=d("AVZG"),m=d("WN+l"),f=m.rectCoordAxisBuildSplitArea,c=m.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine","minorSplitLine"],a=v.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(n,e,s,t){this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new x.Group,this.group.add(this._axisGroup),!n.get("show"))return;var l=n.getCoordSysModel(),u=S.layout(l,n),h=new T(n,u);O.each(o,h.add,h),this._axisGroup.add(h.getGroup()),O.each(r,function(p){n.get(p+".show")&&this["_"+p](n,l)},this),x.groupTransition(i,this._axisGroup,n),a.superCall(this,"render",n,e,s,t)},remove:function(){c(this)},_splitLine:function(n,e){var s=n.axis;if(s.scale.isBlank())return;var t=n.getModel("splitLine"),i=t.getModel("lineStyle"),l=i.get("color");l=O.isArray(l)?l:[l];for(var u=e.coordinateSystem.getRect(),h=s.isHorizontal(),p=0,g=s.getTicksCoords({tickModel:t}),A=[],y=[],E=i.getLineStyle(),C=0;CS)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(c){if(this._mouseDownPoint||!f(this,"mousemove"))return;var o=this._model,r=o.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]),a=r.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:a==="jump"?null:!1})}};function f(c,o){var r=c._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===o}O.registerPreprocessor(v)},"8x+h":function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("ProS"),v=d("bYtY"),S=d("K4ya"),m=d("Qxkt"),f=["#ddd"],c=T.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(a,n){var e=this.option;!n&&S.replaceVisualOption(e,a,["inBrush","outOfBrush"]);var s=e.inBrush=e.inBrush||{};e.outOfBrush=e.outOfBrush||{color:f},s.hasOwnProperty("liftZ")||(s.liftZ=5)},setAreas:function(a){if(!a)return;this.areas=v.map(a,function(n){return o(this.option,n)},this)},setBrushOption:function(a){this.brushOption=o(this.option,a),this.brushType=this.brushOption.brushType}});function o(a,n){return v.merge({brushType:a.brushType,brushMode:a.brushMode,transformable:a.transformable,brushStyle:new m(a.brushStyle).getItemStyle(),removeOnClick:a.removeOnClick,z:a.z},n,!0)}var r=c;U.exports=r},"8z0m":function(U,P,d){"use strict";var O=d("lSNA"),x=d.n(O),T=d("RIqP"),v=d.n(T),S=d("pVnL"),m=d.n(S),f=d("J4zp"),c=d.n(f),o=d("q1tI"),r=d.n(o),a=d("TSYQ"),n=d.n(a);function e(mr,vr){var $t="cannot "+mr.method+" "+mr.action+" "+vr.status+"'",Xt=new Error($t);return Xt.status=vr.status,Xt.method=mr.method,Xt.url=mr.action,Xt}function s(mr){var vr=mr.responseText||mr.response;if(!vr)return vr;try{return JSON.parse(vr)}catch($t){return vr}}function t(mr){var vr=new XMLHttpRequest;mr.onProgress&&vr.upload&&(vr.upload.onprogress=function(Ur){Ur.total>0&&(Ur.percent=Ur.loaded/Ur.total*100),mr.onProgress(Ur)});var $t=new FormData;mr.data&&Object.keys(mr.data).forEach(function(ft){var Ur=mr.data[ft];if(Array.isArray(Ur)){Ur.forEach(function(yn){$t.append(ft+"[]",yn)});return}$t.append(ft,mr.data[ft])}),mr.file instanceof Blob?$t.append(mr.filename,mr.file,mr.file.name):$t.append(mr.filename,mr.file),vr.onerror=function(Ur){mr.onError(Ur)},vr.onload=function(){return vr.status<200||vr.status>=300?mr.onError(e(mr,vr),s(vr)):mr.onSuccess(s(vr),vr)},vr.open(mr.method,mr.action,!0),mr.withCredentials&&"withCredentials"in vr&&(vr.withCredentials=!0);var Xt=mr.headers||{};return Xt["X-Requested-With"]!==null&&vr.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Xt).forEach(function(ft){Xt[ft]!==null&&vr.setRequestHeader(ft,Xt[ft])}),vr.send($t),{abort:function(){vr.abort()}}}var i=+new Date,l=0;function u(){return"rc-upload-"+i+"-"+ ++l}function h(mr,vr){return mr.indexOf(vr,mr.length-vr.length)!==-1}var p=function(mr,vr){if(mr&&vr){var $t=Array.isArray(vr)?vr:vr.split(","),Xt=mr.name||"",ft=mr.type||"",Ur=ft.replace(/\/.*$/,"");return $t.some(function(yn){var Dn=yn.trim();return Dn.charAt(0)==="."?h(Xt.toLowerCase(),Dn.toLowerCase()):/\/\*$/.test(Dn)?Ur===Dn.replace(/\/.*$/,""):ft===Dn})}return!0};function g(mr,vr){var $t=mr.createReader(),Xt=[];function ft(){$t.readEntries(function(Ur){var yn=Array.prototype.slice.apply(Ur);Xt=Xt.concat(yn);var Dn=!yn.length;Dn?vr(Xt):ft()})}ft()}var A=function(vr,$t,Xt){var ft=function Ur(yn,Dn){Dn=Dn||"",yn.isFile?yn.file(function(Un){Xt(Un)&&(yn.fullPath&&!Un.webkitRelativePath&&(Object.defineProperties(Un,{webkitRelativePath:{writable:!0}}),Un.webkitRelativePath=yn.fullPath.replace(/^\//,""),Object.defineProperties(Un,{webkitRelativePath:{writable:!1}})),$t([Un]))}):yn.isDirectory&&g(yn,function(Un){Un.forEach(function(wi){Ur(wi,""+Dn+yn.name+"/")})})};vr.forEach(function(Ur){ft(Ur.webkitGetAsEntry())})},y=A,E=Object.assign||function(mr){for(var vr=1;vr=0)continue;if(!Object.prototype.hasOwnProperty.call(mr,Xt))continue;$t[Xt]=mr[Xt]}return $t}function _(mr,vr){if(!(mr instanceof vr))throw new TypeError("Cannot call a class as a function")}function L(mr,vr){if(!mr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vr&&(typeof vr=="object"||typeof vr=="function")?vr:mr}function D(mr,vr){if(typeof vr!="function"&&vr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vr);mr.prototype=Object.create(vr&&vr.prototype,{constructor:{value:mr,enumerable:!1,writable:!0,configurable:!0}}),vr&&(Object.setPrototypeOf?Object.setPrototypeOf(mr,vr):mr.__proto__=vr)}var N=function(vr){return Object.keys(vr).reduce(function($t,Xt){return(Xt.substr(0,5)==="data-"||Xt.substr(0,5)==="aria-"||Xt==="role")&&($t[Xt]=vr[Xt]),$t},{})},R=function(mr){D(vr,mr);function vr(){var $t,Xt,ft,Ur;_(this,vr);for(var yn=arguments.length,Dn=Array(yn),Un=0;Un0&&arguments[0]!==void 0?arguments[0]:"",$t=vr.split("/"),Xt=$t[$t.length-1],ft=Xt.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ft)||[""])[0]},Te=function(vr){return vr.indexOf("image/")===0},tt=function(vr){if(vr.type&&!vr.thumbUrl)return Te(vr.type);var $t=vr.thumbUrl||vr.url,Xt=et($t);return/^data:image\//.test($t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Xt)?!0:/^data:/.test($t)?!1:!Xt},ze=200;function dt(mr){return new Promise(function(vr){if(!mr.type||!Te(mr.type)){vr("");return}var $t=document.createElement("canvas");$t.width=ze,$t.height=ze,$t.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ze,"px; height: ").concat(ze,"px; z-index: 9999; display: none;"),document.body.appendChild($t);var Xt=$t.getContext("2d"),ft=new Image;ft.onload=function(){var Ur=ft.width,yn=ft.height,Dn=ze,Un=ze,wi=0,Rn=0;Ur=1)&&(_=1),_}var A;(this._dirty||i==="reset")&&(this._dirty=!1,A=a(this,s)),this._modBy=h,this._modDataCount=p;var y=n&&n.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var E=this._dueIndex,C=Math.min(y!=null?this._dueIndex+y:Infinity,this._dueEnd);if(!s&&(A||E1&&t>0?h:u}};return l;function u(){return e=n?null:p=0;E--){var C=y[E],w=C.node,b=C.width,I=C.text;A>g.width&&(A-=b-h,b=h,I=null);var _=new O.Polygon({shape:{points:r(u,0,b,p,E===y.length-1,E===0)},style:T.defaults(t.getItemStyle(),{lineJoin:"bevel",text:I,textFill:i.getTextColor(),textFont:i.getFont()}),z:10,onclick:T.curry(l,w)});this.group.add(_),a(_,e,w),u+=b+f}},remove:function(){this.group.removeAll()}};function r(e,s,t,i,l,u){var h=[[l?e:e-c,s],[e+t,s],[e+t,s+i],[l?e:e-c,s+i]];return!u&&h.splice(2,0,[e+t+c,s+i/2]),!l&&h.push([e,s+i/2]),h}function a(e,s,t){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:s.componentIndex,seriesIndex:s.componentIndex,seriesName:s.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&S(t,s)}}var n=o;U.exports=n},"9u0u":function(U,P,d){var O=d("bYtY");function x(v,S){var m={};return O.each(v,function(f){f.each(f.mapDimension("value"),function(c,o){var r="ec-"+f.getName(o);m[r]=m[r]||[],isNaN(c)||m[r].push(c)})}),v[0].map(v[0].mapDimension("value"),function(f,c){for(var o="ec-"+v[0].getName(c),r=0,a=Infinity,n=-Infinity,e=m[o].length,s=0;s0){var oe=Pe==="button"?"".concat(he,"-button"):he;Ie=ce.map(function(Ye){return typeof Ye=="string"?S.createElement(g,{ref:B,key:Ye,prefixCls:oe,disabled:me,value:Ye,checked:z===Ye},Ye):S.createElement(g,{ref:B,key:"radio-group-value-options-".concat(Ye.value),prefixCls:oe,disabled:Ye.disabled||me,value:Ye.value,checked:z===Ye.value,style:Ye.style},Ye.label)})}var pe=re||K,Oe=c()(Me,"".concat(Me,"-").concat(Q),(we={},x()(we,"".concat(Me,"-").concat(pe),pe),x()(we,"".concat(Me,"-rtl"),F==="rtl"),we),He);return S.createElement("div",{className:Oe,style:G,onMouseEnter:J,onMouseLeave:Ae,id:X},Ie)};return S.createElement(a,{value:{onChange:ee,value:z,disabled:R.disabled,name:R.name}},fe())});w.defaultProps={buttonStyle:"outline"};var b=S.memo(w),I=function(R,B){var M={};for(var H in R)Object.prototype.hasOwnProperty.call(R,H)&&B.indexOf(H)<0&&(M[H]=R[H]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,H=Object.getOwnPropertySymbols(R);F=d;)n|=a&1,a>>=1;return a+n}function v(a,n,e,s){var t=n+1;if(t===e)return 1;if(s(a[t++],a[n])<0){for(;t=0;)t++;return t-n}function S(a,n,e){for(e--;n>>1,t(i,a[h])<0?u=h:l=h+1;var p=s-l;switch(p){case 3:a[l+3]=a[l+2];case 2:a[l+2]=a[l+1];case 1:a[l+1]=a[l];break;default:for(;p>0;)a[l+p]=a[l+p-1],p--}a[l]=i}}function f(a,n,e,s,t,i){var l=0,u=0,h=1;if(i(a,n[e+t])>0){for(u=s-t;h0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u),l+=t,h+=t}else{for(u=t+1;hu&&(h=u);var p=l;l=t-h,h=t-p}for(l++;l>>1);i(a,n[e+g])>0?l=g+1:h=g}return h}function c(a,n,e,s,t,i){var l=0,u=0,h=1;if(i(a,n[e+t])<0){for(u=t+1;hu&&(h=u);var p=l;l=t-h,h=t-p}else{for(u=s-t;h=0;)l=h,h=(h<<1)+1,h<=0&&(h=u);h>u&&(h=u),l+=t,h+=t}for(l++;l>>1);i(a,n[e+g])<0?h=g:l=g+1}return h}function o(a,n){var e=O,s=0,t=x,i=0,l,u,h=0;s=a.length,s<2*x&&(t=s>>>1);var p=[];i=s<120?5:s<1542?10:s<119151?19:40,l=[],u=[];function g(b,I){l[h]=b,u[h]=I,h+=1}function A(){for(;h>1;){var b=h-2;if(b>=1&&u[b-1]<=u[b]+u[b+1]||b>=2&&u[b-2]<=u[b]+u[b-1])u[b-1]u[b+1])break;E(b)}}function y(){for(;h>1;){var b=h-2;b>0&&u[b-1]=O||F>=O);if(K)break;M<0&&(M=0),M+=2}if(e=M,e<1&&(e=1),I===1){for(D=0;D=0;D--)a[H+D]=a[M+D];a[B]=p[R];return}for(var F=e;;){var K=0,j=0,V=!1;do if(n(p[R],a[N])<0){if(a[B--]=a[N--],K++,j=0,--I===0){V=!0;break}}else if(a[B--]=p[R--],j++,K=0,--L===1){V=!0;break}while((K|j)=0;D--)a[H+D]=a[M+D];if(I===0){V=!0;break}}if(a[B--]=p[R--],--L===1){V=!0;break}if(j=L-f(a[N],p,0,L,L-1,n),j!==0){for(B-=j,R-=j,L-=j,H=B+1,M=R+1,D=0;D=O||j>=O);if(V)break;F<0&&(F=0),F+=2}if(e=F,e<1&&(e=1),L===1){for(B-=I,N-=I,H=B+1,M=N+1,D=I-1;D>=0;D--)a[H+D]=a[M+D];a[B]=p[R]}else{if(L===0)throw new Error;for(M=B-(L-1),D=0;Du&&(h=u),m(a,e,e+h,e+i,n),i=h}l.pushRun(e,i),l.mergeRuns(),t-=i,e+=i}while(t!==0);l.forceMergeRuns()}U.exports=r},Bd2K:function(U,P,d){(function(O){O(d("VrN/"),d("osHv"))})(function(O){O.defineOption("autoCloseTags",!1,function(o,r,a){if(a!=O.Init&&a&&o.removeKeyMap("autoCloseTags"),!r)return;var n={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(n["'/'"]=function(e){return m(e)}),(typeof r!="object"||r.whenOpening!==!1)&&(n["'>'"]=function(e){return v(e)}),o.addKeyMap(n)});var x=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],T=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function v(o){if(o.getOption("disableInput"))return O.Pass;for(var r=o.listSelections(),a=[],n=o.getOption("autoCloseTags"),e=0;es.ch&&(h=h.slice(0,h.length-t.end+s.ch));var y=h.toLowerCase();if(!h||t.type=="string"&&(t.end!=s.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&u.close||t.string.indexOf("/")==s.ch-t.start-1||g&&f(g,y)>-1||c(o,i.mode.xmlCurrentContext&&i.mode.xmlCurrentContext(l)||[],h,s,!0))return O.Pass;var E=typeof n=="object"&&n.emptyTags;if(E&&f(E,h)>-1){a[e]={text:"/>",newPos:O.Pos(s.line,s.ch+2)};continue}var C=A&&f(A,y)>-1;a[e]={indent:C,text:">"+(C?` `:"")+"",newPos:C?O.Pos(s.line+1,0):O.Pos(s.line,s.ch+1)}}for(var w=typeof n=="object"&&n.dontIndentOnAutoClose,e=r.length-1;e>=0;e--){var b=a[e];o.replaceRange(b.text,r[e].head,r[e].anchor,"+insert");var I=o.listSelections().slice(0);I[e]={head:b.newPos,anchor:b.newPos},o.setSelections(I),!w&&b.indent&&(o.indentLine(b.newPos.line,null,!0),o.indentLine(b.newPos.line+1,null,!0))}}function S(o,r){for(var a=o.listSelections(),n=[],e=r?"/":""&&(g+=">"),n[i]=g}if(o.replaceSelections(n),a=o.listSelections(),!t)for(var i=0;i=0&&r[l]==a;l--)++i;n=t.to;for(var l=1;l.5?A:g}function r(g,A,y,E,C){var w=g.length;if(C===1)for(var b=0;bC;if(w)g.length=C;else for(var b=E;b=0&&!(F[Ae]<=J);Ae--);Ae=Math.min(Ae,L-2)}else{for(Ae=ie;AeJ);Ae++);Ae=Math.min(Ae-1,L-2)}ie=Ae,we=J;var he=F[Ae+1]-F[Ae];if(he===0)return;if(Le=(J-F[Ae])/he,_)if(ce=K[Ae],He=K[Ae===0?Ae:Ae-1],Pe=K[Ae>L-2?L-1:Ae+1],Q=K[Ae>L-3?L-1:Ae+2],N)e(He,ce,Pe,Q,Le,Le*Le,Le*Le*Le,b(X,C),M);else{var Me;if(R)Me=e(He,ce,Pe,Q,Le,Le*Le,Le*Le*Le,me,1),Me=i(me);else{if(B)return o(ce,Pe,Le);Me=s(He,ce,Pe,Q,Le,Le*Le,Le*Le*Le)}I(X,C,Me)}else if(N)r(K[Ae],K[Ae+1],Le,b(X,C),M);else{var Me;if(R)r(K[Ae],K[Ae+1],Le,me,1),Me=i(me);else{if(B)return o(K[Ae],K[Ae+1],Le);Me=c(K[Ae],K[Ae+1],Le)}I(X,C,Me)}},re=new O({target:g._target,life:H,loop:g._loop,delay:g._delay,onframe:Je,ondestroy:y});return A&&A!=="spline"&&(re.easing=A),re}var h=function(A,y,E,C){this._tracks={},this._target=A,this._loop=y||!1,this._getter=E||m,this._setter=C||f,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};h.prototype={when:function(A,y){var E=this._tracks;for(var C in y){if(!y.hasOwnProperty(C))continue;if(!E[C]){E[C]=[];var w=this._getter(this._target,C);if(w==null)continue;A!==0&&E[C].push({time:0,value:t(w)})}E[C].push({time:A,value:y[C]})}return this},during:function(A){return this._onframeList.push(A),this},pause:function(){for(var A=0;Aa&&(a=e.height)}this.height=a+1},getNodeById:function(r){if(this.getId()===r)return this;for(var a=0,n=this.children,e=n.length;a=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,a)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var a=this.hostTree,n=a.data.getItemModel(this.dataIndex),e=this.getLevelModel();return e?n.getModel(r,e.getModel(r)):n.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,a){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,a)},getVisual:function(r,a){return this.hostTree.data.getItemVisual(this.dataIndex,r,a)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var a=r.parentNode;a;){if(a===this)return!0;a=a.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function f(r,a){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=O.map(a||[],function(n){return new x(n,r,r.ecModel)})}f.prototype={constructor:f,type:"tree",eachNode:function(r,a,n){this.root.eachNode(r,a,n)},getNodeByDataIndex:function(r){var a=this.data.getRawIndex(r);return this._nodes[a]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,a=this._nodes,n=0,e=a.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=T.clone(e)},getValueState:function(e){var s=S.findPieceIndex(e,this._pieceList);return s!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[s])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var s=[];return this.eachTargetSeries(function(t){var i=[],l=t.getData();l.each(this.getDataDimension(l),function(u,h){var p=S.findPieceIndex(u,this._pieceList);p===e&&i.push(h)},this),s.push({seriesId:t.id,dataIndex:i})},this),s},getRepresentValue:function(e){var s;if(this.isCategory())s=e.value;else if(e.value!=null)s=e.value;else{var t=e.interval||[];s=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return s},getVisualMeta:function(e){if(this.isCategory())return;var s=[],t=[],i=this;function l(g,A){var y=i.getRepresentValue({interval:g});A||(A=i.getValueState(y));var E=e(y,A);g[0]===-Infinity?t[0]=E:g[1]===Infinity?t[1]=E:s.push({value:g[0],color:E},{value:g[1],color:E})}var u=this._pieceList.slice();if(!u.length)u.push({interval:[-Infinity,Infinity]});else{var h=u[0].interval[0];h!==-Infinity&&u.unshift({interval:[-Infinity,h]}),h=u[u.length-1].interval[1],h!==Infinity&&u.push({interval:[h,Infinity]})}var p=-Infinity;return T.each(u,function(g){var A=g.interval;A&&(A[0]>p&&l([p,A[0]],"outOfRange"),l(A.slice()),p=A[1])},this),{stops:s,outerColors:t}}}),r={splitNumber:function(){var e=this.option,s=this._pieceList,t=Math.min(e.precision,20),i=this.getExtent(),l=e.splitNumber;l=Math.max(parseInt(l,10),1),e.splitNumber=l;for(var u=(i[1]-i[0])/l;+u.toFixed(t)!==u&&t<5;)t++;e.precision=t,u=+u.toFixed(t),e.minOpen&&s.push({interval:[-Infinity,i[0]],close:[0,0]});for(var h=0,p=i[0];h","\u2265"][i[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,l)},this)}};function a(e,s){var t=e.inverse;(e.orient==="vertical"?!t:t)&&s.reverse()}var n=o;U.exports=n},BvKs:function(U,P,d){"use strict";d.d(P,"a",function(){return _t});var O=d("pVnL"),x=d.n(O),T=d("lSNA"),v=d.n(T),S=d("lwsE"),m=d.n(S),f=d("W8MJ"),c=d.n(f),o=d("7W2i"),r=d.n(o),a=d("LQ03"),n=d.n(a),e=d("q1tI"),s=d("VTBJ"),t=d("1OyB"),i=d("vuIU"),l=d("JX7q"),u=d("Ji7U"),h=d("LK+K"),p=d("I8Z2"),g=d("BGR+"),A=d("wx14"),y=d("rePB"),E=d("4IlW"),C=d("2GS6"),w=d("Gytx"),b=d.n(w),I=d("TSYQ"),_=d.n(I),L=d("U8pU"),D=d("ODXe"),N=/iPhone/i,R=/iPod/i,B=/iPad/i,M=/\bAndroid(?:.+)Mobile\b/i,H=/Android/i,F=/\bAndroid(?:.+)SD4930UR\b/i,K=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,j=/Windows Phone/i,V=/\bWindows(?:.+)ARM\b/i,z=/BlackBerry/i,Y=/BB10/i,ee=/Opera Mini/i,fe=/\b(CriOS|Chrome)(?:.+)Mobile/i,ie=/Mobile(?:.+)Firefox\b/i;function we(at,bt){return at.test(bt)}function Ce(at){var bt=at||(typeof navigator!="undefined"?navigator.userAgent:""),kt=bt.split("[FBAN");if(typeof kt[1]!="undefined"){var Pt=kt,Et=Object(D.a)(Pt,1);bt=Et[0]}if(kt=bt.split("Twitter"),typeof kt[1]!="undefined"){var Ht=kt,ot=Object(D.a)(Ht,1);bt=ot[0]}var Mt={apple:{phone:we(N,bt)&&!we(j,bt),ipod:we(R,bt),tablet:!we(N,bt)&&we(B,bt)&&!we(j,bt),device:(we(N,bt)||we(R,bt)||we(B,bt))&&!we(j,bt)},amazon:{phone:we(F,bt),tablet:!we(F,bt)&&we(K,bt),device:we(F,bt)||we(K,bt)},android:{phone:!we(j,bt)&&we(F,bt)||!we(j,bt)&&we(M,bt),tablet:!we(j,bt)&&!we(F,bt)&&!we(M,bt)&&(we(K,bt)||we(H,bt)),device:!we(j,bt)&&(we(F,bt)||we(K,bt)||we(M,bt)||we(H,bt))||we(/\bokhttp\b/i,bt)},windows:{phone:we(j,bt),tablet:we(V,bt),device:we(j,bt)||we(V,bt)},other:{blackberry:we(z,bt),blackberry10:we(Y,bt),opera:we(ee,bt),firefox:we(ie,bt),chrome:we(fe,bt),device:we(z,bt)||we(Y,bt)||we(ee,bt)||we(ie,bt)||we(fe,bt)},any:null,phone:null,tablet:null};return Mt.any=Mt.apple.device||Mt.android.device||Mt.windows.device||Mt.other.device,Mt.phone=Mt.apple.phone||Mt.android.phone||Mt.windows.phone,Mt.tablet=Mt.apple.tablet||Mt.android.tablet||Mt.windows.tablet,Mt}var Le=Object(s.a)(Object(s.a)({},Ce()),{},{isMobile:Ce}),He=Le;function ce(){}function Pe(at,bt,kt){var Pt=bt||"";return at.key||"".concat(Pt,"item_").concat(kt)}function Q(at){return"".concat(at,"-menu-")}function me(at,bt){var kt=-1;e.Children.forEach(at,function(Pt){kt+=1,Pt&&Pt.type&&Pt.type.isMenuItemGroup?e.Children.forEach(Pt.props.children,function(Et){kt+=1,bt(Et,kt)}):bt(Pt,kt)})}function Je(at,bt,kt){if(!at||kt.find)return;e.Children.forEach(at,function(Pt){if(Pt){var Et=Pt.type;if(!Et||!(Et.isSubMenu||Et.isMenuItem||Et.isMenuItemGroup))return;bt.indexOf(Pt.key)!==-1?kt.find=!0:Pt.props.children&&Je(Pt.props.children,bt,kt)}})}var re=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],G=function(bt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt=bt&&typeof bt.getBoundingClientRect=="function"&&bt.getBoundingClientRect().width;if(Pt){if(kt){var Et=getComputedStyle(bt),Ht=Et.marginLeft,ot=Et.marginRight;Pt+=+Ht.replace("px","")+ +ot.replace("px","")}Pt=+Pt.toFixed(6)}return Pt||0},X=function(bt,kt,Pt){bt&&Object(L.a)(bt.style)==="object"&&(bt.style[kt]=Pt)},J=function(){return He.any},Ae=d("KQm4"),he=d("Ff2n"),Me=d("i8i4"),Ie=d("bdgK"),oe=d("Uaa1"),pe=d("HTfv"),Oe={adjustX:1,adjustY:1},Ye={topLeft:{points:["bl","tl"],overflow:Oe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Oe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Oe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Oe,offset:[4,0]}},it={topLeft:{points:["bl","tl"],overflow:Oe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Oe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Oe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Oe,offset:[4,0]}},et=Ye,Te=0,tt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ze=function(bt,kt,Pt){var Et=Q(kt),Ht=bt.getState();bt.setState({defaultActiveFirst:Object(s.a)(Object(s.a)({},Ht.defaultActiveFirst),{},Object(y.a)({},Et,Pt))})},dt=function(at){Object(u.a)(kt,at);var bt=Object(h.a)(kt);function kt(Pt){var Et;Object(t.a)(this,kt),Et=bt.call(this,Pt),Et.onDestroy=function(gr){Et.props.onDestroy(gr)},Et.onKeyDown=function(gr){var Qr=gr.keyCode,ln=Et.menuInstance,_n=Et.props,Mn=_n.isOpen,li=_n.store;if(Qr===E.a.ENTER)return Et.onTitleClick(gr),ze(li,Et.props.eventKey,!0),!0;if(Qr===E.a.RIGHT)return Mn?ln.onKeyDown(gr):(Et.triggerOpenChange(!0),ze(li,Et.props.eventKey,!0)),!0;if(Qr===E.a.LEFT){var ai;if(Mn)ai=ln.onKeyDown(gr);else return;return ai||(Et.triggerOpenChange(!1),ai=!0),ai}return Mn&&(Qr===E.a.UP||Qr===E.a.DOWN)?ln.onKeyDown(gr):void 0},Et.onOpenChange=function(gr){Et.props.onOpenChange(gr)},Et.onPopupVisibleChange=function(gr){Et.triggerOpenChange(gr,gr?"mouseenter":"mouseleave")},Et.onMouseEnter=function(gr){var Qr=Et.props,ln=Qr.eventKey,_n=Qr.onMouseEnter,Mn=Qr.store;ze(Mn,Et.props.eventKey,!1),_n({key:ln,domEvent:gr})},Et.onMouseLeave=function(gr){var Qr=Et.props,ln=Qr.parentMenu,_n=Qr.eventKey,Mn=Qr.onMouseLeave;ln.subMenuInstance=Object(l.a)(Et),Mn({key:_n,domEvent:gr})},Et.onTitleMouseEnter=function(gr){var Qr=Et.props,ln=Qr.eventKey,_n=Qr.onItemHover,Mn=Qr.onTitleMouseEnter;_n({key:ln,hover:!0}),Mn({key:ln,domEvent:gr})},Et.onTitleMouseLeave=function(gr){var Qr=Et.props,ln=Qr.parentMenu,_n=Qr.eventKey,Mn=Qr.onItemHover,li=Qr.onTitleMouseLeave;ln.subMenuInstance=Object(l.a)(Et),Mn({key:_n,hover:!1}),li({key:_n,domEvent:gr})},Et.onTitleClick=function(gr){var Qr=Object(l.a)(Et),ln=Qr.props;if(ln.onTitleClick({key:ln.eventKey,domEvent:gr}),ln.triggerSubMenuAction==="hover")return;Et.triggerOpenChange(!ln.isOpen,"click"),ze(ln.store,Et.props.eventKey,!1)},Et.onSubMenuClick=function(gr){typeof Et.props.onClick=="function"&&Et.props.onClick(Et.addKeyPath(gr))},Et.onSelect=function(gr){Et.props.onSelect(gr)},Et.onDeselect=function(gr){Et.props.onDeselect(gr)},Et.getPrefixCls=function(){return"".concat(Et.props.rootPrefixCls,"-submenu")},Et.getActiveClassName=function(){return"".concat(Et.getPrefixCls(),"-active")},Et.getDisabledClassName=function(){return"".concat(Et.getPrefixCls(),"-disabled")},Et.getSelectedClassName=function(){return"".concat(Et.getPrefixCls(),"-selected")},Et.getOpenClassName=function(){return"".concat(Et.props.rootPrefixCls,"-submenu-open")},Et.saveMenuInstance=function(gr){Et.menuInstance=gr},Et.addKeyPath=function(gr){return Object(s.a)(Object(s.a)({},gr),{},{keyPath:(gr.keyPath||[]).concat(Et.props.eventKey)})},Et.triggerOpenChange=function(gr,Qr){var ln=Et.props.eventKey,_n=function(){Et.onOpenChange({key:ln,item:Object(l.a)(Et),trigger:Qr,open:gr})};Qr==="mouseenter"?Et.mouseenterTimeout=setTimeout(function(){_n()},0):_n()},Et.isChildrenSelected=function(){var gr={find:!1};return Je(Et.props.children,Et.props.selectedKeys,gr),gr.find},Et.isOpen=function(){return Et.props.openKeys.indexOf(Et.props.eventKey)!==-1},Et.adjustWidth=function(){if(!Et.subMenuTitle||!Et.menuInstance)return;var gr=Me.findDOMNode(Et.menuInstance);if(gr.offsetWidth>=Et.subMenuTitle.offsetWidth)return;gr.style.minWidth="".concat(Et.subMenuTitle.offsetWidth,"px")},Et.saveSubMenuTitle=function(gr){Et.subMenuTitle=gr},Et.getBaseProps=function(){var gr=Object(l.a)(Et),Qr=gr.props;return{mode:Qr.mode==="horizontal"?"vertical":Qr.mode,visible:Et.props.isOpen,level:Qr.level+1,inlineIndent:Qr.inlineIndent,focusable:!1,onClick:Et.onSubMenuClick,onSelect:Et.onSelect,onDeselect:Et.onDeselect,onDestroy:Et.onDestroy,selectedKeys:Qr.selectedKeys,eventKey:"".concat(Qr.eventKey,"-menu-"),openKeys:Qr.openKeys,motion:Qr.motion,onOpenChange:Et.onOpenChange,subMenuOpenDelay:Qr.subMenuOpenDelay,parentMenu:Object(l.a)(Et),subMenuCloseDelay:Qr.subMenuCloseDelay,forceSubMenuRender:Qr.forceSubMenuRender,triggerSubMenuAction:Qr.triggerSubMenuAction,builtinPlacements:Qr.builtinPlacements,defaultActiveFirst:Qr.store.getState().defaultActiveFirst[Q(Qr.eventKey)],multiple:Qr.multiple,prefixCls:Qr.rootPrefixCls,id:Et.internalMenuId,manualRef:Et.saveMenuInstance,itemIcon:Qr.itemIcon,expandIcon:Qr.expandIcon,direction:Qr.direction}},Et.getMotion=function(gr,Qr){var ln=Object(l.a)(Et),_n=ln.haveRendered,Mn=Et.props,li=Mn.motion,ai=Mn.rootPrefixCls,pi=Object(s.a)(Object(s.a)({},li),{},{leavedClassName:"".concat(ai,"-hidden"),removeOnLeave:!1,motionAppear:_n||!Qr||gr!=="inline"});return pi};var Ht=Pt.store,ot=Pt.eventKey,Mt=Ht.getState(),xr=Mt.defaultActiveFirst;Et.isRootMenu=!1;var ur=!1;return xr&&(ur=xr[ot]),ze(Ht,ot,ur),Et}return Object(i.a)(kt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Et=this,Ht=this.props,ot=Ht.mode,Mt=Ht.parentMenu,xr=Ht.manualRef;if(xr&&xr(this),ot!=="horizontal"||!Mt.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return Et.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Et=this.props,Ht=Et.onDestroy,ot=Et.eventKey;Ht&&Ht(ot),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(Et){var Ht=this,ot=this.getBaseProps(),Mt=this.getMotion(ot.mode,ot.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||ot.visible||ot.forceSubMenuRender,!this.haveOpened)return e.createElement("div",null);var xr=ot.direction;return e.createElement(pe.default,Object.assign({visible:ot.visible},Mt),function(ur){var gr=ur.className,Qr=ur.style,ln=_()("".concat(ot.prefixCls,"-sub"),gr,Object(y.a)({},"".concat(ot.prefixCls,"-rtl"),xr==="rtl"));return e.createElement(rr,Object.assign({},ot,{id:Ht.internalMenuId,className:ln,style:Qr}),Et)})}},{key:"render",value:function(){var Et,Ht=Object(s.a)({},this.props),ot=Ht.isOpen,Mt=this.getPrefixCls(),xr=Ht.mode==="inline",ur=_()(Mt,"".concat(Mt,"-").concat(Ht.mode),(Et={},Object(y.a)(Et,Ht.className,!!Ht.className),Object(y.a)(Et,this.getOpenClassName(),ot),Object(y.a)(Et,this.getActiveClassName(),Ht.active||ot&&!xr),Object(y.a)(Et,this.getDisabledClassName(),Ht.disabled),Object(y.a)(Et,this.getSelectedClassName(),this.isChildrenSelected()),Et));this.internalMenuId||(Ht.eventKey?this.internalMenuId="".concat(Ht.eventKey,"$Menu"):(Te+=1,this.internalMenuId="$__$".concat(Te,"$Menu")));var gr={},Qr={},ln={};Ht.disabled||(gr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Qr={onClick:this.onTitleClick},ln={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var _n={},Mn=Ht.direction;xr&&(Mn==="rtl"?_n.paddingRight=Ht.inlineIndent*Ht.level:_n.paddingLeft=Ht.inlineIndent*Ht.level);var li={};this.props.isOpen&&(li={"aria-owns":this.internalMenuId});var ai=null;Ht.mode!=="horizontal"&&(ai=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(ai=e.createElement(this.props.expandIcon,Object(s.a)({},this.props))));var pi=e.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:_n,className:"".concat(Mt,"-title"),role:"button"},ln,Qr,{"aria-expanded":ot},li,{"aria-haspopup":"true",title:typeof Ht.title=="string"?Ht.title:void 0}),Ht.title,ai||e.createElement("i",{className:"".concat(Mt,"-arrow")})),Oi=this.renderChildren(Ht.children),Ze=Ht.parentMenu.isRootMenu?Ht.parentMenu.props.getPopupContainer:function(_r){return _r.parentNode},be=tt[Ht.mode],Ne=Ht.popupOffset?{offset:Ht.popupOffset}:{},Ue=Ht.mode==="inline"?"":Ht.popupClassName;Ue+=Mn==="rtl"?" ".concat(Mt,"-rtl"):"";var Qe=Ht.disabled,Xe=Ht.triggerSubMenuAction,qe=Ht.subMenuOpenDelay,yt=Ht.forceSubMenuRender,ht=Ht.subMenuCloseDelay,Jt=Ht.builtinPlacements;re.forEach(function(_r){return delete Ht[_r]}),delete Ht.onClick;var kr=Mn==="rtl"?Object.assign({},it,Jt):Object.assign({},Ye,Jt);return delete Ht.direction,e.createElement("li",Object.assign({},Ht,gr,{className:ur,role:"menuitem"}),xr&&pi,xr&&Oi,!xr&&e.createElement(oe.a,{prefixCls:Mt,popupClassName:_()("".concat(Mt,"-popup"),Ue),getPopupContainer:Ze,builtinPlacements:kr,popupPlacement:be,popupVisible:ot,popupAlign:Ne,popup:Oi,action:Qe?[]:[Xe],mouseEnterDelay:qe,mouseLeaveDelay:ht,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:yt},pi))}}]),kt}(e.Component);dt.defaultProps={onMouseEnter:ce,onMouseLeave:ce,onTitleMouseEnter:ce,onTitleMouseLeave:ce,onTitleClick:ce,manualRef:ce,mode:"vertical",title:""};var Ot=Object(p.b)(function(at,bt){var kt=at.openKeys,Pt=at.activeKey,Et=at.selectedKeys,Ht=bt.eventKey,ot=bt.subMenuKey;return{isOpen:kt.indexOf(Ht)>-1,active:Pt[ot]===Ht,selectedKeys:Et}})(dt);Ot.isSubMenu=!0;var Tt=Ot,Ct="menuitem-overflowed",Nt=.5,Be=function(at){Object(u.a)(kt,at);var bt=Object(h.a)(kt);function kt(){var Pt;return Object(t.a)(this,kt),Pt=bt.apply(this,arguments),Pt.resizeObserver=null,Pt.mutationObserver=null,Pt.originalTotalWidth=0,Pt.overflowedItems=[],Pt.menuItemSizes=[],Pt.cancelFrameId=null,Pt.state={lastVisibleIndex:void 0},Pt.getMenuItemNodes=function(){var Et=Pt.props.prefixCls,Ht=Me.findDOMNode(Object(l.a)(Pt));return Ht?[].slice.call(Ht.children).filter(function(ot){return ot.className.split(" ").indexOf("".concat(Et,"-overflowed-submenu"))<0}):[]},Pt.getOverflowedSubMenuItem=function(Et,Ht,ot){var Mt=Pt.props,xr=Mt.overflowedIndicator,ur=Mt.level,gr=Mt.mode,Qr=Mt.prefixCls,ln=Mt.theme;if(ur!==1||gr!=="horizontal")return null;var _n=Pt.props.children[0],Mn=_n.props,li=Mn.children,ai=Mn.title,pi=Mn.style,Oi=Object(he.a)(Mn,["children","title","style"]),Ze=Object(s.a)({},pi),be="".concat(Et,"-overflowed-indicator"),Ne="".concat(Et,"-overflowed-indicator");Ht.length===0&&ot!==!0?Ze=Object(s.a)(Object(s.a)({},Ze),{},{display:"none"}):ot&&(Ze=Object(s.a)(Object(s.a)({},Ze),{},{visibility:"hidden",position:"absolute"}),be="".concat(be,"-placeholder"),Ne="".concat(Ne,"-placeholder"));var Ue=ln?"".concat(Qr,"-").concat(ln):"",Qe={};return re.forEach(function(Xe){Oi[Xe]!==void 0&&(Qe[Xe]=Oi[Xe])}),e.createElement(Tt,Object.assign({title:xr,className:"".concat(Qr,"-overflowed-submenu"),popupClassName:Ue},Qe,{key:be,eventKey:Ne,disabled:!1,style:Ze}),Ht)},Pt.setChildrenWidthAndResize=function(){if(Pt.props.mode!=="horizontal")return;var Et=Me.findDOMNode(Object(l.a)(Pt));if(!Et)return;var Ht=Et.children;if(!Ht||Ht.length===0)return;var ot=Et.children[Ht.length-1];X(ot,"display","inline-block");var Mt=Pt.getMenuItemNodes(),xr=Mt.filter(function(ur){return ur.className.split(" ").indexOf(Ct)>=0});xr.forEach(function(ur){X(ur,"display","inline-block")}),Pt.menuItemSizes=Mt.map(function(ur){return G(ur,!0)}),xr.forEach(function(ur){X(ur,"display","none")}),Pt.overflowedIndicatorWidth=G(Et.children[Et.children.length-1],!0),Pt.originalTotalWidth=Pt.menuItemSizes.reduce(function(ur,gr){return ur+gr},0),Pt.handleResize(),X(ot,"display","none")},Pt.handleResize=function(){if(Pt.props.mode!=="horizontal")return;var Et=Me.findDOMNode(Object(l.a)(Pt));if(!Et)return;var Ht=G(Et);Pt.overflowedItems=[];var ot=0,Mt;Pt.originalTotalWidth>Ht+Nt&&(Mt=-1,Pt.menuItemSizes.forEach(function(xr){ot+=xr,ot+Pt.overflowedIndicatorWidth<=Ht&&(Mt+=1)})),Pt.setState({lastVisibleIndex:Mt})},Pt}return Object(i.a)(kt,[{key:"componentDidMount",value:function(){var Et=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Ht=Me.findDOMNode(this);if(!Ht)return;this.resizeObserver=new Ie.default(function(ot){ot.forEach(function(){var Mt=Et.cancelFrameId;cancelAnimationFrame(Mt),Et.cancelFrameId=requestAnimationFrame(Et.setChildrenWidthAndResize)})}),[].slice.call(Ht.children).concat(Ht).forEach(function(ot){Et.resizeObserver.observe(ot)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Et.resizeObserver.disconnect(),[].slice.call(Ht.children).concat(Ht).forEach(function(ot){Et.resizeObserver.observe(ot)}),Et.setChildrenWidthAndResize()}),this.mutationObserver.observe(Ht,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(Et){var Ht=this,ot=this.state.lastVisibleIndex;return(Et||[]).reduce(function(Mt,xr,ur){var gr=xr;if(Ht.props.mode==="horizontal"){var Qr=Ht.getOverflowedSubMenuItem(xr.props.eventKey,[]);ot!==void 0&&Ht.props.className.indexOf("".concat(Ht.props.prefixCls,"-root"))!==-1&&(ur>ot&&(gr=e.cloneElement(xr,{style:{display:"none"},eventKey:"".concat(xr.props.eventKey,"-hidden"),className:"".concat(Ct)})),ur===ot+1&&(Ht.overflowedItems=Et.slice(ot+1).map(function(_n){return e.cloneElement(_n,{key:_n.props.eventKey,mode:"vertical-left"})}),Qr=Ht.getOverflowedSubMenuItem(xr.props.eventKey,Ht.overflowedItems)));var ln=[].concat(Object(Ae.a)(Mt),[Qr,gr]);return ur===Et.length-1&&ln.push(Ht.getOverflowedSubMenuItem(xr.props.eventKey,[],!0)),ln}return[].concat(Object(Ae.a)(Mt),[gr])},[])}},{key:"render",value:function(){var Et=this.props,Ht=Et.visible,ot=Et.prefixCls,Mt=Et.overflowedIndicator,xr=Et.mode,ur=Et.level,gr=Et.tag,Qr=Et.children,ln=Et.theme,_n=Object(he.a)(Et,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Mn=gr;return e.createElement(Mn,Object.assign({},_n),this.renderChildren(Qr))}}]),kt}(e.Component);Be.defaultProps={tag:"div",className:""};var $=Be;function Z(at){return at.length?at.every(function(bt){return!!bt.props.disabled}):!0}function Re(at,bt,kt){var Pt=at.getState();at.setState({activeKey:Object(s.a)(Object(s.a)({},Pt.activeKey),{},Object(y.a)({},bt,kt))})}function De(at){return at.eventKey||"0-menu-"}function ae(at,bt){var kt=bt,Pt=at.children,Et=at.eventKey;if(kt){var Ht;if(me(Pt,function(ot,Mt){ot&&ot.props&&!ot.props.disabled&&kt===Pe(ot,Et,Mt)&&(Ht=!0)}),Ht)return kt}return kt=null,at.defaultActiveFirst&&me(Pt,function(ot,Mt){!kt&&ot&&!ot.props.disabled&&(kt=Pe(ot,Et,Mt))}),kt}function gt(at){if(at){var bt=this.instanceArray.indexOf(at);bt!==-1?this.instanceArray[bt]=at:this.instanceArray.push(at)}}var jt=function(at){Object(u.a)(kt,at);var bt=Object(h.a)(kt);function kt(Pt){var Et;return Object(t.a)(this,kt),Et=bt.call(this,Pt),Et.onKeyDown=function(Ht,ot){var Mt=Ht.keyCode,xr;if(Et.getFlatInstanceArray().forEach(function(gr){gr&&gr.props.active&&gr.onKeyDown&&(xr=gr.onKeyDown(Ht))}),xr)return 1;var ur=null;return(Mt===E.a.UP||Mt===E.a.DOWN)&&(ur=Et.step(Mt===E.a.UP?-1:1)),ur?(Ht.preventDefault(),Re(Et.props.store,De(Et.props),ur.props.eventKey),typeof ot=="function"&&ot(ur),1):void 0},Et.onItemHover=function(Ht){var ot=Ht.key,Mt=Ht.hover;Re(Et.props.store,De(Et.props),Mt?ot:null)},Et.onDeselect=function(Ht){Et.props.onDeselect(Ht)},Et.onSelect=function(Ht){Et.props.onSelect(Ht)},Et.onClick=function(Ht){Et.props.onClick(Ht)},Et.onOpenChange=function(Ht){Et.props.onOpenChange(Ht)},Et.onDestroy=function(Ht){Et.props.onDestroy(Ht)},Et.getFlatInstanceArray=function(){return Et.instanceArray},Et.step=function(Ht){var ot=Et.getFlatInstanceArray(),Mt=Et.props.store.getState().activeKey[De(Et.props)],xr=ot.length;if(!xr)return null;Ht<0&&(ot=ot.concat().reverse());var ur=-1;if(ot.every(function(_n,Mn){return _n&&_n.props.eventKey===Mt?(ur=Mn,!1):!0}),!Et.props.defaultActiveFirst&&ur!==-1&&Z(ot.slice(ur,xr-1)))return;var gr=(ur+1)%xr,Qr=gr;do{var ln=ot[Qr];if(!ln||ln.props.disabled)Qr=(Qr+1)%xr;else return ln}while(Qr!==gr);return null},Et.renderCommonMenuItem=function(Ht,ot,Mt){var xr=Et.props.store.getState(),ur=Object(l.a)(Et),gr=ur.props,Qr=Pe(Ht,gr.eventKey,ot),ln=Ht.props;if(!ln||typeof Ht.type=="string")return Ht;var _n=Qr===xr.activeKey,Mn=Object(s.a)(Object(s.a)({mode:ln.mode||gr.mode,level:gr.level,inlineIndent:gr.inlineIndent,renderMenuItem:Et.renderMenuItem,rootPrefixCls:gr.prefixCls,index:ot,parentMenu:gr.parentMenu,manualRef:ln.disabled?void 0:Object(C.a)(Ht.ref,gt.bind(Object(l.a)(Et))),eventKey:Qr,active:!ln.disabled&&_n,multiple:gr.multiple,onClick:function(ai){(ln.onClick||ce)(ai),Et.onClick(ai)},onItemHover:Et.onItemHover,motion:gr.motion,subMenuOpenDelay:gr.subMenuOpenDelay,subMenuCloseDelay:gr.subMenuCloseDelay,forceSubMenuRender:gr.forceSubMenuRender,onOpenChange:Et.onOpenChange,onDeselect:Et.onDeselect,onSelect:Et.onSelect,builtinPlacements:gr.builtinPlacements,itemIcon:ln.itemIcon||Et.props.itemIcon,expandIcon:ln.expandIcon||Et.props.expandIcon},Mt),{},{direction:gr.direction});return(gr.mode==="inline"||J())&&(Mn.triggerSubMenuAction="click"),e.cloneElement(Ht,Mn)},Et.renderMenuItem=function(Ht,ot,Mt){if(!Ht)return null;var xr=Et.props.store.getState(),ur={openKeys:xr.openKeys,selectedKeys:xr.selectedKeys,triggerSubMenuAction:Et.props.triggerSubMenuAction,subMenuKey:Mt};return Et.renderCommonMenuItem(Ht,ot,ur)},Pt.store.setState({activeKey:Object(s.a)(Object(s.a)({},Pt.store.getState().activeKey),{},Object(y.a)({},Pt.eventKey,ae(Pt,Pt.activeKey)))}),Et.instanceArray=[],Et}return Object(i.a)(kt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Et){return this.props.visible||Et.visible||this.props.className!==Et.className||!b()(this.props.style,Et.style)}},{key:"componentDidUpdate",value:function(Et){var Ht=this.props,ot="activeKey"in Ht?Ht.activeKey:Ht.store.getState().activeKey[De(Ht)],Mt=ae(Ht,ot);if(Mt!==ot)Re(Ht.store,De(Ht),Mt);else if("activeKey"in Et){var xr=ae(Et,Et.activeKey);Mt!==xr&&Re(Ht.store,De(Ht),Mt)}}},{key:"render",value:function(){var Et=this,Ht=Object(A.a)({},this.props);this.instanceArray=[];var ot=_()(Ht.prefixCls,Ht.className,"".concat(Ht.prefixCls,"-").concat(Ht.mode)),Mt={className:ot,role:Ht.role||"menu"};Ht.id&&(Mt.id=Ht.id),Ht.focusable&&(Mt.tabIndex=0,Mt.onKeyDown=this.onKeyDown);var xr=Ht.prefixCls,ur=Ht.eventKey,gr=Ht.visible,Qr=Ht.level,ln=Ht.mode,_n=Ht.overflowedIndicator,Mn=Ht.theme;return re.forEach(function(li){return delete Ht[li]}),delete Ht.onClick,e.createElement($,Object.assign({},Ht,{prefixCls:xr,mode:ln,tag:"ul",level:Qr,theme:Mn,visible:gr,overflowedIndicator:_n},Mt),e.Children.map(Ht.children,function(li,ai){return Et.renderMenuItem(li,ai,ur||"0-menu-")}))}}]),kt}(e.Component);jt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ce};var ut=Object(p.b)()(jt),rr=ut,pr=d("Kwbf");function nn(at,bt,kt){var Pt=at.prefixCls,Et=at.motion,Ht=at.defaultMotions,ot=Ht===void 0?{}:Ht,Mt=at.openAnimation,xr=at.openTransitionName,ur=bt.switchingModeFromInline;if(Et)return Et;if(Object(L.a)(Mt)==="object"&&Mt)Object(pr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Mt=="string")return{motionName:"".concat(Pt,"-open-").concat(Mt)};if(xr)return{motionName:xr};var gr=ot[kt];return gr||(ur?null:ot.other)}var mr=function(at){Object(u.a)(kt,at);var bt=Object(h.a)(kt);function kt(Pt){var Et;Object(t.a)(this,kt),Et=bt.call(this,Pt),Et.inlineOpenKeys=[],Et.onSelect=function(Mt){var xr=Object(l.a)(Et),ur=xr.props;if(ur.selectable){var gr=Et.store.getState(),Qr=gr.selectedKeys,ln=Mt.key;ur.multiple?Qr=Qr.concat([ln]):Qr=[ln],"selectedKeys"in ur||Et.store.setState({selectedKeys:Qr}),ur.onSelect(Object(s.a)(Object(s.a)({},Mt),{},{selectedKeys:Qr}))}},Et.onClick=function(Mt){var xr=Et.getRealMenuMode(),ur=Object(l.a)(Et),gr=ur.store,Qr=ur.props.onOpenChange;xr!=="inline"&&!("openKeys"in Et.props)&&(gr.setState({openKeys:[]}),Qr([])),Et.props.onClick(Mt)},Et.onKeyDown=function(Mt,xr){Et.innerMenu.getWrappedInstance().onKeyDown(Mt,xr)},Et.onOpenChange=function(Mt){var xr=Object(l.a)(Et),ur=xr.props,gr=Et.store.getState().openKeys.concat(),Qr=!1,ln=function(Mn){var li=!1;if(Mn.open)li=gr.indexOf(Mn.key)===-1,li&&gr.push(Mn.key);else{var ai=gr.indexOf(Mn.key);li=ai!==-1,li&&gr.splice(ai,1)}Qr=Qr||li};Array.isArray(Mt)?Mt.forEach(ln):ln(Mt),Qr&&("openKeys"in Et.props||Et.store.setState({openKeys:gr}),ur.onOpenChange(gr))},Et.onDeselect=function(Mt){var xr=Object(l.a)(Et),ur=xr.props;if(ur.selectable){var gr=Et.store.getState().selectedKeys.concat(),Qr=Mt.key,ln=gr.indexOf(Qr);ln!==-1&&gr.splice(ln,1),"selectedKeys"in ur||Et.store.setState({selectedKeys:gr}),ur.onDeselect(Object(s.a)(Object(s.a)({},Mt),{},{selectedKeys:gr}))}},Et.onMouseEnter=function(Mt){Et.restoreModeVerticalFromInline();var xr=Et.props.onMouseEnter;xr&&xr(Mt)},Et.onTransitionEnd=function(Mt){var xr=Mt.propertyName==="width"&&Mt.target===Mt.currentTarget,ur=Mt.target.className,gr=Object.prototype.toString.call(ur)==="[object SVGAnimatedString]"?ur.animVal:ur,Qr=Mt.propertyName==="font-size"&&gr.indexOf("anticon")>=0;(xr||Qr)&&Et.restoreModeVerticalFromInline()},Et.setInnerMenu=function(Mt){Et.innerMenu=Mt},Et.isRootMenu=!0;var Ht=Pt.defaultSelectedKeys,ot=Pt.defaultOpenKeys;return"selectedKeys"in Pt&&(Ht=Pt.selectedKeys||[]),"openKeys"in Pt&&(ot=Pt.openKeys||[]),Et.store=Object(p.c)({selectedKeys:Ht,openKeys:ot,activeKey:{"0-menu-":ae(Pt,Pt.activeKey)}}),Et.state={switchingModeFromInline:!1},Et}return Object(i.a)(kt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Et){this.updateOpentKeysWhenSwitchMode(Et),this.updateMiniStore();var Ht=this.props,ot=Ht.siderCollapsed,Mt=Ht.inlineCollapsed,xr=Ht.onOpenChange;(!Et.inlineCollapsed&&Mt||!Et.siderCollapsed&&ot)&&xr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(Et){var Ht=this.props,ot=this.store,Mt=this.inlineOpenKeys,xr=ot.getState(),ur={};Et.mode==="inline"&&Ht.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Ht||((Ht.inlineCollapsed&&!Et.inlineCollapsed||Ht.siderCollapsed&&!Et.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=xr.openKeys.concat(),ur.openKeys=[]),(!Ht.inlineCollapsed&&Et.inlineCollapsed||!Ht.siderCollapsed&&Et.siderCollapsed)&&(ur.openKeys=Mt,this.inlineOpenKeys=[])),Object.keys(ur).length&&ot.setState(ur)}},{key:"updateMenuDisplay",value:function(){var Et=this.props.collapsedWidth,Ht=this.store,ot=this.prevOpenKeys,Mt=this.getInlineCollapsed()&&(Et===0||Et==="0"||Et==="0px");Mt?(this.prevOpenKeys=Ht.getState().openKeys.concat(),this.store.setState({openKeys:[]})):ot&&(this.store.setState({openKeys:ot}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Et=this.props.mode,Ht=this.state.switchingModeFromInline,ot=this.getInlineCollapsed();return Ht&&ot?"inline":ot?"vertical":Et}},{key:"getInlineCollapsed",value:function(){var Et=this.props,Ht=Et.inlineCollapsed,ot=Et.siderCollapsed;return ot!==void 0?ot:Ht}},{key:"restoreModeVerticalFromInline",value:function(){var Et=this.state.switchingModeFromInline;Et&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var Et=Object(s.a)({},Object(g.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Ht=this.getRealMenuMode();return Et.className+=" ".concat(Et.prefixCls,"-root"),Et.direction==="rtl"&&(Et.className+=" ".concat(Et.prefixCls,"-rtl")),Et=Object(s.a)(Object(s.a)({},Et),{},{mode:Ht,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:nn(this.props,this.state,Ht)}),delete Et.openAnimation,delete Et.openTransitionName,e.createElement(p.a,{store:this.store},e.createElement(rr,Object.assign({},Et,{ref:this.setInnerMenu}),this.props.children))}}]),kt}(e.Component);mr.defaultProps={selectable:!0,onClick:ce,onSelect:ce,onOpenChange:ce,onDeselect:ce,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:e.createElement("span",null,"\xB7\xB7\xB7")};var vr=mr,$t=function(at){Object(u.a)(kt,at);var bt=Object(h.a)(kt);function kt(){var Pt;return Object(t.a)(this,kt),Pt=bt.apply(this,arguments),Pt.onKeyDown=function(Et){var Ht=Et.keyCode;return Ht===E.a.ENTER?(Pt.onClick(Et),!0):void 0},Pt.onMouseLeave=function(Et){var Ht=Pt.props,ot=Ht.eventKey,Mt=Ht.onItemHover,xr=Ht.onMouseLeave;Mt({key:ot,hover:!1}),xr({key:ot,domEvent:Et})},Pt.onMouseEnter=function(Et){var Ht=Pt.props,ot=Ht.eventKey,Mt=Ht.onItemHover,xr=Ht.onMouseEnter;Mt({key:ot,hover:!0}),xr({key:ot,domEvent:Et})},Pt.onClick=function(Et){var Ht=Pt.props,ot=Ht.eventKey,Mt=Ht.multiple,xr=Ht.onClick,ur=Ht.onSelect,gr=Ht.onDeselect,Qr=Ht.isSelected,ln={key:ot,keyPath:[ot],item:Object(l.a)(Pt),domEvent:Et};xr(ln),Mt?Qr?gr(ln):ur(ln):Qr||ur(ln)},Pt.saveNode=function(Et){Pt.node=Et},Pt}return Object(i.a)(kt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Et=this.props;Et.onDestroy&&Et.onDestroy(Et.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var Et,Ht=Object(s.a)({},this.props),ot=_()(this.getPrefixCls(),Ht.className,(Et={},Object(y.a)(Et,this.getActiveClassName(),!Ht.disabled&&Ht.active),Object(y.a)(Et,this.getSelectedClassName(),Ht.isSelected),Object(y.a)(Et,this.getDisabledClassName(),Ht.disabled),Et)),Mt=Object(s.a)(Object(s.a)({},Ht.attribute),{},{title:typeof Ht.title=="string"?Ht.title:void 0,className:ot,role:Ht.role||"menuitem","aria-disabled":Ht.disabled});Ht.role==="option"?Mt=Object(s.a)(Object(s.a)({},Mt),{},{role:"option","aria-selected":Ht.isSelected}):(Ht.role===null||Ht.role==="none")&&(Mt.role="none");var xr={onClick:Ht.disabled?null:this.onClick,onMouseLeave:Ht.disabled?null:this.onMouseLeave,onMouseEnter:Ht.disabled?null:this.onMouseEnter},ur=Object(s.a)({},Ht.style);Ht.mode==="inline"&&(Ht.direction==="rtl"?ur.paddingRight=Ht.inlineIndent*Ht.level:ur.paddingLeft=Ht.inlineIndent*Ht.level),re.forEach(function(Qr){return delete Ht[Qr]}),delete Ht.direction;var gr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(gr=e.createElement(this.props.itemIcon,this.props)),e.createElement("li",Object.assign({},Object(g.default)(Ht,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Mt,xr,{style:ur,ref:this.saveNode}),Ht.children,gr)}}]),kt}(e.Component);$t.isMenuItem=!0,$t.defaultProps={onSelect:ce,onMouseEnter:ce,onMouseLeave:ce,manualRef:ce};var Xt=Object(p.b)(function(at,bt){var kt=at.activeKey,Pt=at.selectedKeys,Et=bt.eventKey,Ht=bt.subMenuKey;return{active:kt[Ht]===Et,isSelected:Pt.indexOf(Et)!==-1}})($t),ft=Xt,Ur=function(at){Object(u.a)(kt,at);var bt=Object(h.a)(kt);function kt(){var Pt;return Object(t.a)(this,kt),Pt=bt.apply(this,arguments),Pt.renderInnerMenuItem=function(Et){var Ht=Pt.props,ot=Ht.renderMenuItem,Mt=Ht.index;return ot(Et,Mt,Pt.props.subMenuKey)},Pt}return Object(i.a)(kt,[{key:"render",value:function(){var Et=Object(A.a)({},this.props),Ht=Et.className,ot=Ht===void 0?"":Ht,Mt=Et.rootPrefixCls,xr="".concat(Mt,"-item-group-title"),ur="".concat(Mt,"-item-group-list"),gr=Et.title,Qr=Et.children;return re.forEach(function(ln){return delete Et[ln]}),delete Et.onClick,delete Et.direction,e.createElement("li",Object.assign({},Et,{className:"".concat(ot," ").concat(Mt,"-item-group")}),e.createElement("div",{className:xr,title:typeof gr=="string"?gr:void 0},gr),e.createElement("ul",{className:ur},e.Children.map(Qr,this.renderInnerMenuItem)))}}]),kt}(e.Component);Ur.isMenuItemGroup=!0,Ur.defaultProps={disabled:!0};var yn=Ur,Dn=function(bt){var kt=bt.className,Pt=bt.rootPrefixCls,Et=bt.style;return e.createElement("li",{className:"".concat(kt," ").concat(Pt,"-item-divider"),style:Et})};Dn.defaultProps={disabled:!0,className:"",style:{}};var Un=Dn,wi=vr,Rn=Object(e.createContext)({inlineCollapsed:!1}),kn=Rn,Vn=d("0n0R"),Gt=function(at){r()(kt,at);var bt=n()(kt);function kt(){return m()(this,kt),bt.apply(this,arguments)}return c()(kt,[{key:"renderTitle",value:function(Et){var Ht=this.props,ot=Ht.icon,Mt=Ht.title,xr=Ht.level,ur=Ht.rootPrefixCls;if(!ot)return Et&&xr===1&&Mt&&typeof Mt=="string"?e.createElement("div",{className:"".concat(ur,"-inline-collapsed-noicon")},Mt.charAt(0)):Mt;var gr=Object(Vn.b)(Mt)&&Mt.type==="span";return e.createElement(e.Fragment,null,ot,gr?Mt:e.createElement("span",null,Mt))}},{key:"render",value:function(){var Et=this,Ht=this.props,ot=Ht.rootPrefixCls,Mt=Ht.popupClassName;return e.createElement(kn.Consumer,null,function(xr){var ur=xr.inlineCollapsed,gr=xr.antdMenuTheme;return e.createElement(Tt,x()({},Object(g.default)(Et.props,["icon"]),{title:Et.renderTitle(ur),popupClassName:_()(ot,"".concat(ot,"-").concat(gr),Mt)}))})}}]),kt}(e.Component);Gt.contextType=kn,Gt.isSubMenu=1;var st=Gt,ue=d("Zm9Q"),Ee=d("3S7+"),je=d("ZX9x"),Ve=function(at,bt){var kt={};for(var Pt in at)Object.prototype.hasOwnProperty.call(at,Pt)&&bt.indexOf(Pt)<0&&(kt[Pt]=at[Pt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,Pt=Object.getOwnPropertySymbols(at);Et1&&a&&a.length>1){var e=T(a)/T(n);!isFinite(e)&&(e=1),o.pinchScale=e;var s=v(a);return o.pinchX=s[0],o.pinchY=s[1],{type:"pinch",target:c[0].target,event:o}}}},m=x;U.exports=m},C0tN:function(U,P,d){d("0o9m"),d("8Uz6"),d("Ducp"),d("6/nd")},CBdT:function(U,P,d){var O=d("ProS");d("8waO"),d("AEZ6"),d("YNf1");var x=d("q3GZ");O.registerVisual(x)},CF2D:function(U,P,d){var O=d("ProS");d("vZI5"),d("GeKi");var x=d("6r85"),T=d("TJmX"),v=d("CbHG");O.registerPreprocessor(x),O.registerVisual(T),O.registerLayout(v)},CFYs:function(U,P,d){"use strict";var O=d("lSNA"),x=d.n(O),T=d("pVnL"),v=d.n(T),S=d("lwsE"),m=d.n(S),f=d("W8MJ"),c=d.n(f),o=d("PJYZ"),r=d.n(o),a=d("7W2i"),n=d.n(a),e=d("LQ03"),s=d.n(e),t=d("q1tI"),i=d.n(t),l=d("TSYQ"),u=d.n(l),h=d("BGR+"),p=d("V/uB"),g=d.n(p),A=d("NAnI"),y=d.n(A),E=d("J84W"),C=d.n(E),w=d("kbBi"),b=d.n(w),I=d("H84U"),_=d("CWQg"),L=d("uaoM"),D=d("Zss7"),N=d.n(D),R=2,B=.16,M=.05,H=.05,F=.15,K=5,j=4,V=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function z($e,wt,qt){var Mr;return Math.round($e.h)>=60&&Math.round($e.h)<=240?Mr=qt?Math.round($e.h)-R*wt:Math.round($e.h)+R*wt:Mr=qt?Math.round($e.h)+R*wt:Math.round($e.h)-R*wt,Mr<0?Mr+=360:Mr>=360&&(Mr-=360),Mr}function Y($e,wt,qt){if($e.h===0&&$e.s===0)return $e.s;var Mr;return qt?Mr=$e.s-B*wt:wt===j?Mr=$e.s+B:Mr=$e.s+M*wt,Mr>1&&(Mr=1),qt&&wt===K&&Mr>.1&&(Mr=.1),Mr<.06&&(Mr=.06),Number(Mr.toFixed(2))}function ee($e,wt,qt){var Mr;return qt?Mr=$e.v+H*wt:Mr=$e.v-F*wt,Mr>1&&(Mr=1),Number(Mr.toFixed(2))}function fe($e){for(var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qt=[],Mr=N()($e),an=K;an>0;an-=1){var _t=Mr.toHsv(),at=N()({h:z(_t,an,!0),s:Y(_t,an,!0),v:ee(_t,an,!0)}).toHexString();qt.push(at)}qt.push(Mr.toHexString());for(var bt=1;bt<=j;bt+=1){var kt=Mr.toHsv(),Pt=N()({h:z(kt,bt),s:Y(kt,bt),v:ee(kt,bt)}).toHexString();qt.push(Pt)}return wt.theme==="dark"?V.map(function(Et){var Ht=Et.index,ot=Et.opacity,Mt=N.a.mix(wt.backgroundColor||"#141414",qt[Ht],ot*100).toHexString();return Mt}):qt}var ie={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},we={},Ce={};Object.keys(ie).forEach(function($e){we[$e]=fe(ie[$e]),we[$e].primary=we[$e][5],Ce[$e]=fe(ie[$e],{theme:"dark",backgroundColor:"#141414"}),Ce[$e].primary=Ce[$e][5]});var Le=we.red,He=we.volcano,ce=we.gold,Pe=we.orange,Q=we.yellow,me=we.lime,Je=we.green,re=we.cyan,G=we.blue,X=we.geekblue,J=we.purple,Ae=we.magenta,he=we.grey;function Me($e){return!$e||$e<0?0:$e>100?100:$e}function Ie($e){var wt=$e.success,qt=$e.successPercent,Mr=qt;return wt&&"progress"in wt&&(Object(L.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Mr=wt.progress),wt&&"percent"in wt&&(Mr=wt.percent),Mr}var oe=function($e,wt){var qt={};for(var Mr in $e)Object.prototype.hasOwnProperty.call($e,Mr)&&wt.indexOf(Mr)<0&&(qt[Mr]=$e[Mr]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Mr=Object.getOwnPropertySymbols($e);an$e.length)&&(wt=$e.length);for(var qt=0,Mr=new Array(wt);qt=0)continue;if(!Object.prototype.propertyIsEnumerable.call($e,Mr))continue;qt[Mr]=$e[Mr]}}return qt}function $($e,wt){if($e==null)return{};var qt={},Mr=Object.keys($e),an,_t;for(_t=0;_t=0)continue;qt[an]=$e[an]}return qt}var Z=function(wt){var qt=wt.className,Mr=wt.percent,an=wt.prefixCls,_t=wt.strokeColor,at=wt.strokeLinecap,bt=wt.strokeWidth,kt=wt.style,Pt=wt.trailColor,Et=wt.trailWidth,Ht=wt.transition,ot=Be(wt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ot.gapPosition;var Mt=Array.isArray(Mr)?Mr:[Mr],xr=Array.isArray(_t)?_t:[_t],ur=Te(Mt),gr=ze(ur,1),Qr=gr[0],ln=bt/2,_n=100-bt/2,Mn="M ".concat(at==="round"?ln:0,",").concat(ln,` L `).concat(at==="round"?_n:100,",").concat(ln),li="0 0 100 ".concat(bt),ai=0;return i.a.createElement("svg",tt({className:u()("".concat(an,"-line"),qt),viewBox:li,preserveAspectRatio:"none",style:kt},ot),i.a.createElement("path",{className:"".concat(an,"-line-trail"),d:Mn,strokeLinecap:at,stroke:Pt,strokeWidth:Et||bt,fillOpacity:"0"}),Mt.map(function(pi,Oi){var Ze={strokeDasharray:"".concat(pi,"px, 100px"),strokeDashoffset:"-".concat(ai,"px"),transition:Ht||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},be=xr[Oi]||xr[xr.length-1];return ai+=pi,i.a.createElement("path",{key:Oi,className:"".concat(an,"-line-path"),d:Mn,strokeLinecap:at,stroke:be,strokeWidth:bt,fillOpacity:"0",ref:Qr[Oi],style:Ze})}))};Z.defaultProps=et;var Re=Z;function De(){return De=Object.assign||function($e){for(var wt=1;wt$e.length)&&(wt=$e.length);for(var qt=0,Mr=new Array(wt);qt=0)continue;if(!Object.prototype.propertyIsEnumerable.call($e,Mr))continue;qt[Mr]=$e[Mr]}}return qt}function mr($e,wt){if($e==null)return{};var qt={},Mr=Object.keys($e),an,_t;for(_t=0;_t=0)continue;qt[an]=$e[an]}return qt}var vr=0;function $t($e){return+$e.replace("%","")}function Xt($e){return Array.isArray($e)?$e:[$e]}function ft($e,wt,qt,Mr){var an=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,_t=arguments.length>5?arguments[5]:void 0,at=50-Mr/2,bt=0,kt=-at,Pt=0,Et=-2*at;switch(_t){case"left":bt=-at,kt=0,Pt=2*at,Et=0;break;case"right":bt=at,kt=0,Pt=-2*at,Et=0;break;case"bottom":kt=at,Et=2*at;break;default:}var Ht="M 50,50 m ".concat(bt,",").concat(kt,` a `).concat(at,",").concat(at," 0 1 1 ").concat(Pt,",").concat(-Et,` a `).concat(at,",").concat(at," 0 1 1 ").concat(-Pt,",").concat(Et),ot=Math.PI*2*at,Mt={stroke:qt,strokeDasharray:"".concat(wt/100*(ot-an),"px ").concat(ot,"px"),strokeDashoffset:"-".concat(an/2+$e/100*(ot-an),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Ht,pathStyle:Mt}}var Ur=function(wt){var qt=wt.prefixCls,Mr=wt.strokeWidth,an=wt.trailWidth,_t=wt.gapDegree,at=wt.gapPosition,bt=wt.trailColor,kt=wt.strokeLinecap,Pt=wt.style,Et=wt.className,Ht=wt.strokeColor,ot=wt.percent,Mt=nn(wt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),xr=Object(t.useMemo)(function(){return vr+=1,vr},[]),ur=ft(0,100,bt,Mr,_t,at),gr=ur.pathString,Qr=ur.pathStyle,ln=Xt(ot),_n=Xt(Ht),Mn=_n.find(function(Ze){return Object.prototype.toString.call(Ze)==="[object Object]"}),li=Te(ln),ai=ae(li,1),pi=ai[0],Oi=function(){var be=0;return ln.map(function(Ne,Ue){var Qe=_n[Ue]||_n[_n.length-1],Xe=Object.prototype.toString.call(Qe)==="[object Object]"?"url(#".concat(qt,"-gradient-").concat(xr,")"):"",qe=ft(be,Ne,Qe,Mr,_t,at);return be+=Ne,i.a.createElement("path",{key:Ue,className:"".concat(qt,"-circle-path"),d:qe.pathString,stroke:Xe,strokeLinecap:kt,strokeWidth:Mr,opacity:Ne===0?0:1,fillOpacity:"0",style:qe.pathStyle,ref:pi[Ue]})})};return i.a.createElement("svg",De({className:u()("".concat(qt,"-circle"),Et),viewBox:"0 0 100 100",style:Pt},Mt),Mn&&i.a.createElement("defs",null,i.a.createElement("linearGradient",{id:"".concat(qt,"-gradient-").concat(xr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Mn).sort(function(Ze,be){return $t(Ze)-$t(be)}).map(function(Ze,be){return i.a.createElement("stop",{key:be,offset:Ze,stopColor:Mn[Ze]})}))),i.a.createElement("path",{className:"".concat(qt,"-circle-trail"),d:gr,stroke:bt,strokeLinecap:kt,strokeWidth:an||Mr,fillOpacity:"0",style:Qr}),Oi().reverse())};Ur.defaultProps=et;var yn=Ur,Dn={Line:Re,Circle:yn};function Un($e){var wt=$e.percent,qt=$e.success,Mr=$e.successPercent,an=Me(wt),_t=Ie({success:qt,successPercent:Mr});return _t?[Me(_t),Me(an-Me(_t))]:an}function wi($e){var wt=$e.success,qt=$e.strokeColor,Mr=$e.successPercent,an=qt||null,_t=Ie({success:wt,successPercent:Mr});return _t?[ie.green,an]:an}var Rn=function(wt){var qt=wt.prefixCls,Mr=wt.width,an=wt.strokeWidth,_t=wt.trailColor,at=wt.strokeLinecap,bt=wt.gapPosition,kt=wt.gapDegree,Pt=wt.type,Et=wt.children,Ht=Mr||120,ot={width:Ht,height:Ht,fontSize:Ht*.15+6},Mt=an||6,xr=bt||Pt==="dashboard"&&"bottom"||"top",ur=function(){return kt||kt===0?kt:Pt==="dashboard"?75:void 0},gr=wi(wt),Qr=Object.prototype.toString.call(gr)==="[object Object]",ln=u()("".concat(qt,"-inner"),x()({},"".concat(qt,"-circle-gradient"),Qr));return t.createElement("div",{className:ln,style:ot},t.createElement(yn,{percent:Un(wt),strokeWidth:Mt,trailWidth:Mt,strokeColor:gr,strokeLinecap:at,trailColor:_t,prefixCls:qt,gapDegree:ur(),gapPosition:xr}),Et)},kn=Rn,Vn=function(wt){for(var qt=wt.size,Mr=wt.steps,an=wt.percent,_t=an===void 0?0:an,at=wt.strokeWidth,bt=at===void 0?8:at,kt=wt.strokeColor,Pt=wt.trailColor,Et=wt.prefixCls,Ht=wt.children,ot=Math.floor(Mr*(_t/100)),Mt=qt==="small"?2:14,xr=[],ur=0;ur=100?"success":an||"normal"}},{key:"renderProcessInfo",value:function(an,_t){var at=this.props,bt=at.showInfo,kt=at.format,Pt=at.type,Et=at.percent,Ht=Ie(this.props);if(!bt)return null;var ot,Mt=kt||function(ur){return"".concat(ur,"%")},xr=Pt==="line";return kt||_t!=="exception"&&_t!=="success"?ot=Mt(Me(Et),Me(Ht)):_t==="exception"?ot=xr?t.createElement(b.a,null):t.createElement(g.a,null):_t==="success"&&(ot=xr?t.createElement(C.a,null):t.createElement(y.a,null)),t.createElement("span",{className:"".concat(an,"-text"),title:typeof ot=="string"?ot:void 0},ot)}},{key:"render",value:function(){return t.createElement(I.a,null,this.renderProgress)}}]),qt}(t.Component);je.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Ve=P.a=je},"CMP+":function(U,P,d){var O=d("bYtY"),x=d("hM6l"),T=function(S,m,f,c){x.call(this,S,m,f),this.type=c||"value",this.model=null};T.prototype={constructor:T,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},O.inherits(T,x);var v=T;U.exports=v},CP8R:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};P.default=O},"CWI+":function(U,P,d){},CbHG:function(U,P,d){var O=d("IwbS"),x=O.subPixelOptimize,T=d("zM3Q"),v=d("OELB"),S=v.parsePercent,m=d("bYtY"),f=m.retrieve2,c=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:T(),reset:function(n){var e=n.coordinateSystem,s=n.getData(),t=a(n,s),i=0,l=1,u=["x","y"],h=s.mapDimension(u[i]),p=s.mapDimension(u[l],!0),g=p[0],A=p[1],y=p[2],E=p[3];if(s.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),h==null||p.length<4)return;return{progress:n.pipelineContext.large?w:C};function C(b,I){for(var _;(_=b.next())!=null;){var L=I.get(h,_),D=I.get(g,_),N=I.get(A,_),R=I.get(y,_),B=I.get(E,_),M=Math.min(D,N),H=Math.max(D,N),F=Y(M,L),K=Y(H,L),j=Y(R,L),V=Y(B,L),z=[];ee(z,K,0),ee(z,F,1),z.push(ie(V),ie(K),ie(j),ie(F)),I.setItemLayout(_,{sign:r(I,_,D,N,A),initBaseline:D>N?K[l]:F[l],ends:z,brushRect:fe(R,B,L)})}function Y(we,Ce){var Le=[];return Le[i]=Ce,Le[l]=we,isNaN(Ce)||isNaN(we)?[NaN,NaN]:e.dataToPoint(Le)}function ee(we,Ce,Le){var He=Ce.slice(),ce=Ce.slice();He[i]=x(He[i]+t/2,1,!1),ce[i]=x(ce[i]-t/2,1,!0),Le?we.push(He,ce):we.push(ce,He)}function fe(we,Ce,Le){var He=Y(we,Le),ce=Y(Ce,Le);return He[i]-=t/2,ce[i]-=t/2,{x:He[0],y:He[1],width:l?t:ce[0]-He[0],height:l?ce[1]-He[1]:t}}function ie(we){return we[i]=x(we[i],1),we}}function w(b,I){for(var _=new c(b.count*4),L=0,D,N=[],R=[],B;(B=b.next())!=null;){var M=I.get(h,B),H=I.get(g,B),F=I.get(A,B),K=I.get(y,B),j=I.get(E,B);if(isNaN(M)||isNaN(K)||isNaN(j)){_[L++]=NaN,L+=3;continue}_[L++]=r(I,B,H,F,A),N[i]=M,N[l]=K,D=e.dataToPoint(N,null,R),_[L++]=D?D[0]:NaN,_[L++]=D?D[1]:NaN,N[l]=j,D=e.dataToPoint(N,null,R),_[L++]=D?D[1]:NaN}I.setLayout("largePoints",_)}}};function r(n,e,s,t,i){var l;return s>t?l=-1:s0?n.get(i,e-1)<=t?1:-1:1,l}function a(n,e){var s=n.getBaseAxis(),t,i=s.type==="category"?s.getBandWidth():(t=s.getExtent(),Math.abs(t[1]-t[0])/e.count()),l=S(f(n.get("barMaxWidth"),i),i),u=S(f(n.get("barMinWidth"),1),i),h=n.get("barWidth");return h!=null?S(h,i):Math.max(Math.min(i/2,l),u)}U.exports=o},CiB2:function(U,P,d){"use strict";d.d(P,"a",function(){return O});function O(x){if(x==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(U,P,d){d("5NHt"),d("f3JH")},CrYA:function(U,P,d){var O=d("MFOe"),x=O.Global;U.exports={name:"sessionStorage",read:v,write:S,each:m,remove:f,clearAll:c};function T(){return x.sessionStorage}function v(o){return T().getItem(o)}function S(o,r){return T().setItem(o,r)}function m(o){for(var r=T().length-1;r>=0;r--){var a=T().key(r);o(v(a),a)}}function f(o){return T().removeItem(o)}function c(){return T().clear()}},Csr3:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("4vCz"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},D1WM:function(U,P,d){var O=d("bYtY"),x=d("hM6l"),T=function(S,m,f,c,o){x.call(this,S,m,f),this.type=c||"value",this.axisIndex=o};T.prototype={constructor:T,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},O.inherits(T,x);var v=T;U.exports=v},D5nY:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("4NO4"),v=T.makeInner,S=T.getDataItemValue,m=d("bYtY"),f=m.createHashMap,c=m.each,o=m.map,r=m.isArray,a=m.isString,n=m.isObject,e=m.isTypedArray,s=m.isArrayLike,t=m.extend,i=m.assert,l=d("7G+c"),u=d("k9D9"),h=u.SOURCE_FORMAT_ORIGINAL,p=u.SOURCE_FORMAT_ARRAY_ROWS,g=u.SOURCE_FORMAT_OBJECT_ROWS,A=u.SOURCE_FORMAT_KEYED_COLUMNS,y=u.SOURCE_FORMAT_UNKNOWN,E=u.SOURCE_FORMAT_TYPED_ARRAY,C=u.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},b=v();function I(z){var Y=z.option.source,ee=y;if(e(Y))ee=E;else if(r(Y)){Y.length===0&&(ee=p);for(var fe=0,ie=Y.length;fe0&&(l=this.getLineLength(s)/h*1e3),l!==this._period||u!==this._loop){s.stopAnimation();var A=p;g&&(A=p(e)),s.__t>0&&(A=-l*s.__t),s.__t=0;var y=s.animate("",u).when(l,{__t:1}).delay(A).during(function(){t.updateSymbolPosition(s)});u||y.done(function(){t.remove(s)}),y.start()}this._period=l,this._loop=u},o.getLineLength=function(a){return m.dist(a.__p1,a.__cp1)+m.dist(a.__cp1,a.__p2)},o.updateAnimationPoints=function(a,n){a.__p1=n[0],a.__p2=n[1],a.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},o.updateData=function(a,n,e){this.childAt(0).updateData(a,n,e),this._updateEffectSymbol(a,n)},o.updateSymbolPosition=function(a){var n=a.__p1,e=a.__p2,s=a.__cp1,t=a.__t,i=a.position,l=[i[0],i[1]],u=f.quadraticAt,h=f.quadraticDerivativeAt;i[0]=u(n[0],s[0],e[0],t),i[1]=u(n[1],s[1],e[1],t);var p=h(n[0],s[0],e[0],t),g=h(n[1],s[1],e[1],t);if(a.rotation=-Math.atan2(g,p)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(a.__lastT!==void 0&&a.__lastT=r&&t+1>=a){for(var i=[],l=0;l=r&&E+1>=a)return O(o,g.components,f,m);s[p]=g}n++}for(;n<=e;){var h=u();if(h)return h}},pushComponent:function(m,f,c){var o=m[m.length-1];o&&o.added===f&&o.removed===c?m[m.length-1]={count:o.count+1,added:f,removed:c}:m.push({count:1,added:f,removed:c})},extractCommon:function(m,f,c,o){for(var r=f.length,a=c.length,n=m.newPos,e=n-o,s=0;n+1=0)&&(G=i);var X=new m.Text({position:ce(K.center.slice()),scale:[1/C.scale[0],1/C.scale[1]],z2:10,silent:!0});if(m.setLabelStyle(X.style,X.hoverStyle={},we,Ce,{labelFetcher:G,labelDataIndex:re,defaultText:K.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!b){var J=[1/I[0],1/I[1]];m.updateProps(X,{scale:J},i)}j.add(X)}if(A)A.setItemGraphicEl(Le,j);else{var z=i.getRegionModel(K.name);V.eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:K.name,region:z&&z.option||{}}}var Ae=j.__regions||(j.__regions=[]);Ae.push(K),j.highDownSilentOnTouch=!!i.get("selectedMode"),m.setHoverStyle(j,ie),E.add(j)}),this._updateController(i,l,u),n(this,i,E,u,h),e(i,E)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&f.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(i){var l=i.map;this._mapName!==l&&O.each(f.makeGraphic(l,this.uid),function(u){this._backgroundGroup.add(u)},this),this._mapName=l},_updateController:function(i,l,u){var h=i.coordinateSystem,p=this._controller,g=this._controllerHost;g.zoomLimit=i.get("scaleLimit"),g.zoom=h.getZoom(),p.enable(i.get("roam")||!1);var A=i.mainType;function y(){var E={type:"geoRoam",componentType:A};return E[A+"Id"]=i.id,E}p.off("pan").on("pan",function(E){this._mouseDownFlag=!1,T.updateViewOnPan(g,E.dx,E.dy),u.dispatchAction(O.extend(y(),{dx:E.dx,dy:E.dy}))},this),p.off("zoom").on("zoom",function(E){if(this._mouseDownFlag=!1,T.updateViewOnZoom(g,E.scale,E.originX,E.originY),u.dispatchAction(O.extend(y(),{zoom:E.scale,originX:E.originX,originY:E.originY})),this._updateGroup){var C=this.group.scale;this._regionsGroup.traverse(function(w){w.type==="text"&&w.attr("scale",[1/C[0],1/C[1]])})}},this),p.setPointerChecker(function(E,C,w){return h.getViewRectAfterRoam().contain(C,w)&&!S(E,u,i)})}};var t=s;U.exports=t},DFOY:function(U,P,d){"use strict";var O=d("pVnL"),x=d.n(O),T=d("lSNA"),v=d.n(T),S=d("lwsE"),m=d.n(S),f=d("W8MJ"),c=d.n(f),o=d("PJYZ"),r=d.n(o),a=d("7W2i"),n=d.n(a),e=d("LQ03"),s=d.n(e),t=d("q1tI"),i=d.n(t),l=d("VTBJ"),u=d("1OyB"),h=d("vuIU"),p=d("JX7q"),g=d("Ji7U"),A=d("LK+K"),y=d("i8i4"),E=d.n(y),C=d("l4aY"),w=d("m+aA"),b=d("c+Xe"),I=d("zT1h"),_=d("QC+M"),L=d("TSYQ"),D=d.n(L);function N(zt,Dr,ir){return ir?zt[0]===Dr[0]:zt[0]===Dr[0]&&zt[1]===Dr[1]}function R(zt,Dr,ir){var Lt=zt[Dr]||{};return Object(l.a)(Object(l.a)({},Lt),ir)}function B(zt,Dr,ir,Lt){for(var Qt=ir.points,It=Object.keys(zt),or=0;or0&&(Er.deadlineId=setTimeout(function(){Er.onMotionEnd({deadline:!0})},ei))})},Er.nextFrame=function(Kr){Er.cancelNextFrame(),Er.raf=F()(Kr)},Er.cancelNextFrame=function(){Er.raf&&(F.a.cancel(Er.raf),Er.raf=null)},Er}return Object(h.a)(Cr,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var Kr,jn=this.state,Nn=jn.status,ei=jn.statusActive,Zr=jn.statusStyle,br=this.props,dn=br.children,Ln=br.motionName,Fn=br.visible,zn=br.removeOnLeave,ui=br.leavedClassName,ii=br.eventProps;return dn?Nn===me||!Lt(this.props)?Fn?dn(Object(l.a)({},ii),this.setNodeRef):zn?null:dn(Object(l.a)(Object(l.a)({},ii),{},{className:ui}),this.setNodeRef):dn(Object(l.a)(Object(l.a)({},ii),{},{className:D()(Q(Ln,Nn),(Kr={},Object(j.a)(Kr,Q(Ln,"".concat(Nn,"-active")),ei),Object(j.a)(Kr,Ln,typeof Ln=="string"),Kr)),style:Zr}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(Kr,jn){var Nn=jn.prevProps,ei=jn.status;if(!Lt(Kr))return{};var Zr=Kr.visible,br=Kr.motionAppear,dn=Kr.motionEnter,Ln=Kr.motionLeave,Fn=Kr.motionLeaveImmediately,zn={prevProps:Kr};return(ei===Je&&!br||ei===re&&!dn||ei===G&&!Ln)&&(zn.status=me,zn.statusActive=!1,zn.newStatus=!1),!Nn&&Zr&&br&&(zn.status=Je,zn.statusActive=!1,zn.newStatus=!0),Nn&&!Nn.visible&&Zr&&dn&&(zn.status=re,zn.statusActive=!1,zn.newStatus=!0),(Nn&&Nn.visible&&!Zr&&Ln||!Nn&&Fn&&!Zr&&Ln)&&(zn.status=G,zn.statusActive=!1,zn.newStatus=!0),zn}}]),Cr}(t.Component);return Qt.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},ir?t.forwardRef(function(It,or){return t.createElement(Qt,Object.assign({internalRef:or},It))}):Qt}var J=X(Pe),Ae="add",he="keep",Me="remove",Ie="removed";function oe(zt){var Dr;return zt&&Object(V.a)(zt)==="object"&&"key"in zt?Dr=zt:Dr={key:zt},Object(l.a)(Object(l.a)({},Dr),{},{key:String(Dr.key)})}function pe(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return zt.map(oe)}function Oe(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ir=[],Lt=0,Qt=Dr.length,It=pe(zt),or=pe(Dr);It.forEach(function(Kr){for(var jn=!1,Nn=Lt;Nn1});return Er.forEach(function(Kr){ir=ir.filter(function(jn){var Nn=jn.key,ei=jn.status;return Nn!==Kr||ei!==Me}),ir.forEach(function(jn){jn.key===Kr&&(jn.status=he)})}),ir}var Ye=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function it(zt){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:J,ir=function(Lt){Object(g.a)(It,Lt);var Qt=Object(A.a)(It);function It(){var or;return Object(u.a)(this,It),or=Qt.apply(this,arguments),or.state={keyEntities:[]},or.removeKey=function(Cr){or.setState(function(Er){var Kr=Er.keyEntities;return{keyEntities:Kr.map(function(jn){return jn.key!==Cr?jn:Object(l.a)(Object(l.a)({},jn),{},{status:Ie})})}})},or}return Object(h.a)(It,[{key:"render",value:function(){var Cr=this,Er=this.state.keyEntities,Kr=this.props,jn=Kr.component,Nn=Kr.children,ei=Object(M.a)(Kr,["component","children"]),Zr=jn||t.Fragment,br={};return Ye.forEach(function(dn){br[dn]=ei[dn],delete ei[dn]}),delete ei.keys,t.createElement(Zr,Object.assign({},ei),Er.map(function(dn){var Ln=dn.status,Fn=Object(M.a)(dn,["status"]),zn=Ln===Ae||Ln===he;return t.createElement(Dr,Object.assign({},br,{key:Fn.key,visible:zn,eventProps:Fn,onLeaveEnd:function(){br.onLeaveEnd&&br.onLeaveEnd.apply(br,arguments),Cr.removeKey(Fn.key)}}),Nn)}))}}],[{key:"getDerivedStateFromProps",value:function(Cr,Er){var Kr=Cr.keys,jn=Er.keyEntities,Nn=pe(Kr);if(!zt)return{keyEntities:Nn.map(function(br){return Object(l.a)(Object(l.a)({},br),{},{status:he})})};var ei=Oe(jn,Nn),Zr=jn.length;return{keyEntities:ei.filter(function(br){for(var dn=null,Ln=0;Ln1&&(Nn=t.createElement("div",{className:"".concat(Lt,"-content")},or)),t.createElement("div",{ref:ir,className:Qt,onMouseEnter:Cr,onMouseLeave:Er,onMouseDown:Kr,onTouchStart:jn,style:It},Nn)},ze=t.forwardRef(tt);ze.displayName="PopupInner";var dt=ze;function Ot(zt){var Dr=zt.prefixCls,ir=zt.motion,Lt=zt.animation,Qt=zt.transitionName;return ir||(Lt?{motionName:"".concat(Dr,"-").concat(Lt)}:Qt?{motionName:Qt}:null)}function Tt(zt){return zt&&zt.motionName}var Ct=function(zt){Object(g.a)(ir,zt);var Dr=Object(A.a)(ir);function ir(){var Lt;return Object(u.a)(this,ir),Lt=Dr.apply(this,arguments),Lt.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},Lt.popupRef=i.a.createRef(),Lt.alignRef=i.a.createRef(),Lt.nextFrameState=null,Lt.nextFrameId=null,Lt.onAlign=function(Qt,It){var or=Lt.state.status,Cr=Lt.props,Er=Cr.getClassNameFromAlign,Kr=Cr.onAlign,jn=Er(It);or==="align"?Lt.setState({alignClassName:jn,status:"aligned"},function(){Lt.alignRef.current.forceAlign()}):or==="aligned"?(Lt.setState({alignClassName:jn,status:"afterAlign"}),Kr(Qt,It)):Lt.setState({alignClassName:jn})},Lt.onMotionEnd=function(){var Qt=Lt.props.visible;Lt.setState({status:Qt?"AfterMotion":"stable",inMotion:!1})},Lt.setStateOnNextFrame=function(Qt){Lt.cancelFrameState(),Lt.nextFrameState=Object(l.a)(Object(l.a)({},Lt.nextFrameState),Qt),Lt.nextFrameId=F()(function(){var It=Object(l.a)({},Lt.nextFrameState);Lt.nextFrameState=null,Lt.setState(It)})},Lt.getMotion=function(){return Object(l.a)({},Ot(Lt.props))},Lt.getAlignTarget=function(){var Qt=Lt.props,It=Qt.point,or=Qt.getRootDomNode;return It||or},Lt.cancelFrameState=function(){F.a.cancel(Lt.nextFrameId)},Lt.renderPopupElement=function(){var Qt=Lt.state,It=Qt.status,or=Qt.targetHeight,Cr=Qt.targetWidth,Er=Qt.alignClassName,Kr=Lt.props,jn=Kr.prefixCls,Nn=Kr.className,ei=Kr.style,Zr=Kr.stretch,br=Kr.visible,dn=Kr.align,Ln=Kr.destroyPopupOnHide,Fn=Kr.onMouseEnter,zn=Kr.onMouseLeave,ui=Kr.onMouseDown,ii=Kr.onTouchStart,qn=Kr.children,Li=D()(jn,Nn,Er),zi="".concat(jn,"-hidden"),Ri={};Zr&&(Zr.indexOf("height")!==-1?Ri.height=or:Zr.indexOf("minHeight")!==-1&&(Ri.minHeight=or),Zr.indexOf("width")!==-1?Ri.width=Cr:Zr.indexOf("minWidth")!==-1&&(Ri.minWidth=Cr));var ga=Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},Ri),Lt.getZIndexStyle()),ei),{},{opacity:It==="stable"||!br?void 0:0,pointerEvents:It==="stable"||!br?void 0:"none"}),oi=Lt.getMotion(),hn=br;br&&It!=="beforeMotion"&&It!=="motion"&&It!=="stable"&&(oi.motionAppear=!1,oi.motionEnter=!1,oi.motionLeave=!1),(It==="afterAlign"||It==="beforeMotion")&&(hn=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach(function(ki){var ji=oi==null?void 0:oi[ki];oi[ki]=function(){for(var dr=arguments.length,sr=new Array(dr),cn=0;cn0;(Fn||It.isLeaf===!1)&&(dn+=" ".concat(Er,"-menu-item-expand"),It.loading||(Ln=t.createElement("span",{className:"".concat(Er,"-menu-item-expand-icon")},jn))),Kr==="hover"&&(Fn||It.isLeaf===!1)&&(br={onMouseEnter:this.delayOnSelect.bind(this,ei),onMouseLeave:this.delayOnSelect.bind(this),onClick:ei}),this.isActiveOption(It,or)&&(dn+=" ".concat(Er,"-menu-item-active"),br.ref=this.saveMenuItem(or)),It.disabled&&(dn+=" ".concat(Er,"-menu-item-disabled"));var zn=null;It.loading&&(dn+=" ".concat(Er,"-menu-item-loading"),zn=Nn||null);var ui="";return"title"in It?ui=It.title:typeof It[this.getFieldName("label")]=="string"&&(ui=It[this.getFieldName("label")]),t.createElement("li",Object.assign({key:It[this.getFieldName("value")],className:dn,title:ui},br,{role:"menuitem",onMouseDown:function(qn){return qn.preventDefault()}}),It[this.getFieldName("label")],Ln,zn)}},{key:"getActiveOptions",value:function(It){var or=this,Cr=this.props.options,Er=It||this.props.activeValue;return mr()(Cr,function(Kr,jn){return Kr[or.getFieldName("value")]===Er[jn]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var It=this,or=this.props.options,Cr=this.getActiveOptions().map(function(Er){return Er[It.getFieldName("children")]}).filter(function(Er){return!!Er});return Cr.unshift(or),Cr}},{key:"delayOnSelect",value:function(It){for(var or=this,Cr=arguments.length,Er=new Array(Cr>1?Cr-1:0),Kr=1;Kr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(zt,Lt))continue;ir[Lt]=zt[Lt]}}return ir}function $e(zt,Dr){if(zt==null)return{};var ir={},Lt=Object.keys(zt),Qt,It;for(It=0;It=0)continue;ir[Qt]=zt[Qt]}return ir}function wt(zt){return _t(zt)||an(zt)||Mr(zt)||qt()}function qt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mr(zt,Dr){if(!zt)return;if(typeof zt=="string")return at(zt,Dr);var ir=Object.prototype.toString.call(zt).slice(8,-1);if(ir==="Object"&&zt.constructor&&(ir=zt.constructor.name),ir==="Map"||ir==="Set")return Array.from(zt);if(ir==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ir))return at(zt,Dr)}function an(zt){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(zt))return Array.from(zt)}function _t(zt){if(Array.isArray(zt))return at(zt)}function at(zt,Dr){(Dr==null||Dr>zt.length)&&(Dr=zt.length);for(var ir=0,Lt=new Array(Dr);ir=Nn.length?0:Zr):(Zr-=1,Zr=Zr<0?Nn.length-1:Zr):Zr=0,Kr[jn]=Nn[Zr][It.getFieldName("value")]}else if(Cr.keyCode===pr.a.LEFT||Cr.keyCode===pr.a.BACKSPACE)Cr.preventDefault(),Kr.splice(Kr.length-1,1);else if(Cr.keyCode===pr.a.RIGHT)Cr.preventDefault(),Nn[ei]&&Nn[ei][It.getFieldName("children")]&&Kr.push(Nn[ei][It.getFieldName("children")][0][It.getFieldName("value")]);else if(Cr.keyCode===pr.a.ESC||Cr.keyCode===pr.a.TAB){It.setPopupVisible(!1);return}(!Kr||Kr.length===0)&&It.setPopupVisible(!1);var br=It.getActiveOptions(Kr),dn=br[br.length-1];It.handleMenuSelect(dn,br.length-1,Cr),It.props.onKeyDown&&It.props.onKeyDown(Cr)},It.saveTrigger=function(Cr){It.trigger=Cr};var or=[];return"value"in Qt?or=Qt.value||[]:"defaultValue"in Qt&&(or=Qt.defaultValue||[]),rr()(!("filedNames"in Qt),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),It.state={popupVisible:Qt.popupVisible,activeValue:or,value:or,prevProps:Qt},It.defaultFieldNames={label:"label",value:"value",children:"children"},It}return Pt(Lt,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(It){var or=this.defaultFieldNames,Cr=this.props,Er=Cr.fieldNames,Kr=Cr.filedNames;return"filedNames"in this.props?Kr[It]||or[It]:Er[It]||or[It]}},{key:"getFieldNames",value:function(){var It=this.props,or=It.fieldNames,Cr=It.filedNames;return"filedNames"in this.props?Cr:or}},{key:"getCurrentLevelOptions",value:function(){var It=this,or=this.props.options,Cr=or===void 0?[]:or,Er=this.state.activeValue,Kr=Er===void 0?[]:Er,jn=mr()(Cr,function(Nn,ei){return Nn[It.getFieldName("value")]===Kr[ei]},{childrenKeyName:this.getFieldName("children")});return jn[jn.length-2]?jn[jn.length-2][this.getFieldName("children")]:wt(Cr).filter(function(Nn){return!Nn.disabled})}},{key:"getActiveOptions",value:function(It){var or=this;return mr()(this.props.options||[],function(Cr,Er){return Cr[or.getFieldName("value")]===It[Er]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var It=this.props,or=It.prefixCls,Cr=It.transitionName,Er=It.popupClassName,Kr=It.options,jn=Kr===void 0?[]:Kr,Nn=It.disabled,ei=It.builtinPlacements,Zr=It.popupPlacement,br=It.children,dn=It.dropdownRender,Ln=Ve(It,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Fn=t.createElement("div",null),zn="";jn&&jn.length>0?Fn=t.createElement(st,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):zn=" ".concat(or,"-menus-empty");var ui=Fn;return dn&&(ui=dn(Fn)),t.createElement(jt,Object.assign({ref:this.saveTrigger},Ln,{popupPlacement:Zr,builtinPlacements:ei,popupTransitionName:Cr,action:Nn?[]:["click"],popupVisible:Nn?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(or,"-menus"),popupClassName:Er+zn,popup:ui}),t.cloneElement(br,{onKeyDown:this.handleKeyDown,tabIndex:Nn?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(It,or){var Cr=or.prevProps,Er=Cr===void 0?{}:Cr,Kr={prevProps:It};return"value"in It&&!vr(Er.value,It.value)&&(Kr.value=It.value||[],"loadData"in It||(Kr.activeValue=It.value||[])),"popupVisible"in It&&(Kr.popupVisible=It.popupVisible),Kr}}]),Lt}(t.Component);return zt.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:Ee,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},zt}(),ln=Qr,_n=ln,Mn=d("BGR+"),li=d("kbBi"),ai=d.n(li),pi=d("HQEm"),Oi=d.n(pi),Ze=d("fEPi"),be=d.n(Ze),Ne=d("5YOS"),Ue=d.n(Ne),Qe=d("DFhj"),Xe=d.n(Qe),qe=d("5rEg"),yt=d("H84U"),ht=d("YMnH"),Jt=d("uaoM"),kr=d("3Nzz"),_r=d("0n0R"),Xr=function(zt,Dr){var ir={};for(var Lt in zt)Object.prototype.hasOwnProperty.call(zt,Lt)&&Dr.indexOf(Lt)<0&&(ir[Lt]=zt[Lt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Lt=Object.getOwnPropertySymbols(zt);Qt-1})}function vn(zt,Dr,ir,Lt){return Dr.map(function(Qt,It){var or=Qt[Lt.label],Cr=or.indexOf(zt)>-1?gn(or,zt,ir):or;return It===0?Cr:[" / ",Cr]})}function en(zt,Dr,ir,Lt){function Qt(It){return It[Lt.label].indexOf(ir)>-1}return zt.findIndex(Qt)-Dr.findIndex(Qt)}function Dt(zt){var Dr=zt.fieldNames;return Dr}function jr(zt){var Dr=Dt(zt)||{},ir={children:Dr.children||"children",label:Dr.label||"label",value:Dr.value||"value"};return ir}function un(zt,Dr){var ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Lt=jr(Dr),Qt=[],It=Lt.children;return zt.forEach(function(or){var Cr=ir.concat(or);(Dr.changeOnSelect||!or[It]||!or[It].length)&&Qt.push(Cr),or[It]&&(Qt=Qt.concat(un(or[It],Dr,Cr)))}),Qt}var Hr=function(Dr){return Dr.join(" / ")};function Wt(zt){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(zt||[]).forEach(function(ir){var Lt=Dr.value||"value";Object(Jt.a)(Lt in ir,"Cascader","Not found `value` in `options`."),Wt(ir[Dr.children||"children"],Dr)})}var wr=function(zt){n()(ir,zt);var Dr=s()(ir);function ir(Lt){var Qt;return m()(this,ir),Qt=Dr.call(this,Lt),Qt.cachedOptions=[],Qt.setValue=function(It){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Qt.props||Qt.setState({value:It});var Cr=Qt.props.onChange;Cr&&Cr(It,or)},Qt.saveInput=function(It){Qt.input=It},Qt.handleChange=function(It,or){if(Qt.setState({inputValue:""}),or[0].__IS_FILTERED_OPTION){var Cr=It[0],Er=or[0].path;Qt.setValue(Cr,Er);return}Qt.setValue(It,or)},Qt.handlePopupVisibleChange=function(It){"popupVisible"in Qt.props||Qt.setState(function(Cr){return{popupVisible:It,inputFocused:It,inputValue:It?Cr.inputValue:""}});var or=Qt.props.onPopupVisibleChange;or&&or(It)},Qt.handleInputBlur=function(){Qt.setState({inputFocused:!1})},Qt.handleInputClick=function(It){var or=Qt.state,Cr=or.inputFocused,Er=or.popupVisible;(Cr||Er)&&It.stopPropagation()},Qt.handleKeyDown=function(It){(It.keyCode===pr.a.BACKSPACE||It.keyCode===pr.a.SPACE)&&It.stopPropagation()},Qt.handleInputChange=function(It){var or=Qt.state.popupVisible,Cr=It.target.value;or||Qt.handlePopupVisibleChange(!0),Qt.setState({inputValue:Cr})},Qt.clearSelection=function(It){var or=Qt.state.inputValue;It.preventDefault(),It.stopPropagation(),or?Qt.setState({inputValue:""}):(Qt.handlePopupVisibleChange(!1),Qt.clearSelectionTimeout=setTimeout(function(){Qt.setValue([])},200))},Qt.renderCascader=function(It,or){var Cr=It.getPopupContainer,Er=It.getPrefixCls,Kr=It.renderEmpty,jn=It.direction;return t.createElement(kr.b.Consumer,null,function(Nn){var ei,Zr,br,dn,Ln=r()(Qt),Fn=Ln.props,zn=Ln.state,ui=Fn.prefixCls,ii=Fn.inputPrefixCls,qn=Fn.children,Li=Fn.placeholder,zi=Li===void 0?or.placeholder||"Please select":Li,Ri=Fn.size,ga=Fn.disabled,oi=Fn.className,hn=Fn.style,Ei=Fn.allowClear,Hi=Fn.showSearch,ki=Hi===void 0?!1:Hi,ji=Fn.suffixIcon,dr=Fn.expandIcon,sr=Fn.notFoundContent,cn=Fn.popupClassName,Zt=Fn.bordered,Ar=Fn.dropdownRender,Nr=Xr(Fn,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),tn=Ri||Nn,pn=zn.value,St=zn.inputFocused,cr=jn==="rtl",fr=Er("cascader",ui),Br=Er("input",ii),$r=D()((ei={},v()(ei,"".concat(Br,"-lg"),tn==="large"),v()(ei,"".concat(Br,"-sm"),tn==="small"),ei)),wn=Ei&&!ga&&pn.length>0||zn.inputValue?t.createElement(ai.a,{className:"".concat(fr,"-picker-clear"),onClick:Qt.clearSelection}):null,rn=D()((Zr={},v()(Zr,"".concat(fr,"-picker-arrow"),!0),v()(Zr,"".concat(fr,"-picker-arrow-expand"),zn.popupVisible),Zr)),On=D()(oi,"".concat(fr,"-picker"),(br={},v()(br,"".concat(fr,"-picker-rtl"),cr),v()(br,"".concat(fr,"-picker-with-value"),zn.inputValue),v()(br,"".concat(fr,"-picker-disabled"),ga),v()(br,"".concat(fr,"-picker-").concat(tn),!!tn),v()(br,"".concat(fr,"-picker-show-search"),!!ki),v()(br,"".concat(fr,"-picker-focused"),St),v()(br,"".concat(fr,"-picker-borderless"),!Zt),br)),In=Object(Mn.default)(Nr,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),Gn=Fn.options,fi=jr(Qt.props);if(Gn&&Gn.length>0)zn.inputValue&&(Gn=Qt.generateFilteredOptions(fr,Kr));else{var Yn;Gn=[(Yn={},v()(Yn,fi.label,sr||Kr("Cascader")),v()(Yn,fi.value,"ANT_CASCADER_NOT_FOUND"),Yn)]}zn.popupVisible?Qt.cachedOptions=Gn:Gn=Qt.cachedOptions;var gi={},vi=(Gn||[]).length===1&&Gn[0].isEmptyNode;vi&&(gi.height="auto");var Di=ki.matchInputWidth!==!1;Di&&(zn.inputValue||vi)&&Qt.input&&(gi.width=Qt.input.input.offsetWidth);var Mi;ji?Mi=Object(_r.c)(ji,t.createElement("span",{className:"".concat(fr,"-picker-arrow")},ji),function(){var ia;return{className:D()((ia={},v()(ia,ji.props.className,ji.props.className),v()(ia,"".concat(fr,"-picker-arrow"),!0),ia))}}):Mi=t.createElement(Oi.a,{className:rn});var xi=qn||t.createElement("span",{style:hn,className:On},t.createElement("span",{className:"".concat(fr,"-picker-label")},Qt.getLabel()),t.createElement(qe.a,x()({},In,{tabIndex:"-1",ref:Qt.saveInput,prefixCls:Br,placeholder:pn&&pn.length>0?void 0:zi,className:"".concat(fr,"-input ").concat($r),value:zn.inputValue,disabled:ga,readOnly:!ki,autoComplete:In.autoComplete||"off",onClick:ki?Qt.handleInputClick:void 0,onBlur:ki?Qt.handleInputBlur:void 0,onKeyDown:Qt.handleKeyDown,onChange:ki?Qt.handleInputChange:void 0})),wn,Mi),bi;dr?bi=dr:bi=cr?t.createElement(Xe.a,null):t.createElement(be.a,null);var Ci=t.createElement("span",{className:"".concat(fr,"-menu-item-loading-icon")},t.createElement(Ue.a,{spin:!0})),$i=Fn.getPopupContainer||Cr,qi=Object(Mn.default)(Fn,["inputIcon","expandIcon","loadingIcon","bordered"]),Ti=D()(cn,(dn={},v()(dn,"".concat(fr,"-menu-").concat(jn),jn==="rtl"),v()(dn,"".concat(fr,"-menu-empty"),Gn.length===1&&Gn[0].value==="ANT_CASCADER_NOT_FOUND"),dn));return t.createElement(_n,x()({},qi,{prefixCls:fr,getPopupContainer:$i,options:Gn,value:pn,popupVisible:zn.popupVisible,onPopupVisibleChange:Qt.handlePopupVisibleChange,onChange:Qt.handleChange,dropdownMenuColumnStyle:gi,expandIcon:bi,loadingIcon:Ci,popupClassName:Ti,popupPlacement:Qt.getPopupPlacement(jn),dropdownRender:Ar}),xi)})},Qt.state={value:Lt.value||Lt.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Lt.popupVisible,flattenOptions:Lt.showSearch?un(Lt.options,Lt):void 0,prevProps:Lt},Qt}return c()(ir,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Qt=this.props,It=Qt.options,or=Qt.displayRender,Cr=or===void 0?Hr:or,Er=jr(this.props),Kr=this.state.value,jn=Array.isArray(Kr[0])?Kr[0]:Kr,Nn=mr()(It,function(Zr,br){return Zr[Er.value]===jn[br]},{childrenKeyName:Er.children}),ei=Nn.length?Nn.map(function(Zr){return Zr[Er.label]}):Kr;return Cr(ei,Nn)}},{key:"generateFilteredOptions",value:function(Qt,It){var or=this,Cr,Er=this.props,Kr=Er.showSearch,jn=Er.notFoundContent,Nn=jr(this.props),ei=Kr.filter,Zr=ei===void 0?hr:ei,br=Kr.render,dn=br===void 0?vn:br,Ln=Kr.sort,Fn=Ln===void 0?en:Ln,zn=Kr.limit,ui=zn===void 0?Bt:zn,ii=this.state,qn=ii.flattenOptions,Li=qn===void 0?[]:qn,zi=ii.inputValue,Ri;if(ui>0){Ri=[];var ga=0;Li.some(function(oi){var hn=Zr(or.state.inputValue,oi,Nn);return hn&&(Ri.push(oi),ga+=1),ga>=ui})}else Object(Jt.a)(typeof ui!="number","Cascader","'limit' of showSearch should be positive number or false."),Ri=Li.filter(function(oi){return Zr(or.state.inputValue,oi,Nn)});return Ri=Ri.sort(function(oi,hn){return Fn(oi,hn,zi,Nn)}),Ri.length>0?Ri.map(function(oi){var hn;return hn={__IS_FILTERED_OPTION:!0,path:oi},v()(hn,Nn.value,oi.map(function(Ei){return Ei[Nn.value]})),v()(hn,Nn.label,dn(zi,oi,Qt,Nn)),v()(hn,"disabled",oi.some(function(Ei){return!!Ei.disabled})),v()(hn,"isEmptyNode",!0),hn}):[(Cr={},v()(Cr,Nn.value,"ANT_CASCADER_NOT_FOUND"),v()(Cr,Nn.label,jn||It("Cascader")),v()(Cr,"disabled",!0),v()(Cr,"isEmptyNode",!0),Cr)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",It=this.props.popupPlacement;return It!==void 0?It:Qt==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Qt=this;return t.createElement(yt.a,null,function(It){return t.createElement(ht.a,null,function(or){return Qt.renderCascader(It,or)})})}}],[{key:"getDerivedStateFromProps",value:function(Qt,It){var or=It.prevProps,Cr={prevProps:Qt};return"value"in Qt&&(Cr.value=Qt.value||[]),"popupVisible"in Qt&&(Cr.popupVisible=Qt.popupVisible),Qt.showSearch&&or.options!==Qt.options&&(Cr.flattenOptions=un(Qt.options,Qt)),Cr}}]),ir}(t.Component);wr.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var fn=P.a=wr},DFhj:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("GGyF"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},DL4k:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};P.default=O},DN4a:function(U,P,d){var O=d("Fofx"),x=d("QBsz"),T=O.identity,v=5e-5;function S(n){return n>v||n<-v}var m=function(e){e=e||{},e.position||(this.position=[0,0]),e.rotation==null&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},f=m.prototype;f.transform=null,f.needLocalTransform=function(){return S(this.rotation)||S(this.position[0])||S(this.position[1])||S(this.scale[0]-1)||S(this.scale[1]-1)};var c=[];f.updateTransform=function(){var n=this.parent,e=n&&n.transform,s=this.needLocalTransform(),t=this.transform;if(!(s||e)){t&&T(t);return}t=t||O.create(),s?this.getLocalTransform(t):T(t),e&&(s?O.mul(t,n.transform,t):O.copy(t,n.transform)),this.transform=t;var i=this.globalScaleRatio;if(i!=null&&i!==1){this.getGlobalScale(c);var l=c[0]<0?-1:1,u=c[1]<0?-1:1,h=((c[0]-l)*i+l)/c[0]||0,p=((c[1]-u)*i+u)/c[1]||0;t[0]*=h,t[1]*=h,t[2]*=p,t[3]*=p}this.invTransform=this.invTransform||O.create(),O.invert(this.invTransform,t)},f.getLocalTransform=function(n){return m.getLocalTransform(this,n)},f.setTransform=function(n){var e=this.transform,s=n.dpr||1;e?n.setTransform(s*e[0],s*e[1],s*e[2],s*e[3],s*e[4],s*e[5]):n.setTransform(s,0,0,s,0,0)},f.restoreTransform=function(n){var e=n.dpr||1;n.setTransform(e,0,0,e,0,0)};var o=[],r=O.create();f.setLocalTransform=function(n){if(!n)return;var e=n[0]*n[0]+n[1]*n[1],s=n[2]*n[2]+n[3]*n[3],t=this.position,i=this.scale;S(e-1)&&(e=Math.sqrt(e)),S(s-1)&&(s=Math.sqrt(s)),n[0]<0&&(e=-e),n[3]<0&&(s=-s),t[0]=n[4],t[1]=n[5],i[0]=e,i[1]=s,this.rotation=Math.atan2(-n[1]/s,n[0]/e)},f.decomposeTransform=function(){if(!this.transform)return;var n=this.parent,e=this.transform;n&&n.transform&&(O.mul(o,n.invTransform,e),e=o);var s=this.origin;s&&(s[0]||s[1])&&(r[4]=s[0],r[5]=s[1],O.mul(o,e,r),o[4]-=s[0],o[5]-=s[1],e=o),this.setLocalTransform(e)},f.getGlobalScale=function(n){var e=this.transform;return n=n||[],e?(n[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),n[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(n[0]=-n[0]),e[3]<0&&(n[1]=-n[1]),n):(n[0]=1,n[1]=1,n)},f.transformCoordToLocal=function(n,e){var s=[n,e],t=this.invTransform;return t&&x.applyTransform(s,s,t),s},f.transformCoordToGlobal=function(n,e){var s=[n,e],t=this.transform;return t&&x.applyTransform(s,s,t),s},m.getLocalTransform=function(n,e){e=e||[],T(e);var s=n.origin,t=n.scale||[1,1],i=n.rotation||0,l=n.position||[0,0];return s&&(e[4]-=s[0],e[5]-=s[1]),O.scale(e,e,t),i&&O.rotate(e,e,i),s&&(e[4]+=s[0],e[5]+=s[1]),e[4]+=l[0],e[5]+=l[1],e};var a=m;U.exports=a},DO2E:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};P.default=O},DYRE:function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("OPEp"),v=d.n(T)},DZo9:function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("JGo8"),v=d.n(T),S=d("+L6B"),m=d("MXD1"),f=d("5Dmo")},Dagg:function(U,P,d){var O=d("Gev7"),x=d("mFDi"),T=d("bYtY"),v=d("Xnb7");function S(f){O.call(this,f)}S.prototype={constructor:S,type:"image",brush:function(c,o){var r=this.style,a=r.image;r.bind(c,this,o);var n=this._image=v.createOrUpdateImage(a,this._image,this,this.onload);if(!n||!v.isImageReady(n))return;var e=r.x||0,s=r.y||0,t=r.width,i=r.height,l=n.width/n.height;if(t==null&&i!=null?t=i*l:i==null&&t!=null?i=t/l:t==null&&i==null&&(t=n.width,i=n.height),this.setTransform(c),r.sWidth&&r.sHeight){var u=r.sx||0,h=r.sy||0;c.drawImage(n,u,h,r.sWidth,r.sHeight,e,s,t,i)}else if(r.sx&&r.sy){var u=r.sx,h=r.sy,p=t-u,g=i-h;c.drawImage(n,u,h,p,g,e,s,t,i)}else c.drawImage(n,e,s,t,i);r.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},getBoundingRect:function(){var c=this.style;return this._rect||(this._rect=new x(c.x||0,c.y||0,c.width||0,c.height||0)),this._rect}},T.inherits(S,O);var m=S;U.exports=m},Dg8C:function(U,P,d){var O=d("XxSj"),x=d("bYtY");function T(v,S){v.eachSeriesByType("sankey",function(m){var f=m.getGraph(),c=f.nodes;if(c.length){var o=Infinity,r=-Infinity;x.each(c,function(a){var n=a.getLayout().value;nr&&(r=n)}),x.each(c,function(a){var n=new O({type:"color",mappingMethod:"linear",dataExtent:[o,r],visual:m.get("color")}),e=n.mapValueToVisual(a.getLayout().value),s=a.getModel().get("itemStyle.color");s!=null?a.setVisual("color",s):a.setVisual("color",e)})}})}U.exports=T},DjyN:function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("Urep"),v=d.n(T),S=d("OaEy")},DlQD:function(U,P,d){(function(O,x){U.exports=x()})(this,function(){"use strict";function O(Tt,Ct){for(var Nt=0;NtTt.length)&&(Ct=Tt.length);for(var Nt=0,Be=new Array(Ct);Nt=Tt.length?{done:!0}:{done:!1,value:Tt[Be++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Nt=Tt[Symbol.iterator](),Nt.next.bind(Nt)}function m(Tt,Ct){return Ct={exports:{}},Tt(Ct,Ct.exports),Ct.exports}var f=m(function(Tt){function Ct(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function Nt(Be){Tt.exports.defaults=Be}Tt.exports={defaults:Ct(),getDefaults:Ct,changeDefaults:Nt}}),c=f.defaults,o=f.getDefaults,r=f.changeDefaults,a=/[&<>"']/,n=/[&<>"']/g,e=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},i=function(Ct){return t[Ct]};function l(Tt,Ct){if(Ct){if(a.test(Tt))return Tt.replace(n,i)}else if(e.test(Tt))return Tt.replace(s,i);return Tt}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(Tt){return Tt.replace(u,function(Ct,Nt){return Nt=Nt.toLowerCase(),Nt==="colon"?":":Nt.charAt(0)==="#"?Nt.charAt(1)==="x"?String.fromCharCode(parseInt(Nt.substring(2),16)):String.fromCharCode(+Nt.substring(1)):""})}var p=/(^|[^\[])\^/g;function g(Tt,Ct){Tt=Tt.source||Tt,Ct=Ct||"";var Nt={replace:function($,Z){return Z=Z.source||Z,Z=Z.replace(p,"$1"),Tt=Tt.replace($,Z),Nt},getRegex:function(){return new RegExp(Tt,Ct)}};return Nt}var A=/[^\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function E(Tt,Ct,Nt){if(Tt){var Be;try{Be=decodeURIComponent(h(Nt)).replace(A,"").toLowerCase()}catch($){return null}if(Be.indexOf("javascript:")===0||Be.indexOf("vbscript:")===0||Be.indexOf("data:")===0)return null}Ct&&!y.test(Nt)&&(Nt=_(Ct,Nt));try{Nt=encodeURI(Nt).replace(/%25/g,"%")}catch($){return null}return Nt}var C={},w=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(Tt,Ct){C[" "+Tt]||(w.test(Tt)?C[" "+Tt]=Tt+"/":C[" "+Tt]=R(Tt,"/",!0)),Tt=C[" "+Tt];var Nt=Tt.indexOf(":")===-1;return Ct.substring(0,2)==="//"?Nt?Ct:Tt.replace(b,"$1")+Ct:Ct.charAt(0)==="/"?Nt?Ct:Tt.replace(I,"$1")+Ct:Tt+Ct}var L={exec:function(){}};function D(Tt){for(var Ct=1,Nt,Be;Ct=0&&De[gt]==="\\";)ae=!ae;return ae?"|":" |"}),Be=Nt.split(/ \|/),$=0;if(Be.length>Ct)Be.splice(Ct);else for(;Be.length=Be.length?$.slice(Be.length):$}).join(` `)}var fe=function(){function Tt(Nt){this.options=Nt||F}var Ct=Tt.prototype;return Ct.space=function(Be){var $=this.rules.block.newline.exec(Be);if($)return $[0].length>1?{type:"space",raw:$[0]}:{raw:` `}},Ct.code=function(Be,$){var Z=this.rules.block.code.exec(Be);if(Z){var Re=$[$.length-1];if(Re&&Re.type==="paragraph")return{raw:Z[0],text:Z[0].trimRight()};var De=Z[0].replace(/^ {4}/gm,"");return{type:"code",raw:Z[0],codeBlockStyle:"indented",text:this.options.pedantic?De:K(De,` `)}}},Ct.fences=function(Be){var $=this.rules.block.fences.exec(Be);if($){var Z=$[0],Re=ee(Z,$[3]||"");return{type:"code",raw:Z,lang:$[2]?$[2].trim():$[2],text:Re}}},Ct.heading=function(Be){var $=this.rules.block.heading.exec(Be);if($)return{type:"heading",raw:$[0],depth:$[1].length,text:$[2]}},Ct.nptable=function(Be){var $=this.rules.block.nptable.exec(Be);if($){var Z={type:"table",header:j($[1].replace(/^ *| *\| *$/g,"")),align:$[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:$[3]?$[3].replace(/\n$/,"").split(` `):[],raw:$[0]};if(Z.header.length===Z.align.length){var Re=Z.align.length,De;for(De=0;De ?/gm,"");return{type:"blockquote",raw:$[0],text:Z}}},Ct.list=function(Be){var $=this.rules.block.list.exec(Be);if($){for(var Z=$[0],Re=$[2],De=Re.length>1,ae=Re[Re.length-1]===")",gt={type:"list",raw:Z,ordered:De,start:De?+Re.slice(0,-1):"",loose:!1,items:[]},jt=$[0].match(this.rules.block.item),ut=!1,rr,pr,nn,mr,vr,$t,Xt,ft=jt.length,Ur=0;Ur1||this.options.smartLists&&nn!==Re)&&(mr=jt.slice(Ur+1).join(` `),gt.raw=gt.raw.substring(0,gt.raw.length-mr.length),Ur=ft-1)),vr=ut||/\n\n(?!\s*$)/.test(rr),Ur!==ft-1&&(ut=rr.charAt(rr.length-1)===` `,vr||(vr=ut)),vr&&(gt.loose=!0),$t=/^\[[ xX]\] /.test(rr),Xt=void 0,$t&&(Xt=rr[1]!==" ",rr=rr.replace(/^\[[ xX]\] +/,"")),gt.items.push({type:"list_item",raw:Z,task:$t,checked:Xt,loose:vr,text:rr});return gt}},Ct.html=function(Be){var $=this.rules.block.html.exec(Be);if($)return{type:this.options.sanitize?"paragraph":"html",raw:$[0],pre:!this.options.sanitizer&&($[1]==="pre"||$[1]==="script"||$[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer($[0]):V($[0]):$[0]}},Ct.def=function(Be){var $=this.rules.block.def.exec(Be);if($){$[3]&&($[3]=$[3].substring(1,$[3].length-1));var Z=$[1].toLowerCase().replace(/\s+/g," ");return{tag:Z,raw:$[0],href:$[2],title:$[3]}}},Ct.table=function(Be){var $=this.rules.block.table.exec(Be);if($){var Z={type:"table",header:j($[1].replace(/^ *| *\| *$/g,"")),align:$[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:$[3]?$[3].replace(/\n$/,"").split(` `):[]};if(Z.header.length===Z.align.length){Z.raw=$[0];var Re=Z.align.length,De;for(De=0;De/i.test(Re[0])&&($=!1),!Z&&/^<(pre|code|kbd|script)(\s|>)/i.test(Re[0])?Z=!0:Z&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Re[0])&&(Z=!1),{type:this.options.sanitize?"text":"html",raw:Re[0],inLink:$,inRawBlock:Z,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Re[0]):V(Re[0]):Re[0]}},Ct.link=function(Be){var $=this.rules.inline.link.exec(Be);if($){var Z=z($[2],"()");if(Z>-1){var Re=$[0].indexOf("!")===0?5:4,De=Re+$[1].length+Z;$[2]=$[2].substring(0,Z),$[0]=$[0].substring(0,De).trim(),$[3]=""}var ae=$[2],gt="";if(this.options.pedantic){var jt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ae);jt?(ae=jt[1],gt=jt[3]):gt=""}else gt=$[3]?$[3].slice(1,-1):"";ae=ae.trim().replace(/^<([\s\S]*)>$/,"$1");var ut=Y($,{href:ae&&ae.replace(this.rules.inline._escapes,"$1"),title:gt&>.replace(this.rules.inline._escapes,"$1")},$[0]);return ut}},Ct.reflink=function(Be,$){var Z;if((Z=this.rules.inline.reflink.exec(Be))||(Z=this.rules.inline.nolink.exec(Be))){var Re=(Z[2]||Z[1]).replace(/\s+/g," ");if(Re=$[Re.toLowerCase()],!Re||!Re.href){var De=Z[0].charAt(0);return{type:"text",raw:De,text:De}}var ae=Y(Z,Re,Z[0]);return ae}},Ct.strong=function(Be,$,Z){Z===void 0&&(Z="");var Re=this.rules.inline.strong.start.exec(Be);if(Re&&(!Re[1]||Re[1]&&(Z===""||this.rules.inline.punctuation.exec(Z)))){$=$.slice(-1*Be.length);var De=Re[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;De.lastIndex=0;for(var ae;(Re=De.exec($))!=null;)if(ae=this.rules.inline.strong.middle.exec($.slice(0,Re.index+3)),ae)return{type:"strong",raw:Be.slice(0,ae[0].length),text:Be.slice(2,ae[0].length-2)}}},Ct.em=function(Be,$,Z){Z===void 0&&(Z="");var Re=this.rules.inline.em.start.exec(Be);if(Re&&(!Re[1]||Re[1]&&(Z===""||this.rules.inline.punctuation.exec(Z)))){$=$.slice(-1*Be.length);var De=Re[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;De.lastIndex=0;for(var ae;(Re=De.exec($))!=null;)if(ae=this.rules.inline.em.middle.exec($.slice(0,Re.index+2)),ae)return{type:"em",raw:Be.slice(0,ae[0].length),text:Be.slice(1,ae[0].length-1)}}},Ct.codespan=function(Be){var $=this.rules.inline.code.exec(Be);if($){var Z=$[2].replace(/\n/g," "),Re=/[^ ]/.test(Z),De=Z.startsWith(" ")&&Z.endsWith(" ");return Re&&De&&(Z=Z.substring(1,Z.length-1)),Z=V(Z,!0),{type:"codespan",raw:$[0],text:Z}}},Ct.br=function(Be){var $=this.rules.inline.br.exec(Be);if($)return{type:"br",raw:$[0]}},Ct.del=function(Be){var $=this.rules.inline.del.exec(Be);if($)return{type:"del",raw:$[0],text:$[1]}},Ct.autolink=function(Be,$){var Z=this.rules.inline.autolink.exec(Be);if(Z){var Re,De;return Z[2]==="@"?(Re=V(this.options.mangle?$(Z[1]):Z[1]),De="mailto:"+Re):(Re=V(Z[1]),De=Re),{type:"link",raw:Z[0],text:Re,href:De,tokens:[{type:"text",raw:Re,text:Re}]}}},Ct.url=function(Be,$){var Z;if(Z=this.rules.inline.url.exec(Be)){var Re,De;if(Z[2]==="@")Re=V(this.options.mangle?$(Z[0]):Z[0]),De="mailto:"+Re;else{var ae;do ae=Z[0],Z[0]=this.rules.inline._backpedal.exec(Z[0])[0];while(ae!==Z[0]);Re=V(Z[0]),Z[1]==="www."?De="http://"+Re:De=Re}return{type:"link",raw:Z[0],text:Re,href:De,tokens:[{type:"text",raw:Re,text:Re}]}}},Ct.inlineText=function(Be,$,Z){var Re=this.rules.inline.text.exec(Be);if(Re){var De;return $?De=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Re[0]):V(Re[0]):Re[0]:De=V(this.options.smartypants?Z(Re[0]):Re[0]),{type:"text",raw:Re[0],text:De}}},Tt}(),ie=H.noopTest,we=H.edit,Ce=H.merge,Le={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:ie,table:ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Le._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Le._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Le.def=we(Le.def).replace("label",Le._label).replace("title",Le._title).getRegex(),Le.bullet=/(?:[*+-]|\d{1,9}[.)])/,Le.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Le.item=we(Le.item,"gm").replace(/bull/g,Le.bullet).getRegex(),Le.list=we(Le.list).replace(/bull/g,Le.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Le.def.source+")").getRegex(),Le._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Le._comment=//,Le.html=we(Le.html,"i").replace("comment",Le._comment).replace("tag",Le._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Le.paragraph=we(Le._paragraph).replace("hr",Le.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Le._tag).getRegex(),Le.blockquote=we(Le.blockquote).replace("paragraph",Le.paragraph).getRegex(),Le.normal=Ce({},Le),Le.gfm=Ce({},Le.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Le.gfm.nptable=we(Le.gfm.nptable).replace("hr",Le.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Le._tag).getRegex(),Le.gfm.table=we(Le.gfm.table).replace("hr",Le.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",Le._tag).getRegex(),Le.pedantic=Ce({},Le.normal,{html:we(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Le._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:ie,paragraph:we(Le.normal._paragraph).replace("hr",Le.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",Le.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var He={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ie,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ie,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",He.punctuation=we(He.punctuation).replace(/punctuation/g,He._punctuation).getRegex(),He._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",He._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",He.em.start=we(He.em.start).replace(/punctuation/g,He._punctuation).getRegex(),He.em.middle=we(He.em.middle).replace(/punctuation/g,He._punctuation).replace(/overlapSkip/g,He._overlapSkip).getRegex(),He.em.endAst=we(He.em.endAst,"g").replace(/punctuation/g,He._punctuation).getRegex(),He.em.endUnd=we(He.em.endUnd,"g").replace(/punctuation/g,He._punctuation).getRegex(),He.strong.start=we(He.strong.start).replace(/punctuation/g,He._punctuation).getRegex(),He.strong.middle=we(He.strong.middle).replace(/punctuation/g,He._punctuation).replace(/blockSkip/g,He._blockSkip).getRegex(),He.strong.endAst=we(He.strong.endAst,"g").replace(/punctuation/g,He._punctuation).getRegex(),He.strong.endUnd=we(He.strong.endUnd,"g").replace(/punctuation/g,He._punctuation).getRegex(),He.blockSkip=we(He._blockSkip,"g").getRegex(),He.overlapSkip=we(He._overlapSkip,"g").getRegex(),He._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,He._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,He._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,He.autolink=we(He.autolink).replace("scheme",He._scheme).replace("email",He._email).getRegex(),He._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,He.tag=we(He.tag).replace("comment",Le._comment).replace("attribute",He._attribute).getRegex(),He._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,He._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,He._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,He.link=we(He.link).replace("label",He._label).replace("href",He._href).replace("title",He._title).getRegex(),He.reflink=we(He.reflink).replace("label",He._label).getRegex(),He.reflinkSearch=we(He.reflinkSearch,"g").replace("reflink",He.reflink).replace("nolink",He.nolink).getRegex(),He.normal=Ce({},He),He.pedantic=Ce({},He.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:we(/^!?\[(label)\]\((.*?)\)/).replace("label",He._label).getRegex(),reflink:we(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",He._label).getRegex()}),He.gfm=Ce({},He.normal,{escape:we(He.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(Be="x"+Be.toString(16)),Ct+="&#"+Be+";";return Ct}var G=function(){function Tt(Nt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Nt||Pe,this.options.tokenizer=this.options.tokenizer||new fe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Be={block:Q.normal,inline:me.normal};this.options.pedantic?(Be.block=Q.pedantic,Be.inline=me.pedantic):this.options.gfm&&(Be.block=Q.gfm,this.options.breaks?Be.inline=me.breaks:Be.inline=me.gfm),this.tokenizer.rules=Be}Tt.lex=function(Be,$){var Z=new Tt($);return Z.lex(Be)};var Ct=Tt.prototype;return Ct.lex=function(Be){return Be=Be.replace(/\r\n|\r/g,` `).replace(/\t/g," "),this.blockTokens(Be,this.tokens,!0),this.inline(this.tokens),this.tokens},Ct.blockTokens=function(Be,$,Z){$===void 0&&($=[]),Z===void 0&&(Z=!0),Be=Be.replace(/^ +$/gm,"");for(var Re,De,ae,gt;Be;){if(Re=this.tokenizer.space(Be)){Be=Be.substring(Re.raw.length),Re.type&&$.push(Re);continue}if(Re=this.tokenizer.code(Be,$)){Be=Be.substring(Re.raw.length),Re.type?$.push(Re):(gt=$[$.length-1],gt.raw+=` `+Re.raw,gt.text+=` `+Re.text);continue}if(Re=this.tokenizer.fences(Be)){Be=Be.substring(Re.raw.length),$.push(Re);continue}if(Re=this.tokenizer.heading(Be)){Be=Be.substring(Re.raw.length),$.push(Re);continue}if(Re=this.tokenizer.nptable(Be)){Be=Be.substring(Re.raw.length),$.push(Re);continue}if(Re=this.tokenizer.hr(Be)){Be=Be.substring(Re.raw.length),$.push(Re);continue}if(Re=this.tokenizer.blockquote(Be)){Be=Be.substring(Re.raw.length),Re.tokens=this.blockTokens(Re.text,[],Z),$.push(Re);continue}if(Re=this.tokenizer.list(Be)){for(Be=Be.substring(Re.raw.length),ae=Re.items.length,De=0;De0)for(;(jt=this.tokenizer.rules.inline.reflinkSearch.exec(gt))!=null;)ut.includes(jt[0].slice(jt[0].lastIndexOf("[")+1,-1))&&(gt=gt.slice(0,jt.index)+"["+"a".repeat(jt[0].length-2)+"]"+gt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(jt=this.tokenizer.rules.inline.blockSkip.exec(gt))!=null;)gt=gt.slice(0,jt.index)+"["+"a".repeat(jt[0].length-2)+"]"+gt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Be;){if(ae=this.tokenizer.escape(Be)){Be=Be.substring(ae.raw.length),$.push(ae);continue}if(ae=this.tokenizer.tag(Be,Z,Re)){Be=Be.substring(ae.raw.length),Z=ae.inLink,Re=ae.inRawBlock,$.push(ae);continue}if(ae=this.tokenizer.link(Be)){Be=Be.substring(ae.raw.length),ae.type==="link"&&(ae.tokens=this.inlineTokens(ae.text,[],!0,Re)),$.push(ae);continue}if(ae=this.tokenizer.reflink(Be,this.tokens.links)){Be=Be.substring(ae.raw.length),ae.type==="link"&&(ae.tokens=this.inlineTokens(ae.text,[],!0,Re)),$.push(ae);continue}if(ae=this.tokenizer.strong(Be,gt,De)){Be=Be.substring(ae.raw.length),ae.tokens=this.inlineTokens(ae.text,[],Z,Re),$.push(ae);continue}if(ae=this.tokenizer.em(Be,gt,De)){Be=Be.substring(ae.raw.length),ae.tokens=this.inlineTokens(ae.text,[],Z,Re),$.push(ae);continue}if(ae=this.tokenizer.codespan(Be)){Be=Be.substring(ae.raw.length),$.push(ae);continue}if(ae=this.tokenizer.br(Be)){Be=Be.substring(ae.raw.length),$.push(ae);continue}if(ae=this.tokenizer.del(Be)){Be=Be.substring(ae.raw.length),ae.tokens=this.inlineTokens(ae.text,[],Z,Re),$.push(ae);continue}if(ae=this.tokenizer.autolink(Be,re)){Be=Be.substring(ae.raw.length),$.push(ae);continue}if(!Z&&(ae=this.tokenizer.url(Be,re))){Be=Be.substring(ae.raw.length),$.push(ae);continue}if(ae=this.tokenizer.inlineText(Be,Re,Je)){Be=Be.substring(ae.raw.length),De=ae.raw.slice(-1),$.push(ae);continue}if(Be){var rr="Infinite loop on byte: "+Be.charCodeAt(0);if(this.options.silent){console.error(rr);break}else throw new Error(rr)}}return $},x(Tt,null,[{key:"rules",get:function(){return{block:Q,inline:me}}}]),Tt}(),X=f.defaults,J=H.cleanUrl,Ae=H.escape,he=function(){function Tt(Nt){this.options=Nt||X}var Ct=Tt.prototype;return Ct.code=function(Be,$,Z){var Re=($||"").match(/\S*/)[0];if(this.options.highlight){var De=this.options.highlight(Be,Re);De!=null&&De!==Be&&(Z=!0,Be=De)}return Re?'
'+(Z?Be:Ae(Be,!0))+`
`:"
"+(Z?Be:Ae(Be,!0))+`
`},Ct.blockquote=function(Be){return`
`+Be+`
`},Ct.html=function(Be){return Be},Ct.heading=function(Be,$,Z,Re){return this.options.headerIds?"'+Be+" `:""+Be+" `},Ct.hr=function(){return this.options.xhtml?`
`:`
`},Ct.list=function(Be,$,Z){var Re=$?"ol":"ul",De=$&&Z!==1?' start="'+Z+'"':"";return"<"+Re+De+`> `+Be+" `},Ct.listitem=function(Be){return"
  • "+Be+`
  • `},Ct.checkbox=function(Be){return" "},Ct.paragraph=function(Be){return"

    "+Be+`

    `},Ct.table=function(Be,$){return $&&($=""+$+""),` `+Be+` `+$+`
    `},Ct.tablerow=function(Be){return` `+Be+` `},Ct.tablecell=function(Be,$){var Z=$.header?"th":"td",Re=$.align?"<"+Z+' align="'+$.align+'">':"<"+Z+">";return Re+Be+" `},Ct.strong=function(Be){return""+Be+""},Ct.em=function(Be){return""+Be+""},Ct.codespan=function(Be){return""+Be+""},Ct.br=function(){return this.options.xhtml?"
    ":"
    "},Ct.del=function(Be){return""+Be+""},Ct.link=function(Be,$,Z){if(Be=J(this.options.sanitize,this.options.baseUrl,Be),Be===null)return Z;var Re='",Re},Ct.image=function(Be,$,Z){if(Be=J(this.options.sanitize,this.options.baseUrl,Be),Be===null)return Z;var Re=''+Z+'":">",Re},Ct.text=function(Be){return Be},Tt}(),Me=function(){function Tt(){}var Ct=Tt.prototype;return Ct.strong=function(Be){return Be},Ct.em=function(Be){return Be},Ct.codespan=function(Be){return Be},Ct.del=function(Be){return Be},Ct.html=function(Be){return Be},Ct.text=function(Be){return Be},Ct.link=function(Be,$,Z){return""+Z},Ct.image=function(Be,$,Z){return""+Z},Ct.br=function(){return""},Tt}(),Ie=function(){function Tt(){this.seen={}}var Ct=Tt.prototype;return Ct.slug=function(Be){var $=Be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty($)){var Z=$;do this.seen[Z]++,$=Z+"-"+this.seen[Z];while(this.seen.hasOwnProperty($))}return this.seen[$]=0,$},Tt}(),oe=f.defaults,pe=H.unescape,Oe=function(){function Tt(Nt){this.options=Nt||oe,this.options.renderer=this.options.renderer||new he,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Me,this.slugger=new Ie}Tt.parse=function(Be,$){var Z=new Tt($);return Z.parse(Be)};var Ct=Tt.prototype;return Ct.parse=function(Be,$){$===void 0&&($=!0);var Z="",Re,De,ae,gt,jt,ut,rr,pr,nn,mr,vr,$t,Xt,ft,Ur,yn,Dn,Un,wi=Be.length;for(Re=0;Re0&&Ur.tokens[0].type==="text"?(Ur.tokens[0].text=Un+" "+Ur.tokens[0].text,Ur.tokens[0].tokens&&Ur.tokens[0].tokens.length>0&&Ur.tokens[0].tokens[0].type==="text"&&(Ur.tokens[0].tokens[0].text=Un+" "+Ur.tokens[0].tokens[0].text)):Ur.tokens.unshift({type:"text",text:Un}):ft+=Un),ft+=this.parse(Ur.tokens,Xt),nn+=this.renderer.listitem(ft,Dn,yn);Z+=this.renderer.list(nn,vr,$t);continue}case"html":{Z+=this.renderer.html(mr.text);continue}case"paragraph":{Z+=this.renderer.paragraph(this.parseInline(mr.tokens));continue}case"text":{for(nn=mr.tokens?this.parseInline(mr.tokens):mr.text;Re+1An error occurred:

    "+et(ae.message+"",!0)+"
    ";throw ae}}dt.options=dt.setOptions=function(Tt){return Ye(dt.defaults,Tt),tt(dt.defaults),dt},dt.getDefaults=Te,dt.defaults=ze,dt.use=function(Tt){var Ct=Ye({},Tt);if(Tt.renderer&&function(){var Be=dt.defaults.renderer||new he,$=function(De){var ae=Be[De];Be[De]=function(){for(var gt=arguments.length,jt=new Array(gt),ut=0;ut=0;e--){if(!T(n[e]))continue;var s=n[e].split("="),t=unescape(s[0]),i=unescape(s[1]);a(i,t)}}function f(a,n){if(!a)return;v.cookie=escape(a)+"="+escape(n)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function c(a){if(!a||!r(a))return;v.cookie=escape(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){m(function(a,n){c(n)})}function r(a){return new RegExp("(?:^|;\\s*)"+escape(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(v.cookie)}},Ducp:function(U,P,d){var O=d("bYtY"),x=d("IwbS"),T=d("+TT/"),v=d("XpcN"),S=x.Group,m=["width","height"],f=["x","y"],c=v.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new S),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new S),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,a,n,e,s,t,i){var l=this;c.superCall(this,"renderInner",r,a,n,e,s,t,i);var u=this._controllerGroup,h=a.get("pageIconSize",!0);O.isArray(h)||(h=[h,h]),g("pagePrev",0);var p=a.getModel("pageTextStyle");u.add(new x.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),g("pageNext",1);function g(A,y){var E=A+"DataIndex",C=x.createIcon(a.get("pageIcons",!0)[a.getOrient().name][y],{onclick:O.bind(l._pageGo,l,E,a,e)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});C.name=A,u.add(C)}},layoutInner:function(r,a,n,e,s,t){var i=this.getSelectorGroup(),l=r.getOrient().index,u=m[l],h=f[l],p=m[1-l],g=f[1-l];s&&T.box("horizontal",i,r.get("selectorItemGap",!0));var A=r.get("selectorButtonGap",!0),y=i.getBoundingRect(),E=[-y.x,-y.y],C=O.clone(n);s&&(C[u]=n[u]-y[u]-A);var w=this._layoutContentAndController(r,e,C,l,u,p,g);if(s){if(t==="end")E[l]+=w[u]+A;else{var b=y[u]+A;E[l]-=b,w[h]-=b}w[u]+=y[u]+A,E[1-l]+=w[g]+w[p]/2-y[p]/2,w[p]=Math.max(w[p],y[p]),w[g]=Math.min(w[g],y[g]+E[1-l]),i.attr("position",E)}return w},_layoutContentAndController:function(r,a,n,e,s,t,i){var l=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup;T.box(r.get("orient"),l,r.get("itemGap"),e?n.width:null,e?null:n.height),T.box("horizontal",h,r.get("pageButtonItemGap",!0));var p=l.getBoundingRect(),g=h.getBoundingRect(),A=this._showController=p[s]>n[s],y=[-p.x,-p.y];a||(y[e]=l.position[e]);var E=[0,0],C=[-g.x,-g.y],w=O.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(A){var b=r.get("pageButtonPosition",!0);b==="end"?C[e]+=n[s]-g[s]:E[e]+=g[s]+w}C[1-e]+=p[t]/2-g[t]/2,l.attr("position",y),u.attr("position",E),h.attr("position",C);var I={x:0,y:0};if(I[s]=A?n[s]:p[s],I[t]=Math.max(p[t],g[t]),I[i]=Math.min(0,g[i]+C[1-e]),u.__rectSize=n[s],A){var _={x:0,y:0};_[s]=Math.max(n[s]-g[s]-w,0),_[t]=I[t],u.setClipPath(new x.Rect({shape:_})),u.__rectSize=_[s]}else h.eachChild(function(D){D.attr({invisible:!0,silent:!0})});var L=this._getPageInfo(r);return L.pageIndex!=null&&x.updateProps(l,{position:L.contentPosition},A?r:!1),this._updatePageInfoView(r,L),I},_pageGo:function(r,a,n){var e=this._getPageInfo(a)[r];e!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:e,legendId:a.id})},_updatePageInfoView:function(r,a){var n=this._controllerGroup;O.each(["pagePrev","pageNext"],function(u){var h=a[u+"DataIndex"]!=null,p=n.childOfName(u);p&&(p.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),p.cursor=h?"pointer":"default")});var e=n.childOfName("pageText"),s=r.get("pageFormatter"),t=a.pageIndex,i=t!=null?t+1:0,l=a.pageCount;e&&s&&e.setStyle("text",O.isString(s)?s.replace("{current}",i).replace("{total}",l):s({current:i,total:l}))},_getPageInfo:function(r){var a=r.get("scrollDataIndex",!0),n=this.getContentGroup(),e=this._containerGroup.__rectSize,s=r.getOrient().index,t=m[s],i=f[s],l=this._findTargetItemIndex(a),u=n.children(),h=u[l],p=u.length,g=p?1:0,A={contentPosition:n.position.slice(),pageCount:g,pageIndex:g-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return A;var y=I(h);A.contentPosition[s]=-y.s;for(var E=l+1,C=y,w=y,b=null;E<=p;++E)b=I(u[E]),(!b&&w.e>C.s+e||b&&!_(b,C.s))&&(w.i>C.i?C=w:C=b,C&&(A.pageNextDataIndex==null&&(A.pageNextDataIndex=C.i),++A.pageCount)),w=b;for(var E=l-1,C=y,w=y,b=null;E>=-1;--E)b=I(u[E]),(!b||!_(w,b.s))&&C.i=D&&L.s<=D+e}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var a,n=this.getContentGroup(),e;return n.eachChild(function(s,t){var i=s.__legendDataIndex;e==null&&i!=null&&(e=t),i===r&&(a=t)}),a!=null?a:e}}),o=c;U.exports=o},"E/ki":function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};P.default=O},E2g8:function(U,P,d){(function(O,x){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */(function(T,v){U.exports=v()})(this,function(){"use strict";function T(he){var Me=typeof he;return he!==null&&(Me==="object"||Me==="function")}function v(he){return typeof he=="function"}var S=void 0;Array.isArray?S=Array.isArray:S=function(Me){return Object.prototype.toString.call(Me)==="[object Array]"};var m=S,f=0,c=void 0,o=void 0,r=function(Me,Ie){y[f]=Me,y[f+1]=Ie,f+=2,f===2&&(o?o(E):w())};function a(he){o=he}function n(he){r=he}var e=typeof window!="undefined"?window:void 0,s=e||{},t=s.MutationObserver||s.WebKitMutationObserver,i=typeof self=="undefined"&&typeof O!="undefined"&&{}.toString.call(O)==="[object process]",l=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function u(){return function(){return O.nextTick(E)}}function h(){return typeof c!="undefined"?function(){c(E)}:A()}function p(){var he=0,Me=new t(E),Ie=document.createTextNode("");return Me.observe(Ie,{characterData:!0}),function(){Ie.data=he=++he%2}}function g(){var he=new MessageChannel;return he.port1.onmessage=E,function(){return he.port2.postMessage(0)}}function A(){var he=setTimeout;return function(){return he(E,1)}}var y=new Array(1e3);function E(){for(var he=0;he>>24)&16711935|(n[s]<<24|n[s]>>>8)&4278255360;var t=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],i=this._C=[n[2]<<16|n[2]>>>16,n[0]&4294901760|n[1]&65535,n[3]<<16|n[3]>>>16,n[1]&4294901760|n[2]&65535,n[0]<<16|n[0]>>>16,n[2]&4294901760|n[3]&65535,n[1]<<16|n[1]>>>16,n[3]&4294901760|n[0]&65535];this._b=0;for(var s=0;s<4;s++)r.call(this);for(var s=0;s<8;s++)i[s]^=t[s+4&7];if(e){var l=e.words,u=l[0],h=l[1],p=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,g=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,A=p>>>16|g&4294901760,y=g<<16|p&65535;i[0]^=p,i[1]^=A,i[2]^=g,i[3]^=y,i[4]^=p,i[5]^=A,i[6]^=g,i[7]^=y;for(var s=0;s<4;s++)r.call(this)}},_doProcessBlock:function(n,e){var s=this._X;r.call(this),m[0]=s[0]^s[5]>>>16^s[3]<<16,m[1]=s[2]^s[7]>>>16^s[5]<<16,m[2]=s[4]^s[1]>>>16^s[7]<<16,m[3]=s[6]^s[3]>>>16^s[1]<<16;for(var t=0;t<4;t++)m[t]=(m[t]<<8|m[t]>>>24)&16711935|(m[t]<<24|m[t]>>>8)&4278255360,n[e+t]^=m[t]},blockSize:128/32,ivSize:64/32});function r(){for(var a=this._X,n=this._C,e=0;e<8;e++)f[e]=n[e];n[0]=n[0]+1295307597+this._b|0,n[1]=n[1]+3545052371+(n[0]>>>0>>0?1:0)|0,n[2]=n[2]+886263092+(n[1]>>>0>>0?1:0)|0,n[3]=n[3]+1295307597+(n[2]>>>0>>0?1:0)|0,n[4]=n[4]+3545052371+(n[3]>>>0>>0?1:0)|0,n[5]=n[5]+886263092+(n[4]>>>0>>0?1:0)|0,n[6]=n[6]+1295307597+(n[5]>>>0>>0?1:0)|0,n[7]=n[7]+3545052371+(n[6]>>>0>>0?1:0)|0,this._b=n[7]>>>0>>0?1:0;for(var e=0;e<8;e++){var s=a[e]+n[e],t=s&65535,i=s>>>16,l=((t*t>>>17)+t*i>>>15)+i*i,u=((s&4294901760)*s|0)+((s&65535)*s|0);c[e]=l^u}a[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,a[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,a[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,a[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,a[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,a[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,a[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,a[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}x.Rabbit=v._createHelper(o)}(),O.Rabbit})},E9nw:function(U,P){U.exports=function(){var d=document.getSelection();if(!d.rangeCount)return function(){};for(var O=document.activeElement,x=[],T=0;T`,triples:"",explode:"[]{}"},T=O.Pos;O.defineOption("autoCloseBrackets",!1,function(t,i,l){l&&l!=O.Init&&(t.removeKeyMap(S),t.state.closeBrackets=null),i&&(m(v(i,"pairs")),t.state.closeBrackets=i,t.addKeyMap(S))});function v(t,i){return i=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[i]!=null?t[i]:x[i]}var S={Backspace:o,Enter:r};function m(t){for(var i=0;i=0;h--){var g=u[h].head;t.replaceRange("",T(g.line,g.ch-1),T(g.line,g.ch+1),"+delete")}}function r(t){var i=c(t),l=i&&v(i,"explode");if(!l||t.getOption("disableInput"))return O.Pass;for(var u=t.listSelections(),h=0;h0;return{anchor:new T(t.anchor.line,t.anchor.ch+(i?-1:1)),head:new T(t.head.line,t.head.ch+(i?1:-1))}}function n(t,i){var l=c(t);if(!l||t.getOption("disableInput"))return O.Pass;var u=v(l,"pairs"),h=u.indexOf(i);if(h==-1)return O.Pass;for(var p=v(l,"closeBefore"),g=v(l,"triples"),A=u.charAt(h+1)==i,y=t.listSelections(),E=h%2==0,C,w=0;w=0&&t.getRange(I,T(I.line,I.ch+3))==i+i+i?_="skipThree":_="skip";else if(A&&I.ch>1&&g.indexOf(i)>=0&&t.getRange(T(I.line,I.ch-2),I)==i+i){if(I.ch>2&&/\bstring/.test(t.getTokenTypeAt(T(I.line,I.ch-2))))return O.Pass;_="addFour"}else if(A){var D=I.ch==0?" ":t.getRange(T(I.line,I.ch-1),I);if(!O.isWordChar(L)&&D!=i&&!O.isWordChar(D))_="both";else return O.Pass}else if(E&&(L.length===0||/\s/.test(L)||p.indexOf(L)>-1))_="both";else return O.Pass;if(!C)C=_;else if(C!=_)return O.Pass}var N=h%2?u.charAt(h-1):i,R=h%2?i:u.charAt(h+1);t.operation(function(){if(C=="skip")t.execCommand("goCharRight");else if(C=="skipThree")for(var B=0;B<3;B++)t.execCommand("goCharRight");else if(C=="surround"){for(var M=t.getSelections(),B=0;B>>24)&16711935|(w<<24|w>>>8)&4278255360}var b=this._hash.words,I=n.words,_=e.words,L=c.words,D=o.words,N=r.words,R=a.words,B,M,H,F,K,j,V,z,Y,ee;j=B=b[0],V=M=b[1],z=H=b[2],Y=F=b[3],ee=K=b[4];for(var fe,E=0;E<80;E+=1)fe=B+A[y+L[E]]|0,E<16?fe+=t(M,H,F)+I[0]:E<32?fe+=i(M,H,F)+I[1]:E<48?fe+=l(M,H,F)+I[2]:E<64?fe+=u(M,H,F)+I[3]:fe+=h(M,H,F)+I[4],fe=fe|0,fe=p(fe,N[E]),fe=fe+K|0,B=K,K=F,F=p(H,10),H=M,M=fe,fe=j+A[y+D[E]]|0,E<16?fe+=h(V,z,Y)+_[0]:E<32?fe+=u(V,z,Y)+_[1]:E<48?fe+=l(V,z,Y)+_[2]:E<64?fe+=i(V,z,Y)+_[3]:fe+=t(V,z,Y)+_[4],fe=fe|0,fe=p(fe,R[E]),fe=fe+ee|0,j=ee,ee=Y,Y=p(z,10),z=V,V=fe;fe=b[1]+H+Y|0,b[1]=b[2]+F+ee|0,b[2]=b[3]+K+j|0,b[3]=b[4]+B+V|0,b[4]=b[0]+M+z|0,b[0]=fe},_doFinalize:function(){var A=this._data,y=A.words,E=this._nDataBytes*8,C=A.sigBytes*8;y[C>>>5]|=128<<24-C%32,y[(C+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,A.sigBytes=(y.length+1)*4,this._process();for(var w=this._hash,b=w.words,I=0;I<5;I++){var _=b[I];b[I]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return w},clone:function(){var A=m.clone.call(this);return A._hash=this._hash.clone(),A}});function t(g,A,y){return g^A^y}function i(g,A,y){return g&A|~g&y}function l(g,A,y){return(g|~A)^y}function u(g,A,y){return g&y|A&~y}function h(g,A,y){return g^(A|~y)}function p(g,A){return g<>>32-A}T.RIPEMD160=m._createHelper(s),T.HmacRIPEMD160=m._createHmacHelper(s)}(Math),O.RIPEMD160})},EMyp:function(U,P,d){var O=d("ProS"),x=d("bYtY"),T=d("mFDi"),v=d("K4ya"),S=d("qJCg"),m=d("iLNv"),f=d("vZ6x"),c=["inBrush","outOfBrush"],o="__ecBrushSelect",r="__ecInBrushSelectEvent",a=O.PRIORITY.VISUAL.BRUSH;O.registerLayout(a,function(g,A,y){g.eachComponent({mainType:"brush"},function(E){y&&y.type==="takeGlobalCursor"&&E.setBrushOption(y.key==="brush"?y.brushOption:{brushType:!1})}),n(g)});function n(g){g.eachComponent({mainType:"brush"},function(A){var y=A.brushTargetManager=new f(A.option,g);y.setInputRanges(A.areas,g)})}O.registerVisual(a,function(g,A,y){var E=[],C,w;g.eachComponent({mainType:"brush"},function(b,I){var _={brushId:b.id,brushIndex:I,brushName:b.name,areas:x.clone(b.areas),selected:[]};E.push(_);var L=b.option,D=L.brushLink,N=[],R=[],B=[],M=0;I||(C=L.throttleType,w=L.throttleDelay);var H=x.map(b.areas,function(Y){return u(x.defaults({boundingRect:h[Y.brushType](Y)},Y))}),F=v.createVisualMappings(b.option,c,function(Y){Y.mappingMethod="fixed"});x.isArray(D)&&x.each(D,function(Y){N[Y]=1});function K(Y){return D==="all"||N[Y]}function j(Y){return!!Y.length}g.eachSeries(function(Y,ee){var fe=B[ee]=[];Y.subType==="parallel"?V(Y,ee,fe):z(Y,ee,fe)});function V(Y,ee){var fe=Y.coordinateSystem;M|=fe.hasAxisBrushed(),K(ee)&&fe.eachActiveState(Y.getData(),function(ie,we){ie==="active"&&(R[we]=1)})}function z(Y,ee,fe){var ie=i(Y);if(!ie||l(b,ee))return;if(x.each(H,function(Ce){ie[Ce.brushType]&&b.brushTargetManager.controlSeries(Ce,Y,g)&&fe.push(Ce),M|=j(fe)}),K(ee)&&j(fe)){var we=Y.getData();we.each(function(Ce){t(ie,fe,we,Ce)&&(R[Ce]=1)})}}g.eachSeries(function(Y,ee){var fe={seriesId:Y.id,seriesIndex:ee,seriesName:Y.name,dataIndex:[]};_.selected.push(fe);var ie=i(Y),we=B[ee],Ce=Y.getData(),Le=K(ee)?function(He){return R[He]?(fe.dataIndex.push(Ce.getRawIndex(He)),"inBrush"):"outOfBrush"}:function(He){return t(ie,we,Ce,He)?(fe.dataIndex.push(Ce.getRawIndex(He)),"inBrush"):"outOfBrush"};(K(ee)?M:j(we))&&v.applyVisual(c,F,Ce,Le)})}),e(A,C,w,E,y)});function e(g,A,y,E,C){if(!C)return;var w=g.getZr();if(w[r])return;w[o]||(w[o]=s);var b=m.createOrUpdate(w,o,y,A);b(g,E)}function s(g,A){if(!g.isDisposed()){var y=g.getZr();y[r]=!0,g.dispatchAction({type:"brushSelect",batch:A}),y[r]=!1}}function t(g,A,y,E){for(var C=0,w=A.length;CA[0][1]&&(A[0][1]=w[0]),w[1]A[1][1]&&(A[1][1]=w[1])}return A&&p(A)}};function p(g){return new T(g[0][0],g[1][0],g[0][1]-g[0][0],g[1][1]-g[1][0])}P.layoutCovers=n},ERHi:function(U,P,d){var O=d("ProS");d("Z6js"),d("R4Th");var x=d("f5Yq"),T=d("h8O9");O.registerVisual(x("effectScatter","circle")),O.registerLayout(T("effectScatter"))},ETIr:function(U,P,d){(function(O,x){U.exports=P=x(d("Ib8C"))})(this,function(O){return function(){var x=O,T=x.lib,v=T.WordArray,S=x.enc,m=S.Base64={stringify:function(o){var r=o.words,a=o.sigBytes,n=this._map;o.clamp();for(var e=[],s=0;s>>2]>>>24-s%4*8&255,i=r[s+1>>>2]>>>24-(s+1)%4*8&255,l=r[s+2>>>2]>>>24-(s+2)%4*8&255,u=t<<16|i<<8|l,h=0;h<4&&s+h*.75>>6*(3-h)&63));var p=n.charAt(64);if(p)for(;e.length%4;)e.push(p);return e.join("")},parse:function(o){var r=o.length,a=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var e=0;e>>6-e%4*2,i=s|t;a[n>>>2]|=i<<24-n%4*8,n++}return v.create(a,n)}}(),O.enc.Base64})},EXcs:function(U,P,d){"use strict";var O=function(){return{height:0,opacity:0}},x=function(f){return{height:f.scrollHeight,opacity:1}},T=function(f){return{height:f.offsetHeight}},v=function(f,c){return c.propertyName==="height"},S={motionName:"ant-motion-collapse",onAppearStart:O,onEnterStart:O,onAppearActive:x,onEnterActive:x,onLeaveStart:T,onLeaveActive:O,onAppearEnd:v,onEnterEnd:v,onLeaveEnd:v,motionDeadline:500};P.a=S},Em2t:function(U,P,d){var O=d("bahg"),x=d("quyA"),T=d("0JQy");function v(S){return x(S)?T(S):O(S)}U.exports=v},Ez2D:function(U,P,d){var O=d("bYtY"),x=d("4NO4");function T(v,S){var m=[],f=v.seriesIndex,c;if(f==null||!(c=S.getSeriesByIndex(f)))return{point:[]};var o=c.getData(),r=x.queryDataIndex(o,v);if(r==null||r<0||O.isArray(r))return{point:[]};var a=o.getItemGraphicEl(r),n=c.coordinateSystem;if(c.getTooltipPosition)m=c.getTooltipPosition(r)||[];else if(n&&n.dataToPoint)m=n.dataToPoint(o.getValues(O.map(n.dimensions,function(s){return o.mapDimension(s)}),r,!0))||[];else if(a){var e=a.getBoundingRect().clone();e.applyTransform(a.transform),m=[e.x+e.width/2,e.y+e.height/2]}return{point:m,el:a}}U.exports=T},"F+F2":function(U,P,d){(function(O,x){U.exports=P=x(d("Ib8C"))})(this,function(O){return function(){if(typeof ArrayBuffer!="function")return;var x=O,T=x.lib,v=T.WordArray,S=v.init,m=v.init=function(f){if(f instanceof ArrayBuffer&&(f=new Uint8Array(f)),(f instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&f instanceof Uint8ClampedArray||f instanceof Int16Array||f instanceof Uint16Array||f instanceof Int32Array||f instanceof Uint32Array||f instanceof Float32Array||f instanceof Float64Array)&&(f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength)),f instanceof Uint8Array){for(var c=f.byteLength,o=[],r=0;r>>2]|=f[r]<<24-r%4*8;S.call(this,o,c)}else S.apply(this,arguments)};m.prototype=v}(),O.lib.WordArray})},F0hE:function(U,P,d){var O=d("ProS"),x=d("bYtY"),T=d("ca2m"),v=d("Qxkt"),S=d("ICMv"),m=T.valueAxis;function f(r,a){return x.defaults({show:a},r)}var c=O.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),a=this.get("splitNumber"),n=this.get("scale"),e=this.get("axisLine"),s=this.get("axisTick"),t=this.get("axisType"),i=this.get("axisLabel"),l=this.get("name"),u=this.get("name.show"),h=this.get("name.formatter"),p=this.get("nameGap"),g=this.get("triggerEvent"),A=x.map(this.get("indicator")||[],function(y){y.max!=null&&y.max>0&&!y.min?y.min=0:y.min!=null&&y.min<0&&!y.max&&(y.max=0);var E=l;if(y.color!=null&&(E=x.defaults({color:y.color},l)),y=x.merge(x.clone(y),{boundaryGap:r,splitNumber:a,scale:n,axisLine:e,axisTick:s,axisType:t,axisLabel:i,name:y.text,nameLocation:"end",nameGap:p,nameTextStyle:E,triggerEvent:g},!1),u||(y.name=""),typeof h=="string"){var C=y.name;y.name=h.replace("{value}",C!=null?C:"")}else typeof h=="function"&&(y.name=h(y.name,y));var w=x.extend(new v(y,null,this.ecModel),S);return w.mainType="radar",w.componentIndex=this.componentIndex,w},this);this.getIndicatorModels=function(){return A}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:x.merge({lineStyle:{color:"#bbb"}},m.axisLine),axisLabel:f(m.axisLabel,!1),axisTick:f(m.axisTick,!1),axisType:"interval",splitLine:f(m.splitLine,!0),splitArea:f(m.splitArea,!0),indicator:[]}}),o=c;U.exports=o},F5Ls:function(U,P){var d={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function O(x,T){if(x==="china"){var v=d[T.name];if(v){var S=T.center;S[0]+=v[0]/10.5,S[1]+=-v[1]/(10.5/.75)}}}U.exports=O},F7hV:function(U,P,d){var O=d("MBQ8"),x=O.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var T=this.get("progressiveThreshold"),v=this.get("largeThreshold");return v>T&&(T=v),T},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});U.exports=x},F9bG:function(U,P,d){var O=d("bYtY"),x=d("ItGF"),T=d("4NO4"),v=T.makeInner,S=v(),m=O.each;function f(s,t,i){if(x.node)return;var l=t.getZr();S(l).records||(S(l).records={}),c(l,t);var u=S(l).records[s]||(S(l).records[s]={});u.handler=i}function c(s,t){if(S(s).initialized)return;S(s).initialized=!0,i("click",O.curry(a,"click")),i("mousemove",O.curry(a,"mousemove")),i("globalout",r);function i(l,u){s.on(l,function(h){var p=n(t);m(S(s).records,function(g){g&&u(g,h,p.dispatchAction)}),o(p.pendings,t)})}}function o(s,t){var i=s.showTip.length,l=s.hideTip.length,u;i?u=s.showTip[i-1]:l&&(u=s.hideTip[l-1]),u&&(u.dispatchAction=null,t.dispatchAction(u))}function r(s,t,i){s.handler("leave",null,i)}function a(s,t,i,l){t.handler(s,i,l)}function n(s){var t={showTip:[],hideTip:[]},i=function(l){var u=t[l.type];u?u.push(l):(l.dispatchAction=i,s.dispatchAction(l))};return{dispatchAction:i,pendings:t}}function e(s,t){if(x.node)return;var i=t.getZr(),l=(S(i).records||{})[s];l&&(S(i).records[s]=null)}P.register=f,P.unregister=e},FBjb:function(U,P,d){var O=d("bYtY"),x=d("oVpE"),T=x.createSymbol,v=d("IwbS"),S=d("OELB"),m=S.parsePercent,f=d("x3X8"),c=f.getDefaultLabel;function o(p,g,A){v.Group.call(this),this.updateData(p,g,A)}var r=o.prototype,a=o.getSymbolSize=function(p,g){var A=p.getItemVisual(g,"symbolSize");return A instanceof Array?A.slice():[+A,+A]};function n(p){return[p[0]/2,p[1]/2]}function e(p,g){this.parent.drift(p,g)}r._createSymbol=function(p,g,A,y,E){this.removeAll();var C=g.getItemVisual(A,"color"),w=T(p,-1,-1,2,2,C,E);w.attr({z2:100,culling:!0,scale:n(y)}),w.drift=e,this._symbolType=p,this.add(w)},r.stopSymbolAnimation=function(p){this.childAt(0).stopAnimation(p)},r.getSymbolPath=function(){return this.childAt(0)},r.getScale=function(){return this.childAt(0).scale},r.highlight=function(){this.childAt(0).trigger("emphasis")},r.downplay=function(){this.childAt(0).trigger("normal")},r.setZ=function(p,g){var A=this.childAt(0);A.zlevel=p,A.z=g},r.setDraggable=function(p){var g=this.childAt(0);g.draggable=p,g.cursor=p?"move":g.cursor},r.updateData=function(p,g,A){this.silent=!1;var y=p.getItemVisual(g,"symbol")||"circle",E=p.hostModel,C=a(p,g),w=y!==this._symbolType;if(w){var b=p.getItemVisual(g,"symbolKeepAspect");this._createSymbol(y,p,g,C,b)}else{var I=this.childAt(0);I.silent=!1,v.updateProps(I,{scale:n(C)},E,g)}if(this._updateCommon(p,g,C,A),w){var I=this.childAt(0),_=A&&A.fadeIn,L={scale:I.scale.slice()};_&&(L.style={opacity:I.style.opacity}),I.scale=[0,0],_&&(I.style.opacity=0),v.initProps(I,L,E,g)}this._seriesModel=E};var s=["itemStyle"],t=["emphasis","itemStyle"],i=["label"],l=["emphasis","label"];r._updateCommon=function(p,g,A,y){var E=this.childAt(0),C=p.hostModel,w=p.getItemVisual(g,"color");E.type!=="image"?E.useStyle({strokeNoScale:!0}):E.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var b=y&&y.itemStyle,I=y&&y.hoverItemStyle,_=y&&y.symbolOffset,L=y&&y.labelModel,D=y&&y.hoverLabelModel,N=y&&y.hoverAnimation,R=y&&y.cursorStyle;if(!y||p.hasItemOption){var B=y&&y.itemModel?y.itemModel:p.getItemModel(g);b=B.getModel(s).getItemStyle(["color"]),I=B.getModel(t).getItemStyle(),_=B.getShallow("symbolOffset"),L=B.getModel(i),D=B.getModel(l),N=B.getShallow("hoverAnimation"),R=B.getShallow("cursor")}else I=O.extend({},I);var M=E.style,H=p.getItemVisual(g,"symbolRotate");E.attr("rotation",(H||0)*Math.PI/180||0),_&&E.attr("position",[m(_[0],A[0]),m(_[1],A[1])]),R&&E.attr("cursor",R),E.setColor(w,y&&y.symbolInnerColor),E.setStyle(b);var F=p.getItemVisual(g,"opacity");F!=null&&(M.opacity=F);var K=p.getItemVisual(g,"liftZ"),j=E.__z2Origin;K!=null?j==null&&(E.__z2Origin=E.z2,E.z2+=K):j!=null&&(E.z2=j,E.__z2Origin=null);var V=y&&y.useNameLabel;v.setLabelStyle(M,I,L,D,{labelFetcher:C,labelDataIndex:g,defaultText:z,isRectText:!0,autoColor:w});function z(Y,ee){return V?p.getName(Y):c(p,Y)}E.__symbolOriginalScale=n(A),E.hoverStyle=I,E.highDownOnUpdate=N&&C.isAnimationEnabled()?u:null,v.setHoverStyle(E)};function u(p,g){if(this.incremental||this.useHoverLayer)return;if(g==="emphasis"){var A=this.__symbolOriginalScale,y=A[1]/A[0],E={scale:[Math.max(A[0]*1.1,A[0]+3),Math.max(A[1]*1.1,A[1]+3*y)]};this.animateTo(E,400,"elasticOut")}else g==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(p,g){var A=this.childAt(0);this.silent=A.silent=!0,!(g&&g.keepLabel)&&(A.style.text=null),v.updateProps(A,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,p)},O.inherits(o,v.Group);var h=o;U.exports=h},FGaS:function(U,P,d){var O=d("ProS"),x=d("IwbS"),T=d("bYtY"),v=d("oVpE");function S(f){return T.isArray(f)||(f=[+f,+f]),f}var m=O.extendChartView({type:"radar",render:function(f,c,o){var r=f.coordinateSystem,a=this.group,n=f.getData(),e=this._data;function s(l,u){var h=l.getItemVisual(u,"symbol")||"circle",p=l.getItemVisual(u,"color");if(h==="none")return;var g=S(l.getItemVisual(u,"symbolSize")),A=v.createSymbol(h,-1,-1,2,2,p);return A.attr({style:{strokeNoScale:!0},z2:100,scale:[g[0]/2,g[1]/2]}),A}function t(l,u,h,p,g,A){h.removeAll();for(var y=0;y=48&&i.keyCode<=57)l=i.keyCode;else if(i.keyCode>=65&&i.keyCode<=90){var h=String.fromCharCode(i.keyCode);i.shiftKey?h=h.toUpperCase():h=h.toLowerCase(),l=h.charCodeAt()}else l=0;this._sendKeyEvent(l,u,!0)}},{key:"_handleKeyUp",value:function(i){(0,T.stopEvent)(i);var l=this._getKeyCode(i);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(S.default.XK_Control_L,"ControlLeft",!0)),(m.isMac()||m.isIOS())&&l==="CapsLock"){this._sendKeyEvent(S.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(S.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[l],l,!1),m.isWindows()&&(l==="ShiftLeft"||l==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(S.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){x.Debug(">> Keyboard.allKeysUp");for(var i in this._keyDownList)this._sendKeyEvent(this._keyDownList[i],i,!1);x.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(i){if(i.skipCheckAlt)return;if(i.altKey)return;var l=this._target,u=this._keyDownList;["AltLeft","AltRight"].forEach(function(h){if(!(h in u))return;var p=new KeyboardEvent("keyup",{key:u[h],code:h});p.skipCheckAlt=!0,l.dispatchEvent(p)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),m.isWindows()&&m.isFirefox()){var i=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(l){return document.addEventListener(l,i,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(m.isWindows()&&m.isFirefox()){var i=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(l){return document.removeEventListener(l,i)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),s}();P.default=e},FxDU:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createSensor=void 0;var O=d("QO+J"),x=d("j5sG"),T=typeof ResizeObserver!="undefined"?x.createSensor:O.createSensor;P.createSensor=T},GGyF:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("wgjA")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="LeftOutlined";var c=v.forwardRef(f);P.default=c},GIiI:function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="PoweroffOutlined";var f=P.a=x.forwardRef(m)},GMDS:function(U,P,d){var O=d("bYtY"),x=d("4NgU"),T=d("jkPA"),v=x.prototype,S=x.extend({type:"ordinal",init:function(f,c){(!f||O.isArray(f))&&(f=new T({categories:f})),this._ordinalMeta=f,this._extent=c||[0,f.categories.length-1]},parse:function(f){return typeof f=="string"?this._ordinalMeta.getOrdinal(f):Math.round(f)},contain:function(f){return f=this.parse(f),v.contain.call(this,f)&&this._ordinalMeta.categories[f]!=null},normalize:function(f){return v.normalize.call(this,this.parse(f))},scale:function(f){return Math.round(v.scale.call(this,f))},getTicks:function(){for(var f=[],c=this._extent,o=c[0];o<=c[1];)f.push(o),o++;return f},getLabel:function(f){if(!this.isBlank())return this._ordinalMeta.categories[f]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(f,c){this.unionExtent(f.getApproximateExtent(c))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:O.noop,niceExtent:O.noop});S.create=function(){return new S};var m=S;U.exports=m},GQ8N:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.toUnsigned32bit=O,P.toSigned32bit=x;function O(T){return T>>>0}function x(T){return T|0}},GRuw:function(U,P,d){(function(O,x,T){U.exports=P=x(d("Ib8C"),d("lPiR"))})(this,function(O){return function(){var x=O,T=x.lib,v=T.WordArray,S=x.algo,m=S.SHA256,f=S.SHA224=m.extend({_doReset:function(){this._hash=new v.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=m._doFinalize.call(this);return o.sigBytes-=4,o}});x.SHA224=m._createHelper(f),x.HmacSHA224=m._createHmacHelper(f)}(),O.SHA224})},GUcZ:function(U,P,d){"use strict";var O=d("fWQN"),x=d("mtLc"),T=function(){function Gt(){Object(O.a)(this,Gt)}return Object(x.a)(Gt,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(ue,Ee){return ue.__proto__=Ee,ue},Object.assign=Object.assign||function(ue){if(ue==null)throw new TypeError("Cannot convert undefined or null to object");for(var Ee=Object(ue),je=1;je ").concat(Ee);if(Gt.ENABLE_CALLBACK&&Gt.emitter.emit("log","error",je),!Gt.ENABLE_ERROR)return;console.error?console.error(je):console.warn?console.warn(je):console.log(je)}},{key:"i",value:function(ue,Ee){(!ue||Gt.FORCE_GLOBAL_TAG)&&(ue=Gt.GLOBAL_TAG);var je="[".concat(ue,"] > ").concat(Ee);if(Gt.ENABLE_CALLBACK&&Gt.emitter.emit("log","info",je),!Gt.ENABLE_INFO)return;console.info?console.info(je):console.log(je)}},{key:"w",value:function(ue,Ee){(!ue||Gt.FORCE_GLOBAL_TAG)&&(ue=Gt.GLOBAL_TAG);var je="[".concat(ue,"] > ").concat(Ee);if(Gt.ENABLE_CALLBACK&&Gt.emitter.emit("log","warn",je),!Gt.ENABLE_WARN)return;console.warn?console.warn(je):console.log(je)}},{key:"d",value:function(ue,Ee){(!ue||Gt.FORCE_GLOBAL_TAG)&&(ue=Gt.GLOBAL_TAG);var je="[".concat(ue,"] > ").concat(Ee);if(Gt.ENABLE_CALLBACK&&Gt.emitter.emit("log","debug",je),!Gt.ENABLE_DEBUG)return;console.debug?console.debug(je):console.log(je)}},{key:"v",value:function(ue,Ee){(!ue||Gt.FORCE_GLOBAL_TAG)&&(ue=Gt.GLOBAL_TAG);var je="[".concat(ue,"] > ").concat(Ee);if(Gt.ENABLE_CALLBACK&&Gt.emitter.emit("log","verbose",je),!Gt.ENABLE_VERBOSE)return;console.log(je)}}]),Gt}();f.GLOBAL_TAG="flv.js",f.FORCE_GLOBAL_TAG=!1,f.ENABLE_ERROR=!0,f.ENABLE_INFO=!0,f.ENABLE_WARN=!0,f.ENABLE_DEBUG=!0,f.ENABLE_VERBOSE=!0,f.ENABLE_CALLBACK=!1,f.emitter=new m.a;var c=f,o=function(){function Gt(){Object(O.a)(this,Gt),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(x.a)(Gt,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(ue){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=ue,this._totalBytes+=ue):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=ue,this._totalBytes+=ue):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=ue,this._totalBytes+=ue,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var ue=(this._now()-this._lastCheckpoint)/1e3;return ue==0&&(ue=1),this._intervalBytes/ue/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var ue=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/ue/1024}}]),Gt}(),r=o,a=d("yKVA"),n=d("879j"),e=function(){function Gt(st){Object(O.a)(this,Gt),this._message=st}return Object(x.a)(Gt,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),Gt}(),s=function(Gt){Object(a.a)(ue,Gt);var st=Object(n.a)(ue);function ue(Ee){return Object(O.a)(this,ue),st.call(this,Ee)}return Object(x.a)(ue,[{key:"name",get:function(){return"IllegalStateException"}}]),ue}(e),t=function(Gt){Object(a.a)(ue,Gt);var st=Object(n.a)(ue);function ue(Ee){return Object(O.a)(this,ue),st.call(this,Ee)}return Object(x.a)(ue,[{key:"name",get:function(){return"InvalidArgumentException"}}]),ue}(e),i=function(Gt){Object(a.a)(ue,Gt);var st=Object(n.a)(ue);function ue(Ee){return Object(O.a)(this,ue),st.call(this,Ee)}return Object(x.a)(ue,[{key:"name",get:function(){return"NotImplementedException"}}]),ue}(e),l={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},u={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},h=function(){function Gt(st){Object(O.a)(this,Gt),this._type=st||"undefined",this._status=l.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(x.a)(Gt,[{key:"destroy",value:function(){this._status=l.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===l.kConnecting||this._status===l.kBuffering}},{key:"open",value:function(ue,Ee){throw new i("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new i("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(ue){this._onContentLengthKnown=ue}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(ue){this._onURLRedirect=ue}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(ue){this._onDataArrival=ue}},{key:"onError",get:function(){return this._onError},set:function(ue){this._onError=ue}},{key:"onComplete",get:function(){return this._onComplete},set:function(ue){this._onComplete=ue}}]),Gt}(),p=d("oZsa");function g(Gt,st){for(;!Object.prototype.hasOwnProperty.call(Gt,st)&&!(Gt=Object(p.a)(Gt),Gt===null););return Gt}function A(Gt,st,ue){return typeof Reflect!="undefined"&&Reflect.get?A=Reflect.get:A=function(je,Ve,$e){var wt=g(je,Ve);if(!wt)return;var qt=Object.getOwnPropertyDescriptor(wt,Ve);return qt.get?qt.get.call($e):qt.value},A(Gt,st,ue||Gt)}var y={};function E(){var Gt=self.navigator.userAgent.toLowerCase(),st=/(edge)\/([\w.]+)/.exec(Gt)||/(opr)[\/]([\w.]+)/.exec(Gt)||/(chrome)[ \/]([\w.]+)/.exec(Gt)||/(iemobile)[\/]([\w.]+)/.exec(Gt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Gt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Gt)||/(webkit)[ \/]([\w.]+)/.exec(Gt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Gt)||/(msie) ([\w.]+)/.exec(Gt)||Gt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Gt)||Gt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Gt)||[],ue=/(ipad)/.exec(Gt)||/(ipod)/.exec(Gt)||/(windows phone)/.exec(Gt)||/(iphone)/.exec(Gt)||/(kindle)/.exec(Gt)||/(android)/.exec(Gt)||/(windows)/.exec(Gt)||/(mac)/.exec(Gt)||/(linux)/.exec(Gt)||/(cros)/.exec(Gt)||[],Ee={browser:st[5]||st[3]||st[1]||"",version:st[2]||st[4]||"0",majorVersion:st[4]||st[2]||"0",platform:ue[0]||""},je={};if(Ee.browser){je[Ee.browser]=!0;var Ve=Ee.majorVersion.split(".");je.version={major:parseInt(Ee.majorVersion,10),string:Ee.version},Ve.length>1&&(je.version.minor=parseInt(Ve[1],10)),Ve.length>2&&(je.version.build=parseInt(Ve[2],10))}if(Ee.platform&&(je[Ee.platform]=!0),(je.chrome||je.opr||je.safari)&&(je.webkit=!0),je.rv||je.iemobile){je.rv&&delete je.rv;var $e="msie";Ee.browser=$e,je[$e]=!0}if(je.edge){delete je.edge;var wt="msedge";Ee.browser=wt,je[wt]=!0}if(je.opr){var qt="opera";Ee.browser=qt,je[qt]=!0}if(je.safari&&je.android){var Mr="android";Ee.browser=Mr,je[Mr]=!0}je.name=Ee.browser,je.platform=Ee.platform;for(var an in y)y.hasOwnProperty(an)&&delete y[an];Object.assign(y,je)}E();var C=y,w=function(Gt){Object(a.a)(ue,Gt);var st=Object(n.a)(ue);Object(x.a)(ue,null,[{key:"isSupported",value:function(){try{var je=C.msedge&&C.version.minor>=15048,Ve=C.msedge?je:!0;return self.fetch&&self.ReadableStream&&Ve}catch($e){return!1}}}]);function ue(Ee,je){var Ve;return Object(O.a)(this,ue),Ve=st.call(this,"fetch-stream-loader"),Ve.TAG="FetchStreamLoader",Ve._seekHandler=Ee,Ve._config=je,Ve._needStash=!0,Ve._requestAbort=!1,Ve._contentLength=null,Ve._receivedLength=0,Ve}return Object(x.a)(ue,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),A(Object(p.a)(ue.prototype),"destroy",this).call(this)}},{key:"open",value:function(je,Ve){var $e=this;this._dataSource=je,this._range=Ve;var wt=je.url;this._config.reuseRedirectedURL&&je.redirectedURL!=null&&(wt=je.redirectedURL);var qt=this._seekHandler.getConfig(wt,Ve),Mr=new self.Headers;if(typeof qt.headers=="object"){var an=qt.headers;for(var _t in an)an.hasOwnProperty(_t)&&Mr.append(_t,an[_t])}var at={method:"GET",headers:Mr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var bt in this._config.headers)Mr.append(bt,this._config.headers[bt]);je.cors===!1&&(at.mode="same-origin"),je.withCredentials&&(at.credentials="include"),je.referrerPolicy&&(at.referrerPolicy=je.referrerPolicy),this._status=l.kConnecting,self.fetch(qt.url,at).then(function(kt){if($e._requestAbort){$e._requestAbort=!1,$e._status=l.kIdle;return}if(kt.ok&&kt.status>=200&&kt.status<=299){if(kt.url!==qt.url&&$e._onURLRedirect){var Pt=$e._seekHandler.removeURLParameters(kt.url);$e._onURLRedirect(Pt)}var Et=kt.headers.get("Content-Length");return Et!=null&&($e._contentLength=parseInt(Et),$e._contentLength!==0&&($e._onContentLengthKnown&&$e._onContentLengthKnown($e._contentLength))),$e._pump.call($e,kt.body.getReader())}else if($e._status=l.kError,$e._onError)$e._onError(u.HTTP_STATUS_CODE_INVALID,{code:kt.status,msg:kt.statusText});else throw new e("FetchStreamLoader: Http code invalid, "+kt.status+" "+kt.statusText)}).catch(function(kt){if($e._status=l.kError,$e._onError)$e._onError(u.EXCEPTION,{code:-1,msg:kt.message});else throw kt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(je){var Ve=this;return je.read().then(function($e){if($e.done)if(Ve._contentLength!==null&&Ve._receivedLength299))if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:Ve.status,msg:Ve.statusText});else throw new e("MozChunkedLoader: Http code invalid, "+Ve.status+" "+Ve.statusText);else this._status=l.kBuffering}}},{key:"_onProgress",value:function(je){if(this._status===l.kError)return;this._contentLength===null&&(je.total!==null&&je.total!==0&&(this._contentLength=je.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Ve=je.target.response,$e=this._range.from+this._receivedLength;this._receivedLength+=Ve.byteLength,this._onDataArrival&&this._onDataArrival(Ve,$e,this._receivedLength)}},{key:"_onLoadEnd",value:function(je){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===l.kError)return;this._status=l.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(je){this._status=l.kError;var Ve=0,$e=null;if(this._contentLength&&je.loaded=200&&Ve.status<=299){if(this._status=l.kBuffering,Ve.responseURL!=null){var $e=this._seekHandler.removeURLParameters(Ve.responseURL);Ve.responseURL!==this._currentRequestURL&&$e!==this._currentRedirectedURL&&(this._currentRedirectedURL=$e,this._onURLRedirect&&this._onURLRedirect($e))}var wt=Ve.getResponseHeader("Content-Length");if(wt!=null&&this._contentLength==null){var qt=parseInt(wt);qt>0&&(this._contentLength=qt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:Ve.status,msg:Ve.statusText});else throw new e("MSStreamLoader: Http code invalid, "+Ve.status+" "+Ve.statusText);else if(Ve.readyState===3&&(Ve.status>=200&&Ve.status<=299)){this._status=l.kBuffering;var Mr=Ve.response;this._reader.readAsArrayBuffer(Mr)}}},{key:"_xhrOnError",value:function(je){this._status=l.kError;var Ve=u.EXCEPTION,$e={code:-1,msg:je.constructor.name+" "+je.type};if(this._onError)this._onError(Ve,$e);else throw new e($e.msg)}},{key:"_msrOnProgress",value:function(je){var Ve=je.target,$e=Ve.result;if($e==null){this._doReconnectIfNeeded();return}var wt=$e.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=$e.byteLength;var qt=this._totalRange.from+this._receivedLength;this._receivedLength+=wt.byteLength,this._onDataArrival&&this._onDataArrival(wt,qt,this._receivedLength),$e.byteLength>=this._bufferLimit&&(c.v(this.TAG,"MSStream buffer exceeded max size near ".concat(qt+wt.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength=this._contentLength&&($e=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Ve,to:$e},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(je,Ve){this._lastTimeLoaded=0;var $e=je.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$e=this._currentRedirectedURL:je.redirectedURL!=null&&($e=je.redirectedURL));var wt=this._seekHandler.getConfig($e,Ve);this._currentRequestURL=wt.url;var qt=this._xhr=new XMLHttpRequest;if(qt.open("GET",wt.url,!0),qt.responseType="arraybuffer",qt.onreadystatechange=this._onReadyStateChange.bind(this),qt.onprogress=this._onProgress.bind(this),qt.onload=this._onLoad.bind(this),qt.onerror=this._onXhrError.bind(this),je.withCredentials&&(qt.withCredentials=!0),typeof wt.headers=="object"){var Mr=wt.headers;for(var an in Mr)Mr.hasOwnProperty(an)&&qt.setRequestHeader(an,Mr[an])}if(typeof this._config.headers=="object"){var _t=this._config.headers;for(var at in _t)_t.hasOwnProperty(at)&&qt.setRequestHeader(at,_t[at])}qt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=l.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(je){var Ve=je.target;if(Ve.readyState===2){if(Ve.responseURL!=null){var $e=this._seekHandler.removeURLParameters(Ve.responseURL);Ve.responseURL!==this._currentRequestURL&&$e!==this._currentRedirectedURL&&(this._currentRedirectedURL=$e,this._onURLRedirect&&this._onURLRedirect($e))}if(Ve.status>=200&&Ve.status<=299){if(this._waitForTotalLength)return;this._status=l.kBuffering}else if(this._status=l.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:Ve.status,msg:Ve.statusText});else throw new e("RangeLoader: Http code invalid, "+Ve.status+" "+Ve.statusText)}}},{key:"_onProgress",value:function(je){if(this._status===l.kError)return;if(this._contentLength===null){var Ve=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Ve=!0;var $e=je.total;this._internalAbort(),$e!=null&$e!==0&&(this._totalLength=$e)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Ve){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var wt=je.loaded-this._lastTimeLoaded;this._lastTimeLoaded=je.loaded,this._speedSampler.addBytes(wt)}},{key:"_normalizeSpeed",value:function(je){var Ve=this._chunkSizeKBList,$e=Ve.length-1,wt=0,qt=0,Mr=$e;if(je=Ve[wt]&&je=3&&(Ve=this._speedSampler.currentKBps)),Ve!==0){var $e=this._normalizeSpeed(Ve);this._currentSpeedNormalized!==$e&&(this._currentSpeedNormalized=$e,this._currentChunkSizeKB=$e)}var wt=je.target.response,qt=this._range.from+this._receivedLength;this._receivedLength+=wt.byteLength;var Mr=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength0)for(var wt=je.split("&"),qt=0;qt0;Mr[0]!==this._startName&&Mr[0]!==this._endName&&(an&&($e+="&"),$e+=wt[qt])}return $e.length===0?Ee:Ee+"?"+$e}}]),Gt}(),j=K,V=function(){function Gt(st,ue,Ee){Object(O.a)(this,Gt),this.TAG="IOController",this._config=ue,this._extraData=Ee,this._stashInitialSize=1024*384,ue.stashInitialSize!=null&&ue.stashInitialSize>0&&(this._stashInitialSize=ue.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,ue.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=st,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(st.url),this._refTotalLength=st.filesize?st.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(x.a)(Gt,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var ue=this._config;if(ue.seekType==="range")this._seekHandler=new F(this._config.rangeLoadZeroStart);else if(ue.seekType==="param"){var Ee=ue.seekParamStart||"bstart",je=ue.seekParamEnd||"bend";this._seekHandler=new j(Ee,je)}else if(ue.seekType==="custom"){if(typeof ue.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new ue.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(ue.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=M;else if(b.isSupported())this._loaderClass=b;else if(_.isSupported())this._loaderClass=_;else if(R.isSupported())this._loaderClass=R;else throw new e("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(ue){this._currentRange={from:0,to:-1},ue&&(this._currentRange.from=ue),this._speedSampler.reset(),ue||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var ue=this._resumeFrom;this._resumeFrom=0,this._internalSeek(ue,!0)}}},{key:"seek",value:function(ue){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(ue,!0)}},{key:"_internalSeek",value:function(ue,Ee){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Ee),this._loader.destroy(),this._loader=null;var je={from:ue,to:-1};this._currentRange={from:je.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,je),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(ue){if(!ue||typeof ue!="string"||ue.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=ue}},{key:"_expandBuffer",value:function(ue){for(var Ee=this._stashSize;Ee+1024*1024*10){var Ve=new Uint8Array(this._stashBuffer,0,this._stashUsed),$e=new Uint8Array(je,0,Ee);$e.set(Ve,0)}this._stashBuffer=je,this._bufferSize=Ee}},{key:"_normalizeSpeed",value:function(ue){var Ee=this._speedNormalizeList,je=Ee.length-1,Ve=0,$e=0,wt=je;if(ue=Ee[Ve]&&ue=512&&ue<=1024?Ee=Math.floor(ue*1.5):Ee=ue*2,Ee>8192&&(Ee=8192);var je=Ee*1024+1024*1024*1;this._bufferSize0){var Pt=this._stashBuffer.slice(0,this._stashUsed),Et=this._dispatchChunks(Pt,this._stashByteStart);if(Et0){var Ht=new Uint8Array(Pt,Et);kt.set(Ht,0),this._stashUsed=Ht.byteLength,this._stashByteStart+=Et}}else this._stashUsed=0,this._stashByteStart+=Et;this._stashUsed+ue.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+ue.byteLength),kt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),kt.set(new Uint8Array(ue),this._stashUsed),this._stashUsed+=ue.byteLength}else{var ot=this._dispatchChunks(ue,Ee);if(otthis._bufferSize&&(this._expandBuffer(Mt),kt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),kt.set(new Uint8Array(ue,ot),0),this._stashUsed+=Mt,this._stashByteStart=Ee+ot}}}else if(this._stashUsed===0){var wt=this._dispatchChunks(ue,Ee);if(wtthis._bufferSize&&this._expandBuffer(qt);var Mr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Mr.set(new Uint8Array(ue,wt),0),this._stashUsed+=qt,this._stashByteStart=Ee+wt}}else{this._stashUsed+ue.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+ue.byteLength);var an=new Uint8Array(this._stashBuffer,0,this._bufferSize);an.set(new Uint8Array(ue),this._stashUsed),this._stashUsed+=ue.byteLength;var _t=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(_t0){var at=new Uint8Array(this._stashBuffer,_t);an.set(at,0)}this._stashUsed-=_t,this._stashByteStart+=_t}}},{key:"_flushStashBuffer",value:function(ue){if(this._stashUsed>0){var Ee=this._stashBuffer.slice(0,this._stashUsed),je=this._dispatchChunks(Ee,this._stashByteStart),Ve=Ee.byteLength-je;if(je0){var $e=new Uint8Array(this._stashBuffer,0,this._bufferSize),wt=new Uint8Array(Ee,je);$e.set(wt,0),this._stashUsed=wt.byteLength,this._stashByteStart+=je}return 0}return this._stashUsed=0,this._stashByteStart=0,Ve}return 0}},{key:"_onLoaderComplete",value:function(ue,Ee){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(ue,Ee){c.e(this.TAG,"Loader error, code = ".concat(Ee.code,", msg = ").concat(Ee.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,ue=u.UNRECOVERABLE_EARLY_EOF);switch(ue){case u.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var je=this._currentRange.to+1;je0){var Ee=Gt.getConfig();ue.emit("change",Ee)}}},{key:"registerListener",value:function(ue){Gt.emitter.addListener("change",ue)}},{key:"removeListener",value:function(ue){Gt.emitter.removeListener("change",ue)}},{key:"addLogListener",value:function(ue){c.emitter.addListener("log",ue),c.emitter.listenerCount("log")>0&&(c.ENABLE_CALLBACK=!0,Gt._notifyChange())}},{key:"removeLogListener",value:function(ue){c.emitter.removeListener("log",ue),c.emitter.listenerCount("log")===0&&(c.ENABLE_CALLBACK=!1,Gt._notifyChange())}},{key:"forceGlobalTag",get:function(){return c.FORCE_GLOBAL_TAG},set:function(ue){c.FORCE_GLOBAL_TAG=ue,Gt._notifyChange()}},{key:"globalTag",get:function(){return c.GLOBAL_TAG},set:function(ue){c.GLOBAL_TAG=ue,Gt._notifyChange()}},{key:"enableAll",get:function(){return c.ENABLE_VERBOSE&&c.ENABLE_DEBUG&&c.ENABLE_INFO&&c.ENABLE_WARN&&c.ENABLE_ERROR},set:function(ue){c.ENABLE_VERBOSE=ue,c.ENABLE_DEBUG=ue,c.ENABLE_INFO=ue,c.ENABLE_WARN=ue,c.ENABLE_ERROR=ue,Gt._notifyChange()}},{key:"enableDebug",get:function(){return c.ENABLE_DEBUG},set:function(ue){c.ENABLE_DEBUG=ue,Gt._notifyChange()}},{key:"enableVerbose",get:function(){return c.ENABLE_VERBOSE},set:function(ue){c.ENABLE_VERBOSE=ue,Gt._notifyChange()}},{key:"enableInfo",get:function(){return c.ENABLE_INFO},set:function(ue){c.ENABLE_INFO=ue,Gt._notifyChange()}},{key:"enableWarn",get:function(){return c.ENABLE_WARN},set:function(ue){c.ENABLE_WARN=ue,Gt._notifyChange()}},{key:"enableError",get:function(){return c.ENABLE_ERROR},set:function(ue){c.ENABLE_ERROR=ue,Gt._notifyChange()}}]),Gt}();Le.emitter=new m.a;var He=Le,ce=function(){function Gt(){Object(O.a)(this,Gt),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(x.a)(Gt,[{key:"isComplete",value:function(){var ue=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Ee=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&ue&&Ee}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(ue){if(this.keyframesIndex==null)return null;var Ee=this.keyframesIndex,je=this._search(Ee.times,ue);return{index:je,milliseconds:Ee.times[je],fileposition:Ee.filepositions[je]}}},{key:"_search",value:function(ue,Ee){var je=0,Ve=ue.length-1,$e=0,wt=0,qt=Ve;for(Ee=ue[$e]&&Ee=128){st.push(String.fromCharCode(Ve&65535)),Ee+=2;continue}}}else if(ue[Ee]<240){if(Q(ue,Ee,2)){var $e=(ue[Ee]&15)<<12|(ue[Ee+1]&63)<<6|ue[Ee+2]&63;if($e>=2048&&($e&63488)!==55296){st.push(String.fromCharCode($e&65535)),Ee+=3;continue}}}else if(ue[Ee]<248&&Q(ue,Ee,3)){var wt=(ue[Ee]&7)<<18|(ue[Ee+1]&63)<<12|(ue[Ee+2]&63)<<6|ue[Ee+3]&63;if(wt>65536&&wt<1114112){wt-=65536,st.push(String.fromCharCode(wt>>>10|55296)),st.push(String.fromCharCode(wt&1023|56320)),Ee+=4;continue}}}st.push(String.fromCharCode(65533)),++Ee}return st.join("")}var Je=me,re=function(){var Gt=new ArrayBuffer(2);return new DataView(Gt).setInt16(0,256,!0),new Int16Array(Gt)[0]===256}(),G=function(){function Gt(){Object(O.a)(this,Gt)}return Object(x.a)(Gt,null,[{key:"parseScriptData",value:function(ue,Ee,je){var Ve={};try{var $e=Gt.parseValue(ue,Ee,je),wt=Gt.parseValue(ue,Ee+$e.size,je-$e.size);Ve[$e.data]=wt.data}catch(qt){c.e("AMF",qt.toString())}return Ve}},{key:"parseObject",value:function(ue,Ee,je){if(je<3)throw new s("Data not enough when parse ScriptDataObject");var Ve=Gt.parseString(ue,Ee,je),$e=Gt.parseValue(ue,Ee+Ve.size,je-Ve.size),wt=$e.objectEnd;return{data:{name:Ve.data,value:$e.data},size:Ve.size+$e.size,objectEnd:wt}}},{key:"parseVariable",value:function(ue,Ee,je){return Gt.parseObject(ue,Ee,je)}},{key:"parseString",value:function(ue,Ee,je){if(je<2)throw new s("Data not enough when parse String");var Ve=new DataView(ue,Ee,je),$e=Ve.getUint16(0,!re),wt;return $e>0?wt=Je(new Uint8Array(ue,Ee+2,$e)):wt="",{data:wt,size:2+$e}}},{key:"parseLongString",value:function(ue,Ee,je){if(je<4)throw new s("Data not enough when parse LongString");var Ve=new DataView(ue,Ee,je),$e=Ve.getUint32(0,!re),wt;return $e>0?wt=Je(new Uint8Array(ue,Ee+4,$e)):wt="",{data:wt,size:4+$e}}},{key:"parseDate",value:function(ue,Ee,je){if(je<10)throw new s("Data size invalid when parse Date");var Ve=new DataView(ue,Ee,je),$e=Ve.getFloat64(0,!re),wt=Ve.getInt16(8,!re);return $e+=wt*60*1e3,{data:new Date($e),size:8+2}}},{key:"parseValue",value:function(ue,Ee,je){if(je<1)throw new s("Data not enough when parse Value");var Ve=new DataView(ue,Ee,je),$e=1,wt=Ve.getUint8(0),qt,Mr=!1;try{switch(wt){case 0:qt=Ve.getFloat64(1,!re),$e+=8;break;case 1:{var an=Ve.getUint8(1);qt=!!an,$e+=1;break}case 2:{var _t=Gt.parseString(ue,Ee+1,je-1);qt=_t.data,$e+=_t.size;break}case 3:{qt={};var at=0;for((Ve.getUint32(je-4,!re)&16777215)===9&&(at=3);$e32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(ue<=this._current_word_bits_left){var Ee=this._current_word>>>32-ue;return this._current_word<<=ue,this._current_word_bits_left-=ue,Ee}var je=this._current_word_bits_left?this._current_word:0;je=je>>>32-this._current_word_bits_left;var Ve=ue-this._current_word_bits_left;this._fillCurrentWord();var $e=Math.min(Ve,this._current_word_bits_left),wt=this._current_word>>>32-$e;return this._current_word<<=$e,this._current_word_bits_left-=$e,je=je<<$e|wt,je}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var ue;for(ue=0;ue>>ue)!==0)return this._current_word<<=ue,this._current_word_bits_left-=ue,ue;return this._fillCurrentWord(),ue+this._skipLeadingZero()}},{key:"readUEG",value:function(){var ue=this._skipLeadingZero();return this.readBits(ue+1)-1}},{key:"readSEG",value:function(){var ue=this.readUEG();return ue&1?ue+1>>>1:-1*(ue>>>1)}}]),Gt}(),Ae=J,he=function(){function Gt(){Object(O.a)(this,Gt)}return Object(x.a)(Gt,null,[{key:"_ebsp2rbsp",value:function(ue){for(var Ee=ue,je=Ee.byteLength,Ve=new Uint8Array(je),$e=0,wt=0;wt=2&&(Ee[wt]===3&&Ee[wt-1]===0&&Ee[wt-2]===0))continue;Ve[$e]=Ee[wt],$e++}return new Uint8Array(Ve.buffer,0,$e)}},{key:"parseSPS",value:function(ue){var Ee=Gt._ebsp2rbsp(ue),je=new Ae(Ee);je.readByte();var Ve=je.readByte();je.readByte();var $e=je.readByte();je.readUEG();var wt=Gt.getProfileString(Ve),qt=Gt.getLevelString($e),Mr=1,an=420,_t=[0,420,422,444],at=8;if((Ve===100||Ve===110||Ve===122||Ve===244||Ve===44||Ve===83||Ve===86||Ve===118||Ve===128||Ve===138||Ve===144)&&(Mr=je.readUEG(),Mr===3&&je.readBits(1),Mr<=3&&(an=_t[Mr]),at=je.readUEG()+8,je.readUEG(),je.readBits(1),je.readBool()))for(var bt=Mr!==3?8:12,kt=0;kt0&&Ue<16?(li=Qe[Ue-1],ai=Xe[Ue-1]):Ue===255&&(li=je.readByte()<<8|je.readByte(),ai=je.readByte()<<8|je.readByte())}if(je.readBool()&&je.readBool(),je.readBool()&&(je.readBits(4),je.readBool()&&je.readBits(24)),je.readBool()&&(je.readUEG(),je.readUEG()),je.readBool()){var qe=je.readBits(32),yt=je.readBits(32);Oi=je.readBool(),Ze=yt,be=qe*2,pi=Ze/be}}var ht=1;(li!==1||ai!==1)&&(ht=li/ai);var Jt=0,kr=0;if(Mr===0)Jt=1,kr=2-ur;else{var _r=Mr===3?1:2,Xr=Mr===1?2:1;Jt=_r,kr=Xr*(2-ur)}var Bt=(Mt+1)*16,gn=(2-ur)*((xr+1)*16);Bt-=(gr+Qr)*Jt,gn-=(ln+_n)*kr;var hr=Math.ceil(Bt*ht);return je.destroy(),je=null,{profile_string:wt,level_string:qt,bit_depth:at,ref_frames:ot,chroma_format:an,chroma_format_string:Gt.getChromaFormatString(an),frame_rate:{fixed:Oi,fps:pi,fps_den:be,fps_num:Ze},sar_ratio:{width:li,height:ai},codec_size:{width:Bt,height:gn},present_size:{width:hr,height:gn}}}},{key:"_skipScalingList",value:function(ue,Ee){for(var je=8,Ve=8,$e=0,wt=0;wt>>8&255|(Gt&255)<<8}function Oe(Gt){return(Gt&4278190080)>>>24|(Gt&16711680)>>>8|(Gt&65280)<<8|(Gt&255)<<24}function Ye(Gt,st){return Gt[st]<<24|Gt[st+1]<<16|Gt[st+2]<<8|Gt[st+3]}var it=function(){function Gt(st,ue){Object(O.a)(this,Gt),this.TAG="FLVDemuxer",this._config=ue,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=st.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=st.hasAudioTrack,this._hasVideo=st.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Pe,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var Ee=new ArrayBuffer(2);return new DataView(Ee).setInt16(0,256,!0),new Int16Array(Ee)[0]===256}()}return Object(x.a)(Gt,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(ue){return ue.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new Pe}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(ue,Ee){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new s("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var je=0,Ve=this._littleEndian;if(Ee===0)if(ue.byteLength>13){var $e=Gt.probe(ue);je=$e.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Ee+je!==this._dataOffset&&c.w(this.TAG,"First time parsing but chunk byteStart invalid!");var wt=new DataView(ue,je),qt=wt.getUint32(0,!Ve);qt!==0&&c.w(this.TAG,"PrevTagSize0 !== 0 !!!"),je+=4}for(;jeue.byteLength)break;var an=Mr.getUint8(0),_t=Mr.getUint32(0,!Ve)&16777215;if(je+11+_t+4>ue.byteLength)break;if(an!==8&&an!==9&&an!==18){c.w(this.TAG,"Unsupported tag type ".concat(an,", skipped")),je+=11+_t+4;continue}var at=Mr.getUint8(4),bt=Mr.getUint8(5),kt=Mr.getUint8(6),Pt=Mr.getUint8(7),Et=kt|bt<<8|at<<16|Pt<<24,Ht=Mr.getUint32(7,!Ve)&16777215;Ht!==0&&c.w(this.TAG,"Meet tag which has StreamID != 0!");var ot=je+11;switch(an){case 8:this._parseAudioData(ue,ot,_t,Et);break;case 9:this._parseVideoData(ue,ot,_t,Et,Ee+je);break;case 18:this._parseScriptData(ue,ot,_t);break}var Mt=Mr.getUint32(11+_t,!Ve);Mt!==11+_t&&c.w(this.TAG,"Invalid PrevTagSize ".concat(Mt)),je+=11+_t+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),je}},{key:"_parseScriptData",value:function(ue,Ee,je){var Ve=X.parseScriptData(ue,Ee,je);if(Ve.hasOwnProperty("onMetaData")){if(Ve.onMetaData==null||typeof Ve.onMetaData!="object"){c.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&c.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Ve;var $e=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},$e)),typeof $e.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=$e.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof $e.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=$e.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof $e.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=$e.audiodatarate),typeof $e.videodatarate=="number"&&(this._mediaInfo.videoDataRate=$e.videodatarate),typeof $e.width=="number"&&(this._mediaInfo.width=$e.width),typeof $e.height=="number"&&(this._mediaInfo.height=$e.height),typeof $e.duration=="number"){if(!this._durationOverrided){var wt=Math.floor($e.duration*this._timescale);this._duration=wt,this._mediaInfo.duration=wt}}else this._mediaInfo.duration=0;if(typeof $e.framerate=="number"){var qt=Math.floor($e.framerate*1e3);if(qt>0){var Mr=qt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Mr,this._referenceFrameRate.fps_num=qt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Mr}}if(typeof $e.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var an=$e.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(an),$e.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=$e,c.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(Ve).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},Ve)))}},{key:"_parseKeyframesIndex",value:function(ue){for(var Ee=[],je=[],Ve=1;Ve>>4;if(Mr!==2&&Mr!==10){this._onError(oe.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Mr);return}var an=0,_t=(qt&12)>>>2;if(_t>=0&&_t<=4)an=this._flvSoundRateTable[_t];else{this._onError(oe.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+_t);return}var at=(qt&2)>>>1,bt=qt&1,kt=this._audioMetadata,Pt=this._audioTrack;if(kt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),kt=this._audioMetadata={},kt.type="audio",kt.id=Pt.id,kt.timescale=this._timescale,kt.duration=this._duration,kt.audioSampleRate=an,kt.channelCount=bt===0?1:2),Mr===10){var Et=this._parseAACAudioData(ue,Ee+1,je-1);if(Et==null)return;if(Et.packetType===0){kt.config&&c.w(this.TAG,"Found another AudioSpecificConfig!");var Ht=Et.data;kt.audioSampleRate=Ht.samplingRate,kt.channelCount=Ht.channelCount,kt.codec=Ht.codec,kt.originalCodec=Ht.originalCodec,kt.config=Ht.config,kt.refSampleDuration=1024/kt.audioSampleRate*kt.timescale,c.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",kt);var ot=this._mediaInfo;ot.audioCodec=kt.originalCodec,ot.audioSampleRate=kt.audioSampleRate,ot.audioChannelCount=kt.channelCount,ot.hasVideo?ot.videoCodec!=null&&(ot.mimeType='video/x-flv; codecs="'+ot.videoCodec+","+ot.audioCodec+'"'):ot.mimeType='video/x-flv; codecs="'+ot.audioCodec+'"',ot.isComplete()&&this._onMediaInfo(ot)}else if(Et.packetType===1){var Mt=this._timestampBase+Ve,xr={unit:Et.data,length:Et.data.byteLength,dts:Mt,pts:Mt};Pt.samples.push(xr),Pt.length+=Et.data.length}else c.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Et.packetType))}else if(Mr===2){if(!kt.codec){var ur=this._parseMP3AudioData(ue,Ee+1,je-1,!0);if(ur==null)return;kt.audioSampleRate=ur.samplingRate,kt.channelCount=ur.channelCount,kt.codec=ur.codec,kt.originalCodec=ur.originalCodec,kt.refSampleDuration=1152/kt.audioSampleRate*kt.timescale,c.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",kt);var gr=this._mediaInfo;gr.audioCodec=kt.codec,gr.audioSampleRate=kt.audioSampleRate,gr.audioChannelCount=kt.channelCount,gr.audioDataRate=ur.bitRate,gr.hasVideo?gr.videoCodec!=null&&(gr.mimeType='video/x-flv; codecs="'+gr.videoCodec+","+gr.audioCodec+'"'):gr.mimeType='video/x-flv; codecs="'+gr.audioCodec+'"',gr.isComplete()&&this._onMediaInfo(gr)}var Qr=this._parseMP3AudioData(ue,Ee+1,je-1,!1);if(Qr==null)return;var ln=this._timestampBase+Ve,_n={unit:Qr,length:Qr.byteLength,dts:ln,pts:ln};Pt.samples.push(_n),Pt.length+=Qr.length}}},{key:"_parseAACAudioData",value:function(ue,Ee,je){if(je<=1){c.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Ve={},$e=new Uint8Array(ue,Ee,je);return Ve.packetType=$e[0],$e[0]===0?Ve.data=this._parseAACAudioSpecificConfig(ue,Ee+1,je-1):Ve.data=$e.subarray(1),Ve}},{key:"_parseAACAudioSpecificConfig",value:function(ue,Ee,je){var Ve=new Uint8Array(ue,Ee,je),$e=null,wt=0,qt=0,Mr=null,an=0,_t=null;if(wt=qt=Ve[0]>>>3,an=(Ve[0]&7)<<1|Ve[1]>>>7,an<0||an>=this._mpegSamplingRates.length){this._onError(oe.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var at=this._mpegSamplingRates[an],bt=(Ve[1]&120)>>>3;if(bt<0||bt>=8){this._onError(oe.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}wt===5&&(_t=(Ve[1]&7)<<1|Ve[2]>>>7,Mr=(Ve[2]&124)>>>2);var kt=self.navigator.userAgent.toLowerCase();return kt.indexOf("firefox")!==-1?an>=6?(wt=5,$e=new Array(4),_t=an-3):(wt=2,$e=new Array(2),_t=an):kt.indexOf("android")!==-1?(wt=2,$e=new Array(2),_t=an):(wt=5,_t=an,$e=new Array(4),an>=6?_t=an-3:bt===1&&(wt=2,$e=new Array(2),_t=an)),$e[0]=wt<<3,$e[0]|=(an&15)>>>1,$e[1]=(an&15)<<7,$e[1]|=(bt&15)<<3,wt===5&&($e[1]|=(_t&15)>>>1,$e[2]=(_t&1)<<7,$e[2]|=2<<2,$e[3]=0),{config:$e,samplingRate:at,channelCount:bt,codec:"mp4a.40."+wt,originalCodec:"mp4a.40."+qt}}},{key:"_parseMP3AudioData",value:function(ue,Ee,je,Ve){if(je<4){c.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var $e=this._littleEndian,wt=new Uint8Array(ue,Ee,je),qt=null;if(Ve){if(wt[0]!==255)return;var Mr=wt[1]>>>3&3,an=(wt[1]&6)>>1,_t=(wt[2]&240)>>>4,at=(wt[2]&12)>>>2,bt=wt[3]>>>6&3,kt=bt!==3?2:1,Pt=0,Et=0,Ht=34,ot="mp3";switch(Mr){case 0:Pt=this._mpegAudioV25SampleRateTable[at];break;case 2:Pt=this._mpegAudioV20SampleRateTable[at];break;case 3:Pt=this._mpegAudioV10SampleRateTable[at];break}switch(an){case 1:Ht=34,_t>>4,Mr=wt&15;if(Mr!==7){this._onError(oe.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Mr));return}this._parseAVCVideoPacket(ue,Ee+1,je-1,Ve,$e,qt)}},{key:"_parseAVCVideoPacket",value:function(ue,Ee,je,Ve,$e,wt){if(je<4){c.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var qt=this._littleEndian,Mr=new DataView(ue,Ee,je),an=Mr.getUint8(0),_t=Mr.getUint32(0,!qt)&16777215,at=_t<<8>>8;if(an===0)this._parseAVCDecoderConfigurationRecord(ue,Ee+4,je-4);else if(an===1)this._parseAVCVideoData(ue,Ee+4,je-4,Ve,$e,wt,at);else if(!(an===2)){this._onError(oe.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(an));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(ue,Ee,je){if(je<7){c.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Ve=this._videoMetadata,$e=this._videoTrack,wt=this._littleEndian,qt=new DataView(ue,Ee,je);Ve?typeof Ve.avcc!="undefined"&&c.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),Ve=this._videoMetadata={},Ve.type="video",Ve.id=$e.id,Ve.timescale=this._timescale,Ve.duration=this._duration);var Mr=qt.getUint8(0),an=qt.getUint8(1),_t=qt.getUint8(2),at=qt.getUint8(3);if(Mr!==1||an===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(qt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(oe.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var bt=qt.getUint8(5)&31;if(bt===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else bt>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(bt));for(var kt=6,Pt=0;Pt1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Mn));kt++;for(var li=0;li=je){c.w(this.TAG,"Malformed Nalu near timestamp ".concat(Pt,", offset = ").concat(bt,", dataSize = ").concat(je));break}var Ht=an.getUint32(bt,!Mr);if(kt===3&&(Ht>>>=8),Ht>je-kt){c.w(this.TAG,"Malformed Nalus near timestamp ".concat(Pt,", NaluSize > DataSize!"));return}var ot=an.getUint8(bt+kt)&31;ot===5&&(Et=!0);var Mt=new Uint8Array(ue,Ee+bt,kt+Ht),xr={type:ot,data:Mt};_t.push(xr),at+=Mt.byteLength,bt+=kt+Ht}if(_t.length){var ur=this._videoTrack,gr={units:_t,length:at,isKeyframe:Et,dts:Pt,cts:qt,pts:Pt+qt};Et&&(gr.fileposition=$e),ur.samples.push(gr),ur.length+=at}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(ue){this._onTrackMetadata=ue}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(ue){this._onMediaInfo=ue}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(ue){this._onMetaDataArrived=ue}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(ue){this._onScriptDataArrived=ue}},{key:"onError",get:function(){return this._onError},set:function(ue){this._onError=ue}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(ue){this._onDataAvailable=ue}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(ue){this._timestampBase=ue}},{key:"overridedDuration",get:function(){return this._duration},set:function(ue){this._durationOverrided=!0,this._duration=ue,this._mediaInfo.duration=ue}},{key:"overridedHasAudio",set:function(ue){this._hasAudioFlagOverrided=!0,this._hasAudio=ue,this._mediaInfo.hasAudio=ue}},{key:"overridedHasVideo",set:function(ue){this._hasVideoFlagOverrided=!0,this._hasVideo=ue,this._mediaInfo.hasVideo=ue}}],[{key:"probe",value:function(ue){var Ee=new Uint8Array(ue),je={match:!1};if(Ee[0]!==70||Ee[1]!==76||Ee[2]!==86||Ee[3]!==1)return je;var Ve=(Ee[4]&4)>>>2!==0,$e=(Ee[4]&1)!==0,wt=Ye(Ee,5);return wt<9?je:{match:!0,consumed:wt,dataOffset:wt,hasAudioTrack:Ve,hasVideoTrack:$e}}}]),Gt}(),et=it,Te=function(){function Gt(){Object(O.a)(this,Gt)}return Object(x.a)(Gt,null,[{key:"init",value:function(){Gt.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var ue in Gt.types)Gt.types.hasOwnProperty(ue)&&(Gt.types[ue]=[ue.charCodeAt(0),ue.charCodeAt(1),ue.charCodeAt(2),ue.charCodeAt(3)]);var Ee=Gt.constants={};Ee.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Ee.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Ee.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Ee.STSC=Ee.STCO=Ee.STTS,Ee.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ee.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),Ee.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),Ee.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Ee.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ee.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(ue){for(var Ee=8,je=null,Ve=Array.prototype.slice.call(arguments,1),$e=Ve.length,wt=0;wt<$e;wt++)Ee+=Ve[wt].byteLength;je=new Uint8Array(Ee),je[0]=Ee>>>24&255,je[1]=Ee>>>16&255,je[2]=Ee>>>8&255,je[3]=Ee&255,je.set(ue,4);for(var qt=8,Mr=0;Mr<$e;Mr++)je.set(Ve[Mr],qt),qt+=Ve[Mr].byteLength;return je}},{key:"generateInitSegment",value:function(ue){var Ee=Gt.box(Gt.types.ftyp,Gt.constants.FTYP),je=Gt.moov(ue),Ve=new Uint8Array(Ee.byteLength+je.byteLength);return Ve.set(Ee,0),Ve.set(je,Ee.byteLength),Ve}},{key:"moov",value:function(ue){var Ee=Gt.mvhd(ue.timescale,ue.duration),je=Gt.trak(ue),Ve=Gt.mvex(ue);return Gt.box(Gt.types.moov,Ee,je,Ve)}},{key:"mvhd",value:function(ue,Ee){return Gt.box(Gt.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(ue){return Gt.box(Gt.types.trak,Gt.tkhd(ue),Gt.mdia(ue))}},{key:"tkhd",value:function(ue){var Ee=ue.id,je=ue.duration,Ve=ue.presentWidth,$e=ue.presentHeight;return Gt.box(Gt.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255,0,0,0,0,je>>>24&255,je>>>16&255,je>>>8&255,je&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,Ve>>>8&255,Ve&255,0,0,$e>>>8&255,$e&255,0,0]))}},{key:"mdia",value:function(ue){return Gt.box(Gt.types.mdia,Gt.mdhd(ue),Gt.hdlr(ue),Gt.minf(ue))}},{key:"mdhd",value:function(ue){var Ee=ue.timescale,je=ue.duration;return Gt.box(Gt.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255,je>>>24&255,je>>>16&255,je>>>8&255,je&255,85,196,0,0]))}},{key:"hdlr",value:function(ue){var Ee=null;return ue.type==="audio"?Ee=Gt.constants.HDLR_AUDIO:Ee=Gt.constants.HDLR_VIDEO,Gt.box(Gt.types.hdlr,Ee)}},{key:"minf",value:function(ue){var Ee=null;return ue.type==="audio"?Ee=Gt.box(Gt.types.smhd,Gt.constants.SMHD):Ee=Gt.box(Gt.types.vmhd,Gt.constants.VMHD),Gt.box(Gt.types.minf,Ee,Gt.dinf(),Gt.stbl(ue))}},{key:"dinf",value:function(){var ue=Gt.box(Gt.types.dinf,Gt.box(Gt.types.dref,Gt.constants.DREF));return ue}},{key:"stbl",value:function(ue){var Ee=Gt.box(Gt.types.stbl,Gt.stsd(ue),Gt.box(Gt.types.stts,Gt.constants.STTS),Gt.box(Gt.types.stsc,Gt.constants.STSC),Gt.box(Gt.types.stsz,Gt.constants.STSZ),Gt.box(Gt.types.stco,Gt.constants.STCO));return Ee}},{key:"stsd",value:function(ue){return ue.type==="audio"?ue.codec==="mp3"?Gt.box(Gt.types.stsd,Gt.constants.STSD_PREFIX,Gt.mp3(ue)):Gt.box(Gt.types.stsd,Gt.constants.STSD_PREFIX,Gt.mp4a(ue)):Gt.box(Gt.types.stsd,Gt.constants.STSD_PREFIX,Gt.avc1(ue))}},{key:"mp3",value:function(ue){var Ee=ue.channelCount,je=ue.audioSampleRate,Ve=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ee,0,16,0,0,0,0,je>>>8&255,je&255,0,0]);return Gt.box(Gt.types[".mp3"],Ve)}},{key:"mp4a",value:function(ue){var Ee=ue.channelCount,je=ue.audioSampleRate,Ve=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Ee,0,16,0,0,0,0,je>>>8&255,je&255,0,0]);return Gt.box(Gt.types.mp4a,Ve,Gt.esds(ue))}},{key:"esds",value:function(ue){var Ee=ue.config||[],je=Ee.length,Ve=new Uint8Array([0,0,0,0,3,23+je,0,1,0,4,15+je,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([je]).concat(Ee).concat([6,1,2]));return Gt.box(Gt.types.esds,Ve)}},{key:"avc1",value:function(ue){var Ee=ue.avcc,je=ue.codecWidth,Ve=ue.codecHeight,$e=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,je>>>8&255,je&255,Ve>>>8&255,Ve&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return Gt.box(Gt.types.avc1,$e,Gt.box(Gt.types.avcC,Ee))}},{key:"mvex",value:function(ue){return Gt.box(Gt.types.mvex,Gt.trex(ue))}},{key:"trex",value:function(ue){var Ee=ue.id,je=new Uint8Array([0,0,0,0,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Gt.box(Gt.types.trex,je)}},{key:"moof",value:function(ue,Ee){return Gt.box(Gt.types.moof,Gt.mfhd(ue.sequenceNumber),Gt.traf(ue,Ee))}},{key:"mfhd",value:function(ue){var Ee=new Uint8Array([0,0,0,0,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255]);return Gt.box(Gt.types.mfhd,Ee)}},{key:"traf",value:function(ue,Ee){var je=ue.id,Ve=Gt.box(Gt.types.tfhd,new Uint8Array([0,0,0,0,je>>>24&255,je>>>16&255,je>>>8&255,je&255])),$e=Gt.box(Gt.types.tfdt,new Uint8Array([0,0,0,0,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255])),wt=Gt.sdtp(ue),qt=Gt.trun(ue,wt.byteLength+16+16+8+16+8+8);return Gt.box(Gt.types.traf,Ve,$e,qt,wt)}},{key:"sdtp",value:function(ue){for(var Ee=ue.samples||[],je=Ee.length,Ve=new Uint8Array(4+je),$e=0;$e>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255],0);for(var qt=0;qt>>24&255,Mr>>>16&255,Mr>>>8&255,Mr&255,an>>>24&255,an>>>16&255,an>>>8&255,an&255,_t.isLeading<<2|_t.dependsOn,_t.isDependedOn<<6|_t.hasRedundancy<<4|_t.isNonSync,0,0,at>>>24&255,at>>>16&255,at>>>8&255,at&255],12+16*qt)}return Gt.box(Gt.types.trun,wt)}},{key:"mdat",value:function(ue){return Gt.box(Gt.types.mdat,ue)}}]),Gt}();Te.init();var tt=Te,ze=function(){function Gt(){Object(O.a)(this,Gt)}return Object(x.a)(Gt,null,[{key:"getSilentFrame",value:function(ue,Ee){if(ue==="mp4a.40.2"){if(Ee===1)return new Uint8Array([0,200,0,128,35,128]);if(Ee===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Ee===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Ee===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Ee===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(Ee===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(Ee===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(Ee===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(Ee===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),Gt}(),dt=ze,Ot=function Gt(st,ue,Ee,je,Ve){Object(O.a)(this,Gt),this.dts=st,this.pts=ue,this.duration=Ee,this.originalDts=je,this.isSyncPoint=Ve,this.fileposition=null},Tt=function(){function Gt(){Object(O.a)(this,Gt),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(x.a)(Gt,[{key:"appendSyncPoint",value:function(ue){ue.isSyncPoint=!0,this.syncPoints.push(ue)}}]),Gt}(),Ct=function(){function Gt(){Object(O.a)(this,Gt),this._list=[]}return Object(x.a)(Gt,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(ue){var Ee=this._list;if(ue.length===0)return;Ee.length>0&&ue[0].originalDts=Ee[$e].dts&&ueEe[Ve].lastSample.originalDts&&ue=Ee[Ve].lastSample.originalDts&&(Ve===Ee.length-1||Ve0&&($e=this._searchNearestSegmentBefore(je.originalBeginDts)+1),this._lastAppendLocation=$e,this._list.splice($e,0,je)}},{key:"getLastSegmentBefore",value:function(ue){var Ee=this._searchNearestSegmentBefore(ue);return Ee>=0?this._list[Ee]:null}},{key:"getLastSampleBefore",value:function(ue){var Ee=this.getLastSegmentBefore(ue);return Ee!=null?Ee.lastSample:null}},{key:"getLastSyncPointBefore",value:function(ue){for(var Ee=this._searchNearestSegmentBefore(ue),je=this._list[Ee].syncPoints;je.length===0&&Ee>0;)Ee--,je=this._list[Ee].syncPoints;return je.length>0?je[je.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),Gt}(),Be=function(){function Gt(st){Object(O.a)(this,Gt),this.TAG="MP4Remuxer",this._config=st,this._isLive=st.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Nt("audio"),this._videoSegmentInfoList=new Nt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(C.chrome&&(C.version.major<50||C.version.major===50&&C.version.build<2661)),this._fillSilentAfterSeek=C.msedge||C.msie,this._mp3UseMpegAudio=!C.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(x.a)(Gt,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(ue){return ue.onDataAvailable=this.remux.bind(this),ue.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(ue){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(ue,Ee){if(!this._onMediaSegment)throw new s("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(ue,Ee),this._remuxVideo(Ee),this._remuxAudio(ue)}},{key:"_onTrackMetadataReceived",value:function(ue,Ee){var je=null,Ve="mp4",$e=Ee.codec;if(ue==="audio")this._audioMeta=Ee,Ee.codec==="mp3"&&this._mp3UseMpegAudio?(Ve="mpeg",$e="",je=new Uint8Array):je=tt.generateInitSegment(Ee);else if(ue==="video")this._videoMeta=Ee,je=tt.generateInitSegment(Ee);else return;if(!this._onInitSegment)throw new s("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(ue,{type:ue,data:je.buffer,codec:$e,container:"".concat(ue,"/").concat(Ve),mediaDuration:Ee.duration})}},{key:"_calculateDtsBase",value:function(ue,Ee){if(this._dtsBaseInited)return;ue.samples&&ue.samples.length&&(this._audioDtsBase=ue.samples[0].dts),Ee.samples&&Ee.samples.length&&(this._videoDtsBase=Ee.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var ue=this._videoStashedLastSample,Ee=this._audioStashedLastSample,je={type:"video",id:1,sequenceNumber:0,samples:[],length:0};ue!=null&&(je.samples.push(ue),je.length=ue.length);var Ve={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Ee!=null&&(Ve.samples.push(Ee),Ve.length=Ee.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(je,!0),this._remuxAudio(Ve,!0)}},{key:"_remuxAudio",value:function(ue,Ee){if(this._audioMeta==null)return;var je=ue,Ve=je.samples,$e=void 0,wt=-1,qt=-1,Mr=-1,an=this._audioMeta.refSampleDuration,_t=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,at=this._dtsBaseInited&&this._audioNextDts===void 0,bt=!1;if(!Ve||Ve.length===0)return;if(Ve.length===1&&!Ee)return;var kt=0,Pt=null,Et=0;_t?(kt=0,Et=je.length):(kt=8,Et=8+je.length);var Ht=null;if(Ve.length>1&&(Ht=Ve.pop(),Et-=Ht.length),this._audioStashedLastSample!=null){var ot=this._audioStashedLastSample;this._audioStashedLastSample=null,Ve.unshift(ot),Et+=ot.length}Ht!=null&&(this._audioStashedLastSample=Ht);var Mt=Ve[0].dts-this._dtsBase;if(this._audioNextDts)$e=Mt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())$e=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(bt=!0));else{var xr=this._audioSegmentInfoList.getLastSampleBefore(Mt);if(xr!=null){var ur=Mt-(xr.originalDts+xr.duration);ur<=3&&(ur=0);var gr=xr.dts+xr.duration+ur;$e=Mt-gr}else $e=0}if(bt){var Qr=Mt-$e,ln=this._videoSegmentInfoList.getLastSegmentBefore(Mt);if(ln!=null&&ln.beginDts=1?Ue=ai[ai.length-1].duration:Ue=Math.floor(an);var qe=!1,yt=null;if(Ue>an*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!C.safari){qe=!0;var ht=Math.abs(Ue-an),Jt=Math.ceil(ht/an),kr=Ne+an;c.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. `+"dts: ".concat(Ne+Ue," ms, expected: ").concat(Ne+Math.round(an)," ms, ")+"delta: ".concat(Math.round(ht)," ms, generate: ").concat(Jt," frames"));var _r=dt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);_r==null&&(c.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),_r=Ze),yt=[];for(var Xr=0;Xr0){var gn=yt[yt.length-1];gn.duration=Bt-gn.dts}var hr={dts:Bt,pts:Bt,cts:0,unit:_r,size:_r.byteLength,duration:0,originalDts:be,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};yt.push(hr),Et+=hr.size,kr+=an}var vn=yt[yt.length-1];vn.duration=Ne+Ue-vn.dts,Ue=Math.round(an)}ai.push({dts:Ne,pts:Ne,cts:0,unit:Oi.unit,size:Oi.unit.byteLength,duration:Ue,originalDts:be,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),qe&&ai.push.apply(ai,yt)}_t?Pt=new Uint8Array(Et):(Pt=new Uint8Array(Et),Pt[0]=Et>>>24&255,Pt[1]=Et>>>16&255,Pt[2]=Et>>>8&255,Pt[3]=Et&255,Pt.set(tt.types.mdat,4));for(var en=0;en1&&(kt=Ve.pop(),bt-=kt.length),this._videoStashedLastSample!=null){var Pt=this._videoStashedLastSample;this._videoStashedLastSample=null,Ve.unshift(Pt),bt+=Pt.length}kt!=null&&(this._videoStashedLastSample=kt);var Et=Ve[0].dts-this._dtsBase;if(this._videoNextDts)$e=Et-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())$e=0;else{var Ht=this._videoSegmentInfoList.getLastSampleBefore(Et);if(Ht!=null){var ot=Et-(Ht.originalDts+Ht.duration);ot<=3&&(ot=0);var Mt=Ht.dts+Ht.duration+ot;$e=Et-Mt}else $e=0}for(var xr=new Tt,ur=[],gr=0;gr=1?pi=ur[ur.length-1].duration:pi=Math.floor(this._videoMeta.refSampleDuration);if(_n){var be=new Ot(Mn,ai,pi,Qr.dts,!0);be.fileposition=Qr.fileposition,xr.appendSyncPoint(be)}ur.push({dts:Mn,pts:ai,cts:li,units:Qr.units,size:Qr.length,isKeyframe:_n,duration:pi,originalDts:ln,flags:{isLeading:0,dependsOn:_n?2:1,isDependedOn:_n?1:0,hasRedundancy:0,isNonSync:_n?0:1}})}at=new Uint8Array(bt),at[0]=bt>>>24&255,at[1]=bt>>>16&255,at[2]=bt>>>8&255,at[3]=bt&255,at.set(tt.types.mdat,4);for(var Ne=0;Ne0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,$e=this._demuxer.parseChunks(ue,Ee);else if((Ve=et.probe(ue)).match){this._demuxer=new et(Ve,this._config),this._remuxer||(this._remuxer=new $(this._config));var wt=this._mediaDataSource;wt.duration!=null&&!isNaN(wt.duration)&&(this._demuxer.overridedDuration=wt.duration),typeof wt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=wt.hasAudio),typeof wt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=wt.hasVideo),this._demuxer.timestampBase=wt.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),$e=this._demuxer.parseChunks(ue,Ee)}else Ve=null,c.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){je._internalAbort()}),this._emitter.emit(Re.DEMUX_ERROR,oe.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),$e=0;return $e}},{key:"_onMediaInfo",value:function(ue){var Ee=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},ue),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Pe.prototype));var je=Object.assign({},ue);Object.setPrototypeOf(je,Pe.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=je,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Ve=Ee._pendingSeekTime;Ee._pendingSeekTime=null,Ee.seek(Ve)})}},{key:"_onMetaDataArrived",value:function(ue){this._emitter.emit(Re.METADATA_ARRIVED,ue)}},{key:"_onScriptDataArrived",value:function(ue){this._emitter.emit(Re.SCRIPTDATA_ARRIVED,ue)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(ue){var Ee=ue,je=Ee+1;je0&&je[0].originalDts===Ve&&(Ve=je[0].pts),this._emitter.emit(Re.RECOMMEND_SEEKPOINT,Ve)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(ue){var Ee=this._mediaInfo.segments[ue],je=Object.assign({},Ee);je.duration=this._mediaInfo.duration,je.segmentCount=this._mediaInfo.segmentCount,delete je.segments,delete je.keyframesIndex,this._emitter.emit(Re.MEDIA_INFO,je)}},{key:"_reportStatisticsInfo",value:function(){var ue={};ue.url=this._ioctl.currentURL,ue.hasRedirect=this._ioctl.hasRedirect,ue.hasRedirect&&(ue.redirectedURL=this._ioctl.currentRedirectedURL),ue.speed=this._ioctl.currentSpeed,ue.loaderType=this._ioctl.loaderType,ue.currentSegmentIndex=this._currentSegmentIndex,ue.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Re.STATISTICS_INFO,ue)}}]),Gt}(),ae=De,gt=function(st){var ue="TransmuxingWorker",Ee=null,je=Et.bind(this);v.install(),st.addEventListener("message",function(Ht){switch(Ht.data.cmd){case"init":Ee=new ae(Ht.data.param[0],Ht.data.param[1]),Ee.on(Re.IO_ERROR,bt.bind(this)),Ee.on(Re.DEMUX_ERROR,kt.bind(this)),Ee.on(Re.INIT_SEGMENT,Ve.bind(this)),Ee.on(Re.MEDIA_SEGMENT,$e.bind(this)),Ee.on(Re.LOADING_COMPLETE,wt.bind(this)),Ee.on(Re.RECOVERED_EARLY_EOF,qt.bind(this)),Ee.on(Re.MEDIA_INFO,Mr.bind(this)),Ee.on(Re.METADATA_ARRIVED,an.bind(this)),Ee.on(Re.SCRIPTDATA_ARRIVED,_t.bind(this)),Ee.on(Re.STATISTICS_INFO,at.bind(this)),Ee.on(Re.RECOMMEND_SEEKPOINT,Pt.bind(this));break;case"destroy":Ee&&(Ee.destroy(),Ee=null),st.postMessage({msg:"destroyed"});break;case"start":Ee.start();break;case"stop":Ee.stop();break;case"seek":Ee.seek(Ht.data.param);break;case"pause":Ee.pause();break;case"resume":Ee.resume();break;case"logging_config":{var ot=Ht.data.param;He.applyConfig(ot),ot.enableCallback===!0?He.addLogListener(je):He.removeLogListener(je);break}}});function Ve(Ht,ot){var Mt={msg:Re.INIT_SEGMENT,data:{type:Ht,data:ot}};st.postMessage(Mt,[ot.data])}function $e(Ht,ot){var Mt={msg:Re.MEDIA_SEGMENT,data:{type:Ht,data:ot}};st.postMessage(Mt,[ot.data])}function wt(){var Ht={msg:Re.LOADING_COMPLETE};st.postMessage(Ht)}function qt(){var Ht={msg:Re.RECOVERED_EARLY_EOF};st.postMessage(Ht)}function Mr(Ht){var ot={msg:Re.MEDIA_INFO,data:Ht};st.postMessage(ot)}function an(Ht){var ot={msg:Re.METADATA_ARRIVED,data:Ht};st.postMessage(ot)}function _t(Ht){var ot={msg:Re.SCRIPTDATA_ARRIVED,data:Ht};st.postMessage(ot)}function at(Ht){var ot={msg:Re.STATISTICS_INFO,data:Ht};st.postMessage(ot)}function bt(Ht,ot){st.postMessage({msg:Re.IO_ERROR,data:{type:Ht,info:ot}})}function kt(Ht,ot){st.postMessage({msg:Re.DEMUX_ERROR,data:{type:Ht,info:ot}})}function Pt(Ht){st.postMessage({msg:Re.RECOMMEND_SEEKPOINT,data:Ht})}function Et(Ht,ot){st.postMessage({msg:"logcat_callback",data:{type:Ht,logcat:ot}})}},jt=gt,ut=function(){function Gt(st,ue){if(Object(O.a)(this,Gt),this.TAG="Transmuxer",this._emitter=new m.a,ue.enableWorker&&typeof Worker!="undefined")try{var Ee=d("0r65");this._worker=Ee(jt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[st,ue]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},He.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:He.getConfig()})}catch(Ve){c.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ae(st,ue)}else this._controller=new ae(st,ue);if(this._controller){var je=this._controller;je.on(Re.IO_ERROR,this._onIOError.bind(this)),je.on(Re.DEMUX_ERROR,this._onDemuxError.bind(this)),je.on(Re.INIT_SEGMENT,this._onInitSegment.bind(this)),je.on(Re.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),je.on(Re.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),je.on(Re.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),je.on(Re.MEDIA_INFO,this._onMediaInfo.bind(this)),je.on(Re.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),je.on(Re.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),je.on(Re.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),je.on(Re.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(x.a)(Gt,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),He.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(ue,Ee){this._emitter.addListener(ue,Ee)}},{key:"off",value:function(ue,Ee){this._emitter.removeListener(ue,Ee)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(ue){this._worker?this._worker.postMessage({cmd:"seek",param:ue}):this._controller.seek(ue)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(ue,Ee){var je=this;Promise.resolve().then(function(){je._emitter.emit(Re.INIT_SEGMENT,ue,Ee)})}},{key:"_onMediaSegment",value:function(ue,Ee){var je=this;Promise.resolve().then(function(){je._emitter.emit(Re.MEDIA_SEGMENT,ue,Ee)})}},{key:"_onLoadingComplete",value:function(){var ue=this;Promise.resolve().then(function(){ue._emitter.emit(Re.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var ue=this;Promise.resolve().then(function(){ue._emitter.emit(Re.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(ue){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Re.MEDIA_INFO,ue)})}},{key:"_onMetaDataArrived",value:function(ue){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Re.METADATA_ARRIVED,ue)})}},{key:"_onScriptDataArrived",value:function(ue){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Re.SCRIPTDATA_ARRIVED,ue)})}},{key:"_onStatisticsInfo",value:function(ue){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Re.STATISTICS_INFO,ue)})}},{key:"_onIOError",value:function(ue,Ee){var je=this;Promise.resolve().then(function(){je._emitter.emit(Re.IO_ERROR,ue,Ee)})}},{key:"_onDemuxError",value:function(ue,Ee){var je=this;Promise.resolve().then(function(){je._emitter.emit(Re.DEMUX_ERROR,ue,Ee)})}},{key:"_onRecommendSeekpoint",value:function(ue){var Ee=this;Promise.resolve().then(function(){Ee._emitter.emit(Re.RECOMMEND_SEEKPOINT,ue)})}},{key:"_onLoggingConfigChanged",value:function(ue){this._worker&&this._worker.postMessage({cmd:"logging_config",param:ue})}},{key:"_onWorkerMessage",value:function(ue){var Ee=ue.data,je=Ee.data;if(Ee.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Ee.msg){case Re.INIT_SEGMENT:case Re.MEDIA_SEGMENT:this._emitter.emit(Ee.msg,je.type,je.data);break;case Re.LOADING_COMPLETE:case Re.RECOVERED_EARLY_EOF:this._emitter.emit(Ee.msg);break;case Re.MEDIA_INFO:Object.setPrototypeOf(je,Pe.prototype),this._emitter.emit(Ee.msg,je);break;case Re.METADATA_ARRIVED:case Re.SCRIPTDATA_ARRIVED:case Re.STATISTICS_INFO:this._emitter.emit(Ee.msg,je);break;case Re.IO_ERROR:case Re.DEMUX_ERROR:this._emitter.emit(Ee.msg,je.type,je.info);break;case Re.RECOMMEND_SEEKPOINT:this._emitter.emit(Ee.msg,je);break;case"logcat_callback":c.emitter.emit("log",je.type,je.logcat);break;default:break}}}]),Gt}(),rr=ut,pr={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},nn=pr,mr=function(){function Gt(st){Object(O.a)(this,Gt),this.TAG="MSEController",this._config=st,this._emitter=new m.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Ct}return Object(x.a)(Gt,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(ue,Ee){this._emitter.addListener(ue,Ee)}},{key:"off",value:function(ue,Ee){this._emitter.removeListener(ue,Ee)}},{key:"attachMediaElement",value:function(ue){if(this._mediaSource)throw new s("MediaSource has been attached to an HTMLMediaElement!");var Ee=this._mediaSource=new window.MediaSource;Ee.addEventListener("sourceopen",this.e.onSourceOpen),Ee.addEventListener("sourceended",this.e.onSourceEnded),Ee.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=ue,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),ue.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var ue=this._mediaSource;for(var Ee in this._sourceBuffers){var je=this._pendingSegments[Ee];je.splice(0,je.length),this._pendingSegments[Ee]=null,this._pendingRemoveRanges[Ee]=null,this._lastInitSegments[Ee]=null;var Ve=this._sourceBuffers[Ee];if(Ve){if(ue.readyState!=="closed"){try{ue.removeSourceBuffer(Ve)}catch($e){c.e(this.TAG,$e.message)}Ve.removeEventListener("error",this.e.onSourceBufferError),Ve.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Ee]=null,this._sourceBuffers[Ee]=null}}if(ue.readyState==="open")try{ue.endOfStream()}catch($e){c.e(this.TAG,$e.message)}ue.removeEventListener("sourceopen",this.e.onSourceOpen),ue.removeEventListener("sourceended",this.e.onSourceEnded),ue.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(ue,Ee){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(ue),this._pendingSegments[ue.type].push(ue);return}var je=ue,Ve="".concat(je.container);je.codec&&je.codec.length>0&&(Ve+=";codecs=".concat(je.codec));var $e=!1;if(c.v(this.TAG,"Received Initialization Segment, mimeType: "+Ve),this._lastInitSegments[je.type]=je,Ve!==this._mimeTypes[je.type]){if(this._mimeTypes[je.type])c.v(this.TAG,"Notice: ".concat(je.type," mimeType changed, origin: ").concat(this._mimeTypes[je.type],", target: ").concat(Ve));else{$e=!0;try{var wt=this._sourceBuffers[je.type]=this._mediaSource.addSourceBuffer(Ve);wt.addEventListener("error",this.e.onSourceBufferError),wt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(qt){c.e(this.TAG,qt.message),this._emitter.emit(nn.ERROR,{code:qt.code,msg:qt.message});return}}this._mimeTypes[je.type]=Ve}Ee||this._pendingSegments[je.type].push(je),$e||this._sourceBuffers[je.type]&&!this._sourceBuffers[je.type].updating&&this._doAppendSegments(),C.safari&&je.container==="audio/mpeg"&&je.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=je.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(ue){var Ee=ue;this._pendingSegments[Ee.type].push(Ee),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var je=this._sourceBuffers[Ee.type];je&&!je.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(ue){for(var Ee in this._sourceBuffers){if(!this._sourceBuffers[Ee])continue;var je=this._sourceBuffers[Ee];if(this._mediaSource.readyState==="open")try{je.abort()}catch(an){c.e(this.TAG,an.message)}this._idrList.clear();var Ve=this._pendingSegments[Ee];if(Ve.splice(0,Ve.length),this._mediaSource.readyState==="closed")continue;for(var $e=0;$e=1&&ue-Ve.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var ue=this._mediaElement.currentTime;for(var Ee in this._sourceBuffers){var je=this._sourceBuffers[Ee];if(je){for(var Ve=je.buffered,$e=!1,wt=0;wt=this._config.autoCleanupMaxBackwardDuration){$e=!0;var an=ue-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Ee].push({start:qt,end:an})}}else Mr0&&(isNaN(Ee)||je>Ee)&&(c.v(this.TAG,"Update MediaSource duration from ".concat(Ee," to ").concat(je)),this._mediaSource.duration=je),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var ue in this._pendingRemoveRanges){if(!this._sourceBuffers[ue]||this._sourceBuffers[ue].updating)continue;for(var Ee=this._sourceBuffers[ue],je=this._pendingRemoveRanges[ue];je.length&&!Ee.updating;){var Ve=je.shift();Ee.remove(Ve.start,Ve.end)}}}},{key:"_doAppendSegments",value:function(){var ue=this._pendingSegments;for(var Ee in ue){if(!this._sourceBuffers[Ee]||this._sourceBuffers[Ee].updating)continue;if(ue[Ee].length>0){var je=ue[Ee].shift();if(je.timestampOffset){var Ve=this._sourceBuffers[Ee].timestampOffset,$e=je.timestampOffset/1e3,wt=Math.abs(Ve-$e);wt>.1&&(c.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Ve," to ").concat($e)),this._sourceBuffers[Ee].timestampOffset=$e),delete je.timestampOffset}if(!je.data||je.data.byteLength===0)continue;try{this._sourceBuffers[Ee].appendBuffer(je.data),this._isBufferFull=!1,Ee==="video"&&je.hasOwnProperty("info")&&this._idrList.appendArray(je.info.syncPoints)}catch(qt){this._pendingSegments[Ee].unshift(je),qt.code===22?(this._isBufferFull||this._emitter.emit(nn.BUFFER_FULL),this._isBufferFull=!0):(c.e(this.TAG,qt.message),this._emitter.emit(nn.ERROR,{code:qt.code,msg:qt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(c.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var ue=this._pendingSourceBufferInit;ue.length;){var Ee=ue.shift();this.appendInitSegment(Ee,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(nn.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){c.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){c.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var ue=this._pendingSegments;return ue.video.length>0||ue.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var ue=this._pendingRemoveRanges;return ue.video.length>0||ue.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(nn.UPDATE_END)}},{key:"_onSourceBufferError",value:function(ue){c.e(this.TAG,"SourceBuffer Error: ".concat(ue))}}]),Gt}(),vr=mr,$t={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Xt={NETWORK_EXCEPTION:u.EXCEPTION,NETWORK_STATUS_CODE_INVALID:u.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:u.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:u.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:oe.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:oe.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:oe.CODEC_UNSUPPORTED},ft=function(){function Gt(st,ue){if(Object(O.a)(this,Gt),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new m.a,this._config=ee(),typeof ue=="object"&&Object.assign(this._config,ue),st.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");st.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=st,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var Ee=C.chrome&&(C.version.major<50||C.version.major===50&&C.version.build<2661);this._alwaysSeekKeyframe=!!(Ee||C.msedge||C.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(x.a)(Gt,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(ue,Ee){var je=this;ue===Ce.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){je._emitter.emit(Ce.MEDIA_INFO,je.mediaInfo)}):ue===Ce.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){je._emitter.emit(Ce.STATISTICS_INFO,je.statisticsInfo)})),this._emitter.addListener(ue,Ee)}},{key:"off",value:function(ue,Ee){this._emitter.removeListener(ue,Ee)}},{key:"attachMediaElement",value:function(ue){var Ee=this;if(this._mediaElement=ue,ue.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),ue.addEventListener("seeking",this.e.onvSeeking),ue.addEventListener("canplay",this.e.onvCanPlay),ue.addEventListener("stalled",this.e.onvStalled),ue.addEventListener("progress",this.e.onvProgress),this._msectl=new vr(this._config),this._msectl.on(nn.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(nn.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(nn.SOURCE_OPEN,function(){Ee._mseSourceOpened=!0,Ee._hasPendingLoad&&(Ee._hasPendingLoad=!1,Ee.load())}),this._msectl.on(nn.ERROR,function(je){Ee._emitter.emit(Ce.ERROR,$t.MEDIA_ERROR,Xt.MEDIA_MSE_ERROR,je)}),this._msectl.attachMediaElement(ue),this._pendingSeekTime!=null)try{ue.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(je){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var ue=this;if(!this._mediaElement)throw new s("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new s("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new rr(this._mediaDataSource,this._config),this._transmuxer.on(Re.INIT_SEGMENT,function(Ee,je){ue._msectl.appendInitSegment(je)}),this._transmuxer.on(Re.MEDIA_SEGMENT,function(Ee,je){if(ue._msectl.appendMediaSegment(je),ue._config.lazyLoad&&!ue._config.isLive){var Ve=ue._mediaElement.currentTime;je.info.endDts>=(Ve+ue._config.lazyLoadMaxDuration)*1e3&&(ue._progressChecker==null&&(c.v(ue.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),ue._suspendTransmuxer()))}}),this._transmuxer.on(Re.LOADING_COMPLETE,function(){ue._msectl.endOfStream(),ue._emitter.emit(Ce.LOADING_COMPLETE)}),this._transmuxer.on(Re.RECOVERED_EARLY_EOF,function(){ue._emitter.emit(Ce.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Re.IO_ERROR,function(Ee,je){ue._emitter.emit(Ce.ERROR,$t.NETWORK_ERROR,Ee,je)}),this._transmuxer.on(Re.DEMUX_ERROR,function(Ee,je){ue._emitter.emit(Ce.ERROR,$t.MEDIA_ERROR,Ee,{code:-1,msg:je})}),this._transmuxer.on(Re.MEDIA_INFO,function(Ee){ue._mediaInfo=Ee,ue._emitter.emit(Ce.MEDIA_INFO,Object.assign({},Ee))}),this._transmuxer.on(Re.METADATA_ARRIVED,function(Ee){ue._emitter.emit(Ce.METADATA_ARRIVED,Ee)}),this._transmuxer.on(Re.SCRIPTDATA_ARRIVED,function(Ee){ue._emitter.emit(Ce.SCRIPTDATA_ARRIVED,Ee)}),this._transmuxer.on(Re.STATISTICS_INFO,function(Ee){ue._statisticsInfo=ue._fillStatisticsInfo(Ee),ue._emitter.emit(Ce.STATISTICS_INFO,Object.assign({},ue._statisticsInfo))}),this._transmuxer.on(Re.RECOMMEND_SEEKPOINT,function(Ee){ue._mediaElement&&!ue._config.accurateSeek&&(ue._requestSetTime=!0,ue._mediaElement.currentTime=Ee/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(ue){if(ue.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return ue;var Ee=!0,je=0,Ve=0;if(this._mediaElement.getVideoPlaybackQuality){var $e=this._mediaElement.getVideoPlaybackQuality();je=$e.totalVideoFrames,Ve=$e.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(je=this._mediaElement.webkitDecodedFrameCount,Ve=this._mediaElement.webkitDroppedFrameCount):Ee=!1;return Ee&&(ue.decodedFrames=je,ue.droppedFrames=Ve),ue}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var ue=this._mediaElement.buffered,Ee=this._mediaElement.currentTime,je=0,Ve=0,$e=0;$e=Ee+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(c.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){c.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var ue=this._mediaElement.currentTime,Ee=this._mediaElement.buffered,je=!1,Ve=0;Ve=$e&&ue=wt-this._config.lazyLoadRecoverDuration&&(je=!0);break}}je&&(window.clearInterval(this._progressChecker),this._progressChecker=null,je&&(c.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(ue){for(var Ee=this._mediaElement.buffered,je=0;je=Ve&&ue<$e)return!0}return!1}},{key:"_internalSeek",value:function(ue){var Ee=this._isTimepointBuffered(ue),je=!1,Ve=0;if(ue<1&&this._mediaElement.buffered.length>0){var $e=this._mediaElement.buffered.start(0);($e<1&&ue<$e||C.safari)&&(je=!0,Ve=C.safari?.1:$e)}if(je)this._requestSetTime=!0,this._mediaElement.currentTime=Ve;else if(Ee){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=ue;else{var wt=this._msectl.getNearestKeyframe(Math.floor(ue*1e3));this._requestSetTime=!0,wt!=null?this._mediaElement.currentTime=wt.dts/1e3:this._mediaElement.currentTime=ue}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(ue),this._transmuxer.seek(Math.floor(ue*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=ue)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var ue=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(ue)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(ue),this._transmuxer.seek(Math.floor(ue*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=ue))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(ue){var Ee=this._mediaElement;if(ue||!this._receivedCanPlay||Ee.readyState<2){var je=Ee.buffered;je.length>0&&Ee.currentTime0){var Ve=je.start(0);if(Ve<1&&Ee0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(ue){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ce.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ce.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(ue){this._mediaElement.volume=ue}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(ue){this._mediaElement.muted=ue}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(ue){this._mediaElement?this._mediaElement.currentTime=ue:this._pendingSeekTime=ue}},{key:"mediaInfo",get:function(){var ue=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Ee={mimeType:ue+this._mediaDataSource.type};return this._mediaElement&&(Ee.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Ee.width=this._mediaElement.videoWidth,Ee.height=this._mediaElement.videoHeight)),Ee}},{key:"statisticsInfo",get:function(){var ue={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return ue;var Ee=!0,je=0,Ve=0;if(this._mediaElement.getVideoPlaybackQuality){var $e=this._mediaElement.getVideoPlaybackQuality();je=$e.totalVideoFrames,Ve=$e.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(je=this._mediaElement.webkitDecodedFrameCount,Ve=this._mediaElement.webkitDroppedFrameCount):Ee=!1;return Ee&&(ue.decodedFrames=je,ue.droppedFrames=Ve),ue}}]),Gt}(),Dn=yn;v.install();function Un(Gt,st){var ue=Gt;if(ue==null||typeof ue!="object")throw new t("MediaDataSource must be an javascript object!");if(!ue.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(ue.type){case"flv":return new Ur(ue,st);default:return new Dn(ue,st)}}function wi(){return ie.supportMSEH264Playback()}function Rn(){return ie.getFeatureList()}var kn={};kn.createPlayer=Un,kn.isSupported=wi,kn.getFeatureList=Rn,kn.BaseLoader=h,kn.LoaderStatus=l,kn.LoaderErrors=u,kn.Events=Ce,kn.ErrorTypes=$t,kn.ErrorDetails=Xt,kn.FlvPlayer=Ur,kn.NativePlayer=Dn,kn.LoggingControl=He,Object.defineProperty(kn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Vn=P.a=kn},GVMX:function(U,P,d){var O=d("JEkh"),x=O.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});U.exports=x},GdRQ:function(U,P,d){"use strict";function O(E){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(w){return typeof w}:O=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},O(E)}Object.defineProperty(P,"__esModule",{value:!0}),P.isMac=l,P.isWindows=u,P.isIOS=h,P.isSafari=p,P.isIE=g,P.isEdge=A,P.isFirefox=y,P.hasScrollbarGutter=P.supportsImageMetadata=P.supportsCursorURIs=P.dragThreshold=P.isTouchDevice=void 0;var x=v(d("Lo0S"));function T(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return T=function(){return E},E}function v(E){if(E&&E.__esModule)return E;if(E===null||O(E)!=="object"&&typeof E!="function")return{default:E};var C=T();if(C&&C.has(E))return C.get(E);var w={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in E)if(Object.prototype.hasOwnProperty.call(E,I)){var _=b?Object.getOwnPropertyDescriptor(E,I):null;_&&(_.get||_.set)?Object.defineProperty(w,I,_):w[I]=E[I]}return w.default=E,C&&C.set(E,w),w}var S="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;P.isTouchDevice=S,window.addEventListener("touchstart",function E(){P.isTouchDevice=S=!0,window.removeEventListener("touchstart",E,!1)},!1);var m=10*(window.devicePixelRatio||1);P.dragThreshold=m;var f=!1;try{var c=document.createElement("canvas");c.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',c.style.cursor.indexOf("url")===0?(x.Info("Data URI scheme cursor supported"),f=!0):x.Warn("Data URI scheme cursor not supported")}catch(E){x.Error("Data URI scheme cursor test exception: "+E)}var o=f;P.supportsCursorURIs=o;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(E){}var a=r;P.supportsImageMetadata=a;var n=!0;try{var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",document.body.appendChild(e);var s=document.createElement("div");e.appendChild(s);var t=e.offsetWidth-s.offsetWidth;e.parentNode.removeChild(e),n=t!=0}catch(E){x.Error("Scrollbar test exception: "+E)}var i=n;P.hasScrollbarGutter=i;function l(){return navigator&&!!/mac/i.exec(navigator.platform)}function u(){return navigator&&!!/win/i.exec(navigator.platform)}function h(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function p(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function g(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function A(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function y(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(U,P,d){var O=d("bYtY"),x=d("6Ic6"),T=d("IwbS"),v=d("y+Vt"),S=d("sK/D"),m=S.createClipPath,f=["itemStyle"],c=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],r=x.extend({type:"candlestick",render:function(p,g,A){this.group.removeClipPath(),this._updateDrawMode(p),this._isLargeDraw?this._renderLarge(p):this._renderNormal(p)},incrementalPrepareRender:function(p,g,A){this._clear(),this._updateDrawMode(p)},incrementalRender:function(p,g,A,y){this._isLargeDraw?this._incrementalRenderLarge(p,g):this._incrementalRenderNormal(p,g)},_updateDrawMode:function(p){var g=p.pipelineContext.large;(this._isLargeDraw==null||g^this._isLargeDraw)&&(this._isLargeDraw=g,this._clear())},_renderNormal:function(p){var g=p.getData(),A=this._data,y=this.group,E=g.getLayout("isSimpleBox"),C=p.get("clip",!0),w=p.coordinateSystem,b=w.getArea&&w.getArea();this._data||y.removeAll(),g.diff(A).add(function(I){if(g.hasValue(I)){var _,L=g.getItemLayout(I);if(C&&e(b,L))return;_=n(L,I,!0),T.initProps(_,{shape:{points:L.ends}},p,I),s(_,g,I,E),y.add(_),g.setItemGraphicEl(I,_)}}).update(function(I,_){var L=A.getItemGraphicEl(_);if(!g.hasValue(I)){y.remove(L);return}var D=g.getItemLayout(I);if(C&&e(b,D)){y.remove(L);return}L?T.updateProps(L,{shape:{points:D.ends}},p,I):L=n(D,I),s(L,g,I,E),y.add(L),g.setItemGraphicEl(I,L)}).remove(function(I){var _=A.getItemGraphicEl(I);_&&y.remove(_)}).execute(),this._data=g},_renderLarge:function(p){this._clear(),l(p,this.group);var g=p.get("clip",!0)?m(p.coordinateSystem,!1,p):null;g?this.group.setClipPath(g):this.group.removeClipPath()},_incrementalRenderNormal:function(p,g){for(var A=g.getData(),y=A.getLayout("isSimpleBox"),E;(E=p.next())!=null;){var C,w=A.getItemLayout(E);C=n(w,E),s(C,A,E,y),C.incremental=!0,this.group.add(C)}},_incrementalRenderLarge:function(p,g){l(g,this.group,!0)},remove:function(p){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:O.noop}),a=v.extend({type:"normalCandlestickBox",shape:{},buildPath:function(p,g){var A=g.points;this.__simpleBox?(p.moveTo(A[4][0],A[4][1]),p.lineTo(A[6][0],A[6][1])):(p.moveTo(A[0][0],A[0][1]),p.lineTo(A[1][0],A[1][1]),p.lineTo(A[2][0],A[2][1]),p.lineTo(A[3][0],A[3][1]),p.closePath(),p.moveTo(A[4][0],A[4][1]),p.lineTo(A[5][0],A[5][1]),p.moveTo(A[6][0],A[6][1]),p.lineTo(A[7][0],A[7][1]))}});function n(p,g,A){var y=p.ends;return new a({shape:{points:A?t(y,p):y},z2:100})}function e(p,g){for(var A=!0,y=0;y0?"P":"N",C=y.getVisual("borderColor"+E)||y.getVisual("color"+E),w=A.getModel(f).getItemStyle(o);g.useStyle(w),g.style.fill=null,g.style.stroke=C}var h=r;U.exports=h},Gev7:function(U,P,d){var O=d("bYtY"),x=d("K2GJ"),T=d("1bdT"),v=d("ni6a");function S(f){f=f||{},T.call(this,f);for(var c in f)f.hasOwnProperty(c)&&c!=="style"&&(this[c]=f[c]);this.style=new x(f.style,this),this._rect=null,this.__clipPaths=null}S.prototype={constructor:S,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(c){},afterBrush:function(c){},brush:function(c,o){},getBoundingRect:function(){},contain:function(c,o){return this.rectContain(c,o)},traverse:function(c,o){c.call(o,this)},rectContain:function(c,o){var r=this.transformCoordToLocal(c,o),a=this.getBoundingRect();return a.contain(r[0],r[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(c){return this.animate("style",c)},attrKV:function(c,o){c!=="style"?T.prototype.attrKV.call(this,c,o):this.style.set(o)},setStyle:function(c,o){return this.style.set(c,o),this.dirty(!1),this},useStyle:function(c){return this.style=new x(c,this),this.dirty(!1),this},calculateTextPosition:null},O.inherits(S,T),O.mixin(S,v);var m=S;U.exports=m},GrNh:function(U,P,d){var O=d("bYtY"),x=d("IwbS"),T=d("6Ic6");function v(r,a,n,e){var s=a.getData(),t=this.dataIndex,i=s.getName(t),l=a.get("selectedOffset");e.dispatchAction({type:"pieToggleSelect",from:r,name:i,seriesId:a.id}),s.each(function(u){S(s.getItemGraphicEl(u),s.getItemLayout(u),a.isSelected(s.getName(u)),l,n)})}function S(r,a,n,e,s){var t=(a.startAngle+a.endAngle)/2,i=Math.cos(t),l=Math.sin(t),u=n?e:0,h=[i*u,l*u];s?r.animate().when(200,{position:h}).start("bounceOut"):r.attr("position",h)}function m(r,a){x.Group.call(this);var n=new x.Sector({z2:2}),e=new x.Polyline,s=new x.Text;this.add(n),this.add(e),this.add(s),this.updateData(r,a,!0)}var f=m.prototype;f.updateData=function(r,a,n){var e=this.childAt(0),s=this.childAt(1),t=this.childAt(2),i=r.hostModel,l=r.getItemModel(a),u=r.getItemLayout(a),h=O.extend({},u);h.label=null;var p=i.getShallow("animationTypeUpdate");if(n){e.setShape(h);var g=i.getShallow("animationType");g==="scale"?(e.shape.r=u.r0,x.initProps(e,{shape:{r:u.r}},i,a)):(e.shape.endAngle=u.startAngle,x.updateProps(e,{shape:{endAngle:u.endAngle}},i,a))}else p==="expansion"?e.setShape(h):x.updateProps(e,{shape:h},i,a);var A=r.getItemVisual(a,"color");e.useStyle(O.defaults({lineJoin:"bevel",fill:A},l.getModel("itemStyle").getItemStyle())),e.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var y=l.getShallow("cursor");y&&e.attr("cursor",y),S(this,r.getItemLayout(a),i.isSelected(r.getName(a)),i.get("selectedOffset"),i.get("animation"));var E=!n&&p==="transition";this._updateLabel(r,a,E),this.highDownOnUpdate=i.get("silent")?null:function(C,w){var b=i.isAnimationEnabled()&&l.get("hoverAnimation");w==="emphasis"?(s.ignore=s.hoverIgnore,t.ignore=t.hoverIgnore,b&&(e.stopAnimation(!0),e.animateTo({shape:{r:u.r+i.get("hoverOffset")}},300,"elasticOut"))):(s.ignore=s.normalIgnore,t.ignore=t.normalIgnore,b&&(e.stopAnimation(!0),e.animateTo({shape:{r:u.r}},300,"elasticOut")))},x.setHoverStyle(this)},f._updateLabel=function(r,a,n){var e=this.childAt(1),s=this.childAt(2),t=r.hostModel,i=r.getItemModel(a),l=r.getItemLayout(a),u=l.label,h=r.getItemVisual(a,"color");if(!u||isNaN(u.x)||isNaN(u.y)){s.ignore=s.normalIgnore=s.hoverIgnore=e.ignore=e.normalIgnore=e.hoverIgnore=!0;return}var p={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},g={x:u.x,y:u.y};n?(x.updateProps(e,{shape:p},t,a),x.updateProps(s,{style:g},t,a)):(e.attr({shape:p}),s.attr({style:g})),s.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var A=i.getModel("label"),y=i.getModel("emphasis.label"),E=i.getModel("labelLine"),C=i.getModel("emphasis.labelLine"),h=r.getItemVisual(a,"color");x.setLabelStyle(s.style,s.hoverStyle={},A,y,{labelFetcher:r.hostModel,labelDataIndex:a,defaultText:u.text,autoColor:h,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:r.getItemVisual(a,"opacity")}),s.ignore=s.normalIgnore=!A.get("show"),s.hoverIgnore=!y.get("show"),e.ignore=e.normalIgnore=!E.get("show"),e.hoverIgnore=!C.get("show"),e.setStyle({stroke:h,opacity:r.getItemVisual(a,"opacity")}),e.setStyle(E.getModel("lineStyle").getLineStyle()),e.hoverStyle=C.getModel("lineStyle").getLineStyle();var w=E.get("smooth");w&&w===!0&&(w=.4),e.setShape({smooth:w})},O.inherits(m,x.Group);var c=T.extend({type:"pie",init:function(){var r=new x.Group;this._sectorGroup=r},render:function(r,a,n,e){if(e&&e.from===this.uid)return;var s=r.getData(),t=this._data,i=this.group,l=a.get("animation"),u=!t,h=r.get("animationType"),p=r.get("animationTypeUpdate"),g=O.curry(v,this.uid,r,l,n),A=r.get("selectedMode");if(s.diff(t).add(function(b){var I=new m(s,b);u&&h!=="scale"&&I.eachChild(function(_){_.stopAnimation(!0)}),A&&I.on("click",g),s.setItemGraphicEl(b,I),i.add(I)}).update(function(b,I){var _=t.getItemGraphicEl(I);!u&&p!=="transition"&&_.eachChild(function(L){L.stopAnimation(!0)}),_.updateData(s,b),_.off("click"),A&&_.on("click",g),i.add(_),s.setItemGraphicEl(b,_)}).remove(function(b){var I=t.getItemGraphicEl(b);i.remove(I)}).execute(),l&&s.count()>0&&(u?h!=="scale":p!=="transition")){for(var y=s.getItemLayout(0),E=1;isNaN(y.startAngle)&&E=e.r0}}}),o=c;U.exports=o},Gytx:function(U,P){U.exports=function(O,x,T,v){var S=T?T.call(v,O,x):void 0;if(S!==void 0)return!!S;if(O===x)return!0;if(typeof O!="object"||!O||typeof x!="object"||!x)return!1;var m=Object.keys(O),f=Object.keys(x);if(m.length!==f.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(x),o=0;o=we&&eeLe?"true":"false","aria-posinset":Le+1,"aria-setsize":He,tabIndex:fe?-1:0},v.a.createElement("div",{className:"".concat(ie,"-first")},Pe),v.a.createElement("div",{className:"".concat(ie,"-second")},Pe)));return Ce&&(Q=Ce(Q,this.props)),Q}}]),K}(v.a.Component);function g(H,F){var K=Object.keys(H);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(H);F&&(j=j.filter(function(V){return Object.getOwnPropertyDescriptor(H,V).enumerable})),K.push.apply(K,j)}return K}function A(H){for(var F=1;F0&&!He||ee===s.a.RIGHT&&ce>0&&He?(we?ce-=.5:ce-=1,V.changeValue(ce),Y.preventDefault()):ee===s.a.LEFT&&ceHe/2||!ie&&z-Le3&&(o=d.call(o,1));for(var a=f.length,n=0;n4&&(o=d.call(o,1,o.length-1));for(var a=o[o.length-1],n=f.length,e=0;e0)throw new Error("Invalid string. Length must be a multiple of 4");var i=s.indexOf("=");i===-1&&(i=t);var l=i===t?0:4-i%4;return[i,l]}function c(s){var t=f(s),i=t[0],l=t[1];return(i+l)*3/4-l}function o(s,t,i){return(t+i)*3/4-i}function r(s){var t,i=f(s),l=i[0],u=i[1],h=new T(o(s,l,u)),p=0,g=u>0?l-4:l,A;for(A=0;A>16&255,h[p++]=t>>8&255,h[p++]=t&255;return u===2&&(t=x[s.charCodeAt(A)]<<2|x[s.charCodeAt(A+1)]>>4,h[p++]=t&255),u===1&&(t=x[s.charCodeAt(A)]<<10|x[s.charCodeAt(A+1)]<<4|x[s.charCodeAt(A+2)]>>2,h[p++]=t>>8&255,h[p++]=t&255),h}function a(s){return O[s>>18&63]+O[s>>12&63]+O[s>>6&63]+O[s&63]}function n(s,t,i){for(var l,u=[],h=t;hg?g:p+h));return l===1?(t=s[i-1],u.push(O[t>>2]+O[t<<4&63]+"==")):l===2&&(t=(s[i-2]<<8)+s[i-1],u.push(O[t>>10]+O[t>>4&63]+O[t<<2&63]+"=")),u.join("")}},HBhm:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};P.default=O},HDXh:function(U,P,d){"use strict";(function(O){/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */var x=d("H7XF"),T=d("kVK+"),v=d("49sm");P.Buffer=c,P.SlowBuffer=u,P.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=O.TYPED_ARRAY_SUPPORT!==void 0?O.TYPED_ARRAY_SUPPORT:S(),P.kMaxLength=m();function S(){try{var re=new Uint8Array(1);return re.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},re.foo()===42&&typeof re.subarray=="function"&&re.subarray(1,1).byteLength===0}catch(G){return!1}}function m(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(re,G){if(m()=m())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m().toString(16)+" bytes");return re|0}function u(re){return+re!=re&&(re=0),c.alloc(+re)}c.isBuffer=function(G){return!!(G!=null&&G._isBuffer)},c.compare=function(G,X){if(!c.isBuffer(G)||!c.isBuffer(X))throw new TypeError("Arguments must be Buffers");if(G===X)return 0;for(var J=G.length,Ae=X.length,he=0,Me=Math.min(J,Ae);he>>1;case"base64":return Q(re).length;default:if(J)return He(re).length;G=(""+G).toLowerCase(),J=!0}}c.byteLength=h;function p(re,G,X){var J=!1;if((G===void 0||G<0)&&(G=0),G>this.length)return"";if((X===void 0||X>this.length)&&(X=this.length),X<=0)return"";if(X>>>=0,G>>>=0,X<=G)return"";for(re||(re="utf8");;)switch(re){case"hex":return H(this,G,X);case"utf8":case"utf-8":return D(this,G,X);case"ascii":return B(this,G,X);case"latin1":case"binary":return M(this,G,X);case"base64":return L(this,G,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,G,X);default:if(J)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),J=!0}}c.prototype._isBuffer=!0;function g(re,G,X){var J=re[G];re[G]=re[X],re[X]=J}c.prototype.swap16=function(){var G=this.length;if(G%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var X=0;X0&&(G=this.toString("hex",0,X).match(/.{2}/g).join(" "),this.length>X&&(G+=" ... ")),""},c.prototype.compare=function(G,X,J,Ae,he){if(!c.isBuffer(G))throw new TypeError("Argument must be a Buffer");if(X===void 0&&(X=0),J===void 0&&(J=G?G.length:0),Ae===void 0&&(Ae=0),he===void 0&&(he=this.length),X<0||J>G.length||Ae<0||he>this.length)throw new RangeError("out of range index");if(Ae>=he&&X>=J)return 0;if(Ae>=he)return-1;if(X>=J)return 1;if(X>>>=0,J>>>=0,Ae>>>=0,he>>>=0,this===G)return 0;for(var Me=he-Ae,Ie=J-X,oe=Math.min(Me,Ie),pe=this.slice(Ae,he),Oe=G.slice(X,J),Ye=0;Ye2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,isNaN(X)&&(X=Ae?0:re.length-1),X<0&&(X=re.length+X),X>=re.length){if(Ae)return-1;X=re.length-1}else if(X<0)if(Ae)X=0;else return-1;if(typeof G=="string"&&(G=c.from(G,J)),c.isBuffer(G))return G.length===0?-1:y(re,G,X,J,Ae);if(typeof G=="number")return G=G&255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Ae?Uint8Array.prototype.indexOf.call(re,G,X):Uint8Array.prototype.lastIndexOf.call(re,G,X):y(re,[G],X,J,Ae);throw new TypeError("val must be string, number or Buffer")}function y(re,G,X,J,Ae){var he=1,Me=re.length,Ie=G.length;if(J!==void 0&&(J=String(J).toLowerCase(),J==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(re.length<2||G.length<2)return-1;he=2,Me/=2,Ie/=2,X/=2}function oe(et,Te){return he===1?et[Te]:et.readUInt16BE(Te*he)}var pe;if(Ae){var Oe=-1;for(pe=X;peMe&&(X=Me-Ie),pe=X;pe>=0;pe--){for(var Ye=!0,it=0;itAe&&(J=Ae)):J=Ae;var he=G.length;if(he%2!==0)throw new TypeError("Invalid hex string");J>he/2&&(J=he/2);for(var Me=0;Mehe)&&(J=he),G.length>0&&(J<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ae||(Ae="utf8");for(var Me=!1;;)switch(Ae){case"hex":return E(this,G,X,J);case"utf8":case"utf-8":return C(this,G,X,J);case"ascii":return w(this,G,X,J);case"latin1":case"binary":return b(this,G,X,J);case"base64":return I(this,G,X,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,G,X,J);default:if(Me)throw new TypeError("Unknown encoding: "+Ae);Ae=(""+Ae).toLowerCase(),Me=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(re,G,X){return G===0&&X===re.length?x.fromByteArray(re):x.fromByteArray(re.slice(G,X))}function D(re,G,X){X=Math.min(re.length,X);for(var J=[],Ae=G;Ae239?4:he>223?3:he>191?2:1;if(Ae+Ie<=X){var oe,pe,Oe,Ye;switch(Ie){case 1:he<128&&(Me=he);break;case 2:oe=re[Ae+1],(oe&192)===128&&(Ye=(he&31)<<6|oe&63,Ye>127&&(Me=Ye));break;case 3:oe=re[Ae+1],pe=re[Ae+2],(oe&192)===128&&(pe&192)===128&&(Ye=(he&15)<<12|(oe&63)<<6|pe&63,Ye>2047&&(Ye<55296||Ye>57343)&&(Me=Ye));break;case 4:oe=re[Ae+1],pe=re[Ae+2],Oe=re[Ae+3],(oe&192)===128&&(pe&192)===128&&(Oe&192)===128&&(Ye=(he&15)<<18|(oe&63)<<12|(pe&63)<<6|Oe&63,Ye>65535&&Ye<1114112&&(Me=Ye))}}Me===null?(Me=65533,Ie=1):Me>65535&&(Me-=65536,J.push(Me>>>10&1023|55296),Me=56320|Me&1023),J.push(Me),Ae+=Ie}return R(J)}var N=4096;function R(re){var G=re.length;if(G<=N)return String.fromCharCode.apply(String,re);for(var X="",J=0;JJ)&&(X=J);for(var Ae="",he=G;heJ&&(G=J),X<0?(X+=J,X<0&&(X=0)):X>J&&(X=J),XX)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUIntLE=function(G,X,J){G=G|0,X=X|0,J||K(G,X,this.length);for(var Ae=this[G],he=1,Me=0;++Me0&&(he*=256);)Ae+=this[G+--X]*he;return Ae},c.prototype.readUInt8=function(G,X){return X||K(G,1,this.length),this[G]},c.prototype.readUInt16LE=function(G,X){return X||K(G,2,this.length),this[G]|this[G+1]<<8},c.prototype.readUInt16BE=function(G,X){return X||K(G,2,this.length),this[G]<<8|this[G+1]},c.prototype.readUInt32LE=function(G,X){return X||K(G,4,this.length),(this[G]|this[G+1]<<8|this[G+2]<<16)+this[G+3]*16777216},c.prototype.readUInt32BE=function(G,X){return X||K(G,4,this.length),this[G]*16777216+(this[G+1]<<16|this[G+2]<<8|this[G+3])},c.prototype.readIntLE=function(G,X,J){G=G|0,X=X|0,J||K(G,X,this.length);for(var Ae=this[G],he=1,Me=0;++Me=he&&(Ae-=Math.pow(2,8*X)),Ae},c.prototype.readIntBE=function(G,X,J){G=G|0,X=X|0,J||K(G,X,this.length);for(var Ae=X,he=1,Me=this[G+--Ae];Ae>0&&(he*=256);)Me+=this[G+--Ae]*he;return he*=128,Me>=he&&(Me-=Math.pow(2,8*X)),Me},c.prototype.readInt8=function(G,X){return X||K(G,1,this.length),this[G]&128?(255-this[G]+1)*-1:this[G]},c.prototype.readInt16LE=function(G,X){X||K(G,2,this.length);var J=this[G]|this[G+1]<<8;return J&32768?J|4294901760:J},c.prototype.readInt16BE=function(G,X){X||K(G,2,this.length);var J=this[G+1]|this[G]<<8;return J&32768?J|4294901760:J},c.prototype.readInt32LE=function(G,X){return X||K(G,4,this.length),this[G]|this[G+1]<<8|this[G+2]<<16|this[G+3]<<24},c.prototype.readInt32BE=function(G,X){return X||K(G,4,this.length),this[G]<<24|this[G+1]<<16|this[G+2]<<8|this[G+3]},c.prototype.readFloatLE=function(G,X){return X||K(G,4,this.length),T.read(this,G,!0,23,4)},c.prototype.readFloatBE=function(G,X){return X||K(G,4,this.length),T.read(this,G,!1,23,4)},c.prototype.readDoubleLE=function(G,X){return X||K(G,8,this.length),T.read(this,G,!0,52,8)},c.prototype.readDoubleBE=function(G,X){return X||K(G,8,this.length),T.read(this,G,!1,52,8)};function j(re,G,X,J,Ae,he){if(!c.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(G>Ae||Gre.length)throw new RangeError("Index out of range")}c.prototype.writeUIntLE=function(G,X,J,Ae){if(G=+G,X=X|0,J=J|0,!Ae){var he=Math.pow(2,8*J)-1;j(this,G,X,J,he,0)}var Me=1,Ie=0;for(this[X]=G&255;++Ie=0&&(Ie*=256);)this[X+Me]=G/Ie&255;return X+J},c.prototype.writeUInt8=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,1,255,0),c.TYPED_ARRAY_SUPPORT||(G=Math.floor(G)),this[X]=G&255,X+1};function V(re,G,X,J){G<0&&(G=65535+G+1);for(var Ae=0,he=Math.min(re.length-X,2);Ae>>(J?Ae:1-Ae)*8}c.prototype.writeUInt16LE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[X]=G&255,this[X+1]=G>>>8):V(this,G,X,!0),X+2},c.prototype.writeUInt16BE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[X]=G>>>8,this[X+1]=G&255):V(this,G,X,!1),X+2};function z(re,G,X,J){G<0&&(G=4294967295+G+1);for(var Ae=0,he=Math.min(re.length-X,4);Ae>>(J?Ae:3-Ae)*8&255}c.prototype.writeUInt32LE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[X+3]=G>>>24,this[X+2]=G>>>16,this[X+1]=G>>>8,this[X]=G&255):z(this,G,X,!0),X+4},c.prototype.writeUInt32BE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[X]=G>>>24,this[X+1]=G>>>16,this[X+2]=G>>>8,this[X+3]=G&255):z(this,G,X,!1),X+4},c.prototype.writeIntLE=function(G,X,J,Ae){if(G=+G,X=X|0,!Ae){var he=Math.pow(2,8*J-1);j(this,G,X,J,he-1,-he)}var Me=0,Ie=1,oe=0;for(this[X]=G&255;++Me>0)-oe&255;return X+J},c.prototype.writeIntBE=function(G,X,J,Ae){if(G=+G,X=X|0,!Ae){var he=Math.pow(2,8*J-1);j(this,G,X,J,he-1,-he)}var Me=J-1,Ie=1,oe=0;for(this[X+Me]=G&255;--Me>=0&&(Ie*=256);)G<0&&oe===0&&this[X+Me+1]!==0&&(oe=1),this[X+Me]=(G/Ie>>0)-oe&255;return X+J},c.prototype.writeInt8=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,1,127,-128),c.TYPED_ARRAY_SUPPORT||(G=Math.floor(G)),G<0&&(G=255+G+1),this[X]=G&255,X+1},c.prototype.writeInt16LE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[X]=G&255,this[X+1]=G>>>8):V(this,G,X,!0),X+2},c.prototype.writeInt16BE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[X]=G>>>8,this[X+1]=G&255):V(this,G,X,!1),X+2},c.prototype.writeInt32LE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[X]=G&255,this[X+1]=G>>>8,this[X+2]=G>>>16,this[X+3]=G>>>24):z(this,G,X,!0),X+4},c.prototype.writeInt32BE=function(G,X,J){return G=+G,X=X|0,J||j(this,G,X,4,2147483647,-2147483648),G<0&&(G=4294967295+G+1),c.TYPED_ARRAY_SUPPORT?(this[X]=G>>>24,this[X+1]=G>>>16,this[X+2]=G>>>8,this[X+3]=G&255):z(this,G,X,!1),X+4};function Y(re,G,X,J,Ae,he){if(X+J>re.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function ee(re,G,X,J,Ae){return Ae||Y(re,G,X,4,34028234663852886e22,-34028234663852886e22),T.write(re,G,X,J,23,4),X+4}c.prototype.writeFloatLE=function(G,X,J){return ee(this,G,X,!0,J)},c.prototype.writeFloatBE=function(G,X,J){return ee(this,G,X,!1,J)};function fe(re,G,X,J,Ae){return Ae||Y(re,G,X,8,17976931348623157e292,-17976931348623157e292),T.write(re,G,X,J,52,8),X+8}c.prototype.writeDoubleLE=function(G,X,J){return fe(this,G,X,!0,J)},c.prototype.writeDoubleBE=function(G,X,J){return fe(this,G,X,!1,J)},c.prototype.copy=function(G,X,J,Ae){if(J||(J=0),!Ae&&Ae!==0&&(Ae=this.length),X>=G.length&&(X=G.length),X||(X=0),Ae>0&&Ae=this.length)throw new RangeError("sourceStart out of bounds");if(Ae<0)throw new RangeError("sourceEnd out of bounds");Ae>this.length&&(Ae=this.length),G.length-X=0;--Me)G[Me+X]=this[Me+J];else if(he<1e3||!c.TYPED_ARRAY_SUPPORT)for(Me=0;Me>>0,J=J===void 0?this.length:J>>>0,G||(G=0);var Me;if(typeof G=="number")for(Me=X;Me55295&&X<57344){if(!Ae){if(X>56319){(G-=3)>-1&&he.push(239,191,189);continue}else if(Me+1===J){(G-=3)>-1&&he.push(239,191,189);continue}Ae=X;continue}if(X<56320){(G-=3)>-1&&he.push(239,191,189),Ae=X;continue}X=(Ae-55296<<10|X-56320)+65536}else Ae&&((G-=3)>-1&&he.push(239,191,189));if(Ae=null,X<128){if((G-=1)<0)break;he.push(X)}else if(X<2048){if((G-=2)<0)break;he.push(X>>6|192,X&63|128)}else if(X<65536){if((G-=3)<0)break;he.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((G-=4)<0)break;he.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return he}function ce(re){for(var G=[],X=0;X>8,Ae=X%256,he.push(Ae),he.push(J);return he}function Q(re){return x.toByteArray(we(re))}function me(re,G,X,J){for(var Ae=0;Ae=G.length||Ae>=re.length);++Ae)G[Ae+X]=re[Ae];return Ae}function Je(re){return re!==re}}).call(this,d("yLpj"))},"HF/U":function(U,P,d){var O=d("QBsz");function x(v){var S=v.coordinateSystem;if(S&&S.type!=="view")return;var m=v.getGraph();m.eachNode(function(f){var c=f.getModel();f.setLayout([+c.get("x"),+c.get("y")])}),T(m)}function T(v){v.eachEdge(function(S){var m=S.getModel().get("lineStyle.curveness")||0,f=O.clone(S.node1.getLayout()),c=O.clone(S.node2.getLayout()),o=[f,c];+m&&o.push([(f[0]+c[0])/2-(f[1]-c[1])*m,(f[1]+c[1])/2-(c[0]-f[0])*m]),S.setLayout(o)})}P.simpleLayout=x,P.simpleLayoutEdge=T},"HM/N":function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("bYtY"),v=d("/SeX"),S=d("OELB"),m=S.parsePercent,f=d("aX7z"),c=f.createScaleByModel,o=f.niceScaleExtent,r=d("IDmD"),a=d("7hqr"),n=a.getStackedDimension;d("ePAk");function e(l,u,h){var p=u.get("center"),g=h.getWidth(),A=h.getHeight();l.cx=m(p[0],g),l.cy=m(p[1],A);var y=l.getRadiusAxis(),E=Math.min(g,A)/2,C=u.get("radius");C==null?C=[0,"100%"]:T.isArray(C)||(C=[0,C]),C=[m(C[0],E),m(C[1],E)],y.inverse?y.setExtent(C[1],C[0]):y.setExtent(C[0],C[1])}function s(l,u){var h=this,p=h.getAngleAxis(),g=h.getRadiusAxis();if(p.scale.setExtent(Infinity,-Infinity),g.scale.setExtent(Infinity,-Infinity),l.eachSeries(function(E){if(E.coordinateSystem===h){var C=E.getData();T.each(C.mapDimension("radius",!0),function(w){g.scale.unionExtentFromData(C,n(C,w))}),T.each(C.mapDimension("angle",!0),function(w){p.scale.unionExtentFromData(C,n(C,w))})}}),o(p.scale,p.model),o(g.scale,g.model),p.type==="category"&&!p.onBand){var A=p.getExtent(),y=360/p.scale.count();p.inverse?A[1]+=y:A[1]-=y,p.setExtent(A[0],A[1])}}function t(l,u){if(l.type=u.get("type"),l.scale=c(u),l.onBand=u.get("boundaryGap")&&l.type==="category",l.inverse=u.get("inverse"),u.mainType==="angleAxis"){l.inverse^=u.get("clockwise");var h=u.get("startAngle");l.setExtent(h,h+(l.inverse?-360:360))}u.axis=l,l.model=u}var i={dimensions:v.prototype.dimensions,create:function(l,u){var h=[];return l.eachComponent("polar",function(p,g){var A=new v(g);A.update=s;var y=A.getRadiusAxis(),E=A.getAngleAxis(),C=p.findAxisModel("radiusAxis"),w=p.findAxisModel("angleAxis");t(y,C),t(E,w),e(A,p,u),h.push(A),p.coordinateSystem=A,A.model=p}),l.eachSeries(function(p){if(p.get("coordinateSystem")==="polar"){var g=l.queryComponents({mainType:"polar",index:p.get("polarIndex"),id:p.get("polarId")})[0];p.coordinateSystem=g.coordinateSystem}}),h}};r.register("polar",i)},HQEm:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("Sj0X"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},HjIi:function(U,P,d){var O=d("bYtY"),x=d("OELB"),T=x.parsePercent,v=d("7hqr"),S=v.isDimensionStacked;function m(a){return a.get("stack")||"__ec_stack_"+a.seriesIndex}function f(a,n){return n.dim+a.model.componentIndex}function c(a,n,e){var s={},t=o(O.filter(n.getSeriesByType(a),function(i){return!n.isSeriesFiltered(i)&&i.coordinateSystem&&i.coordinateSystem.type==="polar"}));n.eachSeriesByType(a,function(i){if(i.coordinateSystem.type!=="polar")return;var l=i.getData(),u=i.coordinateSystem,h=u.getBaseAxis(),p=f(u,h),g=m(i),A=t[p][g],y=A.offset,E=A.width,C=u.getOtherAxis(h),w=i.coordinateSystem.cx,b=i.coordinateSystem.cy,I=i.get("barMinHeight")||0,_=i.get("barMinAngle")||0;s[g]=s[g]||[];for(var L=l.mapDimension(C.dim),D=l.mapDimension(h.dim),N=S(l,L),R=h.dim!=="radius"||!i.get("roundCap",!0),B=C.getExtent()[0],M=0,H=l.count();M=0?"p":"n",V=B;N&&(s[g][K]||(s[g][K]={p:B,n:B}),V=s[g][K][j]);var z,Y,ee,fe;if(C.dim==="radius"){var ie=C.dataToRadius(F)-B,we=h.dataToAngle(K);Math.abs(ie)=f/3?1:2),a=v.y-m(o)*c*(c>=f/3?1:2);o=v.angle-Math.PI/2,T.moveTo(r,a),T.lineTo(v.x+S(o)*c,v.y+m(o)*c),T.lineTo(v.x+S(v.angle)*f,v.y+m(v.angle)*f),T.lineTo(v.x-S(o)*c,v.y-m(o)*c),T.lineTo(r,a);return}});U.exports=x},Hxpc:function(U,P,d){var O=d("bYtY"),x=d("4NO4"),T=d("bLfw"),v=d("Qxkt"),S=d("cCMj"),m=d("7uqq"),f=T.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){T.prototype.init.apply(this,arguments),x.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,r=this;o.regions=m.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=O.reduce(o.regions||[],function(a,n){return n.name&&a.set(n.name,new v(n,r)),a},O.createHashMap()),this.updateSelectedMap(o.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(o){return this._optionModelMap.get(o)||new v(null,this,this.ecModel)},getFormattedLabel:function(o,r){var a=this.getRegionModel(o),n=a.get("label"+(r==="normal"?".":r+".")+"formatter"),e={name:o};if(typeof n=="function")return e.status=r,n(e);if(typeof n=="string")return n.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});O.mixin(f,S);var c=f;U.exports=c},"I+77":function(U,P,d){var O=d("ProS");d("h54F"),d("lwQL"),d("10cm");var x=d("Z1r0"),T=d("f5Yq"),v=d("KUOm"),S=d("3m61"),m=d("01d+"),f=d("rdor"),c=d("WGYa"),o=d("ewwo");O.registerProcessor(x),O.registerVisual(T("graph","circle",null)),O.registerVisual(v),O.registerVisual(S),O.registerLayout(m),O.registerLayout(O.PRIORITY.VISUAL.POST_CHART_LAYOUT,f),O.registerLayout(c),O.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(U,P,d){var O=d("bYtY"),x=d("eIcI"),T=d("ieMj"),v=d("OELB"),S=d("aX7z"),m=S.getScaleExtent,f=S.niceScaleExtent,c=d("IDmD"),o=d("jCoz");function r(n,e,s){this._model=n,this.dimensions=[],this._indicatorAxes=O.map(n.getIndicatorModels(),function(t,i){var l="indicator_"+i,u=new x(l,t.get("axisType")==="log"?new o:new T);return u.name=t.get("name"),u.model=t,t.axis=u,this.dimensions.push(l),u},this),this.resize(n,s),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(n,e){var s=this._indicatorAxes[e];return this.coordToPoint(s.dataToCoord(n),e)},r.prototype.coordToPoint=function(n,e){var s=this._indicatorAxes[e],t=s.angle,i=this.cx+n*Math.cos(t),l=this.cy-n*Math.sin(t);return[i,l]},r.prototype.pointToData=function(n){var e=n[0]-this.cx,s=n[1]-this.cy,t=Math.sqrt(e*e+s*s);e/=t,s/=t;for(var i=Math.atan2(-s,e),l=Infinity,u,h=-1,p=0;pp[0]&&isFinite(b)&&isFinite(p[0]))}else{var I=A.getTicks().length-1;I>i&&(C=l(C));var w=Math.ceil(p[1]/C)*C,b=v.round(w-C*i);A.setExtent(b,w),A.setInterval(C)}})},r.dimensions=[],r.create=function(n,e){var s=[];return n.eachComponent("radar",function(t){var i=new r(t,n,e);s.push(i),t.coordinateSystem=i}),n.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=s[t.get("radarIndex")||0])}),s},c.register("radar",r);var a=r;U.exports=a},"I3/A":function(U,P,d){var O=d("bYtY"),x=d("YXkt"),T=d("c2i1"),v=d("Mdki"),S=d("sdST"),m=d("IDmD"),f=d("MwEJ");function c(o,r,a,n,e){for(var s=new T(n),t=0;t "+g)),u++)}var A=a.get("coordinateSystem"),y;if(A==="cartesian2d"||A==="polar")y=f(o,a);else{var E=m.get(A),C=E&&E.type!=="view"?E.dimensions||[]:[];O.indexOf(C,"value")<0&&C.concat(["value"]);var w=S(o,{coordDimensions:C});y=new x(w,a),y.initData(o)}var b=new x(["value"],a);return b.initData(l,i),e&&e(y,b),v({mainData:y,struct:s,structAttr:"graph",datas:{node:y,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),s.update(),s}U.exports=c},I8Z2:function(U,P,d){"use strict";d.d(P,"a",function(){return v}),d.d(P,"b",function(){return e}),d.d(P,"c",function(){return t});var O=d("q1tI"),x=function(){var i=function(u,h){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,g){p.__proto__=g}||function(p,g){for(var A in g)g.hasOwnProperty(A)&&(p[A]=g[A])},i(u,h)};return function(l,u){i(l,u);function h(){this.constructor=l}l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),T=O.createContext(null),v=function(i){x(l,i);function l(){return i!==null&&i.apply(this,arguments)||this}return l.prototype.render=function(){return O.createElement(T.Provider,{value:this.props.store},this.props.children)},l}(O.Component),S=d("Gytx"),m=d.n(S),f=d("2mql"),c=d.n(f),o=function(){var i=function(u,h){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,g){p.__proto__=g}||function(p,g){for(var A in g)g.hasOwnProperty(A)&&(p[A]=g[A])},i(u,h)};return function(l,u){i(l,u);function h(){this.constructor=l}l.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),r=function(){return r=Object.assign||function(i){for(var l,u=1,h=arguments.length;uthis._ux||l(y-this._yi)>this._uy||this._len<5;return this.addData(f.L,A,y),this._ctx&&E&&(this._needsDash()?this._dashedLineTo(A,y):this._ctx.lineTo(A,y)),E&&(this._xi=A,this._yi=y),this},bezierCurveTo:function(A,y,E,C,w,b){return this.addData(f.C,A,y,E,C,w,b),this._ctx&&(this._needsDash()?this._dashedBezierTo(A,y,E,C,w,b):this._ctx.bezierCurveTo(A,y,E,C,w,b)),this._xi=w,this._yi=b,this},quadraticCurveTo:function(A,y,E,C){return this.addData(f.Q,A,y,E,C),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(A,y,E,C):this._ctx.quadraticCurveTo(A,y,E,C)),this._xi=E,this._yi=C,this},arc:function(A,y,E,C,w,b){return this.addData(f.A,A,y,E,E,C,w-C,0,b?0:1),this._ctx&&this._ctx.arc(A,y,E,C,w,b),this._xi=s(w)*E+A,this._yi=t(w)*E+y,this},arcTo:function(A,y,E,C,w){return this._ctx&&this._ctx.arcTo(A,y,E,C,w),this},rect:function(A,y,E,C){return this._ctx&&this._ctx.rect(A,y,E,C),this.addData(f.R,A,y,E,C),this},closePath:function(){this.addData(f.Z);var A=this._ctx,y=this._x0,E=this._y0;return A&&(this._needsDash()&&this._dashedLineTo(y,E),A.closePath()),this._xi=y,this._yi=E,this},fill:function(A){A&&A.fill(),this.toStatic()},stroke:function(A){A&&A.stroke(),this.toStatic()},setLineDash:function(A){if(A instanceof Array){this._lineDash=A,this._dashIdx=0;for(var y=0,E=0;Ey.length&&(this._expandData(),y=this.data);for(var E=0;E0&&R<=A||L<0&&R>=A||L===0&&(D>0&&B<=y||D<0&&B>=y);){if(F=this._dashIdx,M=w[F],R+=L*M,B+=D*M,this._dashIdx=(F+1)%H,L>0&&RI||D>0&&B<_||D<0&&B>_)continue;b[F%2?"moveTo":"lineTo"](L>=0?n(R,A):e(R,A),D>=0?n(B,y):e(B,y))}L=R-A,D=B-y,this._dashOffset=-i(L*L+D*D)},_dashedBezierTo:function(A,y,E,C,w,b){var I=this._dashSum,_=this._dashOffset,L=this._lineDash,D=this._ctx,N=this._xi,R=this._yi,B,M,H,F=O.cubicAt,K=0,j=this._dashIdx,V=L.length,z,Y,ee=0;for(_<0&&(_=I+_),_%=I,B=0;B<1;B+=.1)M=F(N,A,E,w,B+.1)-F(N,A,E,w,B),H=F(R,y,C,b,B+.1)-F(R,y,C,b,B),K+=i(M*M+H*H);for(;j_);j++);for(B=(ee-_)/K;B<=1;)z=F(N,A,E,w,B),Y=F(R,y,C,b,B),j%2?D.moveTo(z,Y):D.lineTo(z,Y),B+=L[j]/K,j=(j+1)%V;j%2!==0&&D.lineTo(w,b),M=w-z,H=b-Y,this._dashOffset=-i(M*M+H*H)},_dashedQuadraticTo:function(A,y,E,C){var w=E,b=C;E=(E+2*A)/3,C=(C+2*y)/3,A=(this._xi+2*A)/3,y=(this._yi+2*y)/3,this._dashedBezierTo(A,y,E,C,w,b)},toStatic:function(){var A=this.data;A instanceof Array&&(A.length=this._len,u&&(this.data=new Float32Array(A)))},getBoundingRect:function(){c[0]=c[1]=r[0]=r[1]=Number.MAX_VALUE,o[0]=o[1]=a[0]=a[1]=-Number.MAX_VALUE;for(var A=this.data,y=0,E=0,C=0,w=0,b=0;bL||l(_-b)>D||R===N-1)&&(A.lineTo(I,_),w=I,b=_);break;case f.C:A.bezierCurveTo(y[R++],y[R++],y[R++],y[R++],y[R++],y[R++]),w=y[R-2],b=y[R-1];break;case f.Q:A.quadraticCurveTo(y[R++],y[R++],y[R++],y[R++]),w=y[R-2],b=y[R-1];break;case f.A:var M=y[R++],H=y[R++],F=y[R++],K=y[R++],j=y[R++],V=y[R++],z=y[R++],Y=y[R++],ee=F>K?F:K,fe=F>K?1:F/K,ie=F>K?K/F:1,we=Math.abs(F-K)>.001,Ce=j+V;we?(A.translate(M,H),A.rotate(z),A.scale(fe,ie),A.arc(0,0,ee,j,Ce,1-Y),A.scale(1/fe,1/ie),A.rotate(-z),A.translate(-M,-H)):A.arc(M,H,ee,j,Ce,1-Y),R===1&&(E=s(j)*F+M,C=t(j)*K+H),w=s(Ce)*F+M,b=t(Ce)*K+H;break;case f.R:E=w=y[R],C=b=y[R+1],A.rect(y[R++],y[R++],y[R++],y[R++]);break;case f.Z:A.closePath(),w=E,b=C}}}},h.CMD=f;var p=h;U.exports=p},IUWy:function(U,P){var d={};function O(T,v){d[T]=v}function x(T){return d[T]}P.register=O,P.get=x},IWNH:function(U,P,d){var O=d("T4UG"),x=d("Bsck"),T=d("7aKB"),v=T.encodeHTML,S=d("Qxkt"),m=O.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(f){var c={name:f.name,children:f.data},o=f.leaves||{},r=new S(o,this,this.ecModel),a=x.createTree(c,this,{},n);function n(i){i.wrapMethod("getItemModel",function(l,u){var h=a.getNodeByDataIndex(u);return(!h.children.length||!h.isExpand)&&(l.parentModel=r),l})}var e=0;a.eachNode("preorder",function(i){i.depth>e&&(e=i.depth)});var s=f.expandAndCollapse,t=s&&f.initialTreeDepth>=0?f.initialTreeDepth:e;return a.root.eachNode("preorder",function(i){var l=i.hostTree.data.getRawDataItem(i.dataIndex);i.isExpand=l&&l.collapsed!=null?!l.collapsed:i.depth<=t}),a.data},getOrient:function(){var f=this.get("orient");return f==="horizontal"?f="LR":f==="vertical"&&(f="TB"),f},setZoom:function(f){this.option.zoom=f},setCenter:function(f){this.option.center=f},formatTooltip:function(f){for(var c=this.getData().tree,o=c.root.children[0],r=c.getNodeByDataIndex(f),a=r.getValue(),n=r.name;r&&r!==o;)n=r.parentNode.name+"."+n,r=r.parentNode;return v(n+(isNaN(a)||a==null?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});U.exports=m},IWp7:function(U,P,d){var O=d("bYtY"),x=d("OELB"),T=d("7aKB"),v=d("lE7J"),S=d("ieMj"),m=S.prototype,f=Math.ceil,c=Math.floor,o=1e3,r=o*60,a=r*60,n=a*24,e=function(l,u,h,p){for(;h>>1;l[g][1]h&&(A=h);var y=t.length,E=e(t,A,0,y),C=t[Math.min(E,y-1)],w=C[1];if(C[0]==="year"){var b=g/w,I=x.nice(b/l,!0);w*=I}var _=this.getSetting("useUTC")?0:new Date(+p[0]||+p[1]).getTimezoneOffset()*60*1e3,L=[Math.round(f((p[0]-_)/w)*w+_),Math.round(c((p[1]-_)/w)*w+_)];v.fixExtent(L,p),this._stepLvl=C,this._interval=w,this._niceExtent=L},parse:function(l){return+x.parseDate(l)}});O.each(["contain","normalize"],function(l){s.prototype[l]=function(u){return m[l].call(this,this.parse(u))}});var t=[["hh:mm:ss",o],["hh:mm:ss",o*5],["hh:mm:ss",o*10],["hh:mm:ss",o*15],["hh:mm:ss",o*30],[`hh:mm MM-dd`,r],[`hh:mm MM-dd`,r*5],[`hh:mm MM-dd`,r*10],[`hh:mm MM-dd`,r*15],[`hh:mm MM-dd`,r*30],[`hh:mm MM-dd`,a],[`hh:mm MM-dd`,a*2],[`hh:mm MM-dd`,a*6],[`hh:mm MM-dd`,a*12],[`MM-dd yyyy`,n],[`MM-dd yyyy`,n*2],[`MM-dd yyyy`,n*3],[`MM-dd yyyy`,n*4],[`MM-dd yyyy`,n*5],[`MM-dd yyyy`,n*6],["week",n*7],[`MM-dd yyyy`,n*10],["week",n*14],["week",n*21],["month",n*31],["week",n*42],["month",n*62],["week",n*70],["quarter",n*95],["month",n*31*4],["month",n*31*5],["half-year",n*380/2],["month",n*31*8],["month",n*31*10],["year",n*380]];s.create=function(l){return new s({useUTC:l.ecModel.get("useUTC")})};var i=s;U.exports=i},IXuL:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("MwEJ"),v=d("T4UG"),S=v.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(m,f){return T(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});U.exports=S},IXyC:function(U,P,d){var O=d("bYtY"),x=d("bLfw");d("3zoK");var T=x.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){x.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(v){var S=this.option;v&&O.merge(S,v,!0),this._initDimensions()},contains:function(v,S){var m=v.get("parallelIndex");return m!=null&&S.getComponent("parallel",m)===this},setAxisExpand:function(v){O.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(S){v.hasOwnProperty(S)&&(this.option[S]=v[S])},this)},_initDimensions:function(){var v=this.dimensions=[],S=this.parallelAxisIndex=[],m=O.filter(this.dependentModels.parallelAxis,function(f){return(f.get("parallelIndex")||0)===this.componentIndex},this);O.each(m,function(f){v.push("dim"+f.get("dim")),S.push(f.componentIndex)})}});U.exports=T},Ib8C:function(U,P,d){(function(O){(function(x,T){U.exports=P=T()})(this,function(){var x=x||function(T,v){var S;if(typeof window!="undefined"&&window.crypto&&(S=window.crypto),typeof self!="undefined"&&self.crypto&&(S=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(S=globalThis.crypto),!S&&typeof window!="undefined"&&window.msCrypto&&(S=window.msCrypto),!S&&typeof O!="undefined"&&O.crypto&&(S=O.crypto),!S&&!0)try{S=d(4)}catch(h){}var m=function(){if(S){if(typeof S.getRandomValues=="function")try{return S.getRandomValues(new Uint32Array(1))[0]}catch(p){}if(typeof S.randomBytes=="function")try{return S.randomBytes(4).readInt32LE()}catch(p){}}throw new Error("Native crypto module could not be used to get secure random number.")},f=Object.create||function(){function h(){}return function(p){var g;return h.prototype=p,g=new h,h.prototype=null,g}}(),c={},o=c.lib={},r=o.Base=function(){return{extend:function(p){var g=f(this);return p&&g.mixIn(p),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var p=this.extend();return p.init.apply(p,arguments),p},init:function(){},mixIn:function(p){for(var g in p)p.hasOwnProperty(g)&&(this[g]=p[g]);p.hasOwnProperty("toString")&&(this.toString=p.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),a=o.WordArray=r.extend({init:function(p,g){p=this.words=p||[],g!=v?this.sigBytes=g:this.sigBytes=p.length*4},toString:function(p){return(p||e).stringify(this)},concat:function(p){var g=this.words,A=p.words,y=this.sigBytes,E=p.sigBytes;if(this.clamp(),y%4)for(var C=0;C>>2]>>>24-C%4*8&255;g[y+C>>>2]|=w<<24-(y+C)%4*8}else for(var b=0;b>>2]=A[b>>>2];return this.sigBytes+=E,this},clamp:function(){var p=this.words,g=this.sigBytes;p[g>>>2]&=4294967295<<32-g%4*8,p.length=T.ceil(g/4)},clone:function(){var p=r.clone.call(this);return p.words=this.words.slice(0),p},random:function(p){for(var g=[],A=0;A>>2]>>>24-E%4*8&255;y.push((C>>>4).toString(16)),y.push((C&15).toString(16))}return y.join("")},parse:function(p){for(var g=p.length,A=[],y=0;y>>3]|=parseInt(p.substr(y,2),16)<<24-y%8*4;return new a.init(A,g/2)}},s=n.Latin1={stringify:function(p){for(var g=p.words,A=p.sigBytes,y=[],E=0;E>>2]>>>24-E%4*8&255;y.push(String.fromCharCode(C))}return y.join("")},parse:function(p){for(var g=p.length,A=[],y=0;y>>2]|=(p.charCodeAt(y)&255)<<24-y%4*8;return new a.init(A,g)}},t=n.Utf8={stringify:function(p){try{return decodeURIComponent(escape(s.stringify(p)))}catch(g){throw new Error("Malformed UTF-8 data")}},parse:function(p){return s.parse(unescape(encodeURIComponent(p)))}},i=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(p){typeof p=="string"&&(p=t.parse(p)),this._data.concat(p),this._nDataBytes+=p.sigBytes},_process:function(p){var g,A=this._data,y=A.words,E=A.sigBytes,C=this.blockSize,w=C*4,b=E/w;p?b=T.ceil(b):b=T.max((b|0)-this._minBufferSize,0);var I=b*C,_=T.min(I*4,E);if(I){for(var L=0;L=11),domSupported:typeof document!="undefined"}}U.exports=O},ItS6:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=d("eP3c"),x=T(d("1q3G"));function T(c){return c&&c.__esModule?c:{default:c}}function v(c,o){if(!(c instanceof o))throw new TypeError("Cannot call a class as a function")}function S(c,o){for(var r=0;rthis.chunkSize&&(this.chunkSize=r,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=r;var a=(0,O.inflate)(this.strm,0);if(a<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=r)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,O.inflateReset)(this.strm)}}]),c}();P.default=f},Itpr:function(U,P,d){var O=d("+TT/");function x(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var i=[t],l,u;l=i.pop();)if(u=l.children,l.isExpand&&u.length)for(var h=u.length,p=h-1;p>=0;p--){var g=u[p];g.hierNode={defaultAncestor:null,ancestor:g,prelim:0,modifier:0,change:0,shift:0,i:p,thread:null},i.push(g)}}function T(t,i){var l=t.isExpand?t.children:[],u=t.parentNode.children,h=t.hierNode.i?u[t.hierNode.i-1]:null;if(l.length){c(t);var p=(l[0].hierNode.prelim+l[l.length-1].hierNode.prelim)/2;h?(t.hierNode.prelim=h.hierNode.prelim+i(t,h),t.hierNode.modifier=t.hierNode.prelim-p):t.hierNode.prelim=p}else h&&(t.hierNode.prelim=h.hierNode.prelim+i(t,h));t.parentNode.hierNode.defaultAncestor=o(t,h,t.parentNode.hierNode.defaultAncestor||u[0],i)}function v(t){var i=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:i},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function S(t){return arguments.length?t:s}function m(t,i){var l={};return t-=Math.PI/2,l.x=i*Math.cos(t),l.y=i*Math.sin(t),l}function f(t,i){return O.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function c(t){for(var i=t.children,l=i.length,u=0,h=0;--l>=0;){var p=i[l];p.hierNode.prelim+=u,p.hierNode.modifier+=u,h+=p.hierNode.change,u+=p.hierNode.shift+h}}function o(t,i,l,u){if(i){for(var h=t,p=t,g=p.parentNode.children[0],A=i,y=h.hierNode.modifier,E=p.hierNode.modifier,C=g.hierNode.modifier,w=A.hierNode.modifier;A=r(A),p=a(p),A&&p;){h=r(h),g=a(g),h.hierNode.ancestor=t;var b=A.hierNode.prelim+w-p.hierNode.prelim-E+u(A,p);b>0&&(e(n(A,t,l),t,b),E+=b,y+=b),w+=A.hierNode.modifier,E+=p.hierNode.modifier,y+=h.hierNode.modifier,C+=g.hierNode.modifier}A&&!r(h)&&(h.hierNode.thread=A,h.hierNode.modifier+=w-y),p&&!a(g)&&(g.hierNode.thread=p,g.hierNode.modifier+=E-C,l=t)}return l}function r(t){var i=t.children;return i.length&&t.isExpand?i[i.length-1]:t.hierNode.thread}function a(t){var i=t.children;return i.length&&t.isExpand?i[0]:t.hierNode.thread}function n(t,i,l){return t.hierNode.ancestor.parentNode===i.parentNode?t.hierNode.ancestor:l}function e(t,i,l){var u=l/(i.hierNode.i-t.hierNode.i);i.hierNode.change-=u,i.hierNode.shift+=l,i.hierNode.modifier+=l,i.hierNode.prelim+=l,t.hierNode.change+=u}function s(t,i){return t.parentNode===i.parentNode?1:2}P.init=x,P.firstWalk=T,P.secondWalk=v,P.separation=S,P.radialCoordinate=m,P.getViewRect=f},IwbS:function(U,P,d){var O=d("bYtY"),x=d("NC18"),T=d("Qe9p"),v=d("Fofx"),S=d("QBsz"),m=d("y+Vt"),f=d("DN4a"),c=d("Dagg");P.Image=c;var o=d("4fz+");P.Group=o;var r=d("dqUG");P.Text=r;var a=d("2fw6");P.Circle=a;var n=d("SqI9");P.Sector=n;var e=d("RXMa");P.Ring=e;var s=d("h7HQ");P.Polygon=s;var t=d("1Jh7");P.Polyline=t;var i=d("x6Kt");P.Rect=i;var l=d("yxFR");P.Line=l;var u=d("rA99");P.BezierCurve=u;var h=d("jTL6");P.Arc=h;var p=d("1MYJ");P.CompoundPath=p;var g=d("SKnc");P.LinearGradient=g;var A=d("3e3G");P.RadialGradient=A;var y=d("mFDi");P.BoundingRect=y;var E=d("OS9S");P.IncrementalDisplayable=E;var C=d("nPnh"),w=Math.max,b=Math.min,I={},_=1,L={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},D="emphasis",N="normal",R=1,B={},M={};function H(Xt){return m.extend(Xt)}function F(Xt,ft){return x.extendFromString(Xt,ft)}function K(Xt,ft){M[Xt]=ft}function j(Xt){if(M.hasOwnProperty(Xt))return M[Xt]}function V(Xt,ft,Ur,yn){var Dn=x.createFromString(Xt,ft);return Ur&&(yn==="center"&&(Ur=Y(Ur,Dn.getBoundingRect())),fe(Dn,Ur)),Dn}function z(Xt,ft,Ur){var yn=new c({style:{image:Xt,x:ft.x,y:ft.y,width:ft.width,height:ft.height},onload:function(Dn){if(Ur==="center"){var Un={width:Dn.width,height:Dn.height};yn.setStyle(Y(ft,Un))}}});return yn}function Y(Xt,ft){var Ur=ft.width/ft.height,yn=Xt.height*Ur,Dn;yn<=Xt.width?Dn=Xt.height:(yn=Xt.width,Dn=yn/Ur);var Un=Xt.x+Xt.width/2,wi=Xt.y+Xt.height/2;return{x:Un-yn/2,y:wi-Dn/2,width:yn,height:Dn}}var ee=x.mergePath;function fe(Xt,ft){if(!Xt.applyTransform)return;var Ur=Xt.getBoundingRect(),yn=Ur.calculateTransform(ft);Xt.applyTransform(yn)}function ie(Xt){return C.subPixelOptimizeLine(Xt.shape,Xt.shape,Xt.style),Xt}function we(Xt){return C.subPixelOptimizeRect(Xt.shape,Xt.shape,Xt.style),Xt}var Ce=C.subPixelOptimize;function Le(Xt){return Xt!=null&&Xt!=="none"}var He=O.createHashMap(),ce=0;function Pe(Xt){if(typeof Xt!="string")return Xt;var ft=He.get(Xt);return ft||(ft=T.lift(Xt,-.1),ce<1e4&&(He.set(Xt,ft),ce++)),ft}function Q(Xt){if(!Xt.__hoverStlDirty)return;Xt.__hoverStlDirty=!1;var ft=Xt.__hoverStl;if(!ft){Xt.__cachedNormalStl=Xt.__cachedNormalZ2=null;return}var Ur=Xt.__cachedNormalStl={};Xt.__cachedNormalZ2=Xt.z2;var yn=Xt.style;for(var Dn in ft)ft[Dn]!=null&&(Ur[Dn]=yn[Dn]);Ur.fill=yn.fill,Ur.stroke=yn.stroke}function me(Xt){var ft=Xt.__hoverStl;if(!ft||Xt.__highlighted)return;var Ur=Xt.__zr,yn=Xt.useHoverLayer&&Ur&&Ur.painter.type==="canvas";if(Xt.__highlighted=yn?"layer":"plain",Xt.isGroup||!Ur&&Xt.useHoverLayer)return;var Dn=Xt,Un=Xt.style;yn&&(Dn=Ur.addHover(Xt),Un=Dn.style),Nt(Un),yn||Q(Dn),Un.extendFrom(ft),Je(Un,ft,"fill"),Je(Un,ft,"stroke"),Ct(Un),yn||(Xt.dirty(!1),Xt.z2+=_)}function Je(Xt,ft,Ur){!Le(ft[Ur])&&Le(Xt[Ur])&&(Xt[Ur]=Pe(Xt[Ur]))}function re(Xt){var ft=Xt.__highlighted;if(!ft)return;if(Xt.__highlighted=!1,Xt.isGroup)return;if(ft==="layer")Xt.__zr&&Xt.__zr.removeHover(Xt);else{var Ur=Xt.style,yn=Xt.__cachedNormalStl;yn&&(Nt(Ur),Xt.setStyle(yn),Ct(Ur));var Dn=Xt.__cachedNormalZ2;Dn!=null&&Xt.z2-Dn===_&&(Xt.z2=Dn)}}function G(Xt,ft,Ur){var yn=N,Dn=N,Un;Xt.__highlighted&&(yn=D,Un=!0),ft(Xt,Ur),Xt.__highlighted&&(Dn=D,Un=!0),Xt.isGroup&&Xt.traverse(function(wi){!wi.isGroup&&ft(wi,Ur)}),Un&&Xt.__highDownOnUpdate&&Xt.__highDownOnUpdate(yn,Dn)}function X(Xt,ft){ft=Xt.__hoverStl=ft!==!1&&(Xt.hoverStyle||ft||{}),Xt.__hoverStlDirty=!0,Xt.__highlighted&&(Xt.__cachedNormalStl=null,re(Xt),me(Xt))}function J(Xt){!Ie(this,Xt)&&!this.__highByOuter&&G(this,me)}function Ae(Xt){!Ie(this,Xt)&&!this.__highByOuter&&G(this,re)}function he(Xt){this.__highByOuter|=1<<(Xt||0),G(this,me)}function Me(Xt){!(this.__highByOuter&=~(1<<(Xt||0)))&&G(this,re)}function Ie(Xt,ft){return Xt.__highDownSilentOnTouch&&ft.zrByTouch}function oe(Xt,ft){pe(Xt,!0),G(Xt,X,ft)}function pe(Xt,ft){var Ur=ft===!1;if(Xt.__highDownSilentOnTouch=Xt.highDownSilentOnTouch,Xt.__highDownOnUpdate=Xt.highDownOnUpdate,!Ur||Xt.__highDownDispatcher){var yn=Ur?"off":"on";Xt[yn]("mouseover",J)[yn]("mouseout",Ae),Xt[yn]("emphasis",he)[yn]("normal",Me),Xt.__highByOuter=Xt.__highByOuter||0,Xt.__highDownDispatcher=!Ur}}function Oe(Xt){return!!(Xt&&Xt.__highDownDispatcher)}function Ye(Xt){var ft=B[Xt];return ft==null&&R<=32&&(ft=B[Xt]=R++),ft}function it(Xt,ft,Ur,yn,Dn,Un,wi){Dn=Dn||I;var Rn=Dn.labelFetcher,kn=Dn.labelDataIndex,Vn=Dn.labelDimIndex,Gt=Dn.labelProp,st=Ur.getShallow("show"),ue=yn.getShallow("show"),Ee;(st||ue)&&(Rn&&(Ee=Rn.getFormattedLabel(kn,"normal",null,Vn,Gt)),Ee==null&&(Ee=O.isFunction(Dn.defaultText)?Dn.defaultText(kn,Dn):Dn.defaultText));var je=st?Ee:null,Ve=ue?O.retrieve2(Rn?Rn.getFormattedLabel(kn,"emphasis",null,Vn,Gt):null,Ee):null;(je!=null||Ve!=null)&&(Te(Xt,Ur,Un,Dn),Te(ft,yn,wi,Dn,!0)),Xt.text=je,ft.text=Ve}function et(Xt,ft,Ur){var yn=Xt.style;ft&&(Nt(yn),Xt.setStyle(ft),Ct(yn)),yn=Xt.__hoverStl,Ur&&yn&&(Nt(yn),O.extend(yn,Ur),Ct(yn))}function Te(Xt,ft,Ur,yn,Dn){return ze(Xt,ft,yn,Dn),Ur&&O.extend(Xt,Ur),Xt}function tt(Xt,ft,Ur){var yn={isRectText:!0},Dn;Ur===!1?Dn=!0:yn.autoColor=Ur,ze(Xt,ft,yn,Dn)}function ze(Xt,ft,Ur,yn){if(Ur=Ur||I,Ur.isRectText){var Dn;Ur.getTextPosition?Dn=Ur.getTextPosition(ft,yn):(Dn=ft.getShallow("position")||(yn?null:"inside"),Dn==="outside"&&(Dn="top")),Xt.textPosition=Dn,Xt.textOffset=ft.getShallow("offset");var Un=ft.getShallow("rotate");Un!=null&&(Un*=Math.PI/180),Xt.textRotation=Un,Xt.textDistance=O.retrieve2(ft.getShallow("distance"),yn?null:5)}var wi=ft.ecModel,Rn=wi&&wi.option.textStyle,kn=dt(ft),Vn;if(kn){Vn={};for(var Gt in kn)if(kn.hasOwnProperty(Gt)){var st=ft.getModel(["rich",Gt]);Ot(Vn[Gt]={},st,Rn,Ur,yn)}}return Xt.rich=Vn,Ot(Xt,ft,Rn,Ur,yn,!0),Ur.forceRich&&!Ur.textStyle&&(Ur.textStyle={}),Xt}function dt(Xt){for(var ft;Xt&&Xt!==Xt.ecModel;){var Ur=(Xt.option||I).rich;if(Ur){ft=ft||{};for(var yn in Ur)Ur.hasOwnProperty(yn)&&(ft[yn]=1)}Xt=Xt.parentModel}return ft}function Ot(Xt,ft,Ur,yn,Dn,Un){Ur=!Dn&&Ur||I,Xt.textFill=Tt(ft.getShallow("color"),yn)||Ur.color,Xt.textStroke=Tt(ft.getShallow("textBorderColor"),yn)||Ur.textBorderColor,Xt.textStrokeWidth=O.retrieve2(ft.getShallow("textBorderWidth"),Ur.textBorderWidth),Dn||(Un&&(Xt.insideRollbackOpt=yn,Ct(Xt)),Xt.textFill==null&&(Xt.textFill=yn.autoColor)),Xt.fontStyle=ft.getShallow("fontStyle")||Ur.fontStyle,Xt.fontWeight=ft.getShallow("fontWeight")||Ur.fontWeight,Xt.fontSize=ft.getShallow("fontSize")||Ur.fontSize,Xt.fontFamily=ft.getShallow("fontFamily")||Ur.fontFamily,Xt.textAlign=ft.getShallow("align"),Xt.textVerticalAlign=ft.getShallow("verticalAlign")||ft.getShallow("baseline"),Xt.textLineHeight=ft.getShallow("lineHeight"),Xt.textWidth=ft.getShallow("width"),Xt.textHeight=ft.getShallow("height"),Xt.textTag=ft.getShallow("tag"),(!Un||!yn.disableBox)&&(Xt.textBackgroundColor=Tt(ft.getShallow("backgroundColor"),yn),Xt.textPadding=ft.getShallow("padding"),Xt.textBorderColor=Tt(ft.getShallow("borderColor"),yn),Xt.textBorderWidth=ft.getShallow("borderWidth"),Xt.textBorderRadius=ft.getShallow("borderRadius"),Xt.textBoxShadowColor=ft.getShallow("shadowColor"),Xt.textBoxShadowBlur=ft.getShallow("shadowBlur"),Xt.textBoxShadowOffsetX=ft.getShallow("shadowOffsetX"),Xt.textBoxShadowOffsetY=ft.getShallow("shadowOffsetY")),Xt.textShadowColor=ft.getShallow("textShadowColor")||Ur.textShadowColor,Xt.textShadowBlur=ft.getShallow("textShadowBlur")||Ur.textShadowBlur,Xt.textShadowOffsetX=ft.getShallow("textShadowOffsetX")||Ur.textShadowOffsetX,Xt.textShadowOffsetY=ft.getShallow("textShadowOffsetY")||Ur.textShadowOffsetY}function Tt(Xt,ft){return Xt!=="auto"?Xt:ft&&ft.autoColor?ft.autoColor:null}function Ct(Xt){var ft=Xt.textPosition,Ur=Xt.insideRollbackOpt,yn;if(Ur&&Xt.textFill==null){var Dn=Ur.autoColor,Un=Ur.isRectText,wi=Ur.useInsideStyle,Rn=wi!==!1&&(wi===!0||Un&&ft&&typeof ft=="string"&&ft.indexOf("inside")>=0),kn=!Rn&&Dn!=null;(Rn||kn)&&(yn={textFill:Xt.textFill,textStroke:Xt.textStroke,textStrokeWidth:Xt.textStrokeWidth}),Rn&&(Xt.textFill="#fff",Xt.textStroke==null&&(Xt.textStroke=Dn,Xt.textStrokeWidth==null&&(Xt.textStrokeWidth=2))),kn&&(Xt.textFill=Dn)}Xt.insideRollback=yn}function Nt(Xt){var ft=Xt.insideRollback;ft&&(Xt.textFill=ft.textFill,Xt.textStroke=ft.textStroke,Xt.textStrokeWidth=ft.textStrokeWidth,Xt.insideRollback=null)}function Be(Xt,ft){var Ur=ft&&ft.getModel("textStyle");return O.trim([Xt.fontStyle||Ur&&Ur.getShallow("fontStyle")||"",Xt.fontWeight||Ur&&Ur.getShallow("fontWeight")||"",(Xt.fontSize||Ur&&Ur.getShallow("fontSize")||12)+"px",Xt.fontFamily||Ur&&Ur.getShallow("fontFamily")||"sans-serif"].join(" "))}function $(Xt,ft,Ur,yn,Dn,Un){typeof Dn=="function"&&(Un=Dn,Dn=null);var wi=yn&&yn.isAnimationEnabled();if(wi){var Rn=Xt?"Update":"",kn=yn.getShallow("animationDuration"+Rn),Vn=yn.getShallow("animationEasing"+Rn),Gt=yn.getShallow("animationDelay"+Rn);typeof Gt=="function"&&(Gt=Gt(Dn,yn.getAnimationDelayParams?yn.getAnimationDelayParams(ft,Dn):null)),typeof kn=="function"&&(kn=kn(Dn)),kn>0?ft.animateTo(Ur,kn,Gt||0,Vn,Un,!!Un):(ft.stopAnimation(),ft.attr(Ur),Un&&Un())}else ft.stopAnimation(),ft.attr(Ur),Un&&Un()}function Z(Xt,ft,Ur,yn,Dn){$(!0,Xt,ft,Ur,yn,Dn)}function Re(Xt,ft,Ur,yn,Dn){$(!1,Xt,ft,Ur,yn,Dn)}function De(Xt,ft){for(var Ur=v.identity([]);Xt&&Xt!==ft;)v.mul(Ur,Xt.getLocalTransform(),Ur),Xt=Xt.parent;return Ur}function ae(Xt,ft,Ur){return ft&&!O.isArrayLike(ft)&&(ft=f.getLocalTransform(ft)),Ur&&(ft=v.invert([],ft)),S.applyTransform([],Xt,ft)}function gt(Xt,ft,Ur){var yn=ft[4]===0||ft[5]===0||ft[0]===0?1:Math.abs(2*ft[4]/ft[0]),Dn=ft[4]===0||ft[5]===0||ft[2]===0?1:Math.abs(2*ft[4]/ft[2]),Un=[Xt==="left"?-yn:Xt==="right"?yn:0,Xt==="top"?-Dn:Xt==="bottom"?Dn:0];return Un=ae(Un,ft,Ur),Math.abs(Un[0])>Math.abs(Un[1])?Un[0]>0?"right":"left":Un[1]>0?"bottom":"top"}function jt(Xt,ft,Ur,yn){if(!Xt||!ft)return;function Dn(Rn){var kn={};return Rn.traverse(function(Vn){!Vn.isGroup&&Vn.anid&&(kn[Vn.anid]=Vn)}),kn}function Un(Rn){var kn={position:S.clone(Rn.position),rotation:Rn.rotation};return Rn.shape&&(kn.shape=O.extend({},Rn.shape)),kn}var wi=Dn(Xt);ft.traverse(function(Rn){if(!Rn.isGroup&&Rn.anid){var kn=wi[Rn.anid];if(kn){var Vn=Un(Rn);Rn.attr(Un(kn)),Z(Rn,Vn,Ur,Rn.dataIndex)}}})}function ut(Xt,ft){return O.map(Xt,function(Ur){var yn=Ur[0];yn=w(yn,ft.x),yn=b(yn,ft.x+ft.width);var Dn=Ur[1];return Dn=w(Dn,ft.y),Dn=b(Dn,ft.y+ft.height),[yn,Dn]})}function rr(Xt,ft){var Ur=w(Xt.x,ft.x),yn=b(Xt.x+Xt.width,ft.x+ft.width),Dn=w(Xt.y,ft.y),Un=b(Xt.y+Xt.height,ft.y+ft.height);if(yn>=Ur&&Un>=Dn)return{x:Ur,y:Dn,width:yn-Ur,height:Un-Dn}}function pr(Xt,ft,Ur){ft=O.extend({rectHover:!0},ft);var yn=ft.style={strokeNoScale:!0};if(Ur=Ur||{x:-1,y:-1,width:2,height:2},Xt)return Xt.indexOf("image://")===0?(yn.image=Xt.slice(8),O.defaults(yn,Ur),new c(ft)):V(Xt.replace("path://",""),ft,Ur,"center")}function nn(Xt,ft,Ur,yn,Dn){for(var Un=0,wi=Dn[Dn.length-1];Un1)return!1;var $e=vr(Ee,je,Gt,st)/ue;return!($e<0||$e>1)}function vr(Xt,ft,Ur,yn){return Xt*yn-Ur*ft}function $t(Xt){return Xt<=1e-6&&Xt>=-1e-6}K("circle",a),K("sector",n),K("ring",e),K("polygon",s),K("polyline",t),K("rect",i),K("line",l),K("bezierCurve",u),K("arc",h),P.Z2_EMPHASIS_LIFT=_,P.CACHED_LABEL_STYLE_PROPERTIES=L,P.extendShape=H,P.extendPath=F,P.registerShape=K,P.getShapeClass=j,P.makePath=V,P.makeImage=z,P.mergePath=ee,P.resizePath=fe,P.subPixelOptimizeLine=ie,P.subPixelOptimizeRect=we,P.subPixelOptimize=Ce,P.setElementHoverStyle=X,P.setHoverStyle=oe,P.setAsHighDownDispatcher=pe,P.isHighDownDispatcher=Oe,P.getHighlightDigit=Ye,P.setLabelStyle=it,P.modifyLabelStyle=et,P.setTextStyle=Te,P.setText=tt,P.getFont=Be,P.updateProps=Z,P.initProps=Re,P.getTransform=De,P.applyTransform=ae,P.transformDirection=gt,P.groupTransition=jt,P.clipPointsByRect=ut,P.clipRectByRect=rr,P.createIcon=pr,P.linePolygonIntersect=nn,P.lineLineIntersect=mr},IyUQ:function(U,P,d){var O=d("bYtY"),x=d("YH21"),T=d("IwbS"),v=d("iLNv"),S=d("fc+c"),m=d("OELB"),f=d("+TT/"),c=d("72pK"),o=T.Rect,r=m.linearMap,a=m.asc,n=O.bind,e=O.each,s=7,t=1,i=30,l="horizontal",u="vertical",h=5,p=["line","bar","candlestick","scatter"],g=S.extend({type:"dataZoom.slider",init:function(C,w){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=w},render:function(C,w,b,I){if(g.superApply(this,"render",arguments),v.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=C.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){g.superApply(this,"remove",arguments),v.clear(this,"_dispatchZoomAction")},dispose:function(){g.superApply(this,"dispose",arguments),v.clear(this,"_dispatchZoomAction")},_buildView:function(){var C=this.group;C.removeAll(),this._resetLocation(),this._resetInterval();var w=this._displayables.barGroup=new T.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),C.add(w),this._positionGroup()},_resetLocation:function(){var C=this.dataZoomModel,w=this.api,b=this._findCoordRect(),I={width:w.getWidth(),height:w.getHeight()},_=this._orient===l?{right:I.width-b.x-b.width,top:I.height-i-s,width:b.width,height:i}:{right:s,top:b.y,width:i,height:b.height},L=f.getLayoutParams(C.option);O.each(["right","top","width","height"],function(N){L[N]==="ph"&&(L[N]=_[N])});var D=f.getLayoutRect(L,I,C.padding);this._location={x:D.x,y:D.y},this._size=[D.width,D.height],this._orient===u&&this._size.reverse()},_positionGroup:function(){var C=this.group,w=this._location,b=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),_=I&&I.get("inverse"),L=this._displayables.barGroup,D=(this._dataShadowInfo||{}).otherAxisInverse;L.attr(b===l&&!_?{scale:D?[1,1]:[1,-1]}:b===l&&_?{scale:D?[-1,1]:[-1,-1]}:b===u&&!_?{scale:D?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:D?[-1,-1]:[-1,1],rotation:Math.PI/2});var N=C.getBoundingRect([L]);C.attr("position",[w.x-N.x,w.y-N.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var C=this.dataZoomModel,w=this._size,b=this._displayables.barGroup;b.add(new o({silent:!0,shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:C.get("backgroundColor")},z2:-40})),b.add(new o({shape:{x:0,y:0,width:w[0],height:w[1]},style:{fill:"transparent"},z2:0,onclick:O.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var C=this._dataShadowInfo=this._prepareDataShadowInfo();if(!C)return;var w=this._size,b=C.series,I=b.getRawData(),_=b.getShadowDim?b.getShadowDim():C.otherDim;if(_==null)return;var L=I.getDataExtent(_),D=(L[1]-L[0])*.3;L=[L[0]-D,L[1]+D];var N=[0,w[1]],R=[0,w[0]],B=[[w[0],0],[0,0]],M=[],H=R[1]/(I.count()-1),F=0,K=Math.round(I.count()/w[0]),j;I.each([_],function(z,Y){if(K>0&&Y%K){F+=H;return}var ee=z==null||isNaN(z)||z==="",fe=ee?0:r(z,L,N,!0);ee&&!j&&Y?(B.push([B[B.length-1][0],0]),M.push([M[M.length-1][0],0])):!ee&&j&&(B.push([F,0]),M.push([F,0])),B.push([F,fe]),M.push([F,fe]),F+=H,j=ee});var V=this.dataZoomModel;this._displayables.barGroup.add(new T.Polygon({shape:{points:B},style:O.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new T.Polyline({shape:{points:M},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var C=this.dataZoomModel,w=C.get("showDataShadow");if(w===!1)return;var b,I=this.ecModel;return C.eachTargetAxis(function(_,L){var D=C.getAxisProxy(_.name,L).getTargetSeriesModels();O.each(D,function(N){if(b)return;if(w!==!0&&O.indexOf(p,N.get("type"))<0)return;var R=I.getComponent(_.axis,L).axis,B=A(_.name),M,H=N.coordinateSystem;B!=null&&H.getOtherAxis&&(M=H.getOtherAxis(R).inverse),B=N.getData().mapDimension(B),b={thisAxis:R,series:N,thisDim:_.name,otherDim:B,otherAxisInverse:M}},this)},this),b},_renderHandle:function(){var C=this._displayables,w=C.handles=[],b=C.handleLabels=[],I=this._displayables.barGroup,_=this._size,L=this.dataZoomModel;I.add(C.filler=new o({draggable:!0,cursor:y(this._orient),drift:n(this._onDragMove,this,"all"),ondragstart:n(this._showDataInfo,this,!0),ondragend:n(this._onDragEnd,this),onmouseover:n(this._showDataInfo,this,!0),onmouseout:n(this._showDataInfo,this,!1),style:{fill:L.get("fillerColor"),textPosition:"inside"}})),I.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:_[0],height:_[1]},style:{stroke:L.get("dataBackgroundColor")||L.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),e([0,1],function(D){var N=T.createIcon(L.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:n(this._onDragMove,this,D),ondragend:n(this._onDragEnd,this),onmouseover:n(this._showDataInfo,this,!0),onmouseout:n(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),R=N.getBoundingRect();this._handleHeight=m.parsePercent(L.get("handleSize"),this._size[1]),this._handleWidth=R.width/R.height*this._handleHeight,N.setStyle(L.getModel("handleStyle").getItemStyle());var B=L.get("handleColor");B!=null&&(N.style.fill=B),I.add(w[D]=N);var M=L.textStyleModel;this.group.add(b[D]=new T.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:M.getTextColor(),textFont:M.getFont()},z2:10}))},this)},_resetInterval:function(){var C=this._range=this.dataZoomModel.getPercentRange(),w=this._getViewExtent();this._handleEnds=[r(C[0],[0,100],w,!0),r(C[1],[0,100],w,!0)]},_updateInterval:function(C,w){var b=this.dataZoomModel,I=this._handleEnds,_=this._getViewExtent(),L=b.findRepresentativeAxisProxy().getMinMaxSpan(),D=[0,100];c(w,I,_,b.get("zoomLock")?"all":C,L.minSpan!=null?r(L.minSpan,D,_,!0):null,L.maxSpan!=null?r(L.maxSpan,D,_,!0):null);var N=this._range,R=this._range=a([r(I[0],_,D,!0),r(I[1],_,D,!0)]);return!N||N[0]!==R[0]||N[1]!==R[1]},_updateView:function(C){var w=this._displayables,b=this._handleEnds,I=a(b.slice()),_=this._size;e([0,1],function(L){var D=w.handles[L],N=this._handleHeight;D.attr({scale:[N/2,N/2],position:[b[L],_[1]/2-N/2]})},this),w.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:_[1]}),this._updateDataInfo(C)},_updateDataInfo:function(C){var w=this.dataZoomModel,b=this._displayables,I=b.handleLabels,_=this._orient,L=["",""];if(w.get("showDetail")){var D=w.findRepresentativeAxisProxy();if(D){var N=D.getAxisModel().axis,R=this._range,B=C?D.calculateDataWindow({start:R[0],end:R[1]}).valueWindow:D.getDataValueWindow();L=[this._formatLabel(B[0],N),this._formatLabel(B[1],N)]}}var M=a(this._handleEnds.slice());H.call(this,0),H.call(this,1);function H(F){var K=T.getTransform(b.handles[F].parent,this.group),j=T.transformDirection(F===0?"right":"left",K),V=this._handleWidth/2+h,z=T.applyTransform([M[F]+(F===0?-V:V),this._size[1]/2],K);I[F].setStyle({x:z[0],y:z[1],textVerticalAlign:_===l?"middle":j,textAlign:_===l?j:"center",text:L[F]})}},_formatLabel:function(C,w){var b=this.dataZoomModel,I=b.get("labelFormatter"),_=b.get("labelPrecision");(_==null||_==="auto")&&(_=w.getPixelPrecision());var L=C==null||isNaN(C)?"":w.type==="category"||w.type==="time"?w.scale.getLabel(Math.round(C)):C.toFixed(Math.min(_,20));return O.isFunction(I)?I(C,L):O.isString(I)?I.replace("{value}",L):L},_showDataInfo:function(C){C=this._dragging||C;var w=this._displayables.handleLabels;w[0].attr("invisible",!C),w[1].attr("invisible",!C)},_onDragMove:function(C,w,b,I){this._dragging=!0,x.stop(I.event);var _=this._displayables.barGroup.getLocalTransform(),L=T.applyTransform([w,b],_,!0),D=this._updateInterval(C,L[0]),N=this.dataZoomModel.get("realtime");this._updateView(!N),D&&N&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var C=this.dataZoomModel.get("realtime");!C&&this._dispatchZoomAction()},_onClickPanelClick:function(C){var w=this._size,b=this._displayables.barGroup.transformCoordToLocal(C.offsetX,C.offsetY);if(b[0]<0||b[0]>w[0]||b[1]<0||b[1]>w[1])return;var I=this._handleEnds,_=(I[0]+I[1])/2,L=this._updateInterval("all",b[0]-_);this._updateView(),L&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var C=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:C[0],end:C[1]})},_findCoordRect:function(){var C;if(e(this.getTargetCoordInfo(),function(I){if(!C&&I.length){var _=I[0].model.coordinateSystem;C=_.getRect&&_.getRect()}}),!C){var w=this.api.getWidth(),b=this.api.getHeight();C={x:w*.2,y:b*.2,width:w*.6,height:b*.6}}return C}});function A(C){var w={x:"y",y:"x",radius:"angle",angle:"radius"};return w[C]}function y(C){return C==="vertical"?"ns-resize":"ew-resize"}var E=g;U.exports=E},IzEo:function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("lnY3"),v=d.n(T),S=d("Znn+"),m=d("14J3"),f=d("jCWc")},J66h:function(U,P,d){(function(O){var x,T;(function(v,S){U.exports=S(v)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof O!="undefined"?O:this,function(v){"use strict";v=v||{};var S=v.Base64,m="2.6.4",f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(N){for(var R={},B=0,M=N.length;B>>6)+o(128|B&63):o(224|B>>>12&15)+o(128|B>>>6&63)+o(128|B&63)}else{var B=65536+(R.charCodeAt(0)-55296)*1024+(R.charCodeAt(1)-56320);return o(240|B>>>18&7)+o(128|B>>>12&63)+o(128|B>>>6&63)+o(128|B&63)}},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,n=function(R){return R.replace(a,r)},e=function(R){var B=[0,2,1][R.length%3],M=R.charCodeAt(0)<<16|(R.length>1?R.charCodeAt(1):0)<<8|(R.length>2?R.charCodeAt(2):0),H=[f.charAt(M>>>18),f.charAt(M>>>12&63),B>=2?"=":f.charAt(M>>>6&63),B>=1?"=":f.charAt(M&63)];return H.join("")},s=v.btoa&&typeof v.btoa=="function"?function(N){return v.btoa(N)}:function(N){if(N.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return N.replace(/[\s\S]{1,3}/g,e)},t=function(R){return s(n(String(R)))},i=function(R){return R.replace(/[+\/]/g,function(B){return B=="+"?"-":"_"}).replace(/=/g,"")},l=function(R,B){return B?i(t(R)):t(R)},u=function(R){return l(R,!0)},h;v.Uint8Array&&(h=function(R,B){for(var M="",H=0,F=R.length;H>>18)+f.charAt(z>>>12&63)+(typeof j!="undefined"?f.charAt(z>>>6&63):"=")+(typeof V!="undefined"?f.charAt(z&63):"=")}return B?i(M):M});var p=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,g=function(R){switch(R.length){case 4:var B=(7&R.charCodeAt(0))<<18|(63&R.charCodeAt(1))<<12|(63&R.charCodeAt(2))<<6|63&R.charCodeAt(3),M=B-65536;return o((M>>>10)+55296)+o((M&1023)+56320);case 3:return o((15&R.charCodeAt(0))<<12|(63&R.charCodeAt(1))<<6|63&R.charCodeAt(2));default:return o((31&R.charCodeAt(0))<<6|63&R.charCodeAt(1))}},A=function(R){return R.replace(p,g)},y=function(R){var B=R.length,M=B%4,H=(B>0?c[R.charAt(0)]<<18:0)|(B>1?c[R.charAt(1)]<<12:0)|(B>2?c[R.charAt(2)]<<6:0)|(B>3?c[R.charAt(3)]:0),F=[o(H>>>16),o(H>>>8&255),o(H&255)];return F.length-=[0,0,2,1][M],F.join("")},E=v.atob&&typeof v.atob=="function"?function(N){return v.atob(N)}:function(N){return N.replace(/\S{1,4}/g,y)},C=function(R){return E(String(R).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(R){return A(E(R))},b=function(R){return String(R).replace(/[-_]/g,function(B){return B=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(R){return w(b(R))},_;v.Uint8Array&&(_=function(R){return Uint8Array.from(C(b(R)),function(B){return B.charCodeAt(0)})});var L=function(){var R=v.Base64;return v.Base64=S,R};if(v.Base64={VERSION:m,atob:C,btoa:s,fromBase64:I,toBase64:l,utob:n,encode:l,encodeURI:u,btou:A,decode:I,noConflict:L,fromUint8Array:h,toUint8Array:_},typeof Object.defineProperty=="function"){var D=function(R){return{value:R,enumerable:!1,writable:!0,configurable:!0}};v.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",D(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",D(function(N){return l(this,N)})),Object.defineProperty(String.prototype,"toBase64URI",D(function(){return l(this,!0)}))}}return v.Meteor&&(Base64=v.Base64),U.exports?U.exports.Base64=v.Base64:!(x=[],T=function(){return v.Base64}.apply(P,x),T!==void 0&&(U.exports=T)),{Base64:v.Base64}})}).call(this,d("yLpj"))},JEkh:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("ProS"),v=d("bYtY"),S=d("ItGF"),m=d("4NO4"),f=d("7aKB"),c=d("OKJ2"),o=f.addCommas,r=f.encodeHTML;function a(s){m.defaultEmphasis(s,"label",["show"])}var n=T.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(s,t,i){this.mergeDefaultAndTheme(s,i),this._mergeOption(s,i,!1,!0)},isAnimationEnabled:function(){if(S.node)return!1;var s=this.__hostSeries;return this.getShallow("animation")&&s&&s.isAnimationEnabled()},mergeOption:function(s,t){this._mergeOption(s,t,!1,!1)},_mergeOption:function(s,t,i,l){var u=this.constructor,h=this.mainType+"Model";i||t.eachSeries(function(p){var g=p.get(this.mainType,!0),A=p[h];if(!g||!g.data){p[h]=null;return}A?A._mergeOption(g,t,!0):(l&&a(g),v.each(g.data,function(y){y instanceof Array?(a(y[0]),a(y[1])):a(y)}),A=new u(g,this,t),v.extend(A,{mainType:this.mainType,seriesIndex:p.seriesIndex,name:p.name,createdBySelf:!0}),A.__hostSeries=p),p[h]=A},this)},formatTooltip:function(s){var t=this.getData(),i=this.getRawValue(s),l=v.isArray(i)?v.map(i,o).join(", "):o(i),u=t.getName(s),h=r(this.name);return(i!=null||u)&&(h+="
    "),u&&(h+=r(u),i!=null&&(h+=" : ")),i!=null&&(h+=r(l)),h},getData:function(){return this._data},setData:function(s){this._data=s}});v.mixin(n,c);var e=n;U.exports=e},JGo8:function(U,P,d){},JLnu:function(U,P,d){var O=d("+TT/"),x=d("OELB"),T=x.parsePercent,v=x.linearMap;function S(o,r){return O.getLayoutRect(o.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function m(o,r){for(var a=o.mapDimension("value"),n=o.mapArray(a,function(l){return l}),e=[],s=r==="ascending",t=0,i=o.count();t=1&&!(ee[I]!==0);I--);if(_>I&&(_=I),I===0)return p[g++]=1<<24|64<<16|0,p[g++]=1<<24|64<<16|0,y.bits=1,0;for(b=1;b0&&(i===c||I!==1))return-1;for(fe[1]=0,C=1;Cm||i===r&&R>f)return 1;for(;;){Ce=C-D,A[w]Y?(Le=ie[we+A[w]],He=V[z+A[w]]):(Le=32+64,He=0),M=1<>D)+H]=Ce<<24|Le<<16|He|0;while(H!==0);for(M=1<>=1;if(M!==0?(B&=M-1,B+=M):B=0,w++,--ee[C]===0){if(C===I)break;C=l[u+A[w]]}if(C>_&&(B&K)!==F){for(D===0&&(D=_),j+=b,L=C-D,N=1<m||i===r&&R>f)return 1;F=B&K,p[F]=_<<24|L<<16|j-g|0}}return B!==0&&(p[j+B]=C-D<<24|64<<16|0),y.bits=_,0}},JVwQ:function(U,P,d){var O=d("ProS"),x=d("1NG9"),T=x.Polygon,v=d("IwbS"),S=d("bYtY"),m=S.bind,f=S.extend,c=d("gPAo"),o=O.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(a,n,e){var s=a.getData(),t=this.group,i=a.getLayerSeries(),l=s.getLayout("layoutInfo"),u=l.rect,h=l.boundaryGap;t.attr("position",[0,u.y+h[0]]);function p(E){return E.name}var g=new c(this._layersSeries||[],i,p,p),A={};g.add(m(y,this,"add")).update(m(y,this,"update")).remove(m(y,this,"remove")).execute();function y(E,C,w){var b=this._layers;if(E==="remove"){t.remove(b[C]);return}for(var I=[],_=[],L,D=i[C].indices,N=0;N1)Object(L.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(dt.length===0)return Object(L.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var Ot=dt[0];if(t.isValidElement(Ot)&&Object(D.c)(Ot)){var Tt=Ot.ref;dt[0]=t.cloneElement(Ot,{ref:Object(D.a)(Tt,this.setChildNode)})}return dt.length===1?dt[0]:dt.map(function(Ct,Nt){return!t.isValidElement(Ct)||"key"in Ct&&Ct.key!==null?Ct:t.cloneElement(Ct,{key:"".concat(R,"-").concat(Nt)})})}}]),Te}(t.Component);B.displayName="ResizeObserver";var M=B,H=d("H84U"),F=d("RIqP"),K=d.n(F),j=d("xEkU"),V=d.n(j);function z(it){var et,Te=function(dt){return function(){et=null,it.apply(void 0,K()(dt))}},tt=function(){if(et==null){for(var dt=arguments.length,Ot=new Array(dt),Tt=0;Ttit.top-Te?Te+et.top:void 0}function ie(it,et,Te){if(Te!==void 0&&et.bottom=0;Tt--)(Ot=it[Tt])&&(dt=(ze<3?Ot(dt):ze>3?Ot(et,Te,dt):Ot(et,Te))||dt);return ze>3&&dt&&Object.defineProperty(et,Te,dt),dt};function Q(){return typeof window!="undefined"?window:null}var me;(function(it){it[it.None=0]="None",it[it.Prepare=1]="Prepare"})(me||(me={}));var Je=function(it){n()(Te,it);var et=s()(Te);function Te(){var tt;return m()(this,Te),tt=et.apply(this,arguments),tt.state={status:me.None,lastAffix:!1,prevTarget:null},tt.getOffsetTop=function(){var ze=tt.props.offsetBottom,dt=tt.props.offsetTop;return ze===void 0&&dt===void 0&&(dt=0),dt},tt.getOffsetBottom=function(){return tt.props.offsetBottom},tt.savePlaceholderNode=function(ze){tt.placeholderNode=ze},tt.saveFixedNode=function(ze){tt.fixedNode=ze},tt.measure=function(){var ze=tt.state,dt=ze.status,Ot=ze.lastAffix,Tt=tt.props.onChange,Ct=tt.getTargetFunc();if(dt!==me.Prepare||!tt.fixedNode||!tt.placeholderNode||!Ct)return;var Nt=tt.getOffsetTop(),Be=tt.getOffsetBottom(),$=Ct();if(!$)return;var Z={status:me.None},Re=ee($),De=ee(tt.placeholderNode),ae=fe(De,Re,Nt),gt=ie(De,Re,Be);ae!==void 0?(Z.affixStyle={position:"fixed",top:ae,width:De.width,height:De.height},Z.placeholderStyle={width:De.width,height:De.height}):gt!==void 0&&(Z.affixStyle={position:"fixed",bottom:gt,width:De.width,height:De.height},Z.placeholderStyle={width:De.width,height:De.height}),Z.lastAffix=!!Z.affixStyle,Tt&&Ot!==Z.lastAffix&&Tt(Z.lastAffix),tt.setState(Z)},tt.prepareMeasure=function(){if(tt.setState({status:me.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var ze},tt.render=function(){var ze=tt.context.getPrefixCls,dt=tt.state,Ot=dt.affixStyle,Tt=dt.placeholderStyle,Ct=tt.props,Nt=Ct.prefixCls,Be=Ct.children,$=u()(v()({},ze("affix",Nt),Ot)),Z=Object(A.default)(tt.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(M,{onResize:function(){tt.updatePosition()}},t.createElement("div",x()({},Z,{ref:tt.savePlaceholderNode}),Ot&&t.createElement("div",{style:Tt,"aria-hidden":"true"}),t.createElement("div",{className:$,ref:tt.saveFixedNode,style:Ot},t.createElement(M,{onResize:function(){tt.updatePosition()}},Be))))},tt}return c()(Te,[{key:"getTargetFunc",value:function(){var ze=this.context.getTargetContainer,dt=this.props.target;return dt!==void 0?dt:ze||Q}},{key:"componentDidMount",value:function(){var ze=this,dt=this.getTargetFunc();dt&&(this.timeout=setTimeout(function(){He(dt(),ze),ze.updatePosition()}))}},{key:"componentDidUpdate",value:function(ze){var dt=this.state.prevTarget,Ot=this.getTargetFunc(),Tt=null;Ot&&(Tt=Ot()||null),dt!==Tt&&(ce(this),Tt&&(He(Tt,this),this.updatePosition()),this.setState({prevTarget:Tt})),(ze.offsetTop!==this.props.offsetTop||ze.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),ce(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var ze=this.getTargetFunc(),dt=this.state.affixStyle;if(ze&&dt){var Ot=this.getOffsetTop(),Tt=this.getOffsetBottom(),Ct=ze();if(Ct&&this.placeholderNode){var Nt=ee(Ct),Be=ee(this.placeholderNode),$=fe(Be,Nt,Ot),Z=ie(Be,Nt,Tt);if($!==void 0&&dt.top===$||Z!==void 0&&dt.bottom===Z)return}}this.prepareMeasure()}}]),Te}(t.Component);Je.contextType=H.b,Pe([Y()],Je.prototype,"updatePosition",null),Pe([Y()],Je.prototype,"lazyUpdatePosition",null);var re=Je,G=d("zAh6"),X=d("i6bk"),J=t.createContext(null),Ae=J;function he(){return window}function Me(it,et){if(!it.getClientRects().length)return 0;var Te=it.getBoundingClientRect();return Te.width||Te.height?et===window?(et=it.ownerDocument.documentElement,Te.top-et.clientTop):Te.top-et.getBoundingClientRect().top:Te.top}var Ie=/#(\S+)$/,oe=function(it){n()(Te,it);var et=s()(Te);function Te(){var tt;return m()(this,Te),tt=et.apply(this,arguments),tt.state={activeLink:null},tt.links=[],tt.registerLink=function(ze){tt.links.includes(ze)||tt.links.push(ze)},tt.unregisterLink=function(ze){var dt=tt.links.indexOf(ze);dt!==-1&&tt.links.splice(dt,1)},tt.getContainer=function(){var ze=tt.context.getTargetContainer,dt=tt.props.getContainer,Ot=dt||ze||he;return Ot()},tt.handleScrollTo=function(ze){var dt=tt.props,Ot=dt.offsetTop,Tt=dt.targetOffset;tt.setCurrentActiveLink(ze);var Ct=tt.getContainer(),Nt=Object(X.a)(Ct,!0),Be=Ie.exec(ze);if(!Be)return;var $=document.getElementById(Be[1]);if(!$)return;var Z=Me($,Ct),Re=Nt+Z;Re-=Tt!==void 0?Tt:Ot||0,tt.animating=!0,Object(G.a)(Re,{callback:function(){tt.animating=!1},getContainer:tt.getContainer})},tt.saveInkNode=function(ze){tt.inkNode=ze},tt.setCurrentActiveLink=function(ze){var dt=tt.state.activeLink,Ot=tt.props.onChange;dt!==ze&&(tt.setState({activeLink:ze}),Ot&&Ot(ze))},tt.handleScroll=function(){if(tt.animating)return;var ze=tt.props,dt=ze.offsetTop,Ot=ze.bounds,Tt=ze.targetOffset,Ct=tt.getCurrentAnchor(Tt!==void 0?Tt:dt||0,Ot);tt.setCurrentActiveLink(Ct)},tt.updateInk=function(){var ze=r()(tt),dt=ze.prefixCls,Ot=i.findDOMNode(r()(tt)),Tt=Ot.getElementsByClassName("".concat(dt,"-link-title-active"))[0];Tt&&(tt.inkNode.style.top="".concat(Tt.offsetTop+Tt.clientHeight/2-4.5,"px"))},tt.render=function(){var ze=tt.context,dt=ze.getPrefixCls,Ot=ze.direction,Tt=tt.props,Ct=Tt.prefixCls,Nt=Tt.className,Be=Nt===void 0?"":Nt,$=Tt.style,Z=Tt.offsetTop,Re=Tt.affix,De=Tt.showInkInFixed,ae=Tt.children,gt=tt.state.activeLink,jt=dt("anchor",Ct);tt.prefixCls=jt;var ut=u()("".concat(jt,"-ink-ball"),{visible:gt}),rr=u()(Be,"".concat(jt,"-wrapper"),v()({},"".concat(jt,"-rtl"),Ot==="rtl")),pr=u()(jt,{fixed:!Re&&!De}),nn=x()({maxHeight:Z?"calc(100vh - ".concat(Z,"px)"):"100vh"},$),mr=t.createElement("div",{className:rr,style:nn},t.createElement("div",{className:pr},t.createElement("div",{className:"".concat(jt,"-ink")},t.createElement("span",{className:ut,ref:tt.saveInkNode})),ae));return t.createElement(Ae.Provider,{value:{registerLink:tt.registerLink,unregisterLink:tt.unregisterLink,activeLink:tt.state.activeLink,scrollTo:tt.handleScrollTo,onClick:tt.props.onClick}},Re?t.createElement(re,{offsetTop:Z,target:tt.getContainer},mr):mr)},tt}return c()(Te,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var ze=this.getContainer();this.scrollContainer!==ze&&(this.scrollContainer=ze,this.scrollEvent.remove(),this.scrollEvent=Object(h.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Ot=this.props.getCurrentAnchor;if(typeof Ot=="function")return Ot();var Tt=[],Ct=this.getContainer();if(this.links.forEach(function(Be){var $=Ie.exec(Be.toString());if(!$)return;var Z=document.getElementById($[1]);if(Z){var Re=Me(Z,Ct);ReBe.top?$:Be});return Nt.link}return""}}]),Te}(t.Component);oe.defaultProps={affix:!0,showInkInFixed:!1},oe.contextType=H.b;var pe=function(it){n()(Te,it);var et=s()(Te);function Te(){var tt;return m()(this,Te),tt=et.apply(this,arguments),tt.handleClick=function(ze){var dt=tt.context,Ot=dt.scrollTo,Tt=dt.onClick,Ct=tt.props,Nt=Ct.href,Be=Ct.title;Tt&&Tt(ze,{title:Be,href:Nt}),Ot(Nt)},tt.renderAnchorLink=function(ze){var dt=ze.getPrefixCls,Ot=tt.props,Tt=Ot.prefixCls,Ct=Ot.href,Nt=Ot.title,Be=Ot.children,$=Ot.className,Z=Ot.target,Re=dt("anchor",Tt),De=tt.context.activeLink===Ct,ae=u()($,"".concat(Re,"-link"),v()({},"".concat(Re,"-link-active"),De)),gt=u()("".concat(Re,"-link-title"),v()({},"".concat(Re,"-link-title-active"),De));return t.createElement("div",{className:ae},t.createElement("a",{className:gt,href:Ct,title:typeof Nt=="string"?Nt:"",target:Z,onClick:tt.handleClick},Nt),Be)},tt}return c()(Te,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(ze){var dt=ze.href,Ot=this.props.href;dt!==Ot&&(this.context.unregisterLink(dt),this.context.registerLink(Ot))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(H.a,null,this.renderAnchorLink)}}]),Te}(t.Component);pe.defaultProps={href:"#"},pe.contextType=Ae;var Oe=pe;oe.Link=Oe;var Ye=P.a=oe},JuEJ:function(U,P,d){var O=d("bYtY"),x=d("4NO4"),T=O.each,v=O.isObject,S=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function m(t){var i=t&&t.itemStyle;if(!i)return;for(var l=0,u=S.length;l0},extendFrom:function(e,s){if(e)for(var t in e)e.hasOwnProperty(t)&&(s===!0||(s===!1?!this.hasOwnProperty(t):e[t]!=null))&&(this[t]=e[t])},set:function(e,s){typeof e=="string"?this[e]=s:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,s,t){for(var i=s.type==="radial"?f:m,l=i(e,s,t),u=s.colorStops,h=0;h=0||f&&O.indexOf(f,r)<0)continue;var a=S.getShallow(r);a!=null&&(c[T[o][0]]=a)}return c}}U.exports=x},KPFz:function(U,P,d){},KQeH:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};P.default=O},KS52:function(U,P,d){var O=d("OELB"),x=O.parsePercent,T=O.linearMap,v=d("+TT/"),S=d("u3DP"),m=d("bYtY"),f=Math.PI*2,c=Math.PI/180;function o(a,n){return v.getLayoutRect(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function r(a,n,e,s){n.eachSeriesByType(a,function(t){var i=t.getData(),l=i.mapDimension("value"),u=o(t,e),h=t.get("center"),p=t.get("radius");m.isArray(p)||(p=[0,p]),m.isArray(h)||(h=[h,h]);var g=x(u.width,e.getWidth()),A=x(u.height,e.getHeight()),y=Math.min(g,A),E=x(h[0],g)+u.x,C=x(h[1],A)+u.y,w=x(p[0],y/2),b=x(p[1],y/2),I=-t.get("startAngle")*c,_=t.get("minAngle")*c,L=0;i.each(l,function(Y){!isNaN(Y)&&L++});var D=i.getSum(l),N=Math.PI/(D||L)*2,R=t.get("clockwise"),B=t.get("roseType"),M=t.get("stillShowZeroSum"),H=i.getDataExtent(l);H[0]=0;var F=f,K=0,j=I,V=R?1:-1;if(i.each(l,function(Y,ee){var fe;if(isNaN(Y)){i.setItemLayout(ee,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:R,cx:E,cy:C,r0:w,r:B?NaN:b,viewRect:u});return}B!=="area"?fe=D===0&&M?N:Y*N:fe=f/L,fe<_?(fe=_,F-=_):K+=Y;var ie=j+V*fe;i.setItemLayout(ee,{angle:fe,startAngle:j,endAngle:ie,clockwise:R,cx:E,cy:C,r0:w,r:B?T(Y,H,[w,b]):b,viewRect:u}),j=ie}),F=0;S--)if(v[S>>>2]>>>24-S%4*8&255){T.sigBytes=S+1;break}}},O.pad.ZeroPadding})},"KpQ+":function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("E/ki")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="ClockCircleOutlined";var c=v.forwardRef(f);P.default=c},KrTs:function(U,P,d){"use strict";var O=d("lSNA"),x=d.n(O),T=d("cDf5"),v=d.n(T),S=d("pVnL"),m=d.n(S),f=d("q1tI"),c=d("UmKh"),o=d("TSYQ"),r=d.n(o),a=d("J4zp"),n=d.n(a),e=d("H84U"),s=d("0n0R"),t=function(b,I){var _={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&I.indexOf(L)<0&&(_[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(b);Dit?et>=Te?10+pe:20+pe:et<=Te?10+pe:pe},he=function(pe,Oe){if(typeof pe=="number"){var Ye=Ae(pe,Oe),it=Y||i(Je)[Oe]===void 0;return f.createElement("span",{className:"".concat(J,"-only"),style:{transition:it?"none":void 0,msTransform:"translateY(".concat(-Ye*100,"%)"),WebkitTransform:"translateY(".concat(-Ye*100,"%)"),transform:"translateY(".concat(-Ye*100,"%)")},key:Oe},l(Ye,"".concat(J,"-only-unit")))}return f.createElement("span",{key:"symbol",className:"".concat(J,"-symbol")},pe)},Me=function(){return we&&Number(we)%1===0?i(we).map(function(pe,Oe){return he(pe,Oe)}).reverse():we},Ie=m()(m()({},j),{style:N,className:r()(J,D),title:R});return N&&N.borderColor&&(Ie.style=m()(m()({},N),{boxShadow:"0 0 0 1px ".concat(N.borderColor," inset")})),H?Object(s.a)(H,{className:r()("".concat(J,"-custom-component"),H.props&&H.props.className)}):f.createElement(M,Ie,Me())},h=u,p=d("09Wf");function g(b){return p.a.indexOf(b)!==-1}var A=function(I){var _,L=I.className,D=I.prefixCls,N=I.style,R=I.color,B=I.children,M=I.text,H=I.placement,F=H===void 0?"end":H,K=f.useContext(e.b),j=K.getPrefixCls,V=K.direction,z=j("ribbon",D),Y=g(R),ee=r()(z,L,"".concat(z,"-placement-").concat(F),(_={},x()(_,"".concat(z,"-rtl"),V==="rtl"),x()(_,"".concat(z,"-color-").concat(R),Y),_)),fe={},ie={};return R&&!Y&&(fe.background=R,ie.color=R),f.createElement("div",{className:"".concat(z,"-wrapper")},B,f.createElement("div",{className:ee,style:m()(m()({},fe),N)},M,f.createElement("div",{className:"".concat(z,"-corner"),style:ie})))},y=A,E=function(b,I){var _={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&I.indexOf(L)<0&&(_[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,L=Object.getOwnPropertySymbols(b);DV?"".concat(V,"+"):K;return Ot},X=function(){return!!B||!!H},J=function(){var Ot=G();return Ot==="0"||Ot===0},Ae=function(){return Y&&!J()||X()},he=function(){return Ae()?"":G()},Me=function(){return ie||(typeof K=="string"||typeof K=="number"?K:void 0)},Ie=function(){return Je==="rtl"?we?m()({left:parseInt(we[0],10),marginTop:we[1]},Ce):Ce:we?m()({right:-parseInt(we[0],10),marginTop:we[1]},Ce):Ce},oe=function(){var Ot=he(),Tt=Ot==null||Ot==="";return(Tt||J()&&!ce)&&!Ae()},pe=function(){var Ot=oe();return Ot||!M?null:f.createElement("span",{className:"".concat(re,"-status-text")},M)},Oe=function(){var Ot=K;return!Ot||v()(Ot)!=="object"?void 0:Object(s.a)(Ot,{style:m()(m()({},Ie()),Ot.props&&Ot.props.style)})},Ye=function(){var Ot,Tt=me("scroll-number",N),Ct=he(),Nt=Ae(),Be=oe(),$=r()((Ot={},x()(Ot,"".concat(re,"-dot"),Nt),x()(Ot,"".concat(re,"-count"),!Nt),x()(Ot,"".concat(re,"-count-sm"),fe==="small"),x()(Ot,"".concat(re,"-multiple-words"),!Nt&&K&&K.toString&&K.toString().length>1),x()(Ot,"".concat(re,"-status-").concat(B),!!B),x()(Ot,"".concat(re,"-status-").concat(H),g(H)),Ot)),Z=Ie();return H&&!g(H)&&(Z=Z||{},Z.background=H),Be?null:f.createElement(h,{prefixCls:Tt,"data-show":!Be,className:$,count:Ct,displayComponent:Oe(),title:Me(),style:Z,key:"scrollNumber"})},it=r()((_={},x()(_,"".concat(re,"-status-dot"),X()),x()(_,"".concat(re,"-status-").concat(B),!!B),x()(_,"".concat(re,"-status-").concat(H),g(H)),_)),et={};H&&!g(H)&&(et.background=H);var Te=r()(Le,re,(L={},x()(L,"".concat(re,"-status"),X()),x()(L,"".concat(re,"-not-a-wrapper"),!R),x()(L,"".concat(re,"-rtl"),Je==="rtl"),L));if(!R&&X()){var tt=Ie(),ze=tt&&tt.color;return f.createElement("span",m()({},Pe,{className:Te,style:tt}),f.createElement("span",{className:it,style:et}),f.createElement("span",{style:{color:ze},className:"".concat(re,"-status-text")},M))}return f.createElement("span",m()({},Pe,{className:Te}),R,f.createElement(c.a,{component:"",showProp:"data-show",transitionName:R?"".concat(re,"-zoom"):"",transitionAppear:!0},Ye()),pe())};C.Ribbon=y;var w=P.a=C},Kvyg:function(U,P,d){},KxBF:function(U,P){function d(O,x,T){var v=-1,S=O.length;x<0&&(x=-x>S?0:S+x),T=T>S?S:T,T<0&&(T+=S),S=x>T?0:T-x>>>0,x>>>=0;for(var m=Array(S);++v0&&Date.now()-this._tracked[0].started>t){this._state=v,this._ignored.push(A);return}if(this._waitingRelease){this._state=v,this._ignored.push(A);return}this._tracked.push({id:A,started:Date.now(),active:!0,firstX:y,firstY:E,lastX:y,lastY:E,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(S|c|o),this._stopLongpressTimeout();break;case 3:this._state&=~(m|r|a);break;default:this._state=v}}},{key:"_touchMove",value:function(A,y,E){var C=this._tracked.find(function(D){return D.id===A});if(C===void 0)return;C.lastX=y,C.lastY=E;var w=y-C.firstX,b=E-C.firstY;if((C.firstX!==C.lastX||C.firstY!==C.lastY)&&(C.angle=Math.atan2(b,w)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(w,b)e){var L=Math.abs(C.angle-I.angle);L=Math.abs((L+180)%360-180),L>s?this._state&=~r:this._state&=~a,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(A,y,E){if(this._ignored.indexOf(A)!==-1){this._ignored.splice(this._ignored.indexOf(A),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=n,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=v),!this._hasDetectedGesture()&&(this._state&=~(c|r|a),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(m|f);break;case 2:this._state&=~(S|f);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=v),this._tracked.some(function(b){return Date.now()-b.started>i})&&(this._state=v);var C=this._tracked.find(function(b){return b.id===A});if(C.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==v)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var w=0;w=0)continue;if(!Object.prototype.hasOwnProperty.call(n,t))continue;s[t]=n[t]}return s}function c(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function o(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function r(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}var a=function(n){r(e,n);function e(s){c(this,e);var t=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,s));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return O(e,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,i={get passive(){t=!0}};try{document.addEventListener("test",null,i),document.removeEventListener("test",null,i)}catch(l){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var i=this.props.getScrollParent&&this.props.getScrollParent();return i!=null?i:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var i=window;this.props.useWindow===!1&&(i=t),i.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),i.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),i.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,i=window,l=this.getParentElement(t),u=void 0;if(this.props.useWindow){var h=document.documentElement||document.body.parentNode||document.body,p=i.pageYOffset!==void 0?i.pageYOffset:h.scrollTop;this.props.isReverse?u=p:u=this.calculateOffset(t,p)}else this.props.isReverse?u=l.scrollTop:u=t.scrollHeight-l.scrollTop-l.clientHeight;u=4&&(Le={x:parseFloat(ce[0]||0),y:parseFloat(ce[1]||0),width:parseFloat(ce[2]),height:parseFloat(ce[3])})}if(Le&&ie!=null&&we!=null&&(He=K(Le,ie,we),!z.ignoreViewBox)){var Pe=ee;ee=new O,ee.add(Pe),Pe.scale=He.scale.slice(),Pe.position=He.position.slice()}return!z.ignoreRootClip&&ie!=null&&we!=null&&ee.setClipPath(new S({shape:{x:0,y:0,width:ie,height:we}})),{root:ee,width:ie,height:we,viewBoxRect:Le,viewBoxTransform:He}},E.prototype._parseNode=function(V,z){var Y=V.nodeName.toLowerCase();Y==="defs"?this._isDefine=!0:Y==="text"&&(this._isText=!0);var ee;if(this._isDefine){var fe=w[Y];if(fe){var ie=fe.call(this,V),we=V.getAttribute("id");we&&(this._defs[we]=ie)}}else{var fe=C[Y];fe&&(ee=fe.call(this,V,z),z.add(ee))}for(var Ce=V.firstChild;Ce;)Ce.nodeType===1&&this._parseNode(Ce,ee),Ce.nodeType===3&&this._isText&&this._parseText(Ce,ee),Ce=Ce.nextSibling;Y==="defs"?this._isDefine=!1:Y==="text"&&(this._isText=!1)},E.prototype._parseText=function(V,z){if(V.nodeType===1){var Y=V.getAttribute("dx")||0,ee=V.getAttribute("dy")||0;this._textX+=parseFloat(Y),this._textY+=parseFloat(ee)}var fe=new T({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(z,fe),D(V,fe,this._defs);var ie=fe.style.fontSize;ie&&ie<9&&(fe.style.fontSize=9,fe.scale=fe.scale||[1,1],fe.scale[0]*=ie/9,fe.scale[1]*=ie/9);var we=fe.getBoundingRect();return this._textX+=we.width,z.add(fe),fe};var C={g:function(z,Y){var ee=new O;return I(Y,ee),D(z,ee,this._defs),ee},rect:function(z,Y){var ee=new S;return I(Y,ee),D(z,ee,this._defs),ee.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),ee},circle:function(z,Y){var ee=new v;return I(Y,ee),D(z,ee,this._defs),ee.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),ee},line:function(z,Y){var ee=new f;return I(Y,ee),D(z,ee,this._defs),ee.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),ee},ellipse:function(z,Y){var ee=new m;return I(Y,ee),D(z,ee,this._defs),ee.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),ee},polygon:function(z,Y){var ee=z.getAttribute("points");ee&&(ee=_(ee));var fe=new o({shape:{points:ee||[]}});return I(Y,fe),D(z,fe,this._defs),fe},polyline:function(z,Y){var ee=new c;I(Y,ee),D(z,ee,this._defs);var fe=z.getAttribute("points");fe&&(fe=_(fe));var ie=new r({shape:{points:fe||[]}});return ie},image:function(z,Y){var ee=new x;return I(Y,ee),D(z,ee,this._defs),ee.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),ee},text:function(z,Y){var ee=z.getAttribute("x")||0,fe=z.getAttribute("y")||0,ie=z.getAttribute("dx")||0,we=z.getAttribute("dy")||0;this._textX=parseFloat(ee)+parseFloat(ie),this._textY=parseFloat(fe)+parseFloat(we);var Ce=new O;return I(Y,Ce),D(z,Ce,this._defs),Ce},tspan:function(z,Y){var ee=z.getAttribute("x"),fe=z.getAttribute("y");ee!=null&&(this._textX=parseFloat(ee)),fe!=null&&(this._textY=parseFloat(fe));var ie=z.getAttribute("dx")||0,we=z.getAttribute("dy")||0,Ce=new O;return I(Y,Ce),D(z,Ce,this._defs),this._textX+=ie,this._textY+=we,Ce},path:function(z,Y){var ee=z.getAttribute("d")||"",fe=t(ee);return I(Y,fe),D(z,fe,this._defs),fe}},w={lineargradient:function(z){var Y=parseInt(z.getAttribute("x1")||0,10),ee=parseInt(z.getAttribute("y1")||0,10),fe=parseInt(z.getAttribute("x2")||10,10),ie=parseInt(z.getAttribute("y2")||0,10),we=new a(Y,ee,fe,ie);return b(z,we),we},radialgradient:function(z){}};function b(V,z){for(var Y=V.firstChild;Y;){if(Y.nodeType===1){var ee=Y.getAttribute("offset");ee.indexOf("%")>0?ee=parseInt(ee,10)/100:ee?ee=parseFloat(ee):ee=0;var fe=Y.getAttribute("stop-color")||"#000000";z.addColorStop(ee,fe)}Y=Y.nextSibling}}function I(V,z){V&&V.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),h(z.__inheritedStyle,V.__inheritedStyle))}function _(V){for(var z=p(V).split(A),Y=[],ee=0;ee0;ie-=2){var we=fe[ie],Ce=fe[ie-1];ee=ee||e.create();switch(Ce){case"translate":we=p(we).split(A),e.translate(ee,ee,[parseFloat(we[0]),parseFloat(we[1]||0)]);break;case"scale":we=p(we).split(A),e.scale(ee,ee,[parseFloat(we[0]),parseFloat(we[1]||we[0])]);break;case"rotate":we=p(we).split(A),e.rotate(ee,ee,parseFloat(we[0]));break;case"skew":we=p(we).split(A),console.warn("Skew transform is not supported yet");break;case"matrix":var we=p(we).split(A);ee[0]=parseFloat(we[0]),ee[1]=parseFloat(we[1]),ee[2]=parseFloat(we[2]),ee[3]=parseFloat(we[3]),ee[4]=parseFloat(we[4]),ee[5]=parseFloat(we[5]);break}}z.setLocalTransform(ee)}}var H=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(V){var z=V.getAttribute("style"),Y={};if(!z)return Y;var ee={};H.lastIndex=0;for(var fe;(fe=H.exec(z))!=null;)ee[fe[1]]=fe[2];for(var ie in L)L.hasOwnProperty(ie)&&ee[ie]!=null&&(Y[L[ie]]=ee[ie]);return Y}function K(V,z,Y){var ee=z/V.width,fe=Y/V.height,ie=Math.min(ee,fe),we=[ie,ie],Ce=[-(V.x+V.width/2)*ie+z/2,-(V.y+V.height/2)*ie+Y/2];return{scale:we,position:Ce}}function j(V,z){var Y=new E;return Y.parse(V,z)}P.parseXML=y,P.makeViewBoxTransform=K,P.parseSVG=j},MFOe:function(U,P,d){(function(O){var x=m(),T=f(),v=c(),S=typeof window!="undefined"?window:O;U.exports={assign:x,create:T,trim:v,bind:o,slice:r,each:a,map:n,pluck:e,isList:s,isFunction:t,isObject:i,Global:S};function m(){return Object.assign?Object.assign:function(u,h,p,g){for(var A=1;A=0&&typeof y=="number"&&(y=+y.toFixed(Math.min(L,20))),I.coord[w]=_.coord[w]=y,h=[I,_,{type:g,valueIndex:h.valueIndex,value:y}]}return h=[v.dataTransform(i,h[0]),v.dataTransform(i,h[1]),O.extend({},h[2])],h[2].type=h[2].type||"",O.merge(h[2],h[0]),O.merge(h[2],h[1]),h};function r(i){return!isNaN(i)&&!isFinite(i)}function a(i,l,u,h){var p=1-i,g=h.dimensions[i];return r(l[p])&&r(u[p])&&l[i]===u[i]&&h.getAxis(g).containData(l[i])}function n(i,l){if(i.type==="cartesian2d"){var u=l[0].coord,h=l[1].coord;if(u&&h&&(a(1,u,h,i)||a(0,u,h,i)))return!0}return v.dataFilter(i,l[0])&&v.dataFilter(i,l[1])}function e(i,l,u,h,p){var g=h.coordinateSystem,A=i.getItemModel(l),y,E=T.parsePercent(A.get("x"),p.getWidth()),C=T.parsePercent(A.get("y"),p.getHeight());if(!isNaN(E)&&!isNaN(C))y=[E,C];else{if(h.getMarkerPosition)y=h.getMarkerPosition(i.getValues(i.dimensions,l));else{var w=g.dimensions,b=i.get(w[0],l),I=i.get(w[1],l);y=g.dataToPoint([b,I])}if(g.type==="cartesian2d"){var _=g.getAxis("x"),L=g.getAxis("y"),w=g.dimensions;r(i.get(w[0],l))?y[0]=_.toGlobalCoord(_.getExtent()[u?0:1]):r(i.get(w[1],l))&&(y[1]=L.toGlobalCoord(L.getExtent()[u?0:1]))}isNaN(E)||(y[0]=E),isNaN(C)||(y[1]=C)}i.setItemLayout(l,y)}var s=m.extend({type:"markLine",updateTransform:function(i,l,u){l.eachSeries(function(h){var p=h.markLineModel;if(p){var g=p.getData(),A=p.__from,y=p.__to;A.each(function(E){e(A,E,!0,h,u),e(y,E,!1,h,u)}),g.each(function(E){g.setItemLayout(E,[A.getItemLayout(E),y.getItemLayout(E)])}),this.markerGroupMap.get(h.id).updateLayout()}},this)},renderSeries:function(i,l,u,h){var p=i.coordinateSystem,g=i.id,A=i.getData(),y=this.markerGroupMap,E=y.get(g)||y.set(g,new S);this.group.add(E.group);var C=t(p,i,l),w=C.from,b=C.to,I=C.line;l.__from=w,l.__to=b,l.setData(I);var _=l.get("symbol"),L=l.get("symbolSize");O.isArray(_)||(_=[_,_]),typeof L=="number"&&(L=[L,L]),C.from.each(function(N){D(w,N,!0),D(b,N,!1)}),I.each(function(N){var R=I.getItemModel(N).get("lineStyle.color");I.setItemVisual(N,{color:R||w.getItemVisual(N,"color")}),I.setItemLayout(N,[w.getItemLayout(N),b.getItemLayout(N)]),I.setItemVisual(N,{fromSymbolSize:w.getItemVisual(N,"symbolSize"),fromSymbol:w.getItemVisual(N,"symbol"),toSymbolSize:b.getItemVisual(N,"symbolSize"),toSymbol:b.getItemVisual(N,"symbol")})}),E.updateData(I),C.line.eachItemGraphicEl(function(N,R){N.traverse(function(B){B.dataModel=l})});function D(N,R,B){var M=N.getItemModel(R);e(N,R,B,i,h),N.setItemVisual(R,{symbolSize:M.get("symbolSize")||L[B?0:1],symbol:M.get("symbol",!0)||_[B?0:1],color:M.get("itemStyle.color")||A.getVisual("color")})}E.__keep=!0,E.group.silent=l.get("silent")||i.get("silent")}});function t(i,l,u){var h;i?h=O.map(i&&i.dimensions,function(C){var w=l.getData().getDimensionInfo(l.getData().mapDimension(C))||{};return O.defaults({name:C},w)}):h=[{name:"value",type:"float"}];var p=new x(h,u),g=new x(h,u),A=new x([],u),y=O.map(u.get("data"),O.curry(o,l,i,u));i&&(y=O.filter(y,O.curry(n,i)));var E=i?v.dimValueGetter:function(C){return C.value};return p.initData(O.map(y,function(C){return C[0]}),null,E),g.initData(O.map(y,function(C){return C[1]}),null,E),A.initData(O.map(y,function(C){return C[2]})),A.hasItemOption=!0,{from:p,to:g,line:A}}U.exports=s},MHoB:function(U,P,d){var O=d("bYtY"),x=d("6uqw"),T=d("OELB"),v=[20,140],S=x.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(c,o){S.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){S.superApply(this,"resetItemSize",arguments);var c=this.itemSize;this._orient==="horizontal"&&c.reverse(),(c[0]==null||isNaN(c[0]))&&(c[0]=v[0]),(c[1]==null||isNaN(c[1]))&&(c[1]=v[1])},_resetRange:function(){var c=this.getExtent(),o=this.option.range;!o||o.auto?(c.auto=1,this.option.range=c):O.isArray(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],c[0]),o[1]=Math.min(o[1],c[1]))},completeVisualOption:function(){x.prototype.completeVisualOption.apply(this,arguments),O.each(this.stateList,function(c){var o=this.option.controller[c].symbolSize;o&&o[0]!==o[1]&&(o[0]=0)},this)},setSelected:function(c){this.option.range=c.slice(),this._resetRange()},getSelected:function(){var c=this.getExtent(),o=T.asc((this.get("range")||[]).slice());return o[0]>c[1]&&(o[0]=c[1]),o[1]>c[1]&&(o[1]=c[1]),o[0]=r[1]||c<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(c){var o=[];return this.eachTargetSeries(function(r){var a=[],n=r.getData();n.each(this.getDataDimension(n),function(e,s){c[0]<=e&&e<=c[1]&&a.push(s)},this),o.push({seriesId:r.id,dataIndex:a})},this),o},getVisualMeta:function(c){var o=m(this,"outOfRange",this.getExtent()),r=m(this,"inRange",this.option.range.slice()),a=[];function n(h,p){a.push({value:h,color:c(h,p)})}for(var e=0,s=0,t=r.length,i=o.length;s0&&arguments[0]!==void 0?arguments[0]:[],Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Nt=Tt.length,Be=Ct.length;if(Math.abs(Nt-Be)!==1)return{add:!1,key:null};function $(Z,Re){var De=new Map;Z.forEach(function(gt){De.set(gt,!0)});var ae=Re.filter(function(gt){return!De.has(gt)});return ae.length===1?ae[0]:null}return Nt ").concat(Ct);return Ct}var j=function(Ct,Nt){var Be=Ct.prefixCls,$=Ct.data,Z=Ct.selectable,Re=Ct.checkable,De=Ct.expandedKeys,ae=Ct.selectedKeys,gt=Ct.checkedKeys,jt=Ct.loadedKeys,ut=Ct.loadingKeys,rr=Ct.halfCheckedKeys,pr=Ct.keyEntities,nn=Ct.disabled,mr=Ct.dragging,vr=Ct.dragOverNodeKey,$t=Ct.dropPosition,Xt=Ct.motion,ft=Ct.height,Ur=Ct.itemHeight,yn=Ct.virtual,Dn=Ct.focusable,Un=Ct.activeItem,wi=Ct.focused,Rn=Ct.tabIndex,kn=Ct.onKeyDown,Vn=Ct.onFocus,Gt=Ct.onBlur,st=Ct.onActiveChange,ue=Ct.onListChangeStart,Ee=Ct.onListChangeEnd,je=Object(g.a)(Ct,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),Ve=S.useRef(null);S.useImperativeHandle(Nt,function(){return{scrollTo:function(Oi){Ve.current.scrollTo(Oi)}}});var $e=S.useState(De),wt=Object(p.a)($e,2),qt=wt[0],Mr=wt[1],an=S.useState($),_t=Object(p.a)(an,2),at=_t[0],bt=_t[1],kt=S.useState($),Pt=Object(p.a)(kt,2),Et=Pt[0],Ht=Pt[1],ot=S.useState([]),Mt=Object(p.a)(ot,2),xr=Mt[0],ur=Mt[1],gr=S.useState(null),Qr=Object(p.a)(gr,2),ln=Qr[0],_n=Qr[1];function Mn(){bt($),Ht($),ur([]),_n(null),Ee()}S.useEffect(function(){Mr(De);var pi=I(qt,De);if(pi.key!==null)if(pi.add){var Oi=at.findIndex(function(Xe){var qe=Xe.data.key;return qe===pi.key}),Ze=H(_(at,$,pi.key),yn,ft,Ur),be=at.slice();be.splice(Oi+1,0,M),Ht(be),ur(Ze),_n("show")}else{var Ne=$.findIndex(function(Xe){var qe=Xe.data.key;return qe===pi.key}),Ue=H(_($,at,pi.key),yn,ft,Ur),Qe=$.slice();Qe.splice(Ne+1,0,M),Ht(Qe),ur(Ue),_n("hide")}else at!==$&&(bt($),Ht($))},[De,$]),S.useEffect(function(){mr||Mn()},[mr]);var li=Xt?Et:$,ai={expandedKeys:De,selectedKeys:ae,loadedKeys:jt,loadingKeys:ut,checkedKeys:gt,halfCheckedKeys:rr,dragOverNodeKey:vr,dropPosition:$t,keyEntities:pr};return S.createElement(S.Fragment,null,wi&&Un&&S.createElement("span",{style:L,"aria-live":"assertive"},K(Un)),S.createElement("div",{role:"tree"},S.createElement("input",{style:L,disabled:Dn===!1||nn,tabIndex:Dn!==!1?Rn:null,onKeyDown:kn,onFocus:Vn,onBlur:Gt,value:"",onChange:D})),S.createElement(A.a,Object.assign({},je,{data:li,itemKey:F,height:ft,fullHeight:!1,virtual:yn,itemHeight:Ur,prefixCls:"".concat(Be,"-list"),ref:Ve}),function(pi){var Oi=pi.pos,Ze=pi.data,be=Ze.key,Ne=Object(g.a)(Ze,["key"]),Ue=pi.isStart,Qe=pi.isEnd,Xe=Object(h.e)(be,Oi);delete Ne.children;var qe=Object(h.f)(Xe,ai);return S.createElement(b,Object.assign({},Ne,qe,{active:Un&&be===Un.data.key,pos:Oi,data:pi.data,isStart:Ue,isEnd:Qe,motion:Xt,motionNodes:be===N?xr:null,motionType:ln,onMotionStart:ue,onMotionEnd:Mn,treeNodeRequiredProps:ai,onMouseMove:function(){st(null)}}))}))},V=S.forwardRef(j);V.displayName="NodeList";var z=V,Y=d("qOx5"),ee=function(Tt){Object(a.a)(Nt,Tt);var Ct=Object(n.a)(Nt);function Nt(){var Be;return Object(o.a)(this,Nt),Be=Ct.apply(this,arguments),Be.destroyed=!1,Be.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},Be.listRef=S.createRef(),Be.onNodeDragStart=function($,Z){var Re=Be.state,De=Re.expandedKeys,ae=Re.keyEntities,gt=Be.props.onDragStart,jt=Z.props.eventKey;Be.dragNode=Z;var ut=Object(u.b)(De,jt);Be.setState({dragging:!0,dragNodesKeys:Object(u.g)(jt,ae)}),Be.setExpandedKeys(ut),gt&>({event:$,node:Object(h.b)(Z.props)})},Be.onNodeDragEnter=function($,Z){var Re=Be.state,De=Re.expandedKeys,ae=Re.keyEntities,gt=Re.dragNodesKeys,jt=Be.props.onDragEnter,ut=Z.props,rr=ut.pos,pr=ut.eventKey;if(!Be.dragNode||gt.indexOf(pr)!==-1)return;var nn=Object(u.c)($,Z);if(Be.dragNode.props.eventKey===pr&&nn===0){Be.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Be.setState({dragOverNodeKey:pr,dropPosition:nn}),Be.delayedDragEnterLogic||(Be.delayedDragEnterLogic={}),Object.keys(Be.delayedDragEnterLogic).forEach(function(mr){clearTimeout(Be.delayedDragEnterLogic[mr])}),Be.delayedDragEnterLogic[rr]=window.setTimeout(function(){if(!Be.state.dragging)return;var mr=Object(c.a)(De),vr=ae[pr];vr&&(vr.children||[]).length&&(mr=Object(u.a)(De,pr)),"expandedKeys"in Be.props||Be.setExpandedKeys(mr),jt&&jt({event:$,node:Object(h.b)(Z.props),expandedKeys:mr})},400)},0)},Be.onNodeDragOver=function($,Z){var Re=Be.state.dragNodesKeys,De=Be.props.onDragOver,ae=Z.props.eventKey;if(Re.indexOf(ae)!==-1)return;if(Be.dragNode&&ae===Be.state.dragOverNodeKey){var gt=Object(u.c)($,Z);if(gt===Be.state.dropPosition)return;Be.setState({dropPosition:gt})}De&&De({event:$,node:Object(h.b)(Z.props)})},Be.onNodeDragLeave=function($,Z){var Re=Be.props.onDragLeave;Be.setState({dragOverNodeKey:""}),Re&&Re({event:$,node:Object(h.b)(Z.props)})},Be.onNodeDragEnd=function($,Z){var Re=Be.props.onDragEnd;Be.setState({dragOverNodeKey:""}),Be.cleanDragState(),Re&&Re({event:$,node:Object(h.b)(Z.props)}),Be.dragNode=null},Be.onNodeDrop=function($,Z){var Re=Be.state,De=Re.dragNodesKeys,ae=De===void 0?[]:De,gt=Re.dropPosition,jt=Be.props.onDrop,ut=Z.props,rr=ut.eventKey,pr=ut.pos;if(Be.setState({dragOverNodeKey:""}),Be.cleanDragState(),ae.indexOf(rr)!==-1){Object(s.a)(!1,"Can not drop to dragNode(include it's children node)");return}var nn=Object(u.k)(pr),mr={event:$,node:Object(h.b)(Z.props),dragNode:Be.dragNode?Object(h.b)(Be.dragNode.props):null,dragNodesKeys:ae.slice(),dropPosition:gt+Number(nn[nn.length-1]),dropToGap:!1};gt!==0&&(mr.dropToGap=!0),jt&&jt(mr),Be.dragNode=null},Be.cleanDragState=function(){var $=Be.state.dragging;$&&Be.setState({dragging:!1})},Be.onNodeClick=function($,Z){var Re=Be.props.onClick;Re&&Re($,Z)},Be.onNodeDoubleClick=function($,Z){var Re=Be.props.onDoubleClick;Re&&Re($,Z)},Be.onNodeSelect=function($,Z){var Re=Be.state.selectedKeys,De=Be.state.keyEntities,ae=Be.props,gt=ae.onSelect,jt=ae.multiple,ut=Z.selected,rr=Z.key,pr=!ut;pr?jt?Re=Object(u.a)(Re,rr):Re=[rr]:Re=Object(u.b)(Re,rr);var nn=Re.map(function(mr){var vr=De[mr];return vr?vr.node:null}).filter(function(mr){return mr});Be.setUncontrolledState({selectedKeys:Re}),gt&>(Re,{event:"select",selected:pr,node:Z,selectedNodes:nn,nativeEvent:$.nativeEvent})},Be.onNodeCheck=function($,Z,Re){var De=Be.state,ae=De.keyEntities,gt=De.checkedKeys,jt=De.halfCheckedKeys,ut=Be.props,rr=ut.checkStrictly,pr=ut.onCheck,nn=Z.key,mr,vr={event:"check",node:Z,checked:Re,nativeEvent:$.nativeEvent};if(rr){var $t=Re?Object(u.a)(gt,nn):Object(u.b)(gt,nn),Xt=Object(u.b)(jt,nn);mr={checked:$t,halfChecked:Xt},vr.checkedNodes=$t.map(function(wi){return ae[wi]}).filter(function(wi){return wi}).map(function(wi){return wi.node}),Be.setUncontrolledState({checkedKeys:$t})}else{var ft=Object(Y.a)([].concat(Object(c.a)(gt),[nn]),!0,ae),Ur=ft.checkedKeys,yn=ft.halfCheckedKeys;if(!Re){var Dn=new Set(Ur);Dn.delete(nn);var Un=Object(Y.a)(Array.from(Dn),{checked:!1,halfCheckedKeys:yn},ae);Ur=Un.checkedKeys,yn=Un.halfCheckedKeys}mr=Ur,vr.checkedNodes=[],vr.checkedNodesPositions=[],vr.halfCheckedKeys=yn,Ur.forEach(function(wi){var Rn=ae[wi];if(!Rn)return;var kn=Rn.node,Vn=Rn.pos;vr.checkedNodes.push(kn),vr.checkedNodesPositions.push({node:kn,pos:Vn})}),Be.setUncontrolledState({checkedKeys:Ur},!1,{halfCheckedKeys:yn})}pr&&pr(mr,vr)},Be.onNodeLoad=function($){return new Promise(function(Z){Be.setState(function(Re){var De=Re.loadedKeys,ae=De===void 0?[]:De,gt=Re.loadingKeys,jt=gt===void 0?[]:gt,ut=Be.props,rr=ut.loadData,pr=ut.onLoad,nn=$.key;if(!rr||ae.indexOf(nn)!==-1||jt.indexOf(nn)!==-1)return{};var mr=rr($);return mr.then(function(){var vr=Be.state,$t=vr.loadedKeys,Xt=vr.loadingKeys,ft=Object(u.a)($t,nn),Ur=Object(u.b)(Xt,nn);pr&&pr(ft,{event:"load",node:$}),Be.setUncontrolledState({loadedKeys:ft}),Be.setState({loadingKeys:Ur}),Z()}),{loadingKeys:Object(u.a)(jt,nn)}})})},Be.onNodeMouseEnter=function($,Z){var Re=Be.props.onMouseEnter;Re&&Re({event:$,node:Z})},Be.onNodeMouseLeave=function($,Z){var Re=Be.props.onMouseLeave;Re&&Re({event:$,node:Z})},Be.onNodeContextMenu=function($,Z){var Re=Be.props.onRightClick;Re&&($.preventDefault(),Re({event:$,node:Z}))},Be.onFocus=function(){var $=Be.props.onFocus;Be.setState({focused:!0}),$&&$.apply(void 0,arguments)},Be.onBlur=function(){var $=Be.props.onBlur;Be.setState({focused:!1}),Be.onActiveChange(null),$&&$.apply(void 0,arguments)},Be.getTreeNodeRequiredProps=function(){var $=Be.state,Z=$.expandedKeys,Re=$.selectedKeys,De=$.loadedKeys,ae=$.loadingKeys,gt=$.checkedKeys,jt=$.halfCheckedKeys,ut=$.dragOverNodeKey,rr=$.dropPosition,pr=$.keyEntities;return{expandedKeys:Z||[],selectedKeys:Re||[],loadedKeys:De||[],loadingKeys:ae||[],checkedKeys:gt||[],halfCheckedKeys:jt||[],dragOverNodeKey:ut,dropPosition:rr,keyEntities:pr}},Be.setExpandedKeys=function($){var Z=Be.state.treeData,Re=Object(h.d)(Z,$);Be.setUncontrolledState({expandedKeys:$,flattenNodes:Re},!0)},Be.onNodeExpand=function($,Z){var Re=Be.state.expandedKeys,De=Be.state.listChanging,ae=Be.props,gt=ae.onExpand,jt=ae.loadData,ut=Z.key,rr=Z.expanded;if(De)return;var pr=Re.indexOf(ut),nn=!rr;if(Object(s.a)(rr&&pr!==-1||!rr&&pr===-1,"Expand state not sync with index check"),nn?Re=Object(u.a)(Re,ut):Re=Object(u.b)(Re,ut),Be.setExpandedKeys(Re),gt&>(Re,{node:Z,expanded:nn,nativeEvent:$.nativeEvent}),nn&&jt){var mr=Be.onNodeLoad(Z);mr&&mr.then(function(){var vr=Object(h.d)(Be.state.treeData,Re);Be.setUncontrolledState({flattenNodes:vr})})}},Be.onListChangeStart=function(){Be.setUncontrolledState({listChanging:!0})},Be.onListChangeEnd=function(){setTimeout(function(){Be.setUncontrolledState({listChanging:!1})})},Be.onActiveChange=function($){var Z=Be.state.activeKey,Re=Be.props.onActiveChange;if(Z===$)return;Be.setState({activeKey:$}),$!==null&&Be.scrollTo({key:$}),Re&&Re($)},Be.getActiveItem=function(){var $=Be.state,Z=$.activeKey,Re=$.flattenNodes;return Z===null?null:Re.find(function(De){var ae=De.data.key;return ae===Z})||null},Be.offsetActiveKey=function($){var Z=Be.state,Re=Z.flattenNodes,De=Z.activeKey,ae=Re.findIndex(function(ut){var rr=ut.data.key;return rr===De});ae===-1&&$<0&&(ae=Re.length),ae=(ae+$+Re.length)%Re.length;var gt=Re[ae];if(gt){var jt=gt.data.key;Be.onActiveChange(jt)}else Be.onActiveChange(null)},Be.onKeyDown=function($){var Z=Be.state,Re=Z.activeKey,De=Z.expandedKeys,ae=Z.checkedKeys,gt=Be.props,jt=gt.onKeyDown,ut=gt.checkable,rr=gt.selectable;switch($.which){case e.a.UP:{Be.offsetActiveKey(-1),$.preventDefault();break}case e.a.DOWN:{Be.offsetActiveKey(1),$.preventDefault();break}}var pr=Be.getActiveItem();if(pr&&pr.data){var nn=Be.getTreeNodeRequiredProps(),mr=pr.data.isLeaf===!1||!!(pr.data.children||[]).length,vr=Object(h.b)(Object(f.a)(Object(f.a)({},Object(h.f)(Re,nn)),{},{data:pr.data,active:!0}));switch($.which){case e.a.LEFT:{mr&&De.includes(Re)?Be.onNodeExpand({},vr):pr.parent&&Be.onActiveChange(pr.parent.data.key),$.preventDefault();break}case e.a.RIGHT:{mr&&!De.includes(Re)?Be.onNodeExpand({},vr):pr.children&&pr.children.length&&Be.onActiveChange(pr.children[0].data.key),$.preventDefault();break}case e.a.ENTER:case e.a.SPACE:{ut&&!vr.disabled&&vr.checkable!==!1&&!vr.disableCheckbox?Be.onNodeCheck({},vr,!ae.includes(Re)):!ut&&rr&&!vr.disabled&&vr.selectable!==!1&&Be.onNodeSelect({},vr);break}}}jt&&jt($)},Be.setUncontrolledState=function($){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Be.destroyed)return;var De=!1,ae=!0,gt={};Object.keys($).forEach(function(jt){if(jt in Be.props){ae=!1;return}De=!0,gt[jt]=$[jt]}),De&&(!Z||ae)&&Be.setState(Object(f.a)(Object(f.a)({},gt),Re))},Be.scrollTo=function($){Be.listRef.current.scrollTo($)},Be}return Object(r.a)(Nt,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var $,Z=this.state,Re=Z.focused,De=Z.flattenNodes,ae=Z.keyEntities,gt=Z.dragging,jt=Z.activeKey,ut=this.props,rr=ut.prefixCls,pr=ut.className,nn=ut.style,mr=ut.showLine,vr=ut.focusable,$t=ut.tabIndex,Xt=$t===void 0?0:$t,ft=ut.selectable,Ur=ut.showIcon,yn=ut.icon,Dn=ut.switcherIcon,Un=ut.draggable,wi=ut.checkable,Rn=ut.checkStrictly,kn=ut.disabled,Vn=ut.motion,Gt=ut.loadData,st=ut.filterTreeNode,ue=ut.height,Ee=ut.itemHeight,je=ut.virtual,Ve=ut.titleRender,$e=ut.onContextMenu,wt=Object(u.f)(this.props);return S.createElement(l.a.Provider,{value:{prefixCls:rr,selectable:ft,showIcon:Ur,icon:yn,switcherIcon:Dn,draggable:Un,checkable:wi,checkStrictly:Rn,disabled:kn,keyEntities:ae,loadData:Gt,filterTreeNode:st,titleRender:Ve,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}},S.createElement("div",{className:i()(rr,pr,($={},Object(m.a)($,"".concat(rr,"-show-line"),mr),Object(m.a)($,"".concat(rr,"-focused"),Re),Object(m.a)($,"".concat(rr,"-active-focused"),jt!==null),$))},S.createElement(z,Object.assign({ref:this.listRef,prefixCls:rr,style:nn,data:De,disabled:kn,selectable:ft,checkable:!!wi,motion:Vn,dragging:gt,height:ue,itemHeight:Ee,virtual:je,focusable:vr,focused:Re,tabIndex:Xt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:$e},this.getTreeNodeRequiredProps(),wt))))}}],[{key:"getDerivedStateFromProps",value:function($,Z){var Re=Z.prevProps,De={prevProps:$};function ae(yn){return!Re&&yn in $||Re&&Re[yn]!==$[yn]}var gt;if(ae("treeData")?gt=$.treeData:ae("children")&&(Object(s.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),gt=Object(h.c)($.children)),gt){De.treeData=gt;var jt=Object(h.a)(gt);De.keyEntities=Object(f.a)(Object(m.a)({},N,B),jt.keyEntities)}var ut=De.keyEntities||Z.keyEntities;if(ae("expandedKeys")||Re&&ae("autoExpandParent"))De.expandedKeys=$.autoExpandParent||!Re&&$.defaultExpandParent?Object(u.e)($.expandedKeys,ut):$.expandedKeys;else if(!Re&&$.defaultExpandAll){var rr=Object(f.a)({},ut);delete rr[N],De.expandedKeys=Object.keys(rr).map(function(yn){return rr[yn].key})}else!Re&&$.defaultExpandedKeys&&(De.expandedKeys=$.autoExpandParent||$.defaultExpandParent?Object(u.e)($.defaultExpandedKeys,ut):$.defaultExpandedKeys);if(De.expandedKeys||delete De.expandedKeys,gt||De.expandedKeys){var pr=Object(h.d)(gt||Z.treeData,De.expandedKeys||Z.expandedKeys);De.flattenNodes=pr}if($.selectable&&(ae("selectedKeys")?De.selectedKeys=Object(u.d)($.selectedKeys,$):!Re&&$.defaultSelectedKeys&&(De.selectedKeys=Object(u.d)($.defaultSelectedKeys,$))),$.checkable){var nn;if(ae("checkedKeys")?nn=Object(u.j)($.checkedKeys)||{}:!Re&&$.defaultCheckedKeys?nn=Object(u.j)($.defaultCheckedKeys)||{}:gt&&(nn=Object(u.j)($.checkedKeys)||{checkedKeys:Z.checkedKeys,halfCheckedKeys:Z.halfCheckedKeys}),nn){var mr=nn,vr=mr.checkedKeys,$t=vr===void 0?[]:vr,Xt=mr.halfCheckedKeys,ft=Xt===void 0?[]:Xt;if(!$.checkStrictly){var Ur=Object(Y.a)($t,!0,ut);$t=Ur.checkedKeys,ft=Ur.halfCheckedKeys}De.checkedKeys=$t,De.halfCheckedKeys=ft}}return ae("loadedKeys")&&(De.loadedKeys=$.loadedKeys),De}}]),Nt}(S.Component);ee.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:[]},ee.TreeNode=E.a;var fe=ee,ie=fe,we=d("RIqP"),Ce=d.n(we),Le=d("J4zp"),He=d.n(Le),ce=d("sEfC"),Pe=d.n(ce),Q=d("vk+C"),me=d.n(Q),Je=d("Vy0f"),re=d.n(Je),G=d("kGiB"),X=d.n(G),J=d("H84U"),Ae;(function(Tt){Tt[Tt.None=0]="None",Tt[Tt.Start=1]="Start",Tt[Tt.End=2]="End"})(Ae||(Ae={}));function he(Tt,Ct){function Nt(Be){var $=Be.key,Z=Be.children;Ct($,Be)!==!1&&he(Z||[],Ct)}Tt.forEach(Nt)}function Me(Tt){var Ct=Tt.treeData,Nt=Tt.expandedKeys,Be=Tt.startKey,$=Tt.endKey,Z=[],Re=Ae.None;if(Be&&Be===$)return[Be];if(!Be||!$)return[];function De(ae){return ae===Be||ae===$}return he(Ct,function(ae){if(Re===Ae.End)return!1;if(De(ae)){if(Z.push(ae),Re===Ae.None)Re=Ae.Start;else if(Re===Ae.Start)return Re=Ae.End,!1}else Re===Ae.Start&&Z.push(ae);return!(Nt.indexOf(ae)===-1)}),Z}function Ie(Tt,Ct){var Nt=Ce()(Ct),Be=[];return he(Tt,function($,Z){var Re=Nt.indexOf($);return Re!==-1&&(Be.push(Z),Nt.splice(Re,1)),!!Nt.length}),Be}var oe=function(Tt,Ct){var Nt={};for(var Be in Tt)Object.prototype.hasOwnProperty.call(Tt,Be)&&Ct.indexOf(Be)<0&&(Nt[Be]=Tt[Be]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,Be=Object.getOwnPropertySymbols(Tt);$=0&&this._clips.splice(r,1)},removeAnimator:function(o){for(var r=o.getClips(),a=0;a> Display.constructor"),this._target=s,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},x.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),x.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return a(e,[{key:"viewportChangePos",value:function(t,i){var l=this._viewportLoc;t=Math.floor(t),i=Math.floor(i),this._clipViewport||(t=-l.w,i=-l.h);var u=l.x+l.w-1,h=l.y+l.h-1;if(t<0&&l.x+t<0&&(t=-l.x),u+t>=this._fbWidth&&(t-=u+t-this._fbWidth+1),l.y+i<0&&(i=-l.y),h+i>=this._fbHeight&&(i-=h+i-this._fbHeight+1),t===0&&i===0)return;x.Debug("viewportChange deltaX: "+t+", deltaY: "+i),l.x+=t,l.y+=i,this._damage(l.x,l.y,l.w,l.h),this.flip()}},{key:"viewportChangeSize",value:function(t,i){(!this._clipViewport||typeof t=="undefined"||typeof i=="undefined")&&(x.Debug("Setting viewport to full display region"),t=this._fbWidth,i=this._fbHeight),t=Math.floor(t),i=Math.floor(i),t>this._fbWidth&&(t=this._fbWidth),i>this._fbHeight&&(i=this._fbHeight);var l=this._viewportLoc;if(l.w!==t||l.h!==i){l.w=t,l.h=i;var u=this._target;u.width=t,u.height=i,this.viewportChangePos(0,0),this._damage(l.x,l.y,l.w,l.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,S.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,S.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,i){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=i;var l=this._backbuffer;if(l.width!==t||l.height!==i){var u=null;l.width>0&&l.height>0&&(u=this._drawCtx.getImageData(0,0,l.width,l.height)),l.width!==t&&(l.width=t),l.height!==i&&(l.height=i),u&&this._drawCtx.putImageData(u,0,0)}var h=this._viewportLoc;this.viewportChangeSize(h.w,h.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,i,l,u){tthis._damageBounds.right&&(this._damageBounds.right=t+l),i+u>this._damageBounds.bottom&&(this._damageBounds.bottom=i+u)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var i=this._damageBounds.left,l=this._damageBounds.top,u=this._damageBounds.right-i,h=this._damageBounds.bottom-l,p=i-this._viewportLoc.x,g=l-this._viewportLoc.y;p<0&&(u+=p,i-=p,p=0),g<0&&(h+=g,l-=g,g=0),p+u>this._viewportLoc.w&&(u=this._viewportLoc.w-p),g+h>this._viewportLoc.h&&(h=this._viewportLoc.h-g),u>0&&h>0&&this._targetCtx.drawImage(this._backbuffer,i,l,u,h,p,g,u,h),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(t,i,l,u,h,p){this._renderQ.length!==0&&!p?this._renderQPush({type:"fill",x:t,y:i,width:l,height:u,color:h}):(this._setFillColor(h),this._drawCtx.fillRect(t,i,l,u),this._damage(t,i,l,u))}},{key:"copyImage",value:function(t,i,l,u,h,p,g){this._renderQ.length!==0&&!g?this._renderQPush({type:"copy",oldX:t,oldY:i,x:l,y:u,width:h,height:p}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,i,h,p,l,u,h,p),this._damage(l,u,h,p))}},{key:"imageRect",value:function(t,i,l,u,h,p){if(l===0||u===0)return;var g=new Image;g.src="data: "+h+";base64,"+T.default.encode(p),this._renderQPush({type:"img",img:g,x:t,y:i,width:l,height:u})}},{key:"startTile",value:function(t,i,l,u,h){this._tileX=t,this._tileY=i,l===16&&u===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(l,u);for(var p=h[2],g=h[1],A=h[0],y=this._tile.data,E=0;E=h?l=t/u.w:l=i/u.h}this._rescale(l)}},{key:"_rescale",value:function(t){this._scale=t;var i=this._viewportLoc,l=t*i.w+"px",u=t*i.h+"px";(this._target.style.width!==l||this._target.style.height!==u)&&(this._target.style.width=l,this._target.style.height=u)}},{key:"_setFillColor",value:function(t){var i="rgb("+t[2]+","+t[1]+","+t[0]+")";i!==this._prevDrawStyle&&(this._drawCtx.fillStyle=i,this._prevDrawStyle=i)}},{key:"_rgbImageData",value:function(t,i,l,u,h,p){for(var g=this._drawCtx.createImageData(l,u),A=g.data,y=0,E=p;y0;){var i=this._renderQ[0];switch(i.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(i.oldX,i.oldY,i.x,i.y,i.width,i.height,!0);break;case"fill":this.fillRect(i.x,i.y,i.width,i.height,i.color,!0);break;case"blit":this.blitImage(i.x,i.y,i.width,i.height,i.data,0,!0);break;case"blitRgb":this.blitRgbImage(i.x,i.y,i.width,i.height,i.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(i.x,i.y,i.width,i.height,i.data,0,!0);break;case"img":if(i.img.complete&&i.img.width!==0&&i.img.height!==0){if(i.img.width!==i.width||i.img.height!==i.height){x.Error("Decoded image has incorrect dimensions. Got "+i.img.width+"x"+i.img.height+". Expected "+i.width+"x"+i.height+".");return}this.drawImage(i.img,i.x,i.y)}else i.img._noVNCDisplay=this,i.img.addEventListener("load",this._resumeRenderQ),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;var i=this._viewportLoc;this.viewportChangeSize(i.w,i.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),e}();P.default=n},Mdki:function(U,P,d){var O=d("bYtY"),x=O.each,T="\0__link_datas",v="\0__link_mainData";function S(s){var t=s.mainData,i=s.datas;i||(i={main:t},s.datasAttr={main:"data"}),s.datas=s.mainData=null,a(t,i,s),x(i,function(l){x(t.TRANSFERABLE_METHODS,function(u){l.wrapMethod(u,O.curry(m,s))})}),t.wrapMethod("cloneShallow",O.curry(c,s)),x(t.CHANGABLE_METHODS,function(l){t.wrapMethod(l,O.curry(f,s))}),O.assert(i[t.dataType]===t)}function m(s,t){if(r(this)){var i=O.extend({},this[T]);i[this.dataType]=t,a(t,i,s)}else n(t,this.dataType,this[v],s);return t}function f(s,t){return s.struct&&s.struct.update(this),t}function c(s,t){return x(t[T],function(i,l){i!==t&&n(i.cloneShallow(),l,t,s)}),t}function o(s){var t=this[v];return s==null||t==null?t:t[T][s]}function r(s){return s[v]===s}function a(s,t,i){s[T]={},x(t,function(l,u){n(l,u,s,i)})}function n(s,t,i,l){i[T][t]=s,s[v]=i,s.dataType=t,l.struct&&(s[l.structAttr]=l.struct,l.struct[l.datasAttr[t]]=s),s.getLinkedData=o}var e=S;U.exports=e},Mds0:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("8IMR")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="StarFilled";var c=v.forwardRef(f);P.default=c},Mgri:function(U,P,d){for(var O=d("bYtY"),x=d("8nly"),T=[126,25],v=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],S=0;S=0;t--)s+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+e,s-e)}},{key:"rQwait",value:function(e,s,t){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(e){this._sQ.set(e,this._sQlen),this._sQlen+=e.length,this.flush()}},{key:"sendString",value:function(e){this.send(e.split("").map(function(s){return s.charCodeAt(0)}))}},{key:"off",value:function(e){this._eventHandlers[e]=function(){}}},{key:"on",value:function(e,s){this._eventHandlers[e]=s}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(e,s){var t=this;this.init(),this._websocket=new WebSocket(e,s),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){x.Debug(">> WebSock.onopen"),t._websocket.protocol&&x.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),x.Debug("<< WebSock.onopen")},this._websocket.onclose=function(i){x.Debug(">> WebSock.onclose"),t._eventHandlers.close(i),x.Debug("<< WebSock.onclose")},this._websocket.onerror=function(i){x.Debug(">> WebSock.onerror: "+i),t._eventHandlers.error(i),x.Debug("<< WebSock.onerror: "+i)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(x.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(e){var s=(this._rQlen-this._rQi+e)*8,t=this._rQbufferSizeo&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(s.length),this._rQ.set(s,this._rQlen),this._rQlen+=s.length}},{key:"_recvMessage",value:function(e){this._DecodeMessage(e.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):x.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(e){this._rQi=e}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),a}();P.default=r},MqEG:function(U,P,d){var O=d("bYtY"),x=d("fc+c"),T=d("72pK"),v=d("VXYp"),S=O.bind,m=x.extend({type:"dataZoom.inside",init:function(a,n){this._range},render:function(a,n,e,s){m.superApply(this,"render",arguments),this._range=a.getPercentRange(),O.each(this.getTargetCoordInfo(),function(t,i){var l=O.map(t,function(u){return v.generateCoordId(u.model)});O.each(t,function(u){var h=u.model,p={};O.each(["pan","zoom","scrollMove"],function(g){p[g]=S(f[g],this,u,i)},this),v.register(e,{coordId:v.generateCoordId(h),allCoordIds:l,containsPoint:function(g,A,y){return h.coordinateSystem.containPoint([A,y])},dataZoomId:a.id,dataZoomModel:a,getRange:p})},this)},this)},dispose:function(){v.unregister(this.api,this.dataZoomModel.id),m.superApply(this,"dispose",arguments),this._range=null}}),f={zoom:function(a,n,e,s){var t=this._range,i=t.slice(),l=a.axisModels[0];if(!l)return;var u=o[n](null,[s.originX,s.originY],l,e,a),h=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(i[1]-i[0])+i[0],p=Math.max(1/s.scale,0);i[0]=(i[0]-h)*p+h,i[1]=(i[1]-h)*p+h;var g=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(T(0,i,[0,100],0,g.minSpan,g.maxSpan),this._range=i,t[0]!==i[0]||t[1]!==i[1])return i},pan:c(function(a,n,e,s,t,i){var l=o[s]([i.oldX,i.oldY],[i.newX,i.newY],n,t,e);return l.signal*(a[1]-a[0])*l.pixel/l.pixelLength}),scrollMove:c(function(a,n,e,s,t,i){var l=o[s]([0,0],[i.scrollDelta,i.scrollDelta],n,t,e);return l.signal*(a[1]-a[0])*i.scrollDelta})};function c(a){return function(n,e,s,t){var i=this._range,l=i.slice(),u=n.axisModels[0];if(!u)return;var h=a(l,u,n,e,s,t);if(T(h,l,[0,100],"all"),this._range=l,i[0]!==l[0]||i[1]!==l[1])return l}}var o={grid:function(a,n,e,s,t){var i=e.axis,l={},u=t.model.coordinateSystem.getRect();return a=a||[0,0],i.dim==="x"?(l.pixel=n[0]-a[0],l.pixelLength=u.width,l.pixelStart=u.x,l.signal=i.inverse?1:-1):(l.pixel=n[1]-a[1],l.pixelLength=u.height,l.pixelStart=u.y,l.signal=i.inverse?-1:1),l},polar:function(a,n,e,s,t){var i=e.axis,l={},u=t.model.coordinateSystem,h=u.getRadiusAxis().getExtent(),p=u.getAngleAxis().getExtent();return a=a?u.pointToCoord(a):[0,0],n=u.pointToCoord(n),e.mainType==="radiusAxis"?(l.pixel=n[0]-a[0],l.pixelLength=h[1]-h[0],l.pixelStart=h[0],l.signal=i.inverse?1:-1):(l.pixel=n[1]-a[1],l.pixelLength=p[1]-p[0],l.pixelStart=p[0],l.signal=i.inverse?-1:1),l},singleAxis:function(a,n,e,s,t){var i=e.axis,l=t.model.coordinateSystem.getRect(),u={};return a=a||[0,0],i.orient==="horizontal"?(u.pixel=n[0]-a[0],u.pixelLength=l.width,u.pixelStart=l.x,u.signal=i.inverse?1:-1):(u.pixel=n[1]-a[1],u.pixelLength=l.height,u.pixelStart=l.y,u.signal=i.inverse?-1:1),u}},r=m;U.exports=r},MwEJ:function(U,P,d){var O=d("bYtY"),x=d("YXkt"),T=d("sdST"),v=d("k9D9"),S=v.SOURCE_FORMAT_ORIGINAL,m=d("L0Ub"),f=m.getDimensionTypeByAxis,c=d("4NO4"),o=c.getDataItemValue,r=d("IDmD"),a=d("i38C"),n=a.getCoordSysInfoBySeries,e=d("7G+c"),s=d("7hqr"),t=s.enableDataStack,i=d("D5nY"),l=i.makeSeriesEncodeForAxisCoordSys;function u(A,y,E){E=E||{},e.isInstance(A)||(A=e.seriesDataToSource(A));var C=y.get("coordinateSystem"),w=r.get(C),b=n(y),I;b&&(I=O.map(b.coordSysDims,function(M){var H={name:M},F=b.axisMap.get(M);if(F){var K=F.get("type");H.type=f(K)}return H})),I||(I=w&&(w.getDimensionsInfo?w.getDimensionsInfo():w.dimensions.slice())||["x","y"]);var _=T(A,{coordDimensions:I,generateCoord:E.generateCoord,encodeDefaulter:E.useEncodeDefaulter?O.curry(l,I,y):null}),L,D;b&&O.each(_,function(M,H){var F=M.coordDim,K=b.categoryAxisMap.get(F);K&&(L==null&&(L=H),M.ordinalMeta=K.getOrdinalMeta()),M.otherDims.itemName!=null&&(D=!0)}),!D&&L!=null&&(_[L].otherDims.itemName=0);var N=t(y,_),R=new x(_,y);R.setCalculationInfo(N);var B=L!=null&&h(A)?function(M,H,F,K){return K===L?F:this.defaultDimValueGetter(M,H,F,K)}:null;return R.hasItemOption=!1,R.initData(A,null,B),R}function h(A){if(A.sourceFormat===S){var y=p(A.data||[]);return y!=null&&!O.isArray(o(y))}}function p(A){for(var y=0;y0?1:He<0?-1:0}function l(j,V){return j.toGlobalCoord(j.dataToCoord(j.scale.parse(V)))}function u(j,V,z,Y,ee,fe,ie,we,Ce,Le){var He=Ce.valueDim,ce=Ce.categoryDim,Pe=Math.abs(z[ce.wh]),Q=j.getItemVisual(V,"symbolSize");x.isArray(Q)?Q=Q.slice():(Q==null&&(Q="100%"),Q=[Q,Q]),Q[ce.index]=f(Q[ce.index],Pe),Q[He.index]=f(Q[He.index],Y?Pe:Math.abs(fe)),Le.symbolSize=Q;var me=Le.symbolScale=[Q[0]/we,Q[1]/we];me[He.index]*=(Ce.isHorizontal?-1:1)*ie}function h(j,V,z,Y,ee){var fe=j.get(a)||0;fe&&(e.attr({scale:V.slice(),rotation:z}),e.updateTransform(),fe/=e.getLineScale(),fe*=V[Y.valueDim.index]),ee.valueLineWidth=fe}function p(j,V,z,Y,ee,fe,ie,we,Ce,Le,He,ce){var Pe=He.categoryDim,Q=He.valueDim,me=ce.pxSign,Je=Math.max(V[Q.index]+we,0),re=Je;if(Y){var G=Math.abs(Ce),X=x.retrieve(j.get("symbolMargin"),"15%")+"",J=!1;X.lastIndexOf("!")===X.length-1&&(J=!0,X=X.slice(0,X.length-1)),X=f(X,V[Q.index]);var Ae=Math.max(Je+X*2,0),he=J?0:X*2,Me=c(Y),Ie=Me?Y:F((G+he)/Ae),oe=G-Ie*Je;X=oe/2/(J?Ie:Ie-1),Ae=Je+X*2,he=J?0:X*2,!Me&&Y!=="fixed"&&(Ie=Le?F((Math.abs(Le)+he)/Ae):0),re=Ie*Ae-he,ce.repeatTimes=Ie,ce.symbolMargin=X}var pe=me*(re/2),Oe=ce.pathPosition=[];Oe[Pe.index]=z[Pe.wh]/2,Oe[Q.index]=ie==="start"?pe:ie==="end"?Ce-pe:Ce/2,fe&&(Oe[0]+=fe[0],Oe[1]+=fe[1]);var Ye=ce.bundlePosition=[];Ye[Pe.index]=z[Pe.xy],Ye[Q.index]=z[Q.xy];var it=ce.barRectShape=x.extend({},z);it[Q.wh]=me*Math.max(Math.abs(z[Q.wh]),Math.abs(Oe[Q.index]+pe)),it[Pe.wh]=z[Pe.wh];var et=ce.clipShape={};et[Pe.xy]=-z[Pe.xy],et[Pe.wh]=He.ecSize[Pe.wh],et[Q.xy]=0,et[Q.wh]=z[Q.wh]}function g(j){var V=j.symbolPatternSize,z=S(j.symbolType,-V/2,-V/2,V,V,j.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function A(j,V,z,Y){var ee=j.__pictorialBundle,fe=z.symbolSize,ie=z.valueLineWidth,we=z.pathPosition,Ce=V.valueDim,Le=z.repeatTimes||0,He=0,ce=fe[V.valueDim.index]+ie+z.symbolMargin*2;for(B(j,function(G){G.__pictorialAnimationIndex=He,G.__pictorialRepeatTimes=Le,He0:J<0)&&(Ae=Le-1-G),X[Ce.index]=ce*(Ae-Le/2+.5)+we[Ce.index],{position:X,scale:z.symbolScale.slice(),rotation:z.rotation}}function Je(){B(j,function(G){G.trigger("emphasis")})}function re(){B(j,function(G){G.trigger("normal")})}}function y(j,V,z,Y){var ee=j.__pictorialBundle,fe=j.__pictorialMainPath;fe?M(fe,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,Y):(fe=j.__pictorialMainPath=g(z),ee.add(fe),M(fe,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,Y),fe.on("mouseover",ie).on("mouseout",we)),_(fe,z);function ie(){this.trigger("emphasis")}function we(){this.trigger("normal")}}function E(j,V,z){var Y=x.extend({},V.barRectShape),ee=j.__pictorialBarRect;ee?M(ee,null,{shape:Y},V,z):(ee=j.__pictorialBarRect=new T.Rect({z2:2,shape:Y,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),j.add(ee))}function C(j,V,z,Y){if(z.symbolClip){var ee=j.__pictorialClipPath,fe=x.extend({},z.clipShape),ie=V.valueDim,we=z.animationModel,Ce=z.dataIndex;if(ee)T.updateProps(ee,{shape:fe},we,Ce);else{fe[ie.wh]=0,ee=new T.Rect({shape:fe}),j.__pictorialBundle.setClipPath(ee),j.__pictorialClipPath=ee;var Le={};Le[ie.wh]=z.clipShape[ie.wh],T[Y?"updateProps":"initProps"](ee,{shape:Le},we,Ce)}}}function w(j,V){var z=j.getItemModel(V);return z.getAnimationDelayParams=b,z.isAnimationEnabled=I,z}function b(j){return{index:j.__pictorialAnimationIndex,count:j.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function _(j,V){j.off("emphasis").off("normal");var z=V.symbolScale.slice();V.hoverAnimation&&j.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function L(j,V,z,Y){var ee=new T.Group,fe=new T.Group;return ee.add(fe),ee.__pictorialBundle=fe,fe.attr("position",z.bundlePosition.slice()),z.symbolRepeat?A(ee,V,z):y(ee,V,z),E(ee,z,Y),C(ee,V,z,Y),ee.__pictorialShapeStr=R(j,z),ee.__pictorialSymbolMeta=z,ee}function D(j,V,z){var Y=z.animationModel,ee=z.dataIndex,fe=j.__pictorialBundle;T.updateProps(fe,{position:z.bundlePosition.slice()},Y,ee),z.symbolRepeat?A(j,V,z,!0):y(j,V,z,!0),E(j,z,!0),C(j,V,z,!0)}function N(j,V,z,Y){var ee=Y.__pictorialBarRect;ee&&(ee.style.text=null);var fe=[];B(Y,function(ie){fe.push(ie)}),Y.__pictorialMainPath&&fe.push(Y.__pictorialMainPath),Y.__pictorialClipPath&&(z=null),x.each(fe,function(ie){T.updateProps(ie,{scale:[0,0]},z,V,function(){Y.parent&&Y.parent.remove(Y)})}),j.setItemGraphicEl(V,null)}function R(j,V){return[j.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function B(j,V,z){x.each(j.__pictorialBundle.children(),function(Y){Y!==j.__pictorialBarRect&&V.call(z,Y)})}function M(j,V,z,Y,ee,fe){V&&j.attr(V),Y.symbolClip&&!ee?z&&j.attr(z):z&&T[ee?"updateProps":"initProps"](j,z,Y.animationModel,Y.dataIndex,fe)}function H(j,V,z){var Y=z.color,ee=z.dataIndex,fe=z.itemModel,ie=fe.getModel("itemStyle").getItemStyle(["color"]),we=fe.getModel("emphasis.itemStyle").getItemStyle(),Ce=fe.getShallow("cursor");B(j,function(Pe){Pe.setColor(Y),Pe.setStyle(x.defaults({fill:Y,opacity:z.opacity},ie)),T.setHoverStyle(Pe,we),Ce&&(Pe.cursor=Ce),Pe.z2=z.z2});var Le={},He=V.valueDim.posDesc[+(z.boundingLength>0)],ce=j.__pictorialBarRect;r(ce.style,Le,fe,Y,V.seriesModel,ee,He),T.setHoverStyle(ce,Le)}function F(j){var V=Math.round(j);return Math.abs(j-V)<1e-4?V:Math.ceil(j)}var K=s;U.exports=K},"N/zr":function(U,P,d){"use strict";function O(m){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(c){return typeof c}:O=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},O(m)}Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var x=v(d("Lo0S"));function T(){if(typeof WeakMap!="function")return null;var m=new WeakMap;return T=function(){return m},m}function v(m){if(m&&m.__esModule)return m;if(m===null||O(m)!=="object"&&typeof m!="function")return{default:m};var f=T();if(f&&f.has(m))return f.get(m);var c={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in m)if(Object.prototype.hasOwnProperty.call(m,r)){var a=o?Object.getOwnPropertyDescriptor(m,r):null;a&&(a.get||a.set)?Object.defineProperty(c,r,a):c[r]=m[r]}return c.default=m,f&&f.set(m,c),c}var S={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(f){"use strict";for(var c="",o=f.length,r=o%3,a=0;a>2],c+=this.toBase64Table[((f[a]&3)<<4)+(f[a+1]>>4)],c+=this.toBase64Table[((f[a+1]&15)<<2)+(f[a+2]>>6)],c+=this.toBase64Table[f[a+2]&63];var n=o-r;return r===2?(c+=this.toBase64Table[f[n]>>2],c+=this.toBase64Table[((f[n]&3)<<4)+(f[n+1]>>4)],c+=this.toBase64Table[(f[n+1]&15)<<2],c+=this.toBase64Table[64]):r===1&&(c+=this.toBase64Table[f[n]>>2],c+=this.toBase64Table[(f[n]&3)<<4],c+=this.toBase64Table[64],c+=this.toBase64Table[64]),c},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(f){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=f.indexOf("=")-c;o<0&&(o=f.length-c);for(var r=(o>>2)*3+Math.floor(o%4/1.5),a=new Array(r),n=0,e=0,s=0,t=c;t=8&&(n-=8,l||(a[s++]=e>>n&255),e&=(1<0){s.virtualPiece?s.virtualPiece.updateData(!1,I,"normal",r,a):(s.virtualPiece=new T(I,r,a),u.add(s.virtualPiece)),_.piece._onclickEvent&&_.piece.off("click",_.piece._onclickEvent);var L=function(D){s._rootToNode(_.parentNode)};_.piece._onclickEvent=L,s.virtualPiece.on("click",L)}else s.virtualPiece&&(u.remove(s.virtualPiece),s.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,a=function(n){var e=!1,s=r.seriesModel.getViewRoot();s.eachNode(function(t){if(!e&&t.piece&&t.piece.childAt(0)===n.target){var i=t.getModel().get("nodeClick");if(i==="rootToNode")r._rootToNode(t);else if(i==="link"){var l=t.getModel(),u=l.get("link");if(u){var h=l.get("target",!0)||"_blank";m(u,h)}}e=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",a),this.group._onclickEvent=a},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:f,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,a){var n=a.getData(),e=n.getItemLayout(0);if(e){var s=r[0]-e.cx,t=r[1]-e.cy,i=Math.sqrt(s*s+t*t);return i<=e.r&&i>=e.r0}}}),o=c;U.exports=o},NAnI:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("wXyp"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},NBmB:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.encodingName=x,P.encodings=void 0;var O={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};P.encodings=O;function x(T){switch(T){case O.encodingRaw:return"Raw";case O.encodingCopyRect:return"CopyRect";case O.encodingRRE:return"RRE";case O.encodingHextile:return"Hextile";case O.encodingTight:return"Tight";case O.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+T+"]"}}},NC18:function(U,P,d){var O=d("y+Vt"),x=d("IMiH"),T=d("7oTu"),v=Math.sqrt,S=Math.sin,m=Math.cos,f=Math.PI,c=function(p){return Math.sqrt(p[0]*p[0]+p[1]*p[1])},o=function(p,g){return(p[0]*g[0]+p[1]*g[1])/(c(p)*c(g))},r=function(p,g){return(p[0]*g[1]1&&(C*=v(R),w*=v(R));var B=(y===E?-1:1)*v((C*C*(w*w)-C*C*(N*N)-w*w*(D*D))/(C*C*(N*N)+w*w*(D*D)))||0,M=B*C*N/w,H=B*-w*D/C,F=(h+g)/2+m(L)*M-S(L)*H,K=(p+A)/2+S(L)*M+m(L)*H,j=r([1,0],[(D-M)/C,(N-H)/w]),V=[(D-M)/C,(N-H)/w],z=[(-1*D-M)/C,(-1*N-H)/w],Y=r(V,z);o(V,z)<=-1&&(Y=f),o(V,z)>=1&&(Y=0),E===0&&Y>0&&(Y=Y-2*f),E===1&&Y<0&&(Y=Y+2*f),_.addData(I,F,K,C,w,j,Y,L,E)}var n=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,e=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function s(h){if(!h)return new x;for(var p=0,g=0,A=p,y=g,E,C=new x,w=x.CMD,b=h.match(n),I=0;I=0||E==="+"?"left":"right"},I={horizontal:E>=0||E==="+"?"top":"bottom",vertical:"middle"},_={horizontal:0,vertical:i/2},L=C==="vertical"?w.height:w.width,D=A.getModel("controlStyle"),N=D.get("show",!0),R=N?D.get("itemSize"):0,B=N?D.get("itemGap"):0,M=R+B,H=A.get("label.rotate")||0;H=H*i/180;var F,K,j,V,z=D.get("position",!0),Y=N&&D.get("showPlayBtn",!0),ee=N&&D.get("showPrevBtn",!0),fe=N&&D.get("showNextBtn",!0),ie=0,we=L;return z==="left"||z==="bottom"?(Y&&(F=[0,0],ie+=M),ee&&(K=[ie,0],ie+=M),fe&&(j=[we-R,0],we-=M)):(Y&&(F=[we-R,0],we-=M),ee&&(K=[0,0],ie+=M),fe&&(j=[we-R,0],we-=M)),V=[ie,we],A.get("inverse")&&V.reverse(),{viewRect:w,mainLength:L,orient:C,rotation:_[C],labelRotation:H,labelPosOpt:E,labelAlign:A.get("label.align")||b[C],labelBaseline:A.get("label.verticalAlign")||A.get("label.baseline")||I[C],playPosition:F,prevBtnPosition:K,nextBtnPosition:j,axisExtent:V,controlSize:R,controlGap:B}},_position:function(A,y){var E=this._mainGroup,C=this._labelGroup,w=A.viewRect;if(A.orient==="vertical"){var b=T.create(),I=w.x,_=w.y+w.height;T.translate(b,b,[-I,-_]),T.rotate(b,b,-i/2),T.translate(b,b,[I,_]),w=w.clone(),w.applyTransform(b)}var L=K(w),D=K(E.getBoundingRect()),N=K(C.getBoundingRect()),R=E.position,B=C.position;B[0]=R[0]=L[0][0];var M=A.labelPosOpt;if(isNaN(M)){var H=M==="+"?0:1;j(R,D,L,1,H),j(B,N,L,1,1-H)}else{var H=M>=0?0:1;j(R,D,L,1,H),B[1]=R[1]+M}E.attr("position",R),C.attr("position",B),E.rotation=C.rotation=A.rotation,F(E),F(C);function F(V){var z=V.position;V.origin=[L[0][0]-z[0],L[1][0]-z[1]]}function K(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function j(V,z,Y,ee,fe){V[ee]+=Y[ee][fe]-z[ee][fe]}},_createAxis:function(A,y){var E=y.getData(),C=y.get("axisType"),w=r.createScaleByModel(y,C);w.getTicks=function(){return E.mapArray(["value"],function(_){return _})};var b=E.getDataExtent("value");w.setExtent(b[0],b[1]),w.niceTicks();var I=new f("value",w,A.axisExtent,C);return I.model=y,I},_createGroup:function(A){var y=this["_"+A]=new v.Group;return this.group.add(y),y},_renderAxisLine:function(A,y,E,C){var w=E.getExtent();if(!C.get("lineStyle.show"))return;y.add(new v.Line({shape:{x1:w[0],y1:0,x2:w[1],y2:0},style:O.extend({lineCap:"round"},C.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(A,y,E,C){var w=C.getData(),b=E.scale.getTicks();t(b,function(I){var _=E.dataToCoord(I),L=w.getItemModel(I),D=L.getModel("itemStyle"),N=L.getModel("emphasis.itemStyle"),R={position:[_,0],onclick:s(this._changeTimeline,this,I)},B=p(L,D,y,R);v.setHoverStyle(B,N.getItemStyle()),L.get("tooltip")?(B.dataIndex=I,B.dataModel=C):B.dataIndex=B.dataModel=null},this)},_renderAxisLabel:function(A,y,E,C){var w=E.getLabelModel();if(!w.get("show"))return;var b=C.getData(),I=E.getViewLabels();t(I,function(_){var L=_.tickValue,D=b.getItemModel(L),N=D.getModel("label"),R=D.getModel("emphasis.label"),B=E.dataToCoord(_.tickValue),M=new v.Text({position:[B,0],rotation:A.labelRotation-A.rotation,onclick:s(this._changeTimeline,this,L),silent:!1});v.setTextStyle(M.style,N,{text:_.formattedLabel,textAlign:A.labelAlign,textVerticalAlign:A.labelBaseline}),y.add(M),v.setHoverStyle(M,v.setTextStyle({},R))},this)},_renderControl:function(A,y,E,C){var w=A.controlSize,b=A.rotation,I=C.getModel("controlStyle").getItemStyle(),_=C.getModel("emphasis.controlStyle").getItemStyle(),L=[0,-w/2,w,w],D=C.getPlayState(),N=C.get("inverse",!0);R(A.nextBtnPosition,"controlStyle.nextIcon",s(this._changeTimeline,this,N?"-":"+")),R(A.prevBtnPosition,"controlStyle.prevIcon",s(this._changeTimeline,this,N?"+":"-")),R(A.playPosition,"controlStyle."+(D?"stopIcon":"playIcon"),s(this._handlePlayClick,this,!D),!0);function R(B,M,H,F){if(!B)return;var K={position:B,origin:[w/2,0],rotation:F?-b:0,rectHover:!0,style:I,onclick:H},j=h(C,M,L,K);y.add(j),v.setHoverStyle(j,_)}},_renderCurrentPointer:function(A,y,E,C){var w=C.getData(),b=C.getCurrentIndex(),I=w.getItemModel(b).getModel("checkpointStyle"),_=this,L={onCreate:function(D){D.draggable=!0,D.drift=s(_._handlePointerDrag,_),D.ondragend=s(_._handlePointerDragend,_),g(D,b,E,C,!0)},onUpdate:function(D){g(D,b,E,C)}};this._currentPointer=p(I,I,this._mainGroup,{},this._currentPointer,L)},_handlePlayClick:function(A){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:A,from:this.uid})},_handlePointerDrag:function(A,y,E){this._clearTimer(),this._pointerChangeTimeline([E.offsetX,E.offsetY])},_handlePointerDragend:function(A){this._pointerChangeTimeline([A.offsetX,A.offsetY],!0)},_pointerChangeTimeline:function(A,y){var E=this._toAxisCoord(A)[0],C=this._axis,w=a.asc(C.getExtent().slice());E>w[1]&&(E=w[1]),E=0||Je.relatedTarget.className.indexOf("".concat(J,"-next"))>=0))return;ce.setState({goInputText:""}),X(ce.getValidValue())},ce.go=function(Je){var re=ce.state.goInputText;if(re==="")return;(Je.keyCode===u.ENTER||Je.type==="click")&&(ce.setState({goInputText:""}),ce.props.quickGo(ce.getValidValue()))},ce}return Object(a.a)(He,[{key:"getValidValue",value:function(){var Pe=this.state,Q=Pe.goInputText,me=Pe.current;return!Q||isNaN(Q)?me:Number(Q)}},{key:"getPageSizeOptions",value:function(){var Pe=this.props,Q=Pe.pageSize,me=Pe.pageSizeOptions;return me.some(function(Je){return Je.toString()===Q.toString()})?me:me.concat([Q.toString()]).sort(function(Je,re){var G=isNaN(Number(Je))?0:Number(Je),X=isNaN(Number(re))?0:Number(re);return G-X})}},{key:"render",value:function(){var Pe=this,Q=this.props,me=Q.pageSize,Je=Q.locale,re=Q.rootPrefixCls,G=Q.changeSize,X=Q.quickGo,J=Q.goButton,Ae=Q.selectComponentClass,he=Q.buildOptionText,Me=Q.selectPrefixCls,Ie=Q.disabled,oe=this.state.goInputText,pe="".concat(re,"-options"),Oe=Ae,Ye=null,it=null,et=null;if(!G&&!X)return null;var Te=this.getPageSizeOptions();if(G&&Oe){var tt=Te.map(function(ze,dt){return m.a.createElement(Oe.Option,{key:dt,value:ze.toString()},(he||Pe.buildOptionText)(ze))});Ye=m.a.createElement(Oe,{disabled:Ie,prefixCls:Me,showSearch:!1,className:"".concat(pe,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(me||Te[0]).toString(),onChange:this.changeSize,getPopupContainer:function(dt){return dt.parentNode}},tt)}return X&&(J&&(et=typeof J=="boolean"?m.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ie,className:"".concat(pe,"-quick-jumper-button")},Je.jump_to_confirm):m.a.createElement("span",{onClick:this.go,onKeyUp:this.go},J)),it=m.a.createElement("div",{className:"".concat(pe,"-quick-jumper")},Je.jump_to,m.a.createElement("input",{disabled:Ie,type:"text",value:oe,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Je.page,et)),m.a.createElement("li",{className:"".concat(pe)},Ye,it)}}]),He}(m.a.Component);h.defaultProps={pageSizeOptions:["10","20","50","100"]};var p=h,g=d("N2Kk");function A(){}function y(Ce){return typeof Ce=="number"&&isFinite(Ce)&&Math.floor(Ce)===Ce}function E(Ce,Le,He){return He}function C(Ce,Le,He){var ce=typeof Ce=="undefined"?Le.pageSize:Ce;return Math.floor((He.total-1)/ce)+1}var w=function(Ce){Object(n.a)(He,Ce);var Le=Object(e.a)(He);function He(ce){var Pe;Object(r.a)(this,He),Pe=Le.call(this,ce),Pe.getJumpPrevPage=function(){return Math.max(1,Pe.state.current-(Pe.props.showLessItems?3:5))},Pe.getJumpNextPage=function(){return Math.min(C(void 0,Pe.state,Pe.props),Pe.state.current+(Pe.props.showLessItems?3:5))},Pe.getItemIcon=function(G,X){var J=Pe.props.prefixCls,Ae=G||m.a.createElement("button",{type:"button","aria-label":X,className:"".concat(J,"-item-link")});return typeof G=="function"&&(Ae=m.a.createElement(G,Object(o.a)({},Pe.props))),Ae},Pe.savePaginationNode=function(G){Pe.paginationNode=G},Pe.isValid=function(G){return y(G)&&G!==Pe.state.current},Pe.shouldDisplayQuickJumper=function(){var G=Pe.props,X=G.showQuickJumper,J=G.pageSize,Ae=G.total;return Ae<=J?!1:X},Pe.handleKeyDown=function(G){(G.keyCode===u.ARROW_UP||G.keyCode===u.ARROW_DOWN)&&G.preventDefault()},Pe.handleKeyUp=function(G){var X=Pe.getValidValue(G),J=Pe.state.currentInputValue;X!==J&&Pe.setState({currentInputValue:X}),G.keyCode===u.ENTER?Pe.handleChange(X):G.keyCode===u.ARROW_UP?Pe.handleChange(X-1):G.keyCode===u.ARROW_DOWN&&Pe.handleChange(X+1)},Pe.changePageSize=function(G){var X=Pe.state.current,J=C(G,Pe.state,Pe.props);X=X>J?J:X,J===0&&(X=Pe.state.current),typeof G=="number"&&("pageSize"in Pe.props||Pe.setState({pageSize:G}),"current"in Pe.props||Pe.setState({current:X,currentInputValue:X})),Pe.props.onShowSizeChange(X,G),"onChange"in Pe.props&&Pe.props.onChange&&Pe.props.onChange(X,G)},Pe.handleChange=function(G){var X=Pe.props.disabled,J=G;if(Pe.isValid(J)&&!X){var Ae=C(void 0,Pe.state,Pe.props);J>Ae?J=Ae:J<1&&(J=1),"current"in Pe.props||Pe.setState({current:J,currentInputValue:J});var he=Pe.state.pageSize;return Pe.props.onChange(J,he),J}return Pe.state.current},Pe.prev=function(){Pe.hasPrev()&&Pe.handleChange(Pe.state.current-1)},Pe.next=function(){Pe.hasNext()&&Pe.handleChange(Pe.state.current+1)},Pe.jumpPrev=function(){Pe.handleChange(Pe.getJumpPrevPage())},Pe.jumpNext=function(){Pe.handleChange(Pe.getJumpNextPage())},Pe.hasPrev=function(){return Pe.state.current>1},Pe.hasNext=function(){return Pe.state.current2?J-2:0),he=2;he=me?re=me:re=Number(Q),re}},{key:"getShowSizeChanger",value:function(){var Pe=this.props,Q=Pe.showSizeChanger,me=Pe.total,Je=Pe.totalBoundaryShowSizeChanger;return typeof Q!="undefined"?Q:me>Je}},{key:"renderPrev",value:function(Pe){var Q=this.props,me=Q.prevIcon,Je=Q.itemRender,re=Je(Pe,"prev",this.getItemIcon(me,"prev page")),G=!this.hasPrev();return Object(S.isValidElement)(re)?Object(S.cloneElement)(re,{disabled:G}):re}},{key:"renderNext",value:function(Pe){var Q=this.props,me=Q.nextIcon,Je=Q.itemRender,re=Je(Pe,"next",this.getItemIcon(me,"next page")),G=!this.hasNext();return Object(S.isValidElement)(re)?Object(S.cloneElement)(re,{disabled:G}):re}},{key:"render",value:function(){var Pe=this,Q=this.props,me=Q.prefixCls,Je=Q.className,re=Q.style,G=Q.disabled,X=Q.hideOnSinglePage,J=Q.total,Ae=Q.locale,he=Q.showQuickJumper,Me=Q.showLessItems,Ie=Q.showTitle,oe=Q.showTotal,pe=Q.simple,Oe=Q.itemRender,Ye=Q.showPrevNextJumpers,it=Q.jumpPrevIcon,et=Q.jumpNextIcon,Te=Q.selectComponentClass,tt=Q.selectPrefixCls,ze=Q.pageSizeOptions,dt=this.state,Ot=dt.current,Tt=dt.pageSize,Ct=dt.currentInputValue;if(X===!0&&J<=Tt)return null;var Nt=C(void 0,this.state,this.props),Be=[],$=null,Z=null,Re=null,De=null,ae=null,gt=he&&he.goButton,jt=Me?1:2,ut=Ot-1>0?Ot-1:0,rr=Ot+1=jt*2&&Ot!==1+2&&(Be[0]=Object(S.cloneElement)(Be[0],{className:"".concat(me,"-item-after-jump-prev")}),Be.unshift($)),Nt-Ot>=jt*2&&Ot!==Nt-2&&(Be[Be.length-1]=Object(S.cloneElement)(Be[Be.length-1],{className:"".concat(me,"-item-before-jump-next")}),Be.push(Z)),ft!==1&&Be.unshift(Re),Ur!==Nt&&Be.push(De)}var Un=null;oe&&(Un=m.a.createElement("li",{className:"".concat(me,"-total-text")},oe(J,[J===0?0:(Ot-1)*Tt+1,Ot*Tt>J?J:Ot*Tt])));var wi=!this.hasPrev()||!Nt,Rn=!this.hasNext()||!Nt;return m.a.createElement("ul",Object(f.a)({className:t()(me,Je,Object(c.a)({},"".concat(me,"-disabled"),G)),style:re,unselectable:"unselectable",ref:this.savePaginationNode},pr),Un,m.a.createElement("li",{title:Ie?Ae.prev_page:null,onClick:this.prev,tabIndex:wi?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(me,"-prev"),Object(c.a)({},"".concat(me,"-disabled"),wi)),"aria-disabled":wi},this.renderPrev(ut)),Be,m.a.createElement("li",{title:Ie?Ae.next_page:null,onClick:this.next,tabIndex:Rn?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(me,"-next"),Object(c.a)({},"".concat(me,"-disabled"),Rn)),"aria-disabled":Rn},this.renderNext(rr)),m.a.createElement(p,{disabled:G,locale:Ae,rootPrefixCls:me,selectComponentClass:Te,selectPrefixCls:tt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ot,pageSize:Tt,pageSizeOptions:ze,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:gt}))}}],[{key:"getDerivedStateFromProps",value:function(Pe,Q){var me={};if("current"in Pe&&(me.current=Pe.current,Pe.current!==Q.current&&(me.currentInputValue=me.current)),"pageSize"in Pe&&Pe.pageSize!==Q.pageSize){var Je=Q.current,re=C(Pe.pageSize,Q,Pe);Je=Je>re?re:Je,"current"in Pe||(me.current=Je,me.currentInputValue=Je),me.pageSize=Pe.pageSize}return me}}]),He}(m.a.Component);w.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:A,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:A,locale:g.a,style:{},itemRender:E,totalBoundaryShowSizeChanger:50};var b=w,I=d("H4fg"),_=d("DFhj"),L=d.n(_),D=d("fEPi"),N=d.n(D),R=d("u9fO"),B=d.n(R),M=d("mO/d"),H=d.n(M),F=d("2fM7"),K=function(Le){return S.createElement(F.a,v()({size:"small"},Le))};K.Option=F.a.Option;var j=K,V=d("YMnH"),z=d("H84U"),Y=d("5OYt"),ee=function(Ce,Le){var He={};for(var ce in Ce)Object.prototype.hasOwnProperty.call(Ce,ce)&&Le.indexOf(ce)<0&&(He[ce]=Ce[ce]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ce=Object.getOwnPropertySymbols(Ce);Pe1&&arguments[1]!==void 0?arguments[1]:60,S=null;return function(){for(var m=this,f=arguments.length,c=new Array(f),o=0;o0){if(y<=E[0])return C[0];if(y>=E[1])return C[1]}else{if(y>=E[0])return C[0];if(y<=E[1])return C[1]}else{if(y===E[0])return C[0];if(y===E[1])return C[1]}return(y-E[0])/b*I+C[0]}function S(y,E){switch(y){case"center":case"middle":y="50%";break;case"left":case"top":y="0%";break;case"right":case"bottom":y="100%";break}return typeof y=="string"?T(y).match(/%$/)?parseFloat(y)/100*E:parseFloat(y):y==null?NaN:+y}function m(y,E,C){return E==null&&(E=10),E=Math.min(Math.max(0,E),20),y=(+y).toFixed(E),C?y:+y}function f(y){return y.sort(function(E,C){return E-C}),y}function c(y){if(y=+y,isNaN(y))return 0;for(var E=1,C=0;Math.round(y*E)/E!==y;)E*=10,C++;return C}function o(y){var E=y.toString(),C=E.indexOf("e");if(C>0){var w=+E.slice(C+1);return w<0?-w:0}else{var b=E.indexOf(".");return b<0?0:E.length-1-b}}function r(y,E){var C=Math.log,w=Math.LN10,b=Math.floor(C(y[1]-y[0])/w),I=Math.round(C(Math.abs(E[1]-E[0]))/w),_=Math.min(Math.max(-b+I,0),20);return isFinite(_)?_:20}function a(y,E,C){if(!y[E])return 0;var w=O.reduce(y,function(F,K){return F+(isNaN(K)?0:K)},0);if(w===0)return 0;for(var b=Math.pow(10,C),I=O.map(y,function(F){return(isNaN(F)?0:F)/w*b*100}),_=b*100,L=O.map(I,function(F){return Math.floor(F)}),D=O.reduce(L,function(F,K){return F+K},0),N=O.map(I,function(F,K){return F-L[K]});D<_;){for(var R=Number.NEGATIVE_INFINITY,B=null,M=0,H=N.length;MR&&(R=N[M],B=M);++L[B],N[B]=0,++D}return L[E]/b}var n=9007199254740991;function e(y){var E=Math.PI*2;return(y%E+E)%E}function s(y){return y>-x&&y=10&&E++,E}function h(y,E){var C=u(y),w=Math.pow(10,C),b=y/w,I;return E?b<1.5?I=1:b<2.5?I=2:b<4?I=3:b<7?I=5:I=10:b<1?I=1:b<2?I=2:b<3?I=3:b<5?I=5:I=10,y=I*w,C>=-20?+y.toFixed(C<0?-C:0):y}function p(y,E){var C=(y.length-1)*E+1,w=Math.floor(C),b=+y[w-1],I=C-w;return I?b+I*(y[w]-b):b}function g(y){y.sort(function(D,N){return L(D,N,0)?-1:1});for(var E=-Infinity,C=1,w=0;w=0}P.linearMap=v,P.parsePercent=S,P.round=m,P.asc=f,P.getPrecision=c,P.getPrecisionSafe=o,P.getPixelPrecision=r,P.getPercentWithPrecision=a,P.MAX_SAFE_INTEGER=n,P.remRadian=e,P.isRadianAroundZero=s,P.parseDate=i,P.quantity=l,P.quantityExponent=u,P.nice=h,P.quantile=p,P.reformIntervals=g,P.isNumeric=A},OKJ2:function(U,P,d){var O=d("KxfA"),x=O.retrieveRawValue,T=d("7aKB"),v=T.getTooltipMarker,S=T.formatTpl,m=d("4NO4"),f=m.getTooltipRenderMode,c=/\{@(.+?)\}/g,o={getDataParams:function(r,a){var n=this.getData(a),e=this.getRawValue(r,a),s=n.getRawIndex(r),t=n.getName(r),i=n.getRawDataItem(r),l=n.getItemVisual(r,"color"),u=n.getItemVisual(r,"borderColor"),h=this.ecModel.getComponent("tooltip"),p=h&&h.get("renderMode"),g=f(p),A=this.mainType,y=A==="series",E=n.userOutput;return{componentType:A,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:y?this.subType:null,seriesIndex:this.seriesIndex,seriesId:y?this.id:null,seriesName:y?this.name:null,name:t,dataIndex:s,data:i,dataType:a,value:e,color:l,borderColor:u,dimensionNames:E?E.dimensionNames:null,encode:E?E.encode:null,marker:v({color:l,renderMode:g}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,a,n,e,s){a=a||"normal";var t=this.getData(n),i=t.getItemModel(r),l=this.getDataParams(r,n);e!=null&&l.value instanceof Array&&(l.value=l.value[e]);var u=i.get(a==="normal"?[s||"label","formatter"]:[a,s||"label","formatter"]);if(typeof u=="function")return l.status=a,l.dimensionIndex=e,u(l);if(typeof u=="string"){var h=S(u,l);return h.replace(c,function(p,g){var A=g.length;return g.charAt(0)==="["&&g.charAt(A-1)==="]"&&(g=+g.slice(1,A-1)),x(t,r,g)})}},getRawValue:function(r,a){return x(this.getData(a),r)},formatTooltip:function(){}};U.exports=o},OLod:function(U,P,d){(function(O,x,T){U.exports=P=x(d("Ib8C"),d("K3mO"))})(this,function(O){O.lib.Cipher||function(x){var T=O,v=T.lib,S=v.Base,m=v.WordArray,f=v.BufferedBlockAlgorithm,c=T.enc,o=c.Utf8,r=c.Base64,a=T.algo,n=a.EvpKDF,e=v.Cipher=f.extend({cfg:S.extend(),createEncryptor:function(_,L){return this.create(this._ENC_XFORM_MODE,_,L)},createDecryptor:function(_,L){return this.create(this._DEC_XFORM_MODE,_,L)},init:function(_,L,D){this.cfg=this.cfg.extend(D),this._xformMode=_,this._key=L,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(_){return this._append(_),this._process()},finalize:function(_){_&&this._append(_);var L=this._doFinalize();return L},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function I(_){return typeof _=="string"?b:E}return function(_){return{encrypt:function(D,N,R){return I(N).encrypt(_,D,N,R)},decrypt:function(D,N,R){return I(N).decrypt(_,D,N,R)}}}}()}),s=v.StreamCipher=e.extend({_doFinalize:function(){var _=this._process(!0);return _},blockSize:1}),t=T.mode={},i=v.BlockCipherMode=S.extend({createEncryptor:function(_,L){return this.Encryptor.create(_,L)},createDecryptor:function(_,L){return this.Decryptor.create(_,L)},init:function(_,L){this._cipher=_,this._iv=L}}),l=t.CBC=function(){var I=i.extend();I.Encryptor=I.extend({processBlock:function(D,N){var R=this._cipher,B=R.blockSize;_.call(this,D,N,B),R.encryptBlock(D,N),this._prevBlock=D.slice(N,N+B)}}),I.Decryptor=I.extend({processBlock:function(D,N){var R=this._cipher,B=R.blockSize,M=D.slice(N,N+B);R.decryptBlock(D,N),_.call(this,D,N,B),this._prevBlock=M}});function _(L,D,N){var R,B=this._iv;B?(R=B,this._iv=x):R=this._prevBlock;for(var M=0;M>>2]&255;_.sigBytes-=L}},p=v.BlockCipher=e.extend({cfg:e.cfg.extend({mode:l,padding:h}),reset:function(){var _;e.reset.call(this);var L=this.cfg,D=L.iv,N=L.mode;this._xformMode==this._ENC_XFORM_MODE?_=N.createEncryptor:(_=N.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==_?this._mode.init(this,D&&D.words):(this._mode=_.call(N,this,D&&D.words),this._mode.__creator=_)},_doProcessBlock:function(_,L){this._mode.processBlock(_,L)},_doFinalize:function(){var _,L=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(L.pad(this._data,this.blockSize),_=this._process(!0)):(_=this._process(!0),L.unpad(_)),_},blockSize:128/32}),g=v.CipherParams=S.extend({init:function(_){this.mixIn(_)},toString:function(_){return(_||this.formatter).stringify(this)}}),A=T.format={},y=A.OpenSSL={stringify:function(_){var L,D=_.ciphertext,N=_.salt;return N?L=m.create([1398893684,1701076831]).concat(N).concat(D):L=D,L.toString(r)},parse:function(_){var L,D=r.parse(_),N=D.words;return N[0]==1398893684&&N[1]==1701076831&&(L=m.create(N.slice(2,4)),N.splice(0,4),D.sigBytes-=16),g.create({ciphertext:D,salt:L})}},E=v.SerializableCipher=S.extend({cfg:S.extend({format:y}),encrypt:function(_,L,D,N){N=this.cfg.extend(N);var R=_.createEncryptor(D,N),B=R.finalize(L),M=R.cfg;return g.create({ciphertext:B,key:D,iv:M.iv,algorithm:_,mode:M.mode,padding:M.padding,blockSize:_.blockSize,formatter:N.format})},decrypt:function(_,L,D,N){N=this.cfg.extend(N),L=this._parse(L,N.format);var R=_.createDecryptor(D,N).finalize(L.ciphertext);return R},_parse:function(_,L){return typeof _=="string"?L.parse(_,this):_}}),C=T.kdf={},w=C.OpenSSL={execute:function(_,L,D,N){N||(N=m.random(64/8));var R=n.create({keySize:L+D}).compute(_,N),B=m.create(R.words.slice(L),D*4);return R.sigBytes=L*4,g.create({key:R,iv:B,salt:N})}},b=v.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:w}),encrypt:function(_,L,D,N){N=this.cfg.extend(N);var R=N.kdf.execute(D,_.keySize,_.ivSize);N.iv=R.iv;var B=E.encrypt.call(this,_,L,R.key,N);return B.mixIn(R),B},decrypt:function(_,L,D,N){N=this.cfg.extend(N),L=this._parse(L,N.format);var R=N.kdf.execute(D,_.keySize,_.ivSize,L.salt);N.iv=R.iv;var B=E.decrypt.call(this,_,L,R.key,N);return B}})}()})},OPEp:function(U,P,d){},OQFs:function(U,P,d){var O=d("KCsZ"),x=O([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),T={getLineStyle:function(v){var S=x(this,v);return S.lineDash=this.getLineDash(S.lineWidth),S},getLineDash:function(v){v==null&&(v=1);var S=this.get("type"),m=Math.max(v,2),f=v*4;return S==="solid"||S==null?!1:S==="dashed"?[f,f]:[m,m]}};U.exports=T},OS9S:function(U,P,d){var O=d("bYtY"),x=O.inherits,T=d("Gev7"),v=d("mFDi");function S(c){T.call(this,c),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}S.prototype.incremental=!0,S.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},S.prototype.addDisplayable=function(c,o){o?this._temporaryDisplayables.push(c):this._displayables.push(c),this.dirty()},S.prototype.addDisplayables=function(c,o){o=o||!1;for(var r=0;r0?100:20}},getFirstTargetAxisModel:function(){var t;return r(function(i){if(t==null){var l=this.get(i.axisIndex);l.length&&(t=this.dependentModels[i.axis][l[0]])}},this),t},eachTargetAxis:function(t,i){var l=this.ecModel;r(function(u){o(this.get(u.axisIndex),function(h){t.call(i,u,h,this,l)},this)},this)},getAxisProxy:function(t,i){return this._axisProxies[t+"_"+i]},getAxisModel:function(t,i){var l=this.getAxisProxy(t,i);return l&&l.getAxisModel()},setRawRange:function(t){var i=this.option,l=this.settledOption;o([["start","startValue"],["end","endValue"]],function(u){(t[u[0]]!=null||t[u[1]]!=null)&&(i[u[0]]=l[u[0]]=t[u[0]],i[u[1]]=l[u[1]]=t[u[1]])},this),e(this,t)},setCalculatedRange:function(t){var i=this.option;o(["start","startValue","end","endValue"],function(l){i[l]=t[l]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,i){if(t==null&&i==null){var l=this.findRepresentativeAxisProxy();if(l)return l.getDataValueWindow()}else return this.getAxisProxy(t,i).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var i=this._axisProxies;for(var l in i)if(i.hasOwnProperty(l)&&i[l].hostedBy(this))return i[l];for(var l in i)if(i.hasOwnProperty(l)&&!i[l].hostedBy(this))return i[l]},getRangePropMode:function(){return this._rangePropMode.slice()}});function n(t){var i={};return o(["start","end","startValue","endValue","throttle"],function(l){t.hasOwnProperty(l)&&(i[l]=t[l])}),i}function e(t,i){var l=t._rangePropMode,u=t.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(h,p){var g=i[h[0]]!=null,A=i[h[1]]!=null;g&&!A?l[p]="percent":!g&&A?l[p]="value":u?l[p]=u[p]:g&&(l[p]="percent")})}var s=a;U.exports=s},OnYD:function(U,P,d){},"Oy/b":function(U,P,d){(function(x,T){U.exports=T()})(typeof self!="undefined"?self:this,function(){return function(O){var x={};function T(v){if(x[v])return x[v].exports;var S=x[v]={i:v,l:!1,exports:{}};return O[v].call(S.exports,S,S.exports,T),S.l=!0,S.exports}return T.m=O,T.c=x,T.d=function(v,S,m){T.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:m})},T.r=function(v){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},T.t=function(v,S){if(S&1&&(v=T(v)),S&8)return v;if(S&4&&typeof v=="object"&&v&&v.__esModule)return v;var m=Object.create(null);if(T.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:v}),S&2&&typeof v!="string")for(var f in v)T.d(m,f,function(c){return v[c]}.bind(null,f));return m},T.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return T.d(S,"a",S),S},T.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},T.p="",T(T.s=1)}([function(O,x,T){},function(O,x,T){"use strict";T.r(x);var v=T(0),S=function(){function At(se,ge,Se){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=se,this.start=ge,this.end=Se}return At.range=function(ge,Se){return Se?!ge||!ge.loc||!Se.loc||ge.loc.lexer!==Se.loc.lexer?null:new At(ge.loc.lexer,ge.loc.start,Se.loc.end):ge&&ge.loc},At}(),m=function(){function At(ge,Se){this.text=void 0,this.loc=void 0,this.text=ge,this.loc=Se}var se=At.prototype;return se.range=function(Se,We){return new At(We,S.range(this,Se))},At}(),f=function At(se,ge){this.position=void 0;var Se="KaTeX parse error: "+se,We,vt=ge&&ge.loc;if(vt&&vt.start<=vt.end){var Yt=vt.lexer.input;We=vt.start;var Rr=vt.end;We===Yt.length?Se+=" at end of input: ":Se+=" at position "+(We+1)+": ";var Yr=Yt.slice(We,Rr).replace(/[^]/g,"$&\u0332"),mn;We>15?mn="\u2026"+Yt.slice(We-15,We):mn=Yt.slice(0,We);var Wn;Rr+15":">","<":"<",'"':""","'":"'"},s=/[&><"']/g;function t(At){return String(At).replace(s,function(se){return e[se]})}var i=function At(se){return se.type==="ordgroup"||se.type==="color"?se.body.length===1?At(se.body[0]):se:se.type==="font"?At(se.body):se},l=function(se){var ge=i(se);return ge.type==="mathord"||ge.type==="textord"||ge.type==="atom"},u=function(se){if(!se)throw new Error("Expected non-null, but got "+String(se));return se},h=function(se){var ge=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(se);return ge!=null?ge[1]:"_relative"},p={contains:o,deflt:r,escape:t,hyphenate:n,getBaseElem:i,isCharacterBox:l,protocolFromUrl:h},g=function(){function At(ge){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,ge=ge||{},this.displayMode=p.deflt(ge.displayMode,!1),this.output=p.deflt(ge.output,"htmlAndMathml"),this.leqno=p.deflt(ge.leqno,!1),this.fleqn=p.deflt(ge.fleqn,!1),this.throwOnError=p.deflt(ge.throwOnError,!0),this.errorColor=p.deflt(ge.errorColor,"#cc0000"),this.macros=ge.macros||{},this.minRuleThickness=Math.max(0,p.deflt(ge.minRuleThickness,0)),this.colorIsTextColor=p.deflt(ge.colorIsTextColor,!1),this.strict=p.deflt(ge.strict,"warn"),this.trust=p.deflt(ge.trust,!1),this.maxSize=Math.max(0,p.deflt(ge.maxSize,Infinity)),this.maxExpand=Math.max(0,p.deflt(ge.maxExpand,1e3))}var se=At.prototype;return se.reportNonstrict=function(Se,We,vt){var Yt=this.strict;if(typeof Yt=="function"&&(Yt=Yt(Se,We,vt)),!Yt||Yt==="ignore")return;if(Yt===!0||Yt==="error")throw new c("LaTeX-incompatible input and strict mode is set to 'error': "+(We+" ["+Se+"]"),vt);Yt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Se+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Yt+"': "+We+" ["+Se+"]"))},se.useStrictBehavior=function(Se,We,vt){var Yt=this.strict;if(typeof Yt=="function")try{Yt=Yt(Se,We,vt)}catch(Rr){Yt="error"}return!Yt||Yt==="ignore"?!1:Yt===!0||Yt==="error"?!0:Yt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Se+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Yt+"': "+We+" ["+Se+"]")),!1)},se.isTrusted=function(Se){Se.url&&!Se.protocol&&(Se.protocol=p.protocolFromUrl(Se.url));var We=typeof this.trust=="function"?this.trust(Se):this.trust;return Boolean(We)},At}(),A=function(){function At(ge,Se,We){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=ge,this.size=Se,this.cramped=We}var se=At.prototype;return se.sup=function(){return D[N[this.id]]},se.sub=function(){return D[R[this.id]]},se.fracNum=function(){return D[B[this.id]]},se.fracDen=function(){return D[M[this.id]]},se.cramp=function(){return D[H[this.id]]},se.text=function(){return D[F[this.id]]},se.isTight=function(){return this.size>=2},At}(),y=0,E=1,C=2,w=3,b=4,I=5,_=6,L=7,D=[new A(y,0,!1),new A(E,0,!0),new A(C,1,!1),new A(w,1,!0),new A(b,2,!1),new A(I,2,!0),new A(_,3,!1),new A(L,3,!0)],N=[b,I,b,I,_,L,_,L],R=[I,I,I,I,L,L,L,L],B=[C,w,b,I,_,L,_,L],M=[w,w,I,I,L,L,L,L],H=[E,E,w,w,I,I,L,L],F=[y,E,C,w,C,w,C,w],K={DISPLAY:D[y],TEXT:D[C],SCRIPT:D[b],SCRIPTSCRIPT:D[_]},j=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(At){for(var se=0;se=We[0]&&At<=We[1])return ge.name}return null}var z=[];j.forEach(function(At){return At.blocks.forEach(function(se){return z.push.apply(z,se)})});function Y(At){for(var se=0;se=z[se]&&At<=z[se+1])return!0;return!1}var ee=80,fe=function(se,ge){return"M95,"+(622+se+ge)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+se/2.075+" -"+se+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+se)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+se)+" "+ge+"h400000v"+(40+se)+"h-400000z"},ie=function(se,ge){return"M263,"+(601+se+ge)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+se/2.084+" -"+se+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+se)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+se)+" "+ge+"h400000v"+(40+se)+"h-400000z"},we=function(se,ge){return"M983 "+(10+se+ge)+` l`+se/3.13+" -"+se+` c4,-6.7,10,-10,18,-10 H400000v`+(40+se)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+se)+" "+ge+"h400000v"+(40+se)+"h-400000z"},Ce=function(se,ge){return"M424,"+(2398+se+ge)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+se/4.223+" -"+se+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+se)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+se)+" "+ge+` h400000v`+(40+se)+"h-400000z"},Le=function(se,ge){return"M473,"+(2713+se+ge)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+se/5.298+" -"+se+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+se)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+se)+" "+ge+"h400000v"+(40+se)+"H1017.7z"},He=function(se,ge,Se){var We=Se-54-ge-se;return"M702 "+(se+ge)+"H400000"+(40+se)+` H742v`+We+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+ge+"H400000v"+(40+se)+"H742z"},ce=function(se,ge,Se){ge=1e3*ge;var We="";switch(se){case"sqrtMain":We=fe(ge,ee);break;case"sqrtSize1":We=ie(ge,ee);break;case"sqrtSize2":We=we(ge,ee);break;case"sqrtSize3":We=Ce(ge,ee);break;case"sqrtSize4":We=Le(ge,ee);break;case"sqrtTall":We=He(ge,ee,Se)}return We},Pe={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Q=function(){function At(ge){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=ge,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var se=At.prototype;return se.hasClass=function(Se){return p.contains(this.classes,Se)},se.toNode=function(){for(var Se=document.createDocumentFragment(),We=0;We",ge},X=function(){function At(ge,Se,We,vt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Je.call(this,ge,We,vt),this.children=Se||[]}var se=At.prototype;return se.setAttribute=function(Se,We){this.attributes[Se]=We},se.hasClass=function(Se){return p.contains(this.classes,Se)},se.toNode=function(){return re.call(this,"span")},se.toMarkup=function(){return G.call(this,"span")},At}(),J=function(){function At(ge,Se,We,vt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Je.call(this,Se,vt),this.children=We||[],this.setAttribute("href",ge)}var se=At.prototype;return se.setAttribute=function(Se,We){this.attributes[Se]=We},se.hasClass=function(Se){return p.contains(this.classes,Se)},se.toNode=function(){return re.call(this,"a")},se.toMarkup=function(){return G.call(this,"a")},At}(),Ae=function(){function At(ge,Se,We){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Se,this.src=ge,this.classes=["mord"],this.style=We}var se=At.prototype;return se.hasClass=function(Se){return p.contains(this.classes,Se)},se.toNode=function(){var Se=document.createElement("img");Se.src=this.src,Se.alt=this.alt,Se.className="mord";for(var We in this.style)this.style.hasOwnProperty(We)&&(Se.style[We]=this.style[We]);return Se},se.toMarkup=function(){var Se=""+this.alt+"0&&(We=document.createElement("span"),We.style.marginRight=this.italic+"em"),this.classes.length>0&&(We=We||document.createElement("span"),We.className=me(this.classes));for(var vt in this.style)this.style.hasOwnProperty(vt)&&(We=We||document.createElement("span"),We.style[vt]=this.style[vt]);return We?(We.appendChild(Se),We):Se},se.toMarkup=function(){var Se=!1,We="0&&(vt+="margin-right:"+this.italic+"em;");for(var Yt in this.style)this.style.hasOwnProperty(Yt)&&(vt+=p.hyphenate(Yt)+":"+this.style[Yt]+";");vt&&(Se=!0,We+=' style="'+p.escape(vt)+'"');var Rr=p.escape(this.text);return Se?(We+=">",We+=Rr,We+="",We):Rr},At}(),Ie=function(){function At(ge,Se){this.children=void 0,this.attributes=void 0,this.children=ge||[],this.attributes=Se||{}}var se=At.prototype;return se.toNode=function(){var Se="http://www.w3.org/2000/svg",We=document.createElementNS(Se,"svg");for(var vt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,vt)&&We.setAttribute(vt,this.attributes[vt]);for(var Yt=0;Yt":""},At}(),pe=function(){function At(ge){this.attributes=void 0,this.attributes=ge||{}}var se=At.prototype;return se.toNode=function(){var Se="http://www.w3.org/2000/svg",We=document.createElementNS(Se,"line");for(var vt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,vt)&&We.setAttribute(vt,this.attributes[vt]);return We},se.toMarkup=function(){var Se=" but got "+String(At)+".")}var it={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},et={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Te={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function tt(At,se){it[At]=se}function ze(At,se,ge){if(!it[se])throw new Error("Font metrics not found for font: "+se+".");var Se=At.charCodeAt(0),We=it[se][Se];if(!We&&At[0]in Te&&(Se=Te[At[0]].charCodeAt(0),We=it[se][Se]),!We&&ge==="text"&&(Y(Se)&&(We=it[se][77])),We)return{depth:We[0],height:We[1],italic:We[2],skew:We[3],width:We[4]}}var dt={};function Ot(At){var se;if(At>=5?se=0:At>=3?se=1:se=2,!dt[se]){var ge=dt[se]={cssEmPerMu:et.quad[se]/18};for(var Se in et)et.hasOwnProperty(Se)&&(ge[Se]=et[Se][se])}return dt[se]}var Tt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ct={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Nt={math:{},text:{}},Be=Nt;function $(At,se,ge,Se,We,vt){Nt[At][We]={font:se,group:ge,replace:Se},vt&&Se&&(Nt[At][Se]=Nt[At][We])}var Z="math",Re="text",De="main",ae="ams",gt="accent-token",jt="bin",ut="close",rr="inner",pr="mathord",nn="op-token",mr="open",vr="punct",$t="rel",Xt="spacing",ft="textord";$(Z,De,$t,"\u2261","\\equiv",!0),$(Z,De,$t,"\u227A","\\prec",!0),$(Z,De,$t,"\u227B","\\succ",!0),$(Z,De,$t,"\u223C","\\sim",!0),$(Z,De,$t,"\u22A5","\\perp"),$(Z,De,$t,"\u2AAF","\\preceq",!0),$(Z,De,$t,"\u2AB0","\\succeq",!0),$(Z,De,$t,"\u2243","\\simeq",!0),$(Z,De,$t,"\u2223","\\mid",!0),$(Z,De,$t,"\u226A","\\ll",!0),$(Z,De,$t,"\u226B","\\gg",!0),$(Z,De,$t,"\u224D","\\asymp",!0),$(Z,De,$t,"\u2225","\\parallel"),$(Z,De,$t,"\u22C8","\\bowtie",!0),$(Z,De,$t,"\u2323","\\smile",!0),$(Z,De,$t,"\u2291","\\sqsubseteq",!0),$(Z,De,$t,"\u2292","\\sqsupseteq",!0),$(Z,De,$t,"\u2250","\\doteq",!0),$(Z,De,$t,"\u2322","\\frown",!0),$(Z,De,$t,"\u220B","\\ni",!0),$(Z,De,$t,"\u221D","\\propto",!0),$(Z,De,$t,"\u22A2","\\vdash",!0),$(Z,De,$t,"\u22A3","\\dashv",!0),$(Z,De,$t,"\u220B","\\owns"),$(Z,De,vr,".","\\ldotp"),$(Z,De,vr,"\u22C5","\\cdotp"),$(Z,De,ft,"#","\\#"),$(Re,De,ft,"#","\\#"),$(Z,De,ft,"&","\\&"),$(Re,De,ft,"&","\\&"),$(Z,De,ft,"\u2135","\\aleph",!0),$(Z,De,ft,"\u2200","\\forall",!0),$(Z,De,ft,"\u210F","\\hbar",!0),$(Z,De,ft,"\u2203","\\exists",!0),$(Z,De,ft,"\u2207","\\nabla",!0),$(Z,De,ft,"\u266D","\\flat",!0),$(Z,De,ft,"\u2113","\\ell",!0),$(Z,De,ft,"\u266E","\\natural",!0),$(Z,De,ft,"\u2663","\\clubsuit",!0),$(Z,De,ft,"\u2118","\\wp",!0),$(Z,De,ft,"\u266F","\\sharp",!0),$(Z,De,ft,"\u2662","\\diamondsuit",!0),$(Z,De,ft,"\u211C","\\Re",!0),$(Z,De,ft,"\u2661","\\heartsuit",!0),$(Z,De,ft,"\u2111","\\Im",!0),$(Z,De,ft,"\u2660","\\spadesuit",!0),$(Re,De,ft,"\xA7","\\S",!0),$(Re,De,ft,"\xB6","\\P",!0),$(Z,De,ft,"\u2020","\\dag"),$(Re,De,ft,"\u2020","\\dag"),$(Re,De,ft,"\u2020","\\textdagger"),$(Z,De,ft,"\u2021","\\ddag"),$(Re,De,ft,"\u2021","\\ddag"),$(Re,De,ft,"\u2021","\\textdaggerdbl"),$(Z,De,ut,"\u23B1","\\rmoustache",!0),$(Z,De,mr,"\u23B0","\\lmoustache",!0),$(Z,De,ut,"\u27EF","\\rgroup",!0),$(Z,De,mr,"\u27EE","\\lgroup",!0),$(Z,De,jt,"\u2213","\\mp",!0),$(Z,De,jt,"\u2296","\\ominus",!0),$(Z,De,jt,"\u228E","\\uplus",!0),$(Z,De,jt,"\u2293","\\sqcap",!0),$(Z,De,jt,"\u2217","\\ast"),$(Z,De,jt,"\u2294","\\sqcup",!0),$(Z,De,jt,"\u25EF","\\bigcirc"),$(Z,De,jt,"\u2219","\\bullet"),$(Z,De,jt,"\u2021","\\ddagger"),$(Z,De,jt,"\u2240","\\wr",!0),$(Z,De,jt,"\u2A3F","\\amalg"),$(Z,De,jt,"&","\\And"),$(Z,De,$t,"\u27F5","\\longleftarrow",!0),$(Z,De,$t,"\u21D0","\\Leftarrow",!0),$(Z,De,$t,"\u27F8","\\Longleftarrow",!0),$(Z,De,$t,"\u27F6","\\longrightarrow",!0),$(Z,De,$t,"\u21D2","\\Rightarrow",!0),$(Z,De,$t,"\u27F9","\\Longrightarrow",!0),$(Z,De,$t,"\u2194","\\leftrightarrow",!0),$(Z,De,$t,"\u27F7","\\longleftrightarrow",!0),$(Z,De,$t,"\u21D4","\\Leftrightarrow",!0),$(Z,De,$t,"\u27FA","\\Longleftrightarrow",!0),$(Z,De,$t,"\u21A6","\\mapsto",!0),$(Z,De,$t,"\u27FC","\\longmapsto",!0),$(Z,De,$t,"\u2197","\\nearrow",!0),$(Z,De,$t,"\u21A9","\\hookleftarrow",!0),$(Z,De,$t,"\u21AA","\\hookrightarrow",!0),$(Z,De,$t,"\u2198","\\searrow",!0),$(Z,De,$t,"\u21BC","\\leftharpoonup",!0),$(Z,De,$t,"\u21C0","\\rightharpoonup",!0),$(Z,De,$t,"\u2199","\\swarrow",!0),$(Z,De,$t,"\u21BD","\\leftharpoondown",!0),$(Z,De,$t,"\u21C1","\\rightharpoondown",!0),$(Z,De,$t,"\u2196","\\nwarrow",!0),$(Z,De,$t,"\u21CC","\\rightleftharpoons",!0),$(Z,ae,$t,"\u226E","\\nless",!0),$(Z,ae,$t,"\uE010","\\@nleqslant"),$(Z,ae,$t,"\uE011","\\@nleqq"),$(Z,ae,$t,"\u2A87","\\lneq",!0),$(Z,ae,$t,"\u2268","\\lneqq",!0),$(Z,ae,$t,"\uE00C","\\@lvertneqq"),$(Z,ae,$t,"\u22E6","\\lnsim",!0),$(Z,ae,$t,"\u2A89","\\lnapprox",!0),$(Z,ae,$t,"\u2280","\\nprec",!0),$(Z,ae,$t,"\u22E0","\\npreceq",!0),$(Z,ae,$t,"\u22E8","\\precnsim",!0),$(Z,ae,$t,"\u2AB9","\\precnapprox",!0),$(Z,ae,$t,"\u2241","\\nsim",!0),$(Z,ae,$t,"\uE006","\\@nshortmid"),$(Z,ae,$t,"\u2224","\\nmid",!0),$(Z,ae,$t,"\u22AC","\\nvdash",!0),$(Z,ae,$t,"\u22AD","\\nvDash",!0),$(Z,ae,$t,"\u22EA","\\ntriangleleft"),$(Z,ae,$t,"\u22EC","\\ntrianglelefteq",!0),$(Z,ae,$t,"\u228A","\\subsetneq",!0),$(Z,ae,$t,"\uE01A","\\@varsubsetneq"),$(Z,ae,$t,"\u2ACB","\\subsetneqq",!0),$(Z,ae,$t,"\uE017","\\@varsubsetneqq"),$(Z,ae,$t,"\u226F","\\ngtr",!0),$(Z,ae,$t,"\uE00F","\\@ngeqslant"),$(Z,ae,$t,"\uE00E","\\@ngeqq"),$(Z,ae,$t,"\u2A88","\\gneq",!0),$(Z,ae,$t,"\u2269","\\gneqq",!0),$(Z,ae,$t,"\uE00D","\\@gvertneqq"),$(Z,ae,$t,"\u22E7","\\gnsim",!0),$(Z,ae,$t,"\u2A8A","\\gnapprox",!0),$(Z,ae,$t,"\u2281","\\nsucc",!0),$(Z,ae,$t,"\u22E1","\\nsucceq",!0),$(Z,ae,$t,"\u22E9","\\succnsim",!0),$(Z,ae,$t,"\u2ABA","\\succnapprox",!0),$(Z,ae,$t,"\u2246","\\ncong",!0),$(Z,ae,$t,"\uE007","\\@nshortparallel"),$(Z,ae,$t,"\u2226","\\nparallel",!0),$(Z,ae,$t,"\u22AF","\\nVDash",!0),$(Z,ae,$t,"\u22EB","\\ntriangleright"),$(Z,ae,$t,"\u22ED","\\ntrianglerighteq",!0),$(Z,ae,$t,"\uE018","\\@nsupseteqq"),$(Z,ae,$t,"\u228B","\\supsetneq",!0),$(Z,ae,$t,"\uE01B","\\@varsupsetneq"),$(Z,ae,$t,"\u2ACC","\\supsetneqq",!0),$(Z,ae,$t,"\uE019","\\@varsupsetneqq"),$(Z,ae,$t,"\u22AE","\\nVdash",!0),$(Z,ae,$t,"\u2AB5","\\precneqq",!0),$(Z,ae,$t,"\u2AB6","\\succneqq",!0),$(Z,ae,$t,"\uE016","\\@nsubseteqq"),$(Z,ae,jt,"\u22B4","\\unlhd"),$(Z,ae,jt,"\u22B5","\\unrhd"),$(Z,ae,$t,"\u219A","\\nleftarrow",!0),$(Z,ae,$t,"\u219B","\\nrightarrow",!0),$(Z,ae,$t,"\u21CD","\\nLeftarrow",!0),$(Z,ae,$t,"\u21CF","\\nRightarrow",!0),$(Z,ae,$t,"\u21AE","\\nleftrightarrow",!0),$(Z,ae,$t,"\u21CE","\\nLeftrightarrow",!0),$(Z,ae,$t,"\u25B3","\\vartriangle"),$(Z,ae,ft,"\u210F","\\hslash"),$(Z,ae,ft,"\u25BD","\\triangledown"),$(Z,ae,ft,"\u25CA","\\lozenge"),$(Z,ae,ft,"\u24C8","\\circledS"),$(Z,ae,ft,"\xAE","\\circledR"),$(Re,ae,ft,"\xAE","\\circledR"),$(Z,ae,ft,"\u2221","\\measuredangle",!0),$(Z,ae,ft,"\u2204","\\nexists"),$(Z,ae,ft,"\u2127","\\mho"),$(Z,ae,ft,"\u2132","\\Finv",!0),$(Z,ae,ft,"\u2141","\\Game",!0),$(Z,ae,ft,"\u2035","\\backprime"),$(Z,ae,ft,"\u25B2","\\blacktriangle"),$(Z,ae,ft,"\u25BC","\\blacktriangledown"),$(Z,ae,ft,"\u25A0","\\blacksquare"),$(Z,ae,ft,"\u29EB","\\blacklozenge"),$(Z,ae,ft,"\u2605","\\bigstar"),$(Z,ae,ft,"\u2222","\\sphericalangle",!0),$(Z,ae,ft,"\u2201","\\complement",!0),$(Z,ae,ft,"\xF0","\\eth",!0),$(Z,ae,ft,"\u2571","\\diagup"),$(Z,ae,ft,"\u2572","\\diagdown"),$(Z,ae,ft,"\u25A1","\\square"),$(Z,ae,ft,"\u25A1","\\Box"),$(Z,ae,ft,"\u25CA","\\Diamond"),$(Z,ae,ft,"\xA5","\\yen",!0),$(Re,ae,ft,"\xA5","\\yen",!0),$(Z,ae,ft,"\u2713","\\checkmark",!0),$(Re,ae,ft,"\u2713","\\checkmark"),$(Z,ae,ft,"\u2136","\\beth",!0),$(Z,ae,ft,"\u2138","\\daleth",!0),$(Z,ae,ft,"\u2137","\\gimel",!0),$(Z,ae,ft,"\u03DD","\\digamma",!0),$(Z,ae,ft,"\u03F0","\\varkappa"),$(Z,ae,mr,"\u250C","\\ulcorner",!0),$(Z,ae,ut,"\u2510","\\urcorner",!0),$(Z,ae,mr,"\u2514","\\llcorner",!0),$(Z,ae,ut,"\u2518","\\lrcorner",!0),$(Z,ae,$t,"\u2266","\\leqq",!0),$(Z,ae,$t,"\u2A7D","\\leqslant",!0),$(Z,ae,$t,"\u2A95","\\eqslantless",!0),$(Z,ae,$t,"\u2272","\\lesssim",!0),$(Z,ae,$t,"\u2A85","\\lessapprox",!0),$(Z,ae,$t,"\u224A","\\approxeq",!0),$(Z,ae,jt,"\u22D6","\\lessdot"),$(Z,ae,$t,"\u22D8","\\lll",!0),$(Z,ae,$t,"\u2276","\\lessgtr",!0),$(Z,ae,$t,"\u22DA","\\lesseqgtr",!0),$(Z,ae,$t,"\u2A8B","\\lesseqqgtr",!0),$(Z,ae,$t,"\u2251","\\doteqdot"),$(Z,ae,$t,"\u2253","\\risingdotseq",!0),$(Z,ae,$t,"\u2252","\\fallingdotseq",!0),$(Z,ae,$t,"\u223D","\\backsim",!0),$(Z,ae,$t,"\u22CD","\\backsimeq",!0),$(Z,ae,$t,"\u2AC5","\\subseteqq",!0),$(Z,ae,$t,"\u22D0","\\Subset",!0),$(Z,ae,$t,"\u228F","\\sqsubset",!0),$(Z,ae,$t,"\u227C","\\preccurlyeq",!0),$(Z,ae,$t,"\u22DE","\\curlyeqprec",!0),$(Z,ae,$t,"\u227E","\\precsim",!0),$(Z,ae,$t,"\u2AB7","\\precapprox",!0),$(Z,ae,$t,"\u22B2","\\vartriangleleft"),$(Z,ae,$t,"\u22B4","\\trianglelefteq"),$(Z,ae,$t,"\u22A8","\\vDash",!0),$(Z,ae,$t,"\u22AA","\\Vvdash",!0),$(Z,ae,$t,"\u2323","\\smallsmile"),$(Z,ae,$t,"\u2322","\\smallfrown"),$(Z,ae,$t,"\u224F","\\bumpeq",!0),$(Z,ae,$t,"\u224E","\\Bumpeq",!0),$(Z,ae,$t,"\u2267","\\geqq",!0),$(Z,ae,$t,"\u2A7E","\\geqslant",!0),$(Z,ae,$t,"\u2A96","\\eqslantgtr",!0),$(Z,ae,$t,"\u2273","\\gtrsim",!0),$(Z,ae,$t,"\u2A86","\\gtrapprox",!0),$(Z,ae,jt,"\u22D7","\\gtrdot"),$(Z,ae,$t,"\u22D9","\\ggg",!0),$(Z,ae,$t,"\u2277","\\gtrless",!0),$(Z,ae,$t,"\u22DB","\\gtreqless",!0),$(Z,ae,$t,"\u2A8C","\\gtreqqless",!0),$(Z,ae,$t,"\u2256","\\eqcirc",!0),$(Z,ae,$t,"\u2257","\\circeq",!0),$(Z,ae,$t,"\u225C","\\triangleq",!0),$(Z,ae,$t,"\u223C","\\thicksim"),$(Z,ae,$t,"\u2248","\\thickapprox"),$(Z,ae,$t,"\u2AC6","\\supseteqq",!0),$(Z,ae,$t,"\u22D1","\\Supset",!0),$(Z,ae,$t,"\u2290","\\sqsupset",!0),$(Z,ae,$t,"\u227D","\\succcurlyeq",!0),$(Z,ae,$t,"\u22DF","\\curlyeqsucc",!0),$(Z,ae,$t,"\u227F","\\succsim",!0),$(Z,ae,$t,"\u2AB8","\\succapprox",!0),$(Z,ae,$t,"\u22B3","\\vartriangleright"),$(Z,ae,$t,"\u22B5","\\trianglerighteq"),$(Z,ae,$t,"\u22A9","\\Vdash",!0),$(Z,ae,$t,"\u2223","\\shortmid"),$(Z,ae,$t,"\u2225","\\shortparallel"),$(Z,ae,$t,"\u226C","\\between",!0),$(Z,ae,$t,"\u22D4","\\pitchfork",!0),$(Z,ae,$t,"\u221D","\\varpropto"),$(Z,ae,$t,"\u25C0","\\blacktriangleleft"),$(Z,ae,$t,"\u2234","\\therefore",!0),$(Z,ae,$t,"\u220D","\\backepsilon"),$(Z,ae,$t,"\u25B6","\\blacktriangleright"),$(Z,ae,$t,"\u2235","\\because",!0),$(Z,ae,$t,"\u22D8","\\llless"),$(Z,ae,$t,"\u22D9","\\gggtr"),$(Z,ae,jt,"\u22B2","\\lhd"),$(Z,ae,jt,"\u22B3","\\rhd"),$(Z,ae,$t,"\u2242","\\eqsim",!0),$(Z,De,$t,"\u22C8","\\Join"),$(Z,ae,$t,"\u2251","\\Doteq",!0),$(Z,ae,jt,"\u2214","\\dotplus",!0),$(Z,ae,jt,"\u2216","\\smallsetminus"),$(Z,ae,jt,"\u22D2","\\Cap",!0),$(Z,ae,jt,"\u22D3","\\Cup",!0),$(Z,ae,jt,"\u2A5E","\\doublebarwedge",!0),$(Z,ae,jt,"\u229F","\\boxminus",!0),$(Z,ae,jt,"\u229E","\\boxplus",!0),$(Z,ae,jt,"\u22C7","\\divideontimes",!0),$(Z,ae,jt,"\u22C9","\\ltimes",!0),$(Z,ae,jt,"\u22CA","\\rtimes",!0),$(Z,ae,jt,"\u22CB","\\leftthreetimes",!0),$(Z,ae,jt,"\u22CC","\\rightthreetimes",!0),$(Z,ae,jt,"\u22CF","\\curlywedge",!0),$(Z,ae,jt,"\u22CE","\\curlyvee",!0),$(Z,ae,jt,"\u229D","\\circleddash",!0),$(Z,ae,jt,"\u229B","\\circledast",!0),$(Z,ae,jt,"\u22C5","\\centerdot"),$(Z,ae,jt,"\u22BA","\\intercal",!0),$(Z,ae,jt,"\u22D2","\\doublecap"),$(Z,ae,jt,"\u22D3","\\doublecup"),$(Z,ae,jt,"\u22A0","\\boxtimes",!0),$(Z,ae,$t,"\u21E2","\\dashrightarrow",!0),$(Z,ae,$t,"\u21E0","\\dashleftarrow",!0),$(Z,ae,$t,"\u21C7","\\leftleftarrows",!0),$(Z,ae,$t,"\u21C6","\\leftrightarrows",!0),$(Z,ae,$t,"\u21DA","\\Lleftarrow",!0),$(Z,ae,$t,"\u219E","\\twoheadleftarrow",!0),$(Z,ae,$t,"\u21A2","\\leftarrowtail",!0),$(Z,ae,$t,"\u21AB","\\looparrowleft",!0),$(Z,ae,$t,"\u21CB","\\leftrightharpoons",!0),$(Z,ae,$t,"\u21B6","\\curvearrowleft",!0),$(Z,ae,$t,"\u21BA","\\circlearrowleft",!0),$(Z,ae,$t,"\u21B0","\\Lsh",!0),$(Z,ae,$t,"\u21C8","\\upuparrows",!0),$(Z,ae,$t,"\u21BF","\\upharpoonleft",!0),$(Z,ae,$t,"\u21C3","\\downharpoonleft",!0),$(Z,ae,$t,"\u22B8","\\multimap",!0),$(Z,ae,$t,"\u21AD","\\leftrightsquigarrow",!0),$(Z,ae,$t,"\u21C9","\\rightrightarrows",!0),$(Z,ae,$t,"\u21C4","\\rightleftarrows",!0),$(Z,ae,$t,"\u21A0","\\twoheadrightarrow",!0),$(Z,ae,$t,"\u21A3","\\rightarrowtail",!0),$(Z,ae,$t,"\u21AC","\\looparrowright",!0),$(Z,ae,$t,"\u21B7","\\curvearrowright",!0),$(Z,ae,$t,"\u21BB","\\circlearrowright",!0),$(Z,ae,$t,"\u21B1","\\Rsh",!0),$(Z,ae,$t,"\u21CA","\\downdownarrows",!0),$(Z,ae,$t,"\u21BE","\\upharpoonright",!0),$(Z,ae,$t,"\u21C2","\\downharpoonright",!0),$(Z,ae,$t,"\u21DD","\\rightsquigarrow",!0),$(Z,ae,$t,"\u21DD","\\leadsto"),$(Z,ae,$t,"\u21DB","\\Rrightarrow",!0),$(Z,ae,$t,"\u21BE","\\restriction"),$(Z,De,ft,"\u2018","`"),$(Z,De,ft,"$","\\$"),$(Re,De,ft,"$","\\$"),$(Re,De,ft,"$","\\textdollar"),$(Z,De,ft,"%","\\%"),$(Re,De,ft,"%","\\%"),$(Z,De,ft,"_","\\_"),$(Re,De,ft,"_","\\_"),$(Re,De,ft,"_","\\textunderscore"),$(Z,De,ft,"\u2220","\\angle",!0),$(Z,De,ft,"\u221E","\\infty",!0),$(Z,De,ft,"\u2032","\\prime"),$(Z,De,ft,"\u25B3","\\triangle"),$(Z,De,ft,"\u0393","\\Gamma",!0),$(Z,De,ft,"\u0394","\\Delta",!0),$(Z,De,ft,"\u0398","\\Theta",!0),$(Z,De,ft,"\u039B","\\Lambda",!0),$(Z,De,ft,"\u039E","\\Xi",!0),$(Z,De,ft,"\u03A0","\\Pi",!0),$(Z,De,ft,"\u03A3","\\Sigma",!0),$(Z,De,ft,"\u03A5","\\Upsilon",!0),$(Z,De,ft,"\u03A6","\\Phi",!0),$(Z,De,ft,"\u03A8","\\Psi",!0),$(Z,De,ft,"\u03A9","\\Omega",!0),$(Z,De,ft,"A","\u0391"),$(Z,De,ft,"B","\u0392"),$(Z,De,ft,"E","\u0395"),$(Z,De,ft,"Z","\u0396"),$(Z,De,ft,"H","\u0397"),$(Z,De,ft,"I","\u0399"),$(Z,De,ft,"K","\u039A"),$(Z,De,ft,"M","\u039C"),$(Z,De,ft,"N","\u039D"),$(Z,De,ft,"O","\u039F"),$(Z,De,ft,"P","\u03A1"),$(Z,De,ft,"T","\u03A4"),$(Z,De,ft,"X","\u03A7"),$(Z,De,ft,"\xAC","\\neg",!0),$(Z,De,ft,"\xAC","\\lnot"),$(Z,De,ft,"\u22A4","\\top"),$(Z,De,ft,"\u22A5","\\bot"),$(Z,De,ft,"\u2205","\\emptyset"),$(Z,ae,ft,"\u2205","\\varnothing"),$(Z,De,pr,"\u03B1","\\alpha",!0),$(Z,De,pr,"\u03B2","\\beta",!0),$(Z,De,pr,"\u03B3","\\gamma",!0),$(Z,De,pr,"\u03B4","\\delta",!0),$(Z,De,pr,"\u03F5","\\epsilon",!0),$(Z,De,pr,"\u03B6","\\zeta",!0),$(Z,De,pr,"\u03B7","\\eta",!0),$(Z,De,pr,"\u03B8","\\theta",!0),$(Z,De,pr,"\u03B9","\\iota",!0),$(Z,De,pr,"\u03BA","\\kappa",!0),$(Z,De,pr,"\u03BB","\\lambda",!0),$(Z,De,pr,"\u03BC","\\mu",!0),$(Z,De,pr,"\u03BD","\\nu",!0),$(Z,De,pr,"\u03BE","\\xi",!0),$(Z,De,pr,"\u03BF","\\omicron",!0),$(Z,De,pr,"\u03C0","\\pi",!0),$(Z,De,pr,"\u03C1","\\rho",!0),$(Z,De,pr,"\u03C3","\\sigma",!0),$(Z,De,pr,"\u03C4","\\tau",!0),$(Z,De,pr,"\u03C5","\\upsilon",!0),$(Z,De,pr,"\u03D5","\\phi",!0),$(Z,De,pr,"\u03C7","\\chi",!0),$(Z,De,pr,"\u03C8","\\psi",!0),$(Z,De,pr,"\u03C9","\\omega",!0),$(Z,De,pr,"\u03B5","\\varepsilon",!0),$(Z,De,pr,"\u03D1","\\vartheta",!0),$(Z,De,pr,"\u03D6","\\varpi",!0),$(Z,De,pr,"\u03F1","\\varrho",!0),$(Z,De,pr,"\u03C2","\\varsigma",!0),$(Z,De,pr,"\u03C6","\\varphi",!0),$(Z,De,jt,"\u2217","*"),$(Z,De,jt,"+","+"),$(Z,De,jt,"\u2212","-"),$(Z,De,jt,"\u22C5","\\cdot",!0),$(Z,De,jt,"\u2218","\\circ"),$(Z,De,jt,"\xF7","\\div",!0),$(Z,De,jt,"\xB1","\\pm",!0),$(Z,De,jt,"\xD7","\\times",!0),$(Z,De,jt,"\u2229","\\cap",!0),$(Z,De,jt,"\u222A","\\cup",!0),$(Z,De,jt,"\u2216","\\setminus"),$(Z,De,jt,"\u2227","\\land"),$(Z,De,jt,"\u2228","\\lor"),$(Z,De,jt,"\u2227","\\wedge",!0),$(Z,De,jt,"\u2228","\\vee",!0),$(Z,De,ft,"\u221A","\\surd"),$(Z,De,mr,"(","("),$(Z,De,mr,"[","["),$(Z,De,mr,"\u27E8","\\langle",!0),$(Z,De,mr,"\u2223","\\lvert"),$(Z,De,mr,"\u2225","\\lVert"),$(Z,De,ut,")",")"),$(Z,De,ut,"]","]"),$(Z,De,ut,"?","?"),$(Z,De,ut,"!","!"),$(Z,De,ut,"\u27E9","\\rangle",!0),$(Z,De,ut,"\u2223","\\rvert"),$(Z,De,ut,"\u2225","\\rVert"),$(Z,De,$t,"=","="),$(Z,De,$t,"<","<"),$(Z,De,$t,">",">"),$(Z,De,$t,":",":"),$(Z,De,$t,"\u2248","\\approx",!0),$(Z,De,$t,"\u2245","\\cong",!0),$(Z,De,$t,"\u2265","\\ge"),$(Z,De,$t,"\u2265","\\geq",!0),$(Z,De,$t,"\u2190","\\gets"),$(Z,De,$t,">","\\gt"),$(Z,De,$t,"\u2208","\\in",!0),$(Z,De,$t,"\uE020","\\@not"),$(Z,De,$t,"\u2282","\\subset",!0),$(Z,De,$t,"\u2283","\\supset",!0),$(Z,De,$t,"\u2286","\\subseteq",!0),$(Z,De,$t,"\u2287","\\supseteq",!0),$(Z,ae,$t,"\u2288","\\nsubseteq",!0),$(Z,ae,$t,"\u2289","\\nsupseteq",!0),$(Z,De,$t,"\u22A8","\\models"),$(Z,De,$t,"\u2190","\\leftarrow",!0),$(Z,De,$t,"\u2264","\\le"),$(Z,De,$t,"\u2264","\\leq",!0),$(Z,De,$t,"<","\\lt"),$(Z,De,$t,"\u2192","\\rightarrow",!0),$(Z,De,$t,"\u2192","\\to"),$(Z,ae,$t,"\u2271","\\ngeq",!0),$(Z,ae,$t,"\u2270","\\nleq",!0),$(Z,De,Xt,"\xA0","\\ "),$(Z,De,Xt,"\xA0","~"),$(Z,De,Xt,"\xA0","\\space"),$(Z,De,Xt,"\xA0","\\nobreakspace"),$(Re,De,Xt,"\xA0","\\ "),$(Re,De,Xt,"\xA0","~"),$(Re,De,Xt,"\xA0","\\space"),$(Re,De,Xt,"\xA0","\\nobreakspace"),$(Z,De,Xt,null,"\\nobreak"),$(Z,De,Xt,null,"\\allowbreak"),$(Z,De,vr,",",","),$(Z,De,vr,";",";"),$(Z,ae,jt,"\u22BC","\\barwedge",!0),$(Z,ae,jt,"\u22BB","\\veebar",!0),$(Z,De,jt,"\u2299","\\odot",!0),$(Z,De,jt,"\u2295","\\oplus",!0),$(Z,De,jt,"\u2297","\\otimes",!0),$(Z,De,ft,"\u2202","\\partial",!0),$(Z,De,jt,"\u2298","\\oslash",!0),$(Z,ae,jt,"\u229A","\\circledcirc",!0),$(Z,ae,jt,"\u22A1","\\boxdot",!0),$(Z,De,jt,"\u25B3","\\bigtriangleup"),$(Z,De,jt,"\u25BD","\\bigtriangledown"),$(Z,De,jt,"\u2020","\\dagger"),$(Z,De,jt,"\u22C4","\\diamond"),$(Z,De,jt,"\u22C6","\\star"),$(Z,De,jt,"\u25C3","\\triangleleft"),$(Z,De,jt,"\u25B9","\\triangleright"),$(Z,De,mr,"{","\\{"),$(Re,De,ft,"{","\\{"),$(Re,De,ft,"{","\\textbraceleft"),$(Z,De,ut,"}","\\}"),$(Re,De,ft,"}","\\}"),$(Re,De,ft,"}","\\textbraceright"),$(Z,De,mr,"{","\\lbrace"),$(Z,De,ut,"}","\\rbrace"),$(Z,De,mr,"[","\\lbrack"),$(Re,De,ft,"[","\\lbrack"),$(Z,De,ut,"]","\\rbrack"),$(Re,De,ft,"]","\\rbrack"),$(Z,De,mr,"(","\\lparen"),$(Z,De,ut,")","\\rparen"),$(Re,De,ft,"<","\\textless"),$(Re,De,ft,">","\\textgreater"),$(Z,De,mr,"\u230A","\\lfloor",!0),$(Z,De,ut,"\u230B","\\rfloor",!0),$(Z,De,mr,"\u2308","\\lceil",!0),$(Z,De,ut,"\u2309","\\rceil",!0),$(Z,De,ft,"\\","\\backslash"),$(Z,De,ft,"\u2223","|"),$(Z,De,ft,"\u2223","\\vert"),$(Re,De,ft,"|","\\textbar"),$(Z,De,ft,"\u2225","\\|"),$(Z,De,ft,"\u2225","\\Vert"),$(Re,De,ft,"\u2225","\\textbardbl"),$(Re,De,ft,"~","\\textasciitilde"),$(Re,De,ft,"\\","\\textbackslash"),$(Re,De,ft,"^","\\textasciicircum"),$(Z,De,$t,"\u2191","\\uparrow",!0),$(Z,De,$t,"\u21D1","\\Uparrow",!0),$(Z,De,$t,"\u2193","\\downarrow",!0),$(Z,De,$t,"\u21D3","\\Downarrow",!0),$(Z,De,$t,"\u2195","\\updownarrow",!0),$(Z,De,$t,"\u21D5","\\Updownarrow",!0),$(Z,De,nn,"\u2210","\\coprod"),$(Z,De,nn,"\u22C1","\\bigvee"),$(Z,De,nn,"\u22C0","\\bigwedge"),$(Z,De,nn,"\u2A04","\\biguplus"),$(Z,De,nn,"\u22C2","\\bigcap"),$(Z,De,nn,"\u22C3","\\bigcup"),$(Z,De,nn,"\u222B","\\int"),$(Z,De,nn,"\u222B","\\intop"),$(Z,De,nn,"\u222C","\\iint"),$(Z,De,nn,"\u222D","\\iiint"),$(Z,De,nn,"\u220F","\\prod"),$(Z,De,nn,"\u2211","\\sum"),$(Z,De,nn,"\u2A02","\\bigotimes"),$(Z,De,nn,"\u2A01","\\bigoplus"),$(Z,De,nn,"\u2A00","\\bigodot"),$(Z,De,nn,"\u222E","\\oint"),$(Z,De,nn,"\u222F","\\oiint"),$(Z,De,nn,"\u2230","\\oiiint"),$(Z,De,nn,"\u2A06","\\bigsqcup"),$(Z,De,nn,"\u222B","\\smallint"),$(Re,De,rr,"\u2026","\\textellipsis"),$(Z,De,rr,"\u2026","\\mathellipsis"),$(Re,De,rr,"\u2026","\\ldots",!0),$(Z,De,rr,"\u2026","\\ldots",!0),$(Z,De,rr,"\u22EF","\\@cdots",!0),$(Z,De,rr,"\u22F1","\\ddots",!0),$(Z,De,ft,"\u22EE","\\varvdots"),$(Z,De,gt,"\u02CA","\\acute"),$(Z,De,gt,"\u02CB","\\grave"),$(Z,De,gt,"\xA8","\\ddot"),$(Z,De,gt,"~","\\tilde"),$(Z,De,gt,"\u02C9","\\bar"),$(Z,De,gt,"\u02D8","\\breve"),$(Z,De,gt,"\u02C7","\\check"),$(Z,De,gt,"^","\\hat"),$(Z,De,gt,"\u20D7","\\vec"),$(Z,De,gt,"\u02D9","\\dot"),$(Z,De,gt,"\u02DA","\\mathring"),$(Z,De,pr,"\u0131","\\imath",!0),$(Z,De,pr,"\u0237","\\jmath",!0),$(Re,De,ft,"\u0131","\\i",!0),$(Re,De,ft,"\u0237","\\j",!0),$(Re,De,ft,"\xDF","\\ss",!0),$(Re,De,ft,"\xE6","\\ae",!0),$(Re,De,ft,"\xE6","\\ae",!0),$(Re,De,ft,"\u0153","\\oe",!0),$(Re,De,ft,"\xF8","\\o",!0),$(Re,De,ft,"\xC6","\\AE",!0),$(Re,De,ft,"\u0152","\\OE",!0),$(Re,De,ft,"\xD8","\\O",!0),$(Re,De,gt,"\u02CA","\\'"),$(Re,De,gt,"\u02CB","\\`"),$(Re,De,gt,"\u02C6","\\^"),$(Re,De,gt,"\u02DC","\\~"),$(Re,De,gt,"\u02C9","\\="),$(Re,De,gt,"\u02D8","\\u"),$(Re,De,gt,"\u02D9","\\."),$(Re,De,gt,"\u02DA","\\r"),$(Re,De,gt,"\u02C7","\\v"),$(Re,De,gt,"\xA8",'\\"'),$(Re,De,gt,"\u02DD","\\H"),$(Re,De,gt,"\u25EF","\\textcircled");var Ur={"--":!0,"---":!0,"``":!0,"''":!0};$(Re,De,ft,"\u2013","--"),$(Re,De,ft,"\u2013","\\textendash"),$(Re,De,ft,"\u2014","---"),$(Re,De,ft,"\u2014","\\textemdash"),$(Re,De,ft,"\u2018","`"),$(Re,De,ft,"\u2018","\\textquoteleft"),$(Re,De,ft,"\u2019","'"),$(Re,De,ft,"\u2019","\\textquoteright"),$(Re,De,ft,"\u201C","``"),$(Re,De,ft,"\u201C","\\textquotedblleft"),$(Re,De,ft,"\u201D","''"),$(Re,De,ft,"\u201D","\\textquotedblright"),$(Z,De,ft,"\xB0","\\degree",!0),$(Re,De,ft,"\xB0","\\degree"),$(Re,De,ft,"\xB0","\\textdegree",!0),$(Z,De,pr,"\xA3","\\pounds"),$(Z,De,pr,"\xA3","\\mathsterling",!0),$(Re,De,pr,"\xA3","\\pounds"),$(Re,De,pr,"\xA3","\\textsterling",!0),$(Z,ae,ft,"\u2720","\\maltese"),$(Re,ae,ft,"\u2720","\\maltese"),$(Re,De,Xt,"\xA0","\\ "),$(Re,De,Xt,"\xA0"," "),$(Re,De,Xt,"\xA0","~");for(var yn='0123456789/@."',Dn=0;Dnge&&(ge=Yt.height),Yt.depth>Se&&(Se=Yt.depth),Yt.maxFontSize>We&&(We=Yt.maxFontSize)}se.height=ge,se.depth=Se,se.maxFontSize=We},Ne=function(se,ge,Se,We){var vt=new X(se,ge,Se,We);return be(vt),vt},Ue=function(se,ge,Se,We){return new X(se,ge,Se,We)},Qe=function(se,ge,Se){var We=Ne([se],[],ge);return We.height=Math.max(Se||ge.fontMetrics().defaultRuleThickness,ge.minRuleThickness),We.style.borderBottomWidth=We.height+"em",We.maxFontSize=1,We},Xe=function(se,ge,Se,We){var vt=new J(se,ge,Se,We);return be(vt),vt},qe=function(se){var ge=new Q(se);return be(ge),ge},yt=function(se,ge){return se instanceof Q?Ne([],[se],ge):se},ht=function(se){if(se.positionType==="individualShift"){for(var ge=se.children,Se=[ge[0]],We=-ge[0].shift-ge[0].elem.depth,vt=We,Yt=1;Yt0&&(We.push(ii(vt,se)),vt=[]),We.push(Se[Yt]));vt.length>0&&We.push(ii(vt,se));var Yr;ge&&(Yr=ii(Zr(ge,se,!0)),Yr.classes=["tag"],We.push(Yr));var mn=Er(["katex-html"],We);if(mn.setAttribute("aria-hidden","true"),Yr){var Wn=Yr.children[0];Wn.style.height=mn.height+mn.depth+"em",Wn.style.verticalAlign=-mn.depth+"em"}return mn}function Li(At){return new Q(At)}var zi=function(){function At(ge,Se){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=ge,this.attributes={},this.children=Se||[]}var se=At.prototype;return se.setAttribute=function(Se,We){this.attributes[Se]=We},se.getAttribute=function(Se){return this.attributes[Se]},se.toNode=function(){var Se=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&Se.setAttribute(We,this.attributes[We]);for(var vt=0;vt",Se},se.toText=function(){return this.children.map(function(Se){return Se.toText()}).join("")},At}(),Ri=function(){function At(ge){this.text=void 0,this.text=ge}var se=At.prototype;return se.toNode=function(){return document.createTextNode(this.text)},se.toMarkup=function(){return p.escape(this.toText())},se.toText=function(){return this.text},At}(),ga=function(){function At(ge){this.width=void 0,this.character=void 0,this.width=ge,ge>=.05555&&ge<=.05556?this.character="\u200A":ge>=.1666&&ge<=.1667?this.character="\u2009":ge>=.2222&&ge<=.2223?this.character="\u2005":ge>=.2777&&ge<=.2778?this.character="\u2005\u200A":ge>=-.05556&&ge<=-.05555?this.character="\u200A\u2063":ge>=-.1667&&ge<=-.1666?this.character="\u2009\u2063":ge>=-.2223&&ge<=-.2222?this.character="\u205F\u2063":ge>=-.2778&&ge<=-.2777?this.character="\u2005\u2063":this.character=null}var se=At.prototype;return se.toNode=function(){if(this.character)return document.createTextNode(this.character);var Se=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Se.setAttribute("width",this.width+"em"),Se},se.toMarkup=function(){return this.character?""+this.character+"":''},se.toText=function(){return this.character?this.character:" "},At}(),oi={MathNode:zi,TextNode:Ri,SpaceNode:ga,newDocumentFragment:Li},hn=function(se,ge,Se){return Be[ge][se]&&Be[ge][se].replace&&se.charCodeAt(0)!==55349&&!(Ur.hasOwnProperty(se)&&Se&&(Se.fontFamily&&Se.fontFamily.substr(4,2)==="tt"||Se.font&&Se.font.substr(4,2)==="tt"))&&(se=Be[ge][se].replace),new oi.TextNode(se)},Ei=function(se){return se.length===1?se[0]:new oi.MathNode("mrow",se)},Hi=function(se,ge){if(ge.fontFamily==="texttt")return"monospace";if(ge.fontFamily==="textsf")return ge.fontShape==="textit"&&ge.fontWeight==="textbf"?"sans-serif-bold-italic":ge.fontShape==="textit"?"sans-serif-italic":ge.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(ge.fontShape==="textit"&&ge.fontWeight==="textbf")return"bold-italic";if(ge.fontShape==="textit")return"italic";if(ge.fontWeight==="textbf")return"bold";var Se=ge.font;if(!Se||Se==="mathnormal")return null;var We=se.mode;if(Se==="mathit")return"italic";if(Se==="boldsymbol")return"bold-italic";if(Se==="mathbf")return"bold";if(Se==="mathbb")return"double-struck";if(Se==="mathfrak")return"fraktur";if(Se==="mathscr"||Se==="mathcal")return"script";if(Se==="mathsf")return"sans-serif";if(Se==="mathtt")return"monospace";var vt=se.text;if(p.contains(["\\imath","\\jmath"],vt))return null;Be[We][vt]&&Be[We][vt].replace&&(vt=Be[We][vt].replace);var Yt=hr.fontMap[Se].fontName;return ze(vt,Yt,We)?hr.fontMap[Se].variant:null},ki=function(se,ge,Se){if(se.length===1){var We=dr(se[0],ge);return Se&&We instanceof zi&&We.type==="mo"&&(We.setAttribute("lspace","0em"),We.setAttribute("rspace","0em")),[We]}for(var vt=[],Yt,Rr=0;Rr0&&(Yi.text=Yi.text.slice(0,1)+"\u0338"+Yi.text.slice(1),vt.pop())}}}vt.push(Yr),Yt=Yr}return vt},ji=function(se,ge,Se){return Ei(ki(se,ge,Se))},dr=function(se,ge){if(!se)return new oi.MathNode("mrow");if(Qt[se.type]){var Se=Qt[se.type](se,ge);return Se}else throw new c("Got group of unknown type: '"+se.type+"'")};function sr(At,se,ge,Se){var We=ki(At,ge),vt;We.length===1&&We[0]instanceof zi&&p.contains(["mrow","mtable"],We[0].type)?vt=We[0]:vt=new oi.MathNode("mrow",We);var Yt=new oi.MathNode("annotation",[new oi.TextNode(se)]);Yt.setAttribute("encoding","application/x-tex");var Rr=new oi.MathNode("semantics",[vt,Yt]),Yr=new oi.MathNode("math",[Rr]);Yr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var mn=Se?"katex":"katex-mathml";return hr.makeSpan([mn],[Yr])}var cn=function(se){return new Ht({style:se.displayMode?K.DISPLAY:K.TEXT,maxSize:se.maxSize,minRuleThickness:se.minRuleThickness})},Zt=function(se,ge){if(ge.displayMode){var Se=["katex-display"];ge.leqno&&Se.push("leqno"),ge.fleqn&&Se.push("fleqn"),se=hr.makeSpan(Se,[se])}return se},Ar=function(se,ge,Se){var We=cn(Se),vt;if(Se.output==="mathml")return sr(se,ge,We,!0);if(Se.output==="html"){var Yt=qn(se,We);vt=hr.makeSpan(["katex"],[Yt])}else{var Rr=sr(se,ge,We,!1),Yr=qn(se,We);vt=hr.makeSpan(["katex"],[Rr,Yr])}return Zt(vt,Se)},Nr=function(se,ge,Se){var We=cn(Se),vt=qn(se,We),Yt=hr.makeSpan(["katex"],[vt]);return Zt(Yt,Se)},tn=Ar,pn={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},St=function(se){var ge=new oi.MathNode("mo",[new oi.TextNode(pn[se.substr(1)])]);return ge.setAttribute("stretchy","true"),ge},cr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},fr=function(se){return se.type==="ordgroup"?se.body.length:1},Br=function(se,ge){function Se(){var Yr=4e5,mn=se.label.substr(1);if(p.contains(["widehat","widecheck","widetilde","utilde"],mn)){var Wn=se,Jn=fr(Wn.base),ri,Ii,Yi;if(Jn>5)mn==="widehat"||mn==="widecheck"?(ri=420,Yr=2364,Yi=.42,Ii=mn+"4"):(ri=312,Yr=2340,Yi=.34,Ii="tilde4");else{var ma=[1,1,2,2,3,3][Jn];mn==="widehat"||mn==="widecheck"?(Yr=[0,1062,2364,2364,2364][ma],ri=[0,239,300,360,420][ma],Yi=[0,.24,.3,.3,.36,.42][ma],Ii=mn+ma):(Yr=[0,600,1033,2339,2340][ma],ri=[0,260,286,306,312][ma],Yi=[0,.26,.286,.3,.306,.34][ma],Ii="tilde"+ma)}var Ta=new oe(Ii),uo=new Ie([Ta],{width:"100%",height:Yi+"em",viewBox:"0 0 "+Yr+" "+ri,preserveAspectRatio:"none"});return{span:hr.makeSvgSpan([],[uo],ge),minWidth:0,height:Yi}}else{var bo=[],co=cr[mn],Zo=co[0],Oo=co[1],Do=co[2],Ha=Do/1e3,Ya=Zo.length,ps,ts;if(Ya===1){var $o=co[3];ps=["hide-tail"],ts=[$o]}else if(Ya===2)ps=["halfarrow-left","halfarrow-right"],ts=["xMinYMin","xMaxYMin"];else if(Ya===3)ps=["brace-left","brace-center","brace-right"],ts=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+Ya+" children.");for(var Ds=0;Ds0&&(vt.style.minWidth=Yt+"em"),vt},$r=function(se,ge,Se,We){var vt,Yt=se.height+se.depth+2*Se;if(/fbox|color/.test(ge)){if(vt=hr.makeSpan(["stretchy",ge],[],We),ge==="fbox"){var Rr=We.color&&We.getColor();Rr&&(vt.style.borderColor=Rr)}}else{var Yr=[];/^[bx]cancel$/.test(ge)&&Yr.push(new pe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(ge)&&Yr.push(new pe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var mn=new Ie(Yr,{width:"100%",height:Yt+"em"});vt=hr.makeSvgSpan([],[mn],We)}return vt.height=Yt,vt.style.height=Yt+"em",vt},wn={encloseSpan:$r,mathMLnode:St,svgSpan:Br},rn=function(se,ge){var Se,We,vt=en(se,"supsub"),Yt;vt?(We=vn(vt.base,"accent"),Se=We.base,vt.base=Se,Yt=Ye(ui(vt,ge)),vt.base=We):(We=vn(se,"accent"),Se=We.base);var Rr=ui(Se,ge.havingCrampedStyle()),Yr=We.isShifty&&p.isCharacterBox(Se),mn=0;if(Yr){var Wn=p.getBaseElem(Se),Jn=ui(Wn,ge.havingCrampedStyle());mn=Oe(Jn).skew}var ri=Math.min(Rr.height,ge.fontMetrics().xHeight),Ii;if(We.isStretchy)Ii=wn.svgSpan(We,ge),Ii=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rr},{type:"elem",elem:Ii,wrapperClasses:["svg-align"],wrapperStyle:mn>0?{width:"calc(100% - "+2*mn+"em)",marginLeft:2*mn+"em"}:void 0}]},ge);else{var Yi,ma;We.label==="\\vec"?(Yi=hr.staticSvg("vec",ge),ma=hr.svgData.vec[1]):(Yi=hr.makeOrd({mode:We.mode,text:We.label},ge,"textord"),Yi=Oe(Yi),Yi.italic=0,ma=Yi.width),Ii=hr.makeSpan(["accent-body"],[Yi]);var Ta=We.label==="\\textcircled";Ta&&(Ii.classes.push("accent-full"),ri=Rr.height);var uo=mn;Ta||(uo-=ma/2),Ii.style.left=uo+"em",We.label==="\\textcircled"&&(Ii.style.top=".2em"),Ii=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rr},{type:"kern",size:-ri},{type:"elem",elem:Ii}]},ge)}var bo=hr.makeSpan(["mord","accent"],[Ii],ge);return Yt?(Yt.children[0]=bo,Yt.height=Math.max(bo.height,Yt.height),Yt.classes[0]="mord",Yt):bo},On=function(se,ge){var Se=se.isStretchy?wn.mathMLnode(se.label):new oi.MathNode("mo",[hn(se.label,se.mode)]),We=new oi.MathNode("mover",[dr(se.base,ge),Se]);return We.setAttribute("accent","true"),We},In=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(At){return"\\"+At}).join("|"));It({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(se,ge){var Se=ge[0],We=!In.test(se.funcName),vt=!We||se.funcName==="\\widehat"||se.funcName==="\\widetilde"||se.funcName==="\\widecheck";return{type:"accent",mode:se.parser.mode,label:se.funcName,isStretchy:We,isShifty:vt,base:Se}},htmlBuilder:rn,mathmlBuilder:On}),It({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(se,ge){var Se=ge[0];return{type:"accent",mode:se.parser.mode,label:se.funcName,isStretchy:!1,isShifty:!0,base:Se}},htmlBuilder:rn,mathmlBuilder:On}),It({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=ge[0];return{type:"accentUnder",mode:Se.mode,label:We,base:vt}},htmlBuilder:function(se,ge){var Se=ui(se.base,ge),We=wn.svgSpan(se,ge),vt=se.label==="\\utilde"?.12:0,Yt=hr.makeVList({positionType:"bottom",positionData:We.height+vt,children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:vt},{type:"elem",elem:Se}]},ge);return hr.makeSpan(["mord","accentunder"],[Yt],ge)},mathmlBuilder:function(se,ge){var Se=wn.mathMLnode(se.label),We=new oi.MathNode("munder",[dr(se.base,ge),Se]);return We.setAttribute("accentunder","true"),We}});var Gn=function(se){var ge=new oi.MathNode("mpadded",se?[se]:[]);return ge.setAttribute("width","+0.6em"),ge.setAttribute("lspace","0.3em"),ge};It({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(se,ge,Se){var We=se.parser,vt=se.funcName;return{type:"xArrow",mode:We.mode,label:vt,body:ge[0],below:Se[0]}},htmlBuilder:function(se,ge){var Se=ge.style,We=ge.havingStyle(Se.sup()),vt=hr.wrapFragment(ui(se.body,We,ge),ge);vt.classes.push("x-arrow-pad");var Yt;se.below&&(We=ge.havingStyle(Se.sub()),Yt=hr.wrapFragment(ui(se.below,We,ge),ge),Yt.classes.push("x-arrow-pad"));var Rr=wn.svgSpan(se,ge),Yr=-ge.fontMetrics().axisHeight+.5*Rr.height,mn=-ge.fontMetrics().axisHeight-.5*Rr.height-.111;(vt.depth>.25||se.label==="\\xleftequilibrium")&&(mn-=vt.depth);var Wn;if(Yt){var Jn=-ge.fontMetrics().axisHeight+Yt.height+.5*Rr.height+.111;Wn=hr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:mn},{type:"elem",elem:Rr,shift:Yr},{type:"elem",elem:Yt,shift:Jn}]},ge)}else Wn=hr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:mn},{type:"elem",elem:Rr,shift:Yr}]},ge);return Wn.children[0].children[0].children[1].classes.push("svg-align"),hr.makeSpan(["mrel","x-arrow"],[Wn],ge)},mathmlBuilder:function(se,ge){var Se=wn.mathMLnode(se.label),We;if(se.body){var vt=Gn(dr(se.body,ge));if(se.below){var Yt=Gn(dr(se.below,ge));We=new oi.MathNode("munderover",[Se,Yt,vt])}else We=new oi.MathNode("mover",[Se,vt])}else if(se.below){var Rr=Gn(dr(se.below,ge));We=new oi.MathNode("munder",[Se,Rr])}else We=Gn(),We=new oi.MathNode("mover",[Se,We]);return We}}),It({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(se,ge){for(var Se=se.parser,We=vn(ge[0],"ordgroup"),vt=We.body,Yt="",Rr=0;Rr","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],va=[0,1.2,1.8,2.4,3],sa=function(se,ge,Se,We,vt){if(se==="<"||se==="\\lt"||se==="\u27E8"?se="\\langle":(se===">"||se==="\\gt"||se==="\u27E9")&&(se="\\rangle"),p.contains(Ki,se)||p.contains(ea,se))return bi(se,ge,!1,Se,We,vt);if(p.contains(ra,se))return qi(se,va[ge],!1,Se,We,vt);throw new c("Illegal delimiter: '"+se+"'")},Pa=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ka=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],Ia=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ea=function(se){if(se.type==="small")return"Main-Regular";if(se.type==="large")return"Size"+se.size+"-Regular";if(se.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+se.type+"' here.")},So=function(se,ge,Se,We){for(var vt=Math.min(2,3-We.style.size),Yt=vt;Ytge)return Se[Yt]}return Se[Se.length-1]},Ga=function(se,ge,Se,We,vt,Yt){se==="<"||se==="\\lt"||se==="\u27E8"?se="\\langle":(se===">"||se==="\\gt"||se==="\u27E9")&&(se="\\rangle");var Rr;p.contains(ea,se)?Rr=Pa:p.contains(Ki,se)?Rr=Ia:Rr=ka;var Yr=So(se,ge,Rr,We);return Yr.type==="small"?Mi(se,Yr.style,Se,We,vt,Yt):Yr.type==="large"?bi(se,Yr.size,Se,We,vt,Yt):qi(se,ge,Se,We,vt,Yt)},Va=function(se,ge,Se,We,vt,Yt){var Rr=We.fontMetrics().axisHeight*We.sizeMultiplier,Yr=901,mn=5/We.fontMetrics().ptPerEm,Wn=Math.max(ge-Rr,Se+Rr),Jn=Math.max(Wn/500*Yr,2*Wn-mn);return Ga(se,Jn,!0,We,vt,Yt)},Ra={sqrtImage:Ui,sizedDelim:sa,customSizedDelim:Ga,leftRightDelim:Va},po={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},mo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Aa(At,se){var ge=Hr(At);if(ge&&p.contains(mo,ge.text))return ge;throw new c("Invalid delimiter: '"+(ge?ge.text:JSON.stringify(At))+"' after '"+se.funcName+"'",At)}It({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(se,ge){var Se=Aa(ge[0],se);return{type:"delimsizing",mode:se.parser.mode,size:po[se.funcName].size,mclass:po[se.funcName].mclass,delim:Se.text}},htmlBuilder:function(se,ge){return se.delim==="."?hr.makeSpan([se.mclass]):Ra.sizedDelim(se.delim,se.size,ge,se.mode,[se.mclass])},mathmlBuilder:function(se){var ge=[];se.delim!=="."&&ge.push(hn(se.delim,se.mode));var Se=new oi.MathNode("mo",ge);return se.mclass==="mopen"||se.mclass==="mclose"?Se.setAttribute("fence","true"):Se.setAttribute("fence","false"),Se}});function Io(At){if(!At.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}It({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(se,ge){var Se=se.parser.gullet.macros.get("\\current@color");if(Se&&typeof Se!="string")throw new c("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:se.parser.mode,delim:Aa(ge[0],se).text,color:Se}}}),It({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(se,ge){var Se=Aa(ge[0],se),We=se.parser;++We.leftrightDepth;var vt=We.parseExpression(!1);--We.leftrightDepth,We.expect("\\right",!1);var Yt=vn(We.parseFunction(),"leftright-right");return{type:"leftright",mode:We.mode,body:vt,left:Se.text,right:Yt.delim,rightColor:Yt.color}},htmlBuilder:function(se,ge){Io(se);for(var Se=Zr(se.body,ge,!0,["mopen","mclose"]),We=0,vt=0,Yt=!1,Rr=0;Rr-1?"mpadded":"menclose",[dr(se.body,ge)]);switch(se.label){case"\\cancel":We.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":We.setAttribute("notation","downdiagonalstrike");break;case"\\sout":We.setAttribute("notation","horizontalstrike");break;case"\\fbox":We.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Se=ge.fontMetrics().fboxsep*ge.fontMetrics().ptPerEm,We.setAttribute("width","+"+2*Se+"pt"),We.setAttribute("height","+"+2*Se+"pt"),We.setAttribute("lspace",Se+"pt"),We.setAttribute("voffset",Se+"pt"),se.label==="\\fcolorbox"){var vt=Math.max(ge.fontMetrics().fboxrule,ge.minRuleThickness);We.setAttribute("style","border: "+vt+"em solid "+String(se.borderColor))}break;case"\\xcancel":We.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return se.backgroundColor&&We.setAttribute("mathbackground",se.backgroundColor),We};It({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(se,ge,Se){var We=se.parser,vt=se.funcName,Yt=vn(ge[0],"color-token").color,Rr=ge[1];return{type:"enclose",mode:We.mode,label:vt,backgroundColor:Yt,body:Rr}},htmlBuilder:go,mathmlBuilder:Qa}),It({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(se,ge,Se){var We=se.parser,vt=se.funcName,Yt=vn(ge[0],"color-token").color,Rr=vn(ge[1],"color-token").color,Yr=ge[2];return{type:"enclose",mode:We.mode,label:vt,backgroundColor:Rr,borderColor:Yt,body:Yr}},htmlBuilder:go,mathmlBuilder:Qa}),It({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(se,ge){var Se=se.parser;return{type:"enclose",mode:Se.mode,label:"\\fbox",body:ge[0]}}}),It({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(se,ge,Se){var We=se.parser,vt=se.funcName,Yt=ge[0];return{type:"enclose",mode:We.mode,label:vt,body:Yt}},htmlBuilder:go,mathmlBuilder:Qa});var wo={};function pa(At){for(var se=At.type,ge=At.names,Se=At.props,We=At.handler,vt=At.htmlBuilder,Yt=At.mathmlBuilder,Rr={type:se,numArgs:Se.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:We},Yr=0;Yr0&&(co+=.25),mn.push({pos:co,isDashed:is[ms]})}for(Zo(Yt[0]),Se=0;Se0&&($o+=bo,Ha<$o&&(Ha=$o),$o=0)),se.addJot&&(Ha+=ma),Ya.height=Do,Ya.depth=Ha,co+=Do,Ya.pos=co,co+=Ha+$o,Yr[Se]=Ya,Zo(Yt[Se+1])}var Ds=co/2+ge.fontMetrics().axisHeight,Hs=se.cols||[],xs=[],Xo,Js;for(We=0,Js=0;We=Rr)continue;var as=void 0;(We>0||se.hskipBeforeAndAfter)&&(as=p.deflt(Cs.pregap,ri),as!==0&&(Xo=hr.makeSpan(["arraycolsep"],[]),Xo.style.width=as+"em",xs.push(Xo)));var ha=[];for(Se=0;Se0){for(var Ka=hr.makeLineSpan("hline",ge,Wn),Fo=hr.makeLineSpan("hdashline",ge,Wn),Ko=[{type:"elem",elem:Yr,shift:0}];mn.length>0;){var Wo=mn.pop(),Co=Wo.pos-Ds;Wo.isDashed?Ko.push({type:"elem",elem:Fo,shift:Co}):Ko.push({type:"elem",elem:Ka,shift:Co})}Yr=hr.makeVList({positionType:"individualShift",children:Ko},ge)}return hr.makeSpan(["mord"],[Yr],ge)},_o={c:"center ",l:"left ",r:"right "},Ao=function(se,ge){var Se=new oi.MathNode("mtable",se.body.map(function(co){return new oi.MathNode("mtr",co.map(function(Zo){return new oi.MathNode("mtd",[dr(Zo,ge)])}))})),We=se.arraystretch===.5?.1:.16+se.arraystretch-1+(se.addJot?.09:0);Se.setAttribute("rowspacing",We+"em");var vt="",Yt="";if(se.cols){var Rr=se.cols,Yr="",mn=!1,Wn=0,Jn=Rr.length;Rr[0].type==="separator"&&(vt+="top ",Wn=1),Rr[Rr.length-1].type==="separator"&&(vt+="bottom ",Jn-=1);for(var ri=Wn;ri0?"left ":"",vt+=uo[uo.length-1].length>0?"right ":"";for(var bo=1;bo0&&ri&&(ma=1),Se[Ii]={type:"align",align:Yi,pregap:ma,postgap:0}}return We.colSeparationType=ri?"align":"alignat",We};pa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(se,ge){var Se=Hr(ge[0]),We=Se?[ge[0]]:vn(ge[0],"ordgroup").body,vt=We.map(function(Rr){var Yr=un(Rr),mn=Yr.text;if("lcr".indexOf(mn)!==-1)return{type:"align",align:mn};if(mn==="|")return{type:"separator",separator:"|"};if(mn===":")return{type:"separator",separator:":"};throw new c("Unknown column alignment: "+mn,Rr)}),Yt={cols:vt,hskipBeforeAndAfter:!0};return ao(se.parser,Yt,Bo(se.envName))},htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(se){var ge={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[se.envName],Se={hskipBeforeAndAfter:!1},We=ao(se.parser,Se,Bo(se.envName));return ge?{type:"leftright",mode:se.mode,body:[We],left:ge[0],right:ge[1],rightColor:void 0}:We},htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(se){var ge={arraystretch:.5},Se=ao(se.parser,ge,"script");return Se.colSeparationType="small",Se},htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(se,ge){var Se=Hr(ge[0]),We=Se?[ge[0]]:vn(ge[0],"ordgroup").body,vt=We.map(function(Rr){var Yr=un(Rr),mn=Yr.text;if("lc".indexOf(mn)!==-1)return{type:"align",align:mn};throw new c("Unknown column alignment: "+mn,Rr)});if(vt.length>1)throw new c("{subarray} can contain only one column");var Yt={cols:vt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Yt=ao(se.parser,Yt,"script"),Yt.body[0].length>1)throw new c("{subarray} can contain only one column");return Yt},htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(se){var ge={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Se=ao(se.parser,ge,Bo(se.envName));return{type:"leftright",mode:se.mode,body:[Se],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["aligned"],props:{numArgs:0},handler:za,htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(se){var ge={cols:[{type:"align",align:"c"}],addJot:!0};return ao(se.parser,ge,"display")},htmlBuilder:Ja,mathmlBuilder:Ao}),pa({type:"array",names:["alignedat"],props:{numArgs:1},handler:za,htmlBuilder:Ja,mathmlBuilder:Ao}),It({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(se,ge){throw new c(se.funcName+" valid only within array environment")}});var ja=wo,da=ja;It({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=ge[0];if(vt.type!=="ordgroup")throw new c("Invalid environment name",vt);for(var Yt="",Rr=0;Rr=K.SCRIPT.id?Se.text():K.DISPLAY:se==="text"&&Se.size===K.DISPLAY.size?Se=K.TEXT:se==="script"?Se=K.SCRIPT:se==="scriptscript"&&(Se=K.SCRIPTSCRIPT),Se},Pr=function(se,ge){var Se=Cn(se.size,ge.style),We=Se.fracNum(),vt=Se.fracDen(),Yt;Yt=ge.havingStyle(We);var Rr=ui(se.numer,Yt,ge);if(se.continued){var Yr=8.5/ge.fontMetrics().ptPerEm,mn=3.5/ge.fontMetrics().ptPerEm;Rr.height=Rr.height0?ma=3*Ii:ma=7*Ii,Ta=ge.fontMetrics().denom1):(ri>0?(Yi=ge.fontMetrics().num2,ma=Ii):(Yi=ge.fontMetrics().num3,ma=3*Ii),Ta=ge.fontMetrics().denom2);var uo;if(Jn){var co=ge.fontMetrics().axisHeight;Yi-Rr.depth-(co+.5*ri)0&&(ge=se,ge=ge==="."?null:ge),ge};It({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(se,ge){var Se=se.parser,We=ge[4],vt=ge[5],Yt=en(ge[0],"atom");Yt&&(Yt=Dt(ge[0],"open"));var Rr=Yt?$n(Yt.text):null,Yr=en(ge[1],"atom");Yr&&(Yr=Dt(ge[1],"close"));var mn=Yr?$n(Yr.text):null,Wn=vn(ge[2],"size"),Jn,ri=null;Wn.isBlank?Jn=!0:(ri=Wn.value,Jn=ri.number>0);var Ii="auto",Yi=en(ge[3],"ordgroup");if(Yi){if(Yi.body.length>0){var ma=vn(Yi.body[0],"textord");Ii=Qn[Number(ma.text)]}}else Yi=vn(ge[3],"textord"),Ii=Qn[Number(Yi.text)];return{type:"genfrac",mode:Se.mode,numer:We,denom:vt,continued:!1,hasBarLine:Jn,barSize:ri,leftDelim:Rr,rightDelim:mn,size:Ii}},htmlBuilder:Pr,mathmlBuilder:xn}),It({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=se.token;return{type:"infix",mode:Se.mode,replaceWith:"\\\\abovefrac",size:vn(ge[0],"size").value,token:vt}}}),It({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=ge[0],Yt=u(vn(ge[1],"infix").size),Rr=ge[2],Yr=Yt.number>0;return{type:"genfrac",mode:Se.mode,numer:vt,denom:Rr,continued:!1,hasBarLine:Yr,barSize:Yt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Pr,mathmlBuilder:xn});var Kn=function(se,ge){var Se=ge.style,We,vt,Yt=en(se,"supsub");Yt?(We=Yt.sup?ui(Yt.sup,ge.havingStyle(Se.sup()),ge):ui(Yt.sub,ge.havingStyle(Se.sub()),ge),vt=vn(Yt.base,"horizBrace")):vt=vn(se,"horizBrace");var Rr=ui(vt.base,ge.havingBaseStyle(K.DISPLAY)),Yr=wn.svgSpan(vt,ge),mn;if(vt.isOver?(mn=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rr},{type:"kern",size:.1},{type:"elem",elem:Yr}]},ge),mn.children[0].children[0].children[1].classes.push("svg-align")):(mn=hr.makeVList({positionType:"bottom",positionData:Rr.depth+.1+Yr.height,children:[{type:"elem",elem:Yr},{type:"kern",size:.1},{type:"elem",elem:Rr}]},ge),mn.children[0].children[0].children[0].classes.push("svg-align")),We){var Wn=hr.makeSpan(["mord",vt.isOver?"mover":"munder"],[mn],ge);vt.isOver?mn=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Wn},{type:"kern",size:.2},{type:"elem",elem:We}]},ge):mn=hr.makeVList({positionType:"bottom",positionData:Wn.depth+.2+We.height+We.depth,children:[{type:"elem",elem:We},{type:"kern",size:.2},{type:"elem",elem:Wn}]},ge)}return hr.makeSpan(["mord",vt.isOver?"mover":"munder"],[mn],ge)},si=function(se,ge){var Se=wn.mathMLnode(se.label);return new oi.MathNode(se.isOver?"mover":"munder",[dr(se.base,ge),Se])};It({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(se,ge){var Se=se.parser,We=se.funcName;return{type:"horizBrace",mode:Se.mode,label:We,isOver:/^\\over/.test(We),base:ge[0]}},htmlBuilder:Kn,mathmlBuilder:si}),It({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(se,ge){var Se=se.parser,We=ge[1],vt=vn(ge[0],"url").url;return Se.settings.isTrusted({command:"\\href",url:vt})?{type:"href",mode:Se.mode,href:vt,body:Cr(We)}:Se.formatUnsupportedCmd("\\href")},htmlBuilder:function(se,ge){var Se=Zr(se.body,ge,!1);return hr.makeAnchor(se.href,[],Se,ge)},mathmlBuilder:function(se,ge){var Se=ji(se.body,ge);return Se instanceof zi||(Se=new zi("mrow",[Se])),Se.setAttribute("href",se.href),Se}}),It({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(se,ge){var Se=se.parser,We=vn(ge[0],"url").url;if(!Se.settings.isTrusted({command:"\\url",url:We}))return Se.formatUnsupportedCmd("\\url");for(var vt=[],Yt=0;Yt0&&(We=ur(se.totalheight,ge)-Se,We=Number(We.toFixed(2)));var vt=0;se.width.number>0&&(vt=ur(se.width,ge));var Yt={height:Se+We+"em"};vt>0&&(Yt.width=vt+"em"),We>0&&(Yt.verticalAlign=-We+"em");var Rr=new Ae(se.src,se.alt,Yt);return Rr.height=Se,Rr.depth=We,Rr},mathmlBuilder:function(se,ge){var Se=new oi.MathNode("mglyph",[]);Se.setAttribute("alt",se.alt);var We=ur(se.height,ge),vt=0;if(se.totalheight.number>0&&(vt=ur(se.totalheight,ge)-We,vt=vt.toFixed(2),Se.setAttribute("valign","-"+vt+"em")),Se.setAttribute("height",We+vt+"em"),se.width.number>0){var Yt=ur(se.width,ge);Se.setAttribute("width",Yt+"em")}return Se.setAttribute("src",se.src),Se}}),It({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=vn(ge[0],"size");if(Se.settings.strict){var Yt=We[1]==="m",Rr=vt.value.unit==="mu";Yt?(Rr||Se.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" supports only mu units, "+("not "+vt.value.unit+" units")),Se.mode!=="math"&&Se.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" works only in math mode")):Rr&&Se.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" doesn't support mu units")}return{type:"kern",mode:Se.mode,dimension:vt.value}},htmlBuilder:function(se,ge){return hr.makeGlue(se.dimension,ge)},mathmlBuilder:function(se,ge){var Se=ur(se.dimension,ge);return new oi.SpaceNode(Se)}}),It({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=ge[0];return{type:"lap",mode:Se.mode,alignment:We.slice(5),body:vt}},htmlBuilder:function(se,ge){var Se;se.alignment==="clap"?(Se=hr.makeSpan([],[ui(se.body,ge)]),Se=hr.makeSpan(["inner"],[Se],ge)):Se=hr.makeSpan(["inner"],[ui(se.body,ge)]);var We=hr.makeSpan(["fix"],[]),vt=hr.makeSpan([se.alignment],[Se,We],ge),Yt=hr.makeSpan(["strut"]);return Yt.style.height=vt.height+vt.depth+"em",Yt.style.verticalAlign=-vt.depth+"em",vt.children.unshift(Yt),vt=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:vt}]},ge),hr.makeSpan(["mord"],[vt],ge)},mathmlBuilder:function(se,ge){var Se=new oi.MathNode("mpadded",[dr(se.body,ge)]);if(se.alignment!=="rlap"){var We=se.alignment==="llap"?"-1":"-0.5";Se.setAttribute("lspace",We+"width")}return Se.setAttribute("width","0px"),Se}}),It({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(se,ge){var Se=se.funcName,We=se.parser,vt=We.mode;We.switchMode("math");var Yt=Se==="\\("?"\\)":"$",Rr=We.parseExpression(!1,Yt);return We.expect(Yt),We.switchMode(vt),{type:"styling",mode:We.mode,style:"text",body:Rr}}}),It({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(se,ge){throw new c("Mismatched "+se.funcName)}});var ti=function(se,ge){switch(ge.style.size){case K.DISPLAY.size:return se.display;case K.TEXT.size:return se.text;case K.SCRIPT.size:return se.script;case K.SCRIPTSCRIPT.size:return se.scriptscript;default:return se.text}};It({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(se,ge){var Se=se.parser;return{type:"mathchoice",mode:Se.mode,display:Cr(ge[0]),text:Cr(ge[1]),script:Cr(ge[2]),scriptscript:Cr(ge[3])}},htmlBuilder:function(se,ge){var Se=ti(se,ge),We=Zr(Se,ge,!1);return hr.makeFragment(We)},mathmlBuilder:function(se,ge){var Se=ti(se,ge);return ji(Se,ge)}});var di=function(se,ge,Se,We,vt,Yt,Rr){se=hr.makeSpan([],[se]);var Yr,mn;if(ge){var Wn=ui(ge,We.havingStyle(vt.sup()),We);mn={elem:Wn,kern:Math.max(We.fontMetrics().bigOpSpacing1,We.fontMetrics().bigOpSpacing3-Wn.depth)}}if(Se){var Jn=ui(Se,We.havingStyle(vt.sub()),We);Yr={elem:Jn,kern:Math.max(We.fontMetrics().bigOpSpacing2,We.fontMetrics().bigOpSpacing4-Jn.height)}}var ri;if(mn&&Yr){var Ii=We.fontMetrics().bigOpSpacing5+Yr.elem.height+Yr.elem.depth+Yr.kern+se.depth+Rr;ri=hr.makeVList({positionType:"bottom",positionData:Ii,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:Yr.elem,marginLeft:-Yt+"em"},{type:"kern",size:Yr.kern},{type:"elem",elem:se},{type:"kern",size:mn.kern},{type:"elem",elem:mn.elem,marginLeft:Yt+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else if(Yr){var Yi=se.height-Rr;ri=hr.makeVList({positionType:"top",positionData:Yi,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:Yr.elem,marginLeft:-Yt+"em"},{type:"kern",size:Yr.kern},{type:"elem",elem:se}]},We)}else if(mn){var ma=se.depth+Rr;ri=hr.makeVList({positionType:"bottom",positionData:ma,children:[{type:"elem",elem:se},{type:"kern",size:mn.kern},{type:"elem",elem:mn.elem,marginLeft:Yt+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else return se;return hr.makeSpan(["mop","op-limits"],[ri],We)},Bi=["\\smallint"],yi=function(se,ge){var Se,We,vt=!1,Yt,Rr=en(se,"supsub");Rr?(Se=Rr.sup,We=Rr.sub,Yt=vn(Rr.base,"op"),vt=!0):Yt=vn(se,"op");var Yr=ge.style,mn=!1;Yr.size===K.DISPLAY.size&&Yt.symbol&&!p.contains(Bi,Yt.name)&&(mn=!0);var Wn;if(Yt.symbol){var Jn=mn?"Size2-Regular":"Size1-Regular",ri="";if((Yt.name==="\\oiint"||Yt.name==="\\oiiint")&&(ri=Yt.name.substr(1),Yt.name=ri==="oiint"?"\\iint":"\\iiint"),Wn=hr.makeSymbol(Yt.name,Jn,"math",ge,["mop","op-symbol",mn?"large-op":"small-op"]),ri.length>0){var Ii=Wn.italic,Yi=hr.staticSvg(ri+"Size"+(mn?"2":"1"),ge);Wn=hr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Wn,shift:0},{type:"elem",elem:Yi,shift:mn?.08:0}]},ge),Yt.name="\\"+ri,Wn.classes.unshift("mop"),Wn.italic=Ii}}else if(Yt.body){var ma=Zr(Yt.body,ge,!0);ma.length===1&&ma[0]instanceof Me?(Wn=ma[0],Wn.classes[0]="mop"):Wn=hr.makeSpan(["mop"],hr.tryCombineChars(ma),ge)}else{for(var Ta=[],uo=1;uo0){for(var mn=Yt.body.map(function(Ii){var Yi=Ii.text;return typeof Yi=="string"?{type:"textord",mode:Ii.mode,text:Yi}:Ii}),Wn=Zr(mn,ge.withFont("mathrm"),!0),Jn=0;Jn=0?Yr.setAttribute("height","+"+vt+"em"):(Yr.setAttribute("height",vt+"em"),Yr.setAttribute("depth","+"+-vt+"em")),Yr.setAttribute("voffset",vt+"em"),Yr}});function fa(At,se,ge){for(var Se=Zr(At,se,!1),We=se.sizeMultiplier/ge.sizeMultiplier,vt=0;vtSe.height+Se.depth+Rr&&(Rr=(Rr+Ii-Se.height-Se.depth)/2);var Yi=Wn.height-Se.height-Rr-Jn;Se.style.paddingLeft=ri+"em";var ma=hr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Se,wrapperClasses:["svg-align"]},{type:"kern",size:-(Se.height+Yi)},{type:"elem",elem:Wn},{type:"kern",size:Jn}]},ge);if(se.index){var Ta=ge.havingStyle(K.SCRIPTSCRIPT),uo=ui(se.index,Ta,ge),bo=.6*(ma.height-ma.depth),co=hr.makeVList({positionType:"shift",positionData:-bo,children:[{type:"elem",elem:uo}]},ge),Zo=hr.makeSpan(["root"],[co]);return hr.makeSpan(["mord","sqrt"],[Zo,ma],ge)}else return hr.makeSpan(["mord","sqrt"],[ma],ge)},mathmlBuilder:function(se,ge){var Se=se.body,We=se.index;return We?new oi.MathNode("mroot",[dr(Se,ge),dr(We,ge)]):new oi.MathNode("msqrt",[dr(Se,ge)])}});var Wi={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};It({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(se,ge){var Se=se.breakOnTokenText,We=se.funcName,vt=se.parser,Yt=vt.parseExpression(!0,Se),Rr=We.slice(1,We.length-5);return{type:"styling",mode:vt.mode,style:Rr,body:Yt}},htmlBuilder:function(se,ge){var Se=Wi[se.style],We=ge.havingStyle(Se).withFont("");return fa(se.body,We,ge)},mathmlBuilder:function(se,ge){var Se=Wi[se.style],We=ge.havingStyle(Se),vt=ki(se.body,We),Yt=new oi.MathNode("mstyle",vt),Rr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Yr=Rr[se.style];return Yt.setAttribute("scriptlevel",Yr[0]),Yt.setAttribute("displaystyle",Yr[1]),Yt}});var Gi=function(se,ge){var Se=se.base;if(Se)if(Se.type==="op"){var We=Se.limits&&(ge.style.size===K.DISPLAY.size||Se.alwaysHandleSupSub);return We?yi:null}else if(Se.type==="operatorname"){var vt=Se.alwaysHandleSupSub&&(ge.style.size===K.DISPLAY.size||Se.limits);return vt?Qi:null}else{if(Se.type==="accent")return p.isCharacterBox(Se.base)?rn:null;if(Se.type==="horizBrace"){var Yt=!se.sub;return Yt===Se.isOver?Kn:null}else return null}else return null};or({type:"supsub",htmlBuilder:function(se,ge){var Se=Gi(se,ge);if(Se)return Se(se,ge);var We=se.base,vt=se.sup,Yt=se.sub,Rr=ui(We,ge),Yr,mn,Wn=ge.fontMetrics(),Jn=0,ri=0,Ii=We&&p.isCharacterBox(We);if(vt){var Yi=ge.havingStyle(ge.style.sup());Yr=ui(vt,Yi,ge),Ii||(Jn=Rr.height-Yi.fontMetrics().supDrop*Yi.sizeMultiplier/ge.sizeMultiplier)}if(Yt){var ma=ge.havingStyle(ge.style.sub());mn=ui(Yt,ma,ge),Ii||(ri=Rr.depth+ma.fontMetrics().subDrop*ma.sizeMultiplier/ge.sizeMultiplier)}var Ta;ge.style===K.DISPLAY?Ta=Wn.sup1:ge.style.cramped?Ta=Wn.sup3:Ta=Wn.sup2;var uo=ge.sizeMultiplier,bo=.5/Wn.ptPerEm/uo+"em",co=null;if(mn){var Zo=se.base&&se.base.type==="op"&&se.base.name&&(se.base.name==="\\oiint"||se.base.name==="\\oiiint");(Rr instanceof Me||Zo)&&(co=-Rr.italic+"em")}var Oo;if(Yr&&mn){Jn=Math.max(Jn,Ta,Yr.depth+.25*Wn.xHeight),ri=Math.max(ri,Wn.sub2);var Do=Wn.defaultRuleThickness,Ha=4*Do;if(Jn-Yr.depth-(mn.height-ri)0&&(Jn+=Ya,ri-=Ya)}var ps=[{type:"elem",elem:mn,shift:ri,marginRight:bo,marginLeft:co},{type:"elem",elem:Yr,shift:-Jn,marginRight:bo}];Oo=hr.makeVList({positionType:"individualShift",children:ps},ge)}else if(mn){ri=Math.max(ri,Wn.sub1,mn.height-.8*Wn.xHeight);var ts=[{type:"elem",elem:mn,marginLeft:co,marginRight:bo}];Oo=hr.makeVList({positionType:"shift",positionData:ri,children:ts},ge)}else if(Yr)Jn=Math.max(Jn,Ta,Yr.depth+.25*Wn.xHeight),Oo=hr.makeVList({positionType:"shift",positionData:-Jn,children:[{type:"elem",elem:Yr,marginRight:bo}]},ge);else throw new Error("supsub must have either sup or sub.");var $o=Fn(Rr,"right")||"mord";return hr.makeSpan([$o],[Rr,hr.makeSpan(["msupsub"],[Oo])],ge)},mathmlBuilder:function(se,ge){var Se=!1,We,vt,Yt=en(se.base,"horizBrace");Yt&&(vt=!!se.sup,vt===Yt.isOver&&(Se=!0,We=Yt.isOver)),se.base&&(se.base.type==="op"||se.base.type==="operatorname")&&(se.base.parentIsSupSub=!0);var Rr=[dr(se.base,ge)];se.sub&&Rr.push(dr(se.sub,ge)),se.sup&&Rr.push(dr(se.sup,ge));var Yr;if(Se)Yr=We?"mover":"munder";else if(se.sub)if(se.sup){var Jn=se.base;Jn&&Jn.type==="op"&&Jn.limits&&ge.style===K.DISPLAY||Jn&&Jn.type==="operatorname"&&Jn.alwaysHandleSupSub&&(ge.style===K.DISPLAY||Jn.limits)?Yr="munderover":Yr="msubsup"}else{var Wn=se.base;Wn&&Wn.type==="op"&&Wn.limits&&(ge.style===K.DISPLAY||Wn.alwaysHandleSupSub)||Wn&&Wn.type==="operatorname"&&Wn.alwaysHandleSupSub&&(Wn.limits||ge.style===K.DISPLAY)?Yr="munder":Yr="msub"}else{var mn=se.base;mn&&mn.type==="op"&&mn.limits&&(ge.style===K.DISPLAY||mn.alwaysHandleSupSub)||mn&&mn.type==="operatorname"&&mn.alwaysHandleSupSub&&(mn.limits||ge.style===K.DISPLAY)?Yr="mover":Yr="msup"}var ri=new oi.MathNode(Yr,Rr);return ri}}),or({type:"atom",htmlBuilder:function(se,ge){return hr.mathsym(se.text,se.mode,ge,["m"+se.family])},mathmlBuilder:function(se,ge){var Se=new oi.MathNode("mo",[hn(se.text,se.mode)]);if(se.family==="bin"){var We=Hi(se,ge);We==="bold-italic"&&Se.setAttribute("mathvariant",We)}else se.family==="punct"?Se.setAttribute("separator","true"):(se.family==="open"||se.family==="close")&&Se.setAttribute("stretchy","false");return Se}});var ca={mi:"italic",mn:"normal",mtext:"normal"};or({type:"mathord",htmlBuilder:function(se,ge){return hr.makeOrd(se,ge,"mathord")},mathmlBuilder:function(se,ge){var Se=new oi.MathNode("mi",[hn(se.text,se.mode,ge)]),We=Hi(se,ge)||"italic";return We!==ca[Se.type]&&Se.setAttribute("mathvariant",We),Se}}),or({type:"textord",htmlBuilder:function(se,ge){return hr.makeOrd(se,ge,"textord")},mathmlBuilder:function(se,ge){var Se=hn(se.text,se.mode,ge),We=Hi(se,ge)||"normal",vt;return se.mode==="text"?vt=new oi.MathNode("mtext",[Se]):/[0-9]/.test(se.text)?vt=new oi.MathNode("mn",[Se]):se.text==="\\prime"?vt=new oi.MathNode("mo",[Se]):vt=new oi.MathNode("mi",[Se]),We!==ca[vt.type]&&vt.setAttribute("mathvariant",We),vt}});var ya={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Xa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};or({type:"spacing",htmlBuilder:function(se,ge){if(Xa.hasOwnProperty(se.text)){var Se=Xa[se.text].className||"";if(se.mode==="text"){var We=hr.makeOrd(se,ge,"textord");return We.classes.push(Se),We}else return hr.makeSpan(["mspace",Se],[hr.mathsym(se.text,se.mode,ge)],ge)}else{if(ya.hasOwnProperty(se.text))return hr.makeSpan(["mspace",ya[se.text]],[],ge);throw new c('Unknown type of space "'+se.text+'"')}},mathmlBuilder:function(se,ge){var Se;if(Xa.hasOwnProperty(se.text))Se=new oi.MathNode("mtext",[new oi.TextNode("\xA0")]);else{if(ya.hasOwnProperty(se.text))return new oi.MathNode("mspace");throw new c('Unknown type of space "'+se.text+'"')}return Se}});var _a=function(){var se=new oi.MathNode("mtd",[]);return se.setAttribute("width","50%"),se};or({type:"tag",mathmlBuilder:function(se,ge){var Se=new oi.MathNode("mtable",[new oi.MathNode("mtr",[_a(),new oi.MathNode("mtd",[ji(se.body,ge)]),_a(),new oi.MathNode("mtd",[ji(se.tag,ge)])])]);return Se.setAttribute("width","100%"),Se}});var qa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ro={"\\textbf":"textbf","\\textmd":"textmd"},Uo={"\\textit":"textit","\\textup":"textup"},zo=function(se,ge){var Se=se.font;return Se?qa[Se]?ge.withTextFontFamily(qa[Se]):ro[Se]?ge.withTextFontWeight(ro[Se]):ge.withTextFontShape(Uo[Se]):ge};It({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(se,ge){var Se=se.parser,We=se.funcName,vt=ge[0];return{type:"text",mode:Se.mode,body:Cr(vt),font:We}},htmlBuilder:function(se,ge){var Se=zo(se,ge),We=Zr(se.body,Se,!0);return hr.makeSpan(["mord","text"],hr.tryCombineChars(We),Se)},mathmlBuilder:function(se,ge){var Se=zo(se,ge);return ji(se.body,Se)}}),It({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(se,ge){var Se=se.parser;return{type:"underline",mode:Se.mode,body:ge[0]}},htmlBuilder:function(se,ge){var Se=ui(se.body,ge),We=hr.makeLineSpan("underline-line",ge),vt=ge.fontMetrics().defaultRuleThickness,Yt=hr.makeVList({positionType:"top",positionData:Se.height,children:[{type:"kern",size:vt},{type:"elem",elem:We},{type:"kern",size:3*vt},{type:"elem",elem:Se}]},ge);return hr.makeSpan(["mord","underline"],[Yt],ge)},mathmlBuilder:function(se,ge){var Se=new oi.MathNode("mo",[new oi.TextNode("\u203E")]);Se.setAttribute("stretchy","true");var We=new oi.MathNode("munder",[dr(se.body,ge),Se]);return We.setAttribute("accentunder","true"),We}}),It({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(se,ge,Se){throw new c("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(se,ge){for(var Se=hs(se),We=[],vt=ge.havingStyle(ge.style.text()),Yt=0;Yt0&&(this.undefStack[this.undefStack.length-1][Se]=We)}else{var Rr=this.undefStack[this.undefStack.length-1];Rr&&!Rr.hasOwnProperty(Se)&&(Rr[Se]=this.current[Se])}this.current[Se]=We},At}(),jo={},Qo=jo;function on(At,se){jo[At]=se}on("\\@firstoftwo",function(At){var se=At.consumeArgs(2);return{tokens:se[0],numArgs:0}}),on("\\@secondoftwo",function(At){var se=At.consumeArgs(2);return{tokens:se[1],numArgs:0}}),on("\\@ifnextchar",function(At){var se=At.consumeArgs(3),ge=At.future();return se[0].length===1&&se[0][0].text===ge.text?{tokens:se[1],numArgs:0}:{tokens:se[2],numArgs:0}}),on("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),on("\\TextOrMath",function(At){var se=At.consumeArgs(2);return At.mode==="text"?{tokens:se[0],numArgs:0}:{tokens:se[1],numArgs:0}});var Fi={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};on("\\char",function(At){var se=At.popToken(),ge,Se="";if(se.text==="'")ge=8,se=At.popToken();else if(se.text==='"')ge=16,se=At.popToken();else if(se.text==="`")if(se=At.popToken(),se.text[0]==="\\")Se=se.text.charCodeAt(1);else{if(se.text==="EOF")throw new c("\\char` missing argument");Se=se.text.charCodeAt(0)}else ge=10;if(ge){if(Se=Fi[se.text],Se==null||Se>=ge)throw new c("Invalid base-"+ge+" digit "+se.text);for(var We;(We=Fi[At.future().text])!=null&&We":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};on("\\dots",function(At){var se="\\dotso",ge=At.expandAfterFuture().text;return ge in cs?se=cs[ge]:ge.substr(0,4)==="\\not"?se="\\dotsb":ge in Be.math&&(p.contains(["bin","rel"],Be.math[ge].group)&&(se="\\dotsb")),se});var Vo={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};on("\\dotso",function(At){var se=At.future().text;return se in Vo?"\\ldots\\,":"\\ldots"}),on("\\dotsc",function(At){var se=At.future().text;return se in Vo&&se!==","?"\\ldots\\,":"\\ldots"}),on("\\cdots",function(At){var se=At.future().text;return se in Vo?"\\@cdots\\,":"\\@cdots"}),on("\\dotsb","\\cdots"),on("\\dotsm","\\cdots"),on("\\dotsi","\\!\\cdots"),on("\\dotsx","\\ldots\\,"),on("\\DOTSI","\\relax"),on("\\DOTSB","\\relax"),on("\\DOTSX","\\relax"),on("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),on("\\,","\\tmspace+{3mu}{.1667em}"),on("\\thinspace","\\,"),on("\\>","\\mskip{4mu}"),on("\\:","\\tmspace+{4mu}{.2222em}"),on("\\medspace","\\:"),on("\\;","\\tmspace+{5mu}{.2777em}"),on("\\thickspace","\\;"),on("\\!","\\tmspace-{3mu}{.1667em}"),on("\\negthinspace","\\!"),on("\\negmedspace","\\tmspace-{4mu}{.2222em}"),on("\\negthickspace","\\tmspace-{5mu}{.277em}"),on("\\enspace","\\kern.5em "),on("\\enskip","\\hskip.5em\\relax"),on("\\quad","\\hskip1em\\relax"),on("\\qquad","\\hskip2em\\relax"),on("\\tag","\\@ifstar\\tag@literal\\tag@paren"),on("\\tag@paren","\\tag@literal{({#1})}"),on("\\tag@literal",function(At){if(At.macros.get("\\df@tag"))throw new c("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),on("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),on("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),on("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),on("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),on("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),on("\\\\","\\newline"),on("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var vs=it["Main-Regular"]["T".charCodeAt(0)][1]-.7*it["Main-Regular"]["A".charCodeAt(0)][1]+"em";on("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+vs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),on("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+vs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),on("\\hspace","\\@ifstar\\@hspacer\\@hspace"),on("\\@hspace","\\hskip #1\\relax"),on("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),on("\\ordinarycolon",":"),on("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),on("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),on("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),on("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),on("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),on("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),on("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),on("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),on("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),on("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),on("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),on("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),on("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),on("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),on("\u2237","\\dblcolon"),on("\u2239","\\eqcolon"),on("\u2254","\\coloneqq"),on("\u2255","\\eqqcolon"),on("\u2A74","\\Coloneqq"),on("\\ratio","\\vcentcolon"),on("\\coloncolon","\\dblcolon"),on("\\colonequals","\\coloneqq"),on("\\coloncolonequals","\\Coloneqq"),on("\\equalscolon","\\eqqcolon"),on("\\equalscoloncolon","\\Eqqcolon"),on("\\colonminus","\\coloneq"),on("\\coloncolonminus","\\Coloneq"),on("\\minuscolon","\\eqcolon"),on("\\minuscoloncolon","\\Eqcolon"),on("\\coloncolonapprox","\\Colonapprox"),on("\\coloncolonsim","\\Colonsim"),on("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),on("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),on("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),on("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),on("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),on("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),on("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),on("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),on("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),on("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),on("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),on("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),on("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),on("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),on("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),on("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),on("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),on("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),on("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),on("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),on("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),on("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),on("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),on("\u27E6","\\llbracket"),on("\u27E7","\\rrbracket"),on("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),on("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),on("\u2983","\\lBrace"),on("\u2984","\\rBrace"),on("\\darr","\\downarrow"),on("\\dArr","\\Downarrow"),on("\\Darr","\\Downarrow"),on("\\lang","\\langle"),on("\\rang","\\rangle"),on("\\uarr","\\uparrow"),on("\\uArr","\\Uparrow"),on("\\Uarr","\\Uparrow"),on("\\N","\\mathbb{N}"),on("\\R","\\mathbb{R}"),on("\\Z","\\mathbb{Z}"),on("\\alef","\\aleph"),on("\\alefsym","\\aleph"),on("\\Alpha","\\mathrm{A}"),on("\\Beta","\\mathrm{B}"),on("\\bull","\\bullet"),on("\\Chi","\\mathrm{X}"),on("\\clubs","\\clubsuit"),on("\\cnums","\\mathbb{C}"),on("\\Complex","\\mathbb{C}"),on("\\Dagger","\\ddagger"),on("\\diamonds","\\diamondsuit"),on("\\empty","\\emptyset"),on("\\Epsilon","\\mathrm{E}"),on("\\Eta","\\mathrm{H}"),on("\\exist","\\exists"),on("\\harr","\\leftrightarrow"),on("\\hArr","\\Leftrightarrow"),on("\\Harr","\\Leftrightarrow"),on("\\hearts","\\heartsuit"),on("\\image","\\Im"),on("\\infin","\\infty"),on("\\Iota","\\mathrm{I}"),on("\\isin","\\in"),on("\\Kappa","\\mathrm{K}"),on("\\larr","\\leftarrow"),on("\\lArr","\\Leftarrow"),on("\\Larr","\\Leftarrow"),on("\\lrarr","\\leftrightarrow"),on("\\lrArr","\\Leftrightarrow"),on("\\Lrarr","\\Leftrightarrow"),on("\\Mu","\\mathrm{M}"),on("\\natnums","\\mathbb{N}"),on("\\Nu","\\mathrm{N}"),on("\\Omicron","\\mathrm{O}"),on("\\plusmn","\\pm"),on("\\rarr","\\rightarrow"),on("\\rArr","\\Rightarrow"),on("\\Rarr","\\Rightarrow"),on("\\real","\\Re"),on("\\reals","\\mathbb{R}"),on("\\Reals","\\mathbb{R}"),on("\\Rho","\\mathrm{P}"),on("\\sdot","\\cdot"),on("\\sect","\\S"),on("\\spades","\\spadesuit"),on("\\sub","\\subset"),on("\\sube","\\subseteq"),on("\\supe","\\supseteq"),on("\\Tau","\\mathrm{T}"),on("\\thetasym","\\vartheta"),on("\\weierp","\\wp"),on("\\Zeta","\\mathrm{Z}"),on("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),on("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),on("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),on("\\blue","\\textcolor{##6495ed}{#1}"),on("\\orange","\\textcolor{##ffa500}{#1}"),on("\\pink","\\textcolor{##ff00af}{#1}"),on("\\red","\\textcolor{##df0030}{#1}"),on("\\green","\\textcolor{##28ae7b}{#1}"),on("\\gray","\\textcolor{gray}{#1}"),on("\\purple","\\textcolor{##9d38bd}{#1}"),on("\\blueA","\\textcolor{##ccfaff}{#1}"),on("\\blueB","\\textcolor{##80f6ff}{#1}"),on("\\blueC","\\textcolor{##63d9ea}{#1}"),on("\\blueD","\\textcolor{##11accd}{#1}"),on("\\blueE","\\textcolor{##0c7f99}{#1}"),on("\\tealA","\\textcolor{##94fff5}{#1}"),on("\\tealB","\\textcolor{##26edd5}{#1}"),on("\\tealC","\\textcolor{##01d1c1}{#1}"),on("\\tealD","\\textcolor{##01a995}{#1}"),on("\\tealE","\\textcolor{##208170}{#1}"),on("\\greenA","\\textcolor{##b6ffb0}{#1}"),on("\\greenB","\\textcolor{##8af281}{#1}"),on("\\greenC","\\textcolor{##74cf70}{#1}"),on("\\greenD","\\textcolor{##1fab54}{#1}"),on("\\greenE","\\textcolor{##0d923f}{#1}"),on("\\goldA","\\textcolor{##ffd0a9}{#1}"),on("\\goldB","\\textcolor{##ffbb71}{#1}"),on("\\goldC","\\textcolor{##ff9c39}{#1}"),on("\\goldD","\\textcolor{##e07d10}{#1}"),on("\\goldE","\\textcolor{##a75a05}{#1}"),on("\\redA","\\textcolor{##fca9a9}{#1}"),on("\\redB","\\textcolor{##ff8482}{#1}"),on("\\redC","\\textcolor{##f9685d}{#1}"),on("\\redD","\\textcolor{##e84d39}{#1}"),on("\\redE","\\textcolor{##bc2612}{#1}"),on("\\maroonA","\\textcolor{##ffbde0}{#1}"),on("\\maroonB","\\textcolor{##ff92c6}{#1}"),on("\\maroonC","\\textcolor{##ed5fa6}{#1}"),on("\\maroonD","\\textcolor{##ca337c}{#1}"),on("\\maroonE","\\textcolor{##9e034e}{#1}"),on("\\purpleA","\\textcolor{##ddd7ff}{#1}"),on("\\purpleB","\\textcolor{##c6b9fc}{#1}"),on("\\purpleC","\\textcolor{##aa87ff}{#1}"),on("\\purpleD","\\textcolor{##7854ab}{#1}"),on("\\purpleE","\\textcolor{##543b78}{#1}"),on("\\mintA","\\textcolor{##f5f9e8}{#1}"),on("\\mintB","\\textcolor{##edf2df}{#1}"),on("\\mintC","\\textcolor{##e0e5cc}{#1}"),on("\\grayA","\\textcolor{##f6f7f7}{#1}"),on("\\grayB","\\textcolor{##f0f1f2}{#1}"),on("\\grayC","\\textcolor{##e3e5e6}{#1}"),on("\\grayD","\\textcolor{##d6d8da}{#1}"),on("\\grayE","\\textcolor{##babec2}{#1}"),on("\\grayF","\\textcolor{##888d93}{#1}"),on("\\grayG","\\textcolor{##626569}{#1}"),on("\\grayH","\\textcolor{##3b3e40}{#1}"),on("\\grayI","\\textcolor{##21242c}{#1}"),on("\\kaBlue","\\textcolor{##314453}{#1}"),on("\\kaGreen","\\textcolor{##71B307}{#1}");var Ss={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ns=function(){function At(ge,Se,We){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Se,this.expansionCount=0,this.feed(ge),this.macros=new us(Qo,Se.macros),this.mode=We,this.stack=[]}var se=At.prototype;return se.feed=function(Se){this.lexer=new No(Se,this.settings)},se.switchMode=function(Se){this.mode=Se},se.beginGroup=function(){this.macros.beginGroup()},se.endGroup=function(){this.macros.endGroup()},se.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},se.popToken=function(){return this.future(),this.stack.pop()},se.pushToken=function(Se){this.stack.push(Se)},se.pushTokens=function(Se){var We;(We=this.stack).push.apply(We,Se)},se.consumeSpaces=function(){for(;;){var Se=this.future();if(Se.text===" ")this.stack.pop();else break}},se.consumeArgs=function(Se){for(var We=[],vt=0;vtthis.settings.maxExpand)throw new c("Too many expansions: infinite loop or need to increase maxExpand setting");var Yt=vt.tokens;if(vt.numArgs){var Rr=this.consumeArgs(vt.numArgs);Yt=Yt.slice();for(var Yr=Yt.length-1;Yr>=0;--Yr){var mn=Yt[Yr];if(mn.text==="#"){if(Yr===0)throw new c("Incomplete placeholder at end of macro body",mn);if(mn=Yt[--Yr],mn.text==="#")Yt.splice(Yr+1,1);else if(/^[1-9]$/.test(mn.text)){var Wn;(Wn=Yt).splice.apply(Wn,[Yr,2].concat(Rr[+mn.text-1]))}else throw new c("Not a valid argument number",mn)}}}return this.pushTokens(Yt),Yt},se.expandAfterFuture=function(){return this.expandOnce(),this.future()},se.expandNextToken=function(){for(;;){var Se=this.expandOnce();if(Se instanceof m)if(Se.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},se.expandMacro=function(Se){if(!this.macros.get(Se))return;var We=[],vt=this.stack.length;for(this.pushToken(new m(Se));this.stack.length>vt;){var Yt=this.expandOnce();Yt instanceof m&&We.push(this.stack.pop())}return We},se.expandMacroAsText=function(Se){var We=this.expandMacro(Se);return We&&We.map(function(vt){return vt.text}).join("")},se._getExpansion=function(Se){var We=this.macros.get(Se);if(We==null)return We;var vt=typeof We=="function"?We(this):We;if(typeof vt=="string"){var Yt=0;if(vt.indexOf("#")!==-1)for(var Rr=vt.replace(/##/g,"");Rr.indexOf("#"+(Yt+1))!==-1;)++Yt;for(var Yr=new No(vt,this.settings),mn=[],Wn=Yr.lex();Wn.text!=="EOF";)mn.push(Wn),Wn=Yr.lex();mn.reverse();var Jn={tokens:mn,numArgs:Yt};return Jn}return vt},se.isDefined=function(Se){return this.macros.has(Se)||Mo.hasOwnProperty(Se)||Be.math.hasOwnProperty(Se)||Be.text.hasOwnProperty(Se)||Ss.hasOwnProperty(Se)},At}(),es={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},fs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ys=function(){function At(ge,Se){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ns(ge,Se,this.mode),this.settings=Se,this.leftrightDepth=0}var se=At.prototype;return se.expect=function(Se,We){if(We===void 0&&(We=!0),this.fetch().text!==Se)throw new c("Expected '"+Se+"', got '"+this.fetch().text+"'",this.fetch());We&&this.consume()},se.consume=function(){this.nextToken=null},se.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},se.switchMode=function(Se){this.mode=Se,this.gullet.switchMode(Se)},se.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Se=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Se},se.parseExpression=function(Se,We){for(var vt=[];;){this.mode==="math"&&this.consumeSpaces();var Yt=this.fetch();if(At.endOfExpression.indexOf(Yt.text)!==-1)break;if(We&&Yt.text===We)break;if(Se&&Mo[Yt.text]&&Mo[Yt.text].infix)break;var Rr=this.parseAtom(We);if(!Rr)break;vt.push(Rr)}return this.mode==="text"&&this.formLigatures(vt),this.handleInfixNodes(vt)},se.handleInfixNodes=function(Se){for(var We=-1,vt,Yt=0;Yt0&&!Jn||mn===0&&!Jn&&this.mode==="math",Ii=this.parseGroupOfType("argument to '"+Se+"'",Wn,Jn,Yt,ri);if(!Ii){if(Jn){Yr.push(null);continue}throw new c("Expected group after '"+Se+"'",this.fetch())}(Jn?Yr:Rr).push(Ii)}return{args:Rr,optArgs:Yr}},se.parseGroupOfType=function(Se,We,vt,Yt,Rr){switch(We){case"color":return Rr&&this.consumeSpaces(),this.parseColorGroup(vt);case"size":return Rr&&this.consumeSpaces(),this.parseSizeGroup(vt);case"url":return this.parseUrlGroup(vt,Rr);case"math":case"text":return this.parseGroup(Se,vt,Yt,void 0,We,Rr);case"hbox":{var Yr=this.parseGroup(Se,vt,Yt,void 0,"text",Rr);if(!Yr)return Yr;var mn={type:"styling",mode:Yr.mode,body:[Yr],style:"text"};return mn}case"raw":{if(Rr&&this.consumeSpaces(),vt&&this.fetch().text==="{")return null;var Wn=this.parseStringGroup("raw",vt,!0);if(Wn)return{type:"raw",mode:"text",string:Wn.text};throw new c("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Se,vt,Yt,void 0,void 0,Rr);default:throw new c("Unknown group type as "+Se,this.fetch())}},se.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},se.parseStringGroup=function(Se,We,vt){var Yt=We?"[":"{",Rr=We?"]":"}",Yr=this.fetch();if(Yr.text!==Yt){if(We)return null;if(vt&&Yr.text!=="EOF"&&/[^{}[\]]/.test(Yr.text))return this.consume(),Yr}var mn=this.mode;this.mode="text",this.expect(Yt);for(var Wn="",Jn=this.fetch(),ri=0,Ii=Jn,Yi;(Yi=this.fetch()).text!==Rr||vt&&ri>0;){switch(Yi.text){case"EOF":throw new c("Unexpected end of input in "+Se,Jn.range(Ii,Wn));case Yt:ri++;break;case Rr:ri--;break}Ii=Yi,Wn+=Ii.text,this.consume()}return this.expect(Rr),this.mode=mn,Jn.range(Ii,Wn)},se.parseRegexGroup=function(Se,We){var vt=this.mode;this.mode="text";for(var Yt=this.fetch(),Rr=Yt,Yr="",mn;(mn=this.fetch()).text!=="EOF"&&Se.test(Yr+mn.text);)Rr=mn,Yr+=Rr.text,this.consume();if(Yr==="")throw new c("Invalid "+We+": '"+Yt.text+"'",Yt);return this.mode=vt,Yt.range(Rr,Yr)},se.parseColorGroup=function(Se){var We=this.parseStringGroup("color",Se);if(!We)return null;var vt=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(We.text);if(!vt)throw new c("Invalid color: '"+We.text+"'",We);var Yt=vt[0];return/^[0-9a-f]{6}$/i.test(Yt)&&(Yt="#"+Yt),{type:"color-token",mode:this.mode,color:Yt}},se.parseSizeGroup=function(Se){var We,vt=!1;if(!Se&&this.fetch().text!=="{"?We=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):We=this.parseStringGroup("size",Se),!We)return null;!Se&&We.text.length===0&&(We.text="0pt",vt=!0);var Yt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(We.text);if(!Yt)throw new c("Invalid size: '"+We.text+"'",We);var Rr={number:+(Yt[1]+Yt[2]),unit:Yt[3]};if(!xr(Rr))throw new c("Invalid unit: '"+Rr.unit+"'",We);return{type:"size",mode:this.mode,value:Rr,isBlank:vt}},se.parseUrlGroup=function(Se,We){this.gullet.lexer.setCatcode("%",13);var vt=this.parseStringGroup("url",Se,!0);if(this.gullet.lexer.setCatcode("%",14),!vt)return null;var Yt=vt.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Yt}},se.parseGroup=function(Se,We,vt,Yt,Rr,Yr){var mn=this.mode;Rr&&this.switchMode(Rr),Yr&&this.consumeSpaces();var Wn=this.fetch(),Jn=Wn.text,ri;if(We?Jn==="[":Jn==="{"||Jn==="\\begingroup"){this.consume();var Ii=At.endOfGroup[Jn];this.gullet.beginGroup();var Yi=this.parseExpression(!1,Ii),ma=this.fetch();this.expect(Ii),this.gullet.endGroup(),ri={type:"ordgroup",mode:this.mode,loc:S.range(Wn,ma),body:Yi,semisimple:Jn==="\\begingroup"||void 0}}else if(We)ri=null;else if(ri=this.parseFunction(Yt,Se,vt)||this.parseSymbol(),ri==null&&Jn[0]==="\\"&&!Ss.hasOwnProperty(Jn)){if(this.settings.throwOnError)throw new c("Undefined control sequence: "+Jn,Wn);ri=this.formatUnsupportedCmd(Jn),this.consume()}return Rr&&this.switchMode(mn),ri},se.formLigatures=function(Se){for(var We=Se.length-1,vt=0;vt=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+We[0]+'" used in math mode',Se);var mn=Be[this.mode][We].group,Wn=S.range(Se),Jn;if(Tt.hasOwnProperty(mn)){var ri=mn;Jn={type:"atom",mode:this.mode,family:ri,loc:Wn,text:We}}else Jn={type:mn,mode:this.mode,loc:Wn,text:We};Yr=Jn}else if(We.charCodeAt(0)>=128)this.settings.strict&&(Y(We.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+We[0]+'" used in math mode',Se):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+We[0]+'"'+(" ("+We.charCodeAt(0)+")"),Se)),Yr={type:"textord",mode:"text",loc:S.range(Se),text:We};else return null;if(this.consume(),Rr)for(var Ii=0;Ii-u}function g(V,z){var Y=z?V.textFill:V.fill;return Y!=null&&Y!==a}function A(V,z){var Y=z?V.textStroke:V.stroke;return Y!=null&&Y!==a}function y(V,z){z&&E(V,"transform","matrix("+r.call(z,",")+")")}function E(V,z,Y){(!Y||Y.type!=="linear"&&Y.type!=="radial")&&V.setAttribute(z,Y)}function C(V,z,Y){V.setAttributeNS("http://www.w3.org/1999/xlink",z,Y)}function w(V,z,Y,ee){if(g(z,Y)){var fe=Y?z.textFill:z.fill;fe=fe==="transparent"?a:fe,E(V,"fill",fe),E(V,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else E(V,"fill",a);if(A(z,Y)){var ie=Y?z.textStroke:z.stroke;ie=ie==="transparent"?a:ie,E(V,"stroke",ie);var we=Y?z.textStrokeWidth:z.lineWidth,Ce=!Y&&z.strokeNoScale?ee.getLineScale():1;E(V,"stroke-width",we/Ce),E(V,"paint-order",Y?"stroke":"fill"),E(V,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var Le=z.lineDash;Le?(E(V,"stroke-dasharray",z.lineDash.join(",")),E(V,"stroke-dashoffset",n(z.lineDashOffset||0))):E(V,"stroke-dasharray",""),z.lineCap&&E(V,"stroke-linecap",z.lineCap),z.lineJoin&&E(V,"stroke-linejoin",z.lineJoin),z.miterLimit&&E(V,"stroke-miterlimit",z.miterLimit)}else E(V,"stroke",a)}function b(V){for(var z=[],Y=V.data,ee=V.len(),fe=0;fe=i:-me>=i),J=me>0?me%i:me%i+i,Ae=!1;X?Ae=!0:p(G)?Ae=!1:Ae=J>=t===!!re;var he=h(Le+ce*s(Q)),Me=h(He+Pe*e(Q));X&&(re?me=i-1e-4:me=-i+1e-4,Ae=!0,fe===9&&z.push("M",he,Me));var Ie=h(Le+ce*s(Q+me)),oe=h(He+Pe*e(Q+me));z.push("A",h(ce),h(Pe),n(Je*l),+Ae,+re,Ie,oe);break;case o.Z:we="Z";break;case o.R:var Ie=h(Y[fe++]),oe=h(Y[fe++]),pe=h(Y[fe++]),Oe=h(Y[fe++]);z.push("M",Ie,oe,"L",Ie+pe,oe,"L",Ie+pe,oe+Oe,"L",Ie,oe+Oe,"L",Ie,oe);break}we&&z.push(we);for(var Ye=0;Yeet){for(;Ye0?"-".concat(A):A,L=!!E,D=c()(y,I,"".concat(I,"-").concat(p),(t={},v()(t,"".concat(I,"-with-text"),L),v()(t,"".concat(I,"-with-text").concat(_),L),v()(t,"".concat(I,"-dashed"),!!C),v()(t,"".concat(I,"-plain"),!!w),v()(t,"".concat(I,"-rtl"),l==="rtl"),t));return S.createElement("div",x()({className:D},b,{role:"separator"}),E&&S.createElement("span",{className:"".concat(I,"-inner-text")},E))})};P.a=a},PD8m:function(U,P){U.exports={name:"memoryStorage",read:O,write:x,each:T,remove:v,clearAll:S};var d={};function O(m){return d[m]}function x(m,f){d[m]=f}function T(m){for(var f in d)d.hasOwnProperty(f)&&m(d[f],f)}function v(m){delete d[m]}function S(m){d={}}},PKem:function(U,P,d){"use strict";d.d(P,"a",function(){return g});var O=d("RIqP"),x=d.n(O),T=d("lSNA"),v=d.n(T),S=d("pVnL"),m=d.n(S),f=d("lwsE"),c=d.n(f),o=d("W8MJ"),r=d.n(o),a=d("7W2i"),n=d.n(a),e=d("LQ03"),s=d.n(e),t=d("q1tI"),i=d.n(t),l=d("TSYQ"),u=d.n(l),h=d("H84U"),p=function(_,L){var D={};for(var N in _)Object.prototype.hasOwnProperty.call(_,N)&&L.indexOf(N)<0&&(D[N]=_[N]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,N=Object.getOwnPropertySymbols(_);R0),v()(B,"".concat(F,"-rtl"),M==="rtl"),B),K);return t.createElement(g.Provider,{value:{siderHook:N.getSiderHook()}},t.createElement(z,m()({className:ee},Y),j))},N}return r()(D,[{key:"getSiderHook",value:function(){var R=this;return{addSider:function(M){R.setState(function(H){return{siders:[].concat(x()(H.siders),[M])}})},removeSider:function(M){R.setState(function(H){return{siders:H.siders.filter(function(F){return F!==M})}})}}}},{key:"render",value:function(){return t.createElement(h.a,null,this.renderComponent)}}]),D}(t.Component),C=A({suffixCls:"layout",tagName:"section",displayName:"Layout"})(E),w=A({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(y),b=A({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(y),I=A({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(y);C.Header=w,C.Footer=b,C.Content=I,P.b=C},PNag:function(U,P,d){var O=d("bYtY"),x=d("SKnc"),T=d("YH21"),v=d("crZl"),S=d("IwbS"),m=d("OELB"),f=d("72pK"),c=d("y7Aq"),o=d("4NO4"),r=m.linearMap,a=O.each,n=Math.min,e=Math.max,s=12,t=6,i=v.extend({type:"visualMap.continuous",init:function(){i.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(E,C,w,b){(!b||b.type!=="selectDataRange"||b.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var E=this.visualMapModel,C=this.group;this._orient=E.get("orient"),this._useHandle=E.get("calculable"),this._resetInterval(),this._renderBar(C);var w=E.get("text");this._renderEndsText(C,w,0),this._renderEndsText(C,w,1),this._updateView(!0),this.renderBackground(C),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(C)},_renderEndsText:function(E,C,w){if(!C)return;var b=C[1-w];b=b!=null?b+"":"";var I=this.visualMapModel,_=I.get("textGap"),L=I.itemSize,D=this._shapes.barGroup,N=this._applyTransform([L[0]/2,w===0?-_:L[1]+_],D),R=this._applyTransform(w===0?"bottom":"top",D),B=this._orient,M=this.visualMapModel.textStyleModel;this.group.add(new S.Text({style:{x:N[0],y:N[1],textVerticalAlign:B==="horizontal"?"middle":R,textAlign:B==="horizontal"?R:"center",text:b,textFont:M.getFont(),textFill:M.getTextColor()}}))},_renderBar:function(E){var C=this.visualMapModel,w=this._shapes,b=C.itemSize,I=this._orient,_=this._useHandle,L=c.getItemAlign(C,this.api,b),D=w.barGroup=this._createBarGroup(L);D.add(w.outOfRange=l()),D.add(w.inRange=l(null,_?A(this._orient):null,O.bind(this._dragHandle,this,"all",!1),O.bind(this._dragHandle,this,"all",!0)));var N=C.textStyleModel.getTextRect("\u56FD"),R=e(N.width,N.height);_&&(w.handleThumbs=[],w.handleLabels=[],w.handleLabelPoints=[],this._createHandle(D,0,b,R,I,L),this._createHandle(D,1,b,R,I,L)),this._createIndicator(D,b,R,I),E.add(D)},_createHandle:function(E,C,w,b,I){var _=O.bind(this._dragHandle,this,C,!1),L=O.bind(this._dragHandle,this,C,!0),D=l(u(C,b),A(this._orient),_,L);D.position[0]=w[0],E.add(D);var N=this.visualMapModel.textStyleModel,R=new S.Text({draggable:!0,drift:_,onmousemove:function(H){T.stop(H.event)},ondragend:L,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(R);var B=[I==="horizontal"?b/2:b*1.5,I==="horizontal"?C===0?-(b*1.5):b*1.5:C===0?-b/2:b/2],M=this._shapes;M.handleThumbs[C]=D,M.handleLabelPoints[C]=B,M.handleLabels[C]=R},_createIndicator:function(E,C,w,b){var I=l([[0,0]],"move");I.position[0]=C[0],I.attr({invisible:!0,silent:!0}),E.add(I);var _=this.visualMapModel.textStyleModel,L=new S.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:_.getFont(),textFill:_.getTextColor()}});this.group.add(L);var D=[b==="horizontal"?w/2:t+3,0],N=this._shapes;N.indicator=I,N.indicatorLabel=L,N.indicatorLabelPoint=D},_dragHandle:function(E,C,w,b){if(!this._useHandle)return;if(this._dragging=!C,!C){var I=this._applyTransform([w,b],this._shapes.barGroup,!0);this._updateInterval(E,I[1]),this._updateView()}C===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),C?!this._hovering&&this._clearHoverLinkToSeries():g(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[E],!1)},_resetInterval:function(){var E=this.visualMapModel,C=this._dataInterval=E.getSelected(),w=E.getExtent(),b=[0,E.itemSize[1]];this._handleEnds=[r(C[0],w,b,!0),r(C[1],w,b,!0)]},_updateInterval:function(E,C){C=C||0;var w=this.visualMapModel,b=this._handleEnds,I=[0,w.itemSize[1]];f(C,b,I,E,0);var _=w.getExtent();this._dataInterval=[r(b[0],I,_,!0),r(b[1],I,_,!0)]},_updateView:function(E){var C=this.visualMapModel,w=C.getExtent(),b=this._shapes,I=[0,C.itemSize[1]],_=E?I:this._handleEnds,L=this._createBarVisual(this._dataInterval,w,_,"inRange"),D=this._createBarVisual(w,w,I,"outOfRange");b.inRange.setStyle({fill:L.barColor,opacity:L.opacity}).setShape("points",L.barPoints),b.outOfRange.setStyle({fill:D.barColor,opacity:D.opacity}).setShape("points",D.barPoints),this._updateHandle(_,L)},_createBarVisual:function(E,C,w,b){var I={forceState:b,convertOpacityToAlpha:!0},_=this._makeColorGradient(E,I),L=[this.getControllerVisual(E[0],"symbolSize",I),this.getControllerVisual(E[1],"symbolSize",I)],D=this._createBarPoints(w,L);return{barColor:new x(0,0,0,1,_),barPoints:D,handlesColor:[_[0].color,_[_.length-1].color]}},_makeColorGradient:function(E,C){var w=100,b=[],I=(E[1]-E[0])/w;b.push({color:this.getControllerVisual(E[0],"color",C),offset:0});for(var _=1;_E[1])break;b.push({color:this.getControllerVisual(L,"color",C),offset:_/w})}return b.push({color:this.getControllerVisual(E[1],"color",C),offset:1}),b},_createBarPoints:function(E,C){var w=this.visualMapModel.itemSize;return[[w[0]-C[0],E[0]],[w[0],E[0]],[w[0],E[1]],[w[0]-C[1],E[1]]]},_createBarGroup:function(E){var C=this._orient,w=this.visualMapModel.get("inverse");return new S.Group(C==="horizontal"&&!w?{scale:E==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:C==="horizontal"&&w?{scale:E==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:C==="vertical"&&!w?{scale:E==="left"?[1,-1]:[-1,-1]}:{scale:E==="left"?[1,1]:[-1,1]})},_updateHandle:function(E,C){if(!this._useHandle)return;var w=this._shapes,b=this.visualMapModel,I=w.handleThumbs,_=w.handleLabels;a([0,1],function(L){var D=I[L];D.setStyle("fill",C.handlesColor[L]),D.position[1]=E[L];var N=S.applyTransform(w.handleLabelPoints[L],S.getTransform(D,this.group));_[L].setStyle({x:N[0],y:N[1],text:b.formatValueText(this._dataInterval[L]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?L===0?"bottom":"top":"left",w.barGroup)})},this)},_showIndicator:function(E,C,w,b){var I=this.visualMapModel,_=I.getExtent(),L=I.itemSize,D=[0,L[1]],N=r(E,_,D,!0),R=this._shapes,B=R.indicator;if(!B)return;B.position[1]=N,B.attr("invisible",!1),B.setShape("points",h(!!w,b,N,L[1]));var M={convertOpacityToAlpha:!0},H=this.getControllerVisual(E,"color",M);B.setStyle("fill",H);var F=S.applyTransform(R.indicatorLabelPoint,S.getTransform(B,this.group)),K=R.indicatorLabel;K.attr("invisible",!1);var j=this._applyTransform("left",R.barGroup),V=this._orient;K.setStyle({text:(w||"")+I.formatValueText(C),textVerticalAlign:V==="horizontal"?j:"middle",textAlign:V==="horizontal"?"center":j,x:F[0],y:F[1]})},_enableHoverLinkToSeries:function(){var E=this;this._shapes.barGroup.on("mousemove",function(C){if(E._hovering=!0,!E._dragging){var w=E.visualMapModel.itemSize,b=E._applyTransform([C.offsetX,C.offsetY],E._shapes.barGroup,!0,!0);b[1]=n(e(0,b[1]),w[1]),E._doHoverLinkToSeries(b[1],0<=b[0]&&b[0]<=w[0])}}).on("mouseout",function(){E._hovering=!1,!E._dragging&&E._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var E=this.api.getZr();this.visualMapModel.option.hoverLink?(E.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),E.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(E,C){var w=this.visualMapModel,b=w.itemSize;if(!w.option.hoverLink)return;var I=[0,b[1]],_=w.getExtent();E=n(e(I[0],E),I[1]);var L=p(w,_,I),D=[E-L,E+L],N=r(E,I,_,!0),R=[r(D[0],I,_,!0),r(D[1],I,_,!0)];D[0]I[1]&&(R[1]=Infinity),C&&(R[0]===-Infinity?this._showIndicator(N,R[1],"< ",L):R[1]===Infinity?this._showIndicator(N,R[0],"> ",L):this._showIndicator(N,N,"\u2248 ",L));var B=this._hoverLinkDataIndices,M=[];(C||g(w))&&(M=this._hoverLinkDataIndices=w.findTargetDataIndices(R));var H=o.compressBatches(B,M);this._dispatchHighDown("downplay",c.makeHighDownBatch(H[0],w)),this._dispatchHighDown("highlight",c.makeHighDownBatch(H[1],w))},_hoverLinkFromSeriesMouseOver:function(E){var C=E.target,w=this.visualMapModel;if(!C||C.dataIndex==null)return;var b=this.ecModel.getSeriesByIndex(C.seriesIndex);if(!w.isTargetSeries(b))return;var I=b.getData(C.dataType),_=I.get(w.getDataDimension(I),C.dataIndex,!0);isNaN(_)||this._showIndicator(_,_)},_hideIndicator:function(){var E=this._shapes;E.indicator&&E.indicator.attr("invisible",!0),E.indicatorLabel&&E.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var E=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(E,this.visualMapModel)),E.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var E=this.api.getZr();E.off("mouseover",this._hoverLinkFromSeriesMouseOver),E.off("mouseout",this._hideIndicator)},_applyTransform:function(E,C,w,b){var I=S.getTransform(C,b?null:this.group);return S[O.isArray(E)?"applyTransform":"transformDirection"](E,I,w)},_dispatchHighDown:function(E,C){C&&C.length&&this.api.dispatchAction({type:E,batch:C})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function l(E,C,w,b){return new S.Polygon({shape:{points:E},draggable:!!w,cursor:C,drift:w,onmousemove:function(I){T.stop(I.event)},ondragend:b})}function u(E,C){return E===0?[[0,0],[C,0],[C,-C]]:[[0,0],[C,0],[C,C]]}function h(E,C,w,b){return E?[[0,-n(C,e(w,0))],[t,0],[0,n(C,e(b-w,0))]]:[[0,0],[5,-5],[5,5]]}function p(E,C,w){var b=s/2,I=E.get("hoverLinkDataSize");return I&&(b=r(I,C,w,!0)/2),b}function g(E){var C=E.get("hoverLinkOnHandle");return!!(C==null?E.get("realtime"):C)}function A(E){return E==="vertical"?"ns-resize":"ew-resize"}var y=i;U.exports=y},PQMj:function(U,P,d){},PSzr:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};P.default=O},PVpz:function(U,P,d){(function(O,x,T){U.exports=P=x(d("Ib8C"),d("ETIr"),d("cv67"),d("K3mO"),d("OLod"))})(this,function(O){return function(){var x=O,T=x.lib,v=T.StreamCipher,S=x.algo,m=[],f=[],c=[],o=S.RabbitLegacy=v.extend({_doReset:function(){var n=this._key.words,e=this.cfg.iv,s=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],t=this._C=[n[2]<<16|n[2]>>>16,n[0]&4294901760|n[1]&65535,n[3]<<16|n[3]>>>16,n[1]&4294901760|n[2]&65535,n[0]<<16|n[0]>>>16,n[2]&4294901760|n[3]&65535,n[1]<<16|n[1]>>>16,n[3]&4294901760|n[0]&65535];this._b=0;for(var i=0;i<4;i++)r.call(this);for(var i=0;i<8;i++)t[i]^=s[i+4&7];if(e){var l=e.words,u=l[0],h=l[1],p=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,g=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360,A=p>>>16|g&4294901760,y=g<<16|p&65535;t[0]^=p,t[1]^=A,t[2]^=g,t[3]^=y,t[4]^=p,t[5]^=A,t[6]^=g,t[7]^=y;for(var i=0;i<4;i++)r.call(this)}},_doProcessBlock:function(n,e){var s=this._X;r.call(this),m[0]=s[0]^s[5]>>>16^s[3]<<16,m[1]=s[2]^s[7]>>>16^s[5]<<16,m[2]=s[4]^s[1]>>>16^s[7]<<16,m[3]=s[6]^s[3]>>>16^s[1]<<16;for(var t=0;t<4;t++)m[t]=(m[t]<<8|m[t]>>>24)&16711935|(m[t]<<24|m[t]>>>8)&4278255360,n[e+t]^=m[t]},blockSize:128/32,ivSize:64/32});function r(){for(var a=this._X,n=this._C,e=0;e<8;e++)f[e]=n[e];n[0]=n[0]+1295307597+this._b|0,n[1]=n[1]+3545052371+(n[0]>>>0>>0?1:0)|0,n[2]=n[2]+886263092+(n[1]>>>0>>0?1:0)|0,n[3]=n[3]+1295307597+(n[2]>>>0>>0?1:0)|0,n[4]=n[4]+3545052371+(n[3]>>>0>>0?1:0)|0,n[5]=n[5]+886263092+(n[4]>>>0>>0?1:0)|0,n[6]=n[6]+1295307597+(n[5]>>>0>>0?1:0)|0,n[7]=n[7]+3545052371+(n[6]>>>0>>0?1:0)|0,this._b=n[7]>>>0>>0?1:0;for(var e=0;e<8;e++){var s=a[e]+n[e],t=s&65535,i=s>>>16,l=((t*t>>>17)+t*i>>>15)+i*i,u=((s&4294901760)*s|0)+((s&65535)*s|0);c[e]=l^u}a[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,a[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,a[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,a[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,a[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,a[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,a[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,a[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}x.RabbitLegacy=v._createHelper(o)}(),O.RabbitLegacy})},ProS:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("aX58"),v=d("bYtY"),S=d("Qe9p"),m=d("ItGF"),f=d("BPZU"),c=d("H6uX"),o=d("fmMI"),r=d("hD7B"),a=d("IDmD"),n=d("ypgQ"),e=d("+wW9"),s=d("0V0F"),t=d("bLfw"),i=d("T4UG"),l=d("sS/r"),u=d("6Ic6"),h=d("IwbS"),p=d("4NO4"),g=d("iLNv"),A=g.throttle,y=d("/WM3"),E=d("uAnK"),C=d("mYwL"),w=d("af/B"),b=d("xTNl"),I=d("8hn6");d("A1Ka");var _=d("7DRL"),L=v.assert,D=v.each,N=v.isFunction,R=v.isObject,B=t.parseClassType,M="4.8.0",H={zrender:"4.3.1"},F=1,K=1e3,j=800,V=900,z=5e3,Y=1e3,ee=1100,fe=2e3,ie=3e3,we=3500,Ce=4e3,Le=5e3,He={PROCESSOR:{FILTER:K,SERIES_FILTER:j,STATISTIC:z},VISUAL:{LAYOUT:Y,PROGRESSIVE_LAYOUT:ee,GLOBAL:fe,CHART:ie,POST_CHART_LAYOUT:we,COMPONENT:Ce,BRUSH:Le}},ce="__flagInMainProcess",Pe="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function me(ot,Mt){return function(xr,ur,gr){if(!Mt&&this._disposed){Ot(this.id);return}xr=xr&&xr.toLowerCase(),c.prototype[ot].call(this,xr,ur,gr)}}function Je(){c.call(this)}Je.prototype.on=me("on",!0),Je.prototype.off=me("off",!0),Je.prototype.one=me("one",!0),v.mixin(Je,c);function re(ot,Mt,xr){xr=xr||{},typeof Mt=="string"&&(Mt=ut[Mt]),this.id,this.group,this._dom=ot;var ur="canvas",gr=this._zr=T.init(ot,{renderer:xr.renderer||ur,devicePixelRatio:xr.devicePixelRatio,width:xr.width,height:xr.height});this._throttledZrFlush=A(v.bind(gr.flush,gr),17);var Mt=v.clone(Mt);Mt&&e(Mt,!0),this._theme=Mt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new a;var Qr=this._api=Be(this);function ln(_n,Mn){return _n.__prio-Mn.__prio}f(jt,ln),f(De,ln),this._scheduler=new w(this,Qr,De,jt),c.call(this,this._ecEventProcessor=new $),this._messageCenter=new Je,this._initEvents(),this.resize=v.bind(this.resize,this),this._pendingActions=[],gr.animation.on("frame",this._onframe,this),Oe(gr,this),v.setAsPrimitive(this)}var G=re.prototype;G._onframe=function(){if(this._disposed)return;var ot=this._scheduler;if(this[Pe]){var Mt=this[Pe].silent;this[ce]=!0,Ae(this),J.update.call(this),this[ce]=!1,this[Pe]=!1,oe.call(this,Mt),pe.call(this,Mt)}else if(ot.unfinished){var xr=F,ur=this._model,gr=this._api;ot.unfinished=!1;do{var Qr=+new Date;ot.performSeriesTasks(ur),ot.performDataProcessorTasks(ur),Me(this,ur),ot.performVisualTasks(ur),tt(this,this._model,gr,"remain"),xr-=+new Date-Qr}while(xr>0&&ot.unfinished);ot.unfinished||this._zr.flush()}},G.getDom=function(){return this._dom},G.getZr=function(){return this._zr},G.setOption=function(ot,Mt,xr){if(this._disposed){Ot(this.id);return}var ur;if(R(Mt)&&(xr=Mt.lazyUpdate,ur=Mt.silent,Mt=Mt.notMerge),this[ce]=!0,!this._model||Mt){var gr=new n(this._api),Qr=this._theme,ln=this._model=new o;ln.scheduler=this._scheduler,ln.init(null,null,Qr,gr)}this._model.setOption(ot,ae),xr?(this[Pe]={silent:ur},this[ce]=!1):(Ae(this),J.update.call(this),this._zr.flush(),this[Pe]=!1,this[ce]=!1,oe.call(this,ur),pe.call(this,ur))},G.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},G.getModel=function(){return this._model},G.getOption=function(){return this._model&&this._model.getOption()},G.getWidth=function(){return this._zr.getWidth()},G.getHeight=function(){return this._zr.getHeight()},G.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},G.getRenderedCanvas=function(ot){if(!m.canvasSupported)return;ot=ot||{},ot.pixelRatio=ot.pixelRatio||1,ot.backgroundColor=ot.backgroundColor||this._model.get("backgroundColor");var Mt=this._zr;return Mt.painter.getRenderedCanvas(ot)},G.getSvgDataURL=function(){if(!m.svgSupported)return;var ot=this._zr,Mt=ot.storage.getDisplayList();return v.each(Mt,function(xr){xr.stopAnimation(!0)}),ot.painter.toDataURL()},G.getDataURL=function(ot){if(this._disposed){Ot(this.id);return}ot=ot||{};var Mt=ot.excludeComponents,xr=this._model,ur=[],gr=this;D(Mt,function(ln){xr.eachComponent({mainType:ln},function(_n){var Mn=gr._componentsMap[_n.__viewId];Mn.group.ignore||(ur.push(Mn),Mn.group.ignore=!0)})});var Qr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ot).toDataURL("image/"+(ot&&ot.type||"png"));return D(ur,function(ln){ln.group.ignore=!1}),Qr},G.getConnectedDataURL=function(ot){if(this._disposed){Ot(this.id);return}if(!m.canvasSupported)return;var Mt=ot.type==="svg",xr=this.group,ur=Math.min,gr=Math.max,Qr=Infinity;if(nn[xr]){var ln=Qr,_n=Qr,Mn=-Qr,li=-Qr,ai=[],pi=ot&&ot.pixelRatio||1;v.each(pr,function(Qe,Xe){if(Qe.group===xr){var qe=Mt?Qe.getZr().painter.getSvgDom().innerHTML:Qe.getRenderedCanvas(v.clone(ot)),yt=Qe.getDom().getBoundingClientRect();ln=ur(yt.left,ln),_n=ur(yt.top,_n),Mn=gr(yt.right,Mn),li=gr(yt.bottom,li),ai.push({dom:qe,left:yt.left,top:yt.top})}}),ln*=pi,_n*=pi,Mn*=pi,li*=pi;var Oi=Mn-ln,Ze=li-_n,be=v.createCanvas(),Ne=T.init(be,{renderer:Mt?"svg":"canvas"});if(Ne.resize({width:Oi,height:Ze}),Mt){var Ue="";return D(ai,function(Qe){var Xe=Qe.left-ln,qe=Qe.top-_n;Ue+=''+Qe.dom+""}),Ne.painter.getSvgRoot().innerHTML=Ue,ot.connectedBackgroundColor&&Ne.painter.setBackgroundColor(ot.connectedBackgroundColor),Ne.refreshImmediately(),Ne.painter.toDataURL()}else return ot.connectedBackgroundColor&&Ne.add(new h.Rect({shape:{x:0,y:0,width:Oi,height:Ze},style:{fill:ot.connectedBackgroundColor}})),D(ai,function(Qe){var Xe=new h.Image({style:{x:Qe.left*pi-ln,y:Qe.top*pi-_n,image:Qe.dom}});Ne.add(Xe)}),Ne.refreshImmediately(),be.toDataURL("image/"+(ot&&ot.type||"png"))}else return this.getDataURL(ot)},G.convertToPixel=v.curry(X,"convertToPixel"),G.convertFromPixel=v.curry(X,"convertFromPixel");function X(ot,Mt,xr){if(this._disposed){Ot(this.id);return}var ur=this._model,gr=this._coordSysMgr.getCoordinateSystems(),Qr;Mt=p.parseFinder(ur,Mt);for(var ln=0;ln=0&&v.each(gr,function(ln){var _n=ln.coordinateSystem;if(_n&&_n.containPoint)ur|=!!_n.containPoint(Mt);else if(Qr==="seriesModels"){var Mn=this._chartsMap[ln.__viewId];Mn&&Mn.containPoint&&(ur|=Mn.containPoint(Mt,ln))}},this)},this),!!ur},G.getVisual=function(ot,Mt){var xr=this._model;ot=p.parseFinder(xr,ot,{defaultMainType:"series"});var ur=ot.seriesModel,gr=ur.getData(),Qr=ot.hasOwnProperty("dataIndexInside")?ot.dataIndexInside:ot.hasOwnProperty("dataIndex")?gr.indexOfRawIndex(ot.dataIndex):null;return Qr!=null?gr.getItemVisual(Qr,Mt):gr.getVisual(Mt)},G.getViewOfComponentModel=function(ot){return this._componentsMap[ot.__viewId]},G.getViewOfSeriesModel=function(ot){return this._chartsMap[ot.__viewId]};var J={prepareAndUpdate:function(ot){Ae(this),J.update.call(this,ot)},update:function(ot){var Mt=this._model,xr=this._api,ur=this._zr,gr=this._coordSysMgr,Qr=this._scheduler;if(!Mt)return;Qr.restoreData(Mt,ot),Qr.performSeriesTasks(Mt),gr.create(Mt,xr),Qr.performDataProcessorTasks(Mt,ot),Me(this,Mt),gr.update(Mt,xr),it(Mt),Qr.performVisualTasks(Mt,ot),et(this,Mt,xr,ot);var ln=Mt.get("backgroundColor")||"transparent";if(m.canvasSupported)ur.setBackgroundColor(ln);else{var _n=S.parse(ln);ln=S.stringify(_n,"rgb"),_n[3]===0&&(ln="transparent")}ze(Mt,xr)},updateTransform:function(ot){var Mt=this._model,xr=this,ur=this._api;if(!Mt)return;var gr=[];Mt.eachComponent(function(ln,_n){var Mn=xr.getViewOfComponentModel(_n);if(Mn&&Mn.__alive)if(Mn.updateTransform){var li=Mn.updateTransform(_n,Mt,ur,ot);li&&li.update&&gr.push(Mn)}else gr.push(Mn)});var Qr=v.createHashMap();Mt.eachSeries(function(ln){var _n=xr._chartsMap[ln.__viewId];if(_n.updateTransform){var Mn=_n.updateTransform(ln,Mt,ur,ot);Mn&&Mn.update&&Qr.set(ln.uid,1)}else Qr.set(ln.uid,1)}),it(Mt),this._scheduler.performVisualTasks(Mt,ot,{setDirty:!0,dirtyMap:Qr}),tt(xr,Mt,ur,ot,Qr),ze(Mt,this._api)},updateView:function(ot){var Mt=this._model;if(!Mt)return;u.markUpdateMethod(ot,"updateView"),it(Mt),this._scheduler.performVisualTasks(Mt,ot,{setDirty:!0}),et(this,this._model,this._api,ot),ze(Mt,this._api)},updateVisual:function(ot){J.update.call(this,ot)},updateLayout:function(ot){J.update.call(this,ot)}};function Ae(ot){var Mt=ot._model,xr=ot._scheduler;xr.restorePipelines(Mt),xr.prepareStageTasks(),Ye(ot,"component",Mt,xr),Ye(ot,"chart",Mt,xr),xr.plan()}function he(ot,Mt,xr,ur,gr){var Qr=ot._model;if(!ur){D(ot._componentsViews.concat(ot._chartsViews),li);return}var ln={};ln[ur+"Id"]=xr[ur+"Id"],ln[ur+"Index"]=xr[ur+"Index"],ln[ur+"Name"]=xr[ur+"Name"];var _n={mainType:ur,query:ln};gr&&(_n.subType=gr);var Mn=xr.excludeSeriesId;Mn!=null&&(Mn=v.createHashMap(p.normalizeToArray(Mn))),Qr&&Qr.eachComponent(_n,function(ai){(!Mn||Mn.get(ai.id)==null)&&li(ot[ur==="series"?"_chartsMap":"_componentsMap"][ai.__viewId])},ot);function li(ai){ai&&ai.__alive&&ai[Mt]&&ai[Mt](ai.__model,Qr,ot._api,xr)}}G.resize=function(ot){if(this._disposed){Ot(this.id);return}this._zr.resize(ot);var Mt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Mt)return;var xr=Mt.resetOption("media"),ur=ot&&ot.silent;this[ce]=!0,xr&&Ae(this),J.update.call(this),this[ce]=!1,oe.call(this,ur),pe.call(this,ur)};function Me(ot,Mt){var xr=ot._chartsMap,ur=ot._scheduler;Mt.eachSeries(function(gr){ur.updateStreamModes(gr,xr[gr.__viewId])})}G.showLoading=function(ot,Mt){if(this._disposed){Ot(this.id);return}if(R(ot)&&(Mt=ot,ot=""),ot=ot||"default",this.hideLoading(),!rr[ot])return;var xr=rr[ot](this._api,Mt),ur=this._zr;this._loadingFX=xr,ur.add(xr)},G.hideLoading=function(){if(this._disposed){Ot(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},G.makeActionFromEvent=function(ot){var Mt=v.extend({},ot);return Mt.type=Re[ot.type],Mt},G.dispatchAction=function(ot,Mt){if(this._disposed){Ot(this.id);return}if(R(Mt)||(Mt={silent:!!Mt}),!Z[ot.type])return;if(!this._model)return;if(this[ce]){this._pendingActions.push(ot);return}Ie.call(this,ot,Mt.silent),Mt.flush?this._zr.flush(!0):Mt.flush!==!1&&m.browser.weChat&&this._throttledZrFlush(),oe.call(this,Mt.silent),pe.call(this,Mt.silent)};function Ie(ot,Mt){var xr=ot.type,ur=ot.escapeConnect,gr=Z[xr],Qr=gr.actionInfo,ln=(Qr.update||"update").split(":"),_n=ln.pop();ln=ln[0]!=null&&B(ln[0]),this[ce]=!0;var Mn=[ot],li=!1;ot.batch&&(li=!0,Mn=v.map(ot.batch,function(Ze){return Ze=v.defaults(v.extend({},Ze),ot),Ze.batch=null,Ze}));var ai=[],pi,Oi=xr==="highlight"||xr==="downplay";D(Mn,function(Ze){pi=gr.action(Ze,this._model,this._api),pi=pi||v.extend({},Ze),pi.type=Qr.event||pi.type,ai.push(pi),Oi?he(this,_n,Ze,"series"):ln&&he(this,_n,Ze,ln.main,ln.sub)},this),_n!=="none"&&!Oi&&!ln&&(this[Pe]?(Ae(this),J.update.call(this,ot),this[Pe]=!1):J[_n].call(this,ot)),li?pi={type:Qr.event||xr,escapeConnect:ur,batch:ai}:pi=ai[0],this[ce]=!1,!Mt&&this._messageCenter.trigger(pi.type,pi)}function oe(ot){for(var Mt=this._pendingActions;Mt.length;){var xr=Mt.shift();Ie.call(this,xr,ot)}}function pe(ot){!ot&&this.trigger("updated")}function Oe(ot,Mt){ot.on("rendered",function(){Mt.trigger("rendered"),ot.animation.isFinished()&&!Mt[Pe]&&!Mt._scheduler.unfinished&&!Mt._pendingActions.length&&Mt.trigger("finished")})}G.appendData=function(ot){if(this._disposed){Ot(this.id);return}var Mt=ot.seriesIndex,xr=this.getModel(),ur=xr.getSeriesByIndex(Mt);ur.appendData(ot),this._scheduler.unfinished=!0},G.on=me("on",!1),G.off=me("off",!1),G.one=me("one",!1);function Ye(ot,Mt,xr,ur){for(var gr=Mt==="component",Qr=gr?ot._componentsViews:ot._chartsViews,ln=gr?ot._componentsMap:ot._chartsMap,_n=ot._zr,Mn=ot._api,li=0;liMt.get("hoverLayerThreshold")&&!m.node&&Mt.eachSeries(function(Qr){if(Qr.preventUsingHoverLayer)return;var ln=ot._chartsMap[Qr.__viewId];ln.__alive&&ln.group.traverse(function(_n){_n.useHoverLayer=!0})})}function Ct(ot,Mt){var xr=ot.get("blendMode")||null;Mt.group.traverse(function(ur){ur.isGroup||ur.style.blend!==xr&&ur.setStyle("blend",xr),ur.eachPendingDisplayable&&ur.eachPendingDisplayable(function(gr){gr.setStyle("blend",xr)})})}function Nt(ot,Mt){var xr=ot.get("z"),ur=ot.get("zlevel");Mt.group.traverse(function(gr){gr.type!=="group"&&(xr!=null&&(gr.z=xr),ur!=null&&(gr.zlevel=ur))})}function Be(ot){var Mt=ot._coordSysMgr;return v.extend(new r(ot),{getCoordinateSystems:v.bind(Mt.getCoordinateSystems,Mt),getComponentByElement:function(xr){for(;xr;){var ur=xr.__ecComponentInfo;if(ur!=null)return ot._model.getComponent(ur.mainType,ur.index);xr=xr.parent}}})}function $(){this.eventInfo}$.prototype={constructor:$,normalizeQuery:function(ot){var Mt={},xr={},ur={};if(v.isString(ot)){var gr=B(ot);Mt.mainType=gr.main||null,Mt.subType=gr.sub||null}else{var Qr=["Index","Name","Id"],ln={name:1,dataIndex:1,dataType:1};v.each(ot,function(_n,Mn){for(var li=!1,ai=0;ai0&&Oi===Mn.length-pi.length){var Ze=Mn.slice(0,Oi);Ze!=="data"&&(Mt.mainType=Ze,Mt[pi.toLowerCase()]=_n,li=!0)}}ln.hasOwnProperty(Mn)&&(xr[Mn]=_n,li=!0),li||(ur[Mn]=_n)})}return{cptQuery:Mt,dataQuery:xr,otherQuery:ur}},filter:function(ot,Mt,xr){var ur=this.eventInfo;if(!ur)return!0;var gr=ur.targetEl,Qr=ur.packedEvent,ln=ur.model,_n=ur.view;if(!ln||!_n)return!0;var Mn=Mt.cptQuery,li=Mt.dataQuery;return ai(Mn,ln,"mainType")&&ai(Mn,ln,"subType")&&ai(Mn,ln,"index","componentIndex")&&ai(Mn,ln,"name")&&ai(Mn,ln,"id")&&ai(li,Qr,"name")&&ai(li,Qr,"dataIndex")&&ai(li,Qr,"dataType")&&(!_n.filterForExposedEvent||_n.filterForExposedEvent(ot,Mt.otherQuery,gr,Qr));function ai(pi,Oi,Ze,be){return pi[Ze]==null||Oi[be||Ze]===pi[Ze]}},afterTrigger:function(){this.eventInfo=null}};var Z={},Re={},De=[],ae=[],gt=[],jt=[],ut={},rr={},pr={},nn={},mr=new Date-0,vr=new Date-0,$t="_echarts_instance_";function Xt(ot){var Mt=0,xr=1,ur=2,gr="__connectUpdateStatus";function Qr(ln,_n){for(var Mn=0;Mn>>1:v>>>1;S[m]=v}return S}var x=O();function T(v,S,m,f){var c=x,o=f+m;v^=-1;for(var r=f;r>>8^c[(v^S[r])&255];return v^-1}},QbM5:function(U,P,d){},Qe9p:function(U,P,d){var O=d("1RvN"),x={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function T(b){return b=Math.round(b),b<0?0:b>255?255:b}function v(b){return b=Math.round(b),b<0?0:b>360?360:b}function S(b){return b<0?0:b>1?1:b}function m(b){return b.length&&b.charAt(b.length-1)==="%"?T(parseFloat(b)/100*255):T(parseInt(b,10))}function f(b){return b.length&&b.charAt(b.length-1)==="%"?S(parseFloat(b)/100):S(parseFloat(b))}function c(b,I,_){return _<0?_+=1:_>1&&(_-=1),_*6<1?b+(I-b)*_*6:_*2<1?I:_*3<2?b+(I-b)*(2/3-_)*6:b}function o(b,I,_){return b+(I-b)*_}function r(b,I,_,L,D){return b[0]=I,b[1]=_,b[2]=L,b[3]=D,b}function a(b,I){return b[0]=I[0],b[1]=I[1],b[2]=I[2],b[3]=I[3],b}var n=new O(20),e=null;function s(b,I){e&&a(e,I),e=n.put(b,e||I.slice())}function t(b,I){if(!b)return;I=I||[];var _=n.get(b);if(_)return a(I,_);b=b+"";var L=b.replace(/ /g,"").toLowerCase();if(L in x)return a(I,x[L]),s(b,I),I;if(L.charAt(0)==="#"){if(L.length===4){var D=parseInt(L.substr(1),16);if(!(D>=0&&D<=4095)){r(I,0,0,0,1);return}return r(I,(D&3840)>>4|(D&3840)>>8,D&240|(D&240)>>4,D&15|(D&15)<<4,1),s(b,I),I}else if(L.length===7){var D=parseInt(L.substr(1),16);if(!(D>=0&&D<=16777215)){r(I,0,0,0,1);return}return r(I,(D&16711680)>>16,(D&65280)>>8,D&255,1),s(b,I),I}return}var N=L.indexOf("("),R=L.indexOf(")");if(N!==-1&&R+1===L.length){var B=L.substr(0,N),M=L.substr(N+1,R-(N+1)).split(","),H=1;switch(B){case"rgba":if(M.length!==4){r(I,0,0,0,1);return}H=f(M.pop());case"rgb":if(M.length!==3){r(I,0,0,0,1);return}return r(I,m(M[0]),m(M[1]),m(M[2]),H),s(b,I),I;case"hsla":if(M.length!==4){r(I,0,0,0,1);return}return M[3]=f(M[3]),i(M,I),s(b,I),I;case"hsl":if(M.length!==3){r(I,0,0,0,1);return}return i(M,I),s(b,I),I;default:return}}r(I,0,0,0,1);return}function i(b,I){var _=(parseFloat(b[0])%360+360)%360/360,L=f(b[1]),D=f(b[2]),N=D<=.5?D*(L+1):D+L-D*L,R=D*2-N;return I=I||[],r(I,T(c(R,N,_+1/3)*255),T(c(R,N,_)*255),T(c(R,N,_-1/3)*255),1),b.length===4&&(I[3]=b[3]),I}function l(b){if(!b)return;var I=b[0]/255,_=b[1]/255,L=b[2]/255,D=Math.min(I,_,L),N=Math.max(I,_,L),R=N-D,B=(N+D)/2,M,H;if(R===0)M=0,H=0;else{B<.5?H=R/(N+D):H=R/(2-N-D);var F=((N-I)/6+R/2)/R,K=((N-_)/6+R/2)/R,j=((N-L)/6+R/2)/R;I===N?M=j-K:_===N?M=1/3+F-j:L===N&&(M=2/3+K-F),M<0&&(M+=1),M>1&&(M-=1)}var V=[M*360,H,B];return b[3]!=null&&V.push(b[3]),V}function u(b,I){var _=t(b);if(_){for(var L=0;L<3;L++)I<0?_[L]=_[L]*(1-I)|0:_[L]=(255-_[L])*I+_[L]|0,_[L]>255?_[L]=255:b[L]<0&&(_[L]=0);return w(_,_.length===4?"rgba":"rgb")}}function h(b){var I=t(b);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function p(b,I,_){if(!(I&&I.length)||!(b>=0&&b<=1))return;_=_||[];var L=b*(I.length-1),D=Math.floor(L),N=Math.ceil(L),R=I[D],B=I[N],M=L-D;return _[0]=T(o(R[0],B[0],M)),_[1]=T(o(R[1],B[1],M)),_[2]=T(o(R[2],B[2],M)),_[3]=S(o(R[3],B[3],M)),_}var g=p;function A(b,I,_){if(!(I&&I.length)||!(b>=0&&b<=1))return;var L=b*(I.length-1),D=Math.floor(L),N=Math.ceil(L),R=t(I[D]),B=t(I[N]),M=L-D,H=w([T(o(R[0],B[0],M)),T(o(R[1],B[1],M)),T(o(R[2],B[2],M)),S(o(R[3],B[3],M))],"rgba");return _?{color:H,leftIndex:D,rightIndex:N,value:L}:H}var y=A;function E(b,I,_,L){if(b=t(b),b)return b=l(b),I!=null&&(b[0]=v(I)),_!=null&&(b[1]=f(_)),L!=null&&(b[2]=f(L)),w(i(b),"rgba")}function C(b,I){if(b=t(b),b&&I!=null)return b[3]=S(I),w(b,"rgba")}function w(b,I){if(!b||!b.length)return;var _=b[0]+","+b[1]+","+b[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(_+=","+b[3]),I+"("+_+")"}P.parse=t,P.lift=u,P.toHex=h,P.fastLerp=p,P.fastMapToColor=g,P.lerp=A,P.mapToColor=y,P.modifyHSL=E,P.modifyAlpha=C,P.stringify=w},Qi1f:function(U,P,d){"use strict";d.d(P,"g",function(){return s}),d.d(P,"c",function(){return t}),d.d(P,"a",function(){return l}),d.d(P,"b",function(){return u}),d.d(P,"d",function(){return h}),d.d(P,"e",function(){return p}),d.d(P,"f",function(){return A});var O=d("VTBJ"),x=d("U8pU"),T=d("AJpP"),v=d("q1tI"),S=d.n(v),m=d("Kwbf"),f=d("MNnm"),c="rc-util-key";function o(y){if(y.attachTo)return y.attachTo;var E=document.querySelector("head");return E||document.body}function r(y){var E,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(f.a)())return null;var w=document.createElement("style");if((E=C.csp)===null||E===void 0?void 0:E.nonce){var b;w.nonce=(b=C.csp)===null||b===void 0?void 0:b.nonce}w.innerHTML=y;var I=o(C),_=I.firstChild;return C.prepend&&I.prepend?I.prepend(w):C.prepend&&_?I.insertBefore(w,_):I.appendChild(w),w}var a=new Map;function n(y,E){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=o(C);if(!a.has(w)){var b=r("",C),I=b.parentNode;a.set(w,I),I.removeChild(b)}var _=Array.from(a.get(w).children).find(function(B){return B.tagName==="STYLE"&&B[c]===E});if(_){var L,D;if(((L=C.csp)===null||L===void 0?void 0:L.nonce)&&_.nonce!==((D=C.csp)===null||D===void 0?void 0:D.nonce)){var N;_.nonce=(N=C.csp)===null||N===void 0?void 0:N.nonce}return _.innerHTML!==y&&(_.innerHTML=y),_}var R=r(y,C);return R[c]=E,R}var e=d("Pw59");function s(y,E){Object(m.a)(y,"[@ant-design/icons] ".concat(E))}function t(y){return Object(x.a)(y)==="object"&&typeof y.name=="string"&&typeof y.theme=="string"&&(Object(x.a)(y.icon)==="object"||typeof y.icon=="function")}function i(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(y).reduce(function(E,C){var w=y[C];switch(C){case"class":E.className=w,delete E.class;break;default:E[C]=w}return E},{})}function l(y,E,C){return C?S.a.createElement(y.tag,Object(O.a)(Object(O.a)({key:E},i(y.attrs)),C),(y.children||[]).map(function(w,b){return l(w,"".concat(E,"-").concat(y.tag,"-").concat(b))})):S.a.createElement(y.tag,Object(O.a)({key:E},i(y.attrs)),(y.children||[]).map(function(w,b){return l(w,"".concat(E,"-").concat(y.tag,"-").concat(b))}))}function u(y){return Object(T.generate)(y)[0]}function h(y){return y?Array.isArray(y)?y:[y]:[]}var p={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},g=` .anticon { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `,A=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g,C=Object(v.useContext)(e.a),w=C.csp;Object(v.useEffect)(function(){n(E,"@ant-design-icons",{prepend:!0,csp:w})},[])}},Qs3X:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("X+im"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},Qs9O:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};P.default=O},QuXc:function(U,P){var d=function(T){this.colorStops=T||[]};d.prototype={constructor:d,addColorStop:function(T,v){this.colorStops.push({offset:T,color:v})}};var O=d;U.exports=O},Qvb6:function(U,P,d){var O=d("ProS"),x=d("bYtY"),T=d("ItGF"),v=d("B9fm"),S=d("gvm7"),m=d("7aKB"),f=d("OELB"),c=d("IwbS"),o=d("Ez2D"),r=d("+TT/"),a=d("Qxkt"),n=d("F9bG"),e=d("aX7z"),s=d("/y7N"),t=d("4NO4"),i=t.getTooltipRenderMode,l=x.bind,u=x.each,h=f.parsePercent,p=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),g=O.extendComponentView({type:"tooltip",init:function(I,_){if(T.node)return;var L=I.getComponent("tooltip"),D=L.get("renderMode");this._renderMode=i(D);var N;this._renderMode==="html"?(N=new v(_.getDom(),_,{appendToBody:L.get("appendToBody",!0)}),this._newLine="
    "):(N=new S(_),this._newLine=` `),this._tooltipContent=N},render:function(I,_,L){if(T.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=_,this._api=L,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var D=this._tooltipContent;D.update(),D.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,_=I.get("triggerOn");n.register("itemTooltip",this._api,l(function(L,D,N){_!=="none"&&(_.indexOf(L)>=0?this._tryShow(D,N):L==="leave"&&this._hide(N))},this))},_keepShow:function(){var I=this._tooltipModel,_=this._ecModel,L=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var D=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!L.isDisposed()&&D.manuallyShowTip(I,_,L,{x:D._lastX,y:D._lastY})})}},manuallyShowTip:function(I,_,L,D){if(D.from===this.uid||T.node)return;var N=y(D,L);this._ticket="";var R=D.dataByCoordSys;if(D.tooltip&&D.x!=null&&D.y!=null){var B=p;B.position=[D.x,D.y],B.update(),B.tooltip=D.tooltip,this._tryShow({offsetX:D.x,offsetY:D.y,target:B},N)}else if(R)this._tryShow({offsetX:D.x,offsetY:D.y,position:D.position,dataByCoordSys:D.dataByCoordSys,tooltipOption:D.tooltipOption},N);else if(D.seriesIndex!=null){if(this._manuallyAxisShowTip(I,_,L,D))return;var M=o(D,_),H=M.point[0],F=M.point[1];H!=null&&F!=null&&this._tryShow({offsetX:H,offsetY:F,position:D.position,target:M.el},N)}else D.x!=null&&D.y!=null&&(L.dispatchAction({type:"updateAxisPointer",x:D.x,y:D.y}),this._tryShow({offsetX:D.x,offsetY:D.y,position:D.position,target:L.getZr().findHover(D.x,D.y).target},N))},manuallyHideTip:function(I,_,L,D){var N=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&N.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,D.from!==this.uid&&this._hide(y(D,L))},_manuallyAxisShowTip:function(I,_,L,D){var N=D.seriesIndex,R=D.dataIndex,B=_.getComponent("axisPointer").coordSysAxesInfo;if(N==null||R==null||B==null)return;var M=_.getSeriesByIndex(N);if(!M)return;var H=M.getData(),I=A([H.getItemModel(R),M,(M.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(L.dispatchAction({type:"updateAxisPointer",seriesIndex:N,dataIndex:R,position:D.position}),!0)},_tryShow:function(I,_){var L=I.target,D=this._tooltipModel;if(!D)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var N=I.dataByCoordSys;N&&N.length?this._showAxisTooltip(N,I):L&&L.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,L,_)):L&&L.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,L,_)):(this._lastDataByCoordSys=null,this._hide(_))},_showOrMove:function(I,_){var L=I.get("showDelay");_=x.bind(_,this),clearTimeout(this._showTimout),L>0?this._showTimout=setTimeout(_,L):_()},_showAxisTooltip:function(I,_){var L=this._ecModel,D=this._tooltipModel,N=[_.offsetX,_.offsetY],R=[],B=[],M=A([_.tooltipOption,D]),H=this._renderMode,F=this._newLine,K={};u(I,function(V){u(V.dataByAxis,function(z){var Y=L.getComponent(z.axisDim+"Axis",z.axisIndex),ee=z.value,fe=[];if(!Y||ee==null)return;var ie=s.getValueLabel(ee,Y.axis,L,z.seriesDataIndices,z.valueLabelOpt);x.each(z.seriesDataIndices,function(Ce){var Le=L.getSeriesByIndex(Ce.seriesIndex),He=Ce.dataIndexInside,ce=Le&&Le.getDataParams(He);if(ce.axisDim=z.axisDim,ce.axisIndex=z.axisIndex,ce.axisType=z.axisType,ce.axisId=z.axisId,ce.axisValue=e.getAxisRawValue(Y.axis,ee),ce.axisValueLabel=ie,ce){B.push(ce);var Pe=Le.formatTooltip(He,!0,null,H),Q;if(x.isObject(Pe)){Q=Pe.html;var me=Pe.markers;x.merge(K,me)}else Q=Pe;fe.push(Q)}});var we=ie;H!=="html"?R.push(fe.join(F)):R.push((we?m.encodeHTML(we)+F:"")+fe.join(F))})},this),R.reverse(),R=R.join(this._newLine+this._newLine);var j=_.position;this._showOrMove(M,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(M,j,N[0],N[1],this._tooltipContent,B):this._showTooltipContent(M,R,B,Math.random(),N[0],N[1],j,void 0,K)})},_showSeriesItemTooltip:function(I,_,L){var D=this._ecModel,N=_.seriesIndex,R=D.getSeriesByIndex(N),B=_.dataModel||R,M=_.dataIndex,H=_.dataType,F=B.getData(H),K=A([F.getItemModel(M),B,R&&(R.coordinateSystem||{}).model,this._tooltipModel]),j=K.get("trigger");if(j!=null&&j!=="item")return;var V=B.getDataParams(M,H),z=B.formatTooltip(M,!1,H,this._renderMode),Y,ee;x.isObject(z)?(Y=z.html,ee=z.markers):(Y=z,ee=null);var fe="item_"+B.name+"_"+M;this._showOrMove(K,function(){this._showTooltipContent(K,Y,V,fe,I.offsetX,I.offsetY,I.position,I.target,ee)}),L({type:"showTip",dataIndexInside:M,dataIndex:F.getRawIndex(M),seriesIndex:N,from:this.uid})},_showComponentItemTooltip:function(I,_,L){var D=_.tooltip;if(typeof D=="string"){var N=D;D={content:N,formatter:N}}var R=new a(D,this._tooltipModel,this._ecModel),B=R.get("content"),M=Math.random();this._showOrMove(R,function(){this._showTooltipContent(R,B,R.get("formatterParams")||{},M,I.offsetX,I.offsetY,I.position,_)}),L({type:"showTip",from:this.uid})},_showTooltipContent:function(I,_,L,D,N,R,B,M,H){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var F=this._tooltipContent,K=I.get("formatter");B=B||I.get("position");var j=_;if(K&&typeof K=="string")j=m.formatTpl(K,L,!0);else if(typeof K=="function"){var V=l(function(z,Y){z===this._ticket&&(F.setContent(Y,H,I),this._updatePosition(I,B,N,R,F,L,M))},this);this._ticket=D,j=K(L,D,V)}F.setContent(j,H,I),F.show(I),this._updatePosition(I,B,N,R,F,L,M)},_updatePosition:function(I,_,L,D,N,R,B){var M=this._api.getWidth(),H=this._api.getHeight();_=_||I.get("position");var F=N.getSize(),K=I.get("align"),j=I.get("verticalAlign"),V=B&&B.getBoundingRect().clone();if(B&&V.applyTransform(B.transform),typeof _=="function"&&(_=_([L,D],R,N.el,V,{viewSize:[M,H],contentSize:F.slice()})),x.isArray(_))L=h(_[0],M),D=h(_[1],H);else if(x.isObject(_)){_.width=F[0],_.height=F[1];var z=r.getLayoutRect(_,{width:M,height:H});L=z.x,D=z.y,K=null,j=null}else if(typeof _=="string"&&B){var Y=w(_,V,F);L=Y[0],D=Y[1]}else{var Y=E(L,D,N,M,H,K?null:20,j?null:20);L=Y[0],D=Y[1]}if(K&&(L-=b(K)?F[0]/2:K==="right"?F[0]:0),j&&(D-=b(j)?F[1]/2:j==="bottom"?F[1]:0),I.get("confine")){var Y=C(L,D,N,M,H);L=Y[0],D=Y[1]}N.moveTo(L,D)},_updateContentNotChangedOnAxis:function(I){var _=this._lastDataByCoordSys,L=!!_&&_.length===I.length;return L&&u(_,function(D,N){var R=D.dataByAxis||{},B=I[N]||{},M=B.dataByAxis||[];L&=R.length===M.length,L&&u(R,function(H,F){var K=M[F]||{},j=H.seriesDataIndices||[],V=K.seriesDataIndices||[];L&=H.value===K.value&&H.axisType===K.axisType&&H.axisId===K.axisId&&j.length===V.length,L&&u(j,function(z,Y){var ee=V[Y];L&=z.seriesIndex===ee.seriesIndex&&z.dataIndex===ee.dataIndex})})}),this._lastDataByCoordSys=I,!!L},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,_){if(T.node)return;this._tooltipContent.dispose(),n.unregister("itemTooltip",_)}});function A(I){for(var _=I.pop();I.length;){var L=I.pop();L&&(a.isInstance(L)&&(L=L.get("tooltip",!0)),typeof L=="string"&&(L={formatter:L}),_=new a(L,_,_.ecModel))}return _}function y(I,_){return I.dispatchAction||x.bind(_.dispatchAction,_)}function E(I,_,L,D,N,R,B){var M=L.getOuterSize(),H=M.width,F=M.height;return R!=null&&(I+H+R>D?I-=H+R:I+=R),B!=null&&(_+F+B>N?_-=F+B:_+=B),[I,_]}function C(I,_,L,D,N){var R=L.getOuterSize(),B=R.width,M=R.height;return I=Math.min(I+B,D)-B,_=Math.min(_+M,N)-M,I=Math.max(I,0),_=Math.max(_,0),[I,_]}function w(I,_,L){var D=L[0],N=L[1],R=5,B=0,M=0,H=_.width,F=_.height;switch(I){case"inside":B=_.x+H/2-D/2,M=_.y+F/2-N/2;break;case"top":B=_.x+H/2-D/2,M=_.y-N-R;break;case"bottom":B=_.x+H/2-D/2,M=_.y+F+R;break;case"left":B=_.x-D-R,M=_.y+F/2-N/2;break;case"right":B=_.x+H+R,M=_.y+F/2-N/2}return[B,M]}function b(I){return I==="center"||I==="middle"}U.exports=g},Qxkt:function(U,P,d){var O=d("bYtY"),x=d("ItGF"),T=d("4NO4"),v=T.makeInner,S=d("Yl7c"),m=S.enableClassExtend,f=S.enableClassCheck,c=d("OQFs"),o=d("m9t5"),r=d("/iHx"),a=d("VR9l"),n=O.mixin,e=v();function s(u,h,p){this.parentModel=h,this.ecModel=p,this.option=u}s.prototype={constructor:s,init:null,mergeOption:function(u){O.merge(this.option,u,!0)},get:function(u,h){return u==null?this.option:t(this.option,this.parsePath(u),!h&&i(this,u))},getShallow:function(u,h){var p=this.option,g=p==null?p:p[u],A=!h&&i(this,u);return g==null&&A&&(g=A.getShallow(u)),g},getModel:function(u,h){var p=u==null?this.option:t(this.option,u=this.parsePath(u)),g;return h=h||(g=i(this,u))&&g.getModel(u),new s(p,h,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var u=this.constructor;return new u(O.clone(this.option))},setReadOnly:function(u){},parsePath:function(u){return typeof u=="string"&&(u=u.split(".")),u},customizeGetParent:function(u){e(this).getParent=u},isAnimationEnabled:function(){if(!x.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(u,h,p){for(var g=0;g=0;u--){var h=l[u];t(i.getAttribute(h.name),h.name)}})}function r(t){var i=e(t);S(function(l){l.removeAttribute(i),l.save(T)})}function a(){S(function(t){var i=t.XMLDocument.documentElement.attributes;t.load(T);for(var l=i.length-1;l>=0;l--)t.removeAttribute(i[l].name);t.save(T)})}var n=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function e(t){return t.replace(/^\d/,"___$&").replace(n,"___")}function s(){if(!v||!v.documentElement||!v.documentElement.addBehavior)return null;var t="script",i,l,u;try{l=new ActiveXObject("htmlfile"),l.open(),l.write("<"+t+">document.w=window'),l.close(),i=l.w.frames[0].document,u=i.createElement("div")}catch(h){u=v.createElement("div"),i=v.body}return function(h){var p=[].slice.call(arguments,0);p.unshift(u),i.appendChild(u),u.addBehavior("#default#userData"),u.load(T),h.apply(this,p),i.removeChild(u);return}}},RPvy:function(U,P,d){var O=d("ProS"),x=d("VaxA"),T="sunburstRootToNode";O.registerAction({type:T,update:"updateView"},function(m,f){f.eachComponent({mainType:"series",subType:"sunburst",query:m},c);function c(o,r){var a=x.retrieveTargetInfo(m,[T],o);if(a){var n=o.getViewRoot();n&&(m.direction=x.aboveViewRoot(n,a.node)?"rollUp":"drillDown"),o.resetViewRoot(a.node)}}});var v="sunburstHighlight";O.registerAction({type:v,update:"updateView"},function(m,f){f.eachComponent({mainType:"series",subType:"sunburst",query:m},c);function c(o,r){var a=x.retrieveTargetInfo(m,[v],o);a&&(m.highlight=a.node)}});var S="sunburstUnhighlight";O.registerAction({type:S,update:"updateView"},function(m,f){f.eachComponent({mainType:"series",subType:"sunburst",query:m},c);function c(o,r){m.unhighlight=!0}})},RSch:function(U,P,d){var O=d("IwbS"),x=d("bYtY");function T(m,f,c){O.Group.call(this),this._createPolyline(m,f,c)}var v=T.prototype;v._createPolyline=function(m,f,c){var o=m.getItemLayout(f),r=new O.Polyline({shape:{points:o}});this.add(r),this._updateCommonStl(m,f,c)},v.updateData=function(m,f,c){var o=m.hostModel,r=this.childAt(0),a={shape:{points:m.getItemLayout(f)}};O.updateProps(r,a,o,f),this._updateCommonStl(m,f,c)},v._updateCommonStl=function(m,f,c){var o=this.childAt(0),r=m.getItemModel(f),a=m.getItemVisual(f,"color"),n=c&&c.lineStyle,e=c&&c.hoverLineStyle;(!c||m.hasItemOption)&&(n=r.getModel("lineStyle").getLineStyle(),e=r.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(x.defaults({strokeNoScale:!0,fill:"none",stroke:a},n)),o.hoverStyle=e,O.setHoverStyle(this)},v.updateLayout=function(m,f){var c=this.childAt(0);c.setShape("points",m.getItemLayout(f))},x.inherits(T,O.Group);var S=T;U.exports=S},RXMa:function(U,P,d){var O=d("y+Vt"),x=O.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(v,S){var m=S.cx,f=S.cy,c=Math.PI*2;v.moveTo(m+S.r,f),v.arc(m,f,S.r,0,c,!1),v.moveTo(m+S.r0,f),v.arc(m,f,S.r0,0,c,!0)}});U.exports=x},RZPm:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("JgUQ")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="FileOutlined";var c=v.forwardRef(f);P.default=c},RlCK:function(U,P,d){var O=d("ProS"),x=d("bYtY");function T(v,S,m){var f={},c=v==="toggleSelected",o;return m.eachComponent("legend",function(r){c&&o!=null?r[o?"select":"unSelect"](S.name):v==="allSelect"||v==="inverseSelect"?r[v]():(r[v](S.name),o=r.isSelected(S.name));var a=r.getData();x.each(a,function(n){var e=n.get("name");if(e===` `||e==="")return;var s=r.isSelected(e);f.hasOwnProperty(e)?f[e]=f[e]&&s:f[e]=s})}),v==="allSelect"||v==="inverseSelect"?{selected:f}:{name:S.name,selected:f}}O.registerAction("legendToggleSelect","legendselectchanged",x.curry(T,"toggleSelected")),O.registerAction("legendAllSelect","legendselectall",x.curry(T,"allSelect")),O.registerAction("legendInverseSelect","legendinverseselect",x.curry(T,"inverseSelect")),O.registerAction("legendSelect","legendselected",x.curry(T,"select")),O.registerAction("legendUnSelect","legendunselected",x.curry(T,"unSelect"))},RotF:function(U,P,d){U.exports=d("LSTS")},Rx6q:function(U,P){function d(O){var x=O.getRect(),T=O.getRangeInfo();return{coordSys:{type:"calendar",x:x.x,y:x.y,width:x.width,height:x.height,cellWidth:O.getCellWidth(),cellHeight:O.getCellHeight(),rangeInfo:{start:T.start,end:T.end,weeks:T.weeks,dayCount:T.allDay}},api:{coord:function(v,S){return O.dataToPoint(v,S)}}}}U.exports=d},"S/Yl":function(U,P,d){var O=d("Zvw2"),x=d("aX7z"),T=d("+TT/"),v=T.getLayoutRect,S=d("bYtY"),m=S.each;function f(o,r,a){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,r,a),this.model=o}f.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:f,_init:function(o,r,a){var n=this.dimension,e=new O(n,x.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),s=e.type==="category";e.onBand=s&&o.get("boundaryGap"),e.inverse=o.get("inverse"),e.orient=o.get("orient"),o.axis=e,e.model=o,e.coordinateSystem=this,this._axis=e},update:function(o,r){o.eachSeries(function(a){if(a.coordinateSystem===this){var n=a.getData();m(n.mapDimension(this.dimension,!0),function(e){this._axis.scale.unionExtentFromData(n,e)},this),x.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,r){this._rect=v({left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,r=this._axis,a=r.isHorizontal(),n=a?[0,o.width]:[0,o.height],e=r.reverse?1:0;r.setExtent(n[e],n[1-e]),this._updateAxisTransform(r,a?o.x:o.y)},_updateAxisTransform:function(o,r){var a=o.getExtent(),n=a[0]+a[1],e=o.isHorizontal();o.toGlobalCoord=e?function(s){return s+r}:function(s){return n-s+r},o.toLocalCoord=e?function(s){return s-r}:function(s){return n-s+r}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(o){var r=this.getRect(),a=this.getAxis(),n=a.orient;return n==="horizontal"?a.contain(a.toLocalCoord(o[0]))&&o[1]>=r.y&&o[1]<=r.y+r.height:a.contain(a.toLocalCoord(o[1]))&&o[0]>=r.y&&o[0]<=r.y+r.height},pointToData:function(o){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(o[r.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var r=this.getAxis(),a=this.getRect(),n=[],e=r.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),n[e]=r.toGlobalCoord(r.dataToCoord(+o)),n[1-e]=e===0?a.y+a.height/2:a.x+a.width/2,n}};var c=f;U.exports=c},S6kV:function(U,P,d){(function(O,x,T){U.exports=P=x(d("Ib8C"),d("OLod"))})(this,function(O){return O.mode.OFB=function(){var x=O.lib.BlockCipherMode.extend(),T=x.Encryptor=x.extend({processBlock:function(S,m){var f=this._cipher,c=f.blockSize,o=this._iv,r=this._keystream;o&&(r=this._keystream=o.slice(0),this._iv=void 0),f.encryptBlock(r,0);for(var a=0;a=0;u--){var h=n[u].interval;if(h[0]<=l&&l<=h[1]){i=u;break}}return u>=0&&u=n[0]&&s<=n[1]}}function o(a){var n=a.dimensions;return n[0]==="lng"&&n[1]==="lat"}var r=T.extendChartView({type:"heatmap",render:function(a,n,e){var s;n.eachComponent("visualMap",function(i){i.eachTargetSeries(function(l){l===a&&(s=i)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=a.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(a,e,0,a.getData().count()):o(t)&&this._renderOnGeo(t,a,s,e)},incrementalPrepareRender:function(a,n,e){this.group.removeAll()},incrementalRender:function(a,n,e,s){var t=n.coordinateSystem;t&&this._renderOnCartesianAndCalendar(n,s,a.start,a.end,!0)},_renderOnCartesianAndCalendar:function(a,n,e,s,t){var i=a.coordinateSystem,l,u;if(i.type==="cartesian2d"){var h=i.getAxis("x"),p=i.getAxis("y");l=h.getBandWidth(),u=p.getBandWidth()}for(var g=this.group,A=a.getData(),y="itemStyle",E="emphasis.itemStyle",C="label",w="emphasis.label",b=a.getModel(y).getItemStyle(["color"]),I=a.getModel(E).getItemStyle(),_=a.getModel(C),L=a.getModel(w),D=i.type,N=D==="cartesian2d"?[A.mapDimension("x"),A.mapDimension("y"),A.mapDimension("value")]:[A.mapDimension("time"),A.mapDimension("value")],R=e;R=0?p=p+A:p=p-A:b>=0?p=p-A:p=p+A}return p}function n(e,s){var t=[],i=O.quadraticSubdivide,l=[[],[],[]],u=[[],[]],h=[];s/=2,e.eachEdge(function(p,g){var A=p.getLayout(),y=p.getVisual("fromSymbol"),E=p.getVisual("toSymbol");A.__original||(A.__original=[x.clone(A[0]),x.clone(A[1])],A[2]&&A.__original.push(x.clone(A[2])));var C=A.__original;if(A[2]!=null){if(x.copy(l[0],C[0]),x.copy(l[1],C[2]),x.copy(l[2],C[1]),y&&y!=="none"){var w=v(p.node1),b=a(l,C[0],w*s);i(l[0][0],l[1][0],l[2][0],b,t),l[0][0]=t[3],l[1][0]=t[4],i(l[0][1],l[1][1],l[2][1],b,t),l[0][1]=t[3],l[1][1]=t[4]}if(E&&E!=="none"){var w=v(p.node2),b=a(l,C[1],w*s);i(l[0][0],l[1][0],l[2][0],b,t),l[1][0]=t[1],l[2][0]=t[2],i(l[0][1],l[1][1],l[2][1],b,t),l[1][1]=t[1],l[2][1]=t[2]}x.copy(A[0],l[0]),x.copy(A[1],l[2]),x.copy(A[2],l[1])}else{if(x.copy(u[0],C[0]),x.copy(u[1],C[1]),x.sub(h,u[1],u[0]),x.normalize(h,h),y&&y!=="none"){var w=v(p.node1);x.scaleAndAdd(u[0],u[0],h,w*s)}if(E&&E!=="none"){var w=v(p.node2);x.scaleAndAdd(u[1],u[1],h,-w*s)}x.copy(A[0],u[0]),x.copy(A[1],u[1])}})}U.exports=n},SJMd:function(U,P){/** * @license * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */var d,O,x,T=!1,v,S;window.PR_SHOULD_USE_CONTINUATION=!0;var m,f;(function(){var c=window,o=["break,continue,do,else,for,if,return,while"],r=[o,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],n=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],e=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",i=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",u=[o,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],h=[o,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],p=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],g=[n,s,e,i,l,u,h,p],A=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,y="str",E="kwd",C="com",w="typ",b="lit",I="pun",_="pln",L="tag",D="dec",N="src",R="atn",B="atv",M="nocode",H="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function F(re){for(var G=0,X=!1,J=!1,Ae=0,he=re.length;Ae122||(Be<65||Nt>90||tt.push([Math.max(65,Nt)|32,Math.min(Be,90)|32]),Be<97||Nt>122||tt.push([Math.max(97,Nt)&~32,Math.min(Be,122)&~32]))}}tt.sort(function(De,ae){return De[0]-ae[0]||ae[1]-De[1]});for(var $=[],Z=[],Ot=0;OtRe[0]&&(Re[1]+1>Re[0]&&dt.push("-"),dt.push(pe(Re[1])))}return dt.push("]"),dt.join("")}function Ye(et){for(var Te=et.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),tt=Te.length,ze=[],dt=0,Ot=0;dt=2&&Nt==="["?Te[dt]=Oe(Tt):Nt!=="\\"&&(Te[dt]=Tt.replace(/[a-zA-Z]/g,function(Z){var Re=Z.charCodeAt(0);return"["+String.fromCharCode(Re&~32,Re|32)+"]"}))}return Te.join("")}for(var it=[],Ae=0,he=re.length;Ae=0;)X[it.charAt(et)]=Ye;var Te=Ye[1],tt=""+Te;oe.hasOwnProperty(tt)||(Ie.push(Te),oe[tt]=null)}Ie.push(/[\0-\uffff]/),J=F(Ie)})();var Ae=G.length,he=function Me(Ie){for(var oe=Ie.sourceCode,pe=Ie.basePos,Oe=Ie.sourceNode,Ye=[pe,_],it=0,et=oe.match(J)||[],Te={},tt=0,ze=et.length;tt=5&&Ot.substring(0,5)==="lang-",Ct&&!(Tt&&typeof Tt[1]=="string")&&(Ct=!1,Ot=N),Ct||(Te[dt]=Ot)}var $=it;if(it+=dt.length,!Ct)Ye.push(pe+$,Ot);else{var Z=Tt[1],Re=dt.indexOf(Z),De=Re+Z.length;Tt[2]&&(De=dt.length-Tt[2].length,Re=De-Z.length);var ae=Ot.substring(5);j(Oe,pe+$,dt.substring(0,Re),Me,Ye),j(Oe,pe+$+Re,Z,He(ae,Z),Ye),j(Oe,pe+$+De,dt.substring(De),Me,Ye)}}Ie.decorations=Ye};return he}function ee(re){var G=[],X=[];re.tripleQuotedStrings?G.push([y,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):re.multiLineStrings?G.push([y,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):G.push([y,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),re.verbatimStrings&&X.push([y,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var J=re.hashComments;J&&(re.cStyleComments?(J>1?G.push([C,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):G.push([C,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),X.push([y,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):G.push([C,/^#[^\r\n]*/,null,"#"])),re.cStyleComments&&(X.push([C,/^\/\/[^\r\n]*/,null]),X.push([C,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ae=re.regexLiterals;if(Ae){var he=Ae>1?"":` \r`,Me=he?".":"[\\S\\s]",Ie="/(?=[^/*"+he+"])(?:[^/\\x5B\\x5C"+he+"]|\\x5C"+Me+"|\\x5B(?:[^\\x5C\\x5D"+he+"]|\\x5C"+Me+")*(?:\\x5D|$))+/";X.push(["lang-regex",RegExp("^"+H+"("+Ie+")")])}var oe=re.types;oe&&X.push([w,oe]);var pe=(""+re.keywords).replace(/^ | $/g,"");pe.length&&X.push([E,new RegExp("^(?:"+pe.replace(/[\s,]+/g,"|")+")\\b"),null]),G.push([_,/^\s+/,null,` \r \xA0`]);var Oe="^.[^\\s\\w.$@'\"`/\\\\]*";return re.regexLiterals&&(Oe+="(?!s*/)"),X.push([b,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[_,/^[a-z_$][a-z_$@0-9]*/i,null],[b,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[_,/^\\[\s\S]?/,null],[I,new RegExp(Oe),null]),Y(G,X)}var fe=ee({keywords:g,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function ie(re,G,X){for(var J=/(?:^|\s)nocode(?:\s|$)/,Ae=/\r\n?|\n/,he=re.ownerDocument,Me=he.createElement("li");re.firstChild;)Me.appendChild(re.firstChild);var Ie=[Me];function oe(Te){var tt=Te.nodeType;if(tt==1&&!J.test(Te.className))if(Te.nodeName==="br")pe(Te),Te.parentNode&&Te.parentNode.removeChild(Te);else for(var ze=Te.firstChild;ze;ze=ze.nextSibling)oe(ze);else if((tt==3||tt==4)&&X){var dt=Te.nodeValue,Ot=dt.match(Ae);if(Ot){var Tt=dt.substring(0,Ot.index);Te.nodeValue=Tt;var Ct=dt.substring(Ot.index+Ot[0].length);if(Ct){var Nt=Te.parentNode;Nt.insertBefore(he.createTextNode(Ct),Te.nextSibling)}pe(Te),Tt||Te.parentNode.removeChild(Te)}}}function pe(Te){for(;!Te.nextSibling;)if(Te=Te.parentNode,!Te)return;function tt(Ot,Tt){var Ct=Tt?Ot.cloneNode(!1):Ot,Nt=Ot.parentNode;if(Nt){var Be=tt(Nt,1),$=Ot.nextSibling;Be.appendChild(Ct);for(var Z=$;Z;Z=$)$=Z.nextSibling,Be.appendChild(Z)}return Ct}for(var ze=tt(Te.nextSibling,0),dt;(dt=ze.parentNode)&&dt.nodeType===1;)ze=dt;Ie.push(ze)}for(var Oe=0;Oe=Nt&&(oe+=2),he>=Be&&(Ye+=2)}}finally{dt&&(dt.style.display=Ot)}}var Ce={};function Le(re,G){for(var X=G.length;--X>=0;){var J=G[X];Ce.hasOwnProperty(J)?c.console&&console.warn("cannot override language handler %s",J):Ce[J]=re}}function He(re,G){return re&&Ce.hasOwnProperty(re)||(re=/^\s*]*(?:>|$)/],[C,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Le(Y([[_,/^[\s]+/,null,` \r `],[B,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[L,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[R,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Le(Y([],[[B,/^[\s\S]+/]]),["uq.val"]),Le(ee({keywords:n,hashComments:!0,cStyleComments:!0,types:A}),["c","cc","cpp","cxx","cyc","m"]),Le(ee({keywords:"null,true,false"}),["json"]),Le(ee({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:A}),["cs"]),Le(ee({keywords:e,cStyleComments:!0}),["java"]),Le(ee({keywords:p,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Le(ee({keywords:u,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Le(ee({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Le(ee({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Le(ee({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Le(ee({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Le(Y([],[[y,/^[\s\S]+/]]),["regex"]);function ce(re){var G=re.langExtension;try{var X=K(re.sourceNode,re.pre),J=X.sourceCode;re.sourceCode=J,re.spans=X.spans,re.basePos=0,He(G,J)(re),we(re)}catch(Ae){c.console&&console.log(Ae&&Ae.stack||Ae)}}function Pe(re,G,X){var J=X||!1,Ae=G||null,he=document.createElement("div");he.innerHTML="
    "+re+"
    ",he=he.firstChild,J&&ie(he,J,!0);var Me={langExtension:Ae,numberLines:J,sourceNode:he,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ce(Me),he.innerHTML}function Q(re,G){var X=G||document.body,J=X.ownerDocument||document;function Ae(Ct){return X.getElementsByTagName(Ct)}for(var he=[Ae("pre"),Ae("code"),Ae("xmp")],Me=[],Ie=0;Ie=S.right?m.x=S.width-1:m.x=x-S.left,T=S.bottom?m.y=S.height-1:m.y=T-S.top,m}},Sdc0:function(U,P,d){"use strict";var O=d("pVnL"),x=d.n(O),T=d("lSNA"),v=d.n(T),S=d("q1tI"),m=d("rePB"),f=d("ODXe"),c=d("Ff2n"),o=d("TSYQ"),r=d.n(o),a=d("6cGi"),n=d("4IlW"),e=S.forwardRef(function(E,C){var w,b=E.prefixCls,I=b===void 0?"rc-switch":b,_=E.className,L=E.checked,D=E.defaultChecked,N=E.disabled,R=E.loadingIcon,B=E.checkedChildren,M=E.unCheckedChildren,H=E.onClick,F=E.onChange,K=E.onKeyDown,j=Object(c.a)(E,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(a.a)(!1,{value:L,defaultValue:D}),z=Object(f.a)(V,2),Y=z[0],ee=z[1];function fe(Le,He){var ce=Y;return N||(ce=Le,ee(ce),F==null||F(ce,He)),ce}function ie(Le){Le.which===n.a.LEFT?fe(!1,Le):Le.which===n.a.RIGHT&&fe(!0,Le),K==null||K(Le)}function we(Le){var He=fe(!Y,Le);H==null||H(He,Le)}var Ce=r()(I,_,(w={},Object(m.a)(w,"".concat(I,"-checked"),Y),Object(m.a)(w,"".concat(I,"-disabled"),N),w));return S.createElement("button",Object.assign({},j,{type:"button",role:"switch","aria-checked":Y,disabled:N,className:Ce,ref:C,onKeyDown:ie,onClick:we}),R,S.createElement("span",{className:"".concat(I,"-inner")},Y?B:M))});e.displayName="Switch";var s=e,t=d("gZBC"),i=d.n(t),l=d("g0mS"),u=d("H84U"),h=d("3Nzz"),p=d("uaoM"),g=function(E,C){var w={};for(var b in E)Object.prototype.hasOwnProperty.call(E,b)&&C.indexOf(b)<0&&(w[b]=E[b]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,b=Object.getOwnPropertySymbols(E);I3?1.4:h>1?1.2:1.1,y=u>0?A:1/A;a(this,"zoom","zoomOnMouseWheel",t,{scale:y,originX:p,originY:g})}if(l){var E=Math.abs(u),C=(u>0?1:-1)*(E>3?.4:E>1?.15:.05);a(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:C,originX:p,originY:g})}}function r(t){if(v.isTaken(this._zr,"globalPan"))return;var i=t.pinchScale>1?1.1:1/1.1;a(this,"zoom",null,t,{scale:i,originX:t.pinchX,originY:t.pinchY})}function a(t,i,l,u,h){t.pointerChecker&&t.pointerChecker(u,h.originX,h.originY)&&(T.stop(u.event),n(t,i,l,u,h))}function n(t,i,l,u,h){h.isAvailableBehavior=O.bind(e,null,l,u),t.trigger(i,h)}function e(t,i,l){var u=l[t];return!t||u&&(!O.isString(u)||i.event[u+"Key"])}var s=S;U.exports=s},SgaC:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function O(S,m){if(!(S instanceof m))throw new TypeError("Cannot call a class as a function")}function x(S,m){for(var f=0;f0;){if(a.rQwait("RRE",4+8))return!1;var t=a.rQshiftBytes(4),i=a.rQshift16(),l=a.rQshift16(),u=a.rQshift16(),h=a.rQshift16();n.fillRect(f+i,c+l,u,h,t),this._subrects--}return!0}}]),S}();P.default=v},Sj0X:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("XuBP")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="DownOutlined";var c=v.forwardRef(f);P.default=c},Sj9i:function(U,P,d){var O=d("QBsz"),x=O.create,T=O.distSquare,v=Math.pow,S=Math.sqrt,m=1e-8,f=1e-4,c=S(3),o=1/3,r=x(),a=x(),n=x();function e(b){return b>-m&&bm||b<-m}function t(b,I,_,L,D){var N=1-D;return N*N*(N*b+3*D*I)+D*D*(D*L+3*N*_)}function i(b,I,_,L,D){var N=1-D;return 3*(((I-b)*N+2*(_-I)*D)*N+(L-_)*D*D)}function l(b,I,_,L,D,N){var R=L+3*(I-_)-b,B=3*(_-I*2+b),M=3*(I-b),H=b-D,F=B*B-3*R*M,K=B*M-9*R*H,j=M*M-3*B*H,V=0;if(e(F)&&e(K))if(e(B))N[0]=0;else{var z=-M/B;z>=0&&z<=1&&(N[V++]=z)}else{var Y=K*K-4*F*j;if(e(Y)){var ee=K/F,z=-B/R+ee,fe=-ee/2;z>=0&&z<=1&&(N[V++]=z),fe>=0&&fe<=1&&(N[V++]=fe)}else if(Y>0){var ie=S(Y),we=F*B+1.5*R*(-K+ie),Ce=F*B+1.5*R*(-K-ie);we<0?we=-v(-we,o):we=v(we,o),Ce<0?Ce=-v(-Ce,o):Ce=v(Ce,o);var z=(-B-(we+Ce))/(3*R);z>=0&&z<=1&&(N[V++]=z)}else{var Le=(2*F*B-3*R*K)/(2*S(F*F*F)),He=Math.acos(Le)/3,ce=S(F),Pe=Math.cos(He),z=(-B-2*ce*Pe)/(3*R),fe=(-B+ce*(Pe+c*Math.sin(He)))/(3*R),Q=(-B+ce*(Pe-c*Math.sin(He)))/(3*R);z>=0&&z<=1&&(N[V++]=z),fe>=0&&fe<=1&&(N[V++]=fe),Q>=0&&Q<=1&&(N[V++]=Q)}}return V}function u(b,I,_,L,D){var N=6*_-12*I+6*b,R=9*I+3*L-3*b-9*_,B=3*I-3*b,M=0;if(e(R)){if(s(N)){var H=-B/N;H>=0&&H<=1&&(D[M++]=H)}}else{var F=N*N-4*R*B;if(e(F))D[0]=-N/(2*R);else if(F>0){var K=S(F),H=(-N+K)/(2*R),j=(-N-K)/(2*R);H>=0&&H<=1&&(D[M++]=H),j>=0&&j<=1&&(D[M++]=j)}}return M}function h(b,I,_,L,D,N){var R=(I-b)*D+b,B=(_-I)*D+I,M=(L-_)*D+_,H=(B-R)*D+R,F=(M-B)*D+B,K=(F-H)*D+H;N[0]=b,N[1]=R,N[2]=H,N[3]=K,N[4]=K,N[5]=F,N[6]=M,N[7]=L}function p(b,I,_,L,D,N,R,B,M,H,F){var K,j=.005,V=Infinity,z,Y,ee,fe;r[0]=M,r[1]=H;for(var ie=0;ie<1;ie+=.05)a[0]=t(b,_,D,R,ie),a[1]=t(I,L,N,B,ie),ee=T(r,a),ee=0&&ee=0&&H<=1&&(D[M++]=H)}}else{var F=R*R-4*N*B;if(e(F)){var H=-R/(2*N);H>=0&&H<=1&&(D[M++]=H)}else if(F>0){var K=S(F),H=(-R+K)/(2*N),j=(-R-K)/(2*N);H>=0&&H<=1&&(D[M++]=H),j>=0&&j<=1&&(D[M++]=j)}}return M}function E(b,I,_){var L=b+_-2*I;return L===0?.5:(b-I)/L}function C(b,I,_,L,D){var N=(I-b)*L+b,R=(_-I)*L+I,B=(R-N)*L+N;D[0]=b,D[1]=N,D[2]=B,D[3]=B,D[4]=R,D[5]=_}function w(b,I,_,L,D,N,R,B,M){var H,F=.005,K=Infinity;r[0]=R,r[1]=B;for(var j=0;j<1;j+=.05){a[0]=g(b,_,D,j),a[1]=g(I,L,N,j);var V=T(r,a);V=0&&V=0;--p)if(h[p]===u)return!0;return!1}),l):null:l[0]},e.prototype.update=function(t,i){if(!t)return;var l=this.getDefs(!1);if(t[this._domName]&&l.contains(t[this._domName]))typeof i=="function"&&i(t);else{var u=this.add(t);u&&(t[this._domName]=u)}},e.prototype.addDom=function(t){var i=this.getDefs(!0);i.appendChild(t)},e.prototype.removeDom=function(t){var i=this.getDefs(!1);i&&t[this._domName]&&(i.removeChild(t[this._domName]),t[this._domName]=null)},e.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var i=[];return T.each(this._tagNames,function(l){var u=t.getElementsByTagName(l);i=i.concat([].slice.call(u))}),i},e.prototype.markAllUnused=function(){var t=this.getDoms(),i=this;T.each(t,function(l){l[i._markLabel]=a})},e.prototype.markUsed=function(t){t&&(t[this._markLabel]=n)},e.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var i=this.getDoms(),l=this;T.each(i,function(u){u[l._markLabel]!==n&&t.removeChild(u)})},e.prototype.getSvgProxy=function(t){return t instanceof v?c:t instanceof S?o:t instanceof m?r:c},e.prototype.getTextSvgElement=function(t){return t.__textSvgEl},e.prototype.getSvgElement=function(t){return t.__svgEl};var s=e;U.exports=s},Swgg:function(U,P,d){var O=d("fc+c"),x=O.extend({type:"dataZoom.select"});U.exports=x},Sxd8:function(U,P,d){var O=d("ZCgT");function x(T){var v=O(T),S=v%1;return v===v?S?v-S:v:0}U.exports=x},T1rO:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("zdCA"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},T4UG:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("bYtY"),v=d("ItGF"),S=d("7aKB"),m=S.formatTime,f=S.encodeHTML,c=S.addCommas,o=S.getTooltipMarker,r=d("4NO4"),a=d("bLfw"),n=d("5Hur"),e=d("OKJ2"),s=d("+TT/"),t=s.getLayoutParams,i=s.mergeLayoutParam,l=d("9H2F"),u=l.createTask,h=d("D5nY"),p=h.prepareSource,g=h.getSource,A=d("KxfA"),y=A.retrieveRawValue,E=r.makeInner(),C=a.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(M,H,F,K){this.seriesIndex=this.componentIndex,this.dataTask=u({count:I,reset:_}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(M,F),p(this);var j=this.getInitialData(M,F);D(j,this),this.dataTask.context.data=j,E(this).dataBeforeProcessed=j,w(this)},mergeDefaultAndTheme:function(M,H){var F=this.layoutMode,K=F?t(M):{},j=this.subType;a.hasClass(j)&&(j+="Series"),T.merge(M,H.getTheme().get(this.subType)),T.merge(M,this.getDefaultOption()),r.defaultEmphasis(M,"label",["show"]),this.fillDataTextStyle(M.data),F&&i(M,K,F)},mergeOption:function(M,H){M=T.merge(this.option,M,!0),this.fillDataTextStyle(M.data);var F=this.layoutMode;F&&i(this.option,M,F),p(this);var K=this.getInitialData(M,H);D(K,this),this.dataTask.dirty(),this.dataTask.context.data=K,E(this).dataBeforeProcessed=K,w(this)},fillDataTextStyle:function(M){if(M&&!T.isTypedArray(M))for(var H=["show"],F=0;F":` `,z=K==="richText",Y={},ee=0;function fe(he){var Me=T.reduce(he,function(Ye,it,et){var Te=we.getDimensionInfo(et);return Ye|=Te&&Te.tooltip!==!1&&Te.displayName!=null},0),Ie=[];Ce.length?T.each(Ce,function(Ye){oe(y(we,M,Ye),Ye)}):T.each(he,oe);function oe(Ye,it){var et=we.getDimensionInfo(it);if(!et||et.otherDims.tooltip===!1)return;var Te=et.type,tt="sub"+j.seriesIndex+"at"+ee,ze=o({color:Pe,type:"subItem",renderMode:K,markerId:tt}),dt=typeof ze=="string"?ze:ze.content,Ot=(Me?dt+f(et.displayName||"-")+": ":"")+f(Te==="ordinal"?Ye+"":Te==="time"?H?"":m("yyyy/MM/dd hh:mm:ss",Ye):c(Ye));Ot&&Ie.push(Ot),z&&(Y[tt]=Pe,++ee)}var pe=Me?z?` `:"
    ":"",Oe=pe+Ie.join(pe||", ");return{renderMode:K,content:Oe,style:Y}}function ie(he){return{renderMode:K,content:f(c(he)),style:Y}}var we=this.getData(),Ce=we.mapDimension("defaultedTooltip",!0),Le=Ce.length,He=this.getRawValue(M),ce=T.isArray(He),Pe=we.getItemVisual(M,"color");T.isObject(Pe)&&Pe.colorStops&&(Pe=(Pe.colorStops[0]||{}).color),Pe=Pe||"transparent";var Q=Le>1||ce&&!Le?fe(He):ie(Le?y(we,M,Ce[0]):ce?He[0]:He),me=Q.content,Je=j.seriesIndex+"at"+ee,re=o({color:Pe,type:"item",renderMode:K,markerId:Je});Y[Je]=Pe,++ee;var G=we.getName(M),X=this.name;r.isNameSpecified(this)||(X=""),X=X?f(X)+(H?": ":V):"";var J=typeof re=="string"?re:re.content,Ae=H?J+X+me:X+J+(G?f(G)+": "+me:me);return{html:Ae,markers:Y}},isAnimationEnabled:function(){if(v.node)return!1;var M=this.getShallow("animation");return M&&(this.getData().count()>this.getShallow("animationThreshold")&&(M=!1)),M},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(M,H,F){var K=this.ecModel,j=n.getColorFromPalette.call(this,M,H,F);return j||(j=K.getColorFromPalette(M,H,F)),j},coordDimToDataDim:function(M){return this.getRawData().mapDimension(M,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});T.mixin(C,e),T.mixin(C,n);function w(M){var H=M.name;r.isNameSpecified(M)||(M.name=b(M)||H)}function b(M){var H=M.getRawData(),F=H.mapDimension("seriesName",!0),K=[];return T.each(F,function(j){var V=H.getDimensionInfo(j);V.displayName&&K.push(V.displayName)}),K.join(" ")}function I(M){return M.model.getRawData().count()}function _(M){var H=M.model;return H.setData(H.getRawData().cloneShallow()),L}function L(M,H){H.outputData&&M.end>H.outputData.count()&&H.model.getRawData().cloneShallow(H.outputData)}function D(M,H){T.each(M.CHANGABLE_METHODS,function(F){M.wrapMethod(F,T.curry(N,H))})}function N(M){var H=R(M);H&&H.setOutputEnd(this.count())}function R(M){var H=(M.ecModel||{}).scheduler,F=H&&H.getPipeline(M.uid);if(F){var K=F.currentTask;if(K){var j=K.agentStubMap;j&&(K=j.get(M.uid))}return K}}var B=C;U.exports=B},T6xi:function(U,P,d){var O=d("YgsL"),x=d("nCxF");function T(v,S,m){var f=S.points,c=S.smooth;if(f&&f.length>=2){if(c&&c!=="spline"){var o=x(f,c,m,S.smoothConstraint);v.moveTo(f[0][0],f[0][1]);for(var r=f.length,a=0;a<(m?r:r-1);a++){var n=o[a*2],e=o[a*2+1],s=f[(a+1)%r];v.bezierCurveTo(n[0],n[1],e[0],e[1],s[0],s[1])}}else{c==="spline"&&(f=O(f,m)),v.moveTo(f[0][0],f[0][1]);for(var a=1,t=f.length;a0?v:S)}function e(s,t){return t.get(s>0?x:T)}}};U.exports=m},TWL2:function(U,P,d){var O=d("IwbS"),x=d("bYtY"),T=d("6Ic6");function v(o,r){O.Group.call(this);var a=new O.Polygon,n=new O.Polyline,e=new O.Text;this.add(a),this.add(n),this.add(e),this.highDownOnUpdate=function(s,t){t==="emphasis"?(n.ignore=n.hoverIgnore,e.ignore=e.hoverIgnore):(n.ignore=n.normalIgnore,e.ignore=e.normalIgnore)},this.updateData(o,r,!0)}var S=v.prototype,m=["itemStyle","opacity"];S.updateData=function(o,r,a){var n=this.childAt(0),e=o.hostModel,s=o.getItemModel(r),t=o.getItemLayout(r),i=o.getItemModel(r).get(m);i=i==null?1:i,n.useStyle({}),a?(n.setShape({points:t.points}),n.setStyle({opacity:0}),O.initProps(n,{style:{opacity:i}},e,r)):O.updateProps(n,{style:{opacity:i},shape:{points:t.points}},e,r);var l=s.getModel("itemStyle"),u=o.getItemVisual(r,"color");n.setStyle(x.defaults({lineJoin:"round",fill:u},l.getItemStyle(["opacity"]))),n.hoverStyle=l.getModel("emphasis").getItemStyle(),this._updateLabel(o,r),O.setHoverStyle(this)},S._updateLabel=function(o,r){var a=this.childAt(1),n=this.childAt(2),e=o.hostModel,s=o.getItemModel(r),t=o.getItemLayout(r),i=t.label,l=o.getItemVisual(r,"color");O.updateProps(a,{shape:{points:i.linePoints||i.linePoints}},e,r),O.updateProps(n,{style:{x:i.x,y:i.y}},e,r),n.attr({rotation:i.rotation,origin:[i.x,i.y],z2:10});var u=s.getModel("label"),h=s.getModel("emphasis.label"),p=s.getModel("labelLine"),g=s.getModel("emphasis.labelLine"),l=o.getItemVisual(r,"color");O.setLabelStyle(n.style,n.hoverStyle={},u,h,{labelFetcher:o.hostModel,labelDataIndex:r,defaultText:o.getName(r),autoColor:l,useInsideStyle:!!i.inside},{textAlign:i.textAlign,textVerticalAlign:i.verticalAlign}),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!h.get("show"),a.ignore=a.normalIgnore=!p.get("show"),a.hoverIgnore=!g.get("show"),a.setStyle({stroke:l}),a.setStyle(p.getModel("lineStyle").getLineStyle()),a.hoverStyle=g.getModel("lineStyle").getLineStyle()},x.inherits(v,O.Group);var f=T.extend({type:"funnel",render:function(o,r,a){var n=o.getData(),e=this._data,s=this.group;n.diff(e).add(function(t){var i=new v(n,t);n.setItemGraphicEl(t,i),s.add(i)}).update(function(t,i){var l=e.getItemGraphicEl(i);l.updateData(n,t),s.add(l),n.setItemGraphicEl(t,l)}).remove(function(t){var i=e.getItemGraphicEl(t);s.remove(i)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=f;U.exports=c},TYVI:function(U,P,d){var O=d("5GtS"),x=d("T4UG"),T=x.extend({type:"series.gauge",getInitialData:function(S,m){return O(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),v=T;U.exports=v},Tghj:function(U,P,d){(function(O){var x;typeof window!="undefined"?x=window.__DEV__:typeof O!="undefined"&&(x=O.__DEV__),typeof x=="undefined"&&(x=!0);var T=x;P.__DEV__=T}).call(this,d("yLpj"))},ThAp:function(U,P,d){var O=d("bYtY"),x=d("5GtS"),T=d("T4UG"),v=d("7aKB"),S=v.encodeHTML,m=v.addCommas,f=d("cCMj"),c=d("KxfA"),o=c.retrieveRawAttr,r=d("W4dC"),a=d("D5nY"),n=a.makeSeriesEncodeForNameBased,e=T.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var i=x(this,{coordDimensions:["value"],encodeDefaulter:O.curry(n,this)}),l=i.mapDimension("value"),u=O.createHashMap(),h=[],p=[],g=0,A=i.count();g"+S(u+" : "+l)},getTooltipPosition:function(t){if(t!=null){var i=this.getData().getName(t),l=this.coordinateSystem,u=l.getRegion(i);return u&&l.dataToPoint(u.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});O.mixin(e,f);var s=e;U.exports=s},TkdX:function(U,P,d){var O=d("bYtY"),x=d("IwbS"),T={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},v=2,S=4;function m(e,s,t){x.Group.call(this);var i=new x.Sector({z2:v});i.seriesIndex=s.seriesIndex;var l=new x.Text({z2:S,silent:e.getModel("label").get("silent")});this.add(i),this.add(l),this.updateData(!0,e,"normal",s,t);function u(){l.ignore=l.hoverIgnore}function h(){l.ignore=l.normalIgnore}this.on("emphasis",u).on("normal",h).on("mouseover",u).on("mouseout",h)}var f=m.prototype;f.updateData=function(e,s,t,i,l){this.node=s,s.piece=this,i=i||this._seriesModel,l=l||this._ecModel;var u=this.childAt(0);u.dataIndex=s.dataIndex;var h=s.getModel(),p=s.getLayout(),g=O.extend({},p);g.label=null;var A=o(s,i,l);n(s,i,A);var y=h.getModel("itemStyle").getItemStyle(),E;if(t==="normal")E=y;else{var C=h.getModel(t+".itemStyle").getItemStyle();E=O.merge(C,y)}E=O.defaults({lineJoin:"bevel",fill:E.fill||A},E),e?(u.setShape(g),u.shape.r=p.r0,x.updateProps(u,{shape:{r:p.r}},i,s.dataIndex),u.useStyle(E)):typeof E.fill=="object"&&E.fill.type||typeof u.style.fill=="object"&&u.style.fill.type?(x.updateProps(u,{shape:g},i),u.useStyle(E)):x.updateProps(u,{shape:g,style:E},i),this._updateLabel(i,A,t);var w=h.getShallow("cursor");if(w&&u.attr("cursor",w),e){var b=i.getShallow("highlightPolicy");this._initEvents(u,s,i,b)}this._seriesModel=i||this._seriesModel,this._ecModel=l||this._ecModel,x.setHoverStyle(this)},f.onEmphasis=function(e){var s=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(s.node===t?t.piece.updateData(!1,t,"emphasis"):a(t,s.node,e)?t.piece.childAt(0).trigger("highlight"):e!==T.NONE&&t.piece.childAt(0).trigger("downplay"))})},f.onNormal=function(){this.node.hostTree.root.eachNode(function(e){e.piece&&e.piece.updateData(!1,e,"normal")})},f.onHighlight=function(){this.updateData(!1,this.node,"highlight")},f.onDownplay=function(){this.updateData(!1,this.node,"downplay")},f._updateLabel=function(e,s,t){var i=this.node.getModel(),l=i.getModel("label"),u=t==="normal"||t==="emphasis"?l:i.getModel(t+".label"),h=i.getModel("emphasis.label"),p=O.retrieve(e.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);H("show")===!1&&(p="");var g=this.node.getLayout(),A=u.get("minAngle");A==null&&(A=l.get("minAngle")),A=A/180*Math.PI;var y=g.endAngle-g.startAngle;A!=null&&Math.abs(y)Math.PI/2?"right":"left"):!D||D==="center"?(I=(g.r+g.r0)/2,D="center"):D==="left"?(I=g.r0+L,C>Math.PI/2&&(D="right")):D==="right"&&(I=g.r-L,C>Math.PI/2&&(D="left")),E.attr("style",{text:p,textAlign:D,textVerticalAlign:H("verticalAlign")||"middle",opacity:H("opacity")});var N=I*w+g.cx,R=I*b+g.cy;E.attr("position",[N,R]);var B=H("rotate"),M=0;B==="radial"?(M=-C,M<-Math.PI/2&&(M+=Math.PI)):B==="tangential"?(M=Math.PI/2-C,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):typeof B=="number"&&(M=B*Math.PI/180),E.attr("rotation",M);function H(F){var K=u.get(F);return K==null?l.get(F):K}},f._initEvents=function(e,s,t,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var l=this,u=function(){l.onEmphasis(i)},h=function(){l.onNormal()},p=function(){l.onDownplay()},g=function(){l.onHighlight()};t.isAnimationEnabled()&&e.on("mouseover",u).on("mouseout",h).on("emphasis",u).on("normal",h).on("downplay",p).on("highlight",g)},O.inherits(m,x.Group);var c=m;function o(e,s,t){var i=e.getVisual("color"),l=e.getVisual("visualMeta");(!l||l.length===0)&&(i=null);var u=e.getModel("itemStyle").get("color");if(u)return u;if(i)return i;if(e.depth===0)return t.option.color[0];var h=t.option.color.length;return u=t.option.color[r(e)%h],u}function r(e){for(var s=e;s.depth>1;)s=s.parentNode;var t=e.getAncestors()[0];return O.indexOf(t.children,s)}function a(e,s,t){return t===T.NONE?!1:t===T.SELF?e===s:t===T.ANCESTOR?e===s||e.isAncestorOf(s):e===s||e.isDescendantOf(s)}function n(e,s,t){var i=s.getData();i.setItemVisual(e.dataIndex,"color",t)}U.exports=c},Tp9H:function(U,P,d){var O=d("ItGF"),x=d("Kagy"),T=d("IUWy"),v=x.toolbox.saveAsImage;function S(c){this.model=c}S.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:v.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:v.lang.slice()},S.prototype.unusable=!O.canvasSupported;var m=S.prototype;m.onclick=function(c,o){var r=this.model,a=r.get("name")||c.get("title.0.text")||"echarts",n=o.getZr().painter.getType()==="svg",e=n?"svg":r.get("type",!0)||"png",s=o.getConnectedDataURL({type:e,backgroundColor:r.get("backgroundColor",!0)||c.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!O.browser.ie&&!O.browser.edge){var t=document.createElement("a");t.download=a+"."+e,t.target="_blank",t.href=s;var i=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(i)}else if(window.navigator.msSaveOrOpenBlob){for(var l=atob(s.split(",")[1]),u=l.length,h=new Uint8Array(u);u--;)h[u]=l.charCodeAt(u);var p=new Blob([h]);window.navigator.msSaveOrOpenBlob(p,a+"."+e)}else{var g=r.get("lang"),A='',y=window.open();y.document.write(A)}},T.register("saveAsImage",S);var f=S;U.exports=f},"U/Mo":function(U,P){function d(x){var T=x.coordinateSystem;if(T.type!=="view")return 1;var v=x.option.nodeScaleRatio,S=T.scale,m=S&&S[0]||1,f=T.getZoom(),c=(f-1)*v+1;return c/m}function O(x){var T=x.getVisual("symbolSize");return T instanceof Array&&(T=(T[0]+T[1])/2),+T}P.getNodeGlobalScale=d,P.getSymbolSize=O},UADf:function(U,P,d){},UESt:function(U,P,d){"use strict";var O=d("VTBJ"),x=d("q1tI"),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},v=T,S=d("6VBw"),m=function(o,r){return x.createElement(S.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:v}))};m.displayName="RightOutlined";var f=P.a=x.forwardRef(m)},UOVi:function(U,P,d){var O=d("bYtY"),x=d("7aKB"),T=["x","y","z","radius","angle","single"],v=["cartesian2d","polar","singleAxis"];function S(o){return O.indexOf(v,o)>=0}function m(o,r){o=o.slice();var a=O.map(o,x.capitalFirst);r=(r||[]).slice();var n=O.map(r,x.capitalFirst);return function(e,s){O.each(o,function(t,i){for(var l={name:t,capital:a[i]},u=0;u=0}function e(t,i){var l=!1;return r(function(u){O.each(a(t,u)||[],function(h){i.records[u.name][h]&&(l=!0)})}),l}function s(t,i){i.nodes.push(t),r(function(l){O.each(a(t,l)||[],function(u){i.records[l.name][u]=!0})})}}P.isCoordSupported=S,P.createNameEach=m,P.eachAxisDim=f,P.createLinkedNodesFinder=c},Uc92:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};P.default=O},UnoB:function(U,P,d){var O=d("bYtY"),x=d("OELB");function T(m,f){m.eachSeriesByType("themeRiver",function(c){var o=c.getData(),r=c.coordinateSystem,a={},n=r.getRect();a.rect=n;var e=c.get("boundaryGap"),s=r.getAxis();if(a.boundaryGap=e,s.orient==="horizontal"){e[0]=x.parsePercent(e[0],n.height),e[1]=x.parsePercent(e[1],n.height);var t=n.height-e[0]-e[1];v(o,c,t)}else{e[0]=x.parsePercent(e[0],n.width),e[1]=x.parsePercent(e[1],n.width);var i=n.width-e[0]-e[1];v(o,c,i)}o.setLayout("layoutInfo",a)})}function v(m,f,c){if(!m.count())return;for(var o=f.coordinateSystem,r=f.getLayerSeries(),a=m.mapDimension("single"),n=m.mapDimension("value"),e=O.map(r,function(A){return O.map(A.indices,function(y){var E=o.dataToPoint(m.get(a,y));return E[1]=m.get(n,y),E})}),s=S(e),t=s.y0,i=c/s.max,l=r.length,u=r[0].indices.length,h,p=0;pa&&(a=n),o.push(n)}for(var i=0;ia&&(a=u)}return e.y0=r,e.max=a,e}U.exports=T},Urep:function(U,P,d){},V7ic:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("digP")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="FileTwoTone";var c=v.forwardRef(f);P.default=c},VFCP:function(U,P,d){d("dBmv"),d("KamJ")},VPsl:function(U,P){function d(O){O.eachSeriesByType("map",function(x){var T=x.get("color"),v=x.getModel("itemStyle"),S=v.get("areaColor"),m=v.get("color")||T[x.seriesIndex%T.length];x.getData().setVisual({areaColor:S,color:m})})}U.exports=d},VR9l:function(U,P,d){var O=d("KCsZ"),x=O([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),T={getItemStyle:function(v,S){var m=x(this,v,S),f=this.getBorderLineDash();return f&&(m.lineDash=f),m},getBorderLineDash:function(){var v=this.get("borderType");return v==="solid"||v==null?null:v==="dashed"?[5,5]:[1,1]}};U.exports=T},VSLf:function(U,P,d){d("I+Bx"),d("F0hE"),d("bBKM")},VSMT:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.decodeUTF8=O,P.encodeUTF8=x;function O(T){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(T))}catch(S){if(S instanceof URIError&&v)return T;throw S}}function x(T){return unescape(encodeURIComponent(T))}},VXYp:function(U,P,d){var O=d("bYtY"),x=d("SgGq"),T=d("iLNv"),v="\0_ec_dataZoom_roams";function S(e,s){var t=c(e),i=s.dataZoomId,l=s.coordId;O.each(t,function(p,g){var A=p.dataZoomInfos;A[i]&&O.indexOf(s.allCoordIds,l)<0&&(delete A[i],p.count--)}),r(t);var u=t[l];u||(u=t[l]={coordId:l,dataZoomInfos:{},count:0},u.controller=o(e,u),u.dispatchAction=O.curry(a,e)),!u.dataZoomInfos[i]&&u.count++,u.dataZoomInfos[i]=s;var h=n(u.dataZoomInfos);u.controller.enable(h.controlType,h.opt),u.controller.setPointerChecker(s.containsPoint),T.createOrUpdate(u,"dispatchAction",s.dataZoomModel.get("throttle",!0),"fixRate")}function m(e,s){var t=c(e);O.each(t,function(i){i.controller.dispose();var l=i.dataZoomInfos;l[s]&&(delete l[s],i.count--)}),r(t)}function f(e){return e.type+"\0_"+e.id}function c(e){var s=e.getZr();return s[v]||(s[v]={})}function o(e,s){var t=new x(e.getZr());return O.each(["pan","zoom","scrollMove"],function(i){t.on(i,function(l){var u=[];O.each(s.dataZoomInfos,function(h){if(!l.isAvailableBehavior(h.dataZoomModel.option))return;var p=(h.getRange||{})[i],g=p&&p(s.controller,l);!h.dataZoomModel.get("disabled",!0)&&g&&u.push({dataZoomId:h.dataZoomId,start:g[0],end:g[1]})}),u.length&&s.dispatchAction(u)})}),t}function r(e){O.each(e,function(s,t){s.count||(s.controller.dispose(),delete e[t])})}function a(e,s){e.dispatchAction({type:"dataZoom",batch:s})}function n(e){var s,t="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0;return O.each(e,function(u){var h=u.dataZoomModel,p=h.get("disabled",!0)?!1:h.get("zoomLock",!0)?"move":!0;i[t+p]>i[t+s]&&(s=p),l&=h.get("preventDefaultMouseMove",!0)}),{controlType:s,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l}}}P.register=S,P.unregister=m,P.generateCoordId=f},VaxA:function(U,P,d){var O=d("bYtY");function x(m,f,c){if(m&&O.indexOf(f,m.type)>=0){var o=c.getData().tree.root,r=m.targetNode;if(typeof r=="string"&&(r=o.getNodeById(r)),r&&o.contains(r))return{node:r};var a=m.targetNodeId;if(a!=null&&(r=o.getNodeById(a)))return{node:r}}}function T(m){for(var f=[];m;)m=m.parentNode,m&&f.push(m);return f.reverse()}function v(m,f){var c=T(m);return O.indexOf(c,f)>=0}function S(m,f){for(var c=[];m;){var o=m.dataIndex;c.push({name:m.name,dataIndex:o,value:f.getRawValue(o)}),m=m.parentNode}return c.reverse(),c}P.retrieveTargetInfo=x,P.getPathToRoot=T,P.aboveViewRoot=v,P.wrapTreePathInfo=S},Vi4m:function(U,P,d){var O=d("bYtY");function x(v){v!=null&&O.extend(this,v),this.otherDims={}}var T=x;U.exports=T},Vl3Y:function(U,P,d){"use strict";var O=d("pVnL"),x=d.n(O),T=d("J4zp"),v=d.n(T),S=d("lSNA"),m=d.n(S),f=d("q1tI"),c=d("TSYQ"),o=d.n(c),r=d("85Yc"),a=d("H84U"),n=d("BGR+"),e=f.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),s=f.createContext({updateItemErrors:function(){}}),t=function(gt){var jt=Object(n.default)(gt,["prefixCls"]);return f.createElement(r.FormProvider,jt)};function i(ae){return typeof ae=="object"&&ae!=null&&ae.nodeType===1}function l(ae,gt){return(!gt||ae!=="hidden")&&ae!=="visible"&&ae!=="clip"}function u(ae,gt){if(ae.clientHeightgt||pr>ae&&nn=gt&&mr>=jt?pr-ae-ut:nn>gt&&mrjt?nn-gt+rr:0}var p=function(ae,gt){var jt=window,ut=gt.scrollMode,rr=gt.block,pr=gt.inline,nn=gt.boundary,mr=gt.skipOverflowHiddenElements,vr=typeof nn=="function"?nn:function(Mn){return Mn!==nn};if(!i(ae))throw new TypeError("Invalid target");for(var $t=document.scrollingElement||document.documentElement,Xt=[],ft=ae;i(ft)&&vr(ft);){if((ft=ft.parentElement)===$t){Xt.push(ft);break}ft!=null&&ft===document.body&&u(ft)&&!u(document.documentElement)||ft!=null&&u(ft,mr)&&Xt.push(ft)}for(var Ur=jt.visualViewport?jt.visualViewport.width:innerWidth,yn=jt.visualViewport?jt.visualViewport.height:innerHeight,Dn=window.scrollX||pageXOffset,Un=window.scrollY||pageYOffset,wi=ae.getBoundingClientRect(),Rn=wi.height,kn=wi.width,Vn=wi.top,Gt=wi.right,st=wi.bottom,ue=wi.left,Ee=rr==="start"||rr==="nearest"?Vn:rr==="end"?st:Vn+Rn/2,je=pr==="center"?ue+kn/2:pr==="end"?Gt:ue,Ve=[],$e=0;$e=0&&ue>=0&&st<=yn&&Gt<=Ur&&Vn>=_t&&st<=bt&&ue>=kt&&Gt<=at)return Ve;var Pt=getComputedStyle(wt),Et=parseInt(Pt.borderLeftWidth,10),Ht=parseInt(Pt.borderTopWidth,10),ot=parseInt(Pt.borderRightWidth,10),Mt=parseInt(Pt.borderBottomWidth,10),xr=0,ur=0,gr="offsetWidth"in wt?wt.offsetWidth-wt.clientWidth-Et-ot:0,Qr="offsetHeight"in wt?wt.offsetHeight-wt.clientHeight-Ht-Mt:0;if($t===wt)xr=rr==="start"?Ee:rr==="end"?Ee-yn:rr==="nearest"?h(Un,Un+yn,yn,Ht,Mt,Un+Ee,Un+Ee+Rn,Rn):Ee-yn/2,ur=pr==="start"?je:pr==="center"?je-Ur/2:pr==="end"?je-Ur:h(Dn,Dn+Ur,Ur,Et,ot,Dn+je,Dn+je+kn,kn),xr=Math.max(0,xr+Un),ur=Math.max(0,ur+Dn);else{xr=rr==="start"?Ee-_t-Ht:rr==="end"?Ee-bt+Mt+Qr:rr==="nearest"?h(_t,bt,Mr,Ht,Mt+Qr,Ee,Ee+Rn,Rn):Ee-(_t+Mr/2)+Qr/2,ur=pr==="start"?je-kt-Et:pr==="center"?je-(kt+an/2)+gr/2:pr==="end"?je-at+ot+gr:h(kt,at,an,Et,ot+gr,je,je+kn,kn);var ln=wt.scrollLeft,_n=wt.scrollTop;Ee+=_n-(xr=Math.max(0,Math.min(_n+xr,wt.scrollHeight-Mr+Qr))),je+=ln-(ur=Math.max(0,Math.min(ln+ur,wt.scrollWidth-an+gr)))}Ve.push({el:wt,top:xr,left:ur})}return Ve};function g(ae){return ae===Object(ae)&&Object.keys(ae).length!==0}function A(ae,gt){gt===void 0&&(gt="auto");var jt="scrollBehavior"in document.body.style;ae.forEach(function(ut){var rr=ut.el,pr=ut.top,nn=ut.left;rr.scroll&&jt?rr.scroll({top:pr,left:nn,behavior:gt}):(rr.scrollTop=pr,rr.scrollLeft=nn)})}function y(ae){return ae===!1?{block:"end",inline:"nearest"}:g(ae)?ae:{block:"start",inline:"nearest"}}function E(ae,gt){var jt=!ae.ownerDocument.documentElement.contains(ae);if(g(gt)&&typeof gt.behavior=="function")return gt.behavior(jt?[]:p(ae,gt));if(jt)return;var ut=y(gt);return A(p(ae,ut),ut.behavior)}var C=E;function w(ae){return ae===void 0||ae===!1?[]:Array.isArray(ae)?ae:[ae]}function b(ae,gt){if(!ae.length)return;var jt=ae.join("_");return gt?"".concat(gt,"_").concat(jt):jt}function I(ae){var gt=w(ae);return gt.join("_")}function _(ae){var gt=Object(r.useForm)(),jt=v()(gt,1),ut=jt[0],rr=Object(f.useRef)({}),pr=Object(f.useMemo)(function(){return ae||x()(x()({},ut),{__INTERNAL__:{itemRef:function(mr){return function(vr){var $t=I(mr);vr?rr.current[$t]=vr:delete rr.current[$t]}}},scrollToField:function(mr){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=w(mr),Xt=b($t,pr.__INTERNAL__.name),ft=Xt?document.getElementById(Xt):null;ft&&C(ft,x()({scrollMode:"if-needed",block:"nearest"},vr))},getFieldInstance:function(mr){var vr=I(mr);return rr.current[vr]}})},[ae,ut]);return[pr]}var L=d("3Nzz"),D=function(ae,gt){var jt={};for(var ut in ae)Object.prototype.hasOwnProperty.call(ae,ut)&>.indexOf(ut)<0&&(jt[ut]=ae[ut]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rr=0,ut=Object.getOwnPropertySymbols(ae);rr0&&arguments[0]!==void 0?arguments[0]:{};return V()(Ne[Ze],be)?Ne:x()(x()({},Ne),m()({},Ze,be))})},Mn=tt();function li(Ze,be,Ne,Ue){var Qe,Xe;if(ut&&!Vn)return Ze;var qe=[];Object.keys(Et).forEach(function(kr){qe=[].concat(K()(qe),K()(Et[kr]||[]))});var yt;Xt!=null?yt=w(Xt):(yt=Ne?Ne.errors:[],yt=[].concat(K()(yt),K()(qe)));var ht="";Ur!==void 0?ht=Ur:(Ne==null?void 0:Ne.validating)?ht="validating":((Xe=Ne==null?void 0:Ne.errors)===null||Xe===void 0?void 0:Xe.length)||qe.length?ht="error":(Ne==null?void 0:Ne.touched)&&(ht="success"),_t&&Xt&&(bt.current=ht);var Jt=(Qe={},m()(Qe,"".concat(ln,"-item"),!0),m()(Qe,"".concat(ln,"-item-with-help"),_t||Xt),m()(Qe,"".concat(mr),!!mr),m()(Qe,"".concat(ln,"-item-has-feedback"),ht&&$t),m()(Qe,"".concat(ln,"-item-has-success"),ht==="success"),m()(Qe,"".concat(ln,"-item-has-warning"),ht==="warning"),m()(Qe,"".concat(ln,"-item-has-error"),ht==="error"),m()(Qe,"".concat(ln,"-item-has-error-leave"),!Xt&&_t&&bt.current==="error"),m()(Qe,"".concat(ln,"-item-is-validating"),ht==="validating"),m()(Qe,"".concat(ln,"-item-hidden"),Vn),Qe);return f.createElement(ee.a,x()({className:o()(Jt),style:nn,key:"row"},Object(n.default)(Gt,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),f.createElement(ce,x()({htmlFor:be,required:Ue,requiredMark:$e},ae,{prefixCls:ln})),f.createElement(Oe,x()({},ae,Ne,{errors:yt,prefixCls:ln,onDomErrorVisibleChange:ur,validateStatus:ht}),f.createElement(s.Provider,{value:{updateItemErrors:_n}},Ze)))}var ai=typeof yn=="function",pi=f.useRef(0);if(pi.current+=1,!gr&&!ai&&!rr)return li(yn);var Oi={};return typeof Un=="string"&&(Oi.label=Un),f.createElement(r.Field,x()({},ae,{messageVariables:Oi,trigger:Rn,validateTrigger:xr,onReset:function(){ur(!1)}}),function(Ze,be,Ne){var Ue=be.errors,Qe=w(gt).length&&be?be.name:[],Xe=b(Qe,Ve);if(ut){if(Qr.current=K()(Qe),jt){var qe=Array.isArray(jt)?jt:[jt];Qr.current=[].concat(K()(Qe.slice(0,-1)),K()(qe))}qt(Qr.current.join("__SPLIT__"),Ue)}var yt=Dn!==void 0?Dn:!!(ft&&ft.some(function(Xr){if(Xr&&H()(Xr)==="object"&&Xr.required)return!0;if(typeof Xr=="function"){var Bt=Xr(Ne);return Bt&&Bt.required}return!1})),ht=x()({},Ze),Jt=null;if(Object(ie.a)(!(vr&&rr),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(yn)&&gr)Object(ie.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Jt=yn;else if(ai&&(!(vr||rr)||gr))Object(ie.a)(!!(vr||rr),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(ie.a)(!gr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(rr&&!ai&&!gr)Object(ie.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ye.b)(yn)){Object(ie.a)(yn.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var kr=x()(x()({},yn.props),ht);kr.id||(kr.id=Xe),Object(Y.c)(yn)&&(kr.ref=Mn(Qe,yn));var _r=new Set([].concat(K()(w(Rn)),K()(w(xr))));_r.forEach(function(Xr){kr[Xr]=function(){for(var Bt,gn,hr,vn,en,Dt=arguments.length,jr=new Array(Dt),un=0;unS&&(n=c+o,c*=S/n,o*=S/n),r+a>S&&(n=r+a,r*=S/n,a*=S/n),o+r>m&&(n=o+r,o*=m/n,r*=m/n),c+a>m&&(n=c+a,c*=m/n,a*=m/n),O.moveTo(T+c,v),O.lineTo(T+S-o,v),o!==0&&O.arc(T+S-o,v+o,o,-Math.PI/2,0),O.lineTo(T+S,v+m-r),r!==0&&O.arc(T+S-r,v+m-r,r,0,Math.PI/2),O.lineTo(T+a,v+m),a!==0&&O.arc(T+a,v+m-a,a,Math.PI/2,Math.PI),O.lineTo(T,v+c),c!==0&&O.arc(T+c,v+c,c,Math.PI,Math.PI*1.5)}P.buildPath=d},"VrN/":function(U,P,d){(function(O,x){U.exports=x()})(this,function(){"use strict";var O=navigator.userAgent,x=navigator.platform,T=/gecko\/\d/i.test(O),v=/MSIE \d/.test(O),S=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(O),m=/Edge\/(\d+)/.exec(O),f=v||S||m,c=f&&(v?document.documentMode||6:+(m||S)[1]),o=!m&&/WebKit\//.test(O),r=o&&/Qt\/\d+\.\d+/.test(O),a=!m&&/Chrome\//.test(O),n=/Opera\//.test(O),e=/Apple Computer/.test(navigator.vendor),s=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(O),t=/PhantomJS/.test(O),i=!m&&/AppleWebKit/.test(O)&&/Mobile\/\w+/.test(O),l=/Android/.test(O),u=i||l||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(O),h=i||/Mac/.test(x),p=/\bCrOS\b/.test(O),g=/win/i.test(x),A=n&&O.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(n=!1,o=!0);var y=h&&(r||n&&(A==null||A<12.11)),E=T||f&&c>=9;function C(k){return new RegExp("(^|\\s)"+k+"(?:$|\\s)\\s*")}var w=function(W,q){var ne=W.className,le=C(q).exec(ne);if(le){var Fe=ne.slice(le.index+le[0].length);W.className=ne.slice(0,le.index)+(Fe?le[1]+Fe:"")}};function b(k){for(var W=k.childNodes.length;W>0;--W)k.removeChild(k.firstChild);return k}function I(k,W){return b(k).appendChild(W)}function _(k,W,q,ne){var le=document.createElement(k);if(q&&(le.className=q),ne&&(le.style.cssText=ne),typeof W=="string")le.appendChild(document.createTextNode(W));else if(W)for(var Fe=0;Fe=W)return mt+(W-Fe);mt+=Ut-Fe,mt+=q-mt%q,Fe=Ut+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};V.prototype.onTimeout=function(k){k.id=0,k.time<=+new Date?k.f():setTimeout(k.handler,k.time-+new Date)},V.prototype.set=function(k,W){this.f=W;var q=+new Date+k;(!this.id||q=W)return ne+Math.min(mt,W-le);if(le+=Fe-ne,le+=q-le%q,ne=Fe+1,le>=W)return ne}}var Le=[""];function He(k){for(;Le.length<=k;)Le.push(ce(Le)+" ");return Le[k]}function ce(k){return k[k.length-1]}function Pe(k,W){for(var q=[],ne=0;ne"\x80"&&(k.toUpperCase()!=k.toLowerCase()||re.test(k))}function X(k,W){return W?W.source.indexOf("\\w")>-1&&G(k)?!0:W.test(k):G(k)}function J(k){for(var W in k)if(k.hasOwnProperty(W)&&k[W])return!1;return!0}var Ae=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function he(k){return k.charCodeAt(0)>=768&&Ae.test(k)}function Me(k,W,q){for(;(q<0?W>0:Wq?-1:1;;){if(W==q)return W;var le=(W+q)/2,Fe=ne<0?Math.ceil(le):Math.floor(le);if(Fe==W)return k(Fe)?W:q;k(Fe)?q=Fe:W=Fe+ne}}function oe(k,W,q,ne){if(!k)return ne(W,q,"ltr",0);for(var le=!1,Fe=0;FeW||W==q&&mt.to==W)&&(ne(Math.max(mt.from,W),Math.min(mt.to,q),mt.level==1?"rtl":"ltr",Fe),le=!0)}le||ne(W,q,"ltr")}var pe=null;function Oe(k,W,q){var ne;pe=null;for(var le=0;leW)return le;Fe.to==W&&(Fe.from!=Fe.to&&q=="before"?ne=le:pe=le),Fe.from==W&&(Fe.from!=Fe.to&&q!="before"?ne=le:pe=le)}return ne!=null?ne:pe}var Ye=function(){var k="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",W="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function q(lr){return lr<=247?k.charAt(lr):1424<=lr&&lr<=1524?"R":1536<=lr&&lr<=1785?W.charAt(lr-1536):1774<=lr&&lr<=2220?"r":8192<=lr&&lr<=8203?"w":lr==8204?"b":"L"}var ne=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,le=/[stwN]/,Fe=/[LRr]/,mt=/[Lb1n]/,Ut=/[1n]/;function nr(lr,Sn,Bn){this.level=lr,this.from=Sn,this.to=Bn}return function(lr,Sn){var Bn=Sn=="ltr"?"L":"R";if(lr.length==0||Sn=="ltr"&&!ne.test(lr))return!1;for(var Zn=lr.length,ni=[],Pi=0;Pi-1&&(ne[W]=le.slice(0,Fe).concat(le.slice(Fe+1)))}}}function dt(k,W){var q=tt(k,W);if(!q.length)return;for(var ne=Array.prototype.slice.call(arguments,2),le=0;le0}function Nt(k){k.prototype.on=function(W,q){Te(this,W,q)},k.prototype.off=function(W,q){ze(this,W,q)}}function Be(k){k.preventDefault?k.preventDefault():k.returnValue=!1}function $(k){k.stopPropagation?k.stopPropagation():k.cancelBubble=!0}function Z(k){return k.defaultPrevented!=null?k.defaultPrevented:k.returnValue==!1}function Re(k){Be(k),$(k)}function De(k){return k.target||k.srcElement}function ae(k){var W=k.which;return W==null&&(k.button&1?W=1:k.button&2?W=3:k.button&4&&(W=2)),h&&k.ctrlKey&&W==1&&(W=3),W}var gt=function(){if(f&&c<9)return!1;var k=_("div");return"draggable"in k||"dragDrop"in k}(),jt;function ut(k){if(jt==null){var W=_("span","\u200B");I(k,_("span",[W,document.createTextNode("x")])),k.firstChild.offsetHeight!=0&&(jt=W.offsetWidth<=1&&W.offsetHeight>2&&!(f&&c<8))}var q=jt?_("span","\u200B"):_("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return q.setAttribute("cm-text",""),q}var rr;function pr(k){if(rr!=null)return rr;var W=I(k,document.createTextNode("A\u062EA")),q=D(W,0,1).getBoundingClientRect(),ne=D(W,1,2).getBoundingClientRect();return b(k),!q||q.left==q.right?!1:rr=ne.right-q.right<3}var nn=` b`.split(/\n/).length!=3?function(k){for(var W=0,q=[],ne=k.length;W<=ne;){var le=k.indexOf(` `,W);le==-1&&(le=k.length);var Fe=k.slice(W,k.charAt(le-1)=="\r"?le-1:le),mt=Fe.indexOf("\r");mt!=-1?(q.push(Fe.slice(0,mt)),W+=mt+1):(q.push(Fe),W=le+1)}return q}:function(k){return k.split(/\r\n?|\n/)},mr=window.getSelection?function(k){try{return k.selectionStart!=k.selectionEnd}catch(W){return!1}}:function(k){var W;try{W=k.ownerDocument.selection.createRange()}catch(q){}return!W||W.parentElement()!=k?!1:W.compareEndPoints("StartToEnd",W)!=0},vr=function(){var k=_("div");return"oncopy"in k?!0:(k.setAttribute("oncopy","return;"),typeof k.oncopy=="function")}(),$t=null;function Xt(k){if($t!=null)return $t;var W=I(k,_("span","x")),q=W.getBoundingClientRect(),ne=D(W,0,1).getBoundingClientRect();return $t=Math.abs(q.left-ne.left)>1}var ft={},Ur={};function yn(k,W){arguments.length>2&&(W.dependencies=Array.prototype.slice.call(arguments,2)),ft[k]=W}function Dn(k,W){Ur[k]=W}function Un(k){if(typeof k=="string"&&Ur.hasOwnProperty(k))k=Ur[k];else if(k&&typeof k.name=="string"&&Ur.hasOwnProperty(k.name)){var W=Ur[k.name];typeof W=="string"&&(W={name:W}),k=Je(W,k),k.name=W.name}else{if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(k))return Un("application/xml");if(typeof k=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(k))return Un("application/json")}return typeof k=="string"?{name:k}:k||{name:"null"}}function wi(k,W){W=Un(W);var q=ft[W.name];if(!q)return wi(k,"text/plain");var ne=q(k,W);if(Rn.hasOwnProperty(W.name)){var le=Rn[W.name];for(var Fe in le){if(!le.hasOwnProperty(Fe))continue;ne.hasOwnProperty(Fe)&&(ne["_"+Fe]=ne[Fe]),ne[Fe]=le[Fe]}}if(ne.name=W.name,W.helperType&&(ne.helperType=W.helperType),W.modeProps)for(var mt in W.modeProps)ne[mt]=W.modeProps[mt];return ne}var Rn={};function kn(k,W){var q=Rn.hasOwnProperty(k)?Rn[k]:Rn[k]={};K(W,q)}function Vn(k,W){if(W===!0)return W;if(k.copyState)return k.copyState(W);var q={};for(var ne in W){var le=W[ne];le instanceof Array&&(le=le.concat([])),q[ne]=le}return q}function Gt(k,W){for(var q;k.innerMode&&!(q=k.innerMode(W),!q||q.mode==k);)W=q.state,k=q.mode;return q||{mode:k,state:W}}function st(k,W,q){return k.startState?k.startState(W,q):!0}var ue=function(W,q,ne){this.pos=this.start=0,this.string=W,this.tabSize=q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};ue.prototype.eol=function(){return this.pos>=this.string.length},ue.prototype.sol=function(){return this.pos==this.lineStart},ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ue.prototype.next=function(){if(this.posW},ue.prototype.eatSpace=function(){for(var k=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>k},ue.prototype.skipToEnd=function(){this.pos=this.string.length},ue.prototype.skipTo=function(k){var W=this.string.indexOf(k,this.pos);if(W>-1)return this.pos=W,!0},ue.prototype.backUp=function(k){this.pos-=k},ue.prototype.column=function(){return this.lastColumnPos0?null:(Fe&&W!==!1&&(this.pos+=Fe[0].length),Fe)}},ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},ue.prototype.hideFirstChars=function(k,W){this.lineStart+=k;try{return W()}finally{this.lineStart-=k}},ue.prototype.lookAhead=function(k){var W=this.lineOracle;return W&&W.lookAhead(k)},ue.prototype.baseToken=function(){var k=this.lineOracle;return k&&k.baseToken(this.pos)};function Ee(k,W){if(W-=k.first,W<0||W>=k.size)throw new Error("There is no line "+(W+k.first)+" in the document.");for(var q=k;!q.lines;)for(var ne=0;;++ne){var le=q.children[ne],Fe=le.chunkSize();if(W=k.first&&Wq?_t(q,Ee(k,q).text.length):Mt(W,Ee(k,W.line).text.length)}function Mt(k,W){var q=k.ch;return q==null||q>W?_t(k.line,W):q<0?_t(k.line,0):k}function xr(k,W){for(var q=[],ne=0;nethis.maxLookAhead&&(this.maxLookAhead=k),W},gr.prototype.baseToken=function(k){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=k;)this.baseTokenPos+=2;var W=this.baseTokens[this.baseTokenPos+1];return{type:W&&W.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-k}},gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gr.fromSaved=function(k,W,q){return W instanceof ur?new gr(k,Vn(k.mode,W.state),q,W.lookAhead):new gr(k,Vn(k.mode,W),q)},gr.prototype.save=function(k){var W=k!==!1?Vn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ur(W,this.maxLookAhead):W};function Qr(k,W,q,ne){var le=[k.state.modeGen],Fe={};be(k,W.text,k.doc.mode,q,function(lr,Sn){return le.push(lr,Sn)},Fe,ne);for(var mt=q.state,Ut=function(Sn){q.baseTokens=le;var Bn=k.state.overlays[Sn],Zn=1,ni=0;q.state=!0,be(k,W.text,Bn.mode,q,function(Pi,Ji){for(var ua=Zn;niPi&&le.splice(Zn,1,Pi,le[Zn+1],la),Zn+=2,ni=Math.min(Pi,la)}if(!Ji)return;if(Bn.opaque)le.splice(ua,Zn-ua,Pi,"overlay "+Ji),Zn=ua+2;else for(;uak.options.maxHighlightLength&&Vn(k.doc.mode,ne.state),Fe=Qr(k,W,ne);le&&(ne.state=le),W.stateAfter=ne.save(!le),W.styles=Fe.styles,Fe.classes?W.styleClasses=Fe.classes:W.styleClasses&&(W.styleClasses=null),q===k.doc.highlightFrontier&&(k.doc.modeFrontier=Math.max(k.doc.modeFrontier,++k.doc.highlightFrontier))}return W.styles}function _n(k,W,q){var ne=k.doc,le=k.display;if(!ne.mode.startState)return new gr(ne,!0,W);var Fe=Ne(k,W,q),mt=Fe>ne.first&&Ee(ne,Fe-1).stateAfter,Ut=mt?gr.fromSaved(ne,mt,Fe):new gr(ne,st(ne.mode),Fe);return ne.iter(Fe,W,function(nr){Mn(k,nr.text,Ut);var lr=Ut.line;nr.stateAfter=lr==W-1||lr%5==0||lr>=le.viewFrom&&lrW.start)return Fe}throw new Error("Mode "+k.name+" failed to advance stream.")}var pi=function(W,q,ne){this.start=W.start,this.end=W.pos,this.string=W.current(),this.type=q||null,this.state=ne};function Oi(k,W,q,ne){var le=k.doc,Fe=le.mode,mt;W=ot(le,W);var Ut=Ee(le,W.line),nr=_n(k,W.line,q),lr=new ue(Ut.text,k.options.tabSize,nr),Sn;for(ne&&(Sn=[]);(ne||lr.posk.options.maxHighlightLength?(Ut=!1,mt&&Mn(k,W,ne,Sn.pos),Sn.pos=W.length,Bn=null):Bn=Ze(ai(q,Sn,ne.state,Zn),Fe),Zn){var ni=Zn[0].name;ni&&(Bn="m-"+(Bn?ni+" "+Bn:ni))}if(!Ut||lr!=Bn){for(;nrmt;--Ut){if(Ut<=Fe.first)return Fe.first;var nr=Ee(Fe,Ut-1),lr=nr.stateAfter;if(lr&&(!q||Ut+(lr instanceof ur?lr.lookAhead:0)<=Fe.modeFrontier))return Ut;var Sn=j(nr.text,null,k.options.tabSize);(le==null||ne>Sn)&&(le=Ut-1,ne=Sn)}return le}function Ue(k,W){if(k.modeFrontier=Math.min(k.modeFrontier,W),k.highlightFrontierq;ne--){var le=Ee(k,ne).stateAfter;if(le&&(!(le instanceof ur)||ne+le.lookAhead=W:Fe.to>W);(ne||(ne=[])).push(new ht(mt,Fe.from,nr?null:Fe.to))}}return ne}function Bt(k,W,q){var ne;if(k)for(var le=0;le=W:Fe.to>W);if(Ut||Fe.from==W&&mt.type=="bookmark"&&(!q||Fe.marker.insertLeft)){var nr=Fe.from==null||(mt.inclusiveLeft?Fe.from<=W:Fe.from0&&Ut)for(var Ma=0;Ma0)continue;var Sn=[nr,1],Bn=at(lr.from,Ut.from),Zn=at(lr.to,Ut.to);(Bn<0||!mt.inclusiveLeft&&!Bn)&&Sn.push({from:lr.from,to:Ut.from}),(Zn>0||!mt.inclusiveRight&&!Zn)&&Sn.push({from:Ut.to,to:lr.to}),le.splice.apply(le,Sn),nr+=Sn.length-3}return le}function en(k){var W=k.markedSpans;if(!W)return;for(var q=0;qW)&&(!ne||Hr(ne,Fe.marker)<0)&&(ne=Fe.marker)}return ne}function Dr(k,W,q,ne,le){var Fe=Ee(k,W),mt=Xe&&Fe.markedSpans;if(mt)for(var Ut=0;Ut=0&&Bn<=0||Sn<=0&&Bn>=0)continue;if(Sn<=0&&(nr.marker.inclusiveRight&&le.inclusiveLeft?at(lr.to,q)>=0:at(lr.to,q)>0)||Sn>=0&&(nr.marker.inclusiveRight&&le.inclusiveLeft?at(lr.from,ne)<=0:at(lr.from,ne)<0))return!0}}function ir(k){for(var W;W=wr(k);)k=W.find(-1,!0).line;return k}function Lt(k){for(var W;W=fn(k);)k=W.find(1,!0).line;return k}function Qt(k){for(var W,q;W=fn(k);)k=W.find(1,!0).line,(q||(q=[])).push(k);return q}function It(k,W){var q=Ee(k,W),ne=ir(q);return q==ne?W:wt(ne)}function or(k,W){if(W>k.lastLine())return W;var q=Ee(k,W),ne;if(!Cr(k,q))return W;for(;ne=fn(q);)q=ne.find(1,!0).line;return wt(q)+1}function Cr(k,W){var q=Xe&&W.markedSpans;if(q)for(var ne=void 0,le=0;leW.maxLineLength&&(W.maxLineLength=le,W.maxLine=ne)})}var ei=function(W,q,ne){this.text=W,Dt(this,q),this.height=ne?ne(this):1};ei.prototype.lineNo=function(){return wt(this)},Nt(ei);function Zr(k,W,q,ne){k.text=W,k.stateAfter&&(k.stateAfter=null),k.styles&&(k.styles=null),k.order!=null&&(k.order=null),en(k),Dt(k,q);var le=ne?ne(k):1;le!=k.height&&$e(k,le)}function br(k){k.parent=null,en(k)}var dn={},Ln={};function Fn(k,W){if(!k||/^\s*$/.test(k))return null;var q=W.addModeClass?Ln:dn;return q[k]||(q[k]=k.replace(/\S+/g,"cm-$&"))}function zn(k,W){var q=L("span",null,null,o?"padding-right: .1px":null),ne={pre:L("pre",[q],"CodeMirror-line"),content:q,col:0,pos:0,cm:k,trailingSpace:!1,splitSpaces:k.getOption("lineWrapping")};W.measure={};for(var le=0;le<=(W.rest?W.rest.length:0);le++){var Fe=le?W.rest[le-1]:W.line,mt=void 0;ne.pos=0,ne.addToken=ii,pr(k.display.measure)&&(mt=it(Fe,k.doc.direction))&&(ne.addToken=Li(ne.addToken,mt)),ne.map=[];var Ut=W!=k.display.externalMeasured&&wt(Fe);Ri(Fe,ne,ln(k,Fe,Ut)),Fe.styleClasses&&(Fe.styleClasses.bgClass&&(ne.bgClass=M(Fe.styleClasses.bgClass,ne.bgClass||"")),Fe.styleClasses.textClass&&(ne.textClass=M(Fe.styleClasses.textClass,ne.textClass||""))),ne.map.length==0&&ne.map.push(0,0,ne.content.appendChild(ut(k.display.measure))),le==0?(W.measure.map=ne.map,W.measure.cache={}):((W.measure.maps||(W.measure.maps=[])).push(ne.map),(W.measure.caches||(W.measure.caches=[])).push({}))}if(o){var nr=ne.content.lastChild;(/\bcm-tab\b/.test(nr.className)||nr.querySelector&&nr.querySelector(".cm-tab"))&&(ne.content.className="cm-tab-wrap-hack")}return dt(k,"renderLine",k,W.line,ne.pre),ne.pre.className&&(ne.textClass=M(ne.pre.className,ne.textClass||"")),ne}function ui(k){var W=_("span","\u2022","cm-invalidchar");return W.title="\\u"+k.charCodeAt(0).toString(16),W.setAttribute("aria-label",W.title),W}function ii(k,W,q,ne,le,Fe,mt){if(!W)return;var Ut=k.splitSpaces?qn(W,k.trailingSpace):W,nr=k.cm.state.specialChars,lr=!1,Sn;if(!nr.test(W))k.col+=W.length,Sn=document.createTextNode(Ut),k.map.push(k.pos,k.pos+W.length,Sn),f&&c<9&&(lr=!0),k.pos+=W.length;else{Sn=document.createDocumentFragment();for(var Bn=0;;){nr.lastIndex=Bn;var Zn=nr.exec(W),ni=Zn?Zn.index-Bn:W.length-Bn;if(ni){var Pi=document.createTextNode(Ut.slice(Bn,Bn+ni));f&&c<9?Sn.appendChild(_("span",[Pi])):Sn.appendChild(Pi),k.map.push(k.pos,k.pos+ni,Pi),k.col+=ni,k.pos+=ni}if(!Zn)break;Bn+=ni+1;var Ji=void 0;if(Zn[0]==" "){var ua=k.cm.options.tabSize,la=ua-k.col%ua;Ji=Sn.appendChild(_("span",He(la),"cm-tab")),Ji.setAttribute("role","presentation"),Ji.setAttribute("cm-text"," "),k.col+=la}else Zn[0]=="\r"||Zn[0]==` `?(Ji=Sn.appendChild(_("span",Zn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ji.setAttribute("cm-text",Zn[0]),k.col+=1):(Ji=k.cm.options.specialCharPlaceholder(Zn[0]),Ji.setAttribute("cm-text",Zn[0]),f&&c<9?Sn.appendChild(_("span",[Ji])):Sn.appendChild(Ji),k.col+=1);k.map.push(k.pos,k.pos+1,Ji),k.pos++}}if(k.trailingSpace=Ut.charCodeAt(W.length-1)==32,q||ne||le||lr||Fe||mt){var oa=q||"";ne&&(oa+=ne),le&&(oa+=le);var xa=_("span",[Sn],oa,Fe);if(mt)for(var Ma in mt)mt.hasOwnProperty(Ma)&&Ma!="style"&&Ma!="class"&&xa.setAttribute(Ma,mt[Ma]);return k.content.appendChild(xa)}k.content.appendChild(Sn)}function qn(k,W){if(k.length>1&&!/ /.test(k))return k;for(var q=W,ne="",le=0;lelr&&Bn.from<=lr);Zn++);if(Bn.to>=Sn)return k(q,ne,le,Fe,mt,Ut,nr);k(q,ne.slice(0,Bn.to-lr),le,Fe,null,Ut,nr),Fe=null,ne=ne.slice(Bn.to-lr),lr=Bn.to}}}function zi(k,W,q,ne){var le=!ne&&q.widgetNode;le&&k.map.push(k.pos,k.pos+W,le),!ne&&k.cm.display.input.needsContentAttribute&&(le||(le=k.content.appendChild(document.createElement("span"))),le.setAttribute("cm-marker",q.id)),le&&(k.cm.display.input.setUneditable(le),k.content.appendChild(le)),k.pos+=W,k.trailingSpace=!1}function Ri(k,W,q){var ne=k.markedSpans,le=k.text,Fe=0;if(!ne){for(var mt=1;mtnr||Yo.collapsed&&so.to==nr&&so.from==nr)){if(so.to!=null&&so.to!=nr&&ni>so.to&&(ni=so.to,Ji=""),Yo.className&&(Pi+=" "+Yo.className),Yo.css&&(Zn=(Zn?Zn+";":"")+Yo.css),Yo.startStyle&&so.from==nr&&(ua+=" "+Yo.startStyle),Yo.endStyle&&so.to==ni&&(Ma||(Ma=[])).push(Yo.endStyle,so.to),Yo.title&&((oa||(oa={})).title=Yo.title),Yo.attributes)for(var os in Yo.attributes)(oa||(oa={}))[os]=Yo.attributes[os];Yo.collapsed&&(!la||Hr(la.marker,Yo)<0)&&(la=so)}else so.from>nr&&ni>so.from&&(ni=so.from)}if(Ma)for(var Ls=0;Ls=Ut)break;for(var nl=Math.min(Ut,ni);;){if(Sn){var bl=nr+Sn.length;if(!la){var Gs=bl>nl?Sn.slice(0,nl-nr):Sn;W.addToken(W,Gs,Bn?Bn+Pi:Pi,ua,nr+Gs.length==ni?Ji:"",Zn,oa)}if(bl>=nl){Sn=Sn.slice(nl-nr),nr=nl;break}nr=bl,ua=""}Sn=le.slice(Fe,Fe=q[lr++]),Bn=Fn(q[lr++],W.cm.options)}}}function ga(k,W,q){this.line=W,this.rest=Qt(W),this.size=this.rest?wt(ce(this.rest))-q+1:1,this.node=this.text=null,this.hidden=Cr(k,W)}function oi(k,W,q){for(var ne=[],le,Fe=W;Fe2&&Fe.push((nr.bottom+lr.top)/2-q.top)}}Fe.push(q.bottom-q.top)}}function Mi(k,W,q){if(k.line==W)return{map:k.measure.map,cache:k.measure.cache};for(var ne=0;neq)return{map:k.measure.maps[le],cache:k.measure.caches[le],before:!0}}function xi(k,W){W=ir(W);var q=wt(W),ne=k.display.externalMeasured=new ga(k.doc,W,q);ne.lineN=q;var le=ne.built=zn(k,ne);return ne.text=le.pre,I(k.display.lineMeasure,le.pre),ne}function bi(k,W,q,ne){return qi(k,$i(k,W),q,ne)}function Ci(k,W){if(W>=k.display.viewFrom&&W=q.lineN&&WW)&&(Fe=nr-Ut,le=Fe-1,W>=nr&&(mt="right")),le!=null){if(ne=k[lr+2],Ut==nr&&q==(ne.insertLeft?"left":"right")&&(mt=q),q=="left"&&le==0)for(;lr&&k[lr-2]==k[lr-3]&&k[lr-1].insertLeft;)ne=k[(lr-=3)+2],mt="left";if(q=="right"&&le==nr-Ut)for(;lr=0&&!((q=k[le]).left!=q.right);le--);return q}function Ui(k,W,q,ne){var le=ia(W.map,q,ne),Fe=le.node,mt=le.start,Ut=le.end,nr=le.collapse,lr;if(Fe.nodeType==3){for(var Sn=0;Sn<4;Sn++){for(;mt&&he(W.line.text.charAt(le.coverStart+mt));)--mt;for(;le.coverStart+Ut0&&(nr=ne="right");var Bn;k.options.lineWrapping&&(Bn=Fe.getClientRects()).length>1?lr=Bn[ne=="right"?Bn.length-1:0]:lr=Fe.getBoundingClientRect()}if(f&&c<9&&!mt&&(!lr||!lr.left&&!lr.right)){var Zn=Fe.parentNode.getClientRects()[0];Zn?lr={left:Zn.left,right:Zn.left+ao(k.display),top:Zn.top,bottom:Zn.bottom}:lr=Ti}for(var ni=lr.top-W.rect.top,Pi=lr.bottom-W.rect.top,Ji=(ni+Pi)/2,ua=W.view.measure.heights,la=0;la=ne.text.length?(nr=ne.text.length,lr="before"):nr<=0&&(nr=0,lr="after"),!Ut)return mt(lr=="before"?nr-1:nr,lr=="before");function Sn(Pi,Ji,ua){var la=Ut[Ji],oa=la.level==1;return mt(ua?Pi-1:Pi,oa!=ua)}var Bn=Oe(Ut,nr,lr),Zn=pe,ni=Sn(nr,Bn,lr=="before");return Zn!=null&&(ni.other=Sn(nr,Zn,lr!="before")),ni}function Va(k,W){var q=0;W=ot(k.doc,W),k.options.lineWrapping||(q=ao(k.display)*W.ch);var ne=Ee(k.doc,W.line),le=Kr(ne)+In(k.display);return{left:q,right:q,top:le,bottom:le+ne.height}}function Ra(k,W,q,ne,le){var Fe=_t(k,W,q);return Fe.xRel=le,ne&&(Fe.outside=ne),Fe}function po(k,W,q){var ne=k.doc;if(q+=k.display.viewOffset,q<0)return Ra(ne.first,0,null,-1,-1);var le=qt(ne,q),Fe=ne.first+ne.size-1;if(le>Fe)return Ra(ne.first+ne.size-1,Ee(ne,Fe).text.length,null,1,1);W<0&&(W=0);for(var mt=Ee(ne,le);;){var Ut=go(k,mt,le,W,q),nr=zt(mt,Ut.ch+(Ut.xRel>0||Ut.outside>0?1:0));if(!nr)return Ut;var lr=nr.find(1);if(lr.line==le)return lr;mt=Ee(ne,le=lr.line)}}function mo(k,W,q,ne){ne-=ka(W);var le=W.text.length,Fe=Ie(function(mt){return qi(k,q,mt-1).bottom<=ne},le,0);return le=Ie(function(mt){return qi(k,q,mt).top>ne},Fe,le),{begin:Fe,end:le}}function Aa(k,W,q,ne){q||(q=$i(k,W));var le=Ia(k,W,qi(k,q,ne),"line").top;return mo(k,W,q,le)}function Io(k,W,q,ne){return k.bottom<=q?!1:k.top>q?!0:(ne?k.left:k.right)>W}function go(k,W,q,ne,le){le-=Kr(W);var Fe=$i(k,W),mt=ka(W),Ut=0,nr=W.text.length,lr=!0,Sn=it(W,k.doc.direction);if(Sn){var Bn=(k.options.lineWrapping?wo:Qa)(k,W,q,Fe,Sn,ne,le);lr=Bn.level!=1,Ut=lr?Bn.from:Bn.to-1,nr=lr?Bn.to:Bn.from-1}var Zn=null,ni=null,Pi=Ie(function(To){var so=qi(k,Fe,To);return so.top+=mt,so.bottom+=mt,Io(so,ne,le,!1)?(so.top<=le&&so.left<=ne&&(Zn=To,ni=so),!0):!1},Ut,nr),Ji,ua,la=!1;if(ni){var oa=ne-ni.left=Ma.bottom?1:0}return Pi=Me(W.text,Pi,1),Ra(q,Pi,ua,la,ne-Ji)}function Qa(k,W,q,ne,le,Fe,mt){var Ut=Ie(function(Bn){var Zn=le[Bn],ni=Zn.level!=1;return Io(Ga(k,_t(q,ni?Zn.to:Zn.from,ni?"before":"after"),"line",W,ne),Fe,mt,!0)},0,le.length-1),nr=le[Ut];if(Ut>0){var lr=nr.level!=1,Sn=Ga(k,_t(q,lr?nr.from:nr.to,lr?"after":"before"),"line",W,ne);Io(Sn,Fe,mt,!0)&&Sn.top>mt&&(nr=le[Ut-1])}return nr}function wo(k,W,q,ne,le,Fe,mt){var Ut=mo(k,W,ne,mt),nr=Ut.begin,lr=Ut.end;/\s/.test(W.text.charAt(lr-1))&&lr--;for(var Sn=null,Bn=null,Zn=0;Zn=lr||ni.to<=nr)continue;var Pi=ni.level!=1,Ji=qi(k,ne,Pi?Math.min(lr,ni.to)-1:Math.max(nr,ni.from)).right,ua=Jiua)&&(Sn=ni,Bn=ua)}return Sn||(Sn=le[le.length-1]),Sn.fromlr&&(Sn={from:Sn.from,to:lr,level:Sn.level}),Sn}var pa;function to(k){if(k.cachedTextHeight!=null)return k.cachedTextHeight;if(pa==null){pa=_("pre",null,"CodeMirror-line-like");for(var W=0;W<49;++W)pa.appendChild(document.createTextNode("x")),pa.appendChild(_("br"));pa.appendChild(document.createTextNode("x"))}I(k.measure,pa);var q=pa.offsetHeight/50;return q>3&&(k.cachedTextHeight=q),b(k.measure),q||1}function ao(k){if(k.cachedCharWidth!=null)return k.cachedCharWidth;var W=_("span","xxxxxxxxxx"),q=_("pre",[W],"CodeMirror-line-like");I(k.measure,q);var ne=W.getBoundingClientRect(),le=(ne.right-ne.left)/10;return le>2&&(k.cachedCharWidth=le),le||10}function Bo(k){for(var W=k.display,q={},ne={},le=W.gutters.clientLeft,Fe=W.gutters.firstChild,mt=0;Fe;Fe=Fe.nextSibling,++mt){var Ut=k.display.gutterSpecs[mt].className;q[Ut]=Fe.offsetLeft+Fe.clientLeft+le,ne[Ut]=Fe.clientWidth}return{fixedPos:Ja(W),gutterTotalWidth:W.gutters.offsetWidth,gutterLeft:q,gutterWidth:ne,wrapperWidth:W.wrapper.clientWidth}}function Ja(k){return k.scroller.getBoundingClientRect().left-k.sizer.getBoundingClientRect().left}function _o(k){var W=to(k.display),q=k.options.lineWrapping,ne=q&&Math.max(5,k.display.scroller.clientWidth/ao(k.display)-3);return function(le){if(Cr(k.doc,le))return 0;var Fe=0;if(le.widgets)for(var mt=0;mt0&&(lr=Ee(k.doc,nr.line).text).length==nr.ch){var Sn=j(lr,lr.length,k.options.tabSize)-lr.length;nr=_t(nr.line,Math.max(0,Math.round((Fe-fi(k.display).left)/ao(k.display))-Sn))}return nr}function ja(k,W){if(W>=k.display.viewTo)return null;if(W-=k.display.viewFrom,W<0)return null;for(var q=k.display.view,ne=0;neW)&&(le.updateLineNumbers=W),k.curOp.viewChanged=!0,W>=le.viewTo)Xe&&It(k.doc,W)le.viewFrom?ar(k):(le.viewFrom+=ne,le.viewTo+=ne);else if(W<=le.viewFrom&&q>=le.viewTo)ar(k);else if(W<=le.viewFrom){var Fe=Fr(k,q,q+ne,1);Fe?(le.view=le.view.slice(Fe.index),le.viewFrom=Fe.lineN,le.viewTo+=ne):ar(k)}else if(q>=le.viewTo){var mt=Fr(k,W,W,-1);mt?(le.view=le.view.slice(0,mt.index),le.viewTo=mt.lineN):ar(k)}else{var Ut=Fr(k,W,W,-1),nr=Fr(k,q,q+ne,1);Ut&&nr?(le.view=le.view.slice(0,Ut.index).concat(oi(k,Ut.lineN,nr.lineN)).concat(le.view.slice(nr.index)),le.viewTo+=ne):ar(k)}var lr=le.externalMeasured;lr&&(q=le.lineN&&W=ne.viewTo)return;var Fe=ne.view[ja(k,W)];if(Fe.node==null)return;var mt=Fe.changes||(Fe.changes=[]);z(mt,q)==-1&&mt.push(q)}function ar(k){k.display.viewFrom=k.display.viewTo=k.doc.first,k.display.view=[],k.display.viewOffset=0}function Fr(k,W,q,ne){var le=ja(k,W),Fe,mt=k.display.view;if(!Xe||q==k.doc.first+k.doc.size)return{index:le,lineN:q};for(var Ut=k.display.viewFrom,nr=0;nr0){if(le==mt.length-1)return null;Fe=Ut+mt[le].size-W,le++}else Fe=Ut-W;W+=Fe,q+=Fe}for(;It(k.doc,q)!=q;){if(le==(ne<0?0:mt.length-1))return null;q+=ne*mt[le-(ne<0?1:0)].size,le+=ne}return{index:le,lineN:q}}function Ir(k,W,q){var ne=k.display,le=ne.view;le.length==0||W>=ne.viewTo||q<=ne.viewFrom?(ne.view=oi(k,W,q),ne.viewFrom=W):(ne.viewFrom>W?ne.view=oi(k,W,ne.viewFrom).concat(ne.view):ne.viewFromq&&(ne.view=ne.view.slice(0,ja(k,q)))),ne.viewTo=q}function En(k){for(var W=k.display.view,q=0,ne=0;ne=k.display.viewTo||Ut.to().line0?W.blinker=setInterval(function(){k.hasFocus()||Xn(k),W.cursorDiv.style.visibility=(q=!q)?"":"hidden"},k.options.cursorBlinkRate):k.options.cursorBlinkRate<0&&(W.cursorDiv.style.visibility="hidden")}function $n(k){k.state.focused||(k.display.input.focus(),si(k))}function Kn(k){k.state.delayingBlurEvent=!0,setTimeout(function(){k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1,Xn(k))},100)}function si(k,W){if(k.state.delayingBlurEvent&&(k.state.delayingBlurEvent=!1),k.options.readOnly=="nocursor")return;k.state.focused||(dt(k,"focus",k,W),k.state.focused=!0,B(k.display.wrapper,"CodeMirror-focused"),!k.curOp&&k.display.selForContextMenu!=k.doc.sel&&(k.display.input.reset(),o&&setTimeout(function(){return k.display.input.reset(!0)},20)),k.display.input.receivedFocus()),Qn(k)}function Xn(k,W){if(k.state.delayingBlurEvent)return;k.state.focused&&(dt(k,"blur",k,W),k.state.focused=!1,w(k.display.wrapper,"CodeMirror-focused")),clearInterval(k.display.blinker),setTimeout(function(){k.state.focused||(k.display.shift=!1)},150)}function ti(k){for(var W=k.display,q=W.lineDiv.offsetTop,ne=0;ne.005||Sn<-.005)&&($e(le.line,mt),di(le.line),le.rest))for(var Bn=0;Bnk.display.sizerWidth){var Zn=Math.ceil(Ut/ao(k.display));Zn>k.display.maxLineLength&&(k.display.maxLineLength=Zn,k.display.maxLine=le.line,k.display.maxLineChanged=!0)}}}function di(k){if(k.widgets)for(var W=0;W=mt&&(Fe=qt(W,Kr(Ee(W,nr))-k.wrapper.clientHeight),mt=nr)}return{from:Fe,to:Math.max(mt,Fe+1)}}function yi(k,W){if(Ot(k,"scrollCursorIntoView"))return;var q=k.display,ne=q.sizer.getBoundingClientRect(),le=null;if(W.top+ne.top<0?le=!0:W.bottom+ne.top>(window.innerHeight||document.documentElement.clientHeight)&&(le=!1),le!=null&&!t){var Fe=_("div","\u200B",null,`position: absolute; top: `+(W.top-q.viewOffset-In(k.display))+`px; height: `+(W.bottom-W.top+Yn(k)+q.barHeight)+`px; left: `+W.left+"px; width: "+Math.max(2,W.right-W.left)+"px;");k.display.lineSpace.appendChild(Fe),Fe.scrollIntoView(le),k.display.lineSpace.removeChild(Fe)}}function Xi(k,W,q,ne){ne==null&&(ne=0);var le;!k.options.lineWrapping&&W==q&&(W=W.ch?_t(W.line,W.sticky=="before"?W.ch-1:W.ch,"after"):W,q=W.sticky=="before"?_t(W.line,W.ch+1,"before"):W);for(var Fe=0;Fe<5;Fe++){var mt=!1,Ut=Ga(k,W),nr=!q||q==W?Ut:Ga(k,q);le={left:Math.min(Ut.left,nr.left),top:Math.min(Ut.top,nr.top)-ne,right:Math.max(Ut.left,nr.left),bottom:Math.max(Ut.bottom,nr.bottom)+ne};var lr=ta(k,le),Sn=k.doc.scrollTop,Bn=k.doc.scrollLeft;if(lr.scrollTop!=null&&(Gi(k,lr.scrollTop),Math.abs(k.doc.scrollTop-Sn)>1&&(mt=!0)),lr.scrollLeft!=null&&(ya(k,lr.scrollLeft),Math.abs(k.doc.scrollLeft-Bn)>1&&(mt=!0)),!mt)break}return le}function ba(k,W){var q=ta(k,W);q.scrollTop!=null&&Gi(k,q.scrollTop),q.scrollLeft!=null&&ya(k,q.scrollLeft)}function ta(k,W){var q=k.display,ne=to(k.display);W.top<0&&(W.top=0);var le=k.curOp&&k.curOp.scrollTop!=null?k.curOp.scrollTop:q.scroller.scrollTop,Fe=vi(k),mt={};W.bottom-W.top>Fe&&(W.bottom=W.top+Fe);var Ut=k.doc.height+Gn(q),nr=W.topUt-ne;if(W.tople+Fe){var Sn=Math.min(W.top,(lr?Ut:W.bottom)-Fe);Sn!=le&&(mt.scrollTop=Sn)}var Bn=k.options.fixedGutter?0:q.gutters.offsetWidth,Zn=k.curOp&&k.curOp.scrollLeft!=null?k.curOp.scrollLeft:q.scroller.scrollLeft-Bn,ni=gi(k)-q.gutters.offsetWidth,Pi=W.right-W.left>ni;return Pi&&(W.right=W.left+ni),W.left<10?mt.scrollLeft=0:W.leftni+Zn-3&&(mt.scrollLeft=W.right+(Pi?0:10)-ni),mt}function Qi(k,W){if(W==null)return;Za(k),k.curOp.scrollTop=(k.curOp.scrollTop==null?k.doc.scrollTop:k.curOp.scrollTop)+W}function aa(k){Za(k);var W=k.getCursor();k.curOp.scrollToPos={from:W,to:W,margin:k.options.cursorScrollMargin}}function fa(k,W,q){(W!=null||q!=null)&&Za(k),W!=null&&(k.curOp.scrollLeft=W),q!=null&&(k.curOp.scrollTop=q)}function xo(k,W){Za(k),k.curOp.scrollToPos=W}function Za(k){var W=k.curOp.scrollToPos;if(W){k.curOp.scrollToPos=null;var q=Va(k,W.from),ne=Va(k,W.to);Wi(k,q,ne,W.margin)}}function Wi(k,W,q,ne){var le=ta(k,{left:Math.min(W.left,q.left),top:Math.min(W.top,q.top)-ne,right:Math.max(W.right,q.right),bottom:Math.max(W.bottom,q.bottom)+ne});fa(k,le.scrollLeft,le.scrollTop)}function Gi(k,W){if(Math.abs(k.doc.scrollTop-W)<2)return;T||Ss(k,{top:W}),ca(k,W,!0),T&&Ss(k),Qo(k,100)}function ca(k,W,q){if(W=Math.max(0,Math.min(k.display.scroller.scrollHeight-k.display.scroller.clientHeight,W)),k.display.scroller.scrollTop==W&&!q)return;k.doc.scrollTop=W,k.display.scrollbars.setScrollTop(W),k.display.scroller.scrollTop!=W&&(k.display.scroller.scrollTop=W)}function ya(k,W,q,ne){if(W=Math.max(0,Math.min(W,k.display.scroller.scrollWidth-k.display.scroller.clientWidth)),(q?W==k.doc.scrollLeft:Math.abs(k.doc.scrollLeft-W)<2)&&!ne)return;k.doc.scrollLeft=W,ys(k),k.display.scroller.scrollLeft!=W&&(k.display.scroller.scrollLeft=W),k.display.scrollbars.setScrollLeft(W)}function Xa(k){var W=k.display,q=W.gutters.offsetWidth,ne=Math.round(k.doc.height+Gn(k.display));return{clientHeight:W.scroller.clientHeight,viewHeight:W.wrapper.clientHeight,scrollWidth:W.scroller.scrollWidth,clientWidth:W.scroller.clientWidth,viewWidth:W.wrapper.clientWidth,barLeft:k.options.fixedGutter?q:0,docHeight:ne,scrollHeight:ne+Yn(k)+W.barHeight,nativeBarWidth:W.nativeBarWidth,gutterWidth:q}}var _a=function(W,q,ne){this.cm=ne;var le=this.vert=_("div",[_("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Fe=this.horiz=_("div",[_("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");le.tabIndex=Fe.tabIndex=-1,W(le),W(Fe),Te(le,"scroll",function(){le.clientHeight&&q(le.scrollTop,"vertical")}),Te(Fe,"scroll",function(){Fe.clientWidth&&q(Fe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&c<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};_a.prototype.update=function(k){var W=k.scrollWidth>k.clientWidth+1,q=k.scrollHeight>k.clientHeight+1,ne=k.nativeBarWidth;if(q){this.vert.style.display="block",this.vert.style.bottom=W?ne+"px":"0";var le=k.viewHeight-(W?ne:0);this.vert.firstChild.style.height=Math.max(0,k.scrollHeight-k.clientHeight+le)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(W){this.horiz.style.display="block",this.horiz.style.right=q?ne+"px":"0",this.horiz.style.left=k.barLeft+"px";var Fe=k.viewWidth-k.barLeft-(q?ne:0);this.horiz.firstChild.style.width=Math.max(0,k.scrollWidth-k.clientWidth+Fe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&k.clientHeight>0&&(ne==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:q?ne:0,bottom:W?ne:0}},_a.prototype.setScrollLeft=function(k){this.horiz.scrollLeft!=k&&(this.horiz.scrollLeft=k),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},_a.prototype.setScrollTop=function(k){this.vert.scrollTop!=k&&(this.vert.scrollTop=k),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},_a.prototype.zeroWidthHack=function(){var k=h&&!s?"12px":"18px";this.horiz.style.height=this.vert.style.width=k,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},_a.prototype.enableZeroWidthBar=function(k,W,q){k.style.pointerEvents="auto";function ne(){var le=k.getBoundingClientRect(),Fe=q=="vert"?document.elementFromPoint(le.right-1,(le.top+le.bottom)/2):document.elementFromPoint((le.right+le.left)/2,le.bottom-1);Fe!=k?k.style.pointerEvents="none":W.set(1e3,ne)}W.set(1e3,ne)},_a.prototype.clear=function(){var k=this.horiz.parentNode;k.removeChild(this.horiz),k.removeChild(this.vert)};var qa=function(){};qa.prototype.update=function(){return{bottom:0,right:0}},qa.prototype.setScrollLeft=function(){},qa.prototype.setScrollTop=function(){},qa.prototype.clear=function(){};function ro(k,W){W||(W=Xa(k));var q=k.display.barWidth,ne=k.display.barHeight;Uo(k,W);for(var le=0;le<4&&q!=k.display.barWidth||ne!=k.display.barHeight;le++)q!=k.display.barWidth&&k.options.lineWrapping&&ti(k),Uo(k,Xa(k)),q=k.display.barWidth,ne=k.display.barHeight}function Uo(k,W){var q=k.display,ne=q.scrollbars.update(W);q.sizer.style.paddingRight=(q.barWidth=ne.right)+"px",q.sizer.style.paddingBottom=(q.barHeight=ne.bottom)+"px",q.heightForcer.style.borderBottom=ne.bottom+"px solid transparent",ne.right&&ne.bottom?(q.scrollbarFiller.style.display="block",q.scrollbarFiller.style.height=ne.bottom+"px",q.scrollbarFiller.style.width=ne.right+"px"):q.scrollbarFiller.style.display="",ne.bottom&&k.options.coverGutterNextToScrollbar&&k.options.fixedGutter?(q.gutterFiller.style.display="block",q.gutterFiller.style.height=ne.bottom+"px",q.gutterFiller.style.width=W.gutterWidth+"px"):q.gutterFiller.style.display=""}var zo={native:_a,null:qa};function hs(k){k.display.scrollbars&&(k.display.scrollbars.clear(),k.display.scrollbars.addClass&&w(k.display.wrapper,k.display.scrollbars.addClass)),k.display.scrollbars=new zo[k.options.scrollbarStyle](function(W){k.display.wrapper.insertBefore(W,k.display.scrollbarFiller),Te(W,"mousedown",function(){k.state.focused&&setTimeout(function(){return k.display.input.focus()},0)}),W.setAttribute("cm-not-content","true")},function(W,q){q=="horizontal"?ya(k,W):Gi(k,W)},k),k.display.scrollbars.addClass&&B(k.display.wrapper,k.display.scrollbars.addClass)}var Po=0;function Mo(k){k.curOp={cm:k,viewChanged:!1,startHeight:k.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Po},Ei(k.curOp)}function Fa(k){var W=k.curOp;W&&ki(W,function(q){for(var ne=0;ne=q.viewTo)||q.maxLineChanged&&W.options.lineWrapping,k.update=k.mustUpdate&&new Fi(W,k.mustUpdate&&{top:k.scrollTop,ensure:k.scrollToPos},k.forceUpdate)}function Eo(k){k.updatedDisplay=k.mustUpdate&&Vo(k.cm,k.update)}function qo(k){var W=k.cm,q=W.display;k.updatedDisplay&&ti(W),k.barMeasure=Xa(W),q.maxLineChanged&&!W.options.lineWrapping&&(k.adjustWidthTo=bi(W,q.maxLine,q.maxLine.text.length).left+3,W.display.sizerWidth=k.adjustWidthTo,k.barMeasure.scrollWidth=Math.max(q.scroller.clientWidth,q.sizer.offsetLeft+k.adjustWidthTo+Yn(W)+W.display.barWidth),k.maxScrollLeft=Math.max(0,q.sizer.offsetLeft+k.adjustWidthTo-gi(W))),(k.updatedDisplay||k.selectionChanged)&&(k.preparedSelection=q.input.prepareSelection())}function vo(k){var W=k.cm;k.adjustWidthTo!=null&&(W.display.sizer.style.minWidth=k.adjustWidthTo+"px",k.maxScrollLeft=k.display.viewTo)return;var q=+new Date+k.options.workTime,ne=_n(k,W.highlightFrontier),le=[];W.iter(ne.line,Math.min(W.first+W.size,k.display.viewTo+500),function(Fe){if(ne.line>=k.display.viewFrom){var mt=Fe.styles,Ut=Fe.text.length>k.options.maxHighlightLength?Vn(W.mode,ne.state):null,nr=Qr(k,Fe,ne,!0);Ut&&(ne.state=Ut),Fe.styles=nr.styles;var lr=Fe.styleClasses,Sn=nr.classes;Sn?Fe.styleClasses=Sn:lr&&(Fe.styleClasses=null);for(var Bn=!mt||mt.length!=Fe.styles.length||lr!=Sn&&(!lr||!Sn||lr.bgClass!=Sn.bgClass||lr.textClass!=Sn.textClass),Zn=0;!Bn&&Znq)return Qo(k,k.options.workDelay),!0}),W.highlightFrontier=ne.line,W.modeFrontier=Math.max(W.modeFrontier,ne.line),le.length&&ho(k,function(){for(var Fe=0;Fe=q.viewFrom&&W.visible.to<=q.viewTo&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo)&&q.renderedView==q.view&&En(k)==0)return!1;ds(k)&&(ar(k),W.dims=Bo(k));var le=ne.first+ne.size,Fe=Math.max(W.visible.from-k.options.viewportMargin,ne.first),mt=Math.min(le,W.visible.to+k.options.viewportMargin);q.viewFrommt&&q.viewTo-mt<20&&(mt=Math.min(le,q.viewTo)),Xe&&(Fe=It(k.doc,Fe),mt=or(k.doc,mt));var Ut=Fe!=q.viewFrom||mt!=q.viewTo||q.lastWrapHeight!=W.wrapperHeight||q.lastWrapWidth!=W.wrapperWidth;Ir(k,Fe,mt),q.viewOffset=Kr(Ee(k.doc,q.viewFrom)),k.display.mover.style.top=q.viewOffset+"px";var nr=En(k);if(!Ut&&nr==0&&!W.force&&q.renderedView==q.view&&(q.updateLineNumbers==null||q.updateLineNumbers>=q.viewTo))return!1;var lr=ws(k);return nr>4&&(q.lineDiv.style.display="none"),ns(k,q.updateLineNumbers,W.dims),nr>4&&(q.lineDiv.style.display=""),q.renderedView=q.view,cs(lr),b(q.cursorDiv),b(q.selectionDiv),q.gutters.style.height=q.sizer.style.minHeight=0,Ut&&(q.lastWrapHeight=W.wrapperHeight,q.lastWrapWidth=W.wrapperWidth,Qo(k,400)),q.updateLineNumbers=null,!0}function vs(k,W){for(var q=W.viewport,ne=!0;;ne=!1){if(!ne||!k.options.lineWrapping||W.oldDisplayWidth==gi(k)){if(q&&q.top!=null&&(q={top:Math.min(k.doc.height+Gn(k.display)-vi(k),q.top)}),W.visible=Bi(k.display,k.doc,q),W.visible.from>=k.display.viewFrom&&W.visible.to<=k.display.viewTo)break}else ne&&(W.visible=Bi(k.display,k.doc,q));if(!Vo(k,W))break;ti(k);var le=Xa(k);zr(k),ro(k,le),fs(k,le),W.force=!1}W.signal(k,"update",k),(k.display.viewFrom!=k.display.reportedViewFrom||k.display.viewTo!=k.display.reportedViewTo)&&(W.signal(k,"viewportChange",k,k.display.viewFrom,k.display.viewTo),k.display.reportedViewFrom=k.display.viewFrom,k.display.reportedViewTo=k.display.viewTo)}function Ss(k,W){var q=new Fi(k,W);if(Vo(k,q)){ti(k),vs(k,q);var ne=Xa(k);zr(k),ro(k,ne),fs(k,ne),q.finish()}}function ns(k,W,q){var ne=k.display,le=k.options.lineNumbers,Fe=ne.lineDiv,mt=Fe.firstChild;function Ut(Pi){var Ji=Pi.nextSibling;return o&&h&&k.display.currentWheelTarget==Pi?Pi.style.display="none":Pi.parentNode.removeChild(Pi),Ji}for(var nr=ne.view,lr=ne.viewFrom,Sn=0;Sn-1&&(ni=!1),cn(k,Bn,lr,q)),ni&&(b(Bn.lineNumber),Bn.lineNumber.appendChild(document.createTextNode(an(k.options,lr)))),mt=Bn.node.nextSibling}lr+=Bn.size}for(;mt;)mt=Ut(mt)}function es(k){var W=k.gutters.offsetWidth;k.sizer.style.marginLeft=W+"px"}function fs(k,W){k.display.sizer.style.minHeight=W.docHeight+"px",k.display.heightForcer.style.top=W.docHeight+"px",k.display.gutters.style.height=W.docHeight+k.display.barHeight+Yn(k)+"px"}function ys(k){var W=k.display,q=W.view;if(!W.alignWidgets&&(!W.gutters.firstChild||!k.options.fixedGutter))return;for(var ne=Ja(W)-W.scroller.scrollLeft+k.doc.scrollLeft,le=W.gutters.offsetWidth,Fe=ne+"px",mt=0;mtmt.clientWidth,nr=mt.scrollHeight>mt.clientHeight;if(!(ne&&Ut||le&&nr))return;if(le&&h&&o){e:for(var lr=W.target,Sn=Fe.view;lr!=mt;lr=lr.parentNode)for(var Bn=0;Bn=0&&at(k,ne.to())<=0)return q}return-1};var se=function(W,q){this.anchor=W,this.head=q};se.prototype.from=function(){return Et(this.anchor,this.head)},se.prototype.to=function(){return Pt(this.anchor,this.head)},se.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ge(k,W,q){var ne=k&&k.options.selectionsMayTouch,le=W[q];W.sort(function(Zn,ni){return at(Zn.from(),ni.from())}),q=z(W,le);for(var Fe=1;Fe0:nr>=0){var lr=Et(Ut.from(),mt.from()),Sn=Pt(Ut.to(),mt.to()),Bn=Ut.empty()?mt.from()==mt.head:Ut.from()==Ut.head;Fe<=q&&--q,W.splice(--Fe,2,new se(Bn?Sn:lr,Bn?lr:Sn))}}return new At(W,q)}function Se(k,W){return new At([new se(k,W||k)],0)}function We(k){return k.text?_t(k.from.line+k.text.length-1,ce(k.text).length+(k.text.length==1?k.from.ch:0)):k.to}function vt(k,W){if(at(k,W.from)<0)return k;if(at(k,W.to)<=0)return We(W);var q=k.line+W.text.length-(W.to.line-W.from.line)-1,ne=k.ch;return k.line==W.to.line&&(ne+=We(W).ch-W.to.ch),_t(q,ne)}function Yt(k,W){for(var q=[],ne=0;ne1&&k.remove(Ut.line+1,Pi-1),k.insert(Ut.line+1,la)}dr(k,"change",k,W)}function Ii(k,W,q){function ne(le,Fe,mt){if(le.linked)for(var Ut=0;Ut1&&!k.done[k.done.length-2].ranges)return k.done.pop(),ce(k.done)}function Oo(k,W,q,ne){var le=k.history;le.undone.length=0;var Fe=+new Date,mt,Ut;if((le.lastOp==ne||le.lastOrigin==W.origin&&W.origin&&(W.origin.charAt(0)=="+"&&le.lastModTime>Fe-(k.cm?k.cm.options.historyEventDelay:500)||W.origin.charAt(0)=="*"))&&(mt=Zo(le,le.lastOp==ne)))Ut=ce(mt.changes),at(W.from,W.to)==0&&at(W.from,Ut.to)==0?Ut.to=We(W):mt.changes.push(bo(k,W));else{var nr=ce(le.done);for((!nr||!nr.ranges)&&Ya(k.sel,le.done),mt={changes:[bo(k,W)],generation:le.generation},le.done.push(mt);le.done.length>le.undoDepth;)le.done.shift(),le.done[0].ranges||le.done.shift()}le.done.push(q),le.generation=++le.maxGeneration,le.lastModTime=le.lastSelTime=Fe,le.lastOp=le.lastSelOp=ne,le.lastOrigin=le.lastSelOrigin=W.origin,Ut||dt(k,"historyAdded")}function Do(k,W,q,ne){var le=W.charAt(0);return le=="*"||le=="+"&&q.ranges.length==ne.ranges.length&&q.somethingSelected()==ne.somethingSelected()&&new Date-k.history.lastSelTime<=(k.cm?k.cm.options.historyEventDelay:500)}function Ha(k,W,q,ne){var le=k.history,Fe=ne&&ne.origin;q==le.lastSelOp||Fe&&le.lastSelOrigin==Fe&&(le.lastModTime==le.lastSelTime&&le.lastOrigin==Fe||Do(k,Fe,ce(le.done),W))?le.done[le.done.length-1]=W:Ya(W,le.done),le.lastSelTime=+new Date,le.lastSelOrigin=Fe,le.lastSelOp=q,ne&&ne.clearRedo!==!1&&co(le.undone)}function Ya(k,W){var q=ce(W);q&&q.ranges&&q.equals(k)||W.push(k)}function ps(k,W,q,ne){var le=W["spans_"+k.id],Fe=0;k.iter(Math.max(k.first,q),Math.min(k.first+k.size,ne),function(mt){mt.markedSpans&&((le||(le=W["spans_"+k.id]={}))[Fe]=mt.markedSpans),++Fe})}function ts(k){if(!k)return null;for(var W,q=0;q-1&&(ce(Ut)[Bn]=lr[Bn],delete lr[Bn]))}}return ne}function xs(k,W,q,ne){if(ne){var le=k.anchor;if(q){var Fe=at(W,le)<0;Fe!=at(q,le)<0?(le=W,W=q):Fe!=at(W,q)<0&&(W=q)}return new se(le,W)}else return new se(q||W,W)}function Xo(k,W,q,ne,le){le==null&&(le=k.cm&&(k.cm.display.shift||k.extend)),as(k,new At([xs(k.sel.primary(),W,q,le)],0),ne)}function Js(k,W,q){for(var ne=[],le=k.cm&&(k.cm.display.shift||k.extend),Fe=0;Fe=W.ch:Ut.to>W.ch))){if(le&&(dt(nr,"beforeCursorEnter"),nr.explicitlyCleared))if(Fe.markedSpans){--mt;continue}else break;if(!nr.atomic)continue;if(q){var Bn=nr.find(ne<0?1:-1),Zn=void 0;if((ne<0?Sn:lr)&&(Bn=Ko(k,Bn,-ne,Bn&&Bn.line==W.line?Fe:null)),Bn&&Bn.line==W.line&&(Zn=at(Bn,q))&&(ne<0?Zn<0:Zn>0))return Ka(k,Bn,W,ne,le)}var ni=nr.find(ne<0?-1:1);return(ne<0?lr:Sn)&&(ni=Ko(k,ni,ne,ni.line==W.line?Fe:null)),ni?Ka(k,ni,W,ne,le):null}}return W}function Fo(k,W,q,ne,le){var Fe=ne||1,mt=Ka(k,W,q,Fe,le)||!le&&Ka(k,W,q,Fe,!0)||Ka(k,W,q,-Fe,le)||!le&&Ka(k,W,q,-Fe,!0);return mt||(k.cantEdit=!0,_t(k.first,0))}function Ko(k,W,q,ne){return q<0&&W.ch==0?W.line>k.first?ot(k,_t(W.line-1)):null:q>0&&W.ch==(ne||Ee(k,W.line)).text.length?W.line=0;--le)ms(k,{from:ne[le].from,to:ne[le].to,text:le?[""]:W.text,origin:W.origin});else ms(k,W)}function ms(k,W){if(W.text.length==1&&W.text[0]==""&&at(W.from,W.to)==0)return;var q=Yt(k,W);Oo(k,W,q,k.cm?k.cm.curOp.id:NaN),el(k,W,q,gn(k,W));var ne=[];Ii(k,function(le,Fe){!Fe&&z(ne,le.history)==-1&&(Ws(le.history,W),ne.push(le.history)),el(le,W,null,gn(le,W))})}function Rs(k,W,q){var ne=k.cm&&k.cm.state.suppressEdits;if(ne&&!q)return;for(var le=k.history,Fe,mt=k.sel,Ut=W=="undo"?le.done:le.undone,nr=W=="undo"?le.undone:le.done,lr=0;lr=0;--ni){var Pi=Zn(ni);if(Pi)return Pi.v}}function Us(k,W){if(W==0)return;if(k.first+=W,k.sel=new At(Pe(k.sel.ranges,function(le){return new se(_t(le.anchor.line+W,le.anchor.ch),_t(le.head.line+W,le.head.ch))}),k.sel.primIndex),k.cm){da(k.cm,k.first,k.first-W,W);for(var q=k.cm.display,ne=q.viewFrom;nek.lastLine())return;if(W.from.lineFe&&(W={from:W.from,to:_t(Fe,Ee(k,Fe).text.length),text:[W.text[0]],origin:W.origin}),W.removed=je(k,W.from,W.to),q||(q=Yt(k,W)),k.cm?Qs(k.cm,W,ne):ri(k,W,ne),ha(k,q,fe),k.cantEdit&&Fo(k,_t(k.firstLine(),0))&&(k.cantEdit=!1)}function Qs(k,W,q){var ne=k.doc,le=k.display,Fe=W.from,mt=W.to,Ut=!1,nr=Fe.line;k.options.lineWrapping||(nr=wt(ir(Ee(ne,Fe.line))),ne.iter(nr,mt.line+1,function(ni){if(ni==le.maxLine)return Ut=!0,!0})),ne.sel.contains(W.from,W.to)>-1&&Tt(k),ri(ne,W,q,_o(k)),k.options.lineWrapping||(ne.iter(nr,Fe.line+W.text.length,function(ni){var Pi=jn(ni);Pi>le.maxLineLength&&(le.maxLine=ni,le.maxLineLength=Pi,le.maxLineChanged=!0,Ut=!1)}),Ut&&(k.curOp.updateMaxLine=!0)),Ue(ne,Fe.line),Qo(k,400);var lr=W.text.length-(mt.line-Fe.line)-1;W.full?da(k):Fe.line==mt.line&&W.text.length==1&&!Jn(k.doc,W)?rt(k,Fe.line,"text"):da(k,Fe.line,mt.line+1,lr);var Sn=Ct(k,"changes"),Bn=Ct(k,"change");if(Bn||Sn){var Zn={from:Fe,to:mt,text:W.text,removed:W.removed,origin:W.origin};Bn&&dr(k,"change",k,Zn),Sn&&(k.curOp.changeObjs||(k.curOp.changeObjs=[])).push(Zn)}k.display.selForContextMenu=null}function tl(k,W,q,ne,le){var Fe;ne||(ne=q),at(ne,q)<0&&(Fe=[ne,q],q=Fe[0],ne=Fe[1]),typeof W=="string"&&(W=k.splitLines(W)),is(k,{from:q,to:ne,text:W,origin:le})}function _s(k,W,q,ne){q1||!(this.children[0]instanceof zs))){var nr=[];this.collapse(nr),this.children=[new zs(nr)],this.children[0].parent=this}},collapse:function(W){for(var q=0;q50){for(var Ut=Fe.lines.length%25+25,nr=Ut;nr10);W.parent.maybeSpill()},iterN:function(W,q,ne){for(var le=0;lek.display.maxLineLength&&(k.display.maxLine=lr,k.display.maxLineLength=Sn,k.display.maxLineChanged=!0)}ne!=null&&k&&this.collapsed&&da(k,ne,le+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,k&&ll(k.doc)),k&&dr(k,"markerCleared",k,this,ne,le),W&&Fa(k),this.parent&&this.parent.clear()},ul.prototype.find=function(k,W){k==null&&this.type=="bookmark"&&(k=1);for(var q,ne,le=0;le0||mt==0&&Fe.clearWhenEmpty!==!1)return Fe;if(Fe.replacedWith&&(Fe.collapsed=!0,Fe.widgetNode=L("span",[Fe.replacedWith],"CodeMirror-widget"),ne.handleMouseEvents||Fe.widgetNode.setAttribute("cm-ignore-events","true"),ne.insertLeft&&(Fe.widgetNode.insertLeft=!0)),Fe.collapsed){if(Dr(k,W.line,W,q,Fe)||W.line!=q.line&&Dr(k,q.line,W,q,Fe))throw new Error("Inserting collapsed marker partially overlapping an existing one");yt()}Fe.addToHistory&&Oo(k,{from:W,to:q,origin:"markText"},k.sel,NaN);var Ut=W.line,nr=k.cm,lr;if(k.iter(Ut,q.line+1,function(Bn){nr&&Fe.collapsed&&!nr.options.lineWrapping&&ir(Bn)==nr.display.maxLine&&(lr=!0),Fe.collapsed&&Ut!=W.line&&$e(Bn,0),_r(Bn,new ht(Fe,Ut==W.line?W.ch:null,Ut==q.line?q.ch:null)),++Ut}),Fe.collapsed&&k.iter(W.line,q.line+1,function(Bn){Cr(k,Bn)&&$e(Bn,0)}),Fe.clearOnEnter&&Te(Fe,"beforeCursorEnter",function(){return Fe.clear()}),Fe.readOnly&&(qe(),(k.history.done.length||k.history.undone.length)&&k.clearHistory()),Fe.collapsed&&(Fe.id=++yu,Fe.atomic=!0),nr){if(lr&&(nr.curOp.updateMaxLine=!0),Fe.collapsed)da(nr,W.line,q.line+1);else if(Fe.className||Fe.startStyle||Fe.endStyle||Fe.css||Fe.attributes||Fe.title)for(var Sn=W.line;Sn<=q.line;Sn++)rt(nr,Sn,"text");Fe.atomic&&ll(nr.doc),dr(nr,"markerAdded",nr,Fe)}return Fe}var zl=function(W,q){this.markers=W,this.primary=q;for(var ne=0;ne=0;nr--)is(this,ne[nr]);Ut?Ks(this,Ut):this.cm&&aa(this.cm)}),undo:jo(function(){Rs(this,"undo")}),redo:jo(function(){Rs(this,"redo")}),undoSelection:jo(function(){Rs(this,"undo",!0)}),redoSelection:jo(function(){Rs(this,"redo",!0)}),setExtending:function(W){this.extend=W},getExtending:function(){return this.extend},historySize:function(){for(var W=this.history,q=0,ne=0,le=0;le=W.ch)&&q.push(Fe.marker.parent||Fe.marker)}return q},findMarks:function(W,q,ne){W=ot(this,W),q=ot(this,q);var le=[],Fe=W.line;return this.iter(W.line,q.line+1,function(mt){var Ut=mt.markedSpans;if(Ut)for(var nr=0;nr=lr.to||lr.from==null&&Fe!=W.line||lr.from!=null&&Fe==q.line&&lr.from>=q.ch)&&(!ne||ne(lr.marker))&&le.push(lr.marker.parent||lr.marker)}++Fe}),le},getAllMarks:function(){var W=[];return this.iter(function(q){var ne=q.markedSpans;if(ne)for(var le=0;leW)return q=W,!0;W-=mt,++ne}),ot(this,_t(ne,q))},indexFromPos:function(W){W=ot(this,W);var q=W.ch;if(W.lineq&&(q=W.from),W.to!=null&&W.to-1){W.state.draggingText(k),setTimeout(function(){return W.display.input.focus()},20);return}try{var Sn=k.dataTransfer.getData("Text");if(Sn){var Bn;if(W.state.draggingText&&!W.state.draggingText.copy&&(Bn=W.listSelections()),ha(W.doc,Se(q,q)),Bn)for(var Zn=0;Zn=0;Ut--)tl(k.doc,"",ne[Ut].from,ne[Ut].to,"+delete");aa(k)})}function Ul(k,W,q){var ne=Me(k.text,W+q,q);return ne<0||ne>k.text.length?null:ne}function xu(k,W,q){var ne=Ul(k,W.ch,q);return ne==null?null:new _t(W.line,ne,q<0?"after":"before")}function Eu(k,W,q,ne,le){if(k){W.doc.direction=="rtl"&&(le=-le);var Fe=it(q,W.doc.direction);if(Fe){var mt=le<0?ce(Fe):Fe[0],Ut=le<0==(mt.level==1),nr=Ut?"after":"before",lr;if(mt.level>0||W.doc.direction=="rtl"){var Sn=$i(W,q);lr=le<0?q.text.length-1:0;var Bn=qi(W,Sn,lr).top;lr=Ie(function(Zn){return qi(W,Sn,Zn).top==Bn},le<0==(mt.level==1)?mt.from:mt.to-1,lr),nr=="before"&&(lr=Ul(q,lr,1))}else lr=le<0?mt.to:mt.from;return new _t(ne,lr,nr)}}return new _t(ne,le<0?q.text.length:0,le<0?"before":"after")}function fu(k,W,q,ne){var le=it(W,k.doc.direction);if(!le)return xu(W,q,ne);q.ch>=W.text.length?(q.ch=W.text.length,q.sticky="before"):q.ch<=0&&(q.ch=0,q.sticky="after");var Fe=Oe(le,q.ch,q.sticky),mt=le[Fe];if(k.doc.direction=="ltr"&&mt.level%2==0&&(ne>0?mt.to>q.ch:mt.from=mt.from&&Zn>=Sn.begin)){var ni=Bn?"before":"after";return new _t(q.line,Zn,ni)}}var Pi=function(oa,xa,Ma){for(var To=function(bs,nl){return nl?new _t(q.line,Ut(bs,1),"before"):new _t(q.line,bs,"after")};oa>=0&&oa0==(so.level!=1),os=Yo?Ma.begin:Ut(Ma.end,-1);if(so.from<=os&&os0?Sn.end:Ut(Sn.begin,-1);return ua!=null&&!(ne>0&&ua==W.text.length)&&(Ji=Pi(ne>0?0:le.length-1,ne,lr(ua)),Ji)?Ji:null}var jl={selectAll:Wo,singleSelection:function(W){return W.setSelection(W.getCursor("anchor"),W.getCursor("head"),fe)},killLine:function(W){return ml(W,function(q){if(q.empty()){var ne=Ee(W.doc,q.head.line).text.length;return q.head.ch==ne&&q.head.line0)Fe=new _t(Fe.line,Fe.ch+1),W.replaceRange(mt.charAt(Fe.ch-1)+mt.charAt(Fe.ch-2),_t(Fe.line,Fe.ch-2),Fe,"+transpose");else if(Fe.line>W.doc.first){var Ut=Ee(W.doc,Fe.line-1).text;Ut&&(Fe=new _t(Fe.line,1),W.replaceRange(mt.charAt(0)+W.doc.lineSeparator()+Ut.charAt(Ut.length-1),_t(Fe.line-1,Ut.length-1),Fe,"+transpose"))}}ne.push(new se(Fe,Fe))}W.setSelections(ne)})},newlineAndIndent:function(W){return ho(W,function(){for(var q=W.listSelections(),ne=q.length-1;ne>=0;ne--)W.replaceRange(W.doc.lineSeparator(),q[ne].anchor,q[ne].head,"+input");q=W.listSelections();for(var le=0;lek&&at(W,this.pos)==0&&q==this.button};var Vs,Gl;function pu(k,W){var q=+new Date;return Gl&&Gl.compare(q,k,W)?(Vs=Gl=null,"triple"):Vs&&Vs.compare(q,k,W)?(Gl=new Kl(q,k,W),Vs=null,"double"):(Vs=new Kl(q,k,W),Gl=null,"single")}function su(k){var W=this,q=W.display;if(Ot(W,k)||q.activeTouch&&q.input.supportsTouch())return;if(q.input.ensurePolled(),q.shift=k.shiftKey,On(q,k)){o||(q.scroller.draggable=!1,setTimeout(function(){return q.scroller.draggable=!0},100));return}if(Cu(W,k))return;var ne=za(W,k),le=ae(k),Fe=ne?pu(ne,le):"single";if(window.focus(),le==1&&W.state.selectingText&&W.state.selectingText(k),ne&&Pu(W,le,ne,Fe,k))return;le==1?ne?zu(W,ne,Fe,k):De(k)==q.scroller&&Be(k):le==2?(ne&&Xo(W.doc,ne),setTimeout(function(){return q.input.focus()},20)):le==3&&(E?W.display.input.onContextMenu(k):Kn(W))}function Pu(k,W,q,ne,le){var Fe="Click";return ne=="double"?Fe="Double"+Fe:ne=="triple"&&(Fe="Triple"+Fe),Fe=(W==1?"Left":W==2?"Middle":"Right")+Fe,Ho(k,_u(Fe,le),le,function(mt){if(typeof mt=="string"&&(mt=jl[mt]),!mt)return!1;var Ut=!1;try{k.isReadOnly()&&(k.state.suppressEdits=!0),Ut=mt(k,q)!=ee}finally{k.state.suppressEdits=!1}return Ut})}function $u(k,W,q){var ne=k.getOption("configureMouse"),le=ne?ne(k,W,q):{};if(le.unit==null){var Fe=p?q.shiftKey&&q.metaKey:q.altKey;le.unit=Fe?"rectangle":W=="single"?"char":W=="double"?"word":"line"}return(le.extend==null||k.doc.extend)&&(le.extend=k.doc.extend||q.shiftKey),le.addNew==null&&(le.addNew=h?q.metaKey:q.ctrlKey),le.moveOnDrag==null&&(le.moveOnDrag=!(h?q.altKey:q.ctrlKey)),le}function zu(k,W,q,ne){f?setTimeout(F($n,k),0):k.curOp.focus=R();var le=$u(k,q,ne),Fe=k.doc.sel,mt;k.options.dragDrop&>&&!k.isReadOnly()&&q=="single"&&(mt=Fe.contains(W))>-1&&(at((mt=Fe.ranges[mt]).from(),W)<0||W.xRel>0)&&(at(mt.to(),W)>0||W.xRel<0)?qu(k,ne,W,le):Lu(k,ne,W,le)}function qu(k,W,q,ne){var le=k.display,Fe=!1,mt=No(k,function(lr){o&&(le.scroller.draggable=!1),k.state.draggingText=!1,ze(le.wrapper.ownerDocument,"mouseup",mt),ze(le.wrapper.ownerDocument,"mousemove",Ut),ze(le.scroller,"dragstart",nr),ze(le.scroller,"drop",mt),Fe||(Be(lr),ne.addNew||Xo(k.doc,q,null,null,ne.extend),o&&!e||f&&c==9?setTimeout(function(){le.wrapper.ownerDocument.body.focus({preventScroll:!0}),le.input.focus()},20):le.input.focus())}),Ut=function(Sn){Fe=Fe||Math.abs(W.clientX-Sn.clientX)+Math.abs(W.clientY-Sn.clientY)>=10},nr=function(){return Fe=!0};o&&(le.scroller.draggable=!0),k.state.draggingText=mt,mt.copy=!ne.moveOnDrag,le.scroller.dragDrop&&le.scroller.dragDrop(),Te(le.wrapper.ownerDocument,"mouseup",mt),Te(le.wrapper.ownerDocument,"mousemove",Ut),Te(le.scroller,"dragstart",nr),Te(le.scroller,"drop",mt),Kn(k),setTimeout(function(){return le.input.focus()},20)}function mu(k,W,q){if(q=="char")return new se(W,W);if(q=="word")return k.findWordAt(W);if(q=="line")return new se(_t(W.line,0),ot(k.doc,_t(W.line+1,0)));var ne=q(k,W);return new se(ne.from,ne.to)}function Lu(k,W,q,ne){var le=k.display,Fe=k.doc;Be(W);var mt,Ut,nr=Fe.sel,lr=nr.ranges;if(ne.addNew&&!ne.extend?(Ut=Fe.sel.contains(q),Ut>-1?mt=lr[Ut]:mt=new se(q,q)):(mt=Fe.sel.primary(),Ut=Fe.sel.primIndex),ne.unit=="rectangle")ne.addNew||(mt=new se(q,q)),q=za(k,W,!0,!0),Ut=-1;else{var Sn=mu(k,q,ne.unit);ne.extend?mt=xs(mt,Sn.anchor,Sn.head,ne.extend):mt=Sn}ne.addNew?Ut==-1?(Ut=lr.length,as(Fe,ge(k,lr.concat([mt]),Ut),{scroll:!1,origin:"*mouse"})):lr.length>1&&lr[Ut].empty()&&ne.unit=="char"&&!ne.extend?(as(Fe,ge(k,lr.slice(0,Ut).concat(lr.slice(Ut+1)),0),{scroll:!1,origin:"*mouse"}),nr=Fe.sel):Cs(Fe,Ut,mt,ie):(Ut=0,as(Fe,new At([mt],0),ie),nr=Fe.sel);var Bn=q;function Zn(xa){if(at(Bn,xa)==0)return;if(Bn=xa,ne.unit=="rectangle"){for(var Ma=[],To=k.options.tabSize,so=j(Ee(Fe,q.line).text,q.ch,To),Yo=j(Ee(Fe,xa.line).text,xa.ch,To),os=Math.min(so,Yo),Ls=Math.max(so,Yo),bs=Math.min(q.line,xa.line),nl=Math.min(k.lastLine(),Math.max(q.line,xa.line));bs<=nl;bs++){var bl=Ee(Fe,bs).text,Gs=Ce(bl,os,To);os==Ls?Ma.push(new se(_t(bs,Gs),_t(bs,Gs))):bl.length>Gs&&Ma.push(new se(_t(bs,Gs),_t(bs,Ce(bl,Ls,To))))}Ma.length||Ma.push(new se(q,q)),as(Fe,ge(k,nr.ranges.slice(0,Ut).concat(Ma),Ut),{origin:"*mouse",scroll:!1}),k.scrollIntoView(xa)}else{var wl=mt,il=mu(k,xa,ne.unit),$s=wl.anchor,Xs;at(il.anchor,$s)>0?(Xs=il.head,$s=Et(wl.from(),il.anchor)):(Xs=il.anchor,$s=Pt(wl.to(),il.head));var Fs=nr.ranges.slice(0);Fs[Ut]=ec(k,new se(ot(Fe,$s),Xs)),as(Fe,ge(k,Fs,Ut),ie)}}var ni=le.wrapper.getBoundingClientRect(),Pi=0;function Ji(xa){var Ma=++Pi,To=za(k,xa,!0,ne.unit=="rectangle");if(!To)return;if(at(To,Bn)!=0){k.curOp.focus=R(),Zn(To);var so=Bi(le,Fe);(To.line>=so.to||To.lineni.bottom?20:0;Yo&&setTimeout(No(k,function(){if(Pi!=Ma)return;le.scroller.scrollTop+=Yo,Ji(xa)}),50)}}function ua(xa){k.state.selectingText=!1,Pi=Infinity,xa&&(Be(xa),le.input.focus()),ze(le.wrapper.ownerDocument,"mousemove",la),ze(le.wrapper.ownerDocument,"mouseup",oa),Fe.history.lastSelOrigin=null}var la=No(k,function(xa){xa.buttons===0||!ae(xa)?ua(xa):Ji(xa)}),oa=No(k,ua);k.state.selectingText=oa,Te(le.wrapper.ownerDocument,"mousemove",la),Te(le.wrapper.ownerDocument,"mouseup",oa)}function ec(k,W){var q=W.anchor,ne=W.head,le=Ee(k.doc,q.line);if(at(q,ne)==0&&q.sticky==ne.sticky)return W;var Fe=it(le);if(!Fe)return W;var mt=Oe(Fe,q.ch,q.sticky),Ut=Fe[mt];if(Ut.from!=q.ch&&Ut.to!=q.ch)return W;var nr=mt+(Ut.from==q.ch==(Ut.level!=1)?0:1);if(nr==0||nr==Fe.length)return W;var lr;if(ne.line!=q.line)lr=(ne.line-q.line)*(k.doc.direction=="ltr"?1:-1)>0;else{var Sn=Oe(Fe,ne.ch,ne.sticky),Bn=Sn-mt||(ne.ch-q.ch)*(Ut.level==1?-1:1);Sn==nr-1||Sn==nr?lr=Bn<0:lr=Bn>0}var Zn=Fe[nr+(lr?-1:0)],ni=lr==(Zn.level==1),Pi=ni?Zn.from:Zn.to,Ji=ni?"after":"before";return q.ch==Pi&&q.sticky==Ji?W:new se(new _t(q.line,Pi,Ji),ne)}function Fu(k,W,q,ne){var le,Fe;if(W.touches)le=W.touches[0].clientX,Fe=W.touches[0].clientY;else try{le=W.clientX,Fe=W.clientY}catch(Zn){return!1}if(le>=Math.floor(k.display.gutters.getBoundingClientRect().right))return!1;ne&&Be(W);var mt=k.display,Ut=mt.lineDiv.getBoundingClientRect();if(Fe>Ut.bottom||!Ct(k,q))return Z(W);Fe-=Ut.top-mt.viewOffset;for(var nr=0;nr=le){var Sn=qt(k.doc,Fe),Bn=k.display.gutterSpecs[nr];return dt(k,q,k,Sn,Bn.className,W),Z(W)}}}function Cu(k,W){return Fu(k,W,"gutterClick",!0)}function Nu(k,W){if(On(k.display,W)||gu(k,W))return;if(Ot(k,W,"contextmenu"))return;E||k.display.input.onContextMenu(W)}function gu(k,W){return Ct(k,"gutterContextMenu")?Fu(k,W,"gutterContextMenu",!1):!1}function Bu(k){k.display.wrapper.className=k.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+k.options.theme.replace(/(^|\s)\s*/g," cm-s-"),va(k)}var vu={toString:function(){return"CodeMirror.Init"}},Tu={},ve={};function Ke(k){var W=k.optionHandlers;function q(ne,le,Fe,mt){k.defaults[ne]=le,Fe&&(W[ne]=mt?function(Ut,nr,lr){lr!=vu&&Fe(Ut,nr,lr)}:Fe)}k.defineOption=q,k.Init=vu,q("value","",function(ne,le){return ne.setValue(le)},!0),q("mode",null,function(ne,le){ne.doc.modeOption=le,mn(ne)},!0),q("indentUnit",2,mn,!0),q("indentWithTabs",!1),q("smartIndent",!0),q("tabSize",4,function(ne){Wn(ne),va(ne),da(ne)},!0),q("lineSeparator",null,function(ne,le){if(ne.doc.lineSep=le,!le)return;var Fe=[],mt=ne.doc.first;ne.doc.iter(function(nr){for(var lr=0;;){var Sn=nr.text.indexOf(le,lr);if(Sn==-1)break;lr=Sn+le.length,Fe.push(_t(mt,Sn))}mt++});for(var Ut=Fe.length-1;Ut>=0;Ut--)tl(ne.doc,le,Fe[Ut],_t(Fe[Ut].line,Fe[Ut].ch+le.length))}),q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ne,le,Fe){ne.state.specialChars=new RegExp(le.source+(le.test(" ")?"":"| "),"g"),Fe!=vu&&ne.refresh()}),q("specialCharPlaceholder",ui,function(ne){return ne.refresh()},!0),q("electricChars",!0),q("inputStyle",u?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),q("spellcheck",!1,function(ne,le){return ne.getInputField().spellcheck=le},!0),q("autocorrect",!1,function(ne,le){return ne.getInputField().autocorrect=le},!0),q("autocapitalize",!1,function(ne,le){return ne.getInputField().autocapitalize=le},!0),q("rtlMoveVisually",!g),q("wholeLineUpdateBefore",!0),q("theme","default",function(ne){Bu(ne),Jo(ne)},!0),q("keyMap","default",function(ne,le,Fe){var mt=_l(le),Ut=Fe!=vu&&_l(Fe);Ut&&Ut.detach&&Ut.detach(ne,mt),mt.attach&&mt.attach(ne,Ut||null)}),q("extraKeys",null),q("configureMouse",null),q("lineWrapping",!1,tr,!0),q("gutters",[],function(ne,le){ne.display.gutterSpecs=yo(le,ne.options.lineNumbers),Jo(ne)},!0),q("fixedGutter",!0,function(ne,le){ne.display.gutters.style.left=le?Ja(ne.display)+"px":"0",ne.refresh()},!0),q("coverGutterNextToScrollbar",!1,function(ne){return ro(ne)},!0),q("scrollbarStyle","native",function(ne){hs(ne),ro(ne),ne.display.scrollbars.setScrollTop(ne.doc.scrollTop),ne.display.scrollbars.setScrollLeft(ne.doc.scrollLeft)},!0),q("lineNumbers",!1,function(ne,le){ne.display.gutterSpecs=yo(ne.options.gutters,le),Jo(ne)},!0),q("firstLineNumber",1,Jo,!0),q("lineNumberFormatter",function(ne){return ne},Jo,!0),q("showCursorWhenSelecting",!1,zr,!0),q("resetSelectionOnContextMenu",!0),q("lineWiseCopyCut",!0),q("pasteLinesPerSelection",!0),q("selectionsMayTouch",!1),q("readOnly",!1,function(ne,le){le=="nocursor"&&(Xn(ne),ne.display.input.blur()),ne.display.input.readOnlyChanged(le)}),q("screenReaderLabel",null,function(ne,le){le=le===""?null:le,ne.display.input.screenReaderLabelChanged(le)}),q("disableInput",!1,function(ne,le){le||ne.display.input.reset()},!0),q("dragDrop",!0,pt),q("allowDropFileTypes",null),q("cursorBlinkRate",530),q("cursorScrollMargin",0),q("cursorHeight",1,zr,!0),q("singleCursorHeightPerLine",!0,zr,!0),q("workTime",100),q("workDelay",100),q("flattenSpans",!0,Wn,!0),q("addModeClass",!1,Wn,!0),q("pollInterval",100),q("undoDepth",200,function(ne,le){return ne.doc.history.undoDepth=le}),q("historyEventDelay",1250),q("viewportMargin",10,function(ne){return ne.refresh()},!0),q("maxHighlightLength",1e4,Wn,!0),q("moveInputWithCursor",!0,function(ne,le){le||ne.display.input.resetPosition()}),q("tabindex",null,function(ne,le){return ne.display.input.getField().tabIndex=le||""}),q("autofocus",null),q("direction","ltr",function(ne,le){return ne.doc.setDirection(le)},!0),q("phrases",null)}function pt(k,W,q){var ne=q&&q!=vu;if(!W!=!ne){var le=k.display.dragFunctions,Fe=W?Te:ze;Fe(k.display.scroller,"dragstart",le.start),Fe(k.display.scroller,"dragenter",le.enter),Fe(k.display.scroller,"dragover",le.over),Fe(k.display.scroller,"dragleave",le.leave),Fe(k.display.scroller,"drop",le.drop)}}function tr(k){k.options.lineWrapping?(B(k.display.wrapper,"CodeMirror-wrap"),k.display.sizer.style.minWidth="",k.display.sizerWidth=null):(w(k.display.wrapper,"CodeMirror-wrap"),Nn(k)),Ao(k),da(k),va(k),setTimeout(function(){return ro(k)},100)}function Tr(k,W){var q=this;if(!(this instanceof Tr))return new Tr(k,W);this.options=W=W?K(W):{},K(Tu,W,!1);var ne=W.value;typeof ne=="string"?ne=new rl(ne,W.mode,null,W.lineSeparator,W.direction):W.mode&&(ne.modeOption=W.mode),this.doc=ne;var le=new Tr.inputStyles[W.inputStyle](this),Fe=this.display=new Go(k,ne,le,W);Fe.wrapper.CodeMirror=this,Bu(this),W.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),hs(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},W.autofocus&&!u&&Fe.input.focus(),f&&c<11&&setTimeout(function(){return q.display.input.reset(!0)},20),Gr(this),nu(),Mo(this),this.curOp.forceUpdate=!0,Yi(this,ne),W.autofocus&&!u||this.hasFocus()?setTimeout(function(){q.hasFocus()&&!q.state.focused&&si(q)},20):Xn(this);for(var mt in ve)ve.hasOwnProperty(mt)&&ve[mt](this,W[mt],vu);ds(this),W.finishInit&&W.finishInit(this);for(var Ut=0;Ut<_e.length;++Ut)_e[Ut](this);Fa(this),o&&W.lineWrapping&&getComputedStyle(Fe.lineDiv).textRendering=="optimizelegibility"&&(Fe.lineDiv.style.textRendering="auto")}Tr.defaults=Tu,Tr.optionHandlers=ve;function Gr(k){var W=k.display;Te(W.scroller,"mousedown",No(k,su)),f&&c<11?Te(W.scroller,"dblclick",No(k,function(nr){if(Ot(k,nr))return;var lr=za(k,nr);if(!lr||Cu(k,nr)||On(k.display,nr))return;Be(nr);var Sn=k.findWordAt(lr);Xo(k.doc,Sn.anchor,Sn.head)})):Te(W.scroller,"dblclick",function(nr){return Ot(k,nr)||Be(nr)}),Te(W.scroller,"contextmenu",function(nr){return Nu(k,nr)}),Te(W.input.getField(),"contextmenu",function(nr){W.scroller.contains(nr.target)||Nu(k,nr)});var q,ne={end:0};function le(){W.activeTouch&&(q=setTimeout(function(){return W.activeTouch=null},1e3),ne=W.activeTouch,ne.end=+new Date)}function Fe(nr){if(nr.touches.length!=1)return!1;var lr=nr.touches[0];return lr.radiusX<=1&&lr.radiusY<=1}function mt(nr,lr){if(lr.left==null)return!0;var Sn=lr.left-nr.left,Bn=lr.top-nr.top;return Sn*Sn+Bn*Bn>20*20}Te(W.scroller,"touchstart",function(nr){if(!Ot(k,nr)&&!Fe(nr)&&!Cu(k,nr)){W.input.ensurePolled(),clearTimeout(q);var lr=+new Date;W.activeTouch={start:lr,moved:!1,prev:lr-ne.end<=300?ne:null},nr.touches.length==1&&(W.activeTouch.left=nr.touches[0].pageX,W.activeTouch.top=nr.touches[0].pageY)}}),Te(W.scroller,"touchmove",function(){W.activeTouch&&(W.activeTouch.moved=!0)}),Te(W.scroller,"touchend",function(nr){var lr=W.activeTouch;if(lr&&!On(W,nr)&&lr.left!=null&&!lr.moved&&new Date-lr.start<300){var Sn=k.coordsChar(W.activeTouch,"page"),Bn;!lr.prev||mt(lr,lr.prev)?Bn=new se(Sn,Sn):!lr.prev.prev||mt(lr,lr.prev.prev)?Bn=k.findWordAt(Sn):Bn=new se(_t(Sn.line,0),ot(k.doc,_t(Sn.line+1,0))),k.setSelection(Bn.anchor,Bn.head),k.focus(),Be(nr)}le()}),Te(W.scroller,"touchcancel",le),Te(W.scroller,"scroll",function(){W.scroller.clientHeight&&(Gi(k,W.scroller.scrollTop),ya(k,W.scroller.scrollLeft,!0),dt(k,"scroll",k))}),Te(W.scroller,"mousewheel",function(nr){return hi(k,nr)}),Te(W.scroller,"DOMMouseScroll",function(nr){return hi(k,nr)}),Te(W.wrapper,"scroll",function(){return W.wrapper.scrollTop=W.wrapper.scrollLeft=0}),W.dragFunctions={enter:function(lr){Ot(k,lr)||Re(lr)},over:function(lr){Ot(k,lr)||(tu(k,lr),Re(lr))},start:function(lr){return Vl(k,lr)},drop:No(k,dl),leave:function(lr){Ot(k,lr)||ru(k)}};var Ut=W.input.getField();Te(Ut,"keyup",function(nr){return gl.call(k,nr)}),Te(Ut,"keydown",No(k,Hl)),Te(Ut,"keypress",No(k,yl)),Te(Ut,"focus",function(nr){return si(k,nr)}),Te(Ut,"blur",function(nr){return Xn(k,nr)})}var _e=[];Tr.defineInitHook=function(k){return _e.push(k)};function te(k,W,q,ne){var le=k.doc,Fe;q==null&&(q="add"),q=="smart"&&(le.mode.indent?Fe=_n(k,W).state:q="prev");var mt=k.options.tabSize,Ut=Ee(le,W),nr=j(Ut.text,null,mt);Ut.stateAfter&&(Ut.stateAfter=null);var lr=Ut.text.match(/^\s*/)[0],Sn;if(!ne&&!/\S/.test(Ut.text))Sn=0,q="not";else if(q=="smart"&&(Sn=le.mode.indent(Fe,Ut.text.slice(lr.length),Ut.text),Sn==ee||Sn>150)){if(!ne)return;q="prev"}q=="prev"?W>le.first?Sn=j(Ee(le,W-1).text,null,mt):Sn=0:q=="add"?Sn=nr+k.options.indentUnit:q=="subtract"?Sn=nr-k.options.indentUnit:typeof q=="number"&&(Sn=nr+q),Sn=Math.max(0,Sn);var Bn="",Zn=0;if(k.options.indentWithTabs)for(var ni=Math.floor(Sn/mt);ni;--ni)Zn+=mt,Bn+=" ";if(Znmt,nr=nn(W),lr=null;if(Ut&&ne.ranges.length>1)if(ye&&ye.text.join(` `)==W){if(ne.ranges.length%ye.text.length==0){lr=[];for(var Sn=0;Sn=0;Zn--){var ni=ne.ranges[Zn],Pi=ni.from(),Ji=ni.to();ni.empty()&&(q&&q>0?Pi=_t(Pi.line,Pi.ch-q):k.state.overwrite&&!Ut?Ji=_t(Ji.line,Math.min(Ee(Fe,Ji.line).text.length,Ji.ch+ce(nr).length)):Ut&&ye&&ye.lineWise&&ye.text.join(` `)==nr.join(` `)&&(Pi=Ji=_t(Pi.line,0)));var ua={from:Pi,to:Ji,text:lr?lr[Zn%lr.length]:nr,origin:le||(Ut?"paste":k.state.cutIncoming>mt?"cut":"+input")};is(k.doc,ua),dr(k,"inputRead",k,ua)}W&&!Ut&&Kt(k,W),aa(k),k.curOp.updateInput<2&&(k.curOp.updateInput=Bn),k.curOp.typing=!0,k.state.pasteIncoming=k.state.cutIncoming=-1}function Rt(k,W){var q=k.clipboardData&&k.clipboardData.getData("Text");if(q)return k.preventDefault(),!W.isReadOnly()&&!W.options.disableInput&&ho(W,function(){return lt(W,q,0,null,"paste")}),!0}function Kt(k,W){if(!k.options.electricChars||!k.options.smartIndent)return;for(var q=k.doc.sel,ne=q.ranges.length-1;ne>=0;ne--){var le=q.ranges[ne];if(le.head.ch>100||ne&&q.ranges[ne-1].head.line==le.head.line)continue;var Fe=k.getModeAt(le.head),mt=!1;if(Fe.electricChars){for(var Ut=0;Ut-1){mt=te(k,le.head.line,"smart");break}}else Fe.electricInput&&(Fe.electricInput.test(Ee(k.doc,le.head.line).text.slice(0,le.head.ch))&&(mt=te(k,le.head.line,"smart")));mt&&dr(k,"electricInput",k,le.head.line)}}function Vt(k){for(var W=[],q=[],ne=0;neFe&&(te(this,Ut.head.line,ne,!0),Fe=Ut.head.line,mt==this.doc.sel.primIndex&&aa(this));else{var nr=Ut.from(),lr=Ut.to(),Sn=Math.max(Fe,nr.line);Fe=Math.min(this.lastLine(),lr.line-(lr.ch?0:1))+1;for(var Bn=Sn;Bn0&&Cs(this.doc,mt,new se(nr,Zn[mt].to()),fe)}}}),getTokenAt:function(le,Fe){return Oi(this,le,Fe)},getLineTokens:function(le,Fe){return Oi(this,_t(le),Fe,!0)},getTokenTypeAt:function(le){le=ot(this.doc,le);var Fe=ln(this,Ee(this.doc,le.line)),mt=0,Ut=(Fe.length-1)/2,nr=le.ch,lr;if(nr==0)lr=Fe[2];else for(;;){var Sn=mt+Ut>>1;if((Sn?Fe[Sn*2-1]:0)>=nr)Ut=Sn;else if(Fe[Sn*2+1]lr&&(le=lr,Ut=!0),nr=Ee(this.doc,le)}else nr=le;return Ia(this,nr,{top:0,left:0},Fe||"page",mt||Ut).top+(Ut?this.doc.height-Kr(nr):0)},defaultTextHeight:function(){return to(this.display)},defaultCharWidth:function(){return ao(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(le,Fe,mt,Ut,nr){var lr=this.display;le=Ga(this,ot(this.doc,le));var Sn=le.bottom,Bn=le.left;if(Fe.style.position="absolute",Fe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Fe),lr.sizer.appendChild(Fe),Ut=="over")Sn=le.top;else if(Ut=="above"||Ut=="near"){var Zn=Math.max(lr.wrapper.clientHeight,this.doc.height),ni=Math.max(lr.sizer.clientWidth,lr.lineSpace.clientWidth);(Ut=="above"||le.bottom+Fe.offsetHeight>Zn)&&le.top>Fe.offsetHeight?Sn=le.top-Fe.offsetHeight:le.bottom+Fe.offsetHeight<=Zn&&(Sn=le.bottom),Bn+Fe.offsetWidth>ni&&(Bn=ni-Fe.offsetWidth)}Fe.style.top=Sn+"px",Fe.style.left=Fe.style.right="",nr=="right"?(Bn=lr.sizer.clientWidth-Fe.offsetWidth,Fe.style.right="0px"):(nr=="left"?Bn=0:nr=="middle"&&(Bn=(lr.sizer.clientWidth-Fe.offsetWidth)/2),Fe.style.left=Bn+"px"),mt&&ba(this,{left:Bn,top:Sn,right:Bn+Fe.offsetWidth,bottom:Sn+Fe.offsetHeight})},triggerOnKeyDown:us(Hl),triggerOnKeyPress:us(yl),triggerOnKeyUp:gl,triggerOnMouseDown:us(su),execCommand:function(le){if(jl.hasOwnProperty(le))return jl[le].call(null,this)},triggerElectric:us(function(ne){Kt(this,ne)}),findPosH:function(le,Fe,mt,Ut){var nr=1;Fe<0&&(nr=-1,Fe=-Fe);for(var lr=ot(this.doc,le),Sn=0;Sn0&&Bn(mt.charAt(Ut-1));)--Ut;for(;nr.5||this.options.lineWrapping)&&Ao(this),dt(this,"refresh",this)}),swapDoc:us(function(ne){var le=this.doc;return le.cm=null,this.state.selectingText&&this.state.selectingText(),Yi(this,ne),va(this),this.display.input.reset(),fa(this,ne.scrollLeft,ne.scrollTop),this.curOp.forceScroll=!0,dr(this,"swapDoc",this,le),le}),phrase:function(le){var Fe=this.options.phrases;return Fe&&Object.prototype.hasOwnProperty.call(Fe,le)?Fe[le]:le},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Nt(k),k.registerHelper=function(ne,le,Fe){q.hasOwnProperty(ne)||(q[ne]=k[ne]={_global:[]}),q[ne][le]=Fe},k.registerGlobalHelper=function(ne,le,Fe,mt){k.registerHelper(ne,le,mt),q[ne]._global.push({pred:Fe,val:mt})}}function Sr(k,W,q,ne,le){var Fe=W,mt=q,Ut=Ee(k,W.line),nr=le&&k.direction=="rtl"?-q:q;function lr(){var oa=W.line+nr;return oa=k.first+k.size?!1:(W=new _t(oa,W.ch,W.sticky),Ut=Ee(k,oa))}function Sn(oa){var xa;if(ne=="codepoint"){var Ma=Ut.text.charCodeAt(W.ch+(ne>0?0:-1));isNaN(Ma)?xa=null:xa=new _t(W.line,Math.max(0,Math.min(Ut.text.length,W.ch+q*(Ma>=55296&&Ma<56320?2:1))),-q)}else le?xa=fu(k.cm,Ut,W,q):xa=xu(Ut,W,q);if(xa==null)if(!oa&&lr())W=Eu(le,k.cm,Ut,W.line,nr);else return!1;else W=xa;return!0}if(ne=="char"||ne=="codepoint")Sn();else if(ne=="column")Sn(!0);else if(ne=="word"||ne=="group")for(var Bn=null,Zn=ne=="group",ni=k.cm&&k.cm.getHelper(W,"wordChars"),Pi=!0;!(q<0&&!Sn(!Pi));Pi=!1){var Ji=Ut.text.charAt(W.ch)||` `,ua=X(Ji,ni)?"w":Zn&&Ji==` `?"n":!Zn||/\s/.test(Ji)?null:"p";if(Zn&&!Pi&&!ua&&(ua="s"),Bn&&Bn!=ua){q<0&&(q=1,Sn(),W.sticky="after");break}if(ua&&(Bn=ua),q>0&&!Sn(!Pi))break}var la=Fo(k,W,Fe,mt,!0);return bt(Fe,la)&&(la.hitSide=!0),la}function Vr(k,W,q,ne){var le=k.doc,Fe=W.left,mt;if(ne=="page"){var Ut=Math.min(k.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),nr=Math.max(Ut-.5*to(k.display),3);mt=(q>0?W.bottom:W.top)+q*nr}else ne=="line"&&(mt=q>0?W.bottom+3:W.top-3);for(var lr;!(lr=po(k,Fe,mt),!lr.outside);){if(q<0?mt<=0:mt>=le.height){lr.hitSide=!0;break}mt+=q*5}return lr}var qr=function(W){this.cm=W,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};qr.prototype.init=function(k){var W=this,q=this,ne=q.cm,le=q.div=k.lineDiv;Lr(le,ne.options.spellcheck,ne.options.autocorrect,ne.options.autocapitalize);function Fe(Ut){for(var nr=Ut.target;nr;nr=nr.parentNode){if(nr==le)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(nr.className))break}return!1}Te(le,"paste",function(Ut){if(!Fe(Ut)||Ot(ne,Ut)||Rt(Ut,ne))return;c<=11&&setTimeout(No(ne,function(){return W.updateFromDOM()}),20)}),Te(le,"compositionstart",function(Ut){W.composing={data:Ut.data,done:!1}}),Te(le,"compositionupdate",function(Ut){W.composing||(W.composing={data:Ut.data,done:!1})}),Te(le,"compositionend",function(Ut){W.composing&&(Ut.data!=W.composing.data&&W.readFromDOMSoon(),W.composing.done=!0)}),Te(le,"touchstart",function(){return q.forceCompositionEnd()}),Te(le,"input",function(){W.composing||W.readFromDOMSoon()});function mt(Ut){if(!Fe(Ut)||Ot(ne,Ut))return;if(ne.somethingSelected())Ge({lineWise:!1,text:ne.getSelections()}),Ut.type=="cut"&&ne.replaceSelection("",null,"cut");else if(ne.options.lineWiseCopyCut){var nr=Vt(ne);Ge({lineWise:!0,text:nr.text}),Ut.type=="cut"&&ne.operation(function(){ne.setSelections(nr.ranges,0,fe),ne.replaceSelection("",null,"cut")})}else return;if(Ut.clipboardData){Ut.clipboardData.clearData();var lr=ye.text.join(` `);if(Ut.clipboardData.setData("Text",lr),Ut.clipboardData.getData("Text")==lr){Ut.preventDefault();return}}var Sn=Jr(),Bn=Sn.firstChild;ne.display.lineSpace.insertBefore(Sn,ne.display.lineSpace.firstChild),Bn.value=ye.text.join(` `);var Zn=document.activeElement;H(Bn),setTimeout(function(){ne.display.lineSpace.removeChild(Sn),Zn.focus(),Zn==le&&q.showPrimarySelection()},50)}Te(le,"copy",mt),Te(le,"cut",mt)},qr.prototype.screenReaderLabelChanged=function(k){k?this.div.setAttribute("aria-label",k):this.div.removeAttribute("aria-label")},qr.prototype.prepareSelection=function(){var k=yr(this.cm,!1);return k.focus=document.activeElement==this.div,k},qr.prototype.showSelection=function(k,W){if(!k||!this.cm.display.view.length)return;(k.focus||W)&&this.showPrimarySelection(),this.showMultipleSelections(k)},qr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},qr.prototype.showPrimarySelection=function(){var k=this.getSelection(),W=this.cm,q=W.doc.sel.primary(),ne=q.from(),le=q.to();if(W.display.viewTo==W.display.viewFrom||ne.line>=W.display.viewTo||le.line=W.display.viewFrom&&Tn(W,ne)||{node:Ut[0].measure.map[2],offset:0},lr=le.linek.firstLine()&&(ne=_t(ne.line-1,Ee(k.doc,ne.line-1).length)),le.ch==Ee(k.doc,le.line).text.length&&le.lineW.viewTo-1)return!1;var Fe,mt,Ut;ne.line==W.viewFrom||(Fe=ja(k,ne.line))==0?(mt=wt(W.view[0].line),Ut=W.view[0].node):(mt=wt(W.view[Fe].line),Ut=W.view[Fe-1].node.nextSibling);var nr=ja(k,le.line),lr,Sn;if(nr==W.view.length-1?(lr=W.viewTo-1,Sn=W.lineDiv.lastChild):(lr=wt(W.view[nr+1].line)-1,Sn=W.view[nr+1].node.previousSibling),!Ut)return!1;for(var Bn=k.doc.splitLines(Vi(k,Ut,Sn,mt,lr)),Zn=je(k.doc,_t(mt,0),_t(lr,Ee(k.doc,lr).text.length));Bn.length>1&&Zn.length>1;)if(ce(Bn)==ce(Zn))Bn.pop(),Zn.pop(),lr--;else if(Bn[0]==Zn[0])Bn.shift(),Zn.shift(),mt++;else break;for(var ni=0,Pi=0,Ji=Bn[0],ua=Zn[0],la=Math.min(Ji.length,ua.length);nine.ch&&oa.charCodeAt(oa.length-Pi-1)==xa.charCodeAt(xa.length-Pi-1);)ni--,Pi++;Bn[Bn.length-1]=oa.slice(0,oa.length-Pi).replace(/^\u200b+/,""),Bn[0]=Bn[0].slice(ni).replace(/\u200b+$/,"");var To=_t(mt,ni),so=_t(lr,Zn.length?ce(Zn).length-Pi:0);if(Bn.length>1||Bn[0]||at(To,so))return tl(k.doc,Bn,To,so,"+input"),!0},qr.prototype.ensurePolled=function(){this.forceCompositionEnd()},qr.prototype.reset=function(){this.forceCompositionEnd()},qr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},qr.prototype.readFromDOMSoon=function(){var k=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(k.readDOMTimeout=null,k.composing)if(k.composing.done)k.composing=null;else return;k.updateFromDOM()},80)},qr.prototype.updateFromDOM=function(){var k=this;(this.cm.isReadOnly()||!this.pollContent())&&ho(this.cm,function(){return da(k.cm)})},qr.prototype.setUneditable=function(k){k.contentEditable="false"},qr.prototype.onKeyPress=function(k){if(k.charCode==0||this.composing)return;k.preventDefault(),this.cm.isReadOnly()||No(this.cm,lt)(this.cm,String.fromCharCode(k.charCode==null?k.keyCode:k.charCode),0)},qr.prototype.readOnlyChanged=function(k){this.div.contentEditable=String(k!="nocursor")},qr.prototype.onContextMenu=function(){},qr.prototype.resetPosition=function(){},qr.prototype.needsContentAttribute=!0;function Tn(k,W){var q=Ci(k,W.line);if(!q||q.hidden)return null;var ne=Ee(k.doc,W.line),le=Mi(q,ne,W.line),Fe=it(ne,k.doc.direction),mt="left";if(Fe){var Ut=Oe(Fe,W.ch);mt=Ut%2?"right":"left"}var nr=ia(le.map,W.ch,mt);return nr.offset=nr.collapse=="right"?nr.end:nr.start,nr}function ci(k){for(var W=k;W;W=W.parentNode)if(/CodeMirror-gutter-wrapper/.test(W.className))return!0;return!1}function Ai(k,W){return W&&(k.bad=!0),k}function Vi(k,W,q,ne,le){var Fe="",mt=!1,Ut=k.doc.lineSeparator(),nr=!1;function lr(ni){return function(Pi){return Pi.id==ni}}function Sn(){mt&&(Fe+=Ut,nr&&(Fe+=Ut),mt=nr=!1)}function Bn(ni){ni&&(Sn(),Fe+=ni)}function Zn(ni){if(ni.nodeType==1){var Pi=ni.getAttribute("cm-text");if(Pi){Bn(Pi);return}var Ji=ni.getAttribute("cm-marker"),ua;if(Ji){var la=k.findMarks(_t(ne,0),_t(le+1,0),lr(+Ji));la.length&&(ua=la[0].find(0))&&Bn(je(k.doc,ua.from,ua.to).join(Ut));return}if(ni.getAttribute("contenteditable")=="false")return;var oa=/^(pre|div|p|li|table|br)$/i.test(ni.nodeName);if(!/^br$/i.test(ni.nodeName)&&ni.textContent.length==0)return;oa&&Sn();for(var xa=0;xa=9&&W.hasSelection&&(W.hasSelection=null),q.poll()}),Te(le,"paste",function(mt){if(Ot(ne,mt)||Rt(mt,ne))return;ne.state.pasteIncoming=+new Date,q.fastPoll()});function Fe(mt){if(Ot(ne,mt))return;if(ne.somethingSelected())Ge({lineWise:!1,text:ne.getSelections()});else if(ne.options.lineWiseCopyCut){var Ut=Vt(ne);Ge({lineWise:!0,text:Ut.text}),mt.type=="cut"?ne.setSelections(Ut.ranges,null,fe):(q.prevInput="",le.value=Ut.text.join(` `),H(le))}else return;mt.type=="cut"&&(ne.state.cutIncoming=+new Date)}Te(le,"cut",Fe),Te(le,"copy",Fe),Te(k.scroller,"paste",function(mt){if(On(k,mt)||Ot(ne,mt))return;if(!le.dispatchEvent){ne.state.pasteIncoming=+new Date,q.focus();return}var Ut=new Event("paste");Ut.clipboardData=mt.clipboardData,le.dispatchEvent(Ut)}),Te(k.lineSpace,"selectstart",function(mt){On(k,mt)||Be(mt)}),Te(le,"compositionstart",function(){var mt=ne.getCursor("from");q.composing&&q.composing.range.clear(),q.composing={start:mt,range:ne.markText(mt,ne.getCursor("to"),{className:"CodeMirror-composing"})}}),Te(le,"compositionend",function(){q.composing&&(q.poll(),q.composing.range.clear(),q.composing=null)})},Zi.prototype.createField=function(k){this.wrapper=Jr(),this.textarea=this.wrapper.firstChild},Zi.prototype.screenReaderLabelChanged=function(k){k?this.textarea.setAttribute("aria-label",k):this.textarea.removeAttribute("aria-label")},Zi.prototype.prepareSelection=function(){var k=this.cm,W=k.display,q=k.doc,ne=yr(k);if(k.options.moveInputWithCursor){var le=Ga(k,q.sel.primary().head,"div"),Fe=W.wrapper.getBoundingClientRect(),mt=W.lineDiv.getBoundingClientRect();ne.teTop=Math.max(0,Math.min(W.wrapper.clientHeight-10,le.top+mt.top-Fe.top)),ne.teLeft=Math.max(0,Math.min(W.wrapper.clientWidth-10,le.left+mt.left-Fe.left))}return ne},Zi.prototype.showSelection=function(k){var W=this.cm,q=W.display;I(q.cursorDiv,k.cursors),I(q.selectionDiv,k.selection),k.teTop!=null&&(this.wrapper.style.top=k.teTop+"px",this.wrapper.style.left=k.teLeft+"px")},Zi.prototype.reset=function(k){if(this.contextMenuPending||this.composing)return;var W=this.cm;if(W.somethingSelected()){this.prevInput="";var q=W.getSelection();this.textarea.value=q,W.state.focused&&H(this.textarea),f&&c>=9&&(this.hasSelection=q)}else k||(this.prevInput=this.textarea.value="",f&&c>=9&&(this.hasSelection=null))},Zi.prototype.getField=function(){return this.textarea},Zi.prototype.supportsTouch=function(){return!1},Zi.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!u||R()!=this.textarea))try{this.textarea.focus()}catch(k){}},Zi.prototype.blur=function(){this.textarea.blur()},Zi.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Zi.prototype.receivedFocus=function(){this.slowPoll()},Zi.prototype.slowPoll=function(){var k=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){k.poll(),k.cm.state.focused&&k.slowPoll()})},Zi.prototype.fastPoll=function(){var k=!1,W=this;W.pollingFast=!0;function q(){var ne=W.poll();!ne&&!k?(k=!0,W.polling.set(60,q)):(W.pollingFast=!1,W.slowPoll())}W.polling.set(20,q)},Zi.prototype.poll=function(){var k=this,W=this.cm,q=this.textarea,ne=this.prevInput;if(this.contextMenuPending||!W.state.focused||mr(q)&&!ne&&!this.composing||W.isReadOnly()||W.options.disableInput||W.state.keySeq)return!1;var le=q.value;if(le==ne&&!W.somethingSelected())return!1;if(f&&c>=9&&this.hasSelection===le||h&&/[\uf700-\uf7ff]/.test(le))return W.display.input.reset(),!1;if(W.doc.sel==W.display.selForContextMenu){var Fe=le.charCodeAt(0);if(Fe==8203&&!ne&&(ne="\u200B"),Fe==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,Ut=Math.min(ne.length,le.length);mt1e3||le.indexOf(` `)>-1?q.value=k.prevInput="":k.prevInput=le,k.composing&&(k.composing.range.clear(),k.composing.range=W.markText(k.composing.start,W.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Zi.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Zi.prototype.onKeyPress=function(){f&&c>=9&&(this.hasSelection=null),this.fastPoll()},Zi.prototype.onContextMenu=function(k){var W=this,q=W.cm,ne=q.display,le=W.textarea;W.contextMenuPending&&W.contextMenuPending();var Fe=za(q,k),mt=ne.scroller.scrollTop;if(!Fe||n)return;var Ut=q.options.resetSelectionOnContextMenu;Ut&&q.doc.sel.contains(Fe)==-1&&No(q,as)(q.doc,Se(Fe),fe);var nr=le.style.cssText,lr=W.wrapper.style.cssText,Sn=W.wrapper.offsetParent.getBoundingClientRect();W.wrapper.style.cssText="position: static",le.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(k.clientY-Sn.top-5)+"px; left: "+(k.clientX-Sn.left-5)+`px; z-index: 1000; background: `+(f?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Bn;o&&(Bn=window.scrollY),ne.input.focus(),o&&window.scrollTo(null,Bn),ne.input.reset(),q.somethingSelected()||(le.value=W.prevInput=" "),W.contextMenuPending=ni,ne.selForContextMenu=q.doc.sel,clearTimeout(ne.detectingSelectAll);function Zn(){if(le.selectionStart!=null){var Ji=q.somethingSelected(),ua="\u200B"+(Ji?le.value:"");le.value="\u21DA",le.value=ua,W.prevInput=Ji?"":"\u200B",le.selectionStart=1,le.selectionEnd=ua.length,ne.selForContextMenu=q.doc.sel}}function ni(){if(W.contextMenuPending!=ni)return;if(W.contextMenuPending=!1,W.wrapper.style.cssText=lr,le.style.cssText=nr,f&&c<9&&ne.scrollbars.setScrollTop(ne.scroller.scrollTop=mt),le.selectionStart!=null){(!f||f&&c<9)&&Zn();var Ji=0,ua=function la(){ne.selForContextMenu==q.doc.sel&&le.selectionStart==0&&le.selectionEnd>0&&W.prevInput=="\u200B"?No(q,Wo)(q):Ji++<10?ne.detectingSelectAll=setTimeout(la,500):(ne.selForContextMenu=null,ne.input.reset())};ne.detectingSelectAll=setTimeout(ua,200)}}if(f&&c>=9&&Zn(),E){Re(k);var Pi=function Ji(){ze(window,"mouseup",Ji),setTimeout(ni,20)};Te(window,"mouseup",Pi)}else setTimeout(ni,50)},Zi.prototype.readOnlyChanged=function(k){k||this.reset(),this.textarea.disabled=k=="nocursor",this.textarea.readOnly=!!k},Zi.prototype.setUneditable=function(){},Zi.prototype.needsContentAttribute=!1;function Wa(k,W){if(W=W?K(W):{},W.value=k.value,!W.tabindex&&k.tabIndex&&(W.tabindex=k.tabIndex),!W.placeholder&&k.placeholder&&(W.placeholder=k.placeholder),W.autofocus==null){var q=R();W.autofocus=q==k||k.getAttribute("autofocus")!=null&&q==document.body}function ne(){k.value=Ut.getValue()}var le;if(k.form&&(Te(k.form,"submit",ne),!W.leaveSubmitMethodAlone)){var Fe=k.form;le=Fe.submit;try{var mt=Fe.submit=function(){ne(),Fe.submit=le,Fe.submit(),Fe.submit=mt}}catch(nr){}}W.finishInit=function(nr){nr.save=ne,nr.getTextArea=function(){return k},nr.toTextArea=function(){nr.toTextArea=isNaN,ne(),k.parentNode.removeChild(nr.getWrapperElement()),k.style.display="",k.form&&(ze(k.form,"submit",ne),!W.leaveSubmitMethodAlone&&typeof k.form.submit=="function"&&(k.form.submit=le))}},k.style.display="none";var Ut=Tr(function(nr){return k.parentNode.insertBefore(nr,k.nextSibling)},W);return Ut}function Na(k){k.off=ze,k.on=Te,k.wheelEventPixels=Hn,k.Doc=rl,k.splitLines=nn,k.countColumn=j,k.findColumn=Ce,k.isWordChar=G,k.Pass=ee,k.signal=dt,k.Line=ei,k.changeEnd=We,k.scrollbarModel=zo,k.Pos=_t,k.cmpPos=at,k.modes=ft,k.mimeModes=Ur,k.resolveMode=Un,k.getMode=wi,k.modeExtensions=Rn,k.extendMode=kn,k.copyState=Vn,k.startState=st,k.innerMode=Gt,k.commands=jl,k.keyMap=Il,k.keyName=hu,k.isModifierKey=iu,k.lookupKey=xl,k.normalizeKeyMap=pl,k.StringStream=ue,k.SharedTextMarker=zl,k.TextMarker=ul,k.LineWidget=Sl,k.e_preventDefault=Be,k.e_stopPropagation=$,k.e_stop=Re,k.addClass=B,k.contains=N,k.rmClass=w,k.keyNames=Al}Ke(Tr),Or(Tr);var Ba="iter insert remove copy getEditor constructor".split(" ");for(var Lo in rl.prototype)rl.prototype.hasOwnProperty(Lo)&&z(Ba,Lo)<0&&(Tr.prototype[Lo]=function(k){return function(){return k.apply(this.doc,arguments)}}(rl.prototype[Lo]));return Nt(rl),Tr.inputStyles={textarea:Zi,contenteditable:qr},Tr.defineMode=function(k){!Tr.defaults.mode&&k!="null"&&(Tr.defaults.mode=k),yn.apply(this,arguments)},Tr.defineMIME=Dn,Tr.defineMode("null",function(){return{token:function(W){return W.skipToEnd()}}}),Tr.defineMIME("text/plain","null"),Tr.defineExtension=function(k,W){Tr.prototype[k]=W},Tr.defineDocExtension=function(k,W){rl.prototype[k]=W},Tr.fromTextArea=Wa,Na(Tr),Tr.version="5.58.2",Tr})},Vy0f:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var O=x(d("iYpf"));function x(v){return v&&v.__esModule?v:{default:v}}var T=O;P.default=T,U.exports=T},W2nI:function(U,P,d){var O=d("IwbS"),x=d("ProS"),T=d("bYtY"),v=["itemStyle","opacity"],S=["emphasis","itemStyle","opacity"],m=["lineStyle","opacity"],f=["emphasis","lineStyle","opacity"];function c(s,t){return s.getVisual("opacity")||s.getModel().get(t)}function o(s,t,i){var l=s.getGraphicEl(),u=c(s,t);i!=null&&(u==null&&(u=1),u*=i),l.downplay&&l.downplay(),l.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",u)})}function r(s,t){var i=c(s,t),l=s.getGraphicEl();l.traverse(function(u){u.type!=="group"&&u.setStyle("opacity",i)}),l.highlight&&l.highlight()}var a=O.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(s,t){var i=t.extent;s.moveTo(t.x1,t.y1),s.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(s.lineTo(t.x2+i,t.y2),s.bezierCurveTo(t.cpx2+i,t.cpy2,t.cpx1+i,t.cpy1,t.x1+i,t.y1)):(s.lineTo(t.x2,t.y2+i),s.bezierCurveTo(t.cpx2,t.cpy2+i,t.cpx1,t.cpy1+i,t.x1,t.y1+i)),s.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),n=x.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(s,t,i){var l=this,u=s.getGraph(),h=this.group,p=s.layoutInfo,g=p.width,A=p.height,y=s.getData(),E=s.getData("edge"),C=s.get("orient");this._model=s,h.removeAll(),h.attr("position",[p.x,p.y]),u.eachEdge(function(w){var b=new a;b.dataIndex=w.dataIndex,b.seriesIndex=s.seriesIndex,b.dataType="edge";var I=w.getModel("lineStyle"),_=I.get("curveness"),L=w.node1.getLayout(),D=w.node1.getModel(),N=D.get("localX"),R=D.get("localY"),B=w.node2.getLayout(),M=w.node2.getModel(),H=M.get("localX"),F=M.get("localY"),K=w.getLayout(),j,V,z,Y,ee,fe,ie,we;b.shape.extent=Math.max(1,K.dy),b.shape.orient=C,C==="vertical"?(j=(N!=null?N*g:L.x)+K.sy,V=(R!=null?R*A:L.y)+L.dy,z=(H!=null?H*g:B.x)+K.ty,Y=F!=null?F*A:B.y,ee=j,fe=V*(1-_)+Y*_,ie=z,we=V*_+Y*(1-_)):(j=(N!=null?N*g:L.x)+L.dx,V=(R!=null?R*A:L.y)+K.sy,z=H!=null?H*g:B.x,Y=(F!=null?F*A:B.y)+K.ty,ee=j*(1-_)+z*_,fe=V,ie=j*_+z*(1-_),we=Y),b.setShape({x1:j,y1:V,x2:z,y2:Y,cpx1:ee,cpy1:fe,cpx2:ie,cpy2:we}),b.setStyle(I.getItemStyle());switch(b.style.fill){case"source":b.style.fill=w.node1.getVisual("color");break;case"target":b.style.fill=w.node2.getVisual("color");break}O.setHoverStyle(b,w.getModel("emphasis.lineStyle").getItemStyle()),h.add(b),E.setItemGraphicEl(w.dataIndex,b)}),u.eachNode(function(w){var b=w.getLayout(),I=w.getModel(),_=I.get("localX"),L=I.get("localY"),D=I.getModel("label"),N=I.getModel("emphasis.label"),R=new O.Rect({shape:{x:_!=null?_*g:b.x,y:L!=null?L*A:b.y,width:b.dx,height:b.dy},style:I.getModel("itemStyle").getItemStyle()}),B=w.getModel("emphasis.itemStyle").getItemStyle();O.setLabelStyle(R.style,B,D,N,{labelFetcher:s,labelDataIndex:w.dataIndex,defaultText:w.id,isRectText:!0}),R.setStyle("fill",w.getVisual("color")),O.setHoverStyle(R,B),h.add(R),y.setItemGraphicEl(w.dataIndex,R),R.dataType="node"}),y.eachItemGraphicEl(function(w,b){var I=y.getItemModel(b);I.get("draggable")&&(w.drift=function(_,L){l._focusAdjacencyDisabled=!0,this.shape.x+=_,this.shape.y+=L,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:s.id,dataIndex:y.getRawIndex(b),localX:this.shape.x/g,localY:this.shape.y/A})},w.ondragend=function(){l._focusAdjacencyDisabled=!1},w.draggable=!0,w.cursor="move"),w.highlight=function(){this.trigger("emphasis")},w.downplay=function(){this.trigger("normal")},w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){l._focusAdjacencyDisabled||(l._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,dataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){l._focusAdjacencyDisabled||l._dispatchUnfocus(i)}))}),E.eachItemGraphicEl(function(w,b){var I=E.getItemModel(b);w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){l._focusAdjacencyDisabled||(l._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:s.id,edgeDataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){l._focusAdjacencyDisabled||l._dispatchUnfocus(i)}))}),!this._data&&s.get("animation")&&h.setClipPath(e(h.getBoundingRect(),s,function(){h.removeClipPath()})),this._data=s.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(s){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,s.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(s,t,i,l){var u=s.getData(),h=u.graph,p=l.dataIndex,g=u.getItemModel(p),A=l.edgeDataIndex;if(p==null&&A==null)return;var y=h.getNodeByIndex(p),E=h.getEdgeByIndex(A);if(h.eachNode(function(w){o(w,v,.1)}),h.eachEdge(function(w){o(w,m,.1)}),y){r(y,S);var C=g.get("focusNodeAdjacency");C==="outEdges"?T.each(y.outEdges,function(w){if(w.dataIndex<0)return;r(w,f),r(w.node2,S)}):C==="inEdges"?T.each(y.inEdges,function(w){if(w.dataIndex<0)return;r(w,f),r(w.node1,S)}):C==="allEdges"&&T.each(y.edges,function(w){if(w.dataIndex<0)return;r(w,f),w.node1!==y&&r(w.node1,S),w.node2!==y&&r(w.node2,S)})}E&&(r(E,f),r(E.node1,S),r(E.node2,S))},unfocusNodeAdjacency:function(s,t,i,l){var u=s.getGraph();u.eachNode(function(h){o(h,v)}),u.eachEdge(function(h){o(h,m)})}});function e(s,t,i){var l=new O.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return O.initProps(l,{shape:{width:s.width+20}},t,i),l}U.exports=n},W4dC:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("bYtY"),v=T.each,S=T.createHashMap,m=d("7DRL"),f=d("TIY9"),c=d("yS9w"),o=d("mFDi"),r={geoJSON:f,svg:c},a={load:function(t,i,l){var u=[],h=S(),p=S(),g,A=s(t);return v(A,function(y){var E=r[y.type].load(t,y,l);v(E.regions,function(w){var b=w.name;i&&i.hasOwnProperty(b)&&(w=w.cloneShallow(b=i[b])),u.push(w),h.set(b,w),p.set(b,w.center)});var C=E.boundingRect;C&&(g?g.union(C):g=C.clone())}),{regions:u,regionsMap:h,nameCoordMap:p,boundingRect:g||new o(0,0,0,0)}},makeGraphic:n("makeGraphic"),removeGraphic:n("removeGraphic")};function n(t){return function(i,l){var u=s(i),h=[];return v(u,function(p){var g=r[p.type][t];g&&h.push(g(i,p,l))}),h}}function e(t){}function s(t){var i=m.retrieveMap(t)||[];return i}U.exports=a},WGYa:function(U,P,d){var O=d("7yuC"),x=O.forceLayout,T=d("HF/U"),v=T.simpleLayout,S=d("lOQZ"),m=S.circularLayout,f=d("OELB"),c=f.linearMap,o=d("QBsz"),r=d("bYtY");function a(n){n.eachSeriesByType("graph",function(e){var s=e.coordinateSystem;if(s&&s.type!=="view")return;if(e.get("layout")==="force"){var t=e.preservedPoints||{},i=e.getGraph(),l=i.data,u=i.edgeData,h=e.getModel("force"),p=h.get("initLayout");e.preservedPoints?l.each(function(D){var N=l.getId(D);l.setItemLayout(D,t[N]||[NaN,NaN])}):!p||p==="none"?v(e):p==="circular"&&m(e,"value");var g=l.getDataExtent("value"),A=u.getDataExtent("value"),y=h.get("repulsion"),E=h.get("edgeLength");r.isArray(y)||(y=[y,y]),r.isArray(E)||(E=[E,E]),E=[E[1],E[0]];var C=l.mapArray("value",function(D,N){var R=l.getItemLayout(N),B=c(D,g,y);return isNaN(B)&&(B=(y[0]+y[1])/2),{w:B,rep:B,fixed:l.getItemModel(N).get("fixed"),p:!R||isNaN(R[0])||isNaN(R[1])?null:R}}),w=u.mapArray("value",function(D,N){var R=i.getEdgeByIndex(N),B=c(D,A,E);isNaN(B)&&(B=(E[0]+E[1])/2);var M=R.getModel();return{n1:C[R.node1.dataIndex],n2:C[R.node2.dataIndex],d:B,curveness:M.get("lineStyle.curveness")||0,ignoreForceLayout:M.get("ignoreForceLayout")}}),s=e.coordinateSystem,b=s.getBoundingRect(),I=x(C,w,{rect:b,gravity:h.get("gravity"),friction:h.get("friction")}),_=I.step;I.step=function(D){for(var N=0,R=C.length;Ne&&(a=r.finalize(a)),a.clamp();for(var s=this._oKey=a.clone(),t=this._iKey=a.clone(),i=s.words,l=t.words,u=0;u=0;_--)w[_]==null&&(delete b[C[_]],C.pop())}function n(E,C){var w=E.visual,b=[];O.isObject(w)?S(w,function(_){b.push(_)}):w!=null&&b.push(w);var I={color:1,symbol:1};!C&&b.length===1&&!I.hasOwnProperty(E.type)&&(b[1]=b[0]),p(E,b)}function e(E){return{applyVisual:function(C,w,b){C=this.mapValueToVisual(C),b("color",E(w("color"),C))},_doMap:u([0,1])}}function s(E){var C=this.option.visual;return C[Math.round(v(E,[0,1],[0,C.length-1],!0))]||{}}function t(E){return function(C,w,b){b(E,this.mapValueToVisual(C))}}function i(E){var C=this.option.visual;return C[this.option.loop&&E!==f?E%C.length:E]}function l(){return this.option.visual[0]}function u(E){return{linear:function(C){return v(C,E,this.option.visual,!0)},category:i,piecewise:function(C,w){var b=h.call(this,w);return b==null&&(b=v(C,E,this.option.visual,!0)),b},fixed:l}}function h(E){var C=this.option,w=C.pieceList;if(C.hasSpecialVisual){var b=c.findPieceIndex(E,w),I=w[b];if(I&&I.visual)return I.visual[this.type]}}function p(E,C){return E.visual=C,E.type==="color"&&(E.parsedVisual=O.map(C,function(w){return x.parse(w)})),C}var g={linear:function(E){return v(E,this.option.dataExtent,[0,1],!0)},piecewise:function(E){var C=this.option.pieceList,w=c.findPieceIndex(E,C,!0);if(w!=null)return v(w,[0,C.length-1],[0,1],!0)},category:function(E){var C=this.option.categories?this.option.categoryMap[E]:E;return C==null?f:C},fixed:O.noop};c.listVisualTypes=function(){var E=[];return O.each(o,function(C,w){E.push(w)}),E},c.addVisualHandler=function(E,C){o[E]=C},c.isValidType=function(E){return o.hasOwnProperty(E)},c.eachVisual=function(E,C,w){O.isObject(E)?O.each(E,C,w):C.call(w,E)},c.mapVisual=function(E,C,w){var b,I=O.isArray(E)?[]:O.isObject(E)?{}:(b=!0,null);return c.eachVisual(E,function(_,L){var D=C.call(w,_,L);b?I=D:I[L]=D}),I},c.retrieveVisuals=function(E){var C={},w;return E&&S(o,function(b,I){E.hasOwnProperty(I)&&(C[I]=E[I],w=!0)}),w?C:null},c.prepareVisualTypes=function(E){if(m(E)){var C=[];S(E,function(w,b){C.push(b)}),E=C}else if(O.isArray(E))E=E.slice();else return[];return E.sort(function(w,b){return b==="color"&&w!=="color"&&w.indexOf("color")===0?1:-1}),E},c.dependsOn=function(E,C){return C==="color"?!!(E&&E.indexOf(C)===0):E===C},c.findPieceIndex=function(E,C,w){for(var b,I=Infinity,_=0,L=C.length;_1&&arguments[1]!==void 0?arguments[1]:!1,w=E.getAttribute("id")||E.getAttribute("data-reactid")||E.getAttribute("name");if(C&&t[w])return t[w];var b=window.getComputedStyle(E),I=b.getPropertyValue("box-sizing")||b.getPropertyValue("-moz-box-sizing")||b.getPropertyValue("-webkit-box-sizing"),_=parseFloat(b.getPropertyValue("padding-bottom"))+parseFloat(b.getPropertyValue("padding-top")),L=parseFloat(b.getPropertyValue("border-bottom-width"))+parseFloat(b.getPropertyValue("border-top-width")),D=s.map(function(R){return"".concat(R,":").concat(b.getPropertyValue(R))}).join(";"),N={sizingStyle:D,paddingSize:_,borderSize:L,boxSizing:I};return C&&w&&(t[w]=N),N}function u(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;i||(i=document.createElement("textarea"),i.setAttribute("tab-index","-1"),i.setAttribute("aria-hidden","true"),document.body.appendChild(i)),E.getAttribute("wrap")?i.setAttribute("wrap",E.getAttribute("wrap")):i.removeAttribute("wrap");var I=l(E,C),_=I.paddingSize,L=I.borderSize,D=I.boxSizing,N=I.sizingStyle;i.setAttribute("style","".concat(N,";").concat(e)),i.value=E.value||E.placeholder||"";var R=Number.MIN_SAFE_INTEGER,B=Number.MAX_SAFE_INTEGER,M=i.scrollHeight,H;if(D==="border-box"?M+=L:D==="content-box"&&(M-=_),w!==null||b!==null){i.value=" ";var F=i.scrollHeight-_;w!==null&&(R=F*w,D==="border-box"&&(R=R+_+L),M=Math.max(R,M)),b!==null&&(B=F*b,D==="border-box"&&(B=B+_+L),H=M>B?"":"hidden",M=Math.min(B,M))}return{height:M,minHeight:R,maxHeight:B,overflowY:H,resize:"none"}}var h;(function(E){E[E.NONE=0]="NONE",E[E.RESIZING=1]="RESIZING",E[E.RESIZED=2]="RESIZED"})(h||(h={}));var p=function(E){Object(v.a)(w,E);var C=Object(S.a)(w);function w(b){var I;return Object(x.a)(this,w),I=C.call(this,b),I.nextFrameActionId=void 0,I.resizeFrameId=void 0,I.textArea=void 0,I.saveTextArea=function(_){I.textArea=_},I.handleResize=function(_){var L=I.state.resizeStatus,D=I.props,N=D.autoSize,R=D.onResize;if(L!==h.NONE)return;typeof R=="function"&&R(_),N&&I.resizeOnNextFrame()},I.resizeOnNextFrame=function(){cancelAnimationFrame(I.nextFrameActionId),I.nextFrameActionId=requestAnimationFrame(I.resizeTextarea)},I.resizeTextarea=function(){var _=I.props.autoSize;if(!_||!I.textArea)return;var L=_.minRows,D=_.maxRows,N=u(I.textArea,!1,L,D);I.setState({textareaStyles:N,resizeStatus:h.RESIZING},function(){cancelAnimationFrame(I.resizeFrameId),I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:h.RESIZED},function(){I.resizeFrameId=requestAnimationFrame(function(){I.setState({resizeStatus:h.NONE}),I.fixFirefoxAutoScroll()})})})})},I.renderTextArea=function(){var _=I.props,L=_.prefixCls,D=L===void 0?"rc-textarea":L,N=_.autoSize,R=_.onResize,B=_.className,M=_.disabled,H=I.state,F=H.textareaStyles,K=H.resizeStatus,j=Object(r.a)(I.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),V=n()(D,B,Object(c.a)({},"".concat(D,"-disabled"),M));"value"in j&&(j.value=j.value||"");var z=Object(f.a)(Object(f.a)(Object(f.a)({},I.props.style),F),K===h.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return m.createElement(o.a,{onResize:I.handleResize,disabled:!(N||R)},m.createElement("textarea",Object(O.a)({},j,{className:V,style:z,ref:I.saveTextArea})))},I.state={textareaStyles:{},resizeStatus:h.NONE},I}return Object(T.a)(w,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(I){I.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var I=this.textArea.selectionStart,_=this.textArea.selectionEnd;this.textArea.setSelectionRange(I,_)}}catch(L){}}},{key:"render",value:function(){return this.renderTextArea()}}]),w}(m.Component),g=p,A=function(E){Object(v.a)(w,E);var C=Object(S.a)(w);function w(b){var I;Object(x.a)(this,w),I=C.call(this,b),I.resizableTextArea=void 0,I.focus=function(){I.resizableTextArea.textArea.focus()},I.saveTextArea=function(L){I.resizableTextArea=L},I.handleChange=function(L){var D=I.props.onChange;I.setValue(L.target.value,function(){I.resizableTextArea.resizeTextarea()}),D&&D(L)},I.handleKeyDown=function(L){var D=I.props,N=D.onPressEnter,R=D.onKeyDown;L.keyCode===13&&N&&N(L),R&&R(L)};var _=typeof b.value=="undefined"||b.value===null?b.defaultValue:b.value;return I.state={value:_},I}return Object(T.a)(w,[{key:"setValue",value:function(I,_){"value"in this.props||this.setState({value:I},_)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return m.createElement(g,Object(O.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(I){return"value"in I?{value:I.value}:null}}]),w}(m.Component),y=P.default=A},YH21:function(U,P,d){var O=d("H6uX");P.Dispatcher=O;var x=d("ItGF"),T=d("Ze12"),v=T.isCanvasEl,S=T.transformCoordWithViewport,m=typeof window!="undefined"&&!!window.addEventListener,f=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function o(u,h,p,g){return p=p||{},g||!x.canvasSupported?r(u,h,p):x.browser.firefox&&h.layerX!=null&&h.layerX!==h.offsetX?(p.zrX=h.layerX,p.zrY=h.layerY):h.offsetX!=null?(p.zrX=h.offsetX,p.zrY=h.offsetY):r(u,h,p),p}function r(u,h,p){if(x.domSupported&&u.getBoundingClientRect){var g=h.clientX,A=h.clientY;if(v(u)){var y=u.getBoundingClientRect();p.zrX=g-y.left,p.zrY=A-y.top;return}else if(S(c,u,g,A)){p.zrX=c[0],p.zrY=c[1];return}}p.zrX=p.zrY=0}function a(u){return u||window.event}function n(u,h,p){if(h=a(h),h.zrX!=null)return h;var g=h.type,A=g&&g.indexOf("touch")>=0;if(!A)o(u,h,h,p),h.zrDelta=h.wheelDelta?h.wheelDelta/120:-(h.detail||0)/3;else{var y=g!=="touchend"?h.targetTouches[0]:h.changedTouches[0];y&&o(u,y,h,p)}var E=h.button;return h.which==null&&E!==void 0&&f.test(h.type)&&(h.which=E&1?1:E&2?3:E&4?2:0),h}function e(u,h,p,g){m?u.addEventListener(h,p,g):u.attachEvent("on"+h,p)}function s(u,h,p,g){m?u.removeEventListener(h,p,g):u.detachEvent("on"+h,p)}var t=m?function(u){u.preventDefault(),u.stopPropagation(),u.cancelBubble=!0}:function(u){u.returnValue=!1,u.cancelBubble=!0};function i(u){return u.which===2||u.which===3}function l(u){return u.which>1}P.clientToLocal=o,P.getNativeEvent=a,P.normalizeEvent=n,P.addEventListener=e,P.removeEventListener=s,P.stop=t,P.isMiddleOrRightButtonOnMouseUpDown=i,P.notLeftMouse=l},YJ9k:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;function O(S,m){if(!(S instanceof m))throw new TypeError("Cannot call a class as a function")}function x(S,m){for(var f=0;f0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[pe].sort(g)}}]),Ie}();function g(Ie,oe){var pe=Ie.node.sortableInfo.index,Oe=oe.node.sortableInfo.index;return pe-Oe}function A(Ie,oe,pe){return Ie=Ie.slice(),Ie.splice(pe<0?Ie.length+pe:pe,0,Ie.splice(oe,1)[0]),Ie}function y(Ie,oe){return Object.keys(Ie).reduce(function(pe,Oe){return oe.indexOf(Oe)===-1&&(pe[Oe]=Ie[Oe]),pe},{})}var E={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},C=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ie=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],oe=(Array.prototype.slice.call(Ie).join("").match(/-(moz|webkit|ms)-/)||Ie.OLink===""&&["","o"])[1];switch(oe){case"ms":return"ms";default:return oe&&oe.length?oe[0].toUpperCase()+oe.substr(1):""}}();function w(Ie,oe){Object.keys(oe).forEach(function(pe){Ie.style[pe]=oe[pe]})}function b(Ie,oe){Ie.style["".concat(C,"Transform")]=oe==null?"":"translate3d(".concat(oe.x,"px,").concat(oe.y,"px,0)")}function I(Ie,oe){Ie.style["".concat(C,"TransitionDuration")]=oe==null?"":"".concat(oe,"ms")}function _(Ie,oe){for(;Ie;){if(oe(Ie))return Ie;Ie=Ie.parentNode}return null}function L(Ie,oe,pe){return Math.max(Ie,Math.min(pe,oe))}function D(Ie){return Ie.substr(-2)==="px"?parseFloat(Ie):0}function N(Ie){var oe=window.getComputedStyle(Ie);return{bottom:D(oe.marginBottom),left:D(oe.marginLeft),right:D(oe.marginRight),top:D(oe.marginTop)}}function R(Ie,oe){var pe=oe.displayName||oe.name;return pe?"".concat(Ie,"(").concat(pe,")"):Ie}function B(Ie,oe){var pe=Ie.getBoundingClientRect();return{top:pe.top+oe.top,left:pe.left+oe.left}}function M(Ie){return Ie.touches&&Ie.touches.length?{x:Ie.touches[0].pageX,y:Ie.touches[0].pageY}:Ie.changedTouches&&Ie.changedTouches.length?{x:Ie.changedTouches[0].pageX,y:Ie.changedTouches[0].pageY}:{x:Ie.pageX,y:Ie.pageY}}function H(Ie){return Ie.touches&&Ie.touches.length||Ie.changedTouches&&Ie.changedTouches.length}function F(Ie,oe){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ie)return;var Oe={left:pe.left+Ie.offsetLeft,top:pe.top+Ie.offsetTop};return Ie.parentNode===oe?Oe:F(Ie.parentNode,oe,Oe)}function K(Ie,oe,pe){return Ieoe?Ie-1:Ie>pe&&Ie0&&pe[et].height>0){var Te=it.getContext("2d");Te.drawImage(pe[et],0,0)}}),Oe}function Ce(Ie){var oe,pe,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return pe=oe=function(Ye){Object(c.a)(it,Ye);function it(){return Object(v.a)(this,it),Object(m.a)(this,Object(f.a)(it).apply(this,arguments))}return Object(S.a)(it,[{key:"componentDidMount",value:function(){var Te=Object(t.findDOMNode)(this);Te.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return u()(Oe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Te=Oe.withRef?"wrappedInstance":null;return Object(a.createElement)(Ie,Object(O.a)({ref:Te},this.props))}}]),it}(a.Component),Object(r.a)(oe,"displayName",R("sortableHandle",Ie)),pe}function Le(Ie){return Ie.sortableHandle!=null}var He=function(){function Ie(oe,pe){Object(v.a)(this,Ie),this.container=oe,this.onScrollCallback=pe}return Object(S.a)(Ie,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(pe){var Oe=this,Ye=pe.translate,it=pe.minTranslate,et=pe.maxTranslate,Te=pe.width,tt=pe.height,ze={x:0,y:0},dt={x:1,y:1},Ot={x:10,y:10},Tt=this.container,Ct=Tt.scrollTop,Nt=Tt.scrollLeft,Be=Tt.scrollHeight,$=Tt.scrollWidth,Z=Tt.clientHeight,Re=Tt.clientWidth,De=Ct===0,ae=Be-Ct-Z===0,gt=Nt===0,jt=$-Nt-Re===0;Ye.y>=et.y-tt/2&&!ae?(ze.y=1,dt.y=Ot.y*Math.abs((et.y-tt/2-Ye.y)/tt)):Ye.x>=et.x-Te/2&&!jt?(ze.x=1,dt.x=Ot.x*Math.abs((et.x-Te/2-Ye.x)/Te)):Ye.y<=it.y+tt/2&&!De?(ze.y=-1,dt.y=Ot.y*Math.abs((Ye.y-tt/2-it.y)/tt)):Ye.x<=it.x+Te/2&&!gt&&(ze.x=-1,dt.x=Ot.x*Math.abs((Ye.x-Te/2-it.x)/Te)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(ze.x!==0||ze.y!==0)&&(this.interval=setInterval(function(){Oe.isAutoScrolling=!0;var ut={left:dt.x*ze.x,top:dt.y*ze.y};Oe.container.scrollTop+=ut.top,Oe.container.scrollLeft+=ut.left,Oe.onScrollCallback(ut)},5))}}]),Ie}();function ce(Ie){var oe=Ie.node;return{height:oe.offsetHeight,width:oe.offsetWidth}}function Pe(Ie){var oe=[ie.Input,ie.Textarea,ie.Select,ie.Option,ie.Button];return oe.indexOf(Ie.target.tagName)!==-1?!0:!!_(Ie.target,function(pe){return pe.contentEditable==="true"})}var Q={axis:s.a.oneOf(["x","y","xy"]),contentWindow:s.a.any,disableAutoscroll:s.a.bool,distance:s.a.number,getContainer:s.a.func,getHelperDimensions:s.a.func,helperClass:s.a.string,helperContainer:s.a.oneOfType([s.a.func,typeof HTMLElement=="undefined"?s.a.any:s.a.instanceOf(HTMLElement)]),hideSortableGhost:s.a.bool,keyboardSortingTransitionDuration:s.a.number,lockAxis:s.a.string,lockOffset:s.a.oneOfType([s.a.number,s.a.string,s.a.arrayOf(s.a.oneOfType([s.a.number,s.a.string]))]),lockToContainerEdges:s.a.bool,onSortEnd:s.a.func,onSortMove:s.a.func,onSortOver:s.a.func,onSortStart:s.a.func,pressDelay:s.a.number,pressThreshold:s.a.number,keyCodes:s.a.shape({lift:s.a.arrayOf(s.a.number),drop:s.a.arrayOf(s.a.number),cancel:s.a.arrayOf(s.a.number),up:s.a.arrayOf(s.a.number),down:s.a.arrayOf(s.a.number)}),shouldCancelStart:s.a.func,transitionDuration:s.a.number,updateBeforeSortStart:s.a.func,useDragHandle:s.a.bool,useWindowAsScrollContainer:s.a.bool},me={lift:[fe.SPACE],drop:[fe.SPACE],cancel:[fe.ESC],up:[fe.UP,fe.LEFT],down:[fe.DOWN,fe.RIGHT]},Je={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:ce,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:me,shouldCancelStart:Pe,transitionDuration:300,useWindowAsScrollContainer:!1},re=Object.keys(Q);function G(Ie){u()(!(Ie.distance&&Ie.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function X(Ie,oe){try{var pe=Ie()}catch(Oe){return oe(!0,Oe)}return pe&&pe.then?pe.then(oe.bind(null,!1),oe.bind(null,!0)):oe(!1,value)}function J(Ie){var oe,pe,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return pe=oe=function(Ye){Object(c.a)(it,Ye);function it(et){var Te;return Object(v.a)(this,it),Te=Object(m.a)(this,Object(f.a)(it).call(this,et)),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"state",{}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleStart",function(tt){var ze=Te.props,dt=ze.distance,Ot=ze.shouldCancelStart;if(tt.button===2||Ot(tt))return;Te.touched=!0,Te.position=M(tt);var Tt=_(tt.target,function(Re){return Re.sortableInfo!=null});if(Tt&&Tt.sortableInfo&&Te.nodeIsChild(Tt)&&!Te.state.sorting){var Ct=Te.props.useDragHandle,Nt=Tt.sortableInfo,Be=Nt.index,$=Nt.collection,Z=Nt.disabled;if(Z)return;if(Ct&&!_(tt.target,Le))return;Te.manager.active={collection:$,index:Be},!H(tt)&&tt.target.tagName===ie.Anchor&&tt.preventDefault(),dt||(Te.props.pressDelay===0?Te.handlePress(tt):Te.pressTimer=setTimeout(function(){return Te.handlePress(tt)},Te.props.pressDelay))}}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"nodeIsChild",function(tt){return tt.sortableInfo.manager===Te.manager}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleMove",function(tt){var ze=Te.props,dt=ze.distance,Ot=ze.pressThreshold;if(!Te.state.sorting&&Te.touched&&!Te._awaitingUpdateBeforeSortStart){var Tt=M(tt),Ct={x:Te.position.x-Tt.x,y:Te.position.y-Tt.y},Nt=Math.abs(Ct.x)+Math.abs(Ct.y);Te.delta=Ct,!dt&&(!Ot||Nt>=Ot)?(clearTimeout(Te.cancelTimer),Te.cancelTimer=setTimeout(Te.cancel,0)):dt&&Nt>=dt&&Te.manager.isActive()&&Te.handlePress(tt)}}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleEnd",function(){Te.touched=!1,Te.cancel()}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"cancel",function(){var tt=Te.props.distance,ze=Te.state.sorting;ze||(tt||clearTimeout(Te.pressTimer),Te.manager.active=null)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handlePress",function(tt){try{var ze=Te.manager.getActive(),dt=function(){if(ze){var Ot=function(){var pr=ae.sortableInfo.index,nn=N(ae),mr=ee(Te.container),vr=Te.scrollContainer.getBoundingClientRect(),$t=Nt({index:pr,node:ae,collection:gt});if(Te.node=ae,Te.margin=nn,Te.gridGap=mr,Te.width=$t.width,Te.height=$t.height,Te.marginOffset={x:Te.margin.left+Te.margin.right+Te.gridGap.x,y:Math.max(Te.margin.top,Te.margin.bottom,Te.gridGap.y)},Te.boundingClientRect=ae.getBoundingClientRect(),Te.containerBoundingRect=vr,Te.index=pr,Te.newIndex=pr,Te.axis={x:Ct.indexOf("x")>=0,y:Ct.indexOf("y")>=0},Te.offsetEdge=F(ae,Te.container),jt?Te.initialOffset=M(Object(T.a)({},tt,{pageX:Te.boundingClientRect.left,pageY:Te.boundingClientRect.top})):Te.initialOffset=M(tt),Te.initialScroll={left:Te.scrollContainer.scrollLeft,top:Te.scrollContainer.scrollTop},Te.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Te.helper=Te.helperContainer.appendChild(we(ae)),w(Te.helper,{boxSizing:"border-box",height:"".concat(Te.height,"px"),left:"".concat(Te.boundingClientRect.left-nn.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Te.boundingClientRect.top-nn.top,"px"),width:"".concat(Te.width,"px")}),jt&&Te.helper.focus(),$&&(Te.sortableGhost=ae,w(ae,{opacity:0,visibility:"hidden"})),Te.minTranslate={},Te.maxTranslate={},jt){var Xt=De?{top:0,left:0,width:Te.contentWindow.innerWidth,height:Te.contentWindow.innerHeight}:Te.containerBoundingRect,ft=Xt.top,Ur=Xt.left,yn=Xt.width,Dn=Xt.height,Un=ft+Dn,wi=Ur+yn;Te.axis.x&&(Te.minTranslate.x=Ur-Te.boundingClientRect.left,Te.maxTranslate.x=wi-(Te.boundingClientRect.left+Te.width)),Te.axis.y&&(Te.minTranslate.y=ft-Te.boundingClientRect.top,Te.maxTranslate.y=Un-(Te.boundingClientRect.top+Te.height))}else Te.axis.x&&(Te.minTranslate.x=(De?0:vr.left)-Te.boundingClientRect.left-Te.width/2,Te.maxTranslate.x=(De?Te.contentWindow.innerWidth:vr.left+vr.width)-Te.boundingClientRect.left-Te.width/2),Te.axis.y&&(Te.minTranslate.y=(De?0:vr.top)-Te.boundingClientRect.top-Te.height/2,Te.maxTranslate.y=(De?Te.contentWindow.innerHeight:vr.top+vr.height)-Te.boundingClientRect.top-Te.height/2);Be&&Be.split(" ").forEach(function(Rn){return Te.helper.classList.add(Rn)}),Te.listenerNode=tt.touches?ae:Te.contentWindow,jt?(Te.listenerNode.addEventListener("wheel",Te.handleKeyEnd,!0),Te.listenerNode.addEventListener("mousedown",Te.handleKeyEnd,!0),Te.listenerNode.addEventListener("keydown",Te.handleKeyDown)):(E.move.forEach(function(Rn){return Te.listenerNode.addEventListener(Rn,Te.handleSortMove,!1)}),E.end.forEach(function(Rn){return Te.listenerNode.addEventListener(Rn,Te.handleSortEnd,!1)})),Te.setState({sorting:!0,sortingIndex:pr}),Re&&Re({node:ae,index:pr,collection:gt,isKeySorting:jt,nodes:Te.manager.getOrderedRefs(),helper:Te.helper},tt),jt&&Te.keyMove(0)},Tt=Te.props,Ct=Tt.axis,Nt=Tt.getHelperDimensions,Be=Tt.helperClass,$=Tt.hideSortableGhost,Z=Tt.updateBeforeSortStart,Re=Tt.onSortStart,De=Tt.useWindowAsScrollContainer,ae=ze.node,gt=ze.collection,jt=Te.manager.isKeySorting,ut=function(){if(typeof Z=="function"){Te._awaitingUpdateBeforeSortStart=!0;var rr=X(function(){var pr=ae.sortableInfo.index;return Promise.resolve(Z({collection:gt,index:pr,node:ae,isKeySorting:jt},tt)).then(function(){})},function(pr,nn){if(Te._awaitingUpdateBeforeSortStart=!1,pr)throw nn;return nn});if(rr&&rr.then)return rr.then(function(){})}}();return ut&&ut.then?ut.then(Ot):Ot(ut)}}();return Promise.resolve(dt&&dt.then?dt.then(function(){}):void 0)}catch(Ot){return Promise.reject(Ot)}}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleSortMove",function(tt){var ze=Te.props.onSortMove;typeof tt.preventDefault=="function"&&tt.preventDefault(),Te.updateHelperPosition(tt),Te.animateNodes(),Te.autoscroll(),ze&&ze(tt)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleSortEnd",function(tt){var ze=Te.props,dt=ze.hideSortableGhost,Ot=ze.onSortEnd,Tt=Te.manager,Ct=Tt.active.collection,Nt=Tt.isKeySorting,Be=Te.manager.getOrderedRefs();Te.listenerNode&&(Nt?(Te.listenerNode.removeEventListener("wheel",Te.handleKeyEnd,!0),Te.listenerNode.removeEventListener("mousedown",Te.handleKeyEnd,!0),Te.listenerNode.removeEventListener("keydown",Te.handleKeyDown)):(E.move.forEach(function(ae){return Te.listenerNode.removeEventListener(ae,Te.handleSortMove)}),E.end.forEach(function(ae){return Te.listenerNode.removeEventListener(ae,Te.handleSortEnd)}))),Te.helper.parentNode.removeChild(Te.helper),dt&&Te.sortableGhost&&w(Te.sortableGhost,{opacity:"",visibility:""});for(var $=0,Z=Be.length;$dt)return;Te.prevIndex=Tt,Te.newIndex=Ot;var Ct=K(Te.newIndex,Te.prevIndex,Te.index),Nt=ze.find(function(jt){var ut=jt.node;return ut.sortableInfo.index===Ct}),Be=Nt.node,$=Te.containerScrollDelta,Z=Nt.boundingClientRect||B(Be,$),Re=Nt.translate||{x:0,y:0},De={top:Z.top+Re.y-$.top,left:Z.left+Re.x-$.left},ae=Ttjt?jt/2:this.height/2,width:this.width>gt?gt/2:this.width/2},rr=Be&&ae>this.index&&ae<=$,pr=Be&&ae=$,nn={x:0,y:0},mr=Ct[Z].edgeOffset;mr||(mr=F(De,this.container),Ct[Z].edgeOffset=mr,Be&&(Ct[Z].boundingClientRect=B(De,Ot)));var vr=Z0&&Ct[Z-1];if(vr&&!vr.edgeOffset&&(vr.edgeOffset=F(vr.node,this.container),Be&&(vr.boundingClientRect=B(vr.node,Ot))),ae===this.index){ze&&(this.sortableGhost=De,w(De,{opacity:0,visibility:"hidden"}));continue}tt&&I(De,tt),this.axis.x?this.axis.y?pr||aethis.containerBoundingRect.width-ut.width&&(vr&&(nn.x=vr.edgeOffset.left-mr.left,nn.y=vr.edgeOffset.top-mr.top)),this.newIndex===null&&(this.newIndex=ae)):(rr||ae>this.index&&(Nt.left+Tt.left+ut.width>=mr.left&&Nt.top+Tt.top+ut.height>=mr.top||Nt.top+Tt.top+ut.height>=mr.top+jt))&&(nn.x=-(this.width+this.marginOffset.x),mr.left+nn.xthis.index&&Nt.left+Tt.left+ut.width>=mr.left?(nn.x=-(this.width+this.marginOffset.x),this.newIndex=ae):(pr||aethis.index&&Nt.top+Tt.top+ut.height>=mr.top?(nn.y=-(this.height+this.marginOffset.y),this.newIndex=ae):(pr||ae1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return pe=oe=function(Ye){Object(c.a)(it,Ye);function it(){return Object(v.a)(this,it),Object(m.a)(this,Object(f.a)(it).apply(this,arguments))}return Object(S.a)(it,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Te){this.node&&(Te.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Te.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Te.collection!==this.props.collection&&(this.unregister(Te.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Te=this.props,tt=Te.collection,ze=Te.disabled,dt=Te.index,Ot=Object(t.findDOMNode)(this);Ot.sortableInfo={collection:tt,disabled:ze,index:dt,manager:this.context.manager},this.node=Ot,this.ref={node:Ot},this.context.manager.add(tt,this.ref)}},{key:"unregister",value:function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Te,this.ref)}},{key:"getWrappedInstance",value:function(){return u()(Oe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Te=Oe.withRef?"wrappedInstance":null;return Object(a.createElement)(Ie,Object(O.a)({ref:Te},y(this.props,he)))}}]),it}(a.Component),Object(r.a)(oe,"displayName",R("sortableElement",Ie)),Object(r.a)(oe,"contextTypes",{manager:s.a.object.isRequired}),Object(r.a)(oe,"propTypes",Ae),Object(r.a)(oe,"defaultProps",{collection:0}),pe}},YNAk:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("QyFq")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="CaretDownFilled";var c=v.forwardRef(f);P.default=c},YNf1:function(U,P,d){var O=d("IwbS"),x=d("6Ic6"),T=.3,v=x.extend({type:"parallel",init:function(){this._dataGroup=new O.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(n,e,s,t){var i=this._dataGroup,l=n.getData(),u=this._data,h=n.coordinateSystem,p=h.dimensions,g=c(n);l.diff(u).add(A).update(y).remove(E).execute();function A(w){var b=f(l,i,w,p,h);o(b,l,w,g)}function y(w,b){var I=u.getItemGraphicEl(b),_=m(l,w,p,h);l.setItemGraphicEl(w,I);var L=t&&t.animation===!1?null:n;O.updateProps(I,{shape:{points:_}},L,w),o(I,l,w,g)}function E(w){var b=u.getItemGraphicEl(w);i.remove(b)}if(!this._initialized){this._initialized=!0;var C=S(h,n,function(){setTimeout(function(){i.removeClipPath()})});i.setClipPath(C)}this._data=l},incrementalPrepareRender:function(n,e,s){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(n,e,s){for(var t=e.getData(),i=e.coordinateSystem,l=i.dimensions,u=c(e),h=n.start;h65535?u:p}function A(z){var Y=z.constructor;return Y===Array?z.slice():new Y(z)}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],E=["_extent","_approximateExtent","_rawExtent"];function C(z,Y){T.each(y.concat(Y.__wrappedMethods||[]),function(ee){Y.hasOwnProperty(ee)&&(z[ee]=Y[ee])}),z.__wrappedMethods=Y.__wrappedMethods,T.each(E,function(ee){z[ee]=T.clone(Y[ee])}),z._calculationInfo=T.extend(Y._calculationInfo)}var w=function(z,Y){z=z||["x","y"];for(var ee={},fe=[],ie={},we=0;wehe[1]&&(he[1]=Ae)}Y&&(this._nameList[Je]=Y[re])}this._rawCount=this._count=He,this._extent={},_(this)},b._initDataFromProvider=function(z,Y){if(z>=Y)return;for(var ee=this._chunkSize,fe=this._rawData,ie=this._storage,we=this.dimensions,Ce=we.length,Le=this._dimensionInfos,He=this._nameList,ce=this._idList,Pe=this._rawExtent,Q=this._nameRepeatCount={},me,Je=this._chunkCount,re=0;reOe[1]&&(Oe[1]=pe)}if(!fe.pure){var Ye=He[Ae];if(J&&Ye==null){if(J.name!=null)He[Ae]=Ye=J.name;else if(me!=null){var it=we[me],et=ie[it][he];if(et){Ye=et[Me];var Te=Le[it].ordinalMeta;Te&&Te.categories.length&&(Ye=Te.categories[Ye])}}}var tt=J==null?null:J.id;tt==null&&Ye!=null&&(Q[Ye]=Q[Ye]||0,tt=Ye,Q[Ye]>0&&(tt+="__ec__"+Q[Ye]),Q[Ye]++),tt!=null&&(ce[Ae]=tt)}}!fe.persistent&&fe.clean&&fe.clean(),this._rawCount=this._count=Y,this._extent={},_(this)};function I(z,Y,ee,fe,ie){var we=l[Y.type],Ce=fe-1,Le=Y.name,He=z[Le][Ce];if(He&&He.length=0&&Y=0&&YLe&&(Le=ce)}return we=[Ce,Le],this._extent[z]=we,we},b.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},b.setApproximateExtent=function(z,Y){Y=this.getDimension(Y),this._approximateExtent[Y]=z.slice()},b.getCalculationInfo=function(z){return this._calculationInfo[z]},b.setCalculationInfo=function(z,Y){e(z)?T.extend(this._calculationInfo,z):this._calculationInfo[z]=Y},b.getSum=function(z){var Y=this._storage[z],ee=0;if(Y)for(var fe=0,ie=this.count();fe=this._rawCount||z<0)return-1;if(!this._indices)return z;var Y=this._indices,ee=Y[z];if(ee!=null&&eez)ie=we-1;else return we}return-1},b.indicesOfNearest=function(z,Y,ee){var fe=this._storage,ie=fe[z],we=[];if(!ie)return we;ee==null&&(ee=Infinity);for(var Ce=Infinity,Le=-1,He=0,ce=0,Pe=this.count();ce=0&&Le<0)&&(Ce=me,Le=Q,He=0),Q===Le&&(we[He++]=ce))}return we.length=He,we},b.getRawIndex=D;function D(z){return z}function N(z){return z=0?this._indices[z]:-1}b.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var Y=[],ee=0;ee=ce&&Ae<=Pe||isNaN(Ae))&&(Ce[Le++]=me),me++}Q=!0}else if(fe===2){for(var Je=this._storage[He],he=this._storage[Y[1]],Me=z[Y[1]][0],Ie=z[Y[1]][1],re=0;re=ce&&Ae<=Pe||isNaN(Ae))&&(pe>=Me&&pe<=Ie||isNaN(pe))&&(Ce[Le++]=me),me++}Q=!0}}if(!Q)if(fe===1)for(var J=0;J=ce&&Ae<=Pe||isNaN(Ae))&&(Ce[Le++]=Oe)}else for(var J=0;Jz[it][1])&&(Ye=!1)}Ye&&(Ce[Le++]=this.getRawIndex(J))}return Le=0?(ie[Le]=F(we[Le]),fe._rawExtent[Le]=K(),fe._extent[Le]=null):ie[Le]=we[Le])}return fe}function F(z){for(var Y=new Array(z.length),ee=0;eeIe[1]&&(Ie[1]=Me)}}}return ie},b.downSample=function(z,Y,ee,fe){for(var ie=H(this,[z]),we=ie._storage,Ce=[],Le=Math.floor(1/Y),He=we[z],ce=this.count(),Pe=this._chunkSize,Q=ie._rawExtent[z],me=new(g(this))(ce),Je=0,re=0;rece-re&&(Le=ce-re,Ce.length=Le);for(var G=0;GQ[1]&&(Q[1]=he),me[Je++]=Me}return ie._count=Je,ie._indices=me,ie.getRawIndex=N,ie},b.getItemModel=function(z){var Y=this.hostModel;return new v(this.getRawDataItem(z),Y,Y&&Y.ecModel)},b.diff=function(z){var Y=this;return new S(z?z.getIndices():[],this.getIndices(),function(ee){return R(z,ee)},function(ee){return R(Y,ee)})},b.getVisual=function(z){var Y=this._visual;return Y&&Y[z]},b.setVisual=function(z,Y){if(e(z)){for(var ee in z)z.hasOwnProperty(ee)&&this.setVisual(ee,z[ee]);return}this._visual=this._visual||{},this._visual[z]=Y},b.setLayout=function(z,Y){if(e(z)){for(var ee in z)z.hasOwnProperty(ee)&&this.setLayout(ee,z[ee]);return}this._layout[z]=Y},b.getLayout=function(z){return this._layout[z]},b.getItemLayout=function(z){return this._itemLayouts[z]},b.setItemLayout=function(z,Y,ee){this._itemLayouts[z]=ee?T.extend(this._itemLayouts[z]||{},Y):Y},b.clearItemLayouts=function(){this._itemLayouts.length=0},b.getItemVisual=function(z,Y,ee){var fe=this._itemVisuals[z],ie=fe&&fe[Y];return ie==null&&!ee?this.getVisual(Y):ie},b.setItemVisual=function(z,Y,ee){var fe=this._itemVisuals[z]||{},ie=this.hasItemVisual;if(this._itemVisuals[z]=fe,e(Y)){for(var we in Y)Y.hasOwnProperty(we)&&(fe[we]=Y[we],ie[we]=!0);return}fe[Y]=ee,ie[Y]=!0},b.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var j=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};b.setItemGraphicEl=function(z,Y){var ee=this.hostModel;Y&&(Y.dataIndex=z,Y.dataType=this.dataType,Y.seriesIndex=ee&&ee.seriesIndex,Y.type==="group"&&Y.traverse(j,Y)),this._graphicEls[z]=Y},b.getItemGraphicEl=function(z){return this._graphicEls[z]},b.eachItemGraphicEl=function(z,Y){T.each(this._graphicEls,function(ee,fe){ee&&(z&&z.call(Y,ee,fe))})},b.cloneShallow=function(z){if(!z){var Y=T.map(this.dimensions,this.getDimensionInfo,this);z=new w(Y,this.hostModel)}if(z._storage=this._storage,C(z,this),this._indices){var ee=this._indices.constructor;z._indices=new ee(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?N:D,z},b.wrapMethod=function(z,Y){var ee=this[z];if(typeof ee!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var fe=ee.apply(this,arguments);return Y.apply(this,[fe].concat(T.slice(arguments)))}},b.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],b.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=w;U.exports=V},YgsL:function(U,P,d){var O=d("QBsz"),x=O.distance;function T(S,m,f,c,o,r,a){var n=(f-S)*.5,e=(c-m)*.5;return(2*(m-f)+n+e)*a+(-3*(m-f)-2*n-e)*r+n*o+m}function v(S,m){for(var f=S.length,c=[],o=0,r=1;rf-2?f-1:e+1],u=S[e>f-3?f-1:e+2]);var h=s*s,p=s*h;c.push([T(t[0],i[0],l[0],u[0],s,h,p),T(t[1],i[1],l[1],u[1],s,h,p)])}return c}U.exports=v},Yl7c:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("bYtY"),v=".",S="___EC__COMPONENT__CONTAINER___";function m(t){var i={main:"",sub:""};return t&&(t=t.split(v),i.main=t[0]||"",i.sub=t[1]||""),i}function f(t){T.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function c(t,i){t.$constructor=t,t.extend=function(l){var u=this,h=function(){l.$constructor?l.$constructor.apply(this,arguments):u.apply(this,arguments)};return T.extend(h.prototype,l),h.extend=this.extend,h.superCall=a,h.superApply=n,T.inherits(h,this),h.superClass=u,h}}var o=0;function r(t){var i=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");t.prototype[i]=!0,t.isInstance=function(l){return!!(l&&l[i])}}function a(t,i){var l=T.slice(arguments,2);return this.superClass.prototype[i].apply(t,l)}function n(t,i,l){return this.superClass.prototype[i].apply(t,l)}function e(t,i){i=i||{};var l={};t.registerClass=function(p,g){if(g){if(f(g),g=m(g),!g.sub)l[g.main]=p;else if(g.sub!==S){var A=u(g);A[g.sub]=p}}return p},t.getClass=function(p,g,A){var y=l[p];if(y&&y[S]&&(y=g?y[g]:null),A&&!y)throw new Error(g?"Component "+p+"."+(g||"")+" not exists. Load it first.":p+".type should be specified.");return y},t.getClassesByMainType=function(p){p=m(p);var g=[],A=l[p.main];return A&&A[S]?T.each(A,function(y,E){E!==S&&g.push(y)}):g.push(A),g},t.hasClass=function(p){return p=m(p),!!l[p.main]},t.getAllClassMainTypes=function(){var p=[];return T.each(l,function(g,A){p.push(A)}),p},t.hasSubTypes=function(p){p=m(p);var g=l[p.main];return g&&g[S]},t.parseClassType=m;function u(p){var g=l[p.main];return(!g||!g[S])&&(g=l[p.main]={},g[S]=!0),g}if(i.registerWhenExtend){var h=t.extend;h&&(t.extend=function(p){var g=h.call(this,p);return t.registerClass(g,p.type)})}return t}function s(t,i){}P.parseClassType=m,P.enableClassExtend=c,P.enableClassCheck=r,P.enableClassManagement=e,P.setReadOnly=s},Ynxi:function(U,P,d){var O=d("bYtY"),x=d("ProS"),T=d("IwbS"),v=d("+TT/"),S=v.getLayoutRect,m=d("7aKB"),f=m.windowOpen;x.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),x.extendComponentView({type:"title",render:function(c,o,r){if(this.group.removeAll(),!c.get("show"))return;var a=this.group,n=c.getModel("textStyle"),e=c.getModel("subtextStyle"),s=c.get("textAlign"),t=O.retrieve2(c.get("textBaseline"),c.get("textVerticalAlign")),i=new T.Text({style:T.setTextStyle({},n,{text:c.get("text"),textFill:n.getTextColor()},{disableBox:!0}),z2:10}),l=i.getBoundingRect(),u=c.get("subtext"),h=new T.Text({style:T.setTextStyle({},e,{text:u,textFill:e.getTextColor(),y:l.height+c.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),p=c.get("link"),g=c.get("sublink"),A=c.get("triggerEvent",!0);i.silent=!p&&!A,h.silent=!g&&!A,p&&i.on("click",function(){f(p,"_"+c.get("target"))}),g&&h.on("click",function(){f(p,"_"+c.get("subtarget"))}),i.eventData=h.eventData=A?{componentType:"title",componentIndex:c.componentIndex}:null,a.add(i),u&&a.add(h);var y=a.getBoundingRect(),E=c.getBoxLayoutParams();E.width=y.width,E.height=y.height;var C=S(E,{width:r.getWidth(),height:r.getHeight()},c.get("padding"));s||(s=c.get("left")||c.get("right"),s==="middle"&&(s="center"),s==="right"?C.x+=C.width:s==="center"&&(C.x+=C.width/2)),t||(t=c.get("top")||c.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?C.y+=C.height:t==="middle"&&(C.y+=C.height/2),t=t||"top"),a.attr("position",[C.x,C.y]);var w={textAlign:s,textVerticalAlign:t};i.setStyle(w),h.setStyle(w),y=a.getBoundingRect();var b=C.margin,I=c.getItemStyle(["color","opacity"]);I.fill=c.get("backgroundColor");var _=new T.Rect({shape:{x:y.x-b[3],y:y.y-b[0],width:y.width+b[1]+b[3],height:y.height+b[0]+b[2],r:c.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});a.add(_)}})},YrtM:function(U,P,d){"use strict";d.d(P,"a",function(){return T});var O=d("q1tI"),x=d.n(O);function T(v,S,m){var f=O.useRef({});return(!("value"in f.current)||m(f.current.condition,S))&&(f.current.value=v(),f.current.condition=S),f.current.value}},Ywus:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("DO2E")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="DeleteOutlined";var c=v.forwardRef(f);P.default=c},Z0Lh:function(U,P,d){"use strict";var O=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var x=O(d("pVnL")),T=O(d("HjOm")),v=O(d("Z6rY")),S={lang:(0,x.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},T.default),timePickerLocale:(0,x.default)({},v.default)};S.lang.ok="\u786E \u5B9A";var m=S;P.default=m},Z1HP:function(U,P,d){var O=d("ycre"),x=d("quyA"),T=d("q4HE");function v(S){return x(S)?T(S):O(S)}U.exports=v},Z1r0:function(U,P){function d(O){var x=O.findComponents({mainType:"legend"});if(!x||!x.length)return;O.eachSeriesByType("graph",function(T){var v=T.getCategoriesData(),S=T.getGraph(),m=S.data,f=v.mapArray(v.getName);m.filterSelf(function(c){var o=m.getItemModel(c),r=o.getShallow("category");if(r!=null){typeof r=="number"&&(r=f[r]);for(var a=0;a0?1:-1,ie=Y.height>0?1:-1;return{x:Y.x+fe*ee/2,y:Y.y+ie*ee/2,width:Y.width-fe*ee,height:Y.height-ie*ee}},polar:function(j,V,z){var Y=j.getItemLayout(V);return{cx:Y.cx,cy:Y.cy,r0:Y.r0,r:Y.r,startAngle:Y.startAngle,endAngle:Y.endAngle}}};function I(j){return j.startAngle!=null&&j.endAngle!=null&&j.startAngle===j.endAngle}function _(j,V,z,Y,ee,fe,ie,we){var Ce=V.getItemVisual(z,"color"),Le=V.getItemVisual(z,"opacity"),He=V.getVisual("borderColor"),ce=Y.getModel("itemStyle"),Pe=Y.getModel("emphasis.itemStyle").getBarItemStyle();we||j.setShape("r",ce.get("barBorderRadius")||0),j.useStyle(v.defaults({stroke:I(ee)?"none":He,fill:I(ee)?"none":Ce,opacity:Le},ce.getBarItemStyle()));var Q=Y.getShallow("cursor");Q&&j.attr("cursor",Q);var me=ie?ee.height>0?"bottom":"top":ee.width>0?"left":"right";we||f(j.style,Pe,Y,Ce,fe,z,me),I(ee)&&(Pe.fill=Pe.stroke="none"),S.setHoverStyle(j,Pe)}function L(j,V){var z=j.get(l)||0,Y=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),ee=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(z,Y,ee)}var D=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(j,V){for(var z=V.points,Y=this.__startPoint,ee=this.__baseDimIdx,fe=0;fe=0?z:null},30,!1);function B(j,V,z){var Y=j.__baseDimIdx,ee=1-Y,fe=j.shape.points,ie=j.__largeDataIndices,we=Math.abs(j.__barWidth/2),Ce=j.__startPoint[ee];u[0]=V,u[1]=z;for(var Le=u[Y],He=u[1-Y],ce=Le-we,Pe=Le+we,Q=0,me=fe.length/2;Q=ce&&re<=Pe&&(Ce<=G?He>=Ce&&He<=G:He>=G&&He<=Ce))return ie[Q]}return-1}function M(j,V,z){var Y=z.getVisual("borderColor")||z.getVisual("color"),ee=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);j.useStyle(ee),j.style.fill=null,j.style.stroke=Y,j.style.lineWidth=z.getLayout("barWidth")}function H(j,V,z){var Y=V.get("borderColor")||V.get("color"),ee=V.getItemStyle(["color","borderColor"]);j.useStyle(ee),j.style.fill=null,j.style.stroke=Y,j.style.lineWidth=z.getLayout("barWidth")}function F(j,V,z){var Y,ee=z.type==="polar";return ee?Y=z.getArea():Y=z.grid.getRect(),ee?{cx:Y.cx,cy:Y.cy,r0:j?Y.r0:V.r0,r:j?Y.r:V.r,startAngle:j?V.startAngle:0,endAngle:j?V.endAngle:Math.PI*2}:{x:j?V.x:Y.x,y:j?Y.y:V.y,width:j?V.width:Y.width,height:j?Y.height:V.height}}function K(j,V,z){var Y=j.type==="polar"?S.Sector:S.Rect;return new Y({shape:F(V,z,j),silent:!0,z2:0})}U.exports=p},ZCgT:function(U,P,d){var O=d("tLB3"),x=1/0,T=17976931348623157e292;function v(S){if(!S)return S===0?S:0;if(S=O(S),S===x||S===-x){var m=S<0?-1:1;return m*T}return S===S?S:0}U.exports=v},ZLWo:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};P.default=O},ZMnZ:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("2oIt")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="UpOutlined";var c=v.forwardRef(f);P.default=c},ZTPi:function(U,P,d){"use strict";var O=d("pVnL"),x=d.n(O),T=d("lSNA"),v=d.n(T),S=d("q1tI"),m=d("rePB"),f=d("ODXe"),c=d("Ff2n"),o=d("VTBJ"),r=d("TSYQ"),a=d.n(r),n=d("Zm9Q"),e=d("6cGi"),s=d("KQm4"),t=d("xEkU"),i=d.n(t),l=d("1OyB"),u=d("vuIU"),h=d("Ji7U"),p=d("LK+K"),g=d("m+aA"),A=d("Kwbf"),y=d("c+Xe"),E=d("bdgK"),C="rc-observer-key",w=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(){var Hr;return Object(l.a)(this,un),Hr=jr.apply(this,arguments),Hr.resizeObserver=null,Hr.childNode=null,Hr.currentElement=null,Hr.state={width:0,height:0,offsetHeight:0,offsetWidth:0},Hr.onResize=function(Wt){var wr=Hr.props.onResize,fn=Wt[0].target,zt=fn.getBoundingClientRect(),Dr=zt.width,ir=zt.height,Lt=fn.offsetWidth,Qt=fn.offsetHeight,It=Math.floor(Dr),or=Math.floor(ir);if(Hr.state.width!==It||Hr.state.height!==or||Hr.state.offsetWidth!==Lt||Hr.state.offsetHeight!==Qt){var Cr={width:It,height:or,offsetWidth:Lt,offsetHeight:Qt};Hr.setState(Cr),wr&&Promise.resolve().then(function(){wr(Object(o.a)(Object(o.a)({},Cr),{},{offsetWidth:Lt,offsetHeight:Qt}))})}},Hr.setChildNode=function(Wt){Hr.childNode=Wt},Hr}return Object(u.a)(un,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var Wt=this.props.disabled;if(Wt){this.destroyObserver();return}var wr=Object(g.a)(this.childNode||this),fn=wr!==this.currentElement;fn&&(this.destroyObserver(),this.currentElement=wr),!this.resizeObserver&&wr&&(this.resizeObserver=new E.default(this.onResize),this.resizeObserver.observe(wr))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var Wt=this.props.children,wr=Object(n.a)(Wt);if(wr.length>1)Object(A.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(wr.length===0)return Object(A.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var fn=wr[0];if(S.isValidElement(fn)&&Object(y.c)(fn)){var zt=fn.ref;wr[0]=S.cloneElement(fn,{ref:Object(y.a)(zt,this.setChildNode)})}return wr.length===1?wr[0]:wr.map(function(Dr,ir){return!S.isValidElement(Dr)||"key"in Dr&&Dr.key!==null?Dr:S.cloneElement(Dr,{key:"".concat(C,"-").concat(ir)})})}}]),un}(S.Component);w.displayName="ResizeObserver";var b=w;function I(Dt){var jr=Object(S.useRef)(),un=Object(S.useRef)(!1);function Hr(){for(var Wt=arguments.length,wr=new Array(Wt),fn=0;fnQt&&(Cr=Qt-or),Object(S.useMemo)(function(){if(!wr.length)return[0,0];for(var Er=wr.length,Kr=Er,jn=0;jnLt+Cr){Kr=jn-1;break}}for(var ei=0,Zr=Er-1;Zr>=0;Zr-=1){var br=Dt.get(wr[Zr].key)||M;if(br[ir]1&&arguments[1]!==void 0?arguments[1]:!1,Hr=jr&&typeof jr.getBoundingClientRect=="function"&&jr.getBoundingClientRect().width;if(Hr){if(un){var Wt=getComputedStyle(jr),wr=Wt.marginLeft,fn=Wt.marginRight;Hr+=+wr.replace("px","")+ +fn.replace("px","")}Hr=+Hr.toFixed(6)}return Hr||0},tt=function(jr,un,Hr){jr&&Object(fe.a)(jr.style)==="object"&&(jr.style[un]=Hr)},ze=function(){return Ie.any},dt=d("i8i4"),Ot=d("uciX"),Tt=d("wgJM"),Ct=d("8XRh"),Nt={adjustX:1,adjustY:1},Be={topLeft:{points:["bl","tl"],overflow:Nt,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Nt,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Nt,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Nt,offset:[4,0]}},$={topLeft:{points:["bl","tl"],overflow:Nt,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Nt,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Nt,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Nt,offset:[4,0]}},Z=Be,Re=0,De={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ae=function(jr,un,Hr){var Wt=Oe(un),wr=jr.getState();jr.setState({defaultActiveFirst:Object(o.a)(Object(o.a)({},wr.defaultActiveFirst),{},Object(m.a)({},Wt,Hr))})},gt=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(Hr){var Wt;Object(l.a)(this,un),Wt=jr.call(this,Hr),Wt.onDestroy=function(Lt){Wt.props.onDestroy(Lt)},Wt.onKeyDown=function(Lt){var Qt=Lt.keyCode,It=Wt.menuInstance,or=Wt.props.store,Cr=Wt.getVisible();if(Qt===L.a.ENTER)return Wt.onTitleClick(Lt),ae(or,Wt.props.eventKey,!0),!0;if(Qt===L.a.RIGHT)return Cr?It.onKeyDown(Lt):(Wt.triggerOpenChange(!0),ae(or,Wt.props.eventKey,!0)),!0;if(Qt===L.a.LEFT){var Er;if(Cr)Er=It.onKeyDown(Lt);else return;return Er||(Wt.triggerOpenChange(!1),Er=!0),Er}return Cr&&(Qt===L.a.UP||Qt===L.a.DOWN)?It.onKeyDown(Lt):void 0},Wt.onOpenChange=function(Lt){Wt.props.onOpenChange(Lt)},Wt.onPopupVisibleChange=function(Lt){Wt.triggerOpenChange(Lt,Lt?"mouseenter":"mouseleave")},Wt.onMouseEnter=function(Lt){var Qt=Wt.props,It=Qt.eventKey,or=Qt.onMouseEnter,Cr=Qt.store;ae(Cr,Wt.props.eventKey,!1),or({key:It,domEvent:Lt})},Wt.onMouseLeave=function(Lt){var Qt=Wt.props,It=Qt.parentMenu,or=Qt.eventKey,Cr=Qt.onMouseLeave;It.subMenuInstance=Object(K.a)(Wt),Cr({key:or,domEvent:Lt})},Wt.onTitleMouseEnter=function(Lt){var Qt=Wt.props,It=Qt.eventKey,or=Qt.onItemHover,Cr=Qt.onTitleMouseEnter;or({key:It,hover:!0}),Cr({key:It,domEvent:Lt})},Wt.onTitleMouseLeave=function(Lt){var Qt=Wt.props,It=Qt.parentMenu,or=Qt.eventKey,Cr=Qt.onItemHover,Er=Qt.onTitleMouseLeave;It.subMenuInstance=Object(K.a)(Wt),Cr({key:or,hover:!1}),Er({key:or,domEvent:Lt})},Wt.onTitleClick=function(Lt){var Qt=Object(K.a)(Wt),It=Qt.props;if(It.onTitleClick({key:It.eventKey,domEvent:Lt}),It.triggerSubMenuAction==="hover")return;Wt.triggerOpenChange(!Wt.getVisible(),"click"),ae(It.store,Wt.props.eventKey,!1)},Wt.onSubMenuClick=function(Lt){typeof Wt.props.onClick=="function"&&Wt.props.onClick(Wt.addKeyPath(Lt))},Wt.onSelect=function(Lt){Wt.props.onSelect(Lt)},Wt.onDeselect=function(Lt){Wt.props.onDeselect(Lt)},Wt.getPrefixCls=function(){return"".concat(Wt.props.rootPrefixCls,"-submenu")},Wt.getActiveClassName=function(){return"".concat(Wt.getPrefixCls(),"-active")},Wt.getDisabledClassName=function(){return"".concat(Wt.getPrefixCls(),"-disabled")},Wt.getSelectedClassName=function(){return"".concat(Wt.getPrefixCls(),"-selected")},Wt.getOpenClassName=function(){return"".concat(Wt.props.rootPrefixCls,"-submenu-open")},Wt.getVisible=function(){return Wt.state.isOpen},Wt.getMode=function(){return Wt.state.mode},Wt.saveMenuInstance=function(Lt){Wt.menuInstance=Lt},Wt.addKeyPath=function(Lt){return Object(o.a)(Object(o.a)({},Lt),{},{keyPath:(Lt.keyPath||[]).concat(Wt.props.eventKey)})},Wt.triggerOpenChange=function(Lt,Qt){var It=Wt.props.eventKey,or=function(){Wt.onOpenChange({key:It,item:Object(K.a)(Wt),trigger:Qt,open:Lt})};Qt==="mouseenter"?Wt.mouseenterTimeout=setTimeout(function(){or()},0):or()},Wt.isChildrenSelected=function(){var Lt={find:!1};return it(Wt.props.children,Wt.props.selectedKeys,Lt),Lt.find},Wt.isInlineMode=function(){return Wt.getMode()==="inline"},Wt.adjustWidth=function(){if(!Wt.subMenuTitle||!Wt.menuInstance)return;var Lt=dt.findDOMNode(Wt.menuInstance);if(Lt.offsetWidth>=Wt.subMenuTitle.offsetWidth)return;Lt.style.minWidth="".concat(Wt.subMenuTitle.offsetWidth,"px")},Wt.saveSubMenuTitle=function(Lt){Wt.subMenuTitle=Lt},Wt.getBaseProps=function(){var Lt=Object(K.a)(Wt),Qt=Lt.props,It=Wt.getMode();return{mode:It==="horizontal"?"vertical":It,visible:Wt.getVisible(),level:Qt.level+1,inlineIndent:Qt.inlineIndent,focusable:!1,onClick:Wt.onSubMenuClick,onSelect:Wt.onSelect,onDeselect:Wt.onDeselect,onDestroy:Wt.onDestroy,selectedKeys:Qt.selectedKeys,eventKey:"".concat(Qt.eventKey,"-menu-"),openKeys:Qt.openKeys,motion:Qt.motion,onOpenChange:Wt.onOpenChange,subMenuOpenDelay:Qt.subMenuOpenDelay,parentMenu:Object(K.a)(Wt),subMenuCloseDelay:Qt.subMenuCloseDelay,forceSubMenuRender:Qt.forceSubMenuRender,triggerSubMenuAction:Qt.triggerSubMenuAction,builtinPlacements:Qt.builtinPlacements,defaultActiveFirst:Qt.store.getState().defaultActiveFirst[Oe(Qt.eventKey)],multiple:Qt.multiple,prefixCls:Qt.rootPrefixCls,id:Wt.internalMenuId,manualRef:Wt.saveMenuInstance,itemIcon:Qt.itemIcon,expandIcon:Qt.expandIcon,direction:Qt.direction}},Wt.getMotion=function(Lt,Qt){var It=Object(K.a)(Wt),or=It.haveRendered,Cr=Wt.props,Er=Cr.motion,Kr=Cr.rootPrefixCls,jn=Object(o.a)(Object(o.a)({},Er),{},{leavedClassName:"".concat(Kr,"-hidden"),removeOnLeave:!1,motionAppear:or||!Qt||Lt!=="inline"});return jn};var wr=Hr.store,fn=Hr.eventKey,zt=wr.getState(),Dr=zt.defaultActiveFirst;Wt.isRootMenu=!1;var ir=!1;return Dr&&(ir=Dr[fn]),ae(wr,fn,ir),Wt.state={mode:Hr.mode,isOpen:Hr.isOpen},Wt}return Object(u.a)(un,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Wt=this,wr=this.props,fn=wr.mode,zt=wr.parentMenu,Dr=wr.manualRef,ir=wr.isOpen,Lt=function(){Wt.setState({mode:fn,isOpen:ir})},Qt=ir!==this.state.isOpen,It=fn!==this.state.mode;if((It||Qt)&&(Tt.a.cancel(this.updateStateRaf),It?this.updateStateRaf=Object(Tt.a)(Lt):Lt()),Dr&&Dr(this),fn!=="horizontal"||!(zt==null?void 0:zt.isRootMenu)||!ir)return;this.minWidthTimeout=setTimeout(function(){return Wt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Wt=this.props,wr=Wt.onDestroy,fn=Wt.eventKey;wr&&wr(fn),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Tt.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(Wt,wr){var fn=this.getBaseProps();return S.createElement(Un,Object(F.a)({},fn,{id:this.internalMenuId,className:Wt,style:wr}),this.props.children)}},{key:"renderChildren",value:function(){var Wt=this,wr=this.getBaseProps(),fn=wr.mode,zt=wr.visible,Dr=wr.forceSubMenuRender,ir=wr.direction,Lt=this.getMotion(fn,zt);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||zt||Dr,!this.haveOpened)return S.createElement("div",null);var Qt=a()("".concat(wr.prefixCls,"-sub"),Object(m.a)({},"".concat(wr.prefixCls,"-rtl"),ir==="rtl"));return this.isInlineMode()?S.createElement(Ct.b,Object(F.a)({visible:wr.visible,forceRender:Dr},Lt),function(It){var or=It.className,Cr=It.style,Er=a()(Qt,or);return Wt.renderPopupMenu(Er,Cr)}):this.renderPopupMenu(Qt)}},{key:"render",value:function(){var Wt,wr,fn,zt=Object(o.a)({},this.props),Dr=this.getVisible(),ir=this.getPrefixCls(),Lt=this.isInlineMode(),Qt=this.getMode(),It=a()(ir,"".concat(ir,"-").concat(Qt),(Wt={},Object(m.a)(Wt,zt.className,!!zt.className),Object(m.a)(Wt,this.getOpenClassName(),Dr),Object(m.a)(Wt,this.getActiveClassName(),zt.active||Dr&&!Lt),Object(m.a)(Wt,this.getDisabledClassName(),zt.disabled),Object(m.a)(Wt,this.getSelectedClassName(),this.isChildrenSelected()),Wt));this.internalMenuId||(zt.eventKey?this.internalMenuId="".concat(zt.eventKey,"$Menu"):(Re+=1,this.internalMenuId="$__$".concat(Re,"$Menu")));var or={},Cr={},Er={};zt.disabled||(or={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Cr={onClick:this.onTitleClick},Er={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Kr={},jn=zt.direction,Nn=jn==="rtl";Lt&&(Nn?Kr.paddingRight=zt.inlineIndent*zt.level:Kr.paddingLeft=zt.inlineIndent*zt.level);var ei={};this.getVisible()&&(ei={"aria-owns":this.internalMenuId});var Zr=null;Qt!=="horizontal"&&(Zr=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Zr=S.createElement(this.props.expandIcon,Object(o.a)({},this.props))));var br=S.createElement("div",Object(F.a)({ref:this.saveSubMenuTitle,style:Kr,className:"".concat(ir,"-title"),role:"button"},Er,Cr,{"aria-expanded":Dr},ei,{"aria-haspopup":"true",title:typeof zt.title=="string"?zt.title:void 0}),zt.title,Zr||S.createElement("i",{className:"".concat(ir,"-arrow")})),dn=this.renderChildren(),Ln=((wr=zt.parentMenu)===null||wr===void 0?void 0:wr.isRootMenu)?zt.parentMenu.props.getPopupContainer:function(Hi){return Hi.parentNode},Fn=De[Qt],zn=zt.popupOffset?{offset:zt.popupOffset}:{},ui=a()((fn={},Object(m.a)(fn,zt.popupClassName,zt.popupClassName&&!Lt),Object(m.a)(fn,"".concat(ir,"-rtl"),Nn),fn)),ii=zt.disabled,qn=zt.triggerSubMenuAction,Li=zt.subMenuOpenDelay,zi=zt.forceSubMenuRender,Ri=zt.subMenuCloseDelay,ga=zt.builtinPlacements;et.forEach(function(Hi){return delete zt[Hi]}),delete zt.onClick;var oi=Nn?Object(o.a)(Object(o.a)({},$),ga):Object(o.a)(Object(o.a)({},Be),ga);delete zt.direction;var hn=this.getBaseProps(),Ei=Lt?null:this.getMotion(hn.mode,hn.visible);return S.createElement("li",Object(F.a)({},zt,or,{className:It,role:"menuitem"}),S.createElement(Ot.a,{prefixCls:ir,popupClassName:a()("".concat(ir,"-popup"),ui),getPopupContainer:Ln,builtinPlacements:oi,popupPlacement:Fn,popupVisible:Lt?!1:Dr,popupAlign:zn,popup:Lt?null:dn,action:ii||Lt?[]:[qn],mouseEnterDelay:Li,mouseLeaveDelay:Ri,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:zi,popupMotion:Ei},br),Lt?dn:null)}}]),un}(S.Component);gt.defaultProps={onMouseEnter:oe,onMouseLeave:oe,onTitleMouseEnter:oe,onTitleMouseLeave:oe,onTitleClick:oe,manualRef:oe,mode:"vertical",title:""};var jt=Object(j.b)(function(Dt,jr){var un=Dt.openKeys,Hr=Dt.activeKey,Wt=Dt.selectedKeys,wr=jr.eventKey,fn=jr.subMenuKey;return{isOpen:un.indexOf(wr)>-1,active:Hr[fn]===wr,selectedKeys:Wt}})(gt);jt.isSubMenu=!0;var ut=jt,rr="menuitem-overflowed",pr=.5,nn=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(){var Hr;return Object(l.a)(this,un),Hr=jr.apply(this,arguments),Hr.resizeObserver=null,Hr.mutationObserver=null,Hr.originalTotalWidth=0,Hr.overflowedItems=[],Hr.menuItemSizes=[],Hr.cancelFrameId=null,Hr.state={lastVisibleIndex:void 0},Hr.childRef=S.createRef(),Hr.getMenuItemNodes=function(){var Wt=Hr.props.prefixCls,wr=Hr.childRef.current;return wr?[].slice.call(wr.children).filter(function(fn){return fn.className.split(" ").indexOf("".concat(Wt,"-overflowed-submenu"))<0}):[]},Hr.getOverflowedSubMenuItem=function(Wt,wr,fn){var zt=Hr.props,Dr=zt.overflowedIndicator,ir=zt.level,Lt=zt.mode,Qt=zt.prefixCls,It=zt.theme;if(ir!==1||Lt!=="horizontal")return null;var or=Hr.props.children[0],Cr=or.props,Er=Cr.children,Kr=Cr.title,jn=Cr.style,Nn=Object(c.a)(Cr,["children","title","style"]),ei=Object(o.a)({},jn),Zr="".concat(Wt,"-overflowed-indicator"),br="".concat(Wt,"-overflowed-indicator");wr.length===0&&fn!==!0?ei=Object(o.a)(Object(o.a)({},ei),{},{display:"none"}):fn&&(ei=Object(o.a)(Object(o.a)({},ei),{},{visibility:"hidden",position:"absolute"}),Zr="".concat(Zr,"-placeholder"),br="".concat(br,"-placeholder"));var dn=It?"".concat(Qt,"-").concat(It):"",Ln={};return et.forEach(function(Fn){Nn[Fn]!==void 0&&(Ln[Fn]=Nn[Fn])}),S.createElement(ut,Object(F.a)({title:Dr,className:"".concat(Qt,"-overflowed-submenu"),popupClassName:dn},Ln,{key:Zr,eventKey:br,disabled:!1,style:ei}),wr)},Hr.setChildrenWidthAndResize=function(){if(Hr.props.mode!=="horizontal")return;var Wt=Hr.childRef.current;if(!Wt)return;var wr=Wt.children;if(!wr||wr.length===0)return;var fn=Wt.children[wr.length-1];tt(fn,"display","inline-block");var zt=Hr.getMenuItemNodes(),Dr=zt.filter(function(ir){return ir.className.split(" ").indexOf(rr)>=0});Dr.forEach(function(ir){tt(ir,"display","inline-block")}),Hr.menuItemSizes=zt.map(function(ir){return Te(ir,!0)}),Dr.forEach(function(ir){tt(ir,"display","none")}),Hr.overflowedIndicatorWidth=Te(Wt.children[Wt.children.length-1],!0),Hr.originalTotalWidth=Hr.menuItemSizes.reduce(function(ir,Lt){return ir+Lt},0),Hr.handleResize(),tt(fn,"display","none")},Hr.handleResize=function(){if(Hr.props.mode!=="horizontal")return;var Wt=Hr.childRef.current;if(!Wt)return;var wr=Te(Wt);Hr.overflowedItems=[];var fn=0,zt;Hr.originalTotalWidth>wr+pr&&(zt=-1,Hr.menuItemSizes.forEach(function(Dr){fn+=Dr,fn+Hr.overflowedIndicatorWidth<=wr&&(zt+=1)})),Hr.setState({lastVisibleIndex:zt})},Hr}return Object(u.a)(un,[{key:"componentDidMount",value:function(){var Wt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var wr=this.childRef.current;if(!wr)return;this.resizeObserver=new E.default(function(fn){fn.forEach(function(){var zt=Wt.cancelFrameId;cancelAnimationFrame(zt),Wt.cancelFrameId=requestAnimationFrame(Wt.setChildrenWidthAndResize)})}),[].slice.call(wr.children).concat(wr).forEach(function(fn){Wt.resizeObserver.observe(fn)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Wt.resizeObserver.disconnect(),[].slice.call(wr.children).concat(wr).forEach(function(fn){Wt.resizeObserver.observe(fn)}),Wt.setChildrenWidthAndResize()}),this.mutationObserver.observe(wr,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(Wt){var wr=this,fn=this.state.lastVisibleIndex;return(Wt||[]).reduce(function(zt,Dr,ir){var Lt=Dr;if(wr.props.mode==="horizontal"){var Qt=wr.getOverflowedSubMenuItem(Dr.props.eventKey,[]);fn!==void 0&&wr.props.className.indexOf("".concat(wr.props.prefixCls,"-root"))!==-1&&(ir>fn&&(Lt=S.cloneElement(Dr,{style:{display:"none"},eventKey:"".concat(Dr.props.eventKey,"-hidden"),className:"".concat(rr)})),ir===fn+1&&(wr.overflowedItems=Wt.slice(fn+1).map(function(or){return S.cloneElement(or,{key:or.props.eventKey,mode:"vertical-left"})}),Qt=wr.getOverflowedSubMenuItem(Dr.props.eventKey,wr.overflowedItems)));var It=[].concat(Object(s.a)(zt),[Qt,Lt]);return ir===Wt.length-1&&It.push(wr.getOverflowedSubMenuItem(Dr.props.eventKey,[],!0)),It}return[].concat(Object(s.a)(zt),[Lt])},[])}},{key:"render",value:function(){var Wt=this.props,wr=Wt.visible,fn=Wt.prefixCls,zt=Wt.overflowedIndicator,Dr=Wt.mode,ir=Wt.level,Lt=Wt.tag,Qt=Wt.children,It=Wt.theme,or=Object(c.a)(Wt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Cr=Lt;return S.createElement(Cr,Object(F.a)({ref:this.childRef},or),this.renderChildren(Qt))}}]),un}(S.Component);nn.defaultProps={tag:"div",className:""};var mr=nn;function vr(Dt){return Dt.length?Dt.every(function(jr){return!!jr.props.disabled}):!0}function $t(Dt,jr,un){var Hr=Dt.getState();Dt.setState({activeKey:Object(o.a)(Object(o.a)({},Hr.activeKey),{},Object(m.a)({},jr,un))})}function Xt(Dt){return Dt.eventKey||"0-menu-"}function ft(Dt,jr){var un=jr,Hr=Dt.children,Wt=Dt.eventKey;if(un){var wr;if(Ye(Hr,function(fn,zt){fn&&fn.props&&!fn.props.disabled&&un===pe(fn,Wt,zt)&&(wr=!0)}),wr)return un}return un=null,Dt.defaultActiveFirst&&Ye(Hr,function(fn,zt){!un&&fn&&!fn.props.disabled&&(un=pe(fn,Wt,zt))}),un}function Ur(Dt){if(!Dt)return;var jr=this.instanceArray.indexOf(Dt);jr!==-1?this.instanceArray[jr]=Dt:this.instanceArray.push(Dt)}var yn=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(Hr){var Wt;return Object(l.a)(this,un),Wt=jr.call(this,Hr),Wt.onKeyDown=function(wr,fn){var zt=wr.keyCode,Dr;if(Wt.getFlatInstanceArray().forEach(function(Lt){Lt&&Lt.props.active&&Lt.onKeyDown&&(Dr=Lt.onKeyDown(wr))}),Dr)return 1;var ir=null;return(zt===L.a.UP||zt===L.a.DOWN)&&(ir=Wt.step(zt===L.a.UP?-1:1)),ir?(wr.preventDefault(),$t(Wt.props.store,Xt(Wt.props),ir.props.eventKey),typeof fn=="function"&&fn(ir),1):void 0},Wt.onItemHover=function(wr){var fn=wr.key,zt=wr.hover;$t(Wt.props.store,Xt(Wt.props),zt?fn:null)},Wt.onDeselect=function(wr){Wt.props.onDeselect(wr)},Wt.onSelect=function(wr){Wt.props.onSelect(wr)},Wt.onClick=function(wr){Wt.props.onClick(wr)},Wt.onOpenChange=function(wr){Wt.props.onOpenChange(wr)},Wt.onDestroy=function(wr){Wt.props.onDestroy(wr)},Wt.getFlatInstanceArray=function(){return Wt.instanceArray},Wt.step=function(wr){var fn=Wt.getFlatInstanceArray(),zt=Wt.props.store.getState().activeKey[Xt(Wt.props)],Dr=fn.length;if(!Dr)return null;wr<0&&(fn=fn.concat().reverse());var ir=-1;if(fn.every(function(or,Cr){return or&&or.props.eventKey===zt?(ir=Cr,!1):!0}),!Wt.props.defaultActiveFirst&&ir!==-1&&vr(fn.slice(ir,Dr-1)))return;var Lt=(ir+1)%Dr,Qt=Lt;do{var It=fn[Qt];if(!It||It.props.disabled)Qt=(Qt+1)%Dr;else return It}while(Qt!==Lt);return null},Wt.renderCommonMenuItem=function(wr,fn,zt){var Dr=Wt.props.store.getState(),ir=Object(K.a)(Wt),Lt=ir.props,Qt=pe(wr,Lt.eventKey,fn),It=wr.props;if(!It||typeof wr.type=="string")return wr;var or=Qt===Dr.activeKey,Cr=Object(o.a)(Object(o.a)({mode:It.mode||Lt.mode,level:Lt.level,inlineIndent:Lt.inlineIndent,renderMenuItem:Wt.renderMenuItem,rootPrefixCls:Lt.prefixCls,index:fn,parentMenu:Lt.parentMenu,manualRef:It.disabled?void 0:Object(z.a)(wr.ref,Ur.bind(Object(K.a)(Wt))),eventKey:Qt,active:!It.disabled&&or,multiple:Lt.multiple,onClick:function(Kr){(It.onClick||oe)(Kr),Wt.onClick(Kr)},onItemHover:Wt.onItemHover,motion:Lt.motion,subMenuOpenDelay:Lt.subMenuOpenDelay,subMenuCloseDelay:Lt.subMenuCloseDelay,forceSubMenuRender:Lt.forceSubMenuRender,onOpenChange:Wt.onOpenChange,onDeselect:Wt.onDeselect,onSelect:Wt.onSelect,builtinPlacements:Lt.builtinPlacements,itemIcon:It.itemIcon||Wt.props.itemIcon,expandIcon:It.expandIcon||Wt.props.expandIcon},zt),{},{direction:Lt.direction});return(Lt.mode==="inline"||ze())&&(Cr.triggerSubMenuAction="click"),S.cloneElement(wr,Object(o.a)(Object(o.a)({},Cr),{},{key:Qt||fn}))},Wt.renderMenuItem=function(wr,fn,zt){if(!wr)return null;var Dr=Wt.props.store.getState(),ir={openKeys:Dr.openKeys,selectedKeys:Dr.selectedKeys,triggerSubMenuAction:Wt.props.triggerSubMenuAction,subMenuKey:zt};return Wt.renderCommonMenuItem(wr,fn,ir)},Hr.store.setState({activeKey:Object(o.a)(Object(o.a)({},Hr.store.getState().activeKey),{},Object(m.a)({},Hr.eventKey,ft(Hr,Hr.activeKey)))}),Wt.instanceArray=[],Wt}return Object(u.a)(un,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Wt){return this.props.visible||Wt.visible||this.props.className!==Wt.className||!ee()(this.props.style,Wt.style)}},{key:"componentDidUpdate",value:function(Wt){var wr=this.props,fn="activeKey"in wr?wr.activeKey:wr.store.getState().activeKey[Xt(wr)],zt=ft(wr,fn);if(zt!==fn)$t(wr.store,Xt(wr),zt);else if("activeKey"in Wt){var Dr=ft(Wt,Wt.activeKey);zt!==Dr&&$t(wr.store,Xt(wr),zt)}}},{key:"render",value:function(){var Wt=this,wr=Object(F.a)({},this.props);this.instanceArray=[];var fn=a()(wr.prefixCls,wr.className,"".concat(wr.prefixCls,"-").concat(wr.mode)),zt={className:fn,role:wr.role||"menu"};wr.id&&(zt.id=wr.id),wr.focusable&&(zt.tabIndex=0,zt.onKeyDown=this.onKeyDown);var Dr=wr.prefixCls,ir=wr.eventKey,Lt=wr.visible,Qt=wr.level,It=wr.mode,or=wr.overflowedIndicator,Cr=wr.theme;return et.forEach(function(Er){return delete wr[Er]}),delete wr.onClick,S.createElement(mr,Object(F.a)({},wr,{prefixCls:Dr,mode:It,tag:"ul",level:Qt,theme:Cr,visible:Lt,overflowedIndicator:or},zt),Object(n.a)(wr.children).map(function(Er,Kr){return Wt.renderMenuItem(Er,Kr,ir||"0-menu-")}))}}]),un}(S.Component);yn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:oe};var Dn=Object(j.b)()(yn),Un=Dn;function wi(Dt,jr,un){var Hr=Dt.prefixCls,Wt=Dt.motion,wr=Dt.defaultMotions,fn=wr===void 0?{}:wr,zt=Dt.openAnimation,Dr=Dt.openTransitionName,ir=jr.switchingModeFromInline;if(Wt)return Wt;if(Object(fe.a)(zt)==="object"&&zt)Object(A.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof zt=="string")return{motionName:"".concat(Hr,"-open-").concat(zt)};if(Dr)return{motionName:Dr};var Lt=fn[un];return Lt||(ir?null:fn.other)}var Rn=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(Hr){var Wt;Object(l.a)(this,un),Wt=jr.call(this,Hr),Wt.onSelect=function(zt){var Dr=Object(K.a)(Wt),ir=Dr.props;if(ir.selectable){var Lt=Wt.store.getState(),Qt=Lt.selectedKeys,It=zt.key;ir.multiple?Qt=Qt.concat([It]):Qt=[It],"selectedKeys"in ir||Wt.store.setState({selectedKeys:Qt}),ir.onSelect(Object(o.a)(Object(o.a)({},zt),{},{selectedKeys:Qt}))}},Wt.onClick=function(zt){var Dr=Wt.getRealMenuMode(),ir=Object(K.a)(Wt),Lt=ir.store,Qt=ir.props.onOpenChange;Dr!=="inline"&&!("openKeys"in Wt.props)&&(Lt.setState({openKeys:[]}),Qt([])),Wt.props.onClick(zt)},Wt.onKeyDown=function(zt,Dr){Wt.innerMenu.getWrappedInstance().onKeyDown(zt,Dr)},Wt.onOpenChange=function(zt){var Dr=Object(K.a)(Wt),ir=Dr.props,Lt=Wt.store.getState().openKeys.concat(),Qt=!1,It=function(Cr){var Er=!1;if(Cr.open)Er=Lt.indexOf(Cr.key)===-1,Er&&Lt.push(Cr.key);else{var Kr=Lt.indexOf(Cr.key);Er=Kr!==-1,Er&&Lt.splice(Kr,1)}Qt=Qt||Er};Array.isArray(zt)?zt.forEach(It):It(zt),Qt&&("openKeys"in Wt.props||Wt.store.setState({openKeys:Lt}),ir.onOpenChange(Lt))},Wt.onDeselect=function(zt){var Dr=Object(K.a)(Wt),ir=Dr.props;if(ir.selectable){var Lt=Wt.store.getState().selectedKeys.concat(),Qt=zt.key,It=Lt.indexOf(Qt);It!==-1&&Lt.splice(It,1),"selectedKeys"in ir||Wt.store.setState({selectedKeys:Lt}),ir.onDeselect(Object(o.a)(Object(o.a)({},zt),{},{selectedKeys:Lt}))}},Wt.onMouseEnter=function(zt){Wt.restoreModeVerticalFromInline();var Dr=Wt.props.onMouseEnter;Dr&&Dr(zt)},Wt.onTransitionEnd=function(zt){var Dr=zt.propertyName==="width"&&zt.target===zt.currentTarget,ir=zt.target.className,Lt=Object.prototype.toString.call(ir)==="[object SVGAnimatedString]"?ir.animVal:ir,Qt=zt.propertyName==="font-size"&&Lt.indexOf("anticon")>=0;(Dr||Qt)&&Wt.restoreModeVerticalFromInline()},Wt.setInnerMenu=function(zt){Wt.innerMenu=zt},Wt.isRootMenu=!0;var wr=Hr.defaultSelectedKeys,fn=Hr.defaultOpenKeys;return"selectedKeys"in Hr&&(wr=Hr.selectedKeys||[]),"openKeys"in Hr&&(fn=Hr.openKeys||[]),Wt.store=Object(j.c)({selectedKeys:wr,openKeys:fn,activeKey:{"0-menu-":ft(Hr,Hr.activeKey)}}),Wt.state={switchingModeFromInline:!1,prevProps:Hr,inlineOpenKeys:[],store:Wt.store},Wt}return Object(u.a)(un,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Wt){var wr=this.props,fn=wr.siderCollapsed,zt=wr.inlineCollapsed,Dr=wr.onOpenChange;(!Wt.inlineCollapsed&&zt||!Wt.siderCollapsed&&fn)&&Dr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var Wt=this.props.collapsedWidth,wr=this.store,fn=this.prevOpenKeys,zt=this.getInlineCollapsed()&&(Wt===0||Wt==="0"||Wt==="0px");zt?(this.prevOpenKeys=wr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):fn&&(this.store.setState({openKeys:fn}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Wt=this.props.mode,wr=this.state.switchingModeFromInline,fn=this.getInlineCollapsed();return wr&&fn?"inline":fn?"vertical":Wt}},{key:"getInlineCollapsed",value:function(){var Wt=this.props,wr=Wt.inlineCollapsed,fn=Wt.siderCollapsed;return fn!==void 0?fn:wr}},{key:"restoreModeVerticalFromInline",value:function(){var Wt=this.state.switchingModeFromInline;Wt&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var Wt=Object(o.a)({},Object(V.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),wr=this.getRealMenuMode();return Wt.className+=" ".concat(Wt.prefixCls,"-root"),Wt.direction==="rtl"&&(Wt.className+=" ".concat(Wt.prefixCls,"-rtl")),Wt=Object(o.a)(Object(o.a)({},Wt),{},{mode:wr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:wi(this.props,this.state,wr)}),delete Wt.openAnimation,delete Wt.openTransitionName,S.createElement(j.a,{store:this.store},S.createElement(Un,Object(F.a)({},Wt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(Wt,wr){var fn=wr.prevProps,zt=wr.store,Dr=zt.getState(),ir={},Lt={prevProps:Wt};return fn.mode==="inline"&&Wt.mode!=="inline"&&(Lt.switchingModeFromInline=!0),"openKeys"in Wt?ir.openKeys=Wt.openKeys||[]:((Wt.inlineCollapsed&&!fn.inlineCollapsed||Wt.siderCollapsed&&!fn.siderCollapsed)&&(Lt.switchingModeFromInline=!0,Lt.inlineOpenKeys=Dr.openKeys,ir.openKeys=[]),(!Wt.inlineCollapsed&&fn.inlineCollapsed||!Wt.siderCollapsed&&fn.siderCollapsed)&&(ir.openKeys=wr.inlineOpenKeys,Lt.inlineOpenKeys=[])),Object.keys(ir).length&&zt.setState(ir),Lt}}]),un}(S.Component);Rn.defaultProps={selectable:!0,onClick:oe,onSelect:oe,onOpenChange:oe,onDeselect:oe,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:S.createElement("span",null,"\xB7\xB7\xB7")};var kn=Rn,Vn=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(){var Hr;return Object(l.a)(this,un),Hr=jr.apply(this,arguments),Hr.onKeyDown=function(Wt){var wr=Wt.keyCode;return wr===L.a.ENTER?(Hr.onClick(Wt),!0):void 0},Hr.onMouseLeave=function(Wt){var wr=Hr.props,fn=wr.eventKey,zt=wr.onItemHover,Dr=wr.onMouseLeave;zt({key:fn,hover:!1}),Dr({key:fn,domEvent:Wt})},Hr.onMouseEnter=function(Wt){var wr=Hr.props,fn=wr.eventKey,zt=wr.onItemHover,Dr=wr.onMouseEnter;zt({key:fn,hover:!0}),Dr({key:fn,domEvent:Wt})},Hr.onClick=function(Wt){var wr=Hr.props,fn=wr.eventKey,zt=wr.multiple,Dr=wr.onClick,ir=wr.onSelect,Lt=wr.onDeselect,Qt=wr.isSelected,It={key:fn,keyPath:[fn],item:Object(K.a)(Hr),domEvent:Wt};Dr(It),zt?Qt?Lt(It):ir(It):Qt||ir(It)},Hr.saveNode=function(Wt){Hr.node=Wt},Hr}return Object(u.a)(un,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Wt=this.props;Wt.onDestroy&&Wt.onDestroy(Wt.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var Wt,wr=Object(o.a)({},this.props),fn=a()(this.getPrefixCls(),wr.className,(Wt={},Object(m.a)(Wt,this.getActiveClassName(),!wr.disabled&&wr.active),Object(m.a)(Wt,this.getSelectedClassName(),wr.isSelected),Object(m.a)(Wt,this.getDisabledClassName(),wr.disabled),Wt)),zt=Object(o.a)(Object(o.a)({},wr.attribute),{},{title:typeof wr.title=="string"?wr.title:void 0,className:fn,role:wr.role||"menuitem","aria-disabled":wr.disabled});wr.role==="option"?zt=Object(o.a)(Object(o.a)({},zt),{},{role:"option","aria-selected":wr.isSelected}):(wr.role===null||wr.role==="none")&&(zt.role="none");var Dr={onClick:wr.disabled?null:this.onClick,onMouseLeave:wr.disabled?null:this.onMouseLeave,onMouseEnter:wr.disabled?null:this.onMouseEnter},ir=Object(o.a)({},wr.style);wr.mode==="inline"&&(wr.direction==="rtl"?ir.paddingRight=wr.inlineIndent*wr.level:ir.paddingLeft=wr.inlineIndent*wr.level),et.forEach(function(Qt){return delete wr[Qt]}),delete wr.direction;var Lt=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Lt=S.createElement(this.props.itemIcon,this.props)),S.createElement("li",Object(F.a)({},Object(V.a)(wr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),zt,Dr,{style:ir,ref:this.saveNode}),wr.children,Lt)}}]),un}(S.Component);Vn.isMenuItem=!0,Vn.defaultProps={onSelect:oe,onMouseEnter:oe,onMouseLeave:oe,manualRef:oe};var Gt=Object(j.b)(function(Dt,jr){var un=Dt.activeKey,Hr=Dt.selectedKeys,Wt=jr.eventKey,wr=jr.subMenuKey;return{active:un[wr]===Wt,isSelected:Array.isArray(Hr)?Hr.indexOf(Wt)!==-1:Hr===Wt}})(Vn),st=Gt,ue=function(Dt){Object(h.a)(un,Dt);var jr=Object(p.a)(un);function un(){var Hr;return Object(l.a)(this,un),Hr=jr.apply(this,arguments),Hr.renderInnerMenuItem=function(Wt){var wr=Hr.props,fn=wr.renderMenuItem,zt=wr.index;return fn(Wt,zt,Hr.props.subMenuKey)},Hr}return Object(u.a)(un,[{key:"render",value:function(){var Wt=Object(F.a)({},this.props),wr=Wt.className,fn=wr===void 0?"":wr,zt=Wt.rootPrefixCls,Dr="".concat(zt,"-item-group-title"),ir="".concat(zt,"-item-group-list"),Lt=Wt.title,Qt=Wt.children;return et.forEach(function(It){return delete Wt[It]}),delete Wt.direction,S.createElement("li",Object(F.a)({},Wt,{onClick:function(or){return or.stopPropagation()},className:"".concat(fn," ").concat(zt,"-item-group")}),S.createElement("div",{className:Dr,title:typeof Lt=="string"?Lt:void 0},Lt),S.createElement("ul",{className:ir},S.Children.map(Qt,this.renderInnerMenuItem)))}}]),un}(S.Component);ue.isMenuItemGroup=!0,ue.defaultProps={disabled:!0};var Ee=ue,je=function(jr){var un=jr.className,Hr=jr.rootPrefixCls,Wt=jr.style;return S.createElement("li",{className:"".concat(un," ").concat(Hr,"-item-divider"),style:Wt})};je.defaultProps={disabled:!0,className:"",style:{}};var Ve=je,$e=kn,wt={adjustX:1,adjustY:1},qt=[0,0],Mr={topLeft:{points:["bl","tl"],overflow:wt,offset:[0,-4],targetOffset:qt},topCenter:{points:["bc","tc"],overflow:wt,offset:[0,-4],targetOffset:qt},topRight:{points:["br","tr"],overflow:wt,offset:[0,-4],targetOffset:qt},bottomLeft:{points:["tl","bl"],overflow:wt,offset:[0,4],targetOffset:qt},bottomCenter:{points:["tc","bc"],overflow:wt,offset:[0,4],targetOffset:qt},bottomRight:{points:["tr","br"],overflow:wt,offset:[0,4],targetOffset:qt}},an=Mr;function _t(Dt,jr){var un=Dt.arrow,Hr=un===void 0?!1:un,Wt=Dt.prefixCls,wr=Wt===void 0?"rc-dropdown":Wt,fn=Dt.transitionName,zt=Dt.animation,Dr=Dt.align,ir=Dt.placement,Lt=ir===void 0?"bottomLeft":ir,Qt=Dt.placements,It=Qt===void 0?an:Qt,or=Dt.getPopupContainer,Cr=Dt.showAction,Er=Dt.hideAction,Kr=Dt.overlayClassName,jn=Dt.overlayStyle,Nn=Dt.visible,ei=Dt.trigger,Zr=ei===void 0?["hover"]:ei,br=Object(c.a)(Dt,["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger"]),dn=S.useState(),Ln=Object(f.a)(dn,2),Fn=Ln[0],zn=Ln[1],ui="visible"in Dt?Nn:Fn,ii=S.useRef(null);S.useImperativeHandle(jr,function(){return ii.current});var qn=function(){var ji=Dt.overlay,dr;return typeof ji=="function"?dr=ji():dr=ji,dr},Li=function(ji){var dr=Dt.onOverlayClick,sr=qn().props;zn(!1),dr&&dr(ji),sr.onClick&&sr.onClick(ji)},zi=function(ji){var dr=Dt.onVisibleChange;zn(ji),typeof dr=="function"&&dr(ji)},Ri=function(){var ji=qn(),dr={prefixCls:"".concat(wr,"-menu"),onClick:Li};return typeof ji.type=="string"&&delete dr.prefixCls,S.createElement(S.Fragment,null,Hr&&S.createElement("div",{className:"".concat(wr,"-arrow")}),S.cloneElement(ji,dr))},ga=function(){var ji=Dt.overlay;return typeof ji=="function"?Ri:Ri()},oi=function(){var ji=Dt.minOverlayWidthMatchTrigger,dr=Dt.alignPoint;return"minOverlayWidthMatchTrigger"in Dt?ji:!dr},hn=function(){var ji=Dt.openClassName;return ji!==void 0?ji:"".concat(wr,"-open")},Ei=function(){var ji=Dt.children,dr=ji.props?ji.props:{},sr=a()(dr.className,hn());return Fn&&ji?S.cloneElement(ji,{className:sr}):ji},Hi=Er;return!Hi&&Zr.indexOf("contextMenu")!==-1&&(Hi=["click"]),S.createElement(Ot.a,Object.assign({},br,{prefixCls:wr,ref:ii,popupClassName:a()(Kr,Object(m.a)({},"".concat(wr,"-show-arrow"),Hr)),popupStyle:jn,builtinPlacements:It,action:Zr,showAction:Cr,hideAction:Hi||[],popupPlacement:Lt,popupAlign:Dr,popupTransitionName:fn,popupAnimation:zt,popupVisible:ui,stretch:oi()?"minWidth":"",popup:ga(),onPopupVisibleChange:zi,getPopupContainer:or}),Ei())}var at=S.forwardRef(_t),bt=at;function kt(Dt,jr){var un=Dt.prefixCls,Hr=Dt.editable,Wt=Dt.locale,wr=Dt.style;return!Hr||Hr.showAdd===!1?null:S.createElement("button",{ref:jr,type:"button",className:"".concat(un,"-nav-add"),style:wr,"aria-label":(Wt==null?void 0:Wt.addAriaLabel)||"Add tab",onClick:function(zt){Hr.onEdit("add",{event:zt})}},Hr.addIcon||"+")}var Pt=S.forwardRef(kt);function Et(Dt,jr){var un=Dt.prefixCls,Hr=Dt.id,Wt=Dt.tabs,wr=Dt.locale,fn=Dt.mobile,zt=Dt.moreIcon,Dr=zt===void 0?"More":zt,ir=Dt.moreTransitionName,Lt=Dt.style,Qt=Dt.className,It=Dt.editable,or=Dt.tabBarGutter,Cr=Dt.rtl,Er=Dt.onTabClick,Kr=Object(S.useState)(!1),jn=Object(f.a)(Kr,2),Nn=jn[0],ei=jn[1],Zr=Object(S.useState)(null),br=Object(f.a)(Zr,2),dn=br[0],Ln=br[1],Fn="".concat(Hr,"-more-popup"),zn="".concat(un,"-dropdown"),ui=dn!==null?"".concat(Fn,"-").concat(dn):null,ii=wr==null?void 0:wr.dropdownAriaLabel,qn=S.createElement($e,{onClick:function(Ei){var Hi=Ei.key,ki=Ei.domEvent;Er(Hi,ki),ei(!1)},id:Fn,tabIndex:-1,role:"listbox","aria-activedescendant":ui,selectedKeys:[dn],"aria-label":ii!==void 0?ii:"expanded dropdown"},Wt.map(function(hn){return S.createElement(st,{key:hn.key,id:"".concat(Fn,"-").concat(hn.key),role:"option","aria-controls":Hr&&"".concat(Hr,"-panel-").concat(hn.key),disabled:hn.disabled},hn.tab)}));function Li(hn){for(var Ei=Wt.filter(function(sr){return!sr.disabled}),Hi=Ei.findIndex(function(sr){return sr.key===dn})||0,ki=Ei.length,ji=0;jiga?(zi=qn,Fn.current="x"):(zi=Li,Fn.current="y");var oi=Date.now();oi-dn.current>100&&(Ln.current=!1),(jr(-zi,-zi)||Ln.current)&&(ii.preventDefault(),Ln.current=!0),dn.current=oi}var ui=Object(S.useRef)(null);ui.current={onTouchStart:ei,onTouchMove:Zr,onTouchEnd:br,onWheel:zn},S.useEffect(function(){function ii(Ri){ui.current.onTouchStart(Ri)}function qn(Ri){ui.current.onTouchMove(Ri)}function Li(Ri){ui.current.onTouchEnd(Ri)}function zi(Ri){ui.current.onWheel(Ri)}return document.addEventListener("touchmove",qn,{passive:!1}),document.addEventListener("touchend",Li,{passive:!1}),Dt.current.addEventListener("touchstart",ii,{passive:!1}),Dt.current.addEventListener("wheel",zi),function(){document.removeEventListener("touchmove",qn),document.removeEventListener("touchend",Li)}},[])}function _n(){var Dt=Object(S.useRef)(new Map);function jr(Hr){return Dt.current.has(Hr)||Dt.current.set(Hr,S.createRef()),Dt.current.get(Hr)}function un(Hr){Dt.current.delete(Hr)}return[jr,un]}function Mn(Dt,jr){var un=S.useRef(Dt),Hr=S.useState({}),Wt=Object(f.a)(Hr,2),wr=Wt[1];function fn(zt){var Dr=typeof zt=="function"?zt(un.current):zt;Dr!==un.current&&jr(Dr,un.current),un.current=Dr,wr({})}return[un.current,fn]}var li=function(jr){var un=jr.position,Hr=jr.prefixCls,Wt=jr.extra;if(!Wt)return null;var wr,fn=Wt;return un==="right"&&(wr=fn.right||!fn.left&&fn||null),un==="left"&&(wr=fn.left||null),wr?S.createElement("div",{className:"".concat(Hr,"-extra-content")},wr):null};function ai(Dt,jr){var un,Hr=S.useContext(ot),Wt=Hr.prefixCls,wr=Hr.tabs,fn=Dt.className,zt=Dt.style,Dr=Dt.id,ir=Dt.animated,Lt=Dt.activeKey,Qt=Dt.rtl,It=Dt.extra,or=Dt.editable,Cr=Dt.locale,Er=Dt.tabPosition,Kr=Dt.tabBarGutter,jn=Dt.children,Nn=Dt.onTabClick,ei=Dt.onTabScroll,Zr=Object(S.useRef)(),br=Object(S.useRef)(),dn=Object(S.useRef)(),Ln=Object(S.useRef)(),Fn=_n(),zn=Object(f.a)(Fn,2),ui=zn[0],ii=zn[1],qn=Er==="top"||Er==="bottom",Li=Mn(0,function(yr,Cn){qn&&ei&&ei({direction:yr>Cn?"left":"right"})}),zi=Object(f.a)(Li,2),Ri=zi[0],ga=zi[1],oi=Mn(0,function(yr,Cn){!qn&&ei&&ei({direction:yr>Cn?"top":"bottom"})}),hn=Object(f.a)(oi,2),Ei=hn[0],Hi=hn[1],ki=Object(S.useState)(0),ji=Object(f.a)(ki,2),dr=ji[0],sr=ji[1],cn=Object(S.useState)(0),Zt=Object(f.a)(cn,2),Ar=Zt[0],Nr=Zt[1],tn=Object(S.useState)(0),pn=Object(f.a)(tn,2),St=pn[0],cr=pn[1],fr=Object(S.useState)(0),Br=Object(f.a)(fr,2),$r=Br[0],wn=Br[1],rn=Object(S.useState)(null),On=Object(f.a)(rn,2),In=On[0],Gn=On[1],fi=Object(S.useState)(null),Yn=Object(f.a)(fi,2),gi=Yn[0],vi=Yn[1],Di=Object(S.useState)(0),Mi=Object(f.a)(Di,2),xi=Mi[0],bi=Mi[1],Ci=Object(S.useState)(0),$i=Object(f.a)(Ci,2),qi=$i[0],Ti=$i[1],ia=_(new Map),na=Object(f.a)(ia,2),Ui=na[0],Ki=na[1],ra=B(wr,Ui,dr),ea="".concat(Wt,"-nav-operations-hidden"),va=0,sa=0;qn?Qt?(va=0,sa=Math.max(0,dr-In)):(va=Math.min(0,In-dr),sa=0):(va=Math.min(0,gi-Ar),sa=0);function Pa(yr){return yrsa?[sa,!1]:[yr,!0]}var ka=Object(S.useRef)(),Ia=Object(S.useState)(),Ea=Object(f.a)(Ia,2),So=Ea[0],Ga=Ea[1];function Va(){Ga(Date.now())}function Ra(){window.clearTimeout(ka.current)}ln(Zr,function(yr,Cn){var Pr=!1;function xn(Qn,$n){Qn(function(Kn){var si=Pa(Kn+$n),Xn=Object(f.a)(si,2),ti=Xn[0],di=Xn[1];return Pr=di,ti})}if(qn){if(In>=dr)return Pr;xn(ga,yr)}else{if(gi>=Ar)return Pr;xn(Hi,Cn)}return Ra(),Va(),Pr}),Object(S.useEffect)(function(){return Ra(),So&&(ka.current=window.setTimeout(function(){Ga(0)},100)),Ra},[So]);function po(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lt,Cn=ra.get(yr);if(!Cn)return;if(qn){var Pr=Ri;Qt?Cn.rightRi+In&&(Pr=Cn.right+Cn.width-In):Cn.left<-Ri?Pr=-Cn.left:Cn.left+Cn.width>-Ri+In&&(Pr=-(Cn.left+Cn.width-In)),Hi(0),ga(Pa(Pr)[0])}else{var xn=Ei;Cn.top<-Ei?xn=-Cn.top:Cn.top+Cn.height>-Ei+gi&&(xn=-(Cn.top+Cn.height-gi)),ga(0),Hi(Pa(xn)[0])}}var mo=H(ra,{width:In,height:gi,left:Ri,top:Ei},{width:St,height:$r},{width:xi,height:qi},Object(o.a)(Object(o.a)({},Dt),{},{tabs:wr})),Aa=Object(f.a)(mo,2),Io=Aa[0],go=Aa[1],Qa=wr.map(function(yr){var Cn=yr.key;return S.createElement(N,{id:Dr,prefixCls:Wt,key:Cn,rtl:Qt,tab:yr,closable:yr.closable,editable:or,active:Cn===Lt,tabPosition:Er,tabBarGutter:Kr,renderWrapper:jn,removeAriaLabel:Cr==null?void 0:Cr.removeAriaLabel,ref:ui(Cn),onClick:function(xn){Nn(Cn,xn)},onRemove:function(){ii(Cn)},onFocus:function(){po(Cn),Va(),Qt||(Zr.current.scrollLeft=0),Zr.current.scrollTop=0}})}),wo=I(function(){var yr,Cn,Pr,xn,Qn,$n,Kn,si,Xn,ti=((yr=Zr.current)===null||yr===void 0?void 0:yr.offsetWidth)||0,di=((Cn=Zr.current)===null||Cn===void 0?void 0:Cn.offsetHeight)||0,Bi=((Pr=Ln.current)===null||Pr===void 0?void 0:Pr.offsetWidth)||0,yi=((xn=Ln.current)===null||xn===void 0?void 0:xn.offsetHeight)||0,Xi=((Qn=dn.current)===null||Qn===void 0?void 0:Qn.offsetWidth)||0,ba=(($n=dn.current)===null||$n===void 0?void 0:$n.offsetHeight)||0;Gn(ti),vi(di),bi(Bi),Ti(yi);var ta=(((Kn=br.current)===null||Kn===void 0?void 0:Kn.offsetWidth)||0)-Bi,Qi=(((si=br.current)===null||si===void 0?void 0:si.offsetHeight)||0)-yi;sr(ta),Nr(Qi);var aa=(Xn=dn.current)===null||Xn===void 0?void 0:Xn.className.includes(ea);cr(ta-(aa?0:Xi)),wn(Qi-(aa?0:ba)),Ki(function(){var fa=new Map;return wr.forEach(function(xo){var Za=xo.key,Wi=ui(Za).current;Wi&&fa.set(Za,{width:Wi.offsetWidth,height:Wi.offsetHeight,left:Wi.offsetLeft,top:Wi.offsetTop})}),fa})}),pa=wr.slice(0,Io),to=wr.slice(go+1),ao=[].concat(Object(s.a)(pa),Object(s.a)(to)),Bo=Object(S.useState)(),Ja=Object(f.a)(Bo,2),_o=Ja[0],Ao=Ja[1],za=ra.get(Lt),ja=Object(S.useRef)();function da(){i.a.cancel(ja.current)}Object(S.useEffect)(function(){var yr={};return za&&(qn?(Qt?yr.right=za.right:yr.left=za.left,yr.width=za.width):(yr.top=za.top,yr.height=za.height)),da(),ja.current=i()(function(){Ao(yr)}),da},[za,qn,Qt]),Object(S.useEffect)(function(){po()},[Lt,za,ra,qn]),Object(S.useEffect)(function(){wo()},[Qt,Kr,Lt,wr.map(function(yr){return yr.key}).join("_")]);var rt=!!ao.length,ar="".concat(Wt,"-nav-wrap"),Fr,Ir,En,zr;return qn?Qt?(Ir=Ri>0,Fr=Ri+In0&&arguments[0]!==void 0?arguments[0]:"";return R+=1,"".concat(B).concat(R)}}(),D=function(R){r()(M,R);var B=n()(M);function M(H){var F;m()(this,M),F=B.call(this,H),F.responsiveHandler=function(V){F.setState({below:V.matches});var z=F.props.onBreakpoint,Y=F.state.collapsed;z&&z(V.matches),Y!==V.matches&&F.setCollapsed(V.matches,"responsive")},F.setCollapsed=function(V,z){"collapsed"in F.props||F.setState({collapsed:V});var Y=F.props.onCollapse;Y&&Y(V,z)},F.toggle=function(){var V=!F.state.collapsed;F.setCollapsed(V,"clickTrigger")},F.renderSider=function(V){var z,Y=V.getPrefixCls,ee=F.props,fe=ee.prefixCls,ie=ee.className,we=ee.theme,Ce=ee.collapsible,Le=ee.reverseArrow,He=ee.trigger,ce=ee.style,Pe=ee.width,Q=ee.collapsedWidth,me=ee.zeroWidthTriggerStyle,Je=ee.children,re=b(ee,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),G=F.state,X=G.collapsed,J=G.below,Ae=Y("layout-sider",fe),he=Object(i.default)(re,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Me=X?Q:Pe,Ie=w(Me)?"".concat(Me,"px"):String(Me),oe=parseFloat(String(Q||0))===0?e.createElement("span",{onClick:F.toggle,className:t()("".concat(Ae,"-zero-width-trigger"),"".concat(Ae,"-zero-width-trigger-").concat(Le?"right":"left")),style:me},He||e.createElement(u.a,null)):null,pe={expanded:Le?e.createElement(p.a,null):e.createElement(A.a,null),collapsed:Le?e.createElement(A.a,null):e.createElement(p.a,null)},Oe=X?"collapsed":"expanded",Ye=pe[Oe],it=He!==null?oe||e.createElement("div",{className:"".concat(Ae,"-trigger"),onClick:F.toggle,style:{width:Ie}},He||Ye):null,et=v()(v()({},ce),{flex:"0 0 ".concat(Ie),maxWidth:Ie,minWidth:Ie,width:Ie}),Te=t()(ie,Ae,"".concat(Ae,"-").concat(we),(z={},x()(z,"".concat(Ae,"-collapsed"),!!X),x()(z,"".concat(Ae,"-has-trigger"),Ce&&He!==null&&!oe),x()(z,"".concat(Ae,"-below"),!!J),x()(z,"".concat(Ae,"-zero-width"),parseFloat(Ie)===0),z));return e.createElement("aside",v()({className:Te},he,{style:et}),e.createElement("div",{className:"".concat(Ae,"-children")},Je),Ce||J&&oe?it:null)},F.uniqueId=L("ant-sider-");var K;typeof window!="undefined"&&(K=window.matchMedia),K&&H.breakpoint&&H.breakpoint in I&&(F.mql=K("(max-width: ".concat(I[H.breakpoint],")")));var j;return"collapsed"in H?j=H.collapsed:j=H.defaultCollapsed,F.state={collapsed:j,below:!1},F}return c()(M,[{key:"componentDidMount",value:function(){var F;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(F=this.props)===null||F===void 0||F.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var F,K;(F=this===null||this===void 0?void 0:this.mql)===null||F===void 0||F.removeListener(this.responsiveHandler),(K=this.props)===null||K===void 0||K.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var F=this.state.collapsed,K=this.props.collapsedWidth;return e.createElement(_.Provider,{value:{siderCollapsed:F,collapsedWidth:K}},e.createElement(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(F){return"collapsed"in F?{collapsed:F.collapsed}:null}}]),M}(e.Component);D.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var N=function(R){r()(M,R);var B=n()(M);function M(){return m()(this,M),B.apply(this,arguments)}return c()(M,[{key:"render",value:function(){var F=this;return e.createElement(y.a.Consumer,null,function(K){return e.createElement(D,v()({},K,F.props))})}}]),M}(e.Component)},ZYIC:function(U,P,d){var O=d("zM3Q"),x={seriesType:"lines",plan:O(),reset:function(T){var v=T.coordinateSystem,S=T.get("polyline"),m=T.pipelineContext.large;function f(c,o){var r=[];if(m){var a,n=c.end-c.start;if(S){for(var e=0,s=c.start;s>1)%2;u.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",s[h]+":0",t[p]+":0",s[1-h]+":auto",t[1-p]+":auto",""].join("!important;"),a.appendChild(l),e.push(l)}return e}function o(a,n,e){for(var s=e?"invTrans":"trans",t=n[s],i=n.srcCoords,l=!0,u=[],h=[],p=0;p<4;p++){var g=a[p].getBoundingClientRect(),A=2*p,y=g.left,E=g.top;u.push(y,E),l=l&&i&&y===i[A]&&E===i[A+1],h.push(a[p].offsetLeft,a[p].offsetTop)}return l&&t?t:(n.srcCoords=u,n[s]=e?T(h,u):T(u,h))}function r(a){return a.nodeName.toUpperCase()==="CANVAS"}P.transformLocalCoord=m,P.transformCoordWithViewport=f,P.isCanvasEl=r},Znkb:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("ProS"),v=d("zTMp"),S=T.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,a,n,e){this.axisPointerClass&&v.fixValue(r),S.superApply(this,"render",arguments),m(this,r,a,n,e,!0)},updateAxisPointer:function(r,a,n,e,s){m(this,r,a,n,e,!1)},remove:function(r,a){var n=this._axisPointer;n&&n.remove(a),S.superApply(this,"remove",arguments)},dispose:function(r,a){f(this,a),S.superApply(this,"dispose",arguments)}});function m(r,a,n,e,s,t){var i=S.getAxisPointerClass(r.axisPointerClass);if(!i)return;var l=v.getAxisPointerModel(a);l?(r._axisPointer||(r._axisPointer=new i)).render(a,l,e,t):f(r,e)}function f(r,a,n){var e=r._axisPointer;e&&e.dispose(a,n),r._axisPointer=null}var c=[];S.registerAxisPointerClass=function(r,a){c[r]=a},S.getAxisPointerClass=function(r){return r&&c[r]};var o=S;U.exports=o},"Znn+":function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("9ama"),v=d.n(T)},ZqQs:function(U,P,d){var O=d("bYtY");function x(m){var f=m&&m.timeline;O.isArray(f)||(f=f?[f]:[]),O.each(f,function(c){if(!c)return;T(c)})}function T(m){var f=m.type,c={number:"value",time:"time"};if(c[f]&&(m.axisType=c[f],delete m.type),v(m),S(m,"controlPosition")){var o=m.controlStyle||(m.controlStyle={});S(o,"position")||(o.position=m.controlPosition),o.position==="none"&&!S(o,"show")&&(o.show=!1,delete o.position),delete m.controlPosition}O.each(m.data||[],function(r){O.isObject(r)&&!O.isArray(r)&&(!S(r,"value")&&S(r,"name")&&(r.value=r.name),v(r))})}function v(m){var f=m.itemStyle||(m.itemStyle={}),c=f.emphasis||(f.emphasis={}),o=m.label||m.label||{},r=o.normal||(o.normal={}),a={normal:1,emphasis:1};O.each(o,function(n,e){!a[e]&&!S(r,e)&&(r[e]=n)}),c.label&&!S(o,"emphasis")&&(o.emphasis=c.label,delete c.label)}function S(m,f){return m.hasOwnProperty(f)}U.exports=x},Zss7:function(U,P,d){var O;(function(x){var T=/^\s+/,v=/\s+$/,S=0,m=x.round,f=x.min,c=x.max,o=x.random;function r(ce,Pe){if(ce=ce||"",Pe=Pe||{},ce instanceof r)return ce;if(!(this instanceof r))return new r(ce,Pe);var Q=a(ce);this._originalInput=ce,this._r=Q.r,this._g=Q.g,this._b=Q.b,this._a=Q.a,this._roundA=m(100*this._a)/100,this._format=Pe.format||Q.format,this._gradientType=Pe.gradientType,this._r<1&&(this._r=m(this._r)),this._g<1&&(this._g=m(this._g)),this._b<1&&(this._b=m(this._b)),this._ok=Q.ok,this._tc_id=S++}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Pe=this.toRgb();return(Pe.r*299+Pe.g*587+Pe.b*114)/1e3},getLuminance:function(){var Pe=this.toRgb(),Q,me,Je,re,G,X;return Q=Pe.r/255,me=Pe.g/255,Je=Pe.b/255,Q<=.03928?re=Q/12.92:re=x.pow((Q+.055)/1.055,2.4),me<=.03928?G=me/12.92:G=x.pow((me+.055)/1.055,2.4),Je<=.03928?X=Je/12.92:X=x.pow((Je+.055)/1.055,2.4),.2126*re+.7152*G+.0722*X},setAlpha:function(Pe){return this._a=H(Pe),this._roundA=m(100*this._a)/100,this},toHsv:function(){var Pe=t(this._r,this._g,this._b);return{h:Pe.h*360,s:Pe.s,v:Pe.v,a:this._a}},toHsvString:function(){var Pe=t(this._r,this._g,this._b),Q=m(Pe.h*360),me=m(Pe.s*100),Je=m(Pe.v*100);return this._a==1?"hsv("+Q+", "+me+"%, "+Je+"%)":"hsva("+Q+", "+me+"%, "+Je+"%, "+this._roundA+")"},toHsl:function(){var Pe=e(this._r,this._g,this._b);return{h:Pe.h*360,s:Pe.s,l:Pe.l,a:this._a}},toHslString:function(){var Pe=e(this._r,this._g,this._b),Q=m(Pe.h*360),me=m(Pe.s*100),Je=m(Pe.l*100);return this._a==1?"hsl("+Q+", "+me+"%, "+Je+"%)":"hsla("+Q+", "+me+"%, "+Je+"%, "+this._roundA+")"},toHex:function(Pe){return l(this._r,this._g,this._b,Pe)},toHexString:function(Pe){return"#"+this.toHex(Pe)},toHex8:function(Pe){return u(this._r,this._g,this._b,this._a,Pe)},toHex8String:function(Pe){return"#"+this.toHex8(Pe)},toRgb:function(){return{r:m(this._r),g:m(this._g),b:m(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+m(this._r)+", "+m(this._g)+", "+m(this._b)+")":"rgba("+m(this._r)+", "+m(this._g)+", "+m(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:m(F(this._r,255)*100)+"%",g:m(F(this._g,255)*100)+"%",b:m(F(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+m(F(this._r,255)*100)+"%, "+m(F(this._g,255)*100)+"%, "+m(F(this._b,255)*100)+"%)":"rgba("+m(F(this._r,255)*100)+"%, "+m(F(this._g,255)*100)+"%, "+m(F(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:B[l(this._r,this._g,this._b,!0)]||!1},toFilter:function(Pe){var Q="#"+h(this._r,this._g,this._b,this._a),me=Q,Je=this._gradientType?"GradientType = 1, ":"";if(Pe){var re=r(Pe);me="#"+h(re._r,re._g,re._b,re._a)}return"progid:DXImageTransform.Microsoft.gradient("+Je+"startColorstr="+Q+",endColorstr="+me+")"},toString:function(Pe){var Q=!!Pe;Pe=Pe||this._format;var me=!1,Je=this._a<1&&this._a>=0,re=!Q&&Je&&(Pe==="hex"||Pe==="hex6"||Pe==="hex3"||Pe==="hex4"||Pe==="hex8"||Pe==="name");return re?Pe==="name"&&this._a===0?this.toName():this.toRgbString():(Pe==="rgb"&&(me=this.toRgbString()),Pe==="prgb"&&(me=this.toPercentageRgbString()),(Pe==="hex"||Pe==="hex6")&&(me=this.toHexString()),Pe==="hex3"&&(me=this.toHexString(!0)),Pe==="hex4"&&(me=this.toHex8String(!0)),Pe==="hex8"&&(me=this.toHex8String()),Pe==="name"&&(me=this.toName()),Pe==="hsl"&&(me=this.toHslString()),Pe==="hsv"&&(me=this.toHsvString()),me||this.toHexString())},clone:function(){return r(this.toString())},_applyModification:function(Pe,Q){var me=Pe.apply(null,[this].concat([].slice.call(Q)));return this._r=me._r,this._g=me._g,this._b=me._b,this.setAlpha(me._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(E,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(A,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(Pe,Q){return Pe.apply(null,[this].concat([].slice.call(Q)))},analogous:function(){return this._applyCombination(D,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(N,arguments)},splitcomplement:function(){return this._applyCombination(L,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},r.fromRatio=function(ce,Pe){if(typeof ce=="object"){var Q={};for(var me in ce)ce.hasOwnProperty(me)&&(me==="a"?Q[me]=ce[me]:Q[me]=ee(ce[me]));ce=Q}return r(ce,Pe)};function a(ce){var Pe={r:0,g:0,b:0},Q=1,me=null,Je=null,re=null,G=!1,X=!1;return typeof ce=="string"&&(ce=Le(ce)),typeof ce=="object"&&(Ce(ce.r)&&Ce(ce.g)&&Ce(ce.b)?(Pe=n(ce.r,ce.g,ce.b),G=!0,X=String(ce.r).substr(-1)==="%"?"prgb":"rgb"):Ce(ce.h)&&Ce(ce.s)&&Ce(ce.v)?(me=ee(ce.s),Je=ee(ce.v),Pe=i(ce.h,me,Je),G=!0,X="hsv"):Ce(ce.h)&&Ce(ce.s)&&Ce(ce.l)&&(me=ee(ce.s),re=ee(ce.l),Pe=s(ce.h,me,re),G=!0,X="hsl"),ce.hasOwnProperty("a")&&(Q=ce.a)),Q=H(Q),{ok:G,format:ce.format||X,r:f(255,c(Pe.r,0)),g:f(255,c(Pe.g,0)),b:f(255,c(Pe.b,0)),a:Q}}function n(ce,Pe,Q){return{r:F(ce,255)*255,g:F(Pe,255)*255,b:F(Q,255)*255}}function e(ce,Pe,Q){ce=F(ce,255),Pe=F(Pe,255),Q=F(Q,255);var me=c(ce,Pe,Q),Je=f(ce,Pe,Q),re,G,X=(me+Je)/2;if(me==Je)re=G=0;else{var J=me-Je;G=X>.5?J/(2-me-Je):J/(me+Je);switch(me){case ce:re=(Pe-Q)/J+(Pe1&&(Me-=1),Me<1/6?Ae+(he-Ae)*6*Me:Me<1/2?he:Me<2/3?Ae+(he-Ae)*(2/3-Me)*6:Ae}if(Pe===0)me=Je=re=Q;else{var X=Q<.5?Q*(1+Pe):Q+Pe-Q*Pe,J=2*Q-X;me=G(J,X,ce+1/3),Je=G(J,X,ce),re=G(J,X,ce-1/3)}return{r:me*255,g:Je*255,b:re*255}}function t(ce,Pe,Q){ce=F(ce,255),Pe=F(Pe,255),Q=F(Q,255);var me=c(ce,Pe,Q),Je=f(ce,Pe,Q),re,G,X=me,J=me-Je;if(G=me===0?0:J/me,me==Je)re=0;else{switch(me){case ce:re=(Pe-Q)/J+(Pe>1)+720)%360;--Pe;)me.h=(me.h+Je)%360,re.push(r(me));return re}function N(ce,Pe){Pe=Pe||6;for(var Q=r(ce).toHsv(),me=Q.h,Je=Q.s,re=Q.v,G=[],X=1/Pe;Pe--;)G.push(r({h:me,s:Je,v:re})),re=(re+X)%1;return G}r.mix=function(ce,Pe,Q){Q=Q===0?0:Q||50;var me=r(ce).toRgb(),Je=r(Pe).toRgb(),re=Q/100,G={r:(Je.r-me.r)*re+me.r,g:(Je.g-me.g)*re+me.g,b:(Je.b-me.b)*re+me.b,a:(Je.a-me.a)*re+me.a};return r(G)},r.readability=function(ce,Pe){var Q=r(ce),me=r(Pe);return(x.max(Q.getLuminance(),me.getLuminance())+.05)/(x.min(Q.getLuminance(),me.getLuminance())+.05)},r.isReadable=function(ce,Pe,Q){var me=r.readability(ce,Pe),Je,re;re=!1,Je=He(Q);switch(Je.level+Je.size){case"AAsmall":case"AAAlarge":re=me>=4.5;break;case"AAlarge":re=me>=3;break;case"AAAsmall":re=me>=7;break}return re},r.mostReadable=function(ce,Pe,Q){var me=null,Je=0,re,G,X,J;Q=Q||{},G=Q.includeFallbackColors,X=Q.level,J=Q.size;for(var Ae=0;AeJe&&(Je=re,me=r(Pe[Ae]));return r.isReadable(ce,me,{level:X,size:J})||!G?me:(Q.includeFallbackColors=!1,r.mostReadable(ce,["#fff","#000"],Q))};var R=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=r.hexNames=M(R);function M(ce){var Pe={};for(var Q in ce)ce.hasOwnProperty(Q)&&(Pe[ce[Q]]=Q);return Pe}function H(ce){return ce=parseFloat(ce),(isNaN(ce)||ce<0||ce>1)&&(ce=1),ce}function F(ce,Pe){V(ce)&&(ce="100%");var Q=z(ce);return ce=f(Pe,c(0,parseFloat(ce))),Q&&(ce=parseInt(ce*Pe,10)/100),x.abs(ce-Pe)<1e-6?1:ce%Pe/parseFloat(Pe)}function K(ce){return f(1,c(0,ce))}function j(ce){return parseInt(ce,16)}function V(ce){return typeof ce=="string"&&ce.indexOf(".")!=-1&&parseFloat(ce)===1}function z(ce){return typeof ce=="string"&&ce.indexOf("%")!=-1}function Y(ce){return ce.length==1?"0"+ce:""+ce}function ee(ce){return ce<=1&&(ce=ce*100+"%"),ce}function fe(ce){return x.round(parseFloat(ce)*255).toString(16)}function ie(ce){return j(ce)/255}var we=function(){var ce="[-\\+]?\\d+%?",Pe="[-\\+]?\\d*\\.\\d+%?",Q="(?:"+Pe+")|(?:"+ce+")",me="[\\s|\\(]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")\\s*\\)?",Je="[\\s|\\(]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")[,|\\s]+("+Q+")\\s*\\)?";return{CSS_UNIT:new RegExp(Q),rgb:new RegExp("rgb"+me),rgba:new RegExp("rgba"+Je),hsl:new RegExp("hsl"+me),hsla:new RegExp("hsla"+Je),hsv:new RegExp("hsv"+me),hsva:new RegExp("hsva"+Je),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ce(ce){return!!we.CSS_UNIT.exec(ce)}function Le(ce){ce=ce.replace(T,"").replace(v,"").toLowerCase();var Pe=!1;if(R[ce])ce=R[ce],Pe=!0;else if(ce=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Q;return(Q=we.rgb.exec(ce))?{r:Q[1],g:Q[2],b:Q[3]}:(Q=we.rgba.exec(ce))?{r:Q[1],g:Q[2],b:Q[3],a:Q[4]}:(Q=we.hsl.exec(ce))?{h:Q[1],s:Q[2],l:Q[3]}:(Q=we.hsla.exec(ce))?{h:Q[1],s:Q[2],l:Q[3],a:Q[4]}:(Q=we.hsv.exec(ce))?{h:Q[1],s:Q[2],v:Q[3]}:(Q=we.hsva.exec(ce))?{h:Q[1],s:Q[2],v:Q[3],a:Q[4]}:(Q=we.hex8.exec(ce))?{r:j(Q[1]),g:j(Q[2]),b:j(Q[3]),a:ie(Q[4]),format:Pe?"name":"hex8"}:(Q=we.hex6.exec(ce))?{r:j(Q[1]),g:j(Q[2]),b:j(Q[3]),format:Pe?"name":"hex"}:(Q=we.hex4.exec(ce))?{r:j(Q[1]+""+Q[1]),g:j(Q[2]+""+Q[2]),b:j(Q[3]+""+Q[3]),a:ie(Q[4]+""+Q[4]),format:Pe?"name":"hex8"}:(Q=we.hex3.exec(ce))?{r:j(Q[1]+""+Q[1]),g:j(Q[2]+""+Q[2]),b:j(Q[3]+""+Q[3]),format:Pe?"name":"hex"}:!1}function He(ce){var Pe,Q;return ce=ce||{level:"AA",size:"small"},Pe=(ce.level||"AA").toUpperCase(),Q=(ce.size||"small").toLowerCase(),Pe!=="AA"&&Pe!=="AAA"&&(Pe="AA"),Q!=="small"&&Q!=="large"&&(Q="small"),{level:Pe,size:Q}}U.exports?U.exports=r:!(O=function(){return r}.call(P,d,P,U),O!==void 0&&(U.exports=O))})(Math)},Zvw2:function(U,P,d){var O=d("bYtY"),x=d("hM6l"),T=function(S,m,f,c,o){x.call(this,S,m,f),this.type=c||"value",this.position=o||"bottom",this.orient=null};T.prototype={constructor:T,model:null,isHorizontal:function(){var S=this.position;return S==="top"||S==="bottom"},pointToData:function(S,m){return this.coordinateSystem.pointToData(S,m)[0]},toGlobalCoord:null,toLocalCoord:null},O.inherits(T,x);var v=T;U.exports=v},a7Wl:function(U,P,d){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var O={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};P.default=O},a9QJ:function(U,P){var d={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function O(x,T){if(x==="world"){var v=d[T.name];if(v){var S=T.center;S[0]=v[0],S[1]=v[1]}}}U.exports=O},aHsQ:function(U,P,d){"use strict";var O=d("cIOH"),x=d.n(O),T=d("6D9b"),v=d.n(T)},aKvl:function(U,P,d){var O=d("Sj9i"),x=O.quadraticProjectPoint;function T(v,S,m,f,c,o,r,a,n){if(r===0)return!1;var e=r;if(n>S+e&&n>f+e&&n>o+e||nv+e&&a>m+e&&a>c+e||a0&&I>0&&!R&&(b=0),b<0&&I<0&&!B&&(I=0));var M=C.ecModel;if(M&&w==="time"){var H=o("bar",M),F;if(T.each(H,function(V){F|=V.getBaseAxis()===C.axis}),F){var K=r(H),j=s(b,I,C,K);b=j.min,I=j.max}}return{extent:[b,I],fixMin:R,fixMax:B}}function s(E,C,w,b){var I=w.axis.getExtent(),_=I[1]-I[0],L=a(b,w.axis);if(L===void 0)return{min:E,max:C};var D=Infinity;T.each(L,function(F){D=Math.min(F.offset,D)});var N=-Infinity;T.each(L,function(F){N=Math.max(F.offset+F.width,N)}),D=Math.abs(D),N=Math.abs(N);var R=D+N,B=C-E,M=1-(D+N)/_,H=B/M-B;return C+=H*(N/R),E-=H*(D/R),{min:E,max:C}}function t(E,C){var w=e(E,C),b=w.extent,I=C.get("splitNumber");E.type==="log"&&(E.base=C.get("logBase"));var _=E.type;E.setExtent(b[0],b[1]),E.niceExtent({splitNumber:I,fixMin:w.fixMin,fixMax:w.fixMax,minInterval:_==="interval"||_==="time"?C.get("minInterval"):null,maxInterval:_==="interval"||_==="time"?C.get("maxInterval"):null});var L=C.get("interval");L!=null&&(E.setInterval&&E.setInterval(L))}function i(E,C){if(C=C||E.get("type"),C)switch(C){case"category":return new v(E.getOrdinalMeta?E.getOrdinalMeta():E.getCategories(),[Infinity,-Infinity]);case"value":return new S;default:return(m.getClass(C)||S).create(E)}}function l(E){var C=E.scale.getExtent(),w=C[0],b=C[1];return!(w>0&&b>0||w<0&&b<0)}function u(E){var C=E.getLabelModel().get("formatter"),w=E.type==="category"?E.scale.getExtent()[0]:null;return typeof C=="string"?(C=function(b){return function(I){return I=E.scale.getLabel(I),b.replace("{value}",I!=null?I:"")}}(C),C):typeof C=="function"?function(b,I){return w!=null&&(I=b-w),C(h(E,b),I)}:function(b){return E.scale.getLabel(b)}}function h(E,C){return E.type==="category"?E.scale.getLabel(C):C}function p(E){var C=E.model,w=E.scale;if(!C.get("axisLabel.show")||w.isBlank())return;var b=E.type==="category",I,_,L=w.getExtent();b?_=w.count():(I=w.getTicks(),_=I.length);var D=E.getLabelModel(),N=u(E),R,B=1;_>40&&(B=Math.ceil(_/40));for(var M=0;M<_;M+=B){var H=I?I[M]:L[0]+M,F=N(H),K=D.getTextRect(F),j=g(K,D.get("rotate")||0);R?R.union(j):R=j}return R}function g(E,C){var w=C*Math.PI/180,b=E.plain(),I=b.width,_=b.height,L=I*Math.cos(w)+_*Math.sin(w),D=I*Math.sin(w)+_*Math.cos(w),N=new n(b.x,b.y,L,D);return N}function A(E){var C=E.get("interval");return C==null?"auto":C}function y(E){return E.type==="category"&&A(E.getLabelModel())===0}P.getScaleExtent=e,P.niceScaleExtent=t,P.createScaleByModel=i,P.ifAxisCrossZero=l,P.makeLabelFormatter=u,P.getAxisRawValue=h,P.estimateLabelUnionRect=p,P.getOptionCategoryInterval=A,P.shouldShowAllLabels=y},"af/B":function(U,P,d){var O=d("bYtY"),x=O.each,T=O.map,v=O.isFunction,S=O.createHashMap,m=O.noop,f=d("9H2F"),c=f.createTask,o=d("iRjW"),r=o.getUID,a=d("fmMI"),n=d("hD7B"),e=d("4NO4"),s=e.normalizeToArray;function t(F,K,j,V){this.ecInstance=F,this.api=K,this.unfinished;var j=this._dataProcessorHandlers=j.slice(),V=this._visualHandlers=V.slice();this._allHandlers=j.concat(V),this._stageTaskMap=S()}var i=t.prototype;i.restoreData=function(F,K){F.restoreData(K),this._stageTaskMap.each(function(j){var V=j.overallTask;V&&V.dirty()})},i.getPerformArgs=function(F,K){if(!F.__pipeline)return;var j=this._pipelineMap.get(F.__pipeline.id),V=j.context,z=!K&&j.progressiveEnabled&&(!V||V.progressiveRender)&&F.__idxInPipeline>j.blockIndex,Y=z?j.step:null,ee=V&&V.modDataCount,fe=ee!=null?Math.ceil(ee/Y):null;return{step:Y,modBy:fe,modDataCount:ee}},i.getPipeline=function(F){return this._pipelineMap.get(F)},i.updateStreamModes=function(F,K){var j=this._pipelineMap.get(F.uid),V=F.getData(),z=V.count(),Y=j.progressiveEnabled&&K.incrementalPrepareRender&&z>=j.threshold,ee=F.get("large")&&z>=F.get("largeThreshold"),fe=F.get("progressiveChunkMode")==="mod"?z:null;F.pipelineContext=j.context={progressiveRender:Y,modDataCount:fe,large:ee}},i.restorePipelines=function(F){var K=this,j=K._pipelineMap=S();F.eachSeries(function(V){var z=V.getProgressive(),Y=V.uid;j.set(Y,{id:Y,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:z&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),L(K,V,V.dataTask)})},i.prepareStageTasks=function(){var F=this._stageTaskMap,K=this.ecInstance.getModel(),j=this.api;x(this._allHandlers,function(V){var z=F.get(V.uid)||F.set(V.uid,[]);V.reset&&h(this,V,z,K,j),V.overallReset&&p(this,V,z,K,j)},this)},i.prepareView=function(F,K,j,V){var z=F.renderTask,Y=z.context;Y.model=K,Y.ecModel=j,Y.api=V,z.__block=!F.incrementalPrepareRender,L(this,K,z)},i.performDataProcessorTasks=function(F,K){l(this,this._dataProcessorHandlers,F,K,{block:!0})},i.performVisualTasks=function(F,K,j){l(this,this._visualHandlers,F,K,j)};function l(F,K,j,V,z){z=z||{};var Y;x(K,function(fe,ie){if(z.visualType&&z.visualType!==fe.visualType)return;var we=F._stageTaskMap.get(fe.uid),Ce=we.seriesTaskMap,Le=we.overallTask;if(Le){var He,ce=Le.agentStubMap;ce.each(function(Q){ee(z,Q)&&(Q.dirty(),He=!0)}),He&&Le.dirty(),u(Le,V);var Pe=F.getPerformArgs(Le,z.block);ce.each(function(Q){Q.perform(Pe)}),Y|=Le.perform(Pe)}else Ce&&Ce.each(function(Q,me){ee(z,Q)&&Q.dirty();var Je=F.getPerformArgs(Q,z.block);Je.skip=!fe.performRawSeries&&j.isSeriesFiltered(Q.context.model),u(Q,V),Y|=Q.perform(Je)})});function ee(fe,ie){return fe.setDirty&&(!fe.dirtyMap||fe.dirtyMap.get(ie.__pipeline.id))}F.unfinished|=Y}i.performSeriesTasks=function(F){var K;F.eachSeries(function(j){K|=j.dataTask.perform()}),this.unfinished|=K},i.plan=function(){this._pipelineMap.each(function(F){var K=F.tail;do{if(K.__block){F.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})};var u=i.updatePayload=function(F,K){K!=="remain"&&(F.context.payload=K)};function h(F,K,j,V,z){var Y=j.seriesTaskMap||(j.seriesTaskMap=S()),ee=K.seriesType,fe=K.getTargetSeries;K.createOnAllSeries?V.eachRawSeries(ie):ee?V.eachRawSeriesByType(ee,ie):fe&&fe(V,z).each(ie);function ie(Ce){var Le=Ce.uid,He=Y.get(Le)||Y.set(Le,c({plan:C,reset:w,count:_}));He.context={model:Ce,ecModel:V,api:z,useClearVisual:K.isVisual&&!K.isLayout,plan:K.plan,reset:K.reset,scheduler:F},L(F,Ce,He)}var we=F._pipelineMap;Y.each(function(Ce,Le){we.get(Le)||(Ce.dispose(),Y.removeKey(Le))})}function p(F,K,j,V,z){var Y=j.overallTask=j.overallTask||c({reset:g});Y.context={ecModel:V,api:z,overallReset:K.overallReset,scheduler:F};var ee=Y.agentStubMap=Y.agentStubMap||S(),fe=K.seriesType,ie=K.getTargetSeries,we=!0,Ce=K.modifyOutputEnd;fe?V.eachRawSeriesByType(fe,Le):ie?ie(V,z).each(Le):(we=!1,x(V.getSeries(),Le));function Le(ce){var Pe=ce.uid,Q=ee.get(Pe);Q||(Q=ee.set(Pe,c({reset:A,onDirty:E})),Y.dirty()),Q.context={model:ce,overallProgress:we,modifyOutputEnd:Ce},Q.agent=Y,Q.__block=we,L(F,ce,Q)}var He=F._pipelineMap;ee.each(function(ce,Pe){He.get(Pe)||(ce.dispose(),Y.dirty(),ee.removeKey(Pe))})}function g(F){F.overallReset(F.ecModel,F.api,F.payload)}function A(F,K){return F.overallProgress&&y}function y(){this.agent.dirty(),this.getDownstream().dirty()}function E(){this.agent&&this.agent.dirty()}function C(F){return F.plan&&F.plan(F.model,F.ecModel,F.api,F.payload)}function w(F){F.useClearVisual&&F.data.clearAllVisual();var K=F.resetDefines=s(F.reset(F.model,F.ecModel,F.api,F.payload));return K.length>1?T(K,function(j,V){return I(V)}):b}var b=I(0);function I(F){return function(K,j){var V=j.data,z=j.resetDefines[F];if(z&&z.dataEach)for(var Y=K.start;Y=0&&!(a[s]<=o);s--);s=Math.min(s,n-2)}else{for(var s=e;so);s++);s=Math.min(s-1,n-2)}v.lerp(c.position,r[s],r[s+1],(o-a[s])/(a[s+1]-a[s]));var i=r[s+1][0]-r[s][0],l=r[s+1][1]-r[s][1];c.rotation=-Math.atan2(l,i)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=o,c.ignore=!1},x.inherits(S,T);var f=S;U.exports=f},apAg:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("bsht")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="SearchOutlined";var c=v.forwardRef(f);P.default=c},as94:function(U,P,d){var O=d("7aKB"),x=d("3LNs"),T=d("IwbS"),v=d("/y7N"),S=d("Fofx"),m=d("+rIm"),f=d("Znkb"),c=x.extend({makeElOption:function(n,e,s,t,i){var l=s.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var u=l.polar,h=u.getOtherAxis(l),p=h.getExtent(),g;g=l["dataTo"+O.capitalFirst(l.dim)](e);var A=t.get("type");if(A&&A!=="none"){var y=v.buildElStyle(t),E=r[A](l,u,g,p,y);E.style=y,n.graphicKey=E.type,n.pointer=E}var C=t.get("label.margin"),w=o(e,s,t,u,C);v.buildLabelElOption(n,s,t,i,w)}});function o(n,e,s,t,i){var l=e.axis,u=l.dataToCoord(n),h=t.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var p=t.getRadiusAxis().getExtent(),g,A,y;if(l.dim==="radius"){var E=S.create();S.rotate(E,E,h),S.translate(E,E,[t.cx,t.cy]),g=T.applyTransform([u,-i],E);var C=e.getModel("axisLabel").get("rotate")||0,w=m.innerTextLayout(h,C*Math.PI/180,-1);A=w.textAlign,y=w.textVerticalAlign}else{var b=p[1];g=t.coordToPoint([b+i,u]);var I=t.cx,_=t.cy;A=Math.abs(g[0]-I)/b<.3?"center":g[0]>I?"left":"right",y=Math.abs(g[1]-_)/b<.3?"middle":g[1]>_?"top":"bottom"}return{position:g,align:A,verticalAlign:y}}var r={line:function(n,e,s,t,i){return n.dim==="angle"?{type:"Line",shape:v.makeLineShape(e.coordToPoint([t[0],s]),e.coordToPoint([t[1],s]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:s}}},shadow:function(n,e,s,t,i){var l=Math.max(1,n.getBandWidth()),u=Math.PI/180;return n.dim==="angle"?{type:"Sector",shape:v.makeSectorShape(e.cx,e.cy,t[0],t[1],(-s-l/2)*u,(-s+l/2)*u)}:{type:"Sector",shape:v.makeSectorShape(e.cx,e.cy,s-l/2,s+l/2,0,Math.PI*2)}}};f.registerAxisPointerClass("PolarAxisPointer",c);var a=c;U.exports=a},b56q:function(U,P,d){},b80e:function(U,P,d){"use strict";var O=d("284h"),x=d("TqRt");Object.defineProperty(P,"__esModule",{value:!0}),P.default=void 0;var T=x(d("3tO9")),v=O(d("q1tI")),S=x(d("gKaM")),m=x(d("KQxl")),f=function(r,a){return v.createElement(m.default,(0,T.default)((0,T.default)({},r),{},{ref:a,icon:S.default}))};f.displayName="DoubleLeftOutlined";var c=v.forwardRef(f);P.default=c},b9oc:function(U,P,d){var O=d("bYtY"),x=O.each,T="\0_ec_hist_store";function v(o,r){var a=c(o);x(r,function(n,e){for(var s=a.length-1;s>=0;s--){var t=a[s];if(t[e])break}if(s<0){var i=o.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0];if(i){var l=i.getPercentRange();a[0][e]={dataZoomId:e,start:l[0],end:l[1]}}}}),a.push(r)}function S(o){var r=c(o),a=r[r.length-1];r.length>1&&r.pop();var n={};return x(a,function(e,s){for(var t=r.length-1;t>=0;t--){var e=r[t][s];if(e){n[s]=e;break}}}),n}function m(o){o[T]=null}function f(o){return c(o).length}function c(o){var r=o[T];return r||(r=o[T]=[{}]),r}P.push=v,P.pop=S,P.clear=m,P.count=f},bBKM:function(U,P,d){var O=d("Tghj"),x=O.__DEV__,T=d("ProS"),v=d("bYtY"),S=d("+rIm"),m=d("IwbS"),f=["axisLine","axisTickLabel","axisName"],c=T.extendComponentView({type:"radar",render:function(o,r,a){var n=this.group;n.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var r=o.coordinateSystem,a=r.getIndicatorAxes(),n=v.map(a,function(e){var s=new S(e.model,{position:[r.cx,r.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});v.each(n,function(e){v.each(f,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(o){var r=o.coordinateSystem,a=r.getIndicatorAxes();if(!a.length)return;var n=o.get("shape"),e=o.getModel("splitLine"),s=o.getModel("splitArea"),t=e.getModel("lineStyle"),i=s.getModel("areaStyle"),l=e.get("show"),u=s.get("show"),h=t.get("color"),p=i.get("color");h=v.isArray(h)?h:[h],p=v.isArray(p)?p:[p];var g=[],A=[];function y(H,F,K){var j=K%F.length;return H[j]=H[j]||[],j}if(n==="circle")for(var E=a[0].getTicksCoords(),C=r.cx,w=r.cy,b=0;b1&&arguments[1]!==void 0?arguments[1]:"",B=arguments.length>2?arguments[2]:void 0,M=m()(N),H=w(R,B);return H&&M.push(H),M},I=function(N){var R=N.prefixCls,B=N.separator,M=B===void 0?"/":B,H=N.style,F=N.className,K=N.routes,j=N.children,V=N.itemRender,z=V===void 0?C:V,Y=N.params,ee=Y===void 0?{}:Y,fe=y(N,["prefixCls","separator","style","className","routes","children","itemRender","params"]),ie=f.useContext(s.b),we=ie.getPrefixCls,Ce=ie.direction,Le,He=we("breadcrumb",R);if(K&&K.length>0){var ce=[];Le=K.map(function(Q){var me=w(Q.path,ee);me&&ce.push(me);var Je;return Q.children&&Q.children.length&&(Je=f.createElement(p.a,null,Q.children.map(function(re){return f.createElement(p.a.Item,{key:re.path||re.breadcrumbName},z(re,ee,K,b(ce,re.path,ee)))}))),f.createElement(l,{overlay:Je,separator:M,key:me||Q.breadcrumbName},z(Q,ee,K,ce))})}else j&&(Le=Object(r.a)(j).map(function(Q,me){return Q&&(Object(g.a)(Q.type&&(Q.type.__ANT_BREADCRUMB_ITEM===!0||Q.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(A.a)(Q,{separator:M,key:me}))}));var Pe=o()(F,He,v()({},"".concat(He,"-rtl"),Ce==="rtl"));return f.createElement("div",x()({className:Pe,style:H},fe),Le)};I.Item=l,I.Separator=h;var _=I,L=P.a=_},bKJz:function(U,P,d){},bLfw:function(U,P,d){var O=d("bYtY"),x=d("Qxkt"),T=d("iRjW"),v=d("Yl7c"),S=v.enableClassManagement,m=v.parseClassType,f=d("4NO4"),c=f.makeInner,o=d("+TT/"),r=d("3hzK"),a=c(),n=x.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,i,l,u){x.call(this,t,i,l,u),this.uid=T.getUID("ec_cpt_model")},init:function(t,i,l,u){this.mergeDefaultAndTheme(t,l)},mergeDefaultAndTheme:function(t,i){var l=this.layoutMode,u=l?o.getLayoutParams(t):{},h=i.getTheme();O.merge(t,h.get(this.mainType)),O.merge(t,this.getDefaultOption()),l&&o.mergeLayoutParam(t,u,l)},mergeOption:function(t,i){O.merge(this.option,t,!0);var l=this.layoutMode;l&&o.mergeLayoutParam(this.option,t,l)},optionUpdated:function(t,i){},getDefaultOption:function(){var t=a(this);if(!t.defaultOption){for(var i=[],l=this.constructor;l;){var u=l.prototype.defaultOption;u&&i.push(u),l=l.superClass}for(var h={},p=i.length-1;p>=0;p--)h=O.merge(h,i[p],!0);t.defaultOption=h}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});S(n,{registerWhenExtend:!0}),T.enableSubTypeDefaulter(n),T.enableTopologicalTravel(n,e);function e(t){var i=[];return O.each(n.getClassesByMainType(t),function(l){i=i.concat(l.prototype.dependencies||[])}),i=O.map(i,function(l){return m(l).main}),t!=="dataset"&&O.indexOf(i,"dataset")<=0&&i.unshift("dataset"),i}O.mixin(n,r);var s=n;U.exports=s},bMXI:function(U,P,d){var O=d("bYtY"),x=d("QBsz"),T=d("Fofx"),v=d("mFDi"),S=d("DN4a"),m=x.applyTransform;function f(){S.call(this)}O.mixin(f,S);function c(a){this.name=a,this.zoomLimit,S.call(this),this._roamTransformable=new f,this._rawTransformable=new f,this._center,this._zoom}c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(a,n,e,s){return this._rect=new v(a,n,e,s),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(a,n,e,s){this.transformTo(a,n,e,s),this._viewRect=new v(a,n,e,s)},transformTo:function(a,n,e,s){var t=this.getBoundingRect(),i=this._rawTransformable;i.transform=t.calculateTransform(new v(a,n,e,s)),i.decomposeTransform(),this._updateTransform()},setCenter:function(a){if(!a)return;this._center=a,this._updateCenterAndZoom()},setZoom:function(a){a=a||1;var n=this.zoomLimit;n&&(n.max!=null&&(a=Math.min(n.max,a)),n.min!=null&&(a=Math.max(n.min,a))),this._zoom=a,this._updateCenterAndZoom()},getDefaultCenter:function(){var a=this.getBoundingRect(),n=a.x+a.width/2,e=a.y+a.height/2;return[n,e]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var a=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,e=this.getDefaultCenter(),s=this.getCenter(),t=this.getZoom();s=x.applyTransform([],s,a),e=x.applyTransform([],e,a),n.origin=s,n.position=[e[0]-s[0],e[1]-s[1]],n.scale=[t,t],this._updateTransform()},_updateTransform:function(){var a=this._roamTransformable,n=this._rawTransformable;n.parent=a,a.updateTransform(),n.updateTransform(),T.copy(this.transform||(this.transform=[]),n.transform||T.create()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],T.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var a=this._roamTransformable.transform,n=this._rawTransformable;return{roamTransform:a?O.slice(a):T.create(),rawScale:O.slice(n.scale),rawPosition:O.slice(n.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var a=this.getBoundingRect().clone();return a.applyTransform(this.transform),a},dataToPoint:function(a,n,e){var s=n?this._rawTransform:this.transform;return e=e||[],s?m(e,a,s):x.copy(e,a)},pointToData:function(a){var n=this.invTransform;return n?m([],a,n):[a[0],a[1]]},convertToPixel:O.curry(o,"dataToPoint"),convertFromPixel:O.curry(o,"pointToData"),containPoint:function(a){return this.getViewRectAfterRoam().contain(a[0],a[1])}},O.mixin(c,S);function o(a,n,e,s){var t=e.seriesModel,i=t?t.coordinateSystem:null;return i===this?i[a](s):null}var r=c;U.exports=r},bNin:function(U,P,d){var O=d("bYtY"),x=d("IwbS"),T=d("FBjb"),v=d("Itpr"),S=v.radialCoordinate,m=d("ProS"),f=d("4mN7"),c=d("bMXI"),o=d("Ae+d"),r=d("SgGq"),a=d("xSat"),n=a.onIrrelevantElement,e=d("Tghj"),s=e.__DEV__,t=d("OELB"),i=t.parsePercent,l=x.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(C,w){var b=w.childPoints,I=b.length,_=w.parentPoint,L=b[0],D=b[I-1];if(I===1){C.moveTo(_[0],_[1]),C.lineTo(L[0],L[1]);return}var N=w.orient,R=N==="TB"||N==="BT"?0:1,B=1-R,M=i(w.forkPosition,1),H=[];H[R]=_[R],H[B]=_[B]+(D[B]-_[B])*M,C.moveTo(_[0],_[1]),C.lineTo(H[0],H[1]),C.moveTo(L[0],L[1]),H[R]=L[R],C.lineTo(H[0],H[1]),H[R]=D[R],C.lineTo(H[0],H[1]),C.lineTo(D[0],D[1]);for(var F=1;FY.x,ie||(fe=fe-Math.PI));var Ce=ie?"left":"right",Le=L.labelModel.get("rotate"),He=Le*(Math.PI/180);V.setStyle({textPosition:L.labelModel.get("position")||Ce,textRotation:Le==null?-fe:He,textOrigin:"center",verticalAlign:"middle"})}A(_,N,B,b,K,F,j,I,L)}function A(C,w,b,I,_,L,D,N,R){var B=R.edgeShape,M=I.__edge;if(B==="curve")w.parentNode&&w.parentNode!==b&&(M||(M=I.__edge=new x.BezierCurve({shape:E(R,_,_),style:O.defaults({opacity:0,strokeNoScale:!0},R.lineStyle)})),x.updateProps(M,{shape:E(R,L,D),style:{opacity:1}},C));else if(B==="polyline"&&(R.layout==="orthogonal"&&(w!==b&&w.children&&w.children.length!==0&&w.isExpand===!0))){for(var H=w.children,F=[],K=0;K